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 |
|