jordij
36d472ce74
Set a valid request.site in userbar tests
2016-03-03 09:40:21 +13:00
mr-winter
632b0c1821
removed compress, changed static to staticfiles
2016-03-03 09:40:20 +13:00
mr-winter
ff3dc32665
scss linted
2016-03-03 09:40:20 +13:00
mr-winter
d5727a93d9
code clean up
2016-03-03 09:40:20 +13:00
mr-winter
cbb8a7dfd1
code clean up
2016-03-03 09:40:20 +13:00
mr-winter
2de0169fef
improved queryselectors
2016-03-03 09:40:20 +13:00
mr-winter
b8862a8786
fixed nav arrow pointer
2016-03-03 09:40:19 +13:00
mr-winter
1381488ed8
updated tests
2016-03-03 09:40:19 +13:00
mr-winter
2f0b54584b
added permission check to ExplorePageItem
2016-03-03 09:40:19 +13:00
mr-winter
cb15ef271d
added user bar items, improved ui
2016-03-03 09:40:19 +13:00
mr-winter
0d021575b1
inlined wagtail userbar and updated styles
2016-03-03 09:40:19 +13:00
Matt Westcott
9d34ede16f
Generate new translation strings
2016-03-01 20:15:51 +00:00
Matt Westcott
59d010b7a3
Set up translations for wagtail.contrib.settings
2016-03-01 20:15:51 +00:00
Matt Westcott
1ea9a3a90c
Pull new translations from Transifex
2016-03-01 18:29:46 +00:00
Tom Dyson
f1077505c4
Thank USW for Collections
2016-03-01 17:36:13 +00:00
Mikalay Radchuk
1e82450160
Fixes StreamValue unicode compatibility
2016-03-01 16:36:04 +00:00
Matt Westcott
a2bc7341f2
Release note for #2269
2016-03-01 15:53:08 +00:00
Tim Heap
dc0dcc9d9b
Show a message to users who do not have permission to access admin
...
Fixes #1486
2016-03-01 15:46:38 +00:00
Tim Heap
c5dd198856
Fix incorrect user creation in account tests
...
Instead of using `User.objects.create_user`, `User.objects.create` was
used, which does not correctly set the password. The user was then not
logged in, as they had an incorrect password. This error was not caught
by the log in method, or the following tests, as the behaviour for a
user with incorrect permissions was the same as for anonymous users.
The code now uses the correct method, and the tests now assert that the
user is actually logged in.
2016-03-01 15:46:38 +00:00
Matt Westcott
c6140a06f7
Release note / contributor entry for #2256
2016-03-01 15:26:53 +00:00
Adam Bolfik
c3d2bb52ac
Created an overridable function to allow for custom user models. Also, changed the account_management tests to get the test_user via the pk.
2016-03-01 15:06:24 +00:00
Adam
ee09d5e5d6
Updated tests to handle change to WagtailTestUtils
2016-03-01 15:05:21 +00:00
Adam
416e4be27b
Change test util to handle custom user models
...
This should handle custom user models that use either username or email as the 'USERNAME_FIELD'
2016-03-01 15:05:21 +00:00
Dave Cranwell
eb269cab9c
Adding padding back on model_choice_fields which are selects.
2016-03-01 14:28:20 +00:00
Dave Cranwell
020997190c
Addressing misalignment of select fields with their label. Added example of radio widget equivalent in styleguide
2016-03-01 14:28:20 +00:00
Matt Westcott
6ff4b5075a
Fix test for #2279 to satisfy the stricter validation rules from #2278
2016-03-01 13:20:04 +00:00
Karl Hobley
4df84ef231
Don't show all fields by default
2016-03-01 13:12:24 +00:00
Karl Hobley
782f7d1a03
Some cleanup to how meta fields are handled in endpoints
2016-03-01 13:12:24 +00:00
Karl Hobley
0a46c9680f
Implement special "root" page value for child_of/decendant_of filters
...
This adds the ability to specify "root" to the child_of and decendant_of filters, which represents the homepage of the current site.
2016-03-01 13:12:24 +00:00
Karl Hobley
28a7bde212
Added unrestricted child_of/descendant_of filter implementations
...
The unrestricted versions will be used by the admin API
2016-03-01 13:12:24 +00:00
Karl Hobley
945728f9e1
Made document tags a meta field
2016-03-01 13:12:24 +00:00
Karl Hobley
c2045ccd79
Made image tags a meta field
2016-03-01 13:12:24 +00:00
Karl Hobley
364115fb1e
Made "meta" configurable and moved some page fields into it
2016-03-01 13:12:24 +00:00
Karl Hobley
10c65d6881
Refactor meta serialisation
...
This is preparation for implementing better customisation of the meta section (allowing user fields to be added here).
All meta field classes have been broken down into parts. So DocumentMetaField/PageMetaField/etc have been broken down to TypeField, DetailUrlField, etc.
I have made the following public-facing changes to the API along the way:
- page "parent" field has moved into meta
- page "parent" is always present now, it will be serialised to null on homepages instead of disappearing
- Child relations now have id and meta
2016-03-01 13:12:24 +00:00
Karl Hobley
3cc0662d42
Revert "feat(api/2): Removed meta from top of listings"
...
This reverts commit fb61033d9ffc5f460a3fa3704a8b13350b25dd03.
2016-03-01 13:12:24 +00:00
Karl Hobley
858e97d95d
Renamed "results" to "items"
2016-03-01 13:12:24 +00:00
Karl Hobley
c09059cc44
Disable html_url if wagtail serve view is not registered
2016-03-01 13:12:24 +00:00
Michael Fillier
b391cbfd62
Added 'operator' to the API
2016-03-01 13:12:24 +00:00
Karl Hobley
b4e6229b37
feat(api/2): Added some more default fields to the pages endpoint
2016-03-01 13:12:24 +00:00
Karl Hobley
40de7d9090
feat(api/2): Allow multiple page types to be specified in type filter
2016-03-01 13:12:24 +00:00
Karl Hobley
30ec65fc13
feat(api/2): Show all available fields by default
2016-03-01 13:12:24 +00:00
Karl Hobley
4fb09ad7ca
feat(api/2): Renamed results list to "results"
2016-03-01 13:12:24 +00:00
Karl Hobley
0c9951928f
feat(api/2): Removed meta from top of listings
2016-03-01 13:12:24 +00:00
Karl Hobley
ada810cce3
cleanup(api/2): No longer need "show_details"
2016-03-01 13:12:24 +00:00
Karl Hobley
7d24d56493
feat(api/2): Make document download_url available in listings
2016-03-01 13:12:24 +00:00
Karl Hobley
6d06aa4ef5
feat(api/2): Add "html_url" to page meta
2016-03-01 13:12:24 +00:00
Karl Hobley
b832672811
feat(api/2): Added new module for WagtailAPI v2
2016-03-01 13:12:24 +00:00
Karl Hobley
e3504af94c
feat(api): Added wagtail.api module
2016-03-01 13:12:24 +00:00
Karl Hobley
dc3910a613
Changelog/release note/contributor for #2279
2016-03-01 12:32:09 +00:00
Kaitlyn Crawford
8c8584922e
removed restriction to only search on title field
2016-03-01 12:29:47 +00:00