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

10598 Коммитов

Автор SHA1 Сообщение Дата
Tasos Katsoulas 850d344471
Add GA4 attributes to new nav 2024-06-21 12:23:07 +03:00
Ryan Johnson 8a33df6fbe
Merge pull request #6080 from escattone/improve-csp-for-wagtail-images-upload-1817
improve CSP for wagtail image uploads
2024-06-20 13:59:21 -07:00
Ryan Johnson 63c426aa3d
Merge pull request #6079 from escattone/serve-wagtail-documents-1851
add wagtail document urls
2024-06-20 10:54:37 -07:00
Ryan Johnson c72c116d35
improve CSP for wagtail image uploads 2024-06-20 10:49:06 -07:00
Ryan Johnson aa2e68e1ca
add wagtail document urls 2024-06-20 10:27:32 -07:00
Tasos Katsoulas 1bafb59b5c
Merge pull request #6067 from escattone/wagtail-csp-adjustment-1817
adjust CSP for wagtail admin console
2024-06-19 16:55:08 +03:00
Tasos Katsoulas e6d0a0d457
Merge pull request #6076 from akatsoulas/widget-wording
Update AAQ widget redirects and text
2024-06-19 16:52:40 +03:00
Tasos Katsoulas 25bc2ec6b8
Update AAQ widget redirects and text 2024-06-19 16:45:02 +03:00
Emil Ghitta c9016e782c
Merge pull request #6074 from emilghittasv/expanding-playwright-coverage-to-premium-ticket-submission
Expanding playwright coverage over premium products ticket submission
2024-06-18 21:50:52 +03:00
Emil Ghitta b78eef557d - Updating the aaq submission flow to work with premium and loginless forms.
- Adding new locators for the premium and loginless forms and helper functions.
- Expanding playwright coverage for the following cases:
1. Verifying that the premium tickets can be successfully submitted for all premium products. Currently, we are sending one ticket /each premium product and choosing a random topic & os from the dropdowns. We are also making use of the whitelisted subject & body keyword so that Zendesk automatically closes those tickets & avoid spamming.
2. Verifying that 3 loginless forms can be successfully submitted before hitting the ratelimit. (making use of the whitelisted subject & body keyword) in order to avoid spamming Zendesk).
2024-06-18 21:20:00 +03:00
dependabot[bot] a36c0796db
Bump ws, engine.io-client and socket.io
Bumps [ws](https://github.com/websockets/ws), [engine.io-client](https://github.com/socketio/engine.io-client) and [socket.io](https://github.com/socketio/socket.io). These dependencies needed to be updated together.

Updates `ws` from 8.12.0 to 8.17.1
- [Release notes](https://github.com/websockets/ws/releases)
- [Commits](https://github.com/websockets/ws/compare/8.12.0...8.17.1)

Updates `ws` from 7.5.9 to 8.17.1
- [Release notes](https://github.com/websockets/ws/releases)
- [Commits](https://github.com/websockets/ws/compare/8.12.0...8.17.1)

Updates `engine.io-client` from 6.5.3 to 6.5.4
- [Release notes](https://github.com/socketio/engine.io-client/releases)
- [Changelog](https://github.com/socketio/engine.io-client/blob/main/CHANGELOG.md)
- [Commits](https://github.com/socketio/engine.io-client/compare/6.5.3...6.5.4)

Updates `socket.io` from 4.6.0 to 4.7.5
- [Release notes](https://github.com/socketio/socket.io/releases)
- [Changelog](https://github.com/socketio/socket.io/blob/main/CHANGELOG.md)
- [Commits](https://github.com/socketio/socket.io/compare/4.6.0...4.7.5)

---
updated-dependencies:
- dependency-name: ws
  dependency-type: indirect
- dependency-name: ws
  dependency-type: indirect
- dependency-name: engine.io-client
  dependency-type: indirect
- dependency-name: socket.io
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-06-18 17:49:41 +00:00
Ryan Johnson 4014e9da8e
Merge pull request #6072 from mozilla/dependabot/pip/urllib3-1.26.19
Bump urllib3 from 1.26.18 to 1.26.19
2024-06-18 10:48:50 -07:00
dependabot[bot] 28fe9b0cdc
Bump urllib3 from 1.26.18 to 1.26.19
Bumps [urllib3](https://github.com/urllib3/urllib3) from 1.26.18 to 1.26.19.
- [Release notes](https://github.com/urllib3/urllib3/releases)
- [Changelog](https://github.com/urllib3/urllib3/blob/1.26.19/CHANGES.rst)
- [Commits](https://github.com/urllib3/urllib3/compare/1.26.18...1.26.19)

---
updated-dependencies:
- dependency-name: urllib3
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-06-18 01:27:16 +00:00
Ryan Johnson 3c6e5eae1a
fix CSP header for CMS URLs 2024-06-17 13:52:30 -07:00
Ryan Johnson 78bfa7c624
Merge pull request #6069 from mozilla/dependabot/npm_and_yarn/braces-3.0.3
Bump braces from 3.0.2 to 3.0.3
2024-06-17 11:10:58 -07:00
Ryan Johnson a8401c7e22
Merge pull request #6070 from emilghittasv/playwright-expanding-article-translations-coverage-v2
Expanding playwright localization coverage
2024-06-17 11:10:43 -07:00
Tasos Katsoulas 97f8fdad9d
Merge pull request #6071 from akatsoulas/required-country
Required country
2024-06-17 18:59:15 +03:00
Tasos Katsoulas 38e8f6d47d Handle errors on country retrieval 2024-06-17 16:53:12 +03:00
Emil Ghitta 2d63c35aeb Expanding playwright localization coverage to cover the following scenarios:
- Verifying that SUMO redirects to a fallback locale when trying to access an unsupported one.
- Verifying SUMO's fallback mechanism for the fy, zh-Hans and zh-Hant locales. (currently skipped due to a known failure).
- Verifying that accessing all supported SUMO locales returns status code 200
- Verifying SUMO locale priority:
* SUMO should redirect to the locale specified inside the user profile if no locale is specified in the URL.
* Verifying that SUMO should respect the ?lang query parameter and redirect to that particular locale regardless of the locale specified inside the user profile.
* Verifying that SUMO redirects to the locale specified inside the Accept-Language header if no preferred language is set at profile level.
* Verifying the fallback mechanism of the Accept-Language header if the first specified language is not supported or invalid.
- Verifying that selecting all the available options inside the "Language" dropdown menu displayed inside the footer section redirects the user to the chosen locale successfully.
- Adding the required env variables for decouple in order to use the SUMO_LANGUAGES, FALLBACK_LANGUAGES, NON_SUPPORTED_LOCALES dictionaries in tests.
- Fixing the Recent Revisions Dashboard test failures.
- Adding playwright capability of setting/manipulating the http header.
2024-06-17 16:24:45 +03:00
Tasos Katsoulas c57dd1f1af
Merge pull request #6066 from smithellis/localization-comment-question-list
Add L10n comment to question_list
2024-06-17 15:53:17 +03:00
dependabot[bot] 6a7c4fd75e
Bump braces from 3.0.2 to 3.0.3
Bumps [braces](https://github.com/micromatch/braces) from 3.0.2 to 3.0.3.
- [Changelog](https://github.com/micromatch/braces/blob/master/CHANGELOG.md)
- [Commits](https://github.com/micromatch/braces/compare/3.0.2...3.0.3)

---
updated-dependencies:
- dependency-name: braces
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-06-17 02:09:21 +00:00
Smith Ellis 9386a67fa4
Add L10n comment to question_list 2024-06-14 12:40:08 -04:00
smith a4e37dd201
Add localization note to clarify usage (#6056)
* Add localization notes to clarify usage
* Clarify validation error
2024-06-14 11:09:36 -04:00
Ryan Johnson d748f370f3
Merge pull request #6065 from akatsoulas/help-solve-it
Hide questions stats for topic nav
2024-06-14 07:48:25 -07:00
Tasos Katsoulas 408d68d3bb
Hide questions stats for topic nav 2024-06-14 14:53:50 +03:00
Tasos Katsoulas 8fe9ec735b
Merge pull request #6063 from akatsoulas/typo-urls
Add the correct url names in the conditional
2024-06-13 13:03:07 +03:00
Tasos Katsoulas 690f9e6e93
Add the correct url names in the conditional 2024-06-13 12:59:46 +03:00
Ryan Johnson dbe82a5bdc
Merge pull request #6052 from escattone/resolve-wagtail-csp-issues-1817
Address Wagtail CSP issues
2024-06-12 10:22:46 -07:00
Ryan Johnson dd2004ec4b
Merge pull request #6061 from akatsoulas/500-invalid-topic
Fix 500 with invalid topics
2024-06-12 07:50:13 -07:00
Tasos Katsoulas a4e56dcff9
Merge pull request #6062 from akatsoulas/highlight-contr-disc
Enable highlighting on selected threads
2024-06-12 16:10:09 +03:00
Tasos Katsoulas 43775a36f3
Enable highlighting on selected threads 2024-06-12 15:28:29 +03:00
Tasos Katsoulas 15d3d9e822
Fix 500 with invalid topics 2024-06-12 14:24:30 +03:00
Tasos Katsoulas dd0b6d6344
Merge pull request #6060 from akatsoulas/404-all-topics
Allow filtering in list_by_topic
2024-06-12 13:37:28 +03:00
Tasos Katsoulas ad3b8a3085
Allow filtering in list_by_topic 2024-06-12 13:36:47 +03:00
Tasos Katsoulas f1bab9f8a3
Merge pull request #6053 from akatsoulas/m2m-topics-redirects
M2m topics redirects
2024-06-12 12:05:31 +03:00
Emil Ghitta cf1e74233b
Merge pull request #6058 from emilghittasv/playwright-ia-test-fix
- Fixing playwright test failures due to IA changes.
2024-06-12 10:13:16 +03:00
Ryan Johnson 9010c23620
Merge pull request #6057 from escattone/fix-weekly-pageview-crons-1819
fix article & question weekly pageview crons
2024-06-11 07:28:52 -07:00
Tasos Katsoulas ddb315fa2e
Allow topic renaming and redirects 2024-06-11 15:24:49 +03:00
Ryan Johnson eaad0eb7dd
make article & question pageview crons more robust 2024-06-10 15:09:28 -07:00
Emil Ghitta e8b0c321a6 - Fixing playwright test failures due to IA changes. 2024-06-10 23:36:36 +03:00
Tasos Katsoulas 715338dbc5
Merge pull request #6055 from akatsoulas/product-community-forum
Rename Support Forum to Community Forum
2024-06-10 17:18:31 +03:00
Tasos Katsoulas f781af9342
Rename Support Forum to Community Forum 2024-06-10 17:19:44 +03:00
Tasos Katsoulas bbaef55229
Merge pull request #6054 from akatsoulas/templates-main-nav
Do not display Templates in main nav
2024-06-10 17:14:24 +03:00
Tasos Katsoulas 3524f6556d
Do not display Templates in main nav 2024-06-10 17:15:31 +03:00
Tasos Katsoulas 9cae015dc5
Populate products m2m field 2024-06-10 15:27:42 +03:00
Tasos Katsoulas deaa25a526
Introduce m2m products field in Topic 2024-06-10 15:25:59 +03:00
Ryan Johnson 61b0315de1
relax CSP for now when behind LDAP 2024-06-06 16:53:42 -07:00
Ryan Johnson cd3f96d3f8
remove most Wagtail CSP violations but keep tight CSP 2024-06-06 15:07:21 -07:00
Tasos Katsoulas 4ef0ffb330
Merge pull request #6051 from akatsoulas/localizable-content
Make messaging strings localizable
2024-06-06 18:09:03 +03:00
Tasos Katsoulas 0bae7bf138
Make messaging strings localizable 2024-06-06 17:57:11 +03:00