Mike Dingjan
24c479d17d
add html message for notifications
2016-03-03 23:05:33 +03:00
Dave Cranwell
e496e7e0b3
Adding overflow to prevent highlighted background showing through top/bottom rounded corners
2016-03-03 15:51:32 +00:00
Dave Cranwell
b46ba9bf4b
userbar_embed.scss no longer used, replaced by userbar.scss
2016-03-03 15:40:35 +00:00
Dave Cranwell
ccfdd98d48
Release notes for edit bird redesign added to docs
2016-03-03 15:29:05 +00:00
Dave Cranwell
2d16bf9606
show-transparency class undocumented previously
2016-03-03 10:16:35 +00:00
Dave Cranwell
cb7084b052
show-transparency missed from image format modal
2016-03-03 10:16:35 +00:00
mr-winter
c185e57347
output sass errors in terminal and prevent gulp watch from exiting
2016-03-03 10:07:45 +00:00
Nicolas Kuttler
7d90344dd6
Update home stats summary CSS
...
The construct_homepage_summary_items hook allows to add items, but if
you use exactly the same markup as wagtail you end up with a bad layout
because the items form rows with no whitespace between them.
This commit changes the padding-bottom of the section into a margin-bottom
of it's <li> items, meaning that they form rows with enough whitespace
in between them, and the whitespace at the bottom is preserved.
2016-03-03 09:57:46 +00:00
Dave Cranwell
98f02ed29b
Release notes for #2303
2016-03-03 09:49:17 +00:00
Charlie Choiniere
0a9ae79ba4
Updated wagtail admin jQuery to version 2.2.1
2016-03-03 09:46:56 +00:00
Dave Cranwell
59f21fe013
Merge pull request #2302 from takeflight/docs/committing
...
Add docs on committing code
2016-03-03 09:28:21 +00:00
Tim Heap
0ead79d286
Release notes for #2266
2016-03-03 02:03:34 +02:00
Liam Brenner
8ca7e807d9
Added tests
2016-03-03 02:02:52 +02:00
Liam Brenner
764b6e3e9b
Fixed the copy function to look in the right place for a parent_link
...
Currently, if you try to copy a Page while using a OneToOneField of
any kind, it will fail.
2016-03-03 02:02:52 +02:00
Tim Heap
74986f7d4d
Add docs on committing code
...
Inspiration and flow from Django's
`internals/contributing/committing-code` docs
2016-03-03 02:00:37 +02:00
Josh Barr
a1a2940495
fixed font size rounding issue in firefox, added contrib notes
2016-03-03 12:29:28 +13:00
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