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

15 Коммитов

Автор SHA1 Сообщение Дата
Ryan Johnson 28238acfbd
flip the switch to postgres (#5609)
* 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
2023-11-09 13:33:32 -08:00
Leo McArdle b8b9fa6c26
Merge branch 'main' into webpack 2021-12-16 12:44:14 +00:00
Leo McArdle 2871ee4cb4
move build pipeline to circleci (#4923) 2021-12-07 11:57:44 +00:00
Leo McArdle 6d795dbc6a
remove django-pipeline (#4855)
https://github.com/mozilla/sumo-project/issues/884
2021-07-28 12:32:54 +01:00
Leo McArdle 0609352eb7
add signals for all search v2 document types (#4590) 2020-11-30 14:50:25 +00:00
Ben Spaulding eb274de12b Upgrade to Celery 4.4 2020-06-01 12:53:32 +03:00
Paul McLanahan 458579f892 Fix db error after tests
Setting REUSE_DB=1 will cause the custom test runner to
avoid attemptint to tear down the database when it's done
which appears to be when the "database has gone away" errors
are happening.
2019-02-19 22:47:50 -05:00
Paul McLanahan 3d3a14ed70 Move to a single Dockerfile and docker-compose file
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
2018-11-12 11:22:56 -05:00
Giorgos Logiotatidis 75d792dd44 Persistent DB connection when testing. 2018-03-06 06:39:32 -06:00
Giorgos Logiotatidis 06d66d2923 Update env variables
- Remove unused DOMAIN and SITE_URL
 - Add email_*
 - Split oregon to -a and -b
 - Add frankfurt
 - Update k8s_domain, new_relic_app_name and statsd_prefix
2018-03-01 09:02:15 -06:00
Giorgos Logiotatidis 2a44000768 Set SECURE_SSL_REDIRECT=False for tests. 2018-02-15 03:14:47 -06:00
Giorgos Logiotatidis 3e08cdc5cf Adjust default configuration. 2018-02-15 01:27:01 -06:00
Giorgos Logiotatidis 7d7ff8954f Remove django-multidb-router slave configuration. 2018-02-15 01:27:01 -06:00
Giorgos Logiotatidis 2feeda4f70 Update READ_ONLY configuration for AWS. 2018-01-19 09:19:42 +02:00
Giorgos Logiotatidis e40cb0ecc2 Docker compose for dev and testing. 2017-11-30 15:39:49 +02:00