0
0
mirror of https://github.com/wagtail/wagtail.git synced 2024-11-30 01:46:24 +01:00
Commit Graph

6526 Commits

Author SHA1 Message Date
Matt Westcott
a2fe305aa0 Restore browser interface in the page chooser when the search box is cleared.
This also fixes #2608, which is caused by IE's buggy 'oninput' event handling - it treats the
clearing of the placeholder text when the search box is focused as a user input action, and
thus immediately fires off an empty search query. This change means that the empty search has
no effect.
2016-05-19 11:34:12 +01:00
Matt Westcott
f01f4481e6 Update translations (#2634)
* Pull new translations from Transifex

* Generate new strings for translation
2016-05-18 23:30:20 +01:00
Matt Westcott
7f8cf2539f Add BASE_URL setting back to project template 2016-05-18 22:12:48 +01:00
Matt Westcott
e4735abc20 Provide fallback implementation of unittest.assertLogs for Python <3.4 (#2633) 2016-05-18 21:26:04 +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
dc6f09ba40 Don't check whether the object exists when deleting it from search index
Fixes #2594
2016-05-18 15:31:40 +01:00
Karl Hobley
7465e2eb91 Created "insert_or_update_object" and "remove_object" index functions
These functions perform insert/update/deletion operations across all backends while catching and logging any errors they may raise
2016-05-18 15:31:40 +01:00
Karl Hobley
a484abda0a Catch errors raised during search index auto update
Fixes #2323

This prevents the admin interface crashing if there was an error while updating the search index.

The error is now caught and logged instead
2016-05-18 15:31:39 +01:00
Karl Hobley
3f96c53a0e Added get_backends_with_name function 2016-05-18 15:31:39 +01:00
Matt Westcott
8ed30060fd Don't wrap TableBlock rendering in a div - fixes #2629 2016-05-18 13:59:47 +01:00
Matt Westcott
f8d7970cbb Remove Jinja2 from tox.ini as it's now in testing_extras (see #2583) 2016-05-17 17:36:29 +01:00
Matt Westcott
4a5296e951 Add Jinja2 to testing_extras (as per #2583) 2016-05-17 17:34:15 +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
Yannick Chabbert
4ae735fae2 image serve view refactor for better DRY override 2016-05-17 16:34:21 +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
20f0140711 Prevent unsaved edit warning following validation errors on preview - fixes #2602 2016-05-17 15:56:41 +01:00
Matt Westcott
fc814298d1 Release note for #2613 2016-05-17 15:54:47 +01:00
Matt Westcott
b1c6063b41 Make preview window work on IE11
IE doesn't provide standard onload event listeners on opened windows, so this code did user-agent sniffing
on the string 'MSIE' to bypass the onload animation. This failed on IE11, which drops 'MSIE' from the
user agent string. The code now checks for the presence of addEventListener instead.

As a bonus, it now falls back on IE's (non-standard?) attachEvent method, so the animation now works on IE
after all.
2016-05-17 15:54:01 +01:00
Matt Westcott
83a11ecee4 Fix JS syntax error in DropDownController 2016-05-17 15:46:56 +01:00
Matt Westcott
a0c4dbd2d4 Release note for #2623 2016-05-16 18:09:16 +01:00
Matt Westcott
be1b2d3cad Add some missing class="button" styles.
Also added type="button" to the up/down/delete controls in wagtailsearchpromotions, so that they don't get treated as submit buttons.
2016-05-16 18:09:16 +01:00
Matt Westcott
b8c1a0895e Add default table icon for TableBlock 2016-05-16 14:57:24 +01:00
Mikalai Radchuk
1496f18977 Fixes buttoms in modeladmin 2016-05-13 13:27:48 +03:00
Mikalai Radchuk
477bb657c8 Fixes preview buttons for create page view 2016-05-13 12:39:15 +03:00
Mikalai Radchuk
7d4b01f07d Fixes buttons for wagtailsnippets 2016-05-13 12:10:42 +03: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
a7262783f3 Force hallo to save changes after a paste or drag 2016-05-12 17:02:05 +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
Matt Westcott
72cf8c7bdb Add Robert Moggach to contributors (ref #2165, original suggestion for #2476) 2016-05-12 10:34:49 +01:00
Matt Westcott
2de05fb14f Make get_upload_to an overrideable method of AbstractRendition 2016-05-12 10:33:59 +01:00
Karl Hobley
9cd2bf6447 Changelog for #2585 2016-05-12 10:25:56 +01:00
Bojan Mihelac
0467e47951 Fixes RoutablePage throws a TypeError (#2584) (#2585)
* Fixes RoutablePage throws a TypeError (#2584)

FIX: RoutablePage throws a TypeError if index route is not set

* Reorder imports to prevent isort fail
2016-05-12 10:19:01 +01:00
Matt Westcott
e4ae108daa Generate new strings for translation 2016-05-11 21:29:34 +01:00
Matt Westcott
41dd5e89c8 Set up translations for modeladmin and table_block apps 2016-05-11 21:17: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
Mikalai Radchuk
7d9e297e75 Adds tests for form submissions filtering
Adds extra tests to `wagtailforms` for form submission filtering.
2016-05-11 17:04:28 +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
Loic Teixeira
3e603edfc9 Add destination tooltip on links hover in RichText fields 2016-05-11 16:23:48 +01:00
Loic Teixeira
32c68b5060 Add ability to edit links in RichText editor
Instead of having the link button to remove an existing link,
it will open the chooser on the corresponding tab (page, link, email)
and pre-populate the form.
Therefore, a second button has been added to remove a link.
2016-05-11 16:23:47 +01:00