GitHub/WoltLab/WCF.git
3 years agoUnbreak WCFSetup
Tim Düsterhus [Mon, 25 Jan 2021 18:04:17 +0000 (19:04 +0100)]
Unbreak WCFSetup

3 years agoDynamic WebP avatars (#3889)
Alexander Ebert [Mon, 25 Jan 2021 16:18:28 +0000 (17:18 +0100)]
Dynamic WebP avatars (#3889)

3 years agoReplace usage of `setObjectTitles()` with `replaceLinks()`
Matthias Schmidt [Mon, 25 Jan 2021 15:31:07 +0000 (16:31 +0100)]
Replace usage of `setObjectTitles()` with `replaceLinks()`

See #3881

3 years agoUse `UserProfileRuntimeCache` instead of `UserProfile::getUserProfiles()`
Matthias Schmidt [Mon, 25 Jan 2021 15:26:13 +0000 (16:26 +0100)]
Use `UserProfileRuntimeCache` instead of `UserProfile::getUserProfiles()`

See #3880

3 years agoNew UI design for the list of attachments (#3890)
Alexander Ebert [Mon, 25 Jan 2021 15:25:16 +0000 (16:25 +0100)]
New UI design for the list of attachments (#3890)

* New UI design for the list of attachments

* Exchange the icon on focus (a11y)

* Improved a11y for attachments

* Inconsistent indentation

* Consistent use of whitespaces

* Fix indentation in en.xml

Co-authored-by: Tim Düsterhus <duesterhus@woltlab.com>
3 years agoReplace usage of `LikeHandler` with `ReactionHandler`
Matthias Schmidt [Mon, 25 Jan 2021 15:13:11 +0000 (16:13 +0100)]
Replace usage of `LikeHandler` with `ReactionHandler`

… whereever possible.

3 years agoStop using `TLegacyUserPropertyAccess`
Matthias Schmidt [Mon, 25 Jan 2021 14:53:14 +0000 (15:53 +0100)]
Stop using `TLegacyUserPropertyAccess`

See #3880

3 years agoAdd dev tools description for flood control object type definition
Matthias Schmidt [Mon, 25 Jan 2021 14:30:10 +0000 (15:30 +0100)]
Add dev tools description for flood control object type definition

See #3892

3 years agoAdd button to delete missing phrases logs for phrases existing now (#3896)
Matthias Schmidt [Mon, 25 Jan 2021 14:22:58 +0000 (15:22 +0100)]
Add button to delete missing phrases logs for phrases existing now (#3896)

Replaces #3716

3 years agoMerge pull request #3893 from WoltLab/deprecate-gravatar
Marcel Werk [Mon, 25 Jan 2021 14:11:20 +0000 (15:11 +0100)]
Merge pull request #3893 from WoltLab/deprecate-gravatar

Deprecate Gravatar support

3 years agoAdd SCSS Prettiering to .git-blame-ignore-revs
Tim Düsterhus [Mon, 25 Jan 2021 14:02:43 +0000 (15:02 +0100)]
Add SCSS Prettiering to .git-blame-ignore-revs

3 years agoUse prettier for SCSS (#3895)
Tim Düsterhus [Mon, 25 Jan 2021 14:02:18 +0000 (15:02 +0100)]
Use prettier for SCSS (#3895)

3 years agoAdd PHPDoc to update scripts
Tim Düsterhus [Mon, 25 Jan 2021 13:45:19 +0000 (14:45 +0100)]
Add PHPDoc to update scripts

3 years agoDeprecate Gravatar support
Tim Düsterhus [Mon, 25 Jan 2021 13:34:34 +0000 (14:34 +0100)]
Deprecate Gravatar support

Resolves #3658

3 years agoFix parsing of packageName / packageDescription in PackageArchive
Tim Düsterhus [Wed, 8 Jul 2020 12:50:28 +0000 (14:50 +0200)]
Fix parsing of packageName / packageDescription in PackageArchive

Previously a lowercase key remained in the returned array.

3 years agoMerge branch '5.3'
Tim Düsterhus [Mon, 25 Jan 2021 12:58:46 +0000 (13:58 +0100)]
Merge branch '5.3'

3 years agoFix bad revert
Tim Düsterhus [Mon, 25 Jan 2021 12:58:27 +0000 (13:58 +0100)]
Fix bad revert

see 6e01c38f9218c5763130f19814f3d5b94cca26be

3 years agoAdd missing trailing comma
Tim Düsterhus [Mon, 25 Jan 2021 12:54:58 +0000 (13:54 +0100)]
Add missing trailing comma

see 3defd8fd276e17db64d261dee805e3df35d6bca2

3 years agoAdd previous commit to .git-blame-ignore-revs
Tim Düsterhus [Mon, 25 Jan 2021 12:45:21 +0000 (13:45 +0100)]
Add previous commit to .git-blame-ignore-revs

3 years agoFix bad merge in EventListenerPackageInstallationPlugin
Tim Düsterhus [Mon, 25 Jan 2021 12:44:53 +0000 (13:44 +0100)]
Fix bad merge in EventListenerPackageInstallationPlugin

3 years agoApply the wcf1_event_listener database migration in 5.4 as well
Tim Düsterhus [Mon, 25 Jan 2021 12:05:50 +0000 (13:05 +0100)]
Apply the wcf1_event_listener database migration in 5.4 as well

see d836d365d30d44c6140dda17f82b9bd245db03e9

3 years agoMerge branch '5.3'
Tim Düsterhus [Mon, 25 Jan 2021 12:03:52 +0000 (13:03 +0100)]
Merge branch '5.3'

3 years agoReformat update_com.woltlab.wcf_5.3.3_db.php to use Tabs
Tim Düsterhus [Mon, 25 Jan 2021 12:02:31 +0000 (13:02 +0100)]
Reformat update_com.woltlab.wcf_5.3.3_db.php to use Tabs

Code style for 5.3 expects tabs, not spaces. PHP CodeSniffer complains.

3 years agoMerge branch '5.3'
Tim Düsterhus [Mon, 25 Jan 2021 12:01:23 +0000 (13:01 +0100)]
Merge branch '5.3'

3 years agoAdd PSR-12 reformatting commits for 5.3 to .git-blame-ignore-revs
Tim Düsterhus [Mon, 25 Jan 2021 11:58:17 +0000 (12:58 +0100)]
Add PSR-12 reformatting commits for 5.3 to .git-blame-ignore-revs

see 6e01c38f9218c5763130f19814f3d5b94cca26be
see 9faac4ad4b5d27f9159e531b645ed3f4088adb3a

3 years agoRevert "Reformat EventListenerPackageInstallationPlugin to PSR-12"
Tim Düsterhus [Mon, 25 Jan 2021 11:53:30 +0000 (12:53 +0100)]
Revert "Reformat EventListenerPackageInstallationPlugin to PSR-12"

This reverts commit 9faac4ad4b5d27f9159e531b645ed3f4088adb3a.

3 years agoMerge pull request #3891 from WoltLab/content-type
Tim Düsterhus [Mon, 25 Jan 2021 11:50:20 +0000 (12:50 +0100)]
Merge pull request #3891 from WoltLab/content-type

Fix content-type response headers

3 years agoDeprecate ACPSession DBO
Tim Düsterhus [Mon, 25 Jan 2021 10:45:11 +0000 (11:45 +0100)]
Deprecate ACPSession DBO

3 years agoRemove obsolete `$session` property from SessionHandler
Tim Düsterhus [Mon, 25 Jan 2021 10:42:32 +0000 (11:42 +0100)]
Remove obsolete `$session` property from SessionHandler

This property was unused.

3 years agoFix content-type for style export
Tim Düsterhus [Mon, 25 Jan 2021 10:06:05 +0000 (11:06 +0100)]
Fix content-type for style export

- Use proper application/gzip
- Remove useless charset

3 years agoAdd `charset=UTF-8` to `Content-Type` header
Tim Düsterhus [Mon, 25 Jan 2021 10:03:58 +0000 (11:03 +0100)]
Add `charset=UTF-8` to `Content-Type` header

Resolves #3856

3 years agoSet ->autoFocus() for UserPasswordField in ReauthenticationForm
Tim Düsterhus [Mon, 25 Jan 2021 09:06:15 +0000 (10:06 +0100)]
Set ->autoFocus() for UserPasswordField in ReauthenticationForm

3 years agoAdd .git-blame-ignore-revs
Tim Düsterhus [Mon, 25 Jan 2021 09:04:44 +0000 (10:04 +0100)]
Add .git-blame-ignore-revs

This is for use with `blame.ignoreRevsFile` in git.

3 years agoMerge branch '5.2' into 5.3
Tim Düsterhus [Mon, 25 Jan 2021 08:18:19 +0000 (09:18 +0100)]
Merge branch '5.2' into 5.3

3 years agoWhitelist `array_fill` in enterprise mode
Tim Düsterhus [Mon, 25 Jan 2021 08:17:56 +0000 (09:17 +0100)]
Whitelist `array_fill` in enterprise mode

3 years agoMerge branch 'reactions-mobile-ux'
Alexander Ebert [Sun, 24 Jan 2021 14:07:13 +0000 (15:07 +0100)]
Merge branch 'reactions-mobile-ux'

3 years agoDisplay the reaction button on mobile
Alexander Ebert [Sun, 24 Jan 2021 12:40:16 +0000 (13:40 +0100)]
Display the reaction button on mobile

See #3888

3 years agoMerge branch '5.3'
Matthias Schmidt [Sun, 24 Jan 2021 12:17:55 +0000 (13:17 +0100)]
Merge branch '5.3'

3 years agoSupport `environment=all` in event listener PIP GUI
Matthias Schmidt [Sun, 24 Jan 2021 12:15:24 +0000 (13:15 +0100)]
Support `environment=all` in event listener PIP GUI

3 years agoReformat EventListenerPackageInstallationPlugin to PSR-12
Matthias Schmidt [Sun, 24 Jan 2021 12:13:38 +0000 (13:13 +0100)]
Reformat EventListenerPackageInstallationPlugin to PSR-12

3 years agoSupport `environment=all` for event listeners in database
Matthias Schmidt [Sun, 24 Jan 2021 12:02:22 +0000 (13:02 +0100)]
Support `environment=all` for event listeners in database

See #3145

3 years agoConvert plain links to user profiles to titled links with username
Matthias Schmidt [Sun, 24 Jan 2021 11:53:33 +0000 (12:53 +0100)]
Convert plain links to user profiles to titled links with username

Close #3657

3 years agoFix `IDatabaseTableColumn::renameTo()` for PHP < 8
Matthias Schmidt [Sun, 24 Jan 2021 11:47:13 +0000 (12:47 +0100)]
Fix `IDatabaseTableColumn::renameTo()` for PHP < 8

3 years agoRogue whitespace
Alexander Ebert [Sat, 23 Jan 2021 15:11:33 +0000 (16:11 +0100)]
Rogue whitespace

3 years agoInconsistent function names and missing types
Alexander Ebert [Sat, 23 Jan 2021 14:52:22 +0000 (15:52 +0100)]
Inconsistent function names and missing types

3 years agoApply PSR-12 code style (#3886)
Tim Düsterhus [Fri, 22 Jan 2021 17:47:40 +0000 (18:47 +0100)]
Apply PSR-12 code style (#3886)

* Apply PSR-12 code style

* Replaces remaining tabs with spaces in `ViewableMedia::getElementTag()`

* Reformat SQL queries using spaces

* Do not use `use function`

phpcs and phpcs-fixer do not agree on how they should be ordered.

* Disable buggy phpcs rules

* Fix PHPDoc placement in install / update scripts

* Ignore more unfixable errors

* Fix a bunch of line length violations

* Fix a bunch of line length violations

* Fix a bunch of line length violations

* Fix a bunch of line length violations

* Fix a bunch of line length violations

* Fix a bunch of line length violations

* Fix a bunch of line length violations

* Fix a bunch of line length violations

* Code style adjustments

* Fix PHPStorm comment stupidity

* Make phpcs happy

* Code style adjustments

* Make phpcs happy

* Stop touching install.php, test.php and core.functions.php using phpcs-fixer

* Properly ignore core.functions.php for phpcs

Co-authored-by: Matthias Schmidt <gravatronics@live.com>
Co-authored-by: Alexander Ebert <ebert@woltlab.com>
3 years agoFix `Ui/Message/Manager.getPermission()` for permissions with dashes
Matthias Schmidt [Fri, 22 Jan 2021 14:12:43 +0000 (15:12 +0100)]
Fix `Ui/Message/Manager.getPermission()` for permissions with dashes

3 years agoFix reaction buttons
Matthias Schmidt [Thu, 21 Jan 2021 15:46:49 +0000 (16:46 +0100)]
Fix reaction buttons

Close #3882

See 1dbe7a6f68083ca5e72cdaa62b46ad0bf2109bf0

3 years agoMake phpcs happy with PasswordUtil
Tim Düsterhus [Thu, 21 Jan 2021 15:12:36 +0000 (16:12 +0100)]
Make phpcs happy with PasswordUtil

3 years agoMerge remote-tracking branch 'origin/master'
Tim Düsterhus [Thu, 21 Jan 2021 15:03:17 +0000 (16:03 +0100)]
Merge remote-tracking branch 'origin/master'

3 years agoMerge branch '5.3'
Tim Düsterhus [Thu, 21 Jan 2021 15:02:54 +0000 (16:02 +0100)]
Merge branch '5.3'

3 years agoMerge pull request #3884 from WoltLab/password-phpbb-combined
Tim Düsterhus [Thu, 21 Jan 2021 15:02:28 +0000 (16:02 +0100)]
Merge pull request #3884 from WoltLab/password-phpbb-combined

Add support for phpBB's combined hash

3 years agoAdd support for phpBB's combined hash
Tim Düsterhus [Wed, 30 Sep 2020 09:39:25 +0000 (11:39 +0200)]
Add support for phpBB's combined hash

Co-authored-by: Alexander Ebert <ebert@woltlab.com>
3 years agoMerge pull request #3858 from WoltLab/session-merge
Tim Düsterhus [Thu, 21 Jan 2021 11:45:06 +0000 (12:45 +0100)]
Merge pull request #3858 from WoltLab/session-merge

Merge Frontend and ACP sessions

3 years agoRemove __reauthenticationLoginAs.tpl from syncTemplates.json
Tim Düsterhus [Thu, 21 Jan 2021 11:28:54 +0000 (12:28 +0100)]
Remove __reauthenticationLoginAs.tpl from syncTemplates.json

They intentionally differ in contents.

3 years agoAdd logout and change user hint to Reauthentication in ACP
Tim Düsterhus [Thu, 21 Jan 2021 11:24:15 +0000 (12:24 +0100)]
Add logout and change user hint to Reauthentication in ACP

3 years agoFix SessionHandler::getCookieTimestep()
Tim Düsterhus [Thu, 21 Jan 2021 10:49:13 +0000 (11:49 +0100)]
Fix SessionHandler::getCookieTimestep()

The previous commit 563510e451c4b9da820a68006b327413b23d0c30 did not actually
use the $window variable in the division.

3 years agoExtend the USER_SESSION_LIFETIME to 60 days
Tim Düsterhus [Thu, 21 Jan 2021 10:48:12 +0000 (11:48 +0100)]
Extend the USER_SESSION_LIFETIME to 60 days

3 years agoAdd com.woltlab.wcf_5.4_session_3_migrate_session.php
Tim Düsterhus [Thu, 21 Jan 2021 10:03:58 +0000 (11:03 +0100)]
Add com.woltlab.wcf_5.4_session_3_migrate_session.php

3 years agoUse a separate reauthentication soft limit within the ACP
Tim Düsterhus [Wed, 20 Jan 2021 16:22:16 +0000 (17:22 +0100)]
Use a separate reauthentication soft limit within the ACP

As of right now the soft limit in the frontend and in the ACP match up. However
in developer mode the soft limit will be extended to the hard limit.

3 years agoClear reauthentication in ACP logout
Tim Düsterhus [Wed, 20 Jan 2021 15:25:32 +0000 (16:25 +0100)]
Clear reauthentication in ACP logout

This will kill access to the ACP without invalidating the frontend session. By
redirecting to the frontend the user can easily perform a full logout.

3 years agoAdd SessionHandler::clearReauthentication()
Tim Düsterhus [Wed, 20 Jan 2021 15:19:34 +0000 (16:19 +0100)]
Add SessionHandler::clearReauthentication()

3 years agoAdd a scoped session variable store
Tim Düsterhus [Wed, 20 Jan 2021 14:57:24 +0000 (15:57 +0100)]
Add a scoped session variable store

This prevents the frontend and ACP from sharing session variables. Most notably
a reauthentication in the frontend does not extend to the ACP.

3 years agoRe-add SessionHandler::$isACP
Tim Düsterhus [Wed, 20 Jan 2021 14:56:47 +0000 (15:56 +0100)]
Re-add SessionHandler::$isACP

This attribute is going to be used to implement a scoped session variable
store.

3 years agoRegister reauthentication after authenticating in LoginForm and MFAuthenticationForm
Tim Düsterhus [Fri, 8 Jan 2021 15:58:12 +0000 (16:58 +0100)]
Register reauthentication after authenticating in LoginForm and MFAuthenticationForm

3 years agoRequire a reauthentication in WCFACP::initAuth()
Tim Düsterhus [Fri, 8 Jan 2021 15:54:26 +0000 (16:54 +0100)]
Require a reauthentication in WCFACP::initAuth()

3 years agoRemove the userID from the session cookie
Tim Düsterhus [Fri, 8 Jan 2021 14:59:12 +0000 (15:59 +0100)]
Remove the userID from the session cookie

It was only added to support the username suggestion in the ACP login.

3 years agoMake SessionHandler::getParsedCookieData() private
Tim Düsterhus [Fri, 8 Jan 2021 14:55:45 +0000 (15:55 +0100)]
Make SessionHandler::getParsedCookieData() private

This method was newly introced in 5.4 to support the username suggestion during ACP login.

3 years agoRemove logic to set the preferred username in ACP's login
Tim Düsterhus [Fri, 8 Jan 2021 14:54:37 +0000 (15:54 +0100)]
Remove logic to set the preferred username in ACP's login

By the removal of the session separation this will always be empty (otherwise
the user would already be logged in).

3 years agoDrop wcf1_acp_session when upgrading from 5.3
Tim Düsterhus [Fri, 8 Jan 2021 15:47:02 +0000 (16:47 +0100)]
Drop wcf1_acp_session when upgrading from 5.3

3 years agoRemove wcf1_acp_session from install.sql
Tim Düsterhus [Fri, 8 Jan 2021 15:14:21 +0000 (16:14 +0100)]
Remove wcf1_acp_session from install.sql

3 years agoRemove ACP sessions from GDPR export
Tim Düsterhus [Fri, 8 Jan 2021 15:05:02 +0000 (16:05 +0100)]
Remove ACP sessions from GDPR export

They'll always be empty anyway.

3 years agoRemove SessionHandler::ACP_SESSION_LIFETIME
Tim Düsterhus [Wed, 20 Jan 2021 16:10:30 +0000 (17:10 +0100)]
Remove SessionHandler::ACP_SESSION_LIFETIME

This constant is unused as of the previous commit.

3 years agoRemove pruning of ACP sessions
Tim Düsterhus [Wed, 20 Jan 2021 16:08:50 +0000 (17:08 +0100)]
Remove pruning of ACP sessions

The table always is empty since the previous commits, so the pruning is no longer required.

3 years agoRemove the `isAcpSession` property from \wcf\system\session\Session
Tim Düsterhus [Wed, 20 Jan 2021 15:35:46 +0000 (16:35 +0100)]
Remove the `isAcpSession` property from \wcf\system\session\Session

This property always was `false` since the removal of the distinction between
frontend and ACP sessions.

3 years agoRemove SessionHandler methods to delete ACP sessions
Tim Düsterhus [Fri, 8 Jan 2021 14:52:10 +0000 (15:52 +0100)]
Remove SessionHandler methods to delete ACP sessions

They were both introduced and deprecated in 5.4.

3 years agoRemove calls to SessionHandler::deleteAcpSessionsExcept()
Tim Düsterhus [Fri, 8 Jan 2021 14:51:38 +0000 (15:51 +0100)]
Remove calls to SessionHandler::deleteAcpSessionsExcept()

This method was deprecated in the previous commit.

3 years agoRemove SessionHandler::$isACP
Tim Düsterhus [Fri, 8 Jan 2021 14:50:45 +0000 (15:50 +0100)]
Remove SessionHandler::$isACP

Since the previous commit this is always `false`.

3 years agoForce SessionHandler::$isACP to be false
Tim Düsterhus [Fri, 8 Jan 2021 14:35:28 +0000 (15:35 +0100)]
Force SessionHandler::$isACP to be false

This causes the ACP to reuse the frontend session. This improves the user
experience for enabled multi-factor authentication, because the ACP will no
longer require both the password *and* an additional MFA code when the user's
web browser is already authenticated in the frontend.

Additionally it will allow to simplify the whole session handling logic, due to
the future removal of several code branches.

This removal of the branches is not yet done to keep this commit simple.

As of right now the ACP will have reduced security compared to the situation in
5.3, because no passwords will be asked either. This will also be fixed in a
future commit by using the reauthentication framework.

3 years agoMerge branch '5.3'
Tim Düsterhus [Thu, 21 Jan 2021 08:39:15 +0000 (09:39 +0100)]
Merge branch '5.3'

3 years agoSet 'stream' to `true` for Guzzle in `HTTPRequest`
Tim Düsterhus [Thu, 21 Jan 2021 08:33:22 +0000 (09:33 +0100)]
Set 'stream' to `true` for Guzzle in `HTTPRequest`

This is required to properly support the 'maxLength' option on endless streams
(such as a web radio). Without setting 'stream' to `true`, Guzzle attempts to
download the entire response body before returning from `->send()`.

3 years agoFix disabling of session ACP expiration in debug + dev mode
Tim Düsterhus [Wed, 20 Jan 2021 16:05:15 +0000 (17:05 +0100)]
Fix disabling of session ACP expiration in debug + dev mode

While this was properly accounted for in SessionHandler::prune() it was not
when loading the session.

3 years agoFix pruning of ACP sessions
Tim Düsterhus [Wed, 20 Jan 2021 16:03:14 +0000 (17:03 +0100)]
Fix pruning of ACP sessions

This fixes a copy and paste mistake in 6096fe159bbcae95b54abe0cfdb8eba0774dffc5.

This mistake did not introduce a security issue, because the session timeout is
also checked when loading the session, instead of just relying on the cronjob
pruning the session.

3 years agoAdd missing PHPDoc tags for new SessionHandler methods
Tim Düsterhus [Wed, 20 Jan 2021 15:22:33 +0000 (16:22 +0100)]
Add missing PHPDoc tags for new SessionHandler methods

- Add missing `@since` tags.
- Add useful `@see` tags.

3 years agoMerge pull request #3883 from WoltLab/access-log-clean
Tim Düsterhus [Wed, 20 Jan 2021 15:15:54 +0000 (16:15 +0100)]
Merge pull request #3883 from WoltLab/access-log-clean

Clean up ACP session log processing

3 years agoConsider an ACP session to be expired after 15 minutes in SessionAccessLogListener
Tim Düsterhus [Fri, 8 Jan 2021 15:11:59 +0000 (16:11 +0100)]
Consider an ACP session to be expired after 15 minutes in SessionAccessLogListener

3 years agoStop accessing wcf1_acp_session in ACP session log
Tim Düsterhus [Fri, 8 Jan 2021 15:08:56 +0000 (16:08 +0100)]
Stop accessing wcf1_acp_session in ACP session log

This access was only used to full the `active` property which is unused.

3 years agoMerge pull request #3873 from WoltLab/user-online-performance
Joshua Rüsweg [Wed, 20 Jan 2021 14:46:44 +0000 (15:46 +0100)]
Merge pull request #3873 from WoltLab/user-online-performance

Fix performance of user online list

3 years agoFix performance of user online list
joshuaruesweg [Tue, 12 Jan 2021 13:45:33 +0000 (14:45 +0100)]
Fix performance of user online list
If the UserStorageHandler has to load all users that are online, this is quite resource intensive in larger communities and the query is very slow. The UserStorageHandler must actually be loaded so that the permissions of the users can be checked to see if they can make themselves invisible. We switch off this check with this commit and assume that users who cannot change this setting are always online.

3 years agoUpdating minified JavaScript files
WoltLab [Wed, 20 Jan 2021 12:15:24 +0000 (12:15 +0000)]
Updating minified JavaScript files

3 years agoMerge branch '5.2' into 5.3
Alexander Ebert [Wed, 20 Jan 2021 12:13:58 +0000 (13:13 +0100)]
Merge branch '5.2' into 5.3

3 years agoUpdating minified JavaScript files
WoltLab [Wed, 20 Jan 2021 12:12:17 +0000 (12:12 +0000)]
Updating minified JavaScript files

3 years agoFix the ACP session cookie value after WCFSetup
Tim Düsterhus [Wed, 20 Jan 2021 09:06:43 +0000 (10:06 +0100)]
Fix the ACP session cookie value after WCFSetup

WCFSetup was not adjusted when making the changes to the cookie format.

see 3b07fad7445f10555cc367eadedb9543565e4943

3 years agoFix typo in de.xml
Tim Düsterhus [Tue, 19 Jan 2021 13:55:52 +0000 (14:55 +0100)]
Fix typo in de.xml

3 years agoMark multi-factor methods as final
Tim Düsterhus [Tue, 19 Jan 2021 13:25:22 +0000 (14:25 +0100)]
Mark multi-factor methods as final

There is no good reason why anyone should be allowed to inherit from these
classes, especially since all the methods are either public or private (and not
protected).

3 years agoMove permission checks for Multifactor forms into checkPermissions()
Tim Düsterhus [Tue, 19 Jan 2021 10:16:35 +0000 (11:16 +0100)]
Move permission checks for Multifactor forms into checkPermissions()

This avoids issues with requestReauthentication() being called for guests.

I verified that none of the actual processing happens before the
checkPermissions() check.

3 years agoRemove call to deprecated HeaderUtil::exceptionDisableGzip();
Tim Düsterhus [Tue, 19 Jan 2021 09:32:59 +0000 (10:32 +0100)]
Remove call to deprecated HeaderUtil::exceptionDisableGzip();

This method is a no-op.

see 91b46ad444a1c0d90ae0c309b1386fbd5919f30b
see #3634
see #3881

3 years agoUse `jslang` in templates instead of `lang`
Matthias Schmidt [Tue, 19 Jan 2021 08:10:43 +0000 (09:10 +0100)]
Use `jslang` in templates instead of `lang`

3 years agoReplace `boolean` with `bool` in PHP documentation
Matthias Schmidt [Tue, 19 Jan 2021 07:49:50 +0000 (08:49 +0100)]
Replace `boolean` with `bool` in PHP documentation

3 years agoReplace `integer` with `int` in PHP documentation
Matthias Schmidt [Tue, 19 Jan 2021 07:20:23 +0000 (08:20 +0100)]
Replace `integer` with `int` in PHP documentation