]>
git.openstreetmap.org Git - osqa.git/log
hernani [Thu, 23 Jun 2011 20:55:39 +0000 (20:55 +0000)]
Fixes an error in the mysqlfulltext module introduced in one of the previous commits.
git-svn-id: http://svn.osqa.net/svnroot/osqa/trunk@1070
0cfe37f9 -358a-4d5e-be75-
b63607b5c754
jordan [Thu, 23 Jun 2011 16:05:55 +0000 (16:05 +0000)]
be sure to make the filtration of the queryset during search, the old search mechanism didn't exclude results with keywords that were not available
git-svn-id: http://svn.osqa.net/svnroot/osqa/trunk@1069
0cfe37f9 -358a-4d5e-be75-
b63607b5c754
jordan [Tue, 21 Jun 2011 15:27:01 +0000 (15:27 +0000)]
pass the request object to the template context, we need it in the tag selector template for the user subscriptions URL
git-svn-id: http://svn.osqa.net/svnroot/osqa/trunk@1068
0cfe37f9 -358a-4d5e-be75-
b63607b5c754
hernani [Tue, 14 Jun 2011 22:56:01 +0000 (22:56 +0000)]
Should fix the missing admin items problem.
git-svn-id: http://svn.osqa.net/svnroot/osqa/trunk@1067
0cfe37f9 -358a-4d5e-be75-
b63607b5c754
hernani [Mon, 13 Jun 2011 13:05:21 +0000 (13:05 +0000)]
Removes unused variable.
git-svn-id: http://svn.osqa.net/svnroot/osqa/trunk@1066
0cfe37f9 -358a-4d5e-be75-
b63607b5c754
hernani [Mon, 13 Jun 2011 13:04:21 +0000 (13:04 +0000)]
Better fix that the last one.
git-svn-id: http://svn.osqa.net/svnroot/osqa/trunk@1065
0cfe37f9 -358a-4d5e-be75-
b63607b5c754
hernani [Mon, 13 Jun 2011 12:58:34 +0000 (12:58 +0000)]
Fixes a possible date display bug.
git-svn-id: http://svn.osqa.net/svnroot/osqa/trunk@1064
0cfe37f9 -358a-4d5e-be75-
b63607b5c754
hernani [Fri, 10 Jun 2011 22:31:23 +0000 (22:31 +0000)]
Fixes the is_staff decorator to allow superusers to.
git-svn-id: http://svn.osqa.net/svnroot/osqa/trunk@1063
0cfe37f9 -358a-4d5e-be75-
b63607b5c754
jordan [Fri, 10 Jun 2011 15:29:56 +0000 (15:29 +0000)]
the urls in the bulk management view in the administration should pass through smart_unicode().
git-svn-id: http://svn.osqa.net/svnroot/osqa/trunk@1062
0cfe37f9 -358a-4d5e-be75-
b63607b5c754
jordan [Fri, 10 Jun 2011 15:04:48 +0000 (15:04 +0000)]
removing score sort option from the bulk management tool in the administration, it used to cause some trouble with non-existing sort method, adding a silent permanent link decorator that checks whether the resolved URL exists
git-svn-id: http://svn.osqa.net/svnroot/osqa/trunk@1061
0cfe37f9 -358a-4d5e-be75-
b63607b5c754
hernani [Thu, 9 Jun 2011 19:05:30 +0000 (19:05 +0000)]
Removes an extra "pipe" from the mysql fts install script.
git-svn-id: http://svn.osqa.net/svnroot/osqa/trunk@1060
0cfe37f9 -358a-4d5e-be75-
b63607b5c754
jordan [Tue, 7 Jun 2011 22:14:37 +0000 (22:14 +0000)]
removing CSRF backward compatiblity, the import in the settings file causes caching issues
git-svn-id: http://svn.osqa.net/svnroot/osqa/trunk@1059
0cfe37f9 -358a-4d5e-be75-
b63607b5c754
jordan [Thu, 2 Jun 2011 16:19:32 +0000 (16:19 +0000)]
hide the navigation links in the administration if the currently authenticated user is not a superuser
git-svn-id: http://svn.osqa.net/svnroot/osqa/trunk@1058
0cfe37f9 -358a-4d5e-be75-
b63607b5c754
jordan [Thu, 2 Jun 2011 15:37:45 +0000 (15:37 +0000)]
making the flagged posts administration page visible by moderators, creating a separate decorator @moderation_page and a separate internal wrapper, combined for both @admin_page and @moderation_page
git-svn-id: http://svn.osqa.net/svnroot/osqa/trunk@1057
0cfe37f9 -358a-4d5e-be75-
b63607b5c754
jordan [Wed, 1 Jun 2011 11:53:18 +0000 (11:53 +0000)]
add the fts indexes during the table creation
git-svn-id: http://svn.osqa.net/svnroot/osqa/trunk@1056
0cfe37f9 -358a-4d5e-be75-
b63607b5c754
jordan [Wed, 1 Jun 2011 11:24:01 +0000 (11:24 +0000)]
adding an update that creates full text search indexes for the mysqlfulltext module
git-svn-id: http://svn.osqa.net/svnroot/osqa/trunk@1055
0cfe37f9 -358a-4d5e-be75-
b63607b5c754
jordan [Sun, 29 May 2011 15:54:07 +0000 (15:54 +0000)]
adding a new setting that allows to automatically redirect the user's browser to the twitter login done page, localizing the twitter settings with a ugettext_lazy wrapper
git-svn-id: http://svn.osqa.net/svnroot/osqa/trunk@1054
0cfe37f9 -358a-4d5e-be75-
b63607b5c754
jordan [Sun, 29 May 2011 13:50:31 +0000 (13:50 +0000)]
Updating the python-oauth2 module and implementing a new Authentication consumer with the updated library: https://github.com/simplegeo/python-oauth2
git-svn-id: http://svn.osqa.net/svnroot/osqa/trunk@1053
0cfe37f9 -358a-4d5e-be75-
b63607b5c754
hernani [Thu, 26 May 2011 20:23:56 +0000 (20:23 +0000)]
simple css fix on answer-body
git-svn-id: http://svn.osqa.net/svnroot/osqa/trunk@1052
0cfe37f9 -358a-4d5e-be75-
b63607b5c754
hernani [Thu, 26 May 2011 19:57:48 +0000 (19:57 +0000)]
Allows possible empty sets of question tags.
git-svn-id: http://svn.osqa.net/svnroot/osqa/trunk@1051
0cfe37f9 -358a-4d5e-be75-
b63607b5c754
hernani [Thu, 26 May 2011 15:51:37 +0000 (15:51 +0000)]
Fixes a bug in the user profile.
git-svn-id: http://svn.osqa.net/svnroot/osqa/trunk@1050
0cfe37f9 -358a-4d5e-be75-
b63607b5c754
hernani [Thu, 26 May 2011 14:49:47 +0000 (14:49 +0000)]
Allow modules to set custom sorts on rss feeds.
git-svn-id: http://svn.osqa.net/svnroot/osqa/trunk@1049
0cfe37f9 -358a-4d5e-be75-
b63607b5c754
hernani [Thu, 26 May 2011 12:07:42 +0000 (12:07 +0000)]
Some improvements in the mysql full text module.
git-svn-id: http://svn.osqa.net/svnroot/osqa/trunk@1048
0cfe37f9 -358a-4d5e-be75-
b63607b5c754
hernani [Thu, 26 May 2011 02:17:49 +0000 (02:17 +0000)]
Some fixes around pagination.
git-svn-id: http://svn.osqa.net/svnroot/osqa/trunk@1047
0cfe37f9 -358a-4d5e-be75-
b63607b5c754
jordan [Mon, 23 May 2011 12:45:12 +0000 (12:45 +0000)]
undoing the changes made in commit #1045, could cause null pointer exceptions
git-svn-id: http://svn.osqa.net/svnroot/osqa/trunk@1046
0cfe37f9 -358a-4d5e-be75-
b63607b5c754
jordan [Sat, 21 May 2011 19:39:57 +0000 (19:39 +0000)]
adding a try-except block that listens for AttributeError for the find_by_name and remove_by_name methods
git-svn-id: http://svn.osqa.net/svnroot/osqa/trunk@1045
0cfe37f9 -358a-4d5e-be75-
b63607b5c754
jordan [Tue, 17 May 2011 20:36:25 +0000 (20:36 +0000)]
adding support for the new Facebook oauth 2.0 authentication model
git-svn-id: http://svn.osqa.net/svnroot/osqa/trunk@1044
0cfe37f9 -358a-4d5e-be75-
b63607b5c754
jordan [Tue, 17 May 2011 12:27:14 +0000 (12:27 +0000)]
adding migration for the negative reputation feature
git-svn-id: http://svn.osqa.net/svnroot/osqa/trunk@1043
0cfe37f9 -358a-4d5e-be75-
b63607b5c754
jordan [Tue, 17 May 2011 12:21:16 +0000 (12:21 +0000)]
Resolves Jira OSQA-359, adding an option to allow negative user reputation in the community.
git-svn-id: http://svn.osqa.net/svnroot/osqa/trunk@1042
0cfe37f9 -358a-4d5e-be75-
b63607b5c754
jordan [Tue, 17 May 2011 10:08:14 +0000 (10:08 +0000)]
fixing a small bug that appeared in Revision 1039
git-svn-id: http://svn.osqa.net/svnroot/osqa/trunk@1041
0cfe37f9 -358a-4d5e-be75-
b63607b5c754
jordan [Mon, 16 May 2011 21:05:42 +0000 (21:05 +0000)]
Adding a separate option that allows administrators to choose whether to store if the greeting message has been shown in a cookie or in the session. This way users won't see the greeting message when they simply logout, because the greeting_set boolean is stored not in the session, but in a cookie. Separate middleware has been added that handles the Django cookies and passes all keys from the request.COOKIES object to the response object. This way the session cookies are stored as real HTTP cookies.
git-svn-id: http://svn.osqa.net/svnroot/osqa/trunk@1040
0cfe37f9 -358a-4d5e-be75-
b63607b5c754
jordan [Mon, 16 May 2011 18:18:57 +0000 (18:18 +0000)]
Resolves Jira OSQA-682, do not use the MAX_VOTES_PER_DAT setting, but the can_vote_count_today User object method to calculate how more times the user can vote for the certain day.
git-svn-id: http://svn.osqa.net/svnroot/osqa/trunk@1039
0cfe37f9 -358a-4d5e-be75-
b63607b5c754
hernani [Mon, 16 May 2011 11:54:27 +0000 (11:54 +0000)]
Don't allow negative points awards.
git-svn-id: http://svn.osqa.net/svnroot/osqa/trunk@1038
0cfe37f9 -358a-4d5e-be75-
b63607b5c754
jordan [Fri, 13 May 2011 21:12:43 +0000 (21:12 +0000)]
send the app title and app description on check
git-svn-id: http://svn.osqa.net/svnroot/osqa/trunk@1037
0cfe37f9 -358a-4d5e-be75-
b63607b5c754
jordan [Thu, 12 May 2011 17:32:35 +0000 (17:32 +0000)]
store the latest update datetime in the update trigger function too
git-svn-id: http://svn.osqa.net/svnroot/osqa/trunk@1036
0cfe37f9 -358a-4d5e-be75-
b63607b5c754
jordan [Thu, 12 May 2011 16:48:07 +0000 (16:48 +0000)]
calculate the active users count since the latest update check
git-svn-id: http://svn.osqa.net/svnroot/osqa/trunk@1035
0cfe37f9 -358a-4d5e-be75-
b63607b5c754
hernani [Wed, 11 May 2011 14:27:00 +0000 (14:27 +0000)]
Use the islatest field on the apps feed to get the latest version of an app.
git-svn-id: http://svn.osqa.net/svnroot/osqa/trunk@1034
0cfe37f9 -358a-4d5e-be75-
b63607b5c754
jordan [Mon, 9 May 2011 17:33:49 +0000 (17:33 +0000)]
IE6 fixed positioning fix
git-svn-id: http://svn.osqa.net/svnroot/osqa/trunk@1033
0cfe37f9 -358a-4d5e-be75-
b63607b5c754
jordan [Mon, 9 May 2011 16:24:39 +0000 (16:24 +0000)]
adding Japanese translation
git-svn-id: http://svn.osqa.net/svnroot/osqa/trunk@1032
0cfe37f9 -358a-4d5e-be75-
b63607b5c754
jordan [Sun, 8 May 2011 14:07:46 +0000 (14:07 +0000)]
Resolves OSQA-657, use correct CDATA sequence.
git-svn-id: http://svn.osqa.net/svnroot/osqa/trunk@1031
0cfe37f9 -358a-4d5e-be75-
b63607b5c754
jordan [Sun, 8 May 2011 14:02:03 +0000 (14:02 +0000)]
Resolves OSQA-674, be sure that we remove all anchors that trigger JavaScript code.
git-svn-id: http://svn.osqa.net/svnroot/osqa/trunk@1030
0cfe37f9 -358a-4d5e-be75-
b63607b5c754
jordan [Sat, 7 May 2011 13:42:43 +0000 (13:42 +0000)]
hide the ZeroClipboard clip if someone clicks on the cancel button
git-svn-id: http://svn.osqa.net/svnroot/osqa/trunk@1029
0cfe37f9 -358a-4d5e-be75-
b63607b5c754
jordan [Sat, 7 May 2011 13:15:00 +0000 (13:15 +0000)]
make the font-size of the label a bit smaller and remove the size attribute of the textarea
git-svn-id: http://svn.osqa.net/svnroot/osqa/trunk@1028
0cfe37f9 -358a-4d5e-be75-
b63607b5c754
jordan [Sat, 7 May 2011 13:11:03 +0000 (13:11 +0000)]
use read-only textarea instead of text input for the answer link prompt
git-svn-id: http://svn.osqa.net/svnroot/osqa/trunk@1027
0cfe37f9 -358a-4d5e-be75-
b63607b5c754
jordan [Sat, 7 May 2011 10:14:00 +0000 (10:14 +0000)]
make sure that the context input of the settings set template has a fixed width, so that it couldn't destroy the normal layout
git-svn-id: http://svn.osqa.net/svnroot/osqa/trunk@1026
0cfe37f9 -358a-4d5e-be75-
b63607b5c754
jordan [Thu, 5 May 2011 15:04:46 +0000 (15:04 +0000)]
reduce the font-size to 90% and make sure that we pre-wrap the pre elements, as well as the code blocks
git-svn-id: http://svn.osqa.net/svnroot/osqa/trunk@1025
0cfe37f9 -358a-4d5e-be75-
b63607b5c754
jordan [Thu, 5 May 2011 14:26:04 +0000 (14:26 +0000)]
remove the jquery.copy plugin, we don't need it anymore
git-svn-id: http://svn.osqa.net/svnroot/osqa/trunk@1024
0cfe37f9 -358a-4d5e-be75-
b63607b5c754
jordan [Thu, 5 May 2011 14:22:25 +0000 (14:22 +0000)]
We use ZeroClipboard to copy the permanent URL to the clipboard, this JS library uses an empty SWF for the purpose. Integrating ZeroClipboard.
git-svn-id: http://svn.osqa.net/svnroot/osqa/trunk@1023
0cfe37f9 -358a-4d5e-be75-
b63607b5c754
jordan [Wed, 4 May 2011 19:55:46 +0000 (19:55 +0000)]
show the badges count on the user profile page only if the count is not equal to 1
git-svn-id: http://svn.osqa.net/svnroot/osqa/trunk@1022
0cfe37f9 -358a-4d5e-be75-
b63607b5c754
hernani [Wed, 4 May 2011 17:55:13 +0000 (17:55 +0000)]
Makes related questions search work with weighted results.
git-svn-id: http://svn.osqa.net/svnroot/osqa/trunk@1021
0cfe37f9 -358a-4d5e-be75-
b63607b5c754
hernani [Wed, 4 May 2011 12:13:04 +0000 (12:13 +0000)]
Several improvements in full text search operations.
git-svn-id: http://svn.osqa.net/svnroot/osqa/trunk@1020
0cfe37f9 -358a-4d5e-be75-
b63607b5c754
jordan [Tue, 3 May 2011 18:30:47 +0000 (18:30 +0000)]
Fixes OSQA-663, the user.username property should pass through the smart_unicode function to avoid trouble. Creating a separate get_user_subscriptions_url method.
git-svn-id: http://svn.osqa.net/svnroot/osqa/trunk@1019
0cfe37f9 -358a-4d5e-be75-
b63607b5c754
jordan [Tue, 3 May 2011 17:39:28 +0000 (17:39 +0000)]
Try to import the new Django CSRF middleware, otherwise add the old Django 1.1 CSRF middleware classes to the MIDDLEWARE_CLASSES list. Making Django 1.1.4 backwards incompatible change backwards compatible.
git-svn-id: http://svn.osqa.net/svnroot/osqa/trunk@1018
0cfe37f9 -358a-4d5e-be75-
b63607b5c754
jordan [Tue, 3 May 2011 17:16:31 +0000 (17:16 +0000)]
commit 1016 makes the changes made in 1014 redundand, restore the initial version of the osqa.main.js file
git-svn-id: http://svn.osqa.net/svnroot/osqa/trunk@1017
0cfe37f9 -358a-4d5e-be75-
b63607b5c754
jordan [Tue, 3 May 2011 17:05:39 +0000 (17:05 +0000)]
Resolves OSQA-662. We pass the CSRF Token to the AJAX request during the ajax send event.
git-svn-id: http://svn.osqa.net/svnroot/osqa/trunk@1016
0cfe37f9 -358a-4d5e-be75-
b63607b5c754
jordan [Tue, 3 May 2011 14:43:21 +0000 (14:43 +0000)]
#OSQA-663, convert the context username to a Unicode object.
git-svn-id: http://svn.osqa.net/svnroot/osqa/trunk@1015
0cfe37f9 -358a-4d5e-be75-
b63607b5c754
jordan [Tue, 3 May 2011 14:10:43 +0000 (14:10 +0000)]
OSQA-662. Send the CSRF token with the AJAX post requests.
git-svn-id: http://svn.osqa.net/svnroot/osqa/trunk@1014
0cfe37f9 -358a-4d5e-be75-
b63607b5c754
hernani [Tue, 3 May 2011 11:05:55 +0000 (11:05 +0000)]
Several improvements in the models base iterator.
git-svn-id: http://svn.osqa.net/svnroot/osqa/trunk@1013
0cfe37f9 -358a-4d5e-be75-
b63607b5c754
hernani [Fri, 29 Apr 2011 21:47:53 +0000 (21:47 +0000)]
Some unicode fixes.
git-svn-id: http://svn.osqa.net/svnroot/osqa/trunk@1012
0cfe37f9 -358a-4d5e-be75-
b63607b5c754
jordan [Fri, 29 Apr 2011 17:12:40 +0000 (17:12 +0000)]
call all matching Selenium UI tests
git-svn-id: http://svn.osqa.net/svnroot/osqa/trunk@1011
0cfe37f9 -358a-4d5e-be75-
b63607b5c754
jordan [Fri, 29 Apr 2011 14:04:05 +0000 (14:04 +0000)]
creating the test_ui command skeleton
git-svn-id: http://svn.osqa.net/svnroot/osqa/trunk@1010
0cfe37f9 -358a-4d5e-be75-
b63607b5c754
jordan [Fri, 29 Apr 2011 13:37:50 +0000 (13:37 +0000)]
adding some Selenium tests to the default skin
git-svn-id: http://svn.osqa.net/svnroot/osqa/trunk@1009
0cfe37f9 -358a-4d5e-be75-
b63607b5c754
jordan [Thu, 28 Apr 2011 12:46:22 +0000 (12:46 +0000)]
making the default confirm AJAX prompt a bit wider
git-svn-id: http://svn.osqa.net/svnroot/osqa/trunk@1008
0cfe37f9 -358a-4d5e-be75-
b63607b5c754
jordan [Thu, 28 Apr 2011 12:34:35 +0000 (12:34 +0000)]
making the permanent link read only input a bit wider
git-svn-id: http://svn.osqa.net/svnroot/osqa/trunk@1007
0cfe37f9 -358a-4d5e-be75-
b63607b5c754
jordan [Wed, 27 Apr 2011 17:23:41 +0000 (17:23 +0000)]
make sure that we pre-wrap the lines of code in the markdown code blocks
git-svn-id: http://svn.osqa.net/svnroot/osqa/trunk@1006
0cfe37f9 -358a-4d5e-be75-
b63607b5c754
jordan [Wed, 27 Apr 2011 16:40:08 +0000 (16:40 +0000)]
adding some try-except blocks to the check_for_updates function in the updater base package
git-svn-id: http://svn.osqa.net/svnroot/osqa/trunk@1005
0cfe37f9 -358a-4d5e-be75-
b63607b5c754
jordan [Mon, 25 Apr 2011 16:27:49 +0000 (16:27 +0000)]
listen for ExpatError exceptions in the startup.py file, they may occur if the UPDATE_MESSAGES_XML setting is empty or if the update server didn't return any messages for some reason
git-svn-id: http://svn.osqa.net/svnroot/osqa/trunk@1004
0cfe37f9 -358a-4d5e-be75-
b63607b5c754
jordan [Mon, 25 Apr 2011 14:00:31 +0000 (14:00 +0000)]
moving the update block to a separate function in the base package, creating the update process triggerer
git-svn-id: http://svn.osqa.net/svnroot/osqa/trunk@1003
0cfe37f9 -358a-4d5e-be75-
b63607b5c754
hernani [Mon, 25 Apr 2011 01:34:01 +0000 (01:34 +0000)]
Safer last edited action getter.
git-svn-id: http://svn.osqa.net/svnroot/osqa/trunk@1002
0cfe37f9 -358a-4d5e-be75-
b63607b5c754
hernani [Mon, 25 Apr 2011 00:20:02 +0000 (00:20 +0000)]
Fixes small bug with rss feed url generation.
git-svn-id: http://svn.osqa.net/svnroot/osqa/trunk@1001
0cfe37f9 -358a-4d5e-be75-
b63607b5c754
jordan [Sat, 23 Apr 2011 22:47:46 +0000 (22:47 +0000)]
display the XML messages set to the site administrators
git-svn-id: http://svn.osqa.net/svnroot/osqa/trunk@1000
0cfe37f9 -358a-4d5e-be75-
b63607b5c754
jordan [Sat, 23 Apr 2011 17:41:34 +0000 (17:41 +0000)]
send the administrator emails
git-svn-id: http://svn.osqa.net/svnroot/osqa/trunk@999
0cfe37f9 -358a-4d5e-be75-
b63607b5c754
jordan [Sat, 23 Apr 2011 16:29:40 +0000 (16:29 +0000)]
adding download update messages functionality, AJAX button
git-svn-id: http://svn.osqa.net/svnroot/osqa/trunk@998
0cfe37f9 -358a-4d5e-be75-
b63607b5c754
hernani [Fri, 22 Apr 2011 14:42:12 +0000 (14:42 +0000)]
Fix in the retag template.
git-svn-id: http://svn.osqa.net/svnroot/osqa/trunk@997
0cfe37f9 -358a-4d5e-be75-
b63607b5c754
jordan [Wed, 20 Apr 2011 21:41:38 +0000 (21:41 +0000)]
we compress the XML dump, convert the binary data to ASCII base64 encoded and send the encoded data to the server
git-svn-id: http://svn.osqa.net/svnroot/osqa/trunk@996
0cfe37f9 -358a-4d5e-be75-
b63607b5c754
jordan [Wed, 20 Apr 2011 14:07:16 +0000 (14:07 +0000)]
creating some views for the update checker and creating the functions that get the statistics, creating the skeleton of the statistics XML data dump
git-svn-id: http://svn.osqa.net/svnroot/osqa/trunk@995
0cfe37f9 -358a-4d5e-be75-
b63607b5c754
jordan [Tue, 19 Apr 2011 19:38:32 +0000 (19:38 +0000)]
bugfix, the images in the preview mode of the WMD editor were not displayed, because the site script URL was appended directly to the image src, without a matter if the image was located on a remote server or not. Now we check if the image src begins with http:// or https://
git-svn-id: http://svn.osqa.net/svnroot/osqa/trunk@994
0cfe37f9 -358a-4d5e-be75-
b63607b5c754
hernani [Tue, 19 Apr 2011 17:55:50 +0000 (17:55 +0000)]
Fixes small problem in the auto-linker pattern.
git-svn-id: http://svn.osqa.net/svnroot/osqa/trunk@993
0cfe37f9 -358a-4d5e-be75-
b63607b5c754
jordan [Tue, 19 Apr 2011 16:53:21 +0000 (16:53 +0000)]
creating the skeleton of the updater index template
git-svn-id: http://svn.osqa.net/svnroot/osqa/trunk@992
0cfe37f9 -358a-4d5e-be75-
b63607b5c754
jordan [Tue, 19 Apr 2011 15:59:02 +0000 (15:59 +0000)]
creating the site key setting that wraps the OSQA installation key, also creating the function that generates that site key, the format of that key is abcd-1234-efgh-t3st and it is unique for every installation, has to be kept private
git-svn-id: http://svn.osqa.net/svnroot/osqa/trunk@991
0cfe37f9 -358a-4d5e-be75-
b63607b5c754
jordan [Tue, 19 Apr 2011 14:57:02 +0000 (14:57 +0000)]
creating the updater module and disabling it in the DISABLED_MODULES list until the development is completed
git-svn-id: http://svn.osqa.net/svnroot/osqa/trunk@990
0cfe37f9 -358a-4d5e-be75-
b63607b5c754
jordan [Mon, 18 Apr 2011 17:40:16 +0000 (17:40 +0000)]
adding CsrfResponseMiddleware to the Middleware Classes list
git-svn-id: http://svn.osqa.net/svnroot/osqa/trunk@989
0cfe37f9 -358a-4d5e-be75-
b63607b5c754
jordan [Mon, 18 Apr 2011 17:28:53 +0000 (17:28 +0000)]
enabling the CSRF protection middleware and adding the {% csrf_token %} tag to the forms, now OSQA is protected from Cross Site Request Forgery attacks
git-svn-id: http://svn.osqa.net/svnroot/osqa/trunk@988
0cfe37f9 -358a-4d5e-be75-
b63607b5c754
jordan [Mon, 18 Apr 2011 16:53:39 +0000 (16:53 +0000)]
escape the base path when building the pagination URLs
git-svn-id: http://svn.osqa.net/svnroot/osqa/trunk@987
0cfe37f9 -358a-4d5e-be75-
b63607b5c754
jordan [Fri, 15 Apr 2011 13:32:30 +0000 (13:32 +0000)]
OSQA-606, we convert the node score and the NECROMANCER_UP_VOTES setting to Integer objects. This way we're sure that the both variables are of the same type.
git-svn-id: http://svn.osqa.net/svnroot/osqa/trunk@986
0cfe37f9 -358a-4d5e-be75-
b63607b5c754
jordan [Thu, 14 Apr 2011 21:51:36 +0000 (21:51 +0000)]
notifications improvement, now we make sure that the username has passed through the smart_unicode function and the returned object is a safe unicode string. This used to cause some trouble with the new comment posted notifications. Also fixing a small bug in the accepted answer notifications. The Question object shouldn't go through the smart_str function, then the Question object gets converted to a Unicode string and this caused trouble with the URL reverse process.
git-svn-id: http://svn.osqa.net/svnroot/osqa/trunk@985
0cfe37f9 -358a-4d5e-be75-
b63607b5c754
jordan [Thu, 14 Apr 2011 20:43:44 +0000 (20:43 +0000)]
Changing the way we get the User subscribed URL address, before we used the @models.permalink decorator, now we use directly the reverse URL resolver and we make sure that the username is filtered using the smart_unicode function. This used to cause some trouble with Unicode usernames when sending the daily digest.
git-svn-id: http://svn.osqa.net/svnroot/osqa/trunk@984
0cfe37f9 -358a-4d5e-be75-
b63607b5c754
jordan [Thu, 14 Apr 2011 13:28:16 +0000 (13:28 +0000)]
OSQA-435, the matching tags URL is now retrieved with the usage of the {% url %} template tag.
git-svn-id: http://svn.osqa.net/svnroot/osqa/trunk@983
0cfe37f9 -358a-4d5e-be75-
b63607b5c754
jordan [Thu, 14 Apr 2011 12:52:57 +0000 (12:52 +0000)]
removing backup
git-svn-id: http://svn.osqa.net/svnroot/osqa/trunk@982
0cfe37f9 -358a-4d5e-be75-
b63607b5c754
jordan [Thu, 14 Apr 2011 12:52:16 +0000 (12:52 +0000)]
adding the database backup
git-svn-id: http://svn.osqa.net/svnroot/osqa/trunk@981
0cfe37f9 -358a-4d5e-be75-
b63607b5c754
jordan [Wed, 13 Apr 2011 22:32:02 +0000 (22:32 +0000)]
removing the smart_str function from the html.objelink function argument, it causes trouble as this argument is also used to call the get_absolute_url property
git-svn-id: http://svn.osqa.net/svnroot/osqa/trunk@980
0cfe37f9 -358a-4d5e-be75-
b63607b5c754
jordan [Wed, 13 Apr 2011 22:16:28 +0000 (22:16 +0000)]
removing the trigger for the error logging, this was only for debugging purposes
git-svn-id: http://svn.osqa.net/svnroot/osqa/trunk@979
0cfe37f9 -358a-4d5e-be75-
b63607b5c754
jordan [Wed, 13 Apr 2011 22:14:14 +0000 (22:14 +0000)]
OSQA-600, notification templates unicode fixes.
git-svn-id: http://svn.osqa.net/svnroot/osqa/trunk@978
0cfe37f9 -358a-4d5e-be75-
b63607b5c754
jordan [Wed, 13 Apr 2011 17:46:39 +0000 (17:46 +0000)]
OSQA-650, force unicode when using the __unicode__ method in the Tags model and make the Questions tag filtration using the tag id rather than the tag name. This is likely to generate some encoding issues, if we use the tag ID it would be more stable.
git-svn-id: http://svn.osqa.net/svnroot/osqa/trunk@977
0cfe37f9 -358a-4d5e-be75-
b63607b5c754
hernani [Wed, 13 Apr 2011 00:33:47 +0000 (00:33 +0000)]
Some unicode fixes.
git-svn-id: http://svn.osqa.net/svnroot/osqa/trunk@976
0cfe37f9 -358a-4d5e-be75-
b63607b5c754
jordan [Tue, 12 Apr 2011 22:05:37 +0000 (22:05 +0000)]
The convert to answer action now works only if the comment parent is a question or an answer.
git-svn-id: http://svn.osqa.net/svnroot/osqa/trunk@975
0cfe37f9 -358a-4d5e-be75-
b63607b5c754
jordan [Tue, 12 Apr 2011 21:18:40 +0000 (21:18 +0000)]
SPLUNK-129, adding title tooltips for the delete comment and node markdown buttons in the new comment skeleton
git-svn-id: http://svn.osqa.net/svnroot/osqa/trunk@974
0cfe37f9 -358a-4d5e-be75-
b63607b5c754
jordan [Mon, 11 Apr 2011 20:10:22 +0000 (20:10 +0000)]
Some tags Unicode improvements.
git-svn-id: http://svn.osqa.net/svnroot/osqa/trunk@973
0cfe37f9 -358a-4d5e-be75-
b63607b5c754
jordan [Mon, 11 Apr 2011 20:09:12 +0000 (20:09 +0000)]
makemessages for the French language
git-svn-id: http://svn.osqa.net/svnroot/osqa/trunk@972
0cfe37f9 -358a-4d5e-be75-
b63607b5c754
jordan [Mon, 11 Apr 2011 18:43:15 +0000 (18:43 +0000)]
OSQA-160, now instead of using the Python date library strftime function we use the Django dateformat.format utility which provides better support for localized dates. The pretext word 'at' that has been replaced with a single comma.
git-svn-id: http://svn.osqa.net/svnroot/osqa/trunk@971
0cfe37f9 -358a-4d5e-be75-
b63607b5c754