Commit Graph

35 Commits

Author SHA1 Message Date
fusionate 798001bb23
Device [Class]: Updates for PHP 8.1 2023-05-25 17:41:58 +00:00
fusionate 18b6c4b318
Device [Class]: Updates for PHP 8.1 2023-05-25 15:40:59 +00:00
fusionate c026aab073
Device [Class]: Updates for PHP 8.1 2023-05-24 20:52:04 +00:00
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
frytimo 69bd42af05
remove unneeded destruct methods as GC has higher performance (#6631)
Co-authored-by: Tim Fry <tim@voipstratus.com>
2023-04-27 20:18:53 -06:00
televoice_pl e91ed6e5a3
Update device.php (#6570)
"cisco spa" check must be before "cisco" otherwise "cisco spa" is ignored
2023-03-09 14:20:24 -07:00
FusionPBX badc0ee6c4
Add option for /usr/share and /usr/local/share 2023-01-29 16:46:39 -07:00
markjcrane d50bcb476a Replace root.php 2022-10-10 16:35:14 -06:00
Joseph 66f255835a
add new polycom mac address vendor range (#6315) 2022-02-25 00:56:10 -07:00
Vincent c2772dc4c7
Add the fip1x series provision template of flyingvoice and the vender of flyingvoice on the web. (#5996)
* Add fip1x series of flyingvoice  in the provision

* Fix boot file of flyingvoice does not take effect.
2021-08-27 09:39:10 -06:00
FusionPBX b724852eff
Update device.php
When deleting a device make sure it removes any related device_uuid_alternate.
2020-10-20 09:41:08 -06:00
Luis Daniel Lucio Quiroz 2b7c938f49
Add digium support to get_vendor_by_agent() (#5380)
Missing this brand
2020-08-03 13:12:19 -06:00
Nate 86f13e77bd Devices - Edit: Integrate checkboxes on Lines, Keys and Settings for bulk delete on Save (uses token). Add delete button with dynamic action. 2020-02-27 10:24:32 -07:00
Nate 4836e4ba7f Device Profiles - Edit: Integrate checkboxes on Keys and Settings for bulk delete on Save (uses token). 2020-02-20 15:37:45 -07:00
Nate 36334d003c Devices: List view and button updates, other fixes. 2020-01-08 13:28:01 -07:00
Nate bec5c647c9 List View: Updates to action classes. 2019-11-30 15:18:48 -07:00
Nate f0f05f5651 Devices (Profiles & Vendors): List view updates. 2019-11-07 16:01:43 -07:00
Nate 02b35a7a99 Device: List view updates. 2019-11-07 09:00:29 -07:00
FusionPBX 9b19341855 Update device.php 2019-09-21 20:34:40 -07:00
FusionPBX 2ab4c409c6 Update device.php 2019-09-21 20:34:16 -07:00
Roman Dissauer 8b166090a6 prepare provisioning for gigaset templates (#3053) 2018-05-15 19:53:43 -06:00
Len 2f3db7ae24 Update device.php 2018-02-17 03:45:37 -05:00
Luis Daniel Lucio Quiroz ccd684507e Include New yealink mac (#2963)
New Yealink t48s have different mac address
2018-01-25 12:56:42 -07:00
FusionPBX da6b4716cb Update device.php 2017-01-31 17:25:16 -07:00
Alexey Melnichuk 080763cee7 Add. Support remote reboot Panasonic devices. (#2326)
Tested with Panasonic KX-TGP500 Firmware 22.90
User agent string `Panasonic_KX-TGP500B09/22.90 (<MAC>)`
2017-01-31 00:35:24 -07:00
Mafoo 1cb70e8e9d BugFix-Add new Polycom MAC (#1770)
Polycom were assigned a new MAC prefix - 64:16:7f
2016-07-22 07:29:57 -06:00
Alexey Melnichuk 8d8b679ce8 Add. Use static function to find vendor by User-Agent string. (#1681)
Add. Escene and AddPac vendors.
2016-06-20 11:45:20 -06:00
Alexey Melnichuk f1c31e0935 Escene provision (#1140)
* Add. Provision to Escene ES330/ES320

* Add. Look up Escene device by ext+domain.

* Update Escene template.

* Add. `provision` section in config.

Found than ES330 some time hangup when it try get software/core and get error from fusion.
2016-05-06 01:49:43 -06:00
markjcrane 7bb49cce58 Change the vendor ID hex number to lower case and re-use prov object that already exists. 2016-01-09 11:50:49 -07:00
markjcrane 62c83ff03f Method get_vendor add vendor mitel and put them in alphabetical order. 2016-01-09 11:37:40 -07:00
Mark Crane f00814b1b1 Replace the switch with if/elseif/else to fix a problem with accounts -> extensions for php fpm on Ubuntu 14.04 LTS 2014-09-29 07:29:44 +00:00
Mark Crane f34d1480f5 Change the package path from /etc/fusionpbx/templates/provision to /etc/fusionpbx/resources/templates/provision 2014-06-03 17:45:24 +00:00
Mark Crane dd688d52a6 Add get_template_dir to the PHP class. 2014-02-22 23:20:55 +00:00
Mark Crane cf474ed648 Add static to the device method to get rid of strict message. 2014-01-14 01:50:19 +00:00
Mark Crane 13025158fd Add device key extension for yealink. Add a device class. 2014-01-03 23:11:42 +00:00