Andy Babic
37bbbb9dba
Improved code separation in contrib.modeladmin
( #3467 )
...
* Split `helpers.py` into separate `url.py`, `permission.py` and `button.py`, dedicated to those separate concerns and update the docs accordingly
* Move `ThumbnailMixin` out to `mixins.py` and update documentation accordingly
* Ad #NOQA to import lines to hush pep errors
* Alphabetise helper import order
* - Delete `helpers/helpers.py`
- wagtal -> wagtail in docs
2017-03-28 10:34:03 +01:00
Mikalai Radchuk
35a1af2b3b
Release notes for #3482
2017-03-27 20:28:45 +03:00
Ramon de Jezus
df12154216
Added a titletag for the “Pages using <model>” page
2017-03-27 20:17:27 +03:00
Michael van Tellingen
8decb577ce
Add appyveyor config ( #3505 )
...
* Add appyveyor config
This commit does add settings for using mssql on appveyor
but there are still some issues with timeouts. For now only
the sqlite build is enabled.
Note that the build currently (correctly) fails on windows
* Fix unittests on Windows (in wagtaildocs)
The document.file.name attribute doesn't contain a valid path separator
on windows. Use document.file.path for comparison instead.
2017-03-27 13:10:25 +01:00
Janneke Janssen
4ab57ddd1f
Fixes invalid focal_point for hiding the marker if no focal point is applicable
2017-03-26 13:30:56 +02:00
maartenkling
270ac669a8
Added remove focalpoint button
2017-03-26 13:27:35 +02:00
Kees Hink
a2b9c2bfe4
Document pep8 issues to ignore ( #3503 )
...
* Docs: E501 is not the only PEP8 violation we accept.
* Add the list of PEP8 violations we accept to tox.ini
2017-03-25 15:10:12 +01:00
Michael van Tellingen
ee567a4db3
Move the code from Site.find_for_request() to separate module ( #3500 )
...
Create ``sites.get_site_for_hostname(hostname, port)`` for better
reusability.
Co-authored with @mikedingjan
2017-03-25 13:25:16 +01:00
Wietze Helmantel
a6bb67f75d
Fixes ticket #2251 . Implemented is_multipart on EditHandler and created tests.
2017-03-25 13:20:24 +01:00
Christine Ho
78a2e8ae96
Display a comma separated string for fields returning content as lists
2017-03-24 14:30:01 +01:00
Rob Moorman
d5d23b01a5
Fix missing target for django-bakery docs
2017-03-24 14:27:59 +01:00
Ralph Jacobs
87a7a798c9
Change scroll factor to make it more userfriendly
2017-03-24 14:01:17 +01:00
Ralph Jacobs
e262867c7a
Upgrade vendor library
2017-03-24 13:54:38 +01:00
Kees Hink
6961f33078
Restrict view_draft to can_publish / can_edit permissions ( #3474 )
2017-03-24 11:54:10 +01:00
Janneke Janssen
20e8aabdf9
Release notes for #3291 / #3481
2017-03-24 11:52:38 +01:00
Janneke Janssen
5b5e5848ca
Removed left over icon-user class within the user listing
2017-03-24 11:47:16 +01:00
Janneke Janssen
7e3030ed90
Removed icon-user class from the avatar within the styleguide
2017-03-24 11:47:16 +01:00
Thijs Kramer
d1aace4af2
Remove icon classes from avatars and remove the check if a user has an email address
2017-03-24 11:47:16 +01:00
Thijs Kramer
07a9174e92
Remove :before style rules from avatar class
2017-03-24 11:47:16 +01:00
Thijs Kramer
0378572237
Make mystery man the default Gravatar image
2017-03-24 11:47:16 +01:00
Thijs Kramer
1386667a2e
Remove user icon from avatar
2017-03-24 11:47:16 +01:00
Thijs Kramer
5de897f55b
Remove icon classes and add alt attribute to avatar image
2017-03-24 11:47:16 +01:00
Matt Westcott
b229953c0f
Release note for #3439 / #3495
2017-03-24 11:41:45 +01:00
Matt Westcott
d5bc58b183
Mark 'Sites menu' text for translation
2017-03-24 11:37:04 +01:00
Huub Bouma
4d6b18805b
added test to check if site icon exists in root explorer
2017-03-24 11:34:10 +01:00
Nick Smith
ec2c56602b
#663 add icon to site root pages in explorer listing
2017-03-24 11:34:10 +01:00
Matt Westcott
6aea6a6856
Release note for #3425 / #3494
2017-03-24 11:06:42 +01:00
Huub Bouma
beeb09678a
added test for rewritten links in richtext
2017-03-24 11:06:07 +01:00
Gary Krige
162b29b6ed
Use specific page when choosing a title
...
Especially useful in RichText blocks when choosing an internal link that overrides Page url / title functionality
2017-03-24 11:06:07 +01:00
Gary Krige
22617e95a7
Use specific page when populating href
2017-03-24 11:06:07 +01:00
maartenkling
c0c0a58c44
Change buttons for mobile #2780
2017-03-24 10:11:56 +01:00
Will Giddens
40dc7f7aa9
call super in Page.clean
2017-03-23 18:08:14 +01:00
Patrick Gerken
50a16c37db
Make installing deps more stable
...
The old syntax works with bash, but not with zsh. The new syntax works with both.
2017-03-23 18:04:20 +01:00
Wietze Helmantel
285d9f0b43
Ticket #2918 added is_preview flag to serve_preview methods
2017-03-23 17:58:18 +01:00
Christine Ho
67ff4c26df
Add Page type to PageChooser button label
2017-03-23 17:40:27 +01:00
Alex Gleason
bbdbf3fd81
Allow spaces in tag fields
2017-03-23 17:19:47 +01:00
Matt Westcott
eb9cc639d2
Link to the full Elasticsearch setup docs from the Performance page
2017-03-23 15:51:11 +01:00
Matt Westcott
00c6a5f220
Don't set is_staff flag on users
...
Wagtail doesn't routinely require access to Django admin, so it makes sense for Wagtail to not enforce an opinion on who does or doesn't get access.
Fixes #970 and #2777
2017-03-23 15:39:51 +01:00
Rob Moorman
c7b778c4e9
Removed docs
...
Added release docs with upgrade consideration of alternative to django-medusa
2017-03-23 12:30:21 +01:00
Ralph Jacobs
cf815e8897
Change event handler to keyup. This fixes the IE10 + IE11 submit issue
2017-03-23 12:04:04 +01:00
Matt Westcott
31f4ac18c6
Release note for #3478
2017-03-23 11:50:57 +01:00
Tom Hendrikx
e9a53b4c93
Fix all other templates that use an <object>.id directly.
...
At least, all instances that my grep foo could find
2017-03-23 11:48:00 +01:00
Tom Hendrikx
12d8161e36
Replace custom template tag with django builtin variant.
2017-03-23 11:48:00 +01:00
Rob Moorman
82a8202bb2
Release notes for #3483
2017-03-22 20:56:30 +01:00
Maarten Kling
e41edb6e29
Setting for your most recent edits ( #3483 )
...
Closes #996
2017-03-22 20:47:57 +01:00
Christian Peters
9257a4a1dc
Switching from undefined/indeterminate queryset to a defined one. ( #3468 )
2017-03-21 10:38:31 +01:00
Matt Westcott
405a4a3fe9
Fix CSS comment style to comply with styleguide
2017-03-21 10:30:37 +01:00
Matt Westcott
55eaa0c137
Don't use "!important" on animated properties on userbar items ( #3447 )
...
They don't seem to be necessary (the .is-active properties surely have higher specificity than the ones that set initial state), and they cause a rendering bug on Firefox 52. Fixes #3443
2017-03-15 23:54:06 +02:00
Janneke Janssen
a2d7b133fc
Release notes for #3440
2017-03-13 17:18:25 +01:00
Matt Westcott
8b57a46ecc
Add a separate 'detail' section to message rendering
...
This allows us to include block-level content (such as a list of validation errors) into the message without breaking the positioning of buttons - see https://github.com/wagtail/wagtail/pull/3440#discussion_r105564633
2017-03-13 17:10:06 +01:00