Andy Scherzinger
66c444e8c8
Merge pull request #3053 from nextcloud/dependabot/gradle/com.android.tools.build-gradle-8.0.2
...
Build(deps): Bump com.android.tools.build:gradle from 8.0.1 to 8.0.2
2023-05-25 08:51:28 +02:00
Nextcloud bot
678d5cd50b
Fix(l10n): Update translations from Transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-05-25 02:35:43 +00:00
Nextcloud bot
1277d7afa0
Fix(l10n): Update Transifex configuration
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-05-25 02:35:23 +00:00
dependabot[bot]
1b71fd211d
Build(deps): Bump com.android.tools.build:gradle from 8.0.1 to 8.0.2
...
Bumps com.android.tools.build:gradle from 8.0.1 to 8.0.2.
---
updated-dependencies:
- dependency-name: com.android.tools.build:gradle
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-05-25 01:57:48 +00:00
dependabot[bot]
b9aad7b14b
Build(deps): Bump androidx.activity:activity-ktx from 1.7.1 to 1.7.2
...
Bumps androidx.activity:activity-ktx from 1.7.1 to 1.7.2.
---
updated-dependencies:
- dependency-name: androidx.activity:activity-ktx
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-05-25 01:57:25 +00:00
dependabot[bot]
321168ebce
Build(deps): Bump androidxCameraVersion from 1.2.2 to 1.2.3
...
Bumps `androidxCameraVersion` from 1.2.2 to 1.2.3.
Updates `androidx.camera:camera-core` from 1.2.2 to 1.2.3
Updates `androidx.camera:camera-camera2` from 1.2.2 to 1.2.3
Updates `androidx.camera:camera-lifecycle` from 1.2.2 to 1.2.3
Updates `androidx.camera:camera-view` from 1.2.2 to 1.2.3
---
updated-dependencies:
- dependency-name: androidx.camera:camera-core
dependency-type: direct:production
update-type: version-update:semver-patch
- dependency-name: androidx.camera:camera-camera2
dependency-type: direct:production
update-type: version-update:semver-patch
- dependency-name: androidx.camera:camera-lifecycle
dependency-type: direct:production
update-type: version-update:semver-patch
- dependency-name: androidx.camera:camera-view
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-05-25 01:56:59 +00:00
Andy Scherzinger
ac5ebb3e12
Merge pull request #3036 from nextcloud/issue-2961
...
Replace deprecated onBackPressed
2023-05-24 16:23:08 +02:00
Marcel Hibbe
d127c5401a
fix new onBackPressed handling
...
this commit fixes bugs from d3056ff2825e53040ca49b86b84f91f73a3eb11c and 1185dcf17a99ca62efd32f8a53c298ec4fd6c4d0
fix onBackPressed handling to use OnBackPressedCallback
remove unnecessary onBackPressedCallback's when they only finished the activity
replaced some finishAffinity methods with finish
...
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2023-05-24 15:42:09 +02:00
Ezhil Shanmugham
dff9ea5651
Fixed intendation Signed-off-by: Ezhil Shanmugham ezhil56x.contact@gmail.com
...
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2023-05-24 15:42:09 +02:00
Ezhil Shanmugham
64fa8e830b
Made suggested changes in FullScreenImageActivity.kt, ConversationsListActivity.kt and in some files Signed-off-by: Ezhil Shanmugham ezhil56x.contact@gmail.com
...
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2023-05-24 15:42:09 +02:00
Ezhil Shanmugham
d4a4472968
Removed mistakenly added authorship Signed-off-by: Ezhil Shanmugham ezhil56x.contact@gmail.com
...
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2023-05-24 15:42:09 +02:00
Ezhil Shanmugham
8348792313
Fixed ktlint and detekt errors
...
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2023-05-24 15:42:09 +02:00
Ezhil Shanmugham
7b5caf5007
fixed deprecated onBackPressed Issue-#2961
...
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2023-05-24 15:42:04 +02:00
Andy Scherzinger
f421788480
Merge pull request #3046 from nextcloud/issue-3026
...
Changed reply length to have a max of 250 characters
2023-05-24 11:28:21 +02:00
Andy Scherzinger
72e2310988
Limit quoted message to max 4 lines
...
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2023-05-24 10:40:28 +02:00
rapterjet2004
93da3a9c65
Making reply length a const
...
Signed-off-by: Julius Linus <julius.linus@nextcloud.com>
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2023-05-24 10:40:28 +02:00
rapterjet2004
a926c27ae7
working on issue 3026
...
Signed-off-by: Julius Linus <julius.linus@nextcloud.com>
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2023-05-24 10:40:28 +02:00
Andy Scherzinger
6e2c01234b
Merge pull request #3048 from nextcloud/dependabot/gradle/io.gitlab.arturbosch.detekt-detekt-formatting-1.23.0
...
Build(deps): Bump io.gitlab.arturbosch.detekt:detekt-formatting from 1.22.0 to 1.23.0
2023-05-24 10:38:43 +02:00
Andy Scherzinger
984c8bff5c
further improve formatting
...
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2023-05-24 10:19:36 +02:00
Andy Scherzinger
502a3f1f59
Lower max detekt findings threshold due to latest fixes
...
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2023-05-24 09:47:47 +02:00
Andy Scherzinger
c6e082c6b1
Replace any magic numbers detekt-ed
...
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2023-05-24 09:47:27 +02:00
Andy Scherzinger
f7e5881d87
Fix any detekt formatting issues
...
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2023-05-24 09:38:56 +02:00
dependabot[bot]
6bc58e12e4
Build(deps): Bump io.gitlab.arturbosch.detekt:detekt-gradle-plugin
...
Bumps [io.gitlab.arturbosch.detekt:detekt-gradle-plugin](https://github.com/detekt/detekt ) from 1.22.0 to 1.23.0.
- [Release notes](https://github.com/detekt/detekt/releases )
- [Commits](https://github.com/detekt/detekt/commits )
---
updated-dependencies:
- dependency-name: io.gitlab.arturbosch.detekt:detekt-gradle-plugin
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-05-24 09:17:22 +02:00
dependabot[bot]
059e0ecec5
Build(deps): Bump io.gitlab.arturbosch.detekt:detekt-formatting
...
Bumps [io.gitlab.arturbosch.detekt:detekt-formatting](https://github.com/detekt/detekt ) from 1.22.0 to 1.23.0.
- [Release notes](https://github.com/detekt/detekt/releases )
- [Commits](https://github.com/detekt/detekt/commits )
---
updated-dependencies:
- dependency-name: io.gitlab.arturbosch.detekt:detekt-formatting
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-05-24 09:16:53 +02:00
Andy Scherzinger
0f9c109b5a
Merge pull request #3041 from nextcloud/chore/noid/migrateThemingCalls
...
Migrate theme API calls
2023-05-24 09:14:23 +02:00
Andy Scherzinger
5ec013143f
Migrate theme API calls - away from deprecated ones
...
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2023-05-24 09:08:18 +02:00
Nextcloud bot
059ba9df35
Fix(l10n): Update translations from Transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-05-24 02:29:03 +00:00
Nextcloud bot
c8237dca6d
Fix(l10n): Update Transifex configuration
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-05-24 02:28:44 +00:00
Marcel Hibbe
fd5fec937f
Merge pull request #3038 from nextcloud/translate-message-mvvm-impl
...
rewriting translate feature to use MVVM
2023-05-23 19:09:34 +02:00
Julius Linus
528f1fd431
Merge branch 'master' into translate-message-mvvm-impl
...
Signed-off-by: Julius Linus <69230048+rapterjet2004@users.noreply.github.com>
2023-05-23 08:07:40 -05:00
Marcel Hibbe
aba34ed6a0
Merge pull request #3029 from nextcloud/feature/2930/typingIndicators
...
✍️ Typing indicators
2023-05-23 13:52:35 +02:00
Marcel Hibbe
0eac3a2d11
fix codacy warning
...
Fields should be declared at the top of the class, before any method declarations, constructors, initializers or inner classes.
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2023-05-23 12:10:18 +02:00
Marcel Hibbe
9a76ce7ccd
fix to close gap between typing indicator and message input
...
otherwise chat content was visible in between
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2023-05-23 12:06:02 +02:00
Marcel Hibbe
5a97e90a82
improve detekt score: avoid magicNumbers...
...
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2023-05-23 11:34:38 +02:00
Marcel Hibbe
154ea08c37
ignore lint Overdraw warning
...
followup to 0f58deac
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2023-05-23 11:18:01 +02:00
Marcel Hibbe
61859f361a
convert ConversationMessageNotifier to kt
...
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2023-05-23 11:16:47 +02:00
Marcel Hibbe
0f58deacef
ignore lint Overdraw warning
...
Overdraw is expected here to avoid transparency for the typing indicator view. Instead chat message content should be hidden behind the typing indicator view.
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2023-05-23 10:49:32 +02:00
Marcel Hibbe
e9fc9fce28
avoid Overlapping items in RelativeLayout for typing indicator
...
-> align Unread messages above typing_indicator_wrapper
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2023-05-23 10:49:32 +02:00
Marcel Hibbe
68799cfa24
avoid lint warning
...
..."Resource IDs will be non-final by default in Android Gradle Plugin version 8.0, avoid using them as annotation attributes" by using @KeyByString
keys were also wrong by copy&paste and are now fixed
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2023-05-23 10:49:31 +02:00
Marcel Hibbe
f0a9a302bb
make typing indicator two lines if necessary
...
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2023-05-23 10:49:31 +02:00
Marcel Hibbe
7b12f27a1a
move typing indicator methods
...
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2023-05-23 10:49:31 +02:00
Marcel Hibbe
fa4d02e2c6
send stoppedTyping signaling message when sending chat message
...
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2023-05-23 10:49:31 +02:00
Marcel Hibbe
add5e518e1
use height from typingIndicator layout
...
no need to define it redundant...
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2023-05-23 10:49:30 +02:00
Marcel Hibbe
231cfef8c3
check capabilities to use/ignore typing indicators
...
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2023-05-23 10:49:30 +02:00
Marcel Hibbe
d3d8e2abef
add setting to toggle typing status privacy
...
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2023-05-23 10:49:30 +02:00
Marcel Hibbe
0d6e971c38
fix to use newest capabilities to update settings.
...
Without this refreshing of capabilites, depending settings (for now read privacy) were never updated until app was started again because the user still contained old capabilities.
This fix will also be necessary for the typing indicator setting.
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2023-05-23 10:49:30 +02:00
Marcel Hibbe
ecec266765
improve typing indicator design
...
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2023-05-23 10:49:30 +02:00
Marcel Hibbe
6adca2395d
add handling for multiple typing participants
...
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2023-05-23 10:49:29 +02:00
Marcel Hibbe
85f637ca8a
WIP. update UI when typing message received
...
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2023-05-23 10:49:29 +02:00
Marcel Hibbe
50e7af4d04
add timer for typing logic
...
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2023-05-23 10:49:29 +02:00