thunderbird / thunderbird/thunderbird-android
Put account in 'error mode' after authentication failure
Nobody has claimed this yet.
- 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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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