From ce5780e3411cfa8bb5769f2365b6caa7c23e6aca Mon Sep 17 00:00:00 2001 From: merdan Date: Thu, 19 Aug 2021 15:53:22 +0500 Subject: [PATCH] bug classesss --- .github/workflows/utilities/library-switcher | 0 .github/workflows/utilities/phpcs-pr | 0 .github/workflows/utilities/phpcs-push | 0 .../assets/vendor/jcrop/MIT-LICENSE.txt | 0 modules/backend/assets/vendor/jcrop/README.md | 0 .../backend/assets/vendor/jcrop/css/Jcrop.gif | Bin .../vendor/jcrop/css/jquery.Jcrop.min.css | 0 .../assets/vendor/jcrop/js/jquery.Jcrop.js | 0 .../codeeditor/assets/vendor/ace/ace.js | 0 .../codeeditor/assets/vendor/ace/ext-emmet.js | 0 .../assets/vendor/ace/ext-searchbox.js | 0 .../codeeditor/assets/vendor/ace/mode-css.js | 0 .../codeeditor/assets/vendor/ace/mode-html.js | 0 .../assets/vendor/ace/mode-javascript.js | 0 .../codeeditor/assets/vendor/ace/mode-less.js | 0 .../assets/vendor/ace/mode-markdown.js | 0 .../codeeditor/assets/vendor/ace/mode-php.js | 0 .../assets/vendor/ace/mode-plain_text.js | 0 .../codeeditor/assets/vendor/ace/mode-sass.js | 0 .../codeeditor/assets/vendor/ace/mode-scss.js | 0 .../codeeditor/assets/vendor/ace/mode-twig.js | 0 .../assets/vendor/ace/theme-ambiance.js | 0 .../assets/vendor/ace/theme-chaos.js | 0 .../assets/vendor/ace/theme-chrome.js | 0 .../assets/vendor/ace/theme-clouds.js | 0 .../vendor/ace/theme-clouds_midnight.js | 0 .../assets/vendor/ace/theme-cobalt.js | 0 .../assets/vendor/ace/theme-crimson_editor.js | 0 .../assets/vendor/ace/theme-dawn.js | 0 .../assets/vendor/ace/theme-dreamweaver.js | 0 .../assets/vendor/ace/theme-eclipse.js | 0 .../assets/vendor/ace/theme-github.js | 0 .../assets/vendor/ace/theme-idle_fingers.js | 0 .../assets/vendor/ace/theme-iplastic.js | 0 .../assets/vendor/ace/theme-katzenmilch.js | 0 .../assets/vendor/ace/theme-kr_theme.js | 0 .../assets/vendor/ace/theme-kuroir.js | 0 .../assets/vendor/ace/theme-merbivore.js | 0 .../assets/vendor/ace/theme-merbivore_soft.js | 0 .../vendor/ace/theme-mono_industrial.js | 0 .../assets/vendor/ace/theme-monokai.js | 0 .../assets/vendor/ace/theme-pastel_on_dark.js | 0 .../assets/vendor/ace/theme-solarized_dark.js | 0 .../vendor/ace/theme-solarized_light.js | 0 .../assets/vendor/ace/theme-sqlserver.js | 0 .../assets/vendor/ace/theme-terminal.js | 0 .../assets/vendor/ace/theme-textmate.js | 0 .../assets/vendor/ace/theme-tomorrow.js | 0 .../assets/vendor/ace/theme-tomorrow_night.js | 0 .../vendor/ace/theme-tomorrow_night_blue.js | 0 .../vendor/ace/theme-tomorrow_night_bright.js | 0 .../ace/theme-tomorrow_night_eighties.js | 0 .../assets/vendor/ace/theme-twilight.js | 0 .../assets/vendor/ace/theme-vibrant_ink.js | 0 .../assets/vendor/ace/theme-xcode.js | 0 .../assets/vendor/ace/worker-css.js | 0 .../assets/vendor/ace/worker-html.js | 0 .../assets/vendor/ace/worker-javascript.js | 0 .../assets/vendor/ace/worker-php.js | 0 .../richeditor/assets/css/richeditor.css | 0 .../richeditor/assets/js/build-min.js | 0 .../richeditor/assets/js/richeditor.js | 0 .../richeditor/assets/less/richeditor.less | 0 .../richeditor/partials/_richeditor.htm | 0 .../assets/ui/vendor/select2/js/i18n/az.js | 0 .../assets/ui/vendor/select2/js/i18n/bg.js | 0 .../assets/ui/vendor/select2/js/i18n/ca.js | 0 .../assets/ui/vendor/select2/js/i18n/cs.js | 0 .../assets/ui/vendor/select2/js/i18n/da.js | 0 .../assets/ui/vendor/select2/js/i18n/de.js | 0 .../assets/ui/vendor/select2/js/i18n/en.js | 0 .../assets/ui/vendor/select2/js/i18n/es.js | 0 .../assets/ui/vendor/select2/js/i18n/et.js | 0 .../assets/ui/vendor/select2/js/i18n/eu.js | 0 .../assets/ui/vendor/select2/js/i18n/fa.js | 0 .../assets/ui/vendor/select2/js/i18n/fi.js | 0 .../assets/ui/vendor/select2/js/i18n/fr.js | 0 .../assets/ui/vendor/select2/js/i18n/gl.js | 0 .../assets/ui/vendor/select2/js/i18n/he.js | 0 .../assets/ui/vendor/select2/js/i18n/hi.js | 0 .../assets/ui/vendor/select2/js/i18n/hr.js | 0 .../assets/ui/vendor/select2/js/i18n/hu.js | 0 .../assets/ui/vendor/select2/js/i18n/id.js | 0 .../assets/ui/vendor/select2/js/i18n/is.js | 0 .../assets/ui/vendor/select2/js/i18n/it.js | 0 .../assets/ui/vendor/select2/js/i18n/ko.js | 0 .../assets/ui/vendor/select2/js/i18n/lt.js | 0 .../assets/ui/vendor/select2/js/i18n/lv.js | 0 .../assets/ui/vendor/select2/js/i18n/mk.js | 0 .../assets/ui/vendor/select2/js/i18n/nb.js | 0 .../assets/ui/vendor/select2/js/i18n/nl.js | 0 .../assets/ui/vendor/select2/js/i18n/pl.js | 0 .../assets/ui/vendor/select2/js/i18n/pt-BR.js | 0 .../assets/ui/vendor/select2/js/i18n/pt.js | 0 .../assets/ui/vendor/select2/js/i18n/ro.js | 0 .../assets/ui/vendor/select2/js/i18n/ru.js | 0 .../assets/ui/vendor/select2/js/i18n/sk.js | 0 .../assets/ui/vendor/select2/js/i18n/sr.js | 0 .../assets/ui/vendor/select2/js/i18n/sv.js | 0 .../assets/ui/vendor/select2/js/i18n/th.js | 0 .../assets/ui/vendor/select2/js/i18n/tr.js | 0 .../assets/ui/vendor/select2/js/i18n/uk.js | 0 .../assets/ui/vendor/select2/js/i18n/vi.js | 0 .../assets/ui/vendor/select2/js/i18n/zh-CN.js | 0 .../assets/ui/vendor/select2/js/i18n/zh-TW.js | 0 .../ui/vendor/select2/js/select2.full.js | 0 modules/system/lang/fi/validation.php | 0 plugins/lovata/toolbox/vendor/autoload.php | 7 + .../toolbox/vendor/composer/ClassLoader.php | 479 ++++++++ .../vendor/composer/InstalledVersions.php | 452 ++++++++ .../lovata/toolbox/vendor/composer/LICENSE | 21 + .../vendor/composer/autoload_classmap.php | 25 + .../vendor/composer/autoload_namespaces.php | 11 + .../toolbox/vendor/composer/autoload_psr4.php | 11 + .../toolbox/vendor/composer/autoload_real.php | 57 + .../vendor/composer/autoload_static.php | 87 ++ .../toolbox/vendor/composer/installed.json | 1022 +++++++++++++++++ .../toolbox/vendor/composer/installed.php | 191 +++ .../workflows/continuous-integration.yml | 70 ++ .../installers/.github/workflows/lint.yml | 30 + .../installers/.github/workflows/phpstan.yml | 51 + .../vendor/composer/installers/LICENSE | 19 + .../vendor/composer/installers/composer.json | 121 ++ .../composer/installers/phpstan.neon.dist | 10 + .../src/Composer/Installers/AglInstaller.php | 21 + .../Composer/Installers/AimeosInstaller.php | 9 + .../Installers/AnnotateCmsInstaller.php | 11 + .../Composer/Installers/AsgardInstaller.php | 49 + .../Composer/Installers/AttogramInstaller.php | 9 + .../src/Composer/Installers/BaseInstaller.php | 137 +++ .../Composer/Installers/BitrixInstaller.php | 126 ++ .../Composer/Installers/BonefishInstaller.php | 9 + .../Composer/Installers/CakePHPInstaller.php | 65 ++ .../src/Composer/Installers/ChefInstaller.php | 11 + .../Composer/Installers/CiviCrmInstaller.php | 9 + .../Installers/ClanCatsFrameworkInstaller.php | 10 + .../Composer/Installers/CockpitInstaller.php | 32 + .../Installers/CodeIgniterInstaller.php | 11 + .../Installers/Concrete5Installer.php | 13 + .../Composer/Installers/CraftInstaller.php | 35 + .../Composer/Installers/CroogoInstaller.php | 21 + .../Composer/Installers/DecibelInstaller.php | 10 + .../Composer/Installers/DframeInstaller.php | 10 + .../Composer/Installers/DokuWikiInstaller.php | 50 + .../Composer/Installers/DolibarrInstaller.php | 16 + .../Composer/Installers/DrupalInstaller.php | 22 + .../src/Composer/Installers/ElggInstaller.php | 9 + .../Composer/Installers/EliasisInstaller.php | 12 + .../Installers/ExpressionEngineInstaller.php | 29 + .../Installers/EzPlatformInstaller.php | 10 + .../src/Composer/Installers/FuelInstaller.php | 11 + .../Composer/Installers/FuelphpInstaller.php | 9 + .../src/Composer/Installers/GravInstaller.php | 30 + .../Composer/Installers/HuradInstaller.php | 25 + .../Composer/Installers/ImageCMSInstaller.php | 11 + .../src/Composer/Installers/Installer.php | 297 +++++ .../src/Composer/Installers/ItopInstaller.php | 9 + .../Composer/Installers/JoomlaInstaller.php | 15 + .../Composer/Installers/KanboardInstaller.php | 18 + .../Composer/Installers/KirbyInstaller.php | 11 + .../Composer/Installers/KnownInstaller.php | 11 + .../Composer/Installers/KodiCMSInstaller.php | 10 + .../Composer/Installers/KohanaInstaller.php | 9 + .../LanManagementSystemInstaller.php | 27 + .../Composer/Installers/LaravelInstaller.php | 9 + .../Composer/Installers/LavaLiteInstaller.php | 10 + .../Composer/Installers/LithiumInstaller.php | 10 + .../Installers/MODULEWorkInstaller.php | 9 + .../Composer/Installers/MODXEvoInstaller.php | 16 + .../Composer/Installers/MagentoInstaller.php | 11 + .../Composer/Installers/MajimaInstaller.php | 37 + .../src/Composer/Installers/MakoInstaller.php | 9 + .../Composer/Installers/MantisBTInstaller.php | 23 + .../Composer/Installers/MauticInstaller.php | 48 + .../src/Composer/Installers/MayaInstaller.php | 33 + .../Installers/MediaWikiInstaller.php | 51 + .../Composer/Installers/MiaoxingInstaller.php | 10 + .../Installers/MicroweberInstaller.php | 119 ++ .../src/Composer/Installers/ModxInstaller.php | 12 + .../Composer/Installers/MoodleInstaller.php | 59 + .../Composer/Installers/OctoberInstaller.php | 48 + .../Composer/Installers/OntoWikiInstaller.php | 24 + .../Composer/Installers/OsclassInstaller.php | 14 + .../src/Composer/Installers/OxidInstaller.php | 59 + .../src/Composer/Installers/PPIInstaller.php | 9 + .../Composer/Installers/PhiftyInstaller.php | 11 + .../Composer/Installers/PhpBBInstaller.php | 11 + .../Composer/Installers/PimcoreInstaller.php | 21 + .../Composer/Installers/PiwikInstaller.php | 32 + .../Installers/PlentymarketsInstaller.php | 29 + .../src/Composer/Installers/Plugin.php | 27 + .../Composer/Installers/PortoInstaller.php | 9 + .../Installers/PrestashopInstaller.php | 10 + .../Installers/ProcessWireInstaller.php | 22 + .../Composer/Installers/PuppetInstaller.php | 11 + .../Composer/Installers/PxcmsInstaller.php | 63 + .../Composer/Installers/RadPHPInstaller.php | 24 + .../Composer/Installers/ReIndexInstaller.php | 10 + .../Composer/Installers/Redaxo5Installer.php | 10 + .../Composer/Installers/RedaxoInstaller.php | 10 + .../Installers/RoundcubeInstaller.php | 22 + .../src/Composer/Installers/SMFInstaller.php | 10 + .../Composer/Installers/ShopwareInstaller.php | 60 + .../Installers/SilverStripeInstaller.php | 35 + .../Installers/SiteDirectInstaller.php | 25 + .../Composer/Installers/StarbugInstaller.php | 12 + .../Composer/Installers/SyDESInstaller.php | 47 + .../Composer/Installers/SyliusInstaller.php | 9 + .../Composer/Installers/Symfony1Installer.php | 26 + .../Composer/Installers/TYPO3CmsInstaller.php | 16 + .../Installers/TYPO3FlowInstaller.php | 38 + .../src/Composer/Installers/TaoInstaller.php | 30 + .../Installers/TastyIgniterInstaller.php | 32 + .../Composer/Installers/TheliaInstaller.php | 12 + .../src/Composer/Installers/TuskInstaller.php | 14 + .../Installers/UserFrostingInstaller.php | 9 + .../Composer/Installers/VanillaInstaller.php | 10 + .../Composer/Installers/VgmcpInstaller.php | 49 + .../Composer/Installers/WHMCSInstaller.php | 21 + .../Composer/Installers/WinterInstaller.php | 58 + .../Composer/Installers/WolfCMSInstaller.php | 9 + .../Installers/WordPressInstaller.php | 12 + .../Composer/Installers/YawikInstaller.php | 32 + .../src/Composer/Installers/ZendInstaller.php | 11 + .../Composer/Installers/ZikulaInstaller.php | 10 + .../composer/installers/src/bootstrap.php | 13 + .../vendor/composer/platform_check.php | 26 + .../laravel-cache-helper/.gitignore | 88 ++ .../kharanenka/laravel-cache-helper/LICENSE | 674 +++++++++++ .../kharanenka/laravel-cache-helper/README.md | 12 + .../laravel-cache-helper/composer.json | 29 + .../src/Kharanenka/Helper/CCache.php | 121 ++ .../laravel-scope-active/.gitignore | 88 ++ .../kharanenka/laravel-scope-active/LICENSE | 674 +++++++++++ .../kharanenka/laravel-scope-active/README.md | 30 + .../laravel-scope-active/composer.json | 32 + .../src/Kharanenka/Scope/ActiveField.php | 33 + .../.gitignore | 88 ++ .../laravel-scope-category-belongs-to/LICENSE | 674 +++++++++++ .../README.md | 28 + .../composer.json | 32 + .../Kharanenka/Scope/CategoryBelongsTo.php | 27 + .../kharanenka/laravel-scope-code/.gitignore | 88 ++ .../kharanenka/laravel-scope-code/LICENSE | 674 +++++++++++ .../kharanenka/laravel-scope-code/README.md | 31 + .../laravel-scope-code/composer.json | 32 + .../src/Kharanenka/Scope/CodeField.php | 67 ++ .../kharanenka/laravel-scope-date/.gitignore | 88 ++ .../kharanenka/laravel-scope-date/LICENSE | 674 +++++++++++ .../kharanenka/laravel-scope-date/README.md | 29 + .../laravel-scope-date/composer.json | 33 + .../src/Kharanenka/Scope/DateField.php | 52 + .../laravel-scope-external-id/.gitignore | 88 ++ .../laravel-scope-external-id/LICENSE | 674 +++++++++++ .../laravel-scope-external-id/README.md | 31 + .../laravel-scope-external-id/composer.json | 32 + .../src/Kharanenka/Scope/ExternalIDField.php | 51 + .../laravel-scope-hidden/.gitignore | 88 ++ .../kharanenka/laravel-scope-hidden/LICENSE | 674 +++++++++++ .../kharanenka/laravel-scope-hidden/README.md | 30 + .../laravel-scope-hidden/composer.json | 32 + .../src/Kharanenka/Scope/HiddenField.php | 33 + .../laravel-scope-moderation/.gitignore | 88 ++ .../laravel-scope-moderation/LICENSE | 674 +++++++++++ .../laravel-scope-moderation/README.md | 30 + .../laravel-scope-moderation/composer.json | 32 + .../src/Kharanenka/Scope/ModerationField.php | 33 + .../kharanenka/laravel-scope-name/.gitignore | 88 ++ .../kharanenka/laravel-scope-name/LICENSE | 674 +++++++++++ .../kharanenka/laravel-scope-name/README.md | 32 + .../laravel-scope-name/composer.json | 32 + .../src/Kharanenka/Scope/NameField.php | 67 ++ .../kharanenka/laravel-scope-slug/.gitignore | 88 ++ .../kharanenka/laravel-scope-slug/LICENSE | 674 +++++++++++ .../kharanenka/laravel-scope-slug/README.md | 31 + .../laravel-scope-slug/composer.json | 32 + .../src/Kharanenka/Scope/SlugField.php | 51 + .../kharanenka/laravel-scope-type/.gitignore | 88 ++ .../kharanenka/laravel-scope-type/LICENSE | 674 +++++++++++ .../kharanenka/laravel-scope-type/README.md | 31 + .../laravel-scope-type/composer.json | 32 + .../src/Kharanenka/Scope/TypeField.php | 67 ++ .../laravel-scope-user-belongs-to/.gitignore | 88 ++ .../laravel-scope-user-belongs-to/LICENSE | 674 +++++++++++ .../laravel-scope-user-belongs-to/README.md | 28 + .../composer.json | 32 + .../src/Kharanenka/Scope/UserBelongsTo.php | 27 + .../kharanenka/oc-data-file-model/.gitignore | 88 ++ .../kharanenka/oc-data-file-model/LICENSE | 674 +++++++++++ .../kharanenka/oc-data-file-model/README.md | 12 + .../oc-data-file-model/composer.json | 30 + .../src/Kharanenka/Helper/DataFileModel.php | 84 ++ .../kharanenka/oc-pagination/.gitignore | 88 ++ .../vendor/kharanenka/oc-pagination/LICENSE | 674 +++++++++++ .../vendor/kharanenka/oc-pagination/README.md | 64 ++ .../kharanenka/oc-pagination/composer.json | 28 + .../src/Kharanenka/Helper/Pagination.php | 270 +++++ .../src/Kharanenka/lang/en/lang.php | 23 + .../src/Kharanenka/lang/ru/lang.php | 23 + .../kharanenka/php-pagination/.gitignore | 88 ++ .../vendor/kharanenka/php-pagination/LICENSE | 674 +++++++++++ .../kharanenka/php-pagination/README.md | 125 ++ .../kharanenka/php-pagination/composer.json | 27 + .../Kharanenka/Helper/PaginationHelper.php | 325 ++++++ .../kharanenka/php-result-store/.gitignore | 88 ++ .../kharanenka/php-result-store/.travis.yml | 20 + .../kharanenka/php-result-store/LICENSE | 674 +++++++++++ .../kharanenka/php-result-store/README.md | 59 + .../kharanenka/php-result-store/composer.json | 33 + .../kharanenka/php-result-store/phpunit.xml | 13 + .../src/Kharanenka/Helper/Result.php | 34 + .../src/Kharanenka/Helper/ResultStore.php | 161 +++ .../Kharanenka/Helper/ResultStoreTest.php | 96 ++ plugins/tps/._.DS_Store | Bin 4096 -> 0 bytes storage/framework/.gitignore | 3 - storage/framework/classes.php | 344 ++++++ storage/framework/packages.php | 16 + storage/framework/services.php | 186 +++ 318 files changed, 20990 insertions(+), 3 deletions(-) mode change 100755 => 100644 .github/workflows/utilities/library-switcher mode change 100755 => 100644 .github/workflows/utilities/phpcs-pr mode change 100755 => 100644 .github/workflows/utilities/phpcs-push mode change 100755 => 100644 modules/backend/assets/vendor/jcrop/MIT-LICENSE.txt mode change 100755 => 100644 modules/backend/assets/vendor/jcrop/README.md mode change 100755 => 100644 modules/backend/assets/vendor/jcrop/css/Jcrop.gif mode change 100755 => 100644 modules/backend/assets/vendor/jcrop/css/jquery.Jcrop.min.css mode change 100755 => 100644 modules/backend/assets/vendor/jcrop/js/jquery.Jcrop.js mode change 100755 => 100644 modules/backend/formwidgets/codeeditor/assets/vendor/ace/ace.js mode change 100755 => 100644 modules/backend/formwidgets/codeeditor/assets/vendor/ace/ext-emmet.js mode change 100755 => 100644 modules/backend/formwidgets/codeeditor/assets/vendor/ace/ext-searchbox.js mode change 100755 => 100644 modules/backend/formwidgets/codeeditor/assets/vendor/ace/mode-css.js mode change 100755 => 100644 modules/backend/formwidgets/codeeditor/assets/vendor/ace/mode-html.js mode change 100755 => 100644 modules/backend/formwidgets/codeeditor/assets/vendor/ace/mode-javascript.js mode change 100755 => 100644 modules/backend/formwidgets/codeeditor/assets/vendor/ace/mode-less.js mode change 100755 => 100644 modules/backend/formwidgets/codeeditor/assets/vendor/ace/mode-markdown.js mode change 100755 => 100644 modules/backend/formwidgets/codeeditor/assets/vendor/ace/mode-php.js mode change 100755 => 100644 modules/backend/formwidgets/codeeditor/assets/vendor/ace/mode-plain_text.js mode change 100755 => 100644 modules/backend/formwidgets/codeeditor/assets/vendor/ace/mode-sass.js mode change 100755 => 100644 modules/backend/formwidgets/codeeditor/assets/vendor/ace/mode-scss.js mode change 100755 => 100644 modules/backend/formwidgets/codeeditor/assets/vendor/ace/mode-twig.js mode change 100755 => 100644 modules/backend/formwidgets/codeeditor/assets/vendor/ace/theme-ambiance.js mode change 100755 => 100644 modules/backend/formwidgets/codeeditor/assets/vendor/ace/theme-chaos.js mode change 100755 => 100644 modules/backend/formwidgets/codeeditor/assets/vendor/ace/theme-chrome.js mode change 100755 => 100644 modules/backend/formwidgets/codeeditor/assets/vendor/ace/theme-clouds.js mode change 100755 => 100644 modules/backend/formwidgets/codeeditor/assets/vendor/ace/theme-clouds_midnight.js mode change 100755 => 100644 modules/backend/formwidgets/codeeditor/assets/vendor/ace/theme-cobalt.js mode change 100755 => 100644 modules/backend/formwidgets/codeeditor/assets/vendor/ace/theme-crimson_editor.js mode change 100755 => 100644 modules/backend/formwidgets/codeeditor/assets/vendor/ace/theme-dawn.js mode change 100755 => 100644 modules/backend/formwidgets/codeeditor/assets/vendor/ace/theme-dreamweaver.js mode change 100755 => 100644 modules/backend/formwidgets/codeeditor/assets/vendor/ace/theme-eclipse.js mode change 100755 => 100644 modules/backend/formwidgets/codeeditor/assets/vendor/ace/theme-github.js mode change 100755 => 100644 modules/backend/formwidgets/codeeditor/assets/vendor/ace/theme-idle_fingers.js mode change 100755 => 100644 modules/backend/formwidgets/codeeditor/assets/vendor/ace/theme-iplastic.js mode change 100755 => 100644 modules/backend/formwidgets/codeeditor/assets/vendor/ace/theme-katzenmilch.js mode change 100755 => 100644 modules/backend/formwidgets/codeeditor/assets/vendor/ace/theme-kr_theme.js mode change 100755 => 100644 modules/backend/formwidgets/codeeditor/assets/vendor/ace/theme-kuroir.js mode change 100755 => 100644 modules/backend/formwidgets/codeeditor/assets/vendor/ace/theme-merbivore.js mode change 100755 => 100644 modules/backend/formwidgets/codeeditor/assets/vendor/ace/theme-merbivore_soft.js mode change 100755 => 100644 modules/backend/formwidgets/codeeditor/assets/vendor/ace/theme-mono_industrial.js mode change 100755 => 100644 modules/backend/formwidgets/codeeditor/assets/vendor/ace/theme-monokai.js mode change 100755 => 100644 modules/backend/formwidgets/codeeditor/assets/vendor/ace/theme-pastel_on_dark.js mode change 100755 => 100644 modules/backend/formwidgets/codeeditor/assets/vendor/ace/theme-solarized_dark.js mode change 100755 => 100644 modules/backend/formwidgets/codeeditor/assets/vendor/ace/theme-solarized_light.js mode change 100755 => 100644 modules/backend/formwidgets/codeeditor/assets/vendor/ace/theme-sqlserver.js mode change 100755 => 100644 modules/backend/formwidgets/codeeditor/assets/vendor/ace/theme-terminal.js mode change 100755 => 100644 modules/backend/formwidgets/codeeditor/assets/vendor/ace/theme-textmate.js mode change 100755 => 100644 modules/backend/formwidgets/codeeditor/assets/vendor/ace/theme-tomorrow.js mode change 100755 => 100644 modules/backend/formwidgets/codeeditor/assets/vendor/ace/theme-tomorrow_night.js mode change 100755 => 100644 modules/backend/formwidgets/codeeditor/assets/vendor/ace/theme-tomorrow_night_blue.js mode change 100755 => 100644 modules/backend/formwidgets/codeeditor/assets/vendor/ace/theme-tomorrow_night_bright.js mode change 100755 => 100644 modules/backend/formwidgets/codeeditor/assets/vendor/ace/theme-tomorrow_night_eighties.js mode change 100755 => 100644 modules/backend/formwidgets/codeeditor/assets/vendor/ace/theme-twilight.js mode change 100755 => 100644 modules/backend/formwidgets/codeeditor/assets/vendor/ace/theme-vibrant_ink.js mode change 100755 => 100644 modules/backend/formwidgets/codeeditor/assets/vendor/ace/theme-xcode.js mode change 100755 => 100644 modules/backend/formwidgets/codeeditor/assets/vendor/ace/worker-css.js mode change 100755 => 100644 modules/backend/formwidgets/codeeditor/assets/vendor/ace/worker-html.js mode change 100755 => 100644 modules/backend/formwidgets/codeeditor/assets/vendor/ace/worker-javascript.js mode change 100755 => 100644 modules/backend/formwidgets/codeeditor/assets/vendor/ace/worker-php.js mode change 100755 => 100644 modules/backend/formwidgets/richeditor/assets/css/richeditor.css mode change 100755 => 100644 modules/backend/formwidgets/richeditor/assets/js/build-min.js mode change 100755 => 100644 modules/backend/formwidgets/richeditor/assets/js/richeditor.js mode change 100755 => 100644 modules/backend/formwidgets/richeditor/assets/less/richeditor.less mode change 100755 => 100644 modules/backend/formwidgets/richeditor/partials/_richeditor.htm mode change 100755 => 100644 modules/system/assets/ui/vendor/select2/js/i18n/az.js mode change 100755 => 100644 modules/system/assets/ui/vendor/select2/js/i18n/bg.js mode change 100755 => 100644 modules/system/assets/ui/vendor/select2/js/i18n/ca.js mode change 100755 => 100644 modules/system/assets/ui/vendor/select2/js/i18n/cs.js mode change 100755 => 100644 modules/system/assets/ui/vendor/select2/js/i18n/da.js mode change 100755 => 100644 modules/system/assets/ui/vendor/select2/js/i18n/de.js mode change 100755 => 100644 modules/system/assets/ui/vendor/select2/js/i18n/en.js mode change 100755 => 100644 modules/system/assets/ui/vendor/select2/js/i18n/es.js mode change 100755 => 100644 modules/system/assets/ui/vendor/select2/js/i18n/et.js mode change 100755 => 100644 modules/system/assets/ui/vendor/select2/js/i18n/eu.js mode change 100755 => 100644 modules/system/assets/ui/vendor/select2/js/i18n/fa.js mode change 100755 => 100644 modules/system/assets/ui/vendor/select2/js/i18n/fi.js mode change 100755 => 100644 modules/system/assets/ui/vendor/select2/js/i18n/fr.js mode change 100755 => 100644 modules/system/assets/ui/vendor/select2/js/i18n/gl.js mode change 100755 => 100644 modules/system/assets/ui/vendor/select2/js/i18n/he.js mode change 100755 => 100644 modules/system/assets/ui/vendor/select2/js/i18n/hi.js mode change 100755 => 100644 modules/system/assets/ui/vendor/select2/js/i18n/hr.js mode change 100755 => 100644 modules/system/assets/ui/vendor/select2/js/i18n/hu.js mode change 100755 => 100644 modules/system/assets/ui/vendor/select2/js/i18n/id.js mode change 100755 => 100644 modules/system/assets/ui/vendor/select2/js/i18n/is.js mode change 100755 => 100644 modules/system/assets/ui/vendor/select2/js/i18n/it.js mode change 100755 => 100644 modules/system/assets/ui/vendor/select2/js/i18n/ko.js mode change 100755 => 100644 modules/system/assets/ui/vendor/select2/js/i18n/lt.js mode change 100755 => 100644 modules/system/assets/ui/vendor/select2/js/i18n/lv.js mode change 100755 => 100644 modules/system/assets/ui/vendor/select2/js/i18n/mk.js mode change 100755 => 100644 modules/system/assets/ui/vendor/select2/js/i18n/nb.js mode change 100755 => 100644 modules/system/assets/ui/vendor/select2/js/i18n/nl.js mode change 100755 => 100644 modules/system/assets/ui/vendor/select2/js/i18n/pl.js mode change 100755 => 100644 modules/system/assets/ui/vendor/select2/js/i18n/pt-BR.js mode change 100755 => 100644 modules/system/assets/ui/vendor/select2/js/i18n/pt.js mode change 100755 => 100644 modules/system/assets/ui/vendor/select2/js/i18n/ro.js mode change 100755 => 100644 modules/system/assets/ui/vendor/select2/js/i18n/ru.js mode change 100755 => 100644 modules/system/assets/ui/vendor/select2/js/i18n/sk.js mode change 100755 => 100644 modules/system/assets/ui/vendor/select2/js/i18n/sr.js mode change 100755 => 100644 modules/system/assets/ui/vendor/select2/js/i18n/sv.js mode change 100755 => 100644 modules/system/assets/ui/vendor/select2/js/i18n/th.js mode change 100755 => 100644 modules/system/assets/ui/vendor/select2/js/i18n/tr.js mode change 100755 => 100644 modules/system/assets/ui/vendor/select2/js/i18n/uk.js mode change 100755 => 100644 modules/system/assets/ui/vendor/select2/js/i18n/vi.js mode change 100755 => 100644 modules/system/assets/ui/vendor/select2/js/i18n/zh-CN.js mode change 100755 => 100644 modules/system/assets/ui/vendor/select2/js/i18n/zh-TW.js mode change 100755 => 100644 modules/system/assets/ui/vendor/select2/js/select2.full.js mode change 100755 => 100644 modules/system/lang/fi/validation.php create mode 100644 plugins/lovata/toolbox/vendor/autoload.php create mode 100644 plugins/lovata/toolbox/vendor/composer/ClassLoader.php create mode 100644 plugins/lovata/toolbox/vendor/composer/InstalledVersions.php create mode 100644 plugins/lovata/toolbox/vendor/composer/LICENSE create mode 100644 plugins/lovata/toolbox/vendor/composer/autoload_classmap.php create mode 100644 plugins/lovata/toolbox/vendor/composer/autoload_namespaces.php create mode 100644 plugins/lovata/toolbox/vendor/composer/autoload_psr4.php create mode 100644 plugins/lovata/toolbox/vendor/composer/autoload_real.php create mode 100644 plugins/lovata/toolbox/vendor/composer/autoload_static.php create mode 100644 plugins/lovata/toolbox/vendor/composer/installed.json create mode 100644 plugins/lovata/toolbox/vendor/composer/installed.php create mode 100644 plugins/lovata/toolbox/vendor/composer/installers/.github/workflows/continuous-integration.yml create mode 100644 plugins/lovata/toolbox/vendor/composer/installers/.github/workflows/lint.yml create mode 100644 plugins/lovata/toolbox/vendor/composer/installers/.github/workflows/phpstan.yml create mode 100644 plugins/lovata/toolbox/vendor/composer/installers/LICENSE create mode 100644 plugins/lovata/toolbox/vendor/composer/installers/composer.json create mode 100644 plugins/lovata/toolbox/vendor/composer/installers/phpstan.neon.dist create mode 100644 plugins/lovata/toolbox/vendor/composer/installers/src/Composer/Installers/AglInstaller.php create mode 100644 plugins/lovata/toolbox/vendor/composer/installers/src/Composer/Installers/AimeosInstaller.php create mode 100644 plugins/lovata/toolbox/vendor/composer/installers/src/Composer/Installers/AnnotateCmsInstaller.php create mode 100644 plugins/lovata/toolbox/vendor/composer/installers/src/Composer/Installers/AsgardInstaller.php create mode 100644 plugins/lovata/toolbox/vendor/composer/installers/src/Composer/Installers/AttogramInstaller.php create mode 100644 plugins/lovata/toolbox/vendor/composer/installers/src/Composer/Installers/BaseInstaller.php create mode 100644 plugins/lovata/toolbox/vendor/composer/installers/src/Composer/Installers/BitrixInstaller.php create mode 100644 plugins/lovata/toolbox/vendor/composer/installers/src/Composer/Installers/BonefishInstaller.php create mode 100644 plugins/lovata/toolbox/vendor/composer/installers/src/Composer/Installers/CakePHPInstaller.php create mode 100644 plugins/lovata/toolbox/vendor/composer/installers/src/Composer/Installers/ChefInstaller.php create mode 100644 plugins/lovata/toolbox/vendor/composer/installers/src/Composer/Installers/CiviCrmInstaller.php create mode 100644 plugins/lovata/toolbox/vendor/composer/installers/src/Composer/Installers/ClanCatsFrameworkInstaller.php create mode 100644 plugins/lovata/toolbox/vendor/composer/installers/src/Composer/Installers/CockpitInstaller.php create mode 100644 plugins/lovata/toolbox/vendor/composer/installers/src/Composer/Installers/CodeIgniterInstaller.php create mode 100644 plugins/lovata/toolbox/vendor/composer/installers/src/Composer/Installers/Concrete5Installer.php create mode 100644 plugins/lovata/toolbox/vendor/composer/installers/src/Composer/Installers/CraftInstaller.php create mode 100644 plugins/lovata/toolbox/vendor/composer/installers/src/Composer/Installers/CroogoInstaller.php create mode 100644 plugins/lovata/toolbox/vendor/composer/installers/src/Composer/Installers/DecibelInstaller.php create mode 100644 plugins/lovata/toolbox/vendor/composer/installers/src/Composer/Installers/DframeInstaller.php create mode 100644 plugins/lovata/toolbox/vendor/composer/installers/src/Composer/Installers/DokuWikiInstaller.php create mode 100644 plugins/lovata/toolbox/vendor/composer/installers/src/Composer/Installers/DolibarrInstaller.php create mode 100644 plugins/lovata/toolbox/vendor/composer/installers/src/Composer/Installers/DrupalInstaller.php create mode 100644 plugins/lovata/toolbox/vendor/composer/installers/src/Composer/Installers/ElggInstaller.php create mode 100644 plugins/lovata/toolbox/vendor/composer/installers/src/Composer/Installers/EliasisInstaller.php create mode 100644 plugins/lovata/toolbox/vendor/composer/installers/src/Composer/Installers/ExpressionEngineInstaller.php create mode 100644 plugins/lovata/toolbox/vendor/composer/installers/src/Composer/Installers/EzPlatformInstaller.php create mode 100644 plugins/lovata/toolbox/vendor/composer/installers/src/Composer/Installers/FuelInstaller.php create mode 100644 plugins/lovata/toolbox/vendor/composer/installers/src/Composer/Installers/FuelphpInstaller.php create mode 100644 plugins/lovata/toolbox/vendor/composer/installers/src/Composer/Installers/GravInstaller.php create mode 100644 plugins/lovata/toolbox/vendor/composer/installers/src/Composer/Installers/HuradInstaller.php create mode 100644 plugins/lovata/toolbox/vendor/composer/installers/src/Composer/Installers/ImageCMSInstaller.php create mode 100644 plugins/lovata/toolbox/vendor/composer/installers/src/Composer/Installers/Installer.php create mode 100644 plugins/lovata/toolbox/vendor/composer/installers/src/Composer/Installers/ItopInstaller.php create mode 100644 plugins/lovata/toolbox/vendor/composer/installers/src/Composer/Installers/JoomlaInstaller.php create mode 100644 plugins/lovata/toolbox/vendor/composer/installers/src/Composer/Installers/KanboardInstaller.php create mode 100644 plugins/lovata/toolbox/vendor/composer/installers/src/Composer/Installers/KirbyInstaller.php create mode 100644 plugins/lovata/toolbox/vendor/composer/installers/src/Composer/Installers/KnownInstaller.php create mode 100644 plugins/lovata/toolbox/vendor/composer/installers/src/Composer/Installers/KodiCMSInstaller.php create mode 100644 plugins/lovata/toolbox/vendor/composer/installers/src/Composer/Installers/KohanaInstaller.php create mode 100644 plugins/lovata/toolbox/vendor/composer/installers/src/Composer/Installers/LanManagementSystemInstaller.php create mode 100644 plugins/lovata/toolbox/vendor/composer/installers/src/Composer/Installers/LaravelInstaller.php create mode 100644 plugins/lovata/toolbox/vendor/composer/installers/src/Composer/Installers/LavaLiteInstaller.php create mode 100644 plugins/lovata/toolbox/vendor/composer/installers/src/Composer/Installers/LithiumInstaller.php create mode 100644 plugins/lovata/toolbox/vendor/composer/installers/src/Composer/Installers/MODULEWorkInstaller.php create mode 100644 plugins/lovata/toolbox/vendor/composer/installers/src/Composer/Installers/MODXEvoInstaller.php create mode 100644 plugins/lovata/toolbox/vendor/composer/installers/src/Composer/Installers/MagentoInstaller.php create mode 100644 plugins/lovata/toolbox/vendor/composer/installers/src/Composer/Installers/MajimaInstaller.php create mode 100644 plugins/lovata/toolbox/vendor/composer/installers/src/Composer/Installers/MakoInstaller.php create mode 100644 plugins/lovata/toolbox/vendor/composer/installers/src/Composer/Installers/MantisBTInstaller.php create mode 100644 plugins/lovata/toolbox/vendor/composer/installers/src/Composer/Installers/MauticInstaller.php create mode 100644 plugins/lovata/toolbox/vendor/composer/installers/src/Composer/Installers/MayaInstaller.php create mode 100644 plugins/lovata/toolbox/vendor/composer/installers/src/Composer/Installers/MediaWikiInstaller.php create mode 100644 plugins/lovata/toolbox/vendor/composer/installers/src/Composer/Installers/MiaoxingInstaller.php create mode 100644 plugins/lovata/toolbox/vendor/composer/installers/src/Composer/Installers/MicroweberInstaller.php create mode 100644 plugins/lovata/toolbox/vendor/composer/installers/src/Composer/Installers/ModxInstaller.php create mode 100644 plugins/lovata/toolbox/vendor/composer/installers/src/Composer/Installers/MoodleInstaller.php create mode 100644 plugins/lovata/toolbox/vendor/composer/installers/src/Composer/Installers/OctoberInstaller.php create mode 100644 plugins/lovata/toolbox/vendor/composer/installers/src/Composer/Installers/OntoWikiInstaller.php create mode 100644 plugins/lovata/toolbox/vendor/composer/installers/src/Composer/Installers/OsclassInstaller.php create mode 100644 plugins/lovata/toolbox/vendor/composer/installers/src/Composer/Installers/OxidInstaller.php create mode 100644 plugins/lovata/toolbox/vendor/composer/installers/src/Composer/Installers/PPIInstaller.php create mode 100644 plugins/lovata/toolbox/vendor/composer/installers/src/Composer/Installers/PhiftyInstaller.php create mode 100644 plugins/lovata/toolbox/vendor/composer/installers/src/Composer/Installers/PhpBBInstaller.php create mode 100644 plugins/lovata/toolbox/vendor/composer/installers/src/Composer/Installers/PimcoreInstaller.php create mode 100644 plugins/lovata/toolbox/vendor/composer/installers/src/Composer/Installers/PiwikInstaller.php create mode 100644 plugins/lovata/toolbox/vendor/composer/installers/src/Composer/Installers/PlentymarketsInstaller.php create mode 100644 plugins/lovata/toolbox/vendor/composer/installers/src/Composer/Installers/Plugin.php create mode 100644 plugins/lovata/toolbox/vendor/composer/installers/src/Composer/Installers/PortoInstaller.php create mode 100644 plugins/lovata/toolbox/vendor/composer/installers/src/Composer/Installers/PrestashopInstaller.php create mode 100644 plugins/lovata/toolbox/vendor/composer/installers/src/Composer/Installers/ProcessWireInstaller.php create mode 100644 plugins/lovata/toolbox/vendor/composer/installers/src/Composer/Installers/PuppetInstaller.php create mode 100644 plugins/lovata/toolbox/vendor/composer/installers/src/Composer/Installers/PxcmsInstaller.php create mode 100644 plugins/lovata/toolbox/vendor/composer/installers/src/Composer/Installers/RadPHPInstaller.php create mode 100644 plugins/lovata/toolbox/vendor/composer/installers/src/Composer/Installers/ReIndexInstaller.php create mode 100644 plugins/lovata/toolbox/vendor/composer/installers/src/Composer/Installers/Redaxo5Installer.php create mode 100644 plugins/lovata/toolbox/vendor/composer/installers/src/Composer/Installers/RedaxoInstaller.php create mode 100644 plugins/lovata/toolbox/vendor/composer/installers/src/Composer/Installers/RoundcubeInstaller.php create mode 100644 plugins/lovata/toolbox/vendor/composer/installers/src/Composer/Installers/SMFInstaller.php create mode 100644 plugins/lovata/toolbox/vendor/composer/installers/src/Composer/Installers/ShopwareInstaller.php create mode 100644 plugins/lovata/toolbox/vendor/composer/installers/src/Composer/Installers/SilverStripeInstaller.php create mode 100644 plugins/lovata/toolbox/vendor/composer/installers/src/Composer/Installers/SiteDirectInstaller.php create mode 100644 plugins/lovata/toolbox/vendor/composer/installers/src/Composer/Installers/StarbugInstaller.php create mode 100644 plugins/lovata/toolbox/vendor/composer/installers/src/Composer/Installers/SyDESInstaller.php create mode 100644 plugins/lovata/toolbox/vendor/composer/installers/src/Composer/Installers/SyliusInstaller.php create mode 100644 plugins/lovata/toolbox/vendor/composer/installers/src/Composer/Installers/Symfony1Installer.php create mode 100644 plugins/lovata/toolbox/vendor/composer/installers/src/Composer/Installers/TYPO3CmsInstaller.php create mode 100644 plugins/lovata/toolbox/vendor/composer/installers/src/Composer/Installers/TYPO3FlowInstaller.php create mode 100644 plugins/lovata/toolbox/vendor/composer/installers/src/Composer/Installers/TaoInstaller.php create mode 100644 plugins/lovata/toolbox/vendor/composer/installers/src/Composer/Installers/TastyIgniterInstaller.php create mode 100644 plugins/lovata/toolbox/vendor/composer/installers/src/Composer/Installers/TheliaInstaller.php create mode 100644 plugins/lovata/toolbox/vendor/composer/installers/src/Composer/Installers/TuskInstaller.php create mode 100644 plugins/lovata/toolbox/vendor/composer/installers/src/Composer/Installers/UserFrostingInstaller.php create mode 100644 plugins/lovata/toolbox/vendor/composer/installers/src/Composer/Installers/VanillaInstaller.php create mode 100644 plugins/lovata/toolbox/vendor/composer/installers/src/Composer/Installers/VgmcpInstaller.php create mode 100644 plugins/lovata/toolbox/vendor/composer/installers/src/Composer/Installers/WHMCSInstaller.php create mode 100644 plugins/lovata/toolbox/vendor/composer/installers/src/Composer/Installers/WinterInstaller.php create mode 100644 plugins/lovata/toolbox/vendor/composer/installers/src/Composer/Installers/WolfCMSInstaller.php create mode 100644 plugins/lovata/toolbox/vendor/composer/installers/src/Composer/Installers/WordPressInstaller.php create mode 100644 plugins/lovata/toolbox/vendor/composer/installers/src/Composer/Installers/YawikInstaller.php create mode 100644 plugins/lovata/toolbox/vendor/composer/installers/src/Composer/Installers/ZendInstaller.php create mode 100644 plugins/lovata/toolbox/vendor/composer/installers/src/Composer/Installers/ZikulaInstaller.php create mode 100644 plugins/lovata/toolbox/vendor/composer/installers/src/bootstrap.php create mode 100644 plugins/lovata/toolbox/vendor/composer/platform_check.php create mode 100644 plugins/lovata/toolbox/vendor/kharanenka/laravel-cache-helper/.gitignore create mode 100644 plugins/lovata/toolbox/vendor/kharanenka/laravel-cache-helper/LICENSE create mode 100644 plugins/lovata/toolbox/vendor/kharanenka/laravel-cache-helper/README.md create mode 100644 plugins/lovata/toolbox/vendor/kharanenka/laravel-cache-helper/composer.json create mode 100644 plugins/lovata/toolbox/vendor/kharanenka/laravel-cache-helper/src/Kharanenka/Helper/CCache.php create mode 100644 plugins/lovata/toolbox/vendor/kharanenka/laravel-scope-active/.gitignore create mode 100644 plugins/lovata/toolbox/vendor/kharanenka/laravel-scope-active/LICENSE create mode 100644 plugins/lovata/toolbox/vendor/kharanenka/laravel-scope-active/README.md create mode 100644 plugins/lovata/toolbox/vendor/kharanenka/laravel-scope-active/composer.json create mode 100644 plugins/lovata/toolbox/vendor/kharanenka/laravel-scope-active/src/Kharanenka/Scope/ActiveField.php create mode 100644 plugins/lovata/toolbox/vendor/kharanenka/laravel-scope-category-belongs-to/.gitignore create mode 100644 plugins/lovata/toolbox/vendor/kharanenka/laravel-scope-category-belongs-to/LICENSE create mode 100644 plugins/lovata/toolbox/vendor/kharanenka/laravel-scope-category-belongs-to/README.md create mode 100644 plugins/lovata/toolbox/vendor/kharanenka/laravel-scope-category-belongs-to/composer.json create mode 100644 plugins/lovata/toolbox/vendor/kharanenka/laravel-scope-category-belongs-to/src/Kharanenka/Scope/CategoryBelongsTo.php create mode 100644 plugins/lovata/toolbox/vendor/kharanenka/laravel-scope-code/.gitignore create mode 100644 plugins/lovata/toolbox/vendor/kharanenka/laravel-scope-code/LICENSE create mode 100644 plugins/lovata/toolbox/vendor/kharanenka/laravel-scope-code/README.md create mode 100644 plugins/lovata/toolbox/vendor/kharanenka/laravel-scope-code/composer.json create mode 100644 plugins/lovata/toolbox/vendor/kharanenka/laravel-scope-code/src/Kharanenka/Scope/CodeField.php create mode 100644 plugins/lovata/toolbox/vendor/kharanenka/laravel-scope-date/.gitignore create mode 100644 plugins/lovata/toolbox/vendor/kharanenka/laravel-scope-date/LICENSE create mode 100644 plugins/lovata/toolbox/vendor/kharanenka/laravel-scope-date/README.md create mode 100644 plugins/lovata/toolbox/vendor/kharanenka/laravel-scope-date/composer.json create mode 100644 plugins/lovata/toolbox/vendor/kharanenka/laravel-scope-date/src/Kharanenka/Scope/DateField.php create mode 100644 plugins/lovata/toolbox/vendor/kharanenka/laravel-scope-external-id/.gitignore create mode 100644 plugins/lovata/toolbox/vendor/kharanenka/laravel-scope-external-id/LICENSE create mode 100644 plugins/lovata/toolbox/vendor/kharanenka/laravel-scope-external-id/README.md create mode 100644 plugins/lovata/toolbox/vendor/kharanenka/laravel-scope-external-id/composer.json create mode 100644 plugins/lovata/toolbox/vendor/kharanenka/laravel-scope-external-id/src/Kharanenka/Scope/ExternalIDField.php create mode 100644 plugins/lovata/toolbox/vendor/kharanenka/laravel-scope-hidden/.gitignore create mode 100644 plugins/lovata/toolbox/vendor/kharanenka/laravel-scope-hidden/LICENSE create mode 100644 plugins/lovata/toolbox/vendor/kharanenka/laravel-scope-hidden/README.md create mode 100644 plugins/lovata/toolbox/vendor/kharanenka/laravel-scope-hidden/composer.json create mode 100644 plugins/lovata/toolbox/vendor/kharanenka/laravel-scope-hidden/src/Kharanenka/Scope/HiddenField.php create mode 100644 plugins/lovata/toolbox/vendor/kharanenka/laravel-scope-moderation/.gitignore create mode 100644 plugins/lovata/toolbox/vendor/kharanenka/laravel-scope-moderation/LICENSE create mode 100644 plugins/lovata/toolbox/vendor/kharanenka/laravel-scope-moderation/README.md create mode 100644 plugins/lovata/toolbox/vendor/kharanenka/laravel-scope-moderation/composer.json create mode 100644 plugins/lovata/toolbox/vendor/kharanenka/laravel-scope-moderation/src/Kharanenka/Scope/ModerationField.php create mode 100644 plugins/lovata/toolbox/vendor/kharanenka/laravel-scope-name/.gitignore create mode 100644 plugins/lovata/toolbox/vendor/kharanenka/laravel-scope-name/LICENSE create mode 100644 plugins/lovata/toolbox/vendor/kharanenka/laravel-scope-name/README.md create mode 100644 plugins/lovata/toolbox/vendor/kharanenka/laravel-scope-name/composer.json create mode 100644 plugins/lovata/toolbox/vendor/kharanenka/laravel-scope-name/src/Kharanenka/Scope/NameField.php create mode 100644 plugins/lovata/toolbox/vendor/kharanenka/laravel-scope-slug/.gitignore create mode 100644 plugins/lovata/toolbox/vendor/kharanenka/laravel-scope-slug/LICENSE create mode 100644 plugins/lovata/toolbox/vendor/kharanenka/laravel-scope-slug/README.md create mode 100644 plugins/lovata/toolbox/vendor/kharanenka/laravel-scope-slug/composer.json create mode 100644 plugins/lovata/toolbox/vendor/kharanenka/laravel-scope-slug/src/Kharanenka/Scope/SlugField.php create mode 100644 plugins/lovata/toolbox/vendor/kharanenka/laravel-scope-type/.gitignore create mode 100644 plugins/lovata/toolbox/vendor/kharanenka/laravel-scope-type/LICENSE create mode 100644 plugins/lovata/toolbox/vendor/kharanenka/laravel-scope-type/README.md create mode 100644 plugins/lovata/toolbox/vendor/kharanenka/laravel-scope-type/composer.json create mode 100644 plugins/lovata/toolbox/vendor/kharanenka/laravel-scope-type/src/Kharanenka/Scope/TypeField.php create mode 100644 plugins/lovata/toolbox/vendor/kharanenka/laravel-scope-user-belongs-to/.gitignore create mode 100644 plugins/lovata/toolbox/vendor/kharanenka/laravel-scope-user-belongs-to/LICENSE create mode 100644 plugins/lovata/toolbox/vendor/kharanenka/laravel-scope-user-belongs-to/README.md create mode 100644 plugins/lovata/toolbox/vendor/kharanenka/laravel-scope-user-belongs-to/composer.json create mode 100644 plugins/lovata/toolbox/vendor/kharanenka/laravel-scope-user-belongs-to/src/Kharanenka/Scope/UserBelongsTo.php create mode 100644 plugins/lovata/toolbox/vendor/kharanenka/oc-data-file-model/.gitignore create mode 100644 plugins/lovata/toolbox/vendor/kharanenka/oc-data-file-model/LICENSE create mode 100644 plugins/lovata/toolbox/vendor/kharanenka/oc-data-file-model/README.md create mode 100644 plugins/lovata/toolbox/vendor/kharanenka/oc-data-file-model/composer.json create mode 100644 plugins/lovata/toolbox/vendor/kharanenka/oc-data-file-model/src/Kharanenka/Helper/DataFileModel.php create mode 100644 plugins/lovata/toolbox/vendor/kharanenka/oc-pagination/.gitignore create mode 100644 plugins/lovata/toolbox/vendor/kharanenka/oc-pagination/LICENSE create mode 100644 plugins/lovata/toolbox/vendor/kharanenka/oc-pagination/README.md create mode 100644 plugins/lovata/toolbox/vendor/kharanenka/oc-pagination/composer.json create mode 100644 plugins/lovata/toolbox/vendor/kharanenka/oc-pagination/src/Kharanenka/Helper/Pagination.php create mode 100644 plugins/lovata/toolbox/vendor/kharanenka/oc-pagination/src/Kharanenka/lang/en/lang.php create mode 100644 plugins/lovata/toolbox/vendor/kharanenka/oc-pagination/src/Kharanenka/lang/ru/lang.php create mode 100644 plugins/lovata/toolbox/vendor/kharanenka/php-pagination/.gitignore create mode 100644 plugins/lovata/toolbox/vendor/kharanenka/php-pagination/LICENSE create mode 100644 plugins/lovata/toolbox/vendor/kharanenka/php-pagination/README.md create mode 100644 plugins/lovata/toolbox/vendor/kharanenka/php-pagination/composer.json create mode 100644 plugins/lovata/toolbox/vendor/kharanenka/php-pagination/src/Kharanenka/Helper/PaginationHelper.php create mode 100644 plugins/lovata/toolbox/vendor/kharanenka/php-result-store/.gitignore create mode 100644 plugins/lovata/toolbox/vendor/kharanenka/php-result-store/.travis.yml create mode 100644 plugins/lovata/toolbox/vendor/kharanenka/php-result-store/LICENSE create mode 100644 plugins/lovata/toolbox/vendor/kharanenka/php-result-store/README.md create mode 100644 plugins/lovata/toolbox/vendor/kharanenka/php-result-store/composer.json create mode 100644 plugins/lovata/toolbox/vendor/kharanenka/php-result-store/phpunit.xml create mode 100644 plugins/lovata/toolbox/vendor/kharanenka/php-result-store/src/Kharanenka/Helper/Result.php create mode 100644 plugins/lovata/toolbox/vendor/kharanenka/php-result-store/src/Kharanenka/Helper/ResultStore.php create mode 100644 plugins/lovata/toolbox/vendor/kharanenka/php-result-store/tests/Kharanenka/Helper/ResultStoreTest.php delete mode 100644 plugins/tps/._.DS_Store create mode 100644 storage/framework/classes.php create mode 100644 storage/framework/packages.php create mode 100644 storage/framework/services.php diff --git a/.github/workflows/utilities/library-switcher b/.github/workflows/utilities/library-switcher old mode 100755 new mode 100644 diff --git a/.github/workflows/utilities/phpcs-pr b/.github/workflows/utilities/phpcs-pr old mode 100755 new mode 100644 diff --git a/.github/workflows/utilities/phpcs-push b/.github/workflows/utilities/phpcs-push old mode 100755 new mode 100644 diff --git a/modules/backend/assets/vendor/jcrop/MIT-LICENSE.txt b/modules/backend/assets/vendor/jcrop/MIT-LICENSE.txt old mode 100755 new mode 100644 diff --git a/modules/backend/assets/vendor/jcrop/README.md b/modules/backend/assets/vendor/jcrop/README.md old mode 100755 new mode 100644 diff --git a/modules/backend/assets/vendor/jcrop/css/Jcrop.gif b/modules/backend/assets/vendor/jcrop/css/Jcrop.gif old mode 100755 new mode 100644 diff --git a/modules/backend/assets/vendor/jcrop/css/jquery.Jcrop.min.css b/modules/backend/assets/vendor/jcrop/css/jquery.Jcrop.min.css old mode 100755 new mode 100644 diff --git a/modules/backend/assets/vendor/jcrop/js/jquery.Jcrop.js b/modules/backend/assets/vendor/jcrop/js/jquery.Jcrop.js old mode 100755 new mode 100644 diff --git a/modules/backend/formwidgets/codeeditor/assets/vendor/ace/ace.js b/modules/backend/formwidgets/codeeditor/assets/vendor/ace/ace.js old mode 100755 new mode 100644 diff --git a/modules/backend/formwidgets/codeeditor/assets/vendor/ace/ext-emmet.js b/modules/backend/formwidgets/codeeditor/assets/vendor/ace/ext-emmet.js old mode 100755 new mode 100644 diff --git a/modules/backend/formwidgets/codeeditor/assets/vendor/ace/ext-searchbox.js b/modules/backend/formwidgets/codeeditor/assets/vendor/ace/ext-searchbox.js old mode 100755 new mode 100644 diff --git a/modules/backend/formwidgets/codeeditor/assets/vendor/ace/mode-css.js b/modules/backend/formwidgets/codeeditor/assets/vendor/ace/mode-css.js old mode 100755 new mode 100644 diff --git a/modules/backend/formwidgets/codeeditor/assets/vendor/ace/mode-html.js b/modules/backend/formwidgets/codeeditor/assets/vendor/ace/mode-html.js old mode 100755 new mode 100644 diff --git a/modules/backend/formwidgets/codeeditor/assets/vendor/ace/mode-javascript.js b/modules/backend/formwidgets/codeeditor/assets/vendor/ace/mode-javascript.js old mode 100755 new mode 100644 diff --git a/modules/backend/formwidgets/codeeditor/assets/vendor/ace/mode-less.js b/modules/backend/formwidgets/codeeditor/assets/vendor/ace/mode-less.js old mode 100755 new mode 100644 diff --git a/modules/backend/formwidgets/codeeditor/assets/vendor/ace/mode-markdown.js b/modules/backend/formwidgets/codeeditor/assets/vendor/ace/mode-markdown.js old mode 100755 new mode 100644 diff --git a/modules/backend/formwidgets/codeeditor/assets/vendor/ace/mode-php.js b/modules/backend/formwidgets/codeeditor/assets/vendor/ace/mode-php.js old mode 100755 new mode 100644 diff --git a/modules/backend/formwidgets/codeeditor/assets/vendor/ace/mode-plain_text.js b/modules/backend/formwidgets/codeeditor/assets/vendor/ace/mode-plain_text.js old mode 100755 new mode 100644 diff --git a/modules/backend/formwidgets/codeeditor/assets/vendor/ace/mode-sass.js b/modules/backend/formwidgets/codeeditor/assets/vendor/ace/mode-sass.js old mode 100755 new mode 100644 diff --git a/modules/backend/formwidgets/codeeditor/assets/vendor/ace/mode-scss.js b/modules/backend/formwidgets/codeeditor/assets/vendor/ace/mode-scss.js old mode 100755 new mode 100644 diff --git a/modules/backend/formwidgets/codeeditor/assets/vendor/ace/mode-twig.js b/modules/backend/formwidgets/codeeditor/assets/vendor/ace/mode-twig.js old mode 100755 new mode 100644 diff --git a/modules/backend/formwidgets/codeeditor/assets/vendor/ace/theme-ambiance.js b/modules/backend/formwidgets/codeeditor/assets/vendor/ace/theme-ambiance.js old mode 100755 new mode 100644 diff --git a/modules/backend/formwidgets/codeeditor/assets/vendor/ace/theme-chaos.js b/modules/backend/formwidgets/codeeditor/assets/vendor/ace/theme-chaos.js old mode 100755 new mode 100644 diff --git a/modules/backend/formwidgets/codeeditor/assets/vendor/ace/theme-chrome.js b/modules/backend/formwidgets/codeeditor/assets/vendor/ace/theme-chrome.js old mode 100755 new mode 100644 diff --git a/modules/backend/formwidgets/codeeditor/assets/vendor/ace/theme-clouds.js b/modules/backend/formwidgets/codeeditor/assets/vendor/ace/theme-clouds.js old mode 100755 new mode 100644 diff --git a/modules/backend/formwidgets/codeeditor/assets/vendor/ace/theme-clouds_midnight.js b/modules/backend/formwidgets/codeeditor/assets/vendor/ace/theme-clouds_midnight.js old mode 100755 new mode 100644 diff --git a/modules/backend/formwidgets/codeeditor/assets/vendor/ace/theme-cobalt.js b/modules/backend/formwidgets/codeeditor/assets/vendor/ace/theme-cobalt.js old mode 100755 new mode 100644 diff --git a/modules/backend/formwidgets/codeeditor/assets/vendor/ace/theme-crimson_editor.js b/modules/backend/formwidgets/codeeditor/assets/vendor/ace/theme-crimson_editor.js old mode 100755 new mode 100644 diff --git a/modules/backend/formwidgets/codeeditor/assets/vendor/ace/theme-dawn.js b/modules/backend/formwidgets/codeeditor/assets/vendor/ace/theme-dawn.js old mode 100755 new mode 100644 diff --git a/modules/backend/formwidgets/codeeditor/assets/vendor/ace/theme-dreamweaver.js b/modules/backend/formwidgets/codeeditor/assets/vendor/ace/theme-dreamweaver.js old mode 100755 new mode 100644 diff --git a/modules/backend/formwidgets/codeeditor/assets/vendor/ace/theme-eclipse.js b/modules/backend/formwidgets/codeeditor/assets/vendor/ace/theme-eclipse.js old mode 100755 new mode 100644 diff --git a/modules/backend/formwidgets/codeeditor/assets/vendor/ace/theme-github.js b/modules/backend/formwidgets/codeeditor/assets/vendor/ace/theme-github.js old mode 100755 new mode 100644 diff --git a/modules/backend/formwidgets/codeeditor/assets/vendor/ace/theme-idle_fingers.js b/modules/backend/formwidgets/codeeditor/assets/vendor/ace/theme-idle_fingers.js old mode 100755 new mode 100644 diff --git a/modules/backend/formwidgets/codeeditor/assets/vendor/ace/theme-iplastic.js b/modules/backend/formwidgets/codeeditor/assets/vendor/ace/theme-iplastic.js old mode 100755 new mode 100644 diff --git a/modules/backend/formwidgets/codeeditor/assets/vendor/ace/theme-katzenmilch.js b/modules/backend/formwidgets/codeeditor/assets/vendor/ace/theme-katzenmilch.js old mode 100755 new mode 100644 diff --git a/modules/backend/formwidgets/codeeditor/assets/vendor/ace/theme-kr_theme.js b/modules/backend/formwidgets/codeeditor/assets/vendor/ace/theme-kr_theme.js old mode 100755 new mode 100644 diff --git a/modules/backend/formwidgets/codeeditor/assets/vendor/ace/theme-kuroir.js b/modules/backend/formwidgets/codeeditor/assets/vendor/ace/theme-kuroir.js old mode 100755 new mode 100644 diff --git a/modules/backend/formwidgets/codeeditor/assets/vendor/ace/theme-merbivore.js b/modules/backend/formwidgets/codeeditor/assets/vendor/ace/theme-merbivore.js old mode 100755 new mode 100644 diff --git a/modules/backend/formwidgets/codeeditor/assets/vendor/ace/theme-merbivore_soft.js b/modules/backend/formwidgets/codeeditor/assets/vendor/ace/theme-merbivore_soft.js old mode 100755 new mode 100644 diff --git a/modules/backend/formwidgets/codeeditor/assets/vendor/ace/theme-mono_industrial.js b/modules/backend/formwidgets/codeeditor/assets/vendor/ace/theme-mono_industrial.js old mode 100755 new mode 100644 diff --git a/modules/backend/formwidgets/codeeditor/assets/vendor/ace/theme-monokai.js b/modules/backend/formwidgets/codeeditor/assets/vendor/ace/theme-monokai.js old mode 100755 new mode 100644 diff --git a/modules/backend/formwidgets/codeeditor/assets/vendor/ace/theme-pastel_on_dark.js b/modules/backend/formwidgets/codeeditor/assets/vendor/ace/theme-pastel_on_dark.js old mode 100755 new mode 100644 diff --git a/modules/backend/formwidgets/codeeditor/assets/vendor/ace/theme-solarized_dark.js b/modules/backend/formwidgets/codeeditor/assets/vendor/ace/theme-solarized_dark.js old mode 100755 new mode 100644 diff --git a/modules/backend/formwidgets/codeeditor/assets/vendor/ace/theme-solarized_light.js b/modules/backend/formwidgets/codeeditor/assets/vendor/ace/theme-solarized_light.js old mode 100755 new mode 100644 diff --git a/modules/backend/formwidgets/codeeditor/assets/vendor/ace/theme-sqlserver.js b/modules/backend/formwidgets/codeeditor/assets/vendor/ace/theme-sqlserver.js old mode 100755 new mode 100644 diff --git a/modules/backend/formwidgets/codeeditor/assets/vendor/ace/theme-terminal.js b/modules/backend/formwidgets/codeeditor/assets/vendor/ace/theme-terminal.js old mode 100755 new mode 100644 diff --git a/modules/backend/formwidgets/codeeditor/assets/vendor/ace/theme-textmate.js b/modules/backend/formwidgets/codeeditor/assets/vendor/ace/theme-textmate.js old mode 100755 new mode 100644 diff --git a/modules/backend/formwidgets/codeeditor/assets/vendor/ace/theme-tomorrow.js b/modules/backend/formwidgets/codeeditor/assets/vendor/ace/theme-tomorrow.js old mode 100755 new mode 100644 diff --git a/modules/backend/formwidgets/codeeditor/assets/vendor/ace/theme-tomorrow_night.js b/modules/backend/formwidgets/codeeditor/assets/vendor/ace/theme-tomorrow_night.js old mode 100755 new mode 100644 diff --git a/modules/backend/formwidgets/codeeditor/assets/vendor/ace/theme-tomorrow_night_blue.js b/modules/backend/formwidgets/codeeditor/assets/vendor/ace/theme-tomorrow_night_blue.js old mode 100755 new mode 100644 diff --git a/modules/backend/formwidgets/codeeditor/assets/vendor/ace/theme-tomorrow_night_bright.js b/modules/backend/formwidgets/codeeditor/assets/vendor/ace/theme-tomorrow_night_bright.js old mode 100755 new mode 100644 diff --git a/modules/backend/formwidgets/codeeditor/assets/vendor/ace/theme-tomorrow_night_eighties.js b/modules/backend/formwidgets/codeeditor/assets/vendor/ace/theme-tomorrow_night_eighties.js old mode 100755 new mode 100644 diff --git a/modules/backend/formwidgets/codeeditor/assets/vendor/ace/theme-twilight.js b/modules/backend/formwidgets/codeeditor/assets/vendor/ace/theme-twilight.js old mode 100755 new mode 100644 diff --git a/modules/backend/formwidgets/codeeditor/assets/vendor/ace/theme-vibrant_ink.js b/modules/backend/formwidgets/codeeditor/assets/vendor/ace/theme-vibrant_ink.js old mode 100755 new mode 100644 diff --git a/modules/backend/formwidgets/codeeditor/assets/vendor/ace/theme-xcode.js b/modules/backend/formwidgets/codeeditor/assets/vendor/ace/theme-xcode.js old mode 100755 new mode 100644 diff --git a/modules/backend/formwidgets/codeeditor/assets/vendor/ace/worker-css.js b/modules/backend/formwidgets/codeeditor/assets/vendor/ace/worker-css.js old mode 100755 new mode 100644 diff --git a/modules/backend/formwidgets/codeeditor/assets/vendor/ace/worker-html.js b/modules/backend/formwidgets/codeeditor/assets/vendor/ace/worker-html.js old mode 100755 new mode 100644 diff --git a/modules/backend/formwidgets/codeeditor/assets/vendor/ace/worker-javascript.js b/modules/backend/formwidgets/codeeditor/assets/vendor/ace/worker-javascript.js old mode 100755 new mode 100644 diff --git a/modules/backend/formwidgets/codeeditor/assets/vendor/ace/worker-php.js b/modules/backend/formwidgets/codeeditor/assets/vendor/ace/worker-php.js old mode 100755 new mode 100644 diff --git a/modules/backend/formwidgets/richeditor/assets/css/richeditor.css b/modules/backend/formwidgets/richeditor/assets/css/richeditor.css old mode 100755 new mode 100644 diff --git a/modules/backend/formwidgets/richeditor/assets/js/build-min.js b/modules/backend/formwidgets/richeditor/assets/js/build-min.js old mode 100755 new mode 100644 diff --git a/modules/backend/formwidgets/richeditor/assets/js/richeditor.js b/modules/backend/formwidgets/richeditor/assets/js/richeditor.js old mode 100755 new mode 100644 diff --git a/modules/backend/formwidgets/richeditor/assets/less/richeditor.less b/modules/backend/formwidgets/richeditor/assets/less/richeditor.less old mode 100755 new mode 100644 diff --git a/modules/backend/formwidgets/richeditor/partials/_richeditor.htm b/modules/backend/formwidgets/richeditor/partials/_richeditor.htm old mode 100755 new mode 100644 diff --git a/modules/system/assets/ui/vendor/select2/js/i18n/az.js b/modules/system/assets/ui/vendor/select2/js/i18n/az.js old mode 100755 new mode 100644 diff --git a/modules/system/assets/ui/vendor/select2/js/i18n/bg.js b/modules/system/assets/ui/vendor/select2/js/i18n/bg.js old mode 100755 new mode 100644 diff --git a/modules/system/assets/ui/vendor/select2/js/i18n/ca.js b/modules/system/assets/ui/vendor/select2/js/i18n/ca.js old mode 100755 new mode 100644 diff --git a/modules/system/assets/ui/vendor/select2/js/i18n/cs.js b/modules/system/assets/ui/vendor/select2/js/i18n/cs.js old mode 100755 new mode 100644 diff --git a/modules/system/assets/ui/vendor/select2/js/i18n/da.js b/modules/system/assets/ui/vendor/select2/js/i18n/da.js old mode 100755 new mode 100644 diff --git a/modules/system/assets/ui/vendor/select2/js/i18n/de.js b/modules/system/assets/ui/vendor/select2/js/i18n/de.js old mode 100755 new mode 100644 diff --git a/modules/system/assets/ui/vendor/select2/js/i18n/en.js b/modules/system/assets/ui/vendor/select2/js/i18n/en.js old mode 100755 new mode 100644 diff --git a/modules/system/assets/ui/vendor/select2/js/i18n/es.js b/modules/system/assets/ui/vendor/select2/js/i18n/es.js old mode 100755 new mode 100644 diff --git a/modules/system/assets/ui/vendor/select2/js/i18n/et.js b/modules/system/assets/ui/vendor/select2/js/i18n/et.js old mode 100755 new mode 100644 diff --git a/modules/system/assets/ui/vendor/select2/js/i18n/eu.js b/modules/system/assets/ui/vendor/select2/js/i18n/eu.js old mode 100755 new mode 100644 diff --git a/modules/system/assets/ui/vendor/select2/js/i18n/fa.js b/modules/system/assets/ui/vendor/select2/js/i18n/fa.js old mode 100755 new mode 100644 diff --git a/modules/system/assets/ui/vendor/select2/js/i18n/fi.js b/modules/system/assets/ui/vendor/select2/js/i18n/fi.js old mode 100755 new mode 100644 diff --git a/modules/system/assets/ui/vendor/select2/js/i18n/fr.js b/modules/system/assets/ui/vendor/select2/js/i18n/fr.js old mode 100755 new mode 100644 diff --git a/modules/system/assets/ui/vendor/select2/js/i18n/gl.js b/modules/system/assets/ui/vendor/select2/js/i18n/gl.js old mode 100755 new mode 100644 diff --git a/modules/system/assets/ui/vendor/select2/js/i18n/he.js b/modules/system/assets/ui/vendor/select2/js/i18n/he.js old mode 100755 new mode 100644 diff --git a/modules/system/assets/ui/vendor/select2/js/i18n/hi.js b/modules/system/assets/ui/vendor/select2/js/i18n/hi.js old mode 100755 new mode 100644 diff --git a/modules/system/assets/ui/vendor/select2/js/i18n/hr.js b/modules/system/assets/ui/vendor/select2/js/i18n/hr.js old mode 100755 new mode 100644 diff --git a/modules/system/assets/ui/vendor/select2/js/i18n/hu.js b/modules/system/assets/ui/vendor/select2/js/i18n/hu.js old mode 100755 new mode 100644 diff --git a/modules/system/assets/ui/vendor/select2/js/i18n/id.js b/modules/system/assets/ui/vendor/select2/js/i18n/id.js old mode 100755 new mode 100644 diff --git a/modules/system/assets/ui/vendor/select2/js/i18n/is.js b/modules/system/assets/ui/vendor/select2/js/i18n/is.js old mode 100755 new mode 100644 diff --git a/modules/system/assets/ui/vendor/select2/js/i18n/it.js b/modules/system/assets/ui/vendor/select2/js/i18n/it.js old mode 100755 new mode 100644 diff --git a/modules/system/assets/ui/vendor/select2/js/i18n/ko.js b/modules/system/assets/ui/vendor/select2/js/i18n/ko.js old mode 100755 new mode 100644 diff --git a/modules/system/assets/ui/vendor/select2/js/i18n/lt.js b/modules/system/assets/ui/vendor/select2/js/i18n/lt.js old mode 100755 new mode 100644 diff --git a/modules/system/assets/ui/vendor/select2/js/i18n/lv.js b/modules/system/assets/ui/vendor/select2/js/i18n/lv.js old mode 100755 new mode 100644 diff --git a/modules/system/assets/ui/vendor/select2/js/i18n/mk.js b/modules/system/assets/ui/vendor/select2/js/i18n/mk.js old mode 100755 new mode 100644 diff --git a/modules/system/assets/ui/vendor/select2/js/i18n/nb.js b/modules/system/assets/ui/vendor/select2/js/i18n/nb.js old mode 100755 new mode 100644 diff --git a/modules/system/assets/ui/vendor/select2/js/i18n/nl.js b/modules/system/assets/ui/vendor/select2/js/i18n/nl.js old mode 100755 new mode 100644 diff --git a/modules/system/assets/ui/vendor/select2/js/i18n/pl.js b/modules/system/assets/ui/vendor/select2/js/i18n/pl.js old mode 100755 new mode 100644 diff --git a/modules/system/assets/ui/vendor/select2/js/i18n/pt-BR.js b/modules/system/assets/ui/vendor/select2/js/i18n/pt-BR.js old mode 100755 new mode 100644 diff --git a/modules/system/assets/ui/vendor/select2/js/i18n/pt.js b/modules/system/assets/ui/vendor/select2/js/i18n/pt.js old mode 100755 new mode 100644 diff --git a/modules/system/assets/ui/vendor/select2/js/i18n/ro.js b/modules/system/assets/ui/vendor/select2/js/i18n/ro.js old mode 100755 new mode 100644 diff --git a/modules/system/assets/ui/vendor/select2/js/i18n/ru.js b/modules/system/assets/ui/vendor/select2/js/i18n/ru.js old mode 100755 new mode 100644 diff --git a/modules/system/assets/ui/vendor/select2/js/i18n/sk.js b/modules/system/assets/ui/vendor/select2/js/i18n/sk.js old mode 100755 new mode 100644 diff --git a/modules/system/assets/ui/vendor/select2/js/i18n/sr.js b/modules/system/assets/ui/vendor/select2/js/i18n/sr.js old mode 100755 new mode 100644 diff --git a/modules/system/assets/ui/vendor/select2/js/i18n/sv.js b/modules/system/assets/ui/vendor/select2/js/i18n/sv.js old mode 100755 new mode 100644 diff --git a/modules/system/assets/ui/vendor/select2/js/i18n/th.js b/modules/system/assets/ui/vendor/select2/js/i18n/th.js old mode 100755 new mode 100644 diff --git a/modules/system/assets/ui/vendor/select2/js/i18n/tr.js b/modules/system/assets/ui/vendor/select2/js/i18n/tr.js old mode 100755 new mode 100644 diff --git a/modules/system/assets/ui/vendor/select2/js/i18n/uk.js b/modules/system/assets/ui/vendor/select2/js/i18n/uk.js old mode 100755 new mode 100644 diff --git a/modules/system/assets/ui/vendor/select2/js/i18n/vi.js b/modules/system/assets/ui/vendor/select2/js/i18n/vi.js old mode 100755 new mode 100644 diff --git a/modules/system/assets/ui/vendor/select2/js/i18n/zh-CN.js b/modules/system/assets/ui/vendor/select2/js/i18n/zh-CN.js old mode 100755 new mode 100644 diff --git a/modules/system/assets/ui/vendor/select2/js/i18n/zh-TW.js b/modules/system/assets/ui/vendor/select2/js/i18n/zh-TW.js old mode 100755 new mode 100644 diff --git a/modules/system/assets/ui/vendor/select2/js/select2.full.js b/modules/system/assets/ui/vendor/select2/js/select2.full.js old mode 100755 new mode 100644 diff --git a/modules/system/lang/fi/validation.php b/modules/system/lang/fi/validation.php old mode 100755 new mode 100644 diff --git a/plugins/lovata/toolbox/vendor/autoload.php b/plugins/lovata/toolbox/vendor/autoload.php new file mode 100644 index 000000000..e9c06cf86 --- /dev/null +++ b/plugins/lovata/toolbox/vendor/autoload.php @@ -0,0 +1,7 @@ + + * Jordi Boggiano + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + +namespace Composer\Autoload; + +/** + * ClassLoader implements a PSR-0, PSR-4 and classmap class loader. + * + * $loader = new \Composer\Autoload\ClassLoader(); + * + * // register classes with namespaces + * $loader->add('Symfony\Component', __DIR__.'/component'); + * $loader->add('Symfony', __DIR__.'/framework'); + * + * // activate the autoloader + * $loader->register(); + * + * // to enable searching the include path (eg. for PEAR packages) + * $loader->setUseIncludePath(true); + * + * In this example, if you try to use a class in the Symfony\Component + * namespace or one of its children (Symfony\Component\Console for instance), + * the autoloader will first look for the class under the component/ + * directory, and it will then fallback to the framework/ directory if not + * found before giving up. + * + * This class is loosely based on the Symfony UniversalClassLoader. + * + * @author Fabien Potencier + * @author Jordi Boggiano + * @see https://www.php-fig.org/psr/psr-0/ + * @see https://www.php-fig.org/psr/psr-4/ + */ +class ClassLoader +{ + private $vendorDir; + + // PSR-4 + private $prefixLengthsPsr4 = array(); + private $prefixDirsPsr4 = array(); + private $fallbackDirsPsr4 = array(); + + // PSR-0 + private $prefixesPsr0 = array(); + private $fallbackDirsPsr0 = array(); + + private $useIncludePath = false; + private $classMap = array(); + private $classMapAuthoritative = false; + private $missingClasses = array(); + private $apcuPrefix; + + private static $registeredLoaders = array(); + + public function __construct($vendorDir = null) + { + $this->vendorDir = $vendorDir; + } + + public function getPrefixes() + { + if (!empty($this->prefixesPsr0)) { + return call_user_func_array('array_merge', array_values($this->prefixesPsr0)); + } + + return array(); + } + + public function getPrefixesPsr4() + { + return $this->prefixDirsPsr4; + } + + public function getFallbackDirs() + { + return $this->fallbackDirsPsr0; + } + + public function getFallbackDirsPsr4() + { + return $this->fallbackDirsPsr4; + } + + public function getClassMap() + { + return $this->classMap; + } + + /** + * @param array $classMap Class to filename map + */ + public function addClassMap(array $classMap) + { + if ($this->classMap) { + $this->classMap = array_merge($this->classMap, $classMap); + } else { + $this->classMap = $classMap; + } + } + + /** + * Registers a set of PSR-0 directories for a given prefix, either + * appending or prepending to the ones previously set for this prefix. + * + * @param string $prefix The prefix + * @param array|string $paths The PSR-0 root directories + * @param bool $prepend Whether to prepend the directories + */ + public function add($prefix, $paths, $prepend = false) + { + if (!$prefix) { + if ($prepend) { + $this->fallbackDirsPsr0 = array_merge( + (array) $paths, + $this->fallbackDirsPsr0 + ); + } else { + $this->fallbackDirsPsr0 = array_merge( + $this->fallbackDirsPsr0, + (array) $paths + ); + } + + return; + } + + $first = $prefix[0]; + if (!isset($this->prefixesPsr0[$first][$prefix])) { + $this->prefixesPsr0[$first][$prefix] = (array) $paths; + + return; + } + if ($prepend) { + $this->prefixesPsr0[$first][$prefix] = array_merge( + (array) $paths, + $this->prefixesPsr0[$first][$prefix] + ); + } else { + $this->prefixesPsr0[$first][$prefix] = array_merge( + $this->prefixesPsr0[$first][$prefix], + (array) $paths + ); + } + } + + /** + * Registers a set of PSR-4 directories for a given namespace, either + * appending or prepending to the ones previously set for this namespace. + * + * @param string $prefix The prefix/namespace, with trailing '\\' + * @param array|string $paths The PSR-4 base directories + * @param bool $prepend Whether to prepend the directories + * + * @throws \InvalidArgumentException + */ + public function addPsr4($prefix, $paths, $prepend = false) + { + if (!$prefix) { + // Register directories for the root namespace. + if ($prepend) { + $this->fallbackDirsPsr4 = array_merge( + (array) $paths, + $this->fallbackDirsPsr4 + ); + } else { + $this->fallbackDirsPsr4 = array_merge( + $this->fallbackDirsPsr4, + (array) $paths + ); + } + } elseif (!isset($this->prefixDirsPsr4[$prefix])) { + // Register directories for a new namespace. + $length = strlen($prefix); + if ('\\' !== $prefix[$length - 1]) { + throw new \InvalidArgumentException("A non-empty PSR-4 prefix must end with a namespace separator."); + } + $this->prefixLengthsPsr4[$prefix[0]][$prefix] = $length; + $this->prefixDirsPsr4[$prefix] = (array) $paths; + } elseif ($prepend) { + // Prepend directories for an already registered namespace. + $this->prefixDirsPsr4[$prefix] = array_merge( + (array) $paths, + $this->prefixDirsPsr4[$prefix] + ); + } else { + // Append directories for an already registered namespace. + $this->prefixDirsPsr4[$prefix] = array_merge( + $this->prefixDirsPsr4[$prefix], + (array) $paths + ); + } + } + + /** + * Registers a set of PSR-0 directories for a given prefix, + * replacing any others previously set for this prefix. + * + * @param string $prefix The prefix + * @param array|string $paths The PSR-0 base directories + */ + public function set($prefix, $paths) + { + if (!$prefix) { + $this->fallbackDirsPsr0 = (array) $paths; + } else { + $this->prefixesPsr0[$prefix[0]][$prefix] = (array) $paths; + } + } + + /** + * Registers a set of PSR-4 directories for a given namespace, + * replacing any others previously set for this namespace. + * + * @param string $prefix The prefix/namespace, with trailing '\\' + * @param array|string $paths The PSR-4 base directories + * + * @throws \InvalidArgumentException + */ + public function setPsr4($prefix, $paths) + { + if (!$prefix) { + $this->fallbackDirsPsr4 = (array) $paths; + } else { + $length = strlen($prefix); + if ('\\' !== $prefix[$length - 1]) { + throw new \InvalidArgumentException("A non-empty PSR-4 prefix must end with a namespace separator."); + } + $this->prefixLengthsPsr4[$prefix[0]][$prefix] = $length; + $this->prefixDirsPsr4[$prefix] = (array) $paths; + } + } + + /** + * Turns on searching the include path for class files. + * + * @param bool $useIncludePath + */ + public function setUseIncludePath($useIncludePath) + { + $this->useIncludePath = $useIncludePath; + } + + /** + * Can be used to check if the autoloader uses the include path to check + * for classes. + * + * @return bool + */ + public function getUseIncludePath() + { + return $this->useIncludePath; + } + + /** + * Turns off searching the prefix and fallback directories for classes + * that have not been registered with the class map. + * + * @param bool $classMapAuthoritative + */ + public function setClassMapAuthoritative($classMapAuthoritative) + { + $this->classMapAuthoritative = $classMapAuthoritative; + } + + /** + * Should class lookup fail if not found in the current class map? + * + * @return bool + */ + public function isClassMapAuthoritative() + { + return $this->classMapAuthoritative; + } + + /** + * APCu prefix to use to cache found/not-found classes, if the extension is enabled. + * + * @param string|null $apcuPrefix + */ + public function setApcuPrefix($apcuPrefix) + { + $this->apcuPrefix = function_exists('apcu_fetch') && filter_var(ini_get('apc.enabled'), FILTER_VALIDATE_BOOLEAN) ? $apcuPrefix : null; + } + + /** + * The APCu prefix in use, or null if APCu caching is not enabled. + * + * @return string|null + */ + public function getApcuPrefix() + { + return $this->apcuPrefix; + } + + /** + * Registers this instance as an autoloader. + * + * @param bool $prepend Whether to prepend the autoloader or not + */ + public function register($prepend = false) + { + spl_autoload_register(array($this, 'loadClass'), true, $prepend); + + if (null === $this->vendorDir) { + return; + } + + if ($prepend) { + self::$registeredLoaders = array($this->vendorDir => $this) + self::$registeredLoaders; + } else { + unset(self::$registeredLoaders[$this->vendorDir]); + self::$registeredLoaders[$this->vendorDir] = $this; + } + } + + /** + * Unregisters this instance as an autoloader. + */ + public function unregister() + { + spl_autoload_unregister(array($this, 'loadClass')); + + if (null !== $this->vendorDir) { + unset(self::$registeredLoaders[$this->vendorDir]); + } + } + + /** + * Loads the given class or interface. + * + * @param string $class The name of the class + * @return bool|null True if loaded, null otherwise + */ + public function loadClass($class) + { + if ($file = $this->findFile($class)) { + includeFile($file); + + return true; + } + } + + /** + * Finds the path to the file where the class is defined. + * + * @param string $class The name of the class + * + * @return string|false The path if found, false otherwise + */ + public function findFile($class) + { + // class map lookup + if (isset($this->classMap[$class])) { + return $this->classMap[$class]; + } + if ($this->classMapAuthoritative || isset($this->missingClasses[$class])) { + return false; + } + if (null !== $this->apcuPrefix) { + $file = apcu_fetch($this->apcuPrefix.$class, $hit); + if ($hit) { + return $file; + } + } + + $file = $this->findFileWithExtension($class, '.php'); + + // Search for Hack files if we are running on HHVM + if (false === $file && defined('HHVM_VERSION')) { + $file = $this->findFileWithExtension($class, '.hh'); + } + + if (null !== $this->apcuPrefix) { + apcu_add($this->apcuPrefix.$class, $file); + } + + if (false === $file) { + // Remember that this class does not exist. + $this->missingClasses[$class] = true; + } + + return $file; + } + + /** + * Returns the currently registered loaders indexed by their corresponding vendor directories. + * + * @return self[] + */ + public static function getRegisteredLoaders() + { + return self::$registeredLoaders; + } + + private function findFileWithExtension($class, $ext) + { + // PSR-4 lookup + $logicalPathPsr4 = strtr($class, '\\', DIRECTORY_SEPARATOR) . $ext; + + $first = $class[0]; + if (isset($this->prefixLengthsPsr4[$first])) { + $subPath = $class; + while (false !== $lastPos = strrpos($subPath, '\\')) { + $subPath = substr($subPath, 0, $lastPos); + $search = $subPath . '\\'; + if (isset($this->prefixDirsPsr4[$search])) { + $pathEnd = DIRECTORY_SEPARATOR . substr($logicalPathPsr4, $lastPos + 1); + foreach ($this->prefixDirsPsr4[$search] as $dir) { + if (file_exists($file = $dir . $pathEnd)) { + return $file; + } + } + } + } + } + + // PSR-4 fallback dirs + foreach ($this->fallbackDirsPsr4 as $dir) { + if (file_exists($file = $dir . DIRECTORY_SEPARATOR . $logicalPathPsr4)) { + return $file; + } + } + + // PSR-0 lookup + if (false !== $pos = strrpos($class, '\\')) { + // namespaced class name + $logicalPathPsr0 = substr($logicalPathPsr4, 0, $pos + 1) + . strtr(substr($logicalPathPsr4, $pos + 1), '_', DIRECTORY_SEPARATOR); + } else { + // PEAR-like class name + $logicalPathPsr0 = strtr($class, '_', DIRECTORY_SEPARATOR) . $ext; + } + + if (isset($this->prefixesPsr0[$first])) { + foreach ($this->prefixesPsr0[$first] as $prefix => $dirs) { + if (0 === strpos($class, $prefix)) { + foreach ($dirs as $dir) { + if (file_exists($file = $dir . DIRECTORY_SEPARATOR . $logicalPathPsr0)) { + return $file; + } + } + } + } + } + + // PSR-0 fallback dirs + foreach ($this->fallbackDirsPsr0 as $dir) { + if (file_exists($file = $dir . DIRECTORY_SEPARATOR . $logicalPathPsr0)) { + return $file; + } + } + + // PSR-0 include paths. + if ($this->useIncludePath && $file = stream_resolve_include_path($logicalPathPsr0)) { + return $file; + } + + return false; + } +} + +/** + * Scope isolated include. + * + * Prevents access to $this/self from included files. + */ +function includeFile($file) +{ + include $file; +} diff --git a/plugins/lovata/toolbox/vendor/composer/InstalledVersions.php b/plugins/lovata/toolbox/vendor/composer/InstalledVersions.php new file mode 100644 index 000000000..68a9ac8ff --- /dev/null +++ b/plugins/lovata/toolbox/vendor/composer/InstalledVersions.php @@ -0,0 +1,452 @@ + + array ( + 'pretty_version' => '1.1.x-dev', + 'version' => '1.1.9999999.9999999-dev', + 'aliases' => + array ( + ), + 'reference' => 'c7bfcbda6bac7d7ead868e27b3e123d7be355687', + 'name' => 'lovata/toolbox-plugin', + ), + 'versions' => + array ( + 'composer/installers' => + array ( + 'pretty_version' => 'v1.11.0', + 'version' => '1.11.0.0', + 'aliases' => + array ( + ), + 'reference' => 'ae03311f45dfe194412081526be2e003960df74b', + ), + 'kharanenka/laravel-cache-helper' => + array ( + 'pretty_version' => '1.0.2', + 'version' => '1.0.2.0', + 'aliases' => + array ( + ), + 'reference' => '5423eed6830ade6f7af8b02eb6ad33a97db7b848', + ), + 'kharanenka/laravel-scope-active' => + array ( + 'pretty_version' => '1.0.3', + 'version' => '1.0.3.0', + 'aliases' => + array ( + ), + 'reference' => '248239d20c2c98fa1d2a3503fa18efe77f249771', + ), + 'kharanenka/laravel-scope-category-belongs-to' => + array ( + 'pretty_version' => '1.0.0', + 'version' => '1.0.0.0', + 'aliases' => + array ( + ), + 'reference' => 'f1bc012d01c203fe0dea6ffe854cf04cd5c39a4a', + ), + 'kharanenka/laravel-scope-code' => + array ( + 'pretty_version' => '1.0.0', + 'version' => '1.0.0.0', + 'aliases' => + array ( + ), + 'reference' => '24ded9d5a59d10c425ec47e39a1cece007db3d94', + ), + 'kharanenka/laravel-scope-date' => + array ( + 'pretty_version' => '1.0.0', + 'version' => '1.0.0.0', + 'aliases' => + array ( + ), + 'reference' => '63f2a458ee7daa40323a5c17af870b5db0765ce1', + ), + 'kharanenka/laravel-scope-external-id' => + array ( + 'pretty_version' => '1.0.0', + 'version' => '1.0.0.0', + 'aliases' => + array ( + ), + 'reference' => 'fa4e438acd8a424dd0ef6eb77db79a02ca5ea834', + ), + 'kharanenka/laravel-scope-hidden' => + array ( + 'pretty_version' => '1.0.0', + 'version' => '1.0.0.0', + 'aliases' => + array ( + ), + 'reference' => 'abf50b56facec3afdfa320567487b82e455b9ef3', + ), + 'kharanenka/laravel-scope-moderation' => + array ( + 'pretty_version' => '1.0.1', + 'version' => '1.0.1.0', + 'aliases' => + array ( + ), + 'reference' => '1c79aad19e21c5879a5361a177784904e41c553f', + ), + 'kharanenka/laravel-scope-name' => + array ( + 'pretty_version' => '1.0.0', + 'version' => '1.0.0.0', + 'aliases' => + array ( + ), + 'reference' => '6b68a8a4e1fb5b8a439c7a8d0e713c12be0dcf90', + ), + 'kharanenka/laravel-scope-slug' => + array ( + 'pretty_version' => '1.0.0', + 'version' => '1.0.0.0', + 'aliases' => + array ( + ), + 'reference' => 'defbcdc7a250f3d6b0fc305fc9597ab0dab43f32', + ), + 'kharanenka/laravel-scope-type' => + array ( + 'pretty_version' => '1.0.0', + 'version' => '1.0.0.0', + 'aliases' => + array ( + ), + 'reference' => '6de54f6f08966e96cfc6e0a1e5f190e7174aa5ef', + ), + 'kharanenka/laravel-scope-user-belongs-to' => + array ( + 'pretty_version' => '1.0.0', + 'version' => '1.0.0.0', + 'aliases' => + array ( + ), + 'reference' => '39ed356e99a35e739cfbb7bb5f797e59f854b7d0', + ), + 'kharanenka/oc-data-file-model' => + array ( + 'pretty_version' => '1.1.0', + 'version' => '1.1.0.0', + 'aliases' => + array ( + ), + 'reference' => '5b457ef9a619ff08377b56bfbde5337070359f8a', + ), + 'kharanenka/oc-pagination' => + array ( + 'pretty_version' => '1.0.2', + 'version' => '1.0.2.0', + 'aliases' => + array ( + ), + 'reference' => '0a26015df60c7a3194dbdabe1f882efa287affd3', + ), + 'kharanenka/php-pagination' => + array ( + 'pretty_version' => '2.0.3', + 'version' => '2.0.3.0', + 'aliases' => + array ( + ), + 'reference' => '03b37e4461cf5edac10863b8dd15da82bb117b32', + ), + 'kharanenka/php-result-store' => + array ( + 'pretty_version' => '2.3.0', + 'version' => '2.3.0.0', + 'aliases' => + array ( + ), + 'reference' => '2adb2f7307db8ea0e597882aeb5b578a0105f376', + ), + 'lovata/toolbox-plugin' => + array ( + 'pretty_version' => '1.1.x-dev', + 'version' => '1.1.9999999.9999999-dev', + 'aliases' => + array ( + ), + 'reference' => 'c7bfcbda6bac7d7ead868e27b3e123d7be355687', + ), + 'roundcube/plugin-installer' => + array ( + 'replaced' => + array ( + 0 => '*', + ), + ), + 'shama/baton' => + array ( + 'replaced' => + array ( + 0 => '*', + ), + ), + ), +); +private static $canGetVendors; +private static $installedByVendor = array(); + + + + + + + +public static function getInstalledPackages() +{ +$packages = array(); +foreach (self::getInstalled() as $installed) { +$packages[] = array_keys($installed['versions']); +} + +if (1 === \count($packages)) { +return $packages[0]; +} + +return array_keys(array_flip(\call_user_func_array('array_merge', $packages))); +} + + + + + + + + + +public static function isInstalled($packageName) +{ +foreach (self::getInstalled() as $installed) { +if (isset($installed['versions'][$packageName])) { +return true; +} +} + +return false; +} + + + + + + + + + + + + + + +public static function satisfies(VersionParser $parser, $packageName, $constraint) +{ +$constraint = $parser->parseConstraints($constraint); +$provided = $parser->parseConstraints(self::getVersionRanges($packageName)); + +return $provided->matches($constraint); +} + + + + + + + + + + +public static function getVersionRanges($packageName) +{ +foreach (self::getInstalled() as $installed) { +if (!isset($installed['versions'][$packageName])) { +continue; +} + +$ranges = array(); +if (isset($installed['versions'][$packageName]['pretty_version'])) { +$ranges[] = $installed['versions'][$packageName]['pretty_version']; +} +if (array_key_exists('aliases', $installed['versions'][$packageName])) { +$ranges = array_merge($ranges, $installed['versions'][$packageName]['aliases']); +} +if (array_key_exists('replaced', $installed['versions'][$packageName])) { +$ranges = array_merge($ranges, $installed['versions'][$packageName]['replaced']); +} +if (array_key_exists('provided', $installed['versions'][$packageName])) { +$ranges = array_merge($ranges, $installed['versions'][$packageName]['provided']); +} + +return implode(' || ', $ranges); +} + +throw new \OutOfBoundsException('Package "' . $packageName . '" is not installed'); +} + + + + + +public static function getVersion($packageName) +{ +foreach (self::getInstalled() as $installed) { +if (!isset($installed['versions'][$packageName])) { +continue; +} + +if (!isset($installed['versions'][$packageName]['version'])) { +return null; +} + +return $installed['versions'][$packageName]['version']; +} + +throw new \OutOfBoundsException('Package "' . $packageName . '" is not installed'); +} + + + + + +public static function getPrettyVersion($packageName) +{ +foreach (self::getInstalled() as $installed) { +if (!isset($installed['versions'][$packageName])) { +continue; +} + +if (!isset($installed['versions'][$packageName]['pretty_version'])) { +return null; +} + +return $installed['versions'][$packageName]['pretty_version']; +} + +throw new \OutOfBoundsException('Package "' . $packageName . '" is not installed'); +} + + + + + +public static function getReference($packageName) +{ +foreach (self::getInstalled() as $installed) { +if (!isset($installed['versions'][$packageName])) { +continue; +} + +if (!isset($installed['versions'][$packageName]['reference'])) { +return null; +} + +return $installed['versions'][$packageName]['reference']; +} + +throw new \OutOfBoundsException('Package "' . $packageName . '" is not installed'); +} + + + + + +public static function getRootPackage() +{ +$installed = self::getInstalled(); + +return $installed[0]['root']; +} + + + + + + + +public static function getRawData() +{ +return self::$installed; +} + + + + + + + + + + + + + + + + + + + +public static function reload($data) +{ +self::$installed = $data; +self::$installedByVendor = array(); +} + + + + + +private static function getInstalled() +{ +if (null === self::$canGetVendors) { +self::$canGetVendors = method_exists('Composer\Autoload\ClassLoader', 'getRegisteredLoaders'); +} + +$installed = array(); + +if (self::$canGetVendors) { +foreach (ClassLoader::getRegisteredLoaders() as $vendorDir => $loader) { +if (isset(self::$installedByVendor[$vendorDir])) { +$installed[] = self::$installedByVendor[$vendorDir]; +} elseif (is_file($vendorDir.'/composer/installed.php')) { +$installed[] = self::$installedByVendor[$vendorDir] = require $vendorDir.'/composer/installed.php'; +} +} +} + +$installed[] = self::$installed; + +return $installed; +} +} diff --git a/plugins/lovata/toolbox/vendor/composer/LICENSE b/plugins/lovata/toolbox/vendor/composer/LICENSE new file mode 100644 index 000000000..f27399a04 --- /dev/null +++ b/plugins/lovata/toolbox/vendor/composer/LICENSE @@ -0,0 +1,21 @@ + +Copyright (c) Nils Adermann, Jordi Boggiano + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is furnished +to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. + diff --git a/plugins/lovata/toolbox/vendor/composer/autoload_classmap.php b/plugins/lovata/toolbox/vendor/composer/autoload_classmap.php new file mode 100644 index 000000000..88caf018e --- /dev/null +++ b/plugins/lovata/toolbox/vendor/composer/autoload_classmap.php @@ -0,0 +1,25 @@ + $vendorDir . '/composer/InstalledVersions.php', + 'Kharanenka\\Helper\\CCache' => $vendorDir . '/kharanenka/laravel-cache-helper/src/Kharanenka/Helper/CCache.php', + 'Kharanenka\\Helper\\DataFileModel' => $vendorDir . '/kharanenka/oc-data-file-model/src/Kharanenka/Helper/DataFileModel.php', + 'Kharanenka\\Helper\\Pagination' => $vendorDir . '/kharanenka/oc-pagination/src/Kharanenka/Helper/Pagination.php', + 'Kharanenka\\Helper\\PaginationHelper' => $vendorDir . '/kharanenka/php-pagination/src/Kharanenka/Helper/PaginationHelper.php', + 'Kharanenka\\Scope\\ActiveField' => $vendorDir . '/kharanenka/laravel-scope-active/src/Kharanenka/Scope/ActiveField.php', + 'Kharanenka\\Scope\\CategoryBelongsTo' => $vendorDir . '/kharanenka/laravel-scope-category-belongs-to/src/Kharanenka/Scope/CategoryBelongsTo.php', + 'Kharanenka\\Scope\\CodeField' => $vendorDir . '/kharanenka/laravel-scope-code/src/Kharanenka/Scope/CodeField.php', + 'Kharanenka\\Scope\\DateField' => $vendorDir . '/kharanenka/laravel-scope-date/src/Kharanenka/Scope/DateField.php', + 'Kharanenka\\Scope\\ExternalIDField' => $vendorDir . '/kharanenka/laravel-scope-external-id/src/Kharanenka/Scope/ExternalIDField.php', + 'Kharanenka\\Scope\\HiddenField' => $vendorDir . '/kharanenka/laravel-scope-hidden/src/Kharanenka/Scope/HiddenField.php', + 'Kharanenka\\Scope\\ModerationField' => $vendorDir . '/kharanenka/laravel-scope-moderation/src/Kharanenka/Scope/ModerationField.php', + 'Kharanenka\\Scope\\NameField' => $vendorDir . '/kharanenka/laravel-scope-name/src/Kharanenka/Scope/NameField.php', + 'Kharanenka\\Scope\\SlugField' => $vendorDir . '/kharanenka/laravel-scope-slug/src/Kharanenka/Scope/SlugField.php', + 'Kharanenka\\Scope\\TypeField' => $vendorDir . '/kharanenka/laravel-scope-type/src/Kharanenka/Scope/TypeField.php', + 'Kharanenka\\Scope\\UserBelongsTo' => $vendorDir . '/kharanenka/laravel-scope-user-belongs-to/src/Kharanenka/Scope/UserBelongsTo.php', +); diff --git a/plugins/lovata/toolbox/vendor/composer/autoload_namespaces.php b/plugins/lovata/toolbox/vendor/composer/autoload_namespaces.php new file mode 100644 index 000000000..46b4cf3c4 --- /dev/null +++ b/plugins/lovata/toolbox/vendor/composer/autoload_namespaces.php @@ -0,0 +1,11 @@ + array($vendorDir . '/kharanenka/laravel-scope-active/src', $vendorDir . '/kharanenka/laravel-scope-category-belongs-to/src', $vendorDir . '/kharanenka/laravel-scope-code/src', $vendorDir . '/kharanenka/laravel-scope-date/src', $vendorDir . '/kharanenka/laravel-scope-external-id/src', $vendorDir . '/kharanenka/laravel-scope-hidden/src', $vendorDir . '/kharanenka/laravel-scope-moderation/src', $vendorDir . '/kharanenka/laravel-scope-name/src', $vendorDir . '/kharanenka/laravel-scope-slug/src', $vendorDir . '/kharanenka/laravel-scope-user-belongs-to/src', $vendorDir . '/kharanenka/laravel-scope-type/src'), + 'Kharanenka\\Helper\\' => array($vendorDir . '/kharanenka/laravel-cache-helper/src', $vendorDir . '/kharanenka/oc-data-file-model/src', $vendorDir . '/kharanenka/php-pagination/src', $vendorDir . '/kharanenka/oc-pagination/src'), +); diff --git a/plugins/lovata/toolbox/vendor/composer/autoload_psr4.php b/plugins/lovata/toolbox/vendor/composer/autoload_psr4.php new file mode 100644 index 000000000..10effdcf1 --- /dev/null +++ b/plugins/lovata/toolbox/vendor/composer/autoload_psr4.php @@ -0,0 +1,11 @@ + array($vendorDir . '/kharanenka/php-result-store/src/Kharanenka/Helper'), + 'Composer\\Installers\\' => array($vendorDir . '/composer/installers/src/Composer/Installers'), +); diff --git a/plugins/lovata/toolbox/vendor/composer/autoload_real.php b/plugins/lovata/toolbox/vendor/composer/autoload_real.php new file mode 100644 index 000000000..099670fe2 --- /dev/null +++ b/plugins/lovata/toolbox/vendor/composer/autoload_real.php @@ -0,0 +1,57 @@ += 50600 && !defined('HHVM_VERSION') && (!function_exists('zend_loader_file_encoded') || !zend_loader_file_encoded()); + if ($useStaticLoader) { + require __DIR__ . '/autoload_static.php'; + + call_user_func(\Composer\Autoload\ComposerStaticInitfb9f5aac79a999e95f2c3f19fec1e1d9::getInitializer($loader)); + } else { + $map = require __DIR__ . '/autoload_namespaces.php'; + foreach ($map as $namespace => $path) { + $loader->set($namespace, $path); + } + + $map = require __DIR__ . '/autoload_psr4.php'; + foreach ($map as $namespace => $path) { + $loader->setPsr4($namespace, $path); + } + + $classMap = require __DIR__ . '/autoload_classmap.php'; + if ($classMap) { + $loader->addClassMap($classMap); + } + } + + $loader->register(true); + + return $loader; + } +} diff --git a/plugins/lovata/toolbox/vendor/composer/autoload_static.php b/plugins/lovata/toolbox/vendor/composer/autoload_static.php new file mode 100644 index 000000000..602bdefee --- /dev/null +++ b/plugins/lovata/toolbox/vendor/composer/autoload_static.php @@ -0,0 +1,87 @@ + + array ( + 'Kharanenka\\Helper\\' => 18, + ), + 'C' => + array ( + 'Composer\\Installers\\' => 20, + ), + ); + + public static $prefixDirsPsr4 = array ( + 'Kharanenka\\Helper\\' => + array ( + 0 => __DIR__ . '/..' . '/kharanenka/php-result-store/src/Kharanenka/Helper', + ), + 'Composer\\Installers\\' => + array ( + 0 => __DIR__ . '/..' . '/composer/installers/src/Composer/Installers', + ), + ); + + public static $prefixesPsr0 = array ( + 'K' => + array ( + 'Kharanenka\\Scope\\' => + array ( + 0 => __DIR__ . '/..' . '/kharanenka/laravel-scope-active/src', + 1 => __DIR__ . '/..' . '/kharanenka/laravel-scope-category-belongs-to/src', + 2 => __DIR__ . '/..' . '/kharanenka/laravel-scope-code/src', + 3 => __DIR__ . '/..' . '/kharanenka/laravel-scope-date/src', + 4 => __DIR__ . '/..' . '/kharanenka/laravel-scope-external-id/src', + 5 => __DIR__ . '/..' . '/kharanenka/laravel-scope-hidden/src', + 6 => __DIR__ . '/..' . '/kharanenka/laravel-scope-moderation/src', + 7 => __DIR__ . '/..' . '/kharanenka/laravel-scope-name/src', + 8 => __DIR__ . '/..' . '/kharanenka/laravel-scope-slug/src', + 9 => __DIR__ . '/..' . '/kharanenka/laravel-scope-user-belongs-to/src', + 10 => __DIR__ . '/..' . '/kharanenka/laravel-scope-type/src', + ), + 'Kharanenka\\Helper\\' => + array ( + 0 => __DIR__ . '/..' . '/kharanenka/laravel-cache-helper/src', + 1 => __DIR__ . '/..' . '/kharanenka/oc-data-file-model/src', + 2 => __DIR__ . '/..' . '/kharanenka/php-pagination/src', + 3 => __DIR__ . '/..' . '/kharanenka/oc-pagination/src', + ), + ), + ); + + public static $classMap = array ( + 'Composer\\InstalledVersions' => __DIR__ . '/..' . '/composer/InstalledVersions.php', + 'Kharanenka\\Helper\\CCache' => __DIR__ . '/..' . '/kharanenka/laravel-cache-helper/src/Kharanenka/Helper/CCache.php', + 'Kharanenka\\Helper\\DataFileModel' => __DIR__ . '/..' . '/kharanenka/oc-data-file-model/src/Kharanenka/Helper/DataFileModel.php', + 'Kharanenka\\Helper\\Pagination' => __DIR__ . '/..' . '/kharanenka/oc-pagination/src/Kharanenka/Helper/Pagination.php', + 'Kharanenka\\Helper\\PaginationHelper' => __DIR__ . '/..' . '/kharanenka/php-pagination/src/Kharanenka/Helper/PaginationHelper.php', + 'Kharanenka\\Scope\\ActiveField' => __DIR__ . '/..' . '/kharanenka/laravel-scope-active/src/Kharanenka/Scope/ActiveField.php', + 'Kharanenka\\Scope\\CategoryBelongsTo' => __DIR__ . '/..' . '/kharanenka/laravel-scope-category-belongs-to/src/Kharanenka/Scope/CategoryBelongsTo.php', + 'Kharanenka\\Scope\\CodeField' => __DIR__ . '/..' . '/kharanenka/laravel-scope-code/src/Kharanenka/Scope/CodeField.php', + 'Kharanenka\\Scope\\DateField' => __DIR__ . '/..' . '/kharanenka/laravel-scope-date/src/Kharanenka/Scope/DateField.php', + 'Kharanenka\\Scope\\ExternalIDField' => __DIR__ . '/..' . '/kharanenka/laravel-scope-external-id/src/Kharanenka/Scope/ExternalIDField.php', + 'Kharanenka\\Scope\\HiddenField' => __DIR__ . '/..' . '/kharanenka/laravel-scope-hidden/src/Kharanenka/Scope/HiddenField.php', + 'Kharanenka\\Scope\\ModerationField' => __DIR__ . '/..' . '/kharanenka/laravel-scope-moderation/src/Kharanenka/Scope/ModerationField.php', + 'Kharanenka\\Scope\\NameField' => __DIR__ . '/..' . '/kharanenka/laravel-scope-name/src/Kharanenka/Scope/NameField.php', + 'Kharanenka\\Scope\\SlugField' => __DIR__ . '/..' . '/kharanenka/laravel-scope-slug/src/Kharanenka/Scope/SlugField.php', + 'Kharanenka\\Scope\\TypeField' => __DIR__ . '/..' . '/kharanenka/laravel-scope-type/src/Kharanenka/Scope/TypeField.php', + 'Kharanenka\\Scope\\UserBelongsTo' => __DIR__ . '/..' . '/kharanenka/laravel-scope-user-belongs-to/src/Kharanenka/Scope/UserBelongsTo.php', + ); + + public static function getInitializer(ClassLoader $loader) + { + return \Closure::bind(function () use ($loader) { + $loader->prefixLengthsPsr4 = ComposerStaticInitfb9f5aac79a999e95f2c3f19fec1e1d9::$prefixLengthsPsr4; + $loader->prefixDirsPsr4 = ComposerStaticInitfb9f5aac79a999e95f2c3f19fec1e1d9::$prefixDirsPsr4; + $loader->prefixesPsr0 = ComposerStaticInitfb9f5aac79a999e95f2c3f19fec1e1d9::$prefixesPsr0; + $loader->classMap = ComposerStaticInitfb9f5aac79a999e95f2c3f19fec1e1d9::$classMap; + + }, null, ClassLoader::class); + } +} diff --git a/plugins/lovata/toolbox/vendor/composer/installed.json b/plugins/lovata/toolbox/vendor/composer/installed.json new file mode 100644 index 000000000..341c2ff82 --- /dev/null +++ b/plugins/lovata/toolbox/vendor/composer/installed.json @@ -0,0 +1,1022 @@ +{ + "packages": [ + { + "name": "composer/installers", + "version": "v1.11.0", + "version_normalized": "1.11.0.0", + "source": { + "type": "git", + "url": "https://github.com/composer/installers.git", + "reference": "ae03311f45dfe194412081526be2e003960df74b" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/composer/installers/zipball/ae03311f45dfe194412081526be2e003960df74b", + "reference": "ae03311f45dfe194412081526be2e003960df74b", + "shasum": "" + }, + "require": { + "composer-plugin-api": "^1.0 || ^2.0" + }, + "replace": { + "roundcube/plugin-installer": "*", + "shama/baton": "*" + }, + "require-dev": { + "composer/composer": "1.6.* || ^2.0", + "composer/semver": "^1 || ^3", + "phpstan/phpstan": "^0.12.55", + "phpstan/phpstan-phpunit": "^0.12.16", + "symfony/phpunit-bridge": "^4.2 || ^5", + "symfony/process": "^2.3" + }, + "time": "2021-04-28T06:42:17+00:00", + "type": "composer-plugin", + "extra": { + "class": "Composer\\Installers\\Plugin", + "branch-alias": { + "dev-main": "1.x-dev" + } + }, + "installation-source": "dist", + "autoload": { + "psr-4": { + "Composer\\Installers\\": "src/Composer/Installers" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Kyle Robinson Young", + "email": "kyle@dontkry.com", + "homepage": "https://github.com/shama" + } + ], + "description": "A multi-framework Composer library installer", + "homepage": "https://composer.github.io/installers/", + "keywords": [ + "Craft", + "Dolibarr", + "Eliasis", + "Hurad", + "ImageCMS", + "Kanboard", + "Lan Management System", + "MODX Evo", + "MantisBT", + "Mautic", + "Maya", + "OXID", + "Plentymarkets", + "Porto", + "RadPHP", + "SMF", + "Starbug", + "Thelia", + "Whmcs", + "WolfCMS", + "agl", + "aimeos", + "annotatecms", + "attogram", + "bitrix", + "cakephp", + "chef", + "cockpit", + "codeigniter", + "concrete5", + "croogo", + "dokuwiki", + "drupal", + "eZ Platform", + "elgg", + "expressionengine", + "fuelphp", + "grav", + "installer", + "itop", + "joomla", + "known", + "kohana", + "laravel", + "lavalite", + "lithium", + "magento", + "majima", + "mako", + "mediawiki", + "miaoxing", + "modulework", + "modx", + "moodle", + "osclass", + "phpbb", + "piwik", + "ppi", + "processwire", + "puppet", + "pxcms", + "reindex", + "roundcube", + "shopware", + "silverstripe", + "sydes", + "sylius", + "symfony", + "tastyigniter", + "typo3", + "wordpress", + "yawik", + "zend", + "zikula" + ], + "support": { + "issues": "https://github.com/composer/installers/issues", + "source": "https://github.com/composer/installers/tree/v1.11.0" + }, + "funding": [ + { + "url": "https://packagist.com", + "type": "custom" + }, + { + "url": "https://github.com/composer", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/composer/composer", + "type": "tidelift" + } + ], + "install-path": "./installers" + }, + { + "name": "kharanenka/laravel-cache-helper", + "version": "1.0.2", + "version_normalized": "1.0.2.0", + "source": { + "type": "git", + "url": "https://github.com/kharanenka/laravel-cache-helper.git", + "reference": "5423eed6830ade6f7af8b02eb6ad33a97db7b848" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/kharanenka/laravel-cache-helper/zipball/5423eed6830ade6f7af8b02eb6ad33a97db7b848", + "reference": "5423eed6830ade6f7af8b02eb6ad33a97db7b848", + "shasum": "" + }, + "require": { + "php": ">=5.6" + }, + "time": "2017-01-06T17:53:00+00:00", + "type": "library", + "installation-source": "dist", + "autoload": { + "classmap": [ + "src/Kharanenka/Helper" + ], + "psr-0": { + "Kharanenka\\Helper\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "GPL-3.0" + ], + "authors": [ + { + "name": "Andrey Kharanenka", + "email": "kharanenka@gmail.com" + } + ], + "description": "Cache helper for default laravel cache class", + "keywords": [ + "cache", + "laravel", + "octobercms", + "php" + ], + "support": { + "issues": "https://github.com/kharanenka/laravel-cache-helper/issues", + "source": "https://github.com/kharanenka/laravel-cache-helper/tree/master" + }, + "install-path": "../kharanenka/laravel-cache-helper" + }, + { + "name": "kharanenka/laravel-scope-active", + "version": "1.0.3", + "version_normalized": "1.0.3.0", + "source": { + "type": "git", + "url": "https://github.com/kharanenka/laravel-scope-active.git", + "reference": "248239d20c2c98fa1d2a3503fa18efe77f249771" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/kharanenka/laravel-scope-active/zipball/248239d20c2c98fa1d2a3503fa18efe77f249771", + "reference": "248239d20c2c98fa1d2a3503fa18efe77f249771", + "shasum": "" + }, + "require": { + "php": ">=5.6" + }, + "time": "2016-11-12T19:33:15+00:00", + "type": "library", + "installation-source": "dist", + "autoload": { + "classmap": [ + "src/Kharanenka/Scope" + ], + "psr-0": { + "Kharanenka\\Scope\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "GPL-3.0" + ], + "authors": [ + { + "name": "Andrey Kharanenka", + "email": "kharanenka@gmail.com" + } + ], + "description": "Scope for field 'active' (bool)", + "keywords": [ + "active", + "field", + "laravel", + "model", + "octobercms", + "php", + "scope" + ], + "support": { + "issues": "https://github.com/kharanenka/laravel-scope-active/issues", + "source": "https://github.com/kharanenka/laravel-scope-active/tree/master" + }, + "install-path": "../kharanenka/laravel-scope-active" + }, + { + "name": "kharanenka/laravel-scope-category-belongs-to", + "version": "1.0.0", + "version_normalized": "1.0.0.0", + "source": { + "type": "git", + "url": "https://github.com/kharanenka/laravel-scope-category-belongs-to.git", + "reference": "f1bc012d01c203fe0dea6ffe854cf04cd5c39a4a" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/kharanenka/laravel-scope-category-belongs-to/zipball/f1bc012d01c203fe0dea6ffe854cf04cd5c39a4a", + "reference": "f1bc012d01c203fe0dea6ffe854cf04cd5c39a4a", + "shasum": "" + }, + "require": { + "php": ">=5.6" + }, + "time": "2016-11-12T19:29:49+00:00", + "type": "library", + "installation-source": "dist", + "autoload": { + "classmap": [ + "src/Kharanenka/Scope" + ], + "psr-0": { + "Kharanenka\\Scope\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "GPL-3.0" + ], + "authors": [ + { + "name": "Andrey Kharanenka", + "email": "kharanenka@gmail.com" + } + ], + "description": "Scope for field 'category_id' (int)", + "keywords": [ + "category_id", + "field", + "laravel", + "model", + "octobercms", + "php", + "scope" + ], + "support": { + "issues": "https://github.com/kharanenka/laravel-scope-category-belongs-to/issues", + "source": "https://github.com/kharanenka/laravel-scope-category-belongs-to/tree/v1.0.0" + }, + "install-path": "../kharanenka/laravel-scope-category-belongs-to" + }, + { + "name": "kharanenka/laravel-scope-code", + "version": "1.0.0", + "version_normalized": "1.0.0.0", + "source": { + "type": "git", + "url": "https://github.com/kharanenka/laravel-scope-code.git", + "reference": "24ded9d5a59d10c425ec47e39a1cece007db3d94" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/kharanenka/laravel-scope-code/zipball/24ded9d5a59d10c425ec47e39a1cece007db3d94", + "reference": "24ded9d5a59d10c425ec47e39a1cece007db3d94", + "shasum": "" + }, + "require": { + "php": ">=5.6" + }, + "time": "2016-11-12T19:26:30+00:00", + "type": "library", + "installation-source": "dist", + "autoload": { + "classmap": [ + "src/Kharanenka/Scope" + ], + "psr-0": { + "Kharanenka\\Scope\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "GPL-3.0" + ], + "authors": [ + { + "name": "Andrey Kharanenka", + "email": "kharanenka@gmail.com" + } + ], + "description": "Scope for field 'code' (string)", + "keywords": [ + "code", + "field", + "laravel", + "model", + "octobercms", + "php", + "scope" + ], + "support": { + "issues": "https://github.com/kharanenka/laravel-scope-code/issues", + "source": "https://github.com/kharanenka/laravel-scope-code/tree/v1.0.0" + }, + "install-path": "../kharanenka/laravel-scope-code" + }, + { + "name": "kharanenka/laravel-scope-date", + "version": "1.0.0", + "version_normalized": "1.0.0.0", + "source": { + "type": "git", + "url": "https://github.com/kharanenka/laravel-scope-date.git", + "reference": "63f2a458ee7daa40323a5c17af870b5db0765ce1" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/kharanenka/laravel-scope-date/zipball/63f2a458ee7daa40323a5c17af870b5db0765ce1", + "reference": "63f2a458ee7daa40323a5c17af870b5db0765ce1", + "shasum": "" + }, + "require": { + "php": ">=5.6" + }, + "time": "2016-11-12T19:23:33+00:00", + "type": "library", + "installation-source": "dist", + "autoload": { + "classmap": [ + "src/Kharanenka/Scope" + ], + "psr-0": { + "Kharanenka\\Scope\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "GPL-3.0" + ], + "authors": [ + { + "name": "Andrey Kharanenka", + "email": "kharanenka@gmail.com" + } + ], + "description": "Scope for date field (Carbon)", + "keywords": [ + "carbon", + "date", + "field", + "laravel", + "model", + "octobercms", + "php", + "scope" + ], + "support": { + "issues": "https://github.com/kharanenka/laravel-scope-date/issues", + "source": "https://github.com/kharanenka/laravel-scope-date/tree/v1.0.0" + }, + "install-path": "../kharanenka/laravel-scope-date" + }, + { + "name": "kharanenka/laravel-scope-external-id", + "version": "1.0.0", + "version_normalized": "1.0.0.0", + "source": { + "type": "git", + "url": "https://github.com/kharanenka/laravel-scope-external-id.git", + "reference": "fa4e438acd8a424dd0ef6eb77db79a02ca5ea834" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/kharanenka/laravel-scope-external-id/zipball/fa4e438acd8a424dd0ef6eb77db79a02ca5ea834", + "reference": "fa4e438acd8a424dd0ef6eb77db79a02ca5ea834", + "shasum": "" + }, + "require": { + "php": ">=5.6" + }, + "time": "2016-11-12T19:19:51+00:00", + "type": "library", + "installation-source": "dist", + "autoload": { + "classmap": [ + "src/Kharanenka/Scope" + ], + "psr-0": { + "Kharanenka\\Scope\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "GPL-3.0" + ], + "authors": [ + { + "name": "Andrey Kharanenka", + "email": "kharanenka@gmail.com" + } + ], + "description": "Scope for field 'external_id' (int)", + "keywords": [ + "external_id", + "field", + "laravel", + "model", + "octobercms", + "php", + "scope" + ], + "support": { + "issues": "https://github.com/kharanenka/laravel-scope-external-id/issues", + "source": "https://github.com/kharanenka/laravel-scope-external-id/tree/v1.0.0" + }, + "install-path": "../kharanenka/laravel-scope-external-id" + }, + { + "name": "kharanenka/laravel-scope-hidden", + "version": "1.0.0", + "version_normalized": "1.0.0.0", + "source": { + "type": "git", + "url": "https://github.com/kharanenka/laravel-scope-hidden.git", + "reference": "abf50b56facec3afdfa320567487b82e455b9ef3" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/kharanenka/laravel-scope-hidden/zipball/abf50b56facec3afdfa320567487b82e455b9ef3", + "reference": "abf50b56facec3afdfa320567487b82e455b9ef3", + "shasum": "" + }, + "require": { + "php": ">=7.0" + }, + "time": "2018-09-05T18:47:22+00:00", + "type": "library", + "installation-source": "dist", + "autoload": { + "classmap": [ + "src/Kharanenka/Scope" + ], + "psr-0": { + "Kharanenka\\Scope\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "GPL-3.0" + ], + "authors": [ + { + "name": "Andrey Kharanenka", + "email": "kharanenka@gmail.com" + } + ], + "description": "Scope for field 'hidden' (bool)", + "keywords": [ + "field", + "hidden", + "laravel", + "model", + "octobercms", + "php", + "scope" + ], + "support": { + "issues": "https://github.com/kharanenka/laravel-scope-hidden/issues", + "source": "https://github.com/kharanenka/laravel-scope-hidden/tree/master" + }, + "install-path": "../kharanenka/laravel-scope-hidden" + }, + { + "name": "kharanenka/laravel-scope-moderation", + "version": "1.0.1", + "version_normalized": "1.0.1.0", + "source": { + "type": "git", + "url": "https://github.com/kharanenka/laravel-scope-moderation.git", + "reference": "1c79aad19e21c5879a5361a177784904e41c553f" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/kharanenka/laravel-scope-moderation/zipball/1c79aad19e21c5879a5361a177784904e41c553f", + "reference": "1c79aad19e21c5879a5361a177784904e41c553f", + "shasum": "" + }, + "require": { + "php": ">=5.6" + }, + "time": "2016-11-14T17:04:27+00:00", + "type": "library", + "installation-source": "dist", + "autoload": { + "classmap": [ + "src/Kharanenka/Scope" + ], + "psr-0": { + "Kharanenka\\Scope\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "GPL-3.0" + ], + "authors": [ + { + "name": "Andrey Kharanenka", + "email": "kharanenka@gmail.com" + } + ], + "description": "Scope for field 'moderation' (bool)", + "keywords": [ + "field", + "laravel", + "model", + "moderation", + "octobercms", + "php", + "scope" + ], + "support": { + "issues": "https://github.com/kharanenka/laravel-scope-moderation/issues", + "source": "https://github.com/kharanenka/laravel-scope-moderation/tree/master" + }, + "install-path": "../kharanenka/laravel-scope-moderation" + }, + { + "name": "kharanenka/laravel-scope-name", + "version": "1.0.0", + "version_normalized": "1.0.0.0", + "source": { + "type": "git", + "url": "https://github.com/kharanenka/laravel-scope-name.git", + "reference": "6b68a8a4e1fb5b8a439c7a8d0e713c12be0dcf90" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/kharanenka/laravel-scope-name/zipball/6b68a8a4e1fb5b8a439c7a8d0e713c12be0dcf90", + "reference": "6b68a8a4e1fb5b8a439c7a8d0e713c12be0dcf90", + "shasum": "" + }, + "require": { + "php": ">=5.6" + }, + "time": "2016-11-12T19:10:57+00:00", + "type": "library", + "installation-source": "dist", + "autoload": { + "classmap": [ + "src/Kharanenka/Scope" + ], + "psr-0": { + "Kharanenka\\Scope\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "GPL-3.0" + ], + "authors": [ + { + "name": "Andrey Kharanenka", + "email": "kharanenka@gmail.com" + } + ], + "description": "Scope for field 'name' (string)", + "keywords": [ + "field", + "laravel", + "model", + "name", + "octobercms", + "php", + "scope" + ], + "support": { + "issues": "https://github.com/kharanenka/laravel-scope-name/issues", + "source": "https://github.com/kharanenka/laravel-scope-name/tree/v1.0.0" + }, + "install-path": "../kharanenka/laravel-scope-name" + }, + { + "name": "kharanenka/laravel-scope-slug", + "version": "1.0.0", + "version_normalized": "1.0.0.0", + "source": { + "type": "git", + "url": "https://github.com/kharanenka/laravel-scope-slug.git", + "reference": "defbcdc7a250f3d6b0fc305fc9597ab0dab43f32" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/kharanenka/laravel-scope-slug/zipball/defbcdc7a250f3d6b0fc305fc9597ab0dab43f32", + "reference": "defbcdc7a250f3d6b0fc305fc9597ab0dab43f32", + "shasum": "" + }, + "require": { + "php": ">=5.6" + }, + "time": "2016-11-12T19:00:28+00:00", + "type": "library", + "installation-source": "dist", + "autoload": { + "classmap": [ + "src/Kharanenka/Scope" + ], + "psr-0": { + "Kharanenka\\Scope\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "GPL-3.0" + ], + "authors": [ + { + "name": "Andrey Kharanenka", + "email": "kharanenka@gmail.com" + } + ], + "description": "Scope for field 'slug' (string)", + "keywords": [ + "field", + "laravel", + "model", + "octobercms", + "php", + "scope", + "slug" + ], + "support": { + "issues": "https://github.com/kharanenka/laravel-scope-slug/issues", + "source": "https://github.com/kharanenka/laravel-scope-slug/tree/v1.0.0" + }, + "install-path": "../kharanenka/laravel-scope-slug" + }, + { + "name": "kharanenka/laravel-scope-type", + "version": "1.0.0", + "version_normalized": "1.0.0.0", + "source": { + "type": "git", + "url": "https://github.com/kharanenka/laravel-scope-type.git", + "reference": "6de54f6f08966e96cfc6e0a1e5f190e7174aa5ef" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/kharanenka/laravel-scope-type/zipball/6de54f6f08966e96cfc6e0a1e5f190e7174aa5ef", + "reference": "6de54f6f08966e96cfc6e0a1e5f190e7174aa5ef", + "shasum": "" + }, + "require": { + "php": ">=7.0" + }, + "time": "2018-09-05T19:06:46+00:00", + "type": "library", + "installation-source": "dist", + "autoload": { + "classmap": [ + "src/Kharanenka/Scope" + ], + "psr-0": { + "Kharanenka\\Scope\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "GPL-3.0" + ], + "authors": [ + { + "name": "Andrey Kharanenka", + "email": "kharanenka@gmail.com" + } + ], + "description": "Scope for field 'type' (string)", + "keywords": [ + "field", + "laravel", + "model", + "octobercms", + "php", + "scope", + "type" + ], + "support": { + "issues": "https://github.com/kharanenka/laravel-scope-type/issues", + "source": "https://github.com/kharanenka/laravel-scope-type/tree/1.0.0" + }, + "install-path": "../kharanenka/laravel-scope-type" + }, + { + "name": "kharanenka/laravel-scope-user-belongs-to", + "version": "1.0.0", + "version_normalized": "1.0.0.0", + "source": { + "type": "git", + "url": "https://github.com/kharanenka/laravel-scope-user-belongs-to.git", + "reference": "39ed356e99a35e739cfbb7bb5f797e59f854b7d0" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/kharanenka/laravel-scope-user-belongs-to/zipball/39ed356e99a35e739cfbb7bb5f797e59f854b7d0", + "reference": "39ed356e99a35e739cfbb7bb5f797e59f854b7d0", + "shasum": "" + }, + "require": { + "php": ">=5.6" + }, + "time": "2016-11-14T16:50:30+00:00", + "type": "library", + "installation-source": "dist", + "autoload": { + "classmap": [ + "src/Kharanenka/Scope" + ], + "psr-0": { + "Kharanenka\\Scope\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "GPL-3.0" + ], + "authors": [ + { + "name": "Andrey Kharanenka", + "email": "kharanenka@gmail.com" + } + ], + "description": "Scope for field 'user_id' (int)", + "keywords": [ + "field", + "laravel", + "model", + "octobercms", + "php", + "scope", + "user_id" + ], + "support": { + "issues": "https://github.com/kharanenka/laravel-scope-user-belongs-to/issues", + "source": "https://github.com/kharanenka/laravel-scope-user-belongs-to/tree/v1.0.0" + }, + "install-path": "../kharanenka/laravel-scope-user-belongs-to" + }, + { + "name": "kharanenka/oc-data-file-model", + "version": "1.1.0", + "version_normalized": "1.1.0.0", + "source": { + "type": "git", + "url": "https://github.com/kharanenka/oc-data-file-model.git", + "reference": "5b457ef9a619ff08377b56bfbde5337070359f8a" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/kharanenka/oc-data-file-model/zipball/5b457ef9a619ff08377b56bfbde5337070359f8a", + "reference": "5b457ef9a619ff08377b56bfbde5337070359f8a", + "shasum": "" + }, + "require": { + "php": ">=5.6" + }, + "time": "2017-08-27T15:11:45+00:00", + "type": "library", + "installation-source": "dist", + "autoload": { + "classmap": [ + "src/Kharanenka/Helper" + ], + "psr-0": { + "Kharanenka\\Helper\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "GPL-3.0" + ], + "authors": [ + { + "name": "Andrey Kharanenka", + "email": "kharanenka@gmail.com" + } + ], + "description": "Trait helps to get attached to the model file data", + "keywords": [ + "attache", + "file", + "model", + "octobercms", + "php" + ], + "support": { + "issues": "https://github.com/kharanenka/oc-data-file-model/issues", + "source": "https://github.com/kharanenka/oc-data-file-model/tree/master" + }, + "install-path": "../kharanenka/oc-data-file-model" + }, + { + "name": "kharanenka/oc-pagination", + "version": "1.0.2", + "version_normalized": "1.0.2.0", + "source": { + "type": "git", + "url": "https://github.com/kharanenka/oc-pagination.git", + "reference": "0a26015df60c7a3194dbdabe1f882efa287affd3" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/kharanenka/oc-pagination/zipball/0a26015df60c7a3194dbdabe1f882efa287affd3", + "reference": "0a26015df60c7a3194dbdabe1f882efa287affd3", + "shasum": "" + }, + "require": { + "kharanenka/php-pagination": "2.0.*", + "php": ">=5.6" + }, + "time": "2016-12-10T18:40:39+00:00", + "type": "library", + "installation-source": "dist", + "autoload": { + "classmap": [ + "src/Kharanenka/Helper" + ], + "psr-0": { + "Kharanenka\\Helper\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "GPL-3.0" + ], + "authors": [ + { + "name": "Andrey Kharanenka", + "email": "kharanenka@gmail.com" + } + ], + "description": "Get pagination elements for OctoberCMS", + "keywords": [ + "pagination", + "php" + ], + "support": { + "issues": "https://github.com/kharanenka/oc-pagination/issues", + "source": "https://github.com/kharanenka/oc-pagination/tree/master" + }, + "install-path": "../kharanenka/oc-pagination" + }, + { + "name": "kharanenka/php-pagination", + "version": "2.0.3", + "version_normalized": "2.0.3.0", + "source": { + "type": "git", + "url": "https://github.com/kharanenka/php-pagination.git", + "reference": "03b37e4461cf5edac10863b8dd15da82bb117b32" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/kharanenka/php-pagination/zipball/03b37e4461cf5edac10863b8dd15da82bb117b32", + "reference": "03b37e4461cf5edac10863b8dd15da82bb117b32", + "shasum": "" + }, + "require": { + "php": ">=5.6" + }, + "time": "2018-07-30T08:22:45+00:00", + "type": "library", + "installation-source": "dist", + "autoload": { + "classmap": [ + "src/Kharanenka/Helper" + ], + "psr-0": { + "Kharanenka\\Helper\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "GPL-3.0" + ], + "authors": [ + { + "name": "Andrey Kharanenka", + "email": "kharanenka@gmail.com" + } + ], + "description": "Get pagination elements", + "keywords": [ + "pagination", + "php" + ], + "support": { + "issues": "https://github.com/kharanenka/php-pagination/issues", + "source": "https://github.com/kharanenka/php-pagination/tree/master" + }, + "install-path": "../kharanenka/php-pagination" + }, + { + "name": "kharanenka/php-result-store", + "version": "2.3.0", + "version_normalized": "2.3.0.0", + "source": { + "type": "git", + "url": "https://github.com/kharanenka/php-result-store.git", + "reference": "2adb2f7307db8ea0e597882aeb5b578a0105f376" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/kharanenka/php-result-store/zipball/2adb2f7307db8ea0e597882aeb5b578a0105f376", + "reference": "2adb2f7307db8ea0e597882aeb5b578a0105f376", + "shasum": "" + }, + "require": { + "php": ">=7.0" + }, + "require-dev": { + "phpunit/phpunit": "^6.5" + }, + "time": "2019-07-29T07:02:51+00:00", + "type": "library", + "installation-source": "dist", + "autoload": { + "psr-4": { + "Kharanenka\\Helper\\": "src/Kharanenka/Helper/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "GPL-3.0" + ], + "authors": [ + { + "name": "Andrey Kharanenka", + "email": "kharanenka@gmail.com" + } + ], + "description": "Universal result store", + "keywords": [ + "php", + "result", + "store" + ], + "support": { + "issues": "https://github.com/kharanenka/php-result-store/issues", + "source": "https://github.com/kharanenka/php-result-store/tree/v2.3.0" + }, + "install-path": "../kharanenka/php-result-store" + } + ], + "dev": true, + "dev-package-names": [] +} diff --git a/plugins/lovata/toolbox/vendor/composer/installed.php b/plugins/lovata/toolbox/vendor/composer/installed.php new file mode 100644 index 000000000..53792a836 --- /dev/null +++ b/plugins/lovata/toolbox/vendor/composer/installed.php @@ -0,0 +1,191 @@ + + array ( + 'pretty_version' => '1.1.x-dev', + 'version' => '1.1.9999999.9999999-dev', + 'aliases' => + array ( + ), + 'reference' => 'c7bfcbda6bac7d7ead868e27b3e123d7be355687', + 'name' => 'lovata/toolbox-plugin', + ), + 'versions' => + array ( + 'composer/installers' => + array ( + 'pretty_version' => 'v1.11.0', + 'version' => '1.11.0.0', + 'aliases' => + array ( + ), + 'reference' => 'ae03311f45dfe194412081526be2e003960df74b', + ), + 'kharanenka/laravel-cache-helper' => + array ( + 'pretty_version' => '1.0.2', + 'version' => '1.0.2.0', + 'aliases' => + array ( + ), + 'reference' => '5423eed6830ade6f7af8b02eb6ad33a97db7b848', + ), + 'kharanenka/laravel-scope-active' => + array ( + 'pretty_version' => '1.0.3', + 'version' => '1.0.3.0', + 'aliases' => + array ( + ), + 'reference' => '248239d20c2c98fa1d2a3503fa18efe77f249771', + ), + 'kharanenka/laravel-scope-category-belongs-to' => + array ( + 'pretty_version' => '1.0.0', + 'version' => '1.0.0.0', + 'aliases' => + array ( + ), + 'reference' => 'f1bc012d01c203fe0dea6ffe854cf04cd5c39a4a', + ), + 'kharanenka/laravel-scope-code' => + array ( + 'pretty_version' => '1.0.0', + 'version' => '1.0.0.0', + 'aliases' => + array ( + ), + 'reference' => '24ded9d5a59d10c425ec47e39a1cece007db3d94', + ), + 'kharanenka/laravel-scope-date' => + array ( + 'pretty_version' => '1.0.0', + 'version' => '1.0.0.0', + 'aliases' => + array ( + ), + 'reference' => '63f2a458ee7daa40323a5c17af870b5db0765ce1', + ), + 'kharanenka/laravel-scope-external-id' => + array ( + 'pretty_version' => '1.0.0', + 'version' => '1.0.0.0', + 'aliases' => + array ( + ), + 'reference' => 'fa4e438acd8a424dd0ef6eb77db79a02ca5ea834', + ), + 'kharanenka/laravel-scope-hidden' => + array ( + 'pretty_version' => '1.0.0', + 'version' => '1.0.0.0', + 'aliases' => + array ( + ), + 'reference' => 'abf50b56facec3afdfa320567487b82e455b9ef3', + ), + 'kharanenka/laravel-scope-moderation' => + array ( + 'pretty_version' => '1.0.1', + 'version' => '1.0.1.0', + 'aliases' => + array ( + ), + 'reference' => '1c79aad19e21c5879a5361a177784904e41c553f', + ), + 'kharanenka/laravel-scope-name' => + array ( + 'pretty_version' => '1.0.0', + 'version' => '1.0.0.0', + 'aliases' => + array ( + ), + 'reference' => '6b68a8a4e1fb5b8a439c7a8d0e713c12be0dcf90', + ), + 'kharanenka/laravel-scope-slug' => + array ( + 'pretty_version' => '1.0.0', + 'version' => '1.0.0.0', + 'aliases' => + array ( + ), + 'reference' => 'defbcdc7a250f3d6b0fc305fc9597ab0dab43f32', + ), + 'kharanenka/laravel-scope-type' => + array ( + 'pretty_version' => '1.0.0', + 'version' => '1.0.0.0', + 'aliases' => + array ( + ), + 'reference' => '6de54f6f08966e96cfc6e0a1e5f190e7174aa5ef', + ), + 'kharanenka/laravel-scope-user-belongs-to' => + array ( + 'pretty_version' => '1.0.0', + 'version' => '1.0.0.0', + 'aliases' => + array ( + ), + 'reference' => '39ed356e99a35e739cfbb7bb5f797e59f854b7d0', + ), + 'kharanenka/oc-data-file-model' => + array ( + 'pretty_version' => '1.1.0', + 'version' => '1.1.0.0', + 'aliases' => + array ( + ), + 'reference' => '5b457ef9a619ff08377b56bfbde5337070359f8a', + ), + 'kharanenka/oc-pagination' => + array ( + 'pretty_version' => '1.0.2', + 'version' => '1.0.2.0', + 'aliases' => + array ( + ), + 'reference' => '0a26015df60c7a3194dbdabe1f882efa287affd3', + ), + 'kharanenka/php-pagination' => + array ( + 'pretty_version' => '2.0.3', + 'version' => '2.0.3.0', + 'aliases' => + array ( + ), + 'reference' => '03b37e4461cf5edac10863b8dd15da82bb117b32', + ), + 'kharanenka/php-result-store' => + array ( + 'pretty_version' => '2.3.0', + 'version' => '2.3.0.0', + 'aliases' => + array ( + ), + 'reference' => '2adb2f7307db8ea0e597882aeb5b578a0105f376', + ), + 'lovata/toolbox-plugin' => + array ( + 'pretty_version' => '1.1.x-dev', + 'version' => '1.1.9999999.9999999-dev', + 'aliases' => + array ( + ), + 'reference' => 'c7bfcbda6bac7d7ead868e27b3e123d7be355687', + ), + 'roundcube/plugin-installer' => + array ( + 'replaced' => + array ( + 0 => '*', + ), + ), + 'shama/baton' => + array ( + 'replaced' => + array ( + 0 => '*', + ), + ), + ), +); diff --git a/plugins/lovata/toolbox/vendor/composer/installers/.github/workflows/continuous-integration.yml b/plugins/lovata/toolbox/vendor/composer/installers/.github/workflows/continuous-integration.yml new file mode 100644 index 000000000..840e44826 --- /dev/null +++ b/plugins/lovata/toolbox/vendor/composer/installers/.github/workflows/continuous-integration.yml @@ -0,0 +1,70 @@ +name: "Continuous Integration" + +on: + - push + - pull_request + +env: + COMPOSER_FLAGS: "--ansi --no-interaction --no-progress --prefer-dist" + SYMFONY_PHPUNIT_REMOVE_RETURN_TYPEHINT: "1" + +jobs: + tests: + name: "CI" + + runs-on: ubuntu-latest + + strategy: + matrix: + php-version: + - "5.3" + - "5.4" + - "5.5" + - "5.6" + - "7.0" + - "7.1" + - "7.2" + - "7.3" + - "7.4" + - "8.0" + - "8.1" + dependencies: [locked] + include: + - php-version: "5.3" + dependencies: lowest + - php-version: "8.1" + dependencies: lowest + + steps: + - name: "Checkout" + uses: "actions/checkout@v2" + + - name: "Install PHP" + uses: "shivammathur/setup-php@v2" + with: + coverage: "none" + php-version: "${{ matrix.php-version }}" + + - name: Get composer cache directory + id: composercache + run: echo "::set-output name=dir::$(composer config cache-files-dir)" + + - name: Cache dependencies + uses: actions/cache@v2 + with: + path: ${{ steps.composercache.outputs.dir }} + key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.json') }} + restore-keys: ${{ runner.os }}-composer- + + - name: "Handle lowest dependencies update" + if: "contains(matrix.dependencies, 'lowest')" + run: "echo \"COMPOSER_FLAGS=$COMPOSER_FLAGS --prefer-lowest\" >> $GITHUB_ENV" + + - name: "Install latest dependencies" + run: | + # Remove PHPStan as it requires a newer PHP + composer remove phpstan/phpstan phpstan/phpstan-phpunit --dev --no-update + composer update ${{ env.COMPOSER_FLAGS }} + + - name: "Run tests" + run: "vendor/bin/simple-phpunit --verbose" diff --git a/plugins/lovata/toolbox/vendor/composer/installers/.github/workflows/lint.yml b/plugins/lovata/toolbox/vendor/composer/installers/.github/workflows/lint.yml new file mode 100644 index 000000000..81a1ac4d4 --- /dev/null +++ b/plugins/lovata/toolbox/vendor/composer/installers/.github/workflows/lint.yml @@ -0,0 +1,30 @@ +name: "PHP Lint" + +on: + - push + - pull_request + +jobs: + tests: + name: "Lint" + + runs-on: ubuntu-latest + + strategy: + matrix: + php-version: + - "5.3" + - "8.0" + + steps: + - name: "Checkout" + uses: "actions/checkout@v2" + + - name: "Install PHP" + uses: "shivammathur/setup-php@v2" + with: + coverage: "none" + php-version: "${{ matrix.php-version }}" + + - name: "Lint PHP files" + run: "find src/ -type f -name '*.php' -print0 | xargs -0 -L1 -P4 -- php -l -f" diff --git a/plugins/lovata/toolbox/vendor/composer/installers/.github/workflows/phpstan.yml b/plugins/lovata/toolbox/vendor/composer/installers/.github/workflows/phpstan.yml new file mode 100644 index 000000000..ac4c4a92c --- /dev/null +++ b/plugins/lovata/toolbox/vendor/composer/installers/.github/workflows/phpstan.yml @@ -0,0 +1,51 @@ +name: "PHPStan" + +on: + - push + - pull_request + +env: + COMPOSER_FLAGS: "--ansi --no-interaction --no-progress --prefer-dist" + SYMFONY_PHPUNIT_VERSION: "" + +jobs: + tests: + name: "PHPStan" + + runs-on: ubuntu-latest + + strategy: + matrix: + php-version: + # pinned to 7.4 because we need PHPUnit 7.5 which does not support PHP 8 + - "7.4" + + steps: + - name: "Checkout" + uses: "actions/checkout@v2" + + - name: "Install PHP" + uses: "shivammathur/setup-php@v2" + with: + coverage: "none" + php-version: "${{ matrix.php-version }}" + + - name: Get composer cache directory + id: composercache + run: echo "::set-output name=dir::$(composer config cache-files-dir)" + + - name: Cache dependencies + uses: actions/cache@v2 + with: + path: ${{ steps.composercache.outputs.dir }} + key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.json') }} + restore-keys: ${{ runner.os }}-composer- + + - name: "Install latest dependencies" + run: "composer update ${{ env.COMPOSER_FLAGS }}" + + - name: Run PHPStan + # Locked to phpunit 7.5 here as newer ones have void return types which break inheritance + run: | + composer require --dev phpunit/phpunit:^7.5.20 --with-all-dependencies ${{ env.COMPOSER_FLAGS }} + vendor/bin/phpstan analyse diff --git a/plugins/lovata/toolbox/vendor/composer/installers/LICENSE b/plugins/lovata/toolbox/vendor/composer/installers/LICENSE new file mode 100644 index 000000000..85f97fc79 --- /dev/null +++ b/plugins/lovata/toolbox/vendor/composer/installers/LICENSE @@ -0,0 +1,19 @@ +Copyright (c) 2012 Kyle Robinson Young + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is furnished +to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN +THE SOFTWARE. \ No newline at end of file diff --git a/plugins/lovata/toolbox/vendor/composer/installers/composer.json b/plugins/lovata/toolbox/vendor/composer/installers/composer.json new file mode 100644 index 000000000..eff02639b --- /dev/null +++ b/plugins/lovata/toolbox/vendor/composer/installers/composer.json @@ -0,0 +1,121 @@ +{ + "name": "composer/installers", + "type": "composer-plugin", + "license": "MIT", + "description": "A multi-framework Composer library installer", + "keywords": [ + "installer", + "Aimeos", + "AGL", + "AnnotateCms", + "Attogram", + "Bitrix", + "CakePHP", + "Chef", + "Cockpit", + "CodeIgniter", + "concrete5", + "Craft", + "Croogo", + "DokuWiki", + "Dolibarr", + "Drupal", + "Elgg", + "Eliasis", + "ExpressionEngine", + "eZ Platform", + "FuelPHP", + "Grav", + "Hurad", + "ImageCMS", + "iTop", + "Joomla", + "Kanboard", + "Known", + "Kohana", + "Lan Management System", + "Laravel", + "Lavalite", + "Lithium", + "Magento", + "majima", + "Mako", + "MantisBT", + "Mautic", + "Maya", + "MODX", + "MODX Evo", + "MediaWiki", + "Miaoxing", + "OXID", + "osclass", + "MODULEWork", + "Moodle", + "Piwik", + "pxcms", + "phpBB", + "Plentymarkets", + "PPI", + "Puppet", + "Porto", + "ProcessWire", + "RadPHP", + "ReIndex", + "Roundcube", + "shopware", + "SilverStripe", + "SMF", + "Starbug", + "SyDES", + "Sylius", + "symfony", + "TastyIgniter", + "Thelia", + "TYPO3", + "WHMCS", + "WolfCMS", + "WordPress", + "YAWIK", + "Zend", + "Zikula" + ], + "homepage": "https://composer.github.io/installers/", + "authors": [ + { + "name": "Kyle Robinson Young", + "email": "kyle@dontkry.com", + "homepage": "https://github.com/shama" + } + ], + "autoload": { + "psr-4": { "Composer\\Installers\\": "src/Composer/Installers" } + }, + "autoload-dev": { + "psr-4": { "Composer\\Installers\\Test\\": "tests/Composer/Installers/Test" } + }, + "extra": { + "class": "Composer\\Installers\\Plugin", + "branch-alias": { + "dev-main": "1.x-dev" + } + }, + "replace": { + "shama/baton": "*", + "roundcube/plugin-installer": "*" + }, + "require": { + "composer-plugin-api": "^1.0 || ^2.0" + }, + "require-dev": { + "composer/composer": "1.6.* || ^2.0", + "composer/semver": "^1 || ^3", + "symfony/phpunit-bridge": "^4.2 || ^5", + "phpstan/phpstan": "^0.12.55", + "symfony/process": "^2.3", + "phpstan/phpstan-phpunit": "^0.12.16" + }, + "scripts": { + "test": "SYMFONY_PHPUNIT_REMOVE_RETURN_TYPEHINT=1 vendor/bin/simple-phpunit", + "phpstan": "vendor/bin/phpstan analyse" + } +} diff --git a/plugins/lovata/toolbox/vendor/composer/installers/phpstan.neon.dist b/plugins/lovata/toolbox/vendor/composer/installers/phpstan.neon.dist new file mode 100644 index 000000000..8e3d81e9a --- /dev/null +++ b/plugins/lovata/toolbox/vendor/composer/installers/phpstan.neon.dist @@ -0,0 +1,10 @@ +parameters: + level: 5 + paths: + - src + - tests + excludes_analyse: + - tests/Composer/Installers/Test/PolyfillTestCase.php + +includes: + - vendor/phpstan/phpstan-phpunit/extension.neon diff --git a/plugins/lovata/toolbox/vendor/composer/installers/src/Composer/Installers/AglInstaller.php b/plugins/lovata/toolbox/vendor/composer/installers/src/Composer/Installers/AglInstaller.php new file mode 100644 index 000000000..01b8a4165 --- /dev/null +++ b/plugins/lovata/toolbox/vendor/composer/installers/src/Composer/Installers/AglInstaller.php @@ -0,0 +1,21 @@ + 'More/{$name}/', + ); + + /** + * Format package name to CamelCase + */ + public function inflectPackageVars($vars) + { + $vars['name'] = preg_replace_callback('/(?:^|_|-)(.?)/', function ($matches) { + return strtoupper($matches[1]); + }, $vars['name']); + + return $vars; + } +} diff --git a/plugins/lovata/toolbox/vendor/composer/installers/src/Composer/Installers/AimeosInstaller.php b/plugins/lovata/toolbox/vendor/composer/installers/src/Composer/Installers/AimeosInstaller.php new file mode 100644 index 000000000..79a0e958f --- /dev/null +++ b/plugins/lovata/toolbox/vendor/composer/installers/src/Composer/Installers/AimeosInstaller.php @@ -0,0 +1,9 @@ + 'ext/{$name}/', + ); +} diff --git a/plugins/lovata/toolbox/vendor/composer/installers/src/Composer/Installers/AnnotateCmsInstaller.php b/plugins/lovata/toolbox/vendor/composer/installers/src/Composer/Installers/AnnotateCmsInstaller.php new file mode 100644 index 000000000..89d7ad905 --- /dev/null +++ b/plugins/lovata/toolbox/vendor/composer/installers/src/Composer/Installers/AnnotateCmsInstaller.php @@ -0,0 +1,11 @@ + 'addons/modules/{$name}/', + 'component' => 'addons/components/{$name}/', + 'service' => 'addons/services/{$name}/', + ); +} diff --git a/plugins/lovata/toolbox/vendor/composer/installers/src/Composer/Installers/AsgardInstaller.php b/plugins/lovata/toolbox/vendor/composer/installers/src/Composer/Installers/AsgardInstaller.php new file mode 100644 index 000000000..22dad1b9a --- /dev/null +++ b/plugins/lovata/toolbox/vendor/composer/installers/src/Composer/Installers/AsgardInstaller.php @@ -0,0 +1,49 @@ + 'Modules/{$name}/', + 'theme' => 'Themes/{$name}/' + ); + + /** + * Format package name. + * + * For package type asgard-module, cut off a trailing '-plugin' if present. + * + * For package type asgard-theme, cut off a trailing '-theme' if present. + * + */ + public function inflectPackageVars($vars) + { + if ($vars['type'] === 'asgard-module') { + return $this->inflectPluginVars($vars); + } + + if ($vars['type'] === 'asgard-theme') { + return $this->inflectThemeVars($vars); + } + + return $vars; + } + + protected function inflectPluginVars($vars) + { + $vars['name'] = preg_replace('/-module$/', '', $vars['name']); + $vars['name'] = str_replace(array('-', '_'), ' ', $vars['name']); + $vars['name'] = str_replace(' ', '', ucwords($vars['name'])); + + return $vars; + } + + protected function inflectThemeVars($vars) + { + $vars['name'] = preg_replace('/-theme$/', '', $vars['name']); + $vars['name'] = str_replace(array('-', '_'), ' ', $vars['name']); + $vars['name'] = str_replace(' ', '', ucwords($vars['name'])); + + return $vars; + } +} diff --git a/plugins/lovata/toolbox/vendor/composer/installers/src/Composer/Installers/AttogramInstaller.php b/plugins/lovata/toolbox/vendor/composer/installers/src/Composer/Installers/AttogramInstaller.php new file mode 100644 index 000000000..d62fd8fd1 --- /dev/null +++ b/plugins/lovata/toolbox/vendor/composer/installers/src/Composer/Installers/AttogramInstaller.php @@ -0,0 +1,9 @@ + 'modules/{$name}/', + ); +} diff --git a/plugins/lovata/toolbox/vendor/composer/installers/src/Composer/Installers/BaseInstaller.php b/plugins/lovata/toolbox/vendor/composer/installers/src/Composer/Installers/BaseInstaller.php new file mode 100644 index 000000000..70dde907e --- /dev/null +++ b/plugins/lovata/toolbox/vendor/composer/installers/src/Composer/Installers/BaseInstaller.php @@ -0,0 +1,137 @@ +composer = $composer; + $this->package = $package; + $this->io = $io; + } + + /** + * Return the install path based on package type. + * + * @param PackageInterface $package + * @param string $frameworkType + * @return string + */ + public function getInstallPath(PackageInterface $package, $frameworkType = '') + { + $type = $this->package->getType(); + + $prettyName = $this->package->getPrettyName(); + if (strpos($prettyName, '/') !== false) { + list($vendor, $name) = explode('/', $prettyName); + } else { + $vendor = ''; + $name = $prettyName; + } + + $availableVars = $this->inflectPackageVars(compact('name', 'vendor', 'type')); + + $extra = $package->getExtra(); + if (!empty($extra['installer-name'])) { + $availableVars['name'] = $extra['installer-name']; + } + + if ($this->composer->getPackage()) { + $extra = $this->composer->getPackage()->getExtra(); + if (!empty($extra['installer-paths'])) { + $customPath = $this->mapCustomInstallPaths($extra['installer-paths'], $prettyName, $type, $vendor); + if ($customPath !== false) { + return $this->templatePath($customPath, $availableVars); + } + } + } + + $packageType = substr($type, strlen($frameworkType) + 1); + $locations = $this->getLocations(); + if (!isset($locations[$packageType])) { + throw new \InvalidArgumentException(sprintf('Package type "%s" is not supported', $type)); + } + + return $this->templatePath($locations[$packageType], $availableVars); + } + + /** + * For an installer to override to modify the vars per installer. + * + * @param array $vars This will normally receive array{name: string, vendor: string, type: string} + * @return array + */ + public function inflectPackageVars($vars) + { + return $vars; + } + + /** + * Gets the installer's locations + * + * @return array map of package types => install path + */ + public function getLocations() + { + return $this->locations; + } + + /** + * Replace vars in a path + * + * @param string $path + * @param array $vars + * @return string + */ + protected function templatePath($path, array $vars = array()) + { + if (strpos($path, '{') !== false) { + extract($vars); + preg_match_all('@\{\$([A-Za-z0-9_]*)\}@i', $path, $matches); + if (!empty($matches[1])) { + foreach ($matches[1] as $var) { + $path = str_replace('{$' . $var . '}', $$var, $path); + } + } + } + + return $path; + } + + /** + * Search through a passed paths array for a custom install path. + * + * @param array $paths + * @param string $name + * @param string $type + * @param string $vendor = NULL + * @return string|false + */ + protected function mapCustomInstallPaths(array $paths, $name, $type, $vendor = NULL) + { + foreach ($paths as $path => $names) { + $names = (array) $names; + if (in_array($name, $names) || in_array('type:' . $type, $names) || in_array('vendor:' . $vendor, $names)) { + return $path; + } + } + + return false; + } +} diff --git a/plugins/lovata/toolbox/vendor/composer/installers/src/Composer/Installers/BitrixInstaller.php b/plugins/lovata/toolbox/vendor/composer/installers/src/Composer/Installers/BitrixInstaller.php new file mode 100644 index 000000000..e80cd1e10 --- /dev/null +++ b/plugins/lovata/toolbox/vendor/composer/installers/src/Composer/Installers/BitrixInstaller.php @@ -0,0 +1,126 @@ +.`. + * - `bitrix-d7-component` — copy the component to directory `bitrix/components//`. + * - `bitrix-d7-template` — copy the template to directory `bitrix/templates/_`. + * + * You can set custom path to directory with Bitrix kernel in `composer.json`: + * + * ```json + * { + * "extra": { + * "bitrix-dir": "s1/bitrix" + * } + * } + * ``` + * + * @author Nik Samokhvalov + * @author Denis Kulichkin + */ +class BitrixInstaller extends BaseInstaller +{ + protected $locations = array( + 'module' => '{$bitrix_dir}/modules/{$name}/', // deprecated, remove on the major release (Backward compatibility will be broken) + 'component' => '{$bitrix_dir}/components/{$name}/', // deprecated, remove on the major release (Backward compatibility will be broken) + 'theme' => '{$bitrix_dir}/templates/{$name}/', // deprecated, remove on the major release (Backward compatibility will be broken) + 'd7-module' => '{$bitrix_dir}/modules/{$vendor}.{$name}/', + 'd7-component' => '{$bitrix_dir}/components/{$vendor}/{$name}/', + 'd7-template' => '{$bitrix_dir}/templates/{$vendor}_{$name}/', + ); + + /** + * @var array Storage for informations about duplicates at all the time of installation packages. + */ + private static $checkedDuplicates = array(); + + /** + * {@inheritdoc} + */ + public function inflectPackageVars($vars) + { + if ($this->composer->getPackage()) { + $extra = $this->composer->getPackage()->getExtra(); + + if (isset($extra['bitrix-dir'])) { + $vars['bitrix_dir'] = $extra['bitrix-dir']; + } + } + + if (!isset($vars['bitrix_dir'])) { + $vars['bitrix_dir'] = 'bitrix'; + } + + return parent::inflectPackageVars($vars); + } + + /** + * {@inheritdoc} + */ + protected function templatePath($path, array $vars = array()) + { + $templatePath = parent::templatePath($path, $vars); + $this->checkDuplicates($templatePath, $vars); + + return $templatePath; + } + + /** + * Duplicates search packages. + * + * @param string $path + * @param array $vars + */ + protected function checkDuplicates($path, array $vars = array()) + { + $packageType = substr($vars['type'], strlen('bitrix') + 1); + $localDir = explode('/', $vars['bitrix_dir']); + array_pop($localDir); + $localDir[] = 'local'; + $localDir = implode('/', $localDir); + + $oldPath = str_replace( + array('{$bitrix_dir}', '{$name}'), + array($localDir, $vars['name']), + $this->locations[$packageType] + ); + + if (in_array($oldPath, static::$checkedDuplicates)) { + return; + } + + if ($oldPath !== $path && file_exists($oldPath) && $this->io && $this->io->isInteractive()) { + + $this->io->writeError(' Duplication of packages:'); + $this->io->writeError(' Package ' . $oldPath . ' will be called instead package ' . $path . ''); + + while (true) { + switch ($this->io->ask(' Delete ' . $oldPath . ' [y,n,?]? ', '?')) { + case 'y': + $fs = new Filesystem(); + $fs->removeDirectory($oldPath); + break 2; + + case 'n': + break 2; + + case '?': + default: + $this->io->writeError(array( + ' y - delete package ' . $oldPath . ' and to continue with the installation', + ' n - don\'t delete and to continue with the installation', + )); + $this->io->writeError(' ? - print help'); + break; + } + } + } + + static::$checkedDuplicates[] = $oldPath; + } +} diff --git a/plugins/lovata/toolbox/vendor/composer/installers/src/Composer/Installers/BonefishInstaller.php b/plugins/lovata/toolbox/vendor/composer/installers/src/Composer/Installers/BonefishInstaller.php new file mode 100644 index 000000000..da3aad2a3 --- /dev/null +++ b/plugins/lovata/toolbox/vendor/composer/installers/src/Composer/Installers/BonefishInstaller.php @@ -0,0 +1,9 @@ + 'Packages/{$vendor}/{$name}/' + ); +} diff --git a/plugins/lovata/toolbox/vendor/composer/installers/src/Composer/Installers/CakePHPInstaller.php b/plugins/lovata/toolbox/vendor/composer/installers/src/Composer/Installers/CakePHPInstaller.php new file mode 100644 index 000000000..dda90a4e9 --- /dev/null +++ b/plugins/lovata/toolbox/vendor/composer/installers/src/Composer/Installers/CakePHPInstaller.php @@ -0,0 +1,65 @@ + 'Plugin/{$name}/', + ); + + /** + * Format package name to CamelCase + */ + public function inflectPackageVars($vars) + { + if ($this->matchesCakeVersion('>=', '3.0.0')) { + return $vars; + } + + $nameParts = explode('/', $vars['name']); + foreach ($nameParts as &$value) { + $value = strtolower(preg_replace('/(?<=\\w)([A-Z])/', '_\\1', $value)); + $value = str_replace(array('-', '_'), ' ', $value); + $value = str_replace(' ', '', ucwords($value)); + } + $vars['name'] = implode('/', $nameParts); + + return $vars; + } + + /** + * Change the default plugin location when cakephp >= 3.0 + */ + public function getLocations() + { + if ($this->matchesCakeVersion('>=', '3.0.0')) { + $this->locations['plugin'] = $this->composer->getConfig()->get('vendor-dir') . '/{$vendor}/{$name}/'; + } + return $this->locations; + } + + /** + * Check if CakePHP version matches against a version + * + * @param string $matcher + * @param string $version + * @return bool + */ + protected function matchesCakeVersion($matcher, $version) + { + $repositoryManager = $this->composer->getRepositoryManager(); + if (! $repositoryManager) { + return false; + } + + $repos = $repositoryManager->getLocalRepository(); + if (!$repos) { + return false; + } + + return $repos->findPackage('cakephp/cakephp', new Constraint($matcher, $version)) !== null; + } +} diff --git a/plugins/lovata/toolbox/vendor/composer/installers/src/Composer/Installers/ChefInstaller.php b/plugins/lovata/toolbox/vendor/composer/installers/src/Composer/Installers/ChefInstaller.php new file mode 100644 index 000000000..ab2f9aad8 --- /dev/null +++ b/plugins/lovata/toolbox/vendor/composer/installers/src/Composer/Installers/ChefInstaller.php @@ -0,0 +1,11 @@ + 'Chef/{$vendor}/{$name}/', + 'role' => 'Chef/roles/{$name}/', + ); +} + diff --git a/plugins/lovata/toolbox/vendor/composer/installers/src/Composer/Installers/CiviCrmInstaller.php b/plugins/lovata/toolbox/vendor/composer/installers/src/Composer/Installers/CiviCrmInstaller.php new file mode 100644 index 000000000..6673aea94 --- /dev/null +++ b/plugins/lovata/toolbox/vendor/composer/installers/src/Composer/Installers/CiviCrmInstaller.php @@ -0,0 +1,9 @@ + 'ext/{$name}/' + ); +} diff --git a/plugins/lovata/toolbox/vendor/composer/installers/src/Composer/Installers/ClanCatsFrameworkInstaller.php b/plugins/lovata/toolbox/vendor/composer/installers/src/Composer/Installers/ClanCatsFrameworkInstaller.php new file mode 100644 index 000000000..c887815c9 --- /dev/null +++ b/plugins/lovata/toolbox/vendor/composer/installers/src/Composer/Installers/ClanCatsFrameworkInstaller.php @@ -0,0 +1,10 @@ + 'CCF/orbit/{$name}/', + 'theme' => 'CCF/app/themes/{$name}/', + ); +} \ No newline at end of file diff --git a/plugins/lovata/toolbox/vendor/composer/installers/src/Composer/Installers/CockpitInstaller.php b/plugins/lovata/toolbox/vendor/composer/installers/src/Composer/Installers/CockpitInstaller.php new file mode 100644 index 000000000..053f3ffd7 --- /dev/null +++ b/plugins/lovata/toolbox/vendor/composer/installers/src/Composer/Installers/CockpitInstaller.php @@ -0,0 +1,32 @@ + 'cockpit/modules/addons/{$name}/', + ); + + /** + * Format module name. + * + * Strip `module-` prefix from package name. + * + * {@inheritDoc} + */ + public function inflectPackageVars($vars) + { + if ($vars['type'] == 'cockpit-module') { + return $this->inflectModuleVars($vars); + } + + return $vars; + } + + public function inflectModuleVars($vars) + { + $vars['name'] = ucfirst(preg_replace('/cockpit-/i', '', $vars['name'])); + + return $vars; + } +} diff --git a/plugins/lovata/toolbox/vendor/composer/installers/src/Composer/Installers/CodeIgniterInstaller.php b/plugins/lovata/toolbox/vendor/composer/installers/src/Composer/Installers/CodeIgniterInstaller.php new file mode 100644 index 000000000..3b4a4ece1 --- /dev/null +++ b/plugins/lovata/toolbox/vendor/composer/installers/src/Composer/Installers/CodeIgniterInstaller.php @@ -0,0 +1,11 @@ + 'application/libraries/{$name}/', + 'third-party' => 'application/third_party/{$name}/', + 'module' => 'application/modules/{$name}/', + ); +} diff --git a/plugins/lovata/toolbox/vendor/composer/installers/src/Composer/Installers/Concrete5Installer.php b/plugins/lovata/toolbox/vendor/composer/installers/src/Composer/Installers/Concrete5Installer.php new file mode 100644 index 000000000..5c01bafd7 --- /dev/null +++ b/plugins/lovata/toolbox/vendor/composer/installers/src/Composer/Installers/Concrete5Installer.php @@ -0,0 +1,13 @@ + 'concrete/', + 'block' => 'application/blocks/{$name}/', + 'package' => 'packages/{$name}/', + 'theme' => 'application/themes/{$name}/', + 'update' => 'updates/{$name}/', + ); +} diff --git a/plugins/lovata/toolbox/vendor/composer/installers/src/Composer/Installers/CraftInstaller.php b/plugins/lovata/toolbox/vendor/composer/installers/src/Composer/Installers/CraftInstaller.php new file mode 100644 index 000000000..d37a77ae2 --- /dev/null +++ b/plugins/lovata/toolbox/vendor/composer/installers/src/Composer/Installers/CraftInstaller.php @@ -0,0 +1,35 @@ + 'craft/plugins/{$name}/', + ); + + /** + * Strip `craft-` prefix and/or `-plugin` suffix from package names + * + * @param array $vars + * + * @return array + */ + final public function inflectPackageVars($vars) + { + return $this->inflectPluginVars($vars); + } + + private function inflectPluginVars($vars) + { + $vars['name'] = preg_replace('/-' . self::NAME_SUFFIX . '$/i', '', $vars['name']); + $vars['name'] = preg_replace('/^' . self::NAME_PREFIX . '-/i', '', $vars['name']); + + return $vars; + } +} diff --git a/plugins/lovata/toolbox/vendor/composer/installers/src/Composer/Installers/CroogoInstaller.php b/plugins/lovata/toolbox/vendor/composer/installers/src/Composer/Installers/CroogoInstaller.php new file mode 100644 index 000000000..d94219d3a --- /dev/null +++ b/plugins/lovata/toolbox/vendor/composer/installers/src/Composer/Installers/CroogoInstaller.php @@ -0,0 +1,21 @@ + 'Plugin/{$name}/', + 'theme' => 'View/Themed/{$name}/', + ); + + /** + * Format package name to CamelCase + */ + public function inflectPackageVars($vars) + { + $vars['name'] = strtolower(str_replace(array('-', '_'), ' ', $vars['name'])); + $vars['name'] = str_replace(' ', '', ucwords($vars['name'])); + + return $vars; + } +} diff --git a/plugins/lovata/toolbox/vendor/composer/installers/src/Composer/Installers/DecibelInstaller.php b/plugins/lovata/toolbox/vendor/composer/installers/src/Composer/Installers/DecibelInstaller.php new file mode 100644 index 000000000..f4837a6c1 --- /dev/null +++ b/plugins/lovata/toolbox/vendor/composer/installers/src/Composer/Installers/DecibelInstaller.php @@ -0,0 +1,10 @@ + 'app/{$name}/', + ); +} diff --git a/plugins/lovata/toolbox/vendor/composer/installers/src/Composer/Installers/DframeInstaller.php b/plugins/lovata/toolbox/vendor/composer/installers/src/Composer/Installers/DframeInstaller.php new file mode 100644 index 000000000..70788163a --- /dev/null +++ b/plugins/lovata/toolbox/vendor/composer/installers/src/Composer/Installers/DframeInstaller.php @@ -0,0 +1,10 @@ + 'modules/{$vendor}/{$name}/', + ); +} diff --git a/plugins/lovata/toolbox/vendor/composer/installers/src/Composer/Installers/DokuWikiInstaller.php b/plugins/lovata/toolbox/vendor/composer/installers/src/Composer/Installers/DokuWikiInstaller.php new file mode 100644 index 000000000..cfd638d5f --- /dev/null +++ b/plugins/lovata/toolbox/vendor/composer/installers/src/Composer/Installers/DokuWikiInstaller.php @@ -0,0 +1,50 @@ + 'lib/plugins/{$name}/', + 'template' => 'lib/tpl/{$name}/', + ); + + /** + * Format package name. + * + * For package type dokuwiki-plugin, cut off a trailing '-plugin', + * or leading dokuwiki_ if present. + * + * For package type dokuwiki-template, cut off a trailing '-template' if present. + * + */ + public function inflectPackageVars($vars) + { + + if ($vars['type'] === 'dokuwiki-plugin') { + return $this->inflectPluginVars($vars); + } + + if ($vars['type'] === 'dokuwiki-template') { + return $this->inflectTemplateVars($vars); + } + + return $vars; + } + + protected function inflectPluginVars($vars) + { + $vars['name'] = preg_replace('/-plugin$/', '', $vars['name']); + $vars['name'] = preg_replace('/^dokuwiki_?-?/', '', $vars['name']); + + return $vars; + } + + protected function inflectTemplateVars($vars) + { + $vars['name'] = preg_replace('/-template$/', '', $vars['name']); + $vars['name'] = preg_replace('/^dokuwiki_?-?/', '', $vars['name']); + + return $vars; + } + +} diff --git a/plugins/lovata/toolbox/vendor/composer/installers/src/Composer/Installers/DolibarrInstaller.php b/plugins/lovata/toolbox/vendor/composer/installers/src/Composer/Installers/DolibarrInstaller.php new file mode 100644 index 000000000..21f7e8e80 --- /dev/null +++ b/plugins/lovata/toolbox/vendor/composer/installers/src/Composer/Installers/DolibarrInstaller.php @@ -0,0 +1,16 @@ + + */ +class DolibarrInstaller extends BaseInstaller +{ + //TODO: Add support for scripts and themes + protected $locations = array( + 'module' => 'htdocs/custom/{$name}/', + ); +} diff --git a/plugins/lovata/toolbox/vendor/composer/installers/src/Composer/Installers/DrupalInstaller.php b/plugins/lovata/toolbox/vendor/composer/installers/src/Composer/Installers/DrupalInstaller.php new file mode 100644 index 000000000..732823922 --- /dev/null +++ b/plugins/lovata/toolbox/vendor/composer/installers/src/Composer/Installers/DrupalInstaller.php @@ -0,0 +1,22 @@ + 'core/', + 'module' => 'modules/{$name}/', + 'theme' => 'themes/{$name}/', + 'library' => 'libraries/{$name}/', + 'profile' => 'profiles/{$name}/', + 'database-driver' => 'drivers/lib/Drupal/Driver/Database/{$name}/', + 'drush' => 'drush/{$name}/', + 'custom-theme' => 'themes/custom/{$name}/', + 'custom-module' => 'modules/custom/{$name}/', + 'custom-profile' => 'profiles/custom/{$name}/', + 'drupal-multisite' => 'sites/{$name}/', + 'console' => 'console/{$name}/', + 'console-language' => 'console/language/{$name}/', + 'config' => 'config/sync/', + ); +} diff --git a/plugins/lovata/toolbox/vendor/composer/installers/src/Composer/Installers/ElggInstaller.php b/plugins/lovata/toolbox/vendor/composer/installers/src/Composer/Installers/ElggInstaller.php new file mode 100644 index 000000000..c0bb609f4 --- /dev/null +++ b/plugins/lovata/toolbox/vendor/composer/installers/src/Composer/Installers/ElggInstaller.php @@ -0,0 +1,9 @@ + 'mod/{$name}/', + ); +} diff --git a/plugins/lovata/toolbox/vendor/composer/installers/src/Composer/Installers/EliasisInstaller.php b/plugins/lovata/toolbox/vendor/composer/installers/src/Composer/Installers/EliasisInstaller.php new file mode 100644 index 000000000..6f3dc97b1 --- /dev/null +++ b/plugins/lovata/toolbox/vendor/composer/installers/src/Composer/Installers/EliasisInstaller.php @@ -0,0 +1,12 @@ + 'components/{$name}/', + 'module' => 'modules/{$name}/', + 'plugin' => 'plugins/{$name}/', + 'template' => 'templates/{$name}/', + ); +} diff --git a/plugins/lovata/toolbox/vendor/composer/installers/src/Composer/Installers/ExpressionEngineInstaller.php b/plugins/lovata/toolbox/vendor/composer/installers/src/Composer/Installers/ExpressionEngineInstaller.php new file mode 100644 index 000000000..d5321a8ca --- /dev/null +++ b/plugins/lovata/toolbox/vendor/composer/installers/src/Composer/Installers/ExpressionEngineInstaller.php @@ -0,0 +1,29 @@ + 'system/expressionengine/third_party/{$name}/', + 'theme' => 'themes/third_party/{$name}/', + ); + + private $ee3Locations = array( + 'addon' => 'system/user/addons/{$name}/', + 'theme' => 'themes/user/{$name}/', + ); + + public function getInstallPath(PackageInterface $package, $frameworkType = '') + { + + $version = "{$frameworkType}Locations"; + $this->locations = $this->$version; + + return parent::getInstallPath($package, $frameworkType); + } +} diff --git a/plugins/lovata/toolbox/vendor/composer/installers/src/Composer/Installers/EzPlatformInstaller.php b/plugins/lovata/toolbox/vendor/composer/installers/src/Composer/Installers/EzPlatformInstaller.php new file mode 100644 index 000000000..f30ebcc77 --- /dev/null +++ b/plugins/lovata/toolbox/vendor/composer/installers/src/Composer/Installers/EzPlatformInstaller.php @@ -0,0 +1,10 @@ + 'web/assets/ezplatform/', + 'assets' => 'web/assets/ezplatform/{$name}/', + ); +} diff --git a/plugins/lovata/toolbox/vendor/composer/installers/src/Composer/Installers/FuelInstaller.php b/plugins/lovata/toolbox/vendor/composer/installers/src/Composer/Installers/FuelInstaller.php new file mode 100644 index 000000000..6eba2e34f --- /dev/null +++ b/plugins/lovata/toolbox/vendor/composer/installers/src/Composer/Installers/FuelInstaller.php @@ -0,0 +1,11 @@ + 'fuel/app/modules/{$name}/', + 'package' => 'fuel/packages/{$name}/', + 'theme' => 'fuel/app/themes/{$name}/', + ); +} diff --git a/plugins/lovata/toolbox/vendor/composer/installers/src/Composer/Installers/FuelphpInstaller.php b/plugins/lovata/toolbox/vendor/composer/installers/src/Composer/Installers/FuelphpInstaller.php new file mode 100644 index 000000000..29d980b30 --- /dev/null +++ b/plugins/lovata/toolbox/vendor/composer/installers/src/Composer/Installers/FuelphpInstaller.php @@ -0,0 +1,9 @@ + 'components/{$name}/', + ); +} diff --git a/plugins/lovata/toolbox/vendor/composer/installers/src/Composer/Installers/GravInstaller.php b/plugins/lovata/toolbox/vendor/composer/installers/src/Composer/Installers/GravInstaller.php new file mode 100644 index 000000000..dbe63e07e --- /dev/null +++ b/plugins/lovata/toolbox/vendor/composer/installers/src/Composer/Installers/GravInstaller.php @@ -0,0 +1,30 @@ + 'user/plugins/{$name}/', + 'theme' => 'user/themes/{$name}/', + ); + + /** + * Format package name + * + * @param array $vars + * + * @return array + */ + public function inflectPackageVars($vars) + { + $restrictedWords = implode('|', array_keys($this->locations)); + + $vars['name'] = strtolower($vars['name']); + $vars['name'] = preg_replace('/^(?:grav-)?(?:(?:'.$restrictedWords.')-)?(.*?)(?:-(?:'.$restrictedWords.'))?$/ui', + '$1', + $vars['name'] + ); + + return $vars; + } +} diff --git a/plugins/lovata/toolbox/vendor/composer/installers/src/Composer/Installers/HuradInstaller.php b/plugins/lovata/toolbox/vendor/composer/installers/src/Composer/Installers/HuradInstaller.php new file mode 100644 index 000000000..8fe017f0f --- /dev/null +++ b/plugins/lovata/toolbox/vendor/composer/installers/src/Composer/Installers/HuradInstaller.php @@ -0,0 +1,25 @@ + 'plugins/{$name}/', + 'theme' => 'plugins/{$name}/', + ); + + /** + * Format package name to CamelCase + */ + public function inflectPackageVars($vars) + { + $nameParts = explode('/', $vars['name']); + foreach ($nameParts as &$value) { + $value = strtolower(preg_replace('/(?<=\\w)([A-Z])/', '_\\1', $value)); + $value = str_replace(array('-', '_'), ' ', $value); + $value = str_replace(' ', '', ucwords($value)); + } + $vars['name'] = implode('/', $nameParts); + return $vars; + } +} diff --git a/plugins/lovata/toolbox/vendor/composer/installers/src/Composer/Installers/ImageCMSInstaller.php b/plugins/lovata/toolbox/vendor/composer/installers/src/Composer/Installers/ImageCMSInstaller.php new file mode 100644 index 000000000..5e2142ea5 --- /dev/null +++ b/plugins/lovata/toolbox/vendor/composer/installers/src/Composer/Installers/ImageCMSInstaller.php @@ -0,0 +1,11 @@ + 'templates/{$name}/', + 'module' => 'application/modules/{$name}/', + 'library' => 'application/libraries/{$name}/', + ); +} diff --git a/plugins/lovata/toolbox/vendor/composer/installers/src/Composer/Installers/Installer.php b/plugins/lovata/toolbox/vendor/composer/installers/src/Composer/Installers/Installer.php new file mode 100644 index 000000000..f5d934ffb --- /dev/null +++ b/plugins/lovata/toolbox/vendor/composer/installers/src/Composer/Installers/Installer.php @@ -0,0 +1,297 @@ + 'AimeosInstaller', + 'asgard' => 'AsgardInstaller', + 'attogram' => 'AttogramInstaller', + 'agl' => 'AglInstaller', + 'annotatecms' => 'AnnotateCmsInstaller', + 'bitrix' => 'BitrixInstaller', + 'bonefish' => 'BonefishInstaller', + 'cakephp' => 'CakePHPInstaller', + 'chef' => 'ChefInstaller', + 'civicrm' => 'CiviCrmInstaller', + 'ccframework' => 'ClanCatsFrameworkInstaller', + 'cockpit' => 'CockpitInstaller', + 'codeigniter' => 'CodeIgniterInstaller', + 'concrete5' => 'Concrete5Installer', + 'craft' => 'CraftInstaller', + 'croogo' => 'CroogoInstaller', + 'dframe' => 'DframeInstaller', + 'dokuwiki' => 'DokuWikiInstaller', + 'dolibarr' => 'DolibarrInstaller', + 'decibel' => 'DecibelInstaller', + 'drupal' => 'DrupalInstaller', + 'elgg' => 'ElggInstaller', + 'eliasis' => 'EliasisInstaller', + 'ee3' => 'ExpressionEngineInstaller', + 'ee2' => 'ExpressionEngineInstaller', + 'ezplatform' => 'EzPlatformInstaller', + 'fuel' => 'FuelInstaller', + 'fuelphp' => 'FuelphpInstaller', + 'grav' => 'GravInstaller', + 'hurad' => 'HuradInstaller', + 'tastyigniter' => 'TastyIgniterInstaller', + 'imagecms' => 'ImageCMSInstaller', + 'itop' => 'ItopInstaller', + 'joomla' => 'JoomlaInstaller', + 'kanboard' => 'KanboardInstaller', + 'kirby' => 'KirbyInstaller', + 'known' => 'KnownInstaller', + 'kodicms' => 'KodiCMSInstaller', + 'kohana' => 'KohanaInstaller', + 'lms' => 'LanManagementSystemInstaller', + 'laravel' => 'LaravelInstaller', + 'lavalite' => 'LavaLiteInstaller', + 'lithium' => 'LithiumInstaller', + 'magento' => 'MagentoInstaller', + 'majima' => 'MajimaInstaller', + 'mantisbt' => 'MantisBTInstaller', + 'mako' => 'MakoInstaller', + 'maya' => 'MayaInstaller', + 'mautic' => 'MauticInstaller', + 'mediawiki' => 'MediaWikiInstaller', + 'miaoxing' => 'MiaoxingInstaller', + 'microweber' => 'MicroweberInstaller', + 'modulework' => 'MODULEWorkInstaller', + 'modx' => 'ModxInstaller', + 'modxevo' => 'MODXEvoInstaller', + 'moodle' => 'MoodleInstaller', + 'october' => 'OctoberInstaller', + 'ontowiki' => 'OntoWikiInstaller', + 'oxid' => 'OxidInstaller', + 'osclass' => 'OsclassInstaller', + 'pxcms' => 'PxcmsInstaller', + 'phpbb' => 'PhpBBInstaller', + 'pimcore' => 'PimcoreInstaller', + 'piwik' => 'PiwikInstaller', + 'plentymarkets'=> 'PlentymarketsInstaller', + 'ppi' => 'PPIInstaller', + 'puppet' => 'PuppetInstaller', + 'radphp' => 'RadPHPInstaller', + 'phifty' => 'PhiftyInstaller', + 'porto' => 'PortoInstaller', + 'processwire' => 'ProcessWireInstaller', + 'redaxo' => 'RedaxoInstaller', + 'redaxo5' => 'Redaxo5Installer', + 'reindex' => 'ReIndexInstaller', + 'roundcube' => 'RoundcubeInstaller', + 'shopware' => 'ShopwareInstaller', + 'sitedirect' => 'SiteDirectInstaller', + 'silverstripe' => 'SilverStripeInstaller', + 'smf' => 'SMFInstaller', + 'starbug' => 'StarbugInstaller', + 'sydes' => 'SyDESInstaller', + 'sylius' => 'SyliusInstaller', + 'symfony1' => 'Symfony1Installer', + 'tao' => 'TaoInstaller', + 'thelia' => 'TheliaInstaller', + 'tusk' => 'TuskInstaller', + 'typo3-cms' => 'TYPO3CmsInstaller', + 'typo3-flow' => 'TYPO3FlowInstaller', + 'userfrosting' => 'UserFrostingInstaller', + 'vanilla' => 'VanillaInstaller', + 'whmcs' => 'WHMCSInstaller', + 'winter' => 'WinterInstaller', + 'wolfcms' => 'WolfCMSInstaller', + 'wordpress' => 'WordPressInstaller', + 'yawik' => 'YawikInstaller', + 'zend' => 'ZendInstaller', + 'zikula' => 'ZikulaInstaller', + 'prestashop' => 'PrestashopInstaller' + ); + + /** + * Installer constructor. + * + * Disables installers specified in main composer extra installer-disable + * list + * + * @param IOInterface $io + * @param Composer $composer + * @param string $type + * @param Filesystem|null $filesystem + * @param BinaryInstaller|null $binaryInstaller + */ + public function __construct( + IOInterface $io, + Composer $composer, + $type = 'library', + Filesystem $filesystem = null, + BinaryInstaller $binaryInstaller = null + ) { + parent::__construct($io, $composer, $type, $filesystem, + $binaryInstaller); + $this->removeDisabledInstallers(); + } + + /** + * {@inheritDoc} + */ + public function getInstallPath(PackageInterface $package) + { + $type = $package->getType(); + $frameworkType = $this->findFrameworkType($type); + + if ($frameworkType === false) { + throw new \InvalidArgumentException( + 'Sorry the package type of this package is not yet supported.' + ); + } + + $class = 'Composer\\Installers\\' . $this->supportedTypes[$frameworkType]; + $installer = new $class($package, $this->composer, $this->getIO()); + + return $installer->getInstallPath($package, $frameworkType); + } + + public function uninstall(InstalledRepositoryInterface $repo, PackageInterface $package) + { + $installPath = $this->getPackageBasePath($package); + $io = $this->io; + $outputStatus = function () use ($io, $installPath) { + $io->write(sprintf('Deleting %s - %s', $installPath, !file_exists($installPath) ? 'deleted' : 'not deleted')); + }; + + $promise = parent::uninstall($repo, $package); + + // Composer v2 might return a promise here + if ($promise instanceof PromiseInterface) { + return $promise->then($outputStatus); + } + + // If not, execute the code right away as parent::uninstall executed synchronously (composer v1, or v2 without async) + $outputStatus(); + + return null; + } + + /** + * {@inheritDoc} + */ + public function supports($packageType) + { + $frameworkType = $this->findFrameworkType($packageType); + + if ($frameworkType === false) { + return false; + } + + $locationPattern = $this->getLocationPattern($frameworkType); + + return preg_match('#' . $frameworkType . '-' . $locationPattern . '#', $packageType, $matches) === 1; + } + + /** + * Finds a supported framework type if it exists and returns it + * + * @param string $type + * @return string|false + */ + protected function findFrameworkType($type) + { + krsort($this->supportedTypes); + + foreach ($this->supportedTypes as $key => $val) { + if ($key === substr($type, 0, strlen($key))) { + return substr($type, 0, strlen($key)); + } + } + + return false; + } + + /** + * Get the second part of the regular expression to check for support of a + * package type + * + * @param string $frameworkType + * @return string + */ + protected function getLocationPattern($frameworkType) + { + $pattern = false; + if (!empty($this->supportedTypes[$frameworkType])) { + $frameworkClass = 'Composer\\Installers\\' . $this->supportedTypes[$frameworkType]; + /** @var BaseInstaller $framework */ + $framework = new $frameworkClass(null, $this->composer, $this->getIO()); + $locations = array_keys($framework->getLocations()); + $pattern = $locations ? '(' . implode('|', $locations) . ')' : false; + } + + return $pattern ? : '(\w+)'; + } + + /** + * Get I/O object + * + * @return IOInterface + */ + private function getIO() + { + return $this->io; + } + + /** + * Look for installers set to be disabled in composer's extra config and + * remove them from the list of supported installers. + * + * Globals: + * - true, "all", and "*" - disable all installers. + * - false - enable all installers (useful with + * wikimedia/composer-merge-plugin or similar) + * + * @return void + */ + protected function removeDisabledInstallers() + { + $extra = $this->composer->getPackage()->getExtra(); + + if (!isset($extra['installer-disable']) || $extra['installer-disable'] === false) { + // No installers are disabled + return; + } + + // Get installers to disable + $disable = $extra['installer-disable']; + + // Ensure $disabled is an array + if (!is_array($disable)) { + $disable = array($disable); + } + + // Check which installers should be disabled + $all = array(true, "all", "*"); + $intersect = array_intersect($all, $disable); + if (!empty($intersect)) { + // Disable all installers + $this->supportedTypes = array(); + } else { + // Disable specified installers + foreach ($disable as $key => $installer) { + if (is_string($installer) && key_exists($installer, $this->supportedTypes)) { + unset($this->supportedTypes[$installer]); + } + } + } + } +} diff --git a/plugins/lovata/toolbox/vendor/composer/installers/src/Composer/Installers/ItopInstaller.php b/plugins/lovata/toolbox/vendor/composer/installers/src/Composer/Installers/ItopInstaller.php new file mode 100644 index 000000000..c6c1b3374 --- /dev/null +++ b/plugins/lovata/toolbox/vendor/composer/installers/src/Composer/Installers/ItopInstaller.php @@ -0,0 +1,9 @@ + 'extensions/{$name}/', + ); +} diff --git a/plugins/lovata/toolbox/vendor/composer/installers/src/Composer/Installers/JoomlaInstaller.php b/plugins/lovata/toolbox/vendor/composer/installers/src/Composer/Installers/JoomlaInstaller.php new file mode 100644 index 000000000..9ee775965 --- /dev/null +++ b/plugins/lovata/toolbox/vendor/composer/installers/src/Composer/Installers/JoomlaInstaller.php @@ -0,0 +1,15 @@ + 'components/{$name}/', + 'module' => 'modules/{$name}/', + 'template' => 'templates/{$name}/', + 'plugin' => 'plugins/{$name}/', + 'library' => 'libraries/{$name}/', + ); + + // TODO: Add inflector for mod_ and com_ names +} diff --git a/plugins/lovata/toolbox/vendor/composer/installers/src/Composer/Installers/KanboardInstaller.php b/plugins/lovata/toolbox/vendor/composer/installers/src/Composer/Installers/KanboardInstaller.php new file mode 100644 index 000000000..9cb7b8cdb --- /dev/null +++ b/plugins/lovata/toolbox/vendor/composer/installers/src/Composer/Installers/KanboardInstaller.php @@ -0,0 +1,18 @@ + 'plugins/{$name}/', + ); +} diff --git a/plugins/lovata/toolbox/vendor/composer/installers/src/Composer/Installers/KirbyInstaller.php b/plugins/lovata/toolbox/vendor/composer/installers/src/Composer/Installers/KirbyInstaller.php new file mode 100644 index 000000000..36b2f84a7 --- /dev/null +++ b/plugins/lovata/toolbox/vendor/composer/installers/src/Composer/Installers/KirbyInstaller.php @@ -0,0 +1,11 @@ + 'site/plugins/{$name}/', + 'field' => 'site/fields/{$name}/', + 'tag' => 'site/tags/{$name}/' + ); +} diff --git a/plugins/lovata/toolbox/vendor/composer/installers/src/Composer/Installers/KnownInstaller.php b/plugins/lovata/toolbox/vendor/composer/installers/src/Composer/Installers/KnownInstaller.php new file mode 100644 index 000000000..c5d08c5f9 --- /dev/null +++ b/plugins/lovata/toolbox/vendor/composer/installers/src/Composer/Installers/KnownInstaller.php @@ -0,0 +1,11 @@ + 'IdnoPlugins/{$name}/', + 'theme' => 'Themes/{$name}/', + 'console' => 'ConsolePlugins/{$name}/', + ); +} diff --git a/plugins/lovata/toolbox/vendor/composer/installers/src/Composer/Installers/KodiCMSInstaller.php b/plugins/lovata/toolbox/vendor/composer/installers/src/Composer/Installers/KodiCMSInstaller.php new file mode 100644 index 000000000..7143e232b --- /dev/null +++ b/plugins/lovata/toolbox/vendor/composer/installers/src/Composer/Installers/KodiCMSInstaller.php @@ -0,0 +1,10 @@ + 'cms/plugins/{$name}/', + 'media' => 'cms/media/vendor/{$name}/' + ); +} \ No newline at end of file diff --git a/plugins/lovata/toolbox/vendor/composer/installers/src/Composer/Installers/KohanaInstaller.php b/plugins/lovata/toolbox/vendor/composer/installers/src/Composer/Installers/KohanaInstaller.php new file mode 100644 index 000000000..dcd6d2632 --- /dev/null +++ b/plugins/lovata/toolbox/vendor/composer/installers/src/Composer/Installers/KohanaInstaller.php @@ -0,0 +1,9 @@ + 'modules/{$name}/', + ); +} diff --git a/plugins/lovata/toolbox/vendor/composer/installers/src/Composer/Installers/LanManagementSystemInstaller.php b/plugins/lovata/toolbox/vendor/composer/installers/src/Composer/Installers/LanManagementSystemInstaller.php new file mode 100644 index 000000000..903143a55 --- /dev/null +++ b/plugins/lovata/toolbox/vendor/composer/installers/src/Composer/Installers/LanManagementSystemInstaller.php @@ -0,0 +1,27 @@ + 'plugins/{$name}/', + 'template' => 'templates/{$name}/', + 'document-template' => 'documents/templates/{$name}/', + 'userpanel-module' => 'userpanel/modules/{$name}/', + ); + + /** + * Format package name to CamelCase + */ + public function inflectPackageVars($vars) + { + $vars['name'] = strtolower(preg_replace('/(?<=\\w)([A-Z])/', '_\\1', $vars['name'])); + $vars['name'] = str_replace(array('-', '_'), ' ', $vars['name']); + $vars['name'] = str_replace(' ', '', ucwords($vars['name'])); + + return $vars; + } + +} diff --git a/plugins/lovata/toolbox/vendor/composer/installers/src/Composer/Installers/LaravelInstaller.php b/plugins/lovata/toolbox/vendor/composer/installers/src/Composer/Installers/LaravelInstaller.php new file mode 100644 index 000000000..be4d53a7b --- /dev/null +++ b/plugins/lovata/toolbox/vendor/composer/installers/src/Composer/Installers/LaravelInstaller.php @@ -0,0 +1,9 @@ + 'libraries/{$name}/', + ); +} diff --git a/plugins/lovata/toolbox/vendor/composer/installers/src/Composer/Installers/LavaLiteInstaller.php b/plugins/lovata/toolbox/vendor/composer/installers/src/Composer/Installers/LavaLiteInstaller.php new file mode 100644 index 000000000..412c0b5c0 --- /dev/null +++ b/plugins/lovata/toolbox/vendor/composer/installers/src/Composer/Installers/LavaLiteInstaller.php @@ -0,0 +1,10 @@ + 'packages/{$vendor}/{$name}/', + 'theme' => 'public/themes/{$name}/', + ); +} diff --git a/plugins/lovata/toolbox/vendor/composer/installers/src/Composer/Installers/LithiumInstaller.php b/plugins/lovata/toolbox/vendor/composer/installers/src/Composer/Installers/LithiumInstaller.php new file mode 100644 index 000000000..47bbd4cab --- /dev/null +++ b/plugins/lovata/toolbox/vendor/composer/installers/src/Composer/Installers/LithiumInstaller.php @@ -0,0 +1,10 @@ + 'libraries/{$name}/', + 'source' => 'libraries/_source/{$name}/', + ); +} diff --git a/plugins/lovata/toolbox/vendor/composer/installers/src/Composer/Installers/MODULEWorkInstaller.php b/plugins/lovata/toolbox/vendor/composer/installers/src/Composer/Installers/MODULEWorkInstaller.php new file mode 100644 index 000000000..9c2e9fb40 --- /dev/null +++ b/plugins/lovata/toolbox/vendor/composer/installers/src/Composer/Installers/MODULEWorkInstaller.php @@ -0,0 +1,9 @@ + 'modules/{$name}/', + ); +} diff --git a/plugins/lovata/toolbox/vendor/composer/installers/src/Composer/Installers/MODXEvoInstaller.php b/plugins/lovata/toolbox/vendor/composer/installers/src/Composer/Installers/MODXEvoInstaller.php new file mode 100644 index 000000000..5a664608d --- /dev/null +++ b/plugins/lovata/toolbox/vendor/composer/installers/src/Composer/Installers/MODXEvoInstaller.php @@ -0,0 +1,16 @@ + 'assets/snippets/{$name}/', + 'plugin' => 'assets/plugins/{$name}/', + 'module' => 'assets/modules/{$name}/', + 'template' => 'assets/templates/{$name}/', + 'lib' => 'assets/lib/{$name}/' + ); +} diff --git a/plugins/lovata/toolbox/vendor/composer/installers/src/Composer/Installers/MagentoInstaller.php b/plugins/lovata/toolbox/vendor/composer/installers/src/Composer/Installers/MagentoInstaller.php new file mode 100644 index 000000000..cf18e9478 --- /dev/null +++ b/plugins/lovata/toolbox/vendor/composer/installers/src/Composer/Installers/MagentoInstaller.php @@ -0,0 +1,11 @@ + 'app/design/frontend/{$name}/', + 'skin' => 'skin/frontend/default/{$name}/', + 'library' => 'lib/{$name}/', + ); +} diff --git a/plugins/lovata/toolbox/vendor/composer/installers/src/Composer/Installers/MajimaInstaller.php b/plugins/lovata/toolbox/vendor/composer/installers/src/Composer/Installers/MajimaInstaller.php new file mode 100644 index 000000000..e463756fa --- /dev/null +++ b/plugins/lovata/toolbox/vendor/composer/installers/src/Composer/Installers/MajimaInstaller.php @@ -0,0 +1,37 @@ + 'plugins/{$name}/', + ); + + /** + * Transforms the names + * @param array $vars + * @return array + */ + public function inflectPackageVars($vars) + { + return $this->correctPluginName($vars); + } + + /** + * Change hyphenated names to camelcase + * @param array $vars + * @return array + */ + private function correctPluginName($vars) + { + $camelCasedName = preg_replace_callback('/(-[a-z])/', function ($matches) { + return strtoupper($matches[0][1]); + }, $vars['name']); + $vars['name'] = ucfirst($camelCasedName); + return $vars; + } +} diff --git a/plugins/lovata/toolbox/vendor/composer/installers/src/Composer/Installers/MakoInstaller.php b/plugins/lovata/toolbox/vendor/composer/installers/src/Composer/Installers/MakoInstaller.php new file mode 100644 index 000000000..ca3cfacb4 --- /dev/null +++ b/plugins/lovata/toolbox/vendor/composer/installers/src/Composer/Installers/MakoInstaller.php @@ -0,0 +1,9 @@ + 'app/packages/{$name}/', + ); +} diff --git a/plugins/lovata/toolbox/vendor/composer/installers/src/Composer/Installers/MantisBTInstaller.php b/plugins/lovata/toolbox/vendor/composer/installers/src/Composer/Installers/MantisBTInstaller.php new file mode 100644 index 000000000..dadb1dbbc --- /dev/null +++ b/plugins/lovata/toolbox/vendor/composer/installers/src/Composer/Installers/MantisBTInstaller.php @@ -0,0 +1,23 @@ + 'plugins/{$name}/', + ); + + /** + * Format package name to CamelCase + */ + public function inflectPackageVars($vars) + { + $vars['name'] = strtolower(preg_replace('/(?<=\\w)([A-Z])/', '_\\1', $vars['name'])); + $vars['name'] = str_replace(array('-', '_'), ' ', $vars['name']); + $vars['name'] = str_replace(' ', '', ucwords($vars['name'])); + + return $vars; + } +} diff --git a/plugins/lovata/toolbox/vendor/composer/installers/src/Composer/Installers/MauticInstaller.php b/plugins/lovata/toolbox/vendor/composer/installers/src/Composer/Installers/MauticInstaller.php new file mode 100644 index 000000000..c3dd2b6f9 --- /dev/null +++ b/plugins/lovata/toolbox/vendor/composer/installers/src/Composer/Installers/MauticInstaller.php @@ -0,0 +1,48 @@ + 'plugins/{$name}/', + 'theme' => 'themes/{$name}/', + 'core' => 'app/', + ); + + private function getDirectoryName() + { + $extra = $this->package->getExtra(); + if (!empty($extra['install-directory-name'])) { + return $extra['install-directory-name']; + } + + return $this->toCamelCase($this->package->getPrettyName()); + } + + /** + * @param string $packageName + * + * @return string + */ + private function toCamelCase($packageName) + { + return str_replace(' ', '', ucwords(str_replace('-', ' ', basename($packageName)))); + } + + /** + * Format package name of mautic-plugins to CamelCase + */ + public function inflectPackageVars($vars) + { + + if ($vars['type'] == 'mautic-plugin' || $vars['type'] == 'mautic-theme') { + $directoryName = $this->getDirectoryName(); + $vars['name'] = $directoryName; + } + + return $vars; + } + +} diff --git a/plugins/lovata/toolbox/vendor/composer/installers/src/Composer/Installers/MayaInstaller.php b/plugins/lovata/toolbox/vendor/composer/installers/src/Composer/Installers/MayaInstaller.php new file mode 100644 index 000000000..30a91676d --- /dev/null +++ b/plugins/lovata/toolbox/vendor/composer/installers/src/Composer/Installers/MayaInstaller.php @@ -0,0 +1,33 @@ + 'modules/{$name}/', + ); + + /** + * Format package name. + * + * For package type maya-module, cut off a trailing '-module' if present. + * + */ + public function inflectPackageVars($vars) + { + if ($vars['type'] === 'maya-module') { + return $this->inflectModuleVars($vars); + } + + return $vars; + } + + protected function inflectModuleVars($vars) + { + $vars['name'] = preg_replace('/-module$/', '', $vars['name']); + $vars['name'] = str_replace(array('-', '_'), ' ', $vars['name']); + $vars['name'] = str_replace(' ', '', ucwords($vars['name'])); + + return $vars; + } +} diff --git a/plugins/lovata/toolbox/vendor/composer/installers/src/Composer/Installers/MediaWikiInstaller.php b/plugins/lovata/toolbox/vendor/composer/installers/src/Composer/Installers/MediaWikiInstaller.php new file mode 100644 index 000000000..f5a8957ef --- /dev/null +++ b/plugins/lovata/toolbox/vendor/composer/installers/src/Composer/Installers/MediaWikiInstaller.php @@ -0,0 +1,51 @@ + 'core/', + 'extension' => 'extensions/{$name}/', + 'skin' => 'skins/{$name}/', + ); + + /** + * Format package name. + * + * For package type mediawiki-extension, cut off a trailing '-extension' if present and transform + * to CamelCase keeping existing uppercase chars. + * + * For package type mediawiki-skin, cut off a trailing '-skin' if present. + * + */ + public function inflectPackageVars($vars) + { + + if ($vars['type'] === 'mediawiki-extension') { + return $this->inflectExtensionVars($vars); + } + + if ($vars['type'] === 'mediawiki-skin') { + return $this->inflectSkinVars($vars); + } + + return $vars; + } + + protected function inflectExtensionVars($vars) + { + $vars['name'] = preg_replace('/-extension$/', '', $vars['name']); + $vars['name'] = str_replace('-', ' ', $vars['name']); + $vars['name'] = str_replace(' ', '', ucwords($vars['name'])); + + return $vars; + } + + protected function inflectSkinVars($vars) + { + $vars['name'] = preg_replace('/-skin$/', '', $vars['name']); + + return $vars; + } + +} diff --git a/plugins/lovata/toolbox/vendor/composer/installers/src/Composer/Installers/MiaoxingInstaller.php b/plugins/lovata/toolbox/vendor/composer/installers/src/Composer/Installers/MiaoxingInstaller.php new file mode 100644 index 000000000..66d8369c4 --- /dev/null +++ b/plugins/lovata/toolbox/vendor/composer/installers/src/Composer/Installers/MiaoxingInstaller.php @@ -0,0 +1,10 @@ + 'plugins/{$name}/', + ); +} diff --git a/plugins/lovata/toolbox/vendor/composer/installers/src/Composer/Installers/MicroweberInstaller.php b/plugins/lovata/toolbox/vendor/composer/installers/src/Composer/Installers/MicroweberInstaller.php new file mode 100644 index 000000000..b7d970392 --- /dev/null +++ b/plugins/lovata/toolbox/vendor/composer/installers/src/Composer/Installers/MicroweberInstaller.php @@ -0,0 +1,119 @@ + 'userfiles/modules/{$install_item_dir}/', + 'module-skin' => 'userfiles/modules/{$install_item_dir}/templates/', + 'template' => 'userfiles/templates/{$install_item_dir}/', + 'element' => 'userfiles/elements/{$install_item_dir}/', + 'vendor' => 'vendor/{$install_item_dir}/', + 'components' => 'components/{$install_item_dir}/' + ); + + /** + * Format package name. + * + * For package type microweber-module, cut off a trailing '-module' if present + * + * For package type microweber-template, cut off a trailing '-template' if present. + * + */ + public function inflectPackageVars($vars) + { + + + if ($this->package->getTargetDir()) { + $vars['install_item_dir'] = $this->package->getTargetDir(); + } else { + $vars['install_item_dir'] = $vars['name']; + if ($vars['type'] === 'microweber-template') { + return $this->inflectTemplateVars($vars); + } + if ($vars['type'] === 'microweber-templates') { + return $this->inflectTemplatesVars($vars); + } + if ($vars['type'] === 'microweber-core') { + return $this->inflectCoreVars($vars); + } + if ($vars['type'] === 'microweber-adapter') { + return $this->inflectCoreVars($vars); + } + if ($vars['type'] === 'microweber-module') { + return $this->inflectModuleVars($vars); + } + if ($vars['type'] === 'microweber-modules') { + return $this->inflectModulesVars($vars); + } + if ($vars['type'] === 'microweber-skin') { + return $this->inflectSkinVars($vars); + } + if ($vars['type'] === 'microweber-element' or $vars['type'] === 'microweber-elements') { + return $this->inflectElementVars($vars); + } + } + + + return $vars; + } + + protected function inflectTemplateVars($vars) + { + $vars['install_item_dir'] = preg_replace('/-template$/', '', $vars['install_item_dir']); + $vars['install_item_dir'] = preg_replace('/template-$/', '', $vars['install_item_dir']); + + return $vars; + } + + protected function inflectTemplatesVars($vars) + { + $vars['install_item_dir'] = preg_replace('/-templates$/', '', $vars['install_item_dir']); + $vars['install_item_dir'] = preg_replace('/templates-$/', '', $vars['install_item_dir']); + + return $vars; + } + + protected function inflectCoreVars($vars) + { + $vars['install_item_dir'] = preg_replace('/-providers$/', '', $vars['install_item_dir']); + $vars['install_item_dir'] = preg_replace('/-provider$/', '', $vars['install_item_dir']); + $vars['install_item_dir'] = preg_replace('/-adapter$/', '', $vars['install_item_dir']); + + return $vars; + } + + protected function inflectModuleVars($vars) + { + $vars['install_item_dir'] = preg_replace('/-module$/', '', $vars['install_item_dir']); + $vars['install_item_dir'] = preg_replace('/module-$/', '', $vars['install_item_dir']); + + return $vars; + } + + protected function inflectModulesVars($vars) + { + $vars['install_item_dir'] = preg_replace('/-modules$/', '', $vars['install_item_dir']); + $vars['install_item_dir'] = preg_replace('/modules-$/', '', $vars['install_item_dir']); + + return $vars; + } + + protected function inflectSkinVars($vars) + { + $vars['install_item_dir'] = preg_replace('/-skin$/', '', $vars['install_item_dir']); + $vars['install_item_dir'] = preg_replace('/skin-$/', '', $vars['install_item_dir']); + + return $vars; + } + + protected function inflectElementVars($vars) + { + $vars['install_item_dir'] = preg_replace('/-elements$/', '', $vars['install_item_dir']); + $vars['install_item_dir'] = preg_replace('/elements-$/', '', $vars['install_item_dir']); + $vars['install_item_dir'] = preg_replace('/-element$/', '', $vars['install_item_dir']); + $vars['install_item_dir'] = preg_replace('/element-$/', '', $vars['install_item_dir']); + + return $vars; + } +} diff --git a/plugins/lovata/toolbox/vendor/composer/installers/src/Composer/Installers/ModxInstaller.php b/plugins/lovata/toolbox/vendor/composer/installers/src/Composer/Installers/ModxInstaller.php new file mode 100644 index 000000000..0ee140abf --- /dev/null +++ b/plugins/lovata/toolbox/vendor/composer/installers/src/Composer/Installers/ModxInstaller.php @@ -0,0 +1,12 @@ + 'core/packages/{$name}/' + ); +} diff --git a/plugins/lovata/toolbox/vendor/composer/installers/src/Composer/Installers/MoodleInstaller.php b/plugins/lovata/toolbox/vendor/composer/installers/src/Composer/Installers/MoodleInstaller.php new file mode 100644 index 000000000..05317995f --- /dev/null +++ b/plugins/lovata/toolbox/vendor/composer/installers/src/Composer/Installers/MoodleInstaller.php @@ -0,0 +1,59 @@ + 'mod/{$name}/', + 'admin_report' => 'admin/report/{$name}/', + 'atto' => 'lib/editor/atto/plugins/{$name}/', + 'tool' => 'admin/tool/{$name}/', + 'assignment' => 'mod/assignment/type/{$name}/', + 'assignsubmission' => 'mod/assign/submission/{$name}/', + 'assignfeedback' => 'mod/assign/feedback/{$name}/', + 'auth' => 'auth/{$name}/', + 'availability' => 'availability/condition/{$name}/', + 'block' => 'blocks/{$name}/', + 'booktool' => 'mod/book/tool/{$name}/', + 'cachestore' => 'cache/stores/{$name}/', + 'cachelock' => 'cache/locks/{$name}/', + 'calendartype' => 'calendar/type/{$name}/', + 'fileconverter' => 'files/converter/{$name}/', + 'format' => 'course/format/{$name}/', + 'coursereport' => 'course/report/{$name}/', + 'customcertelement' => 'mod/customcert/element/{$name}/', + 'datafield' => 'mod/data/field/{$name}/', + 'datapreset' => 'mod/data/preset/{$name}/', + 'editor' => 'lib/editor/{$name}/', + 'enrol' => 'enrol/{$name}/', + 'filter' => 'filter/{$name}/', + 'gradeexport' => 'grade/export/{$name}/', + 'gradeimport' => 'grade/import/{$name}/', + 'gradereport' => 'grade/report/{$name}/', + 'gradingform' => 'grade/grading/form/{$name}/', + 'local' => 'local/{$name}/', + 'logstore' => 'admin/tool/log/store/{$name}/', + 'ltisource' => 'mod/lti/source/{$name}/', + 'ltiservice' => 'mod/lti/service/{$name}/', + 'message' => 'message/output/{$name}/', + 'mnetservice' => 'mnet/service/{$name}/', + 'plagiarism' => 'plagiarism/{$name}/', + 'portfolio' => 'portfolio/{$name}/', + 'qbehaviour' => 'question/behaviour/{$name}/', + 'qformat' => 'question/format/{$name}/', + 'qtype' => 'question/type/{$name}/', + 'quizaccess' => 'mod/quiz/accessrule/{$name}/', + 'quiz' => 'mod/quiz/report/{$name}/', + 'report' => 'report/{$name}/', + 'repository' => 'repository/{$name}/', + 'scormreport' => 'mod/scorm/report/{$name}/', + 'search' => 'search/engine/{$name}/', + 'theme' => 'theme/{$name}/', + 'tinymce' => 'lib/editor/tinymce/plugins/{$name}/', + 'profilefield' => 'user/profile/field/{$name}/', + 'webservice' => 'webservice/{$name}/', + 'workshopallocation' => 'mod/workshop/allocation/{$name}/', + 'workshopeval' => 'mod/workshop/eval/{$name}/', + 'workshopform' => 'mod/workshop/form/{$name}/' + ); +} diff --git a/plugins/lovata/toolbox/vendor/composer/installers/src/Composer/Installers/OctoberInstaller.php b/plugins/lovata/toolbox/vendor/composer/installers/src/Composer/Installers/OctoberInstaller.php new file mode 100644 index 000000000..489ef02ab --- /dev/null +++ b/plugins/lovata/toolbox/vendor/composer/installers/src/Composer/Installers/OctoberInstaller.php @@ -0,0 +1,48 @@ + 'modules/{$name}/', + 'plugin' => 'plugins/{$vendor}/{$name}/', + 'theme' => 'themes/{$vendor}-{$name}/' + ); + + /** + * Format package name. + * + * For package type october-plugin, cut off a trailing '-plugin' if present. + * + * For package type october-theme, cut off a trailing '-theme' if present. + * + */ + public function inflectPackageVars($vars) + { + if ($vars['type'] === 'october-plugin') { + return $this->inflectPluginVars($vars); + } + + if ($vars['type'] === 'october-theme') { + return $this->inflectThemeVars($vars); + } + + return $vars; + } + + protected function inflectPluginVars($vars) + { + $vars['name'] = preg_replace('/^oc-|-plugin$/', '', $vars['name']); + $vars['vendor'] = preg_replace('/[^a-z0-9_]/i', '', $vars['vendor']); + + return $vars; + } + + protected function inflectThemeVars($vars) + { + $vars['name'] = preg_replace('/^oc-|-theme$/', '', $vars['name']); + $vars['vendor'] = preg_replace('/[^a-z0-9_]/i', '', $vars['vendor']); + + return $vars; + } +} diff --git a/plugins/lovata/toolbox/vendor/composer/installers/src/Composer/Installers/OntoWikiInstaller.php b/plugins/lovata/toolbox/vendor/composer/installers/src/Composer/Installers/OntoWikiInstaller.php new file mode 100644 index 000000000..5dd3438d9 --- /dev/null +++ b/plugins/lovata/toolbox/vendor/composer/installers/src/Composer/Installers/OntoWikiInstaller.php @@ -0,0 +1,24 @@ + 'extensions/{$name}/', + 'theme' => 'extensions/themes/{$name}/', + 'translation' => 'extensions/translations/{$name}/', + ); + + /** + * Format package name to lower case and remove ".ontowiki" suffix + */ + public function inflectPackageVars($vars) + { + $vars['name'] = strtolower($vars['name']); + $vars['name'] = preg_replace('/.ontowiki$/', '', $vars['name']); + $vars['name'] = preg_replace('/-theme$/', '', $vars['name']); + $vars['name'] = preg_replace('/-translation$/', '', $vars['name']); + + return $vars; + } +} diff --git a/plugins/lovata/toolbox/vendor/composer/installers/src/Composer/Installers/OsclassInstaller.php b/plugins/lovata/toolbox/vendor/composer/installers/src/Composer/Installers/OsclassInstaller.php new file mode 100644 index 000000000..3ca7954c9 --- /dev/null +++ b/plugins/lovata/toolbox/vendor/composer/installers/src/Composer/Installers/OsclassInstaller.php @@ -0,0 +1,14 @@ + 'oc-content/plugins/{$name}/', + 'theme' => 'oc-content/themes/{$name}/', + 'language' => 'oc-content/languages/{$name}/', + ); + +} diff --git a/plugins/lovata/toolbox/vendor/composer/installers/src/Composer/Installers/OxidInstaller.php b/plugins/lovata/toolbox/vendor/composer/installers/src/Composer/Installers/OxidInstaller.php new file mode 100644 index 000000000..1797a22cf --- /dev/null +++ b/plugins/lovata/toolbox/vendor/composer/installers/src/Composer/Installers/OxidInstaller.php @@ -0,0 +1,59 @@ +.+)\/.+/'; + + protected $locations = array( + 'module' => 'modules/{$name}/', + 'theme' => 'application/views/{$name}/', + 'out' => 'out/{$name}/', + ); + + /** + * getInstallPath + * + * @param PackageInterface $package + * @param string $frameworkType + * @return string + */ + public function getInstallPath(PackageInterface $package, $frameworkType = '') + { + $installPath = parent::getInstallPath($package, $frameworkType); + $type = $this->package->getType(); + if ($type === 'oxid-module') { + $this->prepareVendorDirectory($installPath); + } + return $installPath; + } + + /** + * prepareVendorDirectory + * + * Makes sure there is a vendormetadata.php file inside + * the vendor folder if there is a vendor folder. + * + * @param string $installPath + * @return void + */ + protected function prepareVendorDirectory($installPath) + { + $matches = ''; + $hasVendorDirectory = preg_match(self::VENDOR_PATTERN, $installPath, $matches); + if (!$hasVendorDirectory) { + return; + } + + $vendorDirectory = $matches['vendor']; + $vendorPath = getcwd() . '/modules/' . $vendorDirectory; + if (!file_exists($vendorPath)) { + mkdir($vendorPath, 0755, true); + } + + $vendorMetaDataPath = $vendorPath . '/vendormetadata.php'; + touch($vendorMetaDataPath); + } +} diff --git a/plugins/lovata/toolbox/vendor/composer/installers/src/Composer/Installers/PPIInstaller.php b/plugins/lovata/toolbox/vendor/composer/installers/src/Composer/Installers/PPIInstaller.php new file mode 100644 index 000000000..170136f98 --- /dev/null +++ b/plugins/lovata/toolbox/vendor/composer/installers/src/Composer/Installers/PPIInstaller.php @@ -0,0 +1,9 @@ + 'modules/{$name}/', + ); +} diff --git a/plugins/lovata/toolbox/vendor/composer/installers/src/Composer/Installers/PhiftyInstaller.php b/plugins/lovata/toolbox/vendor/composer/installers/src/Composer/Installers/PhiftyInstaller.php new file mode 100644 index 000000000..4e59a8a74 --- /dev/null +++ b/plugins/lovata/toolbox/vendor/composer/installers/src/Composer/Installers/PhiftyInstaller.php @@ -0,0 +1,11 @@ + 'bundles/{$name}/', + 'library' => 'libraries/{$name}/', + 'framework' => 'frameworks/{$name}/', + ); +} diff --git a/plugins/lovata/toolbox/vendor/composer/installers/src/Composer/Installers/PhpBBInstaller.php b/plugins/lovata/toolbox/vendor/composer/installers/src/Composer/Installers/PhpBBInstaller.php new file mode 100644 index 000000000..deb2b77a6 --- /dev/null +++ b/plugins/lovata/toolbox/vendor/composer/installers/src/Composer/Installers/PhpBBInstaller.php @@ -0,0 +1,11 @@ + 'ext/{$vendor}/{$name}/', + 'language' => 'language/{$name}/', + 'style' => 'styles/{$name}/', + ); +} diff --git a/plugins/lovata/toolbox/vendor/composer/installers/src/Composer/Installers/PimcoreInstaller.php b/plugins/lovata/toolbox/vendor/composer/installers/src/Composer/Installers/PimcoreInstaller.php new file mode 100644 index 000000000..4781fa6d1 --- /dev/null +++ b/plugins/lovata/toolbox/vendor/composer/installers/src/Composer/Installers/PimcoreInstaller.php @@ -0,0 +1,21 @@ + 'plugins/{$name}/', + ); + + /** + * Format package name to CamelCase + */ + public function inflectPackageVars($vars) + { + $vars['name'] = strtolower(preg_replace('/(?<=\\w)([A-Z])/', '_\\1', $vars['name'])); + $vars['name'] = str_replace(array('-', '_'), ' ', $vars['name']); + $vars['name'] = str_replace(' ', '', ucwords($vars['name'])); + + return $vars; + } +} diff --git a/plugins/lovata/toolbox/vendor/composer/installers/src/Composer/Installers/PiwikInstaller.php b/plugins/lovata/toolbox/vendor/composer/installers/src/Composer/Installers/PiwikInstaller.php new file mode 100644 index 000000000..c17f4572b --- /dev/null +++ b/plugins/lovata/toolbox/vendor/composer/installers/src/Composer/Installers/PiwikInstaller.php @@ -0,0 +1,32 @@ + 'plugins/{$name}/', + ); + + /** + * Format package name to CamelCase + * @param array $vars + * + * @return array + */ + public function inflectPackageVars($vars) + { + $vars['name'] = strtolower(preg_replace('/(?<=\\w)([A-Z])/', '_\\1', $vars['name'])); + $vars['name'] = str_replace(array('-', '_'), ' ', $vars['name']); + $vars['name'] = str_replace(' ', '', ucwords($vars['name'])); + + return $vars; + } +} diff --git a/plugins/lovata/toolbox/vendor/composer/installers/src/Composer/Installers/PlentymarketsInstaller.php b/plugins/lovata/toolbox/vendor/composer/installers/src/Composer/Installers/PlentymarketsInstaller.php new file mode 100644 index 000000000..903e55f62 --- /dev/null +++ b/plugins/lovata/toolbox/vendor/composer/installers/src/Composer/Installers/PlentymarketsInstaller.php @@ -0,0 +1,29 @@ + '{$name}/' + ); + + /** + * Remove hyphen, "plugin" and format to camelcase + * @param array $vars + * + * @return array + */ + public function inflectPackageVars($vars) + { + $vars['name'] = explode("-", $vars['name']); + foreach ($vars['name'] as $key => $name) { + $vars['name'][$key] = ucfirst($vars['name'][$key]); + if (strcasecmp($name, "Plugin") == 0) { + unset($vars['name'][$key]); + } + } + $vars['name'] = implode("",$vars['name']); + + return $vars; + } +} diff --git a/plugins/lovata/toolbox/vendor/composer/installers/src/Composer/Installers/Plugin.php b/plugins/lovata/toolbox/vendor/composer/installers/src/Composer/Installers/Plugin.php new file mode 100644 index 000000000..e60da0e7f --- /dev/null +++ b/plugins/lovata/toolbox/vendor/composer/installers/src/Composer/Installers/Plugin.php @@ -0,0 +1,27 @@ +installer = new Installer($io, $composer); + $composer->getInstallationManager()->addInstaller($this->installer); + } + + public function deactivate(Composer $composer, IOInterface $io) + { + $composer->getInstallationManager()->removeInstaller($this->installer); + } + + public function uninstall(Composer $composer, IOInterface $io) + { + } +} diff --git a/plugins/lovata/toolbox/vendor/composer/installers/src/Composer/Installers/PortoInstaller.php b/plugins/lovata/toolbox/vendor/composer/installers/src/Composer/Installers/PortoInstaller.php new file mode 100644 index 000000000..dbf85e635 --- /dev/null +++ b/plugins/lovata/toolbox/vendor/composer/installers/src/Composer/Installers/PortoInstaller.php @@ -0,0 +1,9 @@ + 'app/Containers/{$name}/', + ); +} diff --git a/plugins/lovata/toolbox/vendor/composer/installers/src/Composer/Installers/PrestashopInstaller.php b/plugins/lovata/toolbox/vendor/composer/installers/src/Composer/Installers/PrestashopInstaller.php new file mode 100644 index 000000000..4c8421e36 --- /dev/null +++ b/plugins/lovata/toolbox/vendor/composer/installers/src/Composer/Installers/PrestashopInstaller.php @@ -0,0 +1,10 @@ + 'modules/{$name}/', + 'theme' => 'themes/{$name}/', + ); +} diff --git a/plugins/lovata/toolbox/vendor/composer/installers/src/Composer/Installers/ProcessWireInstaller.php b/plugins/lovata/toolbox/vendor/composer/installers/src/Composer/Installers/ProcessWireInstaller.php new file mode 100644 index 000000000..e6834a0ca --- /dev/null +++ b/plugins/lovata/toolbox/vendor/composer/installers/src/Composer/Installers/ProcessWireInstaller.php @@ -0,0 +1,22 @@ + 'site/modules/{$name}/', + ); + + /** + * Format package name to CamelCase + */ + public function inflectPackageVars($vars) + { + $vars['name'] = strtolower(preg_replace('/(?<=\\w)([A-Z])/', '_\\1', $vars['name'])); + $vars['name'] = str_replace(array('-', '_'), ' ', $vars['name']); + $vars['name'] = str_replace(' ', '', ucwords($vars['name'])); + + return $vars; + } +} diff --git a/plugins/lovata/toolbox/vendor/composer/installers/src/Composer/Installers/PuppetInstaller.php b/plugins/lovata/toolbox/vendor/composer/installers/src/Composer/Installers/PuppetInstaller.php new file mode 100644 index 000000000..77cc3dd87 --- /dev/null +++ b/plugins/lovata/toolbox/vendor/composer/installers/src/Composer/Installers/PuppetInstaller.php @@ -0,0 +1,11 @@ + 'modules/{$name}/', + ); +} diff --git a/plugins/lovata/toolbox/vendor/composer/installers/src/Composer/Installers/PxcmsInstaller.php b/plugins/lovata/toolbox/vendor/composer/installers/src/Composer/Installers/PxcmsInstaller.php new file mode 100644 index 000000000..65510580e --- /dev/null +++ b/plugins/lovata/toolbox/vendor/composer/installers/src/Composer/Installers/PxcmsInstaller.php @@ -0,0 +1,63 @@ + 'app/Modules/{$name}/', + 'theme' => 'themes/{$name}/', + ); + + /** + * Format package name. + * + * @param array $vars + * + * @return array + */ + public function inflectPackageVars($vars) + { + if ($vars['type'] === 'pxcms-module') { + return $this->inflectModuleVars($vars); + } + + if ($vars['type'] === 'pxcms-theme') { + return $this->inflectThemeVars($vars); + } + + return $vars; + } + + /** + * For package type pxcms-module, cut off a trailing '-plugin' if present. + * + * return string + */ + protected function inflectModuleVars($vars) + { + $vars['name'] = str_replace('pxcms-', '', $vars['name']); // strip out pxcms- just incase (legacy) + $vars['name'] = str_replace('module-', '', $vars['name']); // strip out module- + $vars['name'] = preg_replace('/-module$/', '', $vars['name']); // strip out -module + $vars['name'] = str_replace('-', '_', $vars['name']); // make -'s be _'s + $vars['name'] = ucwords($vars['name']); // make module name camelcased + + return $vars; + } + + + /** + * For package type pxcms-module, cut off a trailing '-plugin' if present. + * + * return string + */ + protected function inflectThemeVars($vars) + { + $vars['name'] = str_replace('pxcms-', '', $vars['name']); // strip out pxcms- just incase (legacy) + $vars['name'] = str_replace('theme-', '', $vars['name']); // strip out theme- + $vars['name'] = preg_replace('/-theme$/', '', $vars['name']); // strip out -theme + $vars['name'] = str_replace('-', '_', $vars['name']); // make -'s be _'s + $vars['name'] = ucwords($vars['name']); // make module name camelcased + + return $vars; + } +} diff --git a/plugins/lovata/toolbox/vendor/composer/installers/src/Composer/Installers/RadPHPInstaller.php b/plugins/lovata/toolbox/vendor/composer/installers/src/Composer/Installers/RadPHPInstaller.php new file mode 100644 index 000000000..0f78b5ca6 --- /dev/null +++ b/plugins/lovata/toolbox/vendor/composer/installers/src/Composer/Installers/RadPHPInstaller.php @@ -0,0 +1,24 @@ + 'src/{$name}/' + ); + + /** + * Format package name to CamelCase + */ + public function inflectPackageVars($vars) + { + $nameParts = explode('/', $vars['name']); + foreach ($nameParts as &$value) { + $value = strtolower(preg_replace('/(?<=\\w)([A-Z])/', '_\\1', $value)); + $value = str_replace(array('-', '_'), ' ', $value); + $value = str_replace(' ', '', ucwords($value)); + } + $vars['name'] = implode('/', $nameParts); + return $vars; + } +} diff --git a/plugins/lovata/toolbox/vendor/composer/installers/src/Composer/Installers/ReIndexInstaller.php b/plugins/lovata/toolbox/vendor/composer/installers/src/Composer/Installers/ReIndexInstaller.php new file mode 100644 index 000000000..252c7339f --- /dev/null +++ b/plugins/lovata/toolbox/vendor/composer/installers/src/Composer/Installers/ReIndexInstaller.php @@ -0,0 +1,10 @@ + 'themes/{$name}/', + 'plugin' => 'plugins/{$name}/' + ); +} diff --git a/plugins/lovata/toolbox/vendor/composer/installers/src/Composer/Installers/Redaxo5Installer.php b/plugins/lovata/toolbox/vendor/composer/installers/src/Composer/Installers/Redaxo5Installer.php new file mode 100644 index 000000000..23a20347e --- /dev/null +++ b/plugins/lovata/toolbox/vendor/composer/installers/src/Composer/Installers/Redaxo5Installer.php @@ -0,0 +1,10 @@ + 'redaxo/src/addons/{$name}/', + 'bestyle-plugin' => 'redaxo/src/addons/be_style/plugins/{$name}/' + ); +} diff --git a/plugins/lovata/toolbox/vendor/composer/installers/src/Composer/Installers/RedaxoInstaller.php b/plugins/lovata/toolbox/vendor/composer/installers/src/Composer/Installers/RedaxoInstaller.php new file mode 100644 index 000000000..09544576b --- /dev/null +++ b/plugins/lovata/toolbox/vendor/composer/installers/src/Composer/Installers/RedaxoInstaller.php @@ -0,0 +1,10 @@ + 'redaxo/include/addons/{$name}/', + 'bestyle-plugin' => 'redaxo/include/addons/be_style/plugins/{$name}/' + ); +} diff --git a/plugins/lovata/toolbox/vendor/composer/installers/src/Composer/Installers/RoundcubeInstaller.php b/plugins/lovata/toolbox/vendor/composer/installers/src/Composer/Installers/RoundcubeInstaller.php new file mode 100644 index 000000000..d8d795be0 --- /dev/null +++ b/plugins/lovata/toolbox/vendor/composer/installers/src/Composer/Installers/RoundcubeInstaller.php @@ -0,0 +1,22 @@ + 'plugins/{$name}/', + ); + + /** + * Lowercase name and changes the name to a underscores + * + * @param array $vars + * @return array + */ + public function inflectPackageVars($vars) + { + $vars['name'] = strtolower(str_replace('-', '_', $vars['name'])); + + return $vars; + } +} diff --git a/plugins/lovata/toolbox/vendor/composer/installers/src/Composer/Installers/SMFInstaller.php b/plugins/lovata/toolbox/vendor/composer/installers/src/Composer/Installers/SMFInstaller.php new file mode 100644 index 000000000..1acd3b14c --- /dev/null +++ b/plugins/lovata/toolbox/vendor/composer/installers/src/Composer/Installers/SMFInstaller.php @@ -0,0 +1,10 @@ + 'Sources/{$name}/', + 'theme' => 'Themes/{$name}/', + ); +} diff --git a/plugins/lovata/toolbox/vendor/composer/installers/src/Composer/Installers/ShopwareInstaller.php b/plugins/lovata/toolbox/vendor/composer/installers/src/Composer/Installers/ShopwareInstaller.php new file mode 100644 index 000000000..7d20d27a2 --- /dev/null +++ b/plugins/lovata/toolbox/vendor/composer/installers/src/Composer/Installers/ShopwareInstaller.php @@ -0,0 +1,60 @@ + 'engine/Shopware/Plugins/Local/Backend/{$name}/', + 'core-plugin' => 'engine/Shopware/Plugins/Local/Core/{$name}/', + 'frontend-plugin' => 'engine/Shopware/Plugins/Local/Frontend/{$name}/', + 'theme' => 'templates/{$name}/', + 'plugin' => 'custom/plugins/{$name}/', + 'frontend-theme' => 'themes/Frontend/{$name}/', + ); + + /** + * Transforms the names + * @param array $vars + * @return array + */ + public function inflectPackageVars($vars) + { + if ($vars['type'] === 'shopware-theme') { + return $this->correctThemeName($vars); + } + + return $this->correctPluginName($vars); + } + + /** + * Changes the name to a camelcased combination of vendor and name + * @param array $vars + * @return array + */ + private function correctPluginName($vars) + { + $camelCasedName = preg_replace_callback('/(-[a-z])/', function ($matches) { + return strtoupper($matches[0][1]); + }, $vars['name']); + + $vars['name'] = ucfirst($vars['vendor']) . ucfirst($camelCasedName); + + return $vars; + } + + /** + * Changes the name to a underscore separated name + * @param array $vars + * @return array + */ + private function correctThemeName($vars) + { + $vars['name'] = str_replace('-', '_', $vars['name']); + + return $vars; + } +} diff --git a/plugins/lovata/toolbox/vendor/composer/installers/src/Composer/Installers/SilverStripeInstaller.php b/plugins/lovata/toolbox/vendor/composer/installers/src/Composer/Installers/SilverStripeInstaller.php new file mode 100644 index 000000000..81910e9f1 --- /dev/null +++ b/plugins/lovata/toolbox/vendor/composer/installers/src/Composer/Installers/SilverStripeInstaller.php @@ -0,0 +1,35 @@ + '{$name}/', + 'theme' => 'themes/{$name}/', + ); + + /** + * Return the install path based on package type. + * + * Relies on built-in BaseInstaller behaviour with one exception: silverstripe/framework + * must be installed to 'sapphire' and not 'framework' if the version is <3.0.0 + * + * @param PackageInterface $package + * @param string $frameworkType + * @return string + */ + public function getInstallPath(PackageInterface $package, $frameworkType = '') + { + if ( + $package->getName() == 'silverstripe/framework' + && preg_match('/^\d+\.\d+\.\d+/', $package->getVersion()) + && version_compare($package->getVersion(), '2.999.999') < 0 + ) { + return $this->templatePath($this->locations['module'], array('name' => 'sapphire')); + } + + return parent::getInstallPath($package, $frameworkType); + } +} diff --git a/plugins/lovata/toolbox/vendor/composer/installers/src/Composer/Installers/SiteDirectInstaller.php b/plugins/lovata/toolbox/vendor/composer/installers/src/Composer/Installers/SiteDirectInstaller.php new file mode 100644 index 000000000..762d94c68 --- /dev/null +++ b/plugins/lovata/toolbox/vendor/composer/installers/src/Composer/Installers/SiteDirectInstaller.php @@ -0,0 +1,25 @@ + 'modules/{$vendor}/{$name}/', + 'plugin' => 'plugins/{$vendor}/{$name}/' + ); + + public function inflectPackageVars($vars) + { + return $this->parseVars($vars); + } + + protected function parseVars($vars) + { + $vars['vendor'] = strtolower($vars['vendor']) == 'sitedirect' ? 'SiteDirect' : $vars['vendor']; + $vars['name'] = str_replace(array('-', '_'), ' ', $vars['name']); + $vars['name'] = str_replace(' ', '', ucwords($vars['name'])); + + return $vars; + } +} diff --git a/plugins/lovata/toolbox/vendor/composer/installers/src/Composer/Installers/StarbugInstaller.php b/plugins/lovata/toolbox/vendor/composer/installers/src/Composer/Installers/StarbugInstaller.php new file mode 100644 index 000000000..a31c9fda0 --- /dev/null +++ b/plugins/lovata/toolbox/vendor/composer/installers/src/Composer/Installers/StarbugInstaller.php @@ -0,0 +1,12 @@ + 'modules/{$name}/', + 'theme' => 'themes/{$name}/', + 'custom-module' => 'app/modules/{$name}/', + 'custom-theme' => 'app/themes/{$name}/' + ); +} diff --git a/plugins/lovata/toolbox/vendor/composer/installers/src/Composer/Installers/SyDESInstaller.php b/plugins/lovata/toolbox/vendor/composer/installers/src/Composer/Installers/SyDESInstaller.php new file mode 100644 index 000000000..8626a9bc2 --- /dev/null +++ b/plugins/lovata/toolbox/vendor/composer/installers/src/Composer/Installers/SyDESInstaller.php @@ -0,0 +1,47 @@ + 'app/modules/{$name}/', + 'theme' => 'themes/{$name}/', + ); + + /** + * Format module name. + * + * Strip `sydes-` prefix and a trailing '-theme' or '-module' from package name if present. + * + * {@inerhitDoc} + */ + public function inflectPackageVars($vars) + { + if ($vars['type'] == 'sydes-module') { + return $this->inflectModuleVars($vars); + } + + if ($vars['type'] === 'sydes-theme') { + return $this->inflectThemeVars($vars); + } + + return $vars; + } + + public function inflectModuleVars($vars) + { + $vars['name'] = preg_replace('/(^sydes-|-module$)/i', '', $vars['name']); + $vars['name'] = str_replace(array('-', '_'), ' ', $vars['name']); + $vars['name'] = str_replace(' ', '', ucwords($vars['name'])); + + return $vars; + } + + protected function inflectThemeVars($vars) + { + $vars['name'] = preg_replace('/(^sydes-|-theme$)/', '', $vars['name']); + $vars['name'] = strtolower($vars['name']); + + return $vars; + } +} diff --git a/plugins/lovata/toolbox/vendor/composer/installers/src/Composer/Installers/SyliusInstaller.php b/plugins/lovata/toolbox/vendor/composer/installers/src/Composer/Installers/SyliusInstaller.php new file mode 100644 index 000000000..4357a35bb --- /dev/null +++ b/plugins/lovata/toolbox/vendor/composer/installers/src/Composer/Installers/SyliusInstaller.php @@ -0,0 +1,9 @@ + 'themes/{$name}/', + ); +} diff --git a/plugins/lovata/toolbox/vendor/composer/installers/src/Composer/Installers/Symfony1Installer.php b/plugins/lovata/toolbox/vendor/composer/installers/src/Composer/Installers/Symfony1Installer.php new file mode 100644 index 000000000..1675c4f21 --- /dev/null +++ b/plugins/lovata/toolbox/vendor/composer/installers/src/Composer/Installers/Symfony1Installer.php @@ -0,0 +1,26 @@ + + */ +class Symfony1Installer extends BaseInstaller +{ + protected $locations = array( + 'plugin' => 'plugins/{$name}/', + ); + + /** + * Format package name to CamelCase + */ + public function inflectPackageVars($vars) + { + $vars['name'] = preg_replace_callback('/(-[a-z])/', function ($matches) { + return strtoupper($matches[0][1]); + }, $vars['name']); + + return $vars; + } +} diff --git a/plugins/lovata/toolbox/vendor/composer/installers/src/Composer/Installers/TYPO3CmsInstaller.php b/plugins/lovata/toolbox/vendor/composer/installers/src/Composer/Installers/TYPO3CmsInstaller.php new file mode 100644 index 000000000..b1663e843 --- /dev/null +++ b/plugins/lovata/toolbox/vendor/composer/installers/src/Composer/Installers/TYPO3CmsInstaller.php @@ -0,0 +1,16 @@ + + */ +class TYPO3CmsInstaller extends BaseInstaller +{ + protected $locations = array( + 'extension' => 'typo3conf/ext/{$name}/', + ); +} diff --git a/plugins/lovata/toolbox/vendor/composer/installers/src/Composer/Installers/TYPO3FlowInstaller.php b/plugins/lovata/toolbox/vendor/composer/installers/src/Composer/Installers/TYPO3FlowInstaller.php new file mode 100644 index 000000000..42572f44f --- /dev/null +++ b/plugins/lovata/toolbox/vendor/composer/installers/src/Composer/Installers/TYPO3FlowInstaller.php @@ -0,0 +1,38 @@ + 'Packages/Application/{$name}/', + 'framework' => 'Packages/Framework/{$name}/', + 'plugin' => 'Packages/Plugins/{$name}/', + 'site' => 'Packages/Sites/{$name}/', + 'boilerplate' => 'Packages/Boilerplates/{$name}/', + 'build' => 'Build/{$name}/', + ); + + /** + * Modify the package name to be a TYPO3 Flow style key. + * + * @param array $vars + * @return array + */ + public function inflectPackageVars($vars) + { + $autoload = $this->package->getAutoload(); + if (isset($autoload['psr-0']) && is_array($autoload['psr-0'])) { + $namespace = key($autoload['psr-0']); + $vars['name'] = str_replace('\\', '.', $namespace); + } + if (isset($autoload['psr-4']) && is_array($autoload['psr-4'])) { + $namespace = key($autoload['psr-4']); + $vars['name'] = rtrim(str_replace('\\', '.', $namespace), '.'); + } + + return $vars; + } +} diff --git a/plugins/lovata/toolbox/vendor/composer/installers/src/Composer/Installers/TaoInstaller.php b/plugins/lovata/toolbox/vendor/composer/installers/src/Composer/Installers/TaoInstaller.php new file mode 100644 index 000000000..4f79a45f9 --- /dev/null +++ b/plugins/lovata/toolbox/vendor/composer/installers/src/Composer/Installers/TaoInstaller.php @@ -0,0 +1,30 @@ + '{$name}' + ); + + public function inflectPackageVars($vars) + { + $extra = $this->package->getExtra(); + + if (array_key_exists(self::EXTRA_TAO_EXTENSION_NAME, $extra)) { + $vars['name'] = $extra[self::EXTRA_TAO_EXTENSION_NAME]; + return $vars; + } + + $vars['name'] = str_replace('extension-', '', $vars['name']); + $vars['name'] = str_replace('-', ' ', $vars['name']); + $vars['name'] = lcfirst(str_replace(' ', '', ucwords($vars['name']))); + + return $vars; + } +} diff --git a/plugins/lovata/toolbox/vendor/composer/installers/src/Composer/Installers/TastyIgniterInstaller.php b/plugins/lovata/toolbox/vendor/composer/installers/src/Composer/Installers/TastyIgniterInstaller.php new file mode 100644 index 000000000..e20e65b83 --- /dev/null +++ b/plugins/lovata/toolbox/vendor/composer/installers/src/Composer/Installers/TastyIgniterInstaller.php @@ -0,0 +1,32 @@ + 'extensions/{$vendor}/{$name}/', + 'theme' => 'themes/{$name}/', + ); + + /** + * Format package name. + * + * Cut off leading 'ti-ext-' or 'ti-theme-' if present. + * Strip vendor name of characters that is not alphanumeric or an underscore + * + */ + public function inflectPackageVars($vars) + { + if ($vars['type'] === 'tastyigniter-extension') { + $vars['vendor'] = preg_replace('/[^a-z0-9_]/i', '', $vars['vendor']); + $vars['name'] = preg_replace('/^ti-ext-/', '', $vars['name']); + } + + if ($vars['type'] === 'tastyigniter-theme') { + $vars['name'] = preg_replace('/^ti-theme-/', '', $vars['name']); + } + + return $vars; + } +} \ No newline at end of file diff --git a/plugins/lovata/toolbox/vendor/composer/installers/src/Composer/Installers/TheliaInstaller.php b/plugins/lovata/toolbox/vendor/composer/installers/src/Composer/Installers/TheliaInstaller.php new file mode 100644 index 000000000..158af5261 --- /dev/null +++ b/plugins/lovata/toolbox/vendor/composer/installers/src/Composer/Installers/TheliaInstaller.php @@ -0,0 +1,12 @@ + 'local/modules/{$name}/', + 'frontoffice-template' => 'templates/frontOffice/{$name}/', + 'backoffice-template' => 'templates/backOffice/{$name}/', + 'email-template' => 'templates/email/{$name}/', + ); +} diff --git a/plugins/lovata/toolbox/vendor/composer/installers/src/Composer/Installers/TuskInstaller.php b/plugins/lovata/toolbox/vendor/composer/installers/src/Composer/Installers/TuskInstaller.php new file mode 100644 index 000000000..7c0113b85 --- /dev/null +++ b/plugins/lovata/toolbox/vendor/composer/installers/src/Composer/Installers/TuskInstaller.php @@ -0,0 +1,14 @@ + + */ + class TuskInstaller extends BaseInstaller + { + protected $locations = array( + 'task' => '.tusk/tasks/{$name}/', + 'command' => '.tusk/commands/{$name}/', + 'asset' => 'assets/tusk/{$name}/', + ); + } diff --git a/plugins/lovata/toolbox/vendor/composer/installers/src/Composer/Installers/UserFrostingInstaller.php b/plugins/lovata/toolbox/vendor/composer/installers/src/Composer/Installers/UserFrostingInstaller.php new file mode 100644 index 000000000..fcb414ab7 --- /dev/null +++ b/plugins/lovata/toolbox/vendor/composer/installers/src/Composer/Installers/UserFrostingInstaller.php @@ -0,0 +1,9 @@ + 'app/sprinkles/{$name}/', + ); +} diff --git a/plugins/lovata/toolbox/vendor/composer/installers/src/Composer/Installers/VanillaInstaller.php b/plugins/lovata/toolbox/vendor/composer/installers/src/Composer/Installers/VanillaInstaller.php new file mode 100644 index 000000000..24ca64512 --- /dev/null +++ b/plugins/lovata/toolbox/vendor/composer/installers/src/Composer/Installers/VanillaInstaller.php @@ -0,0 +1,10 @@ + 'plugins/{$name}/', + 'theme' => 'themes/{$name}/', + ); +} diff --git a/plugins/lovata/toolbox/vendor/composer/installers/src/Composer/Installers/VgmcpInstaller.php b/plugins/lovata/toolbox/vendor/composer/installers/src/Composer/Installers/VgmcpInstaller.php new file mode 100644 index 000000000..7d90c5e6e --- /dev/null +++ b/plugins/lovata/toolbox/vendor/composer/installers/src/Composer/Installers/VgmcpInstaller.php @@ -0,0 +1,49 @@ + 'src/{$vendor}/{$name}/', + 'theme' => 'themes/{$name}/' + ); + + /** + * Format package name. + * + * For package type vgmcp-bundle, cut off a trailing '-bundle' if present. + * + * For package type vgmcp-theme, cut off a trailing '-theme' if present. + * + */ + public function inflectPackageVars($vars) + { + if ($vars['type'] === 'vgmcp-bundle') { + return $this->inflectPluginVars($vars); + } + + if ($vars['type'] === 'vgmcp-theme') { + return $this->inflectThemeVars($vars); + } + + return $vars; + } + + protected function inflectPluginVars($vars) + { + $vars['name'] = preg_replace('/-bundle$/', '', $vars['name']); + $vars['name'] = str_replace(array('-', '_'), ' ', $vars['name']); + $vars['name'] = str_replace(' ', '', ucwords($vars['name'])); + + return $vars; + } + + protected function inflectThemeVars($vars) + { + $vars['name'] = preg_replace('/-theme$/', '', $vars['name']); + $vars['name'] = str_replace(array('-', '_'), ' ', $vars['name']); + $vars['name'] = str_replace(' ', '', ucwords($vars['name'])); + + return $vars; + } +} diff --git a/plugins/lovata/toolbox/vendor/composer/installers/src/Composer/Installers/WHMCSInstaller.php b/plugins/lovata/toolbox/vendor/composer/installers/src/Composer/Installers/WHMCSInstaller.php new file mode 100644 index 000000000..b65dbbafd --- /dev/null +++ b/plugins/lovata/toolbox/vendor/composer/installers/src/Composer/Installers/WHMCSInstaller.php @@ -0,0 +1,21 @@ + 'modules/addons/{$vendor}_{$name}/', + 'fraud' => 'modules/fraud/{$vendor}_{$name}/', + 'gateways' => 'modules/gateways/{$vendor}_{$name}/', + 'notifications' => 'modules/notifications/{$vendor}_{$name}/', + 'registrars' => 'modules/registrars/{$vendor}_{$name}/', + 'reports' => 'modules/reports/{$vendor}_{$name}/', + 'security' => 'modules/security/{$vendor}_{$name}/', + 'servers' => 'modules/servers/{$vendor}_{$name}/', + 'social' => 'modules/social/{$vendor}_{$name}/', + 'support' => 'modules/support/{$vendor}_{$name}/', + 'templates' => 'templates/{$vendor}_{$name}/', + 'includes' => 'includes/{$vendor}_{$name}/' + ); +} diff --git a/plugins/lovata/toolbox/vendor/composer/installers/src/Composer/Installers/WinterInstaller.php b/plugins/lovata/toolbox/vendor/composer/installers/src/Composer/Installers/WinterInstaller.php new file mode 100644 index 000000000..cff1bf19d --- /dev/null +++ b/plugins/lovata/toolbox/vendor/composer/installers/src/Composer/Installers/WinterInstaller.php @@ -0,0 +1,58 @@ + 'modules/{$name}/', + 'plugin' => 'plugins/{$vendor}/{$name}/', + 'theme' => 'themes/{$name}/' + ); + + /** + * Format package name. + * + * For package type winter-plugin, cut off a trailing '-plugin' if present. + * + * For package type winter-theme, cut off a trailing '-theme' if present. + * + */ + public function inflectPackageVars($vars) + { + if ($vars['type'] === 'winter-module') { + return $this->inflectModuleVars($vars); + } + + if ($vars['type'] === 'winter-plugin') { + return $this->inflectPluginVars($vars); + } + + if ($vars['type'] === 'winter-theme') { + return $this->inflectThemeVars($vars); + } + + return $vars; + } + + protected function inflectModuleVars($vars) + { + $vars['name'] = preg_replace('/^wn-|-module$/', '', $vars['name']); + + return $vars; + } + + protected function inflectPluginVars($vars) + { + $vars['name'] = preg_replace('/^wn-|-plugin$/', '', $vars['name']); + $vars['vendor'] = preg_replace('/[^a-z0-9_]/i', '', $vars['vendor']); + + return $vars; + } + + protected function inflectThemeVars($vars) + { + $vars['name'] = preg_replace('/^wn-|-theme$/', '', $vars['name']); + + return $vars; + } +} diff --git a/plugins/lovata/toolbox/vendor/composer/installers/src/Composer/Installers/WolfCMSInstaller.php b/plugins/lovata/toolbox/vendor/composer/installers/src/Composer/Installers/WolfCMSInstaller.php new file mode 100644 index 000000000..cb387881d --- /dev/null +++ b/plugins/lovata/toolbox/vendor/composer/installers/src/Composer/Installers/WolfCMSInstaller.php @@ -0,0 +1,9 @@ + 'wolf/plugins/{$name}/', + ); +} diff --git a/plugins/lovata/toolbox/vendor/composer/installers/src/Composer/Installers/WordPressInstaller.php b/plugins/lovata/toolbox/vendor/composer/installers/src/Composer/Installers/WordPressInstaller.php new file mode 100644 index 000000000..91c46ad99 --- /dev/null +++ b/plugins/lovata/toolbox/vendor/composer/installers/src/Composer/Installers/WordPressInstaller.php @@ -0,0 +1,12 @@ + 'wp-content/plugins/{$name}/', + 'theme' => 'wp-content/themes/{$name}/', + 'muplugin' => 'wp-content/mu-plugins/{$name}/', + 'dropin' => 'wp-content/{$name}/', + ); +} diff --git a/plugins/lovata/toolbox/vendor/composer/installers/src/Composer/Installers/YawikInstaller.php b/plugins/lovata/toolbox/vendor/composer/installers/src/Composer/Installers/YawikInstaller.php new file mode 100644 index 000000000..27f429ff2 --- /dev/null +++ b/plugins/lovata/toolbox/vendor/composer/installers/src/Composer/Installers/YawikInstaller.php @@ -0,0 +1,32 @@ + 'module/{$name}/', + ); + + /** + * Format package name to CamelCase + * @param array $vars + * + * @return array + */ + public function inflectPackageVars($vars) + { + $vars['name'] = strtolower(preg_replace('/(?<=\\w)([A-Z])/', '_\\1', $vars['name'])); + $vars['name'] = str_replace(array('-', '_'), ' ', $vars['name']); + $vars['name'] = str_replace(' ', '', ucwords($vars['name'])); + + return $vars; + } +} \ No newline at end of file diff --git a/plugins/lovata/toolbox/vendor/composer/installers/src/Composer/Installers/ZendInstaller.php b/plugins/lovata/toolbox/vendor/composer/installers/src/Composer/Installers/ZendInstaller.php new file mode 100644 index 000000000..bde9bc8c8 --- /dev/null +++ b/plugins/lovata/toolbox/vendor/composer/installers/src/Composer/Installers/ZendInstaller.php @@ -0,0 +1,11 @@ + 'library/{$name}/', + 'extra' => 'extras/library/{$name}/', + 'module' => 'module/{$name}/', + ); +} diff --git a/plugins/lovata/toolbox/vendor/composer/installers/src/Composer/Installers/ZikulaInstaller.php b/plugins/lovata/toolbox/vendor/composer/installers/src/Composer/Installers/ZikulaInstaller.php new file mode 100644 index 000000000..56cdf5da7 --- /dev/null +++ b/plugins/lovata/toolbox/vendor/composer/installers/src/Composer/Installers/ZikulaInstaller.php @@ -0,0 +1,10 @@ + 'modules/{$vendor}-{$name}/', + 'theme' => 'themes/{$vendor}-{$name}/' + ); +} diff --git a/plugins/lovata/toolbox/vendor/composer/installers/src/bootstrap.php b/plugins/lovata/toolbox/vendor/composer/installers/src/bootstrap.php new file mode 100644 index 000000000..0de276ee2 --- /dev/null +++ b/plugins/lovata/toolbox/vendor/composer/installers/src/bootstrap.php @@ -0,0 +1,13 @@ += 70000)) { + $issues[] = 'Your Composer dependencies require a PHP version ">= 7.0.0". You are running ' . PHP_VERSION . '.'; +} + +if ($issues) { + if (!headers_sent()) { + header('HTTP/1.1 500 Internal Server Error'); + } + if (!ini_get('display_errors')) { + if (PHP_SAPI === 'cli' || PHP_SAPI === 'phpdbg') { + fwrite(STDERR, 'Composer detected issues in your platform:' . PHP_EOL.PHP_EOL . implode(PHP_EOL, $issues) . PHP_EOL.PHP_EOL); + } elseif (!headers_sent()) { + echo 'Composer detected issues in your platform:' . PHP_EOL.PHP_EOL . str_replace('You are running '.PHP_VERSION.'.', '', implode(PHP_EOL, $issues)) . PHP_EOL.PHP_EOL; + } + } + trigger_error( + 'Composer detected issues in your platform: ' . implode(' ', $issues), + E_USER_ERROR + ); +} diff --git a/plugins/lovata/toolbox/vendor/kharanenka/laravel-cache-helper/.gitignore b/plugins/lovata/toolbox/vendor/kharanenka/laravel-cache-helper/.gitignore new file mode 100644 index 000000000..1e06577ef --- /dev/null +++ b/plugins/lovata/toolbox/vendor/kharanenka/laravel-cache-helper/.gitignore @@ -0,0 +1,88 @@ +/node_modules +Homestead.yaml + +#site +pdf/ +_backup/ +cgi-bin/ + +*.log +*.bin +*.komodoproject +/.komodotools/ + +# PhpStorm +.idea + +# Eclipse +*.pydevproject +.project +.metadata +bin/** +tmp/** +tmp/**/* +*.tmp +*.bak +*.swp +*~.nib +local.properties +.classpath +.settings/ +.loadpath +.externalToolBuilders/ +*.launch +.cproject +.buildpath + +# SublimeText +/*.sublime-project +*.sublime-workspace + +# NetBeans +nbproject/ +build/ +nbbuild/ +dist/ +nbdist/ +nbactions.xml +nb-configuration.xml + +# Windows system files +$RECYCLE.BIN/ +Thumbs.db +ehthumbs.db +Desktop.ini + +# OSX system files +.DS_store +.AppleDouble +.LSOverride +Icon +._* +.Spotlight-V100 +.Trashes + +# SVN/CVS +.svn +/CVS/* +*/CVS/* +.cvsignore +*/.cvsignore + +# temporary files/folders + +tmp* +~* +*.~* +*.bak +*.swp + +build/ +png/ +psd/ +doc/ +svg/ +vendors/ +pixelPerfect/ +node_modules/ +docs/ \ No newline at end of file diff --git a/plugins/lovata/toolbox/vendor/kharanenka/laravel-cache-helper/LICENSE b/plugins/lovata/toolbox/vendor/kharanenka/laravel-cache-helper/LICENSE new file mode 100644 index 000000000..9cecc1d46 --- /dev/null +++ b/plugins/lovata/toolbox/vendor/kharanenka/laravel-cache-helper/LICENSE @@ -0,0 +1,674 @@ + GNU GENERAL PUBLIC LICENSE + Version 3, 29 June 2007 + + Copyright (C) 2007 Free Software Foundation, Inc. + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + + Preamble + + The GNU General Public License is a free, copyleft license for +software and other kinds of works. + + The licenses for most software and other practical works are designed +to take away your freedom to share and change the works. By contrast, +the GNU General Public License is intended to guarantee your freedom to +share and change all versions of a program--to make sure it remains free +software for all its users. We, the Free Software Foundation, use the +GNU General Public License for most of our software; it applies also to +any other work released this way by its authors. You can apply it to +your programs, too. + + When we speak of free software, we are referring to freedom, not +price. Our General Public Licenses are designed to make sure that you +have the freedom to distribute copies of free software (and charge for +them if you wish), that you receive source code or can get it if you +want it, that you can change the software or use pieces of it in new +free programs, and that you know you can do these things. + + To protect your rights, we need to prevent others from denying you +these rights or asking you to surrender the rights. Therefore, you have +certain responsibilities if you distribute copies of the software, or if +you modify it: responsibilities to respect the freedom of others. + + For example, if you distribute copies of such a program, whether +gratis or for a fee, you must pass on to the recipients the same +freedoms that you received. You must make sure that they, too, receive +or can get the source code. And you must show them these terms so they +know their rights. + + Developers that use the GNU GPL protect your rights with two steps: +(1) assert copyright on the software, and (2) offer you this License +giving you legal permission to copy, distribute and/or modify it. + + For the developers' and authors' protection, the GPL clearly explains +that there is no warranty for this free software. For both users' and +authors' sake, the GPL requires that modified versions be marked as +changed, so that their problems will not be attributed erroneously to +authors of previous versions. + + Some devices are designed to deny users access to install or run +modified versions of the software inside them, although the manufacturer +can do so. This is fundamentally incompatible with the aim of +protecting users' freedom to change the software. The systematic +pattern of such abuse occurs in the area of products for individuals to +use, which is precisely where it is most unacceptable. Therefore, we +have designed this version of the GPL to prohibit the practice for those +products. If such problems arise substantially in other domains, we +stand ready to extend this provision to those domains in future versions +of the GPL, as needed to protect the freedom of users. + + Finally, every program is threatened constantly by software patents. +States should not allow patents to restrict development and use of +software on general-purpose computers, but in those that do, we wish to +avoid the special danger that patents applied to a free program could +make it effectively proprietary. To prevent this, the GPL assures that +patents cannot be used to render the program non-free. + + The precise terms and conditions for copying, distribution and +modification follow. + + TERMS AND CONDITIONS + + 0. Definitions. + + "This License" refers to version 3 of the GNU General Public License. + + "Copyright" also means copyright-like laws that apply to other kinds of +works, such as semiconductor masks. + + "The Program" refers to any copyrightable work licensed under this +License. Each licensee is addressed as "you". "Licensees" and +"recipients" may be individuals or organizations. + + To "modify" a work means to copy from or adapt all or part of the work +in a fashion requiring copyright permission, other than the making of an +exact copy. The resulting work is called a "modified version" of the +earlier work or a work "based on" the earlier work. + + A "covered work" means either the unmodified Program or a work based +on the Program. + + To "propagate" a work means to do anything with it that, without +permission, would make you directly or secondarily liable for +infringement under applicable copyright law, except executing it on a +computer or modifying a private copy. Propagation includes copying, +distribution (with or without modification), making available to the +public, and in some countries other activities as well. + + To "convey" a work means any kind of propagation that enables other +parties to make or receive copies. Mere interaction with a user through +a computer network, with no transfer of a copy, is not conveying. + + An interactive user interface displays "Appropriate Legal Notices" +to the extent that it includes a convenient and prominently visible +feature that (1) displays an appropriate copyright notice, and (2) +tells the user that there is no warranty for the work (except to the +extent that warranties are provided), that licensees may convey the +work under this License, and how to view a copy of this License. If +the interface presents a list of user commands or options, such as a +menu, a prominent item in the list meets this criterion. + + 1. Source Code. + + The "source code" for a work means the preferred form of the work +for making modifications to it. "Object code" means any non-source +form of a work. + + A "Standard Interface" means an interface that either is an official +standard defined by a recognized standards body, or, in the case of +interfaces specified for a particular programming language, one that +is widely used among developers working in that language. + + The "System Libraries" of an executable work include anything, other +than the work as a whole, that (a) is included in the normal form of +packaging a Major Component, but which is not part of that Major +Component, and (b) serves only to enable use of the work with that +Major Component, or to implement a Standard Interface for which an +implementation is available to the public in source code form. A +"Major Component", in this context, means a major essential component +(kernel, window system, and so on) of the specific operating system +(if any) on which the executable work runs, or a compiler used to +produce the work, or an object code interpreter used to run it. + + The "Corresponding Source" for a work in object code form means all +the source code needed to generate, install, and (for an executable +work) run the object code and to modify the work, including scripts to +control those activities. However, it does not include the work's +System Libraries, or general-purpose tools or generally available free +programs which are used unmodified in performing those activities but +which are not part of the work. For example, Corresponding Source +includes interface definition files associated with source files for +the work, and the source code for shared libraries and dynamically +linked subprograms that the work is specifically designed to require, +such as by intimate data communication or control flow between those +subprograms and other parts of the work. + + The Corresponding Source need not include anything that users +can regenerate automatically from other parts of the Corresponding +Source. + + The Corresponding Source for a work in source code form is that +same work. + + 2. Basic Permissions. + + All rights granted under this License are granted for the term of +copyright on the Program, and are irrevocable provided the stated +conditions are met. This License explicitly affirms your unlimited +permission to run the unmodified Program. The output from running a +covered work is covered by this License only if the output, given its +content, constitutes a covered work. This License acknowledges your +rights of fair use or other equivalent, as provided by copyright law. + + You may make, run and propagate covered works that you do not +convey, without conditions so long as your license otherwise remains +in force. You may convey covered works to others for the sole purpose +of having them make modifications exclusively for you, or provide you +with facilities for running those works, provided that you comply with +the terms of this License in conveying all material for which you do +not control copyright. Those thus making or running the covered works +for you must do so exclusively on your behalf, under your direction +and control, on terms that prohibit them from making any copies of +your copyrighted material outside their relationship with you. + + Conveying under any other circumstances is permitted solely under +the conditions stated below. Sublicensing is not allowed; section 10 +makes it unnecessary. + + 3. Protecting Users' Legal Rights From Anti-Circumvention Law. + + No covered work shall be deemed part of an effective technological +measure under any applicable law fulfilling obligations under article +11 of the WIPO copyright treaty adopted on 20 December 1996, or +similar laws prohibiting or restricting circumvention of such +measures. + + When you convey a covered work, you waive any legal power to forbid +circumvention of technological measures to the extent such circumvention +is effected by exercising rights under this License with respect to +the covered work, and you disclaim any intention to limit operation or +modification of the work as a means of enforcing, against the work's +users, your or third parties' legal rights to forbid circumvention of +technological measures. + + 4. Conveying Verbatim Copies. + + You may convey verbatim copies of the Program's source code as you +receive it, in any medium, provided that you conspicuously and +appropriately publish on each copy an appropriate copyright notice; +keep intact all notices stating that this License and any +non-permissive terms added in accord with section 7 apply to the code; +keep intact all notices of the absence of any warranty; and give all +recipients a copy of this License along with the Program. + + You may charge any price or no price for each copy that you convey, +and you may offer support or warranty protection for a fee. + + 5. Conveying Modified Source Versions. + + You may convey a work based on the Program, or the modifications to +produce it from the Program, in the form of source code under the +terms of section 4, provided that you also meet all of these conditions: + + a) The work must carry prominent notices stating that you modified + it, and giving a relevant date. + + b) The work must carry prominent notices stating that it is + released under this License and any conditions added under section + 7. This requirement modifies the requirement in section 4 to + "keep intact all notices". + + c) You must license the entire work, as a whole, under this + License to anyone who comes into possession of a copy. This + License will therefore apply, along with any applicable section 7 + additional terms, to the whole of the work, and all its parts, + regardless of how they are packaged. This License gives no + permission to license the work in any other way, but it does not + invalidate such permission if you have separately received it. + + d) If the work has interactive user interfaces, each must display + Appropriate Legal Notices; however, if the Program has interactive + interfaces that do not display Appropriate Legal Notices, your + work need not make them do so. + + A compilation of a covered work with other separate and independent +works, which are not by their nature extensions of the covered work, +and which are not combined with it such as to form a larger program, +in or on a volume of a storage or distribution medium, is called an +"aggregate" if the compilation and its resulting copyright are not +used to limit the access or legal rights of the compilation's users +beyond what the individual works permit. Inclusion of a covered work +in an aggregate does not cause this License to apply to the other +parts of the aggregate. + + 6. Conveying Non-Source Forms. + + You may convey a covered work in object code form under the terms +of sections 4 and 5, provided that you also convey the +machine-readable Corresponding Source under the terms of this License, +in one of these ways: + + a) Convey the object code in, or embodied in, a physical product + (including a physical distribution medium), accompanied by the + Corresponding Source fixed on a durable physical medium + customarily used for software interchange. + + b) Convey the object code in, or embodied in, a physical product + (including a physical distribution medium), accompanied by a + written offer, valid for at least three years and valid for as + long as you offer spare parts or customer support for that product + model, to give anyone who possesses the object code either (1) a + copy of the Corresponding Source for all the software in the + product that is covered by this License, on a durable physical + medium customarily used for software interchange, for a price no + more than your reasonable cost of physically performing this + conveying of source, or (2) access to copy the + Corresponding Source from a network server at no charge. + + c) Convey individual copies of the object code with a copy of the + written offer to provide the Corresponding Source. This + alternative is allowed only occasionally and noncommercially, and + only if you received the object code with such an offer, in accord + with subsection 6b. + + d) Convey the object code by offering access from a designated + place (gratis or for a charge), and offer equivalent access to the + Corresponding Source in the same way through the same place at no + further charge. You need not require recipients to copy the + Corresponding Source along with the object code. If the place to + copy the object code is a network server, the Corresponding Source + may be on a different server (operated by you or a third party) + that supports equivalent copying facilities, provided you maintain + clear directions next to the object code saying where to find the + Corresponding Source. Regardless of what server hosts the + Corresponding Source, you remain obligated to ensure that it is + available for as long as needed to satisfy these requirements. + + e) Convey the object code using peer-to-peer transmission, provided + you inform other peers where the object code and Corresponding + Source of the work are being offered to the general public at no + charge under subsection 6d. + + A separable portion of the object code, whose source code is excluded +from the Corresponding Source as a System Library, need not be +included in conveying the object code work. + + A "User Product" is either (1) a "consumer product", which means any +tangible personal property which is normally used for personal, family, +or household purposes, or (2) anything designed or sold for incorporation +into a dwelling. In determining whether a product is a consumer product, +doubtful cases shall be resolved in favor of coverage. For a particular +product received by a particular user, "normally used" refers to a +typical or common use of that class of product, regardless of the status +of the particular user or of the way in which the particular user +actually uses, or expects or is expected to use, the product. A product +is a consumer product regardless of whether the product has substantial +commercial, industrial or non-consumer uses, unless such uses represent +the only significant mode of use of the product. + + "Installation Information" for a User Product means any methods, +procedures, authorization keys, or other information required to install +and execute modified versions of a covered work in that User Product from +a modified version of its Corresponding Source. The information must +suffice to ensure that the continued functioning of the modified object +code is in no case prevented or interfered with solely because +modification has been made. + + If you convey an object code work under this section in, or with, or +specifically for use in, a User Product, and the conveying occurs as +part of a transaction in which the right of possession and use of the +User Product is transferred to the recipient in perpetuity or for a +fixed term (regardless of how the transaction is characterized), the +Corresponding Source conveyed under this section must be accompanied +by the Installation Information. But this requirement does not apply +if neither you nor any third party retains the ability to install +modified object code on the User Product (for example, the work has +been installed in ROM). + + The requirement to provide Installation Information does not include a +requirement to continue to provide support service, warranty, or updates +for a work that has been modified or installed by the recipient, or for +the User Product in which it has been modified or installed. Access to a +network may be denied when the modification itself materially and +adversely affects the operation of the network or violates the rules and +protocols for communication across the network. + + Corresponding Source conveyed, and Installation Information provided, +in accord with this section must be in a format that is publicly +documented (and with an implementation available to the public in +source code form), and must require no special password or key for +unpacking, reading or copying. + + 7. Additional Terms. + + "Additional permissions" are terms that supplement the terms of this +License by making exceptions from one or more of its conditions. +Additional permissions that are applicable to the entire Program shall +be treated as though they were included in this License, to the extent +that they are valid under applicable law. If additional permissions +apply only to part of the Program, that part may be used separately +under those permissions, but the entire Program remains governed by +this License without regard to the additional permissions. + + When you convey a copy of a covered work, you may at your option +remove any additional permissions from that copy, or from any part of +it. (Additional permissions may be written to require their own +removal in certain cases when you modify the work.) You may place +additional permissions on material, added by you to a covered work, +for which you have or can give appropriate copyright permission. + + Notwithstanding any other provision of this License, for material you +add to a covered work, you may (if authorized by the copyright holders of +that material) supplement the terms of this License with terms: + + a) Disclaiming warranty or limiting liability differently from the + terms of sections 15 and 16 of this License; or + + b) Requiring preservation of specified reasonable legal notices or + author attributions in that material or in the Appropriate Legal + Notices displayed by works containing it; or + + c) Prohibiting misrepresentation of the origin of that material, or + requiring that modified versions of such material be marked in + reasonable ways as different from the original version; or + + d) Limiting the use for publicity purposes of names of licensors or + authors of the material; or + + e) Declining to grant rights under trademark law for use of some + trade names, trademarks, or service marks; or + + f) Requiring indemnification of licensors and authors of that + material by anyone who conveys the material (or modified versions of + it) with contractual assumptions of liability to the recipient, for + any liability that these contractual assumptions directly impose on + those licensors and authors. + + All other non-permissive additional terms are considered "further +restrictions" within the meaning of section 10. If the Program as you +received it, or any part of it, contains a notice stating that it is +governed by this License along with a term that is a further +restriction, you may remove that term. If a license document contains +a further restriction but permits relicensing or conveying under this +License, you may add to a covered work material governed by the terms +of that license document, provided that the further restriction does +not survive such relicensing or conveying. + + If you add terms to a covered work in accord with this section, you +must place, in the relevant source files, a statement of the +additional terms that apply to those files, or a notice indicating +where to find the applicable terms. + + Additional terms, permissive or non-permissive, may be stated in the +form of a separately written license, or stated as exceptions; +the above requirements apply either way. + + 8. Termination. + + You may not propagate or modify a covered work except as expressly +provided under this License. Any attempt otherwise to propagate or +modify it is void, and will automatically terminate your rights under +this License (including any patent licenses granted under the third +paragraph of section 11). + + However, if you cease all violation of this License, then your +license from a particular copyright holder is reinstated (a) +provisionally, unless and until the copyright holder explicitly and +finally terminates your license, and (b) permanently, if the copyright +holder fails to notify you of the violation by some reasonable means +prior to 60 days after the cessation. + + Moreover, your license from a particular copyright holder is +reinstated permanently if the copyright holder notifies you of the +violation by some reasonable means, this is the first time you have +received notice of violation of this License (for any work) from that +copyright holder, and you cure the violation prior to 30 days after +your receipt of the notice. + + Termination of your rights under this section does not terminate the +licenses of parties who have received copies or rights from you under +this License. If your rights have been terminated and not permanently +reinstated, you do not qualify to receive new licenses for the same +material under section 10. + + 9. Acceptance Not Required for Having Copies. + + You are not required to accept this License in order to receive or +run a copy of the Program. Ancillary propagation of a covered work +occurring solely as a consequence of using peer-to-peer transmission +to receive a copy likewise does not require acceptance. However, +nothing other than this License grants you permission to propagate or +modify any covered work. These actions infringe copyright if you do +not accept this License. Therefore, by modifying or propagating a +covered work, you indicate your acceptance of this License to do so. + + 10. Automatic Licensing of Downstream Recipients. + + Each time you convey a covered work, the recipient automatically +receives a license from the original licensors, to run, modify and +propagate that work, subject to this License. You are not responsible +for enforcing compliance by third parties with this License. + + An "entity transaction" is a transaction transferring control of an +organization, or substantially all assets of one, or subdividing an +organization, or merging organizations. If propagation of a covered +work results from an entity transaction, each party to that +transaction who receives a copy of the work also receives whatever +licenses to the work the party's predecessor in interest had or could +give under the previous paragraph, plus a right to possession of the +Corresponding Source of the work from the predecessor in interest, if +the predecessor has it or can get it with reasonable efforts. + + You may not impose any further restrictions on the exercise of the +rights granted or affirmed under this License. For example, you may +not impose a license fee, royalty, or other charge for exercise of +rights granted under this License, and you may not initiate litigation +(including a cross-claim or counterclaim in a lawsuit) alleging that +any patent claim is infringed by making, using, selling, offering for +sale, or importing the Program or any portion of it. + + 11. Patents. + + A "contributor" is a copyright holder who authorizes use under this +License of the Program or a work on which the Program is based. The +work thus licensed is called the contributor's "contributor version". + + A contributor's "essential patent claims" are all patent claims +owned or controlled by the contributor, whether already acquired or +hereafter acquired, that would be infringed by some manner, permitted +by this License, of making, using, or selling its contributor version, +but do not include claims that would be infringed only as a +consequence of further modification of the contributor version. For +purposes of this definition, "control" includes the right to grant +patent sublicenses in a manner consistent with the requirements of +this License. + + Each contributor grants you a non-exclusive, worldwide, royalty-free +patent license under the contributor's essential patent claims, to +make, use, sell, offer for sale, import and otherwise run, modify and +propagate the contents of its contributor version. + + In the following three paragraphs, a "patent license" is any express +agreement or commitment, however denominated, not to enforce a patent +(such as an express permission to practice a patent or covenant not to +sue for patent infringement). To "grant" such a patent license to a +party means to make such an agreement or commitment not to enforce a +patent against the party. + + If you convey a covered work, knowingly relying on a patent license, +and the Corresponding Source of the work is not available for anyone +to copy, free of charge and under the terms of this License, through a +publicly available network server or other readily accessible means, +then you must either (1) cause the Corresponding Source to be so +available, or (2) arrange to deprive yourself of the benefit of the +patent license for this particular work, or (3) arrange, in a manner +consistent with the requirements of this License, to extend the patent +license to downstream recipients. "Knowingly relying" means you have +actual knowledge that, but for the patent license, your conveying the +covered work in a country, or your recipient's use of the covered work +in a country, would infringe one or more identifiable patents in that +country that you have reason to believe are valid. + + If, pursuant to or in connection with a single transaction or +arrangement, you convey, or propagate by procuring conveyance of, a +covered work, and grant a patent license to some of the parties +receiving the covered work authorizing them to use, propagate, modify +or convey a specific copy of the covered work, then the patent license +you grant is automatically extended to all recipients of the covered +work and works based on it. + + A patent license is "discriminatory" if it does not include within +the scope of its coverage, prohibits the exercise of, or is +conditioned on the non-exercise of one or more of the rights that are +specifically granted under this License. You may not convey a covered +work if you are a party to an arrangement with a third party that is +in the business of distributing software, under which you make payment +to the third party based on the extent of your activity of conveying +the work, and under which the third party grants, to any of the +parties who would receive the covered work from you, a discriminatory +patent license (a) in connection with copies of the covered work +conveyed by you (or copies made from those copies), or (b) primarily +for and in connection with specific products or compilations that +contain the covered work, unless you entered into that arrangement, +or that patent license was granted, prior to 28 March 2007. + + Nothing in this License shall be construed as excluding or limiting +any implied license or other defenses to infringement that may +otherwise be available to you under applicable patent law. + + 12. No Surrender of Others' Freedom. + + If conditions are imposed on you (whether by court order, agreement or +otherwise) that contradict the conditions of this License, they do not +excuse you from the conditions of this License. If you cannot convey a +covered work so as to satisfy simultaneously your obligations under this +License and any other pertinent obligations, then as a consequence you may +not convey it at all. For example, if you agree to terms that obligate you +to collect a royalty for further conveying from those to whom you convey +the Program, the only way you could satisfy both those terms and this +License would be to refrain entirely from conveying the Program. + + 13. Use with the GNU Affero General Public License. + + Notwithstanding any other provision of this License, you have +permission to link or combine any covered work with a work licensed +under version 3 of the GNU Affero General Public License into a single +combined work, and to convey the resulting work. The terms of this +License will continue to apply to the part which is the covered work, +but the special requirements of the GNU Affero General Public License, +section 13, concerning interaction through a network will apply to the +combination as such. + + 14. Revised Versions of this License. + + The Free Software Foundation may publish revised and/or new versions of +the GNU General Public License from time to time. Such new versions will +be similar in spirit to the present version, but may differ in detail to +address new problems or concerns. + + Each version is given a distinguishing version number. If the +Program specifies that a certain numbered version of the GNU General +Public License "or any later version" applies to it, you have the +option of following the terms and conditions either of that numbered +version or of any later version published by the Free Software +Foundation. If the Program does not specify a version number of the +GNU General Public License, you may choose any version ever published +by the Free Software Foundation. + + If the Program specifies that a proxy can decide which future +versions of the GNU General Public License can be used, that proxy's +public statement of acceptance of a version permanently authorizes you +to choose that version for the Program. + + Later license versions may give you additional or different +permissions. However, no additional obligations are imposed on any +author or copyright holder as a result of your choosing to follow a +later version. + + 15. Disclaimer of Warranty. + + THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY +APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT +HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY +OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, +THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR +PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM +IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF +ALL NECESSARY SERVICING, REPAIR OR CORRECTION. + + 16. Limitation of Liability. + + IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING +WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS +THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY +GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE +USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF +DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD +PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), +EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF +SUCH DAMAGES. + + 17. Interpretation of Sections 15 and 16. + + If the disclaimer of warranty and limitation of liability provided +above cannot be given local legal effect according to their terms, +reviewing courts shall apply local law that most closely approximates +an absolute waiver of all civil liability in connection with the +Program, unless a warranty or assumption of liability accompanies a +copy of the Program in return for a fee. + + END OF TERMS AND CONDITIONS + + How to Apply These Terms to Your New Programs + + If you develop a new program, and you want it to be of the greatest +possible use to the public, the best way to achieve this is to make it +free software which everyone can redistribute and change under these terms. + + To do so, attach the following notices to the program. It is safest +to attach them to the start of each source file to most effectively +state the exclusion of warranty; and each file should have at least +the "copyright" line and a pointer to where the full notice is found. + + {one line to give the program's name and a brief idea of what it does.} + Copyright (C) {year} {name of author} + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see . + +Also add information on how to contact you by electronic and paper mail. + + If the program does terminal interaction, make it output a short +notice like this when it starts in an interactive mode: + + {project} Copyright (C) {year} {fullname} + This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'. + This is free software, and you are welcome to redistribute it + under certain conditions; type `show c' for details. + +The hypothetical commands `show w' and `show c' should show the appropriate +parts of the General Public License. Of course, your program's commands +might be different; for a GUI interface, you would use an "about box". + + You should also get your employer (if you work as a programmer) or school, +if any, to sign a "copyright disclaimer" for the program, if necessary. +For more information on this, and how to apply and follow the GNU GPL, see +. + + The GNU General Public License does not permit incorporating your program +into proprietary programs. If your program is a subroutine library, you +may consider it more useful to permit linking proprietary applications with +the library. If this is what you want to do, use the GNU Lesser General +Public License instead of this License. But first, please read +. diff --git a/plugins/lovata/toolbox/vendor/kharanenka/laravel-cache-helper/README.md b/plugins/lovata/toolbox/vendor/kharanenka/laravel-cache-helper/README.md new file mode 100644 index 000000000..1d7550a63 --- /dev/null +++ b/plugins/lovata/toolbox/vendor/kharanenka/laravel-cache-helper/README.md @@ -0,0 +1,12 @@ +# Class CCache + + Cache helper for default laravel cache class + +#Installation +Require this package in your `composer.json` and update composer. + +```php + +"kharanenka/laravel-cache-helper": "1.0.*" + +``` \ No newline at end of file diff --git a/plugins/lovata/toolbox/vendor/kharanenka/laravel-cache-helper/composer.json b/plugins/lovata/toolbox/vendor/kharanenka/laravel-cache-helper/composer.json new file mode 100644 index 000000000..5599bdf59 --- /dev/null +++ b/plugins/lovata/toolbox/vendor/kharanenka/laravel-cache-helper/composer.json @@ -0,0 +1,29 @@ +{ + "name": "kharanenka/laravel-cache-helper", + "description": "Cache helper for default laravel cache class", + "license": "GPL-3.0", + "keywords": [ + "php", + "laravel", + "OctoberCMS", + "cache" + ], + "authors": [ + { + "name": "Andrey Kharanenka", + "email": "kharanenka@gmail.com" + } + ], + "version": "1.0.2", + "require": { + "php": ">=5.6" + }, + "autoload": { + "classmap": [ + "src/Kharanenka/Helper" + ], + "psr-0": { + "Kharanenka\\Helper\\": "src/" + } + } +} \ No newline at end of file diff --git a/plugins/lovata/toolbox/vendor/kharanenka/laravel-cache-helper/src/Kharanenka/Helper/CCache.php b/plugins/lovata/toolbox/vendor/kharanenka/laravel-cache-helper/src/Kharanenka/Helper/CCache.php new file mode 100644 index 000000000..85e00aba2 --- /dev/null +++ b/plugins/lovata/toolbox/vendor/kharanenka/laravel-cache-helper/src/Kharanenka/Helper/CCache.php @@ -0,0 +1,121 @@ +get($sKeys); + } else { + $sKeys = implode('_', $arTags).'_'.$sKeys; + } + } + + return Cache::get($sKeys); + } + + /** + * Has cache value + * @param array $arTags + * @param string $sKeys + * @return string|null + */ + public static function has($arTags, $sKeys) + { + $sCacheDriver = config('cache.default'); + if(!empty($arTags)) { + if($sCacheDriver == 'redis') { + return Cache::tags($arTags)->has($sKeys); + } else { + $sKeys = implode('_', $arTags).'_'.$sKeys; + } + } + + return Cache::has($sKeys); + } + + /** + * Put cache data + * @param array $arTags + * @param string $sKeys + * @param mixed $arValue + * @param int $iMinute + */ + public static function put($arTags, $sKeys, &$arValue, $iMinute) + { + $obDate = Carbon::now()->addMinute($iMinute); + + $sCacheDriver = config('cache.default'); + if(!empty($arTags)) { + if($sCacheDriver == 'redis') { + Cache::tags($arTags)->put($sKeys, $arValue, $obDate); + return; + } else { + $sKeys = implode('_', $arTags).'_'.$sKeys; + } + } + + Cache::put($sKeys, $arValue, $obDate); + } + + /** + * Forever cache data + * @param array $arTags + * @param string $sKeys + * @param mixed $arValue + */ + public static function forever($arTags, $sKeys, &$arValue) + { + $sCacheDriver = config('cache.default'); + if(!empty($arTags)) { + if($sCacheDriver == 'redis') { + Cache::tags($arTags)->forever($sKeys, $arValue); + return; + } else { + $sKeys = implode('_', $arTags).'_'.$sKeys; + } + } + + Cache::forever($sKeys, $arValue); + } + + /** + * Clear cache data + * @param array $arTags + * @param string $sKeys + */ + public static function clear($arTags, $sKeys = null) + { + $sCacheDriver = config('cache.default'); + if(!empty($arTags)) { + if($sCacheDriver == 'redis') { + if(!empty($sKeys)) { + Cache::tags($arTags)->forget($sKeys); + } else { + Cache::tags($arTags)->flush(); + } + } else { + $sKeys = implode('_', $arTags).'_'.$sKeys; + Cache::forget($sKeys); + } + } + } +} \ No newline at end of file diff --git a/plugins/lovata/toolbox/vendor/kharanenka/laravel-scope-active/.gitignore b/plugins/lovata/toolbox/vendor/kharanenka/laravel-scope-active/.gitignore new file mode 100644 index 000000000..1e06577ef --- /dev/null +++ b/plugins/lovata/toolbox/vendor/kharanenka/laravel-scope-active/.gitignore @@ -0,0 +1,88 @@ +/node_modules +Homestead.yaml + +#site +pdf/ +_backup/ +cgi-bin/ + +*.log +*.bin +*.komodoproject +/.komodotools/ + +# PhpStorm +.idea + +# Eclipse +*.pydevproject +.project +.metadata +bin/** +tmp/** +tmp/**/* +*.tmp +*.bak +*.swp +*~.nib +local.properties +.classpath +.settings/ +.loadpath +.externalToolBuilders/ +*.launch +.cproject +.buildpath + +# SublimeText +/*.sublime-project +*.sublime-workspace + +# NetBeans +nbproject/ +build/ +nbbuild/ +dist/ +nbdist/ +nbactions.xml +nb-configuration.xml + +# Windows system files +$RECYCLE.BIN/ +Thumbs.db +ehthumbs.db +Desktop.ini + +# OSX system files +.DS_store +.AppleDouble +.LSOverride +Icon +._* +.Spotlight-V100 +.Trashes + +# SVN/CVS +.svn +/CVS/* +*/CVS/* +.cvsignore +*/.cvsignore + +# temporary files/folders + +tmp* +~* +*.~* +*.bak +*.swp + +build/ +png/ +psd/ +doc/ +svg/ +vendors/ +pixelPerfect/ +node_modules/ +docs/ \ No newline at end of file diff --git a/plugins/lovata/toolbox/vendor/kharanenka/laravel-scope-active/LICENSE b/plugins/lovata/toolbox/vendor/kharanenka/laravel-scope-active/LICENSE new file mode 100644 index 000000000..9cecc1d46 --- /dev/null +++ b/plugins/lovata/toolbox/vendor/kharanenka/laravel-scope-active/LICENSE @@ -0,0 +1,674 @@ + GNU GENERAL PUBLIC LICENSE + Version 3, 29 June 2007 + + Copyright (C) 2007 Free Software Foundation, Inc. + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + + Preamble + + The GNU General Public License is a free, copyleft license for +software and other kinds of works. + + The licenses for most software and other practical works are designed +to take away your freedom to share and change the works. By contrast, +the GNU General Public License is intended to guarantee your freedom to +share and change all versions of a program--to make sure it remains free +software for all its users. We, the Free Software Foundation, use the +GNU General Public License for most of our software; it applies also to +any other work released this way by its authors. You can apply it to +your programs, too. + + When we speak of free software, we are referring to freedom, not +price. Our General Public Licenses are designed to make sure that you +have the freedom to distribute copies of free software (and charge for +them if you wish), that you receive source code or can get it if you +want it, that you can change the software or use pieces of it in new +free programs, and that you know you can do these things. + + To protect your rights, we need to prevent others from denying you +these rights or asking you to surrender the rights. Therefore, you have +certain responsibilities if you distribute copies of the software, or if +you modify it: responsibilities to respect the freedom of others. + + For example, if you distribute copies of such a program, whether +gratis or for a fee, you must pass on to the recipients the same +freedoms that you received. You must make sure that they, too, receive +or can get the source code. And you must show them these terms so they +know their rights. + + Developers that use the GNU GPL protect your rights with two steps: +(1) assert copyright on the software, and (2) offer you this License +giving you legal permission to copy, distribute and/or modify it. + + For the developers' and authors' protection, the GPL clearly explains +that there is no warranty for this free software. For both users' and +authors' sake, the GPL requires that modified versions be marked as +changed, so that their problems will not be attributed erroneously to +authors of previous versions. + + Some devices are designed to deny users access to install or run +modified versions of the software inside them, although the manufacturer +can do so. This is fundamentally incompatible with the aim of +protecting users' freedom to change the software. The systematic +pattern of such abuse occurs in the area of products for individuals to +use, which is precisely where it is most unacceptable. Therefore, we +have designed this version of the GPL to prohibit the practice for those +products. If such problems arise substantially in other domains, we +stand ready to extend this provision to those domains in future versions +of the GPL, as needed to protect the freedom of users. + + Finally, every program is threatened constantly by software patents. +States should not allow patents to restrict development and use of +software on general-purpose computers, but in those that do, we wish to +avoid the special danger that patents applied to a free program could +make it effectively proprietary. To prevent this, the GPL assures that +patents cannot be used to render the program non-free. + + The precise terms and conditions for copying, distribution and +modification follow. + + TERMS AND CONDITIONS + + 0. Definitions. + + "This License" refers to version 3 of the GNU General Public License. + + "Copyright" also means copyright-like laws that apply to other kinds of +works, such as semiconductor masks. + + "The Program" refers to any copyrightable work licensed under this +License. Each licensee is addressed as "you". "Licensees" and +"recipients" may be individuals or organizations. + + To "modify" a work means to copy from or adapt all or part of the work +in a fashion requiring copyright permission, other than the making of an +exact copy. The resulting work is called a "modified version" of the +earlier work or a work "based on" the earlier work. + + A "covered work" means either the unmodified Program or a work based +on the Program. + + To "propagate" a work means to do anything with it that, without +permission, would make you directly or secondarily liable for +infringement under applicable copyright law, except executing it on a +computer or modifying a private copy. Propagation includes copying, +distribution (with or without modification), making available to the +public, and in some countries other activities as well. + + To "convey" a work means any kind of propagation that enables other +parties to make or receive copies. Mere interaction with a user through +a computer network, with no transfer of a copy, is not conveying. + + An interactive user interface displays "Appropriate Legal Notices" +to the extent that it includes a convenient and prominently visible +feature that (1) displays an appropriate copyright notice, and (2) +tells the user that there is no warranty for the work (except to the +extent that warranties are provided), that licensees may convey the +work under this License, and how to view a copy of this License. If +the interface presents a list of user commands or options, such as a +menu, a prominent item in the list meets this criterion. + + 1. Source Code. + + The "source code" for a work means the preferred form of the work +for making modifications to it. "Object code" means any non-source +form of a work. + + A "Standard Interface" means an interface that either is an official +standard defined by a recognized standards body, or, in the case of +interfaces specified for a particular programming language, one that +is widely used among developers working in that language. + + The "System Libraries" of an executable work include anything, other +than the work as a whole, that (a) is included in the normal form of +packaging a Major Component, but which is not part of that Major +Component, and (b) serves only to enable use of the work with that +Major Component, or to implement a Standard Interface for which an +implementation is available to the public in source code form. A +"Major Component", in this context, means a major essential component +(kernel, window system, and so on) of the specific operating system +(if any) on which the executable work runs, or a compiler used to +produce the work, or an object code interpreter used to run it. + + The "Corresponding Source" for a work in object code form means all +the source code needed to generate, install, and (for an executable +work) run the object code and to modify the work, including scripts to +control those activities. However, it does not include the work's +System Libraries, or general-purpose tools or generally available free +programs which are used unmodified in performing those activities but +which are not part of the work. For example, Corresponding Source +includes interface definition files associated with source files for +the work, and the source code for shared libraries and dynamically +linked subprograms that the work is specifically designed to require, +such as by intimate data communication or control flow between those +subprograms and other parts of the work. + + The Corresponding Source need not include anything that users +can regenerate automatically from other parts of the Corresponding +Source. + + The Corresponding Source for a work in source code form is that +same work. + + 2. Basic Permissions. + + All rights granted under this License are granted for the term of +copyright on the Program, and are irrevocable provided the stated +conditions are met. This License explicitly affirms your unlimited +permission to run the unmodified Program. The output from running a +covered work is covered by this License only if the output, given its +content, constitutes a covered work. This License acknowledges your +rights of fair use or other equivalent, as provided by copyright law. + + You may make, run and propagate covered works that you do not +convey, without conditions so long as your license otherwise remains +in force. You may convey covered works to others for the sole purpose +of having them make modifications exclusively for you, or provide you +with facilities for running those works, provided that you comply with +the terms of this License in conveying all material for which you do +not control copyright. Those thus making or running the covered works +for you must do so exclusively on your behalf, under your direction +and control, on terms that prohibit them from making any copies of +your copyrighted material outside their relationship with you. + + Conveying under any other circumstances is permitted solely under +the conditions stated below. Sublicensing is not allowed; section 10 +makes it unnecessary. + + 3. Protecting Users' Legal Rights From Anti-Circumvention Law. + + No covered work shall be deemed part of an effective technological +measure under any applicable law fulfilling obligations under article +11 of the WIPO copyright treaty adopted on 20 December 1996, or +similar laws prohibiting or restricting circumvention of such +measures. + + When you convey a covered work, you waive any legal power to forbid +circumvention of technological measures to the extent such circumvention +is effected by exercising rights under this License with respect to +the covered work, and you disclaim any intention to limit operation or +modification of the work as a means of enforcing, against the work's +users, your or third parties' legal rights to forbid circumvention of +technological measures. + + 4. Conveying Verbatim Copies. + + You may convey verbatim copies of the Program's source code as you +receive it, in any medium, provided that you conspicuously and +appropriately publish on each copy an appropriate copyright notice; +keep intact all notices stating that this License and any +non-permissive terms added in accord with section 7 apply to the code; +keep intact all notices of the absence of any warranty; and give all +recipients a copy of this License along with the Program. + + You may charge any price or no price for each copy that you convey, +and you may offer support or warranty protection for a fee. + + 5. Conveying Modified Source Versions. + + You may convey a work based on the Program, or the modifications to +produce it from the Program, in the form of source code under the +terms of section 4, provided that you also meet all of these conditions: + + a) The work must carry prominent notices stating that you modified + it, and giving a relevant date. + + b) The work must carry prominent notices stating that it is + released under this License and any conditions added under section + 7. This requirement modifies the requirement in section 4 to + "keep intact all notices". + + c) You must license the entire work, as a whole, under this + License to anyone who comes into possession of a copy. This + License will therefore apply, along with any applicable section 7 + additional terms, to the whole of the work, and all its parts, + regardless of how they are packaged. This License gives no + permission to license the work in any other way, but it does not + invalidate such permission if you have separately received it. + + d) If the work has interactive user interfaces, each must display + Appropriate Legal Notices; however, if the Program has interactive + interfaces that do not display Appropriate Legal Notices, your + work need not make them do so. + + A compilation of a covered work with other separate and independent +works, which are not by their nature extensions of the covered work, +and which are not combined with it such as to form a larger program, +in or on a volume of a storage or distribution medium, is called an +"aggregate" if the compilation and its resulting copyright are not +used to limit the access or legal rights of the compilation's users +beyond what the individual works permit. Inclusion of a covered work +in an aggregate does not cause this License to apply to the other +parts of the aggregate. + + 6. Conveying Non-Source Forms. + + You may convey a covered work in object code form under the terms +of sections 4 and 5, provided that you also convey the +machine-readable Corresponding Source under the terms of this License, +in one of these ways: + + a) Convey the object code in, or embodied in, a physical product + (including a physical distribution medium), accompanied by the + Corresponding Source fixed on a durable physical medium + customarily used for software interchange. + + b) Convey the object code in, or embodied in, a physical product + (including a physical distribution medium), accompanied by a + written offer, valid for at least three years and valid for as + long as you offer spare parts or customer support for that product + model, to give anyone who possesses the object code either (1) a + copy of the Corresponding Source for all the software in the + product that is covered by this License, on a durable physical + medium customarily used for software interchange, for a price no + more than your reasonable cost of physically performing this + conveying of source, or (2) access to copy the + Corresponding Source from a network server at no charge. + + c) Convey individual copies of the object code with a copy of the + written offer to provide the Corresponding Source. This + alternative is allowed only occasionally and noncommercially, and + only if you received the object code with such an offer, in accord + with subsection 6b. + + d) Convey the object code by offering access from a designated + place (gratis or for a charge), and offer equivalent access to the + Corresponding Source in the same way through the same place at no + further charge. You need not require recipients to copy the + Corresponding Source along with the object code. If the place to + copy the object code is a network server, the Corresponding Source + may be on a different server (operated by you or a third party) + that supports equivalent copying facilities, provided you maintain + clear directions next to the object code saying where to find the + Corresponding Source. Regardless of what server hosts the + Corresponding Source, you remain obligated to ensure that it is + available for as long as needed to satisfy these requirements. + + e) Convey the object code using peer-to-peer transmission, provided + you inform other peers where the object code and Corresponding + Source of the work are being offered to the general public at no + charge under subsection 6d. + + A separable portion of the object code, whose source code is excluded +from the Corresponding Source as a System Library, need not be +included in conveying the object code work. + + A "User Product" is either (1) a "consumer product", which means any +tangible personal property which is normally used for personal, family, +or household purposes, or (2) anything designed or sold for incorporation +into a dwelling. In determining whether a product is a consumer product, +doubtful cases shall be resolved in favor of coverage. For a particular +product received by a particular user, "normally used" refers to a +typical or common use of that class of product, regardless of the status +of the particular user or of the way in which the particular user +actually uses, or expects or is expected to use, the product. A product +is a consumer product regardless of whether the product has substantial +commercial, industrial or non-consumer uses, unless such uses represent +the only significant mode of use of the product. + + "Installation Information" for a User Product means any methods, +procedures, authorization keys, or other information required to install +and execute modified versions of a covered work in that User Product from +a modified version of its Corresponding Source. The information must +suffice to ensure that the continued functioning of the modified object +code is in no case prevented or interfered with solely because +modification has been made. + + If you convey an object code work under this section in, or with, or +specifically for use in, a User Product, and the conveying occurs as +part of a transaction in which the right of possession and use of the +User Product is transferred to the recipient in perpetuity or for a +fixed term (regardless of how the transaction is characterized), the +Corresponding Source conveyed under this section must be accompanied +by the Installation Information. But this requirement does not apply +if neither you nor any third party retains the ability to install +modified object code on the User Product (for example, the work has +been installed in ROM). + + The requirement to provide Installation Information does not include a +requirement to continue to provide support service, warranty, or updates +for a work that has been modified or installed by the recipient, or for +the User Product in which it has been modified or installed. Access to a +network may be denied when the modification itself materially and +adversely affects the operation of the network or violates the rules and +protocols for communication across the network. + + Corresponding Source conveyed, and Installation Information provided, +in accord with this section must be in a format that is publicly +documented (and with an implementation available to the public in +source code form), and must require no special password or key for +unpacking, reading or copying. + + 7. Additional Terms. + + "Additional permissions" are terms that supplement the terms of this +License by making exceptions from one or more of its conditions. +Additional permissions that are applicable to the entire Program shall +be treated as though they were included in this License, to the extent +that they are valid under applicable law. If additional permissions +apply only to part of the Program, that part may be used separately +under those permissions, but the entire Program remains governed by +this License without regard to the additional permissions. + + When you convey a copy of a covered work, you may at your option +remove any additional permissions from that copy, or from any part of +it. (Additional permissions may be written to require their own +removal in certain cases when you modify the work.) You may place +additional permissions on material, added by you to a covered work, +for which you have or can give appropriate copyright permission. + + Notwithstanding any other provision of this License, for material you +add to a covered work, you may (if authorized by the copyright holders of +that material) supplement the terms of this License with terms: + + a) Disclaiming warranty or limiting liability differently from the + terms of sections 15 and 16 of this License; or + + b) Requiring preservation of specified reasonable legal notices or + author attributions in that material or in the Appropriate Legal + Notices displayed by works containing it; or + + c) Prohibiting misrepresentation of the origin of that material, or + requiring that modified versions of such material be marked in + reasonable ways as different from the original version; or + + d) Limiting the use for publicity purposes of names of licensors or + authors of the material; or + + e) Declining to grant rights under trademark law for use of some + trade names, trademarks, or service marks; or + + f) Requiring indemnification of licensors and authors of that + material by anyone who conveys the material (or modified versions of + it) with contractual assumptions of liability to the recipient, for + any liability that these contractual assumptions directly impose on + those licensors and authors. + + All other non-permissive additional terms are considered "further +restrictions" within the meaning of section 10. If the Program as you +received it, or any part of it, contains a notice stating that it is +governed by this License along with a term that is a further +restriction, you may remove that term. If a license document contains +a further restriction but permits relicensing or conveying under this +License, you may add to a covered work material governed by the terms +of that license document, provided that the further restriction does +not survive such relicensing or conveying. + + If you add terms to a covered work in accord with this section, you +must place, in the relevant source files, a statement of the +additional terms that apply to those files, or a notice indicating +where to find the applicable terms. + + Additional terms, permissive or non-permissive, may be stated in the +form of a separately written license, or stated as exceptions; +the above requirements apply either way. + + 8. Termination. + + You may not propagate or modify a covered work except as expressly +provided under this License. Any attempt otherwise to propagate or +modify it is void, and will automatically terminate your rights under +this License (including any patent licenses granted under the third +paragraph of section 11). + + However, if you cease all violation of this License, then your +license from a particular copyright holder is reinstated (a) +provisionally, unless and until the copyright holder explicitly and +finally terminates your license, and (b) permanently, if the copyright +holder fails to notify you of the violation by some reasonable means +prior to 60 days after the cessation. + + Moreover, your license from a particular copyright holder is +reinstated permanently if the copyright holder notifies you of the +violation by some reasonable means, this is the first time you have +received notice of violation of this License (for any work) from that +copyright holder, and you cure the violation prior to 30 days after +your receipt of the notice. + + Termination of your rights under this section does not terminate the +licenses of parties who have received copies or rights from you under +this License. If your rights have been terminated and not permanently +reinstated, you do not qualify to receive new licenses for the same +material under section 10. + + 9. Acceptance Not Required for Having Copies. + + You are not required to accept this License in order to receive or +run a copy of the Program. Ancillary propagation of a covered work +occurring solely as a consequence of using peer-to-peer transmission +to receive a copy likewise does not require acceptance. However, +nothing other than this License grants you permission to propagate or +modify any covered work. These actions infringe copyright if you do +not accept this License. Therefore, by modifying or propagating a +covered work, you indicate your acceptance of this License to do so. + + 10. Automatic Licensing of Downstream Recipients. + + Each time you convey a covered work, the recipient automatically +receives a license from the original licensors, to run, modify and +propagate that work, subject to this License. You are not responsible +for enforcing compliance by third parties with this License. + + An "entity transaction" is a transaction transferring control of an +organization, or substantially all assets of one, or subdividing an +organization, or merging organizations. If propagation of a covered +work results from an entity transaction, each party to that +transaction who receives a copy of the work also receives whatever +licenses to the work the party's predecessor in interest had or could +give under the previous paragraph, plus a right to possession of the +Corresponding Source of the work from the predecessor in interest, if +the predecessor has it or can get it with reasonable efforts. + + You may not impose any further restrictions on the exercise of the +rights granted or affirmed under this License. For example, you may +not impose a license fee, royalty, or other charge for exercise of +rights granted under this License, and you may not initiate litigation +(including a cross-claim or counterclaim in a lawsuit) alleging that +any patent claim is infringed by making, using, selling, offering for +sale, or importing the Program or any portion of it. + + 11. Patents. + + A "contributor" is a copyright holder who authorizes use under this +License of the Program or a work on which the Program is based. The +work thus licensed is called the contributor's "contributor version". + + A contributor's "essential patent claims" are all patent claims +owned or controlled by the contributor, whether already acquired or +hereafter acquired, that would be infringed by some manner, permitted +by this License, of making, using, or selling its contributor version, +but do not include claims that would be infringed only as a +consequence of further modification of the contributor version. For +purposes of this definition, "control" includes the right to grant +patent sublicenses in a manner consistent with the requirements of +this License. + + Each contributor grants you a non-exclusive, worldwide, royalty-free +patent license under the contributor's essential patent claims, to +make, use, sell, offer for sale, import and otherwise run, modify and +propagate the contents of its contributor version. + + In the following three paragraphs, a "patent license" is any express +agreement or commitment, however denominated, not to enforce a patent +(such as an express permission to practice a patent or covenant not to +sue for patent infringement). To "grant" such a patent license to a +party means to make such an agreement or commitment not to enforce a +patent against the party. + + If you convey a covered work, knowingly relying on a patent license, +and the Corresponding Source of the work is not available for anyone +to copy, free of charge and under the terms of this License, through a +publicly available network server or other readily accessible means, +then you must either (1) cause the Corresponding Source to be so +available, or (2) arrange to deprive yourself of the benefit of the +patent license for this particular work, or (3) arrange, in a manner +consistent with the requirements of this License, to extend the patent +license to downstream recipients. "Knowingly relying" means you have +actual knowledge that, but for the patent license, your conveying the +covered work in a country, or your recipient's use of the covered work +in a country, would infringe one or more identifiable patents in that +country that you have reason to believe are valid. + + If, pursuant to or in connection with a single transaction or +arrangement, you convey, or propagate by procuring conveyance of, a +covered work, and grant a patent license to some of the parties +receiving the covered work authorizing them to use, propagate, modify +or convey a specific copy of the covered work, then the patent license +you grant is automatically extended to all recipients of the covered +work and works based on it. + + A patent license is "discriminatory" if it does not include within +the scope of its coverage, prohibits the exercise of, or is +conditioned on the non-exercise of one or more of the rights that are +specifically granted under this License. You may not convey a covered +work if you are a party to an arrangement with a third party that is +in the business of distributing software, under which you make payment +to the third party based on the extent of your activity of conveying +the work, and under which the third party grants, to any of the +parties who would receive the covered work from you, a discriminatory +patent license (a) in connection with copies of the covered work +conveyed by you (or copies made from those copies), or (b) primarily +for and in connection with specific products or compilations that +contain the covered work, unless you entered into that arrangement, +or that patent license was granted, prior to 28 March 2007. + + Nothing in this License shall be construed as excluding or limiting +any implied license or other defenses to infringement that may +otherwise be available to you under applicable patent law. + + 12. No Surrender of Others' Freedom. + + If conditions are imposed on you (whether by court order, agreement or +otherwise) that contradict the conditions of this License, they do not +excuse you from the conditions of this License. If you cannot convey a +covered work so as to satisfy simultaneously your obligations under this +License and any other pertinent obligations, then as a consequence you may +not convey it at all. For example, if you agree to terms that obligate you +to collect a royalty for further conveying from those to whom you convey +the Program, the only way you could satisfy both those terms and this +License would be to refrain entirely from conveying the Program. + + 13. Use with the GNU Affero General Public License. + + Notwithstanding any other provision of this License, you have +permission to link or combine any covered work with a work licensed +under version 3 of the GNU Affero General Public License into a single +combined work, and to convey the resulting work. The terms of this +License will continue to apply to the part which is the covered work, +but the special requirements of the GNU Affero General Public License, +section 13, concerning interaction through a network will apply to the +combination as such. + + 14. Revised Versions of this License. + + The Free Software Foundation may publish revised and/or new versions of +the GNU General Public License from time to time. Such new versions will +be similar in spirit to the present version, but may differ in detail to +address new problems or concerns. + + Each version is given a distinguishing version number. If the +Program specifies that a certain numbered version of the GNU General +Public License "or any later version" applies to it, you have the +option of following the terms and conditions either of that numbered +version or of any later version published by the Free Software +Foundation. If the Program does not specify a version number of the +GNU General Public License, you may choose any version ever published +by the Free Software Foundation. + + If the Program specifies that a proxy can decide which future +versions of the GNU General Public License can be used, that proxy's +public statement of acceptance of a version permanently authorizes you +to choose that version for the Program. + + Later license versions may give you additional or different +permissions. However, no additional obligations are imposed on any +author or copyright holder as a result of your choosing to follow a +later version. + + 15. Disclaimer of Warranty. + + THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY +APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT +HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY +OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, +THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR +PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM +IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF +ALL NECESSARY SERVICING, REPAIR OR CORRECTION. + + 16. Limitation of Liability. + + IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING +WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS +THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY +GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE +USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF +DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD +PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), +EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF +SUCH DAMAGES. + + 17. Interpretation of Sections 15 and 16. + + If the disclaimer of warranty and limitation of liability provided +above cannot be given local legal effect according to their terms, +reviewing courts shall apply local law that most closely approximates +an absolute waiver of all civil liability in connection with the +Program, unless a warranty or assumption of liability accompanies a +copy of the Program in return for a fee. + + END OF TERMS AND CONDITIONS + + How to Apply These Terms to Your New Programs + + If you develop a new program, and you want it to be of the greatest +possible use to the public, the best way to achieve this is to make it +free software which everyone can redistribute and change under these terms. + + To do so, attach the following notices to the program. It is safest +to attach them to the start of each source file to most effectively +state the exclusion of warranty; and each file should have at least +the "copyright" line and a pointer to where the full notice is found. + + {one line to give the program's name and a brief idea of what it does.} + Copyright (C) {year} {name of author} + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see . + +Also add information on how to contact you by electronic and paper mail. + + If the program does terminal interaction, make it output a short +notice like this when it starts in an interactive mode: + + {project} Copyright (C) {year} {fullname} + This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'. + This is free software, and you are welcome to redistribute it + under certain conditions; type `show c' for details. + +The hypothetical commands `show w' and `show c' should show the appropriate +parts of the General Public License. Of course, your program's commands +might be different; for a GUI interface, you would use an "about box". + + You should also get your employer (if you work as a programmer) or school, +if any, to sign a "copyright disclaimer" for the program, if necessary. +For more information on this, and how to apply and follow the GNU GPL, see +. + + The GNU General Public License does not permit incorporating your program +into proprietary programs. If your program is a subroutine library, you +may consider it more useful to permit linking proprietary applications with +the library. If this is what you want to do, use the GNU Lesser General +Public License instead of this License. But first, please read +. diff --git a/plugins/lovata/toolbox/vendor/kharanenka/laravel-scope-active/README.md b/plugins/lovata/toolbox/vendor/kharanenka/laravel-scope-active/README.md new file mode 100644 index 000000000..8addfb753 --- /dev/null +++ b/plugins/lovata/toolbox/vendor/kharanenka/laravel-scope-active/README.md @@ -0,0 +1,30 @@ +# Trait ActiveField + + You can use trait in your models with "active" field (bool) + +#Installation +Require this package in your `composer.json` and update composer. + +```php + +"kharanenka/laravel-scope-active": "1.0.*" + +``` + +# Usage + +```php + + + class MyModel extend Model { + + use Kharanenka\Scope\ActiveField; + + ... + + } + + $obElement = MyModel::active()->first(); + $obElement = MyModel::notActive()->first(); + +``` \ No newline at end of file diff --git a/plugins/lovata/toolbox/vendor/kharanenka/laravel-scope-active/composer.json b/plugins/lovata/toolbox/vendor/kharanenka/laravel-scope-active/composer.json new file mode 100644 index 000000000..ef70ba6fc --- /dev/null +++ b/plugins/lovata/toolbox/vendor/kharanenka/laravel-scope-active/composer.json @@ -0,0 +1,32 @@ +{ + "name": "kharanenka/laravel-scope-active", + "description": "Scope for field 'active' (bool)", + "license": "GPL-3.0", + "keywords": [ + "php", + "laravel", + "OctoberCMS", + "model", + "scope", + "active", + "field" + ], + "authors": [ + { + "name": "Andrey Kharanenka", + "email": "kharanenka@gmail.com" + } + ], + "version": "1.0.3", + "require": { + "php": ">=5.6" + }, + "autoload": { + "classmap": [ + "src/Kharanenka/Scope" + ], + "psr-0": { + "Kharanenka\\Scope\\": "src/" + } + } +} \ No newline at end of file diff --git a/plugins/lovata/toolbox/vendor/kharanenka/laravel-scope-active/src/Kharanenka/Scope/ActiveField.php b/plugins/lovata/toolbox/vendor/kharanenka/laravel-scope-active/src/Kharanenka/Scope/ActiveField.php new file mode 100644 index 000000000..b2245eace --- /dev/null +++ b/plugins/lovata/toolbox/vendor/kharanenka/laravel-scope-active/src/Kharanenka/Scope/ActiveField.php @@ -0,0 +1,33 @@ +where('active', true); + } + + /** + * Get not active elements + * @param \Illuminate\Database\Eloquent\Builder|\October\Rain\Database\Builder $obQuery + * @return \Illuminate\Database\Eloquent\Builder|\October\Rain\Database\Builder; + */ + public function scopeNotActive($obQuery) { + return $obQuery->where('active', false); + } +} \ No newline at end of file diff --git a/plugins/lovata/toolbox/vendor/kharanenka/laravel-scope-category-belongs-to/.gitignore b/plugins/lovata/toolbox/vendor/kharanenka/laravel-scope-category-belongs-to/.gitignore new file mode 100644 index 000000000..1e06577ef --- /dev/null +++ b/plugins/lovata/toolbox/vendor/kharanenka/laravel-scope-category-belongs-to/.gitignore @@ -0,0 +1,88 @@ +/node_modules +Homestead.yaml + +#site +pdf/ +_backup/ +cgi-bin/ + +*.log +*.bin +*.komodoproject +/.komodotools/ + +# PhpStorm +.idea + +# Eclipse +*.pydevproject +.project +.metadata +bin/** +tmp/** +tmp/**/* +*.tmp +*.bak +*.swp +*~.nib +local.properties +.classpath +.settings/ +.loadpath +.externalToolBuilders/ +*.launch +.cproject +.buildpath + +# SublimeText +/*.sublime-project +*.sublime-workspace + +# NetBeans +nbproject/ +build/ +nbbuild/ +dist/ +nbdist/ +nbactions.xml +nb-configuration.xml + +# Windows system files +$RECYCLE.BIN/ +Thumbs.db +ehthumbs.db +Desktop.ini + +# OSX system files +.DS_store +.AppleDouble +.LSOverride +Icon +._* +.Spotlight-V100 +.Trashes + +# SVN/CVS +.svn +/CVS/* +*/CVS/* +.cvsignore +*/.cvsignore + +# temporary files/folders + +tmp* +~* +*.~* +*.bak +*.swp + +build/ +png/ +psd/ +doc/ +svg/ +vendors/ +pixelPerfect/ +node_modules/ +docs/ \ No newline at end of file diff --git a/plugins/lovata/toolbox/vendor/kharanenka/laravel-scope-category-belongs-to/LICENSE b/plugins/lovata/toolbox/vendor/kharanenka/laravel-scope-category-belongs-to/LICENSE new file mode 100644 index 000000000..9cecc1d46 --- /dev/null +++ b/plugins/lovata/toolbox/vendor/kharanenka/laravel-scope-category-belongs-to/LICENSE @@ -0,0 +1,674 @@ + GNU GENERAL PUBLIC LICENSE + Version 3, 29 June 2007 + + Copyright (C) 2007 Free Software Foundation, Inc. + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + + Preamble + + The GNU General Public License is a free, copyleft license for +software and other kinds of works. + + The licenses for most software and other practical works are designed +to take away your freedom to share and change the works. By contrast, +the GNU General Public License is intended to guarantee your freedom to +share and change all versions of a program--to make sure it remains free +software for all its users. We, the Free Software Foundation, use the +GNU General Public License for most of our software; it applies also to +any other work released this way by its authors. You can apply it to +your programs, too. + + When we speak of free software, we are referring to freedom, not +price. Our General Public Licenses are designed to make sure that you +have the freedom to distribute copies of free software (and charge for +them if you wish), that you receive source code or can get it if you +want it, that you can change the software or use pieces of it in new +free programs, and that you know you can do these things. + + To protect your rights, we need to prevent others from denying you +these rights or asking you to surrender the rights. Therefore, you have +certain responsibilities if you distribute copies of the software, or if +you modify it: responsibilities to respect the freedom of others. + + For example, if you distribute copies of such a program, whether +gratis or for a fee, you must pass on to the recipients the same +freedoms that you received. You must make sure that they, too, receive +or can get the source code. And you must show them these terms so they +know their rights. + + Developers that use the GNU GPL protect your rights with two steps: +(1) assert copyright on the software, and (2) offer you this License +giving you legal permission to copy, distribute and/or modify it. + + For the developers' and authors' protection, the GPL clearly explains +that there is no warranty for this free software. For both users' and +authors' sake, the GPL requires that modified versions be marked as +changed, so that their problems will not be attributed erroneously to +authors of previous versions. + + Some devices are designed to deny users access to install or run +modified versions of the software inside them, although the manufacturer +can do so. This is fundamentally incompatible with the aim of +protecting users' freedom to change the software. The systematic +pattern of such abuse occurs in the area of products for individuals to +use, which is precisely where it is most unacceptable. Therefore, we +have designed this version of the GPL to prohibit the practice for those +products. If such problems arise substantially in other domains, we +stand ready to extend this provision to those domains in future versions +of the GPL, as needed to protect the freedom of users. + + Finally, every program is threatened constantly by software patents. +States should not allow patents to restrict development and use of +software on general-purpose computers, but in those that do, we wish to +avoid the special danger that patents applied to a free program could +make it effectively proprietary. To prevent this, the GPL assures that +patents cannot be used to render the program non-free. + + The precise terms and conditions for copying, distribution and +modification follow. + + TERMS AND CONDITIONS + + 0. Definitions. + + "This License" refers to version 3 of the GNU General Public License. + + "Copyright" also means copyright-like laws that apply to other kinds of +works, such as semiconductor masks. + + "The Program" refers to any copyrightable work licensed under this +License. Each licensee is addressed as "you". "Licensees" and +"recipients" may be individuals or organizations. + + To "modify" a work means to copy from or adapt all or part of the work +in a fashion requiring copyright permission, other than the making of an +exact copy. The resulting work is called a "modified version" of the +earlier work or a work "based on" the earlier work. + + A "covered work" means either the unmodified Program or a work based +on the Program. + + To "propagate" a work means to do anything with it that, without +permission, would make you directly or secondarily liable for +infringement under applicable copyright law, except executing it on a +computer or modifying a private copy. Propagation includes copying, +distribution (with or without modification), making available to the +public, and in some countries other activities as well. + + To "convey" a work means any kind of propagation that enables other +parties to make or receive copies. Mere interaction with a user through +a computer network, with no transfer of a copy, is not conveying. + + An interactive user interface displays "Appropriate Legal Notices" +to the extent that it includes a convenient and prominently visible +feature that (1) displays an appropriate copyright notice, and (2) +tells the user that there is no warranty for the work (except to the +extent that warranties are provided), that licensees may convey the +work under this License, and how to view a copy of this License. If +the interface presents a list of user commands or options, such as a +menu, a prominent item in the list meets this criterion. + + 1. Source Code. + + The "source code" for a work means the preferred form of the work +for making modifications to it. "Object code" means any non-source +form of a work. + + A "Standard Interface" means an interface that either is an official +standard defined by a recognized standards body, or, in the case of +interfaces specified for a particular programming language, one that +is widely used among developers working in that language. + + The "System Libraries" of an executable work include anything, other +than the work as a whole, that (a) is included in the normal form of +packaging a Major Component, but which is not part of that Major +Component, and (b) serves only to enable use of the work with that +Major Component, or to implement a Standard Interface for which an +implementation is available to the public in source code form. A +"Major Component", in this context, means a major essential component +(kernel, window system, and so on) of the specific operating system +(if any) on which the executable work runs, or a compiler used to +produce the work, or an object code interpreter used to run it. + + The "Corresponding Source" for a work in object code form means all +the source code needed to generate, install, and (for an executable +work) run the object code and to modify the work, including scripts to +control those activities. However, it does not include the work's +System Libraries, or general-purpose tools or generally available free +programs which are used unmodified in performing those activities but +which are not part of the work. For example, Corresponding Source +includes interface definition files associated with source files for +the work, and the source code for shared libraries and dynamically +linked subprograms that the work is specifically designed to require, +such as by intimate data communication or control flow between those +subprograms and other parts of the work. + + The Corresponding Source need not include anything that users +can regenerate automatically from other parts of the Corresponding +Source. + + The Corresponding Source for a work in source code form is that +same work. + + 2. Basic Permissions. + + All rights granted under this License are granted for the term of +copyright on the Program, and are irrevocable provided the stated +conditions are met. This License explicitly affirms your unlimited +permission to run the unmodified Program. The output from running a +covered work is covered by this License only if the output, given its +content, constitutes a covered work. This License acknowledges your +rights of fair use or other equivalent, as provided by copyright law. + + You may make, run and propagate covered works that you do not +convey, without conditions so long as your license otherwise remains +in force. You may convey covered works to others for the sole purpose +of having them make modifications exclusively for you, or provide you +with facilities for running those works, provided that you comply with +the terms of this License in conveying all material for which you do +not control copyright. Those thus making or running the covered works +for you must do so exclusively on your behalf, under your direction +and control, on terms that prohibit them from making any copies of +your copyrighted material outside their relationship with you. + + Conveying under any other circumstances is permitted solely under +the conditions stated below. Sublicensing is not allowed; section 10 +makes it unnecessary. + + 3. Protecting Users' Legal Rights From Anti-Circumvention Law. + + No covered work shall be deemed part of an effective technological +measure under any applicable law fulfilling obligations under article +11 of the WIPO copyright treaty adopted on 20 December 1996, or +similar laws prohibiting or restricting circumvention of such +measures. + + When you convey a covered work, you waive any legal power to forbid +circumvention of technological measures to the extent such circumvention +is effected by exercising rights under this License with respect to +the covered work, and you disclaim any intention to limit operation or +modification of the work as a means of enforcing, against the work's +users, your or third parties' legal rights to forbid circumvention of +technological measures. + + 4. Conveying Verbatim Copies. + + You may convey verbatim copies of the Program's source code as you +receive it, in any medium, provided that you conspicuously and +appropriately publish on each copy an appropriate copyright notice; +keep intact all notices stating that this License and any +non-permissive terms added in accord with section 7 apply to the code; +keep intact all notices of the absence of any warranty; and give all +recipients a copy of this License along with the Program. + + You may charge any price or no price for each copy that you convey, +and you may offer support or warranty protection for a fee. + + 5. Conveying Modified Source Versions. + + You may convey a work based on the Program, or the modifications to +produce it from the Program, in the form of source code under the +terms of section 4, provided that you also meet all of these conditions: + + a) The work must carry prominent notices stating that you modified + it, and giving a relevant date. + + b) The work must carry prominent notices stating that it is + released under this License and any conditions added under section + 7. This requirement modifies the requirement in section 4 to + "keep intact all notices". + + c) You must license the entire work, as a whole, under this + License to anyone who comes into possession of a copy. This + License will therefore apply, along with any applicable section 7 + additional terms, to the whole of the work, and all its parts, + regardless of how they are packaged. This License gives no + permission to license the work in any other way, but it does not + invalidate such permission if you have separately received it. + + d) If the work has interactive user interfaces, each must display + Appropriate Legal Notices; however, if the Program has interactive + interfaces that do not display Appropriate Legal Notices, your + work need not make them do so. + + A compilation of a covered work with other separate and independent +works, which are not by their nature extensions of the covered work, +and which are not combined with it such as to form a larger program, +in or on a volume of a storage or distribution medium, is called an +"aggregate" if the compilation and its resulting copyright are not +used to limit the access or legal rights of the compilation's users +beyond what the individual works permit. Inclusion of a covered work +in an aggregate does not cause this License to apply to the other +parts of the aggregate. + + 6. Conveying Non-Source Forms. + + You may convey a covered work in object code form under the terms +of sections 4 and 5, provided that you also convey the +machine-readable Corresponding Source under the terms of this License, +in one of these ways: + + a) Convey the object code in, or embodied in, a physical product + (including a physical distribution medium), accompanied by the + Corresponding Source fixed on a durable physical medium + customarily used for software interchange. + + b) Convey the object code in, or embodied in, a physical product + (including a physical distribution medium), accompanied by a + written offer, valid for at least three years and valid for as + long as you offer spare parts or customer support for that product + model, to give anyone who possesses the object code either (1) a + copy of the Corresponding Source for all the software in the + product that is covered by this License, on a durable physical + medium customarily used for software interchange, for a price no + more than your reasonable cost of physically performing this + conveying of source, or (2) access to copy the + Corresponding Source from a network server at no charge. + + c) Convey individual copies of the object code with a copy of the + written offer to provide the Corresponding Source. This + alternative is allowed only occasionally and noncommercially, and + only if you received the object code with such an offer, in accord + with subsection 6b. + + d) Convey the object code by offering access from a designated + place (gratis or for a charge), and offer equivalent access to the + Corresponding Source in the same way through the same place at no + further charge. You need not require recipients to copy the + Corresponding Source along with the object code. If the place to + copy the object code is a network server, the Corresponding Source + may be on a different server (operated by you or a third party) + that supports equivalent copying facilities, provided you maintain + clear directions next to the object code saying where to find the + Corresponding Source. Regardless of what server hosts the + Corresponding Source, you remain obligated to ensure that it is + available for as long as needed to satisfy these requirements. + + e) Convey the object code using peer-to-peer transmission, provided + you inform other peers where the object code and Corresponding + Source of the work are being offered to the general public at no + charge under subsection 6d. + + A separable portion of the object code, whose source code is excluded +from the Corresponding Source as a System Library, need not be +included in conveying the object code work. + + A "User Product" is either (1) a "consumer product", which means any +tangible personal property which is normally used for personal, family, +or household purposes, or (2) anything designed or sold for incorporation +into a dwelling. In determining whether a product is a consumer product, +doubtful cases shall be resolved in favor of coverage. For a particular +product received by a particular user, "normally used" refers to a +typical or common use of that class of product, regardless of the status +of the particular user or of the way in which the particular user +actually uses, or expects or is expected to use, the product. A product +is a consumer product regardless of whether the product has substantial +commercial, industrial or non-consumer uses, unless such uses represent +the only significant mode of use of the product. + + "Installation Information" for a User Product means any methods, +procedures, authorization keys, or other information required to install +and execute modified versions of a covered work in that User Product from +a modified version of its Corresponding Source. The information must +suffice to ensure that the continued functioning of the modified object +code is in no case prevented or interfered with solely because +modification has been made. + + If you convey an object code work under this section in, or with, or +specifically for use in, a User Product, and the conveying occurs as +part of a transaction in which the right of possession and use of the +User Product is transferred to the recipient in perpetuity or for a +fixed term (regardless of how the transaction is characterized), the +Corresponding Source conveyed under this section must be accompanied +by the Installation Information. But this requirement does not apply +if neither you nor any third party retains the ability to install +modified object code on the User Product (for example, the work has +been installed in ROM). + + The requirement to provide Installation Information does not include a +requirement to continue to provide support service, warranty, or updates +for a work that has been modified or installed by the recipient, or for +the User Product in which it has been modified or installed. Access to a +network may be denied when the modification itself materially and +adversely affects the operation of the network or violates the rules and +protocols for communication across the network. + + Corresponding Source conveyed, and Installation Information provided, +in accord with this section must be in a format that is publicly +documented (and with an implementation available to the public in +source code form), and must require no special password or key for +unpacking, reading or copying. + + 7. Additional Terms. + + "Additional permissions" are terms that supplement the terms of this +License by making exceptions from one or more of its conditions. +Additional permissions that are applicable to the entire Program shall +be treated as though they were included in this License, to the extent +that they are valid under applicable law. If additional permissions +apply only to part of the Program, that part may be used separately +under those permissions, but the entire Program remains governed by +this License without regard to the additional permissions. + + When you convey a copy of a covered work, you may at your option +remove any additional permissions from that copy, or from any part of +it. (Additional permissions may be written to require their own +removal in certain cases when you modify the work.) You may place +additional permissions on material, added by you to a covered work, +for which you have or can give appropriate copyright permission. + + Notwithstanding any other provision of this License, for material you +add to a covered work, you may (if authorized by the copyright holders of +that material) supplement the terms of this License with terms: + + a) Disclaiming warranty or limiting liability differently from the + terms of sections 15 and 16 of this License; or + + b) Requiring preservation of specified reasonable legal notices or + author attributions in that material or in the Appropriate Legal + Notices displayed by works containing it; or + + c) Prohibiting misrepresentation of the origin of that material, or + requiring that modified versions of such material be marked in + reasonable ways as different from the original version; or + + d) Limiting the use for publicity purposes of names of licensors or + authors of the material; or + + e) Declining to grant rights under trademark law for use of some + trade names, trademarks, or service marks; or + + f) Requiring indemnification of licensors and authors of that + material by anyone who conveys the material (or modified versions of + it) with contractual assumptions of liability to the recipient, for + any liability that these contractual assumptions directly impose on + those licensors and authors. + + All other non-permissive additional terms are considered "further +restrictions" within the meaning of section 10. If the Program as you +received it, or any part of it, contains a notice stating that it is +governed by this License along with a term that is a further +restriction, you may remove that term. If a license document contains +a further restriction but permits relicensing or conveying under this +License, you may add to a covered work material governed by the terms +of that license document, provided that the further restriction does +not survive such relicensing or conveying. + + If you add terms to a covered work in accord with this section, you +must place, in the relevant source files, a statement of the +additional terms that apply to those files, or a notice indicating +where to find the applicable terms. + + Additional terms, permissive or non-permissive, may be stated in the +form of a separately written license, or stated as exceptions; +the above requirements apply either way. + + 8. Termination. + + You may not propagate or modify a covered work except as expressly +provided under this License. Any attempt otherwise to propagate or +modify it is void, and will automatically terminate your rights under +this License (including any patent licenses granted under the third +paragraph of section 11). + + However, if you cease all violation of this License, then your +license from a particular copyright holder is reinstated (a) +provisionally, unless and until the copyright holder explicitly and +finally terminates your license, and (b) permanently, if the copyright +holder fails to notify you of the violation by some reasonable means +prior to 60 days after the cessation. + + Moreover, your license from a particular copyright holder is +reinstated permanently if the copyright holder notifies you of the +violation by some reasonable means, this is the first time you have +received notice of violation of this License (for any work) from that +copyright holder, and you cure the violation prior to 30 days after +your receipt of the notice. + + Termination of your rights under this section does not terminate the +licenses of parties who have received copies or rights from you under +this License. If your rights have been terminated and not permanently +reinstated, you do not qualify to receive new licenses for the same +material under section 10. + + 9. Acceptance Not Required for Having Copies. + + You are not required to accept this License in order to receive or +run a copy of the Program. Ancillary propagation of a covered work +occurring solely as a consequence of using peer-to-peer transmission +to receive a copy likewise does not require acceptance. However, +nothing other than this License grants you permission to propagate or +modify any covered work. These actions infringe copyright if you do +not accept this License. Therefore, by modifying or propagating a +covered work, you indicate your acceptance of this License to do so. + + 10. Automatic Licensing of Downstream Recipients. + + Each time you convey a covered work, the recipient automatically +receives a license from the original licensors, to run, modify and +propagate that work, subject to this License. You are not responsible +for enforcing compliance by third parties with this License. + + An "entity transaction" is a transaction transferring control of an +organization, or substantially all assets of one, or subdividing an +organization, or merging organizations. If propagation of a covered +work results from an entity transaction, each party to that +transaction who receives a copy of the work also receives whatever +licenses to the work the party's predecessor in interest had or could +give under the previous paragraph, plus a right to possession of the +Corresponding Source of the work from the predecessor in interest, if +the predecessor has it or can get it with reasonable efforts. + + You may not impose any further restrictions on the exercise of the +rights granted or affirmed under this License. For example, you may +not impose a license fee, royalty, or other charge for exercise of +rights granted under this License, and you may not initiate litigation +(including a cross-claim or counterclaim in a lawsuit) alleging that +any patent claim is infringed by making, using, selling, offering for +sale, or importing the Program or any portion of it. + + 11. Patents. + + A "contributor" is a copyright holder who authorizes use under this +License of the Program or a work on which the Program is based. The +work thus licensed is called the contributor's "contributor version". + + A contributor's "essential patent claims" are all patent claims +owned or controlled by the contributor, whether already acquired or +hereafter acquired, that would be infringed by some manner, permitted +by this License, of making, using, or selling its contributor version, +but do not include claims that would be infringed only as a +consequence of further modification of the contributor version. For +purposes of this definition, "control" includes the right to grant +patent sublicenses in a manner consistent with the requirements of +this License. + + Each contributor grants you a non-exclusive, worldwide, royalty-free +patent license under the contributor's essential patent claims, to +make, use, sell, offer for sale, import and otherwise run, modify and +propagate the contents of its contributor version. + + In the following three paragraphs, a "patent license" is any express +agreement or commitment, however denominated, not to enforce a patent +(such as an express permission to practice a patent or covenant not to +sue for patent infringement). To "grant" such a patent license to a +party means to make such an agreement or commitment not to enforce a +patent against the party. + + If you convey a covered work, knowingly relying on a patent license, +and the Corresponding Source of the work is not available for anyone +to copy, free of charge and under the terms of this License, through a +publicly available network server or other readily accessible means, +then you must either (1) cause the Corresponding Source to be so +available, or (2) arrange to deprive yourself of the benefit of the +patent license for this particular work, or (3) arrange, in a manner +consistent with the requirements of this License, to extend the patent +license to downstream recipients. "Knowingly relying" means you have +actual knowledge that, but for the patent license, your conveying the +covered work in a country, or your recipient's use of the covered work +in a country, would infringe one or more identifiable patents in that +country that you have reason to believe are valid. + + If, pursuant to or in connection with a single transaction or +arrangement, you convey, or propagate by procuring conveyance of, a +covered work, and grant a patent license to some of the parties +receiving the covered work authorizing them to use, propagate, modify +or convey a specific copy of the covered work, then the patent license +you grant is automatically extended to all recipients of the covered +work and works based on it. + + A patent license is "discriminatory" if it does not include within +the scope of its coverage, prohibits the exercise of, or is +conditioned on the non-exercise of one or more of the rights that are +specifically granted under this License. You may not convey a covered +work if you are a party to an arrangement with a third party that is +in the business of distributing software, under which you make payment +to the third party based on the extent of your activity of conveying +the work, and under which the third party grants, to any of the +parties who would receive the covered work from you, a discriminatory +patent license (a) in connection with copies of the covered work +conveyed by you (or copies made from those copies), or (b) primarily +for and in connection with specific products or compilations that +contain the covered work, unless you entered into that arrangement, +or that patent license was granted, prior to 28 March 2007. + + Nothing in this License shall be construed as excluding or limiting +any implied license or other defenses to infringement that may +otherwise be available to you under applicable patent law. + + 12. No Surrender of Others' Freedom. + + If conditions are imposed on you (whether by court order, agreement or +otherwise) that contradict the conditions of this License, they do not +excuse you from the conditions of this License. If you cannot convey a +covered work so as to satisfy simultaneously your obligations under this +License and any other pertinent obligations, then as a consequence you may +not convey it at all. For example, if you agree to terms that obligate you +to collect a royalty for further conveying from those to whom you convey +the Program, the only way you could satisfy both those terms and this +License would be to refrain entirely from conveying the Program. + + 13. Use with the GNU Affero General Public License. + + Notwithstanding any other provision of this License, you have +permission to link or combine any covered work with a work licensed +under version 3 of the GNU Affero General Public License into a single +combined work, and to convey the resulting work. The terms of this +License will continue to apply to the part which is the covered work, +but the special requirements of the GNU Affero General Public License, +section 13, concerning interaction through a network will apply to the +combination as such. + + 14. Revised Versions of this License. + + The Free Software Foundation may publish revised and/or new versions of +the GNU General Public License from time to time. Such new versions will +be similar in spirit to the present version, but may differ in detail to +address new problems or concerns. + + Each version is given a distinguishing version number. If the +Program specifies that a certain numbered version of the GNU General +Public License "or any later version" applies to it, you have the +option of following the terms and conditions either of that numbered +version or of any later version published by the Free Software +Foundation. If the Program does not specify a version number of the +GNU General Public License, you may choose any version ever published +by the Free Software Foundation. + + If the Program specifies that a proxy can decide which future +versions of the GNU General Public License can be used, that proxy's +public statement of acceptance of a version permanently authorizes you +to choose that version for the Program. + + Later license versions may give you additional or different +permissions. However, no additional obligations are imposed on any +author or copyright holder as a result of your choosing to follow a +later version. + + 15. Disclaimer of Warranty. + + THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY +APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT +HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY +OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, +THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR +PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM +IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF +ALL NECESSARY SERVICING, REPAIR OR CORRECTION. + + 16. Limitation of Liability. + + IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING +WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS +THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY +GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE +USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF +DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD +PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), +EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF +SUCH DAMAGES. + + 17. Interpretation of Sections 15 and 16. + + If the disclaimer of warranty and limitation of liability provided +above cannot be given local legal effect according to their terms, +reviewing courts shall apply local law that most closely approximates +an absolute waiver of all civil liability in connection with the +Program, unless a warranty or assumption of liability accompanies a +copy of the Program in return for a fee. + + END OF TERMS AND CONDITIONS + + How to Apply These Terms to Your New Programs + + If you develop a new program, and you want it to be of the greatest +possible use to the public, the best way to achieve this is to make it +free software which everyone can redistribute and change under these terms. + + To do so, attach the following notices to the program. It is safest +to attach them to the start of each source file to most effectively +state the exclusion of warranty; and each file should have at least +the "copyright" line and a pointer to where the full notice is found. + + {one line to give the program's name and a brief idea of what it does.} + Copyright (C) {year} {name of author} + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see . + +Also add information on how to contact you by electronic and paper mail. + + If the program does terminal interaction, make it output a short +notice like this when it starts in an interactive mode: + + {project} Copyright (C) {year} {fullname} + This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'. + This is free software, and you are welcome to redistribute it + under certain conditions; type `show c' for details. + +The hypothetical commands `show w' and `show c' should show the appropriate +parts of the General Public License. Of course, your program's commands +might be different; for a GUI interface, you would use an "about box". + + You should also get your employer (if you work as a programmer) or school, +if any, to sign a "copyright disclaimer" for the program, if necessary. +For more information on this, and how to apply and follow the GNU GPL, see +. + + The GNU General Public License does not permit incorporating your program +into proprietary programs. If your program is a subroutine library, you +may consider it more useful to permit linking proprietary applications with +the library. If this is what you want to do, use the GNU Lesser General +Public License instead of this License. But first, please read +. diff --git a/plugins/lovata/toolbox/vendor/kharanenka/laravel-scope-category-belongs-to/README.md b/plugins/lovata/toolbox/vendor/kharanenka/laravel-scope-category-belongs-to/README.md new file mode 100644 index 000000000..6d6cf757c --- /dev/null +++ b/plugins/lovata/toolbox/vendor/kharanenka/laravel-scope-category-belongs-to/README.md @@ -0,0 +1,28 @@ +# Trait CategoryBelongsTo + + You can use trait in your models with "category_id" field (int) + +#Installation +Require this package in your `composer.json` and update composer. + +```php + +"kharanenka/laravel-scope-category-belongs-to": "1.0.*" + +``` + +# Usage + +```php + + class MyModel extend Model { + + use Kharanenka\Scope\CategoryBelongsTo; + + ... + + } + + $obElement = MyModel::getByCategory(10)->first(); + +``` \ No newline at end of file diff --git a/plugins/lovata/toolbox/vendor/kharanenka/laravel-scope-category-belongs-to/composer.json b/plugins/lovata/toolbox/vendor/kharanenka/laravel-scope-category-belongs-to/composer.json new file mode 100644 index 000000000..e5da33621 --- /dev/null +++ b/plugins/lovata/toolbox/vendor/kharanenka/laravel-scope-category-belongs-to/composer.json @@ -0,0 +1,32 @@ +{ + "name": "kharanenka/laravel-scope-category-belongs-to", + "description": "Scope for field 'category_id' (int)", + "license": "GPL-3.0", + "keywords": [ + "php", + "laravel", + "OctoberCMS", + "model", + "scope", + "category_id", + "field" + ], + "authors": [ + { + "name": "Andrey Kharanenka", + "email": "kharanenka@gmail.com" + } + ], + "version": "1.0.0", + "require": { + "php": ">=5.6" + }, + "autoload": { + "classmap": [ + "src/Kharanenka/Scope" + ], + "psr-0": { + "Kharanenka\\Scope\\": "src/" + } + } +} \ No newline at end of file diff --git a/plugins/lovata/toolbox/vendor/kharanenka/laravel-scope-category-belongs-to/src/Kharanenka/Scope/CategoryBelongsTo.php b/plugins/lovata/toolbox/vendor/kharanenka/laravel-scope-category-belongs-to/src/Kharanenka/Scope/CategoryBelongsTo.php new file mode 100644 index 000000000..38fbaf11f --- /dev/null +++ b/plugins/lovata/toolbox/vendor/kharanenka/laravel-scope-category-belongs-to/src/Kharanenka/Scope/CategoryBelongsTo.php @@ -0,0 +1,27 @@ +where('category_id', $sData); + } + + return $obQuery; + } +} \ No newline at end of file diff --git a/plugins/lovata/toolbox/vendor/kharanenka/laravel-scope-code/.gitignore b/plugins/lovata/toolbox/vendor/kharanenka/laravel-scope-code/.gitignore new file mode 100644 index 000000000..1e06577ef --- /dev/null +++ b/plugins/lovata/toolbox/vendor/kharanenka/laravel-scope-code/.gitignore @@ -0,0 +1,88 @@ +/node_modules +Homestead.yaml + +#site +pdf/ +_backup/ +cgi-bin/ + +*.log +*.bin +*.komodoproject +/.komodotools/ + +# PhpStorm +.idea + +# Eclipse +*.pydevproject +.project +.metadata +bin/** +tmp/** +tmp/**/* +*.tmp +*.bak +*.swp +*~.nib +local.properties +.classpath +.settings/ +.loadpath +.externalToolBuilders/ +*.launch +.cproject +.buildpath + +# SublimeText +/*.sublime-project +*.sublime-workspace + +# NetBeans +nbproject/ +build/ +nbbuild/ +dist/ +nbdist/ +nbactions.xml +nb-configuration.xml + +# Windows system files +$RECYCLE.BIN/ +Thumbs.db +ehthumbs.db +Desktop.ini + +# OSX system files +.DS_store +.AppleDouble +.LSOverride +Icon +._* +.Spotlight-V100 +.Trashes + +# SVN/CVS +.svn +/CVS/* +*/CVS/* +.cvsignore +*/.cvsignore + +# temporary files/folders + +tmp* +~* +*.~* +*.bak +*.swp + +build/ +png/ +psd/ +doc/ +svg/ +vendors/ +pixelPerfect/ +node_modules/ +docs/ \ No newline at end of file diff --git a/plugins/lovata/toolbox/vendor/kharanenka/laravel-scope-code/LICENSE b/plugins/lovata/toolbox/vendor/kharanenka/laravel-scope-code/LICENSE new file mode 100644 index 000000000..9cecc1d46 --- /dev/null +++ b/plugins/lovata/toolbox/vendor/kharanenka/laravel-scope-code/LICENSE @@ -0,0 +1,674 @@ + GNU GENERAL PUBLIC LICENSE + Version 3, 29 June 2007 + + Copyright (C) 2007 Free Software Foundation, Inc. + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + + Preamble + + The GNU General Public License is a free, copyleft license for +software and other kinds of works. + + The licenses for most software and other practical works are designed +to take away your freedom to share and change the works. By contrast, +the GNU General Public License is intended to guarantee your freedom to +share and change all versions of a program--to make sure it remains free +software for all its users. We, the Free Software Foundation, use the +GNU General Public License for most of our software; it applies also to +any other work released this way by its authors. You can apply it to +your programs, too. + + When we speak of free software, we are referring to freedom, not +price. Our General Public Licenses are designed to make sure that you +have the freedom to distribute copies of free software (and charge for +them if you wish), that you receive source code or can get it if you +want it, that you can change the software or use pieces of it in new +free programs, and that you know you can do these things. + + To protect your rights, we need to prevent others from denying you +these rights or asking you to surrender the rights. Therefore, you have +certain responsibilities if you distribute copies of the software, or if +you modify it: responsibilities to respect the freedom of others. + + For example, if you distribute copies of such a program, whether +gratis or for a fee, you must pass on to the recipients the same +freedoms that you received. You must make sure that they, too, receive +or can get the source code. And you must show them these terms so they +know their rights. + + Developers that use the GNU GPL protect your rights with two steps: +(1) assert copyright on the software, and (2) offer you this License +giving you legal permission to copy, distribute and/or modify it. + + For the developers' and authors' protection, the GPL clearly explains +that there is no warranty for this free software. For both users' and +authors' sake, the GPL requires that modified versions be marked as +changed, so that their problems will not be attributed erroneously to +authors of previous versions. + + Some devices are designed to deny users access to install or run +modified versions of the software inside them, although the manufacturer +can do so. This is fundamentally incompatible with the aim of +protecting users' freedom to change the software. The systematic +pattern of such abuse occurs in the area of products for individuals to +use, which is precisely where it is most unacceptable. Therefore, we +have designed this version of the GPL to prohibit the practice for those +products. If such problems arise substantially in other domains, we +stand ready to extend this provision to those domains in future versions +of the GPL, as needed to protect the freedom of users. + + Finally, every program is threatened constantly by software patents. +States should not allow patents to restrict development and use of +software on general-purpose computers, but in those that do, we wish to +avoid the special danger that patents applied to a free program could +make it effectively proprietary. To prevent this, the GPL assures that +patents cannot be used to render the program non-free. + + The precise terms and conditions for copying, distribution and +modification follow. + + TERMS AND CONDITIONS + + 0. Definitions. + + "This License" refers to version 3 of the GNU General Public License. + + "Copyright" also means copyright-like laws that apply to other kinds of +works, such as semiconductor masks. + + "The Program" refers to any copyrightable work licensed under this +License. Each licensee is addressed as "you". "Licensees" and +"recipients" may be individuals or organizations. + + To "modify" a work means to copy from or adapt all or part of the work +in a fashion requiring copyright permission, other than the making of an +exact copy. The resulting work is called a "modified version" of the +earlier work or a work "based on" the earlier work. + + A "covered work" means either the unmodified Program or a work based +on the Program. + + To "propagate" a work means to do anything with it that, without +permission, would make you directly or secondarily liable for +infringement under applicable copyright law, except executing it on a +computer or modifying a private copy. Propagation includes copying, +distribution (with or without modification), making available to the +public, and in some countries other activities as well. + + To "convey" a work means any kind of propagation that enables other +parties to make or receive copies. Mere interaction with a user through +a computer network, with no transfer of a copy, is not conveying. + + An interactive user interface displays "Appropriate Legal Notices" +to the extent that it includes a convenient and prominently visible +feature that (1) displays an appropriate copyright notice, and (2) +tells the user that there is no warranty for the work (except to the +extent that warranties are provided), that licensees may convey the +work under this License, and how to view a copy of this License. If +the interface presents a list of user commands or options, such as a +menu, a prominent item in the list meets this criterion. + + 1. Source Code. + + The "source code" for a work means the preferred form of the work +for making modifications to it. "Object code" means any non-source +form of a work. + + A "Standard Interface" means an interface that either is an official +standard defined by a recognized standards body, or, in the case of +interfaces specified for a particular programming language, one that +is widely used among developers working in that language. + + The "System Libraries" of an executable work include anything, other +than the work as a whole, that (a) is included in the normal form of +packaging a Major Component, but which is not part of that Major +Component, and (b) serves only to enable use of the work with that +Major Component, or to implement a Standard Interface for which an +implementation is available to the public in source code form. A +"Major Component", in this context, means a major essential component +(kernel, window system, and so on) of the specific operating system +(if any) on which the executable work runs, or a compiler used to +produce the work, or an object code interpreter used to run it. + + The "Corresponding Source" for a work in object code form means all +the source code needed to generate, install, and (for an executable +work) run the object code and to modify the work, including scripts to +control those activities. However, it does not include the work's +System Libraries, or general-purpose tools or generally available free +programs which are used unmodified in performing those activities but +which are not part of the work. For example, Corresponding Source +includes interface definition files associated with source files for +the work, and the source code for shared libraries and dynamically +linked subprograms that the work is specifically designed to require, +such as by intimate data communication or control flow between those +subprograms and other parts of the work. + + The Corresponding Source need not include anything that users +can regenerate automatically from other parts of the Corresponding +Source. + + The Corresponding Source for a work in source code form is that +same work. + + 2. Basic Permissions. + + All rights granted under this License are granted for the term of +copyright on the Program, and are irrevocable provided the stated +conditions are met. This License explicitly affirms your unlimited +permission to run the unmodified Program. The output from running a +covered work is covered by this License only if the output, given its +content, constitutes a covered work. This License acknowledges your +rights of fair use or other equivalent, as provided by copyright law. + + You may make, run and propagate covered works that you do not +convey, without conditions so long as your license otherwise remains +in force. You may convey covered works to others for the sole purpose +of having them make modifications exclusively for you, or provide you +with facilities for running those works, provided that you comply with +the terms of this License in conveying all material for which you do +not control copyright. Those thus making or running the covered works +for you must do so exclusively on your behalf, under your direction +and control, on terms that prohibit them from making any copies of +your copyrighted material outside their relationship with you. + + Conveying under any other circumstances is permitted solely under +the conditions stated below. Sublicensing is not allowed; section 10 +makes it unnecessary. + + 3. Protecting Users' Legal Rights From Anti-Circumvention Law. + + No covered work shall be deemed part of an effective technological +measure under any applicable law fulfilling obligations under article +11 of the WIPO copyright treaty adopted on 20 December 1996, or +similar laws prohibiting or restricting circumvention of such +measures. + + When you convey a covered work, you waive any legal power to forbid +circumvention of technological measures to the extent such circumvention +is effected by exercising rights under this License with respect to +the covered work, and you disclaim any intention to limit operation or +modification of the work as a means of enforcing, against the work's +users, your or third parties' legal rights to forbid circumvention of +technological measures. + + 4. Conveying Verbatim Copies. + + You may convey verbatim copies of the Program's source code as you +receive it, in any medium, provided that you conspicuously and +appropriately publish on each copy an appropriate copyright notice; +keep intact all notices stating that this License and any +non-permissive terms added in accord with section 7 apply to the code; +keep intact all notices of the absence of any warranty; and give all +recipients a copy of this License along with the Program. + + You may charge any price or no price for each copy that you convey, +and you may offer support or warranty protection for a fee. + + 5. Conveying Modified Source Versions. + + You may convey a work based on the Program, or the modifications to +produce it from the Program, in the form of source code under the +terms of section 4, provided that you also meet all of these conditions: + + a) The work must carry prominent notices stating that you modified + it, and giving a relevant date. + + b) The work must carry prominent notices stating that it is + released under this License and any conditions added under section + 7. This requirement modifies the requirement in section 4 to + "keep intact all notices". + + c) You must license the entire work, as a whole, under this + License to anyone who comes into possession of a copy. This + License will therefore apply, along with any applicable section 7 + additional terms, to the whole of the work, and all its parts, + regardless of how they are packaged. This License gives no + permission to license the work in any other way, but it does not + invalidate such permission if you have separately received it. + + d) If the work has interactive user interfaces, each must display + Appropriate Legal Notices; however, if the Program has interactive + interfaces that do not display Appropriate Legal Notices, your + work need not make them do so. + + A compilation of a covered work with other separate and independent +works, which are not by their nature extensions of the covered work, +and which are not combined with it such as to form a larger program, +in or on a volume of a storage or distribution medium, is called an +"aggregate" if the compilation and its resulting copyright are not +used to limit the access or legal rights of the compilation's users +beyond what the individual works permit. Inclusion of a covered work +in an aggregate does not cause this License to apply to the other +parts of the aggregate. + + 6. Conveying Non-Source Forms. + + You may convey a covered work in object code form under the terms +of sections 4 and 5, provided that you also convey the +machine-readable Corresponding Source under the terms of this License, +in one of these ways: + + a) Convey the object code in, or embodied in, a physical product + (including a physical distribution medium), accompanied by the + Corresponding Source fixed on a durable physical medium + customarily used for software interchange. + + b) Convey the object code in, or embodied in, a physical product + (including a physical distribution medium), accompanied by a + written offer, valid for at least three years and valid for as + long as you offer spare parts or customer support for that product + model, to give anyone who possesses the object code either (1) a + copy of the Corresponding Source for all the software in the + product that is covered by this License, on a durable physical + medium customarily used for software interchange, for a price no + more than your reasonable cost of physically performing this + conveying of source, or (2) access to copy the + Corresponding Source from a network server at no charge. + + c) Convey individual copies of the object code with a copy of the + written offer to provide the Corresponding Source. This + alternative is allowed only occasionally and noncommercially, and + only if you received the object code with such an offer, in accord + with subsection 6b. + + d) Convey the object code by offering access from a designated + place (gratis or for a charge), and offer equivalent access to the + Corresponding Source in the same way through the same place at no + further charge. You need not require recipients to copy the + Corresponding Source along with the object code. If the place to + copy the object code is a network server, the Corresponding Source + may be on a different server (operated by you or a third party) + that supports equivalent copying facilities, provided you maintain + clear directions next to the object code saying where to find the + Corresponding Source. Regardless of what server hosts the + Corresponding Source, you remain obligated to ensure that it is + available for as long as needed to satisfy these requirements. + + e) Convey the object code using peer-to-peer transmission, provided + you inform other peers where the object code and Corresponding + Source of the work are being offered to the general public at no + charge under subsection 6d. + + A separable portion of the object code, whose source code is excluded +from the Corresponding Source as a System Library, need not be +included in conveying the object code work. + + A "User Product" is either (1) a "consumer product", which means any +tangible personal property which is normally used for personal, family, +or household purposes, or (2) anything designed or sold for incorporation +into a dwelling. In determining whether a product is a consumer product, +doubtful cases shall be resolved in favor of coverage. For a particular +product received by a particular user, "normally used" refers to a +typical or common use of that class of product, regardless of the status +of the particular user or of the way in which the particular user +actually uses, or expects or is expected to use, the product. A product +is a consumer product regardless of whether the product has substantial +commercial, industrial or non-consumer uses, unless such uses represent +the only significant mode of use of the product. + + "Installation Information" for a User Product means any methods, +procedures, authorization keys, or other information required to install +and execute modified versions of a covered work in that User Product from +a modified version of its Corresponding Source. The information must +suffice to ensure that the continued functioning of the modified object +code is in no case prevented or interfered with solely because +modification has been made. + + If you convey an object code work under this section in, or with, or +specifically for use in, a User Product, and the conveying occurs as +part of a transaction in which the right of possession and use of the +User Product is transferred to the recipient in perpetuity or for a +fixed term (regardless of how the transaction is characterized), the +Corresponding Source conveyed under this section must be accompanied +by the Installation Information. But this requirement does not apply +if neither you nor any third party retains the ability to install +modified object code on the User Product (for example, the work has +been installed in ROM). + + The requirement to provide Installation Information does not include a +requirement to continue to provide support service, warranty, or updates +for a work that has been modified or installed by the recipient, or for +the User Product in which it has been modified or installed. Access to a +network may be denied when the modification itself materially and +adversely affects the operation of the network or violates the rules and +protocols for communication across the network. + + Corresponding Source conveyed, and Installation Information provided, +in accord with this section must be in a format that is publicly +documented (and with an implementation available to the public in +source code form), and must require no special password or key for +unpacking, reading or copying. + + 7. Additional Terms. + + "Additional permissions" are terms that supplement the terms of this +License by making exceptions from one or more of its conditions. +Additional permissions that are applicable to the entire Program shall +be treated as though they were included in this License, to the extent +that they are valid under applicable law. If additional permissions +apply only to part of the Program, that part may be used separately +under those permissions, but the entire Program remains governed by +this License without regard to the additional permissions. + + When you convey a copy of a covered work, you may at your option +remove any additional permissions from that copy, or from any part of +it. (Additional permissions may be written to require their own +removal in certain cases when you modify the work.) You may place +additional permissions on material, added by you to a covered work, +for which you have or can give appropriate copyright permission. + + Notwithstanding any other provision of this License, for material you +add to a covered work, you may (if authorized by the copyright holders of +that material) supplement the terms of this License with terms: + + a) Disclaiming warranty or limiting liability differently from the + terms of sections 15 and 16 of this License; or + + b) Requiring preservation of specified reasonable legal notices or + author attributions in that material or in the Appropriate Legal + Notices displayed by works containing it; or + + c) Prohibiting misrepresentation of the origin of that material, or + requiring that modified versions of such material be marked in + reasonable ways as different from the original version; or + + d) Limiting the use for publicity purposes of names of licensors or + authors of the material; or + + e) Declining to grant rights under trademark law for use of some + trade names, trademarks, or service marks; or + + f) Requiring indemnification of licensors and authors of that + material by anyone who conveys the material (or modified versions of + it) with contractual assumptions of liability to the recipient, for + any liability that these contractual assumptions directly impose on + those licensors and authors. + + All other non-permissive additional terms are considered "further +restrictions" within the meaning of section 10. If the Program as you +received it, or any part of it, contains a notice stating that it is +governed by this License along with a term that is a further +restriction, you may remove that term. If a license document contains +a further restriction but permits relicensing or conveying under this +License, you may add to a covered work material governed by the terms +of that license document, provided that the further restriction does +not survive such relicensing or conveying. + + If you add terms to a covered work in accord with this section, you +must place, in the relevant source files, a statement of the +additional terms that apply to those files, or a notice indicating +where to find the applicable terms. + + Additional terms, permissive or non-permissive, may be stated in the +form of a separately written license, or stated as exceptions; +the above requirements apply either way. + + 8. Termination. + + You may not propagate or modify a covered work except as expressly +provided under this License. Any attempt otherwise to propagate or +modify it is void, and will automatically terminate your rights under +this License (including any patent licenses granted under the third +paragraph of section 11). + + However, if you cease all violation of this License, then your +license from a particular copyright holder is reinstated (a) +provisionally, unless and until the copyright holder explicitly and +finally terminates your license, and (b) permanently, if the copyright +holder fails to notify you of the violation by some reasonable means +prior to 60 days after the cessation. + + Moreover, your license from a particular copyright holder is +reinstated permanently if the copyright holder notifies you of the +violation by some reasonable means, this is the first time you have +received notice of violation of this License (for any work) from that +copyright holder, and you cure the violation prior to 30 days after +your receipt of the notice. + + Termination of your rights under this section does not terminate the +licenses of parties who have received copies or rights from you under +this License. If your rights have been terminated and not permanently +reinstated, you do not qualify to receive new licenses for the same +material under section 10. + + 9. Acceptance Not Required for Having Copies. + + You are not required to accept this License in order to receive or +run a copy of the Program. Ancillary propagation of a covered work +occurring solely as a consequence of using peer-to-peer transmission +to receive a copy likewise does not require acceptance. However, +nothing other than this License grants you permission to propagate or +modify any covered work. These actions infringe copyright if you do +not accept this License. Therefore, by modifying or propagating a +covered work, you indicate your acceptance of this License to do so. + + 10. Automatic Licensing of Downstream Recipients. + + Each time you convey a covered work, the recipient automatically +receives a license from the original licensors, to run, modify and +propagate that work, subject to this License. You are not responsible +for enforcing compliance by third parties with this License. + + An "entity transaction" is a transaction transferring control of an +organization, or substantially all assets of one, or subdividing an +organization, or merging organizations. If propagation of a covered +work results from an entity transaction, each party to that +transaction who receives a copy of the work also receives whatever +licenses to the work the party's predecessor in interest had or could +give under the previous paragraph, plus a right to possession of the +Corresponding Source of the work from the predecessor in interest, if +the predecessor has it or can get it with reasonable efforts. + + You may not impose any further restrictions on the exercise of the +rights granted or affirmed under this License. For example, you may +not impose a license fee, royalty, or other charge for exercise of +rights granted under this License, and you may not initiate litigation +(including a cross-claim or counterclaim in a lawsuit) alleging that +any patent claim is infringed by making, using, selling, offering for +sale, or importing the Program or any portion of it. + + 11. Patents. + + A "contributor" is a copyright holder who authorizes use under this +License of the Program or a work on which the Program is based. The +work thus licensed is called the contributor's "contributor version". + + A contributor's "essential patent claims" are all patent claims +owned or controlled by the contributor, whether already acquired or +hereafter acquired, that would be infringed by some manner, permitted +by this License, of making, using, or selling its contributor version, +but do not include claims that would be infringed only as a +consequence of further modification of the contributor version. For +purposes of this definition, "control" includes the right to grant +patent sublicenses in a manner consistent with the requirements of +this License. + + Each contributor grants you a non-exclusive, worldwide, royalty-free +patent license under the contributor's essential patent claims, to +make, use, sell, offer for sale, import and otherwise run, modify and +propagate the contents of its contributor version. + + In the following three paragraphs, a "patent license" is any express +agreement or commitment, however denominated, not to enforce a patent +(such as an express permission to practice a patent or covenant not to +sue for patent infringement). To "grant" such a patent license to a +party means to make such an agreement or commitment not to enforce a +patent against the party. + + If you convey a covered work, knowingly relying on a patent license, +and the Corresponding Source of the work is not available for anyone +to copy, free of charge and under the terms of this License, through a +publicly available network server or other readily accessible means, +then you must either (1) cause the Corresponding Source to be so +available, or (2) arrange to deprive yourself of the benefit of the +patent license for this particular work, or (3) arrange, in a manner +consistent with the requirements of this License, to extend the patent +license to downstream recipients. "Knowingly relying" means you have +actual knowledge that, but for the patent license, your conveying the +covered work in a country, or your recipient's use of the covered work +in a country, would infringe one or more identifiable patents in that +country that you have reason to believe are valid. + + If, pursuant to or in connection with a single transaction or +arrangement, you convey, or propagate by procuring conveyance of, a +covered work, and grant a patent license to some of the parties +receiving the covered work authorizing them to use, propagate, modify +or convey a specific copy of the covered work, then the patent license +you grant is automatically extended to all recipients of the covered +work and works based on it. + + A patent license is "discriminatory" if it does not include within +the scope of its coverage, prohibits the exercise of, or is +conditioned on the non-exercise of one or more of the rights that are +specifically granted under this License. You may not convey a covered +work if you are a party to an arrangement with a third party that is +in the business of distributing software, under which you make payment +to the third party based on the extent of your activity of conveying +the work, and under which the third party grants, to any of the +parties who would receive the covered work from you, a discriminatory +patent license (a) in connection with copies of the covered work +conveyed by you (or copies made from those copies), or (b) primarily +for and in connection with specific products or compilations that +contain the covered work, unless you entered into that arrangement, +or that patent license was granted, prior to 28 March 2007. + + Nothing in this License shall be construed as excluding or limiting +any implied license or other defenses to infringement that may +otherwise be available to you under applicable patent law. + + 12. No Surrender of Others' Freedom. + + If conditions are imposed on you (whether by court order, agreement or +otherwise) that contradict the conditions of this License, they do not +excuse you from the conditions of this License. If you cannot convey a +covered work so as to satisfy simultaneously your obligations under this +License and any other pertinent obligations, then as a consequence you may +not convey it at all. For example, if you agree to terms that obligate you +to collect a royalty for further conveying from those to whom you convey +the Program, the only way you could satisfy both those terms and this +License would be to refrain entirely from conveying the Program. + + 13. Use with the GNU Affero General Public License. + + Notwithstanding any other provision of this License, you have +permission to link or combine any covered work with a work licensed +under version 3 of the GNU Affero General Public License into a single +combined work, and to convey the resulting work. The terms of this +License will continue to apply to the part which is the covered work, +but the special requirements of the GNU Affero General Public License, +section 13, concerning interaction through a network will apply to the +combination as such. + + 14. Revised Versions of this License. + + The Free Software Foundation may publish revised and/or new versions of +the GNU General Public License from time to time. Such new versions will +be similar in spirit to the present version, but may differ in detail to +address new problems or concerns. + + Each version is given a distinguishing version number. If the +Program specifies that a certain numbered version of the GNU General +Public License "or any later version" applies to it, you have the +option of following the terms and conditions either of that numbered +version or of any later version published by the Free Software +Foundation. If the Program does not specify a version number of the +GNU General Public License, you may choose any version ever published +by the Free Software Foundation. + + If the Program specifies that a proxy can decide which future +versions of the GNU General Public License can be used, that proxy's +public statement of acceptance of a version permanently authorizes you +to choose that version for the Program. + + Later license versions may give you additional or different +permissions. However, no additional obligations are imposed on any +author or copyright holder as a result of your choosing to follow a +later version. + + 15. Disclaimer of Warranty. + + THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY +APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT +HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY +OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, +THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR +PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM +IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF +ALL NECESSARY SERVICING, REPAIR OR CORRECTION. + + 16. Limitation of Liability. + + IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING +WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS +THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY +GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE +USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF +DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD +PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), +EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF +SUCH DAMAGES. + + 17. Interpretation of Sections 15 and 16. + + If the disclaimer of warranty and limitation of liability provided +above cannot be given local legal effect according to their terms, +reviewing courts shall apply local law that most closely approximates +an absolute waiver of all civil liability in connection with the +Program, unless a warranty or assumption of liability accompanies a +copy of the Program in return for a fee. + + END OF TERMS AND CONDITIONS + + How to Apply These Terms to Your New Programs + + If you develop a new program, and you want it to be of the greatest +possible use to the public, the best way to achieve this is to make it +free software which everyone can redistribute and change under these terms. + + To do so, attach the following notices to the program. It is safest +to attach them to the start of each source file to most effectively +state the exclusion of warranty; and each file should have at least +the "copyright" line and a pointer to where the full notice is found. + + {one line to give the program's name and a brief idea of what it does.} + Copyright (C) {year} {name of author} + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see . + +Also add information on how to contact you by electronic and paper mail. + + If the program does terminal interaction, make it output a short +notice like this when it starts in an interactive mode: + + {project} Copyright (C) {year} {fullname} + This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'. + This is free software, and you are welcome to redistribute it + under certain conditions; type `show c' for details. + +The hypothetical commands `show w' and `show c' should show the appropriate +parts of the General Public License. Of course, your program's commands +might be different; for a GUI interface, you would use an "about box". + + You should also get your employer (if you work as a programmer) or school, +if any, to sign a "copyright disclaimer" for the program, if necessary. +For more information on this, and how to apply and follow the GNU GPL, see +. + + The GNU General Public License does not permit incorporating your program +into proprietary programs. If your program is a subroutine library, you +may consider it more useful to permit linking proprietary applications with +the library. If this is what you want to do, use the GNU Lesser General +Public License instead of this License. But first, please read +. diff --git a/plugins/lovata/toolbox/vendor/kharanenka/laravel-scope-code/README.md b/plugins/lovata/toolbox/vendor/kharanenka/laravel-scope-code/README.md new file mode 100644 index 000000000..3eb4bfa59 --- /dev/null +++ b/plugins/lovata/toolbox/vendor/kharanenka/laravel-scope-code/README.md @@ -0,0 +1,31 @@ +# Trait CodeField + + You can use trait in your models with "code" field (string) + +#Installation +Require this package in your `composer.json` and update composer. + +```php + +"kharanenka/laravel-scope-code": "1.0.*" + +``` + +# Usage + +```php + + class MyModel extend Model { + + use Kharanenka\Scope\CodeField; + + ... + + } + + $obElement = MyModel::getByCode('Andrey')->first(); + $obElement = MyModel::likeByCode('And')->first(); + $obElement = MyModel::nullCode()->get(); + $obElement = MyModel::notNullCode()->get(); + +``` \ No newline at end of file diff --git a/plugins/lovata/toolbox/vendor/kharanenka/laravel-scope-code/composer.json b/plugins/lovata/toolbox/vendor/kharanenka/laravel-scope-code/composer.json new file mode 100644 index 000000000..fc71b06a5 --- /dev/null +++ b/plugins/lovata/toolbox/vendor/kharanenka/laravel-scope-code/composer.json @@ -0,0 +1,32 @@ +{ + "name": "kharanenka/laravel-scope-code", + "description": "Scope for field 'code' (string)", + "license": "GPL-3.0", + "keywords": [ + "php", + "laravel", + "OctoberCMS", + "model", + "scope", + "code", + "field" + ], + "authors": [ + { + "name": "Andrey Kharanenka", + "email": "kharanenka@gmail.com" + } + ], + "version": "1.0.0", + "require": { + "php": ">=5.6" + }, + "autoload": { + "classmap": [ + "src/Kharanenka/Scope" + ], + "psr-0": { + "Kharanenka\\Scope\\": "src/" + } + } +} \ No newline at end of file diff --git a/plugins/lovata/toolbox/vendor/kharanenka/laravel-scope-code/src/Kharanenka/Scope/CodeField.php b/plugins/lovata/toolbox/vendor/kharanenka/laravel-scope-code/src/Kharanenka/Scope/CodeField.php new file mode 100644 index 000000000..e795294ab --- /dev/null +++ b/plugins/lovata/toolbox/vendor/kharanenka/laravel-scope-code/src/Kharanenka/Scope/CodeField.php @@ -0,0 +1,67 @@ +where('code', $sData); + } + + return $obQuery; + } + + /** + * Get element like code value + * @param \Illuminate\Database\Eloquent\Builder|\October\Rain\Database\Builder $obQuery + * @param string $sData + * @return \Illuminate\Database\Eloquent\Builder|\October\Rain\Database\Builder; + */ + public function scopeLikeByCode($obQuery, $sData) + { + if(!empty($sData)) { + $obQuery->where('code', 'like', '%'.$sData.'%'); + } + + return $obQuery; + } + + /** + * Get element with empty code + * @param \Illuminate\Database\Eloquent\Builder|\October\Rain\Database\Builder $obQuery + * @return \Illuminate\Database\Eloquent\Builder|\October\Rain\Database\Builder; + */ + public function scopeNullCode($obQuery) + { + return $obQuery->whereNull('code'); + } + + /** + * Get element with not empty code + * @param \Illuminate\Database\Eloquent\Builder|\October\Rain\Database\Builder $obQuery + * @return \Illuminate\Database\Eloquent\Builder|\October\Rain\Database\Builder; + */ + public function scopeNotNullCode($obQuery) + { + return $obQuery->whereNotNull('code'); + } +} \ No newline at end of file diff --git a/plugins/lovata/toolbox/vendor/kharanenka/laravel-scope-date/.gitignore b/plugins/lovata/toolbox/vendor/kharanenka/laravel-scope-date/.gitignore new file mode 100644 index 000000000..1e06577ef --- /dev/null +++ b/plugins/lovata/toolbox/vendor/kharanenka/laravel-scope-date/.gitignore @@ -0,0 +1,88 @@ +/node_modules +Homestead.yaml + +#site +pdf/ +_backup/ +cgi-bin/ + +*.log +*.bin +*.komodoproject +/.komodotools/ + +# PhpStorm +.idea + +# Eclipse +*.pydevproject +.project +.metadata +bin/** +tmp/** +tmp/**/* +*.tmp +*.bak +*.swp +*~.nib +local.properties +.classpath +.settings/ +.loadpath +.externalToolBuilders/ +*.launch +.cproject +.buildpath + +# SublimeText +/*.sublime-project +*.sublime-workspace + +# NetBeans +nbproject/ +build/ +nbbuild/ +dist/ +nbdist/ +nbactions.xml +nb-configuration.xml + +# Windows system files +$RECYCLE.BIN/ +Thumbs.db +ehthumbs.db +Desktop.ini + +# OSX system files +.DS_store +.AppleDouble +.LSOverride +Icon +._* +.Spotlight-V100 +.Trashes + +# SVN/CVS +.svn +/CVS/* +*/CVS/* +.cvsignore +*/.cvsignore + +# temporary files/folders + +tmp* +~* +*.~* +*.bak +*.swp + +build/ +png/ +psd/ +doc/ +svg/ +vendors/ +pixelPerfect/ +node_modules/ +docs/ \ No newline at end of file diff --git a/plugins/lovata/toolbox/vendor/kharanenka/laravel-scope-date/LICENSE b/plugins/lovata/toolbox/vendor/kharanenka/laravel-scope-date/LICENSE new file mode 100644 index 000000000..9cecc1d46 --- /dev/null +++ b/plugins/lovata/toolbox/vendor/kharanenka/laravel-scope-date/LICENSE @@ -0,0 +1,674 @@ + GNU GENERAL PUBLIC LICENSE + Version 3, 29 June 2007 + + Copyright (C) 2007 Free Software Foundation, Inc. + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + + Preamble + + The GNU General Public License is a free, copyleft license for +software and other kinds of works. + + The licenses for most software and other practical works are designed +to take away your freedom to share and change the works. By contrast, +the GNU General Public License is intended to guarantee your freedom to +share and change all versions of a program--to make sure it remains free +software for all its users. We, the Free Software Foundation, use the +GNU General Public License for most of our software; it applies also to +any other work released this way by its authors. You can apply it to +your programs, too. + + When we speak of free software, we are referring to freedom, not +price. Our General Public Licenses are designed to make sure that you +have the freedom to distribute copies of free software (and charge for +them if you wish), that you receive source code or can get it if you +want it, that you can change the software or use pieces of it in new +free programs, and that you know you can do these things. + + To protect your rights, we need to prevent others from denying you +these rights or asking you to surrender the rights. Therefore, you have +certain responsibilities if you distribute copies of the software, or if +you modify it: responsibilities to respect the freedom of others. + + For example, if you distribute copies of such a program, whether +gratis or for a fee, you must pass on to the recipients the same +freedoms that you received. You must make sure that they, too, receive +or can get the source code. And you must show them these terms so they +know their rights. + + Developers that use the GNU GPL protect your rights with two steps: +(1) assert copyright on the software, and (2) offer you this License +giving you legal permission to copy, distribute and/or modify it. + + For the developers' and authors' protection, the GPL clearly explains +that there is no warranty for this free software. For both users' and +authors' sake, the GPL requires that modified versions be marked as +changed, so that their problems will not be attributed erroneously to +authors of previous versions. + + Some devices are designed to deny users access to install or run +modified versions of the software inside them, although the manufacturer +can do so. This is fundamentally incompatible with the aim of +protecting users' freedom to change the software. The systematic +pattern of such abuse occurs in the area of products for individuals to +use, which is precisely where it is most unacceptable. Therefore, we +have designed this version of the GPL to prohibit the practice for those +products. If such problems arise substantially in other domains, we +stand ready to extend this provision to those domains in future versions +of the GPL, as needed to protect the freedom of users. + + Finally, every program is threatened constantly by software patents. +States should not allow patents to restrict development and use of +software on general-purpose computers, but in those that do, we wish to +avoid the special danger that patents applied to a free program could +make it effectively proprietary. To prevent this, the GPL assures that +patents cannot be used to render the program non-free. + + The precise terms and conditions for copying, distribution and +modification follow. + + TERMS AND CONDITIONS + + 0. Definitions. + + "This License" refers to version 3 of the GNU General Public License. + + "Copyright" also means copyright-like laws that apply to other kinds of +works, such as semiconductor masks. + + "The Program" refers to any copyrightable work licensed under this +License. Each licensee is addressed as "you". "Licensees" and +"recipients" may be individuals or organizations. + + To "modify" a work means to copy from or adapt all or part of the work +in a fashion requiring copyright permission, other than the making of an +exact copy. The resulting work is called a "modified version" of the +earlier work or a work "based on" the earlier work. + + A "covered work" means either the unmodified Program or a work based +on the Program. + + To "propagate" a work means to do anything with it that, without +permission, would make you directly or secondarily liable for +infringement under applicable copyright law, except executing it on a +computer or modifying a private copy. Propagation includes copying, +distribution (with or without modification), making available to the +public, and in some countries other activities as well. + + To "convey" a work means any kind of propagation that enables other +parties to make or receive copies. Mere interaction with a user through +a computer network, with no transfer of a copy, is not conveying. + + An interactive user interface displays "Appropriate Legal Notices" +to the extent that it includes a convenient and prominently visible +feature that (1) displays an appropriate copyright notice, and (2) +tells the user that there is no warranty for the work (except to the +extent that warranties are provided), that licensees may convey the +work under this License, and how to view a copy of this License. If +the interface presents a list of user commands or options, such as a +menu, a prominent item in the list meets this criterion. + + 1. Source Code. + + The "source code" for a work means the preferred form of the work +for making modifications to it. "Object code" means any non-source +form of a work. + + A "Standard Interface" means an interface that either is an official +standard defined by a recognized standards body, or, in the case of +interfaces specified for a particular programming language, one that +is widely used among developers working in that language. + + The "System Libraries" of an executable work include anything, other +than the work as a whole, that (a) is included in the normal form of +packaging a Major Component, but which is not part of that Major +Component, and (b) serves only to enable use of the work with that +Major Component, or to implement a Standard Interface for which an +implementation is available to the public in source code form. A +"Major Component", in this context, means a major essential component +(kernel, window system, and so on) of the specific operating system +(if any) on which the executable work runs, or a compiler used to +produce the work, or an object code interpreter used to run it. + + The "Corresponding Source" for a work in object code form means all +the source code needed to generate, install, and (for an executable +work) run the object code and to modify the work, including scripts to +control those activities. However, it does not include the work's +System Libraries, or general-purpose tools or generally available free +programs which are used unmodified in performing those activities but +which are not part of the work. For example, Corresponding Source +includes interface definition files associated with source files for +the work, and the source code for shared libraries and dynamically +linked subprograms that the work is specifically designed to require, +such as by intimate data communication or control flow between those +subprograms and other parts of the work. + + The Corresponding Source need not include anything that users +can regenerate automatically from other parts of the Corresponding +Source. + + The Corresponding Source for a work in source code form is that +same work. + + 2. Basic Permissions. + + All rights granted under this License are granted for the term of +copyright on the Program, and are irrevocable provided the stated +conditions are met. This License explicitly affirms your unlimited +permission to run the unmodified Program. The output from running a +covered work is covered by this License only if the output, given its +content, constitutes a covered work. This License acknowledges your +rights of fair use or other equivalent, as provided by copyright law. + + You may make, run and propagate covered works that you do not +convey, without conditions so long as your license otherwise remains +in force. You may convey covered works to others for the sole purpose +of having them make modifications exclusively for you, or provide you +with facilities for running those works, provided that you comply with +the terms of this License in conveying all material for which you do +not control copyright. Those thus making or running the covered works +for you must do so exclusively on your behalf, under your direction +and control, on terms that prohibit them from making any copies of +your copyrighted material outside their relationship with you. + + Conveying under any other circumstances is permitted solely under +the conditions stated below. Sublicensing is not allowed; section 10 +makes it unnecessary. + + 3. Protecting Users' Legal Rights From Anti-Circumvention Law. + + No covered work shall be deemed part of an effective technological +measure under any applicable law fulfilling obligations under article +11 of the WIPO copyright treaty adopted on 20 December 1996, or +similar laws prohibiting or restricting circumvention of such +measures. + + When you convey a covered work, you waive any legal power to forbid +circumvention of technological measures to the extent such circumvention +is effected by exercising rights under this License with respect to +the covered work, and you disclaim any intention to limit operation or +modification of the work as a means of enforcing, against the work's +users, your or third parties' legal rights to forbid circumvention of +technological measures. + + 4. Conveying Verbatim Copies. + + You may convey verbatim copies of the Program's source code as you +receive it, in any medium, provided that you conspicuously and +appropriately publish on each copy an appropriate copyright notice; +keep intact all notices stating that this License and any +non-permissive terms added in accord with section 7 apply to the code; +keep intact all notices of the absence of any warranty; and give all +recipients a copy of this License along with the Program. + + You may charge any price or no price for each copy that you convey, +and you may offer support or warranty protection for a fee. + + 5. Conveying Modified Source Versions. + + You may convey a work based on the Program, or the modifications to +produce it from the Program, in the form of source code under the +terms of section 4, provided that you also meet all of these conditions: + + a) The work must carry prominent notices stating that you modified + it, and giving a relevant date. + + b) The work must carry prominent notices stating that it is + released under this License and any conditions added under section + 7. This requirement modifies the requirement in section 4 to + "keep intact all notices". + + c) You must license the entire work, as a whole, under this + License to anyone who comes into possession of a copy. This + License will therefore apply, along with any applicable section 7 + additional terms, to the whole of the work, and all its parts, + regardless of how they are packaged. This License gives no + permission to license the work in any other way, but it does not + invalidate such permission if you have separately received it. + + d) If the work has interactive user interfaces, each must display + Appropriate Legal Notices; however, if the Program has interactive + interfaces that do not display Appropriate Legal Notices, your + work need not make them do so. + + A compilation of a covered work with other separate and independent +works, which are not by their nature extensions of the covered work, +and which are not combined with it such as to form a larger program, +in or on a volume of a storage or distribution medium, is called an +"aggregate" if the compilation and its resulting copyright are not +used to limit the access or legal rights of the compilation's users +beyond what the individual works permit. Inclusion of a covered work +in an aggregate does not cause this License to apply to the other +parts of the aggregate. + + 6. Conveying Non-Source Forms. + + You may convey a covered work in object code form under the terms +of sections 4 and 5, provided that you also convey the +machine-readable Corresponding Source under the terms of this License, +in one of these ways: + + a) Convey the object code in, or embodied in, a physical product + (including a physical distribution medium), accompanied by the + Corresponding Source fixed on a durable physical medium + customarily used for software interchange. + + b) Convey the object code in, or embodied in, a physical product + (including a physical distribution medium), accompanied by a + written offer, valid for at least three years and valid for as + long as you offer spare parts or customer support for that product + model, to give anyone who possesses the object code either (1) a + copy of the Corresponding Source for all the software in the + product that is covered by this License, on a durable physical + medium customarily used for software interchange, for a price no + more than your reasonable cost of physically performing this + conveying of source, or (2) access to copy the + Corresponding Source from a network server at no charge. + + c) Convey individual copies of the object code with a copy of the + written offer to provide the Corresponding Source. This + alternative is allowed only occasionally and noncommercially, and + only if you received the object code with such an offer, in accord + with subsection 6b. + + d) Convey the object code by offering access from a designated + place (gratis or for a charge), and offer equivalent access to the + Corresponding Source in the same way through the same place at no + further charge. You need not require recipients to copy the + Corresponding Source along with the object code. If the place to + copy the object code is a network server, the Corresponding Source + may be on a different server (operated by you or a third party) + that supports equivalent copying facilities, provided you maintain + clear directions next to the object code saying where to find the + Corresponding Source. Regardless of what server hosts the + Corresponding Source, you remain obligated to ensure that it is + available for as long as needed to satisfy these requirements. + + e) Convey the object code using peer-to-peer transmission, provided + you inform other peers where the object code and Corresponding + Source of the work are being offered to the general public at no + charge under subsection 6d. + + A separable portion of the object code, whose source code is excluded +from the Corresponding Source as a System Library, need not be +included in conveying the object code work. + + A "User Product" is either (1) a "consumer product", which means any +tangible personal property which is normally used for personal, family, +or household purposes, or (2) anything designed or sold for incorporation +into a dwelling. In determining whether a product is a consumer product, +doubtful cases shall be resolved in favor of coverage. For a particular +product received by a particular user, "normally used" refers to a +typical or common use of that class of product, regardless of the status +of the particular user or of the way in which the particular user +actually uses, or expects or is expected to use, the product. A product +is a consumer product regardless of whether the product has substantial +commercial, industrial or non-consumer uses, unless such uses represent +the only significant mode of use of the product. + + "Installation Information" for a User Product means any methods, +procedures, authorization keys, or other information required to install +and execute modified versions of a covered work in that User Product from +a modified version of its Corresponding Source. The information must +suffice to ensure that the continued functioning of the modified object +code is in no case prevented or interfered with solely because +modification has been made. + + If you convey an object code work under this section in, or with, or +specifically for use in, a User Product, and the conveying occurs as +part of a transaction in which the right of possession and use of the +User Product is transferred to the recipient in perpetuity or for a +fixed term (regardless of how the transaction is characterized), the +Corresponding Source conveyed under this section must be accompanied +by the Installation Information. But this requirement does not apply +if neither you nor any third party retains the ability to install +modified object code on the User Product (for example, the work has +been installed in ROM). + + The requirement to provide Installation Information does not include a +requirement to continue to provide support service, warranty, or updates +for a work that has been modified or installed by the recipient, or for +the User Product in which it has been modified or installed. Access to a +network may be denied when the modification itself materially and +adversely affects the operation of the network or violates the rules and +protocols for communication across the network. + + Corresponding Source conveyed, and Installation Information provided, +in accord with this section must be in a format that is publicly +documented (and with an implementation available to the public in +source code form), and must require no special password or key for +unpacking, reading or copying. + + 7. Additional Terms. + + "Additional permissions" are terms that supplement the terms of this +License by making exceptions from one or more of its conditions. +Additional permissions that are applicable to the entire Program shall +be treated as though they were included in this License, to the extent +that they are valid under applicable law. If additional permissions +apply only to part of the Program, that part may be used separately +under those permissions, but the entire Program remains governed by +this License without regard to the additional permissions. + + When you convey a copy of a covered work, you may at your option +remove any additional permissions from that copy, or from any part of +it. (Additional permissions may be written to require their own +removal in certain cases when you modify the work.) You may place +additional permissions on material, added by you to a covered work, +for which you have or can give appropriate copyright permission. + + Notwithstanding any other provision of this License, for material you +add to a covered work, you may (if authorized by the copyright holders of +that material) supplement the terms of this License with terms: + + a) Disclaiming warranty or limiting liability differently from the + terms of sections 15 and 16 of this License; or + + b) Requiring preservation of specified reasonable legal notices or + author attributions in that material or in the Appropriate Legal + Notices displayed by works containing it; or + + c) Prohibiting misrepresentation of the origin of that material, or + requiring that modified versions of such material be marked in + reasonable ways as different from the original version; or + + d) Limiting the use for publicity purposes of names of licensors or + authors of the material; or + + e) Declining to grant rights under trademark law for use of some + trade names, trademarks, or service marks; or + + f) Requiring indemnification of licensors and authors of that + material by anyone who conveys the material (or modified versions of + it) with contractual assumptions of liability to the recipient, for + any liability that these contractual assumptions directly impose on + those licensors and authors. + + All other non-permissive additional terms are considered "further +restrictions" within the meaning of section 10. If the Program as you +received it, or any part of it, contains a notice stating that it is +governed by this License along with a term that is a further +restriction, you may remove that term. If a license document contains +a further restriction but permits relicensing or conveying under this +License, you may add to a covered work material governed by the terms +of that license document, provided that the further restriction does +not survive such relicensing or conveying. + + If you add terms to a covered work in accord with this section, you +must place, in the relevant source files, a statement of the +additional terms that apply to those files, or a notice indicating +where to find the applicable terms. + + Additional terms, permissive or non-permissive, may be stated in the +form of a separately written license, or stated as exceptions; +the above requirements apply either way. + + 8. Termination. + + You may not propagate or modify a covered work except as expressly +provided under this License. Any attempt otherwise to propagate or +modify it is void, and will automatically terminate your rights under +this License (including any patent licenses granted under the third +paragraph of section 11). + + However, if you cease all violation of this License, then your +license from a particular copyright holder is reinstated (a) +provisionally, unless and until the copyright holder explicitly and +finally terminates your license, and (b) permanently, if the copyright +holder fails to notify you of the violation by some reasonable means +prior to 60 days after the cessation. + + Moreover, your license from a particular copyright holder is +reinstated permanently if the copyright holder notifies you of the +violation by some reasonable means, this is the first time you have +received notice of violation of this License (for any work) from that +copyright holder, and you cure the violation prior to 30 days after +your receipt of the notice. + + Termination of your rights under this section does not terminate the +licenses of parties who have received copies or rights from you under +this License. If your rights have been terminated and not permanently +reinstated, you do not qualify to receive new licenses for the same +material under section 10. + + 9. Acceptance Not Required for Having Copies. + + You are not required to accept this License in order to receive or +run a copy of the Program. Ancillary propagation of a covered work +occurring solely as a consequence of using peer-to-peer transmission +to receive a copy likewise does not require acceptance. However, +nothing other than this License grants you permission to propagate or +modify any covered work. These actions infringe copyright if you do +not accept this License. Therefore, by modifying or propagating a +covered work, you indicate your acceptance of this License to do so. + + 10. Automatic Licensing of Downstream Recipients. + + Each time you convey a covered work, the recipient automatically +receives a license from the original licensors, to run, modify and +propagate that work, subject to this License. You are not responsible +for enforcing compliance by third parties with this License. + + An "entity transaction" is a transaction transferring control of an +organization, or substantially all assets of one, or subdividing an +organization, or merging organizations. If propagation of a covered +work results from an entity transaction, each party to that +transaction who receives a copy of the work also receives whatever +licenses to the work the party's predecessor in interest had or could +give under the previous paragraph, plus a right to possession of the +Corresponding Source of the work from the predecessor in interest, if +the predecessor has it or can get it with reasonable efforts. + + You may not impose any further restrictions on the exercise of the +rights granted or affirmed under this License. For example, you may +not impose a license fee, royalty, or other charge for exercise of +rights granted under this License, and you may not initiate litigation +(including a cross-claim or counterclaim in a lawsuit) alleging that +any patent claim is infringed by making, using, selling, offering for +sale, or importing the Program or any portion of it. + + 11. Patents. + + A "contributor" is a copyright holder who authorizes use under this +License of the Program or a work on which the Program is based. The +work thus licensed is called the contributor's "contributor version". + + A contributor's "essential patent claims" are all patent claims +owned or controlled by the contributor, whether already acquired or +hereafter acquired, that would be infringed by some manner, permitted +by this License, of making, using, or selling its contributor version, +but do not include claims that would be infringed only as a +consequence of further modification of the contributor version. For +purposes of this definition, "control" includes the right to grant +patent sublicenses in a manner consistent with the requirements of +this License. + + Each contributor grants you a non-exclusive, worldwide, royalty-free +patent license under the contributor's essential patent claims, to +make, use, sell, offer for sale, import and otherwise run, modify and +propagate the contents of its contributor version. + + In the following three paragraphs, a "patent license" is any express +agreement or commitment, however denominated, not to enforce a patent +(such as an express permission to practice a patent or covenant not to +sue for patent infringement). To "grant" such a patent license to a +party means to make such an agreement or commitment not to enforce a +patent against the party. + + If you convey a covered work, knowingly relying on a patent license, +and the Corresponding Source of the work is not available for anyone +to copy, free of charge and under the terms of this License, through a +publicly available network server or other readily accessible means, +then you must either (1) cause the Corresponding Source to be so +available, or (2) arrange to deprive yourself of the benefit of the +patent license for this particular work, or (3) arrange, in a manner +consistent with the requirements of this License, to extend the patent +license to downstream recipients. "Knowingly relying" means you have +actual knowledge that, but for the patent license, your conveying the +covered work in a country, or your recipient's use of the covered work +in a country, would infringe one or more identifiable patents in that +country that you have reason to believe are valid. + + If, pursuant to or in connection with a single transaction or +arrangement, you convey, or propagate by procuring conveyance of, a +covered work, and grant a patent license to some of the parties +receiving the covered work authorizing them to use, propagate, modify +or convey a specific copy of the covered work, then the patent license +you grant is automatically extended to all recipients of the covered +work and works based on it. + + A patent license is "discriminatory" if it does not include within +the scope of its coverage, prohibits the exercise of, or is +conditioned on the non-exercise of one or more of the rights that are +specifically granted under this License. You may not convey a covered +work if you are a party to an arrangement with a third party that is +in the business of distributing software, under which you make payment +to the third party based on the extent of your activity of conveying +the work, and under which the third party grants, to any of the +parties who would receive the covered work from you, a discriminatory +patent license (a) in connection with copies of the covered work +conveyed by you (or copies made from those copies), or (b) primarily +for and in connection with specific products or compilations that +contain the covered work, unless you entered into that arrangement, +or that patent license was granted, prior to 28 March 2007. + + Nothing in this License shall be construed as excluding or limiting +any implied license or other defenses to infringement that may +otherwise be available to you under applicable patent law. + + 12. No Surrender of Others' Freedom. + + If conditions are imposed on you (whether by court order, agreement or +otherwise) that contradict the conditions of this License, they do not +excuse you from the conditions of this License. If you cannot convey a +covered work so as to satisfy simultaneously your obligations under this +License and any other pertinent obligations, then as a consequence you may +not convey it at all. For example, if you agree to terms that obligate you +to collect a royalty for further conveying from those to whom you convey +the Program, the only way you could satisfy both those terms and this +License would be to refrain entirely from conveying the Program. + + 13. Use with the GNU Affero General Public License. + + Notwithstanding any other provision of this License, you have +permission to link or combine any covered work with a work licensed +under version 3 of the GNU Affero General Public License into a single +combined work, and to convey the resulting work. The terms of this +License will continue to apply to the part which is the covered work, +but the special requirements of the GNU Affero General Public License, +section 13, concerning interaction through a network will apply to the +combination as such. + + 14. Revised Versions of this License. + + The Free Software Foundation may publish revised and/or new versions of +the GNU General Public License from time to time. Such new versions will +be similar in spirit to the present version, but may differ in detail to +address new problems or concerns. + + Each version is given a distinguishing version number. If the +Program specifies that a certain numbered version of the GNU General +Public License "or any later version" applies to it, you have the +option of following the terms and conditions either of that numbered +version or of any later version published by the Free Software +Foundation. If the Program does not specify a version number of the +GNU General Public License, you may choose any version ever published +by the Free Software Foundation. + + If the Program specifies that a proxy can decide which future +versions of the GNU General Public License can be used, that proxy's +public statement of acceptance of a version permanently authorizes you +to choose that version for the Program. + + Later license versions may give you additional or different +permissions. However, no additional obligations are imposed on any +author or copyright holder as a result of your choosing to follow a +later version. + + 15. Disclaimer of Warranty. + + THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY +APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT +HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY +OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, +THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR +PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM +IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF +ALL NECESSARY SERVICING, REPAIR OR CORRECTION. + + 16. Limitation of Liability. + + IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING +WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS +THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY +GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE +USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF +DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD +PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), +EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF +SUCH DAMAGES. + + 17. Interpretation of Sections 15 and 16. + + If the disclaimer of warranty and limitation of liability provided +above cannot be given local legal effect according to their terms, +reviewing courts shall apply local law that most closely approximates +an absolute waiver of all civil liability in connection with the +Program, unless a warranty or assumption of liability accompanies a +copy of the Program in return for a fee. + + END OF TERMS AND CONDITIONS + + How to Apply These Terms to Your New Programs + + If you develop a new program, and you want it to be of the greatest +possible use to the public, the best way to achieve this is to make it +free software which everyone can redistribute and change under these terms. + + To do so, attach the following notices to the program. It is safest +to attach them to the start of each source file to most effectively +state the exclusion of warranty; and each file should have at least +the "copyright" line and a pointer to where the full notice is found. + + {one line to give the program's name and a brief idea of what it does.} + Copyright (C) {year} {name of author} + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see . + +Also add information on how to contact you by electronic and paper mail. + + If the program does terminal interaction, make it output a short +notice like this when it starts in an interactive mode: + + {project} Copyright (C) {year} {fullname} + This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'. + This is free software, and you are welcome to redistribute it + under certain conditions; type `show c' for details. + +The hypothetical commands `show w' and `show c' should show the appropriate +parts of the General Public License. Of course, your program's commands +might be different; for a GUI interface, you would use an "about box". + + You should also get your employer (if you work as a programmer) or school, +if any, to sign a "copyright disclaimer" for the program, if necessary. +For more information on this, and how to apply and follow the GNU GPL, see +. + + The GNU General Public License does not permit incorporating your program +into proprietary programs. If your program is a subroutine library, you +may consider it more useful to permit linking proprietary applications with +the library. If this is what you want to do, use the GNU Lesser General +Public License instead of this License. But first, please read +. diff --git a/plugins/lovata/toolbox/vendor/kharanenka/laravel-scope-date/README.md b/plugins/lovata/toolbox/vendor/kharanenka/laravel-scope-date/README.md new file mode 100644 index 000000000..3d228d3ae --- /dev/null +++ b/plugins/lovata/toolbox/vendor/kharanenka/laravel-scope-date/README.md @@ -0,0 +1,29 @@ +# Trait DateField + + You can use trait in your models with date field (Carbon) + +#Installation +Require this package in your `composer.json` and update composer. + +```php + +"kharanenka/laravel-scope-date": "1.0.*" + +``` + +# Usage + +```php + + class MyModel extend Model { + + use Kharanenka\Scope\DateField; + + ... + + } + + $obElement = MyModel::getByDateValue('created_at', '2016-02-06', '>=')->first(); + $sDate = $obElement->getDateValue('created_at', 'd.m.Y'); + +``` \ No newline at end of file diff --git a/plugins/lovata/toolbox/vendor/kharanenka/laravel-scope-date/composer.json b/plugins/lovata/toolbox/vendor/kharanenka/laravel-scope-date/composer.json new file mode 100644 index 000000000..c435156dc --- /dev/null +++ b/plugins/lovata/toolbox/vendor/kharanenka/laravel-scope-date/composer.json @@ -0,0 +1,33 @@ +{ + "name": "kharanenka/laravel-scope-date", + "description": "Scope for date field (Carbon)", + "license": "GPL-3.0", + "keywords": [ + "php", + "laravel", + "OctoberCMS", + "model", + "scope", + "date", + "Carbon", + "field" + ], + "authors": [ + { + "name": "Andrey Kharanenka", + "email": "kharanenka@gmail.com" + } + ], + "version": "1.0.0", + "require": { + "php": ">=5.6" + }, + "autoload": { + "classmap": [ + "src/Kharanenka/Scope" + ], + "psr-0": { + "Kharanenka\\Scope\\": "src/" + } + } +} \ No newline at end of file diff --git a/plugins/lovata/toolbox/vendor/kharanenka/laravel-scope-date/src/Kharanenka/Scope/DateField.php b/plugins/lovata/toolbox/vendor/kharanenka/laravel-scope-date/src/Kharanenka/Scope/DateField.php new file mode 100644 index 000000000..be6f0ddb2 --- /dev/null +++ b/plugins/lovata/toolbox/vendor/kharanenka/laravel-scope-date/src/Kharanenka/Scope/DateField.php @@ -0,0 +1,52 @@ +where($sField, $sCondition, $sDate); + } + + /** + * Get date value + * @param string $sFieldName + * @param string $sFormat + * @return null|string + */ + public function getDateValue($sFieldName, $sFormat = 'd.m.Y') + { + if(empty($sFieldName) || empty($sFormat)) { + return null; + } + + /** @var Carbon $obDate */ + $obDate = $this->$sFieldName; + if(empty($obDate) || !$obDate instanceof Carbon) { + return $obDate; + } + + return $obDate->format($sFormat); + } +} \ No newline at end of file diff --git a/plugins/lovata/toolbox/vendor/kharanenka/laravel-scope-external-id/.gitignore b/plugins/lovata/toolbox/vendor/kharanenka/laravel-scope-external-id/.gitignore new file mode 100644 index 000000000..1e06577ef --- /dev/null +++ b/plugins/lovata/toolbox/vendor/kharanenka/laravel-scope-external-id/.gitignore @@ -0,0 +1,88 @@ +/node_modules +Homestead.yaml + +#site +pdf/ +_backup/ +cgi-bin/ + +*.log +*.bin +*.komodoproject +/.komodotools/ + +# PhpStorm +.idea + +# Eclipse +*.pydevproject +.project +.metadata +bin/** +tmp/** +tmp/**/* +*.tmp +*.bak +*.swp +*~.nib +local.properties +.classpath +.settings/ +.loadpath +.externalToolBuilders/ +*.launch +.cproject +.buildpath + +# SublimeText +/*.sublime-project +*.sublime-workspace + +# NetBeans +nbproject/ +build/ +nbbuild/ +dist/ +nbdist/ +nbactions.xml +nb-configuration.xml + +# Windows system files +$RECYCLE.BIN/ +Thumbs.db +ehthumbs.db +Desktop.ini + +# OSX system files +.DS_store +.AppleDouble +.LSOverride +Icon +._* +.Spotlight-V100 +.Trashes + +# SVN/CVS +.svn +/CVS/* +*/CVS/* +.cvsignore +*/.cvsignore + +# temporary files/folders + +tmp* +~* +*.~* +*.bak +*.swp + +build/ +png/ +psd/ +doc/ +svg/ +vendors/ +pixelPerfect/ +node_modules/ +docs/ \ No newline at end of file diff --git a/plugins/lovata/toolbox/vendor/kharanenka/laravel-scope-external-id/LICENSE b/plugins/lovata/toolbox/vendor/kharanenka/laravel-scope-external-id/LICENSE new file mode 100644 index 000000000..9cecc1d46 --- /dev/null +++ b/plugins/lovata/toolbox/vendor/kharanenka/laravel-scope-external-id/LICENSE @@ -0,0 +1,674 @@ + GNU GENERAL PUBLIC LICENSE + Version 3, 29 June 2007 + + Copyright (C) 2007 Free Software Foundation, Inc. + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + + Preamble + + The GNU General Public License is a free, copyleft license for +software and other kinds of works. + + The licenses for most software and other practical works are designed +to take away your freedom to share and change the works. By contrast, +the GNU General Public License is intended to guarantee your freedom to +share and change all versions of a program--to make sure it remains free +software for all its users. We, the Free Software Foundation, use the +GNU General Public License for most of our software; it applies also to +any other work released this way by its authors. You can apply it to +your programs, too. + + When we speak of free software, we are referring to freedom, not +price. Our General Public Licenses are designed to make sure that you +have the freedom to distribute copies of free software (and charge for +them if you wish), that you receive source code or can get it if you +want it, that you can change the software or use pieces of it in new +free programs, and that you know you can do these things. + + To protect your rights, we need to prevent others from denying you +these rights or asking you to surrender the rights. Therefore, you have +certain responsibilities if you distribute copies of the software, or if +you modify it: responsibilities to respect the freedom of others. + + For example, if you distribute copies of such a program, whether +gratis or for a fee, you must pass on to the recipients the same +freedoms that you received. You must make sure that they, too, receive +or can get the source code. And you must show them these terms so they +know their rights. + + Developers that use the GNU GPL protect your rights with two steps: +(1) assert copyright on the software, and (2) offer you this License +giving you legal permission to copy, distribute and/or modify it. + + For the developers' and authors' protection, the GPL clearly explains +that there is no warranty for this free software. For both users' and +authors' sake, the GPL requires that modified versions be marked as +changed, so that their problems will not be attributed erroneously to +authors of previous versions. + + Some devices are designed to deny users access to install or run +modified versions of the software inside them, although the manufacturer +can do so. This is fundamentally incompatible with the aim of +protecting users' freedom to change the software. The systematic +pattern of such abuse occurs in the area of products for individuals to +use, which is precisely where it is most unacceptable. Therefore, we +have designed this version of the GPL to prohibit the practice for those +products. If such problems arise substantially in other domains, we +stand ready to extend this provision to those domains in future versions +of the GPL, as needed to protect the freedom of users. + + Finally, every program is threatened constantly by software patents. +States should not allow patents to restrict development and use of +software on general-purpose computers, but in those that do, we wish to +avoid the special danger that patents applied to a free program could +make it effectively proprietary. To prevent this, the GPL assures that +patents cannot be used to render the program non-free. + + The precise terms and conditions for copying, distribution and +modification follow. + + TERMS AND CONDITIONS + + 0. Definitions. + + "This License" refers to version 3 of the GNU General Public License. + + "Copyright" also means copyright-like laws that apply to other kinds of +works, such as semiconductor masks. + + "The Program" refers to any copyrightable work licensed under this +License. Each licensee is addressed as "you". "Licensees" and +"recipients" may be individuals or organizations. + + To "modify" a work means to copy from or adapt all or part of the work +in a fashion requiring copyright permission, other than the making of an +exact copy. The resulting work is called a "modified version" of the +earlier work or a work "based on" the earlier work. + + A "covered work" means either the unmodified Program or a work based +on the Program. + + To "propagate" a work means to do anything with it that, without +permission, would make you directly or secondarily liable for +infringement under applicable copyright law, except executing it on a +computer or modifying a private copy. Propagation includes copying, +distribution (with or without modification), making available to the +public, and in some countries other activities as well. + + To "convey" a work means any kind of propagation that enables other +parties to make or receive copies. Mere interaction with a user through +a computer network, with no transfer of a copy, is not conveying. + + An interactive user interface displays "Appropriate Legal Notices" +to the extent that it includes a convenient and prominently visible +feature that (1) displays an appropriate copyright notice, and (2) +tells the user that there is no warranty for the work (except to the +extent that warranties are provided), that licensees may convey the +work under this License, and how to view a copy of this License. If +the interface presents a list of user commands or options, such as a +menu, a prominent item in the list meets this criterion. + + 1. Source Code. + + The "source code" for a work means the preferred form of the work +for making modifications to it. "Object code" means any non-source +form of a work. + + A "Standard Interface" means an interface that either is an official +standard defined by a recognized standards body, or, in the case of +interfaces specified for a particular programming language, one that +is widely used among developers working in that language. + + The "System Libraries" of an executable work include anything, other +than the work as a whole, that (a) is included in the normal form of +packaging a Major Component, but which is not part of that Major +Component, and (b) serves only to enable use of the work with that +Major Component, or to implement a Standard Interface for which an +implementation is available to the public in source code form. A +"Major Component", in this context, means a major essential component +(kernel, window system, and so on) of the specific operating system +(if any) on which the executable work runs, or a compiler used to +produce the work, or an object code interpreter used to run it. + + The "Corresponding Source" for a work in object code form means all +the source code needed to generate, install, and (for an executable +work) run the object code and to modify the work, including scripts to +control those activities. However, it does not include the work's +System Libraries, or general-purpose tools or generally available free +programs which are used unmodified in performing those activities but +which are not part of the work. For example, Corresponding Source +includes interface definition files associated with source files for +the work, and the source code for shared libraries and dynamically +linked subprograms that the work is specifically designed to require, +such as by intimate data communication or control flow between those +subprograms and other parts of the work. + + The Corresponding Source need not include anything that users +can regenerate automatically from other parts of the Corresponding +Source. + + The Corresponding Source for a work in source code form is that +same work. + + 2. Basic Permissions. + + All rights granted under this License are granted for the term of +copyright on the Program, and are irrevocable provided the stated +conditions are met. This License explicitly affirms your unlimited +permission to run the unmodified Program. The output from running a +covered work is covered by this License only if the output, given its +content, constitutes a covered work. This License acknowledges your +rights of fair use or other equivalent, as provided by copyright law. + + You may make, run and propagate covered works that you do not +convey, without conditions so long as your license otherwise remains +in force. You may convey covered works to others for the sole purpose +of having them make modifications exclusively for you, or provide you +with facilities for running those works, provided that you comply with +the terms of this License in conveying all material for which you do +not control copyright. Those thus making or running the covered works +for you must do so exclusively on your behalf, under your direction +and control, on terms that prohibit them from making any copies of +your copyrighted material outside their relationship with you. + + Conveying under any other circumstances is permitted solely under +the conditions stated below. Sublicensing is not allowed; section 10 +makes it unnecessary. + + 3. Protecting Users' Legal Rights From Anti-Circumvention Law. + + No covered work shall be deemed part of an effective technological +measure under any applicable law fulfilling obligations under article +11 of the WIPO copyright treaty adopted on 20 December 1996, or +similar laws prohibiting or restricting circumvention of such +measures. + + When you convey a covered work, you waive any legal power to forbid +circumvention of technological measures to the extent such circumvention +is effected by exercising rights under this License with respect to +the covered work, and you disclaim any intention to limit operation or +modification of the work as a means of enforcing, against the work's +users, your or third parties' legal rights to forbid circumvention of +technological measures. + + 4. Conveying Verbatim Copies. + + You may convey verbatim copies of the Program's source code as you +receive it, in any medium, provided that you conspicuously and +appropriately publish on each copy an appropriate copyright notice; +keep intact all notices stating that this License and any +non-permissive terms added in accord with section 7 apply to the code; +keep intact all notices of the absence of any warranty; and give all +recipients a copy of this License along with the Program. + + You may charge any price or no price for each copy that you convey, +and you may offer support or warranty protection for a fee. + + 5. Conveying Modified Source Versions. + + You may convey a work based on the Program, or the modifications to +produce it from the Program, in the form of source code under the +terms of section 4, provided that you also meet all of these conditions: + + a) The work must carry prominent notices stating that you modified + it, and giving a relevant date. + + b) The work must carry prominent notices stating that it is + released under this License and any conditions added under section + 7. This requirement modifies the requirement in section 4 to + "keep intact all notices". + + c) You must license the entire work, as a whole, under this + License to anyone who comes into possession of a copy. This + License will therefore apply, along with any applicable section 7 + additional terms, to the whole of the work, and all its parts, + regardless of how they are packaged. This License gives no + permission to license the work in any other way, but it does not + invalidate such permission if you have separately received it. + + d) If the work has interactive user interfaces, each must display + Appropriate Legal Notices; however, if the Program has interactive + interfaces that do not display Appropriate Legal Notices, your + work need not make them do so. + + A compilation of a covered work with other separate and independent +works, which are not by their nature extensions of the covered work, +and which are not combined with it such as to form a larger program, +in or on a volume of a storage or distribution medium, is called an +"aggregate" if the compilation and its resulting copyright are not +used to limit the access or legal rights of the compilation's users +beyond what the individual works permit. Inclusion of a covered work +in an aggregate does not cause this License to apply to the other +parts of the aggregate. + + 6. Conveying Non-Source Forms. + + You may convey a covered work in object code form under the terms +of sections 4 and 5, provided that you also convey the +machine-readable Corresponding Source under the terms of this License, +in one of these ways: + + a) Convey the object code in, or embodied in, a physical product + (including a physical distribution medium), accompanied by the + Corresponding Source fixed on a durable physical medium + customarily used for software interchange. + + b) Convey the object code in, or embodied in, a physical product + (including a physical distribution medium), accompanied by a + written offer, valid for at least three years and valid for as + long as you offer spare parts or customer support for that product + model, to give anyone who possesses the object code either (1) a + copy of the Corresponding Source for all the software in the + product that is covered by this License, on a durable physical + medium customarily used for software interchange, for a price no + more than your reasonable cost of physically performing this + conveying of source, or (2) access to copy the + Corresponding Source from a network server at no charge. + + c) Convey individual copies of the object code with a copy of the + written offer to provide the Corresponding Source. This + alternative is allowed only occasionally and noncommercially, and + only if you received the object code with such an offer, in accord + with subsection 6b. + + d) Convey the object code by offering access from a designated + place (gratis or for a charge), and offer equivalent access to the + Corresponding Source in the same way through the same place at no + further charge. You need not require recipients to copy the + Corresponding Source along with the object code. If the place to + copy the object code is a network server, the Corresponding Source + may be on a different server (operated by you or a third party) + that supports equivalent copying facilities, provided you maintain + clear directions next to the object code saying where to find the + Corresponding Source. Regardless of what server hosts the + Corresponding Source, you remain obligated to ensure that it is + available for as long as needed to satisfy these requirements. + + e) Convey the object code using peer-to-peer transmission, provided + you inform other peers where the object code and Corresponding + Source of the work are being offered to the general public at no + charge under subsection 6d. + + A separable portion of the object code, whose source code is excluded +from the Corresponding Source as a System Library, need not be +included in conveying the object code work. + + A "User Product" is either (1) a "consumer product", which means any +tangible personal property which is normally used for personal, family, +or household purposes, or (2) anything designed or sold for incorporation +into a dwelling. In determining whether a product is a consumer product, +doubtful cases shall be resolved in favor of coverage. For a particular +product received by a particular user, "normally used" refers to a +typical or common use of that class of product, regardless of the status +of the particular user or of the way in which the particular user +actually uses, or expects or is expected to use, the product. A product +is a consumer product regardless of whether the product has substantial +commercial, industrial or non-consumer uses, unless such uses represent +the only significant mode of use of the product. + + "Installation Information" for a User Product means any methods, +procedures, authorization keys, or other information required to install +and execute modified versions of a covered work in that User Product from +a modified version of its Corresponding Source. The information must +suffice to ensure that the continued functioning of the modified object +code is in no case prevented or interfered with solely because +modification has been made. + + If you convey an object code work under this section in, or with, or +specifically for use in, a User Product, and the conveying occurs as +part of a transaction in which the right of possession and use of the +User Product is transferred to the recipient in perpetuity or for a +fixed term (regardless of how the transaction is characterized), the +Corresponding Source conveyed under this section must be accompanied +by the Installation Information. But this requirement does not apply +if neither you nor any third party retains the ability to install +modified object code on the User Product (for example, the work has +been installed in ROM). + + The requirement to provide Installation Information does not include a +requirement to continue to provide support service, warranty, or updates +for a work that has been modified or installed by the recipient, or for +the User Product in which it has been modified or installed. Access to a +network may be denied when the modification itself materially and +adversely affects the operation of the network or violates the rules and +protocols for communication across the network. + + Corresponding Source conveyed, and Installation Information provided, +in accord with this section must be in a format that is publicly +documented (and with an implementation available to the public in +source code form), and must require no special password or key for +unpacking, reading or copying. + + 7. Additional Terms. + + "Additional permissions" are terms that supplement the terms of this +License by making exceptions from one or more of its conditions. +Additional permissions that are applicable to the entire Program shall +be treated as though they were included in this License, to the extent +that they are valid under applicable law. If additional permissions +apply only to part of the Program, that part may be used separately +under those permissions, but the entire Program remains governed by +this License without regard to the additional permissions. + + When you convey a copy of a covered work, you may at your option +remove any additional permissions from that copy, or from any part of +it. (Additional permissions may be written to require their own +removal in certain cases when you modify the work.) You may place +additional permissions on material, added by you to a covered work, +for which you have or can give appropriate copyright permission. + + Notwithstanding any other provision of this License, for material you +add to a covered work, you may (if authorized by the copyright holders of +that material) supplement the terms of this License with terms: + + a) Disclaiming warranty or limiting liability differently from the + terms of sections 15 and 16 of this License; or + + b) Requiring preservation of specified reasonable legal notices or + author attributions in that material or in the Appropriate Legal + Notices displayed by works containing it; or + + c) Prohibiting misrepresentation of the origin of that material, or + requiring that modified versions of such material be marked in + reasonable ways as different from the original version; or + + d) Limiting the use for publicity purposes of names of licensors or + authors of the material; or + + e) Declining to grant rights under trademark law for use of some + trade names, trademarks, or service marks; or + + f) Requiring indemnification of licensors and authors of that + material by anyone who conveys the material (or modified versions of + it) with contractual assumptions of liability to the recipient, for + any liability that these contractual assumptions directly impose on + those licensors and authors. + + All other non-permissive additional terms are considered "further +restrictions" within the meaning of section 10. If the Program as you +received it, or any part of it, contains a notice stating that it is +governed by this License along with a term that is a further +restriction, you may remove that term. If a license document contains +a further restriction but permits relicensing or conveying under this +License, you may add to a covered work material governed by the terms +of that license document, provided that the further restriction does +not survive such relicensing or conveying. + + If you add terms to a covered work in accord with this section, you +must place, in the relevant source files, a statement of the +additional terms that apply to those files, or a notice indicating +where to find the applicable terms. + + Additional terms, permissive or non-permissive, may be stated in the +form of a separately written license, or stated as exceptions; +the above requirements apply either way. + + 8. Termination. + + You may not propagate or modify a covered work except as expressly +provided under this License. Any attempt otherwise to propagate or +modify it is void, and will automatically terminate your rights under +this License (including any patent licenses granted under the third +paragraph of section 11). + + However, if you cease all violation of this License, then your +license from a particular copyright holder is reinstated (a) +provisionally, unless and until the copyright holder explicitly and +finally terminates your license, and (b) permanently, if the copyright +holder fails to notify you of the violation by some reasonable means +prior to 60 days after the cessation. + + Moreover, your license from a particular copyright holder is +reinstated permanently if the copyright holder notifies you of the +violation by some reasonable means, this is the first time you have +received notice of violation of this License (for any work) from that +copyright holder, and you cure the violation prior to 30 days after +your receipt of the notice. + + Termination of your rights under this section does not terminate the +licenses of parties who have received copies or rights from you under +this License. If your rights have been terminated and not permanently +reinstated, you do not qualify to receive new licenses for the same +material under section 10. + + 9. Acceptance Not Required for Having Copies. + + You are not required to accept this License in order to receive or +run a copy of the Program. Ancillary propagation of a covered work +occurring solely as a consequence of using peer-to-peer transmission +to receive a copy likewise does not require acceptance. However, +nothing other than this License grants you permission to propagate or +modify any covered work. These actions infringe copyright if you do +not accept this License. Therefore, by modifying or propagating a +covered work, you indicate your acceptance of this License to do so. + + 10. Automatic Licensing of Downstream Recipients. + + Each time you convey a covered work, the recipient automatically +receives a license from the original licensors, to run, modify and +propagate that work, subject to this License. You are not responsible +for enforcing compliance by third parties with this License. + + An "entity transaction" is a transaction transferring control of an +organization, or substantially all assets of one, or subdividing an +organization, or merging organizations. If propagation of a covered +work results from an entity transaction, each party to that +transaction who receives a copy of the work also receives whatever +licenses to the work the party's predecessor in interest had or could +give under the previous paragraph, plus a right to possession of the +Corresponding Source of the work from the predecessor in interest, if +the predecessor has it or can get it with reasonable efforts. + + You may not impose any further restrictions on the exercise of the +rights granted or affirmed under this License. For example, you may +not impose a license fee, royalty, or other charge for exercise of +rights granted under this License, and you may not initiate litigation +(including a cross-claim or counterclaim in a lawsuit) alleging that +any patent claim is infringed by making, using, selling, offering for +sale, or importing the Program or any portion of it. + + 11. Patents. + + A "contributor" is a copyright holder who authorizes use under this +License of the Program or a work on which the Program is based. The +work thus licensed is called the contributor's "contributor version". + + A contributor's "essential patent claims" are all patent claims +owned or controlled by the contributor, whether already acquired or +hereafter acquired, that would be infringed by some manner, permitted +by this License, of making, using, or selling its contributor version, +but do not include claims that would be infringed only as a +consequence of further modification of the contributor version. For +purposes of this definition, "control" includes the right to grant +patent sublicenses in a manner consistent with the requirements of +this License. + + Each contributor grants you a non-exclusive, worldwide, royalty-free +patent license under the contributor's essential patent claims, to +make, use, sell, offer for sale, import and otherwise run, modify and +propagate the contents of its contributor version. + + In the following three paragraphs, a "patent license" is any express +agreement or commitment, however denominated, not to enforce a patent +(such as an express permission to practice a patent or covenant not to +sue for patent infringement). To "grant" such a patent license to a +party means to make such an agreement or commitment not to enforce a +patent against the party. + + If you convey a covered work, knowingly relying on a patent license, +and the Corresponding Source of the work is not available for anyone +to copy, free of charge and under the terms of this License, through a +publicly available network server or other readily accessible means, +then you must either (1) cause the Corresponding Source to be so +available, or (2) arrange to deprive yourself of the benefit of the +patent license for this particular work, or (3) arrange, in a manner +consistent with the requirements of this License, to extend the patent +license to downstream recipients. "Knowingly relying" means you have +actual knowledge that, but for the patent license, your conveying the +covered work in a country, or your recipient's use of the covered work +in a country, would infringe one or more identifiable patents in that +country that you have reason to believe are valid. + + If, pursuant to or in connection with a single transaction or +arrangement, you convey, or propagate by procuring conveyance of, a +covered work, and grant a patent license to some of the parties +receiving the covered work authorizing them to use, propagate, modify +or convey a specific copy of the covered work, then the patent license +you grant is automatically extended to all recipients of the covered +work and works based on it. + + A patent license is "discriminatory" if it does not include within +the scope of its coverage, prohibits the exercise of, or is +conditioned on the non-exercise of one or more of the rights that are +specifically granted under this License. You may not convey a covered +work if you are a party to an arrangement with a third party that is +in the business of distributing software, under which you make payment +to the third party based on the extent of your activity of conveying +the work, and under which the third party grants, to any of the +parties who would receive the covered work from you, a discriminatory +patent license (a) in connection with copies of the covered work +conveyed by you (or copies made from those copies), or (b) primarily +for and in connection with specific products or compilations that +contain the covered work, unless you entered into that arrangement, +or that patent license was granted, prior to 28 March 2007. + + Nothing in this License shall be construed as excluding or limiting +any implied license or other defenses to infringement that may +otherwise be available to you under applicable patent law. + + 12. No Surrender of Others' Freedom. + + If conditions are imposed on you (whether by court order, agreement or +otherwise) that contradict the conditions of this License, they do not +excuse you from the conditions of this License. If you cannot convey a +covered work so as to satisfy simultaneously your obligations under this +License and any other pertinent obligations, then as a consequence you may +not convey it at all. For example, if you agree to terms that obligate you +to collect a royalty for further conveying from those to whom you convey +the Program, the only way you could satisfy both those terms and this +License would be to refrain entirely from conveying the Program. + + 13. Use with the GNU Affero General Public License. + + Notwithstanding any other provision of this License, you have +permission to link or combine any covered work with a work licensed +under version 3 of the GNU Affero General Public License into a single +combined work, and to convey the resulting work. The terms of this +License will continue to apply to the part which is the covered work, +but the special requirements of the GNU Affero General Public License, +section 13, concerning interaction through a network will apply to the +combination as such. + + 14. Revised Versions of this License. + + The Free Software Foundation may publish revised and/or new versions of +the GNU General Public License from time to time. Such new versions will +be similar in spirit to the present version, but may differ in detail to +address new problems or concerns. + + Each version is given a distinguishing version number. If the +Program specifies that a certain numbered version of the GNU General +Public License "or any later version" applies to it, you have the +option of following the terms and conditions either of that numbered +version or of any later version published by the Free Software +Foundation. If the Program does not specify a version number of the +GNU General Public License, you may choose any version ever published +by the Free Software Foundation. + + If the Program specifies that a proxy can decide which future +versions of the GNU General Public License can be used, that proxy's +public statement of acceptance of a version permanently authorizes you +to choose that version for the Program. + + Later license versions may give you additional or different +permissions. However, no additional obligations are imposed on any +author or copyright holder as a result of your choosing to follow a +later version. + + 15. Disclaimer of Warranty. + + THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY +APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT +HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY +OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, +THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR +PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM +IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF +ALL NECESSARY SERVICING, REPAIR OR CORRECTION. + + 16. Limitation of Liability. + + IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING +WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS +THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY +GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE +USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF +DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD +PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), +EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF +SUCH DAMAGES. + + 17. Interpretation of Sections 15 and 16. + + If the disclaimer of warranty and limitation of liability provided +above cannot be given local legal effect according to their terms, +reviewing courts shall apply local law that most closely approximates +an absolute waiver of all civil liability in connection with the +Program, unless a warranty or assumption of liability accompanies a +copy of the Program in return for a fee. + + END OF TERMS AND CONDITIONS + + How to Apply These Terms to Your New Programs + + If you develop a new program, and you want it to be of the greatest +possible use to the public, the best way to achieve this is to make it +free software which everyone can redistribute and change under these terms. + + To do so, attach the following notices to the program. It is safest +to attach them to the start of each source file to most effectively +state the exclusion of warranty; and each file should have at least +the "copyright" line and a pointer to where the full notice is found. + + {one line to give the program's name and a brief idea of what it does.} + Copyright (C) {year} {name of author} + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see . + +Also add information on how to contact you by electronic and paper mail. + + If the program does terminal interaction, make it output a short +notice like this when it starts in an interactive mode: + + {project} Copyright (C) {year} {fullname} + This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'. + This is free software, and you are welcome to redistribute it + under certain conditions; type `show c' for details. + +The hypothetical commands `show w' and `show c' should show the appropriate +parts of the General Public License. Of course, your program's commands +might be different; for a GUI interface, you would use an "about box". + + You should also get your employer (if you work as a programmer) or school, +if any, to sign a "copyright disclaimer" for the program, if necessary. +For more information on this, and how to apply and follow the GNU GPL, see +. + + The GNU General Public License does not permit incorporating your program +into proprietary programs. If your program is a subroutine library, you +may consider it more useful to permit linking proprietary applications with +the library. If this is what you want to do, use the GNU Lesser General +Public License instead of this License. But first, please read +. diff --git a/plugins/lovata/toolbox/vendor/kharanenka/laravel-scope-external-id/README.md b/plugins/lovata/toolbox/vendor/kharanenka/laravel-scope-external-id/README.md new file mode 100644 index 000000000..7511d81d5 --- /dev/null +++ b/plugins/lovata/toolbox/vendor/kharanenka/laravel-scope-external-id/README.md @@ -0,0 +1,31 @@ +# Trait ExternalIDField + + You can use trait in your models with "external_id" field (int) + +#Installation +Require this package in your `composer.json` and update composer. + +```php + +"kharanenka/laravel-scope-external-id": "1.0.*" + +``` + +# Usage + +```php + + + class MyModel extend Model { + + use Kharanenka\Scope\ExternalIDField; + + ... + + } + + $obElement = MyModel::getByExternalID(16)->first(); + $obElement = MyModel::nullExternalID()->first(); + $obElement = MyModel::notNullExternalID()->first(); + +``` \ No newline at end of file diff --git a/plugins/lovata/toolbox/vendor/kharanenka/laravel-scope-external-id/composer.json b/plugins/lovata/toolbox/vendor/kharanenka/laravel-scope-external-id/composer.json new file mode 100644 index 000000000..92064c91f --- /dev/null +++ b/plugins/lovata/toolbox/vendor/kharanenka/laravel-scope-external-id/composer.json @@ -0,0 +1,32 @@ +{ + "name": "kharanenka/laravel-scope-external-id", + "description": "Scope for field 'external_id' (int)", + "license": "GPL-3.0", + "keywords": [ + "php", + "laravel", + "OctoberCMS", + "model", + "scope", + "external_id", + "field" + ], + "authors": [ + { + "name": "Andrey Kharanenka", + "email": "kharanenka@gmail.com" + } + ], + "version": "1.0.0", + "require": { + "php": ">=5.6" + }, + "autoload": { + "classmap": [ + "src/Kharanenka/Scope" + ], + "psr-0": { + "Kharanenka\\Scope\\": "src/" + } + } +} \ No newline at end of file diff --git a/plugins/lovata/toolbox/vendor/kharanenka/laravel-scope-external-id/src/Kharanenka/Scope/ExternalIDField.php b/plugins/lovata/toolbox/vendor/kharanenka/laravel-scope-external-id/src/Kharanenka/Scope/ExternalIDField.php new file mode 100644 index 000000000..2f1becba5 --- /dev/null +++ b/plugins/lovata/toolbox/vendor/kharanenka/laravel-scope-external-id/src/Kharanenka/Scope/ExternalIDField.php @@ -0,0 +1,51 @@ +where('external_id', $sData); + } + + return $obQuery; + } + + /** + * Get element with empty external_id + * @param \Illuminate\Database\Eloquent\Builder|\October\Rain\Database\Builder $obQuery + * @return \Illuminate\Database\Eloquent\Builder|\October\Rain\Database\Builder; + */ + public function scopeNullExternalID($obQuery) + { + return $obQuery->whereNull('external_id'); + } + + /** + * Get element with not empty external_id + * @param \Illuminate\Database\Eloquent\Builder|\October\Rain\Database\Builder $obQuery + * @return \Illuminate\Database\Eloquent\Builder|\October\Rain\Database\Builder; + */ + public function scopeNotNullExternalID($obQuery) + { + return $obQuery->whereNotNull('external_id'); + } +} \ No newline at end of file diff --git a/plugins/lovata/toolbox/vendor/kharanenka/laravel-scope-hidden/.gitignore b/plugins/lovata/toolbox/vendor/kharanenka/laravel-scope-hidden/.gitignore new file mode 100644 index 000000000..1e06577ef --- /dev/null +++ b/plugins/lovata/toolbox/vendor/kharanenka/laravel-scope-hidden/.gitignore @@ -0,0 +1,88 @@ +/node_modules +Homestead.yaml + +#site +pdf/ +_backup/ +cgi-bin/ + +*.log +*.bin +*.komodoproject +/.komodotools/ + +# PhpStorm +.idea + +# Eclipse +*.pydevproject +.project +.metadata +bin/** +tmp/** +tmp/**/* +*.tmp +*.bak +*.swp +*~.nib +local.properties +.classpath +.settings/ +.loadpath +.externalToolBuilders/ +*.launch +.cproject +.buildpath + +# SublimeText +/*.sublime-project +*.sublime-workspace + +# NetBeans +nbproject/ +build/ +nbbuild/ +dist/ +nbdist/ +nbactions.xml +nb-configuration.xml + +# Windows system files +$RECYCLE.BIN/ +Thumbs.db +ehthumbs.db +Desktop.ini + +# OSX system files +.DS_store +.AppleDouble +.LSOverride +Icon +._* +.Spotlight-V100 +.Trashes + +# SVN/CVS +.svn +/CVS/* +*/CVS/* +.cvsignore +*/.cvsignore + +# temporary files/folders + +tmp* +~* +*.~* +*.bak +*.swp + +build/ +png/ +psd/ +doc/ +svg/ +vendors/ +pixelPerfect/ +node_modules/ +docs/ \ No newline at end of file diff --git a/plugins/lovata/toolbox/vendor/kharanenka/laravel-scope-hidden/LICENSE b/plugins/lovata/toolbox/vendor/kharanenka/laravel-scope-hidden/LICENSE new file mode 100644 index 000000000..9cecc1d46 --- /dev/null +++ b/plugins/lovata/toolbox/vendor/kharanenka/laravel-scope-hidden/LICENSE @@ -0,0 +1,674 @@ + GNU GENERAL PUBLIC LICENSE + Version 3, 29 June 2007 + + Copyright (C) 2007 Free Software Foundation, Inc. + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + + Preamble + + The GNU General Public License is a free, copyleft license for +software and other kinds of works. + + The licenses for most software and other practical works are designed +to take away your freedom to share and change the works. By contrast, +the GNU General Public License is intended to guarantee your freedom to +share and change all versions of a program--to make sure it remains free +software for all its users. We, the Free Software Foundation, use the +GNU General Public License for most of our software; it applies also to +any other work released this way by its authors. You can apply it to +your programs, too. + + When we speak of free software, we are referring to freedom, not +price. Our General Public Licenses are designed to make sure that you +have the freedom to distribute copies of free software (and charge for +them if you wish), that you receive source code or can get it if you +want it, that you can change the software or use pieces of it in new +free programs, and that you know you can do these things. + + To protect your rights, we need to prevent others from denying you +these rights or asking you to surrender the rights. Therefore, you have +certain responsibilities if you distribute copies of the software, or if +you modify it: responsibilities to respect the freedom of others. + + For example, if you distribute copies of such a program, whether +gratis or for a fee, you must pass on to the recipients the same +freedoms that you received. You must make sure that they, too, receive +or can get the source code. And you must show them these terms so they +know their rights. + + Developers that use the GNU GPL protect your rights with two steps: +(1) assert copyright on the software, and (2) offer you this License +giving you legal permission to copy, distribute and/or modify it. + + For the developers' and authors' protection, the GPL clearly explains +that there is no warranty for this free software. For both users' and +authors' sake, the GPL requires that modified versions be marked as +changed, so that their problems will not be attributed erroneously to +authors of previous versions. + + Some devices are designed to deny users access to install or run +modified versions of the software inside them, although the manufacturer +can do so. This is fundamentally incompatible with the aim of +protecting users' freedom to change the software. The systematic +pattern of such abuse occurs in the area of products for individuals to +use, which is precisely where it is most unacceptable. Therefore, we +have designed this version of the GPL to prohibit the practice for those +products. If such problems arise substantially in other domains, we +stand ready to extend this provision to those domains in future versions +of the GPL, as needed to protect the freedom of users. + + Finally, every program is threatened constantly by software patents. +States should not allow patents to restrict development and use of +software on general-purpose computers, but in those that do, we wish to +avoid the special danger that patents applied to a free program could +make it effectively proprietary. To prevent this, the GPL assures that +patents cannot be used to render the program non-free. + + The precise terms and conditions for copying, distribution and +modification follow. + + TERMS AND CONDITIONS + + 0. Definitions. + + "This License" refers to version 3 of the GNU General Public License. + + "Copyright" also means copyright-like laws that apply to other kinds of +works, such as semiconductor masks. + + "The Program" refers to any copyrightable work licensed under this +License. Each licensee is addressed as "you". "Licensees" and +"recipients" may be individuals or organizations. + + To "modify" a work means to copy from or adapt all or part of the work +in a fashion requiring copyright permission, other than the making of an +exact copy. The resulting work is called a "modified version" of the +earlier work or a work "based on" the earlier work. + + A "covered work" means either the unmodified Program or a work based +on the Program. + + To "propagate" a work means to do anything with it that, without +permission, would make you directly or secondarily liable for +infringement under applicable copyright law, except executing it on a +computer or modifying a private copy. Propagation includes copying, +distribution (with or without modification), making available to the +public, and in some countries other activities as well. + + To "convey" a work means any kind of propagation that enables other +parties to make or receive copies. Mere interaction with a user through +a computer network, with no transfer of a copy, is not conveying. + + An interactive user interface displays "Appropriate Legal Notices" +to the extent that it includes a convenient and prominently visible +feature that (1) displays an appropriate copyright notice, and (2) +tells the user that there is no warranty for the work (except to the +extent that warranties are provided), that licensees may convey the +work under this License, and how to view a copy of this License. If +the interface presents a list of user commands or options, such as a +menu, a prominent item in the list meets this criterion. + + 1. Source Code. + + The "source code" for a work means the preferred form of the work +for making modifications to it. "Object code" means any non-source +form of a work. + + A "Standard Interface" means an interface that either is an official +standard defined by a recognized standards body, or, in the case of +interfaces specified for a particular programming language, one that +is widely used among developers working in that language. + + The "System Libraries" of an executable work include anything, other +than the work as a whole, that (a) is included in the normal form of +packaging a Major Component, but which is not part of that Major +Component, and (b) serves only to enable use of the work with that +Major Component, or to implement a Standard Interface for which an +implementation is available to the public in source code form. A +"Major Component", in this context, means a major essential component +(kernel, window system, and so on) of the specific operating system +(if any) on which the executable work runs, or a compiler used to +produce the work, or an object code interpreter used to run it. + + The "Corresponding Source" for a work in object code form means all +the source code needed to generate, install, and (for an executable +work) run the object code and to modify the work, including scripts to +control those activities. However, it does not include the work's +System Libraries, or general-purpose tools or generally available free +programs which are used unmodified in performing those activities but +which are not part of the work. For example, Corresponding Source +includes interface definition files associated with source files for +the work, and the source code for shared libraries and dynamically +linked subprograms that the work is specifically designed to require, +such as by intimate data communication or control flow between those +subprograms and other parts of the work. + + The Corresponding Source need not include anything that users +can regenerate automatically from other parts of the Corresponding +Source. + + The Corresponding Source for a work in source code form is that +same work. + + 2. Basic Permissions. + + All rights granted under this License are granted for the term of +copyright on the Program, and are irrevocable provided the stated +conditions are met. This License explicitly affirms your unlimited +permission to run the unmodified Program. The output from running a +covered work is covered by this License only if the output, given its +content, constitutes a covered work. This License acknowledges your +rights of fair use or other equivalent, as provided by copyright law. + + You may make, run and propagate covered works that you do not +convey, without conditions so long as your license otherwise remains +in force. You may convey covered works to others for the sole purpose +of having them make modifications exclusively for you, or provide you +with facilities for running those works, provided that you comply with +the terms of this License in conveying all material for which you do +not control copyright. Those thus making or running the covered works +for you must do so exclusively on your behalf, under your direction +and control, on terms that prohibit them from making any copies of +your copyrighted material outside their relationship with you. + + Conveying under any other circumstances is permitted solely under +the conditions stated below. Sublicensing is not allowed; section 10 +makes it unnecessary. + + 3. Protecting Users' Legal Rights From Anti-Circumvention Law. + + No covered work shall be deemed part of an effective technological +measure under any applicable law fulfilling obligations under article +11 of the WIPO copyright treaty adopted on 20 December 1996, or +similar laws prohibiting or restricting circumvention of such +measures. + + When you convey a covered work, you waive any legal power to forbid +circumvention of technological measures to the extent such circumvention +is effected by exercising rights under this License with respect to +the covered work, and you disclaim any intention to limit operation or +modification of the work as a means of enforcing, against the work's +users, your or third parties' legal rights to forbid circumvention of +technological measures. + + 4. Conveying Verbatim Copies. + + You may convey verbatim copies of the Program's source code as you +receive it, in any medium, provided that you conspicuously and +appropriately publish on each copy an appropriate copyright notice; +keep intact all notices stating that this License and any +non-permissive terms added in accord with section 7 apply to the code; +keep intact all notices of the absence of any warranty; and give all +recipients a copy of this License along with the Program. + + You may charge any price or no price for each copy that you convey, +and you may offer support or warranty protection for a fee. + + 5. Conveying Modified Source Versions. + + You may convey a work based on the Program, or the modifications to +produce it from the Program, in the form of source code under the +terms of section 4, provided that you also meet all of these conditions: + + a) The work must carry prominent notices stating that you modified + it, and giving a relevant date. + + b) The work must carry prominent notices stating that it is + released under this License and any conditions added under section + 7. This requirement modifies the requirement in section 4 to + "keep intact all notices". + + c) You must license the entire work, as a whole, under this + License to anyone who comes into possession of a copy. This + License will therefore apply, along with any applicable section 7 + additional terms, to the whole of the work, and all its parts, + regardless of how they are packaged. This License gives no + permission to license the work in any other way, but it does not + invalidate such permission if you have separately received it. + + d) If the work has interactive user interfaces, each must display + Appropriate Legal Notices; however, if the Program has interactive + interfaces that do not display Appropriate Legal Notices, your + work need not make them do so. + + A compilation of a covered work with other separate and independent +works, which are not by their nature extensions of the covered work, +and which are not combined with it such as to form a larger program, +in or on a volume of a storage or distribution medium, is called an +"aggregate" if the compilation and its resulting copyright are not +used to limit the access or legal rights of the compilation's users +beyond what the individual works permit. Inclusion of a covered work +in an aggregate does not cause this License to apply to the other +parts of the aggregate. + + 6. Conveying Non-Source Forms. + + You may convey a covered work in object code form under the terms +of sections 4 and 5, provided that you also convey the +machine-readable Corresponding Source under the terms of this License, +in one of these ways: + + a) Convey the object code in, or embodied in, a physical product + (including a physical distribution medium), accompanied by the + Corresponding Source fixed on a durable physical medium + customarily used for software interchange. + + b) Convey the object code in, or embodied in, a physical product + (including a physical distribution medium), accompanied by a + written offer, valid for at least three years and valid for as + long as you offer spare parts or customer support for that product + model, to give anyone who possesses the object code either (1) a + copy of the Corresponding Source for all the software in the + product that is covered by this License, on a durable physical + medium customarily used for software interchange, for a price no + more than your reasonable cost of physically performing this + conveying of source, or (2) access to copy the + Corresponding Source from a network server at no charge. + + c) Convey individual copies of the object code with a copy of the + written offer to provide the Corresponding Source. This + alternative is allowed only occasionally and noncommercially, and + only if you received the object code with such an offer, in accord + with subsection 6b. + + d) Convey the object code by offering access from a designated + place (gratis or for a charge), and offer equivalent access to the + Corresponding Source in the same way through the same place at no + further charge. You need not require recipients to copy the + Corresponding Source along with the object code. If the place to + copy the object code is a network server, the Corresponding Source + may be on a different server (operated by you or a third party) + that supports equivalent copying facilities, provided you maintain + clear directions next to the object code saying where to find the + Corresponding Source. Regardless of what server hosts the + Corresponding Source, you remain obligated to ensure that it is + available for as long as needed to satisfy these requirements. + + e) Convey the object code using peer-to-peer transmission, provided + you inform other peers where the object code and Corresponding + Source of the work are being offered to the general public at no + charge under subsection 6d. + + A separable portion of the object code, whose source code is excluded +from the Corresponding Source as a System Library, need not be +included in conveying the object code work. + + A "User Product" is either (1) a "consumer product", which means any +tangible personal property which is normally used for personal, family, +or household purposes, or (2) anything designed or sold for incorporation +into a dwelling. In determining whether a product is a consumer product, +doubtful cases shall be resolved in favor of coverage. For a particular +product received by a particular user, "normally used" refers to a +typical or common use of that class of product, regardless of the status +of the particular user or of the way in which the particular user +actually uses, or expects or is expected to use, the product. A product +is a consumer product regardless of whether the product has substantial +commercial, industrial or non-consumer uses, unless such uses represent +the only significant mode of use of the product. + + "Installation Information" for a User Product means any methods, +procedures, authorization keys, or other information required to install +and execute modified versions of a covered work in that User Product from +a modified version of its Corresponding Source. The information must +suffice to ensure that the continued functioning of the modified object +code is in no case prevented or interfered with solely because +modification has been made. + + If you convey an object code work under this section in, or with, or +specifically for use in, a User Product, and the conveying occurs as +part of a transaction in which the right of possession and use of the +User Product is transferred to the recipient in perpetuity or for a +fixed term (regardless of how the transaction is characterized), the +Corresponding Source conveyed under this section must be accompanied +by the Installation Information. But this requirement does not apply +if neither you nor any third party retains the ability to install +modified object code on the User Product (for example, the work has +been installed in ROM). + + The requirement to provide Installation Information does not include a +requirement to continue to provide support service, warranty, or updates +for a work that has been modified or installed by the recipient, or for +the User Product in which it has been modified or installed. Access to a +network may be denied when the modification itself materially and +adversely affects the operation of the network or violates the rules and +protocols for communication across the network. + + Corresponding Source conveyed, and Installation Information provided, +in accord with this section must be in a format that is publicly +documented (and with an implementation available to the public in +source code form), and must require no special password or key for +unpacking, reading or copying. + + 7. Additional Terms. + + "Additional permissions" are terms that supplement the terms of this +License by making exceptions from one or more of its conditions. +Additional permissions that are applicable to the entire Program shall +be treated as though they were included in this License, to the extent +that they are valid under applicable law. If additional permissions +apply only to part of the Program, that part may be used separately +under those permissions, but the entire Program remains governed by +this License without regard to the additional permissions. + + When you convey a copy of a covered work, you may at your option +remove any additional permissions from that copy, or from any part of +it. (Additional permissions may be written to require their own +removal in certain cases when you modify the work.) You may place +additional permissions on material, added by you to a covered work, +for which you have or can give appropriate copyright permission. + + Notwithstanding any other provision of this License, for material you +add to a covered work, you may (if authorized by the copyright holders of +that material) supplement the terms of this License with terms: + + a) Disclaiming warranty or limiting liability differently from the + terms of sections 15 and 16 of this License; or + + b) Requiring preservation of specified reasonable legal notices or + author attributions in that material or in the Appropriate Legal + Notices displayed by works containing it; or + + c) Prohibiting misrepresentation of the origin of that material, or + requiring that modified versions of such material be marked in + reasonable ways as different from the original version; or + + d) Limiting the use for publicity purposes of names of licensors or + authors of the material; or + + e) Declining to grant rights under trademark law for use of some + trade names, trademarks, or service marks; or + + f) Requiring indemnification of licensors and authors of that + material by anyone who conveys the material (or modified versions of + it) with contractual assumptions of liability to the recipient, for + any liability that these contractual assumptions directly impose on + those licensors and authors. + + All other non-permissive additional terms are considered "further +restrictions" within the meaning of section 10. If the Program as you +received it, or any part of it, contains a notice stating that it is +governed by this License along with a term that is a further +restriction, you may remove that term. If a license document contains +a further restriction but permits relicensing or conveying under this +License, you may add to a covered work material governed by the terms +of that license document, provided that the further restriction does +not survive such relicensing or conveying. + + If you add terms to a covered work in accord with this section, you +must place, in the relevant source files, a statement of the +additional terms that apply to those files, or a notice indicating +where to find the applicable terms. + + Additional terms, permissive or non-permissive, may be stated in the +form of a separately written license, or stated as exceptions; +the above requirements apply either way. + + 8. Termination. + + You may not propagate or modify a covered work except as expressly +provided under this License. Any attempt otherwise to propagate or +modify it is void, and will automatically terminate your rights under +this License (including any patent licenses granted under the third +paragraph of section 11). + + However, if you cease all violation of this License, then your +license from a particular copyright holder is reinstated (a) +provisionally, unless and until the copyright holder explicitly and +finally terminates your license, and (b) permanently, if the copyright +holder fails to notify you of the violation by some reasonable means +prior to 60 days after the cessation. + + Moreover, your license from a particular copyright holder is +reinstated permanently if the copyright holder notifies you of the +violation by some reasonable means, this is the first time you have +received notice of violation of this License (for any work) from that +copyright holder, and you cure the violation prior to 30 days after +your receipt of the notice. + + Termination of your rights under this section does not terminate the +licenses of parties who have received copies or rights from you under +this License. If your rights have been terminated and not permanently +reinstated, you do not qualify to receive new licenses for the same +material under section 10. + + 9. Acceptance Not Required for Having Copies. + + You are not required to accept this License in order to receive or +run a copy of the Program. Ancillary propagation of a covered work +occurring solely as a consequence of using peer-to-peer transmission +to receive a copy likewise does not require acceptance. However, +nothing other than this License grants you permission to propagate or +modify any covered work. These actions infringe copyright if you do +not accept this License. Therefore, by modifying or propagating a +covered work, you indicate your acceptance of this License to do so. + + 10. Automatic Licensing of Downstream Recipients. + + Each time you convey a covered work, the recipient automatically +receives a license from the original licensors, to run, modify and +propagate that work, subject to this License. You are not responsible +for enforcing compliance by third parties with this License. + + An "entity transaction" is a transaction transferring control of an +organization, or substantially all assets of one, or subdividing an +organization, or merging organizations. If propagation of a covered +work results from an entity transaction, each party to that +transaction who receives a copy of the work also receives whatever +licenses to the work the party's predecessor in interest had or could +give under the previous paragraph, plus a right to possession of the +Corresponding Source of the work from the predecessor in interest, if +the predecessor has it or can get it with reasonable efforts. + + You may not impose any further restrictions on the exercise of the +rights granted or affirmed under this License. For example, you may +not impose a license fee, royalty, or other charge for exercise of +rights granted under this License, and you may not initiate litigation +(including a cross-claim or counterclaim in a lawsuit) alleging that +any patent claim is infringed by making, using, selling, offering for +sale, or importing the Program or any portion of it. + + 11. Patents. + + A "contributor" is a copyright holder who authorizes use under this +License of the Program or a work on which the Program is based. The +work thus licensed is called the contributor's "contributor version". + + A contributor's "essential patent claims" are all patent claims +owned or controlled by the contributor, whether already acquired or +hereafter acquired, that would be infringed by some manner, permitted +by this License, of making, using, or selling its contributor version, +but do not include claims that would be infringed only as a +consequence of further modification of the contributor version. For +purposes of this definition, "control" includes the right to grant +patent sublicenses in a manner consistent with the requirements of +this License. + + Each contributor grants you a non-exclusive, worldwide, royalty-free +patent license under the contributor's essential patent claims, to +make, use, sell, offer for sale, import and otherwise run, modify and +propagate the contents of its contributor version. + + In the following three paragraphs, a "patent license" is any express +agreement or commitment, however denominated, not to enforce a patent +(such as an express permission to practice a patent or covenant not to +sue for patent infringement). To "grant" such a patent license to a +party means to make such an agreement or commitment not to enforce a +patent against the party. + + If you convey a covered work, knowingly relying on a patent license, +and the Corresponding Source of the work is not available for anyone +to copy, free of charge and under the terms of this License, through a +publicly available network server or other readily accessible means, +then you must either (1) cause the Corresponding Source to be so +available, or (2) arrange to deprive yourself of the benefit of the +patent license for this particular work, or (3) arrange, in a manner +consistent with the requirements of this License, to extend the patent +license to downstream recipients. "Knowingly relying" means you have +actual knowledge that, but for the patent license, your conveying the +covered work in a country, or your recipient's use of the covered work +in a country, would infringe one or more identifiable patents in that +country that you have reason to believe are valid. + + If, pursuant to or in connection with a single transaction or +arrangement, you convey, or propagate by procuring conveyance of, a +covered work, and grant a patent license to some of the parties +receiving the covered work authorizing them to use, propagate, modify +or convey a specific copy of the covered work, then the patent license +you grant is automatically extended to all recipients of the covered +work and works based on it. + + A patent license is "discriminatory" if it does not include within +the scope of its coverage, prohibits the exercise of, or is +conditioned on the non-exercise of one or more of the rights that are +specifically granted under this License. You may not convey a covered +work if you are a party to an arrangement with a third party that is +in the business of distributing software, under which you make payment +to the third party based on the extent of your activity of conveying +the work, and under which the third party grants, to any of the +parties who would receive the covered work from you, a discriminatory +patent license (a) in connection with copies of the covered work +conveyed by you (or copies made from those copies), or (b) primarily +for and in connection with specific products or compilations that +contain the covered work, unless you entered into that arrangement, +or that patent license was granted, prior to 28 March 2007. + + Nothing in this License shall be construed as excluding or limiting +any implied license or other defenses to infringement that may +otherwise be available to you under applicable patent law. + + 12. No Surrender of Others' Freedom. + + If conditions are imposed on you (whether by court order, agreement or +otherwise) that contradict the conditions of this License, they do not +excuse you from the conditions of this License. If you cannot convey a +covered work so as to satisfy simultaneously your obligations under this +License and any other pertinent obligations, then as a consequence you may +not convey it at all. For example, if you agree to terms that obligate you +to collect a royalty for further conveying from those to whom you convey +the Program, the only way you could satisfy both those terms and this +License would be to refrain entirely from conveying the Program. + + 13. Use with the GNU Affero General Public License. + + Notwithstanding any other provision of this License, you have +permission to link or combine any covered work with a work licensed +under version 3 of the GNU Affero General Public License into a single +combined work, and to convey the resulting work. The terms of this +License will continue to apply to the part which is the covered work, +but the special requirements of the GNU Affero General Public License, +section 13, concerning interaction through a network will apply to the +combination as such. + + 14. Revised Versions of this License. + + The Free Software Foundation may publish revised and/or new versions of +the GNU General Public License from time to time. Such new versions will +be similar in spirit to the present version, but may differ in detail to +address new problems or concerns. + + Each version is given a distinguishing version number. If the +Program specifies that a certain numbered version of the GNU General +Public License "or any later version" applies to it, you have the +option of following the terms and conditions either of that numbered +version or of any later version published by the Free Software +Foundation. If the Program does not specify a version number of the +GNU General Public License, you may choose any version ever published +by the Free Software Foundation. + + If the Program specifies that a proxy can decide which future +versions of the GNU General Public License can be used, that proxy's +public statement of acceptance of a version permanently authorizes you +to choose that version for the Program. + + Later license versions may give you additional or different +permissions. However, no additional obligations are imposed on any +author or copyright holder as a result of your choosing to follow a +later version. + + 15. Disclaimer of Warranty. + + THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY +APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT +HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY +OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, +THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR +PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM +IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF +ALL NECESSARY SERVICING, REPAIR OR CORRECTION. + + 16. Limitation of Liability. + + IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING +WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS +THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY +GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE +USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF +DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD +PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), +EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF +SUCH DAMAGES. + + 17. Interpretation of Sections 15 and 16. + + If the disclaimer of warranty and limitation of liability provided +above cannot be given local legal effect according to their terms, +reviewing courts shall apply local law that most closely approximates +an absolute waiver of all civil liability in connection with the +Program, unless a warranty or assumption of liability accompanies a +copy of the Program in return for a fee. + + END OF TERMS AND CONDITIONS + + How to Apply These Terms to Your New Programs + + If you develop a new program, and you want it to be of the greatest +possible use to the public, the best way to achieve this is to make it +free software which everyone can redistribute and change under these terms. + + To do so, attach the following notices to the program. It is safest +to attach them to the start of each source file to most effectively +state the exclusion of warranty; and each file should have at least +the "copyright" line and a pointer to where the full notice is found. + + {one line to give the program's name and a brief idea of what it does.} + Copyright (C) {year} {name of author} + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see . + +Also add information on how to contact you by electronic and paper mail. + + If the program does terminal interaction, make it output a short +notice like this when it starts in an interactive mode: + + {project} Copyright (C) {year} {fullname} + This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'. + This is free software, and you are welcome to redistribute it + under certain conditions; type `show c' for details. + +The hypothetical commands `show w' and `show c' should show the appropriate +parts of the General Public License. Of course, your program's commands +might be different; for a GUI interface, you would use an "about box". + + You should also get your employer (if you work as a programmer) or school, +if any, to sign a "copyright disclaimer" for the program, if necessary. +For more information on this, and how to apply and follow the GNU GPL, see +. + + The GNU General Public License does not permit incorporating your program +into proprietary programs. If your program is a subroutine library, you +may consider it more useful to permit linking proprietary applications with +the library. If this is what you want to do, use the GNU Lesser General +Public License instead of this License. But first, please read +. diff --git a/plugins/lovata/toolbox/vendor/kharanenka/laravel-scope-hidden/README.md b/plugins/lovata/toolbox/vendor/kharanenka/laravel-scope-hidden/README.md new file mode 100644 index 000000000..89f526514 --- /dev/null +++ b/plugins/lovata/toolbox/vendor/kharanenka/laravel-scope-hidden/README.md @@ -0,0 +1,30 @@ +# Trait HiddenField + + You can use trait in your models with "hidden" field (bool) + +# Installation +Require this package in your `composer.json` and update composer. + +```php + +"kharanenka/laravel-scope-hidden": "1.0.*" + +``` + +# Usage + +```php + + + class MyModel extend Model { + + use Kharanenka\Scope\HiddenField; + + ... + + } + + $obElement = MyModel::hidden()->first(); + $obElement = MyModel::notHidden()->first(); + +``` \ No newline at end of file diff --git a/plugins/lovata/toolbox/vendor/kharanenka/laravel-scope-hidden/composer.json b/plugins/lovata/toolbox/vendor/kharanenka/laravel-scope-hidden/composer.json new file mode 100644 index 000000000..8db5d76bf --- /dev/null +++ b/plugins/lovata/toolbox/vendor/kharanenka/laravel-scope-hidden/composer.json @@ -0,0 +1,32 @@ +{ + "name": "kharanenka/laravel-scope-hidden", + "description": "Scope for field 'hidden' (bool)", + "license": "GPL-3.0", + "keywords": [ + "php", + "laravel", + "OctoberCMS", + "model", + "scope", + "hidden", + "field" + ], + "authors": [ + { + "name": "Andrey Kharanenka", + "email": "kharanenka@gmail.com" + } + ], + "version": "1.0.0", + "require": { + "php": ">=7.0" + }, + "autoload": { + "classmap": [ + "src/Kharanenka/Scope" + ], + "psr-0": { + "Kharanenka\\Scope\\": "src/" + } + } +} \ No newline at end of file diff --git a/plugins/lovata/toolbox/vendor/kharanenka/laravel-scope-hidden/src/Kharanenka/Scope/HiddenField.php b/plugins/lovata/toolbox/vendor/kharanenka/laravel-scope-hidden/src/Kharanenka/Scope/HiddenField.php new file mode 100644 index 000000000..fe4287833 --- /dev/null +++ b/plugins/lovata/toolbox/vendor/kharanenka/laravel-scope-hidden/src/Kharanenka/Scope/HiddenField.php @@ -0,0 +1,33 @@ +where('hidden', true); + } + + /** + * Get not hidden elements + * @param \Illuminate\Database\Eloquent\Builder|\October\Rain\Database\Builder $obQuery + * @return \Illuminate\Database\Eloquent\Builder|\October\Rain\Database\Builder; + */ + public function scopeNotHidden($obQuery) { + return $obQuery->where('hidden', false); + } +} \ No newline at end of file diff --git a/plugins/lovata/toolbox/vendor/kharanenka/laravel-scope-moderation/.gitignore b/plugins/lovata/toolbox/vendor/kharanenka/laravel-scope-moderation/.gitignore new file mode 100644 index 000000000..1e06577ef --- /dev/null +++ b/plugins/lovata/toolbox/vendor/kharanenka/laravel-scope-moderation/.gitignore @@ -0,0 +1,88 @@ +/node_modules +Homestead.yaml + +#site +pdf/ +_backup/ +cgi-bin/ + +*.log +*.bin +*.komodoproject +/.komodotools/ + +# PhpStorm +.idea + +# Eclipse +*.pydevproject +.project +.metadata +bin/** +tmp/** +tmp/**/* +*.tmp +*.bak +*.swp +*~.nib +local.properties +.classpath +.settings/ +.loadpath +.externalToolBuilders/ +*.launch +.cproject +.buildpath + +# SublimeText +/*.sublime-project +*.sublime-workspace + +# NetBeans +nbproject/ +build/ +nbbuild/ +dist/ +nbdist/ +nbactions.xml +nb-configuration.xml + +# Windows system files +$RECYCLE.BIN/ +Thumbs.db +ehthumbs.db +Desktop.ini + +# OSX system files +.DS_store +.AppleDouble +.LSOverride +Icon +._* +.Spotlight-V100 +.Trashes + +# SVN/CVS +.svn +/CVS/* +*/CVS/* +.cvsignore +*/.cvsignore + +# temporary files/folders + +tmp* +~* +*.~* +*.bak +*.swp + +build/ +png/ +psd/ +doc/ +svg/ +vendors/ +pixelPerfect/ +node_modules/ +docs/ \ No newline at end of file diff --git a/plugins/lovata/toolbox/vendor/kharanenka/laravel-scope-moderation/LICENSE b/plugins/lovata/toolbox/vendor/kharanenka/laravel-scope-moderation/LICENSE new file mode 100644 index 000000000..9cecc1d46 --- /dev/null +++ b/plugins/lovata/toolbox/vendor/kharanenka/laravel-scope-moderation/LICENSE @@ -0,0 +1,674 @@ + GNU GENERAL PUBLIC LICENSE + Version 3, 29 June 2007 + + Copyright (C) 2007 Free Software Foundation, Inc. + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + + Preamble + + The GNU General Public License is a free, copyleft license for +software and other kinds of works. + + The licenses for most software and other practical works are designed +to take away your freedom to share and change the works. By contrast, +the GNU General Public License is intended to guarantee your freedom to +share and change all versions of a program--to make sure it remains free +software for all its users. We, the Free Software Foundation, use the +GNU General Public License for most of our software; it applies also to +any other work released this way by its authors. You can apply it to +your programs, too. + + When we speak of free software, we are referring to freedom, not +price. Our General Public Licenses are designed to make sure that you +have the freedom to distribute copies of free software (and charge for +them if you wish), that you receive source code or can get it if you +want it, that you can change the software or use pieces of it in new +free programs, and that you know you can do these things. + + To protect your rights, we need to prevent others from denying you +these rights or asking you to surrender the rights. Therefore, you have +certain responsibilities if you distribute copies of the software, or if +you modify it: responsibilities to respect the freedom of others. + + For example, if you distribute copies of such a program, whether +gratis or for a fee, you must pass on to the recipients the same +freedoms that you received. You must make sure that they, too, receive +or can get the source code. And you must show them these terms so they +know their rights. + + Developers that use the GNU GPL protect your rights with two steps: +(1) assert copyright on the software, and (2) offer you this License +giving you legal permission to copy, distribute and/or modify it. + + For the developers' and authors' protection, the GPL clearly explains +that there is no warranty for this free software. For both users' and +authors' sake, the GPL requires that modified versions be marked as +changed, so that their problems will not be attributed erroneously to +authors of previous versions. + + Some devices are designed to deny users access to install or run +modified versions of the software inside them, although the manufacturer +can do so. This is fundamentally incompatible with the aim of +protecting users' freedom to change the software. The systematic +pattern of such abuse occurs in the area of products for individuals to +use, which is precisely where it is most unacceptable. Therefore, we +have designed this version of the GPL to prohibit the practice for those +products. If such problems arise substantially in other domains, we +stand ready to extend this provision to those domains in future versions +of the GPL, as needed to protect the freedom of users. + + Finally, every program is threatened constantly by software patents. +States should not allow patents to restrict development and use of +software on general-purpose computers, but in those that do, we wish to +avoid the special danger that patents applied to a free program could +make it effectively proprietary. To prevent this, the GPL assures that +patents cannot be used to render the program non-free. + + The precise terms and conditions for copying, distribution and +modification follow. + + TERMS AND CONDITIONS + + 0. Definitions. + + "This License" refers to version 3 of the GNU General Public License. + + "Copyright" also means copyright-like laws that apply to other kinds of +works, such as semiconductor masks. + + "The Program" refers to any copyrightable work licensed under this +License. Each licensee is addressed as "you". "Licensees" and +"recipients" may be individuals or organizations. + + To "modify" a work means to copy from or adapt all or part of the work +in a fashion requiring copyright permission, other than the making of an +exact copy. The resulting work is called a "modified version" of the +earlier work or a work "based on" the earlier work. + + A "covered work" means either the unmodified Program or a work based +on the Program. + + To "propagate" a work means to do anything with it that, without +permission, would make you directly or secondarily liable for +infringement under applicable copyright law, except executing it on a +computer or modifying a private copy. Propagation includes copying, +distribution (with or without modification), making available to the +public, and in some countries other activities as well. + + To "convey" a work means any kind of propagation that enables other +parties to make or receive copies. Mere interaction with a user through +a computer network, with no transfer of a copy, is not conveying. + + An interactive user interface displays "Appropriate Legal Notices" +to the extent that it includes a convenient and prominently visible +feature that (1) displays an appropriate copyright notice, and (2) +tells the user that there is no warranty for the work (except to the +extent that warranties are provided), that licensees may convey the +work under this License, and how to view a copy of this License. If +the interface presents a list of user commands or options, such as a +menu, a prominent item in the list meets this criterion. + + 1. Source Code. + + The "source code" for a work means the preferred form of the work +for making modifications to it. "Object code" means any non-source +form of a work. + + A "Standard Interface" means an interface that either is an official +standard defined by a recognized standards body, or, in the case of +interfaces specified for a particular programming language, one that +is widely used among developers working in that language. + + The "System Libraries" of an executable work include anything, other +than the work as a whole, that (a) is included in the normal form of +packaging a Major Component, but which is not part of that Major +Component, and (b) serves only to enable use of the work with that +Major Component, or to implement a Standard Interface for which an +implementation is available to the public in source code form. A +"Major Component", in this context, means a major essential component +(kernel, window system, and so on) of the specific operating system +(if any) on which the executable work runs, or a compiler used to +produce the work, or an object code interpreter used to run it. + + The "Corresponding Source" for a work in object code form means all +the source code needed to generate, install, and (for an executable +work) run the object code and to modify the work, including scripts to +control those activities. However, it does not include the work's +System Libraries, or general-purpose tools or generally available free +programs which are used unmodified in performing those activities but +which are not part of the work. For example, Corresponding Source +includes interface definition files associated with source files for +the work, and the source code for shared libraries and dynamically +linked subprograms that the work is specifically designed to require, +such as by intimate data communication or control flow between those +subprograms and other parts of the work. + + The Corresponding Source need not include anything that users +can regenerate automatically from other parts of the Corresponding +Source. + + The Corresponding Source for a work in source code form is that +same work. + + 2. Basic Permissions. + + All rights granted under this License are granted for the term of +copyright on the Program, and are irrevocable provided the stated +conditions are met. This License explicitly affirms your unlimited +permission to run the unmodified Program. The output from running a +covered work is covered by this License only if the output, given its +content, constitutes a covered work. This License acknowledges your +rights of fair use or other equivalent, as provided by copyright law. + + You may make, run and propagate covered works that you do not +convey, without conditions so long as your license otherwise remains +in force. You may convey covered works to others for the sole purpose +of having them make modifications exclusively for you, or provide you +with facilities for running those works, provided that you comply with +the terms of this License in conveying all material for which you do +not control copyright. Those thus making or running the covered works +for you must do so exclusively on your behalf, under your direction +and control, on terms that prohibit them from making any copies of +your copyrighted material outside their relationship with you. + + Conveying under any other circumstances is permitted solely under +the conditions stated below. Sublicensing is not allowed; section 10 +makes it unnecessary. + + 3. Protecting Users' Legal Rights From Anti-Circumvention Law. + + No covered work shall be deemed part of an effective technological +measure under any applicable law fulfilling obligations under article +11 of the WIPO copyright treaty adopted on 20 December 1996, or +similar laws prohibiting or restricting circumvention of such +measures. + + When you convey a covered work, you waive any legal power to forbid +circumvention of technological measures to the extent such circumvention +is effected by exercising rights under this License with respect to +the covered work, and you disclaim any intention to limit operation or +modification of the work as a means of enforcing, against the work's +users, your or third parties' legal rights to forbid circumvention of +technological measures. + + 4. Conveying Verbatim Copies. + + You may convey verbatim copies of the Program's source code as you +receive it, in any medium, provided that you conspicuously and +appropriately publish on each copy an appropriate copyright notice; +keep intact all notices stating that this License and any +non-permissive terms added in accord with section 7 apply to the code; +keep intact all notices of the absence of any warranty; and give all +recipients a copy of this License along with the Program. + + You may charge any price or no price for each copy that you convey, +and you may offer support or warranty protection for a fee. + + 5. Conveying Modified Source Versions. + + You may convey a work based on the Program, or the modifications to +produce it from the Program, in the form of source code under the +terms of section 4, provided that you also meet all of these conditions: + + a) The work must carry prominent notices stating that you modified + it, and giving a relevant date. + + b) The work must carry prominent notices stating that it is + released under this License and any conditions added under section + 7. This requirement modifies the requirement in section 4 to + "keep intact all notices". + + c) You must license the entire work, as a whole, under this + License to anyone who comes into possession of a copy. This + License will therefore apply, along with any applicable section 7 + additional terms, to the whole of the work, and all its parts, + regardless of how they are packaged. This License gives no + permission to license the work in any other way, but it does not + invalidate such permission if you have separately received it. + + d) If the work has interactive user interfaces, each must display + Appropriate Legal Notices; however, if the Program has interactive + interfaces that do not display Appropriate Legal Notices, your + work need not make them do so. + + A compilation of a covered work with other separate and independent +works, which are not by their nature extensions of the covered work, +and which are not combined with it such as to form a larger program, +in or on a volume of a storage or distribution medium, is called an +"aggregate" if the compilation and its resulting copyright are not +used to limit the access or legal rights of the compilation's users +beyond what the individual works permit. Inclusion of a covered work +in an aggregate does not cause this License to apply to the other +parts of the aggregate. + + 6. Conveying Non-Source Forms. + + You may convey a covered work in object code form under the terms +of sections 4 and 5, provided that you also convey the +machine-readable Corresponding Source under the terms of this License, +in one of these ways: + + a) Convey the object code in, or embodied in, a physical product + (including a physical distribution medium), accompanied by the + Corresponding Source fixed on a durable physical medium + customarily used for software interchange. + + b) Convey the object code in, or embodied in, a physical product + (including a physical distribution medium), accompanied by a + written offer, valid for at least three years and valid for as + long as you offer spare parts or customer support for that product + model, to give anyone who possesses the object code either (1) a + copy of the Corresponding Source for all the software in the + product that is covered by this License, on a durable physical + medium customarily used for software interchange, for a price no + more than your reasonable cost of physically performing this + conveying of source, or (2) access to copy the + Corresponding Source from a network server at no charge. + + c) Convey individual copies of the object code with a copy of the + written offer to provide the Corresponding Source. This + alternative is allowed only occasionally and noncommercially, and + only if you received the object code with such an offer, in accord + with subsection 6b. + + d) Convey the object code by offering access from a designated + place (gratis or for a charge), and offer equivalent access to the + Corresponding Source in the same way through the same place at no + further charge. You need not require recipients to copy the + Corresponding Source along with the object code. If the place to + copy the object code is a network server, the Corresponding Source + may be on a different server (operated by you or a third party) + that supports equivalent copying facilities, provided you maintain + clear directions next to the object code saying where to find the + Corresponding Source. Regardless of what server hosts the + Corresponding Source, you remain obligated to ensure that it is + available for as long as needed to satisfy these requirements. + + e) Convey the object code using peer-to-peer transmission, provided + you inform other peers where the object code and Corresponding + Source of the work are being offered to the general public at no + charge under subsection 6d. + + A separable portion of the object code, whose source code is excluded +from the Corresponding Source as a System Library, need not be +included in conveying the object code work. + + A "User Product" is either (1) a "consumer product", which means any +tangible personal property which is normally used for personal, family, +or household purposes, or (2) anything designed or sold for incorporation +into a dwelling. In determining whether a product is a consumer product, +doubtful cases shall be resolved in favor of coverage. For a particular +product received by a particular user, "normally used" refers to a +typical or common use of that class of product, regardless of the status +of the particular user or of the way in which the particular user +actually uses, or expects or is expected to use, the product. A product +is a consumer product regardless of whether the product has substantial +commercial, industrial or non-consumer uses, unless such uses represent +the only significant mode of use of the product. + + "Installation Information" for a User Product means any methods, +procedures, authorization keys, or other information required to install +and execute modified versions of a covered work in that User Product from +a modified version of its Corresponding Source. The information must +suffice to ensure that the continued functioning of the modified object +code is in no case prevented or interfered with solely because +modification has been made. + + If you convey an object code work under this section in, or with, or +specifically for use in, a User Product, and the conveying occurs as +part of a transaction in which the right of possession and use of the +User Product is transferred to the recipient in perpetuity or for a +fixed term (regardless of how the transaction is characterized), the +Corresponding Source conveyed under this section must be accompanied +by the Installation Information. But this requirement does not apply +if neither you nor any third party retains the ability to install +modified object code on the User Product (for example, the work has +been installed in ROM). + + The requirement to provide Installation Information does not include a +requirement to continue to provide support service, warranty, or updates +for a work that has been modified or installed by the recipient, or for +the User Product in which it has been modified or installed. Access to a +network may be denied when the modification itself materially and +adversely affects the operation of the network or violates the rules and +protocols for communication across the network. + + Corresponding Source conveyed, and Installation Information provided, +in accord with this section must be in a format that is publicly +documented (and with an implementation available to the public in +source code form), and must require no special password or key for +unpacking, reading or copying. + + 7. Additional Terms. + + "Additional permissions" are terms that supplement the terms of this +License by making exceptions from one or more of its conditions. +Additional permissions that are applicable to the entire Program shall +be treated as though they were included in this License, to the extent +that they are valid under applicable law. If additional permissions +apply only to part of the Program, that part may be used separately +under those permissions, but the entire Program remains governed by +this License without regard to the additional permissions. + + When you convey a copy of a covered work, you may at your option +remove any additional permissions from that copy, or from any part of +it. (Additional permissions may be written to require their own +removal in certain cases when you modify the work.) You may place +additional permissions on material, added by you to a covered work, +for which you have or can give appropriate copyright permission. + + Notwithstanding any other provision of this License, for material you +add to a covered work, you may (if authorized by the copyright holders of +that material) supplement the terms of this License with terms: + + a) Disclaiming warranty or limiting liability differently from the + terms of sections 15 and 16 of this License; or + + b) Requiring preservation of specified reasonable legal notices or + author attributions in that material or in the Appropriate Legal + Notices displayed by works containing it; or + + c) Prohibiting misrepresentation of the origin of that material, or + requiring that modified versions of such material be marked in + reasonable ways as different from the original version; or + + d) Limiting the use for publicity purposes of names of licensors or + authors of the material; or + + e) Declining to grant rights under trademark law for use of some + trade names, trademarks, or service marks; or + + f) Requiring indemnification of licensors and authors of that + material by anyone who conveys the material (or modified versions of + it) with contractual assumptions of liability to the recipient, for + any liability that these contractual assumptions directly impose on + those licensors and authors. + + All other non-permissive additional terms are considered "further +restrictions" within the meaning of section 10. If the Program as you +received it, or any part of it, contains a notice stating that it is +governed by this License along with a term that is a further +restriction, you may remove that term. If a license document contains +a further restriction but permits relicensing or conveying under this +License, you may add to a covered work material governed by the terms +of that license document, provided that the further restriction does +not survive such relicensing or conveying. + + If you add terms to a covered work in accord with this section, you +must place, in the relevant source files, a statement of the +additional terms that apply to those files, or a notice indicating +where to find the applicable terms. + + Additional terms, permissive or non-permissive, may be stated in the +form of a separately written license, or stated as exceptions; +the above requirements apply either way. + + 8. Termination. + + You may not propagate or modify a covered work except as expressly +provided under this License. Any attempt otherwise to propagate or +modify it is void, and will automatically terminate your rights under +this License (including any patent licenses granted under the third +paragraph of section 11). + + However, if you cease all violation of this License, then your +license from a particular copyright holder is reinstated (a) +provisionally, unless and until the copyright holder explicitly and +finally terminates your license, and (b) permanently, if the copyright +holder fails to notify you of the violation by some reasonable means +prior to 60 days after the cessation. + + Moreover, your license from a particular copyright holder is +reinstated permanently if the copyright holder notifies you of the +violation by some reasonable means, this is the first time you have +received notice of violation of this License (for any work) from that +copyright holder, and you cure the violation prior to 30 days after +your receipt of the notice. + + Termination of your rights under this section does not terminate the +licenses of parties who have received copies or rights from you under +this License. If your rights have been terminated and not permanently +reinstated, you do not qualify to receive new licenses for the same +material under section 10. + + 9. Acceptance Not Required for Having Copies. + + You are not required to accept this License in order to receive or +run a copy of the Program. Ancillary propagation of a covered work +occurring solely as a consequence of using peer-to-peer transmission +to receive a copy likewise does not require acceptance. However, +nothing other than this License grants you permission to propagate or +modify any covered work. These actions infringe copyright if you do +not accept this License. Therefore, by modifying or propagating a +covered work, you indicate your acceptance of this License to do so. + + 10. Automatic Licensing of Downstream Recipients. + + Each time you convey a covered work, the recipient automatically +receives a license from the original licensors, to run, modify and +propagate that work, subject to this License. You are not responsible +for enforcing compliance by third parties with this License. + + An "entity transaction" is a transaction transferring control of an +organization, or substantially all assets of one, or subdividing an +organization, or merging organizations. If propagation of a covered +work results from an entity transaction, each party to that +transaction who receives a copy of the work also receives whatever +licenses to the work the party's predecessor in interest had or could +give under the previous paragraph, plus a right to possession of the +Corresponding Source of the work from the predecessor in interest, if +the predecessor has it or can get it with reasonable efforts. + + You may not impose any further restrictions on the exercise of the +rights granted or affirmed under this License. For example, you may +not impose a license fee, royalty, or other charge for exercise of +rights granted under this License, and you may not initiate litigation +(including a cross-claim or counterclaim in a lawsuit) alleging that +any patent claim is infringed by making, using, selling, offering for +sale, or importing the Program or any portion of it. + + 11. Patents. + + A "contributor" is a copyright holder who authorizes use under this +License of the Program or a work on which the Program is based. The +work thus licensed is called the contributor's "contributor version". + + A contributor's "essential patent claims" are all patent claims +owned or controlled by the contributor, whether already acquired or +hereafter acquired, that would be infringed by some manner, permitted +by this License, of making, using, or selling its contributor version, +but do not include claims that would be infringed only as a +consequence of further modification of the contributor version. For +purposes of this definition, "control" includes the right to grant +patent sublicenses in a manner consistent with the requirements of +this License. + + Each contributor grants you a non-exclusive, worldwide, royalty-free +patent license under the contributor's essential patent claims, to +make, use, sell, offer for sale, import and otherwise run, modify and +propagate the contents of its contributor version. + + In the following three paragraphs, a "patent license" is any express +agreement or commitment, however denominated, not to enforce a patent +(such as an express permission to practice a patent or covenant not to +sue for patent infringement). To "grant" such a patent license to a +party means to make such an agreement or commitment not to enforce a +patent against the party. + + If you convey a covered work, knowingly relying on a patent license, +and the Corresponding Source of the work is not available for anyone +to copy, free of charge and under the terms of this License, through a +publicly available network server or other readily accessible means, +then you must either (1) cause the Corresponding Source to be so +available, or (2) arrange to deprive yourself of the benefit of the +patent license for this particular work, or (3) arrange, in a manner +consistent with the requirements of this License, to extend the patent +license to downstream recipients. "Knowingly relying" means you have +actual knowledge that, but for the patent license, your conveying the +covered work in a country, or your recipient's use of the covered work +in a country, would infringe one or more identifiable patents in that +country that you have reason to believe are valid. + + If, pursuant to or in connection with a single transaction or +arrangement, you convey, or propagate by procuring conveyance of, a +covered work, and grant a patent license to some of the parties +receiving the covered work authorizing them to use, propagate, modify +or convey a specific copy of the covered work, then the patent license +you grant is automatically extended to all recipients of the covered +work and works based on it. + + A patent license is "discriminatory" if it does not include within +the scope of its coverage, prohibits the exercise of, or is +conditioned on the non-exercise of one or more of the rights that are +specifically granted under this License. You may not convey a covered +work if you are a party to an arrangement with a third party that is +in the business of distributing software, under which you make payment +to the third party based on the extent of your activity of conveying +the work, and under which the third party grants, to any of the +parties who would receive the covered work from you, a discriminatory +patent license (a) in connection with copies of the covered work +conveyed by you (or copies made from those copies), or (b) primarily +for and in connection with specific products or compilations that +contain the covered work, unless you entered into that arrangement, +or that patent license was granted, prior to 28 March 2007. + + Nothing in this License shall be construed as excluding or limiting +any implied license or other defenses to infringement that may +otherwise be available to you under applicable patent law. + + 12. No Surrender of Others' Freedom. + + If conditions are imposed on you (whether by court order, agreement or +otherwise) that contradict the conditions of this License, they do not +excuse you from the conditions of this License. If you cannot convey a +covered work so as to satisfy simultaneously your obligations under this +License and any other pertinent obligations, then as a consequence you may +not convey it at all. For example, if you agree to terms that obligate you +to collect a royalty for further conveying from those to whom you convey +the Program, the only way you could satisfy both those terms and this +License would be to refrain entirely from conveying the Program. + + 13. Use with the GNU Affero General Public License. + + Notwithstanding any other provision of this License, you have +permission to link or combine any covered work with a work licensed +under version 3 of the GNU Affero General Public License into a single +combined work, and to convey the resulting work. The terms of this +License will continue to apply to the part which is the covered work, +but the special requirements of the GNU Affero General Public License, +section 13, concerning interaction through a network will apply to the +combination as such. + + 14. Revised Versions of this License. + + The Free Software Foundation may publish revised and/or new versions of +the GNU General Public License from time to time. Such new versions will +be similar in spirit to the present version, but may differ in detail to +address new problems or concerns. + + Each version is given a distinguishing version number. If the +Program specifies that a certain numbered version of the GNU General +Public License "or any later version" applies to it, you have the +option of following the terms and conditions either of that numbered +version or of any later version published by the Free Software +Foundation. If the Program does not specify a version number of the +GNU General Public License, you may choose any version ever published +by the Free Software Foundation. + + If the Program specifies that a proxy can decide which future +versions of the GNU General Public License can be used, that proxy's +public statement of acceptance of a version permanently authorizes you +to choose that version for the Program. + + Later license versions may give you additional or different +permissions. However, no additional obligations are imposed on any +author or copyright holder as a result of your choosing to follow a +later version. + + 15. Disclaimer of Warranty. + + THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY +APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT +HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY +OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, +THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR +PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM +IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF +ALL NECESSARY SERVICING, REPAIR OR CORRECTION. + + 16. Limitation of Liability. + + IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING +WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS +THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY +GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE +USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF +DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD +PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), +EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF +SUCH DAMAGES. + + 17. Interpretation of Sections 15 and 16. + + If the disclaimer of warranty and limitation of liability provided +above cannot be given local legal effect according to their terms, +reviewing courts shall apply local law that most closely approximates +an absolute waiver of all civil liability in connection with the +Program, unless a warranty or assumption of liability accompanies a +copy of the Program in return for a fee. + + END OF TERMS AND CONDITIONS + + How to Apply These Terms to Your New Programs + + If you develop a new program, and you want it to be of the greatest +possible use to the public, the best way to achieve this is to make it +free software which everyone can redistribute and change under these terms. + + To do so, attach the following notices to the program. It is safest +to attach them to the start of each source file to most effectively +state the exclusion of warranty; and each file should have at least +the "copyright" line and a pointer to where the full notice is found. + + {one line to give the program's name and a brief idea of what it does.} + Copyright (C) {year} {name of author} + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see . + +Also add information on how to contact you by electronic and paper mail. + + If the program does terminal interaction, make it output a short +notice like this when it starts in an interactive mode: + + {project} Copyright (C) {year} {fullname} + This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'. + This is free software, and you are welcome to redistribute it + under certain conditions; type `show c' for details. + +The hypothetical commands `show w' and `show c' should show the appropriate +parts of the General Public License. Of course, your program's commands +might be different; for a GUI interface, you would use an "about box". + + You should also get your employer (if you work as a programmer) or school, +if any, to sign a "copyright disclaimer" for the program, if necessary. +For more information on this, and how to apply and follow the GNU GPL, see +. + + The GNU General Public License does not permit incorporating your program +into proprietary programs. If your program is a subroutine library, you +may consider it more useful to permit linking proprietary applications with +the library. If this is what you want to do, use the GNU Lesser General +Public License instead of this License. But first, please read +. diff --git a/plugins/lovata/toolbox/vendor/kharanenka/laravel-scope-moderation/README.md b/plugins/lovata/toolbox/vendor/kharanenka/laravel-scope-moderation/README.md new file mode 100644 index 000000000..6fda33a34 --- /dev/null +++ b/plugins/lovata/toolbox/vendor/kharanenka/laravel-scope-moderation/README.md @@ -0,0 +1,30 @@ +# Trait ModerationField + + You can use trait in your models with "moderation" field (bool) + +#Installation +Require this package in your `composer.json` and update composer. + +```php + +"kharanenka/laravel-scope-moderation": "1.0.*" + +``` + +# Usage + +```php + + + class MyModel extend Model { + + use Kharanenka\Scope\ModerationField; + + ... + + } + + $obElement = MyModel::moderation()->first(); + $obElement = MyModel::notModeration()->first(); + +``` \ No newline at end of file diff --git a/plugins/lovata/toolbox/vendor/kharanenka/laravel-scope-moderation/composer.json b/plugins/lovata/toolbox/vendor/kharanenka/laravel-scope-moderation/composer.json new file mode 100644 index 000000000..4259cbf00 --- /dev/null +++ b/plugins/lovata/toolbox/vendor/kharanenka/laravel-scope-moderation/composer.json @@ -0,0 +1,32 @@ +{ + "name": "kharanenka/laravel-scope-moderation", + "description": "Scope for field 'moderation' (bool)", + "license": "GPL-3.0", + "keywords": [ + "php", + "laravel", + "OctoberCMS", + "model", + "scope", + "moderation", + "field" + ], + "authors": [ + { + "name": "Andrey Kharanenka", + "email": "kharanenka@gmail.com" + } + ], + "version": "1.0.1", + "require": { + "php": ">=5.6" + }, + "autoload": { + "classmap": [ + "src/Kharanenka/Scope" + ], + "psr-0": { + "Kharanenka\\Scope\\": "src/" + } + } +} \ No newline at end of file diff --git a/plugins/lovata/toolbox/vendor/kharanenka/laravel-scope-moderation/src/Kharanenka/Scope/ModerationField.php b/plugins/lovata/toolbox/vendor/kharanenka/laravel-scope-moderation/src/Kharanenka/Scope/ModerationField.php new file mode 100644 index 000000000..992efbb54 --- /dev/null +++ b/plugins/lovata/toolbox/vendor/kharanenka/laravel-scope-moderation/src/Kharanenka/Scope/ModerationField.php @@ -0,0 +1,33 @@ +where('moderation', true); + } + + /** + * Get not moderation elements + * @param \Illuminate\Database\Eloquent\Builder|\October\Rain\Database\Builder $obQuery + * @return \Illuminate\Database\Eloquent\Builder|\October\Rain\Database\Builder; + */ + public function scopeNotModeration($obQuery) { + return $obQuery->where('moderation', false); + } +} \ No newline at end of file diff --git a/plugins/lovata/toolbox/vendor/kharanenka/laravel-scope-name/.gitignore b/plugins/lovata/toolbox/vendor/kharanenka/laravel-scope-name/.gitignore new file mode 100644 index 000000000..1e06577ef --- /dev/null +++ b/plugins/lovata/toolbox/vendor/kharanenka/laravel-scope-name/.gitignore @@ -0,0 +1,88 @@ +/node_modules +Homestead.yaml + +#site +pdf/ +_backup/ +cgi-bin/ + +*.log +*.bin +*.komodoproject +/.komodotools/ + +# PhpStorm +.idea + +# Eclipse +*.pydevproject +.project +.metadata +bin/** +tmp/** +tmp/**/* +*.tmp +*.bak +*.swp +*~.nib +local.properties +.classpath +.settings/ +.loadpath +.externalToolBuilders/ +*.launch +.cproject +.buildpath + +# SublimeText +/*.sublime-project +*.sublime-workspace + +# NetBeans +nbproject/ +build/ +nbbuild/ +dist/ +nbdist/ +nbactions.xml +nb-configuration.xml + +# Windows system files +$RECYCLE.BIN/ +Thumbs.db +ehthumbs.db +Desktop.ini + +# OSX system files +.DS_store +.AppleDouble +.LSOverride +Icon +._* +.Spotlight-V100 +.Trashes + +# SVN/CVS +.svn +/CVS/* +*/CVS/* +.cvsignore +*/.cvsignore + +# temporary files/folders + +tmp* +~* +*.~* +*.bak +*.swp + +build/ +png/ +psd/ +doc/ +svg/ +vendors/ +pixelPerfect/ +node_modules/ +docs/ \ No newline at end of file diff --git a/plugins/lovata/toolbox/vendor/kharanenka/laravel-scope-name/LICENSE b/plugins/lovata/toolbox/vendor/kharanenka/laravel-scope-name/LICENSE new file mode 100644 index 000000000..9cecc1d46 --- /dev/null +++ b/plugins/lovata/toolbox/vendor/kharanenka/laravel-scope-name/LICENSE @@ -0,0 +1,674 @@ + GNU GENERAL PUBLIC LICENSE + Version 3, 29 June 2007 + + Copyright (C) 2007 Free Software Foundation, Inc. + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + + Preamble + + The GNU General Public License is a free, copyleft license for +software and other kinds of works. + + The licenses for most software and other practical works are designed +to take away your freedom to share and change the works. By contrast, +the GNU General Public License is intended to guarantee your freedom to +share and change all versions of a program--to make sure it remains free +software for all its users. We, the Free Software Foundation, use the +GNU General Public License for most of our software; it applies also to +any other work released this way by its authors. You can apply it to +your programs, too. + + When we speak of free software, we are referring to freedom, not +price. Our General Public Licenses are designed to make sure that you +have the freedom to distribute copies of free software (and charge for +them if you wish), that you receive source code or can get it if you +want it, that you can change the software or use pieces of it in new +free programs, and that you know you can do these things. + + To protect your rights, we need to prevent others from denying you +these rights or asking you to surrender the rights. Therefore, you have +certain responsibilities if you distribute copies of the software, or if +you modify it: responsibilities to respect the freedom of others. + + For example, if you distribute copies of such a program, whether +gratis or for a fee, you must pass on to the recipients the same +freedoms that you received. You must make sure that they, too, receive +or can get the source code. And you must show them these terms so they +know their rights. + + Developers that use the GNU GPL protect your rights with two steps: +(1) assert copyright on the software, and (2) offer you this License +giving you legal permission to copy, distribute and/or modify it. + + For the developers' and authors' protection, the GPL clearly explains +that there is no warranty for this free software. For both users' and +authors' sake, the GPL requires that modified versions be marked as +changed, so that their problems will not be attributed erroneously to +authors of previous versions. + + Some devices are designed to deny users access to install or run +modified versions of the software inside them, although the manufacturer +can do so. This is fundamentally incompatible with the aim of +protecting users' freedom to change the software. The systematic +pattern of such abuse occurs in the area of products for individuals to +use, which is precisely where it is most unacceptable. Therefore, we +have designed this version of the GPL to prohibit the practice for those +products. If such problems arise substantially in other domains, we +stand ready to extend this provision to those domains in future versions +of the GPL, as needed to protect the freedom of users. + + Finally, every program is threatened constantly by software patents. +States should not allow patents to restrict development and use of +software on general-purpose computers, but in those that do, we wish to +avoid the special danger that patents applied to a free program could +make it effectively proprietary. To prevent this, the GPL assures that +patents cannot be used to render the program non-free. + + The precise terms and conditions for copying, distribution and +modification follow. + + TERMS AND CONDITIONS + + 0. Definitions. + + "This License" refers to version 3 of the GNU General Public License. + + "Copyright" also means copyright-like laws that apply to other kinds of +works, such as semiconductor masks. + + "The Program" refers to any copyrightable work licensed under this +License. Each licensee is addressed as "you". "Licensees" and +"recipients" may be individuals or organizations. + + To "modify" a work means to copy from or adapt all or part of the work +in a fashion requiring copyright permission, other than the making of an +exact copy. The resulting work is called a "modified version" of the +earlier work or a work "based on" the earlier work. + + A "covered work" means either the unmodified Program or a work based +on the Program. + + To "propagate" a work means to do anything with it that, without +permission, would make you directly or secondarily liable for +infringement under applicable copyright law, except executing it on a +computer or modifying a private copy. Propagation includes copying, +distribution (with or without modification), making available to the +public, and in some countries other activities as well. + + To "convey" a work means any kind of propagation that enables other +parties to make or receive copies. Mere interaction with a user through +a computer network, with no transfer of a copy, is not conveying. + + An interactive user interface displays "Appropriate Legal Notices" +to the extent that it includes a convenient and prominently visible +feature that (1) displays an appropriate copyright notice, and (2) +tells the user that there is no warranty for the work (except to the +extent that warranties are provided), that licensees may convey the +work under this License, and how to view a copy of this License. If +the interface presents a list of user commands or options, such as a +menu, a prominent item in the list meets this criterion. + + 1. Source Code. + + The "source code" for a work means the preferred form of the work +for making modifications to it. "Object code" means any non-source +form of a work. + + A "Standard Interface" means an interface that either is an official +standard defined by a recognized standards body, or, in the case of +interfaces specified for a particular programming language, one that +is widely used among developers working in that language. + + The "System Libraries" of an executable work include anything, other +than the work as a whole, that (a) is included in the normal form of +packaging a Major Component, but which is not part of that Major +Component, and (b) serves only to enable use of the work with that +Major Component, or to implement a Standard Interface for which an +implementation is available to the public in source code form. A +"Major Component", in this context, means a major essential component +(kernel, window system, and so on) of the specific operating system +(if any) on which the executable work runs, or a compiler used to +produce the work, or an object code interpreter used to run it. + + The "Corresponding Source" for a work in object code form means all +the source code needed to generate, install, and (for an executable +work) run the object code and to modify the work, including scripts to +control those activities. However, it does not include the work's +System Libraries, or general-purpose tools or generally available free +programs which are used unmodified in performing those activities but +which are not part of the work. For example, Corresponding Source +includes interface definition files associated with source files for +the work, and the source code for shared libraries and dynamically +linked subprograms that the work is specifically designed to require, +such as by intimate data communication or control flow between those +subprograms and other parts of the work. + + The Corresponding Source need not include anything that users +can regenerate automatically from other parts of the Corresponding +Source. + + The Corresponding Source for a work in source code form is that +same work. + + 2. Basic Permissions. + + All rights granted under this License are granted for the term of +copyright on the Program, and are irrevocable provided the stated +conditions are met. This License explicitly affirms your unlimited +permission to run the unmodified Program. The output from running a +covered work is covered by this License only if the output, given its +content, constitutes a covered work. This License acknowledges your +rights of fair use or other equivalent, as provided by copyright law. + + You may make, run and propagate covered works that you do not +convey, without conditions so long as your license otherwise remains +in force. You may convey covered works to others for the sole purpose +of having them make modifications exclusively for you, or provide you +with facilities for running those works, provided that you comply with +the terms of this License in conveying all material for which you do +not control copyright. Those thus making or running the covered works +for you must do so exclusively on your behalf, under your direction +and control, on terms that prohibit them from making any copies of +your copyrighted material outside their relationship with you. + + Conveying under any other circumstances is permitted solely under +the conditions stated below. Sublicensing is not allowed; section 10 +makes it unnecessary. + + 3. Protecting Users' Legal Rights From Anti-Circumvention Law. + + No covered work shall be deemed part of an effective technological +measure under any applicable law fulfilling obligations under article +11 of the WIPO copyright treaty adopted on 20 December 1996, or +similar laws prohibiting or restricting circumvention of such +measures. + + When you convey a covered work, you waive any legal power to forbid +circumvention of technological measures to the extent such circumvention +is effected by exercising rights under this License with respect to +the covered work, and you disclaim any intention to limit operation or +modification of the work as a means of enforcing, against the work's +users, your or third parties' legal rights to forbid circumvention of +technological measures. + + 4. Conveying Verbatim Copies. + + You may convey verbatim copies of the Program's source code as you +receive it, in any medium, provided that you conspicuously and +appropriately publish on each copy an appropriate copyright notice; +keep intact all notices stating that this License and any +non-permissive terms added in accord with section 7 apply to the code; +keep intact all notices of the absence of any warranty; and give all +recipients a copy of this License along with the Program. + + You may charge any price or no price for each copy that you convey, +and you may offer support or warranty protection for a fee. + + 5. Conveying Modified Source Versions. + + You may convey a work based on the Program, or the modifications to +produce it from the Program, in the form of source code under the +terms of section 4, provided that you also meet all of these conditions: + + a) The work must carry prominent notices stating that you modified + it, and giving a relevant date. + + b) The work must carry prominent notices stating that it is + released under this License and any conditions added under section + 7. This requirement modifies the requirement in section 4 to + "keep intact all notices". + + c) You must license the entire work, as a whole, under this + License to anyone who comes into possession of a copy. This + License will therefore apply, along with any applicable section 7 + additional terms, to the whole of the work, and all its parts, + regardless of how they are packaged. This License gives no + permission to license the work in any other way, but it does not + invalidate such permission if you have separately received it. + + d) If the work has interactive user interfaces, each must display + Appropriate Legal Notices; however, if the Program has interactive + interfaces that do not display Appropriate Legal Notices, your + work need not make them do so. + + A compilation of a covered work with other separate and independent +works, which are not by their nature extensions of the covered work, +and which are not combined with it such as to form a larger program, +in or on a volume of a storage or distribution medium, is called an +"aggregate" if the compilation and its resulting copyright are not +used to limit the access or legal rights of the compilation's users +beyond what the individual works permit. Inclusion of a covered work +in an aggregate does not cause this License to apply to the other +parts of the aggregate. + + 6. Conveying Non-Source Forms. + + You may convey a covered work in object code form under the terms +of sections 4 and 5, provided that you also convey the +machine-readable Corresponding Source under the terms of this License, +in one of these ways: + + a) Convey the object code in, or embodied in, a physical product + (including a physical distribution medium), accompanied by the + Corresponding Source fixed on a durable physical medium + customarily used for software interchange. + + b) Convey the object code in, or embodied in, a physical product + (including a physical distribution medium), accompanied by a + written offer, valid for at least three years and valid for as + long as you offer spare parts or customer support for that product + model, to give anyone who possesses the object code either (1) a + copy of the Corresponding Source for all the software in the + product that is covered by this License, on a durable physical + medium customarily used for software interchange, for a price no + more than your reasonable cost of physically performing this + conveying of source, or (2) access to copy the + Corresponding Source from a network server at no charge. + + c) Convey individual copies of the object code with a copy of the + written offer to provide the Corresponding Source. This + alternative is allowed only occasionally and noncommercially, and + only if you received the object code with such an offer, in accord + with subsection 6b. + + d) Convey the object code by offering access from a designated + place (gratis or for a charge), and offer equivalent access to the + Corresponding Source in the same way through the same place at no + further charge. You need not require recipients to copy the + Corresponding Source along with the object code. If the place to + copy the object code is a network server, the Corresponding Source + may be on a different server (operated by you or a third party) + that supports equivalent copying facilities, provided you maintain + clear directions next to the object code saying where to find the + Corresponding Source. Regardless of what server hosts the + Corresponding Source, you remain obligated to ensure that it is + available for as long as needed to satisfy these requirements. + + e) Convey the object code using peer-to-peer transmission, provided + you inform other peers where the object code and Corresponding + Source of the work are being offered to the general public at no + charge under subsection 6d. + + A separable portion of the object code, whose source code is excluded +from the Corresponding Source as a System Library, need not be +included in conveying the object code work. + + A "User Product" is either (1) a "consumer product", which means any +tangible personal property which is normally used for personal, family, +or household purposes, or (2) anything designed or sold for incorporation +into a dwelling. In determining whether a product is a consumer product, +doubtful cases shall be resolved in favor of coverage. For a particular +product received by a particular user, "normally used" refers to a +typical or common use of that class of product, regardless of the status +of the particular user or of the way in which the particular user +actually uses, or expects or is expected to use, the product. A product +is a consumer product regardless of whether the product has substantial +commercial, industrial or non-consumer uses, unless such uses represent +the only significant mode of use of the product. + + "Installation Information" for a User Product means any methods, +procedures, authorization keys, or other information required to install +and execute modified versions of a covered work in that User Product from +a modified version of its Corresponding Source. The information must +suffice to ensure that the continued functioning of the modified object +code is in no case prevented or interfered with solely because +modification has been made. + + If you convey an object code work under this section in, or with, or +specifically for use in, a User Product, and the conveying occurs as +part of a transaction in which the right of possession and use of the +User Product is transferred to the recipient in perpetuity or for a +fixed term (regardless of how the transaction is characterized), the +Corresponding Source conveyed under this section must be accompanied +by the Installation Information. But this requirement does not apply +if neither you nor any third party retains the ability to install +modified object code on the User Product (for example, the work has +been installed in ROM). + + The requirement to provide Installation Information does not include a +requirement to continue to provide support service, warranty, or updates +for a work that has been modified or installed by the recipient, or for +the User Product in which it has been modified or installed. Access to a +network may be denied when the modification itself materially and +adversely affects the operation of the network or violates the rules and +protocols for communication across the network. + + Corresponding Source conveyed, and Installation Information provided, +in accord with this section must be in a format that is publicly +documented (and with an implementation available to the public in +source code form), and must require no special password or key for +unpacking, reading or copying. + + 7. Additional Terms. + + "Additional permissions" are terms that supplement the terms of this +License by making exceptions from one or more of its conditions. +Additional permissions that are applicable to the entire Program shall +be treated as though they were included in this License, to the extent +that they are valid under applicable law. If additional permissions +apply only to part of the Program, that part may be used separately +under those permissions, but the entire Program remains governed by +this License without regard to the additional permissions. + + When you convey a copy of a covered work, you may at your option +remove any additional permissions from that copy, or from any part of +it. (Additional permissions may be written to require their own +removal in certain cases when you modify the work.) You may place +additional permissions on material, added by you to a covered work, +for which you have or can give appropriate copyright permission. + + Notwithstanding any other provision of this License, for material you +add to a covered work, you may (if authorized by the copyright holders of +that material) supplement the terms of this License with terms: + + a) Disclaiming warranty or limiting liability differently from the + terms of sections 15 and 16 of this License; or + + b) Requiring preservation of specified reasonable legal notices or + author attributions in that material or in the Appropriate Legal + Notices displayed by works containing it; or + + c) Prohibiting misrepresentation of the origin of that material, or + requiring that modified versions of such material be marked in + reasonable ways as different from the original version; or + + d) Limiting the use for publicity purposes of names of licensors or + authors of the material; or + + e) Declining to grant rights under trademark law for use of some + trade names, trademarks, or service marks; or + + f) Requiring indemnification of licensors and authors of that + material by anyone who conveys the material (or modified versions of + it) with contractual assumptions of liability to the recipient, for + any liability that these contractual assumptions directly impose on + those licensors and authors. + + All other non-permissive additional terms are considered "further +restrictions" within the meaning of section 10. If the Program as you +received it, or any part of it, contains a notice stating that it is +governed by this License along with a term that is a further +restriction, you may remove that term. If a license document contains +a further restriction but permits relicensing or conveying under this +License, you may add to a covered work material governed by the terms +of that license document, provided that the further restriction does +not survive such relicensing or conveying. + + If you add terms to a covered work in accord with this section, you +must place, in the relevant source files, a statement of the +additional terms that apply to those files, or a notice indicating +where to find the applicable terms. + + Additional terms, permissive or non-permissive, may be stated in the +form of a separately written license, or stated as exceptions; +the above requirements apply either way. + + 8. Termination. + + You may not propagate or modify a covered work except as expressly +provided under this License. Any attempt otherwise to propagate or +modify it is void, and will automatically terminate your rights under +this License (including any patent licenses granted under the third +paragraph of section 11). + + However, if you cease all violation of this License, then your +license from a particular copyright holder is reinstated (a) +provisionally, unless and until the copyright holder explicitly and +finally terminates your license, and (b) permanently, if the copyright +holder fails to notify you of the violation by some reasonable means +prior to 60 days after the cessation. + + Moreover, your license from a particular copyright holder is +reinstated permanently if the copyright holder notifies you of the +violation by some reasonable means, this is the first time you have +received notice of violation of this License (for any work) from that +copyright holder, and you cure the violation prior to 30 days after +your receipt of the notice. + + Termination of your rights under this section does not terminate the +licenses of parties who have received copies or rights from you under +this License. If your rights have been terminated and not permanently +reinstated, you do not qualify to receive new licenses for the same +material under section 10. + + 9. Acceptance Not Required for Having Copies. + + You are not required to accept this License in order to receive or +run a copy of the Program. Ancillary propagation of a covered work +occurring solely as a consequence of using peer-to-peer transmission +to receive a copy likewise does not require acceptance. However, +nothing other than this License grants you permission to propagate or +modify any covered work. These actions infringe copyright if you do +not accept this License. Therefore, by modifying or propagating a +covered work, you indicate your acceptance of this License to do so. + + 10. Automatic Licensing of Downstream Recipients. + + Each time you convey a covered work, the recipient automatically +receives a license from the original licensors, to run, modify and +propagate that work, subject to this License. You are not responsible +for enforcing compliance by third parties with this License. + + An "entity transaction" is a transaction transferring control of an +organization, or substantially all assets of one, or subdividing an +organization, or merging organizations. If propagation of a covered +work results from an entity transaction, each party to that +transaction who receives a copy of the work also receives whatever +licenses to the work the party's predecessor in interest had or could +give under the previous paragraph, plus a right to possession of the +Corresponding Source of the work from the predecessor in interest, if +the predecessor has it or can get it with reasonable efforts. + + You may not impose any further restrictions on the exercise of the +rights granted or affirmed under this License. For example, you may +not impose a license fee, royalty, or other charge for exercise of +rights granted under this License, and you may not initiate litigation +(including a cross-claim or counterclaim in a lawsuit) alleging that +any patent claim is infringed by making, using, selling, offering for +sale, or importing the Program or any portion of it. + + 11. Patents. + + A "contributor" is a copyright holder who authorizes use under this +License of the Program or a work on which the Program is based. The +work thus licensed is called the contributor's "contributor version". + + A contributor's "essential patent claims" are all patent claims +owned or controlled by the contributor, whether already acquired or +hereafter acquired, that would be infringed by some manner, permitted +by this License, of making, using, or selling its contributor version, +but do not include claims that would be infringed only as a +consequence of further modification of the contributor version. For +purposes of this definition, "control" includes the right to grant +patent sublicenses in a manner consistent with the requirements of +this License. + + Each contributor grants you a non-exclusive, worldwide, royalty-free +patent license under the contributor's essential patent claims, to +make, use, sell, offer for sale, import and otherwise run, modify and +propagate the contents of its contributor version. + + In the following three paragraphs, a "patent license" is any express +agreement or commitment, however denominated, not to enforce a patent +(such as an express permission to practice a patent or covenant not to +sue for patent infringement). To "grant" such a patent license to a +party means to make such an agreement or commitment not to enforce a +patent against the party. + + If you convey a covered work, knowingly relying on a patent license, +and the Corresponding Source of the work is not available for anyone +to copy, free of charge and under the terms of this License, through a +publicly available network server or other readily accessible means, +then you must either (1) cause the Corresponding Source to be so +available, or (2) arrange to deprive yourself of the benefit of the +patent license for this particular work, or (3) arrange, in a manner +consistent with the requirements of this License, to extend the patent +license to downstream recipients. "Knowingly relying" means you have +actual knowledge that, but for the patent license, your conveying the +covered work in a country, or your recipient's use of the covered work +in a country, would infringe one or more identifiable patents in that +country that you have reason to believe are valid. + + If, pursuant to or in connection with a single transaction or +arrangement, you convey, or propagate by procuring conveyance of, a +covered work, and grant a patent license to some of the parties +receiving the covered work authorizing them to use, propagate, modify +or convey a specific copy of the covered work, then the patent license +you grant is automatically extended to all recipients of the covered +work and works based on it. + + A patent license is "discriminatory" if it does not include within +the scope of its coverage, prohibits the exercise of, or is +conditioned on the non-exercise of one or more of the rights that are +specifically granted under this License. You may not convey a covered +work if you are a party to an arrangement with a third party that is +in the business of distributing software, under which you make payment +to the third party based on the extent of your activity of conveying +the work, and under which the third party grants, to any of the +parties who would receive the covered work from you, a discriminatory +patent license (a) in connection with copies of the covered work +conveyed by you (or copies made from those copies), or (b) primarily +for and in connection with specific products or compilations that +contain the covered work, unless you entered into that arrangement, +or that patent license was granted, prior to 28 March 2007. + + Nothing in this License shall be construed as excluding or limiting +any implied license or other defenses to infringement that may +otherwise be available to you under applicable patent law. + + 12. No Surrender of Others' Freedom. + + If conditions are imposed on you (whether by court order, agreement or +otherwise) that contradict the conditions of this License, they do not +excuse you from the conditions of this License. If you cannot convey a +covered work so as to satisfy simultaneously your obligations under this +License and any other pertinent obligations, then as a consequence you may +not convey it at all. For example, if you agree to terms that obligate you +to collect a royalty for further conveying from those to whom you convey +the Program, the only way you could satisfy both those terms and this +License would be to refrain entirely from conveying the Program. + + 13. Use with the GNU Affero General Public License. + + Notwithstanding any other provision of this License, you have +permission to link or combine any covered work with a work licensed +under version 3 of the GNU Affero General Public License into a single +combined work, and to convey the resulting work. The terms of this +License will continue to apply to the part which is the covered work, +but the special requirements of the GNU Affero General Public License, +section 13, concerning interaction through a network will apply to the +combination as such. + + 14. Revised Versions of this License. + + The Free Software Foundation may publish revised and/or new versions of +the GNU General Public License from time to time. Such new versions will +be similar in spirit to the present version, but may differ in detail to +address new problems or concerns. + + Each version is given a distinguishing version number. If the +Program specifies that a certain numbered version of the GNU General +Public License "or any later version" applies to it, you have the +option of following the terms and conditions either of that numbered +version or of any later version published by the Free Software +Foundation. If the Program does not specify a version number of the +GNU General Public License, you may choose any version ever published +by the Free Software Foundation. + + If the Program specifies that a proxy can decide which future +versions of the GNU General Public License can be used, that proxy's +public statement of acceptance of a version permanently authorizes you +to choose that version for the Program. + + Later license versions may give you additional or different +permissions. However, no additional obligations are imposed on any +author or copyright holder as a result of your choosing to follow a +later version. + + 15. Disclaimer of Warranty. + + THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY +APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT +HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY +OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, +THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR +PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM +IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF +ALL NECESSARY SERVICING, REPAIR OR CORRECTION. + + 16. Limitation of Liability. + + IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING +WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS +THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY +GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE +USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF +DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD +PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), +EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF +SUCH DAMAGES. + + 17. Interpretation of Sections 15 and 16. + + If the disclaimer of warranty and limitation of liability provided +above cannot be given local legal effect according to their terms, +reviewing courts shall apply local law that most closely approximates +an absolute waiver of all civil liability in connection with the +Program, unless a warranty or assumption of liability accompanies a +copy of the Program in return for a fee. + + END OF TERMS AND CONDITIONS + + How to Apply These Terms to Your New Programs + + If you develop a new program, and you want it to be of the greatest +possible use to the public, the best way to achieve this is to make it +free software which everyone can redistribute and change under these terms. + + To do so, attach the following notices to the program. It is safest +to attach them to the start of each source file to most effectively +state the exclusion of warranty; and each file should have at least +the "copyright" line and a pointer to where the full notice is found. + + {one line to give the program's name and a brief idea of what it does.} + Copyright (C) {year} {name of author} + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see . + +Also add information on how to contact you by electronic and paper mail. + + If the program does terminal interaction, make it output a short +notice like this when it starts in an interactive mode: + + {project} Copyright (C) {year} {fullname} + This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'. + This is free software, and you are welcome to redistribute it + under certain conditions; type `show c' for details. + +The hypothetical commands `show w' and `show c' should show the appropriate +parts of the General Public License. Of course, your program's commands +might be different; for a GUI interface, you would use an "about box". + + You should also get your employer (if you work as a programmer) or school, +if any, to sign a "copyright disclaimer" for the program, if necessary. +For more information on this, and how to apply and follow the GNU GPL, see +. + + The GNU General Public License does not permit incorporating your program +into proprietary programs. If your program is a subroutine library, you +may consider it more useful to permit linking proprietary applications with +the library. If this is what you want to do, use the GNU Lesser General +Public License instead of this License. But first, please read +. diff --git a/plugins/lovata/toolbox/vendor/kharanenka/laravel-scope-name/README.md b/plugins/lovata/toolbox/vendor/kharanenka/laravel-scope-name/README.md new file mode 100644 index 000000000..16c750086 --- /dev/null +++ b/plugins/lovata/toolbox/vendor/kharanenka/laravel-scope-name/README.md @@ -0,0 +1,32 @@ +# Trait NameField + + You can use trait in your models with "name" field (string) + +#Installation +Require this package in your `composer.json` and update composer. + +```php + +"kharanenka/laravel-scope-active": "1.0.*" + +``` + +# Usage + +```php + + + class MyModel extend Model { + + use Kharanenka\Scope\NameField; + + ... + + } + + $obElement = MyModel::getByName('Andrey')->first(); + $obElement = MyModel::likeByName('And')->first(); + $obElement = MyModel::nullName()->get(); + $obElement = MyModel::notNullName()->get(); + +``` \ No newline at end of file diff --git a/plugins/lovata/toolbox/vendor/kharanenka/laravel-scope-name/composer.json b/plugins/lovata/toolbox/vendor/kharanenka/laravel-scope-name/composer.json new file mode 100644 index 000000000..d13d5b683 --- /dev/null +++ b/plugins/lovata/toolbox/vendor/kharanenka/laravel-scope-name/composer.json @@ -0,0 +1,32 @@ +{ + "name": "kharanenka/laravel-scope-name", + "description": "Scope for field 'name' (string)", + "license": "GPL-3.0", + "keywords": [ + "php", + "laravel", + "OctoberCMS", + "model", + "scope", + "name", + "field" + ], + "authors": [ + { + "name": "Andrey Kharanenka", + "email": "kharanenka@gmail.com" + } + ], + "version": "1.0.0", + "require": { + "php": ">=5.6" + }, + "autoload": { + "classmap": [ + "src/Kharanenka/Scope" + ], + "psr-0": { + "Kharanenka\\Scope\\": "src/" + } + } +} \ No newline at end of file diff --git a/plugins/lovata/toolbox/vendor/kharanenka/laravel-scope-name/src/Kharanenka/Scope/NameField.php b/plugins/lovata/toolbox/vendor/kharanenka/laravel-scope-name/src/Kharanenka/Scope/NameField.php new file mode 100644 index 000000000..3b19c109b --- /dev/null +++ b/plugins/lovata/toolbox/vendor/kharanenka/laravel-scope-name/src/Kharanenka/Scope/NameField.php @@ -0,0 +1,67 @@ +where('name', $sData); + } + + return $obQuery; + } + + /** + * Get element like name value + * @param \Illuminate\Database\Eloquent\Builder|\October\Rain\Database\Builder $obQuery + * @param string $sData + * @return \Illuminate\Database\Eloquent\Builder|\October\Rain\Database\Builder; + */ + public function scopeLikeByName($obQuery, $sData) + { + if(!empty($sData)) { + $obQuery->where('name', 'like', '%'.$sData.'%'); + } + + return $obQuery; + } + + /** + * Get element with empty name + * @param \Illuminate\Database\Eloquent\Builder|\October\Rain\Database\Builder $obQuery + * @return \Illuminate\Database\Eloquent\Builder|\October\Rain\Database\Builder; + */ + public function scopeNullName($obQuery) + { + return $obQuery->whereNull('name'); + } + + /** + * Get element with not empty name + * @param \Illuminate\Database\Eloquent\Builder|\October\Rain\Database\Builder $obQuery + * @return \Illuminate\Database\Eloquent\Builder|\October\Rain\Database\Builder; + */ + public function scopeNotNullName($obQuery) + { + return $obQuery->whereNotNull('name'); + } +} \ No newline at end of file diff --git a/plugins/lovata/toolbox/vendor/kharanenka/laravel-scope-slug/.gitignore b/plugins/lovata/toolbox/vendor/kharanenka/laravel-scope-slug/.gitignore new file mode 100644 index 000000000..1e06577ef --- /dev/null +++ b/plugins/lovata/toolbox/vendor/kharanenka/laravel-scope-slug/.gitignore @@ -0,0 +1,88 @@ +/node_modules +Homestead.yaml + +#site +pdf/ +_backup/ +cgi-bin/ + +*.log +*.bin +*.komodoproject +/.komodotools/ + +# PhpStorm +.idea + +# Eclipse +*.pydevproject +.project +.metadata +bin/** +tmp/** +tmp/**/* +*.tmp +*.bak +*.swp +*~.nib +local.properties +.classpath +.settings/ +.loadpath +.externalToolBuilders/ +*.launch +.cproject +.buildpath + +# SublimeText +/*.sublime-project +*.sublime-workspace + +# NetBeans +nbproject/ +build/ +nbbuild/ +dist/ +nbdist/ +nbactions.xml +nb-configuration.xml + +# Windows system files +$RECYCLE.BIN/ +Thumbs.db +ehthumbs.db +Desktop.ini + +# OSX system files +.DS_store +.AppleDouble +.LSOverride +Icon +._* +.Spotlight-V100 +.Trashes + +# SVN/CVS +.svn +/CVS/* +*/CVS/* +.cvsignore +*/.cvsignore + +# temporary files/folders + +tmp* +~* +*.~* +*.bak +*.swp + +build/ +png/ +psd/ +doc/ +svg/ +vendors/ +pixelPerfect/ +node_modules/ +docs/ \ No newline at end of file diff --git a/plugins/lovata/toolbox/vendor/kharanenka/laravel-scope-slug/LICENSE b/plugins/lovata/toolbox/vendor/kharanenka/laravel-scope-slug/LICENSE new file mode 100644 index 000000000..9cecc1d46 --- /dev/null +++ b/plugins/lovata/toolbox/vendor/kharanenka/laravel-scope-slug/LICENSE @@ -0,0 +1,674 @@ + GNU GENERAL PUBLIC LICENSE + Version 3, 29 June 2007 + + Copyright (C) 2007 Free Software Foundation, Inc. + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + + Preamble + + The GNU General Public License is a free, copyleft license for +software and other kinds of works. + + The licenses for most software and other practical works are designed +to take away your freedom to share and change the works. By contrast, +the GNU General Public License is intended to guarantee your freedom to +share and change all versions of a program--to make sure it remains free +software for all its users. We, the Free Software Foundation, use the +GNU General Public License for most of our software; it applies also to +any other work released this way by its authors. You can apply it to +your programs, too. + + When we speak of free software, we are referring to freedom, not +price. Our General Public Licenses are designed to make sure that you +have the freedom to distribute copies of free software (and charge for +them if you wish), that you receive source code or can get it if you +want it, that you can change the software or use pieces of it in new +free programs, and that you know you can do these things. + + To protect your rights, we need to prevent others from denying you +these rights or asking you to surrender the rights. Therefore, you have +certain responsibilities if you distribute copies of the software, or if +you modify it: responsibilities to respect the freedom of others. + + For example, if you distribute copies of such a program, whether +gratis or for a fee, you must pass on to the recipients the same +freedoms that you received. You must make sure that they, too, receive +or can get the source code. And you must show them these terms so they +know their rights. + + Developers that use the GNU GPL protect your rights with two steps: +(1) assert copyright on the software, and (2) offer you this License +giving you legal permission to copy, distribute and/or modify it. + + For the developers' and authors' protection, the GPL clearly explains +that there is no warranty for this free software. For both users' and +authors' sake, the GPL requires that modified versions be marked as +changed, so that their problems will not be attributed erroneously to +authors of previous versions. + + Some devices are designed to deny users access to install or run +modified versions of the software inside them, although the manufacturer +can do so. This is fundamentally incompatible with the aim of +protecting users' freedom to change the software. The systematic +pattern of such abuse occurs in the area of products for individuals to +use, which is precisely where it is most unacceptable. Therefore, we +have designed this version of the GPL to prohibit the practice for those +products. If such problems arise substantially in other domains, we +stand ready to extend this provision to those domains in future versions +of the GPL, as needed to protect the freedom of users. + + Finally, every program is threatened constantly by software patents. +States should not allow patents to restrict development and use of +software on general-purpose computers, but in those that do, we wish to +avoid the special danger that patents applied to a free program could +make it effectively proprietary. To prevent this, the GPL assures that +patents cannot be used to render the program non-free. + + The precise terms and conditions for copying, distribution and +modification follow. + + TERMS AND CONDITIONS + + 0. Definitions. + + "This License" refers to version 3 of the GNU General Public License. + + "Copyright" also means copyright-like laws that apply to other kinds of +works, such as semiconductor masks. + + "The Program" refers to any copyrightable work licensed under this +License. Each licensee is addressed as "you". "Licensees" and +"recipients" may be individuals or organizations. + + To "modify" a work means to copy from or adapt all or part of the work +in a fashion requiring copyright permission, other than the making of an +exact copy. The resulting work is called a "modified version" of the +earlier work or a work "based on" the earlier work. + + A "covered work" means either the unmodified Program or a work based +on the Program. + + To "propagate" a work means to do anything with it that, without +permission, would make you directly or secondarily liable for +infringement under applicable copyright law, except executing it on a +computer or modifying a private copy. Propagation includes copying, +distribution (with or without modification), making available to the +public, and in some countries other activities as well. + + To "convey" a work means any kind of propagation that enables other +parties to make or receive copies. Mere interaction with a user through +a computer network, with no transfer of a copy, is not conveying. + + An interactive user interface displays "Appropriate Legal Notices" +to the extent that it includes a convenient and prominently visible +feature that (1) displays an appropriate copyright notice, and (2) +tells the user that there is no warranty for the work (except to the +extent that warranties are provided), that licensees may convey the +work under this License, and how to view a copy of this License. If +the interface presents a list of user commands or options, such as a +menu, a prominent item in the list meets this criterion. + + 1. Source Code. + + The "source code" for a work means the preferred form of the work +for making modifications to it. "Object code" means any non-source +form of a work. + + A "Standard Interface" means an interface that either is an official +standard defined by a recognized standards body, or, in the case of +interfaces specified for a particular programming language, one that +is widely used among developers working in that language. + + The "System Libraries" of an executable work include anything, other +than the work as a whole, that (a) is included in the normal form of +packaging a Major Component, but which is not part of that Major +Component, and (b) serves only to enable use of the work with that +Major Component, or to implement a Standard Interface for which an +implementation is available to the public in source code form. A +"Major Component", in this context, means a major essential component +(kernel, window system, and so on) of the specific operating system +(if any) on which the executable work runs, or a compiler used to +produce the work, or an object code interpreter used to run it. + + The "Corresponding Source" for a work in object code form means all +the source code needed to generate, install, and (for an executable +work) run the object code and to modify the work, including scripts to +control those activities. However, it does not include the work's +System Libraries, or general-purpose tools or generally available free +programs which are used unmodified in performing those activities but +which are not part of the work. For example, Corresponding Source +includes interface definition files associated with source files for +the work, and the source code for shared libraries and dynamically +linked subprograms that the work is specifically designed to require, +such as by intimate data communication or control flow between those +subprograms and other parts of the work. + + The Corresponding Source need not include anything that users +can regenerate automatically from other parts of the Corresponding +Source. + + The Corresponding Source for a work in source code form is that +same work. + + 2. Basic Permissions. + + All rights granted under this License are granted for the term of +copyright on the Program, and are irrevocable provided the stated +conditions are met. This License explicitly affirms your unlimited +permission to run the unmodified Program. The output from running a +covered work is covered by this License only if the output, given its +content, constitutes a covered work. This License acknowledges your +rights of fair use or other equivalent, as provided by copyright law. + + You may make, run and propagate covered works that you do not +convey, without conditions so long as your license otherwise remains +in force. You may convey covered works to others for the sole purpose +of having them make modifications exclusively for you, or provide you +with facilities for running those works, provided that you comply with +the terms of this License in conveying all material for which you do +not control copyright. Those thus making or running the covered works +for you must do so exclusively on your behalf, under your direction +and control, on terms that prohibit them from making any copies of +your copyrighted material outside their relationship with you. + + Conveying under any other circumstances is permitted solely under +the conditions stated below. Sublicensing is not allowed; section 10 +makes it unnecessary. + + 3. Protecting Users' Legal Rights From Anti-Circumvention Law. + + No covered work shall be deemed part of an effective technological +measure under any applicable law fulfilling obligations under article +11 of the WIPO copyright treaty adopted on 20 December 1996, or +similar laws prohibiting or restricting circumvention of such +measures. + + When you convey a covered work, you waive any legal power to forbid +circumvention of technological measures to the extent such circumvention +is effected by exercising rights under this License with respect to +the covered work, and you disclaim any intention to limit operation or +modification of the work as a means of enforcing, against the work's +users, your or third parties' legal rights to forbid circumvention of +technological measures. + + 4. Conveying Verbatim Copies. + + You may convey verbatim copies of the Program's source code as you +receive it, in any medium, provided that you conspicuously and +appropriately publish on each copy an appropriate copyright notice; +keep intact all notices stating that this License and any +non-permissive terms added in accord with section 7 apply to the code; +keep intact all notices of the absence of any warranty; and give all +recipients a copy of this License along with the Program. + + You may charge any price or no price for each copy that you convey, +and you may offer support or warranty protection for a fee. + + 5. Conveying Modified Source Versions. + + You may convey a work based on the Program, or the modifications to +produce it from the Program, in the form of source code under the +terms of section 4, provided that you also meet all of these conditions: + + a) The work must carry prominent notices stating that you modified + it, and giving a relevant date. + + b) The work must carry prominent notices stating that it is + released under this License and any conditions added under section + 7. This requirement modifies the requirement in section 4 to + "keep intact all notices". + + c) You must license the entire work, as a whole, under this + License to anyone who comes into possession of a copy. This + License will therefore apply, along with any applicable section 7 + additional terms, to the whole of the work, and all its parts, + regardless of how they are packaged. This License gives no + permission to license the work in any other way, but it does not + invalidate such permission if you have separately received it. + + d) If the work has interactive user interfaces, each must display + Appropriate Legal Notices; however, if the Program has interactive + interfaces that do not display Appropriate Legal Notices, your + work need not make them do so. + + A compilation of a covered work with other separate and independent +works, which are not by their nature extensions of the covered work, +and which are not combined with it such as to form a larger program, +in or on a volume of a storage or distribution medium, is called an +"aggregate" if the compilation and its resulting copyright are not +used to limit the access or legal rights of the compilation's users +beyond what the individual works permit. Inclusion of a covered work +in an aggregate does not cause this License to apply to the other +parts of the aggregate. + + 6. Conveying Non-Source Forms. + + You may convey a covered work in object code form under the terms +of sections 4 and 5, provided that you also convey the +machine-readable Corresponding Source under the terms of this License, +in one of these ways: + + a) Convey the object code in, or embodied in, a physical product + (including a physical distribution medium), accompanied by the + Corresponding Source fixed on a durable physical medium + customarily used for software interchange. + + b) Convey the object code in, or embodied in, a physical product + (including a physical distribution medium), accompanied by a + written offer, valid for at least three years and valid for as + long as you offer spare parts or customer support for that product + model, to give anyone who possesses the object code either (1) a + copy of the Corresponding Source for all the software in the + product that is covered by this License, on a durable physical + medium customarily used for software interchange, for a price no + more than your reasonable cost of physically performing this + conveying of source, or (2) access to copy the + Corresponding Source from a network server at no charge. + + c) Convey individual copies of the object code with a copy of the + written offer to provide the Corresponding Source. This + alternative is allowed only occasionally and noncommercially, and + only if you received the object code with such an offer, in accord + with subsection 6b. + + d) Convey the object code by offering access from a designated + place (gratis or for a charge), and offer equivalent access to the + Corresponding Source in the same way through the same place at no + further charge. You need not require recipients to copy the + Corresponding Source along with the object code. If the place to + copy the object code is a network server, the Corresponding Source + may be on a different server (operated by you or a third party) + that supports equivalent copying facilities, provided you maintain + clear directions next to the object code saying where to find the + Corresponding Source. Regardless of what server hosts the + Corresponding Source, you remain obligated to ensure that it is + available for as long as needed to satisfy these requirements. + + e) Convey the object code using peer-to-peer transmission, provided + you inform other peers where the object code and Corresponding + Source of the work are being offered to the general public at no + charge under subsection 6d. + + A separable portion of the object code, whose source code is excluded +from the Corresponding Source as a System Library, need not be +included in conveying the object code work. + + A "User Product" is either (1) a "consumer product", which means any +tangible personal property which is normally used for personal, family, +or household purposes, or (2) anything designed or sold for incorporation +into a dwelling. In determining whether a product is a consumer product, +doubtful cases shall be resolved in favor of coverage. For a particular +product received by a particular user, "normally used" refers to a +typical or common use of that class of product, regardless of the status +of the particular user or of the way in which the particular user +actually uses, or expects or is expected to use, the product. A product +is a consumer product regardless of whether the product has substantial +commercial, industrial or non-consumer uses, unless such uses represent +the only significant mode of use of the product. + + "Installation Information" for a User Product means any methods, +procedures, authorization keys, or other information required to install +and execute modified versions of a covered work in that User Product from +a modified version of its Corresponding Source. The information must +suffice to ensure that the continued functioning of the modified object +code is in no case prevented or interfered with solely because +modification has been made. + + If you convey an object code work under this section in, or with, or +specifically for use in, a User Product, and the conveying occurs as +part of a transaction in which the right of possession and use of the +User Product is transferred to the recipient in perpetuity or for a +fixed term (regardless of how the transaction is characterized), the +Corresponding Source conveyed under this section must be accompanied +by the Installation Information. But this requirement does not apply +if neither you nor any third party retains the ability to install +modified object code on the User Product (for example, the work has +been installed in ROM). + + The requirement to provide Installation Information does not include a +requirement to continue to provide support service, warranty, or updates +for a work that has been modified or installed by the recipient, or for +the User Product in which it has been modified or installed. Access to a +network may be denied when the modification itself materially and +adversely affects the operation of the network or violates the rules and +protocols for communication across the network. + + Corresponding Source conveyed, and Installation Information provided, +in accord with this section must be in a format that is publicly +documented (and with an implementation available to the public in +source code form), and must require no special password or key for +unpacking, reading or copying. + + 7. Additional Terms. + + "Additional permissions" are terms that supplement the terms of this +License by making exceptions from one or more of its conditions. +Additional permissions that are applicable to the entire Program shall +be treated as though they were included in this License, to the extent +that they are valid under applicable law. If additional permissions +apply only to part of the Program, that part may be used separately +under those permissions, but the entire Program remains governed by +this License without regard to the additional permissions. + + When you convey a copy of a covered work, you may at your option +remove any additional permissions from that copy, or from any part of +it. (Additional permissions may be written to require their own +removal in certain cases when you modify the work.) You may place +additional permissions on material, added by you to a covered work, +for which you have or can give appropriate copyright permission. + + Notwithstanding any other provision of this License, for material you +add to a covered work, you may (if authorized by the copyright holders of +that material) supplement the terms of this License with terms: + + a) Disclaiming warranty or limiting liability differently from the + terms of sections 15 and 16 of this License; or + + b) Requiring preservation of specified reasonable legal notices or + author attributions in that material or in the Appropriate Legal + Notices displayed by works containing it; or + + c) Prohibiting misrepresentation of the origin of that material, or + requiring that modified versions of such material be marked in + reasonable ways as different from the original version; or + + d) Limiting the use for publicity purposes of names of licensors or + authors of the material; or + + e) Declining to grant rights under trademark law for use of some + trade names, trademarks, or service marks; or + + f) Requiring indemnification of licensors and authors of that + material by anyone who conveys the material (or modified versions of + it) with contractual assumptions of liability to the recipient, for + any liability that these contractual assumptions directly impose on + those licensors and authors. + + All other non-permissive additional terms are considered "further +restrictions" within the meaning of section 10. If the Program as you +received it, or any part of it, contains a notice stating that it is +governed by this License along with a term that is a further +restriction, you may remove that term. If a license document contains +a further restriction but permits relicensing or conveying under this +License, you may add to a covered work material governed by the terms +of that license document, provided that the further restriction does +not survive such relicensing or conveying. + + If you add terms to a covered work in accord with this section, you +must place, in the relevant source files, a statement of the +additional terms that apply to those files, or a notice indicating +where to find the applicable terms. + + Additional terms, permissive or non-permissive, may be stated in the +form of a separately written license, or stated as exceptions; +the above requirements apply either way. + + 8. Termination. + + You may not propagate or modify a covered work except as expressly +provided under this License. Any attempt otherwise to propagate or +modify it is void, and will automatically terminate your rights under +this License (including any patent licenses granted under the third +paragraph of section 11). + + However, if you cease all violation of this License, then your +license from a particular copyright holder is reinstated (a) +provisionally, unless and until the copyright holder explicitly and +finally terminates your license, and (b) permanently, if the copyright +holder fails to notify you of the violation by some reasonable means +prior to 60 days after the cessation. + + Moreover, your license from a particular copyright holder is +reinstated permanently if the copyright holder notifies you of the +violation by some reasonable means, this is the first time you have +received notice of violation of this License (for any work) from that +copyright holder, and you cure the violation prior to 30 days after +your receipt of the notice. + + Termination of your rights under this section does not terminate the +licenses of parties who have received copies or rights from you under +this License. If your rights have been terminated and not permanently +reinstated, you do not qualify to receive new licenses for the same +material under section 10. + + 9. Acceptance Not Required for Having Copies. + + You are not required to accept this License in order to receive or +run a copy of the Program. Ancillary propagation of a covered work +occurring solely as a consequence of using peer-to-peer transmission +to receive a copy likewise does not require acceptance. However, +nothing other than this License grants you permission to propagate or +modify any covered work. These actions infringe copyright if you do +not accept this License. Therefore, by modifying or propagating a +covered work, you indicate your acceptance of this License to do so. + + 10. Automatic Licensing of Downstream Recipients. + + Each time you convey a covered work, the recipient automatically +receives a license from the original licensors, to run, modify and +propagate that work, subject to this License. You are not responsible +for enforcing compliance by third parties with this License. + + An "entity transaction" is a transaction transferring control of an +organization, or substantially all assets of one, or subdividing an +organization, or merging organizations. If propagation of a covered +work results from an entity transaction, each party to that +transaction who receives a copy of the work also receives whatever +licenses to the work the party's predecessor in interest had or could +give under the previous paragraph, plus a right to possession of the +Corresponding Source of the work from the predecessor in interest, if +the predecessor has it or can get it with reasonable efforts. + + You may not impose any further restrictions on the exercise of the +rights granted or affirmed under this License. For example, you may +not impose a license fee, royalty, or other charge for exercise of +rights granted under this License, and you may not initiate litigation +(including a cross-claim or counterclaim in a lawsuit) alleging that +any patent claim is infringed by making, using, selling, offering for +sale, or importing the Program or any portion of it. + + 11. Patents. + + A "contributor" is a copyright holder who authorizes use under this +License of the Program or a work on which the Program is based. The +work thus licensed is called the contributor's "contributor version". + + A contributor's "essential patent claims" are all patent claims +owned or controlled by the contributor, whether already acquired or +hereafter acquired, that would be infringed by some manner, permitted +by this License, of making, using, or selling its contributor version, +but do not include claims that would be infringed only as a +consequence of further modification of the contributor version. For +purposes of this definition, "control" includes the right to grant +patent sublicenses in a manner consistent with the requirements of +this License. + + Each contributor grants you a non-exclusive, worldwide, royalty-free +patent license under the contributor's essential patent claims, to +make, use, sell, offer for sale, import and otherwise run, modify and +propagate the contents of its contributor version. + + In the following three paragraphs, a "patent license" is any express +agreement or commitment, however denominated, not to enforce a patent +(such as an express permission to practice a patent or covenant not to +sue for patent infringement). To "grant" such a patent license to a +party means to make such an agreement or commitment not to enforce a +patent against the party. + + If you convey a covered work, knowingly relying on a patent license, +and the Corresponding Source of the work is not available for anyone +to copy, free of charge and under the terms of this License, through a +publicly available network server or other readily accessible means, +then you must either (1) cause the Corresponding Source to be so +available, or (2) arrange to deprive yourself of the benefit of the +patent license for this particular work, or (3) arrange, in a manner +consistent with the requirements of this License, to extend the patent +license to downstream recipients. "Knowingly relying" means you have +actual knowledge that, but for the patent license, your conveying the +covered work in a country, or your recipient's use of the covered work +in a country, would infringe one or more identifiable patents in that +country that you have reason to believe are valid. + + If, pursuant to or in connection with a single transaction or +arrangement, you convey, or propagate by procuring conveyance of, a +covered work, and grant a patent license to some of the parties +receiving the covered work authorizing them to use, propagate, modify +or convey a specific copy of the covered work, then the patent license +you grant is automatically extended to all recipients of the covered +work and works based on it. + + A patent license is "discriminatory" if it does not include within +the scope of its coverage, prohibits the exercise of, or is +conditioned on the non-exercise of one or more of the rights that are +specifically granted under this License. You may not convey a covered +work if you are a party to an arrangement with a third party that is +in the business of distributing software, under which you make payment +to the third party based on the extent of your activity of conveying +the work, and under which the third party grants, to any of the +parties who would receive the covered work from you, a discriminatory +patent license (a) in connection with copies of the covered work +conveyed by you (or copies made from those copies), or (b) primarily +for and in connection with specific products or compilations that +contain the covered work, unless you entered into that arrangement, +or that patent license was granted, prior to 28 March 2007. + + Nothing in this License shall be construed as excluding or limiting +any implied license or other defenses to infringement that may +otherwise be available to you under applicable patent law. + + 12. No Surrender of Others' Freedom. + + If conditions are imposed on you (whether by court order, agreement or +otherwise) that contradict the conditions of this License, they do not +excuse you from the conditions of this License. If you cannot convey a +covered work so as to satisfy simultaneously your obligations under this +License and any other pertinent obligations, then as a consequence you may +not convey it at all. For example, if you agree to terms that obligate you +to collect a royalty for further conveying from those to whom you convey +the Program, the only way you could satisfy both those terms and this +License would be to refrain entirely from conveying the Program. + + 13. Use with the GNU Affero General Public License. + + Notwithstanding any other provision of this License, you have +permission to link or combine any covered work with a work licensed +under version 3 of the GNU Affero General Public License into a single +combined work, and to convey the resulting work. The terms of this +License will continue to apply to the part which is the covered work, +but the special requirements of the GNU Affero General Public License, +section 13, concerning interaction through a network will apply to the +combination as such. + + 14. Revised Versions of this License. + + The Free Software Foundation may publish revised and/or new versions of +the GNU General Public License from time to time. Such new versions will +be similar in spirit to the present version, but may differ in detail to +address new problems or concerns. + + Each version is given a distinguishing version number. If the +Program specifies that a certain numbered version of the GNU General +Public License "or any later version" applies to it, you have the +option of following the terms and conditions either of that numbered +version or of any later version published by the Free Software +Foundation. If the Program does not specify a version number of the +GNU General Public License, you may choose any version ever published +by the Free Software Foundation. + + If the Program specifies that a proxy can decide which future +versions of the GNU General Public License can be used, that proxy's +public statement of acceptance of a version permanently authorizes you +to choose that version for the Program. + + Later license versions may give you additional or different +permissions. However, no additional obligations are imposed on any +author or copyright holder as a result of your choosing to follow a +later version. + + 15. Disclaimer of Warranty. + + THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY +APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT +HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY +OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, +THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR +PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM +IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF +ALL NECESSARY SERVICING, REPAIR OR CORRECTION. + + 16. Limitation of Liability. + + IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING +WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS +THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY +GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE +USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF +DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD +PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), +EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF +SUCH DAMAGES. + + 17. Interpretation of Sections 15 and 16. + + If the disclaimer of warranty and limitation of liability provided +above cannot be given local legal effect according to their terms, +reviewing courts shall apply local law that most closely approximates +an absolute waiver of all civil liability in connection with the +Program, unless a warranty or assumption of liability accompanies a +copy of the Program in return for a fee. + + END OF TERMS AND CONDITIONS + + How to Apply These Terms to Your New Programs + + If you develop a new program, and you want it to be of the greatest +possible use to the public, the best way to achieve this is to make it +free software which everyone can redistribute and change under these terms. + + To do so, attach the following notices to the program. It is safest +to attach them to the start of each source file to most effectively +state the exclusion of warranty; and each file should have at least +the "copyright" line and a pointer to where the full notice is found. + + {one line to give the program's name and a brief idea of what it does.} + Copyright (C) {year} {name of author} + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see . + +Also add information on how to contact you by electronic and paper mail. + + If the program does terminal interaction, make it output a short +notice like this when it starts in an interactive mode: + + {project} Copyright (C) {year} {fullname} + This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'. + This is free software, and you are welcome to redistribute it + under certain conditions; type `show c' for details. + +The hypothetical commands `show w' and `show c' should show the appropriate +parts of the General Public License. Of course, your program's commands +might be different; for a GUI interface, you would use an "about box". + + You should also get your employer (if you work as a programmer) or school, +if any, to sign a "copyright disclaimer" for the program, if necessary. +For more information on this, and how to apply and follow the GNU GPL, see +. + + The GNU General Public License does not permit incorporating your program +into proprietary programs. If your program is a subroutine library, you +may consider it more useful to permit linking proprietary applications with +the library. If this is what you want to do, use the GNU Lesser General +Public License instead of this License. But first, please read +. diff --git a/plugins/lovata/toolbox/vendor/kharanenka/laravel-scope-slug/README.md b/plugins/lovata/toolbox/vendor/kharanenka/laravel-scope-slug/README.md new file mode 100644 index 000000000..bbb99b5d8 --- /dev/null +++ b/plugins/lovata/toolbox/vendor/kharanenka/laravel-scope-slug/README.md @@ -0,0 +1,31 @@ +# Trait SlugField + + You can use trait in your models with "slug" field (string) + +#Installation +Require this package in your `composer.json` and update composer. + +```php + +"kharanenka/laravel-scope-slug": "1.0.*" + +``` + +# Usage + +```php + + + class MyModel extend Model { + + use Kharanenka\Scope\SlugField; + + ... + + } + + $obElement = MyModel::getBySlug('andrey')->first(); + $obElement = MyModel::nullSlug()->get(); + $obElement = MyModel::notNullSlug()->get(); + +``` \ No newline at end of file diff --git a/plugins/lovata/toolbox/vendor/kharanenka/laravel-scope-slug/composer.json b/plugins/lovata/toolbox/vendor/kharanenka/laravel-scope-slug/composer.json new file mode 100644 index 000000000..294c8cc08 --- /dev/null +++ b/plugins/lovata/toolbox/vendor/kharanenka/laravel-scope-slug/composer.json @@ -0,0 +1,32 @@ +{ + "name": "kharanenka/laravel-scope-slug", + "description": "Scope for field 'slug' (string)", + "license": "GPL-3.0", + "keywords": [ + "php", + "laravel", + "OctoberCMS", + "model", + "scope", + "slug", + "field" + ], + "authors": [ + { + "name": "Andrey Kharanenka", + "email": "kharanenka@gmail.com" + } + ], + "version": "1.0.0", + "require": { + "php": ">=5.6" + }, + "autoload": { + "classmap": [ + "src/Kharanenka/Scope" + ], + "psr-0": { + "Kharanenka\\Scope\\": "src/" + } + } +} \ No newline at end of file diff --git a/plugins/lovata/toolbox/vendor/kharanenka/laravel-scope-slug/src/Kharanenka/Scope/SlugField.php b/plugins/lovata/toolbox/vendor/kharanenka/laravel-scope-slug/src/Kharanenka/Scope/SlugField.php new file mode 100644 index 000000000..ce106555a --- /dev/null +++ b/plugins/lovata/toolbox/vendor/kharanenka/laravel-scope-slug/src/Kharanenka/Scope/SlugField.php @@ -0,0 +1,51 @@ +where('slug', $sData); + } + + return $obQuery; + } + + /** + * Get element with empty slug + * @param \Illuminate\Database\Eloquent\Builder|\October\Rain\Database\Builder $obQuery + * @return \Illuminate\Database\Eloquent\Builder|\October\Rain\Database\Builder; + */ + public function scopeNullSlug($obQuery) + { + return $obQuery->whereNull('slug'); + } + + /** + * Get element with not empty slug + * @param \Illuminate\Database\Eloquent\Builder|\October\Rain\Database\Builder $obQuery + * @return \Illuminate\Database\Eloquent\Builder|\October\Rain\Database\Builder; + */ + public function scopeNotNullSlug($obQuery) + { + return $obQuery->whereNotNull('slug'); + } +} \ No newline at end of file diff --git a/plugins/lovata/toolbox/vendor/kharanenka/laravel-scope-type/.gitignore b/plugins/lovata/toolbox/vendor/kharanenka/laravel-scope-type/.gitignore new file mode 100644 index 000000000..1e06577ef --- /dev/null +++ b/plugins/lovata/toolbox/vendor/kharanenka/laravel-scope-type/.gitignore @@ -0,0 +1,88 @@ +/node_modules +Homestead.yaml + +#site +pdf/ +_backup/ +cgi-bin/ + +*.log +*.bin +*.komodoproject +/.komodotools/ + +# PhpStorm +.idea + +# Eclipse +*.pydevproject +.project +.metadata +bin/** +tmp/** +tmp/**/* +*.tmp +*.bak +*.swp +*~.nib +local.properties +.classpath +.settings/ +.loadpath +.externalToolBuilders/ +*.launch +.cproject +.buildpath + +# SublimeText +/*.sublime-project +*.sublime-workspace + +# NetBeans +nbproject/ +build/ +nbbuild/ +dist/ +nbdist/ +nbactions.xml +nb-configuration.xml + +# Windows system files +$RECYCLE.BIN/ +Thumbs.db +ehthumbs.db +Desktop.ini + +# OSX system files +.DS_store +.AppleDouble +.LSOverride +Icon +._* +.Spotlight-V100 +.Trashes + +# SVN/CVS +.svn +/CVS/* +*/CVS/* +.cvsignore +*/.cvsignore + +# temporary files/folders + +tmp* +~* +*.~* +*.bak +*.swp + +build/ +png/ +psd/ +doc/ +svg/ +vendors/ +pixelPerfect/ +node_modules/ +docs/ \ No newline at end of file diff --git a/plugins/lovata/toolbox/vendor/kharanenka/laravel-scope-type/LICENSE b/plugins/lovata/toolbox/vendor/kharanenka/laravel-scope-type/LICENSE new file mode 100644 index 000000000..9cecc1d46 --- /dev/null +++ b/plugins/lovata/toolbox/vendor/kharanenka/laravel-scope-type/LICENSE @@ -0,0 +1,674 @@ + GNU GENERAL PUBLIC LICENSE + Version 3, 29 June 2007 + + Copyright (C) 2007 Free Software Foundation, Inc. + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + + Preamble + + The GNU General Public License is a free, copyleft license for +software and other kinds of works. + + The licenses for most software and other practical works are designed +to take away your freedom to share and change the works. By contrast, +the GNU General Public License is intended to guarantee your freedom to +share and change all versions of a program--to make sure it remains free +software for all its users. We, the Free Software Foundation, use the +GNU General Public License for most of our software; it applies also to +any other work released this way by its authors. You can apply it to +your programs, too. + + When we speak of free software, we are referring to freedom, not +price. Our General Public Licenses are designed to make sure that you +have the freedom to distribute copies of free software (and charge for +them if you wish), that you receive source code or can get it if you +want it, that you can change the software or use pieces of it in new +free programs, and that you know you can do these things. + + To protect your rights, we need to prevent others from denying you +these rights or asking you to surrender the rights. Therefore, you have +certain responsibilities if you distribute copies of the software, or if +you modify it: responsibilities to respect the freedom of others. + + For example, if you distribute copies of such a program, whether +gratis or for a fee, you must pass on to the recipients the same +freedoms that you received. You must make sure that they, too, receive +or can get the source code. And you must show them these terms so they +know their rights. + + Developers that use the GNU GPL protect your rights with two steps: +(1) assert copyright on the software, and (2) offer you this License +giving you legal permission to copy, distribute and/or modify it. + + For the developers' and authors' protection, the GPL clearly explains +that there is no warranty for this free software. For both users' and +authors' sake, the GPL requires that modified versions be marked as +changed, so that their problems will not be attributed erroneously to +authors of previous versions. + + Some devices are designed to deny users access to install or run +modified versions of the software inside them, although the manufacturer +can do so. This is fundamentally incompatible with the aim of +protecting users' freedom to change the software. The systematic +pattern of such abuse occurs in the area of products for individuals to +use, which is precisely where it is most unacceptable. Therefore, we +have designed this version of the GPL to prohibit the practice for those +products. If such problems arise substantially in other domains, we +stand ready to extend this provision to those domains in future versions +of the GPL, as needed to protect the freedom of users. + + Finally, every program is threatened constantly by software patents. +States should not allow patents to restrict development and use of +software on general-purpose computers, but in those that do, we wish to +avoid the special danger that patents applied to a free program could +make it effectively proprietary. To prevent this, the GPL assures that +patents cannot be used to render the program non-free. + + The precise terms and conditions for copying, distribution and +modification follow. + + TERMS AND CONDITIONS + + 0. Definitions. + + "This License" refers to version 3 of the GNU General Public License. + + "Copyright" also means copyright-like laws that apply to other kinds of +works, such as semiconductor masks. + + "The Program" refers to any copyrightable work licensed under this +License. Each licensee is addressed as "you". "Licensees" and +"recipients" may be individuals or organizations. + + To "modify" a work means to copy from or adapt all or part of the work +in a fashion requiring copyright permission, other than the making of an +exact copy. The resulting work is called a "modified version" of the +earlier work or a work "based on" the earlier work. + + A "covered work" means either the unmodified Program or a work based +on the Program. + + To "propagate" a work means to do anything with it that, without +permission, would make you directly or secondarily liable for +infringement under applicable copyright law, except executing it on a +computer or modifying a private copy. Propagation includes copying, +distribution (with or without modification), making available to the +public, and in some countries other activities as well. + + To "convey" a work means any kind of propagation that enables other +parties to make or receive copies. Mere interaction with a user through +a computer network, with no transfer of a copy, is not conveying. + + An interactive user interface displays "Appropriate Legal Notices" +to the extent that it includes a convenient and prominently visible +feature that (1) displays an appropriate copyright notice, and (2) +tells the user that there is no warranty for the work (except to the +extent that warranties are provided), that licensees may convey the +work under this License, and how to view a copy of this License. If +the interface presents a list of user commands or options, such as a +menu, a prominent item in the list meets this criterion. + + 1. Source Code. + + The "source code" for a work means the preferred form of the work +for making modifications to it. "Object code" means any non-source +form of a work. + + A "Standard Interface" means an interface that either is an official +standard defined by a recognized standards body, or, in the case of +interfaces specified for a particular programming language, one that +is widely used among developers working in that language. + + The "System Libraries" of an executable work include anything, other +than the work as a whole, that (a) is included in the normal form of +packaging a Major Component, but which is not part of that Major +Component, and (b) serves only to enable use of the work with that +Major Component, or to implement a Standard Interface for which an +implementation is available to the public in source code form. A +"Major Component", in this context, means a major essential component +(kernel, window system, and so on) of the specific operating system +(if any) on which the executable work runs, or a compiler used to +produce the work, or an object code interpreter used to run it. + + The "Corresponding Source" for a work in object code form means all +the source code needed to generate, install, and (for an executable +work) run the object code and to modify the work, including scripts to +control those activities. However, it does not include the work's +System Libraries, or general-purpose tools or generally available free +programs which are used unmodified in performing those activities but +which are not part of the work. For example, Corresponding Source +includes interface definition files associated with source files for +the work, and the source code for shared libraries and dynamically +linked subprograms that the work is specifically designed to require, +such as by intimate data communication or control flow between those +subprograms and other parts of the work. + + The Corresponding Source need not include anything that users +can regenerate automatically from other parts of the Corresponding +Source. + + The Corresponding Source for a work in source code form is that +same work. + + 2. Basic Permissions. + + All rights granted under this License are granted for the term of +copyright on the Program, and are irrevocable provided the stated +conditions are met. This License explicitly affirms your unlimited +permission to run the unmodified Program. The output from running a +covered work is covered by this License only if the output, given its +content, constitutes a covered work. This License acknowledges your +rights of fair use or other equivalent, as provided by copyright law. + + You may make, run and propagate covered works that you do not +convey, without conditions so long as your license otherwise remains +in force. You may convey covered works to others for the sole purpose +of having them make modifications exclusively for you, or provide you +with facilities for running those works, provided that you comply with +the terms of this License in conveying all material for which you do +not control copyright. Those thus making or running the covered works +for you must do so exclusively on your behalf, under your direction +and control, on terms that prohibit them from making any copies of +your copyrighted material outside their relationship with you. + + Conveying under any other circumstances is permitted solely under +the conditions stated below. Sublicensing is not allowed; section 10 +makes it unnecessary. + + 3. Protecting Users' Legal Rights From Anti-Circumvention Law. + + No covered work shall be deemed part of an effective technological +measure under any applicable law fulfilling obligations under article +11 of the WIPO copyright treaty adopted on 20 December 1996, or +similar laws prohibiting or restricting circumvention of such +measures. + + When you convey a covered work, you waive any legal power to forbid +circumvention of technological measures to the extent such circumvention +is effected by exercising rights under this License with respect to +the covered work, and you disclaim any intention to limit operation or +modification of the work as a means of enforcing, against the work's +users, your or third parties' legal rights to forbid circumvention of +technological measures. + + 4. Conveying Verbatim Copies. + + You may convey verbatim copies of the Program's source code as you +receive it, in any medium, provided that you conspicuously and +appropriately publish on each copy an appropriate copyright notice; +keep intact all notices stating that this License and any +non-permissive terms added in accord with section 7 apply to the code; +keep intact all notices of the absence of any warranty; and give all +recipients a copy of this License along with the Program. + + You may charge any price or no price for each copy that you convey, +and you may offer support or warranty protection for a fee. + + 5. Conveying Modified Source Versions. + + You may convey a work based on the Program, or the modifications to +produce it from the Program, in the form of source code under the +terms of section 4, provided that you also meet all of these conditions: + + a) The work must carry prominent notices stating that you modified + it, and giving a relevant date. + + b) The work must carry prominent notices stating that it is + released under this License and any conditions added under section + 7. This requirement modifies the requirement in section 4 to + "keep intact all notices". + + c) You must license the entire work, as a whole, under this + License to anyone who comes into possession of a copy. This + License will therefore apply, along with any applicable section 7 + additional terms, to the whole of the work, and all its parts, + regardless of how they are packaged. This License gives no + permission to license the work in any other way, but it does not + invalidate such permission if you have separately received it. + + d) If the work has interactive user interfaces, each must display + Appropriate Legal Notices; however, if the Program has interactive + interfaces that do not display Appropriate Legal Notices, your + work need not make them do so. + + A compilation of a covered work with other separate and independent +works, which are not by their nature extensions of the covered work, +and which are not combined with it such as to form a larger program, +in or on a volume of a storage or distribution medium, is called an +"aggregate" if the compilation and its resulting copyright are not +used to limit the access or legal rights of the compilation's users +beyond what the individual works permit. Inclusion of a covered work +in an aggregate does not cause this License to apply to the other +parts of the aggregate. + + 6. Conveying Non-Source Forms. + + You may convey a covered work in object code form under the terms +of sections 4 and 5, provided that you also convey the +machine-readable Corresponding Source under the terms of this License, +in one of these ways: + + a) Convey the object code in, or embodied in, a physical product + (including a physical distribution medium), accompanied by the + Corresponding Source fixed on a durable physical medium + customarily used for software interchange. + + b) Convey the object code in, or embodied in, a physical product + (including a physical distribution medium), accompanied by a + written offer, valid for at least three years and valid for as + long as you offer spare parts or customer support for that product + model, to give anyone who possesses the object code either (1) a + copy of the Corresponding Source for all the software in the + product that is covered by this License, on a durable physical + medium customarily used for software interchange, for a price no + more than your reasonable cost of physically performing this + conveying of source, or (2) access to copy the + Corresponding Source from a network server at no charge. + + c) Convey individual copies of the object code with a copy of the + written offer to provide the Corresponding Source. This + alternative is allowed only occasionally and noncommercially, and + only if you received the object code with such an offer, in accord + with subsection 6b. + + d) Convey the object code by offering access from a designated + place (gratis or for a charge), and offer equivalent access to the + Corresponding Source in the same way through the same place at no + further charge. You need not require recipients to copy the + Corresponding Source along with the object code. If the place to + copy the object code is a network server, the Corresponding Source + may be on a different server (operated by you or a third party) + that supports equivalent copying facilities, provided you maintain + clear directions next to the object code saying where to find the + Corresponding Source. Regardless of what server hosts the + Corresponding Source, you remain obligated to ensure that it is + available for as long as needed to satisfy these requirements. + + e) Convey the object code using peer-to-peer transmission, provided + you inform other peers where the object code and Corresponding + Source of the work are being offered to the general public at no + charge under subsection 6d. + + A separable portion of the object code, whose source code is excluded +from the Corresponding Source as a System Library, need not be +included in conveying the object code work. + + A "User Product" is either (1) a "consumer product", which means any +tangible personal property which is normally used for personal, family, +or household purposes, or (2) anything designed or sold for incorporation +into a dwelling. In determining whether a product is a consumer product, +doubtful cases shall be resolved in favor of coverage. For a particular +product received by a particular user, "normally used" refers to a +typical or common use of that class of product, regardless of the status +of the particular user or of the way in which the particular user +actually uses, or expects or is expected to use, the product. A product +is a consumer product regardless of whether the product has substantial +commercial, industrial or non-consumer uses, unless such uses represent +the only significant mode of use of the product. + + "Installation Information" for a User Product means any methods, +procedures, authorization keys, or other information required to install +and execute modified versions of a covered work in that User Product from +a modified version of its Corresponding Source. The information must +suffice to ensure that the continued functioning of the modified object +code is in no case prevented or interfered with solely because +modification has been made. + + If you convey an object code work under this section in, or with, or +specifically for use in, a User Product, and the conveying occurs as +part of a transaction in which the right of possession and use of the +User Product is transferred to the recipient in perpetuity or for a +fixed term (regardless of how the transaction is characterized), the +Corresponding Source conveyed under this section must be accompanied +by the Installation Information. But this requirement does not apply +if neither you nor any third party retains the ability to install +modified object code on the User Product (for example, the work has +been installed in ROM). + + The requirement to provide Installation Information does not include a +requirement to continue to provide support service, warranty, or updates +for a work that has been modified or installed by the recipient, or for +the User Product in which it has been modified or installed. Access to a +network may be denied when the modification itself materially and +adversely affects the operation of the network or violates the rules and +protocols for communication across the network. + + Corresponding Source conveyed, and Installation Information provided, +in accord with this section must be in a format that is publicly +documented (and with an implementation available to the public in +source code form), and must require no special password or key for +unpacking, reading or copying. + + 7. Additional Terms. + + "Additional permissions" are terms that supplement the terms of this +License by making exceptions from one or more of its conditions. +Additional permissions that are applicable to the entire Program shall +be treated as though they were included in this License, to the extent +that they are valid under applicable law. If additional permissions +apply only to part of the Program, that part may be used separately +under those permissions, but the entire Program remains governed by +this License without regard to the additional permissions. + + When you convey a copy of a covered work, you may at your option +remove any additional permissions from that copy, or from any part of +it. (Additional permissions may be written to require their own +removal in certain cases when you modify the work.) You may place +additional permissions on material, added by you to a covered work, +for which you have or can give appropriate copyright permission. + + Notwithstanding any other provision of this License, for material you +add to a covered work, you may (if authorized by the copyright holders of +that material) supplement the terms of this License with terms: + + a) Disclaiming warranty or limiting liability differently from the + terms of sections 15 and 16 of this License; or + + b) Requiring preservation of specified reasonable legal notices or + author attributions in that material or in the Appropriate Legal + Notices displayed by works containing it; or + + c) Prohibiting misrepresentation of the origin of that material, or + requiring that modified versions of such material be marked in + reasonable ways as different from the original version; or + + d) Limiting the use for publicity purposes of names of licensors or + authors of the material; or + + e) Declining to grant rights under trademark law for use of some + trade names, trademarks, or service marks; or + + f) Requiring indemnification of licensors and authors of that + material by anyone who conveys the material (or modified versions of + it) with contractual assumptions of liability to the recipient, for + any liability that these contractual assumptions directly impose on + those licensors and authors. + + All other non-permissive additional terms are considered "further +restrictions" within the meaning of section 10. If the Program as you +received it, or any part of it, contains a notice stating that it is +governed by this License along with a term that is a further +restriction, you may remove that term. If a license document contains +a further restriction but permits relicensing or conveying under this +License, you may add to a covered work material governed by the terms +of that license document, provided that the further restriction does +not survive such relicensing or conveying. + + If you add terms to a covered work in accord with this section, you +must place, in the relevant source files, a statement of the +additional terms that apply to those files, or a notice indicating +where to find the applicable terms. + + Additional terms, permissive or non-permissive, may be stated in the +form of a separately written license, or stated as exceptions; +the above requirements apply either way. + + 8. Termination. + + You may not propagate or modify a covered work except as expressly +provided under this License. Any attempt otherwise to propagate or +modify it is void, and will automatically terminate your rights under +this License (including any patent licenses granted under the third +paragraph of section 11). + + However, if you cease all violation of this License, then your +license from a particular copyright holder is reinstated (a) +provisionally, unless and until the copyright holder explicitly and +finally terminates your license, and (b) permanently, if the copyright +holder fails to notify you of the violation by some reasonable means +prior to 60 days after the cessation. + + Moreover, your license from a particular copyright holder is +reinstated permanently if the copyright holder notifies you of the +violation by some reasonable means, this is the first time you have +received notice of violation of this License (for any work) from that +copyright holder, and you cure the violation prior to 30 days after +your receipt of the notice. + + Termination of your rights under this section does not terminate the +licenses of parties who have received copies or rights from you under +this License. If your rights have been terminated and not permanently +reinstated, you do not qualify to receive new licenses for the same +material under section 10. + + 9. Acceptance Not Required for Having Copies. + + You are not required to accept this License in order to receive or +run a copy of the Program. Ancillary propagation of a covered work +occurring solely as a consequence of using peer-to-peer transmission +to receive a copy likewise does not require acceptance. However, +nothing other than this License grants you permission to propagate or +modify any covered work. These actions infringe copyright if you do +not accept this License. Therefore, by modifying or propagating a +covered work, you indicate your acceptance of this License to do so. + + 10. Automatic Licensing of Downstream Recipients. + + Each time you convey a covered work, the recipient automatically +receives a license from the original licensors, to run, modify and +propagate that work, subject to this License. You are not responsible +for enforcing compliance by third parties with this License. + + An "entity transaction" is a transaction transferring control of an +organization, or substantially all assets of one, or subdividing an +organization, or merging organizations. If propagation of a covered +work results from an entity transaction, each party to that +transaction who receives a copy of the work also receives whatever +licenses to the work the party's predecessor in interest had or could +give under the previous paragraph, plus a right to possession of the +Corresponding Source of the work from the predecessor in interest, if +the predecessor has it or can get it with reasonable efforts. + + You may not impose any further restrictions on the exercise of the +rights granted or affirmed under this License. For example, you may +not impose a license fee, royalty, or other charge for exercise of +rights granted under this License, and you may not initiate litigation +(including a cross-claim or counterclaim in a lawsuit) alleging that +any patent claim is infringed by making, using, selling, offering for +sale, or importing the Program or any portion of it. + + 11. Patents. + + A "contributor" is a copyright holder who authorizes use under this +License of the Program or a work on which the Program is based. The +work thus licensed is called the contributor's "contributor version". + + A contributor's "essential patent claims" are all patent claims +owned or controlled by the contributor, whether already acquired or +hereafter acquired, that would be infringed by some manner, permitted +by this License, of making, using, or selling its contributor version, +but do not include claims that would be infringed only as a +consequence of further modification of the contributor version. For +purposes of this definition, "control" includes the right to grant +patent sublicenses in a manner consistent with the requirements of +this License. + + Each contributor grants you a non-exclusive, worldwide, royalty-free +patent license under the contributor's essential patent claims, to +make, use, sell, offer for sale, import and otherwise run, modify and +propagate the contents of its contributor version. + + In the following three paragraphs, a "patent license" is any express +agreement or commitment, however denominated, not to enforce a patent +(such as an express permission to practice a patent or covenant not to +sue for patent infringement). To "grant" such a patent license to a +party means to make such an agreement or commitment not to enforce a +patent against the party. + + If you convey a covered work, knowingly relying on a patent license, +and the Corresponding Source of the work is not available for anyone +to copy, free of charge and under the terms of this License, through a +publicly available network server or other readily accessible means, +then you must either (1) cause the Corresponding Source to be so +available, or (2) arrange to deprive yourself of the benefit of the +patent license for this particular work, or (3) arrange, in a manner +consistent with the requirements of this License, to extend the patent +license to downstream recipients. "Knowingly relying" means you have +actual knowledge that, but for the patent license, your conveying the +covered work in a country, or your recipient's use of the covered work +in a country, would infringe one or more identifiable patents in that +country that you have reason to believe are valid. + + If, pursuant to or in connection with a single transaction or +arrangement, you convey, or propagate by procuring conveyance of, a +covered work, and grant a patent license to some of the parties +receiving the covered work authorizing them to use, propagate, modify +or convey a specific copy of the covered work, then the patent license +you grant is automatically extended to all recipients of the covered +work and works based on it. + + A patent license is "discriminatory" if it does not include within +the scope of its coverage, prohibits the exercise of, or is +conditioned on the non-exercise of one or more of the rights that are +specifically granted under this License. You may not convey a covered +work if you are a party to an arrangement with a third party that is +in the business of distributing software, under which you make payment +to the third party based on the extent of your activity of conveying +the work, and under which the third party grants, to any of the +parties who would receive the covered work from you, a discriminatory +patent license (a) in connection with copies of the covered work +conveyed by you (or copies made from those copies), or (b) primarily +for and in connection with specific products or compilations that +contain the covered work, unless you entered into that arrangement, +or that patent license was granted, prior to 28 March 2007. + + Nothing in this License shall be construed as excluding or limiting +any implied license or other defenses to infringement that may +otherwise be available to you under applicable patent law. + + 12. No Surrender of Others' Freedom. + + If conditions are imposed on you (whether by court order, agreement or +otherwise) that contradict the conditions of this License, they do not +excuse you from the conditions of this License. If you cannot convey a +covered work so as to satisfy simultaneously your obligations under this +License and any other pertinent obligations, then as a consequence you may +not convey it at all. For example, if you agree to terms that obligate you +to collect a royalty for further conveying from those to whom you convey +the Program, the only way you could satisfy both those terms and this +License would be to refrain entirely from conveying the Program. + + 13. Use with the GNU Affero General Public License. + + Notwithstanding any other provision of this License, you have +permission to link or combine any covered work with a work licensed +under version 3 of the GNU Affero General Public License into a single +combined work, and to convey the resulting work. The terms of this +License will continue to apply to the part which is the covered work, +but the special requirements of the GNU Affero General Public License, +section 13, concerning interaction through a network will apply to the +combination as such. + + 14. Revised Versions of this License. + + The Free Software Foundation may publish revised and/or new versions of +the GNU General Public License from time to time. Such new versions will +be similar in spirit to the present version, but may differ in detail to +address new problems or concerns. + + Each version is given a distinguishing version number. If the +Program specifies that a certain numbered version of the GNU General +Public License "or any later version" applies to it, you have the +option of following the terms and conditions either of that numbered +version or of any later version published by the Free Software +Foundation. If the Program does not specify a version number of the +GNU General Public License, you may choose any version ever published +by the Free Software Foundation. + + If the Program specifies that a proxy can decide which future +versions of the GNU General Public License can be used, that proxy's +public statement of acceptance of a version permanently authorizes you +to choose that version for the Program. + + Later license versions may give you additional or different +permissions. However, no additional obligations are imposed on any +author or copyright holder as a result of your choosing to follow a +later version. + + 15. Disclaimer of Warranty. + + THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY +APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT +HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY +OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, +THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR +PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM +IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF +ALL NECESSARY SERVICING, REPAIR OR CORRECTION. + + 16. Limitation of Liability. + + IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING +WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS +THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY +GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE +USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF +DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD +PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), +EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF +SUCH DAMAGES. + + 17. Interpretation of Sections 15 and 16. + + If the disclaimer of warranty and limitation of liability provided +above cannot be given local legal effect according to their terms, +reviewing courts shall apply local law that most closely approximates +an absolute waiver of all civil liability in connection with the +Program, unless a warranty or assumption of liability accompanies a +copy of the Program in return for a fee. + + END OF TERMS AND CONDITIONS + + How to Apply These Terms to Your New Programs + + If you develop a new program, and you want it to be of the greatest +possible use to the public, the best way to achieve this is to make it +free software which everyone can redistribute and change under these terms. + + To do so, attach the following notices to the program. It is safest +to attach them to the start of each source file to most effectively +state the exclusion of warranty; and each file should have at least +the "copyright" line and a pointer to where the full notice is found. + + {one line to give the program's name and a brief idea of what it does.} + Copyright (C) {year} {name of author} + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see . + +Also add information on how to contact you by electronic and paper mail. + + If the program does terminal interaction, make it output a short +notice like this when it starts in an interactive mode: + + {project} Copyright (C) {year} {fullname} + This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'. + This is free software, and you are welcome to redistribute it + under certain conditions; type `show c' for details. + +The hypothetical commands `show w' and `show c' should show the appropriate +parts of the General Public License. Of course, your program's commands +might be different; for a GUI interface, you would use an "about box". + + You should also get your employer (if you work as a programmer) or school, +if any, to sign a "copyright disclaimer" for the program, if necessary. +For more information on this, and how to apply and follow the GNU GPL, see +. + + The GNU General Public License does not permit incorporating your program +into proprietary programs. If your program is a subroutine library, you +may consider it more useful to permit linking proprietary applications with +the library. If this is what you want to do, use the GNU Lesser General +Public License instead of this License. But first, please read +. diff --git a/plugins/lovata/toolbox/vendor/kharanenka/laravel-scope-type/README.md b/plugins/lovata/toolbox/vendor/kharanenka/laravel-scope-type/README.md new file mode 100644 index 000000000..3af46a349 --- /dev/null +++ b/plugins/lovata/toolbox/vendor/kharanenka/laravel-scope-type/README.md @@ -0,0 +1,31 @@ +# Trait TypeField + + You can use trait in your models with "type" field (string) + +# Installation +Require this package in your `composer.json` and update composer. + +```php + +"kharanenka/laravel-scope-type": "1.0.*" + +``` + +# Usage + +```php + + class MyModel extend Model { + + use \Kharanenka\Scope\TypeField; + + ... + + } + + $obElement = MyModel::getByType('Andrey')->first(); + $obElement = MyModel::likeByType('And')->first(); + $obElement = MyModel::nullType()->get(); + $obElement = MyModel::notNullType()->get(); + +``` \ No newline at end of file diff --git a/plugins/lovata/toolbox/vendor/kharanenka/laravel-scope-type/composer.json b/plugins/lovata/toolbox/vendor/kharanenka/laravel-scope-type/composer.json new file mode 100644 index 000000000..0b1358d52 --- /dev/null +++ b/plugins/lovata/toolbox/vendor/kharanenka/laravel-scope-type/composer.json @@ -0,0 +1,32 @@ +{ + "name": "kharanenka/laravel-scope-type", + "description": "Scope for field 'type' (string)", + "license": "GPL-3.0", + "keywords": [ + "php", + "laravel", + "OctoberCMS", + "model", + "scope", + "type", + "field" + ], + "authors": [ + { + "name": "Andrey Kharanenka", + "email": "kharanenka@gmail.com" + } + ], + "version": "1.0.0", + "require": { + "php": ">=7.0" + }, + "autoload": { + "classmap": [ + "src/Kharanenka/Scope" + ], + "psr-0": { + "Kharanenka\\Scope\\": "src/" + } + } +} \ No newline at end of file diff --git a/plugins/lovata/toolbox/vendor/kharanenka/laravel-scope-type/src/Kharanenka/Scope/TypeField.php b/plugins/lovata/toolbox/vendor/kharanenka/laravel-scope-type/src/Kharanenka/Scope/TypeField.php new file mode 100644 index 000000000..ba4224a58 --- /dev/null +++ b/plugins/lovata/toolbox/vendor/kharanenka/laravel-scope-type/src/Kharanenka/Scope/TypeField.php @@ -0,0 +1,67 @@ +where('type', $sData); + } + + return $obQuery; + } + + /** + * Get element like type value + * @param \Illuminate\Database\Eloquent\Builder|\October\Rain\Database\Builder $obQuery + * @param string $sData + * @return \Illuminate\Database\Eloquent\Builder|\October\Rain\Database\Builder; + */ + public function scopeLikeByType($obQuery, $sData) + { + if(!empty($sData)) { + $obQuery->where('type', 'like', '%'.$sData.'%'); + } + + return $obQuery; + } + + /** + * Get element with empty type + * @param \Illuminate\Database\Eloquent\Builder|\October\Rain\Database\Builder $obQuery + * @return \Illuminate\Database\Eloquent\Builder|\October\Rain\Database\Builder; + */ + public function scopeNullType($obQuery) + { + return $obQuery->whereNull('type'); + } + + /** + * Get element with not empty type + * @param \Illuminate\Database\Eloquent\Builder|\October\Rain\Database\Builder $obQuery + * @return \Illuminate\Database\Eloquent\Builder|\October\Rain\Database\Builder; + */ + public function scopeNotNullType($obQuery) + { + return $obQuery->whereNotNull('type'); + } +} diff --git a/plugins/lovata/toolbox/vendor/kharanenka/laravel-scope-user-belongs-to/.gitignore b/plugins/lovata/toolbox/vendor/kharanenka/laravel-scope-user-belongs-to/.gitignore new file mode 100644 index 000000000..1e06577ef --- /dev/null +++ b/plugins/lovata/toolbox/vendor/kharanenka/laravel-scope-user-belongs-to/.gitignore @@ -0,0 +1,88 @@ +/node_modules +Homestead.yaml + +#site +pdf/ +_backup/ +cgi-bin/ + +*.log +*.bin +*.komodoproject +/.komodotools/ + +# PhpStorm +.idea + +# Eclipse +*.pydevproject +.project +.metadata +bin/** +tmp/** +tmp/**/* +*.tmp +*.bak +*.swp +*~.nib +local.properties +.classpath +.settings/ +.loadpath +.externalToolBuilders/ +*.launch +.cproject +.buildpath + +# SublimeText +/*.sublime-project +*.sublime-workspace + +# NetBeans +nbproject/ +build/ +nbbuild/ +dist/ +nbdist/ +nbactions.xml +nb-configuration.xml + +# Windows system files +$RECYCLE.BIN/ +Thumbs.db +ehthumbs.db +Desktop.ini + +# OSX system files +.DS_store +.AppleDouble +.LSOverride +Icon +._* +.Spotlight-V100 +.Trashes + +# SVN/CVS +.svn +/CVS/* +*/CVS/* +.cvsignore +*/.cvsignore + +# temporary files/folders + +tmp* +~* +*.~* +*.bak +*.swp + +build/ +png/ +psd/ +doc/ +svg/ +vendors/ +pixelPerfect/ +node_modules/ +docs/ \ No newline at end of file diff --git a/plugins/lovata/toolbox/vendor/kharanenka/laravel-scope-user-belongs-to/LICENSE b/plugins/lovata/toolbox/vendor/kharanenka/laravel-scope-user-belongs-to/LICENSE new file mode 100644 index 000000000..9cecc1d46 --- /dev/null +++ b/plugins/lovata/toolbox/vendor/kharanenka/laravel-scope-user-belongs-to/LICENSE @@ -0,0 +1,674 @@ + GNU GENERAL PUBLIC LICENSE + Version 3, 29 June 2007 + + Copyright (C) 2007 Free Software Foundation, Inc. + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + + Preamble + + The GNU General Public License is a free, copyleft license for +software and other kinds of works. + + The licenses for most software and other practical works are designed +to take away your freedom to share and change the works. By contrast, +the GNU General Public License is intended to guarantee your freedom to +share and change all versions of a program--to make sure it remains free +software for all its users. We, the Free Software Foundation, use the +GNU General Public License for most of our software; it applies also to +any other work released this way by its authors. You can apply it to +your programs, too. + + When we speak of free software, we are referring to freedom, not +price. Our General Public Licenses are designed to make sure that you +have the freedom to distribute copies of free software (and charge for +them if you wish), that you receive source code or can get it if you +want it, that you can change the software or use pieces of it in new +free programs, and that you know you can do these things. + + To protect your rights, we need to prevent others from denying you +these rights or asking you to surrender the rights. Therefore, you have +certain responsibilities if you distribute copies of the software, or if +you modify it: responsibilities to respect the freedom of others. + + For example, if you distribute copies of such a program, whether +gratis or for a fee, you must pass on to the recipients the same +freedoms that you received. You must make sure that they, too, receive +or can get the source code. And you must show them these terms so they +know their rights. + + Developers that use the GNU GPL protect your rights with two steps: +(1) assert copyright on the software, and (2) offer you this License +giving you legal permission to copy, distribute and/or modify it. + + For the developers' and authors' protection, the GPL clearly explains +that there is no warranty for this free software. For both users' and +authors' sake, the GPL requires that modified versions be marked as +changed, so that their problems will not be attributed erroneously to +authors of previous versions. + + Some devices are designed to deny users access to install or run +modified versions of the software inside them, although the manufacturer +can do so. This is fundamentally incompatible with the aim of +protecting users' freedom to change the software. The systematic +pattern of such abuse occurs in the area of products for individuals to +use, which is precisely where it is most unacceptable. Therefore, we +have designed this version of the GPL to prohibit the practice for those +products. If such problems arise substantially in other domains, we +stand ready to extend this provision to those domains in future versions +of the GPL, as needed to protect the freedom of users. + + Finally, every program is threatened constantly by software patents. +States should not allow patents to restrict development and use of +software on general-purpose computers, but in those that do, we wish to +avoid the special danger that patents applied to a free program could +make it effectively proprietary. To prevent this, the GPL assures that +patents cannot be used to render the program non-free. + + The precise terms and conditions for copying, distribution and +modification follow. + + TERMS AND CONDITIONS + + 0. Definitions. + + "This License" refers to version 3 of the GNU General Public License. + + "Copyright" also means copyright-like laws that apply to other kinds of +works, such as semiconductor masks. + + "The Program" refers to any copyrightable work licensed under this +License. Each licensee is addressed as "you". "Licensees" and +"recipients" may be individuals or organizations. + + To "modify" a work means to copy from or adapt all or part of the work +in a fashion requiring copyright permission, other than the making of an +exact copy. The resulting work is called a "modified version" of the +earlier work or a work "based on" the earlier work. + + A "covered work" means either the unmodified Program or a work based +on the Program. + + To "propagate" a work means to do anything with it that, without +permission, would make you directly or secondarily liable for +infringement under applicable copyright law, except executing it on a +computer or modifying a private copy. Propagation includes copying, +distribution (with or without modification), making available to the +public, and in some countries other activities as well. + + To "convey" a work means any kind of propagation that enables other +parties to make or receive copies. Mere interaction with a user through +a computer network, with no transfer of a copy, is not conveying. + + An interactive user interface displays "Appropriate Legal Notices" +to the extent that it includes a convenient and prominently visible +feature that (1) displays an appropriate copyright notice, and (2) +tells the user that there is no warranty for the work (except to the +extent that warranties are provided), that licensees may convey the +work under this License, and how to view a copy of this License. If +the interface presents a list of user commands or options, such as a +menu, a prominent item in the list meets this criterion. + + 1. Source Code. + + The "source code" for a work means the preferred form of the work +for making modifications to it. "Object code" means any non-source +form of a work. + + A "Standard Interface" means an interface that either is an official +standard defined by a recognized standards body, or, in the case of +interfaces specified for a particular programming language, one that +is widely used among developers working in that language. + + The "System Libraries" of an executable work include anything, other +than the work as a whole, that (a) is included in the normal form of +packaging a Major Component, but which is not part of that Major +Component, and (b) serves only to enable use of the work with that +Major Component, or to implement a Standard Interface for which an +implementation is available to the public in source code form. A +"Major Component", in this context, means a major essential component +(kernel, window system, and so on) of the specific operating system +(if any) on which the executable work runs, or a compiler used to +produce the work, or an object code interpreter used to run it. + + The "Corresponding Source" for a work in object code form means all +the source code needed to generate, install, and (for an executable +work) run the object code and to modify the work, including scripts to +control those activities. However, it does not include the work's +System Libraries, or general-purpose tools or generally available free +programs which are used unmodified in performing those activities but +which are not part of the work. For example, Corresponding Source +includes interface definition files associated with source files for +the work, and the source code for shared libraries and dynamically +linked subprograms that the work is specifically designed to require, +such as by intimate data communication or control flow between those +subprograms and other parts of the work. + + The Corresponding Source need not include anything that users +can regenerate automatically from other parts of the Corresponding +Source. + + The Corresponding Source for a work in source code form is that +same work. + + 2. Basic Permissions. + + All rights granted under this License are granted for the term of +copyright on the Program, and are irrevocable provided the stated +conditions are met. This License explicitly affirms your unlimited +permission to run the unmodified Program. The output from running a +covered work is covered by this License only if the output, given its +content, constitutes a covered work. This License acknowledges your +rights of fair use or other equivalent, as provided by copyright law. + + You may make, run and propagate covered works that you do not +convey, without conditions so long as your license otherwise remains +in force. You may convey covered works to others for the sole purpose +of having them make modifications exclusively for you, or provide you +with facilities for running those works, provided that you comply with +the terms of this License in conveying all material for which you do +not control copyright. Those thus making or running the covered works +for you must do so exclusively on your behalf, under your direction +and control, on terms that prohibit them from making any copies of +your copyrighted material outside their relationship with you. + + Conveying under any other circumstances is permitted solely under +the conditions stated below. Sublicensing is not allowed; section 10 +makes it unnecessary. + + 3. Protecting Users' Legal Rights From Anti-Circumvention Law. + + No covered work shall be deemed part of an effective technological +measure under any applicable law fulfilling obligations under article +11 of the WIPO copyright treaty adopted on 20 December 1996, or +similar laws prohibiting or restricting circumvention of such +measures. + + When you convey a covered work, you waive any legal power to forbid +circumvention of technological measures to the extent such circumvention +is effected by exercising rights under this License with respect to +the covered work, and you disclaim any intention to limit operation or +modification of the work as a means of enforcing, against the work's +users, your or third parties' legal rights to forbid circumvention of +technological measures. + + 4. Conveying Verbatim Copies. + + You may convey verbatim copies of the Program's source code as you +receive it, in any medium, provided that you conspicuously and +appropriately publish on each copy an appropriate copyright notice; +keep intact all notices stating that this License and any +non-permissive terms added in accord with section 7 apply to the code; +keep intact all notices of the absence of any warranty; and give all +recipients a copy of this License along with the Program. + + You may charge any price or no price for each copy that you convey, +and you may offer support or warranty protection for a fee. + + 5. Conveying Modified Source Versions. + + You may convey a work based on the Program, or the modifications to +produce it from the Program, in the form of source code under the +terms of section 4, provided that you also meet all of these conditions: + + a) The work must carry prominent notices stating that you modified + it, and giving a relevant date. + + b) The work must carry prominent notices stating that it is + released under this License and any conditions added under section + 7. This requirement modifies the requirement in section 4 to + "keep intact all notices". + + c) You must license the entire work, as a whole, under this + License to anyone who comes into possession of a copy. This + License will therefore apply, along with any applicable section 7 + additional terms, to the whole of the work, and all its parts, + regardless of how they are packaged. This License gives no + permission to license the work in any other way, but it does not + invalidate such permission if you have separately received it. + + d) If the work has interactive user interfaces, each must display + Appropriate Legal Notices; however, if the Program has interactive + interfaces that do not display Appropriate Legal Notices, your + work need not make them do so. + + A compilation of a covered work with other separate and independent +works, which are not by their nature extensions of the covered work, +and which are not combined with it such as to form a larger program, +in or on a volume of a storage or distribution medium, is called an +"aggregate" if the compilation and its resulting copyright are not +used to limit the access or legal rights of the compilation's users +beyond what the individual works permit. Inclusion of a covered work +in an aggregate does not cause this License to apply to the other +parts of the aggregate. + + 6. Conveying Non-Source Forms. + + You may convey a covered work in object code form under the terms +of sections 4 and 5, provided that you also convey the +machine-readable Corresponding Source under the terms of this License, +in one of these ways: + + a) Convey the object code in, or embodied in, a physical product + (including a physical distribution medium), accompanied by the + Corresponding Source fixed on a durable physical medium + customarily used for software interchange. + + b) Convey the object code in, or embodied in, a physical product + (including a physical distribution medium), accompanied by a + written offer, valid for at least three years and valid for as + long as you offer spare parts or customer support for that product + model, to give anyone who possesses the object code either (1) a + copy of the Corresponding Source for all the software in the + product that is covered by this License, on a durable physical + medium customarily used for software interchange, for a price no + more than your reasonable cost of physically performing this + conveying of source, or (2) access to copy the + Corresponding Source from a network server at no charge. + + c) Convey individual copies of the object code with a copy of the + written offer to provide the Corresponding Source. This + alternative is allowed only occasionally and noncommercially, and + only if you received the object code with such an offer, in accord + with subsection 6b. + + d) Convey the object code by offering access from a designated + place (gratis or for a charge), and offer equivalent access to the + Corresponding Source in the same way through the same place at no + further charge. You need not require recipients to copy the + Corresponding Source along with the object code. If the place to + copy the object code is a network server, the Corresponding Source + may be on a different server (operated by you or a third party) + that supports equivalent copying facilities, provided you maintain + clear directions next to the object code saying where to find the + Corresponding Source. Regardless of what server hosts the + Corresponding Source, you remain obligated to ensure that it is + available for as long as needed to satisfy these requirements. + + e) Convey the object code using peer-to-peer transmission, provided + you inform other peers where the object code and Corresponding + Source of the work are being offered to the general public at no + charge under subsection 6d. + + A separable portion of the object code, whose source code is excluded +from the Corresponding Source as a System Library, need not be +included in conveying the object code work. + + A "User Product" is either (1) a "consumer product", which means any +tangible personal property which is normally used for personal, family, +or household purposes, or (2) anything designed or sold for incorporation +into a dwelling. In determining whether a product is a consumer product, +doubtful cases shall be resolved in favor of coverage. For a particular +product received by a particular user, "normally used" refers to a +typical or common use of that class of product, regardless of the status +of the particular user or of the way in which the particular user +actually uses, or expects or is expected to use, the product. A product +is a consumer product regardless of whether the product has substantial +commercial, industrial or non-consumer uses, unless such uses represent +the only significant mode of use of the product. + + "Installation Information" for a User Product means any methods, +procedures, authorization keys, or other information required to install +and execute modified versions of a covered work in that User Product from +a modified version of its Corresponding Source. The information must +suffice to ensure that the continued functioning of the modified object +code is in no case prevented or interfered with solely because +modification has been made. + + If you convey an object code work under this section in, or with, or +specifically for use in, a User Product, and the conveying occurs as +part of a transaction in which the right of possession and use of the +User Product is transferred to the recipient in perpetuity or for a +fixed term (regardless of how the transaction is characterized), the +Corresponding Source conveyed under this section must be accompanied +by the Installation Information. But this requirement does not apply +if neither you nor any third party retains the ability to install +modified object code on the User Product (for example, the work has +been installed in ROM). + + The requirement to provide Installation Information does not include a +requirement to continue to provide support service, warranty, or updates +for a work that has been modified or installed by the recipient, or for +the User Product in which it has been modified or installed. Access to a +network may be denied when the modification itself materially and +adversely affects the operation of the network or violates the rules and +protocols for communication across the network. + + Corresponding Source conveyed, and Installation Information provided, +in accord with this section must be in a format that is publicly +documented (and with an implementation available to the public in +source code form), and must require no special password or key for +unpacking, reading or copying. + + 7. Additional Terms. + + "Additional permissions" are terms that supplement the terms of this +License by making exceptions from one or more of its conditions. +Additional permissions that are applicable to the entire Program shall +be treated as though they were included in this License, to the extent +that they are valid under applicable law. If additional permissions +apply only to part of the Program, that part may be used separately +under those permissions, but the entire Program remains governed by +this License without regard to the additional permissions. + + When you convey a copy of a covered work, you may at your option +remove any additional permissions from that copy, or from any part of +it. (Additional permissions may be written to require their own +removal in certain cases when you modify the work.) You may place +additional permissions on material, added by you to a covered work, +for which you have or can give appropriate copyright permission. + + Notwithstanding any other provision of this License, for material you +add to a covered work, you may (if authorized by the copyright holders of +that material) supplement the terms of this License with terms: + + a) Disclaiming warranty or limiting liability differently from the + terms of sections 15 and 16 of this License; or + + b) Requiring preservation of specified reasonable legal notices or + author attributions in that material or in the Appropriate Legal + Notices displayed by works containing it; or + + c) Prohibiting misrepresentation of the origin of that material, or + requiring that modified versions of such material be marked in + reasonable ways as different from the original version; or + + d) Limiting the use for publicity purposes of names of licensors or + authors of the material; or + + e) Declining to grant rights under trademark law for use of some + trade names, trademarks, or service marks; or + + f) Requiring indemnification of licensors and authors of that + material by anyone who conveys the material (or modified versions of + it) with contractual assumptions of liability to the recipient, for + any liability that these contractual assumptions directly impose on + those licensors and authors. + + All other non-permissive additional terms are considered "further +restrictions" within the meaning of section 10. If the Program as you +received it, or any part of it, contains a notice stating that it is +governed by this License along with a term that is a further +restriction, you may remove that term. If a license document contains +a further restriction but permits relicensing or conveying under this +License, you may add to a covered work material governed by the terms +of that license document, provided that the further restriction does +not survive such relicensing or conveying. + + If you add terms to a covered work in accord with this section, you +must place, in the relevant source files, a statement of the +additional terms that apply to those files, or a notice indicating +where to find the applicable terms. + + Additional terms, permissive or non-permissive, may be stated in the +form of a separately written license, or stated as exceptions; +the above requirements apply either way. + + 8. Termination. + + You may not propagate or modify a covered work except as expressly +provided under this License. Any attempt otherwise to propagate or +modify it is void, and will automatically terminate your rights under +this License (including any patent licenses granted under the third +paragraph of section 11). + + However, if you cease all violation of this License, then your +license from a particular copyright holder is reinstated (a) +provisionally, unless and until the copyright holder explicitly and +finally terminates your license, and (b) permanently, if the copyright +holder fails to notify you of the violation by some reasonable means +prior to 60 days after the cessation. + + Moreover, your license from a particular copyright holder is +reinstated permanently if the copyright holder notifies you of the +violation by some reasonable means, this is the first time you have +received notice of violation of this License (for any work) from that +copyright holder, and you cure the violation prior to 30 days after +your receipt of the notice. + + Termination of your rights under this section does not terminate the +licenses of parties who have received copies or rights from you under +this License. If your rights have been terminated and not permanently +reinstated, you do not qualify to receive new licenses for the same +material under section 10. + + 9. Acceptance Not Required for Having Copies. + + You are not required to accept this License in order to receive or +run a copy of the Program. Ancillary propagation of a covered work +occurring solely as a consequence of using peer-to-peer transmission +to receive a copy likewise does not require acceptance. However, +nothing other than this License grants you permission to propagate or +modify any covered work. These actions infringe copyright if you do +not accept this License. Therefore, by modifying or propagating a +covered work, you indicate your acceptance of this License to do so. + + 10. Automatic Licensing of Downstream Recipients. + + Each time you convey a covered work, the recipient automatically +receives a license from the original licensors, to run, modify and +propagate that work, subject to this License. You are not responsible +for enforcing compliance by third parties with this License. + + An "entity transaction" is a transaction transferring control of an +organization, or substantially all assets of one, or subdividing an +organization, or merging organizations. If propagation of a covered +work results from an entity transaction, each party to that +transaction who receives a copy of the work also receives whatever +licenses to the work the party's predecessor in interest had or could +give under the previous paragraph, plus a right to possession of the +Corresponding Source of the work from the predecessor in interest, if +the predecessor has it or can get it with reasonable efforts. + + You may not impose any further restrictions on the exercise of the +rights granted or affirmed under this License. For example, you may +not impose a license fee, royalty, or other charge for exercise of +rights granted under this License, and you may not initiate litigation +(including a cross-claim or counterclaim in a lawsuit) alleging that +any patent claim is infringed by making, using, selling, offering for +sale, or importing the Program or any portion of it. + + 11. Patents. + + A "contributor" is a copyright holder who authorizes use under this +License of the Program or a work on which the Program is based. The +work thus licensed is called the contributor's "contributor version". + + A contributor's "essential patent claims" are all patent claims +owned or controlled by the contributor, whether already acquired or +hereafter acquired, that would be infringed by some manner, permitted +by this License, of making, using, or selling its contributor version, +but do not include claims that would be infringed only as a +consequence of further modification of the contributor version. For +purposes of this definition, "control" includes the right to grant +patent sublicenses in a manner consistent with the requirements of +this License. + + Each contributor grants you a non-exclusive, worldwide, royalty-free +patent license under the contributor's essential patent claims, to +make, use, sell, offer for sale, import and otherwise run, modify and +propagate the contents of its contributor version. + + In the following three paragraphs, a "patent license" is any express +agreement or commitment, however denominated, not to enforce a patent +(such as an express permission to practice a patent or covenant not to +sue for patent infringement). To "grant" such a patent license to a +party means to make such an agreement or commitment not to enforce a +patent against the party. + + If you convey a covered work, knowingly relying on a patent license, +and the Corresponding Source of the work is not available for anyone +to copy, free of charge and under the terms of this License, through a +publicly available network server or other readily accessible means, +then you must either (1) cause the Corresponding Source to be so +available, or (2) arrange to deprive yourself of the benefit of the +patent license for this particular work, or (3) arrange, in a manner +consistent with the requirements of this License, to extend the patent +license to downstream recipients. "Knowingly relying" means you have +actual knowledge that, but for the patent license, your conveying the +covered work in a country, or your recipient's use of the covered work +in a country, would infringe one or more identifiable patents in that +country that you have reason to believe are valid. + + If, pursuant to or in connection with a single transaction or +arrangement, you convey, or propagate by procuring conveyance of, a +covered work, and grant a patent license to some of the parties +receiving the covered work authorizing them to use, propagate, modify +or convey a specific copy of the covered work, then the patent license +you grant is automatically extended to all recipients of the covered +work and works based on it. + + A patent license is "discriminatory" if it does not include within +the scope of its coverage, prohibits the exercise of, or is +conditioned on the non-exercise of one or more of the rights that are +specifically granted under this License. You may not convey a covered +work if you are a party to an arrangement with a third party that is +in the business of distributing software, under which you make payment +to the third party based on the extent of your activity of conveying +the work, and under which the third party grants, to any of the +parties who would receive the covered work from you, a discriminatory +patent license (a) in connection with copies of the covered work +conveyed by you (or copies made from those copies), or (b) primarily +for and in connection with specific products or compilations that +contain the covered work, unless you entered into that arrangement, +or that patent license was granted, prior to 28 March 2007. + + Nothing in this License shall be construed as excluding or limiting +any implied license or other defenses to infringement that may +otherwise be available to you under applicable patent law. + + 12. No Surrender of Others' Freedom. + + If conditions are imposed on you (whether by court order, agreement or +otherwise) that contradict the conditions of this License, they do not +excuse you from the conditions of this License. If you cannot convey a +covered work so as to satisfy simultaneously your obligations under this +License and any other pertinent obligations, then as a consequence you may +not convey it at all. For example, if you agree to terms that obligate you +to collect a royalty for further conveying from those to whom you convey +the Program, the only way you could satisfy both those terms and this +License would be to refrain entirely from conveying the Program. + + 13. Use with the GNU Affero General Public License. + + Notwithstanding any other provision of this License, you have +permission to link or combine any covered work with a work licensed +under version 3 of the GNU Affero General Public License into a single +combined work, and to convey the resulting work. The terms of this +License will continue to apply to the part which is the covered work, +but the special requirements of the GNU Affero General Public License, +section 13, concerning interaction through a network will apply to the +combination as such. + + 14. Revised Versions of this License. + + The Free Software Foundation may publish revised and/or new versions of +the GNU General Public License from time to time. Such new versions will +be similar in spirit to the present version, but may differ in detail to +address new problems or concerns. + + Each version is given a distinguishing version number. If the +Program specifies that a certain numbered version of the GNU General +Public License "or any later version" applies to it, you have the +option of following the terms and conditions either of that numbered +version or of any later version published by the Free Software +Foundation. If the Program does not specify a version number of the +GNU General Public License, you may choose any version ever published +by the Free Software Foundation. + + If the Program specifies that a proxy can decide which future +versions of the GNU General Public License can be used, that proxy's +public statement of acceptance of a version permanently authorizes you +to choose that version for the Program. + + Later license versions may give you additional or different +permissions. However, no additional obligations are imposed on any +author or copyright holder as a result of your choosing to follow a +later version. + + 15. Disclaimer of Warranty. + + THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY +APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT +HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY +OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, +THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR +PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM +IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF +ALL NECESSARY SERVICING, REPAIR OR CORRECTION. + + 16. Limitation of Liability. + + IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING +WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS +THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY +GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE +USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF +DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD +PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), +EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF +SUCH DAMAGES. + + 17. Interpretation of Sections 15 and 16. + + If the disclaimer of warranty and limitation of liability provided +above cannot be given local legal effect according to their terms, +reviewing courts shall apply local law that most closely approximates +an absolute waiver of all civil liability in connection with the +Program, unless a warranty or assumption of liability accompanies a +copy of the Program in return for a fee. + + END OF TERMS AND CONDITIONS + + How to Apply These Terms to Your New Programs + + If you develop a new program, and you want it to be of the greatest +possible use to the public, the best way to achieve this is to make it +free software which everyone can redistribute and change under these terms. + + To do so, attach the following notices to the program. It is safest +to attach them to the start of each source file to most effectively +state the exclusion of warranty; and each file should have at least +the "copyright" line and a pointer to where the full notice is found. + + {one line to give the program's name and a brief idea of what it does.} + Copyright (C) {year} {name of author} + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see . + +Also add information on how to contact you by electronic and paper mail. + + If the program does terminal interaction, make it output a short +notice like this when it starts in an interactive mode: + + {project} Copyright (C) {year} {fullname} + This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'. + This is free software, and you are welcome to redistribute it + under certain conditions; type `show c' for details. + +The hypothetical commands `show w' and `show c' should show the appropriate +parts of the General Public License. Of course, your program's commands +might be different; for a GUI interface, you would use an "about box". + + You should also get your employer (if you work as a programmer) or school, +if any, to sign a "copyright disclaimer" for the program, if necessary. +For more information on this, and how to apply and follow the GNU GPL, see +. + + The GNU General Public License does not permit incorporating your program +into proprietary programs. If your program is a subroutine library, you +may consider it more useful to permit linking proprietary applications with +the library. If this is what you want to do, use the GNU Lesser General +Public License instead of this License. But first, please read +. diff --git a/plugins/lovata/toolbox/vendor/kharanenka/laravel-scope-user-belongs-to/README.md b/plugins/lovata/toolbox/vendor/kharanenka/laravel-scope-user-belongs-to/README.md new file mode 100644 index 000000000..8fe58b15e --- /dev/null +++ b/plugins/lovata/toolbox/vendor/kharanenka/laravel-scope-user-belongs-to/README.md @@ -0,0 +1,28 @@ +# Trait UserBelongsTo + + You can use trait in your models with "user_id" field (int) + +#Installation +Require this package in your `composer.json` and update composer. + +```php + +"kharanenka/laravel-scope-user-belongs-to": "1.0.*" + +``` + +# Usage + +```php + + class MyModel extend Model { + + use Kharanenka\Scope\UserBelongsTo; + + ... + + } + + $obElement = MyModel::getByUser(10)->first(); + +``` \ No newline at end of file diff --git a/plugins/lovata/toolbox/vendor/kharanenka/laravel-scope-user-belongs-to/composer.json b/plugins/lovata/toolbox/vendor/kharanenka/laravel-scope-user-belongs-to/composer.json new file mode 100644 index 000000000..84922e885 --- /dev/null +++ b/plugins/lovata/toolbox/vendor/kharanenka/laravel-scope-user-belongs-to/composer.json @@ -0,0 +1,32 @@ +{ + "name": "kharanenka/laravel-scope-user-belongs-to", + "description": "Scope for field 'user_id' (int)", + "license": "GPL-3.0", + "keywords": [ + "php", + "laravel", + "OctoberCMS", + "model", + "scope", + "user_id", + "field" + ], + "authors": [ + { + "name": "Andrey Kharanenka", + "email": "kharanenka@gmail.com" + } + ], + "version": "1.0.0", + "require": { + "php": ">=5.6" + }, + "autoload": { + "classmap": [ + "src/Kharanenka/Scope" + ], + "psr-0": { + "Kharanenka\\Scope\\": "src/" + } + } +} \ No newline at end of file diff --git a/plugins/lovata/toolbox/vendor/kharanenka/laravel-scope-user-belongs-to/src/Kharanenka/Scope/UserBelongsTo.php b/plugins/lovata/toolbox/vendor/kharanenka/laravel-scope-user-belongs-to/src/Kharanenka/Scope/UserBelongsTo.php new file mode 100644 index 000000000..49bd9247a --- /dev/null +++ b/plugins/lovata/toolbox/vendor/kharanenka/laravel-scope-user-belongs-to/src/Kharanenka/Scope/UserBelongsTo.php @@ -0,0 +1,27 @@ +where('user_id', $sData); + } + + return $obQuery; + } +} \ No newline at end of file diff --git a/plugins/lovata/toolbox/vendor/kharanenka/oc-data-file-model/.gitignore b/plugins/lovata/toolbox/vendor/kharanenka/oc-data-file-model/.gitignore new file mode 100644 index 000000000..1e06577ef --- /dev/null +++ b/plugins/lovata/toolbox/vendor/kharanenka/oc-data-file-model/.gitignore @@ -0,0 +1,88 @@ +/node_modules +Homestead.yaml + +#site +pdf/ +_backup/ +cgi-bin/ + +*.log +*.bin +*.komodoproject +/.komodotools/ + +# PhpStorm +.idea + +# Eclipse +*.pydevproject +.project +.metadata +bin/** +tmp/** +tmp/**/* +*.tmp +*.bak +*.swp +*~.nib +local.properties +.classpath +.settings/ +.loadpath +.externalToolBuilders/ +*.launch +.cproject +.buildpath + +# SublimeText +/*.sublime-project +*.sublime-workspace + +# NetBeans +nbproject/ +build/ +nbbuild/ +dist/ +nbdist/ +nbactions.xml +nb-configuration.xml + +# Windows system files +$RECYCLE.BIN/ +Thumbs.db +ehthumbs.db +Desktop.ini + +# OSX system files +.DS_store +.AppleDouble +.LSOverride +Icon +._* +.Spotlight-V100 +.Trashes + +# SVN/CVS +.svn +/CVS/* +*/CVS/* +.cvsignore +*/.cvsignore + +# temporary files/folders + +tmp* +~* +*.~* +*.bak +*.swp + +build/ +png/ +psd/ +doc/ +svg/ +vendors/ +pixelPerfect/ +node_modules/ +docs/ \ No newline at end of file diff --git a/plugins/lovata/toolbox/vendor/kharanenka/oc-data-file-model/LICENSE b/plugins/lovata/toolbox/vendor/kharanenka/oc-data-file-model/LICENSE new file mode 100644 index 000000000..9cecc1d46 --- /dev/null +++ b/plugins/lovata/toolbox/vendor/kharanenka/oc-data-file-model/LICENSE @@ -0,0 +1,674 @@ + GNU GENERAL PUBLIC LICENSE + Version 3, 29 June 2007 + + Copyright (C) 2007 Free Software Foundation, Inc. + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + + Preamble + + The GNU General Public License is a free, copyleft license for +software and other kinds of works. + + The licenses for most software and other practical works are designed +to take away your freedom to share and change the works. By contrast, +the GNU General Public License is intended to guarantee your freedom to +share and change all versions of a program--to make sure it remains free +software for all its users. We, the Free Software Foundation, use the +GNU General Public License for most of our software; it applies also to +any other work released this way by its authors. You can apply it to +your programs, too. + + When we speak of free software, we are referring to freedom, not +price. Our General Public Licenses are designed to make sure that you +have the freedom to distribute copies of free software (and charge for +them if you wish), that you receive source code or can get it if you +want it, that you can change the software or use pieces of it in new +free programs, and that you know you can do these things. + + To protect your rights, we need to prevent others from denying you +these rights or asking you to surrender the rights. Therefore, you have +certain responsibilities if you distribute copies of the software, or if +you modify it: responsibilities to respect the freedom of others. + + For example, if you distribute copies of such a program, whether +gratis or for a fee, you must pass on to the recipients the same +freedoms that you received. You must make sure that they, too, receive +or can get the source code. And you must show them these terms so they +know their rights. + + Developers that use the GNU GPL protect your rights with two steps: +(1) assert copyright on the software, and (2) offer you this License +giving you legal permission to copy, distribute and/or modify it. + + For the developers' and authors' protection, the GPL clearly explains +that there is no warranty for this free software. For both users' and +authors' sake, the GPL requires that modified versions be marked as +changed, so that their problems will not be attributed erroneously to +authors of previous versions. + + Some devices are designed to deny users access to install or run +modified versions of the software inside them, although the manufacturer +can do so. This is fundamentally incompatible with the aim of +protecting users' freedom to change the software. The systematic +pattern of such abuse occurs in the area of products for individuals to +use, which is precisely where it is most unacceptable. Therefore, we +have designed this version of the GPL to prohibit the practice for those +products. If such problems arise substantially in other domains, we +stand ready to extend this provision to those domains in future versions +of the GPL, as needed to protect the freedom of users. + + Finally, every program is threatened constantly by software patents. +States should not allow patents to restrict development and use of +software on general-purpose computers, but in those that do, we wish to +avoid the special danger that patents applied to a free program could +make it effectively proprietary. To prevent this, the GPL assures that +patents cannot be used to render the program non-free. + + The precise terms and conditions for copying, distribution and +modification follow. + + TERMS AND CONDITIONS + + 0. Definitions. + + "This License" refers to version 3 of the GNU General Public License. + + "Copyright" also means copyright-like laws that apply to other kinds of +works, such as semiconductor masks. + + "The Program" refers to any copyrightable work licensed under this +License. Each licensee is addressed as "you". "Licensees" and +"recipients" may be individuals or organizations. + + To "modify" a work means to copy from or adapt all or part of the work +in a fashion requiring copyright permission, other than the making of an +exact copy. The resulting work is called a "modified version" of the +earlier work or a work "based on" the earlier work. + + A "covered work" means either the unmodified Program or a work based +on the Program. + + To "propagate" a work means to do anything with it that, without +permission, would make you directly or secondarily liable for +infringement under applicable copyright law, except executing it on a +computer or modifying a private copy. Propagation includes copying, +distribution (with or without modification), making available to the +public, and in some countries other activities as well. + + To "convey" a work means any kind of propagation that enables other +parties to make or receive copies. Mere interaction with a user through +a computer network, with no transfer of a copy, is not conveying. + + An interactive user interface displays "Appropriate Legal Notices" +to the extent that it includes a convenient and prominently visible +feature that (1) displays an appropriate copyright notice, and (2) +tells the user that there is no warranty for the work (except to the +extent that warranties are provided), that licensees may convey the +work under this License, and how to view a copy of this License. If +the interface presents a list of user commands or options, such as a +menu, a prominent item in the list meets this criterion. + + 1. Source Code. + + The "source code" for a work means the preferred form of the work +for making modifications to it. "Object code" means any non-source +form of a work. + + A "Standard Interface" means an interface that either is an official +standard defined by a recognized standards body, or, in the case of +interfaces specified for a particular programming language, one that +is widely used among developers working in that language. + + The "System Libraries" of an executable work include anything, other +than the work as a whole, that (a) is included in the normal form of +packaging a Major Component, but which is not part of that Major +Component, and (b) serves only to enable use of the work with that +Major Component, or to implement a Standard Interface for which an +implementation is available to the public in source code form. A +"Major Component", in this context, means a major essential component +(kernel, window system, and so on) of the specific operating system +(if any) on which the executable work runs, or a compiler used to +produce the work, or an object code interpreter used to run it. + + The "Corresponding Source" for a work in object code form means all +the source code needed to generate, install, and (for an executable +work) run the object code and to modify the work, including scripts to +control those activities. However, it does not include the work's +System Libraries, or general-purpose tools or generally available free +programs which are used unmodified in performing those activities but +which are not part of the work. For example, Corresponding Source +includes interface definition files associated with source files for +the work, and the source code for shared libraries and dynamically +linked subprograms that the work is specifically designed to require, +such as by intimate data communication or control flow between those +subprograms and other parts of the work. + + The Corresponding Source need not include anything that users +can regenerate automatically from other parts of the Corresponding +Source. + + The Corresponding Source for a work in source code form is that +same work. + + 2. Basic Permissions. + + All rights granted under this License are granted for the term of +copyright on the Program, and are irrevocable provided the stated +conditions are met. This License explicitly affirms your unlimited +permission to run the unmodified Program. The output from running a +covered work is covered by this License only if the output, given its +content, constitutes a covered work. This License acknowledges your +rights of fair use or other equivalent, as provided by copyright law. + + You may make, run and propagate covered works that you do not +convey, without conditions so long as your license otherwise remains +in force. You may convey covered works to others for the sole purpose +of having them make modifications exclusively for you, or provide you +with facilities for running those works, provided that you comply with +the terms of this License in conveying all material for which you do +not control copyright. Those thus making or running the covered works +for you must do so exclusively on your behalf, under your direction +and control, on terms that prohibit them from making any copies of +your copyrighted material outside their relationship with you. + + Conveying under any other circumstances is permitted solely under +the conditions stated below. Sublicensing is not allowed; section 10 +makes it unnecessary. + + 3. Protecting Users' Legal Rights From Anti-Circumvention Law. + + No covered work shall be deemed part of an effective technological +measure under any applicable law fulfilling obligations under article +11 of the WIPO copyright treaty adopted on 20 December 1996, or +similar laws prohibiting or restricting circumvention of such +measures. + + When you convey a covered work, you waive any legal power to forbid +circumvention of technological measures to the extent such circumvention +is effected by exercising rights under this License with respect to +the covered work, and you disclaim any intention to limit operation or +modification of the work as a means of enforcing, against the work's +users, your or third parties' legal rights to forbid circumvention of +technological measures. + + 4. Conveying Verbatim Copies. + + You may convey verbatim copies of the Program's source code as you +receive it, in any medium, provided that you conspicuously and +appropriately publish on each copy an appropriate copyright notice; +keep intact all notices stating that this License and any +non-permissive terms added in accord with section 7 apply to the code; +keep intact all notices of the absence of any warranty; and give all +recipients a copy of this License along with the Program. + + You may charge any price or no price for each copy that you convey, +and you may offer support or warranty protection for a fee. + + 5. Conveying Modified Source Versions. + + You may convey a work based on the Program, or the modifications to +produce it from the Program, in the form of source code under the +terms of section 4, provided that you also meet all of these conditions: + + a) The work must carry prominent notices stating that you modified + it, and giving a relevant date. + + b) The work must carry prominent notices stating that it is + released under this License and any conditions added under section + 7. This requirement modifies the requirement in section 4 to + "keep intact all notices". + + c) You must license the entire work, as a whole, under this + License to anyone who comes into possession of a copy. This + License will therefore apply, along with any applicable section 7 + additional terms, to the whole of the work, and all its parts, + regardless of how they are packaged. This License gives no + permission to license the work in any other way, but it does not + invalidate such permission if you have separately received it. + + d) If the work has interactive user interfaces, each must display + Appropriate Legal Notices; however, if the Program has interactive + interfaces that do not display Appropriate Legal Notices, your + work need not make them do so. + + A compilation of a covered work with other separate and independent +works, which are not by their nature extensions of the covered work, +and which are not combined with it such as to form a larger program, +in or on a volume of a storage or distribution medium, is called an +"aggregate" if the compilation and its resulting copyright are not +used to limit the access or legal rights of the compilation's users +beyond what the individual works permit. Inclusion of a covered work +in an aggregate does not cause this License to apply to the other +parts of the aggregate. + + 6. Conveying Non-Source Forms. + + You may convey a covered work in object code form under the terms +of sections 4 and 5, provided that you also convey the +machine-readable Corresponding Source under the terms of this License, +in one of these ways: + + a) Convey the object code in, or embodied in, a physical product + (including a physical distribution medium), accompanied by the + Corresponding Source fixed on a durable physical medium + customarily used for software interchange. + + b) Convey the object code in, or embodied in, a physical product + (including a physical distribution medium), accompanied by a + written offer, valid for at least three years and valid for as + long as you offer spare parts or customer support for that product + model, to give anyone who possesses the object code either (1) a + copy of the Corresponding Source for all the software in the + product that is covered by this License, on a durable physical + medium customarily used for software interchange, for a price no + more than your reasonable cost of physically performing this + conveying of source, or (2) access to copy the + Corresponding Source from a network server at no charge. + + c) Convey individual copies of the object code with a copy of the + written offer to provide the Corresponding Source. This + alternative is allowed only occasionally and noncommercially, and + only if you received the object code with such an offer, in accord + with subsection 6b. + + d) Convey the object code by offering access from a designated + place (gratis or for a charge), and offer equivalent access to the + Corresponding Source in the same way through the same place at no + further charge. You need not require recipients to copy the + Corresponding Source along with the object code. If the place to + copy the object code is a network server, the Corresponding Source + may be on a different server (operated by you or a third party) + that supports equivalent copying facilities, provided you maintain + clear directions next to the object code saying where to find the + Corresponding Source. Regardless of what server hosts the + Corresponding Source, you remain obligated to ensure that it is + available for as long as needed to satisfy these requirements. + + e) Convey the object code using peer-to-peer transmission, provided + you inform other peers where the object code and Corresponding + Source of the work are being offered to the general public at no + charge under subsection 6d. + + A separable portion of the object code, whose source code is excluded +from the Corresponding Source as a System Library, need not be +included in conveying the object code work. + + A "User Product" is either (1) a "consumer product", which means any +tangible personal property which is normally used for personal, family, +or household purposes, or (2) anything designed or sold for incorporation +into a dwelling. In determining whether a product is a consumer product, +doubtful cases shall be resolved in favor of coverage. For a particular +product received by a particular user, "normally used" refers to a +typical or common use of that class of product, regardless of the status +of the particular user or of the way in which the particular user +actually uses, or expects or is expected to use, the product. A product +is a consumer product regardless of whether the product has substantial +commercial, industrial or non-consumer uses, unless such uses represent +the only significant mode of use of the product. + + "Installation Information" for a User Product means any methods, +procedures, authorization keys, or other information required to install +and execute modified versions of a covered work in that User Product from +a modified version of its Corresponding Source. The information must +suffice to ensure that the continued functioning of the modified object +code is in no case prevented or interfered with solely because +modification has been made. + + If you convey an object code work under this section in, or with, or +specifically for use in, a User Product, and the conveying occurs as +part of a transaction in which the right of possession and use of the +User Product is transferred to the recipient in perpetuity or for a +fixed term (regardless of how the transaction is characterized), the +Corresponding Source conveyed under this section must be accompanied +by the Installation Information. But this requirement does not apply +if neither you nor any third party retains the ability to install +modified object code on the User Product (for example, the work has +been installed in ROM). + + The requirement to provide Installation Information does not include a +requirement to continue to provide support service, warranty, or updates +for a work that has been modified or installed by the recipient, or for +the User Product in which it has been modified or installed. Access to a +network may be denied when the modification itself materially and +adversely affects the operation of the network or violates the rules and +protocols for communication across the network. + + Corresponding Source conveyed, and Installation Information provided, +in accord with this section must be in a format that is publicly +documented (and with an implementation available to the public in +source code form), and must require no special password or key for +unpacking, reading or copying. + + 7. Additional Terms. + + "Additional permissions" are terms that supplement the terms of this +License by making exceptions from one or more of its conditions. +Additional permissions that are applicable to the entire Program shall +be treated as though they were included in this License, to the extent +that they are valid under applicable law. If additional permissions +apply only to part of the Program, that part may be used separately +under those permissions, but the entire Program remains governed by +this License without regard to the additional permissions. + + When you convey a copy of a covered work, you may at your option +remove any additional permissions from that copy, or from any part of +it. (Additional permissions may be written to require their own +removal in certain cases when you modify the work.) You may place +additional permissions on material, added by you to a covered work, +for which you have or can give appropriate copyright permission. + + Notwithstanding any other provision of this License, for material you +add to a covered work, you may (if authorized by the copyright holders of +that material) supplement the terms of this License with terms: + + a) Disclaiming warranty or limiting liability differently from the + terms of sections 15 and 16 of this License; or + + b) Requiring preservation of specified reasonable legal notices or + author attributions in that material or in the Appropriate Legal + Notices displayed by works containing it; or + + c) Prohibiting misrepresentation of the origin of that material, or + requiring that modified versions of such material be marked in + reasonable ways as different from the original version; or + + d) Limiting the use for publicity purposes of names of licensors or + authors of the material; or + + e) Declining to grant rights under trademark law for use of some + trade names, trademarks, or service marks; or + + f) Requiring indemnification of licensors and authors of that + material by anyone who conveys the material (or modified versions of + it) with contractual assumptions of liability to the recipient, for + any liability that these contractual assumptions directly impose on + those licensors and authors. + + All other non-permissive additional terms are considered "further +restrictions" within the meaning of section 10. If the Program as you +received it, or any part of it, contains a notice stating that it is +governed by this License along with a term that is a further +restriction, you may remove that term. If a license document contains +a further restriction but permits relicensing or conveying under this +License, you may add to a covered work material governed by the terms +of that license document, provided that the further restriction does +not survive such relicensing or conveying. + + If you add terms to a covered work in accord with this section, you +must place, in the relevant source files, a statement of the +additional terms that apply to those files, or a notice indicating +where to find the applicable terms. + + Additional terms, permissive or non-permissive, may be stated in the +form of a separately written license, or stated as exceptions; +the above requirements apply either way. + + 8. Termination. + + You may not propagate or modify a covered work except as expressly +provided under this License. Any attempt otherwise to propagate or +modify it is void, and will automatically terminate your rights under +this License (including any patent licenses granted under the third +paragraph of section 11). + + However, if you cease all violation of this License, then your +license from a particular copyright holder is reinstated (a) +provisionally, unless and until the copyright holder explicitly and +finally terminates your license, and (b) permanently, if the copyright +holder fails to notify you of the violation by some reasonable means +prior to 60 days after the cessation. + + Moreover, your license from a particular copyright holder is +reinstated permanently if the copyright holder notifies you of the +violation by some reasonable means, this is the first time you have +received notice of violation of this License (for any work) from that +copyright holder, and you cure the violation prior to 30 days after +your receipt of the notice. + + Termination of your rights under this section does not terminate the +licenses of parties who have received copies or rights from you under +this License. If your rights have been terminated and not permanently +reinstated, you do not qualify to receive new licenses for the same +material under section 10. + + 9. Acceptance Not Required for Having Copies. + + You are not required to accept this License in order to receive or +run a copy of the Program. Ancillary propagation of a covered work +occurring solely as a consequence of using peer-to-peer transmission +to receive a copy likewise does not require acceptance. However, +nothing other than this License grants you permission to propagate or +modify any covered work. These actions infringe copyright if you do +not accept this License. Therefore, by modifying or propagating a +covered work, you indicate your acceptance of this License to do so. + + 10. Automatic Licensing of Downstream Recipients. + + Each time you convey a covered work, the recipient automatically +receives a license from the original licensors, to run, modify and +propagate that work, subject to this License. You are not responsible +for enforcing compliance by third parties with this License. + + An "entity transaction" is a transaction transferring control of an +organization, or substantially all assets of one, or subdividing an +organization, or merging organizations. If propagation of a covered +work results from an entity transaction, each party to that +transaction who receives a copy of the work also receives whatever +licenses to the work the party's predecessor in interest had or could +give under the previous paragraph, plus a right to possession of the +Corresponding Source of the work from the predecessor in interest, if +the predecessor has it or can get it with reasonable efforts. + + You may not impose any further restrictions on the exercise of the +rights granted or affirmed under this License. For example, you may +not impose a license fee, royalty, or other charge for exercise of +rights granted under this License, and you may not initiate litigation +(including a cross-claim or counterclaim in a lawsuit) alleging that +any patent claim is infringed by making, using, selling, offering for +sale, or importing the Program or any portion of it. + + 11. Patents. + + A "contributor" is a copyright holder who authorizes use under this +License of the Program or a work on which the Program is based. The +work thus licensed is called the contributor's "contributor version". + + A contributor's "essential patent claims" are all patent claims +owned or controlled by the contributor, whether already acquired or +hereafter acquired, that would be infringed by some manner, permitted +by this License, of making, using, or selling its contributor version, +but do not include claims that would be infringed only as a +consequence of further modification of the contributor version. For +purposes of this definition, "control" includes the right to grant +patent sublicenses in a manner consistent with the requirements of +this License. + + Each contributor grants you a non-exclusive, worldwide, royalty-free +patent license under the contributor's essential patent claims, to +make, use, sell, offer for sale, import and otherwise run, modify and +propagate the contents of its contributor version. + + In the following three paragraphs, a "patent license" is any express +agreement or commitment, however denominated, not to enforce a patent +(such as an express permission to practice a patent or covenant not to +sue for patent infringement). To "grant" such a patent license to a +party means to make such an agreement or commitment not to enforce a +patent against the party. + + If you convey a covered work, knowingly relying on a patent license, +and the Corresponding Source of the work is not available for anyone +to copy, free of charge and under the terms of this License, through a +publicly available network server or other readily accessible means, +then you must either (1) cause the Corresponding Source to be so +available, or (2) arrange to deprive yourself of the benefit of the +patent license for this particular work, or (3) arrange, in a manner +consistent with the requirements of this License, to extend the patent +license to downstream recipients. "Knowingly relying" means you have +actual knowledge that, but for the patent license, your conveying the +covered work in a country, or your recipient's use of the covered work +in a country, would infringe one or more identifiable patents in that +country that you have reason to believe are valid. + + If, pursuant to or in connection with a single transaction or +arrangement, you convey, or propagate by procuring conveyance of, a +covered work, and grant a patent license to some of the parties +receiving the covered work authorizing them to use, propagate, modify +or convey a specific copy of the covered work, then the patent license +you grant is automatically extended to all recipients of the covered +work and works based on it. + + A patent license is "discriminatory" if it does not include within +the scope of its coverage, prohibits the exercise of, or is +conditioned on the non-exercise of one or more of the rights that are +specifically granted under this License. You may not convey a covered +work if you are a party to an arrangement with a third party that is +in the business of distributing software, under which you make payment +to the third party based on the extent of your activity of conveying +the work, and under which the third party grants, to any of the +parties who would receive the covered work from you, a discriminatory +patent license (a) in connection with copies of the covered work +conveyed by you (or copies made from those copies), or (b) primarily +for and in connection with specific products or compilations that +contain the covered work, unless you entered into that arrangement, +or that patent license was granted, prior to 28 March 2007. + + Nothing in this License shall be construed as excluding or limiting +any implied license or other defenses to infringement that may +otherwise be available to you under applicable patent law. + + 12. No Surrender of Others' Freedom. + + If conditions are imposed on you (whether by court order, agreement or +otherwise) that contradict the conditions of this License, they do not +excuse you from the conditions of this License. If you cannot convey a +covered work so as to satisfy simultaneously your obligations under this +License and any other pertinent obligations, then as a consequence you may +not convey it at all. For example, if you agree to terms that obligate you +to collect a royalty for further conveying from those to whom you convey +the Program, the only way you could satisfy both those terms and this +License would be to refrain entirely from conveying the Program. + + 13. Use with the GNU Affero General Public License. + + Notwithstanding any other provision of this License, you have +permission to link or combine any covered work with a work licensed +under version 3 of the GNU Affero General Public License into a single +combined work, and to convey the resulting work. The terms of this +License will continue to apply to the part which is the covered work, +but the special requirements of the GNU Affero General Public License, +section 13, concerning interaction through a network will apply to the +combination as such. + + 14. Revised Versions of this License. + + The Free Software Foundation may publish revised and/or new versions of +the GNU General Public License from time to time. Such new versions will +be similar in spirit to the present version, but may differ in detail to +address new problems or concerns. + + Each version is given a distinguishing version number. If the +Program specifies that a certain numbered version of the GNU General +Public License "or any later version" applies to it, you have the +option of following the terms and conditions either of that numbered +version or of any later version published by the Free Software +Foundation. If the Program does not specify a version number of the +GNU General Public License, you may choose any version ever published +by the Free Software Foundation. + + If the Program specifies that a proxy can decide which future +versions of the GNU General Public License can be used, that proxy's +public statement of acceptance of a version permanently authorizes you +to choose that version for the Program. + + Later license versions may give you additional or different +permissions. However, no additional obligations are imposed on any +author or copyright holder as a result of your choosing to follow a +later version. + + 15. Disclaimer of Warranty. + + THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY +APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT +HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY +OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, +THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR +PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM +IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF +ALL NECESSARY SERVICING, REPAIR OR CORRECTION. + + 16. Limitation of Liability. + + IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING +WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS +THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY +GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE +USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF +DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD +PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), +EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF +SUCH DAMAGES. + + 17. Interpretation of Sections 15 and 16. + + If the disclaimer of warranty and limitation of liability provided +above cannot be given local legal effect according to their terms, +reviewing courts shall apply local law that most closely approximates +an absolute waiver of all civil liability in connection with the +Program, unless a warranty or assumption of liability accompanies a +copy of the Program in return for a fee. + + END OF TERMS AND CONDITIONS + + How to Apply These Terms to Your New Programs + + If you develop a new program, and you want it to be of the greatest +possible use to the public, the best way to achieve this is to make it +free software which everyone can redistribute and change under these terms. + + To do so, attach the following notices to the program. It is safest +to attach them to the start of each source file to most effectively +state the exclusion of warranty; and each file should have at least +the "copyright" line and a pointer to where the full notice is found. + + {one line to give the program's name and a brief idea of what it does.} + Copyright (C) {year} {name of author} + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see . + +Also add information on how to contact you by electronic and paper mail. + + If the program does terminal interaction, make it output a short +notice like this when it starts in an interactive mode: + + {project} Copyright (C) {year} {fullname} + This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'. + This is free software, and you are welcome to redistribute it + under certain conditions; type `show c' for details. + +The hypothetical commands `show w' and `show c' should show the appropriate +parts of the General Public License. Of course, your program's commands +might be different; for a GUI interface, you would use an "about box". + + You should also get your employer (if you work as a programmer) or school, +if any, to sign a "copyright disclaimer" for the program, if necessary. +For more information on this, and how to apply and follow the GNU GPL, see +. + + The GNU General Public License does not permit incorporating your program +into proprietary programs. If your program is a subroutine library, you +may consider it more useful to permit linking proprietary applications with +the library. If this is what you want to do, use the GNU Lesser General +Public License instead of this License. But first, please read +. diff --git a/plugins/lovata/toolbox/vendor/kharanenka/oc-data-file-model/README.md b/plugins/lovata/toolbox/vendor/kharanenka/oc-data-file-model/README.md new file mode 100644 index 000000000..72212da1f --- /dev/null +++ b/plugins/lovata/toolbox/vendor/kharanenka/oc-data-file-model/README.md @@ -0,0 +1,12 @@ +# Trait DataFileModel + + Trait helps to get attached to the model file data + +#Installation +Require this package in your `composer.json` and update composer. + +```php + +"kharanenka/oc-data-file-model": "1.*" + +``` \ No newline at end of file diff --git a/plugins/lovata/toolbox/vendor/kharanenka/oc-data-file-model/composer.json b/plugins/lovata/toolbox/vendor/kharanenka/oc-data-file-model/composer.json new file mode 100644 index 000000000..0a1c1e539 --- /dev/null +++ b/plugins/lovata/toolbox/vendor/kharanenka/oc-data-file-model/composer.json @@ -0,0 +1,30 @@ +{ + "name": "kharanenka/oc-data-file-model", + "description": "Trait helps to get attached to the model file data", + "license": "GPL-3.0", + "keywords": [ + "php", + "OctoberCMS", + "model", + "file", + "attache" + ], + "authors": [ + { + "name": "Andrey Kharanenka", + "email": "kharanenka@gmail.com" + } + ], + "version": "1.1.0", + "require": { + "php": ">=5.6" + }, + "autoload": { + "classmap": [ + "src/Kharanenka/Helper" + ], + "psr-0": { + "Kharanenka\\Helper\\": "src/" + } + } +} \ No newline at end of file diff --git a/plugins/lovata/toolbox/vendor/kharanenka/oc-data-file-model/src/Kharanenka/Helper/DataFileModel.php b/plugins/lovata/toolbox/vendor/kharanenka/oc-data-file-model/src/Kharanenka/Helper/DataFileModel.php new file mode 100644 index 000000000..a4dd2a9d5 --- /dev/null +++ b/plugins/lovata/toolbox/vendor/kharanenka/oc-data-file-model/src/Kharanenka/Helper/DataFileModel.php @@ -0,0 +1,84 @@ +$sFieldName; + if(empty($obFile) || !$obFile instanceof File) { + return null; + } + + return $this->getFileDataValue($obFile); + } + + /** + * Get file data value + * @param File $obFile + * @return array|null + */ + protected function getFileDataValue($obFile) { + + if(empty($obFile) || !$obFile instanceof File) { + return null; + } + + $sUploadFolder = Config::get('cms.storage.uploads.path', '/storage/app/uploads'); + + return [ + 'full_path' => $obFile->getPath(), + 'path' => $sUploadFolder . str_replace('uploads', '', $obFile->getDiskPath()), + 'title' => $obFile->getAttribute('title'), + 'alt' => $obFile->getAttribute('description'), + ]; + } + + /** + * Get file list data + * @param $sFieldName + * @return array + */ + public function getFileListData($sFieldName) { + + if(empty($sFieldName)) { + return []; + } + + /** @var Collection $obFileList */ + $obFileList = $this->$sFieldName; + if($obFileList->isEmpty()) { + return []; + } + + $arResult = []; + /** @var File $obFile */ + foreach($obFileList as $obFile) { + if(empty($obFile) || !$obFile instanceof File) { + continue; + } + + $arResult[] = $this->getFileDataValue($obFile); + } + + return $arResult; + } +} \ No newline at end of file diff --git a/plugins/lovata/toolbox/vendor/kharanenka/oc-pagination/.gitignore b/plugins/lovata/toolbox/vendor/kharanenka/oc-pagination/.gitignore new file mode 100644 index 000000000..1e06577ef --- /dev/null +++ b/plugins/lovata/toolbox/vendor/kharanenka/oc-pagination/.gitignore @@ -0,0 +1,88 @@ +/node_modules +Homestead.yaml + +#site +pdf/ +_backup/ +cgi-bin/ + +*.log +*.bin +*.komodoproject +/.komodotools/ + +# PhpStorm +.idea + +# Eclipse +*.pydevproject +.project +.metadata +bin/** +tmp/** +tmp/**/* +*.tmp +*.bak +*.swp +*~.nib +local.properties +.classpath +.settings/ +.loadpath +.externalToolBuilders/ +*.launch +.cproject +.buildpath + +# SublimeText +/*.sublime-project +*.sublime-workspace + +# NetBeans +nbproject/ +build/ +nbbuild/ +dist/ +nbdist/ +nbactions.xml +nb-configuration.xml + +# Windows system files +$RECYCLE.BIN/ +Thumbs.db +ehthumbs.db +Desktop.ini + +# OSX system files +.DS_store +.AppleDouble +.LSOverride +Icon +._* +.Spotlight-V100 +.Trashes + +# SVN/CVS +.svn +/CVS/* +*/CVS/* +.cvsignore +*/.cvsignore + +# temporary files/folders + +tmp* +~* +*.~* +*.bak +*.swp + +build/ +png/ +psd/ +doc/ +svg/ +vendors/ +pixelPerfect/ +node_modules/ +docs/ \ No newline at end of file diff --git a/plugins/lovata/toolbox/vendor/kharanenka/oc-pagination/LICENSE b/plugins/lovata/toolbox/vendor/kharanenka/oc-pagination/LICENSE new file mode 100644 index 000000000..9cecc1d46 --- /dev/null +++ b/plugins/lovata/toolbox/vendor/kharanenka/oc-pagination/LICENSE @@ -0,0 +1,674 @@ + GNU GENERAL PUBLIC LICENSE + Version 3, 29 June 2007 + + Copyright (C) 2007 Free Software Foundation, Inc. + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + + Preamble + + The GNU General Public License is a free, copyleft license for +software and other kinds of works. + + The licenses for most software and other practical works are designed +to take away your freedom to share and change the works. By contrast, +the GNU General Public License is intended to guarantee your freedom to +share and change all versions of a program--to make sure it remains free +software for all its users. We, the Free Software Foundation, use the +GNU General Public License for most of our software; it applies also to +any other work released this way by its authors. You can apply it to +your programs, too. + + When we speak of free software, we are referring to freedom, not +price. Our General Public Licenses are designed to make sure that you +have the freedom to distribute copies of free software (and charge for +them if you wish), that you receive source code or can get it if you +want it, that you can change the software or use pieces of it in new +free programs, and that you know you can do these things. + + To protect your rights, we need to prevent others from denying you +these rights or asking you to surrender the rights. Therefore, you have +certain responsibilities if you distribute copies of the software, or if +you modify it: responsibilities to respect the freedom of others. + + For example, if you distribute copies of such a program, whether +gratis or for a fee, you must pass on to the recipients the same +freedoms that you received. You must make sure that they, too, receive +or can get the source code. And you must show them these terms so they +know their rights. + + Developers that use the GNU GPL protect your rights with two steps: +(1) assert copyright on the software, and (2) offer you this License +giving you legal permission to copy, distribute and/or modify it. + + For the developers' and authors' protection, the GPL clearly explains +that there is no warranty for this free software. For both users' and +authors' sake, the GPL requires that modified versions be marked as +changed, so that their problems will not be attributed erroneously to +authors of previous versions. + + Some devices are designed to deny users access to install or run +modified versions of the software inside them, although the manufacturer +can do so. This is fundamentally incompatible with the aim of +protecting users' freedom to change the software. The systematic +pattern of such abuse occurs in the area of products for individuals to +use, which is precisely where it is most unacceptable. Therefore, we +have designed this version of the GPL to prohibit the practice for those +products. If such problems arise substantially in other domains, we +stand ready to extend this provision to those domains in future versions +of the GPL, as needed to protect the freedom of users. + + Finally, every program is threatened constantly by software patents. +States should not allow patents to restrict development and use of +software on general-purpose computers, but in those that do, we wish to +avoid the special danger that patents applied to a free program could +make it effectively proprietary. To prevent this, the GPL assures that +patents cannot be used to render the program non-free. + + The precise terms and conditions for copying, distribution and +modification follow. + + TERMS AND CONDITIONS + + 0. Definitions. + + "This License" refers to version 3 of the GNU General Public License. + + "Copyright" also means copyright-like laws that apply to other kinds of +works, such as semiconductor masks. + + "The Program" refers to any copyrightable work licensed under this +License. Each licensee is addressed as "you". "Licensees" and +"recipients" may be individuals or organizations. + + To "modify" a work means to copy from or adapt all or part of the work +in a fashion requiring copyright permission, other than the making of an +exact copy. The resulting work is called a "modified version" of the +earlier work or a work "based on" the earlier work. + + A "covered work" means either the unmodified Program or a work based +on the Program. + + To "propagate" a work means to do anything with it that, without +permission, would make you directly or secondarily liable for +infringement under applicable copyright law, except executing it on a +computer or modifying a private copy. Propagation includes copying, +distribution (with or without modification), making available to the +public, and in some countries other activities as well. + + To "convey" a work means any kind of propagation that enables other +parties to make or receive copies. Mere interaction with a user through +a computer network, with no transfer of a copy, is not conveying. + + An interactive user interface displays "Appropriate Legal Notices" +to the extent that it includes a convenient and prominently visible +feature that (1) displays an appropriate copyright notice, and (2) +tells the user that there is no warranty for the work (except to the +extent that warranties are provided), that licensees may convey the +work under this License, and how to view a copy of this License. If +the interface presents a list of user commands or options, such as a +menu, a prominent item in the list meets this criterion. + + 1. Source Code. + + The "source code" for a work means the preferred form of the work +for making modifications to it. "Object code" means any non-source +form of a work. + + A "Standard Interface" means an interface that either is an official +standard defined by a recognized standards body, or, in the case of +interfaces specified for a particular programming language, one that +is widely used among developers working in that language. + + The "System Libraries" of an executable work include anything, other +than the work as a whole, that (a) is included in the normal form of +packaging a Major Component, but which is not part of that Major +Component, and (b) serves only to enable use of the work with that +Major Component, or to implement a Standard Interface for which an +implementation is available to the public in source code form. A +"Major Component", in this context, means a major essential component +(kernel, window system, and so on) of the specific operating system +(if any) on which the executable work runs, or a compiler used to +produce the work, or an object code interpreter used to run it. + + The "Corresponding Source" for a work in object code form means all +the source code needed to generate, install, and (for an executable +work) run the object code and to modify the work, including scripts to +control those activities. However, it does not include the work's +System Libraries, or general-purpose tools or generally available free +programs which are used unmodified in performing those activities but +which are not part of the work. For example, Corresponding Source +includes interface definition files associated with source files for +the work, and the source code for shared libraries and dynamically +linked subprograms that the work is specifically designed to require, +such as by intimate data communication or control flow between those +subprograms and other parts of the work. + + The Corresponding Source need not include anything that users +can regenerate automatically from other parts of the Corresponding +Source. + + The Corresponding Source for a work in source code form is that +same work. + + 2. Basic Permissions. + + All rights granted under this License are granted for the term of +copyright on the Program, and are irrevocable provided the stated +conditions are met. This License explicitly affirms your unlimited +permission to run the unmodified Program. The output from running a +covered work is covered by this License only if the output, given its +content, constitutes a covered work. This License acknowledges your +rights of fair use or other equivalent, as provided by copyright law. + + You may make, run and propagate covered works that you do not +convey, without conditions so long as your license otherwise remains +in force. You may convey covered works to others for the sole purpose +of having them make modifications exclusively for you, or provide you +with facilities for running those works, provided that you comply with +the terms of this License in conveying all material for which you do +not control copyright. Those thus making or running the covered works +for you must do so exclusively on your behalf, under your direction +and control, on terms that prohibit them from making any copies of +your copyrighted material outside their relationship with you. + + Conveying under any other circumstances is permitted solely under +the conditions stated below. Sublicensing is not allowed; section 10 +makes it unnecessary. + + 3. Protecting Users' Legal Rights From Anti-Circumvention Law. + + No covered work shall be deemed part of an effective technological +measure under any applicable law fulfilling obligations under article +11 of the WIPO copyright treaty adopted on 20 December 1996, or +similar laws prohibiting or restricting circumvention of such +measures. + + When you convey a covered work, you waive any legal power to forbid +circumvention of technological measures to the extent such circumvention +is effected by exercising rights under this License with respect to +the covered work, and you disclaim any intention to limit operation or +modification of the work as a means of enforcing, against the work's +users, your or third parties' legal rights to forbid circumvention of +technological measures. + + 4. Conveying Verbatim Copies. + + You may convey verbatim copies of the Program's source code as you +receive it, in any medium, provided that you conspicuously and +appropriately publish on each copy an appropriate copyright notice; +keep intact all notices stating that this License and any +non-permissive terms added in accord with section 7 apply to the code; +keep intact all notices of the absence of any warranty; and give all +recipients a copy of this License along with the Program. + + You may charge any price or no price for each copy that you convey, +and you may offer support or warranty protection for a fee. + + 5. Conveying Modified Source Versions. + + You may convey a work based on the Program, or the modifications to +produce it from the Program, in the form of source code under the +terms of section 4, provided that you also meet all of these conditions: + + a) The work must carry prominent notices stating that you modified + it, and giving a relevant date. + + b) The work must carry prominent notices stating that it is + released under this License and any conditions added under section + 7. This requirement modifies the requirement in section 4 to + "keep intact all notices". + + c) You must license the entire work, as a whole, under this + License to anyone who comes into possession of a copy. This + License will therefore apply, along with any applicable section 7 + additional terms, to the whole of the work, and all its parts, + regardless of how they are packaged. This License gives no + permission to license the work in any other way, but it does not + invalidate such permission if you have separately received it. + + d) If the work has interactive user interfaces, each must display + Appropriate Legal Notices; however, if the Program has interactive + interfaces that do not display Appropriate Legal Notices, your + work need not make them do so. + + A compilation of a covered work with other separate and independent +works, which are not by their nature extensions of the covered work, +and which are not combined with it such as to form a larger program, +in or on a volume of a storage or distribution medium, is called an +"aggregate" if the compilation and its resulting copyright are not +used to limit the access or legal rights of the compilation's users +beyond what the individual works permit. Inclusion of a covered work +in an aggregate does not cause this License to apply to the other +parts of the aggregate. + + 6. Conveying Non-Source Forms. + + You may convey a covered work in object code form under the terms +of sections 4 and 5, provided that you also convey the +machine-readable Corresponding Source under the terms of this License, +in one of these ways: + + a) Convey the object code in, or embodied in, a physical product + (including a physical distribution medium), accompanied by the + Corresponding Source fixed on a durable physical medium + customarily used for software interchange. + + b) Convey the object code in, or embodied in, a physical product + (including a physical distribution medium), accompanied by a + written offer, valid for at least three years and valid for as + long as you offer spare parts or customer support for that product + model, to give anyone who possesses the object code either (1) a + copy of the Corresponding Source for all the software in the + product that is covered by this License, on a durable physical + medium customarily used for software interchange, for a price no + more than your reasonable cost of physically performing this + conveying of source, or (2) access to copy the + Corresponding Source from a network server at no charge. + + c) Convey individual copies of the object code with a copy of the + written offer to provide the Corresponding Source. This + alternative is allowed only occasionally and noncommercially, and + only if you received the object code with such an offer, in accord + with subsection 6b. + + d) Convey the object code by offering access from a designated + place (gratis or for a charge), and offer equivalent access to the + Corresponding Source in the same way through the same place at no + further charge. You need not require recipients to copy the + Corresponding Source along with the object code. If the place to + copy the object code is a network server, the Corresponding Source + may be on a different server (operated by you or a third party) + that supports equivalent copying facilities, provided you maintain + clear directions next to the object code saying where to find the + Corresponding Source. Regardless of what server hosts the + Corresponding Source, you remain obligated to ensure that it is + available for as long as needed to satisfy these requirements. + + e) Convey the object code using peer-to-peer transmission, provided + you inform other peers where the object code and Corresponding + Source of the work are being offered to the general public at no + charge under subsection 6d. + + A separable portion of the object code, whose source code is excluded +from the Corresponding Source as a System Library, need not be +included in conveying the object code work. + + A "User Product" is either (1) a "consumer product", which means any +tangible personal property which is normally used for personal, family, +or household purposes, or (2) anything designed or sold for incorporation +into a dwelling. In determining whether a product is a consumer product, +doubtful cases shall be resolved in favor of coverage. For a particular +product received by a particular user, "normally used" refers to a +typical or common use of that class of product, regardless of the status +of the particular user or of the way in which the particular user +actually uses, or expects or is expected to use, the product. A product +is a consumer product regardless of whether the product has substantial +commercial, industrial or non-consumer uses, unless such uses represent +the only significant mode of use of the product. + + "Installation Information" for a User Product means any methods, +procedures, authorization keys, or other information required to install +and execute modified versions of a covered work in that User Product from +a modified version of its Corresponding Source. The information must +suffice to ensure that the continued functioning of the modified object +code is in no case prevented or interfered with solely because +modification has been made. + + If you convey an object code work under this section in, or with, or +specifically for use in, a User Product, and the conveying occurs as +part of a transaction in which the right of possession and use of the +User Product is transferred to the recipient in perpetuity or for a +fixed term (regardless of how the transaction is characterized), the +Corresponding Source conveyed under this section must be accompanied +by the Installation Information. But this requirement does not apply +if neither you nor any third party retains the ability to install +modified object code on the User Product (for example, the work has +been installed in ROM). + + The requirement to provide Installation Information does not include a +requirement to continue to provide support service, warranty, or updates +for a work that has been modified or installed by the recipient, or for +the User Product in which it has been modified or installed. Access to a +network may be denied when the modification itself materially and +adversely affects the operation of the network or violates the rules and +protocols for communication across the network. + + Corresponding Source conveyed, and Installation Information provided, +in accord with this section must be in a format that is publicly +documented (and with an implementation available to the public in +source code form), and must require no special password or key for +unpacking, reading or copying. + + 7. Additional Terms. + + "Additional permissions" are terms that supplement the terms of this +License by making exceptions from one or more of its conditions. +Additional permissions that are applicable to the entire Program shall +be treated as though they were included in this License, to the extent +that they are valid under applicable law. If additional permissions +apply only to part of the Program, that part may be used separately +under those permissions, but the entire Program remains governed by +this License without regard to the additional permissions. + + When you convey a copy of a covered work, you may at your option +remove any additional permissions from that copy, or from any part of +it. (Additional permissions may be written to require their own +removal in certain cases when you modify the work.) You may place +additional permissions on material, added by you to a covered work, +for which you have or can give appropriate copyright permission. + + Notwithstanding any other provision of this License, for material you +add to a covered work, you may (if authorized by the copyright holders of +that material) supplement the terms of this License with terms: + + a) Disclaiming warranty or limiting liability differently from the + terms of sections 15 and 16 of this License; or + + b) Requiring preservation of specified reasonable legal notices or + author attributions in that material or in the Appropriate Legal + Notices displayed by works containing it; or + + c) Prohibiting misrepresentation of the origin of that material, or + requiring that modified versions of such material be marked in + reasonable ways as different from the original version; or + + d) Limiting the use for publicity purposes of names of licensors or + authors of the material; or + + e) Declining to grant rights under trademark law for use of some + trade names, trademarks, or service marks; or + + f) Requiring indemnification of licensors and authors of that + material by anyone who conveys the material (or modified versions of + it) with contractual assumptions of liability to the recipient, for + any liability that these contractual assumptions directly impose on + those licensors and authors. + + All other non-permissive additional terms are considered "further +restrictions" within the meaning of section 10. If the Program as you +received it, or any part of it, contains a notice stating that it is +governed by this License along with a term that is a further +restriction, you may remove that term. If a license document contains +a further restriction but permits relicensing or conveying under this +License, you may add to a covered work material governed by the terms +of that license document, provided that the further restriction does +not survive such relicensing or conveying. + + If you add terms to a covered work in accord with this section, you +must place, in the relevant source files, a statement of the +additional terms that apply to those files, or a notice indicating +where to find the applicable terms. + + Additional terms, permissive or non-permissive, may be stated in the +form of a separately written license, or stated as exceptions; +the above requirements apply either way. + + 8. Termination. + + You may not propagate or modify a covered work except as expressly +provided under this License. Any attempt otherwise to propagate or +modify it is void, and will automatically terminate your rights under +this License (including any patent licenses granted under the third +paragraph of section 11). + + However, if you cease all violation of this License, then your +license from a particular copyright holder is reinstated (a) +provisionally, unless and until the copyright holder explicitly and +finally terminates your license, and (b) permanently, if the copyright +holder fails to notify you of the violation by some reasonable means +prior to 60 days after the cessation. + + Moreover, your license from a particular copyright holder is +reinstated permanently if the copyright holder notifies you of the +violation by some reasonable means, this is the first time you have +received notice of violation of this License (for any work) from that +copyright holder, and you cure the violation prior to 30 days after +your receipt of the notice. + + Termination of your rights under this section does not terminate the +licenses of parties who have received copies or rights from you under +this License. If your rights have been terminated and not permanently +reinstated, you do not qualify to receive new licenses for the same +material under section 10. + + 9. Acceptance Not Required for Having Copies. + + You are not required to accept this License in order to receive or +run a copy of the Program. Ancillary propagation of a covered work +occurring solely as a consequence of using peer-to-peer transmission +to receive a copy likewise does not require acceptance. However, +nothing other than this License grants you permission to propagate or +modify any covered work. These actions infringe copyright if you do +not accept this License. Therefore, by modifying or propagating a +covered work, you indicate your acceptance of this License to do so. + + 10. Automatic Licensing of Downstream Recipients. + + Each time you convey a covered work, the recipient automatically +receives a license from the original licensors, to run, modify and +propagate that work, subject to this License. You are not responsible +for enforcing compliance by third parties with this License. + + An "entity transaction" is a transaction transferring control of an +organization, or substantially all assets of one, or subdividing an +organization, or merging organizations. If propagation of a covered +work results from an entity transaction, each party to that +transaction who receives a copy of the work also receives whatever +licenses to the work the party's predecessor in interest had or could +give under the previous paragraph, plus a right to possession of the +Corresponding Source of the work from the predecessor in interest, if +the predecessor has it or can get it with reasonable efforts. + + You may not impose any further restrictions on the exercise of the +rights granted or affirmed under this License. For example, you may +not impose a license fee, royalty, or other charge for exercise of +rights granted under this License, and you may not initiate litigation +(including a cross-claim or counterclaim in a lawsuit) alleging that +any patent claim is infringed by making, using, selling, offering for +sale, or importing the Program or any portion of it. + + 11. Patents. + + A "contributor" is a copyright holder who authorizes use under this +License of the Program or a work on which the Program is based. The +work thus licensed is called the contributor's "contributor version". + + A contributor's "essential patent claims" are all patent claims +owned or controlled by the contributor, whether already acquired or +hereafter acquired, that would be infringed by some manner, permitted +by this License, of making, using, or selling its contributor version, +but do not include claims that would be infringed only as a +consequence of further modification of the contributor version. For +purposes of this definition, "control" includes the right to grant +patent sublicenses in a manner consistent with the requirements of +this License. + + Each contributor grants you a non-exclusive, worldwide, royalty-free +patent license under the contributor's essential patent claims, to +make, use, sell, offer for sale, import and otherwise run, modify and +propagate the contents of its contributor version. + + In the following three paragraphs, a "patent license" is any express +agreement or commitment, however denominated, not to enforce a patent +(such as an express permission to practice a patent or covenant not to +sue for patent infringement). To "grant" such a patent license to a +party means to make such an agreement or commitment not to enforce a +patent against the party. + + If you convey a covered work, knowingly relying on a patent license, +and the Corresponding Source of the work is not available for anyone +to copy, free of charge and under the terms of this License, through a +publicly available network server or other readily accessible means, +then you must either (1) cause the Corresponding Source to be so +available, or (2) arrange to deprive yourself of the benefit of the +patent license for this particular work, or (3) arrange, in a manner +consistent with the requirements of this License, to extend the patent +license to downstream recipients. "Knowingly relying" means you have +actual knowledge that, but for the patent license, your conveying the +covered work in a country, or your recipient's use of the covered work +in a country, would infringe one or more identifiable patents in that +country that you have reason to believe are valid. + + If, pursuant to or in connection with a single transaction or +arrangement, you convey, or propagate by procuring conveyance of, a +covered work, and grant a patent license to some of the parties +receiving the covered work authorizing them to use, propagate, modify +or convey a specific copy of the covered work, then the patent license +you grant is automatically extended to all recipients of the covered +work and works based on it. + + A patent license is "discriminatory" if it does not include within +the scope of its coverage, prohibits the exercise of, or is +conditioned on the non-exercise of one or more of the rights that are +specifically granted under this License. You may not convey a covered +work if you are a party to an arrangement with a third party that is +in the business of distributing software, under which you make payment +to the third party based on the extent of your activity of conveying +the work, and under which the third party grants, to any of the +parties who would receive the covered work from you, a discriminatory +patent license (a) in connection with copies of the covered work +conveyed by you (or copies made from those copies), or (b) primarily +for and in connection with specific products or compilations that +contain the covered work, unless you entered into that arrangement, +or that patent license was granted, prior to 28 March 2007. + + Nothing in this License shall be construed as excluding or limiting +any implied license or other defenses to infringement that may +otherwise be available to you under applicable patent law. + + 12. No Surrender of Others' Freedom. + + If conditions are imposed on you (whether by court order, agreement or +otherwise) that contradict the conditions of this License, they do not +excuse you from the conditions of this License. If you cannot convey a +covered work so as to satisfy simultaneously your obligations under this +License and any other pertinent obligations, then as a consequence you may +not convey it at all. For example, if you agree to terms that obligate you +to collect a royalty for further conveying from those to whom you convey +the Program, the only way you could satisfy both those terms and this +License would be to refrain entirely from conveying the Program. + + 13. Use with the GNU Affero General Public License. + + Notwithstanding any other provision of this License, you have +permission to link or combine any covered work with a work licensed +under version 3 of the GNU Affero General Public License into a single +combined work, and to convey the resulting work. The terms of this +License will continue to apply to the part which is the covered work, +but the special requirements of the GNU Affero General Public License, +section 13, concerning interaction through a network will apply to the +combination as such. + + 14. Revised Versions of this License. + + The Free Software Foundation may publish revised and/or new versions of +the GNU General Public License from time to time. Such new versions will +be similar in spirit to the present version, but may differ in detail to +address new problems or concerns. + + Each version is given a distinguishing version number. If the +Program specifies that a certain numbered version of the GNU General +Public License "or any later version" applies to it, you have the +option of following the terms and conditions either of that numbered +version or of any later version published by the Free Software +Foundation. If the Program does not specify a version number of the +GNU General Public License, you may choose any version ever published +by the Free Software Foundation. + + If the Program specifies that a proxy can decide which future +versions of the GNU General Public License can be used, that proxy's +public statement of acceptance of a version permanently authorizes you +to choose that version for the Program. + + Later license versions may give you additional or different +permissions. However, no additional obligations are imposed on any +author or copyright holder as a result of your choosing to follow a +later version. + + 15. Disclaimer of Warranty. + + THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY +APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT +HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY +OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, +THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR +PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM +IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF +ALL NECESSARY SERVICING, REPAIR OR CORRECTION. + + 16. Limitation of Liability. + + IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING +WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS +THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY +GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE +USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF +DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD +PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), +EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF +SUCH DAMAGES. + + 17. Interpretation of Sections 15 and 16. + + If the disclaimer of warranty and limitation of liability provided +above cannot be given local legal effect according to their terms, +reviewing courts shall apply local law that most closely approximates +an absolute waiver of all civil liability in connection with the +Program, unless a warranty or assumption of liability accompanies a +copy of the Program in return for a fee. + + END OF TERMS AND CONDITIONS + + How to Apply These Terms to Your New Programs + + If you develop a new program, and you want it to be of the greatest +possible use to the public, the best way to achieve this is to make it +free software which everyone can redistribute and change under these terms. + + To do so, attach the following notices to the program. It is safest +to attach them to the start of each source file to most effectively +state the exclusion of warranty; and each file should have at least +the "copyright" line and a pointer to where the full notice is found. + + {one line to give the program's name and a brief idea of what it does.} + Copyright (C) {year} {name of author} + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see . + +Also add information on how to contact you by electronic and paper mail. + + If the program does terminal interaction, make it output a short +notice like this when it starts in an interactive mode: + + {project} Copyright (C) {year} {fullname} + This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'. + This is free software, and you are welcome to redistribute it + under certain conditions; type `show c' for details. + +The hypothetical commands `show w' and `show c' should show the appropriate +parts of the General Public License. Of course, your program's commands +might be different; for a GUI interface, you would use an "about box". + + You should also get your employer (if you work as a programmer) or school, +if any, to sign a "copyright disclaimer" for the program, if necessary. +For more information on this, and how to apply and follow the GNU GPL, see +. + + The GNU General Public License does not permit incorporating your program +into proprietary programs. If your program is a subroutine library, you +may consider it more useful to permit linking proprietary applications with +the library. If this is what you want to do, use the GNU Lesser General +Public License instead of this License. But first, please read +. diff --git a/plugins/lovata/toolbox/vendor/kharanenka/oc-pagination/README.md b/plugins/lovata/toolbox/vendor/kharanenka/oc-pagination/README.md new file mode 100644 index 000000000..598d4e472 --- /dev/null +++ b/plugins/lovata/toolbox/vendor/kharanenka/oc-pagination/README.md @@ -0,0 +1,64 @@ +# Class Pagination + + You can get pagination elements with "Pagination" class. + See [php-pagination](https://github.com/kharanenka/php-pagination) package. + You can copy the lang file from example oc-pagination/src/Kharanenka/lang/en/lang.php + +#Installation +Require this package in your `composer.json` and update composer. + +```php + +"kharanenka/oc-pagination": "1.0.*" + +``` + +#Component properties +```php + +public function defineProperties() +{ + $arProperties = [ + //Component property array + ]; + + $arProperties = array_merge($arProperties, Pagination::getProperties('plugin_name')); + return $arProperties; +} +``` + +# Usage +```php + +//$arSettings = $this->properties +$arPagination = Pagination::get($iCurrentPage, $iTotalCount, $arSettings); + +``` + +#Result +```php + +[ + [ + 'name' => 'First', + 'value' => 1, + 'class' => 'pagination-first-button', + 'code' => 'first', + ], + ... + [ + 'name' => '3', + 'value' => 3, + 'class' => 'pagination-i _act', + 'code' => null, + ], + ... + [ + 'name' => 'Last', + 'value' => 10, + 'class' => 'pagination-last-button', + 'code' => 'last', + ] +] + +``` \ No newline at end of file diff --git a/plugins/lovata/toolbox/vendor/kharanenka/oc-pagination/composer.json b/plugins/lovata/toolbox/vendor/kharanenka/oc-pagination/composer.json new file mode 100644 index 000000000..4fb6acbdd --- /dev/null +++ b/plugins/lovata/toolbox/vendor/kharanenka/oc-pagination/composer.json @@ -0,0 +1,28 @@ +{ + "name": "kharanenka/oc-pagination", + "description": "Get pagination elements for OctoberCMS", + "license": "GPL-3.0", + "keywords": [ + "php", + "pagination" + ], + "authors": [ + { + "name": "Andrey Kharanenka", + "email": "kharanenka@gmail.com" + } + ], + "version": "1.0.2", + "require": { + "kharanenka/php-pagination": "2.0.*", + "php": ">=5.6" + }, + "autoload": { + "classmap": [ + "src/Kharanenka/Helper" + ], + "psr-0": { + "Kharanenka\\Helper\\": "src/" + } + } +} \ No newline at end of file diff --git a/plugins/lovata/toolbox/vendor/kharanenka/oc-pagination/src/Kharanenka/Helper/Pagination.php b/plugins/lovata/toolbox/vendor/kharanenka/oc-pagination/src/Kharanenka/Helper/Pagination.php new file mode 100644 index 000000000..151be7975 --- /dev/null +++ b/plugins/lovata/toolbox/vendor/kharanenka/oc-pagination/src/Kharanenka/Helper/Pagination.php @@ -0,0 +1,270 @@ + [ + 'title' => 'lovata.'.$sPluginName.'::lang.settings.count_per_page', + 'type' => 'string', + 'validationPattern' => '^[0-9]+$', + 'validationMessage' => Lang::get('lovata.'.$sPluginName.'::lang.settings.number_validation'), + 'default' => self::$arSettings['count_per_page'], + ], + 'pagination_limit' => [ + 'title' => 'lovata.'.$sPluginName.'::lang.settings.pagination_limit', + 'type' => 'string', + 'validationPattern' => '^[0-9]+$', + 'validationMessage' => Lang::get('lovata.'.$sPluginName.'::lang.settings.number_validation'), + 'default' => self::$arSettings['pagination_limit'], + ], + 'active_class' => [ + 'title' => 'lovata.'.$sPluginName.'::lang.settings.active_class', + 'type' => 'string', + 'default' => self::$arSettings['active_class'], + ], + 'button_list' => [ + 'title' => 'lovata.'.$sPluginName.'::lang.settings.button_list', + 'description' => 'lovata.'.$sPluginName.'::lang.settings.button_list_description', + 'type' => 'string', + ], + + //First button + 'first_button_name' => [ + 'title' => 'lovata.'.$sPluginName.'::lang.settings.button_name', + 'type' => 'string', + 'default' => self::$arSettings['first_button_name'], + 'group' => 'lovata.'.$sPluginName.'::lang.settings.first_button', + ], + 'first_button_limit' => [ + 'title' => 'lovata.'.$sPluginName.'::lang.settings.button_limit', + 'type' => 'string', + 'validationPattern' => '^[0-9]+$', + 'validationMessage' => Lang::get('lovata.'.$sPluginName.'::lang.settings.number_validation'), + 'default' => self::$arSettings['first_button_limit'], + 'group' => 'lovata.'.$sPluginName.'::lang.settings.first_button', + ], + 'first_button_number' => [ + 'title' => 'lovata.'.$sPluginName.'::lang.settings.button_number', + 'type' => 'checkbox', + 'default' => self::$arSettings['first_button_number'], + 'group' => 'lovata.'.$sPluginName.'::lang.settings.first_button', + ], + 'first_button_class' => [ + 'title' => 'lovata.'.$sPluginName.'::lang.settings.button_class', + 'type' => 'string', + 'default' => self::$arSettings['first_button_class'], + 'group' => 'lovata.'.$sPluginName.'::lang.settings.first_button', + ], + + //First-more button + 'first-more_button_name' => [ + 'title' => 'lovata.'.$sPluginName.'::lang.settings.button_name', + 'type' => 'string', + 'default' => self::$arSettings['first-more_button_name'], + 'group' => 'lovata.'.$sPluginName.'::lang.settings.first-more_button', + ], + 'first-more_button_limit' => [ + 'title' => 'lovata.'.$sPluginName.'::lang.settings.button_limit', + 'type' => 'string', + 'validationPattern' => '^[0-9]+$', + 'validationMessage' => Lang::get('lovata.'.$sPluginName.'::lang.settings.number_validation'), + 'default' => self::$arSettings['first-more_button_limit'], + 'group' => 'lovata.'.$sPluginName.'::lang.settings.first-more_button', + ], + 'first-more_button_class' => [ + 'title' => 'lovata.'.$sPluginName.'::lang.settings.button_class', + 'type' => 'string', + 'default' => self::$arSettings['first-more_button_class'], + 'group' => 'lovata.'.$sPluginName.'::lang.settings.first-more_button', + ], + + //Prev button + 'prev_button_name' => [ + 'title' => 'lovata.'.$sPluginName.'::lang.settings.button_name', + 'type' => 'string', + 'default' => self::$arSettings['prev_button_name'], + 'group' => 'lovata.'.$sPluginName.'::lang.settings.prev_button', + ], + 'prev_button_limit' => [ + 'title' => 'lovata.'.$sPluginName.'::lang.settings.button_limit', + 'type' => 'string', + 'validationPattern' => '^[0-9]+$', + 'validationMessage' => Lang::get('lovata.'.$sPluginName.'::lang.settings.number_validation'), + 'default' => self::$arSettings['prev_button_limit'], + 'group' => 'lovata.'.$sPluginName.'::lang.settings.prev_button', + ], + 'prev_button_number' => [ + 'title' => 'lovata.'.$sPluginName.'::lang.settings.button_number', + 'type' => 'checkbox', + 'default' => self::$arSettings['prev_button_number'], + 'group' => 'lovata.'.$sPluginName.'::lang.settings.prev_button', + ], + 'prev_button_class' => [ + 'title' => 'lovata.'.$sPluginName.'::lang.settings.button_class', + 'type' => 'string', + 'default' => self::$arSettings['prev_button_class'], + 'group' => 'lovata.'.$sPluginName.'::lang.settings.prev_button', + ], + + //Prev-more button + 'prev-more_button_name' => [ + 'title' => 'lovata.'.$sPluginName.'::lang.settings.button_name', + 'type' => 'string', + 'default' => self::$arSettings['prev-more_button_name'], + 'group' => 'lovata.'.$sPluginName.'::lang.settings.prev-more_button', + ], + 'prev-more_button_limit' => [ + 'title' => 'lovata.'.$sPluginName.'::lang.settings.button_limit', + 'type' => 'string', + 'validationPattern' => '^[0-9]+$', + 'validationMessage' => Lang::get('lovata.'.$sPluginName.'::lang.settings.number_validation'), + 'default' => self::$arSettings['prev-more_button_limit'], + 'group' => 'lovata.'.$sPluginName.'::lang.settings.prev-more_button', + ], + 'prev-more_button_class' => [ + 'title' => 'lovata.'.$sPluginName.'::lang.settings.button_class', + 'type' => 'string', + 'default' => self::$arSettings['prev-more_button_class'], + 'group' => 'lovata.'.$sPluginName.'::lang.settings.prev-more_button', + ], + + //Main number buttons + 'main_button_class' => [ + 'title' => 'lovata.'.$sPluginName.'::lang.settings.button_class', + 'type' => 'string', + 'default' => self::$arSettings['main_button_class'], + 'group' => 'lovata.'.$sPluginName.'::lang.settings.main_button', + ], + + //Next-more button + 'next-more_button_name' => [ + 'title' => 'lovata.'.$sPluginName.'::lang.settings.button_name', + 'type' => 'string', + 'default' => self::$arSettings['next-more_button_name'], + 'group' => 'lovata.'.$sPluginName.'::lang.settings.next-more_button', + ], + 'next-more_button_limit' => [ + 'title' => 'lovata.'.$sPluginName.'::lang.settings.button_limit', + 'type' => 'string', + 'validationPattern' => '^[0-9]+$', + 'validationMessage' => Lang::get('lovata.'.$sPluginName.'::lang.settings.number_validation'), + 'default' => self::$arSettings['next-more_button_limit'], + 'group' => 'lovata.'.$sPluginName.'::lang.settings.next-more_button', + ], + 'next-more_button_class' => [ + 'title' => 'lovata.'.$sPluginName.'::lang.settings.button_class', + 'type' => 'string', + 'default' => self::$arSettings['next-more_button_class'], + 'group' => 'lovata.'.$sPluginName.'::lang.settings.next-more_button', + ], + + //Next button + 'next_button_name' => [ + 'title' => 'lovata.'.$sPluginName.'::lang.settings.button_name', + 'type' => 'string', + 'default' => self::$arSettings['next_button_name'], + 'group' => 'lovata.'.$sPluginName.'::lang.settings.next_button', + ], + 'next_button_limit' => [ + 'title' => 'lovata.'.$sPluginName.'::lang.settings.button_limit', + 'type' => 'string', + 'validationPattern' => '^[0-9]+$', + 'validationMessage' => Lang::get('lovata.'.$sPluginName.'::lang.settings.number_validation'), + 'default' => self::$arSettings['next_button_limit'], + 'group' => 'lovata.'.$sPluginName.'::lang.settings.next_button', + ], + 'next_button_number' => [ + 'title' => 'lovata.'.$sPluginName.'::lang.settings.button_number', + 'type' => 'checkbox', + 'default' => self::$arSettings['next_button_number'], + 'group' => 'lovata.'.$sPluginName.'::lang.settings.next_button', + ], + 'next_button_class' => [ + 'title' => 'lovata.'.$sPluginName.'::lang.settings.button_class', + 'type' => 'string', + 'default' => self::$arSettings['next_button_class'], + 'group' => 'lovata.'.$sPluginName.'::lang.settings.next_button', + ], + + //Last-more button + 'last-more_button_name' => [ + 'title' => 'lovata.'.$sPluginName.'::lang.settings.button_name', + 'type' => 'string', + 'default' => self::$arSettings['last-more_button_name'], + 'group' => 'lovata.'.$sPluginName.'::lang.settings.last-more_button', + ], + 'last-more_button_limit' => [ + 'title' => 'lovata.'.$sPluginName.'::lang.settings.button_limit', + 'type' => 'string', + 'validationPattern' => '^[0-9]+$', + 'validationMessage' => Lang::get('lovata.'.$sPluginName.'::lang.settings.number_validation'), + 'default' => self::$arSettings['last-more_button_limit'], + 'group' => 'lovata.'.$sPluginName.'::lang.settings.last-more_button', + ], + 'last-more_button_class' => [ + 'title' => 'lovata.'.$sPluginName.'::lang.settings.button_class', + 'type' => 'string', + 'default' => self::$arSettings['last-more_button_class'], + 'group' => 'lovata.'.$sPluginName.'::lang.settings.last-more_button', + ], + + //Last button + 'last_button_name' => [ + 'title' => 'lovata.'.$sPluginName.'::lang.settings.button_name', + 'type' => 'string', + 'default' => self::$arSettings['last_button_name'], + 'group' => 'lovata.'.$sPluginName.'::lang.settings.last_button', + ], + 'last_button_limit' => [ + 'title' => 'lovata.'.$sPluginName.'::lang.settings.button_limit', + 'type' => 'string', + 'validationPattern' => '^[0-9]+$', + 'validationMessage' => Lang::get('lovata.'.$sPluginName.'::lang.settings.number_validation'), + 'default' => self::$arSettings['last_button_limit'], + 'group' => 'lovata.'.$sPluginName.'::lang.settings.last_button', + ], + 'last_button_number' => [ + 'title' => 'lovata.'.$sPluginName.'::lang.settings.button_number', + 'type' => 'checkbox', + 'default' => self::$arSettings['last_button_number'], + 'group' => 'lovata.'.$sPluginName.'::lang.settings.last_button', + ], + 'last_button_class' => [ + 'title' => 'lovata.'.$sPluginName.'::lang.settings.button_class', + 'type' => 'string', + 'default' => self::$arSettings['last_button_class'], + 'group' => 'lovata.'.$sPluginName.'::lang.settings.last_button', + ], + ]; + } + + /** + * Get pagination elements + * @param int $iCurrentPage - current page number + * @param int $iTotalCount - total count elements + * @param array $arSettings - settings array + * @return array + */ + public static function get($iCurrentPage, $iTotalCount, $arSettings = []) { + + if(!empty($arSettings) && isset($arSettings['button_list']) && !empty($arSettings['button_list'])) { + $arSettings['button_list'] = explode(',', $arSettings['button_list']); + } + + + return parent::get($iCurrentPage, $iTotalCount, $arSettings); + } +} \ No newline at end of file diff --git a/plugins/lovata/toolbox/vendor/kharanenka/oc-pagination/src/Kharanenka/lang/en/lang.php b/plugins/lovata/toolbox/vendor/kharanenka/oc-pagination/src/Kharanenka/lang/en/lang.php new file mode 100644 index 000000000..7e2be7f9d --- /dev/null +++ b/plugins/lovata/toolbox/vendor/kharanenka/oc-pagination/src/Kharanenka/lang/en/lang.php @@ -0,0 +1,23 @@ + [ + 'count_per_page' => 'Count elements per page', + 'number_validation' => 'You must enter the number', + 'pagination_limit' => 'Max count buttons', + 'active_class' => 'Class for active button', + 'button_list' => 'Button list', + 'button_list_description' => 'main,first,first-more,prev,prev-more,next,next-more,last,last-more', + 'button_name' => 'Button name', + 'button_limit' => 'Show button after page', + 'button_number' => 'Show number button name', + 'button_class' => 'CSS class', + 'last_button' => '"Last" button', + 'last-more_button' => '"More" (before "Last")', + 'next_button' => '"Next" button', + 'next-more_button' => '"More" (before "Next")', + 'prev_button' => '"Prev" button', + 'prev-more_button' => '"More" (after "Prev")', + 'first_button' => '"First" button', + 'first-more_button' => '"More" (after "First")', + 'main_button' => '"Main" button', + ], +]; \ No newline at end of file diff --git a/plugins/lovata/toolbox/vendor/kharanenka/oc-pagination/src/Kharanenka/lang/ru/lang.php b/plugins/lovata/toolbox/vendor/kharanenka/oc-pagination/src/Kharanenka/lang/ru/lang.php new file mode 100644 index 000000000..f44076e60 --- /dev/null +++ b/plugins/lovata/toolbox/vendor/kharanenka/oc-pagination/src/Kharanenka/lang/ru/lang.php @@ -0,0 +1,23 @@ + [ + 'count_per_page' => 'Количество элементов на странице', + 'number_validation' => 'Необходимо ввести число', + 'pagination_limit' => 'Максимальное количество кнопок пагинации', + 'active_class' => 'Класс активной кнопки', + 'button_list' => 'Список кнопок', + 'button_list_description' => 'main,first,first-more,prev,prev-more,next,next-more,last,last-more', + 'button_name' => 'Название кнопки', + 'button_limit' => 'Отображить после страницы', + 'button_number' => 'Отображить имя кнопки как число', + 'button_class' => 'CSS класс', + 'last_button' => '"Последняя"', + 'last-more_button' => '"Еще" (перед "Последняя")', + 'next_button' => '"Следующая"', + 'next-more_button' => '"Еще" (перед "Следующая")', + 'prev_button' => '"Предыдущая"', + 'prev-more_button' => '"Еще" (после "Предыдущая")', + 'first_button' => '"Первая"', + 'first-more_button' => '"Еще" (после "Первая")', + 'main_button' => '"Основная"', + ], +]; \ No newline at end of file diff --git a/plugins/lovata/toolbox/vendor/kharanenka/php-pagination/.gitignore b/plugins/lovata/toolbox/vendor/kharanenka/php-pagination/.gitignore new file mode 100644 index 000000000..1e06577ef --- /dev/null +++ b/plugins/lovata/toolbox/vendor/kharanenka/php-pagination/.gitignore @@ -0,0 +1,88 @@ +/node_modules +Homestead.yaml + +#site +pdf/ +_backup/ +cgi-bin/ + +*.log +*.bin +*.komodoproject +/.komodotools/ + +# PhpStorm +.idea + +# Eclipse +*.pydevproject +.project +.metadata +bin/** +tmp/** +tmp/**/* +*.tmp +*.bak +*.swp +*~.nib +local.properties +.classpath +.settings/ +.loadpath +.externalToolBuilders/ +*.launch +.cproject +.buildpath + +# SublimeText +/*.sublime-project +*.sublime-workspace + +# NetBeans +nbproject/ +build/ +nbbuild/ +dist/ +nbdist/ +nbactions.xml +nb-configuration.xml + +# Windows system files +$RECYCLE.BIN/ +Thumbs.db +ehthumbs.db +Desktop.ini + +# OSX system files +.DS_store +.AppleDouble +.LSOverride +Icon +._* +.Spotlight-V100 +.Trashes + +# SVN/CVS +.svn +/CVS/* +*/CVS/* +.cvsignore +*/.cvsignore + +# temporary files/folders + +tmp* +~* +*.~* +*.bak +*.swp + +build/ +png/ +psd/ +doc/ +svg/ +vendors/ +pixelPerfect/ +node_modules/ +docs/ \ No newline at end of file diff --git a/plugins/lovata/toolbox/vendor/kharanenka/php-pagination/LICENSE b/plugins/lovata/toolbox/vendor/kharanenka/php-pagination/LICENSE new file mode 100644 index 000000000..9cecc1d46 --- /dev/null +++ b/plugins/lovata/toolbox/vendor/kharanenka/php-pagination/LICENSE @@ -0,0 +1,674 @@ + GNU GENERAL PUBLIC LICENSE + Version 3, 29 June 2007 + + Copyright (C) 2007 Free Software Foundation, Inc. + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + + Preamble + + The GNU General Public License is a free, copyleft license for +software and other kinds of works. + + The licenses for most software and other practical works are designed +to take away your freedom to share and change the works. By contrast, +the GNU General Public License is intended to guarantee your freedom to +share and change all versions of a program--to make sure it remains free +software for all its users. We, the Free Software Foundation, use the +GNU General Public License for most of our software; it applies also to +any other work released this way by its authors. You can apply it to +your programs, too. + + When we speak of free software, we are referring to freedom, not +price. Our General Public Licenses are designed to make sure that you +have the freedom to distribute copies of free software (and charge for +them if you wish), that you receive source code or can get it if you +want it, that you can change the software or use pieces of it in new +free programs, and that you know you can do these things. + + To protect your rights, we need to prevent others from denying you +these rights or asking you to surrender the rights. Therefore, you have +certain responsibilities if you distribute copies of the software, or if +you modify it: responsibilities to respect the freedom of others. + + For example, if you distribute copies of such a program, whether +gratis or for a fee, you must pass on to the recipients the same +freedoms that you received. You must make sure that they, too, receive +or can get the source code. And you must show them these terms so they +know their rights. + + Developers that use the GNU GPL protect your rights with two steps: +(1) assert copyright on the software, and (2) offer you this License +giving you legal permission to copy, distribute and/or modify it. + + For the developers' and authors' protection, the GPL clearly explains +that there is no warranty for this free software. For both users' and +authors' sake, the GPL requires that modified versions be marked as +changed, so that their problems will not be attributed erroneously to +authors of previous versions. + + Some devices are designed to deny users access to install or run +modified versions of the software inside them, although the manufacturer +can do so. This is fundamentally incompatible with the aim of +protecting users' freedom to change the software. The systematic +pattern of such abuse occurs in the area of products for individuals to +use, which is precisely where it is most unacceptable. Therefore, we +have designed this version of the GPL to prohibit the practice for those +products. If such problems arise substantially in other domains, we +stand ready to extend this provision to those domains in future versions +of the GPL, as needed to protect the freedom of users. + + Finally, every program is threatened constantly by software patents. +States should not allow patents to restrict development and use of +software on general-purpose computers, but in those that do, we wish to +avoid the special danger that patents applied to a free program could +make it effectively proprietary. To prevent this, the GPL assures that +patents cannot be used to render the program non-free. + + The precise terms and conditions for copying, distribution and +modification follow. + + TERMS AND CONDITIONS + + 0. Definitions. + + "This License" refers to version 3 of the GNU General Public License. + + "Copyright" also means copyright-like laws that apply to other kinds of +works, such as semiconductor masks. + + "The Program" refers to any copyrightable work licensed under this +License. Each licensee is addressed as "you". "Licensees" and +"recipients" may be individuals or organizations. + + To "modify" a work means to copy from or adapt all or part of the work +in a fashion requiring copyright permission, other than the making of an +exact copy. The resulting work is called a "modified version" of the +earlier work or a work "based on" the earlier work. + + A "covered work" means either the unmodified Program or a work based +on the Program. + + To "propagate" a work means to do anything with it that, without +permission, would make you directly or secondarily liable for +infringement under applicable copyright law, except executing it on a +computer or modifying a private copy. Propagation includes copying, +distribution (with or without modification), making available to the +public, and in some countries other activities as well. + + To "convey" a work means any kind of propagation that enables other +parties to make or receive copies. Mere interaction with a user through +a computer network, with no transfer of a copy, is not conveying. + + An interactive user interface displays "Appropriate Legal Notices" +to the extent that it includes a convenient and prominently visible +feature that (1) displays an appropriate copyright notice, and (2) +tells the user that there is no warranty for the work (except to the +extent that warranties are provided), that licensees may convey the +work under this License, and how to view a copy of this License. If +the interface presents a list of user commands or options, such as a +menu, a prominent item in the list meets this criterion. + + 1. Source Code. + + The "source code" for a work means the preferred form of the work +for making modifications to it. "Object code" means any non-source +form of a work. + + A "Standard Interface" means an interface that either is an official +standard defined by a recognized standards body, or, in the case of +interfaces specified for a particular programming language, one that +is widely used among developers working in that language. + + The "System Libraries" of an executable work include anything, other +than the work as a whole, that (a) is included in the normal form of +packaging a Major Component, but which is not part of that Major +Component, and (b) serves only to enable use of the work with that +Major Component, or to implement a Standard Interface for which an +implementation is available to the public in source code form. A +"Major Component", in this context, means a major essential component +(kernel, window system, and so on) of the specific operating system +(if any) on which the executable work runs, or a compiler used to +produce the work, or an object code interpreter used to run it. + + The "Corresponding Source" for a work in object code form means all +the source code needed to generate, install, and (for an executable +work) run the object code and to modify the work, including scripts to +control those activities. However, it does not include the work's +System Libraries, or general-purpose tools or generally available free +programs which are used unmodified in performing those activities but +which are not part of the work. For example, Corresponding Source +includes interface definition files associated with source files for +the work, and the source code for shared libraries and dynamically +linked subprograms that the work is specifically designed to require, +such as by intimate data communication or control flow between those +subprograms and other parts of the work. + + The Corresponding Source need not include anything that users +can regenerate automatically from other parts of the Corresponding +Source. + + The Corresponding Source for a work in source code form is that +same work. + + 2. Basic Permissions. + + All rights granted under this License are granted for the term of +copyright on the Program, and are irrevocable provided the stated +conditions are met. This License explicitly affirms your unlimited +permission to run the unmodified Program. The output from running a +covered work is covered by this License only if the output, given its +content, constitutes a covered work. This License acknowledges your +rights of fair use or other equivalent, as provided by copyright law. + + You may make, run and propagate covered works that you do not +convey, without conditions so long as your license otherwise remains +in force. You may convey covered works to others for the sole purpose +of having them make modifications exclusively for you, or provide you +with facilities for running those works, provided that you comply with +the terms of this License in conveying all material for which you do +not control copyright. Those thus making or running the covered works +for you must do so exclusively on your behalf, under your direction +and control, on terms that prohibit them from making any copies of +your copyrighted material outside their relationship with you. + + Conveying under any other circumstances is permitted solely under +the conditions stated below. Sublicensing is not allowed; section 10 +makes it unnecessary. + + 3. Protecting Users' Legal Rights From Anti-Circumvention Law. + + No covered work shall be deemed part of an effective technological +measure under any applicable law fulfilling obligations under article +11 of the WIPO copyright treaty adopted on 20 December 1996, or +similar laws prohibiting or restricting circumvention of such +measures. + + When you convey a covered work, you waive any legal power to forbid +circumvention of technological measures to the extent such circumvention +is effected by exercising rights under this License with respect to +the covered work, and you disclaim any intention to limit operation or +modification of the work as a means of enforcing, against the work's +users, your or third parties' legal rights to forbid circumvention of +technological measures. + + 4. Conveying Verbatim Copies. + + You may convey verbatim copies of the Program's source code as you +receive it, in any medium, provided that you conspicuously and +appropriately publish on each copy an appropriate copyright notice; +keep intact all notices stating that this License and any +non-permissive terms added in accord with section 7 apply to the code; +keep intact all notices of the absence of any warranty; and give all +recipients a copy of this License along with the Program. + + You may charge any price or no price for each copy that you convey, +and you may offer support or warranty protection for a fee. + + 5. Conveying Modified Source Versions. + + You may convey a work based on the Program, or the modifications to +produce it from the Program, in the form of source code under the +terms of section 4, provided that you also meet all of these conditions: + + a) The work must carry prominent notices stating that you modified + it, and giving a relevant date. + + b) The work must carry prominent notices stating that it is + released under this License and any conditions added under section + 7. This requirement modifies the requirement in section 4 to + "keep intact all notices". + + c) You must license the entire work, as a whole, under this + License to anyone who comes into possession of a copy. This + License will therefore apply, along with any applicable section 7 + additional terms, to the whole of the work, and all its parts, + regardless of how they are packaged. This License gives no + permission to license the work in any other way, but it does not + invalidate such permission if you have separately received it. + + d) If the work has interactive user interfaces, each must display + Appropriate Legal Notices; however, if the Program has interactive + interfaces that do not display Appropriate Legal Notices, your + work need not make them do so. + + A compilation of a covered work with other separate and independent +works, which are not by their nature extensions of the covered work, +and which are not combined with it such as to form a larger program, +in or on a volume of a storage or distribution medium, is called an +"aggregate" if the compilation and its resulting copyright are not +used to limit the access or legal rights of the compilation's users +beyond what the individual works permit. Inclusion of a covered work +in an aggregate does not cause this License to apply to the other +parts of the aggregate. + + 6. Conveying Non-Source Forms. + + You may convey a covered work in object code form under the terms +of sections 4 and 5, provided that you also convey the +machine-readable Corresponding Source under the terms of this License, +in one of these ways: + + a) Convey the object code in, or embodied in, a physical product + (including a physical distribution medium), accompanied by the + Corresponding Source fixed on a durable physical medium + customarily used for software interchange. + + b) Convey the object code in, or embodied in, a physical product + (including a physical distribution medium), accompanied by a + written offer, valid for at least three years and valid for as + long as you offer spare parts or customer support for that product + model, to give anyone who possesses the object code either (1) a + copy of the Corresponding Source for all the software in the + product that is covered by this License, on a durable physical + medium customarily used for software interchange, for a price no + more than your reasonable cost of physically performing this + conveying of source, or (2) access to copy the + Corresponding Source from a network server at no charge. + + c) Convey individual copies of the object code with a copy of the + written offer to provide the Corresponding Source. This + alternative is allowed only occasionally and noncommercially, and + only if you received the object code with such an offer, in accord + with subsection 6b. + + d) Convey the object code by offering access from a designated + place (gratis or for a charge), and offer equivalent access to the + Corresponding Source in the same way through the same place at no + further charge. You need not require recipients to copy the + Corresponding Source along with the object code. If the place to + copy the object code is a network server, the Corresponding Source + may be on a different server (operated by you or a third party) + that supports equivalent copying facilities, provided you maintain + clear directions next to the object code saying where to find the + Corresponding Source. Regardless of what server hosts the + Corresponding Source, you remain obligated to ensure that it is + available for as long as needed to satisfy these requirements. + + e) Convey the object code using peer-to-peer transmission, provided + you inform other peers where the object code and Corresponding + Source of the work are being offered to the general public at no + charge under subsection 6d. + + A separable portion of the object code, whose source code is excluded +from the Corresponding Source as a System Library, need not be +included in conveying the object code work. + + A "User Product" is either (1) a "consumer product", which means any +tangible personal property which is normally used for personal, family, +or household purposes, or (2) anything designed or sold for incorporation +into a dwelling. In determining whether a product is a consumer product, +doubtful cases shall be resolved in favor of coverage. For a particular +product received by a particular user, "normally used" refers to a +typical or common use of that class of product, regardless of the status +of the particular user or of the way in which the particular user +actually uses, or expects or is expected to use, the product. A product +is a consumer product regardless of whether the product has substantial +commercial, industrial or non-consumer uses, unless such uses represent +the only significant mode of use of the product. + + "Installation Information" for a User Product means any methods, +procedures, authorization keys, or other information required to install +and execute modified versions of a covered work in that User Product from +a modified version of its Corresponding Source. The information must +suffice to ensure that the continued functioning of the modified object +code is in no case prevented or interfered with solely because +modification has been made. + + If you convey an object code work under this section in, or with, or +specifically for use in, a User Product, and the conveying occurs as +part of a transaction in which the right of possession and use of the +User Product is transferred to the recipient in perpetuity or for a +fixed term (regardless of how the transaction is characterized), the +Corresponding Source conveyed under this section must be accompanied +by the Installation Information. But this requirement does not apply +if neither you nor any third party retains the ability to install +modified object code on the User Product (for example, the work has +been installed in ROM). + + The requirement to provide Installation Information does not include a +requirement to continue to provide support service, warranty, or updates +for a work that has been modified or installed by the recipient, or for +the User Product in which it has been modified or installed. Access to a +network may be denied when the modification itself materially and +adversely affects the operation of the network or violates the rules and +protocols for communication across the network. + + Corresponding Source conveyed, and Installation Information provided, +in accord with this section must be in a format that is publicly +documented (and with an implementation available to the public in +source code form), and must require no special password or key for +unpacking, reading or copying. + + 7. Additional Terms. + + "Additional permissions" are terms that supplement the terms of this +License by making exceptions from one or more of its conditions. +Additional permissions that are applicable to the entire Program shall +be treated as though they were included in this License, to the extent +that they are valid under applicable law. If additional permissions +apply only to part of the Program, that part may be used separately +under those permissions, but the entire Program remains governed by +this License without regard to the additional permissions. + + When you convey a copy of a covered work, you may at your option +remove any additional permissions from that copy, or from any part of +it. (Additional permissions may be written to require their own +removal in certain cases when you modify the work.) You may place +additional permissions on material, added by you to a covered work, +for which you have or can give appropriate copyright permission. + + Notwithstanding any other provision of this License, for material you +add to a covered work, you may (if authorized by the copyright holders of +that material) supplement the terms of this License with terms: + + a) Disclaiming warranty or limiting liability differently from the + terms of sections 15 and 16 of this License; or + + b) Requiring preservation of specified reasonable legal notices or + author attributions in that material or in the Appropriate Legal + Notices displayed by works containing it; or + + c) Prohibiting misrepresentation of the origin of that material, or + requiring that modified versions of such material be marked in + reasonable ways as different from the original version; or + + d) Limiting the use for publicity purposes of names of licensors or + authors of the material; or + + e) Declining to grant rights under trademark law for use of some + trade names, trademarks, or service marks; or + + f) Requiring indemnification of licensors and authors of that + material by anyone who conveys the material (or modified versions of + it) with contractual assumptions of liability to the recipient, for + any liability that these contractual assumptions directly impose on + those licensors and authors. + + All other non-permissive additional terms are considered "further +restrictions" within the meaning of section 10. If the Program as you +received it, or any part of it, contains a notice stating that it is +governed by this License along with a term that is a further +restriction, you may remove that term. If a license document contains +a further restriction but permits relicensing or conveying under this +License, you may add to a covered work material governed by the terms +of that license document, provided that the further restriction does +not survive such relicensing or conveying. + + If you add terms to a covered work in accord with this section, you +must place, in the relevant source files, a statement of the +additional terms that apply to those files, or a notice indicating +where to find the applicable terms. + + Additional terms, permissive or non-permissive, may be stated in the +form of a separately written license, or stated as exceptions; +the above requirements apply either way. + + 8. Termination. + + You may not propagate or modify a covered work except as expressly +provided under this License. Any attempt otherwise to propagate or +modify it is void, and will automatically terminate your rights under +this License (including any patent licenses granted under the third +paragraph of section 11). + + However, if you cease all violation of this License, then your +license from a particular copyright holder is reinstated (a) +provisionally, unless and until the copyright holder explicitly and +finally terminates your license, and (b) permanently, if the copyright +holder fails to notify you of the violation by some reasonable means +prior to 60 days after the cessation. + + Moreover, your license from a particular copyright holder is +reinstated permanently if the copyright holder notifies you of the +violation by some reasonable means, this is the first time you have +received notice of violation of this License (for any work) from that +copyright holder, and you cure the violation prior to 30 days after +your receipt of the notice. + + Termination of your rights under this section does not terminate the +licenses of parties who have received copies or rights from you under +this License. If your rights have been terminated and not permanently +reinstated, you do not qualify to receive new licenses for the same +material under section 10. + + 9. Acceptance Not Required for Having Copies. + + You are not required to accept this License in order to receive or +run a copy of the Program. Ancillary propagation of a covered work +occurring solely as a consequence of using peer-to-peer transmission +to receive a copy likewise does not require acceptance. However, +nothing other than this License grants you permission to propagate or +modify any covered work. These actions infringe copyright if you do +not accept this License. Therefore, by modifying or propagating a +covered work, you indicate your acceptance of this License to do so. + + 10. Automatic Licensing of Downstream Recipients. + + Each time you convey a covered work, the recipient automatically +receives a license from the original licensors, to run, modify and +propagate that work, subject to this License. You are not responsible +for enforcing compliance by third parties with this License. + + An "entity transaction" is a transaction transferring control of an +organization, or substantially all assets of one, or subdividing an +organization, or merging organizations. If propagation of a covered +work results from an entity transaction, each party to that +transaction who receives a copy of the work also receives whatever +licenses to the work the party's predecessor in interest had or could +give under the previous paragraph, plus a right to possession of the +Corresponding Source of the work from the predecessor in interest, if +the predecessor has it or can get it with reasonable efforts. + + You may not impose any further restrictions on the exercise of the +rights granted or affirmed under this License. For example, you may +not impose a license fee, royalty, or other charge for exercise of +rights granted under this License, and you may not initiate litigation +(including a cross-claim or counterclaim in a lawsuit) alleging that +any patent claim is infringed by making, using, selling, offering for +sale, or importing the Program or any portion of it. + + 11. Patents. + + A "contributor" is a copyright holder who authorizes use under this +License of the Program or a work on which the Program is based. The +work thus licensed is called the contributor's "contributor version". + + A contributor's "essential patent claims" are all patent claims +owned or controlled by the contributor, whether already acquired or +hereafter acquired, that would be infringed by some manner, permitted +by this License, of making, using, or selling its contributor version, +but do not include claims that would be infringed only as a +consequence of further modification of the contributor version. For +purposes of this definition, "control" includes the right to grant +patent sublicenses in a manner consistent with the requirements of +this License. + + Each contributor grants you a non-exclusive, worldwide, royalty-free +patent license under the contributor's essential patent claims, to +make, use, sell, offer for sale, import and otherwise run, modify and +propagate the contents of its contributor version. + + In the following three paragraphs, a "patent license" is any express +agreement or commitment, however denominated, not to enforce a patent +(such as an express permission to practice a patent or covenant not to +sue for patent infringement). To "grant" such a patent license to a +party means to make such an agreement or commitment not to enforce a +patent against the party. + + If you convey a covered work, knowingly relying on a patent license, +and the Corresponding Source of the work is not available for anyone +to copy, free of charge and under the terms of this License, through a +publicly available network server or other readily accessible means, +then you must either (1) cause the Corresponding Source to be so +available, or (2) arrange to deprive yourself of the benefit of the +patent license for this particular work, or (3) arrange, in a manner +consistent with the requirements of this License, to extend the patent +license to downstream recipients. "Knowingly relying" means you have +actual knowledge that, but for the patent license, your conveying the +covered work in a country, or your recipient's use of the covered work +in a country, would infringe one or more identifiable patents in that +country that you have reason to believe are valid. + + If, pursuant to or in connection with a single transaction or +arrangement, you convey, or propagate by procuring conveyance of, a +covered work, and grant a patent license to some of the parties +receiving the covered work authorizing them to use, propagate, modify +or convey a specific copy of the covered work, then the patent license +you grant is automatically extended to all recipients of the covered +work and works based on it. + + A patent license is "discriminatory" if it does not include within +the scope of its coverage, prohibits the exercise of, or is +conditioned on the non-exercise of one or more of the rights that are +specifically granted under this License. You may not convey a covered +work if you are a party to an arrangement with a third party that is +in the business of distributing software, under which you make payment +to the third party based on the extent of your activity of conveying +the work, and under which the third party grants, to any of the +parties who would receive the covered work from you, a discriminatory +patent license (a) in connection with copies of the covered work +conveyed by you (or copies made from those copies), or (b) primarily +for and in connection with specific products or compilations that +contain the covered work, unless you entered into that arrangement, +or that patent license was granted, prior to 28 March 2007. + + Nothing in this License shall be construed as excluding or limiting +any implied license or other defenses to infringement that may +otherwise be available to you under applicable patent law. + + 12. No Surrender of Others' Freedom. + + If conditions are imposed on you (whether by court order, agreement or +otherwise) that contradict the conditions of this License, they do not +excuse you from the conditions of this License. If you cannot convey a +covered work so as to satisfy simultaneously your obligations under this +License and any other pertinent obligations, then as a consequence you may +not convey it at all. For example, if you agree to terms that obligate you +to collect a royalty for further conveying from those to whom you convey +the Program, the only way you could satisfy both those terms and this +License would be to refrain entirely from conveying the Program. + + 13. Use with the GNU Affero General Public License. + + Notwithstanding any other provision of this License, you have +permission to link or combine any covered work with a work licensed +under version 3 of the GNU Affero General Public License into a single +combined work, and to convey the resulting work. The terms of this +License will continue to apply to the part which is the covered work, +but the special requirements of the GNU Affero General Public License, +section 13, concerning interaction through a network will apply to the +combination as such. + + 14. Revised Versions of this License. + + The Free Software Foundation may publish revised and/or new versions of +the GNU General Public License from time to time. Such new versions will +be similar in spirit to the present version, but may differ in detail to +address new problems or concerns. + + Each version is given a distinguishing version number. If the +Program specifies that a certain numbered version of the GNU General +Public License "or any later version" applies to it, you have the +option of following the terms and conditions either of that numbered +version or of any later version published by the Free Software +Foundation. If the Program does not specify a version number of the +GNU General Public License, you may choose any version ever published +by the Free Software Foundation. + + If the Program specifies that a proxy can decide which future +versions of the GNU General Public License can be used, that proxy's +public statement of acceptance of a version permanently authorizes you +to choose that version for the Program. + + Later license versions may give you additional or different +permissions. However, no additional obligations are imposed on any +author or copyright holder as a result of your choosing to follow a +later version. + + 15. Disclaimer of Warranty. + + THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY +APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT +HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY +OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, +THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR +PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM +IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF +ALL NECESSARY SERVICING, REPAIR OR CORRECTION. + + 16. Limitation of Liability. + + IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING +WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS +THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY +GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE +USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF +DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD +PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), +EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF +SUCH DAMAGES. + + 17. Interpretation of Sections 15 and 16. + + If the disclaimer of warranty and limitation of liability provided +above cannot be given local legal effect according to their terms, +reviewing courts shall apply local law that most closely approximates +an absolute waiver of all civil liability in connection with the +Program, unless a warranty or assumption of liability accompanies a +copy of the Program in return for a fee. + + END OF TERMS AND CONDITIONS + + How to Apply These Terms to Your New Programs + + If you develop a new program, and you want it to be of the greatest +possible use to the public, the best way to achieve this is to make it +free software which everyone can redistribute and change under these terms. + + To do so, attach the following notices to the program. It is safest +to attach them to the start of each source file to most effectively +state the exclusion of warranty; and each file should have at least +the "copyright" line and a pointer to where the full notice is found. + + {one line to give the program's name and a brief idea of what it does.} + Copyright (C) {year} {name of author} + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see . + +Also add information on how to contact you by electronic and paper mail. + + If the program does terminal interaction, make it output a short +notice like this when it starts in an interactive mode: + + {project} Copyright (C) {year} {fullname} + This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'. + This is free software, and you are welcome to redistribute it + under certain conditions; type `show c' for details. + +The hypothetical commands `show w' and `show c' should show the appropriate +parts of the General Public License. Of course, your program's commands +might be different; for a GUI interface, you would use an "about box". + + You should also get your employer (if you work as a programmer) or school, +if any, to sign a "copyright disclaimer" for the program, if necessary. +For more information on this, and how to apply and follow the GNU GPL, see +. + + The GNU General Public License does not permit incorporating your program +into proprietary programs. If your program is a subroutine library, you +may consider it more useful to permit linking proprietary applications with +the library. If this is what you want to do, use the GNU Lesser General +Public License instead of this License. But first, please read +. diff --git a/plugins/lovata/toolbox/vendor/kharanenka/php-pagination/README.md b/plugins/lovata/toolbox/vendor/kharanenka/php-pagination/README.md new file mode 100644 index 000000000..7121b8fd8 --- /dev/null +++ b/plugins/lovata/toolbox/vendor/kharanenka/php-pagination/README.md @@ -0,0 +1,125 @@ +# Class PaginationHelper + + You can get pagination elements with "PaginationHelper" class + +#Installation +Require this package in your `composer.json` and update composer. + +```php + +"kharanenka/php-pagination": "2.0.*" + +``` + +# Usage +```php + + $arPagination = PaginationHelper::get($iCurrentPage, $iTotalCount, $arSettings); + +``` + +#Result +```php + +[ + [ + 'name' => 'First', + 'value' => 1, + 'class' => 'pagination-first-button', + 'code' => 'first', + ], + ... + [ + 'name' => '3', + 'value' => 3, + 'class' => 'pagination-i _act', + 'code' => null, + ], + ... + [ + 'name' => 'Last', + 'value' => 10, + 'class' => 'pagination-last-button', + 'code' => 'last', + ] +] + +``` + +#Default settings +```php + +$arSettings = [ + + //Common settings + 'button_list' => ['main'], // Button list + // You can set order button in 'button_list' array + // Button key list: + // - main + // - first + // - first-more + // - prev + // - prev-more + // - next + // - next-more + // - last + // - last-more + // For example: + // ['prev', 'main', 'next'] + // ['first', 'prev', 'main', 'next', 'last'] + // ['prev', 'first', 'main', 'last', 'next'] + + 'count_per_page' => 10, // Count elements per page + 'pagination_limit' => 5, // Count main pagination buttons + 'active_class' => '_act', // Button class for active page + + //Button "First" + 'first_button_name' => 'First', // Button name + 'first_button_limit' => 1, // Show button if current page > this value + 'first_button_number' => false, // true - button name = page number + 'first_button_class' => null, // Button class + + //Button "First-More" + 'first-more_button_name' => '...', // Button name + 'first-more_button_limit' => 1, // Show button if current page > this value + 'first-more_button_class' => null, // Button class + + //Button "Prev" + 'prev_button_name' => 'Prev', // Button name + 'prev_button_limit' => 1, // Show button if current page > this value + 'prev_button_number' => false, // true - button name = page number + 'prev_button_class' => null, // Button class + + //Button "Prev-More" + 'prev-more_button_name' => '...', // Button name + 'prev-more_button_limit' => 1, // Show button if current page > this value + 'prev-more_button_class' => null, // Button class + + //Main buttons + 'main_button_on' => true, // Switch on/off button + 'main_button_class' => null, // Button class + + //Button "Next-More" + 'next-more_button_name' => '...', // Button name + 'next-more_button_limit' => 1, // Show button if current page + this value <= total page count + 'next-more_button_class' => null, // Button class + + //Button "Next" + 'next_button_name' => 'Next', // Button name + 'next_button_limit' => 1, // Show button if current page + this value <= total page count + 'next_button_number' => false, // true - button name = page number + 'next_button_class' => null, // Button class + + //Button "Last-More" + 'last-more_button_name' => '...', // Button name + 'last-more_button_limit' => 1, // Show button if current page + this value <= total page count + 'last-more_button_class' => null, // Button class + + //Button "Last" + 'last_button_name' => 'Last', // Button name + 'last_button_limit' => 1, // Show button if current page + this value <= total page count + 'last_button_number' => false, // true - button name = page number + 'last_button_class' => null, // Button class + ]; + +``` \ No newline at end of file diff --git a/plugins/lovata/toolbox/vendor/kharanenka/php-pagination/composer.json b/plugins/lovata/toolbox/vendor/kharanenka/php-pagination/composer.json new file mode 100644 index 000000000..b6b26fbb1 --- /dev/null +++ b/plugins/lovata/toolbox/vendor/kharanenka/php-pagination/composer.json @@ -0,0 +1,27 @@ +{ + "name": "kharanenka/php-pagination", + "description": "Get pagination elements", + "license": "GPL-3.0", + "keywords": [ + "php", + "pagination" + ], + "authors": [ + { + "name": "Andrey Kharanenka", + "email": "kharanenka@gmail.com" + } + ], + "version": "2.0.3", + "require": { + "php": ">=5.6" + }, + "autoload": { + "classmap": [ + "src/Kharanenka/Helper" + ], + "psr-0": { + "Kharanenka\\Helper\\": "src/" + } + } +} \ No newline at end of file diff --git a/plugins/lovata/toolbox/vendor/kharanenka/php-pagination/src/Kharanenka/Helper/PaginationHelper.php b/plugins/lovata/toolbox/vendor/kharanenka/php-pagination/src/Kharanenka/Helper/PaginationHelper.php new file mode 100644 index 000000000..1be152dff --- /dev/null +++ b/plugins/lovata/toolbox/vendor/kharanenka/php-pagination/src/Kharanenka/Helper/PaginationHelper.php @@ -0,0 +1,325 @@ + 10, + 'pagination_limit' => 5, + 'active_class' => '_act', + 'button_list' => [self::MAIN_BUTTON_CODE], + + //Button "First" + 'first_button_name' => 'First', // Button name + 'first_button_limit' => 1, // Show button if current page > this value + 'first_button_number' => false, // true - button name = page number + 'first_button_class' => null, // Button class + + //Button "First-More" + 'first-more_button_name' => '...', // Button name + 'first-more_button_limit' => 1, // Show button if current page > this value + 'first-more_button_class' => null, // Button class + + //Button "Prev" + 'prev_button_name' => 'Prev', // Button name + 'prev_button_limit' => 1, // Show button if current page > this value + 'prev_button_number' => false, // true - button name = page number + 'prev_button_class' => null, // Button class + + //Button "Prev-More" + 'prev-more_button_name' => '...', // Button name + 'prev-more_button_limit' => 1, // Show button if current page > this value + 'prev-more_button_class' => null, // Button class + + //Main buttons + 'main_button_on' => true, // Switch on/off button + 'main_button_class' => null, // Button class + + //Button "Next-More" + 'next-more_button_name' => '...', // Button name + 'next-more_button_limit' => 1, // Show button if current page + this value <= total page count + 'next-more_button_class' => null, // Button class + + //Button "Next" + 'next_button_name' => 'Next', // Button name + 'next_button_limit' => 1, // Show button if current page + this value <= total page count + 'next_button_number' => false, // true - button name = page number + 'next_button_class' => null, // Button class + + //Button "Last-More" + 'last-more_button_name' => '...', // Button name + 'last-more_button_limit' => 1, // Show button if current page + this value <= total page count + 'last-more_button_class' => null, // Button class + + //Button "Last" + 'last_button_name' => 'Last', // Button name + 'last_button_limit' => 1, // Show button if current page + this value <= total page count + 'last_button_number' => false, // true - button name = page number + 'last_button_class' => null, // Button class + ]; + + /** + * Get pagination elements + * @param int $iCurrentPage - current page number + * @param int $iTotalCount - total count elements + * @param array $arSettings - settings array + * @return array + */ + public static function get($iCurrentPage, $iTotalCount, $arSettings = []) { + + self::$arResult = []; + + self::$iCurrentPage = $iCurrentPage; + self::initSettings($arSettings); + if(empty(self::$arSettings['button_list'])) { + self::$arResult; + } + + //Get count per page elements + $iCountPerPage = self::$arSettings['count_per_page']; + + //Get total page count + self::$iTotalCountPages = ceil($iTotalCount/$iCountPerPage); + + //get pagination button limit + $iElementLimit = self::$arSettings['pagination_limit']; + + //init start position + self::$iPosition = $iCurrentPage - floor($iElementLimit/2); + + //Update position + if((self::$iPosition + $iElementLimit) > self::$iTotalCountPages) { + self::$iPosition = self::$iTotalCountPages - $iElementLimit + 1; + } + + if(self::$iPosition < 1) { + self::$iPosition = 1; + } + + $arMainPageList = []; + + foreach(self::$arSettings['button_list'] as $sButtonCode) { + + switch($sButtonCode) { + case self::FIRST_BUTTON_CODE: + self::addPrevButton(self::FIRST_BUTTON_CODE); + break; + case self::FIRST_MORE_BUTTON_CODE: + self::addPrevButton(self::FIRST_MORE_BUTTON_CODE); + break; + case self::PREV_BUTTON_CODE: + self::addPrevButton(self::PREV_BUTTON_CODE); + break; + case self::PREV_MORE_BUTTON_CODE: + self::addPrevButton(self::PREV_MORE_BUTTON_CODE); + break; + case self::MAIN_BUTTON_CODE: + + if(self::$arSettings['main_button_on']) { + //Get pagination buttons + $i = 0; + while($i < $iElementLimit) { + + //Set active page button + $sCode = null; + $sElementClass = self::$arSettings['main_button_class']; + if(self::$iPosition == self::$iCurrentPage) { + $sElementClass = ' '.self::$arSettings['active_class']; + $sCode = self::ACT_BUTTON_CODE; + } + + if(self::$iPosition > 0) { + self::$arResult[] = [ + 'name' => self::$iPosition, + 'value' => self::$iPosition, + 'class' => $sElementClass, + 'code' => $sCode, + ]; + + $arMainPageList[] = self::$iPosition; + + $i++; + } + + self::$iPosition++; + if(self::$iPosition > self::$iTotalCountPages) { + break; + } + } + } + break; + case self::NEXT_MORE_BUTTON_CODE: + self::addNextButton(self::NEXT_MORE_BUTTON_CODE); + break; + case self::NEXT_BUTTON_CODE: + self::addNextButton(self::NEXT_BUTTON_CODE); + break; + case self::LAST_MORE_BUTTON_CODE: + self::addNextButton(self::LAST_MORE_BUTTON_CODE); + break; + case self::LAST_BUTTON_CODE: + self::addNextButton(self::LAST_BUTTON_CODE); + break; + } + } + + $arUnsetCodeList = []; + foreach (self::$arResult as $iKey => $arButtonData) { + if ($arButtonData['code'] == self::ACT_BUTTON_CODE || empty($arButtonData['code'])) { + continue; + } + + if (!in_array($arButtonData['code'], [self::FIRST_BUTTON_CODE, self::FIRST_MORE_BUTTON_CODE, self::LAST_BUTTON_CODE, self::LAST_MORE_BUTTON_CODE])) { + continue; + } + + if (!in_array($arButtonData['value'], $arMainPageList)) { + continue; + } + + $arUnsetCodeList[] = $arButtonData['code']; + $arUnsetCodeList[] = $arButtonData['code'].'-more'; + } + + if (!empty($arUnsetCodeList)) { + foreach (self::$arResult as $iKey => $arButtonData) { + if (!in_array($arButtonData['code'], $arUnsetCodeList)) { + continue; + } + + unset(self::$arResult[$iKey]); + } + } + + return self::$arResult; + } + + /** + * Init settings + * @param array $arSettings + */ + protected static function initSettings($arSettings) { + + if(empty($arSettings)) { + return; + } + + foreach($arSettings as $sKey => $sValue) { + self::$arSettings[$sKey] = $sValue; + } + } + + /** + * Add previous button + * @param string $sCode + */ + protected static function addPrevButton($sCode) { + + if(self::$iCurrentPage <= self::$arSettings[$sCode.'_button_limit']) { + return; + } + + //Get button value + $sValue = self::getValue($sCode); + + //Get button name + $sName = self::$arSettings[$sCode.'_button_name']; + if(isset(self::$arSettings[$sCode.'_button_number']) && self::$arSettings[$sCode.'_button_number']) { + $sName = $sValue; + } + + self::$arResult[] = [ + 'name' => $sName, + 'value' => $sValue, + 'class' => self::$arSettings[$sCode.'_button_class'], + 'code' => $sCode, + ]; + } + + /** + * Add next button + * @param string $sCode + */ + protected static function addNextButton($sCode) { + + if(self::$iCurrentPage + self::$arSettings[$sCode.'_button_limit'] > self::$iTotalCountPages) { + return; + } + + //Get button value + $sValue = self::getValue($sCode); + + //Get button name + $sName = self::$arSettings[$sCode.'_button_name']; + if(isset(self::$arSettings[$sCode.'_button_number']) && self::$arSettings[$sCode.'_button_number']) { + $sName = $sValue; + } + + self::$arResult[] = [ + 'name' => $sName, + 'value' => $sValue, + 'class' => self::$arSettings[$sCode.'_button_class'], + 'code' => $sCode, + ]; + } + + /** + * Get page button value + * @param string $sCode + * @return int|null + */ + protected static function getValue($sCode) { + + switch($sCode) { + case self::FIRST_BUTTON_CODE: + return 1; + case self::FIRST_MORE_BUTTON_CODE: + return null; + case self::PREV_BUTTON_CODE: + $iValue = self::$iCurrentPage - 1; + if($iValue < 1) { + $iValue = 1; + } + + return $iValue; + case self::PREV_MORE_BUTTON_CODE: + return null; + case self::NEXT_MORE_BUTTON_CODE: + return null; + case self::NEXT_BUTTON_CODE: + $iValue = self::$iCurrentPage + 1; + if($iValue > self::$iTotalCountPages) { + $iValue = self::$iTotalCountPages; + } + + return $iValue; + case self::LAST_MORE_BUTTON_CODE: + return null; + case self::LAST_BUTTON_CODE: + return self::$iTotalCountPages; + } + + return null; + } +} \ No newline at end of file diff --git a/plugins/lovata/toolbox/vendor/kharanenka/php-result-store/.gitignore b/plugins/lovata/toolbox/vendor/kharanenka/php-result-store/.gitignore new file mode 100644 index 000000000..1e06577ef --- /dev/null +++ b/plugins/lovata/toolbox/vendor/kharanenka/php-result-store/.gitignore @@ -0,0 +1,88 @@ +/node_modules +Homestead.yaml + +#site +pdf/ +_backup/ +cgi-bin/ + +*.log +*.bin +*.komodoproject +/.komodotools/ + +# PhpStorm +.idea + +# Eclipse +*.pydevproject +.project +.metadata +bin/** +tmp/** +tmp/**/* +*.tmp +*.bak +*.swp +*~.nib +local.properties +.classpath +.settings/ +.loadpath +.externalToolBuilders/ +*.launch +.cproject +.buildpath + +# SublimeText +/*.sublime-project +*.sublime-workspace + +# NetBeans +nbproject/ +build/ +nbbuild/ +dist/ +nbdist/ +nbactions.xml +nb-configuration.xml + +# Windows system files +$RECYCLE.BIN/ +Thumbs.db +ehthumbs.db +Desktop.ini + +# OSX system files +.DS_store +.AppleDouble +.LSOverride +Icon +._* +.Spotlight-V100 +.Trashes + +# SVN/CVS +.svn +/CVS/* +*/CVS/* +.cvsignore +*/.cvsignore + +# temporary files/folders + +tmp* +~* +*.~* +*.bak +*.swp + +build/ +png/ +psd/ +doc/ +svg/ +vendors/ +pixelPerfect/ +node_modules/ +docs/ \ No newline at end of file diff --git a/plugins/lovata/toolbox/vendor/kharanenka/php-result-store/.travis.yml b/plugins/lovata/toolbox/vendor/kharanenka/php-result-store/.travis.yml new file mode 100644 index 000000000..d371eb5d5 --- /dev/null +++ b/plugins/lovata/toolbox/vendor/kharanenka/php-result-store/.travis.yml @@ -0,0 +1,20 @@ +language: php + +php: + - 7.0 + - 7.1 + - 7.2 + - 7.3 + - nightly + +matrix: + allow_failures: + - php: nightly + +cache: + directories: + - $HOME/.composer/cache + - vendor + +install: + - composer install diff --git a/plugins/lovata/toolbox/vendor/kharanenka/php-result-store/LICENSE b/plugins/lovata/toolbox/vendor/kharanenka/php-result-store/LICENSE new file mode 100644 index 000000000..9cecc1d46 --- /dev/null +++ b/plugins/lovata/toolbox/vendor/kharanenka/php-result-store/LICENSE @@ -0,0 +1,674 @@ + GNU GENERAL PUBLIC LICENSE + Version 3, 29 June 2007 + + Copyright (C) 2007 Free Software Foundation, Inc. + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + + Preamble + + The GNU General Public License is a free, copyleft license for +software and other kinds of works. + + The licenses for most software and other practical works are designed +to take away your freedom to share and change the works. By contrast, +the GNU General Public License is intended to guarantee your freedom to +share and change all versions of a program--to make sure it remains free +software for all its users. We, the Free Software Foundation, use the +GNU General Public License for most of our software; it applies also to +any other work released this way by its authors. You can apply it to +your programs, too. + + When we speak of free software, we are referring to freedom, not +price. Our General Public Licenses are designed to make sure that you +have the freedom to distribute copies of free software (and charge for +them if you wish), that you receive source code or can get it if you +want it, that you can change the software or use pieces of it in new +free programs, and that you know you can do these things. + + To protect your rights, we need to prevent others from denying you +these rights or asking you to surrender the rights. Therefore, you have +certain responsibilities if you distribute copies of the software, or if +you modify it: responsibilities to respect the freedom of others. + + For example, if you distribute copies of such a program, whether +gratis or for a fee, you must pass on to the recipients the same +freedoms that you received. You must make sure that they, too, receive +or can get the source code. And you must show them these terms so they +know their rights. + + Developers that use the GNU GPL protect your rights with two steps: +(1) assert copyright on the software, and (2) offer you this License +giving you legal permission to copy, distribute and/or modify it. + + For the developers' and authors' protection, the GPL clearly explains +that there is no warranty for this free software. For both users' and +authors' sake, the GPL requires that modified versions be marked as +changed, so that their problems will not be attributed erroneously to +authors of previous versions. + + Some devices are designed to deny users access to install or run +modified versions of the software inside them, although the manufacturer +can do so. This is fundamentally incompatible with the aim of +protecting users' freedom to change the software. The systematic +pattern of such abuse occurs in the area of products for individuals to +use, which is precisely where it is most unacceptable. Therefore, we +have designed this version of the GPL to prohibit the practice for those +products. If such problems arise substantially in other domains, we +stand ready to extend this provision to those domains in future versions +of the GPL, as needed to protect the freedom of users. + + Finally, every program is threatened constantly by software patents. +States should not allow patents to restrict development and use of +software on general-purpose computers, but in those that do, we wish to +avoid the special danger that patents applied to a free program could +make it effectively proprietary. To prevent this, the GPL assures that +patents cannot be used to render the program non-free. + + The precise terms and conditions for copying, distribution and +modification follow. + + TERMS AND CONDITIONS + + 0. Definitions. + + "This License" refers to version 3 of the GNU General Public License. + + "Copyright" also means copyright-like laws that apply to other kinds of +works, such as semiconductor masks. + + "The Program" refers to any copyrightable work licensed under this +License. Each licensee is addressed as "you". "Licensees" and +"recipients" may be individuals or organizations. + + To "modify" a work means to copy from or adapt all or part of the work +in a fashion requiring copyright permission, other than the making of an +exact copy. The resulting work is called a "modified version" of the +earlier work or a work "based on" the earlier work. + + A "covered work" means either the unmodified Program or a work based +on the Program. + + To "propagate" a work means to do anything with it that, without +permission, would make you directly or secondarily liable for +infringement under applicable copyright law, except executing it on a +computer or modifying a private copy. Propagation includes copying, +distribution (with or without modification), making available to the +public, and in some countries other activities as well. + + To "convey" a work means any kind of propagation that enables other +parties to make or receive copies. Mere interaction with a user through +a computer network, with no transfer of a copy, is not conveying. + + An interactive user interface displays "Appropriate Legal Notices" +to the extent that it includes a convenient and prominently visible +feature that (1) displays an appropriate copyright notice, and (2) +tells the user that there is no warranty for the work (except to the +extent that warranties are provided), that licensees may convey the +work under this License, and how to view a copy of this License. If +the interface presents a list of user commands or options, such as a +menu, a prominent item in the list meets this criterion. + + 1. Source Code. + + The "source code" for a work means the preferred form of the work +for making modifications to it. "Object code" means any non-source +form of a work. + + A "Standard Interface" means an interface that either is an official +standard defined by a recognized standards body, or, in the case of +interfaces specified for a particular programming language, one that +is widely used among developers working in that language. + + The "System Libraries" of an executable work include anything, other +than the work as a whole, that (a) is included in the normal form of +packaging a Major Component, but which is not part of that Major +Component, and (b) serves only to enable use of the work with that +Major Component, or to implement a Standard Interface for which an +implementation is available to the public in source code form. A +"Major Component", in this context, means a major essential component +(kernel, window system, and so on) of the specific operating system +(if any) on which the executable work runs, or a compiler used to +produce the work, or an object code interpreter used to run it. + + The "Corresponding Source" for a work in object code form means all +the source code needed to generate, install, and (for an executable +work) run the object code and to modify the work, including scripts to +control those activities. However, it does not include the work's +System Libraries, or general-purpose tools or generally available free +programs which are used unmodified in performing those activities but +which are not part of the work. For example, Corresponding Source +includes interface definition files associated with source files for +the work, and the source code for shared libraries and dynamically +linked subprograms that the work is specifically designed to require, +such as by intimate data communication or control flow between those +subprograms and other parts of the work. + + The Corresponding Source need not include anything that users +can regenerate automatically from other parts of the Corresponding +Source. + + The Corresponding Source for a work in source code form is that +same work. + + 2. Basic Permissions. + + All rights granted under this License are granted for the term of +copyright on the Program, and are irrevocable provided the stated +conditions are met. This License explicitly affirms your unlimited +permission to run the unmodified Program. The output from running a +covered work is covered by this License only if the output, given its +content, constitutes a covered work. This License acknowledges your +rights of fair use or other equivalent, as provided by copyright law. + + You may make, run and propagate covered works that you do not +convey, without conditions so long as your license otherwise remains +in force. You may convey covered works to others for the sole purpose +of having them make modifications exclusively for you, or provide you +with facilities for running those works, provided that you comply with +the terms of this License in conveying all material for which you do +not control copyright. Those thus making or running the covered works +for you must do so exclusively on your behalf, under your direction +and control, on terms that prohibit them from making any copies of +your copyrighted material outside their relationship with you. + + Conveying under any other circumstances is permitted solely under +the conditions stated below. Sublicensing is not allowed; section 10 +makes it unnecessary. + + 3. Protecting Users' Legal Rights From Anti-Circumvention Law. + + No covered work shall be deemed part of an effective technological +measure under any applicable law fulfilling obligations under article +11 of the WIPO copyright treaty adopted on 20 December 1996, or +similar laws prohibiting or restricting circumvention of such +measures. + + When you convey a covered work, you waive any legal power to forbid +circumvention of technological measures to the extent such circumvention +is effected by exercising rights under this License with respect to +the covered work, and you disclaim any intention to limit operation or +modification of the work as a means of enforcing, against the work's +users, your or third parties' legal rights to forbid circumvention of +technological measures. + + 4. Conveying Verbatim Copies. + + You may convey verbatim copies of the Program's source code as you +receive it, in any medium, provided that you conspicuously and +appropriately publish on each copy an appropriate copyright notice; +keep intact all notices stating that this License and any +non-permissive terms added in accord with section 7 apply to the code; +keep intact all notices of the absence of any warranty; and give all +recipients a copy of this License along with the Program. + + You may charge any price or no price for each copy that you convey, +and you may offer support or warranty protection for a fee. + + 5. Conveying Modified Source Versions. + + You may convey a work based on the Program, or the modifications to +produce it from the Program, in the form of source code under the +terms of section 4, provided that you also meet all of these conditions: + + a) The work must carry prominent notices stating that you modified + it, and giving a relevant date. + + b) The work must carry prominent notices stating that it is + released under this License and any conditions added under section + 7. This requirement modifies the requirement in section 4 to + "keep intact all notices". + + c) You must license the entire work, as a whole, under this + License to anyone who comes into possession of a copy. This + License will therefore apply, along with any applicable section 7 + additional terms, to the whole of the work, and all its parts, + regardless of how they are packaged. This License gives no + permission to license the work in any other way, but it does not + invalidate such permission if you have separately received it. + + d) If the work has interactive user interfaces, each must display + Appropriate Legal Notices; however, if the Program has interactive + interfaces that do not display Appropriate Legal Notices, your + work need not make them do so. + + A compilation of a covered work with other separate and independent +works, which are not by their nature extensions of the covered work, +and which are not combined with it such as to form a larger program, +in or on a volume of a storage or distribution medium, is called an +"aggregate" if the compilation and its resulting copyright are not +used to limit the access or legal rights of the compilation's users +beyond what the individual works permit. Inclusion of a covered work +in an aggregate does not cause this License to apply to the other +parts of the aggregate. + + 6. Conveying Non-Source Forms. + + You may convey a covered work in object code form under the terms +of sections 4 and 5, provided that you also convey the +machine-readable Corresponding Source under the terms of this License, +in one of these ways: + + a) Convey the object code in, or embodied in, a physical product + (including a physical distribution medium), accompanied by the + Corresponding Source fixed on a durable physical medium + customarily used for software interchange. + + b) Convey the object code in, or embodied in, a physical product + (including a physical distribution medium), accompanied by a + written offer, valid for at least three years and valid for as + long as you offer spare parts or customer support for that product + model, to give anyone who possesses the object code either (1) a + copy of the Corresponding Source for all the software in the + product that is covered by this License, on a durable physical + medium customarily used for software interchange, for a price no + more than your reasonable cost of physically performing this + conveying of source, or (2) access to copy the + Corresponding Source from a network server at no charge. + + c) Convey individual copies of the object code with a copy of the + written offer to provide the Corresponding Source. This + alternative is allowed only occasionally and noncommercially, and + only if you received the object code with such an offer, in accord + with subsection 6b. + + d) Convey the object code by offering access from a designated + place (gratis or for a charge), and offer equivalent access to the + Corresponding Source in the same way through the same place at no + further charge. You need not require recipients to copy the + Corresponding Source along with the object code. If the place to + copy the object code is a network server, the Corresponding Source + may be on a different server (operated by you or a third party) + that supports equivalent copying facilities, provided you maintain + clear directions next to the object code saying where to find the + Corresponding Source. Regardless of what server hosts the + Corresponding Source, you remain obligated to ensure that it is + available for as long as needed to satisfy these requirements. + + e) Convey the object code using peer-to-peer transmission, provided + you inform other peers where the object code and Corresponding + Source of the work are being offered to the general public at no + charge under subsection 6d. + + A separable portion of the object code, whose source code is excluded +from the Corresponding Source as a System Library, need not be +included in conveying the object code work. + + A "User Product" is either (1) a "consumer product", which means any +tangible personal property which is normally used for personal, family, +or household purposes, or (2) anything designed or sold for incorporation +into a dwelling. In determining whether a product is a consumer product, +doubtful cases shall be resolved in favor of coverage. For a particular +product received by a particular user, "normally used" refers to a +typical or common use of that class of product, regardless of the status +of the particular user or of the way in which the particular user +actually uses, or expects or is expected to use, the product. A product +is a consumer product regardless of whether the product has substantial +commercial, industrial or non-consumer uses, unless such uses represent +the only significant mode of use of the product. + + "Installation Information" for a User Product means any methods, +procedures, authorization keys, or other information required to install +and execute modified versions of a covered work in that User Product from +a modified version of its Corresponding Source. The information must +suffice to ensure that the continued functioning of the modified object +code is in no case prevented or interfered with solely because +modification has been made. + + If you convey an object code work under this section in, or with, or +specifically for use in, a User Product, and the conveying occurs as +part of a transaction in which the right of possession and use of the +User Product is transferred to the recipient in perpetuity or for a +fixed term (regardless of how the transaction is characterized), the +Corresponding Source conveyed under this section must be accompanied +by the Installation Information. But this requirement does not apply +if neither you nor any third party retains the ability to install +modified object code on the User Product (for example, the work has +been installed in ROM). + + The requirement to provide Installation Information does not include a +requirement to continue to provide support service, warranty, or updates +for a work that has been modified or installed by the recipient, or for +the User Product in which it has been modified or installed. Access to a +network may be denied when the modification itself materially and +adversely affects the operation of the network or violates the rules and +protocols for communication across the network. + + Corresponding Source conveyed, and Installation Information provided, +in accord with this section must be in a format that is publicly +documented (and with an implementation available to the public in +source code form), and must require no special password or key for +unpacking, reading or copying. + + 7. Additional Terms. + + "Additional permissions" are terms that supplement the terms of this +License by making exceptions from one or more of its conditions. +Additional permissions that are applicable to the entire Program shall +be treated as though they were included in this License, to the extent +that they are valid under applicable law. If additional permissions +apply only to part of the Program, that part may be used separately +under those permissions, but the entire Program remains governed by +this License without regard to the additional permissions. + + When you convey a copy of a covered work, you may at your option +remove any additional permissions from that copy, or from any part of +it. (Additional permissions may be written to require their own +removal in certain cases when you modify the work.) You may place +additional permissions on material, added by you to a covered work, +for which you have or can give appropriate copyright permission. + + Notwithstanding any other provision of this License, for material you +add to a covered work, you may (if authorized by the copyright holders of +that material) supplement the terms of this License with terms: + + a) Disclaiming warranty or limiting liability differently from the + terms of sections 15 and 16 of this License; or + + b) Requiring preservation of specified reasonable legal notices or + author attributions in that material or in the Appropriate Legal + Notices displayed by works containing it; or + + c) Prohibiting misrepresentation of the origin of that material, or + requiring that modified versions of such material be marked in + reasonable ways as different from the original version; or + + d) Limiting the use for publicity purposes of names of licensors or + authors of the material; or + + e) Declining to grant rights under trademark law for use of some + trade names, trademarks, or service marks; or + + f) Requiring indemnification of licensors and authors of that + material by anyone who conveys the material (or modified versions of + it) with contractual assumptions of liability to the recipient, for + any liability that these contractual assumptions directly impose on + those licensors and authors. + + All other non-permissive additional terms are considered "further +restrictions" within the meaning of section 10. If the Program as you +received it, or any part of it, contains a notice stating that it is +governed by this License along with a term that is a further +restriction, you may remove that term. If a license document contains +a further restriction but permits relicensing or conveying under this +License, you may add to a covered work material governed by the terms +of that license document, provided that the further restriction does +not survive such relicensing or conveying. + + If you add terms to a covered work in accord with this section, you +must place, in the relevant source files, a statement of the +additional terms that apply to those files, or a notice indicating +where to find the applicable terms. + + Additional terms, permissive or non-permissive, may be stated in the +form of a separately written license, or stated as exceptions; +the above requirements apply either way. + + 8. Termination. + + You may not propagate or modify a covered work except as expressly +provided under this License. Any attempt otherwise to propagate or +modify it is void, and will automatically terminate your rights under +this License (including any patent licenses granted under the third +paragraph of section 11). + + However, if you cease all violation of this License, then your +license from a particular copyright holder is reinstated (a) +provisionally, unless and until the copyright holder explicitly and +finally terminates your license, and (b) permanently, if the copyright +holder fails to notify you of the violation by some reasonable means +prior to 60 days after the cessation. + + Moreover, your license from a particular copyright holder is +reinstated permanently if the copyright holder notifies you of the +violation by some reasonable means, this is the first time you have +received notice of violation of this License (for any work) from that +copyright holder, and you cure the violation prior to 30 days after +your receipt of the notice. + + Termination of your rights under this section does not terminate the +licenses of parties who have received copies or rights from you under +this License. If your rights have been terminated and not permanently +reinstated, you do not qualify to receive new licenses for the same +material under section 10. + + 9. Acceptance Not Required for Having Copies. + + You are not required to accept this License in order to receive or +run a copy of the Program. Ancillary propagation of a covered work +occurring solely as a consequence of using peer-to-peer transmission +to receive a copy likewise does not require acceptance. However, +nothing other than this License grants you permission to propagate or +modify any covered work. These actions infringe copyright if you do +not accept this License. Therefore, by modifying or propagating a +covered work, you indicate your acceptance of this License to do so. + + 10. Automatic Licensing of Downstream Recipients. + + Each time you convey a covered work, the recipient automatically +receives a license from the original licensors, to run, modify and +propagate that work, subject to this License. You are not responsible +for enforcing compliance by third parties with this License. + + An "entity transaction" is a transaction transferring control of an +organization, or substantially all assets of one, or subdividing an +organization, or merging organizations. If propagation of a covered +work results from an entity transaction, each party to that +transaction who receives a copy of the work also receives whatever +licenses to the work the party's predecessor in interest had or could +give under the previous paragraph, plus a right to possession of the +Corresponding Source of the work from the predecessor in interest, if +the predecessor has it or can get it with reasonable efforts. + + You may not impose any further restrictions on the exercise of the +rights granted or affirmed under this License. For example, you may +not impose a license fee, royalty, or other charge for exercise of +rights granted under this License, and you may not initiate litigation +(including a cross-claim or counterclaim in a lawsuit) alleging that +any patent claim is infringed by making, using, selling, offering for +sale, or importing the Program or any portion of it. + + 11. Patents. + + A "contributor" is a copyright holder who authorizes use under this +License of the Program or a work on which the Program is based. The +work thus licensed is called the contributor's "contributor version". + + A contributor's "essential patent claims" are all patent claims +owned or controlled by the contributor, whether already acquired or +hereafter acquired, that would be infringed by some manner, permitted +by this License, of making, using, or selling its contributor version, +but do not include claims that would be infringed only as a +consequence of further modification of the contributor version. For +purposes of this definition, "control" includes the right to grant +patent sublicenses in a manner consistent with the requirements of +this License. + + Each contributor grants you a non-exclusive, worldwide, royalty-free +patent license under the contributor's essential patent claims, to +make, use, sell, offer for sale, import and otherwise run, modify and +propagate the contents of its contributor version. + + In the following three paragraphs, a "patent license" is any express +agreement or commitment, however denominated, not to enforce a patent +(such as an express permission to practice a patent or covenant not to +sue for patent infringement). To "grant" such a patent license to a +party means to make such an agreement or commitment not to enforce a +patent against the party. + + If you convey a covered work, knowingly relying on a patent license, +and the Corresponding Source of the work is not available for anyone +to copy, free of charge and under the terms of this License, through a +publicly available network server or other readily accessible means, +then you must either (1) cause the Corresponding Source to be so +available, or (2) arrange to deprive yourself of the benefit of the +patent license for this particular work, or (3) arrange, in a manner +consistent with the requirements of this License, to extend the patent +license to downstream recipients. "Knowingly relying" means you have +actual knowledge that, but for the patent license, your conveying the +covered work in a country, or your recipient's use of the covered work +in a country, would infringe one or more identifiable patents in that +country that you have reason to believe are valid. + + If, pursuant to or in connection with a single transaction or +arrangement, you convey, or propagate by procuring conveyance of, a +covered work, and grant a patent license to some of the parties +receiving the covered work authorizing them to use, propagate, modify +or convey a specific copy of the covered work, then the patent license +you grant is automatically extended to all recipients of the covered +work and works based on it. + + A patent license is "discriminatory" if it does not include within +the scope of its coverage, prohibits the exercise of, or is +conditioned on the non-exercise of one or more of the rights that are +specifically granted under this License. You may not convey a covered +work if you are a party to an arrangement with a third party that is +in the business of distributing software, under which you make payment +to the third party based on the extent of your activity of conveying +the work, and under which the third party grants, to any of the +parties who would receive the covered work from you, a discriminatory +patent license (a) in connection with copies of the covered work +conveyed by you (or copies made from those copies), or (b) primarily +for and in connection with specific products or compilations that +contain the covered work, unless you entered into that arrangement, +or that patent license was granted, prior to 28 March 2007. + + Nothing in this License shall be construed as excluding or limiting +any implied license or other defenses to infringement that may +otherwise be available to you under applicable patent law. + + 12. No Surrender of Others' Freedom. + + If conditions are imposed on you (whether by court order, agreement or +otherwise) that contradict the conditions of this License, they do not +excuse you from the conditions of this License. If you cannot convey a +covered work so as to satisfy simultaneously your obligations under this +License and any other pertinent obligations, then as a consequence you may +not convey it at all. For example, if you agree to terms that obligate you +to collect a royalty for further conveying from those to whom you convey +the Program, the only way you could satisfy both those terms and this +License would be to refrain entirely from conveying the Program. + + 13. Use with the GNU Affero General Public License. + + Notwithstanding any other provision of this License, you have +permission to link or combine any covered work with a work licensed +under version 3 of the GNU Affero General Public License into a single +combined work, and to convey the resulting work. The terms of this +License will continue to apply to the part which is the covered work, +but the special requirements of the GNU Affero General Public License, +section 13, concerning interaction through a network will apply to the +combination as such. + + 14. Revised Versions of this License. + + The Free Software Foundation may publish revised and/or new versions of +the GNU General Public License from time to time. Such new versions will +be similar in spirit to the present version, but may differ in detail to +address new problems or concerns. + + Each version is given a distinguishing version number. If the +Program specifies that a certain numbered version of the GNU General +Public License "or any later version" applies to it, you have the +option of following the terms and conditions either of that numbered +version or of any later version published by the Free Software +Foundation. If the Program does not specify a version number of the +GNU General Public License, you may choose any version ever published +by the Free Software Foundation. + + If the Program specifies that a proxy can decide which future +versions of the GNU General Public License can be used, that proxy's +public statement of acceptance of a version permanently authorizes you +to choose that version for the Program. + + Later license versions may give you additional or different +permissions. However, no additional obligations are imposed on any +author or copyright holder as a result of your choosing to follow a +later version. + + 15. Disclaimer of Warranty. + + THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY +APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT +HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY +OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, +THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR +PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM +IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF +ALL NECESSARY SERVICING, REPAIR OR CORRECTION. + + 16. Limitation of Liability. + + IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING +WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS +THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY +GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE +USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF +DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD +PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), +EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF +SUCH DAMAGES. + + 17. Interpretation of Sections 15 and 16. + + If the disclaimer of warranty and limitation of liability provided +above cannot be given local legal effect according to their terms, +reviewing courts shall apply local law that most closely approximates +an absolute waiver of all civil liability in connection with the +Program, unless a warranty or assumption of liability accompanies a +copy of the Program in return for a fee. + + END OF TERMS AND CONDITIONS + + How to Apply These Terms to Your New Programs + + If you develop a new program, and you want it to be of the greatest +possible use to the public, the best way to achieve this is to make it +free software which everyone can redistribute and change under these terms. + + To do so, attach the following notices to the program. It is safest +to attach them to the start of each source file to most effectively +state the exclusion of warranty; and each file should have at least +the "copyright" line and a pointer to where the full notice is found. + + {one line to give the program's name and a brief idea of what it does.} + Copyright (C) {year} {name of author} + + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see . + +Also add information on how to contact you by electronic and paper mail. + + If the program does terminal interaction, make it output a short +notice like this when it starts in an interactive mode: + + {project} Copyright (C) {year} {fullname} + This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'. + This is free software, and you are welcome to redistribute it + under certain conditions; type `show c' for details. + +The hypothetical commands `show w' and `show c' should show the appropriate +parts of the General Public License. Of course, your program's commands +might be different; for a GUI interface, you would use an "about box". + + You should also get your employer (if you work as a programmer) or school, +if any, to sign a "copyright disclaimer" for the program, if necessary. +For more information on this, and how to apply and follow the GNU GPL, see +. + + The GNU General Public License does not permit incorporating your program +into proprietary programs. If your program is a subroutine library, you +may consider it more useful to permit linking proprietary applications with +the library. If this is what you want to do, use the GNU Lesser General +Public License instead of this License. But first, please read +. diff --git a/plugins/lovata/toolbox/vendor/kharanenka/php-result-store/README.md b/plugins/lovata/toolbox/vendor/kharanenka/php-result-store/README.md new file mode 100644 index 000000000..3555dec8b --- /dev/null +++ b/plugins/lovata/toolbox/vendor/kharanenka/php-result-store/README.md @@ -0,0 +1,59 @@ +# Class Result + +Universal result store: + - status (bool) + - data (mixed) + - message (string) + - code (string) + +# Installation +Require this package in your `composer.json` and update composer. + +```php + +"kharanenka/php-result-store": "2.2.*" + +``` + +# Usage + +You can use class "Result" in any places your application. Class "Result" is singleton. + +## Set result data methods: + - setData(mixed $obData) - Set result data + - setTrue(mixed $obData = null) - Set result data with status "true" + - setFalse(mixed $obData = null) - Set result data with status "false" + - setMessage(string $sMessage) - Set message string + - setCode(string $sCode) - Set code value + +## Get result data method: + - status() - Get result status flag true/false + - data() - Get data value (object/array/string) + - message() - Get message value + - code() - Get code value + - get() - Get array result array + - getJSON() - Get array result array in JSON string + +```php + + //Result array + [ + 'status' => false/true + 'data' => object + 'message' => 'Message text', + 'code' => 1015, + ] +``` + +```php + //Example 1 + Result::setMessage('Error')->setCode(400)->setFalse(); + + ... + if(!Result::status()) { + return Result::get(); + } + + //Example 2 + return Result::setTrue($obData)->getJSON(); +``` diff --git a/plugins/lovata/toolbox/vendor/kharanenka/php-result-store/composer.json b/plugins/lovata/toolbox/vendor/kharanenka/php-result-store/composer.json new file mode 100644 index 000000000..439454c70 --- /dev/null +++ b/plugins/lovata/toolbox/vendor/kharanenka/php-result-store/composer.json @@ -0,0 +1,33 @@ +{ + "name": "kharanenka/php-result-store", + "description": "Universal result store", + "license": "GPL-3.0", + "keywords": [ + "php", + "result", + "store" + ], + "authors": [ + { + "name": "Andrey Kharanenka", + "email": "kharanenka@gmail.com" + } + ], + "version": "2.3.0", + "require": { + "php": ">=7.0" + }, + "require-dev": { + "phpunit/phpunit": "^6.5" + }, + "autoload": { + "psr-4": { + "Kharanenka\\Helper\\": "src/Kharanenka/Helper/" + } + }, + "autoload-dev": { + "psr-4": { + "Kharanenka\\Helper\\Tests\\": "tests/Kharanenka/Helper/" + } + } +} diff --git a/plugins/lovata/toolbox/vendor/kharanenka/php-result-store/phpunit.xml b/plugins/lovata/toolbox/vendor/kharanenka/php-result-store/phpunit.xml new file mode 100644 index 000000000..780a4e287 --- /dev/null +++ b/plugins/lovata/toolbox/vendor/kharanenka/php-result-store/phpunit.xml @@ -0,0 +1,13 @@ + + + + + tests/ + + + + + src/ + + + diff --git a/plugins/lovata/toolbox/vendor/kharanenka/php-result-store/src/Kharanenka/Helper/Result.php b/plugins/lovata/toolbox/vendor/kharanenka/php-result-store/src/Kharanenka/Helper/Result.php new file mode 100644 index 000000000..069586081 --- /dev/null +++ b/plugins/lovata/toolbox/vendor/kharanenka/php-result-store/src/Kharanenka/Helper/Result.php @@ -0,0 +1,34 @@ +$sMethodName(); + } + + return call_user_func_array([$obResult, $sMethodName], $arArguments); + } +} \ No newline at end of file diff --git a/plugins/lovata/toolbox/vendor/kharanenka/php-result-store/src/Kharanenka/Helper/ResultStore.php b/plugins/lovata/toolbox/vendor/kharanenka/php-result-store/src/Kharanenka/Helper/ResultStore.php new file mode 100644 index 000000000..f0a3cf3f7 --- /dev/null +++ b/plugins/lovata/toolbox/vendor/kharanenka/php-result-store/src/Kharanenka/Helper/ResultStore.php @@ -0,0 +1,161 @@ +obData = $obData; + + return $this; + } + + /** + * Set data value and status of result in true + * @param mixed $obData + * @return ResultStore + */ + public function setTrue($obData = null) + { + $this->bStatus = true; + $this->obData = $obData; + + return $this; + } + + /** + * Set data value and status of result in false + * @param mixed $obData + * @return ResultStore + */ + public function setFalse($obData = null) + { + $this->bStatus = false; + $this->obData = $obData; + + return $this; + } + + /** + * Set error message value + * @param string $sMessage + * @return ResultStore + */ + public function setMessage($sMessage) + { + $this->sErrorMessage = $sMessage; + + return $this; + } + + /** + * Set error code value + * @param string $sCode + * @return ResultStore + */ + public function setCode($sCode) + { + $this->sErrorCode = $sCode; + + return $this; + } + + /** + * @return bool + */ + public function status() + { + return $this->bStatus; + } + + /** + * @return string + */ + public function message() + { + return $this->sErrorMessage; + } + + /** + * @return string + */ + public function code() + { + return $this->sErrorCode; + } + + /** + * @return mixed + */ + public function data() + { + return $this->obData; + } + + /** + * Get result array + * @return array + */ + public function get() + { + $arResult = [ + 'status' => $this->status(), + 'data' => $this->data(), + 'message' => $this->message(), + 'code' => $this->code(), + ]; + + return $arResult; + } + + /** + * Generate result JSON string + * @return string + */ + public function getJSON() + { + return json_encode($this->get()); + } +} \ No newline at end of file diff --git a/plugins/lovata/toolbox/vendor/kharanenka/php-result-store/tests/Kharanenka/Helper/ResultStoreTest.php b/plugins/lovata/toolbox/vendor/kharanenka/php-result-store/tests/Kharanenka/Helper/ResultStoreTest.php new file mode 100644 index 000000000..b132aec55 --- /dev/null +++ b/plugins/lovata/toolbox/vendor/kharanenka/php-result-store/tests/Kharanenka/Helper/ResultStoreTest.php @@ -0,0 +1,96 @@ +assertInstanceOf(ResultStore::class, ResultStore::getInstance()); + } + + public function testSetTrue() + { + $expected = ['key1' => 'value1', 'key2' => 'value2']; + $resultStore = Result::setTrue($expected); + + $this->assertInstanceOf(ResultStore::class, $resultStore); + $this->assertSame($expected, Result::data()); + $this->assertSame($expected, $resultStore->data()); + $this->assertTrue($resultStore->status()); + } + + public function testSetFalse() + { + $expected = ['key1' => 'value1', 'key2' => 'value2']; + $resultStore = Result::setFalse($expected); + + $this->assertInstanceOf(ResultStore::class, $resultStore); + $this->assertSame($expected, Result::data()); + $this->assertSame($expected, $resultStore->data()); + $this->assertFalse($resultStore->status()); + } + + public function testSetMessage() + { + $expected = 'this_is_a_message'; + $resultStore = Result::setMessage($expected); + + $this->assertInstanceOf(ResultStore::class, $resultStore); + $this->assertSame($expected, Result::message()); + $this->assertSame($expected, $resultStore->message()); + } + + public function testSetCode() + { + $expected = 'this_is_error_code_value'; + $resultStore = Result::setCode($expected); + + $this->assertInstanceOf(ResultStore::class, $resultStore); + $this->assertSame($expected, Result::code()); + $this->assertSame($expected, $resultStore->code()); + } + + public function testSetData() + { + $expected = ['key1' => 'value1', 'key2' => 'value2']; + $resultStore = Result::setData($expected); + + $this->assertInstanceOf(ResultStore::class, $resultStore); + $this->assertSame($expected, Result::data()); + $this->assertSame($expected, $resultStore->data()); + } + + public function testGet() + { + $data = ['key1' => 'value1', 'key2' => 'value2']; + $message = 'this_is_a_message'; + $code = 'this_is_error_code_value'; + $expected = [ + 'status' => true, + 'data' => $data, + 'message' => $message, + 'code' => $code, + ]; + $resultStore = Result::setTrue($data); + $resultStore->setMessage($message)->setCode($code); + + $this->assertSame($expected, $resultStore->get()); + $this->assertSame($expected, Result::get()); + } + + public function testGetJSON() + { + $data = ['key1' => 'value1', 'key2' => 'value2']; + $message = 'this_is_a_message'; + $code = 'this_is_error_code_value'; + $expected = '{"status":true,"data":{"key1":"value1","key2":"value2"},"message":"this_is_a_message","code":"this_is_error_code_value"}'; + $resultStore = Result::setTrue($data); + $resultStore->setMessage($message)->setCode($code); + + $this->assertSame($expected, $resultStore->getJSON()); + $this->assertSame($expected, Result::getJSON()); + } +} diff --git a/plugins/tps/._.DS_Store b/plugins/tps/._.DS_Store deleted file mode 100644 index e305306b6331030943b29e2b8f4137ebe50839e4..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 4096 zcmZQz6=P>$Vqox1Ojhs@R)|o50+1L3ClDJkFz{^v(m+1nBL)UWIhYCu0iY;W;207T z#Cy5m0YnEw1y)6)f}Oyr5 QX$sZBh02GKH1^@s6 diff --git a/storage/framework/.gitignore b/storage/framework/.gitignore index 444b752ba..9e5d958c0 100644 --- a/storage/framework/.gitignore +++ b/storage/framework/.gitignore @@ -1,8 +1,5 @@ config.php routes.php compiled.php -services.php -classes.php -packages.php events.scanned.php routes.scanned.php diff --git a/storage/framework/classes.php b/storage/framework/classes.php new file mode 100644 index 000000000..adeb92906 --- /dev/null +++ b/storage/framework/classes.php @@ -0,0 +1,344 @@ + 'plugins/october/demo/Plugin.php', + 'october\\drivers\\Plugin' => 'plugins/october/drivers/Plugin.php', + 'rainlab\\builder\\Plugin' => 'plugins/rainlab/builder/Plugin.php', + 'backend\\Controllers\\index' => 'modules/backend/controllers/index.php', + 'backend\\Controllers\\auth' => 'modules/backend/controllers/auth.php', + 'system\\Controllers\\settings' => 'modules/system/controllers/settings.php', + 'system\\Controllers\\updates' => 'modules/system/controllers/updates.php', + 'rainlab\\user\\Plugin' => 'plugins/rainlab/user/Plugin.php', + 'RainLab\\User\\Models\\User' => 'plugins/rainlab/user/models/User.php', + 'RainLab\\User\\Models\\UserGroup' => 'plugins/rainlab/user/models/UserGroup.php', + 'RainLab\\User\\Classes\\UserRedirector' => 'plugins/rainlab/user/classes/UserRedirector.php', + 'rainlab\\user\\Controllers\\users' => 'plugins/rainlab/user/controllers/users.php', + 'rainlab\\user\\Controllers\\usergroups' => 'plugins/rainlab/user/controllers/usergroups.php', + 'cms\\Controllers\\index' => 'modules/cms/controllers/index.php', + 'October\\Demo\\Components\\Todo' => 'plugins/october/demo/components/Todo.php', + 'RainLab\\Builder\\Components\\RecordList' => 'plugins/rainlab/builder/components/RecordList.php', + 'RainLab\\Builder\\Components\\RecordDetails' => 'plugins/rainlab/builder/components/RecordDetails.php', + 'RainLab\\User\\Components\\Session' => 'plugins/rainlab/user/components/Session.php', + 'RainLab\\User\\Components\\Account' => 'plugins/rainlab/user/components/Account.php', + 'RainLab\\User\\Components\\ResetPassword' => 'plugins/rainlab/user/components/ResetPassword.php', + 'backend\\Controllers\\users' => 'modules/backend/controllers/users.php', + 'cms\\Controllers\\themes' => 'modules/cms/controllers/themes.php', + 'tps\\birzha\\Plugin' => 'plugins/tps/birzha/Plugin.php', + 'indikator\\user\\Plugin' => 'plugins/indikator/user/Plugin.php', + 'RainLab\\User\\Controllers\\Users' => 'plugins/rainlab/user/controllers/Users.php', + 'Indikator\\User\\ReportWidgets\\Users' => 'plugins/indikator/user/reportwidgets/Users.php', + 'RainLab\\User\\Models\\MailBlocker' => 'plugins/rainlab/user/models/MailBlocker.php', + 'RainLab\\User\\Models\\Settings' => 'plugins/rainlab/user/models/Settings.php', + 'RainLab\\User\\Facades\\Auth' => 'plugins/rainlab/user/facades/Auth.php', + 'RainLab\\User\\Classes\\AuthManager' => 'plugins/rainlab/user/classes/AuthManager.php', + 'RainLab\\User\\Models\\Throttle' => 'plugins/rainlab/user/models/Throttle.php', + 'lovata\\toolbox\\Plugin' => 'plugins/lovata/toolbox/Plugin.php', + 'Lovata\\Toolbox\\Models\\CommonSettings' => 'plugins/lovata/toolbox/models/CommonSettings.php', + 'Lovata\\Toolbox\\Models\\Settings' => 'plugins/lovata/toolbox/models/Settings.php', + 'Lovata\\Toolbox\\Traits\\Console\\LogoTrait' => 'plugins/lovata/toolbox/traits/console/LogoTrait.php', + 'Lovata\\Toolbox\\Classes\\Console\\ToolBoxHelper' => 'plugins/lovata/toolbox/classes/console/ToolBoxHelper.php', + 'Lovata\\Toolbox\\Classes\\Console\\CommonCreateFile' => 'plugins/lovata/toolbox/classes/console/CommonCreateFile.php', + 'Lovata\\Toolbox\\Classes\\Console\\CreateAll' => 'plugins/lovata/toolbox/classes/console/CreateAll.php', + 'Lovata\\Toolbox\\Classes\\Console\\CreatePlugin' => 'plugins/lovata/toolbox/classes/console/CreatePlugin.php', + 'Lovata\\Toolbox\\Classes\\Console\\CreateModel' => 'plugins/lovata/toolbox/classes/console/CreateModel.php', + 'Lovata\\Toolbox\\Classes\\Console\\CreateModelColumn' => 'plugins/lovata/toolbox/classes/console/CreateModelColumn.php', + 'Lovata\\Toolbox\\Classes\\Console\\CreateModelField' => 'plugins/lovata/toolbox/classes/console/CreateModelField.php', + 'Lovata\\Toolbox\\Traits\\Console\\UpdateLangFile' => 'plugins/lovata/toolbox/traits/console/UpdateLangFile.php', + 'Lovata\\Toolbox\\Classes\\Console\\CreateController' => 'plugins/lovata/toolbox/classes/console/CreateController.php', + 'Lovata\\Toolbox\\Classes\\Console\\CreateMigration' => 'plugins/lovata/toolbox/classes/console/CreateMigration.php', + 'Lovata\\Toolbox\\Classes\\Console\\CreateComponentData' => 'plugins/lovata/toolbox/classes/console/CreateComponentData.php', + 'Lovata\\Toolbox\\Classes\\Console\\CreateComponentList' => 'plugins/lovata/toolbox/classes/console/CreateComponentList.php', + 'Lovata\\Toolbox\\Classes\\Console\\CreateComponentPage' => 'plugins/lovata/toolbox/classes/console/CreateComponentPage.php', + 'Lovata\\Toolbox\\Classes\\Console\\CreateItem' => 'plugins/lovata/toolbox/classes/console/CreateItem.php', + 'Lovata\\Toolbox\\Classes\\Console\\CreateCollection' => 'plugins/lovata/toolbox/classes/console/CreateCollection.php', + 'Lovata\\Toolbox\\Classes\\Console\\CreateEventModel' => 'plugins/lovata/toolbox/classes/console/CreateEventModel.php', + 'Lovata\\Toolbox\\Classes\\Console\\CreateStore' => 'plugins/lovata/toolbox/classes/console/CreateStore.php', + 'Lovata\\Toolbox\\Classes\\Console\\CreateExtendBackendMenuHandler' => 'plugins/lovata/toolbox/classes/console/CreateExtendBackendMenuHandler.php', + 'Lovata\\Toolbox\\Classes\\Console\\CreateExtendModelFieldsHandler' => 'plugins/lovata/toolbox/classes/console/CreateExtendModelFieldsHandler.php', + 'Lovata\\Toolbox\\Classes\\Console\\CreateExtendModelColumnsHandler' => 'plugins/lovata/toolbox/classes/console/CreateExtendModelColumnsHandler.php', + 'lovata\\buddies\\Plugin' => 'plugins/lovata/buddies/Plugin.php', + 'Lovata\\Buddies\\Classes\\Event\\ExtendFieldHandler' => 'plugins/lovata/buddies/classes/event/ExtendFieldHandler.php', + 'Lovata\\Toolbox\\Classes\\Event\\ModelHandler' => 'plugins/lovata/toolbox/classes/event/ModelHandler.php', + 'Lovata\\Buddies\\Classes\\Event\\UserModelHandler' => 'plugins/lovata/buddies/classes/event/UserModelHandler.php', + 'Lovata\\Toolbox\\Traits\\Helpers\\TraitCached' => 'plugins/lovata/toolbox/traits/helpers/TraitCached.php', + 'Lovata\\Toolbox\\Traits\\Models\\SetPropertyAttributeTrait' => 'plugins/lovata/toolbox/traits/models/SetPropertyAttributeTrait.php', + 'Lovata\\Buddies\\Models\\User' => 'plugins/lovata/buddies/models/User.php', + 'lovata\\buddies\\Controllers\\users' => 'plugins/lovata/buddies/controllers/users.php', + 'lovata\\buddies\\Controllers\\properties' => 'plugins/lovata/buddies/controllers/properties.php', + 'Lovata\\Toolbox\\Models\\CommonProperty' => 'plugins/lovata/toolbox/models/CommonProperty.php', + 'Lovata\\Buddies\\Models\\Property' => 'plugins/lovata/buddies/models/Property.php', + 'Lovata\\Toolbox\\Traits\\Helpers\\TraitInitActiveLang' => 'plugins/lovata/toolbox/traits/helpers/TraitInitActiveLang.php', + 'Lovata\\Toolbox\\Classes\\Item\\MainItem' => 'plugins/lovata/toolbox/classes/item/MainItem.php', + 'Lovata\\Toolbox\\Classes\\Item\\ElementItem' => 'plugins/lovata/toolbox/classes/item/ElementItem.php', + 'Lovata\\Buddies\\Classes\\Item\\UserItem' => 'plugins/lovata/buddies/classes/item/UserItem.php', + 'Lovata\\Toolbox\\Classes\\Item\\ItemStorage' => 'plugins/lovata/toolbox/classes/item/ItemStorage.php', + 'lovata\\shopaholic\\Plugin' => 'plugins/lovata/shopaholic/Plugin.php', + 'Lovata\\Shopaholic\\Classes\\Event\\ExtendMenuHandler' => 'plugins/lovata/shopaholic/classes/event/ExtendMenuHandler.php', + 'Lovata\\Shopaholic\\Classes\\Event\\Brand\\BrandModelHandler' => 'plugins/lovata/shopaholic/classes/event/brand/BrandModelHandler.php', + 'Lovata\\Shopaholic\\Models\\Brand' => 'plugins/lovata/shopaholic/models/Brand.php', + 'Lovata\\Shopaholic\\Classes\\Event\\Category\\CategoryModelHandler' => 'plugins/lovata/shopaholic/classes/event/category/CategoryModelHandler.php', + 'Lovata\\Shopaholic\\Models\\Category' => 'plugins/lovata/shopaholic/models/Category.php', + 'Lovata\\Shopaholic\\Classes\\Event\\Currency\\CurrencyModelHandler' => 'plugins/lovata/shopaholic/classes/event/currency/CurrencyModelHandler.php', + 'Lovata\\Shopaholic\\Models\\Currency' => 'plugins/lovata/shopaholic/models/Currency.php', + 'Lovata\\Shopaholic\\Classes\\Event\\Measure\\MeasureModelHandler' => 'plugins/lovata/shopaholic/classes/event/measure/MeasureModelHandler.php', + 'Lovata\\Shopaholic\\Models\\Measure' => 'plugins/lovata/shopaholic/models/Measure.php', + 'Lovata\\Shopaholic\\Classes\\Event\\Offer\\OfferModelHandler' => 'plugins/lovata/shopaholic/classes/event/offer/OfferModelHandler.php', + 'Lovata\\Toolbox\\Traits\\Helpers\\PriceHelperTrait' => 'plugins/lovata/toolbox/traits/helpers/PriceHelperTrait.php', + 'Lovata\\Shopaholic\\Models\\Offer' => 'plugins/lovata/shopaholic/models/Offer.php', + 'Lovata\\Toolbox\\Classes\\Event\\AbstractBackendFieldHandler' => 'plugins/lovata/toolbox/classes/event/AbstractBackendFieldHandler.php', + 'Lovata\\Shopaholic\\Classes\\Event\\Offer\\ExtendOfferFieldsHandler' => 'plugins/lovata/shopaholic/classes/event/offer/ExtendOfferFieldsHandler.php', + 'Lovata\\Shopaholic\\Classes\\Event\\Price\\PriceModelHandler' => 'plugins/lovata/shopaholic/classes/event/price/PriceModelHandler.php', + 'Lovata\\Shopaholic\\Models\\Price' => 'plugins/lovata/shopaholic/models/Price.php', + 'Lovata\\Shopaholic\\Classes\\Event\\Product\\ProductModelHandler' => 'plugins/lovata/shopaholic/classes/event/product/ProductModelHandler.php', + 'Lovata\\Shopaholic\\Models\\Product' => 'plugins/lovata/shopaholic/models/Product.php', + 'Lovata\\Toolbox\\Classes\\Event\\AbstractModelRelationHandler' => 'plugins/lovata/toolbox/classes/event/AbstractModelRelationHandler.php', + 'Lovata\\Shopaholic\\Classes\\Event\\Product\\ProductRelationHandler' => 'plugins/lovata/shopaholic/classes/event/product/ProductRelationHandler.php', + 'Lovata\\Shopaholic\\Classes\\Event\\PromoBlock\\PromoBlockModelHandler' => 'plugins/lovata/shopaholic/classes/event/promoblock/PromoBlockModelHandler.php', + 'Lovata\\Shopaholic\\Models\\PromoBlock' => 'plugins/lovata/shopaholic/models/PromoBlock.php', + 'Lovata\\Shopaholic\\Classes\\Event\\PromoBlock\\PromoBlockRelationHandler' => 'plugins/lovata/shopaholic/classes/event/promoblock/PromoBlockRelationHandler.php', + 'Lovata\\Shopaholic\\Classes\\Event\\Tax\\TaxModelHandler' => 'plugins/lovata/shopaholic/classes/event/tax/TaxModelHandler.php', + 'Lovata\\Shopaholic\\Models\\Tax' => 'plugins/lovata/shopaholic/models/Tax.php', + 'Lovata\\Shopaholic\\Classes\\Event\\Tax\\TaxRelationHandler' => 'plugins/lovata/shopaholic/classes/event/tax/TaxRelationHandler.php', + 'Lovata\\Shopaholic\\Classes\\Event\\Tax\\ExtendTaxFieldsHandler' => 'plugins/lovata/shopaholic/classes/event/tax/ExtendTaxFieldsHandler.php', + 'lovata\\shopaholic\\Controllers\\products' => 'plugins/lovata/shopaholic/controllers/products.php', + 'Lovata\\Shopaholic\\Classes\\Helper\\CurrencyHelper' => 'plugins/lovata/shopaholic/classes/helper/CurrencyHelper.php', + 'Lovata\\Toolbox\\Classes\\Storage\\AbstractUserStorage' => 'plugins/lovata/toolbox/classes/storage/AbstractUserStorage.php', + 'Lovata\\Toolbox\\Classes\\Storage\\UserStorage' => 'plugins/lovata/toolbox/classes/storage/UserStorage.php', + 'Lovata\\Toolbox\\Classes\\Storage\\CookieUserStorage' => 'plugins/lovata/toolbox/classes/storage/CookieUserStorage.php', + 'Lovata\\Toolbox\\Classes\\Helper\\UserHelper' => 'plugins/lovata/toolbox/classes/helper/UserHelper.php', + 'Lovata\\Toolbox\\Classes\\Helper\\Users\\AbstractUserHelper' => 'plugins/lovata/toolbox/classes/helper/users/AbstractUserHelper.php', + 'Lovata\\Toolbox\\Classes\\Helper\\Users\\RainLabUserHelper' => 'plugins/lovata/toolbox/classes/helper/users/RainLabUserHelper.php', + 'Lovata\\Shopaholic\\Models\\Settings' => 'plugins/lovata/shopaholic/models/Settings.php', + 'lovata\\shopaholic\\Controllers\\categories' => 'plugins/lovata/shopaholic/controllers/categories.php', + 'lovata\\shopaholic\\Controllers\\brands' => 'plugins/lovata/shopaholic/controllers/brands.php', + 'lovata\\shopaholic\\Controllers\\promoblocks' => 'plugins/lovata/shopaholic/controllers/promoblocks.php', + 'Lovata\\Toolbox\\Classes\\Helper\\PageHelper' => 'plugins/lovata/toolbox/classes/helper/PageHelper.php', + 'Lovata\\Shopaholic\\Classes\\Console\\CheckTableIntegrity' => 'plugins/lovata/shopaholic/classes/console/CheckTableIntegrity.php', + 'Lovata\\Shopaholic\\Classes\\Console\\ImportFromXML' => 'plugins/lovata/shopaholic/classes/console/ImportFromXML.php', + 'Lovata\\Shopaholic\\Classes\\Console\\PreconfigureImportSettingsFromXML' => 'plugins/lovata/shopaholic/classes/console/PreconfigureImportSettingsFromXML.php', + 'lovata\\shopaholic\\Controllers\\measures' => 'plugins/lovata/shopaholic/controllers/measures.php', + 'rainlab\\translate\\Plugin' => 'plugins/rainlab/translate/Plugin.php', + 'RainLab\\Translate\\Models\\Locale' => 'plugins/rainlab/translate/models/Locale.php', + 'RainLab\\Translate\\Models\\Attribute' => 'plugins/rainlab/translate/models/Attribute.php', + 'rainlab\\translate\\Controllers\\locales' => 'plugins/rainlab/translate/controllers/locales.php', + 'RainLab\\Translate\\Classes\\TranslatableBehavior' => 'plugins/rainlab/translate/classes/TranslatableBehavior.php', + 'RainLab\\Translate\\Behaviors\\TranslatableModel' => 'plugins/rainlab/translate/behaviors/TranslatableModel.php', + 'RainLab\\Translate\\Classes\\Translator' => 'plugins/rainlab/translate/classes/Translator.php', + 'RainLab\\Translate\\Classes\\EventRegistry' => 'plugins/rainlab/translate/classes/EventRegistry.php', + 'RainLab\\Translate\\Traits\\MLControl' => 'plugins/rainlab/translate/traits/MLControl.php', + 'RainLab\\Translate\\FormWidgets\\MLText' => 'plugins/rainlab/translate/formwidgets/MLText.php', + 'Lovata\\Shopaholic\\Classes\\Item\\MeasureItem' => 'plugins/lovata/shopaholic/classes/item/MeasureItem.php', + 'RainLab\\Translate\\Behaviors\\TranslatablePageUrl' => 'plugins/rainlab/translate/behaviors/TranslatablePageUrl.php', + 'RainLab\\Translate\\Behaviors\\TranslatablePage' => 'plugins/rainlab/translate/behaviors/TranslatablePage.php', + 'Rainlab\\Translate\\Console\\ScanCommand' => 'plugins/rainlab/translate/console/ScanCommand.php', + 'lovata\\shopaholic\\Controllers\\currencies' => 'plugins/lovata/shopaholic/controllers/currencies.php', + 'lovata\\shopaholic\\Controllers\\taxes' => 'plugins/lovata/shopaholic/controllers/taxes.php', + 'lovata\\shopaholic\\Controllers\\pricetypes' => 'plugins/lovata/shopaholic/controllers/pricetypes.php', + 'Lovata\\Shopaholic\\Models\\PriceType' => 'plugins/lovata/shopaholic/models/PriceType.php', + 'RainLab\\Translate\\FormWidgets\\MLTextarea' => 'plugins/rainlab/translate/formwidgets/MLTextarea.php', + 'RainLab\\Translate\\FormWidgets\\MLRichEditor' => 'plugins/rainlab/translate/formwidgets/MLRichEditor.php', + 'RainLab\\Translate\\Classes\\LocaleMiddleware' => 'plugins/rainlab/translate/classes/LocaleMiddleware.php', + 'RainLab\\Translate\\Models\\Message' => 'plugins/rainlab/translate/models/Message.php', + 'Lovata\\Toolbox\\Components\\Pagination' => 'plugins/lovata/toolbox/components/Pagination.php', + 'RainLab\\Translate\\Components\\LocalePicker' => 'plugins/rainlab/translate/components/LocalePicker.php', + 'RainLab\\Translate\\Components\\AlternateHrefLangElements' => 'plugins/rainlab/translate/components/AlternateHrefLangElements.php', + 'Lovata\\Shopaholic\\Components\\CategoryList' => 'plugins/lovata/shopaholic/components/CategoryList.php', + 'Lovata\\Toolbox\\Traits\\Helpers\\TraitComponentNotFoundResponse' => 'plugins/lovata/toolbox/traits/helpers/TraitComponentNotFoundResponse.php', + 'Lovata\\Toolbox\\Classes\\Component\\ElementPage' => 'plugins/lovata/toolbox/classes/component/ElementPage.php', + 'Lovata\\Shopaholic\\Components\\CategoryPage' => 'plugins/lovata/shopaholic/components/CategoryPage.php', + 'Lovata\\Toolbox\\Classes\\Component\\ElementData' => 'plugins/lovata/toolbox/classes/component/ElementData.php', + 'Lovata\\Shopaholic\\Components\\CategoryData' => 'plugins/lovata/shopaholic/components/CategoryData.php', + 'Lovata\\Shopaholic\\Components\\Breadcrumbs' => 'plugins/lovata/shopaholic/components/Breadcrumbs.php', + 'Lovata\\Shopaholic\\Components\\CurrencyList' => 'plugins/lovata/shopaholic/components/CurrencyList.php', + 'Lovata\\Shopaholic\\Components\\ProductData' => 'plugins/lovata/shopaholic/components/ProductData.php', + 'Lovata\\Shopaholic\\Components\\ProductPage' => 'plugins/lovata/shopaholic/components/ProductPage.php', + 'Lovata\\Toolbox\\Classes\\Component\\SortingElementList' => 'plugins/lovata/toolbox/classes/component/SortingElementList.php', + 'Lovata\\Shopaholic\\Components\\ProductList' => 'plugins/lovata/shopaholic/components/ProductList.php', + 'Lovata\\Toolbox\\Classes\\Store\\AbstractListStore' => 'plugins/lovata/toolbox/classes/store/AbstractListStore.php', + 'Lovata\\Shopaholic\\Classes\\Store\\ProductListStore' => 'plugins/lovata/shopaholic/classes/store/ProductListStore.php', + 'Lovata\\Shopaholic\\Components\\BrandData' => 'plugins/lovata/shopaholic/components/BrandData.php', + 'Lovata\\Shopaholic\\Components\\BrandPage' => 'plugins/lovata/shopaholic/components/BrandPage.php', + 'Lovata\\Shopaholic\\Components\\BrandList' => 'plugins/lovata/shopaholic/components/BrandList.php', + 'Lovata\\Shopaholic\\Components\\PromoBlockData' => 'plugins/lovata/shopaholic/components/PromoBlockData.php', + 'Lovata\\Shopaholic\\Components\\PromoBlockPage' => 'plugins/lovata/shopaholic/components/PromoBlockPage.php', + 'Lovata\\Shopaholic\\Components\\PromoBlockList' => 'plugins/lovata/shopaholic/components/PromoBlockList.php', + 'Lovata\\Shopaholic\\Classes\\Store\\PromoBlockListStore' => 'plugins/lovata/shopaholic/classes/store/PromoBlockListStore.php', + 'vdomah\\jwtauth\\Plugin' => 'plugins/vdomah/jwtauth/Plugin.php', + 'Vdomah\\JWTAuth\\Classes\\JWTAuthServiceProvider' => 'plugins/vdomah/jwtauth/classes/JWTAuthServiceProvider.php', + 'Vdomah\\JWTAuth\\Models\\Settings' => 'plugins/vdomah/jwtauth/models/Settings.php', + 'rainlab\\pages\\Plugin' => 'plugins/rainlab/pages/Plugin.php', + 'RainLab\\Pages\\Classes\\SnippetManager' => 'plugins/rainlab/pages/classes/SnippetManager.php', + 'rainlab\\pages\\Controllers\\index' => 'plugins/rainlab/pages/controllers/index.php', + 'RainLab\\Pages\\Widgets\\PageList' => 'plugins/rainlab/pages/widgets/PageList.php', + 'RainLab\\Pages\\Widgets\\MenuList' => 'plugins/rainlab/pages/widgets/MenuList.php', + 'RainLab\\Pages\\Widgets\\SnippetList' => 'plugins/rainlab/pages/widgets/SnippetList.php', + 'RainLab\\Pages\\Classes\\PageList' => 'plugins/rainlab/pages/classes/PageList.php', + 'RainLab\\Pages\\Classes\\Page' => 'plugins/rainlab/pages/classes/Page.php', + 'RainLab\\Translate\\Behaviors\\TranslatableCmsObject' => 'plugins/rainlab/translate/behaviors/TranslatableCmsObject.php', + 'RainLab\\Pages\\Classes\\Menu' => 'plugins/rainlab/pages/classes/Menu.php', + 'RainLab\\Pages\\Classes\\Content' => 'plugins/rainlab/pages/classes/Content.php', + 'RainLab\\Translate\\Classes\\MLCmsObject' => 'plugins/rainlab/translate/classes/MLCmsObject.php', + 'RainLab\\Translate\\Classes\\MLContent' => 'plugins/rainlab/translate/classes/MLContent.php', + 'RainLab\\Pages\\Classes\\Controller' => 'plugins/rainlab/pages/classes/Controller.php', + 'RainLab\\Pages\\Classes\\Router' => 'plugins/rainlab/pages/classes/Router.php', + 'RainLab\\Pages\\Components\\ChildPages' => 'plugins/rainlab/pages/components/ChildPages.php', + 'RainLab\\Pages\\Components\\StaticPage' => 'plugins/rainlab/pages/components/StaticPage.php', + 'RainLab\\Pages\\Components\\StaticMenu' => 'plugins/rainlab/pages/components/StaticMenu.php', + 'RainLab\\Pages\\Components\\StaticBreadcrumbs' => 'plugins/rainlab/pages/components/StaticBreadcrumbs.php', + 'RainLab\\Pages\\Classes\\Snippet' => 'plugins/rainlab/pages/classes/Snippet.php', + 'RainLab\\Pages\\FormWidgets\\MenuItems' => 'plugins/rainlab/pages/formwidgets/MenuItems.php', + 'RainLab\\Pages\\Classes\\MenuItem' => 'plugins/rainlab/pages/classes/MenuItem.php', + 'Rainlab\\Pages\\FormWidgets\\MenuItemSearch' => 'plugins/rainlab/pages/formwidgets/MenuItemSearch.php', + 'Lovata\\Shopaholic\\Classes\\Helper\\CommonMenuType' => 'plugins/lovata/shopaholic/classes/helper/CommonMenuType.php', + 'Lovata\\Shopaholic\\Classes\\Helper\\CatalogMenuType' => 'plugins/lovata/shopaholic/classes/helper/CatalogMenuType.php', + 'Lovata\\Shopaholic\\Classes\\Helper\\CategoryMenuType' => 'plugins/lovata/shopaholic/classes/helper/CategoryMenuType.php', + 'Lovata\\Shopaholic\\Classes\\Helper\\AllCategoriesMenuType' => 'plugins/lovata/shopaholic/classes/helper/AllCategoriesMenuType.php', + 'janvince\\smallcontactform\\Plugin' => 'plugins/janvince/smallcontactform/Plugin.php', + 'janvince\\smallrecords\\Plugin' => 'plugins/janvince/smallrecords/Plugin.php', + 'JanVince\\SmallRecords\\Models\\Area' => 'plugins/janvince/smallrecords/models/Area.php', + 'JanVince\\SmallRecords\\Models\\Settings' => 'plugins/janvince/smallrecords/models/Settings.php', + 'janvince\\smallrecords\\Controllers\\areas' => 'plugins/janvince/smallrecords/controllers/areas.php', + 'JanVince\\SmallRecords\\Models\\RecordImport' => 'plugins/janvince/smallrecords/models/RecordImport.php', + 'JanVince\\SmallRecords\\Models\\RecordExport' => 'plugins/janvince/smallrecords/models/RecordExport.php', + 'RainLab\\Translate\\FormWidgets\\MLRepeater' => 'plugins/rainlab/translate/formwidgets/MLRepeater.php', + 'janvince\\smallrecords\\Controllers\\categories' => 'plugins/janvince/smallrecords/controllers/categories.php', + 'JanVince\\SmallRecords\\Models\\CategoryImport' => 'plugins/janvince/smallrecords/models/CategoryImport.php', + 'JanVince\\SmallRecords\\Models\\CategoryExport' => 'plugins/janvince/smallrecords/models/CategoryExport.php', + 'JanVince\\SmallRecords\\Models\\Category' => 'plugins/janvince/smallrecords/models/Category.php', + 'janvince\\smallrecords\\Controllers\\tags' => 'plugins/janvince/smallrecords/controllers/tags.php', + 'JanVince\\SmallRecords\\Models\\Tag' => 'plugins/janvince/smallrecords/models/Tag.php', + 'janvince\\smallrecords\\Controllers\\attributes' => 'plugins/janvince/smallrecords/controllers/attributes.php', + 'JanVince\\SmallRecords\\Models\\Attribute' => 'plugins/janvince/smallrecords/models/Attribute.php', + 'Lovata\\Shopaholic\\Classes\\Item\\CategoryItem' => 'plugins/lovata/shopaholic/classes/item/CategoryItem.php', + 'Lovata\\Shopaholic\\Classes\\Store\\CategoryListStore' => 'plugins/lovata/shopaholic/classes/store/CategoryListStore.php', + 'Lovata\\Toolbox\\Classes\\Store\\AbstractStore' => 'plugins/lovata/toolbox/classes/store/AbstractStore.php', + 'Lovata\\Toolbox\\Classes\\Store\\AbstractStoreWithoutParam' => 'plugins/lovata/toolbox/classes/store/AbstractStoreWithoutParam.php', + 'Lovata\\Shopaholic\\Classes\\Store\\Category\\TopLevelListStore' => 'plugins/lovata/shopaholic/classes/store/category/TopLevelListStore.php', + 'Lovata\\Shopaholic\\Classes\\Store\\Category\\ActiveListStore' => 'plugins/lovata/shopaholic/classes/store/category/ActiveListStore.php', + 'Lovata\\Toolbox\\Classes\\Store\\AbstractStoreWithParam' => 'plugins/lovata/toolbox/classes/store/AbstractStoreWithParam.php', + 'Lovata\\Shopaholic\\Classes\\Store\\Product\\SortingListStore' => 'plugins/lovata/shopaholic/classes/store/product/SortingListStore.php', + 'Lovata\\Shopaholic\\Classes\\Store\\Product\\ListByCategoryStore' => 'plugins/lovata/shopaholic/classes/store/product/ListByCategoryStore.php', + 'Lovata\\Shopaholic\\Classes\\Store\\Product\\ListByBrandStore' => 'plugins/lovata/shopaholic/classes/store/product/ListByBrandStore.php', + 'Lovata\\Shopaholic\\Classes\\Store\\Product\\ActiveListStore' => 'plugins/lovata/shopaholic/classes/store/product/ActiveListStore.php', + 'Lovata\\Shopaholic\\Classes\\Store\\Product\\ListByPromoBlockStore' => 'plugins/lovata/shopaholic/classes/store/product/ListByPromoBlockStore.php', + 'Lovata\\Shopaholic\\Classes\\Item\\ProductItem' => 'plugins/lovata/shopaholic/classes/item/ProductItem.php', + 'Lovata\\Shopaholic\\Classes\\Store\\BrandListStore' => 'plugins/lovata/shopaholic/classes/store/BrandListStore.php', + 'Lovata\\Shopaholic\\Classes\\Store\\Brand\\SortingListStore' => 'plugins/lovata/shopaholic/classes/store/brand/SortingListStore.php', + 'Lovata\\Shopaholic\\Classes\\Store\\Brand\\ListByCategoryStore' => 'plugins/lovata/shopaholic/classes/store/brand/ListByCategoryStore.php', + 'Lovata\\Shopaholic\\Classes\\Store\\Brand\\ActiveListStore' => 'plugins/lovata/shopaholic/classes/store/brand/ActiveListStore.php', + 'Lovata\\Toolbox\\Classes\\Helper\\PriceHelper' => 'plugins/lovata/toolbox/classes/helper/PriceHelper.php', + 'Lovata\\Shopaholic\\Classes\\Store\\OfferListStore' => 'plugins/lovata/shopaholic/classes/store/OfferListStore.php', + 'Lovata\\Shopaholic\\Classes\\Store\\Offer\\SortingListStore' => 'plugins/lovata/shopaholic/classes/store/offer/SortingListStore.php', + 'Lovata\\Shopaholic\\Classes\\Store\\Offer\\ActiveListStore' => 'plugins/lovata/shopaholic/classes/store/offer/ActiveListStore.php', + 'Lovata\\Shopaholic\\Classes\\Item\\OfferItem' => 'plugins/lovata/shopaholic/classes/item/OfferItem.php', + 'lovata\\shopaholic\\Controllers\\offers' => 'plugins/lovata/shopaholic/controllers/offers.php', + 'TPS\\Birzha\\Models\\Settings' => 'plugins/tps/birzha/models/Settings.php', + 'rainlab\\builder\\Controllers\\index' => 'plugins/rainlab/builder/controllers/index.php', + 'RainLab\\Builder\\Classes\\IndexOperationsBehaviorBase' => 'plugins/rainlab/builder/classes/IndexOperationsBehaviorBase.php', + 'RainLab\\Builder\\Behaviors\\IndexPluginOperations' => 'plugins/rainlab/builder/behaviors/IndexPluginOperations.php', + 'RainLab\\Builder\\Behaviors\\IndexDatabaseTableOperations' => 'plugins/rainlab/builder/behaviors/IndexDatabaseTableOperations.php', + 'RainLab\\Builder\\Behaviors\\IndexModelOperations' => 'plugins/rainlab/builder/behaviors/IndexModelOperations.php', + 'RainLab\\Builder\\Behaviors\\IndexModelFormOperations' => 'plugins/rainlab/builder/behaviors/IndexModelFormOperations.php', + 'RainLab\\Builder\\FormWidgets\\FormBuilder' => 'plugins/rainlab/builder/formwidgets/FormBuilder.php', + 'RainLab\\Builder\\Behaviors\\IndexModelListOperations' => 'plugins/rainlab/builder/behaviors/IndexModelListOperations.php', + 'RainLab\\Builder\\Behaviors\\IndexPermissionsOperations' => 'plugins/rainlab/builder/behaviors/IndexPermissionsOperations.php', + 'RainLab\\Builder\\Behaviors\\IndexMenusOperations' => 'plugins/rainlab/builder/behaviors/IndexMenusOperations.php', + 'RainLab\\Builder\\Behaviors\\IndexVersionsOperations' => 'plugins/rainlab/builder/behaviors/IndexVersionsOperations.php', + 'RainLab\\Builder\\Behaviors\\IndexLocalizationOperations' => 'plugins/rainlab/builder/behaviors/IndexLocalizationOperations.php', + 'RainLab\\Builder\\Behaviors\\IndexControllerOperations' => 'plugins/rainlab/builder/behaviors/IndexControllerOperations.php', + 'RainLab\\Builder\\Behaviors\\IndexDataRegistry' => 'plugins/rainlab/builder/behaviors/IndexDataRegistry.php', + 'RainLab\\Builder\\Widgets\\PluginList' => 'plugins/rainlab/builder/widgets/PluginList.php', + 'RainLab\\Builder\\Widgets\\DatabaseTableList' => 'plugins/rainlab/builder/widgets/DatabaseTableList.php', + 'RainLab\\Builder\\Widgets\\ModelList' => 'plugins/rainlab/builder/widgets/ModelList.php', + 'RainLab\\Builder\\Widgets\\VersionList' => 'plugins/rainlab/builder/widgets/VersionList.php', + 'RainLab\\Builder\\Widgets\\LanguageList' => 'plugins/rainlab/builder/widgets/LanguageList.php', + 'RainLab\\Builder\\Widgets\\ControllerList' => 'plugins/rainlab/builder/widgets/ControllerList.php', + 'RainLab\\Builder\\Models\\Settings' => 'plugins/rainlab/builder/models/Settings.php', + 'RainLab\\Builder\\Classes\\BaseModel' => 'plugins/rainlab/builder/classes/BaseModel.php', + 'RainLab\\Builder\\Classes\\YamlModel' => 'plugins/rainlab/builder/classes/YamlModel.php', + 'RainLab\\Builder\\Classes\\PluginYamlModel' => 'plugins/rainlab/builder/classes/PluginYamlModel.php', + 'RainLab\\Builder\\Classes\\PluginBaseModel' => 'plugins/rainlab/builder/classes/PluginBaseModel.php', + 'RainLab\\Builder\\Classes\\IconList' => 'plugins/rainlab/builder/classes/IconList.php', + 'RainLab\\Builder\\Classes\\PluginCode' => 'plugins/rainlab/builder/classes/PluginCode.php', + 'RainLab\\Builder\\Classes\\PluginVector' => 'plugins/rainlab/builder/classes/PluginVector.php', + 'RainLab\\Builder\\Classes\\DatabaseTableModel' => 'plugins/rainlab/builder/classes/DatabaseTableModel.php', + 'RainLab\\Builder\\Classes\\EnumDbType' => 'plugins/rainlab/builder/classes/EnumDbType.php', + 'RainLab\\Builder\\Classes\\ModelModel' => 'plugins/rainlab/builder/classes/ModelModel.php', + 'RainLab\\Builder\\Classes\\ModelFileParser' => 'plugins/rainlab/builder/classes/ModelFileParser.php', + 'RainLab\\Builder\\Classes\\PhpSourceStream' => 'plugins/rainlab/builder/classes/PhpSourceStream.php', + 'RainLab\\Builder\\Classes\\ModelYamlModel' => 'plugins/rainlab/builder/classes/ModelYamlModel.php', + 'RainLab\\Builder\\Classes\\ModelFormModel' => 'plugins/rainlab/builder/classes/ModelFormModel.php', + 'RainLab\\Builder\\Classes\\ModelListModel' => 'plugins/rainlab/builder/classes/ModelListModel.php', + 'RainLab\\Builder\\Classes\\PluginVersion' => 'plugins/rainlab/builder/classes/PluginVersion.php', + 'RainLab\\Builder\\Classes\\LocalizationModel' => 'plugins/rainlab/builder/classes/LocalizationModel.php', + 'RainLab\\Builder\\Classes\\ControllerModel' => 'plugins/rainlab/builder/classes/ControllerModel.php', + 'RainLab\\Builder\\Classes\\MigrationColumnType' => 'plugins/rainlab/builder/classes/MigrationColumnType.php', + 'RainLab\\Builder\\Classes\\DatabaseTableSchemaCreator' => 'plugins/rainlab/builder/classes/DatabaseTableSchemaCreator.php', + 'RainLab\\Builder\\Classes\\TableMigrationCodeGenerator' => 'plugins/rainlab/builder/classes/TableMigrationCodeGenerator.php', + 'RainLab\\Builder\\Classes\\MigrationModel' => 'plugins/rainlab/builder/classes/MigrationModel.php', + 'RainLab\\Builder\\Classes\\ControlLibrary' => 'plugins/rainlab/builder/classes/ControlLibrary.php', + 'RainLab\\Builder\\Classes\\StandardControlsRegistry' => 'plugins/rainlab/builder/classes/StandardControlsRegistry.php', + 'RainLab\\Builder\\Classes\\ControlDesignTimeProviderBase' => 'plugins/rainlab/builder/classes/ControlDesignTimeProviderBase.php', + 'RainLab\\Builder\\Widgets\\DefaultControlDesignTimeProvider' => 'plugins/rainlab/builder/widgets/DefaultControlDesignTimeProvider.php', + 'RainLab\\Builder\\Classes\\FilesystemGenerator' => 'plugins/rainlab/builder/classes/FilesystemGenerator.php', + 'RainLab\\Builder\\Classes\\MenusModel' => 'plugins/rainlab/builder/classes/MenusModel.php', + 'RainLab\\Builder\\Classes\\ControllerBehaviorLibrary' => 'plugins/rainlab/builder/classes/ControllerBehaviorLibrary.php', + 'RainLab\\Builder\\Classes\\StandardBehaviorsRegistry' => 'plugins/rainlab/builder/classes/StandardBehaviorsRegistry.php', + 'RainLab\\Builder\\Classes\\PermissionsModel' => 'plugins/rainlab/builder/classes/PermissionsModel.php', + 'RainLab\\Builder\\FormWidgets\\MenuEditor' => 'plugins/rainlab/builder/formwidgets/MenuEditor.php', + 'RainLab\\Builder\\Classes\\ControllerGenerator' => 'plugins/rainlab/builder/classes/ControllerGenerator.php', + 'RainLab\\Builder\\Classes\\BehaviorDesignTimeProviderBase' => 'plugins/rainlab/builder/classes/BehaviorDesignTimeProviderBase.php', + 'RainLab\\Builder\\Widgets\\DefaultBehaviorDesignTimeProvider' => 'plugins/rainlab/builder/widgets/DefaultBehaviorDesignTimeProvider.php', + 'RainLab\\Builder\\Classes\\ControllerFileParser' => 'plugins/rainlab/builder/classes/ControllerFileParser.php', + 'RainLab\\Builder\\FormWidgets\\ControllerBuilder' => 'plugins/rainlab/builder/formwidgets/ControllerBuilder.php', + 'tps\\birzha\\Controllers\\categories' => 'plugins/tps/birzha/controllers/categories.php', + 'TPS\\Birzha\\Models\\Category' => 'plugins/tps/birzha/models/Category.php', + 'tps\\birzha\\Controllers\\products' => 'plugins/tps/birzha/controllers/products.php', + 'TPS\\Birzha\\Models\\Product' => 'plugins/tps/birzha/models/Product.php', + 'janvince\\smallcontactform\\Controllers\\messages' => 'plugins/janvince/smallcontactform/controllers/messages.php', + 'JanVince\\SmallContactForm\\Models\\MessageExport' => 'plugins/janvince/smallcontactform/models/MessageExport.php', + 'JanVince\\SmallContactForm\\Models\\Message' => 'plugins/janvince/smallcontactform/models/Message.php', + 'tps\\birzha\\Controllers\\offers' => 'plugins/tps/birzha/controllers/offers.php', + 'TPS\\Birzha\\Models\\Offer' => 'plugins/tps/birzha/models/Offer.php', + 'tps\\birzha\\Controllers\\payments' => 'plugins/tps/birzha/controllers/payments.php', + 'TPS\\Birzha\\Models\\Payment' => 'plugins/tps/birzha/models/Payment.php', + 'JanVince\\SmallContactForm\\Components\\SmallContactForm' => 'plugins/janvince/smallcontactform/components/SmallContactForm.php', + 'RainLab\\Translate\\Classes\\ThemeScanner' => 'plugins/rainlab/translate/classes/ThemeScanner.php', + 'RainLab\\Translate\\Classes\\MLStaticPage' => 'plugins/rainlab/translate/classes/MLStaticPage.php', + 'TPS\\Birzha\\Controllers\\Settings' => 'plugins/tps/birzha/controllers/Settings.php', + 'RainLab\\Translate\\FormWidgets\\MLMarkdownEditor' => 'plugins/rainlab/translate/formwidgets/MLMarkdownEditor.php', + 'TPS\\Birzha\\Models\\Term' => 'plugins/tps/birzha/models/Term.php', + 'TPS\\Birzha\\Models\\Currency' => 'plugins/tps/birzha/models/Currency.php', + 'TPS\\Birzha\\Models\\Measure' => 'plugins/tps/birzha/models/Measure.php', + 'tps\\birzha\\Controllers\\currencies' => 'plugins/tps/birzha/controllers/currencies.php', + 'tps\\birzha\\Controllers\\measures' => 'plugins/tps/birzha/controllers/measures.php', + 'TPS\\Birzha\\Components\\Categories' => 'plugins/tps/birzha/components/Categories.php', + 'rainlab\\translate\\Controllers\\messages' => 'plugins/rainlab/translate/controllers/messages.php', + 'RainLab\\Translate\\Models\\MessageImport' => 'plugins/rainlab/translate/models/MessageImport.php', + 'RainLab\\Translate\\Models\\MessageExport' => 'plugins/rainlab/translate/models/MessageExport.php', + 'JanVince\\SmallContactForm\\Models\\Settings' => 'plugins/janvince/smallcontactform/models/Settings.php', + 'RainLab\\Pages\\Classes\\MenuItemReference' => 'plugins/rainlab/pages/classes/MenuItemReference.php', + 'tps\\birzha\\Controllers\\terms' => 'plugins/tps/birzha/controllers/terms.php', + 'TPS\\Birzha\\Components\\Sign' => 'plugins/tps/birzha/components/Sign.php', + 'TPS\\Birzha\\Components\\Sliders' => 'plugins/tps/birzha/components/Sliders.php', + 'TPS\\Birzha\\Models\\Slider' => 'plugins/tps/birzha/models/Slider.php', + 'TPS\\Birzha\\Components\\Offers' => 'plugins/tps/birzha/components/Offers.php', + 'tps\\birzha\\Controllers\\sliders' => 'plugins/tps/birzha/controllers/sliders.php', + 'offline\\sitesearch\\Plugin' => 'plugins/offline/sitesearch/Plugin.php', + 'OFFLINE\\SiteSearch\\Models\\Settings' => 'plugins/offline/sitesearch/models/Settings.php', + 'OFFLINE\\SiteSearch\\Components\\BaseComponent' => 'plugins/offline/sitesearch/components/BaseComponent.php', + 'OFFLINE\\SiteSearch\\Components\\SearchResults' => 'plugins/offline/sitesearch/components/SearchResults.php', + 'OFFLINE\\SiteSearch\\Components\\SearchInput' => 'plugins/offline/sitesearch/components/SearchInput.php', + 'OFFLINE\\SiteSearch\\Components\\SiteSearchInclude' => 'plugins/offline/sitesearch/components/SiteSearchInclude.php', + 'TPS\\Birzha\\Components\\Singleoffer' => 'plugins/tps/birzha/components/Singleoffer.php', + 'OFFLINE\\SiteSearch\\Classes\\SearchService' => 'plugins/offline/sitesearch/classes/SearchService.php', + 'OFFLINE\\SiteSearch\\Classes\\ResultCollection' => 'plugins/offline/sitesearch/classes/ResultCollection.php', + 'tps\\card\\Plugin' => 'plugins/tps/card/Plugin.php', + 'TPS\\Birzha\\Components\\OfferForm' => 'plugins/tps/birzha/components/OfferForm.php', + 'Tps\\Birzha\\Models\\Country' => 'plugins/tps/birzha/models/Country.php', + 'Tps\\Birzha\\Models\\Category' => 'plugins/tps/birzha/models/Category.php', + 'Tps\\Birzha\\Models\\Product' => 'plugins/tps/birzha/models/Product.php', + 'Tps\\Birzha\\Models\\Measure' => 'plugins/tps/birzha/models/Measure.php', + 'Tps\\Birzha\\Models\\Term' => 'plugins/tps/birzha/models/Term.php', + 'Tps\\Birzha\\Models\\Currency' => 'plugins/tps/birzha/models/Currency.php', + 'TPS\\Birzha\\Components\\MyOffers' => 'plugins/tps/birzha/components/MyOffers.php', + 'TPS\\Birzha\\Models\\Country' => 'plugins/tps/birzha/models/Country.php', +); \ No newline at end of file diff --git a/storage/framework/packages.php b/storage/framework/packages.php new file mode 100644 index 000000000..eff9b08d6 --- /dev/null +++ b/storage/framework/packages.php @@ -0,0 +1,16 @@ + + array ( + 'providers' => + array ( + 0 => 'Laravel\\Tinker\\TinkerServiceProvider', + ), + ), + 'nesbot/carbon' => + array ( + 'providers' => + array ( + 0 => 'Carbon\\Laravel\\ServiceProvider', + ), + ), +); \ No newline at end of file diff --git a/storage/framework/services.php b/storage/framework/services.php new file mode 100644 index 000000000..d3d9c46d6 --- /dev/null +++ b/storage/framework/services.php @@ -0,0 +1,186 @@ + + array ( + 0 => 'Illuminate\\Broadcasting\\BroadcastServiceProvider', + 1 => 'Illuminate\\Bus\\BusServiceProvider', + 2 => 'Illuminate\\Cache\\CacheServiceProvider', + 3 => 'Illuminate\\Cookie\\CookieServiceProvider', + 4 => 'Illuminate\\Encryption\\EncryptionServiceProvider', + 5 => 'Illuminate\\Foundation\\Providers\\FoundationServiceProvider', + 6 => 'Illuminate\\Hashing\\HashServiceProvider', + 7 => 'Illuminate\\Pagination\\PaginationServiceProvider', + 8 => 'Illuminate\\Pipeline\\PipelineServiceProvider', + 9 => 'Illuminate\\Queue\\QueueServiceProvider', + 10 => 'Illuminate\\Session\\SessionServiceProvider', + 11 => 'Illuminate\\View\\ViewServiceProvider', + 12 => 'Laravel\\Tinker\\TinkerServiceProvider', + 13 => 'October\\Rain\\Foundation\\Providers\\ConsoleSupportServiceProvider', + 14 => 'October\\Rain\\Database\\DatabaseServiceProvider', + 15 => 'October\\Rain\\Halcyon\\HalcyonServiceProvider', + 16 => 'October\\Rain\\Filesystem\\FilesystemServiceProvider', + 17 => 'October\\Rain\\Parse\\ParseServiceProvider', + 18 => 'October\\Rain\\Html\\HtmlServiceProvider', + 19 => 'October\\Rain\\Html\\UrlServiceProvider', + 20 => 'October\\Rain\\Network\\NetworkServiceProvider', + 21 => 'October\\Rain\\Scaffold\\ScaffoldServiceProvider', + 22 => 'October\\Rain\\Flash\\FlashServiceProvider', + 23 => 'October\\Rain\\Mail\\MailServiceProvider', + 24 => 'October\\Rain\\Argon\\ArgonServiceProvider', + 25 => 'October\\Rain\\Redis\\RedisServiceProvider', + 26 => 'October\\Rain\\Validation\\ValidationServiceProvider', + 27 => 'System\\ServiceProvider', + ), + 'eager' => + array ( + 0 => 'Illuminate\\Cookie\\CookieServiceProvider', + 1 => 'Illuminate\\Encryption\\EncryptionServiceProvider', + 2 => 'Illuminate\\Foundation\\Providers\\FoundationServiceProvider', + 3 => 'Illuminate\\Pagination\\PaginationServiceProvider', + 4 => 'Illuminate\\Session\\SessionServiceProvider', + 5 => 'Illuminate\\View\\ViewServiceProvider', + 6 => 'October\\Rain\\Database\\DatabaseServiceProvider', + 7 => 'October\\Rain\\Halcyon\\HalcyonServiceProvider', + 8 => 'October\\Rain\\Filesystem\\FilesystemServiceProvider', + 9 => 'October\\Rain\\Html\\UrlServiceProvider', + 10 => 'October\\Rain\\Argon\\ArgonServiceProvider', + 11 => 'System\\ServiceProvider', + ), + 'deferred' => + array ( + 'Illuminate\\Broadcasting\\BroadcastManager' => 'Illuminate\\Broadcasting\\BroadcastServiceProvider', + 'Illuminate\\Contracts\\Broadcasting\\Factory' => 'Illuminate\\Broadcasting\\BroadcastServiceProvider', + 'Illuminate\\Contracts\\Broadcasting\\Broadcaster' => 'Illuminate\\Broadcasting\\BroadcastServiceProvider', + 'Illuminate\\Bus\\Dispatcher' => 'Illuminate\\Bus\\BusServiceProvider', + 'Illuminate\\Contracts\\Bus\\Dispatcher' => 'Illuminate\\Bus\\BusServiceProvider', + 'Illuminate\\Contracts\\Bus\\QueueingDispatcher' => 'Illuminate\\Bus\\BusServiceProvider', + 'cache' => 'Illuminate\\Cache\\CacheServiceProvider', + 'cache.store' => 'Illuminate\\Cache\\CacheServiceProvider', + 'cache.psr6' => 'Illuminate\\Cache\\CacheServiceProvider', + 'memcached.connector' => 'Illuminate\\Cache\\CacheServiceProvider', + 'hash' => 'Illuminate\\Hashing\\HashServiceProvider', + 'hash.driver' => 'Illuminate\\Hashing\\HashServiceProvider', + 'Illuminate\\Contracts\\Pipeline\\Hub' => 'Illuminate\\Pipeline\\PipelineServiceProvider', + 'queue' => 'Illuminate\\Queue\\QueueServiceProvider', + 'queue.worker' => 'Illuminate\\Queue\\QueueServiceProvider', + 'queue.listener' => 'Illuminate\\Queue\\QueueServiceProvider', + 'queue.failer' => 'Illuminate\\Queue\\QueueServiceProvider', + 'queue.connection' => 'Illuminate\\Queue\\QueueServiceProvider', + 'command.tinker' => 'Laravel\\Tinker\\TinkerServiceProvider', + 'command.cache.clear' => 'October\\Rain\\Foundation\\Providers\\ConsoleSupportServiceProvider', + 'command.cache.forget' => 'October\\Rain\\Foundation\\Providers\\ConsoleSupportServiceProvider', + 'command.clear-compiled' => 'October\\Rain\\Foundation\\Providers\\ConsoleSupportServiceProvider', + 'command.config.cache' => 'October\\Rain\\Foundation\\Providers\\ConsoleSupportServiceProvider', + 'command.config.clear' => 'October\\Rain\\Foundation\\Providers\\ConsoleSupportServiceProvider', + 'command.down' => 'October\\Rain\\Foundation\\Providers\\ConsoleSupportServiceProvider', + 'command.environment' => 'October\\Rain\\Foundation\\Providers\\ConsoleSupportServiceProvider', + 'command.key.generate' => 'October\\Rain\\Foundation\\Providers\\ConsoleSupportServiceProvider', + 'command.optimize' => 'October\\Rain\\Foundation\\Providers\\ConsoleSupportServiceProvider', + 'command.package.discover' => 'October\\Rain\\Foundation\\Providers\\ConsoleSupportServiceProvider', + 'command.queue.failed' => 'October\\Rain\\Foundation\\Providers\\ConsoleSupportServiceProvider', + 'command.queue.flush' => 'October\\Rain\\Foundation\\Providers\\ConsoleSupportServiceProvider', + 'command.queue.forget' => 'October\\Rain\\Foundation\\Providers\\ConsoleSupportServiceProvider', + 'command.queue.listen' => 'October\\Rain\\Foundation\\Providers\\ConsoleSupportServiceProvider', + 'command.queue.restart' => 'October\\Rain\\Foundation\\Providers\\ConsoleSupportServiceProvider', + 'command.queue.retry' => 'October\\Rain\\Foundation\\Providers\\ConsoleSupportServiceProvider', + 'command.queue.work' => 'October\\Rain\\Foundation\\Providers\\ConsoleSupportServiceProvider', + 'command.route.cache' => 'October\\Rain\\Foundation\\Providers\\ConsoleSupportServiceProvider', + 'command.route.clear' => 'October\\Rain\\Foundation\\Providers\\ConsoleSupportServiceProvider', + 'command.route.list' => 'October\\Rain\\Foundation\\Providers\\ConsoleSupportServiceProvider', + 'Illuminate\\Console\\Scheduling\\ScheduleFinishCommand' => 'October\\Rain\\Foundation\\Providers\\ConsoleSupportServiceProvider', + 'Illuminate\\Console\\Scheduling\\ScheduleRunCommand' => 'October\\Rain\\Foundation\\Providers\\ConsoleSupportServiceProvider', + 'command.seed' => 'October\\Rain\\Foundation\\Providers\\ConsoleSupportServiceProvider', + 'command.storage.link' => 'October\\Rain\\Foundation\\Providers\\ConsoleSupportServiceProvider', + 'command.up' => 'October\\Rain\\Foundation\\Providers\\ConsoleSupportServiceProvider', + 'command.view.clear' => 'October\\Rain\\Foundation\\Providers\\ConsoleSupportServiceProvider', + 'command.serve' => 'October\\Rain\\Foundation\\Providers\\ConsoleSupportServiceProvider', + 'command.vendor.publish' => 'October\\Rain\\Foundation\\Providers\\ConsoleSupportServiceProvider', + 'migrator' => 'October\\Rain\\Foundation\\Providers\\ConsoleSupportServiceProvider', + 'migration.repository' => 'October\\Rain\\Foundation\\Providers\\ConsoleSupportServiceProvider', + 'migration.creator' => 'October\\Rain\\Foundation\\Providers\\ConsoleSupportServiceProvider', + 'command.migrate' => 'October\\Rain\\Foundation\\Providers\\ConsoleSupportServiceProvider', + 'command.migrate.fresh' => 'October\\Rain\\Foundation\\Providers\\ConsoleSupportServiceProvider', + 'command.migrate.install' => 'October\\Rain\\Foundation\\Providers\\ConsoleSupportServiceProvider', + 'command.migrate.refresh' => 'October\\Rain\\Foundation\\Providers\\ConsoleSupportServiceProvider', + 'command.migrate.reset' => 'October\\Rain\\Foundation\\Providers\\ConsoleSupportServiceProvider', + 'command.migrate.rollback' => 'October\\Rain\\Foundation\\Providers\\ConsoleSupportServiceProvider', + 'command.migrate.status' => 'October\\Rain\\Foundation\\Providers\\ConsoleSupportServiceProvider', + 'command.migrate.make' => 'October\\Rain\\Foundation\\Providers\\ConsoleSupportServiceProvider', + 'composer' => 'October\\Rain\\Foundation\\Providers\\ConsoleSupportServiceProvider', + 'parse.markdown' => 'October\\Rain\\Parse\\ParseServiceProvider', + 'parse.yaml' => 'October\\Rain\\Parse\\ParseServiceProvider', + 'parse.twig' => 'October\\Rain\\Parse\\ParseServiceProvider', + 'parse.ini' => 'October\\Rain\\Parse\\ParseServiceProvider', + 'html' => 'October\\Rain\\Html\\HtmlServiceProvider', + 'form' => 'October\\Rain\\Html\\HtmlServiceProvider', + 'block' => 'October\\Rain\\Html\\HtmlServiceProvider', + 'network.http' => 'October\\Rain\\Network\\NetworkServiceProvider', + 'command.create.theme' => 'October\\Rain\\Scaffold\\ScaffoldServiceProvider', + 'command.create.plugin' => 'October\\Rain\\Scaffold\\ScaffoldServiceProvider', + 'command.create.model' => 'October\\Rain\\Scaffold\\ScaffoldServiceProvider', + 'command.create.controller' => 'October\\Rain\\Scaffold\\ScaffoldServiceProvider', + 'command.create.component' => 'October\\Rain\\Scaffold\\ScaffoldServiceProvider', + 'command.create.formwidget' => 'October\\Rain\\Scaffold\\ScaffoldServiceProvider', + 'command.create.reportwidget' => 'October\\Rain\\Scaffold\\ScaffoldServiceProvider', + 'command.create.command' => 'October\\Rain\\Scaffold\\ScaffoldServiceProvider', + 'flash' => 'October\\Rain\\Flash\\FlashServiceProvider', + 'mailer' => 'October\\Rain\\Mail\\MailServiceProvider', + 'swift.mailer' => 'October\\Rain\\Mail\\MailServiceProvider', + 'swift.transport' => 'October\\Rain\\Mail\\MailServiceProvider', + 'Illuminate\\Mail\\Markdown' => 'October\\Rain\\Mail\\MailServiceProvider', + 'redis' => 'October\\Rain\\Redis\\RedisServiceProvider', + 'redis.connection' => 'October\\Rain\\Redis\\RedisServiceProvider', + 'validator' => 'October\\Rain\\Validation\\ValidationServiceProvider', + 'validation.presence' => 'October\\Rain\\Validation\\ValidationServiceProvider', + ), + 'when' => + array ( + 'Illuminate\\Broadcasting\\BroadcastServiceProvider' => + array ( + ), + 'Illuminate\\Bus\\BusServiceProvider' => + array ( + ), + 'Illuminate\\Cache\\CacheServiceProvider' => + array ( + ), + 'Illuminate\\Hashing\\HashServiceProvider' => + array ( + ), + 'Illuminate\\Pipeline\\PipelineServiceProvider' => + array ( + ), + 'Illuminate\\Queue\\QueueServiceProvider' => + array ( + ), + 'Laravel\\Tinker\\TinkerServiceProvider' => + array ( + ), + 'October\\Rain\\Foundation\\Providers\\ConsoleSupportServiceProvider' => + array ( + ), + 'October\\Rain\\Parse\\ParseServiceProvider' => + array ( + ), + 'October\\Rain\\Html\\HtmlServiceProvider' => + array ( + ), + 'October\\Rain\\Network\\NetworkServiceProvider' => + array ( + ), + 'October\\Rain\\Scaffold\\ScaffoldServiceProvider' => + array ( + ), + 'October\\Rain\\Flash\\FlashServiceProvider' => + array ( + ), + 'October\\Rain\\Mail\\MailServiceProvider' => + array ( + ), + 'October\\Rain\\Redis\\RedisServiceProvider' => + array ( + ), + 'October\\Rain\\Validation\\ValidationServiceProvider' => + array ( + ), + ), +); \ No newline at end of file