Wykres commitów

1193 Commity (fc3936a229255f902368e0dd7883084b92085dbb)

Autor SHA1 Wiadomość Data
Rich Brennan 11618f0c3d Update content_panels and promote_panels.
If I'm right, the Echoer content_panels and promote_panels can be removed as they're defined on Page?
2015-12-03 18:55:01 +00:00
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
[Redacted] 199ed87c26 Removed backticks from readme
Forgot to remove backticks from sphinx
2015-10-23 22:04:56 +02:00
Matt Westcott d06c5070cc Release note for #1725 2015-10-23 12:31:07 +01:00
Matt Westcott a51fdf1279 Release note for #1754 2015-10-23 11:54:27 +01:00
Matt Westcott 42af5c10af Merge branch 'merge-settings' of https://github.com/takeflight/wagtail into takeflight-merge-settings 2015-10-23 10:31:27 +01:00
Matt Westcott 94ee586276 Merge branch 'master' of https://github.com/torchbox/wagtail
Conflicts:
	CHANGELOG.txt
	docs/releases/1.2.rst
2015-10-23 10:00:52 +01:00
Matt Westcott 4d4cced717 Release note for #1596 2015-10-23 09:59:41 +01:00
Karl Hobley ad4007f406 Release note for #1856 2015-10-23 09:57:01 +01:00
Karl Hobley 101726b76e Fixed capitalisation of REST 2015-10-22 17:32:57 +01:00
Matt Westcott 33e4a7497f Release note / documentation update for #1790 2015-10-22 17:23:17 +01:00
Tim Heap c9f73d3157 Fix typo in settings docs 2015-10-21 16:39:09 +11:00
Tim Heap 3d494fb24b Move wagtailsettings into contrib module
The `wagtailsettings` module is useful enough that it should be included
in the Wagtail contrib section, to make it available to all Wagtail
developers.

All the code has been given a once-over to make sure it is nice and
polished before being copied in. As such, this is not a direct copy of
the `wagtailsettings` module. It should be backwards compatible though,
excepting the new location.

It has been moved to `wagtail.contrib.settings`, following the naming
scheme set out in #1504.

Documentation has been concatenated in to a single page, and added to
the contrib reference section.
2015-10-21 16:39:09 +11:00
Matt Westcott 2eb4b4c2c1 Release notes for #1810, #1835, #1812 2015-10-20 11:16:09 +01:00
Matt Westcott 6994f7b7b5 Release note for #1843 2015-10-20 10:37:04 +01:00
Karl Hobley 26889ba128 Merge pull request #1812 from gasman/feature/block-template-context
Allow block subclasses to pass extra context variables to templates
2015-10-19 09:29:59 +01:00
Matt Westcott 141129f587 Merge branch 'docs/signals' of https://github.com/JoshBarr/wagtail into JoshBarr-docs/signals 2015-10-16 17:23:04 +01:00
Matt Westcott bce6fba24f Release note for #1741 2015-10-16 12:12:07 +01:00
Matt Westcott 749258ebbb Merge pull request #1828 from jheasly/patch-1
Docs fix: Need to flip order of class creation
2015-10-15 11:40:45 +01:00
Matt Westcott bebc4d4ed3 Remove mention of SASS / django-compressor; fix minor text errors 2015-10-15 09:21:47 +01:00
Matt Westcott e1b564ee80 Merge branch 'cleanup/project-template-documentation' of https://github.com/timorieber/wagtail into timorieber-cleanup/project-template-documentation 2015-10-15 09:18:42 +01:00
Timo Rieber f522b146b3 Removed vagrant configuration section 2015-10-15 08:11:16 +02:00
Timo Rieber 8e2c5cfd87 Synced structure to reflect current project template 2015-10-15 08:10:27 +02:00
John Heasly d87d737f52 Need to flip order of class creation
Need to flip order of creating `BlogIndexRelatedLink` and `BlogIndexPage`, otherwise `BlogIndexRelatedLink` references `BlogIndexPage` before it's been created and you get:
```bash
ERRORS:
blog.BlogIndexRelatedLink.page: (fields.E300) Field defines a relation with model 'BlogIndexPage', which is either not installed, or is abstract.
```
2015-10-14 17:29:19 -07:00
Matt Westcott 30d5b62eed Fix broken link to topics/pages 2015-10-14 17:28:49 +01:00
Matt Westcott da42620089 Release note for #1791 2015-10-14 17:26:03 +01:00
Matt Westcott 7e7ba37639 Release note for #1770 2015-10-14 17:16:21 +01:00
Matt Westcott bb8894aa6c Release note for #1821 2015-10-14 17:07:26 +01:00
Matt Westcott 9b6a389850 Add note about variable names to Jinja2 release notes 2015-10-14 15:25:40 +01:00
Matt Westcott c1edbe6a98 Merge branch 'docs-self-var' of https://github.com/kaedroho/wagtail into kaedroho-docs-self-var 2015-10-14 14:52:00 +01:00
Karl Hobley ed1a0f9bb1 Merge pull request #1823 from gasman/fix/page-manager-from-queryset
Eliminate duplicated PageQuerySet methods / make `sibling_of` behaviour consistent
2015-10-14 14:35:14 +01:00
Matt Westcott 5bac77a648 Release note for #1822 2015-10-13 22:46:02 +01:00
Matt Westcott 0bb4bac2bc Release note for #1815 2015-10-13 19:32:29 +01:00
Matt Westcott dafbdaf20f Use `Manager.from_queryset` to construct PageManager, to avoid duplication of queryset methods.
This exposes an inconsistency between the old `PageManager.(not_)sibling_of` method (which was
exclusive by default) and `PageQuerySet.(not_)sibling_of)` (which is inclusive). We therefore
standardise on the inclusive behaviour (in line with treebeard's own sibling methods), and note
this change of behaviour in the release notes.
2015-10-13 19:15:12 +01:00
Matt Westcott c2a183f19f Documentation tweaks as per https://github.com/torchbox/wagtail/pull/1815#commitcomment-13736415 https://github.com/torchbox/wagtail/pull/1815#commitcomment-13736421 2015-10-13 15:17:47 +01:00
Karl Hobley b278a0c0f8 Docs for custom ordering 2015-10-13 10:06:58 +01:00
Karl Hobley 4a6f2b5b43 Reworded sentence about using "self" in templates 2015-10-13 09:55:23 +01:00
Karl Hobley 6eae465e64 Renamed "self" template variable to "page" in docs 2015-10-13 09:52:16 +01:00
Matt Westcott 5b029cbfc4 Release note for #1702 2015-10-13 00:19:51 +01:00
Matt Westcott cb7dc8fd38 Release note for #1696 2015-10-13 00:15:50 +01:00
Matt Westcott 5b8fd66909 Release note for #1682 2015-10-12 22:13:34 +01:00
Matt Westcott 06e721bc74 document the 'operator' kwarg on QuerySet.search 2015-10-12 22:04:29 +01:00
Matt Westcott 46845112e2 Allow block subclasses to pass extra context variables to templates
Block now defines a get_context method, which subclasses can override
in the same way as we can for pages.
2015-10-12 13:25:56 +01:00
Karl Hobley 4dbf166e06 Merged duplicate documentation 2015-10-12 12:20:45 +01:00
Karl Hobley 83f8332288 Added docs for search operators 2015-10-12 12:15:57 +01:00
Karl Hobley fb09d89ec6 Search docs improvements 2015-10-12 12:15:33 +01:00
Matt Westcott 6612f0adf3 Release note for #1529 2015-10-09 16:41:32 +01:00
Matt Westcott c21800b7b0 Merge branch 'inline-panel-min-max' of https://github.com/kaedroho/wagtail into kaedroho-inline-panel-min-max
Conflicts:
	wagtail/wagtailadmin/edit_handlers.py
2015-10-09 15:42:54 +01:00
Karl Hobley ea436e51cc Changelog/release note/contributor for #1688 2015-10-09 09:57:33 +01:00
Karl Hobley eb27195e8f Fixed typo in Jinja2 docs 2015-10-08 16:59:58 +01:00
Karl Hobley 6495bb6736 Merge pull request #1799 from anurag-ks/master 2015-10-08 09:35:48 +01:00
Karl Hobley 8a0f6eab30 Changelog/release note and contributor for #1799 2015-10-08 09:35:21 +01:00
Matt Westcott 94d0d7bda2 Release / upgrade consideration note for #1478 2015-10-07 20:02:25 +01:00
Matt Westcott 94b5975afa Document the new image/document queryset search method 2015-10-07 20:02:19 +01:00
Anurag Sharma 5915ec1f0e Changed EMBEDLY_KEY to WAGTAILEMBEDS_EMBEDY_KEY 2015-10-07 20:44:15 +05:30
Karl Hobley 5caa1f0f1f Release note for #1755 2015-10-06 22:21:25 +01:00
Karl Hobley 4dc09dfb22 Merge pull request #1755 from takeflight/feature/jinja2-template-functions
Add rudimentary Jinja2 template tag support
2015-10-06 22:00:47 +01:00
Karl Hobley 490ecff007 Changelog for #1709 2015-10-06 11:06:44 +01:00
Matt Westcott cf9758138a Release note for #1075 2015-10-05 22:54:37 +01:00
Matt Westcott 3cbee6c66c fix typo I introduced while removing typos 2015-10-05 21:12:21 +01:00
Matt Westcott 7d67e4b448 Minor copyediting on the Pages docs 2015-10-05 21:07:09 +01:00
Karl Hobley be0a2ccd1c Tweaks to template rendering docs 2015-10-05 21:07:09 +01:00
Karl Hobley f72e84f199 Added a couple of missing links 2015-10-05 21:07:09 +01:00
Karl Hobley c18c67ba3b Working with pages docs 2015-10-05 21:07:09 +01:00
Karl Hobley 2e65c08210 Docs for inline models 2015-10-05 21:07:09 +01:00
Karl Hobley ee7718ccdb Various tweaks 2015-10-05 21:07:09 +01:00
Karl Hobley 249a411b09 Template rendering docs 2015-10-05 21:07:09 +01:00
Karl Hobley 1b282d49bc Work on "Page models" 2015-10-05 21:07:09 +01:00
Karl Hobley 86c01bdf7b Renamed to "Page models"
I think this is a good place to add some general usage docs so made the name more generic.
2015-10-05 21:07:09 +01:00
Karl Hobley e1bb391625 editing_api => panels 2015-10-05 21:07:08 +01:00
Karl Hobley 85414a8b54 Fixed headings 2015-10-05 21:07:08 +01:00
Karl Hobley f72b8302f9 Moved "setting up the page editor interface" into topics 2015-10-05 21:07:08 +01:00
Matt Westcott deee02e4d7 Release note for #1391 2015-10-05 18:41:48 +01:00
Matt Westcott a86b08a622 Add favicon as an overrideable branding block - fixes #1391 2015-10-05 18:20:08 +01:00
Karl Hobley 00a1402925 Changelog/release notes for #1783 and #1784 2015-10-05 17:03:25 +01:00
Tim Heap bc6b5a8a6c Normalise all code blocks in the docs
All `.. code::` instances have been changed to use `.. code-block::`,
and have been properly formatted. The syntax names have been normalised,
so all django templates use the `html+django` syntax, shell commands use
`sh`, and plain text uses `text`.
2015-10-05 16:55:58 +01:00
Josh Barr a324ea5b54 slim chances of career change to English teaching 2015-10-06 01:29:56 +13:00
Josh Barr 8036cff94b added some basic signals docs 2015-10-06 01:18:25 +13:00
Josh Barr 53773424ff added clarification about template tags to tutorial 2015-10-05 22:01:03 +13:00
Tim Heap 21d290af12 Add references to Django documentation on configuring Jinja 2015-10-02 08:06:28 +10:00
Tim Heap e225481f2f Add documentation for using Jinja2 2015-10-01 16:00:40 +10:00
Matt Westcott dbb6fe73ad Merge branch 'master' of https://github.com/torchbox/wagtail 2015-09-30 17:16:56 +01:00
Matt Westcott a02cc3e67c Release note for #1744 2015-09-30 17:16:48 +01:00
Tom Dyson e162730acb Merge pull request #1759 from gasman/doc/developer-setup
Rewrite developer setup docs
2015-09-30 16:59:43 +01:00
Matt Westcott 1afc5ba0f1 Transferred vagrant-wagtail-develop repo to torchbox 2015-09-30 16:24:42 +01:00
Matt Westcott 377db9e878 Rewrite developer setup docs
* State the requirement for Node.js up-front (since it's required by everyone, not just front-end devs)
* Point to vagrant-wagtail-develop instead of making people set up a Vagrant instance manually
* No need to fiddle with python paths via local.py - 'setup.py develop' handles that
* Skip instructions for virtualenvs (anyone who decides against the Vagrant route is expected to know how to use them)
2015-09-30 15:54:08 +01:00
Josh Barr 221a3e5254 added docs about hostnames 2015-09-27 01:41:52 +12:00
Alex Gleason 6fc2dd4904 Removed broken link to non-existent vagrant install script 2015-09-23 14:51:43 -05:00
Karl Hobley ebd01fd1b4 Merge pull request #1719 from nimasmi/custom-queryset-docs
Document custom queryset required approach
2015-09-23 09:52:43 +01:00
Karl Hobley c224002d3e verbose_name should be lowercase 2015-09-23 09:52:26 +01:00
Nick Smith 536c8cd203 Fix typo 2015-09-23 09:42:50 +01:00
Nick Smith dea22d8fe0 Document custom queryset required approach 2015-09-23 09:31:35 +01:00
Matt Westcott 16020af213 Loudly highlight the fact that libjpeg and zlib are required 2015-09-22 22:54:47 +01:00
Dave Cranwell 12fc3e6601 Fixes #1600. Adds documentation and caveats about image formats system within rich text 2015-09-21 14:01:18 +01:00
Matt Westcott c17583b8d1 Release note for #1704 2015-09-18 16:25:27 +01:00
Matt Westcott 31db84a216 Changelog for #1692 2015-09-18 11:29:50 +01:00
Matt Westcott 8ffe4578a3 Merge branch 'master' of https://github.com/torchbox/wagtail 2015-09-16 17:37:43 +01:00
Matt Westcott 8d123e29e9 version bump to 0.8.10 due to packaging issues (grr)
Conflicts:
	CHANGELOG.txt
	docs/releases/index.rst
	wagtail/project_template/requirements.txt
	wagtail/wagtailcore/__init__.py
2015-09-16 17:36:21 +01:00
Matt Westcott 307b12da52 Prepare for 0.8.9 release
Conflicts:
	CHANGELOG.txt
	wagtail/project_template/requirements.txt
	wagtail/wagtailcore/__init__.py
2015-09-16 17:34:30 +01:00
Matt Westcott d9103f48ec Release note for 5a63a0b 2015-09-16 17:31:51 +01:00
Matt Westcott 9d386cf777 Release note for #1641 (backport to 0.8.x)
Conflicts:
	CONTRIBUTORS.rst
2015-09-16 17:31:37 +01:00