Commit Graph

137 Commits

Author SHA1 Message Date
FusionPBX
c3952028b1 Use the settings get method for the buttons 2025-04-14 10:36:21 -06:00
FusionPBX
cd8d5302ac Fix temporary permissions 2024-11-29 13:57:01 -07:00
fusionate
183e5d652d Fax Server - Edit: Adjust style for Email & Confirmation Email fields. 2024-09-24 16:33:46 -06:00
FusionPBX
095d0d836f Add translations for email confirmation 2024-09-23 09:40:51 -06:00
anthony-ricci
4df5253b64 Fax Server changes (#7136)
* Added the ability to send out successful and failed fax notifications to a separate list of email addresses (confirmation emails), in addition to the email address of the originator of the fax.
 * Added new fax_email_confirmation permission
* Check the Session variable for the user's email first and if it is not set, then query the database for the currently logged-in user's email.
2024-09-23 09:10:37 -06:00
Alex
cb6edd88ef Added content card to applications (#7121) 2024-09-05 17:10:04 -06:00
fusionate
5a456b9b86 Fax Server: Add missing translations on Fax File field. 2024-08-22 16:43:27 -06:00
fusionate
12eead4b4d Fax Server: Add option for Download Link on received fax notifications, instead of attachment. 2024-08-22 16:11:06 -06:00
FusionPBX
fb7d4e5cc3 Update new extension_range 2024-05-30 18:45:45 -06:00
chansizzle
4cdddba430 Add suggested extension ranges (#6871) 2024-05-30 17:58:05 -06:00
FusionPBX
8e76a940aa Move fax advanced to its own file 2024-04-11 13:23:09 -06:00
FusionPBX
951c36b70b Add more fax permissions 2024-02-05 13:35:06 -07:00
fusionate
8bd5bc04dd Fax: Remove deprecated fax_send_greeting elements. 2023-11-07 15:40:34 +00:00
fusionate
c3438ec3ae Fax - Edit: Fix issue with Authorized Senders. 2023-06-30 18:52:02 +00:00
frytimo
d7bbcd89f5 Use magic constant dir (#6711)
* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__

* use magic constant __DIR__ to load only functions.php

* replace spaces with tab character

* update dirname command to use levels instead of nesting

* use magic constant __DIR__

* update dirname command to use levels instead of nesting

* Update access_control_edit.php

* Update access_control_import.php

* Update access_controls.php

* Update dnd.php

* Update access_controls_reload.php

* Update call_center_agents.php

* Update call_center_agents.php

* Update fax_queue.php

* Update login.php

* Update pdo.php

* Update pdo_vm.php

* Update switch.php

* Update index.php

* Update css.php

* Update v_mailto.php

* Update fax_to_email.php

---------

Co-authored-by: FusionPBX <markjcrane@gmail.com>
2023-06-15 11:28:23 -06:00
markjcrane
f506b00b57 PHP 8.2 Deprecated dynamic properties 2023-06-12 21:27:23 -06:00
fusionate
3f17c98516 Fax - Edit: Updates for PHP 8.1 2023-05-29 22:26:37 +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
Luis Daniel Lucio Quiroz
0c28221ae2 Fix adding Faxes (#6614)
$fax_email_outbound_authorized_senders is only filled when fax_extension_advanced permission is set. However, the edit part doesn't verify that sizeof(NULL) creates a fatal error.

Fatal error: Uncaught TypeError: sizeof(): Argument #1 ($value) must be of type Countable|array, null given in /var/www/fusionpbx/app/fax/fax_edit.php:286 Stack trace: #0 {main} thrown in /var/www/fusionpbx/app/fax/fax_edit.php on line 286

This patch verifies that $fax_email_outbound_authorized_senders is an array before sizeof() evaluates it. You can now add faxes with the fax_extension_advanced disabled.
2023-04-24 21:06:58 -06:00
chansizzle
b8c2fc182a allow fax FROM to have more characters (#6503)
Fax cover sheet FROM field - increase the number of characters
2022-12-07 11:13:16 -07:00
markjcrane
d50bcb476a Replace root.php 2022-10-10 16:35:14 -06:00
FusionPBX
8c6d8a4103 Require the fax extension to be numeric. 2022-06-23 15:02:07 -06:00
agree
55de8844bf [fax] use get_accountcode function to get the accountcode (#6387) 2022-05-16 09:35:58 -06:00
FusionPBX
4c7f6d0a6b Change mkdir to recursive. 2021-12-30 10:19:47 -07:00
FusionPBX
dd106a6871 Replace event_socket_mkdir with php mkdir. (#6170) 2021-12-02 19:03:55 -07:00
fusionate
0dc478ac00 Fax Server: Add ability to authorize domains for Email-to-Fax. 2020-12-02 12:20:10 -07: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
44e2df3ac1 Fax Server: Modal integration. 2020-03-26 09:38:50 -06:00
Nate
e8494facee Multiple: Add IDs to form tags, remove empty action attributes. 2020-03-05 10:02:25 -07:00
Nate
029c7174b4 Multiple - Add IDs to common/default action buttons. 2020-03-05 00:05:45 -07:00
Nate
0f3b464937 Fax - Edit: Minor mods. 2020-02-13 13:04:26 -07:00
Nate
1ceccf698e Fax Server: List view, button, bulk delete via class, etc. 2020-01-29 11:41:12 -07:00
Nate
d79244b39d Fax Server: Add window titles. 2020-01-06 11:43:43 -07:00
agree
d20a403679 added toll allow to fax server (#4936) 2019-12-08 22:37:12 -07:00
Nate
ec3e73a9ab Fax Server: List view updates. 2019-11-21 12:58:08 -07:00
Nate
d95ab3ea2c Update fax_edit.php 2019-09-19 13:30:32 -06:00
FusionPBX
435b7a5810 Update fax_edit.php 2019-09-19 08:08:17 -06:00
Nate
a763609b6c Fax Server: Token integration. 2019-09-19 06:27:05 -06:00
frytimo
7ecf092dd6 Match mixed case in "from" address (#4619)
RFC's do not specify addresses must be converted lower case by email servers. If a sender has set their "from" address set to a mixed case string, the fax send will not match the authorized senders. This ensures newly entered authorized senders are now stored as lower case.
2019-09-17 12:38:59 -06:00
FusionPBX
e5bd7a6575 Update fax_edit.php 2019-08-24 09:42:02 -06:00
FusionPBX
354b909bd1 Update fax_edit.php 2019-08-24 09:40:37 -06:00
FusionPBX
26a81ba57f Update fax_edit.php 2019-08-24 09:33:56 -06:00
FusionPBX
554df5ffa5 Update fax_edit.php 2019-08-24 09:26:47 -06:00
Nate
d23c5d84c4 Fax Server: Database class integration. 2019-08-07 18:59:26 -06:00
Nate
b8b96b7af8 Additional browser autofill prevention for Devices, Fax, Gateway and User 2019-04-12 10:18:03 -06:00
FusionPBX
a0a498fc01 Update fax_edit.php 2019-03-15 00:01:21 -06:00
FusionPBX
e647de5601 Update fax_edit.php 2019-02-12 14:01:04 -07:00
FusionPBX
5ea5c64855 Update fax_edit.php 2018-12-14 15:13:28 -07:00
markjcrane
a72f1d6266 Change messages class to message 2018-08-31 03:09:01 +00:00
AlexanderDCrane
c1457ac053 Update fax_edit.php (#3173) 2018-06-13 00:18:35 -06:00