Commit Graph

79 Commits

Author SHA1 Message Date
fusionate e3dce560cf
Device Profile - Edit: Updates for PHP 8.1 2023-05-25 17:46:27 +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
FusionPBX 423bcd8aa8
Rename name to type 2023-04-04 10:59:24 -06:00
FusionPBX 408122c60c
Add subtype to vendor functions and device keys. (#6409)
* Add subtype to vendor functions and device keys.

Added to support phones that require a subtype for provisioning the phone.

* Add device_key_subtype

* Update device_edit.php

* Update device_profile_edit.php

* Update device_vendor_edit.php

* Update device_vendor_function_edit.php

* Update device_vendor_functions.php

* Update device_vendor_restore.php

* Update index.php

* Update provision.php

* Update app_languages.php

* Update app_config.php
2023-04-04 08:57:41 -06:00
FusionPBX e72094543a
Add key to the name 2023-02-21 20:45:54 -07:00
FusionPBX aa51f96212
Customizable empty rows for device keys (#6561)
* Customizable empty rows for device keys

* New default setting profile_add_rows and profile_edit_rows
2023-02-21 20:27:55 -07:00
Alex 7326cb845a
Set default for enabled (#6556)
* Set default for enabled

* Update conference_profile_edit.php

* Update call_block_edit.php

* Update conference_control_edit.php

* Update conference_control_detail_edit.php

* Update conference_profile_edit.php

* Update conference_profile_param_edit.php

* Update conference_edit.php

* Update destination_edit.php

* Update device_edit.php

* Update device_profile_edit.php

* Update device_vendor_edit.php

* Update email_template_edit.php

* Update extension_edit.php

* Update module_edit.php

* Update phrase_edit.php

* Update ring_group_edit.php

* Update sip_profile_edit.php

* Update stream_edit.php

* Update time_condition_edit.php

* Update var_edit.php

* Update voicemail_edit.php

* Update call_block_edit.php

* Update default_setting_edit.php

* Update domain_setting_edit.php

* Update domain_edit.php

* Update user_edit.php

* Update bridge_edit.php

* Update sip_profile_edit.php

* Update sofia_global_setting_edit.php

* Update call_flow_edit.php

* Update email_template_edit.php

* Update call_flow_edit.php

* Update bridge_edit.php

* Update email_template_edit.php

* Update sip_profile_edit.php

* Update sofia_global_setting_edit.php

* Update bridge_edit.php

* Update call_flow_edit.php

* Update conference_control_edit.php

* Update sip_profile_edit.php

* Update stream_edit.php

* Update default_setting_edit.php

* Update email_template_edit.php

* Update extension_setting_edit.php

* Update default_setting_edit.php

* Update dashboard_edit.php

* Update dashboard_edit.php

* Update default_setting_edit.php
2023-02-17 14:21:41 -07:00
Alex a229d1e46c
Add enabled toggle to more pages and bug fix (#6552)
* Add enabled toggle to more pages and bug fix

* Add device profile enable toggle

* fixed enable on bridge_edit.php

* Fixed enable on call_block_edit.php

* Fixed enable on call_flow_edit.php

* Fixed enable on conference_center_edit.php

* Add conference room enabled toggle

* Fixed enable on conference_control_detail_edit.php

* Fixed enable on conference_control_edit.php

* Fixed enable on conference_profile_edit.php

* Add conference profile param enabled toggle

* Fixed enable on conference_edit.php

* Fixed enabled on device_edit.php

* Fixed enable on extension_edit.php

* Fixed enable on gateway_edit.php

* Fixed enable on number_translation_edit.php

* Fixed enable on phrase_edit.php

* Fixed enable on ring_group_edit.php

* Fixed enable on sip_profile_edit.php

* Fixed enable on stream_edit.php

* Fixed enable on time_condition_edit.php

* Fixed enable on var_edit.php

* Fixed enable on voicemail_edit.php

* Fixed enable on user_edit.php

* Fixed enable on user_setting_edit.php

* Update user_edit.php

* Update bridge_edit.php

* Update call_flow_edit.php

* Update conference_control_edit.php

* Update stream_edit.php

* Fixed enable on default_setting_edit.php

* Fixed enable on domain_edit.php

* Fixed enable on email_template_edit.php

* Fixed enable on module_edit.php
2023-02-14 11:19:02 -07:00
fusionate 6825825891
Device Profile - Edit: Implement device_key_icon permission on Icon column of Keys. 2023-01-27 22:42:05 +00:00
markjcrane d50bcb476a Replace root.php 2022-10-10 16:35:14 -06:00
agree dbd1fc27fe
[device profiles] Only allow editing device settings when having permission (#5980)
* [device profiles] Only allow editing device settings when having permission

* Update device_profile_edit.php
2021-11-13 11:29:21 -07:00
FusionPBX d2004e921e
Device profile add just expansion. 2020-08-28 12:34:36 -06:00
chansizzle c3b5f57ad1
Update device_profile_edit.php (#5430)
* Update device_profile_edit.php

expansion modules update
2020-08-28 12:28:02 -06:00
FusionPBX 90dc96d134
Fix the device profile key vendor for Yealink 2020-07-14 19:32:01 -06:00
konradSC 5dc1137a64
Fix Yealink Expansion Modules in Device Profiles (#5324)
The 'if' statements need to reference v_device_profile_keys.profile_key_vendor instead of device_key_vendor which is in a different table.
2020-07-01 16:28:36 -06:00
Nate 92033b88bc Devices, Profiles & Vendors: Modal integration. 2020-03-26 08:55:43 -06:00
Nate e8494facee Multiple: Add IDs to form tags, remove empty action attributes. 2020-03-05 10:02:25 -07:00
Nate 029c7174b4 Multiple - Add IDs to common/default action buttons. 2020-03-05 00:05:45 -07:00
Nate 8cf57f30be Multiple - Edit: Minor mods. 2020-03-03 19:59:41 -07:00
Nate 6c37a5e125 Devices / Device Profiles - Edit: Permission adjustments. 2020-02-28 07:31:35 -07:00
Nate 834880e0e7 Devices / Device Profiles - Edit: Add select-all checkboxes for bulk delete of Lines, Keys and Settings. 2020-02-27 19:01:21 -07:00
Nate 0da0e3036a Device Profiles - Edit: Add delete button with dynamic action. 2020-02-27 12:48:43 -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 4edd21773a Devices: Add window titles. 2020-01-06 07:39:59 -07:00
FusionPBX 1e05105179 Add expansion 3-6 to the device profile. 2019-12-12 09:02:50 -07:00
Nate f0f05f5651 Devices (Profiles & Vendors): List view updates. 2019-11-07 16:01:43 -07:00
Nate bd2536a1da Update device_profile_edit.php 2019-09-23 15:54:05 -06:00
Nate 3e8603cfae Update device_profile_edit.php 2019-09-23 14:16:38 -06:00
Nate 1a29840b12 Devices: Token integration. 2019-09-17 22:35:49 -06:00
FusionPBX abcbb4a1a7 Update device_profile_edit.php 2019-08-29 17:11:27 -06:00
Nate 17f2911056 Replace misc glyphicon usage. 2019-08-20 19:53:21 -06:00
FusionPBX 9441e638f6 Update device_profile_edit.php 2019-08-16 14:24:58 -06:00
FusionPBX f376b7db27 Update device_profile_edit.php 2019-08-16 14:19:01 -06:00
FusionPBX b2bae448a4 Update device_profile_edit.php 2019-08-14 23:46:10 -06:00
FusionPBX 639dd286dc Update device_profile_edit.php 2019-08-14 22:23:17 -06:00
FusionPBX 02a96ab900 Update device_profile_edit.php 2019-08-14 20:14:36 -06:00
FusionPBX a63ac28aa7 Update device_profile_edit.php 2019-08-14 20:10:20 -06:00
FusionPBX 9b0fc3d77a Update device_profile_edit.php 2019-08-14 19:45:53 -06:00
FusionPBX 7a0f0f11b9 Update device_profile_edit.php 2019-08-14 19:24:58 -06:00
FusionPBX 2e692f0bd0 Update device_profile_edit.php 2019-08-14 18:23:39 -06:00
FusionPBX da5f0b0ce4 Update device_profile_edit.php 2019-08-14 18:22:02 -06:00
FusionPBX bf334d4aa4 Update device_profile_edit.php 2019-08-13 03:19:43 -06:00
Nate f841650075 Devices: Database class integration. 2019-08-03 20:21:56 -06:00
Killsudo 96a6c350d4 Add device key icon for dss programming (#3896)
* Expand Fanvil DSS-Key support for templating

* Add DSS key programming to Fanvil X6

* Add device key icon support.

* Additional device key icon fixes

* Fix SQL for device_key_label

* Add device_key_icon varible to X6 dss key programming

* Add new Advanced SIP Var (#3859)

Add the following advanced SIP variable. Disabling this allows Yealink phones to display the SIP error reason in the format sent by the carrier rather than Q.850 format e.g. "User Busy" rather than "NORMAL_CLEARING"

sip.call_fail_use_reason.enable = {$yealink_sip_call_fail_use_reason_enable}

* Variables for DP750 Handset Assignment, Ring Type (#3772)

New variables for the DP750 to allow the following settings:

$grandstream_repeater_mode_enable
(Enables or disables repeater mode on DP750 base)

$grandstream_hanging_group_mode
(Allows users to set hanging group mode (e.g. ring handsets at the same time, sequentially, etc.)

$grandstream_handset_X_line_Y_enable
(Allows setting of handset to line assignment)

* Update app_config.php

* Update 520_follow_me_bridge.xml (#3893)

Search through all SIP Profiles when looking up the Contact.

* Update xml_cdr_delete.php (#3891)

Fix typo in delete() query

* Make storage_path and storage_type = http_cache work (#3892)

* Make storage_path work

if storage_path was set, the script would fail. I have fixed it by removing the references to unset variables. I also made the recordings use the path.

* Update ivr.conf.lua

Add storage_path definition so storage_type of http_cache works correctly

* Fix IVR (#3898)

IVR was broken after previous update/change.

* Add Fanvil one-hit privisioning support for X6 and i30 devices (#3894)

* Update directory.xml

* Update directory.xml

* Update directory.xml

* Update directory.xml

* Update directory.xml (#3931)

* Update directory.xml (#3929)

* Update directory.xml (#3928)

* Update directory.xml (#3930)

* Update directory.xml (#3927)

* Update directory.xml (#3924)

* Update directory.xml (#3922)

* Update directory.xml (#3921)

* Update directory.xml (#3923)

* Update directory.xml (#3926)

* Update directory.xml (#3925)

* Update directory.xml (#3920)

* Update directory.xml (#3916)

* Update directory.xml (#3906)

* Update directory.xml (#3919)

* Update directory.xml (#3918)

* Update directory.xml (#3917)

* Update directory.xml (#3915)

* Update directory.xml (#3914)

* Update directory.xml (#3912)

* Update directory.xml (#3911)

* Update directory.xml (#3910)

* Update directory.xml (#3909)

* Update directory.xml (#3913)

* Update directory.xml (#3908)

* Update directory.xml (#3901)

* Update directory.xml (#3902)

* Update directory.xml (#3904)

* Update directory.xml (#3907)

* Update directory.xml (#3905)

* Update directory.xml (#3903)

* Update extensions.php

* Update domains.php

* Update dialplans.php

* Update users.php

* Update click_to_call.php

* Update app_config.php

* Update app_languages.php

* Update dialplan_edit.php

* Show enabled extension only on operator panel (#3900)

Add e.enabled = 'true' to SQL where and show only enabled extensions on the operator panel.

* Add new default_settings for Fanvil products (#3895)

* Add new default_settings for Fanvil products

* Set setting names too lowercase.

* Add additional firmware auto upgrade options

* Add intial Fanvil i30 device support (#3897)

* Update app_config.php

* Update dialplan.php (#3934)

Adds the ability to set "dialplan_destination" db field from Upgrade App Defaults and xml dialplan templates.

* Update dialplan.php

* Fanvil x6 template (#3936)

* Allow Fanvil x6 template to dynamically provision DSS memory and expansion keys

* Expand Fanvil X6 template options to match latest firmware. Use more FusionPBX default settings.

* Remove TR069 CPE serial number from template

* Have template use the 'admin_name' and 'admin_pass' default settings for admin webui login

* Fanvil i30 template fixes (#3933)

* Make varible names lowercase. follows cf76c39e97

* Additional i30 fixs around FusionPBX and feature enhancements.

* Add dynamic memory key programming

* Add support for configuring time to leave switch relay open on i-series devices

* Add OSD parameters, fix egs_syslog, protect RTSP streams by default

* Fix Fanvil 'Memory' keys (#3932)

* Expand Fanvil DSS-Key support for templating

* Fanvil vendor key fixes.

* Fanvil - Edit device keys to type 'memory' only

* Add Fanvil SpeedDial memory key support

* Update recordings.lua (#3937)

Bug fix. Allow for nil and blank entries.

* Add DSS key programming to Fanvil X6

* Fanvil 'icon' key for dss key profiles

* Fanvil 'icon' key for dss key profiles

Add new Advanced SIP Var (#3859)

Add the following advanced SIP variable. Disabling this allows Yealink phones to display the SIP error reason in the format sent by the carrier rather than Q.850 format e.g. "User Busy" rather than "NORMAL_CLEARING"

sip.call_fail_use_reason.enable = {$yealink_sip_call_fail_use_reason_enable}

Variables for DP750 Handset Assignment, Ring Type (#3772)

New variables for the DP750 to allow the following settings:

$grandstream_repeater_mode_enable
(Enables or disables repeater mode on DP750 base)

$grandstream_hanging_group_mode
(Allows users to set hanging group mode (e.g. ring handsets at the same time, sequentially, etc.)

$grandstream_handset_X_line_Y_enable
(Allows setting of handset to line assignment)

Update app_config.php

Update 520_follow_me_bridge.xml (#3893)

Search through all SIP Profiles when looking up the Contact.

Update xml_cdr_delete.php (#3891)

Fix typo in delete() query

Make storage_path and storage_type = http_cache work (#3892)

* Make storage_path work

if storage_path was set, the script would fail. I have fixed it by removing the references to unset variables. I also made the recordings use the path.

* Update ivr.conf.lua

Add storage_path definition so storage_type of http_cache works correctly

Fix IVR (#3898)

IVR was broken after previous update/change.

Add Fanvil one-hit privisioning support for X6 and i30 devices (#3894)

Update directory.xml

Update directory.xml

Update directory.xml

Update directory.xml

Update directory.xml (#3931)

Update directory.xml (#3929)

Update directory.xml (#3928)

Update directory.xml (#3930)

Update directory.xml (#3927)

Update directory.xml (#3924)

Update directory.xml (#3922)

Update directory.xml (#3921)

Update directory.xml (#3923)

Update directory.xml (#3926)

Update directory.xml (#3925)

Update directory.xml (#3920)

Update directory.xml (#3916)

Update directory.xml (#3906)

Update directory.xml (#3919)

Update directory.xml (#3918)

Update directory.xml (#3917)

Update directory.xml (#3915)

Update directory.xml (#3914)

Update directory.xml (#3912)

Update directory.xml (#3911)

Update directory.xml (#3910)

Update directory.xml (#3909)

Update directory.xml (#3913)

Update directory.xml (#3908)

Update directory.xml (#3901)

Update directory.xml (#3902)

Update directory.xml (#3904)

Update directory.xml (#3907)

Update directory.xml (#3905)

Update directory.xml (#3903)

Update extensions.php

Update domains.php

Update dialplans.php

Update users.php

Update click_to_call.php

Update app_config.php

Update app_languages.php

Update dialplan_edit.php

Show enabled extension only on operator panel (#3900)

Add e.enabled = 'true' to SQL where and show only enabled extensions on the operator panel.

Add new default_settings for Fanvil products (#3895)

* Add new default_settings for Fanvil products

* Set setting names too lowercase.

* Add additional firmware auto upgrade options

Update app_config.php

Update dialplan.php (#3934)

Adds the ability to set "dialplan_destination" db field from Upgrade App Defaults and xml dialplan templates.

Update dialplan.php

Fanvil x6 template (#3936)

* Allow Fanvil x6 template to dynamically provision DSS memory and expansion keys

* Expand Fanvil X6 template options to match latest firmware. Use more FusionPBX default settings.

* Remove TR069 CPE serial number from template

* Have template use the 'admin_name' and 'admin_pass' default settings for admin webui login

Fanvil i30 template fixes (#3933)

* Make varible names lowercase. follows cf76c39e97

* Additional i30 fixs around FusionPBX and feature enhancements.

* Add dynamic memory key programming

* Add support for configuring time to leave switch relay open on i-series devices

* Add OSD parameters, fix egs_syslog, protect RTSP streams by default

Fix Fanvil 'Memory' keys (#3932)

* Expand Fanvil DSS-Key support for templating

* Fanvil vendor key fixes.

* Fanvil - Edit device keys to type 'memory' only

* Add Fanvil SpeedDial memory key support

Update recordings.lua (#3937)

Bug fix. Allow for nil and blank entries.

Add DSS key programming to Fanvil X6

* resync3
2018-12-12 10:08:21 -07:00
FusionPBX 42d287be1f Update device_profile_edit.php 2018-10-13 19:25:48 -06:00
AlexanderDCrane 099bff4a39 Update device_profile_edit.php (#3371) 2018-08-31 12:21:23 -06:00
markjcrane a72f1d6266 Change messages class to message 2018-08-31 03:09:01 +00:00
AlexanderDCrane 3ddb3443ca Update device_profile_edit.php (#3296) 2018-08-27 16:14:08 -06:00
FusionPBX 7c35daee06 Update device_profile_edit.php 2017-10-14 16:19:18 -06:00