]> git.openstreetmap.org Git - osqa.git/log
osqa.git
12 years agothe email in the revent activity should be visible only to superusers, staff and...
jordan [Fri, 14 Oct 2011 19:17:44 +0000 (19:17 +0000)]
the email in the revent activity should be visible only to superusers, staff and to the validated user

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

12 years agoresolves an issue with the vertical alignment of the text in the form buttons
jordan [Wed, 12 Oct 2011 21:45:13 +0000 (21:45 +0000)]
resolves an issue with the vertical alignment of the text in the form buttons

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

12 years agoresolves the issue with the email link markdown processing
jordan [Tue, 11 Oct 2011 21:29:38 +0000 (21:29 +0000)]
resolves the issue with the email link markdown processing

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

12 years agoredirect to the question page if accept request has been made from a non-AJAX context...
jordan [Mon, 10 Oct 2011 22:01:13 +0000 (22:01 +0000)]
redirect to the question page if accept request has been made from a non-AJAX context (it redirected to the home page before)

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

12 years agoresolves a typo in the source: selfself -> self
jordan [Sun, 9 Oct 2011 12:42:46 +0000 (12:42 +0000)]
resolves a typo in the source: selfself -> self

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

12 years agoOSQA-766, smart_encode the item titles for the question RSS feeds
jordan [Sat, 8 Oct 2011 11:32:10 +0000 (11:32 +0000)]
OSQA-766, smart_encode the item titles for the question RSS feeds

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

12 years agothe WMD editor site is not available anymore, removing the question mark icon
jordan [Sat, 8 Oct 2011 08:56:20 +0000 (08:56 +0000)]
the WMD editor site is not available anymore, removing the question mark icon

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

12 years agochanging the style of the dialog yes and no buttons, resolves an issue with the verti...
jordan [Sat, 8 Oct 2011 08:45:35 +0000 (08:45 +0000)]
changing the style of the dialog yes and no buttons, resolves an issue with the vertical alignment of those buttons on FF and Safari

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

12 years agoOSQA-763, bugfix, all domains that contained youtube.com at the end were opened at...
jordan [Sun, 2 Oct 2011 13:14:35 +0000 (13:14 +0000)]
OSQA-763, bugfix, all domains that contained youtube.com at the end were opened at a viewbox, changing the jQuery selector

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

12 years agoSimple method to hold the current request for special cases.
hernani [Fri, 30 Sep 2011 11:36:17 +0000 (11:36 +0000)]
Simple method to hold the current request for special cases.

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

12 years agoresolves OSQA-729, encode OpenID query dict using the django smart unicode utility...
jordan [Mon, 26 Sep 2011 21:24:14 +0000 (21:24 +0000)]
resolves OSQA-729, encode OpenID query dict using the django smart unicode utility rather than the unicode encode method

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

12 years agojust pass AttributeError exceptions because their is a chance that a None object...
jordan [Mon, 26 Sep 2011 20:53:28 +0000 (20:53 +0000)]
just pass AttributeError exceptions because their is a chance that a None object has already been assigned to the connection instance and log all other email errors

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

12 years agodisplay the reputation required and the current user reputation at NotEnoughReputatio...
jordan [Fri, 23 Sep 2011 15:39:12 +0000 (15:39 +0000)]
display the reputation required and the current user reputation at NotEnoughReputationPointsException

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

12 years agobe able to execute JavaScript post-action commands even if the success status equals...
jordan [Fri, 23 Sep 2011 14:46:37 +0000 (14:46 +0000)]
be able to execute JavaScript post-action commands even if the success status equals False

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

12 years agoadding functionality to freeze accept rate to 100% for specific users
jordan [Thu, 22 Sep 2011 16:13:00 +0000 (16:13 +0000)]
adding functionality to freeze accept rate to 100% for specific users

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

12 years agouse different post controls if moderation module is enabled
jordan [Sun, 18 Sep 2011 14:30:20 +0000 (14:30 +0000)]
use different post controls if moderation module is enabled

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

12 years agobugfix for issue 376, migrating inline styles to the CSS file and using relative...
jordan [Tue, 13 Sep 2011 20:41:08 +0000 (20:41 +0000)]
bugfix for issue 376, migrating inline styles to the CSS file and using relative values for the width

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

12 years agoadding partial Russian by Victor
jordan [Mon, 12 Sep 2011 15:32:32 +0000 (15:32 +0000)]
adding partial Russian by Victor

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

12 years agoAdding Traditional Chinese translation by Deng Fei. Language code: cn.
jordan [Thu, 8 Sep 2011 12:51:19 +0000 (12:51 +0000)]
Adding Traditional Chinese translation by Deng Fei. Language code: cn.

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

12 years agostart awarding users who validate their emails with a badge, include email validation...
jordan [Wed, 7 Sep 2011 12:37:15 +0000 (12:37 +0000)]
start awarding users who validate their emails with a badge, include email validation into the actions stream

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

12 years agofixing bad attribute declaration for the submit button of the Akismet spam detection...
jordan [Tue, 6 Sep 2011 13:39:19 +0000 (13:39 +0000)]
fixing bad attribute declaration for the submit button of the Akismet spam detection module

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

12 years agobe able to submit comment only with Ctrl + Enter
jordan [Wed, 31 Aug 2011 12:56:30 +0000 (12:56 +0000)]
be able to submit comment only with Ctrl + Enter

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

12 years agodo not display moderators and administrators as ordinary registered users on the...
jordan [Thu, 25 Aug 2011 11:44:19 +0000 (11:44 +0000)]
do not display moderators and administrators as ordinary registered users on the user profile view

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

12 years agoreplacing tabs with spaces from a mail patch
jordan [Wed, 24 Aug 2011 11:33:45 +0000 (11:33 +0000)]
replacing tabs with spaces from a mail patch

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

12 years agoResolves OSQA-704, try to recreate the SMTP connection after exception has occurred.
jordan [Tue, 23 Aug 2011 16:48:57 +0000 (16:48 +0000)]
Resolves OSQA-704, try to recreate the SMTP connection after exception has occurred.

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

12 years agoOSQA-748, smart unicode filtration for the username in the accept rate singular title
jordan [Tue, 23 Aug 2011 09:18:56 +0000 (09:18 +0000)]
OSQA-748, smart unicode filtration for the username in the accept rate singular title

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

12 years agoadd support for gunicorn, this will allow the usage of the run_gunicorn management...
jordan [Mon, 22 Aug 2011 14:06:26 +0000 (14:06 +0000)]
add support for gunicorn, this will allow the usage of the run_gunicorn management command and will have the settings import issues resolved

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

12 years agoImproving the statement for the user subscriptions tab management, putting the settin...
jordan [Sun, 21 Aug 2011 13:29:49 +0000 (13:29 +0000)]
Improving the statement for the user subscriptions tab management, putting the settings tab in the else part of the construction, AttributeError was raised before if wrong tab parameter had been passed. Now there is no way to have NoneType response.

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

12 years agoOSQA-747, applying patch that resolves potential problem with the OpenID Auth consume...
jordan [Sat, 20 Aug 2011 10:14:57 +0000 (10:14 +0000)]
OSQA-747, applying patch that resolves potential problem with the OpenID Auth consumer, making the AX response unsigned

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

12 years agoallow the # character in tags, changing the tags regular expression and the error...
jordan [Sat, 13 Aug 2011 13:02:46 +0000 (13:02 +0000)]
allow the # character in tags, changing the tags regular expression and the error message to include #

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

12 years agoreverting the changes made in commit #1097 for Jira OSQA-593, it resulted another...
jordan [Thu, 11 Aug 2011 09:52:30 +0000 (09:52 +0000)]
reverting the changes made in commit #1097 for Jira OSQA-593, it resulted another issue with the escaping of backslashes

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

12 years agoOSQA-678, call super in the beginning of the clean methods for the qanda forms
jordan [Wed, 10 Aug 2011 14:22:47 +0000 (14:22 +0000)]
OSQA-678, call super in the beginning of the clean methods for the qanda forms

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

12 years agouse 4 spaces instead of tabulations
jordan [Fri, 5 Aug 2011 14:40:00 +0000 (14:40 +0000)]
use 4 spaces instead of tabulations

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

12 years agothe python XML module Element Tree name-space has been changed and didn't include...
jordan [Fri, 5 Aug 2011 14:29:01 +0000 (14:29 +0000)]
the python XML module Element Tree name-space has been changed and didn't include the fixtag function, which resulted the XML data export tool in the OSQA administration not to work. We try to import it and on Import Error we define the function manually

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

12 years agocheck whether the private and public ReCaptcha keys are importable, only if they...
jordan [Wed, 3 Aug 2011 09:16:38 +0000 (09:16 +0000)]
check whether the private and public ReCaptcha keys are importable, only if they are try to populate the anti-spam fields of the localauth form

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

12 years agoensure the action POST data is retrieved as a string, in some cases dict can be retur...
jordan [Tue, 2 Aug 2011 20:19:28 +0000 (20:19 +0000)]
ensure the action POST data is retrieved as a string, in some cases dict can be returned and the bulk management won't work

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

12 years agowe should save the node revision object
jordan [Tue, 2 Aug 2011 16:55:10 +0000 (16:55 +0000)]
we should save the node revision object

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

12 years agoOSQA-605, store user logins in a separate action, this helps to easily retrieve the...
jordan [Tue, 2 Aug 2011 12:11:29 +0000 (12:11 +0000)]
OSQA-605, store user logins in a separate action, this helps to easily retrieve the user IP address after every login

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

12 years agoResolves OSQA-735, return the object if it doesn't return dict context
jordan [Mon, 1 Aug 2011 12:47:52 +0000 (12:47 +0000)]
Resolves OSQA-735, return the object if it doesn't return dict context

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

12 years agoResolves Jira-735, take another approach to merge the two dicts
jordan [Mon, 1 Aug 2011 11:13:52 +0000 (11:13 +0000)]
Resolves Jira-735, take another approach to merge the two dicts

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

12 years agoOSQA-525, use old style syntax for the if-statements, adds a bit of backwards compati...
jordan [Mon, 1 Aug 2011 11:08:30 +0000 (11:08 +0000)]
OSQA-525, use old style syntax for the if-statements, adds a bit of backwards compatibility

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

12 years agoResolves Jira OSQA-732, check twice for NoReverseMatch exceptions, try passing only...
jordan [Mon, 1 Aug 2011 10:48:10 +0000 (10:48 +0000)]
Resolves Jira OSQA-732, check twice for NoReverseMatch exceptions, try passing only the slug as an argument, this was causing the 'overview' tab in the user profile to disappear

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

12 years agoOSQA-678, be sure to call super in the clean method of the title field, otherwise...
jordan [Mon, 1 Aug 2011 10:32:44 +0000 (10:32 +0000)]
OSQA-678, be sure to call super in the clean method of the title field, otherwise validation is not fully implemented

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

12 years agoforgot to remove the flatpages controller import, it's not needed for this middleware
jordan [Mon, 1 Aug 2011 10:27:08 +0000 (10:27 +0000)]
forgot to remove the flatpages controller import, it's not needed for this middleware

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

12 years agoadding middleware that handles custom pages
jordan [Mon, 1 Aug 2011 10:21:46 +0000 (10:21 +0000)]
adding middleware that handles custom pages

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

12 years agoResolves Jira OSQA-734, adding some missing imports and a bit of reorganization of...
jordan [Sun, 31 Jul 2011 17:06:39 +0000 (17:06 +0000)]
Resolves Jira OSQA-734, adding some missing imports and a bit of reorganization of them

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

12 years agoJira OSQA-528, display the tag name in the meta description on the tag view, extendin...
jordan [Sun, 31 Jul 2011 17:00:47 +0000 (17:00 +0000)]
Jira OSQA-528, display the tag name in the meta description on the tag view, extending the context passed by the tag view

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

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