Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature] MailFetch Abilities, Users & Groups, File Upload Types #140

Closed
1 of 2 tasks
tmswr opened this issue Jan 29, 2019 · 5 comments
Closed
1 of 2 tasks

[Feature] MailFetch Abilities, Users & Groups, File Upload Types #140

tmswr opened this issue Jan 29, 2019 · 5 comments
Labels

Comments

@tmswr
Copy link

tmswr commented Jan 29, 2019

Is this a BUG REPORT or FEATURE REQUEST?:

  • BUG
  • FEATURE

What happened:

  1. User accounts are automatically registered and added to groups. There should have the option to utilize MailFetch, but not create a user account or automatically add them to a user group.
  2. Allow more file types for upload. I see this is being implemented, but so far all I can get to upload is .jpg files (we can get excel sheets, for example).

What did you expect to happen:

  1. The ability for users to submit tickets via email, not be added as a user or group. For example, Spiceworks allows tickets via email, not creating a user. Ticket updates get sent the user who submitted the tickets via email. This would allow a clean user group, which would be very nice.
  2. Users to be able to upload files via email for MailFetch in various formats.

Anything else we need to know?:

Will you be offering beta testing for new versions? Looking to implement this and replace Spiceworks. The ability to customize wording of pages (i.e. "New Issue" on ticket submission via online url) would be very helpful.

Environment:

  • Trudesk Version: 1.0.5
  • OS (e.g. from /etc/os-release): Windows 10
  • Node.JS Version: 10.15.0
  • MongoDB Version: 4.0.5
  • Is this hosted on cloud.trudesk.io: No
@tmswr tmswr changed the title [Feature] MailFetch Abilities Users & Groups, File Upload Types [Feature] MailFetch Abilities, Users & Groups, File Upload Types Jan 29, 2019
@polonel
Copy link
Owner

polonel commented Jan 29, 2019

I am slightly confused on the first. I agree that the current mail fetch implementation is very limited and it is something that does need revisiting. I'm confused on what exactly you mean by "The ability for users to submit tickets via email, not be added as a user or group"

So let me explain a little how it works and the limitations that I know it faces.

The mail fetcher is simply an IMAP client that just polls a mailbox every 10min (default). It reads the information from the email and extracts very basic information (From Address, Subject, Body). From these three fields, trudesk has to create a ticket. The issue is the ticket object has much more variables that are required to create the ticket. The mail fetcher takes the from address and tries to match it to a current user with the same email. If that email doesn't exist, it checks to see if you have enabled the Create Account setting (under Mail Check).
If the Create Account setting is disabled, the mail fetcher will just stop processing the email and forget it (it doesn't know how to create a ticket on a user that doesn't exist).

If the Create Account setting is enabled, the mail fetch will create an account with as much general information as it can using one single field, the From Address. But now the newly created user needs a group because the ticket has to associate with a group. Trudesk can't randomly assign that user to an existing group because its impossible to determine what group that user should be in. Trudesk then takes the from address and creates a basic group for that user, completing the required information for the ticket object. (the other required information is populated through the settings you configured. Default Ticket Type, Default Priority, etc)


For example, Spiceworks allows tickets via email, not creating a user. Ticket updates get sent the user who submitted the tickets via email. This would allow a clean user group, which would be very nice.

I'm not sure what you mean by this. "Ticket updates get sent the user who submitted the tickets via email." -- I believe you are referring to updating tickets through email replies, is this correct? Can you explain a little better what you mean by "allow a clean user group"?


On the file upload issue, I can get some additional mime-types added. Currently, the types allowed are:

image
text
audio/mpeg
audio/mp3
audio/wav
application/x-zip-compressed
application/pdf

Lastly, the develop branch is where you will find the beta code. Its the branch I develop on and usually has nightly code pushed to it. It's also where all the fixes for the next release stage.

Note: Some code on develop may be pushed without yet proper testing

Also, need clarification on what you mean by "New Issue" on ticket submission via online url exactly.

@tmswr
Copy link
Author

tmswr commented Jan 29, 2019

Let me elaborate on what our current process is within Spiceworks:

  1. We have a designated email where people can submit a ticket using the subject line, body, and attachments. This works much like the current Mail Fetch feature.

  2. Spiceworks doesn't save users or user groups, which is a feature we are wanting (you've implimented). Because there is no information on the user, all updates are sent to the email address that created the ticket. From there, the end user gets updated via Email used to create the ticket and can reply through email so all updates are kept in one thread. This process can happen multiple times in our company, often with new attachments added throughout the process.

Is there a way to change the interval at which Mail is fetched?


We are currently wanting to utilize User Groups for departments of the company who respond to tickets which would work great with the reporting you have. For example, two departments who primarly use our current ticketing solution are:

  • IT Department
  • Creative Services

I understand the need to assign new users to a group, so a suggestive solution would be to automatically assign all new users to a specific group? Maybe something like "Users", although this would effect the notification settings. It would be nice to have "Send notifications to creator of ticket" option.

I'm not sure how you could impliment this if you want to, but it is a system a lot of Spiceworks people are currently use to.


On attachments, I think Office file extentions would be a great addition as we see a lot of images, but also get a ton of Word documents, Excel sheets, etc.


When the option to submit tickets publically is switched on, you're brough to the pace host/newissue which has predefined text, like a header that says "New Issue". I think the wording/url should be customizable in case something like a new Graphic is being requested, which is not an issue but is a ticket.

@polonel
Copy link
Owner

polonel commented Jan 29, 2019

Thank you for clarifying. I have a better understanding of what you're looking for. Right now this is a design flaw that has already begun its refactor. Basically, groups were implemented in a while to house which users had access to which tickets. As the project grew, this became a problem. Please see https://forum.trudesk.io/t/agent-system-redesign/34 for more information on this issue. With these changes it will allow for things as you request; Its just not there yet but its actively being worked on.

The interval for the mail fetch is configurable in the next release.

I'll get the office attachments added.

Thanks for clarifying which pages you were requesting be customizable. This can be done but will probably be tied to the knowledge base when it hits develop.
In the meantime you can customize the template if you want, located here:
https://github.com/polonel/trudesk/blob/master/src/views/pub_createTicket.hbs

@tmswr
Copy link
Author

tmswr commented Jan 29, 2019

The system redesign is exactly what we are looking for! I know it's very early in development, but there goal in mind for implementation for the first phase of changes?

If you ever need some UI work, I'd be glad to help out whichever way I can.

polonel added a commit that referenced this issue Feb 2, 2019
## [1.0.6](v1.0.5...v1.0.6) (2019-02-02)

### Bug Fixes

* **attachments:** uploading office mime-types [#140](#140) ([b47da40](b47da40))
* **chat:** chat boxes under some buttons ([c337c76](c337c76))
* **dates:** overdue on dashboard ([921e258](921e258))
* **groups:** issue preventing save ([7208253](7208253))
* **ldap:** crash if no results are returned ([8ff63ba](8ff63ba))
* **login:** username whitespaces ([282d725](282d725))
* **messages:** remove ajax link from start conversation ([988dfa9](988dfa9))
* **notifications:** unable to clear all notifications ([4f24c8c](4f24c8c))
* **reports:** invalid date format ([808a740](808a740))
* **reports:** invalid date string ([0914d91](0914d91))
* **socket:** high memory usage on notification updates ([b647d4c](b647d4c))
* **ticket:** priority not updating in realtime ([721f42d](721f42d))
* **unzip:** out dated dependency [#139](#139) ([b0aab01](b0aab01))
* **url:** invalid parse ([1738287](1738287))
* **validation:** email validation for modern tlds [#130](#130) ([febcbdf](febcbdf))
polonel added a commit that referenced this issue Feb 2, 2019
## [1.0.6](v1.0.5...v1.0.6) (2019-02-02)

### Bug Fixes

* **attachments:** uploading office mime-types [#140](#140) ([b47da40](b47da40))
* **chat:** chat boxes under some buttons ([c337c76](c337c76))
* **dates:** overdue on dashboard ([921e258](921e258))
* **editor:** crash on invalid directory ([bc60899](bc60899))
* **groups:** issue preventing save ([7208253](7208253))
* **ldap:** crash if no results are returned ([8ff63ba](8ff63ba))
* **login:** username whitespaces ([282d725](282d725))
* **messages:** remove ajax link from start conversation ([988dfa9](988dfa9))
* **notifications:** unable to clear all notifications ([4f24c8c](4f24c8c))
* **reports:** invalid date format ([808a740](808a740))
* **reports:** invalid date string ([0914d91](0914d91))
* **socket:** high memory usage on notification updates ([b647d4c](b647d4c))
* **ticket:** priority not updating in realtime ([721f42d](721f42d))
* **unzip:** out dated dependency [#139](#139) ([b0aab01](b0aab01))
* **url:** invalid parse ([1738287](1738287))
* **validation:** email validation for modern tlds [#130](#130) ([febcbdf](febcbdf))
polonel added a commit that referenced this issue Feb 2, 2019
* **attachments:** uploading office mime-types [#140](#140) ([b47da40](b47da40))
* **chat:** chat boxes under some buttons ([c337c76](c337c76))
* **dates:** overdue on dashboard ([921e258](921e258))
* **editor:** crash on invalid directory ([bc60899](bc60899))
* **groups:** issue preventing save ([7208253](7208253))
* **ldap:** crash if no results are returned ([8ff63ba](8ff63ba))
* **login:** username whitespaces ([282d725](282d725))
* **messages:** remove ajax link from start conversation ([988dfa9](988dfa9))
* **notifications:** unable to clear all notifications ([4f24c8c](4f24c8c))
* **reports:** invalid date format ([808a740](808a740))
* **reports:** invalid date string ([0914d91](0914d91))
* **socket:** high memory usage on notification updates ([b647d4c](b647d4c))
* **ticket:** priority not updating in realtime ([721f42d](721f42d))
* **unzip:** out dated dependency [#139](#139) ([b0aab01](b0aab01))
* **url:** invalid parse ([1738287](1738287))
* **validation:** email validation for modern tlds [#130](#130) ([febcbdf](febcbdf))
@stale
Copy link

stale bot commented Feb 8, 2019

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the wontfix label Feb 8, 2019
@stale stale bot closed this as completed Feb 13, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants