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

379 Коммитов

Автор SHA1 Сообщение Дата
Andy McKay 981f4428b0 stringify 2012-04-05 16:21:56 -07:00
Andy McKay 96f096e23a stringify 2012-04-05 16:15:09 -07:00
Andy McKay 07f69e6cce divide properly 2012-04-05 16:09:05 -07:00
Andy McKay 9f5d03060c return True would help eh? 2012-04-05 15:59:57 -07:00
Andy McKay 22a43cb5e5 stop totem returning bad response 2012-04-05 15:53:29 -07:00
Andy McKay d45e6d6db4 add in totem support (bug totem) 2012-04-05 15:28:19 -07:00
Andy McKay d574aedf45 avoid using bare url includes for minor performance gains 2012-04-04 12:40:58 -07:00
Chris Van 62198bd328 redirect old /pages/* to new ones (bug 741539) 2012-04-03 11:15:15 -07:00
Gregory Koberger 88a52c6237 Upgrade LESS 2012-04-02 15:51:08 -04:00
Andy McKay 702cea01e6 apply slower time limits to videos 2012-04-02 10:49:53 -07:00
Andy McKay f9bbdb93fa no point worrying about this until ffmpeg works 2012-03-30 13:02:59 -07:00
Andy McKay 06d5caceca changed case on me 2012-03-30 11:44:52 -07:00
Andy McKay eaf194a2e1 cope with different format from ffmpeg on RHEL 2012-03-30 10:37:50 -07:00
Andy McKay e3e0ea6aab output compat. 2012-03-30 09:47:15 -07:00
Andy McKay 118e62f7ef allow videos to be uploaded in the marketplace (bug 735057) 2012-03-30 09:19:17 -07:00
Kumar McMillan af5aef6101 Ensure log formatter does not coerce to str (bug 734422) 2012-03-29 15:56:00 -05:00
Jeremy Orem 7b2bc0a0f3 Bug 740154 - Add getpersonas rewrite 2012-03-28 16:45:08 -07:00
Chris Van 014f463288 common-ify uploader JS + CSS 2012-03-28 13:45:13 -07:00
Andy McKay 86c12d8805 and fix the queue too 2012-03-28 12:59:53 -07:00
Andy McKay f71ce7105d fix typo in celery import 2012-03-28 12:38:14 -07:00
Andy McKay b070e64988 catch OSError and skip task tests 2012-03-27 21:33:11 -07:00
Andy McKay 98647143b1 oh and that one too 2012-03-27 20:33:28 -07:00
Andy McKay ed0b9d3224 add in check_output 2012-03-27 19:57:33 -07:00
Andy McKay bb754bb3ee add in video handling library 2012-03-27 17:04:42 -07:00
Chris Van 994b0f41b9 make WEBAPPS_UNIQUE_BY_DOMAIN a waffle switch (bug 738493) 2012-03-26 09:28:39 -07:00
Chris Van 735d5c96da implement Search Suggestions for Marketplace (bug 735580) 2012-03-21 18:40:25 -07:00
Matt Claypotch 8e070976c6 moved format.js to lib 2012-03-21 17:31:08 -07:00
Kumar McMillan 6703bd609c Moved apps/payments to mkt/payments 2012-03-20 15:37:40 -05:00
Chris Van e258ff8e5b bump Firefox versions for ACR report (bug 736380) 2012-03-20 09:43:06 -07:00
Rob Hudson 3a99818445 Added redirect and non-app for credits (bug 722008) 2012-03-16 16:36:35 -07:00
Chris Van 176c18a692 clean up webapps crap 2012-03-13 18:41:18 -07:00
Chris Van 70060f6208 include marketplace urls 2012-03-13 16:02:16 -07:00
Chris Van dd5b3a7ba3 fix webapps urls 2012-03-13 15:52:35 -07:00
Chris Van 74adb68e15 move 'apps/webapps' app to 'mkt/webapps' (bug 733126) 2012-03-13 15:29:16 -07:00
Matt Claypotch 1c9ee7dbe8 removed old stats code 2012-03-09 13:34:09 -08:00
Chris Van 5adce656aa Revert "allow us to skip unimportant crons on servers like dev"
This reverts commit 89eb68496a.
2012-03-08 12:41:43 -08:00
Rob Hudson a06ebf0960 Fixed transposed regex 2012-03-07 21:59:44 -08:00
Andy McKay be65a4cbc8 simplify log handling, always write to the log 2012-03-07 10:45:48 -08:00
Chris Van fdaf797967 remove WEBAPPS_RESTRICTED flag (bug 730500) 2012-03-06 16:30:47 -08:00
Wil Clouser 2cb73355dd Bug 731097 - Move collection icon logic out of apache and into python 2012-03-06 13:40:07 -08:00
Jeremy Orem 3554fd57db The celery config in here was causing weird breakage. 2012-03-06 10:05:47 -08:00
Jeremy Orem 12f0c168d5 Set CELERYD_HIJACK_ROOT_LOGGER to False. 2012-03-05 12:19:41 -08:00
Andy McKay 19791e0619 move collections into stats 2012-03-05 12:11:04 -08:00
Wil Clouser 87737c37cf Log celery exceptions. Working with oremj on this. 2012-03-05 11:57:49 -08:00
Davor Spasovski 7557604505 Revert "move collection stats to es (bug 722556)"
This reverts commit 17197a2985.

Conflicts:

	apps/stats/views.py
2012-03-02 17:29:51 -08:00
Davor Spasovski 064a3479e6 zamboni version of collection stats (bug 722558) 2012-03-02 17:23:01 -08:00
Davor Spasovski 17197a2985 move collection stats to es (bug 722556) 2012-03-02 17:20:22 -08:00
Wil Clouser 959cd5eede Make add-on icons use real URLs instead of rewrites. bug 731089. You'll need to
adjust your settings file (see the patch)
2012-02-29 16:38:49 -08:00
Rob Hudson f7531fbcae Updated localizer permissions (bug 685382) 2012-02-29 14:35:14 -08:00
Wil Clouser f97aec2bad Disable Sunbird; bug 617989. Stuff to know:
- This should be accompanied by an apache rewrite for /:lang/sunbird/.* to /:lang/sunbird/
- This doesn't strip anything out of /media/
2012-02-28 13:27:53 -08:00
Wil Clouser 67189c5330 Merge branch 'master' into newsletter 2012-02-28 10:59:15 -08:00
Wil Clouser 7494c44fc1 Remove the newsletter; bug 730871 2012-02-28 10:57:36 -08:00
Andy McKay 5ae1928c60 Revert "move collection stats to es (bug 722556)"
This reverts commit a75edd3952.
2012-02-27 17:11:20 -08:00
Andy McKay a75edd3952 move collection stats to es (bug 722556) 2012-02-27 16:25:06 -08:00
Chris Van 669c53b5ce revert read_dev_agreement back to a bool 2012-02-27 15:21:50 -08:00
Chris Van 427c4506fb escape regex for suppressing ValidationError 2012-02-27 14:56:48 -08:00
Chris Van 5d612c0703 suppress datetime traceback on -dev 2012-02-27 14:27:22 -08:00
Kumar McMillan 4e8ffeecfb No longer force browserID profile completion (bug 729233) 2012-02-21 18:17:47 -06:00
Allen Short 5ace67c276 waffle suffixes 2012-02-20 03:34:16 -06:00
Chris Van 8cbb4890d1 block consumer pages and redirect to marketplace devhub 2012-02-17 17:02:24 -08:00
Chris Van 582f51c2ae exclude mkt tests for add-ons site 2012-02-14 13:45:19 -08:00
Andy McKay 5e67adc71f port over global stats (bug 719646) 2012-02-13 15:49:03 -08:00
Matt Claypotch 6a2bfa6003 marketplace experiments code dump 2012-02-09 18:26:18 -08:00
Andy McKay f2324c6148 make setting up logs explicit and allow us to break it down and pull the bits we want into services (bug 725828) 2012-02-09 16:57:50 -08:00
Andy McKay c70ac80ea0 no statsd and arecibo for now 2012-02-09 14:34:33 -08:00
Andy McKay db33ae3801 keep emailing mysql errors 2012-02-09 12:00:08 -08:00
Andy McKay 838f69478f add in request path to log and let all emitters cope with missing exc_info and request (bug formatter) 2012-02-09 11:46:33 -08:00
Andy McKay 96433687ea required for tests to work 2012-02-09 10:31:18 -08:00
Andy McKay 309f967d46 block out consumer pages (bug 724592) 2012-02-09 09:48:49 -08:00
Rob Hudson cafeae8f9e Updated new-api-search to use a flag for incremental rollout. 2012-02-09 09:42:46 -08:00
Kumar McMillan 218b3793c0 devhub screen for in-app payment keys (bug 703093) 2012-02-08 15:46:29 -06:00
Andy McKay 974968f1bd remove unneeded test and fix jenkins 2012-02-08 11:32:51 -08:00
Rob Hudson 064877f01d new log handlers which log to multiple places diverting common errors to the log files, emailing less common errors (bug 719234) 2012-02-08 10:49:09 -08:00
Chris Van f6954ae4e4 record and list all refunds (bug 702981) 2012-02-07 02:29:32 -08:00
Kumar McMillan ed22b2214f Configures default file storage (bug 721572) 2012-02-06 12:36:41 -06:00
Andy McKay bac771a818 move experiments into mkt 2012-02-03 17:06:42 -08:00
Matt Claypotch c9b94cec47 marketplace expeiments wip 2012-02-03 16:38:32 -08:00
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