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

15651 Коммитов

Автор SHA1 Сообщение Дата
Craig Cook c7961e8bb7
Remove new brand assets from trademarks list [#15091] (#15174)
temporarily
2024-09-18 09:21:33 -07:00
Rob Hudson cfb9d21014 Also send reports for the enforced CSP 2024-09-17 15:34:56 -07:00
Craig Cook 425f92bdcd
Refresh: update brand fonts globally [fix #15088] (#15144) 2024-09-17 09:35:23 -07:00
Alex Gibson 2702fb9756 Use sentence case for navigation headings and titles 2024-09-17 09:51:19 +01:00
dependabot[bot] 2bf44bee56 Bump babel-loader from 9.1.3 to 9.2.1 in the frontend group
Bumps the frontend group with 1 update: [babel-loader](https://github.com/babel/babel-loader).


Updates `babel-loader` from 9.1.3 to 9.2.1
- [Release notes](https://github.com/babel/babel-loader/releases)
- [Changelog](https://github.com/babel/babel-loader/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel-loader/compare/v9.1.3...v9.2.1)

---
updated-dependencies:
- dependency-name: babel-loader
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: frontend
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-09-17 09:24:07 +01:00
Alex Gibson c7bf500027
Set Dependabot to ignore specific dependency updates (#15158) 2024-09-17 12:19:44 +10:00
Alex Gibson f466de024d
Pin ESR 115 for unsupported operating systems (Fixes #13753) (#15141)
* Pin ESR 115 for unsupported operating systems (Fixes #13753)

* Review fixes
2024-09-17 12:18:31 +10:00
Reem H 19404471c4 updated wordmarks+logos list 2024-09-16 16:55:41 +01:00
Craig Cook cc9d106135 Refresh: make grid tiles block links 2024-09-16 16:34:33 +01:00
dependabot[bot] 64cc8d67b5 Bump the dev-dependencies group with 5 updates
Bumps the dev-dependencies group with 5 updates:

| Package | From | To |
| --- | --- | --- |
| [concurrently](https://github.com/open-cli-tools/concurrently) | `9.0.0` | `9.0.1` |
| [globals](https://github.com/sindresorhus/globals) | `15.3.0` | `15.9.0` |
| [jasmine-browser-runner](https://github.com/jasmine/jasmine-browser-runner) | `2.4.0` | `2.5.0` |
| [jasmine-core](https://github.com/jasmine/jasmine) | `5.1.2` | `5.3.0` |
| [webpack-dev-server](https://github.com/webpack/webpack-dev-server) | `5.0.4` | `5.1.0` |


Updates `concurrently` from 9.0.0 to 9.0.1
- [Release notes](https://github.com/open-cli-tools/concurrently/releases)
- [Commits](https://github.com/open-cli-tools/concurrently/compare/v9.0.0...v9.0.1)

Updates `globals` from 15.3.0 to 15.9.0
- [Release notes](https://github.com/sindresorhus/globals/releases)
- [Commits](https://github.com/sindresorhus/globals/compare/v15.3.0...v15.9.0)

Updates `jasmine-browser-runner` from 2.4.0 to 2.5.0
- [Release notes](https://github.com/jasmine/jasmine-browser-runner/releases)
- [Changelog](https://github.com/jasmine/jasmine-browser-runner/blob/main/RELEASE.md)
- [Commits](https://github.com/jasmine/jasmine-browser-runner/compare/v2.4.0...v2.5.0)

Updates `jasmine-core` from 5.1.2 to 5.3.0
- [Release notes](https://github.com/jasmine/jasmine/releases)
- [Changelog](https://github.com/jasmine/jasmine/blob/main/RELEASE.md)
- [Commits](https://github.com/jasmine/jasmine/compare/v5.1.2...v5.3.0)

Updates `webpack-dev-server` from 5.0.4 to 5.1.0
- [Release notes](https://github.com/webpack/webpack-dev-server/releases)
- [Changelog](https://github.com/webpack/webpack-dev-server/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack/webpack-dev-server/compare/v5.0.4...v5.1.0)

---
updated-dependencies:
- dependency-name: concurrently
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: dev-dependencies
- dependency-name: globals
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: dev-dependencies
- dependency-name: jasmine-browser-runner
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: dev-dependencies
- dependency-name: jasmine-core
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: dev-dependencies
- dependency-name: webpack-dev-server
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: dev-dependencies
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-09-16 14:24:41 +01:00
dependabot[bot] 0c31815954 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.47.0 to 1.47.1
- [Release notes](https://github.com/microsoft/playwright/releases)
- [Commits](https://github.com/microsoft/playwright/compare/v1.47.0...v1.47.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-09-16 14:24:16 +01:00
dependabot[bot] 231d3a2056 Bump sinon from 18.0.0 to 19.0.2
Bumps [sinon](https://github.com/sinonjs/sinon) from 18.0.0 to 19.0.2.
- [Release notes](https://github.com/sinonjs/sinon/releases)
- [Changelog](https://github.com/sinonjs/sinon/blob/main/docs/changelog.md)
- [Commits](https://github.com/sinonjs/sinon/compare/v18.0.0...v19.0.2)

---
updated-dependencies:
- dependency-name: sinon
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-09-16 11:59:34 +01:00
Alex Gibson 8840a2af1b Fix navigation functional tests 2024-09-16 11:51:56 +01:00
Alex Gibson e6425738e4
Update a11y-checker to scan redesigned footer (#15136) 2024-09-16 10:48:51 +10:00
Alex Gibson 7b525e3551
Update dependabot.yml to ignore certain front-end deps (#15118) 2024-09-16 10:39:19 +10:00
Jan Brasna a609014ceb
Remove JUL24 home donate banner (#14995) 2024-09-16 10:37:53 +10:00
Jingwen Zhu cf21cf26d3
Navigation refresh (#14966) 2024-09-13 13:11:21 -07:00
Alex Gibson 6e9c24b301
Fix missing footer styles on /firefox/new/ and /thanks/ (Fixes #15138) (#15140) 2024-09-13 11:54:10 -03:00
Alex Gibson cea46a307f
Update newsletter/firefox page (issue #15075) (#15101)
* Update newsletter/firefox page (issue #15075)
2024-09-13 07:45:25 -07:00
Stephanie Hobson 11b61522f1
Refresh: #a11y improvements to footer newsletter #15129 (#15132)
* Refresh: #a11y improvements to footer newsletter

- separated newsletter styles from footer ones
- aligned newsletter form and footer links
- input and selects now have visible focus states
- input and select contrast is improved
- selects have down arrow as affordance for selecting a value
- removed border radius to match Figma
2024-09-13 07:42:42 -07:00
Steve Jalim 7d9af918d6
Ensure CMS StructuralPage pages don't appear in the sitemap unless they are also parents of real pages (#15139)
In the CMS we use a StructuralPage page type to create branches/folders in the
page tree.

These StructuralPages do not have content but allow us to structure URL paths
as we need, including matching some routes that already exist in the page tree
as static/Django-only paths

However, we've spotted a bug: prior to this changeset, if there's a static path
for foo/ and a StructuralPage for foo/, the static paths for foo/ are dropped
from the sitemap data in favour of those from the CMS _even if the CMS has fewer
locales set up than the static route_. This can be seen here where /about/
was in the CMS as StructuralPage only in en-US, but in lots of locales as a
static page.

bdd1cc0fcb

This changeset fixes things by ensuring we ignore StructuralPages when building
page URLs from the CMS, unless they are parents of non-StructuralPages.

The tests show an example of this.
2024-09-13 16:30:42 +04:00
Stephanie Hobson 6fa3b0e757
add product logos (#15121) 2024-09-13 13:33:32 +10:00
Alex Gibson 8eb7515da7
Fix JS error thrown by nav CTA experiment (Fixes #15126) (#15127) 2024-09-13 12:08:04 +10:00
Jan Brasna a8f69d1967 Fix protocol-mozilla sizing for m24-logo 2024-09-12 14:27:08 -07:00
Stephanie Hobson 4e1faf1011
Tweaks for MVP footer (#15125)
* Footer tweaks

- updated newsletter copy
- changed colour references to use CSS variables
- added spacing between list items
- moved pixelated border into footer include
- focus style tweaks
- remove underline from donate button (from community feedback)
- increase specificity on some link states
2024-09-12 09:37:32 -07:00
Alex Gibson 771901f859 Remove KiP newsletter tests 2024-09-11 19:51:18 +01:00
Stephanie Hobson 3615a24dee
Add new wordmark to old header/footer behind switch (#15122)
- Also updated footer to point to centeralized logo assets
2024-09-11 15:39:11 -03:00
Alex Gibson d6eda7d393
Decommission Knowledge-is-Power newsletter (Fixes #15075) (#15119) 2024-09-11 10:38:00 -07:00
Craig Cook fc14d96af4
Refresh: build uneven grid component [#14892] (#15105) 2024-09-11 10:17:58 -07:00
Stephanie Hobson 6657abd5a3
Convert buttons with data-link-type="download" into CTAs (#14955)
* Convert buttons with data-link-type="download" into CTAs Fix #14062
2024-09-11 10:13:17 -07:00
wen-2018 3e34323660 footer refresh 2024-09-11 17:21:20 +01:00
dependabot[bot] d39708b35f Bump body-parser and express
Bumps [body-parser](https://github.com/expressjs/body-parser) and [express](https://github.com/expressjs/express). These dependencies needed to be updated together.

Updates `body-parser` from 1.20.2 to 1.20.3
- [Release notes](https://github.com/expressjs/body-parser/releases)
- [Changelog](https://github.com/expressjs/body-parser/blob/master/HISTORY.md)
- [Commits](https://github.com/expressjs/body-parser/compare/1.20.2...1.20.3)

Updates `express` from 4.19.2 to 4.20.0
- [Release notes](https://github.com/expressjs/express/releases)
- [Changelog](https://github.com/expressjs/express/blob/master/History.md)
- [Commits](https://github.com/expressjs/express/compare/4.19.2...4.20.0)

---
updated-dependencies:
- dependency-name: body-parser
  dependency-type: indirect
- dependency-name: express
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-09-11 13:56:03 +01:00
dependabot[bot] 91acdf06b2 Bump concurrently from 8.2.2 to 9.0.0
Bumps [concurrently](https://github.com/open-cli-tools/concurrently) from 8.2.2 to 9.0.0.
- [Release notes](https://github.com/open-cli-tools/concurrently/releases)
- [Commits](https://github.com/open-cli-tools/concurrently/compare/v8.2.2...v9.0.0)

---
updated-dependencies:
- dependency-name: concurrently
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-09-11 13:55:18 +01:00
dependabot[bot] 3703c3784d Bump sass-loader from 14.2.1 to 16.0.1
Bumps [sass-loader](https://github.com/webpack-contrib/sass-loader) from 14.2.1 to 16.0.1.
- [Release notes](https://github.com/webpack-contrib/sass-loader/releases)
- [Changelog](https://github.com/webpack-contrib/sass-loader/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack-contrib/sass-loader/compare/v14.2.1...v16.0.1)

---
updated-dependencies:
- dependency-name: sass-loader
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-09-11 13:40:20 +01:00
dependabot[bot] a8cef22c80 Bump the frontend group with 6 updates
Bumps the frontend group with 6 updates:

| Package | From | To |
| --- | --- | --- |
| [@babel/core](https://github.com/babel/babel/tree/HEAD/packages/babel-core) | `7.24.6` | `7.25.2` |
| [@babel/preset-env](https://github.com/babel/babel/tree/HEAD/packages/babel-preset-env) | `7.24.6` | `7.25.4` |
| [@sentry/browser](https://github.com/getsentry/sentry-javascript) | `8.8.0` | `8.30.0` |
| [caniuse-lite](https://github.com/browserslist/caniuse-lite) | `1.0.30001628` | `1.0.30001660` |
| [mini-css-extract-plugin](https://github.com/webpack-contrib/mini-css-extract-plugin) | `2.9.0` | `2.9.1` |
| [sass](https://github.com/sass/dart-sass) | `1.77.4` | `1.78.0` |


Updates `@babel/core` from 7.24.6 to 7.25.2
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.25.2/packages/babel-core)

Updates `@babel/preset-env` from 7.24.6 to 7.25.4
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.25.4/packages/babel-preset-env)

Updates `@sentry/browser` from 8.8.0 to 8.30.0
- [Release notes](https://github.com/getsentry/sentry-javascript/releases)
- [Changelog](https://github.com/getsentry/sentry-javascript/blob/develop/CHANGELOG.md)
- [Commits](https://github.com/getsentry/sentry-javascript/compare/8.8.0...8.30.0)

Updates `caniuse-lite` from 1.0.30001628 to 1.0.30001660
- [Commits](https://github.com/browserslist/caniuse-lite/compare/1.0.30001628...1.0.30001660)

Updates `mini-css-extract-plugin` from 2.9.0 to 2.9.1
- [Release notes](https://github.com/webpack-contrib/mini-css-extract-plugin/releases)
- [Changelog](https://github.com/webpack-contrib/mini-css-extract-plugin/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack-contrib/mini-css-extract-plugin/compare/v2.9.0...v2.9.1)

Updates `sass` from 1.77.4 to 1.78.0
- [Release notes](https://github.com/sass/dart-sass/releases)
- [Changelog](https://github.com/sass/dart-sass/blob/main/CHANGELOG.md)
- [Commits](https://github.com/sass/dart-sass/compare/1.77.4...1.78.0)

---
updated-dependencies:
- dependency-name: "@babel/core"
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: frontend
- dependency-name: "@babel/preset-env"
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: frontend
- dependency-name: "@sentry/browser"
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: frontend
- dependency-name: caniuse-lite
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: frontend
- dependency-name: mini-css-extract-plugin
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: frontend
- dependency-name: sass
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: frontend
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-09-11 13:20:49 +01:00
dependabot[bot] 3102d87630 Bump the playwright group in /tests/playwright with 2 updates
Bumps the playwright group in /tests/playwright with 2 updates: [@playwright/test](https://github.com/microsoft/playwright) and [axe-html-reporter](https://github.com/lpelypenko/axe-html-reporter).


Updates `@playwright/test` from 1.46.1 to 1.47.0
- [Release notes](https://github.com/microsoft/playwright/releases)
- [Commits](https://github.com/microsoft/playwright/compare/v1.46.1...v1.47.0)

Updates `axe-html-reporter` from 2.2.10 to 2.2.11
- [Release notes](https://github.com/lpelypenko/axe-html-reporter/releases)
- [Commits](https://github.com/lpelypenko/axe-html-reporter/compare/v2.2.10...v2.2.11)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-09-11 13:13:46 +01:00
Alex Gibson a16c7962a0 Fix home/about page test failures 2024-09-11 11:20:18 +01:00
Steve Jalim a1a0ba7bc4
Developer experience improvements around DB downloads and getting CMS images (#15079)
* Update "make preflight" command to allow a -- --retain-db flag

This will help people avoid blatting their local DB and losing WIP CMS pages

* Improve formatting (line breaks) for the boostrap_local_admin management command

* Add tool to download images to match a fresh DB download

* Expand set to default rendition sizes exported, so that downloaded images all have appropriate sizes made

The 165x165 is what the Image Library in Wagtail needs, so we must ensure a local download of images regenerates that immediately

* Add docs for the image-download tool

* Exclude image renditions from the DB export

These are not needed, and indeed block the [re]generation of renditions after download. If a DB row exists for a rendition, even though the image does not, Wagtail won't regenerate an image rendition to replace it because it thinks it already exists.

* Test fixups

* Add extra line to Makefile help explain how to use --retain-db flag via make

* Add docs explaining how to get CMS state down to local dev

* Minor fixups following code review
2024-09-11 12:19:42 +04:00
Steve Jalim ad6a263e40
Dependency bump - mainly for cryptography, but some smaller ones along the way (#15099) 2024-09-11 16:34:02 +10:00
Alex Gibson dc03900423
Enable dependabot updates for front-end NPM packages (#14984) 2024-09-11 16:01:47 +10:00
Alex Gibson b54c17b300
Add ./static to ESLint ignore paths (#15103) 2024-09-11 11:58:03 +10:00
Jan Brasna 8130353eb8
Update nothing-personal privacy url (#15102) 2024-09-11 11:56:27 +10:00
Stephanie Hobson 8f06aa1b59
Add MVP home & about pages behind switch (#15092)
- Add home page for English only behind switch m24-home
- Add about page for English only behind switchm24-about
- Add beta font files 
- Move grid variables to a new file
2024-09-10 16:26:14 -07:00
Reem H dc5969b32e updated aria attributes, increased color contrast, added cursor styles 2024-09-10 09:34:33 +01:00
Stephanie Hobson a5de4c9489
repair download tracking on /all (#15096) 2024-09-09 13:49:56 -07:00
Alex Gibson 654c955239
Fix a11y nested interactive element in sub nav (Fixes #15005) (#15029) 2024-09-09 10:47:20 +01:00
Ayushsunny 23805d1706 Fix a11y: Change <aside> to <section> for donation promo 2024-09-09 09:07:00 +01:00
Steve Jalim 04cb7fb45f
Sqlite DB exporter bugfixes (#15086)
* Exclude WorkflowState from DB export to avoid integrity errors

WorkflowState references TaskState, which cannot be dumped because it may
contain sensitive info.

We could dump TaskState and redact TaskState.comment, but this approach
is simpler and exporting the state of a workflow to local developers is
not something we need to do

* Add the LeadershipPage model to the DB export - essential

Without this, the LeadershipPage only exists as the Page metadata,
with no content, and cannot be edited or deleted locally

* Update documentation to point out that new CMS pages need to be added to the export script, too
2024-09-06 18:15:34 +04:00
Alex Gibson 01269de235
Fix node warning calling rmdirSync() when running Playwright setup (Fixes #15058) (#15061)
* Fix node warning calling rmdirSync() when running Playwright setup (Fixes #15058)

* Add linnks to Axe rules in testing docs

* Add link to a11y test job and fix heading levels in docs
2024-09-06 15:58:23 +10:00
Alex Gibson f5136b10c5
Add Firefox campaign URLs to a11y checker (#15077) 2024-09-06 14:44:12 +10:00