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

1338 Коммитов

Автор SHA1 Сообщение Дата
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
Andrew Williamson 160036a762
Update authors.rst 2022-05-11 16:52:24 +01:00
Andrew Williamson e4fe20f0ff
addons api (pending) authors create and confirm endpoint (#19191)
* addons api (pending) authors create and confirm endpoint

* update docs; add to tests
2022-05-05 11:25:01 +01:00
Andrew Williamson 1e76ef3adc
add api delete endpoint for addon authors (#19180)
* add api delete endpoint for addon authors

* Update addons.rst
2022-04-29 11:14:00 +01:00
Andrew Williamson be32296cea
drop warning about deleting not working now #8816 is closed (#19169) 2022-04-28 14:31:38 +01:00
Andrew Williamson 822ed2332e
add api endpoint to list, get, and update add-on authors (#19161)
* add api endpoint to list, get, and update add-on authors

* drop mixed up (and redundant) comments
2022-04-28 09:27:09 +01:00
Andrew Williamson 4dd4558194
added addon delete function to addons api (#19147)
* added addon delete function to addons api

* replace jwt with TimestampSigner

* Update docs/topics/api/addons.rst

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

Co-authored-by: Mathieu Pillard <diox@users.noreply.github.com>
2022-04-22 12:34:04 +01:00
Andrew Williamson ab6bf8a4f3
stop compat from being updatable for dictionaries; allow other patches (#19135) 2022-04-20 12:21:34 +01:00
Andrew Williamson 8510f26350
support clearing icon and source as formdata format. (#19112) 2022-04-14 12:02:42 +01:00
Andrew Williamson d3c357b256
enable previews to be created, edited, deleted via addons api (#19091)
* refactor Addon to drop redundant _all_previews cached property

* move resize_preview from dev/utils to addons/utils

* generalize IconField to ImageField

* enable previews to be created, edited, deleted via addons api

* reintroduce some complexity with current_previews because transforms.

* index preview position in ES

* test fixes
2022-04-11 17:54:42 +01:00
Mathieu Pillard 6b5e175a49
Introduce minimal config to make versioncheck works locally (#19045)
This is nicer than having to remember to look up the docs to
do it manually, make it work with docker etc. It works out of
the box.
2022-03-31 13:19:57 +02:00
Andrew Williamson d8949ad9d5
support setting/updating addon icon via the addons api (#19004)
* support setting/updating addon icon via the addons api

* docs typos; make resize_icon an async task.
2022-03-31 12:08:10 +01:00
Andrew Williamson 3c7df0335d
Update auth_internal.rst 2022-03-18 13:15:35 +00:00
Andrew Williamson 9a8c493008
allow contributions_url to be set/changed via addons api (#18970)
* allow contributions_url to be set/changed via addons api

* Update src/olympia/addons/tests/test_views.py

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

Co-authored-by: Mathieu Pillard <diox@users.noreply.github.com>
2022-03-16 09:58:34 +00:00
Andrew Williamson 31196d43ce
Update auth_internal.rst 2022-03-03 13:54:22 +00:00