Commit Graph

248 Commits

Author SHA1 Message Date
markjcrane 0ec2083121 Check to make sure directory does not exist before using mkdir. 2016-04-28 21:22:48 -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 7442f32a53 Cleanups.
Remove default 192.168.42.42/32 allow.
Restore missing app/fax/resources/functions/parse_attachments.php to satisfy pre-existing include
Fix so sql in voicemail app works if var undefined.  Warning: don't know if non Mariadb's like cast(...) .
Cleanup close in event socket.
2016-04-25 22:16:19 -05: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
markjcrane 2fd1a44842 voicemail_id is not guaranteed to be numeric so can't use the cast unless we protect against non numeric ids. 2016-04-19 14:05:12 -06:00
reliberate ce31971277 Voicemail: Show Add button even when no Voicemails exist.
Extensions: Integrate keyboard shortcuts (Ctrl+A to select all, Delete to delete checked).
2016-03-31 18:03:32 -06:00
reliberate 2ca72bd99d Function: Created key_press function to dynamically generate key detection javascript.
Voicemail: Ctrl+A checks all checkboxes, pressing Delete deletes the checked Voicemails.
Editor: Integrated key_press function.
Command: Integrated key_press function.
2016-03-31 17:11:37 -06: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 7c5176cf41 Theme: Add additional Settings to control the style of various elements, remove old css classes.
Default/Domain/User Settings: Add color previews in list view.
2016-03-28 22:29:15 -06:00
reliberate 347417011e Language changes for last commit. 2016-03-28 18:07:02 -06:00
reliberate 1a69272fab Languages file for last commit (doh). 2016-03-28 17:58:19 -06:00
reliberate fd54066540 Theme: Replace image-based control icons with Bootstra Glyphicon buttons.
Voicemail Messsages: Added ability to toggle message status (saved/new).
2016-03-28 17:50:07 -06:00
reliberate 785279d62b Destinations/Extensions/Voicemails: Better sorting ability. 2016-03-28 15:21:05 -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
reliberate 51275443c5 Voicemail: Add bulk delete ability for Messages, instant saved indication when playing/downloading, and table row click to play.
Dashboard: Minor code cleanup.
2016-03-19 13:54:24 -06:00
reliberate 471c647ba2 Voicemail: Change 'View' link to 'Messages' instead. 2016-03-19 08:16:49 -06:00
reliberate f7aca7239c Extensions: Added bulk delete.
Voicemail: Added bulk delete.  On delete, remove recordings folder, and voicemail_options, _destinations, and _greetings database records.
2016-03-16 18:48:42 -06:00
FusionPBX b53164ac93 Merge pull request #1468 from mafoo/WhitespaceClean-app/batch_1
WhitespaceClean-app/batch_1
2016-03-11 13:35:41 -07:00
mafoo d408cf2fbc WhitespaceClean-app/batch_1
whitespace pass over files
for reference regex that was used s/[ \t]+(\r?\n)/\1/
2016-03-11 11:56:29 +00:00
mafoo 4131a70c02 BugFix-Translation-True_False
fixed various uses of ucwords() to render true/false to use
$text[label-*] instead
2016-03-11 11:34:52 +00:00
reliberate fb2ba02106 Voicemail: Remove unnecessary echo. 2016-02-25 15:57:28 -07:00
reliberate 23576e8081 Voicemail: Fixes to Greeting select box. Bypass browser password manager pop-up when saving. 2016-02-25 14:39:28 -07:00
reliberate 42e531d31a Voicemail: Provide a select box to choose a Greeting, instead of requesting the Greeting ID to be entered. 2016-02-25 12:06:45 -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
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
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
FusionPBX 84b46ab76e Merge pull request #1315 from mafoo/Enhance-Languages
Enhance languages
2015-12-19 09:20:42 -07:00
markjcrane 666d90d06c Fix the permissions onv the voicemail directory creation. 2015-12-14 13:11:47 -07:00
markjcrane c4240dac2b Remove the echo in the app_defaults.php. 2015-12-14 12:58:40 -07:00
markjcrane 4448d7a120 Add driectory structure for voicemail via app defaults. 2015-12-14 12:48:01 -07:00
Alexey Melnichuk 1706a13234 Fix. Play voicemail.
Copy from recordings.php
2015-12-11 16:40:49 +03:00
Matthew Vale b76a1a4b4f First pass on app/* 2015-12-10 10:12:41 +00:00
Matthew Vale 8337af0fd4 corrected references to voicemail_dir
changed from $_SESSION['switch']['storage']['dir'].'/voicemail/' to correctly use $_SESSION['switch']['voicemail']['dir']
added missing storage_type to app_defaults.php
2015-11-02 17:22:13 +00:00
markjcrane 4cfe899919 A few more minor adjustments. 2015-09-04 23:05:08 -06:00
markjcrane 6f389eedd8 Add count to voice mails and voice mail messages. 2015-09-04 22:38:48 -06:00
markjcrane e9b93fd426 Remove switch_select_destination function from the remaining features that used it and replace with the destination php class. 2015-08-07 15:06:07 -05:00
markjcrane fac705c1a8 Update voicemail to use the destination php class. 2015-08-07 14:24:58 -05:00
markjcrane 15ca076e09 Escape the $ in the domain_uuid variable. 2015-08-05 18:17:39 -05:00
markjcrane 5c8a6dd7fe Add destination details to several app_config.php files. 2015-08-04 14:52:10 -06:00
root fead5df810 Add latest translations 2015-08-02 23:42:11 +00:00
Mark Crane fb9a2bc9b6 Add latest translations 2015-06-30 12:30:02 +00:00
Mark Crane 6654507706 Add latest translations 2015-06-15 19:30:00 +00:00
Mark Crane 2b69ac00d7 Synchronize the translations. 2015-06-06 02:37:26 +00:00
Nate Jones ab403f5f3c Language file merge from translation server. 2015-05-01 11:13:39 +00:00
Nate Jones 704d2ebf1c Voicemail: local and base64 fixes. 2015-04-23 05:25:21 +00:00
Nate Jones b790f34278 Voicemail: Add functionality to Play and Download base64 messages in the database. 2015-04-23 00:10:31 +00:00
Nate Jones 949b2ec3fe Recordings / Voicemail Messages: Hide file size column if storing as base64 in db. 2015-04-17 19:30:06 +00:00
Nate Jones 1631962f83 Various: Added playback progress indicator for audio files (CDR, VM, etc). 2015-04-13 22:26:50 +00:00
Nate Jones 33f0e22ac3 Voicemail: Restore missing 'No messages found.' message in languages file. 2015-04-10 01:41:30 +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
Nate Jones 81fdeb8453 Voicemail: Copyright date changes. 2015-04-06 21:58:55 +00:00
Nate Jones 69e3bca4ad Voicemail: Mods to make it work as expected, if non-admins/superadmins are given access to it. 2015-04-06 21:57:06 +00:00
Nate Jones 8c00436e80 CDR: Integrate existing permissions for Recording Playback and Download buttons.
Misc: Background visual adjustments for Playback and Download icons.
2015-04-03 21:07:24 +00:00
Mark Crane 17cbd9d289 Add a place to add voicemail name in base64. 2015-04-03 15:21:28 +00:00
Mark Crane 116c6f05d2 Add base64 field to recordings, voicemail, and voicemail recordings. 2015-03-22 10:52:10 +00:00
Nate Jones 5730130b8e Voicemail: Added default settings to control default Voicemail File and Keep Local settings when creating new extensions and/or Voicemail boxes. 2015-03-20 01:09:18 +00:00
Nate Jones 266f9e1063 Voicemail:
- Adjust for single-quotes in caller_id_name on insert query (hopefully addressing Issue 877).
- If Keep Local is false, remove the recording from the file system.
- Fix Forward Destinations so message is fully copied to other extension voicemail boxes, not just emailed.
- Add script to Ext and VM Edit pages to prevent Listen or Download links being sent when Keep Local is false.
- Minor language mods.
2015-03-15 09:15:04 +00:00
Mark Crane 1818add6ac Remove deprecation on voicemail_attach_file which was done prematurely. 2015-03-01 07:40:06 +00:00
Nate Jones cbb39328f5 Voicemail: Added additional options for email notification (attach vm, download link, auto-play listen link). Also cleaned up email templates a little. 2015-02-24 08:09:01 +00:00
Nate Jones 91fe322c00 Visual adjustments. 2015-02-15 11:57:14 +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
Mark Crane 8a895958e8 Sort voicemail boxes in ascending order. 2015-01-29 07:18:29 +00:00
Mark Crane 4e2ec883b1 Add the text class to more of the optional applications. 2015-01-18 10:15:38 +00:00
Nate Jones fbb48feb0d Use the new multi-lingual code on fusionpbx/app sub directories. 2015-01-18 10:04:43 +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
Mark Crane b9e6aeef00 Fix the redirect on saving the voicemail settings to make it faster to setup. 2014-12-04 08:00:20 +00:00
Mark Crane 22b85f7d92 Add domain_uuid to the voicemail destinations table. 2014-12-04 07:51:05 +00:00
Mark Crane 4503a7d7bb Uncomment voicemail forward destinations. 2014-12-03 15:10:36 +00:00
Mark Crane 90844598d6 Change $value to $row. 2014-11-15 00:36:54 +00:00
Mark Crane a8d0972d41 Fixed a problem with voicemail that was not including extensions that use a number alias. 2014-11-15 00:16:29 +00:00
Philippe Rioual 22f04d0556 updated / enhanced french translations 2014-10-29 08:51:56 +00:00
Nate Jones 3c3df6dadc VM Greetings, VMs: Integrated HTML5 playback button. Misc fixes with other integrations. 2014-09-11 19:48:19 +00:00
Mark Crane 8880822311 Add a redirect for voicemails 2014-07-29 07:28:44 +00:00
Mark Crane 0d4c1cb129 Fix the voicemail view so that they are marked as read 2014-07-29 07:25:28 +00:00
Nate Jones 7f36b2d6d2 Usability Enhancement: Click on list rows to View/Edit items.
Misc other fixes.
2014-06-22 04:34:19 +00:00
Nate Jones 632fd2cb39 Add links to certain column text in a list view.
Misc bug fixes.
2014-06-21 03:42:09 +00:00
Mark Crane 7f36ff3652 Fix the luarun cal to voicemail 2014-06-09 19:59:25 +00:00
Nate Jones eebd1e49a5 Moved Tier management to Queue Edit page, remove Tier view and delete files. Hide Voicemail Forward Destination field until development complete. 2014-05-16 18:25:40 +00:00
Mark Crane 651c590740 Change the data type from numeric to text 2014-05-02 09:22:38 +00:00
Mark Crane d648674f65 Add a search for app -> voicemails 2014-05-02 09:11:52 +00:00
Nate Jones 3f2dad1a14 Voicemail Edit - Removed blank option from T/F select boxes 2014-05-02 06:10:12 +00:00
Nate Jones 16e54820a8 Voicemails, minor language case mods 2014-04-27 10:26:29 +00:00
Mark Crane 2343714ad1 Use the voicemail greeting permisisons 2014-04-27 03:59:43 +00:00
Nate Jones fa9e9b2ac4 Submit button also placed at top; reordered to right margin, too. 2014-04-26 23:37:41 +00:00
Mark Crane 60e0417068 Fix the voicemail message size, and download link when using mp3 extension. 2014-03-23 11:31:03 +00:00
Mark Crane 1e84cb0299 Change the voicemai Copy Destinations to Forward Destinations. 2014-03-07 08:35:55 +00:00
Nate Jones b00996a440 Streamline password viewing. 2014-03-07 01:52:44 +00:00
Nate Jones 2ddfb27d5e Added web interface for voicemail destinations (CC) feature to be added shortly. 2014-03-06 23:06:45 +00:00
Nate Jones c279b50669 Added db table/fields for voicemail destinations (CC) feature to be added shortly. 2014-03-06 20:04:47 +00:00
Nate Jones 8d6e8c9d86 Unstack list control icons. 2014-02-26 05:53:22 +00:00
Nuno Miguel Reis c8740bad49 fixed some translations 2014-02-25 22:49:35 +00:00
Nuno Miguel Reis eeed105dff change of some pt_PT translations and fixed some encoding bugs for the new Chile spanish
Conflicts:
	fusionpbx/app/call_center_active/app_languages.php
	fusionpbx/app/calls_active/app_languages.php
	fusionpbx/app/ring_groups/app_languages.php
	fusionpbx/app/schemas/app_languages.php
2014-02-25 03:28:28 +00:00
Nate Jones 1ff8b747c7 Response message updates. 2014-02-23 08:47:58 +00:00
Mark Crane 0f9cf0e79f Finish the Spanish es-cl integration. 2014-02-14 18:37:58 +00:00
Mark Crane e3e79f9807 Add PDO::FETCH_ASSOC to the fetchAll in the voicemail class. 2013-11-24 01:09:10 +00:00
Mark Crane e64b57fa34 Fix a few more voicemail gui issues: make sure the back button returns to the correct page, fix the redirect after deleting a voicemail. Fix the voicemail delete mp3 files or other sounds files other than wav or mp3. 2013-11-23 04:19:37 +00:00
Mark Crane 6743cc2ce1 Refactor voicemail messages. 2013-11-22 15:26:10 +00:00
Mark Crane 29199f2555 If the voicemails page is shown to users own show them voicemail boxes that are assigned to them. 2013-11-20 22:27:56 +00:00
Mark Crane aaa7d86331 On the voicemail messages page hide the greetings and settings buttons if the user doesn't have the correct view permission. 2013-11-20 20:24:50 +00:00
Nuno Miguel Reis 54934396ad language translations for pt-pt and some other minor fixes and updates 2013-10-17 22:06:53 +00:00
Nuno Miguel Reis 24dabf4a1c language translations for pt-pt and some other minor fixes and updates 2013-10-17 22:06:01 +00:00
Nuno Miguel Reis 184ec05020 changed single quote to double quotes everywhere 2013-10-01 11:35:07 +00:00
Mark Crane a43c8f892d Correct the tabbing by replacing the spaces with tabs. Replace some of the single quotes with double qoutes and keep the fr-ca translations. 2013-09-30 16:21:08 +00:00
Mark Crane 0955da65ba Fix a few things in app_config.php leaving fr-ca and changing some of the single quotes to double quotes. 2013-09-30 16:16:32 +00:00
Philippe Rioual f0489b418f repaired previous errors inserted in r4614 : reinserted 'de-de' instead 'de' and correct files. keeps fr-ca to report in app_config.php files 2013-09-30 15:22:35 +00:00
Philippe Rioual 9ce5b02701 added missing french translations and changed fr to fr-fr in all app_languages.php and app_config.php files. 2013-09-30 13:19:40 +00:00
Mark Crane 187bc9dbeb Add permissions for every table (view, add, edit, and delete). Important change to increase security on the REST API and will be beneficial for more detailed control of permissions. 2013-09-25 20:23:10 +00:00
Mark Crane 9b0c91491c Update the file types for the the app_languages.php that were not the correct type. Set the file type to UTF-8 without BOM. 2013-09-21 08:40:50 +00:00
Mark Crane 850ff7b0db Change fr to fr-fr and de to de-de. 2013-09-17 20:02:19 +00:00
Nuno Miguel Reis cfc37a8910 new changes to group_permissions/menu logic 2013-09-17 19:06:44 +00:00
Nuno Miguel Reis 1ef7fb3706 fixed some typos
Conflicts:
	fusionpbx/app/adminer/app_config.php
	fusionpbx/app/gateways/app_languages.php
	fusionpbx/app/ring_groups/app_languages.php
	fusionpbx/app/voicemails/app_languages.php
	fusionpbx/core/user_settings/app_languages.php
2013-09-17 16:48:23 +00:00
Mark Crane f077840883 Move the French translations into the development branch.
Translation work done thanks to by bhouba for his work on the translations.
2013-09-13 21:04:53 +00:00
Mark Crane ea4e824fd5 Added ['type'] so that it is applied as $field['key']['type'] so that it is uniform across all app_config.php files. 2013-09-10 23:06:41 +00:00
Mark Crane 6da2c3734c 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 52628c713c Rename and move persistformvar.php to the resources directory. 2013-07-06 06:21:12 +00:00
Mark Crane ffffea0710 Change the path for includes/require.php to the resources directory. 2013-07-06 06:03:27 +00:00
Mark Crane a6e289ed5d Change includes/checkauth.php to resources/check_auth.php. 2013-07-06 05:50:55 +00:00
Mark Crane fcd64a1eaa Remove the spaces from the 'Voicemail Mail To' addresses. 2013-06-03 14:26:50 +00:00
Mark Crane b23cf69a81 Add sqlite:// to the lua scripts to match the new syntax. Add debian package files produced by rneese. 2013-03-13 14:25:39 +00:00
Mark Crane d3f4dcc204 Adjust the app -> voicemail show 150 results per page instead of 10. 2013-01-24 23:01:09 +00:00
Mark Crane 6cf3dff26c Remove the commented line. 2013-01-19 19:51:16 +00:00
Mark Crane 91b96c3a41 Adjust the voicemail permissions for better security. 2013-01-19 19:47:21 +00:00
Mark Crane d01ec750bb Voicemail set the password field from text to password. 2013-01-19 19:06:45 +00:00
Mark Crane cad5927150 Fix the voicemail download from the gui. Add message delete to the voicemail PHP class. 2013-01-13 06:47:28 +00:00
Mark Crane 674483a7da A few minor changes to voicemail. 2013-01-03 19:54:29 +00:00
Mark Crane ce8c561b26 Default the voicemail local after email, enabled, and voicemail attach to true. 2013-01-02 23:42:33 +00:00
Mark Crane 590a92c99a Voicemail messages show the table header and links when there is no voicemails. 2013-01-02 19:31:49 +00:00
Mark Crane 31655253f1 Update the new native voicemail code. 2013-01-01 23:22:07 +00:00
Mark Crane 04bad20975 Show new messages in bold. 2012-12-31 19:38:52 +00:00
Mark Crane fa26e5ae55 Enable the ability to clear the greeting id 2012-12-31 16:38:45 +00:00
Mark Crane 6c51cfead1 Remove voicemail messages add and edit permissions. 2012-12-31 16:16:32 +00:00
Mark Crane 444d88fdc9 When the voicemail message is deleted then delete the recording. 2012-12-31 16:12:27 +00:00
Mark Crane 38f7b8f89b Add voicemail download, size and link to greetings. 2012-12-30 08:55:33 +00:00
Mark Crane 47bb6e4de9 Fix the multi-lingual framework for voicemail messages, and add a link to it. 2012-12-30 00:58:17 +00:00
Mark Crane 2f5e198ff9 In the new voicemail change en to en-us. 2012-12-29 09:28:29 +00:00
Mark Crane 0cb041552e Add the initial gui for the voicemail front end. 2012-12-29 09:17:12 +00:00
Mark Crane 9d3753d690 Update the database fields for the voicemails table. 2012-12-29 09:15:38 +00:00
Mark Crane e8f455134d Add voicemail database structure which will be used as a native voicemail tool for FusionPBX. 2012-12-14 19:29:44 +00:00