Wykres commitów

262 Commity (3a5b7255adfb7eefbd9a48b56fdb7654b636d7cb)

Autor SHA1 Wiadomość Data
Robert Rollins d18ffb0233 Implemented a 'choose' permission for Images and Documents (#6466)
This PR adds the 'choose' permission discussed in #4488. It limits Image and Document choosers to showing only those Collections (and their contents) for which the current user has the Choose permission.

It grants Choose permissions to the Root Collection to every existing Group that has the "Can access Wagtail admin" perm, via data migration. So there will be no change in behavior unless the user goes in and alters the Choose perms for their site's groups.

This PR has no effect on anything except choosers. The Image and Document index pages are still controlled solely by the 'add' and 'change' permissions, as those are only accessible by users who have those permissions in the first place. This means that it's now possible to configure a Group to allow its members to choose images from existing Collections when editing pages, *without* them being able to edit said images or add new ones.
2021-01-05 12:23:49 +00:00
Matt Westcott 8d9e864581 Release note for #6485 2020-12-08 18:23:56 +00:00
Matt Westcott 93a80efe50 Add docs for modifying StreamField data 2020-12-08 16:57:10 +00:00
Andy Chosak fe427efb75 Fix Bonsai link in Elasticsearch docs
The search docs [0] currently link to a Bonsai signup page that 404s [1].
The signup page is currently a different page [2].
This commit replaces the Bonsai link with their homepage [3],
to avoid being overly dependent on their URL structure.

[0] https://docs.wagtail.io/en/v2.11.2/topics/search/backends.html
[1] https://bonsai.io/signup
[2] https://app.bonsai.io/signup
[3] https://bonsai.io/
2020-11-24 12:16:53 +00:00
Frantisek Holop 8f4e799fb8 remove double returns 2020-11-24 12:16:17 +00:00
Matt Westcott 6e1e36256a Remove elasticsearch 2 support 2020-11-05 12:04:12 +00:00
meghanabhange 3a2f2a6ea3 form_classname meta in FieldBlock (#6470) 2020-10-20 19:17:54 +01:00
Karl Hobley 72ef7a73e8 ElasticSearch => Elasticsearch 2020-10-03 14:43:03 +01:00
Karl Hobley 6e5f89adf2 General spelling fixes 2020-10-03 14:43:03 +01:00
Karl Hobley 9195131738 Lint docs with doc8 2020-10-03 14:43:03 +01:00
Matt Westcott e50056c3b0 Update responsive embeds docs
The current text still mentions the rich-text class (which is now formally deprecated) alongside responsive-object (which is not deprecated, but off by default). Split up the CSS snippet to make it clear that these are two distinct cases, and eliminate use of rich-text.
2020-08-27 12:25:23 +01:00
Matt Westcott e0dc53d9ad Remove versionadded/versionchanged notes for 2.9 2020-07-28 12:53:22 +01:00
jacobtoppm 80506cd2f5 Update info on publish permissions to match new workflow system 2020-07-24 16:59:33 +01:00
Karl Hobley 8d84f6a415 Changelog/release note/contributor for #6040 2020-06-09 09:42:48 +01:00
mozgsml 4abeb8232d
WebP images quality/lossless compression parameters (#6040)
* Add WebP-image quality and lossless

* Add WebP-image quality and lossless to Docs

* add WebP quality tests

* Split image quality filter => jpegquality, webpquality

* WebP lossless to inage format options

* Update WebP quality/lossless docs

* Updated Willow version

* WebP quality/lossless minor fix
2020-06-09 09:29:48 +01:00
Andrew Bunker 6fe9d0a23a Add note about Elasticsearch backend credentials to docs (#6097) 2020-06-03 17:37:26 +01:00
Matt Westcott 92e9e15683 Release note for phrase search / search query expressions 2020-05-20 14:29:00 +01:00
Karl Hobley 9dd9d0c895 Docs for parse_query_string 2020-05-20 14:12:27 +01:00
Karl Hobley 81811f6c1c Documentation for phrase search and query classes 2020-05-20 14:12:18 +01:00
LB Johnston 8fc722a6f3 Add ability to define form_classname on ListBlock & StreamBlock
* resolves #4042
2020-05-10 16:48:24 +10:00
Coen van der Kamp 68b2dc01c2 Render user bar on non page views
* resolves #5565
2020-05-10 16:10:45 +10:00
Matt Westcott 7b772aba81 Update note on ATOMIC_REBUILD to indicate that the problem is specific to 5.4.x - fixes #6003 2020-05-07 21:45:35 +01:00
danbentley 1156182283
Add Page.context_object_name (#5999)
Page.context_object_name can be used to define a more meaningful name
for the page variable in the template.

If defined, the default `page` and `self` are still available for use in
shared templates.

Resolves #5213
2020-05-01 20:01:02 +02:00
Tomas Walch 72ee81fbe5 Documentation: Adding Orderable superclass in code example in "Binding Pages to Snippets". If this is not included sorting in InlinePanel won't work so good to include it in documentation. 2020-04-28 16:21:36 +01:00
Matt Westcott ceb4270e01 Remove versionadded/versionchanged notes for 2.8 2020-04-22 13:54:09 +01:00
Matt Westcott 4950158e46 Remove remaining references to request.site 2020-02-17 12:06:19 +00:00
Matt Westcott f34891fbd3 Update docs to cover wagtail_site tag, find_for_request and deprecation of SiteMiddleware 2020-02-17 12:06:18 +00:00
Matt Westcott 4314f3d1a1
Implement MultipleChoiceBlock (rebase of #5592) (#5819)
* Implement MultipleChoiceBlock (squashed commits from #5592)

* Omit widget from frozen kwargs

* Rename get_callable_choices to indicate it is an internal method

* Add release notes for MultipleChoiceBlock
2020-02-10 22:24:49 +00:00
Matt Westcott d2080ff892 Update docs to cover responsive HTML being disabled by default 2020-01-20 18:57:51 +00:00
Matt Westcott 25942a4467 Rename WAGTAIL_ENABLE_RESPONSIVE_EMBED to WAGTAILEMBEDS_RESPONSIVE_HTML for consistency with other settings 2020-01-20 18:57:51 +00:00
Kalob Taulien aefb0f9506 Responsive emebed setting 2020-01-17 16:44:46 +00:00
Martey Dodoo 229103ff2e Update links in documentation. (#5689)
Use HTTPS links instead of non-secure HTTP links wherever possible in
documentation.
2019-11-08 09:15:01 +00:00
Karl Hobley 8335eb5305 syntax => keyword 2019-10-16 16:24:24 +01:00
Karl Hobley 6727ded7bc Improvements to "Alternative HTML tags" based on review feedback 2019-10-16 16:24:24 +01:00
Karl Hobley abbbceb389 Add documentation for how to use alternative image tags
This adds documentation for alternative image tags such as `<picture>`
and `<amp-img>`.
2019-10-16 16:24:24 +01:00
David Thompson 6a6555eb19 Fix multiple minor documentation issues
- Typo in readme (verb did not agree with the subject)
- Grammatical error in topics/pages
- #5364 - Update URL config code block in getting-started/integrating-into-django
2019-10-12 09:42:02 +10:00
pySilver 0149eff66a Implements ES7 support (#5611)
* Implements ES7 support

* Linter fix

* Adds docs

* isort fix

* Fixes typo
2019-10-10 11:00:14 +01:00
Mike Janger 747b5402d2 Changed height's description to match width's. (#5593) 2019-10-02 09:32:16 +01:00
Jonathan Liuti 2de92f045c Upgrade minimum 6.x release for Elasticsearch to 6.4.0
Fix doc and test on ES6 python client compat

This commit changes the statement that version < 6.3.1 of the
elasticsearch python client should be used to instead state
that 6.4.0 is fine.

It also update the tests to reflect the statement.

Initially the `update_all_types` argument has been used to work
around an issue described in:
https://github.com/wagtail/wagtail/issues/2968

This argument was removed in elasticsearch-py 6.3.1 and making
use of it was raising an error.

With 6.4.0 nothing is raising anymore.
2019-08-18 15:37:11 +10:00
Seb b839bd65bb Add support for custom search handler classes to ModelAdmin's IndexView
Author:    Seb <seb@takeflight.com.au>
Date:      Sun Apr 7 12:34:00 2019 +1000
2019-06-08 17:57:24 +01:00
DanAtShenTech 6989c29d33 Create reference in docs to PostgreSQL backend
wagtailsearch_backends_postgresql was not present in the documentation for reference by change made in this PR:  https://github.com/wagtail/wagtail/pull/5233
2019-05-03 13:36:02 +01:00
DanAtShenTech 5d52f416df Clarify: extra fields can be indexed by PostgreSQL backend (#5233) 2019-05-01 11:24:14 +01:00
DanAtShenTech dec456479b Grammar fixes (#5212) 2019-04-12 16:30:17 +01:00
Cassidy Brooke 942979fc4e Missing step for Migrating RichTextFields to StreamField (#5207)
This generated block of code needs to stay or else there will be an error while running ./manage.py migrate. It is misleading that it is not included in this tutorial.
2019-04-12 16:20:11 +01:00
DanAtShenTech f4ada7cad5 Fix typo. Small grammar changes. 2019-04-08 17:32:54 +01:00
DanAtShenTech f4ca13a9b3 Small wording changes 2019-04-03 10:09:12 +01:00
Kalob Taulien 062ff73665 Add documentation for the ajax_template attribute 2019-03-29 11:25:01 +00:00
Tom Usher 0f8a55a6ce Pass validators to FieldBlocks (#5148) 2019-03-15 18:42:08 +01:00
Arthur Holzner 6f6f9b8e46 Added fallback to pageurl (#4603) 2019-03-13 12:17:13 +01:00
Loic Teixeira 9da3a3d975 Update documentation 2019-03-06 11:00:30 +00:00