Commit Graph

77 Commits

Author SHA1 Message Date
Jannis Mattheis
b9b767f5d7 Merge pull request #344 from cyb3rko/client-certificate-auth
Client certificate authentication (mTLS)
2024-06-13 21:43:18 +02:00
Jannis Mattheis
2dddbe4d8b Remove unused caCertCN setting 2024-06-13 21:32:29 +02:00
Niko Diamadis
cdb807c806 Close certificate InputStream after use 2024-06-11 21:13:04 +02:00
Niko Diamadis
9d2d49794b Keep AdvancedDialog button always enabled 2024-06-11 21:12:06 +02:00
Niko Diamadis
3ddba7aa52 Move AdvancedDialog initialization 2024-06-06 10:08:21 +02:00
Niko Diamadis
090edb75fc Improve client cert password handling 2024-06-06 00:42:36 +02:00
Niko Diamadis
4fac47f3b1 Simplify ssl settings initialization 2024-06-06 00:24:27 +02:00
Niko Diamadis
5b7aff0c23 Apply some smaller changes 2024-06-02 22:16:33 +02:00
Niko Diamadis
d74bca714c Move cert migration to GotifyApplication and synchronize calls 2024-06-02 22:05:12 +02:00
Niko Diamadis
11448f7d2c Add reminder for mandatory client cert password 2024-04-24 00:21:31 +02:00
Niko Diamadis
2d70b94eb7 Merge branch 'master' into client-certificate-auth 2024-04-23 23:19:04 +02:00
Niko Diamadis
a3dd80cd20 Migrate legacy ca cert in newer version 2024-04-23 20:12:51 +02:00
Niko Diamadis
4cc82267f8 Add SVG support 2024-04-22 20:33:04 +02:00
Niko Diamadis
60946e4e1e Fix client certificate-only usage 2024-04-22 00:59:19 +02:00
Niko Diamadis
79584c85c1 Replace denigrated call to certificate name 2024-04-19 02:15:33 +02:00
Niko Diamadis
380e209326 Remove unused utils methods 2024-04-19 02:15:33 +02:00
Niko Diamadis
23ef899564 Implement optional mTLS via client certificate option 2024-04-19 02:15:33 +02:00
Niko Diamadis
fdc9261df1 Clear and refresh image caches on swipe down 2024-04-16 18:39:45 +02:00
Niko Diamadis
9210919344 Simplify getImageFromUrl itself 2024-04-16 17:31:52 +02:00
Niko Diamadis
ad24aea709 Fix imports order 2024-03-15 18:41:29 +01:00
Niko Diamadis
c3971d179e Simplify getImageFromUrl call 2024-03-15 18:39:39 +01:00
Niko Diamadis
ddbbca7e62 Replace deprecated OkHttp methods 2024-03-14 06:44:13 +01:00
Niko Diamadis
12390f5b8a Remove Picasso request handler 2024-03-14 06:43:06 +01:00
Niko Diamadis
31649fa51b Replace Picasso with Coil 2024-03-14 06:42:30 +01:00
Niko Diamadis
07f931d330 Separate broadcasts to prevent duplicate messages (#327) 2023-12-01 11:10:40 +00:00
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