Commit graph

9137 commits

Author SHA1 Message Date
LB (Ben Johnston)
8812e2aa98
Clear pending AJAX request if error occurs on page chooser
Merge pull request #5179 from gasman/fix/unsuspend-ajax-on-error
2019-05-23 16:47:07 +10:00
LB (Ben Johnston)
e967b9763f
Update documentation - API example of image url to be relative
ImageRenditionField returns a relative URL - The example in the docs shows an absolute URL with the site's hostname, but the ImageRenditionField returns a relative URL.
Merge pull request #5306 from mihow/patch-2
2019-05-23 07:33:12 +10:00
LB (Ben Johnston)
ddbbbe4417
Revise wording of static resources usage in modeladmin documentation
Small wording revision
Merge pull request #5295 from DanielSwain/patch-35
2019-05-23 07:25:12 +10:00
Kalob Taulien
9489cb0758 Added ButtonHelper example code 2019-05-23 07:18:50 +10:00
Jonny Scholes
d76410f5ce
Update CONTRIBUTORS.rst 2019-05-22 20:07:32 +10:00
LB Johnston
bbbb70ae65 Remove explicit stylelint-scss requirement & upgrade config pkg to v0.1.0 2019-05-20 16:42:35 +01:00
LB Johnston
275d28cbff Update JS Docs to reference eslint instead of JS Code Style
- it does not appear that JavaScript code style is in use
- also revise the formatting script to align with actual scripts
2019-05-20 16:42:35 +01:00
LB Johnston
cbe8020527 Docs: Update CSS Guidelines to align with new shared config
- also make changes to set up similar sections to JS docs
2019-05-20 16:42:35 +01:00
LB Johnston
c51147e643 Remove configuration in stylelintrc.yaml & extend shared config instead 2019-05-20 16:42:35 +01:00
LB Johnston
3271d91237 Revise npm run lint to also lint scss files 2019-05-20 16:42:35 +01:00
LB Johnston
adc4767eec Install @wagtail/stylelint-config-wagtail & upgrade stylelint packages 2019-05-20 16:42:35 +01:00
Thibaud Colas
e71fed541c Add release notes for #5292 2019-05-20 15:32:52 +01:00
Thibaud Colas
bdf5185887 Make URL generator preview image alt translateable 2019-05-20 15:32:52 +01:00
Andreas Bernacca
5fef1da5eb Add missing alt attribute to image tags 2019-05-20 15:32:52 +01:00
Andreas Bernacca
aaf0f50c9c Add alt attributes to images that was missing them 2019-05-20 15:32:52 +01:00
Michael Bunsen
b06cb6a6eb
ImageRenditionField returns a relative URL
The example in the docs shows an absolute URL with the site's hostname, but the ImageRenditionField returns a relative URL. 

Relevant source here: https://github.com/wagtail/wagtail/blob/master/wagtail/images/api/fields.py
2019-05-17 16:44:32 -07:00
Thibaud Colas
70a749b10a Add release notes for #5290 2019-05-14 14:16:10 +01:00
Thibaud Colas
96e86a0375 Set up landmarks on more templates 2019-05-14 14:16:10 +01:00
Thibaud Colas
b32bb7383d Fix failing Django tests due to changes in HTML structure 2019-05-14 14:16:10 +01:00
Thibaud Colas
df80f54315 Add missing role="tab" in page editing tabs 2019-05-14 14:16:10 +01:00
Beth Menzies
b6387f79b6 add landmark roles to header and footer 2019-05-14 14:16:10 +01:00
Beth Menzies
a44ff723b0 add trans tags to aria labels 2019-05-14 14:16:10 +01:00
Beth Menzies
966e791b22 add landmarks, use semantic html tags to admin templates 2019-05-14 14:16:10 +01:00
DanAtShenTech
ad7af7e191
Small wording revision 2019-05-13 14:09:18 -04:00
Deniz Dogan
0840b1a355 Add type check to get_rendition_or_not_found
Fixes #5222
2019-05-10 16:04:37 +01:00
Alex Tomkins
4891db0d89 Improve EditHandler __repr__
The string of self.form is the same as form.as_table - which is too verbose.

This updates the __repr__ of EditHandler/FieldPanel to show the class name of the form being used instead (or NoneType if it's None).
2019-05-10 15:35:52 +01:00
Seb
5e15984074 Add type to chunk_size arg for update_index 2019-05-10 14:58:28 +01:00
rinti
1b22794da2 Add correct dir attribute to html tag in admin 2019-05-10 14:47:10 +01:00
Adam
22e9e71ca7 Updated Page Chooser Panel ForeignKey
Needs a related_name
2019-05-10 14:41:09 +01:00
Thibaud Colas
3508f0bdbd Add release notes for #5287. Fix #5258 2019-05-10 14:37:11 +01:00
Thibaud Colas
14cbc699c9 Fix jinjalint error ignores incompatible with bash -o pipefail in CircleCI 2019-05-10 14:37:11 +01:00
Thibaud Colas
b3cd5e0ead Change template to remove HTML validation false positive
See https://github.com/motet-a/jinjalint/issues/19 for further details.
2019-05-10 14:37:11 +01:00
Thibaud Colas
0a2531c1fa Fix invalid HTML in styleguide code sample 2019-05-10 14:37:11 +01:00
Thibaud Colas
e698af8b08 Fix malformed HTML: wrong tags, tags out of place 2019-05-10 14:37:11 +01:00
Thibaud Colas
f7aff62fad Fix malformed HTML: missing bracket in deprecated template 2019-05-10 14:37:11 +01:00
Thibaud Colas
4a9886debd Fix malformed HTML: missing closing p tags 2019-05-10 14:37:11 +01:00
Thibaud Colas
d03642dd38 Configure jinjalint to enforce errors, while filtering-out false positives 2019-05-10 14:37:11 +01:00
Matt Westcott
e1c2410734 Fill in release date for 2.5.1 2019-05-07 22:21:52 +01:00
Matt Westcott
ed96db92f6 Add release notes page for 2.5.1 2019-05-07 18:22:37 +01:00
Adrian Turjak
52fe571eb2 Fix streamfield structblock compare append usage
Append was being called with 2 params, which clearly should
have been a tuple.

Fixes: https://github.com/wagtail/wagtail/issues/5261
2019-05-07 18:22:22 +01:00
David Beitey
602cd50d18 Add Django models import to Site Settings docs 2019-05-03 17:11:27 +01:00
Matt Westcott
51d8cac6f4 Release note for #4906 2019-05-03 16:56:46 +01:00
Matt Westcott
722cd8be10 Test render output of TableBlock directly
This is more transparent and less error-prone than checking one function against another function doing the same thing.
2019-05-03 16:48:57 +01:00
Samuel Mendes
352fa37dda Add documentation on supporting cell alignment 2019-05-03 13:51:51 +01:00
Samuel Mendes
ba78df06bc Upgrade handsontable to 6.2.2 and documentation 2019-05-03 13:36:51 +01:00
Samuel Mendes
7402210f35 Add support for aligment classes from HandsOnTable 2019-05-03 13:36:51 +01:00
Samuel Mendes
31d010cfc6 Upgrade handsontable to version 6.1.1 2019-05-03 13:36:51 +01:00
DanAtShenTech
6989c29d33 Create reference in docs to PostgreSQL backend
wagtailsearch_backends_postgresql was not present in the documentation for reference by change made in this PR:  https://github.com/wagtail/wagtail/pull/5233
2019-05-03 13:36:02 +01:00
Michael Hearn
7c9c00ab7c Don't show pages in explorer that user has no permissions to access
Partially addresses #4660
2019-05-03 11:42:38 +01:00
scil
1e55b98af0 Update performance.rst 2019-05-01 12:58:22 +01:00