Tim Düsterhus [Thu, 12 May 2022 10:29:34 +0000 (12:29 +0200)]
Remove the `$_REQUEST['styleID']` handling
Resolves #4533
Tim Düsterhus [Thu, 12 May 2022 10:02:31 +0000 (12:02 +0200)]
Simplify generation of random cookie prefix in WCFSetup
Tim Düsterhus [Thu, 12 May 2022 09:26:11 +0000 (11:26 +0200)]
Drop unused constant `URL_TO_LOWERCASE` from default options.inc.php
The option was removed in
f3aa502157efa11ac3c76e8471d69d0ac9f69f1f.
Tim Düsterhus [Thu, 12 May 2022 09:15:27 +0000 (11:15 +0200)]
Merge pull request #4791 from WoltLab/wcfsetup-n
Remove the WCF_N input in WCFSetup
Tim Düsterhus [Thu, 12 May 2022 09:04:02 +0000 (11:04 +0200)]
Remove the WCF_N input in WCFSetup
Users should install separate instances into separate databases for security
reasons. This also avoids issues with users running a non-standard number and
any existing guides / queries not working, because the database tables have a
different name.
Tim Düsterhus [Thu, 12 May 2022 08:44:59 +0000 (10:44 +0200)]
Merge branch 'header-normalize'
Tim Düsterhus [Wed, 11 May 2022 10:50:10 +0000 (12:50 +0200)]
Use `Header::normalize()` in `ImageUtil::browserSupportsWebp()`
see #4534
Tim Düsterhus [Wed, 11 May 2022 10:46:01 +0000 (12:46 +0200)]
Use `Header::normalize()` in `RequestHandler::sendPsr7Response()`
see #4534
Tim Düsterhus [Wed, 11 May 2022 15:06:17 +0000 (17:06 +0200)]
Merge branch '5.5'
Tim Düsterhus [Wed, 11 May 2022 14:57:25 +0000 (16:57 +0200)]
Merge pull request #4784 from WoltLab/require-x64
Require 64-bit support
Tim Düsterhus [Wed, 11 May 2022 14:54:27 +0000 (16:54 +0200)]
Merge pull request #4783 from WoltLab/ts-target
Target es2019 in tsconfig.json
Marcel Werk [Wed, 11 May 2022 13:06:27 +0000 (15:06 +0200)]
Merge pull request #4787 from WoltLab/user-online-list
User online statistics were invisible when all active users were invisible
Tim Düsterhus [Wed, 11 May 2022 12:57:23 +0000 (14:57 +0200)]
Merge branch '5.4' into 5.5
Tim Düsterhus [Wed, 11 May 2022 12:56:48 +0000 (14:56 +0200)]
Merge branch '5.3' into 5.4
Tim Düsterhus [Wed, 11 May 2022 12:56:09 +0000 (14:56 +0200)]
Add the `required` attribute to the recipientID select in contact.tpl
see
a8490749c3ba7014380d55462fc45dd635c1d71c
Tim Düsterhus [Wed, 11 May 2022 12:50:53 +0000 (14:50 +0200)]
Merge branch '5.4' into 5.5
Tim Düsterhus [Wed, 11 May 2022 12:49:48 +0000 (14:49 +0200)]
Merge branch '5.3' into 5.4
Tim Düsterhus [Wed, 11 May 2022 12:49:24 +0000 (14:49 +0200)]
Indicate that selecting a recipient is required in contact.tpl
Tim Düsterhus [Wed, 11 May 2022 12:04:42 +0000 (14:04 +0200)]
Add 64-bit check to update_com.woltlab.wcf_5.5_checkSystemRequirements.php
Tim Düsterhus [Wed, 11 May 2022 12:02:52 +0000 (14:02 +0200)]
Merge branch 'master' into require-x64
Tim Düsterhus [Wed, 11 May 2022 12:02:15 +0000 (14:02 +0200)]
Add update_com.woltlab.wcf_5.5_checkSystemRequirements.php
see
48b47a4a8ba0260d52226c80063ebac081fa719b
Marcel Werk [Wed, 11 May 2022 11:09:44 +0000 (13:09 +0200)]
Applied code suggestions
Marcel Werk [Wed, 11 May 2022 10:25:15 +0000 (12:25 +0200)]
Show legend only when users are listed
Marcel Werk [Wed, 11 May 2022 10:24:06 +0000 (12:24 +0200)]
User online statistics were invisible when all active users were invisible
Tim Düsterhus [Wed, 11 May 2022 09:40:37 +0000 (11:40 +0200)]
Drop obsolete upgrade instructions from 5.4 to 5.5
Tim Düsterhus [Wed, 11 May 2022 09:39:22 +0000 (11:39 +0200)]
Merge branch '5.5'
Tim Düsterhus [Wed, 11 May 2022 09:39:12 +0000 (11:39 +0200)]
Merge branch '5.4' into 5.5
Tim Düsterhus [Wed, 11 May 2022 09:38:47 +0000 (11:38 +0200)]
Drop obsolete update_com.woltlab.wcf_5.4.15_deleteDsStore.php
Tim Düsterhus [Wed, 11 May 2022 09:37:38 +0000 (11:37 +0200)]
Drop obsolete fileDelete_5.5.xml
Tim Düsterhus [Wed, 11 May 2022 09:26:08 +0000 (11:26 +0200)]
Check for 64-bit support in SystemCheckPage
Tim Düsterhus [Wed, 11 May 2022 09:16:18 +0000 (11:16 +0200)]
Require 64-bit PHP in WCFSetup
see #4512
Tim Düsterhus [Wed, 11 May 2022 08:41:46 +0000 (10:41 +0200)]
Merge branch '5.5'
Tim Düsterhus [Wed, 11 May 2022 08:40:35 +0000 (10:40 +0200)]
Fix language items in recommended section of system requirements in WCFSetup
see
3445cbe2a005ead9843d9e17709a915631dd11b5
see
e88d06dc88bc263b7424fbccfa47c13907413b8c
Tim Düsterhus [Wed, 11 May 2022 08:18:04 +0000 (10:18 +0200)]
Target es2019 in tsconfig.json
Resolves #4595
Tim Düsterhus [Wed, 11 May 2022 08:01:03 +0000 (10:01 +0200)]
Run php-cs-fixer using PHP 8.1
Tim Düsterhus [Wed, 11 May 2022 07:58:47 +0000 (09:58 +0200)]
Merge pull request #4782 from WoltLab/system-requirements
Increase minimum PHP requirement
Alexander Ebert [Tue, 10 May 2022 20:58:18 +0000 (22:58 +0200)]
Release 5.5.0 Beta 2
Alexander Ebert [Tue, 10 May 2022 16:06:08 +0000 (18:06 +0200)]
Incorrect dialog position on smartphones
See https://www.woltlab.com/community/thread/295560-neues-thema-erstellen-au%C3%9Ferhalb-des-bildschirms/
Tim Düsterhus [Tue, 10 May 2022 15:36:21 +0000 (17:36 +0200)]
Tim Düsterhus [Mon, 9 May 2022 09:04:51 +0000 (11:04 +0200)]
Upgrade laminas/laminas-httphandlerrunner to 2.1.0
Tim Düsterhus [Mon, 9 May 2022 09:02:43 +0000 (11:02 +0200)]
Tighten up version constraints in composer.json
Tim Düsterhus [Mon, 9 May 2022 09:00:44 +0000 (11:00 +0200)]
Remove obsolete Symfony polyfills
Tim Düsterhus [Mon, 9 May 2022 09:00:13 +0000 (11:00 +0200)]
Update PHP platform version in composer.json
Tim Düsterhus [Mon, 9 May 2022 08:59:06 +0000 (10:59 +0200)]
Remove PHP < 8.1 from php.yml workflow
Tim Düsterhus [Mon, 9 May 2022 08:58:47 +0000 (10:58 +0200)]
Increase minimum PHP version to 8.1.2
Tim Düsterhus [Tue, 10 May 2022 15:33:34 +0000 (17:33 +0200)]
Add the 5.5 branch to GitHub workflows
Alexander Ebert [Tue, 10 May 2022 14:30:34 +0000 (16:30 +0200)]
Release 5.5.0 Beta 1
Alexander Ebert [Tue, 10 May 2022 14:12:26 +0000 (16:12 +0200)]
Removed the upgrade instructions from 5.4.*
WoltLab [Tue, 10 May 2022 13:53:32 +0000 (13:53 +0000)]
Updating minified JavaScript files
Tim Düsterhus [Tue, 10 May 2022 07:26:40 +0000 (09:26 +0200)]
Merge branch '5.4'
Tim Düsterhus [Tue, 10 May 2022 07:25:42 +0000 (09:25 +0200)]
Fix English versions of `wcf.user.security.multifactor.backup.authenticationEmail.body.*`
The phrases contained broken template scripting, due to the use of the `'`
apostroph within a single quoted string.
Alexander Ebert [Mon, 9 May 2022 13:51:17 +0000 (15:51 +0200)]
Dialogs could become too wide with lots of text
Alexander Ebert [Mon, 9 May 2022 12:17:55 +0000 (14:17 +0200)]
Suppress the redundant loading indicator
See https://www.woltlab.com/community/thread/295539-doppelte-ladebalken/
Tim Düsterhus [Mon, 9 May 2022 11:31:31 +0000 (13:31 +0200)]
Merge pull request #4781 from WoltLab/ci-check
Flip only the file name casing on AbstractFileDeletePackageInstallationPlugin::isFilesystemCaseSensitive()
Tim Düsterhus [Mon, 9 May 2022 10:42:53 +0000 (12:42 +0200)]
Add fileDelete_5.5.xml
These files never were part of the git repository, but were accidentally
included in an upgrade package, because an unclean source directory was used
when building the upgrade.
Tim Düsterhus [Mon, 9 May 2022 09:06:38 +0000 (11:06 +0200)]
Flip only the file name casing on AbstractFileDeletePackageInstallationPlugin::isFilesystemCaseSensitive()
Flipping the whole path does not provide any real benefit, because we only care
about whether the file system where WoltLab Suite resides is case sensitive or
not. It does however break when `open_basedir` is configured.
Tim Düsterhus [Mon, 9 May 2022 08:49:45 +0000 (10:49 +0200)]
Merge branch '5.4'
Tim Düsterhus [Fri, 6 May 2022 13:11:45 +0000 (15:11 +0200)]
Remove the codestyle workflow from branches that are not master
Alexander Ebert [Sun, 8 May 2022 11:54:02 +0000 (13:54 +0200)]
Lazy loading the user’s avatar causes flashes
Safari (macOS and iOS) does not handle lazy loaded images above the fold gracefully. This causes the user’s avatar to flicker noticeably on ever page navigation.
Alexander Ebert [Sun, 8 May 2022 11:42:21 +0000 (13:42 +0200)]
Merge pull request #4779 from WoltLab/search-result-pagination
Tracked the result page number in the url
Alexander Ebert [Sun, 8 May 2022 11:38:09 +0000 (13:38 +0200)]
Merge pull request #4777 from WoltLab/article-comment-like-notifications
Notifications about reactions to article comments
Alexander Ebert [Sun, 8 May 2022 11:29:21 +0000 (13:29 +0200)]
Merge pull request #4776 from WoltLab/scroll-to-comments
Scrolling to a comment not visible by default did not work
Marcel Werk [Sat, 7 May 2022 17:11:55 +0000 (19:11 +0200)]
Proper prototype creation
Marcel Werk [Sat, 7 May 2022 17:09:50 +0000 (19:09 +0200)]
Tracked the result page number in the url
Marcel Werk [Sat, 7 May 2022 16:51:22 +0000 (18:51 +0200)]
Proper history navigation for searches
Marcel Werk [Sat, 7 May 2022 16:38:01 +0000 (18:38 +0200)]
Track the page number of search result in the url
Alexander Ebert [Sat, 7 May 2022 16:13:12 +0000 (18:13 +0200)]
Visual separator for specialized search filters
See https://www.woltlab.com/community/thread/295502-kategorie-auswahl-ist-verrutscht/
Marcel Werk [Sat, 7 May 2022 15:42:08 +0000 (17:42 +0200)]
Merge branch '5.4'
Marcel Werk [Sat, 7 May 2022 15:41:59 +0000 (17:41 +0200)]
Merge branch '5.3' into 5.4
Marcel Werk [Sat, 7 May 2022 15:41:46 +0000 (17:41 +0200)]
Merge branch '5.2' into 5.3
Marcel Werk [Sat, 7 May 2022 15:40:48 +0000 (17:40 +0200)]
Revert "Show always an no selection option in custom select options build with the OptionHandler"
This reverts commit
6fef8b82e15794eee5317e6b15bb0670f137315c.
Alexander Ebert [Sat, 7 May 2022 14:59:03 +0000 (16:59 +0200)]
Incorrect margin of `.formSubmit` in dialogs
This was caused by the negative margin introduced in
1d224f10cdd05e7f5d09f869ee1fbbbdff025749 which caused the calculation to be off by 10px, causing a visible gap.
See https://www.woltlab.com/community/thread/295497-fehlerhafte-mobile-darstellung-von-dialogen/
Marcel Werk [Fri, 6 May 2022 21:54:31 +0000 (23:54 +0200)]
Removed obsolete imports
Marcel Werk [Fri, 6 May 2022 21:47:38 +0000 (23:47 +0200)]
Notifications about reactions to article comments
Marcel Werk [Fri, 6 May 2022 21:47:11 +0000 (23:47 +0200)]
Use generic trait in existing notifications for article comments
Marcel Werk [Fri, 6 May 2022 21:46:46 +0000 (23:46 +0200)]
Added generic trait for article comment tests
Marcel Werk [Fri, 6 May 2022 15:57:21 +0000 (17:57 +0200)]
Notification type was not hidden when modules were disabled
Marcel Werk [Fri, 6 May 2022 15:49:54 +0000 (17:49 +0200)]
Scrolling to a comment not visible by default did not work
Alexander Ebert [Fri, 6 May 2022 15:27:59 +0000 (17:27 +0200)]
Inline editors had been not initialized properly
Marcel Werk [Fri, 6 May 2022 15:19:44 +0000 (17:19 +0200)]
Unified phrases
Tim Düsterhus [Fri, 6 May 2022 07:20:09 +0000 (09:20 +0200)]
Merge pull request #4774 from WoltLab/focus-trap-tabbable
Update focus-trap and tabbable npm dependencies
Tim Düsterhus [Fri, 6 May 2022 07:17:19 +0000 (09:17 +0200)]
Fix dependency sync check in javascript.yml
Tim Düsterhus [Fri, 6 May 2022 07:12:15 +0000 (09:12 +0200)]
Add check that dependencies are in sync to javascript.yml
Tim Düsterhus [Thu, 5 May 2022 13:25:48 +0000 (15:25 +0200)]
Update focus-trap and tabbable npm dependencies
Tim Düsterhus [Thu, 5 May 2022 13:24:11 +0000 (15:24 +0200)]
Merge branch '5.4'
Tim Düsterhus [Thu, 5 May 2022 13:23:19 +0000 (15:23 +0200)]
Update npm dependencies
Tim Düsterhus [Thu, 5 May 2022 12:52:05 +0000 (14:52 +0200)]
Add PHP 8.1 to the php.yml workflow
Tim Düsterhus [Thu, 5 May 2022 12:42:57 +0000 (14:42 +0200)]
Drop obsolete exclude in php.yml workflow
This should no longer be required since
123aedf297e0402e6bd3562fe08e2d74e24760d1.
Tim Düsterhus [Thu, 5 May 2022 09:04:03 +0000 (11:04 +0200)]
Update version constraints in composer.json
Require the currently locked versions as the minimum versions.
Tim Düsterhus [Thu, 5 May 2022 07:04:44 +0000 (09:04 +0200)]
Merge pull request #4772 from WoltLab/htmlpurifier-4.14
Update to ezyang/htmlpurifier 4.14.*
Marcel Werk [Wed, 4 May 2022 16:32:08 +0000 (18:32 +0200)]
Labeling for buttons (trash and delete) was identical
Tim Düsterhus [Wed, 4 May 2022 15:32:26 +0000 (17:32 +0200)]
Update to ezyang/htmlpurifier 4.14.*
Tim Düsterhus [Wed, 4 May 2022 15:26:27 +0000 (17:26 +0200)]
Sort dependencies in composer.json
Tim Düsterhus [Wed, 4 May 2022 15:25:13 +0000 (17:25 +0200)]
Add explicit composer dependency for guzzlehttp/psr7
Tim Düsterhus [Wed, 4 May 2022 13:27:22 +0000 (15:27 +0200)]
Remove validation attributes from __sourceCodeFormField.tpl
These are not supported with CodeMirror, because it only syncs the entered data
upon `submit()` which notably runs *after* validation.
see codemirror/CodeMirror#5092
Fixes #4732
Tim Düsterhus [Tue, 3 May 2022 21:36:15 +0000 (23:36 +0200)]
Fix typo in function name in AbstractFileDeletePackageInstallationPlugin
This must be `strtr` not `strstr`.
see #4714
Alexander Ebert [Wed, 4 May 2022 12:34:15 +0000 (14:34 +0200)]
Load the page logo using the `eager` policy
Using `loading="lazy"` for the page logo causes the image to flicker noticeably in Safari on both macOS and iOS.
See https://www.woltlab.com/community/thread/295403-logo-auf-der-startseite-beim-aktualisieren-ein-rechteck/
Tim Düsterhus [Tue, 3 May 2022 13:26:36 +0000 (15:26 +0200)]
Merge branch '5.4'
Tim Düsterhus [Tue, 3 May 2022 13:07:53 +0000 (15:07 +0200)]
Merge pull request #4768 from WoltLab/sitemap-page
Fix handling of CMS pages in sitemap
Tim Düsterhus [Tue, 3 May 2022 11:57:49 +0000 (13:57 +0200)]
Fix handling of CMS pages in sitemap
Delegate the visibility control and access control to the appropriate methods
in \wcf\data\page\Page instead of reimplementing it from scratch. Most notably
the inversion of the page ACL was not implemented correctly within the sitemap.
see
92fba0538afc1d88f411db1a80553af2d17c09b4
Closes #4767
Co-authored-by: mutec <mysterycode@mysterycode.de>