Commit Graph

365 Commits

Author SHA1 Message Date
Mafoo 56b34c34ca 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 87dbd6b428 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 fa081456b1 Change $_SERVER['DOCUMENT_ROOT'].PROJECT_PATH to $_SERVER["PROJECT_ROOT"]. 2016-01-17 00:01:13 -07:00
Matthew Vale 6999198492 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 a41e89af76 Added full logic to support cli as well 2016-01-13 17:38:54 +00:00
Matthew Vale 0176d30312 change to use '/' instead of DIRECTOR_SEPERATOR 2016-01-12 14:47:50 +00:00
Matthew Vale e6ad46cfbf Rollout of root.php 2016-01-12 13:55:39 +00:00
Alexey Melnichuk 47871b1aa6 Fix. Use `text` class in fax_files.php 2015-12-25 11:48:17 +03:00
Matthew Vale f5bfeffe18 First pass on app/* 2015-12-10 10:12:41 +00:00
FusionPBX 031f0a6abd Merge pull request #1295 from moteus/fax_queue_greet_combobox
Add. Allows select greeting.
2015-12-09 16:26:43 -08:00
Alexey Melnichuk ed781fc8c3 Fix. forgotten images. 2015-12-09 13:51:25 +03:00
Alexey Melnichuk b638967f01 Fix. Use `Test` interface to translate UI. 2015-12-09 13:37:32 +03:00
Alexey Melnichuk ace38f5a6a Add. Allows select greeting. 2015-12-09 13:21:37 +03: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
markjcrane fb1e3e29f1 Add tabbing to parse_attachments.php. 2015-12-08 21:57:18 -07:00
Alexey Melnichuk 66d0f060ce Add. Ability to delete fax queue element 2015-12-08 16:42:13 +03:00
Alexey Melnichuk 7e715879f8 Add. Web UI to monitor for fax queue. 2015-12-08 16:16:54 +03: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 03ac859381 Merge branch 'send_fax_by_user' into fax_queue 2015-12-04 21:10:17 +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 c4ec6c0a93 Add the additional language variables to app_languages.php. 2015-11-27 11:25:50 -07: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 d2f0d65842 Fix. Update language file. 2015-11-23 16:33:43 +03: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 64f91c3ed2 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 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 2aff851929 Fix. fax_emails.php relay on number cleanup in fax_send.php 2015-11-19 14:48:41 +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 aaa333eda1 Fix. Use fax_send_mode option in fax_send.php file. 2015-11-19 13:13:47 +03:00
Alexey Melnichuk ed13cbc5ff Fix. Display description as last item on fax_server page 2015-11-19 12:36:35 +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
markjcrane 971aef9b80 A few more minor adjustments. 2015-09-04 23:05:08 -06:00
markjcrane 0c43e85123 Add a fax server count. 2015-09-04 22:59:13 -06:00
markjcrane 948199497c Add fax_forward_number to the fax class. 2015-08-21 17:10:42 -06:00
markjcrane 7bdd6851fa Add fax prefix tot he fax class. 2015-08-21 17:04:34 -06:00
markjcrane dfa4d1f4b1 Use fax_extension for the directory path needed for outbound faxes. 2015-08-21 16:17:42 -06:00
markjcrane 59fac15627 Change the fax_extension to fax_destination_number. 2015-08-21 15:43:40 -06:00
markjcrane 4201015784 Fix the fax dialplan which prevented inbound faxes from saving using the new fax dialplan. 2015-08-19 12:41:34 -06:00
markjcrane 2947343aca Add fax default setting keep_local. 2015-08-16 01:53:39 -06:00
markjcrane eb95f981a4 Fax variables for inbound, outbound, and both. 2015-08-15 15:26:16 -06:00
markjcrane bb0d6465d8 Add a new fax class to make the fax dialplan. 2015-08-15 14:27:27 -06:00
markjcrane 45680cebb7 Change the default fax_enable_t38_request to false. 2015-08-15 13:20:41 -06:00
markjcrane 1fec017b16 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 752c54d05c Escape the $ in the domain_uuid variable. 2015-08-05 18:17:39 -05:00
markjcrane bcf1363277 Add destination details to several app_config.php files. 2015-08-04 14:52:10 -06:00
markjcrane 193137ffa6 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 22c146f7f4 Add latest translations 2015-08-02 23:42:11 +00: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 152bbad1b8 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 8e1d818499 Add latest translations 2015-06-20 12:30:02 +00:00
Mark Crane b96427df79 Add latest translations 2015-06-20 11:30:02 +00:00
Mark Crane 96c10412f7 Add latest translations 2015-06-15 19:30:00 +00:00
Mark Crane 63f1b8f8b2 Sync the recent translations 2015-06-13 05:35:54 +00:00
Mark Crane dc2a02dc59 Set fax_enable_t38_request to false solves problem with 'Called dropped prematurely' 2015-06-08 17:54:49 +00:00
Mark Crane 4699d4c8e8 Synchronize the translations. 2015-06-06 02:37:26 +00:00
Mark Crane 91a12aa8ed 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 da114c1a64 If Remote Inbox Subject Tag is not set then check the local fax files. 2015-06-01 21:21:33 +00:00
Mark Crane e606d92e99 Fix a problem caused by the new FAX prefix. 2015-05-22 00:04:55 +00:00
Mark Crane 5cb8c7bf19 Update the fax prefix description. 2015-05-21 04:07:51 +00: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 830724f368 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 0a52f9cc75 Fax: Fix on edit to re-enable Advanced features, due to recent file rename. 2015-05-09 06:02:48 +00:00
Nate Jones 283d06ede0 Fax: Fix Remote Inbox link (oops). 2015-05-09 05:40:39 +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
Mark Crane bce8490f3e Fix the redirect on the fax file delete and change the tabbing. 2015-05-01 12:38:30 +00:00
Mark Crane 854dff9e08 More work on the delete. 2015-05-01 11:55:53 +00:00
Mark Crane ebf3b96ecb Fix a little syntax in the delete file. 2015-05-01 11:49:19 +00:00
Mark Crane 455e6e5e9d 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 fe71098cf7 Fix the fax file delete so it redirects correctly and removes the file. 2015-05-01 11:21:19 +00:00
Nate Jones 63cd5bb78e Language file merge from translation server. 2015-05-01 11:13:39 +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
Mark Crane 83ed3602fa 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 b247696e8f Add the license with the correct year. 2015-05-01 07:22:33 +00:00
Mark Crane adaece1d31 Add FAX files. 2015-05-01 07:21:01 +00:00
Mark Crane c1fb179b1a Add fax file permission and fix the data type for date and epoch. 2015-05-01 07:10:31 +00:00
Mark Crane 3e49c72a30 Add the FAX files translations. 2015-05-01 06:59:55 +00:00
Mark Crane fdfc134ddc Change the order of the fax dialplan details. 2015-04-28 21:12:27 +00:00
Mark Crane db21ca20f1 Update the api_hangup_hook for the fax dialplan. 2015-04-28 14:47:17 +00:00
Mark Crane 64bc09fd7e Add fax files table for storing meta data and optional base64. 2015-04-25 21:07:01 +00:00
Mark Crane ce2845924c 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 29e70796f6 Fax Server: Log detail view now available. Resolves issue 923. 2015-04-16 16:05:39 +00:00
Mark Crane 3b8b7ad0ca 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 ff19e9c87e 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 c58fac6b7d Fax Server: Sort Sent faxes descending. 2015-03-25 17:42:45 +00:00
Nate Jones ac49f1135d 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 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 8a92c7a2de Fax Server: Added refresh button, and fixed sorting and paging on logs. 2015-03-19 00:45:22 +00:00
Nate Jones 7a46084231 Fax Server: Account code value now retrieved properly from the db on edit. 2015-03-19 00:10:18 +00:00
Nate Jones 7e815626fe Fax Server: Fixed list row background color on local Inbox. 2015-03-16 22:12:55 +00:00
Nate Jones b8c33a9ed7 Fax Logs: Fix for Issue 857, paging now works properly. 2015-03-15 10:18:23 +00:00
Nate Jones 127a392bf0 Fax Server: Hide advanced settings for Users. 2015-03-10 20:31:45 +00:00
Nate Jones c900edb768 Emails: Initial build of failed email log. Still under construction. 2015-02-26 04:18:16 +00:00
Nate Jones 1e6d3995cf Fax Server: New Fax - Minor layout adjustment for consistency. 2015-02-24 18:39:21 +00:00
Nate Jones b7903c3b65 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 8ee16910f3 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 2f22585704 Fax Server: Move default FusionPBX cover page logo graphic to resources folder. 2015-02-19 23:55:44 +00:00
Nate Jones 8dc2ab55b4 Fax Server: Revert Destination Number field to type text to support non-numeric entries. 2015-02-19 23:37:48 +00:00
Nate Jones ded7cb3266 Visual adjustments. 2015-02-15 11:57:14 +00:00
Nate Jones 996e89c396 Removal of colon next to form label names. 2015-02-15 06:50:00 +00:00
Mark Crane 952c31427b 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 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
Nate Jones 2448ab3a8e Use the new multi-lingual code on misc files. 2015-01-18 10:33:34 +00:00
Mark Crane c5755666cb Add the text class to more of the applications. 2015-01-18 10:06:08 +00:00
Mark Crane 6ec145b0e4 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 bee6b9ae5e Update the memcache reference to use the new cache PHP class. 2015-01-16 00:21:02 +00:00
Mark Crane 9369fd8d0d Move the menu array to app_menu.php 2014-12-26 03:27:54 +00:00
Mark Crane bbf2a3badc Add app_menu.php files for the menu. 2014-12-25 19:32:57 +00:00
luis daniel lucio quiroz dfa14264fa HTML5 input tags for fax_*_edit 2014-12-21 19:05:41 +00:00
Nate Jones ef7e744f03 Fax Server: Added email-to-fax functionality. 2014-12-03 11:03:52 +00:00
Nate Jones e9e38298e8 Fax Server: Updated Copy function to include recently added fields. 2014-11-30 04:39:38 +00:00
Nate Jones a64bc1a4c8 Fax Server: Mask account connection password field. 2014-11-29 16:19:55 +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
Philippe Rioual 14ca352a4f updated / enhanced french translations 2014-10-29 08:51:56 +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
Mark Crane bf43288cb8 Fix the fax log delete redirect 2014-09-09 18:41:03 +00:00
Mark Crane 8ff39d6ac9 Fix the fax date 2014-09-09 17:59:20 +00:00
Mark Crane 2931a98842 Remove the add permission for fax log add 2014-09-09 17:56:58 +00:00
Mark Crane 0c0d63babb Remove the add button for fax log 2014-09-09 17:53:50 +00:00
Mark Crane 2a615f2be6 Work on the fax log redirect and links 2014-09-09 17:51:18 +00:00
Mark Crane 22514af68d Add a back button to fax logs 2014-09-09 17:04:47 +00:00
Mark Crane cf22f2e279 Change GET fax_uuid to id 2014-09-09 17:00:22 +00:00
Mark Crane b30b829bcd Make the log link plural and fix the spacing between the tools 2014-09-09 16:53:26 +00:00
Mark Crane bb01d0866d Add the log link to fax 2014-09-09 16:49:58 +00:00
Mark Crane 4c971dbe6d Move fax logs inside app/fax 2014-09-09 16:41:53 +00:00
Mark Crane 5efbf5e1fd Fix the fax logs, add fax_uuid 2014-09-09 10:48:20 +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
Mark Crane 00c744b63a Add domain_uuid, fax_date, fax_epoch to fax retry 2014-09-07 05:18:35 +00:00
Mark Crane ce159b2cbd Add fax date, epoch and primary key for the fax_logs table 2014-09-07 00:44:47 +00:00