Commit Graph

85 Commits

Author SHA1 Message Date
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
1906b1aefd Update cron.php
radius rest interim update check
2024-12-29 19:15:19 +07:00
1a0b3ffaf3 hook cronjob_end 2024-10-25 13:45:11 +07:00
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
229eae5c8f additional cost can be minus 2024-09-23 17:11:32 +07:00
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
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
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
edfa98e6b2 Add condition to router check, if enable or not 2024-08-27 08:17:28 +01:00
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
b0c718b8fd run_hook on cron forgot to uncomment 2024-06-21 16:05:05 +07:00
28ec7883e2 Fix Demo mode 2024-06-20 14:16:09 +07:00
6a4ac274d1 check if demo or not 2024-06-12 15:39:43 +07:00
6e263ca4bd fix cron 2024-06-12 15:27:33 +07:00
c661976eae new $p['device'] to (new $p['device']) 2024-06-05 17:37:01 +07:00
8ea853c617 Change to devices 2024-06-05 17:19:24 +07:00
0cc1ffe90f still thinking about which function need to add as default. currently customer, plan, pool 2024-06-04 17:14:42 +07:00
2f551b1755 Update cron.php
Fix Autorenewal radius plan base
2024-05-07 04:55:20 +07:00
7396c2f1d4 As exp dev says, if it works, dont touch it 2024-04-21 10:54:04 +07:00
09af3474a9 Update cron.php 2024-04-21 10:54:04 +07:00
115a5c81a7 Fix variable cron for notification 2024-04-16 13:53:29 +07:00
854fd54834 delete $_c = $config; as it already exists in init.php 2024-04-15 14:08:34 +07:00
05caee1193 Merge branch 'Development' into patch-8 2024-04-15 09:00:53 +07:00
1a40606720 Update cron.php
Fix auto renewal radius plan based
2024-04-14 06:40:47 +07:00
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
e285e53887 Total Bills 2024-04-05 09:40:11 +07:00
c82b6b6acf Change Attribute to Bill Only 2024-03-15 10:38:05 +07:00
c4afd6da7f Additional Cost at Cron 2024-03-15 09:29:15 +07:00
9b2d42610a delete allow_purchase in cron 2024-03-12 16:39:01 +07:00
403de91fba sendPackageNotification with customer variable 2024-03-04 10:02:23 +07:00
2437096473 $_c to $config in php file 2024-02-29 09:25:26 +07:00
2063ae4159 Fix Admin List for Admin 2024-02-20 10:58:50 +07:00
349a1d3250 add to Address List 2024-02-20 10:07:17 +07:00
ade714e2ae View Admin and Init script 2024-02-19 14:24:34 +07:00
671154d146 add sub sales 2024-02-07 10:11:30 +07:00
ac84e4b235 settimezone 2024-02-07 09:39:49 +07:00
009c890ab6 Fix router_name for log 2024-02-06 16:41:41 +07:00
7ceb883826 fix notifications 2024-01-16 15:16:59 +07:00
80e78d9796 Fix sendPackageNotification 2024-01-16 15:08:26 +07:00
b504723e7c fix radius pool select 2024-01-16 09:39:20 +07:00
5867a0c9ca Fix Cron for 2024-01-15 10:22:03 +07:00
24df116003 Update cron.php
stop user from auto renewing packages that has been disabled for purchase.
2024-01-13 09:41:58 +01:00
bd8dd87384 fix bug cron and update plan 2023-11-09 14:52:41 +07:00
5c57c5df11 fix wrong cheking file 2023-10-25 10:03:25 +07:00
9e09611816 Fix expired notification 2023-10-24 15:12:10 +07:00
a18c07ba42 check file if exists 2023-10-24 13:38:58 +07:00
ddb3b8a718 fix logic pool_expired radius 2023-10-24 09:19:35 +07:00
6a6434b39c radius move to expired pool 2023-10-16 10:31:50 +07:00
a1d9b63dcf Change credits 2023-10-12 15:55:42 +07:00
95097e4512 show error stacktrace 2023-10-12 15:47:45 +07:00