├── .gitignore ├── .gitlab-ci.yml ├── .travis.yml ├── Bootstrap.php ├── Module.php ├── README.md ├── assets ├── PagesBackendAsset.php ├── PagesFrontendAsset.php ├── backend │ ├── page-route-items.js │ └── page-select.js └── frontend │ ├── backend.less │ ├── frontend.js │ └── frontend.less ├── components └── PageUrlRule.php ├── composer.json ├── controllers ├── DefaultController.php ├── TestController.php ├── api │ └── DefaultController.php └── crud │ └── TreeTranslationController.php ├── example-views └── column1.php ├── helpers └── PageHelper.php ├── migrations ├── m150309_153255_create_tree_manager_table.php ├── m150623_164544_auth_items.php ├── m150918_031100_auth_items.php ├── m160411_082658_rename_name_id_column.php ├── m160411_111111_name_id_to_domain_id_renamer.php ├── m161029_011345_settings.php ├── m161118_101349_alter_charset_to_utf8.php ├── m170220_121800_auth_items.php ├── m170314_062644_set_default_access_read.php ├── m170314_111404_remove_owner_column.php ├── m170315_221005_set_default_update_and_delete_access.php ├── m170322_204909_update_timestamp_columns.php ├── m170327_120427_update_icon_column.php ├── m180321_090927_add_translation_table.php ├── m180321_103245_alter_table_names.php ├── m180702_153622_add_translation_meta_table.php └── workbench │ └── dmstr_yii2-pages-module.mwb ├── models ├── BaseTree.php ├── Tree.php ├── TreeCache.php ├── TreeTranslation.php └── TreeTranslationMeta.php ├── tests ├── .dockerignore ├── .env ├── Dockerfile ├── Makefile ├── codeception.yml ├── codeception │ ├── _bootstrap.php │ ├── _config │ │ └── codeception-module.php │ ├── _pages │ │ └── LoginPage.php │ ├── _support │ │ ├── CliTester.php │ │ ├── E2eTester.php │ │ ├── FunctionalTester.php │ │ ├── Helper │ │ │ ├── Acceptance.php │ │ │ ├── Cli.php │ │ │ ├── E2e.php │ │ │ ├── Functional.php │ │ │ └── Unit.php │ │ └── UnitTester.php │ ├── cli.suite.yml │ ├── cli │ │ └── _bootstrap.php │ ├── e2e.suite.yml │ ├── e2e │ │ ├── 00-base │ │ │ └── BaseCept.php │ │ ├── UrlCept.php │ │ └── _bootstrap.php │ ├── functional.suite.yml │ ├── functional │ │ └── _bootstrap.php │ ├── unit.suite.yml │ └── unit │ │ ├── ApplicationTest.php │ │ ├── ModelTest.php │ │ ├── UrlTest.php │ │ └── _bootstrap.php ├── db.env ├── docker-compose.yml ├── migrations │ ├── m160415_095116_add_root_node.php │ └── m170315_215033_update_nodes_default_permission.php └── project │ ├── composer.json │ ├── composer.lock │ ├── config │ ├── rbac │ │ ├── assignments.php │ │ ├── items.php │ │ └── rules.php │ ├── test.php │ └── web-debug.php │ └── src │ └── components │ └── EditorIdentity.php ├── traits └── RequestParamActionTrait.php └── views ├── default └── index.php ├── test └── index.php └── treeview └── _form.php /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dmstr/yii2-pages-module/HEAD/.gitignore -------------------------------------------------------------------------------- /.gitlab-ci.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dmstr/yii2-pages-module/HEAD/.gitlab-ci.yml -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dmstr/yii2-pages-module/HEAD/.travis.yml -------------------------------------------------------------------------------- /Bootstrap.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dmstr/yii2-pages-module/HEAD/Bootstrap.php -------------------------------------------------------------------------------- /Module.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dmstr/yii2-pages-module/HEAD/Module.php -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dmstr/yii2-pages-module/HEAD/README.md -------------------------------------------------------------------------------- /assets/PagesBackendAsset.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dmstr/yii2-pages-module/HEAD/assets/PagesBackendAsset.php -------------------------------------------------------------------------------- /assets/PagesFrontendAsset.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dmstr/yii2-pages-module/HEAD/assets/PagesFrontendAsset.php -------------------------------------------------------------------------------- /assets/backend/page-route-items.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dmstr/yii2-pages-module/HEAD/assets/backend/page-route-items.js -------------------------------------------------------------------------------- /assets/backend/page-select.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dmstr/yii2-pages-module/HEAD/assets/backend/page-select.js -------------------------------------------------------------------------------- /assets/frontend/backend.less: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dmstr/yii2-pages-module/HEAD/assets/frontend/backend.less -------------------------------------------------------------------------------- /assets/frontend/frontend.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dmstr/yii2-pages-module/HEAD/assets/frontend/frontend.js -------------------------------------------------------------------------------- /assets/frontend/frontend.less: -------------------------------------------------------------------------------- 1 | 2 | .dmstr-pages-invisible-frontend { 3 | opacity: 0.5; 4 | } -------------------------------------------------------------------------------- /components/PageUrlRule.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dmstr/yii2-pages-module/HEAD/components/PageUrlRule.php -------------------------------------------------------------------------------- /composer.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dmstr/yii2-pages-module/HEAD/composer.json -------------------------------------------------------------------------------- /controllers/DefaultController.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dmstr/yii2-pages-module/HEAD/controllers/DefaultController.php -------------------------------------------------------------------------------- /controllers/TestController.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dmstr/yii2-pages-module/HEAD/controllers/TestController.php -------------------------------------------------------------------------------- /controllers/api/DefaultController.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dmstr/yii2-pages-module/HEAD/controllers/api/DefaultController.php -------------------------------------------------------------------------------- /controllers/crud/TreeTranslationController.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dmstr/yii2-pages-module/HEAD/controllers/crud/TreeTranslationController.php -------------------------------------------------------------------------------- /example-views/column1.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dmstr/yii2-pages-module/HEAD/example-views/column1.php -------------------------------------------------------------------------------- /helpers/PageHelper.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dmstr/yii2-pages-module/HEAD/helpers/PageHelper.php -------------------------------------------------------------------------------- /migrations/m150309_153255_create_tree_manager_table.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dmstr/yii2-pages-module/HEAD/migrations/m150309_153255_create_tree_manager_table.php -------------------------------------------------------------------------------- /migrations/m150623_164544_auth_items.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dmstr/yii2-pages-module/HEAD/migrations/m150623_164544_auth_items.php -------------------------------------------------------------------------------- /migrations/m150918_031100_auth_items.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dmstr/yii2-pages-module/HEAD/migrations/m150918_031100_auth_items.php -------------------------------------------------------------------------------- /migrations/m160411_082658_rename_name_id_column.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dmstr/yii2-pages-module/HEAD/migrations/m160411_082658_rename_name_id_column.php -------------------------------------------------------------------------------- /migrations/m160411_111111_name_id_to_domain_id_renamer.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dmstr/yii2-pages-module/HEAD/migrations/m160411_111111_name_id_to_domain_id_renamer.php -------------------------------------------------------------------------------- /migrations/m161029_011345_settings.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dmstr/yii2-pages-module/HEAD/migrations/m161029_011345_settings.php -------------------------------------------------------------------------------- /migrations/m161118_101349_alter_charset_to_utf8.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dmstr/yii2-pages-module/HEAD/migrations/m161118_101349_alter_charset_to_utf8.php -------------------------------------------------------------------------------- /migrations/m170220_121800_auth_items.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dmstr/yii2-pages-module/HEAD/migrations/m170220_121800_auth_items.php -------------------------------------------------------------------------------- /migrations/m170314_062644_set_default_access_read.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dmstr/yii2-pages-module/HEAD/migrations/m170314_062644_set_default_access_read.php -------------------------------------------------------------------------------- /migrations/m170314_111404_remove_owner_column.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dmstr/yii2-pages-module/HEAD/migrations/m170314_111404_remove_owner_column.php -------------------------------------------------------------------------------- /migrations/m170315_221005_set_default_update_and_delete_access.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dmstr/yii2-pages-module/HEAD/migrations/m170315_221005_set_default_update_and_delete_access.php -------------------------------------------------------------------------------- /migrations/m170322_204909_update_timestamp_columns.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dmstr/yii2-pages-module/HEAD/migrations/m170322_204909_update_timestamp_columns.php -------------------------------------------------------------------------------- /migrations/m170327_120427_update_icon_column.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dmstr/yii2-pages-module/HEAD/migrations/m170327_120427_update_icon_column.php -------------------------------------------------------------------------------- /migrations/m180321_090927_add_translation_table.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dmstr/yii2-pages-module/HEAD/migrations/m180321_090927_add_translation_table.php -------------------------------------------------------------------------------- /migrations/m180321_103245_alter_table_names.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dmstr/yii2-pages-module/HEAD/migrations/m180321_103245_alter_table_names.php -------------------------------------------------------------------------------- /migrations/m180702_153622_add_translation_meta_table.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dmstr/yii2-pages-module/HEAD/migrations/m180702_153622_add_translation_meta_table.php -------------------------------------------------------------------------------- /migrations/workbench/dmstr_yii2-pages-module.mwb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dmstr/yii2-pages-module/HEAD/migrations/workbench/dmstr_yii2-pages-module.mwb -------------------------------------------------------------------------------- /models/BaseTree.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dmstr/yii2-pages-module/HEAD/models/BaseTree.php -------------------------------------------------------------------------------- /models/Tree.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dmstr/yii2-pages-module/HEAD/models/Tree.php -------------------------------------------------------------------------------- /models/TreeCache.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dmstr/yii2-pages-module/HEAD/models/TreeCache.php -------------------------------------------------------------------------------- /models/TreeTranslation.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dmstr/yii2-pages-module/HEAD/models/TreeTranslation.php -------------------------------------------------------------------------------- /models/TreeTranslationMeta.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dmstr/yii2-pages-module/HEAD/models/TreeTranslationMeta.php -------------------------------------------------------------------------------- /tests/.dockerignore: -------------------------------------------------------------------------------- 1 | project/vendor -------------------------------------------------------------------------------- /tests/.env: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dmstr/yii2-pages-module/HEAD/tests/.env -------------------------------------------------------------------------------- /tests/Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dmstr/yii2-pages-module/HEAD/tests/Dockerfile -------------------------------------------------------------------------------- /tests/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dmstr/yii2-pages-module/HEAD/tests/Makefile -------------------------------------------------------------------------------- /tests/codeception.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dmstr/yii2-pages-module/HEAD/tests/codeception.yml -------------------------------------------------------------------------------- /tests/codeception/_bootstrap.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dmstr/yii2-pages-module/HEAD/tests/codeception/_bootstrap.php -------------------------------------------------------------------------------- /tests/codeception/_config/codeception-module.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dmstr/yii2-pages-module/HEAD/tests/codeception/_config/codeception-module.php -------------------------------------------------------------------------------- /tests/codeception/_pages/LoginPage.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dmstr/yii2-pages-module/HEAD/tests/codeception/_pages/LoginPage.php -------------------------------------------------------------------------------- /tests/codeception/_support/CliTester.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dmstr/yii2-pages-module/HEAD/tests/codeception/_support/CliTester.php -------------------------------------------------------------------------------- /tests/codeception/_support/E2eTester.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dmstr/yii2-pages-module/HEAD/tests/codeception/_support/E2eTester.php -------------------------------------------------------------------------------- /tests/codeception/_support/FunctionalTester.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dmstr/yii2-pages-module/HEAD/tests/codeception/_support/FunctionalTester.php -------------------------------------------------------------------------------- /tests/codeception/_support/Helper/Acceptance.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dmstr/yii2-pages-module/HEAD/tests/codeception/_support/Helper/Acceptance.php -------------------------------------------------------------------------------- /tests/codeception/_support/Helper/Cli.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dmstr/yii2-pages-module/HEAD/tests/codeception/_support/Helper/Cli.php -------------------------------------------------------------------------------- /tests/codeception/_support/Helper/E2e.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dmstr/yii2-pages-module/HEAD/tests/codeception/_support/Helper/E2e.php -------------------------------------------------------------------------------- /tests/codeception/_support/Helper/Functional.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dmstr/yii2-pages-module/HEAD/tests/codeception/_support/Helper/Functional.php -------------------------------------------------------------------------------- /tests/codeception/_support/Helper/Unit.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dmstr/yii2-pages-module/HEAD/tests/codeception/_support/Helper/Unit.php -------------------------------------------------------------------------------- /tests/codeception/_support/UnitTester.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dmstr/yii2-pages-module/HEAD/tests/codeception/_support/UnitTester.php -------------------------------------------------------------------------------- /tests/codeception/cli.suite.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dmstr/yii2-pages-module/HEAD/tests/codeception/cli.suite.yml -------------------------------------------------------------------------------- /tests/codeception/cli/_bootstrap.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dmstr/yii2-pages-module/HEAD/tests/codeception/cli/_bootstrap.php -------------------------------------------------------------------------------- /tests/codeception/e2e.suite.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dmstr/yii2-pages-module/HEAD/tests/codeception/e2e.suite.yml -------------------------------------------------------------------------------- /tests/codeception/e2e/00-base/BaseCept.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dmstr/yii2-pages-module/HEAD/tests/codeception/e2e/00-base/BaseCept.php -------------------------------------------------------------------------------- /tests/codeception/e2e/UrlCept.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dmstr/yii2-pages-module/HEAD/tests/codeception/e2e/UrlCept.php -------------------------------------------------------------------------------- /tests/codeception/e2e/_bootstrap.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dmstr/yii2-pages-module/HEAD/tests/codeception/e2e/_bootstrap.php -------------------------------------------------------------------------------- /tests/codeception/functional.suite.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dmstr/yii2-pages-module/HEAD/tests/codeception/functional.suite.yml -------------------------------------------------------------------------------- /tests/codeception/functional/_bootstrap.php: -------------------------------------------------------------------------------- 1 |