GitHub/WoltLab/WCF.git
4 weeks agoImprove the script tag relocation for extremely large payloads
Alexander Ebert [Fri, 18 Oct 2024 12:56:15 +0000 (14:56 +0200)]
Improve the script tag relocation for extremely large payloads

The previous approach would hit backtracking limits when dealing with excessively large payloads. This could happen with extreme numbers of smileys that are all handled through a single script tag.

See https://www.woltlab.com/community/thread/308944-fehlermeldung-unterhalb-des-footers/

5 weeks agoRebuild the pre-upgrade file archive
Alexander Ebert [Thu, 17 Oct 2024 14:43:38 +0000 (16:43 +0200)]
Rebuild the pre-upgrade file archive

5 weeks agoAdd a pre-upgrade check for required PHP extensions
Alexander Ebert [Thu, 17 Oct 2024 14:42:45 +0000 (16:42 +0200)]
Add a pre-upgrade check for required PHP extensions

Fixes #6021

5 weeks agoFix the logo position on the mobile auth screens
Alexander Ebert [Thu, 17 Oct 2024 11:15:39 +0000 (13:15 +0200)]
Fix the logo position on the mobile auth screens

Fixes #5985

5 weeks agoMerge pull request #6024 from WoltLab/form-builder-attachment
Marcel Werk [Wed, 16 Oct 2024 15:11:05 +0000 (17:11 +0200)]
Merge pull request #6024 from WoltLab/form-builder-attachment

Improve attachment support in form builder forms

5 weeks agoApply suggestions from code review
Marcel Werk [Wed, 16 Oct 2024 15:10:27 +0000 (17:10 +0200)]
Apply suggestions from code review

Co-authored-by: Alexander Ebert <ebert@woltlab.com>
5 weeks agoRe-add accidentally removed comment
Marcel Werk [Wed, 16 Oct 2024 09:34:45 +0000 (11:34 +0200)]
Re-add accidentally removed comment

5 weeks agoAllow object ids that are different from the form
Marcel Werk [Wed, 16 Oct 2024 09:32:00 +0000 (11:32 +0200)]
Allow object ids that are different from the form

5 weeks agoUse deterministic tmp hash
Marcel Werk [Wed, 16 Oct 2024 09:31:21 +0000 (11:31 +0200)]
Use deterministic tmp hash

5 weeks agoMerge branch 'master' into 6.1
Alexander Ebert [Tue, 15 Oct 2024 14:09:41 +0000 (16:09 +0200)]
Merge branch 'master' into 6.1

5 weeks agoMerge branch '6.0'
Alexander Ebert [Tue, 15 Oct 2024 14:09:32 +0000 (16:09 +0200)]
Merge branch '6.0'

5 weeks agoUpdate the target branch for d.t.s
Alexander Ebert [Tue, 15 Oct 2024 14:09:16 +0000 (16:09 +0200)]
Update the target branch for d.t.s

5 weeks agoMerge pull request #6022 from WoltLab/abstract-comment-manager
Marcel Werk [Tue, 15 Oct 2024 13:02:40 +0000 (15:02 +0200)]
Merge pull request #6022 from WoltLab/abstract-comment-manager

`AbstractCommentManager` no longer inherits from `SingletonFactory`

5 weeks agoMerge branch '6.0'
Alexander Ebert [Tue, 15 Oct 2024 09:51:12 +0000 (11:51 +0200)]
Merge branch '6.0'

5 weeks ago`AbstractCommentManager` no longer inherits from `SingletonFactory`
Marcel Werk [Mon, 14 Oct 2024 13:55:07 +0000 (15:55 +0200)]
`AbstractCommentManager` no longer inherits from `SingletonFactory`

The dependency on `SingletonFactory` offers no added value, as the comment manager is not accessed directly and it is only instantiated once per object type in `ObjectType::getProcessor()`. At the same time, however, the dependency on `SingleFactory` prevents a `CommentManager` implementation from being used in different/multiple object types.

ref https://github.com/WoltLab/WCF/blob/master/wcfsetup/install/files/lib/data/object/type/ObjectType.class.php#L109

5 weeks agoRelease 6.0.18 6.0.18
Alexander Ebert [Mon, 14 Oct 2024 13:36:00 +0000 (15:36 +0200)]
Release 6.0.18

5 weeks agoFix the clean up of legacy overrides
Alexander Ebert [Mon, 14 Oct 2024 12:32:56 +0000 (14:32 +0200)]
Fix the clean up of legacy overrides

5 weeks agoMerge branch '5.5' into 6.0
Alexander Ebert [Mon, 14 Oct 2024 12:32:37 +0000 (14:32 +0200)]
Merge branch '5.5' into 6.0

5 weeks agoUse a per-version upgrade override
Alexander Ebert [Mon, 14 Oct 2024 12:30:54 +0000 (14:30 +0200)]
Use a per-version upgrade override

See https://www.woltlab.com/community/thread/308245-pr%C3%BCfung-auf-systemkompatibilit%C3%A4t-fehlerhaft-bei-upgrade-5-4-6-0/

5 weeks agoEnable the upgrade from 6.0 → 6.1
Alexander Ebert [Mon, 14 Oct 2024 12:26:27 +0000 (14:26 +0200)]
Enable the upgrade from 6.0 → 6.1

5 weeks agoUpdating minified JavaScript files
WoltLab [Mon, 14 Oct 2024 12:18:43 +0000 (12:18 +0000)]
Updating minified JavaScript files

5 weeks agoMerge branch '6.0'
Cyperghost [Mon, 14 Oct 2024 09:05:28 +0000 (11:05 +0200)]
Merge branch '6.0'

5 weeks agoMerge branch '5.5' into 6.0
Cyperghost [Mon, 14 Oct 2024 09:04:53 +0000 (11:04 +0200)]
Merge branch '5.5' into 6.0

5 weeks agoFixes the problem that after calling `DatePicker.setDate()` changing the time has...
Cyperghost [Mon, 14 Oct 2024 09:03:23 +0000 (11:03 +0200)]
Fixes the problem that after calling `DatePicker.setDate()` changing the time has no effect

See https://www.woltlab.com/community/thread/308863-datepicker-setdate-nicht-vollständig/

5 weeks agoRemove obsolete code
Marcel Werk [Fri, 11 Oct 2024 09:33:49 +0000 (11:33 +0200)]
Remove obsolete code

5 weeks agoRelease 6.1.0 RC 1 6.1.0_RC_1
Alexander Ebert [Thu, 10 Oct 2024 15:43:54 +0000 (17:43 +0200)]
Release 6.1.0 RC 1

6 weeks agoUpdating minified JavaScript files
WoltLab [Thu, 10 Oct 2024 14:31:43 +0000 (14:31 +0000)]
Updating minified JavaScript files

6 weeks agoFix the icon being duplicated when notices are inserted again
Alexander Ebert [Thu, 10 Oct 2024 08:48:19 +0000 (10:48 +0200)]
Fix the icon being duplicated when notices are inserted again

See https://www.woltlab.com/community/thread/308432-overflow-bei-leerem-benutzerprofil/
Closes #6005

6 weeks agoFix the handling of invalid packages
Alexander Ebert [Wed, 9 Oct 2024 14:04:57 +0000 (16:04 +0200)]
Fix the handling of invalid packages

Regression of 3855c176a98b93735521ea972f506eaea121ec10

See https://www.woltlab.com/community/thread/308418-beta-2-entwickler-tools-wollen-sie-das-paket-installieren-ohne-funktion/

6 weeks agoMerge pull request #6013 from WoltLab/file-processor-object-id
Olaf Braun [Wed, 9 Oct 2024 13:51:25 +0000 (15:51 +0200)]
Merge pull request #6013 from WoltLab/file-processor-object-id

Set `objectID` for `context`

6 weeks agoSet `objectID` for `context`
Cyperghost [Wed, 9 Oct 2024 13:16:57 +0000 (15:16 +0200)]
Set `objectID` for `context`

6 weeks agoAdd a missing phrase
Alexander Ebert [Wed, 9 Oct 2024 12:58:13 +0000 (14:58 +0200)]
Add a missing phrase

See https://www.woltlab.com/community/thread/308427-fehlende-sprachvariable-wcf-attachment-moreoptions/

6 weeks agoAdd a link to view uploaded non-image attachments
Alexander Ebert [Wed, 9 Oct 2024 11:00:37 +0000 (13:00 +0200)]
Add a link to view uploaded non-image attachments

Closes #6011

6 weeks agoMerge pull request #6010 from WoltLab/bugfix/template-lastModificationTime
Olaf Braun [Tue, 8 Oct 2024 13:48:13 +0000 (15:48 +0200)]
Merge pull request #6010 from WoltLab/bugfix/template-lastModificationTime

Set the `lastModificationTime` for the template via a `CustomFormDataProcessor`

6 weeks agoSet the `lastModificationTime` for the template via a `CustomFormDataProcessor`
Cyperghost [Tue, 8 Oct 2024 09:46:30 +0000 (11:46 +0200)]
Set the `lastModificationTime` for the template via a `CustomFormDataProcessor`

6 weeks agoRun `tsc`
Olaf Braun [Mon, 7 Oct 2024 12:10:46 +0000 (14:10 +0200)]
Run `tsc`

6 weeks agoApply template changes to shared template
Olaf Braun [Mon, 7 Oct 2024 12:08:18 +0000 (14:08 +0200)]
Apply template changes to shared template

6 weeks agoMerge branch 'refs/heads/6.0'
Olaf Braun [Mon, 7 Oct 2024 12:07:54 +0000 (14:07 +0200)]
Merge branch 'refs/heads/6.0'

# Conflicts:
# com.woltlab.wcf/templates/__mediaSetCategoryDialog.tpl
# com.woltlab.wcf/templates/commentEditor.tpl
# com.woltlab.wcf/templates/commentResponseEditor.tpl
# ts/WoltLabSuite/Core/Component/Comment/Add.ts
# wcfsetup/install/files/acp/templates/__mediaSetCategoryDialog.tpl
# wcfsetup/install/files/js/WoltLabSuite/Core/Component/Comment/Add.js

6 weeks agoMerge pull request #6008 from WoltLab/bugfix/media-set-category
Olaf Braun [Mon, 7 Oct 2024 11:51:39 +0000 (13:51 +0200)]
Merge pull request #6008 from WoltLab/bugfix/media-set-category

Use `dialogFactory()` to set media categories

6 weeks agoMerge pull request #6009 from WoltLab/bugfix/editor-comment-toolbar
Olaf Braun [Mon, 7 Oct 2024 11:51:24 +0000 (13:51 +0200)]
Merge pull request #6009 from WoltLab/bugfix/editor-comment-toolbar

Disable some editor features for comments

6 weeks agoSync acp template with frontend
Cyperghost [Mon, 7 Oct 2024 08:40:25 +0000 (10:40 +0200)]
Sync acp template with frontend

6 weeks agoDisable some editor features for comments
Cyperghost [Mon, 7 Oct 2024 06:44:39 +0000 (08:44 +0200)]
Disable some editor features for comments

6 weeks agoSet empty string as default value for `title`, this will be overwritten if `title...
Cyperghost [Mon, 7 Oct 2024 06:09:31 +0000 (08:09 +0200)]
Set empty string as default value for `title`, this will be overwritten if `title` is not multilingual.

See https://www.woltlab.com/community/thread/308470-beta-2-multilinguale-kategorie-für-trophäen-erstellen-schlägt-fehl/

6 weeks agoUse `dialogFactory()` to set media categories
Cyperghost [Mon, 7 Oct 2024 05:21:51 +0000 (07:21 +0200)]
Use `dialogFactory()` to set media categories

6 weeks agoMerge branch '6.0'
Alexander Ebert [Fri, 4 Oct 2024 10:55:06 +0000 (12:55 +0200)]
Merge branch '6.0'

6 weeks agoAdd a new template event after the option name
Alexander Ebert [Fri, 4 Oct 2024 10:54:59 +0000 (12:54 +0200)]
Add a new template event after the option name

See https://www.woltlab.com/community/thread/308241-und-noch-ein-templateevent-bitte/

6 weeks agoFix highlighting of sections in edit history
Marcel Werk [Fri, 4 Oct 2024 09:11:59 +0000 (11:11 +0200)]
Fix highlighting of sections in edit history

7 weeks agoMerge branch '6.0'
Alexander Ebert [Wed, 2 Oct 2024 13:38:18 +0000 (15:38 +0200)]
Merge branch '6.0'

7 weeks agoClean-up a forgotten file from earlier versions
Alexander Ebert [Wed, 2 Oct 2024 13:38:11 +0000 (15:38 +0200)]
Clean-up a forgotten file from earlier versions

7 weeks agoMerge pull request #6006 from WoltLab/file-processor-can-adopt
Olaf Braun [Tue, 1 Oct 2024 13:36:46 +0000 (15:36 +0200)]
Merge pull request #6006 from WoltLab/file-processor-can-adopt

Implement `canAdopt()` in `IFileProcessor` and `FileProcessor`

7 weeks agoUse `$filename` instead of `$file->filename`
Olaf Braun [Tue, 1 Oct 2024 13:06:32 +0000 (15:06 +0200)]
Use `$filename` instead of `$file->filename`

7 weeks agoRename language variable to `wcf.upload.error.adopt`
Olaf Braun [Tue, 1 Oct 2024 13:03:45 +0000 (15:03 +0200)]
Rename language variable to `wcf.upload.error.adopt`

7 weeks agoUpdate wcfsetup/install/files/lib/system/file/processor/AttachmentFileProcessor.class.php
Olaf Braun [Tue, 1 Oct 2024 12:57:22 +0000 (14:57 +0200)]
Update wcfsetup/install/files/lib/system/file/processor/AttachmentFileProcessor.class.php

Co-authored-by: Alexander Ebert <ebert@woltlab.com>
7 weeks agoImplement `canAdopt()` in `IFileProcessor` and `FileProcessor` to check if the file...
Cyperghost [Tue, 1 Oct 2024 10:14:48 +0000 (12:14 +0200)]
Implement `canAdopt()` in `IFileProcessor` and `FileProcessor` to check if the file can be assigned to the given `$context`

7 weeks agoMerge branch '6.0'
Alexander Ebert [Tue, 1 Oct 2024 09:00:02 +0000 (11:00 +0200)]
Merge branch '6.0'

7 weeks agoMerge branch '5.5' into 6.0
Alexander Ebert [Tue, 1 Oct 2024 08:59:55 +0000 (10:59 +0200)]
Merge branch '5.5' into 6.0

7 weeks agoAlways select the profile tab when clicking the edit button again
Alexander Ebert [Tue, 1 Oct 2024 08:59:14 +0000 (10:59 +0200)]
Always select the profile tab when clicking the edit button again

See https://www.woltlab.com/community/thread/308431-beta-2-benutzerprofil-button-profil-bearbeiten-ohne-funktion/

7 weeks agoValidate the file extensions using lower case
Alexander Ebert [Mon, 30 Sep 2024 14:30:04 +0000 (16:30 +0200)]
Validate the file extensions using lower case

Previously a check could fail if, for example, “.png” is allowed but the uploaded file uses the uppercase “.PNG“ extension.

7 weeks agoAllow value `0` in select form fields
Marcel Werk [Mon, 30 Sep 2024 11:55:20 +0000 (13:55 +0200)]
Allow value `0` in select form fields

Previously, it was not possible to distinguish between value `0` and not selected (`zero`).

7 weeks agoMerge pull request #6003 from WoltLab/bugfix/acp-dashobard-box-license
Olaf Braun [Mon, 30 Sep 2024 11:25:13 +0000 (13:25 +0200)]
Merge pull request #6003 from WoltLab/bugfix/acp-dashobard-box-license

Displays an error message if the license information couldn't be fetched

7 weeks agoMerge pull request #6004 from WoltLab/bugfix/language-import
Olaf Braun [Mon, 30 Sep 2024 10:27:17 +0000 (12:27 +0200)]
Merge pull request #6004 from WoltLab/bugfix/language-import

Get the language directly without accessing cache

7 weeks agoGet the language directly without accessing the cache and ignore the `isDisabled...
Cyperghost [Mon, 30 Sep 2024 08:14:04 +0000 (10:14 +0200)]
Get the language directly without accessing the cache and ignore the `isDisabled` flag.

7 weeks agoDisplays an error message if the license information couldn't be fetched.
Cyperghost [Mon, 30 Sep 2024 07:50:13 +0000 (09:50 +0200)]
Displays an error message if the license information couldn't be fetched.

7 weeks agoUpdating minified JavaScript files 6.1.0_Beta_2
WoltLab [Fri, 27 Sep 2024 15:38:06 +0000 (15:38 +0000)]
Updating minified JavaScript files

7 weeks agoFixes the error that the wrong endpoint is called.
Olaf Braun [Fri, 27 Sep 2024 15:31:50 +0000 (17:31 +0200)]
Fixes the error that the wrong endpoint is called.

7 weeks agoRelease 6.1.0 Beta 2
Alexander Ebert [Fri, 27 Sep 2024 14:13:48 +0000 (16:13 +0200)]
Release 6.1.0 Beta 2

7 weeks agoMerge branch '6.0'
Alexander Ebert [Fri, 27 Sep 2024 14:12:52 +0000 (16:12 +0200)]
Merge branch '6.0'

7 weeks agoUpdating minified JavaScript files
WoltLab [Fri, 27 Sep 2024 14:04:54 +0000 (14:04 +0000)]
Updating minified JavaScript files

7 weeks agoUse a tinted border for the user online indicator
Alexander Ebert [Thu, 26 Sep 2024 15:56:01 +0000 (17:56 +0200)]
Use a tinted border for the user online indicator

Fixes #5956

8 weeks agoUpdate reflect-metadata.js
Alexander Ebert [Wed, 25 Sep 2024 14:52:19 +0000 (16:52 +0200)]
Update reflect-metadata.js

8 weeks agoUpdate focus-trap.umd.min.js.map
Alexander Ebert [Wed, 25 Sep 2024 14:49:41 +0000 (16:49 +0200)]
Update focus-trap.umd.min.js.map

8 weeks agoFix the ESLint configuration and a bunch of minor issues
Alexander Ebert [Wed, 25 Sep 2024 14:42:30 +0000 (16:42 +0200)]
Fix the ESLint configuration and a bunch of minor issues

8 weeks agoAdd an update instruction for the next update, to add the `acpTemplate`
Olaf Braun [Wed, 25 Sep 2024 14:37:07 +0000 (16:37 +0200)]
Add an update instruction for the next update, to add the `acpTemplate`

8 weeks agoUpdate focus-trap.umd.min.js
Alexander Ebert [Wed, 25 Sep 2024 14:10:57 +0000 (16:10 +0200)]
Update focus-trap.umd.min.js

8 weeks agoRebuild the web components bundle
Alexander Ebert [Wed, 25 Sep 2024 14:07:39 +0000 (16:07 +0200)]
Rebuild the web components bundle

8 weeks agoUpdate tslib.js
Alexander Ebert [Wed, 25 Sep 2024 14:07:26 +0000 (16:07 +0200)]
Update tslib.js

8 weeks agoMigrate to the new ESLint configuration
Alexander Ebert [Wed, 25 Sep 2024 14:02:11 +0000 (16:02 +0200)]
Migrate to the new ESLint configuration

8 weeks agoUpgrade the NPM dependencies
Alexander Ebert [Wed, 25 Sep 2024 13:56:57 +0000 (15:56 +0200)]
Upgrade the NPM dependencies

8 weeks agoReset the list of attachments when the editor is being reset
Alexander Ebert [Wed, 25 Sep 2024 13:26:48 +0000 (15:26 +0200)]
Reset the list of attachments when the editor is being reset

8 weeks agoReveal the attachments tab when uploading by dropping files
Alexander Ebert [Wed, 25 Sep 2024 13:24:07 +0000 (15:24 +0200)]
Reveal the attachments tab when uploading by dropping files

Fixes #5988

8 weeks agoFix typo
Marcel Werk [Wed, 25 Sep 2024 13:22:36 +0000 (15:22 +0200)]
Fix typo

8 weeks agoAdd styling for maps info window
Marcel Werk [Wed, 25 Sep 2024 13:21:40 +0000 (15:21 +0200)]
Add styling for maps info window

The background-color of the info window is always white, so we have to use hard-coded values here.

8 weeks agoAdd missing info window title
Marcel Werk [Wed, 25 Sep 2024 13:05:03 +0000 (15:05 +0200)]
Add missing info window title

8 weeks agoUpdate dependency for google maps typings
Marcel Werk [Wed, 25 Sep 2024 13:04:50 +0000 (15:04 +0200)]
Update dependency for google maps typings

8 weeks agoMerge branch 'master' of https://github.com/WoltLab/WCF
Marcel Werk [Wed, 25 Sep 2024 12:18:15 +0000 (14:18 +0200)]
Merge branch 'master' of https://github.com/WoltLab/WCF

8 weeks agoUnify phrases
Marcel Werk [Wed, 25 Sep 2024 12:18:08 +0000 (14:18 +0200)]
Unify phrases

ref https://www.woltlab.com/community/thread/307869-language-wcf-acp-box-isdisabled/

8 weeks agoDo not remove the devtools ACP templates. They are not moved to shared templates.
Olaf Braun [Wed, 25 Sep 2024 12:04:35 +0000 (14:04 +0200)]
Do not remove the devtools ACP templates. They are not moved to shared templates.

Closes #5996

8 weeks agoMerge branch '6.0'
Alexander Ebert [Wed, 25 Sep 2024 11:45:34 +0000 (13:45 +0200)]
Merge branch '6.0'

8 weeks agoUpgrade to CKEditor v43.1.1
Alexander Ebert [Wed, 25 Sep 2024 11:44:27 +0000 (13:44 +0200)]
Upgrade to CKEditor v43.1.1

8 weeks agoFix the styling of the "Insert Image" dialog
Alexander Ebert [Wed, 25 Sep 2024 11:39:35 +0000 (13:39 +0200)]
Fix the styling of the "Insert Image" dialog

Fixes #5997

8 weeks agoFix the styling of the accessibility dialog
Alexander Ebert [Wed, 25 Sep 2024 11:31:10 +0000 (13:31 +0200)]
Fix the styling of the accessibility dialog

It’s not perfect but comes close to the appearance of our dialogs.

See https://www.woltlab.com/community/thread/307927-ckeditor-hilfefenster-schrift-im-dunklen-farbschema-kaum-lesbar-layout-schief/

8 weeks agoFix the styling of the accessibility dialog
Alexander Ebert [Wed, 25 Sep 2024 11:31:10 +0000 (13:31 +0200)]
Fix the styling of the accessibility dialog

It’s not perfect but comes close to the appearance of our dialogs.

See https://www.woltlab.com/community/thread/307927-ckeditor-hilfefenster-schrift-im-dunklen-farbschema-kaum-lesbar-layout-schief/

8 weeks agoFix the scaling of images that are too narrow
Alexander Ebert [Wed, 25 Sep 2024 11:05:11 +0000 (13:05 +0200)]
Fix the scaling of images that are too narrow

See https://www.woltlab.com/community/thread/307718-cms-article-teaser-images-are-not-centered/

8 weeks agoValidate the entire package instead of just the path
Alexander Ebert [Wed, 25 Sep 2024 10:55:06 +0000 (12:55 +0200)]
Validate the entire package instead of just the path

The logic inside the JavaScript code depends on the requirements being available which breaks for invalid package files.

See https://www.woltlab.com/community/thread/308143-beta-1-fehler-beim-klick-auf-daten-abgleich-in-entwickler-werkzeuge/

8 weeks agoOnly serve a small set of supported image format statically
Alexander Ebert [Wed, 25 Sep 2024 09:39:48 +0000 (11:39 +0200)]
Only serve a small set of supported image format statically

8 weeks agoMerge branch 'master' of https://github.com/WoltLab/WCF
Marcel Werk [Mon, 23 Sep 2024 08:56:03 +0000 (10:56 +0200)]
Merge branch 'master' of https://github.com/WoltLab/WCF

8 weeks agoImprove error handling of invalid category ids
Marcel Werk [Mon, 23 Sep 2024 08:55:58 +0000 (10:55 +0200)]
Improve error handling of invalid category ids

8 weeks agoGracefully handle `IllegalLinkException` in API actions
Alexander Ebert [Mon, 23 Sep 2024 08:52:50 +0000 (10:52 +0200)]
Gracefully handle `IllegalLinkException` in API actions

2 months agoMerge branch '5.5' into 6.0
Cyperghost [Fri, 20 Sep 2024 08:39:33 +0000 (10:39 +0200)]
Merge branch '5.5' into 6.0

2 months agoEach embedded objectID may only be returned once
Cyperghost [Fri, 20 Sep 2024 08:39:15 +0000 (10:39 +0200)]
Each embedded objectID may only be returned once

See https://www.woltlab.com/community/thread/308272-duplicate-entry-28-27-187-2-for-key-messageembeddedobject/