Commit Graph

264 Commits

Author SHA1 Message Date
aminecmi
7124cbcacd Fixed issue with drone failing silently.
Analyzation is now detached.
2022-09-27 16:53:18 +02:00
aminecmi
2a710a1a08 Translations.
Some checks are pending
continuous-integration/drone/push Build is running
2022-09-27 16:50:06 +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
5c12481813 Article viewer theming.
All checks were successful
continuous-integration/drone/push Build is passing
2022-09-27 12:36:01 +02:00
aminecmi
b16f86dda1 All theme issues should be resolved.
All checks were successful
continuous-integration/drone/push Build is passing
2022-09-27 12:02:59 +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
a382fc89ea Test item caching
Some checks are pending
continuous-integration/drone/pr Build is running
2022-09-26 23:11:26 +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
8106faa45c Only fetch intems if item caching is enabled. 2022-09-26 16:05:07 +02:00
aminecmi
d9ef301e0f Warning. 2022-09-26 15:58:05 +02:00
aminecmi
fb8f81a4c8 One call less.
All checks were successful
continuous-integration/drone/push Build is passing
2022-09-26 14:05:57 +02:00
aminecmi
91aed5a777 Hacky way to fix #55.
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
2022-09-25 22:19:47 +02:00
aminecmi
8823cc6c6c Cleaning. 2022-09-25 21:39:57 +02:00
aminecmi
0264da8ccc Fixing #54.
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
2022-09-24 15:00:33 +02:00
aminecmi
270d959ee0 Cleaning.
Some checks are pending
continuous-integration/drone/push Build is running
2022-09-24 14:55:06 +02:00
aminecmi
4184bbb900 Update gradle. 2022-09-24 13:54:48 +02:00
aminecmi
01763556b1 Fixed release build issues.
Some checks are pending
continuous-integration/drone/push Build is running
continuous-integration/drone/tag Build is running
2022-09-13 09:00:54 +02:00
aminecmi
d0d6a4378c Trying to fix fdroid build.
All checks were successful
continuous-integration/drone/tag Build is passing
2022-09-07 21:24:38 +02:00
aminecmi
1dfa3c9f07 Version scripts.
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing
2022-09-07 20:24:19 +02:00
Amine Louveau
815f00e764 Merge pull request 'Correctly handle the back button in settings' (#48) from davidoskky/ReaderForSelfoss-multiplatform:Settings_back into master
All checks were successful
continuous-integration/drone/push Build is passing
Reviewed-on: https://gitea.amine-louveau.fr/Louvorg/ReaderForSelfoss-multiplatform/pulls/48
2022-09-06 18:20:38 +00:00
bdc77ab8ef Remove unused lambda
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/tag Build is passing
2022-09-06 12:36:37 +02:00
6bd06cb458 Correctly handle the back button in settings
Some checks are pending
continuous-integration/drone/pr Build is running
2022-09-06 12:28:31 +02:00
aminecmi
e9e8bee6c9 Disable all the backups.
All checks were successful
continuous-integration/drone/push Build is passing
2022-08-29 15:37:43 +02:00
aminecmi
ff6038dbd4 Removing the backup function for security reasons.
All checks were successful
continuous-integration/drone/push Build is passing
2022-08-28 13:41:48 +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
94f1ec943c Cleaning.
All checks were successful
continuous-integration/drone/push Build is passing
2022-08-27 15:09:25 +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
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
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
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
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
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
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
aminecmi
4c69e72499 More debugging. Source adding is still broken. Needs DB integration. 2022-05-21 22:11:12 +02:00
aminecmi
6e38e8753c WIP. Everything isn't working yet, but api calls are made. 2022-05-21 22:11:12 +02:00
aminecmi
bd4d20e858 Source code from old project. Still not using shared code. 2022-05-21 22:11:12 +02:00
aminecmi
805e408c78 Compilation is now working. 2022-05-21 22:10:08 +02:00
aminecmi
c1040ab4d5 Init. 2022-05-21 22:10:08 +02:00