Commit Graph

57 Commits

Author SHA1 Message Date
markjcrane
5c7dfe339b Use the database to format the date time with the time zone 2023-05-17 20:41:52 -06:00
fusionate
a26c953291 Voicemail [Class]: Updates for PHP 8.1 2023-05-17 06:59:40 +00:00
FusionPBX
6f554eefa8 Use empty instead of strlen or is_array 2023-05-10 22:18:42 -06:00
fusionate
8f50a96d51 Dashboard - Voicemails: Updates for PHP 8.1 2023-05-10 22:27:19 +00:00
frytimo
fef8165be2 Frytimo pr patches for php8.1 (#6630)
* Passing null to parameter #2 ($string) of type string is deprecated

* Passing null to parameter #1 ($string) of type string is deprecated

* php 8.1 fixes

* php 8.1 fixes - replace strlen($var) > 0 with !empty($var)

* php 8.1 fixes - replace ${var} with {$var}

* php 8.1 fixes - replace ${var} with {$var}

* php 8.1 fixes - replace ${var} with {$var}

* php 8.1 fixes - replace ${var} with {$var}

* php 8.1 fixes - strlower with null

* php 8.1 fixes - strreplace with null

* php 8.1 fixes - passing null to base64_decode

* php 8.1 fixes - check for false and check for null on $this->dir

* php 8.1 fixes - remove assignment of $db variable to modules object

* php 8.1 fixes - avoid sending null to substr

* php 8.1 fixes - change ${var} to {$var}

* php 8.1 fixes - check for null before preg_replace

* php 8.1 fixes - remove setting db variable on domains object

* php 8.1 fixes - set empty string if $row['domain_setting_subcategory'] is null

* php 8.1 fixes - set empty string if $_REQUEST['show'] is not available

* php 8.1 fixes

* php 8.1 fixes - correct $_POST checking syntax

* php 8.1 fixes - correct $_POST variables

* php 8.1 fixes

* Use brackets consistently

* Update user_setting_edit.php

* Change to not empty

* Update device.php

* Update text.php

---------

Co-authored-by: Tim Fry <tim@voipstratus.com>
Co-authored-by: FusionPBX <markjcrane@gmail.com>
2023-05-05 10:46:37 -06:00
frytimo
69bd42af05 remove unneeded destruct methods as GC has higher performance (#6631)
Co-authored-by: Tim Fry <tim@voipstratus.com>
2023-04-27 20:18:53 -06:00
Finn
54be67935b Improve error handling when a recording download fails (#6592) 2023-03-29 17:46:51 -06:00
fusionate
d04b6db96a Dashboard: Call Forward widget, Edit position without reload, misc adjustments. 2023-01-31 00:19:09 +00:00
fusionate
b35aafc391 Dashboard: Click chart to expand/contract details. 2023-01-28 01:52:13 +00:00
Alex
37ab508d1b Update chart.js v3 to v4 (#6529)
* Update chart.min.js

* Update missed_calls.php

* Update recent_calls.php

* Update system_counts.php

* Update system_cpu_status.php

* Update system_status.php

* Update domain_limits.php

* Update voicemails.php
2023-01-06 13:18:53 -07:00
markjcrane
d50bcb476a Replace root.php 2022-10-10 16:35:14 -06:00
AlexC
78c5666aff Fixed dashboard layout bugs (#6263)
* Fixed dashboard layout bugs

* Update domain_limits.php

* Update missed_calls.php

* Update recent_calls.php

* Update voicemails.php

* Update system_counts.php

* Update system_cpu_status.php

* Update system_status.php

* Update caller_id.php
2022-01-25 11:03:37 -07:00
AlexC
68baf7a0db Add dashboard default settings to voicemails.php (#6139)
* Add dashboard default settings to voicemails.php

* Update voicemails.php
2021-11-19 16:32:11 -07:00
AlexC
d24aa11b99 Update voicemails.php (#6123) 2021-11-12 12:55:42 -07:00
AlexC
aa9eac0684 Update voicemails.php (#6115) 2021-11-09 23:19:37 -07:00
AlexC
72cb8929d8 Update voicemails.php (#6108) 2021-11-09 22:22:32 -07:00
AlexC
08288941f0 Add chart to voicemail new messages (#6106) 2021-11-09 22:16:12 -07:00
markjcrane
032a5aec39 Add a new dashboard 2021-11-09 18:42:14 -07:00
agree
b02cb75620 [voicemail] Add option whether to delete or keep message after forwarding (#5985)
* [voicemail] Add option whether to delete or save message after forwarding

* Fix recording playback

phrase doesn't exist
2021-11-09 13:57:16 -07:00
chansizzle
87d47fe961 create voicemail envelope information option (#5966)
* create voicemail envelope information option

* Update voicemail.xml
2021-06-21 16:16:47 -06:00
fusionate
c67c8cd4c2 Destination Select - Dynamic: Clear session array on add/toggle/delete of a destination type record. 2020-11-30 14:15:57 -07:00
Nate
46adde4a22 Voicemail: Use phrases instead of direct sounds. 2020-09-25 16:58:44 -06:00
Nate
365e20926f Safari Audio Support: Call Recordings, MOH, VM Greetings & Messages and CDR audio files. 2020-03-30 20:08:45 -06:00
Nate
3de8a941e8 Voicemail - Edit: Add bulk delete of Options and Destinations, dynamic Delete button action. Remove deprecated Option delete script. 2020-03-03 19:13:16 -07:00
Nate
3e729537a6 Voicemail: Fix email download link. 2020-02-13 07:15:59 -07:00
Nate
601102f898 Dashboard, Voicemail Messages & Greetings: Bug fixes. 2019-12-24 00:13:15 -07:00
Nate
eacc0095bd Voicemail Messages: List view updates. Voicemail Edit: Hide Listen Link option. 2019-12-13 12:56:48 -07:00
Nate
5f20080c66 Voicemails: Fix delete multiple boxes. 2019-12-11 14:52:50 -07:00
Nate
4effe4c8b5 Voicemails: List view updates. 2019-12-09 17:05:31 -07:00
Nate
836fb87136 Misc Classes: Database class integration. 2019-09-02 15:57:18 -06:00
Alexey Melnichuk
c72fca1c6b Fix. Send message notify when toggle vm message in Web UI. (#2774) 2017-08-01 16:02:08 -06:00
FusionPBX
fad97e0d37 Update voicemail.php 2016-12-03 13:32:55 -07:00
FusionPBX
370c047360 Update voicemail.php
Validate the input to increase security in the voicemail class.
2016-12-03 12:02:14 -07:00
jebsolutions
63664f7807 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
FusionPBX
0f2fd84ccf Update voicemail.php
Delete the voicemail intro when deleting a voicemail message from PHP.
2016-09-03 15:43:30 -06:00
FusionPBX
ae2f1ca873 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
FusionPBX
0852d05788 Update voicemail.php
Don't use is_array with glob.
2016-05-10 22:53:42 -06:00
FusionPBX
c0a2059ac8 Update voicemail.php
Use is_array with foreach in the voicemail php class.
2016-05-10 22:51:03 -06: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
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
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
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
Alexey Melnichuk
7d5c5f1161 Fix. Play voicemail.
Copy from recordings.php
2015-12-11 16:40:49 +03: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
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
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
Mark Crane
8672d5fb6d Sort voicemail boxes in ascending order. 2015-01-29 07:18:29 +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