├── config └── .gitkeep ├── resources ├── .gitkeep └── translations │ ├── en_CA.UTF-8 │ └── LC_MESSAGES │ │ ├── messages.mo │ │ └── messages.po │ └── fr_CA.UTF-8 │ └── LC_MESSAGES │ ├── messages.mo │ └── messages.po ├── public ├── favicon.ico ├── style.min.css ├── index.php ├── style.css └── .htaccess ├── storage ├── cache │ └── .gitignore ├── files │ └── .gitignore ├── log │ └── .gitignore ├── tmp │ └── .gitignore └── trash │ └── .gitignore ├── .github └── FUNDING.yml ├── .env.testing-types ├── src ├── Modules │ ├── Frontend │ │ ├── Views │ │ │ ├── index │ │ │ │ └── index.phtml │ │ │ ├── error │ │ │ │ └── index.phtml │ │ │ └── index.phtml │ │ ├── Controller.php │ │ ├── Module.php │ │ └── Controllers │ │ │ └── IndexController.php │ ├── Admin │ │ ├── Views │ │ │ ├── index │ │ │ │ └── index.phtml │ │ │ ├── error │ │ │ │ └── index.phtml │ │ │ └── index.phtml │ │ ├── Controller.php │ │ ├── Module.php │ │ └── Controllers │ │ │ └── IndexController.php │ ├── Ws │ │ ├── Task.php │ │ └── Module.php │ ├── Oauth2 │ │ ├── Controller.php │ │ ├── Module.php │ │ └── Controllers │ │ │ ├── ClientController.php │ │ │ ├── GithubController.php │ │ │ ├── GoogleController.php │ │ │ ├── FacebookController.php │ │ │ ├── LinkedinController.php │ │ │ └── InstagramController.php │ ├── Api │ │ ├── Controller.php │ │ ├── Module.php │ │ ├── Controllers │ │ │ ├── DataController.php │ │ │ ├── FileController.php │ │ │ ├── FlagController.php │ │ │ ├── LangController.php │ │ │ ├── LogController.php │ │ │ ├── MenuController.php │ │ │ ├── MetaController.php │ │ │ ├── PageController.php │ │ │ ├── PostController.php │ │ │ ├── TypeController.php │ │ │ ├── AuditController.php │ │ │ ├── EmailController.php │ │ │ ├── FieldController.php │ │ │ ├── GroupController.php │ │ │ ├── IndexController.php │ │ │ ├── ProfileController.php │ │ │ ├── SessionController.php │ │ │ ├── SettingController.php │ │ │ ├── CategoryController.php │ │ │ ├── TranslateController.php │ │ │ ├── AuditDetailController.php │ │ │ ├── TranslateFieldController.php │ │ │ ├── TranslateTableController.php │ │ │ ├── PhalconMigrationsController.php │ │ │ ├── AuthController.php │ │ │ ├── ClamavController.php │ │ │ ├── AbstractController.php │ │ │ ├── ErrorController.php │ │ │ ├── TestController.php │ │ │ ├── TemplateController.php │ │ │ └── TableController.php │ │ └── Transformers │ │ │ └── RecordTransformer.php │ └── Cli │ │ ├── Module.php │ │ └── Tasks │ │ ├── AbstractTask.php │ │ └── UserTask.php ├── Ws │ ├── TaskInterface.php │ ├── Router.php │ ├── DispatcherInterface.php │ ├── Dispatcher.php │ ├── WebSocket.php │ └── Task.php ├── Mvc │ ├── Controller │ │ ├── Behavior │ │ │ ├── Model │ │ │ │ ├── Create.php │ │ │ │ ├── Delete.php │ │ │ │ ├── Restore.php │ │ │ │ └── Update.php │ │ │ ├── Skip │ │ │ │ ├── SkipBind.php │ │ │ │ ├── SkipCache.php │ │ │ │ ├── SkipGroup.php │ │ │ │ ├── SkipJoins.php │ │ │ │ ├── SkipLimit.php │ │ │ │ ├── SkipOrder.php │ │ │ │ ├── SkipHaving.php │ │ │ │ ├── SkipOffset.php │ │ │ │ ├── SkipColumns.php │ │ │ │ ├── SkipDistinct.php │ │ │ │ ├── SkipBindTypes.php │ │ │ │ ├── SkipConditions.php │ │ │ │ ├── SkipWhiteList.php │ │ │ │ ├── SkipFilterCondition.php │ │ │ │ ├── SkipSearchCondition.php │ │ │ │ ├── SkipIdentityCondition.php │ │ │ │ ├── SkipPermissionCondition.php │ │ │ │ └── SkipSoftDeleteCondition.php │ │ │ └── Query │ │ │ │ ├── RemoveBind.php │ │ │ │ ├── RemoveOffset.php │ │ │ │ ├── RemoveWith.php │ │ │ │ ├── RemoveGroup.php │ │ │ │ ├── RemoveJoins.php │ │ │ │ ├── RemoveColumn.php │ │ │ │ ├── RemoveHaving.php │ │ │ │ ├── RemoveMaxLimit.php │ │ │ │ ├── RemoveDistinct.php │ │ │ │ ├── RemoveLimit.php │ │ │ │ ├── RemoveConditions.php │ │ │ │ ├── RemoveCacheConfig.php │ │ │ │ ├── Fields │ │ │ │ ├── RemoveMapFields.php │ │ │ │ ├── RemoveSaveFields.php │ │ │ │ ├── RemoveExposeFields.php │ │ │ │ ├── RemoveFilterFields.php │ │ │ │ └── RemoveSearchFields.php │ │ │ │ ├── RemoveDefaultLimit.php │ │ │ │ └── Conditions │ │ │ │ ├── RemoveFilterConditions.php │ │ │ │ ├── RemoveSearchConditions.php │ │ │ │ ├── RemoveIdentityConditions.php │ │ │ │ ├── RemovePermissionConditions.php │ │ │ │ ├── RemoveSoftDeleteConditions.php │ │ │ │ ├── RemoveDefaultFilterCondition.php │ │ │ │ ├── RemoveDefaultSearchCondition.php │ │ │ │ ├── RemoveDefaultIdentityCondition.php │ │ │ │ ├── RemoveDefaultPermissionCondition.php │ │ │ │ └── RemoveDefaultSoftDeleteCondition.php │ │ ├── Traits │ │ │ ├── Abstracts │ │ │ │ ├── AbstractDebug.php │ │ │ │ ├── Query │ │ │ │ │ ├── AbstractSave.php │ │ │ │ │ ├── AbstractWith.php │ │ │ │ │ ├── AbstractJoins.php │ │ │ │ │ ├── AbstractColumn.php │ │ │ │ │ ├── AbstractHaving.php │ │ │ │ │ ├── AbstractDistinct.php │ │ │ │ │ └── AbstractGroup.php │ │ │ │ ├── AbstractStatusCode.php │ │ │ │ ├── AbstractBehavior.php │ │ │ │ ├── AbstractExpose.php │ │ │ │ └── AbstractParams.php │ │ │ ├── Interfaces │ │ │ │ ├── DebugInterface.php │ │ │ │ ├── CacheInterface.php │ │ │ │ ├── StatusCodeInterface.php │ │ │ │ ├── BehaviorInterface.php │ │ │ │ └── ExposeInterface.php │ │ │ └── Debug.php │ │ ├── RestfulInterface.php │ │ ├── Error.php │ │ └── Rest.php │ ├── View │ │ └── Error.php │ ├── Model │ │ ├── Traits │ │ │ ├── Abstracts │ │ │ │ ├── AbstractSave.php │ │ │ │ ├── AbstractInstance.php │ │ │ │ ├── AbstractIdentity.php │ │ │ │ ├── AbstractLocale.php │ │ │ │ ├── AbstractEntity.php │ │ │ │ ├── AbstractMetaData.php │ │ │ │ ├── AbstractInjectable.php │ │ │ │ ├── AbstractModelsManager.php │ │ │ │ ├── AbstractModelsCache.php │ │ │ │ ├── AbstractOptions.php │ │ │ │ ├── AbstractEventsManager.php │ │ │ │ └── AbstractBlameable.php │ │ │ ├── Instance.php │ │ │ ├── Expose.php │ │ │ └── Blameable │ │ │ │ └── BlameAt.php │ │ └── Interfaces │ │ │ ├── InstanceInterface.php │ │ │ ├── Blameable │ │ │ ├── BlameAtInterface.php │ │ │ ├── CreatedInterface.php │ │ │ ├── UpdatedInterface.php │ │ │ ├── DeletedInterface.php │ │ │ └── RestoredInterface.php │ │ │ ├── ExposeInterface.php │ │ │ ├── MetaDataInterface.php │ │ │ ├── HashInterface.php │ │ │ ├── AttributeInterface.php │ │ │ ├── JsonInterface.php │ │ │ ├── OptionsInterface.php │ │ │ ├── SlugInterface.php │ │ │ ├── SecurityInterface.php │ │ │ └── LocaleInterface.php │ ├── Controller.php │ ├── Dispatcher.php │ └── Dispatcher │ │ └── Rest.php ├── Cache │ └── Cache.php ├── Models │ ├── Enums │ │ ├── FileCategory.php │ │ ├── FileRelationCategory.php │ │ ├── SiteStatus.php │ │ ├── Oauth2Provider.php │ │ ├── WorkspaceStatus.php │ │ ├── TranslateTableTable.php │ │ ├── JobStatus.php │ │ ├── AuditEvent.php │ │ ├── AuditDetailEvent.php │ │ ├── LogType.php │ │ └── ValidatorType.php │ ├── Interfaces │ │ ├── JobInterface.php │ │ ├── LogInterface.php │ │ ├── DataInterface.php │ │ ├── FileInterface.php │ │ ├── FlagInterface.php │ │ ├── LangInterface.php │ │ ├── MenuInterface.php │ │ ├── MetaInterface.php │ │ ├── PageInterface.php │ │ ├── PostInterface.php │ │ ├── RoleInterface.php │ │ ├── SiteInterface.php │ │ ├── TypeInterface.php │ │ ├── UserInterface.php │ │ ├── AuditInterface.php │ │ ├── BackupInterface.php │ │ ├── ColumnInterface.php │ │ ├── EmailInterface.php │ │ ├── GroupInterface.php │ │ ├── Oauth2Interface.php │ │ ├── RecordInterface.php │ │ ├── TableInterface.php │ │ ├── FeatureInterface.php │ │ ├── ProfileInterface.php │ │ ├── SessionInterface.php │ │ ├── SettingInterface.php │ │ ├── CategoryInterface.php │ │ ├── RoleRoleInterface.php │ │ ├── SiteLangInterface.php │ │ ├── TemplateInterface.php │ │ ├── UserRoleInterface.php │ │ ├── UserTypeInterface.php │ │ ├── EmailFileInterface.php │ │ ├── GroupRoleInterface.php │ │ ├── GroupTypeInterface.php │ │ ├── TranslateInterface.php │ │ ├── UserGroupInterface.php │ │ ├── ValidatorInterface.php │ │ ├── WorkspaceInterface.php │ │ ├── AuditDetailInterface.php │ │ ├── RoleFeatureInterface.php │ │ ├── UserFeatureInterface.php │ │ ├── FileRelationInterface.php │ │ ├── GroupFeatureInterface.php │ │ ├── JobSchedulerInterface.php │ │ ├── PostCategoryInterface.php │ │ ├── WorkspaceLangInterface.php │ │ └── PhalconMigrationsInterface.php │ ├── Behaviors │ │ ├── SoftDeleteInterface.php │ │ ├── Blameable │ │ │ ├── UpdateInterface.php │ │ │ ├── CreatedInterface.php │ │ │ ├── DeletedInterface.php │ │ │ └── RestoredInterface.php │ │ └── BlameableInterface.php │ └── AbstractModel.php ├── Assets │ └── Manager.php ├── Exception │ ├── CliException.php │ ├── HttpException.php │ └── WsException.php ├── Filter │ ├── Validation.php │ └── Sanitize │ │ ├── Md5.php │ │ ├── IPv4.php │ │ ├── IPv6.php │ │ └── Json.php ├── Cli │ ├── TaskInterface.php │ ├── DispatcherInterface.php │ ├── Dispatcher.php │ ├── Console.php │ ├── Task.php │ └── ExceptionHandler.php ├── Di │ └── Injectable.php ├── Identity │ └── Traits │ │ ├── Interfaces │ │ ├── AclInterface.php │ │ ├── ImpersonationInterface.php │ │ ├── Oauth2Interface.php │ │ └── RoleInterface.php │ │ └── Abstracts │ │ ├── AbstractAcl.php │ │ ├── AbstractImpersonation.php │ │ ├── AbstractOauth2.php │ │ └── AbstractRole.php ├── Dispatcher │ ├── AbstractDispatcher.php │ └── DispatcherInterface.php ├── Http │ ├── Response.php │ └── ResponseInterface.php ├── Html │ ├── Escaper │ │ └── EscaperInterface.php │ └── TagFactory.php ├── Exception.php ├── Fractal │ ├── Manager.php │ └── Transformer.php ├── Config │ └── ConfigInterface.php ├── Provider │ ├── DatabaseDynamic │ │ └── ServiceProvider.php │ ├── DatabaseReadOnly │ │ └── ServiceProvider.php │ ├── ModelsCache │ │ └── ServiceProvider.php │ ├── Env │ │ └── ServiceProvider.php │ ├── Escaper │ │ └── ServiceProvider.php │ ├── Profiler │ │ └── ServiceProvider.php │ └── OCR │ │ └── ServiceProvider.php ├── Router │ └── RouterInterface.php ├── Acl │ └── AclInterface.php └── Support │ ├── Helper │ └── Str │ │ ├── Slugify.php │ │ └── RemoveNonPrintable.php │ └── Options │ └── ManagerInterface.php ├── .env.testing ├── .env.github ├── bin ├── skeleton.sh ├── php-cs-fixer.sh ├── phpdoc.sh ├── phpunit.sh ├── phpcbf.sh ├── phpstan.sh ├── database-faker.sh ├── phpunit-coverage.sh ├── scaffold-run.sh ├── phpcs.sh ├── psalm-sarif.sh ├── psalm.sh ├── declare-type-missing.sh ├── license-missing.sh ├── migration-list.sh ├── psalm-autofix.sh ├── migration-run.sh ├── migration-generate.sh ├── dos2unix.sh └── database-initialize.sh ├── phalcon-kit.bat ├── index.php ├── .run ├── database main.run.xml └── Everything.run.xml ├── devtools.php ├── phalcon-kit ├── patches └── phalcon-mvc-entity-interface.patch ├── phpcs-eol.xml ├── .gitignore └── phpstan.neon /config/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /resources/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zemit-cms/core/HEAD/public/favicon.ico -------------------------------------------------------------------------------- /storage/cache/.gitignore: -------------------------------------------------------------------------------- 1 | # Ignore all files in this directory 2 | * 3 | !.gitignore 4 | -------------------------------------------------------------------------------- /storage/files/.gitignore: -------------------------------------------------------------------------------- 1 | # Ignore all files in this directory 2 | * 3 | !.gitignore 4 | -------------------------------------------------------------------------------- /storage/log/.gitignore: -------------------------------------------------------------------------------- 1 | # Ignore all files in this directory 2 | * 3 | !.gitignore 4 | -------------------------------------------------------------------------------- /storage/tmp/.gitignore: -------------------------------------------------------------------------------- 1 | # Ignore all files in this directory 2 | * 3 | !.gitignore 4 | -------------------------------------------------------------------------------- /storage/trash/.gitignore: -------------------------------------------------------------------------------- 1 | # Ignore all files in this directory 2 | * 3 | !.gitignore 4 | -------------------------------------------------------------------------------- /.github/FUNDING.yml: -------------------------------------------------------------------------------- 1 | # These are supported funding model platforms 2 | 3 | github: jturbide 4 | -------------------------------------------------------------------------------- /.env.testing-types: -------------------------------------------------------------------------------- 1 | TEST_BOOL_FALSE=false 2 | TEST_BOOL_TRUE=true 3 | TEST_STRING=string 4 | TEST_INT=123 5 | TEST_FLOAT=1.2 6 | TEST_VERSION=1.3.4 7 | -------------------------------------------------------------------------------- /resources/translations/en_CA.UTF-8/LC_MESSAGES/messages.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zemit-cms/core/HEAD/resources/translations/en_CA.UTF-8/LC_MESSAGES/messages.mo -------------------------------------------------------------------------------- /resources/translations/fr_CA.UTF-8/LC_MESSAGES/messages.mo: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/zemit-cms/core/HEAD/resources/translations/fr_CA.UTF-8/LC_MESSAGES/messages.mo -------------------------------------------------------------------------------- /public/style.min.css: -------------------------------------------------------------------------------- 1 | html{font-size:18px}h1{font-size:4rem}p{font-size:1rem}.container{position:relative;min-height:100vh}.box{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.text-center{text-align:center} -------------------------------------------------------------------------------- /src/Modules/Frontend/Views/index/index.phtml: -------------------------------------------------------------------------------- 1 |
Phalcon vget(); ?>
3 |Phalcon Kit vget(); ?>
4 | -------------------------------------------------------------------------------- /src/Modules/Admin/Views/index/index.phtml: -------------------------------------------------------------------------------- 1 |Phalcon vget(); ?>
4 |Phalcon Kit vget(); ?>
5 | -------------------------------------------------------------------------------- /.env.testing: -------------------------------------------------------------------------------- 1 | # Locale 2 | #LOCALE_DEFAULT=fr 3 | #LOCALE_ALLOWED=en,fr,es,en_US,fr_CA 4 | 5 | # Database 6 | DATABASE_HOST=db 7 | DATABASE_DBNAME=phalcon_kit 8 | DATABASE_USERNAME=phalcon_kit 9 | DATABASE_PASSWORD="q.6(ECEH[zymY[h]" 10 | -------------------------------------------------------------------------------- /src/Modules/Frontend/Views/error/index.phtml: -------------------------------------------------------------------------------- 1 |translate->t('Oops! An error has occurred.'); ?>
3 |response->getStatusCode() . ' ' . $this->response->getReasonPhrase(); ?>
4 | -------------------------------------------------------------------------------- /.env.github: -------------------------------------------------------------------------------- 1 | # Application 2 | APP_DEBUG=true 3 | APP_PROFILER=true 4 | APP_SEND_EMAIL=false 5 | APP_CACHE=false 6 | 7 | # Database 8 | DATABASE_HOST=127.0.0.1 9 | DATABASE_DBNAME=phalcon_kit 10 | DATABASE_USERNAME=root 11 | DATABASE_PASSWORD="" 12 | -------------------------------------------------------------------------------- /src/Modules/Admin/Views/error/index.phtml: -------------------------------------------------------------------------------- 1 |translate->t('Oops! An error has occurred.'); ?>
4 |response->getStatusCode() . ' ' . $this->response->getReasonPhrase(); ?>
5 | -------------------------------------------------------------------------------- /bin/skeleton.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | # 3 | # This file is part of the Phalcon Kit. 4 | # 5 | # (c) Phalcon Kit Team 6 | # 7 | # For the full copyright and license information, please view the LICENSE.txt 8 | # file that was distributed with this source code. 9 | # 10 | 11 | pds-skeleton "$@" 12 | -------------------------------------------------------------------------------- /bin/php-cs-fixer.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | # 3 | # This file is part of the Phalcon Kit. 4 | # 5 | # (c) Phalcon Kit Team 6 | # 7 | # For the full copyright and license information, please view the LICENSE.txt 8 | # file that was distributed with this source code. 9 | # 10 | 11 | php-cs-fixer "$@" 12 | -------------------------------------------------------------------------------- /bin/phpdoc.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | # 3 | # This file is part of the Phalcon Kit. 4 | # 5 | # (c) Phalcon Kit Team 6 | # 7 | # For the full copyright and license information, please view the LICENSE.txt 8 | # file that was distributed with this source code. 9 | # 10 | 11 | phpdoc -c phpdoc.xml "$@" 12 | -------------------------------------------------------------------------------- /bin/phpunit.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | # 3 | # This file is part of the Phalcon Kit. 4 | # 5 | # (c) Phalcon Kit Team 6 | # 7 | # For the full copyright and license information, please view the LICENSE.txt 8 | # file that was distributed with this source code. 9 | # 10 | 11 | phpunit --no-coverage "$@" 12 | -------------------------------------------------------------------------------- /public/index.php: -------------------------------------------------------------------------------- 1 | run(); 15 | -------------------------------------------------------------------------------- /.run/database main.run.xml: -------------------------------------------------------------------------------- 1 |