chore: rapikan istilah lama (RTRW/Baileys) + path relatif isolir-redirect

This commit is contained in:
oxpoe committed 2026-10-13 03:49:25 +07:00
1 parent cdb5046147
commit a68121544d
5 files changed
+7 -7

No files matched your search

+1 -1
View File
@@ -14,7 +14,7 @@ let TARGET = process.env.ISOLIR_REDIRECT_URL || '';
// Coba ambil target dari settings.json bila tersedia // Coba ambil target dari settings.json bila tersedia
try { try {
const { getSetting } = require('/opt/billing-rtrw/config/settingsManager'); const { getSetting } = require('./config/settingsManager');
const s = getSetting('isolir_portal_url', '') || ''; const s = getSetting('isolir_portal_url', '') || '';
if (s) TARGET = s; if (s) TARGET = s;
} catch (_) { /* abaikan */ } } catch (_) { /* abaikan */ }
+1 -1
View File
@@ -111,7 +111,7 @@ async function sendFonnteMessage(toPhone, messageText, options = {}) {
* Test Koneksi / Kirim Pesan Uji Coba Fonnte * Test Koneksi / Kirim Pesan Uji Coba Fonnte
*/ */
async function testFonnteConnection(targetPhone, customMessage) { async function testFonnteConnection(targetPhone, customMessage) {
const msg = customMessage || '🔔 *Tes Koneksi Fonnte WhatsApp Gateway Berhasil!*\n\nSistem Billing RTRW Net siap mengirimkan notifikasi otomatis melalui gateway Fonnte.'; const msg = customMessage || '🔔 *Tes Koneksi Fonnte WhatsApp Gateway Berhasil!*\n\nOPEN-ISP siap mengirimkan notifikasi otomatis melalui gateway Fonnte.';
return await sendFonnteMessage(targetPhone, msg); return await sendFonnteMessage(targetPhone, msg);
} }
+1 -1
View File
@@ -2042,7 +2042,7 @@ async function getBackup(routerId = null) {
rscLines.push(`# Router : ${routerName} (${routerHost})`); rscLines.push(`# Router : ${routerName} (${routerHost})`);
rscLines.push(`# Tanggal : ${nowStr}`); rscLines.push(`# Tanggal : ${nowStr}`);
rscLines.push(`# Format : RouterOS Script (.rsc) ROS7 Ready`); rscLines.push(`# Format : RouterOS Script (.rsc) ROS7 Ready`);
rscLines.push(`# Generator: Billing RTRW System`); rscLines.push(`# Generator: OPEN-ISP Billing System`);
rscLines.push(`# ===================================================\n`); rscLines.push(`# ===================================================\n`);
// 1. IP Pools // 1. IP Pools
+2 -2
View File
@@ -415,8 +415,8 @@
/radius incoming set accept=yes port=3799 /radius incoming set accept=yes port=3799
# 3. Tambahkan Server RADIUS Billing ke MikroTik # 3. Tambahkan Server RADIUS Billing ke MikroTik
/radius remove [find comment="RTRW-Billing-RADIUS"] /radius remove [find comment="OPEN-ISP-Billing-RADIUS"]
/radius add service=ppp address=<%= typeof serverIp !== 'undefined' ? serverIp : '192.168.8.88' %> secret="<%= radiusStatus.secret %>" authentication-port=<%= radiusStatus.authPort %> accounting-port=<%= radiusStatus.acctPort %> timeout=3000ms comment="RTRW-Billing-RADIUS" /radius add service=ppp address=<%= typeof serverIp !== 'undefined' ? serverIp : '192.168.8.88' %> secret="<%= radiusStatus.secret %>" authentication-port=<%= radiusStatus.authPort %> accounting-port=<%= radiusStatus.acctPort %> timeout=3000ms comment="OPEN-ISP-Billing-RADIUS"
# 4. Tambahkan IP Address Gateway Subnet Isolir RADIUS # 4. Tambahkan IP Address Gateway Subnet Isolir RADIUS
/ip address remove [find comment="Gateway-Isolir-RADIUS"] /ip address remove [find comment="Gateway-Isolir-RADIUS"]
+2 -2
View File
@@ -51,9 +51,9 @@
<a href="/admin/whatsapp/live-chat" class="wa-tab <%= waTab==='livechat' ? 'active' : '' %>"><i class="bi bi-chat-dots-fill"></i> <%= t('admin.wa.tab_livechat','Live Chat') %></a> <a href="/admin/whatsapp/live-chat" class="wa-tab <%= waTab==='livechat' ? 'active' : '' %>"><i class="bi bi-chat-dots-fill"></i> <%= t('admin.wa.tab_livechat','Live Chat') %></a>
</div> </div>
<!-- PENGATURAN HYBRID GATEWAY (BAILEYS VS FONNTE VS META API) --> <!-- PENGATURAN GATEWAY (GOWA / FONNTE / META API) -->
<div class="card mb16" style="padding: 20px;"> <div class="card mb16" style="padding: 20px;">
<h6 style="margin-bottom: 15px; font-weight: 700; color: var(--primary);"><i class="bi bi-sliders"></i> Mode WhatsApp Gateway (Baileys / Fonnte / GOWA / Meta API)</h6> <h6 style="margin-bottom: 15px; font-weight: 700; color: var(--primary);"><i class="bi bi-sliders"></i> Mode WhatsApp Gateway (GoWA / Fonnte / Meta API)</h6>
<form method="POST" action="/admin/whatsapp/gateway-settings"> <form method="POST" action="/admin/whatsapp/gateway-settings">
<div class="form-row mb16"> <div class="form-row mb16">