Commit Graph

80 Commits

Author SHA1 Message Date
ac0156748b Use Dispatchers.IO for network and database operations
All checks were successful
continuous-integration/drone/pr Build is passing
2022-08-25 12:42:40 +02:00
4857a3d0ac Move Home functionalities to the viewmodel 2022-08-25 12:19:24 +02:00
aminecmi
0eed9a8d07 Translations.
All checks were successful
continuous-integration/drone/push Build is passing
2022-08-24 14:41:57 +02:00
aminecmi
75b566a38d Some cleaning to handle actions on connection restore.
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
2022-08-24 13:58:24 +02:00
aminecmi
fb572dbb27 Closes #36
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
2022-08-24 13:34:05 +02:00
aminecmi
34028949d7 More code cleaning.
Some checks reported errors
continuous-integration/drone/pr Build was killed
continuous-integration/drone/push Build is passing
2022-08-23 22:52:36 +02:00
aminecmi
de43abf019 Fixed mercury issues. 2022-08-23 22:45:19 +02:00
aminecmi
0caeb94e64 Translations.
Some checks reported errors
continuous-integration/drone/push Build was killed
2022-08-23 22:43:02 +02:00
aminecmi
437aa0abec Big code cleaning.
Some checks reported errors
continuous-integration/drone/push Build was killed
continuous-integration/drone/pr Build was killed
2022-08-23 22:03:33 +02:00
aminecmi
216c639a23 Closes #23
Some checks reported errors
continuous-integration/drone/push Build was killed
continuous-integration/drone/pr Build is passing
2022-08-23 20:47:07 +02:00
aminecmi
3b8f4991e9 Inserting items in the DB.
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
2022-08-23 16:56:04 +02:00
aminecmi
2547ce824a Repository should be DB ok.
All checks were successful
continuous-integration/drone/push Build is passing
2022-08-23 16:19:24 +02:00
aminecmi
495b101355 Replacing room with sqldelight. Big cleaning.
Some checks failed
continuous-integration/drone/push Build is failing
2022-08-23 15:12:01 +02:00
aminecmi
0c570efc47 Urls.
Some checks reported errors
continuous-integration/drone/push Build was killed
2022-08-22 22:04:07 +02:00
aminecmi
a23a4cea0e Translation.
Some checks reported errors
continuous-integration/drone/push Build was killed
2022-08-22 21:58:15 +02:00
aminecmi
78cb5d047f Translations.
Some checks reported errors
continuous-integration/drone/push Build was killed
2022-08-22 21:53:31 +02:00
4c78b22614 Use the connectivity-status library from the repository rather than the local copy
Some checks failed
continuous-integration/drone/pr Build is failing
2022-08-22 19:33:58 +02:00
1d5ab3205e Localize strings
Some checks failed
continuous-integration/drone/pr Build is failing
2022-08-21 23:34:47 +02:00
df4903cae5 Include the connectivity status library as a aar file 2022-08-21 23:34:47 +02:00
2a78be69b5 Send toast messages at the application level and not on a per activity basis 2022-08-21 23:34:45 +02:00
8c69bb8c3c Send a message regarding connectivity loss/retrieval on all activities 2022-08-21 23:34:17 +02:00
9203012a97 Include a local copy of the connectivity-status library to solve a bug 2022-08-21 23:34:17 +02:00
2a44162c5a Send toast messages to the home activity on connectivity changes 2022-08-21 23:34:17 +02:00
0c8e49214f Don't reset offline override before updating remote 2022-08-21 23:34:17 +02:00
82c4a5a1f9 Don't send toast messages from the repository 2022-08-21 23:34:17 +02:00
47b7062e16 Remove unused function 2022-08-21 23:34:17 +02:00
1258ed3ad3 Don't create the mercury api if not connection is available 2022-08-21 23:34:17 +02:00
d838f509d4 Stop monitoring the network when the app goes in background 2022-08-21 23:34:17 +02:00
3c5b606a02 Do not change the network override from within the repository 2022-08-21 23:34:17 +02:00
d1481a1db6 Reintroduce network checks where required 2022-08-21 23:34:17 +02:00
f56861a3c2 Show a message when the network connection is lost 2022-08-21 23:34:17 +02:00
551a3e3caa Remove all connectivity checks outside the repository 2022-08-21 23:34:17 +02:00
c224b8a0b3 Remove network checks from the home activity 2022-08-21 23:34:17 +02:00
0f3c48dd8e Handle the offline override in the repository 2022-08-21 23:34:17 +02:00
d4c2373bac Simplify network connectivity status check 2022-08-21 23:34:17 +02:00
davidoskky
37fa4a1a8e Add multiplatform connectivity check 2022-08-21 23:34:17 +02:00
72d9ef92d2 Implement logging in the android application
All checks were successful
continuous-integration/drone/pr Build is passing
2022-08-20 12:29:04 +02:00
aminecmi
e9cb3d2f37 Fixing some sonarqube issues.
Some checks reported errors
continuous-integration/drone/push Build was killed
continuous-integration/drone/pr Build was killed
2022-08-17 21:00:58 +02:00
aminecmi
4d29ee0b92 Last fixes.
Some checks reported errors
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build was killed
2022-08-17 16:16:11 +02:00
aminecmi
6260c3fc06 Fixes and drone build should work.
Some checks failed
continuous-integration/drone/push Build is failing
2022-08-17 10:43:56 +02:00
aminecmi
e3e6b6f8b8 Fixing build. 2022-08-16 21:09:28 +02:00
davide
32e7a8f19c Simplify alignment menu logic 2022-08-16 12:02:20 +02:00
davide
00ef93f0c5 Remove unused repository interface 2022-08-16 11:49:53 +02:00
davide
7fb7e45093 Simplify items appending operation 2022-08-16 11:41:43 +02:00
davide
38f1dbd34d Strip direct api access from background 2022-08-16 11:13:26 +02:00
davide
1fb16bcbdd Remove unused user identifier 2022-08-16 10:55:22 +02:00
davide
29619e1b2b Use an enum to represent the selected items 2022-08-15 20:42:14 +02:00
davide
bb5c521387 Remove redundant functions to fetch items 2022-08-15 15:22:32 +02:00
davide
d47cca2f5a Use an enum to represent item type 2022-08-15 15:21:33 +02:00
davide
baa4b81e77 Inject dateUtils 2022-08-14 13:00:37 +02:00