Kevin Meinhardt
14aded3570
Add email verification feature ( #21672 )
...
* feat(): disable devhub.verify_email without waffle switch
* chore(devhub): migration - add suppress-email waffle switch + docs
2024-01-09 13:46:22 +01:00
Mathieu Pillard
3b44a68cab
Add a separate "Something else" reason for new feedback form abuse reports ( #21663 )
...
* Add a separate "Something else" reason for new feedback form abuse reports
* Fix docs
2024-01-05 17:19:26 +01:00
Mathieu Pillard
b6a67ae4db
Duplicate services/ URLs under /api/v5/services/ ( #21656 )
...
* Duplicate services/ URLs under /api/v5/services/
This makes it easier to reach those views for testing purposes, enabling
us to reach client_info/ from services.a.m.o. domain or test the various
40x/500 handlers from an API perspective.
* Docs, only include relevant endpoints, support 403
2024-01-04 11:55:18 +01:00
Kevin Meinhardt
1eb23be68f
chore(): add .md support in docs ( #21522 )
...
* chore(): add .md support in docs
* tmp(): manually adding PyYAML
* tmp: another one
* tmp: more deps
* tmp: install double transitive dep
2023-12-06 17:56:40 +01:00
Andrew Williamson
26aad235d8
store/return lang param for all abuse report types ( #21531 )
2023-12-04 10:19:47 +00:00
Mathieu Pillard
1e1b08fb51
Add tests for passing an id as integer in the abuse report API ( #21428 )
...
* Add tests for passing an id as integer in the abuse report API
* Also document that we allow integers
2023-11-13 21:23:15 +01:00
Mathieu Pillard
f6169df4cb
Allow Abuse Reports to be filed against Collections ( #21417 )
...
* Allow Abuse Reports to be filed against Collections
2023-11-13 10:55:00 +01:00
Mathieu Pillard
3fb5e67ef7
Add feedback_spam as one of the possible reasons for user reports ( #21414 )
...
(Technically allows it for ratings too, but unused/undocumented at
the moment as the plan is to use the old flagging system for those)
2023-11-09 12:01:33 +01:00
Andrew Williamson
8a07cad47b
replace force disable/enable buttons with actions ( #21382 )
...
* 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
2023-11-07 17:30:58 +00:00
Mathieu Pillard
f9e99229c8
Allow reports against users with a reason ( #21391 )
2023-11-06 12:31:43 +01:00
Mathieu Pillard
1657c2d938
Allow Abuse reports to be sent against Rating ( #21364 )
...
* Allow Abuse reports to be sent against Rating
Includes refactors to share some logic between different kinds of abuse reports
2023-11-02 13:59:33 +01:00
Mathieu Pillard
e5de4ecc7c
Merge per-application categories, add command to merge and clean up obsolete ones ( #21212 )
...
Expose categories flat in API v5, add compatibility shim for previous versions.
2023-10-26 14:43:31 +02:00
Andrew Williamson
d93167c2fd
add location to abuse api ( #21331 )
2023-10-24 13:57:45 +01:00
Andrew Williamson
a07c5865a9
update abuse api to support reporter name&email and report to cinder ( #21287 )
...
* update abuse api to support reporter name&email and report to cinder
* add waffle switch
* fix migration + rename to CinderUnauthenticatedReporter
2023-10-06 15:23:25 +01:00
dependabot[bot]
d304e21659
Bump sphinx-rtd-theme from 1.2.0 to 1.3.0 in /requirements ( #21117 )
...
* Bump sphinx-rtd-theme from 1.2.0 to 1.3.0 in /requirements
Bumps [sphinx-rtd-theme](https://github.com/readthedocs/sphinx_rtd_theme ) from 1.2.0 to 1.3.0.
- [Changelog](https://github.com/readthedocs/sphinx_rtd_theme/blob/master/docs/changelog.rst )
- [Commits](https://github.com/readthedocs/sphinx_rtd_theme/compare/1.2.0...1.3.0 )
---
updated-dependencies:
- dependency-name: sphinx-rtd-theme
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
* Include sphinxcontrib-jquery to fix local install search
---------
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Mathieu Pillard <diox@users.noreply.github.com>
2023-09-28 00:43:10 +02:00
Philip
d07d04cb6c
Fix typos in docs ( #21219 )
2023-09-25 15:18:30 +01:00
Mathieu Pillard
b8e34f78ec
Always enable sphinx_rtd_theme ( #21173 )
2023-09-11 12:26:08 +02:00
Mathieu Pillard
0cf2a729ed
Fix API documentation for file status ( #20871 )
2023-06-22 17:37:58 +02:00
Andrew Williamson
367a0849a6
return is_all_versions property in Block serializer ( #20858 )
2023-06-21 15:52:03 +01:00
Andrew Williamson
998a2b7cdc
create BlockVersion instances for versions in Block.min - max ( #20837 )
...
* create BlockVersion instances for versions in Block.min - max
* review fixes
2023-06-16 15:22:17 +01:00
Mathieu Pillard
39df72d1d9
Drop needs admin code and content review flags (keep theme) ( #20815 )
...
* Drop needs admin code and content review flags (keep theme)
2023-06-12 18:05:16 +02:00
William Durand
22be8626a5
Add an API endpoint for the browser mapping ( #20800 )
2023-06-12 14:19:03 +02:00
Tim Pillard
7f61d54bed
Rating sort param consistency in addons search ( #20770 )
...
* Add sort=ratings sorting param for consistency
See https://github.com/mozilla/addons-server/issues/20763
* Add test_sort_ratings search filters test
- Ensure "sort=ratings" is supported, preferred
- Ensure "sort=rating" is still supported, for backwards compatibility
- Update existing tests using "sort=rating" to use the new preferred parameter
See https://github.com/mozilla/addons-server/issues/20763
* Update addons search endpoint ratings sort documentation
Mention sort=ratings parameter being preferred.
Mention sort=rating parameter being still supported for backwards-compatibility but deprecated.
See https://github.com/mozilla/addons-server/issues/20763
* Update v5 API changelog for Addons search endpoint sort=ratings param renaming
2023-06-01 16:45:25 +02:00
Mathieu Pillard
3ef358c672
Switch to docker compose v2 (plugin) instead of v1 (docker-compose pip package) ( #20755 )
2023-05-26 14:05:21 +02:00
Mathieu Pillard
0e8092fedb
Clarify that authentication is not mandatory in API calls ( #20743 )
...
* Clarify that authentication is not mandatory in API calls
* Update auth.rst
* Update docs/topics/api/auth.rst
Co-authored-by: Andrew Williamson <awilliamson@mozilla.com>
---------
Co-authored-by: Andrew Williamson <awilliamson@mozilla.com>
2023-05-25 12:19:53 +02:00
Shin'ya Ueoka
b400ea0c46
replace git protocol with https ( #20574 )
...
Cloning via git:// is no longer supported on GitHub.com.
Use https:// protocol on on `git clone` procedure instead.
2023-05-17 11:38:03 +02:00
dependabot[bot]
fe32e53488
Bump sphinx from 6.1.3 to 6.2.0 in /requirements ( #20609 )
...
* Bump sphinx from 6.1.3 to 6.2.0 in /requirements
Bumps [sphinx](https://github.com/sphinx-doc/sphinx ) from 6.1.3 to 6.2.0.
- [Release notes](https://github.com/sphinx-doc/sphinx/releases )
- [Changelog](https://github.com/sphinx-doc/sphinx/blob/master/CHANGES )
- [Commits](https://github.com/sphinx-doc/sphinx/compare/v6.1.3...v6.2.0 )
---
updated-dependencies:
- dependency-name: sphinx
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
* Remove legacy cruft
* Doc fixes
---------
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Mathieu Pillard <mpillard@mozilla.com>
2023-04-26 11:52:08 +02:00
Andrew Williamson
81b3b20758
drop signing api from api/v5+ ( #20568 )
2023-04-12 15:52:28 +01:00
Mathieu Pillard
5c0e7a3c88
Merge deployment and development Dockerfiles ( #20480 )
...
* Merge deployment and development Dockerfiles
* Stop using root to install dependencies
* Run make commands from os with --user olympia
2023-03-23 15:46:56 +01:00
Bob Silverberg
672b9a95c7
Update the version detail API to report host_permissions ( #20436 )
2023-03-10 14:28:26 -05:00
Andrew Williamson
906739fd38
raise validation error on bad lang request values ( #20438 )
...
* escape (incorrect) lang request values in the response
* raise validation error for a bad locale code
* different test for flat translation reponses
* return bad lang value without escaping
* Update overview.rst
2023-03-09 15:24:24 +00:00
Andrew Williamson
a9ce3cc7bc
add is_disabled to DeveloperVersionSerializer and update ( #20396 )
2023-03-02 11:51:36 +00:00
Mathieu Pillard
eba8fd0ddb
Allow looking up versions by version number in the add-on versions API ( #20394 )
...
* Allow looking up versions by version number in the add-on versions API
2023-02-28 12:08:31 +01:00
Bob Silverberg
9ba4d6c404
Remove code related to old canned responses feature ( #20382 )
2023-02-22 10:28:17 -05:00
Andrew Williamson
0d1b517485
update out of date BSD and MIT license links ( #20373 )
...
* update out of date BSD and MIT license links
* correct url in docs
2023-02-21 14:19:44 +00:00
Mathieu Pillard
918288b6c9
Expose the version used at creation/update in add-on API ( #20367 )
...
* Expose the version used at creation/update in add-on API
2023-02-20 13:54:34 +01:00
Bob Silverberg
fe4e9eda04
Remove the canned-responses endpoint ( #20355 )
2023-02-16 07:42:53 -05:00
Mathieu Pillard
dcfe5e87e0
Show & Allow removing Unlisted Auto-Approval Extra Delay in review tools ( #20297 )
...
* Show & Allow removing Unlisted Auto-Approval Extra Delay in review tools
Also refactor how flags are displayed, adding a couple new ones and hiding the ones that are not relevant to the version shown in the review page because of the channel.
2023-02-09 15:01:01 +01:00
Mathieu Pillard
b54e6b4cae
Reformat docs/conf.py and update year ( #20325 )
2023-02-09 14:14:45 +01:00
Mathieu Pillard
3ed5ff3a16
Update addons.rst ( #20223 )
2023-01-24 11:11:41 +01:00
Andrew Williamson
9035c69546
add the ability to delete versions via the API ( #20143 )
...
* add the ability to delete versions via the API
* add extra tests
* fix test with JWT auth
* fix undefined sorting in test
* test for normal reviewer access too
2023-01-05 23:18:07 +00:00
William Durand
b714e8f124
Add `unified_context_menu` to the list of allowed abuse report entrypoints ( #20099 )
2022-12-14 14:58:42 +01:00
Mathieu Pillard
3f83f99131
Remove old update service ( #20086 )
...
* Remove old update service
* Remove more code/docs associated with services/
* Add some missing pytest.mark.django_db that the autouse fixture was hiding...
* Remove extra import
* Add a comment documenting what the update URL typically looks like
2022-12-12 12:45:11 +01:00
Andrew Williamson
e6eda91e40
Add an appversions list endpoint ( #20067 )
2022-12-09 00:44:04 +08:00
Adil El Harti
47253c58f4
Return `icons` object in autocomplete API response ( #19987 )
...
Fixes https://github.com/mozilla/addons-server/issues/19838
2022-11-23 11:17:01 -05:00
Mathieu Pillard
d5f9edf5d6
Validate incoming client_ids and guids more thoroughly ( #19704 )
2022-09-20 14:07:08 +02:00
Andrew Williamson
1d71d12400
allow approval notes to be set by developers via the addon submission api ( #19579 )
...
* allow approval notes to be set by developers via the addon submission api
* don't commit migration yet
2022-08-19 09:40:57 +01:00
Andrew Williamson
a0476b78ec
Implement addon PUT as full-update or create ( #19342 )
...
* Implement addon PUT as full-update or create
* refactor serializers and views to use common code
* update self.action when we create from a PUT
* Enforce a GUID in the manifest for PUT
2022-06-13 16:11:33 +01:00
Mathieu Pillard
b15859e633
Remove sync_objects_to_basket and associated code ( #19309 )
...
It was never enabled in production and we have no plans to ever
resume that work.
2022-06-07 12:59:04 +02:00
Andrew Williamson
cc2fadf6b3
Allow default_locale to be set/changed via the API ( #19290 )
...
* Allow default_locale to be set/changed via the API
* rewrite some of the test comments to make it clearer what's going on
2022-05-27 13:05:40 +01:00