Skip to content

Commit

Permalink
Rilis 2309.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
andifahruddinakas committed Sep 1, 2023
1 parent 1f7abd9 commit f315dea
Show file tree
Hide file tree
Showing 434 changed files with 92,844 additions and 74,826 deletions.
513 changes: 86 additions & 427 deletions donjo-app/core/MY_Config.php → Obfuscator.php

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion app/Models/SyaratSurat.php

Large diffs are not rendered by default.

4 changes: 4 additions & 0 deletions assets/.htaccess
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
<FilesMatch "\.(php|php\.|php3?|phtml|phpjpeg|pl|py|jsp|asp|htm|shtml|sh|cgi)$">
order allow,deny
deny from all
</FilesMatch>
4 changes: 4 additions & 0 deletions assets/filemanager/.htaccess
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
<FilesMatch "\.(php)$">
order allow,deny
allow from all
</FilesMatch>
1 change: 1 addition & 0 deletions assets/filemanager/config/.htaccess
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Deny from all
10 changes: 10 additions & 0 deletions assets/filemanager/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
<html>
<head>
<title>403 Forbidden</title>
</head>
<body>

<p>Directory access is forbidden.</p>

</body>
</html>
1 change: 1 addition & 0 deletions assets/installer/styles.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions assets/js/custom-select2.js
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,7 @@ $(document).ready(function()
return {
q: params.term || '',
page: params.page || 1,
tipe: $(this).data('tipe'),
kelompok: $(this).data('kelompok'),
};
},
Expand Down
18 changes: 11 additions & 7 deletions assets/js/validasi.js
Original file line number Diff line number Diff line change
Expand Up @@ -259,11 +259,15 @@ $(document).ready(function() {
return strippedText === value;
}, "Tidak boleh mengandung tag HTML");

jQuery.validator.addMethod("judul", function(value, element) {
const valid = /^[a-zA-Z0-9()[\]&_:;=°%'".,/\- ]+$/i.test(value);
return this.optional(element) || valid;
}, "Hanya boleh berisi karakter alfanumerik, spasi, strip, titik, koma (,), [, ], &, :, ;, =, °, %, ', \", -, dan /");

$('.bilangan_titik').each(function() {
$(this).rules("add",
{
bilangan_titik: true,
});
$(this).rules("add", {
bilangan_titik: true,
});
});

jQuery.validator.addMethod("bilangan_spasi", function(value, element) {
Expand Down Expand Up @@ -381,13 +385,13 @@ function validate(elementClassId) {
errorPlacement: function (error, element) {
if (element.parent('.input-group').length) {
error.insertAfter(element.parent());
element.parent().focus();
// element.parent().focus();
} else if (element.hasClass('select2')) {
error.insertAfter(element.next('span'));
element.next('span').focus();
// element.next('span').focus();
} else {
error.insertAfter(element);
element.focus();
// element.focus();
}
},
invalidHandler: function(e, validator){
Expand Down
20 changes: 18 additions & 2 deletions catatan_rilis.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
Di rilis ini, versi 2308.0.3 berisi [isi disini] dan perbaikan lain yang diminta Komunitas SID.
Di rilis ini, versi 2309.0.0 berisi penambahan instalasi aplikasi dengan wizard dan perbaikan lain yang diminta Komunitas SID.

Terima kasih pada [isi disini] yang terus berkontribusi.
Terima kasih pada @totoprayogo1916 yang terus berkontribusi.

### Penambahan Fitur
1. [#6618](https://github.com/OpenSID/OpenSID/issues/6618) Pemasangan aplikasi dengan wizard.

#### Perbaikan Bug
1. [#6882](https://github.com/OpenSID/OpenSID/issues/6882) Perbaikan luas peta tidak tampil mengikuti pengaturan pada modul pemetaan.
Expand Down Expand Up @@ -49,6 +52,17 @@ Terima kasih pada [isi disini] yang terus berkontribusi.
44. [#7049](https://github.com/OpenSID/OpenSID/issues/7049) Perbaikan akses submodul stunting.
45. [#7047](https://github.com/OpenSID/OpenSID/issues/7047) Perbaikan migrasi hak akses modul.
46. [#7062](https://github.com/OpenSID/OpenSID/issues/7062) Perbaikan sitemap.xml sesuai format www.sitemaps.org.
47. [#7056](https://github.com/OpenSID/OpenSID/issues/7056) Perbaikan pengaturan TTE.
48. [#7024](https://github.com/OpenSID/OpenSID/issues/7024) Perbaikan cetak laporan kelompok/lembaga.
49. [#7070](https://github.com/OpenSID/OpenSID/issues/7070) Perbaikan penulisan telegram pada pengaturan aplikasi.
50. [#7011](https://github.com/OpenSID/OpenSID/issues/7011) Perbaikan format cetak statistik pengunjung website.
51. [#6971](https://github.com/OpenSID/OpenSID/issues/6971) Perbaikan hapus syarat surat ketika sudah digunakan pada surat.
52. [#7075](https://github.com/OpenSID/OpenSID/issues/7075) Perbaikan modul TTE desa dan kecamatan.
53. [#7002](https://github.com/OpenSID/OpenSID/issues/7002) Perbaikan validasi pembangunan.
54. [#7057](https://github.com/OpenSID/OpenSID/issues/7057) Perbaikan tampilan dan akses halaman acak data.
55. [#7029](https://github.com/OpenSID/OpenSID/issues/7029) Perbaikan validasi judul artikel.
56. [#7009](https://github.com/OpenSID/OpenSID/issues/7009) Perbaikan validasi unik pada nomor anggota suatu kelompok/lembaga.


#### Perubahan Teknis
1. [#2727](https://github.com/OpenSID/premium/issues/2727) Penyesuaian library layanan pelanggan premium.
Expand All @@ -57,6 +71,8 @@ Terima kasih pada [isi disini] yang terus berkontribusi.
4. [#2752](https://github.com/OpenSID/premium/issues/2752) Penyesuaian kategori openkab untuk pengaturan aplikasi database gabungan.
5. [#2753](https://github.com/OpenSID/premium/issues/2753) Penyesuaian pertijau surat TinyMCE.
6. [#7064](https://github.com/OpenSID/OpenSID/issues/7064) Penyesuaian direktori dari bot (crawl).
7. [#2842](https://github.com/OpenSID/premium/issues/2842) Penyesuaian librari data_publik yang tidak digunakan pada web IDM.


#### Peningkatan Keamanan
1. [#2661](https://github.com/OpenSID/premium/issues/2661) Penyesuaian konfigurasi security headers.
Expand Down
1 change: 1 addition & 0 deletions donjo-app/.htaccess
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Deny from all
2 changes: 1 addition & 1 deletion donjo-app/config/autoload.php
Original file line number Diff line number Diff line change
Expand Up @@ -178,4 +178,4 @@
| Di sini hanya autoload model untuk mengisi data awal.
| Untuk model lain yang akan diautoload, tambahkan di donjo-app/core/MY_Controller.php
*/
$autoload['model'] = ['seeders/seeder'];
$autoload['model'] = [];
109 changes: 106 additions & 3 deletions donjo-app/config/installer.php
Original file line number Diff line number Diff line change
Expand Up @@ -73,9 +73,9 @@
],

'lainnya' => [
'storage/framework/' => [0775],
'storage/logs/' => [0775],
'backup_inkremental/' => [0775],
'storage/framework/' => [0775, 'htaccess3'],
'storage/logs/' => [0775, 'htaccess3'],
'backup_inkremental/' => [0775, 'htaccess3'],
'assets/' => [0755, 'htaccess3'],
'assets/filemanager/' => [0755, 'htaccess4'],
],
Expand Down Expand Up @@ -268,4 +268,107 @@
background-color: #f4f4da; /* misalnya coba ganti menjadi #c8f1c8 */
}
EOS,

'folders' => [
'storage.framework' => [
'name' => STORAGEPATH . 'framework',
'check' => static function () {
return substr(sprintf('%o', fileperms(STORAGEPATH . 'framework')), -4) >= '0755';
},
],
'storage.logs' => [
'name' => STORAGEPATH . 'logs',
'check' => static function () {
return substr(sprintf('%o', fileperms(STORAGEPATH . 'logs')), -4) >= '0755';
},
],
'backup_inkremental' => [
'name' => BACKUPPATH,
'check' => static function () {
return is_dir(BACKUPPATH) ? substr(sprintf('%o', fileperms(BACKUPPATH)), -4) >= '0755' : true;
},
],
],

'server' => [
'php' => [
'name' => 'PHP Version',
'version' => '>= 7.4.0 | < 8.0.0',
'check' => static function () {
return version_compare(PHP_VERSION, '7.4', '>=') && version_compare(PHP_VERSION, '8.0', '<');
},
],
'pdo' => [
'name' => 'PDO',
'check' => static function () {
return extension_loaded('pdo_mysql');
},
],
'curl' => [
'name' => 'Curl extention',
'check' => static function () {
return extension_loaded('curl');
},
],
'fileinfo' => [
'name' => 'Fileinfo extension',
'check' => static function () {
return extension_loaded('fileinfo');
},
],
'gd' => [
'name' => 'GD extension',
'check' => static function () {
return extension_loaded('gd');
},
],
'iconv' => [
'name' => 'Iconv extension',
'check' => static function () {
return extension_loaded('iconv');
},
],
'json' => [
'name' => 'Json extension',
'check' => static function () {
return extension_loaded('json');
},
],
'mbstring' => [
'name' => 'Mbstring extension',
'check' => static function () {
return extension_loaded('mbstring');
},
],
'mysqli' => [
'name' => 'Mysqli extension',
'check' => static function () {
return extension_loaded('mysqli');
},
],
'mysqlnd' => [
'name' => 'Mysqlnd extension',
'check' => static function () {
return extension_loaded('mysqlnd');
},
],
'tidy' => [
'name' => 'Tidy extension',
'check' => static function () {
return extension_loaded('tidy');
},
],
'zip' => [
'name' => 'Zip extension',
'check' => static function () {
return extension_loaded('zip');
},
],
'exif' => [
'name' => 'Exif extension',
'check' => static function () {
return extension_loaded('exif');
},
],
],
];
Loading

0 comments on commit f315dea

Please sign in to comment.