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
Ryan Johnson
82ba097455
add npm to the final line of the nodejs install script
2023-09-26 13:39:58 -07:00
Tasos Katsoulas
bb3d435eda
Update node install ( #5648 )
...
* Update nodejs installation method
* Bump poetry and pip
2023-09-21 07:45:34 -07:00
Abhinav Viswaroop
2c20bbb9a9
Update fix_tb_basedon.py ( #5634 )
...
This is a minor correction for a word's spelling.
Line 6: change 'relavent' to 'relevent'
2023-09-07 09:34:25 -07:00
Sven Marnach
aa4cc900fa
Add DB string extraction script from private repo.
2023-05-30 10:34:32 +02:00
Smith Ellis
8e57e3164d
Remove es7/elasticsearch7 references
...
Replace es7 and ES7 references with es and ES
Make name in docker version agnostic
Replace name in circle
2022-12-01 21:14:25 +00:00
Leo McArdle
2e20094bd1
quieten gettext warnings, fix l10n for svelte
...
fix test_locales.sh script to test with pirate locale
2022-10-14 16:53:50 +03:00
Ryan Johnson
deb0abbabf
disable short URL generation cron on stage ( #5197 )
2022-08-04 14:35:02 -07:00
Leo McArdle
b8b9fa6c26
Merge branch 'main' into webpack
2021-12-16 12:44:14 +00:00
Leo McArdle
e25c549972
fix webpack imports in mocha tests
...
https://github.com/mozilla/sumo-project/issues/895
2021-12-16 11:23:17 +00:00
Leo McArdle
2871ee4cb4
move build pipeline to circleci ( #4923 )
2021-12-07 11:57:44 +00:00
Tasos Katsoulas
2ef9d706a2
Cleanup DMS and secrets
2021-07-14 17:28:23 +03:00
Tasos Katsoulas
051262420a
Remove Travis scripts.
2021-05-20 13:50:05 +03:00
Tasos Katsoulas
9a0c89cc95
Remove surveys injection into the site.
2021-05-04 18:18:46 +03:00
Tasos Katsoulas
9ddb35c20f
Remove ES2 from users app.
2021-04-28 15:34:40 +03:00
Leo McArdle
580c2210bf
add es7 reindexing cronjob for read only clusters ( #4709 )
...
https://github.com/mozilla/sumo-project/issues/697
2021-03-11 11:01:43 +00:00
Leo McArdle
3370b8ef85
add before/after arguments to es7_reindex command ( #4556 )
2020-11-30 17:13:32 +00:00
Leo McArdle
d6831ef8c6
run black on scripts/cron.py ( #4558 )
2020-10-21 13:26:43 +01:00
Leo McArdle
44b85201fb
update docs
2020-07-16 11:46:42 +01:00
Ben Spaulding
eb274de12b
Upgrade to Celery 4.4
2020-06-01 12:53:32 +03:00
Ben Spaulding
c2d7e32634
Remove `__future__` imports that are no longer needed
2020-06-01 12:29:16 +03:00
Tasos Katsoulas
4bae2d397a
Bump docker image and update doc refs.
2020-05-27 16:09:03 +03:00
Ben Spaulding
cac79793ad
2to3 dict fix.
2020-05-27 15:28:59 +03:00
Ben Spaulding
55a077f836
2to3 zip fix.
2020-05-27 15:26:00 +03:00
Ben Spaulding
e6764991aa
2to3 urllib fix.
2020-05-27 15:25:42 +03:00
Ben Spaulding
30adfdcc6d
2to3 next, raw_input fix and reduce fix.
2020-05-27 15:24:52 +03:00
Ben Spaulding
77f7733393
2to3 imports fix.
2020-05-27 15:22:39 +03:00
Ben Spaulding
254e961f7f
2to3 filter fix and idioms fix.
2020-05-27 15:21:40 +03:00
Ben Spaulding
d22746a4d4
2to3 print fix.
2020-05-27 15:20:00 +03:00
Tasos Katsoulas
db592e023e
Remove SUMO accounts endpoints and functionality.
...
* Cleanup code related to SUMO accounts.
2020-03-25 21:07:39 +02:00
Tasos Katsoulas
d6e97b9a02
Merge branch 'responsive-redesign' of https://github.com/mozilla/kitsune into sumo-responsive-redesign
2020-03-18 17:27:25 +02:00
Keegan Ferrando :fauweh
e951adae29
Fixing typo in previous commit
2020-02-18 14:02:29 -08:00
Keegan Ferrando :fauweh
5e6f0bbe53
Adding git stash to localization script
2020-02-18 13:57:32 -08:00
Tasos Katsoulas
22230f7a86
Remove bower from the project.
2019-11-27 16:49:52 +02:00
Tasos Katsoulas
37abcab733
Remove references of buddyup.
2019-10-22 10:42:44 +03:00
Tasos Katsoulas
673655c0bf
Revert "Remove references of buddyup."
2019-10-18 17:43:19 +03:00
Tasos Katsoulas
ce21a49796
Remove references of buddyup.
2019-10-03 15:55:03 +03:00
Eric Ziegenhorn
f22615db83
Merge pull request #3663 from mozilla-it/master
...
Pull changes for deploying to it-sre infra
2019-05-22 11:43:12 -05:00
Tasos Katsoulas
cb57bd8f80
Fix cron command for ES reindex.
2019-05-13 16:29:43 +03:00
eziegenhorn
d6f420be88
Initial switch from mozmeao dockerhub and github repos to IT SRE repos
2019-05-10 17:28:20 -05:00
Chris Beaven
1a98c6f363
Django 1.11 cronjob changes ( #3532 )
...
* Remove django-cronjobs, replacing with proper management commands
Fixes #3515
* Fix some strptime imports
* Fix some call_command references
* Fix the output of a management command to be text
* Fix the date argument of two new management commands
* Lint fixes
* Fix test syntax error
2019-04-22 12:30:32 -05:00
Paul McLanahan
7a9ef98903
Use custom host for git push of l10n files
2019-01-03 20:52:51 -05:00
Paul McLanahan
c20dfd8d3c
Fix build issues
...
* 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
2019-01-03 19:38:38 -05:00
Paul McLanahan
84840e1681
Lint and push l10n files during docker build ( #3435 )
...
Also move prod l10n strings repo from "production" branch on the
l10n team's repo to github.com/mozmeao/sumo-l10n-prod.
Fix #3434
2019-01-02 11:11:00 -06:00
Josh Mize
0670a56f6f
rm -rf scripts/update
2018-09-28 12:49:30 -04:00
Jon Petto
0691ad38f3
[fix bug 1416244] Enable new email collection survey.
2018-08-07 16:36:14 -04:00
Giorgos Logiotatidis
994ed413d9
Add surveygizmo credentials and run only on prod.
2018-03-13 08:25:31 -05:00
Giorgos Logiotatidis
d1b6a32c3a
[Issue #3106 ] Remove ZenDesk cron job.
2018-03-06 06:39:32 -06:00
Giorgos Logiotatidis
495cd5f5de
Index all new data every hour.
2018-03-05 15:25:31 -05:00
Giorgos Logiotatidis
ce5e2fe80a
Skip cron jobs based on READ_ONLY and STAGE settings.
2018-03-05 11:53:48 -06:00