Commit Graph

8131 Commits

Author SHA1 Message Date
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
markjcrane
54d07d5401 Add Yealink template for ax86r 2025-10-31 21:23:36 -06:00
FusionPBX
29797040dc Add function documentation 2025-10-30 20:45:04 -06:00
Alex
7ff33d6075 Add chartjs streaming plugin (#7601)
* Add chartjs streaming plugin

* Update index.php

* Update active_calls.php

* Update system_network_status.php

* Update system_cpu_status.php
2025-10-28 15:55:42 -06:00
FusionPBX
4eac9f51ee Fix a minor spelling mistake in Yealink configs 2025-10-27 12:18:22 -06:00
Mark J Crane
0d9107d4d5 Predefine the $m variable 2025-10-25 14:55:43 -06:00
FusionPBX
1221ac6498 Update domains.php 2025-10-24 23:40:27 -06:00
FusionPBX
55fe4e2eb5 Update settings class 2025-10-24 21:15:18 -06:00
Alex
126779190f Convert boolean values to a string before being copied (#7591)
* Convert boolean values to a string before being copied

* Update access_controls.php

* Update copyright year and handle boolean values

Updated copyright year from 2019 to 2025 and added conversion of boolean values to strings in the database result processing.

* Update call_block.php

* Update call_center.php

* Update call_flows.php

* Update conference_controls.php

* Update conference_profiles.php

* Update conferences.php

* Update device.php

* Update dialplan.php

* Update event_guard.php

* Update extension_settings.php

* Update fax.php

* Update fax_queue.php

* Update gateways.php

* Update ivr_menu.php

* Update number_translations.php

* Update phrases.php

* Update pin_numbers.php

* Update ring_groups.php

* Update streams.php

* Update time_conditions.php

* Update vars.php

* Update email_templates.php

* Update users.php

* Update domains.php

* Update groups.php

* Update extension_copy.php

* Update device_copy.php
2025-10-22 17:14:22 -06:00
FusionPBX
8855fdc834 Update the settings domain cidr
Replace $_SESSION['domain']['cidr'] with settings->get('domain', 'cidr')
2025-10-22 14:19:39 -06:00
Mark J Crane
136933fa57 Remove the semi-colon from the view sql statement. 2025-10-22 09:44:37 -06:00
Mark J Crane
2d6fbf5741 Update the install.php
- Updated to work with latest changes
- Updated a few setting defaults
2025-10-19 20:57:34 -06:00
FusionPBX
926254e7d0 Remove old unused code 2025-10-18 07:50:26 -06:00
Mark J Crane
a11b79e1b5 Removed :mixed to keep PHP 7.1 compatibility 2025-10-17 15:38:19 -06:00
frytimo
7fdb3644e7 Fix websocket connection (#7581) 2025-10-17 13:45:49 -06:00
Mark J Crane
559ea5fda7 Update the PHPDoc parameter types for select 2025-10-17 11:41:32 -06:00