Commit Graph

150 Commits

Author SHA1 Message Date
hargut
903dabfa6c Fix e-mail attachment handling / conversion & allow local emails to be valid (#1921)
* Enable local email addresses to be valid. E.g required for local Fax submission.

* Fix filenames & allow spaces in filenames.

* Fix attachment file names.

* Revert "Fix filenames & allow spaces in filenames."

This reverts commit 0908f42cc7.
See commit ecf490ff79 for the proper fix.
2016-09-19 08:54:58 -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
markjcrane
51ea37ed18 Rename the EventSocket class. 2016-04-02 19:23:16 -06:00
mafoo
6eed9935d4 WhitespaceClean-app/batch_2
whitespace pass over files
for reference regex that was used s/[ \t]+(\r?\n)/\1/
2016-03-11 12:01:24 +00:00
Alexey Melnichuk
df8da0f5ce Change. Send button redirect to Active page. 2015-12-09 13:00:42 +03:00
Alexey Melnichuk
0805ad4c18 Merge branch 'master' into fax_queue 2015-12-09 12:37:55 +03:00
markjcrane
532e01b5c0 Remove count($_SESSION["domains"]) > 1 from the as the domain name should always be part of the fax directory path. 2015-12-08 21:59:09 -07:00
FusionPBX
d8f8346314 Merge pull request #1280 from moteus/fax_path_domain_name
Change. Use path with domain name for faxes for single tenant installation.
2015-12-04 11:44:33 -07:00
Alexey Melnichuk
f01439a2bb Fix. send fax by user listed in fax server list 2015-12-04 21:14:33 +03:00
Alexey Melnichuk
5b1fef316a Fix. send fax by user listed in fax server list 2015-12-04 21:09:25 +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
Alexey Melnichuk
5339e39db8 Add. Send reply message after fax task done. 2015-11-30 11:57:09 +03:00
markjcrane
89c2f4ecb5 Correct the primary key of v_fax_tasks table. Coding standards require primary key to remove v_ prefix, singular form and add a _uuid postfix. Result is task_uuid has been changed to fax_task_uuid. 2015-11-25 08:51:54 -07:00
Alexey Melnichuk
9f59353061 Change. Use function to deal with fax_queue in fax_send.php. 2015-11-23 14:57:44 +03:00
Alexey Melnichuk
2f88d1d985 Fix. Decode email message from quoted-printable/base64.
Fix. Allow set custom fonts to support non latin alphabet.
2015-11-20 14:45:06 +03:00
Alexey Melnichuk
b3cc3a8887 Add. Supports MySQL/SQLite to fax queue. 2015-11-20 10:38:51 +03:00
Alexey Melnichuk
c146f9fc4f Add. Allow specify DTMF in parentheses in phone number.
E.g. `123456 (PP789)`
2015-11-19 14:30:06 +03:00
Alexey Melnichuk
17f435fb22 Add. Web UI to configure fax_queue. 2015-11-18 15:37:41 +03:00
Alexey Melnichuk
4fde7dfc80 Fix. multiple calls fax_send caused error.
Fix. require EventSocket implicitly.
Fix. require `test` class.
2015-11-12 14:00:01 +03:00
markjcrane
f64e96c4c6 Remove absolute_codec_string='PCMU,PCMA' as it failed to allow PCMA. 2015-09-30 20:56:59 -06:00
Alexey Melnichuk
e97ca204fd Fix. Send fax via web on Windows.
* tiffXXX utils did not work with paths like `C:/xxx/ddd.tif`
 * using `gswin32c` instead of `gs`
 * using `copy` function instead of `cp` command
2015-07-09 16:12:27 +04:00
Mark Crane
2cbcbc0f1a Remove the default settings fax prefix and move it to the FAX server table. 2015-05-21 03:48:37 +00:00
Mark Crane
5ff4e02741 Add category: fax, subcategory: prefix, type: text and set a value of some kind of prefix. 2015-05-21 03:05:07 +00: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
luis daniel lucio quiroz
13c76d0d0a do not change headers, add yours 2015-03-23 01:53:25 +00:00
Nate Jones
2c97d2952c Fax Server: Additional checks on folder presence and permissions. 2015-03-22 08:22:51 +00:00
Errol Samuels
73edf8f99b Fixed problem with accountcode not passing in SIP Header 2015-03-21 09:02:51 +00:00
Nate Jones
1e6d3995cf Fax Server: New Fax - Minor layout adjustment for consistency. 2015-02-24 18:39:21 +00:00
Nate Jones
2f22585704 Fax Server: Move default FusionPBX cover page logo graphic to resources folder. 2015-02-19 23:55:44 +00:00
luis daniel lucio quiroz
24c0ccd114 for_fax now on fax 2015-01-27 14:51:57 +00:00
luis daniel lucio quiroz
7f175b4985 accountcode now on fax, PCMU/A as absolute codec string 2015-01-26 19:54:52 +00:00
Mark Crane
c5755666cb Add the text class to more of the applications. 2015-01-18 10:06:08 +00:00
Nate Jones
669e66f0f4 Fax Server: Included check typo, and pull contact email from contact_emails table. 2014-11-29 15:29:49 +00:00
Nate Jones
9bde0c92d6 Fax Server: Fixed uninitialized variable error. 2014-11-29 13:51:05 +00:00
Nate Jones
0fec6216ef Fax Server: Send faxes to multiple recipients at once, customizable 'Subject Tag' for Remote Inbox viewing, preparations for Email-to-Fax functionality. 2014-11-29 13:32:42 +00:00
Nate Jones
f3e726eeea Fax Server: Added interface to access (via IMAP or POP3) the inbound fax target email account. Required: PHP IMAP extension (obviously). 2014-11-27 13:37:08 +00:00
Nate Jones
be47e75eab Contacts: Ability to add unlimited Emails and URLs. Ability to specify a primary Email, Address, URL, and Number. Ability to select or define a custom label for Emails, Addresses, URLs, and Numbers (similar to Google Contacts). 2014-11-19 03:44:41 +00:00
Nate Jones
c878cb406e Fax Server: Only display allowed (shared and/or private) contacts in recipient select box when creating a new fax. 2014-10-18 08:58:59 +00:00
Nate Jones
2226f442d0 Fax Server: Added clear (reset) buttons to file input fields. 2014-10-13 20:56:36 +00:00
Nate Jones
d82374638e Fax Server: Restored page count detection. 2014-09-09 04:10:34 +00:00
Nate Jones
25e31bc95c Fax Server: Modified file conversion methods, misc minor changes. 2014-09-09 03:41:23 +00:00
Mark Crane
9c35d9f2fe Add copy fax file to sent directory not ready to do in lua without additional changes to the interface 2014-09-07 05:38:27 +00:00
Nate Jones
a4b176cf58 Fax Server: Hide Contacts select box if no Contacts with a fax number exist. Order Contacts by name (company, first, last, nick) in select box, cleaned up code a bit. 2014-09-05 02:58:47 +00:00
Nate Jones
7c0d9e440d Fax Server: Added ability to select an existing Contact as the fax Recipient.
Updated jquery.autosize.input.js to latest version.
2014-09-05 02:29:29 +00:00
Nate Jones
07814a945c Fax Server: Removed echo of array in fax_send.php. 2014-09-04 07:01:17 +00:00
Nate Jones
cca4fee7c9 Fax Server: Multiple file upload, customize contact info line and footer in cover sheet, other minor tweaks. 2014-09-04 06:57:26 +00:00
Nate Jones
7a9df29009 Fax Server: Select up to 5 files (TIF or PDF) to send. Added Default Setting for default page size (Auto, Letter, Legal, A4), or override at time of sending fax. 2014-09-04 00:57:09 +00:00
Nate Jones
21dc61fa8e Fax Server: Misc enhancements, including multilingual and customizable cover page generation, fax resolution selection, etc. More to come.
FPDI and TCPDF libraries added to accommodate the above, and future enhancements.
2014-09-03 02:41:11 +00:00