GitHub/WoltLab/WCF.git
2 years agoUse `UserProfileRuntimeCache` to receive user object
joshuaruesweg [Mon, 17 Jan 2022 09:17:26 +0000 (10:17 +0100)]
Use `UserProfileRuntimeCache` to receive user object

2 years agoMerge branch '5.4'
Marcel Werk [Sun, 16 Jan 2022 14:03:27 +0000 (15:03 +0100)]
Merge branch '5.4'

2 years agoError class wasn't shown in box conditions
Marcel Werk [Sun, 16 Jan 2022 14:03:11 +0000 (15:03 +0100)]
Error class wasn't shown in box conditions

2 years agoMerge branch 'master' of https://github.com/WoltLab/WCF
Marcel Werk [Sun, 16 Jan 2022 13:59:38 +0000 (14:59 +0100)]
Merge branch 'master' of https://github.com/WoltLab/WCF

2 years agoIncorrect behavior of legacy inline editors
Alexander Ebert [Sat, 15 Jan 2022 12:47:21 +0000 (13:47 +0100)]
Incorrect behavior of legacy inline editors

Fixes #4633

2 years agoLink the comment counter for articles to the comment section
Alexander Ebert [Fri, 14 Jan 2022 17:12:21 +0000 (18:12 +0100)]
Link the comment counter for articles to the comment section

This commit also fixes the indentation of the template that used spaces instead of tabs.

Closes #4252

2 years agoDeprecate WCF::getAnchor()
Tim Düsterhus [Fri, 14 Jan 2022 13:33:03 +0000 (14:33 +0100)]
Deprecate WCF::getAnchor()

Resolves #4580

2 years agoRemove remaining call to `getAnchor()`
Tim Düsterhus [Fri, 14 Jan 2022 13:05:13 +0000 (14:05 +0100)]
Remove remaining call to `getAnchor()`

This file accidentally wasn't saved and thus not part of the previous commit.

see c8abd7df4a2c0e434964c66ef86d236613e11fe4
see #4580

2 years agoStop using getAnchor() with dynamic targets
Tim Düsterhus [Fri, 14 Jan 2022 12:47:32 +0000 (13:47 +0100)]
Stop using getAnchor() with dynamic targets

see #4580

2 years agoProvide an uninstall button from within the details page of a package
Alexander Ebert [Fri, 14 Jan 2022 12:22:52 +0000 (13:22 +0100)]
Provide an uninstall button from within the details page of a package

Replaces #4631

2 years agoDecrease the visual size of the attachment meta data
Alexander Ebert [Fri, 14 Jan 2022 12:14:15 +0000 (13:14 +0100)]
Decrease the visual size of the attachment meta data

2 years agoMerge pull request #4635 from WoltLab/5.5-comment-max-length
Joshua Rüsweg [Fri, 14 Jan 2022 07:09:57 +0000 (08:09 +0100)]
Merge pull request #4635 from WoltLab/5.5-comment-max-length

Add user group permission for comment length

2 years agoSupport for ACP menu item actions
Alexander Ebert [Thu, 13 Jan 2022 17:56:26 +0000 (18:56 +0100)]
Support for ACP menu item actions

See https://github.com/WoltLab/WCF/issues/3953#issuecomment-1010012633

2 years agoAdd option suffix `chars` for max comment length
joshuaruesweg [Thu, 13 Jan 2022 16:41:34 +0000 (17:41 +0100)]
Add option suffix `chars` for max comment length

2 years agoAdd user group permission for comment length
joshuaruesweg [Thu, 13 Jan 2022 16:34:45 +0000 (17:34 +0100)]
Add user group permission for comment length

Closes #4195

2 years agoMerge pull request #4634 from WoltLab/55-password-strength-levels
Alexander Ebert [Thu, 13 Jan 2022 16:15:34 +0000 (17:15 +0100)]
Merge pull request #4634 from WoltLab/55-password-strength-levels

Improve the password strength scores, introduce level 3 ("strong")

2 years agoSupport for the zxcvbn score of `3`
Alexander Ebert [Thu, 13 Jan 2022 16:07:21 +0000 (17:07 +0100)]
Support for the zxcvbn score of `3`

2 years agoBetter labels for the existing scores
Alexander Ebert [Thu, 13 Jan 2022 16:04:10 +0000 (17:04 +0100)]
Better labels for the existing scores

The old labels implied that the passwords are (very) weak, while they were actually still acceptable, creating a false impression.

2 years agoMerge branch '5.4'
Tim Düsterhus [Thu, 13 Jan 2022 14:39:53 +0000 (15:39 +0100)]
Merge branch '5.4'

2 years agoRelease 5.4.11 dev 1 5.4.11_dev_1
Alexander Ebert [Thu, 13 Jan 2022 13:10:20 +0000 (14:10 +0100)]
Release 5.4.11 dev 1

2 years agoUpdating minified JavaScript files
WoltLab [Thu, 13 Jan 2022 12:33:37 +0000 (12:33 +0000)]
Updating minified JavaScript files

2 years agoSync wysiwyg.tpl
Tim Düsterhus [Thu, 13 Jan 2022 08:49:32 +0000 (09:49 +0100)]
Sync wysiwyg.tpl

2 years agoImproved the accessibility of mobile quick options
Alexander Ebert [Wed, 12 Jan 2022 21:28:28 +0000 (22:28 +0100)]
Improved the accessibility of mobile quick options

2 years agoMerge branch 'master' of https://github.com/WoltLab/WCF
Marcel Werk [Wed, 12 Jan 2022 21:19:40 +0000 (22:19 +0100)]
Merge branch 'master' of https://github.com/WoltLab/WCF

2 years agoFixed broken label
Marcel Werk [Wed, 12 Jan 2022 21:19:39 +0000 (22:19 +0100)]
Fixed broken label

2 years agoRemoved a no longer existing phrase
Alexander Ebert [Wed, 12 Jan 2022 20:56:14 +0000 (21:56 +0100)]
Removed a no longer existing phrase

2 years agoUse a generic label for "More" type buttons
Alexander Ebert [Wed, 12 Jan 2022 20:55:50 +0000 (21:55 +0100)]
Use a generic label for "More" type buttons

2 years agoNew search form prevented display of dialogs
Marcel Werk [Wed, 12 Jan 2022 20:16:20 +0000 (21:16 +0100)]
New search form prevented display of dialogs

Closes #4624

2 years agoSynchronized the templates
Alexander Ebert [Wed, 12 Jan 2022 18:27:55 +0000 (19:27 +0100)]
Synchronized the templates

2 years agoAdded missing ARIA labels
Alexander Ebert [Wed, 12 Jan 2022 17:53:28 +0000 (18:53 +0100)]
Added missing ARIA labels

2 years agoMissing ARIA label for shadow links
Alexander Ebert [Wed, 12 Jan 2022 17:15:54 +0000 (18:15 +0100)]
Missing ARIA label for shadow links

2 years agoDateUtil::formatInterval returned empty string if interval is less than 60 seconds
Marcel Werk [Wed, 12 Jan 2022 16:02:40 +0000 (17:02 +0100)]
DateUtil::formatInterval returned empty string if interval is less than 60 seconds

Closes #4632

2 years agoMissing label for the content interaction buttons
Alexander Ebert [Wed, 12 Jan 2022 15:43:36 +0000 (16:43 +0100)]
Missing label for the content interaction buttons

2 years agoMisspelled ARIA label
Alexander Ebert [Wed, 12 Jan 2022 15:32:36 +0000 (16:32 +0100)]
Misspelled ARIA label

2 years agoImproved the behavior for the page logo
Alexander Ebert [Wed, 12 Jan 2022 15:31:22 +0000 (16:31 +0100)]
Improved the behavior for the page logo

2 years agoMerge branch '5.4'
Tim Düsterhus [Tue, 11 Jan 2022 13:16:39 +0000 (14:16 +0100)]
Merge branch '5.4'

2 years agoRevert "Strip MariaDB replication version hack in MySQLDatabase::getVersion()"
Marcel Werk [Tue, 11 Jan 2022 13:11:37 +0000 (14:11 +0100)]
Revert "Strip MariaDB replication version hack in MySQLDatabase::getVersion()"

This reverts commit bfa8d95d6f016efdedb943c1fe977d89de13406c.

2 years agoMerge branch '5.4'
Tim Düsterhus [Tue, 11 Jan 2022 11:00:07 +0000 (12:00 +0100)]
Merge branch '5.4'

2 years agoReplace legacy HTML tags during paste
Alexander Ebert [Mon, 10 Jan 2022 13:59:52 +0000 (14:59 +0100)]
Replace legacy HTML tags during paste

See https://www.woltlab.com/community/thread/293870-artikel-beim-ersten-abspeichern-b-statt-strong/

2 years agoMerge pull request #4630 from mutec/styleupgrvarf
Tim Düsterhus [Mon, 10 Jan 2022 13:41:12 +0000 (14:41 +0100)]
Merge pull request #4630 from mutec/styleupgrvarf

fixed typo in upgrade instructions for style variables

2 years agofixed typo in upgrade instructions for style variables
mutec [Mon, 10 Jan 2022 13:29:50 +0000 (14:29 +0100)]
fixed typo in upgrade instructions for style variables

2 years agoMerge pull request #4628 from WoltLab/article-comment-counter
Marcel Werk [Mon, 10 Jan 2022 11:24:27 +0000 (12:24 +0100)]
Merge pull request #4628 from WoltLab/article-comment-counter

Count article comments based on ArticleContent

2 years agoApplied code suggestions
Marcel Werk [Mon, 10 Jan 2022 10:49:07 +0000 (11:49 +0100)]
Applied code suggestions

2 years agoRemoved obsolete code
Marcel Werk [Mon, 10 Jan 2022 10:45:33 +0000 (11:45 +0100)]
Removed obsolete code

2 years agoMerge pull request #4629 from WoltLab/mariadb-version-hack
Marcel Werk [Mon, 10 Jan 2022 10:08:36 +0000 (11:08 +0100)]
Merge pull request #4629 from WoltLab/mariadb-version-hack

Strip MariaDB replication version hack in MySQLDatabase::getVersion()

2 years agoUpdate npm dependencies
Tim Düsterhus [Mon, 10 Jan 2022 10:04:39 +0000 (11:04 +0100)]
Update npm dependencies

2 years agoUpdate composer dependencies
Tim Düsterhus [Mon, 10 Jan 2022 09:51:21 +0000 (10:51 +0100)]
Update composer dependencies

2 years agoStrip MariaDB replication version hack in MySQLDatabase::getVersion()
Tim Düsterhus [Mon, 10 Jan 2022 09:47:49 +0000 (10:47 +0100)]
Strip MariaDB replication version hack in MySQLDatabase::getVersion()

Resolves #4626

2 years agoFixed code style
Marcel Werk [Sun, 9 Jan 2022 18:26:18 +0000 (19:26 +0100)]
Fixed code style

2 years agoCount article comments based on ArticleContent
Marcel Werk [Sun, 9 Jan 2022 18:22:21 +0000 (19:22 +0100)]
Count article comments based on ArticleContent

2 years agoDisallowing access to a CMS page now shows an error 403 instead of 404
Alexander Ebert [Sat, 8 Jan 2022 16:41:58 +0000 (17:41 +0100)]
Disallowing access to a CMS page now shows an error 403 instead of 404

2 years agoTreat invalid timestamps as a missing date
Alexander Ebert [Sat, 8 Jan 2022 16:39:30 +0000 (17:39 +0100)]
Treat invalid timestamps as a missing date

2 years agoMerge pull request #4627 from SoftCreatR/patch-3
Alexander Ebert [Sat, 8 Jan 2022 13:57:41 +0000 (14:57 +0100)]
Merge pull request #4627 from SoftCreatR/patch-3

Add size detection for WebP smileys

2 years agoAdded size detection for WebP smileys
Sascha Greuel [Sat, 8 Jan 2022 08:27:38 +0000 (09:27 +0100)]
Added size detection for WebP smileys

2 years agoMissing reset of the WebP flag for cover photos
Alexander Ebert [Fri, 7 Jan 2022 16:35:25 +0000 (17:35 +0100)]
Missing reset of the WebP flag for cover photos

Uploading a GIF after uploading a cover photo with a WebP variant caused the GIF to not show up.

See https://www.woltlab.com/community/thread/293665-gif-bilder-als-titelbild/

2 years agoIncorrect handling of Shift+Enter inside code blocks
Alexander Ebert [Fri, 7 Jan 2022 16:12:36 +0000 (17:12 +0100)]
Incorrect handling of Shift+Enter inside code blocks

See https://www.woltlab.com/community/thread/293723-eingabetaste-erzeugt-weiteren-quellcode-bbcode/

2 years agoMerge branch '5.4'
Tim Düsterhus [Fri, 7 Jan 2022 14:36:31 +0000 (15:36 +0100)]
Merge branch '5.4'

2 years agoMerge pull request #4623 from WoltLab/php8.1-i18n-option
Tim Düsterhus [Fri, 7 Jan 2022 13:52:02 +0000 (14:52 +0100)]
Merge pull request #4623 from WoltLab/php8.1-i18n-option

Fix PHP 8.1 compatibility when saving I18n options

2 years agoDefault missing values to `''` in OptionHandler::validateOption()
Tim Düsterhus [Fri, 7 Jan 2022 08:54:19 +0000 (09:54 +0100)]
Default missing values to `''` in OptionHandler::validateOption()

This is required for PHP 8.1 compatibility of i18n options, as these are
handled separately using I18nHandler.

see b46c272b28ba84892534b31c641a6dd412bb0a1e
see 860e98cff580e299cbbd8cdb7eb50d0113b938cc

2 years agoRevert "Fix PHP 8.1 compatibility when saving I18n options"
Tim Düsterhus [Fri, 7 Jan 2022 08:50:28 +0000 (09:50 +0100)]
Revert "Fix PHP 8.1 compatibility when saving I18n options"

During the discussion within the PR is was decided to opt for a different, less
invasive, fix, because the impact of this change is not really clear.

This reverts commit b46c272b28ba84892534b31c641a6dd412bb0a1e.

2 years agoNested tab menus were not preselected on load
Alexander Ebert [Thu, 6 Jan 2022 19:20:12 +0000 (20:20 +0100)]
Nested tab menus were not preselected on load

See https://www.woltlab.com/community/thread/293819-subtab-direkt-aufrufen-geht-nicht/

2 years agoMerge branch '5.4'
Marcel Werk [Thu, 6 Jan 2022 17:11:23 +0000 (18:11 +0100)]
Merge branch '5.4'

2 years agoMerge branch '5.4' of https://github.com/WoltLab/WCF into 5.4
Marcel Werk [Thu, 6 Jan 2022 17:11:09 +0000 (18:11 +0100)]
Merge branch '5.4' of https://github.com/WoltLab/WCF into 5.4

2 years agosignature_max_image_height caused incorrect size of avatars in quotes within signatures
Marcel Werk [Thu, 6 Jan 2022 17:11:01 +0000 (18:11 +0100)]
signature_max_image_height caused incorrect size of avatars in quotes within signatures

Closes #4625

2 years agoFiltering the user list by a user group discarded the optional columns
Alexander Ebert [Thu, 6 Jan 2022 17:08:45 +0000 (18:08 +0100)]
Filtering the user list by a user group discarded the optional columns

Fix for 9bc86ecf0bd32ed2615023bcf9ae398aafbb23fa

See https://www.woltlab.com/community/thread/293719-detailinfos-innerhalb-benutzergruppen-fehlen-im-acp-seit-update-woltlab-suite-5/

2 years agoMerge pull request #4608 from WoltLab/mobile-menu-v2
Alexander Ebert [Thu, 6 Jan 2022 16:45:39 +0000 (17:45 +0100)]
Merge pull request #4608 from WoltLab/mobile-menu-v2

Overhaul of the mobile menu

2 years agoPage containers did not open on first click
Alexander Ebert [Thu, 6 Jan 2022 16:39:28 +0000 (17:39 +0100)]
Page containers did not open on first click

2 years agoFix PHP 8.1 compatibility when saving I18n options
Tim Düsterhus [Thu, 6 Jan 2022 09:50:13 +0000 (10:50 +0100)]
Fix PHP 8.1 compatibility when saving I18n options

As I18n options are special-cased, they will not be provided in `rawValues`,
thus passing `null` to `->getData()`, which the option types are not prepared
to handle. Before PHP 8.1 this was implicitly treated as an empty string, with
the types introduced to native functions, e.g. `explode()` or `preg_replace()`
this will result in an error.

2 years agoImproved the documentation of modules
Alexander Ebert [Wed, 5 Jan 2022 17:58:31 +0000 (18:58 +0100)]
Improved the documentation of modules

2 years agoMerge pull request #4621 from WoltLab/55-package-update-ui
Alexander Ebert [Tue, 4 Jan 2022 15:35:02 +0000 (16:35 +0100)]
Merge pull request #4621 from WoltLab/55-package-update-ui

Updates the UI/UX for the list of outstanding updates

2 years agoMerge branch 'master' into mobile-menu-v2
Tim Düsterhus [Tue, 4 Jan 2022 15:20:28 +0000 (16:20 +0100)]
Merge branch 'master' into mobile-menu-v2

2 years agoMerge branch 'master' into 55-package-update-ui
Tim Düsterhus [Tue, 4 Jan 2022 15:13:21 +0000 (16:13 +0100)]
Merge branch 'master' into 55-package-update-ui

2 years agoMerge branch '5.4'
Tim Düsterhus [Tue, 4 Jan 2022 15:12:09 +0000 (16:12 +0100)]
Merge branch '5.4'

2 years agoRun prettier on `acp/style/**/*.scss`
Tim Düsterhus [Tue, 4 Jan 2022 15:10:03 +0000 (16:10 +0100)]
Run prettier on `acp/style/**/*.scss`

2 years agoImproved the UI, using a separate phrase for the version update
Alexander Ebert [Tue, 4 Jan 2022 15:06:27 +0000 (16:06 +0100)]
Improved the UI, using a separate phrase for the version update

2 years agoMissing module level comment
Alexander Ebert [Tue, 4 Jan 2022 14:14:27 +0000 (15:14 +0100)]
Missing module level comment

2 years agoIncorrect checkbox behavior
Alexander Ebert [Tue, 4 Jan 2022 14:12:07 +0000 (15:12 +0100)]
Incorrect checkbox behavior

2 years agoForce-enable all updates during an upgrade
Alexander Ebert [Tue, 4 Jan 2022 14:08:08 +0000 (15:08 +0100)]
Force-enable all updates during an upgrade

Fixes #4560

2 years agoRefreshed the UI for the package update view
Alexander Ebert [Tue, 4 Jan 2022 13:25:03 +0000 (14:25 +0100)]
Refreshed the UI for the package update view

2 years agoMerge pull request #4619 from WoltLab/recommend-smtp
Tim Düsterhus [Mon, 3 Jan 2022 14:40:24 +0000 (15:40 +0100)]
Merge pull request #4619 from WoltLab/recommend-smtp

Mark the SMTP email transport as recommended

2 years agoMerge pull request #4615 from WoltLab/55-data-import
Marcel Werk [Mon, 3 Jan 2022 12:52:04 +0000 (13:52 +0100)]
Merge pull request #4615 from WoltLab/55-data-import

Converted data import manager to typescript

2 years agoMerge pull request #4618 from WoltLab/sandbox-implode-loop
Marcel Werk [Mon, 3 Jan 2022 12:31:39 +0000 (13:31 +0100)]
Merge pull request #4618 from WoltLab/sandbox-implode-loop

Sandbox implode loop variables

2 years agoApplied code suggestions
Marcel Werk [Mon, 3 Jan 2022 12:30:40 +0000 (13:30 +0100)]
Applied code suggestions

2 years agoUpdate composer dependencies
Tim Düsterhus [Mon, 3 Jan 2022 11:57:24 +0000 (12:57 +0100)]
Update composer dependencies

2 years agoMerge branch 'master' into mobile-menu-v2
Tim Düsterhus [Mon, 3 Jan 2022 10:01:23 +0000 (11:01 +0100)]
Merge branch 'master' into mobile-menu-v2

2 years agoFix SCSS code style
Tim Düsterhus [Mon, 3 Jan 2022 09:38:35 +0000 (10:38 +0100)]
Fix SCSS code style

see 688e59f11d912acaa3e831aa42ccf83363d9ce24

2 years agoMark the SMTP email transport as recommended
Tim Düsterhus [Mon, 3 Jan 2022 09:21:52 +0000 (10:21 +0100)]
Mark the SMTP email transport as recommended

2 years agoConverted the JavaScript for the package update page
Alexander Ebert [Sun, 2 Jan 2022 16:01:33 +0000 (17:01 +0100)]
Converted the JavaScript for the package update page

2 years agoSandbox implode loop variables
Marcel Werk [Sat, 1 Jan 2022 16:13:01 +0000 (17:13 +0100)]
Sandbox implode loop variables

Closes #4617

2 years agoPrevent blurry dialogs by using CSS grids for positioning
Alexander Ebert [Sat, 1 Jan 2022 15:20:41 +0000 (16:20 +0100)]
Prevent blurry dialogs by using CSS grids for positioning

Fixes #4593

2 years agoMissing return type documentation
Marcel Werk [Sat, 1 Jan 2022 12:56:23 +0000 (13:56 +0100)]
Missing return type documentation

2 years agoCode style fixes
Alexander Ebert [Fri, 31 Dec 2021 18:15:39 +0000 (19:15 +0100)]
Code style fixes

2 years agoMerge branch 'master' into mobile-menu-v2
Alexander Ebert [Fri, 31 Dec 2021 18:09:21 +0000 (19:09 +0100)]
Merge branch 'master' into mobile-menu-v2

2 years agoMinor code improvements
Alexander Ebert [Fri, 31 Dec 2021 18:08:03 +0000 (19:08 +0100)]
Minor code improvements

2 years agoUnified the search bar behavior in the frontend and admin panel
Alexander Ebert [Fri, 31 Dec 2021 18:05:41 +0000 (19:05 +0100)]
Unified the search bar behavior in the frontend and admin panel

2 years agoCleaned up redundant functions
Alexander Ebert [Fri, 31 Dec 2021 17:27:48 +0000 (18:27 +0100)]
Cleaned up redundant functions

2 years agoRemoved the old module for the search bar handling
Alexander Ebert [Fri, 31 Dec 2021 17:16:33 +0000 (18:16 +0100)]
Removed the old module for the search bar handling

2 years agoMerged the search handling into a single module
Alexander Ebert [Fri, 31 Dec 2021 17:14:55 +0000 (18:14 +0100)]
Merged the search handling into a single module

It was previously split between the `Ui/Page/Header/Fixed` and `Ui/Mobile` module. This commit only merges the two with purely compatibility related changes.

2 years agoRemoved "text-transform: uppercase" for better accessibility
Marcel Werk [Fri, 31 Dec 2021 17:09:34 +0000 (18:09 +0100)]
Removed "text-transform: uppercase" for better accessibility

2 years agoSimplified contentHeaderNavigation styling
Marcel Werk [Fri, 31 Dec 2021 16:59:10 +0000 (17:59 +0100)]
Simplified contentHeaderNavigation styling