Commit Graph

8146 Commits

Author SHA1 Message Date
markjcrane
eb964855fe Add methods get_database_indexes and update_indexes 2025-11-27 08:07:07 -07:00
denisent
389c47faf3 Fix new lines in ax83h and ax86r templates (#7665)
* fix new lines in ax83h template

phone does not provision without the extra lines

* fix new lines in ax86r template

phone does not provision without the extra lines
2025-12-17 01:31:57 -07:00
markjcrane
98e04da076 Format code with PHP Formatter - pretty-php 2025-11-26 07:19:30 -07:00
markjcrane
fd039bd78c Add new message-added_to_queue 2025-12-13 16:23:00 -07:00
markjcrane
d7127cd1a6 Replace create or replace with drop the view then create view. 2025-12-10 13:02:21 -07:00
FusionPBX
6b063f2c28 Replace the DOCUMENT_ROOT and PROJECT_ROOT variables
Use the __DIR__ constant and dirname as needed
2025-12-08 14:12:19 -07:00
Bifur1
9046a6ea14 Update Groundwire template (#7653)
* Update Groundwire template

Voicemail number was not properly named and would not provision. & was needed under wsContactsURL to validate the xml. Opening it gave an error stating: 

This page contains the following errors:
error on line 14 at column 119: EntityRef: expecting ';'
Below is a rendering of the page up to the first error.

* Update Groundwire template

Had one too many & under wsContactsUrl line
2025-12-06 08:10:18 -07:00
AdSecIT
92cd333e50 Updated Cisco 8000 series templates for KEM button compatiblity. (#7643)
* Updated Cisco 8000 series templates for KEM button compatibility.

Updated the Cisco 8000 series Key Expansion Module format in the templates to improve editing and provisioning button changes, with the label correctly set to the KEM.

Set max KEM Units to 2 ( Phones Maximum )
2025-11-25 07:49:05 -07:00
frytimo
2951bff6c5 Reuse socket connection to event socket. (#7634)
Reuse the socket connection instead of creating a new connection for each API request.
Add PHPDoc tag "static" for the static methods in event_socket.
2025-11-24 05:30:28 -07:00
AdSecIT
cdc7be9476 Auth ID and Auth Realm Set for Provisioning Authentication. (#7636)
Set Auth ID and Auth Realm to assist in authenticating from the FusionPBX provisioning server to the Cisco phones.
2025-11-21 16:48:11 -07:00
Alex
a3539f0859 Update sortable.min.js (#7638) 2025-11-21 16:09:05 -07:00
Alex
21e711dc43 Update chart.min.js (#7637) 2025-11-21 16:08:33 -07:00
markjcrane
c74a345498 Yealink phones replace account.1.sip_server_host on the G, S, and U series phones
Replaced with account.1.sip_server.1.address
2025-11-21 12:59:30 -07:00
markjcrane
ee9336f325 Add Yealink password_use_default.mode 2025-11-21 12:35:24 -07:00
FusionPBX
d6aa15549c Exclude json to jsonb for schema data types 2025-11-19 15:49:10 -07:00
markjcrane
8063ae9ceb Set the schema return type
- Remove deprecated comments
2025-11-19 14:22:27 -07:00
frytimo
f8de76762f Documentation, formatting (#7630)
* Documentation, formatting

* Updated formatting to remove alignment

* Updated spacing in the quoted script
2025-11-19 12:08:12 -07:00
frytimo
34821bed7e Documentation, format class, no modification. (#7629) 2025-11-19 09:48:36 -07:00
markjcrane
0ea256fce8 Upgrade Schema includes Data Types by default
- Change the label to Database Schema
- Update the description to say tables, columns and data types
- upgrade.php --schema
  - Includes data types by default
  - Remove --types from upgrade.php
- command line upgrade --interactive
  - Option 2 schema
  - Includes data types by default
2025-11-18 20:19:04 -07:00
frytimo
debd5c0fbb Add more documentation for the abstract service class (#7626) 2025-11-17 21:44:02 -07:00
markjcrane
ce1bee4821 Optimize the schema class 2025-11-17 14:01:45 -07:00
frytimo
aacc41ade2 Fix PHP error implicit null casting (#7624) 2025-11-17 06:12:22 -07:00
fusionate
63aa341d99 Theme - Menu Style (Fixed): Make User Menu visible when scrolled. 2025-11-15 18:21:36 -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
markjcrane
d877c0e712 Allow type to be null 2025-11-14 13:21:26 -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
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
FusionPBX
f3bbe8770e Add a space after the foreach 2025-11-13 08:27:53 -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
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
ac8f37cdd1 Add Polycom alterInfo and ring tones
VVX 5.x, 6.x, 250 and 450
2025-11-04 17:42:52 -07:00
Alex
396b025537 Check if the session is started to prevent PHP warnings (#7604) 2025-11-03 13:20:05 -07: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
1c61513e90 Remove check_str function call
This function has been deprecated.
2025-11-01 20:55:23 -06:00
markjcrane
bf5bb4f642 Fix multiple PHP warnings 2025-11-01 19:58:21 -06:00