Commit Graph

232 Commits

Author SHA1 Message Date
FusionPBX 635ba86e44 Update device_edit.php
Set the device user label to singular.
2016-05-26 22:00:33 -06:00
FusionPBX 9ed3f42c81 Update device_edit.php
Remove the device user add button.
2016-05-26 21:54:20 -06:00
markjcrane 0cc9a01a5a Add ability to assign a single user to a device. 2016-05-20 10:39:16 -06:00
Harry G. Coin 8abe003a71 The goal is to increase confidence in fusionpbx, one step is to run by default with error_reporting (E_ALL ^ E_NOTICE);
So, please find in this set numerous small changes which eliminate numerous php warning messages.

Also, a small bug fix in an sql statistics routine, naming a count(*) field as count, so displaying correct detail.

If any of the proposed changes are omitted, the relevant page will experience php warnings.

There are no doubt fusionpbx pages I've yet to visit that still generate warnings, this set is nearly certainly not comprehensive.
2016-04-25 20:19:58 -05:00
reliberate d5c60df4fc Added: Bootstrap Framework - initial integration.
Added: Bootstrap Plugins - DateTimePicker, ColorPicker (in multiple apps)
Added: Default Theme - responsive
Removed: RightJS Framework - no longer needed.
Removed: Accessible Theme - superseded by Default theme.
Removed: Minimized Theme - superseded by Default theme.
Enhanced: Menu - responsiveness added.
Enhanced: Dashboard - responsiveness added.
Etc.
2016-03-25 16:29:20 -06:00
mafoo d49d47bcf6 Enhance device_edit
tweaked fade in/out for files elements to make them fade in sync and out
in sync
fixed fadeIn for files button as attaching to the fadeout on select
seems to be broken
2016-03-14 16:14:27 +00:00
markjcrane 961e527abb Change device_provision_enable to device_enabled to make it consistent with the rest of the fields that are used for to enable and disable something. 2016-03-11 11:46:02 -07:00
reliberate 9b9d8b4e3b Devices, Extensions, Gateways, Users: Bypass browser password manager prompt when saving. 2016-02-25 18:19:51 -07:00
markjcrane 8cbdc86391 Device add Mitel line functions that match the Mitel web interface. 2016-02-19 11:11:56 -07:00
markjcrane b9ec795704 Change Mitel Line 1-8 to Line only. 2016-01-22 11:02:25 -07:00
markjcrane 9d5c1314bf Move the php tag. 2016-01-21 23:33:03 -07:00
markjcrane df1dc6b2bc Start the Mitel functions list. 2016-01-21 23:29:13 -07:00
mafoo 7a974910be values were being assigned rather than compared 2016-01-20 13:44:36 +00:00
markjcrane eb5842b74a Fix a problem with the provision url path which was caused by a pull request in the last 12 hours. 2016-01-16 09:44:15 -07:00
Matthew Vale 93256a60ab changed protocol to match request 2016-01-15 13:43:10 +00:00
markjcrane af92cdc744 Use the format_mac method in the provision class. 2016-01-09 11:22:10 -07:00
markjcrane 9f49e6537a Continued work on formatting the mac address for upper or lower case. 2016-01-09 11:10:37 -07:00
markjcrane 10f74f391e Device File download format the mac address file name according to the requirements of the vendor. 2016-01-09 09:52:27 -07:00
markjcrane a62cafb402 Update the provision file download to work with domain filter set to false. 2015-12-03 10:29:33 -07:00
markjcrane 299f2500e4 Add ability to download the provisioning files from the device edit page for those users that have the device_files permission. 2015-11-25 00:10:49 -07:00
markjcrane c13ed1323f Add additional Polycom key types. 2015-11-12 16:40:02 -07:00
markjcrane 4463016efe Secure the device mac address when the user doesn't have permission to change it. 2015-11-05 12:25:30 -07:00
markjcrane 5346599c00 Show device copy when user has device_add permission. 2015-11-05 12:11:53 -07:00
markjcrane db79cfbc30 Move the description inside the permission condition and adjust 2 of the permissions. 2015-11-05 12:05:49 -07:00
markjcrane 242ad7bc16 Add new device permissions for mac address, template, label, vendor, model, firmware, and description. 2015-11-05 11:56:50 -07:00
markjcrane 2ffd50dc81 Fix the syntax by adding a missing ). 2015-11-05 11:24:28 -07:00
markjcrane 722e442703 Add new device permissions device_username_password, device_alternate, device_enable. 2015-11-05 11:19:22 -07:00
markjcrane 98bec06c59 Change switch.provision.dir to provision.path.text. This indicates where to save the provisioning files on the file system. 2015-11-04 19:59:27 -07:00
koldoa 2d5bce9481 Changed readdir to scandir so we can get sorted template names 2015-10-16 15:04:31 +02:00
markjcrane 17f0c8db5f Add comment out the hidden field for now. 2015-09-22 18:36:09 -06:00
markjcrane b9b08218ef Comment out unset autocomplete for the moment. 2015-09-22 18:35:20 -06:00
markjcrane e24e62e6f1 Fix the removal of the autocomplete field. 2015-09-19 18:13:15 -06:00
markjcrane 315f38d671 Another situation where autocomplete=off prevented a bug. Provisioning a devcie by adding sip registration information for device provisioning in this case autocomplete always fills in incorrect information. 2015-09-19 17:59:07 -06:00
markjcrane 6686876fb0 Set HTML autocomplete="off" for the device line username and password. 2015-09-01 01:47:44 -06:00
Alexey Melnichuk ae341a6aba Change. Use bind_bind_digit instead of bind_meta_app.
Change. Allow transfer and turn on recordings only for authorized users.
Fix. Use record_ext in recording in ring_group.

This allow configure other dtmf sequence like `*#` and `##`
2015-08-18 15:38:41 +04:00
koldoa 890cff5314 New key type for aastra devices 2015-08-17 16:39:54 +02:00
markjcrane fbcd47394b Add device key type column add the vendor name. 2015-07-08 01:41:24 -03:00
markjcrane 2b150eca0d Add device key vendor to assign a key to a vendor. 2015-07-07 14:25:00 -03:00
Nate Jones 643f605310 Device: Swap Alternate and Vendor field locations. 2015-06-02 22:25:43 +00:00
Mark Crane f4a360eb23 Set the domain_uuid as hidden for devices when device_domain is not assigned. 2015-05-31 04:43:02 +00:00
Mark Crane 5ef6b22dc6 Add a link to unset the alternate device. 2015-05-24 05:00:40 +00:00
Mark Crane 3d87d3d4ff Sync the latests bug fixes. 2015-05-23 22:02:28 +00:00
Mark Crane 2a8481888f More work on device alternate. 2015-05-22 04:34:31 +00:00
Mark Crane 2ee03aa15b A few more adjustments for the new password permissions. 2015-05-20 22:32:55 +00:00
Mark Crane f281d4fa40 Add extension_password and device_line_password permissions. Goal is to make it possible to hide the password from the admin as desired by the superadmin. 2015-05-20 22:24:19 +00:00
Mark Crane 14a18c6f66 Set the defaults in device edit. 2015-05-20 05:14:14 +00:00
Nate Jones 061ab74330 Devices: Add Enabled field to Lines. 2015-05-19 16:09:04 +00:00
Nate Jones 198967cf08 Call Center Agent: Prevent duplicate Agent IDs (within the same domain).
Devices: Remove unnecessary javascript.
2015-05-04 21:01:55 +00:00
Nate Jones 9f5c2422d3 Devices: Language updates supporting previous commit. Removed required check on MAC Address field. 2015-05-04 20:09:29 +00:00
Nate Jones 0acd0922ff Devices: Prevent duplicate username within domain (if device assigned to a domain) or globally (if domain set to Global).
Functions: Added is_mac() and format_mac() functions.
2015-05-04 20:07:51 +00:00
Mark Crane 8d5cc4bb0d Get the device username and password to show on the same line and hide the password when the field is not selected. 2015-04-30 04:36:57 +00:00
luis daniel lucio quiroz 830238631c device_vendor & device_mac_address are a must 2015-04-23 16:39:49 +00:00
Mark Crane 1bc39c31c4 Add device username and password. 2015-04-12 00:35:11 +00:00
Mark Crane e24d73f588 Remove the CSS class that makes the MAC address appear to be required. 2015-04-06 19:52:16 +00:00
Mark Crane 7971ff0096 Remove the requirement for the MAC address as it breaks the template feature and another new feature. 2015-04-06 19:48:21 +00:00
Mark Crane 697ef49c60 Some devices need port 0 for DNS SRV so modifying the port number to allow 0. 2015-04-03 19:34:05 +00:00
Mark Crane 72c5ecbbb1 Provisioning Devices add DNS SRV record to the SIP transport select list. 2015-03-26 15:48:57 +00:00
Nate Jones 6f4209e2f6 Misc: Implement maximum limits on multiple apps. 2015-03-22 08:17:04 +00:00
Mark Crane 96fcd2d098 Move strtolower function to reduce one line of code. 2015-03-21 03:25:35 +00:00
Mark Crane c1b1e7b6c0 Fix the device key delete. 2015-03-08 03:26:25 +00:00
Nate Jones 331c4ccbfe Visual adjustments. 2015-02-15 09:39:23 +00:00
Nate Jones 4587b2ab59 Devices: Added GUI for new Key Profiles feature.
Destinations: Fixed missing label.
2015-02-15 00:33:56 +00:00
Mark Crane c757e68cd1 Use the new text class for multi-lingual support. 2015-01-18 07:42:57 +00:00
Mark Crane a2f2784db8 Add > 0 2015-01-10 01:03:20 +00:00
Mark Crane c44697d6fa Only write the provisioning files if switch provision dir path is set. 2015-01-10 01:02:39 +00:00
luis daniel lucio quiroz 6924e0a834 HTML5 input patter for mac address 2014-12-23 01:06:20 +00:00
luis daniel lucio quiroz 28469498c6 HTML5 input tags for device_edit 2014-12-21 05:11:44 +00:00
Mark Crane 388c74b8cf Fix the aastra labels. 2014-12-12 07:32:58 +00:00
Mark Crane 2944f823a5 Add Aastra feature codes for device provisioning. 2014-12-12 07:29:33 +00:00
Mark Crane 2fd8675d76 Add the missing echo to device labels. 2014-11-15 22:23:33 +00:00
Mark Crane e110d9eaf0 Add snom device category. 2014-11-15 22:19:11 +00:00
Mark Crane 07665cf0d6 Fix a problem with Devices for viewing the key assignments for MySQL 2014-09-04 04:06:19 +00:00
Nate Jones eef73fd005 Input Type Switch Button: Changed from left triangle (⨞) to left triangle (◁), as wasn't displaying properly in FF on Mac. 2014-08-03 07:02:12 +00:00
Nate Jones 16105f7d3a Input Type Switch Button: No interprets HTML entities code for left triangle (⨞) after switching element type once (wasn't being parsed as an HTML entity, but displayed literally). 2014-08-03 06:12:10 +00:00
Nate Jones abcc96f0ad Input Type Switch Button: Changed from < to left triangle (&#10782;) 2014-08-03 05:31:42 +00:00
Nate Jones 83a9b8e969 Device: Updated other themes to work with duplicate checker. 2014-08-02 13:43:11 +00:00
Nate Jones 7bcff2d9d5 Device Edit: Added comment on the duplicate check js. 2014-08-02 12:45:24 +00:00
Nate Jones 2c2d7de7df Device Edit: Adjust duplicate mac check. 2014-08-02 12:00:30 +00:00
Nate Jones 0a27cb9cb1 Enhanced Theme: Message alert style adjustments.
Devices Edit: Check, alert and prevent duplicate MAC address (only on submit).
2014-08-02 06:45:10 +00:00
Nate Jones 2af8627be6 Enhanced Theme: New message alert display style and method.
Devices Edit: Check, alert and prevent duplicate MAC address.
2014-08-02 02:16:46 +00:00
Mark Crane d635dcd82f Add normal and automata options for the Polycom provisioning templates 2014-07-20 06:11:37 +00:00
Mark Crane 3fe3661b0d Add Cisco SPA expansion 1 and expansion 2 to devices 2014-07-20 00:49:27 +00:00
Mark Crane 881dc9acb5 Add a Domain select list with a Global option to Accounts -> Devices 2014-05-08 09:22:35 +00:00
Nate Jones a70f8b7bbb Select box blank option adjustments, added Port, Transport, Register Expires to Device Edit page with other fields, minor language file adjustment. 2014-04-27 09:53:45 +00:00
Nate Jones bac3749ddd Submit button also placed at top; reordered to right margin, too. 2014-04-26 22:50:52 +00:00
Mark Crane 5619145fb0 Prevent device duplicates when making a copy of a device. Allow duplicate empty mac address or 000000000000 to be used for templates. 2014-03-30 07:46:50 +00:00
Nate Jones 416f884da8 Streamline password viewing. 2014-03-12 19:57:18 +00:00
Mark Crane 717d9006ee Device Key remove select option starts with 1. 2014-02-25 08:34:12 +00:00
Mark Crane 9f56a7e84d Deprecate device_time_zone the better way to do this is set the time zone information in the default, domains or device settings. 2014-02-25 07:46:25 +00:00
Mark Crane bb584d403c Add device copy to make it faster to add devices for endpoint provisioning. 2014-02-23 09:33:27 +00:00
Mark Crane 3ef72c961b Remove the dashes on the MAC address. 2014-02-23 07:15:03 +00:00
Mark Crane dd688d52a6 Add get_template_dir to the PHP class. 2014-02-22 23:20:55 +00:00
Mark Crane 38077c041c Prevent duplicates when adding a device. 2014-02-14 23:25:46 +00:00
Mark Crane 066b184eb8 Device Keys - remove empty rows. 2014-02-08 03:47:42 +00:00
Mark Crane a1cee14ba6 Set the keys to numerical order. Add more keys to the key select list. 2014-02-07 12:26:20 +00:00
Mark Crane 4df16687fa Fix the Type for Cisco SPA series phones. 2014-02-03 21:43:38 +00:00
Mark Crane bfb3af254f Add the labels to the device edit. 2014-01-31 11:13:37 +00:00
Mark Crane 2279549a6c Uncomment the provision_write include 2014-01-29 21:34:01 +00:00
Mark Crane 4207aaf242 Get rid of the names in the Grandstream select type (mode) because the modes to actions are not consistent. 2014-01-28 11:35:57 +00:00
Mark Crane d53dcfadc6 Show only the correct vendor on the device edit page. 2014-01-28 11:03:05 +00:00
Mark Crane 304b77eae0 Fix the grandstream select values in the device edit page. 2014-01-28 10:44:56 +00:00
Mark Crane eba53d1272 Add grandstream options to device edit. 2014-01-28 07:56:03 +00:00
Mark Crane 3704a49c24 Make the device edit page one form. Adding a new record or editing anything and then press save will save everything. 2014-01-20 18:00:45 +00:00
Mark Crane f9d7fcc3fc Device Edit, Use the new ORM for the database access, adjus the column width of some of the form elements, structure the POST into a two dimensional array, remove the submit from the array. Move the database requests before the content rather than inside the content. 2014-01-20 09:34:04 +00:00
Mark Crane fbfff19d13 Add a 'save' button to the top of the device edit page. 2014-01-12 06:38:28 +00:00
Mark Crane 1f600dc1a0 When editing a device return to the edit page rather than the list. 2014-01-08 20:07:02 +00:00
Mark Crane 1218390641 Add 0 option to the select list for line number on the device edit page. 2014-01-05 10:42:11 +00:00
Mark Crane 5ba3fbec40 Add 0 option to the select list for line number on the device edit page. 2014-01-05 10:39:40 +00:00
Mark Crane 13025158fd Add device key extension for yealink. Add a device class. 2014-01-03 23:11:42 +00:00
Mark Crane b03829911c Add device_key_line 2014-01-03 08:05:46 +00:00
Mark Crane e52a282664 Add a select list for all yealink types. 2014-01-02 01:14:43 +00:00
Mark Crane ea40d53148 Fix the insert for the new field. 2013-12-29 06:55:39 +00:00
Mark Crane eed350b38a Add the missing column to device edit. 2013-12-29 06:49:28 +00:00
Mark Crane ef1fc93499 Add Device Key Category. 2013-12-29 06:47:25 +00:00
Mark Crane 57e199a76e Require the device_setting_add permission to see the settings on the devices page. Require the device_key_add or device_key_edit permission to see the the key information on the devices page. 2013-12-27 20:52:38 +00:00
Mark Crane b203a01afc Accounts -> Devices, adjust the width of the lines, keys, and settings. 2013-12-21 16:41:44 +00:00
Mark Crane 2e5f2b6b0b Add a new table v_device_keys which is used to assign the buttons to lines, blf, park and more. Also add sip port, sip transport and register expires to device lines. 2013-12-17 16:19:54 +00:00
Mark Crane a6ddfb678c Move device settings into device edit simplify the interface and make it faster to setup provisioning. 2013-12-10 15:05:16 +00:00
Mark Crane 72181c2a8c Remove provision device_extensions table in favor of the device_lines table. Set the mac address, line, and template from extensio edit php file. 2013-11-26 10:14:38 +00:00
Mark Crane e9aa47069c Update the references for header.php and footer.php files to point the resources directory. 2013-07-06 06:29:50 +00:00
Mark Crane 716dc92852 Rename and move persistformvar.php to the resources directory. 2013-07-06 06:21:12 +00:00
Mark Crane c44d39dcf9 Change the path for includes/require.php to the resources directory. 2013-07-06 06:03:27 +00:00
Mark Crane 6a70d8db41 Change includes/checkauth.php to resources/check_auth.php. 2013-07-06 05:50:55 +00:00
Mark Crane 0d8cf9895f Change the paging results from 10 to 150 on devices. Remove the duplicate template select on devices. 2013-06-10 16:39:09 +00:00
Mark Crane b9da559e33 Allow lines to be added when a device is created. 2013-06-09 21:06:12 +00:00
Mark Crane 6f1afcab78 Update devices to provide customizable line information. 2013-06-09 20:46:14 +00:00
Mark Crane fc33d20f61 Move the references to includes/templates to resources/templates. 2013-06-09 05:05:17 +00:00
Mark Crane 972d9f47e2 Add the translation framework to devices and add ability to show which extensions are assigned to a device. 2013-05-23 08:18:12 +00:00
Mark Crane 0358d9d668 Add option to for domain based provisioning template directory.
Example: provision/domain_name
2013-04-29 14:45:25 +00:00
Mark Crane e3f8ac6b91 Correct the permission for device delete. 2013-04-09 23:26:20 +00:00
Mark Crane cabebe0132 Rename the hardware phones to devices. 2013-03-20 16:53:37 +00:00
Mark Crane 32e40fc2dd hardware_phone_edit.php renamed to device_edit.php 2013-03-20 16:21:24 +00:00