Skip to content

Commit

Permalink
Squashed commit of the following:
Browse files Browse the repository at this point in the history
commit cb3981a
Author: Agung Sugiarto <[email protected]>
Date:   Wed Jun 1 15:58:48 2022 +0700

    Perbaiki query desa baru

commit 19761fa
Author: Agung Sugiarto <[email protected]>
Date:   Wed Jun 1 14:27:01 2022 +0700

    Laravel telescope

commit 4985b89
Author: Agung Sugiarto <[email protected]>
Date:   Wed Jun 1 13:53:12 2022 +0700

    Perbaiki api tracksid

commit 38d1c1c
Merge: 8dd1e02 147f477
Author: Agung Sugiarto <[email protected]>
Date:   Wed May 25 11:36:59 2022 +0700

    Merge branch 'main' of https://github.com/OpenSID/tracksid

commit 8dd1e02
Author: Agung Sugiarto <[email protected]>
Date:   Wed May 25 11:36:49 2022 +0700

    Perbaiki track request

commit 147f477
Author: Andi Fahruddin Akas <[email protected]>
Date:   Wed May 25 12:15:06 2022 +0800

    Tampilkan menu Wilayah Administratif

commit c3f1f6d
Author: Agung Sugiarto <[email protected]>
Date:   Wed May 25 10:19:10 2022 +0700

    Sederhanakan request

commit cc84cc8
Author: Agung Sugiarto <[email protected]>
Date:   Wed May 25 09:58:20 2022 +0700

    Perbaiki migrasi dan seeder

commit 1ef7e66
Merge: b100e70 3568ddb
Author: Andi Fahruddin Akas <[email protected]>
Date:   Mon May 23 09:52:43 2022 +0800

    Merge pull request #49 from OpenSID/pengguna

    Menu pengguna

commit 3568ddb
Author: Andi Fahruddin Akas <[email protected]>
Date:   Mon May 23 09:51:49 2022 +0800

    Menu

commit 6faed21
Author: Andi Fahruddin Akas <[email protected]>
Date:   Mon May 23 09:42:17 2022 +0800

    Judul

commit ad6318b
Author: Andi Fahruddin Akas <[email protected]>
Date:   Mon May 23 09:38:05 2022 +0800

    Update form.blade.php

commit 134c609
Author: Andi Fahruddin Akas <[email protected]>
Date:   Mon May 23 09:37:40 2022 +0800

    Update form.blade.php

commit a34ebaf
Author: Andi Fahruddin Akas <[email protected]>
Date:   Mon May 23 09:29:33 2022 +0800

    Update adminlte.php

commit 2313239
Merge: 62f84dc b100e70
Author: Andi Fahruddin Akas <[email protected]>
Date:   Mon May 23 09:22:44 2022 +0800

    Merge branch 'main' into pengguna

commit b100e70
Author: Andi Fahruddin Akas <[email protected]>
Date:   Mon May 23 09:22:29 2022 +0800

    Informasi  jumlah kabupaten kosong

commit 62f84dc
Author: Andi Fahruddin Akas <[email protected]>
Date:   Thu May 19 17:46:11 2022 +0800

    Sesuaikan

commit 3dbf50b
Merge: 51a2f66 14d7e1e
Author: Andi Fahruddin Akas <[email protected]>
Date:   Thu May 19 17:35:49 2022 +0800

    Merge branch 'main' into pengguna

commit 14d7e1e
Merge: fcb57a4 c672af0
Author: Andi Fahruddin Akas <[email protected]>
Date:   Thu May 19 17:32:50 2022 +0800

    Merge pull request #47 from OpenSID/profile

    menu profile dan change password

commit c672af0
Author: Andi Fahruddin Akas <[email protected]>
Date:   Thu May 19 17:30:04 2022 +0800

    Sesuaikan

commit 04f8022
Author: Andi Fahruddin Akas <[email protected]>
Date:   Thu May 19 17:27:56 2022 +0800

    Update ProfileController.php

commit 7f29fe6
Author: Andi Fahruddin Akas <[email protected]>
Date:   Thu May 19 17:05:41 2022 +0800

    Sesuaikan

commit cb57297
Merge: 8975e97 fcb57a4
Author: Andi Fahruddin Akas <[email protected]>
Date:   Thu May 19 16:58:52 2022 +0800

    Merge branch 'main' into profile

commit fcb57a4
Merge: 9597d1b a2ac9e4
Author: Andi Fahruddin Akas <[email protected]>
Date:   Thu May 19 16:57:03 2022 +0800

    Merge pull request #46 from OpenSID/bersihkan-data-akses

    bersihkan data akses

commit a2ac9e4
Author: Andi Fahruddin Akas <[email protected]>
Date:   Thu May 19 16:04:08 2022 +0800

    Sesuaikan

commit cb032c1
Merge: ae2e4b4 9597d1b
Author: Andi Fahruddin Akas <[email protected]>
Date:   Thu May 19 15:42:02 2022 +0800

    Merge branch 'main' into bersihkan-data-akses

commit 9597d1b
Author: Andi Fahruddin Akas <[email protected]>
Date:   Thu May 19 15:30:03 2022 +0800

    Informasi jumlah desa baru

commit 6a6f58e
Author: Andi Fahruddin Akas <[email protected]>
Date:   Thu May 19 15:23:01 2022 +0800

    Sesuaikan tampilan

commit 94f96db
Author: Andi Fahruddin Akas <[email protected]>
Date:   Thu May 19 12:17:00 2022 +0800

    Hapus belum digunakan

commit fc209c9
Author: Andi Fahruddin Akas <[email protected]>
Date:   Thu May 19 11:57:38 2022 +0800

    Sesuaikan menu awal

commit a563208
Author: Andi Fahruddin Akas <[email protected]>
Date:   Thu May 19 11:50:57 2022 +0800

    Update UserSeeder.php

commit 51a2f66
Merge: a67e2a6 b0ec211
Author: Andi Fahruddin Akas <[email protected]>
Date:   Thu May 19 11:32:58 2022 +0800

    Merge branch 'main' into pengguna

commit 8975e97
Merge: 7fd5633 b0ec211
Author: Andi Fahruddin Akas <[email protected]>
Date:   Thu May 19 11:32:46 2022 +0800

    Merge branch 'main' into profile

commit ae2e4b4
Merge: f433fc0 b0ec211
Author: Andi Fahruddin Akas <[email protected]>
Date:   Thu May 19 11:16:56 2022 +0800

    Merge branch 'main' into bersihkan-data-akses

commit b0ec211
Author: Andi Fahruddin Akas <[email protected]>
Date:   Thu May 19 11:15:33 2022 +0800

    Update .gitignore

commit cec3635
Author: Andi Fahruddin Akas <[email protected]>
Date:   Thu May 19 11:15:19 2022 +0800

    Delete composer.lock

commit f433fc0
Merge: f6cb99d d7b053b
Author: Andi Fahruddin Akas <[email protected]>
Date:   Thu May 19 11:13:28 2022 +0800

    Merge branch 'main' into bersihkan-data-akses

commit d7b053b
Author: Andi Fahruddin Akas <[email protected]>
Date:   Thu May 19 11:11:51 2022 +0800

    Sesuaikan config database

commit 5a105fb
Author: Andi Fahruddin Akas <[email protected]>
Date:   Thu May 19 10:22:37 2022 +0800

    Perbaiki daftar domain

commit fe37390
Author: Andi Fahruddin Akas <[email protected]>
Date:   Thu May 19 09:52:41 2022 +0800

    Update data pantau terbaru

commit f6cb99d
Author: Andi Fahruddin Akas <[email protected]>
Date:   Wed May 18 11:09:00 2022 +0800

    Update composer.lock

commit 57c6993
Author: firlianif <[email protected]>
Date:   Mon May 16 18:30:56 2022 +0700

    updates akses:bersihkan

commit a67e2a6
Author: firlianif <[email protected]>
Date:   Mon May 16 18:00:18 2022 +0700

    pengguna request

commit bb86a23
Author: firlianif <[email protected]>
Date:   Mon May 16 17:46:35 2022 +0700

    hapus use Illuminate\Support\Facades\Validator

commit 7fd5633
Author: Andi Fahruddin Akas <[email protected]>
Date:   Sat Apr 30 13:34:07 2022 +0800

    Update app/Http/Controllers/AdminController.php

commit 3d20a53
Author: firlianif <[email protected]>
Date:   Mon Apr 18 11:27:22 2022 +0700

    perbaikan

commit 73d52e2
Author: firlianif <[email protected]>
Date:   Sun Apr 10 16:12:48 2022 +0700

    updateee

commit a50604d
Author: firlianif <[email protected]>
Date:   Sun Apr 10 15:25:55 2022 +0700

    update validation

commit 3ae2e05
Author: firlianif <[email protected]>
Date:   Tue Apr 5 07:58:27 2022 +0700

    update

commit 0c7c63e
Merge: 9d1e0f1 55dc6e0
Author: firlianif <[email protected]>
Date:   Tue Apr 5 07:47:24 2022 +0700

    Merge branch 'bersihkan-data-akses' of https://github.com/OpenSID/tracksid into bersihkan-data-akses

commit 9d1e0f1
Author: firlianif <[email protected]>
Date:   Tue Apr 5 07:47:14 2022 +0700

    update

commit 55dc6e0
Author: Andi Fahruddin Akas <[email protected]>
Date:   Tue Mar 29 12:44:17 2022 +0800

    Update adminlte.php

commit 3fbcdd1
Merge: c8de661 b8bc0df
Author: Andi Fahruddin Akas <[email protected]>
Date:   Thu Mar 24 12:02:34 2022 +0800

    Merge pull request #45 from OpenSID/perbaiki-migrasi

commit f70f27e
Author: firlianif <[email protected]>
Date:   Thu Mar 17 08:20:16 2022 +0700

    pengguna

commit 6b10b8e
Author: firlianif <[email protected]>
Date:   Mon Mar 14 23:35:48 2022 +0700

    atur profile dan ubah password

commit 95b521b
Author: firlianif <[email protected]>
Date:   Mon Mar 14 22:48:43 2022 +0700

    bersihkan data akses

commit b8bc0df
Author: Firliani Fauziah <[email protected]>
Date:   Tue Mar 8 11:00:01 2022 +0700

    perbaiki migrasi

commit c8de661
Author: agungsugiarto <[email protected]>
Date:   Mon Dec 27 13:51:34 2021 +0700

    WIP: review desa

commit f1e2623
Author: agungsugiarto <[email protected]>
Date:   Mon Dec 27 10:26:56 2021 +0700

    WIP: laporan dan wilayah

commit b9d76b6
Author: agungsugiarto <[email protected]>
Date:   Fri Dec 24 15:33:36 2021 +0700

    WIP: peta

commit 6fa6cbd
Author: agungsugiarto <[email protected]>
Date:   Fri Dec 24 09:42:19 2021 +0700

    WIP: dashboard

commit 4a476fc
Author: agungsugiarto <[email protected]>
Date:   Wed Dec 22 12:41:09 2021 +0700

    WIP: api tracksid

commit bb05c6b
Author: agungsugiarto <[email protected]>
Date:   Wed Dec 22 09:11:11 2021 +0700

    WIP: api tracksid

commit 2e2e07d
Author: agungsugiarto <[email protected]>
Date:   Wed Dec 22 08:01:14 2021 +0700

    WIP: gunakan laravel/ui

commit bd6bb23
Author: agungsugiarto <[email protected]>
Date:   Tue Dec 21 17:27:47 2021 +0700

    WIP: persiapan database dan adminlte

commit 8ced1a5
Author: agungsugiarto <[email protected]>
Date:   Mon Dec 20 16:10:07 2021 +0700

    WIP: Api wilayah dan tracksid

commit 8966eb8
Author: agungsugiarto <[email protected]>
Date:   Mon Dec 20 15:38:00 2021 +0700

    WIP: persiapan project baru

commit 362db58
Author: agungsugiarto <[email protected]>
Date:   Mon Dec 20 15:34:04 2021 +0700

    WIP: hapus semua
  • Loading branch information
andifahruddinakas committed Jul 4, 2022
1 parent fa8fccb commit 62084fd
Show file tree
Hide file tree
Showing 752 changed files with 399,118 additions and 266,159 deletions.
18 changes: 18 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
root = true

[*]
charset = utf-8
end_of_line = lf
insert_final_newline = true
indent_style = space
indent_size = 4
trim_trailing_whitespace = true

[*.md]
trim_trailing_whitespace = false

[*.{yml,yaml}]
indent_size = 2

[docker-compose.yml]
indent_size = 4
54 changes: 54 additions & 0 deletions .env.example
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
APP_NAME=Laravel
APP_ENV=local
APP_KEY=
APP_DEBUG=true
APP_URL=http://localhost
APP_TIMEZONE=Asia/Jakarta
APP_LOCALE=id

LOG_CHANNEL=daily
LOG_DEPRECATIONS_CHANNEL=null
LOG_LEVEL=debug

DB_CONNECTION=mysql
DB_HOST=127.0.0.1
DB_PORT=3306
DB_DATABASE=laravel
DB_USERNAME=root
DB_PASSWORD=

BROADCAST_DRIVER=log
CACHE_DRIVER=file
FILESYSTEM_DRIVER=local
QUEUE_CONNECTION=sync
SESSION_DRIVER=file
SESSION_LIFETIME=120

MEMCACHED_HOST=127.0.0.1

REDIS_HOST=127.0.0.1
REDIS_PASSWORD=null
REDIS_PORT=6379

MAIL_MAILER=smtp
MAIL_HOST=mailhog
MAIL_PORT=1025
MAIL_USERNAME=null
MAIL_PASSWORD=null
MAIL_ENCRYPTION=null
MAIL_FROM_ADDRESS=null
MAIL_FROM_NAME="${APP_NAME}"

AWS_ACCESS_KEY_ID=
AWS_SECRET_ACCESS_KEY=
AWS_DEFAULT_REGION=us-east-1
AWS_BUCKET=
AWS_USE_PATH_STYLE_ENDPOINT=false

PUSHER_APP_ID=
PUSHER_APP_KEY=
PUSHER_APP_SECRET=
PUSHER_APP_CLUSTER=mt1

MIX_PUSHER_APP_KEY="${PUSHER_APP_KEY}"
MIX_PUSHER_APP_CLUSTER="${PUSHER_APP_CLUSTER}"
5 changes: 5 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
* text=auto
*.css linguist-vendored
*.scss linguist-vendored
*.js linguist-vendored
CHANGELOG.md export-ignore
65 changes: 16 additions & 49 deletions .gitignore
100755 → 100644
Original file line number Diff line number Diff line change
@@ -1,49 +1,16 @@
.DS_Store

application/cache/*
!application/cache/index.html
!application/cache/.htaccess

application/logs/*
!application/logs/index.html
!application/logs/.htaccess

user_guide/*
user_guide_src/build/*
user_guide_src/cilexer/build/*
user_guide_src/cilexer/dist/*
user_guide_src/cilexer/pycilexer.egg-info/*
/vendor/
installer

# File vendor yang diperlukan
!vendor/almasaeed2010/adminlte/bower_components/bootstrap/dist/css/bootstrap.min.css
!vendor/almasaeed2010/adminlte/bower_components/font-awesome/css/font-awesome.min.css
!vendor/almasaeed2010/adminlte/bower_components/ionicons/css/ionicons.min.css
!vendor/almasaeed2010/adminlte/bower_components/datatables.net-bs/css/dataTables.bootstrap.min.css
!vendor/almasaeed2010/adminlte/dist/css/AdminLTE.min.css
!vendor/almasaeed2010/adminlte/dist/css/skins/_all-skins.min.css
!vendor/almasaeed2010/adminlte/plugins/pace/pace.min.css
!vendor/almasaeed2010/adminlte/bower_components/jquery/dist/jquery.min.js
!vendor/almasaeed2010/adminlte/bower_components/bootstrap/dist/js/bootstrap.min.js
!vendor/almasaeed2010/adminlte/dist/js/adminlte.min.js

# IDE Files
#-------------------------
/nbproject/
.idea/*

## Sublime Text cache files
*.tmlanguage.cache
*.tmPreferences.cache
*.stTheme.cache
*.sublime-workspace
*.sublime-project

## Configuration files
config/*
## Coba folder
coba/*
## folder upload
uploads/*
!uploads/index.html
/node_modules
/public/hot
/public/storage
/storage/*.key
/vendor
.env
.env.backup
.phpunit.result.cache
docker-compose.override.yml
Homestead.json
Homestead.yaml
npm-debug.log
yarn-error.log
/.idea
/.vscode
composer.lock
14 changes: 14 additions & 0 deletions .styleci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
php:
preset: laravel
version: 8
disabled:
- no_unused_imports
finder:
not-name:
- index.php
- server.php
js:
finder:
not-name:
- webpack.mix.js
css: true
66 changes: 66 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,66 @@
<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>

<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>

## 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 [[email protected]](mailto:[email protected]). 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).
32 changes: 32 additions & 0 deletions app/Console/Kernel.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
<?php

namespace App\Console;

use Illuminate\Console\Scheduling\Schedule;
use Illuminate\Foundation\Console\Kernel as ConsoleKernel;

class Kernel extends ConsoleKernel
{
/**
* Define the application's command schedule.
*
* @param \Illuminate\Console\Scheduling\Schedule $schedule
* @return void
*/
protected function schedule(Schedule $schedule)
{
// $schedule->command('inspire')->hourly();
}

/**
* Register the commands for the application.
*
* @return void
*/
protected function commands()
{
$this->load(__DIR__.'/Commands');

require base_path('routes/console.php');
}
}
41 changes: 41 additions & 0 deletions app/Exceptions/Handler.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
<?php

namespace App\Exceptions;

use Illuminate\Foundation\Exceptions\Handler as ExceptionHandler;
use Throwable;

class Handler extends ExceptionHandler
{
/**
* A list of the exception types that are not reported.
*
* @var array<int, class-string<Throwable>>
*/
protected $dontReport = [
//
];

/**
* A list of the inputs that are never flashed for validation exceptions.
*
* @var array<int, string>
*/
protected $dontFlash = [
'current_password',
'password',
'password_confirmation',
];

/**
* Register the exception handling callbacks for the application.
*
* @return void
*/
public function register()
{
$this->reportable(function (Throwable $e) {
//
});
}
}
35 changes: 35 additions & 0 deletions app/Helpers/helper.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
<?php

if (! function_exists('kode_wilayah')) {
/**
* Kode wilayah dengan titik dari 5201142005 --> 52.01.14.2005
*
* @param mixed $kode_wilayah
* @return string
*/
function kode_wilayah($kode_wilayah)
{
$kode_prov_kab_kec = str_split(substr($kode_wilayah, 0, 6), 2);
$kode_desa = (strlen($kode_wilayah) > 6) ? '.' . substr($kode_wilayah, 6) : '';
$kode_standar = implode('.', $kode_prov_kab_kec) . $kode_desa;

return $kode_standar;
}
}

if (! function_exists('is_local')) {
/**
* Validasi local ip.
*
* @param mixed $url
* @return bool
*/
function is_local($url)
{
if (preg_match('/localhost|192\.168|127\.0\.0\.1|\/10\.|^10\./i', $url)) {
return true;
} else {
return false;
}
}
}
17 changes: 17 additions & 0 deletions app/Http/Controllers/AksesController.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
<?php

namespace App\Http\Controllers;

use App\Models\Desa;
use App\Models\Akses;

class AksesController extends Controller
{
public function __invoke()
{
Akses::bersihkan();
Desa::hapusNonaktifTidakTerdaftar();

return redirect('laporan/desa');
}
}
Loading

0 comments on commit 62084fd

Please sign in to comment.