* 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
- Updated the base_page.py file
- Updated the test_utilities.py file. Now reading test data from json, loading GH secrets & implemented the fxa verification code fetching mechanism.
- Updated docker-compose.yml to contain selenoid instead of Selenium Grid.
- Added browsers.json for Firefox and Chrome Selenoid containers management.
- Added different flows for test usage: aaq_flo
(for AAQ submission flow), add_kb_article_flow.py (for KB articles submission), auth_flow.py (for SUMO auth flow), messaging_system_flow.py (flow for sending user messages), edit_profile_data_flow.py (for user data edit and fields clearence)
- Updated and created new messages and pages.
- Added test data
- Added a couple of tests to include coverage over contribute pages, footer section, homepage, top navbar, messaging system & user page tests
- Updated the conftest.py file. Also added functionality to create and attach screenshots to report for failed tests
- Updated pytest.ini to update markers
- Update workflow to have tests trigger at 8:00 AM UTC+3. Each Monday, Wednesday and Friday.
- 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.
* update all non-dev deps except bleach & py-wikimarkup
* remove pip from deps & update version in Dockerfile
* update poetry to the latest version
* replace pytz with built-in code
* remove pytz package
* move to Python 3.11
* update to just-released pip 23.0
* update bleach and py-wikimarkup
* update all dev dependencies
* update to django 4.1.6 (released today)
* remove python as a dependency of itself
* Remove puente
- add babel.py
- add merge and extract management commands
- add Babel to poetry requirements
- alter settings.TEMPLATES to use NAME instead of fallback
* Puente Removal
* simplify the configuration of the extraction options
* simplify the merge command
* update babel and remove puente
* adjustments to initialization during merge
* eye candy for successful extraction message
Co-authored-by: Ryan Johnson <rjohnson@mozilla.com>