Commit Graph

21987 Commits

Author SHA1 Message Date
FusionPBX 6600bbdfc6
Update the indentation 2024-08-14 13:03:03 -06:00
frytimo 301fb2b974
remove all $_SESSION references and use single database object (#7095)
Updates:
- use config object to find and load config file
- use single database object with config passed in constructor
- use settings object with database passed in constructor
- parse command line options with for loop so order no longer matters
- store all passed options in the super global $_REQUEST array for easy reference and debugging
- add debug and debug_level options for command line
- allow dumping the command line arguments when debug_level is 3 or higher
- add config option in command line to set location of config file
- add a shutdown function to allow for the exit command to be used but still output to either console or file
- add extra checks for options that are needed during runtime
- remove old PHP version 4 code
- add is_file check when checking for a valid .tiff file because file_exists returns true if it's a directory or file
2024-08-14 12:59:53 -06:00
FusionPBX 257fa78fc6
sip_transport is stored in the datbase in lower case 2024-08-14 01:51:42 -06:00
Antonio Fernandez b3f9176538
remove footer bottom margin (#7093) 2024-08-12 18:31:06 -06:00
fusionate 5416a4dd69
Minor adjustment to comments in previous commit. 2024-08-12 16:33:52 -06:00
fusionate 0e3a861cf5
Dashboard - Edit, Menu Item - Edit: Integrate icon search. 2024-08-12 16:25:21 -06:00
fusionate 37af618998
Extension - List: Show registration status icon (when permitted). 2024-08-12 12:15:40 -06:00
fusionate 4b23913555
Update Font Awesome to v6.6.x, adjust some icon references. 2024-08-09 18:14:52 -06:00
frytimo 10bd1b9f9f
add multiple line export feature (#7090)
* move permissions to top of page and use single database object

* use a domain array instead of session

* use a domain array instead of session

* add multiple line export feature
Exporting devices with multiple lines did not show headers for extra columns if the first device listed only had a single line and the other devices had multiple lines. This adds a feature to export multiple lines for devices using the "duplicate column feature" so that the import feature can detect and import all lines for the device.

* Update device_download.php
2024-08-09 17:57:53 -06:00
FusionPBX 64b565d974
This line overwrites the $uuid
We only want to get the uuid one time. This resolves that issue.
2024-08-09 10:52:21 -06:00
Mihir Gajjar cc7197322c
Updated Snom D735 Template (#7087)
Snom D735 has a known issue where the lights on the phone won't illuminate when in use. It still functions correctly but without any lights. I talked with Snom support and they provided me with the string that needs to be changed in the template.

This issue started from Snom firmware version 10.1.127.10

Release Notes - https://service.snom.com/display/wiki/10.1.127.10+Release
2024-08-09 10:31:23 -06:00
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