update dependencies

This commit is contained in:
2024-07-18 14:04:54 +02:00
parent e623c8cb69
commit 75583089a6
6 changed files with 249 additions and 186 deletions

View File

@@ -1,7 +1,7 @@
<?php namespace NicoSt\GCalendar\Classes; <?php namespace NicoSt\GCalendar\Classes;
use Google_Client; use Google\Client as Google_Client;
use Google_Service_Calendar; use Google\Service\Calendar as Google_Service_Calendar;
use Log; use Log;
use NicoSt\GCalendar\Models\Settings; use NicoSt\GCalendar\Models\Settings;

View File

@@ -2,9 +2,7 @@
use Cms\Classes\ComponentBase; use Cms\Classes\ComponentBase;
use NicoSt\GCalendar\Classes\GoogleCalendarService; use NicoSt\GCalendar\Classes\GoogleCalendarService;
use Mobile_Detect; use Detection\MobileDetect;
use Log;
class EmbeddedCalendar extends ComponentBase { class EmbeddedCalendar extends ComponentBase {
private $calPropSeparator = '§§'; private $calPropSeparator = '§§';
@@ -158,7 +156,7 @@ class EmbeddedCalendar extends ComponentBase {
} else if($viewMode == 'week') { } else if($viewMode == 'week') {
$data += ['mode' => 'WEEK']; $data += ['mode' => 'WEEK'];
} else if($viewMode == 'dynamic') { } else if($viewMode == 'dynamic') {
$detect = new Mobile_Detect; $detect = new MobileDetect();
if($detect->isMobile()) { if($detect->isMobile()) {
$data += ['mode' => 'AGENDA']; $data += ['mode' => 'AGENDA'];
} else { } else {

View File

@@ -10,14 +10,23 @@
} }
], ],
"require": { "require": {
"php": ">=7.0", "php": ">=8.1",
"composer/installers": "~1.0", "composer/installers": "~1.0",
"google/apiclient": "^2.0", "google/apiclient": "^2.0",
"mobiledetect/mobiledetectlib": "^2.8" "mobiledetect/mobiledetectlib": "^4.8"
}, },
"config": { "config": {
"allow-plugins": { "allow-plugins": {
"composer/installers": true "composer/installers": true
} },
"cache-read-only": true
},
"scripts": {
"pre-autoload-dump": "Google\\Task\\Composer::cleanup"
},
"extra": {
"google/apiclient-services": [
"Calendar"
]
} }
} }

405
composer.lock generated
View File

@@ -4,7 +4,7 @@
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
"This file is @generated automatically" "This file is @generated automatically"
], ],
"content-hash": "02d55f7a75714a242a245f709ed57188", "content-hash": "cbeeab7c3afb257589e5387d35e04f75",
"packages": [ "packages": [
{ {
"name": "composer/installers", "name": "composer/installers",
@@ -159,30 +159,31 @@
}, },
{ {
"name": "firebase/php-jwt", "name": "firebase/php-jwt",
"version": "v6.3.2", "version": "v6.10.1",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/firebase/php-jwt.git", "url": "https://github.com/firebase/php-jwt.git",
"reference": "ea7dda77098b96e666c5ef382452f94841e439cd" "reference": "500501c2ce893c824c801da135d02661199f60c5"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/firebase/php-jwt/zipball/ea7dda77098b96e666c5ef382452f94841e439cd", "url": "https://api.github.com/repos/firebase/php-jwt/zipball/500501c2ce893c824c801da135d02661199f60c5",
"reference": "ea7dda77098b96e666c5ef382452f94841e439cd", "reference": "500501c2ce893c824c801da135d02661199f60c5",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
"php": "^7.1||^8.0" "php": "^8.0"
}, },
"require-dev": { "require-dev": {
"guzzlehttp/guzzle": "^6.5||^7.4", "guzzlehttp/guzzle": "^7.4",
"phpspec/prophecy-phpunit": "^1.1", "phpspec/prophecy-phpunit": "^2.0",
"phpunit/phpunit": "^7.5||^9.5", "phpunit/phpunit": "^9.5",
"psr/cache": "^1.0||^2.0", "psr/cache": "^2.0||^3.0",
"psr/http-client": "^1.0", "psr/http-client": "^1.0",
"psr/http-factory": "^1.0" "psr/http-factory": "^1.0"
}, },
"suggest": { "suggest": {
"ext-sodium": "Support EdDSA (Ed25519) signatures",
"paragonie/sodium_compat": "Support EdDSA (Ed25519) signatures when libsodium is not present" "paragonie/sodium_compat": "Support EdDSA (Ed25519) signatures when libsodium is not present"
}, },
"type": "library", "type": "library",
@@ -215,44 +216,43 @@
], ],
"support": { "support": {
"issues": "https://github.com/firebase/php-jwt/issues", "issues": "https://github.com/firebase/php-jwt/issues",
"source": "https://github.com/firebase/php-jwt/tree/v6.3.2" "source": "https://github.com/firebase/php-jwt/tree/v6.10.1"
}, },
"time": "2022-12-19T17:10:46+00:00" "time": "2024-05-18T18:05:11+00:00"
}, },
{ {
"name": "google/apiclient", "name": "google/apiclient",
"version": "v2.13.0", "version": "v2.17.0",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/googleapis/google-api-php-client.git", "url": "https://github.com/googleapis/google-api-php-client.git",
"reference": "b653a338c5a658adf6df4bb2f44c2cc02fe7eb1d" "reference": "b1f63d72c44307ec8ef7bf18f1012de35d8944ed"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/googleapis/google-api-php-client/zipball/b653a338c5a658adf6df4bb2f44c2cc02fe7eb1d", "url": "https://api.github.com/repos/googleapis/google-api-php-client/zipball/b1f63d72c44307ec8ef7bf18f1012de35d8944ed",
"reference": "b653a338c5a658adf6df4bb2f44c2cc02fe7eb1d", "reference": "b1f63d72c44307ec8ef7bf18f1012de35d8944ed",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
"firebase/php-jwt": "~2.0||~3.0||~4.0||~5.0||~6.0", "firebase/php-jwt": "^6.0",
"google/apiclient-services": "~0.200", "google/apiclient-services": "~0.350",
"google/auth": "^1.10", "google/auth": "^1.37",
"guzzlehttp/guzzle": "~5.3.3||~6.0||~7.0", "guzzlehttp/guzzle": "^7.4.5",
"guzzlehttp/psr7": "^1.8.4||^2.2.1", "guzzlehttp/psr7": "^2.6",
"monolog/monolog": "^1.17||^2.0||^3.0", "monolog/monolog": "^2.9||^3.0",
"php": "^5.6|^7.0|^8.0", "php": "^8.0",
"phpseclib/phpseclib": "~2.0||^3.0.2" "phpseclib/phpseclib": "^3.0.36"
}, },
"require-dev": { "require-dev": {
"cache/filesystem-adapter": "^0.3.2|^1.1", "cache/filesystem-adapter": "^1.1",
"composer/composer": "^1.10.22", "composer/composer": "^1.10.23",
"phpcompatibility/php-compatibility": "^9.2", "phpcompatibility/php-compatibility": "^9.2",
"phpspec/prophecy-phpunit": "^1.1||^2.0", "phpspec/prophecy-phpunit": "^2.1",
"phpunit/phpunit": "^5.7.21 || ^6.0 || ^7.0 || ^8.0 || ^9.0", "phpunit/phpunit": "^9.6",
"squizlabs/php_codesniffer": "^3.0", "squizlabs/php_codesniffer": "^3.8",
"symfony/css-selector": "~2.1", "symfony/css-selector": "~2.1",
"symfony/dom-crawler": "~2.1", "symfony/dom-crawler": "~2.1"
"yoast/phpunit-polyfills": "^1.0"
}, },
"suggest": { "suggest": {
"cache/filesystem-adapter": "For caching certs and tokens (using Google\\Client::setCache)" "cache/filesystem-adapter": "For caching certs and tokens (using Google\\Client::setCache)"
@@ -285,29 +285,29 @@
], ],
"support": { "support": {
"issues": "https://github.com/googleapis/google-api-php-client/issues", "issues": "https://github.com/googleapis/google-api-php-client/issues",
"source": "https://github.com/googleapis/google-api-php-client/tree/v2.13.0" "source": "https://github.com/googleapis/google-api-php-client/tree/v2.17.0"
}, },
"time": "2022-12-19T22:17:11+00:00" "time": "2024-07-10T14:57:54+00:00"
}, },
{ {
"name": "google/apiclient-services", "name": "google/apiclient-services",
"version": "v0.282.0", "version": "v0.363.0",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/googleapis/google-api-php-client-services.git", "url": "https://github.com/googleapis/google-api-php-client-services.git",
"reference": "4b31efa27886f5a73527241eaac5491e68b95071" "reference": "5a0943e498e98e23dccdd98c5a3f74bc1b442053"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/googleapis/google-api-php-client-services/zipball/4b31efa27886f5a73527241eaac5491e68b95071", "url": "https://api.github.com/repos/googleapis/google-api-php-client-services/zipball/5a0943e498e98e23dccdd98c5a3f74bc1b442053",
"reference": "4b31efa27886f5a73527241eaac5491e68b95071", "reference": "5a0943e498e98e23dccdd98c5a3f74bc1b442053",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
"php": ">=5.6" "php": "^8.0"
}, },
"require-dev": { "require-dev": {
"phpunit/phpunit": "^5.7||^8.5.13" "phpunit/phpunit": "^9.6"
}, },
"type": "library", "type": "library",
"autoload": { "autoload": {
@@ -329,40 +329,42 @@
], ],
"support": { "support": {
"issues": "https://github.com/googleapis/google-api-php-client-services/issues", "issues": "https://github.com/googleapis/google-api-php-client-services/issues",
"source": "https://github.com/googleapis/google-api-php-client-services/tree/v0.282.0" "source": "https://github.com/googleapis/google-api-php-client-services/tree/v0.363.0"
}, },
"time": "2023-01-09T01:12:14+00:00" "time": "2024-07-02T01:04:18+00:00"
}, },
{ {
"name": "google/auth", "name": "google/auth",
"version": "v1.24.0", "version": "v1.41.0",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/googleapis/google-auth-library-php.git", "url": "https://github.com/googleapis/google-auth-library-php.git",
"reference": "1f8cff5aa324700d041efd2df1a0855112a2e7ae" "reference": "1043ea18fe7f5dfbf5b208ce3ee6d6b6ab8cb038"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/googleapis/google-auth-library-php/zipball/1f8cff5aa324700d041efd2df1a0855112a2e7ae", "url": "https://api.github.com/repos/googleapis/google-auth-library-php/zipball/1043ea18fe7f5dfbf5b208ce3ee6d6b6ab8cb038",
"reference": "1f8cff5aa324700d041efd2df1a0855112a2e7ae", "reference": "1043ea18fe7f5dfbf5b208ce3ee6d6b6ab8cb038",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
"firebase/php-jwt": "^5.5||^6.0", "firebase/php-jwt": "^6.0",
"guzzlehttp/guzzle": "^6.2.1|^7.0", "guzzlehttp/guzzle": "^7.4.5",
"guzzlehttp/psr7": "^1.7|^2.0", "guzzlehttp/psr7": "^2.4.5",
"php": "^7.1||^8.0", "php": "^8.0",
"psr/cache": "^1.0|^2.0|^3.0", "psr/cache": "^2.0||^3.0",
"psr/http-message": "^1.0" "psr/http-message": "^1.1||^2.0"
}, },
"require-dev": { "require-dev": {
"guzzlehttp/promises": "0.1.1|^1.3", "guzzlehttp/promises": "^2.0",
"kelvinmo/simplejwt": "^0.2.5|^0.5.1", "kelvinmo/simplejwt": "0.7.1",
"phpseclib/phpseclib": "^2.0.31", "phpseclib/phpseclib": "^3.0.35",
"phpspec/prophecy-phpunit": "^1.1||^2.0", "phpspec/prophecy-phpunit": "^2.1",
"phpunit/phpunit": "^7.5||^9.0.0", "phpunit/phpunit": "^9.6",
"sebastian/comparator": ">=1.2.3", "sebastian/comparator": ">=1.2.3",
"squizlabs/php_codesniffer": "^3.5" "squizlabs/php_codesniffer": "^3.5",
"symfony/process": "^6.0||^7.0",
"webmozart/assert": "^1.11"
}, },
"suggest": { "suggest": {
"phpseclib/phpseclib": "May be used in place of OpenSSL for signing strings or for token management. Please require version ^2." "phpseclib/phpseclib": "May be used in place of OpenSSL for signing strings or for token management. Please require version ^2."
@@ -387,28 +389,28 @@
"support": { "support": {
"docs": "https://googleapis.github.io/google-auth-library-php/main/", "docs": "https://googleapis.github.io/google-auth-library-php/main/",
"issues": "https://github.com/googleapis/google-auth-library-php/issues", "issues": "https://github.com/googleapis/google-auth-library-php/issues",
"source": "https://github.com/googleapis/google-auth-library-php/tree/v1.24.0" "source": "https://github.com/googleapis/google-auth-library-php/tree/v1.41.0"
}, },
"time": "2022-11-28T18:29:23+00:00" "time": "2024-07-10T15:21:07+00:00"
}, },
{ {
"name": "guzzlehttp/guzzle", "name": "guzzlehttp/guzzle",
"version": "7.5.0", "version": "7.8.1",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/guzzle/guzzle.git", "url": "https://github.com/guzzle/guzzle.git",
"reference": "b50a2a1251152e43f6a37f0fa053e730a67d25ba" "reference": "41042bc7ab002487b876a0683fc8dce04ddce104"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/guzzle/guzzle/zipball/b50a2a1251152e43f6a37f0fa053e730a67d25ba", "url": "https://api.github.com/repos/guzzle/guzzle/zipball/41042bc7ab002487b876a0683fc8dce04ddce104",
"reference": "b50a2a1251152e43f6a37f0fa053e730a67d25ba", "reference": "41042bc7ab002487b876a0683fc8dce04ddce104",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
"ext-json": "*", "ext-json": "*",
"guzzlehttp/promises": "^1.5", "guzzlehttp/promises": "^1.5.3 || ^2.0.1",
"guzzlehttp/psr7": "^1.9 || ^2.4", "guzzlehttp/psr7": "^1.9.1 || ^2.5.1",
"php": "^7.2.5 || ^8.0", "php": "^7.2.5 || ^8.0",
"psr/http-client": "^1.0", "psr/http-client": "^1.0",
"symfony/deprecation-contracts": "^2.2 || ^3.0" "symfony/deprecation-contracts": "^2.2 || ^3.0"
@@ -417,10 +419,11 @@
"psr/http-client-implementation": "1.0" "psr/http-client-implementation": "1.0"
}, },
"require-dev": { "require-dev": {
"bamarni/composer-bin-plugin": "^1.8.1", "bamarni/composer-bin-plugin": "^1.8.2",
"ext-curl": "*", "ext-curl": "*",
"php-http/client-integration-tests": "^3.0", "php-http/client-integration-tests": "dev-master#2c025848417c1135031fdf9c728ee53d0a7ceaee as 3.0.999",
"phpunit/phpunit": "^8.5.29 || ^9.5.23", "php-http/message-factory": "^1.1",
"phpunit/phpunit": "^8.5.36 || ^9.6.15",
"psr/log": "^1.1 || ^2.0 || ^3.0" "psr/log": "^1.1 || ^2.0 || ^3.0"
}, },
"suggest": { "suggest": {
@@ -433,9 +436,6 @@
"bamarni-bin": { "bamarni-bin": {
"bin-links": true, "bin-links": true,
"forward-command": false "forward-command": false
},
"branch-alias": {
"dev-master": "7.5-dev"
} }
}, },
"autoload": { "autoload": {
@@ -501,7 +501,7 @@
], ],
"support": { "support": {
"issues": "https://github.com/guzzle/guzzle/issues", "issues": "https://github.com/guzzle/guzzle/issues",
"source": "https://github.com/guzzle/guzzle/tree/7.5.0" "source": "https://github.com/guzzle/guzzle/tree/7.8.1"
}, },
"funding": [ "funding": [
{ {
@@ -517,38 +517,37 @@
"type": "tidelift" "type": "tidelift"
} }
], ],
"time": "2022-08-28T15:39:27+00:00" "time": "2023-12-03T20:35:24+00:00"
}, },
{ {
"name": "guzzlehttp/promises", "name": "guzzlehttp/promises",
"version": "1.5.2", "version": "2.0.2",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/guzzle/promises.git", "url": "https://github.com/guzzle/promises.git",
"reference": "b94b2807d85443f9719887892882d0329d1e2598" "reference": "bbff78d96034045e58e13dedd6ad91b5d1253223"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/guzzle/promises/zipball/b94b2807d85443f9719887892882d0329d1e2598", "url": "https://api.github.com/repos/guzzle/promises/zipball/bbff78d96034045e58e13dedd6ad91b5d1253223",
"reference": "b94b2807d85443f9719887892882d0329d1e2598", "reference": "bbff78d96034045e58e13dedd6ad91b5d1253223",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
"php": ">=5.5" "php": "^7.2.5 || ^8.0"
}, },
"require-dev": { "require-dev": {
"symfony/phpunit-bridge": "^4.4 || ^5.1" "bamarni/composer-bin-plugin": "^1.8.2",
"phpunit/phpunit": "^8.5.36 || ^9.6.15"
}, },
"type": "library", "type": "library",
"extra": { "extra": {
"branch-alias": { "bamarni-bin": {
"dev-master": "1.5-dev" "bin-links": true,
"forward-command": false
} }
}, },
"autoload": { "autoload": {
"files": [
"src/functions_include.php"
],
"psr-4": { "psr-4": {
"GuzzleHttp\\Promise\\": "src/" "GuzzleHttp\\Promise\\": "src/"
} }
@@ -585,7 +584,7 @@
], ],
"support": { "support": {
"issues": "https://github.com/guzzle/promises/issues", "issues": "https://github.com/guzzle/promises/issues",
"source": "https://github.com/guzzle/promises/tree/1.5.2" "source": "https://github.com/guzzle/promises/tree/2.0.2"
}, },
"funding": [ "funding": [
{ {
@@ -601,26 +600,26 @@
"type": "tidelift" "type": "tidelift"
} }
], ],
"time": "2022-08-28T14:55:35+00:00" "time": "2023-12-03T20:19:20+00:00"
}, },
{ {
"name": "guzzlehttp/psr7", "name": "guzzlehttp/psr7",
"version": "2.4.3", "version": "2.6.2",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/guzzle/psr7.git", "url": "https://github.com/guzzle/psr7.git",
"reference": "67c26b443f348a51926030c83481b85718457d3d" "reference": "45b30f99ac27b5ca93cb4831afe16285f57b8221"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/guzzle/psr7/zipball/67c26b443f348a51926030c83481b85718457d3d", "url": "https://api.github.com/repos/guzzle/psr7/zipball/45b30f99ac27b5ca93cb4831afe16285f57b8221",
"reference": "67c26b443f348a51926030c83481b85718457d3d", "reference": "45b30f99ac27b5ca93cb4831afe16285f57b8221",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
"php": "^7.2.5 || ^8.0", "php": "^7.2.5 || ^8.0",
"psr/http-factory": "^1.0", "psr/http-factory": "^1.0",
"psr/http-message": "^1.0", "psr/http-message": "^1.1 || ^2.0",
"ralouphie/getallheaders": "^3.0" "ralouphie/getallheaders": "^3.0"
}, },
"provide": { "provide": {
@@ -628,9 +627,9 @@
"psr/http-message-implementation": "1.0" "psr/http-message-implementation": "1.0"
}, },
"require-dev": { "require-dev": {
"bamarni/composer-bin-plugin": "^1.8.1", "bamarni/composer-bin-plugin": "^1.8.2",
"http-interop/http-factory-tests": "^0.9", "http-interop/http-factory-tests": "^0.9",
"phpunit/phpunit": "^8.5.29 || ^9.5.23" "phpunit/phpunit": "^8.5.36 || ^9.6.15"
}, },
"suggest": { "suggest": {
"laminas/laminas-httphandlerrunner": "Emit PSR-7 responses" "laminas/laminas-httphandlerrunner": "Emit PSR-7 responses"
@@ -640,9 +639,6 @@
"bamarni-bin": { "bamarni-bin": {
"bin-links": true, "bin-links": true,
"forward-command": false "forward-command": false
},
"branch-alias": {
"dev-master": "2.4-dev"
} }
}, },
"autoload": { "autoload": {
@@ -704,7 +700,7 @@
], ],
"support": { "support": {
"issues": "https://github.com/guzzle/psr7/issues", "issues": "https://github.com/guzzle/psr7/issues",
"source": "https://github.com/guzzle/psr7/tree/2.4.3" "source": "https://github.com/guzzle/psr7/tree/2.6.2"
}, },
"funding": [ "funding": [
{ {
@@ -720,36 +716,38 @@
"type": "tidelift" "type": "tidelift"
} }
], ],
"time": "2022-10-26T14:07:24+00:00" "time": "2023-12-03T20:05:35+00:00"
}, },
{ {
"name": "mobiledetect/mobiledetectlib", "name": "mobiledetect/mobiledetectlib",
"version": "2.8.41", "version": "4.8.06",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/serbanghita/Mobile-Detect.git", "url": "https://github.com/serbanghita/Mobile-Detect.git",
"reference": "fc9cccd4d3706d5a7537b562b59cc18f9e4c0cb1" "reference": "af088b54cecc13b3264edca7da93a89ba7aa2d9e"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/serbanghita/Mobile-Detect/zipball/fc9cccd4d3706d5a7537b562b59cc18f9e4c0cb1", "url": "https://api.github.com/repos/serbanghita/Mobile-Detect/zipball/af088b54cecc13b3264edca7da93a89ba7aa2d9e",
"reference": "fc9cccd4d3706d5a7537b562b59cc18f9e4c0cb1", "reference": "af088b54cecc13b3264edca7da93a89ba7aa2d9e",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
"php": ">=5.0.0" "php": ">=8.0",
"psr/simple-cache": "^2 || ^3"
}, },
"require-dev": { "require-dev": {
"phpunit/phpunit": "~4.8.35||~5.7" "friendsofphp/php-cs-fixer": "^v3.35.1",
"phpbench/phpbench": "^1.2",
"phpstan/phpstan": "^1.10",
"phpunit/phpunit": "^9.6",
"squizlabs/php_codesniffer": "^3.7"
}, },
"type": "library", "type": "library",
"autoload": { "autoload": {
"psr-0": { "psr-4": {
"Detection": "namespaced/" "Detection\\": "src/"
}, }
"classmap": [
"Mobile_Detect.php"
]
}, },
"notification-url": "https://packagist.org/downloads/", "notification-url": "https://packagist.org/downloads/",
"license": [ "license": [
@@ -774,22 +772,28 @@
], ],
"support": { "support": {
"issues": "https://github.com/serbanghita/Mobile-Detect/issues", "issues": "https://github.com/serbanghita/Mobile-Detect/issues",
"source": "https://github.com/serbanghita/Mobile-Detect/tree/2.8.41" "source": "https://github.com/serbanghita/Mobile-Detect/tree/4.8.06"
}, },
"time": "2022-11-08T18:31:26+00:00" "funding": [
{
"url": "https://github.com/serbanghita",
"type": "github"
}
],
"time": "2024-03-01T22:28:42+00:00"
}, },
{ {
"name": "monolog/monolog", "name": "monolog/monolog",
"version": "3.2.0", "version": "3.7.0",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/Seldaek/monolog.git", "url": "https://github.com/Seldaek/monolog.git",
"reference": "305444bc6fb6c89e490f4b34fa6e979584d7fa81" "reference": "f4393b648b78a5408747de94fca38beb5f7e9ef8"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/Seldaek/monolog/zipball/305444bc6fb6c89e490f4b34fa6e979584d7fa81", "url": "https://api.github.com/repos/Seldaek/monolog/zipball/f4393b648b78a5408747de94fca38beb5f7e9ef8",
"reference": "305444bc6fb6c89e490f4b34fa6e979584d7fa81", "reference": "f4393b648b78a5408747de94fca38beb5f7e9ef8",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@@ -804,16 +808,16 @@
"doctrine/couchdb": "~1.0@dev", "doctrine/couchdb": "~1.0@dev",
"elasticsearch/elasticsearch": "^7 || ^8", "elasticsearch/elasticsearch": "^7 || ^8",
"ext-json": "*", "ext-json": "*",
"graylog2/gelf-php": "^1.4.2", "graylog2/gelf-php": "^1.4.2 || ^2.0",
"guzzlehttp/guzzle": "^7.4", "guzzlehttp/guzzle": "^7.4.5",
"guzzlehttp/psr7": "^2.2", "guzzlehttp/psr7": "^2.2",
"mongodb/mongodb": "^1.8", "mongodb/mongodb": "^1.8",
"php-amqplib/php-amqplib": "~2.4 || ^3", "php-amqplib/php-amqplib": "~2.4 || ^3",
"phpstan/phpstan": "^1.4", "phpstan/phpstan": "^1.9",
"phpstan/phpstan-deprecation-rules": "^1.0", "phpstan/phpstan-deprecation-rules": "^1.0",
"phpstan/phpstan-strict-rules": "^1.1", "phpstan/phpstan-strict-rules": "^1.4",
"phpunit/phpunit": "^9.5.16", "phpunit/phpunit": "^10.5.17",
"predis/predis": "^1.1", "predis/predis": "^1.1 || ^2",
"ruflin/elastica": "^7", "ruflin/elastica": "^7",
"symfony/mailer": "^5.4 || ^6", "symfony/mailer": "^5.4 || ^6",
"symfony/mime": "^5.4 || ^6" "symfony/mime": "^5.4 || ^6"
@@ -865,7 +869,7 @@
], ],
"support": { "support": {
"issues": "https://github.com/Seldaek/monolog/issues", "issues": "https://github.com/Seldaek/monolog/issues",
"source": "https://github.com/Seldaek/monolog/tree/3.2.0" "source": "https://github.com/Seldaek/monolog/tree/3.7.0"
}, },
"funding": [ "funding": [
{ {
@@ -877,28 +881,28 @@
"type": "tidelift" "type": "tidelift"
} }
], ],
"time": "2022-07-24T12:00:55+00:00" "time": "2024-06-28T09:40:51+00:00"
}, },
{ {
"name": "paragonie/constant_time_encoding", "name": "paragonie/constant_time_encoding",
"version": "v2.6.3", "version": "v3.0.0",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/paragonie/constant_time_encoding.git", "url": "https://github.com/paragonie/constant_time_encoding.git",
"reference": "58c3f47f650c94ec05a151692652a868995d2938" "reference": "df1e7fde177501eee2037dd159cf04f5f301a512"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/paragonie/constant_time_encoding/zipball/58c3f47f650c94ec05a151692652a868995d2938", "url": "https://api.github.com/repos/paragonie/constant_time_encoding/zipball/df1e7fde177501eee2037dd159cf04f5f301a512",
"reference": "58c3f47f650c94ec05a151692652a868995d2938", "reference": "df1e7fde177501eee2037dd159cf04f5f301a512",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
"php": "^7|^8" "php": "^8"
}, },
"require-dev": { "require-dev": {
"phpunit/phpunit": "^6|^7|^8|^9", "phpunit/phpunit": "^9",
"vimeo/psalm": "^1|^2|^3|^4" "vimeo/psalm": "^4|^5"
}, },
"type": "library", "type": "library",
"autoload": { "autoload": {
@@ -944,7 +948,7 @@
"issues": "https://github.com/paragonie/constant_time_encoding/issues", "issues": "https://github.com/paragonie/constant_time_encoding/issues",
"source": "https://github.com/paragonie/constant_time_encoding" "source": "https://github.com/paragonie/constant_time_encoding"
}, },
"time": "2022-06-14T06:56:20+00:00" "time": "2024-05-08T12:36:18+00:00"
}, },
{ {
"name": "paragonie/random_compat", "name": "paragonie/random_compat",
@@ -998,20 +1002,20 @@
}, },
{ {
"name": "phpseclib/phpseclib", "name": "phpseclib/phpseclib",
"version": "3.0.18", "version": "3.0.39",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/phpseclib/phpseclib.git", "url": "https://github.com/phpseclib/phpseclib.git",
"reference": "f28693d38ba21bb0d9f0c411ee5dae2b178201da" "reference": "211ebc399c6e73c225a018435fe5ae209d1d1485"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/phpseclib/phpseclib/zipball/f28693d38ba21bb0d9f0c411ee5dae2b178201da", "url": "https://api.github.com/repos/phpseclib/phpseclib/zipball/211ebc399c6e73c225a018435fe5ae209d1d1485",
"reference": "f28693d38ba21bb0d9f0c411ee5dae2b178201da", "reference": "211ebc399c6e73c225a018435fe5ae209d1d1485",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
"paragonie/constant_time_encoding": "^1|^2", "paragonie/constant_time_encoding": "^1|^2|^3",
"paragonie/random_compat": "^1.4|^2.0|^9.99.99", "paragonie/random_compat": "^1.4|^2.0|^9.99.99",
"php": ">=5.6.1" "php": ">=5.6.1"
}, },
@@ -1088,7 +1092,7 @@
], ],
"support": { "support": {
"issues": "https://github.com/phpseclib/phpseclib/issues", "issues": "https://github.com/phpseclib/phpseclib/issues",
"source": "https://github.com/phpseclib/phpseclib/tree/3.0.18" "source": "https://github.com/phpseclib/phpseclib/tree/3.0.39"
}, },
"funding": [ "funding": [
{ {
@@ -1104,7 +1108,7 @@
"type": "tidelift" "type": "tidelift"
} }
], ],
"time": "2022-12-17T18:26:50+00:00" "time": "2024-06-24T06:27:33+00:00"
}, },
{ {
"name": "psr/cache", "name": "psr/cache",
@@ -1157,21 +1161,21 @@
}, },
{ {
"name": "psr/http-client", "name": "psr/http-client",
"version": "1.0.1", "version": "1.0.3",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/php-fig/http-client.git", "url": "https://github.com/php-fig/http-client.git",
"reference": "2dfb5f6c5eff0e91e20e913f8c5452ed95b86621" "reference": "bb5906edc1c324c9a05aa0873d40117941e5fa90"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/php-fig/http-client/zipball/2dfb5f6c5eff0e91e20e913f8c5452ed95b86621", "url": "https://api.github.com/repos/php-fig/http-client/zipball/bb5906edc1c324c9a05aa0873d40117941e5fa90",
"reference": "2dfb5f6c5eff0e91e20e913f8c5452ed95b86621", "reference": "bb5906edc1c324c9a05aa0873d40117941e5fa90",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
"php": "^7.0 || ^8.0", "php": "^7.0 || ^8.0",
"psr/http-message": "^1.0" "psr/http-message": "^1.0 || ^2.0"
}, },
"type": "library", "type": "library",
"extra": { "extra": {
@@ -1191,7 +1195,7 @@
"authors": [ "authors": [
{ {
"name": "PHP-FIG", "name": "PHP-FIG",
"homepage": "http://www.php-fig.org/" "homepage": "https://www.php-fig.org/"
} }
], ],
"description": "Common interface for HTTP clients", "description": "Common interface for HTTP clients",
@@ -1203,27 +1207,27 @@
"psr-18" "psr-18"
], ],
"support": { "support": {
"source": "https://github.com/php-fig/http-client/tree/master" "source": "https://github.com/php-fig/http-client"
}, },
"time": "2020-06-29T06:28:15+00:00" "time": "2023-09-23T14:17:50+00:00"
}, },
{ {
"name": "psr/http-factory", "name": "psr/http-factory",
"version": "1.0.1", "version": "1.1.0",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/php-fig/http-factory.git", "url": "https://github.com/php-fig/http-factory.git",
"reference": "12ac7fcd07e5b077433f5f2bee95b3a771bf61be" "reference": "2b4765fddfe3b508ac62f829e852b1501d3f6e8a"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/php-fig/http-factory/zipball/12ac7fcd07e5b077433f5f2bee95b3a771bf61be", "url": "https://api.github.com/repos/php-fig/http-factory/zipball/2b4765fddfe3b508ac62f829e852b1501d3f6e8a",
"reference": "12ac7fcd07e5b077433f5f2bee95b3a771bf61be", "reference": "2b4765fddfe3b508ac62f829e852b1501d3f6e8a",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
"php": ">=7.0.0", "php": ">=7.1",
"psr/http-message": "^1.0" "psr/http-message": "^1.0 || ^2.0"
}, },
"type": "library", "type": "library",
"extra": { "extra": {
@@ -1243,10 +1247,10 @@
"authors": [ "authors": [
{ {
"name": "PHP-FIG", "name": "PHP-FIG",
"homepage": "http://www.php-fig.org/" "homepage": "https://www.php-fig.org/"
} }
], ],
"description": "Common interfaces for PSR-7 HTTP message factories", "description": "PSR-17: Common interfaces for PSR-7 HTTP message factories",
"keywords": [ "keywords": [
"factory", "factory",
"http", "http",
@@ -1258,31 +1262,31 @@
"response" "response"
], ],
"support": { "support": {
"source": "https://github.com/php-fig/http-factory/tree/master" "source": "https://github.com/php-fig/http-factory"
}, },
"time": "2019-04-30T12:38:16+00:00" "time": "2024-04-15T12:06:14+00:00"
}, },
{ {
"name": "psr/http-message", "name": "psr/http-message",
"version": "1.0.1", "version": "2.0",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/php-fig/http-message.git", "url": "https://github.com/php-fig/http-message.git",
"reference": "f6561bf28d520154e4b0ec72be95418abe6d9363" "reference": "402d35bcb92c70c026d1a6a9883f06b2ead23d71"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/php-fig/http-message/zipball/f6561bf28d520154e4b0ec72be95418abe6d9363", "url": "https://api.github.com/repos/php-fig/http-message/zipball/402d35bcb92c70c026d1a6a9883f06b2ead23d71",
"reference": "f6561bf28d520154e4b0ec72be95418abe6d9363", "reference": "402d35bcb92c70c026d1a6a9883f06b2ead23d71",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
"php": ">=5.3.0" "php": "^7.2 || ^8.0"
}, },
"type": "library", "type": "library",
"extra": { "extra": {
"branch-alias": { "branch-alias": {
"dev-master": "1.0.x-dev" "dev-master": "2.0.x-dev"
} }
}, },
"autoload": { "autoload": {
@@ -1297,7 +1301,7 @@
"authors": [ "authors": [
{ {
"name": "PHP-FIG", "name": "PHP-FIG",
"homepage": "http://www.php-fig.org/" "homepage": "https://www.php-fig.org/"
} }
], ],
"description": "Common interface for HTTP messages", "description": "Common interface for HTTP messages",
@@ -1311,9 +1315,9 @@
"response" "response"
], ],
"support": { "support": {
"source": "https://github.com/php-fig/http-message/tree/master" "source": "https://github.com/php-fig/http-message/tree/2.0"
}, },
"time": "2016-08-06T14:39:51+00:00" "time": "2023-04-04T09:54:51+00:00"
}, },
{ {
"name": "psr/log", "name": "psr/log",
@@ -1365,6 +1369,57 @@
}, },
"time": "2021-07-14T16:46:02+00:00" "time": "2021-07-14T16:46:02+00:00"
}, },
{
"name": "psr/simple-cache",
"version": "3.0.0",
"source": {
"type": "git",
"url": "https://github.com/php-fig/simple-cache.git",
"reference": "764e0b3939f5ca87cb904f570ef9be2d78a07865"
},
"dist": {
"type": "zip",
"url": "https://api.github.com/repos/php-fig/simple-cache/zipball/764e0b3939f5ca87cb904f570ef9be2d78a07865",
"reference": "764e0b3939f5ca87cb904f570ef9be2d78a07865",
"shasum": ""
},
"require": {
"php": ">=8.0.0"
},
"type": "library",
"extra": {
"branch-alias": {
"dev-master": "3.0.x-dev"
}
},
"autoload": {
"psr-4": {
"Psr\\SimpleCache\\": "src/"
}
},
"notification-url": "https://packagist.org/downloads/",
"license": [
"MIT"
],
"authors": [
{
"name": "PHP-FIG",
"homepage": "https://www.php-fig.org/"
}
],
"description": "Common interfaces for simple caching",
"keywords": [
"cache",
"caching",
"psr",
"psr-16",
"simple-cache"
],
"support": {
"source": "https://github.com/php-fig/simple-cache/tree/3.0.0"
},
"time": "2021-10-29T13:26:27+00:00"
},
{ {
"name": "ralouphie/getallheaders", "name": "ralouphie/getallheaders",
"version": "3.0.3", "version": "3.0.3",
@@ -1411,16 +1466,16 @@
}, },
{ {
"name": "symfony/deprecation-contracts", "name": "symfony/deprecation-contracts",
"version": "v3.2.0", "version": "v3.5.0",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/symfony/deprecation-contracts.git", "url": "https://github.com/symfony/deprecation-contracts.git",
"reference": "1ee04c65529dea5d8744774d474e7cbd2f1206d3" "reference": "0e0d29ce1f20deffb4ab1b016a7257c4f1e789a1"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/symfony/deprecation-contracts/zipball/1ee04c65529dea5d8744774d474e7cbd2f1206d3", "url": "https://api.github.com/repos/symfony/deprecation-contracts/zipball/0e0d29ce1f20deffb4ab1b016a7257c4f1e789a1",
"reference": "1ee04c65529dea5d8744774d474e7cbd2f1206d3", "reference": "0e0d29ce1f20deffb4ab1b016a7257c4f1e789a1",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
@@ -1429,7 +1484,7 @@
"type": "library", "type": "library",
"extra": { "extra": {
"branch-alias": { "branch-alias": {
"dev-main": "3.3-dev" "dev-main": "3.5-dev"
}, },
"thanks": { "thanks": {
"name": "symfony/contracts", "name": "symfony/contracts",
@@ -1458,7 +1513,7 @@
"description": "A generic function and convention to trigger deprecation notices", "description": "A generic function and convention to trigger deprecation notices",
"homepage": "https://symfony.com", "homepage": "https://symfony.com",
"support": { "support": {
"source": "https://github.com/symfony/deprecation-contracts/tree/v3.2.0" "source": "https://github.com/symfony/deprecation-contracts/tree/v3.5.0"
}, },
"funding": [ "funding": [
{ {
@@ -1474,7 +1529,7 @@
"type": "tidelift" "type": "tidelift"
} }
], ],
"time": "2022-11-25T10:21:52+00:00" "time": "2024-04-18T09:32:20+00:00"
} }
], ],
"packages-dev": [], "packages-dev": [],
@@ -1484,8 +1539,8 @@
"prefer-stable": false, "prefer-stable": false,
"prefer-lowest": false, "prefer-lowest": false,
"platform": { "platform": {
"php": ">=7.0" "php": ">=8.1"
}, },
"platform-dev": [], "platform-dev": [],
"plugin-api-version": "2.3.0" "plugin-api-version": "2.6.0"
} }

View File

@@ -6,4 +6,3 @@ Route::group(['prefix' => 'gcalendar'], function () {
'uses' => 'NicoSt\GCalendar\Controllers\GoogleCallback@oauth2callback' 'uses' => 'NicoSt\GCalendar\Controllers\GoogleCallback@oauth2callback'
]); ]);
}); });

View File

@@ -7,5 +7,7 @@
- Fix missing checkboxes at the calendar selector in the backend - Fix missing checkboxes at the calendar selector in the backend
1.1.0: 1.1.0:
- Update scopes for Calendar API to read only. - Update scopes for Calendar API to read only.
- Fix bug about missing refresh token after the update to the latest google clientapi version - Fix bug about missing refresh token after the update to the latest google client api version
- Remove unnecessary logging - Remove unnecessary logging
1.1.1:
- Updated dependencies