0
0
mirror of https://github.com/wagtail/wagtail.git synced 2024-12-01 11:41:20 +01:00
Commit Graph

828 Commits

Author SHA1 Message Date
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
Liam Brenner
75295209bb Added auto resizing text field, richtext field, and snippet chooser to styleguide
Fix button on styleguide linking to the add an image page
2016-05-09 12:56:47 +03:00
Mario César
b95cc1e687 Update decorator patterns util to preserve original view method name when introspecting.
When decorate_urlpatterns apply a decorator to a view function it lost spec names, docs, and the module where it was imported, making it uneasy to inspect when debugging (Like getting the name view and docs when using django-debug-toolbar)

Using functools.update_wrapper it updates the resulting function to look like the original wrapped view function.

Without the use of this decorator factory, the name of the wrapped view function would have been 'decorated_view'.
2016-05-08 04:44:30 +02:00
Karl Hobley
629deeba68 Changelog/release note for #2528 2016-05-04 12:29:21 +01:00
Matt Westcott
796239b7d9 Add semi-transparent border around explorer menu
Fixes #2519. Fix provided by @alexgleason
2016-05-03 15:49:54 +01:00
Tim Heap
80ad8ffc94 Do not get message classes from MESSAGE_TAGS
If the developer had overridden MESSAGE_TAGS in their site, Wagtail
messages used these classes in the admin. This caused the messages to
lose their styles.

Wagtail now ignores the MESSAGE_TAGS setting, using the default classes
defined in `django.contrib.messages.constants.LEVEL_TAGS`.

Fixes #2551
2016-05-03 11:42:26 +01:00
kapito
7de9b51f6f Prevent spinner from spinning on required form entry 2016-05-03 00:03:38 +01:00
Matt Westcott
1de152c145 Release note for #2499 2016-04-28 16:24:08 +01:00
Matt Westcott
83d872b3a3 Release note for #2501 2016-04-28 15:22:10 +01:00
Matt Westcott
139c8a1e76 Release note for #2495 2016-04-28 14:56:07 +01:00
Matt Westcott
26f4b4868d Release note for #2526 2016-04-28 13:13:13 +01:00
Matt Westcott
518abc2673 changelog entry for #2517 should be in 1.4.4 2016-04-28 11:45:41 +01:00
Vincent Audebert
ab53b1817f Fixing #2520
Switching explorer from position absolute to position fixed.
I did it in a pure CSS way but it would be good to be able to modify jquery.dlmenu.js line 213 to avoid it adding automatically a CSS property top on the element.
2016-04-27 22:05:17 +01:00
Matt Westcott
83bfaf14a8 failing test for #2511 for document uploader
Make collection field on document chooser upload respect user permissions

failing test for #2511 for image uploader

Make collection field on image chooser upload respect user permissions
2016-04-26 19:45:01 +03:00
Vincent Audebert
a3d36a122c Fixing #2393, replacing rem with em 2016-04-26 17:47:14 +12:00
Matt Westcott
544c871b80 Release note for #2420 2016-04-25 23:45:52 +01:00
Andrew T. Baker
228088d33d Add WAGTAIL_APPEND_SLASH setting 2016-04-25 23:12:57 +01:00
nfletton
03e247396b Display the details of server errors when they occur in the multi-image uploader 2016-04-25 22:18:58 +01:00
Roel Bruggink
ac59fc814c Improve L10N and I18N for revisions list. 2016-04-25 21:52:05 +01:00
Matt Westcott
f9947b2c08 Release note for #2489 2016-04-25 21:00:30 +01:00
Matt Westcott
c35c1f360a Release note for #2439 2016-04-22 17:22:40 +01:00
Matt Westcott
e5848941a0 #2456 is now in 1.4.x 2016-04-19 14:18:13 +01:00
Tim Heap
14398bfdd7 Correctly construct Meta class for multi-inherited Blocks 2016-04-19 11:26:25 +01:00
Karl Hobley
9fe6c7c494 Changelog for #2488 2016-04-18 23:20:26 +01:00
Andy Babic
dcb67dcfdf Added wagtailmodeladmin to contrib with docs 2016-04-14 15:03:49 +01:00
Matt Westcott
41d1758738 remove extra backticks 2016-04-12 16:51:18 +01:00
Benjamin Bach
dfd8a5cc2b add distinct icons to blocks 2016-04-12 16:50:48 +01:00
Karl Hobley
b978fb826f Added --schema-only flag to update_index command 2016-04-12 16:21:46 +01:00
Matt Westcott
1aa0817a03 Release note for #2205 2016-04-12 16:07:09 +01:00
Karl Hobley
2e970f88ea Changelog and release note for #2451 2016-04-12 06:57:27 +01:00
Karl Hobley
eda39c85c8 Changelog for #2453 2016-04-11 22:46:42 +01:00
Karl Hobley
bc608b2a9a Fixed missing full stop
Thanks @tomdyson for spotting!
2016-04-11 20:09:39 +01:00
Mikalai Radchuk
6c53a439a5 Update CHANGELOG and release notes 2016-04-11 17:01:55 +01:00
Chris Rogers
26f5016bb5 Use site_name for display for sites if available 2016-04-08 16:50:58 +01:00
Matthew Downey
9bbf1ba9a0 updated Site.find_for_request() to only hit the database once, and related unit tests 2016-04-08 12:15:23 +01:00
Liam Brenner
8b2a58ecae Changed button class for saving settings 2016-04-06 14:56:31 +01:00
Matthew Downey
c289028cd9 updated changelog for registered settings menu items 2016-04-06 14:14:21 +01:00
Roel Bruggink
bedde59aaa Add 'revisions' action to 'more'. 2016-04-05 15:43:24 +01:00
Josh Schneier
0855f59500 Fix deprecated usage of register.assignment_tag 2016-04-05 15:40:13 +01:00
Karl Hobley
b6c80cde36 1.4.3 no longer in development 2016-04-04 21:39:58 +01:00
Karl Hobley
81cdca1a91 Changelog/release note for #2438 2016-04-04 17:15:24 +01:00
Karl Hobley
a6e53abd34 Changelog/release note for #1913 2016-04-04 10:35:32 +01:00
Karl Hobley
25ab44237b 1.4.2 no longer in development 2016-03-31 10:11:21 +01:00
Karl Hobley
0e43826d96 Tweaks to changelog message 2016-03-30 22:29:33 +01:00
Karl Hobley
974d593c85 Changelog/release note for #2405 2016-03-30 19:59:59 +01:00
Karl Hobley
dcc89ce9b1 Set explorer menu media with property instead of class
Fixes #2369

The static() function was being called during app load which caused a crash when the user is using STATICFILES_STORAGE=ManifestStaticFilesStorage, DEBUG=False and haven't yet collected static files.

I've moved it into a property and it's now only called when a view is being rendered. This also is more consistent because we usually set media using properties (and so does Django admin).
2016-03-30 17:06:29 +03:00
Karl Hobley
77f143ab8f Changelog/release note for #2386 2016-03-27 14:33:27 +01:00
Karl Hobley
729ec8bfab Changelog/release note/upgrade consideration for #2388 2016-03-24 21:21:05 +00:00
Karl Hobley
63a891266a Changelog/release note for #2382 2016-03-24 20:58:31 +00:00
Tim Heap
e001cac581 Release notes for #2260 2016-03-22 14:36:21 +11:00
Math1985
03cba5b91c Ask user for old password when changing password
This is accomplished by using PasswordChangeForm instead of SetPasswordForm.

This adds extra security, as without this commit, an attacker that has access to
a user's session at one point in time will be able to change the user's password
and gain permanent access.
2016-03-22 11:50:18 +11:00
Rob Moorman
5158ee7aad Removed arrow-up after selector issue #2365 2016-03-17 01:25:26 +00:00
Matt Westcott
5f67ce2c4b 1.4 no longer 'in development' 2016-03-16 11:31:20 +00:00
Matt Westcott
83ab0746bc Release note for #2333 2016-03-11 17:21:53 +00:00
Matt Westcott
6803075188 Release notes for #1940 2016-03-11 15:43:43 +00:00
Matt Westcott
1c61b2316c Version-bump to start work on 1.5 2016-03-11 13:43:00 +00:00
Matt Westcott
eb78c9e235 Update Benjamin Bach's name in changelog 2016-03-08 15:59:48 +00:00
Matt Westcott
e0ad2a720e Demote construct_explorer_page_queryset to a minor feature 2016-03-08 15:55:34 +00:00
Matt Westcott
bc34f312ad Formatting fixes to changelog 2016-03-08 15:51:56 +00:00
Matt Westcott
5410294836 Promote the redesigned userbar to a major feature 2016-03-08 15:48:24 +00:00
Matt Westcott
5e07bead42 Release note for #2170 2016-03-08 15:06:29 +00:00
Eirik Krogstad
ac5d6e4945 Fix assumptions about user model fields, issue #1433 2016-03-07 20:42:39 +00:00
Matt Westcott
a67c971f4f Make settings menu clickable again in Firefox 46.0a2
Fixes #2286. Thanks to @juhakujala for tracking down the fix, and @akx for passing it on!
2016-03-07 19:53:53 +00:00
Matt Westcott
ef4aa3b54e Release note for #2031 2016-03-07 18:29:24 +00:00
Matt Westcott
7d22066da5 Release note for #2140 2016-03-07 14:40:09 +00:00
Matt Westcott
a6647c33c8 Use specific page models on explorer page listing.
In particular, this ensures that any custom URL routes defined on the page model
are respected by the 'live' link:
https://groups.google.com/d/msg/wagtail/qAmI4HbJfCI/9fxvoCmMEQAJ
2016-03-07 10:00:45 +00:00
Mikalai Radchuk
cd355b2fb7 Fixes release notes for #2253 2016-03-04 15:07:00 +03:00
Mikalai Radchuk
72d9ae81b5 Release notes for #2253 2016-03-04 00:02:09 +03:00
mr-winter
c185e57347 output sass errors in terminal and prevent gulp watch from exiting 2016-03-03 10:07:45 +00:00
Nicolas Kuttler
7d90344dd6 Update home stats summary CSS
The construct_homepage_summary_items hook allows to add items, but if
you use exactly the same markup as wagtail you end up with a bad layout
because the items form rows with no whitespace between them.

This commit changes the padding-bottom of the section into a margin-bottom
of it's <li> items, meaning that they form rows with enough whitespace
in between them, and the whitespace at the bottom is preserved.
2016-03-03 09:57:46 +00:00
Dave Cranwell
98f02ed29b Release notes for #2303 2016-03-03 09:49:17 +00:00
Tim Heap
0ead79d286 Release notes for #2266 2016-03-03 02:03:34 +02:00
Josh Barr
a1a2940495 fixed font size rounding issue in firefox, added contrib notes 2016-03-03 12:29:28 +13:00
Mikalay Radchuk
1e82450160 Fixes StreamValue unicode compatibility 2016-03-01 16:36:04 +00:00
Matt Westcott
a2bc7341f2 Release note for #2269 2016-03-01 15:53:08 +00:00
Matt Westcott
c6140a06f7 Release note / contributor entry for #2256 2016-03-01 15:26:53 +00:00
Karl Hobley
dc3910a613 Changelog/release note/contributor for #2279 2016-03-01 12:32:09 +00:00
Karl Hobley
182d847b3f Changelog and release note for #2027 2016-03-01 12:14:49 +00:00
Matt Westcott
c6548fea12 Release notes for #2278 / #2280 2016-02-29 18:16:50 +00:00
Matt Westcott
fc3936a229 Release note for #2243 (Collections) 2016-02-29 14:16:35 +00:00
Tom Dyson
985a987436 Hook for adding CSS to all admin pages 2016-02-25 10:24:54 +02:00
Matt Westcott
e131a9bcaf Release note for #1892 2016-02-18 16:28:19 +00:00
Karl Hobley
3f5586e1f8 Changelog/release note for #2219 2016-02-12 11:22:46 +00:00
Matt Westcott
395cecc642 Fixes to page ordering logic in explorer:
- keep ordering and pagination as two distinct operations
- only perform the 'annotate' hack when ordering by latest_revision_created_at
- entries with a null latest_revision_created_at should appear at the top when
  ordering oldest first
- don't uselessly call order_by twice
- actually test that the 'ordering' parameter orders the results :-)
2016-02-11 10:42:01 +00:00
Karl Hobley
11b9ed6732 Make user confirm before navigating away from changed page editor 2016-02-10 14:17:45 +00:00
Matt Westcott
68657338e7 Fetch new translations from Transifex 2016-02-05 16:52:10 +00:00
nfletton
94ba1c40e4 Add handling for server errors when uploading images and documents via a modal dialog 2016-02-05 16:21:58 +00:00
Matt Westcott
daba4aff84 release note for #2132 2016-02-04 17:35:59 +00:00
Matt
0845f1e1c1 Fix notification errors when there are multiple moderation groups
On SQLite, not all moderators would receive a notification.
On Postgres, a “more than one row returned by a subquery used as an
expression” error was thrown.
2016-01-29 10:50:16 +00:00
Mikalai Radchuk
3f2f5665b0 Allow specifying custom edit handlers for snippets 2016-01-28 13:03:27 +00:00
Karl Hobley
61593d38ad Changelog/release note/contributor for #2153 2016-01-27 11:16:02 +00:00
Karl Hobley
8ef846d214 Set on_delete action to SET_NULL on Document.uploaded_by_user
This prevents deletion of users from deleting any Documents they have uploaded.

This is already the behaviour on images.
2016-01-26 17:13:57 +00:00
Chris Rogers
d754bac9bb Changed success message for when a page is published with go_live_at 2016-01-26 10:31:38 +00:00
Tim Heap
66da5ad5ad Remove double tagit initialisation
tagit was initialized from both the AdminTagWidget, and from the `done`
method in the image uploader. Initializing it twice led to strange
errors and ultimately the tags not being saved on the image model.

As the tag widget now contains its own initialisation <script>, tag
inputs do not need to be specially handled by AJAX code any more, so
this can simply be removed.

Fixes #2142
2016-01-25 18:56:11 +00:00
Matt Westcott
8afe69fd72 Release note for #1867 2016-01-25 15:30:18 +00:00
Matt
e0a7a472e6 Clarify what the Administrator flag does 2016-01-21 12:48:34 +00:00
Karl Hobley
ec59c33ce5 Changelog/release note/contributor for #2134 2016-01-21 11:26:19 +00:00
Peter Quade
5c0063f429 making datetimepicker aware of FIRST_DAY_OF_WEEK 2016-01-20 16:30:22 +00:00
alexpilot11
5270c14444 ChooserBlock should use pk instead of id 2016-01-20 12:12:27 +00:00
Karl Hobley
690255c2ee Changelog/release note/contributor for #2111 2016-01-19 13:15:43 +00:00
Karl Hobley
62b996622a Changelog/release note for #2107 2016-01-18 13:16:52 +00:00
Karl Hobley
078491b6e0 Prevent cascade deletion of pages when a ContentType is deleted
Fixes #2024
2016-01-07 10:18:38 +00:00
Matt Westcott
bd0ad843fb Version bump to 1.3.1
Conflicts:
	CHANGELOG.txt
	docs/releases/index.rst
	wagtail/project_template/requirements.txt
	wagtail/wagtailcore/__init__.py
2016-01-05 17:19:08 +00:00
Karl Hobley
685592107a Changelog/release note/contributor for #2073 2016-01-04 12:19:19 +00:00
Karl Hobley
b375f37d80 Revert #2073 2016-01-04 10:33:47 +00:00
Karl Hobley
3540f2b080 Changelog/release note/contributor for #2073 2016-01-04 09:26:47 +00:00
Karl Hobley
d7a6e2d4ac Changelog/release note for #2069 2015-12-24 11:57:53 +00:00
Matt Westcott
4dfca33c9b Mark 1.3 as no longer in development / bump project template to require Wagtail 1.4a0 2015-12-23 17:49:30 +00:00
Karl Hobley
d29cca5113 Changelog/release note for #2051 2015-12-21 11:51:25 +00:00
Karl Hobley
157a063b19 Start 1.4 changelog and release notes 2015-12-21 09:58:09 +00:00
Matt Westcott
aedbb678a1 Pull translations from Transifex 2015-12-17 13:42:59 +00:00
shredding
c6b2cef575 implemented filter chaining 2015-12-17 12:12:24 +00:00
Eugene MechanisM
039db5ed89 "Signing in..." for translation 2015-12-17 01:50:03 +00:00
Karl Hobley
c3e62d1cb7 Changelog/release note for #2026 2015-12-16 16:29:15 +00:00
Karl Hobley
ac2a6cac23 Changelog/release note for #2041 2015-12-16 16:18:50 +00:00
Tim Heap
44564ea76a Link to homepage from dashboard page link if single site
If the Wagtail install has only one site, link to the homepage of that
site from the dashboard page summary instead of the root page of the
hierarchy.

Hopefully this will prevent some of the confusion causing people to
create pages under the root page, where they are inaccessible. See #1612
for more information around this issue.

Wagtail installs with multiple (or zero) sites retain the old behaviour
of linking to the root page.
2015-12-16 14:53:56 +00:00
shredding
2dd3f42e25 catch errors on non existing images 2015-12-16 13:14:11 +00:00
Denis Voskvitsov
ab45915a90 Set request.is_preview flag to show whether page is served as preview 2015-12-16 11:28:53 +00:00
Matt Westcott
a6c2100362 add changelog item for #2030 2015-12-16 09:21:31 +00:00
Matt Westcott
d6715f80a1 Revert fix for Hallo toolbar button hover state from #1746 - fixes #2040 2015-12-16 09:19:51 +00:00
Rich Atkinson
aaed92f301 do not delete uploaded images or page revisions when a user is deleted. fixes #1918 2015-12-15 17:06:37 +00:00
Karl Hobley
f436bc5c09 Changelog/release note/contributor for #1906 and #1998 2015-12-15 16:30:36 +00:00
Karl Hobley
c01a0952a2 Changelog/release note for #1864 2015-12-15 16:00:18 +00:00
Matt Westcott
e3269463d3 typo: 'attriutes' -> 'attributes' 2015-12-15 15:58:33 +00:00
Matt Westcott
0fe3572566 Release note for #1796 2015-12-15 15:57:24 +00:00
Karl Hobley
d160ea3ccf Release note for #2036 (and #2025) 2015-12-15 15:06:49 +00:00
Matt Westcott
9e5ba4bd3e Add system check to validate parent_page_types / subpage_types - fixes #1128 2015-12-15 14:32:39 +00:00
shredding
6422c7f618 added success message after image update 2015-12-15 00:21:34 +00:00
Matt Westcott
c65b155f2f Release note for #1814 2015-12-15 00:03:06 +00:00
Tim Heap
9e8c2c2d5f Allow custom Page Managers
Previously, if a developer wanted to use a custom Manager on their Page
subclass, some fairly hacky hacks were required. Now, the `objects`
attribute is only overridden if it is a plain `Manager`. If it is
anything else, it is left alone. A system check has been added to ensure
that all `Page` managers inherit from `PageManager`
2015-12-14 23:09:45 +00:00
Matt Westcott
da4f091466 Release note for #1800 2015-12-14 21:21:46 +00:00
Matt Westcott
2c765a7462 Release note for #1491 2015-12-11 12:46:01 +00:00
Matthew Downey
e18f877286 send individual notification emails per user 2015-12-11 11:02:48 +00:00
Matt Westcott
0ce27f2f3d Release note for #1816 2015-12-09 11:40:36 +00:00
Matt Westcott
2f4018c0ae Import translations from Transifex 2015-12-09 11:03:14 +00:00
Maris Serzans
32b4124767 Changed verbose names to start with lowercase when necessary 2015-12-08 17:33:19 +00:00
Ben Emery
beb2b927d7 Allow for overriding image upload path 2015-12-07 19:18:17 +00:00
Karl Hobley
8d91e72407 Changelog/release note for #1934 2015-12-04 11:07:43 +00:00
Karl Hobley
e09a56f51c Changelog/release note/contributor for #1981 2015-12-04 11:02:08 +00:00
Matt Westcott
8a22c977a2 Release note for #1970 2015-12-03 19:43:31 +00:00
Matt Westcott
9f3ae3c51d Release note for #1572 2015-12-03 13:19:44 +00:00
Dave Cranwell
eb4c5a7ce2 nav-submenu required translate3d due to its fixed position in the presence of animation, apparently. Also animation vendor prefixing removed since autoprefixer handles this already 2015-12-02 17:39:26 +00:00
Matt Westcott
e671a83be5 Release note for #1978 2015-12-01 13:17:31 +00:00
Tim Heap
1d4a276f49 Use SiteManager for Sites, add tests
The SiteManager class was not used on the Site model, or anywhere else.

This was not caught by the tests, because nothing tested the relevant
attributes on the Site model, nor were they used in the code base. Tests
have been added now.
2015-11-30 14:35:25 +00:00
Matt Westcott
e5abe8df96 Release note for #1969 2015-11-27 16:15:21 +00:00
alx
88e477098f Ensure that locked pages can't be unpublished.
Fixes #1615
2015-11-24 12:58:02 +00:00
Tim Heap
f4968de0f9 Allow overriding attributes in {% image %} tag
The `alt` attribute that was automatically generated as part of the
`{% image %}` tag could not be overridden. If template authors passed
their own `alt="..."` attribute in, two would be printed out instead
of the default one being overridden.

The relevant code has been refactored to build a dict of attributes,
allowing the default set to be overridden, and then printing them using
`flatatt`.

Fixes #1933
2015-11-24 11:38:10 +00:00
Karl Hobley
8edfcc168f Changelog/release note for #1865 2015-11-19 15:30:23 +00:00
Matt Westcott
e08e35d470 Release note for #1447 2015-11-18 17:04:39 +00:00
Matt Westcott
4f59b215d8 Release note for #468 2015-11-18 13:04:50 +00:00
Karl Hobley
a36744ddea Release note for #1925 2015-11-17 11:36:57 +00:00
Matt Westcott
6c8adaf0f7 Prepare for 1.2 release
Conflicts:
	CHANGELOG.txt
	wagtail/wagtailcore/__init__.py
2015-11-12 16:55:14 +00:00
Matt Westcott
204aa53ff4 Add Python 3.5 support to release notes 2015-11-12 16:43:49 +00:00
Karl Hobley
3bfd9fca9f Created 1.3 changelog and release notes 2015-11-04 12:20:07 +00:00
Matt Westcott
fb063dea26 Add browsable API to changelog 2015-11-02 16:30:49 +00:00
Matt Westcott
257baedb5d Release notes for #1837 and #1888 2015-11-02 16:10:18 +00:00
Karl Hobley
43a2e901f8 Changelog/release notes for #1873, #1879 and #1881 2015-11-02 12:16:05 +00:00
Matt Westcott
8d96a24e49 Update translator list and add release note for new translations.
The translator list now only includes translators specifically identified in the .po files, so that we're not listing dormant Transifex accounts that didn't actually do anything :-)
2015-11-02 11:52:51 +00:00
Matt Westcott
0e7b92971a Release note for #1718 2015-10-29 00:12:02 +00:00
Matt Westcott
6dd69acd86 Release note for #1746 2015-10-27 11:51:07 +00:00
Matt Westcott
e68d66a744 Release note for #1869 2015-10-27 11:19:44 +00:00
Karl Hobley
19d476b42a Changelog/release notes for #1857 and #1866 2015-10-27 10:22:40 +00:00
Matt Westcott
566fa3a26f Release note for #1670 / #1850 / #1854 2015-10-26 12:58:36 +00:00
Matt Westcott
d06c5070cc Release note for #1725 2015-10-23 12:31:07 +01:00
Matt Westcott
a51fdf1279 Release note for #1754 2015-10-23 11:54:27 +01:00
Matt Westcott
94ee586276 Merge branch 'master' of https://github.com/torchbox/wagtail
Conflicts:
	CHANGELOG.txt
	docs/releases/1.2.rst
2015-10-23 10:00:52 +01:00
Matt Westcott
4d4cced717 Release note for #1596 2015-10-23 09:59:41 +01:00
Karl Hobley
ad4007f406 Release note for #1856 2015-10-23 09:57:01 +01:00
Matt Westcott
2eb4b4c2c1 Release notes for #1810, #1835, #1812 2015-10-20 11:16:09 +01:00
Matt Westcott
6994f7b7b5 Release note for #1843 2015-10-20 10:37:04 +01:00
Matt Westcott
bce6fba24f Release note for #1741 2015-10-16 12:12:07 +01:00
Matt Westcott
da42620089 Release note for #1791 2015-10-14 17:26:03 +01:00
Matt Westcott
7e7ba37639 Release note for #1770 2015-10-14 17:16:21 +01:00
Matt Westcott
bb8894aa6c Release note for #1821 2015-10-14 17:07:26 +01:00
Karl Hobley
ed1a0f9bb1 Merge pull request #1823 from gasman/fix/page-manager-from-queryset
Eliminate duplicated PageQuerySet methods / make `sibling_of` behaviour consistent
2015-10-14 14:35:14 +01:00
Matt Westcott
5bac77a648 Release note for #1822 2015-10-13 22:46:02 +01:00
Matt Westcott
0bb4bac2bc Release note for #1815 2015-10-13 19:32:29 +01:00
Matt Westcott
dafbdaf20f Use Manager.from_queryset to construct PageManager, to avoid duplication of queryset methods.
This exposes an inconsistency between the old `PageManager.(not_)sibling_of` method (which was
exclusive by default) and `PageQuerySet.(not_)sibling_of)` (which is inclusive). We therefore
standardise on the inclusive behaviour (in line with treebeard's own sibling methods), and note
this change of behaviour in the release notes.
2015-10-13 19:15:12 +01:00
Matt Westcott
5b029cbfc4 Release note for #1702 2015-10-13 00:19:51 +01:00
Matt Westcott
cb7dc8fd38 Release note for #1696 2015-10-13 00:15:50 +01:00
Matt Westcott
5b8fd66909 Release note for #1682 2015-10-12 22:13:34 +01:00
Matt Westcott
6612f0adf3 Release note for #1529 2015-10-09 16:41:32 +01:00
Karl Hobley
ea436e51cc Changelog/release note/contributor for #1688 2015-10-09 09:57:33 +01:00
Karl Hobley
6495bb6736 Merge pull request #1799 from anurag-ks/master 2015-10-08 09:35:48 +01:00
Karl Hobley
8a0f6eab30 Changelog/release note and contributor for #1799 2015-10-08 09:35:21 +01:00
Matt Westcott
94d0d7bda2 Release / upgrade consideration note for #1478 2015-10-07 20:02:25 +01:00
Karl Hobley
5caa1f0f1f Release note for #1755 2015-10-06 22:21:25 +01:00
Karl Hobley
490ecff007 Changelog for #1709 2015-10-06 11:06:44 +01:00
Matt Westcott
cf9758138a Release note for #1075 2015-10-05 22:54:37 +01:00
Matt Westcott
deee02e4d7 Release note for #1391 2015-10-05 18:41:48 +01:00
Karl Hobley
00a1402925 Changelog/release notes for #1783 and #1784 2015-10-05 17:03:25 +01:00
Matt Westcott
a02cc3e67c Release note for #1744 2015-09-30 17:16:48 +01:00
Matt Westcott
c17583b8d1 Release note for #1704 2015-09-18 16:25:27 +01:00
Matt Westcott
31db84a216 Changelog for #1692 2015-09-18 11:29:50 +01:00
Matt Westcott
8ffe4578a3 Merge branch 'master' of https://github.com/torchbox/wagtail 2015-09-16 17:37:43 +01:00
Matt Westcott
8d123e29e9 version bump to 0.8.10 due to packaging issues (grr)
Conflicts:
	CHANGELOG.txt
	docs/releases/index.rst
	wagtail/project_template/requirements.txt
	wagtail/wagtailcore/__init__.py
2015-09-16 17:36:21 +01:00
Matt Westcott
307b12da52 Prepare for 0.8.9 release
Conflicts:
	CHANGELOG.txt
	wagtail/project_template/requirements.txt
	wagtail/wagtailcore/__init__.py
2015-09-16 17:34:30 +01:00
Matt Westcott
d9103f48ec Release note for 5a63a0b 2015-09-16 17:31:51 +01:00
Matt Westcott
9d386cf777 Release note for #1641 (backport to 0.8.x)
Conflicts:
	CONTRIBUTORS.rst
2015-09-16 17:31:37 +01:00
Matt Westcott
76a653e5a6 Release note for #1660 (backport to 0.8.x)
Conflicts:
	CHANGELOG.txt
	docs/releases/index.rst
2015-09-16 17:28:57 +01:00
Karl Hobley
5e8df2624e Changelog for #1677 and #1679 2015-09-16 09:35:23 +01:00
Matt Westcott
57d37b1154 prepare for 1.1 release
Conflicts:
	CHANGELOG.txt
	wagtail/wagtailcore/__init__.py
2015-09-15 12:45:54 +01:00
Matt Westcott
9ea7cd9f99 Release note for #1620 2015-09-09 15:23:29 +01:00
Matt Westcott
5ecc69c7a0 Release note for #1666 2015-09-04 14:50:04 +01:00
Matt Westcott
dc655192fe Release notes for new translations 2015-09-04 14:21:55 +01:00
Matt Westcott
c17c7b1b87 Release note and upgrade consideration for #1631 2015-09-04 12:42:36 +01:00
Matt Westcott
87e4864729 Release note for #1445 2015-09-03 17:05:03 +01:00
Matt Westcott
e5a5761d5a Release note for #1475 2015-09-03 16:30:18 +01:00
Matt Westcott
5fa6371fa1 Release note for #1660 2015-09-03 15:30:36 +01:00
Karl Hobley
da96a6758e Changelog for #1589 2015-09-03 12:16:35 +01:00
Matt Westcott
3d1f83755b Release note for #1612 2015-09-03 12:06:29 +01:00
Matt Westcott
1f5dc4c024 Release note for #1571 2015-09-03 10:38:13 +01:00
Matt Westcott
cfaed7faba Release note for #1541 2015-09-02 16:34:27 +01:00
Karl Hobley
3062835918 Changelog for #1544 2015-09-02 14:54:58 +01:00
Matt Westcott
1ced5f0d6d Release note for #1633 2015-08-28 23:07:49 +01:00
Matt Westcott
e25464eee9 Release note for #1626 2015-08-28 14:55:54 +01:00
Matt Westcott
1e4618935d Release note for #1375 2015-08-28 10:59:19 +01:00
Matt Westcott
4353759018 Merge branch 'kaedroho-snippets-search'
Conflicts:
	CHANGELOG.txt
2015-08-27 15:42:45 +01:00
Matt Westcott
7751a8439a Release note for #1610 2015-08-27 15:41:32 +01:00
Karl Hobley
c33ec77150 Changelog for fill operation fix 2015-08-27 11:24:29 +01:00
Matt Westcott
c2421246a8 Release note for #1494 2015-08-26 16:38:08 +01:00
Karl Hobley
695099f958 Changelog for #1528 2015-08-26 14:08:20 +01:00
Karl Hobley
53e8285ae1 Changelog for #1641 2015-08-26 13:50:09 +01:00
Matt Westcott
d01421d2d6 Release note for #1605 2015-08-26 12:04:53 +01:00