Commit Graph

809 Commits

Author SHA1 Message Date
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
José Padarian f70a0551b4 Added option to show image title or alt as caption 2020-04-12 19:46:12 +10:00
Shinokuni bf48caf694 Fix FreshRSS folder id parsing bug 2020-04-11 21:39:35 +02:00
Shinokuni 467c619590 Fix app crash when using an account url without http scheme 2020-04-09 22:00:17 +02:00
Shinokuni 0d520e3c1f Fix feeds being deleted when adding a new feed with a NC News account 2020-04-09 21:20:19 +02:00
Shinokuni f885038c67 For multiple accounts sync result case, just return a title 2020-03-30 21:13:36 +02:00
Shinokuni dd4579fbd0 Update some gradle dependencies 2020-03-29 21:34:18 +02:00
Shinokuni 93b9336045 Avoid certain cases where all feeds notifications permissions could be set unnecessarily in notifications permissions activity 2020-03-29 19:48:20 +02:00
Shinokuni d5e5bb7abb User the right key for account id 2020-03-29 15:55:53 +02:00
Shinokuni 2955a3d60c Modify enable all feeds permissions switch label 2020-03-29 13:50:02 +02:00
Shinokuni 4aa7ae7e4c Fix synchronization between feeds notifications permissions switches and enables all feeds notifications switch 2020-03-28 18:45:37 +01:00
Shinokuni 6d0ebf063b Display an information dialog on account notifications switch check when
automatic synchronization is disabled
2020-03-28 18:18:38 +01:00
Shinokuni b359d6c3f8 Fix click synchronization between the switch and the item view in notification permission layout 2020-03-25 21:15:25 +01:00
Shinokuni 6600090525 Add a switch to enable disable all feeds notifications 2020-03-24 22:36:50 +01:00
Shinokuni 2d809f3c6b Various little UI improvements for notifications activity 2020-03-24 21:28:08 +01:00
Shinokuni 31baff2772 Fix feed notification switch enabled on item view click with account notifications disabled 2020-03-24 21:02:47 +01:00
Shinokuni 46a0aa0741 Don't abort when lint task fails 2020-03-22 18:22:37 +01:00
Shinokuni b4ffbd94a7 Add buildToolsVersion property to gradle files 2020-03-20 22:14:26 +01:00
Shinokuni 5b192ae291 Merge branch 'master' into develop 2020-03-20 22:05:31 +01:00
Shinokuni afdf0224da Delete unused dependency 2020-03-20 21:44:40 +01:00
Shinokuni 896a626eb6 Add more tests for sync result notification content 2020-03-20 19:51:58 +01:00
Shinokuni c949ed58f5 Sync result notification now respects account and feed notification permissions 2020-03-15 18:47:04 +01:00
Shinokuni 65aca8eb5d Enable notifications by account and disable feed notification permission switches if account notifications are disabled 2020-03-14 19:33:38 +01:00
Shinokuni 9d1d9a31fe Improve notification permission layout 2020-03-14 15:55:47 +01:00
Shinokuni 4987a70efa Add notifications permission list 2020-03-14 15:21:17 +01:00
Shinokuni c4848fc7c6 Add notification permission activity 2020-03-14 14:35:53 +01:00
Shinokuni 2f7fd36511 Fix item not having an id for one item sync result notification case 2020-03-11 21:15:43 +01:00
Shinokuni 8eda0ce669 Handle failed auto synchronizations 2020-03-09 21:45:42 +01:00
Shinokuni 86c9f82f6d Fix item activity not opening when clicking on sync result notification with the app closed 2020-03-09 21:03:10 +01:00
Shinokuni a2a2afa895 enable sync result notification actions only for one item case 2020-03-08 22:13:14 +01:00
Shinokuni 1b99d93739 Use MainActivity as a single instance to open item on sync result notification click 2020-03-08 22:09:24 +01:00
Shinokuni b2a51825e2 Add big text to sync result notification 2020-03-08 21:35:23 +01:00
Shinokuni 70a9dff3ba Fix sync result notification color 2020-03-08 21:28:56 +01:00
Shinokuni 87feb0a5bd Fix item activity not opening when clicking on one item sync result notification 2020-03-08 21:26:56 +01:00
Shinokuni ed2af2125c Improve SyncResultAnalyser tests 2020-03-03 22:14:04 +01:00
Shinokuni e232d2973c Update gradle dependencies 2020-02-27 22:33:38 +01:00
Shinokuni 4ef8388c16 Fix account icon not displayed in sync result notification one account multiple feeds case 2020-02-23 13:40:58 +01:00
Shinokuni 66616b5759 Bump app version to 1.1.3 2020-02-22 17:57:42 +01:00
Shinokuni 1676e9f637 Add actions for single result notification case 2020-02-22 14:56:12 +01:00
Shinokuni ffeb955a82 Open item when sync result notification is single item case 2020-02-21 22:19:33 +01:00
Shinokuni 88f6915931 Fix some sonar issues 2020-02-21 21:39:25 +01:00
Shinokuni a960f59e2f Fix drawer crash for api below 24 2020-02-15 18:34:46 +01:00
Shinokuni 0a73c8a6a1 Fix drawer crash for api below 24 2020-02-15 18:34:21 +01:00
Shinokuni dfaec3bdb1 Fix existing items not having their read state updated after syncing 2020-02-15 14:48:35 +01:00
Shinokuni 5b376b4ce7 Use singleTop behavior for MainActivity 2020-02-15 13:45:54 +01:00
Shinokuni 54566bbc4e Check feed icon url nullability 2020-02-15 13:37:26 +01:00
Shinokuni 4f2618021e Ad network constraint to sync worker 2020-02-15 13:21:41 +01:00
Shinokuni 071e57ac89 Add tests for sync results notification 2020-02-12 22:53:52 +01:00
Shinokuni 2453f35179 Add local account sync result notification 2020-02-11 19:31:35 +01:00
Shinokuni 46712f4c5e Add another case for sync result notification 2020-02-11 16:18:30 +01:00
Shinokuni 1052b453a8 Fix feed being null when there is only one new item for sync result notification 2020-02-10 17:46:18 +01:00
Shinokuni 05f8fc56a7 Change sync channel importance and set auto-cancel to sync result notification 2020-02-10 16:40:31 +01:00
Shinokuni 85b867462c Display sync results in a new notification with content based on number of items, accounts, and feeds 2020-02-08 21:36:27 +01:00
Shinokuni 54cc3ed8bd Change fr-France locale to fr locale 2020-02-08 11:39:18 +01:00
Shinokuni 237a2fc9c9 Use a single SyncResult class for both FreshRSS and Nextcloud News 2020-02-05 17:25:39 +01:00
Shinokuni 812c91b6f3 Add description to synchro channel 2020-02-05 14:55:40 +01:00
Shinokuni 287a20baa9 Display notification when sync worker is running 2020-02-05 11:00:28 +01:00
Shinokuni 6d3f517790 Add sync worker 2020-02-04 22:28:04 +01:00
Shinokuni 6c10ceb009 add preference entry for automatic synchro 2020-02-04 22:24:47 +01:00
Shinokuni 532a7d3d7f Setup WorkManager 2020-02-01 21:42:23 +01:00
Shinokuni 2e29ef2509 Replace application by context in repositories 2020-02-01 21:41:31 +01:00
Shinokuni 3a0667a10c Bump version to 1.1.2 2020-01-30 22:47:28 +01:00
Shinokuni 69bd33a428 Fix account url which wasn't updated in retrofit when its text field value was, in account creation activity 2020-01-29 22:44:22 +01:00
Shinokuni 3c46dea6c7 Merge branch 'master' into develop 2020-01-25 21:16:27 +01:00
Shinokuni 7ed5876285 Fix proguard removing opml model 2020-01-25 21:09:07 +01:00
Shinokuni 0c69052046 Put flipper dependencies in app gradle 2020-01-23 21:54:28 +01:00
Shinokuni 9a3f3017c4 Use a single instance of OkHttp to fetch feeds icons (it's WAY faster) 2020-01-17 21:38:46 +01:00
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
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