0
0
mirror of https://github.com/wagtail/wagtail.git synced 2024-11-29 17:36:49 +01:00
Commit Graph

651 Commits

Author SHA1 Message Date
Karl Hobley
7288644932 Changelog/release note for #2895 2016-08-23 12:56:27 +01:00
Karl Hobley
230f6eab5d Changelog/release note for #2922 2016-08-23 11:56:02 +01:00
Matt Westcott
989cfb550f Fix markdown formatting 2016-08-18 20:44:05 +01:00
Mikalai Radchuk
f804174666 Marks names of default formats for translations 2016-08-18 20:43:17 +01:00
Matt Westcott
4bfa0081fc Fill in date for 1.6 release 2016-08-18 14:44:27 +01:00
Matt Westcott
7c9dc029c7 Release note for #2877 2016-08-18 12:05:33 +01:00
Matt Westcott
197d85ce9f Disable client-side validation on Django 1.10 for multipart forms
Client-side validation fails on forms with prefilled file upload fields -
see https://code.djangoproject.com/ticket/27037. This is fixed in Django 1.10.1,
so as a workaround we disable client-side validation (using the 'novalidate'
attribute) for forms with enctype="multipart/form-data" on Django 1.10 only.

Fixes #2897
2016-08-15 18:36:11 +01:00
Matt Westcott
e39fb5646c Release note for #2534 2016-08-11 12:04:10 +01:00
Matt Westcott
bde04c1b8d I can count, honest 2016-08-09 16:58:41 +01:00
Matt Westcott
9080636903 Version-bump to start work on 1.7 2016-08-09 16:22:14 +01:00
Matt Westcott
7eed879c6f Revert "Mark Django 1.10 support as provisional"
This reverts commit 0384a18f37.
2016-08-02 16:11:38 +01:00
Matt Westcott
0384a18f37 Mark Django 1.10 support as provisional 2016-08-01 15:02:01 +01:00
Matt Westcott
36564ac0fa Version bump for 1.6rc1 2016-08-01 14:37:01 +01:00
Matt Westcott
ca02019404 Release note for #2838 2016-08-01 13:07:25 +01:00
Matt Westcott
43269fd763 Release note for #2869 2016-08-01 13:00:36 +01:00
Matt Westcott
043db8549d Release note for #2879 2016-08-01 11:36:02 +01:00
Eraldo Energy
1a956be2f2 Added file handling to support custom user add/edit forms. 2016-07-29 17:02:31 +01:00
Matt Westcott
cceb216536 Fix --schema-only to not expect an argument - fixes #2788 2016-07-29 16:41:28 +01:00
Matt Westcott
28c8ae3ab9 Revert "Refactor: remove Filter as a Django model."
This reverts commit 4d7bdfd160.

Conflicts:
	CHANGELOG.txt
	docs/releases/1.6.rst
2016-07-29 14:49:01 +01:00
Matt Westcott
5dfcdfb2a6 Release note for #2872 2016-07-28 11:41:12 +01:00
Karl Hobley
e4bb09fd8d Changelog/release note for #2811 2016-07-28 10:06:50 +01:00
Matt Westcott
3c5c69138c Mention jinja2 include_block tag in 1.6 release notes 2016-07-27 16:52:14 +01:00
Matt Westcott
e9279c8512 Release note for #2663 2016-07-21 16:37:25 +01:00
Matt Westcott
c51177a0fa Release notes for #2858 / #2859 2016-07-21 12:03:53 +01:00
Chris Darko
bd226fcedf Fix use of Page instead of specific_class
Uses specific_class.url instead of Page.url for getting the 'view_live' URL
in the success message following Page publication.
2016-07-21 11:55:10 +01:00
Gagaro
16c279d705 fix: #1735 Unable to use models with a StreamField inside Inline Panels 2016-07-19 19:32:16 +01:00
Matt Westcott
0714cddd54 Release note for #2848 2016-07-19 10:45:19 +01:00
Matt Westcott
d3bdd64cc5 Add release notes for 1.5.3
Conflicts:
	CHANGELOG.txt
	docs/releases/index.rst
2016-07-18 19:15:27 +01:00
Matt Westcott
0308795490 Add release notes for 1.4.6
Conflicts:
	CHANGELOG.txt
	docs/releases/index.rst
2016-07-18 19:14:28 +01:00
Mikalai Radchuk
07ac5aa8ee Release notes for #2830 2016-07-08 16:15:19 +03:00
Matt Westcott
be1e1927c5 Promote include_block and unicode page slugs to major features 2016-07-07 11:20:43 +01:00
Robert Rollins
cbabc3d9c7 Page.dummy_request() now takes an optional request object argument.
When building a dummy request, you can now pass in the original request object
to add additional information to the dummy. Currently, that includes the
following headers:
REMOTE_ADDR
HTTP_X_FORWARDED_FOR
HTTP_COOKIE
HTTP_USER_AGENT

More may be added later.

This changes ensures that middleware which work on the client IP aren't flumuxed
by its absense, and also makes it possible for previews to be rendered as the
logged in user (they had previously been rendered using an AnnonymousUser).

Because the user's logged in state is now detectable in a Page previews, the
Wagtail userbar now hides itself explicitly during previews, rather than relying
on the fact that previews used to be built with AnonymousUser.
2016-07-06 20:28:05 +01:00
Vincent Audebert
14919f3b41 Possibility to delete a user #2371
As mentioned in the comments I didn't see the first pull request (https://github.com/torchbox/wagtail/pull/2509)
However, I think my changes were a tiny bit more complete in terms of UI/UX. I allow to delete a user directly from the user list + you can delete any user if you are superuser, except yourself. This way we are sure to keep at least one superuser but we can still delete superusers.
I added some tests from this PR to my code and also added the permission denied on the delete page.
2016-07-06 17:05:17 +01:00
Mikalai Radchuk
b79069b247 Release notes for #2786 2016-07-06 17:44:57 +03:00
Serafeim Papastefanos
16953c79f3 Allow multiple, comma seperated email addresses...
to be used in the `to_address field` in the `AbstractEmailForm`.
2016-07-05 13:02:57 +01:00
Matt Westcott
9961455c6a Add formal support for customising the form rendering of StructBlocks
The `form_template` attribute was mentioned in passing in the docs, but was missing various things
to make it fully useful:

- context passed to form_template now includes 'prefix' and 'block_definition'
- context for the form is now populated in a separate overrideable `get_form_context` method
- full documentation and tests for form_template and get_form_context added
2016-07-05 11:48:09 +01:00
Janneke Janssen
9f72e12159 Inherit relevant border-radius from the parent 2016-07-04 21:34:12 +01:00
Josh Schneier
1dad100695 Add a check that the declared search_fields exist 2016-07-04 20:58:30 +01:00
Matt Westcott
bdbc1b0c5b Release note for Django 1.10 compatibility 2016-06-28 16:34:46 +01:00
Chris Rogers
daf68f5e2e Added Wagtail version to settings menu 2016-06-23 11:05:51 +01:00
OktayAltay
9358e3b611 Add new FloatBlock, DecimalBlock and a RegexBlock (#2737) 2016-06-23 10:14:28 +01:00
kakulukia
334bebc55c dont enforce HTML templates :( 2016-06-22 16:09:51 +01:00
Mike Dingjan
33f53a6e78 Added __bool__ method for proper evaluating the RichText object value 2016-06-21 12:04:52 +01:00
Oktay Altay
31ce2e802c Add new EmailBlock and IntegerBlock 2016-06-17 23:39:49 +01:00
Karl Hobley
35e506c47f Changelog/release note for #2715 2016-06-17 15:51:39 +01:00
Michael van Tellingen
7d7509aee5 Implement initial version of Block.bulk_to_python (with jaroel)
This prevents n+ queries for n blocks of a specific type.
2016-06-17 15:08:14 +02:00
Gagaro
4d7bdfd160 Refactor: remove Filter as a Django model. 2016-06-17 02:21:36 +02:00
Ludolf Takens
e995bc0e19 Fix #2533: Prevent removal of '/' when redirect from url is just '/' (#2721) 2016-06-16 11:48:45 +01:00
Johannes Spielmann
a2ec49e01a allow wagtailforms field choices to be as long as they want 2016-06-15 18:14:41 +01:00
Matt Westcott
8121b633a4 Fix incorrect CSS path on ModelAdmin's 'choose a parent page' view - fixes #2703 2016-06-15 13:50:45 +01:00
Moritz Pfeiffer
6c9d202057 Removed cell content aligment options from table editor context menu. 2016-06-13 20:59:10 +01:00
Matt Westcott
f6706977bd Validate against duplicate form field names - fixes #585
Thanks to @tacitus for this fix (#2445).
2016-06-13 19:53:44 +01:00
Matt Westcott
bdaf696cd2 Release note / docs for #2257 2016-06-10 14:26:30 +01:00
Mikalai Radchuk
ba807e5f45 Release notes for #2677 2016-06-08 16:53:01 +03:00
Mikalai Radchuk
ba220d58ca Release notes for #2691 2016-06-08 15:24:18 +03:00
Matt Westcott
79d19a5b1b Release note for 1.5.2 2016-06-08 11:52:27 +01:00
Mikalai Radchuk
b66830ce27 Release notes for #2684 2016-06-08 13:36:27 +03:00
Matt Westcott
38cca0e47a mark 1.5.1 as no longer in development
Conflicts:
	CHANGELOG.txt
2016-06-07 18:59:13 +01:00
Matt Westcott
aaceb9b08f Make 'permanent' / 'temporary' label on redirects translatable; don't translate the classname
Thanks to leo_naeka for reporting!
2016-06-07 17:34:22 +01:00
Yannick Chabbert
3ba4064d89 fix modeladmin delete view message 2016-06-07 16:44:27 +01:00
riceyrice
cd0f8381cd Ensure pagination is retained on invalid upload
Otherwise hidden Search tab causes web browser to load _every_ image in the system.
2016-06-07 16:22:34 +01:00
Matt Westcott
64132728d1 Revert "Fixing #2520"
This reverts commit ab53b1817f.

Conflicts:
	CHANGELOG.txt
	docs/releases/1.5.rst
2016-06-07 14:56:52 +01:00
Matt Westcott
f7816b6bce Credit Gagaro under preferred name 2016-06-06 17:55:19 +01:00
Matt Westcott
aacb1116db Track parent page for internal links in rich text - fixes #2639 2016-06-06 13:38:25 +03:00
Matt Westcott
8f796cddfd Return URL in document chooser response - fixes #2660 2016-06-04 17:12:59 +03:00
Matt Westcott
8d1c8193fa Remove duplicate definition of form media in settings - fixes #2664
Form media declarations are output in edit.html, but this is redundant as they're already output in _editor_css.html / _editor_js.html,
and the duplicate definitions cause the rich text editor to fail to activate for some reason.
2016-06-03 20:27:20 +03:00
Matt Westcott
892c4c77d6 Ensure that form media required by InlinePanels is correctly pulled in to the edit page - fixes #2662.
Based on code from #2659 by @Gagaro - thanks!
2016-06-03 19:33:24 +03:00
Loic Teixeira
c39f830ae2 Mark the field as modified after removing element
Fix #2637
2016-06-03 16:41:00 +01:00
riceyrice
05d9fceaa7 Choose existing page for page links only
Present new page chooser when editing any other link type.
2016-06-03 16:30:39 +01:00
Matt Westcott
bfa255537f Add docs / changelog section for Wagtail 1.5.1 2016-06-03 15:47:56 +01:00
Behzad Nategh
b1f194a637 Unicode support for slug as of Django 1.9 2016-06-01 13:44:01 +01:00
Matt Westcott
8f4518e2a5 insert release date for 1.5 2016-05-31 11:58:14 +01:00
Jack P
78168ba824 Perform client side validation on image upload form, so that the selected file is not lost in the submission - fixes #92 2016-05-26 17:11:27 +01:00
Matt Westcott
c55eed9e99 Version bump to start work on 1.6 2016-05-23 16:36:10 +01:00
Matt Westcott
59ecdb711f version bump for 1.5rc1 2016-05-19 15:13:38 +01:00
Matt Westcott
d375cc62cc 1.4.5 is now released 2016-05-19 15:00:35 +01:00
Matt Westcott
197527c5d2 Release note for #2416 2016-05-19 13:44:15 +01:00
Karl Hobley
a99c6c4c2d Changelog/release note for #2615 2016-05-19 11:45:49 +01:00
Matt Westcott
7f8cf2539f Add BASE_URL setting back to project template 2016-05-18 22:12:48 +01:00
Matt Westcott
737731de0c Release notes for #2407 2016-05-18 15:50:08 +01:00
Matt Westcott
06af3fe33d Account for deletions when constructing page paths for preview_on_create - fixes #2599 2016-05-17 16:03:15 +01:00
Matt Westcott
95aeda48f3 Release note for #2614 2016-05-17 15:58:30 +01:00
Matt Westcott
fc814298d1 Release note for #2613 2016-05-17 15:54:47 +01:00
Matt Westcott
a0c4dbd2d4 Release note for #2623 2016-05-16 18:09:16 +01:00
riceyrice
0899c48117 Use cross-browser document.activeElement instead of (non-IE) event.target.activeElement
Conflicts:
	CONTRIBUTORS.rst
2016-05-12 20:32:15 +01:00
Matt Westcott
0eaac1882c Release note for #2605 2016-05-12 17:03:29 +01:00
Matt Westcott
024b96d0ed Release note for #2414 2016-05-12 15:34:14 +01:00
Mikalai Radchuk
4392680067 Fixes UnicodeEncodeError in wagtailforms
If you will create form field entry with unicode characters,
you will get `UnicodeEncodeError`. This commit fixes this bug.
2016-05-12 11:00:03 +01:00
Karl Hobley
d90c2a6c71 Changelog for #2476 2016-05-12 10:39:31 +01:00
Karl Hobley
9cd2bf6447 Changelog for #2585 2016-05-12 10:25:56 +01:00
Juha Yrjölä
616a18aeff Replace calls to __() with ugettext_lazy()
This makes xgettext discover the translatable strings.
2016-05-11 21:08:36 +01:00
Vincent Audebert
42b9fb893c Fixing #2560 - changing z-index on class sequence-controls so we can see the controls on top of stream field menu 2016-05-11 17:17:15 +01:00
Matt Westcott
ac5aa73de9 add release note for link tooltips (#2147) 2016-05-11 16:58:00 +01:00
Matt Westcott
8ab3184731 Release note for #2147 2016-05-11 16:56:19 +01:00
Matt Westcott
9338fc2ac4 Release note for #1705 2016-05-11 15:45:42 +01:00
Liam Brenner
ca846a5941 Add logout success message 2016-05-10 20:08:57 +03:00
Liam Brenner
05be39e85f Add spinner/button longrunning class to settings save button 2016-05-10 19:59:07 +03:00
Karl Hobley
fcd2aa023c Support field widget media inside streamfield blocks 2016-05-10 17:17:41 +03:00
Matt Westcott
703ee3edf5 Update release notes / contributors with new translations imported into 1.4.4 2016-05-10 11:28:46 +01:00
Matt Westcott
7aaab7b52d Fix for #2519 is now in 1.4.x (and also fixes #2549) 2016-05-09 19:08:52 +01:00