Commit Graph

840 Commits

Author SHA1 Message Date
Shinokuni dcf58a537e Add Fever initial and classic synchronisation logic 2021-12-28 20:09:15 +01:00
Shinokuni fe57d5b2d7 Add items and items ids insertion for Fever synchronisation 2021-12-28 18:29:34 +01:00
Shinokuni 701c188cfa Map Fever folders to feeds with feeds_groups content parsing 2021-12-27 15:59:31 +01:00
Shinokuni 64b6fb0b4d Add basic Fever synchronisation with feeds and folders insertion 2021-12-27 14:03:52 +01:00
Shinokuni eb6d487f8f Add proper login call with adapter for Fever api 2021-12-25 16:22:16 +01:00
Shinokuni 162fcfa75d Add initial files for Fever API implementation 2021-12-24 19:07:05 +01:00
Shinokuni 8a5fae5411 Use a SwitchPreferenceCompat for the hide feeds preference 2021-11-01 23:44:46 +01:00
Shinokuni 11f87d14a5 Add preference for marking items read on scroll 2021-11-01 18:26:38 +01:00
Shinokuni 1bfed8306d Add preference for showing/hiding feeds with no unread items left in drawer 2021-10-31 21:55:11 +01:00
Shinokuni 489f52b13a Support user certificates 2021-10-31 17:02:25 +01:00
Shinokuni 1e29b26dc5 Local account : synchronize only the selected feed 2021-10-30 19:38:05 +02:00
Shinokuni 8f093eb4a2 Add true black background for dark theme 2021-10-30 17:56:00 +02:00
Shinokuni a169da8178 Make LibsActivity follow the right theme 2021-10-12 22:57:06 +02:00
Shinokuni 2f56f388e1 Add system theme option 2021-10-12 22:49:50 +02:00
Shinokuni 6f7e2b7cef Merge branch weblate/develop into develop 2021-10-11 23:05:20 +02:00
Shinokuni 03d5ca7ca6 Merge branch 'master' into develop 2021-10-10 20:01:45 +02:00
Shinokuni 7feb54f44a v1.3.1 2021-10-10 19:48:54 +02:00
Shinokuni 3d78b2a951 Fix items being fav locally randomly for FreshRSS account 2021-10-10 19:31:47 +02:00
Shinokuni 7dac06b96e Fix 401 error when synchronising for the second time with a FreshRSS account 2021-10-10 19:05:51 +02:00
Shinokuni 5582e3860d Add source code and changelog buttons in about screen 2021-09-26 19:59:44 +02:00
Allan Nordhøy ac5b754051
Translated using Weblate (Norwegian Bokmål)
Currently translated at 45.3% (63 of 139 strings)

Translation: Readrops/Strings
Translate-URL: https://hosted.weblate.org/projects/readrops/strings/nb_NO/
2021-09-25 19:08:45 +02:00
Allan Nordhøy abb5655ea1
Translated using Weblate (Indonesian)
Currently translated at 99.2% (138 of 139 strings)

Translation: Readrops/Strings
Translate-URL: https://hosted.weblate.org/projects/readrops/strings/id/
2021-09-25 19:08:45 +02:00
Allan Nordhøy 8bca59ddf8
Translated using Weblate (English)
Currently translated at 100.0% (139 of 139 strings)

Translation: Readrops/Strings
Translate-URL: https://hosted.weblate.org/projects/readrops/strings/en/
2021-09-25 19:08:45 +02:00
J. Lavoie 546d642b5c
Translated using Weblate (German)
Currently translated at 100.0% (139 of 139 strings)

Translation: Readrops/Strings
Translate-URL: https://hosted.weblate.org/projects/readrops/strings/de/
2021-09-25 19:08:45 +02:00
J. Lavoie e33871651f
Translated using Weblate (Italian)
Currently translated at 100.0% (139 of 139 strings)

Translation: Readrops/Strings
Translate-URL: https://hosted.weblate.org/projects/readrops/strings/it/
2021-09-25 19:08:45 +02:00
J. Lavoie dd6ecdc9bc
Translated using Weblate (French)
Currently translated at 100.0% (139 of 139 strings)

Translation: Readrops/Strings
Translate-URL: https://hosted.weblate.org/projects/readrops/strings/fr/
2021-09-25 19:08:45 +02:00
Shinokuni 58842f4927
Translated using Weblate (English)
Currently translated at 100.0% (139 of 139 strings)

Translation: Readrops/Strings
Translate-URL: https://hosted.weblate.org/projects/readrops/strings/en/
2021-09-25 19:08:45 +02:00
J. Lavoie d3a1538185
Added translation using Weblate (German) 2021-09-25 19:08:45 +02:00
J. Lavoie 7396e34530
Added translation using Weblate (Italian) 2021-09-25 19:08:45 +02:00
Allan Nordhøy e5c6b4f0b6
Translated using Weblate (Norwegian Bokmål)
Currently translated at 38.8% (54 of 139 strings)

Translation: Readrops/Strings
Translate-URL: https://hosted.weblate.org/projects/readrops/strings/nb_NO/
2021-09-25 19:08:45 +02:00
Allan Nordhøy 0a3e079b5e
Added translation using Weblate (Norwegian Bokmål) 2021-09-25 19:08:45 +02:00
Shinokuni fc8d80d0c5 Fix android autofill api completing wrong fields 2021-09-25 19:06:15 +02:00
Shinokuni 6cec9b1c86 Remove Splash activity 2021-09-25 19:01:51 +02:00
Shinokuni 4c86b17043 Move OPMLHelper class to app module 2021-09-20 19:56:34 +02:00
Shinokuni 5d03ea0580 Migrate koin to v3.0 2021-09-20 19:27:12 +02:00
Shinokuni 4c490c3d49 Fix FreshRSS synchronisation issue 2021-09-17 17:47:49 +02:00
Shinokuni f4628b5a49 Add jacoco implementation 2021-09-16 22:29:25 +02:00
Shinokuni 58122cb456 Merge branch 'develop' into feature/local_rss_memory_improvements 2021-09-04 15:16:33 +02:00
Shinokuni 2f82efe4cb Migrate AccountDao and ItemDao to kotlin 2021-09-01 22:58:16 +02:00
Shinokuni 80404bb648 Migrate AccountConfig and AccountType to kotlin 2021-09-01 21:22:07 +02:00
Shinokuni 1654d32211 MIgrate Account entity to kotlin 2021-09-01 19:41:45 +02:00
Shinokuni 6b2a279813 Migrate Item entity to kotlin 2021-09-01 19:17:38 +02:00
Shinokuni 40c3a52948 Migrate Folder entity to kotlin 2021-09-01 19:01:32 +02:00
Shinokuni 61f8798be5 Migrate Feed entity to kotlin 2021-09-01 18:46:54 +02:00
Shinokuni 767662df59 Xml adapters now receive a Konsumer object instead of an input stream 2021-08-17 21:18:03 +02:00
Shinokuni 137e591573 Migrate last java classes from API module to kotlin except data sources 2021-07-20 19:58:45 +02:00
Shinokuni 7a51364f48 Migrate API module instrumented tests into simple unit tests 2021-07-19 17:30:10 +02:00
Shinokuni fb06990116 v1.3.0 2021-07-19 13:40:34 +02:00
Shinokuni e43293cc4c
Merge pull request #103 from zmni/values-in
Add Indonesian translation
2021-07-18 11:23:35 +02:00
Shinokuni 8f017753cc Enable set all items and all feed items read state features for local accounts only 2021-07-17 15:02:44 +02:00
Shinokuni 056d8db78f Change read it later icon 2021-07-17 15:00:06 +02:00
Shinokuni 4c618b4044 Let items be removed from read it later category 2021-07-17 14:59:50 +02:00
Shinokuni d51c7ed90a Fix OPML export not working with API 29+ 2021-07-16 17:34:03 +02:00
Shinokuni 440e6ea810 Set toolbar title with categories names 2021-07-11 19:39:10 +02:00
Shinokuni 725c20a78e New folder view when clicking on an expandable drawer item 2021-07-11 19:26:11 +02:00
Shinokuni 38bd3e3ae5 Add a new folder filter 2021-07-11 18:55:38 +02:00
Shinokuni 629ca050a3 Remove url building in AuthInterceptor 2021-07-08 19:05:25 +02:00
Shinokuni 3d0ff2619f Adapt new state changes management for Nextcloud News 2021-07-06 22:04:53 +02:00
Shinokuni 8c9b2b2ab1 Nextcloud News : get read/unread starred items at initial synchronisation 2021-07-05 21:00:40 +02:00
Shinokuni c9caa0be89 Integrate ItemStateChange table in Nextcloud News synchronisation 2021-07-04 19:12:29 +02:00
Shinokuni dfe225ed8d Fix some new warnings 2021-07-04 13:58:16 +02:00
Shinokuni 42cb3adee9 Update dependencies 2021-07-03 19:44:42 +02:00
Shinokuni 20ab973934 Upgrade sdk version to 30 2021-07-03 19:34:37 +02:00
Shinokuni bdc277f216 Fix failing tests 2021-07-02 19:13:49 +02:00
Shinokuni cbff42b4f2 Remove jcenter dependency 2021-07-02 18:56:11 +02:00
Shinokuni 2c5672b3d5 Fix starred items duplication 2021-07-02 17:50:40 +02:00
Shinokuni af5138c1cb Insert starred items at initial synchronisation and don´t forget starred items which are read 2021-07-02 14:30:01 +02:00
Shinokuni 1011eee9df Handle read/star state for local account 2021-07-01 22:53:25 +02:00
Shinokuni 15596e5fff Remove usage of StarredItem table in the main query 2021-07-01 21:40:16 +02:00
Shinokuni d9b31d4cfa Build manually the item selection query 2021-05-13 21:21:14 +02:00
Shinokuni d15315b53f Synchronize local read/star changes 2021-05-06 22:10:27 +02:00
Shinokuni 4540870257 Rename item state tables 2021-04-26 19:53:54 +02:00
Shinokuni 750bf10902 Delete UnreadItemsIds and StarredItem tables 2021-04-26 13:56:10 +02:00
Shinokuni 90468faefc Send read/star state update with new tables 2021-04-22 22:30:24 +02:00
Shinokuni 3be0447584 Update read state in ItemState table 2021-04-22 18:49:45 +02:00
Shinokuni b7b4ae9dc4 Disable query observing when synchronising to avoid view flickering 2021-04-22 17:31:43 +02:00
Shinokuni e55dcca556 Update item list query to use ItemStateId table 2021-04-21 19:26:01 +02:00
Shinokuni 2411449863 Add a new table which merge FreshRSS items read/star state 2021-04-20 23:19:12 +02:00
Shinokuni 1852a0bd9a Fix starred items selection queries 2021-04-18 19:44:14 +02:00
Shinokuni 2c2df55970 Update item state local management with new db requests 2021-04-16 21:42:25 +02:00
Shinokuni 2d6e798301 Disable badly written test 2021-04-14 18:49:28 +02:00
zmni 5589ce871a Create Indonesian translation 2021-02-21 21:16:07 +07:00
Shinokuni 0f924d4a95 Use a different request for starred items when option is to true 2020-12-28 15:52:38 +01:00
Shinokuni 0c9c601d41 Add new synchronization process for FreshRSS with read state and starred items sync 2020-12-28 15:48:32 +01:00
Shinokuni fbb4eeee95 Log splash exceptions 2020-12-18 18:16:48 +01:00
Shinokuni c3a94b9003 Update kotlin gradle plugin 2020-11-24 23:23:26 +01:00
Shinokuni 6647a9bb2c Generate buildConfig only for app module 2020-11-22 23:20:48 +01:00
Shinokuni e9e1a94401 Merge branch 'master' into develop 2020-11-22 19:03:10 +01:00
Shinokuni 1ef9757aaf Bump app version and add changelog 2020-11-22 18:43:43 +01:00
Shinokuni f2607c307c Replace Nextcloud News /user depreciated api call by /ocs/v1.php/cloud/users/{userId} 2020-11-15 19:13:21 +01:00
shunf4 3c97441d36 fix: set updating to false when refresh failed 2020-11-09 02:23:45 +08:00
Shinokuni 28dda2f1b5
Merge pull request #82 from shunf4/fix/notifperm_crash
fix "You can't request ViewModel before onCreate call error" in NotificationPermissionActivity
2020-11-07 18:43:12 +01:00
shunf4 36ac0c7247 fix: fix "You can't request ViewModel before onCreate call error" 2020-11-07 21:04:17 +08:00
Shinokuni e548b44ac8 Fix LocalRSSDataSource tests 2020-11-07 13:43:24 +01:00
Shinokuni f2daac5068 Move Niddler instantiation in api module 2020-11-03 21:13:38 +01:00
Shinokuni cfa764e78b Sync FreshRSS items star state 2020-11-02 22:35:57 +01:00
Shinokuni 81de8985c8 Sync Nextcloud News items star state 2020-10-27 21:29:19 +01:00
Shinokuni 97ae58305c Add action to star/fav an item 2020-10-26 22:02:39 +01:00
Shinokuni 9406416ce7 Add drawer favorites item to display starred/favorites items 2020-10-26 14:14:50 +01:00
Shinokuni 04e2f3eadb Add star/unstar api calls for FreshRSS 2020-10-25 21:27:11 +01:00
Shinokuni 9ceb5e6dd7 Add star/unstar api calls for Nextcloud News 2020-10-25 19:14:01 +01:00
Shinokuni 537490252b Fix HtmlParser tests 2020-10-25 12:58:29 +01:00
Shinokuni 39e613e7e6 Fix url being rewritten for not freshrss/nextcloud news http calls 2020-10-25 11:56:20 +01:00
Shinokuni e37853a619 Replace Single<Boolean> by Completable for login call 2020-10-24 19:24:19 +02:00
Shinokuni ecdc714316 Reorganize app module files by feature 2020-10-23 23:00:43 +02:00
Shinokuni 412ec3f1b8 Rename LibUtils to ApiUtils 2020-10-23 21:33:27 +02:00
Shinokuni 5e76eb4134 Reorganize api utils package 2020-10-23 21:30:34 +02:00
Shinokuni 45c9121946 Inject SharedPreferences 2020-10-23 21:16:48 +02:00
Shinokuni fcfff57e1d Merge branch 'develop' into feature/di 2020-10-23 19:08:52 +02:00
Shinokuni e32b20bc87 Remove last references to Database singleton 2020-10-23 18:51:01 +02:00
Shinokuni 6294b5556f Delete unused code 2020-10-21 21:42:22 +02:00
Shinokuni 5c88a3f467 FIx koin context starting twice 2020-10-21 21:31:08 +02:00
Riku Viitanen 2d23369de7 Fix typo: newsest -> newest 2020-10-21 01:53:38 +03:00
Shinokuni c780f26533 Fix broken tests 2020-10-20 22:43:49 +02:00
Shinokuni aa59f890bb Inject Glide 2020-10-20 22:04:00 +02:00
Shinokuni f3330ba07d Remove last references to the old http manager 2020-10-19 22:54:29 +02:00
Shinokuni 725cb291ef Fix FreshRSS and Nextcloud News authentications 2020-10-16 12:36:24 +02:00
Shinokuni 950c8506ad Inject viewModels in activities and fragments 2020-10-16 11:58:00 +02:00
Shinokuni 49c5ba06b3 Inject AuthInterceptor to deal with retrofit dynamic url and credentials 2020-10-15 19:04:50 +02:00
Shinokuni add729f5e2 Add Koin with api, db and app modules 2020-10-13 22:11:13 +02:00
Shinokuni 9b5dddeff4 Don't build repositories and data sources dependencies in them 2020-10-11 22:31:55 +02:00
Shinokuni 343562657b Fix test dependencies build error 2020-10-07 22:10:44 +02:00
Shinokuni c26a2da6a7 Refactor and update gradle dependencies 2020-10-06 22:45:19 +02:00
Shinokuni b6d4f9296d Move isRSSType() method to LocalRSSHelper 2020-10-06 22:15:19 +02:00
Shinokuni 52fda0f8d8 Remove local RSS header image manual parsing 2020-10-06 21:43:09 +02:00
Shinokuni 604ccb3544 Merge branch 'develop' into feature/rss-manual-parsing 2020-10-05 22:40:27 +02:00
Shinokuni eb58311040 Log LocalFeedRepository.addFeeds() exceptions 2020-10-05 22:11:48 +02:00
Shinokuni 63497bd049 Always parse feed and items in the same time to detect malformed feeds 2020-10-04 22:17:52 +02:00
Shinokuni 90071f5830 Merge branch 'master' into develop 2020-10-01 19:30:14 +02:00
Shinokuni d4e546b6c1 Fix rss url parsing bug 2020-10-01 19:29:59 +02:00
Shinokuni 5998fa9126 Delete unused code 2020-09-20 18:17:43 +02:00
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