├── public ├── favicon.ico ├── robots.txt ├── mazer │ ├── js │ │ ├── extensions │ │ │ ├── rater-js.js.LICENSE.txt │ │ │ ├── skins │ │ │ │ ├── ui │ │ │ │ │ ├── oxide │ │ │ │ │ │ ├── fonts │ │ │ │ │ │ │ └── tinymce-mobile.woff │ │ │ │ │ │ ├── content.mobile.min.css │ │ │ │ │ │ ├── skin.shadowdom.min.css │ │ │ │ │ │ ├── content.mobile.css │ │ │ │ │ │ └── skin.shadowdom.css │ │ │ │ │ └── oxide-dark │ │ │ │ │ │ ├── fonts │ │ │ │ │ │ └── tinymce-mobile.woff │ │ │ │ │ │ ├── content.mobile.min.css │ │ │ │ │ │ ├── skin.shadowdom.min.css │ │ │ │ │ │ ├── content.mobile.css │ │ │ │ │ │ └── skin.shadowdom.css │ │ │ │ └── content │ │ │ │ │ ├── default │ │ │ │ │ ├── content.min.css │ │ │ │ │ └── content.css │ │ │ │ │ ├── writer │ │ │ │ │ ├── content.min.css │ │ │ │ │ └── content.css │ │ │ │ │ ├── dark │ │ │ │ │ ├── content.min.css │ │ │ │ │ └── content.css │ │ │ │ │ └── document │ │ │ │ │ ├── content.min.css │ │ │ │ │ └── content.css │ │ │ ├── toastify.js.LICENSE.txt │ │ │ ├── ui-chartjs.js.LICENSE.txt │ │ │ ├── form-element-select.js.LICENSE.txt │ │ │ ├── quill.js.LICENSE.txt │ │ │ ├── ui-apexchart.js.LICENSE.txt │ │ │ ├── datatables.js.LICENSE.txt │ │ │ ├── summernote.js.LICENSE.txt │ │ │ └── filepond.js.LICENSE.txt │ │ └── pages │ │ │ ├── form-editor.js │ │ │ ├── dashboard.js.LICENSE.txt │ │ │ └── horizontal-layout.js │ ├── images │ │ ├── 4853433.png │ │ ├── faces │ │ │ ├── 1.jpg │ │ │ ├── 2.jpg │ │ │ ├── 3.jpg │ │ │ ├── 4.jpg │ │ │ ├── 5.jpg │ │ │ ├── 6.jpg │ │ │ ├── 7.jpg │ │ │ └── 8.jpg │ │ ├── samples │ │ │ ├── 1.png │ │ │ ├── 2.png │ │ │ ├── 3.png │ │ │ ├── 4.png │ │ │ ├── jump.jpg │ │ │ ├── banana.jpg │ │ │ ├── water.jpg │ │ │ ├── building.jpg │ │ │ ├── origami.jpg │ │ │ ├── bg-mountain.jpg │ │ │ ├── motorcycle.jpg │ │ │ └── architecture1.jpg │ │ ├── bg │ │ │ └── 4853433.png │ │ ├── logo │ │ │ ├── favicon.png │ │ │ ├── favicon.svg │ │ │ └── logo.svg │ │ ├── vendor │ │ │ └── rater-js │ │ │ │ └── lib │ │ │ │ ├── star_0.svg │ │ │ │ └── star_1.svg │ │ └── svg-loaders │ │ │ ├── oval.svg │ │ │ ├── tail-spin.svg │ │ │ ├── puff.svg │ │ │ ├── three-dots.svg │ │ │ ├── ball-triangle.svg │ │ │ ├── hearts.svg │ │ │ ├── rings.svg │ │ │ ├── audio.svg │ │ │ ├── grid.svg │ │ │ ├── bars.svg │ │ │ ├── spinning-circles.svg │ │ │ └── circles.svg │ ├── fonts │ │ ├── Iconly---Bold.eot │ │ ├── Iconly---Bold.ttf │ │ ├── Iconly---Bold.woff │ │ └── vendor │ │ │ ├── @icon │ │ │ └── dripicons │ │ │ │ ├── dripicons.eot │ │ │ │ ├── dripicons.ttf │ │ │ │ └── dripicons.woff │ │ │ ├── summernote │ │ │ └── dist │ │ │ │ ├── summernote.eot │ │ │ │ ├── summernote.ttf │ │ │ │ ├── summernote.woff │ │ │ │ └── summernote.woff2 │ │ │ ├── bootstrap-icons │ │ │ ├── bootstrap-icons.woff │ │ │ └── bootstrap-icons.woff2 │ │ │ ├── @fortawesome │ │ │ └── fontawesome-free │ │ │ │ ├── webfa-brands-400.eot │ │ │ │ ├── webfa-brands-400.ttf │ │ │ │ ├── webfa-solid-900.eot │ │ │ │ ├── webfa-solid-900.ttf │ │ │ │ ├── webfa-solid-900.woff │ │ │ │ ├── webfa-brands-400.woff │ │ │ │ ├── webfa-brands-400.woff2 │ │ │ │ ├── webfa-regular-400.eot │ │ │ │ ├── webfa-regular-400.ttf │ │ │ │ ├── webfa-regular-400.woff │ │ │ │ ├── webfa-solid-900.woff2 │ │ │ │ └── webfa-regular-400.woff2 │ │ │ └── @fontsource │ │ │ └── nunito │ │ │ └── files │ │ │ ├── nunito-all-300-normal.woff │ │ │ ├── nunito-all-400-normal.woff │ │ │ ├── nunito-all-600-normal.woff │ │ │ ├── nunito-all-700-normal.woff │ │ │ ├── nunito-all-800-normal.woff │ │ │ ├── nunito-latin-300-normal.woff2 │ │ │ ├── nunito-latin-400-normal.woff2 │ │ │ ├── nunito-latin-600-normal.woff2 │ │ │ ├── nunito-latin-700-normal.woff2 │ │ │ ├── nunito-latin-800-normal.woff2 │ │ │ ├── nunito-cyrillic-300-normal.woff2 │ │ │ ├── nunito-cyrillic-400-normal.woff2 │ │ │ ├── nunito-cyrillic-600-normal.woff2 │ │ │ ├── nunito-cyrillic-700-normal.woff2 │ │ │ ├── nunito-cyrillic-800-normal.woff2 │ │ │ ├── nunito-latin-ext-300-normal.woff2 │ │ │ ├── nunito-latin-ext-400-normal.woff2 │ │ │ ├── nunito-latin-ext-600-normal.woff2 │ │ │ ├── nunito-latin-ext-700-normal.woff2 │ │ │ ├── nunito-latin-ext-800-normal.woff2 │ │ │ ├── nunito-vietnamese-300-normal.woff2 │ │ │ ├── nunito-vietnamese-400-normal.woff2 │ │ │ ├── nunito-vietnamese-600-normal.woff2 │ │ │ ├── nunito-vietnamese-700-normal.woff2 │ │ │ ├── nunito-vietnamese-800-normal.woff2 │ │ │ ├── nunito-cyrillic-ext-300-normal.woff2 │ │ │ ├── nunito-cyrillic-ext-400-normal.woff2 │ │ │ ├── nunito-cyrillic-ext-600-normal.woff2 │ │ │ ├── nunito-cyrillic-ext-700-normal.woff2 │ │ │ └── nunito-cyrillic-ext-800-normal.woff2 │ └── css │ │ ├── pages │ │ ├── error.css │ │ ├── rater-js.css │ │ ├── auth.css │ │ ├── toastify.css │ │ ├── chat.css │ │ └── simple-datatables.css │ │ └── widgets │ │ ├── chat.css │ │ └── todo.css ├── .htaccess ├── web.config └── index.php ├── resources ├── css │ └── app.css ├── js │ ├── app.js │ └── bootstrap.js └── views │ ├── layouts │ ├── app.blade.php │ ├── footer.blade.php │ ├── auth.blade.php │ └── header.blade.php │ ├── components │ ├── breadcrumb.blade.php │ └── alert.blade.php │ ├── users │ ├── include │ │ └── action.blade.php │ ├── create.blade.php │ └── edit.blade.php │ ├── roles │ ├── include │ │ ├── action.blade.php │ │ └── form.blade.php │ ├── create.blade.php │ ├── edit.blade.php │ ├── show.blade.php │ └── index.blade.php │ ├── dashboard.blade.php │ └── auth │ ├── confirm-password.blade.php │ ├── two-factor-challenge.blade.php │ ├── reset-password.blade.php │ └── forgot-password.blade.php ├── database ├── .gitignore ├── seeders │ ├── DatabaseSeeder.php │ ├── UserSeeder.php │ └── RoleAndPermissionSeeder.php ├── migrations │ ├── 2022_01_12_072103_add_avatar_to_users_table.php │ ├── 2014_10_12_100000_create_password_resets_table.php │ ├── 2014_10_12_000000_create_users_table.php │ ├── 2019_08_19_000000_create_failed_jobs_table.php │ └── 2014_10_12_200000_add_two_factor_columns_to_users_table.php └── factories │ └── UserFactory.php ├── bootstrap ├── cache │ └── .gitignore └── app.php ├── storage ├── logs │ └── .gitignore ├── app │ ├── public │ │ └── .gitignore │ └── .gitignore ├── debugbar │ └── .gitignore └── framework │ ├── testing │ └── .gitignore │ ├── views │ └── .gitignore │ ├── cache │ ├── data │ │ └── .gitignore │ └── .gitignore │ ├── sessions │ └── .gitignore │ └── .gitignore ├── .github ├── FUNDING.yml └── workflows │ └── dependency-review.yml ├── .gitattributes ├── tests ├── TestCase.php ├── Unit │ └── ExampleTest.php ├── Feature │ └── ExampleTest.php └── CreatesApplication.php ├── app ├── Http │ ├── Controllers │ │ ├── ProfileController.php │ │ └── Controller.php │ ├── Middleware │ │ ├── EncryptCookies.php │ │ ├── VerifyCsrfToken.php │ │ ├── TrustHosts.php │ │ ├── PreventRequestsDuringMaintenance.php │ │ ├── TrimStrings.php │ │ ├── Authenticate.php │ │ ├── TrustProxies.php │ │ └── RedirectIfAuthenticated.php │ ├── Requests │ │ ├── StoreRoleRequest.php │ │ ├── UpdateRoleRequest.php │ │ ├── StoreUserRequest.php │ │ └── UpdateUserRequest.php │ └── Kernel.php ├── Providers │ ├── BroadcastServiceProvider.php │ ├── AppServiceProvider.php │ ├── AuthServiceProvider.php │ ├── ViewServiceProvider.php │ ├── EventServiceProvider.php │ ├── RouteServiceProvider.php │ └── FortifyServiceProvider.php ├── Actions │ └── Fortify │ │ ├── PasswordValidationRules.php │ │ ├── ResetUserPassword.php │ │ ├── CreateNewUser.php │ │ ├── UpdateUserPassword.php │ │ └── UpdateUserProfileInformation.php ├── Exceptions │ └── Handler.php ├── Console │ └── Kernel.php └── Models │ └── User.php ├── .styleci.yml ├── .gitignore ├── .editorconfig ├── package.json ├── lang ├── en │ ├── pagination.php │ ├── auth.php │ └── passwords.php └── en.json ├── webpack.mix.js ├── routes ├── channels.php ├── api.php ├── console.php └── web.php ├── server.php ├── config ├── cors.php ├── services.php ├── view.php ├── hashing.php ├── sanctum.php ├── broadcasting.php ├── filesystems.php ├── queue.php ├── cache.php └── mail.php ├── .env.example ├── LICENSE ├── phpunit.xml ├── artisan └── composer.json /public/favicon.ico: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /resources/css/app.css: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /database/.gitignore: -------------------------------------------------------------------------------- 1 | *.sqlite* 2 | -------------------------------------------------------------------------------- /bootstrap/cache/.gitignore: -------------------------------------------------------------------------------- 1 | * 2 | !.gitignore 3 | -------------------------------------------------------------------------------- /resources/js/app.js: -------------------------------------------------------------------------------- 1 | require('./bootstrap'); 2 | -------------------------------------------------------------------------------- /storage/logs/.gitignore: -------------------------------------------------------------------------------- 1 | * 2 | !.gitignore 3 | -------------------------------------------------------------------------------- /public/robots.txt: -------------------------------------------------------------------------------- 1 | User-agent: * 2 | Disallow: 3 | -------------------------------------------------------------------------------- /storage/app/public/.gitignore: -------------------------------------------------------------------------------- 1 | * 2 | !.gitignore 3 | -------------------------------------------------------------------------------- /storage/debugbar/.gitignore: -------------------------------------------------------------------------------- 1 | * 2 | !.gitignore 3 | -------------------------------------------------------------------------------- /storage/app/.gitignore: -------------------------------------------------------------------------------- 1 | * 2 | !public/ 3 | !.gitignore 4 | -------------------------------------------------------------------------------- /storage/framework/testing/.gitignore: -------------------------------------------------------------------------------- 1 | * 2 | !.gitignore 3 | -------------------------------------------------------------------------------- /storage/framework/views/.gitignore: -------------------------------------------------------------------------------- 1 | * 2 | !.gitignore 3 | -------------------------------------------------------------------------------- /storage/framework/cache/data/.gitignore: -------------------------------------------------------------------------------- 1 | * 2 | !.gitignore 3 | -------------------------------------------------------------------------------- /storage/framework/sessions/.gitignore: -------------------------------------------------------------------------------- 1 | * 2 | !.gitignore 3 | -------------------------------------------------------------------------------- /storage/framework/cache/.gitignore: -------------------------------------------------------------------------------- 1 | * 2 | !data/ 3 | !.gitignore 4 | -------------------------------------------------------------------------------- /public/mazer/js/extensions/rater-js.js.LICENSE.txt: -------------------------------------------------------------------------------- 1 | /*! rater-js. [c] 2018 Fredrik Olsson. MIT License */ 2 | -------------------------------------------------------------------------------- /public/mazer/images/4853433.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zzzul/generator/HEAD/public/mazer/images/4853433.png -------------------------------------------------------------------------------- /public/mazer/images/faces/1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zzzul/generator/HEAD/public/mazer/images/faces/1.jpg -------------------------------------------------------------------------------- /public/mazer/images/faces/2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zzzul/generator/HEAD/public/mazer/images/faces/2.jpg -------------------------------------------------------------------------------- /public/mazer/images/faces/3.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zzzul/generator/HEAD/public/mazer/images/faces/3.jpg -------------------------------------------------------------------------------- /public/mazer/images/faces/4.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zzzul/generator/HEAD/public/mazer/images/faces/4.jpg -------------------------------------------------------------------------------- /public/mazer/images/faces/5.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zzzul/generator/HEAD/public/mazer/images/faces/5.jpg -------------------------------------------------------------------------------- /public/mazer/images/faces/6.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zzzul/generator/HEAD/public/mazer/images/faces/6.jpg -------------------------------------------------------------------------------- /public/mazer/images/faces/7.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zzzul/generator/HEAD/public/mazer/images/faces/7.jpg -------------------------------------------------------------------------------- /public/mazer/images/faces/8.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zzzul/generator/HEAD/public/mazer/images/faces/8.jpg -------------------------------------------------------------------------------- /public/mazer/images/samples/1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zzzul/generator/HEAD/public/mazer/images/samples/1.png -------------------------------------------------------------------------------- /public/mazer/images/samples/2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zzzul/generator/HEAD/public/mazer/images/samples/2.png -------------------------------------------------------------------------------- /public/mazer/images/samples/3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zzzul/generator/HEAD/public/mazer/images/samples/3.png -------------------------------------------------------------------------------- /public/mazer/images/samples/4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zzzul/generator/HEAD/public/mazer/images/samples/4.png -------------------------------------------------------------------------------- /public/mazer/fonts/Iconly---Bold.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zzzul/generator/HEAD/public/mazer/fonts/Iconly---Bold.eot -------------------------------------------------------------------------------- /public/mazer/fonts/Iconly---Bold.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zzzul/generator/HEAD/public/mazer/fonts/Iconly---Bold.ttf -------------------------------------------------------------------------------- /public/mazer/images/bg/4853433.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zzzul/generator/HEAD/public/mazer/images/bg/4853433.png -------------------------------------------------------------------------------- /public/mazer/images/logo/favicon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zzzul/generator/HEAD/public/mazer/images/logo/favicon.png -------------------------------------------------------------------------------- /public/mazer/images/samples/jump.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zzzul/generator/HEAD/public/mazer/images/samples/jump.jpg -------------------------------------------------------------------------------- /public/mazer/fonts/Iconly---Bold.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zzzul/generator/HEAD/public/mazer/fonts/Iconly---Bold.woff -------------------------------------------------------------------------------- /public/mazer/images/samples/banana.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zzzul/generator/HEAD/public/mazer/images/samples/banana.jpg -------------------------------------------------------------------------------- /public/mazer/images/samples/water.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zzzul/generator/HEAD/public/mazer/images/samples/water.jpg -------------------------------------------------------------------------------- /.github/FUNDING.yml: -------------------------------------------------------------------------------- 1 | github: Zzzul 2 | ko_fi: mzulfahmi 3 | custom: ['https://ko-fi.com/mzulfahmi', 'https://saweria.co/zzzul'] 4 | -------------------------------------------------------------------------------- /public/mazer/images/samples/building.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zzzul/generator/HEAD/public/mazer/images/samples/building.jpg -------------------------------------------------------------------------------- /public/mazer/images/samples/origami.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zzzul/generator/HEAD/public/mazer/images/samples/origami.jpg -------------------------------------------------------------------------------- /resources/views/layouts/app.blade.php: -------------------------------------------------------------------------------- 1 | @include('layouts.header') 2 | 3 | @yield('content') 4 | 5 | @include('layouts.footer') 6 | -------------------------------------------------------------------------------- /public/mazer/images/samples/bg-mountain.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zzzul/generator/HEAD/public/mazer/images/samples/bg-mountain.jpg -------------------------------------------------------------------------------- /public/mazer/images/samples/motorcycle.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zzzul/generator/HEAD/public/mazer/images/samples/motorcycle.jpg -------------------------------------------------------------------------------- /public/mazer/images/samples/architecture1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zzzul/generator/HEAD/public/mazer/images/samples/architecture1.jpg -------------------------------------------------------------------------------- /.gitattributes: -------------------------------------------------------------------------------- 1 | * text=auto 2 | *.css linguist-vendored 3 | *.scss linguist-vendored 4 | *.js linguist-vendored 5 | CHANGELOG.md export-ignore 6 | -------------------------------------------------------------------------------- /public/mazer/fonts/vendor/@icon/dripicons/dripicons.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zzzul/generator/HEAD/public/mazer/fonts/vendor/@icon/dripicons/dripicons.eot -------------------------------------------------------------------------------- /public/mazer/fonts/vendor/@icon/dripicons/dripicons.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zzzul/generator/HEAD/public/mazer/fonts/vendor/@icon/dripicons/dripicons.ttf -------------------------------------------------------------------------------- /public/mazer/fonts/vendor/@icon/dripicons/dripicons.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zzzul/generator/HEAD/public/mazer/fonts/vendor/@icon/dripicons/dripicons.woff -------------------------------------------------------------------------------- /public/mazer/fonts/vendor/summernote/dist/summernote.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zzzul/generator/HEAD/public/mazer/fonts/vendor/summernote/dist/summernote.eot -------------------------------------------------------------------------------- /public/mazer/fonts/vendor/summernote/dist/summernote.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zzzul/generator/HEAD/public/mazer/fonts/vendor/summernote/dist/summernote.ttf -------------------------------------------------------------------------------- /public/mazer/fonts/vendor/summernote/dist/summernote.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zzzul/generator/HEAD/public/mazer/fonts/vendor/summernote/dist/summernote.woff -------------------------------------------------------------------------------- /public/mazer/fonts/vendor/summernote/dist/summernote.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zzzul/generator/HEAD/public/mazer/fonts/vendor/summernote/dist/summernote.woff2 -------------------------------------------------------------------------------- /public/mazer/fonts/vendor/bootstrap-icons/bootstrap-icons.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zzzul/generator/HEAD/public/mazer/fonts/vendor/bootstrap-icons/bootstrap-icons.woff -------------------------------------------------------------------------------- /public/mazer/fonts/vendor/bootstrap-icons/bootstrap-icons.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zzzul/generator/HEAD/public/mazer/fonts/vendor/bootstrap-icons/bootstrap-icons.woff2 -------------------------------------------------------------------------------- /public/mazer/js/extensions/skins/ui/oxide/fonts/tinymce-mobile.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zzzul/generator/HEAD/public/mazer/js/extensions/skins/ui/oxide/fonts/tinymce-mobile.woff -------------------------------------------------------------------------------- /storage/framework/.gitignore: -------------------------------------------------------------------------------- 1 | compiled.php 2 | config.php 3 | down 4 | events.scanned.php 5 | maintenance.php 6 | routes.php 7 | routes.scanned.php 8 | schedule-* 9 | services.json 10 | -------------------------------------------------------------------------------- /public/mazer/js/extensions/skins/ui/oxide-dark/fonts/tinymce-mobile.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zzzul/generator/HEAD/public/mazer/js/extensions/skins/ui/oxide-dark/fonts/tinymce-mobile.woff -------------------------------------------------------------------------------- /public/mazer/fonts/vendor/@fortawesome/fontawesome-free/webfa-brands-400.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zzzul/generator/HEAD/public/mazer/fonts/vendor/@fortawesome/fontawesome-free/webfa-brands-400.eot -------------------------------------------------------------------------------- /public/mazer/fonts/vendor/@fortawesome/fontawesome-free/webfa-brands-400.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zzzul/generator/HEAD/public/mazer/fonts/vendor/@fortawesome/fontawesome-free/webfa-brands-400.ttf -------------------------------------------------------------------------------- /public/mazer/fonts/vendor/@fortawesome/fontawesome-free/webfa-solid-900.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zzzul/generator/HEAD/public/mazer/fonts/vendor/@fortawesome/fontawesome-free/webfa-solid-900.eot -------------------------------------------------------------------------------- /public/mazer/fonts/vendor/@fortawesome/fontawesome-free/webfa-solid-900.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zzzul/generator/HEAD/public/mazer/fonts/vendor/@fortawesome/fontawesome-free/webfa-solid-900.ttf -------------------------------------------------------------------------------- /public/mazer/fonts/vendor/@fortawesome/fontawesome-free/webfa-solid-900.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zzzul/generator/HEAD/public/mazer/fonts/vendor/@fortawesome/fontawesome-free/webfa-solid-900.woff -------------------------------------------------------------------------------- /public/mazer/fonts/vendor/@fontsource/nunito/files/nunito-all-300-normal.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zzzul/generator/HEAD/public/mazer/fonts/vendor/@fontsource/nunito/files/nunito-all-300-normal.woff -------------------------------------------------------------------------------- /public/mazer/fonts/vendor/@fontsource/nunito/files/nunito-all-400-normal.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zzzul/generator/HEAD/public/mazer/fonts/vendor/@fontsource/nunito/files/nunito-all-400-normal.woff -------------------------------------------------------------------------------- /public/mazer/fonts/vendor/@fontsource/nunito/files/nunito-all-600-normal.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zzzul/generator/HEAD/public/mazer/fonts/vendor/@fontsource/nunito/files/nunito-all-600-normal.woff -------------------------------------------------------------------------------- /public/mazer/fonts/vendor/@fontsource/nunito/files/nunito-all-700-normal.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zzzul/generator/HEAD/public/mazer/fonts/vendor/@fontsource/nunito/files/nunito-all-700-normal.woff -------------------------------------------------------------------------------- /public/mazer/fonts/vendor/@fontsource/nunito/files/nunito-all-800-normal.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zzzul/generator/HEAD/public/mazer/fonts/vendor/@fontsource/nunito/files/nunito-all-800-normal.woff -------------------------------------------------------------------------------- /public/mazer/fonts/vendor/@fortawesome/fontawesome-free/webfa-brands-400.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zzzul/generator/HEAD/public/mazer/fonts/vendor/@fortawesome/fontawesome-free/webfa-brands-400.woff -------------------------------------------------------------------------------- /public/mazer/fonts/vendor/@fortawesome/fontawesome-free/webfa-brands-400.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zzzul/generator/HEAD/public/mazer/fonts/vendor/@fortawesome/fontawesome-free/webfa-brands-400.woff2 -------------------------------------------------------------------------------- /public/mazer/fonts/vendor/@fortawesome/fontawesome-free/webfa-regular-400.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zzzul/generator/HEAD/public/mazer/fonts/vendor/@fortawesome/fontawesome-free/webfa-regular-400.eot -------------------------------------------------------------------------------- /public/mazer/fonts/vendor/@fortawesome/fontawesome-free/webfa-regular-400.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zzzul/generator/HEAD/public/mazer/fonts/vendor/@fortawesome/fontawesome-free/webfa-regular-400.ttf -------------------------------------------------------------------------------- /public/mazer/fonts/vendor/@fortawesome/fontawesome-free/webfa-regular-400.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zzzul/generator/HEAD/public/mazer/fonts/vendor/@fortawesome/fontawesome-free/webfa-regular-400.woff -------------------------------------------------------------------------------- /public/mazer/fonts/vendor/@fortawesome/fontawesome-free/webfa-solid-900.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zzzul/generator/HEAD/public/mazer/fonts/vendor/@fortawesome/fontawesome-free/webfa-solid-900.woff2 -------------------------------------------------------------------------------- /public/mazer/fonts/vendor/@fontsource/nunito/files/nunito-latin-300-normal.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zzzul/generator/HEAD/public/mazer/fonts/vendor/@fontsource/nunito/files/nunito-latin-300-normal.woff2 -------------------------------------------------------------------------------- /public/mazer/fonts/vendor/@fontsource/nunito/files/nunito-latin-400-normal.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zzzul/generator/HEAD/public/mazer/fonts/vendor/@fontsource/nunito/files/nunito-latin-400-normal.woff2 -------------------------------------------------------------------------------- /public/mazer/fonts/vendor/@fontsource/nunito/files/nunito-latin-600-normal.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zzzul/generator/HEAD/public/mazer/fonts/vendor/@fontsource/nunito/files/nunito-latin-600-normal.woff2 -------------------------------------------------------------------------------- /public/mazer/fonts/vendor/@fontsource/nunito/files/nunito-latin-700-normal.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zzzul/generator/HEAD/public/mazer/fonts/vendor/@fontsource/nunito/files/nunito-latin-700-normal.woff2 -------------------------------------------------------------------------------- /public/mazer/fonts/vendor/@fontsource/nunito/files/nunito-latin-800-normal.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zzzul/generator/HEAD/public/mazer/fonts/vendor/@fontsource/nunito/files/nunito-latin-800-normal.woff2 -------------------------------------------------------------------------------- /public/mazer/fonts/vendor/@fortawesome/fontawesome-free/webfa-regular-400.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zzzul/generator/HEAD/public/mazer/fonts/vendor/@fortawesome/fontawesome-free/webfa-regular-400.woff2 -------------------------------------------------------------------------------- /public/mazer/js/extensions/toastify.js.LICENSE.txt: -------------------------------------------------------------------------------- 1 | /*! 2 | * Toastify js 1.11.2 3 | * https://github.com/apvarun/toastify-js 4 | * @license MIT licensed 5 | * 6 | * Copyright (C) 2018 Varun A P 7 | */ 8 | -------------------------------------------------------------------------------- /public/mazer/fonts/vendor/@fontsource/nunito/files/nunito-cyrillic-300-normal.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zzzul/generator/HEAD/public/mazer/fonts/vendor/@fontsource/nunito/files/nunito-cyrillic-300-normal.woff2 -------------------------------------------------------------------------------- /public/mazer/fonts/vendor/@fontsource/nunito/files/nunito-cyrillic-400-normal.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zzzul/generator/HEAD/public/mazer/fonts/vendor/@fontsource/nunito/files/nunito-cyrillic-400-normal.woff2 -------------------------------------------------------------------------------- /public/mazer/fonts/vendor/@fontsource/nunito/files/nunito-cyrillic-600-normal.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zzzul/generator/HEAD/public/mazer/fonts/vendor/@fontsource/nunito/files/nunito-cyrillic-600-normal.woff2 -------------------------------------------------------------------------------- /public/mazer/fonts/vendor/@fontsource/nunito/files/nunito-cyrillic-700-normal.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zzzul/generator/HEAD/public/mazer/fonts/vendor/@fontsource/nunito/files/nunito-cyrillic-700-normal.woff2 -------------------------------------------------------------------------------- /public/mazer/fonts/vendor/@fontsource/nunito/files/nunito-cyrillic-800-normal.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zzzul/generator/HEAD/public/mazer/fonts/vendor/@fontsource/nunito/files/nunito-cyrillic-800-normal.woff2 -------------------------------------------------------------------------------- /public/mazer/fonts/vendor/@fontsource/nunito/files/nunito-latin-ext-300-normal.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zzzul/generator/HEAD/public/mazer/fonts/vendor/@fontsource/nunito/files/nunito-latin-ext-300-normal.woff2 -------------------------------------------------------------------------------- /public/mazer/fonts/vendor/@fontsource/nunito/files/nunito-latin-ext-400-normal.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zzzul/generator/HEAD/public/mazer/fonts/vendor/@fontsource/nunito/files/nunito-latin-ext-400-normal.woff2 -------------------------------------------------------------------------------- /public/mazer/fonts/vendor/@fontsource/nunito/files/nunito-latin-ext-600-normal.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zzzul/generator/HEAD/public/mazer/fonts/vendor/@fontsource/nunito/files/nunito-latin-ext-600-normal.woff2 -------------------------------------------------------------------------------- /public/mazer/fonts/vendor/@fontsource/nunito/files/nunito-latin-ext-700-normal.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zzzul/generator/HEAD/public/mazer/fonts/vendor/@fontsource/nunito/files/nunito-latin-ext-700-normal.woff2 -------------------------------------------------------------------------------- /public/mazer/fonts/vendor/@fontsource/nunito/files/nunito-latin-ext-800-normal.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zzzul/generator/HEAD/public/mazer/fonts/vendor/@fontsource/nunito/files/nunito-latin-ext-800-normal.woff2 -------------------------------------------------------------------------------- /public/mazer/fonts/vendor/@fontsource/nunito/files/nunito-vietnamese-300-normal.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zzzul/generator/HEAD/public/mazer/fonts/vendor/@fontsource/nunito/files/nunito-vietnamese-300-normal.woff2 -------------------------------------------------------------------------------- /public/mazer/fonts/vendor/@fontsource/nunito/files/nunito-vietnamese-400-normal.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zzzul/generator/HEAD/public/mazer/fonts/vendor/@fontsource/nunito/files/nunito-vietnamese-400-normal.woff2 -------------------------------------------------------------------------------- /public/mazer/fonts/vendor/@fontsource/nunito/files/nunito-vietnamese-600-normal.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zzzul/generator/HEAD/public/mazer/fonts/vendor/@fontsource/nunito/files/nunito-vietnamese-600-normal.woff2 -------------------------------------------------------------------------------- /public/mazer/fonts/vendor/@fontsource/nunito/files/nunito-vietnamese-700-normal.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zzzul/generator/HEAD/public/mazer/fonts/vendor/@fontsource/nunito/files/nunito-vietnamese-700-normal.woff2 -------------------------------------------------------------------------------- /public/mazer/fonts/vendor/@fontsource/nunito/files/nunito-vietnamese-800-normal.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zzzul/generator/HEAD/public/mazer/fonts/vendor/@fontsource/nunito/files/nunito-vietnamese-800-normal.woff2 -------------------------------------------------------------------------------- /public/mazer/css/pages/error.css: -------------------------------------------------------------------------------- 1 | #error{background-color:#ebf3ff;padding:5rem 0}#error .img-error{padding:3rem 0;width:63%}#error .error-title{font-size:4rem;margin-top:3rem}body.theme-dark #error{background-color:#151521} 2 | -------------------------------------------------------------------------------- /public/mazer/fonts/vendor/@fontsource/nunito/files/nunito-cyrillic-ext-300-normal.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zzzul/generator/HEAD/public/mazer/fonts/vendor/@fontsource/nunito/files/nunito-cyrillic-ext-300-normal.woff2 -------------------------------------------------------------------------------- /public/mazer/fonts/vendor/@fontsource/nunito/files/nunito-cyrillic-ext-400-normal.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zzzul/generator/HEAD/public/mazer/fonts/vendor/@fontsource/nunito/files/nunito-cyrillic-ext-400-normal.woff2 -------------------------------------------------------------------------------- /public/mazer/fonts/vendor/@fontsource/nunito/files/nunito-cyrillic-ext-600-normal.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zzzul/generator/HEAD/public/mazer/fonts/vendor/@fontsource/nunito/files/nunito-cyrillic-ext-600-normal.woff2 -------------------------------------------------------------------------------- /public/mazer/fonts/vendor/@fontsource/nunito/files/nunito-cyrillic-ext-700-normal.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zzzul/generator/HEAD/public/mazer/fonts/vendor/@fontsource/nunito/files/nunito-cyrillic-ext-700-normal.woff2 -------------------------------------------------------------------------------- /public/mazer/fonts/vendor/@fontsource/nunito/files/nunito-cyrillic-ext-800-normal.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Zzzul/generator/HEAD/public/mazer/fonts/vendor/@fontsource/nunito/files/nunito-cyrillic-ext-800-normal.woff2 -------------------------------------------------------------------------------- /tests/TestCase.php: -------------------------------------------------------------------------------- 1 | 2 | 7 | 8 | -------------------------------------------------------------------------------- /.editorconfig: -------------------------------------------------------------------------------- 1 | root = true 2 | 3 | [*] 4 | charset = utf-8 5 | end_of_line = lf 6 | insert_final_newline = true 7 | indent_style = space 8 | indent_size = 4 9 | trim_trailing_whitespace = true 10 | 11 | [*.md] 12 | trim_trailing_whitespace = false 13 | 14 | [*.{yml,yaml}] 15 | indent_size = 2 16 | 17 | [docker-compose.yml] 18 | indent_size = 4 19 | -------------------------------------------------------------------------------- /tests/Unit/ExampleTest.php: -------------------------------------------------------------------------------- 1 | assertTrue(true); 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /app/Http/Middleware/EncryptCookies.php: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /app/Http/Middleware/VerifyCsrfToken.php: -------------------------------------------------------------------------------- 1 | star_0 2 | -------------------------------------------------------------------------------- /public/mazer/js/pages/form-editor.js: -------------------------------------------------------------------------------- 1 | (()=>{new Quill("#snow",{theme:"snow"}),new Quill("#bubble",{theme:"bubble"});new Quill("#full",{bounds:"#full-container .editor",modules:{toolbar:[[{font:[]},{size:[]}],["bold","italic","underline","strike"],[{color:[]},{background:[]}],[{script:"super"},{script:"sub"}],[{list:"ordered"},{list:"bullet"},{indent:"-1"},{indent:"+1"}],["direction",{align:[]}],["link","image","video"],["clean"]]},theme:"snow"})})(); -------------------------------------------------------------------------------- /database/seeders/DatabaseSeeder.php: -------------------------------------------------------------------------------- 1 | call(UserSeeder::class); 17 | $this->call(RoleAndPermissionSeeder::class); 18 | } 19 | } 20 | -------------------------------------------------------------------------------- /public/mazer/images/svg-loaders/oval.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /app/Http/Controllers/Controller.php: -------------------------------------------------------------------------------- 1 | 12 | * @license MIT 13 | */ 14 | 15 | /*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh */ 16 | -------------------------------------------------------------------------------- /tests/Feature/ExampleTest.php: -------------------------------------------------------------------------------- 1 | get('/'); 18 | 19 | $response->assertStatus(200); 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /public/mazer/js/pages/dashboard.js.LICENSE.txt: -------------------------------------------------------------------------------- 1 | /*! 2 | * ApexCharts v3.35.0 3 | * (c) 2018-2022 ApexCharts 4 | * Released under the MIT License. 5 | */ 6 | 7 | /*! svg.draggable.js - v2.2.2 - 2019-01-08 8 | * https://github.com/svgdotjs/svg.draggable.js 9 | * Copyright (c) 2019 Wout Fierens; Licensed MIT */ 10 | 11 | /*! svg.filter.js - v2.0.2 - 2016-02-24 12 | * https://github.com/wout/svg.filter.js 13 | * Copyright (c) 2016 Wout Fierens; Licensed MIT */ 14 | -------------------------------------------------------------------------------- /public/mazer/js/extensions/ui-apexchart.js.LICENSE.txt: -------------------------------------------------------------------------------- 1 | /*! 2 | * ApexCharts v3.35.0 3 | * (c) 2018-2022 ApexCharts 4 | * Released under the MIT License. 5 | */ 6 | 7 | /*! svg.draggable.js - v2.2.2 - 2019-01-08 8 | * https://github.com/svgdotjs/svg.draggable.js 9 | * Copyright (c) 2019 Wout Fierens; Licensed MIT */ 10 | 11 | /*! svg.filter.js - v2.0.2 - 2016-02-24 12 | * https://github.com/wout/svg.filter.js 13 | * Copyright (c) 2016 Wout Fierens; Licensed MIT */ 14 | -------------------------------------------------------------------------------- /app/Http/Middleware/TrustHosts.php: -------------------------------------------------------------------------------- 1 | allSubdomainsOfApplicationUrl(), 18 | ]; 19 | } 20 | } 21 | -------------------------------------------------------------------------------- /app/Http/Middleware/PreventRequestsDuringMaintenance.php: -------------------------------------------------------------------------------- 1 | make(Kernel::class)->bootstrap(); 19 | 20 | return $app; 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /app/Providers/BroadcastServiceProvider.php: -------------------------------------------------------------------------------- 1 | 3 | 4 | 5 | 6 | star1 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /public/mazer/css/widgets/chat.css: -------------------------------------------------------------------------------- 1 | .chat{border-radius:5px}.chat.chat-left .chat-message{background:#5a8dee!important;color:#fff;float:left!important}.chat .chat-message{background-color:#fafbfb!important;border-radius:.267rem!important;box-shadow:0 2px 6px 0 rgba(0,0,0,.3)!important;clear:both!important;color:#525361;float:right!important;margin:.2rem 0 1.8rem .2rem!important;max-width:calc(100% - 5rem)!important;padding:.75rem 1rem!important;position:relative!important;text-align:left!important;word-break:break-word!important} 2 | -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- 1 | { 2 | "private": true, 3 | "scripts": { 4 | "dev": "npm run development", 5 | "development": "mix", 6 | "watch": "mix watch", 7 | "watch-poll": "mix watch -- --watch-options-poll=1000", 8 | "hot": "mix watch --hot", 9 | "prod": "npm run production", 10 | "production": "mix --production" 11 | }, 12 | "devDependencies": { 13 | "axios": "^0.21", 14 | "laravel-mix": "^6.0.6", 15 | "lodash": "^4.17.19", 16 | "postcss": "^8.1.14" 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /app/Providers/AppServiceProvider.php: -------------------------------------------------------------------------------- 1 | expectsJson()) { 18 | return route('login'); 19 | } 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /public/mazer/js/extensions/skins/ui/oxide/content.mobile.min.css: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright (c) Tiny Technologies, Inc. All rights reserved. 3 | * Licensed under the LGPL or a commercial license. 4 | * For LGPL see License.txt in the project root for license information. 5 | * For commercial licenses see https://www.tiny.cloud/ 6 | */ 7 | .tinymce-mobile-unfocused-selections .tinymce-mobile-unfocused-selection{background-color:green;display:inline-block;opacity:.5;position:absolute}body{-webkit-text-size-adjust:none}body img{max-width:96vw}body table img{max-width:95%}body{font-family:sans-serif}table{border-collapse:collapse} 8 | -------------------------------------------------------------------------------- /public/mazer/js/extensions/skins/ui/oxide-dark/content.mobile.min.css: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright (c) Tiny Technologies, Inc. All rights reserved. 3 | * Licensed under the LGPL or a commercial license. 4 | * For LGPL see License.txt in the project root for license information. 5 | * For commercial licenses see https://www.tiny.cloud/ 6 | */ 7 | .tinymce-mobile-unfocused-selections .tinymce-mobile-unfocused-selection{background-color:green;display:inline-block;opacity:.5;position:absolute}body{-webkit-text-size-adjust:none}body img{max-width:96vw}body table img{max-width:95%}body{font-family:sans-serif}table{border-collapse:collapse} 8 | -------------------------------------------------------------------------------- /public/mazer/css/pages/rater-js.css: -------------------------------------------------------------------------------- 1 | .star-rating{background-image:url(../../../assets/images/vendor/rater-js/lib/star_0.svg?494b2810cf2dc00c305ba4fc0de9f1c2);background-position:0 0;background-repeat:repeat-x;cursor:pointer;display:inline-block;position:relative;width:0}.star-rating .star-value{background:url(../../../assets/images/vendor/rater-js/lib/star_1.svg?896e7fa54a15637c49aec0f0faff59be);background-repeat:repeat-x;height:100%;position:absolute;width:100%}.star-rating.disabled{cursor:default}.star-rating.is-busy{cursor:wait}.star-rating .star-value.rtl{filter:FlipH;-ms-filter:"FlipH";left:auto;right:0;transform:scaleX(-1)} 2 | 3 | -------------------------------------------------------------------------------- /lang/en/pagination.php: -------------------------------------------------------------------------------- 1 | '« Previous', 17 | 'next' => 'Next »', 18 | 19 | ]; 20 | -------------------------------------------------------------------------------- /webpack.mix.js: -------------------------------------------------------------------------------- 1 | const mix = require('laravel-mix'); 2 | 3 | /* 4 | |-------------------------------------------------------------------------- 5 | | Mix Asset Management 6 | |-------------------------------------------------------------------------- 7 | | 8 | | Mix provides a clean, fluent API for defining some Webpack build steps 9 | | for your Laravel applications. By default, we are compiling the CSS 10 | | file for the application as well as bundling up all the JS files. 11 | | 12 | */ 13 | 14 | mix.js('resources/js/app.js', 'public/js') 15 | .postCss('resources/css/app.css', 'public/css', [ 16 | // 17 | ]); 18 | -------------------------------------------------------------------------------- /routes/channels.php: -------------------------------------------------------------------------------- 1 | id === (int) $id; 18 | }); 19 | -------------------------------------------------------------------------------- /routes/api.php: -------------------------------------------------------------------------------- 1 | get('/user', function (Request $request) { 18 | return $request->user(); 19 | }); 20 | -------------------------------------------------------------------------------- /server.php: -------------------------------------------------------------------------------- 1 | 8 | */ 9 | 10 | $uri = urldecode( 11 | parse_url($_SERVER['REQUEST_URI'], PHP_URL_PATH) 12 | ); 13 | 14 | // This file allows us to emulate Apache's "mod_rewrite" functionality from the 15 | // built-in PHP web server. This provides a convenient way to test a Laravel 16 | // application without having installed a "real" web server software here. 17 | if ($uri !== '/' && file_exists(__DIR__.'/public'.$uri)) { 18 | return false; 19 | } 20 | 21 | require_once __DIR__.'/public/index.php'; 22 | -------------------------------------------------------------------------------- /app/Actions/Fortify/PasswordValidationRules.php: -------------------------------------------------------------------------------- 1 | letters() 22 | ->mixedCase() 23 | ->numbers() 24 | ->symbols() 25 | ->uncompromised() 26 | ]; 27 | } 28 | } 29 | -------------------------------------------------------------------------------- /routes/console.php: -------------------------------------------------------------------------------- 1 | comment(Inspiring::quote()); 19 | })->purpose('Display an inspiring quote'); 20 | -------------------------------------------------------------------------------- /lang/en.json: -------------------------------------------------------------------------------- 1 | { 2 | "The :attribute must contain at least one letter.": "The :attribute must contain at least one letter.", 3 | "The :attribute must contain at least one number.": "The :attribute must contain at least one number.", 4 | "The :attribute must contain at least one symbol.": "The :attribute must contain at least one symbol.", 5 | "The :attribute must contain at least one uppercase and one lowercase letter.": "The :attribute must contain at least one uppercase and one lowercase letter.", 6 | "The given :attribute has appeared in a data leak. Please choose a different :attribute.": "The given :attribute has appeared in a data leak. Please choose a different :attribute." 7 | } 8 | -------------------------------------------------------------------------------- /public/.htaccess: -------------------------------------------------------------------------------- 1 | 2 | 3 | Options -MultiViews -Indexes 4 | 5 | 6 | RewriteEngine On 7 | 8 | # Handle Authorization Header 9 | RewriteCond %{HTTP:Authorization} . 10 | RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}] 11 | 12 | # Redirect Trailing Slashes If Not A Folder... 13 | RewriteCond %{REQUEST_FILENAME} !-d 14 | RewriteCond %{REQUEST_URI} (.+)/$ 15 | RewriteRule ^ %1 [L,R=301] 16 | 17 | # Send Requests To Front Controller... 18 | RewriteCond %{REQUEST_FILENAME} !-d 19 | RewriteCond %{REQUEST_FILENAME} !-f 20 | RewriteRule ^ index.php [L] 21 | 22 | -------------------------------------------------------------------------------- /public/mazer/js/extensions/datatables.js.LICENSE.txt: -------------------------------------------------------------------------------- 1 | /*! 2 | * Sizzle CSS Selector Engine v2.3.6 3 | * https://sizzlejs.com/ 4 | * 5 | * Copyright JS Foundation and other contributors 6 | * Released under the MIT license 7 | * https://js.foundation/ 8 | * 9 | * Date: 2021-02-16 10 | */ 11 | 12 | /*! 13 | * jQuery JavaScript Library v3.6.0 14 | * https://jquery.com/ 15 | * 16 | * Includes Sizzle.js 17 | * https://sizzlejs.com/ 18 | * 19 | * Copyright OpenJS Foundation and other contributors 20 | * Released under the MIT license 21 | * https://jquery.org/license 22 | * 23 | * Date: 2021-03-02T17:08Z 24 | */ 25 | 26 | /*! DataTables 1.11.5 27 | * ©2008-2021 SpryMedia Ltd - datatables.net/license 28 | */ 29 | -------------------------------------------------------------------------------- /database/seeders/UserSeeder.php: -------------------------------------------------------------------------------- 1 | 'Admin', 19 | 'email' => 'admin@example.com', 20 | 'email_verified_at' => now(), 21 | 'password' => '$2y$10$92IXUNpkjO0rOQ5byMi.Ye4oKoEa3Ro9llC/.og/at2.uheWG/igi', // password 22 | 'remember_token' => \Str::random(10), 23 | ]); 24 | 25 | User::factory()->count(100)->create(); 26 | } 27 | } 28 | -------------------------------------------------------------------------------- /app/Http/Requests/StoreRoleRequest.php: -------------------------------------------------------------------------------- 1 | 'required|min:2|max:30|unique:roles,name', 28 | 'permissions' => 'required' 29 | ]; 30 | } 31 | } 32 | -------------------------------------------------------------------------------- /app/Providers/AuthServiceProvider.php: -------------------------------------------------------------------------------- 1 | 'App\Policies\ModelPolicy', 17 | ]; 18 | 19 | /** 20 | * Register any authentication / authorization services. 21 | * 22 | * @return void 23 | */ 24 | public function boot() 25 | { 26 | $this->registerPolicies(); 27 | 28 | // 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /app/Http/Requests/UpdateRoleRequest.php: -------------------------------------------------------------------------------- 1 | 'required|min:2|max:30|unique:roles,name,' . $this->role, 28 | 'permissions' => 'required' 29 | ]; 30 | } 31 | } 32 | -------------------------------------------------------------------------------- /lang/en/auth.php: -------------------------------------------------------------------------------- 1 | 'These credentials do not match our records.', 17 | 'password' => 'The provided password is incorrect.', 18 | 'throttle' => 'Too many login attempts. Please try again in :seconds seconds.', 19 | 20 | ]; 21 | -------------------------------------------------------------------------------- /public/mazer/css/widgets/todo.css: -------------------------------------------------------------------------------- 1 | .gu-mirror{-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=80)";filter:alpha(opacity=80);margin:0!important;opacity:.8;position:fixed!important;z-index:9999!important}.gu-hide{display:none!important}.gu-unselectable{-webkit-user-select:none!important;-moz-user-select:none!important;-ms-user-select:none!important;user-select:none!important}.gu-transit{-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=20)";filter:alpha(opacity=20);opacity:.2} 2 | .widget-todo-list-wrapper{margin:0;padding:0}.widget-todo-item{list-style:none;padding:.8rem 2rem .8rem .8rem}.widget-todo-item:hover{background-color:#f8f9fa}.widget-todo-item .checkbox{margin-left:1rem}.widget-todo-item i,.widget-todo-item svg{cursor:move;font-size:12px;height:1rem} 3 | -------------------------------------------------------------------------------- /app/Http/Middleware/TrustProxies.php: -------------------------------------------------------------------------------- 1 | 2 | 14 | 15 | 16 | 17 | 18 | @stack('js') 19 | 20 | 21 | 22 | -------------------------------------------------------------------------------- /resources/views/layouts/auth.blade.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | @yield('title') - {{ config('app.name', 'Laravel') }} 8 | 9 | @stack('css') 10 | 11 | 12 | 13 | 14 | 15 | 16 |
17 | @yield('content') 18 |
19 | 20 | 21 | 22 | 23 | 24 | -------------------------------------------------------------------------------- /public/mazer/images/svg-loaders/tail-spin.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /app/Providers/ViewServiceProvider.php: -------------------------------------------------------------------------------- 1 | with( 30 | 'roles', 31 | Role::select('id', 'name')->get() 32 | ); 33 | }); 34 | } 35 | } 36 | -------------------------------------------------------------------------------- /lang/en/passwords.php: -------------------------------------------------------------------------------- 1 | 'Your password has been reset!', 17 | 'sent' => 'We have emailed your password reset link!', 18 | 'throttled' => 'Please wait before retrying.', 19 | 'token' => 'This password reset token is invalid.', 20 | 'user' => "We can't find a user with that email address.", 21 | 22 | ]; 23 | -------------------------------------------------------------------------------- /public/mazer/js/extensions/skins/ui/oxide/skin.shadowdom.min.css: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright (c) Tiny Technologies, Inc. All rights reserved. 3 | * Licensed under the LGPL or a commercial license. 4 | * For LGPL see License.txt in the project root for license information. 5 | * For commercial licenses see https://www.tiny.cloud/ 6 | */ 7 | body.tox-dialog__disable-scroll{overflow:hidden}.tox-fullscreen{border:0;height:100%;margin:0;overflow:hidden;-ms-scroll-chaining:none;overscroll-behavior:none;padding:0;touch-action:pinch-zoom;width:100%}.tox.tox-tinymce.tox-fullscreen .tox-statusbar__resize-handle{display:none}.tox-shadowhost.tox-fullscreen,.tox.tox-tinymce.tox-fullscreen{left:0;position:fixed;top:0;z-index:1200}.tox.tox-tinymce.tox-fullscreen{background-color:transparent}.tox-fullscreen .tox.tox-tinymce-aux,.tox-fullscreen~.tox.tox-tinymce-aux{z-index:1201} 8 | -------------------------------------------------------------------------------- /database/migrations/2022_01_12_072103_add_avatar_to_users_table.php: -------------------------------------------------------------------------------- 1 | string('avatar')->nullable()->after('password'); 18 | }); 19 | } 20 | 21 | /** 22 | * Reverse the migrations. 23 | * 24 | * @return void 25 | */ 26 | public function down() 27 | { 28 | Schema::table('users', function (Blueprint $table) { 29 | $table->dropColumn('photo'); 30 | }); 31 | } 32 | }; 33 | -------------------------------------------------------------------------------- /public/mazer/js/extensions/skins/ui/oxide-dark/skin.shadowdom.min.css: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright (c) Tiny Technologies, Inc. All rights reserved. 3 | * Licensed under the LGPL or a commercial license. 4 | * For LGPL see License.txt in the project root for license information. 5 | * For commercial licenses see https://www.tiny.cloud/ 6 | */ 7 | body.tox-dialog__disable-scroll{overflow:hidden}.tox-fullscreen{border:0;height:100%;margin:0;overflow:hidden;-ms-scroll-chaining:none;overscroll-behavior:none;padding:0;touch-action:pinch-zoom;width:100%}.tox.tox-tinymce.tox-fullscreen .tox-statusbar__resize-handle{display:none}.tox-shadowhost.tox-fullscreen,.tox.tox-tinymce.tox-fullscreen{left:0;position:fixed;top:0;z-index:1200}.tox.tox-tinymce.tox-fullscreen{background-color:transparent}.tox-fullscreen .tox.tox-tinymce-aux,.tox-fullscreen~.tox.tox-tinymce-aux{z-index:1201} 8 | -------------------------------------------------------------------------------- /app/Actions/Fortify/ResetUserPassword.php: -------------------------------------------------------------------------------- 1 | $this->passwordRules(), 24 | ])->validate(); 25 | 26 | $user->forceFill([ 27 | 'password' => Hash::make($input['password']), 28 | ])->save(); 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /app/Providers/EventServiceProvider.php: -------------------------------------------------------------------------------- 1 | [ 19 | SendEmailVerificationNotification::class, 20 | ], 21 | ]; 22 | 23 | /** 24 | * Register any events for your application. 25 | * 26 | * @return void 27 | */ 28 | public function boot() 29 | { 30 | // 31 | } 32 | } 33 | -------------------------------------------------------------------------------- /database/migrations/2014_10_12_100000_create_password_resets_table.php: -------------------------------------------------------------------------------- 1 | string('email')->index(); 18 | $table->string('token'); 19 | $table->timestamp('created_at')->nullable(); 20 | }); 21 | } 22 | 23 | /** 24 | * Reverse the migrations. 25 | * 26 | * @return void 27 | */ 28 | public function down() 29 | { 30 | Schema::dropIfExists('password_resets'); 31 | } 32 | }; 33 | -------------------------------------------------------------------------------- /routes/web.php: -------------------------------------------------------------------------------- 1 | group(function () { 11 | Route::get('/', fn () => view('dashboard')); 12 | Route::get('/dashboard', fn () => view('dashboard')); 13 | 14 | Route::get('/profile', ProfileController::class)->name('profile'); 15 | 16 | Route::resource('users', UserController::class); 17 | Route::resource('roles', RoleAndPermissionController::class); 18 | }); 19 | 20 | Route::middleware(['auth', 'permission:test view'])->get('/tests', function () { 21 | dd('This is just a test and an example for permission and sidebar menu. You can remove this line on web.php, config/permission.php and config/generator.php'); 22 | })->name('tests.index'); 23 | -------------------------------------------------------------------------------- /resources/views/users/include/action.blade.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | @can('user edit') 7 | 8 | 9 | 10 | @endcan 11 | 12 | @can('user delete') 13 |
15 | @csrf 16 | @method('delete') 17 | 18 | 21 |
22 | @endcan 23 | 24 | -------------------------------------------------------------------------------- /public/mazer/js/extensions/skins/ui/oxide/content.mobile.css: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright (c) Tiny Technologies, Inc. All rights reserved. 3 | * Licensed under the LGPL or a commercial license. 4 | * For LGPL see License.txt in the project root for license information. 5 | * For commercial licenses see https://www.tiny.cloud/ 6 | */ 7 | .tinymce-mobile-unfocused-selections .tinymce-mobile-unfocused-selection { 8 | /* Note: this file is used inside the content, so isn't part of theming */ 9 | background-color: green; 10 | display: inline-block; 11 | opacity: 0.5; 12 | position: absolute; 13 | } 14 | body { 15 | -webkit-text-size-adjust: none; 16 | } 17 | body img { 18 | /* this is related to the content margin */ 19 | max-width: 96vw; 20 | } 21 | body table img { 22 | max-width: 95%; 23 | } 24 | body { 25 | font-family: sans-serif; 26 | } 27 | table { 28 | border-collapse: collapse; 29 | } 30 | -------------------------------------------------------------------------------- /public/mazer/js/extensions/skins/ui/oxide-dark/content.mobile.css: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright (c) Tiny Technologies, Inc. All rights reserved. 3 | * Licensed under the LGPL or a commercial license. 4 | * For LGPL see License.txt in the project root for license information. 5 | * For commercial licenses see https://www.tiny.cloud/ 6 | */ 7 | .tinymce-mobile-unfocused-selections .tinymce-mobile-unfocused-selection { 8 | /* Note: this file is used inside the content, so isn't part of theming */ 9 | background-color: green; 10 | display: inline-block; 11 | opacity: 0.5; 12 | position: absolute; 13 | } 14 | body { 15 | -webkit-text-size-adjust: none; 16 | } 17 | body img { 18 | /* this is related to the content margin */ 19 | max-width: 96vw; 20 | } 21 | body table img { 22 | max-width: 95%; 23 | } 24 | body { 25 | font-family: sans-serif; 26 | } 27 | table { 28 | border-collapse: collapse; 29 | } 30 | -------------------------------------------------------------------------------- /resources/views/roles/include/action.blade.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | @can('role & permission edit') 7 | 8 | 9 | 10 | @endcan 11 | 12 | @can('role & permission delete') 13 |
15 | @csrf 16 | @method('delete') 17 | 18 | 21 |
22 | @endcan 23 | 24 | -------------------------------------------------------------------------------- /app/Http/Middleware/RedirectIfAuthenticated.php: -------------------------------------------------------------------------------- 1 | check()) { 26 | return redirect(RouteServiceProvider::HOME); 27 | } 28 | } 29 | 30 | return $next($request); 31 | } 32 | } 33 | -------------------------------------------------------------------------------- /public/mazer/images/svg-loaders/puff.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /public/mazer/js/extensions/summernote.js.LICENSE.txt: -------------------------------------------------------------------------------- 1 | /*! 2 | * 3 | * Super simple wysiwyg editor v0.8.18 4 | * https://summernote.org 5 | * 6 | * 7 | * Copyright 2013- Alan Hong. and other contributors 8 | * summernote may be freely distributed under the MIT license. 9 | * 10 | * Date: 2020-05-20T16:47Z 11 | * 12 | */ 13 | 14 | /*! 15 | * Sizzle CSS Selector Engine v2.3.6 16 | * https://sizzlejs.com/ 17 | * 18 | * Copyright JS Foundation and other contributors 19 | * Released under the MIT license 20 | * https://js.foundation/ 21 | * 22 | * Date: 2021-02-16 23 | */ 24 | 25 | /*! 26 | * jQuery JavaScript Library v3.6.0 27 | * https://jquery.com/ 28 | * 29 | * Includes Sizzle.js 30 | * https://sizzlejs.com/ 31 | * 32 | * Copyright OpenJS Foundation and other contributors 33 | * Released under the MIT license 34 | * https://jquery.org/license 35 | * 36 | * Date: 2021-03-02T17:08Z 37 | */ 38 | -------------------------------------------------------------------------------- /database/seeders/RoleAndPermissionSeeder.php: -------------------------------------------------------------------------------- 1 | forgetCachedPermissions(); 19 | 20 | $roleAdmin = Role::create(['name' => 'Admin']); 21 | 22 | foreach (config('permission.permissions') as $permission) { 23 | foreach ($permission['access'] as $access) { 24 | Permission::firstOrCreate(['name' => $access]); 25 | } 26 | } 27 | 28 | $userAdmin = User::first(); 29 | $userAdmin->assignRole('admin'); 30 | $roleAdmin->givePermissionTo(Permission::all()); 31 | } 32 | } 33 | -------------------------------------------------------------------------------- /app/Exceptions/Handler.php: -------------------------------------------------------------------------------- 1 | reportable(function (Throwable $e) { 38 | // 39 | }); 40 | } 41 | } 42 | -------------------------------------------------------------------------------- /.github/workflows/dependency-review.yml: -------------------------------------------------------------------------------- 1 | # Dependency Review Action 2 | # 3 | # This Action will scan dependency manifest files that change as part of a Pull Request, surfacing known-vulnerable versions of the packages declared or updated in the PR. Once installed, if the workflow run is marked as required, PRs introducing known-vulnerable packages will be blocked from merging. 4 | # 5 | # Source repository: https://github.com/actions/dependency-review-action 6 | # Public documentation: https://docs.github.com/en/code-security/supply-chain-security/understanding-your-software-supply-chain/about-dependency-review#dependency-review-enforcement 7 | name: 'Dependency Review' 8 | on: [pull_request] 9 | 10 | permissions: 11 | contents: read 12 | 13 | jobs: 14 | dependency-review: 15 | runs-on: ubuntu-latest 16 | steps: 17 | - name: 'Checkout Repository' 18 | uses: actions/checkout@v3 19 | - name: 'Dependency Review' 20 | uses: actions/dependency-review-action@v2 21 | -------------------------------------------------------------------------------- /config/cors.php: -------------------------------------------------------------------------------- 1 | ['api/*', 'sanctum/csrf-cookie'], 19 | 20 | 'allowed_methods' => ['*'], 21 | 22 | 'allowed_origins' => ['*'], 23 | 24 | 'allowed_origins_patterns' => [], 25 | 26 | 'allowed_headers' => ['*'], 27 | 28 | 'exposed_headers' => [], 29 | 30 | 'max_age' => 0, 31 | 32 | 'supports_credentials' => false, 33 | 34 | ]; 35 | -------------------------------------------------------------------------------- /database/migrations/2014_10_12_000000_create_users_table.php: -------------------------------------------------------------------------------- 1 | id(); 18 | $table->string('name'); 19 | $table->string('email')->unique(); 20 | $table->timestamp('email_verified_at')->nullable(); 21 | $table->string('password'); 22 | $table->rememberToken(); 23 | $table->timestamps(); 24 | }); 25 | } 26 | 27 | /** 28 | * Reverse the migrations. 29 | * 30 | * @return void 31 | */ 32 | public function down() 33 | { 34 | Schema::dropIfExists('users'); 35 | } 36 | }; 37 | -------------------------------------------------------------------------------- /resources/js/bootstrap.js: -------------------------------------------------------------------------------- 1 | window._ = require('lodash'); 2 | 3 | /** 4 | * We'll load the axios HTTP library which allows us to easily issue requests 5 | * to our Laravel back-end. This library automatically handles sending the 6 | * CSRF token as a header based on the value of the "XSRF" token cookie. 7 | */ 8 | 9 | window.axios = require('axios'); 10 | 11 | window.axios.defaults.headers.common['X-Requested-With'] = 'XMLHttpRequest'; 12 | 13 | /** 14 | * Echo exposes an expressive API for subscribing to channels and listening 15 | * for events that are broadcast by Laravel. Echo and event broadcasting 16 | * allows your team to easily build robust real-time web applications. 17 | */ 18 | 19 | // import Echo from 'laravel-echo'; 20 | 21 | // window.Pusher = require('pusher-js'); 22 | 23 | // window.Echo = new Echo({ 24 | // broadcaster: 'pusher', 25 | // key: process.env.MIX_PUSHER_APP_KEY, 26 | // cluster: process.env.MIX_PUSHER_APP_CLUSTER, 27 | // forceTLS: true 28 | // }); 29 | -------------------------------------------------------------------------------- /app/Console/Kernel.php: -------------------------------------------------------------------------------- 1 | command('inspire')->hourly(); 28 | } 29 | 30 | /** 31 | * Register the commands for the application. 32 | * 33 | * @return void 34 | */ 35 | protected function commands() 36 | { 37 | $this->load(__DIR__.'/Commands'); 38 | 39 | require base_path('routes/console.php'); 40 | } 41 | } 42 | -------------------------------------------------------------------------------- /database/migrations/2019_08_19_000000_create_failed_jobs_table.php: -------------------------------------------------------------------------------- 1 | id(); 18 | $table->string('uuid')->unique(); 19 | $table->text('connection'); 20 | $table->text('queue'); 21 | $table->longText('payload'); 22 | $table->longText('exception'); 23 | $table->timestamp('failed_at')->useCurrent(); 24 | }); 25 | } 26 | 27 | /** 28 | * Reverse the migrations. 29 | * 30 | * @return void 31 | */ 32 | public function down() 33 | { 34 | Schema::dropIfExists('failed_jobs'); 35 | } 36 | }; 37 | -------------------------------------------------------------------------------- /public/mazer/images/svg-loaders/three-dots.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /resources/views/dashboard.blade.php: -------------------------------------------------------------------------------- 1 | @extends('layouts.app') 2 | 3 | @section('title', __('Dashboard')) 4 | 5 | @section('content') 6 |
7 |

Dashboard

8 |
9 | 10 |
11 |
12 |
13 | @if (session('status')) 14 |
15 | {{ session('status') }} 16 | 17 |
18 | @endif 19 | 20 |
21 |
22 |

Hi 👋, {{ auth()->user()->name }}

23 |

{{ __('You are logged in!') }}

24 |
25 |
26 |
27 |
28 |
29 | @endsection 30 | -------------------------------------------------------------------------------- /public/mazer/images/svg-loaders/ball-triangle.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /public/mazer/js/extensions/skins/ui/oxide/skin.shadowdom.css: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright (c) Tiny Technologies, Inc. All rights reserved. 3 | * Licensed under the LGPL or a commercial license. 4 | * For LGPL see License.txt in the project root for license information. 5 | * For commercial licenses see https://www.tiny.cloud/ 6 | */ 7 | body.tox-dialog__disable-scroll { 8 | overflow: hidden; 9 | } 10 | .tox-fullscreen { 11 | border: 0; 12 | height: 100%; 13 | margin: 0; 14 | overflow: hidden; 15 | -ms-scroll-chaining: none; 16 | overscroll-behavior: none; 17 | padding: 0; 18 | touch-action: pinch-zoom; 19 | width: 100%; 20 | } 21 | .tox.tox-tinymce.tox-fullscreen .tox-statusbar__resize-handle { 22 | display: none; 23 | } 24 | .tox.tox-tinymce.tox-fullscreen, 25 | .tox-shadowhost.tox-fullscreen { 26 | left: 0; 27 | position: fixed; 28 | top: 0; 29 | z-index: 1200; 30 | } 31 | .tox.tox-tinymce.tox-fullscreen { 32 | background-color: transparent; 33 | } 34 | .tox-fullscreen .tox.tox-tinymce-aux, 35 | .tox-fullscreen ~ .tox.tox-tinymce-aux { 36 | z-index: 1201; 37 | } 38 | -------------------------------------------------------------------------------- /public/mazer/js/extensions/skins/ui/oxide-dark/skin.shadowdom.css: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright (c) Tiny Technologies, Inc. All rights reserved. 3 | * Licensed under the LGPL or a commercial license. 4 | * For LGPL see License.txt in the project root for license information. 5 | * For commercial licenses see https://www.tiny.cloud/ 6 | */ 7 | body.tox-dialog__disable-scroll { 8 | overflow: hidden; 9 | } 10 | .tox-fullscreen { 11 | border: 0; 12 | height: 100%; 13 | margin: 0; 14 | overflow: hidden; 15 | -ms-scroll-chaining: none; 16 | overscroll-behavior: none; 17 | padding: 0; 18 | touch-action: pinch-zoom; 19 | width: 100%; 20 | } 21 | .tox.tox-tinymce.tox-fullscreen .tox-statusbar__resize-handle { 22 | display: none; 23 | } 24 | .tox.tox-tinymce.tox-fullscreen, 25 | .tox-shadowhost.tox-fullscreen { 26 | left: 0; 27 | position: fixed; 28 | top: 0; 29 | z-index: 1200; 30 | } 31 | .tox.tox-tinymce.tox-fullscreen { 32 | background-color: transparent; 33 | } 34 | .tox-fullscreen .tox.tox-tinymce-aux, 35 | .tox-fullscreen ~ .tox.tox-tinymce-aux { 36 | z-index: 1201; 37 | } 38 | -------------------------------------------------------------------------------- /config/services.php: -------------------------------------------------------------------------------- 1 | [ 18 | 'domain' => env('MAILGUN_DOMAIN'), 19 | 'secret' => env('MAILGUN_SECRET'), 20 | 'endpoint' => env('MAILGUN_ENDPOINT', 'api.mailgun.net'), 21 | ], 22 | 23 | 'postmark' => [ 24 | 'token' => env('POSTMARK_TOKEN'), 25 | ], 26 | 27 | 'ses' => [ 28 | 'key' => env('AWS_ACCESS_KEY_ID'), 29 | 'secret' => env('AWS_SECRET_ACCESS_KEY'), 30 | 'region' => env('AWS_DEFAULT_REGION', 'us-east-1'), 31 | ], 32 | 33 | ]; 34 | -------------------------------------------------------------------------------- /database/migrations/2014_10_12_200000_add_two_factor_columns_to_users_table.php: -------------------------------------------------------------------------------- 1 | text('two_factor_secret') 18 | ->after('password') 19 | ->nullable(); 20 | 21 | $table->text('two_factor_recovery_codes') 22 | ->after('two_factor_secret') 23 | ->nullable(); 24 | }); 25 | } 26 | 27 | /** 28 | * Reverse the migrations. 29 | * 30 | * @return void 31 | */ 32 | public function down() 33 | { 34 | Schema::table('users', function (Blueprint $table) { 35 | $table->dropColumn('two_factor_secret', 'two_factor_recovery_codes'); 36 | }); 37 | } 38 | }; 39 | -------------------------------------------------------------------------------- /.env.example: -------------------------------------------------------------------------------- 1 | APP_NAME=Laravel 2 | APP_ENV=local 3 | APP_KEY= 4 | APP_DEBUG=true 5 | APP_URL=http://localhost 6 | 7 | LOG_CHANNEL=stack 8 | LOG_DEPRECATIONS_CHANNEL=null 9 | LOG_LEVEL=debug 10 | 11 | DB_CONNECTION=mysql 12 | DB_HOST=127.0.0.1 13 | DB_PORT=3306 14 | DB_DATABASE=generator 15 | DB_USERNAME=root 16 | DB_PASSWORD= 17 | 18 | BROADCAST_DRIVER=log 19 | CACHE_DRIVER=file 20 | FILESYSTEM_DRIVER=local 21 | QUEUE_CONNECTION=sync 22 | SESSION_DRIVER=file 23 | SESSION_LIFETIME=120 24 | 25 | MEMCACHED_HOST=127.0.0.1 26 | 27 | REDIS_HOST=127.0.0.1 28 | REDIS_PASSWORD=null 29 | REDIS_PORT=6379 30 | 31 | MAIL_MAILER=smtp 32 | MAIL_HOST=mailhog 33 | MAIL_PORT=1025 34 | MAIL_USERNAME=null 35 | MAIL_PASSWORD=null 36 | MAIL_ENCRYPTION=null 37 | MAIL_FROM_ADDRESS=null 38 | MAIL_FROM_NAME="${APP_NAME}" 39 | 40 | AWS_ACCESS_KEY_ID= 41 | AWS_SECRET_ACCESS_KEY= 42 | AWS_DEFAULT_REGION=us-east-1 43 | AWS_BUCKET= 44 | AWS_USE_PATH_STYLE_ENDPOINT=false 45 | 46 | PUSHER_APP_ID= 47 | PUSHER_APP_KEY= 48 | PUSHER_APP_SECRET= 49 | PUSHER_APP_CLUSTER=mt1 50 | 51 | MIX_PUSHER_APP_KEY="${PUSHER_APP_KEY}" 52 | MIX_PUSHER_APP_CLUSTER="${PUSHER_APP_CLUSTER}" 53 | -------------------------------------------------------------------------------- /public/mazer/images/svg-loaders/hearts.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /public/mazer/images/svg-loaders/rings.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /resources/views/layouts/header.blade.php: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | @yield('title') - {{ config('app.name', 'Laravel') }} 9 | 10 | 11 | 12 | 13 | 14 | @stack('css') 15 | 16 | 17 | 18 |
19 | @include('layouts.sidebar') 20 |
21 |
22 | 23 | 24 | 25 |
26 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2022 Mohammad Zulfahmi 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /public/mazer/css/pages/toastify.css: -------------------------------------------------------------------------------- 1 | /*! 2 | * Toastify js 1.11.2 3 | * https://github.com/apvarun/toastify-js 4 | * @license MIT licensed 5 | * 6 | * Copyright (C) 2018 Varun A P 7 | */.toastify{background:linear-gradient(135deg,#73a5ff,#5477f5);border-radius:2px;box-shadow:0 3px 6px -1px rgba(0,0,0,.12),0 10px 36px -4px rgba(77,96,232,.3);color:#fff;cursor:pointer;display:inline-block;max-width:calc(50% - 20px);opacity:0;padding:12px 20px;position:fixed;text-decoration:none;transition:all .4s cubic-bezier(.215,.61,.355,1);z-index:2147483647}.toastify.on{opacity:1}.toast-close{opacity:.4;padding:0 5px}.toastify-right{right:15px}.toastify-left{left:15px}.toastify-top{top:-150px}.toastify-bottom{bottom:-150px}.toastify-rounded{border-radius:25px}.toastify-avatar{border-radius:2px;height:1.5em;margin:-7px 5px;width:1.5em}.toastify-center{left:0;margin-left:auto;margin-right:auto;max-width:-webkit-fit-content;max-width:fit-content;max-width:-moz-fit-content;right:0}@media only screen and (max-width:360px){.toastify-left,.toastify-right{left:0;margin-left:auto;margin-right:auto;max-width:-webkit-fit-content;max-width:-moz-fit-content;max-width:fit-content;right:0}} 8 | -------------------------------------------------------------------------------- /database/factories/UserFactory.php: -------------------------------------------------------------------------------- 1 | $this->faker->name(), 19 | 'email' => $this->faker->unique()->safeEmail(), 20 | 'email_verified_at' => now(), 21 | 'password' => '$2y$10$92IXUNpkjO0rOQ5byMi.Ye4oKoEa3Ro9llC/.og/at2.uheWG/igi', // password 22 | 'remember_token' => Str::random(10), 23 | ]; 24 | } 25 | 26 | /** 27 | * Indicate that the model's email address should be unverified. 28 | * 29 | * @return \Illuminate\Database\Eloquent\Factories\Factory 30 | */ 31 | public function unverified() 32 | { 33 | return $this->state(function (array $attributes) { 34 | return [ 35 | 'email_verified_at' => null, 36 | ]; 37 | }); 38 | } 39 | } 40 | -------------------------------------------------------------------------------- /config/view.php: -------------------------------------------------------------------------------- 1 | [ 17 | resource_path('views'), 18 | ], 19 | 20 | /* 21 | |-------------------------------------------------------------------------- 22 | | Compiled View Path 23 | |-------------------------------------------------------------------------- 24 | | 25 | | This option determines where all the compiled Blade templates will be 26 | | stored for your application. Typically, this is within the storage 27 | | directory. However, as usual, you are free to change this value. 28 | | 29 | */ 30 | 31 | 'compiled' => env( 32 | 'VIEW_COMPILED_PATH', 33 | realpath(storage_path('framework/views')) 34 | ), 35 | 36 | ]; 37 | -------------------------------------------------------------------------------- /app/Actions/Fortify/CreateNewUser.php: -------------------------------------------------------------------------------- 1 | ['required', 'string', 'max:255'], 25 | 'email' => [ 26 | 'required', 27 | 'string', 28 | 'email', 29 | 'max:255', 30 | Rule::unique(User::class), 31 | ], 32 | 'password' => $this->passwordRules(), 33 | ])->validate(); 34 | 35 | return User::create([ 36 | 'name' => $input['name'], 37 | 'email' => $input['email'], 38 | 'password' => Hash::make($input['password']), 39 | ]); 40 | } 41 | } 42 | -------------------------------------------------------------------------------- /app/Actions/Fortify/UpdateUserPassword.php: -------------------------------------------------------------------------------- 1 | ['required', 'string'], 24 | 'password' => $this->passwordRules(), 25 | ])->after(function ($validator) use ($user, $input) { 26 | if (! isset($input['current_password']) || ! Hash::check($input['current_password'], $user->password)) { 27 | $validator->errors()->add('current_password', __('The provided password does not match your current password.')); 28 | } 29 | })->validateWithBag('updatePassword'); 30 | 31 | $user->forceFill([ 32 | 'password' => Hash::make($input['password']), 33 | ])->save(); 34 | } 35 | } 36 | -------------------------------------------------------------------------------- /app/Http/Requests/StoreUserRequest.php: -------------------------------------------------------------------------------- 1 | ['required', 'min:3', 'max:255'], 29 | 'email' => ['required', 'email', 'unique:users,email'], 30 | 'avatar' => ['nullable', 'image', 'max:1024'], 31 | 'role' => ['required', 'exists:roles,id'], 32 | 'password' => [ 33 | 'required', 34 | 'confirmed', 35 | Password::min(8) 36 | ->letters() 37 | ->mixedCase() 38 | ->numbers() 39 | ->symbols() 40 | ->uncompromised() 41 | ] 42 | ]; 43 | } 44 | } 45 | -------------------------------------------------------------------------------- /app/Http/Requests/UpdateUserRequest.php: -------------------------------------------------------------------------------- 1 | ['required', 'min:3', 'max:255'], 29 | 'email' => ['required', 'email', 'unique:users,email,' . $this->user->id], 30 | 'avatar' => ['nullable', 'image', 'max:1024'], 31 | 'role' => ['required', 'exists:roles,id'], 32 | 'password' => [ 33 | 'nullable', 34 | 'confirmed', 35 | Password::min(8) 36 | ->letters() 37 | ->mixedCase() 38 | ->numbers() 39 | ->symbols() 40 | ->uncompromised() 41 | ] 42 | ]; 43 | } 44 | } 45 | -------------------------------------------------------------------------------- /public/web.config: -------------------------------------------------------------------------------- 1 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | -------------------------------------------------------------------------------- /phpunit.xml: -------------------------------------------------------------------------------- 1 | 2 | 7 | 8 | 9 | ./tests/Unit 10 | 11 | 12 | ./tests/Feature 13 | 14 | 15 | 16 | 17 | ./app 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | -------------------------------------------------------------------------------- /app/Models/User.php: -------------------------------------------------------------------------------- 1 | 'datetime:d/m/Y H:i', 46 | 'created_at' => 'datetime:d/m/Y H:i', 47 | 'updated_at' => 'datetime:d/m/Y H:i', 48 | ]; 49 | } 50 | -------------------------------------------------------------------------------- /public/mazer/js/extensions/skins/content/default/content.min.css: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright (c) Tiny Technologies, Inc. All rights reserved. 3 | * Licensed under the LGPL or a commercial license. 4 | * For LGPL see License.txt in the project root for license information. 5 | * For commercial licenses see https://www.tiny.cloud/ 6 | */ 7 | body{font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,Oxygen,Ubuntu,Cantarell,'Open Sans','Helvetica Neue',sans-serif;line-height:1.4;margin:1rem}table{border-collapse:collapse}table:not([cellpadding]) td,table:not([cellpadding]) th{padding:.4rem}table[border]:not([border="0"]):not([style*=border-width]) td,table[border]:not([border="0"]):not([style*=border-width]) th{border-width:1px}table[border]:not([border="0"]):not([style*=border-style]) td,table[border]:not([border="0"]):not([style*=border-style]) th{border-style:solid}table[border]:not([border="0"]):not([style*=border-color]) td,table[border]:not([border="0"]):not([style*=border-color]) th{border-color:#ccc}figure{display:table;margin:1rem auto}figure figcaption{color:#999;display:block;margin-top:.25rem;text-align:center}hr{border-color:#ccc;border-style:solid;border-width:1px 0 0 0}code{background-color:#e8e8e8;border-radius:3px;padding:.1rem .2rem}.mce-content-body:not([dir=rtl]) blockquote{border-left:2px solid #ccc;margin-left:1.5rem;padding-left:1rem}.mce-content-body[dir=rtl] blockquote{border-right:2px solid #ccc;margin-right:1.5rem;padding-right:1rem} 8 | -------------------------------------------------------------------------------- /public/mazer/js/extensions/skins/content/writer/content.min.css: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright (c) Tiny Technologies, Inc. All rights reserved. 3 | * Licensed under the LGPL or a commercial license. 4 | * For LGPL see License.txt in the project root for license information. 5 | * For commercial licenses see https://www.tiny.cloud/ 6 | */ 7 | body{font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,Oxygen,Ubuntu,Cantarell,'Open Sans','Helvetica Neue',sans-serif;line-height:1.4;margin:1rem auto;max-width:900px}table{border-collapse:collapse}table:not([cellpadding]) td,table:not([cellpadding]) th{padding:.4rem}table[border]:not([border="0"]):not([style*=border-width]) td,table[border]:not([border="0"]):not([style*=border-width]) th{border-width:1px}table[border]:not([border="0"]):not([style*=border-style]) td,table[border]:not([border="0"]):not([style*=border-style]) th{border-style:solid}table[border]:not([border="0"]):not([style*=border-color]) td,table[border]:not([border="0"]):not([style*=border-color]) th{border-color:#ccc}figure{display:table;margin:1rem auto}figure figcaption{color:#999;display:block;margin-top:.25rem;text-align:center}hr{border-color:#ccc;border-style:solid;border-width:1px 0 0 0}code{background-color:#e8e8e8;border-radius:3px;padding:.1rem .2rem}.mce-content-body:not([dir=rtl]) blockquote{border-left:2px solid #ccc;margin-left:1.5rem;padding-left:1rem}.mce-content-body[dir=rtl] blockquote{border-right:2px solid #ccc;margin-right:1.5rem;padding-right:1rem} 8 | -------------------------------------------------------------------------------- /public/mazer/images/svg-loaders/audio.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 9 | 10 | 11 | 15 | 16 | 17 | 21 | 22 | 23 | 27 | 28 | 29 | -------------------------------------------------------------------------------- /public/mazer/js/extensions/skins/content/dark/content.min.css: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright (c) Tiny Technologies, Inc. All rights reserved. 3 | * Licensed under the LGPL or a commercial license. 4 | * For LGPL see License.txt in the project root for license information. 5 | * For commercial licenses see https://www.tiny.cloud/ 6 | */ 7 | body{background-color:#2f3742;color:#dfe0e4;font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,Oxygen,Ubuntu,Cantarell,'Open Sans','Helvetica Neue',sans-serif;line-height:1.4;margin:1rem}a{color:#4099ff}table{border-collapse:collapse}table:not([cellpadding]) td,table:not([cellpadding]) th{padding:.4rem}table[border]:not([border="0"]):not([style*=border-width]) td,table[border]:not([border="0"]):not([style*=border-width]) th{border-width:1px}table[border]:not([border="0"]):not([style*=border-style]) td,table[border]:not([border="0"]):not([style*=border-style]) th{border-style:solid}table[border]:not([border="0"]):not([style*=border-color]) td,table[border]:not([border="0"]):not([style*=border-color]) th{border-color:#6d737b}figure{display:table;margin:1rem auto}figure figcaption{color:#8a8f97;display:block;margin-top:.25rem;text-align:center}hr{border-color:#6d737b;border-style:solid;border-width:1px 0 0 0}code{background-color:#6d737b;border-radius:3px;padding:.1rem .2rem}.mce-content-body:not([dir=rtl]) blockquote{border-left:2px solid #6d737b;margin-left:1.5rem;padding-left:1rem}.mce-content-body[dir=rtl] blockquote{border-right:2px solid #6d737b;margin-right:1.5rem;padding-right:1rem} 8 | -------------------------------------------------------------------------------- /public/mazer/js/extensions/skins/content/document/content.min.css: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright (c) Tiny Technologies, Inc. All rights reserved. 3 | * Licensed under the LGPL or a commercial license. 4 | * For LGPL see License.txt in the project root for license information. 5 | * For commercial licenses see https://www.tiny.cloud/ 6 | */ 7 | @media screen{html{background:#f4f4f4;min-height:100%}}body{font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,Oxygen,Ubuntu,Cantarell,'Open Sans','Helvetica Neue',sans-serif}@media screen{body{background-color:#fff;box-shadow:0 0 4px rgba(0,0,0,.15);box-sizing:border-box;margin:1rem auto 0;max-width:820px;min-height:calc(100vh - 1rem);padding:4rem 6rem 6rem 6rem}}table{border-collapse:collapse}table:not([cellpadding]) td,table:not([cellpadding]) th{padding:.4rem}table[border]:not([border="0"]):not([style*=border-width]) td,table[border]:not([border="0"]):not([style*=border-width]) th{border-width:1px}table[border]:not([border="0"]):not([style*=border-style]) td,table[border]:not([border="0"]):not([style*=border-style]) th{border-style:solid}table[border]:not([border="0"]):not([style*=border-color]) td,table[border]:not([border="0"]):not([style*=border-color]) th{border-color:#ccc}figure figcaption{color:#999;margin-top:.25rem;text-align:center}hr{border-color:#ccc;border-style:solid;border-width:1px 0 0 0}.mce-content-body:not([dir=rtl]) blockquote{border-left:2px solid #ccc;margin-left:1.5rem;padding-left:1rem}.mce-content-body[dir=rtl] blockquote{border-right:2px solid #ccc;margin-right:1.5rem;padding-right:1rem} 8 | -------------------------------------------------------------------------------- /public/mazer/images/svg-loaders/grid.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /public/mazer/js/extensions/filepond.js.LICENSE.txt: -------------------------------------------------------------------------------- 1 | /*! 2 | * FilePond 4.30.3 3 | * Licensed under MIT, https://opensource.org/licenses/MIT/ 4 | * Please visit https://pqina.nl/filepond/ for details. 5 | */ 6 | 7 | /*! 8 | * FilePondPluginFileValidateSize 2.2.6 9 | * Licensed under MIT, https://opensource.org/licenses/MIT/ 10 | * Please visit https://pqina.nl/filepond/ for details. 11 | */ 12 | 13 | /*! 14 | * FilePondPluginFileValidateType 1.2.7 15 | * Licensed under MIT, https://opensource.org/licenses/MIT/ 16 | * Please visit https://pqina.nl/filepond/ for details. 17 | */ 18 | 19 | /*! 20 | * FilePondPluginImageCrop 2.0.6 21 | * Licensed under MIT, https://opensource.org/licenses/MIT/ 22 | * Please visit https://pqina.nl/filepond/ for details. 23 | */ 24 | 25 | /*! 26 | * FilePondPluginImageExifOrientation 1.0.11 27 | * Licensed under MIT, https://opensource.org/licenses/MIT/ 28 | * Please visit https://pqina.nl/filepond/ for details. 29 | */ 30 | 31 | /*! 32 | * FilePondPluginImageFilter 1.0.1 33 | * Licensed under MIT, https://opensource.org/licenses/MIT/ 34 | * Please visit https://pqina.nl/filepond/ for details. 35 | */ 36 | 37 | /*! 38 | * FilePondPluginImagePreview 4.6.11 39 | * Licensed under MIT, https://opensource.org/licenses/MIT/ 40 | * Please visit https://pqina.nl/filepond/ for details. 41 | */ 42 | 43 | /*! 44 | * FilePondPluginImageResize 2.0.10 45 | * Licensed under MIT, https://opensource.org/licenses/MIT/ 46 | * Please visit https://pqina.nl/filepond/ for details. 47 | */ 48 | 49 | /*! 50 | * Toastify js 1.11.2 51 | * https://github.com/apvarun/toastify-js 52 | * @license MIT licensed 53 | * 54 | * Copyright (C) 2018 Varun A P 55 | */ 56 | -------------------------------------------------------------------------------- /public/mazer/images/svg-loaders/bars.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /config/hashing.php: -------------------------------------------------------------------------------- 1 | 'bcrypt', 19 | 20 | /* 21 | |-------------------------------------------------------------------------- 22 | | Bcrypt Options 23 | |-------------------------------------------------------------------------- 24 | | 25 | | Here you may specify the configuration options that should be used when 26 | | passwords are hashed using the Bcrypt algorithm. This will allow you 27 | | to control the amount of time it takes to hash the given password. 28 | | 29 | */ 30 | 31 | 'bcrypt' => [ 32 | 'rounds' => env('BCRYPT_ROUNDS', 10), 33 | ], 34 | 35 | /* 36 | |-------------------------------------------------------------------------- 37 | | Argon Options 38 | |-------------------------------------------------------------------------- 39 | | 40 | | Here you may specify the configuration options that should be used when 41 | | passwords are hashed using the Argon algorithm. These will allow you 42 | | to control the amount of time it takes to hash the given password. 43 | | 44 | */ 45 | 46 | 'argon' => [ 47 | 'memory' => 1024, 48 | 'threads' => 2, 49 | 'time' => 2, 50 | ], 51 | 52 | ]; 53 | -------------------------------------------------------------------------------- /public/mazer/images/svg-loaders/spinning-circles.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /bootstrap/app.php: -------------------------------------------------------------------------------- 1 | singleton( 30 | Illuminate\Contracts\Http\Kernel::class, 31 | App\Http\Kernel::class 32 | ); 33 | 34 | $app->singleton( 35 | Illuminate\Contracts\Console\Kernel::class, 36 | App\Console\Kernel::class 37 | ); 38 | 39 | $app->singleton( 40 | Illuminate\Contracts\Debug\ExceptionHandler::class, 41 | App\Exceptions\Handler::class 42 | ); 43 | 44 | /* 45 | |-------------------------------------------------------------------------- 46 | | Return The Application 47 | |-------------------------------------------------------------------------- 48 | | 49 | | This script returns the application instance. The instance is given to 50 | | the calling script so we can separate the building of the instances 51 | | from the actual running of the application and sending responses. 52 | | 53 | */ 54 | 55 | return $app; 56 | -------------------------------------------------------------------------------- /public/mazer/js/pages/horizontal-layout.js: -------------------------------------------------------------------------------- 1 | (()=>{function e(e,t,n,o){void 0===t&&(t=400),void 0===o&&(o=!1),e.style.overflow="hidden",o&&(e.style.display="block");var i,r=window.getComputedStyle(e),l=parseFloat(r.getPropertyValue("height")),a=parseFloat(r.getPropertyValue("padding-top")),u=parseFloat(r.getPropertyValue("padding-bottom")),s=parseFloat(r.getPropertyValue("margin-top")),d=parseFloat(r.getPropertyValue("margin-bottom")),p=l/t,c=a/t,y=u/t,m=s/t,g=d/t;window.requestAnimationFrame((function r(f){void 0===i&&(i=f);var v=f-i;o?(e.style.height=p*v+"px",e.style.paddingTop=c*v+"px",e.style.paddingBottom=y*v+"px",e.style.marginTop=m*v+"px",e.style.marginBottom=g*v+"px"):(e.style.height=l-p*v+"px",e.style.paddingTop=a-c*v+"px",e.style.paddingBottom=u-y*v+"px",e.style.marginTop=s-m*v+"px",e.style.marginBottom=d-g*v+"px"),v>=t?(e.style.height="",e.style.paddingTop="",e.style.paddingBottom="",e.style.marginTop="",e.style.marginBottom="",e.style.overflow="",o||(e.style.display="none"),"function"==typeof n&&n()):window.requestAnimationFrame(r)}))}function t(){var e;window.innerWidth<1200&&(e=document.querySelectorAll(".menu-item.has-sub"),console.log(e),e.forEach((function(e){e.querySelector(".menu-link").addEventListener("click",(function(t){t.preventDefault(),e.querySelector(".submenu").classList.toggle("active")}))})),document.querySelectorAll(".submenu-item.has-sub").forEach((function(e){e.querySelector(".submenu-link").addEventListener("click",(function(t){t.preventDefault(),e.querySelector(".subsubmenu").classList.toggle("active")}))}))),window.innerWidth>1200&&(document.querySelector(".main-navbar").style.display="")}document.querySelector(".burger-btn").addEventListener("click",(function(t){t.preventDefault(),function(t,n,o){0===t.clientHeight?e(t,n,o,!0):e(t,n,o)}(document.querySelector(".main-navbar"),300)})),window.onload=function(){return t()},window.addEventListener("resize",(function(e){t()}))})(); -------------------------------------------------------------------------------- /artisan: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env php 2 | make(Illuminate\Contracts\Console\Kernel::class); 34 | 35 | $status = $kernel->handle( 36 | $input = new Symfony\Component\Console\Input\ArgvInput, 37 | new Symfony\Component\Console\Output\ConsoleOutput 38 | ); 39 | 40 | /* 41 | |-------------------------------------------------------------------------- 42 | | Shutdown The Application 43 | |-------------------------------------------------------------------------- 44 | | 45 | | Once Artisan has finished running, we will fire off the shutdown events 46 | | so that any final work may be done by the application before we shut 47 | | down the process. This is the last thing to happen to the request. 48 | | 49 | */ 50 | 51 | $kernel->terminate($input, $status); 52 | 53 | exit($status); 54 | -------------------------------------------------------------------------------- /public/index.php: -------------------------------------------------------------------------------- 1 | make(Kernel::class); 50 | 51 | $response = $kernel->handle( 52 | $request = Request::capture() 53 | )->send(); 54 | 55 | $kernel->terminate($request, $response); 56 | -------------------------------------------------------------------------------- /app/Providers/RouteServiceProvider.php: -------------------------------------------------------------------------------- 1 | configureRateLimiting(); 39 | 40 | $this->routes(function () { 41 | Route::prefix('api') 42 | ->middleware('api') 43 | ->namespace($this->namespace) 44 | ->group(base_path('routes/api.php')); 45 | 46 | Route::middleware('web') 47 | ->namespace($this->namespace) 48 | ->group(base_path('routes/web.php')); 49 | }); 50 | } 51 | 52 | /** 53 | * Configure the rate limiters for the application. 54 | * 55 | * @return void 56 | */ 57 | protected function configureRateLimiting() 58 | { 59 | RateLimiter::for('api', function (Request $request) { 60 | return Limit::perMinute(60)->by(optional($request->user())->id ?: $request->ip()); 61 | }); 62 | } 63 | } 64 | -------------------------------------------------------------------------------- /config/sanctum.php: -------------------------------------------------------------------------------- 1 | explode(',', env('SANCTUM_STATEFUL_DOMAINS', sprintf( 17 | '%s%s', 18 | 'localhost,localhost:3000,127.0.0.1,127.0.0.1:8000,::1', 19 | env('APP_URL') ? ','.parse_url(env('APP_URL'), PHP_URL_HOST) : '' 20 | ))), 21 | 22 | /* 23 | |-------------------------------------------------------------------------- 24 | | Expiration Minutes 25 | |-------------------------------------------------------------------------- 26 | | 27 | | This value controls the number of minutes until an issued token will be 28 | | considered expired. If this value is null, personal access tokens do 29 | | not expire. This won't tweak the lifetime of first-party sessions. 30 | | 31 | */ 32 | 33 | 'expiration' => null, 34 | 35 | /* 36 | |-------------------------------------------------------------------------- 37 | | Sanctum Middleware 38 | |-------------------------------------------------------------------------- 39 | | 40 | | When authenticating your first-party SPA with Sanctum you may need to 41 | | customize some of the middleware Sanctum uses while processing the 42 | | request. You may change the middleware listed below as required. 43 | | 44 | */ 45 | 46 | 'middleware' => [ 47 | 'verify_csrf_token' => App\Http\Middleware\VerifyCsrfToken::class, 48 | 'encrypt_cookies' => App\Http\Middleware\EncryptCookies::class, 49 | ], 50 | 51 | ]; 52 | -------------------------------------------------------------------------------- /config/broadcasting.php: -------------------------------------------------------------------------------- 1 | env('BROADCAST_DRIVER', 'null'), 19 | 20 | /* 21 | |-------------------------------------------------------------------------- 22 | | Broadcast Connections 23 | |-------------------------------------------------------------------------- 24 | | 25 | | Here you may define all of the broadcast connections that will be used 26 | | to broadcast events to other systems or over websockets. Samples of 27 | | each available type of connection are provided inside this array. 28 | | 29 | */ 30 | 31 | 'connections' => [ 32 | 33 | 'pusher' => [ 34 | 'driver' => 'pusher', 35 | 'key' => env('PUSHER_APP_KEY'), 36 | 'secret' => env('PUSHER_APP_SECRET'), 37 | 'app_id' => env('PUSHER_APP_ID'), 38 | 'options' => [ 39 | 'cluster' => env('PUSHER_APP_CLUSTER'), 40 | 'useTLS' => true, 41 | ], 42 | ], 43 | 44 | 'ably' => [ 45 | 'driver' => 'ably', 46 | 'key' => env('ABLY_KEY'), 47 | ], 48 | 49 | 'redis' => [ 50 | 'driver' => 'redis', 51 | 'connection' => 'default', 52 | ], 53 | 54 | 'log' => [ 55 | 'driver' => 'log', 56 | ], 57 | 58 | 'null' => [ 59 | 'driver' => 'null', 60 | ], 61 | 62 | ], 63 | 64 | ]; 65 | -------------------------------------------------------------------------------- /public/mazer/images/svg-loaders/circles.svg: -------------------------------------------------------------------------------- 1 | 2 | 3 | 10 | 11 | 12 | 19 | 20 | 21 | -------------------------------------------------------------------------------- /resources/views/roles/create.blade.php: -------------------------------------------------------------------------------- 1 | @extends('layouts.app') 2 | 3 | @section('title', __('Create Role')) 4 | 5 | @section('content') 6 |
7 |
8 |
9 |
10 |

{{ __('Role') }}

11 |

12 | {{ __('Create an new role.') }} 13 |

14 |
15 | 16 | 17 | 20 | 23 | 26 | 27 |
28 |
29 | 30 |
31 |
32 |
33 |
34 |
35 |
36 | @csrf 37 | @method('POST') 38 | 39 | @include('roles.include.form') 40 | 41 | {{ __('Back') }} 42 | 43 | 44 |
45 |
46 |
47 |
48 |
49 |
50 |
51 | @endsection 52 | -------------------------------------------------------------------------------- /resources/views/users/create.blade.php: -------------------------------------------------------------------------------- 1 | @extends('layouts.app') 2 | 3 | @section('title', __('Create User')) 4 | 5 | @section('content') 6 |
7 |
8 |
9 |
10 |

{{ __('User') }}

11 |

12 | {{ __('Create a new user.') }} 13 |

14 |
15 | 16 | 17 | 20 | 23 | 26 | 27 |
28 |
29 | 30 |
31 |
32 |
33 |
34 |
35 |
36 | @csrf 37 | @method('POST') 38 | 39 | @include('users.include.form') 40 | 41 | {{ __('Back') }} 42 | 43 | 44 |
45 |
46 |
47 |
48 |
49 |
50 |
51 | @endsection 52 | -------------------------------------------------------------------------------- /resources/views/roles/include/form.blade.php: -------------------------------------------------------------------------------- 1 |
2 |
3 |
4 | 5 | 7 | @error('name') 8 | 9 | {{ $message }} 10 | 11 | @enderror 12 |
13 |
14 |
15 | 16 |
17 |
18 | 19 | @error('permissions') 20 |
{{ $message }}
21 | @enderror 22 |
23 | 24 | @foreach(config('permission.permissions') as $permission) 25 |
26 |
27 |
28 |
29 |

{{ ucwords($permission['group']) }}

30 | @foreach ($permission['access'] as $access) 31 |
32 | hasPermissionTo($access) ? 'checked' : '' }}/> 35 | 38 |
39 | @endforeach 40 |
41 |
42 |
43 |
44 | @endforeach 45 |
46 | -------------------------------------------------------------------------------- /resources/views/users/edit.blade.php: -------------------------------------------------------------------------------- 1 | @extends('layouts.app') 2 | 3 | @section('title', __('Edit User')) 4 | 5 | @section('content') 6 |
7 |
8 |
9 |
10 |

{{ __('User') }}

11 |

12 | {{ __('Edit an user.') }} 13 |

14 |
15 | 16 | 17 | 20 | 23 | 26 | 27 |
28 |
29 | 30 |
31 |
32 |
33 |
34 |
35 |
37 | @csrf 38 | @method('PUT') 39 | 40 | @include('users.include.form') 41 | 42 | {{ __('Back') }} 43 | 44 | 45 |
46 |
47 |
48 |
49 |
50 |
51 |
52 | @endsection 53 | -------------------------------------------------------------------------------- /resources/views/roles/edit.blade.php: -------------------------------------------------------------------------------- 1 | @extends('layouts.app') 2 | 3 | @section('title', __('Edit Role')) 4 | 5 | @section('content') 6 |
7 |
8 |
9 |
10 |

{{ __('Role') }}

11 |

12 | {{ __('Edit an new role.') }} 13 |

14 |
15 | 16 | 17 | 20 | 23 | 26 | 27 |
28 |
29 | 30 |
31 |
32 |
33 |
34 |
35 |
37 | @csrf 38 | @method('PUT') 39 | 40 | @include('roles.include.form') 41 | 42 | {{ __('Back') }} 43 | 44 | 45 |
46 |
47 |
48 |
49 |
50 |
51 |
52 | @endsection 53 | -------------------------------------------------------------------------------- /composer.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "laravel/laravel", 3 | "type": "project", 4 | "description": "The Laravel Framework.", 5 | "keywords": [ 6 | "framework", 7 | "laravel" 8 | ], 9 | "license": "MIT", 10 | "require": { 11 | "php": "^8.1", 12 | "fruitcake/laravel-cors": "^2.0", 13 | "guzzlehttp/guzzle": "^7.0.1", 14 | "laravel/framework": "^9.0", 15 | "laravel/sanctum": "^2.11", 16 | "laravel/tinker": "^2.5" 17 | }, 18 | "require-dev": { 19 | "barryvdh/laravel-debugbar": "^3.6", 20 | "evdigiina/generator": "dev-dev", 21 | "fakerphp/faker": "^1.9.1", 22 | "laravel/sail": "^1.0.1", 23 | "mockery/mockery": "^1.4.4", 24 | "nunomaduro/collision": "^6.1", 25 | "phpunit/phpunit": "^9.5.10", 26 | "spatie/laravel-ignition": "^1.0" 27 | }, 28 | "autoload": { 29 | "psr-4": { 30 | "App\\": "app/", 31 | "Database\\Factories\\": "database/factories/", 32 | "Database\\Seeders\\": "database/seeders/" 33 | } 34 | }, 35 | "autoload-dev": { 36 | "psr-4": { 37 | "Tests\\": "tests/" 38 | } 39 | }, 40 | "scripts": { 41 | "post-autoload-dump": [ 42 | "Illuminate\\Foundation\\ComposerScripts::postAutoloadDump", 43 | "@php artisan package:discover --ansi" 44 | ], 45 | "post-update-cmd": [ 46 | "@php artisan vendor:publish --tag=laravel-assets --ansi" 47 | ], 48 | "post-root-package-install": [ 49 | "@php -r \"file_exists('.env') || copy('.env.example', '.env');\"" 50 | ], 51 | "post-create-project-cmd": [ 52 | "@php artisan key:generate --ansi" 53 | ] 54 | }, 55 | "extra": { 56 | "laravel": { 57 | "dont-discover": [] 58 | } 59 | }, 60 | "config": { 61 | "optimize-autoloader": true, 62 | "preferred-install": "dist", 63 | "sort-packages": true 64 | }, 65 | "minimum-stability": "dev", 66 | "prefer-stable": true 67 | } 68 | -------------------------------------------------------------------------------- /public/mazer/css/pages/chat.css: -------------------------------------------------------------------------------- 1 | .chat-application .chat-app{border:1px solid #dfe3e7;border-radius:5px;height:calc(100vh - 9rem)}.chat-app .chat-app-right{padding-left:0}.chat-app .chat-app-header .person-name{font-size:1.2rem}.chat-app .chat-app-body .left{border-right:1px solid #e9ecef}.chat-app .chat-app-body ul{overflow-y:auto;padding-left:0}.chat-app .chat-app-body .the-contact{background-color:#fff;border-bottom:1px solid #e9ecef;list-style:none;margin-right:0;padding:1.5rem 2rem;position:relative;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.chat-app .chat-app-body .the-contact.active{background-color:#435ebe}.chat-app .chat-app-body .the-contact.active .message-excerpt,.chat-app .chat-app-body .the-contact.active .person-name{color:#fff}.chat-app .chat-app-body .the-contact .notification-count{position:absolute;right:1rem;top:50%;transform:translateY(-50%)}.chat-app .chat-app-body .the-contact:hover{cursor:pointer}.chat-app .chat-app-body .the-contact:not(.active):hover{background-color:#e9ecef;transition:all .1s}.chat-app .chat-app-body .the-contact .verified-badge{height:1.4em;padding:0;width:1.4em}.chat-app .chat-app-body .the-contact .person-name{align-items:center;color:#495057;display:flex;font-size:1.1rem;font-weight:700;margin-bottom:0}.chat-app .chat-app-body .the-contact .message-excerpt{color:#6c757d;font-size:1rem;margin-bottom:0}.chat-app .chat-app-footer{height:100%;position:relative}.chat-app .chat-app-footer .input-message-wrapper{background-color:#fff;bottom:0;padding:1rem;position:absolute;right:0;width:100%}.chat-app .messages{display:flex;flex-direction:column;width:100%}.chat-app .messages .message{background-color:#dee2e6;border-bottom-left-radius:1rem;border-bottom-right-radius:1rem;border-top-right-radius:1rem;float:left;margin:1rem;max-width:600px;padding:.8rem}.chat-app .messages .message.message-right{background-color:#697ecb;border-top-left-radius:1rem;border-top-right-radius:0;color:#fff;float:right}@media screen and (max-width:1200px){.chat-app .chat-app-left{right:100%}.chat-app .chat-app-right{bottom:0;left:0;padding-left:15px!important;position:absolute;right:0;top:0}.chat-app .chat-app-right .chat-app-header>div{padding:0 2rem}} 2 | -------------------------------------------------------------------------------- /public/mazer/js/extensions/skins/content/default/content.css: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright (c) Tiny Technologies, Inc. All rights reserved. 3 | * Licensed under the LGPL or a commercial license. 4 | * For LGPL see License.txt in the project root for license information. 5 | * For commercial licenses see https://www.tiny.cloud/ 6 | */ 7 | body { 8 | font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif; 9 | line-height: 1.4; 10 | margin: 1rem; 11 | } 12 | table { 13 | border-collapse: collapse; 14 | } 15 | /* Apply a default padding if legacy cellpadding attribute is missing */ 16 | table:not([cellpadding]) th, 17 | table:not([cellpadding]) td { 18 | padding: 0.4rem; 19 | } 20 | /* Set default table styles if a table has a positive border attribute 21 | and no inline css */ 22 | table[border]:not([border="0"]):not([style*="border-width"]) th, 23 | table[border]:not([border="0"]):not([style*="border-width"]) td { 24 | border-width: 1px; 25 | } 26 | /* Set default table styles if a table has a positive border attribute 27 | and no inline css */ 28 | table[border]:not([border="0"]):not([style*="border-style"]) th, 29 | table[border]:not([border="0"]):not([style*="border-style"]) td { 30 | border-style: solid; 31 | } 32 | /* Set default table styles if a table has a positive border attribute 33 | and no inline css */ 34 | table[border]:not([border="0"]):not([style*="border-color"]) th, 35 | table[border]:not([border="0"]):not([style*="border-color"]) td { 36 | border-color: #ccc; 37 | } 38 | figure { 39 | display: table; 40 | margin: 1rem auto; 41 | } 42 | figure figcaption { 43 | color: #999; 44 | display: block; 45 | margin-top: 0.25rem; 46 | text-align: center; 47 | } 48 | hr { 49 | border-color: #ccc; 50 | border-style: solid; 51 | border-width: 1px 0 0 0; 52 | } 53 | code { 54 | background-color: #e8e8e8; 55 | border-radius: 3px; 56 | padding: 0.1rem 0.2rem; 57 | } 58 | .mce-content-body:not([dir=rtl]) blockquote { 59 | border-left: 2px solid #ccc; 60 | margin-left: 1.5rem; 61 | padding-left: 1rem; 62 | } 63 | .mce-content-body[dir=rtl] blockquote { 64 | border-right: 2px solid #ccc; 65 | margin-right: 1.5rem; 66 | padding-right: 1rem; 67 | } 68 | -------------------------------------------------------------------------------- /public/mazer/js/extensions/skins/content/writer/content.css: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright (c) Tiny Technologies, Inc. All rights reserved. 3 | * Licensed under the LGPL or a commercial license. 4 | * For LGPL see License.txt in the project root for license information. 5 | * For commercial licenses see https://www.tiny.cloud/ 6 | */ 7 | body { 8 | font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif; 9 | line-height: 1.4; 10 | margin: 1rem auto; 11 | max-width: 900px; 12 | } 13 | table { 14 | border-collapse: collapse; 15 | } 16 | /* Apply a default padding if legacy cellpadding attribute is missing */ 17 | table:not([cellpadding]) th, 18 | table:not([cellpadding]) td { 19 | padding: 0.4rem; 20 | } 21 | /* Set default table styles if a table has a positive border attribute 22 | and no inline css */ 23 | table[border]:not([border="0"]):not([style*="border-width"]) th, 24 | table[border]:not([border="0"]):not([style*="border-width"]) td { 25 | border-width: 1px; 26 | } 27 | /* Set default table styles if a table has a positive border attribute 28 | and no inline css */ 29 | table[border]:not([border="0"]):not([style*="border-style"]) th, 30 | table[border]:not([border="0"]):not([style*="border-style"]) td { 31 | border-style: solid; 32 | } 33 | /* Set default table styles if a table has a positive border attribute 34 | and no inline css */ 35 | table[border]:not([border="0"]):not([style*="border-color"]) th, 36 | table[border]:not([border="0"]):not([style*="border-color"]) td { 37 | border-color: #ccc; 38 | } 39 | figure { 40 | display: table; 41 | margin: 1rem auto; 42 | } 43 | figure figcaption { 44 | color: #999; 45 | display: block; 46 | margin-top: 0.25rem; 47 | text-align: center; 48 | } 49 | hr { 50 | border-color: #ccc; 51 | border-style: solid; 52 | border-width: 1px 0 0 0; 53 | } 54 | code { 55 | background-color: #e8e8e8; 56 | border-radius: 3px; 57 | padding: 0.1rem 0.2rem; 58 | } 59 | .mce-content-body:not([dir=rtl]) blockquote { 60 | border-left: 2px solid #ccc; 61 | margin-left: 1.5rem; 62 | padding-left: 1rem; 63 | } 64 | .mce-content-body[dir=rtl] blockquote { 65 | border-right: 2px solid #ccc; 66 | margin-right: 1.5rem; 67 | padding-right: 1rem; 68 | } 69 | -------------------------------------------------------------------------------- /app/Providers/FortifyServiceProvider.php: -------------------------------------------------------------------------------- 1 | by($request->email . $request->ip()); 41 | }); 42 | 43 | RateLimiter::for('two-factor', function (Request $request) { 44 | return Limit::perMinute(5)->by($request->session()->get('login.id')); 45 | }); 46 | 47 | Fortify::registerView(function () { 48 | return view('auth.register'); 49 | }); 50 | 51 | Fortify::loginView(function () { 52 | return view('auth.login'); 53 | }); 54 | 55 | Fortify::confirmPasswordView(function () { 56 | return view('auth.confirm-password'); 57 | }); 58 | 59 | Fortify::twoFactorChallengeView(function () { 60 | return view('auth.two-factor-challenge'); 61 | }); 62 | 63 | Fortify::requestPasswordResetLinkView(function () { 64 | return view('auth.forgot-password'); 65 | }); 66 | 67 | Fortify::resetPasswordView(function ($request) { 68 | return view('auth.reset-password', ['request' => $request]); 69 | }); 70 | } 71 | } 72 | -------------------------------------------------------------------------------- /public/mazer/js/extensions/skins/content/dark/content.css: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright (c) Tiny Technologies, Inc. All rights reserved. 3 | * Licensed under the LGPL or a commercial license. 4 | * For LGPL see License.txt in the project root for license information. 5 | * For commercial licenses see https://www.tiny.cloud/ 6 | */ 7 | body { 8 | background-color: #2f3742; 9 | color: #dfe0e4; 10 | font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif; 11 | line-height: 1.4; 12 | margin: 1rem; 13 | } 14 | a { 15 | color: #4099ff; 16 | } 17 | table { 18 | border-collapse: collapse; 19 | } 20 | /* Apply a default padding if legacy cellpadding attribute is missing */ 21 | table:not([cellpadding]) th, 22 | table:not([cellpadding]) td { 23 | padding: 0.4rem; 24 | } 25 | /* Set default table styles if a table has a positive border attribute 26 | and no inline css */ 27 | table[border]:not([border="0"]):not([style*="border-width"]) th, 28 | table[border]:not([border="0"]):not([style*="border-width"]) td { 29 | border-width: 1px; 30 | } 31 | /* Set default table styles if a table has a positive border attribute 32 | and no inline css */ 33 | table[border]:not([border="0"]):not([style*="border-style"]) th, 34 | table[border]:not([border="0"]):not([style*="border-style"]) td { 35 | border-style: solid; 36 | } 37 | /* Set default table styles if a table has a positive border attribute 38 | and no inline css */ 39 | table[border]:not([border="0"]):not([style*="border-color"]) th, 40 | table[border]:not([border="0"]):not([style*="border-color"]) td { 41 | border-color: #6d737b; 42 | } 43 | figure { 44 | display: table; 45 | margin: 1rem auto; 46 | } 47 | figure figcaption { 48 | color: #8a8f97; 49 | display: block; 50 | margin-top: 0.25rem; 51 | text-align: center; 52 | } 53 | hr { 54 | border-color: #6d737b; 55 | border-style: solid; 56 | border-width: 1px 0 0 0; 57 | } 58 | code { 59 | background-color: #6d737b; 60 | border-radius: 3px; 61 | padding: 0.1rem 0.2rem; 62 | } 63 | .mce-content-body:not([dir=rtl]) blockquote { 64 | border-left: 2px solid #6d737b; 65 | margin-left: 1.5rem; 66 | padding-left: 1rem; 67 | } 68 | .mce-content-body[dir=rtl] blockquote { 69 | border-right: 2px solid #6d737b; 70 | margin-right: 1.5rem; 71 | padding-right: 1rem; 72 | } 73 | -------------------------------------------------------------------------------- /public/mazer/js/extensions/skins/content/document/content.css: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright (c) Tiny Technologies, Inc. All rights reserved. 3 | * Licensed under the LGPL or a commercial license. 4 | * For LGPL see License.txt in the project root for license information. 5 | * For commercial licenses see https://www.tiny.cloud/ 6 | */ 7 | @media screen { 8 | html { 9 | background: #f4f4f4; 10 | min-height: 100%; 11 | } 12 | } 13 | body { 14 | font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif; 15 | } 16 | @media screen { 17 | body { 18 | background-color: #fff; 19 | box-shadow: 0 0 4px rgba(0, 0, 0, 0.15); 20 | box-sizing: border-box; 21 | margin: 1rem auto 0; 22 | max-width: 820px; 23 | min-height: calc(100vh - 1rem); 24 | padding: 4rem 6rem 6rem 6rem; 25 | } 26 | } 27 | table { 28 | border-collapse: collapse; 29 | } 30 | /* Apply a default padding if legacy cellpadding attribute is missing */ 31 | table:not([cellpadding]) th, 32 | table:not([cellpadding]) td { 33 | padding: 0.4rem; 34 | } 35 | /* Set default table styles if a table has a positive border attribute 36 | and no inline css */ 37 | table[border]:not([border="0"]):not([style*="border-width"]) th, 38 | table[border]:not([border="0"]):not([style*="border-width"]) td { 39 | border-width: 1px; 40 | } 41 | /* Set default table styles if a table has a positive border attribute 42 | and no inline css */ 43 | table[border]:not([border="0"]):not([style*="border-style"]) th, 44 | table[border]:not([border="0"]):not([style*="border-style"]) td { 45 | border-style: solid; 46 | } 47 | /* Set default table styles if a table has a positive border attribute 48 | and no inline css */ 49 | table[border]:not([border="0"]):not([style*="border-color"]) th, 50 | table[border]:not([border="0"]):not([style*="border-color"]) td { 51 | border-color: #ccc; 52 | } 53 | figure figcaption { 54 | color: #999; 55 | margin-top: 0.25rem; 56 | text-align: center; 57 | } 58 | hr { 59 | border-color: #ccc; 60 | border-style: solid; 61 | border-width: 1px 0 0 0; 62 | } 63 | .mce-content-body:not([dir=rtl]) blockquote { 64 | border-left: 2px solid #ccc; 65 | margin-left: 1.5rem; 66 | padding-left: 1rem; 67 | } 68 | .mce-content-body[dir=rtl] blockquote { 69 | border-right: 2px solid #ccc; 70 | margin-right: 1.5rem; 71 | padding-right: 1rem; 72 | } 73 | -------------------------------------------------------------------------------- /resources/views/auth/confirm-password.blade.php: -------------------------------------------------------------------------------- 1 | @extends('layouts.auth') 2 | 3 | @section('title', __('Confirm Password')) 4 | 5 | @push('css') 6 | 7 | @endpush 8 | 9 | @section('content') 10 |
11 |
12 |
13 | 18 | 19 |

{{ __('Confirm Password.') }}

20 | 21 |

{{ __('Confirm your password to proceed to the next step.') }}

22 | 23 | @if ($errors->any()) 24 |
25 |
    26 | @foreach ($errors->all() as $error) 27 |
  • 28 |

    {{ $error }}

    29 |
  • 30 | @endforeach 31 | 32 |
33 |
34 | @endif 35 | 36 |
37 | @csrf 38 | 39 |
40 | 42 |
43 | 44 |
45 |
46 | 47 | 48 |
49 |
50 |
51 | 52 |
53 |
54 |
55 |
56 |
57 | 58 | @endsection 59 | -------------------------------------------------------------------------------- /config/filesystems.php: -------------------------------------------------------------------------------- 1 | env('FILESYSTEM_DRIVER', 'local'), 17 | 18 | /* 19 | |-------------------------------------------------------------------------- 20 | | Filesystem Disks 21 | |-------------------------------------------------------------------------- 22 | | 23 | | Here you may configure as many filesystem "disks" as you wish, and you 24 | | may even configure multiple disks of the same driver. Defaults have 25 | | been setup for each driver as an example of the required options. 26 | | 27 | | Supported Drivers: "local", "ftp", "sftp", "s3" 28 | | 29 | */ 30 | 31 | 'disks' => [ 32 | 33 | 'local' => [ 34 | 'driver' => 'local', 35 | 'root' => storage_path('app'), 36 | ], 37 | 38 | 'public' => [ 39 | 'driver' => 'local', 40 | 'root' => storage_path('app/public'), 41 | 'url' => env('APP_URL').'/storage', 42 | 'visibility' => 'public', 43 | ], 44 | 45 | 's3' => [ 46 | 'driver' => 's3', 47 | 'key' => env('AWS_ACCESS_KEY_ID'), 48 | 'secret' => env('AWS_SECRET_ACCESS_KEY'), 49 | 'region' => env('AWS_DEFAULT_REGION'), 50 | 'bucket' => env('AWS_BUCKET'), 51 | 'url' => env('AWS_URL'), 52 | 'endpoint' => env('AWS_ENDPOINT'), 53 | 'use_path_style_endpoint' => env('AWS_USE_PATH_STYLE_ENDPOINT', false), 54 | ], 55 | 56 | ], 57 | 58 | /* 59 | |-------------------------------------------------------------------------- 60 | | Symbolic Links 61 | |-------------------------------------------------------------------------- 62 | | 63 | | Here you may configure the symbolic links that will be created when the 64 | | `storage:link` Artisan command is executed. The array keys should be 65 | | the locations of the links and the values should be their targets. 66 | | 67 | */ 68 | 69 | 'links' => [ 70 | public_path('storage') => storage_path('app/public'), 71 | ], 72 | 73 | ]; 74 | -------------------------------------------------------------------------------- /resources/views/components/alert.blade.php: -------------------------------------------------------------------------------- 1 | @if (session('success')) 2 | 7 | @endif 8 | 9 | @if (session('error')) 10 | 15 | @endif 16 | 17 | @if (session('status') == 'profile-information-updated') 18 |
19 | 20 |

{{ __('Success') }}

21 |

{{ __('Profile information updated successfully.') }}

22 |
23 | @endif 24 | 25 | @if (session('status') == 'password-updated') 26 |
27 | 28 |

{{ __('Success') }}

29 |

{{ __('Password updated successfully.') }}

30 |
31 | @endif 32 | 33 | @if (session('status') == 'two-factor-authentication-disabled') 34 |
35 | 36 |

{{ __('Success') }}

37 |

{{ __('Two factor Authentication has been disabled.') }}

38 |
39 | @endif 40 | 41 | @if (session('status') == 'two-factor-authentication-enabled') 42 |
43 | 44 |

{{ __('Success') }}

45 |

{{ __('Two factor Authentication has been enabled.') }}

46 |
47 | @endif 48 | 49 | @if (session('status') == 'recovery-codes-generated') 50 |
51 | 52 |

{{ __('Success') }}

53 |

{{ __('Regenerated Recovery Codes Successfully.') }}

54 |
55 | @endif 56 | -------------------------------------------------------------------------------- /public/mazer/css/pages/simple-datatables.css: -------------------------------------------------------------------------------- 1 | .dataTable-wrapper.no-header .dataTable-container{border-top:1px solid #d9d9d9}.dataTable-wrapper.no-footer .dataTable-container{border-bottom:1px solid #d9d9d9}.dataTable-bottom,.dataTable-top{padding:8px 10px}.dataTable-bottom>div:first-child,.dataTable-bottom>nav:first-child,.dataTable-top>div:first-child,.dataTable-top>nav:first-child{float:left}.dataTable-bottom>div:last-child,.dataTable-bottom>nav:last-child,.dataTable-top>div:last-child,.dataTable-top>nav:last-child{float:right}.dataTable-selector{padding:6px}.dataTable-input{padding:6px 12px}.dataTable-info{margin:7px 0}.dataTable-pagination ul{margin:0;padding-left:0}.dataTable-pagination li{float:left;list-style:none}.dataTable-pagination a{border:1px solid transparent;color:#333;float:left;margin-left:2px;padding:6px 12px;position:relative;text-decoration:none}.dataTable-pagination a:hover{background-color:#d9d9d9}.dataTable-pagination .active a,.dataTable-pagination .active a:focus,.dataTable-pagination .active a:hover{background-color:#d9d9d9;cursor:default}.dataTable-pagination .disabled a,.dataTable-pagination .disabled a:focus,.dataTable-pagination .disabled a:hover,.dataTable-pagination .ellipsis a{cursor:not-allowed}.dataTable-pagination .disabled a,.dataTable-pagination .disabled a:focus,.dataTable-pagination .disabled a:hover{cursor:not-allowed;opacity:.4}.dataTable-pagination .pager a{font-weight:700}.dataTable-table{border-collapse:separate;border-spacing:0;max-width:100%;width:100%}.dataTable-table>tbody>tr>td,.dataTable-table>tbody>tr>th,.dataTable-table>tfoot>tr>td,.dataTable-table>tfoot>tr>th,.dataTable-table>thead>tr>td,.dataTable-table>thead>tr>th{padding:8px 10px;vertical-align:top}.dataTable-table>thead>tr>th{border-bottom:1px solid #d9d9d9;text-align:left;vertical-align:bottom}.dataTable-table>tfoot>tr>th{border-top:1px solid #d9d9d9}.dataTable-table th,.dataTable-table>tfoot>tr>th{text-align:left;vertical-align:bottom}.dataTable-table th a{color:inherit;text-decoration:none}.dataTable-sorter{display:inline-block;height:100%;position:relative;width:100%}.dataTable-sorter:after,.dataTable-sorter:before{border-left:4px solid transparent;border-right:4px solid transparent;content:"";height:0;opacity:.2;position:absolute;right:4px;width:0}.dataTable-sorter:before{border-top:4px solid #000;bottom:0}.dataTable-sorter:after{border-bottom:4px solid #000;border-top:4px solid transparent;top:0}.asc .dataTable-sorter:after,.desc .dataTable-sorter:before{opacity:.6}.dataTables-empty{text-align:center}.dataTable-bottom:after,.dataTable-top:after{clear:both;content:" ";display:table} 2 | .dataTable-wrapper.no-footer .dataTable-container{border-bottom:none}.dataTable-selector{padding:.375rem 1.75rem .375rem .75rem}.dataTable-dropdown{align-items:center;display:inline-flex}.dataTable-dropdown label{margin-left:15px;white-space:nowrap} 3 | -------------------------------------------------------------------------------- /app/Http/Kernel.php: -------------------------------------------------------------------------------- 1 | [ 33 | \App\Http\Middleware\EncryptCookies::class, 34 | \Illuminate\Cookie\Middleware\AddQueuedCookiesToResponse::class, 35 | \Illuminate\Session\Middleware\StartSession::class, 36 | // \Illuminate\Session\Middleware\AuthenticateSession::class, 37 | \Illuminate\View\Middleware\ShareErrorsFromSession::class, 38 | \App\Http\Middleware\VerifyCsrfToken::class, 39 | \Illuminate\Routing\Middleware\SubstituteBindings::class, 40 | ], 41 | 42 | 'api' => [ 43 | // \Laravel\Sanctum\Http\Middleware\EnsureFrontendRequestsAreStateful::class, 44 | 'throttle:api', 45 | \Illuminate\Routing\Middleware\SubstituteBindings::class, 46 | ], 47 | ]; 48 | 49 | /** 50 | * The application's route middleware. 51 | * 52 | * These middleware may be assigned to groups or used individually. 53 | * 54 | * @var array 55 | */ 56 | protected $routeMiddleware = [ 57 | 'auth' => \App\Http\Middleware\Authenticate::class, 58 | 'auth.basic' => \Illuminate\Auth\Middleware\AuthenticateWithBasicAuth::class, 59 | 'cache.headers' => \Illuminate\Http\Middleware\SetCacheHeaders::class, 60 | 'can' => \Illuminate\Auth\Middleware\Authorize::class, 61 | 'guest' => \App\Http\Middleware\RedirectIfAuthenticated::class, 62 | 'password.confirm' => \Illuminate\Auth\Middleware\RequirePassword::class, 63 | 'signed' => \Illuminate\Routing\Middleware\ValidateSignature::class, 64 | 'throttle' => \Illuminate\Routing\Middleware\ThrottleRequests::class, 65 | 'verified' => \Illuminate\Auth\Middleware\EnsureEmailIsVerified::class, 66 | 67 | 'role' => \Spatie\Permission\Middlewares\RoleMiddleware::class, 68 | 'permission' => \Spatie\Permission\Middlewares\PermissionMiddleware::class, 69 | 'role_or_permission' => \Spatie\Permission\Middlewares\RoleOrPermissionMiddleware::class, 70 | ]; 71 | } 72 | -------------------------------------------------------------------------------- /app/Actions/Fortify/UpdateUserProfileInformation.php: -------------------------------------------------------------------------------- 1 | ['required', 'string', 'max:255'], 31 | 'email' => [ 32 | 'required', 33 | 'string', 34 | 'email', 35 | 'max:255', 36 | Rule::unique('users')->ignore($user->id), 37 | ], 38 | 'avatar' => ['nullable', 'image', 'max:1024'] 39 | ])->validateWithBag('updateProfileInformation'); 40 | 41 | if (isset($input['avatar']) && $input['avatar']->isValid()) { 42 | 43 | $filename = $input['avatar']->hashName(); 44 | 45 | if (!file_exists($path = public_path($this->avatarPath))) { 46 | mkdir($path, 0777, true); 47 | } 48 | 49 | Image::make($input['avatar']->getRealPath())->resize(500, 500, function ($constraint) { 50 | $constraint->aspectRatio(); 51 | $constraint->upsize(); 52 | })->save(public_path($this->avatarPath) . $filename); 53 | 54 | // delete old avatar from storage 55 | if ($user->avatar != null && file_exists(public_path($this->avatarPath . $user->avatar))) { 56 | unlink(public_path($this->avatarPath . $user->avatar)); 57 | } 58 | 59 | $user->forceFill([ 60 | 'avatar' => $filename, 61 | ])->save(); 62 | } 63 | 64 | if ($input['email'] !== $user->email && $user instanceof MustVerifyEmail) { 65 | $this->updateVerifiedUser($user, $input); 66 | } else { 67 | $user->forceFill([ 68 | 'name' => $input['name'], 69 | 'email' => $input['email'], 70 | ])->save(); 71 | } 72 | } 73 | 74 | /** 75 | * Update the given verified user's profile information. 76 | * 77 | * @param mixed $user 78 | * @param array $input 79 | * @return void 80 | */ 81 | protected function updateVerifiedUser($user, array $input) 82 | { 83 | $user->forceFill([ 84 | 'name' => $input['name'], 85 | 'email' => $input['email'], 86 | 'email_verified_at' => null, 87 | ])->save(); 88 | 89 | $user->sendEmailVerificationNotification(); 90 | } 91 | } 92 | -------------------------------------------------------------------------------- /resources/views/auth/two-factor-challenge.blade.php: -------------------------------------------------------------------------------- 1 | @extends('layouts.auth') 2 | 3 | @section('title', __('Confirm Password')) 4 | 5 | @push('css') 6 | 7 | @endpush 8 | 9 | @section('content') 10 |
11 |
12 |
13 | 18 | 19 |

{{ __('Two Factor Challenge.') }}

20 | 21 |

{{ __('Enter the authentication code to log in.') }}

22 | 23 | @if ($errors->any()) 24 |
25 |
    26 | @foreach ($errors->all() as $error) 27 |
  • 28 |

    {{ $error }}

    29 |
  • 30 | @endforeach 31 | 32 |
33 |
34 | @endif 35 | 36 |
37 | @csrf 38 | 39 |
40 | 42 |
43 | 44 |
45 |
46 | 47 |
48 |
{{ __('Or you can enter one of the recovery codes') }}
49 |
50 | 51 |
52 | 54 |
55 | 56 |
57 |
58 | 59 | 60 |
61 |
62 |
63 | 64 |
65 |
66 |
67 |
68 |
69 | 70 | @endsection 71 | -------------------------------------------------------------------------------- /config/queue.php: -------------------------------------------------------------------------------- 1 | env('QUEUE_CONNECTION', 'sync'), 17 | 18 | /* 19 | |-------------------------------------------------------------------------- 20 | | Queue Connections 21 | |-------------------------------------------------------------------------- 22 | | 23 | | Here you may configure the connection information for each server that 24 | | is used by your application. A default configuration has been added 25 | | for each back-end shipped with Laravel. You are free to add more. 26 | | 27 | | Drivers: "sync", "database", "beanstalkd", "sqs", "redis", "null" 28 | | 29 | */ 30 | 31 | 'connections' => [ 32 | 33 | 'sync' => [ 34 | 'driver' => 'sync', 35 | ], 36 | 37 | 'database' => [ 38 | 'driver' => 'database', 39 | 'table' => 'jobs', 40 | 'queue' => 'default', 41 | 'retry_after' => 90, 42 | 'after_commit' => false, 43 | ], 44 | 45 | 'beanstalkd' => [ 46 | 'driver' => 'beanstalkd', 47 | 'host' => 'localhost', 48 | 'queue' => 'default', 49 | 'retry_after' => 90, 50 | 'block_for' => 0, 51 | 'after_commit' => false, 52 | ], 53 | 54 | 'sqs' => [ 55 | 'driver' => 'sqs', 56 | 'key' => env('AWS_ACCESS_KEY_ID'), 57 | 'secret' => env('AWS_SECRET_ACCESS_KEY'), 58 | 'prefix' => env('SQS_PREFIX', 'https://sqs.us-east-1.amazonaws.com/your-account-id'), 59 | 'queue' => env('SQS_QUEUE', 'default'), 60 | 'suffix' => env('SQS_SUFFIX'), 61 | 'region' => env('AWS_DEFAULT_REGION', 'us-east-1'), 62 | 'after_commit' => false, 63 | ], 64 | 65 | 'redis' => [ 66 | 'driver' => 'redis', 67 | 'connection' => 'default', 68 | 'queue' => env('REDIS_QUEUE', 'default'), 69 | 'retry_after' => 90, 70 | 'block_for' => null, 71 | 'after_commit' => false, 72 | ], 73 | 74 | ], 75 | 76 | /* 77 | |-------------------------------------------------------------------------- 78 | | Failed Queue Jobs 79 | |-------------------------------------------------------------------------- 80 | | 81 | | These options configure the behavior of failed queue job logging so you 82 | | can control which database and table are used to store the jobs that 83 | | have failed. You may change them to any database / table you wish. 84 | | 85 | */ 86 | 87 | 'failed' => [ 88 | 'driver' => env('QUEUE_FAILED_DRIVER', 'database-uuids'), 89 | 'database' => env('DB_CONNECTION', 'mysql'), 90 | 'table' => 'failed_jobs', 91 | ], 92 | 93 | ]; 94 | -------------------------------------------------------------------------------- /resources/views/auth/reset-password.blade.php: -------------------------------------------------------------------------------- 1 | @extends('layouts.auth') 2 | 3 | @section('title', __('Reset Password')) 4 | 5 | @push('css') 6 | 7 | @endpush 8 | 9 | @section('content') 10 |
11 |
12 |
13 |

{{ __('Reset Password.') }}

14 |

{{ __('Enter your new password below.') }}

15 | 16 | @if ($errors->any()) 17 |
18 |
    19 | @foreach ($errors->all() as $error) 20 |
  • 21 |

    {{ $error }}

    22 |
  • 23 | @endforeach 24 | 25 |
26 |
27 | @endif 28 | 29 |
30 | @csrf 31 | 32 | 33 |
34 | 37 |
38 | 39 |
40 |
41 |
42 | 45 |
46 | 47 |
48 |
49 |
50 | 52 |
53 | 54 |
55 |
56 | 57 |
58 |
59 |
60 | 61 |
62 |
63 |
64 |
65 |
66 | 67 | @endsection 68 | -------------------------------------------------------------------------------- /resources/views/roles/show.blade.php: -------------------------------------------------------------------------------- 1 | @extends('layouts.app') 2 | 3 | @section('title', __('Detail Role')) 4 | 5 | @section('content') 6 |
7 |
8 |
9 |
10 |

{{ __('Role') }}

11 |

12 | {{ __('Detail role information.') }} 13 |

14 |
15 | 16 | 17 | 20 | 23 | 26 | 27 |
28 |
29 | 30 |
31 |
32 |
33 |
34 |
35 |
36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 50 | 51 | 52 | 53 | 54 | 55 | 56 | 57 | 58 | 59 |
{{ __('Name') }}{{ $role->name }}
{{ __('Permissions') }} 44 |
    45 | @foreach ($role->permissions as $permission) 46 |
  • • {{ $permission->name }}
  • 47 | @endforeach 48 |
49 |
{{ __('Created at') }}{{ $role->created_at->format('d/m/Y H:i') }}
{{ __('Updated at') }}{{ $role->updated_at->format('d/m/Y H:i') }}
60 |
61 | {{ __('Back') }} 62 |
63 |
64 |
65 |
66 |
67 |
68 | @endsection 69 | -------------------------------------------------------------------------------- /resources/views/auth/forgot-password.blade.php: -------------------------------------------------------------------------------- 1 | @extends('layouts.auth') 2 | 3 | @section('title', __('Forgot Password')) 4 | 5 | @push('css') 6 | 7 | @endpush 8 | 9 | @section('content') 10 |
11 |
12 |
13 | 16 | 17 |

{{ __('Forgot Password.') }}

18 | 19 |

20 | {{ __('Enter your email and we\'ll send your a link to reset your password.') }}

21 | 22 | @if ($errors->any()) 23 |
24 |
    25 | @foreach ($errors->all() as $error) 26 |
  • 27 |

    {{ $error }}

    28 |
  • 29 | @endforeach 30 | 31 |
32 |
33 | @endif 34 | 35 | @if (session('status')) 36 |
37 | {{ session('status') }} 38 | 39 |
40 | @endif 41 | 42 |
43 | @csrf 44 | 45 |
46 | 48 |
49 | 50 |
51 |
52 | 53 | 55 |
56 | 57 |
58 |

{{ __("Don't have an account") }}? 59 | 60 | {{ __('Sign up.') }} 61 | 62 |

63 | 64 |

{{ __('Already have an account') }}? 65 | {{ __('Log in.') }} 66 |

67 |
68 |
69 |
70 | 71 |
72 |
73 |
74 |
75 |
76 | 77 | @endsection 78 | -------------------------------------------------------------------------------- /public/mazer/images/logo/logo.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /config/cache.php: -------------------------------------------------------------------------------- 1 | env('CACHE_DRIVER', 'file'), 19 | 20 | /* 21 | |-------------------------------------------------------------------------- 22 | | Cache Stores 23 | |-------------------------------------------------------------------------- 24 | | 25 | | Here you may define all of the cache "stores" for your application as 26 | | well as their drivers. You may even define multiple stores for the 27 | | same cache driver to group types of items stored in your caches. 28 | | 29 | | Supported drivers: "apc", "array", "database", "file", 30 | | "memcached", "redis", "dynamodb", "octane", "null" 31 | | 32 | */ 33 | 34 | 'stores' => [ 35 | 36 | 'apc' => [ 37 | 'driver' => 'apc', 38 | ], 39 | 40 | 'array' => [ 41 | 'driver' => 'array', 42 | 'serialize' => false, 43 | ], 44 | 45 | 'database' => [ 46 | 'driver' => 'database', 47 | 'table' => 'cache', 48 | 'connection' => null, 49 | 'lock_connection' => null, 50 | ], 51 | 52 | 'file' => [ 53 | 'driver' => 'file', 54 | 'path' => storage_path('framework/cache/data'), 55 | ], 56 | 57 | 'memcached' => [ 58 | 'driver' => 'memcached', 59 | 'persistent_id' => env('MEMCACHED_PERSISTENT_ID'), 60 | 'sasl' => [ 61 | env('MEMCACHED_USERNAME'), 62 | env('MEMCACHED_PASSWORD'), 63 | ], 64 | 'options' => [ 65 | // Memcached::OPT_CONNECT_TIMEOUT => 2000, 66 | ], 67 | 'servers' => [ 68 | [ 69 | 'host' => env('MEMCACHED_HOST', '127.0.0.1'), 70 | 'port' => env('MEMCACHED_PORT', 11211), 71 | 'weight' => 100, 72 | ], 73 | ], 74 | ], 75 | 76 | 'redis' => [ 77 | 'driver' => 'redis', 78 | 'connection' => 'cache', 79 | 'lock_connection' => 'default', 80 | ], 81 | 82 | 'dynamodb' => [ 83 | 'driver' => 'dynamodb', 84 | 'key' => env('AWS_ACCESS_KEY_ID'), 85 | 'secret' => env('AWS_SECRET_ACCESS_KEY'), 86 | 'region' => env('AWS_DEFAULT_REGION', 'us-east-1'), 87 | 'table' => env('DYNAMODB_CACHE_TABLE', 'cache'), 88 | 'endpoint' => env('DYNAMODB_ENDPOINT'), 89 | ], 90 | 91 | 'octane' => [ 92 | 'driver' => 'octane', 93 | ], 94 | 95 | ], 96 | 97 | /* 98 | |-------------------------------------------------------------------------- 99 | | Cache Key Prefix 100 | |-------------------------------------------------------------------------- 101 | | 102 | | When utilizing a RAM based store such as APC or Memcached, there might 103 | | be other applications utilizing the same cache. So, we'll specify a 104 | | value to get prefixed to all our keys so we can avoid collisions. 105 | | 106 | */ 107 | 108 | 'prefix' => env('CACHE_PREFIX', Str::slug(env('APP_NAME', 'laravel'), '_').'_cache'), 109 | 110 | ]; 111 | -------------------------------------------------------------------------------- /resources/views/roles/index.blade.php: -------------------------------------------------------------------------------- 1 | @extends('layouts.app') 2 | 3 | @section('title', __('Roles')) 4 | 5 | @section('content') 6 |
7 |
8 |
9 |
10 |

{{ __('Roles') }}

11 |

12 | {{ __('Below is a list of all roles.') }} 13 |

14 |
15 | 16 | 17 | 18 | 19 |
20 |
21 | 22 |
23 | 24 | 25 | @can('role & permission create') 26 | 32 | @endcan 33 | 34 |
35 |
36 |
37 |
38 |
39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 |
{{ __('Name') }}{{ __('Created At') }}{{ __('Updated At') }}{{ __('Action') }}
49 |
50 |
51 |
52 |
53 |
54 |
55 |
56 | @endsection 57 | 58 | @push('css') 59 | 60 | 61 | @endpush 62 | 63 | @push('js') 64 | 65 | 66 | 92 | @endpush 93 | -------------------------------------------------------------------------------- /config/mail.php: -------------------------------------------------------------------------------- 1 | env('MAIL_MAILER', 'smtp'), 17 | 18 | /* 19 | |-------------------------------------------------------------------------- 20 | | Mailer Configurations 21 | |-------------------------------------------------------------------------- 22 | | 23 | | Here you may configure all of the mailers used by your application plus 24 | | their respective settings. Several examples have been configured for 25 | | you and you are free to add your own as your application requires. 26 | | 27 | | Laravel supports a variety of mail "transport" drivers to be used while 28 | | sending an e-mail. You will specify which one you are using for your 29 | | mailers below. You are free to add additional mailers as required. 30 | | 31 | | Supported: "smtp", "sendmail", "mailgun", "ses", 32 | | "postmark", "log", "array", "failover" 33 | | 34 | */ 35 | 36 | 'mailers' => [ 37 | 'smtp' => [ 38 | 'transport' => 'smtp', 39 | 'host' => env('MAIL_HOST', 'smtp.mailgun.org'), 40 | 'port' => env('MAIL_PORT', 587), 41 | 'encryption' => env('MAIL_ENCRYPTION', 'tls'), 42 | 'username' => env('MAIL_USERNAME'), 43 | 'password' => env('MAIL_PASSWORD'), 44 | 'timeout' => null, 45 | 'auth_mode' => null, 46 | ], 47 | 48 | 'ses' => [ 49 | 'transport' => 'ses', 50 | ], 51 | 52 | 'mailgun' => [ 53 | 'transport' => 'mailgun', 54 | ], 55 | 56 | 'postmark' => [ 57 | 'transport' => 'postmark', 58 | ], 59 | 60 | 'sendmail' => [ 61 | 'transport' => 'sendmail', 62 | 'path' => '/usr/sbin/sendmail -bs', 63 | ], 64 | 65 | 'log' => [ 66 | 'transport' => 'log', 67 | 'channel' => env('MAIL_LOG_CHANNEL'), 68 | ], 69 | 70 | 'array' => [ 71 | 'transport' => 'array', 72 | ], 73 | 74 | 'failover' => [ 75 | 'transport' => 'failover', 76 | 'mailers' => [ 77 | 'smtp', 78 | 'log', 79 | ], 80 | ], 81 | ], 82 | 83 | /* 84 | |-------------------------------------------------------------------------- 85 | | Global "From" Address 86 | |-------------------------------------------------------------------------- 87 | | 88 | | You may wish for all e-mails sent by your application to be sent from 89 | | the same address. Here, you may specify a name and address that is 90 | | used globally for all e-mails that are sent by your application. 91 | | 92 | */ 93 | 94 | 'from' => [ 95 | 'address' => env('MAIL_FROM_ADDRESS', 'hello@example.com'), 96 | 'name' => env('MAIL_FROM_NAME', 'Example'), 97 | ], 98 | 99 | /* 100 | |-------------------------------------------------------------------------- 101 | | Markdown Mail Settings 102 | |-------------------------------------------------------------------------- 103 | | 104 | | If you are using Markdown based email rendering, you may configure your 105 | | theme and component paths here, allowing you to customize the design 106 | | of the emails. Or, you may simply stick with the Laravel defaults! 107 | | 108 | */ 109 | 110 | 'markdown' => [ 111 | 'theme' => 'default', 112 | 113 | 'paths' => [ 114 | resource_path('views/vendor/mail'), 115 | ], 116 | ], 117 | 118 | ]; 119 | --------------------------------------------------------------------------------