Commit graph

2553 commits

Author SHA1 Message Date
Karl Hobley
a175b4d0fb Improvements to type() PageQuerySet method
This commit makes the type PageQuerySet method include all concrete
models that descend from the specified model in the filter.

This makes this method useful for cases where you have many page types
descending from a single abstract model and want to search across all
these page types (which you can't do in Django normally).
2014-08-19 14:27:56 +01:00
Karl Hobley
20636a7119 Added multiple backend support into update_index command. Fixes #552 2014-08-19 11:36:16 +01:00
pvetch
26314bdfc7 Update using_images_outside_wagtail.rst
Fix to code block syntax
2014-08-19 10:52:49 +01:00
pvetch
470a9e4396 Update routable_page.rst
tiny text fix
2014-08-19 10:51:52 +01:00
Karl Hobley
b8eab527c6 Reduced title boost to 2. Fixes #553 2014-08-19 10:37:32 +01:00
Karl Hobley
2afb9fe84e Completely removed all features deprecated in 0.4 2014-08-19 10:31:02 +01:00
Jose Lourenco
bfd83ecefb (re-)add pt_PT localization to wagtail 0.5.0. 2014-08-18 17:27:58 +01:00
Karl Hobley
f7325ca419 Updated deprecation warning classes
Also removed some occurances of RemovedInWagtail06Warning
2014-08-18 16:40:19 +01:00
Karl Hobley
ec7dfb0e84 Removed show_as_mode 2014-08-18 16:34:36 +01:00
Karl Hobley
11c2829e79 Removed features deprecated in wagtailcore models 2014-08-18 16:29:30 +01:00
Karl Hobley
df31e29428 Make sure that update_index doesn't attempt to index the SearchTestOldConfig model 2014-08-18 16:20:19 +01:00
Karl Hobley
269d156a26 Make tests.EventPage use search_fields 2014-08-18 16:06:00 +01:00
Karl Hobley
9cd1acd4a9 Raise error when indexed_fields setting is used 2014-08-18 16:02:33 +01:00
Karl Hobley
b32ba7fee9 Use of old style routing will now raise a RuntimeError 2014-08-18 15:26:00 +01:00
Karl Hobley
a05419bfd1 Removed css_path argument from wagtailuserbar template tag 2014-08-18 15:15:11 +01:00
Karl Hobley
72ffe88d38 Deleted files that were moved in Wagtail 0.4 2014-08-18 15:13:41 +01:00
Karl Hobley
75e0d32b60 Improved example for 'subpage_urls' in RoutablePage documentation 2014-08-18 11:40:48 +01:00
Karl Hobley
ba6ade482e Changelog and release notes for #538 2014-08-18 09:18:15 +01:00
Karl Hobley
9d59182a94 Merge pull request #538 from takeflight/feature/routable-page-tags
Add `routablepageurl` template tag
2014-08-18 09:06:49 +01:00
Tim Heap
98698ef8d4 Add routablepageurl template tag
It is similar to `pageurl`, but works with `RoutablePage`s. Functions
like a hybrid between `reverse` and `pageurl`. For example:

    {% load wagtailroutablepage_tags %}
    {% routablepageurl self "feed" %}
    {% routablepageurl self "archive" 2014 08 14 %}
    {% routablepageurl self "food" foo="bar" baz="quux" %}
2014-08-18 08:27:07 +10:00
Matt Westcott
33e93372a1 Merge branch 'master' into kaedroho-project-template 2014-08-15 15:39:12 +01:00
Matt Westcott
e44a351068 document the register_settings_menu_item hook 2014-08-14 17:32:54 +01:00
Matt Westcott
6947e9204b Add some minimally-functional CSS/JS for the settings submenu 2014-08-14 17:11:38 +01:00
Matt Westcott
7943498ed3 implement SubmenuMenuItem class for embedding submenus into a MenuItem; create a Settings menu and move users / redirects / editors picks there 2014-08-14 16:43:56 +01:00
Matt Westcott
02429028e7 pass request object to MenuItem.render_html to allow customising output per request 2014-08-14 15:59:00 +01:00
Matt Westcott
229e111253 Provide a render_html method on Menu, and use that rather than looping over menu_items in the template 2014-08-14 15:59:00 +01:00
Matt Westcott
35d17ab212 Refactor logic for registering menu items into a Menu class, so that it can be re-used for the settings menu 2014-08-14 15:56:57 +01:00
Matt Westcott
be2d058c45 add test for MenuItem media being included 2014-08-14 15:50:50 +01:00
Matt Westcott
72c3888505 Replace the MenuItem.render_js mechanism with the 'media' mechanism from django.forms, which does basically the same thing but better (e.g. handles de-duping where multiple items import the same js file) 2014-08-14 15:46:24 +01:00
Jose Lourenco
675b7d2a4c Merge pull request #1 from torchbox/master
Update from original to 0.5.0
2014-08-13 22:18:50 +01:00
Matt Westcott
f2756ca439 Mention South 1.0 requirement in 0.5 release notes 2014-08-13 16:19:05 +01:00
Matt Westcott
876976fc04 Merge branch 'nathan3d-page_url' 2014-08-12 17:17:39 +01:00
Matt Westcott
a926bf4fe3 changelog entry for #531 2014-08-12 17:17:21 +01:00
Matt Westcott
8f7cb58f0f Add tests for urlconfs that have wagtail_serve at a non-root path 2014-08-12 16:57:08 +01:00
Matt Westcott
07a48abf58 use 'wagtail_serve' as the url name rather than 'wagtail' 2014-08-12 15:36:11 +01:00
Matt Westcott
fe28f5649e Merge branch 'page_url' of https://github.com/nathan3d/wagtail into nathan3d-page_url 2014-08-12 15:26:17 +01:00
Matt Westcott
07d2851e37 documentation for register_admin_menu_item 2014-08-12 12:06:01 +01:00
Matt Westcott
28592b4d9b Allow menu items to define their own javascript includes, and put the explorer menu js there rather than in core.js 2014-08-12 10:49:38 +01:00
Matt Westcott
ee71fff1b8 Convert all remaining menu items to be globally-registered with an is_shown method 2014-08-12 10:49:38 +01:00
Matt Westcott
3c1c2805c7 Add an is_shown() method to allow globally-registered menu items to specify whether or not they should be shown on a given request 2014-08-12 10:49:38 +01:00
Matt Westcott
4e2ebc2ad2 Add register_admin_menu_item hook for registering MenuItems globally 2014-08-12 10:49:38 +01:00
Matt Westcott
0926c90004 pass explorer-menu-url as a data attribute on the explorer menu link, so that we don't have to define it as a global in admin_base.html 2014-08-12 10:49:38 +01:00
Matt Westcott
d6f2b13284 Support passing html attributes into MenuItem 2014-08-12 10:49:37 +01:00
Matt Westcott
ce1aecb1d0 Merge branch 'chrxr-master' 2014-08-12 09:03:02 +00:00
Chris Rogers
82a3f8b732 reverted debian.sh 2014-08-11 19:28:25 +01:00
Chris Rogers
e7476cb709 added new screenshots, corrected some typos 2014-08-11 19:23:49 +01:00
Chris Rogers
bf1175523d Merge branch 'master' of https://github.com/torchbox/wagtail 2014-08-11 17:57:04 +01:00
pvetch
ab5ae2049e Update frontend_cache_purging.rst 2014-08-08 09:42:12 +01:00
Nathan Brizendine
5cdb9c8696 Change page url functions to use reverse
Fixes issue #69
2014-08-08 14:30:48 +07:00
Matt Westcott
20e5be9e0e remove redundant Deprecated Features heading from 0.5 release notes 2014-08-01 17:25:49 +01:00