983 Commits

Author SHA1 Message Date
Shinokuni
a8e3a689d5 Move api androidTest/ tests to test/
It's useless to make an instrumented test if Context is only used to retrieve a resource file. It can be done with classLoader
2020-11-09 22:00:55 +01:00
Shinokuni
749145b305
Merge pull request #85 from shunf4/fix/refresh_failed_updating
fix: set updating to false when refresh failed
2020-11-08 22:54:41 +01:00
shunf4
3c97441d36 fix: set updating to false when refresh failed 2020-11-09 02:23:45 +08:00
Shinokuni
28dda2f1b5
Merge pull request #82 from shunf4/fix/notifperm_crash
fix "You can't request ViewModel before onCreate call error" in NotificationPermissionActivity
2020-11-07 18:43:12 +01:00
shunf4
36ac0c7247 fix: fix "You can't request ViewModel before onCreate call error" 2020-11-07 21:04:17 +08:00
Shinokuni
e548b44ac8 Fix LocalRSSDataSource tests 2020-11-07 13:43:24 +01:00
Shinokuni
f2daac5068 Move Niddler instantiation in api module 2020-11-03 21:13:38 +01:00
Shinokuni
cfa764e78b Sync FreshRSS items star state 2020-11-02 22:35:57 +01:00
Shinokuni
c449a94260 Add missing migration to database builder 2020-10-27 21:33:49 +01:00
Shinokuni
da6b68fd2e Use a different retrofit builder for each service 2020-10-27 21:30:26 +01:00
Shinokuni
81de8985c8 Sync Nextcloud News items star state 2020-10-27 21:29:19 +01:00
Shinokuni
97ae58305c Add action to star/fav an item 2020-10-26 22:02:39 +01:00
Shinokuni
4460420f8a Add tests for ItemsQueryBuilder 2020-10-26 14:17:20 +01:00
Shinokuni
9406416ce7 Add drawer favorites item to display starred/favorites items 2020-10-26 14:14:50 +01:00
Shinokuni
04e2f3eadb Add star/unstar api calls for FreshRSS 2020-10-25 21:27:11 +01:00
Shinokuni
9ceb5e6dd7 Add star/unstar api calls for Nextcloud News 2020-10-25 19:14:01 +01:00
Shinokuni
363ccad5af Add fields to Item for starred items 2020-10-25 15:16:12 +01:00
Shinokuni
847a9d2004 Fix LocalRSSDataSource tests 2020-10-25 14:03:49 +01:00
Shinokuni
537490252b Fix HtmlParser tests 2020-10-25 12:58:29 +01:00
Shinokuni
86c58b9280 Wrap Freshrss and Nextcloud News adapters code in a try/catch to throw ParseException 2020-10-25 12:49:19 +01:00
Shinokuni
39e613e7e6 Fix url being rewritten for not freshrss/nextcloud news http calls 2020-10-25 11:56:20 +01:00
Shinokuni
e37853a619 Replace Single<Boolean> by Completable for login call 2020-10-24 19:24:19 +02:00
Shinokuni
ecdc714316 Reorganize app module files by feature 2020-10-23 23:00:43 +02:00
Shinokuni
412ec3f1b8 Rename LibUtils to ApiUtils 2020-10-23 21:33:27 +02:00
Shinokuni
5e76eb4134 Reorganize api utils package 2020-10-23 21:30:34 +02:00
Shinokuni
738e201653 Update kotlin and android gradle plugins 2020-10-23 21:26:36 +02:00
Shinokuni
02a0702aac Merge branch 'feature/di' into develop 2020-10-23 21:21:01 +02:00
Shinokuni
45c9121946 Inject SharedPreferences 2020-10-23 21:16:48 +02:00
Shinokuni
afce72bbe1 Add tests for AuthInterceptor 2020-10-23 19:44:13 +02:00
Shinokuni
fcfff57e1d Merge branch 'develop' into feature/di 2020-10-23 19:08:52 +02:00
Shinokuni
e32b20bc87 Remove last references to Database singleton 2020-10-23 18:51:01 +02:00
Shinokuni
6294b5556f Delete unused code 2020-10-21 21:42:22 +02:00
Shinokuni
89ff34fb01
Merge pull request #79 from Rigo-V/develop
Fix typo: newsest -> newest
2020-10-21 21:33:37 +02:00
Shinokuni
5c88a3f467 FIx koin context starting twice 2020-10-21 21:31:08 +02:00
Riku Viitanen
2d23369de7 Fix typo: newsest -> newest 2020-10-21 01:53:38 +03:00
Shinokuni
c780f26533 Fix broken tests 2020-10-20 22:43:49 +02:00
Shinokuni
aa59f890bb Inject Glide 2020-10-20 22:04:00 +02:00
Shinokuni
f3330ba07d Remove last references to the old http manager 2020-10-19 22:54:29 +02:00
Shinokuni
725cb291ef Fix FreshRSS and Nextcloud News authentications 2020-10-16 12:36:24 +02:00
Shinokuni
950c8506ad Inject viewModels in activities and fragments 2020-10-16 11:58:00 +02:00
Shinokuni
49c5ba06b3 Inject AuthInterceptor to deal with retrofit dynamic url and credentials 2020-10-15 19:04:50 +02:00
Shinokuni
add729f5e2 Add Koin with api, db and app modules 2020-10-13 22:11:13 +02:00
Shinokuni
9b5dddeff4 Don't build repositories and data sources dependencies in them 2020-10-11 22:31:55 +02:00
Shinokuni
343562657b Fix test dependencies build error 2020-10-07 22:10:44 +02:00
Shinokuni
c26a2da6a7 Refactor and update gradle dependencies 2020-10-06 22:45:19 +02:00
Shinokuni
b8219b5dde Clean LibUtils class 2020-10-06 22:20:53 +02:00
Shinokuni
b6d4f9296d Move isRSSType() method to LocalRSSHelper 2020-10-06 22:15:19 +02:00
Shinokuni
52fda0f8d8 Remove local RSS header image manual parsing 2020-10-06 21:43:09 +02:00
Shinokuni
fb2e1de03b Merge branch 'feature/rss-manual-parsing' into develop 2020-10-05 22:48:08 +02:00
Shinokuni
604ccb3544 Merge branch 'develop' into feature/rss-manual-parsing 2020-10-05 22:40:27 +02:00