Gassan Gousseinov
d37ce9f699
routablepageurl returns urls only for default site on multisite installation ( #5102 )
2019-02-27 19:21:26 +00:00
Matt Westcott
34d7efe4e3
Add note to clarify that construct_homepage_panels should modify the ist in place
2019-02-27 14:56:40 +00:00
Neil Lyons
f10c5cab58
Update docs for construct_homepage_panels hook ( #5109 )
...
`construct_homepage_panels` hook doesn't need a return statement.
[Looking at the code](https://github.com/wagtail/wagtail/blob/master/wagtail/admin/views/home.py#L101-L102 ), the user doesn't need to return a list, they need to mutate the list passed in.
2019-02-27 14:50:01 +00:00
Samir Shah
9ae6e9025a
Update Django version requirement in setup.py
2019-02-27 14:47:46 +00:00
Evan Winter
a4c3ccc464
Fix typo in docs ( #5103 )
2019-02-26 21:46:23 +00:00
damianos
20f47ff50e
Fixed ValueError
not raised ( #5095 )
...
Raised `ValueError` in `wagtail/images/utils.py` that was called but not raised
I work for Semmle and I noticed these issues using our LGTM code analyzer
https://lgtm.com/projects/g/wagtail/wagtail/alerts/?mode=tree&severity=error&ruleFocus=1505923886371
2019-02-26 19:48:16 +00:00
Andy Babic
234ee703ed
Test against django's stable/2.2 branch
2019-02-26 19:31:53 +00:00
Karl Hobley
04861bc37d
Release note / contributor for #5097
2019-02-23 14:15:07 +00:00
tomedelliott
f5654981c8
Add limit image upload size by number of pixels ( #5097 )
...
* Add test for Image pixel size
* add pixel size check and update test to match
using djangos get_image_dimensions this maybe a internal function
but the commit adding it is over 9 years old
* Update docs and CHANGELOG
* fix typos
2019-02-23 14:13:00 +00:00
LB (Ben Johnston)
2044b7e930
Add panel configuration checks ( #5093 )
...
* checks for Page InlinePanel related model panels
* add panels check to modelAdmin models
* add and revise tests for panel model checks
* revise related model usage
* remove unused keys from format string
* fix up unique error collection
* rework check_panels_in_model - variable names and string formatting
* rework tests for check_panels_in_model to use new string formatting
plus linting of some unused imports
* add checks to snippet models
* use consistent naming for returning errors from checks in modeladmin
* add tests for snippets check_panels_in_model checks
* ignore vscode config files
* remove additional line added
2019-02-21 13:36:31 +01:00
DanAtShenTech
e6e9fd09e2
Highlight "create" and "edit" forms ( #5081 )
2019-02-19 10:53:29 +00:00
Matt Collins
37a472834a
Update legacy wagtail.wagtailadmin paths ( #5090 )
...
Update legacy wagtail.wagtailadmin paths to wagtail.admin
2019-02-19 10:49:15 +00:00
Matt Westcott
087434f348
Update links to Draftail documentation
2019-02-14 23:24:30 +01:00
DanAtShenTech
f21e75e95d
Fix typo (missing plural)
2019-02-14 23:18:48 +01:00
DanAtShenTech
966ad8658d
Properly designate last_name field
2019-02-14 12:05:26 +00:00
DanAtShenTech
56f29a0825
Clarify explanation of ParentalKey within InlinePanel ( #5070 )
...
Make it clear that the relationship to relate a cluster of objects to a page is called ParentalKey.
2019-02-13 16:32:22 +00:00
Vladimir Knobel
a0d6dbb5f4
Update primer.rst ( #5068 )
...
path to overriding template doesn't match model name
2019-02-13 15:16:44 +00:00
Matt Westcott
4a5036839b
Respect CSS precedence rules in HTMLRuleset ( #4926 )
...
Fixes #4527
2019-02-13 14:50:20 +00:00
DanAtShenTech
dbb7ec77b3
Fix index_view_class in primer.rst
...
Fix the "index_view_class=" reference. Small grammar fixes.
2019-02-08 17:32:57 +00:00
DanAtShenTech
f1e3e2e379
Update primer.rst ( #5061 )
...
Small wording clarifications.
2019-02-08 17:26:26 +00:00
pvetch
731b8fc9b4
Update third_party_tutorials.rst ( #5057 )
...
This content seemed moribund so have added some newer material and checked that the original links still work. There are probably lots of other newer examples that could be added (it might be worth weeding out some of the older content at this point too).
2019-02-08 17:06:01 +00:00
DanAtShenTech
c9be245b0f
Update primer.rst ( #5062 )
...
Small grammar fixes
2019-02-08 17:02:30 +00:00
Thibaud Colas
96ec1e0e4e
Preserve links when copy-pasting rich text content from Wagtail to other tools ( #5054 )
2019-02-07 00:01:03 +02:00
Brady
e77338f1a3
Highlight broken links to pages and documents in rich text. Fix #4802 ( #4813 )
2019-02-02 17:04:01 +00:00
ed@sharpertool.com
f39f018ebf
Update hooks.rst ( #5044 )
...
Document and Image fields changed from `uploaded_by` to `uploaded_by_user`
2019-01-31 12:22:25 +00:00
David Beitey
f881420a98
Add MEDIA_* settings to Django integration page ( #5046 )
...
This change adds the required MEDIA_URL/MEDIA_ROOT settings to this documentation page, so the page outlines they are required and gives an example if they're not already configured.
2019-01-31 12:19:42 +00:00
Karl Hobley
6e2b8c28d0
Diffing streamfieds
2019-01-30 09:52:03 -05:00
Matt Westcott
6dba61fc3a
Disable codecov coverage checks on PRs
2019-01-30 10:49:51 +00:00
Karl Hobley
5817a42bf0
Fix new flake8 error F632
2019-01-30 08:18:34 +00:00
Matt Westcott
94c9a99156
pep8 fix
2019-01-29 17:09:53 +00:00
Karl Hobley
50e72dc58b
Allow disabling search auto-update on a per-model basis ( #4946 )
2019-01-29 17:06:41 +00:00
Asanka Lihiniyagoda
8c4b3fe669
'Parent' link in page chooser search should not navigate away ( #5011 )
2019-01-29 16:36:34 +00:00
Bertrand Bordage
437f641977
Release notes for #4994 .
2019-01-26 16:39:45 +01:00
Bertrand Bordage
3e86eb3a9d
Changelog for #4994 .
2019-01-26 16:36:49 +01:00
Matt Westcott
67940973b5
Fetch new translations from Transifex
2019-01-25 10:38:22 +00:00
Matthew Linares
a0b4efd414
Recipe: automatic redirect creation on url edit ( #5002 )
2019-01-24 14:06:44 +00:00
aidarbek
6890f8ef76
Removing confirmation of publishing from documentation ( #5006 )
2019-01-24 12:18:47 +00:00
frmdstryr
5fcaa64d81
Avoid a pop from an empty list in HTMLToContentStateHandler ( #5004 )
2019-01-24 12:09:33 +00:00
Coen van der Kamp
a26a3309ee
Add Wagtail Space Arnhem banner to documentation
2019-01-24 11:28:56 +00:00
Hammy Goonan
8fa7a41011
moving tsvector query sanitation to
2019-01-20 16:43:22 +01:00
Hammy Goonan
be02bcef3c
removing trailing whitespace
2019-01-20 16:43:22 +01:00
Hammy Goonan
7c749e1373
adding test
2019-01-20 16:43:22 +01:00
Hammy Goonan
af6bf164ec
remove backslash from string to prevent syntax error in tsquery
2019-01-20 16:43:22 +01:00
Sergey Fedoseev
057690815b
Made HTTP_HOST of page dummy request include port. ( #4954 )
2019-01-17 12:34:04 +00:00
Matt Westcott
dc2f487391
Release / deprecation note for #4749
2019-01-11 15:22:37 +00:00
Matt Westcott
5802314b3e
Add tests for per-request custom behaviour in edit handlers
2019-01-10 17:35:27 +00:00
Bertrand Bordage
4a8fdb1c18
Binds instances to EditHandlers before generating forms.
2019-01-10 17:27:04 +00:00
Bertrand Bordage
cc8eaf039a
Updates tests to use EditHandler.bind_to.
2019-01-10 17:26:50 +00:00
Bertrand Bordage
b599fce714
Allows binding instance and request to EditHandler before form.
2019-01-10 17:26:50 +00:00
Sergey Fedoseev
f271c40cea
Simplified Site.find_for_request(). ( #4951 )
...
Handling of AttributeError is unneeded since support for Django 1.8 is dropped and handling of KeyError is unneeded because both hostname and port are obtained now via Django API (its current implementation can raise KeyError if SERVER_NAME or SERVER_PORT are absent, but they are required per PEP 3333).
Updated tests to include SERVER_NAME / SERVER_PORT when manually constructing HttpRequest objects, and removed tests that explicitly test the absence of these.
2019-01-10 15:37:35 +00:00