Skip to content

Commit

Permalink
Rilis 2311 (#914)
Browse files Browse the repository at this point in the history
Co-authored-by: Syahran Saputra <[email protected]>
Co-authored-by: yogiperdana <[email protected]>
Co-authored-by: sarwono <[email protected]>
Co-authored-by: Afila <[email protected]>
Co-authored-by: sarwono <[email protected]>
Co-authored-by: Suyadi <[email protected]>
Co-authored-by: apidong <[email protected]>
Co-authored-by: Andi Fahruddin Akas <[email protected]>
Co-authored-by: andifahruddinakas <[email protected]>
Co-authored-by: vickyrolanda <[email protected]>
Co-authored-by: ahmad afandi <[email protected]>
Co-authored-by: Agung Sugiarto <[email protected]>
Co-authored-by: agungsugiarto <[email protected]>
Co-authored-by: Toto <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
  • Loading branch information
16 people authored Nov 1, 2023
1 parent 57665df commit e028441
Show file tree
Hide file tree
Showing 438 changed files with 2,157 additions and 323 deletions.
2 changes: 1 addition & 1 deletion .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ APP_ENV=production
APP_KEY=base64:rN3vXWFRHDKFP2sMySe9f4gna7WulisoXTqn7Yo4Ye8=
APP_DEBUG=false
APP_LOG_LEVEL=debug
APP_URL=http://demo.opendk.my.id/
APP_URL=https://demodk.opendesa.id
APP_DEMO=false

DB_CONNECTION=mysql
Expand Down
Empty file modified .gitattributes
100755 → 100644
Empty file.
1 change: 0 additions & 1 deletion .gitignore
100755 → 100644
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ yarn-error.log
.phpunit.result.cache
composer.log
/storage/installed
/storage/framework
Vagrantfile.*
Vagrantfile
# Shell script di cPanel > Terminal untuk menyalin folder public ke public_html
Expand Down
Empty file modified .htaccess
100755 → 100644
Empty file.
Empty file modified app/Console/Kernel.php
100755 → 100644
Empty file.
Empty file modified app/Facades/Counter.php
100755 → 100644
Empty file.
Empty file modified app/Helpers/Counter.php
100755 → 100644
Empty file.
2 changes: 1 addition & 1 deletion app/Http/Controllers/Auth/ChangeDefaultController.php
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ public function index()

public function store(ChangeRequest $request)
{
auth()->user()->update(['email' => $request->email, 'password' => $request->password]);
auth()->user()->update(['password' => $request->password]);
return redirect()->route('dashboard');
}
}
Empty file modified app/Http/Controllers/Auth/ForgotPasswordController.php
100755 → 100644
Empty file.
Empty file modified app/Http/Controllers/Auth/LoginController.php
100755 → 100644
Empty file.
Empty file modified app/Http/Controllers/Auth/RegisterController.php
100755 → 100644
Empty file.
Empty file modified app/Http/Controllers/Auth/ResetPasswordController.php
100755 → 100644
Empty file.
16 changes: 8 additions & 8 deletions app/Http/Controllers/Controller.php
Original file line number Diff line number Diff line change
Expand Up @@ -150,19 +150,19 @@ public function __construct()

protected function kirimTrack()
{
// if (config('app.demo') == true) { // jika posisi demo, matikan tracking
// return;
// }
if (config('app.demo') == true) { // jika posisi demo, matikan tracking
return;
}

// if (session('track') != null && session('track') == date('Y m d')) {
// return;
// }
if (cache()->get('track') != null && cache()->get('track') == date('Y m d')) {
return;
}

$host_pantau = config('app.host_pantau');
$data = [
'url' => url('/'),
'versi' => config('app.version'),
'jumlah_desa' => DataDesa::count(),
'jml_desa' => DataDesa::count(),
'desa' => json_encode(DataDesa::select(['desa_id', 'nama', 'sebutan_desa', 'path', 'website'])->get()),
'jumlahdesa_sinkronisasi' => DataDesa::count(),
'jumlah_penduduk' => Penduduk::where('status_dasar', 1)->count(),
Expand Down Expand Up @@ -190,7 +190,7 @@ protected function kirimTrack()
$response = Http::withHeaders([
'token' => config('app.token_pantau')
])->post($host_pantau . 'track/opendk?token=' . config('app.token_pantau'), $data);
session(['track' => date('Y m d')]);
cache()->put('track', date('Y m d'), 60 * 60 * 24);
return;
} catch (Exception $e) {
Log::notice($e);
Expand Down
Empty file modified app/Http/Controllers/Counter/CounterController.php
100755 → 100644
Empty file.
Empty file modified app/Http/Controllers/Data/AdminKomplainController.php
100755 → 100644
Empty file.
Empty file modified app/Http/Controllers/Data/AnggaranDesaController.php
100755 → 100644
Empty file.
Empty file modified app/Http/Controllers/Data/AnggaranRealisasiController.php
100755 → 100644
Empty file.
Empty file modified app/Http/Controllers/Data/DataDesaController.php
100755 → 100644
Empty file.
Empty file modified app/Http/Controllers/Data/KeluargaController.php
100755 → 100644
Empty file.
Loading

0 comments on commit e028441

Please sign in to comment.