Commit Graph

23033 Commits

Author SHA1 Message Date
FusionPBX
ee322d23b6 Fix a syntax issue and remove the optional php close tag 2025-04-22 10:06:03 -06:00
FusionPBX
bd1258b126 Add missing translations 2025-04-22 10:02:19 -06:00
FusionPBX
ea90550081 Add translatations for Call Status 2025-04-22 09:21:36 -06:00
FusionPBX
fb1bb6c85b Update xml_cdr.php 2025-04-21 18:17:22 -06:00
FusionPBX
1a754a88df Set the destination number to sip_to_user and sip_req_user 2025-04-18 14:09:50 -06:00
FusionPBX
1b6166ed77 Fix the link to call detail records 2025-04-17 16:40:24 -06:00
FusionPBX
30f6103dbb Update authentication.php 2025-04-17 16:32:12 -06:00
FusionPBX
0b74f0bb26 Update functions.php 2025-04-17 14:14:03 -06:00
frytimo
e7393cc7c0 New Feature OpenID Connect (#7355)
* Refactor authentication to allow for OpenID Connect
The authentication class has been refactored to separate the `validate` function for the method `create_user_session`. This is needed for the OpenID Connect module to authenticate a user without going through the process of all authentication plugins. Only the function `check_user_cidr` has been rewritten to use a single loop instead of a double-loop.
Due to the fact that create_user_function is public, the $result associative array is checked to ensure the required fields are present and the UUID fields are valid UUIDs. Further checking could be done against the database to ensure the UUIDs exist but this has been suppressed at this time because database queries would be required.

* Database class modified to allow for login banners for OpenID Connect
The database class is responsible for creating the view for login. The OpenID application required banners to be present so that any OpenID Connect authentication mechanism could be used. Each banner displayed has the properties of: name, image, alt, and url. The name is the class name of the authentication plugin. This will match the action in the URL. The image is the image banner used for the login. The alt is the alternate text used for screen readers. Each authenticator is responsible for providing each of the field values.

* Added PHPDocs for the check_cidr function

* Add backwards compatibility for PHP versions below 8

* Remove get_banner_alt

* Update check_cidr to allow cidr array

* Update authentication.php

* Update functions.php

* Update authentication.php
2025-04-17 13:48:16 -06:00
FusionPBX
25ae0180ce keyboard_shortcut_copy_enabled default to false 2025-04-17 13:09:16 -06:00
Alex
6a9b93c51d Update dashboard background default settings (#7354)
* Update dashboard background default settings

* Update app_config.php

* Update app_config.php

* Update template.php

* Update app_config.php

* Update css.php
2025-04-17 09:39:00 -06:00
FusionPBX
1f5a7b1605 Update logout.php
Session has been unset, and destroy this code is not used.
2025-04-16 15:32:44 -06:00
FusionPBX
71032f22e5 prevent recording more than one time 2025-04-16 13:38:31 -06:00
FusionPBX
dc844ef701 Update 050_user_record.xml 2025-04-16 13:27:36 -06:00
FusionPBX
96a6cca25b Define the settings object as global 2025-04-14 10:46:57 -06:00
FusionPBX
c3952028b1 Use the settings get method for the buttons 2025-04-14 10:36:21 -06:00
FusionPBX
de10ea2a4a Use settings get method for list_row_edit_button 2025-04-14 09:36:05 -06:00
FusionPBX
71b952cdc6 Fix rows_per_page 2025-04-14 09:29:38 -06:00
FusionPBX
b7e24103bf Use the sessions get method to get rows_per_page 2025-04-14 09:27:06 -06:00
FusionPBX
a955b9389f Synchronize the grp templates 2025-04-11 17:04:51 -06:00
FusionPBX
4eb1b00dc7 Add algorithm to sip_authentication 2025-04-11 14:56:42 -06:00
FusionPBX
78df968f23 Use the escape_textarea function 2025-04-11 12:12:31 -06:00
FusionPBX
b743469df6 Use the escape_textarea function 2025-04-11 12:10:00 -06:00
FusionPBX
2ba87e5bee Add function escape_textarea 2025-04-11 12:06:52 -06:00
FusionPBX
2faa46447d Fix textarea by using htmlspecialchars 2025-04-11 11:47:37 -06:00
FusionPBX
de0ca24cef Use domains::all() as a static method 2025-04-11 11:41:26 -06:00
FusionPBX
a02fcdca37 Update domains all, add enabled and disabled methods
The domains all  method uses domain_uuid for the array key
2025-04-11 11:39:33 -06:00
FusionPBX
8e3f2ba285 Fix textarea by using htmlspecialchars 2025-04-11 10:53:03 -06:00
FusionPBX
9612d41b5d Replace the SESSION with settings get 2025-04-11 10:36:32 -06:00
FusionPBX
07cf65dee5 Update domains all and session methods
Updated to improve and simplify it
2025-04-11 10:34:38 -06:00
FusionPBX
f9c7a3df40 Update grandstream_missed_call_notification default to No
This matches the pcode template. Grandstream description set it to no by default.
2025-04-10 18:11:27 -06:00
FusionPBX
992b18389a GRP add grandstream_wifi_enabled
This is needed to prevent removing wifi settings that were set manually.
2025-04-10 17:55:27 -06:00
FusionPBX
373c32ea55 Fix the Grandstream GRP sip.transport 2025-04-10 17:33:34 -06:00
fusionate
ec2e27d0c7 Theme - Change default keyboard Copy (Ctrl + C) behavior. 2025-04-09 10:22:05 -06:00
FusionPBX
8abf1a4277 Fix call block increment count 2025-04-09 10:06:00 -06:00
FusionPBX
d583e8352d Use more intuitive names 2025-04-07 14:48:47 -06:00
simplecoder732
2302aa7f62 Vm deleted queue (#7257)
* Add a deleted messages option to voicemail.
Messages are only deleted after a certain amount of time instead of immediately.
The queue can be turned off or on with default setting "use_deletion_queue" in the "voicemail" category.
Changed deleted phrase and add a deleted messages count phrase
Added a program to delete messages that are due for deletion. Also small changes to phrases.

* Added a remove_deleted_messages function that runs on voicemail main menu login. With this method the deletion queue is handled per mailbox vs system wide as in the cron triggered script. It also allows to adjust the retention hours on a per domain basis.

* Fix bug in remove_deleted_messages SQL that caused it too fail.

* Update app_config.php

* Update remove_deleted_messages.lua

* Fix a bug that hangs the call on vm login if there is a deleted message to remove.
2025-04-05 20:31:31 -06:00
n0obHere
7d27acc301 Caller id dashboard card (#7316)
Corrected the column names for caller ID name and number on the dashboard card, to match whats on the extensions page
2025-04-05 20:18:41 -06:00
Alex
48a0990d51 Dashboard - Fix device keys and call center agents background color (#7352)
* Fix background color on device keys and call center agent widgets

* Update call_center_agents.php

* Update index.php

* Update index.php

* Update device_keys.php

* Update call_center_agents.php

* Update call_center_agents.php

* Update device_keys.php

* Update config.php

* Update index.php

* Update device_keys.php

* Update call_center_agents.php

* Update index.php

* Update index.php

* Update device_keys.php

* Update call_center_agents.php

* Update call_center_agents.php

* Update device_keys.php
2025-04-04 11:23:22 -06:00
chansizzle
6e171710f6 Add yealink_backlight_time to default settings -> provision section (#7353)
This variable allows automatic provisioned Yealink devices to dim the backlight after X seconds. Disabled by default.
2025-04-03 15:56:24 -06:00
FusionPBX
edb6e43462 Create the token once for Active Calls
Improve efficiency by using one token for active calls.
When token generated inside the include it would generate many tokens.
2025-04-01 12:16:17 -06:00
frytimo
b01bf7d08c Add clear settings object cache when modifying or adding setting (#7351)
When a setting is modified, the settings cache can be reloaded allowing the setting that was modified or added to take immediate effect. The call to allow any other clear cache methods to be called will allow any new features to have their settings also take effect. The settings are first cleared though so that any of the other classes that may require updated settings to work with, ensure that they have the newest default setting values.
2025-04-01 10:19:37 -06:00
FusionPBX
4f4a1f9c15 Update switch.php 2025-04-01 09:13:41 -06:00
Antonio Fernandez
7040635baf Bug Fix - music on hold path (#7349) 2025-04-01 09:10:53 -06:00
frytimo
5ed20f1c2f Fix plugin class name mismatch in auto loader (#7350)
* Fix plugin class name mismatch in auto loader
When matching the file name of the plugins in the authentication plugin folder they do not match. This causes auto loader not to find and load the class.

* Update auto_loader.php

---------

Co-authored-by: FusionPBX <markjcrane@gmail.com>
2025-04-01 09:07:26 -06:00
frytimo
5c1be1a318 Update clear cache method for settings object (#7348)
* update clear cache method for settings object

* re-use the database object from settings object
2025-03-31 10:04:33 -06:00
FusionPBX
7d51c8cdd5 Update text for Unregistered, Provisioned, and Rebooted 2025-03-29 15:13:38 -06:00
FusionPBX
98d7fd025c Fix the registration reboot message 2025-03-29 14:50:07 -06:00
FusionPBX
f9bd89ef78 Fixed the response when the result is an array 2025-03-29 14:48:45 -06:00
FusionPBX
091dca3ceb Update footer.php 2025-03-29 13:39:24 -06:00