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'
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 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
Alexander Ebert [Wed, 14 Apr 2021 11:36:56 +0000 (13:36 +0200)]
Merge branch '3.1' into 5.2
Alexander Ebert [Wed, 14 Apr 2021 11:20:59 +0000 (13:20 +0200)]
Release 3.1.22
Matthias Schmidt [Tue, 13 Apr 2021 11:13:38 +0000 (13:13 +0200)]
Add missing permissions check when removing moderated content
Alexander Ebert [Wed, 14 Apr 2021 08:57:36 +0000 (10:57 +0200)]
Improved visuals for code boxes on small screens
Matthias Schmidt [Wed, 14 Apr 2021 08:23:01 +0000 (10:23 +0200)]
Merge branch '5.3'
Matthias Schmidt [Wed, 14 Apr 2021 08:21:14 +0000 (10:21 +0200)]
Only show top add button on empty captcha question list page
Close #4072
Matthias Schmidt [Wed, 14 Apr 2021 05:42:21 +0000 (07:42 +0200)]
Merge branch '5.3'
Matthias Schmidt [Wed, 14 Apr 2021 05:38:54 +0000 (07:38 +0200)]
Merge pull request #4102 from WoltLab/devtools_open_archive
Open archive in `DevtoolsPackageArchive` only once
Matthias Schmidt [Tue, 13 Apr 2021 15:06:56 +0000 (17:06 +0200)]
Only create one `DevtoolsPackageArchive` object in `DevtoolsProject`
Tim Düsterhus [Tue, 13 Apr 2021 14:59:42 +0000 (16:59 +0200)]
Correctly handle a missing .htaccess in the tmp/ folder
see
be81c8401ba16bd1f84fe95f8ca71c372cf548ec
Matthias Schmidt [Tue, 13 Apr 2021 14:41:02 +0000 (16:41 +0200)]
Merge branch '5.3'
Matthias Schmidt [Tue, 13 Apr 2021 14:36:24 +0000 (16:36 +0200)]
Merge pull request #4118 from WoltLab/db_fk_future_tables
Properly handle foreign keys referencing tables created later on
Matthias Schmidt [Tue, 13 Apr 2021 14:21:54 +0000 (16:21 +0200)]
Properly handle foreign keys referencing tables created later on
If a foreign key of the first table references a table to be created later on, this foreign key can only be created once the referenced table was created.
Tim Düsterhus [Tue, 13 Apr 2021 14:20:01 +0000 (16:20 +0200)]
Matthias Schmidt [Tue, 13 Apr 2021 14:01:45 +0000 (16:01 +0200)]
Check if foreign key references unknown database table
joshuaruesweg [Tue, 13 Apr 2021 13:15:48 +0000 (15:15 +0200)]
Make registerField() protected to allow using them in child classes
joshuaruesweg [Tue, 13 Apr 2021 13:04:20 +0000 (15:04 +0200)]
Remove unused isRegistered method
joshuaruesweg [Tue, 13 Apr 2021 12:51:59 +0000 (14:51 +0200)]
Add lazy UploadFormField registration
If request data is to be transferred to the form, the field may otherwise be initialised with incorrect data. For references please see the following bug report: https://community.woltlab.com/thread/288462-uploadformfield-nicht-in-dialogformdocument-m%C3%B6glich/
Alexander Ebert [Tue, 13 Apr 2021 12:13:03 +0000 (14:13 +0200)]
Merge branch '5.3' of https://github.com/WoltLab/WCF into 5.3
Alexander Ebert [Tue, 13 Apr 2021 12:12:54 +0000 (14:12 +0200)]
Avoid one disk write with every request
Matthias Schmidt [Tue, 13 Apr 2021 12:12:49 +0000 (14:12 +0200)]
Fix code style after merge
Matthias Schmidt [Tue, 13 Apr 2021 12:08:45 +0000 (14:08 +0200)]
Merge branch '5.3'
Matthias Schmidt [Tue, 13 Apr 2021 12:03:37 +0000 (14:03 +0200)]
Merge branch '5.2' into 5.3
Matthias Schmidt [Tue, 13 Apr 2021 12:02:59 +0000 (14:02 +0200)]
Fix `reloadPageOnSuccess` from different clipboard actions for same object type
If there are multiple clipboard action classes for the same object type, for example in case a plugin adds further clipboard actions, only the `reloadPageOnSuccess` data of the first clipboard action instance is used instead of collecting the data from all relevant clipboard action instances.
See #2584
Alexander Ebert [Tue, 13 Apr 2021 11:27:32 +0000 (13:27 +0200)]
Merge pull request #4116 from WoltLab/html-processing-performance
Improve the performance of the HTMLOutputProcessor
Alexander Ebert [Mon, 12 Apr 2021 20:14:20 +0000 (22:14 +0200)]
Use `XPath::query()` for its superior performance
Alexander Ebert [Mon, 12 Apr 2021 20:01:30 +0000 (22:01 +0200)]
Use `XPath::query()` for its superior performance
Alexander Ebert [Mon, 12 Apr 2021 19:42:29 +0000 (21:42 +0200)]
`XPath::query()` is much more efficient than `getElementByTagName()`
The test document with ~8k elements took ~0.6s using `getElementsByTagName(*)`, but only 0.03s using `query("//*")`
Alexander Ebert [Mon, 12 Apr 2021 17:30:02 +0000 (19:30 +0200)]
Inline calls in `removeNode()` to improve the simplified-html/plain performance
Alexander Ebert [Mon, 12 Apr 2021 17:21:21 +0000 (19:21 +0200)]
Avoid updates to DOMNodeList for childNodes
Alexander Ebert [Mon, 12 Apr 2021 17:20:54 +0000 (19:20 +0200)]
Avoid live updates to DOMNodeList
The DOMNodeList is a live collection that is updated whenever an item is removed. This can have a significant performance impact when removing a large set of nodes.
Marcel Werk [Mon, 12 Apr 2021 15:03:22 +0000 (17:03 +0200)]
Merge branch '5.2' into 5.3
Marcel Werk [Mon, 12 Apr 2021 15:00:29 +0000 (17:00 +0200)]
Merge branch '3.1' into 5.2
Marcel Werk [Mon, 12 Apr 2021 14:59:49 +0000 (16:59 +0200)]
Updated Google's address in the privacy policy
Alexander Ebert [Mon, 12 Apr 2021 12:59:27 +0000 (14:59 +0200)]
Release 5.3.6