Commit Graph

141 Commits

Author SHA1 Message Date
4857a3d0ac Move Home functionalities to the viewmodel 2022-08-25 12:19:24 +02:00
Amine Louveau
fbcb428e96 Merge pull request 'Fetch api version on login' (#39) from davidoskky/ReaderForSelfoss-multiplatform:loginApi into master
Reviewed-on: https://gitea.amine-louveau.fr/Louvorg/ReaderForSelfoss-multiplatform/pulls/39
2022-08-25 02:25:27 +00:00
e281751bb0 Fetch api version on login 2022-08-24 23:26:49 +02:00
aminecmi
0eed9a8d07 Translations. 2022-08-24 14:41:57 +02:00
Amine Louveau
9603860bae Merge pull request 'chore/sonarqube-fixes' (#35) from chore/sonarqube-fixes into master
Reviewed-on: https://gitea.amine-louveau.fr/Louvorg/ReaderForSelfoss-multiplatform/pulls/35
2022-08-24 12:37:37 +00:00
aminecmi
75b566a38d Some cleaning to handle actions on connection restore. 2022-08-24 13:58:24 +02:00
aminecmi
fb572dbb27 Closes #36 2022-08-24 13:34:05 +02:00
aminecmi
34028949d7 More code cleaning. 2022-08-23 22:52:36 +02:00
aminecmi
44a0469b17 Fixes #25; 2022-08-23 22:46:48 +02:00
aminecmi
c87473e8f1 Cache from settings. 2022-08-23 22:45:19 +02:00
aminecmi
de43abf019 Fixed mercury issues. 2022-08-23 22:45:19 +02:00
aminecmi
e60f3a9d91 Push everywhere ? 2022-08-23 22:45:19 +02:00
aminecmi
255fbcb12f Added build cache. 2022-08-23 22:45:19 +02:00
aminecmi
0caeb94e64 Translations. 2022-08-23 22:43:02 +02:00
Amine Louveau
6f6a42b878 Merge pull request 'DB caching.' (#33) from feature/sqldelight into master
Reviewed-on: https://gitea.amine-louveau.fr/Louvorg/ReaderForSelfoss-multiplatform/pulls/33
2022-08-23 20:39:19 +00:00
aminecmi
67d54f0dd7 Big code cleaning. 2022-08-23 22:16:54 +02:00
aminecmi
437aa0abec Big code cleaning. 2022-08-23 22:03:33 +02:00
aminecmi
216c639a23 Closes #23 2022-08-23 20:47:07 +02:00
aminecmi
7258452625 Closes #23 2022-08-23 20:38:53 +02:00
aminecmi
d0d82751e2 Filtering DB items. 2022-08-23 20:34:20 +02:00
aminecmi
3b8f4991e9 Inserting items in the DB. 2022-08-23 16:56:04 +02:00
aminecmi
2547ce824a Repository should be DB ok. 2022-08-23 16:19:24 +02:00
aminecmi
59eb399cfa File renaming. 2022-08-23 15:17:47 +02:00
aminecmi
495b101355 Replacing room with sqldelight. Big cleaning. 2022-08-23 15:12:01 +02:00
aminecmi
afcc55e907 Urls. 2022-08-22 22:07:52 +02:00
aminecmi
0c570efc47 Urls. 2022-08-22 22:04:07 +02:00
aminecmi
a23a4cea0e Translation. 2022-08-22 21:58:15 +02:00
aminecmi
78cb5d047f Translations. 2022-08-22 21:53:31 +02:00
Amine Louveau
a9caaefb4d Merge pull request 'network' (#28) from davidoskky/ReaderForSelfoss-multiplatform:network into master
Reviewed-on: https://gitea.amine-louveau.fr/Louvorg/ReaderForSelfoss-multiplatform/pulls/28
2022-08-22 19:01:15 +00:00
4c78b22614 Use the connectivity-status library from the repository rather than the local copy 2022-08-22 19:33:58 +02:00
1d5ab3205e Localize strings 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
20588aab81 Add comment to remember the problem with the connectivity-status library 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
97d5063339 Consider offline override before updating remote 2022-08-21 23:34:17 +02:00
7c37b183d7 Refactor functions 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
b9497ca939 Prepare the repository functions for DB implementation 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
d654b1b0bd Refactor connectivity check 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
492e7e4aed Update todo comments 2022-08-21 23:34:17 +02:00