Mathieu Pillard
c63e07d788
Merge pull request #8776 from diox/discovery-editorialized-recommendations-api
...
Add API to fetch editorial content for disco pane recommendations
2018-07-06 16:07:53 +02:00
Christopher Grebs
224859a641
Document how our search works. ( #8713 )
...
Fixes #8090
This is simply stating the facts about how search currently works. This doesn't mention any improvement ideas in the docs directly.
In addition to that, personal improvement ideas:
* Remove `listed_authors.name` from the scoring, make search against authors only possible via separate field queries, e.g `Search addons author:Chris` or so. This may simplify scoring against the add-on name a lot
* https://github.com/mozilla/addons-server/issues/6815 (Remove prefix boosting to simplify scoring)
* Maybe just use https://www.elastic.co/guide/en/elasticsearch/reference/current/query-dsl-query-string-query.html instead of all our custom rules here and there?
* Remove negative boosts https://github.com/mozilla/addons-server/issues/6838
2018-07-06 14:18:55 +02:00
Mathieu Pillard
4eeb7d0c5c
Add API to fetch editorial content for disco pane recommendations
2018-07-06 14:02:47 +02:00
Mathieu Pillard
236baaefad
Fix typo in API docs: files[].size instead of files[].id
2018-06-29 17:13:10 +02:00
Mathieu Pillard
31be530b52
Remove ability to edit any collection through the frontend with Collections:Edit permission ( #8651 )
...
Remove ability to edit any collection through the frontend with Collections:Edit permission
Admin:Curation gives you the ability to edit collections owned by mozilla through
the frontend. Anything else (i.e., modifying other collections) must be done
through the admin tools.
2018-06-27 15:25:40 +02:00
Christopher Grebs
7982008052
Fix jwt.io link and mention the secret in JWT docs. ( #8625 )
...
Fixes #3493
2018-06-22 17:35:55 +01:00
Mathieu Pillard
84f614afb2
Allow filtering of language tools API by author username
2018-06-20 13:52:48 +02:00
Christopher Grebs
a2ddf0d5f4
Avoid logging through mozlog in tests experiment ( #8528 )
...
Closes #8451 (Doesn't necessary fix it, we don't want a unified logging-level but this PR makes logging much clearer.)
* Don't use verbose mode for tox
* Refactor logging settings
* Fix services logging, correct dev and stage settings, update docs
* Update logging
* Be vigilent about disabling all logging
* Remove MOZLOG_NAME from stage settings
2018-06-18 06:10:26 -07:00
Christopher Grebs
46087ea63e
Completely remove traces of caching.backends settings.
...
Most of this work landed already in
6a8fc341da
and
91605a4c1f
so this is just a follow-up to
remove all other traces.
The removed comment is no longer true, Django received all the necessary
fixes for LocMemCache. On the other hand, LoMemCache is no longer used
for a regular local setup because we are using memcached and try to be
as close to production as possible so this won't change anytime
soon.
2018-06-16 22:56:10 -07:00
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