GitHub/WoltLab/WCF.git
3 years agoRemove redundant wcfFontFamily generation for ACP style
Tim Düsterhus [Wed, 3 Feb 2021 14:46:01 +0000 (15:46 +0100)]
Remove redundant wcfFontFamily generation for ACP style

3 years agoFix the use of Google fonts in StyleCompiler
Tim Düsterhus [Wed, 3 Feb 2021 14:43:35 +0000 (15:43 +0100)]
Fix the use of Google fonts in StyleCompiler

3 years agoUse a `/*!` comment for the CSS header
Tim Düsterhus [Wed, 3 Feb 2021 13:42:32 +0000 (14:42 +0100)]
Use a `/*!` comment for the CSS header

This change stops the `Compressed` formatter from removing the comment,
allowing us to remove the `insertHeader()` logic which looked somewhat fragile.

3 years agoPass SCSS instead of files + invididualScss to StyleCompiler::compileStylesheet()
Tim Düsterhus [Wed, 3 Feb 2021 13:40:35 +0000 (14:40 +0100)]
Pass SCSS instead of files + invididualScss to StyleCompiler::compileStylesheet()

3 years agoMake StyleCompiler::compileStylesheet() only compile
Tim Düsterhus [Wed, 3 Feb 2021 13:28:39 +0000 (14:28 +0100)]
Make StyleCompiler::compileStylesheet() only compile

3 years agoAdd StyleCompiler::writeCss()
Tim Düsterhus [Wed, 3 Feb 2021 13:24:20 +0000 (14:24 +0100)]
Add StyleCompiler::writeCss()

3 years agoAdd StyleCompiler::convertToRtl()
Tim Düsterhus [Wed, 3 Feb 2021 13:17:50 +0000 (14:17 +0100)]
Add StyleCompiler::convertToRtl()

3 years agoAdd StyleCompiler::injectHeader()
Tim Düsterhus [Wed, 3 Feb 2021 13:10:43 +0000 (14:10 +0100)]
Add StyleCompiler::injectHeader()

3 years agoRemove the StyleCompiler::$compiler property
Tim Düsterhus [Wed, 3 Feb 2021 11:55:44 +0000 (12:55 +0100)]
Remove the StyleCompiler::$compiler property

State is bad. This method allows to prevent leaking compiler configuration
across multiple unrelated compilation processes.

3 years agoMake the StyleCompiler `final`
Tim Düsterhus [Wed, 3 Feb 2021 12:43:47 +0000 (13:43 +0100)]
Make the StyleCompiler `final`

3 years agoMerge branch '5.3'
Tim Düsterhus [Wed, 3 Feb 2021 15:00:12 +0000 (16:00 +0100)]
Merge branch '5.3'

3 years agoDownload Google fonts before validating the individual SCSS
Tim Düsterhus [Wed, 3 Feb 2021 14:57:05 +0000 (15:57 +0100)]
Download Google fonts before validating the individual SCSS

The individual SCSS will compile the style and this compiled CSS will later be
used for the style itself.

When first downloading a new Google font the font will not yet be available
during this test, thus the necessary CSS will not be included which in turn
will cause the font to fail to display.

3 years agoAdded missing parantheses
Alexander Ebert [Wed, 3 Feb 2021 12:39:33 +0000 (13:39 +0100)]
Added missing parantheses

Stictly speaking this was a bug, but based on how the HTML is laid out, it will never cause any unexpected side effects. Fixing this for the sake of code clarity.

3 years agoAdd explicit parentheses around mixed boolean operators in BooleanUserGroupOptionType
Tim Düsterhus [Wed, 3 Feb 2021 10:03:20 +0000 (11:03 +0100)]
Add explicit parentheses around mixed boolean operators in BooleanUserGroupOptionType

see #3926

3 years agoAdd explicit parentheses around mixed boolean operators in I18nPlural
Tim Düsterhus [Wed, 3 Feb 2021 10:02:25 +0000 (11:02 +0100)]
Add explicit parentheses around mixed boolean operators in I18nPlural

see #3926

3 years agoFix reference URL for Unicode plural rules
Tim Düsterhus [Wed, 3 Feb 2021 09:57:00 +0000 (10:57 +0100)]
Fix reference URL for Unicode plural rules

3 years agoMerge branch '5.2' into 5.3
Tim Düsterhus [Wed, 3 Feb 2021 09:07:47 +0000 (10:07 +0100)]
Merge branch '5.2' into 5.3

3 years agoMerge branch '3.1' into 5.2
Tim Düsterhus [Wed, 3 Feb 2021 09:06:55 +0000 (10:06 +0100)]
Merge branch '3.1' into 5.2

3 years agoMerge branch '3.0' into 3.1
Tim Düsterhus [Wed, 3 Feb 2021 09:06:19 +0000 (10:06 +0100)]
Merge branch '3.0' into 3.1

3 years agoFix typo in phrases
Tim Düsterhus [Wed, 3 Feb 2021 08:18:31 +0000 (09:18 +0100)]
Fix typo in phrases

3 years agoSupport changing moderation queue status of closed entries (#3924)
Matthias Schmidt [Tue, 2 Feb 2021 14:22:52 +0000 (15:22 +0100)]
Support changing moderation queue status of closed entries (#3924)

Close #3227

3 years agoMerge branch '5.3'
Matthias Schmidt [Tue, 2 Feb 2021 12:28:26 +0000 (13:28 +0100)]
Merge branch '5.3'

3 years agoMerge branch '5.2' into 5.3
Matthias Schmidt [Tue, 2 Feb 2021 12:26:39 +0000 (13:26 +0100)]
Merge branch '5.2' into 5.3

3 years agoIgnore name of primary keys during creation (#3921)
Matthias Schmidt [Tue, 2 Feb 2021 12:26:09 +0000 (13:26 +0100)]
Ignore name of primary keys during creation (#3921)

3 years agoMerge pull request #3918 from WoltLab/exporter-init
Tim Düsterhus [Tue, 2 Feb 2021 11:19:25 +0000 (12:19 +0100)]
Merge pull request #3918 from WoltLab/exporter-init

Initialize the exporter only once in ImportWorker

3 years agoFix bad merge / codestyle
Tim Düsterhus [Tue, 2 Feb 2021 10:39:44 +0000 (11:39 +0100)]
Fix bad merge / codestyle

When resolving the conflict in UserAvatarAction due to
621a83b075404f408dd025dfdc2cc55a43466536 it was forgotten to add the leading
backslash.

3 years agoMerge branch '5.3'
Tim Düsterhus [Tue, 2 Feb 2021 10:33:23 +0000 (11:33 +0100)]
Merge branch '5.3'

3 years agoMake 5.4_session_3_migrate_session.php idempotent
Tim Düsterhus [Tue, 2 Feb 2021 10:31:21 +0000 (11:31 +0100)]
Make 5.4_session_3_migrate_session.php idempotent

Fixes #3923

3 years agoLong file name caused SQL error
Marcel Werk [Tue, 2 Feb 2021 10:28:22 +0000 (11:28 +0100)]
Long file name caused SQL error

3 years agoRelease 5.3.4 5.3.4
Alexander Ebert [Mon, 1 Feb 2021 12:07:47 +0000 (13:07 +0100)]
Release 5.3.4

3 years agoMerge branch '5.2' into 5.3
Alexander Ebert [Mon, 1 Feb 2021 12:04:25 +0000 (13:04 +0100)]
Merge branch '5.2' into 5.3

3 years agoRelease 5.2.12 5.2.12
Alexander Ebert [Mon, 1 Feb 2021 12:00:53 +0000 (13:00 +0100)]
Release 5.2.12

3 years agoMerge branch '3.1' into 5.2
Alexander Ebert [Mon, 1 Feb 2021 11:59:33 +0000 (12:59 +0100)]
Merge branch '3.1' into 5.2

3 years agoRelease 3.1.20 3.1.20
Alexander Ebert [Mon, 1 Feb 2021 11:56:07 +0000 (12:56 +0100)]
Release 3.1.20

3 years agoMerge branch '3.0' into 3.1
Alexander Ebert [Mon, 1 Feb 2021 11:55:02 +0000 (12:55 +0100)]
Merge branch '3.0' into 3.1

3 years agoMerge branch '5.3'
Tim Düsterhus [Mon, 1 Feb 2021 11:54:02 +0000 (12:54 +0100)]
Merge branch '5.3'

3 years agoRelease 3.0.26 3.0.26
Alexander Ebert [Mon, 1 Feb 2021 11:50:17 +0000 (12:50 +0100)]
Release 3.0.26

3 years agoMerge branch '5.2' into 5.3
Alexander Ebert [Mon, 1 Feb 2021 11:48:01 +0000 (12:48 +0100)]
Merge branch '5.2' into 5.3

3 years agoMerge branch '3.1' into 5.2
Alexander Ebert [Mon, 1 Feb 2021 11:47:42 +0000 (12:47 +0100)]
Merge branch '3.1' into 5.2

3 years agoMerge branch '3.0' into 3.1
Alexander Ebert [Mon, 1 Feb 2021 11:47:24 +0000 (12:47 +0100)]
Merge branch '3.0' into 3.1

3 years agoMissing check for accessible user groups
Alexander Ebert [Mon, 1 Feb 2021 11:47:09 +0000 (12:47 +0100)]
Missing check for accessible user groups

3 years agoMerge branch '3.0' into 3.1
Alexander Ebert [Mon, 1 Feb 2021 11:38:59 +0000 (12:38 +0100)]
Merge branch '3.0' into 3.1

3 years agoNotify users of the expiring support
Alexander Ebert [Mon, 1 Feb 2021 11:38:49 +0000 (12:38 +0100)]
Notify users of the expiring support

3 years agoMerge branch '3.0' into 3.1
Alexander Ebert [Mon, 1 Feb 2021 11:38:11 +0000 (12:38 +0100)]
Merge branch '3.0' into 3.1

3 years agoIgnore top-level node_modules/
Tim Düsterhus [Fri, 16 Oct 2020 11:57:29 +0000 (13:57 +0200)]
Ignore top-level node_modules/

3 years agoMerge branch '5.3'
Tim Düsterhus [Mon, 1 Feb 2021 10:54:13 +0000 (11:54 +0100)]
Merge branch '5.3'

3 years agoMerge pull request #3920 from WoltLab/http-request-proxy
Tim Düsterhus [Mon, 1 Feb 2021 10:50:35 +0000 (11:50 +0100)]
Merge pull request #3920 from WoltLab/http-request-proxy

Fix HTTPRequest with proxies

3 years agoStream HTTPRequest responses only of a maximum length is desired
Tim Düsterhus [Mon, 1 Feb 2021 10:37:09 +0000 (11:37 +0100)]
Stream HTTPRequest responses only of a maximum length is desired

cURL is not supported for streaming responses. As we process the full response
body for requests without a maximum length there is no benefit to streaming the
response, because we lose cURL support.

3 years agoUpdate Guzzle
Tim Düsterhus [Mon, 1 Feb 2021 10:34:50 +0000 (11:34 +0100)]
Update Guzzle

see guzzle/guzzle#2848
see guzzle/guzzle#2850

3 years agoMerge pull request #3917 from WoltLab/cover-photo-webp-thumbnail
Alexander Ebert [Fri, 29 Jan 2021 19:03:38 +0000 (20:03 +0100)]
Merge pull request #3917 from WoltLab/cover-photo-webp-thumbnail

WebP support for cover photos

3 years agoMerge pull request #3919 from WoltLab/lostpassword_flood
Joshua Rüsweg [Fri, 29 Jan 2021 16:42:09 +0000 (17:42 +0100)]
Merge pull request #3919 from WoltLab/lostpassword_flood

Add LostPassword Flood Control

3 years agoAdd LostPassword Flood Control
joshuaruesweg [Fri, 29 Jan 2021 14:49:26 +0000 (15:49 +0100)]
Add LostPassword Flood Control

3 years agoMerge branch '5.3'
Tim Düsterhus [Fri, 29 Jan 2021 15:24:32 +0000 (16:24 +0100)]
Merge branch '5.3'

3 years agoMerge branch '5.2' into 5.3
Matthias Schmidt [Fri, 29 Jan 2021 15:23:00 +0000 (16:23 +0100)]
Merge branch '5.2' into 5.3

3 years agoFix which index object is used when dropping indices with PHP API
Matthias Schmidt [Fri, 29 Jan 2021 15:22:50 +0000 (16:22 +0100)]
Fix which index object is used when dropping indices with PHP API

Only `$matchingExistingIndex` is guaranteed to have the correct index name.

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

3 years agoMerge branch '5.2' into 5.3
Matthias Schmidt [Fri, 29 Jan 2021 14:55:51 +0000 (15:55 +0100)]
Merge branch '5.2' into 5.3

3 years agoFix checked property when adding indices to `DatabaseTable`
Matthias Schmidt [Fri, 29 Jan 2021 14:55:26 +0000 (15:55 +0100)]
Fix checked property when adding indices to `DatabaseTable`

3 years agoMerge branch '5.2' into 5.3 5.3.3
Alexander Ebert [Fri, 29 Jan 2021 14:25:33 +0000 (15:25 +0100)]
Merge branch '5.2' into 5.3

3 years agoRelease 5.2.11 5.2.11
Alexander Ebert [Fri, 29 Jan 2021 14:01:03 +0000 (15:01 +0100)]
Release 5.2.11

3 years agoMerge branch '3.1' into 5.2
Alexander Ebert [Fri, 29 Jan 2021 13:56:16 +0000 (14:56 +0100)]
Merge branch '3.1' into 5.2

3 years agoRelease 3.1.19 3.1.19
Alexander Ebert [Fri, 29 Jan 2021 13:44:59 +0000 (14:44 +0100)]
Release 3.1.19

3 years agoUpdating minified JavaScript files
WoltLab [Fri, 29 Jan 2021 13:38:27 +0000 (13:38 +0000)]
Updating minified JavaScript files

3 years agoMerge pull request #3911 from WoltLab/master-password
Marcel Werk [Fri, 29 Jan 2021 13:23:24 +0000 (14:23 +0100)]
Merge pull request #3911 from WoltLab/master-password

Deprecate Master Password

3 years agoInitialize the exporter only once in ImportWorker
Tim Düsterhus [Fri, 29 Jan 2021 13:13:36 +0000 (14:13 +0100)]
Initialize the exporter only once in ImportWorker

Resolves #3556

3 years agoMerge branch '5.3'
Tim Düsterhus [Fri, 29 Jan 2021 12:57:45 +0000 (13:57 +0100)]
Merge branch '5.3'

3 years agoDynamically create WebP variants for style imports
Alexander Ebert [Fri, 29 Jan 2021 12:38:06 +0000 (13:38 +0100)]
Dynamically create WebP variants for style imports

3 years agoWebP variant for user cover photos
Alexander Ebert [Thu, 28 Jan 2021 19:24:05 +0000 (20:24 +0100)]
WebP variant for user cover photos

3 years agoForce-enable cover photos
Alexander Ebert [Thu, 28 Jan 2021 18:53:16 +0000 (19:53 +0100)]
Force-enable cover photos

3 years agoGenerate the WebP variants for style cover photos during the upgrade
Alexander Ebert [Thu, 28 Jan 2021 18:37:55 +0000 (19:37 +0100)]
Generate the WebP variants for style cover photos during the upgrade

3 years agoWebP support for style cover photos
Alexander Ebert [Thu, 28 Jan 2021 17:11:19 +0000 (18:11 +0100)]
WebP support for style cover photos

3 years agoMerge branch '5.2' into 5.3
joshuaruesweg [Fri, 29 Jan 2021 12:35:25 +0000 (13:35 +0100)]
Merge branch '5.2' into 5.3

3 years agoMerge branch '3.1' into 5.2
joshuaruesweg [Fri, 29 Jan 2021 12:32:24 +0000 (13:32 +0100)]
Merge branch '3.1' into 5.2

3 years agoFix converting float value to integer
joshuaruesweg [Fri, 29 Jan 2021 12:30:56 +0000 (13:30 +0100)]
Fix converting float value to integer

3 years agoAdd reformatting of constants.php to .git-blame-ignore-revs
Tim Düsterhus [Fri, 29 Jan 2021 10:49:54 +0000 (11:49 +0100)]
Add reformatting of constants.php to .git-blame-ignore-revs

3 years agoAdd backslash before define() in constants.php
Tim Düsterhus [Fri, 29 Jan 2021 10:43:56 +0000 (11:43 +0100)]
Add backslash before define() in constants.php

3 years agoIncorrect comparison for the height of an image
Alexander Ebert [Thu, 28 Jan 2021 17:42:18 +0000 (18:42 +0100)]
Incorrect comparison for the height of an image

3 years agoMissing update of the version number in `wcf\system\WCF`
Alexander Ebert [Thu, 28 Jan 2021 17:14:42 +0000 (18:14 +0100)]
Missing update of the version number in `wcf\system\WCF`

3 years agoUse stronger wording in master password deprecation notice
Tim Düsterhus [Thu, 28 Jan 2021 12:37:50 +0000 (13:37 +0100)]
Use stronger wording in master password deprecation notice

3 years agoMerge pull request #3912 from WoltLab/blocklist-deprecation
Tim Düsterhus [Thu, 28 Jan 2021 11:17:13 +0000 (12:17 +0100)]
Merge pull request #3912 from WoltLab/blocklist-deprecation

Deprecate the client blocklists

3 years agoBump version to 5.4.0 Alpha 1
Tim Düsterhus [Thu, 28 Jan 2021 10:57:00 +0000 (11:57 +0100)]
Bump version to 5.4.0 Alpha 1

The current development state diverged quite a lot from 5.3. Adjust the version
to prevent accidents with the developer tools.

3 years agoFix .gitattributes for Template.grammar.js
Tim Düsterhus [Thu, 28 Jan 2021 10:39:39 +0000 (11:39 +0100)]
Fix .gitattributes for Template.grammar.js

The `ts/` folder now resides in the root of the repository.

3 years agoAdd ILoggingAwareException
Tim Düsterhus [Thu, 28 Jan 2021 10:26:38 +0000 (11:26 +0100)]
Add ILoggingAwareException

3 years agoAdd types for functions in core.functions.php
Tim Düsterhus [Thu, 28 Jan 2021 10:20:17 +0000 (11:20 +0100)]
Add types for functions in core.functions.php

These cannot be inherited from, thus we can add the types without breaking
compatibility.

3 years agoMerge pull request #3915 from WoltLab/composer
Tim Düsterhus [Thu, 28 Jan 2021 10:17:29 +0000 (11:17 +0100)]
Merge pull request #3915 from WoltLab/composer

Update composer dependencies

3 years agoIgnore symfony/polyfill-mbstring/bootstrap80.php during syntax check
Tim Düsterhus [Thu, 28 Jan 2021 10:00:24 +0000 (11:00 +0100)]
Ignore symfony/polyfill-mbstring/bootstrap80.php during syntax check

3 years agoUpdate composer dependencies
Tim Düsterhus [Thu, 28 Jan 2021 09:49:42 +0000 (10:49 +0100)]
Update composer dependencies

3 years agoRemove bogus extra newline in WCF.class.php
Tim Düsterhus [Thu, 28 Jan 2021 09:04:39 +0000 (10:04 +0100)]
Remove bogus extra newline in WCF.class.php

3 years agoDeprecate blacklist_ip_addresses and blacklist_user_agents
Tim Düsterhus [Thu, 28 Jan 2021 08:58:12 +0000 (09:58 +0100)]
Deprecate blacklist_ip_addresses and blacklist_user_agents

Resolves #3909

3 years agoRemove the `blacklist_hostnames` option
Tim Düsterhus [Thu, 28 Jan 2021 08:51:10 +0000 (09:51 +0100)]
Remove the `blacklist_hostnames` option

The hostname blocklist requires a PTR lookup for every single request. This is
slow and unreliable.

see #3909

3 years agoShow deprecation message on master password authentication
Tim Düsterhus [Thu, 28 Jan 2021 08:45:27 +0000 (09:45 +0100)]
Show deprecation message on master password authentication

Resolves #3698

3 years agoMark the master password as deprecated in the option description
Tim Düsterhus [Thu, 28 Jan 2021 08:26:54 +0000 (09:26 +0100)]
Mark the master password as deprecated in the option description

see #3698

3 years agoFix formatting in LogoutAction
Tim Düsterhus [Thu, 28 Jan 2021 08:35:22 +0000 (09:35 +0100)]
Fix formatting in LogoutAction

Apparently the editor on GitHub.com defaults to tabs, even if the whole file consists of spaces only.

3 years agoClear the master password on ACP logout
Tim Düsterhus [Thu, 28 Jan 2021 08:33:28 +0000 (09:33 +0100)]
Clear the master password on ACP logout

3 years agoRelease 5.3.3
Alexander Ebert [Wed, 27 Jan 2021 17:36:18 +0000 (18:36 +0100)]
Release 5.3.3

3 years agoAdd previous commit to .git-blame-ignore-revs
Tim Düsterhus [Wed, 27 Jan 2021 16:30:36 +0000 (17:30 +0100)]
Add previous commit to .git-blame-ignore-revs

3 years agoFix bad merge
Tim Düsterhus [Wed, 27 Jan 2021 16:28:25 +0000 (17:28 +0100)]
Fix bad merge

see 521f18fb9505d68091945d6ee484277dac89645c
see fa8aae2ad5f9299fdbce5feed23fe03a4fb335d4

3 years agoMerge branch '5.3'
Marcel Werk [Wed, 27 Jan 2021 16:23:53 +0000 (17:23 +0100)]
Merge branch '5.3'

3 years agoObject edit link led to the admin panel
Marcel Werk [Wed, 27 Jan 2021 16:14:41 +0000 (17:14 +0100)]
Object edit link led to the admin panel

3 years agoMerge branch '5.3'
Tim Düsterhus [Wed, 27 Jan 2021 15:32:32 +0000 (16:32 +0100)]
Merge branch '5.3'