Michael van Tellingen
7d7509aee5
Implement initial version of Block.bulk_to_python (with jaroel)
...
This prevents n+ queries for n blocks of a specific type.
2016-06-17 15:08:14 +02:00
Rob Moorman
74d13822d5
Added .editorconfig ( #2740 )
...
* Added .editorconfig
* Added json and yml for 2 space indenting
* Added scss for 4 space indenting
2016-06-17 14:00:24 +01:00
Mikalai Radchuk
a65c707db3
Disable cls._deferred check for >=Django 1.10 ( #2731 )
...
* Fixes cls._deferred check for Django 1.10
* Add test for the _deferred check in PageBase
Background: https://github.com/torchbox/wagtail/pull/2731#issuecomment-226722773
2016-06-17 12:52:24 +01:00
Mikalai Radchuk
408dcbed43
CI configuration for Django 1.10 ( #2724 )
...
Adds Django 1.10a1 into tox.ini
Also adds Django 1.10 into .travis.yaml
2016-06-17 10:12:53 +01:00
Karl Hobley
7d490f7a6f
Coding style tweaks to wagtail.wagtailadmin.utils.popular_tags_for_model
...
- flake8 didn't like the indentation of the query
- isort wanted to wrap a couple of imports
- I also tripple-quoted the docstring to follow PEP 257
2016-06-17 09:51:57 +01:00
Matt Westcott
367c71dbaa
TagSearchable needs to be removed from migrations
2016-06-17 09:45:28 +01:00
Karl Hobley
ea7a9a29f6
Deprecate taggable module
2016-06-17 09:44:46 +01:00
Karl Hobley
e21c94d8d2
AbstractImage no longer depends on TagSearchable
2016-06-17 09:44:46 +01:00
Karl Hobley
c2587b3b6c
AbstractDocument no longer depends on TagSearchable
2016-06-17 09:44:46 +01:00
Matt Westcott
6549b2d238
replace TagSearchable.popular_tags with wagtailadmin.utils.popular_tags_for_model
2016-06-17 09:44:46 +01:00
Gagaro
4d7bdfd160
Refactor: remove Filter as a Django model.
2016-06-17 02:21:36 +02:00
Ludolf Takens
e995bc0e19
Fix #2533 : Prevent removal of '/' when redirect from url is just '/' ( #2721 )
2016-06-16 11:48:45 +01:00
Matt Westcott
852a6de301
fix formatting on release notes page
2016-06-15 18:15:21 +01:00
Johannes Spielmann
a2ec49e01a
allow wagtailforms field choices to be as long as they want
2016-06-15 18:14:41 +01:00
Andreas Nüßlein
5b72f81327
mention edit_handler in this context ( #2716 )
2016-06-15 13:54:54 +01:00
Matt Westcott
8121b633a4
Fix incorrect CSS path on ModelAdmin's 'choose a parent page' view - fixes #2703
2016-06-15 13:50:45 +01:00
Karl Hobley
3b7a2442db
Fixed isort errors
2016-06-14 12:55:35 +01:00
Michael van Tellingen
d5bdad1d15
Implement make develop
to ease contributing to wagtail ( #2709 )
...
This installs wagtail as editable package in your current python env
including testing and docs extras. It also installs runs npm install
and generates the frontend files.
2016-06-14 10:39:45 +01:00
Moritz Pfeiffer
6c9d202057
Removed cell content aligment options from table editor context menu.
2016-06-13 20:59:10 +01:00
Janneke Janssen
06bfa43782
Documented the settings variable for WAGTAIL_USAGE_COUNT_ENABLED ( #2706 )
2016-06-13 20:47:27 +01:00
Matt Westcott
f6706977bd
Validate against duplicate form field names - fixes #585
...
Thanks to @tacitus for this fix (#2445 ).
2016-06-13 19:53:44 +01:00
Neal Todd
5fe5cb00d9
Remove Travis email notification
...
Not needed because Slack notification is sufficient and introduces noise.
Also remove redundant and disabled webhook notification.
2016-06-13 14:05:11 +01:00
Tim Heap
e0dda8b762
Add tests for file uploads on page edit view
2016-06-10 17:35:59 +01:00
Matt Westcott
bdaf696cd2
Release note / docs for #2257
2016-06-10 14:26:30 +01:00
Chris Rogers
c347036692
pep 8 fix, blank lines
2016-06-10 13:58:22 +01:00
Chris Rogers
6bd2b9e65f
added tests for FieldRowPanel
2016-06-10 13:58:16 +01:00
Chris Rogers
b559f411be
Added regex to detect if a col class added to fieldrowpanel. If not, add default
2016-06-10 13:58:02 +01:00
Mikalai Radchuk
ba807e5f45
Release notes for #2677
2016-06-08 16:53:01 +03:00
Matt Westcott
594470182a
Remember tree location in page chooser when switching between Internal / External / Email link
...
Fixes #2640
2016-06-08 16:44:27 +03:00
Mikalai Radchuk
ba220d58ca
Release notes for #2691
2016-06-08 15:24:18 +03:00
Jonny Scholes
5d6cc953fb
Load staticfiles not static in document and email templates.
2016-06-08 15:08:28 +03:00
Matt Westcott
79d19a5b1b
Release note for 1.5.2
2016-06-08 11:52:27 +01:00
Matt Westcott
90bd6bdf11
Fix regression in 1.5.1 in editing external links
2016-06-08 11:52:26 +01:00
Mikalai Radchuk
b66830ce27
Release notes for #2684
2016-06-08 13:36:27 +03:00
Janneke Janssen
2812a94100
Updated the audioboom embed URL to its new one
2016-06-08 13:30:47 +03:00
Matt Westcott
38cca0e47a
mark 1.5.1 as no longer in development
...
Conflicts:
CHANGELOG.txt
2016-06-07 18:59:13 +01:00
Matt Westcott
aaceb9b08f
Make 'permanent' / 'temporary' label on redirects translatable; don't translate the classname
...
Thanks to leo_naeka for reporting!
2016-06-07 17:34:22 +01:00
Matt Westcott
b34f920832
Pull translations from Transifex ( #2690 )
2016-06-07 17:23:52 +01:00
Yannick Chabbert
3ba4064d89
fix modeladmin delete view message
2016-06-07 16:44:27 +01:00
riceyrice
cd0f8381cd
Ensure pagination is retained on invalid upload
...
Otherwise hidden Search tab causes web browser to load _every_ image in the system.
2016-06-07 16:22:34 +01:00
Matt Westcott
64132728d1
Revert "Fixing #2520 "
...
This reverts commit ab53b1817f
.
Conflicts:
CHANGELOG.txt
docs/releases/1.5.rst
2016-06-07 14:56:52 +01:00
Gagaro
871a5b5d9c
Use python_2_unicode_compatible in snippets.rst ( #2688 )
...
We should use `python_2_unicode_compatible` in the documentation so that new users know the best practice.
2016-06-07 13:49:28 +01:00
Matt Westcott
f7816b6bce
Credit Gagaro under preferred name
2016-06-06 17:55:19 +01:00
Matt Westcott
aacb1116db
Track parent page for internal links in rich text - fixes #2639
2016-06-06 13:38:25 +03:00
Janneke Janssen
978cef5218
Documented the WAGTAILIMAGES_MAX_UPLOAD_SIZE ( #2683 )
2016-06-05 18:16:13 +01:00
Matt Westcott
8f796cddfd
Return URL in document chooser response - fixes #2660
2016-06-04 17:12:59 +03:00
Matt Westcott
1479884773
Fix test migration for Wagtail 1.5
2016-06-03 19:48:07 +01:00
Matt Westcott
8d1c8193fa
Remove duplicate definition of form media in settings - fixes #2664
...
Form media declarations are output in edit.html, but this is redundant as they're already output in _editor_css.html / _editor_js.html,
and the duplicate definitions cause the rich text editor to fail to activate for some reason.
2016-06-03 20:27:20 +03:00
Matt Westcott
892c4c77d6
Ensure that form media required by InlinePanels is correctly pulled in to the edit page - fixes #2662 .
...
Based on code from #2659 by @Gagaro - thanks!
2016-06-03 19:33:24 +03:00
Loic Teixeira
c39f830ae2
Mark the field as modified after removing element
...
Fix #2637
2016-06-03 16:41:00 +01:00