Commit Graph

297 Commits

Author SHA1 Message Date
FusionPBX
cb2e0df06c Update fax.php 2016-10-23 00:20:29 -06:00
FusionPBX
cec74695d1 Update app_defaults.php 2016-10-22 21:21:17 -06:00
FusionPBX
e173006be4 Update app_defaults.php 2016-10-22 16:37:56 -06:00
FusionPBX
ad0ab54d28 Update fax_edit.php
Remove the unofficial billing from fax edit.
2016-10-08 22:16:54 -06:00
FusionPBX
8fe60ba751 Update fax.php
Update the FAX dialplan to use the updated orm class.
2016-10-08 22:13:46 -06:00
Chris Black
26a0a702aa fix fax multiple files. (#1963)
Added some changes from ICR regarding the text/plain emails, added a
uuid to the file name when getting saved to the FS in the event that
multiple emails come in with the same exact file name and also reset
the tif_files in fax_send as it was just adding to the end of the array
and creating bad tiffcp commands.
2016-09-30 15:47:22 -06:00
hargut
ceb532eb7e 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
Alexey Melnichuk
6d0303d7f1 Fix. use new parse_message function to Fax Inbox page. (#1559)
* Fix. use new parse_message function to Fax Inbox page.

* Fix. display messages without attachment.
2016-08-25 16:10:22 -06:00
FusionPBX
4a9dc8bdda Update fax_edit.php 2016-08-13 14:22:11 -06:00
markjcrane
28c59d4eec Update recur_sounds_dir to return an array rather than using a global variable. 2016-08-04 09:49:57 -06:00
markjcrane
6f2601e32a Use FreeSWITCH to run mkdir so it inherits its own user and group permissions. 2016-06-28 15:18:40 -06:00
Mafoo
59ddf92f1b 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
markjcrane
3abaff004c Check the missing array has content before processing it. 2016-05-04 00:22:35 -06:00
Alexey Melnichuk
114b2fb202 Fix. Set all allowed extensions while default settings. 2016-05-02 23:59:47 -06:00
markjcrane
bc51cd7d1d Cleanup the indentation ... tabs and whitespace after the last pull request. 2016-04-28 16:56:44 -06:00
Harry G. Coin
7442f32a53 Cleanups.
Remove default 192.168.42.42/32 allow.
Restore missing app/fax/resources/functions/parse_attachments.php to satisfy pre-existing include
Fix so sql in voicemail app works if var undefined.  Warning: don't know if non Mariadb's like cast(...) .
Cleanup close in event socket.
2016-04-25 22:16:19 -05:00
Harry G. Coin
fd313a7c66 fixes so cli installs/upgrades work.
Also another step along the way allowing freeswitch to run -u -g freeswitch and fusionpbx to run -u -g www-data
2016-04-25 21:26:26 -05:00
Harry G. Coin
64eeca8e2d Fix so fusionpbx doesn't fail on servers with php versions later than 5. (e.g. php7).
Also a few warning causes fixed.
Also, one step along the way to allow freeswitch to be u freeswitch g freeswitch and fusionpbx to run www-data:www-data.
2016-04-25 20:52:21 -05:00
Harry G. Coin
91a92d8e5e \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
Harry G. Coin
89e5ecbcdf The goal is to increase confidence in fusionpbx, one step is to run by default with error_reporting (E_ALL ^ E_NOTICE);
So, please find in this set numerous small changes which eliminate numerous php warning messages.

Also, a small bug fix in an sql statistics routine, naming a count(*) field as count, so displaying correct detail.

If any of the proposed changes are omitted, the relevant page will experience php warnings.

There are no doubt fusionpbx pages I've yet to visit that still generate warnings, this set is nearly certainly not comprehensive.
2016-04-25 20:19:58 -05:00
Alexey Melnichuk
969889cc98 Add. allowed_extension array to specify allowed files in email. 2016-04-14 17:38:33 +03:00
Alexey Melnichuk
889b8f9998 Change. parse_message do full parse test and attachments.
Change. use only `text/plain` part to build front page.
Change. use only `attachment` but not `inline` files to build fax file.
2016-04-08 12:31:13 +03:00
Alexey Melnichuk
8863db89fd Fix. get text part of email message with single part email. 2016-04-07 13:11:24 +03:00
markjcrane
7d61371bc9 Rename the EventSocket class. 2016-04-02 19:23:16 -06:00
reliberate
cd7843b7f3 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
facbd6a62d Fix. Display correct gateway name in URI on Fax Active page 2016-03-23 14:02:33 +03:00
mafoo
e410824380 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
markjcrane
5a06f486af Rename .project.ROOT to project_root.php this conforms better with current file naming standards. 2016-02-22 14:01:18 -07:00
markjcrane
13861172a9 If the user is in the superadmin or admin group and user group it was preventing the fax_forward number from being updated. 2016-02-11 00:19:44 -07:00
markjcrane
b489074e0c Fax add a way to change the inbound fax file name. 2016-02-10 21:44:03 -07:00
mafoo
467384aece Corrected selected statements 2016-02-03 17:32:07 +00:00
mafoo
c17fccbff2 Fix for phrases are actually phrase_uuid not phrase_name.domain_uuid 2016-02-03 15:08:28 +00:00
Mafoo
ad324f4744 changed throw Exception to die
nothing ever eval runs the root.php so changed to die to cause a immediate report of error and stop code processing.
2016-01-20 11:30:31 +00:00
Mafoo
2669f6f1a9 Added check for if .project.ROOT is missing
If a installation is missing the .project.ROOT previously it would just use the last search path as the project root (wrong) this will cause a Exception should it be unable to find it
2016-01-18 09:38:16 +00:00
markjcrane
23b4b7c9bf Change $_SERVER['DOCUMENT_ROOT'].PROJECT_PATH to $_SERVER["PROJECT_ROOT"]. 2016-01-17 00:01:13 -07:00
Matthew Vale
b20a38f454 added logic in cli mode to chdir to the correct directory first
the webserver would normally do this for us, but we need to do it
2016-01-14 16:25:05 +00:00
Matthew Vale
173ae7001d Added full logic to support cli as well 2016-01-13 17:38:54 +00:00
Matthew Vale
b81748bd22 change to use '/' instead of DIRECTOR_SEPERATOR 2016-01-12 14:47:50 +00:00
Matthew Vale
1ad1c31b27 Rollout of root.php 2016-01-12 13:55:39 +00:00
Alexey Melnichuk
9f8d05481f Fix. Use text class in fax_files.php 2015-12-25 11:48:17 +03:00
Matthew Vale
b76a1a4b4f First pass on app/* 2015-12-10 10:12:41 +00:00
FusionPBX
f3f1cf655e Merge pull request #1295 from moteus/fax_queue_greet_combobox
Add. Allows select greeting.
2015-12-09 16:26:43 -08:00
Alexey Melnichuk
c0ec50e46c Fix. forgotten images. 2015-12-09 13:51:25 +03:00
Alexey Melnichuk
742a782183 Fix. Use Test interface to translate UI. 2015-12-09 13:37:32 +03:00
Alexey Melnichuk
199b7e0def Add. Allows select greeting. 2015-12-09 13:21:37 +03:00
Alexey Melnichuk
5cb8aa1d2a Change. Send button redirect to Active page. 2015-12-09 13:00:42 +03:00
Alexey Melnichuk
32685f7d98 Merge branch 'master' into fax_queue 2015-12-09 12:37:55 +03:00
markjcrane
68bb079781 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
markjcrane
6d62de669b Add tabbing to parse_attachments.php. 2015-12-08 21:57:18 -07:00
Alexey Melnichuk
279a745e4f Add. Ability to delete fax queue element 2015-12-08 16:42:13 +03:00