Commit Graph

23340 Commits

Author SHA1 Message Date
FusionPBX
69db088925 Update the permissions app_defaults to be more efficient 2025-11-13 08:34:53 -07:00
FusionPBX
f3bbe8770e Add a space after the foreach 2025-11-13 08:27:53 -07:00
FusionPBX
3af026a7c7 Add deflect as an option to call-forward-all 2025-11-13 07:23:35 -07:00
FusionPBX
2ca7565a4d Add a provisioning template for Htek uc926u 2025-11-12 17:54:25 -07:00
frytimo
5d5f00f82c Fixed the $settings object being singular when it should be plural (#7610)
This pull request fixes an error when the settings object is assigned to a singular variable of `$setting` instead of `$settings`. This makes the included files run potentially the wrong domain name.

Optimize the `upgrade()` method of the `domains.php` to reduce filesystem operations.
2025-11-12 16:02:57 -07:00
markjcrane
4809dc34ce Fix the yealink t74 wallpaper variable 2025-11-11 16:01:55 -07:00
FusionPBX
0232576a2f Change function order and order_by to nullable types 2025-11-10 13:49:35 -07:00
FusionPBX
f80a7749c6 Change parameters to allow nullable types in th_order_by 2025-11-10 13:26:02 -07:00
frytimo
9abc8c751f Fix invalid return point in functions.php (#7608)
The return statement would cause the functions.php to return too early before all functions below could be declared.
2025-11-10 08:36:57 -07:00
FusionPBX
203ce4d2a3 Function check_sql removed
This function was used before we started using paramaterized queries. So a better way has been in use for many years time to deprecate and remove the check_sql function.
2025-11-08 14:35:24 -07:00
frytimo
083a4ad97f First attempt for PHPDoc blocks for all functions in functions.php (#7607)
* First attempt for PHPDoc blocks for all functions in functions.php
PHPDoc Blocks created for all functions.
Old functions removed where PHP 7 was required for the function to exist:
- random_bytes
- random_in
- hash_equals
- mb_strtoupper

* Update functions.php

---------

Co-authored-by: FusionPBX <markjcrane@gmail.com>
2025-11-08 14:26:57 -07:00
markjcrane
a1ca042eea Move the enabled defaults 2025-11-08 08:17:36 -07:00
markjcrane
d9deadf051 Add new ring group settings
- call_screen_enabled
- call_forward_enabled
- follow_me_enabled

Used to set default values
2025-11-08 08:07:50 -07:00
FusionPBX
bcc7bf9dc2 Add bind_digit_action for follow me 2025-11-07 21:06:53 -07:00
FusionPBX
0d466b05ae Add a new dialplan named: xfer 2025-11-07 21:02:38 -07:00
markjcrane
7286d4b58d Update permission_exists for multiple permissions 2025-11-06 08:20:46 -07:00
markjcrane
de74db14ee Add support for Poly check-sync 2025-11-05 17:24:19 -07:00
FusionPBX
c1d81c6594 Change D785 to RW 2025-11-05 12:51:40 -07:00
FusionPBX
c6987c0e97 Update the owner 2025-11-05 09:33:18 -07:00
markjcrane
c36a15d37a Update user profile
- Add contact if needed
- Update the contact details
2025-11-04 19:09:01 -07:00
markjcrane
923e044621 Update the SQL query to add the alias
- Remove the redirect
2025-11-04 18:11:23 -07:00
markjcrane
ac8f37cdd1 Add Polycom alterInfo and ring tones
VVX 5.x, 6.x, 250 and 450
2025-11-04 17:42:52 -07:00
Alex
553ff685b2 Remove duplicate session_start to prevent PHP warnings (#7605) 2025-11-03 14:24:09 -07:00
Alex
396b025537 Check if the session is started to prevent PHP warnings (#7604) 2025-11-03 13:20:05 -07:00
FusionPBX
745d998252 Using for loop no longer need the $i++ 2025-11-03 12:28:27 -07:00
FusionPBX
ceeb720ce7 Update authentication class 2025-11-03 11:10:47 -07:00
markjcrane
8588abc563 Remove permissions that are no longer needed 2025-11-02 00:24:01 -06:00
markjcrane
b0eabca1f6 Update check permisisons 2025-11-02 00:22:57 -06:00
markjcrane
422fee7f23 Prevent a few PHP Warnings 2025-11-01 21:40:28 -06:00
markjcrane
a90a4e6212 Pass the database object to the schema object 2025-11-01 21:34:03 -06:00
markjcrane
97af53b810 Add a deprecated message to the check_str function 2025-11-01 21:06:23 -06:00
markjcrane
846b283fa5 Prevent PHP 8.2 warnings on click to call page 2025-11-01 21:05:48 -06:00
markjcrane
1c61513e90 Remove check_str function call
This function has been deprecated.
2025-11-01 20:55:23 -06:00
markjcrane
d97c3c5845 Minor fix for switch music on hold class
Remove unused text class and unset after return
2025-11-01 20:33:15 -06:00
markjcrane
bf5bb4f642 Fix multiple PHP warnings 2025-11-01 19:58:21 -06:00
markjcrane
a675660473 Remove unecessary php tag from the template 2025-11-01 13:27:34 -06:00
markjcrane
2ba40da0d4 Update the emergency_calls SQL Query 2025-10-31 21:40:02 -06:00
markjcrane
54d07d5401 Add Yealink template for ax86r 2025-10-31 21:23:36 -06:00
markjcrane
1d7ec1b020 Add dialplan emergency_calls
Adds a feature dial *911 to check recent emergency calls
2025-10-31 21:08:37 -06:00
markjcrane
1271063b00 Fix dialplans update $app_uuid handling in dialplan edit and database arrays 2025-10-31 15:49:43 -06:00
markjcrane
22e99a26c3 Define the maximum dialplan order number
Maximum order set to 300 to prevent loops with call-forward-all
2025-10-31 15:00:58 -06:00
FusionPBX
6a36858102 Update fax_send.php 2025-10-30 22:22:14 -06:00
FusionPBX
29797040dc Add function documentation 2025-10-30 20:45:04 -06:00
FusionPBX
1b96e24713 Update channel_variables 2025-10-30 20:11:33 -06:00
FusionPBX
cf81cca8d1 Update boolean handling 2025-10-30 20:09:49 -06:00
FusionPBX
6c6443d993 Fix module enabled 2025-10-30 18:16:56 -06:00
FusionPBX
11eb62a50d Add missing call_center_agent_uuid required field 2025-10-30 14:56:44 -06:00
FusionPBX
39502959b2 Fix the call center agent_record boolean
Cast the agent_record in Lua. To a string then used agent_record == 'true'
2025-10-30 14:33:47 -06:00
FusionPBX
79c359d0bc Remove deprecated
Reason for this to device_enabled_date. 
Restoring backup for a domain has this field on an older system.
If the field doesn't exist it breaks the restore.
2025-10-30 13:06:07 -06:00
FusionPBX
e9d6bf7a1c Remove device_enabled_date it was replaced by device_provisioned_date 2025-10-30 12:54:42 -06:00