Wykres commitów

1295 Commity (518abc26731574b885b7a004d151064dfe520b1c)

Autor SHA1 Wiadomość Data
Matt Westcott 518abc2673 changelog entry for #2517 should be in 1.4.4 2016-04-28 11:45:41 +01:00
Robert Rollins 7523d7f57f Removed all uses of STATIC_URL from code samples, replaced with static().
Concatinating with settings.STATIC_URL is no longer reccomended for creating
URLs to static resources, because it doesn't take the configured storage engine
into account. For example, a site using S3 to store its static files will need
static URLs that link out to S3, rather than relative URLs within the same
domain.

I replaced it with django.contrib.staticfiles.templatetags.staticfiles.static()
in python example code, and the {% static %} tag in template examples.
2016-04-28 10:57:22 +01:00
Robert Rollins 11793f88c5 Changed indentation on all code samples to 4 spaces.
Most of the samples were already 4-space indented, but a few were using 2-space,
which is both inconsistent and, when it happened with Python code samples,
incompatible with PEP8.
2016-04-28 10:57:22 +01:00
Robert Rollins 1a9caccdcd The "code-block:: json" tag doesn't work for full HTML response text.
You get a lexer error from the document builder if you use "code-block:: json",
and the json-style highlighting ends up not being applied. So I switched it to
"code-block:: text".
2016-04-28 10:57:22 +01:00
Matt Westcott 91e81d6bc0 Upgrade consideration note for #2524 2016-04-28 10:52:10 +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
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
Tim Heap 31d2d43d5b Add wagtail.contrib.settings.jinja2tags (#2451) 2016-04-12 06:49:32 +01:00
Karl Hobley eda39c85c8 Changelog for #2453 2016-04-11 22:46:42 +01:00
Mikalai Radchuk 6c53a439a5 Update CHANGELOG and release notes 2016-04-11 17:01:55 +01:00
Charlie Hornsby 5cb7ae01f6 FIx incorrect paginator label in example code (#2468) 2016-04-10 11:06:51 +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
Timo Rieber 31119b5954 Added openshift deployment infos using wagtail-openshift-quickstart 2016-04-06 11:44:25 +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 81795200c4 Docs for dynamic image serve view 2016-04-04 10:20:52 +01:00
João Luiz Lorencetti ffbe4730f0 The destination of the ParentalKey should be a subclass of ClusterableModel 2016-04-03 20:18:57 +01:00
Tomas Olander 10e564b935 Fix site settings docs for setting an icon
The "icon-" prefix is automatically added in SettingMenuItem.
Using "icon-placeholder" as suggested would thus result in
the CSS class "icon-icon-placeholder".
2016-04-01 10:50:03 +02:00
Karl Hobley 0e43826d96 Tweaks to changelog message 2016-03-30 22:29:33 +01:00
Tim Heap edc236cb06 Verify SSL certificates for Elasticsearch connections by default
Making developers opt out of extra security is better than making them
opt in, especially when they may not be aware of the security they are
missing out on.
2016-03-30 21:56:03 +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
Timo Rieber 9bdc843c8f Clarified wagtail userbar options and positioning 2016-03-27 14:23:47 +01:00
Tim Heap 4b46ff341d Add docs on making Wagtail compatible with multiple Django versions 2016-03-27 07:15:56 +02:00
Chris Townsend 8ac23d0554 Updated to include TEMPLATE requirement for Django 1.9+
In Django 1.9+ if you do not add: 'builtins': ['overextends.templatetags.overextends_tags'], to your TEMPLATES section you will receive a TemplateSyntaxError when the overextends template files are rendered: "Invalid block tag on line".  Including 'builtins': ['overextends.templatetags.overextends_tags'], per the overextends docs (and experience) resolves this error.

https://github.com/stephenmcd/django-overextends
2016-03-24 21:38:58 +00:00
Karl Hobley 729ec8bfab Changelog/release note/upgrade consideration for #2388 2016-03-24 21:21:05 +00:00
Tim Heap 6bd168580e Change Indexed.search_fields to be a listish thing
Indexed.search_fields used to be a tuple. This is incorrect, and it
should have been a list.  Changing it to be a list now would be a
backwards incompatible change, as people do

    search_fields = Page.search_fields + (
        SearchField('body')
    )

Adding a tuple to the end of a list causes an error, so this would
cause all old code that used tuples to throw an error. This is not
great.

A new ThisShouldBeAList class, which subclasses list, has been added.
It additionally allows tuples to be added to it, as in the above
behaviour, but will raise a deprecation warning if someone does this.
Old code that uses tuples will continue to work, but raise a deprecation
warning.

See #2310
2016-03-24 21:05:09 +00:00
Karl Hobley 63a891266a Changelog/release note for #2382 2016-03-24 20:58:31 +00:00