Andy Scherzinger
f5a4274e54
Add SPDX header
...
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2024-03-29 15:42:11 +01:00
Andy Scherzinger
3eabf9bb83
Add SPDX header
...
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2024-03-29 12:55:12 +01:00
Andy Scherzinger
f2da9b93de
ktlint: First line of body expression fits on same line as function signature
...
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2023-12-05 16:28:49 +01:00
Andy Scherzinger
88970c59a5
ktlint: Newline expected before expression body
...
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2023-12-05 16:26:33 +01:00
Marcel Hibbe
827e44fd3f
Rename some "magic"
...
Only renaming...
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2023-03-14 16:28:27 +00:00
Tim Krüger
eabd0b2d2c
Split different exception scopes
...
Before this change the initinalization of the trusted key store was
combined in one try-catch-block. If anything went wrong an new in memory
trusted key store was created. Programming against an exception is an
bad pattern.
So the initialization is now splitted into multiple try-catch-blocks
with it's own scopes and the decision if the trusted key store is newly
created in memory or loaded from a exisitng file is done by an if
condition check.
Signed-off-by: Tim Krüger <t@timkrueger.me>
2023-03-14 16:28:27 +00:00
Andy Scherzinger
41d671ff47
Fix code formatting
...
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2023-02-16 09:57:19 +01:00
Andy Scherzinger
54b1427471
Implement closing for file input/output streams
...
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2022-12-19 09:37:06 +01:00
Marcel Hibbe
da8148a134
fix spotbug warning "PRMC: Possibly Redundant Method Calls"
...
PRMC: In class com.nextcloud.talk.utils.ssl.MagicKeyManager
In class com.nextcloud.talk.utils.ssl.MagicKeyManager
In method com.nextcloud.talk.utils.ssl.MagicKeyManager.chooseClientAlias(String[], Principal[], Socket)
At MagicKeyManager.java:[line 68]
Value getCurrentUser()Lio/reactivex/Maybe;
Method com.nextcloud.talk.utils.ssl.MagicKeyManager.chooseClientAlias(String[], Principal[], Socket) appears to call the same method on the same object redundantly
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2022-12-15 13:11:41 +01:00
Tim Krüger
4b46270362
Set minSdkVersion to 23 (Android 6)
...
Signed-off-by: Tim Krüger <t@timkrueger.me>
2022-12-07 13:45:57 +01:00
Andy Scherzinger
4513866c1d
migrate key manager from requery to room
...
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2022-07-23 14:09:08 +02:00
Andy Scherzinger
ac703a6ac7
extract magic numbers
...
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2022-03-15 17:46:40 +01:00
Andy Scherzinger
e82808080d
reformat kotlin code to comply with ktlint
...
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-04-27 18:16:51 +02:00
Stephan Ritscher
5a1e050928
Fix NullPointerException on (first) account creation with client certificates ( #195 )
...
Signed-off-by: Stephan Ritscher <no3pam@gmail.com>
2020-03-08 20:42:54 +01:00
Mario Danic
6a5aaac224
Lobby & Various bugfixes and improvements
...
Includes conversion to Kotlin of some files
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2019-08-30 12:13:33 +02:00
Mario Danic
455601b5a6
Reformat
...
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2019-02-15 01:49:57 +01:00
Mario Danic
5ff7316aa5
Significant progress on changing the app layout
2018-12-17 13:40:43 +01:00
Mario Danic
ce5f1706b9
Clean ups & More progress towards #206
2018-10-23 21:46:22 +02:00
Mario Danic
bd2820c90e
First step to AndroidX migration
2018-10-02 22:34:00 +02:00
Mario Danic
ea80b3c9d9
Initial support for client certificate auth
...
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2018-04-10 16:34:11 +02:00
AndyScherzinger
7dc50e45ad
codacy: EmptyCatchBlock
2018-02-21 22:33:25 +01:00
Mario Danic
dfdf479ca3
Fix #22
...
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2017-12-21 22:25:46 +01:00
Mario Danic
79ac925b1d
Remove useless check
...
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2017-12-21 13:17:16 +01:00
Mario Danic
afca480e03
Various stuff
...
* search improves
* trust existing client certs
* translation issue fix
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2017-12-19 14:31:12 +01:00
Mario Danic
a0dbae9290
Clean up
...
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2017-12-14 18:53:39 +01:00
Mario Danic
180b7c4bc8
Remove a line that we dont need
...
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2017-12-13 15:42:32 +01:00
Mario Danic
2bd07b4fd5
Fix #20
...
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2017-12-13 15:38:07 +01:00
Mario Danic
6e7eafc2f8
Fix a small typo
...
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2017-12-13 10:39:45 +01:00
Mario Danic
4fa0dd6182
Additions to SSL handling
...
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2017-10-29 23:08:59 +01:00
Mario Danic
6f5e6834f3
Implement SSL error handling
...
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2017-10-29 23:08:36 +01:00
Mario Danic
49c8baabe3
Fix ssl hostname verification
...
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2017-10-29 13:13:20 +01:00
Mario Danic
7225bf82a9
Remove useless variable
...
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2017-10-29 13:11:25 +01:00
Mario Danic
734f4f5f5c
Implement magic hostname verifier
...
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2017-10-29 12:32:36 +01:00
Mario Danic
0a6f54cedf
Significant work on push notifications
...
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2017-10-28 20:20:52 +02:00
Mario Danic
7f12da21f7
Start working on untrusted certs
...
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2017-10-27 23:10:06 +02:00