From e0284412a0dc95a469e29152a539714786ec7402 Mon Sep 17 00:00:00 2001 From: Yogi Perdana Date: Wed, 1 Nov 2023 12:11:33 +0700 Subject: [PATCH] Rilis 2311 (#914) Co-authored-by: Syahran Saputra Co-authored-by: yogiperdana Co-authored-by: sarwono Co-authored-by: Afila Co-authored-by: sarwono <68048807+scqolbu24@users.noreply.github.com> Co-authored-by: Suyadi Co-authored-by: apidong Co-authored-by: Andi Fahruddin Akas Co-authored-by: andifahruddinakas Co-authored-by: vickyrolanda Co-authored-by: ahmad afandi Co-authored-by: Agung Sugiarto Co-authored-by: agungsugiarto Co-authored-by: Toto Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- .env.example | 2 +- .gitattributes | 0 .gitignore | 1 - .htaccess | 0 app/Console/Kernel.php | 0 app/Facades/Counter.php | 0 app/Helpers/Counter.php | 0 .../Auth/ChangeDefaultController.php | 2 +- .../Auth/ForgotPasswordController.php | 0 app/Http/Controllers/Auth/LoginController.php | 0 .../Controllers/Auth/RegisterController.php | 0 .../Auth/ResetPasswordController.php | 0 app/Http/Controllers/Controller.php | 16 +- .../Controllers/Counter/CounterController.php | 0 .../Data/AdminKomplainController.php | 0 .../Data/AnggaranDesaController.php | 0 .../Data/AnggaranRealisasiController.php | 0 .../Controllers/Data/DataDesaController.php | 0 .../Controllers/Data/KeluargaController.php | 0 app/Http/Controllers/Helpers/Parsedown.php | 1535 +++++++++++++++++ .../Informasi/FormDokumenController.php | 0 app/Http/Controllers/LogViewerController.php | 8 + app/Http/Controllers/Role/RoleController.php | 0 .../Controllers/Setting/COAController.php | 0 .../Setting/JenisPenyakitController.php | 0 .../Setting/KategoriKomplainController.php | 0 .../Setting/TipePotensiController.php | 0 .../Setting/TipeRegulasiController.php | 0 .../SistemKomplainController.php | 0 app/Http/Controllers/User/UserController.php | 0 app/Http/Kernel.php | 10 +- app/Http/Middleware/CompleteProfile.php | 54 + app/Http/Middleware/CustomForms.php | 0 app/Http/Middleware/EncryptCookies.php | 0 app/Http/Middleware/KDInstalled.php | 0 app/Http/Middleware/MaintenanceMode.php | 57 + .../Middleware/RedirectIfAuthenticated.php | 0 app/Http/Middleware/SecurityHeaders.php | 2 +- app/Http/Middleware/TrimStrings.php | 0 app/Http/Middleware/TrustProxies.php | 0 app/Http/Middleware/VerifyCsrfToken.php | 0 app/Http/Middleware/XssSanitization.php | 2 +- app/Http/Requests/ChangeRequest.php | 3 +- app/Http/Requests/RoleRequest.php | 0 app/Http/Requests/UserRequest.php | 13 +- app/Models/Agama.php | 0 app/Models/AkiAkb.php | 0 app/Models/AnggaranDesa.php | 0 app/Models/AnggaranRealisasi.php | 0 app/Models/Artikel.php | 5 + app/Models/Cacat.php | 0 app/Models/CaraKB.php | 0 app/Models/Coa.php | 0 app/Models/CoaType.php | 0 app/Models/CounterPage.php | 0 app/Models/CounterVisitor.php | 0 app/Models/DataDesa.php | 1 + app/Models/DataUmum.php | 0 app/Models/EpidemiPenyakit.php | 0 app/Models/Event.php | 0 app/Models/Faq.php | 0 app/Models/FasilitasPAUD.php | 0 app/Models/FormDokumen.php | 0 app/Models/GolonganDarah.php | 0 app/Models/HubunganKeluarga.php | 0 app/Models/Imunisasi.php | 0 app/Models/JawabKomplain.php | 0 app/Models/JenisPenyakit.php | 0 app/Models/KategoriKomplain.php | 0 app/Models/Kawin.php | 0 app/Models/Keluarga.php | 0 app/Models/Komplain.php | 0 app/Models/LogImport.php | 0 app/Models/Menu.php | 0 app/Models/Pekerjaan.php | 0 app/Models/Pendidikan.php | 0 app/Models/PendidikanKK.php | 0 app/Models/Penduduk.php | 0 app/Models/PesertaProgram.php | 0 app/Models/Potensi.php | 0 app/Models/Profil.php | 0 app/Models/Program.php | 0 app/Models/Prosedur.php | 0 app/Models/PutusSekolah.php | 0 app/Models/Regulasi.php | 0 app/Models/SakitMenahun.php | 0 app/Models/SubCoa.php | 0 app/Models/SubSubCoa.php | 0 app/Models/TingkatPendidikan.php | 0 app/Models/TipePotensi.php | 0 app/Models/TipeRegulasi.php | 0 app/Models/ToiletSanitasi.php | 0 app/Models/Umur.php | 0 app/Models/User.php | 0 app/Models/Warganegara.php | 0 app/Models/WilClusterDesa.php | 0 app/Providers/AppServiceProvider.php | 0 app/Providers/AuthServiceProvider.php | 0 app/Providers/BroadcastServiceProvider.php | 0 app/Providers/EventServiceProvider.php | 0 app/Providers/KDServiceProvider.php | 0 app/Providers/RouteServiceProvider.php | 0 app/Rules/Password.php | 2 +- artisan | 0 bootstrap/app.php | 0 bootstrap/cache/.gitignore | 0 catatan_rilis.md | 45 +- config/app.php | 2 +- config/auth.php | 0 config/broadcasting.php | 0 config/cache.php | 0 config/captcha.php | 0 config/database.php | 0 config/excel.php | 0 config/filesystems.php | 0 config/installer.php | 0 config/jsvalidation.php | 0 config/mail.php | 0 config/queue.php | 0 config/services.php | 0 config/session.php | 0 config/sluggable.php | 0 config/view.php | 0 database/.gitignore | 0 database/factories/UserFactory.php | 0 database/migrations/.gitkeep | 0 ...02_230147_migration_cartalyst_sentinel.php | 0 .../2017_10_31_165346_create_menus_tables.php | 0 ...018_01_19_231052_create_prosedur_table.php | 0 .../2018_01_21_194204_create_faq_table.php | 0 .../2018_01_22_113639_create_events_table.php | 0 ...018_01_24_183803_create_regulasi_table.php | 0 ...18_01_27_084715_create_kecamatan_table.php | 0 ...018_01_27_084807_create_provinsi_table.php | 0 ...18_01_27_084828_create_kabupaten_table.php | 0 .../2018_01_27_091024_create_desa_table.php | 0 ...2018_01_27_143943_create_profils_table.php | 0 ...18_02_01_083021_create_data_umum_table.php | 0 ...018_02_07_041730_create_penduduk_table.php | 0 ...18_02_07_044425_create_pekerjaan_table.php | 0 .../2018_02_07_061956_create_agama_table.php | 0 .../2018_02_07_081809_create_kawin_table.php | 0 ..._120658_create_hubungan_keluarga_table.php | 0 ...2_07_132847_create_pendidikan_kk_table.php | 0 ...8_02_07_132956_create_pendidikan_table.php | 0 ..._02_07_141701_create_warganegara_table.php | 0 ..._07_161046_create_golongan_darah_table.php | 0 .../2018_02_07_161652_create_cacat_table.php | 0 ...2_07_162450_create_sakit_menahun_table.php | 0 ...2018_02_07_163236_create_cara_kb_table.php | 0 ..._02_11_173433_create_proses_ektp_table.php | 0 ...18_02_13_043336_create_proses_kk_table.php | 0 ..._065923_create_proses_akta_lahir_table.php | 0 ...13_111006_create_proses_domisili_table.php | 0 ...018_02_27_030954_create_keluarga_table.php | 0 ...27_033644_create_wil_clusterdesa_table.php | 0 .../2018_02_28_094700_create_umur_table.php | 0 ...018_04_11_164146_create_komplain_table.php | 0 ..._131534_create_kategori_komplain_table.php | 0 ...4_25_183835_create_tipe_regulasi_table.php | 0 ...04_28_053520_create_counter_page_table.php | 0 ...28_053738_create_counter_visitor_table.php | 0 ..._28_053847_create_counter_page_visitor.php | 0 ...05_03_101258_create_form_dokumen_table.php | 0 ...18_05_04_232147_create_data_desa_table.php | 0 .../2018_05_10_054617_create_akib_table.php | 0 ...18_05_10_125321_create_imunisasi_table.php | 0 ...018_05_10_192220_create_penyakit_table.php | 0 ...1_045417_create_epidemi_penyakit_table.php | 0 ...11_062834_create_toilet_sanitasi_table.php | 0 ...175503_create_tingkat_pendidikan_table.php | 0 ...5_15_180306_create_failitas_paud_table.php | 0 ..._22_154137_create_jawab_komplain_table.php | 0 ...018_05_23_002258_create_coa_type_table.php | 0 ...2018_05_23_002514_create_sub_coa_table.php | 0 ..._05_23_002657_create_sub_sub_coa_table.php | 0 .../2018_05_23_002747_create_coa_table.php | 0 ...5_29_145439_create_putus_sekolah_table.php | 0 ...2018_05_31_094821_create_potensi_table.php | 0 ...021440_create_anggaran_realisasi_table.php | 0 ...6_01_221500_create_anggaran_desa_table.php | 0 ...06_04_042538_create_log_penduduk_table.php | 0 ...2018_06_05_013340_create_program_table.php | 0 ...05_014323_create_peserta_program_table.php | 0 ...7_07_143736_create_tipe_potensis_table.php | 0 ..._07_12_020005_create_log_imports_table.php | 0 .../2023_10_19_154602_maintenance_mode.php | 65 + database/seeds/DasDataUmumTableSeeder.php | 0 .../seeds/DasKategoriKomplainTableSeeder.php | 0 database/seeds/DasMenuTableSeeder.php | 0 database/seeds/DasTipeRegulasiTableSeeder.php | 0 database/seeds/DatabaseSeeder.php | 0 database/seeds/Demo/DemoSliderSeeder.php | 71 + database/seeds/DemoDatabaseSeeder.php | 2 + database/seeds/RefAgamaTableSeeder.php | 0 database/seeds/RefCacatTableSeeder.php | 0 database/seeds/RefCaraKbTableSeeder.php | 0 database/seeds/RefCoaTableSeeder.php | 0 database/seeds/RefCoaTypeTableSeeder.php | 0 .../seeds/RefGolonganDarahTableSeeder.php | 0 .../seeds/RefHubunganKeluargaTableSeeder.php | 0 database/seeds/RefKawinTableSeeder.php | 0 database/seeds/RefPekerjaanTableSeeder.php | 0 database/seeds/RefPendidikanKkTableSeeder.php | 0 database/seeds/RefPendidikanTableSeeder.php | 0 database/seeds/RefPenyakitTableSeeder.php | 0 database/seeds/RefSakitMenahunTableSeeder.php | 0 database/seeds/RefSubCoaTableSeeder.php | 0 database/seeds/RefSubSubCoaTableSeeder.php | 0 database/seeds/RefUmurTableSeeder.php | 0 database/seeds/RefWarganegaraTableSeeder.php | 0 helpers/general_helper.php | 13 + package-lock.json | 6 +- phpunit.xml | 0 public/.htaccess | 0 public/css/admin-style.css | 22 + 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 resources/lang/ar/installer_messages.php | 0 resources/lang/de/installer_messages.php | 0 resources/lang/en/auth.php | 0 resources/lang/en/installer_messages.php | 0 resources/lang/en/pagination.php | 0 resources/lang/en/passwords.php | 0 resources/lang/en/validation.php | 0 resources/lang/es/installer_messages.php | 0 resources/lang/et/installer_messages.php | 0 resources/lang/fa/installer_messages.php | 0 resources/lang/fr/installer_messages.php | 0 resources/lang/gr/installer_messages.php | 0 resources/lang/id/installer_messages.php | 0 resources/lang/it/installer_messages.php | 0 resources/lang/nl/installer_messages.php | 0 resources/lang/pl/installer_messages.php | 0 resources/lang/pt-br/installer_messages.php | 0 resources/lang/pt/installer_messages.php | 0 resources/lang/ro/installer_messages.php | 0 resources/lang/ru/installer_messages.php | 0 resources/lang/tr/installer_messages.php | 0 resources/lang/zh-CN/installer_messages.php | 0 resources/lang/zh-TW/installer_messages.php | 0 resources/views/auth/change.blade.php | 22 +- .../views/auth/emails/activate.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/counter/index.blade.php | 0 resources/views/data/aki_akb/edit.blade.php | 0 .../views/data/aki_akb/form_edit.blade.php | 0 resources/views/data/aki_akb/import.blade.php | 0 resources/views/data/aki_akb/index.blade.php | 0 .../views/data/anggaran_desa/import.blade.php | 0 .../views/data/anggaran_desa/index.blade.php | 0 .../data/anggaran_realisasi/edit.blade.php | 0 .../anggaran_realisasi/form_edit.blade.php | 0 .../data/anggaran_realisasi/import.blade.php | 0 .../data/anggaran_realisasi/index.blade.php | 0 .../views/data/data_desa/create.blade.php | 0 resources/views/data/data_desa/edit.blade.php | 0 .../data/data_desa/form_create.blade.php | 7 + .../views/data/data_desa/form_edit.blade.php | 7 + .../data/epidemi_penyakit/edit.blade.php | 0 .../data/epidemi_penyakit/form_edit.blade.php | 0 .../data/epidemi_penyakit/import.blade.php | 0 .../data/epidemi_penyakit/index.blade.php | 0 .../views/data/fasilitas_paud/edit.blade.php | 0 .../data/fasilitas_paud/form_edit.blade.php | 0 .../data/fasilitas_paud/import.blade.php | 0 .../views/data/fasilitas_paud/index.blade.php | 0 resources/views/data/imunisasi/edit.blade.php | 0 .../views/data/imunisasi/form_edit.blade.php | 0 .../views/data/imunisasi/import.blade.php | 0 .../views/data/imunisasi/index.blade.php | 0 .../views/data/keluarga/form_show.blade.php | 0 resources/views/data/keluarga/index.blade.php | 0 resources/views/data/keluarga/show.blade.php | 0 .../views/data/penduduk/form_show.blade.php | 0 .../views/data/penduduk/import.blade.php | 0 resources/views/data/penduduk/show.blade.php | 0 resources/views/data/profil/edit.blade.php | 7 + .../views/data/profil/save_success.blade.php | 0 .../views/data/putus_sekolah/edit.blade.php | 0 .../data/putus_sekolah/form_edit.blade.php | 0 .../views/data/putus_sekolah/import.blade.php | 0 .../views/data/putus_sekolah/index.blade.php | 0 .../data/tingkat_pendidikan/edit.blade.php | 0 .../tingkat_pendidikan/form_edit.blade.php | 0 .../data/tingkat_pendidikan/import.blade.php | 0 .../data/tingkat_pendidikan/index.blade.php | 0 .../views/data/toilet_sanitasi/edit.blade.php | 0 .../data/toilet_sanitasi/form_edit.blade.php | 0 .../data/toilet_sanitasi/import.blade.php | 0 .../data/toilet_sanitasi/index.blade.php | 0 resources/views/errors/503.blade.php | 21 +- .../views/forms/action_message.blade.php | 0 resources/views/forms/active-modal.blade.php | 0 resources/views/forms/agree-modal.blade.php | 0 .../views/forms/datatable-vertical.blade.php | 0 resources/views/forms/delete-modal.blade.php | 0 resources/views/forms/import-modal.blade.php | 0 resources/views/forms/suspend-modal.blade.php | 0 .../views/informasi/artikel/_form.blade.php | 2 - .../views/informasi/event/edit.blade.php | 0 .../informasi/event/form_create.blade.php | 0 .../views/informasi/event/form_edit.blade.php | 0 .../views/informasi/event/index.blade.php | 0 .../views/informasi/faq/create.blade.php | 0 resources/views/informasi/faq/edit.blade.php | 0 resources/views/informasi/faq/form.blade.php | 0 resources/views/informasi/faq/index.blade.php | 0 .../informasi/form_dokumen/create.blade.php | 0 .../informasi/form_dokumen/edit.blade.php | 0 .../form_dokumen/form_create.blade.php | 0 .../form_dokumen/form_edit.blade.php | 0 .../informasi/form_dokumen/index.blade.php | 0 resources/views/informasi/kalender.blade.php | 0 resources/views/informasi/kontak.blade.php | 0 resources/views/informasi/potensi.blade.php | 0 .../views/informasi/potensi/create.blade.php | 0 .../views/informasi/potensi/edit.blade.php | 0 .../informasi/potensi/form_create.blade.php | 0 .../informasi/potensi/form_edit.blade.php | 0 .../views/informasi/potensi/index.blade.php | 0 .../views/informasi/potensi/show.blade.php | 0 .../views/informasi/prosedur/create.blade.php | 0 .../views/informasi/prosedur/edit.blade.php | 0 .../informasi/prosedur/form_create.blade.php | 0 .../informasi/prosedur/form_edit.blade.php | 0 .../views/informasi/prosedur/index.blade.php | 0 .../views/informasi/prosedur/show.blade.php | 0 .../views/informasi/regulasi/create.blade.php | 0 .../views/informasi/regulasi/edit.blade.php | 0 .../informasi/regulasi/form_create.blade.php | 0 .../informasi/regulasi/form_update.blade.php | 0 .../views/informasi/regulasi/index.blade.php | 0 .../views/informasi/regulasi/show.blade.php | 0 .../layouts/dashboard_template.blade.php | 0 .../fragments/control_sidebar.blade.php | 19 +- .../views/layouts/fragments/footer.blade.php | 0 .../views/layouts/fragments/header.blade.php | 0 .../views/layouts/frontends/slider.blade.php | 2 +- .../views/partials/asset_amcharts.blade.php | 0 .../views/partials/asset_datatables.blade.php | 0 .../partials/asset_datetimepicker.blade.php | 0 .../views/partials/asset_fancybox.blade.php | 0 .../views/partials/asset_select2.blade.php | 0 .../partials/asset_upload_images.blade.php | 0 .../views/partials/flash_message.blade.php | 7 - resources/views/role/create.blade.php | 0 resources/views/role/edit.blade.php | 0 resources/views/role/form.blade.php | 0 resources/views/role/index.blade.php | 0 .../views/setting/aplikasi/form.blade.php | 2 + .../views/setting/aplikasi/index.blade.php | 8 +- resources/views/setting/coa/create.blade.php | 0 resources/views/setting/coa/form.blade.php | 0 resources/views/setting/coa/index.blade.php | 0 .../setting/jenis_penyakit/create.blade.php | 0 .../setting/jenis_penyakit/edit.blade.php | 0 .../setting/jenis_penyakit/form.blade.php | 0 .../setting/jenis_penyakit/index.blade.php | 0 .../komplain_kategori/create.blade.php | 0 .../setting/komplain_kategori/edit.blade.php | 0 .../setting/komplain_kategori/form.blade.php | 0 .../setting/komplain_kategori/index.blade.php | 0 resources/views/setting/slide/form.blade.php | 2 +- .../setting/tipe_potensi/create.blade.php | 0 .../views/setting/tipe_potensi/edit.blade.php | 0 .../views/setting/tipe_potensi/form.blade.php | 0 .../setting/tipe_potensi/index.blade.php | 0 .../setting/tipe_regulasi/create.blade.php | 0 .../setting/tipe_regulasi/edit.blade.php | 0 .../setting/tipe_regulasi/form.blade.php | 0 .../setting/tipe_regulasi/index.blade.php | 0 .../admin_komplain/edit.blade.php | 0 .../admin_komplain/index.blade.php | 0 .../admin_komplain/statistik.blade.php | 0 .../komplain/_komplain_populer.blade.php | 0 .../komplain/_komplain_sukses.blade.php | 0 .../komplain/_tracking.blade.php | 0 .../sistem_komplain/komplain/edit.blade.php | 0 .../sistem_komplain/komplain/index.blade.php | 0 .../komplain/jawabans.blade.php | 0 .../sistem_komplain/komplain/kirim.blade.php | 0 .../sistem_komplain/komplain/show.blade.php | 0 resources/views/sitemap/index.blade.php | 71 +- resources/views/sitemap/prosedur.blade.php | 2 +- resources/views/user/create.blade.php | 0 resources/views/user/edit.blade.php | 0 resources/views/user/form.blade.php | 0 resources/views/user/index.blade.php | 0 resources/views/user/password.blade.php | 0 resources/views/user/show.blade.php | 0 .../installer/environment-classic.blade.php | 0 .../installer/environment-wizard.blade.php | 0 .../vendor/installer/environment.blade.php | 0 .../views/vendor/installer/finished.blade.php | 0 .../installer/layouts/master-update.blade.php | 0 .../vendor/installer/layouts/master.blade.php | 0 .../vendor/installer/permissions.blade.php | 0 .../vendor/installer/requirements.blade.php | 0 .../installer/update/finished.blade.php | 0 .../installer/update/overview.blade.php | 0 .../vendor/installer/update/welcome.blade.php | 0 .../views/vendor/installer/welcome.blade.php | 0 .../laravel-log-viewer/info-sistem.blade.php | 148 +- .../kebutuhan-sistem.blade.php | 3 + resources/views/welcome.blade.php | 0 routes/channels.php | 0 routes/console.php | 0 routes/web.php | 209 +-- server.php | 0 storage/app/.gitignore | 0 storage/app/public/.gitignore | 0 .../Format_Upload_AKI_&_AKB.xlsx | Bin .../template_upload/Format_Upload_APBDes.xlsx | Bin .../Format_Upload_Anggaran_Realisasi.xlsx | Bin .../Format_Upload_Cakupan_Imunisasi.xlsx | Bin .../Format_Upload_Epidemi_Penyakit.xlsx | Bin .../Format_Upload_Putus_Sekolah.xlsx | Bin .../Format_Upload_Tingkat_Pendidikan.xlsx | Bin .../Format_Upload_Toilet_&_Sanitasi.xlsx | Bin .../Panduan_Pengguna_Kecamatan_Dashboard.pdf | Bin storage/framework/.gitignore | 0 storage/framework/cache/.gitignore | 0 storage/framework/laravel-excel/.gitignore | 2 + storage/framework/sessions/.gitignore | 0 storage/framework/testing/.gitignore | 0 storage/framework/views/.gitignore | 0 storage/logs/.gitignore | 0 tests/CreatesApplication.php | 0 tests/Feature/ExampleTest.php | 0 tests/TestCase.php | 0 tests/Unit/ExampleTest.php | 0 webpack.mix.js | 0 438 files changed, 2157 insertions(+), 323 deletions(-) mode change 100755 => 100644 .gitattributes mode change 100755 => 100644 .gitignore mode change 100755 => 100644 .htaccess mode change 100755 => 100644 app/Console/Kernel.php mode change 100755 => 100644 app/Facades/Counter.php mode change 100755 => 100644 app/Helpers/Counter.php mode change 100755 => 100644 app/Http/Controllers/Auth/ForgotPasswordController.php mode change 100755 => 100644 app/Http/Controllers/Auth/LoginController.php mode change 100755 => 100644 app/Http/Controllers/Auth/RegisterController.php mode change 100755 => 100644 app/Http/Controllers/Auth/ResetPasswordController.php mode change 100755 => 100644 app/Http/Controllers/Counter/CounterController.php mode change 100755 => 100644 app/Http/Controllers/Data/AdminKomplainController.php mode change 100755 => 100644 app/Http/Controllers/Data/AnggaranDesaController.php mode change 100755 => 100644 app/Http/Controllers/Data/AnggaranRealisasiController.php mode change 100755 => 100644 app/Http/Controllers/Data/DataDesaController.php mode change 100755 => 100644 app/Http/Controllers/Data/KeluargaController.php create mode 100644 app/Http/Controllers/Helpers/Parsedown.php mode change 100755 => 100644 app/Http/Controllers/Informasi/FormDokumenController.php mode change 100755 => 100644 app/Http/Controllers/Role/RoleController.php mode change 100755 => 100644 app/Http/Controllers/Setting/COAController.php mode change 100755 => 100644 app/Http/Controllers/Setting/JenisPenyakitController.php mode change 100755 => 100644 app/Http/Controllers/Setting/KategoriKomplainController.php mode change 100755 => 100644 app/Http/Controllers/Setting/TipePotensiController.php mode change 100755 => 100644 app/Http/Controllers/Setting/TipeRegulasiController.php mode change 100755 => 100644 app/Http/Controllers/SistemKomplain/SistemKomplainController.php mode change 100755 => 100644 app/Http/Controllers/User/UserController.php mode change 100755 => 100644 app/Http/Kernel.php create mode 100644 app/Http/Middleware/CompleteProfile.php mode change 100755 => 100644 app/Http/Middleware/CustomForms.php mode change 100755 => 100644 app/Http/Middleware/EncryptCookies.php mode change 100755 => 100644 app/Http/Middleware/KDInstalled.php create mode 100644 app/Http/Middleware/MaintenanceMode.php mode change 100755 => 100644 app/Http/Middleware/RedirectIfAuthenticated.php mode change 100755 => 100644 app/Http/Middleware/TrimStrings.php mode change 100755 => 100644 app/Http/Middleware/TrustProxies.php mode change 100755 => 100644 app/Http/Middleware/VerifyCsrfToken.php mode change 100755 => 100644 app/Http/Requests/RoleRequest.php mode change 100755 => 100644 app/Http/Requests/UserRequest.php mode change 100755 => 100644 app/Models/Agama.php mode change 100755 => 100644 app/Models/AkiAkb.php mode change 100755 => 100644 app/Models/AnggaranDesa.php mode change 100755 => 100644 app/Models/AnggaranRealisasi.php mode change 100755 => 100644 app/Models/Cacat.php mode change 100755 => 100644 app/Models/CaraKB.php mode change 100755 => 100644 app/Models/Coa.php mode change 100755 => 100644 app/Models/CoaType.php mode change 100755 => 100644 app/Models/CounterPage.php mode change 100755 => 100644 app/Models/CounterVisitor.php mode change 100755 => 100644 app/Models/DataDesa.php mode change 100755 => 100644 app/Models/DataUmum.php mode change 100755 => 100644 app/Models/EpidemiPenyakit.php mode change 100755 => 100644 app/Models/Event.php mode change 100755 => 100644 app/Models/Faq.php mode change 100755 => 100644 app/Models/FasilitasPAUD.php mode change 100755 => 100644 app/Models/FormDokumen.php mode change 100755 => 100644 app/Models/GolonganDarah.php mode change 100755 => 100644 app/Models/HubunganKeluarga.php mode change 100755 => 100644 app/Models/Imunisasi.php mode change 100755 => 100644 app/Models/JawabKomplain.php mode change 100755 => 100644 app/Models/JenisPenyakit.php mode change 100755 => 100644 app/Models/KategoriKomplain.php mode change 100755 => 100644 app/Models/Kawin.php mode change 100755 => 100644 app/Models/Keluarga.php mode change 100755 => 100644 app/Models/Komplain.php mode change 100755 => 100644 app/Models/LogImport.php mode change 100755 => 100644 app/Models/Menu.php mode change 100755 => 100644 app/Models/Pekerjaan.php mode change 100755 => 100644 app/Models/Pendidikan.php mode change 100755 => 100644 app/Models/PendidikanKK.php mode change 100755 => 100644 app/Models/Penduduk.php mode change 100755 => 100644 app/Models/PesertaProgram.php mode change 100755 => 100644 app/Models/Potensi.php mode change 100755 => 100644 app/Models/Profil.php mode change 100755 => 100644 app/Models/Program.php mode change 100755 => 100644 app/Models/Prosedur.php mode change 100755 => 100644 app/Models/PutusSekolah.php mode change 100755 => 100644 app/Models/Regulasi.php mode change 100755 => 100644 app/Models/SakitMenahun.php mode change 100755 => 100644 app/Models/SubCoa.php mode change 100755 => 100644 app/Models/SubSubCoa.php mode change 100755 => 100644 app/Models/TingkatPendidikan.php mode change 100755 => 100644 app/Models/TipePotensi.php mode change 100755 => 100644 app/Models/TipeRegulasi.php mode change 100755 => 100644 app/Models/ToiletSanitasi.php mode change 100755 => 100644 app/Models/Umur.php mode change 100755 => 100644 app/Models/User.php mode change 100755 => 100644 app/Models/Warganegara.php mode change 100755 => 100644 app/Models/WilClusterDesa.php mode change 100755 => 100644 app/Providers/AppServiceProvider.php mode change 100755 => 100644 app/Providers/AuthServiceProvider.php mode change 100755 => 100644 app/Providers/BroadcastServiceProvider.php mode change 100755 => 100644 app/Providers/EventServiceProvider.php mode change 100755 => 100644 app/Providers/KDServiceProvider.php mode change 100755 => 100644 app/Providers/RouteServiceProvider.php mode change 100755 => 100644 artisan mode change 100755 => 100644 bootstrap/app.php mode change 100755 => 100644 bootstrap/cache/.gitignore mode change 100755 => 100644 config/auth.php mode change 100755 => 100644 config/broadcasting.php mode change 100755 => 100644 config/cache.php mode change 100755 => 100644 config/captcha.php mode change 100755 => 100644 config/database.php mode change 100755 => 100644 config/excel.php mode change 100755 => 100644 config/filesystems.php mode change 100755 => 100644 config/installer.php mode change 100755 => 100644 config/jsvalidation.php mode change 100755 => 100644 config/mail.php mode change 100755 => 100644 config/queue.php mode change 100755 => 100644 config/services.php mode change 100755 => 100644 config/session.php mode change 100755 => 100644 config/sluggable.php mode change 100755 => 100644 config/view.php mode change 100755 => 100644 database/.gitignore mode change 100755 => 100644 database/factories/UserFactory.php mode change 100755 => 100644 database/migrations/.gitkeep mode change 100755 => 100644 database/migrations/2014_07_02_230147_migration_cartalyst_sentinel.php mode change 100755 => 100644 database/migrations/2017_10_31_165346_create_menus_tables.php mode change 100755 => 100644 database/migrations/2018_01_19_231052_create_prosedur_table.php mode change 100755 => 100644 database/migrations/2018_01_21_194204_create_faq_table.php mode change 100755 => 100644 database/migrations/2018_01_22_113639_create_events_table.php mode change 100755 => 100644 database/migrations/2018_01_24_183803_create_regulasi_table.php mode change 100755 => 100644 database/migrations/2018_01_27_084715_create_kecamatan_table.php mode change 100755 => 100644 database/migrations/2018_01_27_084807_create_provinsi_table.php mode change 100755 => 100644 database/migrations/2018_01_27_084828_create_kabupaten_table.php mode change 100755 => 100644 database/migrations/2018_01_27_091024_create_desa_table.php mode change 100755 => 100644 database/migrations/2018_01_27_143943_create_profils_table.php mode change 100755 => 100644 database/migrations/2018_02_01_083021_create_data_umum_table.php mode change 100755 => 100644 database/migrations/2018_02_07_041730_create_penduduk_table.php mode change 100755 => 100644 database/migrations/2018_02_07_044425_create_pekerjaan_table.php mode change 100755 => 100644 database/migrations/2018_02_07_061956_create_agama_table.php mode change 100755 => 100644 database/migrations/2018_02_07_081809_create_kawin_table.php mode change 100755 => 100644 database/migrations/2018_02_07_120658_create_hubungan_keluarga_table.php mode change 100755 => 100644 database/migrations/2018_02_07_132847_create_pendidikan_kk_table.php mode change 100755 => 100644 database/migrations/2018_02_07_132956_create_pendidikan_table.php mode change 100755 => 100644 database/migrations/2018_02_07_141701_create_warganegara_table.php mode change 100755 => 100644 database/migrations/2018_02_07_161046_create_golongan_darah_table.php mode change 100755 => 100644 database/migrations/2018_02_07_161652_create_cacat_table.php mode change 100755 => 100644 database/migrations/2018_02_07_162450_create_sakit_menahun_table.php mode change 100755 => 100644 database/migrations/2018_02_07_163236_create_cara_kb_table.php mode change 100755 => 100644 database/migrations/2018_02_11_173433_create_proses_ektp_table.php mode change 100755 => 100644 database/migrations/2018_02_13_043336_create_proses_kk_table.php mode change 100755 => 100644 database/migrations/2018_02_13_065923_create_proses_akta_lahir_table.php mode change 100755 => 100644 database/migrations/2018_02_13_111006_create_proses_domisili_table.php mode change 100755 => 100644 database/migrations/2018_02_27_030954_create_keluarga_table.php mode change 100755 => 100644 database/migrations/2018_02_27_033644_create_wil_clusterdesa_table.php mode change 100755 => 100644 database/migrations/2018_02_28_094700_create_umur_table.php mode change 100755 => 100644 database/migrations/2018_04_11_164146_create_komplain_table.php mode change 100755 => 100644 database/migrations/2018_04_19_131534_create_kategori_komplain_table.php mode change 100755 => 100644 database/migrations/2018_04_25_183835_create_tipe_regulasi_table.php mode change 100755 => 100644 database/migrations/2018_04_28_053520_create_counter_page_table.php mode change 100755 => 100644 database/migrations/2018_04_28_053738_create_counter_visitor_table.php mode change 100755 => 100644 database/migrations/2018_04_28_053847_create_counter_page_visitor.php mode change 100755 => 100644 database/migrations/2018_05_03_101258_create_form_dokumen_table.php mode change 100755 => 100644 database/migrations/2018_05_04_232147_create_data_desa_table.php mode change 100755 => 100644 database/migrations/2018_05_10_054617_create_akib_table.php mode change 100755 => 100644 database/migrations/2018_05_10_125321_create_imunisasi_table.php mode change 100755 => 100644 database/migrations/2018_05_10_192220_create_penyakit_table.php mode change 100755 => 100644 database/migrations/2018_05_11_045417_create_epidemi_penyakit_table.php mode change 100755 => 100644 database/migrations/2018_05_11_062834_create_toilet_sanitasi_table.php mode change 100755 => 100644 database/migrations/2018_05_15_175503_create_tingkat_pendidikan_table.php mode change 100755 => 100644 database/migrations/2018_05_15_180306_create_failitas_paud_table.php mode change 100755 => 100644 database/migrations/2018_05_22_154137_create_jawab_komplain_table.php mode change 100755 => 100644 database/migrations/2018_05_23_002258_create_coa_type_table.php mode change 100755 => 100644 database/migrations/2018_05_23_002514_create_sub_coa_table.php mode change 100755 => 100644 database/migrations/2018_05_23_002657_create_sub_sub_coa_table.php mode change 100755 => 100644 database/migrations/2018_05_23_002747_create_coa_table.php mode change 100755 => 100644 database/migrations/2018_05_29_145439_create_putus_sekolah_table.php mode change 100755 => 100644 database/migrations/2018_05_31_094821_create_potensi_table.php mode change 100755 => 100644 database/migrations/2018_06_01_021440_create_anggaran_realisasi_table.php mode change 100755 => 100644 database/migrations/2018_06_01_221500_create_anggaran_desa_table.php mode change 100755 => 100644 database/migrations/2018_06_04_042538_create_log_penduduk_table.php mode change 100755 => 100644 database/migrations/2018_06_05_013340_create_program_table.php mode change 100755 => 100644 database/migrations/2018_06_05_014323_create_peserta_program_table.php mode change 100755 => 100644 database/migrations/2018_07_07_143736_create_tipe_potensis_table.php mode change 100755 => 100644 database/migrations/2018_07_12_020005_create_log_imports_table.php create mode 100644 database/migrations/2023_10_19_154602_maintenance_mode.php mode change 100755 => 100644 database/seeds/DasDataUmumTableSeeder.php mode change 100755 => 100644 database/seeds/DasKategoriKomplainTableSeeder.php mode change 100755 => 100644 database/seeds/DasMenuTableSeeder.php mode change 100755 => 100644 database/seeds/DasTipeRegulasiTableSeeder.php mode change 100755 => 100644 database/seeds/DatabaseSeeder.php create mode 100644 database/seeds/Demo/DemoSliderSeeder.php mode change 100755 => 100644 database/seeds/RefAgamaTableSeeder.php mode change 100755 => 100644 database/seeds/RefCacatTableSeeder.php mode change 100755 => 100644 database/seeds/RefCaraKbTableSeeder.php mode change 100755 => 100644 database/seeds/RefCoaTableSeeder.php mode change 100755 => 100644 database/seeds/RefCoaTypeTableSeeder.php mode change 100755 => 100644 database/seeds/RefGolonganDarahTableSeeder.php mode change 100755 => 100644 database/seeds/RefHubunganKeluargaTableSeeder.php mode change 100755 => 100644 database/seeds/RefKawinTableSeeder.php mode change 100755 => 100644 database/seeds/RefPekerjaanTableSeeder.php mode change 100755 => 100644 database/seeds/RefPendidikanKkTableSeeder.php mode change 100755 => 100644 database/seeds/RefPendidikanTableSeeder.php mode change 100755 => 100644 database/seeds/RefPenyakitTableSeeder.php mode change 100755 => 100644 database/seeds/RefSakitMenahunTableSeeder.php mode change 100755 => 100644 database/seeds/RefSubCoaTableSeeder.php mode change 100755 => 100644 database/seeds/RefSubSubCoaTableSeeder.php mode change 100755 => 100644 database/seeds/RefUmurTableSeeder.php mode change 100755 => 100644 database/seeds/RefWarganegaraTableSeeder.php mode change 100755 => 100644 phpunit.xml mode change 100755 => 100644 public/.htaccess mode change 100755 => 100644 resources/assets/js/app.js mode change 100755 => 100644 resources/assets/js/bootstrap.js mode change 100755 => 100644 resources/assets/js/components/ExampleComponent.vue mode change 100755 => 100644 resources/assets/sass/_variables.scss mode change 100755 => 100644 resources/assets/sass/app.scss mode change 100755 => 100644 resources/lang/ar/installer_messages.php mode change 100755 => 100644 resources/lang/de/installer_messages.php mode change 100755 => 100644 resources/lang/en/auth.php mode change 100755 => 100644 resources/lang/en/installer_messages.php mode change 100755 => 100644 resources/lang/en/pagination.php mode change 100755 => 100644 resources/lang/en/passwords.php mode change 100755 => 100644 resources/lang/en/validation.php mode change 100755 => 100644 resources/lang/es/installer_messages.php mode change 100755 => 100644 resources/lang/et/installer_messages.php mode change 100755 => 100644 resources/lang/fa/installer_messages.php mode change 100755 => 100644 resources/lang/fr/installer_messages.php mode change 100755 => 100644 resources/lang/gr/installer_messages.php mode change 100755 => 100644 resources/lang/id/installer_messages.php mode change 100755 => 100644 resources/lang/it/installer_messages.php mode change 100755 => 100644 resources/lang/nl/installer_messages.php mode change 100755 => 100644 resources/lang/pl/installer_messages.php mode change 100755 => 100644 resources/lang/pt-br/installer_messages.php mode change 100755 => 100644 resources/lang/pt/installer_messages.php mode change 100755 => 100644 resources/lang/ro/installer_messages.php mode change 100755 => 100644 resources/lang/ru/installer_messages.php mode change 100755 => 100644 resources/lang/tr/installer_messages.php mode change 100755 => 100644 resources/lang/zh-CN/installer_messages.php mode change 100755 => 100644 resources/lang/zh-TW/installer_messages.php mode change 100755 => 100644 resources/views/auth/emails/activate.blade.php mode change 100755 => 100644 resources/views/auth/passwords/email.blade.php mode change 100755 => 100644 resources/views/auth/passwords/reset.blade.php mode change 100755 => 100644 resources/views/auth/register.blade.php mode change 100755 => 100644 resources/views/counter/index.blade.php mode change 100755 => 100644 resources/views/data/aki_akb/edit.blade.php mode change 100755 => 100644 resources/views/data/aki_akb/form_edit.blade.php mode change 100755 => 100644 resources/views/data/aki_akb/import.blade.php mode change 100755 => 100644 resources/views/data/aki_akb/index.blade.php mode change 100755 => 100644 resources/views/data/anggaran_desa/import.blade.php mode change 100755 => 100644 resources/views/data/anggaran_desa/index.blade.php mode change 100755 => 100644 resources/views/data/anggaran_realisasi/edit.blade.php mode change 100755 => 100644 resources/views/data/anggaran_realisasi/form_edit.blade.php mode change 100755 => 100644 resources/views/data/anggaran_realisasi/import.blade.php mode change 100755 => 100644 resources/views/data/anggaran_realisasi/index.blade.php mode change 100755 => 100644 resources/views/data/data_desa/create.blade.php mode change 100755 => 100644 resources/views/data/data_desa/edit.blade.php mode change 100755 => 100644 resources/views/data/epidemi_penyakit/edit.blade.php mode change 100755 => 100644 resources/views/data/epidemi_penyakit/form_edit.blade.php mode change 100755 => 100644 resources/views/data/epidemi_penyakit/import.blade.php mode change 100755 => 100644 resources/views/data/epidemi_penyakit/index.blade.php mode change 100755 => 100644 resources/views/data/fasilitas_paud/edit.blade.php mode change 100755 => 100644 resources/views/data/fasilitas_paud/form_edit.blade.php mode change 100755 => 100644 resources/views/data/fasilitas_paud/import.blade.php mode change 100755 => 100644 resources/views/data/fasilitas_paud/index.blade.php mode change 100755 => 100644 resources/views/data/imunisasi/edit.blade.php mode change 100755 => 100644 resources/views/data/imunisasi/form_edit.blade.php mode change 100755 => 100644 resources/views/data/imunisasi/import.blade.php mode change 100755 => 100644 resources/views/data/imunisasi/index.blade.php mode change 100755 => 100644 resources/views/data/keluarga/form_show.blade.php mode change 100755 => 100644 resources/views/data/keluarga/index.blade.php mode change 100755 => 100644 resources/views/data/keluarga/show.blade.php mode change 100755 => 100644 resources/views/data/penduduk/form_show.blade.php mode change 100755 => 100644 resources/views/data/penduduk/import.blade.php mode change 100755 => 100644 resources/views/data/penduduk/show.blade.php mode change 100755 => 100644 resources/views/data/profil/save_success.blade.php mode change 100755 => 100644 resources/views/data/putus_sekolah/edit.blade.php mode change 100755 => 100644 resources/views/data/putus_sekolah/form_edit.blade.php mode change 100755 => 100644 resources/views/data/putus_sekolah/import.blade.php mode change 100755 => 100644 resources/views/data/putus_sekolah/index.blade.php mode change 100755 => 100644 resources/views/data/tingkat_pendidikan/edit.blade.php mode change 100755 => 100644 resources/views/data/tingkat_pendidikan/form_edit.blade.php mode change 100755 => 100644 resources/views/data/tingkat_pendidikan/import.blade.php mode change 100755 => 100644 resources/views/data/tingkat_pendidikan/index.blade.php mode change 100755 => 100644 resources/views/data/toilet_sanitasi/edit.blade.php mode change 100755 => 100644 resources/views/data/toilet_sanitasi/form_edit.blade.php mode change 100755 => 100644 resources/views/data/toilet_sanitasi/import.blade.php mode change 100755 => 100644 resources/views/data/toilet_sanitasi/index.blade.php mode change 100755 => 100644 resources/views/forms/action_message.blade.php mode change 100755 => 100644 resources/views/forms/active-modal.blade.php mode change 100755 => 100644 resources/views/forms/agree-modal.blade.php mode change 100755 => 100644 resources/views/forms/datatable-vertical.blade.php mode change 100755 => 100644 resources/views/forms/delete-modal.blade.php mode change 100755 => 100644 resources/views/forms/import-modal.blade.php mode change 100755 => 100644 resources/views/forms/suspend-modal.blade.php mode change 100755 => 100644 resources/views/informasi/event/edit.blade.php mode change 100755 => 100644 resources/views/informasi/event/form_create.blade.php mode change 100755 => 100644 resources/views/informasi/event/form_edit.blade.php mode change 100755 => 100644 resources/views/informasi/event/index.blade.php mode change 100755 => 100644 resources/views/informasi/faq/create.blade.php mode change 100755 => 100644 resources/views/informasi/faq/edit.blade.php mode change 100755 => 100644 resources/views/informasi/faq/form.blade.php mode change 100755 => 100644 resources/views/informasi/faq/index.blade.php mode change 100755 => 100644 resources/views/informasi/form_dokumen/create.blade.php mode change 100755 => 100644 resources/views/informasi/form_dokumen/edit.blade.php mode change 100755 => 100644 resources/views/informasi/form_dokumen/form_create.blade.php mode change 100755 => 100644 resources/views/informasi/form_dokumen/form_edit.blade.php mode change 100755 => 100644 resources/views/informasi/form_dokumen/index.blade.php mode change 100755 => 100644 resources/views/informasi/kalender.blade.php mode change 100755 => 100644 resources/views/informasi/kontak.blade.php mode change 100755 => 100644 resources/views/informasi/potensi.blade.php mode change 100755 => 100644 resources/views/informasi/potensi/create.blade.php mode change 100755 => 100644 resources/views/informasi/potensi/edit.blade.php mode change 100755 => 100644 resources/views/informasi/potensi/form_create.blade.php mode change 100755 => 100644 resources/views/informasi/potensi/form_edit.blade.php mode change 100755 => 100644 resources/views/informasi/potensi/index.blade.php mode change 100755 => 100644 resources/views/informasi/potensi/show.blade.php mode change 100755 => 100644 resources/views/informasi/prosedur/create.blade.php mode change 100755 => 100644 resources/views/informasi/prosedur/edit.blade.php mode change 100755 => 100644 resources/views/informasi/prosedur/form_create.blade.php mode change 100755 => 100644 resources/views/informasi/prosedur/form_edit.blade.php mode change 100755 => 100644 resources/views/informasi/prosedur/index.blade.php mode change 100755 => 100644 resources/views/informasi/prosedur/show.blade.php mode change 100755 => 100644 resources/views/informasi/regulasi/create.blade.php mode change 100755 => 100644 resources/views/informasi/regulasi/edit.blade.php mode change 100755 => 100644 resources/views/informasi/regulasi/form_create.blade.php mode change 100755 => 100644 resources/views/informasi/regulasi/form_update.blade.php mode change 100755 => 100644 resources/views/informasi/regulasi/index.blade.php mode change 100755 => 100644 resources/views/informasi/regulasi/show.blade.php mode change 100755 => 100644 resources/views/layouts/dashboard_template.blade.php mode change 100755 => 100644 resources/views/layouts/fragments/control_sidebar.blade.php mode change 100755 => 100644 resources/views/layouts/fragments/footer.blade.php mode change 100755 => 100644 resources/views/layouts/fragments/header.blade.php mode change 100755 => 100644 resources/views/partials/asset_amcharts.blade.php mode change 100755 => 100644 resources/views/partials/asset_datatables.blade.php mode change 100755 => 100644 resources/views/partials/asset_datetimepicker.blade.php mode change 100755 => 100644 resources/views/partials/asset_fancybox.blade.php mode change 100755 => 100644 resources/views/partials/asset_select2.blade.php mode change 100755 => 100644 resources/views/partials/asset_upload_images.blade.php mode change 100755 => 100644 resources/views/partials/flash_message.blade.php mode change 100755 => 100644 resources/views/role/create.blade.php mode change 100755 => 100644 resources/views/role/edit.blade.php mode change 100755 => 100644 resources/views/role/form.blade.php mode change 100755 => 100644 resources/views/role/index.blade.php mode change 100755 => 100644 resources/views/setting/coa/create.blade.php mode change 100755 => 100644 resources/views/setting/coa/form.blade.php mode change 100755 => 100644 resources/views/setting/coa/index.blade.php mode change 100755 => 100644 resources/views/setting/jenis_penyakit/create.blade.php mode change 100755 => 100644 resources/views/setting/jenis_penyakit/edit.blade.php mode change 100755 => 100644 resources/views/setting/jenis_penyakit/form.blade.php mode change 100755 => 100644 resources/views/setting/jenis_penyakit/index.blade.php mode change 100755 => 100644 resources/views/setting/komplain_kategori/create.blade.php mode change 100755 => 100644 resources/views/setting/komplain_kategori/edit.blade.php mode change 100755 => 100644 resources/views/setting/komplain_kategori/form.blade.php mode change 100755 => 100644 resources/views/setting/komplain_kategori/index.blade.php mode change 100755 => 100644 resources/views/setting/tipe_potensi/create.blade.php mode change 100755 => 100644 resources/views/setting/tipe_potensi/edit.blade.php mode change 100755 => 100644 resources/views/setting/tipe_potensi/form.blade.php mode change 100755 => 100644 resources/views/setting/tipe_potensi/index.blade.php mode change 100755 => 100644 resources/views/setting/tipe_regulasi/create.blade.php mode change 100755 => 100644 resources/views/setting/tipe_regulasi/edit.blade.php mode change 100755 => 100644 resources/views/setting/tipe_regulasi/form.blade.php mode change 100755 => 100644 resources/views/setting/tipe_regulasi/index.blade.php mode change 100755 => 100644 resources/views/sistem_komplain/admin_komplain/edit.blade.php mode change 100755 => 100644 resources/views/sistem_komplain/admin_komplain/index.blade.php mode change 100755 => 100644 resources/views/sistem_komplain/admin_komplain/statistik.blade.php mode change 100755 => 100644 resources/views/sistem_komplain/komplain/_komplain_populer.blade.php mode change 100755 => 100644 resources/views/sistem_komplain/komplain/_komplain_sukses.blade.php mode change 100755 => 100644 resources/views/sistem_komplain/komplain/_tracking.blade.php mode change 100755 => 100644 resources/views/sistem_komplain/komplain/edit.blade.php mode change 100755 => 100644 resources/views/sistem_komplain/komplain/index.blade.php mode change 100755 => 100644 resources/views/sistem_komplain/komplain/jawabans.blade.php mode change 100755 => 100644 resources/views/sistem_komplain/komplain/kirim.blade.php mode change 100755 => 100644 resources/views/sistem_komplain/komplain/show.blade.php mode change 100755 => 100644 resources/views/user/create.blade.php mode change 100755 => 100644 resources/views/user/edit.blade.php mode change 100755 => 100644 resources/views/user/form.blade.php mode change 100755 => 100644 resources/views/user/index.blade.php mode change 100755 => 100644 resources/views/user/password.blade.php mode change 100755 => 100644 resources/views/user/show.blade.php mode change 100755 => 100644 resources/views/vendor/installer/environment-classic.blade.php mode change 100755 => 100644 resources/views/vendor/installer/environment-wizard.blade.php mode change 100755 => 100644 resources/views/vendor/installer/environment.blade.php mode change 100755 => 100644 resources/views/vendor/installer/finished.blade.php mode change 100755 => 100644 resources/views/vendor/installer/layouts/master-update.blade.php mode change 100755 => 100644 resources/views/vendor/installer/layouts/master.blade.php mode change 100755 => 100644 resources/views/vendor/installer/permissions.blade.php mode change 100755 => 100644 resources/views/vendor/installer/requirements.blade.php mode change 100755 => 100644 resources/views/vendor/installer/update/finished.blade.php mode change 100755 => 100644 resources/views/vendor/installer/update/overview.blade.php mode change 100755 => 100644 resources/views/vendor/installer/update/welcome.blade.php mode change 100755 => 100644 resources/views/vendor/installer/welcome.blade.php mode change 100755 => 100644 resources/views/welcome.blade.php mode change 100755 => 100644 routes/channels.php mode change 100755 => 100644 routes/console.php mode change 100755 => 100644 server.php mode change 100755 => 100644 storage/app/.gitignore mode change 100755 => 100644 storage/app/public/.gitignore mode change 100755 => 100644 storage/app/public/template_upload/Format_Upload_AKI_&_AKB.xlsx mode change 100755 => 100644 storage/app/public/template_upload/Format_Upload_APBDes.xlsx mode change 100755 => 100644 storage/app/public/template_upload/Format_Upload_Anggaran_Realisasi.xlsx mode change 100755 => 100644 storage/app/public/template_upload/Format_Upload_Cakupan_Imunisasi.xlsx mode change 100755 => 100644 storage/app/public/template_upload/Format_Upload_Epidemi_Penyakit.xlsx mode change 100755 => 100644 storage/app/public/template_upload/Format_Upload_Putus_Sekolah.xlsx mode change 100755 => 100644 storage/app/public/template_upload/Format_Upload_Tingkat_Pendidikan.xlsx mode change 100755 => 100644 storage/app/public/template_upload/Format_Upload_Toilet_&_Sanitasi.xlsx mode change 100755 => 100644 storage/app/public/template_upload/Panduan_Pengguna_Kecamatan_Dashboard.pdf mode change 100755 => 100644 storage/framework/.gitignore mode change 100755 => 100644 storage/framework/cache/.gitignore create mode 100644 storage/framework/laravel-excel/.gitignore mode change 100755 => 100644 storage/framework/sessions/.gitignore mode change 100755 => 100644 storage/framework/testing/.gitignore mode change 100755 => 100644 storage/framework/views/.gitignore mode change 100755 => 100644 storage/logs/.gitignore mode change 100755 => 100644 tests/CreatesApplication.php mode change 100755 => 100644 tests/Feature/ExampleTest.php mode change 100755 => 100644 tests/TestCase.php mode change 100755 => 100644 tests/Unit/ExampleTest.php mode change 100755 => 100644 webpack.mix.js diff --git a/.env.example b/.env.example index 44e7fb0d8..99fafc562 100644 --- a/.env.example +++ b/.env.example @@ -3,7 +3,7 @@ APP_ENV=production APP_KEY=base64:rN3vXWFRHDKFP2sMySe9f4gna7WulisoXTqn7Yo4Ye8= APP_DEBUG=false APP_LOG_LEVEL=debug -APP_URL=http://demo.opendk.my.id/ +APP_URL=https://demodk.opendesa.id APP_DEMO=false DB_CONNECTION=mysql diff --git a/.gitattributes b/.gitattributes old mode 100755 new mode 100644 diff --git a/.gitignore b/.gitignore old mode 100755 new mode 100644 index c091f7c84..1839ea1a6 --- a/.gitignore +++ b/.gitignore @@ -14,7 +14,6 @@ yarn-error.log .phpunit.result.cache composer.log /storage/installed -/storage/framework Vagrantfile.* Vagrantfile # Shell script di cPanel > Terminal untuk menyalin folder public ke public_html diff --git a/.htaccess b/.htaccess old mode 100755 new mode 100644 diff --git a/app/Console/Kernel.php b/app/Console/Kernel.php old mode 100755 new mode 100644 diff --git a/app/Facades/Counter.php b/app/Facades/Counter.php old mode 100755 new mode 100644 diff --git a/app/Helpers/Counter.php b/app/Helpers/Counter.php old mode 100755 new mode 100644 diff --git a/app/Http/Controllers/Auth/ChangeDefaultController.php b/app/Http/Controllers/Auth/ChangeDefaultController.php index 6bdccb3ae..ab98d5cb0 100644 --- a/app/Http/Controllers/Auth/ChangeDefaultController.php +++ b/app/Http/Controllers/Auth/ChangeDefaultController.php @@ -58,7 +58,7 @@ public function index() public function store(ChangeRequest $request) { - auth()->user()->update(['email' => $request->email, 'password' => $request->password]); + auth()->user()->update(['password' => $request->password]); return redirect()->route('dashboard'); } } diff --git a/app/Http/Controllers/Auth/ForgotPasswordController.php b/app/Http/Controllers/Auth/ForgotPasswordController.php old mode 100755 new mode 100644 diff --git a/app/Http/Controllers/Auth/LoginController.php b/app/Http/Controllers/Auth/LoginController.php old mode 100755 new mode 100644 diff --git a/app/Http/Controllers/Auth/RegisterController.php b/app/Http/Controllers/Auth/RegisterController.php old mode 100755 new mode 100644 diff --git a/app/Http/Controllers/Auth/ResetPasswordController.php b/app/Http/Controllers/Auth/ResetPasswordController.php old mode 100755 new mode 100644 diff --git a/app/Http/Controllers/Controller.php b/app/Http/Controllers/Controller.php index bcf4d8d58..218d6bf7c 100644 --- a/app/Http/Controllers/Controller.php +++ b/app/Http/Controllers/Controller.php @@ -150,19 +150,19 @@ public function __construct() protected function kirimTrack() { - // if (config('app.demo') == true) { // jika posisi demo, matikan tracking - // return; - // } + if (config('app.demo') == true) { // jika posisi demo, matikan tracking + return; + } - // if (session('track') != null && session('track') == date('Y m d')) { - // return; - // } + if (cache()->get('track') != null && cache()->get('track') == date('Y m d')) { + return; + } $host_pantau = config('app.host_pantau'); $data = [ 'url' => url('/'), 'versi' => config('app.version'), - 'jumlah_desa' => DataDesa::count(), + 'jml_desa' => DataDesa::count(), 'desa' => json_encode(DataDesa::select(['desa_id', 'nama', 'sebutan_desa', 'path', 'website'])->get()), 'jumlahdesa_sinkronisasi' => DataDesa::count(), 'jumlah_penduduk' => Penduduk::where('status_dasar', 1)->count(), @@ -190,7 +190,7 @@ protected function kirimTrack() $response = Http::withHeaders([ 'token' => config('app.token_pantau') ])->post($host_pantau . 'track/opendk?token=' . config('app.token_pantau'), $data); - session(['track' => date('Y m d')]); + cache()->put('track', date('Y m d'), 60 * 60 * 24); return; } catch (Exception $e) { Log::notice($e); diff --git a/app/Http/Controllers/Counter/CounterController.php b/app/Http/Controllers/Counter/CounterController.php old mode 100755 new mode 100644 diff --git a/app/Http/Controllers/Data/AdminKomplainController.php b/app/Http/Controllers/Data/AdminKomplainController.php old mode 100755 new mode 100644 diff --git a/app/Http/Controllers/Data/AnggaranDesaController.php b/app/Http/Controllers/Data/AnggaranDesaController.php old mode 100755 new mode 100644 diff --git a/app/Http/Controllers/Data/AnggaranRealisasiController.php b/app/Http/Controllers/Data/AnggaranRealisasiController.php old mode 100755 new mode 100644 diff --git a/app/Http/Controllers/Data/DataDesaController.php b/app/Http/Controllers/Data/DataDesaController.php old mode 100755 new mode 100644 diff --git a/app/Http/Controllers/Data/KeluargaController.php b/app/Http/Controllers/Data/KeluargaController.php old mode 100755 new mode 100644 diff --git a/app/Http/Controllers/Helpers/Parsedown.php b/app/Http/Controllers/Helpers/Parsedown.php new file mode 100644 index 000000000..8852c2682 --- /dev/null +++ b/app/Http/Controllers/Helpers/Parsedown.php @@ -0,0 +1,1535 @@ + ['Header'], + '*' => ['Rule', 'List'], + '+' => ['List'], + '-' => ['SetextHeader', 'Table', 'Rule', 'List'], + '0' => ['List'], + '1' => ['List'], + '2' => ['List'], + '3' => ['List'], + '4' => ['List'], + '5' => ['List'], + '6' => ['List'], + '7' => ['List'], + '8' => ['List'], + '9' => ['List'], + ':' => ['Table'], + '<' => ['Comment', 'Markup'], + '=' => ['SetextHeader'], + '>' => ['Quote'], + '[' => ['Reference'], + '_' => ['Rule'], + '`' => ['FencedCode'], + '|' => ['Table'], + '~' => ['FencedCode'], + ]; + + // ~ + + protected $unmarkedBlockTypes = [ + 'Code', + ]; + + // + // Inline Elements + // + + protected $InlineTypes = [ + '"' => ['SpecialCharacter'], + '!' => ['Image'], + '&' => ['SpecialCharacter'], + '*' => ['Emphasis'], + ':' => ['Url'], + '<' => ['UrlTag', 'EmailTag', 'Markup', 'SpecialCharacter'], + '>' => ['SpecialCharacter'], + '[' => ['Link'], + '_' => ['Emphasis'], + '`' => ['Code'], + '~' => ['Strikethrough'], + '\\' => ['EscapeSequence'], + ]; + + // ~ + + protected $inlineMarkerList = '!"*_&[:<>`~\\'; + private static $instances = []; + + // + // Fields + // + + protected $DefinitionData; + + // + // Read-Only + + protected $specialCharacters = [ + '\\', '`', '*', '_', '{', '}', '[', ']', '(', ')', '>', '#', '+', '-', '.', '!', '|', + ]; + protected $StrongRegex = [ + '*' => '/^[*]{2}((?:\\\\\*|[^*]|[*][^*]*[*])+?)[*]{2}(?![*])/s', + '_' => '/^__((?:\\\\_|[^_]|_[^_]*_)+?)__(?!_)/us', + ]; + protected $EmRegex = [ + '*' => '/^[*]((?:\\\\\*|[^*]|[*][*][^*]+?[*][*])+?)[*](?![*])/s', + '_' => '/^_((?:\\\\_|[^_]|__[^_]*__)+?)_(?!_)\b/us', + ]; + protected $regexHtmlAttribute = '[a-zA-Z_:][\w:.-]*(?:\s*=\s*(?:[^"\'=<>`\s]+|"[^"]*"|\'[^\']*\'))?'; + protected $voidElements = [ + 'area', 'base', 'br', 'col', 'command', 'embed', 'hr', 'img', 'input', 'link', 'meta', 'param', 'source', + ]; + protected $textLevelElements = [ + 'a', 'br', 'bdo', 'abbr', 'blink', 'nextid', 'acronym', 'basefont', + 'b', 'em', 'big', 'cite', 'small', 'spacer', 'listing', + 'i', 'rp', 'del', 'code', 'strike', 'marquee', + 'q', 'rt', 'ins', 'font', 'strong', + 's', 'tt', 'kbd', 'mark', + 'u', 'xm', 'sub', 'nobr', + 'sup', 'ruby', + 'var', 'span', + 'wbr', 'time', + ]; + + // ~ + + public function text($text) + { + // make sure no definitions are set + $this->DefinitionData = []; + + // standardize line breaks + $text = str_replace(["\r\n", "\r"], "\n", $text); + + // remove surrounding line breaks + $text = trim($text, "\n"); + + // split text into lines + $lines = explode("\n", $text); + + // iterate through lines to identify blocks + $markup = $this->lines($lines); + + // trim line breaks + return trim($markup, "\n"); + } + + // + // Setters + // + + public function setBreaksEnabled($breaksEnabled) + { + $this->breaksEnabled = $breaksEnabled; + + return $this; + } + + public function setMarkupEscaped($markupEscaped) + { + $this->markupEscaped = $markupEscaped; + + return $this; + } + + public function setUrlsLinked($urlsLinked) + { + $this->urlsLinked = $urlsLinked; + + return $this; + } + + public function setSafeMode($safeMode) + { + $this->safeMode = (bool) $safeMode; + + return $this; + } + + // + // Blocks + // + + protected function lines(array $lines) + { + $CurrentBlock = null; + + foreach ($lines as $line) { + if (rtrim($line) === '') { + if (isset($CurrentBlock)) { + $CurrentBlock['interrupted'] = true; + } + + continue; + } + + if (strpos($line, "\t") !== false) { + $parts = explode("\t", $line); + + $line = $parts[0]; + + unset($parts[0]); + + foreach ($parts as $part) { + $shortage = 4 - mb_strlen($line, 'utf-8') % 4; + + $line .= str_repeat(' ', $shortage); + $line .= $part; + } + } + + $indent = 0; + + while (isset($line[$indent]) && $line[$indent] === ' ') { + $indent++; + } + + $text = $indent > 0 ? substr($line, $indent) : $line; + + // ~ + + $Line = ['body' => $line, 'indent' => $indent, 'text' => $text]; + + // ~ + + if (isset($CurrentBlock['continuable'])) { + $Block = $this->{'block' . $CurrentBlock['type'] . 'Continue'}($Line, $CurrentBlock); + + if (isset($Block)) { + $CurrentBlock = $Block; + + continue; + } + if ($this->isBlockCompletable($CurrentBlock['type'])) { + $CurrentBlock = $this->{'block' . $CurrentBlock['type'] . 'Complete'}($CurrentBlock); + } + } + + // ~ + + $marker = $text[0]; + + // ~ + + $blockTypes = $this->unmarkedBlockTypes; + + if (isset($this->BlockTypes[$marker])) { + foreach ($this->BlockTypes[$marker] as $blockType) { + $blockTypes[] = $blockType; + } + } + + // + // ~ + + foreach ($blockTypes as $blockType) { + $Block = $this->{'block' . $blockType}($Line, $CurrentBlock); + + if (isset($Block)) { + $Block['type'] = $blockType; + + if (!isset($Block['identified'])) { + $Blocks[] = $CurrentBlock; + + $Block['identified'] = true; + } + + if ($this->isBlockContinuable($blockType)) { + $Block['continuable'] = true; + } + + $CurrentBlock = $Block; + + continue 2; + } + } + + // ~ + + if (isset($CurrentBlock) && !isset($CurrentBlock['type']) && !isset($CurrentBlock['interrupted'])) { + $CurrentBlock['element']['text'] .= "\n" . $text; + } else { + $Blocks[] = $CurrentBlock; + + $CurrentBlock = $this->paragraph($Line); + + $CurrentBlock['identified'] = true; + } + } + + // ~ + + if (isset($CurrentBlock['continuable']) && $this->isBlockCompletable($CurrentBlock['type'])) { + $CurrentBlock = $this->{'block' . $CurrentBlock['type'] . 'Complete'}($CurrentBlock); + } + + // ~ + + $Blocks[] = $CurrentBlock; + + unset($Blocks[0]); + + // ~ + + $markup = ''; + + foreach ($Blocks as $Block) { + if (isset($Block['hidden'])) { + continue; + } + + $markup .= "\n"; + $markup .= $Block['markup'] ?? $this->element($Block['element']); + } + + $markup .= "\n"; + + // ~ + + return $markup; + } + + protected function isBlockContinuable($Type) + { + return method_exists($this, 'block' . $Type . 'Continue'); + } + + protected function isBlockCompletable($Type) + { + return method_exists($this, 'block' . $Type . 'Complete'); + } + + // + // Code + + protected function blockCode($Line, $Block = null) + { + if (isset($Block) && !isset($Block['type']) && !isset($Block['interrupted'])) { + return; + } + + if ($Line['indent'] >= 4) { + $text = substr($Line['body'], 4); + + return [ + 'element' => [ + 'name' => 'pre', + 'handler' => 'element', + 'text' => [ + 'name' => 'code', + 'text' => $text, + ], + ], + ]; + } + } + + protected function blockCodeContinue($Line, $Block) + { + if ($Line['indent'] >= 4) { + if (isset($Block['interrupted'])) { + $Block['element']['text']['text'] .= "\n"; + + unset($Block['interrupted']); + } + + $Block['element']['text']['text'] .= "\n"; + + $text = substr($Line['body'], 4); + + $Block['element']['text']['text'] .= $text; + + return $Block; + } + } + + protected function blockCodeComplete($Block) + { + $text = $Block['element']['text']['text']; + + $Block['element']['text']['text'] = $text; + + return $Block; + } + + // + // Comment + + protected function blockComment($Line) + { + if ($this->markupEscaped || $this->safeMode) { + return; + } + + if (isset($Line['text'][3]) && $Line['text'][3] === '-' && $Line['text'][2] === '-' && $Line['text'][1] === '!') { + $Block = [ + 'markup' => $Line['body'], + ]; + + if (preg_match('/-->$/', $Line['text'])) { + $Block['closed'] = true; + } + + return $Block; + } + } + + protected function blockCommentContinue($Line, array $Block) + { + if (isset($Block['closed'])) { + return; + } + + $Block['markup'] .= "\n" . $Line['body']; + + if (preg_match('/-->$/', $Line['text'])) { + $Block['closed'] = true; + } + + return $Block; + } + + // + // Fenced Code + + protected function blockFencedCode($Line) + { + if (preg_match('/^[' . $Line['text'][0] . ']{3,}[ ]*([^`]+)?[ ]*$/', $Line['text'], $matches)) { + $Element = [ + 'name' => 'code', + 'text' => '', + ]; + + if (isset($matches[1])) { + /** + * https://www.w3.org/TR/2011/WD-html5-20110525/elements.html#classes + * Every HTML element may have a class attribute specified. + * The attribute, if specified, must have a value that is a set + * of space-separated tokens representing the various classes + * that the element belongs to. + * [...] + * The space characters, for the purposes of this specification, + * are U+0020 SPACE, U+0009 CHARACTER TABULATION (tab), + * U+000A LINE FEED (LF), U+000C FORM FEED (FF), and + * U+000D CARRIAGE RETURN (CR). + */ + $language = substr($matches[1], 0, strcspn($matches[1], " \t\n\f\r")); + + $class = 'language-' . $language; + + $Element['attributes'] = [ + 'class' => $class, + ]; + } + + return [ + 'char' => $Line['text'][0], + 'element' => [ + 'name' => 'pre', + 'handler' => 'element', + 'text' => $Element, + ], + ]; + } + } + + protected function blockFencedCodeContinue($Line, $Block) + { + if (isset($Block['complete'])) { + return; + } + + if (isset($Block['interrupted'])) { + $Block['element']['text']['text'] .= "\n"; + + unset($Block['interrupted']); + } + + if (preg_match('/^' . $Block['char'] . '{3,}[ ]*$/', $Line['text'])) { + $Block['element']['text']['text'] = substr($Block['element']['text']['text'], 1); + + $Block['complete'] = true; + + return $Block; + } + + $Block['element']['text']['text'] .= "\n" . $Line['body']; + + return $Block; + } + + protected function blockFencedCodeComplete($Block) + { + $text = $Block['element']['text']['text']; + + $Block['element']['text']['text'] = $text; + + return $Block; + } + + // + // Header + + protected function blockHeader($Line) + { + if (isset($Line['text'][1])) { + $level = 1; + + while (isset($Line['text'][$level]) && $Line['text'][$level] === '#') { + $level++; + } + + if ($level > 6) { + return; + } + + $text = trim($Line['text'], '# '); + + return [ + 'element' => [ + 'name' => 'h' . min(6, $level), + 'text' => $text, + 'handler' => 'line', + ], + ]; + } + } + + // + // List + + protected function blockList($Line) + { + [$name, $pattern] = $Line['text'][0] <= '-' ? ['ul', '[*+-]'] : ['ol', '[0-9]+[.]']; + + if (preg_match('/^(' . $pattern . '[ ]+)(.*)/', $Line['text'], $matches)) { + $Block = [ + 'indent' => $Line['indent'], + 'pattern' => $pattern, + 'element' => [ + 'name' => $name, + 'handler' => 'elements', + ], + ]; + + if ($name === 'ol') { + $listStart = stristr($matches[0], '.', true); + + if ($listStart !== '1') { + $Block['element']['attributes'] = ['start' => $listStart]; + } + } + + $Block['li'] = [ + 'name' => 'li', + 'handler' => 'li', + 'text' => [ + $matches[2], + ], + ]; + + $Block['element']['text'][] = &$Block['li']; + + return $Block; + } + } + + protected function blockListContinue($Line, array $Block) + { + if ($Block['indent'] === $Line['indent'] && preg_match('/^' . $Block['pattern'] . '(?:[ ]+(.*)|$)/', $Line['text'], $matches)) { + if (isset($Block['interrupted'])) { + $Block['li']['text'][] = ''; + + $Block['loose'] = true; + + unset($Block['interrupted']); + } + + unset($Block['li']); + + $text = $matches[1] ?? ''; + + $Block['li'] = [ + 'name' => 'li', + 'handler' => 'li', + 'text' => [ + $text, + ], + ]; + + $Block['element']['text'][] = &$Block['li']; + + return $Block; + } + + if ($Line['text'][0] === '[' && $this->blockReference($Line)) { + return $Block; + } + + if (!isset($Block['interrupted'])) { + $text = preg_replace('/^[ ]{0,4}/', '', $Line['body']); + + $Block['li']['text'][] = $text; + + return $Block; + } + + if ($Line['indent'] > 0) { + $Block['li']['text'][] = ''; + + $text = preg_replace('/^[ ]{0,4}/', '', $Line['body']); + + $Block['li']['text'][] = $text; + + unset($Block['interrupted']); + + return $Block; + } + } + + protected function blockListComplete(array $Block) + { + if (isset($Block['loose'])) { + foreach ($Block['element']['text'] as &$li) { + if (end($li['text']) !== '') { + $li['text'][] = ''; + } + } + } + + return $Block; + } + + // + // Quote + + protected function blockQuote($Line) + { + if (preg_match('/^>[ ]?(.*)/', $Line['text'], $matches)) { + return [ + 'element' => [ + 'name' => 'blockquote', + 'handler' => 'lines', + 'text' => (array) $matches[1], + ], + ]; + } + } + + protected function blockQuoteContinue($Line, array $Block) + { + if ($Line['text'][0] === '>' && preg_match('/^>[ ]?(.*)/', $Line['text'], $matches)) { + if (isset($Block['interrupted'])) { + $Block['element']['text'][] = ''; + + unset($Block['interrupted']); + } + + $Block['element']['text'][] = $matches[1]; + + return $Block; + } + + if (!isset($Block['interrupted'])) { + $Block['element']['text'][] = $Line['text']; + + return $Block; + } + } + + // + // Rule + + protected function blockRule($Line) + { + if (preg_match('/^([' . $Line['text'][0] . '])([ ]*\1){2,}[ ]*$/', $Line['text'])) { + return [ + 'element' => [ + 'name' => 'hr', + ], + ]; + } + } + + // + // Setext + + protected function blockSetextHeader($Line, ?array $Block = null) + { + if (!isset($Block) || isset($Block['type']) || isset($Block['interrupted'])) { + return; + } + + if (rtrim($Line['text'], $Line['text'][0]) === '') { + $Block['element']['name'] = $Line['text'][0] === '=' ? 'h1' : 'h2'; + + return $Block; + } + } + + // + // Markup + + protected function blockMarkup($Line) + { + if ($this->markupEscaped || $this->safeMode) { + return; + } + + if (preg_match('/^<(\w[\w-]*)(?:[ ]*' . $this->regexHtmlAttribute . ')*[ ]*(\/)?>/', $Line['text'], $matches)) { + $element = strtolower($matches[1]); + + if (in_array($element, $this->textLevelElements)) { + return; + } + + $Block = [ + 'name' => $matches[1], + 'depth' => 0, + 'markup' => $Line['text'], + ]; + + $length = strlen($matches[0]); + + $remainder = substr($Line['text'], $length); + + if (trim($remainder) === '') { + if (isset($matches[2]) || in_array($matches[1], $this->voidElements)) { + $Block['closed'] = true; + + $Block['void'] = true; + } + } else { + if (isset($matches[2]) || in_array($matches[1], $this->voidElements)) { + return; + } + + if (preg_match('/<\/' . $matches[1] . '>[ ]*$/i', $remainder)) { + $Block['closed'] = true; + } + } + + return $Block; + } + } + + protected function blockMarkupContinue($Line, array $Block) + { + if (isset($Block['closed'])) { + return; + } + + if (preg_match('/^<' . $Block['name'] . '(?:[ ]*' . $this->regexHtmlAttribute . ')*[ ]*>/i', $Line['text'])) { // open + $Block['depth']++; + } + + if (preg_match('/(.*?)<\/' . $Block['name'] . '>[ ]*$/i', $Line['text'], $matches)) { // close + if ($Block['depth'] > 0) { + $Block['depth']--; + } else { + $Block['closed'] = true; + } + } + + if (isset($Block['interrupted'])) { + $Block['markup'] .= "\n"; + + unset($Block['interrupted']); + } + + $Block['markup'] .= "\n" . $Line['body']; + + return $Block; + } + + // + // Reference + + protected function blockReference($Line) + { + if (preg_match('/^\[(.+?)\]:[ ]*?(?:[ ]+["\'(](.+)["\')])?[ ]*$/', $Line['text'], $matches)) { + $id = strtolower($matches[1]); + + $Data = [ + 'url' => $matches[2], + 'title' => null, + ]; + + if (isset($matches[3])) { + $Data['title'] = $matches[3]; + } + + $this->DefinitionData['Reference'][$id] = $Data; + + return [ + 'hidden' => true, + ]; + } + } + + // + // Table + + protected function blockTable($Line, ?array $Block = null) + { + if (!isset($Block) || isset($Block['type']) || isset($Block['interrupted'])) { + return; + } + + if (strpos($Block['element']['text'], '|') !== false && rtrim($Line['text'], ' -:|') === '') { + $alignments = []; + + $divider = $Line['text']; + + $divider = trim($divider); + $divider = trim($divider, '|'); + + $dividerCells = explode('|', $divider); + + foreach ($dividerCells as $dividerCell) { + $dividerCell = trim($dividerCell); + + if ($dividerCell === '') { + continue; + } + + $alignment = null; + + if ($dividerCell[0] === ':') { + $alignment = 'left'; + } + + if (substr($dividerCell, -1) === ':') { + $alignment = $alignment === 'left' ? 'center' : 'right'; + } + + $alignments[] = $alignment; + } + + // ~ + + $HeaderElements = []; + + $header = $Block['element']['text']; + + $header = trim($header); + $header = trim($header, '|'); + + $headerCells = explode('|', $header); + + foreach ($headerCells as $index => $headerCell) { + $headerCell = trim($headerCell); + + $HeaderElement = [ + 'name' => 'th', + 'text' => $headerCell, + 'handler' => 'line', + ]; + + if (isset($alignments[$index])) { + $alignment = $alignments[$index]; + + $HeaderElement['attributes'] = [ + 'style' => 'text-align: ' . $alignment . ';', + ]; + } + + $HeaderElements[] = $HeaderElement; + } + + // ~ + + $Block = [ + 'alignments' => $alignments, + 'identified' => true, + 'element' => [ + 'name' => 'table', + 'handler' => 'elements', + ], + ]; + + $Block['element']['text'][] = [ + 'name' => 'thead', + 'handler' => 'elements', + ]; + + $Block['element']['text'][] = [ + 'name' => 'tbody', + 'handler' => 'elements', + 'text' => [], + ]; + + $Block['element']['text'][0]['text'][] = [ + 'name' => 'tr', + 'handler' => 'elements', + 'text' => $HeaderElements, + ]; + + return $Block; + } + } + + protected function blockTableContinue($Line, array $Block) + { + if (isset($Block['interrupted'])) { + return; + } + + if ($Line['text'][0] === '|' || strpos($Line['text'], '|')) { + $Elements = []; + + $row = $Line['text']; + + $row = trim($row); + $row = trim($row, '|'); + + preg_match_all('/(?:(\\\\[|])|[^|`]|`[^`]+`|`)+/', $row, $matches); + + foreach ($matches[0] as $index => $cell) { + $cell = trim($cell); + + $Element = [ + 'name' => 'td', + 'handler' => 'line', + 'text' => $cell, + ]; + + if (isset($Block['alignments'][$index])) { + $Element['attributes'] = [ + 'style' => 'text-align: ' . $Block['alignments'][$index] . ';', + ]; + } + + $Elements[] = $Element; + } + + $Element = [ + 'name' => 'tr', + 'handler' => 'elements', + 'text' => $Elements, + ]; + + $Block['element']['text'][1]['text'][] = $Element; + + return $Block; + } + } + + // + // ~ + // + + protected function paragraph($Line) + { + return [ + 'element' => [ + 'name' => 'p', + 'text' => $Line['text'], + 'handler' => 'line', + ], + ]; + } + + // + // ~ + // + + public function line($text, $nonNestables = []) + { + $markup = ''; + + // $excerpt is based on the first occurrence of a marker + + while ($excerpt = strpbrk($text, $this->inlineMarkerList)) { + $marker = $excerpt[0]; + + $markerPosition = strpos($text, $marker); + + $Excerpt = ['text' => $excerpt, 'context' => $text]; + + foreach ($this->InlineTypes[$marker] as $inlineType) { + // check to see if the current inline type is nestable in the current context + + if (!empty($nonNestables) && in_array($inlineType, $nonNestables)) { + continue; + } + + $Inline = $this->{'inline' . $inlineType}($Excerpt); + + if (!isset($Inline)) { + continue; + } + + // makes sure that the inline belongs to "our" marker + + if (isset($Inline['position']) && $Inline['position'] > $markerPosition) { + continue; + } + + // sets a default inline position + + if (!isset($Inline['position'])) { + $Inline['position'] = $markerPosition; + } + + // cause the new element to 'inherit' our non nestables + + foreach ($nonNestables as $non_nestable) { + $Inline['element']['nonNestables'][] = $non_nestable; + } + + // the text that comes before the inline + $unmarkedText = substr($text, 0, $Inline['position']); + + // compile the unmarked text + $markup .= $this->unmarkedText($unmarkedText); + + // compile the inline + $markup .= $Inline['markup'] ?? $this->element($Inline['element']); + + // remove the examined text + $text = substr($text, $Inline['position'] + $Inline['extent']); + + continue 2; + } + + // the marker does not belong to an inline + + $unmarkedText = substr($text, 0, $markerPosition + 1); + + $markup .= $this->unmarkedText($unmarkedText); + + $text = substr($text, $markerPosition + 1); + } + + $markup .= $this->unmarkedText($text); + + return $markup; + } + + // + // ~ + // + + protected function inlineCode($Excerpt) + { + $marker = $Excerpt['text'][0]; + + if (preg_match('/^(' . $marker . '+)[ ]*(.+?)[ ]*(? strlen($matches[0]), + 'element' => [ + 'name' => 'code', + 'text' => $text, + ], + ]; + } + } + + protected function inlineEmailTag($Excerpt) + { + if (strpos($Excerpt['text'], '>') !== false && preg_match('/^<((mailto:)?\S+?@\S+?)>/i', $Excerpt['text'], $matches)) { + $url = $matches[1]; + + if (!isset($matches[2])) { + $url = 'mailto:' . $url; + } + + return [ + 'extent' => strlen($matches[0]), + 'element' => [ + 'name' => 'a', + 'text' => $matches[1], + 'attributes' => [ + 'href' => $url, + ], + ], + ]; + } + } + + protected function inlineEmphasis($Excerpt) + { + if (!isset($Excerpt['text'][1])) { + return; + } + + $marker = $Excerpt['text'][0]; + + if ($Excerpt['text'][1] === $marker && preg_match($this->StrongRegex[$marker], $Excerpt['text'], $matches)) { + $emphasis = 'strong'; + } elseif (preg_match($this->EmRegex[$marker], $Excerpt['text'], $matches)) { + $emphasis = 'em'; + } else { + return; + } + + return [ + 'extent' => strlen($matches[0]), + 'element' => [ + 'name' => $emphasis, + 'handler' => 'line', + 'text' => $matches[1], + ], + ]; + } + + protected function inlineEscapeSequence($Excerpt) + { + if (isset($Excerpt['text'][1]) && in_array($Excerpt['text'][1], $this->specialCharacters)) { + return [ + 'markup' => $Excerpt['text'][1], + 'extent' => 2, + ]; + } + } + + protected function inlineImage($Excerpt) + { + if (!isset($Excerpt['text'][1]) || $Excerpt['text'][1] !== '[') { + return; + } + + $Excerpt['text'] = substr($Excerpt['text'], 1); + + $Link = $this->inlineLink($Excerpt); + + if ($Link === null) { + return; + } + + $Inline = [ + 'extent' => $Link['extent'] + 1, + 'element' => [ + 'name' => 'img', + 'attributes' => [ + 'src' => $Link['element']['attributes']['href'], + 'alt' => $Link['element']['text'], + ], + ], + ]; + + $Inline['element']['attributes'] += $Link['element']['attributes']; + + unset($Inline['element']['attributes']['href']); + + return $Inline; + } + + protected function inlineLink($Excerpt) + { + $Element = [ + 'name' => 'a', + 'handler' => 'line', + 'nonNestables' => ['Url', 'Link'], + 'text' => null, + 'attributes' => [ + 'href' => null, + 'title' => null, + ], + ]; + + $extent = 0; + + $remainder = $Excerpt['text']; + + if (preg_match('/\[((?:[^][]++|(?R))*+)\]/', $remainder, $matches)) { + $Element['text'] = $matches[1]; + + $extent += strlen($matches[0]); + + $remainder = substr($remainder, $extent); + } else { + return; + } + + if (preg_match('/^[(]\s*+((?:[^ ()]++|[(][^ )]+[)])++)(?:[ ]+("[^"]*"|\'[^\']*\'))?\s*[)]/', $remainder, $matches)) { + $Element['attributes']['href'] = $matches[1]; + + if (isset($matches[2])) { + $Element['attributes']['title'] = substr($matches[2], 1, -1); + } + + $extent += strlen($matches[0]); + } else { + if (preg_match('/^\s*\[(.*?)\]/', $remainder, $matches)) { + $definition = strlen($matches[1]) ? $matches[1] : $Element['text']; + $definition = strtolower($definition); + + $extent += strlen($matches[0]); + } else { + $definition = strtolower($Element['text']); + } + + if (!isset($this->DefinitionData['Reference'][$definition])) { + return; + } + + $Definition = $this->DefinitionData['Reference'][$definition]; + + $Element['attributes']['href'] = $Definition['url']; + $Element['attributes']['title'] = $Definition['title']; + } + + return [ + 'extent' => $extent, + 'element' => $Element, + ]; + } + + protected function inlineMarkup($Excerpt) + { + if ($this->markupEscaped || $this->safeMode || strpos($Excerpt['text'], '>') === false) { + return; + } + + if ($Excerpt['text'][1] === '/' && preg_match('/^<\/\w[\w-]*[ ]*>/s', $Excerpt['text'], $matches)) { + return [ + 'markup' => $matches[0], + 'extent' => strlen($matches[0]), + ]; + } + + if ($Excerpt['text'][1] === '!' && preg_match('/^/s', $Excerpt['text'], $matches)) { + return [ + 'markup' => $matches[0], + 'extent' => strlen($matches[0]), + ]; + } + + if ($Excerpt['text'][1] !== ' ' && preg_match('/^<\w[\w-]*(?:[ ]*' . $this->regexHtmlAttribute . ')*[ ]*\/?>/s', $Excerpt['text'], $matches)) { + return [ + 'markup' => $matches[0], + 'extent' => strlen($matches[0]), + ]; + } + } + + protected function inlineSpecialCharacter($Excerpt) + { + if ($Excerpt['text'][0] === '&' && !preg_match('/^&#?\w+;/', $Excerpt['text'])) { + return [ + 'markup' => '&', + 'extent' => 1, + ]; + } + + $SpecialCharacter = ['>' => 'gt', '<' => 'lt', '"' => 'quot']; + + if (isset($SpecialCharacter[$Excerpt['text'][0]])) { + return [ + 'markup' => '&' . $SpecialCharacter[$Excerpt['text'][0]] . ';', + 'extent' => 1, + ]; + } + } + + protected function inlineStrikethrough($Excerpt) + { + if (!isset($Excerpt['text'][1])) { + return; + } + + if ($Excerpt['text'][1] === '~' && preg_match('/^~~(?=\S)(.+?)(?<=\S)~~/', $Excerpt['text'], $matches)) { + return [ + 'extent' => strlen($matches[0]), + 'element' => [ + 'name' => 'del', + 'text' => $matches[1], + 'handler' => 'line', + ], + ]; + } + } + + protected function inlineUrl($Excerpt) + { + if ($this->urlsLinked !== true || !isset($Excerpt['text'][2]) || $Excerpt['text'][2] !== '/') { + return; + } + + if (preg_match('/\bhttps?:[\/]{2}[^\s<]+\b\/*/ui', $Excerpt['context'], $matches, PREG_OFFSET_CAPTURE)) { + $url = $matches[0][0]; + + return [ + 'extent' => strlen($matches[0][0]), + 'position' => $matches[0][1], + 'element' => [ + 'name' => 'a', + 'text' => $url, + 'attributes' => [ + 'href' => $url, + ], + ], + ]; + } + } + + protected function inlineUrlTag($Excerpt) + { + if (strpos($Excerpt['text'], '>') !== false && preg_match('/^<(\w+:\/{2}[^ >]+)>/i', $Excerpt['text'], $matches)) { + $url = $matches[1]; + + return [ + 'extent' => strlen($matches[0]), + 'element' => [ + 'name' => 'a', + 'text' => $url, + 'attributes' => [ + 'href' => $url, + ], + ], + ]; + } + } + + // ~ + + protected function unmarkedText($text) + { + if ($this->breaksEnabled) { + $text = preg_replace('/[ ]*\n/', "
\n", $text); + } else { + $text = preg_replace('/(?:[ ][ ]+|[ ]*\\\\)\n/', "
\n", $text); + $text = str_replace(" \n", "\n", $text); + } + + return $text; + } + + // + // Handlers + // + + protected function element(array $Element) + { + if ($this->safeMode) { + $Element = $this->sanitiseElement($Element); + } + + $markup = '<' . $Element['name']; + + if (isset($Element['attributes'])) { + foreach ($Element['attributes'] as $name => $value) { + if ($value === null) { + continue; + } + + $markup .= ' ' . $name . '="' . self::escape($value) . '"'; + } + } + + $permitRawHtml = false; + + if (isset($Element['text'])) { + $text = $Element['text']; + } + // very strongly consider an alternative if you're writing an + // extension + elseif (isset($Element['rawHtml'])) { + $text = $Element['rawHtml']; + $allowRawHtmlInSafeMode = isset($Element['allowRawHtmlInSafeMode']) && $Element['allowRawHtmlInSafeMode']; + $permitRawHtml = !$this->safeMode || $allowRawHtmlInSafeMode; + } + + if (isset($text)) { + $markup .= '>'; + + if (!isset($Element['nonNestables'])) { + $Element['nonNestables'] = []; + } + + if (isset($Element['handler'])) { + $markup .= $this->{$Element['handler']}($text, $Element['nonNestables']); + } elseif (!$permitRawHtml) { + $markup .= self::escape($text, true); + } else { + $markup .= $text; + } + + $markup .= ''; + } else { + $markup .= ' />'; + } + + return $markup; + } + + protected function elements(array $Elements) + { + $markup = ''; + + foreach ($Elements as $Element) { + $markup .= "\n" . $this->element($Element); + } + + $markup .= "\n"; + + return $markup; + } + + // ~ + + protected function li($lines) + { + $markup = $this->lines($lines); + + $trimmedMarkup = trim($markup); + + if (!in_array('', $lines) && substr($trimmedMarkup, 0, 3) === '

') { + $markup = $trimmedMarkup; + $markup = substr($markup, 3); + + $position = strpos($markup, '

'); + + $markup = substr_replace($markup, '', $position, 4); + } + + return $markup; + } + + // + // Deprecated Methods + // + + public function parse($text) + { + return $this->text($text); + } + + protected function sanitiseElement(array $Element) + { + static $goodAttribute = '/^[a-zA-Z0-9][a-zA-Z0-9-_]*+$/'; + static $safeUrlNameToAtt = [ + 'a' => 'href', + 'img' => 'src', + ]; + + if (isset($safeUrlNameToAtt[$Element['name']])) { + $Element = $this->filterUnsafeUrlInAttribute($Element, $safeUrlNameToAtt[$Element['name']]); + } + + if (!empty($Element['attributes'])) { + foreach ($Element['attributes'] as $att => $val) { + // filter out badly parsed attribute + if (!preg_match($goodAttribute, $att)) { + unset($Element['attributes'][$att]); + } + // dump onevent attribute + elseif (self::striAtStart($att, 'on')) { + unset($Element['attributes'][$att]); + } + } + } + + return $Element; + } + + protected function filterUnsafeUrlInAttribute(array $Element, $attribute) + { + foreach ($this->safeLinksWhitelist as $scheme) { + if (self::striAtStart($Element['attributes'][$attribute], $scheme)) { + return $Element; + } + } + + $Element['attributes'][$attribute] = str_replace(':', '%3A', $Element['attributes'][$attribute]); + + return $Element; + } + + // + // Static Methods + // + + protected static function escape($text, $allowQuotes = false) + { + return htmlspecialchars($text, $allowQuotes ? ENT_NOQUOTES : ENT_QUOTES, 'UTF-8'); + } + + protected static function striAtStart($string, $needle) + { + $len = strlen($needle); + + if ($len > strlen($string)) { + return false; + } + + return strtolower(substr($string, 0, $len)) === strtolower($needle); + } + + public static function instance($name = 'default') + { + if (isset(self::$instances[$name])) { + return self::$instances[$name]; + } + + $instance = new static(); + + self::$instances[$name] = $instance; + + return $instance; + } +} diff --git a/app/Http/Controllers/Informasi/FormDokumenController.php b/app/Http/Controllers/Informasi/FormDokumenController.php old mode 100755 new mode 100644 diff --git a/app/Http/Controllers/LogViewerController.php b/app/Http/Controllers/LogViewerController.php index 40f995759..1c4e65b49 100644 --- a/app/Http/Controllers/LogViewerController.php +++ b/app/Http/Controllers/LogViewerController.php @@ -211,4 +211,12 @@ public function queueListen() 'success' => true, ], Response::HTTP_OK); } + + public function migrasi() + { + Artisan::call('migrate', ['--force' => true]); // this will do the command line job + sleep(2); + + return back()->with('tab', 'ekstensi')->with('success', 'Berhasil menjalankan migrasi'); + } } diff --git a/app/Http/Controllers/Role/RoleController.php b/app/Http/Controllers/Role/RoleController.php old mode 100755 new mode 100644 diff --git a/app/Http/Controllers/Setting/COAController.php b/app/Http/Controllers/Setting/COAController.php old mode 100755 new mode 100644 diff --git a/app/Http/Controllers/Setting/JenisPenyakitController.php b/app/Http/Controllers/Setting/JenisPenyakitController.php old mode 100755 new mode 100644 diff --git a/app/Http/Controllers/Setting/KategoriKomplainController.php b/app/Http/Controllers/Setting/KategoriKomplainController.php old mode 100755 new mode 100644 diff --git a/app/Http/Controllers/Setting/TipePotensiController.php b/app/Http/Controllers/Setting/TipePotensiController.php old mode 100755 new mode 100644 diff --git a/app/Http/Controllers/Setting/TipeRegulasiController.php b/app/Http/Controllers/Setting/TipeRegulasiController.php old mode 100755 new mode 100644 diff --git a/app/Http/Controllers/SistemKomplain/SistemKomplainController.php b/app/Http/Controllers/SistemKomplain/SistemKomplainController.php old mode 100755 new mode 100644 diff --git a/app/Http/Controllers/User/UserController.php b/app/Http/Controllers/User/UserController.php old mode 100755 new mode 100644 diff --git a/app/Http/Kernel.php b/app/Http/Kernel.php old mode 100755 new mode 100644 index 064a52200..b78272c41 --- a/app/Http/Kernel.php +++ b/app/Http/Kernel.php @@ -110,17 +110,19 @@ class Kernel extends HttpKernel 'bindings' => SubstituteBindings::class, 'cache.headers' => SetCacheHeaders::class, 'can' => Authorize::class, + 'complete_profile' => \App\Http\Middleware\CompleteProfile::class, 'guest' => RedirectIfAuthenticated::class, 'password.confirm' => RequirePassword::class, 'signed' => ValidateSignature::class, 'throttle' => ThrottleRequests::class, 'verified' => EnsureEmailIsVerified::class, // 'check_role' => CheckRole::class, - 'installed' => KDInstalled::class, - 'role' => \Spatie\Permission\Middlewares\RoleMiddleware::class, - 'permission' => \Spatie\Permission\Middlewares\PermissionMiddleware::class, + 'installed' => KDInstalled::class, + 'maintenance' => \App\Http\Middleware\MaintenanceMode::class, + 'role' => \Spatie\Permission\Middlewares\RoleMiddleware::class, + 'permission' => \Spatie\Permission\Middlewares\PermissionMiddleware::class, 'role_or_permission' => \Spatie\Permission\Middlewares\RoleOrPermissionMiddleware::class, - 'xss_sanitization' => \App\Http\Middleware\XssSanitization::class, + 'xss_sanitization' => \App\Http\Middleware\XssSanitization::class, ]; /** diff --git a/app/Http/Middleware/CompleteProfile.php b/app/Http/Middleware/CompleteProfile.php new file mode 100644 index 000000000..8fdb75af2 --- /dev/null +++ b/app/Http/Middleware/CompleteProfile.php @@ -0,0 +1,54 @@ +kecamatan_id) { + return redirect()->route('data.profil.index'); + } + + return $next($request); + } +} diff --git a/app/Http/Middleware/CustomForms.php b/app/Http/Middleware/CustomForms.php old mode 100755 new mode 100644 diff --git a/app/Http/Middleware/EncryptCookies.php b/app/Http/Middleware/EncryptCookies.php old mode 100755 new mode 100644 diff --git a/app/Http/Middleware/KDInstalled.php b/app/Http/Middleware/KDInstalled.php old mode 100755 new mode 100644 diff --git a/app/Http/Middleware/MaintenanceMode.php b/app/Http/Middleware/MaintenanceMode.php new file mode 100644 index 000000000..b5c2d902d --- /dev/null +++ b/app/Http/Middleware/MaintenanceMode.php @@ -0,0 +1,57 @@ +value == 1) { + abort(503); + } + } + + return $next($request); + } +} diff --git a/app/Http/Middleware/RedirectIfAuthenticated.php b/app/Http/Middleware/RedirectIfAuthenticated.php old mode 100755 new mode 100644 diff --git a/app/Http/Middleware/SecurityHeaders.php b/app/Http/Middleware/SecurityHeaders.php index a9a057137..a52deba32 100644 --- a/app/Http/Middleware/SecurityHeaders.php +++ b/app/Http/Middleware/SecurityHeaders.php @@ -50,7 +50,7 @@ public function handle($request, Closure $next) if (app()->environment('production')) { $response->headers->set('X-Content-Type-Options', 'nosniff'); - $response->headers->set('Content-Security-Policy', "default-src 'self';script-src 'self' platform.twitter.com unpkg.com 'unsafe-inline' 'unsafe-eval';style-src 'self' fonts.googleapis.com unpkg.com 'unsafe-inline';img-src 'self' * data:;font-src 'self' fonts.gstatic.com data:;connect-src 'self';media-src 'self';frame-src 'self' platform.twitter.com github.com *.youtube.com *.vimeo.com *.opensid.my.id;object-src 'none';base-uri 'self';report-uri"); + $response->headers->set('Content-Security-Policy', "default-src 'self';script-src 'self' https://pantau.opensid.my.id/ https://cdnjs.cloudflare.com/ajax/libs/tinymce/ https://cdn.jsdelivr.net/npm/ platform.twitter.com unpkg.com 'unsafe-inline' 'unsafe-eval';style-src 'self' https://cdnjs.cloudflare.com/ajax/libs/tinymce/ https://cdn.jsdelivr.net/npm/ fonts.googleapis.com unpkg.com 'unsafe-inline';img-src 'self' * data:;font-src 'self' https://cdnjs.cloudflare.com/ajax/libs/tinymce/ https://cdn.jsdelivr.net/npm/ fonts.gstatic.com data:;connect-src 'self' https://pantau.opensid.my.id/ ;media-src 'self';frame-src 'self' platform.twitter.com github.com *.youtube.com *.vimeo.com *.opensid.my.id;object-src 'none';base-uri 'self';report-uri"); } return $response; diff --git a/app/Http/Middleware/TrimStrings.php b/app/Http/Middleware/TrimStrings.php old mode 100755 new mode 100644 diff --git a/app/Http/Middleware/TrustProxies.php b/app/Http/Middleware/TrustProxies.php old mode 100755 new mode 100644 diff --git a/app/Http/Middleware/VerifyCsrfToken.php b/app/Http/Middleware/VerifyCsrfToken.php old mode 100755 new mode 100644 diff --git a/app/Http/Middleware/XssSanitization.php b/app/Http/Middleware/XssSanitization.php index 4f0d145b1..5bd945004 100644 --- a/app/Http/Middleware/XssSanitization.php +++ b/app/Http/Middleware/XssSanitization.php @@ -50,7 +50,7 @@ public function handle($request, Closure $next) $input = strip_tags($input); }); - $request->merge($input); + $request->merge(array_filter($input)); return $next($request); } diff --git a/app/Http/Requests/ChangeRequest.php b/app/Http/Requests/ChangeRequest.php index edea5f0f7..549ec0c67 100644 --- a/app/Http/Requests/ChangeRequest.php +++ b/app/Http/Requests/ChangeRequest.php @@ -54,9 +54,8 @@ public function authorize() public function rules() { return [ - 'email' => 'required|unique:users,email', 'password' => ['required', 'min:8', 'max:32', new Password()], - 'password_confirmation' => ['required_with:password', 'same:password', 'min:8', 'max:32', new Password()], + 'password_confirmation' => ['required_with:password', 'same:password'], ]; } } diff --git a/app/Http/Requests/RoleRequest.php b/app/Http/Requests/RoleRequest.php old mode 100755 new mode 100644 diff --git a/app/Http/Requests/UserRequest.php b/app/Http/Requests/UserRequest.php old mode 100755 new mode 100644 index 4f50ebd33..268069973 --- a/app/Http/Requests/UserRequest.php +++ b/app/Http/Requests/UserRequest.php @@ -61,12 +61,13 @@ public function rules() $password = ['required', 'min:8', 'max:32', new Password()]; } return [ - 'name' => 'required|regex:/^[A-Za-z\.\']+(?:\s[A-Za-z\.\']+)*$/u|max:255', - 'email' => 'required|email|unique:users,email' . $id, - 'phone' => 'nullable|numeric|digits_between:10,13', - 'password' => $password, - 'address' => 'required', - 'image' => 'nullable|image|mimes:jpg,jpeg,png|max:2048|valid_file', + 'name' => 'required|regex:/^[A-Za-z\.\']+(?:\s[A-Za-z\.\']+)*$/u|max:255', + 'email' => 'required|email|unique:users,email' . $id, + 'phone' => 'nullable|numeric|digits_between:10,13', + 'password' => $password, + 'address' => 'required', + 'image' => 'nullable|image|mimes:jpg,jpeg,png|max:2048|valid_file', + 'pengurus_id' => 'nullable|integer', ]; } } diff --git a/app/Models/Agama.php b/app/Models/Agama.php old mode 100755 new mode 100644 diff --git a/app/Models/AkiAkb.php b/app/Models/AkiAkb.php old mode 100755 new mode 100644 diff --git a/app/Models/AnggaranDesa.php b/app/Models/AnggaranDesa.php old mode 100755 new mode 100644 diff --git a/app/Models/AnggaranRealisasi.php b/app/Models/AnggaranRealisasi.php old mode 100755 new mode 100644 diff --git a/app/Models/Artikel.php b/app/Models/Artikel.php index 0a0ad51fb..6ad2a7cbf 100644 --- a/app/Models/Artikel.php +++ b/app/Models/Artikel.php @@ -67,6 +67,11 @@ public function getGambarAttribute() return $this->attributes['gambar'] ? Storage::url('artikel/' . $this->attributes['gambar']) : null; } + public function getIsiAttribute() + { + return str_replace('//storage', '/storage', $this->attributes['isi']); + } + public function scopeStatus($query, $value = 1) { return $query->where('status', $value); diff --git a/app/Models/Cacat.php b/app/Models/Cacat.php old mode 100755 new mode 100644 diff --git a/app/Models/CaraKB.php b/app/Models/CaraKB.php old mode 100755 new mode 100644 diff --git a/app/Models/Coa.php b/app/Models/Coa.php old mode 100755 new mode 100644 diff --git a/app/Models/CoaType.php b/app/Models/CoaType.php old mode 100755 new mode 100644 diff --git a/app/Models/CounterPage.php b/app/Models/CounterPage.php old mode 100755 new mode 100644 diff --git a/app/Models/CounterVisitor.php b/app/Models/CounterVisitor.php old mode 100755 new mode 100644 diff --git a/app/Models/DataDesa.php b/app/Models/DataDesa.php old mode 100755 new mode 100644 index 3ca53a10b..592cec666 --- a/app/Models/DataDesa.php +++ b/app/Models/DataDesa.php @@ -41,6 +41,7 @@ class DataDesa extends Model protected $fillable = [ 'desa_id', 'nama', + 'sebutan_desa', 'website', 'luas_wilayah', 'path' diff --git a/app/Models/DataUmum.php b/app/Models/DataUmum.php old mode 100755 new mode 100644 diff --git a/app/Models/EpidemiPenyakit.php b/app/Models/EpidemiPenyakit.php old mode 100755 new mode 100644 diff --git a/app/Models/Event.php b/app/Models/Event.php old mode 100755 new mode 100644 diff --git a/app/Models/Faq.php b/app/Models/Faq.php old mode 100755 new mode 100644 diff --git a/app/Models/FasilitasPAUD.php b/app/Models/FasilitasPAUD.php old mode 100755 new mode 100644 diff --git a/app/Models/FormDokumen.php b/app/Models/FormDokumen.php old mode 100755 new mode 100644 diff --git a/app/Models/GolonganDarah.php b/app/Models/GolonganDarah.php old mode 100755 new mode 100644 diff --git a/app/Models/HubunganKeluarga.php b/app/Models/HubunganKeluarga.php old mode 100755 new mode 100644 diff --git a/app/Models/Imunisasi.php b/app/Models/Imunisasi.php old mode 100755 new mode 100644 diff --git a/app/Models/JawabKomplain.php b/app/Models/JawabKomplain.php old mode 100755 new mode 100644 diff --git a/app/Models/JenisPenyakit.php b/app/Models/JenisPenyakit.php old mode 100755 new mode 100644 diff --git a/app/Models/KategoriKomplain.php b/app/Models/KategoriKomplain.php old mode 100755 new mode 100644 diff --git a/app/Models/Kawin.php b/app/Models/Kawin.php old mode 100755 new mode 100644 diff --git a/app/Models/Keluarga.php b/app/Models/Keluarga.php old mode 100755 new mode 100644 diff --git a/app/Models/Komplain.php b/app/Models/Komplain.php old mode 100755 new mode 100644 diff --git a/app/Models/LogImport.php b/app/Models/LogImport.php old mode 100755 new mode 100644 diff --git a/app/Models/Menu.php b/app/Models/Menu.php old mode 100755 new mode 100644 diff --git a/app/Models/Pekerjaan.php b/app/Models/Pekerjaan.php old mode 100755 new mode 100644 diff --git a/app/Models/Pendidikan.php b/app/Models/Pendidikan.php old mode 100755 new mode 100644 diff --git a/app/Models/PendidikanKK.php b/app/Models/PendidikanKK.php old mode 100755 new mode 100644 diff --git a/app/Models/Penduduk.php b/app/Models/Penduduk.php old mode 100755 new mode 100644 diff --git a/app/Models/PesertaProgram.php b/app/Models/PesertaProgram.php old mode 100755 new mode 100644 diff --git a/app/Models/Potensi.php b/app/Models/Potensi.php old mode 100755 new mode 100644 diff --git a/app/Models/Profil.php b/app/Models/Profil.php old mode 100755 new mode 100644 diff --git a/app/Models/Program.php b/app/Models/Program.php old mode 100755 new mode 100644 diff --git a/app/Models/Prosedur.php b/app/Models/Prosedur.php old mode 100755 new mode 100644 diff --git a/app/Models/PutusSekolah.php b/app/Models/PutusSekolah.php old mode 100755 new mode 100644 diff --git a/app/Models/Regulasi.php b/app/Models/Regulasi.php old mode 100755 new mode 100644 diff --git a/app/Models/SakitMenahun.php b/app/Models/SakitMenahun.php old mode 100755 new mode 100644 diff --git a/app/Models/SubCoa.php b/app/Models/SubCoa.php old mode 100755 new mode 100644 diff --git a/app/Models/SubSubCoa.php b/app/Models/SubSubCoa.php old mode 100755 new mode 100644 diff --git a/app/Models/TingkatPendidikan.php b/app/Models/TingkatPendidikan.php old mode 100755 new mode 100644 diff --git a/app/Models/TipePotensi.php b/app/Models/TipePotensi.php old mode 100755 new mode 100644 diff --git a/app/Models/TipeRegulasi.php b/app/Models/TipeRegulasi.php old mode 100755 new mode 100644 diff --git a/app/Models/ToiletSanitasi.php b/app/Models/ToiletSanitasi.php old mode 100755 new mode 100644 diff --git a/app/Models/Umur.php b/app/Models/Umur.php old mode 100755 new mode 100644 diff --git a/app/Models/User.php b/app/Models/User.php old mode 100755 new mode 100644 diff --git a/app/Models/Warganegara.php b/app/Models/Warganegara.php old mode 100755 new mode 100644 diff --git a/app/Models/WilClusterDesa.php b/app/Models/WilClusterDesa.php old mode 100755 new mode 100644 diff --git a/app/Providers/AppServiceProvider.php b/app/Providers/AppServiceProvider.php old mode 100755 new mode 100644 diff --git a/app/Providers/AuthServiceProvider.php b/app/Providers/AuthServiceProvider.php old mode 100755 new mode 100644 diff --git a/app/Providers/BroadcastServiceProvider.php b/app/Providers/BroadcastServiceProvider.php old mode 100755 new mode 100644 diff --git a/app/Providers/EventServiceProvider.php b/app/Providers/EventServiceProvider.php old mode 100755 new mode 100644 diff --git a/app/Providers/KDServiceProvider.php b/app/Providers/KDServiceProvider.php old mode 100755 new mode 100644 diff --git a/app/Providers/RouteServiceProvider.php b/app/Providers/RouteServiceProvider.php old mode 100755 new mode 100644 diff --git a/app/Rules/Password.php b/app/Rules/Password.php index 3fd208f16..d3a29899c 100644 --- a/app/Rules/Password.php +++ b/app/Rules/Password.php @@ -54,7 +54,7 @@ public function __construct() */ public function passes($attribute, $value) { - return preg_match('/^.*(?=.{3,})(?=.*[a-zA-Z])(?=.*[0-9])(?=.*[\d\x])(?=.*[.,!$#%]).*$/', $value); + return preg_match('/^.*(?=.{3,})(?=.*[a-zA-Z])(?=.*[0-9])(?=.*[\d\x])(?=.*[`~!@#$%^&*()\-_=+[\]{};:\'\",.\/<>?]).*$/', $value); } /** diff --git a/artisan b/artisan old mode 100755 new mode 100644 diff --git a/bootstrap/app.php b/bootstrap/app.php old mode 100755 new mode 100644 diff --git a/bootstrap/cache/.gitignore b/bootstrap/cache/.gitignore old mode 100755 new mode 100644 diff --git a/catatan_rilis.md b/catatan_rilis.md index d6bdf39cc..35db800c4 100644 --- a/catatan_rilis.md +++ b/catatan_rilis.md @@ -1,31 +1,28 @@ -Di rilis v2310.0.0 berisi perbaikan yang diminta Komunitas OpenDK. +Di rilis v2311.0.0 berisi perbaikan yang diminta Komunitas OpenDK. Terima kasih pada totoprayogo1916 yang terus berkontribusi. -#### Perbaikan Bug -1. [#836](https://github.com/OpenSID/OpenDK/issues/836) Perbaikan validasi tanggal event. -2. [#784](https://github.com/OpenSID/OpenDK/issues/784) Perbaikan tidak bisa gunakan php versi 8.0.x. -3. [#858](https://github.com/OpenSID/OpenDK/issues/858) Perbaikan tambah jabatan perangkat kecamatan. -4. [#844](https://github.com/OpenSID/OpenDK/issues/844) Perbaikan tidak bisa tambah atau ubah profil jika tidak ada akses pantau. -5. [#861](https://github.com/OpenSID/OpenDK/issues/861) Perbaikan tidak bisa tambah atau ubah data desa jika tidak ada akses pantau. -6. [#862](https://github.com/OpenSID/OpenDK/issues/862) Perbaikan tambah pengguna baru. -7. [#865](https://github.com/OpenSID/OpenDK/issues/865) Perbaikan notifikasi pada halaman ganti password default. -8. [#875](https://github.com/OpenSID/OpenDK/issues/875) Perbaikan pengurutan pada tanggal terbit artikel. -9. [#821](https://github.com/OpenSID/OpenDK/issues/821) Perbaikan migrasi rollback. -#### Penyesuaian Teknis -1. [#797](https://github.com/OpenSID/OpenDK/issues/797) Penyesuaian editor menggunakan tinymce pada form profil keacamtan. -2. [#828](https://github.com/OpenSID/OpenDK/issues/828) Penyesuaian editor menggunakan tinymce pada form faq. -3. [#838](https://github.com/OpenSID/OpenDK/issues/838) Penyesuaian package yang tidak digunakan. -4. [#828](https://github.com/OpenSID/OpenDK/issues/828) Penyesuaian editor menggunakan tinymce pada form event. -5. [#854](https://github.com/OpenSID/OpenDK/issues/854) Penyesuaian editor menggunakan tinymce pada form data umum. -6. [#842](https://github.com/OpenSID/OpenDK/issues/842) Penyesuaian proses instalasi dengan wizard. -7. [#818](https://github.com/OpenSID/OpenDK/issues/818) Penyesuaian view blade menggunakan library prettier. -8. [#860](https://github.com/OpenSID/OpenDK/issues/860) Penghapusan library CKEditor. +#### Penambahan Fitur + +1. [#883](https://github.com/OpenSID/OpenDK/issues/883) Penambahan informasi catatan rilis. +2. [#528](https://github.com/OpenSID/OpenDK/issues/528) Penambahan fungsi untuk jalankan migrasi lewat admin. +3. [#567](https://github.com/OpenSID/OpenDK/issues/567) Penambahan pengaturan dan halaman maintenace. +4. [#863](https://github.com/OpenSID/OpenDK/issues/863) Penambahan form ubah sebutan desa pada data desa. -#### Peningkatan Keamanan -1. [#796](https://github.com/OpenSID/OpenDK/issues/796) Penggunaan aturan password yang kuat. -2. [#17](https://github.com/OpenSID/wiki-keamanan/issues/17) Pembatasan xss pada admin faq. -3. [#16](https://github.com/OpenSID/wiki-keamanan/issues/16) Pembatasan xss pada web event. +#### Perbaikan Bug +1. [#871](https://github.com/OpenSID/OpenDK/issues/871) Perbaikan sitemap. +2. [#847](https://github.com/OpenSID/OpenDK/issues/847) Perbaikan validasi pengecekan ganti password default. +3. [#881](https://github.com/OpenSID/OpenDK/issues/881) Perbaikan CSP untuk tinymce dan filemanager. +4. [#892](https://github.com/OpenSID/OpenDK/issues/892) Perbaikan tidak bisa akses data pantau pada mode produksi. +5. [#890](https://github.com/OpenSID/OpenDK/issues/890) Perbaikan tidak bisa akses modul info-sistem. +6. [#885](https://github.com/OpenSID/OpenDK/issues/885) Perbaikan validasi form pengurus. +7. [#901](https://github.com/OpenSID/OpenDK/issues/901) Perbaikan gambar artikel tidak tampil. +8. [#905](https://github.com/OpenSID/OpenDK/issues/905) Perbaikan masih bisa akses halaman lain ketika profil belum lengkap. + +#### Penyesuaian Teknis +1. [#802](https://github.com/OpenSID/OpenDK/issues/802) Penyesuaian .gitignore +2. [#835](https://github.com/OpenSID/OpenDK/issues/835) Penyesuaian kirim data ke pantau. +3. [#773](https://github.com/OpenSID/OpenDK/issues/773) Penyesuaian data demo untuk modul slider. diff --git a/config/app.php b/config/app.php index 880ba1853..3e55b89cc 100644 --- a/config/app.php +++ b/config/app.php @@ -37,7 +37,7 @@ |-------------------------------------------------------------------------- */ - 'version' => 'v2310.0.0', + 'version' => 'v2311.0.0', /* |-------------------------------------------------------------------------- diff --git a/config/auth.php b/config/auth.php old mode 100755 new mode 100644 diff --git a/config/broadcasting.php b/config/broadcasting.php old mode 100755 new mode 100644 diff --git a/config/cache.php b/config/cache.php old mode 100755 new mode 100644 diff --git a/config/captcha.php b/config/captcha.php old mode 100755 new mode 100644 diff --git a/config/database.php b/config/database.php old mode 100755 new mode 100644 diff --git a/config/excel.php b/config/excel.php old mode 100755 new mode 100644 diff --git a/config/filesystems.php b/config/filesystems.php old mode 100755 new mode 100644 diff --git a/config/installer.php b/config/installer.php old mode 100755 new mode 100644 diff --git a/config/jsvalidation.php b/config/jsvalidation.php old mode 100755 new mode 100644 diff --git a/config/mail.php b/config/mail.php old mode 100755 new mode 100644 diff --git a/config/queue.php b/config/queue.php old mode 100755 new mode 100644 diff --git a/config/services.php b/config/services.php old mode 100755 new mode 100644 diff --git a/config/session.php b/config/session.php old mode 100755 new mode 100644 diff --git a/config/sluggable.php b/config/sluggable.php old mode 100755 new mode 100644 diff --git a/config/view.php b/config/view.php old mode 100755 new mode 100644 diff --git a/database/.gitignore b/database/.gitignore old mode 100755 new mode 100644 diff --git a/database/factories/UserFactory.php b/database/factories/UserFactory.php old mode 100755 new mode 100644 diff --git a/database/migrations/.gitkeep b/database/migrations/.gitkeep old mode 100755 new mode 100644 diff --git a/database/migrations/2014_07_02_230147_migration_cartalyst_sentinel.php b/database/migrations/2014_07_02_230147_migration_cartalyst_sentinel.php old mode 100755 new mode 100644 diff --git a/database/migrations/2017_10_31_165346_create_menus_tables.php b/database/migrations/2017_10_31_165346_create_menus_tables.php old mode 100755 new mode 100644 diff --git a/database/migrations/2018_01_19_231052_create_prosedur_table.php b/database/migrations/2018_01_19_231052_create_prosedur_table.php old mode 100755 new mode 100644 diff --git a/database/migrations/2018_01_21_194204_create_faq_table.php b/database/migrations/2018_01_21_194204_create_faq_table.php old mode 100755 new mode 100644 diff --git a/database/migrations/2018_01_22_113639_create_events_table.php b/database/migrations/2018_01_22_113639_create_events_table.php old mode 100755 new mode 100644 diff --git a/database/migrations/2018_01_24_183803_create_regulasi_table.php b/database/migrations/2018_01_24_183803_create_regulasi_table.php old mode 100755 new mode 100644 diff --git a/database/migrations/2018_01_27_084715_create_kecamatan_table.php b/database/migrations/2018_01_27_084715_create_kecamatan_table.php old mode 100755 new mode 100644 diff --git a/database/migrations/2018_01_27_084807_create_provinsi_table.php b/database/migrations/2018_01_27_084807_create_provinsi_table.php old mode 100755 new mode 100644 diff --git a/database/migrations/2018_01_27_084828_create_kabupaten_table.php b/database/migrations/2018_01_27_084828_create_kabupaten_table.php old mode 100755 new mode 100644 diff --git a/database/migrations/2018_01_27_091024_create_desa_table.php b/database/migrations/2018_01_27_091024_create_desa_table.php old mode 100755 new mode 100644 diff --git a/database/migrations/2018_01_27_143943_create_profils_table.php b/database/migrations/2018_01_27_143943_create_profils_table.php old mode 100755 new mode 100644 diff --git a/database/migrations/2018_02_01_083021_create_data_umum_table.php b/database/migrations/2018_02_01_083021_create_data_umum_table.php old mode 100755 new mode 100644 diff --git a/database/migrations/2018_02_07_041730_create_penduduk_table.php b/database/migrations/2018_02_07_041730_create_penduduk_table.php old mode 100755 new mode 100644 diff --git a/database/migrations/2018_02_07_044425_create_pekerjaan_table.php b/database/migrations/2018_02_07_044425_create_pekerjaan_table.php old mode 100755 new mode 100644 diff --git a/database/migrations/2018_02_07_061956_create_agama_table.php b/database/migrations/2018_02_07_061956_create_agama_table.php old mode 100755 new mode 100644 diff --git a/database/migrations/2018_02_07_081809_create_kawin_table.php b/database/migrations/2018_02_07_081809_create_kawin_table.php old mode 100755 new mode 100644 diff --git a/database/migrations/2018_02_07_120658_create_hubungan_keluarga_table.php b/database/migrations/2018_02_07_120658_create_hubungan_keluarga_table.php old mode 100755 new mode 100644 diff --git a/database/migrations/2018_02_07_132847_create_pendidikan_kk_table.php b/database/migrations/2018_02_07_132847_create_pendidikan_kk_table.php old mode 100755 new mode 100644 diff --git a/database/migrations/2018_02_07_132956_create_pendidikan_table.php b/database/migrations/2018_02_07_132956_create_pendidikan_table.php old mode 100755 new mode 100644 diff --git a/database/migrations/2018_02_07_141701_create_warganegara_table.php b/database/migrations/2018_02_07_141701_create_warganegara_table.php old mode 100755 new mode 100644 diff --git a/database/migrations/2018_02_07_161046_create_golongan_darah_table.php b/database/migrations/2018_02_07_161046_create_golongan_darah_table.php old mode 100755 new mode 100644 diff --git a/database/migrations/2018_02_07_161652_create_cacat_table.php b/database/migrations/2018_02_07_161652_create_cacat_table.php old mode 100755 new mode 100644 diff --git a/database/migrations/2018_02_07_162450_create_sakit_menahun_table.php b/database/migrations/2018_02_07_162450_create_sakit_menahun_table.php old mode 100755 new mode 100644 diff --git a/database/migrations/2018_02_07_163236_create_cara_kb_table.php b/database/migrations/2018_02_07_163236_create_cara_kb_table.php old mode 100755 new mode 100644 diff --git a/database/migrations/2018_02_11_173433_create_proses_ektp_table.php b/database/migrations/2018_02_11_173433_create_proses_ektp_table.php old mode 100755 new mode 100644 diff --git a/database/migrations/2018_02_13_043336_create_proses_kk_table.php b/database/migrations/2018_02_13_043336_create_proses_kk_table.php old mode 100755 new mode 100644 diff --git a/database/migrations/2018_02_13_065923_create_proses_akta_lahir_table.php b/database/migrations/2018_02_13_065923_create_proses_akta_lahir_table.php old mode 100755 new mode 100644 diff --git a/database/migrations/2018_02_13_111006_create_proses_domisili_table.php b/database/migrations/2018_02_13_111006_create_proses_domisili_table.php old mode 100755 new mode 100644 diff --git a/database/migrations/2018_02_27_030954_create_keluarga_table.php b/database/migrations/2018_02_27_030954_create_keluarga_table.php old mode 100755 new mode 100644 diff --git a/database/migrations/2018_02_27_033644_create_wil_clusterdesa_table.php b/database/migrations/2018_02_27_033644_create_wil_clusterdesa_table.php old mode 100755 new mode 100644 diff --git a/database/migrations/2018_02_28_094700_create_umur_table.php b/database/migrations/2018_02_28_094700_create_umur_table.php old mode 100755 new mode 100644 diff --git a/database/migrations/2018_04_11_164146_create_komplain_table.php b/database/migrations/2018_04_11_164146_create_komplain_table.php old mode 100755 new mode 100644 diff --git a/database/migrations/2018_04_19_131534_create_kategori_komplain_table.php b/database/migrations/2018_04_19_131534_create_kategori_komplain_table.php old mode 100755 new mode 100644 diff --git a/database/migrations/2018_04_25_183835_create_tipe_regulasi_table.php b/database/migrations/2018_04_25_183835_create_tipe_regulasi_table.php old mode 100755 new mode 100644 diff --git a/database/migrations/2018_04_28_053520_create_counter_page_table.php b/database/migrations/2018_04_28_053520_create_counter_page_table.php old mode 100755 new mode 100644 diff --git a/database/migrations/2018_04_28_053738_create_counter_visitor_table.php b/database/migrations/2018_04_28_053738_create_counter_visitor_table.php old mode 100755 new mode 100644 diff --git a/database/migrations/2018_04_28_053847_create_counter_page_visitor.php b/database/migrations/2018_04_28_053847_create_counter_page_visitor.php old mode 100755 new mode 100644 diff --git a/database/migrations/2018_05_03_101258_create_form_dokumen_table.php b/database/migrations/2018_05_03_101258_create_form_dokumen_table.php old mode 100755 new mode 100644 diff --git a/database/migrations/2018_05_04_232147_create_data_desa_table.php b/database/migrations/2018_05_04_232147_create_data_desa_table.php old mode 100755 new mode 100644 diff --git a/database/migrations/2018_05_10_054617_create_akib_table.php b/database/migrations/2018_05_10_054617_create_akib_table.php old mode 100755 new mode 100644 diff --git a/database/migrations/2018_05_10_125321_create_imunisasi_table.php b/database/migrations/2018_05_10_125321_create_imunisasi_table.php old mode 100755 new mode 100644 diff --git a/database/migrations/2018_05_10_192220_create_penyakit_table.php b/database/migrations/2018_05_10_192220_create_penyakit_table.php old mode 100755 new mode 100644 diff --git a/database/migrations/2018_05_11_045417_create_epidemi_penyakit_table.php b/database/migrations/2018_05_11_045417_create_epidemi_penyakit_table.php old mode 100755 new mode 100644 diff --git a/database/migrations/2018_05_11_062834_create_toilet_sanitasi_table.php b/database/migrations/2018_05_11_062834_create_toilet_sanitasi_table.php old mode 100755 new mode 100644 diff --git a/database/migrations/2018_05_15_175503_create_tingkat_pendidikan_table.php b/database/migrations/2018_05_15_175503_create_tingkat_pendidikan_table.php old mode 100755 new mode 100644 diff --git a/database/migrations/2018_05_15_180306_create_failitas_paud_table.php b/database/migrations/2018_05_15_180306_create_failitas_paud_table.php old mode 100755 new mode 100644 diff --git a/database/migrations/2018_05_22_154137_create_jawab_komplain_table.php b/database/migrations/2018_05_22_154137_create_jawab_komplain_table.php old mode 100755 new mode 100644 diff --git a/database/migrations/2018_05_23_002258_create_coa_type_table.php b/database/migrations/2018_05_23_002258_create_coa_type_table.php old mode 100755 new mode 100644 diff --git a/database/migrations/2018_05_23_002514_create_sub_coa_table.php b/database/migrations/2018_05_23_002514_create_sub_coa_table.php old mode 100755 new mode 100644 diff --git a/database/migrations/2018_05_23_002657_create_sub_sub_coa_table.php b/database/migrations/2018_05_23_002657_create_sub_sub_coa_table.php old mode 100755 new mode 100644 diff --git a/database/migrations/2018_05_23_002747_create_coa_table.php b/database/migrations/2018_05_23_002747_create_coa_table.php old mode 100755 new mode 100644 diff --git a/database/migrations/2018_05_29_145439_create_putus_sekolah_table.php b/database/migrations/2018_05_29_145439_create_putus_sekolah_table.php old mode 100755 new mode 100644 diff --git a/database/migrations/2018_05_31_094821_create_potensi_table.php b/database/migrations/2018_05_31_094821_create_potensi_table.php old mode 100755 new mode 100644 diff --git a/database/migrations/2018_06_01_021440_create_anggaran_realisasi_table.php b/database/migrations/2018_06_01_021440_create_anggaran_realisasi_table.php old mode 100755 new mode 100644 diff --git a/database/migrations/2018_06_01_221500_create_anggaran_desa_table.php b/database/migrations/2018_06_01_221500_create_anggaran_desa_table.php old mode 100755 new mode 100644 diff --git a/database/migrations/2018_06_04_042538_create_log_penduduk_table.php b/database/migrations/2018_06_04_042538_create_log_penduduk_table.php old mode 100755 new mode 100644 diff --git a/database/migrations/2018_06_05_013340_create_program_table.php b/database/migrations/2018_06_05_013340_create_program_table.php old mode 100755 new mode 100644 diff --git a/database/migrations/2018_06_05_014323_create_peserta_program_table.php b/database/migrations/2018_06_05_014323_create_peserta_program_table.php old mode 100755 new mode 100644 diff --git a/database/migrations/2018_07_07_143736_create_tipe_potensis_table.php b/database/migrations/2018_07_07_143736_create_tipe_potensis_table.php old mode 100755 new mode 100644 diff --git a/database/migrations/2018_07_12_020005_create_log_imports_table.php b/database/migrations/2018_07_12_020005_create_log_imports_table.php old mode 100755 new mode 100644 diff --git a/database/migrations/2023_10_19_154602_maintenance_mode.php b/database/migrations/2023_10_19_154602_maintenance_mode.php new file mode 100644 index 000000000..7a0f5f12f --- /dev/null +++ b/database/migrations/2023_10_19_154602_maintenance_mode.php @@ -0,0 +1,65 @@ + 11, + 'key' => 'mode_maintenance', + 'value' => Status::TidakAktif, + 'type' => 'boolean', + 'description' => 'Mode maintenance.', + 'kategori' => 'web', + 'option' => '{}', + ]); + } + + /** + * Reverse the migrations. + * + * @return void + */ + public function down() + { + SettingAplikasi::where('key', 'mode_maintenance')->delete(); + } +} diff --git a/database/seeds/DasDataUmumTableSeeder.php b/database/seeds/DasDataUmumTableSeeder.php old mode 100755 new mode 100644 diff --git a/database/seeds/DasKategoriKomplainTableSeeder.php b/database/seeds/DasKategoriKomplainTableSeeder.php old mode 100755 new mode 100644 diff --git a/database/seeds/DasMenuTableSeeder.php b/database/seeds/DasMenuTableSeeder.php old mode 100755 new mode 100644 diff --git a/database/seeds/DasTipeRegulasiTableSeeder.php b/database/seeds/DasTipeRegulasiTableSeeder.php old mode 100755 new mode 100644 diff --git a/database/seeds/DatabaseSeeder.php b/database/seeds/DatabaseSeeder.php old mode 100755 new mode 100644 diff --git a/database/seeds/Demo/DemoSliderSeeder.php b/database/seeds/Demo/DemoSliderSeeder.php new file mode 100644 index 000000000..2e214bbe4 --- /dev/null +++ b/database/seeds/Demo/DemoSliderSeeder.php @@ -0,0 +1,71 @@ + 'Pantai Garassikang', + 'deskripsi' => 'Lokasi: Bulu Jaya, Kecamatan Bangkala Barat, Kabupaten Jeneponto, Sulawesi Selatan', + 'gambar' => 'https://github.com/OpenSID/OpenDK/assets/14155050/6e15ddc5-cf52-490b-b997-5e8b57f1e446', + ], + [ + 'judul' => 'Batu Siping', + 'deskripsi' => 'Lokasi: Karampuang, Desa Garassikang, Kecamatan Bangkala Barat, Kabupaten Jeneponto, Sulawesi Selatan', + 'gambar' => 'https://github.com/OpenSID/OpenDK/assets/14155050/b9a3ba56-8916-4820-ac50-8961a40a279e', + ], + [ + 'judul' => 'Bukit Sinalu Bulu Jaya', + 'deskripsi' => 'Lokasi: Bulu Jaya, Kecamatan Bangkala Barat, Kabupaten Jeneponto, Sulawesi Selatan', + 'gambar' => 'https://github.com/OpenSID/OpenDK/assets/14155050/83fcdfde-07eb-4d58-a57f-689b76bcbaa3', + ], + [ + 'judul' => 'Pantai Tamarunang', + 'deskripsi' => 'Lokasi: Tamarunang, Pabiringa, Kecamatan Binamu, Kabupaten Jeneponto, Sulawesi Selatan', + 'gambar' => 'https://github.com/OpenSID/OpenDK/assets/14155050/2eac1709-fa16-4f14-9bde-9853df9d2534', + ], + ]; + + Slide::insert($data); + } +} diff --git a/database/seeds/DemoDatabaseSeeder.php b/database/seeds/DemoDatabaseSeeder.php index 28acc884b..e604ff166 100644 --- a/database/seeds/DemoDatabaseSeeder.php +++ b/database/seeds/DemoDatabaseSeeder.php @@ -53,6 +53,7 @@ use Database\Seeds\Demo\DemoPutusSekolahSeeder; use Database\Seeds\Demo\DemoRegulasiSeeder; use Database\Seeds\Demo\DemoSinergiProgramSeeder; +use Database\Seeds\Demo\DemoSliderSeeder; use Database\Seeds\Demo\DemoTingkatPendidikanSeeder; use Database\Seeds\Demo\DemoToiletSanitasiSeeder; use Illuminate\Database\Seeder; @@ -95,5 +96,6 @@ public function run() $this->call(DemoFaqSeeder::class); $this->call(DemoMediaSosialSeeder::class); $this->call(DemoSinergiProgramSeeder::class); + $this->call(DemoSliderSeeder::class); } } diff --git a/database/seeds/RefAgamaTableSeeder.php b/database/seeds/RefAgamaTableSeeder.php old mode 100755 new mode 100644 diff --git a/database/seeds/RefCacatTableSeeder.php b/database/seeds/RefCacatTableSeeder.php old mode 100755 new mode 100644 diff --git a/database/seeds/RefCaraKbTableSeeder.php b/database/seeds/RefCaraKbTableSeeder.php old mode 100755 new mode 100644 diff --git a/database/seeds/RefCoaTableSeeder.php b/database/seeds/RefCoaTableSeeder.php old mode 100755 new mode 100644 diff --git a/database/seeds/RefCoaTypeTableSeeder.php b/database/seeds/RefCoaTypeTableSeeder.php old mode 100755 new mode 100644 diff --git a/database/seeds/RefGolonganDarahTableSeeder.php b/database/seeds/RefGolonganDarahTableSeeder.php old mode 100755 new mode 100644 diff --git a/database/seeds/RefHubunganKeluargaTableSeeder.php b/database/seeds/RefHubunganKeluargaTableSeeder.php old mode 100755 new mode 100644 diff --git a/database/seeds/RefKawinTableSeeder.php b/database/seeds/RefKawinTableSeeder.php old mode 100755 new mode 100644 diff --git a/database/seeds/RefPekerjaanTableSeeder.php b/database/seeds/RefPekerjaanTableSeeder.php old mode 100755 new mode 100644 diff --git a/database/seeds/RefPendidikanKkTableSeeder.php b/database/seeds/RefPendidikanKkTableSeeder.php old mode 100755 new mode 100644 diff --git a/database/seeds/RefPendidikanTableSeeder.php b/database/seeds/RefPendidikanTableSeeder.php old mode 100755 new mode 100644 diff --git a/database/seeds/RefPenyakitTableSeeder.php b/database/seeds/RefPenyakitTableSeeder.php old mode 100755 new mode 100644 diff --git a/database/seeds/RefSakitMenahunTableSeeder.php b/database/seeds/RefSakitMenahunTableSeeder.php old mode 100755 new mode 100644 diff --git a/database/seeds/RefSubCoaTableSeeder.php b/database/seeds/RefSubCoaTableSeeder.php old mode 100755 new mode 100644 diff --git a/database/seeds/RefSubSubCoaTableSeeder.php b/database/seeds/RefSubSubCoaTableSeeder.php old mode 100755 new mode 100644 diff --git a/database/seeds/RefUmurTableSeeder.php b/database/seeds/RefUmurTableSeeder.php old mode 100755 new mode 100644 diff --git a/database/seeds/RefWarganegaraTableSeeder.php b/database/seeds/RefWarganegaraTableSeeder.php old mode 100755 new mode 100644 diff --git a/helpers/general_helper.php b/helpers/general_helper.php index 48e630afa..4d2ab30d9 100644 --- a/helpers/general_helper.php +++ b/helpers/general_helper.php @@ -421,3 +421,16 @@ function checkWebsiteAccessibility($url) return false; } } + +if (!function_exists('parsedown')) { + function parsedown($params = null) + { + $parsedown = new \App\Http\Controllers\Helpers\Parsedown(); + + if (null !== $params) { + return $parsedown->text(file_get_contents($params)); + } + + return $parsedown; + } +} diff --git a/package-lock.json b/package-lock.json index 5f3e11b41..ab78cbd57 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1127,9 +1127,9 @@ } }, "node_modules/postcss": { - "version": "8.4.28", - "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.4.28.tgz", - "integrity": "sha512-Z7V5j0cq8oEKyejIKfpD8b4eBy9cwW2JWPk0+fB1HOAMsfHbnAXLLS+PfVWlzMSLQaWttKDt607I0XHmpE67Vw==", + "version": "8.4.31", + "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.4.31.tgz", + "integrity": "sha512-PS08Iboia9mts/2ygV3eLpY5ghnUcfLV/EXTOW1E2qYxJKGGBUtNjN76FYHnMs36RmARn41bC0AZmn+rR0OVpQ==", "dev": true, "funding": [ { diff --git a/phpunit.xml b/phpunit.xml old mode 100755 new mode 100644 diff --git a/public/.htaccess b/public/.htaccess old mode 100755 new mode 100644 diff --git a/public/css/admin-style.css b/public/css/admin-style.css index 57cba50da..2f03d909b 100644 --- a/public/css/admin-style.css +++ b/public/css/admin-style.css @@ -33,3 +33,25 @@ .mailbox-read-message{ border-bottom: 1px solid #e6e6e6; } + +.control-sidebar { + right: -40%; + width: 40%; +} + +.control-sidebar.control-sidebar-open { + right: 0; + width: 40%; +} + +@media (max-width: 576px) { + .control-sidebar.control-sidebar-open { + width: 60%; + } +} + +@media (max-width: 768px) { + .control-sidebar.control-sidebar-open { + width: 100%; + } +} \ No newline at end of file diff --git a/resources/assets/js/app.js b/resources/assets/js/app.js old mode 100755 new mode 100644 diff --git a/resources/assets/js/bootstrap.js b/resources/assets/js/bootstrap.js old mode 100755 new mode 100644 diff --git a/resources/assets/js/components/ExampleComponent.vue b/resources/assets/js/components/ExampleComponent.vue old mode 100755 new mode 100644 diff --git a/resources/assets/sass/_variables.scss b/resources/assets/sass/_variables.scss old mode 100755 new mode 100644 diff --git a/resources/assets/sass/app.scss b/resources/assets/sass/app.scss old mode 100755 new mode 100644 diff --git a/resources/lang/ar/installer_messages.php b/resources/lang/ar/installer_messages.php old mode 100755 new mode 100644 diff --git a/resources/lang/de/installer_messages.php b/resources/lang/de/installer_messages.php old mode 100755 new mode 100644 diff --git a/resources/lang/en/auth.php b/resources/lang/en/auth.php old mode 100755 new mode 100644 diff --git a/resources/lang/en/installer_messages.php b/resources/lang/en/installer_messages.php old mode 100755 new mode 100644 diff --git a/resources/lang/en/pagination.php b/resources/lang/en/pagination.php old mode 100755 new mode 100644 diff --git a/resources/lang/en/passwords.php b/resources/lang/en/passwords.php old mode 100755 new mode 100644 diff --git a/resources/lang/en/validation.php b/resources/lang/en/validation.php old mode 100755 new mode 100644 diff --git a/resources/lang/es/installer_messages.php b/resources/lang/es/installer_messages.php old mode 100755 new mode 100644 diff --git a/resources/lang/et/installer_messages.php b/resources/lang/et/installer_messages.php old mode 100755 new mode 100644 diff --git a/resources/lang/fa/installer_messages.php b/resources/lang/fa/installer_messages.php old mode 100755 new mode 100644 diff --git a/resources/lang/fr/installer_messages.php b/resources/lang/fr/installer_messages.php old mode 100755 new mode 100644 diff --git a/resources/lang/gr/installer_messages.php b/resources/lang/gr/installer_messages.php old mode 100755 new mode 100644 diff --git a/resources/lang/id/installer_messages.php b/resources/lang/id/installer_messages.php old mode 100755 new mode 100644 diff --git a/resources/lang/it/installer_messages.php b/resources/lang/it/installer_messages.php old mode 100755 new mode 100644 diff --git a/resources/lang/nl/installer_messages.php b/resources/lang/nl/installer_messages.php old mode 100755 new mode 100644 diff --git a/resources/lang/pl/installer_messages.php b/resources/lang/pl/installer_messages.php old mode 100755 new mode 100644 diff --git a/resources/lang/pt-br/installer_messages.php b/resources/lang/pt-br/installer_messages.php old mode 100755 new mode 100644 diff --git a/resources/lang/pt/installer_messages.php b/resources/lang/pt/installer_messages.php old mode 100755 new mode 100644 diff --git a/resources/lang/ro/installer_messages.php b/resources/lang/ro/installer_messages.php old mode 100755 new mode 100644 diff --git a/resources/lang/ru/installer_messages.php b/resources/lang/ru/installer_messages.php old mode 100755 new mode 100644 diff --git a/resources/lang/tr/installer_messages.php b/resources/lang/tr/installer_messages.php old mode 100755 new mode 100644 diff --git a/resources/lang/zh-CN/installer_messages.php b/resources/lang/zh-CN/installer_messages.php old mode 100755 new mode 100644 diff --git a/resources/lang/zh-TW/installer_messages.php b/resources/lang/zh-TW/installer_messages.php old mode 100755 new mode 100644 diff --git a/resources/views/auth/change.blade.php b/resources/views/auth/change.blade.php index 81efa8ef3..7fa1a8cfc 100644 --- a/resources/views/auth/change.blade.php +++ b/resources/views/auth/change.blade.php @@ -46,24 +46,6 @@ @include('partials.flash_message')
@csrf -
- - @if ($errors->has('email')) - - {{ $errors->first('email') }} - - @endif - -
-
@if ($errors->has('password')) @@ -74,7 +56,7 @@ class="form-control"
-
+
@if ($errors->has('password_confirmation')) @@ -89,8 +71,6 @@ class="form-control"
- -

diff --git a/resources/views/auth/emails/activate.blade.php b/resources/views/auth/emails/activate.blade.php old mode 100755 new mode 100644 diff --git a/resources/views/auth/passwords/email.blade.php b/resources/views/auth/passwords/email.blade.php old mode 100755 new mode 100644 diff --git a/resources/views/auth/passwords/reset.blade.php b/resources/views/auth/passwords/reset.blade.php old mode 100755 new mode 100644 diff --git a/resources/views/auth/register.blade.php b/resources/views/auth/register.blade.php old mode 100755 new mode 100644 diff --git a/resources/views/counter/index.blade.php b/resources/views/counter/index.blade.php old mode 100755 new mode 100644 diff --git a/resources/views/data/aki_akb/edit.blade.php b/resources/views/data/aki_akb/edit.blade.php old mode 100755 new mode 100644 diff --git a/resources/views/data/aki_akb/form_edit.blade.php b/resources/views/data/aki_akb/form_edit.blade.php old mode 100755 new mode 100644 diff --git a/resources/views/data/aki_akb/import.blade.php b/resources/views/data/aki_akb/import.blade.php old mode 100755 new mode 100644 diff --git a/resources/views/data/aki_akb/index.blade.php b/resources/views/data/aki_akb/index.blade.php old mode 100755 new mode 100644 diff --git a/resources/views/data/anggaran_desa/import.blade.php b/resources/views/data/anggaran_desa/import.blade.php old mode 100755 new mode 100644 diff --git a/resources/views/data/anggaran_desa/index.blade.php b/resources/views/data/anggaran_desa/index.blade.php old mode 100755 new mode 100644 diff --git a/resources/views/data/anggaran_realisasi/edit.blade.php b/resources/views/data/anggaran_realisasi/edit.blade.php old mode 100755 new mode 100644 diff --git a/resources/views/data/anggaran_realisasi/form_edit.blade.php b/resources/views/data/anggaran_realisasi/form_edit.blade.php old mode 100755 new mode 100644 diff --git a/resources/views/data/anggaran_realisasi/import.blade.php b/resources/views/data/anggaran_realisasi/import.blade.php old mode 100755 new mode 100644 diff --git a/resources/views/data/anggaran_realisasi/index.blade.php b/resources/views/data/anggaran_realisasi/index.blade.php old mode 100755 new mode 100644 diff --git a/resources/views/data/data_desa/create.blade.php b/resources/views/data/data_desa/create.blade.php old mode 100755 new mode 100644 diff --git a/resources/views/data/data_desa/edit.blade.php b/resources/views/data/data_desa/edit.blade.php old mode 100755 new mode 100644 diff --git a/resources/views/data/data_desa/form_create.blade.php b/resources/views/data/data_desa/form_create.blade.php index b68b81733..b3aea6563 100644 --- a/resources/views/data/data_desa/form_create.blade.php +++ b/resources/views/data/data_desa/form_create.blade.php @@ -21,6 +21,13 @@ class="form-control"
+
+ +
+ {!! Form::input('sebutan_desa', 'sebutan_desa', null, ['class' => 'form-control', 'placeholder' => 'Contoh : desa']) !!} +
+
+
diff --git a/resources/views/data/data_desa/form_edit.blade.php b/resources/views/data/data_desa/form_edit.blade.php index 01e1f72ed..1f34b798f 100644 --- a/resources/views/data/data_desa/form_edit.blade.php +++ b/resources/views/data/data_desa/form_edit.blade.php @@ -26,6 +26,13 @@ class="form-control"
+
+ +
+ {!! Form::input('sebutan_desa', 'sebutan_desa', $desa->sebutan_desa, ['class' => 'form-control', 'placeholder' => 'Contoh : desa']) !!} +
+
+
diff --git a/resources/views/data/epidemi_penyakit/edit.blade.php b/resources/views/data/epidemi_penyakit/edit.blade.php old mode 100755 new mode 100644 diff --git a/resources/views/data/epidemi_penyakit/form_edit.blade.php b/resources/views/data/epidemi_penyakit/form_edit.blade.php old mode 100755 new mode 100644 diff --git a/resources/views/data/epidemi_penyakit/import.blade.php b/resources/views/data/epidemi_penyakit/import.blade.php old mode 100755 new mode 100644 diff --git a/resources/views/data/epidemi_penyakit/index.blade.php b/resources/views/data/epidemi_penyakit/index.blade.php old mode 100755 new mode 100644 diff --git a/resources/views/data/fasilitas_paud/edit.blade.php b/resources/views/data/fasilitas_paud/edit.blade.php old mode 100755 new mode 100644 diff --git a/resources/views/data/fasilitas_paud/form_edit.blade.php b/resources/views/data/fasilitas_paud/form_edit.blade.php old mode 100755 new mode 100644 diff --git a/resources/views/data/fasilitas_paud/import.blade.php b/resources/views/data/fasilitas_paud/import.blade.php old mode 100755 new mode 100644 diff --git a/resources/views/data/fasilitas_paud/index.blade.php b/resources/views/data/fasilitas_paud/index.blade.php old mode 100755 new mode 100644 diff --git a/resources/views/data/imunisasi/edit.blade.php b/resources/views/data/imunisasi/edit.blade.php old mode 100755 new mode 100644 diff --git a/resources/views/data/imunisasi/form_edit.blade.php b/resources/views/data/imunisasi/form_edit.blade.php old mode 100755 new mode 100644 diff --git a/resources/views/data/imunisasi/import.blade.php b/resources/views/data/imunisasi/import.blade.php old mode 100755 new mode 100644 diff --git a/resources/views/data/imunisasi/index.blade.php b/resources/views/data/imunisasi/index.blade.php old mode 100755 new mode 100644 diff --git a/resources/views/data/keluarga/form_show.blade.php b/resources/views/data/keluarga/form_show.blade.php old mode 100755 new mode 100644 diff --git a/resources/views/data/keluarga/index.blade.php b/resources/views/data/keluarga/index.blade.php old mode 100755 new mode 100644 diff --git a/resources/views/data/keluarga/show.blade.php b/resources/views/data/keluarga/show.blade.php old mode 100755 new mode 100644 diff --git a/resources/views/data/penduduk/form_show.blade.php b/resources/views/data/penduduk/form_show.blade.php old mode 100755 new mode 100644 diff --git a/resources/views/data/penduduk/import.blade.php b/resources/views/data/penduduk/import.blade.php old mode 100755 new mode 100644 diff --git a/resources/views/data/penduduk/show.blade.php b/resources/views/data/penduduk/show.blade.php old mode 100755 new mode 100644 diff --git a/resources/views/data/profil/edit.blade.php b/resources/views/data/profil/edit.blade.php index 0d73ae8e7..a03335bc6 100644 --- a/resources/views/data/profil/edit.blade.php +++ b/resources/views/data/profil/edit.blade.php @@ -16,6 +16,13 @@ @include('partials.flash_message') + @if (!$profil->kecamatan_id) +
+

Peringatan!

+

Data profil wilayah belum lengkap. Silahkan dilengkapi terlebih dahulu!

+
+ @endif +
@if (count($errors) > 0) diff --git a/resources/views/data/profil/save_success.blade.php b/resources/views/data/profil/save_success.blade.php old mode 100755 new mode 100644 diff --git a/resources/views/data/putus_sekolah/edit.blade.php b/resources/views/data/putus_sekolah/edit.blade.php old mode 100755 new mode 100644 diff --git a/resources/views/data/putus_sekolah/form_edit.blade.php b/resources/views/data/putus_sekolah/form_edit.blade.php old mode 100755 new mode 100644 diff --git a/resources/views/data/putus_sekolah/import.blade.php b/resources/views/data/putus_sekolah/import.blade.php old mode 100755 new mode 100644 diff --git a/resources/views/data/putus_sekolah/index.blade.php b/resources/views/data/putus_sekolah/index.blade.php old mode 100755 new mode 100644 diff --git a/resources/views/data/tingkat_pendidikan/edit.blade.php b/resources/views/data/tingkat_pendidikan/edit.blade.php old mode 100755 new mode 100644 diff --git a/resources/views/data/tingkat_pendidikan/form_edit.blade.php b/resources/views/data/tingkat_pendidikan/form_edit.blade.php old mode 100755 new mode 100644 diff --git a/resources/views/data/tingkat_pendidikan/import.blade.php b/resources/views/data/tingkat_pendidikan/import.blade.php old mode 100755 new mode 100644 diff --git a/resources/views/data/tingkat_pendidikan/index.blade.php b/resources/views/data/tingkat_pendidikan/index.blade.php old mode 100755 new mode 100644 diff --git a/resources/views/data/toilet_sanitasi/edit.blade.php b/resources/views/data/toilet_sanitasi/edit.blade.php old mode 100755 new mode 100644 diff --git a/resources/views/data/toilet_sanitasi/form_edit.blade.php b/resources/views/data/toilet_sanitasi/form_edit.blade.php old mode 100755 new mode 100644 diff --git a/resources/views/data/toilet_sanitasi/import.blade.php b/resources/views/data/toilet_sanitasi/import.blade.php old mode 100755 new mode 100644 diff --git a/resources/views/data/toilet_sanitasi/index.blade.php b/resources/views/data/toilet_sanitasi/index.blade.php old mode 100755 new mode 100644 diff --git a/resources/views/errors/503.blade.php b/resources/views/errors/503.blade.php index acd38100a..78a82f832 100644 --- a/resources/views/errors/503.blade.php +++ b/resources/views/errors/503.blade.php @@ -1,5 +1,18 @@ -@extends('errors::minimal') + +Sedang dalam Perbaikan + -@section('title', __('Service Unavailable')) -@section('code', '503') -@section('message', __($exception->getMessage() ?: 'Service Unavailable')) +
+

Sedang dalam Perbaikan!

+
+

Mohon maaf atas ketidaknyamanannya. Situs ini sedang dalam perbaikan.

+

— {{ env('APP_NAME') }}

+
+
\ No newline at end of file diff --git a/resources/views/forms/action_message.blade.php b/resources/views/forms/action_message.blade.php old mode 100755 new mode 100644 diff --git a/resources/views/forms/active-modal.blade.php b/resources/views/forms/active-modal.blade.php old mode 100755 new mode 100644 diff --git a/resources/views/forms/agree-modal.blade.php b/resources/views/forms/agree-modal.blade.php old mode 100755 new mode 100644 diff --git a/resources/views/forms/datatable-vertical.blade.php b/resources/views/forms/datatable-vertical.blade.php old mode 100755 new mode 100644 diff --git a/resources/views/forms/delete-modal.blade.php b/resources/views/forms/delete-modal.blade.php old mode 100755 new mode 100644 diff --git a/resources/views/forms/import-modal.blade.php b/resources/views/forms/import-modal.blade.php old mode 100755 new mode 100644 diff --git a/resources/views/forms/suspend-modal.blade.php b/resources/views/forms/suspend-modal.blade.php old mode 100755 new mode 100644 diff --git a/resources/views/informasi/artikel/_form.blade.php b/resources/views/informasi/artikel/_form.blade.php index d6b0ffc1e..614ee3375 100644 --- a/resources/views/informasi/artikel/_form.blade.php +++ b/resources/views/informasi/artikel/_form.blade.php @@ -64,8 +64,6 @@