54 Commits

Author SHA1 Message Date
FusionPBX
6ec3c53c1f Email Queue save response false by default 2024-01-24 11:04:51 -07:00
FusionPBX
2d8f591534 Update send.php
Spelling correction and use domain_uuid to find settings
2024-01-24 10:58:12 -07:00
FusionPBX
aee125f23a Create send.php 2024-01-05 15:07:06 -07:00
Andrew Alexander
3a0a7b48f1 openai transcription support (#6850)
* openai transcription support

* Update transcribe.php

* Update transcribe.php
2023-12-14 18:39:11 -07:00
FusionPBX
2e032cd115 Update email_send.php
Move the 'transcribe enabled' message
2023-12-11 12:32:27 -07:00
FusionPBX
87f722e59d check if transcribe_enabled is enabled
We are checking this already on the voicemail. This checks the setting for transcribe_enabled in default and domain settings.
2023-12-11 12:21:15 -07:00
FusionPBX
b919848425 Only include transcribe.php if enabled 2023-12-11 11:51:19 -07:00
FusionPBX
8a2688cfc5 Update email_queue.php 2023-12-11 11:48:58 -07:00
FusionPBX
88a4dbf3e6 Prevent error when the google_url is incorrect 2023-12-11 11:43:55 -07:00
frytimo
3a4c2f72e2 Event socket bug fix and more docs (#6823)
* Add documentation to methods. Use is_resource for added type detection

* Allow connect to specify timeout in microseconds with default 30,000

* Update calling mechanism for event sockets

* Update project for new singleton event sockets

* remove unused variable

* catch errors on closing the socket
2023-12-02 17:16:18 -07:00
fusionate
d9d17a6917 Misc: Remove parameters from event_socket_create() calls. 2023-09-20 18:43:17 +00:00
FusionPBX
a7dce663a1 Simplified array structure as it changed when using the settings class 2023-09-19 11:40:18 -06:00
FusionPBX
7cb3c0b211 Fix the category and subcategory 2023-09-14 21:17:19 -06:00
FusionPBX
5afce93f03 Update email_queue to use settings class 2023-09-14 16:10:13 -06:00
FusionPBX
1880688813 Use settings class needed for the email_queue 2023-09-13 09:54:00 -06:00
FusionPBX
d8cc5d4ad5 Adjust version 2 command 2023-09-07 13:43:40 -06:00
FusionPBX
6036f36a8b Use gscloud for oauth2 for Google v2 2023-09-07 13:37:25 -06:00
FusionPBX
556c1fe284 Add Google API v2 speech transcription 2023-09-07 13:13:05 -06:00
fusionate
d4d5799342 Email Queue - Job & Service: Fix variable issues to mitigate errors. 2023-08-01 00:14:00 +00:00
markjcrane
32051873be Use __dir__ to find resources/require.php 2023-06-16 22:49:09 -06: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
markjcrane
2d2c5fc06e Add email attachment cid and mime type 2023-04-12 14:04:56 -06:00
Finn
8cdcd86ba9 update custom transcription provider for async transcriptions and retry logic (#6583)
Co-authored-by: Finn <finn@acceleratenetworks.com>
2023-03-24 12:43:17 -06:00
FusionPBX
1d36ca2dc9 Preprend the settings to the email response 2023-02-17 16:58:44 -07:00
FusionPBX
c430c5c07f Add email settings to the saved email response 2023-02-17 16:45:52 -07:00
FusionPBX
ef866e12d7 Remove code that was commented out 2023-02-17 12:59:22 -07:00
FusionPBX
97dbe7b31a Save the email response (#6558)
* Save the email response

* use the response variable from the email class

* Rename email_debug to email_response

* Update app_languages.php

* Show the email response

* Save the email response
2023-02-17 12:47:11 -07:00
FusionPBX
7bca5305ec Add the email error
Log the email error to identify what went wrong with the email.
2023-02-13 13:03:04 -07:00
FusionPBX
a28e248867 Use $_SERVER['DOCUMENT_ROOT'] 2023-01-13 14:23:27 -07:00
FusionPBX
e1b0f08321 Update the config.conf include 2023-01-13 13:58:06 -07:00
FusionPBX
720eb58a89 Re-organize the inlcudes. 2022-10-22 23:52:01 -06:00
FusionPBX
9cd8261eda Update email_queue.php 2022-10-22 23:47:58 -06:00
FusionPBX
47c13a7270 Set update_date now() when the status is updated 2022-10-18 07:58:03 -06:00
FusionPBX
b300961d75 Use server DOCUMENT_ROOT variable. 2022-10-11 11:45:37 -06:00
FusionPBX
fa870da5c9 Use server DOCUMENT_ROOT variable
Move includes to the near the top of the page
2022-10-11 11:44:54 -06:00
FusionPBX
f75f623767 Remove root.php and include require.php once 2022-10-11 11:27:57 -06:00
markjcrane
d50bcb476a Replace root.php 2022-10-10 16:35:14 -06:00
FusionPBX
6fc44d467e Update debian.service 2022-09-26 11:43:57 -06:00
FusionPBX
ecb385cf60 PostgreSQL maybe running on a different server 2022-09-26 11:42:32 -06:00
FusionPBX
6f6eb88ebb Use single quotes for the function_exists parameter. 2022-09-12 20:50:13 -06:00
FusionPBX
52b06b5afc Use /proc/$pid if posix_getsid is undefined 2022-08-30 14:45:09 -06:00
FusionPBX
29d1221346 On CentOS posix_getsid function may not be available. 2022-08-30 14:20:40 -06:00
FusionPBX
326544a006 Get the hostname of the server before the loop. 2022-08-16 18:45:48 -06:00
FusionPBX
24b9012d8c Update email_send.php 2022-08-11 13:43:37 -06:00
Dan
4dd80fb779 Add Default Settings for Grandstream Templates, and custom transcription provider for Email Queues (#6401) 2022-05-31 23:05:23 -06:00
FusionPBX
38541f7a2d Add domain_uuid to the email object and remove deprecated code. 2022-05-10 20:21:20 -06:00
FusionPBX
6138c2e138 Prevent running same row from email_queue more than once per row. 2022-04-25 13:16:39 -06:00
FusionPBX
e5a49f4d43 Update email_queue.php 2022-04-24 00:19:57 -06:00
FusionPBX
c48e61124d Update email_queue.php 2022-04-24 00:19:38 -06:00