Closed Bug 1981524 Opened 7 months ago Closed 6 months ago

Enable notifications for new EWS messages

Categories

(Thunderbird :: General, task)

Tracking

(Not tracked)

RESOLVED FIXED
144 Branch

People

(Reporter: tobyp, Assigned: edicharry)

References

(Depends on 1 open bug, Blocks 1 open bug)

Details

Attachments

(1 file)

As part of phase three operations, add the ability for users to see notifications when new email messages arrive.

Geoff mentioned...

there's no notifications about the BiffState folder property changing, that'll probably be why

I'm working on expanding one of the notifications tests to handle new messages arriving in EWS. If you are fixing this bug and want to compare behaviour with IMAP, run the test, it logs all of the folder property changes that happen.

Basically, if BiffState changes to 0, or NewMailReceived changes to anything (this isn't a real property, but it's the "change" we're listening for), the notification code does its thing. This is poorly documented and untested, so I'm still having to work out the true intent of some things. E.g. I don't think there are supposed to be notifications if it's the user that checked for mail (server.performingBiff == false), only if an automatic change happened (server.performingBiff == true). But the current behaviour isn't at all consistent with that theory.

At this point in time I've modified the test to check that what I think is supposed to happen, happens. Obviously it's not all passing.

I've marked the test for landing. If you're working on this please remove enable the two skipped sections that test EWS.

Depends on: 1978987
Assignee: nobody → edicharry
Status: NEW → ASSIGNED
Attachment #9508268 - Attachment description: WIP: Bug 1981524 - Enable notifications for new messages. → WIP: Bug 1981524 - Enable notifications for new EWS messages.
Attachment #9508268 - Attachment description: WIP: Bug 1981524 - Enable notifications for new EWS messages. → Bug 1981524 - Enable notifications for new EWS messages. r=#thunderbird-back-end-reviewers
Target Milestone: --- → 144 Branch

Pushed by john@thunderbird.net:
https://hg.mozilla.org/comm-central/rev/89ea160cd46a
Enable notifications for new EWS messages. r=mkmelin

Status: ASSIGNED → RESOLVED
Closed: 6 months ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: