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

15651 Коммитов

Автор SHA1 Сообщение Дата
Craig Cook 36e8e9c3c6
Fix test for welcome 15 (#14986)
updates the  button locator
2024-08-20 16:18:09 -07:00
Jan Brasna 32abbd6655 Update mofo-donate-cta ftl priority 2024-08-20 10:59:02 -07:00
Jan Brasna 21c91d833a
Remove welcome/15 experiment (#14964)
* Simplify welcome15.scss
* Merge versions
* Simplify HTML
* Update wordmark
* Fold intro into primary
2024-08-20 10:41:36 -07:00
Alex Gibson 2a81707b50
Fix disappearing reader mode icon on WNP 129 (Fixes #14975) (#14976) 2024-08-20 09:56:49 -07:00
Rob Hudson 4672529d60
Update Python dependencies (#14939)
* Add outdated Python package helper

* Update Python dependencies
2024-08-20 14:36:02 +04:00
Alex Gibson 202d64f546 Fix 404 /impact/ page (Fixes #14971) 2024-08-19 13:28:49 +01:00
Alex Gibson b7e331db8a Remove MS Store experiment code (#11090) 2024-08-19 09:43:14 +01:00
Steve Jalim ee46865e32
Bump Django to latest secure 4.2.x version (#14962)
See https://www.djangoproject.com/weblog/2024/aug/06/security-releases/
2024-08-08 00:19:52 +04:00
Steve Jalim b70a35bee9
Revert "Bump django from 4.2.14 to 4.2.15 in /requirements (#14959)" (#14960)
This reverts commit 23525a6b07.
2024-08-07 23:36:30 +04:00
dependabot[bot] 23525a6b07
Bump django from 4.2.14 to 4.2.15 in /requirements (#14959)
Bumps [django](https://github.com/django/django) from 4.2.14 to 4.2.15.
- [Commits](https://github.com/django/django/compare/4.2.14...4.2.15)

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-08-07 23:35:04 +04:00
Steve Jalim 970e524098
Amend all usage of docker-compose to be docker compose (#14954)
* Amend all usage of docker-compose to be docker compose

This is because the ubuntu-latest GHA image no longer supports the V1 compose API, which was breaking our CI.

https://github.com/actions/runner-images/issues/9692

This is a wholesale change, to ensure consistent use of the v2 syntax

* Address subtle container-naming change brough in with docker compose v2

With v1 we had Selenium Grid name containers ..._selenium-hub_1, but with v2
that changed to ...-selenium-hub-1, causing the jq filter to miss when trying
to extract the IP we needed.

* Remove now-redundant docker-compose.yaml version key
2024-08-02 22:27:37 +04:00
Craig Cook 6ec4adb306
Add vanity URL redirect for Nothing Personal page [fix #14944] (#14945) 2024-07-31 15:04:41 -07:00
Craig Cook bf50acf6f7 Remove repeated banner include from legacy home page [fix #14941] 2024-07-31 13:26:46 -07:00
dependabot[bot] c38133715c Bump @playwright/test in /tests/playwright in the playwright group
Bumps the playwright group in /tests/playwright with 1 update: [@playwright/test](https://github.com/microsoft/playwright).


Updates `@playwright/test` from 1.44.1 to 1.45.3
- [Release notes](https://github.com/microsoft/playwright/releases)
- [Commits](https://github.com/microsoft/playwright/compare/v1.44.1...v1.45.3)

---
updated-dependencies:
- dependency-name: "@playwright/test"
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: playwright
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-07-31 09:47:59 +01:00
Alex Gibson 139de96a6d Fix dependabot.yaml 2024-07-31 09:39:54 +01:00
Alex Gibson 47e9ca5a2c
Add Playwright testing docs (#14905) 2024-07-31 09:10:58 +01:00
Alex Gibson afd5c07a29 Enable dependabot for Playwright dependencies 2024-07-31 09:05:38 +01:00
Reem H ecc5644f3e
Nothing Personal page, added data tracking attributes to easter egg links (#14912) 2024-07-30 18:09:20 -07:00
Alex Gibson 0755468ae0 Fix error setting httpContextIntegration in Sentry JS 2024-07-30 15:43:09 +01:00
Alex Gibson 4753788ce7 Ignore NS_ABORT_FAILURE error in Sentry JS 2024-07-30 15:11:36 +01:00
Jan Brasna 4fdd270187
Update Speaker Request form (#14874) 2024-07-30 13:03:36 +01:00
Alex Gibson f296a074c2 Remove VPN headline experiment code (Fixes #14721) 2024-07-30 09:13:09 +01:00
Jan Brasna 341dc94872
Simplify spinners (#14880) 2024-07-29 17:10:56 +01:00
Jan Brasna cdefcaf3c6
Fix CC license CSP error (#14895) 2024-07-29 16:58:13 +01:00
Alex Gibson 6dbfd442ff Ignore NS_ERROR_ABORT No error message alerts in Sentry front-end 2024-07-29 16:53:18 +01:00
Craig Cook d6c387188d
Add SEI evergreen page (#14891)
Co-authored-by: Reem H <42309026+reemhamz@users.noreply.github.com>
2024-07-26 12:28:13 -07:00
Jan Brasna 02173dd3fb
Fix fxdx feature string id (#14858) 2024-07-26 07:40:33 -07:00
Jingwen Zhu 94fb77fca6
WNP 129 NA + EU (fixes #14864) (#14882) 2024-07-26 07:34:32 -07:00
Reem H 9c344d2a8a
Add data attributes and fix stickynote position on NP campaign page (#14884) 2024-07-25 15:10:51 -07:00
Reem H 4af4e4d332
Remove overdue obsolete strings (#14822)
* removed obsolete strings for may/june/july 2024
2024-07-25 13:57:51 -07:00
Craig Cook 77a0f07baf
Nothing Personal page, right align window titles [#14824] (#14883) 2024-07-25 13:53:23 -07:00
Alex Gibson 7f90f7e9e4 Add KIP newsletter confirmation page (Fixes #14823) 2024-07-25 13:00:51 -07:00
Craig Cook 49c0dbe68e
Fixes for Nothing Personal page [#14824] (#14881)
* Browser window title alignment
* Desktop icon hover styles
* Open links in new tab
* fix #14877 - sticky note animation
* fix #14878 - CTA default visibility
2024-07-25 15:27:46 -03:00
Craig Cook 69a59436e8
Update applicant privacy notice on job postings [fix #14875] (#14879)
Co-authored-by: Alex Gibson <alexgibson@users.noreply.github.com>
2024-07-25 09:21:02 -07:00
Alex Gibson 1b079d1f7c Add URL query param to show consent banner in the EU (Fixes #14853) 2024-07-25 16:17:37 +01:00
Reem H d1018c1a15
Nothing Personal Firefox campaign (#14832) 2024-07-25 09:38:48 +01:00
Craig Cook 3d20b68796
Update Rise25 nomination page, link to honorees (#14866) 2024-07-24 15:50:54 -07:00
Alex Gibson ea4e454f58 Fix firefox/welcome/14/ images (#14857) 2024-07-24 14:20:22 +01:00
Jan Brasna 7764bd4a64
Un-inline SVGs with CSP-violating features (#14857) 2024-07-24 13:07:47 +01:00
Alex Gibson 51b57f6924 Remove suprefluous selenium tests 2024-07-24 12:35:33 +01:00
Jan Brasna 23c6e080aa
Update pytest entrypoints (#14868)
* Update pytest entrypoints

* Update testing docs pytest examples
2024-07-24 14:17:17 +04:00
Steve Jalim e7a9b14a45
Add support for controlling which CMS Page types can be used in the site (#14846)
* Add support for controlling which CMS Page types can be used in the site

This means we can control when a page is available for use in the CMS, versus
simply being in the codebase. Also, note that removing a particular page class
from this allowlist will not break existing pages that are of that class, but
will stop anyone adding a _new_ one.

NB: EVERY TIME we add a new Wagtail Page subclass to the CMS, we must add
to the CMS_ALLOWED_PAGE_MODELS setting if we want it to be selectable as
a new child page in Production (or ticket up when we do want to add it to
the setting)

* Fix DEV mode allowance of all page types
2024-07-23 22:20:48 +01:00
Rob Hudson 9f3ba2f250 CSP fixes
- Move `frame-ancestors 'none'` to report-only
- Add `frame-ancestors 'self'` to CMS admin for page previews
- Remove `script-src unsafe-inline` from report-only for testing
- Clean up CSP overrides
- Add `img-src blob:` to RO overrides also
2024-07-23 14:00:04 -07:00
Steve Jalim c3cb71524c
Add pre-commit hooks to check for untracked, unapplied or absent DB migrations (#14865) 2024-07-23 23:21:55 +04:00
Jan Brasna 02a6de935a Remove cron-health-check styles 2024-07-23 12:57:08 +01:00
Steve Jalim 1829904358
Add wagtail-localize-smartling to the project, for Smartling L10N support (#14794)
* Add wagtail-localize-smartling to the project, for Smartling L10N support

* Add docs for wagtail-localize-smartling

* Minor reformatting

* Fix duplicated env var reference 🤦

* Add a management command that wraps the sync_smartling command so we can monitor it with a DMS
2024-07-23 02:09:49 +04:00
Alex Gibson 5fd5d4f524
Add docs for creating new page models in Wagtail (Fixes #14797) (#14852) 2024-07-22 09:28:42 +01:00
Alex Gibson 05018d7896 Add MS Store install experiment (Fixes #11090) 2024-07-18 17:01:05 +01:00
Craig Cook 7f7a361f4a Use square QR code on fallback WNP [fix #14844] 2024-07-17 15:14:52 -07:00
Steve Jalim 0de8389ebc
Add prefer_cms decorator to help with migrating pages from hard-coded to CMS (#14842)
* Update minimal_site pytest fixture to ensure only one Site exists

Previously, it was adding an additional site beyond the default one bootstrapped by Wagtail migrations

* Add a new decorator to help us transition gracefully from a Django-based view to a CMS-based replacement

See docstring on the decorator for all the details

* Add documentation for the prefer_cms decorator
2024-07-17 14:05:05 +04:00