GitHub/WoltLab/WCF.git
4 weeks agoUse a regular button for the upload field
Alexander Ebert [Mon, 19 Aug 2024 12:39:08 +0000 (14:39 +0200)]
Use a regular button for the upload field

See https://www.woltlab.com/community/thread/307698-styling-the-attach-files-button/

4 weeks agoMerge pull request #5978 from WoltLab/content-not-visible-view
Marcel Werk [Mon, 19 Aug 2024 12:05:15 +0000 (14:05 +0200)]
Merge pull request #5978 from WoltLab/content-not-visible-view

Use view to render 'content not visible' block

4 weeks agoRemove usage of deprecated code
Marcel Werk [Mon, 19 Aug 2024 12:04:44 +0000 (14:04 +0200)]
Remove usage of deprecated code

4 weeks agoUse view to render 'content not visible' block
Marcel Werk [Mon, 19 Aug 2024 11:36:04 +0000 (13:36 +0200)]
Use view to render 'content not visible' block

4 weeks agoMerge pull request #5977 from WoltLab/bugfix/wysiwygAttachmentFormField-tmpHash
Olaf Braun [Mon, 19 Aug 2024 08:53:52 +0000 (10:53 +0200)]
Merge pull request #5977 from WoltLab/bugfix/wysiwygAttachmentFormField-tmpHash

Transfer the tmp hashes for the attachment handler when submitting

4 weeks agoTransfer the tmp hashes for the attachment handler when submitting
Cyperghost [Mon, 19 Aug 2024 08:45:13 +0000 (10:45 +0200)]
Transfer the tmp hashes for the attachment handler when submitting

4 weeks agoMerge branch '6.0'
Alexander Ebert [Fri, 16 Aug 2024 11:30:33 +0000 (13:30 +0200)]
Merge branch '6.0'

4 weeks agoAdd a missing phrase
Alexander Ebert [Fri, 16 Aug 2024 11:30:28 +0000 (13:30 +0200)]
Add a missing phrase

4 weeks agoUnify icon appearance in user cards
Marcel Werk [Fri, 16 Aug 2024 09:29:50 +0000 (11:29 +0200)]
Unify icon appearance in user cards

ref https://www.woltlab.com/community/thread/307714-bad-icon-members-list/

4 weeks agoSkip already queued worker notifications for stacked notifications
Alexander Ebert [Thu, 15 Aug 2024 14:52:54 +0000 (16:52 +0200)]
Skip already queued worker notifications for stacked notifications

See https://www.woltlab.com/community/thread/307700-fehlermeldung-beim-absenden-eines-beitrags-doppelposting/

4 weeks agoFix the tracking of attachment downloads
Alexander Ebert [Thu, 15 Aug 2024 11:25:09 +0000 (13:25 +0200)]
Fix the tracking of attachment downloads

4 weeks agoFix the `tmpHash` being set for files with an object id
Alexander Ebert [Thu, 15 Aug 2024 11:21:30 +0000 (13:21 +0200)]
Fix the `tmpHash` being set for files with an object id

4 weeks agoFix the handling of multiple images
Alexander Ebert [Thu, 15 Aug 2024 11:03:48 +0000 (13:03 +0200)]
Fix the handling of multiple images

`getElementsByTagName()` is a live collection, removing items mutates the underlying data structure hence the iterator will no longer work as expected.

4 weeks agoFix the handling of users that do not exist anymore
Alexander Ebert [Thu, 15 Aug 2024 10:00:58 +0000 (12:00 +0200)]
Fix the handling of users that do not exist anymore

4 weeks agoMerge pull request #5975 from WoltLab/replace-img-with-alt
Olaf Braun [Thu, 15 Aug 2024 09:01:29 +0000 (11:01 +0200)]
Merge pull request #5975 from WoltLab/replace-img-with-alt

Replace img-element with his alt value

4 weeks agoReplaces img-element in the message with the alt attribute value
Cyperghost [Thu, 15 Aug 2024 08:15:40 +0000 (10:15 +0200)]
Replaces img-element in the message with the alt attribute value

5 weeks agoFix the redirect for legacy attachment links
Alexander Ebert [Wed, 14 Aug 2024 15:09:08 +0000 (17:09 +0200)]
Fix the redirect for legacy attachment links

5 weeks agoUpdating minified JavaScript files
WoltLab [Wed, 14 Aug 2024 14:59:12 +0000 (14:59 +0000)]
Updating minified JavaScript files

5 weeks agoAdd the missing tmp hash to messages
Alexander Ebert [Wed, 14 Aug 2024 14:57:34 +0000 (16:57 +0200)]
Add the missing tmp hash to messages

5 weeks agoImprove handling of response headers
Marcel Werk [Wed, 14 Aug 2024 14:41:05 +0000 (16:41 +0200)]
Improve handling of response headers

See https://github.com/WoltLab/WCF/pull/5973#discussion_r1716872194

5 weeks agoThe timestamp must be specified in milliseconds not in seconds
Olaf Braun [Wed, 14 Aug 2024 14:14:17 +0000 (16:14 +0200)]
The timestamp must be specified in milliseconds not in seconds

5 weeks agoFix the rendering of popovers
Alexander Ebert [Wed, 14 Aug 2024 13:49:13 +0000 (15:49 +0200)]
Fix the rendering of popovers

Removed a double border and added the missing z-index.

See https://www.woltlab.com/community/thread/307672-6-1-user-popover/

5 weeks agoFix the test for missing thumbnails
Alexander Ebert [Wed, 14 Aug 2024 13:13:06 +0000 (15:13 +0200)]
Fix the test for missing thumbnails

5 weeks agoRelease 6.1.0 Alpha 1 6.1.0_Alpha_1
Alexander Ebert [Wed, 14 Aug 2024 11:58:37 +0000 (13:58 +0200)]
Release 6.1.0 Alpha 1

5 weeks agoMerge pull request #5973 from WoltLab/stop-using-http-request2
Marcel Werk [Mon, 12 Aug 2024 12:15:28 +0000 (14:15 +0200)]
Merge pull request #5973 from WoltLab/stop-using-http-request2

Stop using HTTPRequest for package update server requests

5 weeks agoAdd workaround for undefined language when sending emails
Marcel Werk [Mon, 12 Aug 2024 09:03:43 +0000 (11:03 +0200)]
Add workaround for undefined language when sending emails

The language id is saved in serialized form in the background queue. If the language was deleted between the creation of the queue entry and the processing, this resulted in an error.

5 weeks agoStop using HTTPRequest for package update server requests
Marcel Werk [Fri, 9 Aug 2024 12:44:31 +0000 (14:44 +0200)]
Stop using HTTPRequest for package update server requests

6 weeks agoUpgrade to CKEditor v43.0.0
Alexander Ebert [Wed, 7 Aug 2024 12:54:41 +0000 (14:54 +0200)]
Upgrade to CKEditor v43.0.0

6 weeks agoUpdate the composer dependencies
Alexander Ebert [Wed, 7 Aug 2024 12:37:09 +0000 (14:37 +0200)]
Update the composer dependencies

6 weeks agoMerge branch '6.0'
Alexander Ebert [Wed, 7 Aug 2024 12:36:21 +0000 (14:36 +0200)]
Merge branch '6.0'

6 weeks agoUpgrade the composer dependencies
Alexander Ebert [Wed, 7 Aug 2024 12:36:00 +0000 (14:36 +0200)]
Upgrade the composer dependencies

6 weeks agoFix the list of allowed file extensions when containing dots
Alexander Ebert [Wed, 7 Aug 2024 11:39:52 +0000 (13:39 +0200)]
Fix the list of allowed file extensions when containing dots

6 weeks agoSlightly improve the visuals of the user card
Alexander Ebert [Wed, 7 Aug 2024 09:30:33 +0000 (11:30 +0200)]
Slightly improve the visuals of the user card

6 weeks agoUpdating minified JavaScript files
WoltLab [Tue, 6 Aug 2024 12:11:56 +0000 (12:11 +0000)]
Updating minified JavaScript files

6 weeks agoMerge branch '6.0'
Marcel Werk [Mon, 5 Aug 2024 14:23:42 +0000 (16:23 +0200)]
Merge branch '6.0'

6 weeks agoFix too many placeholders when pruning the email log
Marcel Werk [Mon, 5 Aug 2024 14:23:15 +0000 (16:23 +0200)]
Fix too many placeholders when pruning the email log

Closes #5938

6 weeks agoFix removal of asterisks in censorship statements
Marcel Werk [Mon, 5 Aug 2024 14:22:27 +0000 (16:22 +0200)]
Fix removal of asterisks in censorship statements

Closes #5843

6 weeks agoMerge pull request #5970 from WoltLab/multiple-select-form-field
Olaf Braun [Fri, 2 Aug 2024 15:34:28 +0000 (17:34 +0200)]
Merge pull request #5970 from WoltLab/multiple-select-form-field

Multiple select form field

6 weeks agoSwitch map and filter on the array
Olaf Braun [Fri, 2 Aug 2024 15:10:31 +0000 (17:10 +0200)]
Switch map and filter on the array

6 weeks agoUpdate colors of the facebook brand button
Marcel Werk [Fri, 2 Aug 2024 15:07:02 +0000 (17:07 +0200)]
Update colors of the facebook brand button

6 weeks agoUnify height of the 3rd party login buttons
Marcel Werk [Fri, 2 Aug 2024 14:56:38 +0000 (16:56 +0200)]
Unify height of the 3rd party login buttons

6 weeks agoAdd a JavaScript data handler for the form field
Cyperghost [Fri, 2 Aug 2024 14:09:08 +0000 (16:09 +0200)]
Add a JavaScript data handler for the form field

6 weeks ago- Set the input name as an array
Cyperghost [Fri, 2 Aug 2024 13:45:47 +0000 (15:45 +0200)]
- Set the input name as an array
- Check whether the value is in the value-array and then set the `selected`.

6 weeks agoRun php-cs-fixer for the event listener
Cyperghost [Fri, 2 Aug 2024 13:35:42 +0000 (15:35 +0200)]
Run php-cs-fixer for the event listener

6 weeks agoAdd missing units of measurement
Marcel Werk [Fri, 2 Aug 2024 11:36:52 +0000 (13:36 +0200)]
Add missing units of measurement

Ref https://www.woltlab.com/community/thread/306674-add-units-of-measurement-on-the-edit-style-page/

6 weeks agoFix the handling of damaged files
Alexander Ebert [Fri, 2 Aug 2024 11:15:33 +0000 (13:15 +0200)]
Fix the handling of damaged files

6 weeks agoRemove the faulty `Override` attribute on the constructor
Alexander Ebert [Fri, 2 Aug 2024 09:59:42 +0000 (11:59 +0200)]
Remove the faulty `Override` attribute on the constructor

6 weeks agoFix injection of routing parameters into sql queries
Marcel Werk [Fri, 2 Aug 2024 09:12:23 +0000 (11:12 +0200)]
Fix injection of routing parameters into sql queries

ref https://www.woltlab.com/community/thread/307511-array-to-string-conversion/

6 weeks agoTrim the list of PIPs
Alexander Ebert [Thu, 1 Aug 2024 16:01:54 +0000 (18:01 +0200)]
Trim the list of PIPs

This removes PIPs that only have their meta data changed.

6 weeks agoUpdating minified JavaScript files
WoltLab [Thu, 1 Aug 2024 12:52:33 +0000 (12:52 +0000)]
Updating minified JavaScript files

6 weeks agoAdd a missing space
Alexander Ebert [Thu, 1 Aug 2024 11:35:17 +0000 (13:35 +0200)]
Add a missing space

6 weeks agoUse a clipped background for the tag “arrow”
Alexander Ebert [Thu, 1 Aug 2024 11:19:06 +0000 (13:19 +0200)]
Use a clipped background for the tag “arrow”

See https://www.woltlab.com/community/thread/306964-label-tags/

6 weeks agoFix the browser’s focus indicator to appear briefly when closing
Alexander Ebert [Thu, 1 Aug 2024 11:02:59 +0000 (13:02 +0200)]
Fix the browser’s focus indicator to appear briefly when closing

This was not possible pre-6.0 due to the indicator being faded out. This was changed in 6.0 by forcing dialogs to be removed immediately to improve the perceived responsiveness.

See https://www.woltlab.com/community/thread/307093-preview-post-close-bug/

6 weeks agoFix missing setting of the default value if it was "0"
Marcel Werk [Thu, 1 Aug 2024 09:55:52 +0000 (11:55 +0200)]
Fix missing setting of the default value if it was "0"

6 weeks agoDisplay the full image if thumbnails are not available
Alexander Ebert [Thu, 1 Aug 2024 09:44:46 +0000 (11:44 +0200)]
Display the full image if thumbnails are not available

See https://www.woltlab.com/community/thread/307101-adding-an-attachment-recognition-problem/

6 weeks agoFix the aspect ratio of image previews
Alexander Ebert [Thu, 1 Aug 2024 09:37:44 +0000 (11:37 +0200)]
Fix the aspect ratio of image previews

6 weeks agoMerge branch '6.0'
Alexander Ebert [Thu, 1 Aug 2024 09:27:56 +0000 (11:27 +0200)]
Merge branch '6.0'

7 weeks agoDo not serve archives directly
Alexander Ebert [Wed, 31 Jul 2024 15:02:11 +0000 (17:02 +0200)]
Do not serve archives directly

These files may be large and serving them through the web server is desirable but those files are also among those that might require additional protection.

7 weeks agoMerge branch 'master' of https://github.com/WoltLab/WCF
Alexander Ebert [Wed, 31 Jul 2024 15:00:44 +0000 (17:00 +0200)]
Merge branch 'master' of https://github.com/WoltLab/WCF

7 weeks agoDeprecate and redirect the attachment page
Alexander Ebert [Wed, 31 Jul 2024 14:59:44 +0000 (16:59 +0200)]
Deprecate and redirect the attachment page

7 weeks agoFix missing reset in MultipleSelectionFormField
Marcel Werk [Wed, 31 Jul 2024 14:55:27 +0000 (16:55 +0200)]
Fix missing reset in MultipleSelectionFormField

ref https://www.woltlab.com/community/thread/295945-multipleselectionformfield-%C3%BCbergibt-falschen-bzw-alten-wert-wenn-kein-wert-ausge/

7 weeks agoMerge branch 'master' of https://github.com/WoltLab/WCF
Marcel Werk [Wed, 31 Jul 2024 14:31:12 +0000 (16:31 +0200)]
Merge branch 'master' of https://github.com/WoltLab/WCF

7 weeks agoMade url validation of less restrictive
Marcel Werk [Wed, 31 Jul 2024 14:30:59 +0000 (16:30 +0200)]
Made url validation of less restrictive

ref https://www.woltlab.com/community/thread/306975-validierung-der-url-im-urlformfield/

7 weeks agoAdd a new helper method to generate static thumbnails
Alexander Ebert [Wed, 31 Jul 2024 14:06:43 +0000 (16:06 +0200)]
Add a new helper method to generate static thumbnails

Processing animated images is an unpredictable process that is not only incredibly expensive but due to unknown resource limits very unstable.

Using static thumbnails that simply pick the first frame solves this issue by offering a meaningful thumbnail without using lots of resources.

7 weeks agoUnify description fields
Marcel Werk [Wed, 31 Jul 2024 13:45:58 +0000 (15:45 +0200)]
Unify description fields

7 weeks agoUnified layout of the article sidebar box
Marcel Werk [Wed, 31 Jul 2024 09:27:55 +0000 (11:27 +0200)]
Unified layout of the article sidebar box

The presentation of the article image did not look good. The layout has been adapted to that of other similar boxes.

7 weeks agoAdds a FieldDataProcessor to insert into the fileIDs to the `$parameters` array
Cyperghost [Wed, 31 Jul 2024 05:57:28 +0000 (07:57 +0200)]
Adds a FieldDataProcessor to insert into the fileIDs to the `$parameters` array

7 weeks agoAdd additional checks as to whether the `$bigPreview` is active or can be activated
Cyperghost [Wed, 31 Jul 2024 05:41:48 +0000 (07:41 +0200)]
Add additional checks as to whether the `$bigPreview` is active or can be activated

7 weeks agoDetect and handle corrupt images
Alexander Ebert [Tue, 30 Jul 2024 11:21:34 +0000 (13:21 +0200)]
Detect and handle corrupt images

7 weeks agoFix the handling of corrupted files
Alexander Ebert [Tue, 30 Jul 2024 09:21:08 +0000 (11:21 +0200)]
Fix the handling of corrupted files

7 weeks agoRelease 6.1.0 Alpha 1
Alexander Ebert [Mon, 29 Jul 2024 09:48:11 +0000 (11:48 +0200)]
Release 6.1.0 Alpha 1

8 weeks agoUnify phrases
Marcel Werk [Wed, 24 Jul 2024 15:05:35 +0000 (17:05 +0200)]
Unify phrases

8 weeks agoMerge branch '6.0'
Marcel Werk [Wed, 24 Jul 2024 14:42:15 +0000 (16:42 +0200)]
Merge branch '6.0'

8 weeks agoRemove email activation process after registration via third-party
Marcel Werk [Wed, 24 Jul 2024 14:41:48 +0000 (16:41 +0200)]
Remove email activation process after registration via third-party

ref https://www.woltlab.com/community/thread/307268-benutzeraktivierung-bei-google-nutzung/

8 weeks agoMerge pull request #5964 from WoltLab/tag-form-field-allow-value-load
Olaf Braun [Tue, 23 Jul 2024 12:26:34 +0000 (14:26 +0200)]
Merge pull request #5964 from WoltLab/tag-form-field-allow-value-load

Load tags if they are present in the `$data` array

2 months agoAdd the new variable `FileProcessorFormField::$bigPreview` with getter and setter.
Cyperghost [Mon, 15 Jul 2024 08:53:28 +0000 (10:53 +0200)]
Add the new variable `FileProcessorFormField::$bigPreview` with getter and setter.
This can be used to set whether the Big Preview is used for images. The big preview can only be used for images.

2 months agoLoad tags if they are present in the `$data` array
Cyperghost [Fri, 12 Jul 2024 09:47:15 +0000 (11:47 +0200)]
Load tags if they are present in the `$data` array

2 months agoMerge pull request #5963 from WoltLab/validate-uploaded-file
Olaf Braun [Fri, 12 Jul 2024 09:41:31 +0000 (11:41 +0200)]
Merge pull request #5963 from WoltLab/validate-uploaded-file

Add `validateUpload` function to `IFileProcessor`

2 months agoMerge pull request #5962 from WoltLab/bugfix/user-trophy
Marcel Werk [Wed, 10 Jul 2024 10:28:54 +0000 (12:28 +0200)]
Merge pull request #5962 from WoltLab/bugfix/user-trophy

Fixes the error that the description for an assigned trophy is `null`

2 months agoMerge pull request #5957 from MysteryCode/updsctyposp
Marcel Werk [Wed, 10 Jul 2024 10:27:52 +0000 (12:27 +0200)]
Merge pull request #5957 from MysteryCode/updsctyposp

fix typo in update script

2 months agoMerge pull request #5955 from Hanashi/feat/team-user-card
Marcel Werk [Wed, 10 Jul 2024 10:27:24 +0000 (12:27 +0200)]
Merge pull request #5955 from Hanashi/feat/team-user-card

Replace `userListItem` with `userCard` on team page

2 months agoAdds a new function to the `IFileProcessor` which is called to check if the uploaded...
Cyperghost [Wed, 10 Jul 2024 09:36:56 +0000 (11:36 +0200)]
Adds a new function to the `IFileProcessor` which is called to check if the uploaded file is allowed. This function should throw `UserInputException` if the file is not allowed

2 months agoFixes the error that the description for an assigned trophy is `null`.
Cyperghost [Wed, 10 Jul 2024 08:12:20 +0000 (10:12 +0200)]
Fixes the error that the description for an assigned trophy is `null`.

2 months agofix typo in update script
mutec [Sun, 7 Jul 2024 09:36:04 +0000 (11:36 +0200)]
fix typo in update script

2 months agoReplace `userListItem` with `userCard` on team page
Peter Lohse [Sat, 6 Jul 2024 12:14:46 +0000 (14:14 +0200)]
Replace `userListItem` with `userCard` on team page

2 months agoMerge pull request #5951 from WoltLab/upload-form-field-v2
Olaf Braun [Sat, 6 Jul 2024 11:20:14 +0000 (13:20 +0200)]
Merge pull request #5951 from WoltLab/upload-form-field-v2

New upload form field

2 months agoFix the visuals of i18n WYSIWYG instances
Alexander Ebert [Fri, 5 Jul 2024 15:57:52 +0000 (17:57 +0200)]
Fix the visuals of i18n WYSIWYG instances

See https://www.woltlab.com/community/thread/306999-the-language-selector-in-the-description-of-the-add-subscription-page-should-be/

2 months agoStop reporting the pseudo options category as missing phrase
Alexander Ebert [Fri, 5 Jul 2024 11:07:42 +0000 (13:07 +0200)]
Stop reporting the pseudo options category as missing phrase

2 months agoFixed a bug still accessing the old `_data` field
Cyperghost [Thu, 4 Jul 2024 07:45:07 +0000 (09:45 +0200)]
Fixed a bug still accessing the old `_data` field

2 months agoMerge remote-tracking branch 'origin/upload-form-field-v2' into upload-form-field-v2
Cyperghost [Thu, 4 Jul 2024 07:35:53 +0000 (09:35 +0200)]
Merge remote-tracking branch 'origin/upload-form-field-v2' into upload-form-field-v2

2 months agoRename `WoltLabSuite/Core/Component/File/File` to `WoltLabSuite/Core/Component/File...
Cyperghost [Thu, 4 Jul 2024 07:35:31 +0000 (09:35 +0200)]
Rename `WoltLabSuite/Core/Component/File/File` to `WoltLabSuite/Core/Component/File/Helper`

2 months agoMove `$event->preload('wcf.global.button.replace');` up
Cyperghost [Thu, 4 Jul 2024 07:33:31 +0000 (09:33 +0200)]
Move `$event->preload('wcf.global.button.replace');` up

2 months agoApply suggestions from code review
Olaf Braun [Wed, 3 Jul 2024 12:08:18 +0000 (14:08 +0200)]
Apply suggestions from code review

Co-authored-by: Alexander Ebert <ebert@woltlab.com>
2 months agoMerge pull request #5953 from WoltLab/get-form-field
Marcel Werk [Wed, 3 Jul 2024 12:08:07 +0000 (14:08 +0200)]
Merge pull request #5953 from WoltLab/get-form-field

Make it easier to find a form field from a FormBuilder form

2 months agoMake it easier to find a form field from a FormBuilder form
Marcel Werk [Wed, 3 Jul 2024 12:04:26 +0000 (14:04 +0200)]
Make it easier to find a form field from a FormBuilder form

Basically, it is just a wrapper around `getNodeById()`, which also checks whether it is a `IFormField`.

2 months agoExport `clearPreviousErrors()`
Cyperghost [Wed, 3 Jul 2024 08:50:29 +0000 (10:50 +0200)]
Export `clearPreviousErrors()`
Use a Promise to recognize the beginning of the upload to replace the context

2 months agoAdd a check that the replace button in the `FileProcessorFormField` is clicked, to...
Cyperghost [Wed, 3 Jul 2024 08:20:14 +0000 (10:20 +0200)]
Add a check that the replace button in the `FileProcessorFormField` is clicked, to ignore the upload limit

2 months agoChange the function that adds a button so that it only returns a button and doesn...
Cyperghost [Wed, 3 Jul 2024 07:53:05 +0000 (09:53 +0200)]
Change the function that adds a button so that it only returns a button and doesn't insert it

2 months agoRemove radix parameter from `parseInt`
Cyperghost [Wed, 3 Jul 2024 07:41:19 +0000 (09:41 +0200)]
Remove radix parameter from `parseInt`

2 months agoFix css-class added in `markElementAsErroneous()`
Cyperghost [Wed, 3 Jul 2024 07:39:40 +0000 (09:39 +0200)]
Fix css-class added in `markElementAsErroneous()`