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

344 Коммитов

Автор SHA1 Сообщение Дата
Mathieu Pillard d3c71aa29b
Update CSP config to follow docs for Google Analytics 4 + Universal Analytics (#13031)
* Update CSP config to follow docs for Google Analytics 4 + Universal Analytics

https://developers.google.com/tag-platform/security/guides/csp#google_analytics_4_google_analytics
https://developers.google.com/tag-platform/security/guides/csp#universal_analytics_google_analytics

* Remove obsolete directive and misleading comments
2024-05-29 10:57:48 +02:00
William Durand 89fc515a20
Use Extension Workshop stage instance on -dev (#12960) 2024-04-19 15:10:12 +02:00
William Durand f96185168e
Remove feedback form feature flags (#12753) 2024-01-08 16:52:45 +01:00
William Durand 00766f66cc
Set enableFeatureFeedbackFormLinks flag to true by default (#12653) 2023-11-27 17:44:36 +01:00
William Durand 8265e60635
Remove the `enableFeatureMoreAndroidExtensions` flag (#12617) 2023-11-20 12:55:45 +01:00
William Durand 16fc73b798
Enable `enableFeatureFeedbackForm` everywhere (#12591) 2023-11-13 13:36:00 +01:00
William Durand a7bb5890fe
Add new feature flag to link to the new feedback form on AMO (#12542) 2023-11-07 18:09:55 +01:00
Mathieu Pillard ce020c5e68
Sync validClientAppUrlExceptions with SUPPORTED_NONAPPS (#12497)
This allows /abuse/ to work on local envs to work without needing to
mess with nginx config. On dev/stage/prod we'll still need to change
that nginx config but that will only become relevant when we start
testing/deploying it in those envs.
2023-10-25 14:05:00 +02:00
Andrew Williamson 6307c3c999
add feedback form (#12468)
* add feedback form

* Add/change reasons; adjust copy

* move feature config check to Routes/index.js

* addonIdentifier to Props

* stop sending VIEW_CONTEXT_HOME; drop pointless log.warn

* styling and i18n fixes

* Refactor to Feedback page to FeedbackForm component

* check for legalAssertion in preventSubmit too

* move out the rendering of the post-submit jsx

* set the form back to loading:false on error

* set form width to 100%

* Apply suggestions from code review

Co-authored-by: Mathieu Pillard <diox@users.noreply.github.com>

* add missing tests

* fix title

---------

Co-authored-by: Mathieu Pillard <diox@users.noreply.github.com>
2023-10-24 13:57:51 +01:00
Mathieu Pillard 63ccbcfab2
Add `fur` to the list of supported languages (#12454) 2023-10-09 11:22:34 +02:00
Mathieu Pillard 0094a99e02
Enable non-recommended extensions for Android on all envs (#12415)
Compatibility filtering still applies, this should only really
affect users of 119 Nightly/Beta for now, given
https://github.com/mozilla/addons-server/issues/21162
2023-09-21 18:03:49 +02:00
William Durand 8508746017
Remove filters on recommended for Android extensions (with a feature flag) (#12400) 2023-09-14 12:04:13 +02:00
William Durand 6c5681512c
Remove `restrictSearchResultsToAppVersion` config option (#12399) 2023-09-13 19:19:22 +02:00
Bob Silverberg 749903e8e0
Disable the suggested add-ons experiment (#12023) 2023-02-14 10:52:28 -05:00
Bob Silverberg e0f7d52d40
Enable the add-on suggestions experiment everywhere (#12007)
Fixes https://github.com/mozilla/addons-frontend/issues/12006
2023-01-25 10:33:42 -05:00
Bob Silverberg f8509999f3
Enable reporting to GA4 (#12001)
Fixes https://github.com/mozilla/addons-frontend/issues/11992
2023-01-24 14:32:29 -05:00
Bob Silverberg dbfb6fbe4a
Enable the suggestions experiment on stage (#11991)
Fixes https://github.com/mozilla/addons-frontend/issues/11990
2023-01-19 15:08:00 -05:00
Bob Silverberg 553c5a4008
Create an experiment to run on the add-on detail page (#11960)
* Create an experiment to run on the add-on detail page

* Hide suggestions for all but extensions, and add a variation that appears below the add-on detail card
2023-01-13 13:24:22 -05:00
Bob Silverberg fe49dc8e10
Add `si` to the list of supported languages (#11839) 2022-09-22 11:00:48 -04:00
Bob Silverberg 2f8dc45d9b
Record experiment name and variation as GA dimensions (#11826) 2022-09-20 13:49:27 -04:00
Bob Silverberg 37c20ec637
Remove code for the Fenix QR code feature (#11650) 2022-07-06 14:09:35 -04:00
Mathieu Pillard 15f8f9bc73
Put `update` in the supported nonapps/nonlocale paths for update service (#11564)
Supports https://github.com/mozilla/addons-server/issues/19245
2022-06-07 13:32:36 +02:00
Bob Silverberg 6a544b9a26
Add `is` to supported languages (#11311) 2022-02-18 09:50:01 -05:00
Andrew Williamson c0333101a6
Use addons-server's SessionIDAuthentication instead (#11127) 2022-02-08 08:59:17 +00:00
Andrew Williamson c2d4a3e488
Drops the setTimeout that auto logs the user out (#11101)
* Drops the setTimeout that auto logs the user out

* remove unused references to logOutUser in App component too
2022-01-20 14:52:58 +00:00
Bob Silverberg 7b3316a1eb
Fix problem with static files for local development (#11090) 2022-01-13 09:18:11 -05:00
Bob Silverberg 1108eae55d
Update the list of addonIdsWithQRCodes (#11077) 2022-01-07 08:22:07 -05:00
renovate[bot] 0163b54c11
Update dependency helmet to v5 (#11072)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Bob Silverberg <bob.silverberg@gmail.com>
2022-01-03 17:04:32 -05:00
Bob Silverberg 57a76a52d5
Implement __heartbeat__ and __lbheartbeat__ (#11061)
Co-authored-by: William Durand <will+git@drnd.me>
2021-12-17 09:07:31 -05:00
Mathieu Pillard f643e7fb1b
Allow addons-server statics and old dedicated prod domain in img-src CSP (#10982) 2021-10-25 15:45:24 +02:00
Mathieu Pillard a6bc10d801
Load user-uploaded images and favicon from the main domain (#10968)
* Load user-uploaded images and favicon from the main domain

This removes the need to have config variables for CDN domain, as
we won't be using a dedicated CDN domain to load assets anymore.

This also removes isAllowedOrigin function: the CSP configuration
should be all we need to validate image origins.

* getPreviewImage() should return null if there is no preview at that size
2021-10-18 15:52:47 +02:00
Mathieu Pillard 896a3b1b21
Allow loading of images on the main domain (#10953)
That fixes dev (and local instances running against dev data) which  had been
broken following https://github.com/mozilla/addons-server/issues/18053
2021-10-07 20:13:55 +02:00
Bob Silverberg 1709fddf86
Disable the VPN Promo experiment (#10929) 2021-09-28 11:07:35 -04:00
Bob Silverberg 82b4ba2f05
Display the QR code on the add-on detail page (#10906) 2021-09-23 11:51:55 -04:00
William Durand 73bed40a86
Fix fenix-qr-codes script to check differences between two sets (#10914) 2021-09-21 19:35:25 +02:00
Bob Silverberg bb491797f6
Creating AddonQRCode component (#10904)
* Creating AddonQRCode component

* Use webpack to copy QR code images to static

* Fix dev dependency

* Add a test into bin/fenix-qr-codes.js
2021-09-21 11:30:26 -04:00
Mathieu Pillard e10ab1cc98
Serve frontend statics through the main domain (behind CDN) on -stage… (#10893)
* Serve frontend statics through the main domain (behind CDN) on -stage and prod

* staticHost is now undefined by default, so it's considered an unknown key...

* s/configs/envs/

* Remove staticHost, staticPath from dev/stage configs as we're not changing the default value

* staticHost: undefined is already the default

* Keep allowUnknownKeys: true only where it matters

* Completely remove staticHost, it's no longer necessary

* Remove staticHost in webpack config as well
2021-09-14 15:23:05 +02:00
Bob Silverberg 24008f521a
Enable the VPN Promo and experiment on prod (#10894) 2021-09-13 13:47:30 -04:00
Bob Silverberg 255d74b913
Remove code for the Download Funnel Experiment (#10859) 2021-08-24 13:47:11 -04:00
William Durand ba8d6b81c7
Remove enableFeatureAllowAndroidInstall flag (#10839) 2021-08-13 15:39:17 +02:00
Mathieu Pillard 53fd802629
Load statics from /static-frontend/ and stop using a separate domain on dev (#10840)
* On -dev, load addons-frontend statics from the same domain under /static-frontend/

* Fix tests

* Use it.each() instead of a manual loop

* Use /static-frontend/ everywhere

* Test fixes

* Also fix this

* Add comment

* Remove unnecessary condition

* Add a comment
2021-08-13 12:31:13 +02:00
William Durand 28e85e1aa5
Remove enableFeatureBlockPage flag (#10837) 2021-08-12 10:44:33 +02:00
Bob Silverberg 076cadb6d0
Disable the Download Funnel Experiment (#10796) 2021-07-27 11:26:23 -04:00
Bob Silverberg 79f0d9a2c4
Limit the VPN Promo Experiment to users from specific regions and desktop only (#10782) 2021-07-21 11:01:26 -04:00
Bob Silverberg b66e613223
Implement a VPN Promo banner (#10769) 2021-07-19 09:57:28 -04:00
Bob Silverberg 43781768f4
Enable download funnel experiment on stage and prod (#10754) 2021-07-13 09:38:20 -04:00
Bob Silverberg ea540e2904
Update experiment naming convention to support custom GA dimension on www.mozilla.org (#10752)
Co-authored-by: William Durand <will+git@drnd.me>
2021-07-08 17:01:11 -04:00
William Durand 32ef77e946
Remove enableFeatureLinkToNewBlog flag (#10712) 2021-06-22 17:52:23 +02:00
Bob Silverberg 64ca0a4924
Render experiments on the server (#10665) 2021-06-17 09:56:13 -04:00
William Durand 7328c455b5
Link to the new blog in all envs (#10673) 2021-06-11 14:33:05 +02:00