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

852 Коммитов

Автор SHA1 Сообщение Дата
Mathieu Pillard 797a9b1883 Fix the URL for reviews list in API documentation 2017-02-16 21:36:55 +01:00
Mathieu Pillard 9031a6bb7d Refactor reviews API to change the URL to /api/v3/reviews/review/...
As a result of this, the addon (or user when listing) must now be
passed in GET/POST data. This allows the client to filter on both
parameters at the same time.
2017-02-16 11:22:28 +01:00
Andrew Williamson 7bc0463e97 Add API support for webextension permissions (#4651) 2017-02-14 15:58:19 +01:00
Mark Striemer 2b2fe676d3 Logout API for mobile pages (#4590)
Supports mozilla/addons-frontend#1557.
2017-02-07 11:25:28 -06:00
Christopher Grebs 7debceccd3 Merge pull request #4505 from mozilla/feature/2593-supercreator-createuser
Extend createsuperuser command to allow SuperCreate assignment.
2017-01-31 17:09:46 +01:00
Christopher Grebs d2fbdc8ebe Extend createsuperuser command to allow SuperCreate assignment.
This re-adds --no-input arguments and handles it properly.

Fixes #2593
2017-01-31 14:49:20 +01:00
Andrew Williamson 1bd7fcc7ac update signing api docs with detail on `channel` parameter (#4530) 2017-01-30 18:46:41 +00:00
Andreas Wagner 6240aaf007 Rename editor to reviewer 2017-01-24 11:15:39 +01:00
Andy McKay 6f8f61a89e explain setup more 2017-01-13 09:09:39 -08:00
Andy McKay 29dfdd349f fix documentation url 2017-01-03 14:44:08 -08:00
Andy McKay d5f02bc9db Merge pull request #4170 from andymckay/github-again
github validate hook again
2017-01-03 09:13:33 -08:00
Mathieu Pillard dbb61e0907 Add explicit sort by relevance option in search API
Also fix docs to explain that sorting by relevance will be the
default if a search query is specified.
2017-01-03 15:17:39 +01:00
Andy McKay 99835d73ca update after feedback 2016-12-23 12:18:42 -08:00
Andy McKay 8cda544825 github validate hook again 2016-12-23 11:43:57 -08:00
Mathieu Pillard 1c21a0cc5c Add 'slug' to the convenience add-on object in review API
Fix #4038
2016-11-22 14:48:27 +01:00
Mathieu Pillard 7892a039c6 Stop exposing {addon}.is_listed in the API
Consumers should look at the version channel instead since add-ons
will soon be able to have both listed and unlisted versions.

Fix #3922
2016-11-21 13:08:13 +01:00
Matthew Riley MacPherson 221685d840 Add license info to current_version (fix #3964) 2016-11-17 11:44:28 +00:00
Mathieu Pillard ec9aa9e76d Filter versions API by channel, and expose channel property
This is a backwards-incompatible change, the values for the
`filter` parameter are changing. In addition, permission checks
are enforced more strictly, returning 401/403 when trying to use
a filter that the client does not have the right permissions for.
2016-11-09 15:35:23 +01:00
Mathieu Pillard fe0cd88b38 Expose latest unlisted version in API for authors/unlisted reviewers 2016-11-08 17:25:35 +01:00
Christopher Grebs 0fad54879b Correct reference to install-with-docker section. Fixes #3897 2016-10-31 10:58:34 +01:00
Christopher Grebs c7c324c2be Fix typo in categories api docs. 2016-10-28 14:36:25 +02:00
Stuart Colville 2b8fa02964 Fix typo 2016-10-27 17:24:04 +01:00
Mark Striemer 40187ce88e Document requirements for third-party usage (#3867) 2016-10-27 11:10:05 -05:00
Christopher Grebs 07a652f51d Implement a new /v3/categories/ endpoint for our static categories.
Fixes #3676, supports mozilla/addons-frontend#1237
2016-10-26 19:53:26 +02:00
Stuart Colville 631ee589dd Make warning about sharing API creds clearer 2016-10-20 09:34:14 +01:00
Mark Striemer fe20a9de16 Include AddonViewSet in internal views (fixes #3798) (#3800) 2016-10-19 14:12:58 -05:00
Mathieu Pillard 5d9b0ecacf Bring back documentation about how the translations app works 2016-10-19 12:50:56 +02:00
Christopher Grebs c4fac768ba Enhance JWT docs (ntp, new expiration time) (#3709)
* JWT-Docs: Note our longer expiration time.
* Suggest using tlsdate instead of NTP for security reasons.

Fixes #3689
2016-10-10 18:06:53 +02:00
Mathieu Pillard d7c5cb44f9 Add user id to user object in API responses 2016-10-10 15:46:34 +02:00
Christopher Grebs ad307c697e Suggest using tlsdate instead of NTP for security reasons. 2016-10-10 15:28:58 +02:00
Christopher Grebs baa2fb55cb JWT-Docs: Note our longer expiration time. 2016-10-10 15:25:39 +02:00
Christopher Grebs 2eb78a0bc7 Remove accidental doc change. 2016-10-06 22:16:43 +02:00
Christopher Grebs c7f43a186f Include version ID in review API response. Fixes #3680
This returns an object for `review.version` rather than just
the actual id but still allows for only receiving the id
for `POST` and `PATCH` requests.
2016-10-06 12:31:39 +02:00
Mark Striemer 3311fb4291 Remove password support from super user create (supports #3049) (#3613) 2016-09-29 08:53:50 -05:00
Mathieu Pillard d1f1d09030 Merge pull request #3611 from diox/reviews-api-improve-docs
Improve Reviews API docs
2016-09-27 14:24:38 +02:00
Mathieu Pillard 337b6f20d3 Improve Reviews API docs
Also move flag error to the right field instead of exposing it
as __all__.
2016-09-27 11:29:04 +02:00
Mathieu Pillard d778caffdd Include add-on id in review API responses 2016-09-24 13:37:49 +02:00
Mathieu Pillard 96779aa20a Merge pull request #3551 from diox/api-reviews-ratings-aggregate
Add rating aggregates to the add-on review list API, if requested.
2016-09-21 13:46:57 +02:00
Mathieu Pillard 12662f4074 Add rating aggregates to the add-on review list API, if requested. 2016-09-20 11:52:46 +02:00
Mathieu Pillard 8ddc1c4449 Fix function declarations with mutable default arguments 2016-09-19 20:13:32 +02:00
Mathieu Pillard 002aab96d2 Filter reviews API list to show only latest reviews by the same user/addon
Also add is_latest and previous_count information to the serialization.
2016-09-16 17:33:42 +02:00
Andrew Williamson a0facd5236 Add API endpoint to process POST email content and add to activity log;
emails received send notification emails;
review emails and notification emails can be replied to.
2016-09-13 18:29:43 +01:00
Mathieu Pillard 63be4b1561 Merge pull request #3480 from diox/api-reviews-flag
Add API to flag a review
2016-09-13 13:41:48 +02:00
Mathieu Pillard 4b9d26321b Add API to flag a review 2016-09-12 18:15:03 +02:00
Mathieu Pillard d93da48ed1 Merge pull request #3479 from diox/update-docs-copyright
Update docs copyright
2016-09-12 13:54:13 +02:00
Mathieu Pillard 6bb41b5034 Update docs copyright 2016-09-12 13:52:38 +02:00
Mathieu Pillard 1bc82a73e4 Allow admins to see deleted reviews in the API if they want to
Also allow developers to edit their replies while I was refactoring.
2016-09-08 16:37:07 +02:00
Mathieu Pillard a0a8515558 Add API to edit and delete an add-on user review 2016-09-06 17:52:40 +02:00
Mathieu Pillard ce0f2d9e57 Merge pull request #3411 from diox/ratings-api-reply
Add API allowing developers and admins to reply to add-on reviews
2016-09-06 14:00:40 +02:00
Stuart Colville ff0c4405b0 Merge pull request #3404 from muffinresearch/fix-docker-ports-and-docs
Add docs for docker for mac + windows and change port config
2016-09-05 18:24:24 +01:00