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

6999 Commits

Author SHA1 Message Date
Matt Westcott
5f91859793 Update dependencies to require modelcluster 3.x 2017-02-03 21:24:55 +00:00
Matt Westcott
37c7b696ef Add 'Categories' section to tutorial
This demonstrates the use of snippets and many-to-many relations.
2017-02-03 21:24:54 +00:00
Matt Westcott
c63f6d7922 Add tests for creating/editing pages with parental M2M relations 2017-02-03 21:24:51 +00:00
Matt Westcott
3ba5675bf3 Add a many-to-many relation to test models 2017-02-03 21:24:50 +00:00
David Ray
49b78dd8a7 Removing errant words in sample path/to/wagtail 2017-02-03 20:41:08 +00:00
Matt Westcott
31d85c3aed change 'iff' to 'if and only if' to avoid confusion (#3327) 2017-02-03 13:45:28 +00:00
Matt Westcott
753efbb29e Release note for #3320 2017-02-03 09:57:11 +00:00
Matt Westcott
3e51597b09 Consistently use 'child page' rather than 'subpage' in explorer actions 2017-02-03 09:55:40 +00:00
Matt Westcott
40883b9cb8 Add page title to title attribute of explorer actions 2017-02-03 09:55:40 +00:00
Matt Westcott
3cdafc3b32 Add Wagtail-Multilingual to third-party tutorials (#3317) 2017-02-03 09:52:00 +00:00
Thibaud Colas
c34f2eba0f Update contribution documentation for core team members (#3318)
* Update issue tracking docs, re. contributor workflow discussions

* Update docs regarding the PR review & merge process

* Update PR docs with suggestions re. contributor workflow
2017-02-03 09:46:15 +00:00
Martey Dodoo
3923ee668c Remove references to Gondor.io in documentation.
Gondor.io has been retired by Eldarion (see
http://eldarion.cloud/blog/2016/04/21/goodbye-gondor-hello-kel-and-eldarion-cloud/),
so the tutorial wouldn't be helpful even if it was accessible.
2017-01-30 12:36:26 +00:00
Daniel Chimeno
b61f688347 Improve docs testing (#3308)
* add information about running only some testcases
2017-01-28 01:02:44 +00:00
Matt Westcott
ee837dedc5 in Page reference docs, don't tell people to consult source code (#3303)
Stylistically this sentence is somewhat content-free (if the API is really "relatively straightforward", users can see that for themselves rather than us informing them of that fact...), and we don't want to encourage people to use undocumented methods (because we can't guarantee that the API for them will remain stable).
2017-01-28 00:11:52 +00:00
Karl Hobley
6cf341d28b Changelog/release note for #3304 2017-01-27 15:10:07 +00:00
Dan Braghis
2967bf780c Change to verbose view {draft,live} action labels on page listings (#3304) 2017-01-27 15:07:20 +00:00
Karl Hobley
b99df170cd Minor tweak to docstring 2017-01-27 11:37:38 +00:00
Kevin Whinnery
6402e56fb5 Update model_reference.rst 2017-01-26 20:05:35 +00:00
Karl Hobley
a7a88ac95c Changelog/release note for #3237 2017-01-26 19:50:05 +00:00
Marco Fucci
c606e3f722 Add new Block.render_api method (#3237)
Add new Block.get_api_representation method
2017-01-26 17:14:34 +00:00
Matt Westcott
e77da0a1a1 remove 'IN DEVELOPMENT' text from 1.8.1
Conflicts:
	CHANGELOG.txt
2017-01-26 16:18:31 +00:00
Matt Westcott
84efa88883 Release note for #3256
Conflicts:
	CHANGELOG.txt
	CONTRIBUTORS.rst
	docs/releases/index.rst
2017-01-26 12:38:11 +00:00
Matt Westcott
988285b55a Renumber previous migration wagtailimages/0017 2017-01-26 12:36:28 +00:00
Matt Westcott
3f433cb221 Fiddle max_length in focal_point_key migrations to make them superficially different
This prevents the migration engine from optimising them away - see https://github.com/wagtail/wagtail/pull/3293#issuecomment-274828807
2017-01-26 12:36:28 +00:00
Matt Westcott
25f57d0636 Reduce focal_point_key max_length to 16 2017-01-26 12:36:28 +00:00
Thibaud Colas
c0cd53918e Release notes for #3021 2017-01-26 01:34:37 +02:00
Janneke Janssen
64bb8b2989 Move webpack configuration in subfolder of client/
Move webpack configuration to a subfolder in the client directory

Remove trailing whitespace

Rename prd.config.js to prod.config.js

Simplify lint:js target path
2017-01-26 01:16:04 +02:00
Thibaud Colas
87b400d00b Refine webpack configuration per env
Add env-specific webpack configuration

Add basic env-specific webpack configuration

Use more advanced production uglify config

Simplify webpack loader config
2017-01-26 01:15:39 +02:00
Matt Westcott
e18c1d99c8 Update tutorial wording to clarify that templates are not created automatically (#3290)
Based on feedback at http://stackoverflow.com/questions/41751034/template-file-not-created-after-adding-page-class-to-models-py
2017-01-25 19:57:44 +00:00
Mikalai Radchuk
6ee25ccab9 Release notes for #3242 2017-01-25 21:58:58 +03:00
Mikalai Radchuk
e25d2fc025 Fix a typo in a docstring 2017-01-25 21:34:25 +03:00
Mikalai Radchuk
8cabddfda0 Fix grammar mistakes 2017-01-25 21:34:25 +03:00
Mikalai Radchuk
7f10938b57 Add docs about wagtailforms customisation
Fixes #2945
2017-01-25 21:34:25 +03:00
Karl Hobley
4ea06426ab Changelog/release note for #3277 2017-01-24 16:07:16 +00:00
Matt Westcott
2b1c9bc715 Prevent signal handlers from indexing the content of fields omitted from save(update_fields=[...]).
Fixes #3239
2017-01-24 16:05:27 +00:00
Matt Westcott
f9eca4a866 Add tests for search indexing signal handlers 2017-01-24 16:05:27 +00:00
Matt Westcott
93151ce43a Fix tests for indexing functions to disregard operations that are triggered by post_save signals
test_removes_object wrongly asserted that the 'add' method (not 'delete') was called; this should have failed, but didn't, because the mock was picking up the 'add' call that happened during object creation as a result of the post_save signal. Here we insert calls to .reset_mock() to stop the signals from interfering with the tests, and fix the broken assertion that was masked by this bug.
2017-01-24 16:05:27 +00:00
Jeffrey Chau
47f7d79aec Add convenience method for finding root page to navigation.py. Add context variables to home renderer. 2017-01-24 14:16:31 +00:00
Robert Rollins
fab11259bc Maintain the 'next' GET argument through the add_subpage workflow.
Every other Page workflow seems to maintain this argument, to ensure that the
user ends up back at the page they were on when they started. This patch enables
the add_subpage workflow to do the same.
2017-01-24 11:48:21 +00:00
Matt Westcott
29645c0f6a Mention addition to INSTALLED_APPS in routablepage docs
Fixes #3286
2017-01-23 17:07:19 +00:00
Matt Westcott
cbb31c80e1 Remove redundant filter() in tutorial example. Fixes #3280
Thanks to @gogobook for the report!
2017-01-19 17:39:28 +00:00
Karl Hobley
4f1d3509ff Bulk deletion of form submissions (#3233)
Remove actions column

Basic implementation of bulk deletion of form submissions

Moved select all checkbox

Pluralised messages

Hide delete button when it's not needed

Test updates for multiple form submission delete

Use checkbox value instead of submissionId data attribute

Simplify way submission IDs are sent to the server

As per https://github.com/wagtail/wagtail/pull/3233#discussion_r94417831

Removed inline styling

Simplify state management logic

As per:
https://github.com/wagtail/wagtail/pull/3233#discussion_r94426467

Call updateActions on load to bring checkboxes and delete button in sync

Release note for #3233
2017-01-16 20:50:10 +00:00
Matheus Bratfisch
b01376ad72 Add after/before_copy_page hooks, test and docs 2017-01-16 19:00:29 +00:00
Matt Westcott
19310a84ed Documentation and release notes for #3275 2017-01-16 18:51:42 +00:00
Mikael Svensson
827149f5d2 Added parent_context to get_context
Added Legacy handling for get_context without parent_context
Added tests for change above
2017-01-16 13:08:44 +00:00
Matt Westcott
1d4743d27c Update project template + docs to clarify that wagtail_urls should appear at the end of urlpatterns 2017-01-13 17:06:52 +00:00
Mikela Clemmons
26b7071307 RegexBlock error_message typo in docs
In the documention an example had a singular
2017-01-13 10:06:19 +00:00
Alex Zagorodniuk
0fdf98469c Provide fallback value for schema_only parameter in update_index management command 2017-01-13 10:03:58 +00:00
Matt Westcott
be74f762f0 Update dependencies for django-modelcluster 3.0 2017-01-12 14:06:26 +00:00
Janneke Janssen
0e9c255b03 Marked text for translation 2017-01-06 12:45:17 +00:00