Skip to content

Commit

Permalink
Rilis v2411.0.0 (#455)
Browse files Browse the repository at this point in the history
Co-authored-by: Abah Roland <59082428+vickyrolanda@users.noreply.github.com>
Co-authored-by: Firliani Fauziah <firlianif@gmail.com>
Co-authored-by: Agung Sugiarto <sugiartoagung92@gmail.com>
Co-authored-by: Afila <apidongblog@gmail.com>
Co-authored-by: sarwono <scqolbu@gmail.com>
Co-authored-by: scqolbu24 <scqolbu24@users.noreply.github.com>
Co-authored-by: agungsugiarto <agungsugiarto@users.noreply.github.com>
  • Loading branch information
8 people authored Oct 31, 2024
1 parent 55421e2 commit 152a75d
Show file tree
Hide file tree
Showing 65 changed files with 683 additions and 509 deletions.
69 changes: 5 additions & 64 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,66 +1,7 @@
<p align="center"><a href="https://laravel.com" target="_blank"><img src="https://raw.githubusercontent.com/laravel/art/master/logo-lockup/5%20SVG/2%20CMYK/1%20Full%20Color/laravel-logolockup-cmyk-red.svg" width="400"></a></p>
<h1 align="center">Selamat datang di PantauSID! 👋</h1>

<p align="center">
<a href="https://travis-ci.org/laravel/framework"><img src="https://travis-ci.org/laravel/framework.svg" alt="Build Status"></a>
<a href="https://packagist.org/packages/laravel/framework"><img src="https://img.shields.io/packagist/dt/laravel/framework" alt="Total Downloads"></a>
<a href="https://packagist.org/packages/laravel/framework"><img src="https://img.shields.io/packagist/v/laravel/framework" alt="Latest Stable Version"></a>
<a href="https://packagist.org/packages/laravel/framework"><img src="https://img.shields.io/packagist/l/laravel/framework" alt="License"></a>
</p>
### Apa itu PantauSID?
PantauSID (https://github.com/OpenSID/pantau) adalah aplikasi yang dapat digunakan oleh berbagai pihak di seluruh Indonesia. Aplikasi ini terintegrasi dengan OpenKab, OpenDK, OpenSID, LayananDesa, dan KelolaDesa, dengan fungsi utama untuk memonitoring pengguna aplikasi secara aktif.

## About Laravel

Laravel is a web application framework with expressive, elegant syntax. We believe development must be an enjoyable and creative experience to be truly fulfilling. Laravel takes the pain out of development by easing common tasks used in many web projects, such as:

- [Simple, fast routing engine](https://laravel.com/docs/routing).
- [Powerful dependency injection container](https://laravel.com/docs/container).
- Multiple back-ends for [session](https://laravel.com/docs/session) and [cache](https://laravel.com/docs/cache) storage.
- Expressive, intuitive [database ORM](https://laravel.com/docs/eloquent).
- Database agnostic [schema migrations](https://laravel.com/docs/migrations).
- [Robust background job processing](https://laravel.com/docs/queues).
- [Real-time event broadcasting](https://laravel.com/docs/broadcasting).

Laravel is accessible, powerful, and provides tools required for large, robust applications.

## Learning Laravel

Laravel has the most extensive and thorough [documentation](https://laravel.com/docs) and video tutorial library of all modern web application frameworks, making it a breeze to get started with the framework.

If you don't feel like reading, [Laracasts](https://laracasts.com) can help. Laracasts contains over 1500 video tutorials on a range of topics including Laravel, modern PHP, unit testing, and JavaScript. Boost your skills by digging into our comprehensive video library.

## Laravel Sponsors

We would like to extend our thanks to the following sponsors for funding Laravel development. If you are interested in becoming a sponsor, please visit the Laravel [Patreon page](https://patreon.com/taylorotwell).

### Premium Partners

- **[Vehikl](https://vehikl.com/)**
- **[Tighten Co.](https://tighten.co)**
- **[Kirschbaum Development Group](https://kirschbaumdevelopment.com)**
- **[64 Robots](https://64robots.com)**
- **[Cubet Techno Labs](https://cubettech.com)**
- **[Cyber-Duck](https://cyber-duck.co.uk)**
- **[Many](https://www.many.co.uk)**
- **[Webdock, Fast VPS Hosting](https://www.webdock.io/en)**
- **[DevSquad](https://devsquad.com)**
- **[Curotec](https://www.curotec.com/services/technologies/laravel/)**
- **[OP.GG](https://op.gg)**
- **[CMS Max](https://www.cmsmax.com/)**
- **[WebReinvent](https://webreinvent.com/?utm_source=laravel&utm_medium=github&utm_campaign=patreon-sponsors)**
- **[Lendio](https://lendio.com)**
- **[Romega Software](https://romegasoftware.com)**

## Contributing

Thank you for considering contributing to the Laravel framework! The contribution guide can be found in the [Laravel documentation](https://laravel.com/docs/contributions).

## Code of Conduct

In order to ensure that the Laravel community is welcoming to all, please review and abide by the [Code of Conduct](https://laravel.com/docs/contributions#code-of-conduct).

## Security Vulnerabilities

If you discover a security vulnerability within Laravel, please send an e-mail to Taylor Otwell via [taylor@laravel.com](mailto:taylor@laravel.com). All security vulnerabilities will be promptly addressed.

## License

The Laravel framework is open-sourced software licensed under the [MIT license](https://opensource.org/licenses/MIT).
### 💻 DEMO
Demo aplikasi PantauSID dapat dilihat di https://pantau.opensid.my.id.
2 changes: 2 additions & 0 deletions app/Console/Commands/BackupDatabaseStorage.php
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,8 @@ public function handle()
$this->folder_database = folderBackupDatabase();
$this->backupDatabase();
$this->backupStorage();

changeLogPermissions('777');
}
}

Expand Down
1 change: 1 addition & 0 deletions app/Console/Commands/BackupGoogleDrive.php
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ public function handle()

// proses backup
$this->remote->backupToCloudStorage($storage_type, $remote_name, tanggal_backup(), null);
changeLogPermissions('777');
}
}
}
1 change: 1 addition & 0 deletions app/Console/Commands/BackupVps.php
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ public function handle()

// proses backup
$this->remote->backupToCloudStorage($storage_type, $remote_name, tanggal_backup(), $root);
changeLogPermissions('777');
}
}
}
2 changes: 2 additions & 0 deletions app/Console/Commands/BpsKemendagriCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -81,8 +81,10 @@ public function handle()
$this->requests($this->provinsi, 'kabupaten');
$this->requests($this->kabupaten, 'kecamatan');
$this->requests($this->kecamatan, 'desa');
changeLogPermissions('777');
} catch (ClientException $e) {
report($e);
changeLogPermissions('777');
}
}

Expand Down
2 changes: 2 additions & 0 deletions app/Console/Commands/DesaOptimasiCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -65,5 +65,7 @@ public function handle()
]);
}
});

changeLogPermissions('777');
}
}
6 changes: 3 additions & 3 deletions app/Exports/DesaExport.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
namespace App\Exports;

use Maatwebsite\Excel\Concerns\FromCollection;
use Maatwebsite\Excel\Concerns\WithHeadings;
use Maatwebsite\Excel\Concerns\ShouldAutoSize;
use Maatwebsite\Excel\Concerns\WithHeadings;

class DesaExport implements FromCollection, WithHeadings, ShouldAutoSize
{
Expand All @@ -17,14 +17,14 @@ public function __construct($data)

public function collection()
{
return $this->data->map(function($item, $index) {
return $this->data->map(function ($item, $index) {
return [
'no' => $index + 1, // Menambahkan nomor urut berdasarkan index
'nama_desa' => $item->nama_desa,
'nama_kecamatan' => $item->nama_kecamatan,
'nama_kabupaten' => $item->nama_kabupaten,
'nama_provinsi' => $item->nama_provinsi,
'kontak' => ($item->kontak['nama'] ?? '') . ' ' . ($item->kontak['hp'] ?? ''),
'kontak' => ($item->kontak['nama'] ?? '').' '.($item->kontak['hp'] ?? ''),
'url_hosting' => $item->url_hosting,
'versi_lokal' => $item->versi_lokal,
'versi_hosting' => $item->versi_hosting,
Expand Down
8 changes: 4 additions & 4 deletions app/Exports/KelolaDesaExport.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
namespace App\Exports;

use Maatwebsite\Excel\Concerns\FromCollection;
use Maatwebsite\Excel\Concerns\WithHeadings;
use Maatwebsite\Excel\Concerns\ShouldAutoSize;
use Maatwebsite\Excel\Concerns\WithHeadings;

class KelolaDesaExport implements FromCollection, WithHeadings, ShouldAutoSize
{
Expand All @@ -17,7 +17,7 @@ public function __construct($data)

public function collection()
{
return $this->data->map(function($item, $index) {
return $this->data->map(function ($item, $index) {
return [
'no' => $index + 1, // Menambahkan nomor urut berdasarkan index
'id_device' => $item->id_device,
Expand All @@ -39,7 +39,7 @@ public function headings(): array
'Desa',
'Kecamatan',
'Kabupaten',
'Provinsi'
'Provinsi',
];
}
}
}
8 changes: 4 additions & 4 deletions app/Exports/LayananDesaExport.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
namespace App\Exports;

use Maatwebsite\Excel\Concerns\FromCollection;
use Maatwebsite\Excel\Concerns\WithHeadings;
use Maatwebsite\Excel\Concerns\ShouldAutoSize;
use Maatwebsite\Excel\Concerns\WithHeadings;

class LayananDesaExport implements FromCollection, WithHeadings, ShouldAutoSize
{
Expand All @@ -17,7 +17,7 @@ public function __construct($data)

public function collection()
{
return $this->data->map(function($item, $index) {
return $this->data->map(function ($item, $index) {
return [
'no' => $index + 1, // Menambahkan nomor urut berdasarkan index
'id' => $item->id,
Expand All @@ -39,7 +39,7 @@ public function headings(): array
'Desa',
'Kecamatan',
'Kabupaten',
'Provinsi'
'Provinsi',
];
}
}
}
16 changes: 8 additions & 8 deletions app/Exports/OpenDKExport.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
namespace App\Exports;

use Maatwebsite\Excel\Concerns\FromCollection;
use Maatwebsite\Excel\Concerns\WithHeadings;
use Maatwebsite\Excel\Concerns\ShouldAutoSize;
use Maatwebsite\Excel\Concerns\WithHeadings;

class OpenDKExport implements FromCollection, WithHeadings, ShouldAutoSize
{
Expand All @@ -17,7 +17,7 @@ public function __construct($data)

public function collection()
{
return $this->data->map(function($item, $index) {
return $this->data->map(function ($item, $index) {
return [
'no' => $index + 1, // Menambahkan nomor urut berdasarkan index
'nama_kecamatan' => $item->nama_kecamatan,
Expand All @@ -26,10 +26,10 @@ public function collection()
'url' => $item->url,
'versi' => $item->versi,
'format_updated_at' => $item->format_updated_at,
'Batas Wilayah Utara' => ($item->batas_wilayah == null)? '' : $item->batas_wilayah['bts_wil_utara'] ?? '',
'Batas Wilayah Barat' => ($item->batas_wilayah == null)? '' : $item->batas_wilayah['bts_wil_barat'] ?? '',
'Batas Wilayah Timur' => ($item->batas_wilayah == null)? '' : $item->batas_wilayah['bts_wil_timur'] ?? '',
'Batas Wilayah Selatan' => ($item->batas_wilayah == null)? '' : $item->batas_wilayah['bts_wil_selatan'] ?? '',
'Batas Wilayah Utara' => ($item->batas_wilayah == null) ? '' : $item->batas_wilayah['bts_wil_utara'] ?? '',
'Batas Wilayah Barat' => ($item->batas_wilayah == null) ? '' : $item->batas_wilayah['bts_wil_barat'] ?? '',
'Batas Wilayah Timur' => ($item->batas_wilayah == null) ? '' : $item->batas_wilayah['bts_wil_timur'] ?? '',
'Batas Wilayah Selatan' => ($item->batas_wilayah == null) ? '' : $item->batas_wilayah['bts_wil_selatan'] ?? '',
'Jumlah Desa' => $item->jml_desa,
'Jumlah Desa Tersinkronisasi' => $item->jumlahdesa_sinkronisasi,
'Jumlah Penduduk' => $item->jumlah_penduduk,
Expand Down Expand Up @@ -59,7 +59,7 @@ public function headings(): array
'Jumlah Penduduk',
'Jumlah KK',
'Jumlah Program Bantuan',
'Alamat Kantor'
'Alamat Kantor',
];
}
}
}
4 changes: 2 additions & 2 deletions app/Exports/WilayahDesaExport.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
namespace App\Exports;

use Maatwebsite\Excel\Concerns\FromCollection;
use Maatwebsite\Excel\Concerns\WithHeadings;
use Maatwebsite\Excel\Concerns\ShouldAutoSize;
use Maatwebsite\Excel\Concerns\WithHeadings;

class WilayahDesaExport implements FromCollection, WithHeadings, ShouldAutoSize
{
Expand All @@ -17,7 +17,7 @@ public function __construct($data)

public function collection()
{
return $this->data->map(function($item, $index) {
return $this->data->map(function ($item, $index) {
return [
'no' => $index + 1, // Menambahkan nomor urut berdasarkan index
'kode_desa' => $item->kode_desa,
Expand Down
4 changes: 2 additions & 2 deletions app/Exports/WilayahKabupatenExport.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
namespace App\Exports;

use Maatwebsite\Excel\Concerns\FromCollection;
use Maatwebsite\Excel\Concerns\WithHeadings;
use Maatwebsite\Excel\Concerns\ShouldAutoSize;
use Maatwebsite\Excel\Concerns\WithHeadings;

class WilayahKabupatenExport implements FromCollection, WithHeadings, ShouldAutoSize
{
Expand All @@ -17,7 +17,7 @@ public function __construct($data)

public function collection()
{
return $this->data->map(function($item, $index) {
return $this->data->map(function ($item, $index) {
return [
'no' => $index + 1, // Menambahkan nomor urut berdasarkan index
'kode_kabupaten' => $item->kode_kabupaten,
Expand Down
4 changes: 2 additions & 2 deletions app/Exports/WilayahKecamatanExport.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
namespace App\Exports;

use Maatwebsite\Excel\Concerns\FromCollection;
use Maatwebsite\Excel\Concerns\WithHeadings;
use Maatwebsite\Excel\Concerns\ShouldAutoSize;
use Maatwebsite\Excel\Concerns\WithHeadings;

class WilayahKecamatanExport implements FromCollection, WithHeadings, ShouldAutoSize
{
Expand All @@ -17,7 +17,7 @@ public function __construct($data)

public function collection()
{
return $this->data->map(function($item, $index) {
return $this->data->map(function ($item, $index) {
return [
'no' => $index + 1, // Menambahkan nomor urut berdasarkan index
'kode_kecamatan' => $item->kode_kecamatan,
Expand Down
4 changes: 2 additions & 2 deletions app/Exports/WilayahProvinsiExport.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
namespace App\Exports;

use Maatwebsite\Excel\Concerns\FromCollection;
use Maatwebsite\Excel\Concerns\WithHeadings;
use Maatwebsite\Excel\Concerns\ShouldAutoSize;
use Maatwebsite\Excel\Concerns\WithHeadings;

class WilayahProvinsiExport implements FromCollection, WithHeadings, ShouldAutoSize
{
Expand All @@ -17,7 +17,7 @@ public function __construct($data)

public function collection()
{
return $this->data->map(function($item, $index) {
return $this->data->map(function ($item, $index) {
return [
'no' => $index + 1, // Menambahkan nomor urut berdasarkan index
'kode_provinsi' => $item->kode_provinsi,
Expand Down
Loading

0 comments on commit 152a75d

Please sign in to comment.