﻿ticket,summary,type,release,owner,status,created,modified,_description,_reporter
14240,MailArchivePlugin: updates to setup.py,task,,lucid,new,2023-07-13T09:06:19+02:00,2023-07-13T09:06:19+02:00,"* Remove spaces around '=' sign
* Add classifiers
",figaro
14239,MailArchivePlugin: From-Header not decoded in Python 2,defect,,lucid,new,2023-07-12T09:37:34+02:00,2023-07-12T09:37:34+02:00,"The `From:` header encoded in UTF8 with a line break between name and email address is not decoded by Python 2 `email.header.decode_header`.

Python 3 `email.header.decode_header` works.",anonymous
13424,Reports can't list mails due to limitation in Trac permission system,defect,,lucid,new,2018-04-29T12:35:32+02:00,2018-04-29T13:02:06+02:00,"We can create TracReports like this:
{{{#!sql
SELECT id, subject, fromheader, toheader, date
FROM mailarchive
}}}
But the rows link to tickets.

[TracReports#Automaticallyformattedcolumns Trac documentation] suggests using `'mailarchive' as _realm` to fix this:
{{{#!sql
SELECT id, subject, fromheader, toheader, date,
       'mailarchive' as _realm
FROM mailarchive
}}}

But this does not work because there is a [trac:source:trunk/trac/ticket/report.py@16445:592-594#L592 hardcoded check in Trac] that's wrong for this plugin. It guesses that when realm is `mailarchive`, the appropriate permission is probably `MAILARCHIVE_VIEW`. But it is [source:mailarchiveplugin/trunk/mailarchive/web_ui.py@16565:72,77#L41 actually] `MAIL_ARCHIVE_VIEW`.",anonymous
13352,WikiAutoComplete support,enhancement,,lucid,new,2017-12-31T10:31:35+01:00,2017-12-31T16:24:14+01:00,We could add optional support for `mail:...` completions with WikiAutoCompletePlugin by implementing the interface from #13072.,Peter Suter
11535,Handle IMAP UID resets / UIDVALIDITY,defect,,lucid,new,2014-02-01T21:51:30+01:00,2017-07-25T05:22:05+02:00,"An IMAP server provides an uid for each message, but is allowed to reset uid's between sessions, signaled by the `UIDVALIDITY` flag.

The MailArchivePlugin currently wrongly assumes this never happens and does not handle that case at all. I suppose there would be problems if it happened as for example messages would not get archived anymore or duplicates would get archived.

I'm not sure how this should be fixed though.",lucid
