Commit Graph

52 Commits

Author SHA1 Message Date
Niko Diamadis
d7895c9383 Define websocket foreground service type 2023-11-29 18:22:06 +01:00
Niko Diamadis
537c34cc87 Apply Kotlinter 4.0.0 2023-11-29 18:22:06 +01:00
Niko Diamadis
203b3a76d5 Update targetSdk to 34 2023-11-29 18:22:06 +01:00
Niko Diamadis
2265e94882 Update dependencies 2023-11-20 20:50:40 +01:00
Niko Diamadis
0d423c1ce4 Switch to ListAdapter (replacing RecyclerView.Adapter) (#321) 2023-11-18 14:13:44 +00:00
Jannis Mattheis
b1be4d7b76 fix: remove probably unnecessary unregister
When the refresh button is clicked in the navigation drawer, then
startPushService is executed which registers the handler. The
WebSocketService itself is reused, thus isn't created again or
destroyed. From my tests the callback isn't registered twice after the
refresh. Thus, I'd expect the unregister isn't needed at all because
android somehow does this automagically.
2023-10-08 20:01:02 +02:00
Jannis Mattheis
5062031ed0 Add android application with onCreate hook 2023-10-08 10:21:40 +02:00
Jannis Mattheis
96fa5af2bf Replace log usage everywhere 2023-10-08 10:21:40 +02:00
Jannis Mattheis
8adb3095f8 Configure tinylog 2023-10-08 10:21:40 +02:00
Niko Diamadis
45b41b5dd3 Add preference for giving SYSTEM_ALERT_WINDOW permission 2023-10-05 20:06:10 +02:00
Niko Diamadis
8596e6ffdf Prevent direct execution of intentURLs with confirmation dialog 2023-10-04 19:46:53 +02:00
Niko Diamadis
3390a2d9f5 Remove duplicate code blocks 2023-10-03 13:07:42 +02:00
Niko Diamadis
167eeaf1c2 Use new QuickPermissions parameter to remove duplicate check 2023-10-03 11:42:23 +02:00
Niko Diamadis
55606a5319 Fix blocking permission requests 2023-10-01 12:39:17 +02:00
Jannis Mattheis
310b73ac55 Merge pull request #307 from cyb3rko/fix-build-warnings
Fix build warnings
2023-07-29 20:10:47 +02:00
Niko Diamadis
74e1be13d3 Suppress setTargetFragment because of missing solution 2023-07-24 14:30:03 +02:00
Niko Diamadis
08cd963aeb Suppress message model unchecked cast warning 2023-07-24 14:21:26 +02:00
Niko Diamadis
8c86e3f622 Remove logging of websocket connectivity 2023-07-24 14:17:59 +02:00
Jannis Mattheis
53ff03ead3 Merge pull request #304 from cyb3rko/update-build
Update build components
2023-07-19 20:28:46 +02:00
Niko Diamadis
69fc25571a Replace deprecated ActivityResults with ResultLauncher 2023-07-18 22:10:08 +02:00
Niko Diamadis
70c7375abb Replace deprecated onBackPressed with callback 2023-07-18 22:10:08 +02:00
Niko Diamadis
2397e2eea9 Update Kotlinter to 3.15.0 2023-07-18 00:01:04 +02:00
Niko Diamadis
12c21da7b7 Fix exact alarm permission on Android 14 (#298) 2023-06-24 09:25:13 +00:00
Niko Diamadis
0f17e15b72 Require confirmation to delete all messages 2023-06-03 13:18:52 +02:00
Jannis Mattheis
9d8ee01519 Fix thread safety
syncExec synced on the Listener instance, but it modified properties of
the WebSocketConnection without synchronizing on the WebSocketConnection.
2023-05-02 18:35:21 +02:00
henry.yao
dae7834488 Try to reconnect when network gets available 2023-05-02 18:34:51 +02:00
Madray Haven
53deb3ae51 Add exclude from recents
Co-authored-by: Jannis Mattheis <contact@jmattheis.de>
2023-03-19 11:14:23 +00:00
Jannis Mattheis
50f4dea1ac Remove unused intent filter 2023-02-21 13:52:46 +01:00
Jannis Mattheis
cfc473cce0 Move appIdToApp to WebSocketService
The PicassoHandler doesn't really need access to the full list, as it
only requires the application image.
2023-02-21 13:36:03 +01:00
Niko Diamadis
1182f358cb Move channel creation to WebSocketService 2023-02-18 12:39:55 +01:00
Niko Diamadis
5399d003e4 Shrink signature of channel fallback creation method 2023-02-17 15:45:41 +01:00
Niko Diamadis
38bd1b5e32 Switch channel id components 2023-02-17 15:42:00 +01:00
Niko Diamadis
9d2622fbc6 Show restart dialog on setting change 2023-02-17 15:40:13 +01:00
Niko Diamadis
544c960bff Fix unexpected settings dialog behaviour 2023-02-13 16:55:36 +01:00
Niko Diamadis
ddd902e17e Implement optional separate app notification channels 2023-02-13 12:24:40 +01:00
Jannis Mattheis
8bae62cc24 Merge pull request #276 from cyb3rko/simplify-header
Simplify Navigation Header
2023-02-08 18:48:04 +01:00
Jannis Mattheis
21383fba1b Use data class 2023-02-06 13:13:45 +01:00
Niko Diamadis
9fec25a8bf Cut the username prefix of url in Nav Header 2023-02-05 12:53:21 +01:00
Niko Diamadis
bf6e0aa14f Fix error when combining Message and Image 2023-02-05 00:10:31 +01:00
Niko Diamadis
5fa19e3b88 Fix cancelable client name dialog 2023-02-04 10:57:22 +01:00
Niko Diamadis
bb9f66b8d3 Fix messages not being selectable 2023-02-04 10:16:51 +01:00
Niko Diamadis
d539ef8a76 Update missed components 2023-02-03 20:51:43 +01:00
Niko Diamadis
10ec551b2c Update Messages design 2023-02-03 16:39:37 +01:00
Niko Diamadis
d6196bd06b Update Splashscreen dialog design 2023-02-03 16:35:58 +01:00
Niko Diamadis
6a819f87da Update Settings design 2023-02-03 16:26:59 +01:00
Niko Diamadis
786191c235 Update Login design 2023-02-03 12:05:12 +01:00
Niko Diamadis
f49d8fbda1 Replace custom splashscreen with native one 2023-01-30 14:55:30 +01:00
Niko Diamadis
da657f8890 Use QuickPermissions fork + use custom dialogs 2023-01-27 16:04:20 +01:00
Niko Diamadis
af9207c7a0 Fix missing permissions on newer Android versions 2023-01-25 15:31:16 +01:00
Jannis Mattheis
879248bf4f Fix crash on delete (app|message|client) 2023-01-23 10:17:04 +01:00