]> git.openstreetmap.org Git - osqa.git/log
osqa.git
13 years agoOSQA-713, smart unicode the username for the accept rate user tool
jordan [Mon, 27 Jun 2011 17:57:57 +0000 (17:57 +0000)]
OSQA-713, smart unicode the username for the accept rate user tool

git-svn-id: http://svn.osqa.net/svnroot/osqa/trunk@1082 0cfe37f9-358a-4d5e-be75-b63607b5c754

13 years agoreplace double slashes // with single ones / on the sitemap views
jordan [Mon, 27 Jun 2011 16:46:21 +0000 (16:46 +0000)]
replace double slashes // with single ones / on the sitemap views

git-svn-id: http://svn.osqa.net/svnroot/osqa/trunk@1081 0cfe37f9-358a-4d5e-be75-b63607b5c754

13 years agoOSQA-459, making some headers in the user stats template translatable
jordan [Mon, 27 Jun 2011 11:52:30 +0000 (11:52 +0000)]
OSQA-459, making some headers in the user stats template translatable

git-svn-id: http://svn.osqa.net/svnroot/osqa/trunk@1080 0cfe37f9-358a-4d5e-be75-b63607b5c754

13 years agoJira OSQA-712, migrating to the new Databases setting format
jordan [Sat, 25 Jun 2011 15:13:15 +0000 (15:13 +0000)]
Jira OSQA-712, migrating to the new Databases setting format

git-svn-id: http://svn.osqa.net/svnroot/osqa/trunk@1079 0cfe37f9-358a-4d5e-be75-b63607b5c754

13 years agoJira OSQA-618, adding a setting that allows to remove the interesting and ignored...
jordan [Sat, 25 Jun 2011 11:49:04 +0000 (11:49 +0000)]
Jira OSQA-618, adding a setting that allows to remove the interesting and ignored tags tool from the sidebar, removing the old tag_selector.html template

git-svn-id: http://svn.osqa.net/svnroot/osqa/trunk@1078 0cfe37f9-358a-4d5e-be75-b63607b5c754

13 years agoOSQA-382, convert the python files line endings to OS native mode, propedit svn:eol...
jordan [Sat, 25 Jun 2011 03:50:15 +0000 (03:50 +0000)]
OSQA-382, convert the python files line endings to OS native mode, propedit svn:eol-style -- native

git-svn-id: http://svn.osqa.net/svnroot/osqa/trunk@1077 0cfe37f9-358a-4d5e-be75-b63607b5c754

13 years agoResolves Jira OSQA-484, be sure to prepend the Rosetta URL rather than to append it
jordan [Fri, 24 Jun 2011 22:04:31 +0000 (22:04 +0000)]
Resolves Jira OSQA-484, be sure to prepend the Rosetta URL rather than to append it

git-svn-id: http://svn.osqa.net/svnroot/osqa/trunk@1076 0cfe37f9-358a-4d5e-be75-b63607b5c754

13 years agoOSQA-514, cache the opensearch view for 30 days
jordan [Fri, 24 Jun 2011 20:21:47 +0000 (20:21 +0000)]
OSQA-514, cache the opensearch view for 30 days

git-svn-id: http://svn.osqa.net/svnroot/osqa/trunk@1075 0cfe37f9-358a-4d5e-be75-b63607b5c754

13 years agoResolves OSQA-661, adding functionality to allow deleting static pages in the adminis...
jordan [Fri, 24 Jun 2011 13:41:57 +0000 (13:41 +0000)]
Resolves OSQA-661, adding functionality to allow deleting static pages in the administration

git-svn-id: http://svn.osqa.net/svnroot/osqa/trunk@1074 0cfe37f9-358a-4d5e-be75-b63607b5c754

13 years agoOSQA-711, change the markdown tips, _italic_ should stand for italic text rather...
jordan [Fri, 24 Jun 2011 10:35:04 +0000 (10:35 +0000)]
OSQA-711, change the markdown tips, _italic_ should stand for italic text rather than __italic__

git-svn-id: http://svn.osqa.net/svnroot/osqa/trunk@1073 0cfe37f9-358a-4d5e-be75-b63607b5c754

13 years agoOSQA-547, increasing the size of the IP address fields to 39 characters, now they...
jordan [Thu, 23 Jun 2011 23:45:59 +0000 (23:45 +0000)]
OSQA-547, increasing the size of the IP address fields to 39 characters, now they can be used to store IPv6 addresses too

git-svn-id: http://svn.osqa.net/svnroot/osqa/trunk@1072 0cfe37f9-358a-4d5e-be75-b63607b5c754

13 years agoOSQA-697, don't pass the CSRF token to the AJAX request when posting a new comment
jordan [Thu, 23 Jun 2011 23:07:06 +0000 (23:07 +0000)]
OSQA-697, don't pass the CSRF token to the AJAX request when posting a new comment

git-svn-id: http://svn.osqa.net/svnroot/osqa/trunk@1071 0cfe37f9-358a-4d5e-be75-b63607b5c754

13 years agoFixes an error in the mysqlfulltext module introduced in one of the previous commits.
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

13 years agobe sure to make the filtration of the queryset during search, the old search mechanis...
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

13 years agopass the request object to the template context, we need it in the tag selector templ...
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

13 years agoShould fix the missing admin items problem.
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

13 years agoRemoves unused variable.
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

13 years agoBetter fix that the last one.
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

13 years agoFixes a possible date display bug.
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

13 years agoFixes the is_staff decorator to allow superusers to.
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

13 years agothe urls in the bulk management view in the administration should pass through smart_...
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

13 years agoremoving score sort option from the bulk management tool in the administration, it...
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

13 years agoRemoves an extra "pipe" from the mysql fts install script.
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

13 years agoremoving CSRF backward compatiblity, the import in the settings file causes caching...
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

13 years agohide the navigation links in the administration if the currently authenticated user...
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

13 years agomaking the flagged posts administration page visible by moderators, creating a separa...
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

13 years agoadd the fts indexes during the table creation
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

13 years agoadding an update that creates full text search indexes for the mysqlfulltext module
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

13 years agoadding a new setting that allows to automatically redirect the user's browser to...
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

13 years agoUpdating the python-oauth2 module and implementing a new Authentication consumer...
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

13 years agosimple css fix on answer-body
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

13 years agoAllows possible empty sets of question tags.
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

13 years agoFixes a bug in the user profile.
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

13 years agoAllow modules to set custom sorts on rss feeds.
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

13 years agoSome improvements in the mysql full text module.
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

13 years agoSome fixes around pagination.
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

13 years agoundoing the changes made in commit #1045, could cause null pointer exceptions
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

13 years agoadding a try-except block that listens for AttributeError for the find_by_name and...
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

13 years agoadding support for the new Facebook oauth 2.0 authentication model
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

13 years agoadding migration for the negative reputation feature
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

13 years agoResolves Jira OSQA-359, adding an option to allow negative user reputation in the...
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

13 years agofixing a small bug that appeared in Revision 1039
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

13 years agoAdding a separate option that allows administrators to choose whether to store if...
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

13 years agoResolves Jira OSQA-682, do not use the MAX_VOTES_PER_DAT setting, but the can_vote_co...
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

13 years agoDon't allow negative points awards.
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

13 years agosend the app title and app description on check
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

13 years agostore the latest update datetime in the update trigger function too
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

13 years agocalculate the active users count since the latest update check
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

13 years agoUse the islatest field on the apps feed to get the latest version of an app.
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

13 years agoIE6 fixed positioning fix
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

13 years agoadding Japanese translation
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

13 years agoResolves OSQA-657, use correct CDATA sequence.
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

13 years agoResolves OSQA-674, be sure that we remove all anchors that trigger JavaScript code.
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

13 years agohide the ZeroClipboard clip if someone clicks on the cancel button
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

13 years agomake the font-size of the label a bit smaller and remove the size attribute of the...
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

13 years agouse read-only textarea instead of text input for the answer link prompt
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

13 years agomake sure that the context input of the settings set template has a fixed width,...
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

13 years agoreduce the font-size to 90% and make sure that we pre-wrap the pre elements, as well...
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

13 years agoremove the jquery.copy plugin, we don't need it anymore
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

13 years agoWe use ZeroClipboard to copy the permanent URL to the clipboard, this JS library...
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

13 years agoshow the badges count on the user profile page only if the count is not equal to 1
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

13 years agoMakes related questions search work with weighted results.
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

13 years agoSeveral improvements in full text search operations.
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

13 years agoFixes OSQA-663, the user.username property should pass through the smart_unicode...
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

13 years agoTry to import the new Django CSRF middleware, otherwise add the old Django 1.1 CSRF...
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

13 years agocommit 1016 makes the changes made in 1014 redundand, restore the initial version...
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

13 years agoResolves OSQA-662. We pass the CSRF Token to the AJAX request during the ajax send...
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

13 years ago#OSQA-663, convert the context username to a Unicode object.
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

13 years agoOSQA-662. Send the CSRF token with the AJAX post requests.
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

13 years agoSeveral improvements in the models base iterator.
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

13 years agoSome unicode fixes.
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

13 years agocall all matching Selenium UI tests
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

13 years agocreating the test_ui command skeleton
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

13 years agoadding some Selenium tests to the default skin
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

13 years agomaking the default confirm AJAX prompt a bit wider
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

13 years agomaking the permanent link read only input a bit wider
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

13 years agomake sure that we pre-wrap the lines of code in the markdown code blocks
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

13 years agoadding some try-except blocks to the check_for_updates function in the updater base...
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

13 years agolisten for ExpatError exceptions in the startup.py file, they may occur if the UPDATE...
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

13 years agomoving the update block to a separate function in the base package, creating the...
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

13 years agoSafer last edited action getter.
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

13 years agoFixes small bug with rss feed url generation.
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

13 years agodisplay the XML messages set to the site administrators
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

13 years agosend the administrator emails
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

13 years agoadding download update messages functionality, AJAX button
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

13 years agoFix in the retag template.
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

13 years agowe compress the XML dump, convert the binary data to ASCII base64 encoded and send...
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

13 years agocreating some views for the update checker and creating the functions that get the...
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

13 years agobugfix, the images in the preview mode of the WMD editor were not displayed, because...
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

13 years agoFixes small problem in the auto-linker pattern.
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

13 years agocreating the skeleton of the updater index template
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

13 years agocreating the site key setting that wraps the OSQA installation key, also creating...
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

13 years agocreating the updater module and disabling it in the DISABLED_MODULES list until the...
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

13 years agoadding CsrfResponseMiddleware to the Middleware Classes list
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

13 years agoenabling the CSRF protection middleware and adding the {% csrf_token %} tag to the...
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

13 years agoescape the base path when building the pagination URLs
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

13 years agoOSQA-606, we convert the node score and the NECROMANCER_UP_VOTES setting to Integer...
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

13 years agonotifications improvement, now we make sure that the username has passed through...
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

13 years agoChanging the way we get the User subscribed URL address, before we used the @models...
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

13 years agoOSQA-435, the matching tags URL is now retrieved with the usage of the {% url %}...
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