Wykres commitów

11847 Commity (9c191c255f7ecf45914a4d2d4fccebe67eec152b)

Autor SHA1 Wiadomość Data
LB Johnston 9c191c255f add tags to existing Django registered checks
PR: #7569

- see https://docs.djangoproject.com/en/3.2/topics/checks/#registering-and-labeling-checks
2021-10-08 11:02:30 -04:00
Jérôme Lebleu 5522992c29 Use SVG icons in StreamField buttons and headers
- Simplify rendering of .c-sf-button and its elements
- replaces the rendering of `.c-sf-button` as a flexbox by a simple
- block element - as it is enough here - and moves text related rules to the <button> element.
- Use SVG icon in StreamField's action buttons
2021-10-07 17:04:13 +10:00
Dmitrii F 932762c9f1 windows high contrast mode - multiple fixes
- fix search header field border in Windows High Contrast mode
- fix tab-nav active in Windows High Contrast mode
- add border for c-sf-button. This fix view in WHC mode.
- add justify-content - center for better view on mobile devices.
2021-10-07 15:59:14 +10:00
LB Johnston 02d6d27a9c add release notes
- autocomplete API - #4937 & #5960 & #4938
- Python 3.10 #7577
- unit tests #7578
2021-10-07 15:42:32 +10:00
Karl Hobley 160b44ed09 Documentation for autocomplete API 2021-10-07 15:26:23 +10:00
Matt Westcott b6b3a0c4ac Add support for Python 3.10
Quote all versions in test.yml (so that 3.10 isn't interpreted as 3.1)
2021-10-07 15:20:28 +10:00
Matt Westcott f73572e449 Capture log output from style fallback unit test
For some reason the log output generated during the test added in #7388 causes subsequent tests to be much more noisy - wrap it in self.assertLogs to silence this.

(also change logging.warn to logging.warning - the former is obsolete as per https://docs.python.org/3.10/library/logging.html#logging.warning )
2021-10-07 06:02:26 +10:00
LB Johnston f453092d0c update hooks documentation to use mark_safe as no variables are used 2021-10-06 20:57:32 +10:00
LB Johnston e03c86f3f8 add ability to customise the pre-filled Image title
- leveraging a custom DOM event provides the ability to update the title before being added to the form
- multiple image upload (view) needs to be able to read the title POST data
- add documentation
2021-10-06 19:53:30 +10:00
LB (Ben Johnston) 2eb7232055 Deployment docs - update wagtail getting started 2021-10-05 21:00:48 +10:00
Matt Westcott 9aa2f68dfa Release note for model audit logging 2021-10-04 14:01:25 +01:00
Matt Westcott cc416215b6 Add last-updated row to modeladmin edit page header 2021-10-04 13:49:55 +01:00
Matt Westcott 57f150522d history view for modeladmin 2021-10-04 13:49:55 +01:00
Matt Westcott 718232ead4 Better styling for snippets 'last updated' link 2021-10-04 13:49:55 +01:00
Matt Westcott 07141d6ced Add snippet history view 2021-10-04 13:49:55 +01:00
Matt Westcott 9b28fdba87 Output last log entry on snippet edit view 2021-10-04 13:49:54 +01:00
Matt Westcott 4db9be469f Release note for #7409 2021-10-04 13:01:19 +01:00
Matt Westcott 2b8a0661a7 handle nulls in UserColumn 2021-10-04 12:42:48 +01:00
Matt Westcott 82d0e41969 Cache compiled templates on Column 2021-10-04 12:42:48 +01:00
Matt Westcott 3c6701c1c6 Use gettext_lazy on wagtail.users.views.groups 2021-10-04 12:42:48 +01:00
Matt Westcott 94f41d9f84 Add a User column type 2021-10-04 12:42:47 +01:00
Matt Westcott 3fdc3b6f9f Add a human-readable date column type 2021-10-04 12:42:47 +01:00
Matt Westcott fb8303c048 Gracefully handle not specifying an edit URL on generic IndexView 2021-10-04 12:42:47 +01:00
Matt Westcott 12d7cfc16f Don't crash on undefined index_url_name (because there's probably a lot of third-party code using IndexView already) 2021-10-04 12:42:47 +01:00
Matt Westcott c60e71eebd Add column ordering to groups index 2021-10-04 12:42:46 +01:00
Matt Westcott a11378acf8 Implement actual working column ordering 2021-10-04 12:42:46 +01:00
Matt Westcott ecead294a0 Add pagination to base generic index view 2021-10-04 12:42:45 +01:00
Matt Westcott 9411d964d8 Replace wagtailusers/groups/list.html with table module
It's literally just the default generic IndexView table rendering (or at least it is once we've localised the label "Name")
2021-10-04 12:42:45 +01:00
Matt Westcott 89eb6be50f Reimplement wagtaillocales/index.html with wagtail.admin.tables 2021-10-04 12:42:45 +01:00
Matt Westcott 7740e06813 allow edit URL to be overridden from IndexView
This means we're not limited to named URL routes that take a single ID argument (which wouldn't work for snippets, for instance).
2021-10-04 12:42:45 +01:00
Matt Westcott 3827e848ac Ensure media from columns is pulled through to table views 2021-10-04 12:42:44 +01:00
Matt Westcott ddf7d2b938 Reimplement wagtailsites/index.html with wagtail.admin.tables 2021-10-04 12:42:44 +01:00
Matt Westcott 48a2813f39 Give generic IndexView a usable default listing
Comment out `template_name = 'wagtailsites/index.html'` in wagtail.sites.views to see it in action. This consists of a single 'Name' column consisting of the str() representation of the object, linking to the URL obtained from edit_url_name.
2021-10-04 12:42:44 +01:00
Matt Westcott 975c85f117 Add TitleColumn class for columns with links 2021-10-04 12:42:06 +01:00
Matt Westcott 01d0926d95 Implement a module for formatting data into tables 2021-10-04 12:42:06 +01:00
LB Johnston 3e2012373a update documentation & 2.15 release to drop IE11 support
- update browserslist
- fixes #6170
2021-10-04 12:35:58 +01:00
LB Johnston 3ef14c0d62 fix typo in changelog 2021-10-04 19:53:29 +10:00
Nick Smith 781c2d14d3 Add How-To instructions for landing-page redirects
This uses both the forms and routable_page contrib modules to redirect
without using a separate landing page.
2021-10-04 14:12:28 +10:00
Matt Westcott 37e19c3d71 Fix link to node.js download
https://nodejs.org/download/ just points to a directory listing now; the download link is now on the https://nodejs.org/ homepage, and there are no instructions to speak of.
2021-10-02 12:52:47 +10:00
Matt Westcott d67fdd1b8b Retrieve instances with log entries and use AdminURLFinder to locate edit URLs 2021-10-01 17:03:34 +01:00
Matt Westcott 52e598179c Update spreadsheet export columns 2021-10-01 17:03:33 +01:00
Matt Westcott 62f05024d2 Better column headings 2021-10-01 17:03:33 +01:00
Matt Westcott ce3a3daffa Add object type column to site history report 2021-10-01 17:03:32 +01:00
Matt Westcott 917b4ebd07 Make PageLogEntry expose a single Page object type rather than breaking down by page type 2021-10-01 17:03:32 +01:00
Matt Westcott c4a977eab4 Nicer labels for object type dropdown 2021-10-01 17:03:31 +01:00
Matt Westcott b24a8203c9 Add object type filter to audit log report 2021-10-01 17:03:30 +01:00
Matt Westcott 77b34458de Populate User filter from both ModelLogEntry and PageLogEntry 2021-10-01 17:03:30 +01:00
Matt Westcott bff5de466f Prefetch user profile to prevent n+1 query 2021-10-01 17:03:29 +01:00
Matt Westcott 09edb2d043 Update LogEntriesView to combine results from PageLogEntry and ModelLogEntry 2021-10-01 17:03:29 +01:00
Matt Westcott e18f5abc35 Refactor ReportView to expose a get_filtered_queryset method
We'll need to override this for a report view that combines multiple querysets with union(), because you need to filter the subqueries separately
2021-10-01 17:03:28 +01:00