Commit Graph

52 Commits

Author SHA1 Message Date
FusionPBX
c3952028b1 Use the settings get method for the buttons 2025-04-14 10:36:21 -06:00
FusionPBX
b7e24103bf Use the sessions get method to get rows_per_page 2025-04-14 09:27:06 -06:00
fusionate
86d018009e Fax Server: Better view position (always centered on viewport). 2024-09-27 12:23:11 -06:00
FusionPBX
1d5506826a Fix permission_exists fax_file_edit 2024-09-21 21:12:43 -06:00
fusionate
e4aa30bcd6 Fax - Sent: Added Recipient column, if allowed. 2024-09-17 14:38:11 -06:00
Alex
b43bcb9a13 Added the heading counter div (#7124) 2024-09-06 16:43:42 -06:00
Alex
cb6edd88ef Added content card to applications (#7121) 2024-09-05 17:10:04 -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
79a8d6c8ca Update fax_files.php 2024-07-15 18:18:34 -06:00
FusionPBX
d1c2dfa10a Update fax file download 2024-07-15 17:24:10 -06:00
FusionPBX
555d52cbb3 Add FAX PDF View
Added an iframe to  display the PDF
2024-07-08 22:40:42 -06:00
fusionate
e61868a4ec Fax Server: Implement Read/Unread Toggle. 2024-06-05 06:34:07 -06:00
FusionPBX
0b055bc31b Update fax_files.php
Make the code more efficient by using one database object.
2024-05-14 10:03:14 -06:00
FusionPBX
1df1afa365 Make pdf from tif only if tiffinfo returns a result 2023-08-22 10:28:43 -06: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
FusionPBX
51b22069ee Fix errors when the fax directory doesn't exist. 2023-06-02 16:43:12 -06:00
fusionate
38e80c6e1e Fax - Files: Updates for PHP 8.1 2023-05-29 22:27:31 +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
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
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
markjcrane
d50bcb476a Replace root.php 2022-10-10 16:35:14 -06:00
FusionPBX
fb06a0a45f Update fax_files.php
Minor changes to the select statement.
2022-04-20 20:44:01 -06:00
FusionPBX
dd106a6871 Replace event_socket_mkdir with php mkdir. (#6170) 2021-12-02 19:03:55 -07:00
FusionPBX
95b5660da9 Use the new fax_extension_view_domain instead of if_group superadmin and admin. 2021-03-18 10:35:37 -06:00
fusionate
4f29228768 Fax Server: Better compatibility with current libtiff-tools. 2020-11-05 16:08:27 -07:00
Nate
44e2df3ac1 Fax Server: Modal integration. 2020-03-26 09:38:50 -06:00
Nate
029c7174b4 Multiple - Add IDs to common/default action buttons. 2020-03-05 00:05:45 -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
FusionPBX
bfe9becfa9 Update fax_files.php 2019-11-20 09:05:10 -07:00
Nate
d23c5d84c4 Fax Server: Database class integration. 2019-08-07 18:59:26 -06:00
emaktech
966844d558 Show fax file date in user's timezone (#3999)
Previously timezone was showing in GMT, this now shows fax time in user's timezone. Code to display timezone was copied from fax_logs.php page.
2019-02-04 17:22:40 -07:00
FusionPBX
efe44c71e4 Update fax_files.php 2018-12-17 18:49:02 -07:00
AlexanderDCrane
42f5abb217 Update fax_files.php (#3394) 2018-08-31 14:34:27 -06:00
FusionPBX
19a5f02c40 Update fax_files.php 2018-06-06 11:07:29 -06:00
FusionPBX
6e2f59246e Update fax_files.php 2017-10-20 02:36:15 -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
Mafoo
71525c26b0 I got the permissions wrong (#1616)
it should have been in octal mod (leading 0)
also updated the fax application as it needs the stickygid too
2016-05-26 05:55:46 -06:00
Harry G. Coin
bda6861f88 \r\n --> \n
Cause all the .php files containing lines ending with \r\n to instead end with \n.

DYI with:

find fusionpbx -type f -name '*.php' -exec dos2unix '{}' \;
2016-04-25 20:30:23 -05:00
reliberate
5974b686e9 Apps: Integrate ability to set paging via a Default/Domain/User Setting (domain > paging > numeric). 2016-03-28 23:02:11 -06:00
Alexey Melnichuk
47871b1aa6 Fix. Use text class in fax_files.php 2015-12-25 11:48:17 +03:00
Alexey Melnichuk
c543c42ffa Change. Use path with domain name for faxes for single tenant installation. 2015-12-04 12:57:30 +03:00
markjcrane
0c43e85123 Add a fax server count. 2015-09-04 22:59:13 -06:00
Nate Jones
7fab6d2e88 Fax: Upgrade script to generate and store meta-data from existing fax files, fix Lua script to insert correct fax file path into db, JavaScript prompt corrections, adjust redirect after send to use new interface, fix delete so files on file system are removed (using path from db), fix paging and sorting on Inbox and Sent, fix TIF to PDF conversion for viewing sent/received faxes (if PDF version not present). 2015-05-09 05:22:29 +00:00
Mark Crane
5846ddc24e Link to the fax_files.php file and use fax_inbox_view and fax_sent_view permissions. 2015-05-01 10:48:48 +00:00
Mark Crane
204cc3141c Add the FAX TIF and PDF file download. 2015-05-01 10:24:24 +00:00
Mark Crane
541d9a79a9 Fix the page header and adjust indentation. 2015-05-01 08:48:32 +00:00
Mark Crane
01bff0ff01 Add many changes to fax_files.php including formatting the date, fixing the page header and hide unnecessary fields. 2015-05-01 08:19:56 +00:00