0
0
mirror of https://github.com/wagtail/wagtail.git synced 2024-11-29 09:33:54 +01:00
Commit Graph

1873 Commits

Author SHA1 Message Date
iSar
411c117964 Fix typo in settings doc (#3595) 2017-05-15 09:12:16 +03:00
Thibaud Colas
b17d11af05 Release notes for #3012 2017-05-13 23:53:10 +03:00
Matt Westcott
d37838711b fill in release date for 1.10 2017-05-03 12:56:55 +01:00
Matt Westcott
a3b048d403 Fix incorrect field panels in custom form example
Fixes #3571. Thanks to @patta42 for the report!
2017-04-28 15:28:25 +01:00
Matt Westcott
6d31b9dc8e Release note for #3252 backport to 1.9.x 2017-04-21 15:15:23 +01:00
Matt Westcott
b04b31dc90 Release note for #3252 backport to 1.8.x 2017-04-21 15:15:22 +01:00
Matt Westcott
a1ba54038f Release note for #3277 backport to 1.8.x 2017-04-21 14:54:57 +01:00
Matt Westcott
7c5d1b2ddb Release note for backported |safe filter fix (789872d84e) 2017-04-21 14:43:34 +01:00
Matt Westcott
a515b7019e Release note for backported |safe filter fix (bbcbb5d) 2017-04-21 14:42:59 +01:00
Matt Westcott
f99bc700b8 Doc placeholders for 1.8.2 2017-04-21 14:42:26 +01:00
Matt Westcott
c27855332e Release note for 9e51c7a 2017-04-21 14:09:09 +01:00
Loic Teixeira
6e42a7755a Allow default JS options to be overwritten for TableBlocks 2017-04-21 11:54:23 +01:00
Sebastian
49d706b406 Update docs - run python manage.py migrate once
We have to run python manage.py migrate once, in order to create the necessary tables for the postgres search backend.
Otherwise we get an error, as the insert in the table is not possible.
2017-04-21 09:16:44 +01:00
Matt Westcott
579d02246a Release note for #3046 2017-04-20 16:58:05 +01:00
Matt Westcott
b6ee2db6ac Create new release note sections for Wagtail 1.11 2017-04-20 16:52:28 +01:00
Matt Westcott
26eb481cf6 Update docs to mention Django 1.11 / Python 3.6 support 2017-04-20 10:57:22 +01:00
Matt Westcott
ae52fed0f9 scenarii -> scenarios 2017-04-20 10:52:25 +01:00
Bertrand Bordage
2b135a519c Doc typos. 2017-04-19 18:38:17 +02:00
Bertrand Bordage
769413dd2d Promotes new admin preview in release notes. 2017-04-19 18:37:54 +02:00
Matt Westcott
50ef80f7c1 Promote user language preference to a headline feature in release notes 2017-04-19 15:14:02 +01:00
Bertrand Bordage
29767b1f7a Fixes typos from #3310 release notes. 2017-04-19 15:51:50 +02:00
Janneke Janssen
c1a751e6c0 Fix reorder past a deleted item 2017-04-19 14:42:11 +01:00
Bertrand Bordage
c965212003 Updates release notes for #3310. 2017-04-19 15:16:54 +02:00
Bertrand Bordage
b866e5b934 Adds some missing versionadded in settings docs. 2017-04-19 15:13:02 +02:00
Bertrand Bordage
1a82c19191 Adds documentation for WAGTAILADMIN_PERMITTED_LANGUAGES. 2017-04-19 15:09:58 +02:00
Matt Westcott
88136dab73 Further typos for #3310. 2017-04-19 14:54:36 +02:00
Daniel Chimeno
72a935a8f0 Adds user-prefered admin language (#3310).
added prefered language field and migration

added form and view to select prefered language

Added some tests

modified tests

fix styleguide errors

activate middleware only for authenticated users

fixed typos

fixed test undoing language preferences

fixed lint issues

fixed tests

fixed message

change behaviour and more test added

added utf8 coding

[skip ci] initial documentation for preferred language

added contributor

refactor get_available_admin_languages

refactor get_available_admin_languages

make language name language aware

translate notifications to recipient language

make language name language aware

fixed lint
2017-04-19 14:48:06 +02:00
Michael van Tellingen
911009473b Update release notes for sitemap update 2017-04-19 13:40:43 +02:00
Michael van Tellingen
7ad348ffa7 Minor documentation update for sitemaps 2017-04-19 13:40:43 +02:00
Michael van Tellingen
c6c2868c58 Update documentation related to the sitemaps
Since we now use regular Django sitemaps we can mostly just refer to the
Django documentation

Co-authored with @mikedingjan
2017-04-19 13:40:43 +02:00
Karl Hobley
ef1cd3d51a Changelog/release note for auto update preview 2017-04-12 17:09:05 +01:00
Bertrand Bordage
511c158b18 New admin preview (#3383)
* Rewrites the page preview to make it reliable.

* Updates preview tests.

* Fixes View import on Django 1.8 & 1.9.

* Starts sending preview auto-update data only after clicking on preview.

* Changes the preview session key prefix.
2017-04-12 16:35:38 +01:00
Karl Hobley
0d1c277e85 Added versionadded tag to postgres search doc 2017-04-12 16:30:45 +01:00
Karl Hobley
554ce992da Changelog/release note for postgres search engine 2017-04-12 16:30:25 +01:00
Bertrand Bordage
e62d67bd73 Adds PostgreSQL search backend. (#3515)
* Adds PostgreSQL search backend.

* Isort nitpicks.

* Fixes PostgreSQL versions incompatibilities.

* Uses Django lru_cache instead of building our own.

* Fixes PostgreSQL search index on some empty vector & query cases.

* Never sets the PostgreSQL search vector to NULL.

* Simplification + removes caching on two fast enough functions.

* Rewrites stale entries deletion to use the ORM.
2017-04-12 16:16:16 +01:00
Bertrand Bordage
c3ca99cd3c Adds upgrade notes for #3528. 2017-04-12 11:54:44 +02:00
Matt Westcott
3cf7006a86 Release note for #3252 2017-04-10 21:55:13 +01:00
Andreas Nüßlein
bfd4a2ef4b Adding the Meta attribute group to Blocks.
The idea is that Streamfield-Blocks can be grouped in the CMS
by setting Meta's `group` attribute.
This gives a better overview, particularly with many blocks.
If the attribute remains unset, nothing changes.
2017-04-10 20:27:32 +01:00
Matt Westcott
922260833b Release note for #3423 2017-04-10 19:18:37 +01:00
Bertrand Bordage
985ac8d1c4 Update 1.10.rst 2017-04-08 21:10:30 +02:00
Bertrand Bordage
ce251fbd96 Update 1.10.rst 2017-04-08 14:37:44 +02:00
Bertrand Bordage
8cf37bc877 Merge pull request #3460 from rosco77/patch-1
[Docs] Removes common prefix from i18n_patterns.
2017-04-08 01:53:18 +02:00
Matt Westcott
fb82650943 Release note for Django 1.11 compatibility - fixes #3314 2017-04-07 16:52:31 +01:00
Bertrand Bordage
8ed083fc36 Updates 1.10.rst. 2017-04-06 20:10:10 +02:00
Bertrand Bordage
d36fe2b253 Merge pull request #3462 from kaedroho/feature/images-in-api-simple
Allow custom field classes to be used in api_fields
2017-04-06 19:41:29 +02:00
Karl Hobley
fd9db9335a Docs edits 2017-04-06 15:27:34 +01:00
Karl Hobley
7e160edad6 Docs 2017-04-06 15:17:57 +01:00
Matt Westcott
e62663e2b3 update modelcluster/taggit in doc dependencies 2017-04-05 22:08:38 +01:00
Matt Westcott
6d553ab396 Document that 'format' on Date(Time)Block must be one of the recognised DATE(TIME)_INPUT_FORMATS 2017-03-31 16:46:00 +01:00
Bojan Mihelac
0f53afc5a6 Adds support for custom date and datetime formats (#2595)
It is possible to set default format for date/datetime inputs. This works together
with standard django localization.

    # django settings
    USE_I18N = True
    LANGUAGE_CODE = 'sl'

    # wagtail settings
    WAGTAIL_DATE_FORMAT = '%d.%m.%Y.'
    WAGTAIL_DATETIME_FORMAT = '%d.%m.%Y. %H:%M'

DateBlock, DateTimeBlock accepts additional keyword argument `format`.
2017-03-31 16:30:27 +01:00
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