Ran
|
Jobs
16
|
Files
427
|
Run time
17min
|
Badge
Embed ▾
README BADGES
|
push
travis-ci
Initial work on the Admin API (#2485) * feat(admin/api): Added Admin API * test(admin/api): Tests for admin API * feat(admin/api): Show all pages in admin API (except root) * refactor(admin/api): Restructure to match wagtail.api module * feat(admin/api): Added "status" to pages * feat(admin/api): Added "has_children" to pages * feat(admin/api): Added thumbnail to images * doc(admin/api): Fixes to docstring * feat(admin/api): Changed representation of page meta status Now includes live and has_unpublished_changes split out into separate fields * feat(api): Added get_model_listing_urlpath to router * feat(admin/api): Replaced page has_children with children This allows us to return the count and listing_url of the child pages * feat(admin/api): Bump API version to v2 Since the API is based on WagtailAPI v2. This should hopefully reduce risk of confusion. There won't be an Admin API v1. * Fixed some import paths * Added extra fields into tests * Updated admin API tests for items rename * Revert "feat(api/2): Removed meta from top of listings" This reverts commit fb61033d9. * Rewrite admin meta fields * Fixed admin api tests post rebase * Control which fields are shown in the admin API User defined api_fields no longer affect the admin API * Use unrestricted child_of/descendant_of filters * Revert "Control which fields are shown in the admin API" This reverts commit 90a6758ad. * Updates to admin API for compatibility with changes to api v2 meta field handling * Added type information to admin API * Added latest_revision_created_at field * Added has_children filter * Add parent field * Removed duplicate tests between admin api and public api * isort
25335 of 26580 relevant lines covered (95.32%)
15.24 hits per line
Coverage | ∆ | File | Lines | Relevant | Covered | Missed | Hits/Line |
---|