Commit Graph

59 Commits

Author SHA1 Message Date
Tomasz Giszczak 12a77416b6 Converted PostDeleteJob into DeleteMessageWorker.
MAILAND-953
2020-10-15 13:25:58 +02:00
stefanija cb8073c244 Convert FetchUserInfoJob to a Worker
Convert FetchUserInfoJob to a CoroutineWorker and add tests. Get rid of the EventBus and observe the result from the Worker instead.

MAILAND-937

#comment Affected: Dismissing the delinquency dialog when clicking on 'Check Again'
2020-10-08 14:12:05 +02:00
Zorica Stojchevska cb832b7cb2 Empty folder problem
Created a LiveData "notifier" for when a user get logged out forcefully. Usually happens when a session is revoked. Now when this happens user will immediately be returned to Inbox.

MAILAND-886
2020-10-02 13:07:46 +00:00
Davide Farella b023b0841e Hilt injection for Android components
Replaced manual `inject` with `@AndroidEntryPoint` in Activities, Fragments, Services and Broadcast Receivers
Affected: Dagger dependencies

MAILAND-930
2020-09-22 13:56:55 +02:00
Davide Giuseppe Farella 73af26456a Revert "Merge branch 'fix/473_bypass-mailbox-psw' into 'develop'"
This reverts merge request !23
2020-05-15 19:38:01 +02:00
Davide Farella ff73eb96ee Fixed bypass MailBox password
#comment This fixes the preferences: since multi-user preferences have not been conformed, so we were storing login state and similar at app-level, now they're handled independently for each user.
A PreferencesProvider.kt have been created, leveraging the responsability to handle Preferences for ProtonMailApplication.
Some refactor have been done for User into Drawer for NavigationActivity.kt and for AccountManagerActivity.kt: now they have 2 different adapter ( AccountManagerAccountsAdapter.kt and DrawerAccountsAdapter.kt ).
Some bad code have been deprecated, like the static accessor ProtonMailApplication.getApplication
Affected: UserManager.kt, PreferencesProvider.kt, AccountManagerAccountsAdapter.kt, DrawerAccountsAdapter.kt, all the elements that interact with verifying the login state.

Ticket: MAILAND-473

# Conflicts:
#	app/build.gradle
2020-05-07 08:33:29 +00:00
Dimitar Solev 7e0d0ca282 Minor refactoring as per suggestions for accessors, logging and codestyle 2020-05-06 08:26:00 +02:00
Dimitar Solev 057789420a Migrate alternative routing changes from old repo and fix dependencies 2020-05-06 08:25:14 +02:00
Zorica Stojchevska 5ce164d00a Initial commit 2020-04-16 17:44:53 +02:00