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
Nikolai R Kristiansen
54bfd1a802
docs: Fix INDEX_SETTINGS in ES search backend ex.
...
The key `number_of_shards` lives below the `index` key.
Ref: https://www.elastic.co/guide/en/elasticsearch/reference/2.4/indices-create-index.html#create-index-settings
2017-01-06 11:23:16 +00:00
J. Heasly
9424a8eab9
Give indication that there may be other template bits necessary for tag to work.
...
I came to this page from "Getting Started" template examples where all pages examples are rendered within {% block content %} tags which are not in these template examples."
;
2017-01-05 10:14:07 +00:00
Matt Westcott
b006b19582
Release note for #3168
2017-01-04 17:35:12 +00:00
Stein Strindhaug
301f2a5d50
Use full width for streamfield help text.
...
Makes even quite long help texts one line only, so that they don't waste too
much vertical space.
2017-01-04 17:35:11 +00:00
Stein Strindhaug
b7b079eaf8
Fix bug where help_text covers controls for stream-field
2017-01-04 17:35:10 +00:00
Matt Westcott
39cb87507d
Add release note for #3254 to 1.9 docs
...
apparently my save button doesn't work
2017-01-04 17:32:35 +00:00
Andreas Nüßlein
2734dfca8b
added default argument to ChoiceBlock.
...
If default is not None and required is True,
don't render a blank option.
2017-01-04 16:09:30 +00:00
erickmk
eb16a476ba
replace self with cls for class method
2017-01-04 12:08:31 +00:00
Matt Westcott
0f94222689
Specify version 4.x, 5.x or 6.x of Node
...
Gulp 3.x is currently incompatible with Node 7: https://github.com/gulpjs/gulp/issues/1843
Fixes #3253
2017-01-03 16:47:32 +00:00
Matt Westcott
7288a96950
Point people to Stack Overflow for support queries in preference to the Google group ( #3255 )
...
We plan to put additional resources into support on Stack Overflow, based on feedback at https://twitter.com/WagtailCMS/status/801384753589080064
2017-01-03 16:02:24 +00:00
Matt Westcott
8f5e07d530
Rotate deprecation warnings
2016-12-16 18:54:51 +00:00
Matt Westcott
4c5cc5b286
Remove embed filter
2016-12-16 18:54:43 +00:00