* Add active conferences with web sockets
* Buttons mostly working
* Convert all methods, function, variable, const to snake case instead of standards.
* Add default settings for customized control
* Add customizable settings
* More debugging default settings added
* Add better authentication handling for websocket connections
These methods were added:
- on_ws_authenticated can be overridden in the child class if there are tasks that need to be done after authentication.
- handle_ws_authenticated was added in the parent class
Handle methods are called by the this class and then their respective 'on_ws_' method is then called.
* Mute All now working
* Add PHPDoc block comments
* More PHPDoc to better describe class and variables
* Fix accidental removal of function during PHPDoc block edits
* Remove the variable type declaration for PHP 7.1 compatibility
* Update conferences with more websocket communication to replace AJAX calls.
* Ensure interface is loaded when no members
* Move color settings to theme category
* Update page view to default settings changes
* 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
* 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
* 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 )
- 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
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.
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.
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.
* 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>