Commit Graph

349 Commits

Author SHA1 Message Date
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
koldoa 49fcc5e8d9 Changed readdir to scandir so we can get sorted template names 2015-10-16 15:04:31 +02:00
markjcrane 6a796d37e0 Add comment out the hidden field for now. 2015-09-22 18:36:09 -06:00
markjcrane d0c42fff37 Comment out unset autocomplete for the moment. 2015-09-22 18:35:20 -06:00
markjcrane 969e02328e Fix the removal of the autocomplete field. 2015-09-19 18:13:15 -06:00
markjcrane ba83a0f99e 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 a4ab8ca633 Translation typo 2015-09-07 08:33:34 +02:00
markjcrane 04521659b6 Move the includes in devices. 2015-09-04 22:23:01 -06:00
markjcrane 0900c143cd Add device count. 2015-09-04 22:19:11 -06:00
markjcrane d2c2eac60e Set HTML autocomplete="off" for the device line username and password. 2015-09-01 01:47:44 -06:00
Alexey Melnichuk 8442ea979e 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 7261a9dcb7 New key type for aastra devices 2015-08-17 16:39:54 +02:00
koldoa 6a93e34dab New key type for aastra devices 2015-08-17 16:39:54 +02:00
root fead5df810 Add latest translations 2015-08-02 23:42:11 +00:00
markjcrane 63e35e2278 Organize the device profiles according to the key vendor. 2015-07-25 07:57:07 -06:00
markjcrane 358ff5844b Add device key type column add the vendor name. 2015-07-08 01:41:24 -03:00
markjcrane 2838d29a89 Change the table name from device lines to keys. 2015-07-07 14:44:14 -03:00
markjcrane f52f7999a0 Add device key vendor to assign a key to a vendor. 2015-07-07 14:25:00 -03:00
Mark Crane 536a2fd827 Add latest translations 2015-06-22 22:30:03 +00:00
Mark Crane 6654507706 Add latest translations 2015-06-15 19:30:00 +00:00
Mark Crane b64c850a9a Sync the recent translations 2015-06-13 05:35:54 +00:00
Mark Crane 2b69ac00d7 Synchronize the translations. 2015-06-06 02:37:26 +00:00
Nate Jones c2157600b2 Device: Swap Alternate and Vendor field locations. 2015-06-02 22:25:43 +00:00
Mark Crane e49a437967 Set the domain_uuid as hidden for devices when device_domain is not assigned. 2015-05-31 04:43:02 +00:00
Mark Crane 9827c55863 Fix the show all devices so it doesn't display duplicates. 2015-05-28 00:55:10 +00:00
Mark Crane ba7d32cb4f Devices, Update Alternate show the device label. 2015-05-24 07:14:11 +00:00
Mark Crane be8aba2e39 Add a link to unset the alternate device. 2015-05-24 05:00:40 +00:00
Mark Crane 05f3ed8e4a Sync the latests bug fixes. 2015-05-23 22:02:28 +00:00
Mark Crane 46df72f8af More work on device alternate. 2015-05-22 04:34:31 +00:00
Mark Crane 410c9d6596 Add <td> and </td> surrounding the new Alternate link. 2015-05-22 04:14:04 +00:00
Mark Crane a9177255b6 Add Device Alternate link. 2015-05-22 04:10:43 +00:00
Mark Crane 0ca48f2f8a Changes result array to devices. 2015-05-22 03:08:02 +00:00
Mark Crane 7416f617d2 In the Devices list move Enabled after the Template column. 2015-05-22 03:04:42 +00:00
Mark Crane f6a4a5daaa A few more adjustments for the new password permissions. 2015-05-20 22:32:55 +00:00
Mark Crane 551aba5941 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 02cabe3a61 Set the defaults in device edit. 2015-05-20 05:14:14 +00:00
Nate Jones 33df3bbe6f Devices: Add Enabled field to Lines. 2015-05-19 16:09:04 +00:00
Nate Jones e71c720670 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 53b884b431 Devices: Language updates supporting previous commit. Removed required check on MAC Address field. 2015-05-04 20:09:29 +00:00
Nate Jones 5bc8ea29f2 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 461a276266 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 7c5cf78350 Add label-device to devices/app_languages.php. 2015-04-30 04:25:36 +00:00
luis daniel lucio quiroz 7cf0150765 device_vendor & device_mac_address are a must 2015-04-23 16:39:49 +00:00
Mark Crane 33658f1dd9 Add device username and password. 2015-04-12 00:35:11 +00:00
Mark Crane 485ecc57a8 Add device_username, device_password and device_uuid_alternate. 2015-04-12 00:12:48 +00:00
Mark Crane d6636aee17 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 ece8529927 Remove the CSS class that makes the MAC address appear to be required. 2015-04-06 19:52:16 +00:00
Mark Crane 3f9650d873 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 b46e215be2 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 608329dfb9 CDR & Devices: Hide Show All buttons after showing all. 2015-03-31 03:16:20 +00:00
Nate Jones 49044ff0f4 Permissions: Consistify (new word!) permission names for Show All functionality on Devices & Destinations. 2015-03-29 01:33:56 +00:00
Mark Crane 972117d298 Provisioning Devices add DNS SRV record to the SIP transport select list. 2015-03-26 15:48:57 +00:00
Nate Jones fcb53fd7f9 Misc: Implement maximum limits on multiple apps. 2015-03-22 08:17:04 +00:00
Mark Crane 51ec4a9466 Move strtolower function to reduce one line of code. 2015-03-21 03:25:35 +00:00
Mark Crane f77fc97ed2 Fix the device key delete. 2015-03-08 03:26:25 +00:00
Mark Crane d3a624fc33 Finish the device show all button. 2015-03-07 22:51:32 +00:00
Mark Crane dcbab015ab Add 'Show All' button text for Devices. 2015-03-07 21:59:17 +00:00
Mark Crane 96900f5e33 Changes the order of one of the columns and adjust some spacing. 2015-03-07 21:51:02 +00:00
Mark Crane fc4fc69878 Add device show all which allows a domain administrator the option to see all devices on the entire system. 2015-03-07 21:35:18 +00:00
Mark Crane 872a7bf19e Improve the security on the delete for devices by validating the uuid and fix the delete when deleting a key from a global device profile. 2015-03-07 07:03:22 +00:00
Mark Crane 17bad08d5e Change device_key_line from text to numeric. 2015-02-15 20:41:39 +00:00
Mark Crane ea54d1b618 Update the device profiles. 2015-02-15 19:00:16 +00:00
Mark Crane 336f83d02a Allow the domain_uuid to be changed only with the device_profile_domain permission. 2015-02-15 18:53:10 +00:00
Mark Crane 7b38c69206 One more minor change. 2015-02-15 18:42:38 +00:00
Mark Crane 091adf9f70 Change app_languages.php for Key Profile to Profile. 2015-02-15 18:39:08 +00:00
Nate Jones eb3618e9f7 Visual adjustments. 2015-02-15 09:39:23 +00:00
Nate Jones 18fefa3682 Visual adjustments. 2015-02-15 09:20:19 +00:00
Nate Jones dbd9fbc07b Visual adjustments. 2015-02-15 07:59:02 +00:00
Nate Jones 256e424b3e Removal of colon next to form label names. 2015-02-15 06:50:00 +00:00
Nate Jones 151d2db735 Voicemails: Initial GUI for adding IVR-style menu options to the voicemail system.
Devices: Minor visual adjustment.
IVR Menu: Minor visual and language adjustments.
2015-02-15 04:54:32 +00:00
Nate Jones 0f0b40e6aa Devices: Fixed MAC formatting on devices list. 2015-02-15 00:46:58 +00:00
Nate Jones 257b986318 Devices: Add view permission to Key Profiles button. 2015-02-15 00:40:39 +00:00
Nate Jones 69d4caeed6 Devices: Added GUI for new Key Profiles feature.
Destinations: Fixed missing label.
2015-02-15 00:33:56 +00:00
Nate Jones 474e63f939 Use the new multi-lingual code on misc files. 2015-01-18 10:33:34 +00:00
Mark Crane 03220c9754 Add the text class to more of the applications. 2015-01-18 10:06:08 +00:00
Mark Crane 9f11255e80 Use the new text class for multi-lingual support. 2015-01-18 07:42:57 +00:00
Mark Crane d29de219c5 Add > 0 2015-01-10 01:03:20 +00:00
Mark Crane cc4a4ab8d2 Only write the provisioning files if switch provision dir path is set. 2015-01-10 01:02:39 +00:00
Mark Crane ddca77629e Move the menu array to app_menu.php 2014-12-26 03:27:54 +00:00
Mark Crane 6d98ffc320 Add app_menu.php files for the menu. 2014-12-25 19:32:57 +00:00
luis daniel lucio quiroz cef63582d0 HTML5 input patter for mac address 2014-12-23 01:06:20 +00:00
luis daniel lucio quiroz e24a1d91bc HTML5 input tags for device_edit 2014-12-21 05:11:44 +00:00
Mark Crane 1286906b28 Aastra change BLF/xfer to BLF Xfer. 2014-12-12 07:41:08 +00:00
Mark Crane da1e6ecb61 Fix the aastra labels. 2014-12-12 07:32:58 +00:00
Mark Crane e0a6ac107a Add Aastra feature codes for device provisioning. 2014-12-12 07:29:33 +00:00
Mark Crane e4d104e060 Add the missing echo to device labels. 2014-11-15 22:23:33 +00:00
Mark Crane 1889130274 Add snom device category. 2014-11-15 22:19:11 +00:00
Philippe Rioual 22f04d0556 updated / enhanced french translations 2014-10-29 08:51:56 +00:00
Mark Crane 77af438abb Replace the switch with if/elseif/else to fix a problem with accounts -> extensions for php fpm on Ubuntu 14.04 LTS 2014-09-29 07:29:44 +00:00
Mark Crane abd9921b1d Fix a problem with Devices for viewing the key assignments for MySQL 2014-09-04 04:06:19 +00:00
Nate Jones 5bb2bea640 Input Type Switch Button: Changed from left triangle (&#10782;) to left triangle (&#9665;), as wasn't displaying properly in FF on Mac. 2014-08-03 07:02:12 +00:00
Nate Jones b3ef3894f8 Input Type Switch Button: No interprets HTML entities code for left triangle (&#10782;) 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 c0209959a8 Input Type Switch Button: Changed from < to left triangle (&#10782;) 2014-08-03 05:31:42 +00:00
Nate Jones 95fdfc4f40 Device: Updated other themes to work with duplicate checker. 2014-08-02 13:43:11 +00:00
Nate Jones 5b4ae6734d Device Edit: Added comment on the duplicate check js. 2014-08-02 12:45:24 +00:00
Nate Jones c9a5e7c2f5 Device Edit: Adjust duplicate mac check. 2014-08-02 12:00:30 +00:00
Nate Jones 559ccd52c3 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 92c2da7f11 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 5f788ae6fe Add normal and automata options for the Polycom provisioning templates 2014-07-20 06:11:37 +00:00
Mark Crane dac1fff99b Add Cisco SPA expansion 1 and expansion 2 to devices 2014-07-20 00:49:27 +00:00
Mark Crane 87ecf36366 Change the order of the device device_label, device_description 2014-07-18 21:01:12 +00:00
Nate Jones e67aa0c638 Document (Window) Title: Update variable name to avoid conflict when paging is used. 2014-07-10 00:32:50 +00:00
Nate Jones ec1ba51eb9 (Modified) Usability Enhancement: Click on list rows to Edit items. Now uses jQuery (instead of onclick) to avoid being redirected to Edit when canceling a Delete. 2014-06-21 08:52:47 +00:00
Nate Jones a117993264 Usability Enhancement: Click on list rows to Edit items. 2014-06-21 07:04:04 +00:00
Nate Jones e979147858 Add links to certain column text in a list view.
Add ability to edit Call Block number.
2014-06-21 00:58:16 +00:00
Mark Crane 7f6ec439bb Change the package path from /etc/fusionpbx/templates/provision to /etc/fusionpbx/resources/templates/provision 2014-06-03 17:45:24 +00:00