Commit graph

1444 commits

Author SHA1 Message Date
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