]> git.openstreetmap.org Git - osqa.git/log
osqa.git
13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

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