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

1321 Commits

Author SHA1 Message Date
Mikalai Radchuk
6c53a439a5 Update CHANGELOG and release notes 2016-04-11 17:01:55 +01:00
Charlie Hornsby
5cb7ae01f6 FIx incorrect paginator label in example code (#2468) 2016-04-10 11:06:51 +01:00
Chris Rogers
26f5016bb5 Use site_name for display for sites if available 2016-04-08 16:50:58 +01:00
Matthew Downey
9bbf1ba9a0 updated Site.find_for_request() to only hit the database once, and related unit tests 2016-04-08 12:15:23 +01:00
Liam Brenner
8b2a58ecae Changed button class for saving settings 2016-04-06 14:56:31 +01:00
Matthew Downey
c289028cd9 updated changelog for registered settings menu items 2016-04-06 14:14:21 +01:00
Timo Rieber
31119b5954 Added openshift deployment infos using wagtail-openshift-quickstart 2016-04-06 11:44:25 +01:00
Roel Bruggink
bedde59aaa Add 'revisions' action to 'more'. 2016-04-05 15:43:24 +01:00
Josh Schneier
0855f59500 Fix deprecated usage of register.assignment_tag 2016-04-05 15:40:13 +01:00
Karl Hobley
b6c80cde36 1.4.3 no longer in development 2016-04-04 21:39:58 +01:00
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