Commit Graph

485 Commits

Author SHA1 Message Date
Shinokuni 5a9ba348f7 Fix account url which wasn't updated in retrofit when its text field value was, in account creation activity 2020-01-17 19:40:42 +01:00
Shinokuni a8404ef00f Replace json feed model by a kotlin version with generated adapters. Remove gson dependency 2020-01-16 17:21:16 +01:00
Shinokuni b0963bb9ec Delete model used with Nextcloud folder api calls (create, rename, delete). Use the local model instead or a map 2020-01-15 22:11:17 +01:00
Shinokuni aafec850bb Handle feed site url and item author nullability 2020-01-15 19:16:54 +01:00
Shinokuni 188d2086dd Remove login and password in shared preferences when deleting account 2020-01-15 18:41:33 +01:00
Shinokuni aea791ed94 Fix account not having its credentials just after being created 2020-01-15 18:17:19 +01:00
Shinokuni 8691602975 Use local feed entity object instead of Nextcloud News objects for rename feed and change feed folder api calls 2020-01-13 15:43:06 +01:00
Shinokuni 9eb6df31b5 Fix items not having their read state updated when already existing in db 2020-01-13 15:05:51 +01:00
Shinokuni 4454c5c028 Use adapters with Nextcloud News create feed and folder api calls 2020-01-13 11:25:14 +01:00
Shinokuni 6d79fdf64d Add adapter for Nextcloud News items api call 2020-01-12 15:14:27 +01:00
Shinokuni a179a18432 Add adapter for Nextcloud News folders api call 2020-01-11 19:30:29 +01:00
Shinokuni fca4b7f513 Add adapter for Nextcloud News feeds api call 2020-01-11 19:09:43 +01:00
Shinokuni 6705b47df6 Replace NextNewsuser by a kotlin version with generated adapters 2020-01-11 18:31:59 +01:00
Shinokuni 0949cbf8d2 Fix travis failed build 2020-01-06 09:00:40 +01:00
Shinokuni 45e594d4f2 Readd date of last sync using a local value instead of using FreshRSS' one 2020-01-05 19:06:10 +01:00
Shinokuni bf60d2efe1 Delete not used anymore classes and code 2020-01-04 17:09:44 +01:00
Shinokuni 03b6c9b986 Add adapter for FreshRSS items api call 2020-01-04 17:06:21 +01:00
Shinokuni fea6c78520 Add Moshi adapter for FreshRSS folders api call 2020-01-03 15:49:48 +01:00
Shinokuni 0b68bf6c51 Initial replacement of Gson by Moshi
Replace GsonConverterFactory by MoshiConverterFactory and create feed adapter for FreshRSS feeds api call
2020-01-03 14:25:51 +01:00
Shinokuni b2acceb868 Configure readropsdb module and dependencies 2020-01-02 15:38:25 +01:00
Shinokuni fe78ea4f68 Create new module to contain database related files 2020-01-02 15:19:57 +01:00
Shinokuni 0b841193b5 Add Flipper Shared preferences plugin 2020-01-02 13:25:24 +01:00
Shinokuni 37325642ce Replace Stetho by Flipper 2020-01-01 18:10:15 +01:00
Shinokuni 93d9430718 Replace current logo by an adaptive version 2019-12-31 18:01:50 +01:00
Shinokuni fad94bc943 Delete unused resources 2019-12-31 17:26:58 +01:00
Shinokuni 6234a802f6 New icon for reading time 2019-12-30 14:40:05 +01:00
Shinokuni aa26886894 Add a progress bar in the folder layout to represent the number of feeds by folder out of the max number of feeds 2019-12-30 13:52:24 +01:00
Shinokuni eca546bea7 Hide fab when scrolling down in item list activity 2019-12-29 14:34:54 +01:00
Shinokuni 12694dfde6 Set feed icon placeholder color in feed layout to grey 2019-12-29 14:27:12 +01:00
Shinokuni ea76c9d144 Tweak colorAccent value 2019-12-28 22:00:03 +01:00
Shinokuni c1d02ea38a Improve pre and code html tags look 2019-12-28 17:26:30 +01:00
Shinokuni bb480c6496 Set primaryDarkColor 2019-12-28 17:23:39 +01:00
Shinokuni db8d6e58c2 Merge branch 'master' into develop 2019-12-27 17:43:35 +01:00
Shinokuni 0202df95d9 Increase app version and add changelog 2019-12-27 17:08:34 +01:00
Shinokuni 5aa07a186e Merge branch 'master' into develop 2019-12-26 21:26:41 +01:00
Shinokuni a279dc1ff4 Request write storage permission before downloading image 2019-12-26 21:25:04 +01:00
Shinokuni 1067bd4fa2 clear attributes for span tag 2019-12-23 14:08:16 +01:00
Shinokuni 9b0e13e069 Check if action isn't null before testing its value 2019-12-23 13:59:47 +01:00
Shinokuni d6d2b76213 Add intent filter to open AddFeedActivity with an url in direct share menus 2019-12-23 13:44:02 +01:00
Shinokuni cae41ad576 Define compileSdkVersion, minSdkVersion and targetSdkVersion properties at the project level 2019-12-21 21:46:02 +01:00
Shinokuni 1e9ebd898e Use action mode title to display the number of selected items 2019-12-21 21:08:22 +01:00
Shinokuni 3d98aa57b4 Increase app version and add changelog 2019-12-21 18:02:45 +01:00
Shinokuni f14406a480 Add description for ompl export notification 2019-12-21 13:26:58 +01:00
Shinokuni 3b781df5d8 Add specific icon for notifications 2019-12-20 21:26:02 +01:00
Shinokuni 88ffd9eb4b Initialize default preferences at startup 2019-12-20 18:07:24 +01:00
Shinokuni 6274540352 Clean MainItemListAdapter sonar warnings 2019-12-20 13:31:37 +01:00
Shinokuni 06c1313664 Use colorControlHighlight value for selected item background 2019-12-19 21:17:20 +01:00
Shinokuni 850c739b2b Set default night mode to NO when dark theme is disabled 2019-12-18 22:00:40 +01:00
Shinokuni f6b17d1926 Set button text color to white for dark theme 2019-12-18 21:46:10 +01:00
Shinokuni 1264b0ffef add dark theme to bottom sheet dialogs 2019-12-18 18:12:45 +01:00
Shinokuni 10e38374a0 Use apply instead of let 2019-12-17 22:16:48 +01:00
Shinokuni 51a70161c2 Add dark theme to item activity webview 2019-12-15 16:18:56 +01:00
Shinokuni a2ba6774eb Add dark theme for about screen 2019-12-15 13:15:31 +01:00
Shinokuni 5af8e1af62 Add dark theme for material drawer 2019-12-15 13:01:16 +01:00
Shinokuni 9ede16c864 Initial work on dark theme 2019-12-08 18:55:42 +01:00
Shinokuni b40a834055 Rollback to default implementation for stetho 2019-12-07 14:11:49 +01:00
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