Marcel Werk [Mon, 19 Aug 2024 12:04:44 +0000 (14:04 +0200)]
Remove usage of deprecated code
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
Cyperghost [Mon, 19 Aug 2024 08:45:13 +0000 (10:45 +0200)]
Transfer the tmp hashes for the attachment handler when submitting
Alexander Ebert [Fri, 16 Aug 2024 11:30:33 +0000 (13:30 +0200)]
Merge branch '6.0'
Alexander Ebert [Fri, 16 Aug 2024 11:30:28 +0000 (13:30 +0200)]
Add a missing phrase
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/
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/
Alexander Ebert [Thu, 15 Aug 2024 11:25:09 +0000 (13:25 +0200)]
Fix the tracking of attachment downloads
Alexander Ebert [Thu, 15 Aug 2024 11:21:30 +0000 (13:21 +0200)]
Fix the `tmpHash` being set for files with an object id
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.
Alexander Ebert [Thu, 15 Aug 2024 10:00:58 +0000 (12:00 +0200)]
Fix the handling of users that do not exist anymore
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
Cyperghost [Thu, 15 Aug 2024 08:15:40 +0000 (10:15 +0200)]
Replaces img-element in the message with the alt attribute value
Alexander Ebert [Wed, 14 Aug 2024 15:09:08 +0000 (17:09 +0200)]
Fix the redirect for legacy attachment links
WoltLab [Wed, 14 Aug 2024 14:59:12 +0000 (14:59 +0000)]
Updating minified JavaScript files
Alexander Ebert [Wed, 14 Aug 2024 14:57:34 +0000 (16:57 +0200)]
Add the missing tmp hash to messages
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
Olaf Braun [Wed, 14 Aug 2024 14:14:17 +0000 (16:14 +0200)]
The timestamp must be specified in milliseconds not in seconds
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/
Alexander Ebert [Wed, 14 Aug 2024 13:13:06 +0000 (15:13 +0200)]
Fix the test for missing thumbnails
Alexander Ebert [Wed, 14 Aug 2024 11:58:37 +0000 (13:58 +0200)]
Release 6.1.0 Alpha 1
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
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.
Marcel Werk [Fri, 9 Aug 2024 12:44:31 +0000 (14:44 +0200)]
Stop using HTTPRequest for package update server requests
Alexander Ebert [Wed, 7 Aug 2024 12:54:41 +0000 (14:54 +0200)]
Upgrade to CKEditor v43.0.0
Alexander Ebert [Wed, 7 Aug 2024 12:37:09 +0000 (14:37 +0200)]
Update the composer dependencies
Alexander Ebert [Wed, 7 Aug 2024 12:36:21 +0000 (14:36 +0200)]
Merge branch '6.0'
Alexander Ebert [Wed, 7 Aug 2024 12:36:00 +0000 (14:36 +0200)]
Upgrade the composer dependencies
Alexander Ebert [Wed, 7 Aug 2024 11:39:52 +0000 (13:39 +0200)]
Fix the list of allowed file extensions when containing dots
Alexander Ebert [Wed, 7 Aug 2024 09:30:33 +0000 (11:30 +0200)]
Slightly improve the visuals of the user card
WoltLab [Tue, 6 Aug 2024 12:11:56 +0000 (12:11 +0000)]
Updating minified JavaScript files
Marcel Werk [Mon, 5 Aug 2024 14:23:42 +0000 (16:23 +0200)]
Merge branch '6.0'
Marcel Werk [Mon, 5 Aug 2024 14:23:15 +0000 (16:23 +0200)]
Fix too many placeholders when pruning the email log
Closes #5938
Marcel Werk [Mon, 5 Aug 2024 14:22:27 +0000 (16:22 +0200)]
Fix removal of asterisks in censorship statements
Closes #5843
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
Olaf Braun [Fri, 2 Aug 2024 15:10:31 +0000 (17:10 +0200)]
Switch map and filter on the array
Marcel Werk [Fri, 2 Aug 2024 15:07:02 +0000 (17:07 +0200)]
Update colors of the facebook brand button
Marcel Werk [Fri, 2 Aug 2024 14:56:38 +0000 (16:56 +0200)]
Unify height of the 3rd party login buttons
Cyperghost [Fri, 2 Aug 2024 14:09:08 +0000 (16:09 +0200)]
Add a JavaScript data handler for the form field
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`.
Cyperghost [Fri, 2 Aug 2024 13:35:42 +0000 (15:35 +0200)]
Run php-cs-fixer for the event listener
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/
Alexander Ebert [Fri, 2 Aug 2024 11:15:33 +0000 (13:15 +0200)]
Fix the handling of damaged files
Alexander Ebert [Fri, 2 Aug 2024 09:59:42 +0000 (11:59 +0200)]
Remove the faulty `Override` attribute on the constructor
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/
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.
WoltLab [Thu, 1 Aug 2024 12:52:33 +0000 (12:52 +0000)]
Updating minified JavaScript files
Alexander Ebert [Thu, 1 Aug 2024 11:35:17 +0000 (13:35 +0200)]
Add a missing space
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/
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/
Marcel Werk [Thu, 1 Aug 2024 09:55:52 +0000 (11:55 +0200)]
Fix missing setting of the default value if it was "0"
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/
Alexander Ebert [Thu, 1 Aug 2024 09:37:44 +0000 (11:37 +0200)]
Fix the aspect ratio of image previews
Alexander Ebert [Thu, 1 Aug 2024 09:27:56 +0000 (11:27 +0200)]
Merge branch '6.0'
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.
Alexander Ebert [Wed, 31 Jul 2024 15:00:44 +0000 (17:00 +0200)]
Merge branch 'master' of https://github.com/WoltLab/WCF
Alexander Ebert [Wed, 31 Jul 2024 14:59:44 +0000 (16:59 +0200)]
Deprecate and redirect the attachment page
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/
Marcel Werk [Wed, 31 Jul 2024 14:31:12 +0000 (16:31 +0200)]
Merge branch 'master' of https://github.com/WoltLab/WCF
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/
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.
Marcel Werk [Wed, 31 Jul 2024 13:45:58 +0000 (15:45 +0200)]
Unify description fields
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.
Cyperghost [Wed, 31 Jul 2024 05:57:28 +0000 (07:57 +0200)]
Adds a FieldDataProcessor to insert into the fileIDs to the `$parameters` array
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
Alexander Ebert [Tue, 30 Jul 2024 11:21:34 +0000 (13:21 +0200)]
Detect and handle corrupt images
Alexander Ebert [Tue, 30 Jul 2024 09:21:08 +0000 (11:21 +0200)]
Fix the handling of corrupted files
Alexander Ebert [Mon, 29 Jul 2024 09:48:11 +0000 (11:48 +0200)]
Release 6.1.0 Alpha 1
Marcel Werk [Wed, 24 Jul 2024 15:05:35 +0000 (17:05 +0200)]
Unify phrases
Marcel Werk [Wed, 24 Jul 2024 14:42:15 +0000 (16:42 +0200)]
Merge branch '6.0'
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/
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
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.
Cyperghost [Fri, 12 Jul 2024 09:47:15 +0000 (11:47 +0200)]
Load tags if they are present in the `$data` array
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`
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`
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
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
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
Cyperghost [Wed, 10 Jul 2024 08:12:20 +0000 (10:12 +0200)]
Fixes the error that the description for an assigned trophy is `null`.
mutec [Sun, 7 Jul 2024 09:36:04 +0000 (11:36 +0200)]
fix typo in update script
Peter Lohse [Sat, 6 Jul 2024 12:14:46 +0000 (14:14 +0200)]
Replace `userListItem` with `userCard` on team page
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
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/
Alexander Ebert [Fri, 5 Jul 2024 11:07:42 +0000 (13:07 +0200)]
Stop reporting the pseudo options category as missing phrase
Cyperghost [Thu, 4 Jul 2024 07:45:07 +0000 (09:45 +0200)]
Fixed a bug still accessing the old `_data` field
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
Cyperghost [Thu, 4 Jul 2024 07:35:31 +0000 (09:35 +0200)]
Rename `WoltLabSuite/Core/Component/File/File` to `WoltLabSuite/Core/Component/File/Helper`
Cyperghost [Thu, 4 Jul 2024 07:33:31 +0000 (09:33 +0200)]
Move `$event->preload('wcf.global.button.replace');` up
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>
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
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`.
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
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
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
Cyperghost [Wed, 3 Jul 2024 07:41:19 +0000 (09:41 +0200)]
Remove radix parameter from `parseInt`
Cyperghost [Wed, 3 Jul 2024 07:39:40 +0000 (09:39 +0200)]
Fix css-class added in `markElementAsErroneous()`
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)
Cyperghost [Wed, 3 Jul 2024 07:34:14 +0000 (09:34 +0200)]
Remove the wrong js file
Marcel Werk [Tue, 2 Jul 2024 15:35:45 +0000 (17:35 +0200)]
Reduce icon size in account security
Closes #5930