GitHub/WoltLab/WCF.git
17 months agoMerge branch '5.5'
Tim Düsterhus [Mon, 8 May 2023 10:10:32 +0000 (12:10 +0200)]
Merge branch '5.5'

17 months agoFix titlecasing of “with” in page.xml
Tim Düsterhus [Mon, 8 May 2023 10:09:37 +0000 (12:09 +0200)]
Fix titlecasing of “with” in page.xml

17 months agoMerge branch '5.5'
Tim Düsterhus [Mon, 8 May 2023 07:23:36 +0000 (09:23 +0200)]
Merge branch '5.5'

17 months agoFix wcf.acp.rebuildData.com.woltlab.wcf.activityPoint*
Tim Düsterhus [Mon, 8 May 2023 07:19:21 +0000 (09:19 +0200)]
Fix wcf.acp.rebuildData.com.woltlab.wcf.activityPoint*

see https://www.woltlab.com/community/thread/299762-language-wcf-acp-rebuilddata-com-woltlab-wcf-activitypointevent/

17 months agoAdd space in “Buffer Pool” in wcf.acp.systemCheck.mysql.bufferPool phrase
Tim Düsterhus [Mon, 8 May 2023 07:16:17 +0000 (09:16 +0200)]
Add space in “Buffer Pool” in wcf.acp.systemCheck.mysql.bufferPool phrase

see https://www.woltlab.com/community/thread/299781-language-wcf-acp-systemcheck-mysql-bufferpool/

17 months agoFix the overflow toolbar behavior on mobile
Alexander Ebert [Sun, 7 May 2023 14:00:26 +0000 (16:00 +0200)]
Fix the overflow toolbar behavior on mobile

Fixes WoltLab/editor#49

17 months agoThe media bbcode button is injected by the bbcode plugin
Alexander Ebert [Sun, 7 May 2023 13:20:52 +0000 (15:20 +0200)]
The media bbcode button is injected by the bbcode plugin

Fixes WoltLab/editor#48

17 months agoImprove title of the `CombinedTaggedPage`
Marcel Werk [Fri, 5 May 2023 16:30:44 +0000 (18:30 +0200)]
Improve title of the `CombinedTaggedPage`

17 months agoAdd button that leads back to the tag search form
Marcel Werk [Fri, 5 May 2023 16:28:55 +0000 (18:28 +0200)]
Add button that leads back to the tag search form

17 months agoAdd `CombinedTaggedPage` to page.xml
Marcel Werk [Fri, 5 May 2023 16:27:36 +0000 (18:27 +0200)]
Add `CombinedTaggedPage` to page.xml

17 months agoMerge branch '5.5'
Tim Düsterhus [Fri, 5 May 2023 14:55:53 +0000 (16:55 +0200)]
Merge branch '5.5'

17 months agoUpdate fileDelete.xml
Tim Düsterhus [Fri, 5 May 2023 10:20:35 +0000 (12:20 +0200)]
Update fileDelete.xml

17 months agoFix typo in de.xml
Tim Düsterhus [Fri, 5 May 2023 14:54:42 +0000 (16:54 +0200)]
Fix typo in de.xml

17 months agoMerge pull request #5479 from WoltLab/line-break-separated-text
Marcel Werk [Fri, 5 May 2023 14:44:40 +0000 (16:44 +0200)]
Merge pull request #5479 from WoltLab/line-break-separated-text

Fix issues when pasting in `LineBreakSeparatedText` input fields

17 months agoUpdate outdated terms in trademark notice
Marcel Werk [Fri, 5 May 2023 13:11:03 +0000 (15:11 +0200)]
Update outdated terms in trademark notice

17 months agoFix issues when pasting in `LineBreakSeparatedText` input fields
Marcel Werk [Fri, 5 May 2023 12:54:57 +0000 (14:54 +0200)]
Fix issues when pasting in `LineBreakSeparatedText` input fields

Pasting from the clipboard could result in duplicates and empty entries.

17 months agoMerge pull request #5478 from WoltLab/sitemap-worker
Marcel Werk [Fri, 5 May 2023 12:23:49 +0000 (14:23 +0200)]
Merge pull request #5478 from WoltLab/sitemap-worker

Fix PHP8.2 issues in `SitemapRebuildWorker`

17 months agoFix PHP8.2 issues in `SitemapRebuildWorker`
Marcel Werk [Fri, 5 May 2023 11:47:31 +0000 (13:47 +0200)]
Fix PHP8.2 issues in `SitemapRebuildWorker`

This commit should only to fix the PHP8.2 incompatibilities. The code of the worker is generally quite ugly and should be fundamentally reworked with a future version.

17 months agoMerge pull request #5477 from WoltLab/remove-configurable-sitemap-priority
Marcel Werk [Fri, 5 May 2023 10:19:17 +0000 (12:19 +0200)]
Merge pull request #5477 from WoltLab/remove-configurable-sitemap-priority

Make sitemap priority no longer configurable

17 months agoMake sitemap priority no longer configurable
Marcel Werk [Fri, 5 May 2023 10:16:21 +0000 (12:16 +0200)]
Make sitemap priority no longer configurable

Closes #5309

18 months agoAdd return types to LegacyPlaceholderResponse
Tim Düsterhus [Fri, 5 May 2023 09:22:22 +0000 (11:22 +0200)]
Add return types to LegacyPlaceholderResponse

These are required for psr/http-message:2.0 compatibility

see 5456677602406d52e2071c517b4a40e6978b24a8

18 months agoMerge pull request #5476 from WoltLab/diactoros-3
Tim Düsterhus [Fri, 5 May 2023 08:36:18 +0000 (10:36 +0200)]
Merge pull request #5476 from WoltLab/diactoros-3

Update composer dependencies

18 months agoUpdate composer dependencies
Tim Düsterhus [Fri, 5 May 2023 08:25:49 +0000 (10:25 +0200)]
Update composer dependencies

18 months agoFix WCF.String.formatNumeric()
Tim Düsterhus [Fri, 5 May 2023 07:37:18 +0000 (09:37 +0200)]
Fix WCF.String.formatNumeric()

The previously used phrase is no longer available to the JavaScript. It would
also be inconsistent. Copy the implementation of StringUtil#fornatNumeric

see 3a0d55353fe88c7510d7b973e1436bd430bcff46
Fixes #5471

18 months agoMerge branch '5.5'
Tim Düsterhus [Fri, 5 May 2023 07:18:32 +0000 (09:18 +0200)]
Merge branch '5.5'

18 months agoAdd missing space before ellipsis in wcf.acp.package.search.status.* in en.xml
Tim Düsterhus [Fri, 5 May 2023 07:17:39 +0000 (09:17 +0200)]
Add missing space before ellipsis in wcf.acp.package.search.status.* in en.xml

see https://www.woltlab.com/community/thread/299749-language-wcf-acp-package-search-status-loading/

18 months agoFix titlecasification in wcf.acp.user.security.multifactor
Tim Düsterhus [Fri, 5 May 2023 07:16:35 +0000 (09:16 +0200)]
Fix titlecasification in wcf.acp.user.security.multifactor

see https://www.woltlab.com/community/thread/299745-language-wcf-acp-user-security-multifactor/

18 months agoFix typos in wcf.date.interval.* in en.xml
Tim Düsterhus [Fri, 5 May 2023 07:14:43 +0000 (09:14 +0200)]
Fix typos in wcf.date.interval.* in en.xml

see https://www.woltlab.com/community/thread/299744-language-wcf-date-interval-months-plain/

18 months agoMerge pull request #5475 from WoltLab/application-management-enterprise
Tim Düsterhus [Thu, 4 May 2023 15:00:07 +0000 (17:00 +0200)]
Merge pull request #5475 from WoltLab/application-management-enterprise

Allow managing the landing pages in enterprise mode

18 months agoMerge pull request #5473 from WoltLab/cache-clear
Tim Düsterhus [Thu, 4 May 2023 14:18:18 +0000 (16:18 +0200)]
Merge pull request #5473 from WoltLab/cache-clear

Unify the cache management permissions to `admin.management.canRebuildData`

18 months agoAllow managing the landing pages in enterprise mode
Tim Düsterhus [Thu, 4 May 2023 14:10:23 +0000 (16:10 +0200)]
Allow managing the landing pages in enterprise mode

see #4843

18 months agoRemove permissions for wcf.acp.menu.link.package acpMenu item
Tim Düsterhus [Thu, 4 May 2023 14:07:35 +0000 (16:07 +0200)]
Remove permissions for wcf.acp.menu.link.package acpMenu item

The item will automatically disappear if no child items are visible, because it
acts as a container only.

Previously the `admin.configuration.canManageApplication` permission was
missing and thus the menu item if one may manage applications without also
being allowed to manage packages.

18 months agoUnify the cache management permissions to `admin.management.canRebuildData`
Tim Düsterhus [Thu, 4 May 2023 13:54:02 +0000 (15:54 +0200)]
Unify the cache management permissions to `admin.management.canRebuildData`

Previously CacheListPage and CacheClearAction used differing permissions, which
is not useful at all. Especially since the template didn't check the differing
permissions.

Unify them to “can rebuild data”, because it's the most related one, clearing
the cache effectively rebuilds some data.

18 months agoMerge pull request #5472 from WoltLab/ckeditor-font-styles
Alexander Ebert [Thu, 4 May 2023 10:28:51 +0000 (12:28 +0200)]
Merge pull request #5472 from WoltLab/ckeditor-font-styles

Add support for font styles

18 months agoMerge pull request #5470 from WoltLab/select-form-field
Marcel Werk [Thu, 4 May 2023 10:21:14 +0000 (12:21 +0200)]
Merge pull request #5470 from WoltLab/select-form-field

Add a dedicated form field for plain select fields

18 months agoFix WCF.String.addThousandsSeparator()
Tim Düsterhus [Thu, 4 May 2023 08:46:28 +0000 (10:46 +0200)]
Fix WCF.String.addThousandsSeparator()

The previously used phrase is no longer available to the JavaScript. It would
also be inconsistent. Use `.toLocaleString()`.

Fxies #5471

18 months agoImprove formatting in SelectFormField::validate()
Tim Düsterhus [Thu, 4 May 2023 08:28:12 +0000 (10:28 +0200)]
Improve formatting in SelectFormField::validate()

18 months agoInternally work with `null` in SelectFormField
Tim Düsterhus [Thu, 4 May 2023 08:19:53 +0000 (10:19 +0200)]
Internally work with `null` in SelectFormField

Convert the empty string to `null` immediately when reading the data to allow
custom validators to check for the `null` value instead of the empty string.

18 months agoAdd __selectFormField to syncTemplates.json
Tim Düsterhus [Thu, 4 May 2023 07:41:53 +0000 (09:41 +0200)]
Add __selectFormField to syncTemplates.json

18 months agoFix wcf.user.notification.comment.like.message
Tim Düsterhus [Thu, 4 May 2023 07:17:06 +0000 (09:17 +0200)]
Fix wcf.user.notification.comment.like.message

see https://www.woltlab.com/community/thread/299735-language-wcf-user-notification-comment-like-message/

18 months agoAdd support for font styles
Alexander Ebert [Wed, 3 May 2023 18:34:53 +0000 (20:34 +0200)]
Add support for font styles

See WoltLab/editor#34

18 months agoRemove invalid `name` attribute on `option` tags
Marcel Werk [Wed, 3 May 2023 16:08:24 +0000 (18:08 +0200)]
Remove invalid `name` attribute on `option` tags

18 months agoAdd a dedicated form field for plain select fields
Marcel Werk [Wed, 3 May 2023 16:06:10 +0000 (18:06 +0200)]
Add a dedicated form field for plain select fields

The existing `SingleSelectionFormField` has multiple design flaws that are difficult to solve in a backward compatible way. The main issue with the existing implementation is that it tries to solve too many problems at once, creating an API that is inconsistent and difficult to use / easy to misuse.

This is the first implementation with more to follow that will eventually allow us to phase out the `SingleSelectionFormField`.

Closes #5265
Closes #4789

18 months agoMerge pull request #5469 from WoltLab/reusable-phrase
Tim Düsterhus [Wed, 3 May 2023 15:45:03 +0000 (17:45 +0200)]
Merge pull request #5469 from WoltLab/reusable-phrase

Add reusable phrases

18 months agoAdd wcf.user.group.groupName phrase
Tim Düsterhus [Wed, 3 May 2023 14:34:22 +0000 (16:34 +0200)]
Add wcf.user.group.groupName phrase

see #4899

18 months agoAdd wcf.date.pointInTime phrase
Tim Düsterhus [Wed, 3 May 2023 14:30:33 +0000 (16:30 +0200)]
Add wcf.date.pointInTime phrase

see #4899

18 months agoMerge pull request #5468 from WoltLab/autoload-revert
Tim Düsterhus [Wed, 3 May 2023 14:08:57 +0000 (16:08 +0200)]
Merge pull request #5468 from WoltLab/autoload-revert

Remove `file_exists()` check from production autoloader

18 months agoRemove `file_exists()` check from production autoloader
Tim Düsterhus [Wed, 3 May 2023 13:05:35 +0000 (15:05 +0200)]
Remove `file_exists()` check from production autoloader

Resolves #5002

18 months agoIncrease the default font weight of section and page titles
Alexander Ebert [Wed, 3 May 2023 14:01:02 +0000 (16:01 +0200)]
Increase the default font weight of section and page titles

18 months agoUse new generic share button position
Marcel Werk [Wed, 3 May 2023 12:49:20 +0000 (14:49 +0200)]
Use new generic share button position

18 months agoSuppress the forced alignment of elements on desktop
Alexander Ebert [Wed, 3 May 2023 12:44:47 +0000 (14:44 +0200)]
Suppress the forced alignment of elements on desktop

The change 33420e94314be013a48d6fecb1a8a38c1635e6d1 was targeted at touch devices, but affected desktop environments too.

18 months agoUpdate CKEditor npm dependencies
Tim Düsterhus [Wed, 3 May 2023 12:01:33 +0000 (14:01 +0200)]
Update CKEditor npm dependencies

18 months agoForce a synchronous recalculation of the position
Alexander Ebert [Wed, 3 May 2023 09:33:09 +0000 (11:33 +0200)]
Force a synchronous recalculation of the position

The inconsistent updates add a lot of visual noice when scrolling the page.

18 months agoFix the tooltip position and alignment of the date picker
Alexander Ebert [Wed, 3 May 2023 08:50:29 +0000 (10:50 +0200)]
Fix the tooltip position and alignment of the date picker

Fixes #5214

18 months agoMerge pull request #5465 from WoltLab/migrate-poll-api
Alexander Ebert [Tue, 2 May 2023 13:22:16 +0000 (15:22 +0200)]
Merge pull request #5465 from WoltLab/migrate-poll-api

Use the new poll API in inline editor, integrate with CKEditor 5

18 months agoMerge branch '5.5'
Tim Düsterhus [Tue, 2 May 2023 10:16:28 +0000 (12:16 +0200)]
Merge branch '5.5'

18 months agoAdd missing “Address” for “Email Address” in wcf.user.email in en.xml
Tim Düsterhus [Tue, 2 May 2023 10:15:40 +0000 (12:15 +0200)]
Add missing “Address” for “Email Address” in wcf.user.email in en.xml

Fixes #5466

18 months agoUpdate composer dependencies
Tim Düsterhus [Tue, 2 May 2023 08:54:22 +0000 (10:54 +0200)]
Update composer dependencies

18 months agoMerge pull request #5467 from SoftCreatR/bugfix/language-import-el
Tim Düsterhus [Tue, 2 May 2023 08:08:22 +0000 (10:08 +0200)]
Merge pull request #5467 from SoftCreatR/bugfix/language-import-el

Fix LanguageImportForm

18 months agoFixed LanguageImportForm
Sascha Greuel [Mon, 1 May 2023 18:34:14 +0000 (20:34 +0200)]
Fixed LanguageImportForm

The LanguageImported listener requires an object of type `wcf\data\language\Language`, but receives an object of type `wcf\data\language\LanguageEditor`.

18 months agoFix the poll bar colors in dark mode
Alexander Ebert [Fri, 28 Apr 2023 14:46:21 +0000 (16:46 +0200)]
Fix the poll bar colors in dark mode

Fixes #5432

18 months agoSync the templates for the poll options form field
Alexander Ebert [Fri, 28 Apr 2023 14:32:01 +0000 (16:32 +0200)]
Sync the templates for the poll options form field

18 months agoInject poll data into the editor’s meta data
Alexander Ebert [Fri, 28 Apr 2023 14:03:27 +0000 (16:03 +0200)]
Inject poll data into the editor’s meta data

18 months agoMerge remote-tracking branch 'origin/master'
Tim Düsterhus [Fri, 28 Apr 2023 14:02:57 +0000 (16:02 +0200)]
Merge remote-tracking branch 'origin/master'

18 months agoMerge branch '5.5'
Tim Düsterhus [Fri, 28 Apr 2023 14:02:26 +0000 (16:02 +0200)]
Merge branch '5.5'

18 months agoMerge branch '5.4' into 5.5
Tim Düsterhus [Fri, 28 Apr 2023 14:01:11 +0000 (16:01 +0200)]
Merge branch '5.4' into 5.5

18 months agoUpdate to `actions/upload-artifact@v3` in wcfsetup.yml
Tim Düsterhus [Fri, 28 Apr 2023 14:00:48 +0000 (16:00 +0200)]
Update to `actions/upload-artifact@v3` in wcfsetup.yml

This is required, because node.js 12 actions are deprecated.

18 months agoRemove the legacy poll implementation
Alexander Ebert [Fri, 28 Apr 2023 13:30:09 +0000 (15:30 +0200)]
Remove the legacy poll implementation

18 months agoMigrate the inline poll management to the newer API
Alexander Ebert [Fri, 28 Apr 2023 13:29:33 +0000 (15:29 +0200)]
Migrate the inline poll management to the newer API

18 months agoDiscard the draft before destroying the editor instance
Alexander Ebert [Fri, 28 Apr 2023 13:56:23 +0000 (15:56 +0200)]
Discard the draft before destroying the editor instance

Fixes #5462

18 months agoImplement mention support for user groups
Alexander Ebert [Fri, 28 Apr 2023 12:24:55 +0000 (14:24 +0200)]
Implement mention support for user groups

Fixes #5439

18 months agoRemove an obsolete reference to a previous status code
Alexander Ebert [Thu, 27 Apr 2023 17:21:27 +0000 (19:21 +0200)]
Remove an obsolete reference to a previous status code

Closes #4388

18 months agoForce suppress pointer events for the system notification overlay
Alexander Ebert [Thu, 27 Apr 2023 16:33:38 +0000 (18:33 +0200)]
Force suppress pointer events for the system notification overlay

Fixes #5442

18 months agoGracefully handle a missing CKEditor instance
Alexander Ebert [Thu, 27 Apr 2023 16:29:09 +0000 (18:29 +0200)]
Gracefully handle a missing CKEditor instance

Fixes #5441

18 months agoCustom icon for search result items (#5461)
Marcel Werk [Thu, 27 Apr 2023 16:06:18 +0000 (18:06 +0200)]
Custom icon for search result items (#5461)

Closes #5109

18 months agoUpdate the CKEditor bundle
Alexander Ebert [Thu, 27 Apr 2023 16:05:46 +0000 (18:05 +0200)]
Update the CKEditor bundle

18 months agoAdd the phrase for the spoiler button
Alexander Ebert [Thu, 27 Apr 2023 15:15:04 +0000 (17:15 +0200)]
Add the phrase for the spoiler button

See WoltLab/editor#35

18 months agoMerge branch 'master' of https://github.com/WoltLab/WCF
Marcel Werk [Thu, 27 Apr 2023 15:03:45 +0000 (17:03 +0200)]
Merge branch 'master' of https://github.com/WoltLab/WCF

18 months agoAdd missing PHPDoc
Marcel Werk [Thu, 27 Apr 2023 15:03:43 +0000 (17:03 +0200)]
Add missing PHPDoc

18 months agoMerge pull request #5460 from WoltLab/input-type-url
Marcel Werk [Thu, 27 Apr 2023 14:22:14 +0000 (16:22 +0200)]
Merge pull request #5460 from WoltLab/input-type-url

Change URL form field to `input type="url"`

18 months agoUnify the output format of `|date` and `|plainTime` with `{time}`
Tim Düsterhus [Thu, 27 Apr 2023 14:21:17 +0000 (16:21 +0200)]
Unify the output format of `|date` and `|plainTime` with `{time}`

see dbdc39a240f6e2e09550bab547e38d7aadba573a

18 months agoFix deprecation note for `|date` and `|plainTime` modifiers
Tim Düsterhus [Thu, 27 Apr 2023 14:17:34 +0000 (16:17 +0200)]
Fix deprecation note for `|date` and `|plainTime` modifiers

see dbdc39a240f6e2e09550bab547e38d7aadba573a

18 months agoFix missing caching of article in notifications about comment responses
Marcel Werk [Thu, 27 Apr 2023 14:08:39 +0000 (16:08 +0200)]
Fix missing caching of article in notifications about comment responses

18 months agoMove generic cache preparing to `AbstractCommentResponseUserNotificationEvent`
Marcel Werk [Thu, 27 Apr 2023 14:06:50 +0000 (16:06 +0200)]
Move generic cache preparing to `AbstractCommentResponseUserNotificationEvent`

18 months agoFix event hash for notifications about comment responses
Marcel Werk [Thu, 27 Apr 2023 14:05:53 +0000 (16:05 +0200)]
Fix event hash for notifications about comment responses

18 months agoEnable inputmode for URL form fields by default
Marcel Werk [Thu, 27 Apr 2023 11:33:21 +0000 (13:33 +0200)]
Enable inputmode for URL form fields by default

18 months agoChange URL form field to `input type="url"`
Marcel Werk [Thu, 27 Apr 2023 11:32:10 +0000 (13:32 +0200)]
Change URL form field to `input type="url"`

Closes #5266

18 months agoRemove obsolete code
Marcel Werk [Thu, 27 Apr 2023 13:58:04 +0000 (15:58 +0200)]
Remove obsolete code

The same event hash is already generated in `AbstractUserNotificationEvent`.

18 months agoFix inconsistency of the English version of `wcf.acp.option.url_omit_index_php.descri...
Marcel Werk [Thu, 27 Apr 2023 13:25:28 +0000 (15:25 +0200)]
Fix inconsistency of the English version of `wcf.acp.option.url_omit_index_php.description`

Closes #5227

18 months agoMerge pull request #5454 from WoltLab/abstract-comment-user-notification-event
Marcel Werk [Thu, 27 Apr 2023 11:39:05 +0000 (13:39 +0200)]
Merge pull request #5454 from WoltLab/abstract-comment-user-notification-event

Add default implementation for user notifications about comments

18 months agoApply suggestions from code review
Marcel Werk [Thu, 27 Apr 2023 11:38:30 +0000 (13:38 +0200)]
Apply suggestions from code review

18 months agoPrevent iOS from zooming when focusing the editor
Alexander Ebert [Thu, 27 Apr 2023 11:29:26 +0000 (13:29 +0200)]
Prevent iOS from zooming when focusing the editor

Fixes WoltLab/editor#39

18 months agoMerge pull request #5459 from WoltLab/time-template-function
Marcel Werk [Thu, 27 Apr 2023 11:20:03 +0000 (13:20 +0200)]
Merge pull request #5459 from WoltLab/time-template-function

Replace |time modifier by {time} function

18 months agoImprove API for `{time}`
Tim Düsterhus [Thu, 27 Apr 2023 10:47:08 +0000 (12:47 +0200)]
Improve API for `{time}`

18 months agoSynchronize the `wysiwyg` template
Alexander Ebert [Wed, 26 Apr 2023 17:44:28 +0000 (19:44 +0200)]
Synchronize the `wysiwyg` template

18 months agoExport custom bbcode icons as image src
Alexander Ebert [Wed, 26 Apr 2023 17:43:01 +0000 (19:43 +0200)]
Export custom bbcode icons as image src

See #5182

18 months agoAllow custom images as the icon for the bbcode button
Alexander Ebert [Wed, 26 Apr 2023 17:29:19 +0000 (19:29 +0200)]
Allow custom images as the icon for the bbcode button

See #5182

18 months agoMark time modifier functions as deprecated
Marcel Werk [Wed, 26 Apr 2023 16:21:26 +0000 (18:21 +0200)]
Mark time modifier functions as deprecated

18 months agoReplace |time modifier by {time} function
Marcel Werk [Wed, 26 Apr 2023 16:21:11 +0000 (18:21 +0200)]
Replace |time modifier by {time} function

Closes #5277

18 months agoFix documentation of the icon template plugin
Marcel Werk [Wed, 26 Apr 2023 16:06:42 +0000 (18:06 +0200)]
Fix documentation of the icon template plugin

It's not a compiler plugin.