Commit Graph

21976 Commits

Author SHA1 Message Date
FusionPBX
78d24e16dd If the uuid variable is empty try call_uuid
Found a case where the variables -> uuid doesn't exist found call_uuid as an alternative.
2024-08-09 10:06:17 -06:00
Alex
a5a579cadc Fix spacing when you click on the expand/collapse all button (#7089) 2024-08-08 16:24:13 -06:00
FusionPBX
0044f0b69e Update permissions handling for performance
- For pages using large number of permission like these
- Creating a permission array that is populated with permission_exists
- Then using the permission array is more efficient
2024-08-08 16:17:28 -06:00
FusionPBX
0829062cc7 Remove the http_domain_filter
The reason its removed from the class is http_domain_filter was moved to provision/index.php
2024-08-07 15:18:02 -06:00
frytimo
56ca4ee695 Remove files not used in project (#7086) 2024-08-07 14:23:30 -06:00
frytimo
be68bfb915 honor the domain_filter setting in default settings (#7085)
It was found that the domain_filter was not working when provisioning devices. This can lead to conflicts if a device address is in multiple domains or a valid device address is sent for another domain. This enforces the check so that if http_domain_filter is enabled and the domain name does not match the device specified, it will reject the request.
2024-08-07 14:09:26 -06:00
FusionPBX
ba3ab5a8c9 Use parent_name as its more intuitive
Also replace $this->name with $this->app_name
2024-08-06 17:07:16 -06:00
frytimo
7630056bb8 Remove the unset($database) statements (#7084)
* Remove the unset($database) statements
The database object is a global variable that contains a database object reference and should not be unset.

* Update event_guard.php

* Update event_guard.php

* Update event_guard.php

---------

Co-authored-by: Tim Fry <tim@fusionpbx.com>
Co-authored-by: FusionPBX <markjcrane@gmail.com>
2024-08-06 13:19:45 -06:00
FusionPBX
c960575796 Update database.php 2024-08-06 11:28:32 -06:00
FusionPBX
46bbb31391 Update database.php
- preset empty values for variables and arrays
- use $table_name instead of $this->name
2024-08-06 02:52:55 -06:00
FusionPBX
1c22b49d5a Pass the database object to the settings object 2024-08-06 02:40:50 -06:00
FusionPBX
1252649a0c Replace $db with $database 2024-08-05 19:52:45 -06:00
markjcrane
22ba339505 Allow one line feed at the end of the file 2024-08-05 18:27:59 -06:00
FusionPBX
b05c0534b4 Send the database object into the function 2024-08-05 16:56:51 -06:00
FusionPBX
a69b4d91f1 Update database handling 2024-08-05 16:19:34 -06:00
FusionPBX
dbe37f275b Update app_defaults.php 2024-08-05 15:55:08 -06:00
FusionPBX
032a24cb28 Update domains.php 2024-08-05 15:52:51 -06:00
FusionPBX
163403acc7 Re-use the database object 2024-08-05 15:07:13 -06:00
FusionPBX
cd1cc70044 Remove redundant database objects
This reduces database connections and improves performance.
2024-08-05 14:22:17 -06:00
FusionPBX
00c803f53e Use the database more efficiently 2024-08-05 12:16:36 -06:00
FusionPBX
e24edd47f0 Use database::new() 2024-08-05 09:58:14 -06:00
FusionPBX
a84c69a1dc Use the database object efficiently 2024-08-05 09:53:11 -06:00
FusionPBX
096fd4f898 Remove redundant new database objects 2024-08-05 09:31:20 -06:00
FusionPBX
30735f6587 Update menu_item_list.php 2024-08-05 09:28:19 -06:00
FusionPBX
2c4adc6d21 Add parent dashboard parent
Added for future use. Currently does nothing.
2024-08-04 10:33:19 -06:00
FusionPBX
fa68129eaf Update template.php 2024-08-03 22:41:26 -06:00
FusionPBX
63ec63f32b Add background_video_enabled (#7083)
Added this to allow disabling video so that global default and individual domains can use different settings.
2024-08-03 22:35:11 -06:00
FusionPBX
eb93adba0b Add title-follow_me 2024-08-02 15:18:11 -06:00
FusionPBX
c3a6e22f38 Change title-call-block to title-call_block 2024-08-02 15:14:57 -06:00
FusionPBX
3e9aaf7bfe Dashboard name translation 2024-08-02 14:06:35 -06:00
FusionPBX
14f2d9df85 Add title logout and account settings 2024-08-02 13:58:27 -06:00
FusionPBX
b7467e7e11 Update conference center dashboard url 2024-08-02 13:13:56 -06:00
FusionPBX
cdcc0ee73e Add user logout icon 2024-08-02 13:11:04 -06:00
FusionPBX
e9cd4dd1ec Add fax group to the fax dashboard 2024-08-02 12:51:13 -06:00
FusionPBX
90933eaaf7 Fix the ring group dashboard permissions 2024-08-02 12:49:21 -06:00
FusionPBX
11def15cdc Fix dashboard_group_uuid conflict 2024-08-02 12:38:33 -06:00
FusionPBX
aeeb9e991e Add account settings icon 2024-08-02 12:31:43 -06:00
FusionPBX
8fd37c6c3c Delete needs to include dashboard_groups 2024-08-02 12:19:08 -06:00
FusionPBX
720be4a68b By default FAX permissions remove user
- Reason for change is not everyone uses FAX
- There is a fax group adding users to that group who need FAX maybe a better option.
- There is still the option of assign the fax permissions to the user and then protect those permissions.
2024-08-02 12:06:08 -06:00
FusionPBX
8ffa56ac38 Fix database transaction edit 2024-08-02 11:54:14 -06:00
FusionPBX
0c157bd7ce Update header.php
Fix indentation and create a new database object only if it is not defined.
2024-08-02 11:35:05 -06:00
FusionPBX
b93d3e8050 Fix intermittent issue with the Sub Menu 2024-08-02 11:22:14 -06:00
frytimo
2d16cba7fb update voicemail constructor to use domain and user uuids for settings (#7080)
If the settings object is not passed in the parameters the settings object that was created did not have the current domain uuid or user uuid set. This would cause default settings that were copied to the domain to be ignored. Ensuring the domain_uuid and user_uuid are initialized before the setting object and then passing them to the settings object constructor will make sure that the values would be returned when a request to the settings object is made.
2024-08-02 09:46:54 -06:00
Mendel
82129ff8ed Update {$mac}.cfg (#7081)
changed the sip server port to work with the t34w
2024-08-02 09:39:39 -06:00
FusionPBX
e2ab9129b6 Add dashboard width and height
Used when opening a new browser window
2024-08-01 23:34:30 -06:00
FusionPBX
b3f31af5a8 If data is global then domain_uuid set to null
This means transaction is global. If there is a domain_uuid use the domain ID from the data.
2024-08-01 18:02:15 -06:00
fusionate
d86217247e Voicemail - send_email (script): Assume direct sox call (for now). 2024-08-01 12:12:39 -06:00
fusionate
d79c7b1cb9 Voicemail: Integrate message forward intro playback in web interface, and prepend intro on emailed audio file. 2024-08-01 10:27:15 -06:00
FusionPBX
a020979947 Add destination_number variable 2024-07-31 17:26:36 -06:00
FusionPBX
ac07414b9d Update send.lua
Add domain_name and message variables
Add error prevention
Pass thru the domain_name, event_subclass and mesage
2024-07-31 17:19:57 -06:00