Commit Graph

12259 Commits

Author SHA1 Message Date
FusionPBX
05c499f179 Update permission check for destination actions 2025-10-16 08:56:33 -06:00
FusionPBX
608480b8af Update the cache key 2025-10-16 08:15:16 -06:00
FusionPBX
2023e40d99 Cache key add hostname prefix 2025-10-15 21:39:03 -06:00
FusionPBX
dda18481ec Refactor PHP code (#7574)
* Use settings-get method
- get default, domain and user settings
- Replace _SESSION

* Simplify get domain paging

* Change isset using empty

* Fix token name and hash

* Add new default settings category: contact, name: default_sort_column, and default_sort_order

* Update app_config.php

* Update footer.php

* Fix require.php and core/dashboard/index.php (#7563)

* Fix require.php and core/dashboard/index.php

* Fix require.php and core/dashboard/index.php

* Fix require.php and core/dashboard/index.php

* Fix require.php and core/dashboard/index.php

* Fix require.php and core/dashboard/index.php

* Fix require.php and core/dashboard/index.php

* Fix require.php and core/dashboard/index.php

* Fix require.php and core/dashboard/index.php

* Fix require.php and core/dashboard/index.php

* Update destinations.php

* Update permission.php

* Update require.php

---------

Co-authored-by: FusionPBX <markjcrane@gmail.com>
Co-authored-by: FusionPBX <mark@fusionpbx.com>

* Update header.php

* Use settings get classes (#7567)

* access_control

* azure

* azure

* basic_operator_panel

* bridges

* call_block

* call_broadcast

* call_center

* call_flows

* call_forward

* call_recordings

* do_not_disturb

* feature_event_notify

* follow_me

* remove unused object properties

* fix esl command

* fix esl command

* conference_centers

* conference_centers - remove whitespace

* conference_controls

* conference_profiles

* conference_profiles

* Delete core/websockets/resources/classes/socket_exception.php.original~

* Delete core/websockets/resources/classes/websocket_server.php.original~

* conferences

* destinations

* device

* dialplan

* email_queue

* event_guard

* extension_settings

* extension

* fax

* fax_queue

* fifo

* gateways

* ivr_menu

* modules

* switch_music_on_hold

* number_translations

* phrases

* pin_numbers

* provision

* switch_recordings

* registrations

* ring_groups

* sip_profiles

* sofia_global_settings

* streams

* presence

* switch_files

* time_conditions

* vars

* voicemail_greetings

* voicemail

* ringbacks

* contacts

* xml_cdr

* authentication

* dashboard

* default_settings

* domain_settings

* email_templates

* permission

* user_logs

* user_settings

* users

* button

* cache

* captcha

* remove cli_option

* remove directory.php for switch_directory class

* email

* file

* groups

* event_socket use config object

* Use intval to give an integer port

* switch_settings

* tones

* fix object used before initialization

* menu

* fix copy paste error for switch_files.php

* always include require.php for framework files

* Fix missing properties

* set the action

* Use the $database object

* Add missing class properties

* Fix the domain_name

* Use public scope for domain_uuid and domain_name

* Add missing parameters

* Correct the user_uuid parameter

* Add json_validate and use it in the dashboard
update indentation on functions.php

* Intialize the active_registrations variable

* Define the $parameters

* Set a default value for user_setting_enabled

* Add condition domain_uuid not empty

* Add not empty condition for domain_uuid

* Declare the global variables

* Update how the defaults are set use ??

* Use ?? to set the default values

* Update call_center_queue_edit.php

* Prevent an error

* Add domain_name property

* Fix the null coalescing operator

* Removed domain_uuid from the URL

* Change condition to check sip_profile_domain_name

* Refactor domain_uuid declaration and comments

Removed redundant domain_uuid declaration and updated comments.

* Account for an empty value

* Refactor constructor to use settings array

Updated constructor to accept settings array for domain UUID and database initialization.

* Refactor xml_cdr.php to improve variable organization

Removed duplicate domain_uuid declaration and reorganized private variables for better structure.

* Enhance transcription button logic and icon display

Updated transcription button visibility conditions and improved application icon handling in the call flow summary.

* Refactor settings initialization in domains.php

Updated settings initialization to include domain_uuid and user_uuid.

* Modify domain change condition in require.php

Updated condition to check if 'domain_change' is not empty before proceeding.

* Set default_setting_enabled to true by default

* Enhance domain UUID check in access controls

* Enhance domain UUID check in settings list

* Refactor category display logic in vars.php

* Simplify list row URL generation

Removed domain UUID check from list row URL construction.

* Refactor module category display logic

* Fix SQL query by removing parameters variable

* Initialize result_count variable for call recordings

* Refactor leg variable usage in xml_cdr_details.php

* Update conference_room_edit.php

* Change GET to REQUEST for order and search variables

* Set timezone and SQL time format in recordings.php

Added timezone and SQL time format settings.

* Set default for ring group greeting

* Improve domain UUID check in stream listing

* Handle null voicemail_option_param safely

* Add file existence check for greeting files

Check if greeting file exists before getting size and date.

* Improve domain UUID check in email templates

* Update FIFO strategy dropdown and description text

* Add multilingual agent descriptions

Added multilingual descriptions for agents in the app_languages.php file.

* Add music on hold descriptions

* Add the chime list description

Updated copyright year from 2024 to 2025.

* Fix domain UUID check and handle email subject decoding

* Add null coalescing for $value in email_test.php

Ensure $value is not null by providing a default empty string.

* Handle undefined dialplan_uuid in input field

* Add translations for 'Status' label in multiple languages

* Fix typo in config instance check

---------

Co-authored-by: frytimo <tim@fusionpbx.com>
2025-10-15 21:24:59 -06:00
FusionPBX
e4ca0bf47d Add hostname cache key as a prefix 2025-10-15 20:33:46 -06:00
FusionPBX
4777d8b928 When hostname is used in the cache key use it as a prefix 2025-10-15 20:02:46 -06:00
FusionPBX
d199ed6157 Update 470_valet_park.xml
Remove 2 characters from the previous regular expression to fix the new one.
2025-10-10 16:03:00 -06:00
FusionPBX
3754d741cc Update 470_valet_park.xml
Fix the regular expression to make the sip: prefix optional
- This change is required for Snom D735 and other models of Snom phones.
2025-10-10 15:18:49 -06:00
FusionPBX
3a849d5849 Add settings operator_panel_user_info, operator_panel_caller_info, and operator_panel_call_info 2025-10-10 13:52:07 -06:00
FusionPBX
435ef38c88 Fix the user settings
- When language is changed, update the menu and translations immediately
- When time zone is changed, update it immediately
- Flush the settings apcu cache if enabled
2025-10-10 12:01:51 -06:00
FusionPBX
76e2e7d3b7 Remove database app_name and app_uuid (#7562)
- Remove database app_name, app_uuid
  - This is handled automatically by the database class
- Remove redundant database::new()
2025-10-09 17:54:05 -06:00
frytimo
1b7d320f93 Remove logging in the class as the parent class now handles it (#7561)
* Remove logging in the class as the parent class now handles it

* Remove logging in the class as the parent class now handles it
2025-10-09 16:45:58 -06:00
FusionPBX
76c2ccbf29 Update app_config.php
- Use the correct name
- Update the description
2025-10-09 11:15:05 -06:00
FusionPBX
d86989decb Fix auto daylight savings settings use stop instead of end 2025-10-09 09:30:02 -06:00
FusionPBX
3ec8053909 Update app_defaults.php 2025-10-08 16:07:50 -06:00
FusionPBX
72ee1a91cf Provision settings for templates use type text
The configuration template is an XML string or other type of config file that is delivered to the endpoint as a string.
2025-10-08 16:02:11 -06:00
FusionPBX
a4d632b3df Default sip_profile_enabled to true 2025-10-08 13:59:59 -06:00
frytimo
4aa8fe8a47 Fix missing profiles on a new install (#7551) 2025-10-08 12:08:14 -06:00
FusionPBX
55a9e58dcf Fix follow me
Cast to a string and evaluating conditions as 'true' or 'false' is the most effective approach for Lua.
2025-10-06 16:21:58 -06:00
FusionPBX
2d2f18d001 Update fax send to use empty 2025-10-06 13:34:33 -06:00
Alex
3a0c26d694 Devices: Fix default values (#7545)
* Devices: Fix default values

* Update device_profile_edit.php

* Update device_vendor_edit.php

* Update device_vendor_function_edit.php

* Email Template Edit: Fix enabled default value

* Update email_template_edit.php

* Update email_template_edit.php
2025-10-03 15:56:41 -06:00
Alex
57f6927119 IVR Menu Edit: Fix default values (#7544)
* IVR Menu Edit: Fix default values

* Update ivr_menu_edit.php
2025-10-03 15:55:49 -06:00
FusionPBX
7005e1a612 Update ivr_menu_edit.php 2025-10-03 14:57:44 -06:00
FusionPBX
b5f40571a9 IVR Menu order select improve selected
- Update the HTML select to use non-leading 0's. 
- Example in the value replace 000 with 0.
2025-10-03 13:33:04 -06:00
Alex
175037d268 Call Centers: Fix default values (#7543)
* Call Centers: Fix default values

* Update call_center_agent_edit.php
2025-10-03 09:56:08 -06:00
Alex
e8717e4ac7 Gateway Edit: Fix default values (#7542) 2025-10-03 09:35:23 -06:00
frytimo
871e5c0f9e Initial Commit (#7541) 2025-10-03 09:17:11 -06:00
frytimo
2494fe7f5e Revert using this keyword in static function (#7540) 2025-10-03 09:15:22 -06:00
FusionPBX
965a26ba38 Fix the static database_maintenance method 2025-10-01 20:49:07 -06:00
FusionPBX
e0763d190e Update xml_cdr.php 2025-10-01 20:28:16 -06:00
FusionPBX
5f061b47ae Update xml_cdr service database connection handling 2025-10-01 20:20:03 -06:00
frytimo
644030652d Only check database connection when cdr files exist (#7539) 2025-10-01 18:53:15 -06:00
FusionPBX
d49b393d11 Add global $database inside the function 2025-10-01 12:13:22 -06:00
Alex
3bf031b6f5 Dashboard: Adjust icon widget clickable area (#7536)
* Dashboard: Adjust icon widget clickable area

* Update domains.php

* Update registrations.php
2025-10-01 10:25:04 -06:00
FusionPBX
d1baf05891 Remove redundant database instances (#7535) 2025-10-01 08:56:06 -06:00
FusionPBX
2fe8b65988 Define app_name and app_uuid as constants (#7534)
* Set a constant on each class for app_name and app_uuid
* Update the database class to use the app_uuid and app_name
* Update the classes to use the database::new()
* Remove the instances of 'new database'
2025-09-30 21:37:09 -06:00
FusionPBX
6485b18822 Update app_config.php 2025-09-30 18:11:36 -06:00
FusionPBX
6fdc95664c Allow ring group to use extension 0 2025-09-30 13:40:39 -06:00
Alex
c7851bedf2 Update event guard widget config (#7533)
* Update event guard widget config

* Update config.php
2025-09-30 11:59:26 -06:00
FusionPBX
2096a42b0b Add provider_uuid 2025-09-30 10:34:40 -06:00
FusionPBX
2cec85d49e Use the session domain_uuid 2025-09-29 21:31:22 -06:00
FusionPBX
f0b4450ee2 Update dialplan.php 2025-09-29 13:00:50 -06:00
FusionPBX
7bcbba3bc1 Fix the sql for feature event notify lua 2025-09-29 10:26:43 -06:00
FusionPBX
3105a9e63d Update call_forward.php 2025-09-26 21:06:06 -06:00
FusionPBX
f4c6dfa0f4 Add device vendor keys for Poly 2025-09-26 17:00:44 -06:00
FusionPBX
eed724d4fb Set call screen, call forward and follow me to default to false 2025-09-26 14:19:41 -06:00
FusionPBX
9bc6e15549 Update dynamic device key labels 2025-09-25 22:53:26 -06:00
FusionPBX
4ef34b8790 Fix the do not disturb feature code 2025-09-24 17:57:13 -06:00
FusionPBX
72844479b7 Update ring group call screen call forward, follow me boolean toggle 2025-09-24 17:00:33 -06:00
FusionPBX
a75513dba9 Fix ring group destination call forward and follow me 2025-09-24 16:56:01 -06:00