Skip to content

Commit

Permalink
Rilis 22.09.01 (#482)
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]>

* Rilis 22.09.01

* mutakhirkan catatan rilis

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 Sep 1, 2022
1 parent 3e0e3e4 commit b641e50
Show file tree
Hide file tree
Showing 62 changed files with 2,947 additions and 107 deletions.
5 changes: 4 additions & 1 deletion .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -36,4 +36,7 @@ JWT_SECRET=vDInioV8kO3Ebi0o666hPjE9hXTTgyBsQ2C72vsC8miKZ3LYDuJjmKThz19JuoY2

# PANTAU
# HOST_PANTAU=
# TOKEN_PANTAU=
# TOKEN_PANTAU=

SENTRY_LARAVEL_DSN=https://[email protected]/6428110222
SENTRY_TRACES_SAMPLE_RATE=1.0
52 changes: 43 additions & 9 deletions app/Exceptions/Handler.php
100755 → 100644
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,11 @@

namespace App\Exceptions;

use App\Models\Profil;
use Exception;
use Illuminate\Foundation\Exceptions\Handler as ExceptionHandler;
use Illuminate\Http\Request;
use Illuminate\Http\Response;
use Illuminate\Support\Facades\Auth;
use Throwable;

class Handler extends ExceptionHandler
{
Expand All @@ -43,7 +44,9 @@ class Handler extends ExceptionHandler
*
* @var array
*/
protected $dontReport = [];
protected $dontReport = [
//
];

/**
* A list of the inputs that are never flashed for validation exceptions.
Expand All @@ -58,22 +61,53 @@ class Handler extends ExceptionHandler
/**
* Report or log an exception.
*
* This is a great spot to send exceptions to Sentry, Bugsnag, etc.
*
* @param \Throwable $exception
* @return void
*
* @throws \Throwable
*/
public function report(Exception $exception)
public function report(Throwable $exception)
{
if (app()->bound('sentry') && $this->shouldReport($exception)) {
\Sentry\configureScope(function (\Sentry\State\Scope $scope) {
$profil = Profil::first();
$scope->setUser(
[
'nama_provinsi' => $profil->nama_provinsi,
'nama_kabupaten' => $profil->nama_kabupaten,
'nama_kecamatan' => $profil->nama_kecamatan
]
);

if (Auth::check()) {
$scope->setUser([
'email' => auth()->user()->email,
'name' => auth()->user()->name,
'role' => Auth::user()->getRoleNames()
]);
}

$scope->setTags([
'kecamatan' => $profil->nama_kecamatan,
'versi' => config('app.version')
]);
});
app('sentry')->captureException($exception);
}

parent::report($exception);
}

/**
* Render an exception into an HTTP response.
*
* @param Request $request
* @return Response
* @param \Illuminate\Http\Request $request
* @param \Throwable $exception
* @return \Symfony\Component\HttpFoundation\Response
*
* @throws \Throwable
*/
public function render($request, Exception $exception)
public function render($request, Throwable $exception)
{
return parent::render($request, $exception);
}
Expand Down
6 changes: 6 additions & 0 deletions app/Http/Controllers/Controller.php
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,10 @@

use App\Models\DataDesa;
use App\Models\Event;
use App\Models\MediaSosial;
use App\Models\Profil;
use App\Models\SettingAplikasi;
use App\Models\SinergiProgram;
use App\Models\TipePotensi;
use Illuminate\Foundation\Auth\Access\AuthorizesRequests;
use Illuminate\Foundation\Bus\DispatchesJobs;
Expand Down Expand Up @@ -73,6 +75,8 @@ public function __construct()
$this->browser_title = SettingAplikasi::where('key', 'judul_aplikasi')->first()->value ?? ucwords($this->sebutan_wilayah . ' ' . $this->profil->nama_kecamatan);

$events = Event::getOpenEvents();
$sinergi = SinergiProgram::where('status', 1)->orderBy('urutan', 'asc')->get();
$medsos = MediaSosial::where('status', 1)->get();
$navdesa = DataDesa::all();
$navpotensi = TipePotensi::orderby('nama_kategori', 'ASC')->get();

Expand All @@ -82,6 +86,8 @@ public function __construct()
'sebutan_kepala_wilayah' => $this->sebutan_kepala_wilayah,
'browser_title' => $this->browser_title,
'events' => $events,
'sinergi' => $sinergi,
'medsos' => $medsos,
'navdesa' => $navdesa,
'navpotensi' => $navpotensi,
]);
Expand Down
Loading

0 comments on commit b641e50

Please sign in to comment.