Commit Graph

12298 Commits

Author SHA1 Message Date
FusionPBX
f8ec330631 Update dialplans.php 2025-10-29 11:12:14 -06:00
Alex
89a6540158 Use date-fns instead of luxon on dashboard (#7602)
* Use date-fns instead of luxon on dashboard

* Update system_network_status.php

* Update system_cpu_status.php

* Update index.php
2025-10-28 16:53:48 -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
19726900ae Prevent a warning whent he domain_uuid is null 2025-10-28 13:08:05 -06:00
FusionPBX
da2264aca0 Fix voicemail using tonumber on message_silence_seconds 2025-10-28 11:11:29 -06:00
Alex
afea45e1ce Fix active calls icon chart (#7599) 2025-10-28 09:50:24 -06:00
frytimo
b235c914bd Add new line chart for active calls (#7598)
* Row setting must be at least two
2025-10-27 15:38:50 -06:00
Alex
5bad1703b7 Dashboard: Minor bug fixes (#7597)
* Dashboard: Minor bug fixes

* Update dashboard_edit.php

* Update index.php

* Update device_keys.php

* Update domain_limits.php
2025-10-27 14:15:12 -06:00
Tim Fry
9c96c19ea2 fix_missing_array_wrapper 2025-10-25 19:00:17 -03:00
FusionPBX
c310f6adcd Merge pull request #7587 from harryfoster:master
Silent voicemail bug, empty recording files.
2025-10-25 15:14:10 -06:00
FusionPBX
e3f62a55a5 Fix warnings for PHP 8.2 with dialplan_view permission 2025-10-25 02:13:12 -06:00
FusionPBX
82ab719507 Update system_services.php 2025-10-25 02:07:07 -06:00
FusionPBX
ff6fb27b9d Fix the reference to settings object 2025-10-24 16:34:02 -06:00
FusionPBX
e6020abd7e Update the refresh interval defaults
For the following settings
- network_status_refresh_interval
- cpu_status_refresh_interval
2025-10-24 08:44:41 -06:00
Alex
958c39f524 Remove unnecessary code (#7593) 2025-10-23 10:35:06 -06:00
Alex
8865cc5650 Number Translations: Fix details not being copied (#7594) 2025-10-23 10:34:40 -06:00
frytimo
b732ea5e40 Fix dialplan count in the sql query (#7592)
* Use existing permission to fix the count of rows.
2025-10-23 10:07:38 -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
0ab13ffc31 Add fifo presence_id 2025-10-22 16:58:03 -06:00
FusionPBX
4a304e780e Update call_block_edit.php 2025-10-22 14:42:46 -06:00
FusionPBX
4f845c808f Add condition for permission destination_record 2025-10-22 13:27:00 -06:00
Mark J Crane
8d5572a943 If search is not set use an empty string instead of null 2025-10-22 10:04:34 -06:00
Mark J Crane
6169675607 Unset database $parameters 2025-10-22 09:30:05 -06:00
frytimo
1c7df93020 Fix using keyword $this in static class voicemail (#7586) 2025-10-22 08:59:15 -06:00
Alex
0fd652096f Add extension type default setting (#7588)
* Add extension type default setting

Sets the default value for the 'Type' field when adding a new extension. Options: default, virtual

* Update extension_edit.php
2025-10-21 13:56:40 -06:00
FusionPBX
7ceb74c08e Update the sip_profile_setting_enabled condition to use boolean 2025-10-21 13:32:38 -06:00
FusionPBX
ddab60b28f Update destination_context type inbound use public by default
Update the destination_context if the type is inbound and context is empty, then use public.
2025-10-21 12:17:01 -06:00
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
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
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
frytimo
052366e001 Enable smooth scrolling CPU and Network graphs (#7576) 2025-10-16 12:09:15 -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
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