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
Marcel Hibbe
16d2d3d693
add timer for typing logic
...
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2023-05-23 10:49:29 +02:00
Marcel Hibbe
6228ec8d75
add sending of "typing" signaling messages
...
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2023-05-23 10:49:28 +02:00
Marcel Hibbe
8997c3b5c7
add receiving of "typing" signaling messages
...
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2023-05-23 10:49:28 +02:00
Marcel Hibbe
32bd18ff32
add textview for typing indicator
...
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2023-05-23 10:49:28 +02:00
Marcel Hibbe
05b57dc4c7
rename controller_chat.xml to activity_chat.xml
...
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2023-05-23 10:49:28 +02:00
Nextcloud bot
12ab500d5a
Fix(l10n): Update translations from Transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-05-23 02:30:08 +00:00
Nextcloud bot
b480b296a6
Fix(l10n): Update Transifex configuration
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-05-23 02:29:47 +00:00
Julius Linus
480ad8941b
Update TranslateViewModel.kt
...
codacy error dix
Signed-off-by: Julius Linus <69230048+rapterjet2004@users.noreply.github.com>
2023-05-22 13:12:36 -05:00
rapterjet2004
5a18a05654
fixing detekt errors :|
...
Signed-off-by: Julius Linus <julius.linus@nextcloud.com>
2023-05-22 11:47:14 -05:00
rapterjet2004
847c21d710
Merge remote-tracking branch 'origin/master'
2023-05-22 11:19:38 -05:00
rapterjet2004
00f86144d8
rewriting translate feature to use MVVM
...
Signed-off-by: Julius Linus <julius.linus@nextcloud.com>
2023-05-22 11:18:21 -05:00