When using session_path, the session must be active and will automatically activate the session. This is a better method so that the session is never started.
Co-authored-by: Tim Fry <tim@fusionpbx.com>
Update comparison checks when testing the database status and
add a unified log message with a more detailed message from the
database when there is a failure
Authored-by: Tim Fry <tim@fusionpbx.com>
Class name requires the transcribe_ prepended before PHP checks to see
if the class actually exists as the engine must have 'transcribe_' in
front of the classes.
Co-authored-by: Tim Fry <tim@fusionpbx.com>
* add database_maintenance function to database_transactions
* update database_maintenance function in database_transactions
New changes in the maintenance application required changes to any
existing functions already created
---------
Co-authored-by: Tim Fry <tim@fusionpbx.com>
* update xml_cdr with the latest changes to the maintenance application
Update the public static function database_maintenance in xml_cdr
class to use the newest changes in the maintenance class. Constants are
now defined in the class for the table names and subcategories.
* update app_config file with necessary default setting changes
* remove constants
* use empty instead of null check
---------
Co-authored-by: Tim Fry <tim@fusionpbx.com>
* add filesystem maintenance method to the call_recordings class
* Add filesystem maintenance default setting to the app_config
Set filesystem_retention_days default setting to 90 days in the
app_config.php file to allow the maintenance service to delete older
files.
* update voicemail with the latest changes to the maintenance application
Update the public static function filesystem_maintenance in voicemail
class to use the newest changes in the maintenance class. The
maintenance class now has a constant defined for the subcategory used
within the project.
* update app_config file with necessary default setting changes
---------
Authored-by: Tim Fry <tim@fusionpbx.com>
By including the class manually with the include statement, the class
has a possibility of loading twice. This will cause a fatal error if
classes are already loaded.
This uses the settings default value to set smtp_from_name to be set to
smtp_from if it does not have it's own value. The isset check on line
248 is no longer needed because smtp_from_name will always have a value
* Add new English language phrases for cli upgrade menu
* include a software name as a const for cli upgrade menu
* add it repos in app folder, internationalizations, and descriptions
* bug fix when response_source_update is empty change back to origin dir
* change original 'menu' to 'menus'. Allow calling menu from upgrade.php
* Update upgrade_menu.php
* allow settings to load domain and user settings
* ensure the engine is also enabled before attempting to create a new object
* add default values to stop undefined variable warnings
* enforce all models to set and return voices and languages
* enforce all models to set and return languages
* ensure speech_enabled is set by the current session
* create elevenlabs implementation of ai speech
* Update ai_elevenlabs.php
* allow settings to load domain and user settings
* ensure engine is also enabled before attempting to create a new object
* add default values to stop undefined variable warnings
* enforce all models to set and return voices and languages
* enforce all models to set and return languages
* ensure speech_enabled is set by the current session
* initial commit for system information bug report data
* add javascript to copy to clipboard
* add javascript to copy to clipboard
* Update copy_to_clipboard.js
* Update system.php
* Update app_languages.php
Add other languages
* move function file to resources/functions directory
* use the array returned from system_information function
* Update app_languages.php
* update path locations
* remove require files
* Merge origin/create_json_page_for_bug_report into create_json_page_for_bug_report
* Add documentation to methods. Use is_resource for added type detection
* Allow connect to specify timeout in microseconds with default 30,000
* Update calling mechanism for event sockets
* Update project for new singleton event sockets
* remove unused variable
* catch errors on closing the socket
* logging class improvements
* remove alias
* adjust line print out for field order
* refactor class name to be inline with framework standard
* fix writing direct to write method
* reorder the project_root and project_path define so isset is called
before the config key project.root is used
* ensure project path begins with a '/'
* rewrite for empty string in project_path
* Update require.php
* fix multiple warnings
* fix multiple warnings
* ensure array key exists
* ensure array key exists
* assign boolean variable for showall in url
* change boolean to show_all instead of showall
* revert some changes. Create default leg value and mos_score
* validate page integer
* revert back to showall from get
* config->exists returns true or false but no action taken and variable
is unused
* remove unused variable db_type
* remove unused variable db_name
* remove unused variable db_username
* remove unused variable db_password
* remove unused variable db_secure
* remove unused variable db_cert_authority
* remove unused variable db_host
* remove unused variable db_path
* remove unused variable db_port
* remove unused variable db. The upgrade method never uses the db variable
and instead uses a new database connection each time.
* remove uninitialized parameters variable
* domain_count never used
* variable context is never used in the method or any app_defaults
* variable $row is clobbered by inner foreach loop
* variable domain_name is never used in method scope
* variable domain_array seems to be uninitialized in this scope so set an
empty string value so function lower_case is not receiving null.
* Add new static method to created newly connected database object
* Document database class and clean up and document some of the methods.
This removes the methods that should not be in each instance and places
them in the single instance class as to occupy less resources and be
able to create database objects more efficiently.
* More docs & removed the ability to set any value within the object.
Co-authored-by: Tim Fry <tim@voipstratus.com>