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

9776 Коммитов

Автор SHA1 Сообщение Дата
Tasos Katsoulas 958914d08f
Expose LogEntry in admin (#5692) 2023-10-25 09:35:16 -07:00
Tasos Katsoulas 03c1d3f445
Merge pull request #5695 from smithellis/moz-account-menu-svg
Moz Account menu fixes:
2023-10-25 18:30:23 +03:00
Tasos Katsoulas 066ca43478
Merge pull request #5696 from smithellis/moz-account-what-is-it-link
Moz Accounts 'What is it?' link
2023-10-25 18:30:05 +03:00
smith 58fa9c7ea0 Moz Accounts 'What is it?' link
- Link updated to KB article vs. mozilla.org/en-US/firefox/accounts
2023-10-25 10:16:32 -04:00
smith 3cb96b25e7 Moz Account menu fixes:
- Correct SVG
- Link to mozilla-account if the Mozilla Account header is clicked
2023-10-25 10:08:32 -04:00
smith 20c6e1e0c3
Merge pull request #5694 from smithellis/moz-loginless-form
Work to set up a loginless form for MA
2023-10-25 09:42:04 -04:00
smithellis e22051c5e7 Work to set up a loginless form for MA
- Alter form to allow for logged in and loginless
- Alter view to allow non-logged-in to get to aaq3
- Alter texts in question_editing_frame.html, form labels, etc.
- Hide unusued form fields
- Add LOGIN_EXCEPTIONS for items that can skip auth
- Resolve label line break
- Template changes for text
- css changes
- update success message, set up email
2023-10-25 09:17:06 -04:00
Tasos Katsoulas 2a7081eb26
Merge pull request #5693 from akatsoulas/l10n-fixes
Fix typo in form wizard and login interstitial.
2023-10-25 12:23:15 +03:00
Tasos Katsoulas b654b7b451 Fix typo in form wizard and login interstitial. 2023-10-25 12:20:26 +03:00
Tasos Katsoulas 8dfc503729
Merge pull request #5690 from smithellis/moz-account-featured-list-cta
Moz Account - Topic Listing page ADD CTA
2023-10-25 12:13:37 +03:00
smith fd43622422 Moz Account - Featured topics page
- Set up CTA on Featured Topics List page
-- The CTA will show for ALL products that have subscriptions
2023-10-24 11:12:07 -04:00
smith a85cc1523d
Merge pull request #5688 from akatsoulas/update-email-template-locale
Fix locale in KB links
2023-10-23 10:56:14 -04:00
Tasos Katsoulas 496390de90 Fix locale in KB links 2023-10-23 15:28:42 +03:00
Tasos Katsoulas fadc9e0327
Merge pull request #5687 from escattone/comply-with-mozilla-accounts-content-guidelines
comply with mozilla account content guidelines
2023-10-23 11:24:36 +03:00
Ryan Johnson faadc77347
comply with mozilla account content guidelines 2023-10-19 14:27:50 -07:00
Mike Conley f37cff77d7
Merge pull request #5686 from mikeconley/fix-ics-for-outlook
Make the reminder dialog's generated ICS file work properly with Outlook
2023-10-19 16:09:58 -04:00
Mike Conley 42385de5c7 Make the reminder dialog's generated ICS file work properly with Outlook.
This was working properly with iCal, but not with the Outlook desktop
calendar application. This change in formatting appears to work for both.

Fixes mozilla/sumo#1514.
2023-10-19 14:05:34 -04:00
Tasos Katsoulas 1f1eb9e11d
Merge pull request #5680 from mozilla/dependabot/npm_and_yarn/babel/traverse-7.23.2
Bump @babel/traverse from 7.20.13 to 7.23.2
2023-10-19 11:58:52 +03:00
Tasos Katsoulas 6fbb646f29
Merge pull request #5685 from akatsoulas/cta-ffa-docs
Include proper CTA in FFA documents
2023-10-19 10:45:56 +03:00
smith 5943fb4aeb Include proper CTA in FFA documents
- Specific docs listed by slug in settings.py
  MOZILLA_ACCOUNT_ARTICLES
- CTA is called when needed, based on model
  model property
- CTA is the correct CTA...
2023-10-19 10:44:36 +03:00
Tasos Katsoulas f64216f987
Merge pull request #5681 from mozilla/dependabot/pip/urllib3-1.26.18
Bump urllib3 from 1.26.17 to 1.26.18
2023-10-18 11:11:57 +03:00
dependabot[bot] 96d9c3b9f3
Bump urllib3 from 1.26.17 to 1.26.18
Bumps [urllib3](https://github.com/urllib3/urllib3) from 1.26.17 to 1.26.18.
- [Release notes](https://github.com/urllib3/urllib3/releases)
- [Changelog](https://github.com/urllib3/urllib3/blob/main/CHANGES.rst)
- [Commits](https://github.com/urllib3/urllib3/compare/1.26.17...1.26.18)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-18 01:18:45 +00:00
dependabot[bot] 4f2eca3de3
Bump @babel/traverse from 7.20.13 to 7.23.2
Bumps [@babel/traverse](https://github.com/babel/babel/tree/HEAD/packages/babel-traverse) from 7.20.13 to 7.23.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.23.2/packages/babel-traverse)

---
updated-dependencies:
- dependency-name: "@babel/traverse"
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-17 08:53:10 +00:00
Tasos Katsoulas 75516b3b07
Merge pull request #5679 from escattone/update-django-4.1.12
update to django 4.1.12
2023-10-17 11:51:44 +03:00
Ryan Johnson 3659ca0ba3
update to django 4.1.12 2023-10-16 14:33:14 -07:00
Mike Conley f7c3bb87df
Merge pull request #5665 from mikeconley/reminder-dialog
Add a dialog to the switching-devices form wizard for calendar reminders
2023-10-16 16:46:45 -04:00
Mike Conley d72e3c9cb8 Add a dialog to the switching-devices form wizard for calendar reminders.
The dialog also allows the user to copy the download URL to their clipboard.

The dialog is not yet wired up to anything, but can be invoked by calling
`openReminderDialog()` on the setup-device-step element.

In this patch, I also needed to update some pre-existing tests to clean up
their spies/stubs so that the form-wizard-reminder-dialog-tests.js could
run correctly.

Fixes mozilla/sumo#1494.
2023-10-16 16:32:13 -04:00
Tasos Katsoulas 267366781a
Merge pull request #5678 from akatsoulas/fix-redirect-link-mza
Link typo in footer
2023-10-16 15:44:50 +03:00
Tasos Katsoulas d7b0fd18da Link typo in footer 2023-10-16 15:43:41 +03:00
Tasos Katsoulas 18b1137c66
Merge pull request #5677 from akatsoulas/interstitial-accounts
Revised interstitial for Mozilla Accounts
2023-10-16 15:07:24 +03:00
smithellis 96f5713bae Revised interstitial for Mozilla Accounts 2023-10-16 14:47:45 +03:00
Tasos Katsoulas 40fe5259eb
Merge pull request #5672 from akatsoulas/mozilla-accounts-main
Mozilla accounts main
2023-10-16 12:32:12 +03:00
Ryan Johnson eedf5d1942
follow other account content guidelines (#5676) 2023-10-13 11:19:45 -07:00
Mike Conley dbfc45a2f4
Update FxA reference in switching-devices wizard to use 'Mozilla account' (#5675)
Fixes mozilla/sumo#1506.
2023-10-13 10:58:34 -07:00
André Honeiser c9d058405a
sentry_sdk maintenance (#5674)
* chore: don't send traces and profiles to sentry

* chore: update sentry_sdk to 1.32.0

---------

Co-authored-by: Ryan Johnson <rjohnson@mozilla.com>
2023-10-13 08:27:32 -07:00
Ryan Johnson bb8d861152
fix RemoveSlashMiddleware to work with django's i18n (#5673) 2023-10-12 09:37:44 -07:00
smith 4bb89a83a8 Mozilla Account - AAQ, CTA
- Add FFA to `questions/config.py` so it will appear
  in AAQ
- Ensure correct CTA banner is shown on FFA Support
  page
- Proper CTA box on right side

- You need to add Mozilla Account to the products
  in admin for this to work
- You need to have English as a Locale for the
  product or you will get redirect loop
2023-10-12 14:49:05 +03:00
smith 83e56f1e36 Main navigation update
Name change to Mozilla Account
2023-10-12 14:49:05 +03:00
smith e8dd2321c6 Footer navigation update
Name change
2023-10-12 14:49:02 +03:00
Koo 9f53285021
Use `rest_framework.status` instead of hard coded one (#5662)
* Use readable status code

* Lint
2023-10-11 11:45:22 -07:00
Tasos Katsoulas e4b59db2c5
Merge pull request #5671 from escattone/fix-popular-searches
fix popular searches
2023-10-11 09:07:09 +03:00
Ryan Johnson 3b2f518aab
popular searches should trigger input event 2023-10-10 14:44:46 -07:00
Ryan Johnson b72f29829b
fix wiki.get_fallback_locale() (#5669) 2023-10-10 07:26:00 -07:00
Tasos Katsoulas 36561c542a
Merge pull request #5667 from escattone/fix-1496
fix PlusToSpaceMiddleware now that we use Django i18n
2023-10-09 14:11:06 +03:00
Tasos Katsoulas fe4c52f990
Merge pull request #5668 from mozilla/dependabot/npm_and_yarn/postcss-8.4.31
Bump postcss from 8.4.25 to 8.4.31
2023-10-09 13:53:00 +03:00
dependabot[bot] 36ce705de5
Bump postcss from 8.4.25 to 8.4.31
Bumps [postcss](https://github.com/postcss/postcss) from 8.4.25 to 8.4.31.
- [Release notes](https://github.com/postcss/postcss/releases)
- [Changelog](https://github.com/postcss/postcss/blob/main/CHANGELOG.md)
- [Commits](https://github.com/postcss/postcss/compare/8.4.25...8.4.31)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-07 23:22:14 +00:00
Ryan Johnson 3e9574c13d
fix PlusToSpaceMiddleware now that we use Django i18n 2023-10-06 09:30:03 -07:00
Ryan Johnson fb2bb6c967
fix test failures after merging django i18n work (#5666) 2023-10-05 15:24:28 -07:00
Ryan Johnson 99918fc984
switch to django's i18n (#5653)
* add sub-class of django's LocaleMiddleware

* use i18n_patterns for localized urls

* big ball of changes

* remove ForumTestCase

* remove KBForumTestCase

* use urlparse instead of urlsplit

* remove reference to 'new-style approach'

* replace 'SUMO standards' with 'uppercase country-code'

* use False for default for force_language

* remove else in LocalePrefixPattern.language_prefix

* use original name points_to_document_view

* return None in get_locale_and_slug_from_document_url

* refactor get_language_from_request

* use translation.override instead of override

* remove check_host

* try locale middleware that sub-classes Django's

* tighten the locale middleware tests

* improve using ideas from tasos and myself
2023-10-05 12:06:11 -07:00
Tasos Katsoulas 5583f86363
Merge pull request #5664 from akatsoulas/update-vscode-autosave
Enable format on save
2023-10-05 14:41:49 +03:00