[Web] Fix mailbox editing when password is unchanged, fix adding new administrator (fixes #4054, fixes #4053); [Web] Update libs, add LDAP for future admin/domain admin authentication

This commit is contained in:
andryyy
2021-04-13 21:34:47 +02:00
parent 75c313ca92
commit 19843cc786
1623 changed files with 131949 additions and 2288 deletions

View File

@@ -311,8 +311,10 @@ class ClassLoader
spl_autoload_register(array($this, 'loadClass'), true, $prepend);
if (null === $this->vendorDir) {
//no-op
} elseif ($prepend) {
return;
}
if ($prepend) {
self::$registeredLoaders = array($this->vendorDir => $this) + self::$registeredLoaders;
} else {
unset(self::$registeredLoaders[$this->vendorDir]);

View File

@@ -55,12 +55,21 @@ private static $installed = array (
),
'ddeboer/imap' =>
array (
'pretty_version' => '1.11.0',
'version' => '1.11.0.0',
'pretty_version' => '1.12.0',
'version' => '1.12.0.0',
'aliases' =>
array (
),
'reference' => 'a089dfcb9d177f921eb5dadc8d4144a44dff22ee',
'reference' => 'f0e02bb82cdfbffa5c064be090e0b4c15edbf684',
),
'directorytree/ldaprecord' =>
array (
'pretty_version' => 'v2.4.2',
'version' => '2.4.2.0',
'aliases' =>
array (
),
'reference' => '5da929cc94d5ceb2ad1909f0f2f9b4510616b111',
),
'exorus/php-mime-mail-parser' =>
array (
@@ -69,6 +78,15 @@ private static $installed = array (
0 => '*',
),
),
'illuminate/contracts' =>
array (
'pretty_version' => 'v8.36.2',
'version' => '8.36.2.0',
'aliases' =>
array (
),
'reference' => '5764f703ea8f74ced163125d810951cd5ef2b7e1',
),
'matthiasmullie/minify' =>
array (
'pretty_version' => '1.3.66',
@@ -103,6 +121,15 @@ private static $installed = array (
),
'reference' => '4627c838b16550b666d15aeae1e5289dd5b77da0',
),
'nesbot/carbon' =>
array (
'pretty_version' => '2.46.0',
'version' => '2.46.0.0',
'aliases' =>
array (
),
'reference' => '2fd2c4a77d58a4e95234c8a61c5df1f157a91bf4',
),
'paragonie/random_compat' =>
array (
'pretty_version' => 'v9.99.100',
@@ -123,21 +150,48 @@ private static $installed = array (
),
'phpmailer/phpmailer' =>
array (
'pretty_version' => 'v6.3.0',
'version' => '6.3.0.0',
'pretty_version' => 'v6.4.0',
'version' => '6.4.0.0',
'aliases' =>
array (
),
'reference' => '4a08cf4cdd2c38d12ee2b9fa69e5d235f37a6dcb',
'reference' => '050d430203105c27c30efd1dce7aa421ad882d01',
),
'psr/container' =>
array (
'pretty_version' => '1.1.1',
'version' => '1.1.1.0',
'aliases' =>
array (
),
'reference' => '8622567409010282b7aeebe4bb841fe98b58dcaf',
),
'psr/log' =>
array (
'pretty_version' => '1.1.3',
'version' => '1.1.3.0',
'aliases' =>
array (
),
'reference' => '0f73288fd15629204f9d42b7055f72dacbe811fc',
),
'psr/simple-cache' =>
array (
'pretty_version' => '1.0.1',
'version' => '1.0.1.0',
'aliases' =>
array (
),
'reference' => '408d5eafb83c57f6365a3ca330ff23aa4a5fa39b',
),
'robthree/twofactorauth' =>
array (
'pretty_version' => '1.7.0',
'version' => '1.7.0.0',
'pretty_version' => '1.8.0',
'version' => '1.8.0.0',
'aliases' =>
array (
),
'reference' => '37983bf675c5baca09d19d6705170489d0df0002',
'reference' => '30a38627ae1e7c9399dae67e265063cd6ec5276c',
),
'soundasleep/html2text' =>
array (
@@ -148,6 +202,67 @@ private static $installed = array (
),
'reference' => 'cdb89f6ffa2c4cc78f8ed9ea6ee0594a9133ccad',
),
'symfony/polyfill-mbstring' =>
array (
'pretty_version' => 'v1.22.1',
'version' => '1.22.1.0',
'aliases' =>
array (
),
'reference' => '5232de97ee3b75b0360528dae24e73db49566ab1',
),
'symfony/polyfill-php80' =>
array (
'pretty_version' => 'v1.22.1',
'version' => '1.22.1.0',
'aliases' =>
array (
),
'reference' => 'dc3063ba22c2a1fd2f45ed856374d79114998f91',
),
'symfony/translation' =>
array (
'pretty_version' => 'v5.2.6',
'version' => '5.2.6.0',
'aliases' =>
array (
),
'reference' => '2cc7f45d96db9adfcf89adf4401d9dfed509f4e1',
),
'symfony/translation-contracts' =>
array (
'pretty_version' => 'v2.3.0',
'version' => '2.3.0.0',
'aliases' =>
array (
),
'reference' => 'e2eaa60b558f26a4b0354e1bbb25636efaaad105',
),
'symfony/translation-implementation' =>
array (
'provided' =>
array (
0 => '2.3',
),
),
'symfony/var-dumper' =>
array (
'pretty_version' => 'v5.2.6',
'version' => '5.2.6.0',
'aliases' =>
array (
),
'reference' => '89412a68ea2e675b4e44f260a5666729f77f668e',
),
'tightenco/collect' =>
array (
'pretty_version' => 'v8.34.0',
'version' => '8.34.0.0',
'aliases' =>
array (
),
'reference' => 'b069783ab0c547bb894ebcf8e7f6024bb401f9d2',
),
'yubico/u2flib-server' =>
array (
'pretty_version' => '1.0.2',
@@ -380,7 +495,6 @@ self::$canGetVendors = method_exists('Composer\Autoload\ClassLoader', 'getRegist
$installed = array();
if (self::$canGetVendors) {
foreach (ClassLoader::getRegisteredLoaders() as $vendorDir => $loader) {
if (isset(self::$installedByVendor[$vendorDir])) {
$installed[] = self::$installedByVendor[$vendorDir];

View File

@@ -6,7 +6,11 @@ $vendorDir = dirname(dirname(__FILE__));
$baseDir = dirname($vendorDir);
return array(
'Attribute' => $vendorDir . '/symfony/polyfill-php80/Resources/stubs/Attribute.php',
'Composer\\InstalledVersions' => $vendorDir . '/composer/InstalledVersions.php',
'Stringable' => $vendorDir . '/symfony/polyfill-php80/Resources/stubs/Stringable.php',
'UnhandledMatchError' => $vendorDir . '/symfony/polyfill-php80/Resources/stubs/UnhandledMatchError.php',
'ValueError' => $vendorDir . '/symfony/polyfill-php80/Resources/stubs/ValueError.php',
'u2flib_server\\Error' => $vendorDir . '/yubico/u2flib-server/src/u2flib_server/U2F.php',
'u2flib_server\\RegisterRequest' => $vendorDir . '/yubico/u2flib-server/src/u2flib_server/U2F.php',
'u2flib_server\\Registration' => $vendorDir . '/yubico/u2flib-server/src/u2flib_server/U2F.php',

View File

@@ -6,5 +6,11 @@ $vendorDir = dirname(dirname(__FILE__));
$baseDir = dirname($vendorDir);
return array(
'0e6d7bf4a5811bfa5cf40c5ccd6fae6a' => $vendorDir . '/symfony/polyfill-mbstring/bootstrap.php',
'a4a119a56e50fbb293281d9a48007e0e' => $vendorDir . '/symfony/polyfill-php80/bootstrap.php',
'a1105708a18b76903365ca1c4aa61b02' => $vendorDir . '/symfony/translation/Resources/functions.php',
'667aeda72477189d0494fecd327c3641' => $vendorDir . '/symfony/var-dumper/Resources/functions/dump.php',
'fe62ba7e10580d903cc46d808b5961a4' => $vendorDir . '/tightenco/collect/src/Collect/Support/helpers.php',
'caf31cc6ec7cf2241cb6f12c226c3846' => $vendorDir . '/tightenco/collect/src/Collect/Support/alias.php',
'04c6c5c2f7095ccf6c481d3e53e1776f' => $vendorDir . '/mustangostang/spyc/Spyc.php',
);

View File

@@ -6,11 +6,23 @@ $vendorDir = dirname(dirname(__FILE__));
$baseDir = dirname($vendorDir);
return array(
'Tightenco\\Collect\\' => array($vendorDir . '/tightenco/collect/src/Collect'),
'Symfony\\Polyfill\\Php80\\' => array($vendorDir . '/symfony/polyfill-php80'),
'Symfony\\Polyfill\\Mbstring\\' => array($vendorDir . '/symfony/polyfill-mbstring'),
'Symfony\\Contracts\\Translation\\' => array($vendorDir . '/symfony/translation-contracts'),
'Symfony\\Component\\VarDumper\\' => array($vendorDir . '/symfony/var-dumper'),
'Symfony\\Component\\Translation\\' => array($vendorDir . '/symfony/translation'),
'RobThree\\Auth\\' => array($vendorDir . '/robthree/twofactorauth/lib'),
'Psr\\SimpleCache\\' => array($vendorDir . '/psr/simple-cache/src'),
'Psr\\Log\\' => array($vendorDir . '/psr/log/Psr/Log'),
'Psr\\Container\\' => array($vendorDir . '/psr/container/src'),
'PhpMimeMailParser\\' => array($vendorDir . '/php-mime-mail-parser/php-mime-mail-parser/src'),
'PHPMailer\\PHPMailer\\' => array($vendorDir . '/phpmailer/phpmailer/src'),
'MatthiasMullie\\PathConverter\\' => array($vendorDir . '/matthiasmullie/path-converter/src'),
'MatthiasMullie\\Minify\\' => array($vendorDir . '/matthiasmullie/minify/src'),
'LdapRecord\\' => array($vendorDir . '/directorytree/ldaprecord/src'),
'Illuminate\\Contracts\\' => array($vendorDir . '/illuminate/contracts'),
'Html2Text\\' => array($vendorDir . '/soundasleep/html2text/src'),
'Ddeboer\\Imap\\' => array($vendorDir . '/ddeboer/imap/src'),
'Carbon\\' => array($vendorDir . '/nesbot/carbon/src/Carbon'),
);

View File

@@ -7,16 +7,37 @@ namespace Composer\Autoload;
class ComposerStaticInit873464e4bd965a3168f133248b1b218b
{
public static $files = array (
'0e6d7bf4a5811bfa5cf40c5ccd6fae6a' => __DIR__ . '/..' . '/symfony/polyfill-mbstring/bootstrap.php',
'a4a119a56e50fbb293281d9a48007e0e' => __DIR__ . '/..' . '/symfony/polyfill-php80/bootstrap.php',
'a1105708a18b76903365ca1c4aa61b02' => __DIR__ . '/..' . '/symfony/translation/Resources/functions.php',
'667aeda72477189d0494fecd327c3641' => __DIR__ . '/..' . '/symfony/var-dumper/Resources/functions/dump.php',
'fe62ba7e10580d903cc46d808b5961a4' => __DIR__ . '/..' . '/tightenco/collect/src/Collect/Support/helpers.php',
'caf31cc6ec7cf2241cb6f12c226c3846' => __DIR__ . '/..' . '/tightenco/collect/src/Collect/Support/alias.php',
'04c6c5c2f7095ccf6c481d3e53e1776f' => __DIR__ . '/..' . '/mustangostang/spyc/Spyc.php',
);
public static $prefixLengthsPsr4 = array (
'T' =>
array (
'Tightenco\\Collect\\' => 18,
),
'S' =>
array (
'Symfony\\Polyfill\\Php80\\' => 23,
'Symfony\\Polyfill\\Mbstring\\' => 26,
'Symfony\\Contracts\\Translation\\' => 30,
'Symfony\\Component\\VarDumper\\' => 28,
'Symfony\\Component\\Translation\\' => 30,
),
'R' =>
array (
'RobThree\\Auth\\' => 14,
),
'P' =>
array (
'Psr\\SimpleCache\\' => 16,
'Psr\\Log\\' => 8,
'Psr\\Container\\' => 14,
'PhpMimeMailParser\\' => 18,
'PHPMailer\\PHPMailer\\' => 20,
),
@@ -25,6 +46,14 @@ class ComposerStaticInit873464e4bd965a3168f133248b1b218b
'MatthiasMullie\\PathConverter\\' => 29,
'MatthiasMullie\\Minify\\' => 22,
),
'L' =>
array (
'LdapRecord\\' => 11,
),
'I' =>
array (
'Illuminate\\Contracts\\' => 21,
),
'H' =>
array (
'Html2Text\\' => 10,
@@ -33,13 +62,53 @@ class ComposerStaticInit873464e4bd965a3168f133248b1b218b
array (
'Ddeboer\\Imap\\' => 13,
),
'C' =>
array (
'Carbon\\' => 7,
),
);
public static $prefixDirsPsr4 = array (
'Tightenco\\Collect\\' =>
array (
0 => __DIR__ . '/..' . '/tightenco/collect/src/Collect',
),
'Symfony\\Polyfill\\Php80\\' =>
array (
0 => __DIR__ . '/..' . '/symfony/polyfill-php80',
),
'Symfony\\Polyfill\\Mbstring\\' =>
array (
0 => __DIR__ . '/..' . '/symfony/polyfill-mbstring',
),
'Symfony\\Contracts\\Translation\\' =>
array (
0 => __DIR__ . '/..' . '/symfony/translation-contracts',
),
'Symfony\\Component\\VarDumper\\' =>
array (
0 => __DIR__ . '/..' . '/symfony/var-dumper',
),
'Symfony\\Component\\Translation\\' =>
array (
0 => __DIR__ . '/..' . '/symfony/translation',
),
'RobThree\\Auth\\' =>
array (
0 => __DIR__ . '/..' . '/robthree/twofactorauth/lib',
),
'Psr\\SimpleCache\\' =>
array (
0 => __DIR__ . '/..' . '/psr/simple-cache/src',
),
'Psr\\Log\\' =>
array (
0 => __DIR__ . '/..' . '/psr/log/Psr/Log',
),
'Psr\\Container\\' =>
array (
0 => __DIR__ . '/..' . '/psr/container/src',
),
'PhpMimeMailParser\\' =>
array (
0 => __DIR__ . '/..' . '/php-mime-mail-parser/php-mime-mail-parser/src',
@@ -56,6 +125,14 @@ class ComposerStaticInit873464e4bd965a3168f133248b1b218b
array (
0 => __DIR__ . '/..' . '/matthiasmullie/minify/src',
),
'LdapRecord\\' =>
array (
0 => __DIR__ . '/..' . '/directorytree/ldaprecord/src',
),
'Illuminate\\Contracts\\' =>
array (
0 => __DIR__ . '/..' . '/illuminate/contracts',
),
'Html2Text\\' =>
array (
0 => __DIR__ . '/..' . '/soundasleep/html2text/src',
@@ -64,6 +141,10 @@ class ComposerStaticInit873464e4bd965a3168f133248b1b218b
array (
0 => __DIR__ . '/..' . '/ddeboer/imap/src',
),
'Carbon\\' =>
array (
0 => __DIR__ . '/..' . '/nesbot/carbon/src/Carbon',
),
);
public static $prefixesPsr0 = array (
@@ -77,7 +158,11 @@ class ComposerStaticInit873464e4bd965a3168f133248b1b218b
);
public static $classMap = array (
'Attribute' => __DIR__ . '/..' . '/symfony/polyfill-php80/Resources/stubs/Attribute.php',
'Composer\\InstalledVersions' => __DIR__ . '/..' . '/composer/InstalledVersions.php',
'Stringable' => __DIR__ . '/..' . '/symfony/polyfill-php80/Resources/stubs/Stringable.php',
'UnhandledMatchError' => __DIR__ . '/..' . '/symfony/polyfill-php80/Resources/stubs/UnhandledMatchError.php',
'ValueError' => __DIR__ . '/..' . '/symfony/polyfill-php80/Resources/stubs/ValueError.php',
'u2flib_server\\Error' => __DIR__ . '/..' . '/yubico/u2flib-server/src/u2flib_server/U2F.php',
'u2flib_server\\RegisterRequest' => __DIR__ . '/..' . '/yubico/u2flib-server/src/u2flib_server/U2F.php',
'u2flib_server\\Registration' => __DIR__ . '/..' . '/yubico/u2flib-server/src/u2flib_server/U2F.php',

File diff suppressed because it is too large Load Diff

View File

@@ -31,12 +31,21 @@
),
'ddeboer/imap' =>
array (
'pretty_version' => '1.11.0',
'version' => '1.11.0.0',
'pretty_version' => '1.12.0',
'version' => '1.12.0.0',
'aliases' =>
array (
),
'reference' => 'a089dfcb9d177f921eb5dadc8d4144a44dff22ee',
'reference' => 'f0e02bb82cdfbffa5c064be090e0b4c15edbf684',
),
'directorytree/ldaprecord' =>
array (
'pretty_version' => 'v2.4.2',
'version' => '2.4.2.0',
'aliases' =>
array (
),
'reference' => '5da929cc94d5ceb2ad1909f0f2f9b4510616b111',
),
'exorus/php-mime-mail-parser' =>
array (
@@ -45,6 +54,15 @@
0 => '*',
),
),
'illuminate/contracts' =>
array (
'pretty_version' => 'v8.36.2',
'version' => '8.36.2.0',
'aliases' =>
array (
),
'reference' => '5764f703ea8f74ced163125d810951cd5ef2b7e1',
),
'matthiasmullie/minify' =>
array (
'pretty_version' => '1.3.66',
@@ -79,6 +97,15 @@
),
'reference' => '4627c838b16550b666d15aeae1e5289dd5b77da0',
),
'nesbot/carbon' =>
array (
'pretty_version' => '2.46.0',
'version' => '2.46.0.0',
'aliases' =>
array (
),
'reference' => '2fd2c4a77d58a4e95234c8a61c5df1f157a91bf4',
),
'paragonie/random_compat' =>
array (
'pretty_version' => 'v9.99.100',
@@ -99,21 +126,48 @@
),
'phpmailer/phpmailer' =>
array (
'pretty_version' => 'v6.3.0',
'version' => '6.3.0.0',
'pretty_version' => 'v6.4.0',
'version' => '6.4.0.0',
'aliases' =>
array (
),
'reference' => '4a08cf4cdd2c38d12ee2b9fa69e5d235f37a6dcb',
'reference' => '050d430203105c27c30efd1dce7aa421ad882d01',
),
'psr/container' =>
array (
'pretty_version' => '1.1.1',
'version' => '1.1.1.0',
'aliases' =>
array (
),
'reference' => '8622567409010282b7aeebe4bb841fe98b58dcaf',
),
'psr/log' =>
array (
'pretty_version' => '1.1.3',
'version' => '1.1.3.0',
'aliases' =>
array (
),
'reference' => '0f73288fd15629204f9d42b7055f72dacbe811fc',
),
'psr/simple-cache' =>
array (
'pretty_version' => '1.0.1',
'version' => '1.0.1.0',
'aliases' =>
array (
),
'reference' => '408d5eafb83c57f6365a3ca330ff23aa4a5fa39b',
),
'robthree/twofactorauth' =>
array (
'pretty_version' => '1.7.0',
'version' => '1.7.0.0',
'pretty_version' => '1.8.0',
'version' => '1.8.0.0',
'aliases' =>
array (
),
'reference' => '37983bf675c5baca09d19d6705170489d0df0002',
'reference' => '30a38627ae1e7c9399dae67e265063cd6ec5276c',
),
'soundasleep/html2text' =>
array (
@@ -124,6 +178,67 @@
),
'reference' => 'cdb89f6ffa2c4cc78f8ed9ea6ee0594a9133ccad',
),
'symfony/polyfill-mbstring' =>
array (
'pretty_version' => 'v1.22.1',
'version' => '1.22.1.0',
'aliases' =>
array (
),
'reference' => '5232de97ee3b75b0360528dae24e73db49566ab1',
),
'symfony/polyfill-php80' =>
array (
'pretty_version' => 'v1.22.1',
'version' => '1.22.1.0',
'aliases' =>
array (
),
'reference' => 'dc3063ba22c2a1fd2f45ed856374d79114998f91',
),
'symfony/translation' =>
array (
'pretty_version' => 'v5.2.6',
'version' => '5.2.6.0',
'aliases' =>
array (
),
'reference' => '2cc7f45d96db9adfcf89adf4401d9dfed509f4e1',
),
'symfony/translation-contracts' =>
array (
'pretty_version' => 'v2.3.0',
'version' => '2.3.0.0',
'aliases' =>
array (
),
'reference' => 'e2eaa60b558f26a4b0354e1bbb25636efaaad105',
),
'symfony/translation-implementation' =>
array (
'provided' =>
array (
0 => '2.3',
),
),
'symfony/var-dumper' =>
array (
'pretty_version' => 'v5.2.6',
'version' => '5.2.6.0',
'aliases' =>
array (
),
'reference' => '89412a68ea2e675b4e44f260a5666729f77f668e',
),
'tightenco/collect' =>
array (
'pretty_version' => 'v8.34.0',
'version' => '8.34.0.0',
'aliases' =>
array (
),
'reference' => 'b069783ab0c547bb894ebcf8e7f6024bb401f9d2',
),
'yubico/u2flib-server' =>
array (
'pretty_version' => '1.0.2',

View File

@@ -4,8 +4,8 @@
$issues = array();
if (!(PHP_VERSION_ID >= 70300)) {
$issues[] = 'Your Composer dependencies require a PHP version ">= 7.3.0". You are running ' . PHP_VERSION . '.';
if (!(PHP_VERSION_ID >= 70400)) {
$issues[] = 'Your Composer dependencies require a PHP version ">= 7.4.0". You are running ' . PHP_VERSION . '.';
}
if ($issues) {