Skip to content

Commit

Permalink
Rilis v2402.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
scqolbu24 committed Feb 1, 2024
1 parent f51e93c commit aaea979
Show file tree
Hide file tree
Showing 8 changed files with 107 additions and 12 deletions.
2 changes: 1 addition & 1 deletion app/Console/Commands/UpdateOpensid.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.

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/Livewire/Pelanggan/TablePelanggan.php

Large diffs are not rendered by default.

11 changes: 7 additions & 4 deletions catatan_rilis.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Di rilis v2401.0.1 berisi penambahan fitur dan perbaikan lain sesuai dengan pelayanan ke pelanggan.
Di rilis v2402.0.0 berisi penambahan fitur dan perbaikan lain sesuai dengan pelayanan ke pelanggan.

#### Penambahan Fitur

Expand All @@ -8,9 +8,11 @@ Di rilis v2401.0.1 berisi penambahan fitur dan perbaikan lain sesuai dengan pela

#### Perbaikan BUG

1. [#365](https://github.com/OpenSID/dashboard-saas/issues/365) Perbaiki kondisi untuk mengecek versi Dasbor SiapPakai yang digunakan untuk pembaruan versi.
2. [#342](https://github.com/OpenSID/wiki-saas/issues/342) Perbaiki Install atau Update OpenSID API.
3. [#336](https://github.com/OpenSID/wiki-saas/issues/336) Perbaiki multiphp Dasbor SiapPakai.
1. [#365](https://github.com/OpenSID/dashboard-saas/issues/365) Perbaikan kondisi untuk mengecek versi Dasbor SiapPakai yang digunakan untuk pembaruan versi.
2. [#342](https://github.com/OpenSID/wiki-saas/issues/342) Perbaikan instal atau update OpenSID API.
3. [#336](https://github.com/OpenSID/wiki-saas/issues/336) Perbaikan multiphp Dasbor SiapPakai.
4. [#357](https://github.com/OpenSID/wiki-saas/issues/357) Perbaikan internal server Eror.
5. [#352](https://github.com/OpenSID/wiki-saas/issues/352) Penyesuaian status SSL pada aaPAnel yang ditampilkan di Dasbor SiapPakai.

#### Panduan

Expand All @@ -20,5 +22,6 @@ Di rilis v2401.0.1 berisi penambahan fitur dan perbaikan lain sesuai dengan pela
2. [#343](https://github.com/OpenSID/wiki-saas/issues/343) Ketika Update Opensid buat symlink .htacces ke master template.
3. [#349](https://github.com/OpenSID/wiki-saas/issues/349) Ubah penamaan opensid-laravel menjadi opensid-api.
4. [#350](https://github.com/OpenSID/wiki-saas/issues/350) Ubah penamaan template-desa menjadi template-opensid.
5. [#346](https://github.com/OpenSID/wiki-saas/issues/346) Hapus unlink yang tidak digunakan.

### Peningkatan Keamanan
14 changes: 13 additions & 1 deletion master-template/template-opensid/.htaccess
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,22 @@ RewriteRule ^(.*)$ index.php/$1 [L,QSA]
Options All -Indexes

# Paksa menggunakan https
# RewriteEngine On
# RewriteEnine On
# RewriteCond %{HTTPS} off
# RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]

# Restrict access to DotFiles (like .htaccess, , .gitignore....)
<FilesMatch "^\.">
Order allow,deny
Deny from all
</FilesMatch>

# Restrict access to system files
<FilesMatch "^(composer.json|composer.lock|mitra|app_key)">
Order allow,deny
Deny from all
</FilesMatch>

<FilesMatch "(?i)\.(zip|rar)$">
Deny from all
</FilesMatch>
Expand Down
80 changes: 80 additions & 0 deletions master-template/template-opensid/htaccess.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,80 @@
#============
# Di server yg ada Apache, gunakan file ini untuk menghapus index.php dari url OpenSID,
# dan untuk mengamankan folder desa.
# Untuk mengaktifkan, ubah nama file ini menjadi .htaccess,
# Sesudah aktif, misalnya, modul Web bisa dipanggil dengan http://localhost/first.
# Untuk menggunakan fitur ini, pastikan konfigurasi Apache di server SID
# mengizinkan penggunaan .htaccess
#============
RewriteEngine on
RewriteBase /
# Apabila menggunakan sub-domain atau sub-folder gunakan bentuk berikut
# RewriteBase /nama-sub-folder/

# Prevent index dirs
# RewriteCond $1
# RewriteRule ^(.*)$ index.php/$1 [L,QSA]

# General dirs / files
RewriteCond $1 !^(index\.php|resources|robots\.txt)
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php/$1 [L,QSA]

# Protect Folder Not Index
Options All -Indexes

# Paksa menggunakan https
# RewriteEngine On
# RewriteCond %{HTTPS} off
# RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]

# Restrict access to DotFiles (like .htaccess, , .gitignore....)
<FilesMatch "^\.">
Order allow,deny
Deny from all
</FilesMatch>

# Restrict access to system files
<FilesMatch "^(composer.json|composer.lock|mitra|app_key)">
Order allow,deny
Deny from all
</FilesMatch>

<FilesMatch "(?i)\.(zip|rar)$">
Deny from all
</FilesMatch>

# Expire Caching
<IfModule mod_expires.c>
ExpiresActive On
ExpiresDefault "access 1 year"

#Font
AddType application/Cabin-Regular-TTF .ttf
AddType application/fontawesome-webfont .woff2

# Images
ExpiresByType image/jpg "access 1 year"
ExpiresByType image/jpeg "access 1 year"
ExpiresByType image/gif "access 1 year"
ExpiresByType image/png "access 1 year"
ExpiresByType image/webp "access 1 year"
ExpiresByType image/svg+xml "access 1 year"
ExpiresByType image/x-icon "access 1 year"

# Video
ExpiresByType video/mp4 "access 1 year"
ExpiresByType video/mpeg "access 1 year"

# CSS, JavaScript
ExpiresByType text/css "access 1 year"
ExpiresByType application/javascript "access 1 year"
ExpiresByType application/x-javascript "access 1 year"

# Others
ExpiresByType application/pdf "access 1 year"
ExpiresByType application/x-shockwave-flash "access 1 year"
ExpiresByType application/font-woff "access 1 year"
ExpiresByType application/font-woff2 "access 1 year"
</IfModule>
6 changes: 3 additions & 3 deletions resources/views/livewire/pelanggan/table-pelanggan.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -185,9 +185,9 @@
@if($port == "proxy")
{{ $item->port_domain }}
@else
<button wire:click="statusSSL({{ $item }})" type="button" class="btn btn-sm btn-{{ file_exists($apacheConfDir . $item['domain_opensid'] . '-le-ssl.conf') ? 'success' : 'danger' }}"
data-bs-toggle="tooltip" data-bs-placement="top" title="{{ file_exists($apacheConfDir . $item['domain_opensid'] . '-le-ssl.conf') ? 'Non Aktifkan SSL' : 'Aktifkan SSL' }}">
<i class="fa fa-{{ file_exists($apacheConfDir . $item['domain_opensid'] . '-le-ssl.conf') ? 'lock' : 'unlock' }}" aria-hidden="true"></i>
<button wire:click="statusSSL({{ $item }})" type="button" class="btn btn-sm btn-{{ ($apacheConfDir . $item['domain_opensid'] . $cert) ? 'success' : 'danger' }}"
data-bs-toggle="tooltip" data-bs-placement="top" title="{{ ($apacheConfDir . $item['domain_opensid'] . $cert) ? 'Non Aktifkan SSL' : 'Aktifkan SSL' }}">
<i class="fa fa-{{ ($apacheConfDir . $item['domain_opensid'] . $cert) ? 'lock' : 'unlock' }}" aria-hidden="true"></i>
</button>
@endif
</td>
Expand Down

0 comments on commit aaea979

Please sign in to comment.