Commit Graph

312 Commits

Author SHA1 Message Date
FusionPBX 37b34b65c9 Update app_config.php 2017-02-15 22:36:26 -07:00
netpro25 289861272e 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 83c82f1bbf Be sure FAX path exists before uploading (#2345) 2017-02-07 21:37:48 -07:00
Luis Daniel Lucio Quiroz d6f888f6a9 PHP bin is not always php5 (#2350)
not everybody names php binary as php5
2017-02-07 21:31:52 -07:00
FusionPBX e9836b9c69 Update app_config.php 2017-02-01 13:22:24 -07:00
FusionPBX ab5394aba4 Update fax_send.php
Prevent the fax cover page from exceeding 1 page.
2017-01-22 22:34:47 -07:00
FusionPBX 423e9076b4 Update app_config.php 2017-01-12 23:31:10 -07:00
FusionPBX b70ed2767b Update app_defaults.php 2017-01-12 23:27:11 -07:00
jebsolutions 273a69fc50 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 587cdefd0a Update fax_send.php
Fax conversion failed until adding the /tmp as the home directory in this way.
2016-12-17 12:47:38 -07:00
FusionPBX 1efc9e24e7 Update fax_send.php
Adjust the spacing for better consistency matching the rest of the code.
2016-12-02 21:35:40 -07:00
FusionPBX 258f0f759f Update fax.php 2016-12-02 01:16:38 -07:00
FusionPBX 8445a2bffb Update fax_send.php
Get fax variables from default settings and use them for sending.
2016-11-11 13:19:52 -07:00
FusionPBX 38aae2a9be Update app_defaults.php
Ignore ringing to improve fax success rate.
2016-11-11 13:05:51 -07:00
jebsolutions 27694ba988 app/fax/app_defaults.php: (#2031)
+ fix: duplicate check only within same default_setting_category.  This fixes the bug where "keep_local" for fax wasn't being created because there was a "keep_local" for voicemail.  Without this fix you will get a lua error due to the field not being set and nothing shows up in the sent faxes log.

fax/fax_log_view.php:
+ fix: back button text is missing.  Copied correct localized text code from another fax page that worked.

app/fax/app_config.php
+ fix: date field is now timestamp for postgres+mysql.  This fixes the listing only showing the date, not the time as well.

Note: app->defaults doesn't change field types.  Existing installs will have to manually update the field type e.g. for postgres:

sudo -sHu postgres
\d fusionpbx
alter table v_fax_logs alter column fax_date type timestamp without time zone;
\q
2016-11-03 16:24:40 -06:00
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