Commit Graph

829 Commits

Author SHA1 Message Date
Shinokuni 398f0ad876 Modify stetho implementation 2019-12-07 13:59:30 +01:00
Shinokuni 046382b3e3 Update some dependencies 2019-11-24 21:18:00 +01:00
Shinokuni aa3a3d3150 Enable Proguard for release build 2019-11-24 16:55:20 +01:00
Shinokuni 2f5a140988 Fiw webview not displaying item content when using api 29 2019-11-24 15:54:39 +01:00
Shinokuni 1f442cf6b8 Fix some lint warnings 2019-11-19 22:32:01 +01:00
Shinokuni a4534e3784 Add download image option 2019-11-16 19:46:52 +01:00
Shinokuni 39cc5260bd Add share option when a long press on an image in the item activity is detected 2019-11-15 12:08:24 +01:00
Shinokuni 5bd46ffacb Delete useless comment 2019-11-12 21:34:15 +01:00
Shinokuni 00f9a8ed89 Use global keys for two other arguments 2019-11-11 15:34:44 +01:00
Shinokuni e9448c6dde Add OPML import to the account type list activity 2019-11-11 15:22:47 +01:00
Shinokuni 35d520169f Use an unique key for feeds 2019-11-10 18:33:31 +01:00
Shinokuni bb4308e01f Reorganize matchers in a sub package 2019-11-10 18:24:00 +01:00
Shinokuni d2bca6f8e8 Display notification when opml export is over 2019-11-09 16:38:30 +01:00
Shinokuni 3bef12e7b5 Display snackbars when external storage permission isn't granted 2019-11-09 13:55:31 +01:00
Shinokuni 198e9ae299 Add initial support for feeds and folders export in OPML file 2019-11-08 18:26:38 +01:00
Shinokuni 1daf6e0733 Add waiting and error dialogs to opml parsing 2019-11-04 14:57:04 +01:00
Shinokuni ad28e44268 Parse OPML file to get feeds and folders and insert them, for local accounts only 2019-11-04 13:48:42 +01:00
Shinokuni d4228ee953 Wrap room insert id result into a single 2019-11-03 13:37:43 +01:00
Shinokuni dfb4c82c59 Add opml import/export preference in account preferences and open android file dialog 2019-11-02 19:57:42 +01:00
Shinokuni d4eb6d6660 Do not display credentials settings for local account 2019-11-02 14:32:15 +01:00
Shinokuni 46e69cb8bb Update targetSdkVersion and compileSdkVersion to 29 2019-11-01 18:39:04 +01:00
Shinokuni 4e0546ca91 Update room dependencies 2019-11-01 18:25:44 +01:00
Shinokuni 577a70cab0 Add an object to centralise global keys 2019-11-01 15:16:51 +01:00
Shinokuni 13f3132238 add logger to FreshRSS sync 2019-10-26 18:30:24 +02:00
Shinokuni e2d497f32a Fix html escape characters for some feeds 2019-10-26 18:28:08 +02:00
Shinokuni 33997f071b Add progress bar in WebViewActivity layout 2019-10-26 16:25:10 +02:00
Shinokuni c1f77edbe1 Suppress compile warnings for two DAO requests 2019-10-25 18:46:41 +02:00
Shinokuni fccc20698a Merge branch 'develop' of https://github.com/readrops/Readrops into develop 2019-10-25 18:43:07 +02:00
Shinokuni c37a3ed3b2 Simplify empty list custom view layout 2019-10-25 18:42:55 +02:00
Shinokuni 645b9f3540 Add refresh layout to WebViewActivty with share and actualize menu items 2019-10-21 22:27:13 +02:00
Shinokuni ed7293e1d8 WebViewActivity : set feed color to toolbar and hide it on scrolling down 2019-10-20 19:20:27 +02:00
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
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 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 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
Shinokuni 00fae40637 Remember if the app was syncing when destroying and recreating the activity 2019-07-25 17:51:38 +02:00
Shinokuni 480dddc95d Dispose sync ressources when destroying activity 2019-07-25 17:16:52 +02:00
Shinokuni 8c8d6d65c2 Display errors with snackbars instead of toasts 2019-07-25 16:59:20 +02:00
Shinokuni 8a8e4394ce Update/delete Nextcloud News feeds and folders when syncing 2019-07-25 14:00:04 +02:00
Shinokuni a9fc9799fc Add account deletion action 2019-07-23 21:54:43 +02:00
Shinokuni db0d689f10 Update gradle plugin and some gradle dependancies 2019-07-20 16:46:59 +02:00
Shinokuni a587c8aa6f Add Nextcloud news feed deletion and update (rename/change folder) 2019-07-20 16:40:38 +02:00
Shinokuni 9512932282 Fix nextcloud news folder creation/deletion 2019-07-16 13:48:53 +02:00
Shinokuni 5970b18203 Implement Nextcloud folder creation, update and deletion APIs 2019-07-14 21:24:59 +02:00
Shinokuni 9097c1d660 Add folder list, folder update and deletion 2019-07-14 12:24:19 +02:00
Shinokuni b05fbbe080 Add view pager for feed and folder management. Put feed management in a fragment 2019-07-13 13:13:12 +02:00
Shinokuni ef8176b324 Add titles to activites 2019-07-12 15:42:42 +02:00
Shinokuni 142d0f19cf Fix wrong drawer items getting their icon updated 2019-07-12 14:12:36 +02:00
Shinokuni 7ca509e8a9 Add account settings activity to modify account informations and get account feeds and folder list 2019-07-11 13:49:34 +02:00
Shinokuni e1bf8b936e Disable account switching when updating feeds 2019-07-07 21:22:32 +02:00
Shinokuni 5d6ea2ee09 Fix item activity main request 2019-07-07 15:39:29 +02:00
Shinokuni 179832f80d Add password toggle for password field in add account activity 2019-07-07 15:14:59 +02:00
Shinokuni f574ccfd16 Fix drawer items without folder having their feed icon not displaying and their unread count badge 2019-07-07 14:25:46 +02:00
Shinokuni ddfd9507a5 Fix null pointer exception when going back to main activity from add feed activity 2019-07-07 13:50:50 +02:00
Shinokuni a343b8c2aa Add feedly and freshrss icons 2019-06-25 16:08:57 +02:00
Shinokuni 59a0a81672 Add account support for other queries 2019-06-23 22:17:30 +02:00
Shinokuni d35db1dd57 Fix main query joins 2019-06-23 17:19:20 +02:00
Shinokuni 9b6dd6713a Display feed icon for all feed drawer items 2019-06-23 17:00:24 +02:00
Shinokuni 44f58a8aba Fix Folder entity usage as its foreign key is now nullable 2019-06-23 16:50:53 +02:00
Shinokuni 75a0ee4d97 Clean some layouts 2019-06-23 13:35:46 +02:00
Shinokuni e12cf1ec7f Add nextcloud news feed insertion and account choice in the add feed activity 2019-06-23 13:33:10 +02:00
Shinokuni b0b8e4202a Fix AccountType enum parcel write 2019-06-15 22:22:38 +02:00
Shinokuni d93137b0a5 Use enum ordinal value instead of a custom field to store the enum in db 2019-06-14 15:49:25 +02:00
Shinokuni 61f79b8546 Add better use of AccountType enum instead of using a class of the same name holding same fields 2019-06-14 15:28:33 +02:00
Shinokuni 65c7141c29 Check item remoteId presence with its foreign feedId 2019-06-14 14:52:03 +02:00
Shinokuni 9cb3c14e40 Clear list data when adding a new account 2019-06-14 14:30:55 +02:00
Shinokuni 64d3f384be Fix item duplicates when getting last modified items 2019-06-06 15:15:12 +02:00
Shinokuni 73b4b8e4d3 Add a local account from the main activity is now possible 2019-05-24 23:07:42 +02:00
Shinokuni a12dfa6f13 Fix folder and feed check queries returning bad results 2019-05-24 22:35:52 +02:00
Shinokuni c4d00fe2e1 Replace drawer feeds icons by their favicon 2019-05-23 22:32:50 +02:00
Shinokuni 3efb023d56 It's now possible to add the same nextcloud news account multiple times 2019-05-23 22:20:02 +02:00
Shinokuni 14596c75fd Add only forward flag when coming from main activity 2019-05-23 21:53:00 +02:00
Shinokuni 52219995bb Feeds and folders are now linked to an account 2019-05-23 17:14:36 +02:00
Shinokuni 00f331a18f Put account logic in the view model 2019-05-23 10:16:44 +02:00
Shinokuni 4df3087691 Add splash activity 2019-05-22 11:16:11 +02:00
Shinokuni 86a6daaf5b Put drawer build in DrawerManager 2019-05-21 22:10:57 +02:00
Shinokuni 642617b1ce It's now possible to add an account (other than local) from the main activity, the activity will switch to this new account 2019-05-21 14:53:16 +02:00
Shinokuni bfc7f934bf When a new account is inserted, it becomes the current account 2019-05-21 13:29:18 +02:00
Shinokuni feba9b321e Add account type list activity 2019-05-21 12:57:08 +02:00
Shinokuni c771086989 Add empty list layout 2019-05-20 10:40:27 +02:00
Shinokuni 2ecc707d0e Add drawer account header 2019-05-19 22:44:22 +02:00
Shinokuni 4985604289 Add drawer header 2019-05-18 22:37:47 +02:00
Shinokuni 635e9fdbf8 Add Nextcloud News icon 2019-05-18 22:05:09 +02:00
Shinokuni 3a163c1de5 Fix select all menu item behaviour and add icon 2019-05-18 16:32:56 +02:00
Shinokuni 432726defa Set lastModified to the current account object, otherwise the sync mode will always be the initial one 2019-05-18 16:17:20 +02:00
Shinokuni 60797cf76c Set its id to the new account instance 2019-05-18 16:15:40 +02:00
Shinokuni 572f1f7c45 Add create account activity with login flow 2019-05-18 13:57:01 +02:00
Shinokuni 945da48807 Check is enclosureMime is not null 2019-05-17 15:01:20 +02:00
Shinokuni e1478eab2c Fix getting item list selection 2019-05-17 13:59:22 +02:00
Shinokuni 38179d0110 Add support for enclosure images 2019-05-17 13:29:50 +02:00
Shinokuni 1302d8306d Tweak feed colors rules 2019-05-17 11:52:07 +02:00
Shinokuni 062e5a6050 synchronize read/unread changes 2019-05-17 11:37:20 +02:00
Shinokuni 3119d44264 Add account entity 2019-05-15 22:45:43 +02:00
Shinokuni 970c14581b Add normal sync calls in NextNewsAPI 2019-05-14 14:10:14 +02:00
Shinokuni ac030c146f Fix authentification failure, sort items by date and add better handling for null values 2019-05-12 22:42:45 +02:00
Shinokuni 92ce491771 Requesting folders, feeds and items from Nextcloud News now works 2019-05-12 16:16:27 +02:00
Shinokuni 3903bb6eb1 Starting to implement nextcloud news Rest API 2019-05-10 15:41:11 +02:00
Shinokuni 60d968d367 Migrate to androidx 2019-05-10 13:24:02 +02:00
Shinokuni 5737a1bea3 Enable databinding 2019-05-10 12:09:09 +02:00
Shinokuni 7c162a3ada Add Readrops logo 2019-05-08 14:00:55 +02:00
Shinokuni 49e4b3e12f Json feed format now works ! 2019-04-29 11:44:02 +02:00
Shinokuni aeb4994c2a Select all option now respects the feed filter 2019-04-26 09:37:55 +02:00
Shinokuni 245719e2f6 Use okHttpClient as a singleton 2019-04-25 21:29:54 +02:00
Shinokuni f32b711be2 Select all option, use the global boolean 2019-04-25 21:09:39 +02:00
Shinokuni 9f8c663176 Add select all option in the contextual menu of the items list activity 2019-04-25 19:47:04 +02:00
Shinokuni c03e6ec3f4 Scroll to top when changing feed filter in the items list 2019-04-25 18:14:36 +02:00
Shinokuni 3f7a879993 Replace standard queries by a raw query to filter and sort the items list 2019-04-22 21:12:46 +02:00
Shinokuni b9a31d4652 Implement paging for the items list and refactor the filter/sort logic using more queries 2019-04-20 13:16:25 +02:00
Shinokuni 30092d3a86 keep the feed filter when syncing feeds 2019-04-18 15:21:49 +02:00
Shinokuni f07d998214 add support for read it later items 2019-04-17 21:57:14 +02:00
Shinokuni 8c57d977fb add left and right swipe 2019-04-16 14:07:14 +02:00
Shinokuni 70187cf306 set main activity title color 2019-04-15 18:51:13 +02:00
Shinokuni c30584983c update drawer feeds count after using action mode 2019-04-15 18:47:36 +02:00
Shinokuni 1e8195b906 Add recycler view item long press with read state actions (set read/unread) 2019-04-15 18:45:23 +02:00
Shinokuni da13d487e4 Add filter item in main activity menu 2019-04-09 11:53:26 +02:00
Shinokuni 7494e7daf4 Add item checkbox in main activity menu for showing read articles (choice is saved in SharedPreferences) 2019-04-08 11:25:43 +02:00
Shinokuni 04d4c8dd7c update drawer after clicking on an item 2019-04-05 10:25:36 +02:00
Shinokuni 533294dbdb Improve read items alpha visibility 2019-04-05 09:59:45 +02:00
Shinokuni 51764a189e Add unread items count badges to drawers items 2019-04-04 22:11:28 +02:00
Shinokuni ed224cced3 Add read/unread item state 2019-04-04 21:44:49 +02:00
Shinokuni 37f3a33600 You can now filter the item list when clicking on a feed drawer item 2019-04-04 15:13:14 +02:00
Shinokuni 1ba3f4f745 Add icons with favicon dominant color for drawer feeds items 2019-04-03 19:26:35 +02:00
Shinokuni 0734eaa5da Add a drawer manager 2019-04-02 10:33:46 +02:00
Shinokuni 222012647f update drawer after closing the add feed activity 2019-04-01 11:32:22 +02:00
Shinokuni 33cb5ae968 Fix feed parsing label visibility 2019-04-01 11:30:54 +02:00
Shinokuni 54cf68760f add cancel right drawable to the feed input text in the add feed activity to clear text 2019-04-01 11:30:03 +02:00
Shinokuni 252c661858 Replace standard navigation drawer by mike penz material drawer 2019-03-29 14:26:25 +01:00
Shinokuni d20d1e3ed1 Minor diverse changes 2019-03-28 16:56:55 +01:00
Shinokuni 34e8c1b4c2 Set the default color for the item date background when no color is available 2019-03-28 16:53:42 +01:00
Shinokuni bd6cbe30e7 rework add feed_item_layout margin constraints 2019-03-26 17:55:20 +01:00
Shinokuni 5fabec0c1c The date background for both litem list and item activities has the now the color of the feed 2019-03-23 13:31:24 +01:00
Shinokuni 789f9d24ea revamp some constraints and add background to the date in activity item layout 2019-03-22 13:20:12 +01:00
Shinokuni e14a098cf8 fix item activity toolbar subtitle color 2019-03-20 11:17:13 +01:00
Shinokuni 00ac9211fd Add folder name in item layout and add date blue background 2019-03-20 11:08:03 +01:00
Shinokuni 8decb98e4f Add swipe for parse result recycler view 2019-03-18 15:02:35 +01:00
Shinokuni ee0e8aa83e Delete unused code 2019-03-18 11:05:00 +01:00
Shinokuni 3e50e63626 remove old callback in main activity 2019-03-17 19:55:06 +01:00
Shinokuni 3b277a1fba change read time icon color 2019-03-16 17:46:59 +01:00
Shinokuni f04acd0c4c Add style for buttons and add some view visibility logic 2019-03-16 17:10:50 +01:00
Shinokuni 2182e4b340 Remove add feed activity recyclerviews separators 2019-03-16 13:09:26 +01:00
Shinokuni 0b389dd080 Add insertion results to the AddFeedActivity layout 2019-03-15 16:06:54 +01:00
Shinokuni 594f3d1c5e Update sync progress textview 2019-03-14 10:51:46 +01:00
Shinokuni 8c483b1885 Improve progressbar style 2019-03-13 16:48:27 +01:00
Shinokuni 5689fef568 Add loading view to show sync progress 2019-03-13 15:04:07 +01:00
Shinokuni fc369888ac sync now returns potential errors 2019-03-13 09:32:14 +01:00
Shinokuni 710eb18dc0 Get added feeds from add feed activity result to start syncing them when going back to the main activity 2019-03-12 15:19:21 +01:00
Shinokuni 0869631d95 Starting re-implementing feed and item insertion process, for better flexibility and control over results 2019-03-11 19:12:30 +01:00
Shinokuni 5aa6496d1e put parseUrl logic in the viewModel 2019-03-10 22:17:51 +01:00
Shinokuni bc263a05f8 Add feed insertion with multi selection in add fed activity 2019-03-10 20:01:55 +01:00
Shinokuni 78f2b65a30 Fix bug where item and feed names can have unwanted characters 2019-03-10 19:59:19 +01:00
Shinokuni 18e626a303 Add edit feed activity 2019-03-10 15:19:02 +01:00
Shinokuni b1631e9d0d Display the correct wording int the feed layout for the default folder 2019-03-09 21:36:09 +01:00
Shinokuni 5df6e1ed27 Change the way a feed is deleted, we are now using a swipe 2019-03-09 19:04:32 +01:00
Shinokuni 54b4aa15a7 Modify edit feed dialog opening way and add feed website link opening on long click 2019-03-09 18:35:09 +01:00
Shinokuni f8054d14a9 Use ListAdapter instead of FastAdadpter, fixes some update bugs 2019-03-09 17:41:47 +01:00
Shinokuni 95a50a4787 Correct typo 2019-03-08 16:57:27 +01:00
Shinokuni ed9fb458c8 Use rxjava with feed synchronization 2019-03-08 16:29:26 +01:00
Shinokuni f7a0ef47fe Add confirmation dialog for feed deletion 2019-03-07 18:23:54 +01:00
Shinokuni 767139d1ce Add feed deletion 2019-03-07 16:43:25 +01:00
Shinokuni ef7e1a9b12 Set folder spinner selection 2019-03-06 16:20:30 +01:00
Shinokuni 54d6fca734 Add DiffUtil changePayload actions to avoid the list flickering 2019-03-06 11:58:16 +01:00
Shinokuni 652ce8b629 Add folder insertion with RxJava and DiffUtil to fastAdapter (needs some improvements though) 2019-03-05 18:21:13 +01:00
Shinokuni bd3f279d0a Add folders names to edit feed dialog spinner 2019-02-27 16:47:32 +00:00
Shinokuni 4c538af36e Add feed update 2019-02-26 22:06:12 +00:00
Shinokuni 50ede215fb Add feedWithFolder argument to the add feed dialog to display and edit feed data 2019-02-25 21:29:37 +00:00
Shinokuni 3b4f6fe9f0 change edit feed dialog to dialog fragment with an alert dialog 2019-02-24 15:33:47 +00:00
Shinokuni 706861a825 Add feed edit dialog 2019-02-24 14:21:06 +00:00
Shinokuni 83ca13249a Not to hold a database instance in a viewmodel class 2019-02-23 21:46:21 +00:00
Shinokuni 3cee4fead6 add manage feeds activity closing options 2019-02-23 21:12:16 +00:00
Shinokuni 4e74109fbd grey icons for feed layout icons 2019-02-23 21:08:17 +00:00
Shinokuni bc63ee16bf Fix android studio build failures 2019-02-23 21:06:34 +00:00
Shinokuni 728dd8fc17 Order files 2019-02-23 17:31:11 +00:00
Shinokuni 32833706b2 Add manage feeds activity with basic feed layout 2019-02-23 17:13:10 +00:00
Shinokuni e0232ce0fc clean app gradle 2019-02-23 13:27:39 +00:00
Shinokuni d8f6fade84 Minor changes for the item activity (date format, close actions) 2019-02-23 12:12:22 +00:00
Shinokuni 4dd01a6966 close fab menu after click 2019-02-22 22:20:39 +00:00
Shinokuni e543fa3664 Add custom fab 2019-02-22 14:42:56 +00:00
Shinokuni 9e13b3aca0 Fix rss request bug 2019-02-22 12:22:49 +00:00
Shinokuni ba4a0f0db0 Add support for direct feed urls 2019-02-21 21:58:46 +00:00
Shinokuni 6a05cd6bbf Add support for alternative tags author and dc:date. Fix date parsing bug 2019-02-21 21:00:28 +00:00
Shinokuni 3290c55e65 add support for another date format and modify item activity date format 2019-02-21 19:04:09 +00:00
Shinokuni 5c722b38c9 add material-dialogs sdk 2019-02-21 15:01:14 +00:00
Shinokuni c290551917 Improve rss enclosure parsing 2019-02-19 11:47:59 +00:00
Shinokuni e89eb4f0de Improve webview top margin 2019-02-19 11:46:38 +00:00
Shinokuni d0b5fa6866 Add folder creation, deletion and feed folder change with rxandroid 2019-02-19 11:02:50 +00:00
Shinokuni d76d2e356f Add folder db model 2019-02-18 19:05:50 +00:00
Shinokuni 7dcdcb68fb Improve webview presentation and add scroll bar visibility 2019-02-15 12:47:22 +00:00
Shinokuni 2cc0d27660 Fix items time reading for some feeds 2019-02-15 12:23:19 +00:00
Shinokuni b53463b2d4 Fix feed name color when no color is available 2019-02-15 12:02:57 +00:00
Shinokuni 76aef3916a improve image detection by providing only body children nodes 2019-02-14 22:27:36 +00:00
Shinokuni 90d15c57b2 set background color to item activity title if available 2019-02-14 19:50:31 +00:00
Shinokuni f668f88a60 Add collapsing toolbar fab action in menu after total layout collapse 2019-02-13 22:26:45 +00:00
Shinokuni d2a6617311 Add share action 2019-02-12 09:27:16 +00:00
Shinokuni 9bf6e2613f Add support for another RSS 2.0 date format (really close to the main one) and media enclosure tag 2019-02-11 21:42:55 +00:00
Shinokuni 518cada73f Fixing RSS content tag parsing, there may be more than one 2019-02-11 18:16:01 +00:00
Shinokuni 385dc05691 Add date to the item activity layout and start adding a share button to the same activity (not finished though) 2019-02-11 17:38:54 +00:00
Shinokuni 62c3da343d No top margin for h1 tag 2019-02-10 22:20:13 +00:00
Shinokuni b4931c6d36 Add a floating action button to open the item link 2019-02-10 22:19:49 +00:00
Shinokuni c9b3e3f09f Delete image from content or description only if it's a cover image, so an img tag surrounded by a p or div tag a the beginning of the string 2019-02-10 21:36:38 +00:00
Shinokuni 1a78feec81 fix link color regression 2019-02-10 18:35:08 +00:00
Shinokuni d684ecaffd Removing div tag attributes to avoid images not fitting the screen width 2019-02-10 17:15:37 +00:00
Shinokuni 64cc134d68 Use template for better html/css formatting 2019-02-09 22:52:44 +00:00
Shinokuni 897f8d058d Fixing scrim visibility when no image is displayed 2019-02-09 22:35:45 +00:00
Shinokuni b9e19098eb Set webview padding to 10dp 2019-02-09 21:29:45 +00:00
Shinokuni cac2bed15f Fixing webview padding (I really have to make a template) 2019-02-09 21:28:01 +00:00
Shinokuni bca77af852 Adding back navigation to item activity and fixing bug when either description or content are null 2019-02-09 19:13:46 +00:00
Shinokuni a2c3aa22c8 tweaking item activity margins 2019-02-09 19:02:50 +00:00
Shinokuni 20efc02d4e Getting background color from favicon to set it to the item activity toolbar and default color to the item activity title 2019-02-09 18:55:09 +00:00
Shinokuni bf2401a337 Add scrim to collapsing toolbar layout for better title visibility 2019-02-09 13:25:39 +00:00
Shinokuni 017ce251fa Improving item activity code and toolbar status when no header image is available 2019-02-09 12:34:44 +00:00
Shinokuni b7ac444be0 Fixing atom format very annoying urls problem, by setting them manually just after parsing 2019-02-08 20:28:10 +00:00
Shinokuni 8fcd5fc3ad Adding view port to fit the webview images in the screen size 2019-02-08 20:15:06 +00:00
Shinokuni 4d05174ce2 Improving readtime display in list item layout 2019-02-08 19:37:11 +00:00
Shinokuni a1d4112322 Add item readtime on item list activity and item activity 2019-02-08 18:22:42 +00:00
Shinokuni cc88fc8334 Fix rss 2.0 creator tag support and add it to the item activity 2019-02-08 15:12:12 +00:00
Shinokuni 8bf62465ff Add item details below the collapsing toolbar layout. Improving general UI 2019-02-08 13:57:25 +00:00
Shinokuni 9042b9a039 Adding Item view activity with very basic collapsing toolbar layout and webview to render item html content. Big improvements needed. 2019-02-07 18:33:55 +00:00
Shinokuni 659eeaa48b Add items sorting before insertion 2019-02-07 14:32:49 +00:00
Shinokuni 098ae50044 Implementing Optional GET with If-None-Match and If-Modified-Since headers 2019-02-06 21:01:51 +00:00
Shinokuni 287abcafc0 Add adapter listener to set the list to the top when inserting new items 2019-02-05 18:48:13 +00:00
Shinokuni 5aded28681 Fixing Atom link tag parsing and RSS 2 match issues 2019-02-05 17:50:07 +00:00
Shinokuni 0836d45217 Fixing atom parsing problem and rss type discovery when the mime-type is not enough specific (application/xml, text/xml). Note that is a workaround and I definitely have to improve this. 2019-02-04 22:45:13 +00:00
Shinokuni c8680af7ca Add support for mime-type application/xml and retrieving absolute favicon url 2019-02-04 17:39:19 +00:00
Shinokuni 4c2a5c682a Tweaking item title 2019-02-04 17:38:01 +00:00
Shinokuni 92497ac625 The add feed dialog now handles exceptions and display the right error messages 2019-02-03 22:55:44 +00:00
Shinokuni aaa2e921c3 Improving the add feed dialog with better components style and margins 2019-02-03 22:17:51 +00:00
Shinokuni 808d442735 Add media:content tag parsing for the RSS format and displaying it when it's an image 2019-02-03 21:40:51 +00:00
Shinokuni bb9d79a9da Fixing some atom and html parsing problems, improving favicon link retrieval. The ATOM parsing should be now at the same level as the RSS one 2019-02-03 19:41:53 +00:00
Shinokuni c5cca8d822 Improving some layouts 2019-02-03 14:28:14 +00:00
Shinokuni 1a9bba1e44 stopping refreshlayout animation when an exception is raised 2019-02-03 13:06:21 +00:00
Shinokuni ff8b9156db Adding advanced glide management 2019-02-03 12:58:36 +00:00
Shinokuni 5941e9708f Adding support for more content-type header formats (text/xml and remove charset indication) 2019-02-02 22:08:47 +00:00
Shinokuni 0335d67541 Improving item layout for items without image cover and fixing some null pointer exceptions for the favicon url and the image url 2019-02-02 15:10:13 +00:00
Shinokuni 79e8146758 Improving item layout 2019-02-01 22:45:12 +00:00
Shinokuni be1c7ff01f Adding feed icon and item description (without any html !) to the item layout 2019-02-01 22:11:27 +00:00
Shinokuni adbbf2f2bd Get feed id as room insert result 2019-02-01 19:20:21 +00:00
Shinokuni 6cd29826c1 get dominant color from feed favicon for feed title 2019-02-01 19:03:06 +00:00
Shinokuni bf15c04c68 Modifying item request to have feed name 2019-01-31 21:28:11 +00:00
Shinokuni bab22e99ee Adding image displaying control with glide 2019-01-31 19:32:56 +00:00
Shinokuni 6656724a53 Adding url field verification to add feed dialog (still lacks other http errors) 2019-01-31 15:04:31 +00:00
Shinokuni 5f837d6edb Adding click listener and default click animation to feed items list 2019-01-30 19:44:30 +00:00
Shinokuni 3b8e3c742a Feed database insertion now works with RSS 2.0 feeds, insert dialog is OK 2019-01-30 19:43:47 +00:00
Shinokuni aa692c8222 adding dialog to add a new feed 2019-01-29 21:53:53 +00:00
Shinokuni 290e59be27 Modification of the default style 2019-01-27 18:32:19 +00:00
Shinokuni bff0256243 The default item list layout looks a bit better, and gained a date 2019-01-27 16:05:45 +00:00
Shinokuni fb9a1a706c The list item displays now an image when available (found in its description) 2019-01-27 15:35:44 +00:00
Shinokuni 62f86341cb Adding some items to the navigation drawer as well as a floating button in the main activity 2019-01-26 22:24:19 +00:00
Shinokuni 0f9fa1d166 Adding simple navigation drawer 2019-01-26 19:03:23 +00:00
Shinokuni 8b779473ee Adding diffUtil Callback to the adapter 2019-01-26 15:35:22 +00:00
Shinokuni d9931db99c adding right date format and parsing 2019-01-25 12:23:28 +00:00
Shinokuni 43666dfb11 Adding simple refresh layout 2019-01-23 14:08:06 +00:00
Shinokuni 88aa232f81 Add a basic feed request and display with some android architect components 2019-01-22 22:51:18 +00:00
Shinokuni 4d1d723158 attempt to make a simple recycler view to show the results of an rss request and parsing 2019-01-15 18:43:25 +00:00
Shinokuni 9490aa7f20 Simple html parsing to get feed url 2019-01-12 15:54:27 +00:00
Shinokuni 808135f891 Nextcloud News implementation testing 2019-01-12 14:57:46 +00:00
Shinokuni 3b0e34f7cc adding some dependancies 2019-01-12 14:07:04 +00:00
Shinokuni 6f6053c96c android studio project creation 2019-01-12 12:10:02 +00:00