Commit Graph

24 Commits

Author SHA1 Message Date
frytimo fef8165be2
Frytimo pr patches for php8.1 (#6630)
* Passing null to parameter #2 ($string) of type string is deprecated

* Passing null to parameter #1 ($string) of type string is deprecated

* php 8.1 fixes

* php 8.1 fixes - replace strlen($var) > 0 with !empty($var)

* php 8.1 fixes - replace ${var} with {$var}

* php 8.1 fixes - replace ${var} with {$var}

* php 8.1 fixes - replace ${var} with {$var}

* php 8.1 fixes - replace ${var} with {$var}

* php 8.1 fixes - strlower with null

* php 8.1 fixes - strreplace with null

* php 8.1 fixes - passing null to base64_decode

* php 8.1 fixes - check for false and check for null on $this->dir

* php 8.1 fixes - remove assignment of $db variable to modules object

* php 8.1 fixes - avoid sending null to substr

* php 8.1 fixes - change ${var} to {$var}

* php 8.1 fixes - check for null before preg_replace

* php 8.1 fixes - remove setting db variable on domains object

* php 8.1 fixes - set empty string if $row['domain_setting_subcategory'] is null

* php 8.1 fixes - set empty string if $_REQUEST['show'] is not available

* php 8.1 fixes

* php 8.1 fixes - correct $_POST checking syntax

* php 8.1 fixes - correct $_POST variables

* php 8.1 fixes

* Use brackets consistently

* Update user_setting_edit.php

* Change to not empty

* Update device.php

* Update text.php

---------

Co-authored-by: Tim Fry <tim@voipstratus.com>
Co-authored-by: FusionPBX <markjcrane@gmail.com>
2023-05-05 10:46:37 -06:00
FusionPBX 18430f2abe
Change Access Control from domains to providers. 2023-04-21 17:43:34 -06:00
FusionPBX 121ffe5d3f
Remove access_control_nodes node_domain
This is handled automatically to make it easier and prevent mistakes
2023-04-21 09:55:04 -06:00
FusionPBX 2a2069fe9e
Use is_array around foreach 2022-10-12 14:59:13 -06:00
FusionPBX 1466659fe6
Change domains ACL to providers for new installs. 2022-08-06 17:13:38 -06:00
FusionPBX e1449e5cd3
Change default from allow to deny for the LAN rfc198 ACL 2022-08-04 15:02:41 -06:00
FusionPBX 5a11c55553
Remove orphaned access control nodes 2022-07-27 13:28:52 -06:00
FusionPBX 8020dec237
Update app_defaults.php 2022-01-27 08:52:02 -07:00
FusionPBX 1c6a4769a3
Change lan to rfc1918 2022-01-27 08:40:08 -07:00
FusionPBX 67be72b452
Database save method set to false. (#6215)
* When database save set to false for app_defaults.php
2021-12-24 12:42:16 -07:00
Nate c660b27096 Misc: Database class integration. 2019-08-28 21:02:08 -06:00
Nate 12d7ceb397 Database class integration. 2019-07-29 09:26:52 -06:00
FusionPBX fae000d7b6 Update app_defaults.php 2017-01-10 00:00:07 -07:00
FusionPBX c5ad50b9bb Update app_defaults.php
Check to see if the file exists before renaming it.
2017-01-09 23:26:54 -07:00
markjcrane 104d0a8584 Fix the access control list. 2016-04-29 17:01:04 -06:00
Harry G. Coin cc553a70c5 Cleanups.
Remove default 192.168.42.42/32 allow.
Restore missing app/fax/resources/functions/parse_attachments.php to satisfy pre-existing include
Fix so sql in voicemail app works if var undefined.  Warning: don't know if non Mariadb's like cast(...) .
Cleanup close in event socket.
2016-04-25 22:16:19 -05:00
markjcrane a62123c3e3 Add the lan acl as a default again. 2016-04-19 00:21:52 -06:00
markjcrane 1476757605 Remove the lan access control list as its not needed by default. 2016-04-06 00:14:53 -06:00
markjcrane 4757d0e9d6 Add ability to the acl.conf.xml to read a description attribute. 2016-02-14 03:09:55 -07:00
markjcrane 29ee23b2d6 Add lan example to access controls. 2015-08-25 15:01:50 -06:00
markjcrane 387e9c0287 Make sure access controls is not empty. 2015-08-25 14:52:19 -06:00
markjcrane dfd10e38e9 Fix a quote mismatch. 2015-08-20 09:23:53 -06:00
markjcrane 1ff1e38844 Fix the path problems for the reading the acl.conf.xml. 2015-08-20 09:06:45 -06:00
markjcrane 7759f63c9d Add the Access Controls as the new interface for ACL Lists. 2015-08-12 23:09:07 -06:00