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

178 Коммитов

Автор SHA1 Сообщение Дата
Jeff Balogh 70affd3dee buttons.js was not supposed to go in yet 2010-03-10 14:06:58 -08:00
Jeff Balogh 04e568bb11 adding zamboni.css, new images from craig cook 2010-03-10 13:57:57 -08:00
Fred Wenzel e7e4818e50 sharing services and helper widget + tests 2010-03-10 12:13:41 +01:00
Fred Wenzel 3f9cc392d3 Moved BUNDLES from minify app to settings.py (bug 551074) 2010-03-09 20:07:09 +01: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
Fred Wenzel 8ed63b2db8 loop controls (= continue and break) are helpful. 2010-03-08 11:11:47 +01:00
Dave Dash 8c970c95aa Minification app that can compress assets. 2010-03-04 16:34:18 -08:00
Jeff Balogh e890f189e2 collection icon_url and users field 2010-03-02 14:46:15 -08:00
Fred Wenzel 9a18e65083 cake CSRF token helper 2010-03-02 18:29:19 +01:00
Jeff Balogh af66a650ad make the search form lazier and cachier 2010-03-01 11:42:24 -08:00
Jeff Balogh b7b2eee131 a searchbox that looks pretty *and* works 2010-02-26 12:36:52 -08:00
Fred Wenzel 707b8d579f full preview URL, just like thumbnail URL 2010-02-26 17:26:55 +01:00
Fred Wenzel 03c1e92d54 added the jinja2 "with" extension 2010-02-26 17:26:48 +01:00
Jeff Balogh a0ac16334a use finalize to hide None from templates 2010-02-26 08:20:23 -08:00
Fred Wenzel 40e66fe100 locale_html helper for HTML content other than the site language, plus test 2010-02-25 16:00:49 +01: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 7711e154f9 Add URLs to settings.py that don't need to be redirected 2010-02-22 13:49:15 -08:00
Jeff Balogh 735dd66bc1 remove CACHE_DURATION, add CACHE_COUNT_TIMEOUT, fix wsgi threads 2010-02-19 13:38:21 -08:00
Jeff Balogh 2ed6a97530 template caching like a champ 2010-02-18 20:37:58 -08:00
Jeff Balogh 86e9292331 cronjobs app 2010-02-17 13:15:18 -08:00
Jeff Balogh 1ce31be753 add a new "javascript" domain, enable gettext in javascript 2010-02-16 09:31:44 -08:00
Wil Clouser cab36d51df Remove SITE_ID from settings.py. Unneeded according to http://docs.djangoproject.com/en/dev/ref/settings/#site-id 2010-02-12 13:58:05 -08:00
Fred Wenzel 225e327cc0 merged status flags filter from user-profile branch, added app to context 2010-02-11 17:35:50 +01:00
Dave Dash 56e5bb768f [bug 543467] Using an accepts-language parser to redirect. 2010-02-10 10:12:14 -08:00
Dave Dash b5a1478208 SAMO API start. Includes: addon detail view 2010-02-08 16:12:25 -08:00
Wil Clouser 677b475f5e Pass settings through to template, get rid of linebreak in footer, add hostname check on period; bug 542666 2010-02-08 14:18:59 -08:00
Wil Clouser 7b8dd8595d Site footer (bug 542666), r=jbalogh. Stile some TODO: language dropdown backend, links (URLs don't exist yet), xenophobia checkbox 2010-02-08 13:01:22 -08:00
Jeff Balogh 2029cbd536 adding dictionary/langpack page 2010-02-05 18:04:55 -08:00
Wil Clouser 34799d611a Merge branch 'monitor' 2010-02-04 19:42:44 -08:00
Jeff Balogh 1c0c6f6730 some pages for nick 2010-02-04 15:56:29 -08:00
Wil Clouser f5ba6668e8 Add monitoring page. Initially just memcache, can add more as we go 2010-02-04 15:14:16 -08:00
Jeff Balogh 5353531044 models for update_counts and download_counts 2010-02-04 14:01:42 -08:00
Wil Clouser fdb0437fb9 Add jinja2 bytecode caching and remove werkzeug from requirements-prod.txt 2010-02-04 09:04:35 -08:00
Dave Dash 0d683a977c Renamed Addon fields to have underscores. Added methods to Addon, File and Version. 2010-02-03 15:57:37 -08:00
Jeff Balogh 68c6569c20 remove localeMiddleware, we have our own 2010-02-01 18:16:17 -08:00
Jeff Balogh 0e86644055 a new test runner for blazing-fast tests 2010-02-01 11:45:24 -08:00
Jeff Balogh a4127c4d35 adding app constants 2010-01-28 13:24:39 -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
Wil Clouser 62ecf13bca Add blocklist scaffolding 2010-01-26 14:23:25 -08:00
Jeff Balogh 22ecad2cc0 update multidb to use DATABASE_ROUTERS 2010-01-25 20:49:23 -08:00
Jeff Balogh 2a01bf70e8 keep a list of apps that should be excluded in production 2010-01-25 15:53:17 -08:00
Dave Dash a7460f7a1b [bug 538285] Sphinx integration complete with commands for starting/stopping server, reindexing, tests, etc. 2010-01-22 16:52:41 -08:00
Jeff Balogh 723ab7a6ec all the locales we claim to support 2010-01-21 00:28:07 -08:00
Wil Clouser 0034d31e49 Delete Approvals app; that's a part of Files 2010-01-19 10:46:42 -08:00
Wil Clouser 225983e0cf Add collections app 2010-01-19 10:27:10 -08:00
Wil Clouser 0c983caea8 Add Files/Platforms/Test* models (files app) 2010-01-15 14:52:52 -08:00
James Socol 6dcf2036c9 south does not work on django trunk 2010-01-14 15:30:40 -08:00
Wil Clouser 2bc1041250 Add selenium interface and initial test 2010-01-14 11:17:03 -08:00
Jeff Balogh 02c4eee8fa backend for authenticating amo users by email and password 2010-01-13 14:27:30 -08:00
Dave Dash 817e5b42b2 [bug 539108] If you're logged in... and an admin... you are a superuser and we remember your groups
Middleware that allows credentialed users to login to the admin site.
2010-01-13 14:27:29 -08:00
Jeff Balogh d442a53a97 csrf protection 2010-01-11 13:26:25 -08:00
Jeff Balogh 2ca9ee4a24 adding devhub promos and events 2010-01-08 17:08:12 -08:00
Jeff Balogh dbabb1405a call the default database zamboni 2010-01-08 14:29:16 -08:00
Jeff Balogh 5462038e5e update the docs for multidb 2010-01-08 13:33:35 -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 9131d57602 tags model and admin 2010-01-04 20:54:54 -05:00
Jeff Balogh 3189c3edc7 canned responses 2010-01-04 20:54:44 -05:00
Jeff Balogh 78ffe3f12e move applications to its own app 2010-01-04 16:43:07 -05:00
Jeff Balogh 3365a35eb4 starting an access app 2010-01-03 16:12:51 -05:00
Jeff Balogh d870025e25 approvals model 2009-12-31 17:30:05 -05:00
Jeff Balogh 3f0e38df2c starting an amo admin 2009-12-31 17:29:23 -05:00
Jeff Balogh f71d502b78 AMO URL middleware comes first so everyone else sees nice URLs 2009-12-31 17:29:22 -05:00
Jeff Balogh be13194d2c super-rad automatic caching and invalidation 2009-12-28 17:19:25 -05:00
Dave Dash 5eeee4ea3b Middleware that intercepts the URLs and makes sure we are following our standard URL layout /locale/app/* 2009-12-16 16:21:15 -08:00
Jeff Balogh 18edf9c359 getting tests working with innodb
We need some hacks in translations to get foreign keys and indexes going right.
2009-12-16 15:28:22 -08:00
Dave Dash 554fd32ae4 [bug 535307] Some suggested settings for settings.py, including setting InnoDB as a default 2009-12-16 10:45:09 -08:00
Jeff Balogh b2c42219d7 now we can all be lumberjacks 2009-12-15 15:55:57 -08:00
Jeff Balogh 6fdb9e3fcc translations app 2009-12-15 10:22:20 -08:00
Jeff Balogh a95fa80391 using django-nose 2009-12-04 14:55:29 -08:00
Jeff Balogh 6345dadcb1 propagate exceptions since django can't deal with jinja exceptions 2009-10-22 15:44:48 -07:00
Jeff Balogh 99bfe21181 add the new apps to INSTALLED_APPS 2009-10-22 15:42:48 -07:00
Jeff Balogh 74808c425d adding an amo compatiblity model and translation helpers 2009-10-21 17:33:00 -07:00
Jeff Balogh 9955eb9ff4 adding LocaleMiddleWare and the amo i18n processor 2009-10-21 17:06:33 -07:00
Jeff Balogh 9f6de29af9 use sqlite for running tests 2009-10-21 17:06:29 -07:00
Jeff Balogh 93d7493556 fixing settings 2009-10-20 19:19:39 -07:00
Jeff Balogh fa1c564e45 relative filepaths in settings 2009-10-20 19:19:17 -07:00
Jeff Balogh 2c501a4316 THIS IS ZAMBONI 2009-10-20 16:31:15 -07:00