Commit Graph

336 Commits

Author SHA1 Message Date
sim 075383470e Migrate all channel Id to remove pending channel 2024-12-03 12:45:04 +00:00
sim 0ea06fe62e Fix release build 2024-12-03 09:35:31 +00:00
sim 077e117e10 Delete os notification channel when unused
When deleting local channel from the UI
2024-12-03 09:33:37 +00:00
sim 19ab14305f Lint 2024-12-03 09:04:58 +00:00
sim 5cc002475a Use sealed class for AppAction type 2024-12-03 09:04:58 +00:00
sim 9c5bb9c818 Use main nextcloud-sso lib and enable desugaring 2024-12-03 09:04:58 +00:00
sim 96183984ef Restore debug dialog 2024-12-03 09:04:58 +00:00
sim b8012ae2af Store dummy eventSource when setting one failure 2024-12-03 09:04:58 +00:00
sim 2e1e309ebb Restart service with worker if 256+ messages have been received
To acknowledge them, so the server can delete them
2024-12-03 09:04:58 +00:00
sim fa2d699b1e Refactor FailureCounter 2024-12-03 09:04:58 +00:00
sim 08cd3d2f88 Sync only high and normal messages with low battery 2024-12-03 09:04:58 +00:00
sim aeb5a776ce Fix initial value for password 2024-11-28 16:25:46 +00:00
sim 423a733e56 Fix dialog is Nextcloud App isn't found 2024-11-28 16:25:31 +00:00
sim 993efacf37 Rename NetworkCallback 2024-11-28 15:48:14 +00:00
sim a4ddd44e81 Control VAPID format 2024-11-28 14:58:12 +00:00
sim 13814133c8 Fix permissions for SDK<33 2024-11-28 14:57:58 +00:00
sim 064a510cbe Remove unused lock tag 2024-11-28 14:57:38 +00:00
sim 3d4b0e26ec Save last event id per urgency 2024-11-28 14:45:24 +00:00
sim 99db47a16c Add confirmation dialog before logging out 2024-11-19 13:25:22 +00:00
sim b6606c1530 Fix remote name for local notification channel 2024-11-19 13:23:41 +00:00
sim 1bef3ee29e Lint 2024-11-18 12:41:20 +00:00
sim fb7b7d108d Remove unused colors in xml 2024-11-18 12:41:08 +00:00
sim 8129a9deb5 Fix unnecessary null check 2024-11-18 12:41:08 +00:00
sim 06f5f18b65 Remove xml themes 2024-11-18 12:41:08 +00:00
sim c53f304c03 Migrate start activity to jetpack 2024-11-18 11:01:36 +00:00
sim 9ac56626cb Migrate main activity to jetpack 2024-11-18 10:58:13 +00:00
sim 1d206c92f8 Fix permission for SDK<26 2024-11-11 22:17:12 +00:00
sim 94cd3badba Fix account update on login/logout 2024-11-09 17:07:34 +00:00
sim 6140b2a422 Fix edge to edge view, force by SDK 35 2024-11-09 16:51:46 +00:00
sim 043c51e975 Bump dependencies, target SDK 35 2024-11-09 16:50:59 +00:00
sim fe46db08eb Migrate to Kotlin DSL 2024-11-09 13:54:35 +00:00
sim 3c89647889 Fix RestartWorker not starting when ping is missing 2024-11-04 19:37:46 +00:00
sim 6ee69319fd Add VAPID support 2024-11-04 19:13:14 +00:00
sim b093c7869b Remove potential sensitive log 2024-11-04 19:09:37 +00:00
sim c712f25cca Move DB consts to companion 2024-11-04 15:17:00 +00:00
sim 67a39da534 Add Last-Event-ID header 2024-11-04 14:54:09 +00:00
sim 9541ed6aed Wipe stores on logout 2024-11-04 14:45:41 +00:00
sim 15e149f76b Lint responseCount 2024-11-04 14:29:21 +00:00
sim fa56b43a83 Create stores to manage shared preferences 2024-11-04 14:29:21 +00:00
sim 66a8a7a660 Improve alert dialogs 2024-11-04 13:22:27 +00:00
sim 4c65a1d40f Remove initAccount from Account interface 2024-11-04 13:22:27 +00:00
sim 0373d0eb63 Rename Acount/AccountFactory 2024-11-03 11:34:54 +00:00
sim dcc4d301aa Log when aborting startListener 2024-11-02 12:46:02 +00:00
sim 38de5edeaa Update lastEventDate only when we start the service 2024-11-02 12:45:49 +00:00
sim 11dbfcd6e9 Lint 2024-11-02 12:39:21 +00:00
sim 558d34c6cf Ensure only once event source is running
Thanks ipoupaile
2024-10-31 14:39:51 +00:00
sim f6edb178dd Add timeout to SSE Listener to restart earlier the connection 2024-10-31 14:38:42 +00:00
sim c2a27b5233 Show single notification as bigtext
Fix #10
2024-10-29 15:13:25 +00:00
sim dfeec5cc43 Move startingTimer to a dedicated object 2024-10-29 15:06:07 +00:00
sim 1cd2340b6c Move wakelocks to a dedicated class 2024-10-29 14:57:30 +00:00