]> git.openstreetmap.org Git - osqa.git/log
osqa.git
13 years agoCommit for OSQA Jira 501. Minor change in syntax of Akismet can_bypass_spam_check...
jordan [Sat, 1 Jan 2011 20:38:01 +0000 (20:38 +0000)]
Commit for OSQA Jira 501. Minor change in syntax of Akismet can_bypass_spam_check function.

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

13 years agoShould auto link old stuff in the node cache migration.
hernani [Sat, 1 Jan 2011 18:56:21 +0000 (18:56 +0000)]
Should auto link old stuff in the node cache migration.

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

13 years agoFixes comment edit, which was being performed against already parsed markdown.
hernani [Sat, 1 Jan 2011 18:36:59 +0000 (18:36 +0000)]
Fixes comment edit, which was being performed against already parsed markdown.

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

13 years agoFixes a bug with feeds some people have reported at meta.
hernani [Sat, 1 Jan 2011 16:26:20 +0000 (16:26 +0000)]
Fixes a bug with feeds some people have reported at meta.
http://meta.osqa.net/questions/6332/why-does-my-rss-feed-return-a-500-error

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

13 years agoLocal hidden directory for settings committed by mistake.
rick [Fri, 31 Dec 2010 15:00:28 +0000 (15:00 +0000)]
Local hidden directory for settings committed by mistake.

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

13 years agoAdding some more accurate Unicode support, modified to » some special character...
jordan [Wed, 29 Dec 2010 23:28:38 +0000 (23:28 +0000)]
Adding some more accurate Unicode support, modified to » some special characters, changed the way the media is being served. Work on issue OSQA-489 in Jira. The patch given by Justin Grant couldn't be applied, because some changes on the listed filed have already been done, but it was very useful. Thanks. :)

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

13 years agoBugfix for javascript upload OSQA-487
jordan [Wed, 29 Dec 2010 22:57:16 +0000 (22:57 +0000)]
Bugfix for javascript upload OSQA-487

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

13 years agoWe exclude the deleted comments from the queryset when redirecting to the newly added...
jordan [Wed, 29 Dec 2010 22:04:00 +0000 (22:04 +0000)]
We exclude the deleted comments from the queryset when redirecting to the newly added answer.

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

13 years agoBugfix for OSQA-479 in the question_retag.html template.
jordan [Wed, 29 Dec 2010 21:39:09 +0000 (21:39 +0000)]
Bugfix for OSQA-479 in the question_retag.html template.

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

13 years agoJira OSQA-490 Banner placeholders.
jordan [Wed, 29 Dec 2010 20:27:36 +0000 (20:27 +0000)]
Jira OSQA-490 Banner placeholders.

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

13 years agoAdding full width and site width banner placeholders. Might be useful while creating...
jordan [Wed, 29 Dec 2010 20:26:44 +0000 (20:26 +0000)]
Adding full width and site width banner placeholders. Might be useful while creating more specific layout structure.

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

13 years agoWorking on the @username convention. We can call user even if using only the first...
jordan [Wed, 29 Dec 2010 20:12:18 +0000 (20:12 +0000)]
Working on the @username convention. We can call user even if using only the first part of his username, for example, we can call "Jordan Jambazov" only using @Jordan. The supplied module forum.utils.userlinking deals with the active users (the one that took part in the discussion writing question, comment or answer).

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

13 years agoFixing a translation bug (made by me... :)
jordan [Tue, 28 Dec 2010 15:26:24 +0000 (15:26 +0000)]
Fixing a translation bug (made by me... :)

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

13 years agoLocalizing the diff_date filter in extra_tags.py
jordan [Tue, 28 Dec 2010 15:08:54 +0000 (15:08 +0000)]
Localizing the diff_date filter in extra_tags.py

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

13 years agoAJAX dialogs position check update.
jordan [Tue, 28 Dec 2010 14:12:32 +0000 (14:12 +0000)]
AJAX dialogs position check update.

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

13 years agoWe check if the AJAX dialogs get into the browser viewport. If not, we change their...
jordan [Tue, 28 Dec 2010 13:39:32 +0000 (13:39 +0000)]
We check if the AJAX dialogs get into the browser viewport. If not, we change their position.

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

13 years agoAnonymous users cannot convert answers to question, special method added to the Anony...
jordan [Tue, 28 Dec 2010 12:12:21 +0000 (12:12 +0000)]
Anonymous users cannot convert answers to question, special method added to the AnonymousUser class.

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

13 years agoAnonymous users cannot convert comments to answers, special method for the AnonymousU...
jordan [Tue, 28 Dec 2010 12:10:35 +0000 (12:10 +0000)]
Anonymous users cannot convert comments to answers, special method for the AnonymousUser class has been added.

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

13 years agoBugfix in the activate_revision method.
jordan [Tue, 28 Dec 2010 03:28:34 +0000 (03:28 +0000)]
Bugfix in the activate_revision method.

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

13 years agoBugfix for Jira-471
jordan [Tue, 28 Dec 2010 03:23:41 +0000 (03:23 +0000)]
Bugfix for Jira-471

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

13 years agoFixing some minor spelling mistakes, Jira-495.
jordan [Tue, 28 Dec 2010 03:07:01 +0000 (03:07 +0000)]
Fixing some minor spelling mistakes, Jira-495.

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

13 years agoWe update "karma" to "reputation", as in the translation file.
jordan [Tue, 28 Dec 2010 02:35:26 +0000 (02:35 +0000)]
We update "karma" to "reputation", as in the translation file.

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

13 years agoJira-485 Bugfix, sort order should not be hardcoded in digest.html
jordan [Tue, 28 Dec 2010 02:29:26 +0000 (02:29 +0000)]
Jira-485 Bugfix, sort order should not be hardcoded in digest.html

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

13 years agoFixing bug Jira-478, the admin navigation should be the same in Django view mode...
jordan [Tue, 28 Dec 2010 02:23:27 +0000 (02:23 +0000)]
Fixing bug Jira-478, the admin navigation should be the same in Django view mode and OSQA style administration.

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

13 years agogit-svn-id: http://svn.osqa.net/svnroot/osqa/trunk@637 0cfe37f9-358a-4d5e-be75-b63607...
jordan [Tue, 28 Dec 2010 02:21:03 +0000 (02:21 +0000)]
git-svn-id: http://svn.osqa.net/svnroot/osqa/trunk@637 0cfe37f9-358a-4d5e-be75-b63607b5c754

13 years agoWe created a sitemap index and a separate view forum.sitemap.index, not using the...
jordan [Tue, 28 Dec 2010 01:34:37 +0000 (01:34 +0000)]
We created a sitemap index and a separate view forum.sitemap.index, not using the Sitemap framework, but the settings.APP_URL

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

13 years agoAdding autolinking functionality, using mdx_urlize markdown extension.
jordan [Mon, 27 Dec 2010 21:54:14 +0000 (21:54 +0000)]
Adding autolinking functionality, using mdx_urlize markdown extension.

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

13 years agoShow template except the 404 error.
jordan [Mon, 27 Dec 2010 20:39:21 +0000 (20:39 +0000)]
Show template except the 404 error.

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

13 years agoJira 504 patch, adding local variable to debug more easily when using IDE.
jordan [Mon, 27 Dec 2010 18:26:21 +0000 (18:26 +0000)]
Jira 504 patch, adding local variable to debug more easily when using IDE.

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

13 years agoAdding method that checks if the user has the ability (permission) to convert commen...
jordan [Mon, 27 Dec 2010 18:14:22 +0000 (18:14 +0000)]
Adding  method that checks if the user has the ability (permission) to convert comments to answers.

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

13 years agoAdding ability to convert comments to answers.
jordan [Mon, 27 Dec 2010 17:42:19 +0000 (17:42 +0000)]
Adding ability to convert comments to answers.

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

13 years agoFixing bug 482 in a way we escape all passed from URL parameters.
jordan [Mon, 27 Dec 2010 01:05:49 +0000 (01:05 +0000)]
Fixing bug 482 in a way we escape all passed from URL parameters.

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

13 years agoChanging the charset of osqa.main.js to UTF-8, it might be useful.
jordan [Thu, 23 Dec 2010 01:51:21 +0000 (01:51 +0000)]
Changing the charset of osqa.main.js to UTF-8, it might be useful.

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

13 years agoTags name is included into their classname. Just like on stackoverflow. Jira OSQA...
jordan [Thu, 23 Dec 2010 01:37:35 +0000 (01:37 +0000)]
Tags name is included into their classname. Just like on stackoverflow. Jira OSQA-488.

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

13 years agoFixing the decorate_int filter in way it can work with string, round properly and...
jordan [Thu, 23 Dec 2010 01:30:21 +0000 (01:30 +0000)]
Fixing the decorate_int filter in way it can work with string, round properly and show decimal place for numbers between 10.0-99.0k

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

13 years agoAdding migration for markdown.
jordan [Wed, 22 Dec 2010 23:56:17 +0000 (23:56 +0000)]
Adding migration for markdown.

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

13 years agoWhen adding a question now you can see the markdown sidebar.
jordan [Wed, 22 Dec 2010 22:39:53 +0000 (22:39 +0000)]
When adding a question now you can see the markdown sidebar.

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

13 years agoThe accept answer button changes it's title when using the ajax command.
jordan [Wed, 22 Dec 2010 22:33:54 +0000 (22:33 +0000)]
The accept answer button changes it's title when using the ajax command.

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

13 years agoGravatar avatars are shown even if the emails left is lowercased, uppercased or rando...
jordan [Wed, 22 Dec 2010 22:24:14 +0000 (22:24 +0000)]
Gravatar avatars are shown even if the emails left is lowercased, uppercased or randomcased. Bugfix for Jira OSQA-472.

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

13 years agoAdded functionality to convert answers to comments as mentioned in Jira OSQA-462.
jordan [Wed, 22 Dec 2010 22:14:50 +0000 (22:14 +0000)]
Added functionality to convert answers to comments as mentioned in Jira OSQA-462.

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

13 years agoPatch for OSQA-499 from Jira, after activation of each revision we markdown the conte...
jordan [Wed, 22 Dec 2010 20:43:45 +0000 (20:43 +0000)]
Patch for OSQA-499 from Jira, after activation of each revision we markdown the content and save it markdowned. The performance is increased, as the as_markdown method is not triggered every time we execute the script.

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

13 years agoA couple more fixes.
hernani [Tue, 30 Nov 2010 15:12:40 +0000 (15:12 +0000)]
A couple more fixes.

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

13 years agoSeveral fixes in the OSQA exporter.
hernani [Tue, 30 Nov 2010 12:30:55 +0000 (12:30 +0000)]
Several fixes in the OSQA exporter.

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

13 years agoAdded some documentation about how to properly set the DJANGO_SETTINGS_MODULE.
claycarpenter [Tue, 23 Nov 2010 22:39:56 +0000 (22:39 +0000)]
Added some documentation about how to properly set the DJANGO_SETTINGS_MODULE.

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

13 years agoAdds the habillity to opt for a rendering mode in the static content settings.
hernani [Wed, 10 Nov 2010 15:48:20 +0000 (15:48 +0000)]
Adds the habillity to opt for a rendering mode in the static content settings.

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

13 years agoSome missing changes from the last commit.
hernani [Wed, 10 Nov 2010 12:09:18 +0000 (12:09 +0000)]
Some missing changes from the last commit.

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

13 years agoReverts some changes in a previous commit.
hernani [Wed, 10 Nov 2010 11:58:44 +0000 (11:58 +0000)]
Reverts some changes in a previous commit.

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

13 years agoProblem with case insensitive tag search.
hernani [Wed, 10 Nov 2010 11:46:20 +0000 (11:46 +0000)]
Problem with case insensitive tag search.

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

13 years agoFixes a problem with i18n in the digest sender. Fixes the problem where after adding...
hernani [Wed, 10 Nov 2010 11:44:16 +0000 (11:44 +0000)]
Fixes a problem with i18n in the digest sender. Fixes the problem where after adding an interesting tag the url was wrong.

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

13 years agoApplies some of the Justin Grant's patches.
hernani [Wed, 10 Nov 2010 11:38:52 +0000 (11:38 +0000)]
Applies some of the Justin Grant's patches.

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

13 years agoSmall tweaks.
hernani [Thu, 21 Oct 2010 14:29:28 +0000 (14:29 +0000)]
Small tweaks.

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

13 years agoBad url reverse.
hernani [Tue, 19 Oct 2010 16:43:44 +0000 (16:43 +0000)]
Bad url reverse.

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

13 years agoMore tweaks and improvements.
hernani [Tue, 19 Oct 2010 16:39:46 +0000 (16:39 +0000)]
More tweaks and improvements.

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

13 years agoPrevent dates before 1900 in birth dates.
hernani [Mon, 18 Oct 2010 12:58:36 +0000 (12:58 +0000)]
Prevent dates before 1900 in birth dates.

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

13 years agoSeveral improvements in the exporter. Finished the importer engine. Need to adapt...
hernani [Mon, 18 Oct 2010 12:32:59 +0000 (12:32 +0000)]
Several improvements in the exporter. Finished the importer engine. Need to adapt the ui.

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

13 years agoFixes an error reported in http://meta.osqa.net/questions/5274/why-does-unique-email...
hernani [Fri, 15 Oct 2010 10:37:44 +0000 (10:37 +0000)]
Fixes an error reported in http://meta.osqa.net/questions/5274/why-does-unique-email-button-in-admin-not-work .

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

13 years agoApplies patches by Justing Grant. Makes several improvements in the db exporter.
hernani [Tue, 12 Oct 2010 11:10:51 +0000 (11:10 +0000)]
Applies patches by Justing Grant. Makes several improvements in the db exporter.

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

13 years agoErroneous setting being used.
hernani [Fri, 8 Oct 2010 02:03:01 +0000 (02:03 +0000)]
Erroneous setting being used.

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

13 years agoHandle big reputation numbers slightly better.
hernani [Fri, 8 Oct 2010 01:13:51 +0000 (01:13 +0000)]
Handle big reputation numbers slightly better.

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

13 years agoMore data handled by the exporter, and a improved "pickled" value parsing.
hernani [Thu, 7 Oct 2010 15:20:17 +0000 (15:20 +0000)]
More data handled by the exporter, and a improved "pickled" value parsing.

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

13 years agoSome more additions to exporter data.
hernani [Thu, 7 Oct 2010 12:34:38 +0000 (12:34 +0000)]
Some more additions to exporter data.

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

13 years agoFirst stab on xml exporter. (experimental)
hernani [Thu, 7 Oct 2010 11:23:54 +0000 (11:23 +0000)]
First stab on xml exporter. (experimental)

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

13 years agoFixes OSQA 455. Multiple cross site scripting(XSS) vulnerabilities.
hernani [Tue, 5 Oct 2010 15:43:57 +0000 (15:43 +0000)]
Fixes OSQA 455. Multiple cross site scripting(XSS) vulnerabilities.

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

13 years agoSome more tweaks and fixes.
hernani [Thu, 23 Sep 2010 23:27:07 +0000 (23:27 +0000)]
Some more tweaks and fixes.

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

13 years agoSome small tweaks.
hernani [Thu, 23 Sep 2010 16:16:24 +0000 (16:16 +0000)]
Some small tweaks.

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

13 years agoFixes an error in the tag editor.
hernani [Sat, 18 Sep 2010 07:02:03 +0000 (07:02 +0000)]
Fixes an error in the tag editor.

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

13 years agoAdds question and answer metrics (chars and words) on the editors, and in the "more...
hernani [Tue, 14 Sep 2010 17:37:03 +0000 (17:37 +0000)]
Adds question and answer metrics (chars and words) on the editors, and in the "more" menu for staff or superusers.
Small css tweaks and a typo on the bulk manager.

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

13 years agoFixes OSQA 446 "Security - Multiple cross site scripting (XSS) vulnerabilities".
hernani [Mon, 13 Sep 2010 22:00:42 +0000 (22:00 +0000)]
Fixes OSQA 446 "Security - Multiple cross site scripting (XSS) vulnerabilities".

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

13 years agoputs back the i18n code for the editor and adds back in the image uploader.
matt [Mon, 13 Sep 2010 14:27:07 +0000 (14:27 +0000)]
puts back the i18n code for the editor and adds back in the image uploader.

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

13 years agofixes OSQA-439. IE should work again. Sorry about that. Thanks for the patches...
matt [Mon, 13 Sep 2010 13:53:38 +0000 (13:53 +0000)]
fixes OSQA-439.  IE should work again.  Sorry about that.  Thanks for the patches Justin and Gerald.

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

13 years agoShould fix the error reported in http://meta.osqa.net/questions/4753/bulk-management...
hernani [Sun, 12 Sep 2010 20:37:55 +0000 (20:37 +0000)]
Should fix the error reported in http://meta.osqa.net/questions/4753/bulk-management-feedback.

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

13 years agoPossible fix for the KeyError problem.
hernani [Sat, 11 Sep 2010 01:09:06 +0000 (01:09 +0000)]
Possible fix for the KeyError problem.

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

13 years agoBulk management changes:
hernani [Sat, 11 Sep 2010 00:59:10 +0000 (00:59 +0000)]
Bulk management changes:
Highlights nodes with deleted or accepted state.
Adds date and by to each state in the states column.
Shows the diamonds next to the usernames (su or staff)
Allows resizing the summary column via javascript (not perfect though).
Allows the colapsing of the filter panel.
Allows filtering by multiple nodes or state types.

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

13 years agoAdds the hability to hard delete nodes in the bulk manager, and renames the tool.
hernani [Fri, 10 Sep 2010 13:19:54 +0000 (13:19 +0000)]
Adds the hability to hard delete nodes in the bulk manager, and renames the tool.

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

13 years agoAdds the option to save filters in the node management.
hernani [Fri, 10 Sep 2010 12:10:15 +0000 (12:10 +0000)]
Adds the option to save filters in the node management.

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

13 years agoSome more changes in node management.
hernani [Fri, 10 Sep 2010 11:16:14 +0000 (11:16 +0000)]
Some more changes in node management.
Fixed filter reset after action.
Added inverse sortings.
Added node summary.
Removed sort by title.
Made descending sort by addedt_at as the default sort.

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

13 years agoLast minute fix.
hernani [Thu, 9 Sep 2010 16:14:48 +0000 (16:14 +0000)]
Last minute fix.

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

13 years agoSeveral improvements in the node bulk management feature. Improved filters and added...
hernani [Thu, 9 Sep 2010 15:55:47 +0000 (15:55 +0000)]
Several improvements in the node bulk management feature. Improved filters and added the close action.

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

13 years agoMoves the try clause up a bit in the ui renderer to catch possible exceptions before...
hernani [Thu, 2 Sep 2010 01:28:10 +0000 (01:28 +0000)]
Moves the try clause up a bit in the ui renderer to catch possible exceptions before the actual rendering.

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

13 years agoHandle redirects and other responses in parameter decorators.
hernani [Tue, 31 Aug 2010 23:59:16 +0000 (23:59 +0000)]
Handle redirects and other responses in parameter decorators.

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

13 years agoBetter handling for the last_activity user profile info.
hernani [Tue, 31 Aug 2010 22:29:48 +0000 (22:29 +0000)]
Better handling for the last_activity user profile info.

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

13 years agoFixes a bug where the profile page of users with now actions could explode.
hernani [Tue, 31 Aug 2010 22:26:14 +0000 (22:26 +0000)]
Fixes a bug where the profile page of users with now actions could explode.

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

13 years agoMore alteregos possible actions, vote, flag, etc.
hernani [Tue, 31 Aug 2010 21:52:47 +0000 (21:52 +0000)]
More alteregos possible actions, vote, flag, etc.
Edit action can match the same ego as the ask, answer or comment, or match the original author.
Better help in the ego manager.
All the users can be allowed to have egos, and not only moderators.
The dropdown for alteregos will not show any user if there isn't prefered egos.

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

13 years agoAn extra filter that may be usefull for some modules.
hernani [Tue, 31 Aug 2010 21:40:06 +0000 (21:40 +0000)]
An extra filter that may be usefull for some modules.

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

13 years agoMakes user urls to accept empty slugs to support usernames without any latin character.
hernani [Tue, 31 Aug 2010 13:46:33 +0000 (13:46 +0000)]
Makes user urls to accept empty slugs to support usernames without any latin character.

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

13 years agoAdds quick creation of new users through the admin interface.
hernani [Tue, 31 Aug 2010 11:41:55 +0000 (11:41 +0000)]
Adds quick creation of new users through the admin interface.
Makes other small tweaks.

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

13 years agoFinished with node bulk management, although only option for now is to delete nodes.
hernani [Mon, 30 Aug 2010 16:19:19 +0000 (16:19 +0000)]
Finished with node bulk management, although only option for now is to delete nodes.

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

13 years agoFixes the problem reported in http://meta.osqa.net/questions/4581/unicodeencodeerror...
hernani [Sat, 28 Aug 2010 01:20:14 +0000 (01:20 +0000)]
Fixes the problem reported in http://meta.osqa.net/questions/4581/unicodeencodeerror-at-feedsrss, forcing the description to be casted to unicode before entering the mark_safe function.

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

13 years agoRemoves unused variables.
hernani [Thu, 26 Aug 2010 14:02:55 +0000 (14:02 +0000)]
Removes unused variables.

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

13 years agoA small fix in the admin decorators.
hernani [Thu, 26 Aug 2010 13:29:28 +0000 (13:29 +0000)]
A small fix in the admin decorators.

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

13 years agoAdds the bulk management interface with node bulk management with full filtering...
hernani [Thu, 26 Aug 2010 13:21:21 +0000 (13:21 +0000)]
Adds the bulk management interface with node bulk management with full filtering. No available actions yet.
Adds pagination to the action list in the admin dashboard.
Makes some changes in the way admin links are registered.

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

13 years agoMoves the myopenid logo to a big button, and the aol logo to a small button in the...
hernani [Wed, 25 Aug 2010 06:01:34 +0000 (06:01 +0000)]
Moves the myopenid logo to a big button, and the aol logo to a small button in the default authentication set.
Makes some other small tweaks and fixes.

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

13 years agoShould fix the error reported in http://meta.osqa.net/questions/4487/error-500-when...
hernani [Mon, 23 Aug 2010 18:09:55 +0000 (18:09 +0000)]
Should fix the error reported in http://meta.osqa.net/questions/4487/error-500-when-user-try-to-see-his-closed-question .

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

13 years agoDon't check minimum length of question, when body turned of, even on django 1.1.1.
hernani [Mon, 23 Aug 2010 15:04:12 +0000 (15:04 +0000)]
Don't check minimum length of question, when body turned of, even on django 1.1.1.

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

13 years agothis won't be in the tabs, so keep it from throwing an exception when the URL for...
matt [Mon, 23 Aug 2010 13:13:15 +0000 (13:13 +0000)]
this won't be in the tabs, so keep it from throwing an exception when the URL for onlineusers isn't present yet.

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

13 years agoreverted out some debugging code
matt [Fri, 20 Aug 2010 21:29:59 +0000 (21:29 +0000)]
reverted out some debugging code

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

13 years agoThis is for the online users page. It has been disable. I am committing it so that...
court [Fri, 20 Aug 2010 21:14:54 +0000 (21:14 +0000)]
This is for the online users page.  It has been disable.  I am committing it so that I can look at it over the weekend.

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

13 years agofixed up some english and changed markdown default editor to show markdown instead...
matt [Fri, 20 Aug 2010 20:02:23 +0000 (20:02 +0000)]
fixed up some english and changed markdown default editor to show markdown instead of HTML so it mirrored our old functionality.  Everything should be put back together now.

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

13 years agoforgot to check in the main javascript file. sorry.
court [Fri, 20 Aug 2010 15:37:48 +0000 (15:37 +0000)]
forgot to check in the main javascript file. sorry.

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

13 years agoshould now be working for chrome/safari/firefox. still need to fix markdown display...
court [Fri, 20 Aug 2010 14:55:35 +0000 (14:55 +0000)]
should now be working for chrome/safari/firefox.  still need to fix markdown display when editing a question or answer.

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