Nick Smith
48949e69a7
Add to StreamField migrations documentation
...
- Add example code for migrating draft pages and page revisions
2017-03-30 21:37:12 +01:00
Matt Westcott
72a1b82e3e
Release note for #3068
2017-03-30 17:38:44 +01:00
Andreas Nüßlein
421eb9ef8a
a few too many quote's
...
pk = quote(getattr(obj, self.opts.pk.attname))
self.url_helper.get_action_url('edit', quote(pk)) # < this was a little unneccessary, double function calls in multiple locations
2017-03-30 17:06:01 +01:00
Karl Hobley
babe8a0c09
Fix annotate_score followed by slice ( #3518 )
...
This fixes the bug reported by @nimasmi in
https://github.com/wagtail/wagtail/issues/3431#issuecomment-288051751
Slicing creates a new SearchResults object but the ``score_field`` (set
by ``.annotate_score()`` wasn't being passed along to the new
SearchResults causing the score to not be annotated.
2017-03-30 14:24:17 +01:00
Matt Westcott
cc52c1b1ca
Revert "Fixes ticket #2251 . Implemented is_multipart on EditHandler and created tests." ( #3519 )
...
See https://github.com/wagtail/wagtail/pull/3501#issuecomment-290380892 - this change wrongly assumes that edit handlers will always be used with a ClusterForm, and a fix isn't required here anyway because it was fixed separately as https://github.com/wagtail/django-modelcluster/pull/73 .
This reverts commit a6bb67f75d
.
2017-03-30 14:16:46 +01:00
Thijs Kramer
6a87e90171
Adjust the filter button height to match the height of the input fields next to it
2017-03-28 19:54:46 +02:00
Andy Babic
37bbbb9dba
Improved code separation in contrib.modeladmin
( #3467 )
...
* Split `helpers.py` into separate `url.py`, `permission.py` and `button.py`, dedicated to those separate concerns and update the docs accordingly
* Move `ThumbnailMixin` out to `mixins.py` and update documentation accordingly
* Ad #NOQA to import lines to hush pep errors
* Alphabetise helper import order
* - Delete `helpers/helpers.py`
- wagtal -> wagtail in docs
2017-03-28 10:34:03 +01:00
Mikalai Radchuk
35a1af2b3b
Release notes for #3482
2017-03-27 20:28:45 +03:00
Janneke Janssen
4ab57ddd1f
Fixes invalid focal_point for hiding the marker if no focal point is applicable
2017-03-26 13:30:56 +02:00
maartenkling
270ac669a8
Added remove focalpoint button
2017-03-26 13:27:35 +02:00
Kees Hink
a2b9c2bfe4
Document pep8 issues to ignore ( #3503 )
...
* Docs: E501 is not the only PEP8 violation we accept.
* Add the list of PEP8 violations we accept to tox.ini
2017-03-25 15:10:12 +01:00
Wietze Helmantel
a6bb67f75d
Fixes ticket #2251 . Implemented is_multipart on EditHandler and created tests.
2017-03-25 13:20:24 +01:00
Christine Ho
78a2e8ae96
Display a comma separated string for fields returning content as lists
2017-03-24 14:30:01 +01:00
Rob Moorman
d5d23b01a5
Fix missing target for django-bakery docs
2017-03-24 14:27:59 +01:00
Ralph Jacobs
87a7a798c9
Change scroll factor to make it more userfriendly
2017-03-24 14:01:17 +01:00
Kees Hink
6961f33078
Restrict view_draft to can_publish / can_edit permissions ( #3474 )
2017-03-24 11:54:10 +01:00
Janneke Janssen
20e8aabdf9
Release notes for #3291 / #3481
2017-03-24 11:52:38 +01:00
Matt Westcott
b229953c0f
Release note for #3439 / #3495
2017-03-24 11:41:45 +01:00
Matt Westcott
6aea6a6856
Release note for #3425 / #3494
2017-03-24 11:06:42 +01:00
maartenkling
c0c0a58c44
Change buttons for mobile #2780
2017-03-24 10:11:56 +01:00
Patrick Gerken
50a16c37db
Make installing deps more stable
...
The old syntax works with bash, but not with zsh. The new syntax works with both.
2017-03-23 18:04:20 +01:00
Wietze Helmantel
285d9f0b43
Ticket #2918 added is_preview flag to serve_preview methods
2017-03-23 17:58:18 +01:00
Christine Ho
67ff4c26df
Add Page type to PageChooser button label
2017-03-23 17:40:27 +01:00
Alex Gleason
bbdbf3fd81
Allow spaces in tag fields
2017-03-23 17:19:47 +01:00
Matt Westcott
eb9cc639d2
Link to the full Elasticsearch setup docs from the Performance page
2017-03-23 15:51:11 +01:00
Matt Westcott
00c6a5f220
Don't set is_staff flag on users
...
Wagtail doesn't routinely require access to Django admin, so it makes sense for Wagtail to not enforce an opinion on who does or doesn't get access.
Fixes #970 and #2777
2017-03-23 15:39:51 +01:00
Rob Moorman
c7b778c4e9
Removed docs
...
Added release docs with upgrade consideration of alternative to django-medusa
2017-03-23 12:30:21 +01:00
Ralph Jacobs
cf815e8897
Change event handler to keyup. This fixes the IE10 + IE11 submit issue
2017-03-23 12:04:04 +01:00
Matt Westcott
31f4ac18c6
Release note for #3478
2017-03-23 11:50:57 +01:00
Rob Moorman
82a8202bb2
Release notes for #3483
2017-03-22 20:56:30 +01:00
Maarten Kling
e41edb6e29
Setting for your most recent edits ( #3483 )
...
Closes #996
2017-03-22 20:47:57 +01:00
Christian Peters
9257a4a1dc
Switching from undefined/indeterminate queryset to a defined one. ( #3468 )
2017-03-21 10:38:31 +01:00
Ross Curzon-Butler
d4165f0d40
Django urlpattens no longer support common prefixes
2017-03-17 09:00:46 +01:00
Janneke Janssen
a2d7b133fc
Release notes for #3440
2017-03-13 17:18:25 +01:00
hyden
01e891d0c4
Convert every Cloudflare API error message into string ( #3436 )
2017-03-09 19:36:08 +00:00
Matt Westcott
21f1292cf7
Reinstate underscore in fields param, as per 40842fe8bf (commitcomment-21183519)
2017-03-07 11:03:30 +00:00
Matt Westcott
60f28f8dc3
Mark API v1 documentation as deprecated ( #3429 )
2017-03-07 10:49:19 +00:00
jacoor
40842fe8bf
typo fix
2017-03-07 10:48:30 +00:00
Andy Babic
3348cd5c89
Reduce modeladmin’s dependency on wagtail.wagtailimages and wagtail.wagtaildocs
...
- Remove imports at the top of options.py and views.py that result in ImportError when those apps aren’t installed
- Alter ThumbnailMixin and InspectView to use the `wagtail.wagtailimages.shortcuts.get_rendition_or_not_found()` method to render images, which handles missing image source files gracefully, and reduces code duplication.
- Simplify `get_field_display_value()` by not limiting image and document rendering to ForeignKey fields. It should work consistently for property methods or other attributes too.
2017-03-03 15:33:17 +00:00
Trent Holliday
f28130647a
Title not displaying page name
...
The `page` context variable does not exist for that view.
2017-03-03 09:56:05 +01:00
Thibaud Colas
d4e63c74e5
Mention Awesome Wagtail on "third-party tutorials" page ( #3419 )
...
It feels relevant to mention Awesome Wagtail here since it serves the same purpose as this page.
2017-03-02 12:00:38 +00:00
Janneke Janssen
6e9965d47f
Fix possibility of tabbed interface conflicting with regular IDs
2017-03-01 16:57:09 +00:00
Stein Strindhaug
35305e1649
Fix for #3268 : Make file-label translated
2017-03-01 15:50:42 +00:00
Matt Westcott
54012e6397
Fix backtick quoting
2017-02-23 12:24:32 +00:00
Matt Westcott
d4114ff4ae
Release note for #3007
2017-02-23 12:23:03 +00:00
Matt Westcott
63d52af0a3
Release note for dropping Django 1.9 and Python 3.3 ( #3376 )
2017-02-22 17:40:09 +00:00
Janneke Janssen
23649990c2
Fixes the search promotion query popup from throwing an unexpected error. ( #3395 )
...
Fixes #3384
2017-02-22 16:16:36 +00:00
Matheus Bratfisch
ca16e9187f
Add exclude_fields to ModelAdmin and ModelFormView, tests and doc
2017-02-22 11:41:44 +00:00
Scot Hacker
6364104282
Document get_rendition()
2017-02-21 22:48:20 +00:00
Matt Westcott
498f4f4627
Add note that promoted search results are an optional feature ( #3343 )
...
Addresses #3321
2017-02-21 10:57:25 +00:00
Thibaud Colas
1e3548e671
Add browser support targets in contributing guidelines
2017-02-20 20:46:40 +00:00
Daniel Chimeno
f70226c845
add way of autocompile documentation
2017-02-20 20:24:17 +00:00
Janneke Janssen
493a30bcf9
Add nvmrc to the project and updated developing docs
2017-02-20 11:14:33 +01:00
Andy Babic
0c056552eb
Style amends for modeladmin.view.IndexView:
...
- Removes unnecessary right padding from result list when listing is supposed to be full-width (no filters) on desktop
- Removes unnecessary left/right padding from result list on mobile (the table cells have padding of their own)
- In order to be more consistent with the Explorer list view, only make orderable column header links 'teal' if the listing is currently ordered by that field
- Better use of scss hierarchy to improve readability
- Remove the ‘teal’ CSS class from orderable header links
2017-02-17 21:08:13 +01:00
Mikalai Radchuk
eb47526888
Enhancement for PageChooserBlock
...
Allow the target_model argument to be a list or tuple.
2017-02-17 11:30:32 +00:00
Gagaro
46c9cdda15
feat: Added construct_image_chooser_queryset
, construct_document_chooser_queryset
and construct_page_chooser_queryset
hooks
2017-02-17 10:40:03 +00:00
Andy Chosak
b00bf70229
Document register_page_listing_more_buttons ( #3377 )
...
* add docs for register_page_listing_more_buttons
2017-02-16 21:40:57 +00:00
Daniel Chimeno
c239932434
[skip ci] added commment about autobuild inside vms ( #3379 )
2017-02-16 21:29:10 +00:00
Matt Westcott
15cd1b43cb
Fix unexpected full stop in the middle. Of a sentence.
2017-02-16 17:11:37 +00:00
Matt Westcott
25c2be10c3
Remove image feature detection signal handler from docs
2017-02-16 17:10:38 +00:00
Mike Dingjan
8c970e4848
Update documentation
2017-02-16 16:54:36 +00:00
Matt Westcott
ea2c041c6e
Set release date for 1.9
...
Conflicts:
CHANGELOG.txt
2017-02-16 10:47:34 +00:00
Matt Westcott
14f991df14
Allow pageurl / slugurl tags to function when request.site is not available
...
Fixes #3352
Conflicts:
CONTRIBUTORS.rst
2017-02-16 10:15:39 +00:00
Matt Westcott
8f25cd9b92
Release note for #3067
2017-02-15 15:20:38 +00:00
Karl Hobley
c900f71117
Rename project_template homepage to "Home"
2017-02-14 17:20:19 +00:00
LB (Ben Johnston)
5aa8e00d77
fix location of {{ block.super }}
...
Fix: extra_js in snippets type_index `{{ block.super }}` should be outside script tags.
All other locations of block.super are outside of script tags
2017-02-14 10:45:25 +00:00
Janneke Janssen
5d706d2542
Release notes for #3359
2017-02-13 11:21:40 +01:00
Gagaro
4fadecebd6
Added a submit_buttons
block to login template
2017-02-11 22:58:53 +00:00
Florian Vogt
ff9ef9068b
Mark wagtailforms-date-filter-placeholder for translation
2017-02-11 22:27:03 +00:00
Gagaro
ac7ad067d2
feat: can order hooks
2017-02-10 10:06:43 +00:00
Thibaud Colas
72036501e7
Release note for #3353
2017-02-10 09:40:36 +00:00
Matt Westcott
ae95bd5685
Add new release note sections for 1.10
2017-02-08 23:42:35 +00:00
Thibaud Colas
d6df83c6d3
Add browser issues/support section for editors
2017-02-08 22:21:35 +00:00
Matt Westcott
bd9455a11b
Document wagtailsearch settings for Amazon Elasticsearch Service ( #3345 )
...
Resolves #2776
2017-02-08 18:58:24 +00:00
Matt Westcott
70a23808ec
Add image for m2m feature in release notes
2017-02-06 12:07:32 +00:00
Matt Westcott
de9ffaab49
Release note for #3170
2017-02-06 11:59:31 +00:00
Andy Babic
e771fefa5f
- Fix positional argument order when calling ModelAdmin.get_extra_class_names_for_field_col() and ModelAdmin.get_extra_attrs_for_field_col() from items_for_result() in template tags.
...
- Added new tests to confirm the things are now correct.
2017-02-06 10:48:48 +00:00
Alasdair Nicol
d8926913bd
Updated docs to use a list for urlpatterns
...
This style is recommended for Django 1.8+, and required for 1.10+
2017-02-05 19:59:39 +00:00
Thibaud Colas
2c1fc6bb92
Fix typo in editor guide intro
2017-02-05 17:25:19 +02:00
Matt Westcott
b3e723eea3
Release note for #3305
2017-02-03 21:24:57 +00:00
Matt Westcott
b4311731ea
Upgrade note re new versions of django-modelcluster and django-taggit
2017-02-03 21:24:56 +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
David Ray
49b78dd8a7
Removing errant words in sample path/to/wagtail
2017-02-03 20:41:08 +00:00
Matt Westcott
753efbb29e
Release note for #3320
2017-02-03 09:57:11 +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
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
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
Thibaud Colas
c0cd53918e
Release notes for #3021
2017-01-26 01:34:37 +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
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
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
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
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
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
5e13a1d674
Remove old versionadded line
2016-12-15 16:23:05 +00:00
Matt Westcott
762355382f
set release date for 1.8
2016-12-15 12:01:12 +00:00
Matt Westcott
6f834c9a9b
Update links to github.com/torchbox to point to github.com/wagtail
2016-12-15 11:49:49 +00:00
Matt Westcott
d3aeace155
Add breadcrumb permission limits and tutorial to 1.8 major feature list
2016-12-14 17:55:13 +00:00
Tom Dyson
69661b0455
1.8 release notes - 'other', not 'minor' ( #3218 )
2016-12-14 11:41:40 +00:00
Mihail Russu
4f5ffe98bc
Fix the inconsistent use of blogpages
...
`page.get_children` was changed earlier to `blogpages` in order to show the blog posts ordered and hide the unpublished ones
2016-12-13 10:07:11 +00:00
Marco Fucci
2f06afe6e1
Make all live and draft links open in a new win
...
Some 'live' and 'view draft' links were opening in a new window
and some weren't for no apparent reason.
This fixes that inconsistency.
2016-12-12 19:04:27 +00:00
Matt Westcott
d5ef2edc8f
Version bump to begin work on 1.9
2016-12-09 15:43:53 +00:00
Matt Westcott
723cd0829f
Image / updated writeup for page privacy feature in 1.8
2016-12-09 15:30:46 +00:00
Matt Westcott
2c9805dc3f
Add upgrade consideration note re direct use of Filter and Rendition
2016-12-06 15:05:50 +00:00
Matt Westcott
978cd2e95b
Switch to Rendition.filter_spec as the active field for looking up filters
2016-12-06 15:03:15 +00:00
Matt Westcott
f2fcfe54a2
Release note for #3193
2016-12-05 19:23:29 +00:00
Matt Westcott
ff44666c36
Add note that wagtailforms is not a replacement for Django forms ( #3190 )
2016-12-05 18:19:59 +00:00
Matt Westcott
f54498b3b0
Clarify '# ...' comments when omitting code in tutorial snippets
...
See https://groups.google.com/d/msg/wagtail/NFFqKY98jiY/XZjmk3-mBAAJ
2016-12-01 13:43:19 +00:00
Karl Hobley
cc299d8873
Added example to #3036 upgrade consideration
2016-12-01 12:04:14 +00:00
pyMan
7d1114c1a1
Extra ES params passed through new OPTIONS key
...
Closes #2778
Extra ES params are now passed through new OPTIONS key in the
WAGTAILSEARCH_BACKENDS setting.
It's backward compatible: if no OPTIONS key is found and some parameters
still exist, those parameters are used for the ES constructor..
2016-12-01 12:04:14 +00:00
Matt Westcott
11676408c9
remove Fix: prefix
2016-11-30 18:46:22 +00:00
Chris Rogers
89e985d02a
added convenience method in_site and tests
2016-11-30 18:45:14 +00:00
Edd Baldry
cb268c233a
Disable editing when page lock turned on
2016-11-30 17:16:47 +00:00
Matt Westcott
6fda0dc01f
Release note for #3139
2016-11-30 17:00:30 +00:00
Matt Westcott
3fd5bb1820
Add image gallery / InlinePanel section to tutorial
2016-11-30 16:38:20 +00:00
Matt Westcott
5df8f1e34e
Release note for #3145
2016-11-30 16:35:21 +00:00
Karl Hobley
18316d627d
Added Elasticsearch 5 to search backend docs
2016-11-30 16:31:20 +00:00
Diederik van der Boor
f960753d74
Add the alters_data
attribute on Page.copy()
.
...
This makes sure the variable can't be printed in the template,
performing an accidental copy of the page. That also happened when using
the `{% print %}` tag from my django-debugtools package
2016-11-29 11:39:37 +00:00
Scot Hacker
2882775842
Add BlockQuoteBlock to core block types
2016-11-29 10:13:10 +00:00
Morgan Aubert
4e23e46159
Fix #3167 - Ensure TableBlock content is indexed
...
Changes include:
* adding the 'get_searchable_content' method on the TableBlock
* ... and the related test
2016-11-28 20:40:47 +00:00
Matt Westcott
3d37f84311
Release note for #2812
2016-11-28 17:45:17 +00:00
Mikalai Radchuk
55bdae573b
Add support of callable choices for ChoiceBlock
...
Fixes #2809
2016-11-28 17:44:35 +00:00
Matt Westcott
02360e6651
re-indent template performance code snippet
2016-11-28 13:45:42 +00:00
Tim Heap
16213db0f8
Remove old versionadded notes
...
A step has been added to the release process notes to do this for future
releases as well.
https://github.com/torchbox/wagtail/wiki/Creating-a-new-Wagtail-release
2016-11-28 13:41:35 +00:00
Tim Heap
6ba34636cb
Fix whitespace errors in docs
...
Trimmed trailing whitespace, convert tabs to 4 spaces, add preference
for spaces to `.editorconfig`.
2016-11-28 13:41:35 +00:00
Tim Heap
254e675634
Use .. code-block:: console for all shell commands
...
This is the correct lexer for interactive console sessions, according to
<http://pygments.org/docs/lexers/ >. This does require command lines to
be prefixed with `$`, otherwise they are interpreted as the output of a
command. It highlights the command nicely, including environment
variables, strings, and comments.
2016-11-28 13:41:35 +00:00
Tim Heap
f742d4a476
Use .. code-block:: for all python, html blocks
2016-11-28 13:41:34 +00:00
Tim Heap
2f8a43cd66
Document new blocks in login template
...
The old `branding.rst` docs were combined with the new docs on
customising the login page in a new `admin_templates.rst` document.
2016-11-28 12:41:06 +00:00
Diederik van der Boor
d21171c1b0
Fix errors by settings context processor in out-of-request templates
...
When templates are rendered outside the request cycle,
the `settings` context processor fails because `request.site` is not
created because `SiteMiddleware` was not processed.
This happens whenever requests are mocked for rendering.
For example email rendering by third party packages or unittests
that mock a request object without taking all middleware into account.
2016-11-24 12:14:58 +00:00
Andy Babic
23eced1fcd
`Added support for 'exclude_from_explorer' attribute on ModelAdmin class
2016-11-23 16:51:08 +00:00
Morgan Aubert
51b4f0f53d
Fix #3134
...
Changes include:
* fixing the FieldError exception that can occur as described in #3134
* add tests for the "search_garbage_collect" command
2016-11-17 14:34:56 +00:00
Albert O'Connor
a5b544631b
Update the Cloudflare backend to use the v4 API
...
Fixes #3146
2016-11-17 12:01:57 +00:00
Manuel E. Gutierrez
5a26e22c0f
Improve TranslatedField example
...
Avoid allocating two variables when only need one.
2016-11-15 10:39:55 +00:00
Benoit Vogel
2fba07ad8e
Implemented StaticBlock
...
Uses admin_text which is a Meta attribute.
* StaticBlock code in wagtailcore/blocks + tests
* StaticBlock in Streamfield docs
2016-11-15 10:29:06 +00:00
Thejaswi Puthraya
6821c763ea
Refs #2717 . Custom forms for modeladmin.
2016-11-11 15:30:44 +00:00
Matt Westcott
98b4a6dccd
remove as-yet-unused tutorial screenshots for categories
2016-11-09 15:47:55 +00:00
Matt Westcott
011f2099eb
Remove categories section, add better example of MultiFieldPanel, minor copyediting
2016-11-09 14:35:58 +00:00
Scot Hacker
756d5ec0dd
Move slugurl example/explanation
...
- Also misc cleanup
2016-11-09 10:42:47 +00:00
Scot Hacker
3634c2b289
Add a Categories system to Getting Started tutorial
2016-11-09 10:42:46 +00:00
Scot Hacker
8c5b62ccfc
Intro tutorial additions and improvements
...
- Addresses all issues raised in PR review
- Adds more info to "Navigating parents/children"
- Adds a new dedicated section on overriding context
2016-11-09 10:42:45 +00:00
Scot Hacker
32f97ff43a
Update Getting Started tutorial to include posts automatically, plus tagging
...
- Resolves #3096
2016-11-09 10:42:44 +00:00
Matt Westcott
d9c27f0325
Tell developers to use the bundled version of six (we don't install it as a dependency any more)
2016-11-09 10:35:12 +00:00
Tom Dyson
d68c015658
Specify Github merge option for minor doc fixes ( #3144 )
2016-11-08 09:57:15 +00:00
Janneke Janssen
24eee6e41e
[FIX] Cloudfront docs typo ( #3143 )
2016-11-08 09:42:46 +00:00
Matt Westcott
59e9a31bc1
Document the fact that a matching version of the elasticsearch package must be used
2016-11-04 11:14:12 +00:00
Matt Westcott
8de1b1b16f
Release note for #3035
2016-11-03 16:58:54 +00:00
Matt Westcott
1b2cb50a84
Add documentation for bulk delete permission
2016-11-03 16:58:50 +00:00
Matt Westcott
bc9ebe46d2
Add release note detailing how to restore bulk delete permission to existing groups
2016-11-03 16:58:49 +00:00
Matt Westcott
5c9fc29fbe
Mention that deleting a published page requires publish permission
2016-11-03 16:10:11 +00:00
Matt Westcott
e681cb3626
Add documentation about permission configuration
2016-11-03 16:10:09 +00:00
Matt Westcott
c9137d1dc0
Update release note and credits for #3071
2016-11-01 14:05:05 +00:00
Matt Westcott
7545ed3675
We don't have t-shirts any more :-(
2016-10-27 20:55:19 +01:00
Ducky
7922f1abeb
restructured and added to contribution guide
...
As a new contributor I found some of the information for contributing hard to
find easily. I think this restructure should fix that, by bringing relevant
menus under their headings and adding an additional heading for 'more
information' instead of just 'other contributions'.
2016-10-27 20:50:28 +01:00
Ducky
76ffc972a5
fixes issue where closing the 'MORE' action scrolls to the top of page.
...
fixes #3076
2016-10-27 20:47:16 +01:00
Sævar Öfjörð Magnússon
169045b186
Loop through all multiple value fields when sending form submission by email.
...
A form field with multiple checkboxes may introduce submissions that have more than one value. The `send_email` function would loop through all form fields and grab only the first item of each field, ignoring fields that may have multiple values selected. This is a side effect of using `QueryDict.get()`, which will only return the last value of a list.
This commit fixes that by first converting the `QueryDict` instance to a regular dict of lists so that `get` will return all values, then joining multiple items if needed.
2016-10-27 20:24:25 +01:00
Mikalai Radchuk
f28bcaa003
Release notes for #3071
2016-10-27 16:42:14 +03:00
Matt Westcott
59440c92f1
Update PageViewRestriction model to support group/login restriction type
...
Update page privacy form with login/group options
Add unit tests for setting group-based permissions
Add a basic login page to wagtailcore
Implement front-end logic for group and login-based permissions
Allow overriding the frontend login template name with WAGTAIL_FRONTEND_LOGIN_TEMPLATE
Add documentation for customising the login page
Add message on login page for authenticated users who don't have access
2016-10-27 16:42:08 +03:00
Matt Westcott
2442416e93
Release notes for #3072
2016-10-26 13:09:40 +01:00
Tim Heap
9d54031a50
Add PageChooserBlock target_model option
...
It allows selecting a restricted subset of pages, like with the
PageChooserPanel
2016-10-26 13:01:46 +01:00
Tim Heap
d377f0c521
Add Page.objects.first_common_ancestor() method
2016-10-26 13:01:46 +01:00
Jaap Roes
10bcb50fff
Recommend Django's cached template loader
...
As noted in PR #3077 :
"With the cached template loader enabled, there's a significant performance improvement"
2016-10-26 13:24:36 +02:00
Benjamin Bach
4a92505c3b
set_url_paths Django 1.10 friendly, add a test
2016-10-26 09:59:53 +01:00
Nick Smith
992b315be6
Use paginator.count, not page|length, in header
...
Fixes #3097
2016-10-25 15:29:29 +01:00
Matt Westcott
a326cd8559
Custom Page Manager documentation fix
...
Thanks to @nimasmi for reporting!
2016-10-25 11:48:02 +01:00
Andy Babic
9f92f894b8
Improve consistency of modeladmin views
2016-10-24 22:10:34 +01:00
Andy Babic
78f67f8fdb
* Gives the result_row_display
control over the <tr>
element for each row in IndexView
by shifting the <tr>
out of result_list.html
and into result_row.html
...
* `result_row_display` adds a `data-object_pk` attribute to each row, to make items easier to identify with JS
* Adds `get_extra_attrs_for_row()` method to `ModelAdmin`, to give developers a way of adding further attributes to the `<tr>` element
2016-10-21 17:20:54 +01:00
Tom Dyson
512bf8936d
single typo in Cloudfront docs ( #3099 )
2016-10-20 15:25:27 +01:00
Matt Westcott
2ce6ec8046
Mark 1.7 as no longer in development
...
Conflicts:
CHANGELOG.txt
2016-10-20 10:25:18 +01:00
pure-zero
800bfa7c16
should use rest_framework not restframework ( #3087 )
2016-10-15 10:58:00 +01:00
Dan Braghis
e0e957f92a
Fix page chooser parent link on row hover [ #3080 ]
2016-10-14 10:39:09 +01:00
Gagaro
1d33cc7838
Fix: remove responsive behavior in embed when there is no ratio available
2016-10-13 17:40:30 +01:00
Gagaro
49421e5a41
Fix: Use specific page model for the parent page in the explore index
2016-10-13 16:28:48 +01:00
Henk-Jan van Hasselaar
8a3c47f76a
Use get_admin_display_title in admin
2016-10-13 15:46:12 +01:00
Gagaro
9710c292eb
Added getters for templates in AbstractForm
2016-10-13 15:08:49 +01:00
Matt Westcott
0cf3b13a1d
Release note for #3075
2016-10-13 14:54:34 +01:00
Tim Heap
b6fe08a634
Docs for get_image_model/get_image_model_string
2016-10-13 11:55:21 +02:00
Mikalai Radchuk
2e1c58a586
Release notes for #3047
2016-10-10 14:24:01 +03:00