GitHub/WoltLab/WCF.git
2 months 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

2 months 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

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

2 months 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

2 months 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

2 months 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

2 months 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/

2 months 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

2 months 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

2 months 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

2 months 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

3 months 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

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

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

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

3 months 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

3 months 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

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

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

3 months 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

3 months 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

3 months 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

3 months 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

3 months 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

3 months 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

3 months 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

3 months 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`.

3 months 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

3 months 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/

3 months 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

3 months 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

3 months 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/

3 months 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.

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

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

3 months 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/

3 months 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/

3 months 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"

3 months 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/

3 months 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

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

3 months 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.

3 months 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

3 months 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

3 months 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/

3 months 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

3 months 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/

3 months 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.

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

3 months 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.

3 months 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

3 months 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

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

3 months 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

3 months 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

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

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

3 months 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/

3 months 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

3 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.

3 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

3 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`

3 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`

3 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

3 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

3 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

3 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`.

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

4 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

4 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

4 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/

4 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

4 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

4 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

4 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`

4 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

4 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>
4 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

4 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`.

4 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

4 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

4 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

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

4 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()`

4 months agoAdd helper function to insert default file information (size, filename and the file)
Cyperghost [Wed, 3 Jul 2024 07:39:01 +0000 (09:39 +0200)]
Add helper function to insert default file information (size, filename and the file)

4 months agoRemove the wrong js file
Cyperghost [Wed, 3 Jul 2024 07:34:14 +0000 (09:34 +0200)]
Remove the wrong js file

4 months agoReduce icon size in account security
Marcel Werk [Tue, 2 Jul 2024 15:35:45 +0000 (17:35 +0200)]
Reduce icon size in account security

Closes #5930

4 months agoAdd helper function `fileInitializationFailed`
Cyperghost [Tue, 2 Jul 2024 08:52:01 +0000 (10:52 +0200)]
Add helper function `fileInitializationFailed`

4 months agoUpdate some comments
Cyperghost [Tue, 2 Jul 2024 08:47:32 +0000 (10:47 +0200)]
Update some comments
Remove unnecessary comments

4 months agoAdd helper functions `trackUploadProgress` and `removeUploadProgress` for `WoltlabCor...
Cyperghost [Tue, 2 Jul 2024 08:43:23 +0000 (10:43 +0200)]
Add helper functions `trackUploadProgress` and `removeUploadProgress` for `WoltlabCoreFileElement`.

4 months agoAllow the function `get values()` to return only one number for single file upload...
Cyperghost [Tue, 2 Jul 2024 08:30:22 +0000 (10:30 +0200)]
Allow the function `get values()` to return only one number for single file upload and also `undefined` if no file is uploaded

4 months agoInsert data handler for an ajax form
Cyperghost [Tue, 2 Jul 2024 08:23:49 +0000 (10:23 +0200)]
Insert data handler for an ajax form

4 months agoAdd `wcf.global.button.replace` to phrase preloader
Cyperghost [Tue, 2 Jul 2024 08:06:42 +0000 (10:06 +0200)]
Add `wcf.global.button.replace` to phrase preloader

4 months agoLabel for received reaction shortened
Marcel Werk [Mon, 1 Jul 2024 15:11:30 +0000 (17:11 +0200)]
Label for received reaction shortened

"Reactions received" is too long for use in the user card.

4 months agoFix broken `HtmlNodeUnfurlLink.class.php`
Marcel Werk [Fri, 28 Jun 2024 12:05:08 +0000 (14:05 +0200)]
Fix broken `HtmlNodeUnfurlLink.class.php`

The file was merged incorrectly by this commit:
https://github.com/WoltLab/WCF/commit/7966721e4709d792180fb05a693cafd8db0e2793

4 months agoRemove async from `#registerFile()`
Cyperghost [Wed, 26 Jun 2024 09:48:03 +0000 (11:48 +0200)]
Remove async from `#registerFile()`

4 months agoMove statement to the correct comment position
Cyperghost [Wed, 26 Jun 2024 09:12:29 +0000 (11:12 +0200)]
Move statement to the correct comment position

4 months agoSet `bubbles` to `true` for the custom event `fileProcessorCustomAction`.
Cyperghost [Wed, 26 Jun 2024 09:11:15 +0000 (11:11 +0200)]
Set `bubbles` to `true` for the custom event `fileProcessorCustomAction`.

4 months agoSwap the parameters `$application` and `$template`
Cyperghost [Wed, 26 Jun 2024 08:58:19 +0000 (10:58 +0200)]
Swap the parameters `$application` and `$template`

4 months agoAdds the option of a template that is also included for the extra buttons
Cyperghost [Wed, 26 Jun 2024 08:54:59 +0000 (10:54 +0200)]
Adds the option of a template that is also included for the extra buttons
Use `unsafe:` instead of `@`