Commit Graph

366 Commits

Author SHA1 Message Date
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
Alexey Melnichuk c76edde6d3 Add. Web UI to monitor for fax queue. 2015-12-08 16:16:54 +03:00
FusionPBX 62279c2acc 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 5f9554c301 Fix. send fax by user listed in fax server list 2015-12-04 21:14:33 +03:00
Alexey Melnichuk 3e0c6a83a9 Merge branch 'send_fax_by_user' into fax_queue 2015-12-04 21:10:17 +03:00
Alexey Melnichuk 6fa4da3612 Fix. send fax by user listed in fax server list 2015-12-04 21:09:25 +03:00
Alexey Melnichuk 9568eb43f4 Change. Use path with domain name for faxes for single tenant installation. 2015-12-04 12:57:30 +03:00
Alexey Melnichuk c9be5948c0 Add. Send reply message after fax task done. 2015-11-30 11:57:09 +03:00
markjcrane 8a783fdc03 Add the additional language variables to app_languages.php. 2015-11-27 11:25:50 -07:00
markjcrane 331778e36c 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 3d643bbb2d Fix. Update language file. 2015-11-23 16:33:43 +03:00
Alexey Melnichuk ef38b27777 Change. Use function to deal with fax_queue in fax_send.php. 2015-11-23 14:57:44 +03:00
Alexey Melnichuk 506a829202 Fix. Poll several mail at once.
Problem causes by fax_send.php which change current dir and second call can not finding libraries.
2015-11-20 15:22:09 +03:00
Alexey Melnichuk 4219034bf5 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 5e0947813c Add. Supports MySQL/SQLite to fax queue. 2015-11-20 10:38:51 +03:00
Alexey Melnichuk c81d00272f Fix. fax_emails.php relay on number cleanup in fax_send.php 2015-11-19 14:48:41 +03:00
Alexey Melnichuk 70ac60caf3 Add. Allow specify DTMF in parentheses in phone number.
E.g. `123456 (PP789)`
2015-11-19 14:30:06 +03:00
Alexey Melnichuk 18574dfe8b Fix. Use fax_send_mode option in fax_send.php file. 2015-11-19 13:13:47 +03:00
Alexey Melnichuk 83b26ff901 Fix. Display description as last item on fax_server page 2015-11-19 12:36:35 +03:00
Alexey Melnichuk 8abdbf3f0b Add. Web UI to configure fax_queue. 2015-11-18 15:37:41 +03:00
Alexey Melnichuk a10e508972 Fix. multiple calls fax_send caused error.
Fix. require EventSocket implicitly.
Fix. require `test` class.
2015-11-12 14:00:01 +03:00
markjcrane 81917bd977 Remove absolute_codec_string='PCMU,PCMA' as it failed to allow PCMA. 2015-09-30 20:56:59 -06:00
markjcrane 4cfe899919 A few more minor adjustments. 2015-09-04 23:05:08 -06:00
markjcrane 2a3240c7c4 Add a fax server count. 2015-09-04 22:59:13 -06:00
markjcrane c7c173f674 Add fax_forward_number to the fax class. 2015-08-21 17:10:42 -06:00
markjcrane 88ae0b72c7 Add fax prefix tot he fax class. 2015-08-21 17:04:34 -06:00
markjcrane 933db5bc01 Use fax_extension for the directory path needed for outbound faxes. 2015-08-21 16:17:42 -06:00
markjcrane 8a8f73d81d Change the fax_extension to fax_destination_number. 2015-08-21 15:43:40 -06:00
markjcrane 991731e12d Fix the fax dialplan which prevented inbound faxes from saving using the new fax dialplan. 2015-08-19 12:41:34 -06:00
markjcrane 91911a10ca Add fax default setting keep_local. 2015-08-16 01:53:39 -06:00
markjcrane 2de8ac119d Fax variables for inbound, outbound, and both. 2015-08-15 15:26:16 -06:00
markjcrane 504d89dd90 Add a new fax class to make the fax dialplan. 2015-08-15 14:27:27 -06:00
markjcrane 08c4618ec2 Change the default fax_enable_t38_request to false. 2015-08-15 13:20:41 -06:00
markjcrane 7917c7cc8b Make the fax/app_defaults.php more efficient and add fax_enable_t38=true and fax_enable_t38_request=true. 2015-08-15 13:17:07 -06:00
markjcrane 15ca076e09 Escape the $ in the domain_uuid variable. 2015-08-05 18:17:39 -05:00
markjcrane 5c8a6dd7fe Add destination details to several app_config.php files. 2015-08-04 14:52:10 -06:00
markjcrane 73d62546a4 Make the title-<app name> more consistent. Use underscore in the label name instead of a dash. Dash is used between label type and the label name. 2015-08-03 15:17:05 -06:00
root fead5df810 Add latest translations 2015-08-02 23:42:11 +00:00
Alexey Melnichuk a6440ac0aa 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 8356f9ffe3 Prevent a fax problem when current user is in both the admin and also in the user group. 2015-06-30 15:35:23 +00:00
Mark Crane a9bc524330 Add latest translations 2015-06-20 12:30:02 +00:00
Mark Crane dbee568624 Add latest translations 2015-06-20 11:30:02 +00:00
Mark Crane 6654507706 Add latest translations 2015-06-15 19:30:00 +00:00
Mark Crane b64c850a9a Sync the recent translations 2015-06-13 05:35:54 +00:00
Mark Crane fb87aac5db Set fax_enable_t38_request to false solves problem with 'Called dropped prematurely' 2015-06-08 17:54:49 +00:00
Mark Crane 2b69ac00d7 Synchronize the translations. 2015-06-06 02:37:26 +00:00
Mark Crane f76c3944c4 Add imap_errors() the fax/fax_emails.php to make it possible to see IMAP connection problems. 2015-06-01 22:44:28 +00:00
Mark Crane 09ea679bdb If Remote Inbox Subject Tag is not set then check the local fax files. 2015-06-01 21:21:33 +00:00
Mark Crane 84f524dd27 Fix a problem caused by the new FAX prefix. 2015-05-22 00:04:55 +00:00
Mark Crane 0e27f79edf Update the fax prefix description. 2015-05-21 04:07:51 +00:00
Mark Crane 4a67abb23a Remove the default settings fax prefix and move it to the FAX server table. 2015-05-21 03:48:37 +00:00
Mark Crane fce5968566 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 6e87e5ca86 Fax: Fixed an issue when multiple email addresses are defined in fax-to-email feature (was only sending email to the last address listed). Thx CraigH. 2015-05-15 20:33:39 +00:00
Nate Jones 4406875476 Fax: Fix on edit to re-enable Advanced features, due to recent file rename. 2015-05-09 06:02:48 +00:00
Nate Jones 3d00560648 Fax: Fix Remote Inbox link (oops). 2015-05-09 05:40:39 +00:00
Nate Jones 95e965b108 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 28508d1557 Fix the redirect on the fax file delete and change the tabbing. 2015-05-01 12:38:30 +00:00
Mark Crane 664c9f5f1d More work on the delete. 2015-05-01 11:55:53 +00:00
Mark Crane f1650b9bf0 Fix a little syntax in the delete file. 2015-05-01 11:49:19 +00:00
Mark Crane d048a0e9ac Delete the fax tif and/or pdf in addition to remove the row from the database. 2015-05-01 11:38:44 +00:00
Mark Crane e755290b00 Fix the fax file delete so it redirects correctly and removes the file. 2015-05-01 11:21:19 +00:00
Nate Jones ab403f5f3c Language file merge from translation server. 2015-05-01 11:13:39 +00:00
Mark Crane 94452846fe 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 ec179ff1fe Add the FAX TIF and PDF file download. 2015-05-01 10:24:24 +00:00
Mark Crane 919d038be0 Fix the page header and adjust indentation. 2015-05-01 08:48:32 +00:00
Mark Crane 0dde5e15ea 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
Mark Crane 83fa4d4659 Test if the id is a uuid if it is then set fax_uuid value. 2015-05-01 08:17:39 +00:00
Mark Crane 791bb2c687 Add the license with the correct year. 2015-05-01 07:22:33 +00:00
Mark Crane 9bd72fd1ae Add FAX files. 2015-05-01 07:21:01 +00:00
Mark Crane 6f396ca5c6 Add fax file permission and fix the data type for date and epoch. 2015-05-01 07:10:31 +00:00
Mark Crane 489479ecdd Add the FAX files translations. 2015-05-01 06:59:55 +00:00
Mark Crane 7b494f0fce Change the order of the fax dialplan details. 2015-04-28 21:12:27 +00:00
Mark Crane 8fe9a0432d Update the api_hangup_hook for the fax dialplan. 2015-04-28 14:47:17 +00:00
Mark Crane 52160cab54 Add fax files table for storing meta data and optional base64. 2015-04-25 21:07:01 +00:00
Mark Crane 289942b159 Remove the numeric restriction on fax forward number as it isn't required to be a number. 2015-04-16 20:49:43 +00:00
Nate Jones aebdfbf062 Fax Server: Log detail view now available. Resolves issue 923. 2015-04-16 16:05:39 +00:00
Mark Crane d6636aee17 Update the translations from the translation server. Includes the following new languages Brazilian Portuguese, Polish, and Swedish Sweden. Thanks to those that put in the effort to add these languages additional translator volunteers are welcome. 2015-04-08 13:38:58 +00:00
Nate Jones bc1e5374b0 Fax Server: Mods to email2fax feature to prevent unnecessary/undesired cover page from being generated. 2015-03-25 17:52:45 +00:00
Nate Jones f87aea5211 Fax Server: Sort Sent faxes descending. 2015-03-25 17:42:45 +00:00
Nate Jones 6f983669da Fax Server: Added permission to control Advanced section visibility. Addresses comment on r7943. 2015-03-23 17:26:47 +00:00
luis daniel lucio quiroz 85d84b11d0 do not change headers, add yours 2015-03-23 01:53:25 +00:00
Nate Jones e575f492d5 Fax Server: Additional checks on folder presence and permissions. 2015-03-22 08:22:51 +00:00
Errol Samuels 747b45f9a0 Fixed problem with accountcode not passing in SIP Header 2015-03-21 09:02:51 +00:00
Nate Jones e43e7d14a2 Fax Server: Added refresh button, and fixed sorting and paging on logs. 2015-03-19 00:45:22 +00:00
Nate Jones c30234e953 Fax Server: Account code value now retrieved properly from the db on edit. 2015-03-19 00:10:18 +00:00
Nate Jones edbc99405d Fax Server: Fixed list row background color on local Inbox. 2015-03-16 22:12:55 +00:00
Nate Jones 0e2378068b Fax Logs: Fix for Issue 857, paging now works properly. 2015-03-15 10:18:23 +00:00
Nate Jones d9ab12eb5c Fax Server: Hide advanced settings for Users. 2015-03-10 20:31:45 +00:00
Nate Jones 1c7932a4e6 Emails: Initial build of failed email log. Still under construction. 2015-02-26 04:18:16 +00:00
Nate Jones 561c292ec0 Fax Server: New Fax - Minor layout adjustment for consistency. 2015-02-24 18:39:21 +00:00
Nate Jones 0e3085cead Fax Server: Sent - Removed "application/download" content type, was causing file type to be mis-identified in FireFox. 2015-02-24 18:21:14 +00:00
Mark Crane a040769c9a FAX edit destination number is not always a number so have to remove the constraint. 2015-02-20 04:24:18 +00:00
Nate Jones bf64ee1c09 Fax Server: Move default FusionPBX cover page logo graphic to resources folder. 2015-02-19 23:55:44 +00:00
Nate Jones 475997d6f9 Fax Server: Revert Destination Number field to type text to support non-numeric entries. 2015-02-19 23:37:48 +00:00
Nate Jones 91fe322c00 Visual adjustments. 2015-02-15 11:57:14 +00:00
Nate Jones 256e424b3e Removal of colon next to form label names. 2015-02-15 06:50:00 +00:00
Mark Crane 9926d69bcb Remove the email type from the input form for fax edit as it doesn't allow multiple email addresses. 2015-01-30 23:20:01 +00:00
luis daniel lucio quiroz 56872c05a2 for_fax now on fax 2015-01-27 14:51:57 +00:00
luis daniel lucio quiroz 226651280e accountcode now on fax, PCMU/A as absolute codec string 2015-01-26 19:54:52 +00:00
Nate Jones 474e63f939 Use the new multi-lingual code on misc files. 2015-01-18 10:33:34 +00:00
Mark Crane 03220c9754 Add the text class to more of the applications. 2015-01-18 10:06:08 +00:00
Mark Crane 573159519b Handle the space used in fax name by adding a dash before it is saved to the database. Then when displaying it remove the dash. 2015-01-17 17:47:59 +00:00
Mark Crane 91bfa85bac Update the memcache reference to use the new cache PHP class. 2015-01-16 00:21:02 +00:00
Mark Crane ddca77629e Move the menu array to app_menu.php 2014-12-26 03:27:54 +00:00
Mark Crane 6d98ffc320 Add app_menu.php files for the menu. 2014-12-25 19:32:57 +00:00
luis daniel lucio quiroz 87242ccaf3 HTML5 input tags for fax_*_edit 2014-12-21 19:05:41 +00:00
Nate Jones bed960fd04 Fax Server: Added email-to-fax functionality. 2014-12-03 11:03:52 +00:00
Nate Jones 8c1639ab31 Fax Server: Updated Copy function to include recently added fields. 2014-11-30 04:39:38 +00:00
Nate Jones cd1f1d6919 Fax Server: Mask account connection password field. 2014-11-29 16:19:55 +00:00
Nate Jones 8ca42bd67c Fax Server: Included check typo, and pull contact email from contact_emails table. 2014-11-29 15:29:49 +00:00
Nate Jones 6a459dd3b4 Fax Server: Fixed uninitialized variable error. 2014-11-29 13:51:05 +00:00
Nate Jones c3f0a450c2 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 d7180a79f3 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 6534872d28 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
Philippe Rioual 22f04d0556 updated / enhanced french translations 2014-10-29 08:51:56 +00:00
Nate Jones f4bda82934 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 949ffdfb51 Fax Server: Added clear (reset) buttons to file input fields. 2014-10-13 20:56:36 +00:00
Mark Crane 25a97fbb77 Fix the fax log delete redirect 2014-09-09 18:41:03 +00:00
Mark Crane 85e74daf7b Fix the fax date 2014-09-09 17:59:20 +00:00
Mark Crane 544caf0ff1 Remove the add permission for fax log add 2014-09-09 17:56:58 +00:00
Mark Crane 178090e55f Remove the add button for fax log 2014-09-09 17:53:50 +00:00
Mark Crane aecb14abbe Work on the fax log redirect and links 2014-09-09 17:51:18 +00:00
Mark Crane 587afdfab5 Add a back button to fax logs 2014-09-09 17:04:47 +00:00
Mark Crane 8d665a3c0f Change GET fax_uuid to id 2014-09-09 17:00:22 +00:00
Mark Crane 75dc5d6278 Make the log link plural and fix the spacing between the tools 2014-09-09 16:53:26 +00:00
Mark Crane f9ae84631c Add the log link to fax 2014-09-09 16:49:58 +00:00
Mark Crane 3725ad27e0 Move fax logs inside app/fax 2014-09-09 16:41:53 +00:00
Mark Crane c95731d37a Fix the fax logs, add fax_uuid 2014-09-09 10:48:20 +00:00
Nate Jones 8e8bb0b1cc Fax Server: Restored page count detection. 2014-09-09 04:10:34 +00:00
Nate Jones a1bb2a9549 Fax Server: Modified file conversion methods, misc minor changes. 2014-09-09 03:41:23 +00:00
Mark Crane 2b5a8f3a2d 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
Mark Crane ceaef7bdb2 Add domain_uuid, fax_date, fax_epoch to fax retry 2014-09-07 05:18:35 +00:00