Commit graph

3931 commits

Author SHA1 Message Date
Andy Scherzinger
deac2059ff
improve lint/detekt
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2022-04-08 09:21:11 +02:00
Marcel Hibbe
eb961b0452
minor cleanup after merge
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2022-04-08 09:21:11 +02:00
Marcel Hibbe
9c0ea73b5d
fix parsing of json of emoji voters
basic update for emoji voters in UI

Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2022-04-08 09:21:11 +02:00
Marcel Hibbe
f61872af7c
remove redundant code for reactions recyclerview
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2022-04-08 09:21:10 +02:00
Andy Scherzinger
c4632f5d42
load avatars of reaction actors, optimize layout
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2022-04-08 09:21:10 +02:00
drone
f99a33956a
Drone: update Lint results to reflect reduced error/warning count [skip ci]
Signed-off-by: drone <drone@nextcloud.com>
2022-04-08 09:21:10 +02:00
Andy Scherzinger
646e857e74
remove unused color definition
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2022-04-08 09:21:10 +02:00
Andy Scherzinger
6222c6b146
further harmonize the icon colos for bottom sheet menus
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2022-04-08 09:21:10 +02:00
drone
ee38afbf00
Drone: update Lint results to reflect reduced error/warning count [skip ci]
Signed-off-by: drone <drone@nextcloud.com>
2022-04-08 09:21:10 +02:00
Andy Scherzinger
b66474dcb5
update bottom sheet design to latest material3, including icon tinting
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2022-04-08 09:21:09 +02:00
Andy Scherzinger
06f42a4c00
Render list of reactions in recycler view in bottom sheet
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2022-04-08 09:21:09 +02:00
Andy Scherzinger
c19dd5fc71
hide reactions when not supported by server
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2022-04-08 09:21:09 +02:00
Marcel Hibbe
4abe8ae41d
add details view for reactions (WIP)
TODO: encoding for emoji is wrong to send it to server
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2022-04-08 09:21:09 +02:00
Andy Scherzinger
0f4f04da8d
add git hook installation
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2022-04-08 09:21:09 +02:00
Andy Scherzinger
402a1bd3c3
organize imports
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2022-04-08 09:21:08 +02:00
Andy Scherzinger
3daaa8152e
fic kotlin formatting
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2022-04-08 09:21:08 +02:00
Andy Scherzinger
60b277637b
improve detekt score
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2022-04-08 09:21:08 +02:00
Andy Scherzinger
b06927726c
emoji bar for chat message bottomsheet
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2022-04-08 09:21:08 +02:00
Marcel Hibbe
d845422097
open dialog when clicked on reactions (WIP)
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2022-04-08 09:21:08 +02:00
Marcel Hibbe
382f17ca55
add margin between reactions
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2022-04-08 09:21:07 +02:00
Marcel Hibbe
818a8341a7
fix to hide avatar for 1to1conversations when reaction is received by system message
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2022-04-08 09:21:07 +02:00
Marcel Hibbe
d7e203ee7a
align emojis to left
not sure if this change might introduce bugs.
for now i don't see any reason why there was
app:justifyContent="flex_end"

Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2022-04-08 09:21:07 +02:00
Marcel Hibbe
34422f7b20
fix to removeAllViews also for messages without emojis
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2022-04-08 09:21:06 +02:00
Marcel Hibbe
2a1f2becbd
show max 4 emojis under message
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2022-04-08 09:21:06 +02:00
Marcel Hibbe
f45b48898f
update emojis when system message arrived
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2022-04-08 09:21:06 +02:00
Marcel Hibbe
db8c4dd18a
move emojis inside bubble
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2022-04-08 09:21:06 +02:00
Marcel Hibbe
dd603f25cf
add reactions to incoming text message (wip)
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2022-04-08 09:21:05 +02:00
Marcel Hibbe
0b898616a2
hide system messages related to reactions
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2022-04-08 09:21:05 +02:00
Marcel Hibbe
2986f7c3a5
add system messages for reactions
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2022-04-08 09:21:05 +02:00
Andy Scherzinger
6c5614fab7
Merge pull request #1902 from nextcloud/dependabot/gradle/com.h3xstream.findsecbugs-findsecbugs-plugin-1.12.0
Bump findsecbugs-plugin from 1.11.0 to 1.12.0
2022-04-07 21:24:44 +02:00
dependabot[bot]
3fa23682f0
Bump findsecbugs-plugin from 1.11.0 to 1.12.0
Bumps [findsecbugs-plugin](https://github.com/find-sec-bugs/find-sec-bugs) from 1.11.0 to 1.12.0.
- [Release notes](https://github.com/find-sec-bugs/find-sec-bugs/releases)
- [Changelog](https://github.com/find-sec-bugs/find-sec-bugs/blob/master/CHANGELOG.md)
- [Commits](https://github.com/find-sec-bugs/find-sec-bugs/commits)

---
updated-dependencies:
- dependency-name: com.h3xstream.findsecbugs:findsecbugs-plugin
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-04-07 01:15:22 +00:00
Nextcloud bot
2fa871fd51
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-04-06 04:07:42 +00:00
Nextcloud bot
f9cea95547
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-04-05 04:08:15 +00:00
Andy Scherzinger
d07bfe0521
Merge pull request #1899 from nextcloud/dependabot/github_actions/hmarr/auto-approve-action-2.2.1
Bump hmarr/auto-approve-action from 2.1.0 to 2.2.1
2022-04-05 01:53:32 +02:00
dependabot[bot]
50846d4a1b
Bump hmarr/auto-approve-action from 2.1.0 to 2.2.1
Bumps [hmarr/auto-approve-action](https://github.com/hmarr/auto-approve-action) from 2.1.0 to 2.2.1.
- [Release notes](https://github.com/hmarr/auto-approve-action/releases)
- [Commits](https://github.com/hmarr/auto-approve-action/compare/v2.1.0...v2.2.1)

---
updated-dependencies:
- dependency-name: hmarr/auto-approve-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-04-04 23:13:10 +00:00
Andy Scherzinger
2bee41f515
Merge pull request #1897 from nextcloud/dependabot/gradle/org.jetbrains.kotlin-kotlin-gradle-plugin-1.6.20
Bump kotlin-gradle-plugin from 1.6.10 to 1.6.20
2022-04-04 12:11:35 +02:00
Andy Scherzinger
4d44ecb961
Merge pull request #1892 from nextcloud/bumpMasterTo14.1.0
bump master to 14.1.0 Alpha 1
2022-04-04 12:04:16 +02:00
Marcel Hibbe
85afee12a4
bump master to 14.1.0 Alpha 1
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2022-04-04 09:34:58 +02:00
Nextcloud Android Bot
fd20e4caf8 Weekly 13.1.0 Alpha 18 2022-04-04 03:12:44 +00:00
dependabot[bot]
b4f34db438
Bump kotlin-gradle-plugin from 1.6.10 to 1.6.20
Bumps [kotlin-gradle-plugin](https://github.com/JetBrains/kotlin) from 1.6.10 to 1.6.20.
- [Release notes](https://github.com/JetBrains/kotlin/releases)
- [Changelog](https://github.com/JetBrains/kotlin/blob/master/ChangeLog.md)
- [Commits](https://github.com/JetBrains/kotlin/commits)

---
updated-dependencies:
- dependency-name: org.jetbrains.kotlin:kotlin-gradle-plugin
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-04-04 01:27:32 +00:00
Andy Scherzinger
9dc4d7c549
Merge pull request #1885 from nextcloud/dependabot/github_actions/peter-evans/create-or-update-comment-2
Bump peter-evans/create-or-update-comment from 1 to 2
2022-04-01 15:56:52 +02:00
Marcel Hibbe
108a568f66
Merge pull request #1894 from nextcloud/feature/noid/movePopupMenuToBottomSheet
Move popup menu to custom bottom sheet
2022-04-01 14:49:56 +02:00
Andy Scherzinger
9dc493b2f7
move popup menu to custom bottom sheet
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2022-04-01 11:33:18 +02:00
Marcel Hibbe
3e941edc24
Merge pull request #1886 from nextcloud/bugfix/1852/black-screen-or-single-videoframe-for-audiocalls
Use Transceivers instead of constraints to discard received video tracks
2022-03-30 15:25:55 +02:00
Marcel Hibbe
49fd2640bf
rename method
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2022-03-30 12:08:54 +02:00
Tim Krüger
346089cecf
Use Transceivers instead of constraints to discard received video tracks
After the migration from WebRTC from plan b to unified plan in commit 86f20dc
the media constraints are ignored for creating an answer on a peer
connection:

> Offer to Receive Options/Constraints
>
> These constraints are passed to PeerConnection’s methods for creating SDP to
> add placeholder media sections in case a sending track would not have already
> created one.
>
> With Unified Plan semantics, these are still supported for creating offers
> using a backwards compatibility shim (basically creating an RtpTransceiver if
> one doesn’t exist). It is recommended to switch to the RtpTransceiver API
> (example below). _They are no longer supported when creating answers._
>
> [1]

Because of that now all transceivers of type VIDEO will be stopped if it
is only an audio call. After stopping the transceivers the status for the
video tracks will be automatically set to ENDED.

In the 'ParticipantsAdapter' it will be checked if the video tracks are
ENDED. In that case the user avatar will be shown like before.

Resolves: #1852
See: #1773, commit 86f20dc, [1]

[1] https://docs.google.com/document/d/1PPHWV6108znP1tk_rkCnyagH9FK205hHeE9k5mhUzOg/edit#heading=h.9dcmkavg608r

Signed-off-by: Tim Krüger <t@timkrueger.me>
2022-03-30 12:08:54 +02:00
Nextcloud bot
9d8815a7a2
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-03-30 04:06:51 +00:00
Tim Krueger
231c19108a
Merge pull request #1884 from nextcloud/bugfix/noid/kotlinConversion4
Migrate userprofile/search to kotlin and align icon work with latest server
2022-03-29 18:07:20 +02:00
drone
28af2aa373
Drone: update FindBugs results to reflect reduced error/warning count [skip ci]
Signed-off-by: drone <drone@nextcloud.com>
2022-03-29 17:38:00 +02:00
Andy Scherzinger
2884c6e01c
Migrate search models to kotlin
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2022-03-29 17:37:59 +02:00