GitHub/WoltLab/WCF.git
5 hours agoAdd the missing `hasFile()` method to `GenerateThumbnail` 61-offload-thumbnail-generation
Alexander Ebert [Sun, 15 Dec 2024 12:49:35 +0000 (13:49 +0100)]
Add the missing `hasFile()` method to `GenerateThumbnail`

6 hours agoModify the API of the events to handle competing listeners
Alexander Ebert [Sun, 15 Dec 2024 12:34:56 +0000 (13:34 +0100)]
Modify the API of the events to handle competing listeners

The generated pathname can now only be set once and all further attempts are rejected. Listeners are expected to test this with `hasFile()` prior to taking any action.

6 hours agoAdd events to delegate the WebP/thumbnail generation
Alexander Ebert [Sun, 15 Dec 2024 12:06:41 +0000 (13:06 +0100)]
Add events to delegate the WebP/thumbnail generation

This allows to bypass the image adapter when generating the WebP variant and the thumbnails.

2 days agoMake selection of the period in the statistics more flexible 6.1
Marcel Werk [Fri, 13 Dec 2024 11:36:27 +0000 (12:36 +0100)]
Make selection of the period in the statistics more flexible

3 days agoFix the handling of incorrectly nested BBCodes
Alexander Ebert [Thu, 12 Dec 2024 17:01:05 +0000 (18:01 +0100)]
Fix the handling of incorrectly nested BBCodes

See https://www.woltlab.com/community/thread/310145/

3 days agoMove the logic to implicitly allow WebP images
Alexander Ebert [Thu, 12 Dec 2024 12:36:48 +0000 (13:36 +0100)]
Move the logic to implicitly allow WebP images

4 days agoFix the storing of repeated embedded objects
Alexander Ebert [Wed, 11 Dec 2024 17:17:19 +0000 (18:17 +0100)]
Fix the storing of repeated embedded objects

Embedding the same object multiple times yielded the value more than once, causing the unique key for the embedded objects to fail.

See https://www.woltlab.com/community/thread/310041/

4 days agoAdd a missing bulk commit for embedded objects
Alexander Ebert [Wed, 11 Dec 2024 17:11:12 +0000 (18:11 +0100)]
Add a missing bulk commit for embedded objects

4 days agoReject the popover for elements without an object id
Alexander Ebert [Wed, 11 Dec 2024 16:30:29 +0000 (17:30 +0100)]
Reject the popover for elements without an object id

There are still a few remnants of the legacy API that was deprecated in 5.3 and use `data-user-id` instead of the unified `data-object-id` property.

See https://www.woltlab.com/community/thread/310115-fehlermeldung/https://www.woltlab.com/community/thread/310137/

4 days agoForce disable certain cronjobs in enterprise mode
Alexander Ebert [Wed, 11 Dec 2024 15:09:22 +0000 (16:09 +0100)]
Force disable certain cronjobs in enterprise mode

These cronjobs are already handled in a different fashion and keeping them running causes conflicts.

4 days agoFix the detection of source BBCodes
Alexander Ebert [Wed, 11 Dec 2024 13:53:47 +0000 (14:53 +0100)]
Fix the detection of source BBCodes

4 days agoMark the email BBCode as source code
Alexander Ebert [Wed, 11 Dec 2024 13:53:35 +0000 (14:53 +0100)]
Mark the email BBCode as source code

6 days agoIncrease height of filterable item lists
Marcel Werk [Mon, 9 Dec 2024 13:11:46 +0000 (14:11 +0100)]
Increase height of filterable item lists

ref https://www.woltlab.com/community/thread/310064-auswahl-individuelle-foren-icons-zu-klein/

6 days agoAdd `GoogleOther` bot
Marcel Werk [Mon, 9 Dec 2024 12:59:28 +0000 (13:59 +0100)]
Add `GoogleOther` bot

6 days agoAlso allows numbers in smiley code
Cyperghost [Mon, 9 Dec 2024 12:09:49 +0000 (13:09 +0100)]
Also allows numbers in smiley code

See https://www.woltlab.com/community/thread/310038-smileyerkennung-scheint-nicht-zu-richtig-zu-funktionieren/

9 days agoFixes the problem that the end node is inserted before the content
Cyperghost [Fri, 6 Dec 2024 14:16:41 +0000 (15:16 +0100)]
Fixes the problem that the end node is inserted before the content

9 days agoRelease 6.1.2 6.1.2
Alexander Ebert [Fri, 6 Dec 2024 12:15:05 +0000 (13:15 +0100)]
Release 6.1.2

9 days agoMerge branch '6.0' into 6.1
Alexander Ebert [Fri, 6 Dec 2024 12:05:26 +0000 (13:05 +0100)]
Merge branch '6.0' into 6.1

9 days agoRelease 6.0.20 6.0 6.0.20
Alexander Ebert [Fri, 6 Dec 2024 11:59:07 +0000 (12:59 +0100)]
Release 6.0.20

9 days agoUpdating minified JavaScript files
WoltLab [Fri, 6 Dec 2024 11:55:16 +0000 (11:55 +0000)]
Updating minified JavaScript files

10 days agoRemove obsolete `loading="lazy"` attribute
Marcel Werk [Thu, 5 Dec 2024 12:33:12 +0000 (13:33 +0100)]
Remove obsolete `loading="lazy"` attribute

11 days agoRelease 6.1.2 dev 1 6.1.2_dev_1
Alexander Ebert [Wed, 4 Dec 2024 15:08:20 +0000 (16:08 +0100)]
Release 6.1.2 dev 1

11 days agoUpdating minified JavaScript files
WoltLab [Wed, 4 Dec 2024 14:58:38 +0000 (14:58 +0000)]
Updating minified JavaScript files

11 days agoRebuild the pre-upgrade file archive
Alexander Ebert [Wed, 4 Dec 2024 14:56:12 +0000 (15:56 +0100)]
Rebuild the pre-upgrade file archive

11 days agoAdd the check for gmp or bcmath to the SystemCheck
Alexander Ebert [Wed, 4 Dec 2024 14:54:42 +0000 (15:54 +0100)]
Add the check for gmp or bcmath to the SystemCheck

11 days agoAdd a safeguard for excessively large images
Alexander Ebert [Wed, 4 Dec 2024 13:02:31 +0000 (14:02 +0100)]
Add a safeguard for excessively large images

See https://www.woltlab.com/community/thread/309951/

12 days agoAttachments always provide an integer for height/width
Alexander Ebert [Tue, 3 Dec 2024 15:41:32 +0000 (16:41 +0100)]
Attachments always provide an integer for height/width

See https://www.woltlab.com/community/thread/309949/

12 days agoAdd proper error handling for damaged images
Alexander Ebert [Tue, 3 Dec 2024 15:14:14 +0000 (16:14 +0100)]
Add proper error handling for damaged images

13 days agoMerge branch '6.0' into 6.1
Alexander Ebert [Mon, 2 Dec 2024 16:53:49 +0000 (17:53 +0100)]
Merge branch '6.0' into 6.1

13 days agoDo not scroll the editor into view when fixing the cursor
Alexander Ebert [Mon, 2 Dec 2024 16:53:21 +0000 (17:53 +0100)]
Do not scroll the editor into view when fixing the cursor

Fixes #6046

13 days agoMerge branch '6.0' into 6.1
Alexander Ebert [Mon, 2 Dec 2024 13:09:35 +0000 (14:09 +0100)]
Merge branch '6.0' into 6.1

13 days agoBump the minimum require WCF version
Alexander Ebert [Mon, 2 Dec 2024 13:07:06 +0000 (14:07 +0100)]
Bump the minimum require WCF version

Closes #4481

13 days agoIgnore errors trying to save the WebP thumbnail
Alexander Ebert [Mon, 2 Dec 2024 12:58:57 +0000 (13:58 +0100)]
Ignore errors trying to save the WebP thumbnail

Fixes #6121

13 days ago`CaptchaFormField` field did not check whether the given captcha type is available
Marcel Werk [Mon, 2 Dec 2024 11:41:25 +0000 (12:41 +0100)]
`CaptchaFormField` field did not check whether the given captcha type is available

ref https://www.woltlab.com/community/thread/309908-passwort-vergessen-funktioniert-nicht/

2 weeks agoImplicitly allow WebP images when autoscaling is enabled
Alexander Ebert [Fri, 29 Nov 2024 12:58:49 +0000 (13:58 +0100)]
Implicitly allow WebP images when autoscaling is enabled

See https://www.woltlab.com/community/thread/309877-wotlab-6-1-kann-mit-chrome-mobile-keine-bilder-anh%C3%A4ngen/

2 weeks agoAdd method to get the pathname of a thumbnail
Marcel Werk [Wed, 27 Nov 2024 12:44:01 +0000 (13:44 +0100)]
Add method to get the pathname of a thumbnail

2 weeks agoMerge branch '6.0' into 6.1
Alexander Ebert [Tue, 26 Nov 2024 16:36:37 +0000 (17:36 +0100)]
Merge branch '6.0' into 6.1

2 weeks agoUpdate the CKEditor stylesheet
Alexander Ebert [Tue, 26 Nov 2024 16:35:24 +0000 (17:35 +0100)]
Update the CKEditor stylesheet

2 weeks agoMerge branch '6.0' into 6.1
Marcel Werk [Tue, 26 Nov 2024 16:06:10 +0000 (17:06 +0100)]
Merge branch '6.0' into 6.1

2 weeks agoFix missing scrolling when editing comments / replies
Marcel Werk [Tue, 26 Nov 2024 16:05:52 +0000 (17:05 +0100)]
Fix missing scrolling when editing comments / replies

2 weeks agoFix double scrolling when replying to a comment
Marcel Werk [Tue, 26 Nov 2024 16:05:31 +0000 (17:05 +0100)]
Fix double scrolling when replying to a comment

Closes #5991

2 weeks agoAdd option to focus the editor without scrolling
Marcel Werk [Tue, 26 Nov 2024 16:04:04 +0000 (17:04 +0100)]
Add option to focus the editor without scrolling

2 weeks agoMerge branch '6.0' into 6.1
Marcel Werk [Tue, 26 Nov 2024 14:58:14 +0000 (15:58 +0100)]
Merge branch '6.0' into 6.1

2 weeks agoRemove request id from the output of a exception
Marcel Werk [Tue, 26 Nov 2024 14:58:00 +0000 (15:58 +0100)]
Remove request id from the output of a exception

Closes #5999

2 weeks agoPrevents an underlying dialog from being closed when the file selection dialog is...
Olaf Braun [Tue, 26 Nov 2024 14:12:29 +0000 (15:12 +0100)]
Prevents an underlying dialog from being closed when the file selection dialog is canceled by the user

2 weeks agoFix the reCAPTCHA widget on some mobile browsers
Alexander Ebert [Mon, 25 Nov 2024 20:04:26 +0000 (21:04 +0100)]
Fix the reCAPTCHA widget on some mobile browsers

See https://www.woltlab.com/community/thread/309522-gastkommentar-absenden-nicht-m%C3%B6glich/

2 weeks agoClean up the legacy attachment thumbnails on migration
Alexander Ebert [Mon, 25 Nov 2024 15:07:42 +0000 (16:07 +0100)]
Clean up the legacy attachment thumbnails on migration

2 weeks agoChecks whether `gmp` or `bcmath` is available
Cyperghost [Mon, 25 Nov 2024 10:36:14 +0000 (11:36 +0100)]
Checks whether `gmp` or `bcmath` is available

2 weeks agoMerge remote-tracking branch 'origin/6.0' into 6.1
Cyperghost [Mon, 25 Nov 2024 10:25:03 +0000 (11:25 +0100)]
Merge remote-tracking branch 'origin/6.0' into 6.1

2 weeks agoChecks whether `gmp` or `bcmath` is available
Cyperghost [Mon, 25 Nov 2024 10:23:26 +0000 (11:23 +0100)]
Checks whether `gmp` or `bcmath` is available

3 weeks agoUpdate the composer dependencies
Alexander Ebert [Sat, 23 Nov 2024 19:35:27 +0000 (20:35 +0100)]
Update the composer dependencies

3 weeks agoRelease 6.1.1 6.1.1
Alexander Ebert [Sat, 23 Nov 2024 17:44:57 +0000 (18:44 +0100)]
Release 6.1.1

3 weeks agoUpdating minified JavaScript files
WoltLab [Sat, 23 Nov 2024 17:22:12 +0000 (17:22 +0000)]
Updating minified JavaScript files

3 weeks agoMerge branch '6.0' into 6.1
Alexander Ebert [Sat, 23 Nov 2024 17:19:51 +0000 (18:19 +0100)]
Merge branch '6.0' into 6.1

3 weeks agoRelease 6.0.19 6.0.19
Alexander Ebert [Sat, 23 Nov 2024 17:15:07 +0000 (18:15 +0100)]
Release 6.0.19

3 weeks agoEnable the upgrade notice permanently
Alexander Ebert [Sat, 23 Nov 2024 17:14:20 +0000 (18:14 +0100)]
Enable the upgrade notice permanently

3 weeks agoUpdating minified JavaScript files
WoltLab [Sat, 23 Nov 2024 17:10:33 +0000 (17:10 +0000)]
Updating minified JavaScript files

3 weeks agoMerge branch '5.5' into 6.0
Alexander Ebert [Sat, 23 Nov 2024 17:08:01 +0000 (18:08 +0100)]
Merge branch '5.5' into 6.0

3 weeks agoRelease 5.5.24 5.5 5.5.24
Alexander Ebert [Sat, 23 Nov 2024 17:05:44 +0000 (18:05 +0100)]
Release 5.5.24

3 weeks agoUpdating minified JavaScript files
WoltLab [Sat, 23 Nov 2024 17:04:45 +0000 (17:04 +0000)]
Updating minified JavaScript files

3 weeks agoUpgrade to `actions/setup-node@v4`
Alexander Ebert [Fri, 22 Nov 2024 14:17:41 +0000 (15:17 +0100)]
Upgrade to `actions/setup-node@v4`

3 weeks agoAdd 6.2 to the d.ts generator
Alexander Ebert [Fri, 22 Nov 2024 14:12:15 +0000 (15:12 +0100)]
Add 6.2 to the d.ts generator

3 weeks agoMerge branch '6.0' into 6.1
Alexander Ebert [Thu, 21 Nov 2024 11:03:10 +0000 (12:03 +0100)]
Merge branch '6.0' into 6.1

3 weeks agoFix the position of immovable menus on scroll
Alexander Ebert [Thu, 21 Nov 2024 10:52:12 +0000 (11:52 +0100)]
Fix the position of immovable menus on scroll

See https://www.woltlab.com/community/thread/308886-dropdownignorepagescroll-bei-uisearchinput-l%C3%A4sst-dropdown-mit-ergebnissen-mitscr/

3 weeks agoRelease 6.1.1 dev 1 6.1.1_dev_1
Alexander Ebert [Wed, 20 Nov 2024 14:59:44 +0000 (15:59 +0100)]
Release 6.1.1 dev 1

3 weeks agoUpdating minified JavaScript files
WoltLab [Wed, 20 Nov 2024 14:41:28 +0000 (14:41 +0000)]
Updating minified JavaScript files

3 weeks agoUpdate the CKEditor stylesheet
Alexander Ebert [Wed, 20 Nov 2024 14:39:55 +0000 (15:39 +0100)]
Update the CKEditor stylesheet

3 weeks agoHide the quote/reaction overlay on window resize
Alexander Ebert [Wed, 20 Nov 2024 14:29:29 +0000 (15:29 +0100)]
Hide the quote/reaction overlay on window resize

See https://www.woltlab.com/community/thread/309553-%C3%A4nderung-der-fenstergr%C3%B6%C3%9Fe-zitate-reaktionen/

3 weeks agoMerge branch '6.0' into 6.1
Alexander Ebert [Wed, 20 Nov 2024 14:14:05 +0000 (15:14 +0100)]
Merge branch '6.0' into 6.1

3 weeks agoFix the return type declaration
Alexander Ebert [Wed, 20 Nov 2024 14:13:47 +0000 (15:13 +0100)]
Fix the return type declaration

See https://www.woltlab.com/community/thread/309479-falscher-phpdocs-kommentar-im-ilookuppagehandler/

3 weeks agoFix the minimum width of the datepicker on mobile
Alexander Ebert [Wed, 20 Nov 2024 13:58:21 +0000 (14:58 +0100)]
Fix the minimum width of the datepicker on mobile

See https://www.woltlab.com/community/thread/309584-poll-settings-bug/

3 weeks agoFix the forced processing of uploaded files
Alexander Ebert [Tue, 19 Nov 2024 17:04:16 +0000 (18:04 +0100)]
Fix the forced processing of uploaded files

3 weeks agoMerge pull request #6068 from WoltLab/6.1-file-processor-delete
Olaf Braun [Mon, 18 Nov 2024 14:51:20 +0000 (15:51 +0100)]
Merge pull request #6068 from WoltLab/6.1-file-processor-delete

Display an error message if the file cannot be deleted

3 weeks agoApply suggestions from code review
Olaf Braun [Mon, 18 Nov 2024 14:49:32 +0000 (15:49 +0100)]
Apply suggestions from code review

Co-authored-by: Alexander Ebert <ebert@woltlab.com>
4 weeks agoReturn a sane list of defaults if the selected highlighters are empty
Alexander Ebert [Thu, 14 Nov 2024 11:21:02 +0000 (12:21 +0100)]
Return a sane list of defaults if the selected highlighters are empty

In previous versions it was possible that the selection got lost, eventually breaking the implementation.

4 weeks agoAdd the typings for `<woltlab-core-notice>`
Alexander Ebert [Thu, 14 Nov 2024 09:42:15 +0000 (10:42 +0100)]
Add the typings for `<woltlab-core-notice>`

Fixes #6067

4 weeks agoForce the attachment tab to be open when uploading files by dropping
Alexander Ebert [Wed, 13 Nov 2024 16:08:18 +0000 (17:08 +0100)]
Force the attachment tab to be open when uploading files by dropping

Fixes #6034
Regression of #5988

4 weeks agoSuppress focus markers if `:focus-visible` is not met
Alexander Ebert [Wed, 13 Nov 2024 16:00:56 +0000 (17:00 +0100)]
Suppress focus markers if `:focus-visible` is not met

See https://www.woltlab.com/community/thread/309471-mobile-device-dropdown-menu-hover/

4 weeks agoPrevent an extra `</script>` to be added at the end of the document
Alexander Ebert [Wed, 13 Nov 2024 12:31:30 +0000 (13:31 +0100)]
Prevent an extra `</script>` to be added at the end of the document

See https://www.woltlab.com/community/thread/309609-%C3%A4nderung-der-script-relocation-im-output-buffer-erzeugt-zus%C3%A4tzlichen-script-tag/

4 weeks agoAlways report browser support for WebP
Alexander Ebert [Wed, 13 Nov 2024 12:22:10 +0000 (13:22 +0100)]
Always report browser support for WebP

See https://www.woltlab.com/community/thread/309622-keine-auslieferung-von-webp-grafiken-mehr-an-firefox-nutzer/

4 weeks agoNested nodes may already be removed during this process
Alexander Ebert [Wed, 13 Nov 2024 12:09:38 +0000 (13:09 +0100)]
Nested nodes may already be removed during this process

4 weeks agoUpdate the NPM dependencies
Alexander Ebert [Wed, 13 Nov 2024 12:08:44 +0000 (13:08 +0100)]
Update the NPM dependencies

4 weeks agoUpgrade to CKEditor v43.3.1
Alexander Ebert [Wed, 13 Nov 2024 12:06:41 +0000 (13:06 +0100)]
Upgrade to CKEditor v43.3.1

4 weeks agoMerge branch '6.0' into 6.1
Alexander Ebert [Wed, 13 Nov 2024 12:05:12 +0000 (13:05 +0100)]
Merge branch '6.0' into 6.1

4 weeks agoUpdate the `focus-trap` lib
Alexander Ebert [Wed, 13 Nov 2024 11:59:19 +0000 (12:59 +0100)]
Update the `focus-trap` lib

4 weeks ago`EditorConfig.woltlabMedia` is removed
Cyperghost [Wed, 13 Nov 2024 10:23:22 +0000 (11:23 +0100)]
`EditorConfig.woltlabMedia` is removed

See https://github.com/WoltLab/editor/commit/c6979f3e4b5631d8a327de25b2f2b135cdc5490f
See https://github.com/WoltLab/WCF/commit/76e819bb8146f9149f86e530a3b54aeff395d979

4 weeks agoDisplay an error message if the file cannot be deleted
Cyperghost [Wed, 13 Nov 2024 10:13:01 +0000 (11:13 +0100)]
Display an error message if the file cannot be deleted

4 weeks agoUpgrade to CKEditor v43.3.1 / NPM Dependencies
Alexander Ebert [Wed, 13 Nov 2024 09:13:11 +0000 (10:13 +0100)]
Upgrade to CKEditor v43.3.1 / NPM Dependencies

4 weeks agoRemove composer require package `web-token/jwt-library` which is already delivered...
Cyperghost [Wed, 13 Nov 2024 08:37:48 +0000 (09:37 +0100)]
Remove composer require package `web-token/jwt-library` which is already delivered by `minishlink/web-push` in the correct version

4 weeks agoMerge pull request #6045 from WoltLab/bugfix/image-metacode-upcast
Olaf Braun [Mon, 11 Nov 2024 13:57:53 +0000 (14:57 +0100)]
Merge pull request #6045 from WoltLab/bugfix/image-metacode-upcast

Rename `ImageMetacodeUpcast` to `AbstractImageMetacodeUpcast`

4 weeks agoFix icon size in mobile search results
Marcel Werk [Mon, 11 Nov 2024 11:27:56 +0000 (12:27 +0100)]
Fix icon size in mobile search results

ref https://www.woltlab.com/community/thread/309509-search-results-pages/

5 weeks agoAdd the file after the upload button, as it is in the template
Cyperghost [Fri, 8 Nov 2024 12:07:36 +0000 (13:07 +0100)]
Add the file after the upload button, as it is in the template

5 weeks agoFix issue when deleting comments
Marcel Werk [Thu, 7 Nov 2024 11:09:00 +0000 (12:09 +0100)]
Fix issue when deleting comments

5 weeks agoMerge pull request #6048 from WoltLab/bugfix/import-cach-reset
Marcel Werk [Wed, 6 Nov 2024 14:53:18 +0000 (15:53 +0100)]
Merge pull request #6048 from WoltLab/bugfix/import-cach-reset

Fix cache reset after data import

5 weeks agoFix cache reset after data import
Marcel Werk [Wed, 6 Nov 2024 14:05:05 +0000 (15:05 +0100)]
Fix cache reset after data import

ref https://www.woltlab.com/community/thread/309331-error-message-during-import-process-wcf-ajax-error-sessionexpired/

5 weeks agoMerge branch '6.0' into 6.1
Alexander Ebert [Wed, 6 Nov 2024 14:43:36 +0000 (15:43 +0100)]
Merge branch '6.0' into 6.1

5 weeks agoRemove an obsolete workflow
Alexander Ebert [Wed, 6 Nov 2024 14:43:29 +0000 (15:43 +0100)]
Remove an obsolete workflow

5 weeks agoUpdate the tslib dependency
Alexander Ebert [Wed, 6 Nov 2024 14:36:54 +0000 (15:36 +0100)]
Update the tslib dependency

5 weeks agoFixes the problem that the `objectID` was not set when the form was submitted.
Cyperghost [Wed, 6 Nov 2024 10:05:36 +0000 (11:05 +0100)]
Fixes the problem that the `objectID` was not set when the form was submitted.

5 weeks agoUnify phrases
Marcel Werk [Tue, 5 Nov 2024 12:33:56 +0000 (13:33 +0100)]
Unify phrases