Commit Graph

398 Commits

Author SHA1 Message Date
Shinokuni 097a5a7aae Add preference to open item link in external navigator or webview 2019-10-20 18:13:30 +02:00
Shinokuni 232a9f1efa Add WebViewActivity to open item link in webview 2019-10-20 18:12:15 +02:00
Shinokuni 2671fdcbbd Fix getFeedLink unit test 2019-10-19 22:20:28 +02:00
Shinokuni 96e5316375 Add preference for reloading feeds colors 2019-10-19 22:05:25 +02:00
Shinokuni 5c35ee3415 Fix item list scrolling down when updating data with a temporary workaround to keep until a new version of androidx paging is released with the right fix 2019-10-19 19:13:34 +02:00
Shinokuni 36dc0cd115 Put feeds colors retrieval in a foreground service 2019-10-19 18:15:27 +02:00
Shinokuni d8196a610a Activate room incremental annotation processor 2019-10-19 11:39:21 +02:00
Shinokuni 49cafbb062 Set modified items read state for Nextcloud news sync 2019-10-18 22:07:24 +02:00
Shinokuni ae1d9f056a Update room dependencies 2019-10-15 22:32:29 +02:00
Shinokuni 8fba823db7 create API in repositories in a separate method 2019-10-15 10:52:26 +02:00
Shinokuni efe54deb9a Support read state for FreshRSS API new items
When new items will be fetched, they will be now set as read or unread. This doesn't apply to already existing in local items
2019-10-14 21:48:35 +02:00
Shinokuni 4c82c4f913 Don't enable item selection when syncing 2019-10-14 15:55:22 +02:00
Shinokuni 9af213c26b Add some tests for HtmlParser class 2019-10-11 21:27:51 +02:00
Shinokuni 7946b2a62d Add a util method to clean a string 2019-10-11 14:58:06 +02:00
Shinokuni 1a38155c01 Fix some SonarLint warnings in AddFeedActivity 2019-10-10 21:50:37 +02:00
Shinokuni 272e867c8d Revamp the way rss/atom/json dates are parsed and fix date tests 2019-10-10 14:45:01 +02:00
Shinokuni 7aa0f94011 Fix insertion results not having their icon and the good name 2019-10-09 14:19:42 +02:00
Shinokuni 51e21848f6 Better error handling when adding a feed with a freshrss account 2019-10-09 11:58:37 +02:00
Shinokuni 4e9fff5eaa Add a message when no feed is found 2019-10-09 10:16:51 +02:00
Shinokuni d82f57bc0b Fix crash in feeds list when selecting a feed after deleting others 2019-10-09 09:12:50 +02:00
Shinokuni f25960bcd7 Fix some SonarLint warnings 2019-10-08 21:48:28 +02:00
Shinokuni fded33596f Merge remote-tracking branch 'origin/master' 2019-10-08 21:18:59 +02:00
Shinokuni 5d28f34a8d Improve AddFeedActivity UI 2019-10-08 17:44:17 +02:00
Shinokuni e51b9e8a7e Improve addFeedActivity behaviour when listing or adding feeds to parse 2019-10-08 16:39:49 +02:00
Shinokuni 46bde0cda9 Fix the alpha no being applied to the read time icon in the item layout 2019-10-06 15:57:51 +02:00
Shinokuni 5813025b1b Disable webview scrollbar 2019-10-06 15:44:33 +02:00
Shinokuni 8867eefe05 Increase app version and add changelog 2019-10-06 14:06:37 +02:00
Shinokuni aabcc88930 Disable proguard as it makes fail some functionalities 2019-10-06 14:04:23 +02:00
Shinokuni cc77edf032 Fix crash due to proguard rules 2019-10-05 18:06:11 +02:00
Shinokuni be04139d39 Increase app version and add changelog 2019-10-05 13:55:16 +02:00
Shinokuni c59c44a261 Fix drawer items icons not being updated in some cases when rebuilding the drawer 2019-10-05 13:13:03 +02:00
Shinokuni 55f57c3f60 Hide toolbar when scrolling in item activity and set the feed color to the status bar 2019-09-29 21:30:15 +02:00
Shinokuni dc552b29e7 Add custom view to show an empty list message for folder, feed and item lists 2019-09-29 13:25:18 +02:00
Shinokuni 044dd00ac4 Modify read later icon 2019-09-28 19:53:15 +02:00
Shinokuni c64c341842 Fix account settings drawer item disappearing after deleting an account 2019-09-28 19:06:44 +02:00
Shinokuni 6751e9acca Add some paging changes
Increase page size and prefetch distance to avoid some updating problems, use DataSource instead of PageKeyedDataSource
2019-09-28 17:16:53 +02:00
Shinokuni a202dcc395 Global improvements to Item ListAdapter
Use data binding, fix flickering effect when updating list or item, split global bind method
2019-09-28 14:32:21 +02:00
Shinokuni ee40b9a072 Replace AboutActivity by Mike Penz About libraries activity 2019-09-28 13:31:36 +02:00
Shinokuni 46a1f83d38 Add and indicator to feeds/folders tab layout 2019-09-28 13:07:01 +02:00
Shinokuni c097a454bf Remove action bar/tool bar hard-coded colors 2019-09-28 12:59:12 +02:00
Shinokuni 55e900bb22 Add Mike Penz About Libraries library 2019-09-27 22:18:12 +02:00
Shinokuni be17ba13e6 Fix null pointer exception with some palette swatches being null 2019-09-26 22:05:33 +02:00
Shinokuni 90929611f4 Intercept enter key event for some edit text in AddAccountActivity and AddfeedActivity 2019-09-25 23:30:28 +02:00
Shinokuni 7dc9e86193 Clean local RSS titles 2019-09-25 19:51:33 +02:00
Shinokuni 7920e54fbc Improve keyboard layout behavior with create account activity edit text fields 2019-09-24 22:18:08 +02:00
Shinokuni 642cd63f7d Add selectable baground to folder options dialog delete item 2019-09-22 18:26:25 +02:00
Shinokuni dcbb2a3130 Update kotlin sdtlib dependency 2019-09-22 18:18:20 +02:00
Shinokuni 081dd7cfa2 Add bottomSheetDialog for folder actions 2019-09-22 18:17:37 +02:00
Shinokuni 52fb98dee2 Add bottomSheetDialog for feed actions (remove swipe for delete and longclick) 2019-09-22 14:37:10 +02:00
Shinokuni 9096cea9bd Add feed count in folder layout 2019-09-21 17:21:46 +02:00
Shinokuni 6e2786e233 Add feed insertion result display for Freshrss account 2019-09-20 10:57:55 +02:00
Shinokuni 3418d5401c Remove custom preferences file name 2019-09-20 09:32:29 +02:00
Shinokuni 8828f1fe18 Add option to set maximum number of local items parsed per feed 2019-09-19 23:47:16 +02:00
Shinokuni 7d329bf0fc Add app version in about activity 2019-09-19 20:45:25 +02:00
Shinokuni 8eef3a0e95 Add global settings fragment 2019-09-19 11:41:37 +02:00
Shinokuni 3ad6c4af10 Replace annotationProcessor by kapt 2019-09-19 11:20:41 +02:00
Shinokuni bd4caa1cb5 Reapply kotlin kapt plugin with up to date dependancies 2019-09-19 10:39:15 +02:00
Shinokuni 2c8ddf5030 Don't show the no folder case in feed edit dialog folder list for freshrss accounts as a freshrss feed's folder can't be null 2019-09-18 22:50:53 +02:00
Shinokuni c696b6c28d Add debug build 2019-09-18 22:14:00 +02:00
Shinokuni e5b56c4614 Apply plugin kotlin-kapt 2019-09-18 21:56:25 +02:00
Shinokuni e1a52d7b27 About drawer item can't be selectable and articles item must be selected when recreating feeds items list 2019-09-18 21:29:28 +02:00
Shinokuni c0ba878d6c Add item left and right swipe background 2019-09-17 21:40:49 +02:00
Shinokuni 04a73169d7 Implement ActionMode Callback in activity scope instead of using it as a lambda 2019-09-14 13:36:22 +02:00
Shinokuni a2cc40a7e8 Add custom item touch callback (first kotlin class !) 2019-09-14 13:05:52 +02:00
Shinokuni 530632f0f2 Add kotlin to project 2019-09-14 12:56:10 +02:00
Shinokuni 3afa5b2b08 Increase app version 2019-09-12 13:27:34 +02:00
Shinokuni f6b68d1371 Fix feed name in feed layout overlapping feed description and reduce some margins 2019-09-09 14:31:24 +02:00
Shinokuni 14c7d641da Fix item layout warnings and reorganize its view hierarchy 2019-09-09 13:46:38 +02:00
Shinokuni 47dad0027f Fix getting favicon link with wrong url 2019-09-04 09:21:16 +02:00
Shinokuni dc0d3e790b Hide progressBar and enable validate button in AddfeedActivity when an exception is thrown 2019-08-30 22:38:41 +02:00
Shinokuni 58f8693cc8 Fix html head parsing 2019-08-30 22:37:07 +02:00
Shinokuni 45dd96ec3d Add NestedScrollView to AddAccountActivity 2019-08-29 21:24:39 +02:00
Shinokuni 742a00bb63 Add ScrollView to AddAccountActivity 2019-08-28 22:16:52 +02:00
Shinokuni e5c8e82bd6 Fix some DrawerManager bugs 2019-08-28 21:09:24 +02:00
Shinokuni 217d914f41 Add a simple about activity 2019-08-27 21:40:21 +02:00
Shinokuni ff15826fe4 Add back arrows to activities which didn't have one 2019-08-27 14:00:14 +02:00
Shinokuni 05c291d29d Update drawer feeds when coming from account settings 2019-08-27 13:32:36 +02:00
Shinokuni 6e39bc1204 Trigger sync when going back from AddFeedActivity only if the current account is local 2019-08-26 13:48:12 +02:00
Shinokuni 959614d99e Fix local items not linked to the right feeds 2019-08-26 10:35:47 +02:00
Shinokuni 5656817dea Update Freshrss folder remoteId when modifying its name 2019-08-24 21:19:14 +02:00
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 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 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