Skip to content

Commit

Permalink
Rilis 22.10.01 (#497)
Browse files Browse the repository at this point in the history
* #72 Amankan route api penduduk dengan middleware.

* Update phpcs.yml

* #302 Pengaturan peta kecamatan yang sesuai perda setempat pada data kecamatan.

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

* Sesuaikan sebutan desa yang tidak muncul.

* #333 Sinkronisasi Data Pembangunan OpenSID ke OpenDK.

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

* #401 Perbaiki tidak bisa ubah gambar slider.

* #391 Perbaiki gagal upload foto profil user.

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

* #384 Sediakan ganti password saat selesai login jika menggunakan password masih default.

* #402 Perbaiki artikel baru tidak tampil dan sesuaikan urutannya.

* #400 Perbaiki select data penyakit tidak sesuai dengan inputan pada form ubah data modul Epidemi Penyakit.

* docs: update .all-contributorsrc

* #416 Sinkronisasi Data Program Bantuan OpenSID ke OpenDK.

Sesuaikan tampilan, perbaiki data yang tidak tampil

* #368 Sediakan impor data Bantuan dari OpenSID.

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

* Update DataDesa.php

* perbaikan api pembangunan (#418)

* Sesuaikan middleware API kirim data dari OpenSID

* #412 Perbaiki error contoh data website demo saat intalasi awal.

* perbaiki peta tidak tampil (#419)

* Susulan : sinkronsisai bantuan dan sinkronisasi program (#422)

* perbaikan detail bantuan

* Fix styling

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

* pr susulan : peta wilayah (#423)

* Update edit.blade.php

* pindahkan peta wilayah ke tab lainnnya

* Update edit.blade.php

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

* Susulan perbaikan (#421)

* Perbaiki dan hapus yang tidak digunakan

* Update program_bantuan_22_12_2020_opendk.zip

* Hapus yang tidak digunakan

* Update 2022_04_20_115358_alter_programbantuan.php

* Fix styling

* Update 2022_04_20_115358_alter_programbantuan.php

* Revert "Update 2022_04_20_115358_alter_programbantuan.php"

This reverts commit efbfb3a.

* Revert "Update 2022_04_20_115358_alter_programbantuan.php"

This reverts commit d84c3ee.

* Update ProgramBantuanController.php

* Ganti kode_desa jadi desa_id

* Update SinkronPesertaBantuan.php

* Update SinkronPembangunan.php

* Update PembangunanController.php

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

* Gunakan contoh impor dari OpenSID

* Sesuaikan tampilan tabel data pembangunan

* Default foto jika null

* update v22.06.01

* Menambahkan Solusi penambahan widget photo camat

* Penambahan Keterangan Solusi

* Penambahan Foto Camat Pada Sidebar

* Solusi Eror 500 Ketika Klik lihat prosedur

* ignore `.phpcs-cache`

* mengembalikan code dan hanya update untuk photo camat saja

* mengembalikan code dan hanya update untuk photo camat saja

* error 500 setelah login (#427)

* Update web.php

* [ci skip] Mutakhirkan catatan rilis

Co-authored-by: Agung Sugiarto <[email protected]>

* [ci skip] Mutakhirkan catatan rilis

* perbaiki lihat daftar prosedur pada web di menu unduhan -  error 500 (#442)

* perbaikan slug untuk prosedur

* Fix styling

* [ci skip] Mutakhirkan catatan rilis

Co-authored-by: apidong <[email protected]>
Co-authored-by: Agung Sugiarto <[email protected]>

* update catatan rilis

* perbaikan status pengunjung tidak bertambah (#443)

* perbaiki counter pengunjung

* Fix styling

* [ci skip] Mutakhirkan catatan rilis

Co-authored-by: apidong <[email protected]>
Co-authored-by: Agung Sugiarto <[email protected]>

* update versi dan catatan rilis (#444)

* Catatan rilis

* Perbaiki tidak ada kepala keluarga di kk

* [ci skip] memutakhirkan catatan rilis

* Tambah tombol filter berdasarkan tanggal (#449)

* Tambah tombol filter berdasarkan tanggal

* Fix styling

* Sesuaikan value

* Perbaiki tidak ada kepala keluarga di kk

* [ci skip] memutakhirkan catatan rilis

* u

* Fix styling

Co-authored-by: yogiperdana <[email protected]>
Co-authored-by: vickyrolanda <[email protected]>
Co-authored-by: Vicky Rolanda <[email protected]>
Co-authored-by: firlianif <[email protected]>
Co-authored-by: FirlianiF <[email protected]>

* Ubah versi ke 22.08

* Laravel v7.x (#318)

* update version
- cviebrock/eloquent-sluggable
- laravel/framework
- guzzlehttp/guzzle
- mockery/mockery

* update Handler.php

* sesuaikan dengan Laravel v7.x

* add laravel ui

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

* susulan upgrade v7.0 (#460)

* upgrade v7.0

* update

* Update catatan_rilis.md

* Update catatan_rilis.md

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

* Terapkan sentry untuk menangkap log (#409)

* tambahkan sentry sebagai loging

* Fix styling

* tatapkan nilai default

* Update sentry.php

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

* mutakhirkan catatan rilis

* Tombol jalankan queue listener (#451)

* Tambahkan tombol gunakan queue

* Berhenti ketika queue selesai

* Gunakan ajax untuk menjalankan artisan

* Fix styling

* Tambah alert ketika queue sukses

* Buat state on progress

* Tambah alert berhasil

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

* Media sosial widget (#455)

* Buat migrasi dan seeder media sosial

* Atur menu dan route media sosial

* Buat menu navigasi pengaturan media sosial

* Buat modal media sosial

* Buat form facebook

* Buat form update facebook

* Buat fungsi edit facebook

* Buat update medsos lainnya

* Sesuaikan gitignore

* Sesuaikan gitignore

* Tampilkan widget di halaman depan

* Fix styling

* Sesuaikan migrasi dan seeder

* Sesuaikan routes dan model

* Fix styling

* Gunakan datatable

* Buat fungsi tambah

* Buat fungsi delete

* Buat fungsi edit

* Fix styling

* Hapus kolom mime_type

* Sesuaikan tombol url

* Sesuaikan tampilan medsos di front web

* Sesuaikan gitignore

* Sesuaikan gitignore storage

* Hapus helper yang tidak digunakan

* Fix styling

* [ci skip] memutakhirkan catatan rilis

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

* Perbaiki sinkronisasi berita OpenSID ke OpenDK (#465)

* Perbaiki sinkronisasi berita OpenSID ke OpenDK

* [ci skip] memutakhirkan catatan rilis

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

* 267 data suplemen (#459)

* Buat migrasi suplemen dan suplemen terdata

* Buat model suplemen dan suplemen terdata

* Buat controller suplemen

* Buat menu data suplemen

* Tampilkan data suplemen

* Buat relasi suplemen dan suplemen terdata

* Atur setting db menjadi strict kembali

* Buat form data suplemen

* Buat fungsi update data suplemen

* Sesuaikan nama fungsi suplemen

* Buat fungsi tambah suplemen

* Buat fungsi hapus data suplemen

* Sesuaikan nama fungsi get data suplemen

* Buat halaman detail data suplemen

* Buat relasi suplemen terdata dengan penduduk

* Buat relasi penduduk dengan desa

* Sesuaikan datatable suplemen terdata

* Tambah tombol tambah suplemen terdata

* Buat fungsi tambah penduduk terdata

* Validasi datatable detail data suplemen

* Buat fungsi tambah keluarga terdata

* Buat form untuk tambah desa

* Buat fungsi tambah suplemen terdata desa

* Buat kolom keterangan boleh tidak diisi

* Perbaiki menu navigasi data suplemen

* Buat fungsi hapus suplemen terdata

* Tambah notifikasi berhasil atau gagal di suplemen terdata

* Perbaiki breadcrumb data suplemen

* Buat fungsi edit

* Perbaiki form edit

* Sesuaikan sebuatan suplemen terdata

* Fix styling

* Hapus sasaran desa

* Disable form penduduk sebelum desa dipilih

* Perbaiki terdapat penduduk ganda dalam satu suplemen

* Fix styling

* Rapikan cek anggota ganda

* Fix styling

* Perbaiki penduduk tidak muncul

* Perbaiki sub judul berantakan

* Perbaiki get penduduk

* Perbaiki url tombol batal

* Perbaiki penduduk ganda

* Buat validasi hapus data suplemen yang tidak kosong

* [ci skip] memutakhirkan catatan rilis

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

* Perbaiki peta koordinat data umum kosong (#467)

* Perbaiki peta koordinat data umum kosong

* Perbaiki keterangan setter

* perbaiki peta

* Fix styling

* Update catatan_rilis.md

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

* Susulan medsos (#469)

* Perbaiki validasi gambar

* Sesuaikan agar widget tidak tampil ketika kosong

* Susulan tombol queue (#470)

* Buat component sweetalert

* Jalankan sweetalert

* Hapus yang tidak digunakan

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

* 463 sinergi program (#468)

* Buat migrasi

* Buat routes

* Buat controller

* Buat model

* Buat menu sinergi program

* Buat halaman tampilkan data

* Sesuaikan nama variabel

* Buat fungsi tambah

* Tampilkan gambar di datatable

* Buat fungsi edit

* Buat fungsi urutan otomatis

* Buat fungsi urutan data

* Tampilkan widget

* Fix styling

* Perbaiki nama variabel

* Fix styling

* Perbaiki komentar

* Perbaiki redirect urutan

* Perbaiki validasi gambar

* Perbaiki padding dan margin widget

* Perbaiki urutan widget

* [ci skip] Memutakhirkan catatan rilis

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

* Perbaiki penduduk tetap masuk ketika desa kosong (#472)

* Perbaiki penduduk tetap masuk ketika desa kosong

* Fix styling

* [ci skip] Mutakhirkan catatan rilis

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

* 476 logo medsos (#477)

* Perbaiki logo medsos ketarik

* Buat cropping di tengah

* - gunakan width agar tidak terpotong

* - mutakhirkan catatan rilis

* [ci skip] Mutakhirkan catatan rilis

Co-authored-by: unknown <apidong>
Co-authored-by: Afila <[email protected]>
Co-authored-by: Agung Sugiarto <[email protected]>

* 475 gambar sinergi program (#478)

* Perbaiki gambar sinergi program berantakan

* [ci skip] Mutakhirkan catatan rilis

Co-authored-by: Agung Sugiarto <[email protected]>

* Hapus peserta program bantuan ketika melakukan impor (#481)

* Hapus peserta program bantuan ketika melakukan impor

* Fix styling

* Hapus program ketika impor program

* [ci skip] Mutakhirkan catatan rilis

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

* Tambah caption gambar di artikel (#485)

* Tambah caption gambar di artikel

* [ci skip] memutakhirkan catatan rilis

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

* 486 komplain (#488)

* Perbaiki daftar komplain terjawab

* [ci skip] memutakhirkan catatan rilis

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

* Admin komplain (#492)

* Buat super admin dan admin kecamatan dapat membalas keluhan

* Perbaiki error ketika membuka admin komplain membuka komplain

* Fix styling

* [ci skip] memutakhirkan catatan rilis

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

* 432 profil (#489)

* Buat validasi clien side data profil

* Hapus helper validasi

* Perbaiki validasi digit

* [ci skip] memutakhirkan catatan rilis

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

* pantau opendk (#495)

* track

* Fix styling

* Update Controller.php

* [ci skip] memutahirkan catatan rilis

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

* Rilis 22.10.01

* Error feeds (#496)

* Perbaiki feeds tidak dapat di get

* [ci skip] memutakhirkan catatan rilis

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

Co-authored-by: Afila <[email protected]>
Co-authored-by: Andi Fahruddin Akas <[email protected]>
Co-authored-by: Andi Fahruddin Akas <[email protected]>
Co-authored-by: widoagus17 <[email protected]>
Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>
Co-authored-by: apidong <[email protected]>
Co-authored-by: andifahruddinakas <[email protected]>
Co-authored-by: vickyrolanda <[email protected]>
Co-authored-by: Toto Prayogo <[email protected]>
Co-authored-by: Agung Sugiarto <[email protected]>
Co-authored-by: vickyrolanda <[email protected]>
Co-authored-by: yogiperdana <[email protected]>
Co-authored-by: firlianif <[email protected]>
Co-authored-by: FirlianiF <[email protected]>
Co-authored-by: sarwono <[email protected]>
Co-authored-by: sarwono <[email protected]>
Co-authored-by: Yogi Perdana <[email protected]>
  • Loading branch information
18 people authored Oct 1, 2022
1 parent b641e50 commit 6628931
Show file tree
Hide file tree
Showing 12 changed files with 97 additions and 36 deletions.
47 changes: 47 additions & 0 deletions app/Http/Controllers/Controller.php
Original file line number Diff line number Diff line change
Expand Up @@ -32,16 +32,22 @@
namespace App\Http\Controllers;

use App\Models\DataDesa;
use App\Models\DataUmum;
use App\Models\Event;
use App\Models\Keluarga;
use App\Models\MediaSosial;
use App\Models\Penduduk;
use App\Models\Profil;
use App\Models\SettingAplikasi;
use App\Models\SinergiProgram;
use App\Models\TipePotensi;
use Exception;
use Illuminate\Foundation\Auth\Access\AuthorizesRequests;
use Illuminate\Foundation\Bus\DispatchesJobs;
use Illuminate\Foundation\Validation\ValidatesRequests;
use Illuminate\Routing\Controller as BaseController;
use Illuminate\Support\Facades\Http;
use Illuminate\Support\Facades\Log;
use Illuminate\Support\Facades\View;

class Controller extends BaseController
Expand Down Expand Up @@ -71,6 +77,8 @@ public function __construct()
$this->sebutan_kepala_wilayah = 'Camat';
}

$this->kirimTrack();

// TODO : Gunakan untuk semua pengaturan jika sudah tersedia
$this->browser_title = SettingAplikasi::where('key', 'judul_aplikasi')->first()->value ?? ucwords($this->sebutan_wilayah . ' ' . $this->profil->nama_kecamatan);

Expand All @@ -92,4 +100,43 @@ public function __construct()
'navpotensi' => $navpotensi,
]);
}

protected function kirimTrack()
{
if (config('app.demo') == true) { // jika posisi demo, matikan tracking
return;
}

if (session('track') != null && session('track') == date('Y m d')) {
return;
}

$host_pantau = config('app.host_pantau');
$data = [
'url' => url('/'),
'versi' => config('app.version'),
'jml_desa' => DataDesa::count(),
'jumlah_penduduk' => Penduduk::where('status_dasar', 1)->count(),
'jumlah_keluarga' => Keluarga::count(),
'peta_wilayah' => DataUmum::first()->path ?? '[[[[]]]]',
'sebutan_wilayah' => $this->sebutan_wilayah,
'kode_kecamatan' => $this->profil->kecamatan_id,
'kode_kabupaten' => $this->profil->kabupaten_id,
'kode_provinsi' => $this->profil->provinsi_id,
'nama_kecamatan' => $this->profil->nama_kecamatan,
'nama_kabupaten' => $this->profil->nama_kabupaten,
'nama_provinsi' => $this->profil->nama_provinsi,
];

try {
Http::withHeaders([
'token' => config('app.token_pantau')
])->post($host_pantau.'track/opendk?token='.config('app.token_pantau'), $data);
session(['track' => date('Y m d')]);
return;
} catch (Exception $e) {
Log::notice($e);
return;
}
}
}
2 changes: 1 addition & 1 deletion app/Http/Controllers/Page/PageController.php
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ private function getFeeds()

$feeds = [];
foreach ($all_desa as $desa) {
$getFeeds = FeedsFacade::make($desa['website']);
$getFeeds = FeedsFacade::make($desa['website'], 5, true);
foreach ($getFeeds->get_items() as $item) {
$feeds[] = [
'desa_id' => $desa['desa_id'],
Expand Down
23 changes: 21 additions & 2 deletions app/Http/Controllers/SistemKomplain/SistemKomplainController.php
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ public function indexSukses()
{
$page_title = 'SIKEMA';
$page_description = 'Sistem Keluhan Masyarakat';
$komplains = Komplain::where('status', '=', 'Belum')->orderBy('created_at', 'desc')->paginate(10);
$komplains = Komplain::where('status', '=', 'Selesai')->orderBy('created_at', 'desc')->paginate(10);

return view('sistem_komplain.komplain.index', compact('page_title', 'page_description', 'komplains'));
}
Expand Down Expand Up @@ -258,6 +258,24 @@ public function update(Request $request, $id)
return redirect()->route('sistem-komplain.index')->with('success', 'Komplain berhasil dikirim!');
}

/**
* Display the specified resource.
*
* @param int $id
* @return Response
*/
public function destroy($id)
{
try {
Komplain::findOrFail($id)->delete();
} catch (\Exception $e) {
report($e);
return back()->withInput()->with('error', 'Komplain gagal dihapus!');
}

return redirect()->route('sistem-komplain.index')->with('success', 'Komplain berhasil dihapus!');
}

/**
* Display the specified resource.
*
Expand All @@ -284,8 +302,9 @@ public function reply(Request $request, $id)
if (request()->ajax()) {
try {
$jawab = new JawabKomplain();
$user = auth()->user();

if ($request->input('nik') == '999') {
if (isset($user) && $user->hasrole(['super-admin', 'admin-kecamatan', 'admin-komplain'])) {
request()->validate([
'jawaban' => 'required',
]);
Expand Down
22 changes: 11 additions & 11 deletions app/Http/Requests/ProfilRequest.php
Original file line number Diff line number Diff line change
Expand Up @@ -59,19 +59,19 @@ public function rules()
'nama_kabupaten' => 'required|string',
'kecamatan_id' => 'required|string|min:8|max:8',
'nama_kecamatan' => 'required|string',
'alamat' => 'required',
'kode_pos' => 'required|string|max:12',
'telepon' => 'required|string|max:15',
'alamat' => "required|regex:/^[a-zA-Z0-9 '\.,\-\/]+$/",
'kode_pos' => 'required|integer|digits_between:4,12',
'telepon' => 'required|integer|digits_between:5,14',
'email' => 'required|email',
'tahun_pembentukan' => 'required|integer',
'dasar_pembentukan' => 'required|string|max:50',
'nama_camat' => 'required|string|max:150',
'sekretaris_camat' => 'required|string|max:150',
'kepsek_pemerintahan_umum' => 'required|string|max:150',
'kepsek_kesejahteraan_masyarakat' => 'required|string|max:150',
'kepsek_pemberdayaan_masyarakat' => 'required|string|max:150',
'kepsek_pelayanan_umum' => 'required|string|max:150',
'kepsek_trantib' => 'required|string|max:150',
'dasar_pembentukan' => 'required|regex:/^[a-zA-Z0-9 \.\-\/]+$/|max:50',
'nama_camat' => "required|regex:/^[a-zA-Z '\.,\-]+$/|max:150",
'sekretaris_camat' => "required|regex:/^[a-zA-Z '\.,\-]+$/|max:150",
'kepsek_pemerintahan_umum' => "required|regex:/^[a-zA-Z '\.,\-]+$/|max:150",
'kepsek_kesejahteraan_masyarakat' => "required|regex:/^[a-zA-Z '\.,\-]+$/|max:150",
'kepsek_pemberdayaan_masyarakat' => "required|regex:/^[a-zA-Z '\.,\-]+$/|max:150",
'kepsek_pelayanan_umum' => "required|regex:/^[a-zA-Z '\.,\-]+$/|max:150",
'kepsek_trantib' => "required|regex:/^[a-zA-Z '\.,\-]+$/|max:150",
'file_logo' => 'image|mimes:jpg,jpeg,bmp,png,gif|max:1024',
'file_struktur_organisasi' => 'image|mimes:jpg,jpeg,png,bmp,gif|max:1024',
'foto_kepala_wilayah' => 'image|mimes:jpg,jpeg,png,bmp,gif|max:1024',
Expand Down
27 changes: 9 additions & 18 deletions catatan_rilis.md
Original file line number Diff line number Diff line change
@@ -1,26 +1,17 @@
#### [v22.09.01]
#### [v22.10.01]

Di rilis v22.09.01, menyediakan Widget Media Sosial, Data Suplemen, Widget Sinergi Program, Tombol Jalankan Queue, Update Versi ke Laravel 7.x, dan Menambahkan Sentry untuk Menangkap Log. Rilis ini juga berisi perbaikan lain yang diminta Komunitas OpenDK.

Terima kasih pada totoprayogo1916 yang terus berkontribusi.
Di rilis v22.09.02, menyediakan fitur menulis/memuat keterangan pada foto artikel dan fitur jawab keluhan oleh admin. Rilis ini juga berisi perbaikan lain yang diminta Komunitas OpenDK.

#### Penambahan Fitur
1. [#473](https://github.com/OpenSID/OpenDK/issues/473) Menambahkan fitur untuk menulis/memuat keterangan pada foto artikel.
2. [#487](https://github.com/OpenSID/OpenDK/issues/487) Menambahkan fitur jawab keluhan oleh admin.

1. [#293](https://github.com/OpenSID/OpenDK/issues/293) Penambahan widget sosial secara dinamis.
2. [#267](https://github.com/OpenSID/OpenDK/issues/267) Penambahan menu data suplemen.
3. [#282](https://github.com/OpenSID/OpenDK/issues/282) Penambahan tombol jalankan queue listener.
4. [#463](https://github.com/OpenSID/OpenDK/issues/463) Penambahan Widget link ke OPD/Pemkab.

#### Perbaikan BUG

1. [#464](https://github.com/OpenSID/OpenDK/issues/464) Perbaiki sinkronisasi berita OpenSID ke OpenDK.
2. [#466](https://github.com/OpenSID/OpenDK/issues/466) Perbaiki peta yang tidak muncul ketika data koordinat kosong.
3. [#471](https://github.com/OpenSID/OpenDK/issues/471) Perbaiki Data sinkronisasi penduduk tetap masuk meskipun desa tidak terdaftar.
4. [#476](https://github.com/OpenSID/OpenDK/issues/476) Perbaiki tampilan logo atau gambar widget medsos.
5. [#475](https://github.com/OpenSID/OpenDK/issues/475) Perbaiki tampilan logo atau gambar widget sinergi program.
6. [#479](https://github.com/OpenSID/OpenDK/issues/479) Perbaiki peserta program bantuan yang sudah terhapus di desa tidak terhapus di opendk.
1. [#486](https://github.com/OpenSID/OpenDK/issues/486) Perbaikan pada daftar keluhan tidak muncul.
2. [#491](https://github.com/OpenSID/OpenDK/issues/491) Perbaikan error ketika melihat komplain dengan akun admin-komplain.
3. [#432](https://github.com/OpenSID/OpenDK/issues/432) Perbaikan form update profil dengan validasi setiap field inputan.
4. [#493](https://github.com/OpenSID/OpenDK/issues/493) Perbaikan feeds tidak dapat di get.

#### TEKNIS

1. [#318](https://github.com/OpenSID/OpenDK/pull/318) Update ke Laravel 7.x.
2. [#329](https://github.com/OpenSID/OpenDK/issues/329) Menerapkan sentry untuk menangkap log.
1. Menambahkan fungsi kirim data ke pantau.
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' => 'v22.09.01',
'version' => 'v22.10.01',

/*
|--------------------------------------------------------------------------
Expand Down
4 changes: 2 additions & 2 deletions resources/lang/id/validation.php
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,8 @@
'date' => 'Isian :attribute bukan tanggal yang valid.',
'date_format' => 'Isian :attribute tidak cocok dengan format :format.',
'different' => 'Isian :attribute dan :other harus berbeda.',
'digits' => 'Isian :attribute harus berupa angka :digits.',
'digits_between' => 'Isian :attribute harus antara angka :min dan :max.',
'digits' => 'Isian :attribute harus berupa angka sebanyak :digits digit.',
'digits_between' => 'Isian :attribute harus minimum :min digit dan maksimum :max digit.',
'dimensions' => 'Isian :attribute harus merupakan dimensi gambar yang sah.',
'distinct' => 'Isian :attribute memiliki nilai yang duplikat.',
'email' => 'Isian :attribute harus berupa alamat surel yang valid.',
Expand Down
1 change: 1 addition & 0 deletions resources/views/data/profil/edit.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@
@include(('partials.asset_select2'))
@push('scripts')
@include('partials.profil_select2')
{!! JsValidator::formRequest('App\Http\Requests\ProfilRequest', '#form-profil') !!}
<script>
$(function () {
Expand Down
1 change: 1 addition & 0 deletions resources/views/data/profil/form_edit.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -225,3 +225,4 @@
</div>
</div>
<div class="ln_solid"></div>
@include('partials.asset_jqueryvalidation')
1 change: 1 addition & 0 deletions resources/views/informasi/artikel/_form.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,7 @@ function readURL(input) {
],
toolbar: "insertfile undo redo | styleselect | bold italic | alignleft aligncenter alignright alignjustify | bullist numlist outdent indent | link gambar media",
relative_urls: false,
image_caption: true,
file_browser_callback : function(field_name, url, type, win) {
var x = window.innerWidth || document.documentElement.clientWidth || document.getElementsByTagName('body')[0].clientWidth;
var y = window.innerHeight|| document.documentElement.clientHeight|| document.getElementsByTagName('body')[0].clientHeight;
Expand Down
2 changes: 1 addition & 1 deletion resources/views/sistem_komplain/komplain/show.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@
<div class="pull-right">
<div class="control-group">
@php $user = auth()->user(); @endphp
@if(isset($user) && $user->hasRole(['admin-komplain']))
@if(isset($user) && $user->hasRole(['super-admin', 'admin-kecamatan', 'admin-komplain']))

<a id="btn-reply-admin" data-href="{{ route('sistem-komplain.reply', $komplain->komplain_id) }}" class="btn btn-sm btn-primary"><i class="fa fa-reply"></i> Jawab</a>
<a href="{{ route('sistem-komplain.edit', $komplain->komplain_id) }}"
Expand Down
1 change: 1 addition & 0 deletions routes/web.php
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,7 @@
Route::post('store', ['as' => 'sistem-komplain.store', 'uses' => 'SistemKomplainController@store']);
Route::get('edit/{id}', ['as' => 'sistem-komplain.edit', 'uses' => 'SistemKomplainController@edit']);
Route::put('update/{id}', ['as' => 'sistem-komplain.update', 'uses' => 'SistemKomplainController@update']);
Route::delete('destroy/{id}', ['as' => 'sistem-komplain.destroy', 'uses' => 'SistemKomplainController@destroy']);
Route::get('komplain/{slug}', ['as' => 'sistem-komplain.komplain', 'uses' => 'SistemKomplainController@show']);
Route::get('komplain/kategori/{slug}', ['as' => 'sistem-komplain.kategori', 'uses' => 'SistemKomplainController@indexKategori']);
Route::get('komplain-sukses', ['as' => 'sistem-komplain.komplain-sukses', 'uses' => 'SistemKomplainController@indexSukses']);
Expand Down

0 comments on commit 6628931

Please sign in to comment.