Commit Graph

809 Commits

Author SHA1 Message Date
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
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