Commit Graph

405 Commits

Author SHA1 Message Date
FusionPBX e9580d079a Update device_profile_edit.php
Build the device profiles vendor functions from the database.
2016-08-02 12:44:46 -06:00
markjcrane 4ca991fafe Remove label and use the name instead. 2016-07-31 19:12:41 -06:00
markjcrane acaf5cfcc6 Fix the label for the device vendor function import and add the translation to resources/app_languages.php. 2016-07-31 18:51:57 -06:00
markjcrane 12fae9fad4 Add a back button to device vendors. 2016-07-31 18:29:57 -06:00
markjcrane 9876cd4d0f Add button-vendors translation. 2016-07-31 18:14:24 -06:00
markjcrane 111f04abb6 Add some translations for button-files. 2016-07-31 18:04:20 -06:00
markjcrane fc99769629 Move device vendor files into app/devices. 2016-07-31 17:48:50 -06:00
markjcrane eb2541d92b Add app/device_vendors. 2016-07-31 16:22:10 -06:00
FusionPBX 506483fcfa Update device_dashboard.php
If the device_uuid does not have a value then get it.
2016-07-30 10:25:34 -06:00
FusionPBX 2b595bf2bc Update device_profile_copy.php
Fix the device profile copy.
2016-07-29 11:13:29 -06:00
FusionPBX 806113292d Update device_profile_edit.php
Add the ID of the device profile that should be copied.
2016-07-29 11:01:41 -06:00
FusionPBX af655aad30 Update device_profile_edit.php 2016-07-28 16:03:19 -06:00
FusionPBX 8010410ef7 Update device_profile_edit.php 2016-07-28 15:54:53 -06:00
FusionPBX e8a39633ef Update device_profile_edit.php
Add permission_exists to check for device_key_extension permission in device profiles.
2016-07-28 15:53:33 -06:00
FusionPBX c94ffd93d4 Update device_profiles.php 2016-07-28 15:36:24 -06:00
FusionPBX 02824a7849 Update device_profiles.php 2016-07-28 15:34:55 -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
FusionPBX 246794e70d Update app_config.php
Add new device permissions.
2016-07-26 20:57:46 -06:00
FusionPBX 2ede95241e Update app_languages.php 2016-07-26 20:54:46 -06:00
FusionPBX 32ef5c7203 Update devices.php
Correct the layout of the device description.
2016-07-26 09:37:54 -06:00
Mafoo 1cb70e8e9d BugFix-Add new Polycom MAC (#1770)
Polycom were assigned a new MAC prefix - 64:16:7f
2016-07-22 07:29:57 -06:00
FusionPBX 61e6d5eae4 Update device_dashboard.php
Handle saving device keys from a profile that has been changed.
2016-07-16 12:15:22 -06:00
FusionPBX 16dd385bf9 Update device_dashboard.php
Add profile keys to the dashboard in a way they can be overridden by the device keys.
2016-07-16 03:34:51 -06:00
FusionPBX a67ba8fff3 Update cmd.php
Add Applied response message and fix the referrer.
2016-06-24 10:13:25 -06:00
FusionPBX b49f045a2b Update device_dashboard.php
Fix the apply button for Device Keys for the Device Dashboard.
2016-06-24 09:47:13 -06:00
markjcrane 04717e8bda Add $sql .= "WHERE device_uuid = '".$device_uuid."' "; to the device lines in device_dashboard.php. 2016-06-21 18:32:30 -06:00
markjcrane 3afda7a32a Update device_user_uuid. 2016-06-21 18:09:37 -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 8d8b679ce8 Add. Use static function to find vendor by User-Agent string. (#1681)
Add. Escene and AddPac vendors.
2016-06-20 11:45:20 -06:00
Alexey Melnichuk c851f4a463 Fix. Select key on devices for Grandstream (#1684) 2016-06-20 11:42:24 -06:00
FusionPBX e058dd8c74 Update device_dashboard.php
Hide the 'apply' button on the devices keys dashboard until its ready.
2016-06-19 10:00:01 -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 704cf23194 Fix. Display key type in `Profile` app. (#1658) 2016-06-17 12:43:51 -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
FusionPBX 2cbc5f34f3 Update device_dashboard.php
Fix device key dashboard edit only.
2016-06-10 12:23:01 -06:00
markjcrane 17e921c140 Change the permission name from device_username to device_user. 2016-06-10 11:02:17 -06:00
reliberate be76d25ff4 Dashboard: Tweak Device dashboard component styles. 2016-06-02 18:41:39 -06:00
FusionPBX 9ef93aede1 Update app_config.php
Add the device_key_id permission.
2016-05-31 10:03:46 -06:00
FusionPBX 201ba2fb17 Update device_dashboard.php
To edit the key in the dashboard device_key_id permission is required.
2016-05-31 10:01:32 -06:00
FusionPBX ffb0131bb6 Update device_dashboard.php
Fix permissions and add the option to add and configure a device key.
2016-05-30 16:40:23 -06:00
FusionPBX fe004f37b9 Create device_dashboard.php
Add a new item for the dashboard device keys.
2016-05-28 19:52:28 -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 fecd635688 Update app_languages.php
Fix the label and description for the singular 'user'.
2016-05-26 22:04:45 -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
FusionPBX 6012dfd1a1 Update app_languages.php
Fix the translation on the description of the device user.
2016-05-26 21:49:44 -06:00
reliberate bf5f1223af Gateways: Fix paging and order by.
Devices/Users/Extensions: Visual adjustments.
2016-05-21 13:04:31 -06:00
markjcrane 0cc9a01a5a Add ability to assign a single user to a device. 2016-05-20 10:39:16 -06:00
Alexey Melnichuk f1c31e0935 Escene provision (#1140)
* Add. Provision to Escene ES330/ES320

* Add. Look up Escene device by ext+domain.

* Update Escene template.

* Add. `provision` section in config.

Found than ES330 some time hangup when it try get software/core and get error from fusion.
2016-05-06 01:49:43 -06:00
markjcrane c3b12c217d Cleanup the indentation ... tabs and whitespace after the last pull request. 2016-04-28 16:56:44 -06:00
Harry G. Coin f02028629a fixes so cli installs/upgrades work.
Also another step along the way allowing freeswitch to run -u -g freeswitch and fusionpbx to run -u -g www-data
2016-04-25 21:26:26 -05:00
Harry G. Coin bda6861f88 \r\n --> \n
Cause all the .php files containing lines ending with \r\n to instead end with \n.

DYI with:

find fusionpbx -type f -name '*.php' -exec dos2unix '{}' \;
2016-04-25 20:30:23 -05: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 5974b686e9 Apps: Integrate ability to set paging via a Default/Domain/User Setting (domain > paging > numeric). 2016-03-28 23:02:11 -06: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
reliberate 4bd2639fcf Dashboard: Enhance with priority numbers and additional System Count items.
Devices: Fix missing translation.
Voicemails: Fix missing translation.
2016-03-20 03:22:29 -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 af18c963c0 Rename .project.ROOT to project_root.php this conforms better with current file naming standards. 2016-02-22 14:01:18 -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
markjcrane 42ba38b98c Merge branch 'master' of https://github.com/fusionpbx/fusionpbx 2016-01-20 11:58:33 -07:00
markjcrane e97a3a242b Add device profile copy button. 2016-01-20 11:58:10 -07:00
FusionPBX 5815f95d4f Merge pull request #1397 from mafoo/Enhance-root.php
Enhance root.php
2016-01-20 11:06:18 -07:00
mafoo 7a974910be values were being assigned rather than compared 2016-01-20 13:44:36 +00:00
Mafoo 56b34c34ca changed throw Exception to die
nothing ever eval runs the root.php so changed to die to cause a immediate report of error and stop code processing.
2016-01-20 11:30:31 +00:00
Mafoo 87dbd6b428 Added check for if .project.ROOT is missing
If a installation is missing the .project.ROOT previously it would just use the last search path as the project root (wrong) this will cause a Exception should it be unable to find it
2016-01-18 09:38:16 +00:00
FusionPBX d298dad5cc Merge pull request #1331 from mafoo/BugFix-root.php_logic
Rollout new root.php
2016-01-16 10:09:44 -07: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
Matthew Vale 6999198492 added logic in cli mode to chdir to the correct directory first
the webserver would normally do this for us, but we need to do it
2016-01-14 16:25:05 +00:00
Matthew Vale a41e89af76 Added full logic to support cli as well 2016-01-13 17:38:54 +00:00
Matthew Vale 0176d30312 change to use '/' instead of DIRECTOR_SEPERATOR 2016-01-12 14:47:50 +00:00
Matthew Vale e6ad46cfbf Rollout of root.php 2016-01-12 13:55:39 +00:00
markjcrane 7bb49cce58 Change the vendor ID hex number to lower case and re-use prov object that already exists. 2016-01-09 11:50:49 -07:00
markjcrane 62c83ff03f Method get_vendor add vendor mitel and put them in alphabetical order. 2016-01-09 11:37:40 -07: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
Matthew Vale f5bfeffe18 First pass on app/* 2015-12-10 10:12:41 +00:00
blackc2004 492ea21445 Update devices.php 2015-12-09 14:01:35 -08: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 7581e81522 Add the additional key types to the device key profile. 2015-11-12 19:27:29 -07:00
markjcrane ffe25a3d2e Polycom key type capitalize the first letter of Automata and Normal. 2015-11-12 19:11:31 -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
koldoa 15f3cd5514 Translation typo 2015-09-07 08:33:34 +02:00
markjcrane 3731eb9190 Move the includes in devices. 2015-09-04 22:23:01 -06:00
markjcrane 675c85b85e Add device count. 2015-09-04 22:19:11 -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 e70493e8f9 New key type for aastra devices 2015-08-17 16:39:54 +02:00
koldoa 890cff5314 New key type for aastra devices 2015-08-17 16:39:54 +02:00
root 22c146f7f4 Add latest translations 2015-08-02 23:42:11 +00:00
markjcrane 6548179a50 Organize the device profiles according to the key vendor. 2015-07-25 07:57:07 -06:00
markjcrane fbcd47394b Add device key type column add the vendor name. 2015-07-08 01:41:24 -03:00
markjcrane b2cdce4940 Change the table name from device lines to keys. 2015-07-07 14:44:14 -03:00
markjcrane 2b150eca0d Add device key vendor to assign a key to a vendor. 2015-07-07 14:25:00 -03:00
Mark Crane 3750f6bb05 Add latest translations 2015-06-22 22:30:03 +00:00
Mark Crane 96c10412f7 Add latest translations 2015-06-15 19:30:00 +00:00
Mark Crane 63f1b8f8b2 Sync the recent translations 2015-06-13 05:35:54 +00:00
Mark Crane 4699d4c8e8 Synchronize the translations. 2015-06-06 02:37:26 +00: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 497f9cdf9f Fix the show all devices so it doesn't display duplicates. 2015-05-28 00:55:10 +00:00
Mark Crane c51c9b0284 Devices, Update Alternate show the device label. 2015-05-24 07:14:11 +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 12e2020362 Add <td> and </td> surrounding the new Alternate link. 2015-05-22 04:14:04 +00:00
Mark Crane f745437349 Add Device Alternate link. 2015-05-22 04:10:43 +00:00
Mark Crane 197d86472d Changes result array to devices. 2015-05-22 03:08:02 +00:00
Mark Crane ee8651c3b2 In the Devices list move Enabled after the Template column. 2015-05-22 03:04:42 +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
Mark Crane c7662544cf Add label-device to devices/app_languages.php. 2015-04-30 04:25:36 +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 bc235e3723 Add device_username, device_password and device_uuid_alternate. 2015-04-12 00:12:48 +00:00
Mark Crane 3b8b7ad0ca Update the translations from the translation server. Includes the following new languages Brazilian Portuguese, Polish, and Swedish Sweden. Thanks to those that put in the effort to add these languages additional translator volunteers are welcome. 2015-04-08 13:38:58 +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
Nate Jones 5b37c7b040 CDR & Devices: Hide Show All buttons after showing all. 2015-03-31 03:16:20 +00:00