Commit Graph

248 Commits

Author SHA1 Message Date
markjcrane 46dafa9660 Check to make sure directory does not exist before using mkdir. 2016-04-28 21:22:48 -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 cc553a70c5 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 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
markjcrane 85439ff62e 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 d73ea93a14 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 9cfedbf2e9 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 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 5b97091e27 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 2550d4b91d Language changes for last commit. 2016-03-28 18:07:02 -06:00
reliberate a03125fc53 Languages file for last commit (doh). 2016-03-28 17:58:19 -06:00
reliberate 0cb8ab5224 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 5793de2851 Destinations/Extensions/Voicemails: Better sorting ability. 2016-03-28 15:21:05 -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
reliberate aa44e02b32 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 907f6cae9c Voicemail: Change 'View' link to 'Messages' instead. 2016-03-19 08:16:49 -06:00
reliberate 39bfec7aa2 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 6c8aa675a2 Merge pull request #1468 from mafoo/WhitespaceClean-app/batch_1
WhitespaceClean-app/batch_1
2016-03-11 13:35:41 -07:00
mafoo 3b438926b6 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 77c72c8d7c 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 7d6ef13fed Voicemail: Remove unnecessary echo. 2016-02-25 15:57:28 -07:00
reliberate 3b327be2dd Voicemail: Fixes to Greeting select box. Bypass browser password manager pop-up when saving. 2016-02-25 14:39:28 -07:00
reliberate 8da349c3e9 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 af18c963c0 Rename .project.ROOT to project_root.php this conforms better with current file naming standards. 2016-02-22 14:01:18 -07: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
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
FusionPBX bd914ba376 Merge pull request #1315 from mafoo/Enhance-Languages
Enhance languages
2015-12-19 09:20:42 -07:00
markjcrane 2bb479c487 Fix the permissions onv the voicemail directory creation. 2015-12-14 13:11:47 -07:00
markjcrane 754ff8c891 Remove the echo in the app_defaults.php. 2015-12-14 12:58:40 -07:00
markjcrane 8e77a932f2 Add driectory structure for voicemail via app defaults. 2015-12-14 12:48:01 -07:00
Alexey Melnichuk 7d5c5f1161 Fix. Play voicemail.
Copy from recordings.php
2015-12-11 16:40:49 +03:00
Matthew Vale f5bfeffe18 First pass on app/* 2015-12-10 10:12:41 +00:00
Matthew Vale c47908f4e4 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 971aef9b80 A few more minor adjustments. 2015-09-04 23:05:08 -06:00
markjcrane 0d8cb2c36d Add count to voice mails and voice mail messages. 2015-09-04 22:38:48 -06:00
markjcrane d2147cb133 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 d9415cd597 Update voicemail to use the destination php class. 2015-08-07 14:24:58 -05:00
markjcrane 752c54d05c Escape the $ in the domain_uuid variable. 2015-08-05 18:17:39 -05:00
markjcrane bcf1363277 Add destination details to several app_config.php files. 2015-08-04 14:52:10 -06:00
root 22c146f7f4 Add latest translations 2015-08-02 23:42:11 +00:00
Mark Crane d4a8c33f0d Add latest translations 2015-06-30 12:30:02 +00:00
Mark Crane 96c10412f7 Add latest translations 2015-06-15 19:30:00 +00:00
Mark Crane 4699d4c8e8 Synchronize the translations. 2015-06-06 02:37:26 +00:00
Nate Jones 63cd5bb78e Language file merge from translation server. 2015-05-01 11:13:39 +00:00
Nate Jones f99b2e8c30 Voicemail: local and base64 fixes. 2015-04-23 05:25:21 +00:00
Nate Jones 242ab77ccb Voicemail: Add functionality to Play and Download base64 messages in the database. 2015-04-23 00:10:31 +00:00
Nate Jones 24ed706087 Recordings / Voicemail Messages: Hide file size column if storing as base64 in db. 2015-04-17 19:30:06 +00:00
Nate Jones bb75eeb191 Various: Added playback progress indicator for audio files (CDR, VM, etc). 2015-04-13 22:26:50 +00:00
Nate Jones c1d4ec2284 Voicemail: Restore missing 'No messages found.' message in languages file. 2015-04-10 01:41:30 +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
Nate Jones cbea64fea1 Voicemail: Copyright date changes. 2015-04-06 21:58:55 +00:00
Nate Jones 23186f9bf5 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 d68a273c64 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 682c4d6281 Add a place to add voicemail name in base64. 2015-04-03 15:21:28 +00:00
Mark Crane 8b05c4f897 Add base64 field to recordings, voicemail, and voicemail recordings. 2015-03-22 10:52:10 +00:00
Nate Jones 349185b8a7 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 8485694537 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 04c846634b Remove deprecation on voicemail_attach_file which was done prematurely. 2015-03-01 07:40:06 +00:00
Nate Jones 71a861580c 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 ded7cb3266 Visual adjustments. 2015-02-15 11:57:14 +00:00
Nate Jones e5295bad45 Visual adjustments. 2015-02-15 09:20:19 +00:00
Nate Jones 0018e553c4 Visual adjustments. 2015-02-15 07:59:02 +00:00
Nate Jones 996e89c396 Removal of colon next to form label names. 2015-02-15 06:50:00 +00:00
Nate Jones dd04574627 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 8672d5fb6d Sort voicemail boxes in ascending order. 2015-01-29 07:18:29 +00:00
Mark Crane e0115b0e99 Add the text class to more of the optional applications. 2015-01-18 10:15:38 +00:00
Nate Jones 147d03169d Use the new multi-lingual code on fusionpbx/app sub directories. 2015-01-18 10:04:43 +00:00
Mark Crane 9369fd8d0d Move the menu array to app_menu.php 2014-12-26 03:27:54 +00:00
Mark Crane bbf2a3badc Add app_menu.php files for the menu. 2014-12-25 19:32:57 +00:00
Mark Crane 6395455576 Fix the redirect on saving the voicemail settings to make it faster to setup. 2014-12-04 08:00:20 +00:00
Mark Crane d8faaff083 Add domain_uuid to the voicemail destinations table. 2014-12-04 07:51:05 +00:00
Mark Crane 8fefa32018 Uncomment voicemail forward destinations. 2014-12-03 15:10:36 +00:00
Mark Crane 83969ad0a8 Change $value to $row. 2014-11-15 00:36:54 +00:00
Mark Crane 0625fcdab3 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 14ca352a4f updated / enhanced french translations 2014-10-29 08:51:56 +00:00
Nate Jones 44bed664ae VM Greetings, VMs: Integrated HTML5 playback button. Misc fixes with other integrations. 2014-09-11 19:48:19 +00:00
Mark Crane 1722c6d86e Add a redirect for voicemails 2014-07-29 07:28:44 +00:00
Mark Crane 7f8b5d6801 Fix the voicemail view so that they are marked as read 2014-07-29 07:25:28 +00:00
Nate Jones d674dc677a Usability Enhancement: Click on list rows to View/Edit items.
Misc other fixes.
2014-06-22 04:34:19 +00:00
Nate Jones fd5f2b8630 Add links to certain column text in a list view.
Misc bug fixes.
2014-06-21 03:42:09 +00:00
Mark Crane e7d6f5e9ab Fix the luarun cal to voicemail 2014-06-09 19:59:25 +00:00
Nate Jones 4e0603113b 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 c32d5ff724 Change the data type from numeric to text 2014-05-02 09:22:38 +00:00
Mark Crane f9ff0ea658 Add a search for app -> voicemails 2014-05-02 09:11:52 +00:00
Nate Jones b93c16945b Voicemail Edit - Removed blank option from T/F select boxes 2014-05-02 06:10:12 +00:00
Nate Jones 40b1e39659 Voicemails, minor language case mods 2014-04-27 10:26:29 +00:00
Mark Crane 5ab64dc223 Use the voicemail greeting permisisons 2014-04-27 03:59:43 +00:00
Nate Jones 596c6a2b02 Submit button also placed at top; reordered to right margin, too. 2014-04-26 23:37:41 +00:00
Mark Crane ca411bd425 Fix the voicemail message size, and download link when using mp3 extension. 2014-03-23 11:31:03 +00:00
Mark Crane e0d06e2b0b Change the voicemai Copy Destinations to Forward Destinations. 2014-03-07 08:35:55 +00:00
Nate Jones 9006c074d5 Streamline password viewing. 2014-03-07 01:52:44 +00:00
Nate Jones caf8a43f37 Added web interface for voicemail destinations (CC) feature to be added shortly. 2014-03-06 23:06:45 +00:00
Nate Jones c8074b956d Added db table/fields for voicemail destinations (CC) feature to be added shortly. 2014-03-06 20:04:47 +00:00
Nate Jones 7d9b3caa3e Unstack list control icons. 2014-02-26 05:53:22 +00:00
Nuno Miguel Reis f063ead227 fixed some translations 2014-02-25 22:49:35 +00:00
Nuno Miguel Reis 248a207f95 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 6abc53c75b Response message updates. 2014-02-23 08:47:58 +00:00
Mark Crane 4a2b6969b5 Finish the Spanish es-cl integration. 2014-02-14 18:37:58 +00:00
Mark Crane 06cb521c10 Add PDO::FETCH_ASSOC to the fetchAll in the voicemail class. 2013-11-24 01:09:10 +00:00
Mark Crane def55290ab 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 7bf66e93fc Refactor voicemail messages. 2013-11-22 15:26:10 +00:00
Mark Crane ea43aa5859 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 486d140004 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 c405bfa745 language translations for pt-pt and some other minor fixes and updates 2013-10-17 22:06:53 +00:00
Nuno Miguel Reis 0fa9d61ee1 language translations for pt-pt and some other minor fixes and updates 2013-10-17 22:06:01 +00:00
Nuno Miguel Reis c0bae01b3a changed single quote to double quotes everywhere 2013-10-01 11:35:07 +00:00
Mark Crane 94f592cc08 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 8cee3bbe44 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 92dde8ac9b 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 84b11a971c 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 7ba40f465e 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 67a0c26eb1 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 c130a8cae5 Change fr to fr-fr and de to de-de. 2013-09-17 20:02:19 +00:00
Nuno Miguel Reis 017650e984 new changes to group_permissions/menu logic 2013-09-17 19:06:44 +00:00
Nuno Miguel Reis 330f008a95 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 f61de19169 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 6761f06806 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 e9aa47069c 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 716dc92852 Rename and move persistformvar.php to the resources directory. 2013-07-06 06:21:12 +00:00
Mark Crane c44d39dcf9 Change the path for includes/require.php to the resources directory. 2013-07-06 06:03:27 +00:00
Mark Crane 6a70d8db41 Change includes/checkauth.php to resources/check_auth.php. 2013-07-06 05:50:55 +00:00
Mark Crane 2c24a3484b Remove the spaces from the 'Voicemail Mail To' addresses. 2013-06-03 14:26:50 +00:00
Mark Crane c56bf3e447 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 2bdaa146ad Adjust the app -> voicemail show 150 results per page instead of 10. 2013-01-24 23:01:09 +00:00
Mark Crane eb699d4bbe Remove the commented line. 2013-01-19 19:51:16 +00:00
Mark Crane f347114ca6 Adjust the voicemail permissions for better security. 2013-01-19 19:47:21 +00:00
Mark Crane c3ae8716fe Voicemail set the password field from text to password. 2013-01-19 19:06:45 +00:00
Mark Crane a748125733 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 6598b53e03 A few minor changes to voicemail. 2013-01-03 19:54:29 +00:00
Mark Crane e3b3ab38d2 Default the voicemail local after email, enabled, and voicemail attach to true. 2013-01-02 23:42:33 +00:00
Mark Crane 41a94f3036 Voicemail messages show the table header and links when there is no voicemails. 2013-01-02 19:31:49 +00:00
Mark Crane 4f63bab3f6 Update the new native voicemail code. 2013-01-01 23:22:07 +00:00
Mark Crane cf041c5494 Show new messages in bold. 2012-12-31 19:38:52 +00:00
Mark Crane 3a1d2bd4bc Enable the ability to clear the greeting id 2012-12-31 16:38:45 +00:00
Mark Crane 98924d572a Remove voicemail messages add and edit permissions. 2012-12-31 16:16:32 +00:00
Mark Crane 2110ba27fe When the voicemail message is deleted then delete the recording. 2012-12-31 16:12:27 +00:00
Mark Crane 6bd2bd13f2 Add voicemail download, size and link to greetings. 2012-12-30 08:55:33 +00:00
Mark Crane 3d36d02aee Fix the multi-lingual framework for voicemail messages, and add a link to it. 2012-12-30 00:58:17 +00:00
Mark Crane e1a9ea7132 In the new voicemail change en to en-us. 2012-12-29 09:28:29 +00:00
Mark Crane 307c21d21e Add the initial gui for the voicemail front end. 2012-12-29 09:17:12 +00:00
Mark Crane 3227dbecd8 Update the database fields for the voicemails table. 2012-12-29 09:15:38 +00:00
Mark Crane 855e179b15 Add voicemail database structure which will be used as a native voicemail tool for FusionPBX. 2012-12-14 19:29:44 +00:00