]> git.openstreetmap.org Git - osqa.git/log
osqa.git
13 years agoOSQA-662. Send the CSRF token with the AJAX post requests.
jordan [Tue, 3 May 2011 14:10:43 +0000 (14:10 +0000)]
OSQA-662. Send the CSRF token with the AJAX post requests.

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

13 years agoSeveral improvements in the models base iterator.
hernani [Tue, 3 May 2011 11:05:55 +0000 (11:05 +0000)]
Several improvements in the models base iterator.

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

13 years agoSome unicode fixes.
hernani [Fri, 29 Apr 2011 21:47:53 +0000 (21:47 +0000)]
Some unicode fixes.

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

13 years agocall all matching Selenium UI tests
jordan [Fri, 29 Apr 2011 17:12:40 +0000 (17:12 +0000)]
call all matching Selenium UI tests

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

13 years agocreating the test_ui command skeleton
jordan [Fri, 29 Apr 2011 14:04:05 +0000 (14:04 +0000)]
creating the test_ui command skeleton

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

13 years agoadding some Selenium tests to the default skin
jordan [Fri, 29 Apr 2011 13:37:50 +0000 (13:37 +0000)]
adding some Selenium tests to the default skin

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

13 years agomaking the default confirm AJAX prompt a bit wider
jordan [Thu, 28 Apr 2011 12:46:22 +0000 (12:46 +0000)]
making the default confirm AJAX prompt a bit wider

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

13 years agomaking the permanent link read only input a bit wider
jordan [Thu, 28 Apr 2011 12:34:35 +0000 (12:34 +0000)]
making the permanent link read only input a bit wider

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

13 years agomake sure that we pre-wrap the lines of code in the markdown code blocks
jordan [Wed, 27 Apr 2011 17:23:41 +0000 (17:23 +0000)]
make sure that we pre-wrap the lines of code in the markdown code blocks

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

13 years agoadding some try-except blocks to the check_for_updates function in the updater base...
jordan [Wed, 27 Apr 2011 16:40:08 +0000 (16:40 +0000)]
adding some try-except blocks to the check_for_updates function in the updater base package

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

13 years agolisten for ExpatError exceptions in the startup.py file, they may occur if the UPDATE...
jordan [Mon, 25 Apr 2011 16:27:49 +0000 (16:27 +0000)]
listen for ExpatError exceptions in the startup.py file, they may occur if the UPDATE_MESSAGES_XML setting is empty or if the update server didn't return any messages for some reason

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

13 years agomoving the update block to a separate function in the base package, creating the...
jordan [Mon, 25 Apr 2011 14:00:31 +0000 (14:00 +0000)]
moving the update block to a separate function in the base package, creating the update process triggerer

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

13 years agoSafer last edited action getter.
hernani [Mon, 25 Apr 2011 01:34:01 +0000 (01:34 +0000)]
Safer last edited action getter.

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

13 years agoFixes small bug with rss feed url generation.
hernani [Mon, 25 Apr 2011 00:20:02 +0000 (00:20 +0000)]
Fixes small bug with rss feed url generation.

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

13 years agodisplay the XML messages set to the site administrators
jordan [Sat, 23 Apr 2011 22:47:46 +0000 (22:47 +0000)]
display the XML messages set to the site administrators

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

13 years agosend the administrator emails
jordan [Sat, 23 Apr 2011 17:41:34 +0000 (17:41 +0000)]
send the administrator emails

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

13 years agoadding download update messages functionality, AJAX button
jordan [Sat, 23 Apr 2011 16:29:40 +0000 (16:29 +0000)]
adding download update messages functionality, AJAX button

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

13 years agoFix in the retag template.
hernani [Fri, 22 Apr 2011 14:42:12 +0000 (14:42 +0000)]
Fix in the retag template.

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

13 years agowe compress the XML dump, convert the binary data to ASCII base64 encoded and send...
jordan [Wed, 20 Apr 2011 21:41:38 +0000 (21:41 +0000)]
we compress the XML dump, convert the binary data to ASCII base64 encoded and send the encoded data to the server

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

13 years agocreating some views for the update checker and creating the functions that get the...
jordan [Wed, 20 Apr 2011 14:07:16 +0000 (14:07 +0000)]
creating some views for the update checker and creating the functions that get the statistics, creating the skeleton of the statistics XML data dump

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

13 years agobugfix, the images in the preview mode of the WMD editor were not displayed, because...
jordan [Tue, 19 Apr 2011 19:38:32 +0000 (19:38 +0000)]
bugfix, the images in the preview mode of the WMD editor were not displayed, because the site script URL was appended directly to the image src, without a matter if the image was located on a remote server or not. Now we check if the image src begins with http:// or https://

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

13 years agoFixes small problem in the auto-linker pattern.
hernani [Tue, 19 Apr 2011 17:55:50 +0000 (17:55 +0000)]
Fixes small problem in the auto-linker pattern.

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

13 years agocreating the skeleton of the updater index template
jordan [Tue, 19 Apr 2011 16:53:21 +0000 (16:53 +0000)]
creating the skeleton of the updater index template

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

13 years agocreating the site key setting that wraps the OSQA installation key, also creating...
jordan [Tue, 19 Apr 2011 15:59:02 +0000 (15:59 +0000)]
creating the site key setting that wraps the OSQA installation key, also creating the function that generates that site key, the format of that key is abcd-1234-efgh-t3st and it is unique for every installation, has to be kept private

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

13 years agocreating the updater module and disabling it in the DISABLED_MODULES list until the...
jordan [Tue, 19 Apr 2011 14:57:02 +0000 (14:57 +0000)]
creating the updater module and disabling it in the DISABLED_MODULES list until the development is completed

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

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