Commit Graph

86 Commits

Author SHA1 Message Date
fusionate
d37dec79a1 Device Profile - Edit: Adjust indentation in previous commit. 2025-08-21 12:14:13 -06:00
fusionate
6fe859986a Device Profile - Edit: Apply slide toggle option to Settings Enabled field. 2025-08-21 12:12:59 -06:00
FusionPBX
c3952028b1 Use the settings get method for the buttons 2025-04-14 10:36:21 -06:00
Alex
c01403cce8 Added content card div to devices (#7122) 2024-09-06 11:20:03 -06:00
frytimo
2cbb4dbc31 remove instances where a pointer is used in a foreach loop for value (#7108) 2024-08-22 12:41:10 -06:00
frytimo
d7bbcd89f5 Use magic constant dir (#6711)
* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__ to load only functions.php

* replace spaces with tab character

* update dirname command to use levels instead of nesting

* use magic constant __DIR__

* update dirname command to use levels instead of nesting

* Update access_control_edit.php

* Update access_control_import.php

* Update access_controls.php

* Update dnd.php

* Update access_controls_reload.php

* Update call_center_agents.php

* Update call_center_agents.php

* Update fax_queue.php

* Update login.php

* Update pdo.php

* Update pdo_vm.php

* Update switch.php

* Update index.php

* Update css.php

* Update v_mailto.php

* Update fax_to_email.php

---------

Co-authored-by: FusionPBX <markjcrane@gmail.com>
2023-06-15 11:28:23 -06:00
FusionPBX
f8662f20a3 Fix the display of the device table header 2023-06-02 15:43:52 -06:00
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