* Fix database encoding and exception handling in update service
* Remove leftover ipdb
* Cleaner way to override SERVICES_DATABASE in tests through pytest fixture
* Remove now unused imports
* Remove all usage of 'six' and as much compat code as I could find.
Cleans up some imports along the way.
Fixes#11728
* Fix typo
* Fix rta related code paths, I actually misread the comment…
* Move ResourceWarning filtering to setup.cfg
Closes#8451 (Doesn't necessary fix it, we don't want a unified logging-level but this PR makes logging much clearer.)
* Don't use verbose mode for tox
* Refactor logging settings
* Fix services logging, correct dev and stage settings, update docs
* Update logging
* Be vigilent about disabling all logging
* Remove MOZLOG_NAME from stage settings
* drop mozilla-logger and all logging1.0 support
* drop (hopefully) unused SYSLOG_CSP setting
* drop 'error' formatter; refactor 'debug' formatter format a little
* Serve JSON update manifests instead of RDF
Also remove code to support hotfixes for super old versions of Firefox
* Fix get_output() call and add basic end-to-end test
* Avoid hitting actual database in end-to-end test of update service
* Remove now useless freeze_time decorator
* Also let the dot in py.test die so that upstream is happy again :)
* Update tox to 2.9.1
* Make sure that our urlconf is reset *after* we set MEDIA_ROOT
* Adapt file extraction handling to new TMP_PATH prefixes
* Less dump_apps hacks since the apps.json file isn't present at the
beginning of any test now thanks to temporary paths for every separate
test
* Rewrite read-only-mode tests to cope with pytest settings fixture
* Remove atexit hack from settings_test
This will probably make things a lot easier for ui-tests as well.
Fixes#7205Fixes#7206
- Middlewares are integrated to existing ones or moved to amo.middlewares
- Logging is moved to core.logger
- All logging calls are modified to use core.logger
- In addition, get/set_user(), get/set_remote_addr() are moved to core
to circumvent import issues.
We haven't been mirroring add-on files to external servers for a
long time: currently we just have files in 2 different locations
depending on whether they are disabled or not, and the CDN
mirrors the public ones.
All code dealing with mirrors is therefore obsolete.
{File}.file_path is the same thing as {File}.mirror_file_path,
making the latter redundant and copy_to_mirror(),
as well as amo.MIRROR_STATUSES, useless.
Fix#3887