]> git.openstreetmap.org Git - osqa.git/log
osqa.git
12 years agoadding wrapping divs to user blocks
jordan [Sun, 25 Mar 2012 00:18:56 +0000 (00:18 +0000)]
adding wrapping divs to user blocks

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

12 years agodon't focus recaptcha field
jordan [Thu, 22 Mar 2012 15:20:29 +0000 (15:20 +0000)]
don't focus recaptcha field

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

12 years agoPrevent XSS attacks with wmd using the google-caja html sanitizer.
jordan [Sun, 18 Mar 2012 13:47:01 +0000 (13:47 +0000)]
Prevent XSS attacks with wmd using the google-caja html sanitizer.

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

12 years agoThis should fix a security problem reported by Kousuke Ebihara. Thanks
hernani [Sat, 17 Mar 2012 15:52:27 +0000 (15:52 +0000)]
This should fix a security problem reported by Kousuke Ebihara. Thanks

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

12 years agogeneral improvements of the recaptcha client
jordan [Thu, 15 Mar 2012 03:10:42 +0000 (03:10 +0000)]
general improvements of the recaptcha client

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

12 years agoupdate the recaptcha module, make it use the proper interfaces
jordan [Thu, 15 Mar 2012 01:42:07 +0000 (01:42 +0000)]
update the recaptcha module, make it use the proper interfaces

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

12 years agobring back the question mark button of the markdown editor (WMD) and make it point...
jordan [Tue, 13 Mar 2012 13:39:40 +0000 (13:39 +0000)]
bring back the question mark button of the markdown editor (WMD) and make it point to the markdown syntax

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

12 years agoresolves a typo in user suspend functionality, indefinetly should be indefinitely...
jordan [Wed, 15 Feb 2012 07:32:43 +0000 (07:32 +0000)]
resolves a typo in user suspend functionality, indefinetly should be indefinitely, make all messages and compile messages

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

12 years agoescape pagination parameters correctly, messed search when quotation was inserted
jordan [Sun, 12 Feb 2012 18:59:26 +0000 (18:59 +0000)]
escape pagination parameters correctly, messed search when quotation was inserted

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

12 years agouse latest jQuery version
jordan [Sun, 12 Feb 2012 18:58:38 +0000 (18:58 +0000)]
use latest jQuery version

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

12 years agochange the Denormalized Field for the flaged actions count
jordan [Fri, 27 Jan 2012 16:13:38 +0000 (16:13 +0000)]
change the Denormalized Field for the flaged actions count

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

12 years agoadd an ability to attach extra classes to post controls - helps to reduce redundant...
jordan [Wed, 25 Jan 2012 21:41:58 +0000 (21:41 +0000)]
add an ability to attach extra classes to post controls - helps to reduce redundant JSON communication

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

12 years agoadd a setting that allows to control the position of the report (0) option
jordan [Wed, 25 Jan 2012 19:29:57 +0000 (19:29 +0000)]
add a setting that allows to control the position of the report (0) option

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

12 years agoadd a new after_head_js block (immediately after the <head> tag), allows to add track...
jordan [Wed, 25 Jan 2012 14:29:21 +0000 (14:29 +0000)]
add a new after_head_js block (immediately after the <head> tag), allows to add tracking scripts, like Google Website Optimizer

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

12 years agobe able to control right navigation visibility in the administration interface
jordan [Wed, 25 Jan 2012 11:35:23 +0000 (11:35 +0000)]
be able to control right navigation visibility in the administration interface

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

12 years agoresolves an issue with empty node bodies when unicode text is passed to Markdown
jordan [Tue, 24 Jan 2012 17:32:49 +0000 (17:32 +0000)]
resolves an issue with empty node bodies when unicode text is passed to Markdown

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

12 years agobe sure to encode feed items properly
jordan [Mon, 16 Jan 2012 21:52:18 +0000 (21:52 +0000)]
be sure to encode feed items properly

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

12 years agoremove the syncdb callback that changes the collation of the tag name and username...
jordan [Sat, 14 Jan 2012 17:56:15 +0000 (17:56 +0000)]
remove the syncdb callback that changes the collation of the tag name and username database fields to utf8_bin

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

12 years agothe mark_favorite view should accept not only Questions but any Nodes (required for...
jordan [Thu, 5 Jan 2012 23:54:01 +0000 (23:54 +0000)]
the mark_favorite view should accept not only Questions but any Nodes (required for some custom models)

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

12 years agoSmall fix on the new get method for users.
hernani [Thu, 22 Dec 2011 19:04:11 +0000 (19:04 +0000)]
Small fix on the new get method for users.

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

12 years agoShould allow us to bypass the problem in some database imported from SX whit the...
hernani [Thu, 22 Dec 2011 18:28:37 +0000 (18:28 +0000)]
Should allow us to bypass the problem in some database imported from SX whit the duplicate usernames

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

12 years agorender the value of the email password in the settings page, otherwise it gets lost...
jordan [Thu, 22 Dec 2011 11:06:53 +0000 (11:06 +0000)]
render the value of the email password in the settings page, otherwise it gets lost on every edit of email settings

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

12 years agofix openid login callback, change the forward URL after authentication if there are...
jordan [Sat, 17 Dec 2011 14:25:15 +0000 (14:25 +0000)]
fix openid login callback, change the forward URL after authentication if there are some additional GET parameters in it (change ? to & to concatenate properly)

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

12 years agoOSQA-792, encode the RSS feed description to utf-8 before we pass it the mark_safe...
jordan [Fri, 16 Dec 2011 13:27:24 +0000 (13:27 +0000)]
OSQA-792, encode the RSS feed description to utf-8 before we pass it the mark_safe function

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

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