Commit graph

6664 commits

Author SHA1 Message Date
Marcel Hibbe
da9edbce97
temporarily allow only portrait for chat until MVVM is used
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2023-04-05 12:52:41 +02:00
Marcel Hibbe
708beabe9d
setup adapter in onCreate + extract some functions from onResume
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2023-04-05 12:52:41 +02:00
Marcel Hibbe
0b0387115e
fix to open poll dialog
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2023-04-05 12:52:40 +02:00
Marcel Hibbe
52266a5632
fix NPE when quoted message is expired or deleted
for now the message is shown empty. should be improved!

D/AndroidRuntime: Shutting down VM
E/AndroidRuntime: FATAL EXCEPTION: main
    Process: com.nextcloud.talk2, PID: 29567
    java.lang.NullPointerException
        at com.nextcloud.talk.models.json.chat.ChatMessage.getText(ChatMessage.kt:264)
        at com.nextcloud.talk.adapters.messages.OutcomingTextMessageViewHolder.processParentMessage(OutcomingTextMessageViewHolder.kt:168)
        at com.nextcloud.talk.adapters.messages.OutcomingTextMessageViewHolder.onBind(OutcomingTextMessageViewHolder.kt:100)
        at com.nextcloud.talk.adapters.messages.OutcomingTextMessageViewHolder.onBind(OutcomingTextMessageViewHolder.kt:54)
        at com.stfalcon.chatkit.messages.MessageHolders.bind(MessageHolders.java:596)
        at com.stfalcon.chatkit.messages.MessagesListAdapter.onBindViewHolder(MessagesListAdapter.java:110)
        at com.nextcloud.talk.adapters.messages.TalkMessagesListAdapter.onBindViewHolder(TalkMessagesListAdapter.java:50)
        at com.nextcloud.talk.adapters.messages.TalkMessagesListAdapter.onBindViewHolder(TalkMessagesListAdapter.java:32)
        at androidx.recyclerview.widget.RecyclerView$Adapter.onBindViewHolder(RecyclerView.java:7678)
        at androidx.recyclerview.widget.RecyclerView$Adapter.bindViewHolder(RecyclerView.java:7761)
        at androidx.recyclerview.widget.RecyclerView$Recycler.tryBindViewHolderByDeadline(RecyclerView.java:6582)
        at androidx.recyclerview.widget.RecyclerView$Recycler.tryGetViewHolderForPositionByDeadline(RecyclerView.java:6848)
        at androidx.recyclerview.widget.RecyclerView$Recycler.getViewForPosition(RecyclerView.java:6688)
        at androidx.recyclerview.widget.RecyclerView$Recycler.getViewForPosition(RecyclerView.java:6684)
        at androidx.recyclerview.widget.LinearLayoutManager$LayoutState.next(LinearLayoutManager.java:2362)
        at androidx.recyclerview.widget.LinearLayoutManager.layoutChunk(LinearLayoutManager.java:1662)
        at androidx.recyclerview.widget.LinearLayoutManager.fill(LinearLayoutManager.java:1622)
        at androidx.recyclerview.widget.LinearLayoutManager.scrollBy(LinearLayoutManager.java:1425)
        at androidx.recyclerview.widget.LinearLayoutManager.scrollVerticallyBy(LinearLayoutManager.java:1158)
        at androidx.recyclerview.widget.RecyclerView.scrollStep(RecyclerView.java:2009)
        at androidx.recyclerview.widget.RecyclerView$ViewFlinger.run(RecyclerView.java:5789)
        at android.view.Choreographer$CallbackRecord.run(Choreographer.java:1301)
        at android.view.Choreographer$CallbackRecord.run(Choreographer.java:1309)
        at android.view.Choreographer.doCallbacks(Choreographer.java:923)
        at android.view.Choreographer.doFrame(Choreographer.java:847)
        at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:1283)
        at android.os.Handler.handleCallback(Handler.java:942)
        at android.os.Handler.dispatchMessage(Handler.java:99)
        at android.os.Looper.loopOnce(Looper.java:226)
        at android.os.Looper.loop(Looper.java:313)
        at android.app.ActivityThread.main(ActivityThread.java:8741)
        at java.lang.reflect.Method.invoke(Native Method)
        at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:571)
        at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1067)

Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2023-04-05 12:52:40 +02:00
Marcel Hibbe
906c1f7529
fix to show avatar, fix onClick listener
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2023-04-05 12:52:40 +02:00
Marcel Hibbe
5fc69201fe
fix to open Conversation List for onBackPressed when switched chats
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2023-04-05 12:52:40 +02:00
Marcel Hibbe
63b2455745
remove KEY_OPEN_CHAT
this was temporarily used until now Chat is an Activity

Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2023-04-05 12:52:40 +02:00
Marcel Hibbe
d42783273d
leave room before joining another room
refactor retrieving of extras

Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2023-04-05 12:52:39 +02:00
Marcel Hibbe
cd2ef40dc8
Replace Controller with Activity for chat
chat opens, but quite some todos open. expect crashes.

Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2023-04-05 12:52:39 +02:00
Nextcloud bot
b95a0dfbb5
Fix(l10n): 🔠 Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-04-05 04:44:06 +00:00
Nextcloud bot
1155a4e221
Fix(l10n): 🛠️ Update Transifex configuration
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-04-05 04:43:48 +00:00
Nextcloud bot
2e41a2ff2a
Fix(l10n): 🔠 Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-04-04 11:20:19 +00:00
Nextcloud bot
7f6c133794
Fix(l10n): 🛠️ Update Transifex configuration
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-04-04 11:20:00 +00:00
Nextcloud Android Bot
ae6d69bd07 Weekly 16.1.0 Alpha 06 2023-04-04 08:53:39 +00:00
Nextcloud bot
3b4bd026e4
Fix(l10n): 🔠 Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-04-04 04:36:56 +00:00
Nextcloud bot
18e20c9e46
Fix(l10n): 🛠️ Update Transifex configuration
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-04-04 04:36:37 +00:00
Nextcloud bot
fc2a02165a
Fix(l10n): 🔠 Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-04-03 04:35:51 +00:00
Nextcloud bot
bd22c035c1
Fix(l10n): 🛠️ Update Transifex configuration
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-04-03 04:35:32 +00:00
Andy Scherzinger
e3b25a6eb9
Merge pull request #2923 from nextcloud/repo-sync/android-config/master
🔄 synced file(s) with nextcloud/android-config
2023-04-02 10:35:47 +02:00
Nextcloud bot
bd1db7ca66
Fix(l10n): 🔠 Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-04-02 04:34:39 +00:00
Nextcloud bot
552a701feb
Fix(l10n): 🛠️ Update Transifex configuration
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-04-02 04:34:21 +00:00
nextcloud-android-bot
50b8d3fd89 🔄 synced local '.github/workflows/' with remote 'config/workflows/'
Signed-off-by: nextcloud-android-bot <android@nextcloud.com>
2023-04-02 02:29:29 +00:00
Andy Scherzinger
6c9f4326ef
Merge pull request #2921 from nextcloud/dependabot/gradle/org.osmdroid-osmdroid-android-6.1.16
Build(deps): Bump org.osmdroid:osmdroid-android from 6.1.15 to 6.1.16
2023-04-01 16:55:02 +02:00
dependabot[bot]
fd4a84ba80
Build(deps): Bump org.osmdroid:osmdroid-android from 6.1.15 to 6.1.16
Bumps [org.osmdroid:osmdroid-android](https://github.com/osmdroid/osmdroid) from 6.1.15 to 6.1.16.
- [Release notes](https://github.com/osmdroid/osmdroid/releases)
- [Changelog](https://github.com/osmdroid/osmdroid/blob/master/CHANGELOG.md)
- [Commits](https://github.com/osmdroid/osmdroid/compare/osmdroid-parent-6.1.15...osmdroid-parent-6.1.16)

---
updated-dependencies:
- dependency-name: org.osmdroid:osmdroid-android
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-04-01 14:47:32 +00:00
Andy Scherzinger
0aad00468a
Merge pull request #2922 from nextcloud/chore/noid/fixCI_and_newLintIssues
Fix ci and new lint issues
2023-04-01 16:46:52 +02:00
Andy Scherzinger
c03ebd7b2d
fix center alignment
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2023-04-01 16:35:35 +02:00
Andy Scherzinger
bc13def4a9
Set android:baselineAligned="false" on this element for better performance
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2023-04-01 16:35:34 +02:00
Andy Scherzinger
15d68b678b
deactivate test since it is always failing
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2023-04-01 16:35:34 +02:00
Andy Scherzinger
6aaf179fe4
Merge pull request #2920 from nextcloud/chore/noid/chatKit042
Bump ChatKit to 0.4.2
2023-04-01 16:35:20 +02:00
Andy Scherzinger
c026b2115d
Bump ChatKit to 0.4.2 to remove need of exclude config for arbitrary dependency
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2023-04-01 16:23:38 +02:00
Marcel Hibbe
aeae288332
Merge pull request #2919 from nextcloud/bugfix/2914/profileSplitLayoutInLandscape
Split design for landscape editing/viewing a profile
2023-03-31 21:46:37 +02:00
Andy Scherzinger
4905ee6122
split design for landscape editing/viewing a profile
Resolved #2914

Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2023-03-31 21:11:17 +02:00
Andy Scherzinger
7ee7117c95
Merge pull request #2917 from nextcloud/dependabot/gradle/joda-time-joda-time-2.12.5
Build(deps): Bump joda-time:joda-time from 2.12.4 to 2.12.5
2023-03-31 17:57:43 +02:00
Marcel Hibbe
c5d97175d7
Merge pull request #2915 from nextcloud/refactoring/noid/convInfoAndContactsRemoveConductor
Replace Controller with Activity for conversationInfo and contacts
2023-03-31 12:59:43 +02:00
Marcel Hibbe
e740797b42
Fix to open chat from ContactsActivity.kt
(temporarily via MainActivity and ConductorRemapping until conductor is removed)

Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2023-03-31 12:38:32 +02:00
Marcel Hibbe
5aac5637a7
Fix to add participant to conversation
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2023-03-31 12:38:32 +02:00
Marcel Hibbe
8361a97ee9
Fix fluent scrolling in participants list
fix #1833

Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2023-03-31 12:38:32 +02:00
Marcel Hibbe
e359db66ec
ReplaceController with Activity for Contacts
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2023-03-31 12:38:31 +02:00
Marcel Hibbe
85dd7c3996
ReplaceController with Activity for ConversationInfo
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2023-03-31 12:38:31 +02:00
Nextcloud bot
6ff9fd7d1f
Fix(l10n): 🔠 Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-03-31 04:48:40 +00:00
Nextcloud bot
8fa61b0188
Fix(l10n): 🛠️ Update Transifex configuration
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-03-31 04:48:21 +00:00
dependabot[bot]
1bad5cf8f2
Build(deps): Bump joda-time:joda-time from 2.12.4 to 2.12.5
Bumps [joda-time:joda-time](https://github.com/JodaOrg/joda-time) from 2.12.4 to 2.12.5.
- [Release notes](https://github.com/JodaOrg/joda-time/releases)
- [Changelog](https://github.com/JodaOrg/joda-time/blob/main/RELEASE-NOTES.txt)
- [Commits](https://github.com/JodaOrg/joda-time/compare/v2.12.4...v2.12.5)

---
updated-dependencies:
- dependency-name: joda-time:joda-time
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-31 01:57:13 +00:00
Andy Scherzinger
6fcfbb3b2a
Merge pull request #2909 from nextcloud/dependabot/gradle/org.osmdroid-osmdroid-android-6.1.15
Build(deps): Bump org.osmdroid:osmdroid-android from 6.1.14 to 6.1.15
2023-03-30 22:36:35 +02:00
dependabot[bot]
effe568b93
Build(deps): Bump org.osmdroid:osmdroid-android from 6.1.14 to 6.1.15
Bumps [org.osmdroid:osmdroid-android](https://github.com/osmdroid/osmdroid) from 6.1.14 to 6.1.15.
- [Release notes](https://github.com/osmdroid/osmdroid/releases)
- [Changelog](https://github.com/osmdroid/osmdroid/blob/master/CHANGELOG.md)
- [Commits](https://github.com/osmdroid/osmdroid/compare/osmdroid-parent-6.1.14...osmdroid-parent-6.1.15)

---
updated-dependencies:
- dependency-name: org.osmdroid:osmdroid-android
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-30 22:29:24 +02:00
Andy Scherzinger
b8c9865dd6
Merge pull request #2905 from nextcloud/dependabot/gradle/com.vanniktech-emoji-google-0.16.0
Build(deps): Bump com.vanniktech:emoji-google from 0.15.0 to 0.16.0
2023-03-30 22:26:47 +02:00
Andy Scherzinger
16b930fac8
prevent duplicate classes due to dependency rename
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2023-03-30 22:08:31 +02:00
Andy Scherzinger
c033b0367e
update to compatible flexbox
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2023-03-30 17:24:10 +02:00
dependabot[bot]
42a631a22b
Build(deps): Bump com.vanniktech:emoji-google from 0.15.0 to 0.16.0
Bumps [com.vanniktech:emoji-google](https://github.com/vanniktech/Emoji) from 0.15.0 to 0.16.0.
- [Release notes](https://github.com/vanniktech/Emoji/releases)
- [Changelog](https://github.com/vanniktech/Emoji/blob/master/CHANGELOG.md)
- [Commits](https://github.com/vanniktech/Emoji/compare/0.15.0...0.16.0)

---
updated-dependencies:
- dependency-name: com.vanniktech:emoji-google
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-30 17:24:10 +02:00
Marcel Hibbe
ffe8d9d3d0
Merge pull request #2912 from nextcloud/refactoring/noid/settingsRemoveConductor
Replace Controller with Activity for settings
2023-03-30 10:51:16 +02:00
Marcel Hibbe
5e0e4ee54f
Fix to open profile view
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2023-03-30 10:37:43 +02:00