Commit graph

4524 commits

Author SHA1 Message Date
Andy Scherzinger
73c50606c2
Merge pull request #2045 from nextcloud/feat/workflow-auto-update-command-rebase.yml
Updating command-rebase.yml workflow from template
2022-05-14 00:36:52 +02:00
Nextcloud bot
5b84d9eacd Updating command-rebase.yml workflow from template
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-05-13 18:49:21 +00:00
Andy Scherzinger
e7e0d2e221
Merge pull request #2041 from nextcloud/bugfix/noid/executionRightsForHooks
Add execution flag
2022-05-13 13:33:41 +02:00
Andy Scherzinger
631c13df5e
add execution flag
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2022-05-13 13:27:23 +02:00
Andy Scherzinger
462aff0e73
Merge pull request #2039 from nextcloud/feature/2035/roundCornersBottomSheet
Make bottom_sheets initial state collapsed for the rounded top corners
2022-05-13 13:11:37 +02:00
Andy Scherzinger
e14c110b22
Merge pull request #2025 from nextcloud/chore/download-webrtc-task
build: Improve handling of webrtc download
2022-05-13 12:50:22 +02:00
Andy Scherzinger
c7ac8a3074
make bottom_sheets initial state collapsed for the rounded top corners
Resolves #2035

Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2022-05-13 12:42:44 +02:00
Andy Scherzinger
1b1a863832
Merge pull request #2022 from nextcloud/bugfix/noid/kotlinMigration6
Migrate ContactsController to kotlin + viewbinding
2022-05-13 12:35:51 +02:00
drone
3aed978305 Drone: update FindBugs results to reflect reduced error/warning count [skip ci]
Signed-off-by: drone <drone@nextcloud.com>
2022-05-13 09:32:31 +00:00
drone
b09e614c4a Drone: update Lint results to reflect reduced error/warning count [skip ci]
Signed-off-by: drone <drone@nextcloud.com>
2022-05-13 09:31:08 +00:00
drone
8bc3f80667 Merge commit 'dc705ccf4027f61ebaefe625a99087cf5641d6a7' 2022-05-13 09:25:43 +00:00
Álvaro Brey
26dfa38219
build: DownloadWebRtc: Fix newlines
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-05-13 11:20:19 +02:00
Álvaro Brey
f9472ab273
build: Add log message when libWebRtc is downloaded
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-05-13 11:20:19 +02:00
Álvaro Brey
ff32ab1172
build: Use download task output for dependency instead of hardcoding path
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-05-13 11:20:19 +02:00
Álvaro Brey
ce3ff3f1a4
Move DownloadWebRtcTask to buildSrc for cleaner build.gradle
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-05-13 11:20:19 +02:00
Álvaro Brey
bcc1b4ed2b
build: Make the DownloadWebRtcTask cacheable
This avoids having to redownload lib after clean (if build cache is enabled)

Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-05-13 11:20:18 +02:00
Álvaro Brey
a92dcc075b
build: Use a task to download webRtc for proper task dependencies
`./gradlew clean [whatever] should work now`

Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-05-13 11:20:18 +02:00
Nextcloud bot
a44a627cdf
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-05-13 09:19:46 +00:00
Andy Scherzinger
dc705ccf40
fix spinner by using enabled not refresh like on the original file
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2022-05-13 11:07:40 +02:00
Andy Scherzinger
25528aded0
improve detekt score
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2022-05-13 11:07:39 +02:00
Andy Scherzinger
e1725767c3
improve ktlint score
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2022-05-13 11:07:39 +02:00
Andy Scherzinger
c52d23fabf
improve detekt score
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2022-05-13 11:07:38 +02:00
Andy Scherzinger
e6a78405ed
Migrate ContactsController to kotlin + viewbinding
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2022-05-13 11:07:38 +02:00
Andy Scherzinger
8f959c12dd
Merge pull request #1923 from nextcloud/feature/230/reply-from-notification
Reply from notification
2022-05-13 10:58:25 +02:00
drone
bef443e272 Drone: update FindBugs results to reflect reduced error/warning count [skip ci]
Signed-off-by: drone <drone@nextcloud.com>
2022-05-13 08:49:04 +00:00
Dariusz Olszewski
4bb4d6870a
This setAction call seems strange and redundant
Signed-off-by: Dariusz Olszewski <starypatyk@users.noreply.github.com>
2022-05-13 10:38:39 +02:00
Dariusz Olszewski
93e0751901
Additional refactoring/clean-up
Signed-off-by: Dariusz Olszewski <starypatyk@users.noreply.github.com>
2022-05-13 10:38:39 +02:00
Dariusz Olszewski
d4bdd88588
Refactor - extracted common method to load avatars for notifications
Signed-off-by: Dariusz Olszewski <starypatyk@users.noreply.github.com>
2022-05-13 10:38:39 +02:00
Dariusz Olszewski
3b7ca4a31a
Refactor NotificationWorker - extracted sendChatNotification method
plus some minor modifications, hopefully ;-) without changing behaviour

Signed-off-by: Dariusz Olszewski <starypatyk@users.noreply.github.com>
2022-05-13 10:38:38 +02:00
Dariusz Olszewski
2f73433170
Reduce code duplication in NotificationUtils
Signed-off-by: Dariusz Olszewski <starypatyk@users.noreply.github.com>
2022-05-13 10:38:38 +02:00
Dariusz Olszewski
b96bba47b5
Reduce number of issues reported by detekt
Signed-off-by: Dariusz Olszewski <starypatyk@users.noreply.github.com>
2022-05-13 10:38:37 +02:00
Dariusz Olszewski
a234c178a8
ktlint
Signed-off-by: Dariusz Olszewski <starypatyk@users.noreply.github.com>
2022-05-13 10:38:37 +02:00
Dariusz Olszewski
8b07a2aa72
Reply from notification - initial implementation
Signed-off-by: Dariusz Olszewski <starypatyk@users.noreply.github.com>
2022-05-13 10:38:33 +02:00
Nextcloud bot
00aa108b43
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-05-13 04:15:54 +00:00
Andy Scherzinger
ffaa6388fa
Merge pull request #2016 from ASerbinski/master
TakePhotoActivity: Use full field of view
2022-05-12 23:15:46 +02:00
Andy Scherzinger
6c6077a415
Merge pull request #2030 from nextcloud/bugfix/2011/fixNPEswipeRefreshLayout
avoid NPE for swipeRefreshLayout
2022-05-12 16:46:56 +02:00
Marcel Hibbe
2576a696a7
avoid NPE for swipeRefreshLayout
fix #2011

Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2022-05-12 15:53:14 +02:00
Marcel Hibbe
2cb2cce39e
Merge pull request #2019 from nextcloud/feature/1948/respectChatPermission
Feature/1948/respect chat permission
2022-05-12 15:08:45 +02:00
Marcel Hibbe
729e30d25b
use "return when" in isShowMessageDeletionButton()
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2022-05-12 14:44:33 +02:00
Marcel Hibbe
681dbfa025
allow to show "forward" option in chats with restricted permission
this reverts one condition from commit b603031. I can't think about any reason why "forward" should be hidden.

Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2022-05-12 14:26:25 +02:00
Marcel Hibbe
a1b7a52b24
set log level of permission checks to "warning"
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2022-05-12 13:43:44 +02:00
Marcel Hibbe
8b3d32584c
restrict to share content without permissions
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2022-05-11 17:02:57 +02:00
Marcel Hibbe
d76e833d74
fix to show share-to screen
fix to show share-to screen another time when sending was not confirmed.

Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2022-05-11 16:44:08 +02:00
Marcel Hibbe
7c4e7c22df
update permissions in getRoomInfo
so they are updated on the fly..

Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2022-05-11 16:44:07 +02:00
Marcel Hibbe
be29459955
fix klint warnings
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2022-05-11 16:44:07 +02:00
Marcel Hibbe
b603031011
hide "reply" and "forward" when chatPermission is missing
"forward" is also hidden because this would need bigger changes regarding the state of the hasChatPermission variable inside the ChatController.kt

Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2022-05-11 16:44:07 +02:00
Marcel Hibbe
96721a2df6
delete parsing of unused permissions
add getter,setter,hashCode,toString for "permissions" in Conversation.java

Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2022-05-11 16:44:06 +02:00
Marcel Hibbe
36383dfcc6
don't allow to post/delete reaction without permission
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2022-05-11 16:44:06 +02:00
Marcel Hibbe
bae65ebbe9
rename canPostChatShareItemsDoReaction to hasChatPermission
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2022-05-11 16:44:06 +02:00
Marcel Hibbe
7cf18923b5
add check if delete message is allowed to be executed
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2022-05-11 16:44:06 +02:00