]> git.openstreetmap.org Git - osqa.git/log
osqa.git
13 years agoadding CsrfResponseMiddleware to the Middleware Classes list
jordan [Mon, 18 Apr 2011 17:40:16 +0000 (17:40 +0000)]
adding CsrfResponseMiddleware to the Middleware Classes list

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

13 years agoenabling the CSRF protection middleware and adding the {% csrf_token %} tag to the...
jordan [Mon, 18 Apr 2011 17:28:53 +0000 (17:28 +0000)]
enabling the CSRF protection middleware and adding the {% csrf_token %} tag to the forms, now OSQA is protected from Cross Site Request Forgery attacks

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

13 years agoescape the base path when building the pagination URLs
jordan [Mon, 18 Apr 2011 16:53:39 +0000 (16:53 +0000)]
escape the base path when building the pagination URLs

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

13 years agoOSQA-606, we convert the node score and the NECROMANCER_UP_VOTES setting to Integer...
jordan [Fri, 15 Apr 2011 13:32:30 +0000 (13:32 +0000)]
OSQA-606, we convert the node score and the NECROMANCER_UP_VOTES setting to Integer objects. This way we're sure that the both variables are of the same type.

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

13 years agonotifications improvement, now we make sure that the username has passed through...
jordan [Thu, 14 Apr 2011 21:51:36 +0000 (21:51 +0000)]
notifications improvement, now we make sure that the username has passed through the smart_unicode function and the returned object is a safe unicode string. This used to cause some trouble with the new comment posted notifications. Also fixing a small bug in the accepted answer notifications. The Question object shouldn't go through the smart_str function, then the Question object gets converted to a Unicode string and this caused trouble with the URL reverse process.

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

13 years agoChanging the way we get the User subscribed URL address, before we used the @models...
jordan [Thu, 14 Apr 2011 20:43:44 +0000 (20:43 +0000)]
Changing the way we get the User subscribed URL address, before we used the @models.permalink decorator, now we use directly the reverse URL resolver and we make sure that the username is filtered using the smart_unicode function. This used to cause some trouble with Unicode usernames when sending the daily digest.

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

13 years agoOSQA-435, the matching tags URL is now retrieved with the usage of the {% url %}...
jordan [Thu, 14 Apr 2011 13:28:16 +0000 (13:28 +0000)]
OSQA-435, the matching tags URL is now retrieved with the usage of the {% url %} template tag.

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

13 years agoremoving backup
jordan [Thu, 14 Apr 2011 12:52:57 +0000 (12:52 +0000)]
removing backup

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

13 years agoadding the database backup
jordan [Thu, 14 Apr 2011 12:52:16 +0000 (12:52 +0000)]
adding the database backup

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

13 years agoremoving the smart_str function from the html.objelink function argument, it causes...
jordan [Wed, 13 Apr 2011 22:32:02 +0000 (22:32 +0000)]
removing the smart_str function from the html.objelink function argument, it causes trouble as this argument is also used to call the get_absolute_url property

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

13 years agoremoving the trigger for the error logging, this was only for debugging purposes
jordan [Wed, 13 Apr 2011 22:16:28 +0000 (22:16 +0000)]
removing the trigger for the error logging, this was only for debugging purposes

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

13 years agoOSQA-600, notification templates unicode fixes.
jordan [Wed, 13 Apr 2011 22:14:14 +0000 (22:14 +0000)]
OSQA-600, notification templates unicode fixes.

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

13 years agoOSQA-650, force unicode when using the __unicode__ method in the Tags model and make...
jordan [Wed, 13 Apr 2011 17:46:39 +0000 (17:46 +0000)]
OSQA-650, force unicode when using the __unicode__ method in the Tags model and make the Questions tag filtration using the tag id rather than the tag name. This is likely to generate some encoding issues, if we use the tag ID it would be more stable.

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

13 years agoSome unicode fixes.
hernani [Wed, 13 Apr 2011 00:33:47 +0000 (00:33 +0000)]
Some unicode fixes.

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

13 years agoThe convert to answer action now works only if the comment parent is a question or...
jordan [Tue, 12 Apr 2011 22:05:37 +0000 (22:05 +0000)]
The convert to answer action now works only if the comment parent is a question or an answer.

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

13 years agoSPLUNK-129, adding title tooltips for the delete comment and node markdown buttons...
jordan [Tue, 12 Apr 2011 21:18:40 +0000 (21:18 +0000)]
SPLUNK-129, adding title tooltips for the delete comment and node markdown buttons in the new comment skeleton

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

13 years agoSome tags Unicode improvements.
jordan [Mon, 11 Apr 2011 20:10:22 +0000 (20:10 +0000)]
Some tags Unicode improvements.

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

13 years agomakemessages for the French language
jordan [Mon, 11 Apr 2011 20:09:12 +0000 (20:09 +0000)]
makemessages for the French language

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

13 years agoOSQA-160, now instead of using the Python date library strftime function we use the...
jordan [Mon, 11 Apr 2011 18:43:15 +0000 (18:43 +0000)]
OSQA-160, now instead of using the Python date library strftime function we use the Django dateformat.format utility which provides better support for localized dates. The pretext word 'at' that has been replaced with a single comma.

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

13 years agoUpdating the bulgarian translation.
jordan [Mon, 11 Apr 2011 18:40:36 +0000 (18:40 +0000)]
Updating the bulgarian translation.

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

13 years agoOSQA-387, the concept of having a default birthday date is dubious, so we just remove it.
jordan [Mon, 11 Apr 2011 16:44:15 +0000 (16:44 +0000)]
OSQA-387, the concept of having a default birthday date is dubious, so we just remove it.

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

13 years agoOSQA-203, the white background color of the top menu has been removed, as it is compl...
jordan [Mon, 11 Apr 2011 16:25:09 +0000 (16:25 +0000)]
OSQA-203, the white background color of the top menu has been removed, as it is completely unneeded. It can only cause issues, like this one. Also it irritates when the user decides to change the body background color, the top menu stays white then. That's why we just remove it.

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

13 years agoOSQA-143, fixing text overflow issue under IE8, added max-width to the paragraphs...
jordan [Mon, 11 Apr 2011 16:12:30 +0000 (16:12 +0000)]
OSQA-143, fixing text overflow issue under IE8, added max-width to the paragraphs inside question and answer bodies.

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

13 years agoOSQA-649, fixing the truncate username feature, now it works for basic users too.
jordan [Mon, 11 Apr 2011 16:01:48 +0000 (16:01 +0000)]
OSQA-649, fixing the truncate username feature, now it works for basic users too.

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

13 years agoCreating a new Setting Set for the Sitemap settings. Making the Questions Sitemap...
jordan [Mon, 11 Apr 2011 14:19:12 +0000 (14:19 +0000)]
Creating a new Setting Set for the Sitemap settings. Making the Questions Sitemap limit and changefreq properties configurable through administration.

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

13 years agoOSQA-561, Changing the Questions sitemap limit from 250 to 2500. This would be more...
jordan [Mon, 11 Apr 2011 13:15:02 +0000 (13:15 +0000)]
OSQA-561, Changing the Questions sitemap limit from 250 to 2500. This would be more reasonable for websites with a lot of questions.

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

13 years agoPrevents the "ask a question" sidebar from keeping fading in and out the same content.
hernani [Mon, 11 Apr 2011 10:37:28 +0000 (10:37 +0000)]
Prevents the "ask a question" sidebar from keeping fading in and out the same content.

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

13 years agoOSQA-561, adding a separate view for the sitemap pages and creating a section index...
jordan [Sun, 10 Apr 2011 21:16:46 +0000 (21:16 +0000)]
OSQA-561, adding a separate view for the sitemap pages and creating a section index, where all other sitemap locations are included. Now the OSQA Questions Sitemap has a page limit of 250 items per page. When there are less items per page the chance for issues to appear is much smaller.

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

13 years agoOSQA-617, better Unicode support for the User Profile and User Links. Using the Djang...
jordan [Sun, 10 Apr 2011 16:38:27 +0000 (16:38 +0000)]
OSQA-617, better Unicode support for the User Profile and User Links. Using the Django smart_unicode utility.

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

13 years agoOSQA-315, better Unicode support for the usernames in the Accept Rate and the Award...
jordan [Sun, 10 Apr 2011 16:13:24 +0000 (16:13 +0000)]
OSQA-315, better Unicode support for the usernames in the Accept Rate and the Award points tools.

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

13 years ago#OSQA-315, implementing the accept rate feature that shows the rate of the accepted...
jordan [Sun, 10 Apr 2011 15:21:07 +0000 (15:21 +0000)]
#OSQA-315, implementing the accept rate feature that shows the rate of the accepted answers count for a certain user in percentages.

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

13 years agoUpdated the PO files for all languages.
jordan [Sun, 10 Apr 2011 15:20:51 +0000 (15:20 +0000)]
Updated the PO files for all languages.

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

13 years ago#OSQA-581, resetting the answer count cache after the comment has been converted...
jordan [Sat, 9 Apr 2011 20:40:34 +0000 (20:40 +0000)]
#OSQA-581, resetting the answer count cache after the comment has been converted to answer.

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

13 years ago#OSQA-581, adding the reset cache count funtionality to the maintaindb command. Now...
jordan [Sat, 9 Apr 2011 20:25:53 +0000 (20:25 +0000)]
#OSQA-581, adding the reset cache count funtionality to the maintaindb command. Now the site administrators are able to flush the cached count data in case something gets messy.

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

13 years agoOSQA-538, fixing the IE caching issues, now we append the Nocache random number to...
jordan [Sat, 9 Apr 2011 19:29:45 +0000 (19:29 +0000)]
OSQA-538, fixing the IE caching issues, now we append the Nocache random number to the AJAX query, rather than to the whole JavaScript file. Also changed a bit the vote_post logic to ensure that the increment of the node reputation will happen only by one (in the previous implementation increment by 2 or -2 was also possible).

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

13 years agoRemoving the change done in Revision 952, the removing of the JS cache can cause...
jordan [Sat, 9 Apr 2011 18:42:22 +0000 (18:42 +0000)]
Removing the change done in Revision 952, the removing of the JS cache can cause performance issues.

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

13 years agoOSQA-583, prevent the caching of the JavaScript files. Appending a random number...
jordan [Sat, 9 Apr 2011 18:20:48 +0000 (18:20 +0000)]
OSQA-583, prevent the caching of the JavaScript files. Appending a random number to the media url. Caching used to cause some trouble with IE7/8/9.

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

13 years agoCreating a Random number template tag generator. We'll need this one in order to...
jordan [Sat, 9 Apr 2011 17:50:45 +0000 (17:50 +0000)]
Creating a Random number template tag generator. We'll need this one in order to prevent the caching of the JS files in IE8/9.

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

13 years agoOSQA-540, adding the new Spanish translation by Oscar Frias and Javier Candeira.
jordan [Sat, 9 Apr 2011 16:57:22 +0000 (16:57 +0000)]
OSQA-540, adding the new Spanish translation by Oscar Frias and Javier Candeira.

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

13 years agochanging the awarded tool user message, it used to cause trouble when running the...
jordan [Sat, 9 Apr 2011 16:55:31 +0000 (16:55 +0000)]
changing the awarded tool user message, it used to cause trouble when running the makemessages command, passing the args using a dictionary

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

13 years agoShowing the comment convert icon in the posted comment skeleton.
jordan [Sat, 9 Apr 2011 15:34:43 +0000 (15:34 +0000)]
Showing the comment convert icon in the posted comment skeleton.

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

13 years agoReverts the last commit, seems to cause some other issues.
hernani [Sat, 9 Apr 2011 02:26:46 +0000 (02:26 +0000)]
Reverts the last commit, seems to cause some other issues.

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

13 years agoUse a collation on tag and user names that allows case insensitive search.
hernani [Sat, 9 Apr 2011 02:20:55 +0000 (02:20 +0000)]
Use a collation on tag and user names that allows case insensitive search.

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

13 years agoDon't force the slug on profile urls.
hernani [Sat, 9 Apr 2011 02:13:12 +0000 (02:13 +0000)]
Don't force the slug on profile urls.

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

13 years agoDon't let reputation go 0, it may cause mysql to overflow.
hernani [Sat, 9 Apr 2011 02:07:10 +0000 (02:07 +0000)]
Don't let reputation go 0, it may cause mysql to overflow.

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

13 years agoSPLUNK-189, adding pngfix for IE6.
jordan [Thu, 7 Apr 2011 21:25:11 +0000 (21:25 +0000)]
SPLUNK-189, adding pngfix for IE6.

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

13 years agoCatching wrong error type.
hernani [Thu, 7 Apr 2011 11:27:55 +0000 (11:27 +0000)]
Catching wrong error type.

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

13 years agoDjango 1.3 fix.
hernani [Thu, 7 Apr 2011 11:26:35 +0000 (11:26 +0000)]
Django 1.3 fix.

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

13 years agoMerge cacheimp -> master
hernani [Thu, 7 Apr 2011 11:22:50 +0000 (11:22 +0000)]
Merge cacheimp -> master

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

13 years agoSPLUNK-196, making filtration to the summary and headline properties of the Node...
jordan [Wed, 6 Apr 2011 16:51:31 +0000 (16:51 +0000)]
SPLUNK-196, making filtration to the summary and headline properties of the Node model, removing multiple spaces and new lines breaks, we don't need them and they cause trouble to the title attribute of the <a> tag.

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

13 years agoSPLUNK-198, Use the decorated name property for the recent badges in the sidebar.
jordan [Wed, 6 Apr 2011 15:14:49 +0000 (15:14 +0000)]
SPLUNK-198, Use the decorated name property for the recent badges in the sidebar.

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

13 years agoSPLUNK-198. Long usernames used to cause trouble with the UI. Every username length...
jordan [Wed, 6 Apr 2011 14:53:34 +0000 (14:53 +0000)]
SPLUNK-198. Long usernames used to cause trouble with the UI. Every username length should be reasonable, but some users use radiculously long usernames. For such cases two new settings have been added to the Users Set. TRUNCATE_LONG_USERNAMES and TRUNCATE_USERNAMES_LONGER_THAN. This way we provide an easy interface that lets the admins specify whether the long usernames should be truncated and after which character that should happen.

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

13 years agoStupid error.
hernani [Tue, 5 Apr 2011 17:26:48 +0000 (17:26 +0000)]
Stupid error.

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

13 years agoForces case insensitivity on mysql fts by forcin upper case.
hernani [Tue, 5 Apr 2011 17:07:16 +0000 (17:07 +0000)]
Forces case insensitivity on mysql fts by forcin upper case.

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

13 years agomerging cacheimp -> trunk
hernani [Tue, 5 Apr 2011 15:47:25 +0000 (15:47 +0000)]
merging cacheimp -> trunk

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

13 years agoSPLUNK-128, adding more padding to the content container, now it shouldn't cover...
jordan [Mon, 4 Apr 2011 16:12:02 +0000 (16:12 +0000)]
SPLUNK-128, adding more padding to the content container, now it shouldn't cover the Ok button if the text goes to the second line.

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

13 years agoReintegrate merge cacheimp -> trunk.
jordan [Sat, 2 Apr 2011 12:20:13 +0000 (12:20 +0000)]
Reintegrate merge cacheimp -> trunk.

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

13 years ago#OSQA-574, a bit of backwards compatibility, importing the with_statements from the...
jordan [Mon, 28 Mar 2011 21:35:11 +0000 (21:35 +0000)]
#OSQA-574, a bit of backwards compatibility, importing the with_statements from the __future__ package on the top of the files. It used to cause a bit of trouble when in a try-except block.

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

13 years ago#SPLUNK-122, adding hidden overflow for the editor preview container, this way the...
jordan [Mon, 28 Mar 2011 18:52:15 +0000 (18:52 +0000)]
#SPLUNK-122, adding hidden overflow for the editor preview container, this way the there is no chance for the text to get out of the box.

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

13 years ago#SPLUNK-123, changing the cursor from a pointer to a normal one, now the pointer...
jordan [Mon, 28 Mar 2011 18:23:07 +0000 (18:23 +0000)]
#SPLUNK-123, changing the cursor from a pointer to a normal one, now the pointer is only on the arrow icon.

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

13 years ago#SPLUNK-124, we show a confirm popup when user is trying to delete a comment.
jordan [Mon, 28 Mar 2011 16:34:07 +0000 (16:34 +0000)]
#SPLUNK-124, we show a confirm popup when user is trying to delete a comment.

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

13 years ago#SPLUNK-120, adding a bit top margin for the question tags container. This should...
jordan [Mon, 28 Mar 2011 16:02:59 +0000 (16:02 +0000)]
#SPLUNK-120, adding a bit top margin for the question tags container. This should fix the issue with the tags overlapping the scrollbar.

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

13 years ago#SPLUNK-121, fixing the long titles issue, added an overflow: hidden; property to...
jordan [Mon, 28 Mar 2011 15:27:41 +0000 (15:27 +0000)]
#SPLUNK-121, fixing the long titles issue, added an overflow: hidden; property to the H1 style. Now the long titles cannot get out of the main container. Tested under Chrome and Firefox.

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

13 years ago#OSQA-602, the markdown syntax ** now doesn't interfer with the urlize extension.
jordan [Sun, 27 Mar 2011 22:38:38 +0000 (22:38 +0000)]
#OSQA-602, the markdown syntax ** now doesn't interfer with the urlize extension.

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

13 years agoOSQA-178, we notify the current user with a message after a node has been deleted...
jordan [Sun, 27 Mar 2011 22:32:03 +0000 (22:32 +0000)]
OSQA-178, we notify the current user with a message after a node has been deleted him.

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

13 years agoOSQA-587, filtering the questions QuerySet on the tag view if there is user parameter...
jordan [Sun, 27 Mar 2011 22:12:51 +0000 (22:12 +0000)]
OSQA-587, filtering the questions QuerySet on the tag view if there is user parameter passed. We raise Http404 error if the user doesn't exist.

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

13 years ago#OSQA-574, we make an attempt to import the with statement from the __future__ packag...
jordan [Sun, 27 Mar 2011 21:51:52 +0000 (21:51 +0000)]
#OSQA-574, we make an attempt to import the with statement from the __future__ package in case the users are using Python 2.5

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

13 years agoOSQA-533, forgot ; for the &amp; hash
jordan [Sun, 27 Mar 2011 21:45:08 +0000 (21:45 +0000)]
OSQA-533, forgot ; for the &amp; hash

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

13 years agoOSQA-533, fixed some W3C validation errors: closing <img /> tags, removed some unnece...
jordan [Sun, 27 Mar 2011 21:10:14 +0000 (21:10 +0000)]
OSQA-533, fixed some W3C validation errors: closing <img /> tags, removed some unnecessary characters from the By-SA license image, closing the <meta /> tags, etc. There is still one validation error with the autocomplete attribute.

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

13 years agoOSQA-621, adding a separate rss link for the question_search view.
jordan [Sun, 27 Mar 2011 20:34:16 +0000 (20:34 +0000)]
OSQA-621, adding a separate rss link for the question_search view.

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

13 years agoOSQA-236, modifying the flagged content daily digest, now we count only the items...
jordan [Sun, 27 Mar 2011 19:51:36 +0000 (19:51 +0000)]
OSQA-236, modifying the flagged content daily digest, now we count only the items that have been flagged for the last 24 hours.

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

13 years ago#OSQA-585, adding support for plain text emails for the daily digest.
jordan [Sun, 27 Mar 2011 19:02:33 +0000 (19:02 +0000)]
#OSQA-585, adding support for plain text emails for the daily digest.

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

13 years agoChanging the statement that checks if the content has to be deleted/hidden. We should...
jordan [Sun, 27 Mar 2011 16:25:04 +0000 (16:25 +0000)]
Changing the statement that checks if the content has to be deleted/hidden. We should use >= instead of ==. Let's imagine that firstly the admin configured OSQA to delete Answers that have been flagged 10 times, the answer has been flagged 8 times and then the admin changes that setting to 5 times. What happens with the answer that has been flagged 8 times? It will never be automatically deleted by the system.

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

13 years agoOSQA-236, now we add a link for the administrators to flagged posts management tool...
jordan [Sun, 27 Mar 2011 16:19:03 +0000 (16:19 +0000)]
OSQA-236, now we add a link for the administrators to flagged posts management tool in the daily digest. The number of the flagged items is shown too.

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

13 years ago#OSQA-544, words in cyrillic should also be counted, adding the А-Я (all the letters...
jordan [Sun, 27 Mar 2011 11:33:52 +0000 (11:33 +0000)]
#OSQA-544, words in cyrillic should also be counted, adding the А-Я (all the letters from the cyrillic alphabet) intervals into the regular expression.

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

13 years ago#SPLUNK-91, modifying the permanent link tool, adding an option to copy to the clipbo...
jordan [Thu, 24 Mar 2011 13:59:14 +0000 (13:59 +0000)]
#SPLUNK-91, modifying the permanent link tool, adding an option to copy to the clipboard if the users clicks the Ok button and just closing the AJAX popup if the user is clicking the Cancel button.

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

13 years ago#OSQA-388, creating a separate action for the award points for an answer functionality.
jordan [Wed, 23 Mar 2011 23:34:06 +0000 (23:34 +0000)]
#OSQA-388, creating a separate action for the award points for an answer functionality.

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

13 years ago#OSQA-388, changing a bit the UI of the award points for an answer tool, adding text...
jordan [Wed, 23 Mar 2011 23:24:20 +0000 (23:24 +0000)]
#OSQA-388, changing a bit the UI of the award points for an answer tool, adding text field for the input and a bit more text information about the purpose of the tool.

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

13 years ago#OSQAAWS-69, It was not a good idea to make the filtration for the moderation module...
jordan [Sat, 19 Mar 2011 09:14:34 +0000 (09:14 +0000)]
#OSQAAWS-69, It was not a good idea to make the filtration for the moderation module directly from the Node and Tag managers. This way the moderation module depends on the Modules API and becomes unstable.

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

13 years agoSimple styling issue with badges.
hernani [Fri, 18 Mar 2011 22:42:13 +0000 (22:42 +0000)]
Simple styling issue with badges.

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

13 years agoImproved lazy querysets.
hernani [Fri, 18 Mar 2011 22:10:59 +0000 (22:10 +0000)]
Improved lazy querysets.

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

13 years agoremoving unnecessery line causing IndentationError in the log file.
jordan [Fri, 18 Mar 2011 20:10:27 +0000 (20:10 +0000)]
removing unnecessery line causing IndentationError in the log file.

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

13 years ago#OSQA-610, the used_count of the firstly added tags is now updated properly. The...
jordan [Fri, 18 Mar 2011 18:09:35 +0000 (18:09 +0000)]
#OSQA-610, the used_count of the firstly added tags is now updated properly. The problem was the Tag ActiveManager which had been set as both objects and active manager. Now the objects Manager is using the standart Django Model Manager. Also data migration has been added in order to fix the used_count for previously added tags.

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

13 years agoMakes tips on the ask a question page editable in the admin.
hernani [Thu, 17 Mar 2011 00:32:04 +0000 (00:32 +0000)]
Makes tips on the ask a question page editable in the admin.

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

13 years agoAdds a way for modules to completely override a url pattern.
hernani [Wed, 16 Mar 2011 23:29:56 +0000 (23:29 +0000)]
Adds a way for modules to completely override a url pattern.

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

13 years ago#OSQA-603, removing the previously added in commit 857 call to the save method. It...
jordan [Wed, 16 Mar 2011 20:30:26 +0000 (20:30 +0000)]
#OSQA-603, removing the previously added in commit 857 call to the save method. It turned out that the issue is more cache related and the badge calculation works fine.

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

13 years ago#OSQA-603, fixing the badges count calculation error. After the update of the count...
jordan [Wed, 16 Mar 2011 19:21:27 +0000 (19:21 +0000)]
#OSQA-603, fixing the badges count calculation error. After the update of the count field we have to save the model.

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

13 years agoA couple small fixes in the sximporter.
hernani [Wed, 16 Mar 2011 17:15:02 +0000 (17:15 +0000)]
A couple small fixes in the sximporter.

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

13 years ago#OSQA-388, we check if the user has enough reputation points (if the amount of points...
jordan [Wed, 16 Mar 2011 15:51:06 +0000 (15:51 +0000)]
#OSQA-388, we check if the user has enough reputation points (if the amount of points the user is trying to give is less than the user's reputation).

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

13 years agochanging the number of the data migration on the notification-config branch from...
jordan [Wed, 16 Mar 2011 00:36:23 +0000 (00:36 +0000)]
changing the number of the data migration on the notification-config branch from 0045 to 0047, this number should be unique

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

13 years agoFixes the sx importer to use the latest db schema. Also, the fake orm is created...
hernani [Wed, 16 Mar 2011 00:31:38 +0000 (00:31 +0000)]
Fixes the sx importer to use the latest db schema. Also, the fake orm is created based on the latest migration, to simplify future updates.

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

13 years agoresolving conflict in the email settings file
jordan [Wed, 16 Mar 2011 00:27:31 +0000 (00:27 +0000)]
resolving conflict in the email settings file

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

13 years agomerge notification-config -> trunk, previous commits 695, 751 (email debugging inform...
jordan [Wed, 16 Mar 2011 00:24:29 +0000 (00:24 +0000)]
merge notification-config -> trunk, previous commits 695, 751 (email debugging information)

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

13 years agomerge notification-config -> trunk, previous commits 695, 751 (email debugging inform...
jordan [Wed, 16 Mar 2011 00:23:29 +0000 (00:23 +0000)]
merge notification-config -> trunk, previous commits 695, 751 (email debugging information)

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

13 years agomerge notification-config -> trunk, previous commits 694, 695, 702
jordan [Wed, 16 Mar 2011 00:16:40 +0000 (00:16 +0000)]
merge notification-config -> trunk, previous commits 694, 695, 702

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

13 years agoremoving the edit_user_email_feeds_form.html file, revision 695
jordan [Wed, 16 Mar 2011 00:09:18 +0000 (00:09 +0000)]
removing the edit_user_email_feeds_form.html file, revision 695

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

13 years agomerge notification-config -> trunk, previous revision 694, changes to the subscriptio...
jordan [Tue, 15 Mar 2011 23:53:57 +0000 (23:53 +0000)]
merge notification-config -> trunk, previous revision 694, changes to the subscription hooks

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

13 years agomerging notification-config -> trunk, changes from revision 695, 696, 697, 698, 699...
jordan [Tue, 15 Mar 2011 23:50:48 +0000 (23:50 +0000)]
merging notification-config -> trunk, changes from revision 695, 696, 697, 698, 699, 702

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

13 years agomerging to the trunk changes in the user model, commit 694
jordan [Tue, 15 Mar 2011 21:51:06 +0000 (21:51 +0000)]
merging to the trunk changes in the user model, commit 694

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

13 years agoAdding migration from the notification-config branch
jordan [Tue, 15 Mar 2011 21:25:12 +0000 (21:25 +0000)]
Adding migration from the notification-config branch

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