87 Commits

Author SHA1 Message Date
iBNu Maksum
20916b44f0
throw error if failed disconnect customer 2025-03-17 14:50:56 +07:00
iBNu Maksum
e3c173bea4
Different expired message 2025-03-11 12:29:46 +07:00
Focuslinks Digital Solutions
0a3205915f Enhancement and Improvements
Refactor CSRF class: improve token handling and update session variable names

Replace bulk message with ajax based message sending.
Added support for multiple recipients in bulk message, and also router based filtering.

Add support for multiple recipients in bulk message from customer list as requested by one of our Member. you can now send messages to multiple recipients at once from customer list.

Added Exception for CRON but not tested yet. i dont have multiple routers.
Added notify to know if cron has been executed or not.
2025-02-09 16:06:59 +01:00
AGSTR
1906b1aefd
Update cron.php
radius rest interim update check
2024-12-29 19:15:19 +07:00
iBNu Maksum
1a0b3ffaf3
hook cronjob_end 2024-10-25 13:45:11 +07:00
AGSTR
0428d9620e
Update cron.php
voucher expired tidak terhapus dari mikrotik sebab tidak menemukan data pada tabel customer $c  untuk di eksekusi ke device.php
2024-10-20 21:47:08 +07:00
Ibnu Maksum
229eae5c8f
additional cost can be minus 2024-09-23 17:11:32 +07:00
Focuslinkstech
723e99ebed
fix panel headers in css, add cron job monitor to check if cron is running, has run, or not setup 2024-09-11 14:19:13 +01:00
Ibnu Maksum
d31274b983
Fix Cron Router check, go to cache instead uploads folder. and check if Mikrotik using Default port 2024-08-28 13:58:40 +07:00
Focuslinkstech
ca26f8baa6
We have tried to mitigate the impact of overlapping and also tried to prevent it or reduced it, we still advice admin to be vigilant 2024-08-28 07:23:58 +01:00
Focuslinkstech
edfa98e6b2
Add condition to router check, if enable or not 2024-08-27 08:17:28 +01:00
Focuslinkstech
76ac9431b3
added router online status, also add monitor and also report to admin when goes offline, report depend on cron runtime 2024-08-27 00:26:52 +01:00
Ibnu Maksum
b0c718b8fd
run_hook on cron forgot to uncomment 2024-06-21 16:05:05 +07:00
Ibnu Maksum
28ec7883e2
Fix Demo mode 2024-06-20 14:16:09 +07:00
Ibnu Maksum
6a4ac274d1
check if demo or not 2024-06-12 15:39:43 +07:00
Ibnu Maksum
6e263ca4bd
fix cron 2024-06-12 15:27:33 +07:00
Ibnu Maksum
c661976eae
new $p['device'] to (new $p['device']) 2024-06-05 17:37:01 +07:00
Ibnu Maksum
8ea853c617
Change to devices 2024-06-05 17:19:24 +07:00
Ibnu Maksum
0cc1ffe90f
still thinking about which function need to add as default. currently customer, plan, pool 2024-06-04 17:14:42 +07:00
AGSTR
2f551b1755
Update cron.php
Fix Autorenewal radius plan base
2024-05-07 04:55:20 +07:00
Ibnu Maksum
7396c2f1d4
As exp dev says, if it works, dont touch it 2024-04-21 10:54:04 +07:00
Ahmad Husein
09af3474a9
Update cron.php 2024-04-21 10:54:04 +07:00
Ibnu Maksum
115a5c81a7
Fix variable cron for notification 2024-04-16 13:53:29 +07:00
Ibnu Maksum
854fd54834
delete $_c = $config; as it already exists in init.php 2024-04-15 14:08:34 +07:00
iBNu Maksum
05caee1193
Merge branch 'Development' into patch-8 2024-04-15 09:00:53 +07:00
AGSTR
1a40606720
Update cron.php
Fix auto renewal radius plan based
2024-04-14 06:40:47 +07:00
Ahmad Husein
1fdf1d9573
Update cron.php
Changes made:
 1. Use the $recharges variable to hold the query results to clarify the context.
 2. Use the ternary operator to determine whether the application is running in a CLI environment or not
 3. Simplify the logic by combining several redundant code blocks.
 4. Unify Mikrotik client retrieval logic based on type (Hotspot or PPPOE) to reduce code duplication.
 5. Tidy up the indents to make them consistent and easier to read.
2024-04-08 21:21:54 +07:00
Ibnu Maksum
e285e53887
Total Bills 2024-04-05 09:40:11 +07:00
Ibnu Maksum
c82b6b6acf
Change Attribute to Bill Only 2024-03-15 10:38:05 +07:00
Ibnu Maksum
c4afd6da7f
Additional Cost at Cron 2024-03-15 09:29:15 +07:00
Ibnu Maksum
9b2d42610a
delete allow_purchase in cron 2024-03-12 16:39:01 +07:00
Ibnu Maksum
403de91fba
sendPackageNotification with customer variable 2024-03-04 10:02:23 +07:00
Ibnu Maksum
2437096473
$_c to $config in php file 2024-02-29 09:25:26 +07:00
Ibnu Maksum
2063ae4159
Fix Admin List for Admin 2024-02-20 10:58:50 +07:00
Ibnu Maksum
349a1d3250
add to Address List 2024-02-20 10:07:17 +07:00
Ibnu Maksum
ade714e2ae
View Admin and Init script 2024-02-19 14:24:34 +07:00
Ibnu Maksum
671154d146
add sub sales 2024-02-07 10:11:30 +07:00
Ibnu Maksum
ac84e4b235
settimezone 2024-02-07 09:39:49 +07:00
Ibnu Maksum
009c890ab6
Fix router_name for log 2024-02-06 16:41:41 +07:00
Ibnu Maksum
7ceb883826
fix notifications 2024-01-16 15:16:59 +07:00
Ibnu Maksum
80e78d9796
Fix sendPackageNotification 2024-01-16 15:08:26 +07:00
Ibnu Maksum
b504723e7c
fix radius pool select 2024-01-16 09:39:20 +07:00
Ibnu Maksum
5867a0c9ca
Fix Cron for 2024-01-15 10:22:03 +07:00
Focuslinkstech
24df116003 Update cron.php
stop user from auto renewing packages that has been disabled for purchase.
2024-01-13 09:41:58 +01:00
Ibnu Maksum
bd8dd87384
fix bug cron and update plan 2023-11-09 14:52:41 +07:00
Ibnu Maksum
5c57c5df11
fix wrong cheking file 2023-10-25 10:03:25 +07:00
Ibnu Maksum
9e09611816
Fix expired notification 2023-10-24 15:12:10 +07:00
Ibnu Maksum
a18c07ba42
check file if exists 2023-10-24 13:38:58 +07:00
Ibnu Maksum
ddb3b8a718
fix logic pool_expired radius 2023-10-24 09:19:35 +07:00
Ibnu Maksum
6a6434b39c
radius move to expired pool 2023-10-16 10:31:50 +07:00