Commit Graph

454 Commits

Author SHA1 Message Date
FusionPBX f17e96ade5 Update device_dashboard.php 2016-12-06 11:24:07 -07:00
FusionPBX da2550ebba Update device_profile_delete.php 2016-12-06 11:22:52 -07:00
FusionPBX e12caa6528 Update device_profile_delete.php 2016-12-06 11:21:13 -07:00
FusionPBX d2835f6a73 Update device_delete.php 2016-12-06 11:19:10 -07:00
konradSC a7b76b7a84 Device profile settings (#2165)
* Update app_config.php

* Update device_profile_edit.php

* Update device_setting_delete.php

* Update provision.php
2016-11-23 12:28:59 -07:00
FusionPBX 10f1c42509 Update device_profile_copy.php 2016-10-23 10:58:51 -06:00
FusionPBX 1c173fc5be Update device_profile_copy.php 2016-10-23 00:12:58 -06:00
FusionPBX aa0aaae623 Update device_copy.php 2016-10-22 23:44:45 -06:00
FusionPBX ad2cb40775 Update device_edit.php 2016-10-22 23:30:11 -06:00
FusionPBX 5b061a5563 Update device_profile_edit.php 2016-10-22 23:19:25 -06:00
FusionPBX 063eb71b5f Update device_edit.php 2016-10-20 09:39:48 -06:00
FusionPBX d84675e9ba Update device_edit.php 2016-10-18 09:19:20 -06:00
FusionPBX 4d4c9f85ea Update device_profile_edit.php 2016-10-10 10:41:57 -06:00
FusionPBX c3dfbe0884 Update device_edit.php 2016-10-02 01:13:25 -06:00
FusionPBX 6b999b247d Update app_config.php
Aastra function change name and label for callforward to call_forward and correct the spelling for redial.
2016-09-10 16:52:28 -06:00
FusionPBX 94649ca5cc Update app_languages.php
Add the grandstream function translations array structure.
2016-09-10 16:51:34 -06:00
FusionPBX e10174d10b Update device_edit.php
Fix a display issue.
2016-09-10 16:27:57 -06:00
FusionPBX 8de311a9d2 Update device_vendor_functions.php 2016-09-10 16:20:50 -06:00
FusionPBX d59213dc62 Update app_config.php
Right now label is based on the name this fixes the label. The label part of the array is not saved in the database yet so it can't be used at this time.
2016-09-10 16:18:33 -06:00
FusionPBX 9c9214f7a9 Update device_vendor_functions.php
Add label to the functions list and order by the name.
2016-09-10 16:13:20 -06:00
FusionPBX 7058188178 Update app_defaults.php
Go back to the original device/app_defaults.php. What I had in mind for this was a restore default button. When the administrator decides they want to update it. They may not want or need additional vendors.
2016-09-06 08:49:16 -06:00
minotaur01 26ac9fb62e Added Aastra Function Keys And Fixed Update Logic (#1896)
Added the rest of the aastra function key options to app_config. And to
my surprise the functions would not save to the database, found the
problem to be the app_defaults logic would only allow adding on a fresh
install. So I fixed it to work with a update also.
2016-09-03 20:18:27 -06:00
FusionPBX 36c91d261d Update app_config.php 2016-08-25 16:58:31 -06:00
FusionPBX 707a31a239 Update app_config.php
No one has these fields yet except for the original developer so deprecated value in the array is not needed.
2016-08-25 16:42:51 -06:00
minotaur01 4bb8559a36 Added functionality to show when a devices was last provisioned (#1831)
* Added functionality to show when a devices was last provisioned

Added functionality to show when a devices was last provisioned

Need addition to database: v_devices table:
device_provisioned_on -> datetime
device_provisioned_by -> char(10)

* Revert "Added functionality to show when a devices was last provisioned"

This reverts commit c3e40d68fa.

* Revert "Revert "Added functionality to show when a devices was last provisioned""

This reverts commit 8c27a46565.

* Changed field names as requested

Changed field names as requested for last provisioned data

* Added database fields for device provisoned functionality

Added provisioned_date, provisioned_method, provisioned_ip

* Added ability to search device provisioned info

* Added ip tracking to device provisoned functionality

Added ip tracking to device provisoned functionality and moved the code
to before rendering to register the contact even on unseccessful render

* Added IP address to status column
2016-08-25 11:10:39 -06:00
FusionPBX 6eb2c2d447 Update app_config.php 2016-08-21 09:52:33 -06:00
FusionPBX 4dc7d2287c Update app_languages.php
Add label-xml_directory
2016-08-21 09:51:22 -06:00
minotaur01 0b35fe84c6 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 c0d0220074 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 c5d4c74631 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 4bcbf09194 Update device_dashboard.php
Protect keys with the device profile from being edited by a user in the device dashboard.
2016-08-08 16:58:32 -06:00
FusionPBX 3364d692ee Update device_profile_edit.php 2016-08-08 16:54:24 -06:00
FusionPBX a4f46f8455 Update device_profile_edit.php 2016-08-08 16:51:27 -06:00
FusionPBX 399ea47e4f Update device_profile_edit.php
Make device key vendor a select list.
2016-08-08 16:48:31 -06:00
FusionPBX 159835307b Update app_languages.php 2016-08-08 15:40:14 -06:00
FusionPBX fd93a79650 Update device_profile_edit.php
Add device key protected to the device profile edit.
2016-08-08 15:37:54 -06:00
FusionPBX 133bbf5cd2 Update app_config.php
Add device_key_protected permission and field in the database.
2016-08-08 15:18:51 -06:00
FusionPBX e3861a8227 Update device_dashboard.php
Update device dashboard use the group permissions.
2016-08-08 14:24:42 -06:00
FusionPBX 9a536d0834 Update device_vendor_functions.php
Show the group permissions on device_vendor_functions.php.
2016-08-06 16:28:48 -06:00
FusionPBX 6f5af8ba55 Update app_defaults.php
Add default device function group permissions.
2016-08-06 16:19:58 -06:00
FusionPBX 38e725aa60 Update app_config.php 2016-08-06 16:17:02 -06:00
FusionPBX 0098218480 Update app_config.php
Add group permissions to device vendor functions.
2016-08-06 15:41:17 -06:00
FusionPBX e24a7ba0eb Update app_config.php
Add device auth_id default permission for admin and superadmin groups.
2016-08-06 14:56:40 -06:00
FusionPBX 31404dbcfb Update device_vendor_function_edit.php
Add ability to assign groups to vendor functions.
2016-08-06 10:16:23 -06:00
markjcrane 28c59d4eec Update recur_sounds_dir to return an array rather than using a global variable. 2016-08-04 09:49:57 -06:00
FusionPBX ed9ffcd5d0 Update app_config.php 2016-08-03 10:22:10 -06:00
FusionPBX 270496b9f3 Update device_edit.php
Fix the indentation on device_edit.php.
2016-08-02 19:44:07 -06:00
FusionPBX ad71477ab3 Update device_dashboard.php
Get the vendor functions from the database for the device_key dashboard.
2016-08-02 19:39:22 -06:00
FusionPBX 865b1b5019 Update device_edit.php
Get the vendor functions for device edit from the database.
2016-08-02 13:35:38 -06:00
FusionPBX d14f9cad25 Update device_profile_edit.php
Build the device profiles vendor functions from the database.
2016-08-02 12:44:46 -06:00
markjcrane a3af244f82 Remove label and use the name instead. 2016-07-31 19:12:41 -06:00
markjcrane dc3c8eac91 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 5b68f45a77 Add a back button to device vendors. 2016-07-31 18:29:57 -06:00
markjcrane 67e02704dc Add button-vendors translation. 2016-07-31 18:14:24 -06:00
markjcrane 6ca33bccbe Add some translations for button-files. 2016-07-31 18:04:20 -06:00
markjcrane 0993da997c Move device vendor files into app/devices. 2016-07-31 17:48:50 -06:00
markjcrane a8374075bf Add app/device_vendors. 2016-07-31 16:22:10 -06:00
FusionPBX 630c88e176 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 f54807f857 Update device_profile_copy.php
Fix the device profile copy.
2016-07-29 11:13:29 -06:00
FusionPBX 59ae093f9d 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 4f9c1d7f67 Update device_profile_edit.php 2016-07-28 16:03:19 -06:00
FusionPBX bcbf350aac Update device_profile_edit.php 2016-07-28 15:54:53 -06:00
FusionPBX c5236a5c31 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 a8ed73c52d Update device_profiles.php 2016-07-28 15:36:24 -06:00
FusionPBX 3087ce5a69 Update device_profiles.php 2016-07-28 15:34:55 -06:00
FusionPBX 85b3a59b71 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 6198a80b90 Update app_config.php
Add new device permissions.
2016-07-26 20:57:46 -06:00
FusionPBX b7a1797360 Update app_languages.php 2016-07-26 20:54:46 -06:00
FusionPBX 3f66511a41 Update devices.php
Correct the layout of the device description.
2016-07-26 09:37:54 -06:00
Mafoo 7510bed570 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 58fa00ddf2 Update device_dashboard.php
Handle saving device keys from a profile that has been changed.
2016-07-16 12:15:22 -06:00
FusionPBX 9fe48e8da2 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 2189ce1e82 Update cmd.php
Add Applied response message and fix the referrer.
2016-06-24 10:13:25 -06:00
FusionPBX 8969e8171d Update device_dashboard.php
Fix the apply button for Device Keys for the Device Dashboard.
2016-06-24 09:47:13 -06:00
markjcrane 59304c226f Add $sql .= "WHERE device_uuid = '".$device_uuid."' "; to the device lines in device_dashboard.php. 2016-06-21 18:32:30 -06:00
markjcrane ecc7317d62 Update device_user_uuid. 2016-06-21 18:09:37 -06:00
markjcrane 38b62a4572 Fix the dashboard device keys 2016-06-21 17:57:06 -06:00
Alexey Melnichuk 42aec3c0d8 Fix. Edit user for device. (#1690) 2016-06-21 08:05:44 -06:00
Alexey Melnichuk f59f0c9f50 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 b982eae5da Fix. Select key on devices for Grandstream (#1684) 2016-06-20 11:42:24 -06:00
FusionPBX 41a3290999 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 c61eefdfb2 Update device_edit.php
Hide this until its ready.
2016-06-19 09:56:18 -06:00
markjcrane da8d7316fb Update device_edit.php change user_uuid to device_user_uuid. 2016-06-17 17:45:42 -06:00
markjcrane 6991bd7649 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 f9171c96aa Fix. Display key type in `Profile` app. (#1658) 2016-06-17 12:43:51 -06:00
Alexey Melnichuk ede2f8f57d Add. Support provision programmable keys for Escene devices. (#1674) 2016-06-17 10:43:27 -06:00
Mafoo e66c907fc9 BugFix-missing PROJECT_PATH for download files (#1675) 2016-06-17 09:22:54 -06:00
Alexey Melnichuk 83e45dda1a Fix. Select correct key in listbox in device edit form. (#1659) 2016-06-14 08:28:57 -06:00
FusionPBX e75a09d01d Update device_dashboard.php
Fix device key dashboard edit only.
2016-06-10 12:23:01 -06:00
markjcrane c30efdaa21 Change the permission name from device_username to device_user. 2016-06-10 11:02:17 -06:00
reliberate 02dce2d495 Dashboard: Tweak Device dashboard component styles. 2016-06-02 18:41:39 -06:00
FusionPBX ac0d1f3f48 Update app_config.php
Add the device_key_id permission.
2016-05-31 10:03:46 -06:00
FusionPBX 3cf86a459e 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 f95e107091 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 6659d49caf Create device_dashboard.php
Add a new item for the dashboard device keys.
2016-05-28 19:52:28 -06:00
FusionPBX 9fbc8bf44c Update device_edit.php
Show the selected user when editing a device.
2016-05-26 22:14:39 -06:00
FusionPBX 8368745b65 Update app_languages.php
Fix the label and description for the singular 'user'.
2016-05-26 22:04:45 -06:00
FusionPBX 8fe9609c51 Update device_edit.php
Set the device user label to singular.
2016-05-26 22:00:33 -06:00
FusionPBX b0cdde365b Update device_edit.php
Remove the device user add button.
2016-05-26 21:54:20 -06:00
FusionPBX 069f5c95e0 Update app_languages.php
Fix the translation on the description of the device user.
2016-05-26 21:49:44 -06:00
reliberate 8d2a190099 Gateways: Fix paging and order by.
Devices/Users/Extensions: Visual adjustments.
2016-05-21 13:04:31 -06:00
markjcrane 79e32c6b06 Add ability to assign a single user to a device. 2016-05-20 10:39:16 -06:00
Alexey Melnichuk f828c1c56b 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 bc51cd7d1d Cleanup the indentation ... tabs and whitespace after the last pull request. 2016-04-28 16:56:44 -06:00
Harry G. Coin fd313a7c66 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 91a92d8e5e \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 89e5ecbcdf 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 cd7843b7f3 Apps: Integrate ability to set paging via a Default/Domain/User Setting (domain > paging > numeric). 2016-03-28 23:02:11 -06:00
reliberate 13e3aa4fa8 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 30655054c0 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 406a07b6bd 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 b135f6b120 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 1d95ad0743 Devices, Extensions, Gateways, Users: Bypass browser password manager prompt when saving. 2016-02-25 18:19:51 -07:00
markjcrane 5a06f486af Rename .project.ROOT to project_root.php this conforms better with current file naming standards. 2016-02-22 14:01:18 -07:00
markjcrane 419fb0a88d Device add Mitel line functions that match the Mitel web interface. 2016-02-19 11:11:56 -07:00
markjcrane f9bd8e0998 Change Mitel Line 1-8 to Line only. 2016-01-22 11:02:25 -07:00
markjcrane 5a20dce9ab Move the php tag. 2016-01-21 23:33:03 -07:00
markjcrane 3ea6eac9cf Start the Mitel functions list. 2016-01-21 23:29:13 -07:00
markjcrane 9ca689236a Merge branch 'master' of https://github.com/fusionpbx/fusionpbx 2016-01-20 11:58:33 -07:00
markjcrane c6b39cc0a5 Add device profile copy button. 2016-01-20 11:58:10 -07:00
FusionPBX 9cd2cd4789 Merge pull request #1397 from mafoo/Enhance-root.php
Enhance root.php
2016-01-20 11:06:18 -07:00
mafoo 9ce00a03cf values were being assigned rather than compared 2016-01-20 13:44:36 +00:00
Mafoo ad324f4744 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 2669f6f1a9 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 76b1ea734e Merge pull request #1331 from mafoo/BugFix-root.php_logic
Rollout new root.php
2016-01-16 10:09:44 -07:00
markjcrane 285cad06da 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 1502cf15ff changed protocol to match request 2016-01-15 13:43:10 +00:00
Matthew Vale b20a38f454 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 173ae7001d Added full logic to support cli as well 2016-01-13 17:38:54 +00:00
Matthew Vale b81748bd22 change to use '/' instead of DIRECTOR_SEPERATOR 2016-01-12 14:47:50 +00:00
Matthew Vale 1ad1c31b27 Rollout of root.php 2016-01-12 13:55:39 +00:00
markjcrane a35d442dfa 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 ba67594456 Method get_vendor add vendor mitel and put them in alphabetical order. 2016-01-09 11:37:40 -07:00
markjcrane c076becb21 Use the format_mac method in the provision class. 2016-01-09 11:22:10 -07:00
markjcrane 7c9c6acc82 Continued work on formatting the mac address for upper or lower case. 2016-01-09 11:10:37 -07:00
markjcrane 40b665fefa 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 b76a1a4b4f First pass on app/* 2015-12-10 10:12:41 +00:00
blackc2004 85eda7c097 Update devices.php 2015-12-09 14:01:35 -08:00
markjcrane 07cd2de9ea Update the provision file download to work with domain filter set to false. 2015-12-03 10:29:33 -07:00
markjcrane 83dac1faa0 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 d03db31518 Add the additional key types to the device key profile. 2015-11-12 19:27:29 -07:00
markjcrane f58328fa39 Polycom key type capitalize the first letter of Automata and Normal. 2015-11-12 19:11:31 -07:00
markjcrane 88858a1c8b Add additional Polycom key types. 2015-11-12 16:40:02 -07:00
markjcrane cca5c118df Secure the device mac address when the user doesn't have permission to change it. 2015-11-05 12:25:30 -07:00
markjcrane d39d58e6f6 Show device copy when user has device_add permission. 2015-11-05 12:11:53 -07:00
markjcrane 2750163d6d Move the description inside the permission condition and adjust 2 of the permissions. 2015-11-05 12:05:49 -07:00
markjcrane ef5a1eb455 Add new device permissions for mac address, template, label, vendor, model, firmware, and description. 2015-11-05 11:56:50 -07:00
markjcrane 5f7fd707c2 Fix the syntax by adding a missing ). 2015-11-05 11:24:28 -07:00
markjcrane 78b65831ec Add new device permissions device_username_password, device_alternate, device_enable. 2015-11-05 11:19:22 -07:00
markjcrane 503461fca1 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