]> git.openstreetmap.org Git - osqa.git/log
osqa.git
10 years agoRemove DJANGO_VERSION from the recommended settings
Attila-Mihaly Balazs [Mon, 20 Jan 2014 09:35:47 +0000 (11:35 +0200)]
Remove DJANGO_VERSION from the recommended settings

- It adds a headache (it needs to be maintained)
- It can already be obtained by djang.get_version()
- forum_modules/updates/base.py already uses the above method to report the correct version

10 years agoMerge pull request #11 from udacity/make_faq_settings_translatable
Javyer Der Derian [Wed, 15 Jan 2014 16:06:03 +0000 (08:06 -0800)]
Merge pull request #11 from udacity/make_faq_settings_translatable

Make FAQ admin setting descriptions translateable

10 years agoMerge pull request #1 from udacity/add_requirements_file
Javyer Der Derian [Wed, 15 Jan 2014 15:54:54 +0000 (07:54 -0800)]
Merge pull request #1 from udacity/add_requirements_file

Create requirements.txt for easy dependency installation with pip and set up .gitignore

10 years agoMake FAQ admin setting descriptions translateable
Attila-Mihaly Balazs [Fri, 10 Jan 2014 18:56:07 +0000 (20:56 +0200)]
Make FAQ admin setting descriptions translateable

10 years agoAdd README to the source code
Attila-Mihaly Balazs [Mon, 6 Jan 2014 14:58:00 +0000 (16:58 +0200)]
Add README to the source code

11 years agoIgnore active copies of setting files
Attila-Mihaly Balazs [Tue, 3 Dec 2013 13:55:23 +0000 (15:55 +0200)]
Ignore active copies of setting files

11 years agoCreate requirements.txt for easy dependency installation with pip and set up .gitignore
Attila-Mihaly Balazs [Tue, 3 Dec 2013 09:09:27 +0000 (11:09 +0200)]
Create requirements.txt for easy dependency installation with pip and set up .gitignore

11 years agoMerged pt_BR locale from https://github.com/OSQA/osqa/commit/676fdbc347f8f5e91a66b215...
Javyer DerDerian [Mon, 30 Sep 2013 16:03:42 +0000 (13:03 -0300)]
Merged pt_BR locale from https://github.com/OSQA/osqa/commit/676fdbc347f8f5e91a66b215eaaafd763dec2913

11 years agoFixed twitter login
javyer [Wed, 29 May 2013 21:56:57 +0000 (21:56 +0000)]
Fixed twitter login

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

11 years agoFixed yahoo openid auth
javyer [Tue, 28 May 2013 16:08:29 +0000 (16:08 +0000)]
Fixed yahoo openid auth

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

11 years agoFix in query cache
hernani [Wed, 13 Mar 2013 23:08:25 +0000 (23:08 +0000)]
Fix in query cache

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

11 years agoFixed problem in data cache with international strings
hernani [Tue, 19 Feb 2013 15:00:12 +0000 (15:00 +0000)]
Fixed problem in data cache with international strings

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

12 years agoAdded extra check to avoid empty tags been sent in notifications.
javyer [Wed, 5 Dec 2012 23:19:10 +0000 (23:19 +0000)]
Added extra check to avoid empty tags been sent in notifications.

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

12 years agoValidatedEmail badge should be awarded only once
javyer [Wed, 24 Oct 2012 14:52:12 +0000 (14:52 +0000)]
ValidatedEmail badge should be awarded only once

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

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

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

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