Commit Graph

176 Commits

Author SHA1 Message Date
FusionPBX
70c76ad025 Update app_config.php 2017-01-14 13:57:51 -07:00
FusionPBX
d7b6fbd706 Update voicemail.php 2016-12-03 13:32:55 -07:00
FusionPBX
decc256aca Update voicemail_delete.php 2016-12-03 13:23:32 -07:00
FusionPBX
69cde30f8b Update voicemail.php
Validate the input to increase security in the voicemail class.
2016-12-03 12:02:14 -07:00
FusionPBX
266cbaa28d Update voicemail_messages.php 2016-12-03 11:49:51 -07:00
jebsolutions
c5a47e0287 fix: voicemail message delete bug #2100 (#2221)
bug: voicemail_id was never set so wrong path constructed and glob finds no matching files.

test case:
delete a voicemail message from the web interface

expected result:
voicemail is deleted in the database + file system

actual results:
voicemail is still on the file system
2016-12-01 11:53:12 -07:00
Chris Black
1431a8a3fb Voicemail to sms notification (#2205)
Requires that you have fusionpbx-apps/sms

Doesn’t impact anything if you don’t have it. Must be enabled with
default_setting voicemail_to_sms

Everything is disabled by default and the fields in voicemail_edit.php
are hidden by default.
2016-11-30 16:26:39 -07:00
FusionPBX
67c8e5f567 Update voicemails.php
Uppercase the SQL, cast voicemail id as text, and add sterilize user data.
2016-11-24 13:01:32 -07:00
Chris Black
7c4a726766 add built in ability for microsoft bing speech to text (#1960)
* add built in ability for microsoft bing speech to text

* move json.lua to lower case and more error checking in record_message

* Replaced Creative Commons json.lua with lunajson.lua which is MIT license

https://github.com/grafi-tt/lunajson/blob/master/LICENSE
2016-11-03 16:11:21 -06:00
FusionPBX
0896f8abcc Update app_languages.php 2016-09-20 10:01:40 -06:00
FusionPBX
a1a2e68fdc Update voicemail_edit.php 2016-09-20 09:51:48 -06:00
FusionPBX
289cbff7ad Update app_config.php
Add voicemail_alternate_greet_id to the database.
2016-09-20 09:42:00 -06:00
FusionPBX
85308e9978 Update voicemail.php
Delete the voicemail intro when deleting a voicemail message from PHP.
2016-09-03 15:43:30 -06:00
FusionPBX
dc8103ba3c Update app_config.php
Add voicemail message intro for base64.
2016-09-03 15:24:22 -06:00
FusionPBX
d60273c55e Update voicemail_edit.php 2016-08-28 14:27:15 -06:00
FusionPBX
c2bbc9e525 Update voicemail.php
Improve the voicemail class by using construct and destruct. Reduce the use of session variables in the class.
2016-07-22 10:31:08 -06:00
markjcrane
ff224fc8f5 Remove voicemails/app_defaults.php directory structure be created on demand. Move this code to scripts voicemail_directories.php 2016-07-01 12:09:44 -06:00
reliberate
5f33e2b592 Voicemail: Fix an issue with the Back button on Voicemail Greetings page. 2016-07-01 02:53:01 -06:00
markjcrane
6f2601e32a Use FreeSWITCH to run mkdir so it inherits its own user and group permissions. 2016-06-28 15:18:40 -06:00
markjcrane
504ea75d3b Move the voicemail default settings to main default_settings/app_defaults.php for better efficiency. 2016-06-26 12:32:51 -06:00
markjcrane
f26930c819 Make the voicemail app_defaults more efficient and prevent duplicates. 2016-06-26 12:00:06 -06:00
Mafoo
f88691618e Enhance-make voicemail length configurable (#1702)
allow the voicemail max_lengths to be configured from domain/default
settings
2016-06-24 10:28:47 -06:00
reliberate
68c442e063 Music on Hold: Style/layout tweaks.
Recordings:  Updated to support new audio playback indicator. Show upload date/time (when not using base64).
VM Messages:  Updated to support new audio playback indicator.
VM Greetings:  Updated to support new audio playback indicator.
CDR:  Updated to support new audio playback indicator.
2016-06-22 12:42:03 -06:00
Mafoo
59ddf92f1b I got the permissions wrong (#1616)
it should have been in octal mod (leading 0)
also updated the fax application as it needs the stickygid too
2016-05-26 05:55:46 -06:00
Mafoo
a8b667cd0b Added sticky GID permissions (#1615) 2016-05-25 21:51:41 -06:00
FusionPBX
d6bb63b0cc Update voicemail.php
Don't use is_array with glob.
2016-05-10 22:53:42 -06:00
FusionPBX
7e02426a80 Update voicemail.php
Use is_array with foreach in the voicemail php class.
2016-05-10 22:51:03 -06:00
markjcrane
e59a1747b5 Change voicemail_id from text to numeric and remove the cast on voicemail_id. 2016-04-29 09:49:04 -06:00
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