From 38ef46dc145a0ca272118730416e119493e98fa2 Mon Sep 17 00:00:00 2001 From: Handika Date: Sun, 18 Oct 2020 01:54:36 +0700 Subject: [PATCH] propose better docker setup --- .editorconfig | 0 .env.dusk.example | 0 .env.example | 9 +- .gitattributes | 0 .github/ISSUE_TEMPLATE/bug_report.md | 0 .github/ISSUE_TEMPLATE/custom.md | 0 .github/ISSUE_TEMPLATE/feature_request.md | 0 .github/workflows/greetings.yml | 0 .gitignore | 0 .php_cs | 0 .phpunit.result.cache | 0 .travis.yml | 0 .vscode/launch.json | 0 .vscode/settings.json | 0 CODE_OF_CONDUCT.md | 0 CONTRIBUTING.md | 0 Dockerfile | 53 --- FUNDING.yml | 0 LICENSE | 0 _config.yml | 0 app/Account.php | 0 app/AccountSector.php | 0 app/Attendance.php | 0 app/Book.php | 0 app/Certificate.php | 0 app/Console/Kernel.php | 0 app/Course.php | 0 app/Department.php | 0 app/Event.php | 0 app/Events/StudentInfoUpdateRequested.php | 0 app/Events/UserRegistered.php | 0 app/Exam.php | 0 app/ExamForClass.php | 0 app/Exceptions/Handler.php | 0 app/Exports/StudentsExport.php | 0 app/Exports/TeachersExport.php | 0 app/Faq.php | 0 app/Fee.php | 0 app/Feedback.php | 0 app/Form.php | 0 app/Grade.php | 0 app/Gradesystem.php | 0 app/Homework.php | 0 app/Http/Controllers/AccountController.php | 0 app/Http/Controllers/AttendanceController.php | 0 .../Auth/ForgotPasswordController.php | 0 app/Http/Controllers/Auth/LoginController.php | 0 .../Controllers/Auth/RegisterController.php | 0 .../Auth/ResetPasswordController.php | 0 app/Http/Controllers/CashierController.php | 0 .../Controllers/CertificateController.php | 0 app/Http/Controllers/Controller.php | 0 app/Http/Controllers/CourseController.php | 0 app/Http/Controllers/EventController.php | 0 app/Http/Controllers/ExamController.php | 0 app/Http/Controllers/FaqController.php | 0 app/Http/Controllers/FeeController.php | 0 app/Http/Controllers/FeedbackController.php | 0 app/Http/Controllers/FormController.php | 0 app/Http/Controllers/GradeController.php | 0 .../Controllers/GradesystemController.php | 0 app/Http/Controllers/HomeController.php | 0 app/Http/Controllers/HomeworkController.php | 0 app/Http/Controllers/IssuedbookController.php | 0 .../Controllers/Library/BookController.php | 0 app/Http/Controllers/MasterController.php | 0 app/Http/Controllers/MessageController.php | 0 app/Http/Controllers/MyclassController.php | 0 app/Http/Controllers/NoticeController.php | 0 .../Controllers/NotificationController.php | 0 app/Http/Controllers/PaymentController.php | 0 app/Http/Controllers/RoutineController.php | 0 app/Http/Controllers/SchoolController.php | 0 app/Http/Controllers/SectionController.php | 0 app/Http/Controllers/SettingController.php | 0 app/Http/Controllers/SyllabusController.php | 0 app/Http/Controllers/UploadController.php | 0 app/Http/Controllers/UploadHandler.php | 0 app/Http/Controllers/UserController.php | 0 app/Http/Kernel.php | 0 app/Http/Middleware/CheckAccountant.php | 0 app/Http/Middleware/CheckAdmin.php | 0 app/Http/Middleware/CheckLibrarian.php | 0 app/Http/Middleware/CheckMaster.php | 0 app/Http/Middleware/CheckMasterOrAdmin.php | 0 app/Http/Middleware/CheckStudent.php | 0 app/Http/Middleware/CheckTeacher.php | 0 app/Http/Middleware/CheckTeacherOrStudent.php | 0 app/Http/Middleware/EncryptCookies.php | 0 .../Middleware/RedirectIfAuthenticated.php | 0 app/Http/Middleware/TrimStrings.php | 0 app/Http/Middleware/TrustProxies.php | 0 app/Http/Middleware/VerifyCsrfToken.php | 0 .../Requests/Account/StoreAccountRequest.php | 0 .../Requests/Account/StoreSectorRequest.php | 0 .../Requests/Account/UpdateAccountRequest.php | 0 .../Attendance/StoreAttendanceRequest.php | 0 .../Course/SaveConfigurationRequest.php | 0 app/Http/Requests/Exam/CreateExamRequest.php | 0 .../Requests/Grade/CalculateMarksRequest.php | 0 app/Http/Requests/Library/BookRequest.php | 0 app/Http/Requests/SchoolRequest.php | 0 .../Requests/User/ChangePasswordRequest.php | 0 .../Requests/User/CreateAccountantRequest.php | 0 app/Http/Requests/User/CreateAdminRequest.php | 0 .../Requests/User/CreateLibrarianRequest.php | 0 .../Requests/User/CreateTeacherRequest.php | 0 app/Http/Requests/User/CreateUserRequest.php | 0 .../Requests/User/ImpersonateUserRequest.php | 0 app/Http/Requests/User/UpdateUserRequest.php | 0 app/Http/Resources/AttendanceResource.php | 0 app/Http/Resources/BookResource.php | 0 app/Http/Resources/ClassResource.php | 0 app/Http/Resources/CourseResource.php | 0 app/Http/Resources/EventResource.php | 0 app/Http/Resources/FaqResource.php | 0 app/Http/Resources/FeedbackResource.php | 0 app/Http/Resources/FormResource.php | 0 app/Http/Resources/GradeResource.php | 0 app/Http/Resources/HomeworkResource.php | 0 app/Http/Resources/MessageResource.php | 0 app/Http/Resources/NoticeResource.php | 0 app/Http/Resources/NotificationResource.php | 0 app/Http/Resources/RoutineResource.php | 0 app/Http/Resources/SchoolResource.php | 0 app/Http/Resources/SectionResource.php | 0 app/Http/Resources/SyllabusResource.php | 0 app/Http/Resources/UserResource.php | 0 app/Http/Traits/GradeTrait.php | 0 app/Imports/FirstStudentSheetImport.php | 0 app/Imports/FirstTeacherSheetImport.php | 0 app/Imports/StudentsImport.php | 0 app/Imports/TeachersImport.php | 0 app/Issuedbook.php | 0 app/Listeners/SendWelcomeEmail.php | 0 app/Listeners/UpdateStudentInfo.php | 0 app/Mail/SendWelcomeEmailToUser.php | 0 app/Message.php | 0 app/Model.php | 0 app/Myclass.php | 0 app/Notice.php | 0 app/Notification.php | 0 app/Payment.php | 0 app/Providers/AppServiceProvider.php | 0 app/Providers/AuthServiceProvider.php | 0 app/Providers/BroadcastServiceProvider.php | 0 app/Providers/EventServiceProvider.php | 0 app/Providers/RouteServiceProvider.php | 0 app/Routine.php | 0 app/School.php | 0 app/Section.php | 0 app/Services/Account/AccountService.php | 0 app/Services/Attendance/AttendanceService.php | 0 app/Services/Course/CourseService.php | 0 app/Services/Exam/ExamService.php | 0 app/Services/Grade/GradeService.php | 0 app/Services/IssueBook/IssuedBookService.php | 0 app/Services/User/UserService.php | 0 app/StudentBoardExam.php | 0 app/StudentInfo.php | 0 app/Syllabus.php | 0 app/User.php | 0 artisan | 0 bootstrap/app.php | 0 bootstrap/cache/.gitignore | 0 composer.json | 1 + composer.lock | 0 config/app.php | 0 config/auth.php | 0 config/broadcasting.php | 0 config/cache.php | 0 config/database.php | 0 config/filesystems.php | 0 config/mail.php | 0 config/queue.php | 0 config/services.php | 0 config/session.php | 0 config/view.php | 0 database/.gitignore | 0 database/factories/AccountFactory.php | 0 database/factories/AccountSectorFactory.php | 0 database/factories/AttendanceFactory.php | 0 database/factories/BookFactory.php | 0 database/factories/CertificateFactory.php | 0 database/factories/CourseFactory.php | 0 database/factories/DepartmentFactory.php | 0 database/factories/EventFactory.php | 0 database/factories/ExamFactory.php | 0 database/factories/ExamForClassFactory.php | 0 database/factories/FaqFactory.php | 0 database/factories/FeeFactory.php | 0 database/factories/FeedbackFactory.php | 0 database/factories/FormFactory.php | 0 database/factories/GradeFactory.php | 0 database/factories/GradesystemFactory.php | 0 database/factories/HomeworkFactory.php | 0 database/factories/IssuedbooksFactory.php | 0 database/factories/MessageFactory.php | 0 database/factories/MyclassFactory.php | 0 database/factories/NoticeFactory.php | 0 database/factories/NotificationFactory.php | 0 database/factories/PaymentFactory.php | 0 database/factories/RoutineFactory.php | 0 database/factories/SchoolFactory.php | 0 database/factories/SectionFactory.php | 0 .../factories/StudentboardexamFactory.php | 0 database/factories/StudentinfoFactory.php | 0 database/factories/SyllabusFactory.php | 0 database/factories/UserFactory.php | 0 ...2014_10_12_000000_create_schools_table.php | 0 .../2014_10_12_100000_create_users_table.php | 0 .../2017_12_21_065735_create_exams_table.php | 0 ...27_025313_create_password_resets_table.php | 0 ..._12_27_025349_create_attendances_table.php | 0 ...2017_12_27_025413_create_classes_table.php | 0 ...017_12_27_025427_create_sections_table.php | 0 ...7_12_27_025450_create_syllabuses_table.php | 0 ...2017_12_27_025503_create_notices_table.php | 0 .../2017_12_27_025512_create_events_table.php | 0 ...17_12_27_025530_create_homeworks_table.php | 0 ...017_12_27_025542_create_routines_table.php | 0 .../2017_12_27_025556_create_grades_table.php | 0 ...2_27_025612_create_notifications_table.php | 0 ...17_12_27_025631_create_feedbacks_table.php | 0 .../2017_12_27_025644_create_books_table.php | 0 ...2017_12_27_025727_create_courses_table.php | 0 .../2017_12_27_025738_create_forms_table.php | 0 ...017_12_27_025751_create_messages_table.php | 0 .../2017_12_27_025806_create_faqs_table.php | 0 .../2018_02_06_161642_create_fees_table.php | 0 ...3_26_105657_create_grade_systems_table.php | 0 ...03_27_153448_create_issued_books_table.php | 0 ...018_04_01_195635_create_accounts_table.php | 0 ...01_195715_create_account_sectors_table.php | 0 ...4_29_121233_create_student_infos_table.php | 0 ...21517_create_student_board_exams_table.php | 0 ...5_163435_create_exam_for_classes_table.php | 0 ...epartment_class_teacher_to_users_table.php | 0 ...add_term_start_end_date_to_exams_table.php | 0 ..._10_09_203125_create_departments_table.php | 0 ...05033_add_class_id_to_syllabuses_table.php | 0 ...21149_add_section_id_to_routines_table.php | 0 ...700_add_active_to_exam_for_class_table.php | 0 ...51601_add_stripe_fields_in_users_table.php | 0 ...63920_create_stripe_subscription_table.php | 0 ...019_05_10_193135_create_payments_table.php | 0 ...07_24_201246_create_certificates_table.php | 0 database/seeds/AccountSectorsTableSeeder.php | 0 database/seeds/AccountsTableSeeder.php | 0 database/seeds/AttendancesTableSeeder.php | 0 database/seeds/BooksTableSeeder.php | 0 database/seeds/CertificateTableSeeder.php | 0 database/seeds/ClassesTableSeeder.php | 0 database/seeds/CoursesTableSeeder.php | 0 database/seeds/DatabaseSeeder.php | 0 database/seeds/DepartmentTableSeeder.php | 0 database/seeds/EventsTableSeeder.php | 0 database/seeds/ExamForClassesTableSeeder.php | 0 database/seeds/ExamsTableSeeder.php | 0 database/seeds/FaqsTableSeeder.php | 0 database/seeds/FeedbacksTableSeeder.php | 0 database/seeds/FeesTableSeeder.php | 0 database/seeds/FormsTableSeeder.php | 0 database/seeds/GradesTableSeeder.php | 0 database/seeds/GradesystemsTableSeeder.php | 0 database/seeds/HomeworksTableSeeder.php | 0 database/seeds/IssuedbooksTableSeeder.php | 0 database/seeds/MessagesTableSeeder.php | 0 database/seeds/NoticesTableSeeder.php | 0 database/seeds/NotificationsTableSeeder.php | 0 database/seeds/RoutinesTableSeeder.php | 0 database/seeds/SchoolsTableSeeder.php | 0 database/seeds/SectionsTableSeeder.php | 0 .../seeds/StudentboardexamsTableSeeder.php | 0 database/seeds/StudentinfosTableSeeder.php | 0 database/seeds/SyllabusesTableSeeder.php | 0 database/seeds/UsersTableSeeder.php | 0 docker-compose.yml | 127 +++-- docker-install.sh | 15 + docker/composer.dockerfile | 5 + docker/nginx.dockerfile | 10 + .../app.conf => docker/nginx/default.conf | 18 +- docker/nginx/nginx.conf | 29 ++ docker/php.dockerfile | 14 + docker/php/php.ini | 4 + docker/php/www.conf | 439 ++++++++++++++++++ mysql/my.cnf | 4 - package-lock.json | 0 package.json | 0 php/local.ini | 2 - phpunit.dusk.xml | 0 phpunit.xml | 0 public/.htaccess | 0 public/01-progress.gif | Bin public/appname.svg | 0 public/css/app.css | 0 public/css/application.css | 0 public/css/bootstrap-notifications.min.css | 0 public/css/loader.css | 0 public/css/vendors.css | 0 public/favicon.ico | 0 public/fonts/glyphicons-halflings-regular.eot | Bin public/fonts/glyphicons-halflings-regular.svg | 0 public/fonts/glyphicons-halflings-regular.ttf | Bin .../fonts/glyphicons-halflings-regular.woff | Bin .../fonts/glyphicons-halflings-regular.woff2 | Bin public/index.php | 0 public/js/app.js | 0 public/js/application.js | 0 public/js/jquery-2.1.3.min.js | 0 public/js/vendors.js | 0 public/mix-manifest.json | 0 public/robots.txt | 0 public/sanfran.jpg | Bin public/web.config | 0 readme.md | 60 +-- resources/assets/js/app.js | 0 resources/assets/js/bootstrap.js | 0 .../assets/js/components/ExampleComponent.vue | 0 resources/assets/sass/_variables.scss | 0 resources/assets/sass/app.scss | 0 .../theme/application/css/app-layout.css | 0 .../assets/theme/application/css/loader.css | 0 .../theme/application/js/initializer.js | 0 .../vendors/css/bootstrap-datepicker.min.css | 0 .../theme/vendors/css/bootstrap.min.css | 0 .../vendors/css/chosen.bootstrap.min.css | 0 .../css/dataTables-1.10.16.bootstrap.min.css | 0 .../css/flatly.bootstrap-3.3.7.min.css | 0 .../theme/vendors/js/bootstrap-3.3.7.min.js | 0 .../vendors/js/bootstrap-datepicker.min.js | 0 .../theme/vendors/js/chosen.jquery.min.js | 0 .../js/dataTables-1.10.16.bootstrap.min.js | 0 .../vendors/js/dataTables-1.10.16.min.js | 0 .../theme/vendors/js/jquery-2.1.3.min.js | 0 resources/lang/en/auth.php | 0 resources/lang/en/pagination.php | 0 resources/lang/en/passwords.php | 0 resources/lang/en/validation.php | 0 resources/lang/es-MX.json | 0 resources/lang/es-MX/auth.php | 0 resources/lang/es-MX/pagination.php | 0 resources/lang/es-MX/passwords.php | 0 resources/lang/es-MX/validation.php | 0 .../views/accounts/accountant-list.blade.php | 0 .../views/accounts/edit_sector.blade.php | 0 .../views/accounts/expense-edit.blade.php | 0 .../views/accounts/expense-list.blade.php | 0 resources/views/accounts/expense.blade.php | 0 .../views/accounts/income-edit.blade.php | 0 .../views/accounts/income-list.blade.php | 0 resources/views/accounts/income.blade.php | 0 resources/views/accounts/sector.blade.php | 0 resources/views/attendance/adjust.blade.php | 0 .../views/attendance/attendance.blade.php | 0 .../attendance/student-attendances.blade.php | 0 resources/views/auth/login.blade.php | 0 .../views/auth/passwords/email.blade.php | 0 .../views/auth/passwords/reset.blade.php | 0 resources/views/auth/register.blade.php | 0 resources/views/certificates/create.blade.php | 0 resources/views/certificates/index.blade.php | 0 .../views/components/active-exams.blade.php | 0 .../views/components/add-exam-form.blade.php | 0 .../components/adjust-attendance.blade.php | 0 .../views/components/all-books.blade.php | 0 .../components/book-issue-form.blade.php | 0 .../components/certificate-list.blade.php | 0 .../views/components/course-table.blade.php | 0 .../views/components/exams-list.blade.php | 0 .../components/excel-upload-form.blade.php | 0 .../views/components/fees-list.blade.php | 0 .../views/components/file-uploader.blade.php | 0 .../components/issued-books-list.blade.php | 0 resources/views/components/loader.blade.php | 0 .../views/components/navbar-top.blade.php | 0 .../components/promote-students.blade.php | 0 .../views/components/quill-editor.blade.php | 0 .../components/uploaded-files-list.blade.php | 0 .../components/user-board-exam.blade.php | 0 .../views/components/user-profile.blade.php | 0 resources/views/components/user.blade.php | 0 .../views/components/users-export.blade.php | 0 .../views/components/users-list.blade.php | 0 resources/views/course/class-course.blade.php | 0 resources/views/course/edit.blade.php | 0 resources/views/course/students.blade.php | 0 .../views/course/teacher-course.blade.php | 0 resources/views/email/user/welcome.blade.php | 0 resources/views/events/create.blade.php | 0 resources/views/exams/active.blade.php | 0 resources/views/exams/add.blade.php | 0 resources/views/exams/all.blade.php | 0 resources/views/fees/all.blade.php | 0 resources/views/fees/create.blade.php | 0 resources/views/gpa/all.blade.php | 0 resources/views/gpa/create.blade.php | 0 .../views/grade/all-exams-grade.blade.php | 0 resources/views/grade/class-result.blade.php | 0 resources/views/grade/course-grade.blade.php | 0 resources/views/grade/student-grade.blade.php | 0 resources/views/grade/teacher-grade.blade.php | 0 resources/views/home.blade.php | 0 resources/views/layouts/app.blade.php | 0 .../views/layouts/leftside-menubar.blade.php | 0 .../layouts/master/add-class-form.blade.php | 0 .../layouts/master/add-course-form.blade.php | 0 .../master/create-section-form.blade.php | 0 .../views/layouts/master/theme-form.blade.php | 0 .../layouts/master/theme-select.blade.php | 0 .../student/attendances-table.blade.php | 0 .../layouts/student/grade-table.blade.php | 0 .../layouts/teacher/attendance-form.blade.php | 0 .../layouts/teacher/grade-form.blade.php | 0 .../layouts/teacher/grade-table.blade.php | 0 resources/views/layouts/user.blade.php | 0 .../views/library/books/create-form.blade.php | 0 .../views/library/books/create.blade.php | 0 resources/views/library/books/edit.blade.php | 0 resources/views/library/books/form.blade.php | 0 resources/views/library/books/index.blade.php | 0 resources/views/library/books/show.blade.php | 0 resources/views/library/issuebooks.blade.php | 0 .../views/library/issued-books.blade.php | 0 .../views/library/librarian-list.blade.php | 0 resources/views/list/student-list.blade.php | 0 resources/views/list/teacher-list.blade.php | 0 resources/views/masters/index.blade.php | 0 resources/views/message/all.blade.php | 0 resources/views/notices/create.blade.php | 0 resources/views/pdf/profile-pdf.blade.php | 0 resources/views/pdf/result-pdf.blade.php | 0 .../views/profile/change-password.blade.php | 0 resources/views/profile/edit.blade.php | 0 resources/views/profile/impersonate.blade.php | 0 .../views/profile/section-students.blade.php | 0 resources/views/profile/user.blade.php | 0 resources/views/routines/create.blade.php | 0 resources/views/school/admin-list.blade.php | 0 .../views/school/promote-students.blade.php | 0 resources/views/school/sections.blade.php | 0 resources/views/schools/edit.blade.php | 0 resources/views/schools/form.blade.php | 0 resources/views/schools/index.blade.php | 0 resources/views/settings/index.blade.php | 0 resources/views/stripe/payment.blade.php | 0 resources/views/stripe/receipts.blade.php | 0 .../views/syllabus/course-syllabus.blade.php | 0 resources/views/welcome.blade.php | 0 routes/api.php | 0 routes/channels.php | 0 routes/console.php | 0 routes/web.php | 0 server.php | 0 storage/app/.gitignore | 0 storage/app/public/.gitignore | 0 storage/debugbar/.gitignore | 0 storage/framework/.gitignore | 0 storage/framework/cache/.gitignore | 0 storage/framework/sessions/.gitignore | 0 storage/framework/testing/.gitignore | 0 storage/framework/views/.gitignore | 0 storage/logs/.gitignore | 0 .../AdminUserManagesAcademicSettingsTest.php | 0 tests/Browser/ExampleTest.php | 0 tests/Browser/LoginTest.php | 0 .../Browser/MasterUserManagesSchoolsTest.php | 0 tests/Browser/Pages/HomePage.php | 0 tests/Browser/Pages/MasterPage.php | 0 tests/Browser/Pages/Page.php | 0 tests/Browser/Pages/SchoolPage.php | 0 tests/Browser/Pages/SettingPage.php | 0 tests/Browser/console/.gitignore | 0 tests/Browser/screenshots/.gitignore | 0 tests/CreatesApplication.php | 0 tests/DuskTestCase.php | 0 tests/Feature/AccountingModuleTest.php | 0 tests/Feature/AttendanceModuleTest.php | 0 tests/Feature/Auth/RegisterLoginTest.php | 0 tests/Feature/CertificateTest.php | 0 tests/Feature/CourseModuleTest.php | 0 tests/Feature/ExampleTest.php | 0 tests/Feature/GradeModuleTest.php | 0 tests/Feature/GradeSystemModuleTest.php | 0 tests/Feature/LibrarianTest.php | 0 tests/Feature/Library/BookModuleTest.php | 0 .../Feature/Library/IssuedBookModuleTest.php | 0 tests/Feature/Manage/ClassModuleTest.php | 0 tests/Feature/Manage/CourseModuleTest.php | 0 tests/Feature/Manage/ExamModuleTest.php | 0 tests/Feature/Manage/SchoolModuleTest.php | 0 tests/Feature/Manage/SectionModuleTest.php | 0 tests/Feature/Manage/SettingModuleTest.php | 0 tests/Feature/PaymentModuleTest.php | 0 tests/Feature/UserModuleTest.php | 0 tests/Feature/UsersExcelExportTest.php | 0 tests/TestCase.php | 0 tests/Unit/App/AccountTest.php | 0 tests/Unit/App/AttendanceTest.php | 0 tests/Unit/App/BookTest.php | 0 tests/Unit/App/DepartmentTest.php | 0 tests/Unit/App/EventTest.php | 0 tests/Unit/App/ExamTest.php | 0 tests/Unit/App/FeeTest.php | 0 tests/Unit/App/FormTest.php | 0 tests/Unit/App/GradeTest.php | 0 tests/Unit/App/GradesystemTest.php | 0 tests/Unit/App/IssuedBookTest.php | 0 tests/Unit/App/MessageTest.php | 0 tests/Unit/App/MyclassTest.php | 0 tests/Unit/App/NoticeTest.php | 0 tests/Unit/App/RoutineTest.php | 0 tests/Unit/App/SchoolTest.php | 0 tests/Unit/App/SectionTest.php | 0 tests/Unit/App/SyllabusTest.php | 0 tests/Unit/App/UsersTest.php | 0 tests/Unit/ExampleTest.php | 0 tests/Unit/IssuedBookTest.php | 0 tests/Unit/MarkCalculationTest.php | 0 tests/utilities/functions.php | 0 webpack.mix.js | 0 521 files changed, 650 insertions(+), 140 deletions(-) mode change 100644 => 100755 .editorconfig mode change 100644 => 100755 .env.dusk.example mode change 100644 => 100755 .env.example mode change 100644 => 100755 .gitattributes mode change 100644 => 100755 .github/ISSUE_TEMPLATE/bug_report.md mode change 100644 => 100755 .github/ISSUE_TEMPLATE/custom.md mode change 100644 => 100755 .github/ISSUE_TEMPLATE/feature_request.md mode change 100644 => 100755 .github/workflows/greetings.yml mode change 100644 => 100755 .gitignore mode change 100644 => 100755 .php_cs mode change 100644 => 100755 .phpunit.result.cache mode change 100644 => 100755 .travis.yml mode change 100644 => 100755 .vscode/launch.json mode change 100644 => 100755 .vscode/settings.json mode change 100644 => 100755 CODE_OF_CONDUCT.md mode change 100644 => 100755 CONTRIBUTING.md delete mode 100644 Dockerfile mode change 100644 => 100755 FUNDING.yml mode change 100644 => 100755 LICENSE mode change 100644 => 100755 _config.yml mode change 100644 => 100755 app/Account.php mode change 100644 => 100755 app/AccountSector.php mode change 100644 => 100755 app/Attendance.php mode change 100644 => 100755 app/Book.php mode change 100644 => 100755 app/Certificate.php mode change 100644 => 100755 app/Console/Kernel.php mode change 100644 => 100755 app/Course.php mode change 100644 => 100755 app/Department.php mode change 100644 => 100755 app/Event.php mode change 100644 => 100755 app/Events/StudentInfoUpdateRequested.php mode change 100644 => 100755 app/Events/UserRegistered.php mode change 100644 => 100755 app/Exam.php mode change 100644 => 100755 app/ExamForClass.php mode change 100644 => 100755 app/Exceptions/Handler.php mode change 100644 => 100755 app/Exports/StudentsExport.php mode change 100644 => 100755 app/Exports/TeachersExport.php mode change 100644 => 100755 app/Faq.php mode change 100644 => 100755 app/Fee.php mode change 100644 => 100755 app/Feedback.php mode change 100644 => 100755 app/Form.php mode change 100644 => 100755 app/Grade.php mode change 100644 => 100755 app/Gradesystem.php mode change 100644 => 100755 app/Homework.php mode change 100644 => 100755 app/Http/Controllers/AccountController.php mode change 100644 => 100755 app/Http/Controllers/AttendanceController.php mode change 100644 => 100755 app/Http/Controllers/Auth/ForgotPasswordController.php mode change 100644 => 100755 app/Http/Controllers/Auth/LoginController.php mode change 100644 => 100755 app/Http/Controllers/Auth/RegisterController.php mode change 100644 => 100755 app/Http/Controllers/Auth/ResetPasswordController.php mode change 100644 => 100755 app/Http/Controllers/CashierController.php mode change 100644 => 100755 app/Http/Controllers/CertificateController.php mode change 100644 => 100755 app/Http/Controllers/Controller.php mode change 100644 => 100755 app/Http/Controllers/CourseController.php mode change 100644 => 100755 app/Http/Controllers/EventController.php mode change 100644 => 100755 app/Http/Controllers/ExamController.php mode change 100644 => 100755 app/Http/Controllers/FaqController.php mode change 100644 => 100755 app/Http/Controllers/FeeController.php mode change 100644 => 100755 app/Http/Controllers/FeedbackController.php mode change 100644 => 100755 app/Http/Controllers/FormController.php mode change 100644 => 100755 app/Http/Controllers/GradeController.php mode change 100644 => 100755 app/Http/Controllers/GradesystemController.php mode change 100644 => 100755 app/Http/Controllers/HomeController.php mode change 100644 => 100755 app/Http/Controllers/HomeworkController.php mode change 100644 => 100755 app/Http/Controllers/IssuedbookController.php mode change 100644 => 100755 app/Http/Controllers/Library/BookController.php mode change 100644 => 100755 app/Http/Controllers/MasterController.php mode change 100644 => 100755 app/Http/Controllers/MessageController.php mode change 100644 => 100755 app/Http/Controllers/MyclassController.php mode change 100644 => 100755 app/Http/Controllers/NoticeController.php mode change 100644 => 100755 app/Http/Controllers/NotificationController.php mode change 100644 => 100755 app/Http/Controllers/PaymentController.php mode change 100644 => 100755 app/Http/Controllers/RoutineController.php mode change 100644 => 100755 app/Http/Controllers/SchoolController.php mode change 100644 => 100755 app/Http/Controllers/SectionController.php mode change 100644 => 100755 app/Http/Controllers/SettingController.php mode change 100644 => 100755 app/Http/Controllers/SyllabusController.php mode change 100644 => 100755 app/Http/Controllers/UploadController.php mode change 100644 => 100755 app/Http/Controllers/UploadHandler.php mode change 100644 => 100755 app/Http/Controllers/UserController.php mode change 100644 => 100755 app/Http/Kernel.php mode change 100644 => 100755 app/Http/Middleware/CheckAccountant.php mode change 100644 => 100755 app/Http/Middleware/CheckAdmin.php mode change 100644 => 100755 app/Http/Middleware/CheckLibrarian.php mode change 100644 => 100755 app/Http/Middleware/CheckMaster.php mode change 100644 => 100755 app/Http/Middleware/CheckMasterOrAdmin.php mode change 100644 => 100755 app/Http/Middleware/CheckStudent.php mode change 100644 => 100755 app/Http/Middleware/CheckTeacher.php mode change 100644 => 100755 app/Http/Middleware/CheckTeacherOrStudent.php mode change 100644 => 100755 app/Http/Middleware/EncryptCookies.php mode change 100644 => 100755 app/Http/Middleware/RedirectIfAuthenticated.php mode change 100644 => 100755 app/Http/Middleware/TrimStrings.php mode change 100644 => 100755 app/Http/Middleware/TrustProxies.php mode change 100644 => 100755 app/Http/Middleware/VerifyCsrfToken.php mode change 100644 => 100755 app/Http/Requests/Account/StoreAccountRequest.php mode change 100644 => 100755 app/Http/Requests/Account/StoreSectorRequest.php mode change 100644 => 100755 app/Http/Requests/Account/UpdateAccountRequest.php mode change 100644 => 100755 app/Http/Requests/Attendance/StoreAttendanceRequest.php mode change 100644 => 100755 app/Http/Requests/Course/SaveConfigurationRequest.php mode change 100644 => 100755 app/Http/Requests/Exam/CreateExamRequest.php mode change 100644 => 100755 app/Http/Requests/Grade/CalculateMarksRequest.php mode change 100644 => 100755 app/Http/Requests/Library/BookRequest.php mode change 100644 => 100755 app/Http/Requests/SchoolRequest.php mode change 100644 => 100755 app/Http/Requests/User/ChangePasswordRequest.php mode change 100644 => 100755 app/Http/Requests/User/CreateAccountantRequest.php mode change 100644 => 100755 app/Http/Requests/User/CreateAdminRequest.php mode change 100644 => 100755 app/Http/Requests/User/CreateLibrarianRequest.php mode change 100644 => 100755 app/Http/Requests/User/CreateTeacherRequest.php mode change 100644 => 100755 app/Http/Requests/User/CreateUserRequest.php mode change 100644 => 100755 app/Http/Requests/User/ImpersonateUserRequest.php mode change 100644 => 100755 app/Http/Requests/User/UpdateUserRequest.php mode change 100644 => 100755 app/Http/Resources/AttendanceResource.php mode change 100644 => 100755 app/Http/Resources/BookResource.php mode change 100644 => 100755 app/Http/Resources/ClassResource.php mode change 100644 => 100755 app/Http/Resources/CourseResource.php mode change 100644 => 100755 app/Http/Resources/EventResource.php mode change 100644 => 100755 app/Http/Resources/FaqResource.php mode change 100644 => 100755 app/Http/Resources/FeedbackResource.php mode change 100644 => 100755 app/Http/Resources/FormResource.php mode change 100644 => 100755 app/Http/Resources/GradeResource.php mode change 100644 => 100755 app/Http/Resources/HomeworkResource.php mode change 100644 => 100755 app/Http/Resources/MessageResource.php mode change 100644 => 100755 app/Http/Resources/NoticeResource.php mode change 100644 => 100755 app/Http/Resources/NotificationResource.php mode change 100644 => 100755 app/Http/Resources/RoutineResource.php mode change 100644 => 100755 app/Http/Resources/SchoolResource.php mode change 100644 => 100755 app/Http/Resources/SectionResource.php mode change 100644 => 100755 app/Http/Resources/SyllabusResource.php mode change 100644 => 100755 app/Http/Resources/UserResource.php mode change 100644 => 100755 app/Http/Traits/GradeTrait.php mode change 100644 => 100755 app/Imports/FirstStudentSheetImport.php mode change 100644 => 100755 app/Imports/FirstTeacherSheetImport.php mode change 100644 => 100755 app/Imports/StudentsImport.php mode change 100644 => 100755 app/Imports/TeachersImport.php mode change 100644 => 100755 app/Issuedbook.php mode change 100644 => 100755 app/Listeners/SendWelcomeEmail.php mode change 100644 => 100755 app/Listeners/UpdateStudentInfo.php mode change 100644 => 100755 app/Mail/SendWelcomeEmailToUser.php mode change 100644 => 100755 app/Message.php mode change 100644 => 100755 app/Model.php mode change 100644 => 100755 app/Myclass.php mode change 100644 => 100755 app/Notice.php mode change 100644 => 100755 app/Notification.php mode change 100644 => 100755 app/Payment.php mode change 100644 => 100755 app/Providers/AppServiceProvider.php mode change 100644 => 100755 app/Providers/AuthServiceProvider.php mode change 100644 => 100755 app/Providers/BroadcastServiceProvider.php mode change 100644 => 100755 app/Providers/EventServiceProvider.php mode change 100644 => 100755 app/Providers/RouteServiceProvider.php mode change 100644 => 100755 app/Routine.php mode change 100644 => 100755 app/School.php mode change 100644 => 100755 app/Section.php mode change 100644 => 100755 app/Services/Account/AccountService.php mode change 100644 => 100755 app/Services/Attendance/AttendanceService.php mode change 100644 => 100755 app/Services/Course/CourseService.php mode change 100644 => 100755 app/Services/Exam/ExamService.php mode change 100644 => 100755 app/Services/Grade/GradeService.php mode change 100644 => 100755 app/Services/IssueBook/IssuedBookService.php mode change 100644 => 100755 app/Services/User/UserService.php mode change 100644 => 100755 app/StudentBoardExam.php mode change 100644 => 100755 app/StudentInfo.php mode change 100644 => 100755 app/Syllabus.php mode change 100644 => 100755 app/User.php mode change 100644 => 100755 artisan mode change 100644 => 100755 bootstrap/app.php mode change 100644 => 100755 bootstrap/cache/.gitignore mode change 100644 => 100755 composer.json mode change 100644 => 100755 composer.lock mode change 100644 => 100755 config/app.php mode change 100644 => 100755 config/auth.php mode change 100644 => 100755 config/broadcasting.php mode change 100644 => 100755 config/cache.php mode change 100644 => 100755 config/database.php mode change 100644 => 100755 config/filesystems.php mode change 100644 => 100755 config/mail.php mode change 100644 => 100755 config/queue.php mode change 100644 => 100755 config/services.php mode change 100644 => 100755 config/session.php mode change 100644 => 100755 config/view.php mode change 100644 => 100755 database/.gitignore mode change 100644 => 100755 database/factories/AccountFactory.php mode change 100644 => 100755 database/factories/AccountSectorFactory.php mode change 100644 => 100755 database/factories/AttendanceFactory.php mode change 100644 => 100755 database/factories/BookFactory.php mode change 100644 => 100755 database/factories/CertificateFactory.php mode change 100644 => 100755 database/factories/CourseFactory.php mode change 100644 => 100755 database/factories/DepartmentFactory.php mode change 100644 => 100755 database/factories/EventFactory.php mode change 100644 => 100755 database/factories/ExamFactory.php mode change 100644 => 100755 database/factories/ExamForClassFactory.php mode change 100644 => 100755 database/factories/FaqFactory.php mode change 100644 => 100755 database/factories/FeeFactory.php mode change 100644 => 100755 database/factories/FeedbackFactory.php mode change 100644 => 100755 database/factories/FormFactory.php mode change 100644 => 100755 database/factories/GradeFactory.php mode change 100644 => 100755 database/factories/GradesystemFactory.php mode change 100644 => 100755 database/factories/HomeworkFactory.php mode change 100644 => 100755 database/factories/IssuedbooksFactory.php mode change 100644 => 100755 database/factories/MessageFactory.php mode change 100644 => 100755 database/factories/MyclassFactory.php mode change 100644 => 100755 database/factories/NoticeFactory.php mode change 100644 => 100755 database/factories/NotificationFactory.php mode change 100644 => 100755 database/factories/PaymentFactory.php mode change 100644 => 100755 database/factories/RoutineFactory.php mode change 100644 => 100755 database/factories/SchoolFactory.php mode change 100644 => 100755 database/factories/SectionFactory.php mode change 100644 => 100755 database/factories/StudentboardexamFactory.php mode change 100644 => 100755 database/factories/StudentinfoFactory.php mode change 100644 => 100755 database/factories/SyllabusFactory.php mode change 100644 => 100755 database/factories/UserFactory.php mode change 100644 => 100755 database/migrations/2014_10_12_000000_create_schools_table.php mode change 100644 => 100755 database/migrations/2014_10_12_100000_create_users_table.php mode change 100644 => 100755 database/migrations/2017_12_21_065735_create_exams_table.php mode change 100644 => 100755 database/migrations/2017_12_27_025313_create_password_resets_table.php mode change 100644 => 100755 database/migrations/2017_12_27_025349_create_attendances_table.php mode change 100644 => 100755 database/migrations/2017_12_27_025413_create_classes_table.php mode change 100644 => 100755 database/migrations/2017_12_27_025427_create_sections_table.php mode change 100644 => 100755 database/migrations/2017_12_27_025450_create_syllabuses_table.php mode change 100644 => 100755 database/migrations/2017_12_27_025503_create_notices_table.php mode change 100644 => 100755 database/migrations/2017_12_27_025512_create_events_table.php mode change 100644 => 100755 database/migrations/2017_12_27_025530_create_homeworks_table.php mode change 100644 => 100755 database/migrations/2017_12_27_025542_create_routines_table.php mode change 100644 => 100755 database/migrations/2017_12_27_025556_create_grades_table.php mode change 100644 => 100755 database/migrations/2017_12_27_025612_create_notifications_table.php mode change 100644 => 100755 database/migrations/2017_12_27_025631_create_feedbacks_table.php mode change 100644 => 100755 database/migrations/2017_12_27_025644_create_books_table.php mode change 100644 => 100755 database/migrations/2017_12_27_025727_create_courses_table.php mode change 100644 => 100755 database/migrations/2017_12_27_025738_create_forms_table.php mode change 100644 => 100755 database/migrations/2017_12_27_025751_create_messages_table.php mode change 100644 => 100755 database/migrations/2017_12_27_025806_create_faqs_table.php mode change 100644 => 100755 database/migrations/2018_02_06_161642_create_fees_table.php mode change 100644 => 100755 database/migrations/2018_03_26_105657_create_grade_systems_table.php mode change 100644 => 100755 database/migrations/2018_03_27_153448_create_issued_books_table.php mode change 100644 => 100755 database/migrations/2018_04_01_195635_create_accounts_table.php mode change 100644 => 100755 database/migrations/2018_04_01_195715_create_account_sectors_table.php mode change 100644 => 100755 database/migrations/2018_04_29_121233_create_student_infos_table.php mode change 100644 => 100755 database/migrations/2018_04_29_121517_create_student_board_exams_table.php mode change 100644 => 100755 database/migrations/2018_10_05_163435_create_exam_for_classes_table.php mode change 100644 => 100755 database/migrations/2018_10_08_002853_add_department_class_teacher_to_users_table.php mode change 100644 => 100755 database/migrations/2018_10_09_093606_add_term_start_end_date_to_exams_table.php mode change 100644 => 100755 database/migrations/2018_10_09_203125_create_departments_table.php mode change 100644 => 100755 database/migrations/2019_04_08_105033_add_class_id_to_syllabuses_table.php mode change 100644 => 100755 database/migrations/2019_04_08_121149_add_section_id_to_routines_table.php mode change 100644 => 100755 database/migrations/2019_04_25_101700_add_active_to_exam_for_class_table.php mode change 100644 => 100755 database/migrations/2019_05_10_151601_add_stripe_fields_in_users_table.php mode change 100644 => 100755 database/migrations/2019_05_10_163920_create_stripe_subscription_table.php mode change 100644 => 100755 database/migrations/2019_05_10_193135_create_payments_table.php mode change 100644 => 100755 database/migrations/2020_07_24_201246_create_certificates_table.php mode change 100644 => 100755 database/seeds/AccountSectorsTableSeeder.php mode change 100644 => 100755 database/seeds/AccountsTableSeeder.php mode change 100644 => 100755 database/seeds/AttendancesTableSeeder.php mode change 100644 => 100755 database/seeds/BooksTableSeeder.php mode change 100644 => 100755 database/seeds/CertificateTableSeeder.php mode change 100644 => 100755 database/seeds/ClassesTableSeeder.php mode change 100644 => 100755 database/seeds/CoursesTableSeeder.php mode change 100644 => 100755 database/seeds/DatabaseSeeder.php mode change 100644 => 100755 database/seeds/DepartmentTableSeeder.php mode change 100644 => 100755 database/seeds/EventsTableSeeder.php mode change 100644 => 100755 database/seeds/ExamForClassesTableSeeder.php mode change 100644 => 100755 database/seeds/ExamsTableSeeder.php mode change 100644 => 100755 database/seeds/FaqsTableSeeder.php mode change 100644 => 100755 database/seeds/FeedbacksTableSeeder.php mode change 100644 => 100755 database/seeds/FeesTableSeeder.php mode change 100644 => 100755 database/seeds/FormsTableSeeder.php mode change 100644 => 100755 database/seeds/GradesTableSeeder.php mode change 100644 => 100755 database/seeds/GradesystemsTableSeeder.php mode change 100644 => 100755 database/seeds/HomeworksTableSeeder.php mode change 100644 => 100755 database/seeds/IssuedbooksTableSeeder.php mode change 100644 => 100755 database/seeds/MessagesTableSeeder.php mode change 100644 => 100755 database/seeds/NoticesTableSeeder.php mode change 100644 => 100755 database/seeds/NotificationsTableSeeder.php mode change 100644 => 100755 database/seeds/RoutinesTableSeeder.php mode change 100644 => 100755 database/seeds/SchoolsTableSeeder.php mode change 100644 => 100755 database/seeds/SectionsTableSeeder.php mode change 100644 => 100755 database/seeds/StudentboardexamsTableSeeder.php mode change 100644 => 100755 database/seeds/StudentinfosTableSeeder.php mode change 100644 => 100755 database/seeds/SyllabusesTableSeeder.php mode change 100644 => 100755 database/seeds/UsersTableSeeder.php mode change 100644 => 100755 docker-compose.yml create mode 100755 docker-install.sh create mode 100755 docker/composer.dockerfile create mode 100755 docker/nginx.dockerfile rename nginx/conf.d/app.conf => docker/nginx/default.conf (62%) mode change 100644 => 100755 create mode 100755 docker/nginx/nginx.conf create mode 100755 docker/php.dockerfile create mode 100755 docker/php/php.ini create mode 100755 docker/php/www.conf delete mode 100644 mysql/my.cnf mode change 100644 => 100755 package-lock.json mode change 100644 => 100755 package.json delete mode 100644 php/local.ini mode change 100644 => 100755 phpunit.dusk.xml mode change 100644 => 100755 phpunit.xml mode change 100644 => 100755 public/.htaccess mode change 100644 => 100755 public/01-progress.gif mode change 100644 => 100755 public/appname.svg mode change 100644 => 100755 public/css/app.css mode change 100644 => 100755 public/css/application.css mode change 100644 => 100755 public/css/bootstrap-notifications.min.css mode change 100644 => 100755 public/css/loader.css mode change 100644 => 100755 public/css/vendors.css mode change 100644 => 100755 public/favicon.ico mode change 100644 => 100755 public/fonts/glyphicons-halflings-regular.eot mode change 100644 => 100755 public/fonts/glyphicons-halflings-regular.svg mode change 100644 => 100755 public/fonts/glyphicons-halflings-regular.ttf mode change 100644 => 100755 public/fonts/glyphicons-halflings-regular.woff mode change 100644 => 100755 public/fonts/glyphicons-halflings-regular.woff2 mode change 100644 => 100755 public/index.php mode change 100644 => 100755 public/js/app.js mode change 100644 => 100755 public/js/application.js mode change 100644 => 100755 public/js/jquery-2.1.3.min.js mode change 100644 => 100755 public/js/vendors.js mode change 100644 => 100755 public/mix-manifest.json mode change 100644 => 100755 public/robots.txt mode change 100644 => 100755 public/sanfran.jpg mode change 100644 => 100755 public/web.config mode change 100644 => 100755 readme.md mode change 100644 => 100755 resources/assets/js/app.js mode change 100644 => 100755 resources/assets/js/bootstrap.js mode change 100644 => 100755 resources/assets/js/components/ExampleComponent.vue mode change 100644 => 100755 resources/assets/sass/_variables.scss mode change 100644 => 100755 resources/assets/sass/app.scss mode change 100644 => 100755 resources/assets/theme/application/css/app-layout.css mode change 100644 => 100755 resources/assets/theme/application/css/loader.css mode change 100644 => 100755 resources/assets/theme/application/js/initializer.js mode change 100644 => 100755 resources/assets/theme/vendors/css/bootstrap-datepicker.min.css mode change 100644 => 100755 resources/assets/theme/vendors/css/bootstrap.min.css mode change 100644 => 100755 resources/assets/theme/vendors/css/chosen.bootstrap.min.css mode change 100644 => 100755 resources/assets/theme/vendors/css/dataTables-1.10.16.bootstrap.min.css mode change 100644 => 100755 resources/assets/theme/vendors/css/flatly.bootstrap-3.3.7.min.css mode change 100644 => 100755 resources/assets/theme/vendors/js/bootstrap-3.3.7.min.js mode change 100644 => 100755 resources/assets/theme/vendors/js/bootstrap-datepicker.min.js mode change 100644 => 100755 resources/assets/theme/vendors/js/chosen.jquery.min.js mode change 100644 => 100755 resources/assets/theme/vendors/js/dataTables-1.10.16.bootstrap.min.js mode change 100644 => 100755 resources/assets/theme/vendors/js/dataTables-1.10.16.min.js mode change 100644 => 100755 resources/assets/theme/vendors/js/jquery-2.1.3.min.js mode change 100644 => 100755 resources/lang/en/auth.php mode change 100644 => 100755 resources/lang/en/pagination.php mode change 100644 => 100755 resources/lang/en/passwords.php mode change 100644 => 100755 resources/lang/en/validation.php mode change 100644 => 100755 resources/lang/es-MX.json mode change 100644 => 100755 resources/lang/es-MX/auth.php mode change 100644 => 100755 resources/lang/es-MX/pagination.php mode change 100644 => 100755 resources/lang/es-MX/passwords.php mode change 100644 => 100755 resources/lang/es-MX/validation.php mode change 100644 => 100755 resources/views/accounts/accountant-list.blade.php mode change 100644 => 100755 resources/views/accounts/edit_sector.blade.php mode change 100644 => 100755 resources/views/accounts/expense-edit.blade.php mode change 100644 => 100755 resources/views/accounts/expense-list.blade.php mode change 100644 => 100755 resources/views/accounts/expense.blade.php mode change 100644 => 100755 resources/views/accounts/income-edit.blade.php mode change 100644 => 100755 resources/views/accounts/income-list.blade.php mode change 100644 => 100755 resources/views/accounts/income.blade.php mode change 100644 => 100755 resources/views/accounts/sector.blade.php mode change 100644 => 100755 resources/views/attendance/adjust.blade.php mode change 100644 => 100755 resources/views/attendance/attendance.blade.php mode change 100644 => 100755 resources/views/attendance/student-attendances.blade.php mode change 100644 => 100755 resources/views/auth/login.blade.php mode change 100644 => 100755 resources/views/auth/passwords/email.blade.php mode change 100644 => 100755 resources/views/auth/passwords/reset.blade.php mode change 100644 => 100755 resources/views/auth/register.blade.php mode change 100644 => 100755 resources/views/certificates/create.blade.php mode change 100644 => 100755 resources/views/certificates/index.blade.php mode change 100644 => 100755 resources/views/components/active-exams.blade.php mode change 100644 => 100755 resources/views/components/add-exam-form.blade.php mode change 100644 => 100755 resources/views/components/adjust-attendance.blade.php mode change 100644 => 100755 resources/views/components/all-books.blade.php mode change 100644 => 100755 resources/views/components/book-issue-form.blade.php mode change 100644 => 100755 resources/views/components/certificate-list.blade.php mode change 100644 => 100755 resources/views/components/course-table.blade.php mode change 100644 => 100755 resources/views/components/exams-list.blade.php mode change 100644 => 100755 resources/views/components/excel-upload-form.blade.php mode change 100644 => 100755 resources/views/components/fees-list.blade.php mode change 100644 => 100755 resources/views/components/file-uploader.blade.php mode change 100644 => 100755 resources/views/components/issued-books-list.blade.php mode change 100644 => 100755 resources/views/components/loader.blade.php mode change 100644 => 100755 resources/views/components/navbar-top.blade.php mode change 100644 => 100755 resources/views/components/promote-students.blade.php mode change 100644 => 100755 resources/views/components/quill-editor.blade.php mode change 100644 => 100755 resources/views/components/uploaded-files-list.blade.php mode change 100644 => 100755 resources/views/components/user-board-exam.blade.php mode change 100644 => 100755 resources/views/components/user-profile.blade.php mode change 100644 => 100755 resources/views/components/user.blade.php mode change 100644 => 100755 resources/views/components/users-export.blade.php mode change 100644 => 100755 resources/views/components/users-list.blade.php mode change 100644 => 100755 resources/views/course/class-course.blade.php mode change 100644 => 100755 resources/views/course/edit.blade.php mode change 100644 => 100755 resources/views/course/students.blade.php mode change 100644 => 100755 resources/views/course/teacher-course.blade.php mode change 100644 => 100755 resources/views/email/user/welcome.blade.php mode change 100644 => 100755 resources/views/events/create.blade.php mode change 100644 => 100755 resources/views/exams/active.blade.php mode change 100644 => 100755 resources/views/exams/add.blade.php mode change 100644 => 100755 resources/views/exams/all.blade.php mode change 100644 => 100755 resources/views/fees/all.blade.php mode change 100644 => 100755 resources/views/fees/create.blade.php mode change 100644 => 100755 resources/views/gpa/all.blade.php mode change 100644 => 100755 resources/views/gpa/create.blade.php mode change 100644 => 100755 resources/views/grade/all-exams-grade.blade.php mode change 100644 => 100755 resources/views/grade/class-result.blade.php mode change 100644 => 100755 resources/views/grade/course-grade.blade.php mode change 100644 => 100755 resources/views/grade/student-grade.blade.php mode change 100644 => 100755 resources/views/grade/teacher-grade.blade.php mode change 100644 => 100755 resources/views/home.blade.php mode change 100644 => 100755 resources/views/layouts/app.blade.php mode change 100644 => 100755 resources/views/layouts/leftside-menubar.blade.php mode change 100644 => 100755 resources/views/layouts/master/add-class-form.blade.php mode change 100644 => 100755 resources/views/layouts/master/add-course-form.blade.php mode change 100644 => 100755 resources/views/layouts/master/create-section-form.blade.php mode change 100644 => 100755 resources/views/layouts/master/theme-form.blade.php mode change 100644 => 100755 resources/views/layouts/master/theme-select.blade.php mode change 100644 => 100755 resources/views/layouts/student/attendances-table.blade.php mode change 100644 => 100755 resources/views/layouts/student/grade-table.blade.php mode change 100644 => 100755 resources/views/layouts/teacher/attendance-form.blade.php mode change 100644 => 100755 resources/views/layouts/teacher/grade-form.blade.php mode change 100644 => 100755 resources/views/layouts/teacher/grade-table.blade.php mode change 100644 => 100755 resources/views/layouts/user.blade.php mode change 100644 => 100755 resources/views/library/books/create-form.blade.php mode change 100644 => 100755 resources/views/library/books/create.blade.php mode change 100644 => 100755 resources/views/library/books/edit.blade.php mode change 100644 => 100755 resources/views/library/books/form.blade.php mode change 100644 => 100755 resources/views/library/books/index.blade.php mode change 100644 => 100755 resources/views/library/books/show.blade.php mode change 100644 => 100755 resources/views/library/issuebooks.blade.php mode change 100644 => 100755 resources/views/library/issued-books.blade.php mode change 100644 => 100755 resources/views/library/librarian-list.blade.php mode change 100644 => 100755 resources/views/list/student-list.blade.php mode change 100644 => 100755 resources/views/list/teacher-list.blade.php mode change 100644 => 100755 resources/views/masters/index.blade.php mode change 100644 => 100755 resources/views/message/all.blade.php mode change 100644 => 100755 resources/views/notices/create.blade.php mode change 100644 => 100755 resources/views/pdf/profile-pdf.blade.php mode change 100644 => 100755 resources/views/pdf/result-pdf.blade.php mode change 100644 => 100755 resources/views/profile/change-password.blade.php mode change 100644 => 100755 resources/views/profile/edit.blade.php mode change 100644 => 100755 resources/views/profile/impersonate.blade.php mode change 100644 => 100755 resources/views/profile/section-students.blade.php mode change 100644 => 100755 resources/views/profile/user.blade.php mode change 100644 => 100755 resources/views/routines/create.blade.php mode change 100644 => 100755 resources/views/school/admin-list.blade.php mode change 100644 => 100755 resources/views/school/promote-students.blade.php mode change 100644 => 100755 resources/views/school/sections.blade.php mode change 100644 => 100755 resources/views/schools/edit.blade.php mode change 100644 => 100755 resources/views/schools/form.blade.php mode change 100644 => 100755 resources/views/schools/index.blade.php mode change 100644 => 100755 resources/views/settings/index.blade.php mode change 100644 => 100755 resources/views/stripe/payment.blade.php mode change 100644 => 100755 resources/views/stripe/receipts.blade.php mode change 100644 => 100755 resources/views/syllabus/course-syllabus.blade.php mode change 100644 => 100755 resources/views/welcome.blade.php mode change 100644 => 100755 routes/api.php mode change 100644 => 100755 routes/channels.php mode change 100644 => 100755 routes/console.php mode change 100644 => 100755 routes/web.php mode change 100644 => 100755 server.php mode change 100644 => 100755 storage/app/.gitignore mode change 100644 => 100755 storage/app/public/.gitignore mode change 100644 => 100755 storage/debugbar/.gitignore mode change 100644 => 100755 storage/framework/.gitignore mode change 100644 => 100755 storage/framework/cache/.gitignore mode change 100644 => 100755 storage/framework/sessions/.gitignore mode change 100644 => 100755 storage/framework/testing/.gitignore mode change 100644 => 100755 storage/framework/views/.gitignore mode change 100644 => 100755 storage/logs/.gitignore mode change 100644 => 100755 tests/Browser/AdminUserManagesAcademicSettingsTest.php mode change 100644 => 100755 tests/Browser/ExampleTest.php mode change 100644 => 100755 tests/Browser/LoginTest.php mode change 100644 => 100755 tests/Browser/MasterUserManagesSchoolsTest.php mode change 100644 => 100755 tests/Browser/Pages/HomePage.php mode change 100644 => 100755 tests/Browser/Pages/MasterPage.php mode change 100644 => 100755 tests/Browser/Pages/Page.php mode change 100644 => 100755 tests/Browser/Pages/SchoolPage.php mode change 100644 => 100755 tests/Browser/Pages/SettingPage.php mode change 100644 => 100755 tests/Browser/console/.gitignore mode change 100644 => 100755 tests/Browser/screenshots/.gitignore mode change 100644 => 100755 tests/CreatesApplication.php mode change 100644 => 100755 tests/DuskTestCase.php mode change 100644 => 100755 tests/Feature/AccountingModuleTest.php mode change 100644 => 100755 tests/Feature/AttendanceModuleTest.php mode change 100644 => 100755 tests/Feature/Auth/RegisterLoginTest.php mode change 100644 => 100755 tests/Feature/CertificateTest.php mode change 100644 => 100755 tests/Feature/CourseModuleTest.php mode change 100644 => 100755 tests/Feature/ExampleTest.php mode change 100644 => 100755 tests/Feature/GradeModuleTest.php mode change 100644 => 100755 tests/Feature/GradeSystemModuleTest.php mode change 100644 => 100755 tests/Feature/LibrarianTest.php mode change 100644 => 100755 tests/Feature/Library/BookModuleTest.php mode change 100644 => 100755 tests/Feature/Library/IssuedBookModuleTest.php mode change 100644 => 100755 tests/Feature/Manage/ClassModuleTest.php mode change 100644 => 100755 tests/Feature/Manage/CourseModuleTest.php mode change 100644 => 100755 tests/Feature/Manage/ExamModuleTest.php mode change 100644 => 100755 tests/Feature/Manage/SchoolModuleTest.php mode change 100644 => 100755 tests/Feature/Manage/SectionModuleTest.php mode change 100644 => 100755 tests/Feature/Manage/SettingModuleTest.php mode change 100644 => 100755 tests/Feature/PaymentModuleTest.php mode change 100644 => 100755 tests/Feature/UserModuleTest.php mode change 100644 => 100755 tests/Feature/UsersExcelExportTest.php mode change 100644 => 100755 tests/TestCase.php mode change 100644 => 100755 tests/Unit/App/AccountTest.php mode change 100644 => 100755 tests/Unit/App/AttendanceTest.php mode change 100644 => 100755 tests/Unit/App/BookTest.php mode change 100644 => 100755 tests/Unit/App/DepartmentTest.php mode change 100644 => 100755 tests/Unit/App/EventTest.php mode change 100644 => 100755 tests/Unit/App/ExamTest.php mode change 100644 => 100755 tests/Unit/App/FeeTest.php mode change 100644 => 100755 tests/Unit/App/FormTest.php mode change 100644 => 100755 tests/Unit/App/GradeTest.php mode change 100644 => 100755 tests/Unit/App/GradesystemTest.php mode change 100644 => 100755 tests/Unit/App/IssuedBookTest.php mode change 100644 => 100755 tests/Unit/App/MessageTest.php mode change 100644 => 100755 tests/Unit/App/MyclassTest.php mode change 100644 => 100755 tests/Unit/App/NoticeTest.php mode change 100644 => 100755 tests/Unit/App/RoutineTest.php mode change 100644 => 100755 tests/Unit/App/SchoolTest.php mode change 100644 => 100755 tests/Unit/App/SectionTest.php mode change 100644 => 100755 tests/Unit/App/SyllabusTest.php mode change 100644 => 100755 tests/Unit/App/UsersTest.php mode change 100644 => 100755 tests/Unit/ExampleTest.php mode change 100644 => 100755 tests/Unit/IssuedBookTest.php mode change 100644 => 100755 tests/Unit/MarkCalculationTest.php mode change 100644 => 100755 tests/utilities/functions.php mode change 100644 => 100755 webpack.mix.js diff --git a/.editorconfig b/.editorconfig old mode 100644 new mode 100755 diff --git a/.env.dusk.example b/.env.dusk.example old mode 100644 new mode 100755 diff --git a/.env.example b/.env.example old mode 100644 new mode 100755 index 74aa1057a..a7436b0f7 --- a/.env.example +++ b/.env.example @@ -6,11 +6,14 @@ APP_LOG_LEVEL=debug APP_URL=http://localhost DB_CONNECTION=mysql -DB_HOST=127.0.0.1 +DB_HOST=db DB_PORT=3306 DB_DATABASE=school DB_USERNAME=root -DB_PASSWORD= +DB_PASSWORD=schoolapp + +DOCKER_WEBSERVER_HOST=4049 +DOCKER_PHPMYADMIN_HOST=5051 BROADCAST_DRIVER=log CACHE_DRIVER=file @@ -35,4 +38,4 @@ PUSHER_APP_SECRET= PUSHER_APP_CLUSTER=mt1 STRIPE_KEY= -STRIPE_SECRET= \ No newline at end of file +STRIPE_SECRET= diff --git a/.gitattributes b/.gitattributes old mode 100644 new mode 100755 diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md old mode 100644 new mode 100755 diff --git a/.github/ISSUE_TEMPLATE/custom.md b/.github/ISSUE_TEMPLATE/custom.md old mode 100644 new mode 100755 diff --git a/.github/ISSUE_TEMPLATE/feature_request.md b/.github/ISSUE_TEMPLATE/feature_request.md old mode 100644 new mode 100755 diff --git a/.github/workflows/greetings.yml b/.github/workflows/greetings.yml old mode 100644 new mode 100755 diff --git a/.gitignore b/.gitignore old mode 100644 new mode 100755 diff --git a/.php_cs b/.php_cs old mode 100644 new mode 100755 diff --git a/.phpunit.result.cache b/.phpunit.result.cache old mode 100644 new mode 100755 diff --git a/.travis.yml b/.travis.yml old mode 100644 new mode 100755 diff --git a/.vscode/launch.json b/.vscode/launch.json old mode 100644 new mode 100755 diff --git a/.vscode/settings.json b/.vscode/settings.json old mode 100644 new mode 100755 diff --git a/CODE_OF_CONDUCT.md b/CODE_OF_CONDUCT.md old mode 100644 new mode 100755 diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md old mode 100644 new mode 100755 diff --git a/Dockerfile b/Dockerfile deleted file mode 100644 index f523811ba..000000000 --- a/Dockerfile +++ /dev/null @@ -1,53 +0,0 @@ -FROM php:7.2-fpm-stretch - -# Copy composer.lock and composer.json -COPY composer.lock composer.json /var/www/ - -# Set working directory -WORKDIR /var/www - -# Install dependencies -RUN apt-get update && apt-get install -y \ - build-essential \ - mysql-client \ - libpng-dev \ - libjpeg62-turbo-dev \ - libfreetype6-dev \ - locales \ - zip \ - jpegoptim optipng pngquant gifsicle \ - vim \ - unzip \ - git \ - curl - -# Clear cache -RUN apt-get clean && rm -rf /var/lib/apt/lists/* - -# Install extensions -RUN docker-php-ext-install pdo_mysql mbstring zip exif pcntl -RUN docker-php-ext-configure gd --with-gd --with-freetype-dir=/usr/include/ --with-jpeg-dir=/usr/include/ --with-png-dir=/usr/include/ -RUN docker-php-ext-install gd - -# Install composer -RUN curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer - -# Add user for laravel application -RUN groupadd -g 1000 www -RUN useradd -u 1000 -ms /bin/bash -g www www - -# Copy existing application directory contents -COPY . /var/www - -# Copy existing application directory permissions -COPY --chown=www:www . /var/www - -# Give laravel permission to storage folder -RUN chmod -R 775 storage - -# Change current user to www -USER www - -# Expose port 9000 and start php-fpm server -EXPOSE 9000 -CMD ["php-fpm"] diff --git a/FUNDING.yml b/FUNDING.yml old mode 100644 new mode 100755 diff --git a/LICENSE b/LICENSE old mode 100644 new mode 100755 diff --git a/_config.yml b/_config.yml old mode 100644 new mode 100755 diff --git a/app/Account.php b/app/Account.php old mode 100644 new mode 100755 diff --git a/app/AccountSector.php b/app/AccountSector.php old mode 100644 new mode 100755 diff --git a/app/Attendance.php b/app/Attendance.php old mode 100644 new mode 100755 diff --git a/app/Book.php b/app/Book.php old mode 100644 new mode 100755 diff --git a/app/Certificate.php b/app/Certificate.php old mode 100644 new mode 100755 diff --git a/app/Console/Kernel.php b/app/Console/Kernel.php old mode 100644 new mode 100755 diff --git a/app/Course.php b/app/Course.php old mode 100644 new mode 100755 diff --git a/app/Department.php b/app/Department.php old mode 100644 new mode 100755 diff --git a/app/Event.php b/app/Event.php old mode 100644 new mode 100755 diff --git a/app/Events/StudentInfoUpdateRequested.php b/app/Events/StudentInfoUpdateRequested.php old mode 100644 new mode 100755 diff --git a/app/Events/UserRegistered.php b/app/Events/UserRegistered.php old mode 100644 new mode 100755 diff --git a/app/Exam.php b/app/Exam.php old mode 100644 new mode 100755 diff --git a/app/ExamForClass.php b/app/ExamForClass.php old mode 100644 new mode 100755 diff --git a/app/Exceptions/Handler.php b/app/Exceptions/Handler.php old mode 100644 new mode 100755 diff --git a/app/Exports/StudentsExport.php b/app/Exports/StudentsExport.php old mode 100644 new mode 100755 diff --git a/app/Exports/TeachersExport.php b/app/Exports/TeachersExport.php old mode 100644 new mode 100755 diff --git a/app/Faq.php b/app/Faq.php old mode 100644 new mode 100755 diff --git a/app/Fee.php b/app/Fee.php old mode 100644 new mode 100755 diff --git a/app/Feedback.php b/app/Feedback.php old mode 100644 new mode 100755 diff --git a/app/Form.php b/app/Form.php old mode 100644 new mode 100755 diff --git a/app/Grade.php b/app/Grade.php old mode 100644 new mode 100755 diff --git a/app/Gradesystem.php b/app/Gradesystem.php old mode 100644 new mode 100755 diff --git a/app/Homework.php b/app/Homework.php old mode 100644 new mode 100755 diff --git a/app/Http/Controllers/AccountController.php b/app/Http/Controllers/AccountController.php old mode 100644 new mode 100755 diff --git a/app/Http/Controllers/AttendanceController.php b/app/Http/Controllers/AttendanceController.php old mode 100644 new mode 100755 diff --git a/app/Http/Controllers/Auth/ForgotPasswordController.php b/app/Http/Controllers/Auth/ForgotPasswordController.php old mode 100644 new mode 100755 diff --git a/app/Http/Controllers/Auth/LoginController.php b/app/Http/Controllers/Auth/LoginController.php old mode 100644 new mode 100755 diff --git a/app/Http/Controllers/Auth/RegisterController.php b/app/Http/Controllers/Auth/RegisterController.php old mode 100644 new mode 100755 diff --git a/app/Http/Controllers/Auth/ResetPasswordController.php b/app/Http/Controllers/Auth/ResetPasswordController.php old mode 100644 new mode 100755 diff --git a/app/Http/Controllers/CashierController.php b/app/Http/Controllers/CashierController.php old mode 100644 new mode 100755 diff --git a/app/Http/Controllers/CertificateController.php b/app/Http/Controllers/CertificateController.php old mode 100644 new mode 100755 diff --git a/app/Http/Controllers/Controller.php b/app/Http/Controllers/Controller.php old mode 100644 new mode 100755 diff --git a/app/Http/Controllers/CourseController.php b/app/Http/Controllers/CourseController.php old mode 100644 new mode 100755 diff --git a/app/Http/Controllers/EventController.php b/app/Http/Controllers/EventController.php old mode 100644 new mode 100755 diff --git a/app/Http/Controllers/ExamController.php b/app/Http/Controllers/ExamController.php old mode 100644 new mode 100755 diff --git a/app/Http/Controllers/FaqController.php b/app/Http/Controllers/FaqController.php old mode 100644 new mode 100755 diff --git a/app/Http/Controllers/FeeController.php b/app/Http/Controllers/FeeController.php old mode 100644 new mode 100755 diff --git a/app/Http/Controllers/FeedbackController.php b/app/Http/Controllers/FeedbackController.php old mode 100644 new mode 100755 diff --git a/app/Http/Controllers/FormController.php b/app/Http/Controllers/FormController.php old mode 100644 new mode 100755 diff --git a/app/Http/Controllers/GradeController.php b/app/Http/Controllers/GradeController.php old mode 100644 new mode 100755 diff --git a/app/Http/Controllers/GradesystemController.php b/app/Http/Controllers/GradesystemController.php old mode 100644 new mode 100755 diff --git a/app/Http/Controllers/HomeController.php b/app/Http/Controllers/HomeController.php old mode 100644 new mode 100755 diff --git a/app/Http/Controllers/HomeworkController.php b/app/Http/Controllers/HomeworkController.php old mode 100644 new mode 100755 diff --git a/app/Http/Controllers/IssuedbookController.php b/app/Http/Controllers/IssuedbookController.php old mode 100644 new mode 100755 diff --git a/app/Http/Controllers/Library/BookController.php b/app/Http/Controllers/Library/BookController.php old mode 100644 new mode 100755 diff --git a/app/Http/Controllers/MasterController.php b/app/Http/Controllers/MasterController.php old mode 100644 new mode 100755 diff --git a/app/Http/Controllers/MessageController.php b/app/Http/Controllers/MessageController.php old mode 100644 new mode 100755 diff --git a/app/Http/Controllers/MyclassController.php b/app/Http/Controllers/MyclassController.php old mode 100644 new mode 100755 diff --git a/app/Http/Controllers/NoticeController.php b/app/Http/Controllers/NoticeController.php old mode 100644 new mode 100755 diff --git a/app/Http/Controllers/NotificationController.php b/app/Http/Controllers/NotificationController.php old mode 100644 new mode 100755 diff --git a/app/Http/Controllers/PaymentController.php b/app/Http/Controllers/PaymentController.php old mode 100644 new mode 100755 diff --git a/app/Http/Controllers/RoutineController.php b/app/Http/Controllers/RoutineController.php old mode 100644 new mode 100755 diff --git a/app/Http/Controllers/SchoolController.php b/app/Http/Controllers/SchoolController.php old mode 100644 new mode 100755 diff --git a/app/Http/Controllers/SectionController.php b/app/Http/Controllers/SectionController.php old mode 100644 new mode 100755 diff --git a/app/Http/Controllers/SettingController.php b/app/Http/Controllers/SettingController.php old mode 100644 new mode 100755 diff --git a/app/Http/Controllers/SyllabusController.php b/app/Http/Controllers/SyllabusController.php old mode 100644 new mode 100755 diff --git a/app/Http/Controllers/UploadController.php b/app/Http/Controllers/UploadController.php old mode 100644 new mode 100755 diff --git a/app/Http/Controllers/UploadHandler.php b/app/Http/Controllers/UploadHandler.php old mode 100644 new mode 100755 diff --git a/app/Http/Controllers/UserController.php b/app/Http/Controllers/UserController.php old mode 100644 new mode 100755 diff --git a/app/Http/Kernel.php b/app/Http/Kernel.php old mode 100644 new mode 100755 diff --git a/app/Http/Middleware/CheckAccountant.php b/app/Http/Middleware/CheckAccountant.php old mode 100644 new mode 100755 diff --git a/app/Http/Middleware/CheckAdmin.php b/app/Http/Middleware/CheckAdmin.php old mode 100644 new mode 100755 diff --git a/app/Http/Middleware/CheckLibrarian.php b/app/Http/Middleware/CheckLibrarian.php old mode 100644 new mode 100755 diff --git a/app/Http/Middleware/CheckMaster.php b/app/Http/Middleware/CheckMaster.php old mode 100644 new mode 100755 diff --git a/app/Http/Middleware/CheckMasterOrAdmin.php b/app/Http/Middleware/CheckMasterOrAdmin.php old mode 100644 new mode 100755 diff --git a/app/Http/Middleware/CheckStudent.php b/app/Http/Middleware/CheckStudent.php old mode 100644 new mode 100755 diff --git a/app/Http/Middleware/CheckTeacher.php b/app/Http/Middleware/CheckTeacher.php old mode 100644 new mode 100755 diff --git a/app/Http/Middleware/CheckTeacherOrStudent.php b/app/Http/Middleware/CheckTeacherOrStudent.php old mode 100644 new mode 100755 diff --git a/app/Http/Middleware/EncryptCookies.php b/app/Http/Middleware/EncryptCookies.php old mode 100644 new mode 100755 diff --git a/app/Http/Middleware/RedirectIfAuthenticated.php b/app/Http/Middleware/RedirectIfAuthenticated.php old mode 100644 new mode 100755 diff --git a/app/Http/Middleware/TrimStrings.php b/app/Http/Middleware/TrimStrings.php old mode 100644 new mode 100755 diff --git a/app/Http/Middleware/TrustProxies.php b/app/Http/Middleware/TrustProxies.php old mode 100644 new mode 100755 diff --git a/app/Http/Middleware/VerifyCsrfToken.php b/app/Http/Middleware/VerifyCsrfToken.php old mode 100644 new mode 100755 diff --git a/app/Http/Requests/Account/StoreAccountRequest.php b/app/Http/Requests/Account/StoreAccountRequest.php old mode 100644 new mode 100755 diff --git a/app/Http/Requests/Account/StoreSectorRequest.php b/app/Http/Requests/Account/StoreSectorRequest.php old mode 100644 new mode 100755 diff --git a/app/Http/Requests/Account/UpdateAccountRequest.php b/app/Http/Requests/Account/UpdateAccountRequest.php old mode 100644 new mode 100755 diff --git a/app/Http/Requests/Attendance/StoreAttendanceRequest.php b/app/Http/Requests/Attendance/StoreAttendanceRequest.php old mode 100644 new mode 100755 diff --git a/app/Http/Requests/Course/SaveConfigurationRequest.php b/app/Http/Requests/Course/SaveConfigurationRequest.php old mode 100644 new mode 100755 diff --git a/app/Http/Requests/Exam/CreateExamRequest.php b/app/Http/Requests/Exam/CreateExamRequest.php old mode 100644 new mode 100755 diff --git a/app/Http/Requests/Grade/CalculateMarksRequest.php b/app/Http/Requests/Grade/CalculateMarksRequest.php old mode 100644 new mode 100755 diff --git a/app/Http/Requests/Library/BookRequest.php b/app/Http/Requests/Library/BookRequest.php old mode 100644 new mode 100755 diff --git a/app/Http/Requests/SchoolRequest.php b/app/Http/Requests/SchoolRequest.php old mode 100644 new mode 100755 diff --git a/app/Http/Requests/User/ChangePasswordRequest.php b/app/Http/Requests/User/ChangePasswordRequest.php old mode 100644 new mode 100755 diff --git a/app/Http/Requests/User/CreateAccountantRequest.php b/app/Http/Requests/User/CreateAccountantRequest.php old mode 100644 new mode 100755 diff --git a/app/Http/Requests/User/CreateAdminRequest.php b/app/Http/Requests/User/CreateAdminRequest.php old mode 100644 new mode 100755 diff --git a/app/Http/Requests/User/CreateLibrarianRequest.php b/app/Http/Requests/User/CreateLibrarianRequest.php old mode 100644 new mode 100755 diff --git a/app/Http/Requests/User/CreateTeacherRequest.php b/app/Http/Requests/User/CreateTeacherRequest.php old mode 100644 new mode 100755 diff --git a/app/Http/Requests/User/CreateUserRequest.php b/app/Http/Requests/User/CreateUserRequest.php old mode 100644 new mode 100755 diff --git a/app/Http/Requests/User/ImpersonateUserRequest.php b/app/Http/Requests/User/ImpersonateUserRequest.php old mode 100644 new mode 100755 diff --git a/app/Http/Requests/User/UpdateUserRequest.php b/app/Http/Requests/User/UpdateUserRequest.php old mode 100644 new mode 100755 diff --git a/app/Http/Resources/AttendanceResource.php b/app/Http/Resources/AttendanceResource.php old mode 100644 new mode 100755 diff --git a/app/Http/Resources/BookResource.php b/app/Http/Resources/BookResource.php old mode 100644 new mode 100755 diff --git a/app/Http/Resources/ClassResource.php b/app/Http/Resources/ClassResource.php old mode 100644 new mode 100755 diff --git a/app/Http/Resources/CourseResource.php b/app/Http/Resources/CourseResource.php old mode 100644 new mode 100755 diff --git a/app/Http/Resources/EventResource.php b/app/Http/Resources/EventResource.php old mode 100644 new mode 100755 diff --git a/app/Http/Resources/FaqResource.php b/app/Http/Resources/FaqResource.php old mode 100644 new mode 100755 diff --git a/app/Http/Resources/FeedbackResource.php b/app/Http/Resources/FeedbackResource.php old mode 100644 new mode 100755 diff --git a/app/Http/Resources/FormResource.php b/app/Http/Resources/FormResource.php old mode 100644 new mode 100755 diff --git a/app/Http/Resources/GradeResource.php b/app/Http/Resources/GradeResource.php old mode 100644 new mode 100755 diff --git a/app/Http/Resources/HomeworkResource.php b/app/Http/Resources/HomeworkResource.php old mode 100644 new mode 100755 diff --git a/app/Http/Resources/MessageResource.php b/app/Http/Resources/MessageResource.php old mode 100644 new mode 100755 diff --git a/app/Http/Resources/NoticeResource.php b/app/Http/Resources/NoticeResource.php old mode 100644 new mode 100755 diff --git a/app/Http/Resources/NotificationResource.php b/app/Http/Resources/NotificationResource.php old mode 100644 new mode 100755 diff --git a/app/Http/Resources/RoutineResource.php b/app/Http/Resources/RoutineResource.php old mode 100644 new mode 100755 diff --git a/app/Http/Resources/SchoolResource.php b/app/Http/Resources/SchoolResource.php old mode 100644 new mode 100755 diff --git a/app/Http/Resources/SectionResource.php b/app/Http/Resources/SectionResource.php old mode 100644 new mode 100755 diff --git a/app/Http/Resources/SyllabusResource.php b/app/Http/Resources/SyllabusResource.php old mode 100644 new mode 100755 diff --git a/app/Http/Resources/UserResource.php b/app/Http/Resources/UserResource.php old mode 100644 new mode 100755 diff --git a/app/Http/Traits/GradeTrait.php b/app/Http/Traits/GradeTrait.php old mode 100644 new mode 100755 diff --git a/app/Imports/FirstStudentSheetImport.php b/app/Imports/FirstStudentSheetImport.php old mode 100644 new mode 100755 diff --git a/app/Imports/FirstTeacherSheetImport.php b/app/Imports/FirstTeacherSheetImport.php old mode 100644 new mode 100755 diff --git a/app/Imports/StudentsImport.php b/app/Imports/StudentsImport.php old mode 100644 new mode 100755 diff --git a/app/Imports/TeachersImport.php b/app/Imports/TeachersImport.php old mode 100644 new mode 100755 diff --git a/app/Issuedbook.php b/app/Issuedbook.php old mode 100644 new mode 100755 diff --git a/app/Listeners/SendWelcomeEmail.php b/app/Listeners/SendWelcomeEmail.php old mode 100644 new mode 100755 diff --git a/app/Listeners/UpdateStudentInfo.php b/app/Listeners/UpdateStudentInfo.php old mode 100644 new mode 100755 diff --git a/app/Mail/SendWelcomeEmailToUser.php b/app/Mail/SendWelcomeEmailToUser.php old mode 100644 new mode 100755 diff --git a/app/Message.php b/app/Message.php old mode 100644 new mode 100755 diff --git a/app/Model.php b/app/Model.php old mode 100644 new mode 100755 diff --git a/app/Myclass.php b/app/Myclass.php old mode 100644 new mode 100755 diff --git a/app/Notice.php b/app/Notice.php old mode 100644 new mode 100755 diff --git a/app/Notification.php b/app/Notification.php old mode 100644 new mode 100755 diff --git a/app/Payment.php b/app/Payment.php old mode 100644 new mode 100755 diff --git a/app/Providers/AppServiceProvider.php b/app/Providers/AppServiceProvider.php old mode 100644 new mode 100755 diff --git a/app/Providers/AuthServiceProvider.php b/app/Providers/AuthServiceProvider.php old mode 100644 new mode 100755 diff --git a/app/Providers/BroadcastServiceProvider.php b/app/Providers/BroadcastServiceProvider.php old mode 100644 new mode 100755 diff --git a/app/Providers/EventServiceProvider.php b/app/Providers/EventServiceProvider.php old mode 100644 new mode 100755 diff --git a/app/Providers/RouteServiceProvider.php b/app/Providers/RouteServiceProvider.php old mode 100644 new mode 100755 diff --git a/app/Routine.php b/app/Routine.php old mode 100644 new mode 100755 diff --git a/app/School.php b/app/School.php old mode 100644 new mode 100755 diff --git a/app/Section.php b/app/Section.php old mode 100644 new mode 100755 diff --git a/app/Services/Account/AccountService.php b/app/Services/Account/AccountService.php old mode 100644 new mode 100755 diff --git a/app/Services/Attendance/AttendanceService.php b/app/Services/Attendance/AttendanceService.php old mode 100644 new mode 100755 diff --git a/app/Services/Course/CourseService.php b/app/Services/Course/CourseService.php old mode 100644 new mode 100755 diff --git a/app/Services/Exam/ExamService.php b/app/Services/Exam/ExamService.php old mode 100644 new mode 100755 diff --git a/app/Services/Grade/GradeService.php b/app/Services/Grade/GradeService.php old mode 100644 new mode 100755 diff --git a/app/Services/IssueBook/IssuedBookService.php b/app/Services/IssueBook/IssuedBookService.php old mode 100644 new mode 100755 diff --git a/app/Services/User/UserService.php b/app/Services/User/UserService.php old mode 100644 new mode 100755 diff --git a/app/StudentBoardExam.php b/app/StudentBoardExam.php old mode 100644 new mode 100755 diff --git a/app/StudentInfo.php b/app/StudentInfo.php old mode 100644 new mode 100755 diff --git a/app/Syllabus.php b/app/Syllabus.php old mode 100644 new mode 100755 diff --git a/app/User.php b/app/User.php old mode 100644 new mode 100755 diff --git a/artisan b/artisan old mode 100644 new mode 100755 diff --git a/bootstrap/app.php b/bootstrap/app.php old mode 100644 new mode 100755 diff --git a/bootstrap/cache/.gitignore b/bootstrap/cache/.gitignore old mode 100644 new mode 100755 diff --git a/composer.json b/composer.json old mode 100644 new mode 100755 index 89b26ccb7..0ab0a7043 --- a/composer.json +++ b/composer.json @@ -65,6 +65,7 @@ "@php artisan key:generate" ], "post-install-cmd": [ + "@php artisan key:generate", "@php artisan passport:keys" ], "post-autoload-dump": [ diff --git a/composer.lock b/composer.lock old mode 100644 new mode 100755 diff --git a/config/app.php b/config/app.php old mode 100644 new mode 100755 diff --git a/config/auth.php b/config/auth.php old mode 100644 new mode 100755 diff --git a/config/broadcasting.php b/config/broadcasting.php old mode 100644 new mode 100755 diff --git a/config/cache.php b/config/cache.php old mode 100644 new mode 100755 diff --git a/config/database.php b/config/database.php old mode 100644 new mode 100755 diff --git a/config/filesystems.php b/config/filesystems.php old mode 100644 new mode 100755 diff --git a/config/mail.php b/config/mail.php old mode 100644 new mode 100755 diff --git a/config/queue.php b/config/queue.php old mode 100644 new mode 100755 diff --git a/config/services.php b/config/services.php old mode 100644 new mode 100755 diff --git a/config/session.php b/config/session.php old mode 100644 new mode 100755 diff --git a/config/view.php b/config/view.php old mode 100644 new mode 100755 diff --git a/database/.gitignore b/database/.gitignore old mode 100644 new mode 100755 diff --git a/database/factories/AccountFactory.php b/database/factories/AccountFactory.php old mode 100644 new mode 100755 diff --git a/database/factories/AccountSectorFactory.php b/database/factories/AccountSectorFactory.php old mode 100644 new mode 100755 diff --git a/database/factories/AttendanceFactory.php b/database/factories/AttendanceFactory.php old mode 100644 new mode 100755 diff --git a/database/factories/BookFactory.php b/database/factories/BookFactory.php old mode 100644 new mode 100755 diff --git a/database/factories/CertificateFactory.php b/database/factories/CertificateFactory.php old mode 100644 new mode 100755 diff --git a/database/factories/CourseFactory.php b/database/factories/CourseFactory.php old mode 100644 new mode 100755 diff --git a/database/factories/DepartmentFactory.php b/database/factories/DepartmentFactory.php old mode 100644 new mode 100755 diff --git a/database/factories/EventFactory.php b/database/factories/EventFactory.php old mode 100644 new mode 100755 diff --git a/database/factories/ExamFactory.php b/database/factories/ExamFactory.php old mode 100644 new mode 100755 diff --git a/database/factories/ExamForClassFactory.php b/database/factories/ExamForClassFactory.php old mode 100644 new mode 100755 diff --git a/database/factories/FaqFactory.php b/database/factories/FaqFactory.php old mode 100644 new mode 100755 diff --git a/database/factories/FeeFactory.php b/database/factories/FeeFactory.php old mode 100644 new mode 100755 diff --git a/database/factories/FeedbackFactory.php b/database/factories/FeedbackFactory.php old mode 100644 new mode 100755 diff --git a/database/factories/FormFactory.php b/database/factories/FormFactory.php old mode 100644 new mode 100755 diff --git a/database/factories/GradeFactory.php b/database/factories/GradeFactory.php old mode 100644 new mode 100755 diff --git a/database/factories/GradesystemFactory.php b/database/factories/GradesystemFactory.php old mode 100644 new mode 100755 diff --git a/database/factories/HomeworkFactory.php b/database/factories/HomeworkFactory.php old mode 100644 new mode 100755 diff --git a/database/factories/IssuedbooksFactory.php b/database/factories/IssuedbooksFactory.php old mode 100644 new mode 100755 diff --git a/database/factories/MessageFactory.php b/database/factories/MessageFactory.php old mode 100644 new mode 100755 diff --git a/database/factories/MyclassFactory.php b/database/factories/MyclassFactory.php old mode 100644 new mode 100755 diff --git a/database/factories/NoticeFactory.php b/database/factories/NoticeFactory.php old mode 100644 new mode 100755 diff --git a/database/factories/NotificationFactory.php b/database/factories/NotificationFactory.php old mode 100644 new mode 100755 diff --git a/database/factories/PaymentFactory.php b/database/factories/PaymentFactory.php old mode 100644 new mode 100755 diff --git a/database/factories/RoutineFactory.php b/database/factories/RoutineFactory.php old mode 100644 new mode 100755 diff --git a/database/factories/SchoolFactory.php b/database/factories/SchoolFactory.php old mode 100644 new mode 100755 diff --git a/database/factories/SectionFactory.php b/database/factories/SectionFactory.php old mode 100644 new mode 100755 diff --git a/database/factories/StudentboardexamFactory.php b/database/factories/StudentboardexamFactory.php old mode 100644 new mode 100755 diff --git a/database/factories/StudentinfoFactory.php b/database/factories/StudentinfoFactory.php old mode 100644 new mode 100755 diff --git a/database/factories/SyllabusFactory.php b/database/factories/SyllabusFactory.php old mode 100644 new mode 100755 diff --git a/database/factories/UserFactory.php b/database/factories/UserFactory.php old mode 100644 new mode 100755 diff --git a/database/migrations/2014_10_12_000000_create_schools_table.php b/database/migrations/2014_10_12_000000_create_schools_table.php old mode 100644 new mode 100755 diff --git a/database/migrations/2014_10_12_100000_create_users_table.php b/database/migrations/2014_10_12_100000_create_users_table.php old mode 100644 new mode 100755 diff --git a/database/migrations/2017_12_21_065735_create_exams_table.php b/database/migrations/2017_12_21_065735_create_exams_table.php old mode 100644 new mode 100755 diff --git a/database/migrations/2017_12_27_025313_create_password_resets_table.php b/database/migrations/2017_12_27_025313_create_password_resets_table.php old mode 100644 new mode 100755 diff --git a/database/migrations/2017_12_27_025349_create_attendances_table.php b/database/migrations/2017_12_27_025349_create_attendances_table.php old mode 100644 new mode 100755 diff --git a/database/migrations/2017_12_27_025413_create_classes_table.php b/database/migrations/2017_12_27_025413_create_classes_table.php old mode 100644 new mode 100755 diff --git a/database/migrations/2017_12_27_025427_create_sections_table.php b/database/migrations/2017_12_27_025427_create_sections_table.php old mode 100644 new mode 100755 diff --git a/database/migrations/2017_12_27_025450_create_syllabuses_table.php b/database/migrations/2017_12_27_025450_create_syllabuses_table.php old mode 100644 new mode 100755 diff --git a/database/migrations/2017_12_27_025503_create_notices_table.php b/database/migrations/2017_12_27_025503_create_notices_table.php old mode 100644 new mode 100755 diff --git a/database/migrations/2017_12_27_025512_create_events_table.php b/database/migrations/2017_12_27_025512_create_events_table.php old mode 100644 new mode 100755 diff --git a/database/migrations/2017_12_27_025530_create_homeworks_table.php b/database/migrations/2017_12_27_025530_create_homeworks_table.php old mode 100644 new mode 100755 diff --git a/database/migrations/2017_12_27_025542_create_routines_table.php b/database/migrations/2017_12_27_025542_create_routines_table.php old mode 100644 new mode 100755 diff --git a/database/migrations/2017_12_27_025556_create_grades_table.php b/database/migrations/2017_12_27_025556_create_grades_table.php old mode 100644 new mode 100755 diff --git a/database/migrations/2017_12_27_025612_create_notifications_table.php b/database/migrations/2017_12_27_025612_create_notifications_table.php old mode 100644 new mode 100755 diff --git a/database/migrations/2017_12_27_025631_create_feedbacks_table.php b/database/migrations/2017_12_27_025631_create_feedbacks_table.php old mode 100644 new mode 100755 diff --git a/database/migrations/2017_12_27_025644_create_books_table.php b/database/migrations/2017_12_27_025644_create_books_table.php old mode 100644 new mode 100755 diff --git a/database/migrations/2017_12_27_025727_create_courses_table.php b/database/migrations/2017_12_27_025727_create_courses_table.php old mode 100644 new mode 100755 diff --git a/database/migrations/2017_12_27_025738_create_forms_table.php b/database/migrations/2017_12_27_025738_create_forms_table.php old mode 100644 new mode 100755 diff --git a/database/migrations/2017_12_27_025751_create_messages_table.php b/database/migrations/2017_12_27_025751_create_messages_table.php old mode 100644 new mode 100755 diff --git a/database/migrations/2017_12_27_025806_create_faqs_table.php b/database/migrations/2017_12_27_025806_create_faqs_table.php old mode 100644 new mode 100755 diff --git a/database/migrations/2018_02_06_161642_create_fees_table.php b/database/migrations/2018_02_06_161642_create_fees_table.php old mode 100644 new mode 100755 diff --git a/database/migrations/2018_03_26_105657_create_grade_systems_table.php b/database/migrations/2018_03_26_105657_create_grade_systems_table.php old mode 100644 new mode 100755 diff --git a/database/migrations/2018_03_27_153448_create_issued_books_table.php b/database/migrations/2018_03_27_153448_create_issued_books_table.php old mode 100644 new mode 100755 diff --git a/database/migrations/2018_04_01_195635_create_accounts_table.php b/database/migrations/2018_04_01_195635_create_accounts_table.php old mode 100644 new mode 100755 diff --git a/database/migrations/2018_04_01_195715_create_account_sectors_table.php b/database/migrations/2018_04_01_195715_create_account_sectors_table.php old mode 100644 new mode 100755 diff --git a/database/migrations/2018_04_29_121233_create_student_infos_table.php b/database/migrations/2018_04_29_121233_create_student_infos_table.php old mode 100644 new mode 100755 diff --git a/database/migrations/2018_04_29_121517_create_student_board_exams_table.php b/database/migrations/2018_04_29_121517_create_student_board_exams_table.php old mode 100644 new mode 100755 diff --git a/database/migrations/2018_10_05_163435_create_exam_for_classes_table.php b/database/migrations/2018_10_05_163435_create_exam_for_classes_table.php old mode 100644 new mode 100755 diff --git a/database/migrations/2018_10_08_002853_add_department_class_teacher_to_users_table.php b/database/migrations/2018_10_08_002853_add_department_class_teacher_to_users_table.php old mode 100644 new mode 100755 diff --git a/database/migrations/2018_10_09_093606_add_term_start_end_date_to_exams_table.php b/database/migrations/2018_10_09_093606_add_term_start_end_date_to_exams_table.php old mode 100644 new mode 100755 diff --git a/database/migrations/2018_10_09_203125_create_departments_table.php b/database/migrations/2018_10_09_203125_create_departments_table.php old mode 100644 new mode 100755 diff --git a/database/migrations/2019_04_08_105033_add_class_id_to_syllabuses_table.php b/database/migrations/2019_04_08_105033_add_class_id_to_syllabuses_table.php old mode 100644 new mode 100755 diff --git a/database/migrations/2019_04_08_121149_add_section_id_to_routines_table.php b/database/migrations/2019_04_08_121149_add_section_id_to_routines_table.php old mode 100644 new mode 100755 diff --git a/database/migrations/2019_04_25_101700_add_active_to_exam_for_class_table.php b/database/migrations/2019_04_25_101700_add_active_to_exam_for_class_table.php old mode 100644 new mode 100755 diff --git a/database/migrations/2019_05_10_151601_add_stripe_fields_in_users_table.php b/database/migrations/2019_05_10_151601_add_stripe_fields_in_users_table.php old mode 100644 new mode 100755 diff --git a/database/migrations/2019_05_10_163920_create_stripe_subscription_table.php b/database/migrations/2019_05_10_163920_create_stripe_subscription_table.php old mode 100644 new mode 100755 diff --git a/database/migrations/2019_05_10_193135_create_payments_table.php b/database/migrations/2019_05_10_193135_create_payments_table.php old mode 100644 new mode 100755 diff --git a/database/migrations/2020_07_24_201246_create_certificates_table.php b/database/migrations/2020_07_24_201246_create_certificates_table.php old mode 100644 new mode 100755 diff --git a/database/seeds/AccountSectorsTableSeeder.php b/database/seeds/AccountSectorsTableSeeder.php old mode 100644 new mode 100755 diff --git a/database/seeds/AccountsTableSeeder.php b/database/seeds/AccountsTableSeeder.php old mode 100644 new mode 100755 diff --git a/database/seeds/AttendancesTableSeeder.php b/database/seeds/AttendancesTableSeeder.php old mode 100644 new mode 100755 diff --git a/database/seeds/BooksTableSeeder.php b/database/seeds/BooksTableSeeder.php old mode 100644 new mode 100755 diff --git a/database/seeds/CertificateTableSeeder.php b/database/seeds/CertificateTableSeeder.php old mode 100644 new mode 100755 diff --git a/database/seeds/ClassesTableSeeder.php b/database/seeds/ClassesTableSeeder.php old mode 100644 new mode 100755 diff --git a/database/seeds/CoursesTableSeeder.php b/database/seeds/CoursesTableSeeder.php old mode 100644 new mode 100755 diff --git a/database/seeds/DatabaseSeeder.php b/database/seeds/DatabaseSeeder.php old mode 100644 new mode 100755 diff --git a/database/seeds/DepartmentTableSeeder.php b/database/seeds/DepartmentTableSeeder.php old mode 100644 new mode 100755 diff --git a/database/seeds/EventsTableSeeder.php b/database/seeds/EventsTableSeeder.php old mode 100644 new mode 100755 diff --git a/database/seeds/ExamForClassesTableSeeder.php b/database/seeds/ExamForClassesTableSeeder.php old mode 100644 new mode 100755 diff --git a/database/seeds/ExamsTableSeeder.php b/database/seeds/ExamsTableSeeder.php old mode 100644 new mode 100755 diff --git a/database/seeds/FaqsTableSeeder.php b/database/seeds/FaqsTableSeeder.php old mode 100644 new mode 100755 diff --git a/database/seeds/FeedbacksTableSeeder.php b/database/seeds/FeedbacksTableSeeder.php old mode 100644 new mode 100755 diff --git a/database/seeds/FeesTableSeeder.php b/database/seeds/FeesTableSeeder.php old mode 100644 new mode 100755 diff --git a/database/seeds/FormsTableSeeder.php b/database/seeds/FormsTableSeeder.php old mode 100644 new mode 100755 diff --git a/database/seeds/GradesTableSeeder.php b/database/seeds/GradesTableSeeder.php old mode 100644 new mode 100755 diff --git a/database/seeds/GradesystemsTableSeeder.php b/database/seeds/GradesystemsTableSeeder.php old mode 100644 new mode 100755 diff --git a/database/seeds/HomeworksTableSeeder.php b/database/seeds/HomeworksTableSeeder.php old mode 100644 new mode 100755 diff --git a/database/seeds/IssuedbooksTableSeeder.php b/database/seeds/IssuedbooksTableSeeder.php old mode 100644 new mode 100755 diff --git a/database/seeds/MessagesTableSeeder.php b/database/seeds/MessagesTableSeeder.php old mode 100644 new mode 100755 diff --git a/database/seeds/NoticesTableSeeder.php b/database/seeds/NoticesTableSeeder.php old mode 100644 new mode 100755 diff --git a/database/seeds/NotificationsTableSeeder.php b/database/seeds/NotificationsTableSeeder.php old mode 100644 new mode 100755 diff --git a/database/seeds/RoutinesTableSeeder.php b/database/seeds/RoutinesTableSeeder.php old mode 100644 new mode 100755 diff --git a/database/seeds/SchoolsTableSeeder.php b/database/seeds/SchoolsTableSeeder.php old mode 100644 new mode 100755 diff --git a/database/seeds/SectionsTableSeeder.php b/database/seeds/SectionsTableSeeder.php old mode 100644 new mode 100755 diff --git a/database/seeds/StudentboardexamsTableSeeder.php b/database/seeds/StudentboardexamsTableSeeder.php old mode 100644 new mode 100755 diff --git a/database/seeds/StudentinfosTableSeeder.php b/database/seeds/StudentinfosTableSeeder.php old mode 100644 new mode 100755 diff --git a/database/seeds/SyllabusesTableSeeder.php b/database/seeds/SyllabusesTableSeeder.php old mode 100644 new mode 100755 diff --git a/database/seeds/UsersTableSeeder.php b/database/seeds/UsersTableSeeder.php old mode 100644 new mode 100755 diff --git a/docker-compose.yml b/docker-compose.yml old mode 100644 new mode 100755 index b9013c360..3dbf8014b --- a/docker-compose.yml +++ b/docker-compose.yml @@ -1,66 +1,109 @@ version: '3' + +#Docker Networks +networks: + app-network: + driver: bridge + +#Volumes +volumes: + dbdata: + driver: local + services: - #PHP Service - app: + #Nginx Service + nginx: build: context: . - dockerfile: Dockerfile - image: digitalocean.com/php - container_name: app - restart: unless-stopped - tty: true - environment: - SERVICE_NAME: app - SERVICE_TAGS: dev - working_dir: /var/www - volumes: - - ./:/var/www - - ./php/local.ini:/usr/local/etc/php/conf.d/local.ini - networks: - - app-network - - #Nginx Service - webserver: - image: nginx:alpine - container_name: webserver - restart: unless-stopped - tty: true + dockerfile: ./docker/nginx.dockerfile + container_name: nginx ports: - - "80:80" - - "443:443" + - "${DOCKER_WEBSERVER_HOST}:80" volumes: - - ./:/var/www - - ./nginx/conf.d/:/etc/nginx/conf.d/ + - .:/var/www/html + depends_on: + - php + - db networks: - app-network #MySQL Service db: - image: mysql:5.7.22 + image: mysql:latest container_name: db restart: unless-stopped tty: true ports: - "3306:3306" environment: - MYSQL_DATABASE: school - MYSQL_ROOT_PASSWORD: x12345678y - MYSQL_USER: root - MYSQL_PASSWORD: x12345678y + MYSQL_DATABASE: ${DB_DATABASE} + MYSQL_ROOT_PASSWORD: ${DB_PASSWORD} + MYSQL_USER: ${DB_USERNAME} + MYSQL_PASSWORD: ${DB_PASSWORD} SERVICE_TAGS: dev SERVICE_NAME: mysql volumes: - - dbdata:/var/lib/mysql/ - - ./mysql/my.cnf:/etc/mysql/my.cnf + - dbdata:/var/lib/mysql networks: - app-network -#Docker Networks -networks: - app-network: - driver: bridge -#Volumes -volumes: - dbdata: - driver: local + #PHP Service + php: + build: + context: . + dockerfile: ./docker/php.dockerfile + container_name: php + volumes: + - .:/var/www/html + ports: + - "9000:9000" + networks: + - app-network + + #Composer Service + composer: + build: + context: . + dockerfile: ./docker/composer.dockerfile + container_name: composer + volumes: + - .:/var/www/html + working_dir: /var/www/html + depends_on: + - php + user: laravel + networks: + - app-network + entrypoint: [ 'composer', '--ignore-platform-reqs' ] + + #Artisan Service + artisan: + build: + context: . + dockerfile: ./docker/php.dockerfile + container_name: artisan + volumes: + - .:/var/www/html + depends_on: + - db + working_dir: /var/www/html + user: laravel + entrypoint: [ 'php', '/var/www/html/artisan' ] + networks: + - app-network + + #PHPMyAdmin Service + phpmyadmin: + depends_on: + - db + image: phpmyadmin/phpmyadmin:latest + container_name: phpmyadmin + restart: always + ports: + - '${DOCKER_PHPMYADMIN_HOST}:80' + environment: + PMA_HOST: db + UPLOAD_LIMIT: 3000000000 + networks: + - app-network diff --git a/docker-install.sh b/docker-install.sh new file mode 100755 index 000000000..7ece159fb --- /dev/null +++ b/docker-install.sh @@ -0,0 +1,15 @@ +if ! [ -x "$(command -v docker-compose)" ]; then + echo 'docker-compose is not installed thus cannot scaffold your app. Sorry, bud...' >&2 + sleep 1 + exit 1 +fi + +echo "Scaffolding your app using Docker... This will take a while..." +sleep 1 +sudo docker-compose up -d +sudo docker-compose run --rm composer install +sudo docker-compose run --rm artisan migrate:fresh + +export $(grep -v '#.*' .env | xargs) +echo "\nUnifiedtransform is ready on localhost:$DOCKER_WEBSERVER_HOST and localhost:$DOCKER_PHPMYADMIN_HOST for the PHPMyAdmin\n" +sleep 1 diff --git a/docker/composer.dockerfile b/docker/composer.dockerfile new file mode 100755 index 000000000..aa0cb3596 --- /dev/null +++ b/docker/composer.dockerfile @@ -0,0 +1,5 @@ +FROM composer:latest + +RUN addgroup -g 1000 laravel && adduser -G laravel -g laravel -s /bin/sh -D laravel + +WORKDIR /var/www/html diff --git a/docker/nginx.dockerfile b/docker/nginx.dockerfile new file mode 100755 index 000000000..6c9ded38d --- /dev/null +++ b/docker/nginx.dockerfile @@ -0,0 +1,10 @@ +FROM nginx:stable-alpine + +ADD ./docker/nginx/nginx.conf /etc/nginx/nginx.conf +ADD ./docker/nginx/default.conf /etc/nginx/conf.d/default.conf + +RUN mkdir -p /var/www/html + +RUN addgroup -g 1000 laravel && adduser -G laravel -g laravel -s /bin/sh -D laravel + +RUN chown laravel:laravel /var/www/html diff --git a/nginx/conf.d/app.conf b/docker/nginx/default.conf old mode 100644 new mode 100755 similarity index 62% rename from nginx/conf.d/app.conf rename to docker/nginx/default.conf index f397fbd4b..ef5768d91 --- a/nginx/conf.d/app.conf +++ b/docker/nginx/default.conf @@ -1,20 +1,22 @@ server { listen 80; index index.php index.html; - error_log /var/log/nginx/error.log; - access_log /var/log/nginx/access.log; - root /var/www/public; + server_name localhost; + root /var/www/html/public; + + location / { + root /var/www/html/public; + index index.php index.html index.htm; + try_files $uri $uri/ /index.php$is_args$args; + } + location ~ \.php$ { try_files $uri =404; fastcgi_split_path_info ^(.+\.php)(/.+)$; - fastcgi_pass app:9000; + fastcgi_pass php:9000; fastcgi_index index.php; include fastcgi_params; fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; fastcgi_param PATH_INFO $fastcgi_path_info; } - location / { - try_files $uri $uri/ /index.php?$query_string; - gzip_static on; - } } diff --git a/docker/nginx/nginx.conf b/docker/nginx/nginx.conf new file mode 100755 index 000000000..060e50253 --- /dev/null +++ b/docker/nginx/nginx.conf @@ -0,0 +1,29 @@ +user laravel; +worker_processes auto; + +error_log /var/log/nginx/error.log warn; +pid /var/run/nginx.pid; + +events { + worker_connections 1024; +} + +http { + include /etc/nginx/mime.types; + default_type application/octet-stream; + + log_format main '$remote_addr - $remote_user [$time_local] "$request" ' + '$status $body_bytes_sent "$http_referer" ' + '"$http_user_agent" "$http_x_forwarded_for"'; + + access_log /var/log/nginx/access.log main; + + sendfile on; + #tcp_nopush on; + + keepalive_timeout 65; + + #gzip on; + + include /etc/nginx/conf.d/*.conf; +} diff --git a/docker/php.dockerfile b/docker/php.dockerfile new file mode 100755 index 000000000..75bbdebae --- /dev/null +++ b/docker/php.dockerfile @@ -0,0 +1,14 @@ +FROM php:7.4-fpm-alpine + +ADD ./docker/php/www.conf /usr/local/etc/php-fpm.d/www.conf +ADD ./docker/php/php.ini /usr/local/etc/php/php.ini + +RUN addgroup -g 1000 laravel && adduser -G laravel -g laravel -s /bin/sh -D laravel + +RUN mkdir -p /var/www/html + +RUN chown laravel:laravel /var/www/html + +WORKDIR /var/www/html + +RUN docker-php-ext-install pdo pdo_mysql diff --git a/docker/php/php.ini b/docker/php/php.ini new file mode 100755 index 000000000..7cc12b64c --- /dev/null +++ b/docker/php/php.ini @@ -0,0 +1,4 @@ +memory_limit = 64M +upload_max_filesize = 64M +post_max_size = 64M +max_execution_time = 90 diff --git a/docker/php/www.conf b/docker/php/www.conf new file mode 100755 index 000000000..eb028e111 --- /dev/null +++ b/docker/php/www.conf @@ -0,0 +1,439 @@ +; Start a new pool named 'www'. +; the variable $pool can be used in any directive and will be replaced by the +; pool name ('www' here) +[www] + +; Per pool prefix +; It only applies on the following directives: +; - 'access.log' +; - 'slowlog' +; - 'listen' (unixsocket) +; - 'chroot' +; - 'chdir' +; - 'php_values' +; - 'php_admin_values' +; When not set, the global prefix (or NONE) applies instead. +; Note: This directive can also be relative to the global prefix. +; Default Value: none +;prefix = /path/to/pools/$pool + +; Unix user/group of processes +; Note: The user is mandatory. If the group is not set, the default user's group +; will be used. +user = laravel +group = laravel + +; The address on which to accept FastCGI requests. +; Valid syntaxes are: +; 'ip.add.re.ss:port' - to listen on a TCP socket to a specific IPv4 address on +; a specific port; +; '[ip:6:addr:ess]:port' - to listen on a TCP socket to a specific IPv6 address on +; a specific port; +; 'port' - to listen on a TCP socket to all addresses +; (IPv6 and IPv4-mapped) on a specific port; +; '/path/to/unix/socket' - to listen on a unix socket. +; Note: This value is mandatory. +listen = 127.0.0.1:9000 + +; Set listen(2) backlog. +; Default Value: 511 (-1 on FreeBSD and OpenBSD) +;listen.backlog = 511 + +; Set permissions for unix socket, if one is used. In Linux, read/write +; permissions must be set in order to allow connections from a web server. Many +; BSD-derived systems allow connections regardless of permissions. The owner +; and group can be specified either by name or by their numeric IDs. +; Default Values: user and group are set as the running user +; mode is set to 0660 +;listen.owner = www-data +;listen.group = www-data +;listen.mode = 0660 +; When POSIX Access Control Lists are supported you can set them using +; these options, value is a comma separated list of user/group names. +; When set, listen.owner and listen.group are ignored +;listen.acl_users = +;listen.acl_groups = + +; List of addresses (IPv4/IPv6) of FastCGI clients which are allowed to connect. +; Equivalent to the FCGI_WEB_SERVER_ADDRS environment variable in the original +; PHP FCGI (5.2.2+). Makes sense only with a tcp listening socket. Each address +; must be separated by a comma. If this value is left blank, connections will be +; accepted from any ip address. +; Default Value: any +;listen.allowed_clients = 127.0.0.1 + +; Specify the nice(2) priority to apply to the pool processes (only if set) +; The value can vary from -19 (highest priority) to 20 (lower priority) +; Note: - It will only work if the FPM master process is launched as root +; - The pool processes will inherit the master process priority +; unless it specified otherwise +; Default Value: no set +; process.priority = -19 + +; Set the process dumpable flag (PR_SET_DUMPABLE prctl) even if the process user +; or group is differrent than the master process user. It allows to create process +; core dump and ptrace the process for the pool user. +; Default Value: no +; process.dumpable = yes + +; Choose how the process manager will control the number of child processes. +; Possible Values: +; static - a fixed number (pm.max_children) of child processes; +; dynamic - the number of child processes are set dynamically based on the +; following directives. With this process management, there will be +; always at least 1 children. +; pm.max_children - the maximum number of children that can +; be alive at the same time. +; pm.start_servers - the number of children created on startup. +; pm.min_spare_servers - the minimum number of children in 'idle' +; state (waiting to process). If the number +; of 'idle' processes is less than this +; number then some children will be created. +; pm.max_spare_servers - the maximum number of children in 'idle' +; state (waiting to process). If the number +; of 'idle' processes is greater than this +; number then some children will be killed. +; ondemand - no children are created at startup. Children will be forked when +; new requests will connect. The following parameter are used: +; pm.max_children - the maximum number of children that +; can be alive at the same time. +; pm.process_idle_timeout - The number of seconds after which +; an idle process will be killed. +; Note: This value is mandatory. +pm = dynamic + +; The number of child processes to be created when pm is set to 'static' and the +; maximum number of child processes when pm is set to 'dynamic' or 'ondemand'. +; This value sets the limit on the number of simultaneous requests that will be +; served. Equivalent to the ApacheMaxClients directive with mpm_prefork. +; Equivalent to the PHP_FCGI_CHILDREN environment variable in the original PHP +; CGI. The below defaults are based on a server without much resources. Don't +; forget to tweak pm.* to fit your needs. +; Note: Used when pm is set to 'static', 'dynamic' or 'ondemand' +; Note: This value is mandatory. +pm.max_children = 5 + +; The number of child processes created on startup. +; Note: Used only when pm is set to 'dynamic' +; Default Value: (min_spare_servers + max_spare_servers) / 2 +pm.start_servers = 2 + +; The desired minimum number of idle server processes. +; Note: Used only when pm is set to 'dynamic' +; Note: Mandatory when pm is set to 'dynamic' +pm.min_spare_servers = 1 + +; The desired maximum number of idle server processes. +; Note: Used only when pm is set to 'dynamic' +; Note: Mandatory when pm is set to 'dynamic' +pm.max_spare_servers = 3 + +; The number of seconds after which an idle process will be killed. +; Note: Used only when pm is set to 'ondemand' +; Default Value: 10s +;pm.process_idle_timeout = 10s; + +; The number of requests each child process should execute before respawning. +; This can be useful to work around memory leaks in 3rd party libraries. For +; endless request processing specify '0'. Equivalent to PHP_FCGI_MAX_REQUESTS. +; Default Value: 0 +;pm.max_requests = 500 + +; The URI to view the FPM status page. If this value is not set, no URI will be +; recognized as a status page. It shows the following informations: +; pool - the name of the pool; +; process manager - static, dynamic or ondemand; +; start time - the date and time FPM has started; +; start since - number of seconds since FPM has started; +; accepted conn - the number of request accepted by the pool; +; listen queue - the number of request in the queue of pending +; connections (see backlog in listen(2)); +; max listen queue - the maximum number of requests in the queue +; of pending connections since FPM has started; +; listen queue len - the size of the socket queue of pending connections; +; idle processes - the number of idle processes; +; active processes - the number of active processes; +; total processes - the number of idle + active processes; +; max active processes - the maximum number of active processes since FPM +; has started; +; max children reached - number of times, the process limit has been reached, +; when pm tries to start more children (works only for +; pm 'dynamic' and 'ondemand'); +; Value are updated in real time. +; Example output: +; pool: www +; process manager: static +; start time: 01/Jul/2011:17:53:49 +0200 +; start since: 62636 +; accepted conn: 190460 +; listen queue: 0 +; max listen queue: 1 +; listen queue len: 42 +; idle processes: 4 +; active processes: 11 +; total processes: 15 +; max active processes: 12 +; max children reached: 0 +; +; By default the status page output is formatted as text/plain. Passing either +; 'html', 'xml' or 'json' in the query string will return the corresponding +; output syntax. Example: +; http://www.foo.bar/status +; http://www.foo.bar/status?json +; http://www.foo.bar/status?html +; http://www.foo.bar/status?xml +; +; By default the status page only outputs short status. Passing 'full' in the +; query string will also return status for each pool process. +; Example: +; http://www.foo.bar/status?full +; http://www.foo.bar/status?json&full +; http://www.foo.bar/status?html&full +; http://www.foo.bar/status?xml&full +; The Full status returns for each process: +; pid - the PID of the process; +; state - the state of the process (Idle, Running, ...); +; start time - the date and time the process has started; +; start since - the number of seconds since the process has started; +; requests - the number of requests the process has served; +; request duration - the duration in µs of the requests; +; request method - the request method (GET, POST, ...); +; request URI - the request URI with the query string; +; content length - the content length of the request (only with POST); +; user - the user (PHP_AUTH_USER) (or '-' if not set); +; script - the main script called (or '-' if not set); +; last request cpu - the %cpu the last request consumed +; it's always 0 if the process is not in Idle state +; because CPU calculation is done when the request +; processing has terminated; +; last request memory - the max amount of memory the last request consumed +; it's always 0 if the process is not in Idle state +; because memory calculation is done when the request +; processing has terminated; +; If the process is in Idle state, then informations are related to the +; last request the process has served. Otherwise informations are related to +; the current request being served. +; Example output: +; ************************ +; pid: 31330 +; state: Running +; start time: 01/Jul/2011:17:53:49 +0200 +; start since: 63087 +; requests: 12808 +; request duration: 1250261 +; request method: GET +; request URI: /test_mem.php?N=10000 +; content length: 0 +; user: - +; script: /home/fat/web/docs/php/test_mem.php +; last request cpu: 0.00 +; last request memory: 0 +; +; Note: There is a real-time FPM status monitoring sample web page available +; It's available in: /usr/local/share/php/fpm/status.html +; +; Note: The value must start with a leading slash (/). The value can be +; anything, but it may not be a good idea to use the .php extension or it +; may conflict with a real PHP file. +; Default Value: not set +;pm.status_path = /status + +; The ping URI to call the monitoring page of FPM. If this value is not set, no +; URI will be recognized as a ping page. This could be used to test from outside +; that FPM is alive and responding, or to +; - create a graph of FPM availability (rrd or such); +; - remove a server from a group if it is not responding (load balancing); +; - trigger alerts for the operating team (24/7). +; Note: The value must start with a leading slash (/). The value can be +; anything, but it may not be a good idea to use the .php extension or it +; may conflict with a real PHP file. +; Default Value: not set +;ping.path = /ping + +; This directive may be used to customize the response of a ping request. The +; response is formatted as text/plain with a 200 response code. +; Default Value: pong +;ping.response = pong + +; The access log file +; Default: not set +;access.log = log/$pool.access.log + +; The access log format. +; The following syntax is allowed +; %%: the '%' character +; %C: %CPU used by the request +; it can accept the following format: +; - %{user}C for user CPU only +; - %{system}C for system CPU only +; - %{total}C for user + system CPU (default) +; %d: time taken to serve the request +; it can accept the following format: +; - %{seconds}d (default) +; - %{miliseconds}d +; - %{mili}d +; - %{microseconds}d +; - %{micro}d +; %e: an environment variable (same as $_ENV or $_SERVER) +; it must be associated with embraces to specify the name of the env +; variable. Some exemples: +; - server specifics like: %{REQUEST_METHOD}e or %{SERVER_PROTOCOL}e +; - HTTP headers like: %{HTTP_HOST}e or %{HTTP_USER_AGENT}e +; %f: script filename +; %l: content-length of the request (for POST request only) +; %m: request method +; %M: peak of memory allocated by PHP +; it can accept the following format: +; - %{bytes}M (default) +; - %{kilobytes}M +; - %{kilo}M +; - %{megabytes}M +; - %{mega}M +; %n: pool name +; %o: output header +; it must be associated with embraces to specify the name of the header: +; - %{Content-Type}o +; - %{X-Powered-By}o +; - %{Transfert-Encoding}o +; - .... +; %p: PID of the child that serviced the request +; %P: PID of the parent of the child that serviced the request +; %q: the query string +; %Q: the '?' character if query string exists +; %r: the request URI (without the query string, see %q and %Q) +; %R: remote IP address +; %s: status (response code) +; %t: server time the request was received +; it can accept a strftime(3) format: +; %d/%b/%Y:%H:%M:%S %z (default) +; The strftime(3) format must be encapsuled in a %{}t tag +; e.g. for a ISO8601 formatted timestring, use: %{%Y-%m-%dT%H:%M:%S%z}t +; %T: time the log has been written (the request has finished) +; it can accept a strftime(3) format: +; %d/%b/%Y:%H:%M:%S %z (default) +; The strftime(3) format must be encapsuled in a %{}t tag +; e.g. for a ISO8601 formatted timestring, use: %{%Y-%m-%dT%H:%M:%S%z}t +; %u: remote user +; +; Default: "%R - %u %t \"%m %r\" %s" +;access.format = "%R - %u %t \"%m %r%Q%q\" %s %f %{mili}d %{kilo}M %C%%" + +; The log file for slow requests +; Default Value: not set +; Note: slowlog is mandatory if request_slowlog_timeout is set +;slowlog = log/$pool.log.slow + +; The timeout for serving a single request after which a PHP backtrace will be +; dumped to the 'slowlog' file. A value of '0s' means 'off'. +; Available units: s(econds)(default), m(inutes), h(ours), or d(ays) +; Default Value: 0 +;request_slowlog_timeout = 0 + +; Depth of slow log stack trace. +; Default Value: 20 +;request_slowlog_trace_depth = 20 + +; The timeout for serving a single request after which the worker process will +; be killed. This option should be used when the 'max_execution_time' ini option +; does not stop script execution for some reason. A value of '0' means 'off'. +; Available units: s(econds)(default), m(inutes), h(ours), or d(ays) +; Default Value: 0 +;request_terminate_timeout = 0 + +; The timeout set by 'request_terminate_timeout' ini option is not engaged after +; application calls 'fastcgi_finish_request' or when application has finished and +; shutdown functions are being called (registered via register_shutdown_function). +; This option will enable timeout limit to be applied unconditionally +; even in such cases. +; Default Value: no +;request_terminate_timeout_track_finished = no + +; Set open file descriptor rlimit. +; Default Value: system defined value +;rlimit_files = 1024 + +; Set max core size rlimit. +; Possible Values: 'unlimited' or an integer greater or equal to 0 +; Default Value: system defined value +;rlimit_core = 0 + +; Chroot to this directory at the start. This value must be defined as an +; absolute path. When this value is not set, chroot is not used. +; Note: you can prefix with '$prefix' to chroot to the pool prefix or one +; of its subdirectories. If the pool prefix is not set, the global prefix +; will be used instead. +; Note: chrooting is a great security feature and should be used whenever +; possible. However, all PHP paths will be relative to the chroot +; (error_log, sessions.save_path, ...). +; Default Value: not set +;chroot = + +; Chdir to this directory at the start. +; Note: relative path can be used. +; Default Value: current directory or / when chroot +;chdir = /var/www + +; Redirect worker stdout and stderr into main error log. If not set, stdout and +; stderr will be redirected to /dev/null according to FastCGI specs. +; Note: on highloaded environement, this can cause some delay in the page +; process time (several ms). +; Default Value: no +;catch_workers_output = yes + +; Decorate worker output with prefix and suffix containing information about +; the child that writes to the log and if stdout or stderr is used as well as +; log level and time. This options is used only if catch_workers_output is yes. +; Settings to "no" will output data as written to the stdout or stderr. +; Default value: yes +;decorate_workers_output = no + +; Clear environment in FPM workers +; Prevents arbitrary environment variables from reaching FPM worker processes +; by clearing the environment in workers before env vars specified in this +; pool configuration are added. +; Setting to "no" will make all environment variables available to PHP code +; via getenv(), $_ENV and $_SERVER. +; Default Value: yes +;clear_env = no + +; Limits the extensions of the main script FPM will allow to parse. This can +; prevent configuration mistakes on the web server side. You should only limit +; FPM to .php extensions to prevent malicious users to use other extensions to +; execute php code. +; Note: set an empty value to allow all extensions. +; Default Value: .php +;security.limit_extensions = .php .php3 .php4 .php5 .php7 + +; Pass environment variables like LD_LIBRARY_PATH. All $VARIABLEs are taken from +; the current environment. +; Default Value: clean env +;env[HOSTNAME] = $HOSTNAME +;env[PATH] = /usr/local/bin:/usr/bin:/bin +;env[TMP] = /tmp +;env[TMPDIR] = /tmp +;env[TEMP] = /tmp + +; Additional php.ini defines, specific to this pool of workers. These settings +; overwrite the values previously defined in the php.ini. The directives are the +; same as the PHP SAPI: +; php_value/php_flag - you can set classic ini defines which can +; be overwritten from PHP call 'ini_set'. +; php_admin_value/php_admin_flag - these directives won't be overwritten by +; PHP call 'ini_set' +; For php_*flag, valid values are on, off, 1, 0, true, false, yes or no. + +; Defining 'extension' will load the corresponding shared extension from +; extension_dir. Defining 'disable_functions' or 'disable_classes' will not +; overwrite previously defined php.ini values, but will append the new value +; instead. + +; Note: path INI options can be relative and will be expanded with the prefix +; (pool, global or /usr/local) + +; Default Value: nothing is defined by default except the values in php.ini and +; specified at startup with the -d argument +;php_admin_value[sendmail_path] = /usr/sbin/sendmail -t -i -f www@my.domain.com +;php_flag[display_errors] = off +;php_admin_value[error_log] = /var/log/fpm-php.www.log +;php_admin_flag[log_errors] = on +;php_admin_value[memory_limit] = 32M diff --git a/mysql/my.cnf b/mysql/my.cnf deleted file mode 100644 index 4c7ab56ce..000000000 --- a/mysql/my.cnf +++ /dev/null @@ -1,4 +0,0 @@ -[mysqld] -general_log = 1 -general_log_file = /var/lib/mysql/general.log -secure-file-priv = NULL diff --git a/package-lock.json b/package-lock.json old mode 100644 new mode 100755 diff --git a/package.json b/package.json old mode 100644 new mode 100755 diff --git a/php/local.ini b/php/local.ini deleted file mode 100644 index aacea9dfb..000000000 --- a/php/local.ini +++ /dev/null @@ -1,2 +0,0 @@ -upload_max_filesize=40M -post_max_size=40M diff --git a/phpunit.dusk.xml b/phpunit.dusk.xml old mode 100644 new mode 100755 diff --git a/phpunit.xml b/phpunit.xml old mode 100644 new mode 100755 diff --git a/public/.htaccess b/public/.htaccess old mode 100644 new mode 100755 diff --git a/public/01-progress.gif b/public/01-progress.gif old mode 100644 new mode 100755 diff --git a/public/appname.svg b/public/appname.svg old mode 100644 new mode 100755 diff --git a/public/css/app.css b/public/css/app.css old mode 100644 new mode 100755 diff --git a/public/css/application.css b/public/css/application.css old mode 100644 new mode 100755 diff --git a/public/css/bootstrap-notifications.min.css b/public/css/bootstrap-notifications.min.css old mode 100644 new mode 100755 diff --git a/public/css/loader.css b/public/css/loader.css old mode 100644 new mode 100755 diff --git a/public/css/vendors.css b/public/css/vendors.css old mode 100644 new mode 100755 diff --git a/public/favicon.ico b/public/favicon.ico old mode 100644 new mode 100755 diff --git a/public/fonts/glyphicons-halflings-regular.eot b/public/fonts/glyphicons-halflings-regular.eot old mode 100644 new mode 100755 diff --git a/public/fonts/glyphicons-halflings-regular.svg b/public/fonts/glyphicons-halflings-regular.svg old mode 100644 new mode 100755 diff --git a/public/fonts/glyphicons-halflings-regular.ttf b/public/fonts/glyphicons-halflings-regular.ttf old mode 100644 new mode 100755 diff --git a/public/fonts/glyphicons-halflings-regular.woff b/public/fonts/glyphicons-halflings-regular.woff old mode 100644 new mode 100755 diff --git a/public/fonts/glyphicons-halflings-regular.woff2 b/public/fonts/glyphicons-halflings-regular.woff2 old mode 100644 new mode 100755 diff --git a/public/index.php b/public/index.php old mode 100644 new mode 100755 diff --git a/public/js/app.js b/public/js/app.js old mode 100644 new mode 100755 diff --git a/public/js/application.js b/public/js/application.js old mode 100644 new mode 100755 diff --git a/public/js/jquery-2.1.3.min.js b/public/js/jquery-2.1.3.min.js old mode 100644 new mode 100755 diff --git a/public/js/vendors.js b/public/js/vendors.js old mode 100644 new mode 100755 diff --git a/public/mix-manifest.json b/public/mix-manifest.json old mode 100644 new mode 100755 diff --git a/public/robots.txt b/public/robots.txt old mode 100644 new mode 100755 diff --git a/public/sanfran.jpg b/public/sanfran.jpg old mode 100644 new mode 100755 diff --git a/public/web.config b/public/web.config old mode 100644 new mode 100755 diff --git a/readme.md b/readme.md old mode 100644 new mode 100755 index 62c3ec9c7..25055aecd --- a/readme.md +++ b/readme.md @@ -123,34 +123,38 @@ This software has following features: ## How to Start ### Using Docker Container: -**Anyone having trouble related to `mysql-client`, PHP 7.3 needs mariadb instead of mysql.** See issue [#192](https://github.com/changeweb/Unifiedtransform/issues/192) - -**[Docker](https://www.docker.com/)** is now supported. - -You need to change Docker configuration files according to your need. - -- Change following lines in `docker-compose.yml` - ```yml - MYSQL_ROOT_PASSWORD: your password - MYSQL_USER: root - MYSQL_PASSWORD: your password - ``` - -- To run this software in Docker containers run `sudo docker-compose up -d`. -- Then run `sudo docker container ls --all`. Copy **Nginx** Container ID. -- Then run `sudo docker exec -it bash` -- Run `cp .env.example .env` and change following lines in `.env` file - ```sh - DB_HOST=db - DB_PORT=3306 - DB_DATABASE=school - DB_USERNAME=root - DB_PASSWORD=your password - ``` -- Run `composer install` -- Run `php artisan key:generate` -- Run `php artisan migrate:fresh --seed` -- Visit `http://localhost:80`. +**[Docker](https://www.docker.com/)** is now supported and improved. + +With the improved Docker setup, you will get: +- Nginx +- PHP 7.4 +- MySQL 8 +- PHPMyAdmin +- Composer commands: access composer commands directly without entering the container +- Artisan commands: access artisan commands directly without entering the container + +In a nutshell, you only need to install Docker as well as `docker-compose` on your (host) machine and let Docker does the rest + +#### Step to install: + +1. Run `cp .env.example .env` +2. If you think the default setting are pretty well setup, you can run `./docker-install.sh` right away from your terminal. +3. Otherwise, read a section below for further information about properties you may change. +4. Run `./docker-install.sh` + +#### Note + +Here are `.env` properties you can change: + +- Common Laravel `.env` properties +- `DOCKER_WEBSERVER_HOST` defines the Unifiedtransform port address. default value: `4049` +- `DOCKER_PHPMYADMIN_HOST` defines the PHPMyAdmin port address. default value: `5051` + +You can also customize the database name defined on the `DB_DATABASE` property when Docker is being initialized the first time. + +#### Added Commands +- `docker-compose run --rm composer ` +- `docker-compose run --rm artisan ` ### Not using a Container: diff --git a/resources/assets/js/app.js b/resources/assets/js/app.js old mode 100644 new mode 100755 diff --git a/resources/assets/js/bootstrap.js b/resources/assets/js/bootstrap.js old mode 100644 new mode 100755 diff --git a/resources/assets/js/components/ExampleComponent.vue b/resources/assets/js/components/ExampleComponent.vue old mode 100644 new mode 100755 diff --git a/resources/assets/sass/_variables.scss b/resources/assets/sass/_variables.scss old mode 100644 new mode 100755 diff --git a/resources/assets/sass/app.scss b/resources/assets/sass/app.scss old mode 100644 new mode 100755 diff --git a/resources/assets/theme/application/css/app-layout.css b/resources/assets/theme/application/css/app-layout.css old mode 100644 new mode 100755 diff --git a/resources/assets/theme/application/css/loader.css b/resources/assets/theme/application/css/loader.css old mode 100644 new mode 100755 diff --git a/resources/assets/theme/application/js/initializer.js b/resources/assets/theme/application/js/initializer.js old mode 100644 new mode 100755 diff --git a/resources/assets/theme/vendors/css/bootstrap-datepicker.min.css b/resources/assets/theme/vendors/css/bootstrap-datepicker.min.css old mode 100644 new mode 100755 diff --git a/resources/assets/theme/vendors/css/bootstrap.min.css b/resources/assets/theme/vendors/css/bootstrap.min.css old mode 100644 new mode 100755 diff --git a/resources/assets/theme/vendors/css/chosen.bootstrap.min.css b/resources/assets/theme/vendors/css/chosen.bootstrap.min.css old mode 100644 new mode 100755 diff --git a/resources/assets/theme/vendors/css/dataTables-1.10.16.bootstrap.min.css b/resources/assets/theme/vendors/css/dataTables-1.10.16.bootstrap.min.css old mode 100644 new mode 100755 diff --git a/resources/assets/theme/vendors/css/flatly.bootstrap-3.3.7.min.css b/resources/assets/theme/vendors/css/flatly.bootstrap-3.3.7.min.css old mode 100644 new mode 100755 diff --git a/resources/assets/theme/vendors/js/bootstrap-3.3.7.min.js b/resources/assets/theme/vendors/js/bootstrap-3.3.7.min.js old mode 100644 new mode 100755 diff --git a/resources/assets/theme/vendors/js/bootstrap-datepicker.min.js b/resources/assets/theme/vendors/js/bootstrap-datepicker.min.js old mode 100644 new mode 100755 diff --git a/resources/assets/theme/vendors/js/chosen.jquery.min.js b/resources/assets/theme/vendors/js/chosen.jquery.min.js old mode 100644 new mode 100755 diff --git a/resources/assets/theme/vendors/js/dataTables-1.10.16.bootstrap.min.js b/resources/assets/theme/vendors/js/dataTables-1.10.16.bootstrap.min.js old mode 100644 new mode 100755 diff --git a/resources/assets/theme/vendors/js/dataTables-1.10.16.min.js b/resources/assets/theme/vendors/js/dataTables-1.10.16.min.js old mode 100644 new mode 100755 diff --git a/resources/assets/theme/vendors/js/jquery-2.1.3.min.js b/resources/assets/theme/vendors/js/jquery-2.1.3.min.js old mode 100644 new mode 100755 diff --git a/resources/lang/en/auth.php b/resources/lang/en/auth.php old mode 100644 new mode 100755 diff --git a/resources/lang/en/pagination.php b/resources/lang/en/pagination.php old mode 100644 new mode 100755 diff --git a/resources/lang/en/passwords.php b/resources/lang/en/passwords.php old mode 100644 new mode 100755 diff --git a/resources/lang/en/validation.php b/resources/lang/en/validation.php old mode 100644 new mode 100755 diff --git a/resources/lang/es-MX.json b/resources/lang/es-MX.json old mode 100644 new mode 100755 diff --git a/resources/lang/es-MX/auth.php b/resources/lang/es-MX/auth.php old mode 100644 new mode 100755 diff --git a/resources/lang/es-MX/pagination.php b/resources/lang/es-MX/pagination.php old mode 100644 new mode 100755 diff --git a/resources/lang/es-MX/passwords.php b/resources/lang/es-MX/passwords.php old mode 100644 new mode 100755 diff --git a/resources/lang/es-MX/validation.php b/resources/lang/es-MX/validation.php old mode 100644 new mode 100755 diff --git a/resources/views/accounts/accountant-list.blade.php b/resources/views/accounts/accountant-list.blade.php old mode 100644 new mode 100755 diff --git a/resources/views/accounts/edit_sector.blade.php b/resources/views/accounts/edit_sector.blade.php old mode 100644 new mode 100755 diff --git a/resources/views/accounts/expense-edit.blade.php b/resources/views/accounts/expense-edit.blade.php old mode 100644 new mode 100755 diff --git a/resources/views/accounts/expense-list.blade.php b/resources/views/accounts/expense-list.blade.php old mode 100644 new mode 100755 diff --git a/resources/views/accounts/expense.blade.php b/resources/views/accounts/expense.blade.php old mode 100644 new mode 100755 diff --git a/resources/views/accounts/income-edit.blade.php b/resources/views/accounts/income-edit.blade.php old mode 100644 new mode 100755 diff --git a/resources/views/accounts/income-list.blade.php b/resources/views/accounts/income-list.blade.php old mode 100644 new mode 100755 diff --git a/resources/views/accounts/income.blade.php b/resources/views/accounts/income.blade.php old mode 100644 new mode 100755 diff --git a/resources/views/accounts/sector.blade.php b/resources/views/accounts/sector.blade.php old mode 100644 new mode 100755 diff --git a/resources/views/attendance/adjust.blade.php b/resources/views/attendance/adjust.blade.php old mode 100644 new mode 100755 diff --git a/resources/views/attendance/attendance.blade.php b/resources/views/attendance/attendance.blade.php old mode 100644 new mode 100755 diff --git a/resources/views/attendance/student-attendances.blade.php b/resources/views/attendance/student-attendances.blade.php old mode 100644 new mode 100755 diff --git a/resources/views/auth/login.blade.php b/resources/views/auth/login.blade.php old mode 100644 new mode 100755 diff --git a/resources/views/auth/passwords/email.blade.php b/resources/views/auth/passwords/email.blade.php old mode 100644 new mode 100755 diff --git a/resources/views/auth/passwords/reset.blade.php b/resources/views/auth/passwords/reset.blade.php old mode 100644 new mode 100755 diff --git a/resources/views/auth/register.blade.php b/resources/views/auth/register.blade.php old mode 100644 new mode 100755 diff --git a/resources/views/certificates/create.blade.php b/resources/views/certificates/create.blade.php old mode 100644 new mode 100755 diff --git a/resources/views/certificates/index.blade.php b/resources/views/certificates/index.blade.php old mode 100644 new mode 100755 diff --git a/resources/views/components/active-exams.blade.php b/resources/views/components/active-exams.blade.php old mode 100644 new mode 100755 diff --git a/resources/views/components/add-exam-form.blade.php b/resources/views/components/add-exam-form.blade.php old mode 100644 new mode 100755 diff --git a/resources/views/components/adjust-attendance.blade.php b/resources/views/components/adjust-attendance.blade.php old mode 100644 new mode 100755 diff --git a/resources/views/components/all-books.blade.php b/resources/views/components/all-books.blade.php old mode 100644 new mode 100755 diff --git a/resources/views/components/book-issue-form.blade.php b/resources/views/components/book-issue-form.blade.php old mode 100644 new mode 100755 diff --git a/resources/views/components/certificate-list.blade.php b/resources/views/components/certificate-list.blade.php old mode 100644 new mode 100755 diff --git a/resources/views/components/course-table.blade.php b/resources/views/components/course-table.blade.php old mode 100644 new mode 100755 diff --git a/resources/views/components/exams-list.blade.php b/resources/views/components/exams-list.blade.php old mode 100644 new mode 100755 diff --git a/resources/views/components/excel-upload-form.blade.php b/resources/views/components/excel-upload-form.blade.php old mode 100644 new mode 100755 diff --git a/resources/views/components/fees-list.blade.php b/resources/views/components/fees-list.blade.php old mode 100644 new mode 100755 diff --git a/resources/views/components/file-uploader.blade.php b/resources/views/components/file-uploader.blade.php old mode 100644 new mode 100755 diff --git a/resources/views/components/issued-books-list.blade.php b/resources/views/components/issued-books-list.blade.php old mode 100644 new mode 100755 diff --git a/resources/views/components/loader.blade.php b/resources/views/components/loader.blade.php old mode 100644 new mode 100755 diff --git a/resources/views/components/navbar-top.blade.php b/resources/views/components/navbar-top.blade.php old mode 100644 new mode 100755 diff --git a/resources/views/components/promote-students.blade.php b/resources/views/components/promote-students.blade.php old mode 100644 new mode 100755 diff --git a/resources/views/components/quill-editor.blade.php b/resources/views/components/quill-editor.blade.php old mode 100644 new mode 100755 diff --git a/resources/views/components/uploaded-files-list.blade.php b/resources/views/components/uploaded-files-list.blade.php old mode 100644 new mode 100755 diff --git a/resources/views/components/user-board-exam.blade.php b/resources/views/components/user-board-exam.blade.php old mode 100644 new mode 100755 diff --git a/resources/views/components/user-profile.blade.php b/resources/views/components/user-profile.blade.php old mode 100644 new mode 100755 diff --git a/resources/views/components/user.blade.php b/resources/views/components/user.blade.php old mode 100644 new mode 100755 diff --git a/resources/views/components/users-export.blade.php b/resources/views/components/users-export.blade.php old mode 100644 new mode 100755 diff --git a/resources/views/components/users-list.blade.php b/resources/views/components/users-list.blade.php old mode 100644 new mode 100755 diff --git a/resources/views/course/class-course.blade.php b/resources/views/course/class-course.blade.php old mode 100644 new mode 100755 diff --git a/resources/views/course/edit.blade.php b/resources/views/course/edit.blade.php old mode 100644 new mode 100755 diff --git a/resources/views/course/students.blade.php b/resources/views/course/students.blade.php old mode 100644 new mode 100755 diff --git a/resources/views/course/teacher-course.blade.php b/resources/views/course/teacher-course.blade.php old mode 100644 new mode 100755 diff --git a/resources/views/email/user/welcome.blade.php b/resources/views/email/user/welcome.blade.php old mode 100644 new mode 100755 diff --git a/resources/views/events/create.blade.php b/resources/views/events/create.blade.php old mode 100644 new mode 100755 diff --git a/resources/views/exams/active.blade.php b/resources/views/exams/active.blade.php old mode 100644 new mode 100755 diff --git a/resources/views/exams/add.blade.php b/resources/views/exams/add.blade.php old mode 100644 new mode 100755 diff --git a/resources/views/exams/all.blade.php b/resources/views/exams/all.blade.php old mode 100644 new mode 100755 diff --git a/resources/views/fees/all.blade.php b/resources/views/fees/all.blade.php old mode 100644 new mode 100755 diff --git a/resources/views/fees/create.blade.php b/resources/views/fees/create.blade.php old mode 100644 new mode 100755 diff --git a/resources/views/gpa/all.blade.php b/resources/views/gpa/all.blade.php old mode 100644 new mode 100755 diff --git a/resources/views/gpa/create.blade.php b/resources/views/gpa/create.blade.php old mode 100644 new mode 100755 diff --git a/resources/views/grade/all-exams-grade.blade.php b/resources/views/grade/all-exams-grade.blade.php old mode 100644 new mode 100755 diff --git a/resources/views/grade/class-result.blade.php b/resources/views/grade/class-result.blade.php old mode 100644 new mode 100755 diff --git a/resources/views/grade/course-grade.blade.php b/resources/views/grade/course-grade.blade.php old mode 100644 new mode 100755 diff --git a/resources/views/grade/student-grade.blade.php b/resources/views/grade/student-grade.blade.php old mode 100644 new mode 100755 diff --git a/resources/views/grade/teacher-grade.blade.php b/resources/views/grade/teacher-grade.blade.php old mode 100644 new mode 100755 diff --git a/resources/views/home.blade.php b/resources/views/home.blade.php old mode 100644 new mode 100755 diff --git a/resources/views/layouts/app.blade.php b/resources/views/layouts/app.blade.php old mode 100644 new mode 100755 diff --git a/resources/views/layouts/leftside-menubar.blade.php b/resources/views/layouts/leftside-menubar.blade.php old mode 100644 new mode 100755 diff --git a/resources/views/layouts/master/add-class-form.blade.php b/resources/views/layouts/master/add-class-form.blade.php old mode 100644 new mode 100755 diff --git a/resources/views/layouts/master/add-course-form.blade.php b/resources/views/layouts/master/add-course-form.blade.php old mode 100644 new mode 100755 diff --git a/resources/views/layouts/master/create-section-form.blade.php b/resources/views/layouts/master/create-section-form.blade.php old mode 100644 new mode 100755 diff --git a/resources/views/layouts/master/theme-form.blade.php b/resources/views/layouts/master/theme-form.blade.php old mode 100644 new mode 100755 diff --git a/resources/views/layouts/master/theme-select.blade.php b/resources/views/layouts/master/theme-select.blade.php old mode 100644 new mode 100755 diff --git a/resources/views/layouts/student/attendances-table.blade.php b/resources/views/layouts/student/attendances-table.blade.php old mode 100644 new mode 100755 diff --git a/resources/views/layouts/student/grade-table.blade.php b/resources/views/layouts/student/grade-table.blade.php old mode 100644 new mode 100755 diff --git a/resources/views/layouts/teacher/attendance-form.blade.php b/resources/views/layouts/teacher/attendance-form.blade.php old mode 100644 new mode 100755 diff --git a/resources/views/layouts/teacher/grade-form.blade.php b/resources/views/layouts/teacher/grade-form.blade.php old mode 100644 new mode 100755 diff --git a/resources/views/layouts/teacher/grade-table.blade.php b/resources/views/layouts/teacher/grade-table.blade.php old mode 100644 new mode 100755 diff --git a/resources/views/layouts/user.blade.php b/resources/views/layouts/user.blade.php old mode 100644 new mode 100755 diff --git a/resources/views/library/books/create-form.blade.php b/resources/views/library/books/create-form.blade.php old mode 100644 new mode 100755 diff --git a/resources/views/library/books/create.blade.php b/resources/views/library/books/create.blade.php old mode 100644 new mode 100755 diff --git a/resources/views/library/books/edit.blade.php b/resources/views/library/books/edit.blade.php old mode 100644 new mode 100755 diff --git a/resources/views/library/books/form.blade.php b/resources/views/library/books/form.blade.php old mode 100644 new mode 100755 diff --git a/resources/views/library/books/index.blade.php b/resources/views/library/books/index.blade.php old mode 100644 new mode 100755 diff --git a/resources/views/library/books/show.blade.php b/resources/views/library/books/show.blade.php old mode 100644 new mode 100755 diff --git a/resources/views/library/issuebooks.blade.php b/resources/views/library/issuebooks.blade.php old mode 100644 new mode 100755 diff --git a/resources/views/library/issued-books.blade.php b/resources/views/library/issued-books.blade.php old mode 100644 new mode 100755 diff --git a/resources/views/library/librarian-list.blade.php b/resources/views/library/librarian-list.blade.php old mode 100644 new mode 100755 diff --git a/resources/views/list/student-list.blade.php b/resources/views/list/student-list.blade.php old mode 100644 new mode 100755 diff --git a/resources/views/list/teacher-list.blade.php b/resources/views/list/teacher-list.blade.php old mode 100644 new mode 100755 diff --git a/resources/views/masters/index.blade.php b/resources/views/masters/index.blade.php old mode 100644 new mode 100755 diff --git a/resources/views/message/all.blade.php b/resources/views/message/all.blade.php old mode 100644 new mode 100755 diff --git a/resources/views/notices/create.blade.php b/resources/views/notices/create.blade.php old mode 100644 new mode 100755 diff --git a/resources/views/pdf/profile-pdf.blade.php b/resources/views/pdf/profile-pdf.blade.php old mode 100644 new mode 100755 diff --git a/resources/views/pdf/result-pdf.blade.php b/resources/views/pdf/result-pdf.blade.php old mode 100644 new mode 100755 diff --git a/resources/views/profile/change-password.blade.php b/resources/views/profile/change-password.blade.php old mode 100644 new mode 100755 diff --git a/resources/views/profile/edit.blade.php b/resources/views/profile/edit.blade.php old mode 100644 new mode 100755 diff --git a/resources/views/profile/impersonate.blade.php b/resources/views/profile/impersonate.blade.php old mode 100644 new mode 100755 diff --git a/resources/views/profile/section-students.blade.php b/resources/views/profile/section-students.blade.php old mode 100644 new mode 100755 diff --git a/resources/views/profile/user.blade.php b/resources/views/profile/user.blade.php old mode 100644 new mode 100755 diff --git a/resources/views/routines/create.blade.php b/resources/views/routines/create.blade.php old mode 100644 new mode 100755 diff --git a/resources/views/school/admin-list.blade.php b/resources/views/school/admin-list.blade.php old mode 100644 new mode 100755 diff --git a/resources/views/school/promote-students.blade.php b/resources/views/school/promote-students.blade.php old mode 100644 new mode 100755 diff --git a/resources/views/school/sections.blade.php b/resources/views/school/sections.blade.php old mode 100644 new mode 100755 diff --git a/resources/views/schools/edit.blade.php b/resources/views/schools/edit.blade.php old mode 100644 new mode 100755 diff --git a/resources/views/schools/form.blade.php b/resources/views/schools/form.blade.php old mode 100644 new mode 100755 diff --git a/resources/views/schools/index.blade.php b/resources/views/schools/index.blade.php old mode 100644 new mode 100755 diff --git a/resources/views/settings/index.blade.php b/resources/views/settings/index.blade.php old mode 100644 new mode 100755 diff --git a/resources/views/stripe/payment.blade.php b/resources/views/stripe/payment.blade.php old mode 100644 new mode 100755 diff --git a/resources/views/stripe/receipts.blade.php b/resources/views/stripe/receipts.blade.php old mode 100644 new mode 100755 diff --git a/resources/views/syllabus/course-syllabus.blade.php b/resources/views/syllabus/course-syllabus.blade.php old mode 100644 new mode 100755 diff --git a/resources/views/welcome.blade.php b/resources/views/welcome.blade.php old mode 100644 new mode 100755 diff --git a/routes/api.php b/routes/api.php old mode 100644 new mode 100755 diff --git a/routes/channels.php b/routes/channels.php old mode 100644 new mode 100755 diff --git a/routes/console.php b/routes/console.php old mode 100644 new mode 100755 diff --git a/routes/web.php b/routes/web.php old mode 100644 new mode 100755 diff --git a/server.php b/server.php old mode 100644 new mode 100755 diff --git a/storage/app/.gitignore b/storage/app/.gitignore old mode 100644 new mode 100755 diff --git a/storage/app/public/.gitignore b/storage/app/public/.gitignore old mode 100644 new mode 100755 diff --git a/storage/debugbar/.gitignore b/storage/debugbar/.gitignore old mode 100644 new mode 100755 diff --git a/storage/framework/.gitignore b/storage/framework/.gitignore old mode 100644 new mode 100755 diff --git a/storage/framework/cache/.gitignore b/storage/framework/cache/.gitignore old mode 100644 new mode 100755 diff --git a/storage/framework/sessions/.gitignore b/storage/framework/sessions/.gitignore old mode 100644 new mode 100755 diff --git a/storage/framework/testing/.gitignore b/storage/framework/testing/.gitignore old mode 100644 new mode 100755 diff --git a/storage/framework/views/.gitignore b/storage/framework/views/.gitignore old mode 100644 new mode 100755 diff --git a/storage/logs/.gitignore b/storage/logs/.gitignore old mode 100644 new mode 100755 diff --git a/tests/Browser/AdminUserManagesAcademicSettingsTest.php b/tests/Browser/AdminUserManagesAcademicSettingsTest.php old mode 100644 new mode 100755 diff --git a/tests/Browser/ExampleTest.php b/tests/Browser/ExampleTest.php old mode 100644 new mode 100755 diff --git a/tests/Browser/LoginTest.php b/tests/Browser/LoginTest.php old mode 100644 new mode 100755 diff --git a/tests/Browser/MasterUserManagesSchoolsTest.php b/tests/Browser/MasterUserManagesSchoolsTest.php old mode 100644 new mode 100755 diff --git a/tests/Browser/Pages/HomePage.php b/tests/Browser/Pages/HomePage.php old mode 100644 new mode 100755 diff --git a/tests/Browser/Pages/MasterPage.php b/tests/Browser/Pages/MasterPage.php old mode 100644 new mode 100755 diff --git a/tests/Browser/Pages/Page.php b/tests/Browser/Pages/Page.php old mode 100644 new mode 100755 diff --git a/tests/Browser/Pages/SchoolPage.php b/tests/Browser/Pages/SchoolPage.php old mode 100644 new mode 100755 diff --git a/tests/Browser/Pages/SettingPage.php b/tests/Browser/Pages/SettingPage.php old mode 100644 new mode 100755 diff --git a/tests/Browser/console/.gitignore b/tests/Browser/console/.gitignore old mode 100644 new mode 100755 diff --git a/tests/Browser/screenshots/.gitignore b/tests/Browser/screenshots/.gitignore old mode 100644 new mode 100755 diff --git a/tests/CreatesApplication.php b/tests/CreatesApplication.php old mode 100644 new mode 100755 diff --git a/tests/DuskTestCase.php b/tests/DuskTestCase.php old mode 100644 new mode 100755 diff --git a/tests/Feature/AccountingModuleTest.php b/tests/Feature/AccountingModuleTest.php old mode 100644 new mode 100755 diff --git a/tests/Feature/AttendanceModuleTest.php b/tests/Feature/AttendanceModuleTest.php old mode 100644 new mode 100755 diff --git a/tests/Feature/Auth/RegisterLoginTest.php b/tests/Feature/Auth/RegisterLoginTest.php old mode 100644 new mode 100755 diff --git a/tests/Feature/CertificateTest.php b/tests/Feature/CertificateTest.php old mode 100644 new mode 100755 diff --git a/tests/Feature/CourseModuleTest.php b/tests/Feature/CourseModuleTest.php old mode 100644 new mode 100755 diff --git a/tests/Feature/ExampleTest.php b/tests/Feature/ExampleTest.php old mode 100644 new mode 100755 diff --git a/tests/Feature/GradeModuleTest.php b/tests/Feature/GradeModuleTest.php old mode 100644 new mode 100755 diff --git a/tests/Feature/GradeSystemModuleTest.php b/tests/Feature/GradeSystemModuleTest.php old mode 100644 new mode 100755 diff --git a/tests/Feature/LibrarianTest.php b/tests/Feature/LibrarianTest.php old mode 100644 new mode 100755 diff --git a/tests/Feature/Library/BookModuleTest.php b/tests/Feature/Library/BookModuleTest.php old mode 100644 new mode 100755 diff --git a/tests/Feature/Library/IssuedBookModuleTest.php b/tests/Feature/Library/IssuedBookModuleTest.php old mode 100644 new mode 100755 diff --git a/tests/Feature/Manage/ClassModuleTest.php b/tests/Feature/Manage/ClassModuleTest.php old mode 100644 new mode 100755 diff --git a/tests/Feature/Manage/CourseModuleTest.php b/tests/Feature/Manage/CourseModuleTest.php old mode 100644 new mode 100755 diff --git a/tests/Feature/Manage/ExamModuleTest.php b/tests/Feature/Manage/ExamModuleTest.php old mode 100644 new mode 100755 diff --git a/tests/Feature/Manage/SchoolModuleTest.php b/tests/Feature/Manage/SchoolModuleTest.php old mode 100644 new mode 100755 diff --git a/tests/Feature/Manage/SectionModuleTest.php b/tests/Feature/Manage/SectionModuleTest.php old mode 100644 new mode 100755 diff --git a/tests/Feature/Manage/SettingModuleTest.php b/tests/Feature/Manage/SettingModuleTest.php old mode 100644 new mode 100755 diff --git a/tests/Feature/PaymentModuleTest.php b/tests/Feature/PaymentModuleTest.php old mode 100644 new mode 100755 diff --git a/tests/Feature/UserModuleTest.php b/tests/Feature/UserModuleTest.php old mode 100644 new mode 100755 diff --git a/tests/Feature/UsersExcelExportTest.php b/tests/Feature/UsersExcelExportTest.php old mode 100644 new mode 100755 diff --git a/tests/TestCase.php b/tests/TestCase.php old mode 100644 new mode 100755 diff --git a/tests/Unit/App/AccountTest.php b/tests/Unit/App/AccountTest.php old mode 100644 new mode 100755 diff --git a/tests/Unit/App/AttendanceTest.php b/tests/Unit/App/AttendanceTest.php old mode 100644 new mode 100755 diff --git a/tests/Unit/App/BookTest.php b/tests/Unit/App/BookTest.php old mode 100644 new mode 100755 diff --git a/tests/Unit/App/DepartmentTest.php b/tests/Unit/App/DepartmentTest.php old mode 100644 new mode 100755 diff --git a/tests/Unit/App/EventTest.php b/tests/Unit/App/EventTest.php old mode 100644 new mode 100755 diff --git a/tests/Unit/App/ExamTest.php b/tests/Unit/App/ExamTest.php old mode 100644 new mode 100755 diff --git a/tests/Unit/App/FeeTest.php b/tests/Unit/App/FeeTest.php old mode 100644 new mode 100755 diff --git a/tests/Unit/App/FormTest.php b/tests/Unit/App/FormTest.php old mode 100644 new mode 100755 diff --git a/tests/Unit/App/GradeTest.php b/tests/Unit/App/GradeTest.php old mode 100644 new mode 100755 diff --git a/tests/Unit/App/GradesystemTest.php b/tests/Unit/App/GradesystemTest.php old mode 100644 new mode 100755 diff --git a/tests/Unit/App/IssuedBookTest.php b/tests/Unit/App/IssuedBookTest.php old mode 100644 new mode 100755 diff --git a/tests/Unit/App/MessageTest.php b/tests/Unit/App/MessageTest.php old mode 100644 new mode 100755 diff --git a/tests/Unit/App/MyclassTest.php b/tests/Unit/App/MyclassTest.php old mode 100644 new mode 100755 diff --git a/tests/Unit/App/NoticeTest.php b/tests/Unit/App/NoticeTest.php old mode 100644 new mode 100755 diff --git a/tests/Unit/App/RoutineTest.php b/tests/Unit/App/RoutineTest.php old mode 100644 new mode 100755 diff --git a/tests/Unit/App/SchoolTest.php b/tests/Unit/App/SchoolTest.php old mode 100644 new mode 100755 diff --git a/tests/Unit/App/SectionTest.php b/tests/Unit/App/SectionTest.php old mode 100644 new mode 100755 diff --git a/tests/Unit/App/SyllabusTest.php b/tests/Unit/App/SyllabusTest.php old mode 100644 new mode 100755 diff --git a/tests/Unit/App/UsersTest.php b/tests/Unit/App/UsersTest.php old mode 100644 new mode 100755 diff --git a/tests/Unit/ExampleTest.php b/tests/Unit/ExampleTest.php old mode 100644 new mode 100755 diff --git a/tests/Unit/IssuedBookTest.php b/tests/Unit/IssuedBookTest.php old mode 100644 new mode 100755 diff --git a/tests/Unit/MarkCalculationTest.php b/tests/Unit/MarkCalculationTest.php old mode 100644 new mode 100755 diff --git a/tests/utilities/functions.php b/tests/utilities/functions.php old mode 100644 new mode 100755 diff --git a/webpack.mix.js b/webpack.mix.js old mode 100644 new mode 100755