Commit graph

7090 commits

Author SHA1 Message Date
Marcel Hibbe
4a46af32fe
bump version to 20.0.0 RC2
did a git hard reset to master for this time because backporting became too complicated :(

Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2024-09-06 17:24:48 +02:00
Marcel Hibbe
6858b32f2b
fix NPE when baseUrl is missing
no idea how this happens, however this was
reported via gplay pre launch report for 20.0.0RC1
("Detected on 10 devices during testing"):

Exception java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.String com.nextcloud.talk.data.user.model.User.getBaseUrl()' on a null object reference
  at com.nextcloud.talk.activities.BaseActivity.startActivity (BaseActivity.kt:240)
  at com.nextcloud.talk.account.ServerSelectionActivity.showVisitProvidersInfo$lambda$5 (ServerSelectionActivity.kt:206)
  at com.nextcloud.talk.account.ServerSelectionActivity.$r8$lambda$pjpPT-LQbGLSCJPXeRE8IJvpLIE
  at com.nextcloud.talk.account.ServerSelectionActivity$$ExternalSyntheticLambda0.onClick (D8$$SyntheticClass)
  at android.view.View.performClick (View.java:7506)
  at android.view.View.performClickInternal (View.java:7483)
  at android.view.View.-$$Nest$mperformClickInternal
  at android.view.View$PerformClick.run (View.java:29335)
  at android.os.Handler.handleCallback (Handler.java:942)
  at android.os.Handler.dispatchMessage (Handler.java:99)
  at androidx.test.espresso.base.Interrogator.loopAndInterrogate (Interrogator.java:10)
  at androidx.test.espresso.base.UiControllerImpl.loopUntil (UiControllerImpl.java:7)
  at androidx.test.espresso.base.UiControllerImpl.loopUntil (UiControllerImpl.java:1)
  at androidx.test.espresso.base.UiControllerImpl.injectMotionEvent (UiControllerImpl.java:5)
  at androidx.test.espresso.action.MotionEvents.sendUp (MotionEvents.java:6)
  at androidx.test.espresso.action.MotionEvents.sendUp (MotionEvents.java:1)
  at androidx.test.espresso.action.Tap.sendSingleTap (Tap.java:5)
  at androidx.test.espresso.action.Tap.-$$Nest$smsendSingleTap
  at androidx.test.espresso.action.Tap$1.sendTap (Tap.java:1)
  at androidx.test.espresso.action.GeneralClickAction.perform (GeneralClickAction.java:4)
  at androidx.test.espresso.ViewInteraction$SingleExecutionViewAction.perform (ViewInteraction.java:2)
  at androidx.test.espresso.ViewInteraction.doPerform (ViewInteraction.java:23)
  at androidx.test.espresso.ViewInteraction.-$$Nest$mdoPerform
  at androidx.test.espresso.ViewInteraction$1.call (ViewInteraction.java:6)
  at androidx.test.espresso.ViewInteraction$1.call (ViewInteraction.java:1)
  at java.util.concurrent.FutureTask.run (FutureTask.java:264)
  at android.os.Handler.handleCallback (Handler.java:942)
  at android.os.Handler.dispatchMessage (Handler.java:99)
  at android.os.Looper.loopOnce (Looper.java:201)
  at android.os.Looper.loop (Looper.java:288)
  at android.app.ActivityThread.main (ActivityThread.java:7898)
  at java.lang.reflect.Method.invoke
  at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run (RuntimeInit.java:548)
  at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:936)

If baseUrl is really missing this may lead to followup issues, however this maybe only 'happens' in gplay pre launch report without any real world scenario. A best solution may be to make baseUrl not nullable, but don't want to do this on short term before release..

Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2024-09-06 15:38:13 +02:00
Marcel Hibbe
06f5c0b7c8
Merge pull request #4162 from nextcloud/bugfix/4078/fixSelfReactionWhenReEnteringChat
Bugfix/4078/fix self reaction when re entering chat
2024-09-06 15:26:01 +02:00
Marcel Hibbe
129ba94af5
Merge pull request #4139 from nextcloud/bugfix/4010/fixSendTextToTalkApp
fix to display text that was sent to app via "share to"
2024-09-06 15:25:49 +02:00
Marcel Hibbe
a0a388cc07
fix to switch background color between incoming&outgoing reaction
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2024-09-06 14:32:00 +02:00
Marcel Hibbe
f53f9381b8
fix to always render selfReactions with background color
= fix type of list in stringToArrayList

Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2024-09-06 14:32:00 +02:00
renovate[bot]
dcd8782bbb
Update dependency org.junit.vintage:junit-vintage-engine to v5.11.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-06 09:20:29 +00:00
Marcel Hibbe
092499ce92
Merge pull request #4100 from nextcloud/restore-broken-tests
Revert "fix: deactivate broken test and remove test platform config"
2024-09-06 11:15:10 +02:00
Nextcloud bot
7fc47de696
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-09-06 03:20:33 +00:00
renovate[bot]
87011cc020
Update dependency com.google.firebase:firebase-messaging to v24.0.1
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-05 23:07:55 +00:00
renovate[bot]
e57be1ed4d
Update plugin com.google.devtools.ksp to v2.0.20-1.0.25
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-05 22:02:28 +00:00
renovate[bot]
c4bba78191
Update dependency androidx.compose.material3:material3 to v1.3.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-05 13:54:07 +00:00
Marcel Hibbe
2fbe3dbb14
change wording for visibility of new conversation
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2024-09-05 15:41:12 +02:00
Marcel Hibbe
5001fd0b95
colorize status bar
...for ConversationCreationActivity and ContactsActivityCompose

just a quick fix, this may not be the best solution!

Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2024-09-05 15:41:12 +02:00
Marcel Hibbe
8a59dd900d
fix to align Participants header
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2024-09-05 15:41:12 +02:00
Marcel Hibbe
8d1d44692e
only set password if not empty
otherwise response will be 400

Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2024-09-05 15:41:12 +02:00
sowjanyakch
ecb3d5380c
Ktlint Format
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2024-09-05 15:41:12 +02:00
sowjanyakch
52378327f9
Work on warnings
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2024-09-05 15:41:11 +02:00
sowjanyakch
ff63bcd855
Properly select and deselect contact items
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2024-09-05 15:41:11 +02:00
sowjanyakch
5f3d73efce
make conversation available for registered users and guest app users
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2024-09-05 15:41:11 +02:00
sowjanyakch
1187b41e51
Set password
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2024-09-05 15:41:11 +02:00
sowjanyakch
cb6fdf6fe1
Refactor createRoom()
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2024-09-05 15:41:11 +02:00
sowjanyakch
dba56ddac0
Solved error unable to create call adapter for GenericOverall
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2024-09-05 15:41:11 +02:00
sowjanyakch
3db1f72981
Created a public conversation
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2024-09-05 15:41:10 +02:00
sowjanyakch
2959d8e13a
Create public conversation
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2024-09-05 15:41:10 +02:00
sowjanyakch
6b82d7209f
Start ContactsActivity to edit participants
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2024-09-05 15:41:10 +02:00
sowjanyakch
6d0144db1a
add participants list
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2024-09-05 15:41:10 +02:00
sowjanyakch
6a01309f2f
add participants
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2024-09-05 15:41:10 +02:00
sowjanyakch
9ae0d524c0
update ContactsViewModelTest - shareTypes
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2024-09-05 15:41:09 +02:00
sowjanyakch
0913b162b3
add participants endpoint
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2024-09-05 15:41:09 +02:00
sowjanyakch
e57c13efed
MultiSelect contacts
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2024-09-05 15:41:09 +02:00
sowjanyakch
b5f7556b3d
don't create room on clicking contacts when creating a new conversation
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2024-09-05 15:41:09 +02:00
sowjanyakch
9f61793c86
add isAddParticipant flag
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2024-09-05 15:41:09 +02:00
sowjanyakch
d32bc74559
ConversationCreationActivity - Refactoring
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2024-09-05 15:41:08 +02:00
sowjanyakch
cd01c80d71
ConversationCreationActivity UI
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2024-09-05 15:41:08 +02:00
Marcel Hibbe
ac217163e9
add dummy initialization of Conversation
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2024-09-05 14:54:40 +02:00
Marcel Hibbe
22182d211d
add junit-vintage-engine + remove duplicated junit dependency
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2024-09-05 14:54:37 +02:00
rapterjet2004
bc0dae7dce
fixed CI
Signed-off-by: rapterjet2004 <juliuslinus1@gmail.com>
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2024-09-05 14:53:36 +02:00
Joas Schilling
8957cff0d0
Revert "fix: deactivate broken test and remove test platform config"
This reverts commit 37625403d6.

Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2024-09-05 14:53:36 +02:00
renovate[bot]
74b71c613e
fix(deps): update emojiversion to v1.5.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-05 11:28:13 +00:00
renovate[bot]
cd828a0605
fix(deps): update dependency androidx.compose:compose-bom to v2024.09.00
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-05 11:06:59 +00:00
github-actions[bot]
e48b6587bb
Merge pull request #4150 from nextcloud/renovate/androidx.compose.ui-ui-test-junit4-1.x
fix(deps): update dependency androidx.compose.ui:ui-test-junit4 to v1.7.0
2024-09-05 09:52:02 +02:00
renovate[bot]
35885edf1a
fix(deps): update dependency androidx.compose.ui:ui-test-junit4 to v1.7.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-05 07:43:36 +00:00
renovate[bot]
137aaacfcc
fix(deps): update dependency androidx.compose.runtime:runtime to v1.7.0
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-05 07:42:11 +00:00
renovate[bot]
67461e4b23
fix(deps): update lifecycleversion to v2.8.5
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-05 04:20:41 +00:00
github-actions[bot]
0fc8cb85e4
Merge pull request #4145 from nextcloud/renovate/androidx.lifecycle-lifecycle-viewmodel-compose-2.x
fix(deps): update dependency androidx.lifecycle:lifecycle-viewmodel-compose to v2.8.5
2024-09-05 05:35:03 +02:00
github-actions[bot]
c0f080bee7
Merge pull request #4144 from nextcloud/renovate/androidx.lifecycle-lifecycle-runtime-ktx-2.x
fix(deps): update dependency androidx.lifecycle:lifecycle-runtime-ktx to v2.8.5
2024-09-05 05:34:08 +02:00
renovate[bot]
c6bc89b5d6
fix(deps): update dependency androidx.lifecycle:lifecycle-viewmodel-compose to v2.8.5
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-05 03:10:43 +00:00
renovate[bot]
6ff1c4d72f
fix(deps): update dependency androidx.lifecycle:lifecycle-runtime-ktx to v2.8.5
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-05 03:08:48 +00:00
Nextcloud bot
20fe1fb8fc
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-09-05 03:02:22 +00:00