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

13837 Коммитов

Автор SHA1 Сообщение Дата
dependabot[bot] 3373f748d1 Bump follow-redirects from 1.14.4 to 1.14.9
Bumps [follow-redirects](https://github.com/follow-redirects/follow-redirects) from 1.14.4 to 1.14.9.
- [Release notes](https://github.com/follow-redirects/follow-redirects/releases)
- [Commits](https://github.com/follow-redirects/follow-redirects/compare/v1.14.4...v1.14.9)

---
updated-dependencies:
- dependency-name: follow-redirects
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-02-22 13:33:10 +00:00
dependabot[bot] e25f1c1c46 Bump karma from 6.3.5 to 6.3.14
Bumps [karma](https://github.com/karma-runner/karma) from 6.3.5 to 6.3.14.
- [Release notes](https://github.com/karma-runner/karma/releases)
- [Changelog](https://github.com/karma-runner/karma/blob/master/CHANGELOG.md)
- [Commits](https://github.com/karma-runner/karma/compare/v6.3.5...v6.3.14)

---
updated-dependencies:
- dependency-name: karma
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-02-22 13:18:24 +00:00
Alex Gibson c655e5bc40
Add new supported countries to VPN landing page (Fixes #11213) (#11230) 2022-02-21 13:59:03 +00:00
Alex Gibson d8efb304af
Add WNP 98 for EU (VPN) (Fixes #11210) (#11223) 2022-02-21 13:57:58 +00:00
Sylvestre Ledru a293632967
Some minor improvements on the access policy doc (#11231)
* access policy: Improve the rendering

* access policy: Comment the old content until it is addressed

* Minor fix around HTML comment

Co-authored-by: Steve Jalim <steve@stevejalim.net>
2022-02-21 13:54:19 +00:00
Ayushsunny e7db88b8b1 fixing of non-functional stylesheet URL from credits page 2022-02-21 09:34:25 +00:00
maureenlholland df36d573ce
Fix docs syntax [no bug] (#11222) 2022-02-18 14:00:30 +00:00
Alex Gibson 8c61e0aa88
Update install docs with correct virtualenv command (#11220) 2022-02-18 12:21:18 +00:00
Alan c4a029e23b
Adding cdn tests (#11129)
* Adding cdn tests

Using a cdn mark to allow skipping or only running the cdn tests
uses ssllabs to get the tls/cipher information
That can be fairly slow, so trying to ensure it only happens once per run - so caching to a json file

* migrating existing tests into the functional area

* formatting failed in circle
2022-02-17 10:29:19 -08:00
Paul McLanahan 1748a8091c Add redirects for /turningred and /truecolors
Include default query params if none are incoming with the request,
otherwise forward the ones from the request.
2022-02-15 15:05:31 -05:00
Benjamin Beurdouche e6c875774a
Update module owners in the Access Policy page (#11134) 2022-02-11 17:07:48 +00:00
Sylvestre Ledru e947adee06
access policy: Update some old content (#11198) 2022-02-11 11:10:44 +00:00
Steve Jalim 501664c8cb
Quick fix to handle WP posts having no tags data returned (#11194) 2022-02-08 20:50:29 +00:00
Steve Jalim 06a533d030
Upgrade Bedrock to Python 3.9 and update dependency management tooling (#11176)
* Move Bedrock to pip-compile-multi for easier Python dependency management

This changeset adds tooling to ease dependency management and also rationalises
our requirements files.

Before, we were just using hashin to manually hash pinned deps straight into a requirements file

Now we're using pip-compile-multi, which sits on top of pip-tools to do this.
We now get:
* Simpler syntax for adding and pinning dependencies via *.in files
* Automatic hash generation when the *.txt requirements files are produced

The dependency compilation/update tooling runs in a Docker container, so will be compatible
with the deployed service's containers.

We're also rationalising the existing split of dependency files:

* base -> being retired and used as the basis for prod requirements
* migration -> being retired and the two deps still useful to us (for moz-l10n-lint)
  added to dev deps
* dev -> now extends from the prod requirements. We're not too concerned about image
  size for dev and test builds
* prod -> still exists, but includes the base deps
* docs -> still exists as a standalone file, but also follows the "*.in"-file pattern

* Regenerate dependency files using pip-compile-multi

Note that to avoid clashes, the following balances were made:

* Keep meinheld at the lower version used in prod.txt, not the dev.txt one -- for now at least
* Downgrade Markdown to 3.3 to avoid a clash over importlib-metadata version
* Remove importlib-metadata==4.10.1 altogether as a hard pin and let pip-compile-multi work out the best fit

* Update docs to reference pip-compile-multi, replacing now-redundant notes on hashin

* Update Dockerfile to copy over and use freshly recut dependency files

* Attempting to tune deps to allow local builds to work, not just Docker ones

* Update pip-compile-multi config to inject a custom header that explains how to rebuild reqs

* Update Bedrock to use Python 3.9

* Update base images
* Update CI
* Update dependencies to make install run -- this involved manually using hashin to upgrade two hashed deps (greenlet and meinheld) then re-running make compile-requirements to update the top-level hash in prod.txt. It's a bit of a chicken-and-egg situation when the deps are built/re-locked in a container but you can't build the container itself unless the deps are viable, but it worked

* Upgrade everett in order to remove configobj, which is redundant and causing local install issues on MacOS M1

* Drop backports.cached-property and typed-ast from dev reqs because we don't need them on 3.9

* Update docs with local-installation guidance for pyenv and pyenv-virtualenv

* Remove 'upgrade requirements' option

Given that the --upgrade flag is implicitly / by-default true with
pip-compile-multi anyway, plus the fact we're hard-pininng everything,
there's no point having an explicit 'upgrade' path - so let's remove it

* Docs tweak to suggest simpler virtualenv name

* Update help option in Makefile

* Pin version of pip in the compile-requirements script

When unpinned, the build suddenly broke, so we're keeping it under strict
limits for now

* Upgrade Django to 2.2.27

* Upgrade newrelic package to latest, incl py3.9 support

* Switch to Python 3.9 Debian bullseye image, from buster

* Rationalise dependency input files to remove over-pinned subdeps

When we moved from hand-managed requirements.txt files, we were taking on files
that had literally every dependency and thier sub-deps in them. We don't want
the input (*.in) files to reference those subdeps, so this changeset tries to
thin things out and remove them

Note that the diff shows this was successful - there are very few changes to
the dependencies being mentioned in the output *.txt files, and the ones that
are there are all deliberate changes (eg removing 'pbr')

* Drop unused tenacity dep, bump APScheduler and link to a Python 3.9-patched version of mdx-outline

* Add --require-hashes option to pip usage in Dockerfile

It's implicitly set because the reqs files feature --hash=XXX
but better to be explicit

* Drop what appear to be redundant top-level dev dependencies

regex, pep8 and wcwidth appear to be subdeps that don't need pinning.

The others appear to not be in used, based on a search of the codebase.

Tests till pass

* Thin out some unnecessary top-level deps in prod.in

 - funcsigs - old backport, redundant
 - lxml - over-pinned subdep of BeautifulSoup?
 - typing_extensions - over-pinned subdep
 - zipp - over-pinned subdep

* Cap pip version to 21 for pip-compile-multi for now

* Reinstate lxml as a first-class dep: BeautifulSoup needs it as a user-specified parser

* Fix typo in pip-compile-multi header

* Hard-pin latest working combo of pip + pip-tools in compile-requirements.sh

* Update docs explaining why we're using 3.9.10 locally
2022-02-08 16:59:17 +00:00
Craig Cook 856587d32b
Add whatsnew page for Firefox 97 [fix #11172] (#11186) 2022-02-04 08:58:25 -08:00
maureenlholland 6feabef7b7 Remove Firefox Reality (fixes #11118) 2022-02-03 16:24:44 -05:00
Paul McLanahan a57449e030 Use default language if none match accept-language
Fix bug 1752823
2022-01-31 11:47:03 -05:00
maureenlholland 0192b33ad4 Conditionally include pocket dev connect url 2022-01-28 10:41:28 -05:00
maureenlholland 0b28ded73e Include bedrock/settings in pre-config check 2022-01-28 10:41:28 -05:00
maureenlholland b6be59cc6c Add snowplow to pocket (fixes #11171) 2022-01-28 10:41:28 -05:00
Ed Lee 91430e8f34 Add taskbar and votefox images for Emotive Continuous Onboarding 2022-01-27 17:52:25 -05:00
Rob Hudson ab2fc8408c
Add dependabot config for Python and Docker (#11158)
* Add dependabot config for Python and Docker

* Fix FF100 tests
2022-01-25 07:23:40 -08:00
Rob Hudson 3c7d3f0440
Fixups for dependency updates (#11155)
Downgrades APScheduler due to a tzlocal version conflict.
Upgrades PyJWT as a dependency of the previously upgraded PyGithub.
2022-01-21 10:49:45 -08:00
Rob Hudson 02925d5d01
Downgrade eslint for pre-commit to match. (#11153) 2022-01-21 09:24:39 -08:00
Rob Hudson 51558385d4
Update dependencies with minor updates (#11151) 2022-01-21 09:11:53 -08:00
Ayush Anand 354f56b731
Fixed 'Remote' job filtering (#11125) 2022-01-21 15:17:33 +00:00
Rob Hudson 36f2e917f9
Remove unused dependencies (#11150) 2022-01-20 13:46:07 -08:00
Rob Hudson 74d40595e2
Bump dev tools (#11147)
* Bump dev tooling dependencies

* Bump versions in pre-commit

* Fixups after pre-commit updates
2022-01-20 11:48:26 -08:00
maureenlholland afa380a6a4
Add tests to pocket mobile navigation (fixes #11029) (#11110) 2022-01-20 15:58:15 +00:00
Steve Jalim bf6dd48335
Downgrade pytest-selenium and selenium to avoid regression in integration tests (#11145) 2022-01-20 11:01:20 +00:00
Rob Hudson ebf1c2d9d1
Update various django projects and dependencies (#11141) 2022-01-19 15:40:14 -08:00
Rob Hudson 6ce73dfac5
Update pytest and dependencies (#11140) 2022-01-19 12:48:34 -08:00
Rob Hudson 9c3ddb5d3b
No-op mozorg migrations and remove unused picklefield dependency (#11131)
* No-op mozorg migrations and remove unused picklefield dependency

* Squash migrations
2022-01-19 10:38:07 -08:00
Rob Hudson e4288e08a8
Fixes #11138: Bump Sphinx and dependencies (#11139)
* Bump Sphinx and dependencies

* Downgrade docutils to satisfy Sphinx

https://github.com/sphinx-doc/sphinx/blob/4.4.x/setup.py#L25

* Add zipp to docs requirements
2022-01-19 10:07:28 -08:00
Steve Jalim 6a08c876f6 11106: Disable logging of DisallowedHost to reduce log noise 2022-01-18 15:42:15 -05:00
Rob Hudson fb5ae832b4
Update boto3 and dependencies (#11137) 2022-01-18 11:03:31 -08:00
Alex Gibson 2f04108fec
Remove unused cookie helper 404 script (#11123) (#11124) 2022-01-18 08:53:14 -08:00
Craig Cook 170d477e82
Leaderhip updates; remove DCamp [fix #11133] (#11136) 2022-01-18 08:52:07 -08:00
Steve Jalim 54df117e5f
9575: Expand backend FF100 coverage (#11127)
* 9575: Expand test coverage for some of firefox_details to check both three and two-digit major version numbers

* 9575: Minor test expansion for three-digit FF

* 9575: More small FF100 test expansions - iOS and Android

* 9575: More small FF100 test expansions - releasenotes models

* 9575: More small FF100 test expansions - releasenotes listing/index view
2022-01-17 14:36:15 +00:00
Alex Gibson 61bbeeeb49 Remove legacy FxA sync flows (Fixes #9144) 2022-01-17 09:28:23 +00:00
Rob Hudson 009b46919c Remove caldata symlink 2022-01-14 18:18:36 -05:00
Rob Hudson bf501f3ab3
Fix #11126: Remove remaining Thunderbird calendar files (#11130) 2022-01-14 14:41:28 -08:00
Rob Hudson e2f69a035a
Remove unused dependencies (#11128) 2022-01-14 13:51:00 -08:00
Rob Hudson 879c0110ca Remove unused log_settings file and nuggets dependency 2022-01-14 11:33:23 -05:00
maureenlholland 385f249d16 Update jasmine docs link 2022-01-14 16:05:15 +00:00
Alex Gibson 4deaca396d Add JS tests for /careers job filtering (Fixes #11080) 2022-01-13 19:43:46 +00:00
Steve Jalim 9b29dd8d1e
Drop django-filter from project - no longer required (#11116)
No point upgrading a redundant dependency.

It's not imported here and looks like it was related to a vendored version of DRF
2022-01-13 17:44:13 +00:00
Rob Hudson 1f2353e33d
Add pipdeptree to dev requirements (#11115) 2022-01-13 08:22:59 -08:00
dependabot[bot] f913bdd6af
Bump pillow from 8.3.2 to 9.0.0 in /requirements (#11113)
Bumps [pillow](https://github.com/python-pillow/Pillow) from 8.3.2 to 9.0.0.
- [Release notes](https://github.com/python-pillow/Pillow/releases)
- [Changelog](https://github.com/python-pillow/Pillow/blob/main/CHANGES.rst)
- [Commits](https://github.com/python-pillow/Pillow/compare/8.3.2...9.0.0)

---
updated-dependencies:
- dependency-name: pillow
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-01-13 15:37:11 +00:00
Rob Hudson 0b19d5173f Refactor `get_accept_languages` to remove extra work 2022-01-12 13:38:12 -05:00