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

974 Коммитов

Автор SHA1 Сообщение Дата
Mathieu Pillard 99dec0626d Only wrap outgoing links in the API if `wrap_outgoing_links` param is present 2018-02-21 15:58:42 +01:00
Mathieu Pillard 8789f550e5
Merge pull request #7562 from diox/deadline-for-info-requests
Add a (soft) deadline for requests for information
2018-02-19 12:35:02 +01:00
Andrew Williamson 2411973e5d
expose ratings_url in addon API; rename Addon.reviews_url internally. (#7587) 2018-02-16 23:06:18 +08:00
Christopher Grebs 56aba337cf
Update messaging 2018-02-15 17:24:34 +01:00
Christopher Grebs 84e6d6491a
API: Add new 'icons' property to add-on detail.
This exposes add-on icons in sizes 32 and 64 pixels, for compatibility
with the legacy search api.

Fixes #7514
2018-02-15 11:40:15 +01:00
Mathieu Pillard a8236ee58c Update docs copyright to 2018 2018-02-14 22:15:50 +01:00
Andrew Williamson 8be6a7b606
add `with_addons` param to Collection detail/view API (#7546) 2018-02-14 22:22:35 +08:00
Mathieu Pillard 2a377a01cb Add a (soft) deadline for requests for information 2018-02-14 12:52:20 +01:00
Andreas Wagner 55d85cd184
Disable beta version submissions and hide beta versions from listing (#7436)
Disable beta version submissions and hide beta versions from listing
2018-02-13 20:53:03 +01:00
Andrew Williamson 153f883182
slightly reword explanation about src param to files[].rul in version detail api docs (#7531) 2018-02-09 22:52:36 +08:00
Christopher Grebs 818ea06ace
Merge branch 'master' of github.com:mozilla/addons-server into 493-move-olympia-test 2018-02-08 16:43:14 +01:00
Andrew Williamson 7cd7e920ab
Support China Edition disco content (#7493) 2018-02-06 23:12:03 +08:00
Christopher Grebs ec4e23832a
Refactor our tests and code to make better use of settings.TMP_PATH (#7473)
* Revert "Revert "Refactor our tests and code to make better use of settings.TMP_PATH""

This reverts commit 3f7fe78093.

* Try manually checking out the repository
* Run exec as root
2018-02-05 12:46:12 +01:00
Andrew Williamson ac04078895
remove errant `string` in Add-on compat override doc (#7487) 2018-02-05 16:43:01 +08:00
Christopher Grebs c3c31665e2
Revert "Revert "Refactor our tests and code to make better use of settings.TMP_PATH""
This reverts commit 3f7fe78093.
2018-02-02 12:47:50 +01:00
Christopher Grebs c6485f36b4
Merge pull request #7439 from mozilla/3493-improve-jwt-docs
Improve JWT token docs a bit.
2018-01-30 18:27:50 +01:00
Mathieu Pillard e36b4d9252
Add option to disable auto-approvals on an add-on (#7407)
Add option to disable auto-approvals on an add-on
2018-01-30 18:16:25 +01:00
Christopher Grebs 6fdfacd20b
Improve JWT token docs a bit.
Fixes #3493
2018-01-30 15:28:19 +01:00
Christopher Grebs 3f7fe78093
Revert "Refactor our tests and code to make better use of settings.TMP_PATH"
This reverts commit 778a94871a.
2018-01-30 14:22:23 +01:00
Andrew Williamson d2d547948e
Speed up LanguageTools API by cutting out current_version from response (#7403) 2018-01-30 01:04:19 +08:00
Christopher Grebs 17bb6968e5
First part moving to olympia.test 2018-01-26 07:11:48 +01:00
Mathieu Pillard 10e6961047 Change internal auth API token name to be able to clear it completely
Sending multiple Set-Cookie headers with the same name is not allowed
by the spec, even if they have a distinct domain attribute, so we could
not clear the cookie on logout reliably, depending on how the user
logged in. Only solution is to change the name, so that it will be
correct from now on.
2018-01-25 19:48:55 +01:00
Mathieu Pillard 2025e66198 Move Reviews:Edit to Reviews:Admin 2018-01-22 13:19:38 +01:00
Mathieu Pillard 8931c9fd23 Implement extra inline actions on the review page for reviewers and admins
- Subscribing to notifications
- Force disabling/enabling of an add-on (admins)
- Clear needs admin code/content review flag (admins)
2018-01-19 16:25:25 +01:00
Andrew Williamson fe5bdeec73
CompatOverride API (#7339) 2018-01-19 14:34:09 +08:00
Andrew Williamson e555f1540e
Pass along any extra parameters provided to disco API to taar API (#7309) 2018-01-17 01:20:28 +08:00
Mathieu Pillard 50f252b83a Revert "Add `has_addon` parameter to collection list API"
This reverts commit 186110c1b8,
it turns out we don't really need this API, the UX around this
functionality for the frontend has changed.
2018-01-11 15:25:36 +01:00
Mathieu Pillard 186110c1b8 Add `has_addon` parameter to collection list API
This allows clients to do a single API call to return collections for
a user and find out if a given add-on is in them. The frontend will
use that to populate the collections dropdown on the add-on detail
pages when the user is logged in.
2018-01-08 12:16:48 +01:00
Christopher Grebs 1e5de68dac
Merge pull request #7203 from mozilla/simplify-files-tmp-setup
Simplify temporary files setup during tests
2018-01-05 17:29:16 +01:00
Christopher Grebs 778a94871a
Refactor our tests and code to make better use of settings.TMP_PATH
* Also let the dot in py.test die so that upstream is happy again :)
 * Update tox to 2.9.1
 * Make sure that our urlconf is reset *after* we set MEDIA_ROOT
 * Adapt file extraction handling to new TMP_PATH prefixes
 * Less dump_apps hacks since the apps.json file isn't present at the
   beginning of any test now thanks to temporary paths for every separate
   test
 * Rewrite read-only-mode tests to cope with pytest settings fixture
 * Remove atexit hack from settings_test

This will probably make things a lot easier for ui-tests as well.

Fixes #7205
Fixes #7206
2018-01-05 16:41:35 +01:00
Andrew Williamson 7c96e87081
document api addon search by multiple guid (#7213) 2018-01-05 12:02:21 +00:00
Mac Chaffee d75c7b2407
Add new gotcha with elasticsearch and vm.max_map_count 2017-12-11 00:27:09 -05:00
Matthew Riley MacPherson (tofumatt) ee84c9f7a5
docs: Fix homepage prop in account API docs (close #7076) 2017-11-30 10:16:16 +00:00
Christopher Grebs 2d14667e44
Fix pagination docs. I accidentally added this to the wrong branch. 2017-11-23 09:15:27 +01:00
Christopher Grebs b675677a7a
Expose page_count in pagination api. (#6982)
* Expose page_count in pagination api.

Fixes #6919

* Add docs
2017-11-22 15:03:09 +01:00
Andrew Williamson 28c8d9fd7c
pass on locale and platform to TAAR (#6916) 2017-11-14 19:02:58 +00:00
Mathieu Pillard 80f22b28f7 Document is_mozilla_signed_extension in the API 2017-11-13 19:47:53 +01:00
Andrew Williamson 58dcdbddd6
filter out deleted and non-public add-ons by default from collection addon list api (#6855)
+ add filters to include them.
2017-11-07 16:04:30 +00:00
Andrew Williamson fdcf919500
expose preview image dimensions in API (#6803) 2017-11-02 12:26:17 +00:00
Mathieu Pillard 4ccf128a00 Add extra `is_disabled_by_mozilla` property in addon detail API errors 2017-10-26 12:32:29 +02:00
Mathieu Pillard 4b99bbfb8e Add extra `is_disabled_by_developer` property in addon detail API errors 2017-10-25 17:40:35 +02:00
Mathieu Pillard 71bd2a663e Don't return completely empty content on success in review flag API 2017-10-19 11:20:08 +02:00
Andrew Williamson 29fe2a1c9f remove the unused /internal/ api (#6666) 2017-10-12 18:20:16 +01:00
Mathieu Pillard 188c0544af Add sort=random parameter to the add-ons search API (#6649)
Add sort=random parameter to the add-ons search API
2017-10-12 12:19:13 +02:00
Mathieu Pillard 606ca60536 Add a maximum query length limit to the search API 2017-10-10 18:04:15 +02:00
Andrew Williamson 564bd49357 return guid in language-tools API serializer (#6589) 2017-10-05 14:51:05 +01:00
Andrew Williamson f3a2a49a39 Remove unused login api endpoints (#6550) 2017-10-03 13:59:47 +01:00
Apoorva Pandey 1a1fc033d9 Fix link to docker commands in doc (#6563) 2017-10-03 09:40:19 +01:00
Mathieu Pillard ce673f748c Add add-on slug to language tools API responses 2017-09-29 12:55:57 +02:00
Andrew Williamson 0084b31bf2 Add replacement add-ons endpoint for taar to use. (#6517) 2017-09-28 12:08:57 +01:00