Commit Graph

23362 Commits

Author SHA1 Message Date
markjcrane
c7afa0455a Update the SQL query to get the Categories 2025-11-15 12:12:40 -07:00
markjcrane
761948f850 Adjust defaults values for enabled and dialplan_continue
- IVR Menu option enabled by default
- Dialplan Add - dialplan_continue: false
- Add Outbound Route
  - dialplan to set call_direction dialplan_continue: true
  - dialplan for the main outbound route dialplan_continue: false
2025-11-15 10:00:21 -07:00
markjcrane
8ccf6b6d26 Fix ring group destination_enabled toggle 2025-11-15 09:04:59 -07:00
markjcrane
ffa86100b2 In the service reconnect to the database only when needed 2025-11-15 08:29:51 -07:00
frytimo
96a0355d1d Fix domain name with port number from device (#7606) 2025-11-14 15:25:41 -07:00
frytimo
45710ef012 Use APCu cache for the text class when APCu is enabled (#7614)
Using the APCu cache within the text class adds a significant speed boost. In testing, the load time of the text class was about 7% of the total load time on the page. After implementing caching, the load time for the text class dropped to just 0.17% of the total time for the page to load. When APCu caching is not available, the class will cache it directly dropping it from 7% to just 2.3% of the total script load time.
2025-11-14 15:22:49 -07:00
frytimo
f6f14fff4c Add missing default colors for dashboard network status chart (#7615) 2025-11-14 14:48:24 -07:00
markjcrane
d877c0e712 Allow type to be null 2025-11-14 13:21:26 -07:00
markjcrane
d5ef3a3834 Prevent warningx in get_classname 2025-11-14 12:11:42 -07:00
markjcrane
71edbd5b28 Minor update for code alignment 2025-11-13 23:44:02 -07:00
markjcrane
92a0c9d75f Efficiency improvements for the destinations class 2025-11-13 23:40:35 -07:00
markjcrane
8fb57aad41 Update functions.php prevent warnings 2025-11-13 23:39:37 -07:00
markjcrane
e8efd52aa1 Update search for template.php
If the template is pointing to a custom location but the template.php doesn't exist there then use the default/template.php
2025-11-13 14:48:58 -07:00
Alex
17f7d3c515 Add Htek uc924u template (#7613)
* Add Htek uc924u template

* Update {$mac}.cfg
2025-11-13 13:15:22 -07:00
markjcrane
195c158128 Add the htek_provision_url 2025-11-13 11:52:48 -07:00
markjcrane
85aeefb96d Fix the spa_provision_url 2025-11-13 11:52:31 -07:00
markjcrane
580235672b Update the Config Server Path 2025-11-13 11:45:50 -07:00
frytimo
278e68c6f6 Fix phone number passed as null (#7612) 2025-11-13 10:55:55 -07:00
Alex
4c45329df0 Update links to use new active calls (#7611)
* Update links to use new active calls

* Update call_broadcast_send.php

* Update system_status.php
2025-11-13 09:52:13 -07:00
markjcrane
2264bca3ef Update assigned authentication template values 2025-11-13 09:45:55 -07:00
markjcrane
15089b4eea Optimized app_config file inclusion
- Update language handling
- Added support for $language variable
- Updated description and version lines with new language handling
2025-11-13 09:32:00 -07:00
Alex
987c6f7cb8 Prevent more PHP warnings (#7609)
* Prevent more PHP warnings

* Update call_broadcast_edit.php

* Update call_center_agent_edit.php

* Update call_flow_edit.php

* Update call_center_queue_edit.php

* Update conference_center_edit.php

* Update conference_room_edit.php

* Update conference_control_detail_edit.php

* Update conference_control_edit.php

* Update conference_profile_edit.php

* Update conference_edit.php

* Update conference_profile_param_edit.php

* Update destination_edit.php

* Update device_edit.php

* Update dialplan_inbound_add.php

* Update dialplan_outbound_add.php

* Update dialplan_add.php

* Update dialplan_edit.php

* Update event_guard_logs.php

* Update extension_setting_edit.php

* Update extension_edit.php

* Update fax_edit.php

* Update fifo_edit.php

* Update ivr_menu_edit.php

* Update phrase_edit.php

* Update ring_group_edit.php

* Update sip_profile_edit.php

* Update stream_edit.php

* Update time_condition_edit.php

* Update var_edit.php

* Update voicemail_edit.php

* Update xml_cdr_search.php

* Update dashboard_widget_edit.php

* Update domain_edit.php

* Update group_edit.php

* Update user_edit.php

* Update gateway_edit.php
2025-11-13 08:37:51 -07:00
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