Skip to content

Commit

Permalink
Rilis v2406.0.1
Browse files Browse the repository at this point in the history
  • Loading branch information
scqolbu24 committed Jun 19, 2024
1 parent 9c84a0c commit e3dab95
Show file tree
Hide file tree
Showing 32 changed files with 1,270 additions and 530 deletions.
2 changes: 1 addition & 1 deletion app/Console/Commands/BuildSite.php

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion app/Console/Commands/ConfigEnv.php

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion app/Console/Commands/PindahHosting.php

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion app/Helpers/helper.php

Large diffs are not rendered by default.

609 changes: 609 additions & 0 deletions app/Http/Controllers/Helpers/AapanelController.php

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion app/Http/Controllers/Helpers/CommandController.php

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion app/Http/Controllers/Helpers/ConfigController.php

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion app/Http/Controllers/Helpers/EnvController.php

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion app/Http/Controllers/Pengaturan/AplikasiController.php

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion app/Http/Controllers/PengaturanModulController.php

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion app/Http/Livewire/Pelanggan/ModalAktivasiTema.php

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion app/Http/Livewire/Pelanggan/ModalPindahHosting.php

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion app/Http/Livewire/Pelanggan/ModalTambahTema.php

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion app/Models/Aplikasi.php

Large diffs are not rendered by default.

21 changes: 15 additions & 6 deletions catatan_rilis.md
Original file line number Diff line number Diff line change
@@ -1,19 +1,28 @@
Di rilis v2406.0.0 berisi penambahan fitur dan perbaikan lain sesuai dengan pelayanan ke pelanggan.
Di rilis v2406.0.1 berisi penambahan fitur dan perbaikan lain sesuai dengan pelayanan ke pelanggan.

#### Penambahan Fitur

1. [#389](https://github.com/OpenSID/wiki-siappakai/issues/389) Mendaftarkan semua desa pada satu kabupaten.
1. [#398](https://github.com/OpenSID/wiki-siappakai/issues/398) Penambahan key aaPanel dan whitelist.
2. [#334](https://github.com/OpenSID/wiki-siappakai/issues/334) Penyesuaian proses instalasi BuildSite di SiapPakai3 aaPanel.
3. [#401](https://github.com/OpenSID/wiki-siappakai/issues/401) Penambahan database di aaPanel.
4. [#341](https://github.com/OpenSID/wiki-siappakai/issues/341) Penambahan pengaturan ftp pada aaPanel.
5. [#339](https://github.com/OpenSID/wiki-siappakai/issues/339) Penambahan pembuatan SSL pada aaPanel.

#### Perbaikan BUG

1. [#390](https://github.com/OpenSID/wiki-siappakai/issues/390) Perbaikan ketika update perlu penyesuaian pada folder modul.
2. [#397](https://github.com/OpenSID/wiki-siappakai/issues/397) Bug: Symlink .htacces update pada master-opensid.
1. [#400](https://github.com/OpenSID/wiki-siappakai/issues/400) Perbaikan migrate:refresh.
2. [#399](https://github.com/OpenSID/wiki-siappakai/issues/399) Perbaikan akses menu modul eror ketika database masih kosong.
3. [#301](https://github.com/OpenSID/wiki-siappakai/issues/301) Perbaikan tambah tema.
4. [#335](https://github.com/OpenSID/wiki-siappakai/issues/335) Perbaikan unggah gambar ke file manager.
5. [#386](https://github.com/OpenSID/wiki-siappakai/issues/386) Perbaikan icon pada dasbor OpenSID.
6. [#409](https://github.com/OpenSID/wiki-siappakai/issues/409) Perbaikan restore folder desa OpenSID.

#### Panduan

#### Perubahan Teknis

1. [#379](https://github.com/OpenSID/wiki-siappakai/issues/379) Teknis: konfigurasi pantau di config opensid.
2. [#393](https://github.com/OpenSID/wiki-siappakai/issues/393) Penyesuaian root sesuai dengan server mana yang digunakan.
1. [#392](https://github.com/OpenSID/wiki-siappakai/issues/392) Penyesuian saas:worker pada server aaPanel.



### Peningkatan Keamanan
5 changes: 3 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
"license": "MIT",
"require": {
"php": "^8.0.2",
"devsrv/livewire-modal": "^1.2",
"fruitcake/laravel-cors": "^2.0",
"guzzlehttp/guzzle": "^7.2",
"laravel/framework": "^9.19",
Expand Down Expand Up @@ -49,8 +50,8 @@
"@php artisan package:discover --ansi"
],
"post-update-cmd": [
"@php artisan vendor:publish --tag=laravel-assets --ansi --force"
],
"@php artisan vendor:publish --tag=laravel-assets --ansi --force"
],
"post-root-package-install": [
"@php -r \"file_exists('.env') || copy('.env.example', '.env');\""
],
Expand Down
8 changes: 8 additions & 0 deletions config/livewiremodal.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
<?php

return [
/**
* Options: bs4 | bs5.
*/
'theme' => 'bs5',
];
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,6 @@ public function up()
*/
public function down()
{
Schema::dropIfExists('pengaturan_waktu_cronjob');
Schema::dropIfExists('pengaturan_jadwal_tugas');
}
};
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
<?php

use App\Models\Aplikasi;
use Illuminate\Database\Migrations\Migration;

return new class extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
$data = array(
[
"key" => "aapanel_key",
"keterangan" => "Isi API secret key aaPanel",
"value" => "",
"jenis" => "text",
"kategori" => "pengaturan_aapanel",
"script" => ""],

[
"key" => "aapanel_ip",
"keterangan" => "Isi IP Whitelist aaPanel",
"value" => "",
"jenis" => "text",
"kategori" => "pengaturan_aapanel",
"script" => ""],

[
"key" => "aapanel_php",
"keterangan" => "Isi Versi PHP aaPanel (contoh: 74, 81)",
"value" => "81",
"jenis" => "text",
"kategori" => "pengaturan_aapanel",
"script" => ""],
);

foreach ($data as $item) {
Aplikasi::create($item);
}
}

/**
* Reverse the migrations.
*
* @return void
*/
public function down()
{
//
}
};
12 changes: 12 additions & 0 deletions master-template/template-siappakai/saas-worker.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
[program:saas-worker]
process_name=%(program_name)s_%(process_num)02d
command=php {$dirRoot}dashboard-saas/artisan queue:work
autostart=true
autorestart=true
stopasgroup=true
killasgroup=true
user=root
numprocs=1
redirect_stderr=true
stdout_logfile={$dirRoot}dashboard-saas/storage/logs/supervisord.log
stopwaitsecs=10800
1 change: 1 addition & 0 deletions public/vendor/livewiremodal/css/line-progress.min.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions public/vendor/livewiremodal/css/skeleton.min.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

46 changes: 46 additions & 0 deletions public/vendor/livewiremodal/js/script.min.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
function _livewireModal() {
return {
ready: false,
modal: '',
size: null,
heading: 'loading . . .',
boot() {
function modalClose() {
Livewire.emitTo('base-wire-modal', 'closeModal');
this.ready = false;
}
if(_livewiremodal.theme === 'bs5') {
document.getElementById('x-modal').addEventListener('hidden.bs.modal', (e) => modalClose());
$('#x-modal').on('hidden.bs.modal', (e) => modalClose());
console.log('jalankan')
} else if(_livewiremodal.theme === 'bs4') {
$('#x-modal').on('hidden.bs.modal', (e) => modalClose());
}
},
onOpen(event) {
this.heading = event.detail.title;
this.modal = event.detail.modal;
this.size = Object.prototype.hasOwnProperty.call(event.detail, 'size') ? event.detail.size : null;
this.ready = false;

if(_livewiremodal.theme === 'bs4') {
$('#x-modal').modal('show');
} else if(_livewiremodal.theme === 'bs5') {
new bootstrap.Modal(document.getElementById('x-modal')).show();
}

Livewire.emitTo('base-wire-modal', 'initModal', event.detail.modal, event.detail.args);
}
}
}

function _openModal(title, modal, params = [], size = null) {
window.dispatchEvent(new CustomEvent("open-x-modal", {
detail: {
title: title,
modal: modal,
size: size,
args: params
}
}));
}
3 changes: 2 additions & 1 deletion resources/views/layouts/app.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
<!-- Content-->
<section class="content">
<div class="container-fluid">
<x-livewiremodal-base />
@yield('content')
</div>
</section>
Expand All @@ -47,7 +48,7 @@

<!-- Scripts -->
@include('layouts.includes.scripts')
<!-- /.scripts -->
<!-- /.scripts -->
</div>
</div>
@endsection
1 change: 1 addition & 0 deletions resources/views/layouts/includes/scripts.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@
<!-- Livewire -->
<livewire:scripts />

<script src="https://cdn.jsdelivr.net/gh/alpinejs/[email protected]/dist/alpine.min.js" defer></script>
<!-- Skrip pada halaman tertentu -->
@stack('scripts')

Expand Down
8 changes: 3 additions & 5 deletions resources/views/layouts/navigations/navbar.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,9 @@
<i class="fa fa-desktop me-3"></i>Dasbor
</a>

@if(env('OPENKAB') == 'true')
<a class="nav-link" href="{{ route('aplikasi.index') }}">
<i class="fa fa-cog me-3"></i>Pengaturan Aplikasi
</a>
@endif
<a class="nav-link" href="{{ route('aplikasi.index') }}">
<i class="fa fa-cog me-3"></i>Pengaturan Aplikasi
</a>

<a class="nav-link" href="{{ route('jadwal-tugas.index') }}">
<i class="fa fa-clock me-3"></i>Pengaturan Jadwal Tugas
Expand Down
Loading

0 comments on commit e3dab95

Please sign in to comment.