Commit graph

4092 commits

Author SHA1 Message Date
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
Matt Westcott
8edff405dd prepare for 0.5 release 2014-08-01 17:01:42 +01:00
Matt Westcott
35a4c9a4a1 Merge branch 'master' of github.com:torchbox/wagtail 2014-08-01 16:54:55 +01:00
Matt Westcott
f0e853843f update url to uwsgi-init.d - fixes #522 2014-08-01 16:54:38 +01:00
Karl Hobley
9fea1f2306 Merge pull request #523 from kaedroho/translations
Translations for 0.5
2014-08-01 16:52:21 +01:00
Matt Westcott
13293da5cc remove reference to non-existent redirects documentation 2014-08-01 16:49:17 +01:00
Karl Hobley
bc0f1ce77b Rerun compilemessages 2014-08-01 16:48:19 +01:00
Matt Westcott
381ec5179e Added Copy Page to release notes / changelog 2014-08-01 16:46:27 +01:00
Karl Hobley
8d6ffad7ec Pulled translations from Transifex 2014-08-01 16:45:44 +01:00
Karl Hobley
f14662ae10 Rerun makemessages. Fixes #521 2014-08-01 16:42:18 +01:00
Matt Westcott
2579bc0ef4 Merge pull request #380 from kaedroho/page-copy-ui
Added page copy action to admin
2014-08-01 16:35:45 +01:00
Matt Westcott
455159378f Fix translations and pluralisation within CopyForm 2014-08-01 16:21:25 +01:00