├── .bowerrc ├── .gitattributes ├── .gitignore ├── LICENSE ├── LICENSE.md ├── README.md ├── Vagrantfile ├── backend ├── assets │ ├── AppAsset.php │ └── TranslateAsset.php ├── codeception.yml ├── config │ ├── .gitignore │ ├── bootstrap.php │ ├── main.php │ ├── params.php │ └── test.php ├── models │ └── .gitkeep ├── modules │ ├── document │ │ ├── Module.php │ │ ├── controllers │ │ │ ├── ElementManageController.php │ │ │ ├── FieldManageController.php │ │ │ ├── FolderManageController.php │ │ │ ├── ManageController.php │ │ │ ├── TemplateManageController.php │ │ │ └── TemplateViewManageController.php │ │ └── views │ │ │ ├── element-manage │ │ │ ├── _form-element.php │ │ │ ├── _grid-elements-block.php │ │ │ ├── confirm-delete-element.php │ │ │ ├── modal-element.php │ │ │ └── view-element.php │ │ │ ├── field-manage │ │ │ ├── __fields_of_template.php │ │ │ ├── _form-field.php │ │ │ ├── confirm-delete-field.php │ │ │ ├── modal-field.php │ │ │ └── view-field.php │ │ │ ├── folder-manage │ │ │ ├── _form-folder.php │ │ │ ├── _grid-folders-block.php │ │ │ ├── _tree-folders-block.php │ │ │ ├── confirm-delete-folder.php │ │ │ ├── modal-folder.php │ │ │ └── view-folder.php │ │ │ ├── manage │ │ │ └── index.php │ │ │ ├── template-manage │ │ │ ├── _form-template.php │ │ │ ├── _grid-templates-block.php │ │ │ ├── confirm-delete-template.php │ │ │ ├── modal-template.php │ │ │ └── view-template.php │ │ │ └── template-view-manage │ │ │ ├── __template-buttons.php │ │ │ ├── _form-template-view.php │ │ │ └── modal-template-view.php │ ├── elements │ │ ├── Module.php │ │ ├── controllers │ │ │ └── CommentsController.php │ │ └── views │ │ │ └── comments │ │ │ ├── _form-element.php │ │ │ ├── _grid-elements-block.php │ │ │ ├── confirm-delete-element.php │ │ │ ├── index.php │ │ │ ├── modal-element.php │ │ │ └── view-element.php │ ├── geo │ │ ├── Module.php │ │ ├── controllers │ │ │ ├── CityController.php │ │ │ ├── CountryController.php │ │ │ └── RegionController.php │ │ └── views │ │ │ ├── city │ │ │ └── index.php │ │ │ ├── country │ │ │ └── index.php │ │ │ └── region │ │ │ └── index.php │ ├── i18n │ │ ├── Module.php │ │ ├── controllers │ │ │ └── ManageController.php │ │ └── views │ │ │ └── manage │ │ │ ├── _message-tabs.php │ │ │ ├── _source-message-content.php │ │ │ └── index.php │ ├── main │ │ ├── Module.php │ │ ├── controllers │ │ │ └── ManageController.php │ │ └── views │ │ │ ├── layouts │ │ │ └── error.php │ │ │ └── manage │ │ │ ├── error.php │ │ │ ├── files-manager.php │ │ │ └── index.php │ ├── role │ │ ├── Module.php │ │ ├── controllers │ │ │ └── ManageController.php │ │ └── views │ │ │ └── manage │ │ │ ├── _form-auth-item-block.php │ │ │ ├── _form-auth-item-child.php │ │ │ ├── _form-auth-item.php │ │ │ ├── _form-auth-rule.php │ │ │ ├── _grid-auth-item-block.php │ │ │ ├── _grid-auth-item-child-block.php │ │ │ ├── _grid-auth-rule-block.php │ │ │ ├── confirm-delete-auth-item-child.php │ │ │ ├── confirm-delete-auth-item.php │ │ │ ├── confirm-delete-auth-rule.php │ │ │ ├── index.php │ │ │ ├── modal-auth-item-child.php │ │ │ ├── modal-auth-item.php │ │ │ ├── modal-auth-rule.php │ │ │ ├── view-auth-item-child.php │ │ │ ├── view-auth-item.php │ │ │ └── view-auth-rule.php │ └── user │ │ ├── Module.php │ │ ├── assets │ │ ├── UserAsset.php │ │ ├── css │ │ │ └── user-module.css │ │ └── image │ │ │ ├── female.png │ │ │ └── male.png │ │ ├── controllers │ │ ├── AuthController.php │ │ └── ManageController.php │ │ └── views │ │ ├── auth │ │ ├── _requestPasswordResetToken-form.php │ │ ├── login.php │ │ ├── requestPasswordResetToken.php │ │ └── resetPassword.php │ │ ├── layouts │ │ └── main-login.php │ │ └── manage │ │ ├── _form-user.php │ │ ├── _grid-user-block.php │ │ ├── confirm-delete-user.php │ │ ├── index.php │ │ ├── modal-user.php │ │ └── view-user.php ├── runtime │ └── .gitignore ├── tests │ ├── _bootstrap.php │ ├── _data │ │ ├── .gitignore │ │ └── login_data.php │ ├── _output │ │ └── .gitignore │ ├── _support │ │ ├── .gitignore │ │ ├── FunctionalTester.php │ │ └── UnitTester.php │ ├── functional.suite.yml │ ├── functional │ │ ├── LoginCest.php │ │ └── _bootstrap.php │ ├── unit.suite.yml │ └── unit │ │ └── _bootstrap.php ├── views │ └── layouts │ │ ├── content.php │ │ ├── header.php │ │ ├── left.php │ │ └── main.php └── web │ ├── .gitignore │ ├── .htaccess │ ├── assets │ └── .gitignore │ ├── css │ ├── admin-lte-extend.css │ └── site.css │ ├── favicon.ico │ ├── fonts │ ├── FontAwesome.otf │ ├── fontawesome-webfont.eot │ ├── fontawesome-webfont.svg │ ├── fontawesome-webfont.ttf │ ├── fontawesome-webfont.woff │ └── fontawesome-webfont.woff2 │ └── js │ ├── main.js │ └── translate.js ├── codeception.yml ├── common ├── codeception.yml ├── components │ ├── I18n │ │ └── I18n.php │ ├── RBAC │ │ └── AuthorRule.php │ ├── extend │ │ └── UrlManager.php │ ├── other │ │ ├── FrontendUrl.php │ │ ├── GenerateEmailTemplate.php │ │ └── UserAccess.php │ └── validators │ │ ├── DocumentAliasValidator.php │ │ ├── DocumentArrayValidator.php │ │ ├── DocumentNameValidator.php │ │ └── DocumentRouteValidator.php ├── config │ ├── .gitignore │ ├── bootstrap.php │ ├── functions.php │ ├── main.php │ ├── params.php │ └── test.php ├── fixtures │ └── UserFixture.php ├── mail │ ├── confirm-email.php │ ├── layouts │ │ ├── html.php │ │ └── text.php │ ├── password-reset-token.php │ └── template-email.php ├── models │ ├── AuthAssignment.php │ ├── AuthItem.php │ ├── AuthItemChild.php │ ├── AuthRule.php │ ├── Constants.php │ ├── Document.php │ ├── Field.php │ ├── GeoCity.php │ ├── GeoCountry.php │ ├── GeoRegion.php │ ├── Message.php │ ├── SourceMessage.php │ ├── Template.php │ ├── TemplateView.php │ ├── User.php │ ├── UserOauthKey.php │ ├── ValueFile.php │ ├── ValueInt.php │ ├── ValueNumeric.php │ ├── ValuePrice.php │ ├── ValueString.php │ ├── ValueText.php │ ├── extend │ │ ├── AuthAssignmentExtend.php │ │ ├── AuthItemChildExtend.php │ │ ├── AuthItemExtend.php │ │ ├── AuthRuleExtend.php │ │ ├── DocumentExtend.php │ │ ├── FieldExtend.php │ │ ├── GeoCityExtend.php │ │ ├── GeoCountryExtend.php │ │ ├── GeoRegionExtend.php │ │ ├── MessageExtend.php │ │ ├── SourceMessageExtend.php │ │ ├── TemplateExtend.php │ │ ├── TemplateViewExtend.php │ │ ├── UserExtend.php │ │ ├── UserOauthKeyExtend.php │ │ ├── ValueFileExtend.php │ │ ├── ValueIntExtend.php │ │ ├── ValueNumericExtend.php │ │ ├── ValuePriceExtend.php │ │ ├── ValueStringExtend.php │ │ └── ValueTextExtend.php │ ├── forms │ │ ├── AuthAssignmentForm.php │ │ ├── AuthItemChildForm.php │ │ ├── AuthItemForm.php │ │ ├── AuthRuleForm.php │ │ ├── DocumentForm.php │ │ ├── EmailConfirm.php │ │ ├── FieldForm.php │ │ ├── GeoCityForm.php │ │ ├── GeoCountryForm.php │ │ ├── GeoRegionForm.php │ │ ├── ImageForm.php │ │ ├── LoginForm.php │ │ ├── MessageForm.php │ │ ├── OAuthForm.php │ │ ├── PasswordResetRequestForm.php │ │ ├── ResetPasswordForm.php │ │ ├── SignupForm.php │ │ ├── SourceMessageForm.php │ │ ├── TemplateForm.php │ │ ├── TemplateViewForm.php │ │ ├── UserForm.php │ │ ├── UserOauthKeyForm.php │ │ ├── ValueFileForm.php │ │ ├── ValueIntForm.php │ │ ├── ValueNumericForm.php │ │ ├── ValuePriceForm.php │ │ ├── ValueStringForm.php │ │ └── ValueTextForm.php │ └── search │ │ ├── AuthAssignmentSearch.php │ │ ├── AuthItemChildSearch.php │ │ ├── AuthItemSearch.php │ │ ├── AuthRuleSearch.php │ │ ├── DocumentSearch.php │ │ ├── FieldSearch.php │ │ ├── GeoCitySearch.php │ │ ├── GeoCountrySearch.php │ │ ├── GeoRegionSearch.php │ │ ├── MessageSearch.php │ │ ├── SourceMessageSearch.php │ │ ├── TemplateSearch.php │ │ ├── TemplateViewSearch.php │ │ ├── UserOauthKeySearch.php │ │ ├── UserSearch.php │ │ ├── ValueFileSearch.php │ │ ├── ValueIntSearch.php │ │ ├── ValueNumericSearch.php │ │ ├── ValuePriceSearch.php │ │ ├── ValueStringSearch.php │ │ └── ValueTextSearch.php ├── tests │ ├── _bootstrap.php │ ├── _data │ │ └── user.php │ ├── _output │ │ └── .gitignore │ ├── _support │ │ ├── .gitignore │ │ └── UnitTester.php │ ├── unit.suite.yml │ └── unit │ │ └── models │ │ └── LoginFormTest.php └── widgets │ ├── Basket │ ├── BasketButton.php │ ├── BasketManage.php │ ├── CountUserProducts.php │ ├── PaymentSum.php │ └── controllers │ │ └── BmController.php │ ├── Carousel │ ├── Carousel.php │ └── assets │ │ └── LightSliderAsset.php │ ├── Comment │ ├── Comment.php │ ├── UncheckedComments.php │ ├── components │ │ └── CommentManage.php │ ├── controllers │ │ └── CommentController.php │ └── views │ │ └── index.php │ ├── Elfinder │ ├── ConnectorAction.php │ ├── ElFinder.php │ ├── ElFinderAsset.php │ └── controllers │ │ └── ElfinderController.php │ ├── GetCsv │ ├── components │ │ ├── CsvComponent.php │ │ └── ZipFromFolder.php │ └── controllers │ │ └── CsvManagerController.php │ ├── ImageManager │ └── controllers │ │ └── ImageController.php │ ├── JsTreeWidget │ ├── FoldersAndElementsJsTreeWidget.php │ ├── FoldersJsTreeWidget.php │ ├── assets │ │ ├── JsTreeAsset.php │ │ └── JsTreeBootstrapThemeAsset.php │ └── views │ │ ├── folders-and-elements.php │ │ └── folders.php │ ├── LangSwitch │ ├── LangSwitch.php │ └── views │ │ └── index.php │ ├── MainMenu │ └── MainMenu.php │ ├── Rating │ ├── CommentRating.php │ ├── Rating.php │ └── controllers │ │ └── RatingController.php │ ├── TemplateOfElement │ ├── GetFields.php │ ├── SetBasketFields.php │ ├── SetCommentFields.php │ ├── SetDefaultFields.php │ ├── SetGeoFields.php │ ├── SetProfileFields.php │ ├── SetSearchDefaultFields.php │ ├── components │ │ └── FieldsManage.php │ ├── controllers │ │ └── GeoController.php │ ├── fields │ │ ├── FieldCheckbox.php │ │ ├── FieldDatepicker.php │ │ ├── FieldDatepickerFrom.php │ │ ├── FieldDatepickerTo.php │ │ ├── FieldDropdown.php │ │ ├── FieldFile.php │ │ ├── FieldHidden.php │ │ ├── FieldNumber.php │ │ ├── FieldPrice.php │ │ ├── FieldRadio.php │ │ ├── FieldText.php │ │ ├── FieldTextRangeFrom.php │ │ ├── FieldTextRangeTo.php │ │ ├── FieldTextarea.php │ │ └── FieldTypeahead.php │ ├── forms │ │ ├── GeoTemplateForm.php │ │ └── ProfileTemplateForm.php │ └── views │ │ ├── default-fields │ │ ├── _file.php │ │ ├── _files.php │ │ ├── clean.php │ │ └── fields-list.php │ │ └── geo-fields │ │ ├── clean.php │ │ └── fields-list.php │ ├── TypeaheadJS │ ├── TypeaheadField.php │ ├── assets │ │ ├── StyleAsset.php │ │ └── TypeaheadAsset.php │ └── css │ │ └── typeahead.css │ ├── ViewItems │ └── ViewItems.php │ └── oAuth │ ├── .gitignore │ ├── AuthChoice.php │ ├── LICENSE │ ├── README.md │ ├── composer.json │ ├── controllers │ └── AuthController.php │ └── oauth │ ├── Facebook.php │ ├── GitHub.php │ ├── Google.php │ ├── Twitter.php │ ├── VKontakte.php │ └── Yandex.php ├── composer.json ├── composer.lock ├── console ├── config │ ├── .gitignore │ ├── bootstrap.php │ ├── main.php │ └── params.php ├── controllers │ └── .gitkeep ├── migrations │ ├── csv │ │ ├── auth_assignment.csv │ │ ├── auth_item.csv │ │ ├── auth_item_child.csv │ │ ├── auth_rule.csv │ │ ├── document.csv │ │ ├── field.csv │ │ ├── geo_city.csv │ │ ├── geo_city.zip │ │ ├── geo_country.csv │ │ ├── geo_country.zip │ │ ├── geo_region.csv │ │ ├── geo_region.zip │ │ ├── message.csv │ │ ├── source_message.csv │ │ ├── template.csv │ │ ├── template_view.csv │ │ ├── user.csv │ │ ├── user_oauth_key.csv │ │ ├── value_file.csv │ │ ├── value_int.csv │ │ ├── value_numeric.csv │ │ ├── value_price.csv │ │ ├── value_string.csv │ │ └── value_text.csv │ ├── m000000_000001_create_geo_tables.php │ ├── m000000_000002_cms_shop.php │ └── m000000_000003_I18n_init.php ├── models │ └── .gitkeep └── runtime │ └── .gitignore ├── environments ├── dev │ ├── backend │ │ ├── config │ │ │ ├── main-local.php │ │ │ ├── params-local.php │ │ │ └── test-local.php │ │ └── web │ │ │ ├── index-test.php │ │ │ ├── index.php │ │ │ └── robots.txt │ ├── common │ │ └── config │ │ │ ├── main-local.php │ │ │ ├── params-local.php │ │ │ └── test-local.php │ ├── console │ │ └── config │ │ │ ├── main-local.php │ │ │ └── params-local.php │ ├── frontend │ │ ├── config │ │ │ ├── main-local.php │ │ │ ├── params-local.php │ │ │ └── test-local.php │ │ └── web │ │ │ ├── index-test.php │ │ │ ├── index.php │ │ │ └── robots.txt │ ├── yii │ ├── yii_test │ └── yii_test.bat ├── index.php └── prod │ ├── backend │ ├── config │ │ ├── main-local.php │ │ └── params-local.php │ └── web │ │ ├── index.php │ │ └── robots.txt │ ├── common │ └── config │ │ ├── main-local.php │ │ └── params-local.php │ ├── console │ └── config │ │ ├── main-local.php │ │ └── params-local.php │ ├── frontend │ ├── config │ │ ├── main-local.php │ │ └── params-local.php │ └── web │ │ ├── index.php │ │ └── robots.txt │ └── yii ├── frontend ├── assets │ └── AppAsset.php ├── codeception.yml ├── config │ ├── .gitignore │ ├── bootstrap.php │ ├── main.php │ ├── params.php │ └── test.php ├── controllers │ └── SiteController.php ├── modules │ ├── control │ │ ├── Module.php │ │ └── controllers │ │ │ └── DefaultController.php │ ├── geo │ │ ├── Module.php │ │ └── controllers │ │ │ └── DefaultController.php │ ├── login │ │ ├── Module.php │ │ └── controllers │ │ │ └── DefaultController.php │ ├── profile │ │ ├── Module.php │ │ └── controllers │ │ │ └── DefaultController.php │ └── signup │ │ ├── Module.php │ │ └── controllers │ │ └── DefaultController.php ├── runtime │ └── .gitignore ├── tests │ ├── _bootstrap.php │ ├── _data │ │ ├── login_data.php │ │ └── user.php │ ├── _output │ │ └── .gitignore │ ├── _support │ │ ├── .gitignore │ │ ├── FunctionalTester.php │ │ └── UnitTester.php │ ├── acceptance.suite.yml.example │ ├── acceptance │ │ ├── HomeCest.php │ │ └── _bootstrap.php │ ├── functional.suite.yml │ ├── functional │ │ ├── AboutCest.php │ │ ├── ContactCest.php │ │ ├── HomeCest.php │ │ ├── LoginCest.php │ │ ├── SignupCest.php │ │ └── _bootstrap.php │ ├── unit.suite.yml │ └── unit │ │ ├── _bootstrap.php │ │ └── models │ │ ├── ContactFormTest.php │ │ ├── PasswordResetRequestFormTest.php │ │ ├── ResetPasswordFormTest.php │ │ └── SignupFormTest.php ├── views │ ├── layouts │ │ ├── auth.php │ │ └── main.php │ ├── site │ │ ├── error.php │ │ ├── index.php │ │ ├── privacy-policy.php │ │ ├── show-image.php │ │ └── user-agreement.php │ └── templates │ │ ├── control │ │ ├── blocks │ │ │ ├── basket │ │ │ │ ├── _basket-product-count.php │ │ │ │ ├── _form-add-remove.php │ │ │ │ ├── _form-add.php │ │ │ │ └── fields-list.php │ │ │ ├── carousel │ │ │ │ ├── assets │ │ │ │ │ └── CarouselAsset.php │ │ │ │ ├── css │ │ │ │ │ └── carousel.css │ │ │ │ └── index.php │ │ │ ├── comment │ │ │ │ ├── __buttons-comment.php │ │ │ │ ├── _button-new-comment.php │ │ │ │ ├── _comments-list.php │ │ │ │ ├── _form-comment.php │ │ │ │ ├── assets │ │ │ │ │ └── CommentTempAsset.php │ │ │ │ ├── confirm-delete-comment.php │ │ │ │ ├── css │ │ │ │ │ └── comment.css │ │ │ │ ├── fields-list.php │ │ │ │ └── index.php │ │ │ ├── payment │ │ │ │ └── form-payment.php │ │ │ ├── rating │ │ │ │ ├── comment-rating.php │ │ │ │ ├── dislike.php │ │ │ │ ├── like.php │ │ │ │ ├── like_and_dislike.php │ │ │ │ └── percentage.php │ │ │ ├── search │ │ │ │ ├── assets │ │ │ │ │ └── SearchAssets.php │ │ │ │ ├── css │ │ │ │ │ └── search.css │ │ │ │ ├── fields-list.php │ │ │ │ └── search.php │ │ │ └── sidebar │ │ │ │ ├── assets │ │ │ │ └── SidebarAsset.php │ │ │ │ ├── css │ │ │ │ └── sidebar.css │ │ │ │ └── sidebar.php │ │ ├── index.php │ │ ├── view-list.php │ │ ├── view.php │ │ └── views │ │ │ ├── _default │ │ │ ├── __list-view-item.php │ │ │ ├── _content.php │ │ │ ├── _item.php │ │ │ ├── _list.php │ │ │ ├── assets │ │ │ │ └── DefaultTempAsset.php │ │ │ ├── css │ │ │ │ └── default.css │ │ │ ├── data.php │ │ │ └── index.php │ │ │ └── index.php │ │ ├── geo │ │ ├── _geo-form.php │ │ └── geo.php │ │ ├── login │ │ ├── _login-form.php │ │ ├── _request-password-reset-token-form.php │ │ ├── login.php │ │ ├── request-password-reset-token.php │ │ └── resetPassword.php │ │ ├── main-menu │ │ └── index.php │ │ ├── oauth │ │ └── redirect.php │ │ ├── profile │ │ ├── _file.php │ │ ├── _files.php │ │ ├── _form-profile.php │ │ ├── clean.php │ │ ├── fields-list.php │ │ ├── index.php │ │ └── profile.php │ │ └── signup │ │ ├── _signup-form.php │ │ ├── confirm-email.php │ │ └── signup.php └── web │ ├── .gitignore │ ├── .htaccess │ ├── assets │ └── .gitignore │ ├── css │ └── site.css │ ├── favicon.ico │ ├── images │ └── service │ │ └── no-foto.png │ └── uploads │ └── .gitignore ├── init ├── init.bat ├── requirements.php ├── vagrant ├── config │ ├── .gitignore │ └── vagrant-local.example.yml ├── nginx │ ├── app.conf │ └── log │ │ └── .gitignore └── provision │ ├── always-as-root.sh │ ├── common.sh │ ├── once-as-root.sh │ └── once-as-vagrant.sh └── yii.bat /.bowerrc: -------------------------------------------------------------------------------- 1 | { 2 | "directory" : "vendor/bower-asset" 3 | } 4 | -------------------------------------------------------------------------------- /.gitattributes: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpnt/yii2-cms/HEAD/.gitattributes -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpnt/yii2-cms/HEAD/.gitignore -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpnt/yii2-cms/HEAD/LICENSE -------------------------------------------------------------------------------- /LICENSE.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpnt/yii2-cms/HEAD/LICENSE.md -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpnt/yii2-cms/HEAD/README.md -------------------------------------------------------------------------------- /Vagrantfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpnt/yii2-cms/HEAD/Vagrantfile -------------------------------------------------------------------------------- /backend/assets/AppAsset.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpnt/yii2-cms/HEAD/backend/assets/AppAsset.php -------------------------------------------------------------------------------- /backend/assets/TranslateAsset.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpnt/yii2-cms/HEAD/backend/assets/TranslateAsset.php -------------------------------------------------------------------------------- /backend/codeception.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpnt/yii2-cms/HEAD/backend/codeception.yml -------------------------------------------------------------------------------- /backend/config/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/phpnt/yii2-cms/HEAD/backend/config/.gitignore -------------------------------------------------------------------------------- /backend/config/bootstrap.php: -------------------------------------------------------------------------------- 1 |