Marcus Hill
667a93210c
Ticket Statuses from DB
2024-03-29 11:22:32 +00:00
johnnyq
1f1197be50
Missing var
2024-03-21 16:16:32 -04:00
johnnyq
5266f126cb
Set Timezone in the CRON files as well as the command line PHP doesn't always respect the system timezone
2024-03-21 14:55:54 -04:00
Marcus Hill
b9431645d3
Ticket Statuses
...
Standardize on 5 consistent ticket states:-
- New (Red/Danger)
- Open (Blue/Primary)
- On Hold (Green/Success)
- Auto Close (Dark/black)
- Closed (Dark/black)
Update parts of the app where these have deviated from, as they have not been updated everywhere.
Other states may be configurable in future via custom fields.
2024-03-03 00:13:29 +00:00
johnnyq
91eff8f9b6
no need to SQL escape , in the emails, so removed the \, escaping in post invoice, ticket and ticket_email_parser
2024-01-20 18:13:47 -05:00
johnnyq
d3aa2e7239
Only allow A-Za-z- for Ticket Prefix
2024-01-20 16:45:39 -05:00
johnnyq
31d6605647
Updated Closed Ticket Email as well
2024-01-20 15:15:49 -05:00
johnnyq
0a32415b38
Updated ticket mail parser to not escape the entire subject and body of sending emails as this is all done by vars instead
2024-01-20 15:11:07 -05:00
johnnyq
a656340c8b
Fix mis-spelling sanitize not santize
2024-01-19 19:37:34 -05:00
johnnyq
79175b9e70
Sanitize Ticket Prefix and From Name in Cron Ticket Email Parser
2024-01-19 19:18:26 -05:00
johnnyq
d33d11acd2
Set lock file cront ticket email parser once again from 300 sec aka 5 mins to 180 secs aka 3 mins
2024-01-11 00:34:36 -05:00
johnnyq
a38e62c412
Set lock file cront ticket email parser from 600 sec aka 10 mins to 300 secs aa 5 mins, update telemetry to include website
2024-01-11 00:32:31 -05:00
johnnyq
c9e92cb3bb
Cleaned up cron ticket parser to work better with the new mail queuer
2023-12-27 20:35:23 -05:00
johnnyq
e8a53cbd6a
Update new mail queue function to use the proper mail from name and mail from email
2023-12-21 01:37:21 -05:00
o-psi
98f731b4d4
Remove any "Send Single Email" declarations except in mail queue.
...
All emails go through the mail queue, using the addToMailQueue() function.
2023-12-19 23:02:05 +00:00
o-psi
70a9120147
Add notification for ticket replies
2023-12-19 22:39:25 +00:00
o-psi
8b4beacf0e
Update MailQueue to use function
2023-12-19 22:36:51 +00:00
Marcus Hill
41cfd8d27b
Scheduled tickets
...
- Notify agent DL when scheduled tickets are raised (if configured)
- Bugfix: Ticket numbering if two or more scheduled tickets are raised in the same script execution
- Bugfix: Email processing if a contact replied to a scheduled ticket email (still showing original #--itflow# line rather than ##- Please type your reply above this line -##)
2023-11-18 11:53:24 +00:00
Marcus Hill
0de99fda61
Mail parse - Handle blank/unexpected emails better
2023-11-09 22:18:57 +00:00
johnnyq
5c0ab72d69
Moved creating lock file after all other checks have passed to prevent locking if a certian check has not passed, turned off imap extend log as it could cause mysql errors also remove lock before exiting if cannnot connect to imap
2023-11-01 13:59:35 -04:00
johnnyq
3c8a026b7c
Fixed Cron mail queue and email parser missing '
2023-10-27 13:05:29 -04:00
johnnyq
f9d3d3b2f9
Also Added logging to cron mail queue and mail parser when attempting to execute when its already executing by checking to see if the lock file is present
2023-10-25 18:05:19 -04:00
johnnyq
c30e0f7768
Remove Lock files older than 10 Mins aka 600 Secs and log it for Cron Email Parser and Cron Mail Queue
2023-10-25 17:57:35 -04:00
Marcus Hill
31be8034e7
Revert different change covered in separate PR
2023-10-21 15:27:21 +01:00
Marcus Hill
7aadad3597
Expand range of allowed file extensions for email to ticket attachments
2023-10-21 14:40:14 +01:00
o-psi
53c11edc8c
Update constructs to not have parenthesis.
2023-10-20 15:25:52 -05:00
Marcus Hill
4ac7841882
Email parsing for all domains registered under a client
...
- Add support for email parsing/contact creation for all domains registered under a client in the domains module, rather than just the client main website.
- Additionally fix domain_created_at bug and move the new ticket auto-reply message to the email queue instead
Future work: Make ticket parsing work with HTML emails (HTML emails break agent notifs)
2023-10-07 15:51:58 +01:00
Marcus Hill
526503d786
Agent new ticket notifs - add more spacing
2023-09-30 23:21:30 +01:00
johnnyq
ca82a567d7
When client replies to a ticket via email update the status to Client-Replied
2023-09-19 18:29:17 -04:00
johnnyq
5d74226762
Fix unlinking lock file
2023-09-19 11:40:11 -04:00
johnnyq
946f8d0b97
Initial start of Maintenance under settings
2023-09-19 11:39:11 -04:00
johnnyq
080a79c59d
Fix Replicating email opps
2023-09-19 11:10:51 -04:00
johnnyq
65cf8519d0
Added file locks on the mail queue and ticket parse cron jobs to prevent over runs, reverted last commit back to not marking all messages in ticket parse as read
2023-09-19 10:51:52 -04:00
johnnyq
d56c8a91d1
Fix a possible race condition with duplicating tickets: Revert marking Email body peeking and flag all other emails not matching the ticket parser
2023-09-19 02:13:46 -04:00
johnnyq
f2a3c54ed7
Do not change ticket status upon ticket reply, just update the ticket update timestamp
2023-09-18 18:51:54 -04:00
johnnyq
8fa76daf3a
Update cron ticket parser to set new ticket status to Pending-Assignment instead of Open
2023-09-17 18:42:17 -04:00
johnnyq
6bd2919c18
Do not mark unprocessed email as read
2023-09-15 17:02:07 -04:00
johnnyq
b80d730910
Added Cron task to update Certificate Expiry fields
2023-09-11 15:21:16 -04:00
johnnyq
277c5bad68
Also subscribe the mail folder so it shows up under mail folders
2023-09-10 22:06:22 -04:00
johnnyq
f4963cbc45
Change folder name for ITFlow Proessed mail to ITFlow and put in the root instead of INBOX Folder. Also dont flag all other mail
2023-09-10 21:41:35 -04:00
johnnyq
97521d1df7
added more actionable notifications
2023-09-05 16:44:31 -04:00
Marcus Hill
b7108436fd
Add notify by email function when a new ticket is created
2023-08-27 12:24:15 +01:00
johnnyq
b6dc255f8d
FEATURE - Ticket Watchers - Initial Commit for DB Structure for ticker wathers
2023-08-01 13:03:58 -04:00
Haymaker
aa984b92ef
add credentials for imap
2023-07-04 18:52:00 -04:00
Marcus Hill
0240d316e7
Ticket parser: Better handle clients replying to closed tickets
2023-06-24 22:10:06 +01:00
wrongecho
9fd57cef43
Update cron_ticket_email_parser.php
...
Codesmell
2023-05-20 20:20:05 +01:00
wrongecho
eb2c42f4a3
Update cron_ticket_email_parser.php
...
Remove attachments to-do item as completed.
2023-05-20 19:47:33 +01:00
johnnyq
11eb104383
Fix carriage return and new lines in reply emails see https://forum.itflow.org/d/169-carriage-return-and-line-feeds-showing-in-ticket-email
2023-05-16 11:07:24 -04:00
johnnyq
37fb696e63
Replace the remaining php files with nullable_htmlentites()
2023-05-11 18:27:48 -04:00
johnnyq
072c2f9e14
Fix cron stating cron key is always invalid
2023-05-02 13:45:23 -04:00
johnnyq
3f2f663b7b
Check to see if args is set
2023-05-01 16:56:29 -04:00
johnnyq
f7ee489293
BREAKING CRON CHANGES: must generate a cron key before using cron. Cron will need updated like so php /full/path/to/cron.php [KEY] and same with cron_ticket_parse.php
2023-05-01 16:51:20 -04:00
johnnyq
8cf1bd8911
Set Working directory of cron parser upon initializtion which fixes relative path issue when adding attachments to tickets
2023-04-30 13:28:00 -04:00
Marcus Hill
a3d8f5ab48
Ticket attachments (email)
...
Email to ticket parser: Add support for email attachments
2023-04-30 10:52:15 +01:00
Marcus Hill
8247362891
Update documentation links
2023-04-29 09:52:53 +01:00
johnnyq
53092fe9ca
Updated Ticket email / replies with ##- Please type your reply above this line -##
2023-04-17 16:15:22 -04:00
johnnyq
d27c83ab66
Fix Mail Parser, inserting \r \n
2023-04-11 11:23:19 -04:00
johnnyq
3f028e8560
Fix Broken API due to incorrect named function https://forum.itflow.org/d/119-api-broken
2023-03-14 18:59:43 -04:00
johnnyq
6a660a5429
Removed Ticket created at as this is done automatically at the DB level
2023-03-12 11:26:47 -04:00
johnnyq
48fe49cf77
BREAKING CHANGES - MAKE FULL BACKUP BEFORE PROCEEDING - Requires Manual Intervention on files see Forum Post Make sure you run the Database update directly after update. This Removes Multi-Company Functionality. Fixes issues with Reponsive tables and bunch of other UI and small Fixes
2023-03-11 16:16:46 -05:00
johnnyq
426b07a093
Fix issue with ulauts in the subject field of tickets opened using email parser. Removed htmlentities on subject replaced with the new inputSanitize See https://forum.itflow.org/d/111-umlauts-are-replaced-in-the-subjects
2023-03-03 12:14:29 -05:00
johnnyq
e42095a85e
Tidy code
2023-03-01 16:26:41 -05:00
Marcus Hill
5bb4296f14
Adjust core files to 4 spaces
2023-02-12 14:40:10 +00:00
Marcus Hill
615f317d2b
General cleanup/formatting
2023-02-09 12:29:12 +00:00
Marcus Hill
6c0e7c5b26
- Use PHP Mime Mail Parser library for better parsing of email message encoding (requires php-mailparse extension)
...
- Move reply code to own function
- Replies from other registered client contacts are nicely shown (and visible in portal) even if they aren't the ticket contact
- Fixed bug where ticket numbers didn't increase when creating 2 tickets in the same loop
2023-01-31 17:43:53 +00:00
Marcus Hill
b1a1b8d675
- Add functionality for unregistered contacts to auto-register and raise tickets based on the configured client domain (client > website)
...
- Change logic for Processed emails - now moved to a folder under the inbox called ITFlow_Processed
- Add flagging for unprocessed emails (for closed tickets and contacts that couldn't be registered)
- General housekeeping
2023-01-31 00:23:31 +00:00
wrongecho
b19c7a6f49
Merge branch 'master' into code-tidy
2023-01-23 19:21:43 +00:00
Marcus Hill
2c7a704b6b
Remove redundant (default) arguments
2023-01-21 17:26:06 +00:00
Marcus Hill
fb6848f508
Add configuration setting to control whether clients should get automatic ticket-related emails (ticket open/close)
2023-01-21 15:47:01 +00:00
Marcus Hill
4e5729bb8a
Update new ticket email to use email function, small bugfix for subject line
2022-12-18 14:36:15 +00:00
Marcus Hill
2e69160493
Add email notification for tickets raised via email
2022-12-18 11:42:59 +00:00
Marcus Hill
580a6cf53e
Adjust client reply type to Client, not public. Public is for agent replies that are customer visible
2022-12-17 23:18:14 +00:00
johnnyq
d2fdc5f7d8
Spruce up the share UI modal and client logins
2022-12-14 22:18:44 -05:00
johnnyq
83bcae3962
Parse Tickets based off of configured Ticket Prefix
2022-12-12 19:44:55 -05:00
johnnyq
791125a060
Rename email parser file
2022-12-12 19:25:47 -05:00