0
0
mirror of https://github.com/wagtail/wagtail.git synced 2024-12-01 11:41:20 +01:00
Commit Graph

1461 Commits

Author SHA1 Message Date
Karl Hobley
81cdca1a91 Changelog/release note for #2438 2016-04-04 17:15:24 +01:00
Karl Hobley
a6e53abd34 Changelog/release note for #1913 2016-04-04 10:35:32 +01:00
Karl Hobley
81795200c4 Docs for dynamic image serve view 2016-04-04 10:20:52 +01:00
João Luiz Lorencetti
ffbe4730f0 The destination of the ParentalKey should be a subclass of ClusterableModel 2016-04-03 20:18:57 +01:00
Tomas Olander
10e564b935 Fix site settings docs for setting an icon
The "icon-" prefix is automatically added in SettingMenuItem.
Using "icon-placeholder" as suggested would thus result in
the CSS class "icon-icon-placeholder".
2016-04-01 10:50:03 +02:00
Karl Hobley
0e43826d96 Tweaks to changelog message 2016-03-30 22:29:33 +01:00
Tim Heap
edc236cb06 Verify SSL certificates for Elasticsearch connections by default
Making developers opt out of extra security is better than making them
opt in, especially when they may not be aware of the security they are
missing out on.
2016-03-30 21:56:03 +01:00
Karl Hobley
974d593c85 Changelog/release note for #2405 2016-03-30 19:59:59 +01:00
Karl Hobley
dcc89ce9b1 Set explorer menu media with property instead of class
Fixes #2369

The static() function was being called during app load which caused a crash when the user is using STATICFILES_STORAGE=ManifestStaticFilesStorage, DEBUG=False and haven't yet collected static files.

I've moved it into a property and it's now only called when a view is being rendered. This also is more consistent because we usually set media using properties (and so does Django admin).
2016-03-30 17:06:29 +03:00
Karl Hobley
77f143ab8f Changelog/release note for #2386 2016-03-27 14:33:27 +01:00
Timo Rieber
9bdc843c8f Clarified wagtail userbar options and positioning 2016-03-27 14:23:47 +01:00
Tim Heap
4b46ff341d Add docs on making Wagtail compatible with multiple Django versions 2016-03-27 07:15:56 +02:00
Chris Townsend
8ac23d0554 Updated to include TEMPLATE requirement for Django 1.9+
In Django 1.9+ if you do not add: 'builtins': ['overextends.templatetags.overextends_tags'], to your TEMPLATES section you will receive a TemplateSyntaxError when the overextends template files are rendered: "Invalid block tag on line".  Including 'builtins': ['overextends.templatetags.overextends_tags'], per the overextends docs (and experience) resolves this error.

https://github.com/stephenmcd/django-overextends
2016-03-24 21:38:58 +00:00
Karl Hobley
729ec8bfab Changelog/release note/upgrade consideration for #2388 2016-03-24 21:21:05 +00:00
Tim Heap
6bd168580e Change Indexed.search_fields to be a listish thing
Indexed.search_fields used to be a tuple. This is incorrect, and it
should have been a list.  Changing it to be a list now would be a
backwards incompatible change, as people do

    search_fields = Page.search_fields + (
        SearchField('body')
    )

Adding a tuple to the end of a list causes an error, so this would
cause all old code that used tuples to throw an error. This is not
great.

A new ThisShouldBeAList class, which subclasses list, has been added.
It additionally allows tuples to be added to it, as in the above
behaviour, but will raise a deprecation warning if someone does this.
Old code that uses tuples will continue to work, but raise a deprecation
warning.

See #2310
2016-03-24 21:05:09 +00:00
Karl Hobley
63a891266a Changelog/release note for #2382 2016-03-24 20:58:31 +00:00
Tim Heap
e001cac581 Release notes for #2260 2016-03-22 14:36:21 +11:00
Math1985
03cba5b91c Ask user for old password when changing password
This is accomplished by using PasswordChangeForm instead of SetPasswordForm.

This adds extra security, as without this commit, an attacker that has access to
a user's session at one point in time will be able to change the user's password
and gain permanent access.
2016-03-22 11:50:18 +11:00
Rob Moorman
5158ee7aad Removed arrow-up after selector issue #2365 2016-03-17 01:25:26 +00:00
Matt Westcott
5f67ce2c4b 1.4 no longer 'in development' 2016-03-16 11:31:20 +00:00
Tim Heap
84432fbfd6 Add docs on how to build docs
I put some docs in your docs on building docs, so now I can build docs
about my docs from my docs.
2016-03-11 17:24:38 +00:00
Matt Westcott
83ab0746bc Release note for #2333 2016-03-11 17:21:53 +00:00
Tom Dyson
6dcb433215 CamelCase JavaScript in hooks documentation 2016-03-11 17:19:45 +00:00
Tom Dyson
43cb7f8e83 Hook for adding JS to all admin pages
Like insert_editor_js but not just for edit pages.
2016-03-11 17:19:45 +00:00
Matt Westcott
6803075188 Release notes for #1940 2016-03-11 15:43:43 +00:00
Josh Barr
a7d8a7bd4d added documentation for page listing buttons 2016-03-11 15:43:42 +00:00
Matt Westcott
1c61b2316c Version-bump to start work on 1.5 2016-03-11 13:43:00 +00:00
Robert Rollins
b94ff6a952 Searchly no longer supports Elasticsearch 1.x, so I switched the suggested development service to Bonsai. 2016-03-10 15:11:42 +00:00
Robert Rollins
6446c42132 Various typo fixes and grammar/clarity improvements. 2016-03-10 15:11:41 +00:00
Matt Westcott
eb78c9e235 Update Benjamin Bach's name in changelog 2016-03-08 15:59:48 +00:00
Matt Westcott
e0ad2a720e Demote construct_explorer_page_queryset to a minor feature 2016-03-08 15:55:34 +00:00
Matt Westcott
bc34f312ad Formatting fixes to changelog 2016-03-08 15:51:56 +00:00
Matt Westcott
5410294836 Promote the redesigned userbar to a major feature 2016-03-08 15:48:24 +00:00
Matt Westcott
5e07bead42 Release note for #2170 2016-03-08 15:06:29 +00:00
Eirik Krogstad
ac5d6e4945 Fix assumptions about user model fields, issue #1433 2016-03-07 20:42:39 +00:00
Matt Westcott
a67c971f4f Make settings menu clickable again in Firefox 46.0a2
Fixes #2286. Thanks to @juhakujala for tracking down the fix, and @akx for passing it on!
2016-03-07 19:53:53 +00:00
Matt Westcott
dadef2a017 Recommend the -U switch when running pip install -e .
This more reliably ensures that the user has up-to-date dependencies (e.g. without it, a
beta version of a package like Willow or modelcluster won't get installed if the user has
a stable version already installed)
2016-03-07 18:31:29 +00:00
Matt Westcott
ef4aa3b54e Release note for #2031 2016-03-07 18:29:24 +00:00
Mikalai Radchuk
fb50eb0d7e Fixes wrong links format in CSS coding guidelines 2016-03-07 20:38:47 +03:00
Matt Westcott
7d22066da5 Release note for #2140 2016-03-07 14:40:09 +00:00
Matt Westcott
a6647c33c8 Use specific page models on explorer page listing.
In particular, this ensures that any custom URL routes defined on the page model
are respected by the 'live' link:
https://groups.google.com/d/msg/wagtail/qAmI4HbJfCI/9fxvoCmMEQAJ
2016-03-07 10:00:45 +00:00
Mikalai Radchuk
660278d417 Fixes typos in docs for #2201 and #2302 2016-03-07 09:47:40 +00:00
Loïc Teixeira
10791a9c0b Remove dead link
The raw html which can be found on the repository states:
	Update 08/09/2015: This tutorial has been written during the first days of Wagtail, when documentation and tutorials about it were sparce; right now it should be considered by all accounts obsolete and not be followed! Instead, you should read the official (and very well written) tutorial in the official Wagtail documentation!
2016-03-06 21:05:05 +00:00
Loïc Teixeira
5429c007ad Fix internal links 2016-03-06 21:05:05 +00:00
Loïc Teixeira
33aad3957f Fix internal links with anchors
Generating links with `link text <./path/to/doc#anchor>`__ does not work for html.
It produces a link to `./path/to/doc#anchor` instead of `./path/to/doc.html#anchor`.

It would be tempting to add `.html` before `#` but would likely cause some more issues
when generating the documentation as pdf or epub.

References on the other hand will work regardless of the output format.
2016-03-06 21:05:05 +00:00
Matt Westcott
49e2de9813 fix doc rendering error in wagtailuserbar code block 2016-03-06 21:02:51 +00:00
Mikalai Radchuk
cd355b2fb7 Fixes release notes for #2253 2016-03-04 15:07:00 +03:00
Mikalai Radchuk
72d9ae81b5 Release notes for #2253 2016-03-04 00:02:09 +03:00
Mike Dingjan
1f65a4aae6 updated documentation regarding html notifications 2016-03-03 23:05:34 +03:00
Dave Cranwell
ccfdd98d48 Release notes for edit bird redesign added to docs 2016-03-03 15:29:05 +00:00
mr-winter
c185e57347 output sass errors in terminal and prevent gulp watch from exiting 2016-03-03 10:07:45 +00:00
Nicolas Kuttler
7d90344dd6 Update home stats summary CSS
The construct_homepage_summary_items hook allows to add items, but if
you use exactly the same markup as wagtail you end up with a bad layout
because the items form rows with no whitespace between them.

This commit changes the padding-bottom of the section into a margin-bottom
of it's <li> items, meaning that they form rows with enough whitespace
in between them, and the whitespace at the bottom is preserved.
2016-03-03 09:57:46 +00:00
Charlie Choiniere
0a9ae79ba4 Updated wagtail admin jQuery to version 2.2.1 2016-03-03 09:46:56 +00:00
Dave Cranwell
59f21fe013 Merge pull request #2302 from takeflight/docs/committing
Add docs on committing code
2016-03-03 09:28:21 +00:00
Tim Heap
0ead79d286 Release notes for #2266 2016-03-03 02:03:34 +02:00
Tim Heap
74986f7d4d Add docs on committing code
Inspiration and flow from Django's
`internals/contributing/committing-code` docs
2016-03-03 02:00:37 +02:00
Josh Barr
a1a2940495 fixed font size rounding issue in firefox, added contrib notes 2016-03-03 12:29:28 +13:00
Tom Dyson
f1077505c4 Thank USW for Collections 2016-03-01 17:36:13 +00:00
Mikalay Radchuk
1e82450160 Fixes StreamValue unicode compatibility 2016-03-01 16:36:04 +00:00
Matt Westcott
a2bc7341f2 Release note for #2269 2016-03-01 15:53:08 +00:00
Matt Westcott
c6140a06f7 Release note / contributor entry for #2256 2016-03-01 15:26:53 +00:00
Karl Hobley
dc3910a613 Changelog/release note/contributor for #2279 2016-03-01 12:32:09 +00:00
Karl Hobley
182d847b3f Changelog and release note for #2027 2016-03-01 12:14:49 +00:00
Matt Westcott
7861c2b492 Add get_site and get_url_parts to the Page model reference docs 2016-03-01 12:11:14 +00:00
Matt Westcott
6851bbf1a6 Fix custom image docs to indicate that fields must be non-required 2016-03-01 12:07:35 +00:00
Matt Westcott
c6548fea12 Release notes for #2278 / #2280 2016-02-29 18:16:50 +00:00
Matt Westcott
7ed53087aa Update node.js version requirements 2016-02-29 15:55:02 +00:00
Matt Westcott
d1a86c06da documentation: now with 8.3% more underline 2016-02-29 15:03:28 +00:00
Matt Westcott
fc3936a229 Release note for #2243 (Collections) 2016-02-29 14:16:35 +00:00
Matt Westcott
3195a5200f Prevent deletion of collections that are non-empty
Since the collections infrastructure itself does not know about the object types that
can exist within collections, this requires a new hook `describe_collection_contents`
to allow collection contents to be discovered.
2016-02-29 13:14:10 +00:00
Matt Westcott
766e2501e4 Implement register_group_permission_panel hook for adding new panels to the group edit form 2016-02-29 13:14:05 +00:00
Tom Dyson
985a987436 Hook for adding CSS to all admin pages 2016-02-25 10:24:54 +02:00
Matt Westcott
e131a9bcaf Release note for #1892 2016-02-18 16:28:19 +00:00
Chris May
4f999de737 Correcting typo int The Dashboard doc 2016-02-16 15:51:57 -05:00
Karl Hobley
3f5586e1f8 Changelog/release note for #2219 2016-02-12 11:22:46 +00:00
Matt Westcott
d620ce9656 Document the construct_explorer_page_queryset hook 2016-02-12 11:15:13 +00:00
Quadric
d27df01815 Tagging snippets documentation fix
I'm not sure i'm right but i think there is a typo in this example. I guess there should be a AdvertTag use in TaggableManager instead BlogPageTag
2016-02-12 11:11:08 +00:00
Matt Westcott
cddbc7c4a8 Remove 'versionadded:: 0.7' tags - 0.7 is ancient enough to be irrelevant 2016-02-11 10:53:03 +00:00
Matt Westcott
1677bd5a0d insert_editor_css no longer provides a mechanism for custom SCSS 2016-02-11 10:53:03 +00:00
Matt Westcott
dc0d18b6a4 Reorganise Hooks reference into meaningful sections 2016-02-11 10:53:03 +00:00
Matt Westcott
395cecc642 Fixes to page ordering logic in explorer:
- keep ordering and pagination as two distinct operations
- only perform the 'annotate' hack when ordering by latest_revision_created_at
- entries with a null latest_revision_created_at should appear at the top when
  ordering oldest first
- don't uselessly call order_by twice
- actually test that the 'ordering' parameter orders the results :-)
2016-02-11 10:42:01 +00:00
Karl Hobley
11b9ed6732 Make user confirm before navigating away from changed page editor 2016-02-10 14:17:45 +00:00
Tim Heap
224f3f5c37 Remove final references to django-compressor
* Remove references from docs
* Fix comment in SCSS files, and fix related variable names
* Remove COMPRESS_ENABLED setting from tests
2016-02-09 18:41:56 +00:00
Andrew Pryde
e2601c30b8 Fix PageQuerySet code overriding code snippet 2016-02-08 16:03:11 +03:00
Matt Westcott
68657338e7 Fetch new translations from Transifex 2016-02-05 16:52:10 +00:00
nfletton
94ba1c40e4 Add handling for server errors when uploading images and documents via a modal dialog 2016-02-05 16:21:58 +00:00
Matt Westcott
4bdc32aaad Eliminate reference to requirements-dev.txt 2016-02-05 15:48:01 +00:00
Charlie Choiniere
ae2006ccf1 Moved all dev dependencies into setup.py
* Removed requirements-dev.txt
 * Added dependencies to setup.py using the extras_require option
 * Updated the documentation to use pip instead of setup.py develop
 * Updated .drone.yml to reflect updated installation
2016-02-05 14:44:51 +00:00
Matt
999e06af27 Fix parameter name on signal handler 2016-02-04 22:22:12 +00:00
Chris Rogers
5e589d6376 Minor adjustment to settings docs 2016-02-04 22:18:55 +00:00
Matt Westcott
daba4aff84 release note for #2132 2016-02-04 17:35:59 +00:00
Matt Westcott
20b42ad7d9 Remove django-compressor references from the 'Configuring Django' docs 2016-02-04 15:31:03 +00:00
Karl Hobley
be82fa975d Removed django-compressor 2016-02-03 16:16:11 +00:00
Mitchel Cabuloy
d09d403d54 Fix frontend cache code example 2016-01-31 13:21:57 +08:00
Matt
0845f1e1c1 Fix notification errors when there are multiple moderation groups
On SQLite, not all moderators would receive a notification.
On Postgres, a “more than one row returned by a subquery used as an
expression” error was thrown.
2016-01-29 10:50:16 +00:00
Matt Westcott
6b78836d8d Add missing backticks to 'Custom document models' release note 2016-01-28 13:05:50 +00:00
Mikalai Radchuk
3f2f5665b0 Allow specifying custom edit handlers for snippets 2016-01-28 13:03:27 +00:00
Karl Hobley
95ff74feeb Moved advanced image topics into advanced topics 2016-01-27 11:27:16 +00:00
Karl Hobley
ae2e73b054 Rename "Creating your Wagtail site" to "Using Wagtail"
I think the words "Wagtail site" implies that Wagtail sites are a thing when they are in fact just Django projects with Wagtail installed.

So I think "Using Wagtail" is less likely to cause confusion.
2016-01-27 11:27:16 +00:00
Karl Hobley
8a9e65f92f Change title of "topics" section to "Usage guide" 2016-01-27 11:27:16 +00:00
Karl Hobley
13217dd6ef WAGTAILAPI_MAX_RESULTS is actually called WAGTAILAPI_LIMIT_MAX
Fixes #2156
2016-01-27 11:21:06 +00:00
Karl Hobley
61593d38ad Changelog/release note/contributor for #2153 2016-01-27 11:16:02 +00:00
Karl Hobley
8ef846d214 Set on_delete action to SET_NULL on Document.uploaded_by_user
This prevents deletion of users from deleting any Documents they have uploaded.

This is already the behaviour on images.
2016-01-26 17:13:57 +00:00
Chris Rogers
d754bac9bb Changed success message for when a page is published with go_live_at 2016-01-26 10:31:38 +00:00
Tim Heap
66da5ad5ad Remove double tagit initialisation
tagit was initialized from both the AdminTagWidget, and from the `done`
method in the image uploader. Initializing it twice led to strange
errors and ultimately the tags not being saved on the image model.

As the tag widget now contains its own initialisation <script>, tag
inputs do not need to be specially handled by AJAX code any more, so
this can simply be removed.

Fixes #2142
2016-01-25 18:56:11 +00:00
Matt Westcott
8afe69fd72 Release note for #1867 2016-01-25 15:30:18 +00:00
Matt Westcott
097f45f20b Fix Page model recipes to pass 'self' as the page object ('page' is undefined) 2016-01-22 11:24:41 +00:00
Matt
e0a7a472e6 Clarify what the Administrator flag does 2016-01-21 12:48:34 +00:00
Karl Hobley
ec59c33ce5 Changelog/release note/contributor for #2134 2016-01-21 11:26:19 +00:00
Matt Westcott
88078ac389 Reorder INSTALLED_APPS to put most specific apps first 2016-01-21 10:18:48 +00:00
Matt Westcott
7c211e7ec0 Update settings in 'configuring Django' docs for Django 1.9 2016-01-20 20:11:40 +00:00
Peter Quade
5c0063f429 making datetimepicker aware of FIRST_DAY_OF_WEEK 2016-01-20 16:30:22 +00:00
alexpilot11
5270c14444 ChooserBlock should use pk instead of id 2016-01-20 12:12:27 +00:00
Karl Hobley
690255c2ee Changelog/release note/contributor for #2111 2016-01-19 13:15:43 +00:00
Karl Hobley
62b996622a Changelog/release note for #2107 2016-01-18 13:16:52 +00:00
Matt Westcott
88d1977d34 Document site_name attribute of Site - fixes #2099 2016-01-13 12:49:46 +00:00
Matt Westcott
aea3ce67a0 Document setting up MEDIA_ROOT in the Django integration docs
An out-of-the-box Django project is not configured to serve user-uploaded files from MEDIA_ROOT; this needs to be added manually as per https://docs.djangoproject.com/en/1.9/howto/static-files/#serving-files-uploaded-by-a-user-during-development . Fixes #2100
2016-01-12 15:40:35 +00:00
Karl Hobley
078491b6e0 Prevent cascade deletion of pages when a ContentType is deleted
Fixes #2024
2016-01-07 10:18:38 +00:00
Matt Westcott
04fdd5f352 Remove Django 1.7 support from documentation, requirements and CI definitions 2016-01-05 17:38:29 +00:00
Matt Westcott
bd0ad843fb Version bump to 1.3.1
Conflicts:
	CHANGELOG.txt
	docs/releases/index.rst
	wagtail/project_template/requirements.txt
	wagtail/wagtailcore/__init__.py
2016-01-05 17:19:08 +00:00
Liam Brenner
b0f4d50aac Minor documentation fixes for signal handlers 2016-01-05 10:29:20 +00:00
Karl Hobley
685592107a Changelog/release note/contributor for #2073 2016-01-04 12:19:19 +00:00
Karl Hobley
b375f37d80 Revert #2073 2016-01-04 10:33:47 +00:00
Karl Hobley
3540f2b080 Changelog/release note/contributor for #2073 2016-01-04 09:26:47 +00:00
Karl Hobley
d7a6e2d4ac Changelog/release note for #2069 2015-12-24 11:57:53 +00:00
Matt Westcott
4dfca33c9b Mark 1.3 as no longer in development / bump project template to require Wagtail 1.4a0 2015-12-23 17:49:30 +00:00
Karl Hobley
d29cca5113 Changelog/release note for #2051 2015-12-21 11:51:25 +00:00
Karl Hobley
157a063b19 Start 1.4 changelog and release notes 2015-12-21 09:58:09 +00:00
Matt Westcott
aedbb678a1 Pull translations from Transifex 2015-12-17 13:42:59 +00:00
shredding
c6b2cef575 implemented filter chaining 2015-12-17 12:12:24 +00:00
Eugene MechanisM
039db5ed89 "Signing in..." for translation 2015-12-17 01:50:03 +00:00
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
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