Commit Graph

2582 Commits

Author SHA1 Message Date
Alex
e2981aa9c6 Set default domain setting enabled value (#7625) 2025-11-17 21:44:26 -07:00
frytimo
c2a2d1c1f9 Fix parameter array not unset (#7621)
* Fix parameter array not unset

* Fix parameter array not unset
2025-11-15 21:30:11 -07:00
markjcrane
c7afa0455a Update the SQL query to get the Categories 2025-11-15 12:12:40 -07:00
frytimo
278e68c6f6 Fix phone number passed as null (#7612) 2025-11-13 10:55:55 -07:00
markjcrane
2264bca3ef Update assigned authentication template values 2025-11-13 09:45:55 -07:00
markjcrane
15089b4eea Optimized app_config file inclusion
- Update language handling
- Added support for $language variable
- Updated description and version lines with new language handling
2025-11-13 09:32:00 -07:00
Alex
987c6f7cb8 Prevent more PHP warnings (#7609)
* Prevent more PHP warnings

* Update call_broadcast_edit.php

* Update call_center_agent_edit.php

* Update call_flow_edit.php

* Update call_center_queue_edit.php

* Update conference_center_edit.php

* Update conference_room_edit.php

* Update conference_control_detail_edit.php

* Update conference_control_edit.php

* Update conference_profile_edit.php

* Update conference_edit.php

* Update conference_profile_param_edit.php

* Update destination_edit.php

* Update device_edit.php

* Update dialplan_inbound_add.php

* Update dialplan_outbound_add.php

* Update dialplan_add.php

* Update dialplan_edit.php

* Update event_guard_logs.php

* Update extension_setting_edit.php

* Update extension_edit.php

* Update fax_edit.php

* Update fifo_edit.php

* Update ivr_menu_edit.php

* Update phrase_edit.php

* Update ring_group_edit.php

* Update sip_profile_edit.php

* Update stream_edit.php

* Update time_condition_edit.php

* Update var_edit.php

* Update voicemail_edit.php

* Update xml_cdr_search.php

* Update dashboard_widget_edit.php

* Update domain_edit.php

* Update group_edit.php

* Update user_edit.php

* Update gateway_edit.php
2025-11-13 08:37:51 -07:00
FusionPBX
69db088925 Update the permissions app_defaults to be more efficient 2025-11-13 08:34:53 -07:00
markjcrane
7286d4b58d Update permission_exists for multiple permissions 2025-11-06 08:20:46 -07:00
markjcrane
c36a15d37a Update user profile
- Add contact if needed
- Update the contact details
2025-11-04 19:09:01 -07:00
markjcrane
923e044621 Update the SQL query to add the alias
- Remove the redirect
2025-11-04 18:11:23 -07:00
Alex
553ff685b2 Remove duplicate session_start to prevent PHP warnings (#7605) 2025-11-03 14:24:09 -07:00
FusionPBX
ceeb720ce7 Update authentication class 2025-11-03 11:10:47 -07:00
markjcrane
b0eabca1f6 Update check permisisons 2025-11-02 00:22:57 -06:00
markjcrane
422fee7f23 Prevent a few PHP Warnings 2025-11-01 21:40:28 -06:00
markjcrane
a90a4e6212 Pass the database object to the schema object 2025-11-01 21:34:03 -06:00
markjcrane
1c61513e90 Remove check_str function call
This function has been deprecated.
2025-11-01 20:55:23 -06:00
markjcrane
bf5bb4f642 Fix multiple PHP warnings 2025-11-01 19:58:21 -06:00
FusionPBX
cd781fb43f Minor version update to 5.5.3 2025-10-30 07:57:36 -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
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
Tim Fry
b774ea35bd Add listeners to base_websocket_system_service 2025-10-25 18:44:23 -03:00
FusionPBX
ba08d7685f Merge pull request #7590 from frytimo:Fix_database_exception_when_loading_contacts_page
Fix database exception when loading contacts page
2025-10-25 15:05:42 -06:00
Mark J Crane
5eb560d9fa Pass the settings object to all plugins. 2025-10-23 09:38:29 -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
Tim Fry
f791c0cd36 Fix database exception when loading contacts page 2025-10-22 16:43:21 -03:00
Alex
fd9a07b51e Fix databases copy and delete (#7589) 2025-10-22 11:22:51 -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
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
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
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
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
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
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
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
Alex
e90d47c6e7 Fix dashboard copy button (#7557) 2025-10-08 16:51:26 -06:00
fusionate
ef79a896cb Upgrade - Menu: Add missing global $database variable. 2025-10-06 11:02:54 -06:00
Alex
abcd983503 Contact Edit: Fix primary setting default values (#7549)
* Contact Edit: Fix primary setting default values

* Update contact_address_edit.php

* Update contact_attachment_edit.php

* Update contact_edit.php

* Update contact_email_edit.php

* Update contact_phone_edit.php

* Update contact_setting_edit.php

* Update contact_url_edit.php

* Update contact_edit.php
2025-10-03 16:36:43 -06:00