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

70 Коммитов

Автор SHA1 Сообщение Дата
Tasos Katsoulas a6df7a2327
Update gitignore 2024-10-09 10:38:34 +03:00
Tasos Katsoulas e0006fb897
Update gitignore 2024-09-09 14:02:04 +03:00
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
Tasos Katsoulas bb3d435eda
Update node install (#5648)
* Update nodejs installation method

* Bump poetry and pip
2023-09-21 07:45:34 -07:00
emilghitta 7c63c738dd Added the base of our Selenium UI framework:
- Added the core classes (Base Page & Test Utilities).
- Added the messages classes for Homepage and Contribute page.
- Added the pages classes for (Contribute & Homepage pages and Footer & Top Navbar sections).
- Added the conftest.py file.
- Added a simple test file as a "POC" which contains two tests (test_homepage.py).
- Integrated the logging mechanism with the HTML reporting.
- Added the pytest.ini file and defined our markers.
- Added the following dependencies to poetry: pytest selenium webdriver-manager pytest-html pytest-xdist
- Added .pytest_cache/, geckodriver.log and chromedriver.log to be ignored by git.
2023-04-11 13:37:14 +03:00
Tasos Katsoulas 98409a95ba Ignore vim directory 2023-04-08 16:07:30 +03:00
Tasos Katsoulas 11ff9bbd29 Update gitignore 2023-02-14 11:23:03 +02:00
Tasos Katsoulas a5d4117beb Ignore locust artifacts 2022-12-13 09:48:13 +02:00
Tasos Katsoulas d9002728c6 Update gitignore 2022-07-05 18:08:04 +03:00
Tasos Katsoulas f65e224495
Update gitignore for vscode 2022-06-16 12:08:30 +03:00
Tasos Katsoulas 95987b3069
Update gitignore 2022-04-04 16:35:14 +03:00
Leo McArdle f96a54adce
upgrade node to lts, and upgrade dependencies (#4977)
remove unused dependencies
2022-01-11 15:43:26 +00:00
Leo McArdle b8b9fa6c26
Merge branch 'main' into webpack 2021-12-16 12:44:14 +00:00
Tasos Katsoulas 53cff63a7c Update gitignore 2021-11-17 12:09:32 +02:00
Leo McArdle 3134dec758
Merge branch 'master' into webpack 2021-10-18 13:56:24 +01:00
Tasos Katsoulas 1875aeb744
Ignore vscode log files 2021-09-30 14:46:08 +03:00
Leo McArdle 67bebd8f8f add basic webpack config, using previously defined entrypoints
load all javascript through webpack - it's mostly broken because we haven't exposed globals yet - that's our next step
2021-07-12 16:37:48 +01:00
Leo McArdle 2428573b49
add support for synonyms and character mappings to search (#4666)
- store synonyms in files
- add reload synonyms option to es7_init
- use non-oss kibana and elasticsearch images to get the reload analyzer api
- add command to create an elastic cloud bundle out of synonym files
- protect specific stop-word containing phrases from tokenization with char mappings
- add docs

https://github.com/mozilla/sumo-project/issues/721
https://github.com/mozilla/sumo-project/issues/748
2021-03-01 18:01:44 +00:00
Tasos Katsoulas 004af1bfa9 Safeguard against non existing parameters.
* Add .ssh in gitignore
2020-07-24 16:57:20 +03:00
Tasos Katsoulas 51ba427ebb Install pylint.
* Update python requirements
* update vscode extensions
2020-07-24 16:36:28 +03:00
Tasos Katsoulas c4e1510fe4 Resolve conflicts with master.
* Merge branch 'python3-django-upgrade' into py3-upgrade
2020-06-29 18:22:34 +03:00
Tasos Katsoulas 4d5fae6944 Update gitignore 2020-06-16 11:56:43 +03:00
Leo McArdle f0a31cf29a
split celery worker from flower and beat containers (#4413) 2020-06-10 11:33:39 +01:00
Tasos Katsoulas 30cfe5e615 Handle css through collectstatic
* MD5 hashes for css.
2020-04-30 15:57:13 +03:00
Tasos Katsoulas 2353481d61 Fix typo and wrong conf.
* use django_pylint for python 2
2020-03-24 11:15:26 +02:00
Tasos Katsoulas 8255c996c8 Make local development with vscode easier. 2020-03-23 14:59:54 +02:00
Tasos Katsoulas 57074c6f1f Update gitignore. 2020-03-04 11:22:25 +02:00
Tasos Katsoulas 588c2b76db Ignore devcontainer. 2020-02-20 13:08:15 +02:00
Tasos Katsoulas 7551f2b17f Add vscode and gitconfig. 2020-02-12 21:03:26 +02:00
Kasey Kelly af3e55a334 contributors page 2020-02-11 12:56:11 +02:00
Kasey Kelly f05920aa2a added fonts back because removing them broke the less build 2019-12-04 21:25:38 -05:00
Tasos Katsoulas 78e0c61978
Ignore styleguide build and sass cache. 2019-12-02 17:51:25 +02:00
Tasos Katsoulas 45efcaacbd
Fix make init to work with npm. 2019-11-28 17:38:57 +02:00
Tasos Katsoulas 6f1f591a5d
Ignore ipython. 2019-03-08 13:56:19 +02: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
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
Paul McLanahan d280031d6e Upgrade node version on dev image to match that on prod
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
2018-10-23 15:37:47 -04:00
Jon Petto 6a0a3cfe5f Review fixes:
- Update .gitignore to recognize added image
- Improve help text on image fields
- Update help text in migration
2018-10-03 10:29:41 -04:00
Jon Petto 0691ad38f3 [fix bug 1416244] Enable new email collection survey. 2018-08-07 16:36:14 -04:00
Paul McLanahan 33ebf7d8c7 Fix #3271: Upload static assets to s3
* Switch to manifest storage; cached storage has to recalculate the hash every cache miss
* Use file separator script instead of include and exclude flags
2018-07-20 16:49:19 -04:00
Giorgos Logiotatidis af4d59d98e Add commander deploy helper. 2018-03-16 02:29:11 -05:00
Benjamin Sternthal 1331ca19fa Preserved legacy trackEvent function, added analytics.js back to bundle
Added ga to env file, replaced all refs to data-ga-click for a and button.

Set gtag and fixed formatting

Added tracking according to spec. Waiting on GA Push legacy implementation.

Removed usage of data-ga-push.

Tidyed up analytics. Made sure both mobile and desktop versions are consistent.

Fixed typo.

Fixed debug typo.

Fixed issues due to bad AP spec ¯\_(ツ)_/¯

Minor tweaks from PR review.

Fixed pep8 failures

Fixed pep8 failures
2018-03-13 09:40:28 -07:00
hoosteeno 7550cedd94 [bug 1441583] TrafficCop displays FxA CTA 2018-03-12 05:02:32 -05:00
Paul McLanahan 96cf0e7ff9 Fix #3023: Add liveness and readiness URLs 2018-01-29 16:11:31 -05:00
Giorgos Logiotatidis ed89eace43 Add Travis .env 2017-11-21 14:16:39 +02:00
Dave Hunt ecc055b378
Update functional test dependencies 2016-11-15 10:51:49 +00:00
Mike Cooper 6bce552ae8 Update urls to reference new namespaces static paths. 2015-06-05 13:02:12 -07:00
Adrian Gaudebert b877f623cb No bug - Added venv directory to .gitignore. 2015-04-16 12:09:35 +02:00
Rehan Dalal 82161b9fcd fix settings 2015-03-24 02:02:09 -04:00
Dean Johnson 0929579b58 [bug 905834] Vagrant support for dev deployment. 2014-12-05 13:38:33 -05:00