]>
git.openstreetmap.org Git - osqa.git/log
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
hernani [Thu, 23 Jun 2011 20:55:39 +0000 (20:55 +0000)]
Fixes an error in the mysqlfulltext module introduced in one of the previous commits.
git-svn-id: http://svn.osqa.net/svnroot/osqa/trunk@1070
0cfe37f9 -358a-4d5e-be75-
b63607b5c754
jordan [Thu, 23 Jun 2011 16:05:55 +0000 (16:05 +0000)]
be sure to make the filtration of the queryset during search, the old search mechanism didn't exclude results with keywords that were not available
git-svn-id: http://svn.osqa.net/svnroot/osqa/trunk@1069
0cfe37f9 -358a-4d5e-be75-
b63607b5c754
jordan [Tue, 21 Jun 2011 15:27:01 +0000 (15:27 +0000)]
pass the request object to the template context, we need it in the tag selector template for the user subscriptions URL
git-svn-id: http://svn.osqa.net/svnroot/osqa/trunk@1068
0cfe37f9 -358a-4d5e-be75-
b63607b5c754
hernani [Tue, 14 Jun 2011 22:56:01 +0000 (22:56 +0000)]
Should fix the missing admin items problem.
git-svn-id: http://svn.osqa.net/svnroot/osqa/trunk@1067
0cfe37f9 -358a-4d5e-be75-
b63607b5c754
hernani [Mon, 13 Jun 2011 13:05:21 +0000 (13:05 +0000)]
Removes unused variable.
git-svn-id: http://svn.osqa.net/svnroot/osqa/trunk@1066
0cfe37f9 -358a-4d5e-be75-
b63607b5c754
hernani [Mon, 13 Jun 2011 13:04:21 +0000 (13:04 +0000)]
Better fix that the last one.
git-svn-id: http://svn.osqa.net/svnroot/osqa/trunk@1065
0cfe37f9 -358a-4d5e-be75-
b63607b5c754
hernani [Mon, 13 Jun 2011 12:58:34 +0000 (12:58 +0000)]
Fixes a possible date display bug.
git-svn-id: http://svn.osqa.net/svnroot/osqa/trunk@1064
0cfe37f9 -358a-4d5e-be75-
b63607b5c754
hernani [Fri, 10 Jun 2011 22:31:23 +0000 (22:31 +0000)]
Fixes the is_staff decorator to allow superusers to.
git-svn-id: http://svn.osqa.net/svnroot/osqa/trunk@1063
0cfe37f9 -358a-4d5e-be75-
b63607b5c754
jordan [Fri, 10 Jun 2011 15:29:56 +0000 (15:29 +0000)]
the urls in the bulk management view in the administration should pass through smart_unicode().
git-svn-id: http://svn.osqa.net/svnroot/osqa/trunk@1062
0cfe37f9 -358a-4d5e-be75-
b63607b5c754
jordan [Fri, 10 Jun 2011 15:04:48 +0000 (15:04 +0000)]
removing score sort option from the bulk management tool in the administration, it used to cause some trouble with non-existing sort method, adding a silent permanent link decorator that checks whether the resolved URL exists
git-svn-id: http://svn.osqa.net/svnroot/osqa/trunk@1061
0cfe37f9 -358a-4d5e-be75-
b63607b5c754
hernani [Thu, 9 Jun 2011 19:05:30 +0000 (19:05 +0000)]
Removes an extra "pipe" from the mysql fts install script.
git-svn-id: http://svn.osqa.net/svnroot/osqa/trunk@1060
0cfe37f9 -358a-4d5e-be75-
b63607b5c754
jordan [Tue, 7 Jun 2011 22:14:37 +0000 (22:14 +0000)]
removing CSRF backward compatiblity, the import in the settings file causes caching issues
git-svn-id: http://svn.osqa.net/svnroot/osqa/trunk@1059
0cfe37f9 -358a-4d5e-be75-
b63607b5c754
jordan [Thu, 2 Jun 2011 16:19:32 +0000 (16:19 +0000)]
hide the navigation links in the administration if the currently authenticated user is not a superuser
git-svn-id: http://svn.osqa.net/svnroot/osqa/trunk@1058
0cfe37f9 -358a-4d5e-be75-
b63607b5c754
jordan [Thu, 2 Jun 2011 15:37:45 +0000 (15:37 +0000)]
making the flagged posts administration page visible by moderators, creating a separate decorator @moderation_page and a separate internal wrapper, combined for both @admin_page and @moderation_page
git-svn-id: http://svn.osqa.net/svnroot/osqa/trunk@1057
0cfe37f9 -358a-4d5e-be75-
b63607b5c754
jordan [Wed, 1 Jun 2011 11:53:18 +0000 (11:53 +0000)]
add the fts indexes during the table creation
git-svn-id: http://svn.osqa.net/svnroot/osqa/trunk@1056
0cfe37f9 -358a-4d5e-be75-
b63607b5c754
jordan [Wed, 1 Jun 2011 11:24:01 +0000 (11:24 +0000)]
adding an update that creates full text search indexes for the mysqlfulltext module
git-svn-id: http://svn.osqa.net/svnroot/osqa/trunk@1055
0cfe37f9 -358a-4d5e-be75-
b63607b5c754
jordan [Sun, 29 May 2011 15:54:07 +0000 (15:54 +0000)]
adding a new setting that allows to automatically redirect the user's browser to the twitter login done page, localizing the twitter settings with a ugettext_lazy wrapper
git-svn-id: http://svn.osqa.net/svnroot/osqa/trunk@1054
0cfe37f9 -358a-4d5e-be75-
b63607b5c754
jordan [Sun, 29 May 2011 13:50:31 +0000 (13:50 +0000)]
Updating the python-oauth2 module and implementing a new Authentication consumer with the updated library: https://github.com/simplegeo/python-oauth2
git-svn-id: http://svn.osqa.net/svnroot/osqa/trunk@1053
0cfe37f9 -358a-4d5e-be75-
b63607b5c754
hernani [Thu, 26 May 2011 20:23:56 +0000 (20:23 +0000)]
simple css fix on answer-body
git-svn-id: http://svn.osqa.net/svnroot/osqa/trunk@1052
0cfe37f9 -358a-4d5e-be75-
b63607b5c754
hernani [Thu, 26 May 2011 19:57:48 +0000 (19:57 +0000)]
Allows possible empty sets of question tags.
git-svn-id: http://svn.osqa.net/svnroot/osqa/trunk@1051
0cfe37f9 -358a-4d5e-be75-
b63607b5c754
hernani [Thu, 26 May 2011 15:51:37 +0000 (15:51 +0000)]
Fixes a bug in the user profile.
git-svn-id: http://svn.osqa.net/svnroot/osqa/trunk@1050
0cfe37f9 -358a-4d5e-be75-
b63607b5c754
hernani [Thu, 26 May 2011 14:49:47 +0000 (14:49 +0000)]
Allow modules to set custom sorts on rss feeds.
git-svn-id: http://svn.osqa.net/svnroot/osqa/trunk@1049
0cfe37f9 -358a-4d5e-be75-
b63607b5c754
hernani [Thu, 26 May 2011 12:07:42 +0000 (12:07 +0000)]
Some improvements in the mysql full text module.
git-svn-id: http://svn.osqa.net/svnroot/osqa/trunk@1048
0cfe37f9 -358a-4d5e-be75-
b63607b5c754
hernani [Thu, 26 May 2011 02:17:49 +0000 (02:17 +0000)]
Some fixes around pagination.
git-svn-id: http://svn.osqa.net/svnroot/osqa/trunk@1047
0cfe37f9 -358a-4d5e-be75-
b63607b5c754
jordan [Mon, 23 May 2011 12:45:12 +0000 (12:45 +0000)]
undoing the changes made in commit #1045, could cause null pointer exceptions
git-svn-id: http://svn.osqa.net/svnroot/osqa/trunk@1046
0cfe37f9 -358a-4d5e-be75-
b63607b5c754
jordan [Sat, 21 May 2011 19:39:57 +0000 (19:39 +0000)]
adding a try-except block that listens for AttributeError for the find_by_name and remove_by_name methods
git-svn-id: http://svn.osqa.net/svnroot/osqa/trunk@1045
0cfe37f9 -358a-4d5e-be75-
b63607b5c754
jordan [Tue, 17 May 2011 20:36:25 +0000 (20:36 +0000)]
adding support for the new Facebook oauth 2.0 authentication model
git-svn-id: http://svn.osqa.net/svnroot/osqa/trunk@1044
0cfe37f9 -358a-4d5e-be75-
b63607b5c754
jordan [Tue, 17 May 2011 12:27:14 +0000 (12:27 +0000)]
adding migration for the negative reputation feature
git-svn-id: http://svn.osqa.net/svnroot/osqa/trunk@1043
0cfe37f9 -358a-4d5e-be75-
b63607b5c754
jordan [Tue, 17 May 2011 12:21:16 +0000 (12:21 +0000)]
Resolves Jira OSQA-359, adding an option to allow negative user reputation in the community.
git-svn-id: http://svn.osqa.net/svnroot/osqa/trunk@1042
0cfe37f9 -358a-4d5e-be75-
b63607b5c754
jordan [Tue, 17 May 2011 10:08:14 +0000 (10:08 +0000)]
fixing a small bug that appeared in Revision 1039
git-svn-id: http://svn.osqa.net/svnroot/osqa/trunk@1041
0cfe37f9 -358a-4d5e-be75-
b63607b5c754
jordan [Mon, 16 May 2011 21:05:42 +0000 (21:05 +0000)]
Adding a separate option that allows administrators to choose whether to store if the greeting message has been shown in a cookie or in the session. This way users won't see the greeting message when they simply logout, because the greeting_set boolean is stored not in the session, but in a cookie. Separate middleware has been added that handles the Django cookies and passes all keys from the request.COOKIES object to the response object. This way the session cookies are stored as real HTTP cookies.
git-svn-id: http://svn.osqa.net/svnroot/osqa/trunk@1040
0cfe37f9 -358a-4d5e-be75-
b63607b5c754
jordan [Mon, 16 May 2011 18:18:57 +0000 (18:18 +0000)]
Resolves Jira OSQA-682, do not use the MAX_VOTES_PER_DAT setting, but the can_vote_count_today User object method to calculate how more times the user can vote for the certain day.
git-svn-id: http://svn.osqa.net/svnroot/osqa/trunk@1039
0cfe37f9 -358a-4d5e-be75-
b63607b5c754
hernani [Mon, 16 May 2011 11:54:27 +0000 (11:54 +0000)]
Don't allow negative points awards.
git-svn-id: http://svn.osqa.net/svnroot/osqa/trunk@1038
0cfe37f9 -358a-4d5e-be75-
b63607b5c754
jordan [Fri, 13 May 2011 21:12:43 +0000 (21:12 +0000)]
send the app title and app description on check
git-svn-id: http://svn.osqa.net/svnroot/osqa/trunk@1037
0cfe37f9 -358a-4d5e-be75-
b63607b5c754
jordan [Thu, 12 May 2011 17:32:35 +0000 (17:32 +0000)]
store the latest update datetime in the update trigger function too
git-svn-id: http://svn.osqa.net/svnroot/osqa/trunk@1036
0cfe37f9 -358a-4d5e-be75-
b63607b5c754
jordan [Thu, 12 May 2011 16:48:07 +0000 (16:48 +0000)]
calculate the active users count since the latest update check
git-svn-id: http://svn.osqa.net/svnroot/osqa/trunk@1035
0cfe37f9 -358a-4d5e-be75-
b63607b5c754
hernani [Wed, 11 May 2011 14:27:00 +0000 (14:27 +0000)]
Use the islatest field on the apps feed to get the latest version of an app.
git-svn-id: http://svn.osqa.net/svnroot/osqa/trunk@1034
0cfe37f9 -358a-4d5e-be75-
b63607b5c754
jordan [Mon, 9 May 2011 17:33:49 +0000 (17:33 +0000)]
IE6 fixed positioning fix
git-svn-id: http://svn.osqa.net/svnroot/osqa/trunk@1033
0cfe37f9 -358a-4d5e-be75-
b63607b5c754
jordan [Mon, 9 May 2011 16:24:39 +0000 (16:24 +0000)]
adding Japanese translation
git-svn-id: http://svn.osqa.net/svnroot/osqa/trunk@1032
0cfe37f9 -358a-4d5e-be75-
b63607b5c754
jordan [Sun, 8 May 2011 14:07:46 +0000 (14:07 +0000)]
Resolves OSQA-657, use correct CDATA sequence.
git-svn-id: http://svn.osqa.net/svnroot/osqa/trunk@1031
0cfe37f9 -358a-4d5e-be75-
b63607b5c754
jordan [Sun, 8 May 2011 14:02:03 +0000 (14:02 +0000)]
Resolves OSQA-674, be sure that we remove all anchors that trigger JavaScript code.
git-svn-id: http://svn.osqa.net/svnroot/osqa/trunk@1030
0cfe37f9 -358a-4d5e-be75-
b63607b5c754
jordan [Sat, 7 May 2011 13:42:43 +0000 (13:42 +0000)]
hide the ZeroClipboard clip if someone clicks on the cancel button
git-svn-id: http://svn.osqa.net/svnroot/osqa/trunk@1029
0cfe37f9 -358a-4d5e-be75-
b63607b5c754
jordan [Sat, 7 May 2011 13:15:00 +0000 (13:15 +0000)]
make the font-size of the label a bit smaller and remove the size attribute of the textarea
git-svn-id: http://svn.osqa.net/svnroot/osqa/trunk@1028
0cfe37f9 -358a-4d5e-be75-
b63607b5c754
jordan [Sat, 7 May 2011 13:11:03 +0000 (13:11 +0000)]
use read-only textarea instead of text input for the answer link prompt
git-svn-id: http://svn.osqa.net/svnroot/osqa/trunk@1027
0cfe37f9 -358a-4d5e-be75-
b63607b5c754
jordan [Sat, 7 May 2011 10:14:00 +0000 (10:14 +0000)]
make sure that the context input of the settings set template has a fixed width, so that it couldn't destroy the normal layout
git-svn-id: http://svn.osqa.net/svnroot/osqa/trunk@1026
0cfe37f9 -358a-4d5e-be75-
b63607b5c754
jordan [Thu, 5 May 2011 15:04:46 +0000 (15:04 +0000)]
reduce the font-size to 90% and make sure that we pre-wrap the pre elements, as well as the code blocks
git-svn-id: http://svn.osqa.net/svnroot/osqa/trunk@1025
0cfe37f9 -358a-4d5e-be75-
b63607b5c754
jordan [Thu, 5 May 2011 14:26:04 +0000 (14:26 +0000)]
remove the jquery.copy plugin, we don't need it anymore
git-svn-id: http://svn.osqa.net/svnroot/osqa/trunk@1024
0cfe37f9 -358a-4d5e-be75-
b63607b5c754
jordan [Thu, 5 May 2011 14:22:25 +0000 (14:22 +0000)]
We use ZeroClipboard to copy the permanent URL to the clipboard, this JS library uses an empty SWF for the purpose. Integrating ZeroClipboard.
git-svn-id: http://svn.osqa.net/svnroot/osqa/trunk@1023
0cfe37f9 -358a-4d5e-be75-
b63607b5c754
jordan [Wed, 4 May 2011 19:55:46 +0000 (19:55 +0000)]
show the badges count on the user profile page only if the count is not equal to 1
git-svn-id: http://svn.osqa.net/svnroot/osqa/trunk@1022
0cfe37f9 -358a-4d5e-be75-
b63607b5c754
hernani [Wed, 4 May 2011 17:55:13 +0000 (17:55 +0000)]
Makes related questions search work with weighted results.
git-svn-id: http://svn.osqa.net/svnroot/osqa/trunk@1021
0cfe37f9 -358a-4d5e-be75-
b63607b5c754
hernani [Wed, 4 May 2011 12:13:04 +0000 (12:13 +0000)]
Several improvements in full text search operations.
git-svn-id: http://svn.osqa.net/svnroot/osqa/trunk@1020
0cfe37f9 -358a-4d5e-be75-
b63607b5c754
jordan [Tue, 3 May 2011 18:30:47 +0000 (18:30 +0000)]
Fixes OSQA-663, the user.username property should pass through the smart_unicode function to avoid trouble. Creating a separate get_user_subscriptions_url method.
git-svn-id: http://svn.osqa.net/svnroot/osqa/trunk@1019
0cfe37f9 -358a-4d5e-be75-
b63607b5c754
jordan [Tue, 3 May 2011 17:39:28 +0000 (17:39 +0000)]
Try to import the new Django CSRF middleware, otherwise add the old Django 1.1 CSRF middleware classes to the MIDDLEWARE_CLASSES list. Making Django 1.1.4 backwards incompatible change backwards compatible.
git-svn-id: http://svn.osqa.net/svnroot/osqa/trunk@1018
0cfe37f9 -358a-4d5e-be75-
b63607b5c754
jordan [Tue, 3 May 2011 17:16:31 +0000 (17:16 +0000)]
commit 1016 makes the changes made in 1014 redundand, restore the initial version of the osqa.main.js file
git-svn-id: http://svn.osqa.net/svnroot/osqa/trunk@1017
0cfe37f9 -358a-4d5e-be75-
b63607b5c754
jordan [Tue, 3 May 2011 17:05:39 +0000 (17:05 +0000)]
Resolves OSQA-662. We pass the CSRF Token to the AJAX request during the ajax send event.
git-svn-id: http://svn.osqa.net/svnroot/osqa/trunk@1016
0cfe37f9 -358a-4d5e-be75-
b63607b5c754
jordan [Tue, 3 May 2011 14:43:21 +0000 (14:43 +0000)]
#OSQA-663, convert the context username to a Unicode object.
git-svn-id: http://svn.osqa.net/svnroot/osqa/trunk@1015
0cfe37f9 -358a-4d5e-be75-
b63607b5c754