Commit Graph

244 Commits

Author SHA1 Message Date
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
sim 7d8b142ef4 Always run RestartWorker even without registration
The only reason we had that check was in case of network
change without registrations. The check has moved to this
class
2024-10-29 14:40:41 +00:00
sim c851d69baa Use failed reasons 2024-10-28 16:26:29 +00:00
sim 5b5ce7575e Split onReceive
Introduce ConnectorTokenValidity
2024-10-28 14:36:57 +00:00
sim 28221ee172 Fix application package name following AND_3 2024-10-28 11:16:07 +00:00
sim 5dbeb07dde Add comments for FailureHandler functions 2024-10-28 11:13:37 +00:00
sim b3c28be0fc Avoid paralel run of RestartWorker
Make doWork synchronized
Do not add failures count from the worker
2024-10-28 11:12:10 +00:00
sim f17c932e9f Fix network callback
Correctly check if internet was lost before restarting
Set failure counter to 1 from the network callback
2024-10-28 11:07:56 +00:00
sim d290b790d6 Add comments for debug vars 2024-10-28 11:02:31 +00:00
sim 43605d28ec Get application package name following AND_3 2024-10-28 09:48:30 +00:00
sim 41f4fabb33 Raise app to foreground on new message 2024-10-28 09:32:03 +00:00
sim 5d6b3b887d Add Link Activity 2024-10-28 08:19:04 +00:00
Undercut0150 a9cb900b77 Updated the link to the notif channels example 2024-05-09 20:35:50 +00:00
Undercut0150 ba59e8227a Change add_channel_dialog_content to add new documentation 2024-05-09 20:35:50 +00:00
S1m 6170f630d1 1.9.0 2024-01-16 23:45:11 +01:00
S1m f4eaba00a5 Lint 2024-01-16 23:45:11 +01:00
S1m f328fcc13f Fix error wrongly shown during SSO connection 2024-01-16 23:27:34 +01:00
S1m 3e83f3d07d Add notification when server app is not installed
And fix showSingle notifications: the shown ref was shared
2024-01-16 23:06:42 +01:00
S1m 25d8cf397e Toast when nextcloud app is not found 2024-01-16 23:04:45 +01:00
S1m b787b0f9b8 Use Enum.entries instead of Enum.values() 2024-01-16 23:04:25 +01:00
S1m 04e76170e9 Add https:// in manual login's url 2024-01-16 20:48:21 +01:00
S1m d6c270c81c Resolve conflict with new Context attribute: deviceId
Rename our context.deviceId to context.npDeviceId
2024-01-16 20:37:15 +01:00
S1m 5a97c8b7e7 Bump dependencies, target SDK 34
Declare service as Special Use, see
https://developer.android.com/about/versions/14/changes/fgs-types-required#special-use
2024-01-16 20:30:21 +01:00
S1m cb96642fd9 Remove unnecessary slash 2024-01-16 20:07:01 +01:00
S1m bb49730c91 Use bigText for in-app notif from channel 2024-01-16 20:01:01 +01:00
S1m db43b1ffea Do not replace in-app notif from channel 2024-01-16 20:00:28 +01:00
S1m 8895a8e482 Show nb of registrations on foreground notif 2024-01-16 19:53:38 +01:00
S1m d2bb7d6df4 Do not start the connection without registration 2024-01-16 14:21:12 +01:00
S1m 8c0d23344c Request ignore battery opt instead of openning settings 2024-01-14 22:43:53 +01:00
MDW 25b08b7820 Fix some spelling 2023-12-04 22:14:38 +01:00
sim 9587c959bd 1.8.1 2023-09-05 21:51:31 +02:00