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

78 Коммитов

Автор SHA1 Сообщение Дата
Christopher Grebs e6f3bd9c61 Set a default settings module 2016-02-24 20:51:11 +01:00
Christopher Grebs e78b31215c Remove olympia.startup import from manage.py 2016-02-24 17:13:31 +01:00
Christopher Grebs fccc0b7083 Move locales back to root, more path fixes
* re-add startup import to manage.py
* Move back locale files to root, tower expects them there.
2016-01-06 10:48:04 +01:00
Christopher Grebs fd1fab7335 Add 'olympia.startup' to installed apps to allow required initial import 2016-01-06 10:48:04 +01:00
Christopher Grebs 7ec38cc446 Update setup.cfg, fix package imports, syntax errors, various cleanups.
* Update installed apps, fix grouping and naming.
* Fix app-names in settings
* re-add startup import to manage.py for now

Various more import fixes, all import rewrites are now done.

This unfortunately still failes because of some circular imports
depending on django not being setup early enough.
2016-01-06 10:48:03 +01:00
Christopher Grebs 580de6f78e Start renaming, re-ordering folder/module structure.
We now have something like that:

 - /
 -- src/
 --------- olympia/
 -------------- {access,accounts,amo,addons,...}
 -------------- wsgi.py
 -------------- urls.py
 -------------- migrations/
 -------------- libs/
 ...

Which generally feels more django-like again and makes porting
our sys.path hacks to django 1.7 and it's app-refactoring
a lot easier.

* Update setup.py to bring it to a more modern format
* Update gitignore
2016-01-06 10:48:02 +01:00
Kris Maglione be41f83db0 Cleanup `olympia.py` initialization module, and remove all `noqa` tags. 2015-08-29 14:04:27 -07:00
Kris Maglione 50f1397418 Upgrade Celery and remove some now-unnecessary cruft (fixes bug 1194181). 2015-08-27 15:14:46 -07:00
Kris Maglione b6d2227748 Shuffle some test initialization code to allow running under xdist. 2015-08-25 12:56:07 -07:00
Mathieu Agopian ee0fa13e1c update pep8 to 1.6.1 2015-02-11 10:14:04 +01:00
Mathieu Agopian 2d7ea83f09 side effects in manage.py are needed by wsgi/zamboni.py (bug 1050155) 2014-09-02 22:52:55 +02:00
Mathieu Agopian a46a690c48 get rid of vendor submodule (bug 1049428) 2014-09-01 15:47:17 +02:00
Mathieu Agopian a1e1c8c5fb Remove the need for a settings_local.py (bug 1050155) 2014-09-01 14:51:04 +02:00
Mathieu Agopian a79684ca8c Revert "Remove the default app (bug 1050154)" 2014-08-19 11:28:19 +02:00
Mathieu Agopian 4e0106e319 Remove the need for a settings_local.py (bug 1050155) 2014-08-12 15:25:01 +02:00
Rob Hudson 5afe1c70ad Revert "Cleanup some monkey patching."
This reverts commit 5cb34cdab4.
2014-05-08 09:34:44 -07:00
Rob Hudson 5cb34cdab4 Cleanup some monkey patching. 2014-05-07 10:17:09 -07:00
Allen Short 5ab4b4a16d Upgrade to Django 1.6. 2014-03-26 16:14:44 -05:00
Mathieu Pillard 644558e3a3 Remove mkt/ stuff from Olympia, first pass (bug 973150)
Some broken tests around search and indexing locally, but at least
the tests do run and most of them pass.
2014-02-19 13:50:20 +01:00
Mathieu Agopian 877e494edc update jingo==0.7 and jinja2==2.7.2 (bug 963513) 2014-02-17 18:28:40 +01:00
Allen Short 2c83365e3e Cleanups in preparation for Django 1.6 2014-02-10 13:27:48 -06:00
Mathieu Pillard 3d39123e74 Remove safe_signals monkeypatching (bug 865769) 2013-09-17 00:07:17 +02:00
Andy McKay be92981440 add in a payment and upsell api (bug 878862) 2013-06-05 14:07:23 -07:00
Jeremiah Orem ab6bb5d346 Revert "Revert "Move newrelic config to manage.py.""
Turns out this does work, I just didn't wait long enough for the data to
show up.

This reverts commit 63e561b552.
2013-05-21 15:52:41 -07:00
Jeremiah Orem 63e561b552 Revert "Move newrelic config to manage.py."
This reverts commit c6c4a2dce7.
2013-05-21 13:51:07 -07:00
Jeremiah Orem c6c4a2dce7 Move newrelic config to manage.py.
Attempting to make newrelic work with celery.
2013-05-21 13:28:51 -07:00
Jeremiah Orem 96ff40f1a9 Use importlib instead of imp.
This allows DJANGO_SETTINGS_MODULE with dots, for example
DJANGO_SETTINGS_MODULE=sites.dev.settings_mkt
2012-12-19 11:37:16 -08:00
Rob Hudson 6d6baf32fe Removed vendor path since there's no longer a zamboni.pth 2012-10-11 12:52:05 -07:00
Tarek Ziade 6a99482573 bumped vendor for PyMySQL and removed the manual patching in manage.py 2012-09-07 21:56:45 +02:00
Tarek Ziade ce6442a422 tweak the type conversion 2012-07-19 10:50:57 +02:00
Tarek Ziade fefe230aca switching the sql connector to pymysql 2012-07-19 10:17:33 +02:00
Kumar McMillan 6703bd609c Moved apps/payments to mkt/payments 2012-03-20 15:37:40 -05:00
Kumar McMillan 7a2ec108c2 Strip out vagrant project dir for settings_local 2012-03-01 21:52:55 -06:00
Andy McKay 964671f849 -s conflicts with -s in nose 2012-02-14 11:53:45 -08:00
Andy McKay eab3f8f57c ignore getopt it's silly 2012-02-14 10:38:24 -08:00
Chris Van d8778afc8c ignore management command when parsing "settings" command-line arg 2012-02-14 09:51:02 -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
Allen Short e8e2c88279 only call getopt when manage.py is run as a script (fix for zamboni.wsgi) 2012-02-09 02:02:40 -06:00
Andy McKay 546353dc3d do celery then logging 2012-02-08 12:06:47 -08:00
Andy McKay e1e2aa5536 swap around settings_local default 2012-02-02 14:19:12 -08:00
Andy McKay bacce18ac4 attempt to fix freddo, not sure if this will work 2012-02-02 13:02:10 -08:00
Andy McKay 6ea96ba77b doh 2012-01-31 17:30:37 -08:00
Andy McKay 4b9937bf9a because jenkins creates it in workspace, need to fix 2012-01-31 16:44:36 -08:00
Andy McKay 7ed3c5c017 that's why that's there? 2012-01-31 16:11:05 -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 9cf3b2b905 Revert "importlib is 2.7 fun"
This reverts commit 33481fe48f.
2012-01-30 15:35:54 -08:00
Andy McKay 33481fe48f importlib is 2.7 fun 2012-01-30 14:44:01 -08:00
Andy McKay 2831ca9f57 allow multiple sites, with manage.py coping with different settings locations 2012-01-30 14:34:18 -08:00