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

55715 Коммитов

Автор SHA1 Сообщение Дата
Mathieu Pillard bd3b28bf68
Enable search by IP in activity log admin (#20275) 2023-02-01 17:18:39 +01:00
dependabot[bot] 161baf940d
Bump traitlets from 5.8.1 to 5.9.0 in /requirements (#20269)
Bumps [traitlets](https://github.com/ipython/traitlets) from 5.8.1 to 5.9.0.
- [Release notes](https://github.com/ipython/traitlets/releases)
- [Changelog](https://github.com/ipython/traitlets/blob/main/CHANGELOG.md)
- [Commits](https://github.com/ipython/traitlets/compare/v5.8.1...v5.9.0)

---
updated-dependencies:
- dependency-name: traitlets
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-01 16:48:23 +01:00
dependabot[bot] 6632e1d11e
Bump terser from 5.16.1 to 5.16.2 (#20271)
Bumps [terser](https://github.com/terser/terser) from 5.16.1 to 5.16.2.
- [Release notes](https://github.com/terser/terser/releases)
- [Changelog](https://github.com/terser/terser/blob/master/CHANGELOG.md)
- [Commits](https://github.com/terser/terser/compare/v5.16.1...v5.16.2)

---
updated-dependencies:
- dependency-name: terser
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-01 16:39:16 +01:00
dependabot[bot] b1a65f2f13
Bump setuptools from 66.0.0 to 67.0.0 in /requirements (#20265)
Bumps [setuptools](https://github.com/pypa/setuptools) from 66.0.0 to 67.0.0.
- [Release notes](https://github.com/pypa/setuptools/releases)
- [Changelog](https://github.com/pypa/setuptools/blob/main/CHANGES.rst)
- [Commits](https://github.com/pypa/setuptools/compare/v66.0.0...v67.0.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-01 16:38:32 +01:00
Andreas Wagner 75fd389793
Exclude versions with due date from Needs Human Review queue (#20280)
Co-authored-by: Mathieu Pillard <mpillard@mozilla.com>
Fix https://github.com/mozilla/addons-server/issues/20279
2023-02-01 15:26:05 +01:00
dependabot[bot] ed2c1a3b10
Bump sphinxcontrib-htmlhelp from 2.0.0 to 2.0.1 in /requirements (#20282)
Bumps [sphinxcontrib-htmlhelp](https://github.com/sphinx-doc/sphinxcontrib-htmlhelp) from 2.0.0 to 2.0.1.
- [Release notes](https://github.com/sphinx-doc/sphinxcontrib-htmlhelp/releases)
- [Changelog](https://github.com/sphinx-doc/sphinxcontrib-htmlhelp/blob/master/CHANGES)
- [Commits](https://github.com/sphinx-doc/sphinxcontrib-htmlhelp/commits)

---
updated-dependencies:
- dependency-name: sphinxcontrib-htmlhelp
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-01 12:16:00 +01:00
dependabot[bot] 37ce2f7e6a
Bump django from 3.2.16 to 3.2.17 in /requirements (#20284)
Bumps [django](https://github.com/django/django) from 3.2.16 to 3.2.17.
- [Release notes](https://github.com/django/django/releases)
- [Commits](https://github.com/django/django/compare/3.2.16...3.2.17)

---
updated-dependencies:
- dependency-name: django
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-01 12:11:26 +01:00
Mathieu Pillard 4520c00cc2
Improve search tooltip in amo admins (#20272)
* Improve search tooltip in amo admins
- Fix description of AND queries
- Clarify IP search only works with OR (comma-separated)
- Obey minimum_search_terms_to_search_by_id
- Don't show on admins without search
2023-02-01 11:57:49 +01:00
Andreas Wagner 60fdf84e05
Increase the due date to 4 days from now (#20278)
Fix https://github.com/mozilla/addons-server/issues/20277
2023-01-31 18:35:02 +01:00
Mathieu Pillard fcf1bd0fb3
Set a due date on versions belonging to add-ons with auto_approval_delayed_until_unlisted (#20273) 2023-01-31 18:03:18 +01:00
Mathieu Pillard d05334920d
Only set auto-approval delay for unlisted on the first submission (#20276)
Since the flag lives on the add-on, we don't need to set it multiple
times, we want to give admins/reviewers the ability to drop it and
not affect future versions even if posted during the delay period.
2023-01-31 18:03:07 +01:00
Andrew Williamson d960b4e3a7
manually set due_date and needs_human_review (#20252) 2023-01-31 17:01:40 +00:00
dependabot[bot] 5a2073e29c
Bump ipython from 8.8.0 to 8.9.0 in /requirements (#20264)
Bumps [ipython](https://github.com/ipython/ipython) from 8.8.0 to 8.9.0.
- [Release notes](https://github.com/ipython/ipython/releases)
- [Commits](https://github.com/ipython/ipython/compare/8.8.0...8.9.0)

---
updated-dependencies:
- dependency-name: ipython
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-31 11:22:09 +01:00
dependabot[bot] 188e4eedb1
Bump cachetools from 5.2.1 to 5.3.0 in /requirements (#20218)
Bumps [cachetools](https://github.com/tkem/cachetools) from 5.2.1 to 5.3.0.
- [Release notes](https://github.com/tkem/cachetools/releases)
- [Changelog](https://github.com/tkem/cachetools/blob/master/CHANGELOG.rst)
- [Commits](https://github.com/tkem/cachetools/compare/v5.2.1...v5.3.0)

---
updated-dependencies:
- dependency-name: cachetools
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-31 11:21:56 +01:00
dependabot[bot] 37bf1b94b3
Bump jest-environment-jsdom from 29.4.0 to 29.4.1 (#20255)
Bumps [jest-environment-jsdom](https://github.com/facebook/jest/tree/HEAD/packages/jest-environment-jsdom) from 29.4.0 to 29.4.1.
- [Release notes](https://github.com/facebook/jest/releases)
- [Changelog](https://github.com/facebook/jest/blob/main/CHANGELOG.md)
- [Commits](https://github.com/facebook/jest/commits/v29.4.1/packages/jest-environment-jsdom)

---
updated-dependencies:
- dependency-name: jest-environment-jsdom
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-31 11:21:41 +01:00
dependabot[bot] 0544ccb9a9
Bump jest from 29.4.0 to 29.4.1 (#20257)
Bumps [jest](https://github.com/facebook/jest/tree/HEAD/packages/jest) from 29.4.0 to 29.4.1.
- [Release notes](https://github.com/facebook/jest/releases)
- [Changelog](https://github.com/facebook/jest/blob/main/CHANGELOG.md)
- [Commits](https://github.com/facebook/jest/commits/v29.4.1/packages/jest)

---
updated-dependencies:
- dependency-name: jest
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-31 11:21:32 +01:00
Mathieu Pillard 6e4947e581
Add flag to delay auto-approval for unlisted, set it at version creation (#20267)
* Add flag to delay auto-approval for unlisted, set it at version creation
2023-01-31 11:16:45 +01:00
Mathieu Pillard 155e5ff329
Tweak ActivityLog to make activity admin pages more useful (#20246)
* Make ActivityLog admin pages more useful
* Make IPLog unique per activity, show it in activity log admin
* Fix log strings for admin actions: {user} can be the admin user making the change
2023-01-30 21:51:14 +01:00
Andreas Wagner 6de094fa8c
Don't open new tab for false positive scanner result report (#20261)
Fix https://github.com/mozilla/addons-server/issues/20260
2023-01-30 13:57:40 +01:00
wladow 4f296e6273 Pontoon: Update Slovak (sk) localization of AMO
Co-authored-by: wladow <valastiak@mozilla.sk>
2023-01-29 18:41:56 +00:00
Pin-guang Chen 3dbe1a95c6 Pontoon: Update Chinese (Taiwan) (zh-TW) localization of AMO
Co-authored-by: Pin-guang Chen <petercpg@mail.moztw.org>
2023-01-29 08:04:03 +00:00
Olvcpr423 18a1179ea8 Pontoon: Update Chinese (China) (zh-CN) localization of AMO
Co-authored-by: Olvcpr423 <oliverchan86@outlook.com>
2023-01-27 16:51:46 +00:00
Mathieu Pillard 2685f6adf0
Don't try to order querysets when ordering in the admin (#20259)
That fixes ordering by IP, without that changes with the optimizations
made to querysets for counts we'd try ordering on an annotation that
doesn't exist for that queryset... It'd be thrown away before reaching
MySQL, but Django still complains that the field is invalid anyway.

Also fix the test in test_search_by_ip() to make sure to actually order
by IP...
2023-01-27 17:06:58 +01:00
Andreas Wagner f32c4f3870
Add migration for deleting reviewer score (#20254) 2023-01-27 16:49:20 +01:00
Lan Glad 503325605f Pontoon: Update Slovenian (sl) localization of AMO
Co-authored-by: Lan Glad <upwinxp@gmail.com>
2023-01-27 13:32:41 +00:00
Lan Glad 8d437b8b70 Pontoon: Update Slovenian (sl) localization of AMO
Co-authored-by: Lan Glad <upwinxp@gmail.com>
2023-01-27 13:21:31 +00:00
Lan Glad d690fe3ca7 Pontoon: Update Slovenian (sl) localization of AMO
Co-authored-by: Lan Glad <upwinxp@gmail.com>
2023-01-27 13:03:20 +00:00
Mathieu Pillard d821a0bb86
Avoid expensive annotations in admin where possible (#20253)
* Avoid expensive annotations in admin where possible

This adds a separate method available on model admins to add annotations to
the queryset that won't be used when computing the count(*) for a changelist.

This also avoids annotating the queryset with activity and IP information
(avoiding expensive joins) unless necessary for search/display purposes.
2023-01-27 12:00:03 +01:00
Mathieu Pillard fb69e0aab8
Allow sorting by IP addresses in the admin (#20247)
* Allow sorting by IP addresses in the admin

* Add test
2023-01-27 11:57:17 +01:00
KAHINA aea8b71f5e Pontoon: Update Kabyle (kab) localization of AMO
Co-authored-by: KAHINA <kahinamessaoudi03@gmail.com>
2023-01-26 18:52:11 +00:00
dependabot[bot] 029cbcfe10
Bump pathspec from 0.10.3 to 0.11.0 in /requirements (#20243)
Bumps [pathspec](https://github.com/cpburnz/python-pathspec) from 0.10.3 to 0.11.0.
- [Release notes](https://github.com/cpburnz/python-pathspec/releases)
- [Changelog](https://github.com/cpburnz/python-pathspec/blob/master/CHANGES.rst)
- [Commits](https://github.com/cpburnz/python-pathspec/compare/v0.10.3...v0.11.0)

---
updated-dependencies:
- dependency-name: pathspec
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-26 17:22:40 +01:00
Mathieu Pillard 6289dc4052
Remove auto approved and unlisted "queues" (#20242)
* Remove auto approved and unlisted "queues"

Those were never really "queues" and are now just confusing
2023-01-26 17:06:19 +01:00
Mathieu Pillard 8c3ee80b55
Add links and more useful information to inline files in addon admin (#20244)
* Add links and more useful information to inline files in addon admin
2023-01-25 17:34:46 +01:00
dependabot[bot] 8c4cad524d
Bump wcwidth from 0.2.5 to 0.2.6 in /requirements (#20204)
Bumps [wcwidth](https://github.com/jquast/wcwidth) from 0.2.5 to 0.2.6.
- [Release notes](https://github.com/jquast/wcwidth/releases)
- [Commits](https://github.com/jquast/wcwidth/compare/0.2.5...0.2.6)

---
updated-dependencies:
- dependency-name: wcwidth
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-25 12:37:12 +01:00
dependabot[bot] 754c39050a
Bump jest-environment-jsdom from 29.3.1 to 29.4.0 (#20227)
Bumps [jest-environment-jsdom](https://github.com/facebook/jest/tree/HEAD/packages/jest-environment-jsdom) from 29.3.1 to 29.4.0.
- [Release notes](https://github.com/facebook/jest/releases)
- [Changelog](https://github.com/facebook/jest/blob/main/CHANGELOG.md)
- [Commits](https://github.com/facebook/jest/commits/v29.4.0/packages/jest-environment-jsdom)

---
updated-dependencies:
- dependency-name: jest-environment-jsdom
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-25 11:11:18 +01:00
dependabot[bot] b2388b9cec
Bump jest from 29.3.1 to 29.4.0 (#20226)
Bumps [jest](https://github.com/facebook/jest/tree/HEAD/packages/jest) from 29.3.1 to 29.4.0.
- [Release notes](https://github.com/facebook/jest/releases)
- [Changelog](https://github.com/facebook/jest/blob/main/CHANGELOG.md)
- [Commits](https://github.com/facebook/jest/commits/v29.4.0/packages/jest)

---
updated-dependencies:
- dependency-name: jest
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-25 11:11:07 +01:00
wladow b085d1fdb1 Pontoon: Update Slovak (sk) localization of AMO
Co-authored-by: wladow <valastiak@mozilla.sk>
2023-01-25 09:51:00 +00:00
wladow e49239acad Pontoon: Update Slovak (sk) localization of AMO
Co-authored-by: wladow <valastiak@mozilla.sk>
2023-01-25 09:40:50 +00:00
wladow 18e65dd5fa Pontoon: Update Slovak (sk) localization of AMO
Co-authored-by: wladow <valastiak@mozilla.sk>
2023-01-25 09:31:17 +00:00
Jim Spentzos d9e0456d84 Pontoon: Update Greek (el) localization of AMO
Co-authored-by: Jim Spentzos <jimspentzos2000@gmail.com>
2023-01-24 20:31:16 +00:00
Andrew Williamson fe0e401041
Extracted l10n messages from 2023-01-24 at f4e657d8c9 (#20241)
Co-authored-by: Mozilla Add-ons Robot <addons-dev-automation+github@mozilla.com>
2023-01-24 19:22:07 +00:00
Mathieu Pillard f4e657d8c9
Automatically reset due date for listed versions of incomplete/disabled by user add-ons (#20240)
* Automatically reset due date for listed versions of incomplete/disabled by user add-ons

* Allow setting the status of add-ons disabled by user
2023-01-24 19:37:59 +01:00
Andreas Wagner b5674b6203
Increase retention for activity logs that we don't keep forever (#20229)
Fix https://github.com/mozilla/addons-server/issues/20228
2023-01-24 19:29:32 +01:00
Mathieu Pillard 3ed5ff3a16
Update addons.rst (#20223) 2023-01-24 11:11:41 +01:00
Mathieu Pillard b911baeb31
Show maliciousness score in reviewer tools manual queue (#20221)
* Show maliciousness score in reviewer tools manual queue

* Fix old test
2023-01-24 10:54:06 +01:00
wxie 31d0d891f0 Pontoon: Update Chinese (China) (zh-CN) localization of AMO
Co-authored-by: wxie <xiewensheng@hotmail.com>
2023-01-24 03:20:45 +00:00
Michael Wolf f6739844f8 Pontoon: Update Sorbian, Upper (hsb) localization of AMO
Co-authored-by: Michael Wolf <milupo@sorbzilla.de>
2023-01-23 16:54:13 +00:00
Michael Wolf 686efac890 Pontoon: Update Sorbian, Lower (dsb) localization of AMO
Co-authored-by: Michael Wolf <milupo@sorbzilla.de>
2023-01-23 16:54:06 +00:00
Michael Wolf ebf1f5f24e Pontoon: Update Sorbian, Upper (hsb) localization of AMO
Co-authored-by: Michael Wolf <milupo@sorbzilla.de>
2023-01-23 16:40:51 +00:00
Andreas Wagner 23dafafbad
Remove unnecessary line break for review queue flag (#20214)
Fix https://github.com/mozilla/addons-server/issues/20213
2023-01-23 16:33:31 +01:00