From 652db90cc57208f411a4f2a2d4a034fb9a430cef Mon Sep 17 00:00:00 2001 From: Tomasz Smolarek Date: Wed, 28 Feb 2024 09:16:38 +0100 Subject: [PATCH 1/2] Add Bulk-Notifications package --- composer.json | 1 + composer.lock | 1020 +++++++++++++++++++++++++++++- config/l5-swagger.php | 1 + docker/envs/phpunit.xml.cc | 4 + docker/envs/phpunit.xml.mysql | 4 + docker/envs/phpunit.xml.postgres | 6 +- phpunit.xml | 4 + 7 files changed, 1009 insertions(+), 31 deletions(-) diff --git a/composer.json b/composer.json index 0413d99c..e7136fd1 100644 --- a/composer.json +++ b/composer.json @@ -40,6 +40,7 @@ "escolalms/assign-without-account": "^0", "escolalms/auth": "^0", "escolalms/bookmarks_notes": "^0", + "escolalms/bulk-notifications": "^0", "escolalms/cart": "^0", "escolalms/categories": "^0", "escolalms/cmi5": "^0", diff --git a/composer.lock b/composer.lock index 8d6bfd4e..e1b0a46d 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "e9bcee4cf2d4c433be0fd4ed4ce09ff3", + "content-hash": "25fd337199d3a3e72406079ebc8be92c", "packages": [ { "name": "aloha/twilio", @@ -398,6 +398,133 @@ ], "time": "2024-02-14T14:12:51+00:00" }, + { + "name": "beste/clock", + "version": "3.0.0", + "source": { + "type": "git", + "url": "https://github.com/beste/clock.git", + "reference": "7004b55fcd54737b539886244b3a3b2188181974" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/beste/clock/zipball/7004b55fcd54737b539886244b3a3b2188181974", + "reference": "7004b55fcd54737b539886244b3a3b2188181974", + "shasum": "" + }, + "require": { + "php": "^8.0", + "psr/clock": "^1.0" + }, + "provide": { + "psr/clock-implementation": "1.0" + }, + "require-dev": { + "phpstan/extension-installer": "^1.2", + "phpstan/phpstan": "^1.9.1", + "phpstan/phpstan-phpunit": "^1.2.2", + "phpstan/phpstan-strict-rules": "^1.4.4", + "phpunit/phpunit": "^9.5.26", + "psalm/plugin-phpunit": "^0.16.1", + "vimeo/psalm": "^4.29" + }, + "type": "library", + "autoload": { + "files": [ + "src/Clock.php" + ], + "psr-4": { + "Beste\\Clock\\": "src/Clock" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Jérôme Gamez", + "email": "jerome@gamez.name" + } + ], + "description": "A collection of Clock implementations", + "keywords": [ + "clock", + "clock-interface", + "psr-20", + "psr20" + ], + "support": { + "issues": "https://github.com/beste/clock/issues", + "source": "https://github.com/beste/clock/tree/3.0.0" + }, + "funding": [ + { + "url": "https://github.com/jeromegamez", + "type": "github" + } + ], + "time": "2022-11-26T18:03:05+00:00" + }, + { + "name": "beste/json", + "version": "1.4.0", + "source": { + "type": "git", + "url": "https://github.com/beste/json.git", + "reference": "2d7aea5a7ceeb428350ba450e4a227ac581359b4" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/beste/json/zipball/2d7aea5a7ceeb428350ba450e4a227ac581359b4", + "reference": "2d7aea5a7ceeb428350ba450e4a227ac581359b4", + "shasum": "" + }, + "require": { + "ext-json": "*", + "php": "~8.1.0 || ~8.2.0 || ~8.3.0" + }, + "require-dev": { + "phpstan/extension-installer": "^1.3", + "phpstan/phpstan": "^1.10", + "phpstan/phpstan-phpunit": "^1.3", + "phpstan/phpstan-strict-rules": "^1.5", + "phpunit/phpunit": "^10.4.2", + "rector/rector": "^0.18.10" + }, + "type": "library", + "autoload": { + "files": [ + "src/Json.php" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Jérôme Gamez", + "email": "jerome@gamez.name" + } + ], + "description": "A simple JSON helper to decode and encode JSON", + "keywords": [ + "helper", + "json" + ], + "support": { + "issues": "https://github.com/beste/json/issues", + "source": "https://github.com/beste/json/tree/1.4.0" + }, + "funding": [ + { + "url": "https://github.com/jeromegamez", + "type": "github" + } + ], + "time": "2023-11-30T22:41:32+00:00" + }, { "name": "brick/math", "version": "0.11.0", @@ -2758,6 +2885,67 @@ }, "time": "2024-02-15T20:10:26+00:00" }, + { + "name": "escolalms/bulk-notifications", + "version": "0.0.2", + "source": { + "type": "git", + "url": "https://github.com/EscolaLMS/Bulk-Notifications.git", + "reference": "6133faf2b9a5e66e0acc70bfdeaa6966351b5e6d" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/EscolaLMS/Bulk-Notifications/zipball/6133faf2b9a5e66e0acc70bfdeaa6966351b5e6d", + "reference": "6133faf2b9a5e66e0acc70bfdeaa6966351b5e6d", + "shasum": "" + }, + "require": { + "escolalms/auth": "^0", + "escolalms/core": "^1", + "escolalms/settings": "^0", + "kreait/laravel-firebase": ">=4", + "laravel/framework": ">=8.0", + "php": ">=7.4" + }, + "require-dev": { + "darkaonline/l5-swagger": "8.1.0", + "escolalms/courses": "^0.4", + "orchestra/testbench": ">=5.0", + "phpunit/phpunit": "^9.0" + }, + "type": "package", + "extra": { + "laravel": { + "providers": [ + "EscolaLms\\BulkNotifications\\EscolaLmsBulkNotificationsServiceProvider" + ] + } + }, + "autoload": { + "psr-4": { + "EscolaLms\\BulkNotifications\\": "src", + "EscolaLms\\BulkNotifications\\Tests\\": "tests", + "EscolaLms\\BulkNotifications\\Database\\Seeders\\": "database/seeders", + "EscolaLms\\BulkNotifications\\Database\\Factories\\": "database/factories" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Tomasz Smolarek", + "email": "tomasz.smolarek@escolasoft.com" + } + ], + "description": "Escola Headless LMS Bulk Notifications", + "support": { + "issues": "https://github.com/EscolaLMS/Bulk-Notifications/issues", + "source": "https://github.com/EscolaLMS/Bulk-Notifications/tree/0.0.2" + }, + "time": "2024-02-27T14:43:01+00:00" + }, { "name": "escolalms/cart", "version": "0.4.72", @@ -5727,6 +5915,62 @@ }, "time": "2024-01-02T13:46:09+00:00" }, + { + "name": "fig/http-message-util", + "version": "1.1.5", + "source": { + "type": "git", + "url": "https://github.com/php-fig/http-message-util.git", + "reference": "9d94dc0154230ac39e5bf89398b324a86f63f765" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/php-fig/http-message-util/zipball/9d94dc0154230ac39e5bf89398b324a86f63f765", + "reference": "9d94dc0154230ac39e5bf89398b324a86f63f765", + "shasum": "" + }, + "require": { + "php": "^5.3 || ^7.0 || ^8.0" + }, + "suggest": { + "psr/http-message": "The package containing the PSR-7 interfaces" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.1.x-dev" + } + }, + "autoload": { + "psr-4": { + "Fig\\Http\\Message\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "PHP-FIG", + "homepage": "https://www.php-fig.org/" + } + ], + "description": "Utility classes and constants for use with PSR-7 (psr/http-message)", + "keywords": [ + "http", + "http-message", + "psr", + "psr-7", + "request", + "response" + ], + "support": { + "issues": "https://github.com/php-fig/http-message-util/issues", + "source": "https://github.com/php-fig/http-message-util/tree/1.1.5" + }, + "time": "2020-11-24T22:02:12+00:00" + }, { "name": "firebase/php-jwt", "version": "v6.10.0", @@ -6155,58 +6399,421 @@ "version": "v1.35.0", "source": { "type": "git", - "url": "https://github.com/googleapis/google-auth-library-php.git", - "reference": "6e9c9fd4e2bbd7042f50083076346e4a1eff4e4b" + "url": "https://github.com/googleapis/google-auth-library-php.git", + "reference": "6e9c9fd4e2bbd7042f50083076346e4a1eff4e4b" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/googleapis/google-auth-library-php/zipball/6e9c9fd4e2bbd7042f50083076346e4a1eff4e4b", + "reference": "6e9c9fd4e2bbd7042f50083076346e4a1eff4e4b", + "shasum": "" + }, + "require": { + "firebase/php-jwt": "^6.0", + "guzzlehttp/guzzle": "^6.5.8||^7.4.5", + "guzzlehttp/psr7": "^2.4.5", + "php": "^7.4||^8.0", + "psr/cache": "^1.0||^2.0||^3.0", + "psr/http-message": "^1.1||^2.0" + }, + "require-dev": { + "guzzlehttp/promises": "^2.0", + "kelvinmo/simplejwt": "0.7.1", + "phpseclib/phpseclib": "^3.0", + "phpspec/prophecy-phpunit": "^2.0", + "phpunit/phpunit": "^9.0.0", + "sebastian/comparator": ">=1.2.3", + "squizlabs/php_codesniffer": "^3.5" + }, + "suggest": { + "phpseclib/phpseclib": "May be used in place of OpenSSL for signing strings or for token management. Please require version ^2." + }, + "type": "library", + "autoload": { + "psr-4": { + "Google\\Auth\\": "src" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "Apache-2.0" + ], + "description": "Google Auth Library for PHP", + "homepage": "http://github.com/google/google-auth-library-php", + "keywords": [ + "Authentication", + "google", + "oauth2" + ], + "support": { + "docs": "https://googleapis.github.io/google-auth-library-php/main/", + "issues": "https://github.com/googleapis/google-auth-library-php/issues", + "source": "https://github.com/googleapis/google-auth-library-php/tree/v1.35.0" + }, + "time": "2024-02-01T20:41:08+00:00" + }, + { + "name": "google/cloud-core", + "version": "v1.56.0", + "source": { + "type": "git", + "url": "https://github.com/googleapis/google-cloud-php-core.git", + "reference": "35ca0fd74685c635a4c027c871de9d716c504933" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/googleapis/google-cloud-php-core/zipball/35ca0fd74685c635a4c027c871de9d716c504933", + "reference": "35ca0fd74685c635a4c027c871de9d716c504933", + "shasum": "" + }, + "require": { + "google/auth": "^1.34", + "google/gax": "^1.27.0", + "guzzlehttp/guzzle": "^6.5.8|^7.4.4", + "guzzlehttp/promises": "^1.4||^2.0", + "guzzlehttp/psr7": "^2.6", + "monolog/monolog": "^2.9|^3.0", + "php": ">=7.4", + "psr/http-message": "^1.0|^2.0", + "rize/uri-template": "~0.3" + }, + "require-dev": { + "erusev/parsedown": "^1.6", + "google/cloud-common-protos": "~0.5", + "opis/closure": "^3", + "phpdocumentor/reflection": "^5.3.3", + "phpdocumentor/reflection-docblock": "^5.3", + "phpspec/prophecy-phpunit": "^2.0", + "phpunit/phpunit": "^9.0", + "squizlabs/php_codesniffer": "2.*" + }, + "suggest": { + "opis/closure": "May be used to serialize closures to process jobs in the batch daemon. Please require version ^3.", + "symfony/lock": "Required for the Spanner cached based session pool. Please require the following commit: 3.3.x-dev#1ba6ac9" + }, + "bin": [ + "bin/google-cloud-batch" + ], + "type": "library", + "extra": { + "component": { + "id": "cloud-core", + "target": "googleapis/google-cloud-php-core.git", + "path": "Core", + "entry": "src/ServiceBuilder.php" + } + }, + "autoload": { + "psr-4": { + "Google\\Cloud\\Core\\": "src" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "Apache-2.0" + ], + "description": "Google Cloud PHP shared dependency, providing functionality useful to all components.", + "support": { + "source": "https://github.com/googleapis/google-cloud-php-core/tree/v1.56.0" + }, + "time": "2024-02-23T23:49:35+00:00" + }, + { + "name": "google/cloud-storage", + "version": "v1.39.0", + "source": { + "type": "git", + "url": "https://github.com/googleapis/google-cloud-php-storage.git", + "reference": "2425a167578084af5c9b87fac6eb59b09b33b8f5" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/googleapis/google-cloud-php-storage/zipball/2425a167578084af5c9b87fac6eb59b09b33b8f5", + "reference": "2425a167578084af5c9b87fac6eb59b09b33b8f5", + "shasum": "" + }, + "require": { + "google/cloud-core": "^1.55", + "php": ">=7.4", + "ramsey/uuid": "^4.2.3" + }, + "require-dev": { + "erusev/parsedown": "^1.6", + "google/cloud-pubsub": "^1.0", + "phpdocumentor/reflection": "^5.3.3", + "phpdocumentor/reflection-docblock": "^5.3", + "phpseclib/phpseclib": "^2.0||^3.0", + "phpspec/prophecy-phpunit": "^2.0", + "phpunit/phpunit": "^9.0", + "squizlabs/php_codesniffer": "2.*" + }, + "suggest": { + "google/cloud-pubsub": "May be used to register a topic to receive bucket notifications.", + "phpseclib/phpseclib": "May be used in place of OpenSSL for creating signed Cloud Storage URLs. Please require version ^2." + }, + "type": "library", + "extra": { + "component": { + "id": "cloud-storage", + "target": "googleapis/google-cloud-php-storage.git", + "path": "Storage", + "entry": "src/StorageClient.php" + } + }, + "autoload": { + "psr-4": { + "Google\\Cloud\\Storage\\": "src" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "Apache-2.0" + ], + "description": "Cloud Storage Client for PHP", + "support": { + "source": "https://github.com/googleapis/google-cloud-php-storage/tree/v1.39.0" + }, + "time": "2024-02-23T23:49:35+00:00" + }, + { + "name": "google/common-protos", + "version": "v4.5.0", + "source": { + "type": "git", + "url": "https://github.com/googleapis/common-protos-php.git", + "reference": "dfc232e90823cedca107b56e7371f2e2f35b9427" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/googleapis/common-protos-php/zipball/dfc232e90823cedca107b56e7371f2e2f35b9427", + "reference": "dfc232e90823cedca107b56e7371f2e2f35b9427", + "shasum": "" + }, + "require": { + "google/protobuf": "^3.6.1", + "php": ">=7.4" + }, + "require-dev": { + "phpunit/phpunit": "^9.0" + }, + "type": "library", + "autoload": { + "psr-4": { + "Google\\Api\\": "src/Api", + "Google\\Iam\\": "src/Iam", + "Google\\Rpc\\": "src/Rpc", + "Google\\Type\\": "src/Type", + "Google\\Cloud\\": "src/Cloud", + "GPBMetadata\\Google\\Api\\": "metadata/Api", + "GPBMetadata\\Google\\Iam\\": "metadata/Iam", + "GPBMetadata\\Google\\Rpc\\": "metadata/Rpc", + "GPBMetadata\\Google\\Type\\": "metadata/Type", + "GPBMetadata\\Google\\Cloud\\": "metadata/Cloud", + "GPBMetadata\\Google\\Logging\\": "metadata/Logging" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "Apache-2.0" + ], + "description": "Google API Common Protos for PHP", + "homepage": "https://github.com/googleapis/common-protos-php", + "keywords": [ + "google" + ], + "support": { + "issues": "https://github.com/googleapis/common-protos-php/issues", + "source": "https://github.com/googleapis/common-protos-php/tree/v4.5.0" + }, + "time": "2023-11-29T21:08:16+00:00" + }, + { + "name": "google/gax", + "version": "v1.29.1", + "source": { + "type": "git", + "url": "https://github.com/googleapis/gax-php.git", + "reference": "54a863e63ee318308637adb283f6157ccc3aabbb" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/googleapis/gax-php/zipball/54a863e63ee318308637adb283f6157ccc3aabbb", + "reference": "54a863e63ee318308637adb283f6157ccc3aabbb", + "shasum": "" + }, + "require": { + "google/auth": "^1.34.0", + "google/common-protos": "^4.4", + "google/grpc-gcp": "^0.2||^0.3", + "google/longrunning": "~0.2", + "google/protobuf": "^3.22", + "grpc/grpc": "^1.13", + "guzzlehttp/promises": "^1.4||^2.0", + "guzzlehttp/psr7": "^2.0", + "php": ">=7.4" + }, + "conflict": { + "ext-protobuf": "<3.7.0" + }, + "require-dev": { + "phpspec/prophecy-phpunit": "^2.0", + "phpunit/phpunit": "^9.0", + "squizlabs/php_codesniffer": "3.*" + }, + "type": "library", + "autoload": { + "psr-4": { + "Google\\ApiCore\\": "src", + "GPBMetadata\\ApiCore\\": "metadata/ApiCore" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "BSD-3-Clause" + ], + "description": "Google API Core for PHP", + "homepage": "https://github.com/googleapis/gax-php", + "keywords": [ + "google" + ], + "support": { + "issues": "https://github.com/googleapis/gax-php/issues", + "source": "https://github.com/googleapis/gax-php/tree/v1.29.1" + }, + "time": "2024-02-26T19:15:41+00:00" + }, + { + "name": "google/grpc-gcp", + "version": "v0.3.0", + "source": { + "type": "git", + "url": "https://github.com/GoogleCloudPlatform/grpc-gcp-php.git", + "reference": "4d8b455a45a89f57e1552cadc41a43bc34c40456" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/GoogleCloudPlatform/grpc-gcp-php/zipball/4d8b455a45a89f57e1552cadc41a43bc34c40456", + "reference": "4d8b455a45a89f57e1552cadc41a43bc34c40456", + "shasum": "" + }, + "require": { + "google/auth": "^1.3", + "google/protobuf": "^v3.3.0", + "grpc/grpc": "^v1.13.0", + "php": "^7.4||^8.0", + "psr/cache": "^1.0.1||^2.0.0||^3.0.0" + }, + "require-dev": { + "google/cloud-spanner": "^1.7", + "phpunit/phpunit": "^9.0" + }, + "type": "library", + "autoload": { + "psr-4": { + "Grpc\\Gcp\\": "src/" + }, + "classmap": [ + "src/generated/" + ] + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "Apache-2.0" + ], + "description": "gRPC GCP library for channel management", + "support": { + "issues": "https://github.com/GoogleCloudPlatform/grpc-gcp-php/issues", + "source": "https://github.com/GoogleCloudPlatform/grpc-gcp-php/tree/v0.3.0" + }, + "time": "2023-04-24T14:37:29+00:00" + }, + { + "name": "google/longrunning", + "version": "0.3.0", + "source": { + "type": "git", + "url": "https://github.com/googleapis/php-longrunning.git", + "reference": "c21cb8f8794f724ca672dad94bf7d406e62476b9" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/googleapis/php-longrunning/zipball/c21cb8f8794f724ca672dad94bf7d406e62476b9", + "reference": "c21cb8f8794f724ca672dad94bf7d406e62476b9", + "shasum": "" + }, + "require-dev": { + "google/gax": "^1.26.0", + "phpunit/phpunit": "^9.0" + }, + "type": "library", + "extra": { + "component": { + "id": "longrunning", + "path": "LongRunning", + "entry": null, + "target": "googleapis/php-longrunning" + } + }, + "autoload": { + "psr-4": { + "Google\\LongRunning\\": "src/LongRunning", + "Google\\ApiCore\\LongRunning\\": "src/ApiCore/LongRunning", + "GPBMetadata\\Google\\Longrunning\\": "metadata/Longrunning" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "Apache-2.0" + ], + "description": "Google LongRunning Client for PHP", + "support": { + "source": "https://github.com/googleapis/php-longrunning/tree/v0.3.0" + }, + "time": "2024-01-05T17:46:51+00:00" + }, + { + "name": "google/protobuf", + "version": "v3.25.3", + "source": { + "type": "git", + "url": "https://github.com/protocolbuffers/protobuf-php.git", + "reference": "983a87f4f8798a90ca3a25b0f300b8fda38df643" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/googleapis/google-auth-library-php/zipball/6e9c9fd4e2bbd7042f50083076346e4a1eff4e4b", - "reference": "6e9c9fd4e2bbd7042f50083076346e4a1eff4e4b", + "url": "https://api.github.com/repos/protocolbuffers/protobuf-php/zipball/983a87f4f8798a90ca3a25b0f300b8fda38df643", + "reference": "983a87f4f8798a90ca3a25b0f300b8fda38df643", "shasum": "" }, "require": { - "firebase/php-jwt": "^6.0", - "guzzlehttp/guzzle": "^6.5.8||^7.4.5", - "guzzlehttp/psr7": "^2.4.5", - "php": "^7.4||^8.0", - "psr/cache": "^1.0||^2.0||^3.0", - "psr/http-message": "^1.1||^2.0" + "php": ">=7.0.0" }, "require-dev": { - "guzzlehttp/promises": "^2.0", - "kelvinmo/simplejwt": "0.7.1", - "phpseclib/phpseclib": "^3.0", - "phpspec/prophecy-phpunit": "^2.0", - "phpunit/phpunit": "^9.0.0", - "sebastian/comparator": ">=1.2.3", - "squizlabs/php_codesniffer": "^3.5" + "phpunit/phpunit": ">=5.0.0" }, "suggest": { - "phpseclib/phpseclib": "May be used in place of OpenSSL for signing strings or for token management. Please require version ^2." + "ext-bcmath": "Need to support JSON deserialization" }, "type": "library", "autoload": { "psr-4": { - "Google\\Auth\\": "src" + "Google\\Protobuf\\": "src/Google/Protobuf", + "GPBMetadata\\Google\\Protobuf\\": "src/GPBMetadata/Google/Protobuf" } }, "notification-url": "https://packagist.org/downloads/", "license": [ - "Apache-2.0" + "BSD-3-Clause" ], - "description": "Google Auth Library for PHP", - "homepage": "http://github.com/google/google-auth-library-php", + "description": "proto library for PHP", + "homepage": "https://developers.google.com/protocol-buffers/", "keywords": [ - "Authentication", - "google", - "oauth2" + "proto" ], "support": { - "docs": "https://googleapis.github.io/google-auth-library-php/main/", - "issues": "https://github.com/googleapis/google-auth-library-php/issues", - "source": "https://github.com/googleapis/google-auth-library-php/tree/v1.35.0" + "source": "https://github.com/protocolbuffers/protobuf-php/tree/v3.25.3" }, - "time": "2024-02-01T20:41:08+00:00" + "time": "2024-02-15T21:11:49+00:00" }, { "name": "graham-campbell/result-type", @@ -6270,6 +6877,50 @@ ], "time": "2023-11-12T22:16:48+00:00" }, + { + "name": "grpc/grpc", + "version": "1.57.0", + "source": { + "type": "git", + "url": "https://github.com/grpc/grpc-php.git", + "reference": "b610c42022ed3a22f831439cb93802f2a4502fdf" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/grpc/grpc-php/zipball/b610c42022ed3a22f831439cb93802f2a4502fdf", + "reference": "b610c42022ed3a22f831439cb93802f2a4502fdf", + "shasum": "" + }, + "require": { + "php": ">=7.0.0" + }, + "require-dev": { + "google/auth": "^v1.3.0" + }, + "suggest": { + "ext-protobuf": "For better performance, install the protobuf C extension.", + "google/protobuf": "To get started using grpc quickly, install the native protobuf library." + }, + "type": "library", + "autoload": { + "psr-4": { + "Grpc\\": "src/lib/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "Apache-2.0" + ], + "description": "gRPC library for PHP", + "homepage": "https://grpc.io", + "keywords": [ + "rpc" + ], + "support": { + "source": "https://github.com/grpc/grpc-php/tree/v1.57.0" + }, + "time": "2023-08-14T23:57:54+00:00" + }, { "name": "guzzlehttp/guzzle", "version": "7.8.1", @@ -7084,6 +7735,253 @@ }, "time": "2023-09-26T02:20:38+00:00" }, + { + "name": "kreait/firebase-php", + "version": "7.9.1", + "source": { + "type": "git", + "url": "https://github.com/kreait/firebase-php.git", + "reference": "c3b30b9af9c5b0efc103f21432b2c005130419ec" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/kreait/firebase-php/zipball/c3b30b9af9c5b0efc103f21432b2c005130419ec", + "reference": "c3b30b9af9c5b0efc103f21432b2c005130419ec", + "shasum": "" + }, + "require": { + "beste/clock": "^3.0", + "beste/json": "^1.2.1", + "ext-ctype": "*", + "ext-filter": "*", + "ext-json": "*", + "ext-mbstring": "*", + "ext-openssl": "*", + "fig/http-message-util": "^1.1.5", + "firebase/php-jwt": "^6.3.2", + "google/auth": "^1.24", + "google/cloud-core": "^1.48.1", + "google/cloud-storage": "^1.30.1", + "guzzlehttp/guzzle": "^7.5", + "guzzlehttp/promises": "^2.0", + "guzzlehttp/psr7": "^2.6", + "kreait/firebase-tokens": "^4.2", + "lcobucci/jwt": "^4.3.0|^5.0", + "mtdowling/jmespath.php": "^2.6.1", + "php": "~8.1.0 || ~8.2.0 || ~8.3.0", + "psr/cache": "^1.0.1|^2.0|^3.0", + "psr/clock": "^1.0", + "psr/http-client": "^1.0", + "psr/http-factory": "^1.0", + "psr/http-message": "^1.1 || ^2.0", + "psr/log": "^1.1|^2.0|^3.0" + }, + "require-dev": { + "friendsofphp/php-cs-fixer": "^3.40.0", + "google/cloud-firestore": "^1.37.7", + "phpstan/extension-installer": "^1.3.1", + "phpstan/phpstan": "^1.10.46", + "phpstan/phpstan-phpunit": "^1.3.15", + "phpunit/phpunit": "^10.4.2", + "rector/rector": "~0.17.13", + "symfony/var-dumper": "^6.3.5 || ^7.0" + }, + "suggest": { + "google/cloud-firestore": "^1.0 to use the Firestore component" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-7.x": "7.x-dev" + } + }, + "autoload": { + "psr-4": { + "Kreait\\Firebase\\": "src/Firebase" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Jérôme Gamez", + "homepage": "https://github.com/jeromegamez" + } + ], + "description": "Firebase Admin SDK", + "homepage": "https://github.com/kreait/firebase-php", + "keywords": [ + "api", + "database", + "firebase", + "google", + "sdk" + ], + "support": { + "docs": "https://firebase-php.readthedocs.io", + "issues": "https://github.com/kreait/firebase-php/issues", + "source": "https://github.com/kreait/firebase-php" + }, + "funding": [ + { + "url": "https://github.com/sponsors/jeromegamez", + "type": "github" + } + ], + "time": "2023-12-04T06:06:03+00:00" + }, + { + "name": "kreait/firebase-tokens", + "version": "4.3.0", + "source": { + "type": "git", + "url": "https://github.com/kreait/firebase-tokens-php.git", + "reference": "e5a4f09d6fd5b976263e1f3418a4c19bce254ffa" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/kreait/firebase-tokens-php/zipball/e5a4f09d6fd5b976263e1f3418a4c19bce254ffa", + "reference": "e5a4f09d6fd5b976263e1f3418a4c19bce254ffa", + "shasum": "" + }, + "require": { + "beste/clock": "^3.0", + "ext-json": "*", + "ext-openssl": "*", + "fig/http-message-util": "^1.1.5", + "guzzlehttp/guzzle": "^7.5", + "lcobucci/clock": "^3.0", + "lcobucci/jwt": "^4.3.0|^5.0", + "php": "~8.1.0 || ~8.2.0 || ~8.3.0", + "psr/cache": "^1.0|^2.0|^3.0" + }, + "require-dev": { + "friendsofphp/php-cs-fixer": "^3.40", + "phpstan/extension-installer": "^1.2", + "phpstan/phpstan": "^1.9.2", + "phpstan/phpstan-phpunit": "^1.2.2", + "phpunit/phpunit": "^9.5.26", + "rector/rector": "^0.12.23", + "roave/backward-compatibility-check": "^8.1", + "symfony/cache": "^5.4|^6.1.7", + "symfony/var-dumper": "^5.3|^6.1.6" + }, + "suggest": { + "psr/cache-implementation": "to cache fetched remote public keys" + }, + "type": "library", + "autoload": { + "psr-4": { + "Kreait\\Firebase\\JWT\\": "src/JWT" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Jérôme Gamez", + "homepage": "https://github.com/jeromegamez" + } + ], + "description": "A library to work with Firebase tokens", + "homepage": "https://github.com/kreait/firebase-token-php", + "keywords": [ + "Authentication", + "auth", + "firebase", + "google", + "token" + ], + "support": { + "issues": "https://github.com/kreait/firebase-tokens-php/issues", + "source": "https://github.com/kreait/firebase-tokens-php/tree/4.3.0" + }, + "funding": [ + { + "url": "https://github.com/sponsors/jeromegamez", + "type": "github" + } + ], + "time": "2023-11-30T23:04:35+00:00" + }, + { + "name": "kreait/laravel-firebase", + "version": "5.7.0", + "source": { + "type": "git", + "url": "https://github.com/kreait/laravel-firebase.git", + "reference": "3628ce45ab9211146183610a3e8fc50c5ab5476a" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/kreait/laravel-firebase/zipball/3628ce45ab9211146183610a3e8fc50c5ab5476a", + "reference": "3628ce45ab9211146183610a3e8fc50c5ab5476a", + "shasum": "" + }, + "require": { + "illuminate/contracts": "^9.0 || ^10.0", + "illuminate/support": "^9.0 || ^10.0", + "kreait/firebase-php": "^7.0", + "php": "~8.1.0 || ~8.2.0 || ~8.3.0", + "symfony/cache": "^6.1.2 || ^7.0.3" + }, + "require-dev": { + "laravel/pint": "^1.13", + "orchestra/testbench": "^7.0 || ^8.0", + "phpunit/phpunit": "^9.6" + }, + "type": "library", + "extra": { + "laravel": { + "providers": [ + "Kreait\\Laravel\\Firebase\\ServiceProvider" + ], + "aliases": { + "Firebase": "Kreait\\Laravel\\Firebase\\Facades\\Firebase" + } + } + }, + "autoload": { + "psr-4": { + "Kreait\\Laravel\\Firebase\\": "src" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Jérôme Gamez", + "email": "jerome@gamez.name" + } + ], + "description": "A Laravel package for the Firebase PHP Admin SDK", + "keywords": [ + "FCM", + "api", + "database", + "firebase", + "gcm", + "laravel", + "sdk" + ], + "support": { + "issues": "https://github.com/kreait/laravel-firebase/issues", + "source": "https://github.com/kreait/laravel-firebase/tree/5.7.0" + }, + "funding": [ + { + "url": "https://github.com/jeromegamez", + "type": "github" + } + ], + "time": "2024-02-19T18:44:01+00:00" + }, { "name": "laminas/laminas-code", "version": "4.13.0", @@ -12428,6 +13326,68 @@ ], "time": "2023-04-01T12:26:34+00:00" }, + { + "name": "rize/uri-template", + "version": "0.3.5", + "source": { + "type": "git", + "url": "https://github.com/rize/UriTemplate.git", + "reference": "5ed4ba8ea34af84485dea815d4b6b620794d1168" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/rize/UriTemplate/zipball/5ed4ba8ea34af84485dea815d4b6b620794d1168", + "reference": "5ed4ba8ea34af84485dea815d4b6b620794d1168", + "shasum": "" + }, + "require": { + "php": ">=5.3.0" + }, + "require-dev": { + "phpunit/phpunit": "~4.8.36" + }, + "type": "library", + "autoload": { + "psr-4": { + "Rize\\": "src/Rize" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Marut K", + "homepage": "http://twitter.com/rezigned" + } + ], + "description": "PHP URI Template (RFC 6570) supports both expansion & extraction", + "keywords": [ + "RFC 6570", + "template", + "uri" + ], + "support": { + "issues": "https://github.com/rize/UriTemplate/issues", + "source": "https://github.com/rize/UriTemplate/tree/0.3.5" + }, + "funding": [ + { + "url": "https://www.paypal.me/rezigned", + "type": "custom" + }, + { + "url": "https://github.com/rezigned", + "type": "github" + }, + { + "url": "https://opencollective.com/rize-uri-template", + "type": "open_collective" + } + ], + "time": "2022-10-12T17:22:51+00:00" + }, { "name": "sabberworm/php-css-parser", "version": "v8.5.1", diff --git a/config/l5-swagger.php b/config/l5-swagger.php index 30194898..ce69d5a7 100644 --- a/config/l5-swagger.php +++ b/config/l5-swagger.php @@ -74,6 +74,7 @@ base_path('vendor/escolalms/bookmarks_notes/src'), base_path('vendor/escolalms/topic-type-project/src'), base_path('vendor/escolalms/topic-type-gift/src'), + base_path('vendor/escolalms/bulk-notifications/src'), ], ], ], diff --git a/docker/envs/phpunit.xml.cc b/docker/envs/phpunit.xml.cc index 1191cf76..44be43fb 100644 --- a/docker/envs/phpunit.xml.cc +++ b/docker/envs/phpunit.xml.cc @@ -4,6 +4,7 @@ ./vendor/escolalms/auth/src ./vendor/escolalms/bookmarks_notes/src + ./vendor/escolalms/bulk-notifications/src ./vendor/escolalms/cart/src ./vendor/escolalms/categories/src ./vendor/escolalms/core/src @@ -60,6 +61,9 @@ ./vendor/escolalms/bookmarks_notes/tests + + ./vendor/escolalms/bulk-notifications/tests + ./vendor/escolalms/cart/tests diff --git a/docker/envs/phpunit.xml.mysql b/docker/envs/phpunit.xml.mysql index 8d7ec4b8..39c24021 100644 --- a/docker/envs/phpunit.xml.mysql +++ b/docker/envs/phpunit.xml.mysql @@ -4,6 +4,7 @@ ./vendor/escolalms/auth/ ./vendor/escolalms/bookmarks_notes/ + ./vendor/escolalms/bulk-notifications/ ./vendor/escolalms/cart/ ./vendor/escolalms/categories/ ./vendor/escolalms/core/ @@ -60,6 +61,9 @@ ./vendor/escolalms/bookmarks_notes/tests + + ./vendor/escolalms/bulk-notifications/tests + ./vendor/escolalms/cart/tests diff --git a/docker/envs/phpunit.xml.postgres b/docker/envs/phpunit.xml.postgres index 8416fe1c..828d1367 100644 --- a/docker/envs/phpunit.xml.postgres +++ b/docker/envs/phpunit.xml.postgres @@ -4,6 +4,7 @@ ./vendor/escolalms/auth/ ./vendor/escolalms/bookmarks_notes/ + ./vendor/escolalms/bulk-notifications/ ./vendor/escolalms/cart/ ./vendor/escolalms/categories/ ./vendor/escolalms/core/ @@ -57,9 +58,12 @@ ./vendor/escolalms/auth/tests - + ./vendor/escolalms/bookmarks_notes/tests + + ./vendor/escolalms/bulk-notifications/tests + ./vendor/escolalms/cart/tests diff --git a/phpunit.xml b/phpunit.xml index f581e35f..de896bde 100755 --- a/phpunit.xml +++ b/phpunit.xml @@ -4,6 +4,7 @@ ./vendor/escolalms/auth/ ./vendor/escolalms/bookmarks_notes/ + ./vendor/escolalms/bulk-notifications/ ./vendor/escolalms/cart/ ./vendor/escolalms/categories/ ./vendor/escolalms/core/ @@ -56,6 +57,9 @@ ./vendor/escolalms/bookmarks_notes/tests + + ./vendor/escolalms/bulk-notifications/tests + ./vendor/escolalms/cart/tests From a2af84fa9f8a936dbddc4cf8c313d462771edda7 Mon Sep 17 00:00:00 2001 From: Tomasz Smolarek Date: Wed, 28 Feb 2024 11:13:23 +0100 Subject: [PATCH 2/2] add seeder --- database/seeds/PermissionsSeeder.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/database/seeds/PermissionsSeeder.php b/database/seeds/PermissionsSeeder.php index cda41d48..b52d652d 100644 --- a/database/seeds/PermissionsSeeder.php +++ b/database/seeds/PermissionsSeeder.php @@ -5,6 +5,7 @@ use EscolaLms\AssignWithoutAccount\Database\Seeders\AssignWithoutAccountPermissionSeeder; use EscolaLms\Auth\Database\Seeders\AuthPermissionSeeder; use EscolaLms\Bookmarks\Database\Seeders\BookmarkPermissionSeeder; +use EscolaLms\BulkNotifications\Database\Seeders\BulkNotificationPermissionSeeder; use EscolaLms\Cart\Database\Seeders\CartPermissionSeeder; use EscolaLms\Categories\Database\Seeders\CategoriesPermissionSeeder; use EscolaLms\Cmi5\Database\Seeders\Cmi5PermissionSeeder; @@ -88,5 +89,6 @@ public function run() $this->call(ConsultationAccessPermissionSeeder::class); $this->call(TopicTypeProjectPermissionSeeder::class); $this->call(TopicTypeGiftPermissionSeeder::class); + $this->call(BulkNotificationPermissionSeeder::class); } }