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

6580 Commits

Author SHA1 Message Date
Matt Westcott
e31b26c4db Eliminate dependencies on __latest__ migrations
See https://groups.google.com/d/msg/wagtail/a1lbdKe-QPk/GefsBFnRBgAJ - using __latest__ prevents us from ever applying migrations that are subsequently added to the referenced apps, since logically those migrations must have been applied before the current one (which they weren't, because they didn't exist). This logic is enforced as of Django 1.10.
2016-09-26 17:57:52 +01:00
Thibaud Colas
b13441e108 Use better JS source maps during development (#3019)
See http://webpack.github.io/docs/configuration.html#devtool
2016-09-26 15:24:02 +01:00
Matt Westcott
c9a39db196 Generate new strings for translation 2016-09-22 16:00:54 +01:00
Matt Westcott
766636edbc Pull new translations from Transifex 2016-09-22 15:51:29 +01:00
Matt Westcott
674af5586b Prevent USE_THOUSAND_SEPARATOR from breaking the rendering of maxForms in InlinePanel's JS code
Fixes #2699. Thanks to Mattias Loverot for the report and original fix.
2016-09-22 15:07:23 +01:00
riceyrice
5869bc37bb Allow configuration or override of QueryDailyHits garbage collection 2016-09-22 14:21:38 +01:00
Mikalai Radchuk
48296e7568 Release notes for #3016 2016-09-22 14:43:53 +03:00
Mikalai Radchuk
fb93a6d6b9 Allow to limit access to form submissions (#3016)
Add the filter_form_submissions_for_user hook

Thanks @kaedroho for the code review and docs.
2016-09-22 14:36:39 +03:00
Karl Hobley
9a57e39cfd Implemented annotate_score on SearchResults
This allows the user to retrieve the scores for each search result:

    for page in Page.objects.search("Hello").annotate_score('_score'):
        print(page.title, page._score)
2016-09-22 12:03:23 +01:00
Nick Smith
504759d267 #1446 add pagination to wagtailadmin.views.pages.move_choose_destination 2016-09-22 11:53:38 +01:00
Karl Hobley
df664e0b4e Fixed a missing sudo: true in .travis.yml
Fixes #3018
2016-09-22 11:47:13 +01:00
Karl Hobley
ebe597610e API v2 docs (#2940) 2016-09-22 11:15:18 +01:00
Mikalai Radchuk
ae33f7192d Adds "Supported versions of Django"
Adds "Supported versions of Django" section
into "Wagtail's release process" document.
2016-09-21 18:50:44 +01:00
Mikalai Radchuk
d3568df5b3 Adds docs about release process 2016-09-21 18:50:21 +01:00
Mikalai Radchuk
132ba73239 A new structure for wagtail.wagtailforms.tests (#2977) 2016-09-21 15:46:16 +03:00
Karl Hobley
9d655a9f8a Changelog/release note for #2975 2016-09-21 13:33:13 +01:00
Karl Hobley
34331023d7 Bumped version of deprecation warning
See previous commit
2016-09-21 13:29:37 +01:00
Janneke Janssen
361991a21b Fix #2789: Convert embed filter to templatetag (#2975)
* Add template tag for embedding while preserving the filter for now

* [FIX] Isort error in embed tests
2016-09-21 13:28:28 +01:00
Matt Westcott
71ce47bc5a Configure Travis to test against the latest Django stable branch on git (#2967) 2016-09-21 12:40:57 +01:00
Stein Strindhaug
ffa21943d0 Increase legibility by increasing contrast
Raise contrast by slightly adjusting font-weight, color and font size (from 12.2px to 12.8px in the menu)
2016-09-21 12:02:23 +01:00
Matt Westcott
796cb2ee01 Rewrite fill_filter_spec_reverse to only perform one query per filter, rather than per rendition 2016-09-20 15:38:36 +01:00
Matt Westcott
e4ef66309e Make filter_spec a non-nullable field
See https://github.com/torchbox/wagtail/pull/2910#issuecomment-243769909 - this ensures that any server processes running the pre-migration code will fail on creating renditions, rather than creating one with a null filter_spec that goes unchecked
2016-09-20 15:38:36 +01:00
Matt Westcott
b390c21227 Use a more efficient method to populate Rendition.filter_spec
We now perform one bulk update for each filter record, rather than updating each Rendition record individually.
2016-09-20 15:38:36 +01:00
Matt Westcott
8dc1d9c342 Document the steps for creating a filter_spec migration for a custom image model 2016-09-20 15:38:36 +01:00
Matt Westcott
fbe26f4708 Move migration helper functions into wagtailimages.utils 2016-09-20 15:38:35 +01:00
Matt Westcott
04fb814138 Add system check for custom image models that need a filter_spec data migration 2016-09-20 15:38:35 +01:00
Matt Westcott
690153c5b9 Add a filter_spec field on Rendition to track the filter spec string used
This is an initial step towards retiring Filter as a model (#2881). We
cannot go further than this in the present release, as we want to retain
the ability for developers with custom image models to use the Django
migration autodetector - this implies that all schema changes pertaining
to a Wagtail point release must happen in one go (there's no possibility
of applying a schema migration, then a data migration, then another schema
migration).
2016-09-20 15:38:35 +01:00
Mikalai Radchuk
b1d10db7f2 Release notes for #3002 2016-09-19 19:31:37 +03:00
Matt Westcott
ec7ef7ba77 Include all WSGI-mandated headers in Page.dummy_request
As specified by https://www.python.org/dev/peps/pep-3333/#environ-variables . Fixes #2989
2016-09-19 19:31:10 +03:00
Matt Westcott
89f4699a91 Fix underlines 2016-09-19 13:51:04 +01:00
Matt Westcott
86e60fd4a3 Mention where to access the styleguide - fixes #3009 2016-09-19 13:49:52 +01:00
Matt Westcott
c6666c6de5 Disable escape key on rich text fields - fixes #2998 2016-09-16 15:19:12 +01:00
Matt Westcott
8aa316c575 Correct description of 'title' class on FieldPanel - fixes #2990 2016-09-15 17:02:25 +01:00
Matt Westcott
b0aa210078 Recognise classname parameter on InlinePanel. Fixes #1316 2016-09-15 16:44:51 +01:00
Tim Heap
b4a87d93aa Add hints for technical details in issue template (#2999)
The more information we get, the easier it is for users to provide it,
and the more accurate that information is, the better!
2016-09-15 10:11:36 +01:00
Karl Hobley
4dc1ef05f8 Removed unused import from example
Thanks @timheap for spotting
2016-09-15 09:18:04 +01:00
riceyrice
d6b9735141 Allow editing of images and embeds by passing params in querystring
Allows Wagtail TinyMCE editor to edit existing images and embeds.
Hallo editor requires development to take advantage of this capability.
2016-09-14 17:21:38 +01:00
Matt Westcott
01d63bfb61 fix double-backticks 2016-09-14 16:54:30 +01:00
Matt Westcott
a7af8f7da3 Release note for #2997 2016-09-14 16:54:02 +01:00
Karl Hobley
8b9b2ced36 Docs for new hooks 2016-09-14 16:52:28 +01:00
Karl Hobley
0b9bb1d9ad Added tests for editor workflow customisation hooks 2016-09-14 16:52:28 +01:00
Karl Hobley
005e2e7a37 Add before_delete_page hook 2016-09-14 16:52:28 +01:00
Karl Hobley
d60bde68c3 Add before_edit_page hook 2016-09-14 16:52:28 +01:00
Karl Hobley
d61f91be7c Added before_create_page hook 2016-09-14 16:52:27 +01:00
Jayden Smith
5732e215b0 Allow passing of options into Rich Text Editor. 2016-09-14 15:33:45 +01:00
eprikazc
e1c3a751ca Fix flake8 complaint in group_models_by_index (#2993)
F812 list comprehension redefines 'models' from line 13
2016-09-13 17:00:08 +01:00
Matt Westcott
67e46f9a33 Merge pull request #2987 from jjanssen/feature/github_templates
Adds an Issue and a Pull request template to Github
2016-09-13 10:58:32 +01:00
Janneke Janssen
574994f6c3 Updated with feedback from Tom 2016-09-08 14:38:00 +02:00
Matt Westcott
3b4c24e0b5 Release note for #2619 2016-09-08 12:10:53 +01:00
João Luiz Lorencetti
7be973f958 Applied patch from #1911, limit the inner select and create a new index 2016-09-08 12:06:08 +01:00