Julius Linus
07bf65460b
Fixed some bugs with formatting and message handling
...
Signed-off-by: Julius Linus <julius.linus@nextcloud.com>
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2024-04-03 16:41:14 +02:00
Parneet Singh
631a93f687
use new result api
...
Signed-off-by: Parneet Singh <gurayaparneet@gmail.com>
2024-04-01 04:40:05 +05:30
Andy Scherzinger
f5a4274e54
Add SPDX header
...
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2024-03-29 15:42:11 +01:00
Andy Scherzinger
3eabf9bb83
Add SPDX header
...
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2024-03-29 12:55:12 +01:00
Marcel Hibbe
4c5ffdbae7
replace roomToken with token
...
roomToken was added unnecessarily as it already exists as "token"
By using the duplicated roomToken, this also introduced a bug when that it could be empty.
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2024-03-26 16:54:39 +01:00
Marcel Hibbe
cc19157867
convert DisplayUtils to kt
...
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2024-03-21 16:39:16 +01:00
Julius Linus
870ef03d61
Federated Mentions
...
- Federated mention chip
- Federated message avatars
- Helper functions
Signed-off-by: Julius Linus <julius.linus@nextcloud.com>
2024-03-21 16:39:16 +01:00
sowjanyakch
d80200906d
ktlintFormat
...
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2024-03-19 13:19:55 +01:00
sowjanyakch
2b1a16415c
Implemented delete-messages-unlimited feature
...
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2024-03-19 13:19:55 +01:00
Marcel Hibbe
2e317b134c
use X-Chat-Last-Common-Read to fix read status
...
Without this commit, the read status was broken as X-Chat-Last-Common-Read was not used. It was removed by
https://github.com/nextcloud/talk-android/pull/3630
As a result all messages were marked as unread after waiting for 30 seconds.
With this commit the X-Chat-Last-Common-Read is used again.
Messages are marked as read again also after 30 seconds.
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2024-03-19 13:18:09 +01:00
Andy Scherzinger
4b0daa6978
Fix kotlin fomatting
...
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2024-03-17 14:41:36 +01:00
Giacomo Pacini
2deefb3c0a
Merge remote-tracking branch 'upstream/master'
2024-03-13 18:50:32 +01:00
Giacomo Pacini
064c3809b0
removed some comments, modified indentation, moved some strings to companion object
...
Signed-off-by: Giacomo Pacini <giacomopacini98@gmail.com>
2024-03-13 18:47:51 +01:00
Giacomo Pacini
ca5a379883
save audio message id and position when activity is destroyed,
...
also restores view position to that message and then resumes audio playback if was playing.
it allows to continue playing audio on screen rotation.
Signed-off-by: Giacomo Pacini <giacomopacini98@gmail.com>
2024-03-13 18:47:51 +01:00
Giacomo Pacini
b44641c0c7
removed stopMediaPlayer method call in onStop(),
...
so that audio continues playing when activity in background.
if backpressed, stops mediaplayer
Signed-off-by: Giacomo Pacini <giacomopacini98@gmail.com>
2024-03-13 18:47:50 +01:00
Marcel Hibbe
625de657d4
hide features if federation is not available
...
+ add capability queries (not yet used)
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2024-03-12 10:52:58 +01:00
parneet-guraya
3866beed92
fix remind me later dialog
...
Signed-off-by: parneet-guraya <gurayaparneet@gmail.com>
2024-03-11 15:28:38 +01:00
Julius Linus
a74c8c552d
Popup bubbles now show up + Fixed bugs with images + added new string resource
...
Signed-off-by: Julius Linus <julius.linus@nextcloud.com>
2024-03-05 09:25:56 -06:00
parneet-guraya
82a46572d9
wrap inside scroll view
...
Signed-off-by: parneet-guraya <gurayaparneet@gmail.com>
2024-03-05 10:48:57 +01:00
parneet-guraya
1881676538
use default constructor for fragment
...
Signed-off-by: parneet-guraya <gurayaparneet@gmail.com>
2024-03-05 10:48:56 +01:00
Marcel Hibbe
754b825096
pass spreedCapabilities instead user to CapabilitiesUtil
...
To support federated rooms, capabilities have to be checked from the room which now also has capabilities.
If room is not federated, capabilities fromuser are still checked.
This is why CapabilitiesUtil had to be refactored to accept SpreedCapabilities which can come from room or user.
Other than that, many other changes were made as a result of this change.
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2024-03-01 11:25:11 +01:00
Julius Linus
dcc8fc6954
Major refactoring, implements ChatActivity in MVVM to prepare for federation and offline chatting.
...
Signed-off-by: Julius Linus <julius.linus@nextcloud.com>
2024-02-27 17:52:30 +01:00
Marcel Hibbe
9a4bf14e09
Merge remote-tracking branch 'origin/master' into feature/edit_messages
2024-02-16 17:09:03 +01:00
sowjanyakch
861b565c01
Added date to editor details and changes related to design.
...
Signed-off-by: Sowjanya Kota<sowjanya.kch@gmail.com>
2024-02-14 16:08:13 +01:00
sowjanyakch
8d4c0fb57c
Minor UI improvements
...
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2024-02-13 11:47:39 +01:00
Marcel Hibbe
6708aeebad
fix to show message as edited after editing on own device
...
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2024-02-09 11:16:21 +01:00
Marcel Hibbe
4e4cb26862
fix to update adapter for "edited messages" by system message
...
This will update the message when an edit was made on other devices.
So the system message will trigger that you are informed about a change. But instead to show the system message, you use it's information to immediately update the adapter.
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2024-02-09 11:14:00 +01:00
sowjanyakch
683f924556
Add editor name and message timestamp to MessageActionsDialog
...
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2024-02-09 10:05:54 +01:00
parneet-guraya
86cd617c6a
handle becoming noisy manually
...
Signed-off-by: parneet-guraya <gurayaparneet@gmail.com>
2024-02-07 15:35:44 +05:30
parneet-guraya
91d5217b1e
handle audio focus and becoming noisy
...
Signed-off-by: parneet-guraya <gurayaparneet@gmail.com>
2024-02-07 15:35:42 +05:30
sowjanyakch
6a0f23c39b
Merge remote-tracking branch 'origin/feature/edit_messages' into feature/edit_messages
...
# Conflicts:
# app/src/main/java/com/nextcloud/talk/api/NcApi.java
# app/src/main/java/com/nextcloud/talk/chat/ChatActivity.kt
# app/src/main/java/com/nextcloud/talk/ui/MessageInput.kt
# app/src/main/java/com/nextcloud/talk/ui/dialog/MessageActionsDialog.kt
# app/src/main/res/drawable/ic_check_24.xml
# app/src/main/res/values/strings.xml
2024-02-05 23:01:25 +01:00
sowjanyakch
d27c7a6212
UI improvements
2024-02-05 22:46:30 +01:00
sowjanyakch
eb27b7039f
Update Edit Message
2024-02-05 22:46:30 +01:00
sowjanyakch
80c843227e
System Messages and Error handling
2024-02-05 22:46:30 +01:00
sowjanyakch
718369d80e
Edit inputText view refactoring
2024-02-05 22:46:30 +01:00
sowjanyakch
5ecfd3cd3b
Basic Edit feature
2024-02-05 22:46:30 +01:00
Sowjanya Kota
96a244408e
Checking Edit Capability
2024-02-05 22:46:29 +01:00
Sowjanya Kota
0e13c1f3ce
Merge branch 'master' into feature/edit_messages
...
Signed-off-by: Sowjanya Kota <sowjanya.kch@gmail.com>
2024-02-02 17:09:42 +01:00
sowjanyakch
253c3fe024
Update Edit Message
...
Signed-off-by: Sowjanya Kota <sowjanya.kch@gmail.com>
2024-02-01 13:34:13 +01:00
Julius Linus
d45277beaf
Impl "Add to Notes Action"
...
- Note to self option should only appear if conversation is available
- Added ic_edit_note_24_xml
- Implemented MVVM functions for cleaner data flow
- Added the option to the XML
- Works for Voice Messages
- Works for Files(and Gifs) + captions
- Works for GeoLocation Messages
- Added SnackBar
Signed-off-by: Julius Linus <julius.linus@nextcloud.com>
2024-02-01 12:18:06 +01:00
sowjanyakch
2b24c69cbf
System Messages and Error handling
...
Signed-off-by: Sowjanya Kota <101803542+sowjanyakch@users.noreply.github.com>
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2024-01-30 09:45:15 +01:00
sowjanyakch
33de105048
Edit inputText view refactoring
...
Signed-off-by: Sowjanya Kota <101803542+sowjanyakch@users.noreply.github.com>
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2024-01-25 17:47:21 +01:00
sowjanyakch
337f07abfe
Basic Edit feature
...
Signed-off-by: Sowjanya Kota <101803542+sowjanyakch@users.noreply.github.com>
2024-01-24 14:00:27 +01:00
Sowjanya Kota
d8d1de2f35
Checking Edit Capability
...
Signed-off-by:Sowjanya Kota <101803542+sowjanyakch@users.noreply.github.com>
2024-01-19 18:12:31 +01:00
Julius Linus
30c6ad5ab6
save cursor position
...
Signed-off-by: Julius Linus <julius.linus@nextcloud.com>
2024-01-15 15:16:32 +01:00
Sowjanya Kota
ffda98632e
Share message text to other apps
...
Signed-off-by: Sowjanya Kota <sowjanya.kch@gmail.com>
2024-01-04 11:18:24 +01:00
Andy Scherzinger
9621f943f1
theme background for dialog-based BottomSheet
...
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2023-12-15 09:55:55 +01:00
Andy Scherzinger
59e8f4b550
ktlint: No comment expected at this location
...
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2023-12-05 16:31:34 +01:00
Andy Scherzinger
88970c59a5
ktlint: Newline expected before expression body
...
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2023-12-05 16:26:33 +01:00
Andy Scherzinger
627e9d5c20
ktlint: No whitespace expected between opening parenthesis and first parameter name
...
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2023-12-05 16:17:31 +01:00