Marcel Hibbe
1368f70d1f
Add system messages for avatar set/removed
...
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2023-05-01 12:25:22 +02:00
Marcel Hibbe
3dc3bf0cf8
WIP: add new screen for conversation info editing
...
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2023-05-01 12:25:22 +02:00
Marcel Hibbe
84008a40dc
add editing mode for conversation avatar
...
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2023-05-01 12:25:22 +02:00
Marcel Hibbe
dc09f21870
add capability check for conversation avatar
...
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2023-05-01 12:25:21 +02:00
Marcel Hibbe
5870a30410
fix avatar buttons color
...
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2023-05-01 12:25:21 +02:00
Marcel Hibbe
797c062981
refactor (move methods)
...
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2023-05-01 12:25:21 +02:00
Marcel Hibbe
d6cec7f6b7
Add fun to delete conversation avatar
...
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2023-05-01 12:25:21 +02:00
Marcel Hibbe
0063fa8c10
Fix key name to upload conversation avatars
...
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2023-05-01 12:25:20 +02:00
Marcel Hibbe
fdb845d298
WIP: Add conversation avatar options in conversation info
...
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2023-05-01 12:25:20 +02:00
Marcel Hibbe
87c53979c4
Use avatars from server (depending on light/dark mode)
...
Placeholder avatars now also come from the server. This means themed avatars from the android app itself are no longer used here. The static placeholder icons defined in loadConversationAvatar are only used when the http request fails completely.
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2023-05-01 12:25:20 +02:00
Marcel Hibbe
ed4fa3690d
Use avatars from server (depending on light/dark mode)
...
Placeholder avatars now also come from the server. This means themed avatars from the android app itself are no longer used here. The static placeholder icons defined in loadConversationAvatar are only used when the http request fails completely.
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2023-05-01 12:25:20 +02:00
Marcel Hibbe
ad15bca8ec
WIP: use placeholders when avatar is not available
...
Problem:
i want to load avatars and if no avatar is received, i want to show the placeholder.
However with coil it's not possible to make the placeholders rounded. See https://github.com/coil-kt/coil/issues/37
I could just set the old rounded drawables that we have, but then theming wouldn't work!
So i ask myself what the best solution could be:
- Somehow check beforehand if an avatar is set at all? and then choose between loading the avatar or loading the the static drawables in their own loading request.
- Somehow check if the avatar response is empty. And if yes, make another request to load the static drawables.
- Use jetpack compose instead of coil to clip the image? See https://stackoverflow.com/questions/66014834/how-to-draw-a-circular-image-in-android-jetpack-compose
- create new svg's? Somehow it should be possible to invert a circle and just overlay it over an image..?
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2023-05-01 12:25:19 +02:00
Marcel Hibbe
c3b468118a
WIP: show conversation avatar
...
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2023-05-01 12:25:19 +02:00
Marcel Hibbe
60534aca61
change image picker code for activity instead controller
...
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2023-05-01 12:25:19 +02:00
Tim Krüger
f44c528b4f
Move image picker logic to new class 'PickImage'
...
This is a preparation to solve issue #2555 and centralize the image picker
functionality.
See: #2555
Signed-off-by: Tim Krüger <t@timkrueger.me>
2023-05-01 12:25:19 +02:00
Nextcloud bot
c9739e69af
Fix(l10n): Update translations from Transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-05-01 04:40:19 +00:00
Nextcloud bot
a68569bf8b
Fix(l10n): Update Transifex configuration
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-05-01 04:40:00 +00:00
Nextcloud bot
1e67ec8656
Fix(l10n): Update translations from Transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-04-30 04:37:00 +00:00
Nextcloud bot
f5fe00845d
Fix(l10n): Update Transifex configuration
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-04-30 04:36:40 +00:00
Nextcloud bot
0a7cffee68
Fix(l10n): Update translations from Transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-04-29 04:36:28 +00:00
Nextcloud bot
51ff21cf6e
Fix(l10n): Update Transifex configuration
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-04-29 04:36:09 +00:00
dependabot[bot]
631b7eb536
Build(deps): Bump net.zetetic:android-database-sqlcipher
...
Bumps [net.zetetic:android-database-sqlcipher](https://github.com/sqlcipher/android-database-sqlcipher ) from 4.5.3 to 4.5.4.
- [Release notes](https://github.com/sqlcipher/android-database-sqlcipher/releases )
- [Commits](https://github.com/sqlcipher/android-database-sqlcipher/compare/v4.5.3...v4.5.4 )
---
updated-dependencies:
- dependency-name: net.zetetic:android-database-sqlcipher
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-04-28 01:57:35 +00:00
Nextcloud bot
4d9cb24b63
Fix(l10n): Update translations from Transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-04-27 04:42:05 +00:00
Nextcloud bot
031c9c9d45
Fix(l10n): Update Transifex configuration
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-04-27 04:41:46 +00:00
Marcel Hibbe
eab052d2ac
Delete unused methods
...
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2023-04-26 09:53:19 +02:00
Marcel Hibbe
1e87fe9b69
Fix wrong parsing of capability values
...
This fixes bugs that were introduced with https://github.com/nextcloud/talk-android/pull/2963
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2023-04-26 09:53:19 +02:00
Andy Scherzinger
30e4698c1a
Parse value as String which should work for old values (Strings) and new Values (Boolean)
...
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2023-04-26 09:53:18 +02:00
Andy Scherzinger
6172b62f3f
Switch webRTC dependency to gradle dependency managed via jitpack publishings
...
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2023-04-26 09:02:36 +02:00
Nextcloud bot
f72d6032ff
Fix(l10n): Update translations from Transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-04-26 04:42:55 +00:00
Nextcloud bot
0575be71aa
Fix(l10n): Update Transifex configuration
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-04-26 04:42:34 +00:00
Nextcloud bot
366e57afbe
Fix(l10n): Update translations from Transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-04-25 04:32:23 +00:00
Nextcloud bot
383420f3c5
Fix(l10n): Update Transifex configuration
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-04-25 04:32:04 +00:00
Andy Scherzinger
cce57ebfb4
Merge pull request #2969 from nextcloud/dependabot/gradle/org.mockito-mockito-core-5.3.1
...
Build(deps): Bump org.mockito:mockito-core from 5.3.0 to 5.3.1
2023-04-24 12:20:56 +02:00
Andy Scherzinger
db4a19398d
Merge pull request #2968 from nextcloud/dependabot/gradle/okhttpVersion-4.11.0
...
Build(deps): Bump okhttpVersion from 4.10.0 to 4.11.0
2023-04-24 12:20:21 +02:00
Nextcloud bot
c2e5524600
Fix(l10n): Update translations from Transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-04-24 04:44:58 +00:00
Nextcloud bot
9bfdcf3d1e
Fix(l10n): Update Transifex configuration
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-04-24 04:44:39 +00:00
dependabot[bot]
19ff9818c9
Build(deps): Bump org.mockito:mockito-core from 5.3.0 to 5.3.1
...
Bumps [org.mockito:mockito-core](https://github.com/mockito/mockito ) from 5.3.0 to 5.3.1.
- [Release notes](https://github.com/mockito/mockito/releases )
- [Commits](https://github.com/mockito/mockito/compare/v5.3.0...v5.3.1 )
---
updated-dependencies:
- dependency-name: org.mockito:mockito-core
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-04-24 01:58:33 +00:00
dependabot[bot]
ca5deb37ba
Build(deps): Bump okhttpVersion from 4.10.0 to 4.11.0
...
Bumps `okhttpVersion` from 4.10.0 to 4.11.0.
Updates `com.squareup.okhttp3:okhttp` from 4.10.0 to 4.11.0
- [Release notes](https://github.com/square/okhttp/releases )
- [Changelog](https://github.com/square/okhttp/blob/master/CHANGELOG.md )
- [Commits](https://github.com/square/okhttp/compare/parent-4.10.0...parent-4.11.0 )
Updates `com.squareup.okhttp3:okhttp-urlconnection` from 4.10.0 to 4.11.0
- [Release notes](https://github.com/square/okhttp/releases )
- [Changelog](https://github.com/square/okhttp/blob/master/CHANGELOG.md )
- [Commits](https://github.com/square/okhttp/compare/parent-4.10.0...parent-4.11.0 )
Updates `com.squareup.okhttp3:logging-interceptor` from 4.10.0 to 4.11.0
- [Release notes](https://github.com/square/okhttp/releases )
- [Changelog](https://github.com/square/okhttp/blob/master/CHANGELOG.md )
- [Commits](https://github.com/square/okhttp/compare/parent-4.10.0...parent-4.11.0 )
---
updated-dependencies:
- dependency-name: com.squareup.okhttp3:okhttp
dependency-type: direct:production
update-type: version-update:semver-minor
- dependency-name: com.squareup.okhttp3:okhttp-urlconnection
dependency-type: direct:production
update-type: version-update:semver-minor
- dependency-name: com.squareup.okhttp3:logging-interceptor
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-04-24 01:57:48 +00:00
Nextcloud bot
906911305a
Fix(l10n): Update translations from Transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-04-23 04:36:37 +00:00
Nextcloud bot
4c9c9b35bd
Fix(l10n): Update Transifex configuration
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-04-23 04:36:19 +00:00
Nextcloud bot
176ac229d7
Fix(l10n): Update translations from Transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-04-22 04:41:50 +00:00
Nextcloud bot
0c5143f6dd
Fix(l10n): Update Transifex configuration
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-04-22 04:41:31 +00:00
Marcel Hibbe
e362e8e3d0
Handle new capabilities json structure
...
Because of "supported-reactions" and "predefined-backgrounds" the capabilities cannot be parsed with
`var config: HashMap<String, HashMap<String, String>>?`
As a result it was not possible to login into the app.
This is now
`var config: HashMap<String, HashMap<String, @RawValue @Contextual Any>>?` while always checking for the type when accessing the values.
"supported-reactions" and "predefined-backgrounds" are not handled yet.
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2023-04-21 17:29:53 +02:00
Marcel Hibbe
ae9e9924e6
Fix to open conversation list when navigating back after chat was opened by notification
...
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2023-04-21 13:30:25 +02:00
dependabot[bot]
78cb30db7d
Build(deps): Bump com.google.android.exoplayer:exoplayer
...
Bumps [com.google.android.exoplayer:exoplayer](https://github.com/google/ExoPlayer ) from 2.18.5 to 2.18.6.
- [Release notes](https://github.com/google/ExoPlayer/releases )
- [Changelog](https://github.com/google/ExoPlayer/blob/release-v2/RELEASENOTES.md )
- [Commits](https://github.com/google/ExoPlayer/compare/r2.18.5...r2.18.6 )
---
updated-dependencies:
- dependency-name: com.google.android.exoplayer:exoplayer
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-04-21 01:57:43 +00:00
Nextcloud bot
80f9e6c1d5
Fix(l10n): Update translations from Transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-04-20 04:47:31 +00:00
Nextcloud bot
93e553b62c
Fix(l10n): Update Transifex configuration
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-04-20 04:47:11 +00:00
Andy Scherzinger
12a9f9b159
add support for group mentions
...
Resolves #2860
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2023-04-19 12:05:54 +02:00
Nextcloud bot
62e8b1a9ba
Fix(l10n): Update translations from Transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-04-19 04:34:53 +00:00
Nextcloud bot
3f60066d39
Fix(l10n): Update Transifex configuration
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-04-19 04:34:35 +00:00