* only clear abuse/appeal related NHR for resolving jobs
* Allow some policies to be selectable in reviewer tools
* reset due_date after setting NHR to inactive
This was preventing them from being displayed when loaded as <img> in Chrome
and some image viewers. We are not using them as masks so that shouldn't matter.
* show special flag for nhr from abuse reports in review queue
* refactor NeedsHumanReview REASON constants into Choices
* split single flag into three types of abuse/appeal
* optimize queryset construction
* Simplify socketlabs check for status and messaging when something goes wrong.
* Fix comments
* Add more details and formatting to suppressed email status table.
* Copy fixes and updates
* Update src/olympia/devhub/templates/devhub/verify_email.html
Co-authored-by: Francesco Lodolo <flodolo@mozilla.com>
---------
Co-authored-by: Mozilla Add-ons Robot <addons-dev-automation+github@mozilla.com>
Co-authored-by: Francesco Lodolo <flodolo@mozilla.com>
* feat(): add email_verification property to UserProfile
* feat(users): add useful properties to SuppressedEmailVerification model
* feat(devhub): add email verification flow view logic
* chore(): use date only values for socketlabs recipient search
* replace force disable/enable buttons with actions
* update api docs
* move activity logging back to reviewer tools
* expose enable/disable activity log to developers
* correctly stringify activity log in reviewer tools important changes
* rm unused line
* review fixes
The modal calls e.preventsDefault(), so the click never goes through,
preventing change event from firing normally, which in turn leaves our custom
validity enabled and triggers a validation error on submit. Manually triggering
change works around this
* Harmonize footers across devhub (and frontend pages a bit more)
Changes:
- Copy over fonts from addons-frontend, use Inter everywhere
- Use photon-footer everywhere, adding a light blue margin before
to make the transition less aggressive and match header
- Fix error pages block to align content correctly
- Translate strings in footer
* Limit compatibility for Firefox for Android
- Extensions are either compatible with Fennec or Fenix >= 119.0a1, unless they are recommended/line.
- If they are compatible with Fennec, they strict compatibility is enabled.
* add canned reasons to blocksubmission admin
* build on ReviewActionReason for canned response instead
* Fix reviewers tests that didn't create a complete ReviewActionReason
* in migration default canned_block_reason field to '' for existing records
* Split New Theme Submission from the rest
For simplicity new version creation are not modified in this commit,
because we're already able to serve different content for them, or
gate them however we'd like, as we already have the add-on available.
* Display error message when trying to use theme submission flow to upload a non-theme
Note: this is not intended as a security measure, it's only to be
nice to users who accidentally ended up in the wrong flow.
* change version checkboxes to make it clearer between blocking and already blocked
* wrap blocked and not blocked icon & version string in a span, with title
* track Blocked versions per version
* update api docs
* test fixes
* scanners test fixes
* drop now obsolete create_blockversions command
* address review comments; fix failing tests
* restore warning messages about a version being in a submission or block
* add extra tests + optimizations
* Fix failing blocklist/test_serializers.py test
`white-space: pre-wrap` prevents lines from being broken unless an
explicit line break is in there.
Since the content of these fields are external (user-generated), there
is no guarantee of the line length to be within reasonable bounds.
Rather than stretching the layout, add `word-break: break-word` to allow
the line to be wrapped regardless.
* Lock compatibility information if it came from `gecko_android`
Manifest should be the source of truth for compatibility data for Android when
`gecko_android` if set.
* Remove obsolete compatibility changing code
The only add-ons left with strict compatibility should be langpacks,
and we don't want to continue allowing to dynamically alter their
compatibility via devhub.
* Test fixes
* More extra css/js that can be removed
* Remove unused import
* load version adus in review page xhr
* Add top 10 ADU versions box
* moved ADU block to RH sidebar; made style consistent; reviewers js now runs on documen load