diff --git a/build/config_builder b/build/config_builder index cca69fb4..1a38de6a 100755 --- a/build/config_builder +++ b/build/config_builder @@ -94,11 +94,16 @@ foreach ($majorVersions as $majorVersion => $info) { ]; } +// Settings +$generatedConfig['_settings'] = [ + 'changelogServer' => 'https://updates.nextcloud.com/changelog_server/', +]; + // Display result echo '\s*\n\s*\[/", '/ /'], - ['[', ']', '=> [', "\t"], + ['/array\s*\(/', '/\)/', "/=>\s*\n\s*\[/", '/(\s*)(\d+)(\s*=>)/', '/ /'], + ['[', ']', '=> [', "\\1'\\2'\\3", "\t"], var_export($generatedConfig, true) ); echo ';',PHP_EOL; diff --git a/config/config.php b/config/config.php index c5c75e02..b81c27a9 100755 --- a/config/config.php +++ b/config/config.php @@ -1,8 +1,8 @@ [ - 29 => [ - 100 => [ + '29' => [ + '100' => [ 'latest' => '29.0.1', 'internalVersion' => '29.0.1.1', 'downloadUrl' => 'https://download.nextcloud.com/server/releases/nextcloud-29.0.1.zip', @@ -18,7 +18,7 @@ ], ], '28.0.6.1' => [ - 100 => [ + '100' => [ 'latest' => '29.0.1', 'internalVersion' => '29.0.1.1', 'downloadUrl' => 'https://download.nextcloud.com/server/releases/nextcloud-29.0.1.zip', @@ -33,8 +33,8 @@ 0DAbpdTSYEu6OUzAFq8I1g==', ], ], - 28 => [ - 100 => [ + '28' => [ + '100' => [ 'latest' => '28.0.6', 'internalVersion' => '28.0.6.1', 'downloadUrl' => 'https://download.nextcloud.com/server/releases/nextcloud-28.0.6.zip', @@ -50,7 +50,7 @@ ], ], '27.1.10.2' => [ - 100 => [ + '100' => [ 'latest' => '28.0.6', 'internalVersion' => '28.0.6.1', 'downloadUrl' => 'https://download.nextcloud.com/server/releases/nextcloud-28.0.6.zip', @@ -65,8 +65,8 @@ QnK0Bov0chs7kRKuaA/Hew==', ], ], - 27 => [ - 100 => [ + '27' => [ + '100' => [ 'latest' => '27.1.10', 'internalVersion' => '27.1.10.2', 'downloadUrl' => 'https://download.nextcloud.com/server/releases/nextcloud-27.1.10.zip', @@ -82,7 +82,7 @@ ], ], '26.0.13.1' => [ - 100 => [ + '100' => [ 'latest' => '27.1.10', 'internalVersion' => '27.1.10.2', 'downloadUrl' => 'https://download.nextcloud.com/server/releases/nextcloud-27.1.10.zip', @@ -97,8 +97,8 @@ pFiyELE2Ee7Xpds/CTGunQ==', ], ], - 26 => [ - 100 => [ + '26' => [ + '100' => [ 'latest' => '26.0.13', 'internalVersion' => '26.0.13.1', 'downloadUrl' => 'https://download.nextcloud.com/server/releases/nextcloud-26.0.13.zip', @@ -114,7 +114,7 @@ ], ], '25.0.13.2' => [ - 100 => [ + '100' => [ 'latest' => '26.0.13', 'internalVersion' => '26.0.13.1', 'downloadUrl' => 'https://download.nextcloud.com/server/releases/nextcloud-26.0.13.zip', @@ -129,8 +129,8 @@ m04vBdfnV+VUhCBz0tYn9A==', ], ], - 25 => [ - 100 => [ + '25' => [ + '100' => [ 'latest' => '25.0.13', 'internalVersion' => '25.0.13.2', 'downloadUrl' => 'https://download.nextcloud.com/server/releases/nextcloud-25.0.13.zip', @@ -146,7 +146,7 @@ ], ], '24.0.12.1' => [ - 100 => [ + '100' => [ 'latest' => '25.0.13', 'internalVersion' => '25.0.13.2', 'downloadUrl' => 'https://download.nextcloud.com/server/releases/nextcloud-25.0.13.zip', @@ -161,8 +161,8 @@ c2rOEZwqzv2p7fWh4Ovl6g==', ], ], - 24 => [ - 100 => [ + '24' => [ + '100' => [ 'latest' => '24.0.12', 'internalVersion' => '24.0.12.1', 'downloadUrl' => 'https://download.nextcloud.com/server/releases/nextcloud-24.0.12.zip', @@ -178,7 +178,7 @@ ], ], '23.0.12.2' => [ - 100 => [ + '100' => [ 'latest' => '24.0.12', 'internalVersion' => '24.0.12.1', 'downloadUrl' => 'https://download.nextcloud.com/server/releases/nextcloud-24.0.12.zip', @@ -193,8 +193,8 @@ ACWMWE93WNcq+HBa025zsw==', ], ], - 23 => [ - 100 => [ + '23' => [ + '100' => [ 'latest' => '23.0.12', 'internalVersion' => '23.0.12.2', 'downloadUrl' => 'https://download.nextcloud.com/server/releases/nextcloud-23.0.12.zip', @@ -210,7 +210,7 @@ ], ], '22.2.10.2' => [ - 100 => [ + '100' => [ 'latest' => '23.0.12', 'internalVersion' => '23.0.12.2', 'downloadUrl' => 'https://download.nextcloud.com/server/releases/nextcloud-23.0.12.zip', @@ -225,8 +225,8 @@ PlWRhIoX0XzP82+TC5b1dg==', ], ], - 22 => [ - 100 => [ + '22' => [ + '100' => [ 'latest' => '22.2.10', 'internalVersion' => '22.2.10.2', 'downloadUrl' => 'https://download.nextcloud.com/server/releases/nextcloud-22.2.10.zip', @@ -242,7 +242,7 @@ ], ], '21.0.9.1' => [ - 100 => [ + '100' => [ 'latest' => '22.2.10', 'internalVersion' => '22.2.10.2', 'downloadUrl' => 'https://download.nextcloud.com/server/releases/nextcloud-22.2.10.zip', @@ -257,8 +257,8 @@ GorEOAeOrtcV0ba4AVoETQ==', ], ], - 21 => [ - 100 => [ + '21' => [ + '100' => [ 'latest' => '21.0.9', 'internalVersion' => '21.0.9.1', 'downloadUrl' => 'https://download.nextcloud.com/server/releases/nextcloud-21.0.9.zip', @@ -274,7 +274,7 @@ ], ], '20.0.14.2' => [ - 100 => [ + '100' => [ 'latest' => '21.0.9', 'internalVersion' => '21.0.9.1', 'downloadUrl' => 'https://download.nextcloud.com/server/releases/nextcloud-21.0.9.zip', @@ -289,8 +289,8 @@ mE2YG/R4IKW+A8xqweVzig==', ], ], - 20 => [ - 100 => [ + '20' => [ + '100' => [ 'latest' => '20.0.14', 'internalVersion' => '20.0.14.2', 'downloadUrl' => 'https://download.nextcloud.com/server/releases/nextcloud-20.0.14.zip', @@ -306,7 +306,7 @@ ], ], '19.0.13.1' => [ - 100 => [ + '100' => [ 'latest' => '20.0.14', 'internalVersion' => '20.0.14.2', 'downloadUrl' => 'https://download.nextcloud.com/server/releases/nextcloud-20.0.14.zip', @@ -321,8 +321,8 @@ 6feVFe2PlZ2FK5zxWZNYfw==', ], ], - 19 => [ - 100 => [ + '19' => [ + '100' => [ 'latest' => '19.0.13', 'internalVersion' => '19.0.13.1', 'downloadUrl' => 'https://download.nextcloud.com/server/releases/nextcloud-19.0.13.zip', @@ -338,7 +338,7 @@ ], ], '18.0.14.1' => [ - 100 => [ + '100' => [ 'latest' => '19.0.13', 'internalVersion' => '19.0.13.1', 'downloadUrl' => 'https://download.nextcloud.com/server/releases/nextcloud-19.0.13.zip', @@ -353,8 +353,8 @@ WN2PwtM3nn6/5y0BMhJueQ==', ], ], - 18 => [ - 100 => [ + '18' => [ + '100' => [ 'latest' => '18.0.14', 'internalVersion' => '18.0.14.1', 'downloadUrl' => 'https://download.nextcloud.com/server/releases/nextcloud-18.0.14.zip', @@ -370,7 +370,7 @@ ], ], '17.0.10.1' => [ - 100 => [ + '100' => [ 'latest' => '18.0.14', 'internalVersion' => '18.0.14.1', 'downloadUrl' => 'https://download.nextcloud.com/server/releases/nextcloud-18.0.14.zip', @@ -385,8 +385,8 @@ OcrbOha2Z819kkukqEE34Q==', ], ], - 17 => [ - 100 => [ + '17' => [ + '100' => [ 'latest' => '17.0.10', 'internalVersion' => '17.0.10.1', 'downloadUrl' => 'https://download.nextcloud.com/server/releases/nextcloud-17.0.10.zip', @@ -402,7 +402,7 @@ ], ], '16.0.11.1' => [ - 100 => [ + '100' => [ 'latest' => '17.0.10', 'internalVersion' => '17.0.10.1', 'downloadUrl' => 'https://download.nextcloud.com/server/releases/nextcloud-17.0.10.zip', @@ -417,8 +417,8 @@ cNaaoBpx0s3QFdfhSnSgQQ==', ], ], - 16 => [ - 100 => [ + '16' => [ + '100' => [ 'latest' => '16.0.11', 'internalVersion' => '16.0.11.1', 'downloadUrl' => 'https://download.nextcloud.com/server/releases/nextcloud-16.0.11.zip', @@ -434,7 +434,7 @@ ], ], '15.0.14.1' => [ - 100 => [ + '100' => [ 'latest' => '16.0.11', 'internalVersion' => '16.0.11.1', 'downloadUrl' => 'https://download.nextcloud.com/server/releases/nextcloud-16.0.11.zip', @@ -449,8 +449,8 @@ HWPTEBalqX2V9enOLAgVWQ==', ], ], - 15 => [ - 100 => [ + '15' => [ + '100' => [ 'latest' => '15.0.14', 'internalVersion' => '15.0.14.1', 'downloadUrl' => 'https://download.nextcloud.com/server/releases/nextcloud-15.0.14.zip', @@ -466,7 +466,7 @@ ], ], '14.0.14.1' => [ - 100 => [ + '100' => [ 'latest' => '15.0.14', 'internalVersion' => '15.0.14.1', 'downloadUrl' => 'https://download.nextcloud.com/server/releases/nextcloud-15.0.14.zip', @@ -481,8 +481,8 @@ DvYBQvWAJx0Q7tV9bofZjA==', ], ], - 14 => [ - 100 => [ + '14' => [ + '100' => [ 'latest' => '14.0.14', 'internalVersion' => '14.0.14.1', 'downloadUrl' => 'https://download.nextcloud.com/server/releases/nextcloud-14.0.14.zip', @@ -498,7 +498,7 @@ ], ], '13.0.12.1' => [ - 100 => [ + '100' => [ 'latest' => '14.0.14', 'internalVersion' => '14.0.14.1', 'downloadUrl' => 'https://download.nextcloud.com/server/releases/nextcloud-14.0.14.zip', @@ -513,8 +513,8 @@ FaqAZYszh1hjGEyQaoibXw==', ], ], - 13 => [ - 100 => [ + '13' => [ + '100' => [ 'latest' => '13.0.12', 'internalVersion' => '13.0.12.1', 'downloadUrl' => 'https://download.nextcloud.com/server/releases/nextcloud-13.0.12.zip', @@ -530,7 +530,7 @@ ], ], '12.0.13.2' => [ - 100 => [ + '100' => [ 'latest' => '13.0.12', 'internalVersion' => '13.0.12.1', 'downloadUrl' => 'https://download.nextcloud.com/server/releases/nextcloud-13.0.12.zip', @@ -545,8 +545,8 @@ yiBfUT4yVTwIOt+tnqZzzw==', ], ], - 12 => [ - 100 => [ + '12' => [ + '100' => [ 'latest' => '12.0.13', 'internalVersion' => '12.0.13.2', 'downloadUrl' => 'https://download.nextcloud.com/server/releases/nextcloud-12.0.13.zip', @@ -562,7 +562,7 @@ ], ], '11.0.8.1' => [ - 100 => [ + '100' => [ 'latest' => '12.0.13', 'internalVersion' => '12.0.13.2', 'downloadUrl' => 'https://download.nextcloud.com/server/releases/nextcloud-12.0.13.zip', @@ -577,8 +577,8 @@ vbaIJ8CiZnKdMBDAdXAVMA==', ], ], - 11 => [ - 100 => [ + '11' => [ + '100' => [ 'latest' => '11.0.8', 'internalVersion' => '11.0.8.1', 'downloadUrl' => 'https://download.nextcloud.com/server/releases/nextcloud-11.0.8.zip', @@ -593,8 +593,8 @@ vbaIJ8CiZnKdMBDAdXAVMA==', ], ], - 10 => [ - 100 => [ + '10' => [ + '100' => [ 'latest' => '10.0.6', 'internalVersion' => '9.1.6.1', 'downloadUrl' => 'https://download.nextcloud.com/server/releases/nextcloud-10.0.6.zip', @@ -605,7 +605,7 @@ ], ], '9.1.6.1' => [ - 100 => [ + '100' => [ 'latest' => '11.0.8', 'internalVersion' => '11.0.8.1', 'downloadUrl' => 'https://download.nextcloud.com/server/releases/nextcloud-11.0.8.zip', @@ -621,7 +621,7 @@ ], ], '9.0.58' => [ - 100 => [ + '100' => [ 'latest' => '10.0.6', 'internalVersion' => '9.1.6.1', 'downloadUrl' => 'https://download.nextcloud.com/server/releases/nextcloud-10.0.6.zip', @@ -631,8 +631,8 @@ 'signature' => '', ], ], - 9 => [ - 100 => [ + '9' => [ + '100' => [ 'latest' => '9.0.58', 'internalVersion' => '9.0.58', 'downloadUrl' => 'https://download.nextcloud.com/server/releases/nextcloud-9.0.58.zip', @@ -644,8 +644,8 @@ ], ], 'beta' => [ - 29 => [ - 100 => [ + '29' => [ + '100' => [ 'latest' => '29.0.2 RC2', 'internalVersion' => '29.0.2.1', 'downloadUrl' => 'https://download.nextcloud.com/server/prereleases/nextcloud-29.0.2rc2.zip', @@ -661,7 +661,7 @@ ], ], '28.0.6.1' => [ - 100 => [ + '100' => [ 'latest' => '29.0.2 RC2', 'internalVersion' => '29.0.2.1', 'downloadUrl' => 'https://download.nextcloud.com/server/prereleases/nextcloud-29.0.2rc2.zip', @@ -678,71 +678,74 @@ ], ], 'daily' => [ - 30 => [ + '30' => [ 'downloadUrl' => 'https://download.nextcloud.com/server/daily/latest-master.zip', 'web' => 'https://docs.nextcloud.com/server/latest/admin_manual/maintenance/upgrade.html', 'eol' => false, 'minPHPVersion' => '8.1', ], - 29 => [ + '29' => [ 'downloadUrl' => 'https://download.nextcloud.com/server/daily/latest-stable29.zip', 'web' => 'https://docs.nextcloud.com/server/29/admin_manual/maintenance/upgrade.html', 'eol' => false, 'minPHPVersion' => '8.0', ], - 28 => [ + '28' => [ 'downloadUrl' => 'https://download.nextcloud.com/server/daily/latest-stable28.zip', 'web' => 'https://docs.nextcloud.com/server/28/admin_manual/maintenance/upgrade.html', 'eol' => false, 'minPHPVersion' => '8.0', ], - 27 => [ + '27' => [ 'downloadUrl' => 'https://download.nextcloud.com/server/daily/latest-stable27.zip', 'web' => 'https://docs.nextcloud.com/server/27/admin_manual/maintenance/upgrade.html', 'eol' => false, 'minPHPVersion' => '8.0', ], - 26 => [ + '26' => [ 'downloadUrl' => 'https://download.nextcloud.com/server/daily/latest-stable26.zip', 'web' => 'https://docs.nextcloud.com/server/26/admin_manual/maintenance/upgrade.html', 'eol' => true, 'minPHPVersion' => '8.0', ], - 25 => [ + '25' => [ 'downloadUrl' => 'https://download.nextcloud.com/server/daily/latest-stable25.zip', 'web' => 'https://docs.nextcloud.com/server/25/admin_manual/maintenance/upgrade.html', 'eol' => true, 'minPHPVersion' => '7.4', ], - 24 => [ + '24' => [ 'downloadUrl' => 'https://download.nextcloud.com/server/daily/latest-stable24.zip', 'web' => 'https://docs.nextcloud.com/server/24/admin_manual/maintenance/upgrade.html', 'eol' => true, 'minPHPVersion' => '7.4', ], - 23 => [ + '23' => [ 'downloadUrl' => 'https://download.nextcloud.com/server/daily/latest-stable23.zip', 'web' => 'https://docs.nextcloud.com/server/23/admin_manual/maintenance/upgrade.html', 'eol' => true, 'minPHPVersion' => '7.3', ], - 22 => [ + '22' => [ 'downloadUrl' => 'https://download.nextcloud.com/server/daily/latest-stable22.zip', 'web' => 'https://docs.nextcloud.com/server/22/admin_manual/maintenance/upgrade.html', 'eol' => true, 'minPHPVersion' => '7.3', ], - 21 => [ + '21' => [ 'downloadUrl' => 'https://download.nextcloud.com/server/daily/latest-stable21.zip', 'web' => 'https://docs.nextcloud.com/server/21/admin_manual/maintenance/upgrade.html', 'eol' => true, 'minPHPVersion' => '7.3', ], - 20 => [ + '20' => [ 'downloadUrl' => 'https://download.nextcloud.com/server/daily/latest-stable20.zip', 'web' => 'https://docs.nextcloud.com/server/20/admin_manual/maintenance/upgrade.html', 'eol' => true, 'minPHPVersion' => '7.2', ], ], + '_settings' => [ + 'changelogServer' => 'https://updates.nextcloud.com/changelog_server/', + ], ];