Skip to content

Commit

Permalink
Rilis v2306.0.0 (#699)
Browse files Browse the repository at this point in the history
* Update header.blade.php (#610)

Fix bug Foto & Nama Camat di Menu Profil

* Mutakhirkan catatan rilis

* Perbaiki panjang slug prosedur (#606)

* Perbaiki panjang slug prosedur

* Sesuaikan migrasi

* Fix styling

* Update header.blade.php (#610)

Fix bug Foto & Nama Camat di Menu Profil

* Mutakhirkan catatan rilis

* mutakhirkan catatan rilis

Co-authored-by: yogiperdana <[email protected]>
Co-authored-by: Syahran Saputra <[email protected]>
Co-authored-by: sarwono <[email protected]>

* Perbaiki validasi prosedur (#616)

* Perbaiki validasi prosedur

* Update catatan_rilis.md

Co-authored-by: Afila <[email protected]>

* Perbaiki jika camat belum diisi (#623)

* Perbaiki jika camat belum diisi

* mutakhirkan catatan rilis

---------

Co-authored-by: sarwono <[email protected]>

* Custom error 500 (#621)

* Custom error 5000

* mutakhirkan catatan rilis

---------

Co-authored-by: sarwono <[email protected]>

* perbaiki eror menu keluarga (#627)

* perbaiki eror menu keluarga

* hapus name

* meringkas script

* Mutakhirkan catatan rilis

---------

Co-authored-by: Yogi Perdana <[email protected]>

* Fix demo data #628 (#631)

* Fix #628

* Enum jabatan_id, command bahasa indonesia

* Force migrate & seed demo data

* Command bahasa indonesia

* Mutakhirkan catatan rilis

* Perbaiki sambutan camat kosong (#642)

* Perbaiki sambutan camat kosong

* Fix styling

* Update catatan_rilis.md

---------

Co-authored-by: yogiperdana <[email protected]>
Co-authored-by: Afila <[email protected]>

* Perbaiki preview gambar slider (#644)

* Perbaiki preview gambar tidak muncul

* Fix styling

* Update catatan_rilis.md

---------

Co-authored-by: yogiperdana <[email protected]>
Co-authored-by: Afila <[email protected]>

* Perbaiki halaman sejarah (#645)

* Perbaiki halaman sejarah

* Fix styling

* mutakhirkan catatan rilis

---------

Co-authored-by: yogiperdana <[email protected]>
Co-authored-by: sarwono <[email protected]>

* Security artikel (#649)

* Tambah validasi upload file

* Sesuaikan validasi dengan database

* mutakhirkan catatan rilis

---------

Co-authored-by: sarwono <[email protected]>

* Perbaiki slider tidak bisa lebih dari 4 (#646)

* Perbaiki slider tidak bisa lebih dari 4

* Fix styling

* Pindah script ke controller

* Sesuaikan deskripsi

* Fix styling

* Update catatan_rilis.md

---------

Co-authored-by: yogiperdana <[email protected]>
Co-authored-by: Afila <[email protected]>

* Buat validasi file valid (#651)

* Buat validasi file valid

* Fix styling

* ubah pesan invalid

* Update catatan_rilis.md

---------

Co-authored-by: yogiperdana <[email protected]>
Co-authored-by: Afila <[email protected]>

* Perbaiki validasi file prosedur (#653)

* Perbaiki validasi file prosedur

* mutakhirkan cataatn rilis

---------

Co-authored-by: sarwono <[email protected]>

* Perbaiki form validasi regulasi (#655)

* Perbaiki form validasi regulasi

* Perbaiki validasi file prosedur (#653)

* Perbaiki validasi file prosedur

* mutakhirkan cataatn rilis

---------

Co-authored-by: sarwono <[email protected]>

* mutakhirkan catatan rilis

---------

Co-authored-by: sarwono <[email protected]>

* Perbaiki validasi form potensi (#656)

* Perbaiki validasi form potensi

* Perbaiki validasi form dokumen

* Hapus validasi dokumen

* Perbaiki validasi file prosedur (#653)

* Perbaiki validasi file prosedur

* mutakhirkan cataatn rilis

---------

Co-authored-by: sarwono <[email protected]>

* Perbaiki form validasi regulasi (#655)

* Perbaiki form validasi regulasi

* Perbaiki validasi file prosedur (#653)

* Perbaiki validasi file prosedur

* mutakhirkan cataatn rilis

---------

Co-authored-by: sarwono <[email protected]>

* mutakhirkan catatan rilis

---------

Co-authored-by: sarwono <[email protected]>

* mutakhirkan cataatn rilis

---------

Co-authored-by: sarwono <[email protected]>

* Perbaiki validasi form dokumen (#657)

* Perbaiki validasi form dokumen

* Tambah validasi valid file

* Perbaiki validasi file prosedur (#653)

* Perbaiki validasi file prosedur

* mutakhirkan cataatn rilis

---------

Co-authored-by: sarwono <[email protected]>

* Perbaiki form validasi regulasi (#655)

* Perbaiki form validasi regulasi

* Perbaiki validasi file prosedur (#653)

* Perbaiki validasi file prosedur

* mutakhirkan cataatn rilis

---------

Co-authored-by: sarwono <[email protected]>

* mutakhirkan catatan rilis

---------

Co-authored-by: sarwono <[email protected]>

* Perbaiki validasi form potensi (#656)

* Perbaiki validasi form potensi

* Perbaiki validasi form dokumen

* Hapus validasi dokumen

* Perbaiki validasi file prosedur (#653)

* Perbaiki validasi file prosedur

* mutakhirkan cataatn rilis

---------

Co-authored-by: sarwono <[email protected]>

* Perbaiki form validasi regulasi (#655)

* Perbaiki form validasi regulasi

* Perbaiki validasi file prosedur (#653)

* Perbaiki validasi file prosedur

* mutakhirkan cataatn rilis

---------

Co-authored-by: sarwono <[email protected]>

* mutakhirkan catatan rilis

---------

Co-authored-by: sarwono <[email protected]>

* mutakhirkan cataatn rilis

---------

Co-authored-by: sarwono <[email protected]>

* mutakhirkan catatan rilis

---------

Co-authored-by: sarwono <[email protected]>

* Perbaiki form validasi pengurus (#654)

* Perbaiki form validasi pengurus

* Perbaiki validasi file prosedur (#653)

* Perbaiki validasi file prosedur

* mutakhirkan cataatn rilis

---------

Co-authored-by: sarwono <[email protected]>

* Perbaiki form validasi regulasi (#655)

* Perbaiki form validasi regulasi

* Perbaiki validasi file prosedur (#653)

* Perbaiki validasi file prosedur

* mutakhirkan cataatn rilis

---------

Co-authored-by: sarwono <[email protected]>

* mutakhirkan catatan rilis

---------

Co-authored-by: sarwono <[email protected]>

* Perbaiki validasi form potensi (#656)

* Perbaiki validasi form potensi

* Perbaiki validasi form dokumen

* Hapus validasi dokumen

* Perbaiki validasi file prosedur (#653)

* Perbaiki validasi file prosedur

* mutakhirkan cataatn rilis

---------

Co-authored-by: sarwono <[email protected]>

* Perbaiki form validasi regulasi (#655)

* Perbaiki form validasi regulasi

* Perbaiki validasi file prosedur (#653)

* Perbaiki validasi file prosedur

* mutakhirkan cataatn rilis

---------

Co-authored-by: sarwono <[email protected]>

* mutakhirkan catatan rilis

---------

Co-authored-by: sarwono <[email protected]>

* mutakhirkan cataatn rilis

---------

Co-authored-by: sarwono <[email protected]>

* Perbaiki validasi form dokumen (#657)

* Perbaiki validasi form dokumen

* Tambah validasi valid file

* Perbaiki validasi file prosedur (#653)

* Perbaiki validasi file prosedur

* mutakhirkan cataatn rilis

---------

Co-authored-by: sarwono <[email protected]>

* Perbaiki form validasi regulasi (#655)

* Perbaiki form validasi regulasi

* Perbaiki validasi file prosedur (#653)

* Perbaiki validasi file prosedur

* mutakhirkan cataatn rilis

---------

Co-authored-by: sarwono <[email protected]>

* mutakhirkan catatan rilis

---------

Co-authored-by: sarwono <[email protected]>

* Perbaiki validasi form potensi (#656)

* Perbaiki validasi form potensi

* Perbaiki validasi form dokumen

* Hapus validasi dokumen

* Perbaiki validasi file prosedur (#653)

* Perbaiki validasi file prosedur

* mutakhirkan cataatn rilis

---------

Co-authored-by: sarwono <[email protected]>

* Perbaiki form validasi regulasi (#655)

* Perbaiki form validasi regulasi

* Perbaiki validasi file prosedur (#653)

* Perbaiki validasi file prosedur

* mutakhirkan cataatn rilis

---------

Co-authored-by: sarwono <[email protected]>

* mutakhirkan catatan rilis

---------

Co-authored-by: sarwono <[email protected]>

* mutakhirkan cataatn rilis

---------

Co-authored-by: sarwono <[email protected]>

* mutakhirkan catatan rilis

---------

Co-authored-by: sarwono <[email protected]>

* mutakhirkan catatan rilis

---------

Co-authored-by: sarwono <[email protected]>

* Perbaiki validasi form keluhan (#658)

* Perbaiki validasi form keluhan

* Perbaiki validasi file prosedur (#653)

* Perbaiki validasi file prosedur

* mutakhirkan cataatn rilis

---------

Co-authored-by: sarwono <[email protected]>

* Perbaiki form validasi regulasi (#655)

* Perbaiki form validasi regulasi

* Perbaiki validasi file prosedur (#653)

* Perbaiki validasi file prosedur

* mutakhirkan cataatn rilis

---------

Co-authored-by: sarwono <[email protected]>

* mutakhirkan catatan rilis

---------

Co-authored-by: sarwono <[email protected]>

* Perbaiki validasi form potensi (#656)

* Perbaiki validasi form potensi

* Perbaiki validasi form dokumen

* Hapus validasi dokumen

* Perbaiki validasi file prosedur (#653)

* Perbaiki validasi file prosedur

* mutakhirkan cataatn rilis

---------

Co-authored-by: sarwono <[email protected]>

* Perbaiki form validasi regulasi (#655)

* Perbaiki form validasi regulasi

* Perbaiki validasi file prosedur (#653)

* Perbaiki validasi file prosedur

* mutakhirkan cataatn rilis

---------

Co-authored-by: sarwono <[email protected]>

* mutakhirkan catatan rilis

---------

Co-authored-by: sarwono <[email protected]>

* mutakhirkan cataatn rilis

---------

Co-authored-by: sarwono <[email protected]>

* Perbaiki validasi form dokumen (#657)

* Perbaiki validasi form dokumen

* Tambah validasi valid file

* Perbaiki validasi file prosedur (#653)

* Perbaiki validasi file prosedur

* mutakhirkan cataatn rilis

---------

Co-authored-by: sarwono <[email protected]>

* Perbaiki form validasi regulasi (#655)

* Perbaiki form validasi regulasi

* Perbaiki validasi file prosedur (#653)

* Perbaiki validasi file prosedur

* mutakhirkan cataatn rilis

---------

Co-authored-by: sarwono <[email protected]>

* mutakhirkan catatan rilis

---------

Co-authored-by: sarwono <[email protected]>

* Perbaiki validasi form potensi (#656)

* Perbaiki validasi form potensi

* Perbaiki validasi form dokumen

* Hapus validasi dokumen

* Perbaiki validasi file prosedur (#653)

* Perbaiki validasi file prosedur

* mutakhirkan cataatn rilis

---------

Co-authored-by: sarwono <[email protected]>

* Perbaiki form validasi regulasi (#655)

* Perbaiki form validasi regulasi

* Perbaiki validasi file prosedur (#653)

* Perbaiki validasi file prosedur

* mutakhirkan cataatn rilis

---------

Co-authored-by: sarwono <[email protected]>

* mutakhirkan catatan rilis

---------

Co-authored-by: sarwono <[email protected]>

* mutakhirkan cataatn rilis

---------

Co-authored-by: sarwono <[email protected]>

* mutakhirkan catatan rilis

---------

Co-authored-by: sarwono <[email protected]>

* Perbaiki form validasi pengurus (#654)

* Perbaiki form validasi pengurus

* Perbaiki validasi file prosedur (#653)

* Perbaiki validasi file prosedur

* mutakhirkan cataatn rilis

---------

Co-authored-by: sarwono <[email protected]>

* Perbaiki form validasi regulasi (#655)

* Perbaiki form validasi regulasi

* Perbaiki validasi file prosedur (#653)

* Perbaiki validasi file prosedur

* mutakhirkan cataatn rilis

---------

Co-authored-by: sarwono <[email protected]>

* mutakhirkan catatan rilis

---------

Co-authored-by: sarwono <[email protected]>

* Perbaiki validasi form potensi (#656)

* Perbaiki validasi form potensi

* Perbaiki validasi form dokumen

* Hapus validasi dokumen

* Perbaiki validasi file prosedur (#653)

* Perbaiki validasi file prosedur

* mutakhirkan cataatn rilis

---------

Co-authored-by: sarwono <[email protected]>

* Perbaiki form validasi regulasi (#655)

* Perbaiki form validasi regulasi

* Perbaiki validasi file prosedur (#653)

* Perbaiki validasi file prosedur

* mutakhirkan cataatn rilis

---------

Co-authored-by: sarwono <[email protected]>

* mutakhirkan catatan rilis

---------

Co-authored-by: sarwono <[email protected]>

* mutakhirkan cataatn rilis

---------

Co-authored-by: sarwono <[email protected]>

* Perbaiki validasi form dokumen (#657)

* Perbaiki validasi form dokumen

* Tambah validasi valid file

* Perbaiki validasi file prosedur (#653)

* Perbaiki validasi file prosedur

* mutakhirkan cataatn rilis

---------

Co-authored-by: sarwono <[email protected]>

* Perbaiki form validasi regulasi (#655)

* Perbaiki form validasi regulasi

* Perbaiki validasi file prosedur (#653)

* Perbaiki validasi file prosedur

* mutakhirkan cataatn rilis

---------

Co-authored-by: sarwono <[email protected]>

* mutakhirkan catatan rilis

---------

Co-authored-by: sarwono <[email protected]>

* Perbaiki validasi form potensi (#656)

* Perbaiki validasi form potensi

* Perbaiki validasi form dokumen

* Hapus validasi dokumen

* Perbaiki validasi file prosedur (#653)

* Perbaiki validasi file prosedur

* mutakhirkan cataatn rilis

---------

Co-authored-by: sarwono <[email protected]>

* Perbaiki form validasi regulasi (#655)

* Perbaiki form validasi regulasi

* Perbaiki validasi file prosedur (#653)

* Perbaiki validasi file prosedur

* mutakhirkan cataatn rilis

---------

Co-authored-by: sarwono <[email protected]>

* mutakhirkan catatan rilis

---------

Co-authored-by: sarwono <[email protected]>

* mutakhirkan cataatn rilis

---------

Co-authored-by: sarwono <[email protected]>

* mutakhirkan catatan rilis

---------

Co-authored-by: sarwono <[email protected]>

* mutakhirkan catatan rilis

---------

Co-authored-by: sarwono <[email protected]>

* mutakhirkan catatan rilis

---------

Co-authored-by: sarwono <[email protected]>

* Tte (#590)

* Buat migrasi

* Buat migrasi tte

* Buat controller dan route

* Buat form pengaturan tte

* Buat validasi pengaturan tte

* Buat fungsi update

* Perbaiki breadcrumb

* Fix styling

* Menu arsip (#592)

* Buat migrasi

* Buat model dan controller

* Perbaiki migrasi

* Buat halaman permohonan dan arsip surat

* Perbaiki datatable

* Update catatan_rilis.md

Co-authored-by: Afila <[email protected]>

* Fix styling

* Api surat (#593)

* Buat migrasi

* Buat model dan controller

* Perbaiki migrasi

* Buat halaman permohonan dan arsip surat

* Perbaiki datatable

* Buat API menangkap surat dari opensid

* Buat validasi kode desa

* Hapus kolom format

* hapus rule double nik dan hapus format

* Update catatan_rilis.md

Co-authored-by: Afila <[email protected]>

* Fix styling

* Masukkan logo bsre di halaman login (#594)

* Masukkan logo bsre di halaman login

* Update catatan_rilis.md

Co-authored-by: Afila <[email protected]>

* Validasi pengaturan tte

* Pengaturan pemeriksaan surat (#595)

* Buat migrasi

* Buat pengaturan pemeriksaan alur surat

* Update catatan_rilis.md

Co-authored-by: Afila <[email protected]>

* Api status surat (#599)

* Validasi pengaturan tte

* Buat validasi penduduk

* Buat relasi surat

* Perbaiki halaman arsip

* Buat notifikasi

* Sesuaikan ukuran badge

* Validasi pemeriksaan surat di permohonan

* Sesuaikan pengaturan surat

* Sesuaikan notifikasi

* Sesuaikan validasi penandatangan

* Sesuaikan tabel

* Buat fungsi tampilkan pdf

* Buat fungsi download berkas

* Buat fungsi setujui surat

* Buat fungsi tolak

* Sesuaikan enumeration

* Buat validasi pemeriksa

* Buat widget surat

* Buat halaman permonan ditolak

* Buat api get surat

* Sesuaikan spasi

* Update catatan_rilis.md

Co-authored-by: Afila <[email protected]>

* Fix styling

* Notifikasi surat (#596)

* Validasi pengaturan tte

* Buat validasi penduduk

* Buat relasi surat

* Perbaiki halaman arsip

* Buat notifikasi

* Sesuaikan ukuran badge

* Update catatan_rilis.md

Co-authored-by: Afila <[email protected]>

* Pemeriksaan surat (#597)

* Validasi pengaturan tte

* Buat validasi penduduk

* Buat relasi surat

* Perbaiki halaman arsip

* Buat notifikasi

* Sesuaikan ukuran badge

* Validasi pemeriksaan surat di permohonan

* Sesuaikan pengaturan surat

* Sesuaikan notifikasi

* Sesuaikan validasi penandatangan

* Sesuaikan tabel

* Buat fungsi tampilkan pdf

* Buat fungsi download berkas

* Buat fungsi setujui surat

* Buat fungsi tolak

* Sesuaikan enumeration

* Buat validasi pemeriksa

* Buat widget surat

* Buat halaman permonan ditolak

* Update catatan_rilis.md

Co-authored-by: Afila <[email protected]>

* Fix styling

* Resolve conflict

* Fix styling

* Sesuaikan validasi nomor surat

* Fix styling

* Sesuaikan method route

* Buat keterangan mode demo (#607)

* Buat keterangan mode demo

* Update header.blade.php (#610)

Fix bug Foto & Nama Camat di Menu Profil

* Mutakhirkan catatan rilis

Co-authored-by: Syahran Saputra <[email protected]>
Co-authored-by: sarwono <[email protected]>

* Link qrcode (#608)

* Sesuaikan migrasi dan validasi

* Buat link qrcode

* Sesuaikan view

* Perbaiki parameter

* Sesuaikan tipe data nomor

* Update catatan_rilis.md

Co-authored-by: Afila <[email protected]>

* Proses tte (#618)

* Sesuaikan migrasi dan validasi

* Buat link qrcode

* Update header.blade.php (#610)

Fix bug Foto & Nama Camat di Menu Profil

* Mutakhirkan catatan rilis

* Perbaiki panjang slug prosedur (#606)

* Perbaiki panjang slug prosedur

* Sesuaikan migrasi

* Fix styling

* Update header.blade.php (#610)

Fix bug Foto & Nama Camat di Menu Profil

* Mutakhirkan catatan rilis

* mutakhirkan catatan rilis

Co-authored-by: yogiperdana <[email protected]>
Co-authored-by: Syahran Saputra <[email protected]>
Co-authored-by: sarwono <[email protected]>

* Sesuaikan view

* Perbaiki parameter

* Perbaiki validasi prosedur (#616)

* Perbaiki validasi prosedur

* Update catatan_rilis.md

Co-authored-by: Afila <[email protected]>

* Sesuaikan tipe data nomor

* Buat migrasi

* Simpan log ketika gagal

* Sesuaikan konfigurasi guzzle

* Tes post

* Sesuaikan tipe kolom nik pengurus

* Buat fungsi tte

* Sesuaikan link qrcode

* Sesuaikan tag

* Update catatan_rilis.md

Co-authored-by: Syahran Saputra <[email protected]>
Co-authored-by: yogiperdana <[email protected]>
Co-authored-by: sarwono <[email protected]>
Co-authored-by: Afila <[email protected]>

* Download surat (#619)

* Sesuaikan migrasi dan validasi

* Buat link qrcode

* Update header.blade.php (#610)

Fix bug Foto & Nama Camat di Menu Profil

* Mutakhirkan catatan rilis

* Perbaiki panjang slug prosedur (#606)

* Perbaiki panjang slug prosedur

* Sesuaikan migrasi

* Fix styling

* Update header.blade.php (#610)

Fix bug Foto & Nama Camat di Menu Profil

* Mutakhirkan catatan rilis

* mutakhirkan catatan rilis

Co-authored-by: yogiperdana <[email protected]>
Co-authored-by: Syahran Saputra <[email protected]>
Co-authored-by: sarwono <[email protected]>

* Sesuaikan view

* Perbaiki parameter

* Perbaiki validasi prosedur (#616)

* Perbaiki validasi prosedur

* Update catatan_rilis.md

Co-authored-by: Afila <[email protected]>

* Sesuaikan tipe data nomor

* Buat migrasi

* Simpan log ketika gagal

* Sesuaikan konfigurasi guzzle

* Tes post

* Sesuaikan tipe kolom nik pengurus

* Buat fungsi tte

* Sesuaikan link qrcode

* Sesuaikan tag

* Implementasi api download

* Kirim id untuk status surat

* Sesuaikan response

* Sesuaikan parameter

* Update catatan_rilis.md

* Update catatan_rilis.md

* Update catatan_rilis.md

Co-authored-by: Syahran Saputra <[email protected]>
Co-authored-by: yogiperdana <[email protected]>
Co-authored-by: sarwono <[email protected]>
Co-authored-by: Afila <[email protected]>

* Fix styling

* Download surat arsip

* Fix styling

* Perbaiki error migrasi

* Fix styling

* Perbaiki nama penduduk arsip

* Fix styling

* Pesan peringatan

* Perbaiki gagal install awal dan install:dev

* Fix styling

* Update catatan_rilis.md

---------

Co-authored-by: yogiperdana <[email protected]>
Co-authored-by: Afila <[email protected]>
Co-authored-by: apidong <[email protected]>
Co-authored-by: Syahran Saputra <[email protected]>
Co-authored-by: sarwono <[email protected]>

* Perbaikan jumlah penduduk tidak sinkron antara kecamatan dan desa karena perubahan NIK (kasus tertentu) (#663)

* Perbaiki penduduk ganti nik ketika sinkronisasi

* Update composer.json

* Delete migrasi

* Update SinkronPenduduk.php

* Fix styling

* [ci skip] catatan rilis

* [ci skip] catatan rilis

---------

Co-authored-by: Andi Fahruddin Akas <[email protected]>
Co-authored-by: andifahruddinakas <[email protected]>

* Update lfm.php (#674)

Fix bug UniSharp Laravel File Manager issue #673

* Mutakhirkan catatan rilis

* Audit keamanan form profil (#677)

* Audit keamanan form profil

* [ci skip] memutahirkan catatan rilis

---------

Co-authored-by: vickyrolanda <[email protected]>

* Audit keamanan form slide (#678)

* Audit keamanan form slide

* Sesuaikan

* [ci skip[ memutahirkan catatan rilis

---------

Co-authored-by: vickyrolanda <[email protected]>

* Audit keamanan form media sosial (#679)

* Audit keamanan form media sosial

* [ci skip] memutahirkan catatan rilis

---------

Co-authored-by: vickyrolanda <[email protected]>

* Audit keamanan form sinergi program (#682)

* Audit keamanan form sinergi program

* Fix styling

* [ci skip] memtuahirkan catatan rilis

---------

Co-authored-by: yogiperdana <[email protected]>
Co-authored-by: vickyrolanda <[email protected]>

* Audit keamanan form pengguna (#676)

* Audit keamanan form pengguna

* Sesuaikan form edit

* Fix styling

* [ci skip] memutahirkan catatan rilis

---------

Co-authored-by: yogiperdana <[email protected]>
Co-authored-by: vickyrolanda <[email protected]>

* Perbaiki cek login / buat key untuk opensid (#689)

* Perbaiki cek login / buat key untuk opensid

* Fix styling

* Update notif

* Update AuthController.php

* Update AuthController.php

---------

Co-authored-by: yogiperdana <[email protected]>
Co-authored-by: Andi Fahruddin Akas <[email protected]>

* Perbaiki urutan event tidak urut (#696)

* Perbaiki urutan event tidak urut

* Fix styling

* [ci skip] catatan rilis

---------

Co-authored-by: yogiperdana <[email protected]>
Co-authored-by: Andi Fahruddin Akas <[email protected]>

* Perbaiki urutan event tidak urut (#696)

* Perbaiki urutan event tidak urut

* Fix styling

* [ci skip] catatan rilis

---------

Co-authored-by: yogiperdana <[email protected]>
Co-authored-by: Andi Fahruddin Akas <[email protected]>

* Rilis v2306.0.0

* tipo

---------

Co-authored-by: Syahran Saputra <[email protected]>
Co-authored-by: yogiperdana <[email protected]>
Co-authored-by: sarwono <[email protected]>
Co-authored-by: Afila <[email protected]>
Co-authored-by: sarwono <[email protected]>
Co-authored-by: Suyadi <[email protected]>
Co-authored-by: apidong <[email protected]>
Co-authored-by: Andi Fahruddin Akas <[email protected]>
Co-authored-by: andifahruddinakas <[email protected]>
Co-authored-by: vickyrolanda <[email protected]>
  • Loading branch information
11 people authored Jun 1, 2023
1 parent 7469d95 commit ff8cbb7
Show file tree
Hide file tree
Showing 22 changed files with 147 additions and 57 deletions.
10 changes: 9 additions & 1 deletion app/Http/Controllers/Api/Auth/AuthController.php
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@
namespace App\Http\Controllers\Api\Auth;

use App\Http\Controllers\Controller;
use App\Models\User;
use Illuminate\Http\JsonResponse;
use Illuminate\Http\Request;
use Illuminate\Http\Response;
Expand Down Expand Up @@ -62,9 +63,16 @@ public function login(Request $request)
]);

$credentials = $request->only(['email', 'password']);
$credentials['status'] = true;

if (! $token = Auth::guard('api')->attempt($credentials)) {
return response()->json(['error' => 'Unauthorized'], 401);
return response()->json(['message' => 'Pengguna tidak dikenali'], 401);
}

$user = User::where('email', '=', $request->email)->first();

if (! $user->hasrole(['super-admin', 'admin-desa'])) {
return response()->json(['message' => 'Grup pengguna bukan admin-desa'], 422);
}

return $this->respondWithToken($token);
Expand Down
14 changes: 5 additions & 9 deletions app/Http/Controllers/Informasi/MediaSosialController.php
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@
namespace App\Http\Controllers\Informasi;

use App\Http\Controllers\Controller;
use App\Http\Requests\MediaSosialRequest;
use App\Models\MediaSosial;
use Illuminate\Http\Request;
use Yajra\DataTables\DataTables;
Expand Down Expand Up @@ -95,10 +96,10 @@ public function create()
*
* @return Response
*/
public function store(Request $request)
public function store(MediaSosialRequest $request)
{
try {
$input = $request->all();
$input = $request->validated();
if ($request->hasFile('logo')) {
$file = $request->file('logo');
$original_name = strtolower(trim($file->getClientOriginalName()));
Expand Down Expand Up @@ -139,17 +140,12 @@ public function edit($id)
* @return Response
*/

public function update(Request $request, $id)
public function update(MediaSosialRequest $request, $id)
{
request()->validate([
'nama' => 'required',
'url' => 'required',
]);

$medsos = MediaSosial::findOrFail($id);

try {
$input = $request->all();
$input = $request->validated();

if ($request->hasFile('logo')) {
$file = $request->file('logo');
Expand Down
14 changes: 5 additions & 9 deletions app/Http/Controllers/Informasi/SinergiProgramController.php
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@
namespace App\Http\Controllers\Informasi;

use App\Http\Controllers\Controller;
use App\Http\Requests\SinergiProgramRequest;
use App\Models\SinergiProgram;
use Illuminate\Http\Request;
use Yajra\DataTables\DataTables;
Expand Down Expand Up @@ -100,10 +101,10 @@ public function create()
*
* @return Response
*/
public function store(Request $request)
public function store(SinergiProgramRequest $request)
{
try {
$input = $request->all();
$input = $request->validated();
if ($request->hasFile('gambar')) {
$file = $request->file('gambar');
$original_name = strtolower(trim($file->getClientOriginalName()));
Expand Down Expand Up @@ -143,17 +144,12 @@ public function edit($id)
* @return Response
*/

public function update(Request $request, $id)
public function update(SinergiProgramRequest $request, $id)
{
request()->validate([
'nama' => 'required',
'url' => 'required',
]);

$sinergi = SinergiProgram::findOrFail($id);

try {
$input = $request->all();
$input = $request->validated();

if ($request->hasFile('gambar')) {
$file = $request->file('gambar');
Expand Down
6 changes: 3 additions & 3 deletions app/Http/Controllers/Page/KesehatanController.php
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ public function getChartAKIAKB()
}

$tabel_kesehatan = view('pages.kesehatan.tabel_akiakb_1', compact('data_tabel'))->render();
//$tabel_kesehatan = $data_tabel;
//$tabel_kesehatan = $data_tabel;
} elseif ($year != 'Semua' && $did != 'Semua') {
$data_tabel = [];
foreach (kuartal_bulan() as $key => $kuartal) {
Expand Down Expand Up @@ -218,7 +218,7 @@ public function getChartImunisasi()
}

$tabel_kesehatan = view('pages.kesehatan.tabel_imunisasi_1', compact('data_tabel'))->render();
//$tabel_kesehatan = $data_tabel;
//$tabel_kesehatan = $data_tabel;
} elseif ($year != 'Semua' && $did != 'Semua') {
$data_tabel = [];
foreach (kuartal_bulan() as $key => $kuartal) {
Expand Down Expand Up @@ -417,7 +417,7 @@ public function getChartToiletSanitasi()
}

$tabel_kesehatan = view('pages.kesehatan.tabel_sanitasi_1', compact('data_tabel'))->render();
//$tabel_kesehatan = $data_tabel;
//$tabel_kesehatan = $data_tabel;
} elseif ($year != 'Semua' && $did != 'Semua') {
$data_tabel = [];
foreach (kuartal_bulan() as $key => $kuartal) {
Expand Down
4 changes: 2 additions & 2 deletions app/Http/Controllers/Setting/SlideController.php
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ public function create()
public function store(SlideRequest $request)
{
try {
$input = $request->input();
$input = $request->validated();

if ($request->hasFile('gambar')) {
$file = $request->file('gambar');
Expand Down Expand Up @@ -110,7 +110,7 @@ public function edit(Slide $slide)
public function update(SlideRequest $request, Slide $slide)
{
try {
$input = $request->all();
$input = $request->validated();

if ($request->hasFile('gambar')) {
$file = $request->file('gambar');
Expand Down
2 changes: 1 addition & 1 deletion app/Http/Controllers/User/UserController.php
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ public function edit($id)
* @param int $id
* @return Response
*/
public function update(UserUpdateRequest $request, $id)
public function update(UserRequest $request, $id)
{
try {
$user = User::findOrFail($id);
Expand Down
15 changes: 5 additions & 10 deletions app/Http/Requests/UserUpdateRequest.php → app/Http/Requests/MediaSosialRequest.php
100755 → 100644
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@

use Illuminate\Foundation\Http\FormRequest;

class UserUpdateRequest extends FormRequest
class MediaSosialRequest extends FormRequest
{
/**
* Determine if the user is authorized to make this request.
Expand All @@ -52,16 +52,11 @@ public function authorize()
*/
public function rules()
{
if ($this->isMethod('put')) {
$id = "," . $this->segment(4);
} else {
$id = "";
}
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',
'address' => 'required',
'nama' => 'required',
'url' => 'required',
'logo' => 'file|mimes:jpg,jpeg,png|max:2048|valid_file',
'status' => 'required',
];
}
}
4 changes: 2 additions & 2 deletions app/Http/Requests/ProfilRequest.php
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,8 @@ public function rules()
'email' => 'required|email',
'tahun_pembentukan' => 'required|integer',
'dasar_pembentukan' => 'required|regex:/^[a-zA-Z0-9 \.\-\/]+$/|max:50',
'file_logo' => 'image|mimes:jpg,jpeg,bmp,png,gif|max:1024',
'file_struktur_organisasi' => 'image|mimes:jpg,jpeg,png,bmp,gif|max:1024',
'file_logo' => 'image|mimes:jpg,jpeg,bmp,png,gif|max:1024|valid_file',
'file_struktur_organisasi' => 'image|mimes:jpg,jpeg,png,bmp,gif|max:1024|valid_file',
// 'visi' => 'required',
// 'misi' => 'required',
];
Expand Down
62 changes: 62 additions & 0 deletions app/Http/Requests/SinergiProgramRequest.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
<?php

/*
* File ini bagian dari:
*
* OpenDK
*
* Aplikasi dan source code ini dirilis berdasarkan lisensi GPL V3
*
* Hak Cipta 2017 - 2023 Perkumpulan Desa Digital Terbuka (https://opendesa.id)
*
* Dengan ini diberikan izin, secara gratis, kepada siapa pun yang mendapatkan salinan
* dari perangkat lunak ini dan file dokumentasi terkait ("Aplikasi Ini"), untuk diperlakukan
* tanpa batasan, termasuk hak untuk menggunakan, menyalin, mengubah dan/atau mendistribusikan,
* asal tunduk pada syarat berikut:
*
* Pemberitahuan hak cipta di atas dan pemberitahuan izin ini harus disertakan dalam
* setiap salinan atau bagian penting Aplikasi Ini. Barang siapa yang menghapus atau menghilangkan
* pemberitahuan ini melanggar ketentuan lisensi Aplikasi Ini.
*
* PERANGKAT LUNAK INI DISEDIAKAN "SEBAGAIMANA ADANYA", TANPA JAMINAN APA PUN, BAIK TERSURAT MAUPUN
* TERSIRAT. PENULIS ATAU PEMEGANG HAK CIPTA SAMA SEKALI TIDAK BERTANGGUNG JAWAB ATAS KLAIM, KERUSAKAN ATAU
* KEWAJIBAN APAPUN ATAS PENGGUNAAN ATAU LAINNYA TERKAIT APLIKASI INI.
*
* @package OpenDK
* @author Tim Pengembang OpenDesa
* @copyright Hak Cipta 2017 - 2023 Perkumpulan Desa Digital Terbuka (https://opendesa.id)
* @license http://www.gnu.org/licenses/gpl.html GPL V3
* @link https://github.com/OpenSID/opendk
*/

namespace App\Http\Requests;

use Illuminate\Foundation\Http\FormRequest;

class SinergiProgramRequest extends FormRequest
{
/**
* Determine if the user is authorized to make this request.
*
* @return bool
*/
public function authorize()
{
return true;
}

/**
* Get the validation rules that apply to the request.
*
* @return array
*/
public function rules()
{
return [
'nama' => 'required',
'url' => 'required',
'gambar' => 'file|mimes:jpg,jpeg,png|max:2048|valid_file',
'status' => 'required',
];
}
}
2 changes: 1 addition & 1 deletion app/Http/Requests/SlideRequest.php
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ public function rules()
return [
'judul' => 'required',
'deskripsi' => 'required',
'gambar' => 'file|mimes:jpg,jpeg,png|max:2048',
'gambar' => 'file|mimes:jpg,jpeg,png|max:2048|valid_file',
];
}
}
5 changes: 4 additions & 1 deletion app/Http/Requests/UserRequest.php
Original file line number Diff line number Diff line change
Expand Up @@ -54,15 +54,18 @@ public function rules()
{
if ($this->isMethod('put')) {
$id = "," . $this->segment(4);
$password = '';
} else {
$id = "";
$password = 'required|min:8|max:32';
}
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' => 'required|min:8|max:32',
'password' => $password,
'address' => 'required',
'image' => 'nullable|image|mimes:jpg,jpeg,png|max:2048|valid_file',
];
}
}
2 changes: 1 addition & 1 deletion app/Models/Event.php
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ public function scopeSlug($query, $value)

public static function getOpenEvents()
{
return self::get()->groupBy(function ($item) {
return self::orderBy('start', 'desc')->get()->groupBy(function ($item) {
return Carbon::parse($item->start)->format('d-M-y');
});
}
Expand Down
13 changes: 8 additions & 5 deletions catatan_rilis.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,12 @@
#### [v2305.0.0]
#### [v2306.0.0]

Di rilis v2305.0.0 berisi perbaikan yang diminta Komunitas OpenDK.

Terima kasih pada syahransyaputra yang terus berkontribusi.
#### Perbaikan

#### Teknis

1. [#673](https://github.com/OpenSID/OpenDK/issues/673) Penyesuaian middleware laravel-filemanager agar hanya dapat diakses oleh admin.
1. [#4](https://github.com/OpenSID/wiki-keamanan/issues/4) Perbaikan audit keamanan form profil.
2. [#3](https://github.com/OpenSID/wiki-keamanan/issues/3) Perbaikan audit keamanan form slide.
3. [#5](https://github.com/OpenSID/wiki-keamanan/issues/5) Perbaikan audit keamanan form media sosial.
4. [#6](https://github.com/OpenSID/wiki-keamanan/issues/6) Perbaikan audit keamanan form sinergi program.
5. [#2](https://github.com/OpenSID/wiki-keamanan/issues/2) Perbaikan audit keamanan form pengguna.
6. [#695](https://github.com/OpenSID/OpenDK/issues/695) Perbaikan urutan event.
2 changes: 1 addition & 1 deletion config/app.php
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
|--------------------------------------------------------------------------
*/

'version' => 'v2305.0.0',
'version' => 'v2306.0.0',

/*
|--------------------------------------------------------------------------
Expand Down
4 changes: 2 additions & 2 deletions resources/views/data/profil/form_edit.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@
<label class="control-label col-md-4 col-sm-3 col-xs-12">Struktur Organisasi</label>

<div class="col-md-7 col-sm-6 col-xs-12">
<input type="file" id="file_struktur" name="file_struktur_organisasi" accept="image/*" class="validate form-control"/>
<input type="file" id="file_struktur" name="file_struktur_organisasi" accept="jpg,jpeg,bmp,png,gif" class="validate form-control"/>
<br>
<img src="{{ is_img($profil->file_struktur_organisasi) }}" id="showgambar" style="max-width:200px;max-height:200px;float:left;"/>
</div>
Expand All @@ -101,7 +101,7 @@
<label class="control-label col-md-4 col-sm-3 col-xs-12">Logo</label>

<div class="col-md-7 col-sm-6 col-xs-12">
<input type="file" id="file_logo" name="file_logo" accept="image/*" class="validate form-control"/>
<input type="file" id="file_logo" name="file_logo" accept="jpg,jpeg,bmp,png,gif" class="validate form-control"/>
<br>
<img src="{{ is_logo($profil->file_logo) }}" id="showgambar3" style="max-width:200px;max-height:200px;float:left;"/>
</div>
Expand Down
6 changes: 3 additions & 3 deletions resources/views/informasi/media_sosial/edit.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,10 @@

</div>

@endif
@endif

<!-- form start -->
{!! Form::model($medsos, [ 'route' => ['informasi.media-sosial.update', $medsos->id], 'method' => 'put','id' => 'form-event', 'class' => 'form-horizontal form-label-left', 'files'=>true ] ) !!}
<!-- form start -->
{!! Form::model($medsos, [ 'route' => ['informasi.media-sosial.update', $medsos->id], 'method' => 'put','id' => 'form-media-sosial', 'class' => 'form-horizontal form-label-left', 'files'=>true ] ) !!}

<div class="box-body">

Expand Down
8 changes: 7 additions & 1 deletion resources/views/informasi/media_sosial/form.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
<div class="form-group">
<label class="control-label col-md-3 col-sm-3 col-xs-12">Logo / Gambar <span class="required">*</span></label>
<div class="col-md-6 col-sm-6 col-xs-12">
<input type="file" name="logo" id="logo" class="form-control" {{ $medsos ? '' : 'required' }}>
<input type="file" name="logo" id="logo" accept="jpg,jpeg,png" class="form-control" {{ $medsos ? '' : 'required' }}>
<br>

<img src="@if(isset($medsos->logo)) {{ asset($medsos->logo) }} @else {{ "http://placehold.it/1000x600" }} @endif" id="showgambar" style="max-width:400px;max-height:250px;float:left;"/>
Expand All @@ -29,3 +29,9 @@
</div>
</div>
<div class="ln_solid"></div>

@include('partials.asset_jqueryvalidation')

@push('scripts')
{!! JsValidator::formRequest('App\Http\Requests\MediaSosialRequest', '#form-media-sosial') !!}
@endpush
2 changes: 1 addition & 1 deletion resources/views/informasi/sinergi_program/edit.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
@endif

<!-- form start -->
{!! Form::model($sinergi, [ 'route' => ['informasi.sinergi-program.update', $sinergi->id], 'method' => 'put','id' => 'form-event', 'class' => 'form-horizontal form-label-left', 'files'=>true ] ) !!}
{!! Form::model($sinergi, [ 'route' => ['informasi.sinergi-program.update', $sinergi->id], 'method' => 'put','id' => 'form-sinergi-program', 'class' => 'form-horizontal form-label-left', 'files'=>true ] ) !!}

<div class="box-body">

Expand Down
Loading

0 comments on commit ff8cbb7

Please sign in to comment.