Commit Graph

565 Commits

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