Commit Graph

54 Commits

Author SHA1 Message Date
49abc081b6 Don't send toast messages from the repository 2022-08-20 12:44:20 +02:00
1290d3c4dd Remove unused function 2022-08-20 12:44:20 +02:00
59267e6759 Don't create the mercury api if not connection is available 2022-08-20 12:44:20 +02:00
9a33ba0dbb Stop monitoring the network when the app goes in background 2022-08-20 12:44:20 +02:00
e60ed92c6d Do not change the network override from within the repository 2022-08-20 12:44:20 +02:00
3a2fab8e68 Reintroduce network checks where required 2022-08-20 12:44:20 +02:00
1390ff264f Show a message when the network connection is lost 2022-08-20 12:44:20 +02:00
f78ee18e79 Remove all connectivity checks outside the repository 2022-08-20 12:44:20 +02:00
86dbe06eaa Remove network checks from the home activity 2022-08-20 12:44:20 +02:00
88debf068b Handle the offline override in the repository 2022-08-20 12:44:20 +02:00
5ab9db586d Simplify network connectivity status check 2022-08-20 12:44:20 +02:00
davidoskky
e1e43adde4 Add multiplatform connectivity check 2022-08-20 12:44:20 +02:00
aminecmi
e9cb3d2f37 Fixing some sonarqube issues. 2022-08-17 21:00:58 +02:00
aminecmi
4d29ee0b92 Last fixes. 2022-08-17 16:16:11 +02:00
aminecmi
6260c3fc06 Fixes and drone build should work. 2022-08-17 10:43:56 +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
davide
1890297c9d Remove commented declaration 2022-08-14 12:40:20 +02:00
davide
5377e6c0f8 Make items read by swiping disappear 2022-08-13 17:48:13 +02:00
davide
8c5f4268a4 Remove unused variable 2022-08-13 17:41:41 +02:00
davide
5ea75a5352 Correctly show tags in side pane 2022-08-13 17:35:50 +02:00
davide
e6c70c66fc Remove searchService from the home activity 2022-08-13 17:34:09 +02:00
davide
554b8df9d0 Remove direct api access from the home activity 2022-08-13 17:11:07 +02:00
davide
b14b34441b Update api login information with user input 2022-07-25 15:20:36 +02:00
davide
924f4da1ec Remove Selfoss Service from Home Activity
Initial implementation of the missing functions in the repository
2022-07-24 14:32:40 +02:00
davide
11eac7b141 Get badges through the repository 2022-07-24 14:14:04 +02:00
davide
77fada1b02 Home Activity, use the Repository 2022-07-24 14:02:48 +02:00
davide
da088ec89e Use the repository to fetch the api Version 2022-07-24 03:45:54 +02:00
davide
dbbc191704 Remove unused items variables 2022-07-24 03:38:46 +02:00
davide
e37eae8d16 Fetch items through the repository
Items are stored and filtered locally in the repository
2022-07-24 03:33:51 +02:00
davide
c0137ea5e7 Accept article IDs as Int in the Repository
It's cleaner to accept ints and not strings, because the ID is internally stored as an Int
2022-07-23 17:40:27 +02:00
davide
b14a6427da Inject the Repository in the Reader Activity
Removed ApiDetailsService and SelfossApi from the activity
2022-07-23 17:36:34 +02:00
davide
12e174dacd Remove SelfossApi from SourcesActivity
All network calls to access sources go through the repository
2022-07-23 01:44:47 +02:00
davide
8898e85f02 Remove Selfoss Api from the AddSourceActivity
All network calls of AddSourceActivity are now done through the repository.
2022-07-23 01:28:19 +02:00
davide
7221f11f80 Inject repository in the Article Fragment
The Repository is now injected in the Article Fragment and the DateUtils class was modified not to rely on apiDetailsService
2022-07-21 15:19:22 +02:00
davide
9373024147 Strip Selfoss API from Items Adapters 2022-07-20 14:41:27 +02:00
davide
dc10cafb1b Use the repository for the login 2022-07-20 13:43:00 +02:00
davide
bbec7745fe Implement multiplatform settings 2022-07-18 23:25:10 +02:00
davide
21f39d64b3 Inject the Api Details Service 2022-07-18 14:05:47 +02:00
davide
c0e7b1fa0e Initial Dependency Injection implementation 2022-07-18 01:28:56 +02:00
Amine Bou
50bae2b44f New translations strings.xml (French) 2022-05-23 14:21:12 +02:00
aminecmi
2fb3d27910 Center button on sources activity. 2022-05-22 10:49:54 +02:00
aminecmi
23c823f1a4 Source adding. 2022-05-22 10:46:32 +02:00