Commit graph

7181 commits

Author SHA1 Message Date
rapterjet2004
c930c32a13 issue-3019 forgot to remove all string xml with key nc_no_messages_yet
Signed-off-by: Julius Linus julius.linus@nextcloud.com
2023-05-26 13:41:19 -05:00
rapterjet2004
79f317d1e6 issue-3019
Signed-off-by: Julius Linus julius.linus@nextcloud.com
2023-05-26 13:20:22 -05:00
Andy Scherzinger
d7a2700234
Merge pull request #3056 from nextcloud/repo-sync/android-config/master
🔄 synced file(s) with nextcloud/android-config
2023-05-26 10:46:02 +02:00
nextcloud-android-bot
593e1d3a08 🔄 synced local '.github/workflows/' with remote 'config/workflows/'
Signed-off-by: nextcloud-android-bot <android@nextcloud.com>
2023-05-26 03:09:36 +00:00
Nextcloud bot
9e5a1e1a90
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-05-26 02:28:03 +00:00
Nextcloud bot
27965c2531
Fix(l10n): Update Transifex configuration
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-05-26 02:27:43 +00:00
Andy Scherzinger
8cf0602dbf
Merge pull request #3052 from nextcloud/dependabot/gradle/androidx.activity-activity-ktx-1.7.2
Build(deps): Bump androidx.activity:activity-ktx from 1.7.1 to 1.7.2
2023-05-25 09:10:18 +02:00
Andy Scherzinger
ec64b9c051
Merge pull request #3051 from nextcloud/dependabot/gradle/androidxCameraVersion-1.2.3
Build(deps): Bump androidxCameraVersion from 1.2.2 to 1.2.3
2023-05-25 09:02:52 +02:00
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