Commit graph

6719 commits

Author SHA1 Message Date
Andy Scherzinger
c005d93f8c
remove magic numbers
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2024-03-21 18:42:28 +01:00
Andy Scherzinger
ff23ced3ac
Add SPDX header
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2024-03-21 18:39:30 +01:00
Marcel Hibbe
22b93b2186
Merge pull request #3740 from nextcloud/issue_remove_animation_conversationlist_appbar
Remove flickering background on the app bar
2024-03-21 17:29:24 +01:00
sowjanyakch
1d3c792bbf
Remove flickering background on the app bar
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2024-03-21 16:58:56 +01:00
Marcel Hibbe
cc19157867 convert DisplayUtils to kt
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2024-03-21 16:39:16 +01:00
Marcel Hibbe
bb6af562cc convert MentionAutocompleteItem to kt
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2024-03-21 16:39:16 +01:00
Marcel Hibbe
4a75108557 reformat code
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2024-03-21 16:39:16 +01:00
Marcel Hibbe
c55403c023 modify log statement
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2024-03-21 16:39:16 +01:00
Marcel Hibbe
c0c671bccf fix to use correct cloudId.
Without this fix, the avatars for "normal" messages were not able to show avatars.
Only the messages that contained messageParameters with actor were able to show avatars(for example "userX invited userY")

Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2024-03-21 16:39:16 +01:00
Julius Linus
870ef03d61 Federated Mentions
- Federated mention chip
- Federated message avatars
- Helper functions

Signed-off-by: Julius Linus <julius.linus@nextcloud.com>
2024-03-21 16:39:16 +01:00
Marcel Hibbe
e76166987f
Merge pull request #3736 from nextcloud/feature/noid/hideItemsForFederatedRooms
Feature/noid/hide items for federated rooms
2024-03-21 16:07:21 +01:00
Andy Scherzinger
7f29955f3d
Update text mimetype color
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2024-03-20 19:51:08 +01:00
Andy Scherzinger
5f57d6b58c
Merge pull request #3731 from nextcloud/renovate/retrofit2version
Update retrofit2Version to v2.10.0
2024-03-20 17:54:19 +01:00
Marcel Hibbe
2cec1637e8
hide call notification setting for federated rooms
because right now it's response is http 406 as calls are not implemented for federation

Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2024-03-20 17:38:43 +01:00
Marcel Hibbe
7e57ecaf79
hide shared items for federated rooms.
because right now it's response is http 406

Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2024-03-20 15:57:32 +01:00
Marcel Hibbe
611dcb7911
fix error handling for shared items.
Before this with http 406 it threw a NPE and UI was shown as loading state.
With this commit an empty list is returned when there is a http error.

http 406 happens for federated rooms for now. So it might be that Shared items screen will be hidden by additional commits.

Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2024-03-20 15:53:39 +01:00
Marcel Hibbe
5fead79743
hide actions for federated rooms
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2024-03-20 15:22:24 +01:00
renovate[bot]
b9f32800aa
Update retrofit2Version to v2.10.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-20 14:03:08 +01:00
Marcel Hibbe
d15d8d29e6
fix to mark federated rooms as read
As lastMessageId is not available for federatedRooms, the API on server side now allows the messageID to be optional. This is done by this commit: messageId is null when it's a federated room.

Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2024-03-20 13:27:48 +01:00
Marcel Hibbe
b6ab3cde9a
manually bump to 19.0.0 Alpha 03
manual bump because alpha automation failed to bump version because of
"Commits must have verified signatures".
See https://github.com/nextcloud/talk-android/pull/3733#issuecomment-2007183957

Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2024-03-19 14:42:46 +01:00
Marcel Hibbe
fe82c3f061
manually bump to 19.0.0 Alpha 02
there seems to be something wrong that alpha workflow did not update the apps version.
Thats why gplay complains with
"Google Api Error: forbidden: Cannot update a published APK. - Cannot update a published APK."
because it always tries to upload 19.0.0 Alpha 02.

On nextcloud ftp server, it was most probably always overwritten as there is an up to date alpha2 version.

Seeting the version number to 19.0.0 Alpha 02 should make sure that an alpha 3 is built on next automation run.

The root cause that the version was/is not changed by the automation is still unclear.

Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2024-03-19 14:13:39 +01:00
parneet-guraya
1dce0ca7a0
use id to retain scroll state
Signed-off-by: parneet-guraya <gurayaparneet@gmail.com>
2024-03-19 13:41:05 +01:00
Andy Scherzinger
8280479aa5
Update mimetype icons
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2024-03-19 13:37:28 +01:00
sowjanyakch
d80200906d
ktlintFormat
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2024-03-19 13:19:55 +01:00
sowjanyakch
2b1a16415c
Implemented delete-messages-unlimited feature
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2024-03-19 13:19:55 +01:00
Marcel Hibbe
2e317b134c
use X-Chat-Last-Common-Read to fix read status
Without this commit, the read status was broken as X-Chat-Last-Common-Read was not used. It was removed by
https://github.com/nextcloud/talk-android/pull/3630

As a result all messages were marked as unread after waiting for 30 seconds.

With this commit the X-Chat-Last-Common-Read is used again.
Messages are marked as read again also after 30 seconds.

Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2024-03-19 13:18:09 +01:00
Nextcloud bot
986773e0b4
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-03-18 02:45:04 +00:00
Andy Scherzinger
df38cfccdc
Add SPDX header
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2024-03-17 18:33:33 +01:00
Andy Scherzinger
65662e90c8
Add SPDX header
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2024-03-17 18:19:19 +01:00
Andy Scherzinger
4b0daa6978
Fix kotlin fomatting
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2024-03-17 14:41:36 +01:00
Andy Scherzinger
96ba967b03
Add SPDX header
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2024-03-17 14:19:56 +01:00
Giacomo Pacini
ee6722bc6f
Merge branch 'master' into master 2024-03-14 15:25:22 +01:00
Sowjanya Kota
a8d9009106
Merge pull request #3712 from nextcloud/bugfix/noid/fixConversationListItemsAfterSearch
fix to hide open conversations after returning from search
2024-03-14 15:23:46 +01:00
Nextcloud bot
bad323280a
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-03-14 02:44:51 +00:00
Giacomo Pacini
2deefb3c0a
Merge remote-tracking branch 'upstream/master' 2024-03-13 18:50:32 +01:00
Giacomo Pacini
064c3809b0
removed some comments, modified indentation, moved some strings to companion object
Signed-off-by: Giacomo Pacini <giacomopacini98@gmail.com>
2024-03-13 18:47:51 +01:00
Giacomo Pacini
ca5a379883
save audio message id and position when activity is destroyed,
also restores view position to that message and then resumes audio playback if was playing.
it allows to continue playing audio on screen rotation.

Signed-off-by: Giacomo Pacini <giacomopacini98@gmail.com>
2024-03-13 18:47:51 +01:00
Giacomo Pacini
b44641c0c7
removed stopMediaPlayer method call in onStop(),
so that audio continues playing when activity in background.
if backpressed, stops mediaplayer

Signed-off-by: Giacomo Pacini <giacomopacini98@gmail.com>
2024-03-13 18:47:50 +01:00
Marcel Hibbe
415349e267
Merge pull request #3716 from nextcloud/fix_recents_screen
Fix Recents Screen
2024-03-13 17:50:37 +01:00
sowjanyakch
353cabc442 Fix Recents Screen
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2024-03-13 17:37:56 +01:00
Marcel Hibbe
5d0c409d7b
fix to hide open conversations after returning from search
How to test:

pre-requirement:
There are open conversations

without this commit:
1. go to search screen
2. go back to conversation list
-> all open conversations are listed below own conversations

with this commit:
1. go to search screen
2. go back to conversation list
-> only own conversations are listed

Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2024-03-13 13:07:42 +01:00
Marcel Hibbe
306ac18732
fix placement of contacts header items
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2024-03-13 12:45:09 +01:00
Marcel Hibbe
445721487e
dont hide message reactions in MessageActionsDialog for federated rooms
works out of the box after server implemented federated reactions. no client changes needed

Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2024-03-13 10:25:17 +01:00
Nextcloud bot
a067692662
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-03-13 04:36:28 +00:00
Andy Scherzinger
13a5c9444f
Migrate to latest bottom sheet theming implementation
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2024-03-12 20:21:17 +01:00
Andy Scherzinger
cc0ccdf56c
Update dependency com.github.nextcloud.android-common:ui to v0.18.0
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2024-03-12 20:21:17 +01:00
Marcel Hibbe
625de657d4
hide features if federation is not available
+ add capability queries (not yet used)

Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2024-03-12 10:52:58 +01:00
Nextcloud bot
11a7764bad
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-03-12 02:44:05 +00:00
parneet-guraya
3866beed92
fix remind me later dialog
Signed-off-by: parneet-guraya <gurayaparneet@gmail.com>
2024-03-11 15:28:38 +01:00
parneet-guraya
e7ef618119
fix filter dialog
Signed-off-by: parneet-guraya <gurayaparneet@gmail.com>
2024-03-11 15:28:38 +01:00
rakekniven
7dc7c9c99c
fix(i18n): Fixed case of word
Reported at Transifex

Signed-off-by: rakekniven <2069590+rakekniven@users.noreply.github.com>
2024-03-09 15:19:06 +01:00
Nextcloud bot
da0dc5f6ef
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-03-09 03:11:52 +00:00
Nextcloud bot
57ec680d41
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-03-08 02:44:28 +00:00
Andy Scherzinger
c8e18a3ab3
Merge pull request #3684 from nextcloud/renovate/mockito-monorepo
fix(deps): update mockito monorepo to v5.11.0
2024-03-07 16:01:06 +01:00
Andy Scherzinger
5625beb4d8
Merge pull request #3697 from nextcloud/renovate/media3_version
fix(deps): update media3_version to v1.3.0
2024-03-07 15:59:39 +01:00
Andy Scherzinger
197f7649bb
Merge pull request #3695 from nextcloud/renovate/androidxcameraversion
fix(deps): update androidxcameraversion to v1.3.2
2024-03-07 15:46:38 +01:00
renovate[bot]
d4d0d625bb
fix(deps): update media3_version to v1.3.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-07 10:09:25 +00:00
Nextcloud bot
fb6b070273
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-03-07 02:54:08 +00:00
renovate[bot]
1a1b61c5c4
fix(deps): update androidxcameraversion to v1.3.2
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-06 19:09:18 +00:00
Nextcloud bot
c3df939382
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-03-06 07:02:59 +00:00
Julius Linus
a74c8c552d Popup bubbles now show up + Fixed bugs with images + added new string resource
Signed-off-by: Julius Linus <julius.linus@nextcloud.com>
2024-03-05 09:25:56 -06:00
Marcel Hibbe
ba812cabdc
add rest of SpreedFeatures to Enums
delete method hasSpreedFeatureCapability that accepts capability name as string

Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2024-03-05 13:31:23 +01:00
parneet-guraya
a483fb7017
add shimmer on top of list & refactoring
Signed-off-by: parneet-guraya <gurayaparneet@gmail.com>
2024-03-05 13:26:11 +01:00
sowjanyakch
8ff4771e60
Renaming strings from circles to teams.
Signed-off-by: Sowjanya Kota<sowjanya.kch@gmail.com>
2024-03-05 13:20:17 +01:00
parneet-guraya
82a46572d9
wrap inside scroll view
Signed-off-by: parneet-guraya <gurayaparneet@gmail.com>
2024-03-05 10:48:57 +01:00
parneet-guraya
1881676538
use default constructor for fragment
Signed-off-by: parneet-guraya <gurayaparneet@gmail.com>
2024-03-05 10:48:56 +01:00
Nextcloud bot
b70b6dfba9
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-03-05 02:44:37 +00:00
renovate[bot]
1ba04dd526
fix(deps): update mockito monorepo to v5.11.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-04 21:23:41 +00:00
renovate[bot]
4029d0aa3f
fix(deps): update dependency com.github.nextcloud.android-common:ui to v0.17.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-04 20:20:03 +00:00
Marcel Hibbe
fcf6c845a7
add compatibility for janus 1.x
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2024-03-04 12:59:35 +01:00
Marcel Hibbe
abe9a9d5fb
fix ShareUtilsTest
fix to not assume baseUrl can't be null for mockito 'when' condition

Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2024-03-04 12:58:40 +01:00
Nextcloud bot
1612639b2e
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-03-02 02:48:15 +00:00
Andy Scherzinger
a9cbb657ee
fix comment
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2024-03-01 18:05:32 +01:00
Andy Scherzinger
3c80197908
Update classes path for spotbugs to pick up
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2024-03-01 18:03:11 +01:00
renovate[bot]
523ade6250
fix(deps): update coilktversion to v2.6.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-01 13:49:19 +00:00
Andy Scherzinger
1879a4a0cb
Merge pull request #3671 from nextcloud/renovate/daggerversion
fix(deps): update daggerversion to v2.51
2024-03-01 14:43:17 +01:00
Nextcloud bot
688b54efa0
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-03-01 11:10:57 +00:00
Marcel Hibbe
754b825096
pass spreedCapabilities instead user to CapabilitiesUtil
To support federated rooms, capabilities have to be checked from the room which now also has capabilities.
If room is not federated, capabilities fromuser are still checked.
This is why CapabilitiesUtil had to be refactored to accept SpreedCapabilities which can come from room or user.

Other than that, many other changes were made as a result of this change.

Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2024-03-01 11:25:11 +01:00
renovate[bot]
bd5e427b6d
fix(deps): update daggerversion to v2.51
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-02-29 22:47:00 +00:00
Nextcloud bot
bdd8e534d7
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-02-29 02:43:47 +00:00
Nextcloud bot
c79def1855
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-02-28 02:53:22 +00:00
Julius Linus
dcc8fc6954
Major refactoring, implements ChatActivity in MVVM to prepare for federation and offline chatting.
Signed-off-by: Julius Linus <julius.linus@nextcloud.com>
2024-02-27 17:52:30 +01:00
Marcel Hibbe
a3ecd82d13
rename MagicWebRTCUtils to WebRTCUtils
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2024-02-27 15:23:11 +01:00
Marcel Hibbe
dd6991e39e
remove hardcoded devices for webrtc audio setup
android-talk-webrtc in version 121.6167.0 doesn't allow access to
WebRtcAudioManager
WebRtcAudioUtils
anymore.

These classes were used for
HARDWARE_AEC_EXCLUDE_SET
and
OPEN_SL_ES_INCLUDE_SET
lists, which were not updated for years.

For these reasons the checks for HARDWARE_AEC_EXCLUDE_SET and OPEN_SL_ES_INCLUDE_SET are removed.
If people are complaining about different behaviour of audio performance/echoes, it's worth to have a closer look at the changes again.

Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2024-02-27 15:23:11 +01:00
Marcel Hibbe
8c47b89ce5
fix ktlint warnings
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2024-02-27 15:15:56 +01:00
renovate[bot]
66c643a0e8
fix(deps): update dependency com.github.nextcloud-deps:android-talk-webrtc to v121
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-02-27 13:25:02 +00:00
Nextcloud bot
1c8d2b0dce
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-02-27 02:43:36 +00:00
Andy Scherzinger
6739086584
Merge pull request #3661 from nextcloud/renovate/com.github.nextcloud.android-common-ui-0.x
fix(deps): update dependency com.github.nextcloud.android-common:ui to v0.16.0
2024-02-26 18:20:30 +01:00
Andy Scherzinger
e2dbf0cdbe
Merge pull request #3662 from nextcloud/renovate/com.h3xstream.findsecbugs-findsecbugs-plugin-1.x
fix(deps): update dependency com.h3xstream.findsecbugs:findsecbugs-plugin to v1.13.0
2024-02-26 18:04:32 +01:00
Marcel Hibbe
fde635d61b
show test notification + modify doc
show test notification from
occ notification:test-push --talk username

This will directly show the push notification without to fetch any data from nextcloud instance.

Additionally some additions to documentation were made

Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2024-02-26 16:52:41 +01:00
renovate[bot]
82ea36e598
fix(deps): update dependency com.h3xstream.findsecbugs:findsecbugs-plugin to v1.13.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-02-26 15:52:31 +00:00
renovate[bot]
403babcc86
fix(deps): update dependency com.github.nextcloud.android-common:ui to v0.16.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-02-26 15:51:21 +00:00
Marcel Hibbe
c13f2589ff
handle federation invitations
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2024-02-26 16:45:55 +01:00
Nextcloud bot
2c911d998a
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-02-25 02:44:43 +00:00
Nextcloud bot
18e0ae31bc
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-02-21 02:41:28 +00:00
Nextcloud bot
094ecea457
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-02-20 02:40:30 +00:00
renovate[bot]
e51413f78f
fix(deps): update dependency org.jetbrains.kotlinx:kotlinx-serialization-json to v1.6.3 2024-02-19 09:53:38 +00:00
Marcel Hibbe
f64bd87d84
Merge remote-tracking branch 'origin/master' into feature/edit_messages 2024-02-19 09:27:20 +01:00
Nextcloud bot
a8aa3e42a4
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-02-19 02:43:20 +00:00
Nextcloud bot
8768a901cd
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-02-18 02:43:10 +00:00