Commit Graph

23247 Commits

Author SHA1 Message Date
Harry Foster
6530340765 Update the message length checker to match the silence seconds, otherwise silent voicemails are emailed or put into the voicemail box and cannot be played properly 2025-10-21 17:29:13 +01:00
frytimo
b99aeee2d6 Fix typo in sofia profiles class (#7585) 2025-10-20 20:32:25 -06:00
FusionPBX
68d7f536d9 Update index.lua 2025-10-20 14:32:04 -06:00
FusionPBX
c4e38a3b93 Update call_forward.lua 2025-10-20 14:31:14 -06:00
Mark J Crane
090d4580d6 Add the hostname cache prefix 2025-10-20 14:29:28 -06:00
Mark J Crane
9ba170b21c Update database select parameters 2025-10-20 12:27:23 -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
frytimo
6397baad34 Define button_icon_edit before use (#7584) 2025-10-18 22:27:38 -06:00
FusionPBX
926254e7d0 Remove old unused code 2025-10-18 07:50:26 -06:00
FusionPBX
7ac3a37a4e Update sip_profile_edit.php 2025-10-18 07:21:07 -06:00
Alex
729b3bf314 Fix widget name setting not being used on some widget labels (#7582)
* Fix widget name setting not being used on some widget labels

* Update app_languages.php

* Add translations for active calls labels and titles

* Update active_calls.php

* Update call_forward.php

* Update device_keys.php

* Add multi-lingual support for widget labels

Updated widget label to support multi-lingual text.

* Update caller_id.php

* Add multilingual support and update widget label

* Update switch_status.php

* Update system_counts.php

* Replace static title with localized widget label

Updated widget title to use localized label.

* Add multilingual support for disk usage widget

* Add translations for system disk usage labels

* Update system_status.php

* Update system_network_status.php

* Add multi-lingual support for CPU status widget

* Update app_languages.php

* Update app_languages.php

* Update voicemails.php

* Add multi-lingual support for missed calls widget

* Update recent_calls.php

* Simplify widget label assignment using null coalescing

* Update call_center_agents.php

* Update app_languages.php
2025-10-17 17:01:39 -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
frytimo
77eda80c3d Fix socket will not reconnect after disconnect (#7580) 2025-10-17 08:51:49 -06:00
frytimo
083f585402 Remove already included chart import (#7579) 2025-10-16 15:02:34 -06:00
Alex
ad255c0057 Fax Queue: Comment out add and copy buttons (#7578)
* Fax Queue: Comment out add and copy buttons

* Fix fax queue copy
2025-10-16 13:09:13 -06:00
FusionPBX
914386e00f Change break to exit in upgrade_menu.php 2025-10-16 12:56:56 -06:00
FusionPBX
79e7614414 Refactor global variable definitions and require statements 2025-10-16 12:49:01 -06:00
FusionPBX
56f4b968ef Refactor menu object creation in restore default 2025-10-16 12:47:00 -06:00
frytimo
052366e001 Enable smooth scrolling CPU and Network graphs (#7576) 2025-10-16 12:09:15 -06:00
frytimo
e0f7e38e84 Fix missing CSS class for open_id banners and more PHP warnings (#7575)
* Fix PHP 8.4 warnings
Strings are no longer allowed to be defaulted to null without the null declaration

* Fix missing css class for open_id banners
2025-10-16 12:08:19 -06:00
FusionPBX
940002ab64 Define global variables in multiple functions
Added global variable definitions to multiple functions for improved access to shared data.
2025-10-16 12:03:01 -06:00
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
1a221e0310 Add security headers for non-CLI execution
Add security headers conditionally for non-CLI requests
2025-10-15 21:43:14 -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
d6ac324819 Update DND settings in Yealink configuration 2025-10-15 11:22:45 -06:00
Alex
80a84c69f1 Security - Add headers for X-Content-Type-Options and Referrer-Policy (#7571) 2025-10-14 13:43:06 -06:00
Alex
8c82c7077b Security - Add headers for X-Frame-Options and Content-Security-Policy (#7564) 2025-10-13 13:03:52 -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
ec852b10f8 Rewrite the outbound_route_to_bridge function
- Make the outbound_routes array more intuitive
- Fix the toll_allow filtering to use the correct outbound route
2025-10-10 01:00:52 -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
FusionPBX
d59eab1f94 Update user_profile.php
Unset $parameters array
2025-10-09 17:01:16 -06:00
FusionPBX
fd8dbce64c Update user_profile.php 2025-10-09 16:57:32 -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
Alex
4959f6a1e7 Update dashboard.php (#7560) 2025-10-09 16:09:18 -06:00
fusionate
1fae31ea86 User Profile: Include some additional form fields from associated contact record. 2025-10-09 14:15:04 -06:00
frytimo
019dca3596 Add helper functions to parent service class. (#7550)
* Add helper functions to parent service class.
Removed existing functions from base_websocket_system class.

* Update service.php
2025-10-09 12:53:45 -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
Alex
e90d47c6e7 Fix dashboard copy button (#7557) 2025-10-08 16:51:26 -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