Commit Graph

322 Commits

Author SHA1 Message Date
7585129522 http error send to telegram 2024-06-26 17:39:05 +07:00
5baac9d7d0 Hook can return values 2024-06-26 17:38:49 +07:00
8e9338f347 Fix QRconfig 2024-06-25 14:14:30 +07:00
2401c7ae99 fix logic Expired Date 2024-06-25 14:05:22 +07:00
98e3304f17 fix variable when move customer to expired plan 2024-06-23 12:01:08 +07:00
04983e8a3a fix language clean after change and still use expired date from customer attribute when it have 2024-06-21 16:51:38 +07:00
894f692012 Filter in voucher list 2024-06-21 12:15:54 +07:00
28ec7883e2 Fix Demo mode 2024-06-20 14:16:09 +07:00
29ad9dec73 Fix edit customer plan 2024-06-20 14:02:36 +07:00
703593d5e2 Expired date at Internet plan 2024-06-19 15:26:26 +07:00
242d43f7c1 fix time Elapsed 2024-06-19 15:25:58 +07:00
6a4ac274d1 check if demo or not 2024-06-12 15:39:43 +07:00
987e21b3ce bring back mikrotik class 2024-06-12 15:39:28 +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
4347616af6 Rollback Radius.php to make quota based working 2024-05-27 15:35:42 +07:00
f1dc8f3810 extend_expiry default yes 2024-05-27 09:02:58 +07:00
92aa55a9dc Merge branch 'Development' into master 2024-05-22 15:29:37 +07:00
390de53e2e Update: Force Logout
add Force Logout in maintenance mode

Function:

if it enabled the system will kick out the user from the dashboard, but if not enabled the system will retain the user login section and display maintenance mode message.
2024-05-22 08:49:42 +01:00
e5b28c2c15 2024.5.22 2024-05-22 13:27:07 +07:00
13eedc814d rollback Radius Function 2024-05-22 11:31:43 +07:00
c2f220f770 comment deleted variable 2024-05-22 08:55:07 +07:00
ec7dee5c8a Fix if user Active in dashboard customer and order 2024-05-22 08:50:45 +07:00
01dd855632 Update User.php 2024-05-21 22:43:02 +01:00
fee1c150b7 Update User.php
fix user not logout in maintenance mode
2024-05-21 22:39:41 +01:00
94e6f7fe6c change join to left_outer_join 2024-05-21 11:45:23 +07:00
0bad687f7a Update Radius.php
Fix Radius Data Limit
2024-05-21 10:01:36 +07:00
749ec8509f update
if it the same internet plan, expiry date will extend, now optional and can be enabled/disable in general settings [ Miscellaneous Tab]
2024-05-17 16:24:48 +01:00
55d344febe Merge branch 'hotspotbilling:Development' into Development 2024-05-17 14:39:03 +01:00
51c4909308 Fix Logic Banned user 2024-05-17 19:05:16 +07:00
d00d04994d Merge branch 'Development' of https://github.com/Focuslinkstech/phpnuxbill into Development 2024-05-17 10:59:51 +01:00
fded62b39d Update
Add plan details to gateway
2024-05-17 10:59:41 +01:00
6b8501313d Revert "Revert "Update Package.php""
This reverts commit 22c027aaba.
2024-05-17 09:57:14 +01:00
22c027aaba Revert "Update Package.php"
This reverts commit cd34a68cf3.
2024-05-17 09:53:35 +01:00
67a4d7f534 Merge branch 'Development' of https://github.com/Focuslinkstech/phpnuxbill into Development 2024-05-17 09:52:20 +01:00
f81feee9c0 banned customer will automatically logout 2024-05-17 09:20:53 +07:00
d84cf96d01 Not Active Customer cannot recharge 2024-05-17 09:17:38 +07:00
a9761dda28 Fix lang on remaining 2024-05-16 16:53:20 +07:00
238fc03d03 update ORM so it can use array for select 2024-05-14 08:43:26 +07:00
ee63abb618 Fix bugs burst
Fix Burst on php7
Fix edit hotspot plan
Fix burs reset if klick sync button on plan page
2024-05-08 13:39:15 +07:00
060718dfda Fix Validity,, forgot to explode 2024-05-07 19:11:31 +07:00
cd34a68cf3 Update Package.php
if it same internet plan but has expired, it will not extend expiry date
2024-05-07 09:56:53 +01:00
6763fe09d8 fix validity_unit time for Days 2024-05-07 10:15:28 +07:00
822acef6d8 Merge pull request #192 from agstrxyz/Development
Update Radius.php
2024-05-07 08:54:10 +07:00
f766393e52 Update Radius.php
Fix radius plan base
*uptime limit
*burst bw profile limit
*data limit
*user can't login after recharge radius plan base

please add this variable in "mods-available/sqlcounter" for freeradius installation wiki

sqlcounter uptimelimit {
counter_name = 'Max-All-Session-Time'
check_name = 'Max-All-Session'
sql_module_instance = sql
key = 'User-Name'
reset = never
query = "SELECT SUM(AcctSessionTime) FROM radacct WHERE UserName='%{${key}}'"
}

and this variable in "sites-enabled/default"
authorize {
expiration
quotalimit
accessperiod
uptimelimit
}
2024-05-07 04:27:13 +07:00
47c6e90624 delete die() debug, forgot to delete it 2024-05-01 10:21:32 +07:00
2ed3dc991a CRITICAL UPDATE: last update Logic recharge not check is status on or off, it make expired customer stay in expired pool 2024-04-30 22:36:24 +07:00
b6fde35eb6 add search and pagination at Customer maps, fix query 2024-04-29 13:44:59 +07:00
f7deb828ac don't delete customer when plan not change 2024-04-29 13:18:07 +07:00