Commit Graph

292 Commits

Author SHA1 Message Date
markjcrane 26530d6fe0 Fix end of file line only use one line feed at the end of the file 2024-09-19 16:44:08 -06:00
Alex c01403cce8
Added content card div to devices (#7122) 2024-09-06 11:20:03 -06:00
FusionPBX 2425dd4c45
update device_edit.php 2024-07-24 15:26:55 -06:00
Antonio Fernandez 841cc6527e
Groundwire added vendor (#7065)
* Added Groundwire vendor
2024-07-24 07:21:12 -06:00
FusionPBX 06a6292ebb
Allow removing an assigned user 2024-07-23 15:15:50 -06:00
FusionPBX cb7fd1e4ac
Use the object format_address method 2024-07-18 23:35:58 -06:00
Antonio Fernandez 1aa9a93bb5
fix qrcode generation on BSD (#7052) 2024-07-14 09:51:44 -06:00
frytimo fcd64fcce6
Remove session from provisioning (#7014)
* use single database object, use settings class

* add common domain functions

* use settings class
2024-06-22 19:28:04 -06:00
Antonio Fernandez ac876402b3
add function to return the config object used to create the database object (#6998) (#7006)
Co-authored-by: Tim Fry <tim@fusionpbx.com>
2024-06-13 14:53:30 -06:00
FusionPBX 5c696b6eb3
Add a description for the change 2024-03-13 11:12:48 -06:00
fusionate cac884d672
Device - Edit: Adjust detection of valid line ports. 2024-03-13 10:43:27 -06:00
FusionPBX 06480cbc3d
Fix bug with sipnetic use server_address
The registration domain should use server_address not the outbound_proxy_primary address.
2024-02-19 14:56:46 -07:00
fusionate 9e8adfc510
Device - Edit: Hide Device Provisioned IP and http/s links if empty. 2023-11-24 23:38:34 +00:00
fusionate 17077532d2
Device - Edit: Add Default Settings to set quantity of new Keys and Settings rows. Check all Delete box for Keys now selects vendor Key groups. 2023-11-24 23:29:46 +00:00
fusionate 0d079fdaba
Device - Edit: Code reduction. 2023-11-24 22:13:52 +00:00
fusionate 546feeb190
Device - Edit: Remove deprecated code. 2023-11-24 21:59:42 +00:00
fusionate d9bf2e3c7b
Device - Edit: Set device key vendor on device key type change. 2023-11-24 21:33:41 +00:00
fusionate 06aba14a59
Device - Edit: Fix character transposition (typo). 2023-11-24 21:32:22 +00:00
FusionPBX 9da5a10a77
Change the permission to device_profile_view 2023-11-02 23:37:42 -06:00
FusionPBX 86373fd3b4
Update permission for device profiles. Use device_profile_view, device_profile_select and device_profile_edit 2023-11-01 18:43:53 -06:00
volga629-1 8ed5dd4c76
New Devices permissions profile select and edit. (#6821)
* Device select permissions

* Apply device select permissions.

* Fix missing index

Fix missing index
2023-11-01 18:33:13 -06:00
fusionate 834be519ba
Device - Edit: Make Provision button use first Line found on local server. 2023-10-30 19:19:56 +00:00
fusionate 935774d3c0
Device - Edit: Increase width of Keys and Settings input fields. 2023-10-27 18:45:25 +00:00
fusionate 7f48c0f676
Device - Edit: Integrate QR provisioning for Sipnetic softphone. 2023-09-07 23:26:27 +00:00
Anthony 8c8ef2c309
Fixed Warnings (#6768)
* Update device_edit.php

* Update dialplan_edit.php

* Update app_languages.php
2023-07-06 14:51:02 -06:00
markjcrane 49a45f08be Preset auth_string value to make sure it is set 2023-07-05 14:22:44 -06:00
fusionate 07ff69b53d
Device - Edit: Hide Provision button when using Linphone template. 2023-07-03 20:14:22 +00:00
fusionate c3f4d8a1c2
Device - Edit: Include provisioning htt_auth creds (if enabled) in Linphone QR code. 2023-07-03 19:52:56 +00:00
FusionPBX 408247599b
Remove display none use zindex 2023-07-03 12:55:07 -06:00
fusionate 3ea9e7d012
Device - Edit: Updates for PHP 8.1 2023-07-03 18:02:17 +00:00
markjcrane 63bb9b6e81 Add QR code for linphone. Use a PHP QR library. Format the device address 2023-07-03 08:26:19 -06:00
FusionPBX bcf81d3306
Change new_mac_address to new_address 2023-06-30 20:08:30 -06:00
fusionate b509050827
Device - Edit: Make address field wider, and limit character length. 2023-06-30 21:48:39 +00:00
markjcrane f8b657f674 Fix the device.file.download file name 2023-06-30 09:59:57 -06:00
markjcrane 53779d50d3 Change device_mac_address to device_address 2023-06-29 23:40:11 -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
Anthony c01df877e4
Fixed Warnings (#6742)
* Update device_edit.php

* Update dialplan_inbound_add.php

* Update device_vendor_function_edit.php
2023-06-02 17:08:11 -06:00
fusionate 7ad7701640
Device - Edit: Adjustment for PHP 8.1 2023-05-25 17:42:37 +00:00
fusionate c65d50160e
Device - Edit: Updates for PHP 8.1 2023-05-24 20:52:50 +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
Finn 13c25f77c3
Hide field for key subtype when $show_key_subtype is false (#6608)
Co-authored-by: Finn <finn@acceleratenetworks.com>
2023-04-10 09:29:02 -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
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
Alex 2acda5ea06
Add dashboard, device, extension, and gateway enabled toggle (#6548)
* Update system_counts.php

* Update call_forward.php

* Add dashboard widget enabled toggle

* Add device enabled toggle

* Add extension enabled toggle

* Add gateway enabled toggle

* Update extension_edit.php

* Update extension_edit.php

* Update device_edit.php

* Update gateway_edit.php
2023-02-10 11:14:43 -07:00
FusionPBX 60aa8f6ab2
Remove the domain from the user_id 2023-01-08 11:46:57 -07:00
Harry Foster 13bcd5d244
Updated device key save to be a submit function for the form. (#6524)
The reason for this is the default behaviour for 'return' or 'enter' is to delete the device entirely. This makes using a barcode scanner impossible, or user error resulting in a lot of lost time.
2023-01-04 09:19:48 -07:00
markjcrane d50bcb476a Replace root.php 2022-10-10 16:35:14 -06:00
FusionPBX b16265458e
Chang device key line number from 12 to 99 2022-10-03 10:40:23 -06:00
FusionPBX 3eb258c7ea
Add an alternative method to get the device vendor. 2022-07-19 09:52:34 -06:00