* switch database to postgres
* modify kitsune/dashboards/readouts.py to work with postgres
* modify dashboards/models.py to work with postgres
* modify cache_most_unhelpful_kb_articles.py to work with postgres
* modify wiki/views.py to work with postgres
* modify kpi/api.py to work with postgres
* modify auto_archive_old_questions.py to work with postgres
* ignore email when falsy in FXAAuthBackend.update_user
* fix NotificationsTests.test_solution_notification
* account for postgres ordering of num_visits
* fix question num_votes_past_week when no votes
* fix order_by within the fix_current_revisions command
* improve performance of usernames API
* ensure null values are ordered as expected (1464)
* ensure postgres uses index for helpful votes query (1485)
* ensure announcement query uses timestamp indexes (1492)
* ensure HelpfulVote.created queries use DB index (1492)
* ensure forums.Post.created queries use DB index (1492)
* ensure Question.created queries use DB index (1492)
* ensure QuestionVote.created queries use DB index (1492)
* ensure Question.updated queries use DB index (1492)
* ensure Answer.created/Revision.created queries use DB index (1492)
* limit expensive KPI queries to the last 365 days
* Ensure docker environment is setup for l10n linting (use make)
* Ensure docker build args are passed to docker (GIT_SHA, and LOCALE_ENV)
* Make git commands for locale repo cleaner with -C
Use make to create easy to use and remember commands for building
and running things.
* Remove Jenkins IRC notifications
* Update the README for the new commands
The staticfiles image node version was updated to 6.x some time ago
but apparently the dev version was overlooked. This is the real
source of the errors in #3380
* Switch to manifest storage; cached storage has to recalculate the hash every cache miss
* Use file separator script instead of include and exclude flags
Docker compose up does not echo the exit code of the command run inside the
container to the host. i.e. if tests fail the exit code of docker-compose is
still 0.
Removes loading of env variables with docker-compose which complicates things:
- docker-compose loads .env-dist file and sets as real env variables
- python-decouple loads .env file which overrides with the real env variables
set from docker-compose
Practically means that dev have to modify .env-dist to make changes. This change
instructs users to copy .env-dist to .env and we only load variables using
python-decouple.