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

998 Коммитов

Автор SHA1 Сообщение Дата
Christopher Grebs 4fbbd4b4b2
Fix ordering by collection name in AddonCollectionViewSet. (#8472)
* order_by_translation can now be applied a specific `model` to join on,
e.g in case of a m2n-table where the method couldn't determine the
correct joins correctly.

Fixes #8354
2018-06-08 16:29:43 +02:00
Andrew Williamson 11be612fce
drop title from Rating (migration in following deploy) (#8439) 2018-06-06 09:48:26 +01:00
Andrew Williamson ee613ca761
make sure remote notifications override db stored ones and don't duplicate them (#8423) 2018-06-05 14:24:28 +01:00
Andrew Williamson 651bbda657
API docs update for #8332 (#8348) 2018-05-25 14:02:14 +02:00
Andrew Williamson 7504b7dcdf
/api/v4/reviews/ to /api/v4/ratings/ (#8303) 2018-05-24 14:42:35 +02:00
Andrew Williamson 5828357fd2
have taar lite recommendations use curated fallback if <4 are valid (#8316) 2018-05-22 15:11:42 +01:00
Andrew Williamson 9ffe9f6ad5
document the many types of theme we have (#8321) 2018-05-22 10:17:19 +01:00
Andrew Williamson 968c7636bf
update api docs to refer to /v4/; add explanation of stable /v3/ (#8275) 2018-05-17 12:48:05 +01:00
Andrew Williamson 4e7632fa31
correct accounts API endpoint picture_url documentation (#8247) 2018-05-14 11:15:37 +01:00
Andrew Williamson cae6c3ad2f
drop mozilla-logger and all logging1.0 support (#8242)
* drop mozilla-logger and all logging1.0 support

* drop (hopefully) unused SYSLOG_CSP setting

* drop 'error' formatter; refactor 'debug' formatter format a little
2018-05-11 18:37:42 +01:00
Andrew Williamson 41d8749043
essentially revert #7728 - allow collection lookup by slug only (#8138) 2018-04-30 14:47:08 +01:00
Andrew Williamson 675d8aaf4f
add addon recommendation endpoint (#8126) 2018-04-26 15:53:13 +02:00
Andreas Wagner 828dda1937
Remove all beta versions code (#8100)
Remove all beta versions code
2018-04-24 21:17:03 +02:00
Christopher Grebs 5a26782e19
Remove statistics archiving.
I couldn't find *any* usage data for the statistics archive APIs both in
DataDog and NewRelic so I declare them as safe to remove for now.

From what I can tell we don't limit stats lookups in the dashboard as #1416
never got implemented.

This eases our load on EFS and saves money, especially if that data never really got
used.

Let's think about more future-proof stats solutions instead of keeping
all these hacks.

Fixes #1415
2018-04-20 14:49:30 +02:00
Mathieu Pillard 687117f2a9
Merge pull request #7885 from diox/document-current-version-omitted-fields
Clarify which fields are omitted from which API endpoint in docs
2018-03-22 18:33:49 +01:00
Mathieu Pillard 088756675a Clarify which fields are omitted from which API endpoint in docs 2018-03-22 12:14:21 +01:00
Sanyam Khurana e54a1691c5 Fixes #5379: Remove footer field from theme submission form (#7718)
* Fix #5379: Remove footer field from theme submission form

* Address review comments

* Address review comments
2018-03-21 15:01:39 +01:00
Mathieu Pillard 1b4b7ca4b8 Refactor reviewer flags API into a single endpoint 2018-03-12 20:18:23 +01:00
Andrew Williamson d05aebafda
allow collections to be accessed by id as well as slug in the API (#7728) 2018-03-08 22:04:16 +08:00
Mathieu Pillard aefa2d9a68
Merge pull request #7722 from diox/language-tools-appversion-filtering
Implement appversion compatibility filtering in language tools API
2018-03-06 16:39:22 +01:00
Mathieu Pillard 2e106c7557 Mention in language tools API docs that `type` is mandatory if `appversion` is present 2018-03-06 16:15:56 +01:00
Kumar McMillan d10ada5c51 Clarify that `channel` is a form parameter in the signing API (#7704) 2018-03-06 23:11:23 +08:00
Mathieu Pillard c125bf9354 Implement appversion compatibility filtering in language tools API
- Allow filtering by type to only show language packs
- Expose a new current_compatible_version if appversion is passed.
- This property will fetch the latest publicly available version
  compatible with the appversion passed.
- Replace caching with a filesystem-based implementation to work
  around cache eviction issues.
2018-03-05 15:44:46 +01:00
Benjamin Forehand Jr 66eaaa7b0d
Add Integration test documentation (#7695)
* Initial docs for new ui tests.
2018-03-02 10:13:00 -08:00
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