Wykres commitów

11864 Commity (eed26307c89e8ecd171bf892018cc8ff59ed9d38)

Autor SHA1 Wiadomość Data
Matt Westcott eed26307c8 Make comments relation name configurable with a setting 2021-10-13 18:50:15 +01:00
Matt Westcott 7303d7fac6 Change comments relation to wagtail_admin_comments 2021-10-13 18:50:15 +01:00
LB Johnston 196a368cdc add contributors for #7588 2021-10-13 17:54:04 +10:00
indreshp135 6e90c877ec fix issue with __prefix__ in nested inline panel
changed following:
change only first __prefix__ when multiple __prefix__ are present in
same name when orderable and blocks are nested

Co-authored-by: anirudhvs <54744932+anirudhvs@users.noreply.github.com>
Co-authored-by: CaptainIRS <36656347+CaptainIRS@users.noreply.github.com>

- fixes #7587
- fixes #5770
2021-10-13 07:37:27 +10:00
Karl Hobley 6659c286ce Remove duplicate DeprecationWarning class
(strange there was no merge conflict here)
2021-10-12 15:19:32 +01:00
Karl Hobley e2ddd52030 Updates to docs for new database search backend
A more detailed comparison of the features supported in different
databases will come later.
2021-10-11 20:12:24 +01:00
ACMCMC 121212c6d0 Separated `body` and `title` `FULLTEXT` indexes 2021-10-11 20:12:24 +01:00
Karl Hobley 7a9da0c4e0 Skip ngram parser on MariaDB
Not supported yet: https://jira.mariadb.org/browse/MDEV-10267
2021-10-11 20:12:24 +01:00
ACMCMC eaae08136f MySQL Backend 2021-10-11 20:12:24 +01:00
ACMCMC 810c7783e2 Model for the MySQL backend 2021-10-11 20:12:24 +01:00
Aldán Creo d0f76cd8dd SQLite Search Backend 2021-10-11 20:12:24 +01:00
Aldán Creo 7ecc67e52e New PostgreSQL search backend 2021-10-11 20:12:23 +01:00
Aldán Creo 52f8b4268a Groundwork for the new search backend (#7281) 2021-10-11 20:12:23 +01:00
Jérôme Lebleu a714de8038 Use SVG icon instead of font icon in modeladmin index view
- This uses the same classes and tags than 'wagtailadmin/shared/header.html'
- constructs the <header> element and its children and blocks to that convention
2021-10-10 13:12:51 +10:00
Fabien Le Frapper 50f55507d8 Upgrade modernizr and jquery
- https://blog.jquery.com/2021/03/02/jquery-3-6-0-released/
- https://github.com/Modernizr/Modernizr/compare/v2.6.2...v2.8.3
2021-10-10 13:01:53 +10:00
LB Johnston 443f5b3fa0 add missing release notes items
- items included in changelog but not in 2.15 release notes
2021-10-10 12:53:37 +10:00
Sakshi Uppoor da1e4d9a99
Fix toggle switch bug in high-contrast mode (#7561)
Co-authored-by: Thibaud Colas <thibaudcolas@gmail.com>
2021-10-08 22:32:55 +01:00
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