Commit Graph

232 Commits

Author SHA1 Message Date
emaktech 9b32c42d71 Allow Editing 48 Lines on device_edit Page (#3478)
Similar to #3472 needed to allow up to 48 extension to be selectable and editable on the device_edit page.

Additionally, fixed sorting issue so line numbers are correctly sorted sequentially (line number is stored as text field so needed to change cast in SQL query).
2018-09-14 13:10:17 -06:00
FusionPBX 46933c086c Update device_edit.php 2018-09-12 13:57:33 -06:00
markjcrane a72f1d6266 Change messages class to message 2018-08-31 03:09:01 +00:00
FusionPBX eb827ff7d6 Update device_edit.php 2018-08-18 21:40:06 -06:00
FusionPBX b928053b71 Update device_edit.php 2018-08-02 02:28:01 -06:00
FusionPBX bae853b8e3 Update device_edit.php 2018-08-02 01:57:28 -06:00
FusionPBX 5900129ddd Update device_edit.php 2018-07-02 21:41:48 -06:00
AlexanderDCrane 9403347bed Update device_edit.php (#3123) 2018-06-13 01:11:41 -06:00
AlexanderDCrane 9a8f3dfcc2 Escape user data on device_edit.php (#3087)
* Update user_edit.php

* Escape user data on device_edit.php
2018-06-08 14:01:07 -06:00
FusionPBX fa91ab7f63 Update device_edit.php 2018-03-23 19:20:32 -06:00
FusionPBX e08055ecc3 Update device_edit.php 2018-03-22 00:45:43 -06:00
Mafoo 73d0085dcc Enhance [master] - update Aastra provision templates (#2997)
* Enhance update Aastra provision templates

add default settings for time format, date format and timezone
hide include folders (they are not provision templates)
update links to documents
add note to 6xxx templates

* Aastra - the descriptions for the time settings are useful.
2018-02-25 01:58:17 -07:00
FusionPBX b7f95f8964 Update device_edit.php 2018-02-10 12:03:33 -07:00
FusionPBX 3957999f30 Update device_edit.php 2018-02-03 19:01:48 -07:00
FusionPBX 9d48f77c7d Update device_edit.php 2018-01-22 22:41:55 -07:00
FusionPBX f506aef518 Update device_edit.php 2017-12-13 22:57:41 -07:00
FusionPBX cfaf0ef356 Update device_edit.php 2017-12-08 14:32:03 -07:00
FusionPBX ca9022b2a4 Update device_edit.php 2017-10-14 16:35:16 -06:00
konradSC 0392d436ad Update device_edit.php (#2854)
Search all profiles when looking up the sofia contact.
2017-09-23 00:12:47 -06:00
FusionPBX b838623b93 Update device_edit.php 2017-09-20 21:09:52 -06:00
FusionPBX 402027a70b Update device_edit.php 2017-09-01 09:36:06 -06:00
Mafoo 8740021d31 Enhance - provision aastra 9133i (#2787)
provision aastra 9133i based phones (480i 480i CT, 9112i, 9133i)
leverage smarty include to common parts
have device_edit ignore 'include' folders
.htaccess's RewriteRule operates relative to it's dir so anchoring to ^provision is correct even for where fusion is on a sub folder
2017-09-01 09:35:22 -06:00
Dean Montgomery 66b849d946 Update Grandstream provisioning (#2652)
* Update Grandstream provisioning

* Add Vtech

* Create app_config.php

fix typo

* Update app_config.php

remove newline at end as it can break php

* Update app_config.php

remove newline at end as it can break php

* Create app_config.php

remove newline at end.

* Update app_config.php

remove trailing newline

* Create device_edit.php

Add both http and https

* Create app_config.php

remove newline

* Add gxp16xx and fix typos
2017-06-08 16:21:47 -06:00
Mafoo f0feb25016 Enhance - Convert more messages (#2646)
convert more messages to messages class
skipped dashboard messages due to them relying on $_SESSION['message']
to know if there has already been a change
2017-06-08 09:39:04 -06:00
FusionPBX a867f08ad8 Update device_edit.php
Make the vendor name case insensitive.
2017-02-24 00:19:28 -07:00
FusionPBX 8775275ff1 Update device_edit.php 2017-02-20 22:12:49 -07:00
FusionPBX d9e7e7d590 Update device_edit.php 2017-02-20 20:22:27 -07:00
FusionPBX 33e51a811c Update device_edit.php 2016-12-06 11:25:08 -07:00
FusionPBX 6395141b07 Update device_edit.php 2016-10-22 23:30:11 -06:00
FusionPBX 6ebd08e040 Update device_edit.php 2016-10-20 09:39:48 -06:00
FusionPBX 2e0a872a08 Update device_edit.php 2016-10-18 09:19:20 -06:00
FusionPBX 40f33939ea Update device_edit.php 2016-10-02 01:13:25 -06:00
FusionPBX 6f9f9d044c Update device_edit.php
Fix a display issue.
2016-09-10 16:27:57 -06:00
minotaur01 71b6bcc3f8 Added functionality to hide profile edit button (#1817)
Added functionality to hide profile edit button and changed code to use jQuery and event hooks
2016-08-15 11:27:35 -06:00
minotaur01 a820fd1719 Added a key profile edit and add button (#1815)
Added a key profile edit and add button for easier navigation, can now hop to profile editing with one click.
2016-08-15 09:32:01 -06:00
minotaur01 5f0dacbeda Key assignment and Aastra provisioning (#1814)
* Update device_profile_edit.php

Changed maximum key number to be able to program phones with multiple expansion boards

* Raised Device Key Maximum Number

Changed maximum key number to be able to program phones with multiple expansion boards
Also replaced while loop with for loop to match device_profile_edit.php

* Added code for all key types

Added code for all programmable key types, Hard Keys, Soft Keys, Top Keys and Expansion keys.
Also added logic to handle key assigrnment for multiple expansion boards

* Enabled time server and disabled auto discovery settings

Enabled time servers and used system variable from default settings to set time server
Disabled Link-Layer Discovery and Universal Plug and Play because why do you need to re-discover the server after the phone is provisioned

* Updated the key number option generation line

* Updated the key number option generation line
2016-08-13 08:55:54 -06:00
FusionPBX 23c2149319 Update device_edit.php
Fix the indentation on device_edit.php.
2016-08-02 19:44:07 -06:00
FusionPBX 8d34e8f5c6 Update device_edit.php
Get the vendor functions for device edit from the database.
2016-08-02 13:35:38 -06:00
FusionPBX 8b6def5a75 Update device_edit.php
Use the new device permissions and condense the horizontal width of the content as well as more control over it.
2016-07-26 21:00:05 -06:00
markjcrane 95dbb99bbe Fix the dashboard device keys 2016-06-21 17:57:06 -06:00
Alexey Melnichuk 99fec4f6e1 Fix. Edit user for device. (#1690) 2016-06-21 08:05:44 -06:00
Alexey Melnichuk c851f4a463 Fix. Select key on devices for Grandstream (#1684) 2016-06-20 11:42:24 -06:00
FusionPBX 0db15c3fab Update device_edit.php
Hide this until its ready.
2016-06-19 09:56:18 -06:00
markjcrane 2ac9047648 Update device_edit.php change user_uuid to device_user_uuid. 2016-06-17 17:45:42 -06:00
markjcrane e5020a842b Rename user_uuid device_user_uuid in the devices table. Add an apply button to the key dashboard and provision button to the device edit. 2016-06-17 17:34:31 -06:00
Alexey Melnichuk 0741488073 Add. Support provision programmable keys for Escene devices. (#1674) 2016-06-17 10:43:27 -06:00
Mafoo a821493e39 BugFix-missing PROJECT_PATH for download files (#1675) 2016-06-17 09:22:54 -06:00
Alexey Melnichuk e03a91a1d9 Fix. Select correct key in listbox in device edit form. (#1659) 2016-06-14 08:28:57 -06:00
markjcrane 17e921c140 Change the permission name from device_username to device_user. 2016-06-10 11:02:17 -06:00
FusionPBX 681776f913 Update device_edit.php
Show the selected user when editing a device.
2016-05-26 22:14:39 -06:00
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