Commit Graph

127 Commits

Author SHA1 Message Date
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
FusionPBX 22aed077b7 Update fax_edit.php 2018-06-02 23:17:13 -06:00
FusionPBX f2442bfb2c Update fax_edit.php
Changed the type of fax_caller_id_number to text, because otherwise the leading 0 is removed.
2018-02-21 16:08:01 -07:00
Mafoo 3cab4401cf Enhance - More messages::add updates (#2662)
convert more messages over to messsagse::add
2017-06-09 20:13:40 -06:00
netpro25 ee753a3d50 Add multiple email fields (#2365)
Add multiple email fields to make entering multiple email addresses easier.
2017-02-08 14:32:07 -07:00
Luis Daniel Lucio Quiroz 6b6a0dab18 PHP bin is not always php5 (#2350)
not everybody names php binary as php5
2017-02-07 21:31:52 -07:00
jebsolutions f13020b70c Minor fixes to HTML markup. (#2274)
call_flow_edit.php
- fix: <script> tag output before html headers
2016-12-27 10:06:30 -07:00
FusionPBX 8c5c82de7a Update fax_edit.php
Remove the unofficial billing from fax edit.
2016-10-08 22:16:54 -06:00
FusionPBX 2a7e6cbd2e Update fax_edit.php 2016-08-13 14:22:11 -06:00
markjcrane f5959516ed Update recur_sounds_dir to return an array rather than using a global variable. 2016-08-04 09:49:57 -06:00
markjcrane bd23c78670 Use FreeSWITCH to run mkdir so it inherits its own user and group permissions. 2016-06-28 15:18:40 -06:00