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
Nextcloud bot
99974d2c81
[tx-robot] updated from transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-08-10 04:15:22 +00:00
Marcel Hibbe
4fa546d075
move input hint to right
...
(in conversation list when rtl is activated)
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2021-08-09 18:50:49 +02:00
Marcel Hibbe
6595b4bb5b
fix to search when rtl is activated
...
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2021-08-09 17:59:26 +02:00
Marcel Hibbe
f18ace3b80
set layoutDirection for message input panel to ltr. this will fix that voice messages can be recorded. only set the text input to layoutDirection=locale
...
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2021-08-09 15:45:10 +02:00
Nextcloud bot
d0b83c6cbb
[tx-robot] updated from transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-08-06 04:07:10 +00:00
Nextcloud bot
8155f0b3b9
[tx-robot] updated from transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-08-03 03:58:43 +00:00
Nextcloud bot
b7f8c5f8bd
[tx-robot] updated from transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-08-01 03:33:27 +00:00
Nextcloud bot
622a7dfeae
[tx-robot] updated from transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-07-29 03:29:04 +00:00
Nextcloud bot
edef3679a9
[tx-robot] updated from transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-07-28 03:31:59 +00:00
Nextcloud bot
25d47dc2dc
[tx-robot] updated from transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-07-26 03:31:21 +00:00
Nextcloud bot
f8517f6a39
[tx-robot] updated from transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-07-24 03:35:46 +00:00
Nextcloud bot
c709a08b90
[tx-robot] updated from transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-07-23 03:32:48 +00: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
Andy Scherzinger
b3d0ebf577
properly tint menu icon
...
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-07-22 22:14:36 +02:00
Andy Scherzinger
ac92e27ac0
Align forward icon throughout the platforms
...
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
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
Nextcloud bot
29ffc18030
[tx-robot] updated from transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-07-22 03:34:42 +00:00
Nextcloud bot
844a6c9d7e
[tx-robot] updated from transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-07-21 03:32:29 +00:00
Andy Scherzinger
44cc5542d0
Merge pull request #1483 from nextcloud/bugfix/noid/rtlUntranslated
...
Improve RTL text flow for untranslated strings in rtl languages/views
2021-07-20 15:14:52 +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
Nextcloud bot
50a89ba2ba
[tx-robot] updated from transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-07-19 06:40:29 +00:00
Andy Scherzinger
a5838dc44e
Improve RTL text flow for untranslated strings in rtl languages/views
...
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-07-17 14:00:50 +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
Nextcloud bot
d0de0edc9e
[tx-robot] updated from transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-07-15 09:38:12 +00: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 Krueger
ad17ef2729
Merge pull request #1475 from nextcloud/feature/248/no-missed-call-message
...
Add new system message types
2021-07-15 08:46:37 +02:00
Nextcloud bot
e32d12faaa
[tx-robot] updated from transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-07-15 04:00:17 +00: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
drone
42acec86a1
Merge commit '8468535a1e3e8bcaf1641f0f1e6a991109295575'
2021-07-14 08:41:25 +00: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
Nextcloud bot
1390f4bad2
[tx-robot] updated from transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-07-14 03:59:06 +00:00
Tim Krüger
93d037dc26
Make links clickable in conversation description
...
Set attribute 'andorid:autoLink' to 'web' for converting all web links
to clickable links.
Resolves : #1243
Signed-off-by: Tim Krüger <t@timkrueger.me>
2021-07-13 17:14:55 +02:00
Andy Scherzinger
62cedac056
add item background for popup menu items
...
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-07-13 07:32:54 +00:00
Nextcloud bot
313c63254b
[tx-robot] updated from transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-07-13 03:59:01 +00: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
Andy Scherzinger
c4ca802408
Merge pull request #1457 from nextcloud/bugfix/ServerSelectionLogoRatio
...
remove logo dimensions for sever selection screen
2021-07-12 12:01:44 +02:00
Marcel Hibbe
b57f091c36
allow square logos for server selection screen
...
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2021-07-12 11:31:16 +02:00
Marcel Hibbe
6869e8a6df
remove logo dimensions for sever selection screen
...
(to allow other ratios and sizes for customer logos. adapt to files app which allows all sizes)
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2021-07-12 10:52:58 +02:00
Andy Scherzinger
725c7a1f20
Merge pull request #1451 from nextcloud/bugfix/1415/share_from_browser
...
Share from a browser should share the page URL
2021-07-12 10:46:24 +02:00
Nextcloud bot
c97c851c0a
[tx-robot] updated from transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-07-11 03:57:44 +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
Nextcloud bot
467cbcbb4a
[tx-robot] updated from transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-07-10 04:11:43 +00:00
Joas Schilling
b9bf035bbc
Fix the check if user joined on another device
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-07-09 19:47:21 +00:00
Marcel Hibbe
e681016f70
Merge pull request #1433 from nextcloud/bugfix/1414/sendButtonTransparentBackground
...
make disabled send button background transparent
2021-07-09 21:24:34 +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
b04c213831
make disabled send button background transparent
...
Fixes #1414
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-07-09 16:51:32 +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
Joas Schilling
3a18a4ca93
Fix call notifications
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-07-09 14:54:54 +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
a644fa9e7b
Merge pull request #1423 from nextcloud/bugfix/1422/baseUrlNull
...
Only parse baseURl if not empty
2021-07-09 11:21:27 +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
Nextcloud bot
597a40a156
[tx-robot] updated from transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-07-09 04:00:14 +00: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
9da85eec83
Merge pull request #1403 from nextcloud/bugfix/noid/unbreak-translations
...
Unbreak translations
2021-07-08 13:39:50 +02:00
Nextcloud bot
ad55fde3f9
[tx-robot] updated from transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-07-08 04:00:32 +00:00
Nextcloud bot
3c1cfb2374
[tx-robot] updated from transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-07-07 03:58:31 +00:00
Nextcloud bot
ae556a98f3
[tx-robot] updated from transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-07-06 08:02:29 +00:00
Joas Schilling
2c00b1e3a4
Unbreak translations
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-07-06 09:42:07 +02:00
Andy Scherzinger
f27a0524c2
raise size of clickable-text areas
...
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-07-05 17:22:52 +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
Andy Scherzinger
d1d81b947f
reformat code and use app-defined color-white
...
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-07-02 14:36: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
47f535fdc9
limit text length of participant name
...
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
Andy Scherzinger
9a4d7b78a2
a11y - raise hitbox of icons to 48dp
...
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-06-30 15:53:29 +02:00
Andy Scherzinger
9c9d2f8a8f
a11y - raise contrast text/bubble in dark mode
...
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-06-30 15:53:24 +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