├── .gitignore ├── .htaccess ├── .idea ├── codeStyles │ ├── Project.xml │ └── codeStyleConfig.xml └── inspectionProfiles │ └── Project_Default.xml ├── .travis.yml ├── assets ├── css │ ├── _flexy-plexy.scss │ └── unresolved.css ├── html │ ├── .htaccess │ ├── CleverStyle Widgets │ │ ├── cs-0-behaviors-&-mixins │ │ │ ├── common │ │ │ │ ├── a.init.js │ │ │ │ ├── a.init.ls │ │ │ │ ├── button.js │ │ │ │ ├── button.ls │ │ │ │ ├── inject-light-dom-styles.js │ │ │ │ ├── inject-light-dom-styles.ls │ │ │ │ ├── label.js │ │ │ │ ├── label.ls │ │ │ │ ├── ready.js │ │ │ │ ├── ready.ls │ │ │ │ ├── size.js │ │ │ │ ├── size.ls │ │ │ │ ├── this.js │ │ │ │ ├── this.ls │ │ │ │ ├── tight.js │ │ │ │ ├── tight.ls │ │ │ │ ├── tooltip.js │ │ │ │ ├── tooltip.ls │ │ │ │ ├── value.js │ │ │ │ └── value.ls │ │ │ ├── elements │ │ │ │ ├── cs-button.js │ │ │ │ ├── cs-button.ls │ │ │ │ ├── cs-dropdown.js │ │ │ │ ├── cs-dropdown.ls │ │ │ │ ├── cs-form.js │ │ │ │ ├── cs-form.ls │ │ │ │ ├── cs-group.js │ │ │ │ ├── cs-group.ls │ │ │ │ ├── cs-icon.js │ │ │ │ ├── cs-icon.ls │ │ │ │ ├── cs-input-text.js │ │ │ │ ├── cs-input-text.ls │ │ │ │ ├── cs-label-button.js │ │ │ │ ├── cs-label-button.ls │ │ │ │ ├── cs-label-switcher.js │ │ │ │ ├── cs-label-switcher.ls │ │ │ │ ├── cs-link-button.js │ │ │ │ ├── cs-link-button.ls │ │ │ │ ├── cs-modal.js │ │ │ │ ├── cs-modal.ls │ │ │ │ ├── cs-notify.js │ │ │ │ ├── cs-notify.ls │ │ │ │ ├── cs-pagination.js │ │ │ │ ├── cs-pagination.ls │ │ │ │ ├── cs-progress.js │ │ │ │ ├── cs-progress.ls │ │ │ │ ├── cs-select.js │ │ │ │ ├── cs-select.ls │ │ │ │ ├── cs-switcher.js │ │ │ │ ├── cs-switcher.ls │ │ │ │ ├── cs-tabs.js │ │ │ │ ├── cs-tabs.ls │ │ │ │ ├── cs-textarea.js │ │ │ │ ├── cs-textarea.ls │ │ │ │ ├── cs-tooltip.js │ │ │ │ └── cs-tooltip.ls │ │ │ ├── index.html │ │ │ └── index.pug │ │ ├── cs-button │ │ │ ├── index.html │ │ │ ├── index.pug │ │ │ ├── script.js │ │ │ ├── script.ls │ │ │ └── style.css │ │ ├── cs-dropdown │ │ │ ├── index.html │ │ │ ├── index.pug │ │ │ ├── script.js │ │ │ ├── script.ls │ │ │ ├── style.css │ │ │ └── style.scss │ │ ├── cs-form │ │ │ ├── index.html │ │ │ ├── index.pug │ │ │ ├── script.js │ │ │ ├── script.ls │ │ │ ├── style.css │ │ │ └── style.scss │ │ ├── cs-group │ │ │ ├── index.html │ │ │ ├── index.pug │ │ │ ├── script.js │ │ │ ├── script.ls │ │ │ └── style.css │ │ ├── cs-icon │ │ │ ├── fa-brands-400.woff2 │ │ │ ├── fa-regular-400.woff2 │ │ │ ├── fa-solid-900.woff2 │ │ │ ├── fontawesome-all.min.css │ │ │ ├── index.html │ │ │ ├── index.pug │ │ │ ├── readme.md │ │ │ ├── script.js │ │ │ ├── script.ls │ │ │ ├── style.css │ │ │ └── style.scss │ │ ├── cs-input-text │ │ │ ├── index.html │ │ │ ├── index.pug │ │ │ ├── script.js │ │ │ ├── script.ls │ │ │ └── style.css │ │ ├── cs-label-button │ │ │ ├── index.html │ │ │ ├── index.pug │ │ │ ├── script.js │ │ │ ├── script.ls │ │ │ └── style.css │ │ ├── cs-label-switcher │ │ │ ├── index.html │ │ │ ├── index.pug │ │ │ ├── script.js │ │ │ ├── script.ls │ │ │ └── style.css │ │ ├── cs-link-button │ │ │ ├── index.html │ │ │ ├── index.pug │ │ │ ├── script.js │ │ │ ├── script.ls │ │ │ └── style.css │ │ ├── cs-modal │ │ │ ├── index.html │ │ │ ├── index.pug │ │ │ ├── script.js │ │ │ ├── script.ls │ │ │ ├── style.css │ │ │ └── style.scss │ │ ├── cs-notify │ │ │ ├── index.html │ │ │ ├── index.pug │ │ │ ├── script.js │ │ │ ├── script.ls │ │ │ ├── style.css │ │ │ └── style.scss │ │ ├── cs-pagination │ │ │ ├── index.html │ │ │ ├── index.pug │ │ │ ├── script.js │ │ │ ├── script.ls │ │ │ └── style.css │ │ ├── cs-progress │ │ │ ├── index.html │ │ │ ├── index.pug │ │ │ ├── script.js │ │ │ ├── script.ls │ │ │ └── style.css │ │ ├── cs-select │ │ │ ├── index.html │ │ │ ├── index.pug │ │ │ ├── script.js │ │ │ ├── script.ls │ │ │ └── style.css │ │ ├── cs-switcher │ │ │ ├── index.html │ │ │ ├── index.pug │ │ │ ├── script.js │ │ │ ├── script.ls │ │ │ └── style.css │ │ ├── cs-tabs │ │ │ ├── index.html │ │ │ ├── index.pug │ │ │ ├── script.js │ │ │ ├── script.ls │ │ │ └── style.css │ │ ├── cs-textarea │ │ │ ├── index.html │ │ │ ├── index.pug │ │ │ ├── script.js │ │ │ ├── script.ls │ │ │ └── style.css │ │ └── cs-tooltip │ │ │ ├── index.html │ │ │ ├── index.pug │ │ │ ├── script.js │ │ │ ├── script.ls │ │ │ ├── style.css │ │ │ └── style.scss │ ├── a0.advanced-styles-alone.html │ ├── a0.advanced-styles-alone.pug │ ├── a0.basic-styles-alone.html │ ├── a0.basic-styles-alone.pug │ ├── a0.normalize.html │ ├── a0.normalize.pug │ ├── a1.basic-styles.html │ ├── a1.basic-styles.pug │ ├── a2.advanced-styles.html │ ├── a2.advanced-styles.pug │ ├── cs-system-change-password │ │ ├── index.html │ │ ├── index.pug │ │ ├── script.js │ │ └── script.ls │ ├── cs-system-registration │ │ ├── index.html │ │ ├── index.pug │ │ ├── script.js │ │ └── script.ls │ ├── cs-system-restore-password │ │ ├── index.html │ │ ├── index.pug │ │ ├── script.js │ │ └── script.ls │ ├── cs-system-sign-in │ │ ├── index.html │ │ ├── index.pug │ │ ├── script.js │ │ └── script.ls │ ├── cs-system-user-settings │ │ ├── index.html │ │ ├── index.pug │ │ ├── script.js │ │ ├── script.ls │ │ ├── style.css │ │ └── style.scss │ └── iron-flex-layout.html ├── img │ ├── guest.svg │ └── logo.svg └── js │ ├── Polymer │ ├── a0.hacks.js │ ├── a0.hacks.ls │ ├── a1.behaviors.js │ ├── a1.behaviors.ls │ ├── a2.apply-shim.min.js │ ├── a2.custom-style-interface.min.js │ ├── a3.polymer-2.4.0.min.js │ ├── cs-unresolved.js │ ├── cs-unresolved.ls │ ├── extend-override.js │ ├── extend-override.ls │ ├── readme.md │ ├── simplified-default-value-declaration.js │ └── simplified-default-value-declaration.ls │ ├── WebComponents-polyfill │ ├── !include │ └── webcomponents-hi-sd-ce.min.js │ ├── a0.async-eventer-1.1.5.js │ ├── a0.config.js │ ├── a0.config.ls │ ├── a1.Event.js │ ├── a1.Event.ls │ ├── a1.Language.js │ ├── a1.Language.ls │ ├── functions.js │ ├── functions.ls │ ├── modules │ ├── !include │ ├── autosize.min.js │ ├── html5sortable-0.6.3.min.js │ ├── jsSHA-2.1.0.js │ └── sprintf-1.1.1.min.js │ ├── readme.md │ ├── zz0.alameda-custom.js │ ├── zz1.alameda-setup.js │ ├── zz1.alameda-setup.ls │ ├── zzz.optimized-assets.js │ └── zzz.optimized-assets.ls ├── blocks └── .gitkept ├── build.php ├── build ├── Builder.php ├── assets │ ├── functions.js │ ├── functions.ls │ ├── style.css │ └── style.scss ├── cli.php ├── functions.php └── web.php ├── ci ├── gpg.asc.enc ├── id_rsa.enc └── upload_build.php ├── cli ├── config └── main.php ├── contributing.md ├── core ├── bootstrap.php ├── classes │ ├── App.php │ ├── Cache.php │ ├── Cache │ │ └── Prefix.php │ ├── Config.php │ ├── Config │ │ ├── Module_Properties.php │ │ └── Options.php │ ├── Core.php │ ├── DB.php │ ├── Event.php │ ├── ExitException.php │ ├── False_class.php │ ├── Group.php │ ├── HTMLPurifier_Filter_iframe_sandbox.php │ ├── Key.php │ ├── Language.php │ ├── Language │ │ └── Prefix.php │ ├── Mail.php │ ├── Menu.php │ ├── Page.php │ ├── Page │ │ ├── Assets │ │ │ ├── Cache.php │ │ │ ├── Collecting.php │ │ │ └── RequireJS.php │ │ ├── Assets_processing.php │ │ └── Meta.php │ ├── Permission.php │ ├── Request.php │ ├── Request │ │ └── File_stream.php │ ├── Response.php │ ├── Session.php │ ├── Storage.php │ ├── Text.php │ ├── User.php │ ├── User │ │ └── Properties.php │ ├── h.php │ └── h │ │ └── Base.php ├── drivers │ ├── Cache │ │ ├── APCu.php │ │ ├── BlackHole.php │ │ ├── FileSystem.php │ │ ├── Memcached.php │ │ ├── _Abstract.php │ │ └── _Abstract_with_namespace.php │ ├── DB │ │ ├── MySQLi.php │ │ ├── PostgreSQL.php │ │ ├── SQLite.php │ │ └── _Abstract.php │ └── Storage │ │ ├── Local.php │ │ └── _Abstract.php ├── functions.php ├── languages │ ├── English.json │ ├── Russian.json │ ├── Ukrainian.json │ └── aliases │ │ ├── en │ │ ├── en_gb │ │ ├── en_us │ │ ├── ru │ │ ├── ru_ru │ │ ├── ru_ua │ │ ├── uk │ │ └── uk_ua ├── thirdparty │ ├── PHPMailer │ │ └── PHPMailer │ │ │ ├── Exception.php │ │ │ ├── PHPMailer.php │ │ │ └── SMTP.php │ ├── cli │ │ ├── Arguments.php │ │ ├── Colors.php │ │ ├── LICENSE │ │ ├── Memoize.php │ │ ├── Notify.php │ │ ├── Progress.php │ │ ├── README.md │ │ ├── Shell.php │ │ ├── Streams.php │ │ ├── Table.php │ │ ├── Tree.php │ │ ├── arguments │ │ │ ├── Argument.php │ │ │ ├── HelpScreen.php │ │ │ ├── InvalidArguments.php │ │ │ └── Lexer.php │ │ ├── cli.php │ │ ├── notify │ │ │ ├── Dots.php │ │ │ └── Spinner.php │ │ ├── progress │ │ │ └── Bar.php │ │ ├── table │ │ │ ├── Ascii.php │ │ │ ├── Renderer.php │ │ │ └── Tabular.php │ │ ├── tree │ │ │ ├── Ascii.php │ │ │ ├── Markdown.php │ │ │ └── Renderer.php │ │ └── unicode │ │ │ └── regex.php │ ├── htmlpurifier.phar │ ├── nazarpc │ │ ├── BananaHTML.php │ │ └── Stream_slicer.php │ ├── readme.md │ └── upf.php └── traits │ ├── App │ ├── Router.php │ └── Router │ │ ├── CLI.php │ │ ├── Controller.php │ │ └── Files.php │ ├── CRUD.php │ ├── CRUD │ └── Data_model_processing.php │ ├── CRUD_helpers.php │ ├── DB │ └── Accessor.php │ ├── Page │ └── Assets.php │ ├── Permission │ └── Any.php │ ├── Properties_getter.php │ ├── Request │ ├── Cookie.php │ ├── Data_and_files.php │ ├── Query.php │ ├── Route.php │ ├── Route │ │ └── Static_files.php │ └── Server.php │ ├── Session │ ├── Data.php │ └── Management.php │ ├── Singleton.php │ ├── Singleton │ └── Base.php │ └── User │ ├── Data.php │ ├── Group.php │ ├── Management.php │ ├── Permission.php │ └── Profile.php ├── custom ├── classes │ └── readme.md └── readme.txt ├── docker ├── Dockerfile ├── any_host.php ├── nginx.default └── start_webserver.sh ├── docs ├── Development-environment-and-contribution.md ├── File-system-structure.md ├── backend-advanced │ ├── Classes-aliases.md │ ├── Comments.md │ ├── Components-dependencies-and-conflicts.md │ ├── Composer.md │ ├── Database.md │ ├── Files-uploading.md │ ├── Permissions.md │ ├── Routing.md │ ├── SQL-compatibility.md │ ├── System-classes-extension.md │ └── Testing.md ├── backend-components │ ├── Blocks.md │ └── Modules.md ├── backend-core │ ├── Classes.md │ ├── Engines.md │ ├── Languages.md │ └── Themes.md ├── backend-system-classes │ └── h.md ├── backend-system-objects │ ├── $App.md │ ├── $Cache.md │ ├── $Config.md │ ├── $Core.md │ ├── $Event.md │ ├── $Group.md │ ├── $Key.md │ ├── $L.md │ ├── $Mail.md │ ├── $Menu.md │ ├── $Page.md │ ├── $Permission.md │ ├── $Request.md │ ├── $Response.md │ ├── $Session.md │ ├── $Storage.md │ ├── $Text.md │ ├── $User.md │ └── $db.md ├── backend-system-traits │ ├── CRUD.md │ ├── CRUD_helpers.md │ └── Singleton.md ├── framework-specific-features │ ├── exit-die.md │ └── request-response.md ├── frontend-advanced │ ├── Bower-and-NPM.md │ ├── Comments.md │ ├── Content-enhancement.md │ ├── Files-uploading.md │ ├── Frontend-loading-and-CSS-JS-HTML-processing.md │ ├── Polymer-behaviors.md │ ├── Polymer-elements-extension.md │ ├── Polymer.md │ ├── Public-cache-structures.md │ └── RequireJS.md ├── frontend-system-objects │ ├── Event.md │ └── L.md ├── installation │ ├── Download-installation-packages.md │ ├── Installation.md │ ├── Installer-builder.md │ └── Nginx-config-sample.md ├── quick-start │ ├── Classes-autoloading.md │ ├── CleverStyle-Widgets.md │ ├── Code-style.md │ ├── Events.md │ ├── Module-architecture.md │ ├── Page-layout.md │ ├── Page-title-and-content.md │ ├── Shared-styles.md │ ├── Simplest-block.md │ ├── Simplest-module.md │ ├── UI-helper-methods.md │ ├── WYSIWYG-wrapper-elements.md │ └── XHR.md └── readme.md ├── favicon.ico ├── index.php ├── install ├── DB │ ├── MySQLi.sql │ ├── PostgreSQL.sql │ └── SQLite.sql ├── Installer.php ├── cli.php ├── style.css ├── style.scss └── web.php ├── modules ├── Blockchain_payment │ ├── Transactions.php │ ├── admin │ │ ├── general.php │ │ ├── index.json │ │ └── transactions.php │ ├── api │ │ └── index.get.php │ ├── assets │ │ ├── .htaccess │ │ ├── css │ │ │ ├── admin.css │ │ │ └── admin.scss │ │ └── html │ │ │ └── cs-blockchain-payment-pay │ │ │ ├── index.html │ │ │ ├── index.pug │ │ │ ├── script.js │ │ │ ├── script.ls │ │ │ ├── style.css │ │ │ └── style.scss │ ├── convertible_currencies.json │ ├── events.php │ ├── index.php │ ├── languages │ │ ├── English.json │ │ ├── Russian.json │ │ └── Ukrainian.json │ ├── meta.json │ └── meta │ │ ├── install_db │ │ └── transactions │ │ │ └── MySQLi.sql │ │ └── uninstall_db │ │ └── transactions │ │ └── MySQLi.sql ├── Blogs │ ├── Controller.php │ ├── Helpers.php │ ├── Posts.php │ ├── Sections.php │ ├── Tags.php │ ├── admin │ │ ├── Controller.php │ │ └── index.json │ ├── api │ │ ├── Controller.php │ │ ├── Controller │ │ │ └── admin.php │ │ └── index.json │ ├── assets │ │ └── html │ │ │ ├── .htaccess │ │ │ ├── cs-blogs-add-edit-post │ │ │ ├── index.html │ │ │ ├── index.pug │ │ │ ├── script.js │ │ │ ├── script.ls │ │ │ ├── style.css │ │ │ └── style.scss │ │ │ ├── cs-blogs-admin-general │ │ │ ├── index.html │ │ │ ├── index.pug │ │ │ ├── script.js │ │ │ └── script.ls │ │ │ ├── cs-blogs-admin-posts-list │ │ │ ├── index.html │ │ │ ├── index.pug │ │ │ ├── script.js │ │ │ ├── script.ls │ │ │ ├── style.css │ │ │ └── style.scss │ │ │ ├── cs-blogs-admin-sections-add-edit-form │ │ │ ├── index.html │ │ │ ├── index.pug │ │ │ ├── script.js │ │ │ ├── script.ls │ │ │ ├── style.css │ │ │ └── style.scss │ │ │ ├── cs-blogs-admin-sections-list │ │ │ ├── index.html │ │ │ ├── index.pug │ │ │ ├── script.js │ │ │ ├── script.ls │ │ │ ├── style.css │ │ │ └── style.scss │ │ │ ├── cs-blogs-head-actions │ │ │ ├── index.html │ │ │ ├── index.pug │ │ │ ├── script.js │ │ │ └── script.ls │ │ │ ├── cs-blogs-post │ │ │ ├── index.html │ │ │ ├── index.pug │ │ │ ├── script.js │ │ │ ├── script.ls │ │ │ ├── style.css │ │ │ └── style.scss │ │ │ └── cs-blogs-posts │ │ │ ├── cs-blogs-posts-post │ │ │ ├── index.html │ │ │ ├── index.pug │ │ │ ├── script.js │ │ │ └── script.ls │ │ │ ├── index.html │ │ │ ├── index.pug │ │ │ ├── script.js │ │ │ └── script.ls │ ├── events.php │ ├── index.json │ ├── languages │ │ ├── English.json │ │ ├── Russian.json │ │ └── Ukrainian.json │ ├── meta.json │ └── meta │ │ ├── install_db │ │ └── posts │ │ │ ├── MySQLi.sql │ │ │ └── SQLite.sql │ │ └── uninstall_db │ │ └── posts │ │ ├── MySQLi.sql │ │ └── SQLite.sql ├── Comments │ ├── Comments.php │ ├── api │ │ └── Controller.php │ ├── assets │ │ └── html │ │ │ ├── .htaccess │ │ │ ├── cs-comments-count │ │ │ ├── index.html │ │ │ ├── index.pug │ │ │ ├── script.js │ │ │ └── script.ls │ │ │ └── cs-comments │ │ │ ├── cs-comments-comment │ │ │ ├── index.html │ │ │ ├── index.pug │ │ │ ├── script.js │ │ │ ├── script.ls │ │ │ ├── style.css │ │ │ └── style.scss │ │ │ ├── index.html │ │ │ ├── index.pug │ │ │ ├── script.js │ │ │ └── script.ls │ ├── events.php │ ├── languages │ │ ├── English.json │ │ ├── Russian.json │ │ └── Ukrainian.json │ ├── meta.json │ └── meta │ │ ├── install_db │ │ └── comments │ │ │ └── MySQLi.sql │ │ └── uninstall_db │ │ └── comments │ │ └── MySQLi.sql ├── Composer │ ├── 00.Composer_autoloader.php │ ├── Application.php │ ├── Composer.php │ ├── Output.php │ ├── admin │ │ ├── Controller.php │ │ └── index.json │ ├── ansispan.php │ ├── api │ │ └── Controller.php │ ├── assets │ │ ├── .htaccess │ │ ├── html │ │ │ └── cs-composer │ │ │ │ ├── index.html │ │ │ │ ├── index.pug │ │ │ │ ├── script.js │ │ │ │ ├── script.ls │ │ │ │ └── style.css │ │ └── js │ │ │ ├── script.js │ │ │ └── script.ls │ ├── cli │ │ └── Controller.php │ ├── composer.phar │ ├── events.php │ ├── languages │ │ ├── English.json │ │ ├── Russian.json │ │ └── Ukrainian.json │ ├── meta.json │ ├── packages_bundled_with_system.json │ └── readme.html ├── Composer_assets │ ├── Assets_processing.php │ ├── events.php │ ├── meta.json │ ├── packages_bundled_with_system.json │ └── readme.html ├── Content │ ├── Content.php │ ├── admin │ │ └── index.php │ ├── api │ │ ├── index.delete.php │ │ ├── index.get.php │ │ ├── index.is_admin.php │ │ ├── index.post.php │ │ └── index.put.php │ ├── assets │ │ ├── css │ │ │ ├── admin.css │ │ │ └── admin.scss │ │ └── js │ │ │ ├── script.js │ │ │ └── script.ls │ ├── events.php │ ├── languages │ │ ├── English.json │ │ ├── Russian.json │ │ └── Ukrainian.json │ ├── meta.json │ ├── meta │ │ ├── install_db │ │ │ └── content │ │ │ │ └── MySQLi.sql │ │ └── uninstall_db │ │ │ └── content │ │ │ └── MySQLi.sql │ └── readme.html ├── Cron │ ├── admin │ │ └── index.php │ ├── assets │ │ └── css │ │ │ ├── admin.css │ │ │ └── admin.scss │ ├── languages │ │ ├── English.json │ │ ├── Russian.json │ │ └── Ukrainian.json │ └── meta.json ├── Deferred_tasks │ ├── Deferred_tasks.php │ ├── admin │ │ └── index.php │ ├── assets │ │ └── css │ │ │ ├── admin.css │ │ │ └── admin.scss │ ├── events.php │ ├── index.php │ ├── languages │ │ ├── English.json │ │ ├── Russian.json │ │ └── Ukrainian.json │ ├── meta.json │ ├── meta │ │ ├── install_db │ │ │ └── tasks │ │ │ │ └── MySQLi.sql │ │ └── uninstall_db │ │ │ └── tasks │ │ │ └── MySQLi.sql │ └── readme.html ├── Disqus │ ├── admin │ │ └── index.php │ ├── api │ │ └── Controller.php │ ├── assets │ │ ├── css │ │ │ ├── admin.css │ │ │ └── admin.scss │ │ ├── html │ │ │ ├── .htaccess │ │ │ ├── cs-comments-count │ │ │ │ ├── index.html │ │ │ │ ├── index.pug │ │ │ │ ├── script.js │ │ │ │ └── script.ls │ │ │ └── cs-comments │ │ │ │ ├── index.html │ │ │ │ ├── index.pug │ │ │ │ ├── script.js │ │ │ │ └── script.ls │ │ └── js │ │ │ ├── general.js │ │ │ └── general.ls │ └── meta.json ├── Feedback │ ├── assets │ │ └── css │ │ │ └── general.css │ ├── index.php │ ├── languages │ │ ├── English.json │ │ ├── Russian.json │ │ └── Ukrainian.json │ └── meta.json ├── Fotorama │ ├── assets │ │ ├── .htaccess │ │ ├── html │ │ │ └── cs-fotorama-styles-wrapper │ │ │ │ ├── fotorama.css │ │ │ │ ├── fotorama.png │ │ │ │ ├── fotorama@2x.png │ │ │ │ ├── index.html │ │ │ │ ├── index.pug │ │ │ │ ├── script.js │ │ │ │ └── script.ls │ │ └── js │ │ │ ├── fotorama.js │ │ │ └── license.txt │ ├── events.php │ ├── meta.json │ ├── readme.html │ └── readme.md ├── Http_server │ ├── cli │ │ └── Controller.php │ ├── meta.json │ ├── readme.html │ └── supervisor.php ├── HybridAuth │ ├── Controller.php │ ├── Hybrid │ │ ├── Auth.php │ │ ├── Endpoint.php │ │ ├── Error.php │ │ ├── Exception.php │ │ ├── Logger.php │ │ ├── Provider_Adapter.php │ │ ├── Provider_Model.php │ │ ├── Provider_Model_OAuth1.php │ │ ├── Provider_Model_OAuth2.php │ │ ├── Provider_Model_OpenID.php │ │ ├── Providers │ │ │ ├── AOL.php │ │ │ ├── Amazon.php │ │ │ ├── BeatsMusic.php │ │ │ ├── BitBucket.php │ │ │ ├── Citrix.php │ │ │ ├── Dataporten.php │ │ │ ├── Deezer.php │ │ │ ├── DigitalOcean.php │ │ │ ├── Discord.php │ │ │ ├── Disqus.php │ │ │ ├── Draugiem.php │ │ │ ├── Dribbble.php │ │ │ ├── Dropbox.php │ │ │ ├── DrupalOAuth2.php │ │ │ ├── Envato.php │ │ │ ├── Facebook.php │ │ │ ├── Foursquare.php │ │ │ ├── Freeagent.php │ │ │ ├── GitHub.php │ │ │ ├── GitLab.php │ │ │ ├── Goodreads.php │ │ │ ├── Google.php │ │ │ ├── HumanitarianId.php │ │ │ ├── Identica.php │ │ │ ├── IdqOAuth2.php │ │ │ ├── Instagram.php │ │ │ ├── LastFM.php │ │ │ ├── Latch.php │ │ │ ├── LinkedIn.php │ │ │ ├── Live.php │ │ │ ├── MailChimp.php │ │ │ ├── Mailru.php │ │ │ ├── MixCloud.php │ │ │ ├── Murmur.php │ │ │ ├── Odnoklassniki.php │ │ │ ├── OpenID.php │ │ │ ├── Paypal.php │ │ │ ├── PaypalOpenID.php │ │ │ ├── Pinterest.php │ │ │ ├── PixelPin.php │ │ │ ├── Pixnet.php │ │ │ ├── Plurk.php │ │ │ ├── QQ.php │ │ │ ├── Rdio.php │ │ │ ├── Rhapsody.php │ │ │ ├── Sina.php │ │ │ ├── Skyrock.php │ │ │ ├── Slack.php │ │ │ ├── SoundCloud.php │ │ │ ├── StackExchange.php │ │ │ ├── Steam.php │ │ │ ├── Strava.php │ │ │ ├── Stripe.php │ │ │ ├── Tumblr.php │ │ │ ├── TwitchTV.php │ │ │ ├── Twitter.php │ │ │ ├── Vimeo.php │ │ │ ├── Vkontakte.php │ │ │ ├── WarGaming.php │ │ │ ├── Weibo.php │ │ │ ├── WordPress.php │ │ │ ├── XING.php │ │ │ ├── XINGJob.php │ │ │ ├── XINGJobLocation.php │ │ │ ├── XINGUser.php │ │ │ ├── XINGUserPictureSize.php │ │ │ ├── Xuite.php │ │ │ ├── Yahoo.php │ │ │ ├── Yammer.php │ │ │ ├── Yandex.php │ │ │ └── px500.php │ │ ├── Storage.php │ │ ├── StorageInterface.php │ │ ├── User.php │ │ ├── User_Activity.php │ │ ├── User_Contact.php │ │ ├── User_Profile.php │ │ ├── index.html │ │ ├── resources │ │ │ ├── index.html │ │ │ ├── openid_policy.html │ │ │ ├── openid_realm.html │ │ │ └── openid_xrds.xml │ │ └── thirdparty │ │ │ ├── Amazon │ │ │ └── AmazonOauth2Client.php │ │ │ ├── Draugiem │ │ │ └── DraugiemApi.php │ │ │ ├── HumanitarianId │ │ │ └── HumanitarianIdOAuth2Client.php │ │ │ ├── IdqOAuth2 │ │ │ └── IdqOAuth2Client.php │ │ │ ├── LastFM │ │ │ └── LastFM.php │ │ │ ├── LinkedIn │ │ │ └── LinkedIn.php │ │ │ ├── OAuth │ │ │ ├── OAuth.php │ │ │ ├── OAuth1Client.php │ │ │ └── OAuth2Client.php │ │ │ ├── OpenID │ │ │ └── LightOpenID.php │ │ │ ├── Paypal │ │ │ └── PaypalOAuth2Client.php │ │ │ ├── Sina │ │ │ ├── Sina.php │ │ │ └── saetv2.ex.class.php │ │ │ ├── Vimeo │ │ │ └── Vimeo.php │ │ │ ├── Yammer │ │ │ └── Yammer.php │ │ │ └── index.html │ ├── Social_integration.php │ ├── admin │ │ ├── index.json │ │ └── providers_list.php │ ├── assets │ │ ├── html │ │ │ ├── .htaccess │ │ │ └── cs-hybridauth-sign-in │ │ │ │ ├── index.html │ │ │ │ ├── index.pug │ │ │ │ ├── script.js │ │ │ │ ├── script.ls │ │ │ │ ├── style.css │ │ │ │ └── style.scss │ │ └── js │ │ │ ├── general.js │ │ │ └── general.ls │ ├── events.php │ ├── functions.php │ ├── languages │ │ ├── English.json │ │ ├── Russian.json │ │ └── Ukrainian.json │ ├── meta.json │ ├── meta │ │ ├── install_db │ │ │ └── integration │ │ │ │ └── MySQLi.sql │ │ └── uninstall_db │ │ │ └── integration │ │ │ └── MySQLi.sql │ ├── providers.json │ ├── readme.html │ └── readme.md ├── Json_ld │ ├── Json_ld.php │ └── meta.json ├── OAuth2 │ ├── OAuth2.php │ ├── admin │ │ ├── clients.php │ │ ├── clients │ │ │ ├── add.php │ │ │ ├── delete.php │ │ │ ├── edit.php │ │ │ ├── list.php │ │ │ └── save.php │ │ └── index.json │ ├── assets │ │ └── css │ │ │ ├── admin.css │ │ │ ├── admin.scss │ │ │ ├── user.css │ │ │ └── user.scss │ ├── authorize.php │ ├── blank.php │ ├── events.php │ ├── index.json │ ├── invalidate_token.php │ ├── languages │ │ ├── English.json │ │ ├── Russian.json │ │ └── Ukrainian.json │ ├── meta.json │ ├── meta │ │ ├── install_db │ │ │ └── oauth2 │ │ │ │ └── MySQLi.sql │ │ └── uninstall_db │ │ │ └── oauth2 │ │ │ └── MySQLi.sql │ ├── readme.html │ └── token.php ├── Photo_gallery │ ├── Photo_gallery.php │ ├── admin │ │ ├── galleries.php │ │ ├── galleries │ │ │ ├── add.php │ │ │ ├── browse.php │ │ │ ├── delete.php │ │ │ ├── edit.php │ │ │ └── save.php │ │ └── index.json │ ├── api │ │ ├── images.delete.php │ │ ├── images.post.php │ │ └── index.json │ ├── assets │ │ ├── css │ │ │ ├── admin.css │ │ │ ├── admin.scss │ │ │ ├── general.css │ │ │ └── general.scss │ │ ├── img │ │ │ └── empty.gif │ │ └── js │ │ │ ├── general.js │ │ │ └── general.ls │ ├── edit_images.php │ ├── events.php │ ├── galleries.php │ ├── gallery.php │ ├── index.json │ ├── index.php │ ├── languages │ │ ├── English.json │ │ ├── Russian.json │ │ └── Ukrainian.json │ ├── meta.json │ └── meta │ │ ├── install_db │ │ └── galleries │ │ │ └── MySQLi.sql │ │ └── uninstall_db │ │ └── galleries │ │ └── MySQLi.sql ├── Polls │ ├── Answers.php │ ├── Common_actions.php │ ├── Options.php │ ├── Polls.php │ ├── admin │ │ ├── index.json │ │ ├── polls.php │ │ └── polls │ │ │ ├── delete.php │ │ │ ├── edit.php │ │ │ ├── list.php │ │ │ └── save.php │ ├── assets │ │ └── css │ │ │ ├── admin.css │ │ │ └── admin.scss │ ├── events.php │ ├── languages │ │ ├── English.json │ │ ├── Russian.json │ │ └── Ukrainian.json │ ├── meta.json │ └── meta │ │ ├── install_db │ │ └── polls │ │ │ └── MySQLi.sql │ │ └── uninstall_db │ │ └── polls │ │ └── MySQLi.sql ├── Prism │ ├── assets │ │ ├── .htaccess │ │ ├── html │ │ │ └── cs-prism-styles │ │ │ │ ├── index.html │ │ │ │ ├── index.pug │ │ │ │ └── prism.css │ │ └── js │ │ │ ├── components │ │ │ ├── !include │ │ │ ├── prism-abap.min.js │ │ │ ├── prism-actionscript.min.js │ │ │ ├── prism-ada.min.js │ │ │ ├── prism-apacheconf.min.js │ │ │ ├── prism-apl.min.js │ │ │ ├── prism-applescript.min.js │ │ │ ├── prism-arduino.min.js │ │ │ ├── prism-asciidoc.min.js │ │ │ ├── prism-asm6502.min.js │ │ │ ├── prism-aspnet.min.js │ │ │ ├── prism-autohotkey.min.js │ │ │ ├── prism-autoit.min.js │ │ │ ├── prism-bash.min.js │ │ │ ├── prism-basic.min.js │ │ │ ├── prism-batch.min.js │ │ │ ├── prism-bison.min.js │ │ │ ├── prism-brainfuck.min.js │ │ │ ├── prism-bro.min.js │ │ │ ├── prism-c.min.js │ │ │ ├── prism-clike.min.js │ │ │ ├── prism-coffeescript.min.js │ │ │ ├── prism-core.min.js │ │ │ ├── prism-cpp.min.js │ │ │ ├── prism-crystal.min.js │ │ │ ├── prism-csharp.min.js │ │ │ ├── prism-css-extras.min.js │ │ │ ├── prism-css.min.js │ │ │ ├── prism-d.min.js │ │ │ ├── prism-dart.min.js │ │ │ ├── prism-diff.min.js │ │ │ ├── prism-django.min.js │ │ │ ├── prism-docker.min.js │ │ │ ├── prism-eiffel.min.js │ │ │ ├── prism-elixir.min.js │ │ │ ├── prism-elm.min.js │ │ │ ├── prism-erlang.min.js │ │ │ ├── prism-flow.min.js │ │ │ ├── prism-fortran.min.js │ │ │ ├── prism-fsharp.min.js │ │ │ ├── prism-gherkin.min.js │ │ │ ├── prism-git.min.js │ │ │ ├── prism-glsl.min.js │ │ │ ├── prism-go.min.js │ │ │ ├── prism-graphql.min.js │ │ │ ├── prism-groovy.min.js │ │ │ ├── prism-haml.min.js │ │ │ ├── prism-handlebars.min.js │ │ │ ├── prism-haskell.min.js │ │ │ ├── prism-haxe.min.js │ │ │ ├── prism-http.min.js │ │ │ ├── prism-ichigojam.min.js │ │ │ ├── prism-icon.min.js │ │ │ ├── prism-inform7.min.js │ │ │ ├── prism-ini.min.js │ │ │ ├── prism-io.min.js │ │ │ ├── prism-j.min.js │ │ │ ├── prism-java.min.js │ │ │ ├── prism-javascript.min.js │ │ │ ├── prism-jolie.min.js │ │ │ ├── prism-json.min.js │ │ │ ├── prism-jsx.min.js │ │ │ ├── prism-julia.min.js │ │ │ ├── prism-keyman.min.js │ │ │ ├── prism-kotlin.min.js │ │ │ ├── prism-latex.min.js │ │ │ ├── prism-less.min.js │ │ │ ├── prism-livescript.min.js │ │ │ ├── prism-lolcode.min.js │ │ │ ├── prism-lua.min.js │ │ │ ├── prism-makefile.min.js │ │ │ ├── prism-markdown.min.js │ │ │ ├── prism-markup.min.js │ │ │ ├── prism-matlab.min.js │ │ │ ├── prism-mel.min.js │ │ │ ├── prism-mizar.min.js │ │ │ ├── prism-monkey.min.js │ │ │ ├── prism-n4js.min.js │ │ │ ├── prism-nasm.min.js │ │ │ ├── prism-nginx.min.js │ │ │ ├── prism-nim.min.js │ │ │ ├── prism-nix.min.js │ │ │ ├── prism-nsis.min.js │ │ │ ├── prism-objectivec.min.js │ │ │ ├── prism-ocaml.min.js │ │ │ ├── prism-opencl.min.js │ │ │ ├── prism-oz.min.js │ │ │ ├── prism-parigp.min.js │ │ │ ├── prism-parser.min.js │ │ │ ├── prism-pascal.min.js │ │ │ ├── prism-perl.min.js │ │ │ ├── prism-php-extras.min.js │ │ │ ├── prism-php.min.js │ │ │ ├── prism-powershell.min.js │ │ │ ├── prism-processing.min.js │ │ │ ├── prism-prolog.min.js │ │ │ ├── prism-properties.min.js │ │ │ ├── prism-protobuf.min.js │ │ │ ├── prism-pug.min.js │ │ │ ├── prism-puppet.min.js │ │ │ ├── prism-pure.min.js │ │ │ ├── prism-python.min.js │ │ │ ├── prism-q.min.js │ │ │ ├── prism-qore.min.js │ │ │ ├── prism-r.min.js │ │ │ ├── prism-reason.min.js │ │ │ ├── prism-renpy.min.js │ │ │ ├── prism-rest.min.js │ │ │ ├── prism-rip.min.js │ │ │ ├── prism-roboconf.min.js │ │ │ ├── prism-ruby.min.js │ │ │ ├── prism-rust.min.js │ │ │ ├── prism-sas.min.js │ │ │ ├── prism-sass.min.js │ │ │ ├── prism-scala.min.js │ │ │ ├── prism-scheme.min.js │ │ │ ├── prism-scss.min.js │ │ │ ├── prism-smalltalk.min.js │ │ │ ├── prism-smarty.min.js │ │ │ ├── prism-sql.min.js │ │ │ ├── prism-stylus.min.js │ │ │ ├── prism-swift.min.js │ │ │ ├── prism-tcl.min.js │ │ │ ├── prism-textile.min.js │ │ │ ├── prism-twig.min.js │ │ │ ├── prism-typescript.min.js │ │ │ ├── prism-vbnet.min.js │ │ │ ├── prism-verilog.min.js │ │ │ ├── prism-vhdl.min.js │ │ │ ├── prism-vim.min.js │ │ │ ├── prism-wiki.min.js │ │ │ ├── prism-xeora.min.js │ │ │ ├── prism-xojo.min.js │ │ │ └── prism-yaml.min.js │ │ │ ├── license.txt │ │ │ ├── prism.js │ │ │ ├── z.integration.js │ │ │ └── z.integration.ls │ ├── meta.json │ ├── readme.html │ └── readme.md ├── Psr15 │ ├── Middleware.php │ └── meta.json ├── Psr7 │ ├── Psr7_data_stream.php │ ├── Request.php │ ├── Response.php │ └── meta.json ├── Service_worker_cache │ ├── assets │ │ └── js │ │ │ ├── !include │ │ │ ├── .htaccess │ │ │ ├── register.js │ │ │ ├── register.ls │ │ │ ├── service-worker.js │ │ │ └── service-worker.ls │ ├── events.php │ ├── meta.json │ └── readme.html ├── Shop │ ├── Attributes.php │ ├── Categories.php │ ├── Common_actions.php │ ├── Items.php │ ├── Order_statuses.php │ ├── Orders.php │ ├── Shipping_types.php │ ├── Tags.php │ ├── admin │ │ ├── attributes.php │ │ ├── categories.php │ │ ├── general.php │ │ ├── index.json │ │ ├── items.php │ │ ├── order_statuses.php │ │ ├── orders.php │ │ └── shipping_types.php │ ├── api │ │ ├── admin │ │ │ ├── attributes.delete.php │ │ │ ├── attributes.get.php │ │ │ ├── attributes.post.php │ │ │ ├── attributes.put.php │ │ │ ├── categories.delete.php │ │ │ ├── categories.get.php │ │ │ ├── categories.post.php │ │ │ ├── categories.put.php │ │ │ ├── items.delete.php │ │ │ ├── items.get.php │ │ │ ├── items.post.php │ │ │ ├── items.put.php │ │ │ ├── order_statuses.delete.php │ │ │ ├── order_statuses.get.php │ │ │ ├── order_statuses.post.php │ │ │ ├── order_statuses.put.php │ │ │ ├── orders.delete.php │ │ │ ├── orders.get.php │ │ │ ├── orders.post.php │ │ │ ├── orders.put.php │ │ │ ├── shipping_types.delete.php │ │ │ ├── shipping_types.get.php │ │ │ ├── shipping_types.post.php │ │ │ └── shipping_types.put.php │ │ ├── attributes.get.php │ │ ├── cart.get.php │ │ ├── categories.get.php │ │ ├── index.json │ │ ├── items.get.php │ │ ├── orders.get.php │ │ ├── orders.post.php │ │ ├── payment_methods.get.php │ │ ├── settings.get.php │ │ └── shipping_types.get.php │ ├── assets │ │ ├── .htaccess │ │ ├── css │ │ │ ├── admin.css │ │ │ └── admin.scss │ │ ├── html │ │ │ ├── cs-shop-add-to-cart │ │ │ │ ├── index.html │ │ │ │ ├── index.pug │ │ │ │ ├── script.js │ │ │ │ ├── script.ls │ │ │ │ ├── style.css │ │ │ │ └── style.scss │ │ │ ├── cs-shop-cart │ │ │ │ ├── cs-shop-cart-item │ │ │ │ │ ├── index.html │ │ │ │ │ ├── index.pug │ │ │ │ │ ├── script.js │ │ │ │ │ ├── script.ls │ │ │ │ │ ├── style.css │ │ │ │ │ └── style.scss │ │ │ │ ├── index.html │ │ │ │ ├── index.pug │ │ │ │ ├── script.js │ │ │ │ └── script.ls │ │ │ ├── cs-shop-categories │ │ │ │ ├── cs-shop-category-nested │ │ │ │ │ ├── index.html │ │ │ │ │ ├── index.pug │ │ │ │ │ ├── script.js │ │ │ │ │ ├── script.ls │ │ │ │ │ ├── style.css │ │ │ │ │ └── style.scss │ │ │ │ └── cs-shop-category │ │ │ │ │ ├── index.html │ │ │ │ │ ├── index.pug │ │ │ │ │ ├── script.js │ │ │ │ │ ├── script.ls │ │ │ │ │ ├── style.css │ │ │ │ │ └── style.scss │ │ │ ├── cs-shop-category-items │ │ │ │ └── cs-shop-category-item │ │ │ │ │ ├── index.html │ │ │ │ │ ├── index.pug │ │ │ │ │ ├── script.js │ │ │ │ │ ├── script.ls │ │ │ │ │ ├── style.css │ │ │ │ │ └── style.scss │ │ │ ├── cs-shop-empty-cart │ │ │ │ ├── index.html │ │ │ │ ├── index.pug │ │ │ │ ├── script.js │ │ │ │ └── script.ls │ │ │ ├── cs-shop-item │ │ │ │ ├── index.html │ │ │ │ ├── index.pug │ │ │ │ ├── script.js │ │ │ │ ├── script.ls │ │ │ │ ├── style.css │ │ │ │ └── style.scss │ │ │ └── cs-shop-orders │ │ │ │ ├── cs-shop-order │ │ │ │ ├── cs-shop-order-item │ │ │ │ │ ├── index.html │ │ │ │ │ ├── index.pug │ │ │ │ │ ├── script.js │ │ │ │ │ ├── script.ls │ │ │ │ │ ├── style.css │ │ │ │ │ └── style.scss │ │ │ │ ├── index.html │ │ │ │ ├── index.pug │ │ │ │ ├── script.js │ │ │ │ └── script.ls │ │ │ │ ├── index.html │ │ │ │ ├── index.pug │ │ │ │ ├── script.js │ │ │ │ └── script.ls │ │ ├── img │ │ │ └── no-image.svg │ │ └── js │ │ │ ├── admin │ │ │ ├── attributes.js │ │ │ ├── attributes.ls │ │ │ ├── categories.js │ │ │ ├── categories.ls │ │ │ ├── items.js │ │ │ ├── items.ls │ │ │ ├── order_statuses.js │ │ │ ├── order_statuses.ls │ │ │ ├── orders.js │ │ │ ├── orders.ls │ │ │ ├── shipping_types.js │ │ │ └── shipping_types.ls │ │ │ ├── cart.js │ │ │ ├── cart.ls │ │ │ ├── cs-shop-order-paid-notification.js │ │ │ └── cs-shop-order-paid-notification.ls │ ├── cart.php │ ├── categories_.php │ ├── currencies_codes.json │ ├── events.php │ ├── index.json │ ├── index.php │ ├── items_.php │ ├── languages │ │ ├── English.json │ │ ├── Russian.json │ │ └── Ukrainian.json │ ├── meta.json │ ├── meta │ │ ├── install_db │ │ │ └── shop │ │ │ │ └── MySQLi.sql │ │ └── uninstall_db │ │ │ └── shop │ │ │ └── MySQLi.sql │ ├── orders_.php │ ├── pay.php │ └── readme.html ├── Static_pages │ ├── Categories.php │ ├── Pages.php │ ├── admin │ │ ├── Controller.php │ │ └── index.json │ ├── api │ │ ├── Controller.php │ │ └── index.json │ ├── assets │ │ └── html │ │ │ ├── .htaccess │ │ │ ├── cs-static-pages-admin-categories-add-edit-form │ │ │ ├── index.html │ │ │ ├── index.pug │ │ │ ├── script.js │ │ │ ├── script.ls │ │ │ ├── style.css │ │ │ └── style.scss │ │ │ ├── cs-static-pages-admin-categories-list │ │ │ ├── index.html │ │ │ ├── index.pug │ │ │ ├── script.js │ │ │ ├── script.ls │ │ │ ├── style.css │ │ │ └── style.scss │ │ │ ├── cs-static-pages-admin-pages-add-edit-form │ │ │ ├── index.html │ │ │ ├── index.pug │ │ │ ├── script.js │ │ │ ├── script.ls │ │ │ ├── style.css │ │ │ └── style.scss │ │ │ ├── cs-static-pages-admin-pages-list │ │ │ ├── index.html │ │ │ ├── index.pug │ │ │ ├── script.js │ │ │ └── script.ls │ │ │ └── cs-static-pages-page │ │ │ ├── index.html │ │ │ ├── index.pug │ │ │ ├── script.js │ │ │ ├── script.ls │ │ │ ├── style.css │ │ │ └── style.scss │ ├── events.php │ ├── index.php │ ├── languages │ │ ├── English.json │ │ ├── Russian.json │ │ └── Ukrainian.json │ ├── meta.json │ └── meta │ │ ├── install_db │ │ └── pages │ │ │ └── MySQLi.sql │ │ └── uninstall_db │ │ └── pages │ │ └── MySQLi.sql ├── System │ ├── Controller.php │ ├── Packages_dependencies.php │ ├── Packages_manipulation.php │ ├── admin │ │ ├── Controller.php │ │ ├── index.json │ │ └── index_simple.json │ ├── api │ │ ├── Controller.php │ │ ├── Controller │ │ │ ├── admin │ │ │ │ ├── about_server.php │ │ │ │ ├── blocks.php │ │ │ │ ├── core_options_common.php │ │ │ │ ├── databases.php │ │ │ │ ├── groups.php │ │ │ │ ├── languages.php │ │ │ │ ├── mail.php │ │ │ │ ├── modules.php │ │ │ │ ├── optimization.php │ │ │ │ ├── permissions.php │ │ │ │ ├── security.php │ │ │ │ ├── site_info.php │ │ │ │ ├── storages.php │ │ │ │ ├── system.php │ │ │ │ ├── themes.php │ │ │ │ ├── upload.php │ │ │ │ ├── users.php │ │ │ │ └── users │ │ │ │ │ ├── general.php │ │ │ │ │ ├── groups.php │ │ │ │ │ └── permissions.php │ │ │ ├── general.php │ │ │ └── profile.php │ │ ├── index.json │ │ └── readme.html │ ├── assets │ │ ├── html │ │ │ ├── .htaccess │ │ │ ├── _settings_mixins.pug │ │ │ ├── cs-system-admin-about-server │ │ │ │ ├── index.html │ │ │ │ ├── index.pug │ │ │ │ ├── script.js │ │ │ │ └── script.ls │ │ │ ├── cs-system-admin-blocks-form │ │ │ │ ├── index.html │ │ │ │ ├── index.pug │ │ │ │ ├── script.js │ │ │ │ ├── script.ls │ │ │ │ ├── style.css │ │ │ │ └── style.scss │ │ │ ├── cs-system-admin-blocks-list │ │ │ │ ├── index.html │ │ │ │ ├── index.pug │ │ │ │ ├── script.js │ │ │ │ ├── script.ls │ │ │ │ ├── style.css │ │ │ │ └── style.scss │ │ │ ├── cs-system-admin-databases-form │ │ │ │ ├── index.html │ │ │ │ ├── index.pug │ │ │ │ ├── script.js │ │ │ │ └── script.ls │ │ │ ├── cs-system-admin-databases-list │ │ │ │ ├── index.html │ │ │ │ ├── index.pug │ │ │ │ ├── script.js │ │ │ │ └── script.ls │ │ │ ├── cs-system-admin-groups-form │ │ │ │ ├── index.html │ │ │ │ ├── index.pug │ │ │ │ ├── script.js │ │ │ │ └── script.ls │ │ │ ├── cs-system-admin-groups-list │ │ │ │ ├── index.html │ │ │ │ ├── index.pug │ │ │ │ ├── script.js │ │ │ │ └── script.ls │ │ │ ├── cs-system-admin-languages │ │ │ │ ├── index.html │ │ │ │ ├── index.pug │ │ │ │ ├── script.js │ │ │ │ └── script.ls │ │ │ ├── cs-system-admin-mail │ │ │ │ ├── index.html │ │ │ │ ├── index.pug │ │ │ │ ├── script.js │ │ │ │ └── script.ls │ │ │ ├── cs-system-admin-modules-list │ │ │ │ ├── index.html │ │ │ │ ├── index.pug │ │ │ │ ├── script.js │ │ │ │ └── script.ls │ │ │ ├── cs-system-admin-optimization │ │ │ │ ├── index.html │ │ │ │ ├── index.pug │ │ │ │ ├── script.js │ │ │ │ └── script.ls │ │ │ ├── cs-system-admin-permissions-for-item │ │ │ │ ├── index.html │ │ │ │ ├── index.pug │ │ │ │ ├── script.js │ │ │ │ └── script.ls │ │ │ ├── cs-system-admin-permissions-for │ │ │ │ ├── index.html │ │ │ │ ├── index.pug │ │ │ │ ├── script.js │ │ │ │ └── script.ls │ │ │ ├── cs-system-admin-permissions-form │ │ │ │ ├── index.html │ │ │ │ ├── index.pug │ │ │ │ ├── script.js │ │ │ │ └── script.ls │ │ │ ├── cs-system-admin-permissions-list │ │ │ │ ├── index.html │ │ │ │ ├── index.pug │ │ │ │ ├── script.js │ │ │ │ └── script.ls │ │ │ ├── cs-system-admin-security │ │ │ │ ├── index.html │ │ │ │ ├── index.pug │ │ │ │ ├── script.js │ │ │ │ └── script.ls │ │ │ ├── cs-system-admin-site-info │ │ │ │ ├── index.html │ │ │ │ ├── index.pug │ │ │ │ ├── script.js │ │ │ │ └── script.ls │ │ │ ├── cs-system-admin-storages-form │ │ │ │ ├── index.html │ │ │ │ ├── index.pug │ │ │ │ ├── script.js │ │ │ │ └── script.ls │ │ │ ├── cs-system-admin-storages-list │ │ │ │ ├── index.html │ │ │ │ ├── index.pug │ │ │ │ ├── script.js │ │ │ │ └── script.ls │ │ │ ├── cs-system-admin-system │ │ │ │ ├── index.html │ │ │ │ ├── index.pug │ │ │ │ ├── script.js │ │ │ │ └── script.ls │ │ │ ├── cs-system-admin-themes │ │ │ │ ├── index.html │ │ │ │ ├── index.pug │ │ │ │ ├── script.js │ │ │ │ └── script.ls │ │ │ ├── cs-system-admin-users-add-user-form │ │ │ │ ├── index.html │ │ │ │ ├── index.pug │ │ │ │ ├── script.js │ │ │ │ └── script.ls │ │ │ ├── cs-system-admin-users-edit-user-form │ │ │ │ ├── index.html │ │ │ │ ├── index.pug │ │ │ │ ├── script.js │ │ │ │ ├── script.ls │ │ │ │ ├── style.css │ │ │ │ └── style.scss │ │ │ ├── cs-system-admin-users-general │ │ │ │ ├── index.html │ │ │ │ ├── index.pug │ │ │ │ ├── script.js │ │ │ │ └── script.ls │ │ │ ├── cs-system-admin-users-groups-form │ │ │ │ ├── index.html │ │ │ │ ├── index.pug │ │ │ │ ├── script.js │ │ │ │ ├── script.ls │ │ │ │ ├── style.css │ │ │ │ └── style.scss │ │ │ └── cs-system-admin-users-list │ │ │ │ ├── index.html │ │ │ │ ├── index.pug │ │ │ │ ├── script.js │ │ │ │ └── script.ls │ │ └── js │ │ │ ├── behaviors.js │ │ │ ├── behaviors.ls │ │ │ ├── navigation.js │ │ │ └── navigation.ls │ ├── cli │ │ ├── Controller.php │ │ ├── Controller │ │ │ └── optimization.php │ │ └── index.json │ ├── events.php │ ├── index.json │ ├── meta.json │ ├── meta │ │ ├── update │ │ │ ├── 6.12.php │ │ │ ├── 6.13.php │ │ │ ├── 6.14.php │ │ │ └── 6.46.php │ │ └── update_db │ │ │ └── users │ │ │ ├── 6.7 │ │ │ ├── MySQLi.sql │ │ │ └── PostgreSQL.sql │ │ │ └── 6.8 │ │ │ ├── MySQLi.sql │ │ │ ├── PostgreSQL.sql │ │ │ └── SQLite.sql │ ├── readme.html │ └── robots.txt ├── Tags │ ├── Tags.php │ ├── meta.json │ └── readme.html ├── TinyMCE │ ├── assets │ │ ├── html │ │ │ ├── .htaccess │ │ │ ├── cs-0-behaviors-&-mixins │ │ │ │ ├── common.js │ │ │ │ ├── common.ls │ │ │ │ ├── index.html │ │ │ │ └── index.pug │ │ │ ├── cs-editor-inline │ │ │ │ ├── index.html │ │ │ │ ├── index.pug │ │ │ │ ├── script.js │ │ │ │ ├── script.ls │ │ │ │ └── style.css │ │ │ ├── cs-editor-simple-inline │ │ │ │ ├── index.html │ │ │ │ ├── index.pug │ │ │ │ ├── script.js │ │ │ │ ├── script.ls │ │ │ │ └── style.css │ │ │ ├── cs-editor-simple │ │ │ │ ├── index.html │ │ │ │ ├── index.pug │ │ │ │ ├── script.js │ │ │ │ ├── script.ls │ │ │ │ └── style.css │ │ │ └── cs-editor │ │ │ │ ├── index.html │ │ │ │ ├── index.pug │ │ │ │ ├── script.js │ │ │ │ ├── script.ls │ │ │ │ └── style.css │ │ └── js │ │ │ ├── !include │ │ │ ├── langs │ │ │ ├── ru.js │ │ │ └── uk.js │ │ │ ├── license.txt │ │ │ ├── plugins │ │ │ ├── codesample │ │ │ │ └── css │ │ │ │ │ └── prism.css │ │ │ └── visualblocks │ │ │ │ ├── css │ │ │ │ └── visualblocks.css │ │ │ │ └── img │ │ │ │ ├── address.gif │ │ │ │ ├── article.gif │ │ │ │ ├── aside.gif │ │ │ │ ├── blockquote.gif │ │ │ │ ├── div.gif │ │ │ │ ├── dl.gif │ │ │ │ ├── figure.gif │ │ │ │ ├── h1.gif │ │ │ │ ├── h2.gif │ │ │ │ ├── h3.gif │ │ │ │ ├── h4.gif │ │ │ │ ├── h5.gif │ │ │ │ ├── h6.gif │ │ │ │ ├── hgroup.gif │ │ │ │ ├── ol.gif │ │ │ │ ├── p.gif │ │ │ │ ├── pre.gif │ │ │ │ ├── section.gif │ │ │ │ └── ul.gif │ │ │ ├── skins │ │ │ └── lightgray │ │ │ │ ├── content.inline.min.css │ │ │ │ ├── content.min.css │ │ │ │ ├── fonts │ │ │ │ ├── tinymce-small.eot │ │ │ │ ├── tinymce-small.json │ │ │ │ ├── tinymce-small.svg │ │ │ │ ├── tinymce-small.ttf │ │ │ │ ├── tinymce-small.woff │ │ │ │ ├── tinymce.eot │ │ │ │ ├── tinymce.json │ │ │ │ ├── tinymce.svg │ │ │ │ ├── tinymce.ttf │ │ │ │ └── tinymce.woff │ │ │ │ ├── img │ │ │ │ ├── anchor.gif │ │ │ │ ├── loader.gif │ │ │ │ ├── object.gif │ │ │ │ └── trans.gif │ │ │ │ ├── skin.ie7.min.css │ │ │ │ └── skin.min.css │ │ │ └── tinymce.min.js │ ├── meta.json │ ├── readme.html │ └── readme.md ├── Uploader │ ├── Mime │ │ ├── LICENSE │ │ ├── Mime.php │ │ └── Resources │ │ │ └── mime_types.json │ ├── admin │ │ └── index.php │ ├── api │ │ └── index.php │ ├── assets │ │ ├── css │ │ │ ├── admin.css │ │ │ └── admin.scss │ │ └── js │ │ │ ├── script.js │ │ │ └── script.ls │ ├── events.php │ ├── languages │ │ ├── English.json │ │ ├── Russian.json │ │ └── Ukrainian.json │ ├── meta.json │ └── meta │ │ ├── install_db │ │ └── files │ │ │ └── MySQLi.sql │ │ └── uninstall_db │ │ └── files │ │ └── MySQLi.sql └── WebSockets │ ├── Connection_properties_injector.php │ ├── Pool.php │ ├── Server.php │ ├── admin │ └── index.php │ ├── assets │ ├── css │ │ ├── admin.css │ │ └── admin.scss │ └── js │ │ ├── WebSockets.js │ │ └── WebSockets.ls │ ├── events.php │ ├── functions.php │ ├── index.php │ ├── languages │ ├── English.json │ ├── Russian.json │ └── Ukrainian.json │ ├── meta.json │ ├── meta │ ├── install_db │ │ └── pool │ │ │ └── MySQLi.sql │ └── uninstall_db │ │ └── pool │ │ └── MySQLi.sql │ ├── readme.html │ ├── start_cli.php │ └── supervisor.php ├── phpt-tests-runner ├── readme.md ├── release-notes.md ├── service_scripts ├── make_htmlpurifier_standalone_phar.php └── make_php_code_coverage_phar.php ├── storage ├── .htaccess ├── public │ └── .htaccess ├── public_cache │ └── .htaccess └── temp │ └── .htaccess ├── tests ├── Mock_object.php ├── Singleton.php ├── bootstrap.php ├── code_coverage.php ├── code_coverage_report.php ├── functions.php ├── php-code-coverage.phar ├── quick │ ├── App │ │ ├── App_basic.phpt │ │ ├── CLI_basic.phpt │ │ ├── Controller_basic.phpt │ │ ├── Files_basic.phpt │ │ ├── Router_basic.phpt │ │ ├── blocks │ │ │ └── block.Custom_block.php │ │ └── modules │ │ │ ├── Module_with_cli_index_php │ │ │ └── cli │ │ │ │ └── index.get.php │ │ │ ├── Module_with_controller_routing │ │ │ ├── Controller.php │ │ │ ├── admin │ │ │ │ ├── Controller.php │ │ │ │ └── index.json │ │ │ ├── api │ │ │ │ ├── Controller.php │ │ │ │ └── index.json │ │ │ ├── cli │ │ │ │ ├── Controller.php │ │ │ │ └── index.json │ │ │ └── index.json │ │ │ ├── Module_with_controller_routing_custom │ │ │ ├── Controller.php │ │ │ └── index.json │ │ │ ├── Module_with_empty_index_json │ │ │ └── index.json │ │ │ ├── Module_with_files_routing │ │ │ ├── admin │ │ │ │ ├── index.json │ │ │ │ ├── index.php │ │ │ │ ├── level10.php │ │ │ │ └── level10 │ │ │ │ │ ├── level21.php │ │ │ │ │ └── level21 │ │ │ │ │ └── level30.php │ │ │ ├── api │ │ │ │ ├── index.get.php │ │ │ │ ├── index.json │ │ │ │ ├── index.php │ │ │ │ ├── level10.get.php │ │ │ │ ├── level10.post.php │ │ │ │ ├── level10 │ │ │ │ │ ├── level21.php │ │ │ │ │ └── level21 │ │ │ │ │ │ ├── level30.get.php │ │ │ │ │ │ └── level30.post.php │ │ │ │ └── level11.options.php │ │ │ ├── cli │ │ │ │ ├── index.get.php │ │ │ │ ├── index.json │ │ │ │ ├── index.php │ │ │ │ ├── level10.get.php │ │ │ │ ├── level10.post.php │ │ │ │ ├── level10 │ │ │ │ │ ├── level21.php │ │ │ │ │ └── level21 │ │ │ │ │ │ ├── level30.get.php │ │ │ │ │ │ └── level30.post.php │ │ │ │ └── level11.cli.php │ │ │ ├── index.json │ │ │ ├── index.php │ │ │ ├── level10.php │ │ │ └── level10 │ │ │ │ ├── level21.php │ │ │ │ └── level21 │ │ │ │ └── level30.php │ │ │ └── Module_with_index_html │ │ │ └── index.html │ ├── Cache │ │ ├── APCu_basic.phpt │ │ ├── BlackHole_basic.phpt │ │ ├── FileSystem_basic.phpt │ │ ├── Memcached_basic.phpt │ │ ├── Namespacing_unavailable.phpt │ │ ├── _test.expect │ │ └── _test.php │ ├── Core │ │ ├── Core_basic.phpt │ │ ├── Core_error_cli.phpt │ │ └── Core_error_web.phpt │ ├── DB │ │ ├── DB_basic.phpt │ │ ├── MySQLi.phpt │ │ ├── PostgreSQL.phpt │ │ └── SQLite.phpt │ ├── Event │ │ ├── Event_basic.phpt │ │ └── modules │ │ │ └── Module_test │ │ │ └── events.php │ ├── ExitException │ │ └── ExitException_basic.phpt │ ├── Mail │ │ ├── Mail_basic.phpt │ │ ├── attachment.txt │ │ └── phpmailer.phpt │ ├── Page │ │ ├── Assets_processing │ │ │ ├── image-large-2.svg │ │ │ ├── image-large.svg │ │ │ ├── image.svg │ │ │ ├── imported-2.css │ │ │ ├── imported-external-scripts.html │ │ │ ├── imported-no-scripts.html │ │ │ ├── imported-no-styles.html │ │ │ ├── imported.css │ │ │ ├── imported.html │ │ │ ├── my-element.html │ │ │ ├── script-with-template-string.js │ │ │ ├── script.js │ │ │ ├── style-2.css │ │ │ └── style.css │ │ ├── Assets_processing_css.phpt │ │ ├── Assets_processing_html_with_vulcanization.phpt │ │ ├── Assets_processing_html_without_vulcanization.phpt │ │ ├── Assets_processing_js.phpt │ │ ├── Collecting.phpt │ │ ├── Collecting │ │ │ ├── assets │ │ │ │ ├── css │ │ │ │ │ └── file1.css │ │ │ │ ├── html │ │ │ │ │ └── file1.html │ │ │ │ └── js │ │ │ │ │ ├── Polymer │ │ │ │ │ ├── a.Polymer.js │ │ │ │ │ └── b.Polymer.behavior.js │ │ │ │ │ ├── file1.js │ │ │ │ │ └── file2.js │ │ │ ├── modules │ │ │ │ ├── Disabled_no_map_no_meta │ │ │ │ │ └── assets │ │ │ │ │ │ ├── css │ │ │ │ │ │ └── file1.css │ │ │ │ │ │ ├── html │ │ │ │ │ │ └── file1.html │ │ │ │ │ │ └── js │ │ │ │ │ │ ├── file1.js │ │ │ │ │ │ └── file2.js │ │ │ │ ├── Disabled_with_map_and_meta │ │ │ │ │ ├── assets │ │ │ │ │ │ ├── css │ │ │ │ │ │ │ └── file1.css │ │ │ │ │ │ ├── html │ │ │ │ │ │ │ └── file1.html │ │ │ │ │ │ └── js │ │ │ │ │ │ │ ├── file1.js │ │ │ │ │ │ │ └── file2.js │ │ │ │ │ └── meta.json │ │ │ │ ├── Enabled_has_dependencies │ │ │ │ │ ├── assets │ │ │ │ │ │ ├── css │ │ │ │ │ │ │ └── file1.css │ │ │ │ │ │ ├── html │ │ │ │ │ │ │ └── file1.html │ │ │ │ │ │ └── js │ │ │ │ │ │ │ ├── file1.js │ │ │ │ │ │ │ └── file2.js │ │ │ │ │ └── meta.json │ │ │ │ ├── Enabled_no_assets │ │ │ │ │ └── .gitkept │ │ │ │ ├── Enabled_provide │ │ │ │ │ ├── assets │ │ │ │ │ │ ├── css │ │ │ │ │ │ │ └── file1.css │ │ │ │ │ │ ├── html │ │ │ │ │ │ │ └── file1.html │ │ │ │ │ │ └── js │ │ │ │ │ │ │ ├── file1.js │ │ │ │ │ │ │ └── file2.js │ │ │ │ │ └── meta.json │ │ │ │ ├── Enabled_provides_feature │ │ │ │ │ ├── assets │ │ │ │ │ │ ├── css │ │ │ │ │ │ │ └── file1.css │ │ │ │ │ │ ├── html │ │ │ │ │ │ │ └── file1.html │ │ │ │ │ │ └── js │ │ │ │ │ │ │ ├── file1.js │ │ │ │ │ │ │ └── file2.js │ │ │ │ │ └── meta.json │ │ │ │ ├── System │ │ │ │ │ ├── assets │ │ │ │ │ │ ├── css │ │ │ │ │ │ │ └── file1.css │ │ │ │ │ │ ├── html │ │ │ │ │ │ │ └── file1.html │ │ │ │ │ │ └── js │ │ │ │ │ │ │ ├── file1.js │ │ │ │ │ │ │ └── file2.js │ │ │ │ │ └── meta.json │ │ │ │ └── Uninstalled │ │ │ │ │ └── assets │ │ │ │ │ ├── css │ │ │ │ │ └── file1.css │ │ │ │ │ ├── html │ │ │ │ │ └── file1.html │ │ │ │ │ └── js │ │ │ │ │ ├── file1.js │ │ │ │ │ └── file2.js │ │ │ └── themes │ │ │ │ ├── CleverStyle │ │ │ │ ├── css │ │ │ │ │ └── file1.css │ │ │ │ ├── html │ │ │ │ │ └── file1.html │ │ │ │ └── js │ │ │ │ │ ├── file1.js │ │ │ │ │ └── file2.js │ │ │ │ └── Custom │ │ │ │ ├── css │ │ │ │ └── file1.css │ │ │ │ ├── html │ │ │ │ └── file1.html │ │ │ │ └── js │ │ │ │ ├── file1.js │ │ │ │ └── file2.js │ │ ├── RequireJS.phpt │ │ ├── RequireJS │ │ │ ├── bower_components │ │ │ │ ├── package-js │ │ │ │ │ ├── bower.json │ │ │ │ │ └── package.js │ │ │ │ └── package-min-js │ │ │ │ │ ├── bower.json │ │ │ │ │ ├── package.js │ │ │ │ │ └── package.min.js │ │ │ ├── modules │ │ │ │ ├── Disabled │ │ │ │ │ ├── assets │ │ │ │ │ │ └── js │ │ │ │ │ │ │ └── .gitkept │ │ │ │ │ └── meta.json │ │ │ │ ├── Enabled │ │ │ │ │ └── .gitkept │ │ │ │ ├── System │ │ │ │ │ └── assets │ │ │ │ │ │ └── js │ │ │ │ │ │ └── .gitkept │ │ │ │ └── Uninstalled │ │ │ │ │ └── assets │ │ │ │ │ └── js │ │ │ │ │ └── .gitkept │ │ │ └── node_modules │ │ │ │ ├── package-browser │ │ │ │ ├── package.js │ │ │ │ └── package.json │ │ │ │ ├── package-js-browser-min │ │ │ │ ├── package.js │ │ │ │ ├── package.json │ │ │ │ └── package.min.js │ │ │ │ ├── package-js-browser │ │ │ │ ├── package.js │ │ │ │ └── package.json │ │ │ │ ├── package-jspm-main │ │ │ │ ├── package.js │ │ │ │ ├── package.json │ │ │ │ └── package.jspm.js │ │ │ │ ├── package-main-bad │ │ │ │ └── package.json │ │ │ │ ├── package-main-not-found │ │ │ │ └── package.json │ │ │ │ └── package-main │ │ │ │ ├── package.js │ │ │ │ └── package.json │ │ └── messages.phpt │ ├── Request │ │ ├── .gitattributes │ │ ├── Cookie_basic.phpt │ │ ├── Data_and_files_basic.phpt │ │ ├── Data_and_files_stream_form.phpt │ │ ├── Data_and_files_stream_json.phpt │ │ ├── Data_and_files_stream_multipart.phpt │ │ ├── Data_and_files_stream_multipart_edge_cases_and_errors.phpt │ │ ├── File_stream_basic.phpt │ │ ├── Query_basic.phpt │ │ ├── Route_basic.phpt │ │ ├── Route_serve_static_files.phpt │ │ ├── Server_basic.phpt │ │ ├── multipart_body.bin │ │ ├── multipart_body_bad_content.bin │ │ ├── multipart_body_bad_content_disposition.bin │ │ ├── multipart_body_bad_ending.bin │ │ ├── multipart_body_bad_header.bin │ │ ├── multipart_body_empty_data.bin │ │ ├── multipart_body_empty_filename.bin │ │ ├── multipart_body_empty_name.bin │ │ ├── multipart_body_no_headers.bin │ │ ├── multipart_body_too_large.bin │ │ ├── multipart_body_too_large_file.bin │ │ ├── upload1.html │ │ └── upload2.html │ ├── Response │ │ └── Response_basic.phpt │ ├── Singleton │ │ ├── Singleton_basic.phpt │ │ └── custom │ │ │ └── classes │ │ │ └── nested │ │ │ ├── Extended_Module_name1.php │ │ │ └── Extended_Module_name2.php │ ├── Storage │ │ ├── Local.phpt │ │ ├── Storage_basic.phpt │ │ └── file.txt │ ├── functions │ │ ├── __.phpt │ │ ├── autoloader.phpt │ │ ├── autoloader │ │ │ ├── core │ │ │ │ ├── classes │ │ │ │ │ ├── Test_class.php │ │ │ │ │ └── Test_class_cached.php │ │ │ │ ├── drivers │ │ │ │ │ └── DB │ │ │ │ │ │ └── Test_driver.php │ │ │ │ ├── thirdparty │ │ │ │ │ └── some │ │ │ │ │ │ └── nested_namespace │ │ │ │ │ │ └── Third_party_class.php │ │ │ │ └── traits │ │ │ │ │ └── Test_trait.php │ │ │ └── modules │ │ │ │ └── Test_module │ │ │ │ ├── Test_class.php │ │ │ │ ├── Test_class_aliased.php │ │ │ │ ├── Test_class_aliased_cached.php │ │ │ │ └── meta.json │ │ ├── format_filesize.phpt │ │ ├── format_time.phpt │ │ ├── functionality.phpt │ │ ├── functionality │ │ │ └── modules │ │ │ │ ├── Blogs │ │ │ │ └── meta.json │ │ │ │ ├── Content │ │ │ │ └── meta.json │ │ │ │ ├── TinyMCE │ │ │ │ └── meta.json │ │ │ │ └── Uploader │ │ │ │ └── meta.json │ │ ├── pages.phpt │ │ ├── pages_buttons.phpt │ │ └── xap.phpt │ ├── h │ │ └── h_basic.phpt │ ├── modules │ │ └── System │ │ │ ├── Packages_dependencies.phpt │ │ │ ├── Packages_dependencies │ │ │ └── modules │ │ │ │ ├── Alternative_blogs │ │ │ │ └── meta.json │ │ │ │ ├── Blogs │ │ │ │ └── meta.json │ │ │ │ ├── Comments │ │ │ │ └── meta.json │ │ │ │ ├── System │ │ │ │ └── meta.json │ │ │ │ ├── Tags │ │ │ │ └── meta.json │ │ │ │ └── TinyMCE │ │ │ │ └── meta.json │ │ │ ├── Packages_manipulation.phpt │ │ │ └── Packages_manipulation │ │ │ ├── module_Test_module_1.0.0+build-1.phar.php │ │ │ └── module_Test_module_2.0.0+build-2.phar.php │ └── readme.md ├── sequential │ ├── 0.build │ │ ├── core.phpt │ │ ├── core_with_module_theme.phpt │ │ ├── core_with_suffix.phpt │ │ ├── module.phpt │ │ ├── module_default.phpt │ │ ├── module_doesn't_exists.phpt │ │ ├── module_with_suffix.phpt │ │ ├── theme.phpt │ │ ├── theme_default.phpt │ │ └── theme_with_suffix.phpt │ ├── 1.install │ │ ├── 0.install-mysqli-web-0.php │ │ ├── 0.install-mysqli-web-1.php │ │ ├── 0.install-mysqli-web.phpt │ │ ├── 0.install-mysqli-without-prefix.phpt │ │ ├── _install_prepare.php │ │ ├── install-mysqli.phpt │ │ ├── install-postgresql.phpt │ │ └── install-sqlite.phpt │ ├── 2.pages │ │ ├── administration_403.phpt │ │ ├── home.phpt │ │ └── home_closed.phpt │ ├── CRUD │ │ ├── 0.basic.phpt │ │ ├── 1.advanced_multiple_joined_tables_multilingual_files.phpt │ │ ├── 2.CRUD_helpers_basic.phpt │ │ ├── 3.CRUD_helpers_advanced.phpt │ │ ├── advanced.MySQLi.sql │ │ ├── advanced.PostgreSQL.sql │ │ ├── advanced.SQLite.sql │ │ ├── advanced.cleanup.sql │ │ ├── basic.MySQLi.sql │ │ ├── basic.PostgreSQL.sql │ │ ├── basic.SQLite.sql │ │ └── basic.cleanup.sql │ ├── Config │ │ ├── Config_basic.phpt │ │ └── Config_multilingual.phpt │ ├── Group │ │ └── Group_basic.phpt │ ├── Key │ │ └── Key_basic.phpt │ ├── Language │ │ ├── basic.phpt │ │ ├── language_in_accept_header.phpt │ │ ├── language_in_locale_header.phpt │ │ ├── language_in_url.phpt │ │ └── prefix.phpt │ ├── Menu │ │ ├── items_only.phpt │ │ ├── section_item_level.phpt │ │ └── section_level.phpt │ ├── Page │ │ ├── Assets.phpt │ │ └── Meta │ │ │ ├── basic_home.phpt │ │ │ ├── basic_not_home.phpt │ │ │ ├── error.phpt │ │ │ ├── images.phpt │ │ │ ├── multilingual.phpt │ │ │ └── title_description.phpt │ ├── Permission │ │ └── Permission_basic.phpt │ ├── Session │ │ ├── Data.phpt │ │ └── Management.phpt │ ├── Text │ │ └── Text_basic.phpt │ ├── User │ │ ├── a0.Management_registration.phpt │ │ ├── a1.Management_registration_confirmation_cancellation.phpt │ │ ├── a2.Management_password_changing_restoration_validation.phpt │ │ ├── b0.Data.phpt │ │ ├── c0.Groups.phpt │ │ ├── d0.Permission.phpt │ │ ├── e0.Properties.phpt │ │ └── f0.Profile.phpt │ ├── _clean.php │ ├── modules │ │ └── System │ │ │ └── api │ │ │ ├── languages_get.phpt │ │ │ ├── profile_change_password.phpt │ │ │ ├── profile_configuration.phpt │ │ │ ├── profile_get.phpt │ │ │ ├── profile_patch.phpt │ │ │ ├── profile_registration.phpt │ │ │ ├── profile_restore_password.phpt │ │ │ ├── profile_sign_in.phpt │ │ │ ├── profile_sign_out.phpt │ │ │ └── timezones_get.phpt │ ├── readme.md │ └── z.clean │ │ └── clean.phpt └── unit.php └── themes ├── CleverStyle ├── css │ ├── _header.scss │ ├── _layout.scss │ ├── app-shell.css │ ├── app-shell.scss │ ├── style.css │ └── style.scss ├── functions.php ├── html │ ├── .htaccess │ ├── a0.css-variables.html │ ├── a1.main-styles.html │ ├── cs-cleverstyle-header-user-block │ │ ├── index.html │ │ ├── index.pug │ │ ├── script.js │ │ ├── script.ls │ │ ├── style.css │ │ └── style.scss │ └── widgets styling.html ├── index.html └── meta.json └── DarkEnergy ├── css ├── _layout.scss ├── app-shell.css ├── app-shell.scss ├── style.css └── style.scss ├── html ├── .htaccess ├── a0.css-variables.html ├── a1.main-styles.html └── widgets styling.html ├── index.html ├── js ├── menu.js └── menu.ls └── meta.json /.gitignore: -------------------------------------------------------------------------------- 1 | # Exclude configuration 2 | config/main.json 3 | # Exclude files from storage directory 4 | storage/*/* 5 | # Except .htaccess, which should be committed 6 | !storage/*/.htaccess 7 | # Exclude backups, they are just for investigations in case when update failed 8 | fs_backup.json 9 | meta_backup.json 10 | # Exclude test coverage results 11 | tests/coverage_data.json 12 | tests/code_coverage_report/* 13 | -------------------------------------------------------------------------------- /.idea/codeStyles/codeStyleConfig.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 5 | -------------------------------------------------------------------------------- /assets/html/.htaccess: -------------------------------------------------------------------------------- 1 | 2 | RewriteEngine Off 3 | 4 | -------------------------------------------------------------------------------- /assets/html/CleverStyle Widgets/cs-0-behaviors-&-mixins/common/a.init.js: -------------------------------------------------------------------------------- 1 | // Generated by LiveScript 1.5.0 2 | /** 3 | * @package CleverStyle Widgets 4 | * @author Nazar Mokrynskyi 5 | * @license 0BSD 6 | */ 7 | (function(){ 8 | var ref$; 9 | (ref$ = window.csw || (window.csw = {})).behaviors || (ref$.behaviors = {}); 10 | }).call(this); 11 | -------------------------------------------------------------------------------- /assets/html/CleverStyle Widgets/cs-0-behaviors-&-mixins/common/a.init.ls: -------------------------------------------------------------------------------- 1 | /** 2 | * @package CleverStyle Widgets 3 | * @author Nazar Mokrynskyi 4 | * @license 0BSD 5 | */ 6 | # Just make sure objects exist 7 | window.{}csw.{}behaviors 8 | -------------------------------------------------------------------------------- /assets/html/CleverStyle Widgets/cs-0-behaviors-&-mixins/common/size.ls: -------------------------------------------------------------------------------- 1 | /** 2 | * @package CleverStyle Widgets 3 | * @author Nazar Mokrynskyi 4 | * @license 0BSD 5 | */ 6 | csw.behaviors.size = 7 | properties : 8 | compact : 9 | reflectToAttribute : true 10 | type : Boolean 11 | fullWidth : 12 | reflectToAttribute : true 13 | type : Boolean 14 | -------------------------------------------------------------------------------- /assets/html/CleverStyle Widgets/cs-0-behaviors-&-mixins/common/this.ls: -------------------------------------------------------------------------------- 1 | /** 2 | * @package CleverStyle Widgets 3 | * @author Nazar Mokrynskyi 4 | * @license 0BSD 5 | */ 6 | csw.behaviors.this = 7 | properties : 8 | this : 9 | notify : true 10 | readOnly : true 11 | type : Object 12 | attached : !-> 13 | if !@this 14 | @_setThis(@) 15 | -------------------------------------------------------------------------------- /assets/html/CleverStyle Widgets/cs-0-behaviors-&-mixins/common/tight.ls: -------------------------------------------------------------------------------- 1 | /** 2 | * @package CleverStyle Widgets 3 | * @author Nazar Mokrynskyi 4 | * @license 0BSD 5 | */ 6 | csw.behaviors.tight = 7 | properties : 8 | tight : Boolean 9 | ready : !-> 10 | if @tight && @?nextSibling.nodeType == Node.TEXT_NODE 11 | @nextSibling.parentNode.removeChild(@nextSibling) 12 | -------------------------------------------------------------------------------- /assets/html/CleverStyle Widgets/cs-0-behaviors-&-mixins/common/value.ls: -------------------------------------------------------------------------------- 1 | /** 2 | * @package CleverStyle Widgets 3 | * @author Nazar Mokrynskyi 4 | * @license 0BSD 5 | */ 6 | csw.behaviors.value = 7 | ready : !-> 8 | @firstElementChild 9 | ..addEventListener('change', !-> 10 | @dispatchEvent(new CustomEvent('value-changed')) 11 | ) 12 | ..addEventListener('input', !-> 13 | @dispatchEvent(new CustomEvent('value-changed')) 14 | ) 15 | -------------------------------------------------------------------------------- /assets/html/CleverStyle Widgets/cs-0-behaviors-&-mixins/elements/cs-button.ls: -------------------------------------------------------------------------------- 1 | /** 2 | * @package CleverStyle Widgets 3 | * @author Nazar Mokrynskyi 4 | * @license 0BSD 5 | */ 6 | csw.behaviors.cs-button = [ 7 | csw.behaviors.button 8 | csw.behaviors.tight 9 | csw.behaviors.tooltip 10 | properties : 11 | action : String 12 | bind : Object 13 | listeners : 14 | tap : '_tap' 15 | _tap : -> 16 | if @bind && @action 17 | @bind[@action]() 18 | ] 19 | -------------------------------------------------------------------------------- /assets/html/CleverStyle Widgets/cs-0-behaviors-&-mixins/elements/cs-form.js: -------------------------------------------------------------------------------- 1 | // Generated by LiveScript 1.5.0 2 | /** 3 | * @package CleverStyle Widgets 4 | * @author Nazar Mokrynskyi 5 | * @license 0BSD 6 | */ 7 | (function(){ 8 | csw.behaviors.csForm = [ 9 | csw.behaviors.injectLightStyles, { 10 | _styles_dom_module: 'cs-form-styles' 11 | } 12 | ]; 13 | }).call(this); 14 | -------------------------------------------------------------------------------- /assets/html/CleverStyle Widgets/cs-0-behaviors-&-mixins/elements/cs-form.ls: -------------------------------------------------------------------------------- 1 | /** 2 | * @package CleverStyle Widgets 3 | * @author Nazar Mokrynskyi 4 | * @license 0BSD 5 | */ 6 | csw.behaviors.cs-form = [ 7 | csw.behaviors.inject-light-styles 8 | _styles_dom_module : 'cs-form-styles' 9 | ] 10 | -------------------------------------------------------------------------------- /assets/html/CleverStyle Widgets/cs-0-behaviors-&-mixins/elements/cs-group.js: -------------------------------------------------------------------------------- 1 | // Generated by LiveScript 1.5.0 2 | /** 3 | * @package CleverStyle Widgets 4 | * @author Nazar Mokrynskyi 5 | * @license 0BSD 6 | */ 7 | (function(){ 8 | csw.behaviors.csGroup = [{ 9 | hostAttributes: { 10 | role: 'group' 11 | }, 12 | properties: { 13 | vertical: { 14 | reflectToAttribute: true, 15 | type: Boolean 16 | } 17 | } 18 | }]; 19 | }).call(this); 20 | -------------------------------------------------------------------------------- /assets/html/CleverStyle Widgets/cs-0-behaviors-&-mixins/elements/cs-group.ls: -------------------------------------------------------------------------------- 1 | /** 2 | * @package CleverStyle Widgets 3 | * @author Nazar Mokrynskyi 4 | * @license 0BSD 5 | */ 6 | csw.behaviors.cs-group = [ 7 | hostAttributes : 8 | role : 'group' 9 | properties : 10 | vertical : 11 | reflectToAttribute : true 12 | type : Boolean 13 | ] 14 | -------------------------------------------------------------------------------- /assets/html/CleverStyle Widgets/cs-0-behaviors-&-mixins/elements/cs-input-text.js: -------------------------------------------------------------------------------- 1 | // Generated by LiveScript 1.5.0 2 | /** 3 | * @package CleverStyle Widgets 4 | * @author Nazar Mokrynskyi 5 | * @license 0BSD 6 | */ 7 | (function(){ 8 | csw.behaviors.csInputText = [csw.behaviors.size, csw.behaviors.tight, csw.behaviors.tooltip, csw.behaviors.value]; 9 | }).call(this); 10 | -------------------------------------------------------------------------------- /assets/html/CleverStyle Widgets/cs-0-behaviors-&-mixins/elements/cs-input-text.ls: -------------------------------------------------------------------------------- 1 | /** 2 | * @package CleverStyle Widgets 3 | * @author Nazar Mokrynskyi 4 | * @license 0BSD 5 | */ 6 | csw.behaviors.cs-input-text = [ 7 | csw.behaviors.size 8 | csw.behaviors.tight 9 | csw.behaviors.tooltip 10 | csw.behaviors.value 11 | ] 12 | -------------------------------------------------------------------------------- /assets/html/CleverStyle Widgets/cs-0-behaviors-&-mixins/elements/cs-link-button.ls: -------------------------------------------------------------------------------- 1 | /** 2 | * @package CleverStyle Widgets 3 | * @author Nazar Mokrynskyi 4 | * @license 0BSD 5 | */ 6 | csw.behaviors.cs-link-button = [ 7 | csw.behaviors.button 8 | csw.behaviors.tight 9 | csw.behaviors.tooltip 10 | ready : -> 11 | @querySelector('a').setAttribute('role', 'button') 12 | ] 13 | -------------------------------------------------------------------------------- /assets/html/CleverStyle Widgets/cs-button/index.html: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /assets/html/CleverStyle Widgets/cs-button/index.pug: -------------------------------------------------------------------------------- 1 | dom-module#cs-button 2 | link(rel="import" href="style.css" type="css") 3 | template 4 | slot 5 | script(src="script.js") 6 | -------------------------------------------------------------------------------- /assets/html/CleverStyle Widgets/cs-button/script.js: -------------------------------------------------------------------------------- 1 | // Generated by LiveScript 1.5.0 2 | /** 3 | * @package CleverStyle Widgets 4 | * @author Nazar Mokrynskyi 5 | * @license 0BSD 6 | */ 7 | (function(){ 8 | Polymer({ 9 | is: 'cs-button', 10 | behaviors: csw.behaviors.csButton 11 | }); 12 | }).call(this); 13 | -------------------------------------------------------------------------------- /assets/html/CleverStyle Widgets/cs-button/script.ls: -------------------------------------------------------------------------------- 1 | /** 2 | * @package CleverStyle Widgets 3 | * @author Nazar Mokrynskyi 4 | * @license 0BSD 5 | */ 6 | Polymer( 7 | is : 'cs-button' 8 | behaviors : csw.behaviors.cs-button 9 | ) 10 | -------------------------------------------------------------------------------- /assets/html/CleverStyle Widgets/cs-dropdown/index.html: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /assets/html/CleverStyle Widgets/cs-dropdown/index.pug: -------------------------------------------------------------------------------- 1 | dom-module#cs-dropdown 2 | link(rel="import" href="style.css" type="css") 3 | template 4 | #content 5 | slot 6 | script(src="script.js") 7 | -------------------------------------------------------------------------------- /assets/html/CleverStyle Widgets/cs-dropdown/script.js: -------------------------------------------------------------------------------- 1 | // Generated by LiveScript 1.5.0 2 | /** 3 | * @package CleverStyle Widgets 4 | * @author Nazar Mokrynskyi 5 | * @license 0BSD 6 | */ 7 | (function(){ 8 | Polymer({ 9 | is: 'cs-dropdown', 10 | behaviors: csw.behaviors.csDropdown 11 | }); 12 | }).call(this); 13 | -------------------------------------------------------------------------------- /assets/html/CleverStyle Widgets/cs-dropdown/script.ls: -------------------------------------------------------------------------------- 1 | /** 2 | * @package CleverStyle Widgets 3 | * @author Nazar Mokrynskyi 4 | * @license 0BSD 5 | */ 6 | Polymer( 7 | is : 'cs-dropdown' 8 | behaviors : csw.behaviors.cs-dropdown 9 | ) 10 | -------------------------------------------------------------------------------- /assets/html/CleverStyle Widgets/cs-dropdown/style.css: -------------------------------------------------------------------------------- 1 | :host{display:none;opacity:0;position:absolute;z-index:800;@apply --cs-global;@apply --cs-dropdown}:host([opened]){display:block;@apply --cs-dropdown-open}#content{@apply --cs-dropdown-content}:host([as-is]) #content{@apply --cs-dropdown-content-as-is} 2 | -------------------------------------------------------------------------------- /assets/html/CleverStyle Widgets/cs-form/script.js: -------------------------------------------------------------------------------- 1 | // Generated by LiveScript 1.5.0 2 | /** 3 | * @package CleverStyle Widgets 4 | * @author Nazar Mokrynskyi 5 | * @license 0BSD 6 | */ 7 | (function(){ 8 | Polymer({ 9 | is: 'cs-form', 10 | behaviors: csw.behaviors.csForm 11 | }); 12 | }).call(this); 13 | -------------------------------------------------------------------------------- /assets/html/CleverStyle Widgets/cs-form/script.ls: -------------------------------------------------------------------------------- 1 | /** 2 | * @package CleverStyle Widgets 3 | * @author Nazar Mokrynskyi 4 | * @license 0BSD 5 | */ 6 | Polymer( 7 | is : 'cs-form' 8 | behaviors : csw.behaviors.cs-form 9 | ) 10 | -------------------------------------------------------------------------------- /assets/html/CleverStyle Widgets/cs-form/style.css: -------------------------------------------------------------------------------- 1 | :host{display:block;@apply --cs-global;@apply --cs-form}:host([hidden]){display:none} 2 | -------------------------------------------------------------------------------- /assets/html/CleverStyle Widgets/cs-form/style.scss: -------------------------------------------------------------------------------- 1 | /** 2 | * @package CleverStyle Widgets 3 | * @author Nazar Mokrynskyi 4 | * @license 0BSD 5 | */ 6 | :host { 7 | display : block; 8 | 9 | @apply --cs-global; 10 | @apply --cs-form; 11 | } 12 | 13 | :host([hidden]) { 14 | display : none; 15 | } 16 | -------------------------------------------------------------------------------- /assets/html/CleverStyle Widgets/cs-group/index.html: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /assets/html/CleverStyle Widgets/cs-group/index.pug: -------------------------------------------------------------------------------- 1 | dom-module#cs-group 2 | link(rel="import" href="style.css" type="css") 3 | template 4 | slot 5 | script(src="script.js") 6 | -------------------------------------------------------------------------------- /assets/html/CleverStyle Widgets/cs-group/script.js: -------------------------------------------------------------------------------- 1 | // Generated by LiveScript 1.5.0 2 | /** 3 | * @package CleverStyle Widgets 4 | * @author Nazar Mokrynskyi 5 | * @license 0BSD 6 | */ 7 | (function(){ 8 | Polymer({ 9 | is: 'cs-group', 10 | behaviors: csw.behaviors.csGroup 11 | }); 12 | }).call(this); 13 | -------------------------------------------------------------------------------- /assets/html/CleverStyle Widgets/cs-group/script.ls: -------------------------------------------------------------------------------- 1 | /** 2 | * @package CleverStyle Widgets 3 | * @author Nazar Mokrynskyi 4 | * @license 0BSD 5 | */ 6 | Polymer( 7 | is : 'cs-group' 8 | behaviors : csw.behaviors.cs-group 9 | ) 10 | -------------------------------------------------------------------------------- /assets/html/CleverStyle Widgets/cs-icon/fa-brands-400.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nazar-pc/CleverStyle-Framework/3a4cd2fb6aa9e486511498061f60b53ba9267311/assets/html/CleverStyle Widgets/cs-icon/fa-brands-400.woff2 -------------------------------------------------------------------------------- /assets/html/CleverStyle Widgets/cs-icon/fa-regular-400.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nazar-pc/CleverStyle-Framework/3a4cd2fb6aa9e486511498061f60b53ba9267311/assets/html/CleverStyle Widgets/cs-icon/fa-regular-400.woff2 -------------------------------------------------------------------------------- /assets/html/CleverStyle Widgets/cs-icon/fa-solid-900.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nazar-pc/CleverStyle-Framework/3a4cd2fb6aa9e486511498061f60b53ba9267311/assets/html/CleverStyle Widgets/cs-icon/fa-solid-900.woff2 -------------------------------------------------------------------------------- /assets/html/CleverStyle Widgets/cs-icon/readme.md: -------------------------------------------------------------------------------- 1 | #### Font Awesome tweaks: 2 | * `@font-family` declaration is moved from `fontawesome-min.min.css` to `index.pug` (since `@font-face` doesn't work from within Shadow DOM) 3 | * TODO: font file is split into multiple files by unicode ranges (up to 50 icons in each file) using [https://github.com/nazar-pc/unicode-range-splitter] 4 | -------------------------------------------------------------------------------- /assets/html/CleverStyle Widgets/cs-icon/script.js: -------------------------------------------------------------------------------- 1 | // Generated by LiveScript 1.5.0 2 | /** 3 | * @package CleverStyle Widgets 4 | * @author Nazar Mokrynskyi 5 | * @license 0BSD 6 | */ 7 | (function(){ 8 | Polymer({ 9 | is: 'cs-icon', 10 | behaviors: csw.behaviors.csIcon 11 | }); 12 | }).call(this); 13 | -------------------------------------------------------------------------------- /assets/html/CleverStyle Widgets/cs-icon/script.ls: -------------------------------------------------------------------------------- 1 | /** 2 | * @package CleverStyle Widgets 3 | * @author Nazar Mokrynskyi 4 | * @license 0BSD 5 | */ 6 | Polymer( 7 | is : 'cs-icon' 8 | behaviors : csw.behaviors.cs-icon 9 | ) 10 | -------------------------------------------------------------------------------- /assets/html/CleverStyle Widgets/cs-icon/style.css: -------------------------------------------------------------------------------- 1 | :host{color:inherit;display:inline-block;@apply --cs-global;@apply --cs-icon}:host([hidden]),[hidden]{display:none}.fa{vertical-align:middle}.fa-inverse{color:var(--cs-icon-inverse-color)}.fa-stack{font-size:.5em} 2 | -------------------------------------------------------------------------------- /assets/html/CleverStyle Widgets/cs-input-text/index.html: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /assets/html/CleverStyle Widgets/cs-input-text/index.pug: -------------------------------------------------------------------------------- 1 | dom-module#cs-input-text 2 | link(rel="import" href="style.css" type="css") 3 | template 4 | slot 5 | script(src="script.js") 6 | -------------------------------------------------------------------------------- /assets/html/CleverStyle Widgets/cs-input-text/script.js: -------------------------------------------------------------------------------- 1 | // Generated by LiveScript 1.5.0 2 | /** 3 | * @package CleverStyle Widgets 4 | * @author Nazar Mokrynskyi 5 | * @license 0BSD 6 | */ 7 | (function(){ 8 | Polymer({ 9 | is: 'cs-input-text', 10 | behaviors: csw.behaviors.csInputText 11 | }); 12 | }).call(this); 13 | -------------------------------------------------------------------------------- /assets/html/CleverStyle Widgets/cs-input-text/script.ls: -------------------------------------------------------------------------------- 1 | /** 2 | * @package CleverStyle Widgets 3 | * @author Nazar Mokrynskyi 4 | * @license 0BSD 5 | */ 6 | Polymer( 7 | is : 'cs-input-text' 8 | behaviors : csw.behaviors.cs-input-text 9 | ) 10 | -------------------------------------------------------------------------------- /assets/html/CleverStyle Widgets/cs-label-button/script.js: -------------------------------------------------------------------------------- 1 | // Generated by LiveScript 1.5.0 2 | /** 3 | * @package CleverStyle Widgets 4 | * @author Nazar Mokrynskyi 5 | * @license 0BSD 6 | */ 7 | (function(){ 8 | Polymer({ 9 | is: 'cs-label-button', 10 | behaviors: csw.behaviors.csLabelButton 11 | }); 12 | }).call(this); 13 | -------------------------------------------------------------------------------- /assets/html/CleverStyle Widgets/cs-label-button/script.ls: -------------------------------------------------------------------------------- 1 | /** 2 | * @package CleverStyle Widgets 3 | * @author Nazar Mokrynskyi 4 | * @license 0BSD 5 | */ 6 | Polymer( 7 | is : 'cs-label-button' 8 | behaviors : csw.behaviors.cs-label-button 9 | ) 10 | -------------------------------------------------------------------------------- /assets/html/CleverStyle Widgets/cs-label-switcher/script.js: -------------------------------------------------------------------------------- 1 | // Generated by LiveScript 1.5.0 2 | /** 3 | * @package CleverStyle Widgets 4 | * @author Nazar Mokrynskyi 5 | * @license 0BSD 6 | */ 7 | (function(){ 8 | Polymer({ 9 | is: 'cs-label-switcher', 10 | behaviors: csw.behaviors.csLabelSwitcher 11 | }); 12 | }).call(this); 13 | -------------------------------------------------------------------------------- /assets/html/CleverStyle Widgets/cs-label-switcher/script.ls: -------------------------------------------------------------------------------- 1 | /** 2 | * @package CleverStyle Widgets 3 | * @author Nazar Mokrynskyi 4 | * @license 0BSD 5 | */ 6 | Polymer( 7 | is : 'cs-label-switcher' 8 | behaviors : csw.behaviors.cs-label-switcher 9 | ) 10 | -------------------------------------------------------------------------------- /assets/html/CleverStyle Widgets/cs-link-button/index.html: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /assets/html/CleverStyle Widgets/cs-link-button/index.pug: -------------------------------------------------------------------------------- 1 | dom-module#cs-link-button 2 | link(rel="import" href="style.css" type="css") 3 | template 4 | slot 5 | script(src="script.js") 6 | -------------------------------------------------------------------------------- /assets/html/CleverStyle Widgets/cs-link-button/script.js: -------------------------------------------------------------------------------- 1 | // Generated by LiveScript 1.5.0 2 | /** 3 | * @package CleverStyle Widgets 4 | * @author Nazar Mokrynskyi 5 | * @license 0BSD 6 | */ 7 | (function(){ 8 | Polymer({ 9 | is: 'cs-link-button', 10 | behaviors: csw.behaviors.csLinkButton 11 | }); 12 | }).call(this); 13 | -------------------------------------------------------------------------------- /assets/html/CleverStyle Widgets/cs-link-button/script.ls: -------------------------------------------------------------------------------- 1 | /** 2 | * @package CleverStyle Widgets 3 | * @author Nazar Mokrynskyi 4 | * @license 0BSD 5 | */ 6 | Polymer( 7 | is : 'cs-link-button' 8 | behaviors : csw.behaviors.cs-link-button 9 | ) 10 | -------------------------------------------------------------------------------- /assets/html/CleverStyle Widgets/cs-modal/index.html: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /assets/html/CleverStyle Widgets/cs-modal/index.pug: -------------------------------------------------------------------------------- 1 | custom-style: style. 2 | body { 3 | @apply --cs-modal-body; 4 | } 5 | 6 | body[modal-opened] { 7 | overflow : hidden; 8 | 9 | @apply --cs-modal-body-open; 10 | } 11 | dom-module#cs-modal 12 | link(href="style.css" rel="import" type="css") 13 | template 14 | #overlay(on-tap="_overlay_tap") 15 | #content 16 | slot 17 | script(src="script.js") 18 | -------------------------------------------------------------------------------- /assets/html/CleverStyle Widgets/cs-modal/script.js: -------------------------------------------------------------------------------- 1 | // Generated by LiveScript 1.5.0 2 | /** 3 | * @package CleverStyle Widgets 4 | * @author Nazar Mokrynskyi 5 | * @license 0BSD 6 | */ 7 | (function(){ 8 | Polymer({ 9 | is: 'cs-modal', 10 | behaviors: csw.behaviors.csModal 11 | }); 12 | }).call(this); 13 | -------------------------------------------------------------------------------- /assets/html/CleverStyle Widgets/cs-modal/script.ls: -------------------------------------------------------------------------------- 1 | /** 2 | * @package CleverStyle Widgets 3 | * @author Nazar Mokrynskyi 4 | * @license 0BSD 5 | */ 6 | Polymer( 7 | is : 'cs-modal' 8 | behaviors : csw.behaviors.cs-modal 9 | ) 10 | -------------------------------------------------------------------------------- /assets/html/CleverStyle Widgets/cs-notify/index.html: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /assets/html/CleverStyle Widgets/cs-notify/index.pug: -------------------------------------------------------------------------------- 1 | dom-module#cs-notify 2 | link(rel="import" href="style.css" type="css") 3 | template 4 | #content(on-tap="_tap") 5 | slot 6 | cs-icon#icon(icon="times") 7 | script(src="script.js") 8 | -------------------------------------------------------------------------------- /assets/html/CleverStyle Widgets/cs-notify/script.js: -------------------------------------------------------------------------------- 1 | // Generated by LiveScript 1.5.0 2 | /** 3 | * @package CleverStyle Widgets 4 | * @author Nazar Mokrynskyi 5 | * @license 0BSD 6 | */ 7 | (function(){ 8 | Polymer({ 9 | is: 'cs-notify', 10 | behaviors: csw.behaviors.csNotify 11 | }); 12 | }).call(this); 13 | -------------------------------------------------------------------------------- /assets/html/CleverStyle Widgets/cs-notify/script.ls: -------------------------------------------------------------------------------- 1 | /** 2 | * @package CleverStyle Widgets 3 | * @author Nazar Mokrynskyi 4 | * @license 0BSD 5 | */ 6 | Polymer( 7 | is : 'cs-notify' 8 | behaviors : csw.behaviors.cs-notify 9 | ) 10 | -------------------------------------------------------------------------------- /assets/html/CleverStyle Widgets/cs-pagination/index.html: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /assets/html/CleverStyle Widgets/cs-pagination/index.pug: -------------------------------------------------------------------------------- 1 | dom-module#cs-pagination 2 | link(rel="import" href="style.css" type="css") 3 | template 4 | //- If anything was passed here - show as is 5 | slot 6 | //- Render pages if any 7 | template(is="dom-repeat" items="[[_pages_list(page, pages)]]") 8 | cs-button(primary="[[item.active]]"): button(type="button" disabled="[[item.disabled]]" on-tap="_set_page" first$="[[item.first]]" last$="[[item.last]]") [[item.text]] 9 | script(src="script.js") 10 | -------------------------------------------------------------------------------- /assets/html/CleverStyle Widgets/cs-pagination/script.js: -------------------------------------------------------------------------------- 1 | // Generated by LiveScript 1.5.0 2 | /** 3 | * @package CleverStyle Widgets 4 | * @author Nazar Mokrynskyi 5 | * @license 0BSD 6 | */ 7 | (function(){ 8 | Polymer({ 9 | is: 'cs-pagination', 10 | behaviors: csw.behaviors.csPagination 11 | }); 12 | }).call(this); 13 | -------------------------------------------------------------------------------- /assets/html/CleverStyle Widgets/cs-pagination/script.ls: -------------------------------------------------------------------------------- 1 | /** 2 | * @package CleverStyle Widgets 3 | * @author Nazar Mokrynskyi 4 | * @license 0BSD 5 | */ 6 | Polymer( 7 | is : 'cs-pagination' 8 | behaviors : csw.behaviors.cs-pagination 9 | ) 10 | -------------------------------------------------------------------------------- /assets/html/CleverStyle Widgets/cs-progress/script.js: -------------------------------------------------------------------------------- 1 | // Generated by LiveScript 1.5.0 2 | /** 3 | * @package CleverStyle Widgets 4 | * @author Nazar Mokrynskyi 5 | * @license 0BSD 6 | */ 7 | (function(){ 8 | Polymer({ 9 | is: 'cs-progress', 10 | behaviors: csw.behaviors.csProgress 11 | }); 12 | }).call(this); 13 | -------------------------------------------------------------------------------- /assets/html/CleverStyle Widgets/cs-progress/script.ls: -------------------------------------------------------------------------------- 1 | /** 2 | * @package CleverStyle Widgets 3 | * @author Nazar Mokrynskyi 4 | * @license 0BSD 5 | */ 6 | Polymer( 7 | is : 'cs-progress' 8 | behaviors : csw.behaviors.cs-progress 9 | ) 10 | -------------------------------------------------------------------------------- /assets/html/CleverStyle Widgets/cs-select/script.js: -------------------------------------------------------------------------------- 1 | // Generated by LiveScript 1.5.0 2 | /** 3 | * @package CleverStyle Widgets 4 | * @author Nazar Mokrynskyi 5 | * @license 0BSD 6 | */ 7 | (function(){ 8 | Polymer({ 9 | is: 'cs-select', 10 | behaviors: csw.behaviors.csSelect 11 | }); 12 | }).call(this); 13 | -------------------------------------------------------------------------------- /assets/html/CleverStyle Widgets/cs-select/script.ls: -------------------------------------------------------------------------------- 1 | /** 2 | * @package CleverStyle Widgets 3 | * @author Nazar Mokrynskyi 4 | * @license 0BSD 5 | */ 6 | Polymer( 7 | is : 'cs-select' 8 | behaviors : csw.behaviors.cs-select 9 | ) 10 | -------------------------------------------------------------------------------- /assets/html/CleverStyle Widgets/cs-switcher/index.html: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /assets/html/CleverStyle Widgets/cs-switcher/index.pug: -------------------------------------------------------------------------------- 1 | dom-module#cs-switcher 2 | link(rel="import" href="style.css" type="css") 3 | template 4 | slot 5 | script(src="script.js") 6 | -------------------------------------------------------------------------------- /assets/html/CleverStyle Widgets/cs-switcher/script.js: -------------------------------------------------------------------------------- 1 | // Generated by LiveScript 1.5.0 2 | /** 3 | * @package CleverStyle Widgets 4 | * @author Nazar Mokrynskyi 5 | * @license 0BSD 6 | */ 7 | (function(){ 8 | Polymer({ 9 | is: 'cs-switcher', 10 | behaviors: csw.behaviors.csSwitcher 11 | }); 12 | }).call(this); 13 | -------------------------------------------------------------------------------- /assets/html/CleverStyle Widgets/cs-switcher/script.ls: -------------------------------------------------------------------------------- 1 | /** 2 | * @package CleverStyle Widgets 3 | * @author Nazar Mokrynskyi 4 | * @license 0BSD 5 | */ 6 | Polymer( 7 | is : 'cs-switcher' 8 | behaviors : csw.behaviors.cs-switcher 9 | ) 10 | -------------------------------------------------------------------------------- /assets/html/CleverStyle Widgets/cs-tabs/index.html: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /assets/html/CleverStyle Widgets/cs-tabs/index.pug: -------------------------------------------------------------------------------- 1 | dom-module#cs-tabs 2 | link(rel="import" href="style.css" type="css") 3 | template 4 | slot 5 | script(src="script.js") 6 | -------------------------------------------------------------------------------- /assets/html/CleverStyle Widgets/cs-tabs/script.js: -------------------------------------------------------------------------------- 1 | // Generated by LiveScript 1.5.0 2 | /** 3 | * @package CleverStyle Widgets 4 | * @author Nazar Mokrynskyi 5 | * @license 0BSD 6 | */ 7 | (function(){ 8 | Polymer({ 9 | is: 'cs-tabs', 10 | behaviors: csw.behaviors.csTabs 11 | }); 12 | }).call(this); 13 | -------------------------------------------------------------------------------- /assets/html/CleverStyle Widgets/cs-tabs/script.ls: -------------------------------------------------------------------------------- 1 | /** 2 | * @package CleverStyle Widgets 3 | * @author Nazar Mokrynskyi 4 | * @license 0BSD 5 | */ 6 | Polymer( 7 | is : 'cs-tabs' 8 | behaviors : csw.behaviors.cs-tabs 9 | ) 10 | -------------------------------------------------------------------------------- /assets/html/CleverStyle Widgets/cs-tabs/style.css: -------------------------------------------------------------------------------- 1 | /** 2 | * @package CleverStyle Widgets 3 | * @author Nazar Mokrynskyi 4 | * @license 0BSD 5 | */ 6 | :host { 7 | border : none; 8 | display : flex; 9 | vertical-align : middle; 10 | 11 | @apply --cs-no-selection; 12 | @apply --cs-global; 13 | @apply --cs-tabs; 14 | } 15 | 16 | :host([hidden]) { 17 | display : none; 18 | } 19 | -------------------------------------------------------------------------------- /assets/html/CleverStyle Widgets/cs-textarea/index.html: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /assets/html/CleverStyle Widgets/cs-textarea/index.pug: -------------------------------------------------------------------------------- 1 | dom-module#cs-textarea 2 | link(rel="import" href="style.css" type="css") 3 | template 4 | slot 5 | script(src="script.js") 6 | -------------------------------------------------------------------------------- /assets/html/CleverStyle Widgets/cs-textarea/script.js: -------------------------------------------------------------------------------- 1 | // Generated by LiveScript 1.5.0 2 | /** 3 | * @package CleverStyle Widgets 4 | * @author Nazar Mokrynskyi 5 | * @license 0BSD 6 | */ 7 | (function(){ 8 | Polymer({ 9 | is: 'cs-textarea', 10 | behaviors: csw.behaviors.csTextarea 11 | }); 12 | }).call(this); 13 | -------------------------------------------------------------------------------- /assets/html/CleverStyle Widgets/cs-textarea/script.ls: -------------------------------------------------------------------------------- 1 | /** 2 | * @package CleverStyle Widgets 3 | * @author Nazar Mokrynskyi 4 | * @license 0BSD 5 | */ 6 | Polymer( 7 | is : 'cs-textarea' 8 | behaviors : csw.behaviors.cs-textarea) 9 | -------------------------------------------------------------------------------- /assets/html/CleverStyle Widgets/cs-tooltip/index.html: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /assets/html/CleverStyle Widgets/cs-tooltip/index.pug: -------------------------------------------------------------------------------- 1 | dom-module#cs-tooltip 2 | link(rel="import" href="style.css" type="css") 3 | template 4 | #content 5 | slot 6 | #arrow(top$="[[top]]") 7 | script(src="script.js") 8 | -------------------------------------------------------------------------------- /assets/html/CleverStyle Widgets/cs-tooltip/script.js: -------------------------------------------------------------------------------- 1 | // Generated by LiveScript 1.5.0 2 | /** 3 | * @package CleverStyle Widgets 4 | * @author Nazar Mokrynskyi 5 | * @license 0BSD 6 | */ 7 | (function(){ 8 | Polymer({ 9 | is: 'cs-tooltip', 10 | behaviors: csw.behaviors.csTooltip 11 | }); 12 | }).call(this); 13 | -------------------------------------------------------------------------------- /assets/html/CleverStyle Widgets/cs-tooltip/script.ls: -------------------------------------------------------------------------------- 1 | /** 2 | * @package CleverStyle Widgets 3 | * @author Nazar Mokrynskyi 4 | * @license 0BSD 5 | */ 6 | Polymer( 7 | is : 'cs-tooltip' 8 | behaviors : csw.behaviors.cs-tooltip 9 | ) 10 | -------------------------------------------------------------------------------- /assets/html/a1.basic-styles.html: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /assets/html/a1.basic-styles.pug: -------------------------------------------------------------------------------- 1 | //- Capital letter so that it would be possible to override it afterwards 2 | dom-module#Basic-styles 3 | template 4 | style(include="normalize") 5 | style(include="basic-styles-alone") 6 | -------------------------------------------------------------------------------- /assets/html/a2.advanced-styles.html: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /assets/html/a2.advanced-styles.pug: -------------------------------------------------------------------------------- 1 | dom-module#Advanced-styles 2 | template 3 | style(include="basic-styles") 4 | style(include="advanced-styles-alone") 5 | -------------------------------------------------------------------------------- /assets/html/cs-system-registration/index.html: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /assets/html/cs-system-registration/index.pug: -------------------------------------------------------------------------------- 1 | dom-module#cs-system-registration 2 | template 3 | custom-style: style(include="advanced-styles"). 4 | cs-form: form(on-submit="_registration") 5 | h3 [[L.registration]] 6 | label 7 | cs-input-text: input#email(placeholder="Email" type="email" autocorrect="off") 8 | cs-button(primary): button(type="submit") [[L.registration]] 9 | script(src="script.js") 10 | -------------------------------------------------------------------------------- /assets/html/cs-system-registration/script.ls: -------------------------------------------------------------------------------- 1 | /** 2 | * @package CleverStyle Framework 3 | * @author Nazar Mokrynskyi 4 | * @license 0BSD 5 | */ 6 | Polymer( 7 | is : 'cs-system-registration' 8 | behaviors : [ 9 | cs.Polymer.behaviors.Language('system_profile_') 10 | ] 11 | attached : !-> 12 | @$.email.focus() 13 | _registration : (e) !-> 14 | e.preventDefault() 15 | cs.registration(@$.email.value) 16 | ) 17 | -------------------------------------------------------------------------------- /assets/html/cs-system-restore-password/index.pug: -------------------------------------------------------------------------------- 1 | dom-module#cs-system-restore-password-form 2 | template 3 | custom-style: style(include="advanced-styles"). 4 | cs-form: form(on-submit="_restore_password") 5 | h3 [[L.restore_password]] 6 | label 7 | cs-input-text: input#login(placeholder="[[L.login_or_email]]" type="text" autocorrect="off") 8 | cs-button(primary): button(type="submit") [[L.restore_password]] 9 | script(src="script.js") 10 | -------------------------------------------------------------------------------- /assets/html/cs-system-restore-password/script.ls: -------------------------------------------------------------------------------- 1 | /** 2 | * @package CleverStyle Framework 3 | * @author Nazar Mokrynskyi 4 | * @license 0BSD 5 | */ 6 | Polymer( 7 | is : 'cs-system-restore-password-form' 8 | behaviors : [ 9 | cs.Polymer.behaviors.Language('system_profile_') 10 | ] 11 | attached : !-> 12 | setTimeout(@$.login~focus) 13 | _restore_password : (e) !-> 14 | e.preventDefault() 15 | cs.restore_password(@$.login.value) 16 | ) 17 | -------------------------------------------------------------------------------- /assets/html/cs-system-user-settings/style.css: -------------------------------------------------------------------------------- 1 | img{max-height:var(--form-element-width, 30em);max-width:var(--form-element-width, 30em)} 2 | -------------------------------------------------------------------------------- /assets/html/cs-system-user-settings/style.scss: -------------------------------------------------------------------------------- 1 | /** 2 | * @package CleverStyle Framework 3 | * @author Nazar Mokrynskyi 4 | * @license 0BSD 5 | */ 6 | 7 | img { 8 | max-height : var(--form-element-width, 30em); 9 | max-width : var(--form-element-width, 30em); 10 | } 11 | -------------------------------------------------------------------------------- /assets/img/guest.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /assets/img/logo.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /assets/js/Polymer/readme.md: -------------------------------------------------------------------------------- 1 | Polymer build included is a JavaScript source code obtained as the result of running `estimate-size` command (file `dist/bundled/polymer.html`) as well as files `dist/bundled/bower_components/shadycss/apply-shim.min.js` and `dist/bundled/bower_components/shadycss/custom-style-interface.min.js` 2 | 3 | Hacks: 4 | * apply-shim is hacked according to https://github.com/webcomponents/shadycss/issues/91#issuecomment-312478101 (not necessarily correct, but at least fonts work fine) 5 | -------------------------------------------------------------------------------- /assets/js/WebComponents-polyfill/!include: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nazar-pc/CleverStyle-Framework/3a4cd2fb6aa9e486511498061f60b53ba9267311/assets/js/WebComponents-polyfill/!include -------------------------------------------------------------------------------- /assets/js/modules/!include: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nazar-pc/CleverStyle-Framework/3a4cd2fb6aa9e486511498061f60b53ba9267311/assets/js/modules/!include -------------------------------------------------------------------------------- /assets/js/zz1.alameda-setup.ls: -------------------------------------------------------------------------------- 1 | /** 2 | * @package CleverStyle Framework 3 | * @author Nazar Mokrynskyi 4 | * @license 0BSD 5 | */ 6 | requirejs.config( 7 | baseUrl : '/' 8 | urlArgs : (id, url) -> 9 | for path, hash of requirejs.contexts._.config.hashes 10 | if url.indexOf(path) == 0 11 | return (if url.indexOf('?') == -1 then '?' else '&') + hash 12 | '' 13 | waitSeconds : 60 14 | ) 15 | define('async-eventer', -> window.async_eventer) 16 | -------------------------------------------------------------------------------- /blocks/.gitkept: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nazar-pc/CleverStyle-Framework/3a4cd2fb6aa9e486511498061f60b53ba9267311/blocks/.gitkept -------------------------------------------------------------------------------- /ci/gpg.asc.enc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nazar-pc/CleverStyle-Framework/3a4cd2fb6aa9e486511498061f60b53ba9267311/ci/gpg.asc.enc -------------------------------------------------------------------------------- /ci/id_rsa.enc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nazar-pc/CleverStyle-Framework/3a4cd2fb6aa9e486511498061f60b53ba9267311/ci/id_rsa.enc -------------------------------------------------------------------------------- /config/main.php: -------------------------------------------------------------------------------- 1 | 5 | * @license 0BSD 6 | */ 7 | define('DEBUG', false); 8 | -------------------------------------------------------------------------------- /contributing.md: -------------------------------------------------------------------------------- 1 | ### Contributing 2 | It is great that you want to contribute to the project. 3 | 4 | Please, make sure you're familiar with [development environment and contribution](/docs/Development-environment-and-contribution.md) on wiki before you send patches. 5 | -------------------------------------------------------------------------------- /core/classes/h.php: -------------------------------------------------------------------------------- 1 | 5 | * @license 0BSD 6 | */ 7 | /** 8 | * Class for HTML code rendering in accordance with the standards of HTML5, and with useful syntax extensions for simpler usage 9 | */ 10 | use 11 | cs\h\Base; 12 | 13 | class h extends Base { 14 | } 15 | -------------------------------------------------------------------------------- /core/languages/aliases/en: -------------------------------------------------------------------------------- 1 | English 2 | -------------------------------------------------------------------------------- /core/languages/aliases/en_gb: -------------------------------------------------------------------------------- 1 | English 2 | -------------------------------------------------------------------------------- /core/languages/aliases/en_us: -------------------------------------------------------------------------------- 1 | English 2 | -------------------------------------------------------------------------------- /core/languages/aliases/ru: -------------------------------------------------------------------------------- 1 | Russian 2 | -------------------------------------------------------------------------------- /core/languages/aliases/ru_ru: -------------------------------------------------------------------------------- 1 | Russian 2 | -------------------------------------------------------------------------------- /core/languages/aliases/ru_ua: -------------------------------------------------------------------------------- 1 | Russian 2 | -------------------------------------------------------------------------------- /core/languages/aliases/uk: -------------------------------------------------------------------------------- 1 | Ukrainian 2 | -------------------------------------------------------------------------------- /core/languages/aliases/uk_ua: -------------------------------------------------------------------------------- 1 | Ukrainian 2 | -------------------------------------------------------------------------------- /core/thirdparty/htmlpurifier.phar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nazar-pc/CleverStyle-Framework/3a4cd2fb6aa9e486511498061f60b53ba9267311/core/thirdparty/htmlpurifier.phar -------------------------------------------------------------------------------- /core/thirdparty/readme.md: -------------------------------------------------------------------------------- 1 | `cli` directory with `wp-cli/php-cli-tools` uses https://github.com/nazar-pc/php-cli-tools/tree/tags-colorize-support, which is an upstream version + https://github.com/wp-cli/php-cli-tools/pull/100 on top of it 2 | -------------------------------------------------------------------------------- /core/traits/Singleton.php: -------------------------------------------------------------------------------- 1 | 5 | * @license 0BSD 6 | */ 7 | namespace cs; 8 | use 9 | cs\Singleton\Base; 10 | /** 11 | * @inheritdoc 12 | */ 13 | trait Singleton { 14 | use Base; 15 | } 16 | -------------------------------------------------------------------------------- /custom/classes/readme.md: -------------------------------------------------------------------------------- 1 | This directory contains classes that extends functionality of system classes. 2 | Content of this directory very likely is generated by third-party components, be very carefully when editing anything here. 3 | Read more about this directory [here](/docs/System-classes-extension.md). 4 | -------------------------------------------------------------------------------- /docker/any_host.php: -------------------------------------------------------------------------------- 1 | on( 4 | 'System/Config/init/after', 5 | function () { 6 | $Config = Config::instance(); 7 | if (!in_array($_SERVER['HTTP_HOST'], $Config->mirrors['http'])) { 8 | $Config->core['url'][] = 'http://'.$_SERVER['HTTP_HOST']; 9 | $Config->core['cookie_domain'][] = explode(':', $_SERVER['HTTP_HOST'], 2)[0]; 10 | $Config->save(); 11 | } 12 | } 13 | ); 14 | -------------------------------------------------------------------------------- /docker/start_webserver.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | # If volume present - copy files there 4 | if [ -d '/web' ]; then 5 | cp -a /web_tmp/* /web 6 | rm -rf /web_tmp 7 | # If no volume - just rename 8 | else 9 | mv /web_tmp /web 10 | fi 11 | 12 | chown www-data:www-data -R /web 13 | 14 | service mysql start 15 | service php7.0-fpm start 16 | service nginx start 17 | -------------------------------------------------------------------------------- /docs/backend-components/Modules.md: -------------------------------------------------------------------------------- 1 | Modules are the most functional and complex components. 2 | 3 | Modules are used for displaying of main content on web site pages (mostly). Also they may have own API, administation pages and languages translations. 4 | 5 | All modules are located in directory **modules**. 6 | -------------------------------------------------------------------------------- /favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nazar-pc/CleverStyle-Framework/3a4cd2fb6aa9e486511498061f60b53ba9267311/favicon.ico -------------------------------------------------------------------------------- /modules/Blockchain_payment/admin/index.json: -------------------------------------------------------------------------------- 1 | [ 2 | "general", 3 | "transactions" 4 | ] 5 | -------------------------------------------------------------------------------- /modules/Blockchain_payment/assets/.htaccess: -------------------------------------------------------------------------------- 1 | 2 | RewriteEngine Off 3 | 4 | -------------------------------------------------------------------------------- /modules/Blockchain_payment/assets/css/admin.css: -------------------------------------------------------------------------------- 1 | body form{text-align:center} 2 | -------------------------------------------------------------------------------- /modules/Blockchain_payment/assets/css/admin.scss: -------------------------------------------------------------------------------- 1 | /** 2 | * @package Blockchain payment 3 | * @category modules 4 | * @author Nazar Mokrynskyi 5 | * @license 0BSD 6 | */ 7 | body form { 8 | text-align : center; 9 | } 10 | -------------------------------------------------------------------------------- /modules/Blockchain_payment/assets/html/cs-blockchain-payment-pay/index.html: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /modules/Blockchain_payment/assets/html/cs-blockchain-payment-pay/index.pug: -------------------------------------------------------------------------------- 1 | dom-module#cs-blockchain-payment-pay 2 | link(rel="import" href="style.css" type="css") 3 | template 4 | style(include="advanced-styles") 5 | .cs-text-center 6 | h1 [[description]] 7 | #qr 8 | h3 [[text]] 9 | h3 10 | cs-icon(icon="spinner" spin) 11 | = ' ' 12 | | [[progress_text]] 13 | script(src="script.js") 14 | -------------------------------------------------------------------------------- /modules/Blockchain_payment/assets/html/cs-blockchain-payment-pay/style.css: -------------------------------------------------------------------------------- 1 | :host{display:block}#qr{margin:0 auto;display:inline-block} 2 | -------------------------------------------------------------------------------- /modules/Blockchain_payment/assets/html/cs-blockchain-payment-pay/style.scss: -------------------------------------------------------------------------------- 1 | /** 2 | * @package Blockchain payment 3 | * @category modules 4 | * @author Nazar Mokrynskyi 5 | * @license 0BSD 6 | */ 7 | :host { 8 | display : block; 9 | } 10 | 11 | #qr { 12 | margin : 0 auto; 13 | display : inline-block; 14 | } 15 | -------------------------------------------------------------------------------- /modules/Blockchain_payment/convertible_currencies.json: -------------------------------------------------------------------------------- 1 | [ 2 | "USD", 3 | "JPY", 4 | "CNY", 5 | "SGD", 6 | "HKD", 7 | "CAD", 8 | "NZD", 9 | "AUD", 10 | "CLP", 11 | "GBP", 12 | "DKK", 13 | "SEK", 14 | "ISK", 15 | "CHF", 16 | "BRL", 17 | "EUR", 18 | "RUB", 19 | "PLN", 20 | "THB", 21 | "KRW", 22 | "TWD" 23 | ] 24 | -------------------------------------------------------------------------------- /modules/Blockchain_payment/meta/uninstall_db/transactions/MySQLi.sql: -------------------------------------------------------------------------------- 1 | DROP TABLE `[prefix]blockchain_payment_transactions`; 2 | -------------------------------------------------------------------------------- /modules/Blogs/admin/index.json: -------------------------------------------------------------------------------- 1 | [ 2 | "general", 3 | "browse_sections", 4 | "browse_posts" 5 | ] 6 | -------------------------------------------------------------------------------- /modules/Blogs/api/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "_" : [], 3 | "posts" : [], 4 | "sections" : [], 5 | "admin" : [ 6 | "_", 7 | "posts", 8 | "sections" 9 | ] 10 | } 11 | -------------------------------------------------------------------------------- /modules/Blogs/assets/html/.htaccess: -------------------------------------------------------------------------------- 1 | 2 | RewriteEngine Off 3 | 4 | -------------------------------------------------------------------------------- /modules/Blogs/assets/html/cs-blogs-add-edit-post/style.css: -------------------------------------------------------------------------------- 1 | td{vertical-align:top !important}td cs-editor-inline{display:block}td [contenteditable]{outline:#333 dotted 1px} 2 | -------------------------------------------------------------------------------- /modules/Blogs/assets/html/cs-blogs-add-edit-post/style.scss: -------------------------------------------------------------------------------- 1 | /** 2 | * @package Blogs 3 | * @category modules 4 | * @author Nazar Mokrynskyi 5 | * @license 0BSD 6 | */ 7 | td { 8 | vertical-align : top !important; 9 | 10 | cs-editor-inline { 11 | display : block; 12 | } 13 | 14 | [contenteditable] { 15 | outline : #333 dotted 1px; 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /modules/Blogs/assets/html/cs-blogs-admin-posts-list/style.css: -------------------------------------------------------------------------------- 1 | th:nth-child(5n+1){width:30%}th:nth-child(5n+2){width:25%}th:nth-child(5n+3){width:20%}th:nth-child(5n+4){width:15%} 2 | -------------------------------------------------------------------------------- /modules/Blogs/assets/html/cs-blogs-admin-posts-list/style.scss: -------------------------------------------------------------------------------- 1 | /** 2 | * @package Blogs 3 | * @category modules 4 | * @author Nazar Mokrynskyi 5 | * @license 0BSD 6 | */ 7 | th { 8 | &:nth-child(5n + 1) { 9 | width : 30%; 10 | } 11 | 12 | &:nth-child(5n + 2) { 13 | width : 25%; 14 | } 15 | 16 | &:nth-child(5n + 3) { 17 | width : 20%; 18 | } 19 | 20 | &:nth-child(5n + 4) { 21 | width : 15%; 22 | } 23 | } 24 | -------------------------------------------------------------------------------- /modules/Blogs/assets/html/cs-blogs-admin-sections-add-edit-form/style.css: -------------------------------------------------------------------------------- 1 | td{vertical-align:top} 2 | -------------------------------------------------------------------------------- /modules/Blogs/assets/html/cs-blogs-admin-sections-add-edit-form/style.scss: -------------------------------------------------------------------------------- 1 | /** 2 | * @package Blogs 3 | * @category modules 4 | * @author Nazar Mokrynskyi 5 | * @license 0BSD 6 | */ 7 | td { 8 | vertical-align : top; 9 | } 10 | -------------------------------------------------------------------------------- /modules/Blogs/assets/html/cs-blogs-admin-sections-list/style.css: -------------------------------------------------------------------------------- 1 | td:nth-child(2n+1){@apply --layout;@apply --layout-justified}td:nth-child(2n+1) span{font-weight:bold} 2 | -------------------------------------------------------------------------------- /modules/Blogs/assets/html/cs-blogs-admin-sections-list/style.scss: -------------------------------------------------------------------------------- 1 | /** 2 | * @package Blogs 3 | * @category modules 4 | * @author Nazar Mokrynskyi 5 | * @license 0BSD 6 | */ 7 | td:nth-child(2n+1) { 8 | @apply --layout; 9 | @apply --layout-justified; 10 | 11 | span { 12 | font-weight : bold; 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /modules/Blogs/assets/html/cs-blogs-post/style.css: -------------------------------------------------------------------------------- 1 | :host>header>h1{margin-top:0 !important} 2 | -------------------------------------------------------------------------------- /modules/Blogs/assets/html/cs-blogs-post/style.scss: -------------------------------------------------------------------------------- 1 | /** 2 | * @package Blogs 3 | * @category modules 4 | * @author Nazar Mokrynskyi 5 | * @license 0BSD 6 | */ 7 | :host > header > h1 { 8 | margin-top : 0 !important; 9 | } 10 | -------------------------------------------------------------------------------- /modules/Blogs/assets/html/cs-blogs-posts/index.html: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /modules/Blogs/assets/html/cs-blogs-posts/index.pug: -------------------------------------------------------------------------------- 1 | dom-module#cs-blogs-posts 2 | template 3 | style(include="basic-styles") 4 | template(is="dom-repeat" items="[[posts]]" as="post") 5 | cs-blogs-posts-post(post="[[post]]") 6 | script(src="script.js") 7 | -------------------------------------------------------------------------------- /modules/Blogs/assets/html/cs-blogs-posts/script.js: -------------------------------------------------------------------------------- 1 | // Generated by LiveScript 1.5.0 2 | /** 3 | * @package Blogs 4 | * @category modules 5 | * @author Nazar Mokrynskyi 6 | * @license 0BSD 7 | */ 8 | (function(){ 9 | Polymer({ 10 | is: 'cs-blogs-posts', 11 | ready: function(){ 12 | this.jsonld = JSON.parse(this.children[0].innerHTML); 13 | this.posts = this.jsonld['@graph']; 14 | } 15 | }); 16 | }).call(this); 17 | -------------------------------------------------------------------------------- /modules/Blogs/assets/html/cs-blogs-posts/script.ls: -------------------------------------------------------------------------------- 1 | /** 2 | * @package Blogs 3 | * @category modules 4 | * @author Nazar Mokrynskyi 5 | * @license 0BSD 6 | */ 7 | Polymer( 8 | is : 'cs-blogs-posts' 9 | ready : !-> 10 | @jsonld = JSON.parse(@children[0].innerHTML) 11 | @posts = @jsonld['@graph'] 12 | ) 13 | -------------------------------------------------------------------------------- /modules/Blogs/index.json: -------------------------------------------------------------------------------- 1 | [ 2 | "latest_posts", 3 | "section", 4 | "post", 5 | "tag", 6 | "new_post", 7 | "edit_post", 8 | "drafts", 9 | "atom.xml" 10 | ] 11 | -------------------------------------------------------------------------------- /modules/Blogs/meta/uninstall_db/posts/MySQLi.sql: -------------------------------------------------------------------------------- 1 | DROP TABLE `[prefix]blogs_posts`, `[prefix]blogs_posts_sections`, `[prefix]blogs_posts_tags`, `[prefix]blogs_sections`, `[prefix]blogs_tags`; 2 | -------------------------------------------------------------------------------- /modules/Blogs/meta/uninstall_db/posts/SQLite.sql: -------------------------------------------------------------------------------- 1 | DROP TABLE `[prefix]blogs_posts`, `[prefix]blogs_posts_sections`, `[prefix]blogs_posts_tags`, `[prefix]blogs_sections`, `[prefix]blogs_tags`; 2 | -------------------------------------------------------------------------------- /modules/Comments/assets/html/.htaccess: -------------------------------------------------------------------------------- 1 | 2 | RewriteEngine Off 3 | 4 | -------------------------------------------------------------------------------- /modules/Comments/assets/html/cs-comments-count/index.html: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /modules/Comments/assets/html/cs-comments-count/index.pug: -------------------------------------------------------------------------------- 1 | dom-module#cs-comments-count 2 | template [[count]] 3 | script(src="script.js") 4 | -------------------------------------------------------------------------------- /modules/Comments/assets/html/cs-comments-count/script.ls: -------------------------------------------------------------------------------- 1 | /** 2 | * @package Comments 3 | * @category modules 4 | * @author Nazar Mokrynskyi 5 | * @license 0BSD 6 | */ 7 | Polymer( 8 | is : 'cs-comments-count' 9 | properties : 10 | module : String 11 | item : Number 12 | count : Number 13 | ready : !-> 14 | cs.api('get api/Comments/count', {@module, @item}).then (@count) !~> 15 | ) 16 | -------------------------------------------------------------------------------- /modules/Comments/meta/uninstall_db/comments/MySQLi.sql: -------------------------------------------------------------------------------- 1 | DROP TABLE `[prefix]comments`; 2 | -------------------------------------------------------------------------------- /modules/Composer/00.Composer_autoloader.php: -------------------------------------------------------------------------------- 1 | 6 | * @license 0BSD 7 | */ 8 | _require_once(STORAGE.'/Composer/vendor/autoload.php', false); 9 | -------------------------------------------------------------------------------- /modules/Composer/admin/index.json: -------------------------------------------------------------------------------- 1 | [ 2 | "general", 3 | "auth_json" 4 | ] 5 | -------------------------------------------------------------------------------- /modules/Composer/assets/.htaccess: -------------------------------------------------------------------------------- 1 | RewriteEngine Off 2 | -------------------------------------------------------------------------------- /modules/Composer/assets/html/cs-composer/index.html: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /modules/Composer/assets/html/cs-composer/index.pug: -------------------------------------------------------------------------------- 1 | dom-module#cs-composer 2 | link(rel="import" href="style.css" type="css") 3 | template 4 | style(include="advanced-styles") 5 | h3.cs-text-center [[L.composer_updating]] 6 | h1.cs-text-center(hidden="[[status]]") 7 | cs-icon(icon="spinner" spin) 8 | h3.cs-text-center(hidden="[[!status]]") [[status]] 9 | pre#result 10 | script(src="script.js") 11 | -------------------------------------------------------------------------------- /modules/Composer/assets/html/cs-composer/style.css: -------------------------------------------------------------------------------- 1 | /** 2 | * @package Composer 3 | * @category modules 4 | * @author Nazar Mokrynskyi 5 | * @license 0BSD 6 | */ 7 | #result { 8 | background : #1a1a1a; 9 | overflow : visible; 10 | } 11 | -------------------------------------------------------------------------------- /modules/Composer/composer.phar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nazar-pc/CleverStyle-Framework/3a4cd2fb6aa9e486511498061f60b53ba9267311/modules/Composer/composer.phar -------------------------------------------------------------------------------- /modules/Composer/packages_bundled_with_system.json: -------------------------------------------------------------------------------- 1 | { 2 | "nazar-pc/bananahtml" : "*", 3 | "nazar-pc/stream-slicer" : "*", 4 | "nazar-pc/upf" : "*", 5 | "phpmailer/phpmailer" : "*", 6 | "wp-cli/php-cli-tools" : "*", 7 | "ezyang/htmlpurifier" : "*" 8 | } 9 | -------------------------------------------------------------------------------- /modules/Composer_assets/packages_bundled_with_system.json: -------------------------------------------------------------------------------- 1 | { 2 | "bower-asset/html.sortable" : "*", 3 | "bower-asset/jssha" : "*", 4 | "bower-asset/polymer" : "*", 5 | "bower-asset/shadycss" : "*", 6 | "npm-asset/async-eventer" : "*", 7 | "npm-asset/jssha" : "*", 8 | "npm-asset/html5sortable" : "*", 9 | "npm-asset/@polymer/polymer" : "*", 10 | "npm-asset/@webcomponents/shadycss" : "*" 11 | } 12 | -------------------------------------------------------------------------------- /modules/Content/api/index.is_admin.php: -------------------------------------------------------------------------------- 1 | 6 | * @license 0BSD 7 | */ 8 | namespace cs\modules\Content; 9 | use 10 | cs\Page, 11 | cs\User; 12 | 13 | Page::instance()->json( 14 | (bool)User::instance()->admin() 15 | ); 16 | -------------------------------------------------------------------------------- /modules/Content/assets/css/admin.css: -------------------------------------------------------------------------------- 1 | body form{text-align:center} 2 | -------------------------------------------------------------------------------- /modules/Content/assets/css/admin.scss: -------------------------------------------------------------------------------- 1 | /** 2 | * @package Content 3 | * @category modules 4 | * @author Nazar Mokrynskyi 5 | * @license 0BSD 6 | */ 7 | body form { 8 | text-align : center; 9 | } 10 | -------------------------------------------------------------------------------- /modules/Content/meta/uninstall_db/content/MySQLi.sql: -------------------------------------------------------------------------------- 1 | DROP TABLE `[prefix]content`; 2 | -------------------------------------------------------------------------------- /modules/Cron/assets/css/admin.css: -------------------------------------------------------------------------------- 1 | body form{text-align:center} 2 | -------------------------------------------------------------------------------- /modules/Cron/assets/css/admin.scss: -------------------------------------------------------------------------------- 1 | /** 2 | * @package Cron 3 | * @category modules 4 | * @author Nazar Mokrynskyi 5 | * @license 0BSD 6 | */ 7 | body form { 8 | text-align : center; 9 | } 10 | -------------------------------------------------------------------------------- /modules/Cron/languages/English.json: -------------------------------------------------------------------------------- 1 | { 2 | "crontab_content" : "The contents of the crontab. Edit as desired, and save it." 3 | } 4 | -------------------------------------------------------------------------------- /modules/Cron/languages/Russian.json: -------------------------------------------------------------------------------- 1 | { 2 | "crontab_content" : "Содержимое crontab. Отредактируйте по желанию, и сохраните." 3 | } 4 | -------------------------------------------------------------------------------- /modules/Cron/languages/Ukrainian.json: -------------------------------------------------------------------------------- 1 | { 2 | "crontab_content" : "Вміст crontab. Відредагуйте за бажанням і збережіть." 3 | } 4 | -------------------------------------------------------------------------------- /modules/Deferred_tasks/assets/css/admin.css: -------------------------------------------------------------------------------- 1 | body form{text-align:center} 2 | -------------------------------------------------------------------------------- /modules/Deferred_tasks/assets/css/admin.scss: -------------------------------------------------------------------------------- 1 | /** 2 | * @package Deferred tasks 3 | * @category modules 4 | * @author Nazar Mokrynskyi 5 | * @license 0BSD 6 | */ 7 | body form { 8 | text-align : center; 9 | } 10 | -------------------------------------------------------------------------------- /modules/Deferred_tasks/meta/uninstall_db/tasks/MySQLi.sql: -------------------------------------------------------------------------------- 1 | DROP TABLE `[prefix]deferred_tasks_tasks`; 2 | -------------------------------------------------------------------------------- /modules/Disqus/api/Controller.php: -------------------------------------------------------------------------------- 1 | 6 | * @license 0BSD 7 | */ 8 | namespace cs\modules\Disqus\api; 9 | use 10 | cs\Config; 11 | 12 | class Controller { 13 | /** 14 | * @return array 15 | */ 16 | public static function index_get_settings () { 17 | return [ 18 | 'shortname' => Config::instance()->module('Disqus')->shortname 19 | ]; 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /modules/Disqus/assets/css/admin.css: -------------------------------------------------------------------------------- 1 | body form{text-align:center} 2 | -------------------------------------------------------------------------------- /modules/Disqus/assets/css/admin.scss: -------------------------------------------------------------------------------- 1 | /** 2 | * @package Disqus 3 | * @category modules 4 | * @author Nazar Mokrynskyi 5 | * @license 0BSD 6 | */ 7 | body form { 8 | text-align : center; 9 | } 10 | -------------------------------------------------------------------------------- /modules/Disqus/assets/html/.htaccess: -------------------------------------------------------------------------------- 1 | 2 | RewriteEngine Off 3 | 4 | -------------------------------------------------------------------------------- /modules/Disqus/assets/html/cs-comments-count/index.html: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /modules/Disqus/assets/html/cs-comments-count/index.pug: -------------------------------------------------------------------------------- 1 | dom-module#cs-comments-count 2 | template [[count]] 3 | script(src="script.js") 4 | -------------------------------------------------------------------------------- /modules/Disqus/assets/html/cs-comments/index.html: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /modules/Disqus/assets/html/cs-comments/index.pug: -------------------------------------------------------------------------------- 1 | dom-module#cs-comments 2 | template 3 | script(src="script.js") 4 | -------------------------------------------------------------------------------- /modules/Disqus/assets/js/general.js: -------------------------------------------------------------------------------- 1 | // Generated by LiveScript 1.5.0 2 | /** 3 | * @package Disqus 4 | * @category modules 5 | * @author Nazar Mokrynskyi 6 | * @license 0BSD 7 | */ 8 | (function(){ 9 | window.DISQUSWIDGETS = { 10 | displayCount: function(data){ 11 | if (data.counts[0]) { 12 | this[data.counts[0].id] = data.counts[0].comments; 13 | } 14 | } 15 | }; 16 | }).call(this); 17 | -------------------------------------------------------------------------------- /modules/Disqus/assets/js/general.ls: -------------------------------------------------------------------------------- 1 | /** 2 | * @package Disqus 3 | * @category modules 4 | * @author Nazar Mokrynskyi 5 | * @license 0BSD 6 | */ 7 | window.DISQUSWIDGETS = 8 | displayCount : (data) !-> 9 | if data.counts[0] 10 | @[data.counts[0].id] = data.counts[0].comments 11 | -------------------------------------------------------------------------------- /modules/Feedback/assets/css/general.css: -------------------------------------------------------------------------------- 1 | /** 2 | * @package Feedback 3 | * @category modules 4 | * @author Nazar Mokrynskyi 5 | * @license 0BSD 6 | */ 7 | .cs-feedback-form input, 8 | .cs-feedback-form textarea { 9 | width : 25rem !important; 10 | } 11 | -------------------------------------------------------------------------------- /modules/Feedback/languages/English.json: -------------------------------------------------------------------------------- 1 | { 2 | "Feedback" : "Feedback", 3 | "feedback_name" : "Name", 4 | "feedback_email" : "Email", 5 | "feedback_text" : "Text", 6 | "feedback_send" : "Send", 7 | "feedback_email_from" : "Feedback from %s, %s", 8 | "feedback_sent_successfully" : "Sent successfully", 9 | "feedback_sending_error" : "Feedback sending error" 10 | } 11 | -------------------------------------------------------------------------------- /modules/Feedback/languages/Russian.json: -------------------------------------------------------------------------------- 1 | { 2 | "Feedback" : "Обратная связь", 3 | "feedback_name" : "Имя", 4 | "feedback_email" : "Email", 5 | "feedback_text" : "Текст", 6 | "feedback_send" : "Отправить", 7 | "feedback_email_from" : "Обратная связь от %s, %s", 8 | "feedback_sent_successfully" : "Отправлено успешно", 9 | "feedback_sending_error" : "Ошибка отправки обратной связи" 10 | } 11 | -------------------------------------------------------------------------------- /modules/Feedback/languages/Ukrainian.json: -------------------------------------------------------------------------------- 1 | { 2 | "Feedback" : "Зворотній зв'язок", 3 | "feedback_name" : "Ім'я", 4 | "feedback_email" : "Email", 5 | "feedback_text" : "Текст", 6 | "feedback_send" : "Надіслати", 7 | "feedback_email_from" : "Зворотній зв'язок від %s, %s", 8 | "feedback_sent_successfully" : "Надіслано успішно", 9 | "feedback_sending_error" : "Помилка надсилання зворотнього зв'язку" 10 | } 11 | -------------------------------------------------------------------------------- /modules/Fotorama/assets/.htaccess: -------------------------------------------------------------------------------- 1 | 2 | RewriteEngine Off 3 | 4 | -------------------------------------------------------------------------------- /modules/Fotorama/assets/html/cs-fotorama-styles-wrapper/fotorama.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nazar-pc/CleverStyle-Framework/3a4cd2fb6aa9e486511498061f60b53ba9267311/modules/Fotorama/assets/html/cs-fotorama-styles-wrapper/fotorama.png -------------------------------------------------------------------------------- /modules/Fotorama/assets/html/cs-fotorama-styles-wrapper/fotorama@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nazar-pc/CleverStyle-Framework/3a4cd2fb6aa9e486511498061f60b53ba9267311/modules/Fotorama/assets/html/cs-fotorama-styles-wrapper/fotorama@2x.png -------------------------------------------------------------------------------- /modules/Fotorama/assets/html/cs-fotorama-styles-wrapper/index.pug: -------------------------------------------------------------------------------- 1 | dom-module#cs-fotorama-styles 2 | template 3 | style 4 | include fotorama.css 5 | custom-style: style(include="cs-fotorama-styles") 6 | dom-module#cs-fotorama-styles-wrapper-styles 7 | template 8 | custom-style: style(include="cs-fotorama-styles") 9 | dom-module#cs-fotorama-styles-wrapper 10 | template 11 | slot 12 | script(src="script.js") 13 | -------------------------------------------------------------------------------- /modules/Fotorama/assets/html/cs-fotorama-styles-wrapper/script.js: -------------------------------------------------------------------------------- 1 | // Generated by LiveScript 1.5.0 2 | /** 3 | * @package CleverStyle Widgets 4 | * @author Nazar Mokrynskyi 5 | * @license 0BSD 6 | */ 7 | (function(){ 8 | Polymer({ 9 | is: 'cs-fotorama-styles-wrapper', 10 | behaviors: [cs.Polymer.behaviors.inject_light_styles], 11 | _styles_dom_module: 'cs-fotorama-styles-wrapper-styles' 12 | }); 13 | }).call(this); 14 | -------------------------------------------------------------------------------- /modules/Fotorama/assets/html/cs-fotorama-styles-wrapper/script.ls: -------------------------------------------------------------------------------- 1 | /** 2 | * @package CleverStyle Widgets 3 | * @author Nazar Mokrynskyi 4 | * @license 0BSD 5 | */ 6 | Polymer( 7 | is : 'cs-fotorama-styles-wrapper' 8 | behaviors : [cs.Polymer.behaviors.inject_light_styles] 9 | _styles_dom_module : 'cs-fotorama-styles-wrapper-styles' 10 | ) 11 | -------------------------------------------------------------------------------- /modules/Fotorama/events.php: -------------------------------------------------------------------------------- 1 | 6 | * @license 0BSD 7 | */ 8 | namespace cs; 9 | use 10 | h; 11 | 12 | Event::instance()->on( 13 | 'System/Page/render/before', 14 | function () { 15 | if (!Config::instance()->module('Fotorama')->enabled()) { 16 | return; 17 | } 18 | } 19 | ); 20 | -------------------------------------------------------------------------------- /modules/Fotorama/readme.html: -------------------------------------------------------------------------------- 1 |

Wrap anything you want to apply Fotorama to with cs-fotorama-styles-wrapper element or otherwise styling might not work under Shadow DOM

2 | -------------------------------------------------------------------------------- /modules/Fotorama/readme.md: -------------------------------------------------------------------------------- 1 | Fotorama during next update will need some tweaks: 2 | * Make sure to compile `assets/html/cs-fotorama-styles-wrapper/index.pug` after updating `fotorama.css` near it 3 | * if AMD support not merged yet (https://github.com/artpolikarpov/fotorama/pull/309) then wrap JS with `require(['jquery'], function (jQuery) {..});` 4 | -------------------------------------------------------------------------------- /modules/Http_server/supervisor.php: -------------------------------------------------------------------------------- 1 | 6 | * @license 0BSD 7 | */ 8 | if ($argc < 2) { 9 | echo "Supervisor takes command as argument and execute it. If command stops for some reason - supervisor will start it again in 1 second and will do that until alive itself.\nUsage: php supervisor.php 'some-command'"; 10 | return; 11 | } 12 | while (true) { 13 | exec($argv[1]); 14 | sleep(1); 15 | } 16 | -------------------------------------------------------------------------------- /modules/HybridAuth/Hybrid/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 403 Forbidden 4 | 5 | 6 | 7 |

Directory access is forbidden.

8 | 9 | 10 | -------------------------------------------------------------------------------- /modules/HybridAuth/Hybrid/resources/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 403 Forbidden 4 | 5 | 6 | 7 |

Directory access is forbidden.

8 | 9 | 10 | -------------------------------------------------------------------------------- /modules/HybridAuth/Hybrid/resources/openid_policy.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | OpenID Policy 4 | 5 | 6 | 9 | 10 | -------------------------------------------------------------------------------- /modules/HybridAuth/Hybrid/resources/openid_xrds.xml: -------------------------------------------------------------------------------- 1 | 2 | 6 | 7 | 8 | http://specs.openid.net/auth/2.0/return_to 9 | {RETURN_TO_URL} 10 | 11 | 12 | -------------------------------------------------------------------------------- /modules/HybridAuth/Hybrid/thirdparty/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 403 Forbidden 4 | 5 | 6 | 7 |

Directory access is forbidden.

8 | 9 | 10 | -------------------------------------------------------------------------------- /modules/HybridAuth/admin/index.json: -------------------------------------------------------------------------------- 1 | [ 2 | "providers_list" 3 | ] 4 | -------------------------------------------------------------------------------- /modules/HybridAuth/assets/html/.htaccess: -------------------------------------------------------------------------------- 1 | 2 | RewriteEngine Off 3 | 4 | -------------------------------------------------------------------------------- /modules/HybridAuth/assets/html/cs-hybridauth-sign-in/index.html: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /modules/HybridAuth/assets/html/cs-hybridauth-sign-in/index.pug: -------------------------------------------------------------------------------- 1 | dom-module#cs-hybridauth-sign-in 2 | link(rel="import" href="style.css" type="css") 3 | template 4 | h3 [[L.or_sign_in_with]]: 5 | cs-group(vertical) 6 | template(is="dom-repeat" items="[[providers]]") 7 | cs-link-button(icon="[[item.icon]]"): a(href="/HybridAuth/[[item.provider]]") [[item.name]] 8 | = ' ' 9 | script(src="script.js") 10 | -------------------------------------------------------------------------------- /modules/HybridAuth/assets/html/cs-hybridauth-sign-in/style.css: -------------------------------------------------------------------------------- 1 | :host{display:block}cs-group{width:100%} 2 | -------------------------------------------------------------------------------- /modules/HybridAuth/assets/html/cs-hybridauth-sign-in/style.scss: -------------------------------------------------------------------------------- 1 | /** 2 | * @package HybridAuth 3 | * @category modules 4 | * @author Nazar Mokrynskyi 5 | * @license 0BSD 6 | */ 7 | :host { 8 | display : block; 9 | } 10 | 11 | cs-group { 12 | width : 100%; 13 | } 14 | -------------------------------------------------------------------------------- /modules/HybridAuth/assets/js/general.js: -------------------------------------------------------------------------------- 1 | // Generated by LiveScript 1.5.0 2 | /** 3 | * @package HybridAuth 4 | * @category modules 5 | * @author Nazar Mokrynskyi 6 | * @license 0BSD 7 | */ 8 | (function(){ 9 | cs.Event.on('cs-system-sign-in', function(target){ 10 | var ref$; 11 | if ((ref$ = cs.hybridauth) != null && ref$.providers) { 12 | target.shadowRoot.appendChild(document.createElement('cs-hybridauth-sign-in')); 13 | } 14 | }); 15 | }).call(this); 16 | -------------------------------------------------------------------------------- /modules/HybridAuth/assets/js/general.ls: -------------------------------------------------------------------------------- 1 | /** 2 | * @package HybridAuth 3 | * @category modules 4 | * @author Nazar Mokrynskyi 5 | * @license 0BSD 6 | */ 7 | cs.Event.on( 8 | 'cs-system-sign-in' 9 | (target) !-> 10 | if cs.hybridauth?.providers 11 | target.shadowRoot.appendChild( 12 | document.createElement('cs-hybridauth-sign-in') 13 | ) 14 | ) 15 | -------------------------------------------------------------------------------- /modules/HybridAuth/meta/install_db/integration/MySQLi.sql: -------------------------------------------------------------------------------- 1 | CREATE TABLE IF NOT EXISTS `[prefix]users_social_integration` ( 2 | `id` int(10) unsigned NOT NULL COMMENT 'User id', 3 | `provider` varchar(255) NOT NULL, 4 | `identifier` varchar(255) NOT NULL COMMENT 'Identifier of provider (unique for every provider)', 5 | `profile` varchar(1024) NOT NULL, 6 | UNIQUE KEY `provider` (`provider`(191),`identifier`(191)), 7 | KEY `id` (`id`) 8 | ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE utf8mb4_unicode_ci; 9 | -------------------------------------------------------------------------------- /modules/HybridAuth/meta/uninstall_db/integration/MySQLi.sql: -------------------------------------------------------------------------------- 1 | DROP TABLE `[prefix]users_social_integration`; 2 | -------------------------------------------------------------------------------- /modules/Json_ld/meta.json: -------------------------------------------------------------------------------- 1 | { 2 | "package" : "Json_ld", 3 | "category" : "modules", 4 | "version" : "0.8.0+build-13", 5 | "description" : "Useful tools for simplifying generating of JSON-LD snippets", 6 | "author" : "Nazar Mokrynskyi", 7 | "website" : "cleverstyle.org/Framework", 8 | "license" : "0BSD", 9 | "provide" : "json_ld", 10 | "require" : [ 11 | "System>=7.0", 12 | "System<8.0" 13 | ] 14 | } 15 | -------------------------------------------------------------------------------- /modules/OAuth2/admin/clients.php: -------------------------------------------------------------------------------- 1 | 6 | * @license 0BSD 7 | */ 8 | namespace cs; 9 | include __DIR__.'/clients/save.php'; 10 | -------------------------------------------------------------------------------- /modules/OAuth2/admin/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "clients" : [ 3 | "list", 4 | "add", 5 | "edit", 6 | "delete" 7 | ] 8 | } 9 | -------------------------------------------------------------------------------- /modules/OAuth2/assets/css/admin.css: -------------------------------------------------------------------------------- 1 | body form{text-align:center} 2 | -------------------------------------------------------------------------------- /modules/OAuth2/assets/css/admin.scss: -------------------------------------------------------------------------------- 1 | /** 2 | * @package OAuth2 3 | * @category modules 4 | * @author Nazar Mokrynskyi 5 | * @license 0BSD 6 | */ 7 | body form { 8 | text-align : center; 9 | } 10 | -------------------------------------------------------------------------------- /modules/OAuth2/assets/css/user.css: -------------------------------------------------------------------------------- 1 | form{text-align:center} 2 | -------------------------------------------------------------------------------- /modules/OAuth2/assets/css/user.scss: -------------------------------------------------------------------------------- 1 | /** 2 | * @package OAuth2 3 | * @category modules 4 | * @author Nazar Mokrynskyi 5 | * @license 0BSD 6 | */ 7 | form { 8 | text-align : center; 9 | } 10 | -------------------------------------------------------------------------------- /modules/OAuth2/blank.php: -------------------------------------------------------------------------------- 1 | 6 | * @license 0BSD 7 | */ 8 | namespace cs; 9 | Page::instance()->interface = false; 10 | -------------------------------------------------------------------------------- /modules/OAuth2/index.json: -------------------------------------------------------------------------------- 1 | [ 2 | "blank", 3 | "authorize", 4 | "token", 5 | "invalidate_token" 6 | ] 7 | -------------------------------------------------------------------------------- /modules/OAuth2/meta/uninstall_db/oauth2/MySQLi.sql: -------------------------------------------------------------------------------- 1 | DROP TABLE `[prefix]oauth2_clients`, `[prefix]oauth2_clients_grant_access`, `[prefix]oauth2_clients_sessions`; 2 | -------------------------------------------------------------------------------- /modules/Photo_gallery/admin/galleries.php: -------------------------------------------------------------------------------- 1 | 6 | * @license 0BSD 7 | */ 8 | include __DIR__.'/galleries/save.php'; 9 | -------------------------------------------------------------------------------- /modules/Photo_gallery/admin/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "galleries" : [ 3 | "browse", 4 | "add", 5 | "edit", 6 | "delete" 7 | ] 8 | } 9 | -------------------------------------------------------------------------------- /modules/Photo_gallery/api/index.json: -------------------------------------------------------------------------------- 1 | [ 2 | "images" 3 | ] 4 | -------------------------------------------------------------------------------- /modules/Photo_gallery/assets/css/admin.css: -------------------------------------------------------------------------------- 1 | body form{text-align:center} 2 | -------------------------------------------------------------------------------- /modules/Photo_gallery/assets/css/admin.scss: -------------------------------------------------------------------------------- 1 | /** 2 | * @package Photo gallery 3 | * @category modules 4 | * @author Nazar Mokrynskyi 5 | * @license 0BSD 6 | */ 7 | body form { 8 | text-align : center; 9 | } 10 | -------------------------------------------------------------------------------- /modules/Photo_gallery/assets/img/empty.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nazar-pc/CleverStyle-Framework/3a4cd2fb6aa9e486511498061f60b53ba9267311/modules/Photo_gallery/assets/img/empty.gif -------------------------------------------------------------------------------- /modules/Photo_gallery/index.json: -------------------------------------------------------------------------------- 1 | [ 2 | "galleries", 3 | "gallery", 4 | "edit_images" 5 | ] 6 | -------------------------------------------------------------------------------- /modules/Photo_gallery/meta/uninstall_db/galleries/MySQLi.sql: -------------------------------------------------------------------------------- 1 | DROP TABLE `[prefix]photo_gallery_galleries`, `[prefix]photo_gallery_images`; 2 | -------------------------------------------------------------------------------- /modules/Polls/admin/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "polls" : [ 3 | "list", 4 | "edit", 5 | "delete" 6 | ] 7 | } 8 | -------------------------------------------------------------------------------- /modules/Polls/admin/polls.php: -------------------------------------------------------------------------------- 1 | 6 | * @license 0BSD 7 | */ 8 | include __DIR__.'/polls/save.php'; 9 | -------------------------------------------------------------------------------- /modules/Polls/assets/css/admin.css: -------------------------------------------------------------------------------- 1 | body form{text-align:center} 2 | -------------------------------------------------------------------------------- /modules/Polls/assets/css/admin.scss: -------------------------------------------------------------------------------- 1 | /** 2 | * @package Polls 3 | * @category modules 4 | * @author Nazar Mokrynskyi 5 | * @license 0BSD 6 | */ 7 | body form { 8 | text-align : center; 9 | } 10 | -------------------------------------------------------------------------------- /modules/Polls/meta/uninstall_db/polls/MySQLi.sql: -------------------------------------------------------------------------------- 1 | DROP TABLE `[prefix]polls`, `[prefix]polls_options`, `[prefix]polls_options_answers`; 2 | -------------------------------------------------------------------------------- /modules/Prism/assets/.htaccess: -------------------------------------------------------------------------------- 1 | 2 | RewriteEngine Off 3 | 4 | -------------------------------------------------------------------------------- /modules/Prism/assets/html/cs-prism-styles/index.pug: -------------------------------------------------------------------------------- 1 | dom-module#cs-prism-styles 2 | template 3 | style 4 | include prism.css 5 | custom-style: style(include="cs-prism-styles") 6 | -------------------------------------------------------------------------------- /modules/Prism/assets/js/components/!include: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nazar-pc/CleverStyle-Framework/3a4cd2fb6aa9e486511498061f60b53ba9267311/modules/Prism/assets/js/components/!include -------------------------------------------------------------------------------- /modules/Prism/assets/js/components/prism-brainfuck.min.js: -------------------------------------------------------------------------------- 1 | Prism.languages.brainfuck={pointer:{pattern:/<|>/,alias:"keyword"},increment:{pattern:/\+/,alias:"inserted"},decrement:{pattern:/-/,alias:"deleted"},branching:{pattern:/\[|\]/,alias:"important"},operator:/[.,]/,comment:/\S+/}; -------------------------------------------------------------------------------- /modules/Prism/assets/js/components/prism-css-extras.min.js: -------------------------------------------------------------------------------- 1 | Prism.languages.css.selector={pattern:/[^{}\s][^{}]*(?=\s*\{)/,inside:{"pseudo-element":/:(?:after|before|first-letter|first-line|selection)|::[-\w]+/,"pseudo-class":/:[-\w]+(?:\(.*\))?/,"class":/\.[-:.\w]+/,id:/#[-:.\w]+/,attribute:/\[[^\]]+\]/}},Prism.languages.insertBefore("css","function",{hexcode:/#[\da-f]{3,8}/i,entity:/\\[\da-f]{1,8}/i,number:/[\d%.]+/}); -------------------------------------------------------------------------------- /modules/Prism/assets/js/components/prism-diff.min.js: -------------------------------------------------------------------------------- 1 | Prism.languages.diff={coord:[/^(?:\*{3}|-{3}|\+{3}).*$/m,/^@@.*@@$/m,/^\d+.*$/m],deleted:/^[-<].*$/m,inserted:/^[+>].*$/m,diff:{pattern:/^!(?!!).+$/m,alias:"important"}}; -------------------------------------------------------------------------------- /modules/Prism/assets/js/components/prism-docker.min.js: -------------------------------------------------------------------------------- 1 | Prism.languages.docker={keyword:{pattern:/(^\s*)(?:ADD|ARG|CMD|COPY|ENTRYPOINT|ENV|EXPOSE|FROM|HEALTHCHECK|LABEL|MAINTAINER|ONBUILD|RUN|SHELL|STOPSIGNAL|USER|VOLUME|WORKDIR)(?=\s)/im,lookbehind:!0},string:/("|')(?:(?!\1)[^\\\r\n]|\\(?:\r\n|[\s\S]))*\1/,comment:/#.*/,punctuation:/---|\.\.\.|[:[\]{}\-,|>?]/},Prism.languages.dockerfile=Prism.languages.docker; -------------------------------------------------------------------------------- /modules/Prism/assets/js/components/prism-git.min.js: -------------------------------------------------------------------------------- 1 | Prism.languages.git={comment:/^#.*/m,deleted:/^[-–].*/m,inserted:/^\+.*/m,string:/("|')(?:\\.|(?!\1)[^\\\r\n])*\1/m,command:{pattern:/^.*\$ git .*$/m,inside:{parameter:/\s--?\w+/m}},coord:/^@@.*@@$/m,commit_sha1:/^commit \w{40}$/m}; -------------------------------------------------------------------------------- /modules/Prism/assets/js/components/prism-graphql.min.js: -------------------------------------------------------------------------------- 1 | Prism.languages.graphql={comment:/#.*/,string:{pattern:/"(?:\\.|[^\\"\r\n])*"/,greedy:!0},number:/(?:\B-|\b)\d+(?:\.\d+)?(?:[eE][+-]?\d+)?\b/,"boolean":/\b(?:true|false)\b/,variable:/\$[a-z_]\w*/i,directive:{pattern:/@[a-z_]\w*/i,alias:"function"},"attr-name":/[a-z_]\w*(?=\s*:)/i,keyword:[{pattern:/(fragment\s+(?!on)[a-z_]\w*\s+|\.{3}\s*)on\b/,lookbehind:!0},/\b(?:query|fragment|mutation)\b/],operator:/!|=|\.{3}/,punctuation:/[!(){}\[\]:=,]/}; -------------------------------------------------------------------------------- /modules/Prism/assets/js/components/prism-ini.min.js: -------------------------------------------------------------------------------- 1 | Prism.languages.ini={comment:/^[ \t]*;.*$/m,selector:/^[ \t]*\[.*?\]/m,constant:/^[ \t]*[^\s=]+?(?=[ \t]*=)/m,"attr-value":{pattern:/=.*/,inside:{punctuation:/^[=]/}}}; -------------------------------------------------------------------------------- /modules/Prism/assets/js/components/prism-json.min.js: -------------------------------------------------------------------------------- 1 | Prism.languages.json={property:/"(?:\\.|[^\\"\r\n])*"(?=\s*:)/i,string:{pattern:/"(?:\\.|[^\\"\r\n])*"(?!\s*:)/,greedy:!0},number:/\b-?(?:0x[\dA-Fa-f]+|\d*\.?\d+(?:[Ee][+-]?\d+)?)\b/,punctuation:/[{}[\]);,]/,operator:/:/g,"boolean":/\b(?:true|false)\b/i,"null":/\bnull\b/i},Prism.languages.jsonp=Prism.languages.json; -------------------------------------------------------------------------------- /modules/Prism/assets/js/components/prism-matlab.min.js: -------------------------------------------------------------------------------- 1 | Prism.languages.matlab={comment:[/%\{[\s\S]*?\}%/,/%.+/],string:{pattern:/\B'(?:''|[^'\r\n])*'/,greedy:!0},number:/\b-?(?:\d*\.?\d+(?:[eE][+-]?\d+)?(?:[ij])?|[ij])\b/,keyword:/\b(?:break|case|catch|continue|else|elseif|end|for|function|if|inf|NaN|otherwise|parfor|pause|pi|return|switch|try|while)\b/,"function":/(?!\d)\w+(?=\s*\()/,operator:/\.?[*^\/\\']|[+\-:@]|[<>=~]=?|&&?|\|\|?/,punctuation:/\.{3}|[.,;\[\](){}!]/}; -------------------------------------------------------------------------------- /modules/Prism/assets/js/components/prism-php-extras.min.js: -------------------------------------------------------------------------------- 1 | Prism.languages.insertBefore("php","variable",{"this":/\$this\b/,global:/\$(?:_(?:SERVER|GET|POST|FILES|REQUEST|SESSION|ENV|COOKIE)|GLOBALS|HTTP_RAW_POST_DATA|argc|argv|php_errormsg|http_response_header)\b/,scope:{pattern:/\b[\w\\]+::/,inside:{keyword:/static|self|parent/,punctuation:/::|\\/}}}); -------------------------------------------------------------------------------- /modules/Prism/assets/js/components/prism-prolog.min.js: -------------------------------------------------------------------------------- 1 | Prism.languages.prolog={comment:[/%.+/,/\/\*[\s\S]*?\*\//],string:{pattern:/(["'])(?:\1\1|\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},builtin:/\b(?:fx|fy|xf[xy]?|yfx?)\b/,variable:/\b[A-Z_]\w*/,"function":/\b[a-z]\w*(?:(?=\()|\/\d+)/,number:/\b\d+\.?\d*/,operator:/[:\\=><\-?*@\/;+^|!$.]+|\b(?:is|mod|not|xor)\b/,punctuation:/[(){}\[\],]/}; -------------------------------------------------------------------------------- /modules/Prism/assets/js/components/prism-properties.min.js: -------------------------------------------------------------------------------- 1 | Prism.languages.properties={comment:/^[ \t]*[#!].*$/m,"attr-value":{pattern:/(^[ \t]*(?:\\(?:\r\n|[\s\S])|[^\\\s:=])+?(?: *[=:] *| ))(?:\\(?:\r\n|[\s\S])|[^\\\r\n])+/m,lookbehind:!0},"attr-name":/^[ \t]*(?:\\(?:\r\n|[\s\S])|[^\\\s:=])+?(?= *[=:] *| )/m,punctuation:/[=:]/}; -------------------------------------------------------------------------------- /modules/Prism/assets/js/components/prism-protobuf.min.js: -------------------------------------------------------------------------------- 1 | Prism.languages.protobuf=Prism.languages.extend("clike",{keyword:/\b(?:package|import|message|enum)\b/,builtin:/\b(?:required|repeated|optional|reserved)\b/,primitive:{pattern:/\b(?:double|float|int32|int64|uint32|uint64|sint32|sint64|fixed32|fixed64|sfixed32|sfixed64|bool|string|bytes)\b/,alias:"symbol"}}); -------------------------------------------------------------------------------- /modules/Prism/assets/js/components/prism-roboconf.min.js: -------------------------------------------------------------------------------- 1 | Prism.languages.roboconf={comment:/#.*/,keyword:{pattern:/(^|\s)(?:(?:facet|instance of)(?=[ \t]+[\w-]+[ \t]*\{)|(?:external|import)\b)/,lookbehind:!0},component:{pattern:/[\w-]+(?=[ \t]*\{)/,alias:"variable"},property:/[\w.-]+(?=[ \t]*:)/,value:{pattern:/(=[ \t]*)[^,;]+/,lookbehind:!0,alias:"attr-value"},optional:{pattern:/\(optional\)/,alias:"builtin"},wildcard:{pattern:/(\.)\*/,lookbehind:!0,alias:"operator"},punctuation:/[{},.;:=]/}; -------------------------------------------------------------------------------- /modules/Prism/readme.html: -------------------------------------------------------------------------------- 1 |

Prism integration provides 2 things:

2 |
    3 |
  • Syntax highlighting for elements within global document tree
  • 4 |
  • Syntax highlighting withing arbitrary Shadow DOM trees by subscribing to the System/content_enhancement event
  • 5 |
6 | -------------------------------------------------------------------------------- /modules/Prism/readme.md: -------------------------------------------------------------------------------- 1 | Prism during next update will need some tweaks: 2 | * `prism.css` needs to be renamed to `_prism.scss` in order to be patched for Web Components support 3 | -------------------------------------------------------------------------------- /modules/Service_worker_cache/assets/js/!include: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nazar-pc/CleverStyle-Framework/3a4cd2fb6aa9e486511498061f60b53ba9267311/modules/Service_worker_cache/assets/js/!include -------------------------------------------------------------------------------- /modules/Service_worker_cache/assets/js/.htaccess: -------------------------------------------------------------------------------- 1 | 2 | ExpiresActive On 3 | ExpiresDefault "access plus 1 month" 4 | 5 | 6 | Header set Cache-Control "max-age=2592000, immutable" 7 | Header set Service-Worker-Allowed / 8 | 9 | -------------------------------------------------------------------------------- /modules/Service_worker_cache/assets/js/register.js: -------------------------------------------------------------------------------- 1 | // Generated by LiveScript 1.5.0 2 | /** 3 | * @package Service worker cache 4 | * @category modules 5 | * @author Nazar Mokrynskyi 6 | * @license 0BSD 7 | */ 8 | (function(){ 9 | if (navigator.serviceWorker) { 10 | navigator.serviceWorker.register('/modules/Service_worker_cache/assets/js/service-worker.js?' + cs.service_worker_cache.version, { 11 | scope: '/' 12 | }); 13 | } 14 | }).call(this); 15 | -------------------------------------------------------------------------------- /modules/Service_worker_cache/assets/js/register.ls: -------------------------------------------------------------------------------- 1 | /** 2 | * @package Service worker cache 3 | * @category modules 4 | * @author Nazar Mokrynskyi 5 | * @license 0BSD 6 | */ 7 | if navigator.serviceWorker 8 | navigator.serviceWorker.register( 9 | '/modules/Service_worker_cache/assets/js/service-worker.js?' + cs.service_worker_cache.version 10 | scope : '/' 11 | ) 12 | -------------------------------------------------------------------------------- /modules/Service_worker_cache/readme.html: -------------------------------------------------------------------------------- 1 |

Service Worker cache - uses Service Worker to cache requests to static assets like CSS/JS/HTML/fonts/images to improve subsequent page loads, especially on bad internet connection

2 |

Only one caveat here, make sure Nginx should be configured properly (Nginx config sample).

3 | -------------------------------------------------------------------------------- /modules/Shop/admin/index.json: -------------------------------------------------------------------------------- 1 | [ 2 | "orders", 3 | "general", 4 | "categories", 5 | "items", 6 | "attributes", 7 | "order_statuses", 8 | "shipping_types" 9 | ] 10 | -------------------------------------------------------------------------------- /modules/Shop/api/admin/attributes.delete.php: -------------------------------------------------------------------------------- 1 | 6 | * @license 0BSD 7 | */ 8 | namespace cs\modules\Shop; 9 | use 10 | cs\ExitException, 11 | cs\Request; 12 | 13 | $Request = Request::instance(); 14 | if (!isset($Request->route_ids[0])) { 15 | throw new ExitException(400); 16 | } 17 | if (!Attributes::instance()->del($Request->route_ids[0])) { 18 | throw new ExitException(500); 19 | } 20 | -------------------------------------------------------------------------------- /modules/Shop/api/admin/categories.delete.php: -------------------------------------------------------------------------------- 1 | 6 | * @license 0BSD 7 | */ 8 | namespace cs\modules\Shop; 9 | use 10 | cs\ExitException, 11 | cs\Request; 12 | 13 | $Request = Request::instance(); 14 | if (!isset($Request->route_ids[0])) { 15 | throw new ExitException(400); 16 | } 17 | if (!Categories::instance()->del($Request->route_ids[0])) { 18 | throw new ExitException(500); 19 | } 20 | -------------------------------------------------------------------------------- /modules/Shop/api/admin/items.delete.php: -------------------------------------------------------------------------------- 1 | 6 | * @license 0BSD 7 | */ 8 | namespace cs\modules\Shop; 9 | use 10 | cs\ExitException, 11 | cs\Request; 12 | 13 | $Request = Request::instance(); 14 | if (!isset($Request->route_ids[0])) { 15 | throw new ExitException(400); 16 | } 17 | if (!Items::instance()->del($Request->route_ids[0])) { 18 | throw new ExitException(500); 19 | } 20 | -------------------------------------------------------------------------------- /modules/Shop/api/admin/order_statuses.delete.php: -------------------------------------------------------------------------------- 1 | 6 | * @license 0BSD 7 | */ 8 | namespace cs\modules\Shop; 9 | use 10 | cs\ExitException, 11 | cs\Request; 12 | 13 | $Request = Request::instance(); 14 | if (!isset($Request->route_ids[0])) { 15 | throw new ExitException(400); 16 | } 17 | if (!Order_statuses::instance()->del($Request->route_ids[0])) { 18 | throw new ExitException(500); 19 | } 20 | -------------------------------------------------------------------------------- /modules/Shop/api/admin/orders.delete.php: -------------------------------------------------------------------------------- 1 | 6 | * @license 0BSD 7 | */ 8 | namespace cs\modules\Shop; 9 | use 10 | cs\ExitException, 11 | cs\Request; 12 | 13 | $Request = Request::instance(); 14 | if (!isset($Request->route_ids[0])) { 15 | throw new ExitException(400); 16 | } 17 | if (!Orders::instance()->del($Request->route_ids[0])) { 18 | throw new ExitException(500); 19 | } 20 | -------------------------------------------------------------------------------- /modules/Shop/api/admin/shipping_types.delete.php: -------------------------------------------------------------------------------- 1 | 6 | * @license 0BSD 7 | */ 8 | namespace cs\modules\Shop; 9 | use 10 | cs\ExitException, 11 | cs\Request; 12 | 13 | $Request = Request::instance(); 14 | if (!isset($Request->route_ids[0])) { 15 | throw new ExitException(400); 16 | } 17 | if (!Shipping_types::instance()->del($Request->route_ids[0])) { 18 | throw new ExitException(500); 19 | } 20 | -------------------------------------------------------------------------------- /modules/Shop/api/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "admin" : [ 3 | "attributes", 4 | "categories", 5 | "items", 6 | "order_statuses", 7 | "orders", 8 | "shipping_types" 9 | ], 10 | "cart" : [], 11 | "settings" : [], 12 | "attributes" : [], 13 | "categories" : [], 14 | "items" : [], 15 | "orders" : [], 16 | "payment_methods" : [] 17 | } 18 | -------------------------------------------------------------------------------- /modules/Shop/api/payment_methods.get.php: -------------------------------------------------------------------------------- 1 | 6 | * @license 0BSD 7 | */ 8 | namespace cs\modules\Shop; 9 | use 10 | cs\Page; 11 | 12 | Page::instance()->json( 13 | Orders::instance()->get_payment_methods() 14 | ); 15 | -------------------------------------------------------------------------------- /modules/Shop/api/settings.get.php: -------------------------------------------------------------------------------- 1 | 6 | * @license 0BSD 7 | */ 8 | namespace cs; 9 | Page::instance()->json( 10 | Config::instance()->components['modules']['Shop']['data'] 11 | ); 12 | -------------------------------------------------------------------------------- /modules/Shop/assets/.htaccess: -------------------------------------------------------------------------------- 1 | 2 | RewriteEngine Off 3 | 4 | -------------------------------------------------------------------------------- /modules/Shop/assets/css/admin.css: -------------------------------------------------------------------------------- 1 | body form{text-align:center} 2 | -------------------------------------------------------------------------------- /modules/Shop/assets/css/admin.scss: -------------------------------------------------------------------------------- 1 | /** 2 | * @package Shop 3 | * @category modules 4 | * @author Nazar Mokrynskyi 5 | * @license 0BSD 6 | */ 7 | body form { 8 | text-align : center; 9 | } 10 | -------------------------------------------------------------------------------- /modules/Shop/assets/html/cs-shop-add-to-cart/index.pug: -------------------------------------------------------------------------------- 1 | dom-module#cs-shop-add-to-cart 2 | link(rel="import" href="style.css" type="css") 3 | template 4 | cs-group(hidden="[[!in_cart]]") 5 | cs-button(primary): button(on-tap="add" type="button") [[L.add_to_cart]] 6 | cs-link-button(tooltip="[[L.already_in_cart]]"): a#in_cart(href="/Shop/cart") [[in_cart]] 7 | cs-button(hidden="[[and(in_cart)]]" primary): button(on-tap="add" type="button" ) [[L.add_to_cart]] 8 | script(src="script.js") 9 | -------------------------------------------------------------------------------- /modules/Shop/assets/html/cs-shop-add-to-cart/style.css: -------------------------------------------------------------------------------- 1 | :host{display:inline-block} 2 | -------------------------------------------------------------------------------- /modules/Shop/assets/html/cs-shop-add-to-cart/style.scss: -------------------------------------------------------------------------------- 1 | /** 2 | * @package Shop 3 | * @category modules 4 | * @author Nazar Mokrynskyi 5 | * @license 0BSD 6 | */ 7 | :host { 8 | display : inline-block; 9 | } 10 | -------------------------------------------------------------------------------- /modules/Shop/assets/html/cs-shop-cart/cs-shop-cart-item/style.scss: -------------------------------------------------------------------------------- 1 | /** 2 | * @package Shop 3 | * @category modules 4 | * @author Nazar Mokrynskyi 5 | * @license 0BSD 6 | */ 7 | @import '../../../../../../assets/css/flexy-plexy'; 8 | 9 | #content { 10 | @include flexy-plexy(.5em, 1 9) 11 | } 12 | 13 | #img { 14 | background : #fff; 15 | border : 1px solid #e5e5e5; 16 | box-sizing : border-box; 17 | padding : .3em; 18 | } 19 | -------------------------------------------------------------------------------- /modules/Shop/assets/html/cs-shop-categories/cs-shop-category-nested/index.html: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /modules/Shop/assets/html/cs-shop-categories/cs-shop-category-nested/index.pug: -------------------------------------------------------------------------------- 1 | dom-module#cs-shop-category-nested 2 | link(rel="import" href="style.css" type="css") 3 | template 4 | style(include="advanced-styles") 5 | a.cs-margin-top.cs-text-center(href="[[href]]") 6 | img#img 7 | .cs-padding-top [[category_title]] 8 | script(src="script.js") 9 | -------------------------------------------------------------------------------- /modules/Shop/assets/html/cs-shop-categories/cs-shop-category-nested/style.css: -------------------------------------------------------------------------------- 1 | #img{background:#fff;border:1px solid #e5e5e5;box-sizing:border-box;display:block;padding:.3em} 2 | -------------------------------------------------------------------------------- /modules/Shop/assets/html/cs-shop-categories/cs-shop-category-nested/style.scss: -------------------------------------------------------------------------------- 1 | /** 2 | * @package Shop 3 | * @category modules 4 | * @author Nazar Mokrynskyi 5 | * @license 0BSD 6 | */ 7 | 8 | #img { 9 | background : #fff; 10 | border : 1px solid #e5e5e5; 11 | box-sizing : border-box; 12 | display : block; 13 | padding : .3em; 14 | } 15 | -------------------------------------------------------------------------------- /modules/Shop/assets/html/cs-shop-categories/cs-shop-category/index.html: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /modules/Shop/assets/html/cs-shop-categories/cs-shop-category/index.pug: -------------------------------------------------------------------------------- 1 | dom-module#cs-shop-category 2 | link(rel="import" href="style.css" type="css") 3 | template 4 | style(include="basic-styles") 5 | #content.cs-margin-top 6 | div 7 | a(href="[[href]]") 8 | img#img 9 | div 10 | h1 11 | content(select="h1") 12 | #description 13 | #nested 14 | script(src="script.js") 15 | -------------------------------------------------------------------------------- /modules/Shop/assets/html/cs-shop-empty-cart/index.html: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /modules/Shop/assets/html/cs-shop-empty-cart/index.pug: -------------------------------------------------------------------------------- 1 | dom-module#cs-shop-empty-cart 2 | template 3 | p.cs-text-lead.cs-text-center 4 | slot 5 | script(src="script.js") 6 | -------------------------------------------------------------------------------- /modules/Shop/assets/html/cs-shop-empty-cart/script.js: -------------------------------------------------------------------------------- 1 | // Generated by LiveScript 1.5.0 2 | /** 3 | * @package Shop 4 | * @category modules 5 | * @author Nazar Mokrynskyi 6 | * @license 0BSD 7 | */ 8 | (function(){ 9 | Polymer({ 10 | is: 'cs-shop-empty-cart' 11 | }); 12 | }).call(this); 13 | -------------------------------------------------------------------------------- /modules/Shop/assets/html/cs-shop-empty-cart/script.ls: -------------------------------------------------------------------------------- 1 | /** 2 | * @package Shop 3 | * @category modules 4 | * @author Nazar Mokrynskyi 5 | * @license 0BSD 6 | */ 7 | Polymer( 8 | is : 'cs-shop-empty-cart' 9 | ) 10 | -------------------------------------------------------------------------------- /modules/Shop/assets/html/cs-shop-item/style.scss: -------------------------------------------------------------------------------- 1 | /** 2 | * @package Shop 3 | * @category modules 4 | * @author Nazar Mokrynskyi 5 | * @license 0BSD 6 | */ 7 | @import '../../../../../assets/css/flexy-plexy'; 8 | 9 | #content { 10 | @include flexy-plexy(1em, 1 1); 11 | 12 | > :nth-of-type(2) { 13 | border-left : 1px solid #ddd; 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /modules/Shop/assets/html/cs-shop-orders/cs-shop-order/cs-shop-order-item/index.pug: -------------------------------------------------------------------------------- 1 | dom-module#cs-shop-order-item 2 | link(rel="import" href="style.css" type="css") 3 | template 4 | style(include="advanced-styles") 5 | #content.cs-margin-top 6 | div 7 | a#img-link 8 | img#img 9 | div 10 | .cs-text-lead 11 | a#link [[item_title]] 12 | | : [[units]] x [[unit_price_formatted]] = [[price_formatted]] 13 | span#discount 14 | div 15 | #description 16 | script(src="script.js") 17 | -------------------------------------------------------------------------------- /modules/Shop/assets/html/cs-shop-orders/cs-shop-order/cs-shop-order-item/style.scss: -------------------------------------------------------------------------------- 1 | /** 2 | * @package Shop 3 | * @category modules 4 | * @author Nazar Mokrynskyi 5 | * @license 0BSD 6 | */ 7 | @import '../../../../../../../assets/css/flexy-plexy'; 8 | 9 | #content { 10 | @include flexy-plexy(.5em, 1 9); 11 | } 12 | 13 | #img { 14 | background : #fff; 15 | border : 1px solid #e5e5e5; 16 | box-sizing : border-box; 17 | padding : .3em; 18 | } 19 | -------------------------------------------------------------------------------- /modules/Shop/assets/html/cs-shop-orders/index.html: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /modules/Shop/assets/html/cs-shop-orders/index.pug: -------------------------------------------------------------------------------- 1 | dom-module#cs-shop-orders 2 | template 3 | style(include="advanced-styles") 4 | h1.cs-text-center [[L.your_orders]] 5 | #orders 6 | script(src="script.js") 7 | -------------------------------------------------------------------------------- /modules/Shop/assets/html/cs-shop-orders/script.js: -------------------------------------------------------------------------------- 1 | // Generated by LiveScript 1.5.0 2 | /** 3 | * @package Shop 4 | * @category modules 5 | * @author Nazar Mokrynskyi 6 | * @license 0BSD 7 | */ 8 | (function(){ 9 | Polymer({ 10 | is: 'cs-shop-orders', 11 | behaviors: [cs.Polymer.behaviors.Language('shop_')], 12 | ready: function(){ 13 | this.$.orders.innerHTML = this.querySelector('#orders').innerHTML; 14 | } 15 | }); 16 | }).call(this); 17 | -------------------------------------------------------------------------------- /modules/Shop/assets/html/cs-shop-orders/script.ls: -------------------------------------------------------------------------------- 1 | /** 2 | * @package Shop 3 | * @category modules 4 | * @author Nazar Mokrynskyi 5 | * @license 0BSD 6 | */ 7 | Polymer( 8 | is : 'cs-shop-orders' 9 | behaviors : [ 10 | cs.Polymer.behaviors.Language('shop_') 11 | ] 12 | ready : !-> 13 | @$.orders.innerHTML = @querySelector('#orders').innerHTML 14 | ) 15 | -------------------------------------------------------------------------------- /modules/Shop/index.json: -------------------------------------------------------------------------------- 1 | [ 2 | "categories_", 3 | "items_", 4 | "orders_", 5 | "cart", 6 | "pay" 7 | ] 8 | -------------------------------------------------------------------------------- /modules/Shop/index.php: -------------------------------------------------------------------------------- 1 | 6 | * @license 0BSD 7 | */ 8 | namespace cs\modules\Shop; 9 | use 10 | cs\Config, 11 | cs\Page; 12 | Page::instance()->config( 13 | Config::instance()->components['modules']['Shop']['data'], 14 | 'cs.shop.settings' 15 | ); 16 | -------------------------------------------------------------------------------- /modules/Shop/meta/uninstall_db/shop/MySQLi.sql: -------------------------------------------------------------------------------- 1 | DROP TABLE 2 | `[prefix]shop_attributes`, 3 | `[prefix]shop_categories`, 4 | `[prefix]shop_category_attributes`, 5 | `[prefix]shop_items`, 6 | `[prefix]shop_items_attributes`, 7 | `[prefix]shop_items_images`, 8 | `[prefix]shop_items_tags`, 9 | `[prefix]shop_items_videos`, 10 | `[prefix]shop_orders`, 11 | `[prefix]shop_orders_history`, 12 | `[prefix]shop_orders_items`, 13 | `[prefix]shop_order_statuses`, 14 | `[prefix]shop_shipping_types`, 15 | `[prefix]shop_tags`; 16 | -------------------------------------------------------------------------------- /modules/Static_pages/admin/index.json: -------------------------------------------------------------------------------- 1 | [ 2 | "browse_categories", 3 | "browse_pages" 4 | ] 5 | -------------------------------------------------------------------------------- /modules/Static_pages/api/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "admin" : { 3 | "categories" : [ 4 | "_", 5 | "pages" 6 | ], 7 | "pages" : [] 8 | } 9 | } 10 | -------------------------------------------------------------------------------- /modules/Static_pages/assets/html/.htaccess: -------------------------------------------------------------------------------- 1 | 2 | RewriteEngine Off 3 | 4 | -------------------------------------------------------------------------------- /modules/Static_pages/assets/html/cs-static-pages-admin-categories-add-edit-form/style.css: -------------------------------------------------------------------------------- 1 | td{vertical-align:top} 2 | -------------------------------------------------------------------------------- /modules/Static_pages/assets/html/cs-static-pages-admin-categories-add-edit-form/style.scss: -------------------------------------------------------------------------------- 1 | /** 2 | * @package Static pages 3 | * @category modules 4 | * @author Nazar Mokrynskyi 5 | * @license 0BSD 6 | */ 7 | td { 8 | vertical-align : top; 9 | } 10 | -------------------------------------------------------------------------------- /modules/Static_pages/assets/html/cs-static-pages-admin-categories-list/style.css: -------------------------------------------------------------------------------- 1 | td:nth-child(2n+1){@apply --layout;@apply --layout-justified}td:nth-child(2n+1) span{font-weight:bold} 2 | -------------------------------------------------------------------------------- /modules/Static_pages/assets/html/cs-static-pages-admin-categories-list/style.scss: -------------------------------------------------------------------------------- 1 | /** 2 | * @package Static pages 3 | * @category modules 4 | * @author Nazar Mokrynskyi 5 | * @license 0BSD 6 | */ 7 | td:nth-child(2n+1) { 8 | @apply --layout; 9 | @apply --layout-justified; 10 | 11 | span { 12 | font-weight : bold; 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /modules/Static_pages/assets/html/cs-static-pages-admin-pages-add-edit-form/style.css: -------------------------------------------------------------------------------- 1 | td{vertical-align:top} 2 | -------------------------------------------------------------------------------- /modules/Static_pages/assets/html/cs-static-pages-admin-pages-add-edit-form/style.scss: -------------------------------------------------------------------------------- 1 | /** 2 | * @package Static pages 3 | * @category modules 4 | * @author Nazar Mokrynskyi 5 | * @license 0BSD 6 | */ 7 | td { 8 | vertical-align : top; 9 | } 10 | -------------------------------------------------------------------------------- /modules/Static_pages/assets/html/cs-static-pages-page/style.css: -------------------------------------------------------------------------------- 1 | cs-editor-inline{display:block}#title,cs-editor-inline{outline:#333 dotted 1px} 2 | -------------------------------------------------------------------------------- /modules/Static_pages/assets/html/cs-static-pages-page/style.scss: -------------------------------------------------------------------------------- 1 | /** 2 | * @package Static pages 3 | * @category modules 4 | * @author Nazar Mokrynskyi 5 | * @license 0BSD 6 | */ 7 | cs-editor-inline { 8 | display : block; 9 | } 10 | 11 | #title, 12 | cs-editor-inline { 13 | outline : #333 dotted 1px 14 | } 15 | -------------------------------------------------------------------------------- /modules/Static_pages/meta/uninstall_db/pages/MySQLi.sql: -------------------------------------------------------------------------------- 1 | DROP TABLE `[prefix]static_pages`, `[prefix]static_pages_categories`; 2 | -------------------------------------------------------------------------------- /modules/System/admin/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "components" : [ 3 | "modules", 4 | "blocks", 5 | "databases", 6 | "storages" 7 | ], 8 | "general" : [ 9 | "site_info", 10 | "system", 11 | "optimization", 12 | "appearance", 13 | "languages", 14 | "about_server" 15 | ], 16 | "users" : [ 17 | "general", 18 | "users", 19 | "groups", 20 | "permissions", 21 | "security", 22 | "mail" 23 | ] 24 | } 25 | -------------------------------------------------------------------------------- /modules/System/admin/index_simple.json: -------------------------------------------------------------------------------- 1 | { 2 | "components" : [ 3 | "modules", 4 | "blocks" 5 | ], 6 | "general" : [ 7 | "site_info", 8 | "system", 9 | "optimization", 10 | "appearance", 11 | "languages", 12 | "about_server" 13 | ], 14 | "users" : [ 15 | "general", 16 | "users", 17 | "groups", 18 | "permissions", 19 | "security", 20 | "mail" 21 | ] 22 | } 23 | -------------------------------------------------------------------------------- /modules/System/assets/html/.htaccess: -------------------------------------------------------------------------------- 1 | 2 | RewriteEngine Off 3 | 4 | -------------------------------------------------------------------------------- /modules/System/assets/html/cs-system-admin-blocks-form/style.css: -------------------------------------------------------------------------------- 1 | :host{display:block;margin-bottom:1em} 2 | -------------------------------------------------------------------------------- /modules/System/assets/html/cs-system-admin-blocks-form/style.scss: -------------------------------------------------------------------------------- 1 | /** 2 | * @package CleverStyle Framework 3 | * @subpackage System module 4 | * @category modules 5 | * @author Nazar Mokrynskyi 6 | * @license 0BSD 7 | */ 8 | :host { 9 | display : block; 10 | margin-bottom : 1em; 11 | } 12 | -------------------------------------------------------------------------------- /modules/System/assets/html/cs-system-admin-security/index.pug: -------------------------------------------------------------------------------- 1 | include ../_settings_mixins 2 | dom-module#cs-system-admin-security 3 | template 4 | style(include="advanced-styles") 5 | cs-form: form.cs-text-center 6 | +input("key_expire", null, "number", 1) 7 | = ' ' 8 | | [[L.system_time_seconds]] 9 | +on-off-switcher("gravatar_support") 10 | +footer-buttons 11 | script(src="script.js") 12 | -------------------------------------------------------------------------------- /modules/System/assets/html/cs-system-admin-system/index.pug: -------------------------------------------------------------------------------- 1 | include ../_settings_mixins 2 | dom-module#cs-system-admin-system 3 | template 4 | style(include="advanced-styles") 5 | cs-form: form.cs-text-center 6 | +on-off-switcher("site_mode") 7 | +input("closed_title") 8 | +editor("closed_text") 9 | +input("title_delimiter") 10 | +on-off-switcher("title_reverse") 11 | +on-off-switcher("simple_admin_mode") 12 | +footer-buttons 13 | script(src="script.js") 14 | -------------------------------------------------------------------------------- /modules/System/assets/html/cs-system-admin-system/script.ls: -------------------------------------------------------------------------------- 1 | /** 2 | * @package CleverStyle Framework 3 | * @subpackage System module 4 | * @category modules 5 | * @author Nazar Mokrynskyi 6 | * @license 0BSD 7 | */ 8 | Polymer( 9 | is : 'cs-system-admin-system' 10 | behaviors : [ 11 | cs.Polymer.behaviors.Language('system_admin_system_') 12 | cs.Polymer.behaviors.admin.System.settings 13 | ] 14 | properties : 15 | settings_api_url : 'api/System/admin/system' 16 | ) 17 | -------------------------------------------------------------------------------- /modules/System/assets/html/cs-system-admin-users-add-user-form/index.html: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /modules/System/assets/html/cs-system-admin-users-add-user-form/index.pug: -------------------------------------------------------------------------------- 1 | dom-module#cs-system-admin-users-add-user-form 2 | template 3 | cs-form: form 4 | label Email 5 | cs-input-text: input(type="email" value="{{email}}") 6 | p 7 | cs-button(primary): button(type="button" on-tap="save" disabled="[[!email]]") [[L.save]] 8 | script(src="script.js") 9 | -------------------------------------------------------------------------------- /modules/System/assets/html/cs-system-admin-users-edit-user-form/style.css: -------------------------------------------------------------------------------- 1 | img{max-height:var(--form-element-width, 30em);max-width:var(--form-element-width, 30em)} 2 | -------------------------------------------------------------------------------- /modules/System/assets/html/cs-system-admin-users-edit-user-form/style.scss: -------------------------------------------------------------------------------- 1 | /** 2 | * @package CleverStyle Framework 3 | * @subpackage System module 4 | * @category modules 5 | * @author Nazar Mokrynskyi 6 | * @license 0BSD 7 | */ 8 | 9 | img { 10 | max-height : var(--form-element-width, 30em); 11 | max-width : var(--form-element-width, 30em); 12 | } 13 | -------------------------------------------------------------------------------- /modules/System/assets/html/cs-system-admin-users-groups-form/style.scss: -------------------------------------------------------------------------------- 1 | /** 2 | * @package CleverStyle Framework 3 | * @subpackage System module 4 | * @category modules 5 | * @author Nazar Mokrynskyi 6 | * @license 0BSD 7 | */ 8 | @import '../../../../../assets/css/flexy-plexy'; 9 | 10 | :host { 11 | display : block; 12 | min-width : 40vw; 13 | } 14 | 15 | #grid { 16 | @include flexy-plexy(2em, 1 1); 17 | 18 | > div > div { 19 | margin-bottom : .5em; 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /modules/System/cli/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "_" : [], 3 | "optimization" : [] 4 | } 5 | -------------------------------------------------------------------------------- /modules/System/index.json: -------------------------------------------------------------------------------- 1 | { 2 | "blank" : [], 3 | "profile" : [ 4 | "registration_confirmation", 5 | "restore_password_confirmation" 6 | ], 7 | "robots.txt" : [] 8 | } 9 | -------------------------------------------------------------------------------- /modules/System/meta/update/6.46.php: -------------------------------------------------------------------------------- 1 | 6 | * @license 0BSD 7 | */ 8 | namespace cs; 9 | 10 | file_put_contents( 11 | DIR.'/.htaccess', 12 | str_replace( 13 | 'Header set Cache-Control "max-age=2592000, public"', 14 | 'Header set Cache-Control "max-age=2592000, immutable"', 15 | file_get_contents(DIR.'/.htaccess') 16 | ) 17 | ); 18 | -------------------------------------------------------------------------------- /modules/System/meta/update_db/users/6.7/MySQLi.sql: -------------------------------------------------------------------------------- 1 | ALTER TABLE `[prefix]users` DROP `block_until`; 2 | -------------------------------------------------------------------------------- /modules/System/meta/update_db/users/6.7/PostgreSQL.sql: -------------------------------------------------------------------------------- 1 | ALTER TABLE "[prefix]users" DROP "block_until"; 2 | -------------------------------------------------------------------------------- /modules/System/meta/update_db/users/6.8/MySQLi.sql: -------------------------------------------------------------------------------- 1 | DROP TABLE `[prefix]sign_ins`; 2 | -------------------------------------------------------------------------------- /modules/System/meta/update_db/users/6.8/PostgreSQL.sql: -------------------------------------------------------------------------------- 1 | DROP TABLE "[prefix]sign_ins"; 2 | -------------------------------------------------------------------------------- /modules/System/meta/update_db/users/6.8/SQLite.sql: -------------------------------------------------------------------------------- 1 | DROP TABLE `[prefix]sign_ins`; 2 | -------------------------------------------------------------------------------- /modules/System/readme.html: -------------------------------------------------------------------------------- 1 |

System module of CleverStyle Framework.

2 |

It contains main administration interface, main API, and base functionality for Home page of CleverStyle Framework.

3 |

It is strongly recommended not to delete the module.

4 | -------------------------------------------------------------------------------- /modules/System/robots.txt: -------------------------------------------------------------------------------- 1 | User-agent: * 2 | Disallow: /admin 3 | Disallow: /api 4 | Disallow: /assets 5 | Disallow: /modules 6 | Disallow: /storage 7 | Disallow: /themes 8 | -------------------------------------------------------------------------------- /modules/Tags/meta.json: -------------------------------------------------------------------------------- 1 | { 2 | "package" : "Tags", 3 | "category" : "modules", 4 | "version" : "2.2.0+build-9", 5 | "description" : "Contains trait that is used for Tags creation and search by other modules", 6 | "author" : "Nazar Mokrynskyi", 7 | "website" : "cleverstyle.org/Framework", 8 | "license" : "0BSD", 9 | "require" : [ 10 | "System>=7.0", 11 | "System<8.0" 12 | ] 13 | } 14 | -------------------------------------------------------------------------------- /modules/TinyMCE/assets/html/.htaccess: -------------------------------------------------------------------------------- 1 | 2 | RewriteEngine Off 3 | 4 | -------------------------------------------------------------------------------- /modules/TinyMCE/assets/html/cs-0-behaviors-&-mixins/index.pug: -------------------------------------------------------------------------------- 1 | dom-module#cs-editor-styles 2 | template 3 | style 4 | include ../../js/skins/lightgray/content.inline.min.css 5 | include ../../js/skins/lightgray/skin.min.css 6 | script(src="common.js") 7 | -------------------------------------------------------------------------------- /modules/TinyMCE/assets/html/cs-editor-inline/index.html: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /modules/TinyMCE/assets/html/cs-editor-inline/index.pug: -------------------------------------------------------------------------------- 1 | dom-module#cs-editor-inline 2 | link(rel="import" href="style.css" type="css") 3 | template 4 | cs-icon(icon="spinner" spin hidden="[[loaded]]") 5 | slot 6 | script(src="script.js") 7 | -------------------------------------------------------------------------------- /modules/TinyMCE/assets/html/cs-editor-inline/script.js: -------------------------------------------------------------------------------- 1 | // Generated by LiveScript 1.5.0 2 | /** 3 | * @package TinyMCE 4 | * @category modules 5 | * @author Nazar Mokrynskyi 6 | * @license 0BSD 7 | */ 8 | (function(){ 9 | Polymer({ 10 | is: 'cs-editor-inline', 11 | behaviors: [TinyMCE_Polymer_editor_behavior, cs.Polymer.behaviors.inject_light_styles], 12 | _styles_dom_module: 'cs-editor-styles', 13 | editor_config: 'editor_config_inline' 14 | }); 15 | }).call(this); 16 | -------------------------------------------------------------------------------- /modules/TinyMCE/assets/html/cs-editor-inline/script.ls: -------------------------------------------------------------------------------- 1 | /** 2 | * @package TinyMCE 3 | * @category modules 4 | * @author Nazar Mokrynskyi 5 | * @license 0BSD 6 | */ 7 | Polymer( 8 | is : 'cs-editor-inline' 9 | behaviors : [ 10 | TinyMCE_Polymer_editor_behavior, 11 | cs.Polymer.behaviors.inject_light_styles 12 | ] 13 | _styles_dom_module : 'cs-editor-styles' 14 | editor_config : 'editor_config_inline' 15 | ) 16 | -------------------------------------------------------------------------------- /modules/TinyMCE/assets/html/cs-editor-inline/style.css: -------------------------------------------------------------------------------- 1 | /** 2 | * @package TinyMCE 3 | * @category modules 4 | * @author Nazar Mokrynskyi 5 | * @license 0BSD 6 | */ 7 | :host:not(hidden) { 8 | display : inline-block; 9 | } 10 | -------------------------------------------------------------------------------- /modules/TinyMCE/assets/html/cs-editor-simple-inline/index.html: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /modules/TinyMCE/assets/html/cs-editor-simple-inline/index.pug: -------------------------------------------------------------------------------- 1 | dom-module#cs-editor-simple-inline 2 | link(rel="import" href="style.css" type="css") 3 | template 4 | cs-icon(icon="spinner" spin hidden="[[loaded]]") 5 | slot 6 | script(src="script.js") 7 | -------------------------------------------------------------------------------- /modules/TinyMCE/assets/html/cs-editor-simple-inline/script.ls: -------------------------------------------------------------------------------- 1 | /** 2 | * @package TinyMCE 3 | * @category modules 4 | * @author Nazar Mokrynskyi 5 | * @license 0BSD 6 | */ 7 | Polymer( 8 | is : 'cs-editor-simple-inline' 9 | behaviors : [ 10 | TinyMCE_Polymer_editor_behavior, 11 | cs.Polymer.behaviors.inject_light_styles 12 | ] 13 | _styles_dom_module : 'cs-editor-styles' 14 | editor_config : 'editor_config_simple_inline' 15 | ) 16 | -------------------------------------------------------------------------------- /modules/TinyMCE/assets/html/cs-editor-simple-inline/style.css: -------------------------------------------------------------------------------- 1 | /** 2 | * @package TinyMCE 3 | * @category modules 4 | * @author Nazar Mokrynskyi 5 | * @license 0BSD 6 | */ 7 | :host:not(hidden) { 8 | display : inline-block; 9 | } 10 | -------------------------------------------------------------------------------- /modules/TinyMCE/assets/html/cs-editor-simple/index.html: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /modules/TinyMCE/assets/html/cs-editor-simple/index.pug: -------------------------------------------------------------------------------- 1 | dom-module#cs-editor-simple 2 | link(rel="import" href="style.css" type="css") 3 | template 4 | cs-icon(icon="spinner" spin hidden="[[loaded]]") 5 | slot 6 | script(src="script.js") 7 | -------------------------------------------------------------------------------- /modules/TinyMCE/assets/html/cs-editor-simple/script.js: -------------------------------------------------------------------------------- 1 | // Generated by LiveScript 1.5.0 2 | /** 3 | * @package TinyMCE 4 | * @category modules 5 | * @author Nazar Mokrynskyi 6 | * @license 0BSD 7 | */ 8 | (function(){ 9 | Polymer({ 10 | is: 'cs-editor-simple', 11 | behaviors: [TinyMCE_Polymer_editor_behavior, cs.Polymer.behaviors.inject_light_styles], 12 | _styles_dom_module: 'cs-editor-styles', 13 | editor_config: 'editor_config_simple' 14 | }); 15 | }).call(this); 16 | -------------------------------------------------------------------------------- /modules/TinyMCE/assets/html/cs-editor-simple/script.ls: -------------------------------------------------------------------------------- 1 | /** 2 | * @package TinyMCE 3 | * @category modules 4 | * @author Nazar Mokrynskyi 5 | * @license 0BSD 6 | */ 7 | Polymer( 8 | is : 'cs-editor-simple' 9 | behaviors : [ 10 | TinyMCE_Polymer_editor_behavior, 11 | cs.Polymer.behaviors.inject_light_styles 12 | ] 13 | _styles_dom_module : 'cs-editor-styles' 14 | editor_config : 'editor_config_simple' 15 | ) 16 | -------------------------------------------------------------------------------- /modules/TinyMCE/assets/html/cs-editor-simple/style.css: -------------------------------------------------------------------------------- 1 | /** 2 | * @package TinyMCE 3 | * @category modules 4 | * @author Nazar Mokrynskyi 5 | * @license 0BSD 6 | */ 7 | :host:not(hidden) { 8 | display : inline-block; 9 | } 10 | -------------------------------------------------------------------------------- /modules/TinyMCE/assets/html/cs-editor/index.html: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /modules/TinyMCE/assets/html/cs-editor/index.pug: -------------------------------------------------------------------------------- 1 | dom-module#cs-editor 2 | link(rel="import" href="style.css" type="css") 3 | template 4 | cs-icon(icon="spinner" spin hidden="[[loaded]]") 5 | slot 6 | script(src="script.js") 7 | -------------------------------------------------------------------------------- /modules/TinyMCE/assets/html/cs-editor/script.js: -------------------------------------------------------------------------------- 1 | // Generated by LiveScript 1.5.0 2 | /** 3 | * @package TinyMCE 4 | * @category modules 5 | * @author Nazar Mokrynskyi 6 | * @license 0BSD 7 | */ 8 | (function(){ 9 | Polymer({ 10 | is: 'cs-editor', 11 | behaviors: [TinyMCE_Polymer_editor_behavior, cs.Polymer.behaviors.inject_light_styles], 12 | _styles_dom_module: 'cs-editor-styles', 13 | editor_config: 'editor_config_full' 14 | }); 15 | }).call(this); 16 | -------------------------------------------------------------------------------- /modules/TinyMCE/assets/html/cs-editor/script.ls: -------------------------------------------------------------------------------- 1 | /** 2 | * @package TinyMCE 3 | * @category modules 4 | * @author Nazar Mokrynskyi 5 | * @license 0BSD 6 | */ 7 | Polymer( 8 | is : 'cs-editor' 9 | behaviors : [ 10 | TinyMCE_Polymer_editor_behavior, 11 | cs.Polymer.behaviors.inject_light_styles 12 | ] 13 | _styles_dom_module : 'cs-editor-styles' 14 | editor_config : 'editor_config_full' 15 | ) 16 | -------------------------------------------------------------------------------- /modules/TinyMCE/assets/html/cs-editor/style.css: -------------------------------------------------------------------------------- 1 | /** 2 | * @package TinyMCE 3 | * @category modules 4 | * @author Nazar Mokrynskyi 5 | * @license 0BSD 6 | */ 7 | :host:not(hidden) { 8 | display : inline-block; 9 | } 10 | -------------------------------------------------------------------------------- /modules/TinyMCE/assets/js/!include: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nazar-pc/CleverStyle-Framework/3a4cd2fb6aa9e486511498061f60b53ba9267311/modules/TinyMCE/assets/js/!include -------------------------------------------------------------------------------- /modules/TinyMCE/assets/js/plugins/visualblocks/img/address.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nazar-pc/CleverStyle-Framework/3a4cd2fb6aa9e486511498061f60b53ba9267311/modules/TinyMCE/assets/js/plugins/visualblocks/img/address.gif -------------------------------------------------------------------------------- /modules/TinyMCE/assets/js/plugins/visualblocks/img/article.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nazar-pc/CleverStyle-Framework/3a4cd2fb6aa9e486511498061f60b53ba9267311/modules/TinyMCE/assets/js/plugins/visualblocks/img/article.gif -------------------------------------------------------------------------------- /modules/TinyMCE/assets/js/plugins/visualblocks/img/aside.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nazar-pc/CleverStyle-Framework/3a4cd2fb6aa9e486511498061f60b53ba9267311/modules/TinyMCE/assets/js/plugins/visualblocks/img/aside.gif -------------------------------------------------------------------------------- /modules/TinyMCE/assets/js/plugins/visualblocks/img/blockquote.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nazar-pc/CleverStyle-Framework/3a4cd2fb6aa9e486511498061f60b53ba9267311/modules/TinyMCE/assets/js/plugins/visualblocks/img/blockquote.gif -------------------------------------------------------------------------------- /modules/TinyMCE/assets/js/plugins/visualblocks/img/div.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nazar-pc/CleverStyle-Framework/3a4cd2fb6aa9e486511498061f60b53ba9267311/modules/TinyMCE/assets/js/plugins/visualblocks/img/div.gif -------------------------------------------------------------------------------- /modules/TinyMCE/assets/js/plugins/visualblocks/img/dl.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nazar-pc/CleverStyle-Framework/3a4cd2fb6aa9e486511498061f60b53ba9267311/modules/TinyMCE/assets/js/plugins/visualblocks/img/dl.gif -------------------------------------------------------------------------------- /modules/TinyMCE/assets/js/plugins/visualblocks/img/figure.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nazar-pc/CleverStyle-Framework/3a4cd2fb6aa9e486511498061f60b53ba9267311/modules/TinyMCE/assets/js/plugins/visualblocks/img/figure.gif -------------------------------------------------------------------------------- /modules/TinyMCE/assets/js/plugins/visualblocks/img/h1.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nazar-pc/CleverStyle-Framework/3a4cd2fb6aa9e486511498061f60b53ba9267311/modules/TinyMCE/assets/js/plugins/visualblocks/img/h1.gif -------------------------------------------------------------------------------- /modules/TinyMCE/assets/js/plugins/visualblocks/img/h2.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nazar-pc/CleverStyle-Framework/3a4cd2fb6aa9e486511498061f60b53ba9267311/modules/TinyMCE/assets/js/plugins/visualblocks/img/h2.gif -------------------------------------------------------------------------------- /modules/TinyMCE/assets/js/plugins/visualblocks/img/h3.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nazar-pc/CleverStyle-Framework/3a4cd2fb6aa9e486511498061f60b53ba9267311/modules/TinyMCE/assets/js/plugins/visualblocks/img/h3.gif -------------------------------------------------------------------------------- /modules/TinyMCE/assets/js/plugins/visualblocks/img/h4.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nazar-pc/CleverStyle-Framework/3a4cd2fb6aa9e486511498061f60b53ba9267311/modules/TinyMCE/assets/js/plugins/visualblocks/img/h4.gif -------------------------------------------------------------------------------- /modules/TinyMCE/assets/js/plugins/visualblocks/img/h5.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nazar-pc/CleverStyle-Framework/3a4cd2fb6aa9e486511498061f60b53ba9267311/modules/TinyMCE/assets/js/plugins/visualblocks/img/h5.gif -------------------------------------------------------------------------------- /modules/TinyMCE/assets/js/plugins/visualblocks/img/h6.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nazar-pc/CleverStyle-Framework/3a4cd2fb6aa9e486511498061f60b53ba9267311/modules/TinyMCE/assets/js/plugins/visualblocks/img/h6.gif -------------------------------------------------------------------------------- /modules/TinyMCE/assets/js/plugins/visualblocks/img/hgroup.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nazar-pc/CleverStyle-Framework/3a4cd2fb6aa9e486511498061f60b53ba9267311/modules/TinyMCE/assets/js/plugins/visualblocks/img/hgroup.gif -------------------------------------------------------------------------------- /modules/TinyMCE/assets/js/plugins/visualblocks/img/ol.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nazar-pc/CleverStyle-Framework/3a4cd2fb6aa9e486511498061f60b53ba9267311/modules/TinyMCE/assets/js/plugins/visualblocks/img/ol.gif -------------------------------------------------------------------------------- /modules/TinyMCE/assets/js/plugins/visualblocks/img/p.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nazar-pc/CleverStyle-Framework/3a4cd2fb6aa9e486511498061f60b53ba9267311/modules/TinyMCE/assets/js/plugins/visualblocks/img/p.gif -------------------------------------------------------------------------------- /modules/TinyMCE/assets/js/plugins/visualblocks/img/pre.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nazar-pc/CleverStyle-Framework/3a4cd2fb6aa9e486511498061f60b53ba9267311/modules/TinyMCE/assets/js/plugins/visualblocks/img/pre.gif -------------------------------------------------------------------------------- /modules/TinyMCE/assets/js/plugins/visualblocks/img/section.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nazar-pc/CleverStyle-Framework/3a4cd2fb6aa9e486511498061f60b53ba9267311/modules/TinyMCE/assets/js/plugins/visualblocks/img/section.gif -------------------------------------------------------------------------------- /modules/TinyMCE/assets/js/plugins/visualblocks/img/ul.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nazar-pc/CleverStyle-Framework/3a4cd2fb6aa9e486511498061f60b53ba9267311/modules/TinyMCE/assets/js/plugins/visualblocks/img/ul.gif -------------------------------------------------------------------------------- /modules/TinyMCE/assets/js/skins/lightgray/fonts/tinymce-small.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nazar-pc/CleverStyle-Framework/3a4cd2fb6aa9e486511498061f60b53ba9267311/modules/TinyMCE/assets/js/skins/lightgray/fonts/tinymce-small.eot -------------------------------------------------------------------------------- /modules/TinyMCE/assets/js/skins/lightgray/fonts/tinymce-small.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nazar-pc/CleverStyle-Framework/3a4cd2fb6aa9e486511498061f60b53ba9267311/modules/TinyMCE/assets/js/skins/lightgray/fonts/tinymce-small.ttf -------------------------------------------------------------------------------- /modules/TinyMCE/assets/js/skins/lightgray/fonts/tinymce-small.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nazar-pc/CleverStyle-Framework/3a4cd2fb6aa9e486511498061f60b53ba9267311/modules/TinyMCE/assets/js/skins/lightgray/fonts/tinymce-small.woff -------------------------------------------------------------------------------- /modules/TinyMCE/assets/js/skins/lightgray/fonts/tinymce.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nazar-pc/CleverStyle-Framework/3a4cd2fb6aa9e486511498061f60b53ba9267311/modules/TinyMCE/assets/js/skins/lightgray/fonts/tinymce.eot -------------------------------------------------------------------------------- /modules/TinyMCE/assets/js/skins/lightgray/fonts/tinymce.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nazar-pc/CleverStyle-Framework/3a4cd2fb6aa9e486511498061f60b53ba9267311/modules/TinyMCE/assets/js/skins/lightgray/fonts/tinymce.ttf -------------------------------------------------------------------------------- /modules/TinyMCE/assets/js/skins/lightgray/fonts/tinymce.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nazar-pc/CleverStyle-Framework/3a4cd2fb6aa9e486511498061f60b53ba9267311/modules/TinyMCE/assets/js/skins/lightgray/fonts/tinymce.woff -------------------------------------------------------------------------------- /modules/TinyMCE/assets/js/skins/lightgray/img/anchor.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nazar-pc/CleverStyle-Framework/3a4cd2fb6aa9e486511498061f60b53ba9267311/modules/TinyMCE/assets/js/skins/lightgray/img/anchor.gif -------------------------------------------------------------------------------- /modules/TinyMCE/assets/js/skins/lightgray/img/loader.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nazar-pc/CleverStyle-Framework/3a4cd2fb6aa9e486511498061f60b53ba9267311/modules/TinyMCE/assets/js/skins/lightgray/img/loader.gif -------------------------------------------------------------------------------- /modules/TinyMCE/assets/js/skins/lightgray/img/object.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nazar-pc/CleverStyle-Framework/3a4cd2fb6aa9e486511498061f60b53ba9267311/modules/TinyMCE/assets/js/skins/lightgray/img/object.gif -------------------------------------------------------------------------------- /modules/TinyMCE/assets/js/skins/lightgray/img/trans.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nazar-pc/CleverStyle-Framework/3a4cd2fb6aa9e486511498061f60b53ba9267311/modules/TinyMCE/assets/js/skins/lightgray/img/trans.gif -------------------------------------------------------------------------------- /modules/Uploader/assets/css/admin.css: -------------------------------------------------------------------------------- 1 | body form{text-align:center} 2 | -------------------------------------------------------------------------------- /modules/Uploader/assets/css/admin.scss: -------------------------------------------------------------------------------- 1 | /** 2 | * @package Uploader 3 | * @category modules 4 | * @author Nazar Mokrynskyi 5 | * @license 0BSD 6 | */ 7 | body form { 8 | text-align : center; 9 | } 10 | -------------------------------------------------------------------------------- /modules/Uploader/meta/uninstall_db/files/MySQLi.sql: -------------------------------------------------------------------------------- 1 | DROP TABLE `[prefix]uploader_files`, `[prefix]uploader_files_tags`; 2 | -------------------------------------------------------------------------------- /modules/WebSockets/assets/css/admin.css: -------------------------------------------------------------------------------- 1 | body form{text-align:center} 2 | -------------------------------------------------------------------------------- /modules/WebSockets/assets/css/admin.scss: -------------------------------------------------------------------------------- 1 | /** 2 | * @package WebSockets 3 | * @category modules 4 | * @author Nazar Mokrynskyi 5 | * @license 0BSD 6 | */ 7 | body form { 8 | text-align : center; 9 | } 10 | -------------------------------------------------------------------------------- /modules/WebSockets/meta/install_db/pool/MySQLi.sql: -------------------------------------------------------------------------------- 1 | CREATE TABLE IF NOT EXISTS `[prefix]websockets_pool` ( 2 | `address` varchar(1024) NOT NULL, 3 | `date` bigint(20) NOT NULL 4 | ) ENGINE=MEMORY DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; 5 | 6 | ALTER TABLE `[prefix]websockets_pool` 7 | ADD PRIMARY KEY (`address`(191)), 8 | ADD KEY `date` (`date`); 9 | -------------------------------------------------------------------------------- /modules/WebSockets/meta/uninstall_db/pool/MySQLi.sql: -------------------------------------------------------------------------------- 1 | DROP TABLE `[prefix]websockets_pool`; 2 | -------------------------------------------------------------------------------- /modules/WebSockets/supervisor.php: -------------------------------------------------------------------------------- 1 | 6 | * @license 0BSD 7 | */ 8 | if ($argc < 2) { 9 | echo "Supervisor takes command as argument and execute it. If command stops for some reason - supervisor will start it again in 1 second and will do that until alive itself.\nUsage: php supervisor.php 'some-command'"; 10 | return; 11 | } 12 | while (true) { 13 | exec($argv[1]); 14 | sleep(1); 15 | } 16 | -------------------------------------------------------------------------------- /service_scripts/make_htmlpurifier_standalone_phar.php: -------------------------------------------------------------------------------- 1 | startBuffering(); 7 | $phar->buildFromDirectory($argv[1]); 8 | $phar->setAlias('htmlpurifier.phar'); 9 | $phar->stopBuffering(); 10 | -------------------------------------------------------------------------------- /storage/.htaccess: -------------------------------------------------------------------------------- 1 | Deny from all 2 | RewriteEngine Off 3 | 4 | SetHandler default-handler 5 | 6 | -------------------------------------------------------------------------------- /storage/public/.htaccess: -------------------------------------------------------------------------------- 1 | Allow From All 2 | 3 | ExpiresActive On 4 | ExpiresDefault "access plus 1 year" 5 | 6 | 7 | Header set Cache-Control "max-age=946080000, immutable" 8 | Header always append X-Frame-Options DENY 9 | Header set Content-Type application/octet-stream 10 | 11 | -------------------------------------------------------------------------------- /storage/public_cache/.htaccess: -------------------------------------------------------------------------------- 1 | Allow From All 2 | 3 | Deny From All 4 | 5 | -------------------------------------------------------------------------------- /storage/temp/.htaccess: -------------------------------------------------------------------------------- 1 | Allow From All 2 | -------------------------------------------------------------------------------- /tests/php-code-coverage.phar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nazar-pc/CleverStyle-Framework/3a4cd2fb6aa9e486511498061f60b53ba9267311/tests/php-code-coverage.phar -------------------------------------------------------------------------------- /tests/quick/App/blocks/block.Custom_block.php: -------------------------------------------------------------------------------- 1 |

2 | Some content here 3 | -------------------------------------------------------------------------------- /tests/quick/App/modules/Module_with_cli_index_php/cli/index.get.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nazar-pc/CleverStyle-Framework/3a4cd2fb6aa9e486511498061f60b53ba9267311/tests/quick/App/modules/Module_with_cli_index_php/cli/index.get.php -------------------------------------------------------------------------------- /tests/quick/App/modules/Module_with_controller_routing/Controller.php: -------------------------------------------------------------------------------- 1 | 3 | -------------------------------------------------------------------------------- /tests/quick/Cache/APCu_basic.phpt: -------------------------------------------------------------------------------- 1 | --SKIPIF-- 2 | 7 | --INI-- 8 | apc.enable_cli = 1 9 | --FILE-- 10 | 'APCu']); 14 | require __DIR__.'/_test.php'; 15 | ?> 16 | --EXPECT-- 17 | 8 | --EXPECT-- 9 | Config file not found, is system installed properly? 10 | How to install CleverStyle Framework: https://github.com/nazar-pc/CleverStyle-Framework/tree/master/docs/installation/Installation.md 11 | -------------------------------------------------------------------------------- /tests/quick/Core/Core_error_web.phpt: -------------------------------------------------------------------------------- 1 | --FILE-- 2 | 12 | --EXPECT-- 13 | 14 |

Config file not found, is system installed properly?

15 | How to install CleverStyle Framework 16 | -------------------------------------------------------------------------------- /tests/quick/Event/modules/Module_test/events.php: -------------------------------------------------------------------------------- 1 | on('xyz', 'module_xyz_test'); 8 | -------------------------------------------------------------------------------- /tests/quick/Mail/attachment.txt: -------------------------------------------------------------------------------- 1 | Attachment content 2 | -------------------------------------------------------------------------------- /tests/quick/Mail/phpmailer.phpt: -------------------------------------------------------------------------------- 1 | --FILE-- 2 | 12 | --EXPECT-- 13 | -------------------------------------------------------------------------------- /tests/quick/Page/Assets_processing/image.svg: -------------------------------------------------------------------------------- 1 | 11111 -------------------------------------------------------------------------------- /tests/quick/Page/Assets_processing/imported-2.css: -------------------------------------------------------------------------------- 1 | .imported-class-2 { 2 | color: black; 3 | } 4 | -------------------------------------------------------------------------------- /tests/quick/Page/Assets_processing/imported-external-scripts.html: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /tests/quick/Page/Assets_processing/imported-no-scripts.html: -------------------------------------------------------------------------------- 1 | 2 | 7 | 8 | -------------------------------------------------------------------------------- /tests/quick/Page/Assets_processing/imported-no-styles.html: -------------------------------------------------------------------------------- 1 | 4 | -------------------------------------------------------------------------------- /tests/quick/Page/Assets_processing/imported.css: -------------------------------------------------------------------------------- 1 | .imported-class { 2 | color: black; 3 | } 4 | -------------------------------------------------------------------------------- /tests/quick/Page/Assets_processing/imported.html: -------------------------------------------------------------------------------- 1 | 2 | 7 | 8 | 11 | -------------------------------------------------------------------------------- /tests/quick/Page/Assets_processing/script.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Some comment 3 | */ 4 | var bar = 'bar'; /* another comment */ 5 | // Single-line comment 6 | 7 | var foo = 'foo'; // Single-line after code 8 | (function (bar, foo) { 9 | return foo + bar + 10 | (10 * 15 / 5); 11 | })(bar, foo); 12 | 13 | if ( !( bar > foo ) ) 14 | { 15 | console . log (foo), console.log( 16 | bar 17 | ); 18 | } 19 | 20 | var script_code = ""; 21 | -------------------------------------------------------------------------------- /tests/quick/Page/Assets_processing/style-2.css: -------------------------------------------------------------------------------- 1 | :host { 2 | color: black; 3 | } 4 | -------------------------------------------------------------------------------- /tests/quick/Page/Collecting/assets/css/file1.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nazar-pc/CleverStyle-Framework/3a4cd2fb6aa9e486511498061f60b53ba9267311/tests/quick/Page/Collecting/assets/css/file1.css -------------------------------------------------------------------------------- /tests/quick/Page/Collecting/assets/html/file1.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nazar-pc/CleverStyle-Framework/3a4cd2fb6aa9e486511498061f60b53ba9267311/tests/quick/Page/Collecting/assets/html/file1.html -------------------------------------------------------------------------------- /tests/quick/Page/Collecting/assets/js/Polymer/a.Polymer.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nazar-pc/CleverStyle-Framework/3a4cd2fb6aa9e486511498061f60b53ba9267311/tests/quick/Page/Collecting/assets/js/Polymer/a.Polymer.js -------------------------------------------------------------------------------- /tests/quick/Page/Collecting/assets/js/Polymer/b.Polymer.behavior.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nazar-pc/CleverStyle-Framework/3a4cd2fb6aa9e486511498061f60b53ba9267311/tests/quick/Page/Collecting/assets/js/Polymer/b.Polymer.behavior.js -------------------------------------------------------------------------------- /tests/quick/Page/Collecting/assets/js/file1.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nazar-pc/CleverStyle-Framework/3a4cd2fb6aa9e486511498061f60b53ba9267311/tests/quick/Page/Collecting/assets/js/file1.js -------------------------------------------------------------------------------- /tests/quick/Page/Collecting/assets/js/file2.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nazar-pc/CleverStyle-Framework/3a4cd2fb6aa9e486511498061f60b53ba9267311/tests/quick/Page/Collecting/assets/js/file2.js -------------------------------------------------------------------------------- /tests/quick/Page/Collecting/modules/Disabled_no_map_no_meta/assets/css/file1.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nazar-pc/CleverStyle-Framework/3a4cd2fb6aa9e486511498061f60b53ba9267311/tests/quick/Page/Collecting/modules/Disabled_no_map_no_meta/assets/css/file1.css -------------------------------------------------------------------------------- /tests/quick/Page/Collecting/modules/Disabled_no_map_no_meta/assets/html/file1.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nazar-pc/CleverStyle-Framework/3a4cd2fb6aa9e486511498061f60b53ba9267311/tests/quick/Page/Collecting/modules/Disabled_no_map_no_meta/assets/html/file1.html -------------------------------------------------------------------------------- /tests/quick/Page/Collecting/modules/Disabled_no_map_no_meta/assets/js/file1.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nazar-pc/CleverStyle-Framework/3a4cd2fb6aa9e486511498061f60b53ba9267311/tests/quick/Page/Collecting/modules/Disabled_no_map_no_meta/assets/js/file1.js -------------------------------------------------------------------------------- /tests/quick/Page/Collecting/modules/Disabled_no_map_no_meta/assets/js/file2.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nazar-pc/CleverStyle-Framework/3a4cd2fb6aa9e486511498061f60b53ba9267311/tests/quick/Page/Collecting/modules/Disabled_no_map_no_meta/assets/js/file2.js -------------------------------------------------------------------------------- /tests/quick/Page/Collecting/modules/Disabled_with_map_and_meta/assets/css/file1.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nazar-pc/CleverStyle-Framework/3a4cd2fb6aa9e486511498061f60b53ba9267311/tests/quick/Page/Collecting/modules/Disabled_with_map_and_meta/assets/css/file1.css -------------------------------------------------------------------------------- /tests/quick/Page/Collecting/modules/Disabled_with_map_and_meta/assets/html/file1.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nazar-pc/CleverStyle-Framework/3a4cd2fb6aa9e486511498061f60b53ba9267311/tests/quick/Page/Collecting/modules/Disabled_with_map_and_meta/assets/html/file1.html -------------------------------------------------------------------------------- /tests/quick/Page/Collecting/modules/Disabled_with_map_and_meta/assets/js/file1.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nazar-pc/CleverStyle-Framework/3a4cd2fb6aa9e486511498061f60b53ba9267311/tests/quick/Page/Collecting/modules/Disabled_with_map_and_meta/assets/js/file1.js -------------------------------------------------------------------------------- /tests/quick/Page/Collecting/modules/Disabled_with_map_and_meta/assets/js/file2.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nazar-pc/CleverStyle-Framework/3a4cd2fb6aa9e486511498061f60b53ba9267311/tests/quick/Page/Collecting/modules/Disabled_with_map_and_meta/assets/js/file2.js -------------------------------------------------------------------------------- /tests/quick/Page/Collecting/modules/Disabled_with_map_and_meta/meta.json: -------------------------------------------------------------------------------- 1 | { 2 | "package" : "Disabled_with_map_and_meta", 3 | "assets" : { 4 | "Disabled_with_map_and_meta" : "*" 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /tests/quick/Page/Collecting/modules/Enabled_has_dependencies/assets/css/file1.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nazar-pc/CleverStyle-Framework/3a4cd2fb6aa9e486511498061f60b53ba9267311/tests/quick/Page/Collecting/modules/Enabled_has_dependencies/assets/css/file1.css -------------------------------------------------------------------------------- /tests/quick/Page/Collecting/modules/Enabled_has_dependencies/assets/html/file1.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nazar-pc/CleverStyle-Framework/3a4cd2fb6aa9e486511498061f60b53ba9267311/tests/quick/Page/Collecting/modules/Enabled_has_dependencies/assets/html/file1.html -------------------------------------------------------------------------------- /tests/quick/Page/Collecting/modules/Enabled_has_dependencies/assets/js/file1.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nazar-pc/CleverStyle-Framework/3a4cd2fb6aa9e486511498061f60b53ba9267311/tests/quick/Page/Collecting/modules/Enabled_has_dependencies/assets/js/file1.js -------------------------------------------------------------------------------- /tests/quick/Page/Collecting/modules/Enabled_has_dependencies/assets/js/file2.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nazar-pc/CleverStyle-Framework/3a4cd2fb6aa9e486511498061f60b53ba9267311/tests/quick/Page/Collecting/modules/Enabled_has_dependencies/assets/js/file2.js -------------------------------------------------------------------------------- /tests/quick/Page/Collecting/modules/Enabled_has_dependencies/meta.json: -------------------------------------------------------------------------------- 1 | { 2 | "package" : "Enabled_has_dependencies", 3 | "assets" : { 4 | "Enabled_has_dependencies" : "*" 5 | }, 6 | "require" : "enabled", 7 | "optional" : "Enabled3>=0" 8 | } 9 | -------------------------------------------------------------------------------- /tests/quick/Page/Collecting/modules/Enabled_no_assets/.gitkept: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nazar-pc/CleverStyle-Framework/3a4cd2fb6aa9e486511498061f60b53ba9267311/tests/quick/Page/Collecting/modules/Enabled_no_assets/.gitkept -------------------------------------------------------------------------------- /tests/quick/Page/Collecting/modules/Enabled_provide/assets/css/file1.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nazar-pc/CleverStyle-Framework/3a4cd2fb6aa9e486511498061f60b53ba9267311/tests/quick/Page/Collecting/modules/Enabled_provide/assets/css/file1.css -------------------------------------------------------------------------------- /tests/quick/Page/Collecting/modules/Enabled_provide/assets/html/file1.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nazar-pc/CleverStyle-Framework/3a4cd2fb6aa9e486511498061f60b53ba9267311/tests/quick/Page/Collecting/modules/Enabled_provide/assets/html/file1.html -------------------------------------------------------------------------------- /tests/quick/Page/Collecting/modules/Enabled_provide/assets/js/file1.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nazar-pc/CleverStyle-Framework/3a4cd2fb6aa9e486511498061f60b53ba9267311/tests/quick/Page/Collecting/modules/Enabled_provide/assets/js/file1.js -------------------------------------------------------------------------------- /tests/quick/Page/Collecting/modules/Enabled_provide/assets/js/file2.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nazar-pc/CleverStyle-Framework/3a4cd2fb6aa9e486511498061f60b53ba9267311/tests/quick/Page/Collecting/modules/Enabled_provide/assets/js/file2.js -------------------------------------------------------------------------------- /tests/quick/Page/Collecting/modules/Enabled_provide/meta.json: -------------------------------------------------------------------------------- 1 | { 2 | "package" : "Enabled_provide", 3 | "assets" : { 4 | "Enabled_provide" : "file1.*" 5 | }, 6 | "provide" : "enabled" 7 | } 8 | -------------------------------------------------------------------------------- /tests/quick/Page/Collecting/modules/Enabled_provides_feature/assets/css/file1.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nazar-pc/CleverStyle-Framework/3a4cd2fb6aa9e486511498061f60b53ba9267311/tests/quick/Page/Collecting/modules/Enabled_provides_feature/assets/css/file1.css -------------------------------------------------------------------------------- /tests/quick/Page/Collecting/modules/Enabled_provides_feature/assets/html/file1.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nazar-pc/CleverStyle-Framework/3a4cd2fb6aa9e486511498061f60b53ba9267311/tests/quick/Page/Collecting/modules/Enabled_provides_feature/assets/html/file1.html -------------------------------------------------------------------------------- /tests/quick/Page/Collecting/modules/Enabled_provides_feature/assets/js/file1.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nazar-pc/CleverStyle-Framework/3a4cd2fb6aa9e486511498061f60b53ba9267311/tests/quick/Page/Collecting/modules/Enabled_provides_feature/assets/js/file1.js -------------------------------------------------------------------------------- /tests/quick/Page/Collecting/modules/Enabled_provides_feature/assets/js/file2.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nazar-pc/CleverStyle-Framework/3a4cd2fb6aa9e486511498061f60b53ba9267311/tests/quick/Page/Collecting/modules/Enabled_provides_feature/assets/js/file2.js -------------------------------------------------------------------------------- /tests/quick/Page/Collecting/modules/Enabled_provides_feature/meta.json: -------------------------------------------------------------------------------- 1 | { 2 | "package" : "Enabled_provides_feature", 3 | "assets" : { 4 | "Enabled_provides_feature" : "*" 5 | }, 6 | "provide" : [ 7 | "Enabled3/feature" 8 | ] 9 | } 10 | -------------------------------------------------------------------------------- /tests/quick/Page/Collecting/modules/System/assets/css/file1.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nazar-pc/CleverStyle-Framework/3a4cd2fb6aa9e486511498061f60b53ba9267311/tests/quick/Page/Collecting/modules/System/assets/css/file1.css -------------------------------------------------------------------------------- /tests/quick/Page/Collecting/modules/System/assets/html/file1.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nazar-pc/CleverStyle-Framework/3a4cd2fb6aa9e486511498061f60b53ba9267311/tests/quick/Page/Collecting/modules/System/assets/html/file1.html -------------------------------------------------------------------------------- /tests/quick/Page/Collecting/modules/System/assets/js/file1.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nazar-pc/CleverStyle-Framework/3a4cd2fb6aa9e486511498061f60b53ba9267311/tests/quick/Page/Collecting/modules/System/assets/js/file1.js -------------------------------------------------------------------------------- /tests/quick/Page/Collecting/modules/System/assets/js/file2.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nazar-pc/CleverStyle-Framework/3a4cd2fb6aa9e486511498061f60b53ba9267311/tests/quick/Page/Collecting/modules/System/assets/js/file2.js -------------------------------------------------------------------------------- /tests/quick/Page/Collecting/modules/System/meta.json: -------------------------------------------------------------------------------- 1 | { 2 | "package" : "System", 3 | "assets" : { 4 | "admin/System" : [ 5 | "file1.js", 6 | "file2.js", 7 | "file1.html" 8 | ] 9 | } 10 | } 11 | -------------------------------------------------------------------------------- /tests/quick/Page/Collecting/modules/Uninstalled/assets/css/file1.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nazar-pc/CleverStyle-Framework/3a4cd2fb6aa9e486511498061f60b53ba9267311/tests/quick/Page/Collecting/modules/Uninstalled/assets/css/file1.css -------------------------------------------------------------------------------- /tests/quick/Page/Collecting/modules/Uninstalled/assets/html/file1.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nazar-pc/CleverStyle-Framework/3a4cd2fb6aa9e486511498061f60b53ba9267311/tests/quick/Page/Collecting/modules/Uninstalled/assets/html/file1.html -------------------------------------------------------------------------------- /tests/quick/Page/Collecting/modules/Uninstalled/assets/js/file1.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nazar-pc/CleverStyle-Framework/3a4cd2fb6aa9e486511498061f60b53ba9267311/tests/quick/Page/Collecting/modules/Uninstalled/assets/js/file1.js -------------------------------------------------------------------------------- /tests/quick/Page/Collecting/modules/Uninstalled/assets/js/file2.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nazar-pc/CleverStyle-Framework/3a4cd2fb6aa9e486511498061f60b53ba9267311/tests/quick/Page/Collecting/modules/Uninstalled/assets/js/file2.js -------------------------------------------------------------------------------- /tests/quick/Page/Collecting/themes/CleverStyle/css/file1.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nazar-pc/CleverStyle-Framework/3a4cd2fb6aa9e486511498061f60b53ba9267311/tests/quick/Page/Collecting/themes/CleverStyle/css/file1.css -------------------------------------------------------------------------------- /tests/quick/Page/Collecting/themes/CleverStyle/html/file1.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nazar-pc/CleverStyle-Framework/3a4cd2fb6aa9e486511498061f60b53ba9267311/tests/quick/Page/Collecting/themes/CleverStyle/html/file1.html -------------------------------------------------------------------------------- /tests/quick/Page/Collecting/themes/CleverStyle/js/file1.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nazar-pc/CleverStyle-Framework/3a4cd2fb6aa9e486511498061f60b53ba9267311/tests/quick/Page/Collecting/themes/CleverStyle/js/file1.js -------------------------------------------------------------------------------- /tests/quick/Page/Collecting/themes/CleverStyle/js/file2.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nazar-pc/CleverStyle-Framework/3a4cd2fb6aa9e486511498061f60b53ba9267311/tests/quick/Page/Collecting/themes/CleverStyle/js/file2.js -------------------------------------------------------------------------------- /tests/quick/Page/Collecting/themes/Custom/css/file1.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nazar-pc/CleverStyle-Framework/3a4cd2fb6aa9e486511498061f60b53ba9267311/tests/quick/Page/Collecting/themes/Custom/css/file1.css -------------------------------------------------------------------------------- /tests/quick/Page/Collecting/themes/Custom/html/file1.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nazar-pc/CleverStyle-Framework/3a4cd2fb6aa9e486511498061f60b53ba9267311/tests/quick/Page/Collecting/themes/Custom/html/file1.html -------------------------------------------------------------------------------- /tests/quick/Page/Collecting/themes/Custom/js/file1.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nazar-pc/CleverStyle-Framework/3a4cd2fb6aa9e486511498061f60b53ba9267311/tests/quick/Page/Collecting/themes/Custom/js/file1.js -------------------------------------------------------------------------------- /tests/quick/Page/Collecting/themes/Custom/js/file2.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nazar-pc/CleverStyle-Framework/3a4cd2fb6aa9e486511498061f60b53ba9267311/tests/quick/Page/Collecting/themes/Custom/js/file2.js -------------------------------------------------------------------------------- /tests/quick/Page/RequireJS/bower_components/package-js/bower.json: -------------------------------------------------------------------------------- 1 | { 2 | "main" : "package.js" 3 | } 4 | -------------------------------------------------------------------------------- /tests/quick/Page/RequireJS/bower_components/package-js/package.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nazar-pc/CleverStyle-Framework/3a4cd2fb6aa9e486511498061f60b53ba9267311/tests/quick/Page/RequireJS/bower_components/package-js/package.js -------------------------------------------------------------------------------- /tests/quick/Page/RequireJS/bower_components/package-min-js/bower.json: -------------------------------------------------------------------------------- 1 | { 2 | "main" : "package.js" 3 | } 4 | -------------------------------------------------------------------------------- /tests/quick/Page/RequireJS/bower_components/package-min-js/package.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nazar-pc/CleverStyle-Framework/3a4cd2fb6aa9e486511498061f60b53ba9267311/tests/quick/Page/RequireJS/bower_components/package-min-js/package.js -------------------------------------------------------------------------------- /tests/quick/Page/RequireJS/bower_components/package-min-js/package.min.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nazar-pc/CleverStyle-Framework/3a4cd2fb6aa9e486511498061f60b53ba9267311/tests/quick/Page/RequireJS/bower_components/package-min-js/package.min.js -------------------------------------------------------------------------------- /tests/quick/Page/RequireJS/modules/Disabled/assets/js/.gitkept: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nazar-pc/CleverStyle-Framework/3a4cd2fb6aa9e486511498061f60b53ba9267311/tests/quick/Page/RequireJS/modules/Disabled/assets/js/.gitkept -------------------------------------------------------------------------------- /tests/quick/Page/RequireJS/modules/Disabled/meta.json: -------------------------------------------------------------------------------- 1 | { 2 | "provide" : [ 3 | "disabled_alias1", 4 | "disabled_alias2" 5 | ] 6 | } 7 | -------------------------------------------------------------------------------- /tests/quick/Page/RequireJS/modules/Enabled/.gitkept: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nazar-pc/CleverStyle-Framework/3a4cd2fb6aa9e486511498061f60b53ba9267311/tests/quick/Page/RequireJS/modules/Enabled/.gitkept -------------------------------------------------------------------------------- /tests/quick/Page/RequireJS/modules/System/assets/js/.gitkept: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nazar-pc/CleverStyle-Framework/3a4cd2fb6aa9e486511498061f60b53ba9267311/tests/quick/Page/RequireJS/modules/System/assets/js/.gitkept -------------------------------------------------------------------------------- /tests/quick/Page/RequireJS/modules/Uninstalled/assets/js/.gitkept: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nazar-pc/CleverStyle-Framework/3a4cd2fb6aa9e486511498061f60b53ba9267311/tests/quick/Page/RequireJS/modules/Uninstalled/assets/js/.gitkept -------------------------------------------------------------------------------- /tests/quick/Page/RequireJS/node_modules/package-browser/package.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nazar-pc/CleverStyle-Framework/3a4cd2fb6aa9e486511498061f60b53ba9267311/tests/quick/Page/RequireJS/node_modules/package-browser/package.js -------------------------------------------------------------------------------- /tests/quick/Page/RequireJS/node_modules/package-browser/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "browser" : "package" 3 | } 4 | -------------------------------------------------------------------------------- /tests/quick/Page/RequireJS/node_modules/package-js-browser-min/package.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nazar-pc/CleverStyle-Framework/3a4cd2fb6aa9e486511498061f60b53ba9267311/tests/quick/Page/RequireJS/node_modules/package-js-browser-min/package.js -------------------------------------------------------------------------------- /tests/quick/Page/RequireJS/node_modules/package-js-browser-min/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "browser" : "package.js" 3 | } 4 | -------------------------------------------------------------------------------- /tests/quick/Page/RequireJS/node_modules/package-js-browser-min/package.min.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nazar-pc/CleverStyle-Framework/3a4cd2fb6aa9e486511498061f60b53ba9267311/tests/quick/Page/RequireJS/node_modules/package-js-browser-min/package.min.js -------------------------------------------------------------------------------- /tests/quick/Page/RequireJS/node_modules/package-js-browser/package.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nazar-pc/CleverStyle-Framework/3a4cd2fb6aa9e486511498061f60b53ba9267311/tests/quick/Page/RequireJS/node_modules/package-js-browser/package.js -------------------------------------------------------------------------------- /tests/quick/Page/RequireJS/node_modules/package-js-browser/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "browser" : "package.js" 3 | } 4 | -------------------------------------------------------------------------------- /tests/quick/Page/RequireJS/node_modules/package-jspm-main/package.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nazar-pc/CleverStyle-Framework/3a4cd2fb6aa9e486511498061f60b53ba9267311/tests/quick/Page/RequireJS/node_modules/package-jspm-main/package.js -------------------------------------------------------------------------------- /tests/quick/Page/RequireJS/node_modules/package-jspm-main/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "main" : "package.jspm.js", 3 | "jspm" : { 4 | "main" : "package.jspm.js" 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /tests/quick/Page/RequireJS/node_modules/package-jspm-main/package.jspm.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nazar-pc/CleverStyle-Framework/3a4cd2fb6aa9e486511498061f60b53ba9267311/tests/quick/Page/RequireJS/node_modules/package-jspm-main/package.jspm.js -------------------------------------------------------------------------------- /tests/quick/Page/RequireJS/node_modules/package-main-bad/package.json: -------------------------------------------------------------------------------- 1 | {} 2 | -------------------------------------------------------------------------------- /tests/quick/Page/RequireJS/node_modules/package-main-not-found/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "main" : "package.js" 3 | } 4 | -------------------------------------------------------------------------------- /tests/quick/Page/RequireJS/node_modules/package-main/package.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nazar-pc/CleverStyle-Framework/3a4cd2fb6aa9e486511498061f60b53ba9267311/tests/quick/Page/RequireJS/node_modules/package-main/package.js -------------------------------------------------------------------------------- /tests/quick/Page/RequireJS/node_modules/package-main/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "main" : "package.js" 3 | } 4 | -------------------------------------------------------------------------------- /tests/quick/Request/.gitattributes: -------------------------------------------------------------------------------- 1 | *.bin binary 2 | -------------------------------------------------------------------------------- /tests/quick/Request/multipart_body_bad_header.bin: -------------------------------------------------------------------------------- 1 | ------8V0y5s0FruAd7840 2 | Content-Disposition: 3 | Content-Type: text/html 4 | 5 | 0123456789abcdef 6 | 7 | ------8V0y5s0FruAd7840-- -------------------------------------------------------------------------------- /tests/quick/Request/multipart_body_empty_data.bin: -------------------------------------------------------------------------------- 1 | ------8V0y5s0FruAd7840 2 | Content-Disposition: form-data; name="empty_data" 3 | 4 | 5 | ------8V0y5s0FruAd7840-- -------------------------------------------------------------------------------- /tests/quick/Request/multipart_body_empty_filename.bin: -------------------------------------------------------------------------------- 1 | ------8V0y5s0FruAd7840 2 | Content-Disposition: form-data; name="single_file"; filename="" 3 | Content-Type: text/html 4 | 5 | 0123456789abcdef 6 | 7 | ------8V0y5s0FruAd7840-- -------------------------------------------------------------------------------- /tests/quick/Request/multipart_body_empty_name.bin: -------------------------------------------------------------------------------- 1 | ------8V0y5s0FruAd7840 2 | Content-Disposition: form-data; name=""; filename="upload1.html" 3 | Content-Type: text/html 4 | 5 | 0123456789abcdef 6 | 7 | ------8V0y5s0FruAd7840-- -------------------------------------------------------------------------------- /tests/quick/Request/multipart_body_no_headers.bin: -------------------------------------------------------------------------------- 1 | ------8V0y5s0FruAd7840 2 | 3 | 4 | v1 5 | ------8V0y5s0FruAd7840-- -------------------------------------------------------------------------------- /tests/quick/Request/upload1.html: -------------------------------------------------------------------------------- 1 | 0123456789abcdef 2 | -------------------------------------------------------------------------------- /tests/quick/Request/upload2.html: -------------------------------------------------------------------------------- 1 | 0123456789 2 | -------------------------------------------------------------------------------- /tests/quick/Singleton/custom/classes/nested/Extended_Module_name1.php: -------------------------------------------------------------------------------- 1 | =1.0", 7 | "System<2.0" 8 | ] 9 | } 10 | -------------------------------------------------------------------------------- /tests/quick/modules/System/Packages_dependencies/modules/TinyMCE/meta.json: -------------------------------------------------------------------------------- 1 | { 2 | "package" : "TinyMCE", 3 | "category" : "modules", 4 | "version" : "1.0.0+custom-patches+cs-1.0.0", 5 | "provide" : [ 6 | "editor", 7 | "simple_editor", 8 | "inline_editor", 9 | "simple_inline_editor" 10 | ], 11 | "require" : "System>=2.0", 12 | "optional" : [ 13 | "Plupload", 14 | "file_upload" 15 | ] 16 | } 17 | -------------------------------------------------------------------------------- /tests/quick/modules/System/Packages_manipulation/module_Test_module_1.0.0+build-1.phar.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nazar-pc/CleverStyle-Framework/3a4cd2fb6aa9e486511498061f60b53ba9267311/tests/quick/modules/System/Packages_manipulation/module_Test_module_1.0.0+build-1.phar.php -------------------------------------------------------------------------------- /tests/quick/modules/System/Packages_manipulation/module_Test_module_2.0.0+build-2.phar.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nazar-pc/CleverStyle-Framework/3a4cd2fb6aa9e486511498061f60b53ba9267311/tests/quick/modules/System/Packages_manipulation/module_Test_module_2.0.0+build-2.phar.php -------------------------------------------------------------------------------- /tests/quick/readme.md: -------------------------------------------------------------------------------- 1 | Tests in this directory are relatively quick, they do not require system installation and can even be executed in parallel in arbitrary order 2 | -------------------------------------------------------------------------------- /tests/sequential/1.install/0.install-mysqli-web-0.php: -------------------------------------------------------------------------------- 1 | 'cscms.travis', 4 | 'HTTP_ACCEPT_LANGUAGE' => 'en-us;q=0.5,en;q=0.3', 5 | 'SERVER_NAME' => 'cscms.travis', 6 | 'SERVER_PROTOCOL' => 'HTTP/1.1', 7 | 'REQUEST_METHOD' => 'GET', 8 | 'QUERY_STRING' => '', 9 | 'REQUEST_URI' => '/web.php' 10 | ]; 11 | require 'phar://'.__DIR__.'/../../cscms.travis/distributive.phar.php/web.php'; 12 | -------------------------------------------------------------------------------- /tests/sequential/2.pages/administration_403.phpt: -------------------------------------------------------------------------------- 1 | --FILE-- 2 | body; 8 | ?> 9 | --EXPECT-- 10 | 11 | 403 Forbidden 12 | 403 Forbidden 13 | -------------------------------------------------------------------------------- /tests/sequential/2.pages/home_closed.phpt: -------------------------------------------------------------------------------- 1 | --FILE-- 2 | core['site_mode'] = 0; 6 | do_request(); 7 | echo Response::instance()->body; 8 | ?> 9 | --EXPECTF-- 10 | 11 | Site closed 12 |

Site closed for maintenance

13 | -------------------------------------------------------------------------------- /tests/sequential/CRUD/advanced.cleanup.sql: -------------------------------------------------------------------------------- 1 | DROP TABLE `[prefix]crud_test_advanced`; 2 | DROP TABLE `[prefix]crud_test_advanced_joined_table1`; 3 | DROP TABLE `[prefix]crud_test_advanced_joined_table2`; 4 | -------------------------------------------------------------------------------- /tests/sequential/CRUD/basic.SQLite.sql: -------------------------------------------------------------------------------- 1 | CREATE TABLE "[prefix]crud_test_basic" ( 2 | "id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, 3 | "max" INTEGER NOT NULL, 4 | "set" varchar(1) NOT NULL, 5 | "number" INTEGER NOT NULL, 6 | "title" varchar(1024) NOT NULL, 7 | "description" TEXT NOT NULL, 8 | "data" TEXT NOT NULL 9 | ); 10 | 11 | CREATE TABLE "[prefix]crud_test_basic_joined_table" ( 12 | "id" smallint(5) NOT NULL, 13 | "value" tinyint(1) NOT NULL, 14 | PRIMARY KEY ("id", "value") 15 | ); 16 | -------------------------------------------------------------------------------- /tests/sequential/CRUD/basic.cleanup.sql: -------------------------------------------------------------------------------- 1 | DROP TABLE `[prefix]crud_test_basic`; 2 | DROP TABLE `[prefix]crud_test_basic_joined_table`; 3 | -------------------------------------------------------------------------------- /tests/sequential/readme.md: -------------------------------------------------------------------------------- 1 | Tests in this directory are relatively slow, they require system installation and should be executed sequentially one after another one test at a time 2 | -------------------------------------------------------------------------------- /tests/sequential/z.clean/clean.phpt: -------------------------------------------------------------------------------- 1 | --SKIPIF-- 2 | 7 | --FILE-- 8 | 13 | --EXPECT-- 14 | Done 15 | -------------------------------------------------------------------------------- /themes/CleverStyle/css/style.scss: -------------------------------------------------------------------------------- 1 | /** 2 | * @package CleverStyle Framework 3 | * @subpackage CleverStyle theme 4 | * @author Nazar Mokrynskyi 5 | * @license 0BSD 6 | */ 7 | 8 | @import "layout"; 9 | @import "header"; 10 | -------------------------------------------------------------------------------- /themes/CleverStyle/html/.htaccess: -------------------------------------------------------------------------------- 1 | 2 | RewriteEngine Off 3 | 4 | -------------------------------------------------------------------------------- /themes/CleverStyle/html/cs-cleverstyle-header-user-block/style.css: -------------------------------------------------------------------------------- 1 | :host{box-sizing:border-box;height:48px;padding:2px 5px;text-align:center;@apply --layout-horizontal}:host [small-button]{height:1.8em !important}:host>div>cs-group{display:block}img{max-height:44px;margin-right:5px;max-width:44px}cs-icon{cursor:pointer}button{white-space:nowrap} 2 | -------------------------------------------------------------------------------- /themes/CleverStyle/meta.json: -------------------------------------------------------------------------------- 1 | { 2 | "package" : "CleverStyle", 3 | "category" : "themes", 4 | "description" : "Stock theme for CleverStyle Framework", 5 | "author" : "Nazar Mokrynskyi", 6 | "website" : "cleverstyle.org/Framework", 7 | "license" : "0BSD" 8 | } 9 | -------------------------------------------------------------------------------- /themes/DarkEnergy/css/style.scss: -------------------------------------------------------------------------------- 1 | /** 2 | * @package CleverStyle Framework 3 | * @subpackage DarkEnergy theme 4 | * @author Nazar Mokrynskyi 5 | * @license 0BSD 6 | */ 7 | @import "layout"; 8 | -------------------------------------------------------------------------------- /themes/DarkEnergy/html/.htaccess: -------------------------------------------------------------------------------- 1 | 2 | RewriteEngine Off 3 | 4 | -------------------------------------------------------------------------------- /themes/DarkEnergy/js/menu.ls: -------------------------------------------------------------------------------- 1 | /** 2 | * @package CleverStyle Framework 3 | * @subpackage DarkEnergy theme 4 | * @author Nazar Mokrynskyi 5 | * @license 0BSD 6 | */ 7 | cs.ui.ready.then !-> 8 | document.querySelector('.cs-mobile-menu').addEventListener('click', !-> 9 | if @hasAttribute('show') 10 | @removeAttribute('show') 11 | else 12 | @setAttribute('show', '') 13 | ) 14 | -------------------------------------------------------------------------------- /themes/DarkEnergy/meta.json: -------------------------------------------------------------------------------- 1 | { 2 | "package" : "DarkEnergy", 3 | "category" : "themes", 4 | "version" : "2.24.2+build-65", 5 | "description" : "Dark responsive theme for CleverStyle Framework", 6 | "author" : "Nazar Mokrynskyi", 7 | "website" : "cleverstyle.org/Framework", 8 | "license" : "0BSD" 9 | } 10 | --------------------------------------------------------------------------------