Matthias Schmidt [Mon, 26 Apr 2021 14:38:53 +0000 (16:38 +0200)]
Fix code style issue
Matthias Schmidt [Mon, 26 Apr 2021 14:32:07 +0000 (16:32 +0200)]
Fix handling of standalone instruction attribute in DevTools
Matthias Schmidt [Mon, 26 Apr 2021 14:22:00 +0000 (16:22 +0200)]
Merge branch '5.3'
Matthias Schmidt [Mon, 26 Apr 2021 14:20:42 +0000 (16:20 +0200)]
Merge branch '5.2' into 5.3
Matthias Schmidt [Mon, 26 Apr 2021 14:20:34 +0000 (16:20 +0200)]
Do not write empty i18n package information in `package.xml`
Matthias Schmidt [Mon, 26 Apr 2021 14:11:19 +0000 (16:11 +0200)]
Force excluded package version in DevTools and support `*`
Close #4151
Matthias Schmidt [Mon, 26 Apr 2021 14:08:25 +0000 (16:08 +0200)]
Fix selector for instruction edit and delete button in DevTools
Tim Düsterhus [Mon, 26 Apr 2021 14:06:05 +0000 (16:06 +0200)]
Merge pull request #4150 from WoltLab/media-lazy
Lazily load media images
Matthias Schmidt [Mon, 26 Apr 2021 13:52:50 +0000 (15:52 +0200)]
Fix variable name in `DevtoolsProjectOptionalPackagesFormField::validate()`
See #4151
Tim Düsterhus [Mon, 26 Apr 2021 12:48:25 +0000 (14:48 +0200)]
Set loading="lazy" in mediaBBCodeTag
see #3980
Tim Düsterhus [Mon, 26 Apr 2021 12:47:35 +0000 (14:47 +0200)]
Actually set width and height in mediaBBCodeTag
Matthias Schmidt [Mon, 26 Apr 2021 08:12:05 +0000 (10:12 +0200)]
Add `PasswordFormField` (#4148)
* Add `PasswordFormField`
* Fix typo in documentation of `PasswordFormField` constructor
Co-authored-by: Joshua Rüsweg <ruesweg@woltlab.com>
Co-authored-by: Joshua Rüsweg <ruesweg@woltlab.com>
Sascha Greuel [Fri, 23 Apr 2021 13:32:11 +0000 (15:32 +0200)]
Add width to smileys (#4145)
As of now, the smiley width is unknown, which may lead in unwanted layout shifting. The proposed change will add the width property to smileys' HTML output.
Tim Düsterhus [Fri, 23 Apr 2021 13:30:22 +0000 (15:30 +0200)]
Merge branch '5.3'
Tim Düsterhus [Fri, 23 Apr 2021 13:28:18 +0000 (15:28 +0200)]
Merge branch '5.2' into 5.3
Tim Düsterhus [Fri, 23 Apr 2021 13:27:49 +0000 (15:27 +0200)]
Merge branch '3.1' into 5.2
Tim Düsterhus [Fri, 23 Apr 2021 13:27:25 +0000 (15:27 +0200)]
Merge pull request #4143 from WoltLab/3.1-fix-sitemap
Fix generating sitemaps with factor 250 objects sitemaps
joshuaruesweg [Fri, 23 Apr 2021 09:32:26 +0000 (11:32 +0200)]
Fix generating sitemaps with factor 250 objects
Tim Düsterhus [Fri, 23 Apr 2021 13:06:24 +0000 (15:06 +0200)]
Update composer dependencies
Tim Düsterhus [Fri, 23 Apr 2021 09:06:27 +0000 (11:06 +0200)]
Add missing UserIgnore::TYPE_HIDE_MESSAGES parameter
This was missed in #4064, because it was recently added.
see
1f559e452754ac0ebaf694499ba9fe30dff2c35f
Tim Düsterhus [Fri, 23 Apr 2021 08:38:34 +0000 (10:38 +0200)]
Merge pull request #4064 from WoltLab/block-variants
Add 'type' to user blocking
Matthias Schmidt [Fri, 23 Apr 2021 06:14:28 +0000 (08:14 +0200)]
Merge branch '5.3'
Matthias Schmidt [Fri, 23 Apr 2021 06:08:01 +0000 (08:08 +0200)]
Merge branch '5.2' into 5.3
Matthias Schmidt [Fri, 23 Apr 2021 06:07:42 +0000 (08:07 +0200)]
Only validate minimum text length if any text is given
The case of no text having been entered and the field being required is already handled separately.
Tim Düsterhus [Thu, 22 Apr 2021 14:42:52 +0000 (16:42 +0200)]
Move form validation to UserIgnoreAction::validateSubmitDialog()
Tim Düsterhus [Thu, 22 Apr 2021 13:47:12 +0000 (15:47 +0200)]
Merge SessionHandler::getSessions() and ::getUserSessions()
The split is obsolete give the removal of ACP sessions.
see
3dcc6f0cbe6a2b20c10290c1ec46ba6ab8bdafe3
Tim Düsterhus [Thu, 22 Apr 2021 13:45:48 +0000 (15:45 +0200)]
Remove SessionHandler::getAcpSessions()
There's no such thing like an ACP session any longer. This method was added in
5.4 and thus can directly be removed again.
see
dca6c80bfded3d7895487e12c78874a884060be2
Tim Düsterhus [Thu, 22 Apr 2021 13:34:49 +0000 (15:34 +0200)]
Use more explicit phrasing for wcf.user.ignore.type.hideMessages
Matthias Schmidt [Thu, 22 Apr 2021 13:33:00 +0000 (15:33 +0200)]
Use `UserUtil::getIpAddress()` instead of deprecated `SessionHandler::$ipAddress`
See #3593
Tim Düsterhus [Thu, 22 Apr 2021 13:14:57 +0000 (15:14 +0200)]
Set 'loading="lazy"' for regular avatars
This is safe and will not cause FOUC, because avatars already have an explicit
width and height specified. I confirmed that the change works correctly in
Firefox 88.
see #3980
WoltLab [Thu, 22 Apr 2021 13:10:54 +0000 (13:10 +0000)]
Updating minified JavaScript files
Tim Düsterhus [Thu, 22 Apr 2021 12:39:20 +0000 (14:39 +0200)]
Fix backwards compatibility of AJAX failure callback
Fixes #4088
Tim Düsterhus [Thu, 18 Mar 2021 13:22:16 +0000 (14:22 +0100)]
Remove the `$type` parameter from the `IgnoredBy` methods in UserProfile
The type of ignore is not relevant when checking whether one is ignored by
another user. In fact it might leak information that the ignoror might not want
to share with the ignoree.
Tim Düsterhus [Tue, 16 Mar 2021 10:42:09 +0000 (11:42 +0100)]
Pass the `$type` parameter to the ignore getters
Tim Düsterhus [Tue, 16 Mar 2021 10:36:46 +0000 (11:36 +0100)]
Add $type parameter to UserProfile::(is|get)Ignored(Users|ByUser)
Tim Düsterhus [Wed, 10 Mar 2021 11:31:37 +0000 (12:31 +0100)]
Deprecate WCF.User.Action.Ignore
Tim Düsterhus [Wed, 10 Mar 2021 11:26:08 +0000 (12:26 +0100)]
Remove 'block' button from 'userInformationButtons'
It still uses the legacy jQuery based JavaScript which does not work well with
the new `type` parameter. Additionally it distracts from more useful buttons.
It's not like users are going to ignore other users en masse.
Tim Düsterhus [Wed, 10 Mar 2021 11:21:51 +0000 (12:21 +0100)]
Add `type` to `wcf1_user_ignore`
Tim Düsterhus [Thu, 22 Apr 2021 09:59:08 +0000 (11:59 +0200)]
Update GitHub Actions to node.js 14
Alexander Ebert [Thu, 22 Apr 2021 09:43:57 +0000 (11:43 +0200)]
Merge pull request #4136 from WoltLab/system-ui-font
Use the OS' native font by default
Alexander Ebert [Thu, 22 Apr 2021 09:02:38 +0000 (11:02 +0200)]
Moved the font stack into class constants
Matthias Schmidt [Thu, 22 Apr 2021 08:08:29 +0000 (10:08 +0200)]
Add `WC::defineLegacyOptions()` (#4137)
Moving these definitions into a dedicated method removes "clutter" from `loadOptions()`.
Matthias Schmidt [Thu, 22 Apr 2021 07:44:17 +0000 (09:44 +0200)]
Add `IApplication::getInstance()`
The existence of `IApplication::getInstance()` was required by the consumer code but not mandated by the interface. In practice, `getInstance()` exists as `AbstractApplication` extends `SingletonFactory`.
Close #3823
Alexander Ebert [Wed, 21 Apr 2021 16:25:35 +0000 (18:25 +0200)]
Use the OS' native font by default
Matthias Schmidt [Wed, 21 Apr 2021 14:48:44 +0000 (16:48 +0200)]
Change `$genericDboActionNames` into private constant in `AbstractEventListener`
Matthias Schmidt [Wed, 21 Apr 2021 14:42:42 +0000 (16:42 +0200)]
Throw exception if `AbstractEventListener` does not handle event
Matthias Schmidt [Wed, 21 Apr 2021 13:48:50 +0000 (15:48 +0200)]
Merge branch '5.3'
Tim Düsterhus [Wed, 21 Apr 2021 13:08:40 +0000 (15:08 +0200)]
Merge pull request #4133 from WoltLab/article-update-outdated
Ensure that the creating of related rows uses up to date article fields
joshuaruesweg [Wed, 21 Apr 2021 12:41:18 +0000 (14:41 +0200)]
Add enable option for unfurled urls
See #4036
Joshua Rüsweg [Wed, 21 Apr 2021 09:55:59 +0000 (11:55 +0200)]
Merge pull request #4135 from WoltLab/httprequest-close-body
Always close Guzzle response body after reading it
joshuaruesweg [Wed, 21 Apr 2021 09:20:27 +0000 (11:20 +0200)]
Always close Guzzle response body after reading it
Marcel Werk [Wed, 21 Apr 2021 09:15:26 +0000 (11:15 +0200)]
Missing parameter in pagination of the article list
Tim Düsterhus [Tue, 20 Apr 2021 14:23:47 +0000 (16:23 +0200)]
Merge pull request #4132 from WoltLab/5.4-upgrade-cookie
Add explanation to update_com.woltlab.wcf_5.4_session_1_cookies.php
Matthias Schmidt [Tue, 20 Apr 2021 14:10:25 +0000 (16:10 +0200)]
Merge branch 'master' of github.com:WoltLab/WCF
Matthias Schmidt [Tue, 20 Apr 2021 14:07:46 +0000 (16:07 +0200)]
Initialize JS user before bootstrapping
See #4123
Matthias Schmidt [Tue, 20 Apr 2021 14:04:42 +0000 (16:04 +0200)]
Merge branch '5.3'
Tim Düsterhus [Tue, 20 Apr 2021 14:00:53 +0000 (16:00 +0200)]
Merge pull request #4134 from WoltLab/domutil-inserHtml
Fix handling of non-Element nodes in DomUtil#insertHtml()
Matthias Schmidt [Tue, 20 Apr 2021 14:00:42 +0000 (16:00 +0200)]
Consider user list box conditions when using cache builder internally
Tim Düsterhus [Tue, 20 Apr 2021 13:52:49 +0000 (15:52 +0200)]
Fix handling of non-Element nodes in DomUtil#insertHtml()
The function was rewritten to make use of simple appendChild() / insertBefore()
calls in combination with a DocumentFragment vs. inserting all children within
the given `html` manually.
This fixes the Twitter Embed functionality if user consent is required.
Tim Düsterhus [Tue, 20 Apr 2021 12:47:33 +0000 (14:47 +0200)]
Ensure that the creating of related rows uses up to date article fields
Previously the code would store outdated data in the search index and recent
activities when changing the article's timestamp while publishing the article
or when changing the article's author.
Tim Düsterhus [Tue, 20 Apr 2021 11:07:04 +0000 (13:07 +0200)]
Add explanation to update_com.woltlab.wcf_5.4_session_1_cookies.php
Resolves #4028
Matthias Schmidt [Tue, 20 Apr 2021 08:28:47 +0000 (10:28 +0200)]
Always use `scrollableCheckboxList` for `MultipleSelectionFormField`
Close #3940
Tim Düsterhus [Mon, 19 Apr 2021 12:48:18 +0000 (14:48 +0200)]
Merge pull request #4130 from WoltLab/actions-php-cs-fixer-ext
Set-up php-cs-fixer using setup-php in codestyle workflow
Tim Düsterhus [Mon, 19 Apr 2021 12:13:48 +0000 (14:13 +0200)]
Set-up php-cs-fixer using setup-php in codestyle workflow
This allows us to easily install extensions.
Matthias Schmidt [Mon, 19 Apr 2021 12:34:32 +0000 (14:34 +0200)]
Add dialog with anonymous/personalized links for RSS feeds (#4123)
Close #3661
Tim Düsterhus [Mon, 19 Apr 2021 11:48:08 +0000 (13:48 +0200)]
Merge branch '5.3'
Tim Düsterhus [Mon, 19 Apr 2021 11:45:19 +0000 (13:45 +0200)]
Merge pull request #4127 from WoltLab/fix-user-storage-handler
Fix requesting multiple times the UserStorage tables if no cache exists
Tim Düsterhus [Mon, 19 Apr 2021 11:42:34 +0000 (13:42 +0200)]
Do not update `confirmTime` for read notifications (#4129)
Co-authored-by: Matthias Schmidt <gravatronics@live.com>
joshuaruesweg [Fri, 16 Apr 2021 10:38:56 +0000 (12:38 +0200)]
Fix requesting multiple times the UserStorage tables if no cache exists
Matthias Schmidt [Sat, 17 Apr 2021 15:12:06 +0000 (17:12 +0200)]
Fix update script to delete language items
Matthias Schmidt [Sat, 17 Apr 2021 15:08:01 +0000 (17:08 +0200)]
Support enabling/disabling `Ui/ItemList/LineBreakSeparatedText`
… to support enabling/disabling user group options.
Matthias Schmidt [Sat, 17 Apr 2021 14:21:29 +0000 (16:21 +0200)]
Add and use `LineBreakSeparatedTextUserGroupOptionType` (#4128)
The internal implementation of `LineBreakSeparatedTextOptionType` and `Ui/ItemList/LineBreakSeparatedText` required minor adjustments for the list to have unique ids and for the input element to be part of the template so that the user group option type works on `UserGroupOptionForm`.
Alexander Ebert [Sat, 17 Apr 2021 10:02:09 +0000 (12:02 +0200)]
Merge branch '5.2' into 5.3
Alexander Ebert [Sat, 17 Apr 2021 10:00:17 +0000 (12:00 +0200)]
Merge branch '3.1' into 5.2
Alexander Ebert [Sat, 17 Apr 2021 10:00:01 +0000 (12:00 +0200)]
Update the number of responses that will be loaded
Matthias Schmidt [Fri, 16 Apr 2021 17:11:43 +0000 (19:11 +0200)]
Add option type for with line break-separated items (#4126)
* Add option type for with line break-separated items
Close #4041
* Apply suggestions from code review
* Use consistent sorting between PHP and JavaScript
* Apply suggestions from code review
Matthias Schmidt [Fri, 16 Apr 2021 16:50:39 +0000 (18:50 +0200)]
Merge branch '5.3'
Alexander Ebert [Fri, 16 Apr 2021 14:15:00 +0000 (16:15 +0200)]
Release 5.3.7
joshuaruesweg [Fri, 16 Apr 2021 12:53:29 +0000 (14:53 +0200)]
Fix missing space in user registration email confirm mails
joshuaruesweg [Fri, 16 Apr 2021 12:52:05 +0000 (14:52 +0200)]
Fix newline handling in user registration notification mails
joshuaruesweg [Fri, 16 Apr 2021 11:27:09 +0000 (13:27 +0200)]
Merge branch 'xopez-patch-1'
Sascha Moser [Thu, 15 Apr 2021 22:38:12 +0000 (00:38 +0200)]
Add qwant to spiderList.xml
Possible User-Agents:
```Mozilla/5.0 (compatible; Qwantify/2.4w; +https://www.qwant.com/)
Mozilla/5.0 (compatible; Qwant-news/2.0; +https://www.qwant.com/)
Mozilla/5.0 (compatible; Qwantify/Bleriot/1.1; +https://help.qwant.com/bot)```
Sascha Moser [Wed, 14 Apr 2021 13:34:36 +0000 (15:34 +0200)]
Add Serpstabot to spiderList.xml
User-Agent: `serpstatbot/1.0 (advanced backlink tracking bot; curl/7.58.0; http://serpstatbot.com/; abuse@serpstatbot.com)`
Sascha Moser [Tue, 13 Apr 2021 22:04:54 +0000 (00:04 +0200)]
Add SEOkicks to spiderList.xml
User-Agent: `Mozilla/5.0 (compatible; SEOkicks; +https://www.seokicks.de/robot.html)`
Matthias Schmidt [Thu, 15 Apr 2021 13:19:41 +0000 (15:19 +0200)]
Add `ClipboardHandler::isMarked()` (#4124)
See WoltLab/com.woltlab.wbb#454
Matthias Schmidt [Thu, 15 Apr 2021 12:39:47 +0000 (14:39 +0200)]
Merge branch '5.3'
Matthias Schmidt [Thu, 15 Apr 2021 12:33:16 +0000 (14:33 +0200)]
Fix `UserNotification::markAllAsConfirmed()` for no unconfirmed notifications
See
81982c717bbb55c36306ede938dc189f01f85592
Matthias Schmidt [Thu, 15 Apr 2021 12:19:22 +0000 (14:19 +0200)]
Include compiled template code in exception logs (#4122)
* Include compiled template code in exception logs
Close #3943
* Highlight error line in exceptions' template context
* Replace `break` with `return` in `getTemplateContextLines()`
Matthias Schmidt [Thu, 15 Apr 2021 08:02:24 +0000 (10:02 +0200)]
Fix clearing of obsolete clipboard buttons
WoltLab [Thu, 15 Apr 2021 07:11:56 +0000 (07:11 +0000)]
Updating minified JavaScript files
Matthias Schmidt [Thu, 15 Apr 2021 05:23:59 +0000 (07:23 +0200)]
Merge branch '5.3'
Joshua Rüsweg [Wed, 14 Apr 2021 20:13:41 +0000 (22:13 +0200)]
Merge pull request #4117 from WoltLab/lazy-uploadformfield-registration
Add lazy UploadFormField registration
Joshua Rüsweg [Wed, 14 Apr 2021 20:05:14 +0000 (22:05 +0200)]
Fix grammar in phpDoc comment
Co-authored-by: Matthias Schmidt <gravatronics@live.com>
Alexander Ebert [Wed, 14 Apr 2021 12:12:00 +0000 (14:12 +0200)]
Merge branch '5.3' of https://github.com/WoltLab/WCF into 5.3
Alexander Ebert [Wed, 14 Apr 2021 12:10:01 +0000 (14:10 +0200)]
Release 5.3.6
Alexander Ebert [Wed, 14 Apr 2021 12:10:01 +0000 (14:10 +0200)]
Release 5.3.14
Alexander Ebert [Wed, 14 Apr 2021 12:06:16 +0000 (14:06 +0200)]
Merge branch '5.2' into 5.3
Matthias Schmidt [Wed, 14 Apr 2021 12:02:33 +0000 (14:02 +0200)]
Add clipboard support for moderation (#4121)
* Add clipboard support for moderation
Close #3774
* Apply suggestions from code review
Co-authored-by: Tim Düsterhus <duesterhus@woltlab.com>
* Use `defaultChecked` property in `Ui/Moderation/Clipboard/AssignUser`
Co-authored-by: Tim Düsterhus <duesterhus@woltlab.com>
WoltLab [Wed, 14 Apr 2021 12:01:06 +0000 (12:01 +0000)]
Updating minified JavaScript files
Alexander Ebert [Wed, 14 Apr 2021 11:39:31 +0000 (13:39 +0200)]
Release 5.2.14