Tim Düsterhus [Wed, 17 Feb 2021 15:05:54 +0000 (16:05 +0100)]
Return AvatarDecorator in UserProfile::getAvatar()
Tim Düsterhus [Wed, 17 Feb 2021 14:49:39 +0000 (15:49 +0100)]
Implement ISafeFormatAvatar in UserAvatar
Tim Düsterhus [Wed, 17 Feb 2021 14:49:23 +0000 (15:49 +0100)]
Add AvatarDecorator
Tim Düsterhus [Wed, 17 Feb 2021 14:49:05 +0000 (15:49 +0100)]
Add ISafeFormatAvatar
Tim Düsterhus [Wed, 17 Feb 2021 14:36:00 +0000 (15:36 +0100)]
Remove deprecated methods from IUserAvatar interface
Tim Düsterhus [Thu, 18 Feb 2021 10:40:24 +0000 (11:40 +0100)]
Merge pull request #4002 from WoltLab/box-content-loading
Preload box content even for system boxes
Tim Düsterhus [Thu, 18 Feb 2021 10:30:33 +0000 (11:30 +0100)]
Preload box content even for system boxes
Box::getBoxContentTitle() unconditionally loads the box contents for all box
types, because even system boxes might fall back to the box title that is
configured within the ACP.
This might result on O(n) queries when a page has several system boxes.
Fix this issue by preloading the box contents for all boxes.
Tim Düsterhus [Thu, 18 Feb 2021 10:14:57 +0000 (11:14 +0100)]
Add 'name' to the contact form's `Reply-To` Mailbox
Tim Düsterhus [Thu, 18 Feb 2021 10:12:38 +0000 (11:12 +0100)]
Merge branch '5.3'
Tim Düsterhus [Thu, 18 Feb 2021 10:08:05 +0000 (11:08 +0100)]
Fix use of localized recipient email addresses in contact form
Tim Düsterhus [Thu, 18 Feb 2021 09:57:55 +0000 (10:57 +0100)]
Update to setup-node@v2
Tim Düsterhus [Thu, 18 Feb 2021 08:06:42 +0000 (09:06 +0100)]
Merge pull request #3991 from WoltLab/settings-section-anchors
Add anchors to account settings
Tim Düsterhus [Wed, 17 Feb 2021 10:54:27 +0000 (11:54 +0100)]
Return the SystemException's description in extra information only if not empty
see
72ae641557703c600de12c07a04346ba16001251
Tim Düsterhus [Tue, 16 Feb 2021 15:26:35 +0000 (16:26 +0100)]
Fix the visual marking of the markAll checkbox for Controller/Clipboard.ts
During the refactoring to TypeScript it was missed that after matching the
`.columnMark` class another access to `.parentNode` happens:
https://github.com/WoltLab/WCF/blob/
6a623551e6d7a08ffdf7a623aa174e644af7a0d5/wcfsetup/install/files/js/WoltLabSuite/Core/Controller/Clipboard.js#L691
Fixes #3999
Tim Düsterhus [Tue, 16 Feb 2021 14:11:30 +0000 (15:11 +0100)]
Fix calling UserAction::update() for 'counters' only
This fixes:
> Undefined array key "data"
see
21dd1c3dafe4cfdc31748da4aae3027d63316d70
Tim Düsterhus [Tue, 16 Feb 2021 13:20:32 +0000 (14:20 +0100)]
Move `<meta charset="utf-8">` before `<title>` in WCFSetup
see #3802
Tim Düsterhus [Tue, 16 Feb 2021 13:20:08 +0000 (14:20 +0100)]
Move `<meta charset="utf-8">` before `<title>` in exception handler
see #3802
Tim Düsterhus [Tue, 16 Feb 2021 13:19:07 +0000 (14:19 +0100)]
Move `<meta charset="utf-8">` before `<title>` in install.php
see #3802
Tim Düsterhus [Tue, 16 Feb 2021 11:54:29 +0000 (12:54 +0100)]
Merge branch '5.3'
Tim Düsterhus [Tue, 16 Feb 2021 11:40:15 +0000 (12:40 +0100)]
Merge branch '5.2' into 5.3
Tim Düsterhus [Tue, 16 Feb 2021 11:40:03 +0000 (12:40 +0100)]
Merge branch '3.1' into 5.2
Tim Düsterhus [Tue, 16 Feb 2021 11:38:24 +0000 (12:38 +0100)]
Merge branch '3.0' into 3.1
Tim Düsterhus [Tue, 16 Feb 2021 11:37:59 +0000 (12:37 +0100)]
Merge pull request #3997 from WoltLab/major-upgrade-no-upload
Reject major com.woltlab.wcf upgrades via package upload
Tim Düsterhus [Tue, 16 Feb 2021 11:11:21 +0000 (12:11 +0100)]
Reject major com.woltlab.wcf upgrades via package upload
Marcel Werk [Tue, 16 Feb 2021 10:51:40 +0000 (11:51 +0100)]
Merge branch 'master' of https://github.com/WoltLab/WCF
Marcel Werk [Tue, 16 Feb 2021 10:51:37 +0000 (11:51 +0100)]
Added missing literal tag
Tim Düsterhus [Tue, 16 Feb 2021 10:20:17 +0000 (11:20 +0100)]
Fix typo in comment in PackageInstallationConfirmPage
Tim Düsterhus [Tue, 16 Feb 2021 09:03:50 +0000 (10:03 +0100)]
Add prefix to accountSecurity / settings section `id`s
Tim Düsterhus [Tue, 16 Feb 2021 08:29:57 +0000 (09:29 +0100)]
Merge branch '5.3'
Tim Düsterhus [Tue, 16 Feb 2021 08:23:58 +0000 (09:23 +0100)]
Stream the response in ImageProxyAction
see
5fc80baf9a348a63baaaa6fa150b1732adfc9f3c
Tim Düsterhus [Tue, 16 Feb 2021 08:20:54 +0000 (09:20 +0100)]
Merge branch 'master' of github.com:WoltLab/WCF
Tim Düsterhus [Tue, 16 Feb 2021 08:20:38 +0000 (09:20 +0100)]
Merge branch '5.3'
Tim Düsterhus [Tue, 16 Feb 2021 08:18:58 +0000 (09:18 +0100)]
Merge branch '5.2' into 5.3
Sir-Will [Mon, 15 Feb 2021 18:48:20 +0000 (19:48 +0100)]
Fixes twitch clips which contain a dash char
Twitch clips can contain a dash (´-`).
Example: https://clips.twitch.tv/NeighborlyManlyBaconMikeHogu-_9zfXbRK47vik1WO
Resolves #3996
Alexander Ebert [Mon, 15 Feb 2021 19:05:54 +0000 (20:05 +0100)]
The mail notification type was unselectable
Alexander Ebert [Sun, 14 Feb 2021 16:11:32 +0000 (17:11 +0100)]
Merge pull request #3994 from WoltLab/simplify-notification-phrases
Simplify phrases for notifications
Marcel Werk [Sun, 14 Feb 2021 12:58:08 +0000 (13:58 +0100)]
Updated privacy policy regarding profile information of third-party logins
Closes #3925
joshuaruesweg [Sun, 14 Feb 2021 12:37:54 +0000 (13:37 +0100)]
Merge branch '5.2' into 5.3
joshuaruesweg [Sun, 14 Feb 2021 12:35:03 +0000 (13:35 +0100)]
Fix deleting an empty list of objects
It can happen that content that was previously counted no longer exists and therefore fewer runs are required than initially assumed. This can happen if, for example, a user's posts and threads are deleted and the user has only written posts in his or her own threads (the posts are then deleted along with the threads). This may have led to errors before because an empty list of objects was passed.
Marcel Werk [Sun, 14 Feb 2021 12:29:58 +0000 (13:29 +0100)]
Adjusted/unified html attributes for avatars
Marcel Werk [Sun, 14 Feb 2021 11:44:39 +0000 (12:44 +0100)]
Use guest support of UserFunctionTemplatePlugin
See #3989
Marcel Werk [Sat, 13 Feb 2021 20:36:58 +0000 (21:36 +0100)]
Simplify phrases for notifications
See #3958
Tim Düsterhus [Fri, 12 Feb 2021 15:39:16 +0000 (16:39 +0100)]
Merge branch '5.3'
Tim Düsterhus [Fri, 12 Feb 2021 14:55:58 +0000 (15:55 +0100)]
Merge pull request #3992 from WoltLab/export-mail-address-permission
Bind exportMailAddress bulk process to `canEditMailAddress` instead of `canMailUser`
Tim Düsterhus [Fri, 12 Feb 2021 14:46:44 +0000 (15:46 +0100)]
Bind exportMailAddress bulk process to `canEditMailAddress` instead of `canMailUser`
Unfortunately the `permissions` form a logical disjunction, not a conjunction,
thus we can't check both permissions. The `canEditMailAddress` is more fitting,
because even without `canMailUser` the admin could simply look up all users
manually if they are allowed to edit (and thus see) mail addresses. It's just a
larger effort.
Resolves #3963
Tim Düsterhus [Fri, 12 Feb 2021 13:59:02 +0000 (14:59 +0100)]
Make SystemException implement IExtraInformationException
This allows logging the `$description`.
Resolves #3944
Tim Düsterhus [Fri, 12 Feb 2021 13:42:08 +0000 (14:42 +0100)]
Make use of anchors when linking to AccountSecurityPage
Tim Düsterhus [Fri, 12 Feb 2021 13:37:11 +0000 (14:37 +0100)]
Add `id`s to sections in AccountSecurityPage
Tim Düsterhus [Fri, 12 Feb 2021 13:36:32 +0000 (14:36 +0100)]
Add `id`s to sections in SettingsForm
Resolves #3972
Marcel Werk [Fri, 12 Feb 2021 12:51:09 +0000 (13:51 +0100)]
Merge pull request #3990 from WoltLab/guest-user-function-template-plugin
Support guest users in UserFunctionTemplatePlugin
Tim Düsterhus [Fri, 12 Feb 2021 12:47:29 +0000 (13:47 +0100)]
Merge pull request #3987 from WoltLab/visit-tracker-after-registration
Mark contents created before user registration as read
Tim Düsterhus [Fri, 12 Feb 2021 12:46:49 +0000 (13:46 +0100)]
Merge pull request #3986 from WoltLab/wcfsetup-all-languages
Remove language selection from WCFSetup
Marcel Werk [Fri, 12 Feb 2021 12:35:03 +0000 (13:35 +0100)]
Support guest users in UserFunctionTemplatePlugin
Closes #3989
Tim Düsterhus [Fri, 12 Feb 2021 10:50:14 +0000 (11:50 +0100)]
Mark contents created before user registration as read
Resolves #3971
Tim Düsterhus [Fri, 12 Feb 2021 09:57:39 +0000 (10:57 +0100)]
Remove language selection from WCFSetup
see #3969
Tim Düsterhus [Fri, 12 Feb 2021 09:48:37 +0000 (10:48 +0100)]
Merge pull request #3962 from WoltLab/devtools-efficient-scan
Make DevtoolsPackageArchive::openArchive() more efficient
Tim Düsterhus [Fri, 12 Feb 2021 09:38:34 +0000 (10:38 +0100)]
Add return types to anonymous functions
Tim Düsterhus [Thu, 11 Feb 2021 16:00:05 +0000 (17:00 +0100)]
Merge branch '5.3'
Tim Düsterhus [Thu, 11 Feb 2021 15:57:19 +0000 (16:57 +0100)]
Tim Düsterhus [Thu, 11 Feb 2021 15:55:15 +0000 (16:55 +0100)]
Deprecate \wcf\util\exception\HTTPException
see
5ff8745012d43b1bcdc5df3c74a19532379d182f
Tim Düsterhus [Thu, 11 Feb 2021 15:47:32 +0000 (16:47 +0100)]
Deprecated classes and methods related to the master password
see #3698
Tim Düsterhus [Thu, 11 Feb 2021 15:43:54 +0000 (16:43 +0100)]
Remove unused imports
Tim Düsterhus [Thu, 11 Feb 2021 14:43:56 +0000 (15:43 +0100)]
Use HttpFactory::makeClientWithTimeout()
Tim Düsterhus [Thu, 11 Feb 2021 14:40:43 +0000 (15:40 +0100)]
Add HttpFactory::makeClientWithTimeout()
Tim Düsterhus [Thu, 11 Feb 2021 14:37:18 +0000 (15:37 +0100)]
Use proper return types in HttpFactory
Tim Düsterhus [Thu, 11 Feb 2021 14:30:04 +0000 (15:30 +0100)]
Use Guzzle's RequestOptions constants
These allow one to easily view the option's description within the IDE.
Tim Düsterhus [Thu, 11 Feb 2021 11:46:54 +0000 (12:46 +0100)]
Replace GuzzleException by ClientExceptionInterface
ClientExceptionInterface is the standardized Exception and thus preferable.
GuzzleException extends that interface.
Tim Düsterhus [Thu, 11 Feb 2021 11:10:49 +0000 (12:10 +0100)]
Make DevtoolsPackageArchive::openArchive() more efficient
Resolves #3830
Tim Düsterhus [Thu, 11 Feb 2021 08:58:46 +0000 (09:58 +0100)]
Merge branch '5.3'
Marcel Werk [Thu, 11 Feb 2021 08:52:51 +0000 (09:52 +0100)]
Merge branch '5.2' into 5.3
Marcel Werk [Thu, 11 Feb 2021 08:52:33 +0000 (09:52 +0100)]
Additional template event in articleAdd template
Tim Düsterhus [Wed, 10 Feb 2021 15:28:47 +0000 (16:28 +0100)]
Add `RewriteEngine On` to generated Apache mod_rewrite rules
Resolves #3930
Tim Düsterhus [Wed, 10 Feb 2021 10:12:52 +0000 (11:12 +0100)]
Use unicode escape for bullets in BackupMultifactorMethod
Tim Düsterhus [Tue, 9 Feb 2021 11:31:21 +0000 (12:31 +0100)]
Delete unused require.build-acp.js
Tim Düsterhus [Tue, 9 Feb 2021 11:27:44 +0000 (12:27 +0100)]
Set optimize to 'none' for r.js
This was forgotten to commit while adjusting extra/*.
see
e9fa719f372fb3aeb2fa1c1579699164f2ca7fe6
see #3952
Tim Düsterhus [Tue, 9 Feb 2021 11:21:53 +0000 (12:21 +0100)]
Explicitly load tslib
This should resolve #3951, because this performs a blocking load.
Tim Düsterhus [Tue, 9 Feb 2021 08:38:11 +0000 (09:38 +0100)]
Merge pull request #3952 from WoltLab/jsmin-ts
Make extra/* compatible with TypeScript / ES 6
Matthias Schmidt [Mon, 8 Feb 2021 16:35:26 +0000 (17:35 +0100)]
Log user authentication failure type (#3950)
See #3395
Tim Düsterhus [Mon, 8 Feb 2021 14:44:26 +0000 (15:44 +0100)]
Make extra/* compatible with TypeScript / ES 6
Tim Düsterhus [Mon, 8 Feb 2021 08:34:05 +0000 (09:34 +0100)]
Merge pull request #3935 from WoltLab/use-getSubselectForObjectsByTags
Make use of TagEngine::getSubselectForObjectsByTags() in TaggedArticleList
joshuaruesweg [Sun, 7 Feb 2021 18:36:15 +0000 (19:36 +0100)]
Fix editing system pages
joshuaruesweg [Sat, 6 Feb 2021 11:58:03 +0000 (12:58 +0100)]
Fix codestyle
joshuaruesweg [Sat, 6 Feb 2021 11:29:07 +0000 (12:29 +0100)]
Use `User::getUserOptionID` instead of internal cache
Fixes #3936
Tim Düsterhus [Fri, 5 Feb 2021 15:32:12 +0000 (16:32 +0100)]
Merge pull request #3947 from WoltLab/ts-template-circular
Remove the circular dependency between Core/Language and Core/Template
Matthias Schmidt [Fri, 5 Feb 2021 15:20:35 +0000 (16:20 +0100)]
Consistently use "Attention" in English texts
See #3801
Tim Düsterhus [Fri, 5 Feb 2021 15:06:56 +0000 (16:06 +0100)]
Mark Core/Template#compiled as readonly
Tim Düsterhus [Fri, 5 Feb 2021 15:05:26 +0000 (16:05 +0100)]
Use Object.entries() in Core/Language#addObject()
Tim Düsterhus [Fri, 5 Feb 2021 14:55:06 +0000 (15:55 +0100)]
Update MysqlSearchEngine::getFulltextMinimumWordLength() for InnoDB
At the same time copy over the deprecation comment from AbstractSearchEngine.
see
7d059540531e82c12b0aec2ad50e38a6788657cc
Resolves #3948
Matthias Schmidt [Fri, 5 Feb 2021 14:09:31 +0000 (15:09 +0100)]
Constistently print "Achtung" in bold in German language item
See #3801
Matthias Schmidt [Fri, 5 Feb 2021 13:59:39 +0000 (14:59 +0100)]
Consistently use "ungültig" in German language item
See #3801
Matthias Schmidt [Fri, 5 Feb 2021 12:59:50 +0000 (13:59 +0100)]
Add `WCFMessageQuoteManager` interface to replace temporary `any` type (#3949)
Tim Düsterhus [Fri, 5 Feb 2021 11:19:57 +0000 (12:19 +0100)]
Remove the circular dependency between Core/Language and Core/Template
The old work-around for this issue was no longer working well since the
migration to TypeScript. This commit untangles both modules, by each splitting
them into a low level and a high level interface.
The largest change is that language items are compiled when add()ing them to
the language store instead of when get()ting the contents.
This might slightly reduce the initialization performance on pages with a large
number of unused language items and it also might increase memory usage, due to
needing to store functions instead of strings.
It however improves the readability of the code and of course it also fixes
this breakage introduced by TypeScript. If it turns out that the change
actually *is* an issue then the logic can be optimized, e.g. by skipping the
template compiler if no `{` can be found within the phrase that is being
add()ed to the language store.
Matthias Schmidt [Fri, 5 Feb 2021 10:34:20 +0000 (11:34 +0100)]
Merge branch '5.3'
Matthias Schmidt [Fri, 5 Feb 2021 10:33:18 +0000 (11:33 +0100)]
Merge branch '5.2' into 5.3
Matthias Schmidt [Fri, 5 Feb 2021 10:33:03 +0000 (11:33 +0100)]
Fix mixed boolean operators in condition in `TI18nFormField::validate()`
… and improve the preceding comment.
See #3926
Tim Düsterhus [Fri, 5 Feb 2021 10:22:14 +0000 (11:22 +0100)]
Implement Language#addObject() in terms of Language#add()
Matthias Schmidt [Fri, 5 Feb 2021 09:24:50 +0000 (10:24 +0100)]
Use monospace font for language item value fields in devtools
Close #3933
Matthias Schmidt [Fri, 5 Feb 2021 09:09:43 +0000 (10:09 +0100)]
Update `.git-blame-ignore-revs`
Matthias Schmidt [Fri, 5 Feb 2021 09:08:47 +0000 (10:08 +0100)]
Merge pull request #3937 from WoltLab/query_formatting
Improve formatting of SQL queries in PHP code
Matthias Schmidt [Thu, 4 Feb 2021 17:08:56 +0000 (18:08 +0100)]
Split additional joins into multiple lines