0
0
mirror of https://github.com/wagtail/wagtail.git synced 2024-12-01 11:41:20 +01:00
Commit Graph

1092 Commits

Author SHA1 Message Date
Jan Korte
56cfe02bae snippet docs: loading the tags is necessary 2015-12-03 18:45:29 +00:00
Matt Westcott
9f3ae3c51d Release note for #1572 2015-12-03 13:19:44 +00:00
Tim Heap
0071d85aa0 Add Page methods can_move_to and can_create_at
These two tests are used when checking if a new page type can be created
under a page instance, or if an existing page type can move under a page
instance.
2015-12-03 12:56:52 +00:00
Dave Cranwell
eb4c5a7ce2 nav-submenu required translate3d due to its fixed position in the presence of animation, apparently. Also animation vendor prefixing removed since autoprefixer handles this already 2015-12-02 17:39:26 +00:00
Matt Westcott
e671a83be5 Release note for #1978 2015-12-01 13:17:31 +00:00
Matt Westcott
b1c75644f6 Stop replace_text from replacing multiple times on MTI subclasses.
Iterating over get_page_models means that these will be visited once
per superclass. To avoid this, we filter the page list to those exactly
matching the page class. This is done via a new `exact_type` method
on `PageQuerySet`.
2015-12-01 12:35:31 +00:00
Matt Westcott
60ea0427fb Formally deprecate ContentType-returning methods in wagtailcore 2015-12-01 10:22:48 +00:00
Matt Westcott
06897db7c5 Add a get_page_models function to wagtailcore.models; deprecate direct use of PAGE_MODEL_CLASSES 2015-12-01 10:22:47 +00:00
Matt Westcott
c35ae95d9b Document the remaining PageQuerySet methods 2015-11-30 22:16:08 +00:00
Tom Dyson
ef58ea3429 Document setting for case-insensitive tags 2015-11-30 18:07:08 +00:00
Tim Heap
1d4a276f49 Use SiteManager for Sites, add tests
The SiteManager class was not used on the Site model, or anywhere else.

This was not caught by the tests, because nothing tested the relevant
attributes on the Site model, nor were they used in the code base. Tests
have been added now.
2015-11-30 14:35:25 +00:00
Karl Hobley
06cba807df Merge pull request #1914 from kaedroho/runtests-args
Add --postgres and --elasticsearch arguments to runtests.py
2015-11-30 12:26:16 +00:00
Matt Westcott
e5abe8df96 Release note for #1969 2015-11-27 16:15:21 +00:00
alx
88e477098f Ensure that locked pages can't be unpublished.
Fixes #1615
2015-11-24 12:58:02 +00:00
Tim Heap
f4968de0f9 Allow overriding attributes in {% image %} tag
The `alt` attribute that was automatically generated as part of the
`{% image %}` tag could not be overridden. If template authors passed
their own `alt="..."` attribute in, two would be printed out instead
of the default one being overridden.

The relevant code has been refactored to build a dict of attributes,
allowing the default set to be overridden, and then printing them using
`flatatt`.

Fixes #1933
2015-11-24 11:38:10 +00:00
Rich Brennan
ce57281f6a Move content_panels inside FormPage definition. 2015-11-24 10:36:30 +00:00
Rich Brennan
010838b53e Add Orderable to list of imported wagtailcore models 2015-11-24 10:36:02 +00:00
Rich Brennan
fab4e2224f Move content_panels inside BookPage definition. 2015-11-24 10:36:02 +00:00
Dave Cranwell
29753ecb0d updated css guidelines. removed duplicate linting block 2015-11-24 00:05:31 +00:00
Dave Cranwell
fc980bd103 updated npm packages. ongoing linting of scss files 2015-11-23 21:39:54 +00:00
Karl Hobley
059fc15b9d Added note about Elasticsearch 2.x 2015-11-20 12:50:31 +00:00
Rich Brennan
2ad3985d67 Move content_panels inside BlogPage definition. 2015-11-19 17:16:02 +00:00
Karl Hobley
3b2e54bc7c Make elasticsearch-py a dev requirement
The Elasticsearch tests now depend on an environment variable being set so we can safely install elasticsearch-py without Wagtail automatically assuming Elasticsearch is installed and running the tests.

This makes developer setup slightly easier, but also opens up the possibility for running some of the ES tests that don't depend on a running ES instance.
2015-11-19 16:23:47 +00:00
Karl Hobley
8edfcc168f Changelog/release note for #1865 2015-11-19 15:30:23 +00:00
Matt Westcott
c73a3caa31 Use rendition.alt in {% image img as rendition %} example.
This restores the documentation to the pre-#1517 state, and is evidently more natural to write since the original documentation did so by mistake :-)
2015-11-19 15:29:40 +00:00
Matt Westcott
e08e35d470 Release note for #1447 2015-11-18 17:04:39 +00:00
Matt Westcott
4f59b215d8 Release note for #468 2015-11-18 13:04:50 +00:00
Matt Westcott
d24081e432 Set WAGTAIL_PASSWORD_RESET_ENABLED to default to the value of WAGTAIL_PASSWORD_MANAGEMENT_ENABLED 2015-11-18 12:07:49 +00:00
John Draper
673ea92ee2 Document password management settings 2015-11-18 12:03:52 +00:00
Karl Hobley
a36744ddea Release note for #1925 2015-11-17 11:36:57 +00:00
Alex Gleason
6a0b576376 Updated reasoning for Page suffix, fixes #1927
Fixed typo
2015-11-16 20:06:36 +00:00
Matt Westcott
6c8adaf0f7 Prepare for 1.2 release
Conflicts:
	CHANGELOG.txt
	wagtail/wagtailcore/__init__.py
2015-11-12 16:55:14 +00:00
Matt Westcott
204aa53ff4 Add Python 3.5 support to release notes 2015-11-12 16:43:49 +00:00
Matt Westcott
19f370c20a Add pointers to the new integrating-with-Django docs 2015-11-10 21:45:21 +00:00
Matt Westcott
96e9a67b75 Add 'integrating into Django' docs 2015-11-10 21:30:10 +00:00
Karl Hobley
7459329d93 Added --elasticsearch argument to runtests.py 2015-11-09 12:13:07 +00:00
Karl Hobley
126761db51 Added --postgres argument to runtests.py
Makes running the tests against PostgreSQL a bit easier
2015-11-09 12:04:50 +00:00
Karl Hobley
3bfd9fca9f Created 1.3 changelog and release notes 2015-11-04 12:20:07 +00:00
Matt Westcott
257baedb5d Release notes for #1837 and #1888 2015-11-02 16:10:18 +00:00
Matt Westcott
7c6d309682 Reword get_latest_revision_as_page release note to clarify who/what it affects 2015-11-02 16:04:46 +00:00
Matt Westcott
f668922893 Add a can_choose_root flag to PageChooserBlock 2015-11-02 15:12:42 +00:00
Matt Westcott
c025e1d3e5 Add a can_choose_root flag to PageChooserPanel.
This restores the previous behaviour, since there are plausible scenarios where choosing the root might be appropriate.
2015-11-02 15:12:42 +00:00
Karl Hobley
0eb3aee752 Fix typos in release note 2015-11-02 12:18:11 +00:00
Karl Hobley
43a2e901f8 Changelog/release notes for #1873, #1879 and #1881 2015-11-02 12:16:05 +00:00
Matt Westcott
8d96a24e49 Update translator list and add release note for new translations.
The translator list now only includes translators specifically identified in the .po files, so that we're not listing dormant Transifex accounts that didn't actually do anything :-)
2015-11-02 11:52:51 +00:00
Matt Westcott
0e7b92971a Release note for #1718 2015-10-29 00:12:02 +00:00
Matt Westcott
6dd69acd86 Release note for #1746 2015-10-27 11:51:07 +00:00
Matt Westcott
e68d66a744 Release note for #1869 2015-10-27 11:19:44 +00:00
Karl Hobley
19d476b42a Changelog/release notes for #1857 and #1866 2015-10-27 10:22:40 +00:00
Matt Westcott
566fa3a26f Release note for #1670 / #1850 / #1854 2015-10-26 12:58:36 +00:00