thunderbird / thunderbird/thunderbird-android

Put account in 'error mode' after authentication failure

Open
#1,249 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

type: enhancement
Dominant language
Kotlin
Stars
14k
Forks
2.8k
Avg merge
3d 3h
Merged PRs (30d)
57

Description

Pull request #1248 changes the code to display a notification to the user when authentication fails. However, account synchronization is not disabled and will happen as scheduled.

To properly handle the situation we want to switch the account into a special mode where Push is disabled completely and the poll interval is exponentially increased up to maybe once or twice a day.
Keeping up the checks allows us to recover from transient authentication failures without user interaction. It's also an easy way to keep reminding the user that action is required.

Once implemented this mode should probably also be used for certificate errors.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing pull request #1248 and the existing account synchronization and Push scheduling paths. Clarify the error-mode behavior, including Push disabling, exponential polling up to once or twice daily, recovery from transient authentication failures, and whether certificate errors share the mode; done requires those decisions to be implemented and verified.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, kotlin
Domain
authentication, mobile
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.