Commit graph

56 commits

Author SHA1 Message Date
Marcel Hibbe
1b30a6ef62
allow getPeersForCall without QueryMap
- null was not allowed for query map (led to Illegal Argument Exception which caused issue #1853)

Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2022-03-17 15:17:32 +01:00
Andy Scherzinger
eed209428e
splitting up complex methods into smaller, easier to understand methods
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2022-03-15 18:21:29 +01:00
Andy Scherzinger
c9f230a10b
fixes after rebase
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2022-03-15 17:46:41 +01: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
a10b67456c
ignore generic exception handling
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2022-03-14 10:23:05 +01:00
Andy Scherzinger
86f8f1d5cd
make constant a constant
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2022-03-14 10:23:05 +01:00
Andy Scherzinger
2102f0fbc8
document empty blocks
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2022-03-14 10:23:01 +01:00
Andy Scherzinger
8e11f21233
adapt to java->kotlin changes regarding null-ability
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2022-03-07 09:55:30 +01:00
Marcel Hibbe
73ce2716de
fix klint warnings
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2022-02-25 12:11:43 +01:00
Marcel Hibbe
d453773a1d
show user statuses in conversation info (wip)
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2022-02-25 12:11:40 +01:00
Andy Scherzinger
4fb61ed046
improve detekt score
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2022-02-16 11:34:07 +01:00
drone
ca7861358d
fix klint + findbugs warnings
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2022-01-27 11:57:23 +01:00
Marcel Hibbe
6f302c25c4
add flexinterval for PeriodicWorkRequests
so the actions are not triggered when PeriodicWorkRequests are created.

Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2022-01-26 15:00:32 +01:00
Marcel Hibbe
c8274fe740
add string for origin to PushRegistrationWorker for debugging
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2022-01-26 15:00:31 +01:00
Marcel Hibbe
bdef83d402
reformat code
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>

Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2022-01-26 15:00:31 +01:00
Marcel Hibbe
4629d02dc4
add copyright + minor refactoring
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2022-01-26 15:00:31 +01:00
Marcel Hibbe
76cab3b9a0
add PeriodicWorkRequest to register local token every 24h
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2022-01-26 15:00:31 +01:00
Marcel Hibbe
06afd7bec6
set up periodic fetch of firebase token in ClosedInterface for gplay
move OneTimeWorkRequest for PushRegistrationWorker from NextcloudTalkApplication to ClosedInterface for gplay

add check in PushRegistrationWorker if google services are available

Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2022-01-26 15:00:31 +01:00
Dariusz Olszewski
2f4aa35c53
Register notification channels on app start-up (Oreo or later)
Signed-off-by: Dariusz Olszewski <starypatyk@users.noreply.github.com>
2021-12-14 22:05:48 +01:00
Dariusz Olszewski
e9ac99c5df
Notification settings UI on Oreo or later
* On devices with Android 8.0 (Oreo) or later, use system UI to change notification settings.
* Refactor sound selection code to cover differences between old (pre Oreo) and new devices.
* Always use the same notification channel for calls (Oreo or later).

Signed-off-by: Dariusz Olszewski <starypatyk@users.noreply.github.com>
2021-12-14 22:05:48 +01:00
Tim Krüger
567326da5a
Resolve klint issues
Signed-off-by: Tim Krüger <t@timkrueger.me>
2021-12-02 12:54:26 +01:00
Marcel Hibbe
b652b1136e
fix to stop notification if user joined on other device
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2021-11-23 12:29:53 +01:00
Marcel Hibbe
ec40ca9b66
hangup call notification after 1 minute
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2021-11-23 11:27:47 +01:00
Marcel Hibbe
8381e0b541
add logging for calls
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2021-11-22 22:41:17 +01:00
Marcel Hibbe
c7e38e4859
replace CallNotificationController with Activity (WIP)
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2021-11-11 13:23:40 +01:00
Marcel Hibbe
251d41f7fb
replace CallController with CallActivity etc. (WIP)
- delete MagicCallActivity
- replace butterknife with viewbinding for CallActivity

TODO:
- also switch CallNotificationController to Activity
- check if CallActivity and CallNotificationActivity are called correctly
- testing!

Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2021-11-11 13:23:40 +01:00
Joas Schilling
b9bf035bbc Fix the check if user joined on another device
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-07-09 19:47:21 +00:00
Joas Schilling
3a18a4ca93
Fix call notifications
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-07-09 14:54:54 +02:00
Joas Schilling
5d366d0dbf
Fix coding styles
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-05-07 11:57:39 +02:00
Joas Schilling
ee3dc43530
Throw the exception up
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-05-07 11:57:38 +02:00
Joas Schilling
fb2fbf3152
LongLogTag
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-05-07 11:56:13 +02:00
Joas Schilling
bc641e2d07
Fix Code style
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-05-07 11:56:13 +02:00
Joas Schilling
529541d896
Change version to be specific to conversations api
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-05-07 11:56:11 +02:00
Joas Schilling
f0eb3fec37
Inject api version in call api
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-05-07 11:54:26 +02:00
Andy Scherzinger
97e748b3c1
reformat to 120 line length
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-04-30 08:56:45 +02:00
Joas Schilling
90bf76e013
Support delete-multiple push notification
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-04-30 01:16:16 +02: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
Andy Scherzinger
62f50fa35d
Add splash screen to Talk App
Resolves #836

Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-04-15 00:29:29 +02:00
Mario Danic
ac1bb0ecf7
Fix spamming participants
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2020-04-15 12:02:56 +02:00
Mario Danic
53cc5d28c4
Fix vibration again
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2020-03-21 18:28:25 +01:00
Mario Danic
408da749fe
Fix vibration and fix #745
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2020-03-21 16:26:03 +01:00
Mario Danic
39c2dced64
Fix #713, Fix #720
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2020-02-12 10:57:35 +01:00
Mario Danic
9e2fbc076c
First step towards working calls on Q
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2020-02-10 00:33:41 +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
ee6ce1303f Fix push messages
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2019-08-25 23:47:04 +02:00
Mario Danic
2fd7b56a10 Update firebase
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2019-08-23 18:39:29 +02:00
Mario Đanić
4143bd841e
Fresco and sharing (#531)
* Various improvements

This is literally the worst commit I ever did, but due to rebasing issues this is how it is.

* Fixes after rebase

Signed-off-by: Mario Danic <mario@lovelyhq.com>

* Updates post-rebase

Signed-off-by: Mario Danic <mario@lovelyhq.com>

* Updates #2 post rebase

Signed-off-by: Mario Danic <mario@lovelyhq.com>

* Update deps

Signed-off-by: Mario Danic <mario@lovelyhq.com>
2019-04-24 08:32:19 +02:00
Mario Danic
eeb87183a0 Clean up
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2018-11-28 13:59:39 +01:00
Mario Danic
0e3f6495cf Fix a manifest merger issue 2018-10-22 12:12:57 +02:00
AndyScherzinger
f9beeea652 Resolves #321 - enforce round app icon 2018-10-22 11:21:39 +02:00