Граф коммитов

1557 Коммитов

Автор SHA1 Сообщение Дата
Ricky Rosario 47b7da4b94 * Append timestamp to all qunit.html script includes for no caching.
* Set mockjax responseTime to 0.
* Post actual and expected values to jstestnet when available.
* Re-enabled 2 disabled tests
2011-05-06 12:27:35 -04:00
Ricky Rosario 8511ddbe0a Backed out vendor change in previous commit 2011-05-06 11:12:24 -04:00
Ricky Rosario 948c5a4e8a Commented out 2 failing js tests until we figure out. 2011-05-06 11:09:04 -04:00
James Socol 59228d43cb Upgrade to Waffle 0.7.2 [bug 655122] 2011-05-06 09:20:49 -04:00
Ricky Rosario c032314300 Hide "Be Awesome" sidebar on translate page and show to logged in users elsewhere. [bug 654677] 2011-05-05 17:11:22 -04:00
Erik Rose fa62da4c62 [bug 655132] Upgrade to django-picklefield 0.1.9, which kills the DeprecationWarnings. 2011-05-05 13:28:55 -07:00
Erik Rose 9b15871d40 [bug 654329] Provide batch-archiving and unarchiving of documents. 2011-05-05 12:41:27 -07:00
Ricky Rosario 0689f77a50 Refactored wikivote into ajaxvote, used it for answers, and added tests! [bug 651566]
* Also updated some of our js testing libs.
2011-05-05 14:14:24 -04:00
Ricky Rosario 4fa9e0e242 Posting entire form for preview. [bug 654827] 2011-05-05 10:16:55 -04:00
James Socol 059905b5c7 Add {{ csrf() }} to solution form. [bug 655006] 2011-05-05 10:07:13 -04:00
Ricky Rosario 224fc85103 Hide Be Awesome (and Check Plugins) when logged in. [bug 654677] 2011-05-04 17:52:22 -04:00
James Socol 5bbf7acc32 Update cache-panel 2011-05-04 17:18:08 -04:00
Erik Rose f07843872d [bug 654763] Madly accelerate tests (93s vs. 302s).
* Upgrade to the new test_utils that has my fixture-accelerating base class.
* It doesn't need the TEST_UTILS_NO_TRUNCATE kludge anymore, so remove that.
2011-05-04 13:25:50 -07:00
Erik Rose 7c6ec29e93 Discovered the client_class attr of TransactionTestCase, which lets us save some definitions of setUp(). 2011-05-04 13:25:50 -07:00
Ricky Rosario dcee5c7b49 Added a message to the top of article discussion forums. [bug 652537] 2011-05-04 15:38:12 -04:00
James Socol 50f3ea9e65 Add 'af' to non-supported locales. [bug 631327] 2011-05-04 15:32:05 -04:00
James Socol 1f86348a2c Make sr->sr-CYRL [bug 650363]
* Reworked how NON_SUPPORTED_LOCALES works in get_best_language().
* Can now use NON_SUPPORTED_LOCALES to override prefix fallback.
2011-05-04 15:32:04 -04:00
James Socol b2fda76f6a Support unknown locales in Python. [bug 650363]
* Removes known-unknown locales from .htaccess.
* Makes it easy to add known-unknown locales in the future.
2011-05-04 12:36:32 -04:00
Ricky Rosario 32f0dfac7e Added csrf to AoA reply and added @anonymous_csrf to the views. [bug 654697] 2011-05-04 10:13:02 -04:00
Ricky Rosario 50b943ed77 white-space: pre-wrap; for <pre/> in questions. [bug 650926] 2011-05-04 10:02:04 -04:00
Ricky Rosario 0bfead0855 Increased timestamp check tolerance to 300ms. [bug 651909] 2011-05-04 10:01:43 -04:00
James Socol 0ba1b48c69 Explain sumo.paginator.Paginator. 2011-05-03 15:03:51 -04:00
James Socol 239a71e9ef Reduce queries on /questions. [bug 653264]
* Use select_related() to reduce round trips.
* Use extra() to reduce COUNTs and get them on cache.
* Rewrite Question.num_votes to prevent repeated queries.
* Break out count in paginate to make it cacheable later.
2011-05-03 15:03:51 -04:00
Ricky Rosario ed1832994a Create test database before syncdb in js tests. 2011-05-03 12:46:04 -04:00
Ricky Rosario 6aa9368c70 Use test_kitsune_* database for js tests. 2011-05-03 12:01:21 -04:00
Ricky Rosario 4dc73896a3 Redirect after register or login during AAQ flow so that csrf middleware is able to set session tokens. [bug 654336] 2011-05-03 10:46:55 -04:00
Erik Rose 19f99531a0 [bug 651851] Show an advisory message when viewing an archived article. 2011-05-02 16:41:09 -07:00
Erik Rose 0ce6d313fc [bug 651851] Add is_archived flag to wiki documents; ignore archived docs on l10n dashboards.
Add conditionally visible field to edit form.
2011-05-02 16:41:03 -07:00
Ricky Rosario 47c29c74de Make WIKI_REBUILD_ON_DEMAND setting a waffle switch instead. [bug 649987] 2011-05-02 19:10:40 -04:00
Ricky Rosario 5dc1dfe3ec Added warning message when user is editing a revision and there are newer
unreviewed revisions. [bug 644548]
2011-05-02 11:14:08 -04:00
Ricky Rosario 060ff48442 @login_required for forums dashboard. [bug 653012] 2011-05-02 09:54:41 -04:00
Ricky Rosario 14082a43f5 httponly cookies by default [bug 653492] 2011-04-29 11:44:20 -04:00
Erik Rose 00bbc858a1 [bug 653007] Stop auto-deleting redirects that point to non-wiki pages.
* Also, redirects get re-rendered now, just like anything else. (Redirects technically can have content.)
* Document.from_url() grew a check_host kwarg so we can make it tolerate hostnames in the WebTrends URLs.
* Fix redirect_url()'s docstring; it returns the URL as rendered--not always absolute.
* Add points_to_document_view(), a public wrapper around the new private _doc_components_from_url() which hides its weird return type. Succeeded in keeping this from turning into an import circus.
2011-04-28 16:38:11 -07:00
Erik Rose f01bb4bf0a Make get_user() work without users.json. 2011-04-28 16:38:10 -07:00
Ricky Rosario e53bf7faae Added Firefox 5 and 6 versions for desktop and mobile. They remain hidden in SHOWFOR UI until release. [bug 653455] 2011-04-28 16:51:39 -04:00
Ricky Rosario 210991b2b4 Restrict group dashboards to users in the group. [bug 653012] 2011-04-28 16:49:46 -04:00
James Socol 58a1555226 Add Redis to vendor. 2011-04-28 15:22:11 -04:00
Ricky Rosario 0a902e1d85 Updated vendor 2011-04-27 16:21:45 -04:00
James Socol d3ca0faed5 Change our last-post-in-thread deletion strategy. 2011-04-27 15:37:44 -04:00
Ricky Rosario 06ed05c880 Updated vendor and added submodule sync to js tests script. 2011-04-27 15:38:39 -04:00
Ricky Rosario ebbf9cbc18 Make port configuratble too 2011-04-27 13:14:09 -04:00
Ricky Rosario e9dfcdd6d0 Added jstest token and url params. 2011-04-27 13:14:09 -04:00
Ricky Rosario b818c48bf4 Now using the DjangoServPlugin from jstestnetlib. 2011-04-27 13:14:08 -04:00
Ricky Rosario db574f7cd3 URL changed text update. [bug 651983] 2011-04-27 13:13:35 -04:00
Ricky Rosario 5b55c8f3bc Readout URLs should be in the same locale as the page loading them. [bug 651004] 2011-04-27 12:05:30 -04:00
James Socol 57b87fd478 Make CI more tolerant. 2011-04-26 16:22:06 -04:00
Ricky Rosario bf4e3d0965 Integrated the shiny new django-session-csrf. [bug 651634] 2011-04-26 16:06:15 -04:00
James Socol 85b87a0772 Remove no-longer-supported redirects. [bug 650356] 2011-04-26 11:34:47 -04:00
James Socol 941a1f0655 [bug 652795] Announcements for all groups. 2011-04-26 09:53:04 -04:00
Ricky Rosario 541cc129ba Update to django 1.3 [bug 652204] 2011-04-25 17:52:16 -04:00