fix(wifi): sinkron SSID portal/teknisi + encode URL aksi teknisi
All checks were successful
CI / test (push) Successful in 2m37s

- pastikan update SSID via service yang menyinkronkan wifi_ssid
- encode tag pada URL ssid/password/reboot teknisi
- versi 0.6.16
This commit is contained in:
oxpoe
2026-11-06 11:28:24 +07:00
parent 81d6e79e90
commit 06a6eb23f2
5 changed files with 12 additions and 6 deletions

View File

@@ -2,6 +2,12 @@
Format mengikuti [Keep a Changelog](https://keepachangelog.com/) dan [Semantic Versioning](https://semver.org/).
## [0.6.16] — 2026-11-06 — "wifi-sync"
### Diperbaiki
- Perubahan SSID dari **Portal Pelanggan, Teknisi, Admin, dan ACS** memakai service yang sama dan menyinkronkan `wifi_ssid` ke data pelanggan.
- URL aksi WiFi/reboot di portal teknisi memakai `encodeURIComponent`, aman untuk tag/ID yang mengandung karakter khusus.
## [0.6.15] — 2026-11-06 — "telegram-safe"
### Diperbaiki

View File

@@ -11,7 +11,7 @@
<p align="center">
<img src="https://img.shields.io/badge/lisensi-ISC-ADFF2F" alt="Lisensi: ISC">
<img src="https://img.shields.io/badge/versi-0.6.15_telegram--safe-ADFF2F" alt="Versi 0.6.15 (telegram-safe)">
<img src="https://img.shields.io/badge/versi-0.6.16_wifi--sync-ADFF2F" alt="Versi 0.6.16 (wifi-sync)">
<img src="https://img.shields.io/badge/Node.js-%E2%89%A520-339933" alt="Node.js >= 20">
<img src="https://img.shields.io/badge/docker-ready-2496ED?logo=docker&logoColor=white" alt="Docker">
<a href="https://demo-openisp.oxpoe.xyz"><img src="https://img.shields.io/badge/demo-live-ADFF2F?logo=googlechrome&logoColor=black" alt="Demo"></a>

View File

@@ -1,6 +1,6 @@
{
"name": "open-isp",
"version": "0.6.15",
"version": "0.6.16",
"description": "OPEN-ISP \u2014 sistem billing & manajemen ISP open-source (PWA pelanggan, multi-OLT, RADIUS, WhatsApp, QRIS)",
"main": "app-customer.js",
"scripts": {

View File

@@ -1 +1 @@
0.6.15
0.6.16

View File

@@ -412,15 +412,15 @@ document.getElementById('btn-submit-action').addEventListener('click', async fun
if (type === 'ssid') {
const ssid = document.getElementById('new-ssid').value.trim();
if (!ssid) return alert('SSID tidak boleh kosong');
url = `/tech/api/device/${tag}/ssid`;
url = `/tech/api/device/${encodeURIComponent(tag)}/ssid`;
body = { ssid };
} else if (type === 'pass') {
const password = document.getElementById('new-password').value.trim();
if (password.length < 8) return alert('Password minimal 8 karakter');
url = `/tech/api/device/${tag}/password`;
url = `/tech/api/device/${encodeURIComponent(tag)}/password`;
body = { password };
} else if (type === 'reboot') {
url = `/tech/api/device/${tag}/reboot`;
url = `/tech/api/device/${encodeURIComponent(tag)}/reboot`;
body = {};
}