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