]> git.openstreetmap.org Git - osqa.git/log
osqa.git
12 years agocheck whether the recaptcha public and private keys have been provided before populat...
jordan [Sun, 31 Jul 2011 16:13:55 +0000 (16:13 +0000)]
check whether the recaptcha public and private keys have been provided before populating the recaptcha fields to the local auth form

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

12 years agoJira OSQA-456, avoid using nested loops, use the 'in' operator in the template instead.
jordan [Sun, 31 Jul 2011 12:22:09 +0000 (12:22 +0000)]
Jira OSQA-456, avoid using nested loops, use the 'in' operator in the template instead.

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

12 years agofixing some typos pointed by @curiousleo on Meta: http://meta.osqa.net/questions...
jordan [Sun, 31 Jul 2011 09:47:18 +0000 (09:47 +0000)]
fixing some typos pointed by @curiousleo on Meta: http://meta.osqa.net/questions/1599/a-few-typos-in-the-source

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

12 years agoOSQA-696, user profile URLs shouldn't be arbitrary, comparing the passed slug and...
jordan [Sat, 30 Jul 2011 19:20:33 +0000 (19:20 +0000)]
OSQA-696, user profile URLs shouldn't be arbitrary, comparing the passed slug and the one that should be for the certain user object and redirecting to the correct URL if they do not match

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

12 years agoResolves Jira OSQA-733, we encode the unicode data according to the ASCII XML Unicode...
jordan [Sat, 30 Jul 2011 17:55:28 +0000 (17:55 +0000)]
Resolves Jira OSQA-733, we encode the unicode data according to the ASCII XML Unicode chars specification, also making the updater module log the fails silently

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

12 years agoResolves OSQA-732, use the User model to resolve the subscriptions URL. It contains...
jordan [Sat, 30 Jul 2011 17:27:32 +0000 (17:27 +0000)]
Resolves OSQA-732, use the User model to resolve the subscriptions URL. It contains a bit more complex logic that passes only the required arguments.

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

12 years agouse case insensitive query when retrieving the User object without ID in the URL
jordan [Sat, 30 Jul 2011 17:18:08 +0000 (17:18 +0000)]
use case insensitive query when retrieving the User object without ID in the URL

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

12 years agoJira OSQA-527, applying patch by Oscar Frias that fixes the URLs in the RSS Feeds
jordan [Fri, 29 Jul 2011 21:36:31 +0000 (21:36 +0000)]
Jira OSQA-527, applying patch by Oscar Frias that fixes the URLs in the RSS Feeds

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

12 years agotake another approach to the settings import from modules
jordan [Thu, 28 Jul 2011 16:20:02 +0000 (16:20 +0000)]
take another approach to the settings import from modules

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

12 years agobe able to import all module settings as well
jordan [Thu, 28 Jul 2011 13:18:52 +0000 (13:18 +0000)]
be able to import all module settings as well

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

12 years agosimple modification in the openidauth module
jordan [Wed, 27 Jul 2011 22:31:58 +0000 (22:31 +0000)]
simple modification in the openidauth module

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

12 years agoadding a setting that allows to disable the accept rate feature
jordan [Thu, 21 Jul 2011 13:06:13 +0000 (13:06 +0000)]
adding a setting that allows to disable the accept rate feature

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

12 years agoinformation about questions, answers and comments count
jordan [Wed, 20 Jul 2011 12:43:08 +0000 (12:43 +0000)]
information about questions, answers and comments count

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

12 years agouse platform.uname() instead of os.uname(), it's platform independent and works fine...
jordan [Wed, 20 Jul 2011 11:31:43 +0000 (11:31 +0000)]
use platform.uname() instead of os.uname(), it's platform independent and works fine on Windows machines

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

12 years agobe able to have user links without ids in the url, wrapped in a setting of the URL...
jordan [Mon, 18 Jul 2011 21:25:12 +0000 (21:25 +0000)]
be able to have user links without ids in the url, wrapped in a setting of the URL settings set, defaults to URLs with IDs included

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

12 years agorenaming updater to updates, resolving import issue
jordan [Mon, 18 Jul 2011 11:11:44 +0000 (11:11 +0000)]
renaming updater to updates, resolving import issue

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

12 years agoactivating the updater
jordan [Sun, 17 Jul 2011 18:20:29 +0000 (18:20 +0000)]
activating the updater

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

12 years agoFixes a bug where some suspended users where throwing 500's.
hernani [Fri, 15 Jul 2011 16:34:44 +0000 (16:34 +0000)]
Fixes a bug where some suspended users where throwing 500's.

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

12 years agoremoving unused imports that confuse and reorganizing them in the views module
jordan [Fri, 15 Jul 2011 11:41:58 +0000 (11:41 +0000)]
removing unused imports that confuse and reorganizing them in the views module

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

12 years agoBe able to update the image upload field properly. Set an ID attribute to the image...
jordan [Wed, 13 Jul 2011 20:40:20 +0000 (20:40 +0000)]
Be able to update the image upload field properly. Set an ID attribute to the image URL input. Use the absolute path for the image.

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

12 years agoOSQA-720, changing the WMD markdown editor, applying patches that resolve issues...
jordan [Wed, 13 Jul 2011 16:00:24 +0000 (16:00 +0000)]
OSQA-720, changing the WMD markdown editor, applying patches that resolve issues with the lists on Chrome

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

12 years agoOSQA-726, resolves an issue dating back from revision #1071, .serialize() method...
jordan [Wed, 13 Jul 2011 10:56:26 +0000 (10:56 +0000)]
OSQA-726, resolves an issue dating back from revision #1071, .serialize() method didn't pass post id and this resulted the creation of a new node

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

12 years agoinclude the httplib2 library. The Twitter authentication module depends on it and...
jordan [Wed, 13 Jul 2011 09:52:21 +0000 (09:52 +0000)]
include the httplib2 library. The Twitter authentication module depends on it and causes trouble.

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

12 years agoinit the Facebook api inside check_login_status() method. This used to cause troubles...
jordan [Wed, 13 Jul 2011 09:24:33 +0000 (09:24 +0000)]
init the Facebook api inside check_login_status() method. This used to cause troubles on Chrome, but worked fine on Firefox.

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

12 years agochanging the twitter oauth2 token request urls
jordan [Tue, 12 Jul 2011 22:09:28 +0000 (22:09 +0000)]
changing the twitter oauth2 token request urls

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

12 years agoResolves OSQA-723. Incorrect variable name.
jordan [Fri, 8 Jul 2011 12:09:15 +0000 (12:09 +0000)]
Resolves OSQA-723. Incorrect variable name.

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

12 years agobe able to use the cursor caret when using the canned comments feature, include the...
jordan [Thu, 7 Jul 2011 16:21:02 +0000 (16:21 +0000)]
be able to use the cursor caret when using the canned comments feature, include the canned comment to the exact space

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

12 years agoImproving the canned comments feature, now we can use Django style template syntax...
jordan [Thu, 7 Jul 2011 15:28:31 +0000 (15:28 +0000)]
Improving the canned comments feature, now we can use Django style template syntax when preparing the canned items. Access to the current post and site settings is provided. Also, the AJAX popup has been replaced with a menu list.

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

12 years agoResolves OSQA-721, adding the ViewBox images in a separate directory in the media...
jordan [Thu, 7 Jul 2011 11:23:40 +0000 (11:23 +0000)]
Resolves OSQA-721, adding the ViewBox images in a separate directory in the media folder, changing the prev and next button selectors of the ViewBox CSS

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

12 years agoDon't raise errors here, is causing search to be broken on certain django versions.
hernani [Thu, 7 Jul 2011 09:06:24 +0000 (09:06 +0000)]
Don't raise errors here, is causing search to be broken on certain django versions.

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

12 years agoOSQA-706, send daily digest only to users that are active and have validated their...
jordan [Thu, 7 Jul 2011 01:07:57 +0000 (01:07 +0000)]
OSQA-706, send daily digest only to users that are active and have validated their emails. Everything has been wrapped in settings and that allows to easily turn off this two options (they default to True) and avoid panic from admins that expect different behavior.

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

12 years agomaking and compiling the translation files, they should stay close: django-admin...
jordan [Wed, 6 Jul 2011 23:45:17 +0000 (23:45 +0000)]
making and compiling the translation files, they should stay close: django-admin.py makemessages --all, django-admin.py compilemessages

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

12 years agoOSQA-436, now we support hyphens in the usernames too. Changing the username regex...
jordan [Wed, 6 Jul 2011 23:31:03 +0000 (23:31 +0000)]
OSQA-436, now we support hyphens in the usernames too. Changing the username regex and the invalid username message in the registration form.

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

12 years agoretrieve the value of the canned comment using jQuery (not plain JS)
jordan [Wed, 6 Jul 2011 22:41:24 +0000 (22:41 +0000)]
retrieve the value of the canned comment using jQuery (not plain JS)

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

12 years agoOSQA-497, adding a new settings that allows to specify whether the permissions to...
jordan [Wed, 6 Jul 2011 08:56:06 +0000 (08:56 +0000)]
OSQA-497, adding a new settings that allows to specify whether the permissions to close and reopen question (by the author) should be unified or not.

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

12 years agoOSQA-586, be able to display recent tags in a cloud. Using logarithmic mapping to...
jordan [Tue, 5 Jul 2011 19:45:38 +0000 (19:45 +0000)]
OSQA-586, be able to display recent tags in a cloud. Using logarithmic mapping to calculate the font size of the tag. Created a new template tag for the purpose. 4 settings that help to calculate the font size have been added to the View Settings in the administration: min/max font-size/occurrences

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

12 years agoOSQA-719, implements a new feature that allows administrators and moderators to manag...
jordan [Tue, 5 Jul 2011 16:48:22 +0000 (16:48 +0000)]
OSQA-719, implements a new feature that allows administrators and moderators to manage and use canned comments. This tool can be deactivated in the administration on the Moderation Settings page (the canned comments are also managed there)

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

12 years agoOSQA-310, during facebook oauth2 registration check whether the length of the user...
jordan [Sun, 3 Jul 2011 13:52:44 +0000 (13:52 +0000)]
OSQA-310, during facebook oauth2 registration check whether the length of the user email is greater than 75 characters, if it is replace the email variable with a blank string, not to have problems with the Django user model (imposed max length -- 75 chars)

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

12 years agoOSQA-277, making the subscribe button more prominent
jordan [Sun, 3 Jul 2011 01:41:38 +0000 (01:41 +0000)]
OSQA-277, making the subscribe button more prominent

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

12 years agoOSQA-447, fixing a minor typo: Allways -> Always
jordan [Sun, 3 Jul 2011 01:15:43 +0000 (01:15 +0000)]
OSQA-447, fixing a minor typo: Allways -> Always

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

12 years agoOSQA-465, be able to embed YouTube videos. Adding a new setting to the View Settings...
jordan [Sun, 3 Jul 2011 00:50:16 +0000 (00:50 +0000)]
OSQA-465, be able to embed YouTube videos. Adding a new setting to the View Settings set. If the option is activated we load the jQuery ViewBox plugin and apply it to all YouTube links.

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

12 years agoOSQA-593, resolves an issue with backslashes \ during markdown processing. Thanks...
jordan [Sat, 2 Jul 2011 18:14:54 +0000 (18:14 +0000)]
OSQA-593, resolves an issue with backslashes \ during markdown processing. Thanks to @kristi for the provided patch.

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

12 years agoOSQA-684, improved logic during Facebook oauth2 authentication when dealing with...
jordan [Sat, 2 Jul 2011 17:06:15 +0000 (17:06 +0000)]
OSQA-684, improved logic during Facebook oauth2 authentication when dealing with really long usernames (>30 characters). This modification was needed because of the limit imposed by the Django User Model. If the full name is >30 chars long we get only the first name or the last. Now we also require Facebook email permissions when authenticating.

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

12 years agoresolves a unicode issue in the convert answer to comment tool (username specific...
jordan [Sat, 2 Jul 2011 16:46:12 +0000 (16:46 +0000)]
resolves a unicode issue in the convert answer to comment tool (username specific) and the logic has been changed a bit (the permissions check has been moved earlier in the tool algorithm)

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

12 years agoJira OSQA-692, .php and .jsp have nothing to domain name extensions list. You can...
jordan [Sat, 2 Jul 2011 16:23:57 +0000 (16:23 +0000)]
Jira OSQA-692, .php and .jsp have nothing to domain name extensions list. You can check the complete list of TLD extensions here: http://en.wikipedia.org/wiki/List_of_Internet_top-level_domains

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

12 years agoOSQA-715, the user linker now supports Unicode usernames, passing the users in the...
jordan [Sat, 2 Jul 2011 16:02:41 +0000 (16:02 +0000)]
OSQA-715, the user linker now supports Unicode usernames, passing the users in the linker through the smart_unicode filter, changing the regex to UNICODE

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

12 years agoJira OSQA-598, a functionality that allows to convert comments to questions directly...
jordan [Sat, 2 Jul 2011 14:04:43 +0000 (14:04 +0000)]
Jira OSQA-598, a functionality that allows to convert comments to questions directly has been added. Also the length of the action_type field of the Action model has been increased to 32 characters. Database migration added.

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

12 years agoOSQA-565, fixing small typo in the administration: theyr -> their, recompiling the...
jordan [Fri, 1 Jul 2011 15:11:47 +0000 (15:11 +0000)]
OSQA-565, fixing small typo in the administration: theyr -> their, recompiling the translation files

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

12 years agoOSQA-695, exclude the closed questions from the unanswered questions list. There...
jordan [Fri, 1 Jul 2011 15:02:55 +0000 (15:02 +0000)]
OSQA-695, exclude the closed questions from the unanswered questions list. There is no much point to display them there as they will never get answered anymore (until being reopened).

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

12 years agoOSQA-601, communicate to the secure Gravatar interface when retrieving user avatars
jordan [Fri, 1 Jul 2011 14:52:39 +0000 (14:52 +0000)]
OSQA-601, communicate to the secure Gravatar interface when retrieving user avatars

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

12 years agoadding head title block for the OSQA skin administration
jordan [Fri, 1 Jul 2011 14:01:10 +0000 (14:01 +0000)]
adding head title block for the OSQA skin administration

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

12 years agoresolving issue with the HTML links in the email notifications when OSQA is working...
jordan [Fri, 1 Jul 2011 11:34:25 +0000 (11:34 +0000)]
resolving issue with the HTML links in the email notifications when OSQA is working in subdir install mode

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

12 years agoadd the feed request exclude parameters as an argument of the question_list view...
jordan [Thu, 30 Jun 2011 13:07:05 +0000 (13:07 +0000)]
add the feed request exclude parameters as an argument of the question_list view, allows more interactiveness through modules

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

12 years agoundoing changes made in commit #1080
jordan [Thu, 30 Jun 2011 11:45:39 +0000 (11:45 +0000)]
undoing changes made in commit #1080

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

12 years agoOSQA-708, filter the username using smart_unicode, applying patch by @Jonathan Baker
jordan [Wed, 29 Jun 2011 14:33:00 +0000 (14:33 +0000)]
OSQA-708, filter the username using smart_unicode, applying patch by @Jonathan Baker

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

12 years agoa new setting has been added that allows to choose whether to update the latest activ...
jordan [Wed, 29 Jun 2011 10:30:54 +0000 (10:30 +0000)]
a new setting has been added that allows to choose whether to update the latest activity date-time of a question when editing only the tags or not

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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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

12 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