Wykres commitów

2337 Commity (045fda35950de8b37c45ffacd00fff613e1eb0d5)

Autor SHA1 Wiadomość Data
Matt Westcott bf870cecd3 Gracefully handle document links with missing ID attributes in rich text
Fixes #4791
Previously, our rich text conversion functions handled the case where a document link specified an ID which is not found in the database. However, they failed with a KeyError when the id attribute was missing completely; links of this second type would occur whenever a link of the first type was re-saved from the Draftail editor. The fix is two-fold:

1) Catch the "missing ID attribute" case - in this case, the resulting link will be missing both the href and id attributes
2) Update the handling of the "ID present but document not found" case so that the id attribute survives the round-trip to the editor and back. The final link as rendered on the front-end will still be an attribute-less <a> element, but the id will be retained in the database (and in the versions rendered within rich text editors) which may be useful for troubleshooting.
2018-10-10 12:54:52 +01:00
Thibaud Colas 7cd73c472f Add release notes for #4800 2018-10-07 22:27:51 +03:00
Matt Westcott 44e5beb481 Release / deprecation notes for #4777 2018-09-28 22:41:01 +01:00
Janneke Janssen 4134288700 Add autocomplete off to custom datetime widgets 2018-09-28 16:23:48 +01:00
Matt Westcott b2b42faf14
Fix note about update_index not being required for the db backend 2018-09-21 10:59:52 +01:00
Matt Westcott 6454e500ab
Fix module path (wagtailforms.models should be wagtail.contrib.forms.models) 2018-09-21 10:53:51 +01:00
Meteor0id 088d3ffc21 missing quotation, not that it matters
award of smallest contribution of the year goes to..
2018-09-13 13:00:57 +01:00
Ben Dickinson 4c72f767ea Add HTTP_AUTHORIZATION to values copied to dummy preview requests 2018-09-12 16:37:55 +01:00
Michael Harrison 8ef0edb371 Add file download url to Imagesv2 API endpoint 2018-09-06 17:12:02 +01:00
Samir Shah 265d4baaf2 Add a title attribute to the image displayed in an ImageChooserBlock. 2018-09-06 16:13:38 +01:00
Dan Braghis 5ddba47cc3 Add Auto-Submitted: auto-generated header to admin utils send_mail 2018-09-06 15:58:24 +01:00
Michael Borisov 38b2defc7f Check key value
It fixes issue when press 'б' in russian keyboard it's trigger ','
2018-09-05 15:07:45 +01:00
Matt Westcott 2947c584b0 Recommend the use of ManifestStaticFilesStorage. Fixes #3700 2018-09-04 12:56:11 +01:00
Matt Westcott 81bda3bb0c Fill in release date for 2.2.2
Conflicts:
	CHANGELOG.txt
2018-08-29 14:15:44 +01:00
Tomasz Knapik 7938e81ab4 Use Django defaults for not caching admin 2018-08-23 16:34:55 +01:00
Loic Teixeira 2b076b0a84 Release note for #4719 in 2.2.2 2018-08-23 11:16:57 +01:00
David b34b547c6a Re-establish datetimepicker localisation. Fix #4584 2018-08-22 12:01:30 +01:00
Sævar Öfjörð Magnússon 6e60469142 Convert UUID primary key to string before serializing in json. Fixes #4616. 2018-08-21 17:17:03 +01:00
Matt Westcott 48a1d51377 Release note for #4739 in 2.2.2 2018-08-21 15:14:13 +01:00
Matt Westcott bf4ea3766a Release note for #4739 in 2.3 2018-08-21 15:10:25 +01:00
Meteor0id cb8fe063bb depriciate url() for alias re_path() 2018-08-18 11:33:12 +02:00
Meteor0id cb75effd11 url() is depriciated. Alias re_path()
Added important note about using url() on older versions of django, but switched the examples to re_path as to comply with Django docs for 2.0 and later.
2018-08-18 11:32:39 +02:00
Tomasz Knapik 361def81c2 Wrap deleting page into database transaction
Currently queries executed in the hooks don't run in the transaction
with the page deletion query and it's harder to write hook without
copying the whole view if you want to keep queries running in the hooks
integral with page deletion.
2018-08-16 17:18:02 +01:00
Bertrand Bordage 42caa586b4 Validates EmbedBlock URLs against providers. 2018-08-16 12:28:40 +01:00
Martey Dodoo 1247565d3d Add warning about unregistering image formats.
Add warning to documentation to warn that unregistering image formats
that are being used will create an error when viewing or editing pages.

See https://groups.google.com/forum/#!topic/wagtail/X8xTUs-2npA and
https://github.com/wagtail/wagtail/issues/1471#issuecomment-118436706.
2018-08-16 10:52:51 +01:00
Matt Westcott 7ad79c9a4a Release note for #4579 2018-08-14 17:20:57 +01:00
Matt Westcott 0baa35c52f Release note for #4730 2018-08-13 16:31:56 +01:00
Matt Westcott 5536422c4a Add release notes for 2.2.1 2018-08-13 15:14:00 +01:00
Matt Westcott d3ad54b100 Add release notes for 2.1.3
Conflicts:
	CHANGELOG.txt
	docs/releases/index.rst
2018-08-13 15:13:05 +01:00
Matt Westcott 7ea465e694 Add release notes for 2.0.2 2018-08-13 15:12:47 +01:00
Matt Westcott e4fe70701a Add release notes for 1.12.4 - 1.12.6 and 1.13.2 - 1.13.4
Conflicts:
	CHANGELOG.txt
	docs/releases/index.rst

Conflicts:
	CHANGELOG.txt
	docs/releases/index.rst
2018-08-13 15:12:37 +01:00
Matt Westcott 1643fb3d0c Add release notes for 1.13.3
Conflicts:
	CHANGELOG.txt
	docs/releases/index.rst
2018-08-13 12:37:47 +01:00
Matt Westcott b9998fe015 Add release notes for 1.12.5 2018-08-13 12:37:47 +01:00
Loic Teixeira aac3335883 Respect redirect parameter after login 2018-08-10 10:20:40 -05:00
Matt Westcott 659a57d75f Specify Elasticsearch <6.3.1 2018-08-10 14:27:07 +01:00
Matt Westcott 386378fc34 Fill in release date for 2.2 2018-08-10 12:17:19 +01:00
Karl Hobley ebecaf6a5b Prevent search engines from indexing admin pages
According to a google search I just did, it seems a lot of people have forgotten to add ``Disallow: /admin`` in their robots.txt (or forgot to add robots.txt) at all.

Adding this meta tag into the head of all admin pages should prevent any admin pages being indexed even if this was missed.
2018-08-09 16:30:33 +01:00
Oliver Wilkerson 091ea75de7 Added a simple scale filter to image_operations. 2018-08-09 16:11:39 +01:00
Matt Westcott 6604cdfdae Update documentation to indicate Django 2.1 support 2018-08-09 00:34:38 +01:00
Matt Westcott 939e031760 Fix passwordless user creation tests for Django 2.1 and clarify WAGTAILUSERS_PASSWORD_REQUIRED docs
The behaviour of `has_usable_password` has changed in Django 2.1, such that `None` is no longer considered a 'non-usable' password: https://docs.djangoproject.com/en/2.1/ref/contrib/auth/#django.contrib.auth.models.User.has_usable_password

As a consequence of the fix applied in Django https://code.djangoproject.com/ticket/28718 , Wagtail users created without a password will now be able to complete the password reset process to gain access to Wagtail. Sites that do not want this behaviour (e.g. because those users should be using an LDAP login instead) should disable password changes via WAGTAIL_PASSWORD_MANAGEMENT_ENABLED and WAGTAIL_PASSWORD_RESET_ENABLED.
2018-08-09 00:34:38 +01:00
Matt Westcott e28baaff72 Release notes for 2.1.2 2018-08-06 13:11:11 +01:00
Matt Westcott 7d711f16be Version bump to start work on 2.3 2018-07-31 10:55:04 +01:00
Matt Westcott 32fbbc8aed see if requirements_file: null makes readthedocs happy 2018-07-30 22:29:06 +01:00
Matt Westcott 86ce571b93 Version bump to 2.2rc1 2018-07-30 21:18:44 +01:00
Matt Westcott 7c38c5ad56 Fix typo preventing facet example from displaying 2018-07-27 12:00:38 +01:00
Matt Westcott bf5d6e3363 Release note for #4524 2018-07-27 11:58:21 +01:00
Matt Westcott bb8df218e5 Make checkbox/radio alignment on Firefox consistent with Webkit 2018-07-25 11:26:15 +01:00
Meteor0id d49bc21469 one letter spelling mistake
Had been merged by the time I noticed my own mistake. Corrected 1 letter.
2018-07-14 13:29:37 +02:00
Meteor0id ddd63bdb59 Update integrating_into_django.rst (#4686)
* Update integrating_into_django.rst

flaw in url, was still referencing depreciated method, fixed.

* Update integrating_into_django.rst

Add important notice that versions of Django earlier than 2.0 require url() instead of re_path()
2018-07-13 20:58:21 +02:00
Bertrand Bordage a3fe8eb3b1 Improves sitemap to avoid passing site now that request is used. 2018-07-11 20:17:48 +02:00