Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -35,3 +35,6 @@ tests/Browser/screenshots/
tests/Browser/.session_state.json
graphify-out
docs
specs/
.opencode/
.specify/
2 changes: 1 addition & 1 deletion app/Listeners/LoginListener.php
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ public function handle(Login $event)
}
}

session(['presisi_enabled' => $presisiStatus, 'prodeskel_enabled' => $prodeskelStatus, 'kabupaten.kode_kabupaten' => auth()->user()->kode_kabupaten ?? null]);
session(['presisi_enabled' => $presisiStatus, 'prodeskel_enabled' => $prodeskelStatus, 'kabupaten.kode_kabupaten' => config('app.kodeKabupatenApi')]);

activity('authentication-log')->event('login')->withProperties($this->request)->log('Login');
}
Expand Down
9 changes: 1 addition & 8 deletions catatan_rilis.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,9 @@ Di rilis ini, versi 2608.0.0 berisi penambahan dan perbaikan yang diminta penggu

#### Perbaikan BUG

1. [#1094](https://github.com/OpenSID/OpenKab/issues/1094) Perbaikan pangan error data table.
2. [#1098](https://github.com/OpenSID/OpenKab/issues/1098) Perbaikan tampilan durasi lockout akun login (menit dan detik) serta koreksi perhitungan selisih waktu carbon.
3. [#1100](https://github.com/OpenSID/OpenKab/issues/1100) Lengkapi fungsi laporan desa aktif.
4. [#1083](https://github.com/OpenSID/OpenKab/issues/1083) Perbaikan ketika buka website default OpenKab.
5. [#1091](https://github.com/OpenSID/OpenKab/pull/1091) Perbaikan menu artikel hilang.

1. [#1105](https://github.com/OpenSID/OpenKab/issues/1105) Perbaikan filter kecamatan tampil tanpa memilih kabupaten terlebih dahulu.


#### Perubahan Teknis

1. [#1095](https://github.com/OpenSID/OpenKab/issues/1095) Terapkan Password History (10 Kata Sandi Terakhir).


15 changes: 15 additions & 0 deletions resources/views/dasbor/index.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,21 @@
$('#tabel_penduduk_block').trigger('change');
$('#map').trigger('change');
});

var kabLoaded = false;
var loadAttempts = 0;
var loadInterval = setInterval(function() {
loadAttempts++;
kabLoaded = $('#filter_kabupaten option').filter(function() {
return this.value !== '';
}).length > 0;
if (kabLoaded || loadAttempts > 50) {
clearInterval(loadInterval);
if (kabLoaded && !$('#filter_kabupaten').val()) {
$('#bt_filter').trigger('click');
}
}
}, 100);
})
</script>
@endpush
Expand Down
2 changes: 0 additions & 2 deletions resources/views/dasbor/peta.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -79,8 +79,6 @@
error: function(jqXHR, textStatus, errorThrown) {}
});
})

$('#map').trigger('change');
});
</script>
@endpush
Expand Down
3 changes: 1 addition & 2 deletions resources/views/dasbor/summary.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,7 @@
});
}
}, 'json');
})
$('#summary_block').trigger('change');
})

$('#summary_block a.btn-detail').click(function(event) {
event.preventDefault();
Expand Down
2 changes: 1 addition & 1 deletion resources/views/dasbor/tabel_penduduk.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
viewTotal: false,
columns: [0]
},
deferLoading: 0,
ajax: {
url: urlPenduduk,
method: 'get',
Expand Down Expand Up @@ -94,7 +95,6 @@ className: 'text-center'
$('#tabel_penduduk_block').change(function(event) {
pendudukDatatable.draw();
})
$('#tabel_penduduk_block').trigger('change');
});
</script>
@endpush
2 changes: 1 addition & 1 deletion tests/Unit/DataPresisiPanganDetailViewTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ public function it_includes_longitude_latitude_in_correct_column_order()
}

#[Test]
public function it_configures_api_filter_with_rtm_id_for_coordinate_data()
public function it_configures_api_filter_with_id_rtm_for_coordinate_data()
{
// Mock data untuk testing view
$mockData = (object) [
Expand Down