Search found 570 matches

by SL-Gundam
Jul 17, 2019 11:35 am
Forum: EmailReporting
Topic: How to limit bug creation from email based on user access
Replies: 8
Views: 48

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: 8
Views: 48

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: 8
Views: 48

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: 8
Views: 48

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: 94

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: 94

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: 94

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: 1702

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: 1702

Re: One mail, two bugs reported

Very good that the problem is resolved. Even better that we also see a nice performance improvement :D
by SL-Gundam
Mar 25, 2019 12:14 pm
Forum: EmailReporting
Topic: One mail, two bugs reported
Replies: 13
Views: 1702

Re: One mail, two bugs reported

You modified your code incorrectly.
The dollar signs are missing on multiple lines for $p_flags

I suggest you go here https://github.com/mantisbt-plugins/EmailReporting and click the "clone or download" button and click on "download zip"

use that to overwrite all existing files
by SL-Gundam
Mar 20, 2019 1:06 pm
Forum: EmailReporting
Topic: One mail, two bugs reported
Replies: 13
Views: 1702

Re: One mail, two bugs reported

Made some changes
https://github.com/mantisbt-plugins/Ema ... 404d2ae56b

Hopefully this works better for you
by SL-Gundam
Mar 20, 2019 12:34 pm
Forum: EmailReporting
Topic: One mail, two bugs reported
Replies: 13
Views: 1702

Re: One mail, two bugs reported

You are right concerning the line where it goes wrong. As i understand it, the folder in the mailbox contains quite a lot of old, already processed, emails. So EmailReporting makes a lot of flag checks to see whether they are marked as deleted/processed. It might be that Office365 does not like that...
by SL-Gundam
Mar 20, 2019 8:59 am
Forum: EmailReporting
Topic: Warning message : ..scheduled job is not run with the same user account as the webserver
Replies: 3
Views: 287

Re: Warning message : ..scheduled job is not run with the same user account as the webserver

In your cronjob you can specify the user account under which it must be run. I believe you've done it. The next time the job is run EmailReporting should update the records accordingly There should actually be some more lines below your copy/paste which specify the current user accounts under which ...
by SL-Gundam
Mar 19, 2019 12:37 pm
Forum: EmailReporting
Topic: Warning message : ..scheduled job is not run with the same user account as the webserver
Replies: 3
Views: 287

Re: Warning message : ..scheduled job is not run with the same user account as the webserver

you are running bug_report_mail.php (EmailReporting command line job) under a different user account then the webserver. This can be problematic under linux, Windows often has less issues with this. Linux for example will apply permissions under the user that created the file. Meaning that EmailRepo...
by SL-Gundam
Mar 19, 2019 12:32 pm
Forum: EmailReporting
Topic: APPLICATION ERROR #401: Database query failed. Error received from database was #1153
Replies: 4
Views: 338

Re: APPLICATION ERROR #401: Database query failed. Error received from database was #1153

DISK has not a real size limitation as long as the partition can support it and you have enough free space https://en.wikipedia.org/wiki/Comparison_of_file_systems#Limits Still, processing an email also requires memory. Around 6 times the size of the email So a 10 MB email would require 60 MB of mem...