Commit Graph

1045 Commits

Author SHA1 Message Date
Shinokuni 9a70d76407 Rauthorize FreshRSS account to mark all items as read/unread 2019-08-24 19:47:54 +02:00
Shinokuni c147752370 Fix AccountTypeListActivity title 2019-08-24 19:36:59 +02:00
Shinokuni e43636f943 Add title to AccountTypeListActivity 2019-08-24 19:21:08 +02:00
Shinokuni dd2903dd32 Use a constant for greader read string and add comments for FreshRSSAPI 2019-08-24 14:45:15 +02:00
Shinokuni 421794f995 Generify Repository to have only one instance of API per repository 2019-08-23 22:40:29 +02:00
Shinokuni a585d7442a As greader write token is fetched at login, no need to fetch it when doing a write request 2019-08-23 21:46:40 +02:00
Shinokuni c9e47cfc12 Sync now pushes read and unread items 2019-08-23 20:52:37 +02:00
Shinokuni 21b261b0e1 Fix some Nextcloud news folder insertion/deletion problems 2019-08-22 22:11:08 +02:00
Shinokuni 50de656f35 Use Room rxjava integration 2019-08-22 21:19:50 +02:00
Shinokuni c9ae3a5cb5 Put methods setAllItemsReadState and setAllFeedItemsReadState int repository to get better control by account type repository 2019-08-22 14:37:06 +02:00
Shinokuni dbd5fe060b greader API add token fetch for all write actions 2019-08-22 09:43:13 +02:00
Shinokuni 6a1039f87e Move Item and Feed match methods to ItemMatcher and FeedMatcher 2019-08-21 22:16:21 +02:00
Shinokuni 1507e55249 Move all account related files to a specific package 2019-08-21 22:02:57 +02:00
Shinokuni c271d0b584 Add for each account type a config to better manage what they can/can't do 2019-08-21 21:53:18 +02:00
Shinokuni c26e7cff47 Add greader folder creation/update/deletion requests (creation request doesn't work though) 2019-08-21 13:51:00 +02:00
Shinokuni 49e9d22082 Update android gradle plugin to 3.5.0 2019-08-21 13:16:52 +02:00
Shinokuni 87c1528451 Add greader update feed request 2019-08-18 23:04:38 +02:00
Shinokuni d21a76c4e3 Add Stetho debug bridge 2019-08-18 13:07:59 +02:00
Shinokuni cc9a78ba43 Set httpManager as a singleton to use only one instance of OkHttp, then fixing interceptors duplicates problem and improving global app speed 2019-08-18 12:42:48 +02:00
Shinokuni f462933c8d Put some requests in the abstract repository for a better abstract model 2019-08-17 18:00:24 +02:00
Shinokuni 20ba537670 Add a repository factory to better handle repository instantiation 2019-08-17 17:38:56 +02:00
Shinokuni 62eec1e077 Add greader feed insertion and deletion requests 2019-08-17 16:04:56 +02:00
Shinokuni ccf0a46a13 Insert greader API writeToken after getting it 2019-08-17 12:43:16 +02:00
Shinokuni 46d4d8a868 Disable select all contextual menu item when current account is FreshRSS 2019-08-17 12:32:34 +02:00
Shinokuni 5eb4353f8a Refactor repositories to put item read state request in it
Put account variable needed for most request directly in the constructor instead in each method as a variable. Put item read state request code in the repository instead of the viewModel
2019-08-17 12:23:06 +02:00
Shinokuni 75e9323177 Add mark item read/unread request 2019-08-16 20:12:57 +02:00
Shinokuni d618957d24 Add a basic http logger 2019-08-15 16:52:38 +02:00
Shinokuni 0a0abd4a4d Fix new unread items request 2019-08-15 16:51:37 +02:00
Shinokuni f6c322c4f2 Add greader folders (tags) request and insertion 2019-08-13 22:45:57 +02:00
Shinokuni 500b363942 Add freshrss items and feeds insertion 2019-08-11 18:01:32 +02:00
Shinokuni 829e6e98fc Add feeds and items greader requests 2019-08-10 19:13:39 +02:00
Shinokuni 6a5feb2d63 Initial support of greader API for Freshrss with working authentication 2019-08-09 21:57:11 +02:00
Shinokuni 2b08ae9c96 Add an abstraction level for credentials to support multiple authorization field values 2019-08-09 19:58:11 +02:00
Shinokuni 5df094ca30 Add abstraction level for services APIs 2019-08-09 12:44:07 +02:00
Shinokuni 985fcddb1e Merge branch 'master' of https://github.com/readrops/Readrops 2019-08-06 21:23:34 +02:00
Shinokuni ae1b38b662 Fix webview text encoding bug 2019-08-06 21:22:42 +02:00
Shinokuni 3c523dfe2c Improve sync speed
Put feed and folder insertion/update logic in transactions. Get only the feed id for an item insertion instead of getting the full feed
2019-08-04 17:29:54 +02:00
Shinokuni 1ee0f50801 Clean code 2019-07-30 19:59:30 +02:00
Shinokuni aaee34f5de Fix login failed flow using a toast instead of a snackbar 2019-07-30 18:44:45 +02:00
Shinokuni f6c9a9774f Update splash screen logo size 2019-07-30 18:41:59 +02:00
Shinokuni 649419b3a4 Update README.md 2019-07-30 18:14:18 +02:00
Shinokuni b7be85221b Fix update account credentials flow 2019-07-30 16:51:48 +02:00
Shinokuni 01e55ff78f Create arrays ressource file 2019-07-30 16:00:35 +02:00
Shinokuni c540a5c57e Add a method to know if an account is local or not 2019-07-30 15:48:59 +02:00
Shinokuni 5cf6089301 Replace AccountSettingsActivity by a standard preferences fragment 2019-07-30 15:42:42 +02:00
Shinokuni 73a7519944 Delete drawer profile settings item 2019-07-27 15:23:12 +02:00
Shinokuni 5b5534be48 Clean code 2019-07-27 11:23:35 +02:00
Shinokuni 470bedd669 Don't check feed count if the current account is not local 2019-07-27 11:21:15 +02:00
Shinokuni ff27c3bae1 Move EditFeedDialog in the fragments package and rename views package to adapters package 2019-07-25 18:05:50 +02:00
Shinokuni df49951d3f Prevent the user modifying a nextcloud news feed url as the API doesn't allow its modification 2019-07-25 18:03:12 +02:00