Commit Graph

178 Commits

Author SHA1 Message Date
aminecmi
7b40a31979 Cleaning.
Some checks failed
continuous-integration/drone/pr Build is failing
continuous-integration/drone/push Build is failing
2022-10-30 21:21:43 +01:00
aminecmi
62ad1f45ba Unit tests are on the android side.
Some checks failed
continuous-integration/drone/push Build is failing
continuous-integration/drone/pr Build is failing
2022-10-29 13:37:46 +02:00
aminecmi
402d18b889 Versions update. SettingsKey constants. 2022-10-28 20:32:23 +02:00
aminecmi
d2bdbae6c8 Launching ios APP. 2022-10-23 20:38:43 +02:00
53b1d1f8b2 Rework repository initialization 2022-10-21 22:42:32 +02:00
c25e8889a4 Prevent crash when logging in
Some checks reported errors
continuous-integration/drone/pr Build was killed
2022-10-17 19:35:52 +02:00
8bfe14c019 Actually filter database items
All checks were successful
continuous-integration/drone/pr Build is passing
2022-10-14 00:10:35 +02:00
02098a7aa9 Rearrange filtering steps
All checks were successful
continuous-integration/drone/pr Build is passing
2022-10-11 00:52:12 +02:00
1d1c121aab Filter items from database according to tag and source 2022-10-08 17:15:22 +02:00
fe12819163 Correct database source title 2022-10-08 17:14:12 +02:00
Amine Louveau
023a30c008 Merge pull request 'Simplify sources and tags handling' (#70) from davidoskky/ReaderForSelfoss-multiplatform:drawer_data into master
All checks were successful
continuous-integration/drone/push Build is passing
Reviewed-on: https://gitea.amine-louveau.fr/Louvorg/ReaderForSelfoss-multiplatform/pulls/70
2022-10-04 18:52:39 +00:00
32e7fc0038 Correct boolean serialization
All checks were successful
continuous-integration/drone/pr Build is passing
2022-10-04 15:01:22 +02:00
ebef0b3511 Start monitoring connectivity status when the repository is initiated.
Some checks are pending
continuous-integration/drone/pr Build is running
2022-10-01 22:43:48 +02:00
b5b820c64b Remove database access from the Home 2022-09-30 15:00:01 +02:00
79fd115f5e Only return new cached items 2022-09-30 13:16:42 +02:00
8dc3d319cd Cleanup
Some checks failed
continuous-integration/drone/pr Build is failing
2022-09-30 11:59:08 +02:00
27bb056397 Cleanup
Some checks are pending
continuous-integration/drone/pr Build is running
2022-09-30 11:49:31 +02:00
f9ba13dc32 Always cache images in background
All checks were successful
continuous-integration/drone/pr Build is passing
2022-09-30 11:23:43 +02:00
6f60ef4346 Remove unnecessary return value
Some checks failed
continuous-integration/drone/pr Build is failing
2022-09-30 09:11:55 +02:00
a9c7ec3dc1 Cache items in background without filtering
All checks were successful
continuous-integration/drone/pr Build is passing
2022-09-30 01:19:28 +02:00
920d4ac1ef Correctly implement disabling sources update 2022-09-29 19:37:33 +02:00
7211fdb1a3 Fix update remote tests 2022-09-29 18:58:00 +02:00
d311c2cdeb Fix sources tests 2022-09-28 18:45:21 +02:00
219cae5d74 Fix tags tests 2022-09-28 18:22:06 +02:00
2968aee309 Fix badges tests 2022-09-28 09:43:28 +02:00
15ec0f2d26 Merge branch 'master' into repository_tests
Some checks failed
continuous-integration/drone/pr Build is failing
2022-09-28 06:57:02 +00:00
4781e30da2 Remove unnecessary safe calls
All checks were successful
continuous-integration/drone/pr Build is passing
2022-09-27 23:44:42 +02:00
cb4f2f02ef Fix repository.tags() returning null 2022-09-27 23:26:44 +02:00
aminecmi
cabb6d494d Cleaning.
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
2022-09-27 15:09:33 +02:00
aminecmi
2bc28db2cc Removed chrome custom tabs. 2022-09-27 11:23:16 +02:00
aminecmi
bf1b680b4a Daark theme working.
All checks were successful
continuous-integration/drone/push Build is passing
2022-09-27 10:21:42 +02:00
e2afff0b8e Add comment
All checks were successful
continuous-integration/drone/pr Build is passing
2022-09-26 23:19:31 +02:00
a382fc89ea Test item caching
Some checks are pending
continuous-integration/drone/pr Build is running
2022-09-26 23:11:26 +02:00
63c550ead3 Test create source
Some checks are pending
continuous-integration/drone/pr Build is running
2022-09-26 22:21:48 +02:00
aminecmi
144067d5b6 This helps a lot.
Some checks reported errors
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build was killed
2022-09-26 16:16:40 +02:00
aminecmi
0f000ea359 Only sort if the data is from the DB. This speeds things a little bit. 2022-09-26 15:53:39 +02:00
d2436bb976 Merge branch 'master' into repository_tests
# Conflicts:
#	.drone.yml
2022-09-25 20:24:46 +02:00
aminecmi
bd96c67788 2.18 serialization issues fix. Fixes #61.
Some checks reported errors
continuous-integration/drone/push Build was killed
continuous-integration/drone/pr Build is passing
continuous-integration/drone Build was killed
2022-09-24 21:55:25 +02:00
aminecmi
6d11dfb80c Fixing #59. 2022-09-24 14:43:24 +02:00
ef994460c1 get sources tests
Some checks failed
continuous-integration/drone/pr Build is failing
2022-09-18 18:14:14 +02:00
758708e18d Tags tests
Some checks failed
continuous-integration/drone/pr Build is failing
2022-09-17 22:04:24 +02:00
99f2c04bf6 Initial testing setup
All checks were successful
continuous-integration/drone/pr Build is passing
2022-09-09 13:43:53 +02:00
aminecmi
fc4c48dd12 Closes #44
Some checks reported errors
continuous-integration/drone/push Build was killed
continuous-integration/drone/pr Build is passing
2022-08-28 10:30:03 +02:00
aminecmi
109050d0cf Fixing a todo.
Some checks reported errors
continuous-integration/drone/push Build was killed
continuous-integration/drone/pr Build is passing
2022-08-27 13:06:16 +02:00
aminecmi
0392e1b406 Typo fix. 2022-08-27 13:00:19 +02:00
aminecmi
8b2be5c55c Refreshing settings.
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
2022-08-26 23:39:30 +02:00
aminecmi
e6afb4702d Cleaning code. 2022-08-26 23:37:02 +02:00
aminecmi
8cf462a755 Fixing api version issue on login. 2022-08-26 23:37:02 +02:00
aminecmi
17293e5574 Removing self signed certificate (Closes #43) and removing http login (Closes #37) 2022-08-26 23:37:02 +02:00
aminecmi
a99286a9b7 Really big settings cleaning. 2022-08-26 23:37:02 +02:00
aminecmi
5531034086 WIP: Big settings cleaning. 2022-08-26 23:37:01 +02:00
e281751bb0 Fetch api version on login
All checks were successful
continuous-integration/drone/pr Build is passing
2022-08-24 23:26:49 +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
44a0469b17 Fixes #25;
Some checks reported errors
continuous-integration/drone/push Build was killed
continuous-integration/drone/pr Build is running
2022-08-23 22:46:48 +02:00
aminecmi
67d54f0dd7 Big code cleaning.
Some checks reported errors
continuous-integration/drone/push Build was killed
continuous-integration/drone/pr Build is passing
2022-08-23 22:16:54 +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
7258452625 Closes #23
Some checks reported errors
continuous-integration/drone/push Build was killed
continuous-integration/drone/pr Build was killed
2022-08-23 20:38:53 +02:00
aminecmi
d0d82751e2 Filtering DB items.
Some checks reported errors
continuous-integration/drone/pr Build was killed
continuous-integration/drone/push Build is passing
2022-08-23 20:34:20 +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
59eb399cfa File renaming.
All checks were successful
continuous-integration/drone/push Build is passing
2022-08-23 15:17:47 +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
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
df4903cae5 Include the connectivity status library as a aar file 2022-08-21 23:34:47 +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
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
b9497ca939 Prepare the repository functions for DB implementation 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
13ea7a693b Do not fake offline mode when updating remote 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
4f32097821 Perform network connectivity checks in the repository 2022-08-21 23:34:17 +02:00
davidoskky
37fa4a1a8e Add multiplatform connectivity check 2022-08-21 23:34:17 +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
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
edc705ec8e Remove unused class 2022-08-16 11:23:03 +02:00
davide
bcaa6624c9 Add missing parameter 2022-08-16 11:22:14 +02:00
davide
0556500c5d Remove unused function 2022-08-16 11:19:56 +02:00
davide
f624a35fe2 Remove unused SelfossApi interface 2022-08-16 11:18:13 +02:00
davide
38f1dbd34d Strip direct api access from background 2022-08-16 11:13:26 +02:00
davide
29619e1b2b Use an enum to represent the selected items 2022-08-15 20:42:14 +02:00
davide
d47cca2f5a Use an enum to represent item type 2022-08-15 15:21:33 +02:00
davide
fe59177efb Do not create a new ArrayList every time the items are accessed 2022-08-15 15:07:10 +02:00
davide
baa4b81e77 Inject dateUtils 2022-08-14 13:00:37 +02:00
davide
7f8d04618a Simplify local item changes 2022-08-14 12:52:23 +02:00
davide
22f0ff664c Append older articles fetched 2022-08-14 12:39:20 +02:00
davide
88c5c6ff4b Don't regenerate dateutils each time it's needed 2022-08-13 18:00:51 +02:00