Commit graph

2631 commits

Author SHA1 Message Date
Dave Cranwell
504732433b Update for_python_developers.rst 2014-08-26 13:41:02 +01:00
Dave Cranwell
15ba294bcd index -> indexed, plus other tweaks 2014-08-26 13:40:37 +01:00
Dave Cranwell
053a75ef9d clarify ElasticSearch dependency 2014-08-26 13:26:56 +01:00
Karl Hobley
09086b13b2 Docs changes for #562 2014-08-26 12:14:39 +01:00
Karl Hobley
f45795ef4c Changelog and release notes for #562 2014-08-26 12:13:08 +01:00
Karl Hobley
d9dc42dee6 Merge pull request #562 from kaedroho/indexed-rename
Renamed wagtailsearch.indexed to wagtailsearch.index
2014-08-26 12:09:08 +01:00
Karl Hobley
9bf3aed72a Merge pull request #540 from jalourenco/master
Add pt_PT localization
2014-08-26 12:05:28 +01:00
Karl Hobley
abaf8b2d61 Merge pull request #471 from kaedroho/multilingual-tutorial
Tutorial for creating multilingual sites
2014-08-26 11:58:06 +01:00
Karl Hobley
f4b746e3f5 Merge branch 'master' into multilingual-tutorial
Conflicts:
	docs/index.rst
2014-08-26 11:57:52 +01:00
Karl Hobley
83d848d692 Make sure pages are unpublished before delete
Fixes #570

Conflicts:
	wagtail/wagtailcore/models.py
2014-08-26 11:12:27 +01:00
Karl Hobley
67953bccea Added unpublish method to Page 2014-08-26 11:10:40 +01:00
Karl Hobley
5d30efe2c9 Refactored create and edit views to use revision.publish()
This cuts out lots of duplicated code
2014-08-26 11:10:28 +01:00
Dave Cranwell
f5c57607ed added progress indicator to styleguide 2014-08-22 11:28:05 +01:00
Dave Cranwell
01e5015d5e reordering 2014-08-22 10:24:53 +01:00
Dave Cranwell
e78ef7a308 put menu into it's own file 2014-08-22 10:22:18 +01:00
Dave Cranwell
0ca7dae446 fixing left menu 2014-08-22 10:13:24 +01:00
Dave Cranwell
1013cc3f9a merged master, ongoing styling 2014-08-21 17:32:29 +01:00
Karl Hobley
cecfe9f3cc Fixed some references to the bad imports 2014-08-21 16:38:33 +01:00
Dave Cranwell
47f77f3c77 Merge remote-tracking branch 'upstream/master' 2014-08-21 15:57:16 +01:00
Dave Cranwell
6eb5f821ed added quick django example 2014-08-21 15:56:55 +01:00
Dave Cranwell
c0c9c1a7f7 Merge pull request #563 from davecranwell/master
Added more Page model information about previously omitted attributes
2014-08-21 15:30:21 +01:00
Dave Cranwell
628f94519c added more Page model information about previouslly missing attributes like subpage_types 2014-08-21 15:17:14 +01:00
Karl Hobley
e898bc1d78 Updated references to old indexed class to point to index instead 2014-08-21 15:16:06 +01:00
Karl Hobley
ccf89700d7 Renamed wagtailsearch.indexed to wagtailsearch.index 2014-08-21 14:54:42 +01:00
Karl Hobley
521d753a36 Cleaned up bad imports. Fixes #544 2014-08-21 14:51:05 +01:00
Karl Hobley
c5fef182e5 Fixed a couple of documentation links in the readme 2014-08-21 12:19:57 +01:00
Karl Hobley
8a19552033 Changelog and release notes for #560 2014-08-21 12:19:39 +01:00
Tim Heap
15419f4d0e Make RoutablePage a mixin
If a developer wanted to have a site-wide base page class, and also have
some pages be `RoutablePage`s, a conflict between the automatically
generated `page_ptr` fields would occur.

```python
from wagtail.wagtailcore.models import Page
from wagtail.contrib.wagtailroutablepage.models import RoutablePage

class SitePageBase(Page):
    # common functionality
    is_abstract = True
    class Meta:
        abstract = True

class MyPage(RoutablePage, SitePageBase):
    # This model is invalid
    pass
```

`RoutablePage` has been changed to be a mixin `RoutablePageMixin`. Page
classes can use this to gain the `RoutablePage` functionality while
still retaining the ability to subclass other models.

A `RoutablePage` class that derives from both `RoutablePageMixin` and
`Page` has been left in for backwards compatibility, so old code will
continue to function without any modifications.
2014-08-21 19:42:17 +10:00
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