]> git.openstreetmap.org Git - osqa.git/log
osqa.git
13 years agoadding Japanese translation
jordan [Mon, 9 May 2011 16:24:39 +0000 (16:24 +0000)]
adding Japanese translation

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

13 years agoResolves OSQA-657, use correct CDATA sequence.
jordan [Sun, 8 May 2011 14:07:46 +0000 (14:07 +0000)]
Resolves OSQA-657, use correct CDATA sequence.

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

13 years agoResolves OSQA-674, be sure that we remove all anchors that trigger JavaScript code.
jordan [Sun, 8 May 2011 14:02:03 +0000 (14:02 +0000)]
Resolves OSQA-674, be sure that we remove all anchors that trigger JavaScript code.

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

13 years agohide the ZeroClipboard clip if someone clicks on the cancel button
jordan [Sat, 7 May 2011 13:42:43 +0000 (13:42 +0000)]
hide the ZeroClipboard clip if someone clicks on the cancel button

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

13 years agomake the font-size of the label a bit smaller and remove the size attribute of the...
jordan [Sat, 7 May 2011 13:15:00 +0000 (13:15 +0000)]
make the font-size of the label a bit smaller and remove the size attribute of the textarea

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

13 years agouse read-only textarea instead of text input for the answer link prompt
jordan [Sat, 7 May 2011 13:11:03 +0000 (13:11 +0000)]
use read-only textarea instead of text input for the answer link prompt

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

13 years agomake sure that the context input of the settings set template has a fixed width,...
jordan [Sat, 7 May 2011 10:14:00 +0000 (10:14 +0000)]
make sure that the context input of the settings set template has a fixed width, so that it couldn't destroy the normal layout

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

13 years agoreduce the font-size to 90% and make sure that we pre-wrap the pre elements, as well...
jordan [Thu, 5 May 2011 15:04:46 +0000 (15:04 +0000)]
reduce the font-size to 90% and make sure that we pre-wrap the pre elements, as well as the code blocks

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

13 years agoremove the jquery.copy plugin, we don't need it anymore
jordan [Thu, 5 May 2011 14:26:04 +0000 (14:26 +0000)]
remove the jquery.copy plugin, we don't need it anymore

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

13 years agoWe use ZeroClipboard to copy the permanent URL to the clipboard, this JS library...
jordan [Thu, 5 May 2011 14:22:25 +0000 (14:22 +0000)]
We use ZeroClipboard to copy the permanent URL to the clipboard, this JS library uses an empty SWF for the purpose. Integrating ZeroClipboard.

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

13 years agoshow the badges count on the user profile page only if the count is not equal to 1
jordan [Wed, 4 May 2011 19:55:46 +0000 (19:55 +0000)]
show the badges count on the user profile page only if the count is not equal to 1

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

13 years agoMakes related questions search work with weighted results.
hernani [Wed, 4 May 2011 17:55:13 +0000 (17:55 +0000)]
Makes related questions search work with weighted results.

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

13 years agoSeveral improvements in full text search operations.
hernani [Wed, 4 May 2011 12:13:04 +0000 (12:13 +0000)]
Several improvements in full text search operations.

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

13 years agoFixes OSQA-663, the user.username property should pass through the smart_unicode...
jordan [Tue, 3 May 2011 18:30:47 +0000 (18:30 +0000)]
Fixes OSQA-663, the user.username property should pass through the smart_unicode function to avoid trouble. Creating a separate get_user_subscriptions_url method.

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

13 years agoTry to import the new Django CSRF middleware, otherwise add the old Django 1.1 CSRF...
jordan [Tue, 3 May 2011 17:39:28 +0000 (17:39 +0000)]
Try to import the new Django CSRF middleware, otherwise add the old Django 1.1 CSRF middleware classes to the MIDDLEWARE_CLASSES list. Making Django 1.1.4 backwards incompatible change backwards compatible.

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

13 years agocommit 1016 makes the changes made in 1014 redundand, restore the initial version...
jordan [Tue, 3 May 2011 17:16:31 +0000 (17:16 +0000)]
commit 1016 makes the changes made in 1014 redundand, restore the initial version of the osqa.main.js file

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

13 years agoResolves OSQA-662. We pass the CSRF Token to the AJAX request during the ajax send...
jordan [Tue, 3 May 2011 17:05:39 +0000 (17:05 +0000)]
Resolves OSQA-662. We pass the CSRF Token to the AJAX request during the ajax send event.

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

13 years ago#OSQA-663, convert the context username to a Unicode object.
jordan [Tue, 3 May 2011 14:43:21 +0000 (14:43 +0000)]
#OSQA-663, convert the context username to a Unicode object.

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

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