]> git.openstreetmap.org Git - osqa.git/log
osqa.git
12 years agoImplemented 'report user' feature
javyer [Wed, 17 Oct 2012 17:24:51 +0000 (17:24 +0000)]
Implemented 'report user' feature

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

12 years agoOSQA-895, added IT locale files
javyer [Wed, 17 Oct 2012 15:44:20 +0000 (15:44 +0000)]
OSQA-895, added IT locale files

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

12 years agoFixed WMD to correctly show < and > in preview for <code> text
javyer [Wed, 15 Aug 2012 13:31:18 +0000 (13:31 +0000)]
Fixed WMD to correctly show < and > in preview for <code> text

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

12 years agoAdded reply-to option to send_template_mail
javyer [Wed, 1 Aug 2012 15:38:21 +0000 (15:38 +0000)]
Added reply-to option to send_template_mail

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

12 years agoallows send_template_mail to define sender details
javyer [Fri, 27 Jul 2012 18:48:57 +0000 (18:48 +0000)]
allows send_template_mail to define sender details

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

12 years agoAdded a small error message in wmd.js
javyer [Mon, 16 Jul 2012 14:53:01 +0000 (14:53 +0000)]
Added a small error message in wmd.js

Tries to add some feedback for the user when there's a server error uploading an image.

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

12 years agodo not show user bio if user is suspended
jordan [Tue, 26 Jun 2012 22:10:09 +0000 (22:10 +0000)]
do not show user bio if user is suspended

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

12 years agowe need to be able to take additional keyword arguments from the search manager
jordan [Fri, 15 Jun 2012 18:17:36 +0000 (18:17 +0000)]
we need to be able to take additional keyword arguments from the search manager

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

12 years agofollow RFC 822 AFAIR when sending emails
jordan [Mon, 11 Jun 2012 11:31:15 +0000 (11:31 +0000)]
follow RFC 822 AFAIR when sending emails

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

12 years agomake user subscriptions view decoratable
jordan [Sat, 9 Jun 2012 13:15:36 +0000 (13:15 +0000)]
make user subscriptions view decoratable

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

12 years agobe able to handle Unicode GET params in auth.py properly
jordan [Sun, 27 May 2012 12:49:51 +0000 (12:49 +0000)]
be able to handle Unicode GET params in auth.py properly

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

12 years agotrigger contentchanged event on subscription widget add/remove tags
jordan [Wed, 23 May 2012 17:10:19 +0000 (17:10 +0000)]
trigger contentchanged event on subscription widget add/remove tags

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

12 years agoaccept only POST requests for vote_post command, make the ajax command send only...
jordan [Tue, 22 May 2012 15:15:56 +0000 (15:15 +0000)]
accept only POST requests for vote_post command, make the ajax command send only POST requests

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

12 years agoallow only AJAX requests for post votes, otherwise it makes CSRF possible
jordan [Tue, 22 May 2012 13:36:51 +0000 (13:36 +0000)]
allow only AJAX requests for post votes, otherwise it makes CSRF possible

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

12 years agobe able to accept default page size parameter on UserListPaginatorContext
jordan [Sat, 19 May 2012 22:23:12 +0000 (22:23 +0000)]
be able to accept default page size parameter on UserListPaginatorContext

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

12 years agothe contributors_info template tag should tag context and pass it
jordan [Wed, 16 May 2012 22:57:24 +0000 (22:57 +0000)]
the contributors_info template tag should tag context and pass it

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

12 years agoshow link that leads to the badge page, not list of all badges
jordan [Fri, 11 May 2012 00:49:34 +0000 (00:49 +0000)]
show link that leads to the badge page, not list of all badges

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

12 years agoundo this, it's a bit redundant
jordan [Wed, 9 May 2012 21:05:35 +0000 (21:05 +0000)]
undo this, it's a bit redundant

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

12 years agotry to get the position of the event currentTarget if there is no pageX or pageY...
jordan [Wed, 9 May 2012 20:59:46 +0000 (20:59 +0000)]
try to get the position of the event currentTarget if there is no pageX or pageY property, useful when dealing with popups called by keyup event

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

12 years agoshow information about the badge you just got in the message notification instead...
jordan [Mon, 7 May 2012 23:56:03 +0000 (23:56 +0000)]
show information about the badge you just got in the message notification instead of just showing link to the user profile

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

12 years agoshow the recaptcha field to unauthenticated users without a metter what is the min...
jordan [Fri, 27 Apr 2012 22:19:01 +0000 (22:19 +0000)]
show the recaptcha field to unauthenticated users without a metter what is the min rep setting

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

12 years agoMake sure to clean the original state on all objects recently fetched.
hernani [Thu, 26 Apr 2012 22:41:00 +0000 (22:41 +0000)]
Make sure to clean the original state on all objects recently fetched.

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

12 years agowe need to close both dialogs if users selects No on award points confirmation
jordan [Thu, 26 Apr 2012 14:17:05 +0000 (14:17 +0000)]
we need to close both dialogs if users selects No on award points confirmation

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

12 years agothe variable needs to be defined with var in front of it, because otherwise it is...
jordan [Thu, 26 Apr 2012 13:18:41 +0000 (13:18 +0000)]
the  variable needs to be defined with var in front of it, because otherwise it is taken from the previous scope and messes the dialog when two or more of them are used simultaneously

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

12 years agoUsers should be warned before getting their karma points decreased to certain values...
jordan [Thu, 26 Apr 2012 00:51:30 +0000 (00:51 +0000)]
Users should be warned before getting their karma points decreased to certain values on reputation award

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

12 years agobe able to pass additional context to the _edit_question view
jordan [Tue, 24 Apr 2012 22:10:48 +0000 (22:10 +0000)]
be able to pass additional context to the _edit_question view

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

12 years agoOSQA-829, resolves a unicode problem when answering question, use smart_unicode for...
jordan [Thu, 19 Apr 2012 22:22:25 +0000 (22:22 +0000)]
OSQA-829, resolves a unicode problem when answering question, use smart_unicode for the username field which is used in the friendly_username and friendly_ownername methods of the ActionProxy class

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

12 years agolisten for DoesNotExist exceptions when exporting user marked tags, use different...
jordan [Wed, 18 Apr 2012 13:49:12 +0000 (13:49 +0000)]
listen for DoesNotExist exceptions when exporting user marked tags, use different method to add files to a Zip archive

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

12 years agomake the xml exporter work
jordan [Sun, 15 Apr 2012 21:27:39 +0000 (21:27 +0000)]
make the xml exporter work

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

12 years agocast project badges Bug Buster badge setting to int type
jordan [Thu, 12 Apr 2012 14:39:46 +0000 (14:39 +0000)]
cast project badges Bug Buster badge setting to int type

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

12 years agorevert previous commit
jordan [Tue, 10 Apr 2012 21:23:11 +0000 (21:23 +0000)]
revert previous commit

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

12 years agoresolves an issue with tags used count that can get out of control if called from...
jordan [Tue, 10 Apr 2012 20:38:50 +0000 (20:38 +0000)]
resolves an issue with tags used count that can get out of control if called from a module delete action

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

12 years agomake the karma history positive & negative reputation blocks use CSS min-width instea...
jordan [Mon, 9 Apr 2012 20:19:56 +0000 (20:19 +0000)]
make the karma history positive & negative reputation blocks use CSS min-width instead of width, other wise 100 reputation in block overflows into 10(line break)0

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

12 years agomake RSS items decoratable, add an option to block email notifications per node,...
jordan [Sun, 8 Apr 2012 00:25:31 +0000 (00:25 +0000)]
make RSS items decoratable, add an option to block email notifications per node, useful in some cases when we need to check states for the node before allowing to send email notification

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

12 years agomake user decorated name decoratable through OSQA modules, allow superusers to edit...
jordan [Sat, 7 Apr 2012 14:47:53 +0000 (14:47 +0000)]
make user decorated name decoratable through OSQA modules, allow superusers to edit screen name

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

12 years agomake {% comments %} template tag decoratable and add ability to attach additional...
jordan [Fri, 6 Apr 2012 14:04:20 +0000 (14:04 +0000)]
make {% comments %} template tag decoratable and add ability to attach additional post controls to them

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

12 years agoOSQA-828, Support fullname to real_name mapping from OpenID providers
jordan [Wed, 4 Apr 2012 23:10:46 +0000 (23:10 +0000)]
OSQA-828, Support fullname to real_name mapping from OpenID providers

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

12 years agodon't use template loaders caching when DEBUG=True
jordan [Tue, 3 Apr 2012 23:01:24 +0000 (23:01 +0000)]
don't use template loaders caching when DEBUG=True

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

12 years agoOSQA-425, adding LDAP Based Authentication OSQA module to the core
jordan [Mon, 2 Apr 2012 23:11:47 +0000 (23:11 +0000)]
OSQA-425, adding LDAP Based Authentication OSQA module to the core

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

12 years agoOSQA-809, Include question summaries in question and answers views, wrap that in...
jordan [Mon, 2 Apr 2012 22:43:05 +0000 (22:43 +0000)]
OSQA-809, Include question summaries in question and answers views, wrap that in a setting

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

12 years agoOSQA-818, a bit improved English translation, + remake and recompile all other transl...
jordan [Mon, 2 Apr 2012 21:22:37 +0000 (21:22 +0000)]
OSQA-818, a bit improved English translation, + remake and recompile all other translations so that we keep them more current

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

12 years agoOSQA-824: Enable Django template caching
jordan [Mon, 2 Apr 2012 20:05:13 +0000 (20:05 +0000)]
OSQA-824: Enable Django template caching
Django loads and parses templates for every request, so this significantly improves OSQA performance.

* I've checked over the custom template tags for thread safety and they look fine,
  so this change should be safe:
  https://docs.djangoproject.com/en/dev/howto/custom-template-tags/#template-tag-thread-safety
* Profiling indicated the other major contributor to CPU/request time was Django's lack of database
  connection pooling/persistent connections. That's best handled with an external daemon:
  http://meta.osqa.net/questions/11381/is-osqa-cpu-bound

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

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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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

13 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