Commit Graph

651 Commits

Author SHA1 Message Date
Shinokuni f2607c307c Replace Nextcloud News /user depreciated api call by /ocs/v1.php/cloud/users/{userId} 2020-11-15 19:13:21 +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 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 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 537490252b Fix HtmlParser tests 2020-10-25 12:58:29 +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 45c9121946 Inject SharedPreferences 2020-10-23 21:16:48 +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 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 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 604ccb3544 Merge branch 'develop' into feature/rss-manual-parsing 2020-10-05 22:40:27 +02:00
Shinokuni eb58311040 Log LocalFeedRepository.addFeeds() exceptions 2020-10-05 22:11:48 +02:00
Shinokuni 63497bd049 Always parse feed and items in the same time to detect malformed feeds 2020-10-04 22:17:52 +02:00
Shinokuni 90071f5830 Merge branch 'master' into develop 2020-10-01 19:30:14 +02:00
Shinokuni d4e546b6c1 Fix rss url parsing bug 2020-10-01 19:29:59 +02:00
Shinokuni 5998fa9126 Delete unused code 2020-09-20 18:17:43 +02:00
Shinokuni 6a1ddaeabb Use LocalRSSDataSource isUrlRSSResource 2020-09-20 18:12:05 +02:00
Shinokuni 82c29d0732 Use new LocalRSSDataSource in LocalFeedRepository 2020-09-17 22:15:33 +02:00
Shinokuni 15e1723893 Move cleanText method to api package 2020-09-13 12:38:51 +02:00
Shinokuni c15f093a1b Add an option to open item url in custom tab 2020-09-06 23:09:59 +02:00
Shinokuni 85fcf03e64 Use clear text mode for the feed url text input in AddFeedActivity 2020-09-05 14:23:48 +02:00
Shinokuni d59e38ee9d Use project level okhttp client with glide 2020-09-05 14:05:16 +02:00
Shinokuni 752135621d Move DateUtils in api package 2020-08-30 16:39:08 +02:00
Shinokuni 6c6653e443 Deactivate niddler by default 2020-08-23 22:12:37 +02:00
Shinokuni e370abbb43 Request storage permission only with APIs <= 28 2020-08-23 22:09:13 +02:00
Shinokuni 76d5e29589 Use scope storage with API >= 29 for OPML export 2020-08-23 21:51:09 +02:00
Shinokuni 594a0a67fa Use more mime types to open opml files 2020-08-16 23:04:26 +02:00
Shinokuni f7a78df815 Migrate FeedsAdapter to viewBinding 2020-08-11 22:41:57 +02:00
Shinokuni 93be8b92b9 Migrate ItemActivity to viewBinding 2020-08-11 21:58:38 +02:00
Shinokuni f41f430a52 Migrate MainActivity to viewBinding 2020-08-11 21:27:31 +02:00
Shinokuni 74447b1671 Use a null key for feeds without folders 2020-08-10 22:01:51 +02:00
Shinokuni f014284316 Merge OPMLMatcher code into OPMLParser 2020-08-02 15:16:05 +02:00
Shinokuni a01e740807 Bump app version and add changelog 2020-08-01 15:40:49 +02:00
Shinokuni dfe3dc9924 Fix read later icon color 2020-07-29 15:20:55 +02:00
Shinokuni 024aa04a60 Fix Nextcloud News login error message 2020-07-29 12:20:06 +02:00
Shinokuni 1695c3baf6 Fix webview crash in lollipop 2020-07-28 14:09:27 +02:00
Shinokuni 323bf976d7 Revamp splash backgorund 2020-07-28 14:01:08 +02:00
Shinokuni 04eb496d9e Add support for drawables in ReadropsItemTouchCallback 2020-07-27 21:13:21 +02:00
Shinokuni 0d00f8db0b Fix 401 error when adding a new account 2020-07-26 14:24:31 +02:00
Shinokuni 9aab727e1d Fix feeds permissions switch state bug 2020-07-25 15:28:51 +02:00
Shinokuni dee7f6e9ad Don't use too much bright or dark feeds colors 2020-07-25 14:33:32 +02:00
Shinokuni 7314440534 Fix account not having its credentials when syncing with the worker and catch all exceptions to avoid zombie notification 2020-07-25 11:52:06 +02:00
Shinokuni 67e7322555 Update work manager 2020-07-24 19:38:38 +02:00
Shinokuni 71ccf98d63 Add synchronize menu item 2020-07-19 15:19:05 +02:00
Shinokuni 4956a7f3b9 Forgot changed imports 2020-07-19 11:16:24 +02:00
Shinokuni 295a34203e Rename module readropslibrary to api 2020-07-19 10:40:53 +02:00
Shinokuni b54c80437d Add support for common RSS date format without timezone 2020-07-18 14:31:54 +02:00
Shinokuni 465838d4b6 Add support for zzz timezone format 2020-07-18 12:36:51 +02:00
Shinokuni c1edc939a0 Replace ViewModelProviders.of() by ViewModelProvider() 2020-07-17 20:55:00 +02:00
Shinokuni b433d28177 Add support for another date format 2020-07-14 22:12:33 +02:00
Shinokuni b98b8853ec <enclosure> tag attributes aren't required 2020-07-14 21:28:33 +02:00
Shinokuni 9839f320e2 Fix RSS multiple <creator> tags error 2020-07-14 16:36:57 +02:00
Shinokuni d9652c725b Handle the absence of guid tag for RSS 2.0 items 2020-07-14 15:13:46 +02:00
Shinokuni 0122400c85 Fix Jsoup 403 error (fixes #71) 2020-07-13 22:03:43 +02:00
Shinokuni 442c257593 Use viewbinding with custom views 2020-07-13 19:33:11 +02:00
Shinokuni 2bc5438348 Migration from databinding to viewbinding 2020-07-13 19:23:02 +02:00
Shinokuni c968c53441 Remove 15 mins sync interval 2020-07-12 22:03:24 +02:00
Shinokuni cad3b6f59b Set the current account at the top of the list in Add Feed Activity 2020-07-11 16:09:19 +02:00
Shinokuni a8764e91f5 Use the choosen interval as the worker initial delay 2020-07-11 15:49:42 +02:00
Shinokuni e39c16d635 Setup Niddler 2020-07-10 21:09:22 +02:00
Shinokuni 489051b67f Update french translations 2020-07-10 19:27:59 +02:00
Shinokuni f0ccb92946 Update gradle and kotlin plugins 2020-07-10 17:59:15 +02:00
Shinokuni 36770546b0 Resolve forgotten merge conflict 2020-07-10 17:43:46 +02:00
Shinokuni 76e126093f Set the good account when opening the app from a notification 2020-04-20 22:47:29 +02:00
Shinokuni 3c40d8eb23
Merge pull request #64 from spadarian/show_image_caption
Added option to show image title or alt as caption
2020-04-20 22:12:06 +02:00
José Padarian 4d94d6bced Reformatting 2020-04-19 14:45:55 +10:00
Shinokuni fb48608068 Fix item activity reopening itself after syncing when the app is opened by a sync result notification 2020-04-17 21:51:50 +02:00
Shinokuni dad51d334a
Merge pull request #65 from spadarian/password_helper
Added password helper
2020-04-16 19:25:12 +02:00
José Padarian 6b56e914b3 Changed from DialogFragment to MaterialDialog 2020-04-14 09:35:00 +10:00
José Padarian 65f89f6d2f Better accountType comparison 2020-04-14 09:07:33 +10:00
Shinokuni a08796d20d Fix some NC News parsing bugs 2020-04-13 22:28:24 +02:00
Shinokuni ade8567258 Merge branch 'master' into develop 2020-04-13 19:01:16 +02:00
Shinokuni bb62fd7995 Bump app version to 1.1.4 2020-04-12 21:46:53 +02:00
José Padarian 7db8c6d662 Added password helper (closes #58) 2020-04-12 23:47:03 +10:00