Wykres commitów

1130 Commity (c3e62d1cb748470bf89b4d459681cd1245ee6af1)

Autor SHA1 Wiadomość Data
Karl Hobley c3e62d1cb7 Changelog/release note for #2026 2015-12-16 16:29:15 +00:00
Karl Hobley ac2a6cac23 Changelog/release note for #2041 2015-12-16 16:18:50 +00:00
Tim Heap 44564ea76a Link to homepage from dashboard page link if single site
If the Wagtail install has only one site, link to the homepage of that
site from the dashboard page summary instead of the root page of the
hierarchy.

Hopefully this will prevent some of the confusion causing people to
create pages under the root page, where they are inaccessible. See #1612
for more information around this issue.

Wagtail installs with multiple (or zero) sites retain the old behaviour
of linking to the root page.
2015-12-16 14:53:56 +00:00
shredding 2dd3f42e25 catch errors on non existing images 2015-12-16 13:14:11 +00:00
Denis Voskvitsov ab45915a90 Set `request.is_preview` flag to show whether page is served as preview 2015-12-16 11:28:53 +00:00
Karl Hobley 9d3e068b0c Use Django 1.8 TEMPLATES setting in settings doc
Also, the ``request`` context processor is now in the defaults
2015-12-16 09:29:17 +00:00
Matt Westcott d6715f80a1 Revert fix for Hallo toolbar button hover state from #1746 - fixes #2040 2015-12-16 09:19:51 +00:00
Jannis 42e1317a4e Add missing blocktrans to InlinePanel's add-button 2015-12-15 20:24:53 +00:00
Rich Atkinson aaed92f301 do not delete uploaded images or page revisions when a user is deleted. fixes #1918 2015-12-15 17:06:37 +00:00
Karl Hobley f436bc5c09 Changelog/release note/contributor for #1906 and #1998 2015-12-15 16:30:36 +00:00
Karl Hobley c01a0952a2 Changelog/release note for #1864 2015-12-15 16:00:18 +00:00
Matt Westcott 086997c14a add missing backticks 2015-12-15 15:59:57 +00:00
Matt Westcott e3269463d3 typo: 'attriutes' -> 'attributes' 2015-12-15 15:58:33 +00:00
Matt Westcott 0fe3572566 Release note for #1796 2015-12-15 15:57:24 +00:00
Tim Heap 2c76441186 Add docs for WagtailPageTests 2015-12-15 15:49:40 +00:00
Karl Hobley d160ea3ccf Release note for #2036 (and #2025) 2015-12-15 15:06:49 +00:00
Matt Westcott 9e5ba4bd3e Add system check to validate parent_page_types / subpage_types - fixes #1128 2015-12-15 14:32:39 +00:00
shredding 6422c7f618 added success message after image update 2015-12-15 00:21:34 +00:00
Matt Westcott c65b155f2f Release note for #1814 2015-12-15 00:03:06 +00:00
Tim Heap 9e8c2c2d5f Allow custom Page Managers
Previously, if a developer wanted to use a custom Manager on their Page
subclass, some fairly hacky hacks were required. Now, the `objects`
attribute is only overridden if it is a plain `Manager`. If it is
anything else, it is left alone. A system check has been added to ensure
that all `Page` managers inherit from `PageManager`
2015-12-14 23:09:45 +00:00
Matt Westcott da4f091466 Release note for #1800 2015-12-14 21:21:46 +00:00
Ben Kerle 3ef94d60a2 Documentation for admin search area hook 2015-12-14 21:21:45 +00:00
Matt Westcott 9e124cb9b6 Remove use of value.bound_blocks from basic StructBlock template example.
This hasn't been necessary since #1360 was merged, and the new 'BoundBlocks and values' section covers it much better.
2015-12-11 12:48:37 +00:00
Matt Westcott 0e34282646 Add section about BoundBlocks and values 2015-12-11 12:48:37 +00:00
Matt Westcott 2c765a7462 Release note for #1491 2015-12-11 12:46:01 +00:00
Karl Hobley eed5c60d72 Docs for index.RelatedFields 2015-12-11 12:29:27 +00:00
Matthew Downey e18f877286 send individual notification emails per user 2015-12-11 11:02:48 +00:00
Matt Westcott 0ce27f2f3d Release note for #1816 2015-12-09 11:40:36 +00:00
Tim Heap 8ddd9ee537 Call `django.setup()` before making docs
Django 1.9 requires this line before importing any models. Autodoc
imported models to get their docstrings, causing errors in the build
process.

Fixes #2014.
2015-12-09 11:40:35 +00:00
Matt Westcott 65f97bba6f docs(django 1.9): Add upgrade consideration note for Jinja2 template tag location change 2015-12-09 11:40:35 +00:00
Karl Hobley 960d7aa575 feat(django 1.9): Move jinja2 tags out of templatetags folders
Django 1.9 now automatically imports all models in templatetags. This causes ImportErrors to be raised for users who do not have jinja2 installed.
2015-12-09 11:40:35 +00:00
Matt Westcott 2f4018c0ae Import translations from Transifex 2015-12-09 11:03:14 +00:00
Maris Serzans 32b4124767 Changed verbose names to start with lowercase when necessary 2015-12-08 17:33:19 +00:00
Ben Emery beb2b927d7 Allow for overriding image upload path 2015-12-07 19:18:17 +00:00
Karl Hobley 8d91e72407 Changelog/release note for #1934 2015-12-04 11:07:43 +00:00
Karl Hobley e09a56f51c Changelog/release note/contributor for #1981 2015-12-04 11:02:08 +00:00
Matt Westcott 8a22c977a2 Release note for #1970 2015-12-03 19:43:31 +00:00
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