Wykres commitów

1492 Commity (8dc1d9c34299fe83e65fc9063cf188da17161e60)

Autor SHA1 Wiadomość Data
Matt Westcott ac5f57f1ce Release note for #2737 2016-06-23 11:07:42 +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
Matt Westcott 367c71dbaa TagSearchable needs to be removed from migrations 2016-06-17 09:45:28 +01: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
Matt Westcott 852a6de301 fix formatting on release notes page 2016-06-15 18:15:21 +01:00
Johannes Spielmann a2ec49e01a allow wagtailforms field choices to be as long as they want 2016-06-15 18:14:41 +01:00
Andreas Nüßlein 5b72f81327 mention edit_handler in this context (#2716) 2016-06-15 13:54:54 +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
Janneke Janssen 06bfa43782 Documented the settings variable for WAGTAIL_USAGE_COUNT_ENABLED (#2706) 2016-06-13 20:47:27 +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
Gagaro 871a5b5d9c Use python_2_unicode_compatible in snippets.rst (#2688)
We should use `python_2_unicode_compatible` in the documentation so that new users know the best practice.
2016-06-07 13:49:28 +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
Janneke Janssen 978cef5218 Documented the WAGTAILIMAGES_MAX_UPLOAD_SIZE (#2683) 2016-06-05 18:16:13 +01: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
Tomas Olander 5ebc7d5044 Update branding docs to remove django-overextends
Fixes #2609
2016-05-31 10:34:26 +01:00
Andreas Nüßlein 8e6c9f555f Update staticsitegen.rst (#2647)
added python3 hint for http.server
2016-05-30 18:28:48 +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 f3f37cc52b promote rich text link handling to a major feature 2016-05-19 17:01:17 +01:00
Matt Westcott 4a3bc94185 Add screenshots to 1.5 release notes 2016-05-19 15:49:04 +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
Alex Gleason 8d5d29c2f3 Rename table_block.fields to table_block.blocks 2016-05-18 15:51:54 +01:00
Matt Westcott 737731de0c Release notes for #2407 2016-05-18 15:50:08 +01:00
Karl Hobley c63dcdfc15 Added a missing link to release notes 2016-05-17 16:55:59 +01:00
Karl Hobley f8d7276800 Release note for #2459 2016-05-17 16:39:11 +01:00
Yannick Chabbert 58dfea096e add a sendfile class based view implementation 2016-05-17 16:34:32 +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
Matt Westcott 6ff98a543b Move custom user forms example to a new page under advanced_topics/customisation 2016-05-12 15:34:14 +01:00
nfletton c4feb6462f Add ability to override user creation and edit forms to allow custom user model
fields to be edited via Wagtail admin.
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
Brad Busenius 53dfe6f5de Added documentation for table_block. 2016-05-11 15:16:06 +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 e72b25f61c Make api_fields a list
All other model attribute settings in Wagtail use lists now. This commit changes the api_fields docs to use a list as well.

Both list and tuple work, but list is now the recommended option
2016-05-10 19:35:41 +03:00
Karl Hobley fcd2aa023c Support field widget media inside streamfield blocks 2016-05-10 17:17:41 +03:00
Karl Hobley 948bdf8d3c Tweaks to image serve view docs (#2588)
- key => signature
- Added "Advanced configuration" section (the last bit of the docs doesn't really fit into the general usage section above)
-
2016-05-10 14:56:12 +01:00
Karl Hobley 9dcc12ac55 Fix a typo in model reference 2016-05-10 14:28:34 +01: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
Tim Heap facd66cf82 Use `code-block:: python` for a code example in docs 2016-05-08 04:59:34 +02:00
Philipp Dieter d247fe9bf6 Fix name of ForeignKey object 2016-05-08 04:50:37 +02: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
Josh Schneier 6d1a9efbb6 Update documentation and code to put mixin first 2016-05-04 14:05:33 +01: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 b727ec4064 Add documentation on the base_form_class attribute 2016-05-03 14:00:21 +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 b39ff4a134 add note about Wagtail <=1.4 syntax for search_fields 2016-05-02 18:42:21 +01:00
Karl Hobley 5eef0f0a24 Mention that ImageMagick must be installed in "Animated GIF support"
Fixes #2505. Thanks to Frank Wiles and @ghostwords for spotting
2016-04-29 16:23:27 +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
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
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