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

5629 Commits

Author SHA1 Message Date
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
Matt Westcott
d8c7d598b3 Pull translations from Transifex 2015-12-23 17:22:50 +00:00
Daniel Chimeno
66d7b283d8 Update .coveragerc
Remove south_migrations and vendors , those dirs are not used anymore
2015-12-23 00:09:44 +01:00
Karl Hobley
d29cca5113 Changelog/release note for #2051 2015-12-21 11:51:25 +00:00
Alex Gleason
27829f6090 Allow overriding document model
Added missed import
2015-12-21 11:48:03 +00:00
Karl Hobley
157a063b19 Start 1.4 changelog and release notes 2015-12-21 09:58:09 +00:00
Timo Rieber
0e8851c8ba Changed wagtail.readthedocs.org to docs.wagtail.io consistently 2015-12-20 17:22:44 +01:00
Karl Hobley
e3f39e85c2 Add build instructions to Drone images readme 2015-12-20 13:49:29 +00:00
Karl Hobley
fbc2ce063c Bump version on master to 1.4 pre-alpha 2015-12-20 12:32:02 +00:00
Matt Westcott
1bb3553c15 Prepare for 1.3rc1 release 2015-12-17 15:58:23 +00:00
Matt Westcott
90b498a5b0 Require django-modelcluster 1.1 2015-12-17 15:57:45 +00:00
Matt Westcott
eca4101927 Pull translations from Transifex 2015-12-17 14:51:49 +00:00
Matt Westcott
e5ce1e6683 Generate new source strings for translation 2015-12-17 13:58:03 +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
Karl Hobley
7fee62f8eb Make "Hello" part of notification emails use user's username if we don't know their real name 2015-12-17 11:28:38 +00:00
Matt Westcott
eccb0990bb Add test for user_passes_test decorator 2015-12-17 09:13:03 +00:00
Matt Westcott
63cd666fd4 Refactor permission_required/any_permission_required to allow substituting other kinds of permission test 2015-12-17 09:13:03 +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
Matt Westcott
635659a80f Make searching and tag filtering mutually exclusive at the view level
We can't guarantee that search backends are able to search on a queryset
that has been filtered by a relation such as tags (see #459). The JS code
currently avoids applying a tag filter and a search query at the same
time; this change makes that behaviour explicit at the view level too.
2015-12-16 16:24:55 +00:00
Matt Westcott
a913fbe283 Decouple 'popular tags' filtering on image chooser from search
Searching by tag only works under Elasticsearch, so clicking on 'popular tags' is broken
in the default install. As a workaround, add a new 'tag' parameter to the chooser view
that allows us to filter on tags using plain SQL lookup, as a separate operation to search.
2015-12-16 16:24:55 +00:00
Karl Hobley
ac2a6cac23 Changelog/release note for #2041 2015-12-16 16:18:50 +00:00
Matt Westcott
53fb42f275 Throw warning on missing CSS rather than error, so that tests can still run on Dj1.7 2015-12-16 16:18:50 +00:00
Matt Westcott
beb8f8bc4e Add system check to confirm that compiled CSS files are present.
Fixes #1720. Thanks to Shu Ishida for initial development on this feature.
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
Karl Hobley
1f78af1ac8 Merge pull request #2043 from gasman/feature/project-template-dj19
Update project template to Django 1.9
2015-12-16 10:09:38 +00:00
Matt Westcott
db8b8a4cbf Update project template to Django 1.9
* bump version in requirements.txt
* convert 'search' entry in urlconf to import by module rather than string
* change tuples in settings to lists
2015-12-16 10:02:31 +00:00
Karl Hobley
9d3e068b0c Use Django 1.8 TEMPLATES setting in settings doc
Also, the ``request`` context processor is now in the defaults
2015-12-16 09:29:17 +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
Jannis
42e1317a4e Add missing blocktrans to InlinePanel's add-button 2015-12-15 20:24:53 +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
Brian
dee427713e patch for reverse lazy url in wagtailadmin menu 2015-12-15 16:28:38 +00:00
Karl Hobley
c01a0952a2 Changelog/release note for #1864 2015-12-15 16:00:18 +00:00
Denis Voskvitsov
0a9f2cfadd Change locale source 2015-12-15 16:00:18 +00:00
Denis Voskvitsov
11be1db174 Add editor name to moderation notification 2015-12-15 16:00:18 +00:00
Matt Westcott
086997c14a add missing backticks 2015-12-15 15:59:57 +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
Tim Heap
2c76441186 Add docs for WagtailPageTests 2015-12-15 15:49:40 +00:00
Tim Heap
36cb270885 Add assertions for subpage, parent page types to test helper
Two new assertions have been added: `assertAllowedSubpageTypes` and
`assertAllowedParentPageTypes`. They both take a Page class, and a set
of Page classes, and compares the allowed subpage / parent page models
for the Page class to the set passed in.
2015-12-15 15:49:39 +00:00
Tim Heap
6947eab55b Add test helpers for Wagtail sites
`wagtail.tests.utils.WagtailPageTests` is a new `TestCase` subclass that
helps developers write tests for their Wagtail sites. It currently
includes three assert methods:

`assertCanCreateAt(parent_model, child_model)`, which asserts that a
child page of a certain type could be created underneath a parent page.
This is useful for making assertions around the business rules of your
site.

`assertCanNotCreateAt(parent_model, child_model)` is the inverse of the
above.

`assertCanCreate(parent, child_model, data)` asserts that a child page
can be added underneath the given parent page, by POSTing `data` at the
correct page in the Wagtail admin. This checks that the developer has
correctly configured their `content_panels` and related options.

These methods are just a start, and could be expanded further. More
methods could be added, asserting that Snippets can be created, for
example. The current methods could be extended further, to validate more
about the Wagtail admin page editor.
2015-12-15 15:48:36 +00:00
Karl Hobley
d160ea3ccf Release note for #2036 (and #2025) 2015-12-15 15:06:49 +00:00
Karl Hobley
31720b3261 Removed a couple of unused tag includes 2015-12-15 15:03:41 +00:00
Karl Hobley
c05e115087 Added comment explaining the purpose of results_image.html 2015-12-15 15:02:43 +00:00
Maris Serzans
43ac882e5d Separated out html code for displaying an image in another file 2015-12-15 14:46:50 +00:00