diff --git a/CHANGELOG.md b/CHANGELOG.md index 48ec734..d8a8160 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,15 @@ Format mengikuti [Keep a Changelog](https://keepachangelog.com/) dan [Semantic Versioning](https://semver.org/). +## [0.6.14] — 2026-11-06 — "portal-custom" + +### Ditambahkan +- **Kustomisasi Beranda & Portal Pelanggan** dari Pengaturan: + - banner pengumuman (info/warning/danger/success), + - status jaringan + keterangan, + - badge, judul, dan deskripsi hero, + - link Google Maps, Instagram, Facebook, TikTok di footer. + ## [0.6.13] — 2026-11-06 — "webhook-shopeepay" ### Diperbaiki diff --git a/README.md b/README.md index c772a43..96b8f22 100644 --- a/README.md +++ b/README.md @@ -11,7 +11,7 @@
-
+
diff --git a/package.json b/package.json
index 7086704..a623a5d 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
{
"name": "open-isp",
- "version": "0.6.13",
+ "version": "0.6.14",
"description": "OPEN-ISP \u2014 sistem billing & manajemen ISP open-source (PWA pelanggan, multi-OLT, RADIUS, WhatsApp, QRIS)",
"main": "app-customer.js",
"scripts": {
diff --git a/routes/adminPortal.js b/routes/adminPortal.js
index 5dc264c..f9fdb21 100644
--- a/routes/adminPortal.js
+++ b/routes/adminPortal.js
@@ -5069,6 +5069,7 @@ router.post('/settings', requireAdminSession, express.urlencoded({ extended: tru
if (newSettings.auto_deactivate_enabled !== undefined) newSettings.auto_deactivate_enabled = (newSettings.auto_deactivate_enabled === 'true');
if (newSettings.auto_deactivate_months !== undefined) newSettings.auto_deactivate_months = parseInt(newSettings.auto_deactivate_months) || 3;
newSettings.use_builtin_acs = (newSettings.use_builtin_acs === 'true' || newSettings.use_builtin_acs === true);
+ newSettings.portal_banner_enabled = (newSettings.portal_banner_enabled === 'true' || newSettings.portal_banner_enabled === true);
// Multi-Router Mode settings
if (!newSettings.multi_router_mode) newSettings.multi_router_mode = 'disabled';
diff --git a/version.txt b/version.txt
index 4655c9e..5c858bd 100644
--- a/version.txt
+++ b/version.txt
@@ -1 +1 @@
-0.6.13
\ No newline at end of file
+0.6.14
\ No newline at end of file
diff --git a/views/admin/settings.ejs b/views/admin/settings.ejs
index f9cdde4..b8c2397 100644
--- a/views/admin/settings.ejs
+++ b/views/admin/settings.ejs
@@ -392,6 +392,71 @@
+
<%= t('login.manage_desc','Masuk untuk melihat tagihan, melakukan pembayaran, memantau koneksi, dan mengatur WiFi perangkat Anda.') %>
+ <%= _portal.portal_hero_badge || t('landing.footer.portal','Portal Pelanggan') %> + <% if (_portal.portal_hero_title) { %> +<%= _portal.portal_hero_subtitle || t('login.manage_desc','Masuk untuk melihat tagihan, melakukan pembayaran, memantau koneksi, dan mengatur WiFi perangkat Anda.') %>
+ <% if (_portal.portal_network_status) { + const _ns = { normal: ['#22c55e', 'Jaringan Normal'], maintenance: ['#f59e0b', 'Pemeliharaan Terjadwal'], issue: ['#ef4444', 'Sedang Ada Kendala Teknis'] }[_portal.portal_network_status] || ['#22c55e', 'Jaringan Normal']; + %> +Micro Internet Provider dan Server Platform.
Internet Freedom — We Are Open-Source.
<% if (typeof settings !== 'undefined' && settings && settings.company_subheader) { %><%= settings.company_subheader %><% } else { %>Made with from Oxpoe in INA.<% } %>
+ <% if (_portal.social_maps_url || _portal.social_instagram || _portal.social_facebook || _portal.social_tiktok) { %> + + <% } %>