Commit Graph

13 Commits

Author SHA1 Message Date
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
Alex
d45740f8fb Dashboard: Fix php warnings (#7492)
* Dashboard: Fix php warnings

* Update dashboard_widget_list.php

* Update dashboard_widget_edit.php

* Update dashboard.php

* Update parent.php

* Update footer.php

* Update active_calls.php

* Update active_calls.php
2025-09-12 11:37:45 -06:00
frytimo
4947213081 add hangup all button (#7425)
Adjust the logic for handling the hangup when check boxes are used.
Enable the Hangup All button.
2025-07-15 00:58:57 -06:00
frytimo
6be994cc33 fix hanging up call on cancel (#7424) 2025-07-14 15:49:58 -06:00
frytimo
debde9fb48 Add hangup confirmation (#7423) 2025-07-13 20:52:32 -06:00
FusionPBX
61c3c244a4 Use the count background color from default settings 2025-06-25 14:43:36 -06:00
FusionPBX
0616c67590 Update active_calls.php 2025-06-25 14:30:18 -06:00
frytimo
f8fa5d8afa update row when domain is adjusted (#7396) 2025-06-25 11:18:56 -06:00
frytimo
b85e5754b2 Remove override of default context (#7395) 2025-06-25 09:11:17 -06:00
FusionPBX
e7de9d4884 Prevent error with null 2025-06-24 14:20:05 -06:00
FusionPBX
333606e500 Update active_calls.php 2025-06-24 14:14:37 -06:00
FusionPBX
eb66f76675 Fix a typo use && 2025-06-24 14:12:05 -06:00
frytimo
d5286a12bc Websockets (#7393)
* Initial commit of websockets

* Move app_menu to the active_calls websockets

* Fix hangup function

* Remove connection wait-state on web socket server so events can process

* Add timestamp and debug level to console for service debug output

* Remove debug exit

* Fix typo for ws_client instead of ws_server

* Update app_config.php

* Fix typo and remove empty function

* Remove call to empty function

* Fix the menu to point to the correct location

* Remove Logging Class

* Rename service file

* Rename service file

* Fix the in progress browser request

* Fix browser reload and implement 'active_calls' default values

* Add apply_filter function

* Create new permission_filter object

* In progress active calls now use filter

* Add invalid_uuid_exception class

* add event_key_filter to honor user permissions

* add and_link and or_link for filters

* Fix disconnected subscriber and add filters to honor permissions

* Add $key and $value for filter

* define a service name

* catch throwable instead of exception

* Add $key and $value for filter and allow returning null

* Update permission checks when loading page

* Add apply_filter function to honor subscriber permissions

* Add create_filter_chain_for function to honor subscriber permissions

* Add apply_filter function to honor subscriber permissions

* Add apply_filter function to honor subscriber permissions

* create interface to allow filterable payload

* create interface to define functions required for websocket services

* Pass in service class when creating a service token

* Allow key/name and return null for filter

* Adjust subscriber exceptions to return the ID of the subscriber

* Add event filter to filter chain

* Add command line options for ip and port for websockets and switch

* update service to use is_a syntax

* initial commit of base class for websockets system services

* initial commit of the system cpu status service

* remove extra line feed

* fix path on active_calls

* initial proof of concept for cpu status updated by websockets

* Allow returning null

* Use default settings to set the interval for cpu status broadcast

* Improve the CPU percent function for Linux systems

* Show more debug information

* Allow child processes to re-connect to the web socket service

* Fix websockets as plural instead of singular

* Add class name list-row

* Update active_calls.php

* Update active_calls.php

* Update websocket_client.js

* Update app_config.php

* Update app_menu.php

* Update debian-websockets.service

* Update debian-active_calls.service

---------

Co-authored-by: FusionPBX <markjcrane@gmail.com>
2025-06-24 13:07:57 -06:00