Commit Graph

2475 Commits

Author SHA1 Message Date
Alex
b64ebb374d Dashboard - Use a class to determine the row span (#7451)
* Dashboard - Use a class to determine the row span

* Update parent.php

* Update icon.php

* Update content.php

* Update domains.php

* Update dashboard_edit.php

* Update missed_calls.php

* Update recent_calls.php

* Update voicemails.php

* Update system_counts.php

* Update system_cpu_status.php

* Update system_disk_usage.php

* Update system_services.php

* Update system_status.php

* Update system_services.php

* Update switch_status.php

* Update registrations.php

* Update ring_group_forward.php

* Update caller_id.php

* Update domain_limits.php

* Update call_forward.php

* Update active_calls.php
2025-08-06 17:01:09 -06:00
Alex
86307eea73 Prevent parent widgets from being dragged into another parent (#7449) 2025-08-05 16:29:10 -06:00
frytimo
dc56886d41 Fix websocket service disconnect on invalid handshake (#7447) 2025-08-05 09:05:48 -06:00
FusionPBX
0157a58639 Services no longer require the --no-fork parameter 2025-08-04 15:59:35 -06:00
Harry Foster
2afb1a0d6c Update debian-websockets.service (#7445)
Replace the deprecated PermissionsStartOnly option in favour of the supported method of elevating the exec commands.

https://github.com/systemd/systemd/pull/10802#issuecomment-439446299
2025-08-04 14:48:16 -06:00
Alex
9dc4ee9046 Dashboard - Use the uuid instead of name for widget ids (#7443)
* Dashboard - Use the uuid instead of name for widget ids

* Update active_calls.php

* Update domain_limits.php

* Update caller_id.php

* Update registrations.php

* Update ring_group_forward.php

* Update switch_status.php

* Update system_counts.php

* Update system_cpu_status.php

* Update system_services.php

* Update system_status.php

* Update voicemails.php

* Update missed_calls.php

* Update recent_calls.php

* Update content.php

* Update icon.php

* Update parent.php

* Update domains.php
2025-08-01 11:51:34 -06:00
Alex
b1dd179f85 Dashboard - Minor bug fixes (#7440)
* Dashboard - Minor bug fixes

* Update config.php

* Update config.php

* Fix label background color

* Update dashboard_edit.php

* Update parent.php

* Update index.php

* Update index.php
2025-07-31 17:18:33 -06:00
FusionPBX
c8bafdb14b Update the version to 5.5.0
This is the development version. A pre-release version of 5.5.
2025-07-31 08:07:46 -06:00
Alex
cf32511d61 Dashboard - Use CSS grid in parent widgets (#7437)
* Dashboard - Use CSS grid on parent widgets

* Update parent.php

* Update css.php

* Update template.php
2025-07-30 10:58:11 -06:00
Alex
0fc28924a1 Dashboard - Allow numbers in dashboard name (#7436)
* Dashboard - Allow numbers in dashboard name

* Update parent.php

* Update parent.php

* Update index.php

---------

Co-authored-by: FusionPBX <markjcrane@gmail.com>
2025-07-30 10:41:59 -06:00
graycom-git
de3d18177f Update debian-websockets.service to fix non start at reboot (#7433)
fix service to set owner and group permissions on /var/run/fusionpbx to www-data
2025-07-30 08:05:30 -06:00
Alex
fc4b8a2652 Dashboard - Allow drag and drop in parent widgets (#7431)
* Dashboard - Allow drag and drop in parent widgets

* Update parent.php

* Update index.php

* Update config.php

* Update missed_calls.php

* Update recent_calls.php

* Update voicemails.php

* Update active_calls.php

* Update config.php

* Update config.php

* Update config.php

* Update voicemails.php

* Update parent.php

* Update voicemails.php

* Update parent.php

* Update parent.php

* Update index.php

---------

Co-authored-by: FusionPBX <markjcrane@gmail.com>
2025-07-23 17:32:39 -06:00
FusionPBX
ff02f40710 Update debian-websockets.service 2025-07-18 12:41:39 -06:00
FusionPBX
43ced972e4 Update debian-websockets.service 2025-07-16 21:15:42 -06:00
FusionPBX
9c34236d1a Update the version to 5.4.4 2025-07-15 01:50:41 -06:00
FusionPBX
dd140fb1dc Update upgrade.php 2025-07-15 01:36:52 -06:00
FusionPBX
d410fb3981 Update debian-websockets.service 2025-07-14 16:05:07 -06:00
FusionPBX
c4299d4719 Update debian-websockets.service 2025-07-14 15:57:36 -06:00
FusionPBX
5e44da8c89 Update debian-websockets.service 2025-07-14 15:55:08 -06:00
FusionPBX
0789693f57 Update upgrade_menu.php
Prevent a warning on the upgrade menu
2025-07-13 20:05:18 -06:00
frytimo
91efee3b27 Fix active calls eavesdrop (#7419)
* Remove old debug comments

* Remove unused variable

* Remove debug information

* Fix eavesdrop missing domain_name

* Remove extended debug information
2025-07-11 10:57:54 -06:00
frytimo
006dbb88d6 Fix warning messages in websockets classes (#7418) 2025-07-11 09:34:35 -06:00
frytimo
6ef8167988 Fix group member add list (#7415) 2025-07-09 12:58:21 -06:00
FusionPBX
d0f00b6956 Update upgrade.php 2025-07-08 00:14:07 -06:00
FusionPBX
0056dd79b9 Update upgrade.php 2025-07-08 00:11:39 -06:00
frytimo
666b1351a3 Add extension handling to subscriber (#7412)
* add extension handling to subscriber
Store the extensions in the subscriber when it is available from $_SESSION.
Add more documentation to functions and variables

* remove rogue 'c' character injected by my keyboard

* Store the user session information in the token when available

* Add extension filter class

* Create get_user_setting function

* Add channel_presence_id key to event message
2025-07-07 13:53:58 -06:00
FusionPBX
5750a1dce9 Update domain_edit.php 2025-07-05 09:45:01 -06:00
FusionPBX
a680b059db Update domain_edit.php 2025-07-05 09:42:54 -06:00
frytimo
a36e71ff2a Active calls dashboard widget (#7411)
* Add context filter

* Add dashboard widget

* Add config for widget

* Add domain filter to service

* Fix websocket_service to get the class name

* Add new method get_service_name
2025-07-03 21:52:55 -06:00
FusionPBX
26d8527936 Fix PHP 7.1 websocket compatibility 2025-07-03 12:02:45 -06:00
FusionPBX
cb481c2d3e Update permissions skip dev/shm 2025-07-01 12:48:50 -06:00
frytimo
28dbb803de Add cpu line graph (#7403)
* add cpu line graph

* add cpu line graph

* add cpu line graph

* add cpu line graph

* add cpu line graph

* Add FreeBSD CPU status

* Add new dashboard type Line

* Add missing public declaration

* Allow new dashboard type Line to be selected option

* Use new Line type for graphing instead of doughnut
2025-06-30 15:54:13 -06:00
FusionPBX
3bf458895c Update upgrade.php 2025-06-28 23:03:38 -06:00
FusionPBX
ccc617940d Update upgrade.php 2025-06-28 21:29:20 -06:00
FusionPBX
90da27a553 Update upgrade.php 2025-06-28 08:22:32 -06:00
frytimo
807f80da94 Update dashboard with cpu status websockets (#7400)
* Remove setting hardcoded timer

* Use websockets for real-time CPU status on dashboard

* Add system_dashboard service file

* moved javascript file to core
2025-06-27 15:25:32 -06:00
FusionPBX
3636b8a11a Update upgrade.php 2025-06-26 09:31:12 -06:00
FusionPBX
d9d1649adc Update upgrade_menu.php
Refactor the interactive command line menu.
2025-06-26 08:14:32 -06:00
FusionPBX
2755b2f04a Update upgrade.php
Add a command-line help menu
2025-06-26 08:13:00 -06:00
FusionPBX
a817fda807 Update app_languages.php
Fix a syntax error
2025-06-26 07:16:19 -06:00
FusionPBX
2d18d51ff4 Update app_languages.php 2025-06-26 07:11:06 -06:00
frytimo
c126429be4 remove exit on unknown control frame (#7397) 2025-06-25 13:31:51 -06:00
FusionPBX
858e0ab491 Add restart always 2025-06-25 12:02:14 -06:00
frytimo
041914c16b Fix websocket in progress calls (#7394)
* Add a max chunking size when reading bytes to prevent failure

* Add more debug information

* Update the active calls response to be better
2025-06-25 08:15:48 -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
FusionPBX
52825a8f59 Allow additional characters for the name, content and details
- Allow additional characters
- Allow multi-lingual
- Use escape to keep it secure
2025-06-11 16:12:30 -06:00
FusionPBX
d8ec8be917 Fix a spelling mistake in htmspecialchars 2025-05-31 16:49:17 -06:00
FusionPBX
f2054fa490 Minor version update 5.4.3 2025-05-28 19:54:36 -06:00
FusionPBX
ee16644e25 Rename methods used in restore default
Renamed methods
- delete to restore_delete 
- restore to restore_default
2025-05-28 19:49:45 -06:00
FusionPBX
b96b5f8c0f menu_item_protected deprecated
This protected feature has not been working correctly. At the moment commented out depending on feedback it maybe removed entirely.
2025-05-28 19:37:58 -06:00