Commit Graph
553 Commits
Author SHA1 Message Date
markjcrane 28fe89066e Add Chinese, Korean, and Japanese translations 2023-05-02 22:05:16 -06:00
markjcrane 381b3bdd9f Add menu translations 2023-05-02 20:30:13 -06:00
markjcrane 41e87e7f01 Add additional languages 2023-05-02 20:22:44 -06:00
frytimoandTim Fry 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
chansizzle 414829383c Add fax_download_view permission (#6605)
* Add fax_download_view permission

Add fax_download_view permission to allow hiding the "File Name (Download)" column on Fax Inbox and Fax Sent pages. Some users prefer hiding this field as they also have the "View" column that they can click on to view and download PDFs of the faxes.
2023-04-26 21:47:45 -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
FusionPBX 225870213b Change the fax dialplan order
Change to 40 is in case people use a fax number that conflicts with outbound routes
2023-04-24 11:58:52 -06:00
emak 800e742387 Disable fax sending when domain is disabled (#6606)
* Add warning_bar style for disabled fax sending

Add styles for .warning_bar class when fax server sending is disabled due to disabled domain.

* Disable fax sending if domain is disabled

When domain is disabled, users should not be able to send faxes either.

* Add text for fax sending disabled warning
2023-04-10 09:31:16 -06:00
FusionPBX abbaccde9d Move xml::santize
Need to preserve ${caller_id_number} and ${strftime(%Y-%m-%d-%H-%M-%S)} so moved the xml::santize
2023-03-31 13:25:42 -06:00
Alex 43eb2a5b9d [security] sanitize the xml (#6595)
* Update call_center_queue_edit.php

* fix typo

* Update call_flow_edit.php

* Update conference_center_edit.php

* Update conference_edit.php

* Update destination_edit.php

* Update fax.php

* Update ivr_menu_edit.php

* Update ring_group_edit.php

* Update app_defaults.php

* Update ivr_menu_copy.php

* Update destination_imports.php

* Update app_defaults.php
2023-03-30 12:46:36 -06:00
fusionate a65c4cc532 Fax Server - List: Better parameter string. 2023-02-15 19:46:54 +00:00
fusionate ee466d69b0 Fax Server - List: Add Show All, fix search. 2023-02-15 19:33:11 +00:00
FusionPBX 0873d67552 Add a link to fax_queue 2023-01-14 15:05:27 -07:00
FusionPBX e5b4f36b4b Add label-queue 2023-01-14 15:04:05 -07:00
denisent 422b41cf8f malformed sql messed up fax server columns (#6535) 2023-01-11 15:04:34 -07:00
FusionPBX 784bdafccf Use the time zone and format the date 2023-01-02 23:21:40 -07:00
FusionPBX ee17eb2665 Security, sanitize fax file path and name 2022-12-18 15:39:11 -07: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
markjcrane eb5c25aa35 Add insert_date, insert_user, update_date, update_user to all tables 2022-09-18 00:54:37 -06:00
FusionPBX a2cedd0513 Reduce fax originate command
- Size limit for originate command parameters around 1130 characters.
- The originate command is used in event socket and not in shell command so remove escapeshellarg.
- Remove for_fax=1 as it doesn't seem to be used anywhere.
2022-09-16 17:05:36 -06:00
emak 26b3e7893b Add Fax Queue TX Email Variables (#6460)
* Add db field to v_fax_queue to link to fax log

* Add fax_duration field to v_fax_logs

Add fax duration to db to allow for logging of this data for fax email templates.

* Add new email variables to fax send

* Fix some logging variables and fax_log_uuid

Added back some missing session variables for the fax log.

Also update the email queue db field with the fax_log_uuid to allow us to add variables to the fax email templates later.

* Update hangup_tx.lua
2022-08-19 18:08:43 -06:00
FusionPBX a9e534f1fa Remove playback silence_stream 2022-08-18 17:59:41 -06:00
FusionPBX de22a9121a Security use escapeshellarg 2022-06-29 10:24:05 -06:00
FusionPBX 8c6d8a4103 Require the fax extension to be numeric. 2022-06-23 15:02:07 -06:00
FusionPBX d0d0346b42 Use fax_extension_copy permission for the copy button. 2022-06-09 19:23:28 -06:00
agree 55de8844bf [fax] use get_accountcode function to get the accountcode (#6387) 2022-05-16 09:35:58 -06:00
FusionPBX 942212b549 Default fax smtp_from and smtp_from_name to enabled false. 2022-04-27 22:03:42 -06:00
FusionPBX 1ffc8408bd Adjust fax mail_to_address.
For email to fax use the sender email address. Otherwise use the notify email addresses listed on the fax server edit page.
2022-04-25 13:57:58 -06:00
AlexC d3fff20f90 Update app_languages.php (#6350) 2022-04-25 13:04:39 -06:00
FusionPBX 37a0718d44 Send final tif and pdf to the sent box
Prevents having to save them to temp and then to sent box.
2022-04-23 19:37:49 -06:00
FusionPBX 2253f2c17c Use a better way to exec which command 2022-04-23 17:59:56 -06:00
FusionPBX 5fd2ca9105 Use which command to find the path to the commands.
This fixes the FAX send notification PDF attachment.
2022-04-23 17:46:32 -06:00
FusionPBX b5c70ce8ca Add confirm-queued and confirm-sent 2022-04-21 17:03:29 -06:00
FusionPBX e07c37795f Update the FAX message 2022-04-21 17:02:39 -06:00
FusionPBX fb06a0a45f Update fax_files.php
Minor changes to the select statement.
2022-04-20 20:44:01 -06:00
FusionPBX 1fc99311a5 Update fax_emails.php
Added spaces to the code to be more consistent.
2022-04-17 14:21:54 -06:00
FusionPBX 652d135452 Setting fax_send_mode not used so removing it. 2022-04-16 11:20:28 -06:00
FusionPBX 2f32ebd357 Use setting fax_queue enabled boolean. 2022-04-16 11:17:59 -06:00
FusionPBX 3f8e4328fe Use this for now until FAX queue is prepared better. 2022-04-05 14:01:56 -06:00
FusionPBX 8b6f094e08 Use the right hangup hook. 2022-04-03 00:22:14 -06:00
FusionPBX a99395033f Update fax_send.php
Minor changes
2022-04-02 19:06:19 -06:00
FusionPBX 71be6af0c2 Update fax_emails.php 2022-04-01 17:25:57 -06:00
FusionPBX 37f780e4e9 Add to the fax_queue_uuid common variables. 2022-03-31 22:11:00 -06:00
FusionPBX a0cb6ec4fd Lines that were commented out failed with Dovecot IMAP
Changed the code to work around the issue we had with Dovecot on PHP 7.3
2022-03-31 19:22:27 -06:00
markjcrane 35fa6a2a08 Add a new FAX Queue 2022-03-31 12:24:00 -06:00
nyash 0bc048a634 Add/edit some polish translations (#6327)
* Add/edit some polish translations

* Minor touches to polish translations
2022-03-26 14:30:02 -06:00
FusionPBX bbf61c3950 Use contact permissions for the fax contacts if value is true. 2022-02-18 14:08:14 -07:00
agree d8bd345d3a [fax] fix new templates not being enabled (#6290) 2022-02-07 13:15:13 -07:00
FusionPBX edcaff430b Add more fax email templates 2022-02-04 16:10:07 -07:00