Commit graph

2845 commits

Author SHA1 Message Date
Marcel Hibbe
bd4208f709
minor refactoring
- extract method to register device at proxy
- rename method
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>

Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2022-01-26 15:00:29 +01:00
Marcel Hibbe
54552cdd87 restrict to start a call when permission is missing
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2022-01-12 12:29:06 +00:00
Marcel Hibbe
65e002fe98 render system message "call_ended_everyone"
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2022-01-12 12:29:06 +00:00
Marcel Hibbe
5272d35f01 fix to stop audio manager in ui thread
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2022-01-12 12:29:06 +00:00
Marcel Hibbe
d17a8e9dbd ad some logging
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2022-01-12 12:29:06 +00:00
Marcel Hibbe
175f479d0f replace check for boolean variant of inCallFlag
(boolean variant is deprecated since nc14)

Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2022-01-12 12:29:06 +00:00
Marcel Hibbe
76aaafb024 replace deprecated ParticipantFlags with InCallFlags
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2022-01-12 12:29:06 +00:00
Marcel Hibbe
f70f94e6be hangup when currentSession has inCall flag = 0
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2022-01-12 12:29:06 +00:00
Marcel Hibbe
b3b8c867f7 fix typo
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2022-01-12 12:29:06 +00:00
Andy Scherzinger
16246e9fe2
only show mark as unread in debug mode
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2022-01-11 14:53:48 +01:00
Dariusz Olszewski
c99da0282d
Null ringtone Uri must be allowed
App would crash on pre-Oreo devices with "No sound" setting

Signed-off-by: Dariusz Olszewski <starypatyk@users.noreply.github.com>
2022-01-05 11:03:59 +01:00
Dariusz Olszewski
d99295118b
SpotBugs
Signed-off-by: Dariusz Olszewski <starypatyk@users.noreply.github.com>
2022-01-05 11:03:59 +01:00
Dariusz Olszewski
648b9cbb82
Remove unused notification channels during upgrade
Signed-off-by: Dariusz Olszewski <starypatyk@users.noreply.github.com>
2022-01-05 11:03:58 +01:00
Andy Scherzinger
12e1d9b7de
use existing constant
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2022-01-05 10:28:07 +01:00
Andy Scherzinger
10f2c3be3a
make unread work for chat messages based on adapter data
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2022-01-05 10:28:07 +01:00
Andy Scherzinger
58c0106ec7
calculate previous message id when possible
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2022-01-05 10:28:07 +01:00
Andy Scherzinger
de085df3bc
add proper API version detection
don't let switch fall through
make api versions constants

Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2022-01-05 10:28:07 +01:00
Andy Scherzinger
1521e13e21
mark message as unread / conversation as read
Resolves #1464

Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2022-01-05 10:28:06 +01:00
Dariusz Olszewski
996c4c5280
ktlint... :-|
Signed-off-by: Dariusz Olszewski <starypatyk@users.noreply.github.com>
2022-01-04 15:38:25 +01:00
Dariusz Olszewski
385edf35a2
Image keyboard support in chat
Receive images (usually GIFs) from keyboard and upload them to the current chat.

Signed-off-by: Dariusz Olszewski <starypatyk@users.noreply.github.com>
2022-01-04 15:38:24 +01:00
Tim Krüger
c26d6afddb
Remove implied default locale in case conversion
Signed-off-by: Tim Krüger <t@timkrueger.me>
2021-12-21 12:03:57 +01:00
Marcel Hibbe
fef9c24232
minor refactoring in NotificationUtils
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2021-12-15 15:54:20 +01:00
Dariusz Olszewski
09879ff347
Proposed UI changes of notification settings
Signed-off-by: Dariusz Olszewski <starypatyk@users.noreply.github.com>
2021-12-14 22:05:48 +01:00
Dariusz Olszewski
39f69003b5
Safer to use NotificationManagerCompat rather than NotificationManager
Signed-off-by: Dariusz Olszewski <starypatyk@users.noreply.github.com>
2021-12-14 22:05:48 +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
2e4130c2c4
Fix (some) ktlint issues
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
Dariusz Olszewski
4a5f6cf1fe
Do not play notification sounds on Oreo or later
On devices with Android 8.0 (Oreo) or later, notification sound will be handled by the system, if notifications have not been disabled by the user.

Signed-off-by: Dariusz Olszewski <starypatyk@users.noreply.github.com>
2021-12-14 22:05:47 +01:00
Tim Krüger
2bf470e0e6
Fix unread indirect mention bg color
The background color for the indirect unread mention counter was alwasys
white. Also in dark mode.

Now the background color is defined via the 'bg_default' color.

Signed-off-by: Tim Krüger <t@timkrueger.me>
2021-12-14 11:39:34 +01:00
tobiasKaminsky
5ad48b3757
initial idea to login in during tests
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2021-12-08 16:25:18 +01:00
Tim Krüger
eb1512b890
Show quotes of unnamed guests with "Guests"
Before this change the default "Guests" label only was set if the actor
display name was 'null'.

Resolves: #1730

Signed-off-by: Tim Krüger <t@timkrueger.me>
2021-12-03 11:30:16 +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
d377b6f136
fix klint
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2021-11-23 12:29:53 +01:00
Marcel Hibbe
5bb8de673e
hangup call notification screen after 1 minute
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2021-11-23 11:27:50 +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
Andy Scherzinger
47aa8ea5d4 make all cam buttons reflect current state instead of triggered action
Resolves #1694

Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-11-18 12:49:14 +00:00
Andy Scherzinger
514a2f0cc6
Merge pull request #1699 from nextcloud/deleteLeaveRoom
delete unused method leaveRoom
2021-11-17 15:02:38 +01:00
Marcel Hibbe
4167cb63bf
share contact from attachment dialog
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2021-11-17 12:12:05 +01:00
Marcel Hibbe
477100ccd8
delete unused method leaveRoom
delete redundant if-check

cleanup of commit ca9a622030

Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2021-11-16 19:53:45 +01:00
Marcel Hibbe
41ff61be5f
set pipGroupCallOverlay to gone when not needed
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2021-11-16 16:19:18 +01:00
Marcel Hibbe
9499b8117b
fix that call controls appear on touch when connecting
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2021-11-16 16:19:17 +01:00
Marcel Hibbe
e2668c4000
delete zlevel of call controls (not needed)
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2021-11-16 16:19:17 +01:00
Marcel Hibbe
48cda08854
delete if-checks for view bindings
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2021-11-16 16:19:17 +01:00
Marcel Hibbe
f2e75a7b71
add workaround to start videocalls when PIP is disabled
this is a dirty workaround for issue #1677

Somehow onUserLeaveHint is executed when the user starts a videocall. If PIP is disabled, the logic inside enterPipMode would finish the activity right after it was started.
This workaround suppresses the execution of enterPipMode right after the activity was started.
However if a user would press the home button in the first three seconds, the call would continue in background without the ability to recover the UI.

To better fix this bug it must be found out why onUserLeaveHint is executed on start (this should not happen!).

Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2021-11-15 12:19:40 +01:00
Andy Scherzinger
4671b18b91
Add license headers
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-11-12 09:45:49 +01:00
Andy Scherzinger
2eee665374
spotbugs: remove unused view variable
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-11-11 22:10:57 +01:00
Andy Scherzinger
0a3b23ba57
don't box primitives
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-11-11 22:10:56 +01:00
Andy Scherzinger
fd754f582b
migrate scope dialog to native view binding
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-11-11 22:10:55 +01:00
Andy Scherzinger
d995fc51ef
move attachment dialog to native view bindings
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-11-11 22:10:54 +01:00
Andy Scherzinger
d0f52c8eba
make sure to torn of torch after taking a picture
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-11-11 22:10:53 +01:00
Andy Scherzinger
dd9501590b
replace resolution and crop icons and preserve state in lifecycle
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-11-11 22:10:53 +01:00
Adam Serbinski
c3a37222b3
Crop and 2MP buttons to go away when reviewing
Signed-off-by: Adam Serbinski <adam@serbinski.com>
2021-11-11 22:10:52 +01:00
Adam Serbinski
7edd87fa4e
Add crop and low res (2MP) drawables
Signed-off-by: Adam Serbinski <adam@serbinski.com>
2021-11-11 22:10:52 +01:00
Adam Serbinski
13d376b25b
Add toggles for crop and lowres
Upper left -- crop
Upper right -- lowres (1920x?)

Signed-off-by: Adam Serbinski <adam@serbinski.com>
2021-11-11 22:10:51 +01:00
Adam Serbinski
d2d98314ee
Upload from camera: pinch to zoom, apect ratio
This implements pinch to zoom in the full range supported by the
camera HAL, fixes aspect ration handling on rotation, and sets up
for multiple resolution and aspect ratio support.

Signed-off-by: Adam Serbinski <adam@serbinski.com>
2021-11-11 22:10:51 +01:00
Andy Scherzinger
45402ea202
taost the right text
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-11-11 22:10:50 +01:00
Andy Scherzinger
ab4bba0f27
add cam permission check
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-11-11 22:10:50 +01:00
Andy Scherzinger
03cb3a66c6
move flash/flip-cam toggles
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-11-11 22:10:49 +01:00
Andy Scherzinger
bdc157d772
spotbugs: remove needlessly boxing a boolean constant
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-11-11 22:10:48 +01:00
Andy Scherzinger
14a3e488cc
limit image size for cam uploads to FHD
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-11-11 22:10:47 +01:00
Andy Scherzinger
7e688c43af
update cam libs to sdk=30 versions, improve previews and removal of temp images in case of cancellations
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-11-11 22:10:47 +01:00
Andy Scherzinger
67c421a067
add retake, send actions and preview
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-11-11 22:10:46 +01:00
Andy Scherzinger
547e9ebf8b
improve camera layout
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-11-11 22:10:46 +01:00
Andy Scherzinger
56d57c0b37
improve code check score
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-11-11 22:10:45 +01:00
Andy Scherzinger
4041d3f09b
use context compat to load resources
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-11-11 22:10:45 +01:00
Andy Scherzinger
0b8add1f69
Adding upload from camera action
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
Co-Authored-by: Stefan Niedermann <info@niedermann.it>
2021-11-11 22:10:41 +01:00
Marcel Hibbe
14abe52b6a
rename CallActivityBase to CallBaseActivity
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2021-11-11 13:52:18 +01:00
Marcel Hibbe
36c5f0814b
remove avatar blurring for background (=fix blocking of call controls)
no blurring or other background color calculation is done any more. BlurPostProcessor took too long for the used image size. If this is a requirement in the future, use ScalingBlurPostprocessor instead of  BlurPostprocessor (so fresco lib fork from nextcloud has to be updated!), see https://frescolib.org/docs/modifying-image.html

Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2021-11-11 13:52:18 +01:00
Marcel Hibbe
9070153d5c
create abstract class for CallActivity and CallNotificationActivity
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2021-11-11 13:52:18 +01:00
Marcel Hibbe
be9971ad7a
disable back button when pip is not available
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2021-11-11 13:52:18 +01:00
Marcel Hibbe
e6da2fcc19
replace hardcoded applicationId for pip permission check
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2021-11-11 13:52:18 +01:00
Marcel Hibbe
89d0bcfc78
hide navigation bar if pip is not available
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2021-11-11 13:52:18 +01:00
Marcel Hibbe
f5106e6050
check if pip mode is granted on device, otherwise hide button
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2021-11-11 13:52:18 +01:00
Marcel Hibbe
f9a28cb0aa
fix to hide selfVideo when pip-view is tapped
on some devices (reproduced with Pixel2 on api level30) the own video became visible when the pip view was tapped. This fix should hide the own video.

Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2021-11-11 13:52:18 +01:00
Marcel Hibbe
289bd2fa00
fix klint error
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2021-11-11 13:23:40 +01:00
Marcel Hibbe
63593df03e
hide peer name when in pip mode
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2021-11-11 13:23:40 +01:00
Marcel Hibbe
052dc588aa
remove comment
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2021-11-11 13:23:40 +01:00
Marcel Hibbe
b822eb8417
reformat code in CallNotificationActivity
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2021-11-11 13:23:40 +01:00
Marcel Hibbe
b3f8a36c62
load avatar again in CallNotificationActivity
was only disabled for debugging. still needs to be fixed with https://github.com/nextcloud/talk-android/issues/1234

Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2021-11-11 13:23:40 +01:00
Marcel Hibbe
7a7888f5d1
reformat code in CallActivity
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2021-11-11 13:23:40 +01:00
Marcel Hibbe
71ae7eddc2
move code from onStart to onCreate
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2021-11-11 13:23:40 +01:00
Marcel Hibbe
0bfeb1b320
add action button to mute/unmute in pip mode
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2021-11-11 13:23:40 +01:00
Marcel Hibbe
4a1c637efc
add checks if pip is supported by device
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2021-11-11 13:23:40 +01:00
Marcel Hibbe
a0c95113bf
display overlay instead of grid in pip view for group calls
this is a quick and dirty solution until "speaker view" is introduced in the future which should be used for the pip view.

Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2021-11-11 13:23:40 +01:00
Marcel Hibbe
57804c8d62
dismiss keyguard for CallNotificationActivity (WIP, see TODO)
Whenever i click the button to accept the call, CallActivity is started by intent.
CallActivity itself has the same logic to dismiss the keyguard.

The problem is: When switching from CallNotificationActivity to CallActivity the lockscreen is shown indeed!
So i guess Android recognizes "oh, CallNotificationActivity is gone. Let's show the lockscreen" before it recognizes that
the new activity also dismiss the lockscreen ?!

I fear for this scenario it was not the best idea to have 2 different activies.. (before it was only 1 activity and 2 condcutor controllers..)

Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2021-11-11 13:23:40 +01:00
Marcel Hibbe
e05334cb9a
enable pip support for CallNotificationActivity
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2021-11-11 13:23:40 +01:00
Marcel Hibbe
7e68ecbde9
rename "runAllThings"
:D :D
setUpAfterConversationIsKnown might not be the best name, but i'm not sure when in onCreate the currentConversation can be null. depending on that it might even not be necessary to have the "things" in a method..

Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2021-11-11 13:23:40 +01:00
Marcel Hibbe
3326b6a7f3
rename design for CallActivity
move methods

Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2021-11-11 13:23:40 +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
Marcel Hibbe
b49a1b9274
remove unused import
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2021-11-11 13:23:40 +01:00
Marcel Hibbe
3afcceae50
delete creation of intent that is not used
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2021-11-11 13:23:40 +01:00
Marcel Hibbe
03913b40a2
fix to enable pip for CallNotification Controller
methods to update UI are not yet implemented. maybe it's better to make two Activities: one for Call and one for CallNotification...

Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2021-11-11 13:23:40 +01:00
Marcel Hibbe
0d1e0af9d1
fix NPE when call is joined by notification
add ability to have PIP mode for calls joined by notification

Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2021-11-11 13:23:40 +01:00
Marcel Hibbe
51b86b5a88
fix currentRoomToken for ApplicationWideCurrentRoomHolder
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2021-11-11 13:23:40 +01:00
Marcel Hibbe
e0e3bf4c32
add logging and comments
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2021-11-11 13:23:40 +01:00
Marcel Hibbe
2c1b45491d
start pip mode when back button is pressed
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2021-11-11 13:23:40 +01:00
Marcel Hibbe
78653e7d8d
show call controls in videocall when entering call or when come back from pip mode
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2021-11-11 13:23:40 +01:00
Marcel Hibbe
12d96634e5
fix to show call controls in voiceOnly call after coming back from pip mode
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2021-11-11 13:23:40 +01:00
Marcel Hibbe
1ae5f51a81
hide pip button for android < 8
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2021-11-11 13:23:40 +01:00
Marcel Hibbe
6839b9eb2c
fix animation of callControls
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2021-11-11 13:23:40 +01:00
Marcel Hibbe
3ba599be98
rename old "pip*"-stuff to "selfVideo*"
improve design-logic for pip-mode and normal mode when switched back from pip

Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2021-11-11 13:23:40 +01:00
Marcel Hibbe
914b10bf20
make pip fullscreen (wip)
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2021-11-11 13:23:40 +01:00
Marcel Hibbe
d482d8603e
modify call screen design for pip mode
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2021-11-11 13:23:40 +01:00
Marcel Hibbe
ea8e45e934
enable keyguard when users presses home button
= security check if call was entered via notification in locked mode

Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2021-11-11 13:23:40 +01:00
Marcel Hibbe
0aee8eb7ef
remove comment
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2021-11-11 13:23:40 +01:00
Marcel Hibbe
d4322bf2d9
finish call activity if closed via "X" in pip mode
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2021-11-11 13:23:40 +01:00
Marcel Hibbe
d4d23c1855
set calling/dialing state by ApplicationWideCurrentRoomHolder
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2021-11-11 13:23:40 +01:00
Marcel Hibbe
78384e7b55
add initial approach for pip mode (wip)
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2021-11-11 13:23:40 +01:00
Marcel Hibbe
40506eaeaf
allow app to query for apps that can resolve VIEW or SEND intents
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2021-11-11 11:22:37 +01:00
Tim Krüger
85785c287e
Resolve FindBugs Collection Naming Confusion
From the FindBugs documentation:

> CNC_COLLECTION_NAMING_CONFUSION: Collection variable is named with a different
> type of collection in the name
>
> This class defines a field or local collection variable with a name that
> contains a different type of collection in its name. An example would be a Set
> called userList. This is confusing to the reader, and likely caused by a
> previous refactor of type, without changing the name. This detector is
> obviously only checking for English names.

Signed-off-by: Tim Krüger <t@timkrueger.me>
2021-11-10 13:55:20 +01:00
Tim Krüger
9accac3325
Show profile action on avatar click
For every click on a avatar in a group chat it will be tried to receive a
hover card from the Nextcloud server. The endpoint returns multiple
actions. Those actions will be filtered for the app ids 'spreed',
'email' and 'profile'. Other will be ignored.
The received filtered actions will be shown in a bottom sheet.

Resolves: #1644

Signed-off-by: Tim Krüger <t@timkrueger.me>
2021-11-10 09:08:43 +01:00
Tim Krüger
036cf7c590
Some refactoring
- Removed spelling issues
- Removed unneded boolean comparisons
- Improve code readability by reformatting

Signed-off-by: Tim Krüger <t@timkrueger.me>
2021-11-10 09:08:42 +01:00
Andy Scherzinger
a8c8fbe191
reformat code
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-11-06 12:23:37 +01:00
Andy Scherzinger
61e0c88188
improve code scores
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-11-06 12:15:23 +01:00
Andy Scherzinger
ed7a762b4c
correct formatting for ktlint
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-11-05 18:18:21 +01:00
Andy Scherzinger
e8930530de
rename method since vibrator implementation has been removed
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-10-26 12:15:30 +02:00
Andy Scherzinger
67df1fb341
cleanup code after custom vibrate code removal
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-10-26 12:15:30 +02:00
Andy Scherzinger
a5b1c1a34d
improve lint score
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-10-25 15:18:44 +02:00
Andy Scherzinger
8c87c5b45d
remove unused vibrate code
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-10-25 14:31:48 +02:00
Andy Scherzinger
eb3c742f65
remove vibrate setting
Resolves #1630

Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-10-25 14:31:44 +02:00
Tim Krüger
7f54dcd9f9
Replace 'mute calls' by 'call notifications'
The 'mute calls' setting was only stored locally on the device. The new
'call notifications' setting is stored on the Nextcloud server and
shared over all devices.

See:
  - https://github.com/nextcloud/spreed/pull/6338

Signed-off-by: Tim Krüger <t@timkrueger.me>
2021-10-25 11:43:32 +02:00
Tim Krüger
1e5ba5a94b
Remove restricted API access
The access to function 'MaterialDialog#getItemSelector' is restricted.
Because of that the linting reported some errors.

I could not find any visible benefit in this call. That is why I have
removed it.

Signed-off-by: Tim Krüger <t@timkrueger.me>
2021-10-19 14:05:32 +02:00
Tim Krüger
249e1a2a9a
Remove unnecessary type casts
Signed-off-by: Tim Krüger <t@timkrueger.me>
2021-10-15 11:51:30 +02:00
Marcel Hibbe
74e693d95c
scroll to first unread mention and place it to the top
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2021-10-04 18:09:29 +02:00
Tim Krüger
cf471e336f
Clear message field after sharing
After the Android sharing functionality was used, the shared text sticks
in the message composing field in the conversation. Also if an text was
forwared to the same conversation the text which was shared before
sticks in the message composing field.

Now the message composing field is empty after sharing or forwarding
something.

Signed-off-by: Tim Krüger <t@timkrueger.me>
2021-09-29 12:23:48 +02:00
Andy Scherzinger
638b7c8288
also account for unread 1on1 messages for unreadMessages bubbleClicked
Fixes #1599

Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-09-23 17:17:54 +02:00
Marcel Hibbe
84468be617
catch NPE for popup bubble
catch NPE when popup bubble for unread mentions is not available anymore

Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2021-09-23 10:55:31 +02:00
Marcel Hibbe
4a31a89e4a
set standard typeface for date of message
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2021-09-22 17:17:57 +02:00
Marcel Hibbe
a6397b0392
differentiate unread counters
differentiate unread counters for group mentions and direct mentions

Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2021-09-22 16:30:14 +02:00
Tim Krueger
f96392d05c
Merge pull request #1589 from nextcloud/feature/1557/show-lobby-timer-and-description-in-lobby-screen
Show lobby timer and description in lobby screen
2021-09-20 17:06:42 +02:00
Tim Krüger
4e8c8eb8d7
Show relative timer on lobby screen
Resolves: #1557

Signed-off-by: Tim Krüger <t@timkrueger.me>
2021-09-20 15:26:54 +02:00
Marcel Hibbe
12e9985cd9
add unread mentions popup-bubble in conversations list
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2021-09-20 11:35:58 +02:00
Marcel Hibbe
69bcd6ee88
enable keyguard for toggle chat
show the lockscreen when switching to chat in a call that was opened by notification before the phone was unlocked.

Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2021-09-17 14:58:44 +02:00
Tim Krüger
08a5088c48
Add conversation description to lobby screen
Resolves: #1557

Signed-off-by: Tim Krüger <t@timkrueger.me>
2021-09-17 12:21:18 +02:00
Andy Scherzinger
2315701b3a
Merge pull request #1546 from nextcloud/sdk30
Bump to SDK 30
2021-09-16 15:20:13 +02:00
Tim Krüger
1a9f5a3f73
Make klint happy :-)
Signed-off-by: Tim Krüger <t@timkrueger.me>
2021-09-15 17:02:57 +02:00
Tim Krüger
e1d9afa1a2
Suppress Lint for wrong constant of AudioManager modes
Signed-off-by: Tim Krüger <t@timkrueger.me>
2021-09-15 16:17:32 +02:00
Tim Krüger
99f5a64c50
Suppress Lint for wrong constant of AudioManager.GET_DEVICES_ALL
Up to now AudioManager.GET_DEVICES_ALL is a valid value. Because of that
the suppress annotation were added.

See: https://developer.android.com/reference/android/media/AudioManager#getDevices(int)

Signed-off-by: Tim Krüger <t@timkrueger.me>
2021-09-15 15:47:46 +02:00
Tim Krüger
5cacf7767d
Ask for READ_EXTERNAL_STORAGE permsssion for API level 30
Since API level 30 the WRITE_EXTERNAL_STORAGE permission will be
ignored. Instead the READ_EXTERNAL_STORAGE permission must be used.

See: https://developer.android.com/training/data-storage

Signed-off-by: Tim Krüger <t@timkrueger.me>
2021-09-14 13:54:20 +02:00
Marcel Hibbe
2f35ae19fc
call adapter methods in UI thread
otherwise sometimes this exception was thrown:

IllegalStateException: Cannot call this method while RecyclerView is computing a layout or scrolling androidx.recyclerview.widget.RecyclerView
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2021-09-03 13:07:21 +02:00
Andy Scherzinger
7311971fe1
properly theme the loading spinner
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-09-03 12:58:46 +02:00
Andy Scherzinger
fab51901f2
utilize Fragment key
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-09-03 12:58:46 +02:00
Andy Scherzinger
fbc853fa63
typo fixed
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-09-03 12:58:46 +02:00
Andy Scherzinger
04a7f75f78
adapt to rebase by remove the migrated fastscroller code
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-09-03 12:58:46 +02:00
Andy Scherzinger
1b29038dbd
move refresh action to swipe action
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-09-03 12:58:46 +02:00
Andy Scherzinger
d785d3aa21
properly sort by name
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-09-03 12:58:46 +02:00
Andy Scherzinger
85b2cea618
Add order capabilities to file browser
Resolves #919

Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-09-03 12:58:46 +02:00
Tim Krüger
fe989371de
Fix scrolling and selection issue in RTL
The following views had scrolling and selection issues if RTL is
activated:

- Conversation list
- File browser
- Contact selection

To fix this issues the fast scroller functionality were removed for
those views.

Signed-off-by: Tim Krüger <t@timkrueger.me>
2021-09-02 14:01:17 +02:00
Tim Krüger
730c85811e
Hide own conversation in "forward to" selection screen
Resolves #1567

Signed-off-by: Tim Krüger <t@timkrueger.me>
2021-09-02 11:57:27 +02:00
tobiasKaminsky
8c7b7154a6
Bump to SDK 30
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2021-08-26 12:26:46 +02:00
Andy Scherzinger
febaaf8ea7
Revert "improve code check score"
This reverts commit 6415f163bd.

Revert "use context compat to load resources"

This reverts commit 3742c4ed99.

Revert "Adding upload from camera action"

This reverts commit 01a6675795.
2021-08-23 08:54:33 +02:00
Andy Scherzinger
6415f163bd
improve code check score
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-08-21 18:28:55 +02:00
Andy Scherzinger
3742c4ed99
use context compat to load resources
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-08-21 13:48:30 +02:00
Andy Scherzinger
01a6675795
Adding upload from camera action
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
Co-Authored-by: Stefan Niedermann <info@niedermann.it>
2021-08-21 13:40:18 +02:00
Marcel Hibbe
dd5d347a7b
expand privacy settings bottom sheet in landscape mode
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2021-08-19 12:00:28 +02:00
Marcel Hibbe
402325ffb5
fix displaying of message delete-button
this will fix to hide the delete-button when the message is not from the current user and the user not a moderator.
see https://nextcloud-talk.readthedocs.io/en/latest/chat/#deleting-a-chat-message

Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2021-08-12 18:03:50 +02:00
Andy Scherzinger
fd430b9084
use proper context
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-07-22 22:58:22 +02:00
Andy Scherzinger
ed19792204
extract bundle keys
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-07-22 22:39:31 +02:00
Tim Krüger
af31d8a703
Make klint happy
Signed-off-by: Tim Krüger <t@timkrueger.me>
2021-07-22 22:14:37 +02:00
Tim Krüger
00915e56ff
Allow only forwarding of regualr text messages
Also go back directly to the conversation list. Go back history is
reseted.

Signed-off-by: Tim Krüger <t@timkrueger.me>
2021-07-22 22:14:36 +02:00
Tim Krüger
d67226e39d
Forwarding message to selected conversation
Signed-off-by: Tim Krüger <t@timkrueger.me>
2021-07-22 22:14:26 +02:00
Tim Krüger
6f2c0c65df
Unify strings for clearing chat over all platforms
See: #1336

Signed-off-by: Tim Krüger <t@timkrueger.me>
2021-07-22 11:41:00 +02:00
Andy Scherzinger
7d35e91a9c
remove unneeded annotation
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-07-19 13:59:01 +02:00
Marcel Hibbe
a41c0f8b69
add confirm dialog before clearing chat history
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2021-07-19 13:51:38 +02:00
Marcel Hibbe
1558c8ed33
add ability to clear chat history
- moderators can clear the chat in the conversations settings
- chat is cleared by system message CLEARED_CHAT

Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2021-07-19 13:51:37 +02:00
Marcel Hibbe
f813688a12
remove hardcoded api version for location sharing
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2021-07-15 19:16:50 +02:00
Tim Krueger
0799945016
Merge pull request #1472 from nextcloud/remove-obsolete-setting-link-preview
Remove obsolete setting link preview
2021-07-15 16:14:50 +02:00
Tim Krüger
19337b8e57
Remove preference 'link_previews' from storage
Signed-off-by: Tim Krüger <t@timkrueger.me>
2021-07-15 14:20:16 +02:00
Tim Krüger
eac46d9456
Remove obsolete setting link preview
The setting is obsolete since the functionality for media detection in
text messages was removed.

See: commit 8468535a

Signed-off-by: Tim Krüger <t@timkrueger.me>
2021-07-15 10:07:43 +02:00
Tim Krüger
62f73aee05
Remove unused method and dependency
See: commit 4c4c5839, #1167

Signed-off-by: Tim Krüger <t@timkrueger.me>
2021-07-15 10:07:42 +02:00
Tim Krüger
75d82185c1
Remove media in text message detection
The method 'TextMatchers#getMessageTypeFromString' suggested MIME types
for linked files in text message. Also for links like this not working
example:

  - http://example.local/image.png
  - image.png

In those cases no image can be loaded and that results in empty previews
like shown in the issue #1167.

So for alignment reasons to spreed and Talk iOS app this media detection
is removed and only links will be shown.

Resolves: #1167

Signed-off-by: Tim Krüger <t@timkrueger.me>
2021-07-15 10:07:42 +02:00
Tim Krüger
11805e5c7a
Add new system message types
The new system message types 'call_missed' and 'call_tried' should be
shown as system messages and not regular text messages.

Resolves: #248

Signed-off-by: Tim Krüger <t@timkrueger.me>
2021-07-14 16:50:16 +02:00
Tim Krüger
8468535a1e
Remove unused method and dependency
See: commit 4c4c5839, #1167

Signed-off-by: Tim Krüger <t@timkrueger.me>
2021-07-14 10:17:05 +02:00
Tim Krüger
4c4c583923
Remove media in text message detection
The method 'TextMatchers#getMessageTypeFromString' suggested MIME types
for linked files in text message. Also for links like this not working
example:

  - http://example.local/image.png
  - image.png

In those cases no image can be loaded and that results in empty previews
like shown in the issue #1167.

So for alignment reasons to spreed and Talk iOS app this media detection
is removed and only links will be shown.

Resolves: #1167

Signed-off-by: Tim Krüger <t@timkrueger.me>
2021-07-14 09:26:17 +02:00
Andy Scherzinger
0ec4ecfa95 base url can be null
Fixes #1458

Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-07-12 11:20:53 +00:00
Andy Scherzinger
73e96198de Handle async call back to already destroyed UI
Fixes #1426

Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-07-12 10:55:03 +00:00
Dariusz Olszewski
d0e5b768bb Share from a browser should share the page URL
Fixes #1415

Signed-off-by: Dariusz Olszewski <starypatyk@users.noreply.github.com>
2021-07-10 23:09:51 +02:00
Marcel Hibbe
27bbb399be catch FileNotFoundException in copyFileToCache
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2021-07-09 18:35:47 +00:00
Joas Schilling
976ca95959
Merge pull request #1442 from nextcloud/bugfix/1429/fix-capability-check-for-14-to-18
Fix capability check for 14-18
2021-07-09 20:24:07 +02:00
Joas Schilling
4f94d7f96c
Fix capability check for 14-18
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-07-09 19:45:05 +02:00
Andy Scherzinger
f8ae4ca8a3
Merge pull request #1420 from nextcloud/bugfix/1417/botSystemConversationIcon
Use launcher icon as bot-avatar/system-conversation-icon
2021-07-09 16:28:33 +02:00
Andy Scherzinger
1333ce768a
Merge pull request #1425 from nextcloud/bugfix/1424/conversationInfoViewBindingNPE
Binding can be null due to async call
2021-07-09 11:30:18 +02:00
Andy Scherzinger
c47a686db1
replace printStackTrace with Log-statement
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-07-09 10:54:39 +02:00
Andy Scherzinger
324cd95f43
binding can be null do to async call
Fixes #1424

Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-07-08 23:58:34 +02:00
Andy Scherzinger
e1962883b0
Only parse baseURl if not empty
Fixes #1422

Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-07-08 14:49:59 +02:00
Andy Scherzinger
5e88dc6f57
Use launcher icon as bot-avatar/system-conversation-icon on pre-Android O
Fixes #1417

Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-07-08 14:31:12 +02:00
Marcel Hibbe
e721aa5df6
fix to expand attachment menu in landscape mode
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2021-07-05 14:57:11 +02:00
Marcel Hibbe
83001990b0
set locationName to "Shared location" when geocoding failed
e.g. when someone shares a location from the ocean the name is not "null" anymore

Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2021-07-05 13:03:18 +02:00
Daniel Calviño Sánchez
6087167d6e
Simplify condition
Now that "newSessions" only contains remote participants it is no longer
needed to check if the participant is an MCU publisher or not, as it
will never be.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2021-07-02 14:59:05 +02:00
Daniel Calviño Sánchez
9687a9453d
Fix treating the local session as a remote session when the HPB is used
When processing the participants in a room the signaling sessions of the
participants were compared against the Nextcloud session of the local
participant to find out which were the remote sessions. However, when
the HPB is used the signaling session is not the same as the Nextcloud
session, so the signaling session of the local participant never matched
her Nextcloud session, so it was always seen as a remote participant.

This caused the call state to be changed to "in conversation" (which,
for example, stopped the calling sound), when only the local participant
was in the call.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2021-07-02 14:59:05 +02:00
Daniel Calviño Sánchez
004c7b296a
Move "hasMCU" update to the top of the method
"hasMCU" was used before being updated, so this caused an unneeded call
to "getPeersForCall" when processing the users in the room for the first
time even if the MCU is actually used.

A better fix might be moving "hasMCU" to a method instead of relying on
the cached value, but just moving the update to the top of the method
should have no side effects (as calling "getPeersForCall" just updates
"participantMap", which is unused when the MCU is used, and sets the
avatars, which has no effect until the peer layout is set, which also
sets the avatar), so this is good enough for now.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2021-07-02 14:59:05 +02:00
Marcel Hibbe
c07ef4acc8
define call controls height in dimens.xml
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2021-07-02 13:23:46 +02:00
Marcel Hibbe
99b247850b
set minHeight for call item by dp
reduce number of possible columns to avoid design issues

Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2021-07-02 13:23:46 +02:00
Marcel Hibbe
8e8fd882f9
return false for ridView.setOnTouchListener
NOT TESTED

should allow both click and scrolling?

Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2021-07-02 13:23:46 +02:00
Marcel Hibbe
98f8a29eae
set constants for min item height and call controls height
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2021-07-02 13:23:46 +02:00
Marcel Hibbe
64d98aefb4
- set bottom margin for grid for voicecall
- temporarily comment out setOnTouchListener for grid (disables toggle of controls for now)
- set android:scrollbars="vertical" for gridview
- add callControlsHeight for item height calculation
- add fake height to item that scrolling is testable

Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2021-07-02 13:23:46 +02:00
Andy Scherzinger
394a640555
shorten app label Nextcloud Talk -> Talk while keeping "Nextcloud Talk" as a label within the app itself
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-06-30 18:07:54 +02:00
Andy Scherzinger
996770e470
check if view is (still) available
...since grid initialization is called in various places throughout the lifecycle

Fixes #1233

Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-06-30 16:54:57 +02:00
Andy Scherzinger
60def3cc0c
optimize message input for size+a11y
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-06-30 15:53:30 +02:00
Marcel Hibbe
bebf716da7
temporarily disable logging to file
see issue
https://github.com/nextcloud/talk-android/issues/1376

Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2021-06-30 14:24:53 +02:00
Andy Scherzinger
b989c62055
Merge pull request #1373 from nextcloud/bugfix/1343/stopVoiceMessage
Bugfix/1343/stop voice message
2021-06-30 13:53:13 +02:00
Andy Scherzinger
60d14f3b35
SuppressLint("SetTextI18n")
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-06-30 13:44:00 +02:00
Andy Scherzinger
d37783d7a0
fix ktlint
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-06-30 13:38:48 +02:00
Andy Scherzinger
3e57018615
remove unused member variables
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-06-30 13:12:15 +02:00
Andy Scherzinger
195bdfb05a
extract visibility toggle for play/pause Vs. loading-animation
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-06-30 13:03:17 +02:00
Andy Scherzinger
78cc0df7bd
spotbugs: use literal as comparison base
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-06-30 13:03:14 +02:00
Andy Scherzinger
7bca54373f
Improve ktlint
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-06-30 13:02:57 +02:00
Andy Scherzinger
a393685a63
else/if rather than if/if
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-06-30 13:01:32 +02:00
Andy Scherzinger
5b457a67cb
remove unused member variable
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-06-30 13:01:31 +02:00
Andy Scherzinger
f435646b23
Add license header 2021-06-30 13:01:26 +02:00
Marcel Hibbe
6fc83bbca0
fix klint warnings
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2021-06-29 23:09:39 +02:00
Marcel Hibbe
741748137a
fix lint/spotbugs warnings
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2021-06-29 22:49:33 +02:00
Marcel Hibbe
c7bb6402fe
stop mediaPlayer in onDestroy
a voice message now continues to play if app goes to background, but whenever the user returns he can pause or stop the playback (UI is updated).
Also, the playback survives a screen orientation change.

instead stopping the mediaPlayer in onDetach would stop playback when moving app to background but also stop the playback on a screen orientation change.

Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2021-06-29 22:49:33 +02:00
Marcel Hibbe
d47deb42c8
move mediaPlayer and download-logic for voicemessages to ChatController
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2021-06-29 22:49:33 +02:00
Andy Scherzinger
3514d6b3fc
Catch IllegalStateException in case EmojiCompat hasn't been initialized yet
Fixes #1371

Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-06-29 13:00:32 +02:00
Andy Scherzinger
c4057b7ac4
Add dark/light aware high-res conversation icons for share:password and document
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-06-28 23:09:18 +02:00
Andy Scherzinger
0b49b65094
check if attendeePin exists
resolves #1314

Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-06-24 16:27:51 +02:00
Joas Schilling
9411614175
Show the bridge-bot avatar for bridged messages
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-06-23 10:13:20 +02:00
Joas Schilling
c2125f9a81
Always fallback to the guest avatar instead of none
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-06-23 10:12:58 +02:00
Joas Schilling
7e1cc872bd
Add tracking circles support
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-06-22 11:40:40 +02:00
Andy Scherzinger
2db4cbf4d1
reformat kotlin
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-06-22 11:18:07 +02:00
Andy Scherzinger
fc0962780c
improve lint score
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-06-22 11:18:07 +02:00
Andy Scherzinger
4ebc64de1c
improve codacy score
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-06-22 11:18:06 +02:00
Andy Scherzinger
2cf5952fae
bump detekt score
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-06-22 11:18:05 +02:00
Andy Scherzinger
2b71d30637
reformat kotlin
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-06-22 11:18:04 +02:00
Andy Scherzinger
19dcd8267a
replace deprecated method calls
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-06-22 11:18:02 +02:00
Andy Scherzinger
db68b4e93d
improve voice message UI
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-06-22 11:18:02 +02:00
Marcel Hibbe
7709967712
fix imports
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2021-06-22 11:18:00 +02:00
Joas Schilling
9fbf9ef492
add voice messages
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2021-06-22 11:17:59 +02:00
Andy Scherzinger
df6b0980ac
improve contacts preview UI
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-06-21 17:35:05 +02:00
Joas Schilling
b9893e031c
Show "contact-name" and "contact-photo" when applicable
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-06-21 17:35:04 +02:00
Marcel Hibbe
0e66d75b7d
improve handling for missing location permissions
add fallback to gps if no NETWORK_PROVIDER was found

Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2021-06-21 13:14:38 +02:00
Andy Scherzinger
dd162e8c61
@Suppress("Detekt.TooGenericExceptionCaught")
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-06-11 16:38:52 +02:00
Andy Scherzinger
005dfa9397
prevent crash on async callback
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-06-11 15:29:26 +02:00
Andy Scherzinger
57ddb317fd
hide icon on location picker
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-06-11 15:16:45 +02:00
Andy Scherzinger
cedc54dbb6
Improve codacy
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-06-11 12:53:27 +02:00
Andy Scherzinger
fb04505663
reformat kotlin
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-06-11 10:59:11 +02:00
Andy Scherzinger
f242b5fcec
hide deletion action ob object_share messages popup menu
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-06-11 10:55:32 +02:00
Marcel Hibbe
80e1bc6505
add ACCESS_COARSE_LOCATION for LocationPickerController
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2021-06-11 10:51:30 +02:00
Andy Scherzinger
686e499875
cleanup client implementation
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-06-11 10:23:01 +02:00
Andy Scherzinger
f52d7f29d9
replace nominatimClient with copied/pacthes version replacing legacy httpClient with okhttp3
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-06-11 10:22:58 +02:00
Andy Scherzinger
ba64d693ef
further codacy improvements
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-06-11 10:22:56 +02:00
Andy Scherzinger
03fda89a22
reformat kotlin
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-06-11 10:22:55 +02:00
Andy Scherzinger
a8368e626e
improve codacy score
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-06-11 10:22:52 +02:00
Andy Scherzinger
01a552b8d3
reformat code for ktlint compliance
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-06-11 10:22:47 +02:00
Andy Scherzinger
f899ee1d2f
make httpclient compileOnly since it ships with the OS
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-06-11 10:22:46 +02:00
Andy Scherzinger
6ba541b6b1
Move message holders to native view bindings
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-06-11 10:22:44 +02:00
Andy Scherzinger
71bffc0ea8
suppress generic exception handling warnings
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-06-11 10:22:42 +02:00
Andy Scherzinger
3c4714f716
fix after rebase
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-06-11 10:22:39 +02:00
Andy Scherzinger
ac986c61aa
cleanup to new base controller logic
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-06-11 10:22:36 +02:00
Andy Scherzinger
73e0b4e719
polish location map and move to native view bindings
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-06-11 10:22:34 +02:00
Andy Scherzinger
9f8a98ba07
remove unused imports
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-06-11 10:22:32 +02:00
Andy Scherzinger
adda60c7fb
Use native view bindings for GeocodingController
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-06-11 10:22:30 +02:00
Andy Scherzinger
43bf2ca7ae
use right context to be day/night theme aware
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-06-11 10:22:27 +02:00
Marcel Hibbe
94e466598e
add copyright headers
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2021-06-11 10:22:26 +02:00
Marcel Hibbe
4cdd13c92e
use CapabilitiesUtil for geo-location-sharing
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2021-06-11 10:22:23 +02:00
Marcel Hibbe
0568ea6e72
update location when gps changed
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2021-06-11 10:22:21 +02:00
Marcel Hibbe
751cd1268e
replace current-position icon
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2021-06-11 10:22:19 +02:00
Marcel Hibbe
22333d2f57
disable text fields for location messages (workaround)
i tried to suppress that zip codes are shown as clickable telephopne numbers. but
  android:autoLink="none"
and
  messageText!!.linksClickable = false
don't seem to work.
as a workaround i disabled the text field completely. so the links are still underlined but nut clickable. and it's also not possible now to mark text and get the context menu.

Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2021-06-11 10:22:18 +02:00
Marcel Hibbe
3cb0fe75b1
remove unnecessary logic from LocationMessageViewHolders
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2021-06-11 10:22:16 +02:00
Marcel Hibbe
4190cf1dfe
add FLAG_ACTIVITY_NEW_TASK for incoming location message
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2021-06-11 10:22:14 +02:00
Marcel Hibbe
2154b6cf94
improve design of share location button / location description
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2021-06-11 10:22:12 +02:00
Marcel Hibbe
9ffd5a7579
hide location sharing when capability is missing
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2021-06-11 10:22:09 +02:00
Marcel Hibbe
d4e49a20bb
decrease lint warnings
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2021-06-11 10:22:06 +02:00
Marcel Hibbe
fdf6b04fb8
decrease spotbugs warnings
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2021-06-11 10:22:02 +02:00
Marcel Hibbe
60827afe5c
decrease lint warnings
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2021-06-11 10:21:59 +02:00
Marcel Hibbe
ffdc630b76
avoid UNSAFE_HASH_EQUALS reported by SpotBugs
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2021-06-11 10:21:58 +02:00
Marcel Hibbe
ab63a1970b
extract hardcodings
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2021-06-11 10:21:56 +02:00
Marcel Hibbe
49b2455a23
reverse-geocode before sharing if address-name is empty
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2021-06-11 10:21:54 +02:00
Marcel Hibbe
d7a8935709
show geocoded location on map before sharing
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2021-06-11 10:21:53 +02:00
Marcel Hibbe
96e5e544ea
share geocoding-result on click
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2021-06-11 10:21:51 +02:00
Marcel Hibbe
26ae4fa548
share geocoded location
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2021-06-11 10:21:50 +02:00
Marcel Hibbe
2f0105abd3
add location search with nominatim
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2021-06-11 10:21:49 +02:00
Marcel Hibbe
d5face5941
improve design for locationpicker screen
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2021-06-11 10:21:47 +02:00
Marcel Hibbe
e8a9fa6303
add "...sent a location" strings for Conversation list
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2021-06-11 10:21:46 +02:00
Marcel Hibbe
095c13172c
share location to chat by button click
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2021-06-11 10:21:44 +02:00
Marcel Hibbe
ae485d1d80
delete example activity for leaflet
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2021-06-11 10:21:43 +02:00
Marcel Hibbe
1aa15ebd95
differ between incoming and outcoming messages for location
logic was copied from:
- MagicIncomingTextMessageViewHolder.kt
- MagicOutcomingTextMessageViewHolder.kt

xml design was copied from:
- item_custom_incoming_text_message.xml
- item_custom_outcoming_text_message.xml

... and extended for location related things.

because of copying there is now quite a lot of redundant code! But ViewHolders should generally be refactored in the future.. (better inheritance(?) and analyze which of Marios changes to the Chatkit lib were really necessary or if this can be done in an other way..)

Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2021-06-11 10:21:42 +02:00
Marcel Hibbe
7540e57dd8
open geolink on click + minor refactoring
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2021-06-11 10:21:40 +02:00
Marcel Hibbe
04fb57df7a
pass java to javascript params with URLEncoder
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2021-06-11 10:21:39 +02:00
Marcel Hibbe
5da43d1760
wip. show leaflet inside webview in message
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2021-06-11 10:21:37 +02:00
Marcel Hibbe
ba7bfe3150
chnage LocationMessageViewHolder to kotlin
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2021-06-11 10:21:36 +02:00
Marcel Hibbe
4d29a4b638
add LocationMessageViewHolder for ChatKit
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2021-06-11 10:21:35 +02:00
Marcel Hibbe
1e2960a72a
add example for leaflet in WebView
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2021-06-11 10:21:33 +02:00
Marcel Hibbe
73becd432d
add logic for geolocation message
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2021-06-11 10:21:32 +02:00
Marcel Hibbe
965692ce7e
set location picker icon over map
show location when clicked on button

Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2021-06-11 10:21:31 +02:00
Marcel Hibbe
0742afe58c
add map via osmdroid
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2021-06-11 10:21:30 +02:00
Marcel Hibbe
c6d3abf421
add entry to share location
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2021-06-11 10:21:25 +02:00
Andy Scherzinger
5d41b0fae2
rename HashMap
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-06-09 13:50:28 +02:00
Andy Scherzinger
047372ad37
flip string com pare for null-safety
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-06-09 13:50:27 +02:00
Andy Scherzinger
893f015edf
shorten Log Tag
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-06-09 13:50:25 +02:00
Andy Scherzinger
cf24965f7f
code formatting, make TAG final
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-06-09 13:50:24 +02:00
Andy Scherzinger
f3dd482476
link swipe-to-reply to messages replyable-flag
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-06-09 13:50:18 +02:00
Marcel Hibbe
e03f048126
fix displaying of large images
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2021-06-09 13:19:49 +02:00
Andy Scherzinger
db231ed12b
update after rebase, lower detekt score
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-06-08 23:26:09 +02:00
Andy Scherzinger
7372d108a7
housekeeping to improve codacy/detekt score
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-06-08 23:21:20 +02:00
Andy Scherzinger
bc20e0438f
replace magic numbers with constants
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-06-08 23:20:55 +02:00
Andy Scherzinger
292bee8396
Swipe to reply for chat messages (incoming/outgoing/preview)
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-06-08 23:20:54 +02:00
Andy Scherzinger
b513d0f154
improve detekt score
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-06-08 17:37:06 +02:00
Andy Scherzinger
e4da772882
ignore detekt for"Detekt.TooGenericExceptionCaught" in scenarios where we need to handle NPE explicitly
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-06-08 17:37:05 +02:00
Andy Scherzinger
40a08394bc
hardened view binding interaction
...in case of asynchronous UI interaction with already destroyed UI

Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-06-08 17:37:02 +02:00
Andy Scherzinger
7b7eaa455d
binding isn't nullable
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-06-08 17:37:01 +02:00
Andy Scherzinger
ebc3dbdf79
improve readability of toolbar/searchbar handling code
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-06-08 17:36:58 +02:00
Andy Scherzinger
266a9f73ee
add destruction check before accessing the binding object
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-06-08 17:36:53 +02:00
Andy Scherzinger
faf9ce2884
combine nested ifs
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-06-08 17:36:48 +02:00
Andy Scherzinger
46a18ca3a0
organize imports
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-06-08 17:36:45 +02:00
Andy Scherzinger
f8a8b81ef7
line length 1220 characters
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-06-08 17:36:43 +02:00
Andy Scherzinger
f4cfc9cef3
improve spotbugs
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-06-08 17:36:41 +02:00
Andy Scherzinger
cfe00937c5
comment unused, overridden methods and respect 120 character line length
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-06-08 17:36:39 +02:00
Andy Scherzinger
e7ea57bf85
reformat kotlin
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-06-08 17:36:37 +02:00
Andy Scherzinger
45a88c0722
replace menu switch statements with if/else
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-06-08 17:36:34 +02:00
Andy Scherzinger
3c0ef1d1e0
add linebreak
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-06-08 17:36:32 +02:00
Andy Scherzinger
63fabeda09
convert lock controller to kotlin
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-06-08 17:36:31 +02:00
Andy Scherzinger
7669108d38
add author infos
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-06-08 17:36:29 +02:00
Andy Scherzinger
85fe560fc1
reformat code for 120 line length
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-06-08 17:36:27 +02:00
Andy Scherzinger
14fc3c8146
move back to User java entity definition
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-06-08 17:36:26 +02:00
Andy Scherzinger
d372335d57
hardening chat controller by null-checking any UI access due to asynchronous UI accesses
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-06-08 17:36:24 +02:00
Andy Scherzinger
8d6b526576
use capabilities helper
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-06-08 17:36:22 +02:00
Andy Scherzinger
1134172faa
adapt to rebase
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-06-08 17:36:21 +02:00
Andy Scherzinger
e2c6fd7c25
migrate chat controller to native view binding
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-06-08 17:36:19 +02:00
Andy Scherzinger
0e92e5ea2d
code format kotlin code
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-06-08 17:36:18 +02:00
Andy Scherzinger
4784a22e18
update headers and format code
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-06-08 17:36:16 +02:00
Andy Scherzinger
ca8d6cb782
Move controller to new view binding utilizing logic
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-06-08 17:36:10 +02:00
Andy Scherzinger
cd5f083a49
make text preview dark/light aware, overall improvement of preview screens
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-05-31 15:29:00 +02:00
tobiasKaminsky
46790c9bde
Correct fix for not showing bold on read ConversationItem
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2021-05-28 10:00:57 +02:00
Marcel Hibbe
1673d15e5e
dont show deletion option for attachments
(deletion for attachments in talk is not supported by server)

Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2021-05-27 09:30:04 +02:00
Andy Scherzinger
98e5ff5771
remove unsed imports
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-05-26 14:39:18 +02:00
Andy Scherzinger
02a129c3fc
Add error logging when reading user profile from server
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-05-26 14:26:37 +02:00
Andy Scherzinger
c3e336b716
align avatar placeholders with dark/light theme and add placeholder to settings avatar
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-05-26 11:04:31 +02:00
Andy Scherzinger
93a1d411e0
set fallback avatar icon
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-05-25 17:41:30 +02:00
Andy Scherzinger
45ed897c34
reformat kotlin code
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-05-25 12:38:07 +02:00
Marcel Hibbe
8c99dde497
remove toasts from worker
(were accidentally added in PR #1284)

Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2021-05-25 12:26:23 +02:00
Marcel Hibbe
c1f55aa02e
add toast messages when exceptions were thrown
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2021-05-25 11:17:14 +02:00
Marcel Hibbe
59ccc19ebe
add ability to share plain text
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2021-05-25 11:03:25 +02:00
Marcel Hibbe
36fdd6d82b
add ability to "share to" files to nextcloud talk app
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2021-05-25 11:03:21 +02:00
Andy Scherzinger
0662e9bd39
Merge pull request #1275 from nextcloud/bugfix/1272/instantDarkLightConversationIconAdaption
Instant adoption of dark/light theming for default conversation icons
2021-05-21 15:47:09 +02:00
Joas Schilling
3ca56793ff
Merge pull request #1276 from nextcloud/conversationActions
Make observer type save
2021-05-21 09:49:30 +02:00
Andy Scherzinger
123ef3d0ce
set user icon to have a fallback for account switcher icon in search bar
Fixes #1139

Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-05-21 00:03:12 +02:00
Andy Scherzinger
d0a6c96668
make observer type save
fixes #1270

Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-05-20 22:12:06 +02:00
Andy Scherzinger
ef9021340e
instant adaption of dark/light theming for default conversation icons
Fixes #1272

Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-05-20 15:16:12 +02:00
Andy Scherzinger
a36ef3e4a9
remove duplicate null check
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-05-20 11:57:05 +02:00
Andy Scherzinger
6e56731f15
use short-syntax for loops and reformat code to 120 character line limt
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-05-20 11:26:41 +02:00
Joas Schilling
de6683815a
Add support for signaling v3
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-05-20 11:26:40 +02:00
Andy Scherzinger
d923a41696
move magic numbers to value objects
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-05-18 18:23:33 +02:00
Andy Scherzinger
833ebbc9e3
use native view bindings in activities
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-05-18 17:58:09 +02:00
Andy Scherzinger
e74aa09879
remove custom password animation and use default/component one
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-05-18 09:34:46 +02:00
Andy Scherzinger
f87815753d
Merge pull request #1261 from nextcloud/codacy
Codacy
2021-05-18 09:34:23 +02:00
Andy Scherzinger
ec5a98e22b
proper indentation
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-05-17 15:19:12 +02:00
Andy Scherzinger
f540aa9305
improve logging, empty method documentation and new codacy issues
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-05-17 14:56:46 +02:00
Andy Scherzinger
7bd6076795
codacy: improve identation
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-05-17 14:30:16 +02:00
Andy Scherzinger
2ffdd5199c
housekeeping: removed any use of org.jetbrains.annotations
(including a java-to-kotlin rewrite)

Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-05-17 14:21:21 +02:00
Andy Scherzinger
7563dc5fba
codacy: Avoid unused local variables such as 'finalCredentials'.
Use correct annotation

Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-05-17 13:48:53 +02:00
Andy Scherzinger
8cb0293e83
codacy: Generics names should be a one letter long and upper case.
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-05-17 13:40:55 +02:00
Andy Scherzinger
dcadf5d1a3
codacy: NoSemicolons
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-05-17 13:39:09 +02:00
Andy Scherzinger
4999916f27
codacy: Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes.
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-05-17 13:38:05 +02:00
Andy Scherzinger
0bc3be1b6e
codacy: Avoid unused imports
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-05-17 13:35:34 +02:00
Andy Scherzinger
cb455a7104
Add annotation where needed
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-05-17 13:11:50 +02:00
Andy Scherzinger
443cf8b227
user proper activity context to grab themed color for item header for mention items
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-05-17 13:11:44 +02:00
Andy Scherzinger
d8b167ebfa
spotbugs: improve exception handling
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-05-14 17:05:02 +02:00
Joas Schilling
4790e7b7e4
Fix "NP_NULL_ON_SOME_PATH_FROM_RETURN_VALUE" SpotBugs complaint
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-05-14 14:40:28 +02:00
Joas Schilling
16ca03cb5c
Adjust title depending on the view
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-05-14 14:20:30 +02:00
Joas Schilling
8f7873ab9b
Add circles support
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-05-14 14:20:30 +02:00
Joas Schilling
98fa8642d3
Allow to add emails as particpants
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-05-14 14:19:22 +02:00
Joas Schilling
d06935fd78
Fix ktlint
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-05-14 14:06:35 +02:00
Joas Schilling
a44e714f13
Fix position and icon of the PopupMenu
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-05-14 13:54:35 +02:00
Joas Schilling
7bbe954d47
Reply privately
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-05-14 13:47:28 +02:00
Andy Scherzinger
ed2f53bff4
make popup menu respect the defined style definition by using the right context and referencing the style definition
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-05-14 13:27:39 +02:00
Joas Schilling
39a848afa4
Fix participant list call state
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-05-14 13:27:37 +02:00
Marcel Hibbe
8fc963290b
fix navigation bar color for call screen.
remove blue launcher screen for calls.

Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2021-05-14 11:14:32 +02:00
Joas Schilling
213d11358a
Fix "own message" detection with guests
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-05-12 16:21:55 +02:00
Joas Schilling
97117eb90c
Use the correct signaling information and user+ticket for "Join via link" as well
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-05-12 16:21:55 +02:00
Joas Schilling
c335a69413
Connect the buttons with the actions also for guests
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-05-12 16:21:54 +02:00
Joas Schilling
932afc2b58
Remove duplicate call
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-05-12 16:21:54 +02:00
Joas Schilling
01813d4165
Use injected capabilities
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-05-12 16:21:54 +02:00
Joas Schilling
2fd0933383
Remove unused capability checking
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-05-12 16:21:54 +02:00
Joas Schilling
a4cc7f2816
Remove non reachable "initiateCall()"
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-05-12 16:21:54 +02:00
Joas Schilling
b98ff4c56a
Fix joining a public chat as a guest
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-05-12 16:21:54 +02:00
Joas Schilling
bc2fadb4c5
Add (read-only for now) description to the conversation info
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-05-12 14:35:50 +02:00
Andy Scherzinger
dc78f615cb
set proper colors for unread-messages for edge case of theme switch
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-05-12 09:15:31 +02:00
Andy Scherzinger
2b44a295a4
add account switcher in search bar
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-05-12 09:15:31 +02:00
Joas Schilling
90ad596f90
Merge pull request #1229 from nextcloud/feature/apiv4/calls
[apiv4] ☎️ Calls
2021-05-11 10:37:40 +02:00
Joas Schilling
172d8da1cf
"chat-v2" capability is available since Nextcloud 13
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-05-11 09:57:05 +02:00
Andy Scherzinger
386ef5dc96
explicitely set header color
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-05-10 21:39:09 +02:00
Andy Scherzinger
a5d14a67f8
add mail icon for mail users
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-05-10 21:24:24 +02:00
Joas Schilling
72705dbaf5
Fix "calls equals on an enum instance"
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-05-10 12:36:19 +02:00
Joas Schilling
112a5662ad
Fix null reference when a participant leaves
java.lang.NullPointerException: Attempt to invoke virtual method
'void com.nextcloud.talk.adapters.ParticipantDisplayItem.setAudioEnabled(boolean)'
on a null object reference

Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-05-10 11:47:09 +02:00
Joas Schilling
79be753493
Fix some more getUserId() calls
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-05-10 11:35:17 +02:00
Joas Schilling
dde79b5671
Fix joining a call
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-05-10 11:35:16 +02:00
Joas Schilling
335afb03dd
Test calling with apiv4
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-05-10 11:35:16 +02:00
Andy Scherzinger
8bb7af4eef
use stringbuilder
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-05-09 21:59:59 +02:00
Andy Scherzinger
c91631a642
lint: Set locale
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-05-09 21:56:35 +02:00
Andy Scherzinger
ef273cf9ff
rewrite to for-loop due to former dignature collision kotlin1.5<>java8
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-05-09 21:54:35 +02:00
Andy Scherzinger
3cb2023680
improve codacy score
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-05-09 17:41:56 +02:00
Joas Schilling
d29905d0fa
Split the method to be short *roll eyes*
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-05-09 17:32:22 +02:00
Joas Schilling
9596e298f2
Deduplicate the subscriber to make the method shorter
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-05-09 17:32:21 +02:00
Joas Schilling
a1bee6a776
Only show the server host in the account switcher as well
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-05-09 17:32:20 +02:00
Joas Schilling
21093282f9
Less deprecated usage
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-05-09 17:32:19 +02:00
Joas Schilling
875c66ea8a
Remove unsupported !"empty-group-room" case and finish conversation support for apiv4
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-05-09 17:32:18 +02:00
Joas Schilling
8e80c9fb99
Split calls to another API function
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-05-09 17:32:17 +02:00
Joas Schilling
c1e0b07df9
Check the canDeleteConversation flag
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-05-09 17:32:16 +02:00
Joas Schilling
6072d091a2
Fix adding users/groups to a conversation
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-05-09 17:32:16 +02:00
Joas Schilling
32bb98e43e
Display the pin if the participant has one
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-05-09 17:32:15 +02:00
Joas Schilling
4ad96cc347
Fix available actions for groups, owners and self-joined users
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-05-09 17:32:14 +02:00
Joas Schilling
596772c5c6
Fix promoting and demoting on apiv4
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-05-09 17:32:13 +02:00
Joas Schilling
6f48ff9070
Fix removing an attendee from a conversation
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-05-09 17:32:13 +02:00
Andy Scherzinger
7a574285db
Update kotlin usage of okhttp due to bump 3.x->4.xwhich is binary compatible but not source compatible
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-05-08 12:52:13 +02:00
Andy Scherzinger
9858860604
replace imports due to changed packaging
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-05-08 12:52:12 +02:00
Joas Schilling
4bf570ac35
Merge pull request #1219 from nextcloud/feature/apiv4/add-apiv4-for-easy-conversation-api-calls
[apiv4] Add apiv4 for easy conversation api calls
2021-05-07 22:18:49 +02:00
Andy Scherzinger
a247509aa1
add nullchecks since elements are annotated as nullable
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-05-07 21:56:27 +02:00
Andy Scherzinger
34041b0358
Code changes due to conductor update to 3.0.1
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-05-07 21:56:26 +02:00
Joas Schilling
e9fa343fce
Add APIv4 to easy conversation API calls
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-05-07 21:56:23 +02:00
Joas Schilling
704266ae85
Merge pull request #1218 from nextcloud/techdebt/apiv4/remove-props-which-are-not-there-anymore
[apiv4] Remove props which are not there anymore
2021-05-07 20:00:29 +02:00
Joas Schilling
e9e64771d5
Fix ktlint
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-05-07 16:00:17 +02:00
Joas Schilling
f32c0867e5
Remove participants usage outside the conversation usage
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-05-07 15:56:05 +02:00
Joas Schilling
5399723ea7
Deprecate props and remove already whats not used anymore
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-05-07 15:56:05 +02:00
Joas Schilling
ca9a622030
Capability multi-room-users was introduced 2018
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-05-07 15:53:48 +02:00
Joas Schilling
61a2d389b4
Remove fallback code for "no-ping" not being available
The capability was introduces 2018 for Nextcloud 14

Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-05-07 15:53:47 +02:00
Joas Schilling
6434630709
Merge pull request #1156 from nextcloud/techdebt/noid/api-v4-compatibility
v4️⃣ - Add option for APIv4 compatibility
2021-05-07 15:52:48 +02:00
Joas Schilling
b0ab1de0f1
Merge pull request #1224 from nextcloud/bugfix/noid/define-all-system-messages
Define all system messages as such
2021-05-07 12:57:50 +02:00
Joas Schilling
0f7965f4f9
Readd SuppressLint
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-05-07 11:57:39 +02:00
Joas Schilling
fc736b2aff
Fix missing import
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-05-07 11:57:39 +02:00
Joas Schilling
9f0c760c49
Fix capability checking when there could be no user
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-05-07 11:57:39 +02:00
Joas Schilling
6aab2d0834
Fix more ktlint
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-05-07 11:57:39 +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
b5c1e623c5
Fix undefined symbol
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
e6d869d431
Allow to inject the version into the chat api
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-05-07 11:55:50 +02:00
Joas Schilling
cf23a3d87d
Inject API version into signaling API calls
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-05-07 11:55:48 +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
Joas Schilling
33de3ed330
Final batch of API version injection
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-05-07 11:51:02 +02:00
Joas Schilling
1766125149
Move account verification to capabilities
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-05-07 11:49:51 +02:00
Joas Schilling
ccd752b4ca
Fix some kotlin files to allow api switching
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-05-07 11:49:51 +02:00
Joas Schilling
115154331d
Fix more java calls
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-05-07 11:49:51 +02:00
Joas Schilling
f32b25c455
Fix old APIs
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-05-07 11:49:51 +02:00
Joas Schilling
68369873f4
Use new method instead of copied behaviour
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-05-07 11:49:51 +02:00
Joas Schilling
ad71cc3a97
Log an error when an API call didn't check APIv4
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-05-07 11:49:51 +02:00
Joas Schilling
c3061df60b
Allow to inject the api version into all methods for the room api
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-05-07 11:49:51 +02:00
Joas Schilling
1a15bd9f5f
Deprecate all APIs without a specified version
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-05-07 11:49:51 +02:00
Joas Schilling
3cd18d50ca
APIv4 compatibility
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-05-07 11:49:50 +02:00
Marcel Hibbe
b8e4c4da56
add grid view for calls. make own video movable
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2021-05-07 09:45:51 +02:00
Joas Schilling
8d99f0b98f
Define all system messages as such
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-05-06 21:24:50 +02:00
Andy Scherzinger
39de278b7d
remove lock icon in conversations list
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-05-06 18:10:55 +02:00
Andy Scherzinger
1d734485bb
properly parse encryption/favorite flags
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-05-06 13:29:19 +02:00
Andy Scherzinger
202d98d478
wrap warning in cardview and add warning icon for extra visual
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-05-05 15:48:52 +02:00
Joas Schilling
c368af6bab
Move dialog into a new function
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-05-05 15:44:49 +02:00
Joas Schilling
c789152122
Exit the app when there is only this EOL account
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-05-05 15:44:14 +02:00
Joas Schilling
1f8905394e
Add dedicated methods for the EOL version checks
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-05-05 15:44:13 +02:00
Joas Schilling
37dc7d1df0
Add a warning on the conversations list as well
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-05-05 15:44:12 +02:00
Joas Schilling
01b760f97e
Add a warning when the server version is (almost) EOL
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-05-05 15:44:11 +02:00
Andy Scherzinger
19cd3e4c79
Improve descriptive strings based on review feedback
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-05-05 09:06:54 +02:00
Andy Scherzinger
188e33538e
a11y dynamic content descriptions for scope toggles on profile
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-05-04 18:16:17 +02:00
Andy Scherzinger
d54b3f3d0a
a11y dynamically set call state info on user items
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-05-04 15:11:11 +02:00
Andy Scherzinger
1e702f1d1d
a11y conversation-emojie and read/sent status of messages
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-05-04 12:56:07 +02:00
Andy Scherzinger
bf4f2f87fe
add missing annotation
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-05-04 12:56:07 +02:00
Andy Scherzinger
4ddd181146
improve generic link/group circular icon display
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-05-03 21:55:52 +02:00
Marcel Hibbe
5914f01524
add info about permissions on api level 30 for resolveActivity
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2021-05-03 21:37:42 +02:00
Marcel Hibbe
b97e670253
add support for all files that can be handled by an external app
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2021-05-03 21:37:42 +02:00
Marcel Hibbe
6a387e4cb8
add support for PDF (by intent)
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2021-05-03 21:37:42 +02:00
Marcel Hibbe
4f0a813512
set showUnauthorizedDialog to modal
avoid crash when login view is shown after coming from showUnauthorizedDialog

Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2021-05-03 21:22:32 +02:00
Marcel Hibbe
c2032b6554
extract methods and add log commands in AccountRemovalWorker
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2021-05-03 21:22:32 +02:00
Joas Schilling
cb11c36400
Pop a dialog to log in again or delete the account
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-05-03 21:22:32 +02:00
Joas Schilling
3f5c03f1ef
Start the reauth webview also when there is no getParentController()
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-05-03 21:22:32 +02:00
Andy Scherzinger
f119adf974
show search bar when closing bottom sheet
Fixes #1172

Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-05-03 15:05:29 +02:00
Andy Scherzinger
e1ac6c2f09
use plus icon/primary for new group conversation
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-05-03 13:47:17 +02:00
Andy Scherzinger
79e5c3bcaf
change order/icon of public conversation creation item
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-05-03 10:55:13 +02:00
Andy Scherzinger
8766bf2eb1
add contacts shimmer and improve link-based conversation creation items
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-05-02 21:40:33 +02:00
Andy Scherzinger
712fdfeac4
adapt to de-lomboked code-base
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-04-30 08:50:24 +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
d2edd6010c
show contacts icon for vcf file
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-04-29 23:48:42 +02:00
Andy Scherzinger
8442a5a65e
reformat class
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-04-29 23:48:41 +02:00
Andy Scherzinger
c46cf9125b
spotbugs: remove: needlessly boxes a boolean constant
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-04-29 17:40:23 +02:00
Andy Scherzinger
b350a4c86e
remove default constructors (generated by the compiler) and simplify if-statements of equals-methods
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-04-29 16:37:57 +02:00
Andy Scherzinger
61aaae4dc2
Update code base for Android Studio 4.1.3
Remove lombock @Data annotations
Replace FindBugs with SpotBugs
Update Lombock version

Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-04-29 00:46:35 +02:00
Andy Scherzinger
f1f5c3b19c
improve logging, remove unused member var
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-04-27 22:45:14 +02:00
Andy Scherzinger
9e587a4385
use 24h format
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-04-27 19:12:03 +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
fa1360090a
improve logging for LoganSquareJodaTimeConverter
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-04-27 12:59:21 +02:00
dependabot[bot]
ac9c0cc8ea
Bump coil-gif from 0.9.1 to 1.2.0 and update code to changed coil 1.2.0 API
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-04-27 10:13:39 +02:00
Andy Scherzinger
f8319b663d
add contribution info
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-04-27 07:56:00 +02:00
Andy Scherzinger
1ab96016ac
optimize lock-screen layout/colors
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-04-27 07:55:54 +02:00
Andy Scherzinger
5b6760e4b8
Merge pull request #1141 from nextcloud/shimmerAndUploadBottomSheet
Optimize Shimmer and upload bottom sheet
2021-04-26 20:59:46 +02:00
Dariusz Olszewski
0385c951b4
Enable enlarging the image more than default 3x maximumScale.
Signed-off-by: Dariusz Olszewski <starypatyk@users.noreply.github.com>
2021-04-26 17:25:37 +02:00
Andy Scherzinger
5aa28e4477
Make sound choice icons simple radio buttons
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-04-26 15:52:55 +02:00
Andy Scherzinger
e1d4331f16
properly set pull-to-refresh-spinner-background-color
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-04-26 15:52:54 +02:00
Marcel Hibbe
7a26165d39
delete log command
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2021-04-23 15:57:19 +02:00
Marcel Hibbe
51b1f988ea
reduce lint errors
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2021-04-23 15:33:43 +02:00
Marcel Hibbe
3f6f492143
open files inside app
Open files directly inside the app.
Download file into cache beforehand if not already done.

supported file types:
jpg, .png, .gif, .mp3, .mp4, .mov, .wav, .txt, .md

thanks to @tobiasKaminsky and @starypatyk

Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2021-04-23 15:33:43 +02:00
Andy Scherzinger
3f7d9ee76f
highlight quotes from oneself
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-04-18 13:45:20 +02:00
Andy Scherzinger
da5dad4e9b
improve quoted message design
Resolves  #945

Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-04-18 13:45:00 +02:00
Andy Scherzinger
661c0cb04a
add GUEST_MODERATOR to participant list sorting criteria
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-04-15 15:29:14 +02:00
Andy Scherzinger
141458047f
documentation for color-meanings
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-04-15 15:29:14 +02:00
Andy Scherzinger
a51e9f7042
align sorting with webUI
(as far as possible atm)

Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-04-15 15:29:14 +02:00
Andy Scherzinger
914bb44514
add documentation to comparator
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-04-15 15:29:14 +02:00
Andy Scherzinger
f118cc7dd3
raise sizes to minimal hit-area of 48dp and tint icons at 60%/87% alpha (like active/inactive states)
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-04-15 15:29:14 +02:00
Andy Scherzinger
b80396b34b
sort participants list
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-04-15 15:29:14 +02:00
Andy Scherzinger
690d09eb60
optimize grey tones regarding WCAG guidelines and material design standard colors
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-04-15 15:29:14 +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
Andy Scherzinger
fde49c0694
add space to have whitespace between toolbar-avatar and title for conversation and conversation info screen
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-04-13 23:43:01 +02:00
Andy Scherzinger
02483c134d
update empty conversations screen and added shimmer effect for loading conversations initially
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-04-13 11:12:57 +02:00
Marcel Hibbe
604dfd7a38
Merge branch 'master' into loginTextfieldDesign_master 2021-04-13 10:27:56 +02:00
Andy Scherzinger
5b214ccfec
make adding users easier to discover
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-04-12 17:52:10 +02:00
Andy Scherzinger
e3a9e79f31
Show proper title for personal info screen
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-04-12 17:41:04 +02:00
Andy Scherzinger
c812372db5
backport/enhance login screen
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-04-09 17:40:44 +02:00
Marcel Hibbe
983509396d
show only fieldname in toast when saving failed
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2021-04-08 15:07:18 +02:00
tobiasKaminsky
ea50cf60e5
Upon error on saving, revert value
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2021-04-08 14:15:27 +02:00
Andy Scherzinger
b1a60b6cf1
use proper logging API
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-04-08 09:48:22 +02:00
Andy Scherzinger
c461ddca5b
respect light/dark theming
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-04-08 09:48:21 +02:00
Andy Scherzinger
d497cdd895
move variable declaration up to fix compile issue
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-04-08 09:43:37 +02:00
tobiasKaminsky
43108661e9
Clear cached avatar
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2021-04-08 09:43:37 +02:00
Tobias Kaminsky
6fb5d3f9bb
Fixed some spotbugs, excluded some bug categories to be consistent with Files
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2021-04-08 09:43:37 +02:00
tobiasKaminsky
a57253e0df
Fix bugs found by Marcel
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2021-04-08 09:43:37 +02:00
tobiasKaminsky
4f0923ba0d
Add user profile, allow to edit it, if server supports it
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2021-04-08 09:43:37 +02:00
Andy Scherzinger
6bbc7dd84a
spotbugs: remove unused code, replace multiple strings with constants
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-04-07 17:10:56 +02:00
Andy Scherzinger
85c22ea1a1
optimized system/navigation bar coloring
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-04-07 14:52:51 +02:00
Andy Scherzinger
7751e108e8
properly theme navigation/systembar for system default theme
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-04-07 14:52:50 +02:00
Andy Scherzinger
a125185915
Introduce SearchBar/Toolbar dark/light design
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-04-07 14:52:43 +02:00
Marcel Hibbe
2158a809fa
Merge pull request #1100 from nextcloud/fixScrolling
On Recyclerview everything needs to be set explicitly
2021-04-07 11:32:15 +02:00
Marcel Hibbe
723ee303d4
Merge pull request #1095 from nextcloud/avoidSharingRestrictedFiles
do not allow selecting files that are not allowed to be reshared
2021-04-07 10:58:13 +02:00
Marcel Hibbe
cc5d3d968e
log exceptions
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2021-04-07 10:00:29 +02:00
Marcel Hibbe
1038612569
use name from theming capability for "Share from..", set fallback to nc_server_product_name
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2021-04-07 09:47:39 +02:00
Marcel Hibbe
f24addbcf6
avoid hardcoded product name in "Share from Nextcloud"
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2021-04-06 10:45:17 +02:00
Marcel Hibbe
bd8edbc17f
avoid read redundant string
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2021-04-06 10:43:53 +02:00
tobiasKaminsky
ada5aeebe5
On Recyclerview everything needs to be set explicitly
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2021-04-06 08:39:48 +02:00
Marcel Hibbe
68c09d8e81
do not allow selecting files in files browser that are not allowed to be reshared
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2021-03-31 13:18:41 +02:00
Marcel Hibbe
17f3dae165
delete all account-links when disabling phonebooksync
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2021-03-26 15:47:11 +01:00
Marcel Hibbe
adc0a91dac
fix "chat via"-links in phonebook (no multiple entries, fix deletion)
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2021-03-26 15:47:11 +01:00
Marcel Hibbe
24f1a1831c
set application name in call screens from String nc_app_name
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2021-03-26 14:24:59 +01:00
Andy Scherzinger
adac29d756
improve conversation list layout and dark-theme-colors
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-03-26 11:48:55 +01:00
Marcel Hibbe
d2f741e917
avoid "null" entry in phonebook and use correct app name
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>

dynamically set accountType and accountName

Signed-off-by: Marcel Hibbe <dev@mhibbe.de>

comment out applicationIdSuffix

Signed-off-by: Marcel Hibbe <dev@mhibbe.de>

.

Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2021-03-24 16:26:55 +01:00
Marcel Hibbe
d9f9f8c280
dynamically set accountType and accountName
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2021-03-24 16:26:55 +01:00
Marcel Hibbe
6e885af18c
avoid Security Exeception from AccountManager 2021-03-17 15:43:20 +01:00
Marcel Hibbe
5b6fd3759f
only check for nc contacts if phonebook on device is not empty 2021-03-17 11:17:36 +01:00
Marcel Hibbe
5e1b69bbe6
split userId on last @
(e.g. necessary if email adresses are taken as userId)
2021-03-17 10:24:13 +01:00
Marcel Hibbe
6a18b9b745
add ability to enter own phone number when enabling address book sync
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2021-03-11 14:43:38 +01:00
Marcel Hibbe
42fea1a588
fix missing deck card links / always show links if available in message
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2021-02-25 21:38:50 +01:00
Marcel Hibbe
e454702150
revert dav4jvm to version f2078bc846
"Share from nextcloud" crashed. version update should be done when okhttp is bumped? https://stackoverflow.com/questions/39545629/noclassdeffounderror-failed-resolution-of-lokhttp3-internal-platform

Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2021-02-24 21:28:30 +01:00
Marcel Hibbe
510e555eb5
update imports for dav4jvm
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2021-02-24 17:07:25 +01:00
Marcel Hibbe
642146de02
improve call screens, add outgoing ringtone
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2021-02-18 14:51:18 +01:00
Marcel Hibbe
cc543a660a
add confirm dialog before sharing files
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2021-02-15 08:57:57 +01:00
Marcel Hibbe
18714b2b8b
resolve some lint warnings
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2021-02-10 15:07:13 +01:00
Marcel Hibbe
d7bc01e954
resolve some lint warnings
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2021-02-10 14:35:25 +01:00
Marcel Hibbe
b50501a38f
bump google-webrtc to 1.0.32006
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2021-02-10 10:59:16 +01:00
Marcel Hibbe
ded0cef839
add ability to delete messages
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2021-02-01 19:30:40 +01:00
Marcel Hibbe
0b35971ee5
add ability to upload one or multiple files from local storage #254
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2021-01-30 23:30:34 +01:00
Marcel Hibbe
bd3bbdd755 change email address for feedback
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2021-01-20 09:35:27 +01:00
tobiasKaminsky
ba314c96ee
Do not use -1 as lastCommonRead parameter, but do not set it at all, if undefined
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2021-01-04 16:26:59 +01:00
tobiasKaminsky
e563230fb2
Hide read status setting if old talk version used
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2020-12-18 15:04:08 +01:00
tobiasKaminsky
98e2117bdf
Missing imports after rebase
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2020-12-18 14:33:10 +01:00
tobiasKaminsky
1496b902bb
Show phonebook setting only for Talk11 (verified via capability)
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2020-12-14 15:18:14 +01:00
tobiasKaminsky
ad97abaee4
Add phone book integration
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2020-12-14 12:05:43 +01:00
Tobias Kaminsky
05a21590da
Merge pull request #907 from nextcloud/fix-data-channel-support-with-newer-janus-versions
[v8.0.x] Fix data channel suport with newer Janus versions
2020-10-27 10:51:38 +01:00
tobiasKaminsky
fe4bf8afca
change logo dim so that it fits for other images
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2020-10-27 10:37:26 +01:00
tobiasKaminsky
0b7e4c09f4
streamline colors
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2020-10-27 10:37:02 +01:00
tobiasKaminsky
d7400c3f76
Add branding support for
- hide provider
- hide auth
- multi account support
- enforce domain

Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2020-10-27 10:36:49 +01:00
tobiasKaminsky
f7d9290871
Chat during call
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2020-10-09 12:08:21 +02:00
Biswajit Das
518d1ea62e
Merge pull request #905 from nextcloud/fix-frozen-video-when-screen-is-shared
[v8.0.x] Fix frozen video when screen is shared
2020-10-03 00:00:47 +01:00
Daniel Calviño Sánchez
fcb45e94f3 Fix data channel suport with newer Janus versions
When Janus is used even if it is possible to open several data channels
with different labels and send data on them all the messages are
received in the first data channel opened.

In Talk the "status" data channel is used to send the data channel
messages, and before Janus 0.7.0 it was the first data channel opened,
so the messages were received on it.

However, since Janus 0.7.0 the data channel messages are received
instead on a data channel opened by Janus, which is named
"JanusDataChannel". It is not possible to change that behaviour on Janus
except by patching it, so for broader compatibility the messages
received in "JanusDataChannel" are treated like messages received in the
"status" data channel

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2020-10-02 20:15:03 +02:00
Daniel Calviño Sánchez
1321cb21a0 Fix frozen video when screen is shared
When another participant shared the screen a new offer was requested.
However, the offer was requested for the video instead of for the
screen, which caused the HPB to stop the previous video connection and
replace it with a new one. As receiving new offers for an existing
connection is not properly handled the offer was applied to the existing
peer connection, which caused the new offer to be ignored and the old
peer connection to be kept (but frozen due to the HPB not sending more
data for that connection).

Requesting offers are not needed when the peer connection is a screen,
as the HPB will automatically send the offers itself. Therefore, now
offers are requested only when the connection is of "video" type.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2020-10-02 10:10:49 +02:00
Daniel Calviño Sánchez
ed8ac14d94 Show avatar for guests in call view
The avatar of guests is based on their display name/nick.

When the HPB is not used the nick is provided in the offer/answer
signaling messages, and later updated through data channel messages when
it changes. When the HPB is used the nick is periodically sent through
data channel messages. Therefore the avatar is based on the nick set in
the peer connection and reloaded when the nick changes (although it is
currently a bit hacky and brittle, as it is based on whether the nick
shown in the text view changed rather than whether the nick itself
changed, but it works nevertheless).

Note that currently it is required that the guest has a peer connection
to know its nick and, therefore, its avatar; some changes would be
needed in the clients to also send the nick when there is no peer
connection.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2020-10-02 09:11:16 +02:00
Daniel Calviño Sánchez
783f09316f Remove no longer used method
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2020-10-01 20:34:48 +02:00
Daniel Calviño Sánchez
8f748caeaa Remove no longer needed parameter
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2020-10-01 19:18:20 +02:00
Daniel Calviño Sánchez
6b2720653a Always pass the session id in "NICK_CHANGE" PeerConnectionEvents
Before the NICK_CHANGE event include either the session id or the user
id, depending on whether the participant was a guest or a user. However,
as the session id is also known for users the event can be unified to
always include the session id only.

This also fixes an exception when handling the "NICK_CHANGE" event, as
the session id was got from the user id given in the event, but if the
event already included the session id the look up failed and the session
id was replaced with an empty value. This in turn caused an exception
when trying to use the view for the now invalid session id. Now the
session id provided in the event is always directly used.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2020-10-01 19:07:25 +02:00
Daniel Calviño Sánchez
5b9f02e99c Fix setting guest nicks
The "nick" attribute was set with itself instead of with the
"internalNick" variable that holds the value received in the
"nickChanged" event.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2020-10-01 19:00:07 +02:00
Daniel Calviño Sánchez
6846eb950b Fix websocket reconnection when a guest joins the conversation
When the standalone signaling server is used and a participant joins a
conversation a "join" signaling message is received. The code assumed
that the event always contains a "user" attribute, but that attribute is
empty for guests. As the "user" attribute was used unconditionally this
caused an exception, and as the exception happened when handling a
websocket message it propagated until it caused a reconnection of the
websocket.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2020-10-01 18:45:16 +02:00
tobiasKaminsky
6d7cf8305a
Fix join call directly after first start
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2020-09-29 09:40:46 +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
b14f9990b4
Fix #761
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2020-03-23 14:16:26 +01:00
Mario Danic
4b12ede79e
Fix duplicate
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2020-03-22 19:43:55 +01:00
Mario Danic
84cb7cc45a
Fix timeout stuff
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2020-03-22 19:26:16 +01:00
Mario Danic
68c1cd6d4d
Fix #684
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2020-03-22 11:19:54 +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
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
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
f115b83607
Fix #716
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2020-02-03 11:05:40 +01:00
Mario Danic
c4eaf319a1
Update version
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2020-01-16 10:12:40 +01:00
Mario Danic
4b9f47c6b5
Improve contacts
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2020-01-16 10:11:16 +01:00
Mario Danic
74fb018a8e
Fix #706
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2020-01-16 03:20:00 +01:00
Mario Danic
fbbcb92ec8
Fix #707
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2020-01-15 15:17:29 +01:00
Mario Danic
1e2ae2c8b0
Fix #704
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2020-01-15 13:48:04 +01:00
Mario Danic
0451131fa4
Fix #692
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2020-01-15 10:42:52 +01:00
Mario Danic
652b72ebde
Fix #702
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2020-01-15 10:25:15 +01:00
Mario Danic
5262d08e3c
Fix avatars
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2020-01-13 12:41:38 +01:00
Mario Danic
d166276b80
Improvements to replies
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2020-01-13 12:36:52 +01:00
Mario Danic
d21d5f51b4
Implemented most of message replies
# Conflicts:
#	app/src/main/java/com/nextcloud/talk/controllers/ChatController.kt
#	app/src/main/res/layout/view_message_input.xml
#	app/src/main/res/values/strings.xml
2020-01-13 12:07:32 +01:00
Mario Danic
2613c1f074
Some progress on replies
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2020-01-13 11:15:20 +01:00
Mario Danic
fcdcb12e48 Update version
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2019-10-31 12:32:22 +01:00
Mario Danic
dd8d2cb00d Tag v7.0.7
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2019-10-28 12:29:46 +01:00
Mario Danic
345035e93a Fixed issues with sending messages
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2019-09-30 14:53:35 +02:00
Mario Danic
f308a5093d Various fix for crashes
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2019-09-30 14:15:01 +02:00
Mario Danic
7f3e93edd4 Fix issues with messages processing
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2019-09-30 12:33:28 +02:00
Mario Danic
a56319d3a9 Fix message title
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2019-09-30 12:33:28 +02:00
Mario Danic
8a60fad0c4 Fix unread message notices
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2019-09-30 12:33:28 +02:00
Mario Danic
e1d9a24130 Fix issues with chat title crash
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2019-09-30 10:35:30 +02:00
Mario Danic
b95bb003df Fix notifications crash
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2019-09-27 13:53:02 +02:00
Mario Danic
5334a0fd15 Update version
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2019-09-27 13:06:25 +02:00
Mario Danic
041b77da21 Kotlin & hardening
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2019-09-27 12:48:22 +02:00
Mario Danic
a316739c9e Few more fixes
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2019-09-27 11:55:43 +02:00
Mario Danic
7eeefa3ae6 Fix issues with setting the title
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2019-09-27 11:42:02 +02:00
Mario Danic
d1074257be Clean up imports
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2019-09-26 14:14:54 +02:00
Mario Danic
2bbfdda400 Fix moderation issues with add participants
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2019-09-26 14:14:41 +02:00
Mario Danic
48c1505cb5 Fix participants management UI
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2019-09-26 13:59:55 +02:00
Mario Danic
c1f9dd2ac5 Bug fixes related to guest account
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2019-09-26 13:29:00 +02:00
Mario Danic
139c1f1724 Fix some lobby crashes
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2019-09-26 10:39:07 +02:00
Mario Danic
ecfe91f36f Significant improvements to the dark theme
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2019-09-26 10:39:07 +02:00
Mario Danic
df7f50ba01 Remove logs
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2019-09-26 10:39:07 +02:00
Mario Danic
0fa1ae28fb Clean up
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2019-09-16 14:06:32 +02:00
Mario Danic
cba3f3317c Fix the final bugs with user management
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2019-09-16 14:05:22 +02:00
Mario Danic
85b75b7da5 Fix up magical stuff
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2019-09-16 12:49:12 +02:00
Mario Danic
0b7ce8295c First draft of participants management
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2019-09-16 11:10:35 +02:00
Mario Danic
3f374ca232 Fix messages stuff
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2019-09-13 15:48:19 +02:00
Mario Danic
0648ceb44c New notice logic
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2019-09-13 12:39:50 +02:00
Mario Danic
0a0aece7d0 Partly fix messages loading
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2019-09-13 12:13:27 +02:00
Mario Danic
82170b77d7 Fix automated app starting due to room invite
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2019-09-13 10:39:26 +02:00
Mario Danic
362042e27e Better scroll on new messages & Kotlin
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2019-09-09 21:59:40 +02:00
Mario Danic
4d9781fbe2 First scroll to new messages
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2019-09-09 18:11:09 +02:00
Mario Danic
f686bf9057 Change timeout for first future pull
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2019-09-09 14:00:37 +02:00
Mario Danic
8ed3d1404e Change messages fetch limit
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2019-09-09 13:58:08 +02:00
Mario Danic
a8ee4a355b Add some whitespace to bottom of the chat
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2019-09-09 13:54:47 +02:00
Mario Danic
6504a3b6e7 Improve things a bit
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2019-09-09 13:46:49 +02:00
Mario Danic
ec44092676 Fix endless loading of messages
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2019-09-09 13:40:26 +02:00
Mario Danic
31ce180c6d Remove avatars from last message
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2019-09-09 11:41:52 +02:00
Mario Danic
175f64b8c3 Remove duplicate clicks on conversation info
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2019-09-09 11:17:05 +02:00
Mario Danic
b100095f69 Update small items size
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2019-09-06 10:26:50 +02:00
Mario Danic
67e9405040 Add support for last read message & fix pinned magic
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2019-09-05 15:52:41 +02:00
Mario Danic
8ad09d3395 Update chatkit
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2019-09-05 13:21:48 +02:00
Mario Danic
69c4435b1e Fix #579
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2019-09-05 12:03:21 +02:00
Mario Danic
4697e4f340 Fix up guest mentions and autocomplete callback
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2019-09-05 11:17:20 +02:00
Mario Danic
3ac3a3b965 Fix #352
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2019-09-05 11:17:19 +02:00
Mario Danic
c831b90a09 Fix #615
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2019-09-05 11:17:19 +02:00
Mario Danic
29fa1c7deb Fix some more emoji compatibilities
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2019-09-03 16:00:51 +02:00
Mario Danic
49fe0a691b Fix #613, Fix #614
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2019-09-03 14:38:21 +02:00
Mario Danic
98e1168b25 Fix #612 (again? :D)
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2019-09-03 13:45:24 +02:00
Mario Danic
ccb554e1f5 Fix conversation creation process
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2019-09-03 10:52:10 +02:00
Mario Danic
4e76a5e83e Fix #612
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2019-09-03 10:52:09 +02:00
Mario Danic
6bd36e408c Fix #611
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2019-09-03 10:52:08 +02:00
Mario Danic
1ebb2e079d Fix #249
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2019-09-02 16:22:37 +02:00
Mario Danic
8d592a996d Fix #601 and mentions
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2019-09-02 14:12:31 +02:00
Mario Danic
8cbc0c7bc9 Fix #402
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2019-09-02 13:47:24 +02:00
Mario Danic
7d838bd72b Fix #570
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2019-09-02 13:30:28 +02:00
Mario Danic
a93a2cdb6b Change mute call behaviour
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2019-09-02 13:22:41 +02:00
Mario Danic
85a322dd61 Fix date selection & time formatting for lobby
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2019-09-02 12:55:20 +02:00
Mario Danic
86974a8437 Fix lobby check crash, fix user related crash, fix infinite lobby progress bar
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2019-09-02 12:55:20 +02:00
Mario Danic
75e5852646 Fix #607
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2019-08-30 23:21:45 +02:00
Mario Danic
f9ecf17504 Fix #601
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2019-08-30 13:45:35 +02: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
14efe5992a Clean up MerlinTheWizard
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2019-08-30 12:13:33 +02:00
Mario Danic
530e8b0547 Refactoring & fix for earlier Nc versions
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2019-08-25 23:24:18 +02:00
Mario Danic
eade532f79 Add missing ;
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2019-08-25 22:24:20 +02:00
Mario Danic
8d73c89f69 Clean up message timestamp even further
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2019-08-23 19:20:23 +02:00
Mario Danic
c5df8250de Update when for notifications
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2019-08-23 18:39:29 +02:00
Mario Danic
9cb72de8e8 Improve message timestamps
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2019-08-23 18:39:29 +02:00
Mario Danic
8f311ae3bc Improve on the notifications
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2019-08-23 18:39:29 +02:00
Mario Danic
750218febd Clean up
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2019-08-23 18:39:29 +02:00
Mario Danic
90d494e3ea Initial work on grouping messages
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2019-08-23 18:39:29 +02:00
Mario Danic
5ecdda4cde Don’t show notifications on error
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2019-08-20 19:29:19 +02:00
Mario Danic
e5cb10e386 Better cleanup
Signed-off-by: Mario Danic <mario@lovelyhq.com>

# Conflicts:
#	app/build.gradle
2019-08-15 17:08:59 +02:00
Mario Danic
28e24992fd Fix
Signed-off-by: Mario Danic <mario@lovelyhq.com>

# Conflicts:
#	app/build.gradle
2019-08-15 17:08:42 +02:00
Mario Danic
0eab88f302 Remove latin america for s4 mini
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2019-08-13 22:00:24 +02:00
Mario Danic
687f6f3aee Fix #597
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2019-08-13 21:53:10 +02:00
Joas Schilling
93ed52231b Make the unread counter more usable 2019-08-12 12:38:48 +02:00
Mario Danic
38df5d2859 Check signatures when opening files app
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2019-08-12 09:24:07 +02:00
Mario Danic
0b0086317c Fix another crashing bug
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2019-08-09 18:07:47 +02:00
Mario Danic
45e2bd505d Prevent some crashes
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2019-08-09 18:05:23 +02:00
Mario Danic
0e6779616b Fix-up remaining things
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2019-08-09 17:56:37 +02:00
Mario Danic
925ac6724e Various updates to theming settings & fixes
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2019-08-09 17:56:37 +02:00
Daniel Bailey
a4efa5a746 Tweaks to message colours.
Signed-off-by: Daniel Bailey <daniel.bailey@grappleIT.co.uk>
2019-08-09 17:56:37 +02:00
Daniel Bailey
f384651c81 Altered colours used by system message bubble and @ avatars.
Signed-off-by: Daniel Bailey <daniel.bailey@grappleIT.co.uk>
2019-08-09 17:56:37 +02:00
Daniel Bailey
8a013cb837 Base commit for dark theme v1.5
Signed-off-by: Daniel Bailey <daniel.bailey@grappleIT.co.uk>
2019-08-09 17:56:37 +02:00
Dominik Schürmann
ee44394268 add FIDO U2F support using WebViewFidoBridge
Signed-off-by: Dominik Schürmann <dominik@schuermann.eu>
2019-08-08 18:31:29 +02:00
Mario Danic
b10ed2805f Fix disabled calling sound
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2019-08-07 12:58:50 +02:00
Mario Danic
ef7cf64c02 Switch the place where we check for timeout
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2019-08-07 12:58:30 +02:00
Mario Danic
63db659079 Hopefully fix double messages with MCU
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2019-08-07 12:58:30 +02:00
Mario Danic
c1838e21f8 Fix an issue with conversation menu
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2019-08-01 11:01:13 +02:00
Mario Danic
7349e67b79 Fix double message when using MCU
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2019-08-01 11:01:13 +02:00
Mario Danic
7ebf1648ca Fix scrolling and flicker for real
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2019-08-01 11:01:13 +02:00
Mario Danic
9a441d8c4a Remove automatic scroll
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2019-08-01 11:01:13 +02:00
Mario Danic
9ec0ad12a4 Fix issues with opening attachments
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2019-07-29 12:52:14 +02:00
Mario Danic
e1cdc58cef Fix issues with filesystem browser
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2019-07-29 12:52:14 +02:00
Mario Danic
893c014cb8 Fix issued with unread messages
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2019-07-29 12:52:14 +02:00
Mario Danic
0c73a75990 Fix broken call notifications
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2019-07-29 12:52:14 +02:00
Mario Danic
aca1f9a13d Fix various issues with emojis
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2019-07-22 12:41:54 +02:00
Mario Danic
d8e8a1dc91 Fix #585
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2019-07-22 11:13:08 +02:00
Mario Danic
d225e2ac9f Fix #584
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2019-07-21 22:39:03 +02:00
Mario Danic
ceac6efa39 Finally some reconnection magic working
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2019-07-21 16:38:17 +02:00
Mario Danic
de219a28f7 Fix #574
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2019-07-05 16:36:10 +02:00
Mario Danic
48a011bbdb Fix #576
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2019-07-05 09:40:23 +02:00
Mario Danic
ae427d0036 Fix scrolling issue
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2019-06-26 11:32:53 +02:00
Mario Danic
bc089e9ee8 Fix chat controller backstack ordering
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2019-06-26 09:04:57 +02:00
Mario Danic
842f2c2380 Fixes various issues
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2019-06-26 08:11:55 +02:00
Mario Danic
a520cd4716 Fix #566
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2019-06-25 23:43:54 +02:00
Mario Danic
400c41e731 Fix #551
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2019-06-25 22:46:24 +02:00
Mario Danic
323d9e16b1 Updates to notifications handling
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2019-06-25 22:41:02 +02:00
Mario Danic
2a90560056 Fix #565
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2019-06-25 15:14:27 +02:00
Mario Danic
f37a05dfb6 Fix joining magic
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2019-06-25 10:17:08 +02:00
Mario Danic
c48e9e01a2 Improve sending nick
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2019-06-25 10:17:08 +02:00
Mario Danic
6ce0d53412 Fix nick & some reconnection
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2019-06-25 10:17:08 +02:00
Mario Danic
1819b6db44 Fix websocket manager access
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2019-06-25 10:17:07 +02:00
Mario Danic
0f0119d22c Fix #554 and fix #557
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2019-06-09 20:27:55 +02:00
Mario Danic
03917b8008 Improve code
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2019-06-06 14:48:27 +02:00
Mario Danic
6e68f41d1f Improve reconnections & Avatar handling
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2019-06-06 12:33:12 +02:00
Mario Danic
fe77d46ebe Fix #404
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2019-06-03 21:17:58 +02:00
Mario Danic
55dd682830 Some selection progress
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2019-06-03 21:02:17 +02:00
Mario Danic
660b2be745 Always show searchItem
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2019-06-03 12:40:13 +02:00
Mario Danic
7d44805c9e Additional logging
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2019-05-31 17:08:42 +02:00
Mario Danic
ef2d1b8c92 Initial file logging
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2019-05-31 12:46:49 +02:00
Mario Danic
63360a63e9 Revert "Update dependencies" & Fix issue with mimetype preview
This reverts commit 3c0c332aa2.

Signed-off-by: Mario Danic <mario@lovelyhq.com>
2019-05-31 10:21:14 +02:00
Mario Danic
75e3722ad1 Fix #548
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2019-05-30 20:56:11 +02:00
Mario Danic
80eaf71388 Fix #550
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2019-05-30 20:02:17 +02:00
Mario Danic
24cd232908 Fix #537
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2019-05-30 15:02:01 +02:00
Mario Danic
c335e7b7bd Fix #544
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2019-05-30 13:52:23 +02:00
Mario Danic
3ecd2ac111 Fix speakerphone icon
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2019-05-29 16:11:19 +02:00
Mario Danic
215b339d1e Init Merlin when we add an account
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2019-05-29 15:28:31 +02:00
Mario Danic
27d69e73d1 Fix up internet reconnections
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2019-05-29 15:16:44 +02:00
Mario Danic
e510a35ae4 Further improvements to MCU reconnections
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2019-05-29 11:53:09 +02:00
Mario Danic
f13292a1b7 Update version
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2019-05-27 18:57:15 +02:00
Mario Danic
92e56cdef2 Improve MCU re-connection magic
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2019-05-27 18:32:27 +02:00
Mario Danic
cc96878d52 Fix #527
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2019-05-03 09:55:21 +02:00
Mario Danic
e42a41f87a Update versionCode for NC app link click
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2019-05-03 09:55:21 +02:00
tobiasKaminsky
ebb878d6a5 add extras direct to intent, do not use option/bundle
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2019-05-03 09:55:21 +02:00
Mario Danic
72761ebb5f Temporary version change for Tobias
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2019-05-03 09:55:21 +02:00
Mario Danic
db46330d6e Fix an issue with spaces in user ids
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2019-05-03 09:55:21 +02:00
Mario Danic
71de8a5245 Use fileID for passing to the files app
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2019-05-03 09:55:21 +02:00
Mario Danic
550b46c454 Fix subscription thread
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2019-05-03 09:55:21 +02:00
Mario Danic
699af11b8c Tag v6.0.2
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2019-04-29 09:01:29 +02:00
Mario Danic
60d329b8b1 Crashing bug fixes
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2019-04-28 13:46:40 +02:00
Mario Danic
60d19bc658 Fix a crash in conversation info
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2019-04-28 13:42:26 +02:00
Mario Danic
eb66c97fe9 Initial fix for rounded vector drawables
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2019-04-28 12:57:33 +02:00
Mario Danic
4f908a2961 Fix call management buttons
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2019-04-28 12:30:58 +02:00
Mario Danic
4d0fa0927b Fix an issue with loading background due to etags usage
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2019-04-28 11:18:26 +02:00
Mario Danic
7621081449 Fix an issue with loading avatar for a call
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2019-04-28 10:59:12 +02:00
Mario Danic
1d09854a91 Fix an issue with setting the placeholder for preview
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2019-04-28 10:57:27 +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
077f0dc1b2 Remove magical scroll
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2019-04-18 22:49:48 +02:00
Mario Danic
b7dec6e4fa Fix account removal if it’s the last account
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2019-04-18 01:56:14 +02:00
Mario Danic
c52d08410d Update chips colors
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2019-04-18 01:33:45 +02:00
ardevd
017ee9e034 controllers: removed identical sub-expression in if statement. (#529)
Using the same value on either side of a binary operator is almost always a mistake. Either there is supposed to be a null check for something else in there or the second sub expression should be removed.

Signed-off-by: eho <edvard.holst@gmail.com>
2019-04-17 23:50:18 +02:00
Mario Danic
0f7b004023 Fix finger auth
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2019-04-16 17:51:38 +02:00
Mario Danic
8a07e94e0e Fix a crashing bug
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2019-04-16 15:04:11 +02:00
Mario Danic
ab4d76b227 Fix accents
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2019-04-16 14:51:12 +02:00
ardevd
ae77f48a6d utils: use try-with-resources to properly close Closable. (#522)
Use try-with-resources to properly close Closable
2019-04-11 14:25:00 +02:00
Mario Đanić
f6c3c51e2c
Merge pull request #523 from nextcloud/unit-tests
test: added unit tests for the TextMatchers utility class.
2019-04-11 14:17:05 +02:00
Mario Danic
f3877b4bb5 Fix #494
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2019-04-11 10:59:36 +02:00
eho
d2aa3a7f50
test: added unit tests for the TextMatchers utility class.
- Replaced Patterns with PatternsCompat equivalent for unit testing compatibility
- Removed ExampleUnitTest placeholder test class

Signed-off-by: eho <edvard.holst@gmail.com>
2019-04-10 22:07:50 +02:00
Mario Danic
667e01924c Fix span refresh
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2019-04-10 14:26:44 +02:00
Mario Danic
06992b400f Update chips
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2019-04-10 14:16:26 +02:00
Mario Danic
bd3eae81d2 Fix call chips in edit text
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2019-04-10 12:15:46 +02:00
Mario Danic
c121ffdd5d Update chip type
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2019-04-10 11:21:14 +02:00
Mario Danic
4feb46f40a Improvements to call chip
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2019-04-10 11:21:06 +02:00
Mario Danic
ad3b440e88 Progress with setting chip avatars
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2019-04-10 09:41:13 +02:00
Mario Danic
1938c3fbb4 Color changes to own mention
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2019-04-09 21:52:25 +02:00
Mario Danic
00c2d64f98 Change the way we shown own mention
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2019-04-09 21:48:22 +02:00
Mario Danic
24461f99b6 Optimize imports
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2019-04-09 21:18:40 +02:00
Mario Danic
f4f96bb7d9 First step towards mention chips
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2019-04-09 21:18:02 +02:00
Mario Danic
67b590d9d0 Fix #389
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2019-04-09 13:27:50 +02:00
Mario Danic
48fdee2a65 Fix mention coloring
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2019-04-09 10:40:30 +02:00
Mario Danic
3c184f7d52 Fix @all mentions
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2019-04-09 10:27:47 +02:00
Mario Danic
41d7208384 Fix emoji in call menu
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2019-04-07 21:30:08 +02:00
Mario Danic
e1edf954e9 Fix a menu issue
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2019-04-07 21:25:21 +02:00
Mario Danic
08d44641d5 Fix an issue with one2one rooms not leavable
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2019-04-07 21:05:09 +02:00
Mario Danic
6dc99607c1 Fix #130
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2019-04-06 23:54:13 +02:00
Mario Danic
4222e395cc Fix #477
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2019-04-06 23:14:02 +02:00
Mario Danic
d43c37d88b Improve notification level storage
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2019-04-05 12:27:02 +02:00
Mario Danic
2b7d04b775 Turn bot logo into black
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2019-04-02 14:38:13 +02:00
Mario Danic
1b86d7ff1e Add changelog support, fix #479 and other things
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2019-04-02 14:34:38 +02:00
Mario Danic
68586ba901 Fixes to url handling in settings & notification
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2019-03-31 17:50:29 +02:00
Mario Danic
60b340ce89 Fix #369
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2019-03-31 17:34:01 +02:00
Mario Danic
d8f8f45e40 Fix #509
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2019-03-31 17:08:25 +02:00
Mario Danic
ae8ff9d1e5 Fix #511
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2019-03-31 16:37:16 +02:00
Mario Danic
562d6f2f57 Fix #503
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2019-03-31 14:16:30 +02:00
Mario Danic
deee62c2d8 Fix #386
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2019-03-26 13:46:49 +01:00
Mario Danic
0454d13085 Adjust logic for one2one rooms
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2019-03-26 12:04:14 +01:00
Mario Danic
76a435cb84 Update deps & fix periodic capability job
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2019-03-06 13:55:26 +01:00
Mario Danic
7cf28e775b Fix #478
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2019-03-06 13:43:05 +01:00
Mario Đanić
364480ccf4
Merge pull request #493 from nextcloud/improve-mentions
Improve mentions
2019-03-05 21:50:47 +01:00
Mario Danic
ccce05e164 Fix #159
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2019-03-05 21:49:53 +01:00
Mario Danic
b35a1c0758 Improve coloring
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2019-03-05 21:06:16 +01:00
Mario Danic
dfae11f65c Fix mentions when in the middle of text
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2019-03-05 14:37:15 +01:00
Mario Danic
f4508bc4fe Improve mention
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2019-03-05 14:31:13 +01:00
Mario Danic
d6a7a2ff94 First batch of mention changes
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2019-03-05 14:13:57 +01:00
Mario Danic
8007a95755 Implement confirmation dialog for delete in conversations list
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2019-03-04 15:10:18 +01:00
Mario Danic
3f58e260c0 Fix #483
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2019-03-04 12:55:46 +01:00
Mario Danic
649df4ef07 Fix delete in conversation info
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2019-03-04 12:44:29 +01:00
Mario Danic
e936bf7479 Fix #486
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2019-03-04 12:12:25 +01:00
Mario Danic
d8e6b9f6ef Fix #487
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2019-03-04 11:47:50 +01:00
Mario Danic
252a37e0e8 Hide other options in conversation info
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2019-03-04 10:15:00 +01:00
Mario Danic
857aa24e08 Fix #485
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2019-03-04 09:41:38 +01:00
Mario Danic
f9a14c4a92 Begin working on improved leave & delete
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2019-03-04 09:07:13 +01:00
Mario Danic
52d522ed37 Improve code further with some conditionals & audio handling
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2019-03-04 08:50:39 +01:00
Mario Danic
2fb58e8cab Improve orientation detection for Power management
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2019-03-04 08:50:39 +01:00
Mario Danic
90a099b04e Fix #480, Fix #188
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2019-03-04 08:50:39 +01:00
Mario Danic
171ea65fde Fix bugs
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2019-03-04 08:50:39 +01:00
Mario Danic
183c7afd5d Implement leave & delete in conversation info
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2019-03-04 08:50:39 +01:00
Mario Danic
5ea99c8201 Fix #442
Signed-off-by: Mario Danic <mario@lovelyhq.com>

# Conflicts:
#	app/src/main/java/com/nextcloud/talk/controllers/ConversationsListController.java
2019-02-22 15:05:12 +01:00
Mario Danic
f5e7ad6a33 Fix #473
Signed-off-by: Mario Danic <mario@lovelyhq.com>

# Conflicts:
#	app/src/main/java/com/nextcloud/talk/utils/ApiUtils.java
2019-02-22 15:04:27 +01:00
Mario Danic
d81707b496 Fix an issue with conversation password not being applied to calls
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2019-02-22 15:03:26 +01:00
Mario Danic
aff99e15d0 Tag v3.2.6
Signed-off-by: Mario Danic <mario@lovelyhq.com>

# Conflicts:
#	app/build.gradle
2019-02-20 12:19:53 +01:00
Mario Danic
ee316b4bdd Fix #474
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2019-02-19 11:08:51 +01:00
Mario Đanić
e8bf2f95b6
Merge pull request #468 from nextcloud/privacy-improvements
Privacy improvements
2019-02-18 14:13:47 +01:00
Mario Danic
ef8a49e181 Dont throw a runtime exception
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2019-02-18 14:13:40 +01:00
Mario Danic
a2e9c53313 Change default lock timeout to 1 minute
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2019-02-18 14:10:18 +01:00
Mario Danic
f7151d8f15 Implement biometric support
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2019-02-18 14:02:49 +01:00
Mario Danic
5498ad6990 Fix a bug with unpacking&packing user
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2019-02-15 13:07:39 +01:00
Mario Danic
ab75a89e30 Fix a crashing bug in timeout change
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2019-02-15 11:21:52 +01:00
Mario Danic
07877e9cd0 Fix a typo
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2019-02-15 11:12:40 +01:00
Mario Danic
ec086b61c4 Fix crashing bugs
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2019-02-15 11:09:32 +01:00
Mario Danic
a5605fc89f Begin implementing biometric magic
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2019-02-15 10:59:33 +01:00
Mario Danic
feafb0c357 Update calls to secure check
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2019-02-15 02:07:08 +01:00
Mario Danic
455601b5a6 Reformat
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2019-02-15 01:49:57 +01:00
Mario Danic
7f0912299f Implement basics of screen timeout
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2019-02-15 01:49:50 +01:00
Mario Danic
67bea68a1d Implement parts of screen lock functionality
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2019-02-14 16:24:54 +01:00
Mario Danic
c143e33f62 Finish #462
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2019-02-14 07:34:07 +01:00
Mario Danic
8fd1ef031d Implement parts of #462
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2019-02-14 07:28:51 +01:00
Mario Danic
2080b8099d Fix #465 and fix #463
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2019-02-14 06:50:02 +01:00
Mario Danic
b1356ff0d1 Fix #433
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2019-02-14 05:39:30 +01:00
Mario Danic
50fdb7c49a Fix #450
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2019-02-14 05:30:13 +01:00
Mario Danic
309f5d30c2 Fix guest reconnection
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2019-02-14 04:59:45 +01:00
Mario Danic
6b204b5165 Fix guest author location
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2019-02-14 04:46:43 +01:00
Mario Danic
328c8e0c2d Dont show conversation info for guests
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2019-02-14 04:40:41 +01:00
Mario Danic
65e17f1dca Fix an issue with joining room for a regular user
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2019-02-14 04:38:12 +01:00
Mario Danic
3883240777 Fix further guest related issues
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2019-02-14 04:28:40 +01:00
Mario Danic
3a07193c3b Fix some of the guest-related issues
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2019-02-14 04:10:10 +01:00
Mario Danic
68c45f6831 Fix #461 and #457
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2019-02-14 03:36:00 +01:00
Mario Danic
ac91b2b5b6 Fix an issue with username autocomplete
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2019-02-14 03:27:45 +01:00
Mario Danic
d18f65ad0c Fix an issue of sending multiple of the same message
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2019-02-02 01:26:01 +01:00
Mario Danic
220a4b292d Fix possible crashes
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2019-02-02 01:26:01 +01:00
Mario Danic
d781247074 Bug fixes against crashes & dpToPx fixes
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2019-02-02 01:26:01 +01:00
Mario Danic
e3ad95da74 Fix bugs with autocomplete
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2019-02-02 01:26:00 +01:00
Mario Danic
213c7ea520 Fix crashing bugs
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2019-01-29 14:43:01 +01:00
Mario Danic
85a5278f79 Fix #429
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2019-01-29 14:43:01 +01:00
Mario Danic
3736fd1483 Improve the matcher pattern
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2019-01-29 14:43:01 +01:00
Mario Danic
700cf860af Fix #432
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2019-01-29 14:43:01 +01:00
Mario Danic
189a73975b Fix #430
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2019-01-29 14:43:01 +01:00
Mario Danic
013e60af1b Fix a typo in getting an object type
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2019-01-29 14:43:01 +01:00
Mario Danic
7930c97dee Fix a crash with older Nc versions
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2019-01-24 12:45:46 +01:00
Mario Danic
7c275ccfbf Fix a bug in chat that caused crash when leaving sometimes
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2019-01-24 12:45:45 +01:00
Mario Danic
cef0d20e62 Fix a bug with conversation info disappearing
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2019-01-24 12:45:45 +01:00
Mario Danic
68e95b2ac7 Fix a bug with guest not getting the name
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2019-01-24 12:45:45 +01:00
Mario Danic
714ed70889 Dont try setting an image if the view is lost
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2019-01-24 12:45:45 +01:00
Mario Danic
5652dca771 Fix a crashing issue with autocomplete building
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2019-01-24 12:45:45 +01:00
Mario Danic
ca72cd5cd0 Fix a crash issue
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2019-01-22 00:15:55 +01:00
Mario Danic
7a26e1d069 Fix #420
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2019-01-22 00:15:55 +01:00
Mario Danic
33cc375853 Add a missing )
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2019-01-17 12:41:07 +01:00
Mario Đanić
a6f635966a
Merge pull request #419 from nextcloud/fix-413
First steps towards fixing german
2019-01-17 12:33:17 +01:00
Mario Danic
a9a4dd0289 Fix #413
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2019-01-17 12:32:38 +01:00
Mario Danic
ce1d5cd47b First steps towards fixing german
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2019-01-16 02:07:17 +01:00
Mario Danic
b9b0396427 Fix #415
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2019-01-16 00:57:21 +01:00
Mario Danic
9df5c89784 Add space between every emoji
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2019-01-13 04:12:33 +01:00
Mario Danic
c4d03c8739 Remove sender name if it’s a single emoji
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2019-01-13 03:53:02 +01:00
Mario Danic
f90da41d73 Add emoji support to toolbar
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2019-01-13 03:46:02 +01:00
Mario Danic
27b438aacb Fix crashing bug & Tag v3.2.0beta4
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2019-01-12 22:05:37 +01:00
Mario Danic
bf1f2df344 Fix #410
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2019-01-12 14:45:28 +01:00
Mario Danic
bbb48f2b91 Fix #394
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2019-01-11 00:22:28 +01:00
Mario Đanić
5e08988d6a
Merge pull request #403 from nextcloud/fix-124
Add screensharing support
2019-01-10 13:06:53 +01:00
Mario Danic
0ff737d4fd Fix screensharing for MCU
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2019-01-10 12:43:14 +01:00
Mario Danic
081050eb42 Fix a crashing bug
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2019-01-09 14:32:32 +01:00
Mario Danic
6e01253264 Fix a bug in having a non-public constructor
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2019-01-09 14:12:42 +01:00
Mario Danic
1215c9af2c Remove outstanding custom font code
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2019-01-09 01:20:57 +01:00
Mario Danic
2223b0549a Revert the Nunito font
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2019-01-09 01:03:06 +01:00
Mario Danic
41da72dd97 Remove secure flag for activities
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2019-01-08 02:22:25 +01:00
Mario Danic
8c81e12603 Fix codacy issues
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2019-01-07 02:23:30 +01:00
Mario Danic
ed7cd1b788 Add screensharing support
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2019-01-07 02:17:47 +01:00
Mario Danic
cfcff87e23 Fix up UI glitch with PTT
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2019-01-03 00:06:11 +01:00
Mario Danic
accbbdc9a7 Fix #295
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2019-01-02 22:56:23 +01:00
Mario Danic
115f25c0c1 Fix last message author bolding
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2019-01-02 22:43:43 +01:00
Mario Danic
68ba88daca Update the way we set images
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2019-01-02 03:05:56 +01:00
Mario Danic
fb15d625ae Fix case of adapter being null
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2019-01-02 00:50:26 +01:00
Mario Danic
47bc1e8bbc Fix a few crashing bugs
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2019-01-02 00:49:33 +01:00
Mario Danic
96f027726e Fix conversation info crash
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2019-01-02 00:46:59 +01:00
Mario Danic
cc20dad772 Clean up
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2019-01-02 00:45:37 +01:00
Mario Danic
4ee88e0b17 Add nice transition effects & optimise
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2019-01-02 00:42:04 +01:00
Mario Danic
4d3b4aa93c Switch account removal worker to new return value
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2018-12-30 15:38:47 +01:00
Mario Danic
8540369ccc Update for new work manager
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2018-12-30 15:38:47 +01:00
Mario Danic
2788de29a3 Clean up some of the lint warnings
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2018-12-30 15:38:46 +01:00
Mario Danic
a472fbe7ce Clean up imports
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2018-12-30 15:38:46 +01:00
Mario Danic
02785b3f9c Improve resizing by forcing layout
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2018-12-30 15:38:46 +01:00
Mario Danic
b28efa44df Auto-rotate the image if EXIF provides
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2018-12-30 15:38:46 +01:00
Mario Danic
c3ce9d8b5f Fix image scaling
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2018-12-30 15:38:46 +01:00
Mario Danic
1b20b63d8c Improve preview
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2018-12-30 15:38:45 +01:00
Mario Danic
5cbb8c2e31 Significantly improve last message display
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2018-12-30 15:38:45 +01:00
Mario Danic
0d6df931ea Add regular link type
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2018-12-30 15:38:45 +01:00
Mario Danic
a71444637a Fixes #398
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2018-12-30 15:38:44 +01:00
Mario Danic
b73119dbbf Revert load for one2one
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2018-12-27 19:06:20 +01:00
Mario Danic
549385e4ec Fix #385
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2018-12-27 19:04:22 +01:00
Mario Danic
e1cdea2584 Fix #395
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2018-12-27 15:01:25 +01:00
Mario Danic
1c504bdfe6 Fix #392
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2018-12-27 14:20:44 +01:00
Mario Danic
192c435b2b Always leave room
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2018-12-17 21:13:44 +01:00
Mario Danic
da779190ed Fake that we’re still in a room when visiting conversation info
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2018-12-17 19:31:18 +01:00
Mario Danic
1b28cb553e Remove useless things
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2018-12-17 13:40:44 +01:00
Mario Danic
0427713fae Fix rotation issue in contacts
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2018-12-17 13:40:44 +01:00
Mario Danic
734b217f73 Set activities as secure
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2018-12-17 13:40:44 +01:00
Mario Danic
708ac3dcd6 FIx home button for chat
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2018-12-17 13:40:44 +01:00
Mario Danic
d461afb25b Partly fix rotation issues
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2018-12-17 13:40:44 +01:00
Mario Danic
7ff6fcd366 Fix background color generation
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2018-12-17 13:40:44 +01:00
Mario Danic
92cb537d2f Fixed bugs in code
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2018-12-17 13:40:44 +01:00
Mario Danic
88298026aa Fix push
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2018-12-17 13:40:44 +01:00
Mario Danic
6621b9964a Clean up
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2018-12-17 13:40:44 +01:00
Mario Danic
a911c98f40 Fixes for lint
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2018-12-17 13:40:43 +01:00
Mario Danic
07c9d37e70 Fix settings button
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2018-12-17 13:40:43 +01:00
Mario Danic
8f864063fb Clean up imports
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2018-12-17 13:40:43 +01:00
Mario Danic
65c430d9fa Change transition for conversation info
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2018-12-17 13:40:43 +01:00
Mario Danic
63b09ef2a4 Fix a keyboard issue in contacts screen
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2018-12-17 13:40:43 +01:00
Mario Danic
2171eb890c Optimize imports
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2018-12-17 13:40:43 +01:00
Mario Danic
d189c49367 Fix an issue with cancelling bottom sheet
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2018-12-17 13:40:43 +01:00
Mario Danic
5227620689 Re-implement join via link
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2018-12-17 13:40:43 +01:00
Mario Danic
79bdb7d640 Fix #363
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2018-12-17 13:40:43 +01:00
Mario Danic
f48a441d98 Fix theming issues & clean up
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2018-12-17 13:40:43 +01:00
Mario Danic
cc7cfd4d1f Fix typos
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2018-12-17 13:40:43 +01:00
Mario Danic
0614ba8178 Fix #361
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2018-12-17 13:40:43 +01:00
Mario Danic
e4b4f3ec84 Fix a bug when starting call in older Nc versions 2018-12-17 13:40:43 +01:00
Mario Danic
007e22c20f Fix an issue with empty conversations list 2018-12-17 13:40:43 +01:00
Mario Danic
40b03de7a7 Fix issues with the bottom sheet 2018-12-17 13:40:43 +01:00
Mario Danic
2ec45391de Fix avatar loading for conversations list 2018-12-17 13:40:43 +01:00
Mario Danic
312570e51c Update settings icon 2018-12-17 13:40:43 +01:00
Mario Danic
844b0b4942 Handle contacts -> chat better 2018-12-17 13:40:43 +01:00
Mario Danic
b1889abb1b Add nice FAB animation & cleanups to layouts 2018-12-17 13:40:43 +01:00
Mario Danic
1c13d893fc Add basic FAB 2018-12-17 13:40:43 +01:00
Mario Danic
5ff7316aa5 Significant progress on changing the app layout 2018-12-17 13:40:43 +01:00
Mario Danic
a9f48ad4da Fix code review
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2018-12-11 13:17:01 +01:00
Mario Danic
5000b3e9de Fix credentials update
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2018-12-11 12:23:18 +01:00
Mario Danic
d59403bc97 Fix an issue with login token not being stored
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2018-12-11 12:12:45 +01:00
Mario Danic
6815021a53 Fix a few crashes
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2018-12-10 08:52:17 +01:00
Mario Đanić
13e39e0860
Merge pull request #355 from nextcloud/show-participant-flags
Add support for showing participant engagement level
2018-11-30 11:22:43 +01:00
Mario Danic
1c5c37f9a5 Fix issue with missing participants 2018-11-30 11:10:31 +01:00
Mario Danic
8aeb754f15 Remove useless class 2018-11-29 18:29:46 +01:00
Mario Danic
266ee8eda1 Fix #357
Moves the hang up button above all other buttons
2018-11-29 14:36:03 +01:00
Mario Danic
e13e964fd3 Clean up 2018-11-29 14:01:33 +01:00
Mario Danic
e2a74f53dc Fix participant flags 2018-11-28 13:59:39 +01:00
Mario Danic
9fadec5e10 Optimize imports 2018-11-28 13:59:39 +01:00
Mario Danic
7fe92e67ac Switch to enum 2018-11-28 13:59:39 +01:00
Mario Danic
eeb87183a0 Clean up
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2018-11-28 13:59:39 +01:00
Mario Danic
af4926d614 Fix #353
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2018-11-28 13:56:55 +01:00
Mario Danic
f956393d0c Fix a possible crash 2018-11-27 14:01:05 +01:00
Mario Danic
e9b500f5c1 Fix a few issues with conversation info
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2018-11-23 23:01:39 +01:00
Mario Danic
811769c2ab Fix an issue with workmanager
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2018-11-22 18:02:25 +01:00
Mario Danic
0116c64fbc Try to fix #349
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2018-11-22 16:11:26 +01:00
Mario Danic
1953f5a496 Add id to sharee
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2018-11-21 23:51:40 +01:00
Mario Danic
a11bf58bac Fix contacts list
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2018-11-21 23:51:31 +01:00
Mario Danic
a4279f28f5 Fix #318 and better participants list
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2018-11-21 21:16:42 +01:00
Mario Danic
54405c603c Fix MCU completely 2018-11-10 00:22:59 +01:00
Mario Danic
29c38aa107 Improve MCU support 2018-11-09 23:25:50 +01:00
Mario Danic
1e055568bc Fix a bug with init a hashmap 2018-11-09 22:42:14 +01:00
Mario Danic
4ddc68b774 Improve participants list 2018-11-08 23:00:35 +01:00
Mario Danic
9cdce626e9 Beginning of participants list 2018-11-08 22:13:23 +01:00
Mario Danic
b531ca59c6 Switch to a different codec 2018-11-08 13:41:55 +01:00
Mario Danic
f4eb7f01ec Fix a crash with progress bar null 2018-11-08 03:15:53 +01:00
Mario Danic
20e1515b74 Fix a bug with index out of bounds 2018-11-08 03:15:53 +01:00
Mario Danic
24dd681dfa Change constructor to public 2018-11-07 14:30:37 +01:00
Mario Danic
65d9296209 Fix notification channel creation 2018-11-07 14:29:07 +01:00
Mario Danic
a90ba05d29 Fix #316 2018-11-07 11:12:57 +01:00
Mario Danic
5398d17295 Use participantFlags 2018-11-07 10:04:10 +01:00
Mario Danic
f797f10047 Fix a typo 2018-11-07 09:59:21 +01:00
Mario Danic
569c536d2b Add support for inviting groups to a conversation 2018-11-07 09:58:43 +01:00
Mario Danic
c92c3db803 Attempt at removing the data from arbitrary storage 2018-11-07 03:54:29 +01:00
Mario Danic
238cab78b1 Don’t try to set notification level if we can’t do it 2018-11-07 03:48:00 +01:00
Mario Danic
d492e8040b Add avatar & conversation name to info 2018-11-07 03:44:46 +01:00
Mario Danic
efc3d0f96e Fixes #343 2018-11-07 03:09:08 +01:00
Mario Danic
75d288cbf4 Fix #259 2018-11-07 03:09:08 +01:00
Mario Danic
e3f43b63ea Fix #325, fix #344 2018-11-07 02:15:44 +01:00
Mario Danic
142ceb12e2 Fix various issues & started working on notification levels 2018-11-06 22:58:14 +01:00
Mario Danic
ec2557567c Fix #341 2018-11-04 01:12:05 +01:00
Mario Danic
732a24692e Fix #339 and update jobs 2018-11-02 03:53:29 +01:00
Mario Danic
a692e66672 Send nick if we have external server 2018-10-30 23:09:29 +01:00
Mario Danic
9b09848838 Clean up 2018-10-30 22:33:17 +01:00
Mario Danic
f3ff2e247b Real fix for regular calls 2018-10-30 10:50:42 +01:00
Mario Danic
498ae0dfc3 Nick sending + fix regular calls 2018-10-30 10:50:42 +01:00
Mario Danic
98cabbfc11 Fix nickname & fonts 2018-10-29 10:27:38 +01:00
Mario Danic
a007af3db6 Fix database upgrade 2018-10-29 10:27:38 +01:00
Mario Danic
42d5d3cb49 Fix crash when clicking on preview 2018-10-26 11:40:05 +02:00
Mario Danic
769e478874 Scope methods properly 2018-10-26 10:49:51 +02:00
Mario Danic
e5532a5842 Fix #337 and closing websocket connections 2018-10-26 10:47:59 +02:00
Mario Danic
269b879ee4 Send bye when deleting message 2018-10-26 10:07:45 +02:00
Mario Danic
91f24d7250 Set room differently 2018-10-25 13:07:45 +02:00
Mario Danic
dc24506aec Better restarts for websocket 2018-10-25 13:04:14 +02:00
Mario Danic
61de45464b Fix call sometimes not working 2018-10-25 11:34:37 +02:00
Mario Danic
85769f5d06 Fix contacts fetching 2018-10-25 11:34:37 +02:00
Mario Danic
f0017a2a39 Implemented proper resume 2018-10-25 01:22:26 +02:00
Mario Danic
3ec2480848 Improve websocket connection management 2018-10-25 00:56:01 +02:00
Mario Danic
91d0d829e0 Fix a few bugs 2018-10-25 00:28:48 +02:00
Mario Danic
8af64364b7 Progress in improving external signaling 2018-10-25 00:15:54 +02:00
Mario Danic
8ff04879e5 Cleaning up 2018-10-24 00:43:56 +02:00
Mario Danic
e300f73483 Fix #310 2018-10-23 23:45:25 +02:00
Mario Danic
0ad443bb31 Nicer disabled state when using public conversations 2018-10-23 23:16:54 +02:00
Mario Danic
f2b9303cc4 Fix #206 2018-10-23 22:56:37 +02:00
Mario Danic
b3baf4cdf2 More progress towards group 2018-10-23 22:22:51 +02:00
Mario Danic
ce5f1706b9 Clean ups & More progress towards #206 2018-10-23 21:46:22 +02:00
Mario Danic
22614792df Initial steps towards #206 2018-10-23 21:36:04 +02:00
Mario Danic
d221958931 Fix connections 2018-10-18 23:06:16 +02:00
Mario Danic
6e4d93a5c1 Change param name 2018-10-18 12:10:28 +02:00
Mario Danic
15b53c701a Fix a typo 2018-10-18 11:51:37 +02:00
Mario Danic
6ef2e3bfd8 Fix offer request 2018-10-18 11:32:47 +02:00
Mario Danic
7a31c4c659 Dont show publisher stream 2018-10-18 01:12:39 +02:00
Mario Danic
102f259f2a Fix mute message 2018-10-17 23:48:21 +02:00
Mario Danic
ade92c0344 New updates 2018-10-17 23:27:12 +02:00
Mario Danic
6b46e078c1 Some fixes 2018-10-17 22:43:46 +02:00
Mario Danic
3f4d249838 Clean ups 2018-10-17 21:27:53 +02:00
Mario Danic
5dd36a2fcc Cleanups 2018-10-17 17:35:25 +02:00
Mario Danic
18f7b7fc72 Add sid to model 2018-10-17 17:29:00 +02:00
Mario Danic
ae1feadbc2 Remove log 2018-10-17 14:18:30 +02:00
Mario Danic
83a91539fb Get participants update to work 2018-10-17 14:12:29 +02:00
Mario Danic
db026c4a9e Clean ups 2018-10-17 13:20:48 +02:00
Mario Danic
bd303a1d00 More progress in websocket implementation 2018-10-17 12:38:08 +02:00
Mario Danic
f6b1dca677 Switch if to switch :) 2018-10-17 08:34:02 +02:00
Mario Danic
5a3f199f14 Fix a bug with re-sending messages 2018-10-16 22:01:32 +02:00
Mario Danic
0bb65795ad Revert "Prefer H264"
This reverts commit 589f7f934f.
2018-10-16 21:53:35 +02:00
Mario Danic
589f7f934f Prefer H264 2018-10-16 14:46:13 +02:00
Mario Danic
9f1fef7ff1 Smaller progress for websocket communication 2018-10-16 13:16:53 +02:00
Mario Danic
568db40816 Fix call message model 2018-10-16 11:42:37 +02:00
Mario Danic
54144b1c8c Fix a few bugs 2018-10-15 21:57:30 +02:00
Mario Danic
8c0050ee3b Fix mapping 2018-10-15 21:23:10 +02:00
Mario Danic
c69472cc39 Implemented request offer 2018-10-15 21:12:27 +02:00
Mario Danic
b0e85e7d4f Always leave room with websockets 2018-10-15 14:24:05 +02:00
Mario Danic
41a16f8f83 Further websockets implementation 2018-10-15 14:23:25 +02:00
Mario Danic
8af047926e Fix media stream & data channel messages sending 2018-10-15 12:17:57 +02:00
Mario Danic
7e1e86ae9e Clean up 2018-10-15 11:56:39 +02:00
Mario Danic
60063bbcb0 Fix issue with layouting if last message was system message 2018-10-13 22:43:03 +02:00
Mario Danic
53bc42fbea Some progress in websockets communication 2018-10-13 22:39:46 +02:00
Mario Danic
72d3f5ef66 More work towards working websockets 2018-10-12 20:07:12 +02:00
Mario Danic
70aaedd953 Remove Mario tagging 2018-10-12 11:53:09 +02:00
Mario Danic
5e546734cd Lots of progress on WebSocket implementation 2018-10-12 11:41:04 +02:00
Mario Danic
41bdcbd3c3 Clean up 2018-10-12 10:40:19 +02:00
Mario Danic
040e6c4e3d Further progress in handling websocket 2018-10-11 13:44:11 +02:00
Mario Danic
ca632be2ac More progress on external signaling 2018-10-11 12:37:51 +02:00
Mario Danic
a488ebafdf Prepare more models for websockets communication 2018-10-11 12:19:55 +02:00
Mario Danic
0f0509c2d4 Preparing all the models for websockets 2018-10-11 10:44:43 +02:00
Mario Danic
7bce24a850 More progress towards external signaling support 2018-10-10 16:31:04 +02:00
Mario Danic
dc16c7b91d Add ability to fetch external signaling settings 2018-10-10 09:03:08 +02:00
Mario Danic
eea7f7ebfe Fix #303 2018-10-09 15:06:14 +02:00
Mario Danic
a788c20b4a Lots of work on files preview 2018-10-09 14:53:54 +02:00
Mario Danic
66da39a1a1 Add initial Scarlet impl 2018-10-08 21:13:08 +02:00
Mario Danic
27eaf02485 Fix WebRTC 2018-10-06 06:38:21 +02:00
Mario Danic
088a21e4b9 Fix #315 2018-10-06 06:22:22 +02:00
Mario Danic
763857e36c Update capabilities every time we run 2018-10-05 21:33:10 +02:00
Mario Danic
f54466da65 Fix crash with search item missing 2018-10-03 14:35:40 +02:00
Mario Danic
2f7cc1cbe9 Fix crash with app prefs missing 2018-10-03 14:34:41 +02:00
Mario Danic
fafca26572 Fix a crash with resources being null 2018-10-03 14:33:26 +02:00
Mario Danic
35fd4d36a9 Fix another crash 2018-10-03 14:31:50 +02:00
Mario Danic
fa054e7e5a Fix a crash with too many jobs enqueued due to work manager bug 2018-10-03 14:29:36 +02:00
Mario Danic
cced5fd2c0 Finish migration to AndroidX 2018-10-03 14:21:14 +02:00
Mario Danic
9f04e40914 More progress with AndroidX 2018-10-03 14:11:10 +02:00
Mario Danic
f67e221e7a More progress towards AndroidX 2018-10-03 08:19:41 +02:00
Mario Danic
bd2820c90e First step to AndroidX migration 2018-10-02 22:34:00 +02:00
Mario Danic
1800209999 Add clickable resources 2018-09-06 20:45:03 +02:00
Mario Danic
3e6b5f8382 Fix #292 2018-09-06 20:30:01 +02:00
Mario Đanić
e6ebaf3134
Merge pull request #301 from o0lwj0o/patch-1
improve performance
2018-08-31 20:13:22 +02:00
Mario Đanić
66908a7742
Merge pull request #302 from o0lwj0o/patch-2
improve performance
2018-08-31 20:13:06 +02:00
o0lwj0o
4305e9ccf8
improve performance
see https://stackoverflow.com/questions/44334233/why-is-the-stringbuilder-chaining-pattern-sb-appendx-appendy-faster-than-reg/44338950
2018-08-31 15:38:46 +08:00
o0lwj0o
7da38e171b
improve performance
see  https://stackoverflow.com/questions/44334233/why-is-the-stringbuilder-chaining-pattern-sb-appendx-appendy-faster-than-reg/44338950
2018-08-31 15:36:16 +08:00
Tilo Spannagel
e48ea806b4
Fix an issue with variable datatypes
Signed-off-by: Tilo Spannagel <development@tilosp.de>
2018-08-28 17:50:09 +02:00
Mario Danic
92919928fa Implement better support for video verification
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2018-08-27 12:57:48 +02:00
Mario Danic
bf123dfc15 Implement shared file system emssage
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2018-08-27 12:12:27 +02:00
Mario Danic
bcb16bb251 Fix credentials issue
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2018-08-27 11:23:36 +02:00
Mario Danic
9a7e8da28c Fix #296
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2018-08-24 11:05:04 +02:00
Mario Danic
bb4252bdbf Update last messages when coming to a screen
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2018-08-24 10:26:26 +02:00
Mario Danic
d328332d70 Fix the notif color for devices older than 8
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2018-08-24 10:16:54 +02:00
Mario Danic
218536c4c0 Add call started
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2018-08-23 16:26:41 +02:00
Mario Danic
1961947b91 Stuff with removing online presence
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2018-08-23 14:43:25 +02:00
Mario Danic
48ff5247b0 Fix things
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2018-08-23 14:43:25 +02:00
Mario Danic
e514c24316 Back to regular inject :(
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2018-08-23 14:43:25 +02:00
Mario Danic
3a83a1783e Fix crash
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2018-08-23 14:43:25 +02:00
Mario Danic
d7b7fd466a Fix push
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2018-08-23 14:43:25 +02:00
Mario Danic
92951252b3 Fix an issue with favorites
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2018-08-23 14:43:25 +02:00
Mario Danic
a299a230c6 Fixes
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2018-08-23 14:43:25 +02:00
Mario Danic
32e3203034 Try to fix null context
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2018-08-19 15:50:55 +02:00
Mario Danic
b181a961d8 Fix #290
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2018-08-18 15:38:16 +02:00
Mario Danic
82f29a6bc0 Remove cache eviction
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2018-08-18 14:28:02 +02:00
Mario Danic
f9af8dc2a4 Fix retrofit magic
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2018-08-18 09:57:05 +02:00
Mario Danic
5948aaec0a Fix #286, Fix #288, Fix #289
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2018-08-17 21:57:24 +02:00
Mario Danic
b7a47b3972 More memory cleanups
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2018-08-17 00:06:19 +02:00
Mario Danic
74691aa278 Dispose everything properly
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2018-08-16 23:45:13 +02:00
Mario Danic
08efe40d28 Dispose everything properly
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2018-08-16 22:08:42 +02:00
Mario Danic
2022d07671 Fix settings
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2018-08-16 21:29:26 +02:00
Mario Danic
2b76d379a3 Update conversations list layout
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2018-08-16 12:55:36 +02:00
Mario Danic
560cdcd5c6 Dont show favorite if not available
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2018-08-16 12:24:56 +02:00
Mario Danic
4fb4df3221 Fix #282
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2018-08-16 12:24:56 +02:00
Mario Danic
63c2063de6 More progress on moving to new Retrofit impl
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2018-08-11 07:38:57 +02:00
Mario Danic
43a1187e3a Update settings to use new retrofit
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2018-08-11 07:38:57 +02:00
Mario Danic
7e8957fd97 Fix NcApi usage for conversations list
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2018-08-11 07:38:57 +02:00
Mario Danic
bd70363a43 Better ncApi handling for contacts
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2018-08-11 07:38:57 +02:00
Mario Danic
d5476f83ec Improve CallNotificationController ncapi usage
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2018-08-11 07:38:57 +02:00
Mario Danic
4ea5f2e226 Fix #279
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2018-08-10 22:20:38 +02:00
Mario Danic
7aa4743a32 Start using new api holder for jobs
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2018-08-10 22:09:06 +02:00
Mario Danic
57c2858737 Start implementing different approach to retrofit
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2018-08-10 15:19:29 +02:00
Mario Danic
3cb3506f56 Use blocking subscribe in workers
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2018-08-10 07:12:41 +02:00
Mario Danic
b55a57ceab Improve WorkManager implementation
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2018-08-10 07:12:41 +02:00
Mario Danic
bd11873eef Implement WorkManager
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2018-08-10 02:33:48 +02:00
Mario Danic
6bc78aae90 Start migration to WorkManager
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2018-08-10 02:09:41 +02:00
Mario Danic
6c1ec00693 Small fixes
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2018-08-10 01:37:47 +02:00
Mario Danic
28780d2a3b Some magic for notifications
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2018-08-10 00:41:13 +02:00
Mario Danic
7f63476669 Fix #278
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2018-08-09 21:18:10 +02:00
Mario Danic
195c70606f Force full screen in horizontal mode
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2018-08-09 21:08:33 +02:00
Mario Danic
f3a32f8f6d Fix issue with conversation favorites
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2018-08-09 21:02:52 +02:00
Mario Danic
6b91079c49 Fix a crashing bug
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2018-08-08 22:44:45 +02:00
Mario Danic
5dcd8479c3 Move pin to favorites
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2018-08-08 21:26:20 +02:00
Mario Danic
f86c5b3a0d Make system messages with round background
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2018-08-08 02:50:46 +02:00
Mario Danic
2261c9527c Fix #264
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2018-08-08 02:42:46 +02:00
Mario Danic
d9f26d3d00 Partial support for #264
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2018-08-08 01:37:03 +02:00
Mario Danic
85ce06a9a9 Optimize
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2018-08-07 23:45:35 +02:00
Mario Danic
0f6b7cf580 Fix #270
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2018-08-07 23:43:59 +02:00
Mario Danic
f50f3a8db7 Fix #236
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2018-08-07 22:46:14 +02:00
Mario Danic
8c45893bbe Fixes
Signed-off-by: Mario Danic <mario@lovelyhq.com>

Fix issues

Signed-off-by: Mario Danic <mario@lovelyhq.com>
2018-08-07 21:56:43 +02:00
Mario Danic
298483acbd Revert "Fix parsing a little bit"
This reverts commit c311ec9bf4.
2018-08-06 23:12:20 +02:00
Mario Danic
c311ec9bf4 Fix parsing a little bit
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2018-08-06 23:05:34 +02:00
Mario Danic
08710d5f1c Fix #275
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2018-08-06 22:50:51 +02:00
Mario Danic
23879a8906 Add partial support for nid
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2018-08-06 15:49:58 +02:00
Mario Danic
3c5b3fb413 Don’t do anything if we fail to fetch conversation
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2018-08-06 15:00:09 +02:00
Mario Danic
eb953d648a Cleanups
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2018-08-05 11:34:56 +02:00
Mario Danic
41f5dd9a24 Dont cancel guest notifications as there are none
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2018-08-05 10:55:45 +02:00
Mario Danic
c4ee25aee0 Cancel notifications when joining a call
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2018-08-05 10:46:46 +02:00
Mario Danic
2f0f90f5f6 Cancel notifications for group when re-showing chat
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2018-08-05 10:44:48 +02:00
Mario Danic
f3fc375ad9 Cancel existing notifications on joining room
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2018-08-05 10:44:04 +02:00
Mario Danic
60d11108c8 Rename a callslist controller
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2018-08-04 21:58:51 +02:00
Mario Danic
d4f941d29f Add long click menu for conversations
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2018-08-04 21:57:50 +02:00
Mario Danic
4df3284a37 Fix layout issues & Add lock icon to room
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2018-08-04 21:44:03 +02:00
Mario Danic
d5c582efb7 Add status support
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2018-08-04 16:05:16 +02:00
Mario Danic
ef8a2b68fd Fix #253, Work on #268
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2018-08-04 13:50:14 +02:00
Mario Danic
05c689bad6 Fix a crashing bug
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2018-08-03 17:59:24 +02:00
Mario Danic
26211f07aa Remove unread messages as sorting criteria
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2018-08-03 17:05:40 +02:00
Mario Danic
7c8c811c6b Better sorting
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2018-08-03 15:17:46 +02:00
Mario Danic
c50257653c Some work on #264 + pin
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2018-08-03 13:44:43 +02:00
Mario Danic
9ab55198ee Add support for new room fields
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2018-08-03 11:40:18 +02:00
Mario Danic
3c9953196a Fix #267
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2018-08-03 11:38:12 +02:00
Mario Danic
77f8652177 Fix #210
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2018-08-03 11:33:02 +02:00
Mario Danic
09088b097e Fixes #238
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2018-08-03 09:40:23 +02:00
Mario Danic
6898a4cc4b Clean up
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2018-08-02 17:34:45 +02:00
Mario Danic
8b22f4c65b Improvements for #223
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2018-08-02 08:14:23 +02:00
Mario Danic
a61752ac0d Fix a typo
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2018-07-30 00:38:01 +02:00
Mario Danic
d7bb023019 Only pull if in chat
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2018-07-29 21:11:24 +02:00
Mario Danic
8dba5aa889 Fix in-the-same-conversation detection
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2018-07-29 20:42:13 +02:00
Mario Danic
b4662b78ec Layout change & memory mgmt
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2018-07-29 15:48:21 +02:00
Mario Danic
6806a43fe5 Fix security issue when importing accounts
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2018-07-29 14:55:34 +02:00
Mario Danic
7941ce1ec5 Fix rotation issues with MagicCallControlelr
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2018-07-29 14:38:51 +02:00
Mario Danic
796f24143a Memory improvements
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2018-07-29 12:05:13 +02:00
Mario Danic
b0aaf75109 Fixes #258, Fixes #255, Fixes #237, Fixes #234
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2018-07-29 12:00:34 +02:00
Mario Danic
257d3104b2 Further work on #237
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2018-07-26 22:50:17 +02:00
Mario Danic
58cfcdeb00 Work on #237
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2018-07-26 22:44:31 +02:00
Mario Danic
f6877fd7de Fix #158
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2018-07-25 15:27:46 +02:00
Mario Danic
d6457bc997 Partly implement #158
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2018-07-20 14:26:44 +02:00
Mario Danic
2664528660 Fix #242
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2018-07-19 09:46:11 +02:00
Mario Danic
3d1f088674 Fix #243
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2018-07-18 21:55:15 +02:00
Mario Danic
5445edacd7 Fix a crashing bug
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2018-07-17 21:45:22 +02:00
Mario Danic
2592e8bbaf Cleanups and bundled emoji font
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2018-07-17 17:22:02 +02:00
Mario Danic
a70d36bb80 Fix another crash with ringtone
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2018-07-17 16:51:22 +02:00
Mario Danic
9f15661273 Fix a crashing bug
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2018-07-17 16:51:22 +02:00
Mario Danic
f677d95fe7 Fix emoji detection
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2018-07-17 16:50:12 +02:00
Mario Danic
27e7ecc4b0 Add new models to hardware AEC disable
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2018-07-16 22:54:50 +02:00
Mario Danic
1d0858c98e Remote empty line
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2018-07-15 08:25:50 +02:00
Mario Danic
7de56eb869 Fix #213 and more
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2018-07-15 08:25:41 +02:00
Mario Danic
969a095f61 Add support for favorite api
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2018-07-14 16:25:53 +02:00
Mario Danic
c4bd5f551c Fix bugs ith layout & google apis
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2018-07-14 16:25:53 +02:00
Mario Danic
493ec6ebd6 Update conflicts
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2018-07-14 16:25:53 +02:00
Mario Danic
4031412f85 Update strings
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2018-07-14 16:25:53 +02:00
Mario Danic
d234722c7c Further layout fixes
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2018-07-14 16:25:53 +02:00
Mario Danic
9a6775a3e8 Layout improvements and emoji handling
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2018-07-14 16:25:53 +02:00
Mario Danic
4be4c0aa02 Improve avatar loading
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2018-07-14 16:25:53 +02:00
Mario Danic
de0044b637 Clean up a little bit
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2018-07-14 16:25:53 +02:00
Mario Danic
e5841ff6ec Fix #235
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2018-07-14 16:25:53 +02:00
Mario Danic
b7f076b6b5 Fix #233
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2018-07-14 16:25:53 +02:00
Mario Danic
0fcc3a7fea Fix #221
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2018-07-14 16:25:53 +02:00
Mario Danic
bdbb3a8cd1 Fix #214
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2018-07-14 16:24:32 +02:00
Mario Danic
9e1c2c7657 Some work on #223
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2018-07-14 16:24:32 +02:00
Mario Danic
c512cd25b8 Fix #224
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2018-07-14 16:24:32 +02:00
Mario Danic
1dc0ac8133 Fix #229
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2018-07-14 16:24:32 +02:00
Mario Danic
95ef492454 Fix #208
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2018-07-08 23:20:03 +02:00
Mario Danic
e586a38291 Fix #195
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2018-07-08 22:11:43 +02:00
Mario Danic
bebb95b7f8 Try to fix a crash
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2018-07-03 22:53:22 +02:00
Mario Danic
654c46edc4 Improve layout further
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2018-07-03 21:51:14 +02:00
Mario Danic
126f98c1e6 Fix #222
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2018-07-02 21:44:46 +02:00
Mario Danic
dce1ec6e6c Remove import
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2018-06-29 22:55:21 +02:00
Mario Danic
3231d98f2c Fix layout bug in immersive mode
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2018-06-29 22:43:37 +02:00
Mario Danic
da273a43fc Mostly fix layout issue
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2018-06-29 10:41:35 +02:00
Mario Danic
f134d41433 Try to fix going to call
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2018-06-28 10:40:22 +02:00
Mario Danic
942c0581d3 Fix proximity sensor video stop
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2018-06-28 01:23:54 +02:00
Mario Danic
8b922caea4 Fix a few layout bugs
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2018-06-28 00:40:16 +02:00
Mario Danic
1d8db226fa Fix emojis
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2018-06-27 08:14:20 +02:00
Mario Danic
7a55f7a269 Update usage of instance
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2018-06-26 16:28:45 +02:00
Mario Danic
40d5d6a61c Fix highlight accent color
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2018-06-25 23:55:42 +02:00
Mario Danic
c907c62c3c Fix #211
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2018-06-25 22:54:28 +02:00
Mario Danic
ca31e5e967 Fix #202
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2018-06-25 21:24:46 +02:00
Mario Danic
482e91655c Dont return success when starting activity
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2018-06-25 18:35:34 +02:00
Mario Danic
8b27286536 Fix bugs with Android 5
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2018-06-24 21:41:19 +02:00
Mario Danic
75fb4cbea1 Fix crashing bugs
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2018-06-24 21:31:50 +02:00
Mario Danic
a2de1bfd9d Try to fix
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2018-06-24 20:49:15 +02:00
Mario Danic
cbfa3c3f18 Fix bugs
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2018-06-23 20:53:22 +02:00
Mario Danic
0709ce1270 Fix a missing instance for method
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2018-06-21 21:55:41 +02:00
AndyScherzinger
1cbe3c0d04
use getters 2018-06-21 20:28:03 +02:00
AndyScherzinger
2f3c2c0f17
use TextUtils for null/empty checks 2018-06-21 16:20:47 +02:00
AndyScherzinger
066e0702d7
dynamic bottom sheet header for room config 2018-06-21 15:47:21 +02:00
AndyScherzinger
26d45c466b
Fix #151 by defining more specific bottom sheet header strings 2018-06-21 13:01:23 +02:00
Mario Danic
adfd7bacb0 Fix potential bug with possible user id
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2018-06-20 20:22:21 +02:00
Mario Danic
078115d478 Fix #162 and a few other bugs
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2018-06-20 20:04:55 +02:00
Mario Danic
8d409cd4d6 Fix a typo
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2018-06-20 19:39:53 +02:00
Mario Danic
1678a2e7ab Delete notification groups on upgrade
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2018-06-20 08:09:34 +02:00
Mario Danic
aed03980af Show notification if app is not in foreground
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2018-06-19 22:39:43 +02:00
Mario Danic
caebce2b22 Fix up singleton to store room state
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2018-06-19 20:46:20 +02:00
Mario Danic
76fc46ab04 Dont check activity
Signed-off-by: Mario Danic <mario@lovelyhq.com>
2018-06-19 20:44:05 +02:00