Search found 576 matches

by SL-Gundam
Sep 20, 2019 4:00 pm
Forum: EmailReporting
Topic: How to limit bug creation from email based on user access
Replies: 14
Views: 1414

Re: How to limit bug creation from email based on user access

It was just an observation.
A user is not allowed access to a ticket but has seen the email exchange. If he is not allowed access to the ticket he should not have been in the email exchange in the first place

Good to hear it works for you
by SL-Gundam
Aug 30, 2019 12:33 pm
Forum: EmailReporting
Topic: Issue not created
Replies: 12
Views: 1526

Re: Issue not created

Good to hear you got it to work as desired.

If any code changes were required i would be interested to know them. On the other hand if you only needed to modify the configuration then that is even better
by SL-Gundam
Aug 09, 2019 2:36 pm
Forum: EmailReporting
Topic: Activity Added to old ticket each time script runs.
Replies: 1
Views: 361

Re: Activity Added to old ticket each time script runs.

For some reason the email is not marked properly or the script is running into an error before fully processing the email What version of MantisBT are you running? What version of EmailReporting are you running? Are you using IMAP or POP3? Try running bug_report_mail.php with the below code added to...
by SL-Gundam
Jul 20, 2019 3:33 pm
Forum: EmailReporting
Topic: How to limit bug creation from email based on user access
Replies: 14
Views: 1414

Re: How to limit bug creation from email based on user access

I would like to add that while EmailReporting before did not check permissions, MantisBT did So users adding notes through EmailReporting, could not get access to those issues, would not receive notifications etc. The problematic footprint was limited. You could actually say that a user even being i...
by SL-Gundam
Jul 20, 2019 3:16 pm
Forum: EmailReporting
Topic: How to limit bug creation from email based on user access
Replies: 14
Views: 1414

Re: How to limit bug creation from email based on user access

Alright i think this should work https://github.com/mantisbt-plugins/EmailReporting/commit/227125d461ee5e14a29c8a8064ebc863180b068d https://github.com/mantisbt-plugins/EmailReporting/commit/af729fde8b8dc62676ddccd7892c3eb94545f76f http://www.mantisbt.org/wiki/doku.php/mantisbt:plugins:emailreporting...
by SL-Gundam
Jul 19, 2019 2:11 pm
Forum: EmailReporting
Topic: How to limit bug creation from email based on user access
Replies: 14
Views: 1414

Re: How to limit bug creation from email based on user access

No but i planned to work on it this weekend. Should not be too much work so might be finished this weekend. Otherwise its gonna take a couple more weekends
by SL-Gundam
Jul 17, 2019 11:35 am
Forum: EmailReporting
Topic: How to limit bug creation from email based on user access
Replies: 14
Views: 1414

Re: How to limit bug creation from email based on user access

That last one is a good idea.

Of course delete email would respect "Delete processed email from the mailbox"
by SL-Gundam
Jul 17, 2019 10:30 am
Forum: EmailReporting
Topic: How to limit bug creation from email based on user access
Replies: 14
Views: 1414

Re: How to limit bug creation from email based on user access

... I’m not sure how mentioned code should works: when I uncommented L857 system simply stopped processing emails from my mailbox (where I had mix of authorized and unauthorized emails). I use IMAP with specific base folder. when I uncommented L920 nothing changed. System still processing emails fr...
by SL-Gundam
Jul 17, 2019 7:41 am
Forum: EmailReporting
Topic: How to limit bug creation from email based on user access
Replies: 14
Views: 1414

Re: How to limit bug creation from email based on user access

It's also has never been issue since users with no access would not receive notification emails about those issues anyway. Since these days we track the msg id's as well, CC's of the email could reply and get there comments added to issues where they normally would not have had access So these days ...
by SL-Gundam
Jul 16, 2019 4:33 pm
Forum: EmailReporting
Topic: How to limit bug creation from email based on user access
Replies: 14
Views: 1414

Re: How to limit bug creation from email based on user access

The code is there. We are just undecided on how to handle a situation like this. https://github.com/mantisbt-plugins/EmailReporting/blob/master/core/mail_api.php#L857 https://github.com/mantisbt-plugins/EmailReporting/blob/master/core/mail_api.php#L920 What should happen with emails that cannot be p...
by SL-Gundam
Jul 12, 2019 1:14 pm
Forum: EmailReporting
Topic: Unable to parse <html xmlns:>
Replies: 5
Views: 757

Re: Unable to parse <html xmlns:>

I think we have a fix

The issue was that the xmlns attributes names in your email sometimes contained numbers which caused Markdownify to recognize it as text instead of an html tag

Please test it

https://github.com/mantisbt-plugins/Ema ... 6c68669671
by SL-Gundam
Jul 12, 2019 11:55 am
Forum: EmailReporting
Topic: Unable to parse <html xmlns:>
Replies: 5
Views: 757

Re: Unable to parse <html xmlns:>

I checked the code Markdownify which is used to convert the html to markdown is able to proces xmlns. It just has never been tested with this many variations of it For example. It is able to process this one <html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:offi...
by SL-Gundam
Jul 11, 2019 2:07 pm
Forum: EmailReporting
Topic: Unable to parse <html xmlns:>
Replies: 5
Views: 757

Re: Unable to parse <html xmlns:>

Please enable debug mode and reproduce the issue

It will create a raw_msg_ file for the processed email

Please send the raw_msg_ file to me so that i can debug it
by SL-Gundam
Apr 18, 2019 4:35 am
Forum: EmailReporting
Topic: One mail, two bugs reported
Replies: 13
Views: 2769

Re: One mail, two bugs reported

In case your interested Another user contacted us through the MantisBT issue tracker with performance problems https://www.mantisbt.org/bugs/view.php?id=25701 This resulted in a change that again improved performance significantly https://github.com/mantisbt-plugins/EmailReporting/commit/b79122de346...
by SL-Gundam
Mar 26, 2019 1:32 pm
Forum: EmailReporting
Topic: One mail, two bugs reported
Replies: 13
Views: 2769

Re: One mail, two bugs reported

Very good that the problem is resolved. Even better that we also see a nice performance improvement :D