* Expose version list for diffing, rework reviewers api to be more concise
We're now mounting any listing/browsing/future diffing APIs under the
already existing addon/<addon_id>/ endpoint which makes the whole
reviewer APIs behave more consistently.
Also implements the listing of versions that can be used for browsing
and diffing.
Fixes#10432
* Simplify view, don't rely on @action decorator but just make it the detail view
* Smaller cleanups, fix permissions
* More smaller cleanups, split list/retreive better
* Fix link in docs
* Improve tests, remove 'should_show_channel' and 'url'
* Smaller performance optimization
* Fix flake8
* Improve docs
* Fix docs for python 3
* Make travis behave like it's inside our container, fix tox/makefile accordingly
* Fix docs build by choosing another label than _search (which is already used)
* Fix codestyle linter issues
* Remove extra force_bytes import
* Add ignore for int|null in docs as it's used in a couple places and it's valid
* Fix more docs build failures in reviewers.rst
Also build docs with -W by default to make future docs breakage
easier to spot locally.
* Leave -f Makefile-docker for UI Tests as they are not running from the standard container
Fixes#10411
This removes unused files.utils helpers `zip_folder_content` and `repack` along the way.
Once this has been merged, ops can remove `GITHUB_API_USER` and `GITHUB_API_TOKEN` from the environment. I actually wonder where they have been generated, e.g to get them revoked?
Also refactors the way we call taar/taar lite since it depends on
a new taar API that needs to be called using POST + a specially
crafted parameter to handle the overrides.
Unfortunately, we'll have to duplicate the environment config but I added
a comment so that should be fine. It's very rarely being used anyway.
Fixes#9288
Adding a slop makes the matching against description & summary more useful,
allowing us to skip words instead of doing a strict match in order. But since
it's potentially costly, we move this to a rescore query and instead do a
regular match for the main query phase.
This makes us try to do an exact match against both the raw name in the
current language, and the raw name in the default locale for each add-on
(only boosting once, thanks to a dis_max query).
The same kind of logic is also added to description and summary matches.
Extra debugging features (search query naming, API returning
matched_queries information, commented out script to update expected
scores in test_search_ranking.py) are included but shouldn't affect
production (or dev/stage) environments.
* Simplify read-only mode, don't set header.
We discussed this in IRC and concluded that we don't need the explicit
header and an explicit "Retry-After" header as well.
* Adds support for `PATCH` methods
* Fix docs, fix other review comments