Wykres commitów

11837 Commity (9aa2f68dfa04d5ab21eab059fc5432e7fcfee883)

Autor SHA1 Wiadomość Data
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
Matt Westcott f3069fb954 Add transactions around logged actions 2021-10-01 16:30:05 +01:00
Matt Westcott 6cb463dd41 Document the new 'log' method 2021-10-01 16:30:05 +01:00
Matt Westcott 4eb539b901 Add logging for users 2021-10-01 16:30:05 +01:00
Matt Westcott 6f2fee869d Add logging for site settings 2021-10-01 16:30:05 +01:00
Matt Westcott bf663cd568 Add logging for search promotions 2021-10-01 16:30:05 +01:00
Matt Westcott 9839adc002 Prevent logging actions for instances with null primary keys
It's a common gotcha when logging delete actions, and screws up reporting afterwards because the generic FK in ModelLogEntry ends up storing it as the string 'None'
2021-10-01 16:30:05 +01:00
Matt Westcott 759234e3d2 Add logging to redirects 2021-10-01 16:30:05 +01:00
Matt Westcott ba825e2346 Add logging to generic model views 2021-10-01 16:30:05 +01:00
Matt Westcott 23d6530761 Add logging to ModelAdmin 2021-10-01 16:30:05 +01:00
Matt Westcott fc62c532aa Add uuid to track log entries from the same log context / user action 2021-10-01 16:30:05 +01:00