0
0
mirror of https://github.com/wagtail/wagtail.git synced 2024-11-29 17:36:49 +01:00
Commit Graph

6056 Commits

Author SHA1 Message Date
Tim Heap
5fdc50d9ff Add StreamBlockValidationError exception
This encapsulates the specific way that StreamBlocks expect their
ValidationErrors to be formatted.
2016-03-07 14:08:03 +00:00
Tim Heap
9ae69ed8f2 Teach StreamBlocks about NON_FIELD_ERRORS
A StreamBlock can now have NON_FIELD_ERRORS as part of its error dict.
These will be displayed as error messages above the StreamBlock in the
admin upon form submission.

No code in Wagtail currently makes use of this feautre. It is available
for developers of sites to use in their custom StreamField blocks.
2016-03-07 14:08:03 +00:00
Michael van Tellingen
e7ace5c181 Dependency update: Support django-treebeard 3.0 and 4.0 releases
The admin extensions in django treebeard 3.0 are not compatible with
Django 1.9. Although these are not used by Wagtail they are used in
other projects (e.g. Oscar), so we should allow treebeard 4.0 which
is compatible with Django 1.9.
2016-03-07 12:33:28 +00:00
Matt Westcott
a6647c33c8 Use specific page models on explorer page listing.
In particular, this ensures that any custom URL routes defined on the page model
are respected by the 'live' link:
https://groups.google.com/d/msg/wagtail/qAmI4HbJfCI/9fxvoCmMEQAJ
2016-03-07 10:00:45 +00:00
Josh Barr
2c25ce153e gitignore clients nodemodules 2016-03-07 09:54:07 +00:00
Josh Barr
cf23387843 replace pushd with cd 2016-03-07 09:54:07 +00:00
Mikalai Radchuk
660278d417 Fixes typos in docs for #2201 and #2302 2016-03-07 09:47:40 +00:00
Tom Dyson
08f808d003 Add Josh to authors 2016-03-06 21:10:02 +00:00
Matt Westcott
9247007bc6 Add Loic Teixeira to contributors 2016-03-06 21:07:14 +00:00
Loïc Teixeira
10791a9c0b Remove dead link
The raw html which can be found on the repository states:
	Update 08/09/2015: This tutorial has been written during the first days of Wagtail, when documentation and tutorials about it were sparce; right now it should be considered by all accounts obsolete and not be followed! Instead, you should read the official (and very well written) tutorial in the official Wagtail documentation!
2016-03-06 21:05:05 +00:00
Loïc Teixeira
5429c007ad Fix internal links 2016-03-06 21:05:05 +00:00
Loïc Teixeira
33aad3957f Fix internal links with anchors
Generating links with `link text <./path/to/doc#anchor>`__ does not work for html.
It produces a link to `./path/to/doc#anchor` instead of `./path/to/doc.html#anchor`.

It would be tempting to add `.html` before `#` but would likely cause some more issues
when generating the documentation as pdf or epub.

References on the other hand will work regardless of the output format.
2016-03-06 21:05:05 +00:00
Matt Westcott
49e2de9813 fix doc rendering error in wagtailuserbar code block 2016-03-06 21:02:51 +00:00
Mikalai Radchuk
cd355b2fb7 Fixes release notes for #2253 2016-03-04 15:07:00 +03:00
Mikalai Radchuk
72d9ae81b5 Release notes for #2253 2016-03-04 00:02:09 +03:00
Mike Dingjan
e90ef3357b added base text template and some minor tweaks / cleanup 2016-03-03 23:05:35 +03:00
Mike Dingjan
720646e22f moved tag loading to top 2016-03-03 23:05:34 +03:00
Mike Dingjan
90cb46c4ef reduce image height in e-mail template 2016-03-03 23:05:34 +03:00
Mike Dingjan
1f65a4aae6 updated documentation regarding html notifications 2016-03-03 23:05:34 +03:00
Mike Dingjan
a86b82190c use clickable links in html e-mail 2016-03-03 23:05:34 +03:00
Mike Dingjan
0196178f2f added missing static template tag loading 2016-03-03 23:05:34 +03:00
Mike Dingjan
be36866e08 added blocks for easy re-branding 2016-03-03 23:05:34 +03:00
Mike Dingjan
7f579f5091 removed unused imports 2016-03-03 23:05:34 +03:00
Mike Dingjan
0b2dd256b2 removed setting again 2016-03-03 23:05:34 +03:00
Mike Dingjan
c056290f09 add HTML template 2016-03-03 23:05:34 +03:00
Mike Dingjan
0e52439ba1 removed site_url and depend on the BASE_URL, like it used to do 2016-03-03 23:05:34 +03:00
Mike Dingjan
1cf5a55857 wrong template extends path 2016-03-03 23:05:34 +03:00
Mike Dingjan
613be97240 make sure HTML e-mail is sent when enabled in settings 2016-03-03 23:05:34 +03:00
Mike Dingjan
b10d122d50 refactor the e-mail templates for notifications 2016-03-03 23:05:33 +03:00
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