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

252 Коммитов

Автор SHA1 Сообщение Дата
Andy McKay 5636d0306f add in the in-app payment model and a status flag (bug 717378) 2012-02-01 14:02:29 -08:00
Andy McKay 9dddf1dde7 allow multiple sites, with manage.py coping with different settings locations 2012-01-31 14:25:50 -08:00
Andy McKay 18775ebfe0 make lib explicit 2012-01-30 16:31:42 -08:00
Andy McKay 23c21e0c97 Revert "allow multiple sites, with manage.py coping with different settings locations"
This reverts commit 2831ca9f57.
2012-01-30 15:36:57 -08:00
Andy McKay 2831ca9f57 allow multiple sites, with manage.py coping with different settings locations 2012-01-30 14:34:18 -08:00
Jeff Balogh df3da25e32 add an lru cache from Raymond Hettinger 2011-08-10 11:03:07 -07:00
Andy McKay 6e38edf157 move to django-mozilla-product-details and add update into the deploy (bug 671534) 2011-07-18 15:08:20 -07:00
Andy McKay 1eb6dba7a4 Revert "move to django-mozilla-product-details and add update into the deploy (bug 671534)"
This reverts commit 8e5167578c.
2011-07-15 14:25:58 -07:00
Andy McKay 8e5167578c move to django-mozilla-product-details and add update into the deploy (bug 671534) 2011-07-15 13:59:11 -07:00
Andy McKay fa2ddfe666 update product versions (bug #658504) 2011-05-25 09:32:57 -07:00
Jeff Balogh c90d06111a removing mongodb connector code, we never used mongo 2011-05-23 17:56:56 -07:00
James Long 3757da15f3 port dev newsletter page, integrate responsys newsletter (bug 617773) 2011-03-30 12:48:06 -07:00
Jeff Balogh e54bc48b81 give me back my plain-text tracebacks (bug 638109) 2011-03-02 10:05:17 -08:00
Jeff Balogh 2bcfa944d6 porting the addon recommendation engine (bug 632305) 2011-02-15 17:15:16 -08:00
James Long 6c11b05557 update product-details json submodule 2011-02-10 11:33:55 -08:00
Wil Clouser ce5ee12365 Update product_details 2010-09-30 10:46:54 -07:00
Jeff Balogh e9776a1a45 a magical function to decorate urlconfs 2010-09-28 13:15:10 -07:00
Jeff Balogh aa9e9baf44 we need unsafe signals for testing read-only mode 2010-09-24 17:39:51 -07:00
Jeff Balogh aa23d1aaf2 use safe_signals instead of async_signals. Threads suck. 2010-09-24 17:19:44 -07:00
Jeff Balogh c3f5f15dce let's use nuggets 2010-09-23 11:10:31 -07:00
Wil Clouser e54552329d Add mongo interface, bug 592588 2010-09-22 16:56:47 -07:00
Jeff Balogh a43dcb1370 safe csrf tokens (bug 590351) 2010-08-30 20:04:20 -07:00
Jeff Balogh b4324abe12 switch to our custom Task class, handle rabbit downtime (bug 583314) 2010-08-02 15:58:18 -07:00
Jeff Balogh 4c13c2090a adding logging dict config from PEP 391
http://bitbucket.org/vinay.sajip/dictconfig/src
2010-05-28 13:12:17 -07:00
Wil Clouser 6f6720ebc0 Migrate from the l10n lib to Tower; bug 557339 2010-04-14 14:40:39 -07:00
Wil Clouser b7dfda4def zamboni side of creating z-javascript.po files 2010-03-29 14:19:49 -07:00
Wil Clouser f295b2029b look for z-messages; fix tests 2010-03-29 13:30:31 -07:00
Wil Clouser 32e15272a9 Load the right .mo file. Bug 554337 2010-03-29 12:46:28 -07:00
Wil Clouser 47f4574fc8 Move DOMAIN_METHODS out of the extract script so other sites can use the library. 2010-03-08 13:41:36 -08:00
Wil Clouser 80430baed8 Update l10n tests for new output 2010-03-08 12:07:40 -08:00
Wil Clouser 1728b78d68 Make .pot files with two msgstrs so msgen works as expected. 2010-03-08 10:27:26 -08:00
Wil Clouser 9290aa920b pep8 2010-03-05 16:09:25 -08:00
Wil Clouser 8f3ddb9faf Change extraction again. This time use the toolkit to write the .po and also call our custom tweaks on extracting python strings too. 2010-03-05 15:59:54 -08:00
Jeff Balogh 060d097707 updating the product_details pointer 2010-03-05 13:02:52 -08:00
Wil Clouser 3dc5d34c23 Add lazy gettext functions 2010-03-03 15:12:34 -08:00
Wil Clouser f5599c9344 Whack the translate submodule 2010-03-03 14:46:21 -08:00
Wil Clouser e9e6bd892c Update extraction script to build z-keys.pot by default 2010-03-03 13:50:38 -08:00
Wil Clouser cbdce50b8d Add amalgamate command. Use: ./manage.py amalgamate 2010-03-03 13:50:38 -08:00
Wil Clouser 30bcfe9122 update toolkit revision 2010-03-03 13:50:38 -08:00
Wil Clouser 7d3e881358 Add the translate toolkit as an external. Once r13862 lands in the pypi package we can use that instead. 2010-03-03 13:50:38 -08:00
Jeff Balogh b860ac6729 the new locale wasn't always getting activated 2010-03-02 10:27:05 -08:00
Fred Wenzel 84f8ac8bb5 added full text for built-in licenses 2010-03-02 18:32:06 +01:00
Jeff Balogh 3291402ff7 give jinja our ugettext and fix the _() alias 2010-03-01 14:25:52 -08:00
Wil Clouser 7e8d9796da Always strip whitespace, return a localized string if possible 2010-02-26 12:24:15 -08:00
Wil Clouser f62f1870b9 Fix _() when context isn't found; bug 548713 2010-02-26 11:56:10 -08:00
Wil Clouser ef7cac4b8f Pull the path from settings 2010-02-26 11:56:10 -08:00
Jeff Balogh 6eebd9febb be more careful importing settings 2010-02-23 09:54:43 -08:00
Wil Clouser 9e5aef461d get_language() isn't reliable here, so we'll clear everything. This works on my local box 2010-02-22 15:36:49 -08:00
Wil Clouser d9ed8e0278 Fix deactivate() trying to remove a key that doesn't exist. This throws an error which makes us run into http://code.google.com/p/python-nose/issues/detail?id=279 2010-02-22 15:11:27 -08:00
Wil Clouser e09d9005a3 Fix broken tests 2010-02-22 14:43:04 -08:00
Wil Clouser dcfbca0f00 Fix pep8 stuff 2010-02-22 14:03:51 -08:00
Wil Clouser e220a4b999 Use the new activate() to pull in the AMO .mo files and use the new _() everywhere else 2010-02-22 13:49:15 -08:00
Wil Clouser c9d1aff4bc Move the po extractor to django; enable jinja2 templating to use the new gettext functions 2010-02-22 13:49:15 -08:00
Wil Clouser b3254f7d59 Add new gettext() and ngettext() functions that support collapsing whitespace and msgctxt 2010-02-22 13:49:15 -08:00
Jeff Balogh 6e048e3801 liberating jingo from zamboni 2010-02-09 16:36:24 -08:00
Jeff Balogh fa330b13e4 move the url function into amo 2010-02-09 15:29:51 -08:00
Jeff Balogh 6d45caa88b pulling the cache machine out of zamboni 2010-02-09 15:07:01 -08:00
Jeff Balogh f7d0fd8a34 releasing test-utils from the clutches of zamboni 2010-02-09 13:58:38 -08:00
Jeff Balogh ae3d981b90 move multidb to an external package 2010-02-09 08:35:10 -08:00
Jeff Balogh 2155c2d9a3 add a get_slave method to multidb 2010-02-08 20:09:54 -08:00
Jeff Balogh 665749ddc9 it's a lot more useful to see the query string 2010-02-05 17:56:21 -08:00
Jeff Balogh 11cbfa15d1 adding product_details submodule 2010-02-05 11:41:33 -08:00
Jeff Balogh 2009a67d7e RequestFactory from http://www.djangosnippets.org/snippets/963/ 2010-02-04 21:46:56 -08:00
Jeff Balogh 05cb1532c3 adding cached, a general-purpose cache for functions 2010-02-04 14:30:30 -08:00
Jeff Balogh 5a14d88203 move key generation into a function 2010-02-04 14:30:07 -08:00
Wil Clouser fdb0437fb9 Add jinja2 bytecode caching and remove werkzeug from requirements-prod.txt 2010-02-04 09:04:35 -08:00
Jeff Balogh 3355885d74 cache raw queries by sql % params 2010-02-01 15:46:11 -08:00
Jeff Balogh 3ffc3c5293 Merge branch 'skip-db' 2010-02-01 14:22:21 -08:00
Jeff Balogh 0e86644055 a new test runner for blazing-fast tests 2010-02-01 11:45:24 -08:00
Jeff Balogh fa82cf0406 use sets so we don't flush a bunch of duplicate keys 2010-02-01 11:39:39 -08:00
Jeff Balogh 6e59e14c4d adding settings docs, moving prose out of code 2010-02-01 11:39:36 -08:00
Jeff Balogh c21e101f7a move caching implementation to caching.base 2010-02-01 11:36:50 -08:00
Jeff Balogh 188efa4ac7 switch back to using the django cache 2010-02-01 11:36:50 -08:00
Jeff Balogh 1e989b7c6a updating the cache docs 2010-02-01 11:36:50 -08:00
Jeff Balogh 99bcb5d3f8 adding caching for RawQuerySet 2010-02-01 11:36:50 -08:00
Jeff Balogh 733a770217 refactor the caching logic outside of the QuerySet 2010-02-01 11:36:50 -08:00
Wil Clouser b8d02ba3e4 strings should be unicode 2010-01-29 15:06:41 -08:00
Jeff Balogh 7b8219987e don't rely on query.__str__; pass the using db explicitly
This works around Django bug #12717.
2010-01-28 13:24:40 -08:00
Wil Clouser 1e82c30014 Merge branch 'random' 2010-01-28 09:43:15 -08:00
Wil Clouser ae8deeac5c Add a CACHE_PREFIX variable to avoid memcache collisions between several copies running. 2010-01-28 09:42:42 -08:00
Dave Dash bc5e8ddcc9 Some medium pylint fixes. 2010-01-26 16:02:33 -08:00
Jeff Balogh 37c4b2ff5f complete the multidb docs 2010-01-26 11:17:50 -08:00
Jeff Balogh a3d2ce5418 moving the caching and multidb packages to /lib 2010-01-26 11:17:50 -08:00
Jeff Balogh 4e3c5f13d1 better locale comparison 2010-01-21 10:45:33 -08:00
Wil Clouser 2bc1041250 Add selenium interface and initial test 2010-01-14 11:17:03 -08:00
Jeff Balogh d442a53a97 csrf protection 2010-01-11 13:26:25 -08:00
Dave Dash 5f5c3c881e Cake-cookie based authentication
* Wrote a test to see if we can log in using a cake session.
* Middleware can read cookie
* Wrote an authenticator backend that reads the session data from the db
* Rewrote users.User as users.UserProfile and linked it to d.c.a.User and included migrations
* Got templates to work, and wrote a test to validate things
* logout
* Signals!  We can now log a user out using the logout view, send a signal, and have it intercepted by the Cake app which will destroy its session and attempt to destroy the relevent cookies.
* Updated models to use UserProfile
* added media/js as a submodule
* Prettied up the html so the remora JS works
2010-01-08 10:20:00 -08:00
Jeff Balogh 638b1c141a we need to do our own template setup to help the test client 2009-12-31 17:30:06 -05:00
Jeff Balogh 1dea3cafad our own reverse that prefixes locale and app to URLs 2009-12-29 13:59:52 -05:00
Jeff Balogh 46c93b9f94 remove extra apps properly 2009-12-22 23:31:41 -05:00
Jeff Balogh 7ff5b85ff5 adding lib/__init__.py so lib files get picked up by coverage 2009-12-17 15:40:32 -08:00
Jeff Balogh 6fdb9e3fcc translations app 2009-12-15 10:22:20 -08:00
Jeff Balogh 1d5d6fbc28 100% test coverage for jingo 2009-12-04 14:59:29 -08:00
Jeff Balogh 565b1f579a better docs 2009-12-04 14:58:09 -08:00
Jeff Balogh 7cb6b678cc call them helpers; templatetags collides with django 2009-12-04 14:58:00 -08:00
Jeff Balogh 20dd03f781 better docs for the f filter 2009-10-23 11:05:00 -07:00
Jeff Balogh 092e91476a just pass kwargs to HttpResponse 2009-10-23 11:04:48 -07:00
Jeff Balogh ecb2400e90 make the docstrings look better in reST 2009-10-23 10:29:55 -07:00
Jeff Balogh 53e29bdef9 class="selected" helpers 2009-10-23 10:29:54 -07:00
Jeff Balogh 89ba6c37dd format, nl2br, and datetime filters 2009-10-22 15:34:56 -07:00
Jeff Balogh af0b76c3ba template tag loaders 2009-10-22 15:33:37 -07:00
Jeff Balogh 4af097c67e creating apps and lib directories 2009-10-21 17:31:24 -07:00