]> git.openstreetmap.org Git - osqa.git/log
osqa.git
12 years agosome facebook oauth 2.0 fixes, use user id for following association, pass the access...
jordan [Fri, 16 Dec 2011 12:05:31 +0000 (12:05 +0000)]
some facebook oauth 2.0 fixes, use user id for following association, pass the access_token to the get_data method of the facebook authentication provider class

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

12 years agomaking the user edit url contain the user slug
jordan [Thu, 15 Dec 2011 19:46:30 +0000 (19:46 +0000)]
making the user edit url contain the user slug

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

12 years agodo not use the JavaScript SDK for Facebook authentication, use the server side flow...
jordan [Sat, 10 Dec 2011 11:21:03 +0000 (11:21 +0000)]
do not use the JavaScript SDK for Facebook authentication, use the server side flow, store access token in session (rather than in a cookie)

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

12 years agoset the oauth parameter to true (defaults to false) to enable oauth authentication
jordan [Fri, 9 Dec 2011 15:49:35 +0000 (15:49 +0000)]
set the oauth parameter to true (defaults to false) to enable oauth authentication

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

12 years agoAdds an option to set a reply-to address on emails
hernani [Fri, 9 Dec 2011 15:07:18 +0000 (15:07 +0000)]
Adds an option to set a reply-to address on emails

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

12 years agoadding support for focusing answers when linking to them
jordan [Wed, 7 Dec 2011 21:51:23 +0000 (21:51 +0000)]
adding support for focusing answers when linking to them

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

12 years agoadd a new message to the user message_set that notifies the poster on AskAction and...
jordan [Sun, 4 Dec 2011 12:29:49 +0000 (12:29 +0000)]
add a new message to the user message_set that notifies the poster on AskAction and AnswerAction

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

12 years agoadding recaptcha anti-spam fields to the feedback form
jordan [Sat, 3 Dec 2011 14:29:28 +0000 (14:29 +0000)]
adding recaptcha anti-spam fields to the feedback form

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

13 years agoOSQA-521, adding Finnish translation by @Petteri Aimonen
jordan [Thu, 24 Nov 2011 13:42:40 +0000 (13:42 +0000)]
OSQA-521, adding Finnish translation by @Petteri Aimonen

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

13 years agono need to force unicode here, and its causing errors in some feeds
hernani [Sun, 20 Nov 2011 23:02:37 +0000 (23:02 +0000)]
no need to force unicode here, and its causing errors in some feeds

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

13 years agomaking the get_score_badge method decoratable, creating a private instance of it...
jordan [Sun, 20 Nov 2011 16:22:23 +0000 (16:22 +0000)]
making the get_score_badge method decoratable, creating a private instance of it called _get_score_badge which is returnable by get_score_badge

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

13 years agoadding ability to pass extra context to the question_list view
jordan [Sat, 19 Nov 2011 16:04:21 +0000 (16:04 +0000)]
adding ability to pass extra context to the question_list view

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

13 years agoremoving tabs/spaces inconsistency in the Comment model, making the Comment.comment...
jordan [Mon, 14 Nov 2011 20:41:03 +0000 (20:41 +0000)]
removing tabs/spaces inconsistency in the Comment model, making the Comment.comment method return a private method

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

13 years agoOSQA-776, limit the cache key length in the infer_cache_key method, adding a setting...
jordan [Thu, 10 Nov 2011 14:46:37 +0000 (14:46 +0000)]
OSQA-776, limit the cache key length in the infer_cache_key method, adding a setting that defaults to 235 symbols

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

13 years agoadding a management command to re-render node bodies
jordan [Tue, 1 Nov 2011 17:23:35 +0000 (17:23 +0000)]
adding a management command to re-render node bodies

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

13 years agomaking the question headline decoratable
jordan [Mon, 31 Oct 2011 12:39:10 +0000 (12:39 +0000)]
making the question headline decoratable

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

13 years agobe able to pass the GET arguments to the email validation template in case some addit...
jordan [Thu, 27 Oct 2011 17:44:40 +0000 (17:44 +0000)]
be able to pass the GET arguments to the email validation template in case some additional data has to be passed to the validation email (like GA UTM)

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

13 years agoMakes some of the paginator context available to templates.
hernani [Thu, 27 Oct 2011 14:37:00 +0000 (14:37 +0000)]
Makes some of the paginator context available to templates.

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

13 years agocheck the setting before deciding whether to append or to prepend
jordan [Mon, 24 Oct 2011 22:59:35 +0000 (22:59 +0000)]
check the setting before deciding whether to append or to prepend

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

13 years agoadding a setting that allows the users to choose the comments order
jordan [Mon, 24 Oct 2011 22:14:16 +0000 (22:14 +0000)]
adding a setting that allows the users to choose the comments order

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

13 years ago'show N more' comments rather than 'show all'
jordan [Mon, 24 Oct 2011 21:41:35 +0000 (21:41 +0000)]
'show N more' comments rather than 'show all'

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

13 years agochange the order in which comments are ordered
jordan [Mon, 24 Oct 2011 21:29:48 +0000 (21:29 +0000)]
change the order in which comments are ordered

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

13 years agoresolves OSQA-764, not all activity was displayed at the reputation graph on the...
jordan [Wed, 19 Oct 2011 22:46:18 +0000 (22:46 +0000)]
resolves OSQA-764, not all activity was displayed at the reputation graph on the user profile view

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

13 years agowhen using non-AJAX context attach the GET parameters to the Redirect URL
jordan [Mon, 17 Oct 2011 18:40:45 +0000 (18:40 +0000)]
when using non-AJAX context attach the GET parameters to the Redirect URL

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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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