Lovelyfin00
6997ff1d68
Use browser URLSearchParams to determine q param (core.js)
...
- Fixes #9765
- removed the function for getURLParam function and replaced with URLSearchParam method
- already used in many other places in the same file
2022-12-10 07:19:48 +10:00
LB Johnston
ec41b7448a
Add changelog for #8746
2022-12-10 07:05:39 +10:00
Thibaud Colas
0bf26a73c1
Fix horizontal positioning of rich text inline toolbar
2022-12-10 06:56:54 +10:00
Matt Westcott
f635038e13
Release note for StreamField data migration helpers ( #9694 )
2022-12-09 16:40:07 +00:00
4the4ryushin
7fe09f65bb
conditional display of meta description ( #9764 )
2022-12-08 14:35:46 +00:00
Sage Abdullah
ddbdd51607
Extract generic Lock/Unlock views and make page's views extend from them ( #9740 )
2022-12-08 12:06:52 +00:00
LB Johnston
f31cce6786
Update changelog for #9750
2022-12-08 07:45:00 +10:00
LB Johnston
fa544d4ec2
Add changelog for #9762
2022-12-08 07:43:30 +10:00
Matt Westcott
5b8b508385
Release note for #9726
2022-12-07 10:43:09 +00:00
Matt Westcott
bb9dad4f96
Release note for #9709
2022-12-06 18:08:56 +00:00
Sage Abdullah
1f143cf8ca
Create and show publish permissions for snippets with DraftStateMixin
applied ( #9711 )
2022-12-06 16:16:59 +00:00
LB Johnston
9713274e05
Add changelog for #9376
2022-12-03 15:53:48 +10:00
Sage Abdullah
a5b372e47a
Remove grey background from .content-wrapper
...
- Fixes #9667
2022-11-30 07:57:38 +10:00
Thibaud Colas
bf217a54fb
Use the correct padding for autocomplete block picker
2022-11-28 11:44:22 +00:00
Thibaud Colas
713636a00e
Always show the page editor title field’s border when the field is empty. Fix #9318 ( #9719 )
2022-11-25 17:16:05 +00:00
Benjamin Bach
b6d35adb5f
Improve validation errors for non-unique slug
...
- Informative validation: Tell users/devs which slug that is offending inside which URL hierarchy
2022-11-25 08:47:32 +10:00
Matt Westcott
9e0bcce014
Move release note for #9651 to 4.2
2022-11-23 22:05:40 +00:00
Matt Westcott
d2167ed705
Release note for #8886
2022-11-23 20:04:56 +00:00
Andy Chosak
4e76241295
Fix: Review or revert to a page's initial revision
...
Currently it's not possible to review or revert to a page's initial
revision because we don't log a PageLogEntry "wagtail.edit" event
in certain cases:
- When a page is first created, and saved as draft
- When a page is first created, and published right away
- When a page is first created, and submitted for moderation
This commit alters the current behaviour so that a "wagtail.edit" event
is created in those cases. This allows these initial revisions to be
reviewed or reverted to in the page history view.
This commit also updates the existing create_log_entries_from_revisions
management command to try to populate these initial revisions there as
well. The relevant unit tests have been updated.
Fixes #8337
2022-11-23 08:45:39 +10:00
Ben Gosney
c7a5e9a959
Add missing kwargs to the send_mail helper
...
Fixes #5899
2022-11-23 08:31:13 +10:00
4the4ryushin
a03bbba347
Fix pluralisation for Tab error count shown to screen readers
...
Fixes #9521
2022-11-23 07:52:24 +10:00
Sage Abdullah
573107a3b6
Add StreamField.get_db_prep_value()
to delegate serialisation of JSONField
lookup values ( #9693 )
...
Fixes #9692
2022-11-21 17:28:07 +00:00
4the4ryushin
bc05374c95
Added raw check for fixtures and test for pre_save_feature_detection
...
Fixes #3589
2022-11-20 21:53:26 +10:00
Theresa-o
af1f1715a3
Refine the grid position of uploaded images
...
Closes #9674
Ensure that when there are less images to fill up the columns, the columns still have the same max width
2022-11-20 21:18:23 +10:00
LB Johnston
92576b57b5
Add changelog #9558
2022-11-20 08:03:33 +10:00
Ivy
4fbccd1c88
Support text resizing in workflow steps cards ( #9525 )
...
Co-authored-by: Thibaud Colas <thibaudcolas@gmail.com>
2022-11-18 23:23:39 +00:00
Theresa-o
8d30e716f7
Move DateField, DateTimeField, TimeField comment buttons to be right next to the fields. Fix #9543 ( #9549 )
...
Co-authored-by: Thibaud Colas <thibaudcolas@gmail.com>
2022-11-18 23:07:24 +00:00
Thibaud Colas
edff772aee
Update contributor name in credits
2022-11-18 22:17:59 +00:00
Anisha Singh
82c0fb5934
Allow both horizontal and vertical manual resizing of TextFields. Fix #7210 ( #9651 )
...
Co-authored-by: Thibaud Colas <thibaudcolas@gmail.com>
2022-11-18 21:57:46 +00:00
Thibaud Colas
9c96daa28b
Add release notes for documentation contributions
2022-11-18 15:19:15 +00:00
benita
c108de2bb5
Fix logo in README not being visible in high-contrast mode. Fix #8160
...
Co-authored-by: Thibaud Colas <thibaudcolas@gmail.com>
2022-11-18 14:05:37 +00:00
ChickenF622
4ee7a633b6
Add clarification on where to register entity plugins ( #9487 )
...
Co-authored-by: Thibaud Colas <thibaudcolas@gmail.com>
2022-11-18 11:24:08 +00:00
Temidayo
97db766d01
Added links and more info to documentation ( #9517 )
...
* Docs: Mention Wagtail’s usage of Django’s default user model by default (Temidayo Azeez)
* Docs: Add links to treebeard documentation for relevant methods (Temidayo Azeez)
Co-authored-by: Thibaud Colas <thibaudcolas@gmail.com>
2022-11-18 11:18:01 +00:00
LB Johnston
25c4763d08
Add changelog for #8782 / #8696
2022-11-18 06:58:16 +10:00
Coen van der Kamp
b91ed2cce4
Allow button labels to wrap onto two lines in dropdown buttons. Fix #9613 ( #9643 )
...
Co-authored-by: Thibaud Colas <thibaudcolas@gmail.com>
2022-11-17 16:37:21 +00:00
sage
8cd8769eb6
Use consistent heading styles on top-level fields in the page editor ( #9659 )
...
Co-authored-by: Thibaud Colas <thibaudcolas@gmail.com>
2022-11-17 16:23:38 +00:00
sage
dd0d2c4b88
Make it possible to resize the page editor’s side panels ( #9276 )
...
Co-authored-by: Thibaud Colas <thibaudcolas@gmail.com>
2022-11-17 15:53:15 +00:00
Yekasumah
119f288a3c
Added unit tests & JSDoc to initDissmisibles
...
- Fixes #9495
2022-11-17 18:21:25 +10:00
jacobtoppm
34c37bc914
Stop comments being added on inline panels
...
- They do not have stable ids when models are not persisted to the database
- Fixes #9641
This feature should was enabled unintentionally. It would be great to add the ability to comment on child models in the future, but just like ListBlock before the addition of ids, we need a stable way to calculate the id to attach a comment before we can do this. This is a problem we'll need to solve - potentially via a uuid field on the model to identify models that haven't yet been saved to the database outside revisions.
2022-11-17 07:55:30 +10:00
Sage Abdullah
baddbfad42
Fix missing preview_url_name in SnippetViewSet.revisions_revert_view ( #9663 )
2022-11-16 16:45:34 +00:00
Matt Westcott
0c62704836
Release note for #9672
2022-11-16 16:24:43 +00:00
Matt Westcott
44933d06c4
Add Documentation / Maintenance subgroups to release notes
...
Reorganise the 4.2 release notes and changelog to include new sections for documentation and maintenance. This helps to highlight the most relevant changes from the perspective of a developer wanting to know what they can expect from an upgrade, while still recognising less visible contributions. Also update the "committing code" docs to explain the new classification scheme.
2022-11-16 16:15:33 +00:00
Matt Westcott
679b8ca87a
Fill in release date for 4.1.1
2022-11-11 16:32:52 +00:00
Joshua Munn
35165b99b5
Fix aging pages report KeyError caused when page publisher deleted ( #9531 )
2022-11-11 16:12:33 +00:00
Matt Westcott
74738703a3
Release note for #9636
2022-11-11 14:41:06 +00:00
LB Johnston
a4ec6afae5
Add changelog for #9609 & update contributor name
...
- Update Chisom to Chisom Okeoma
2022-11-11 08:08:39 +10:00
4the4ryushin
35a2f2cb7e
Add purge_embeds management command
...
- Fixes #1267
- Caching OEmbed markup prevents markup changes for existing embeds so allow an easy way to clear these if needed
2022-11-11 08:00:50 +10:00
Thibaud Colas
77a63c224f
Make sure minimap error indicators follow the minimap scrolling ( #9624 )
2022-11-10 08:31:00 +00:00
FatumaA
d4792785b8
Refactor - convert initTooltips to TypeScript, add JSDoc & tests
...
- Fixes #9505
2022-11-10 07:34:43 +10:00
Seremba
dcd8148dfe
Style default secondary buttons with icons
...
- Style secondary button with icon to match according to Wagtail Design System
- Fixes #9198
2022-11-10 07:24:27 +10:00
Albina Starykova
d36790640e
Remove unnecessary box-sizing: border-box declarations
...
- box-sizing: border-box added to all elements globally in #8921
- Relates to #9031
2022-11-10 06:52:09 +10:00
Lovelyfin00
933a730928
Removed no-prototype-builtins rule from eslintrc and fixed minor additional issues
2022-11-10 06:40:40 +10:00
Florian Vogt
cafc2130af
Use blocktrans to remove trailing whitespace in headers
...
- Fixes #9596
2022-11-10 06:31:38 +10:00
Matt Westcott
2a20764b00
Release notes for #9625
2022-11-09 14:21:20 +00:00
mohammadareeb95
66f2512ef5
Ensure links that have .nolink (current link) can be seen in WHCM
...
- Fixes #9578
2022-11-09 22:55:03 +10:00
AdeboyeJuliet
c225172c1f
fix:Tippy tooltip arrows render as rectangles in WHCM
...
- Fixes #8835
2022-11-09 22:12:57 +10:00
Albina Starykova
b1c4ca5489
Fix tag field styles in WHCM
...
- Fixes #9529
2022-11-09 21:45:50 +10:00
DokuaAsiedu
7ae2625132
Add new development documentation section "Development on Windows"
...
- Fixes #9540
- Remove duplicate name in contributors
2022-11-09 21:32:13 +10:00
AdeboyeJuliet
f41a219697
Migrate initSkipLink to typescript, add unit tests & JSDOC
...
- Additionally clean up the exports and imports to be sorted & align with named export usage
- Fixes #9541
2022-11-09 21:25:53 +10:00
Dev-Yusuf
c2ba84e825
Resolved the skip link contrast issues to meet requirements
...
- Update client/scss/components/_skiplink.scss
- fixes #9515
2022-11-09 21:17:37 +10:00
Matt Westcott
bafac01ca7
Releasse note for #9631
2022-11-08 17:56:53 +00:00
Omer Ali
748c082e01
Docs / release note for #9602
2022-11-08 16:16:17 +00:00
Matt Westcott
4d18e669ff
Defer snippet registration until models are loaded ( #9605 )
...
Fixes #9586 . All calls to `register_snippet` that happen before `WagtailSnippetsAppConfig.ready` are now queued up and processed once we are sure models are fully loaded. This avoids any issues with unloaded models during viewset construction, as seen when subclassing django-filters's FilterSet.
2022-11-08 10:22:25 +00:00
Lovelyfin00
0000ed88f7
removed unused styles from utility.legacy.scss file and clean up
...
- `divider-before` not used
- add w-list-none to Tailwind utility classes
- remove now unused unlist class
- relates to #8947
2022-11-08 08:45:23 +10:00
Lovelyfin00
b1c1618c9b
Migrated initButtonSelects from core.js to own includes file
...
- removed initButtonSelects from core.js , migrate to Typescript & and wrote test for it
- Fixes #9494
2022-11-08 08:28:59 +10:00
Matt Westcott
f3b73137d9
Release note for #9566 in 4.1.1
2022-11-07 12:27:13 +00:00
Theresa-o
0ebdd51882
Fix help block <a> to meet colour contrast guidelines
...
- Fixes #9569
2022-11-07 19:56:36 +10:00
LB Johnston
9118de1850
Add changelog for #9617
2022-11-07 19:51:13 +10:00
LB Johnston
2b14d0407d
Fix up changelog & release notes for #9567
2022-11-07 19:35:42 +10:00
LB Johnston
cad419ea9e
Prettier linting - clean up ignored file (search promotions)
...
- remove specific file in .prettierignore and add inline comments to allow for linting / formatting for the searchpromotions_formset
- Split from #9522
2022-11-07 19:34:57 +10:00
LB Johnston
57e75df15d
Add 4.1.1 changelog/release notes section
...
- Include bug fix reference for #9530
2022-11-07 08:38:06 +10:00
LB Johnston
1fe9581548
Add documentation for register_user_listing_buttons hook
...
- Has existed since Wagtail ~1.6 but never documented
2022-11-07 06:59:24 +10:00
Yekasumah
aeae816b27
Fix comments notice background overflow ( #9567 )
2022-11-04 18:24:13 -04:00
Jordan-Rob
9c29e6a12e
Remove duplicate code to escape HTML in JavaScript
...
* added an import for escapeHtml from utils/text and added back window.escapeHtml = escapeHtml
* Fixes #9492
2022-11-02 06:41:14 +10:00
Sage Abdullah
f1b30cc87c
Run Python tests with coverage and upload coverage data to codecov
2022-11-02 06:33:38 +10:00
Matt Westcott
9764d53624
Fill in release date for 4.1
2022-11-01 11:03:33 +00:00
Matt Westcott
b848254873
Apply correct pluralisation to minimap error count
...
Fixes #9497
2022-10-28 07:20:03 +10:00
Thibaud Colas
a2f491e0d8
Update non-editor-guide screenshots
2022-10-28 06:25:47 +10:00
Jake Howard
c6afb0069d
Performance docs - Mention the importance of passing request
and current_site
to get_url
...
- Co-authored-by: Andy Babic <ababic@users.noreply.github.com>
2022-10-28 06:24:38 +10:00
LB Johnston
a748497543
Add changelog for #9148
2022-10-28 06:18:58 +10:00
Lovelyfin00 (Nutjob)
bd62927958
Ensure logo shows correctly on log in page in Windows high contrast
...
- Added a class to the logo image and also added forced mode to the logo image class
- Fixes #9428
2022-10-27 08:29:09 +10:00
xomcodes
3dcde23e02
Fixed auth form field padding (Log in / password reset)
...
- Fixes #9440
2022-10-27 08:01:08 +10:00
DokuaAsiedu
af9f7ecbb3
Add docs & unit tests for assertCanCreate with publish ( #9458 )
...
- Builds on #9458
2022-10-27 07:54:32 +10:00
Matt Westcott
aaea8710c2
Formalise Python 3.11 support for Wagtail 4.1 too
2022-10-26 11:01:14 +01:00
Ogunbanjo oluwadamilare
1428333af8
Documentation - added contributing translations guide
...
- Fixes #7115
2022-10-26 08:29:29 +10:00
Mary Ojo
aea9f14558
Fix status tag font-size units for proper resizing ( #9382 )
2022-10-23 13:56:55 -04:00
unknown
84769bed4e
Documentation - fix link for Wagtail community support
2022-10-22 22:14:45 +10:00
Stefan Hammer
acdf1aa4df
Extract asterisk from translation string with format_lazy (page title)
...
- See #9348
- Relates to #9028
2022-10-22 22:12:17 +10:00
Dan Braghis
df0b36fdb7
Add missing release notes for 4.1.x for #9435
...
The notes were added for the stable/4.1.x branch, but not main
2022-10-21 15:00:53 +01:00
Alex Tomkins
063f2bc7a5
Fix extract_references for DocumentChooserBlock
2022-10-21 14:52:41 +01:00
Darrel O'Pry
912747f6ae
feat: use Willow instead of Pillow for images.
...
Override all Django code calling Pillow, so that we can
more easily implement SVG support when it lands in
Willow.
2022-10-21 12:32:08 +01:00
Albina Starykova
bd13f567fe
Ensure visual consistency between buttons and links as buttons in WHCM
...
- Fix secondary-button disabled state
- Fix legacy dropdown in WHCM
- Fixes #9078
2022-10-21 08:35:12 +10:00
Lovelyfin00 (Nutjob)
91de7a126d
Ensure authentication forms have a visible border in Windows high contrast mode
...
- fixes #9350
2022-10-20 23:01:30 +10:00
LB Johnston
7430167751
Changelog entry for #9414
2022-10-20 22:03:40 +10:00
LB Johnston
a4f6c04613
Add changelog for #9411
2022-10-20 21:53:58 +10:00
Lovelyfin00
86437515a3
Make sure workflow timeline icons are visible in high-contrast mode. Fix #9349 ( #9383 )
...
Co-authored-by: Thibaud Colas <thibaudcolas@gmail.com>
2022-10-19 21:35:05 +01:00
Matt Westcott
feecacd288
Add changelog / release notes for 4.2
2022-10-19 07:26:17 +10:00
Matt Westcott
1a72b2a557
Renumber 4.0.3 to 4.0.4 in release notes
2022-10-18 13:26:51 +01:00
Matt Westcott
7fc434cdcd
Fill in release date for 4.0.3
2022-10-18 11:15:17 +01:00
Oliver Parker
19fd2ceb98
Add ability to check permission on parent PanelGroup
class
...
- Used by TabbedInterface, ObjectList, FieldRowPanel, MultiFieldPanel
2022-10-18 09:53:13 +10:00