Commit Graph

155 Commits

Author SHA1 Message Date
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
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