rapterjet2004
d26697b932
Abstracting away media player functionality to MediaPlayerManager
...
- Most code removed from ChatActivity
- Most work in MediaPlayerManager
- Added BackgroundVoiceMessageCard
Signed-off-by: rapterjet2004 <juliuslinus1@gmail.com>
2025-03-04 16:02:12 -06:00
Marcel Hibbe
3dca00bac0
resolve warnings
...
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2025-01-10 12:32:31 +01:00
Marcel Hibbe
ab007fc444
resolve codacy/ktlint warnings
...
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2025-01-10 12:32:30 +01:00
Marcel Hibbe
f62941f6aa
simplify "sent messages are queued" hint
...
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2025-01-10 12:32:29 +01:00
Marcel Hibbe
0f53244652
prepare to replace no-internet-connection message handling (sorry Julius!!)
...
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2025-01-10 12:32:27 +01:00
Andy Scherzinger
12620a5c3e
style(detekt): shorten long methods
...
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2024-12-10 09:00:47 +01:00
Andy Scherzinger
f820277779
style(detekt): Accept current use of TooGenericExceptionCaught cases
...
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2024-12-06 11:11:24 +01:00
Andy Scherzinger
eb890cfbd3
style(detekt): Replace MagicNumbers with constants
...
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2024-12-06 11:11:02 +01:00
Christian Reiner
20d36c1eb9
playback speed control button for voice messages
...
Signed-off-by: Christian Reiner <foss@christian-reiner.info>
Themed the PlaybackSpeedControl + Work around onBind bug
Signed-off-by: rapterjet2004 <juliuslinus1@gmail.com>
2024-12-02 18:12:30 +01:00
Marcel Hibbe
366c2b5777
reformat code + fix lint warnings
...
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2024-12-02 17:32:27 +01:00
Marcel Hibbe
22517c8ec9
new notification warner
...
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2024-12-02 17:32:27 +01:00
Andy Scherzinger
26876c21d7
style(ktlint): Fix formatting
...
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2024-12-02 10:39:59 +01:00
Marcel Hibbe
b1e550b049
Show a warning if notifications are not allowed or battery optimization is enabled
...
Open notification settings when click on warning
Also, still offer to enable notifications and disable battery optimization on first install
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2024-11-26 15:24:47 +01:00
Marcel Hibbe
716dfa6577
Add permanent hint when battery optimization is not ignored
...
Also add an option to not show the hint, when user doesn't want to ignore battery optimization.
Only show these features when gplay services are available. Otherwise don't show them as it would pretend notifications would be possible without gplay.
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2024-11-26 15:24:47 +01:00
sowjanyakch
626994e68c
lint warnings
...
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2024-11-21 10:52:10 +01:00
sowjanyakch
33314cf0ca
use constants
...
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2024-11-21 10:52:10 +01:00
sowjanyakch
5094cf5719
convert rxjava to coroutines - set expiration and set notification levels for messages
...
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2024-11-21 10:52:10 +01:00
sowjanyakch
f4f943ff5a
convert rxjava to coroutines - notification calls
...
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2024-11-21 10:52:09 +01:00
sowjanyakch
77b55dcd9b
convert java code to kotlin - DatabaseStorageModule
...
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2024-11-21 10:52:09 +01:00
sowjanyakch
9e8a5476f9
Rename .java to .kt
...
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
2024-11-21 10:52:09 +01:00
rapterjet2004
cc717b25f6
got deleting working and added attempts logic again
...
Signed-off-by: rapterjet2004 <juliuslinus1@gmail.com>
2024-10-22 10:51:06 +02:00
rapterjet2004
df2c6cfc06
impl marcel suggestions + adding deleting cache option
...
Signed-off-by: rapterjet2004 <juliuslinus1@gmail.com>
2024-10-22 10:50:58 +02:00
rapterjet2004
0041fb3b71
deleting works
...
Signed-off-by: rapterjet2004 <juliuslinus1@gmail.com>
2024-10-22 10:49:56 +02:00
rapterjet2004
569be55395
Implement queued messages for offline support
...
Signed-off-by: rapterjet2004 <juliuslinus1@gmail.com>
2024-09-13 15:27:44 +02:00
Andy Scherzinger
9d62a6f745
fix: improve detekt score and threshold
...
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2024-08-17 20:42:26 +02:00
Marcel Hibbe
2408d639e4
Offline support for conversations and chats
...
Authors: Julius Linus and Marcel Hibbe
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2024-08-12 16:47:03 +02:00
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
ba812cabdc
add rest of SpreedFeatures to Enums
...
delete method hasSpreedFeatureCapability that accepts capability name as string
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2024-03-05 13:31:23 +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
Marcel Hibbe
c7a72aaf4a
add diagnose screen and permission warnings in settings
...
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2024-01-12 09:54:28 +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
Marcel Hibbe
f6b481cea8
translate "no proxy" in settings
...
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2023-11-29 11:43:18 +01:00
Julius Linus
b1568e7f49
- Fixed bug with occasional crash with stop
...
- Implement MediaRecorderState handling
- Fixed lifecycle bug - recording and locked UI now ends after app exits
- Saves Waveform to storage after initial loading
- Fixes File caption crashes
- A couple other bugs
Signed-off-by: Julius Linus <julius.linus@nextcloud.com>
2023-11-29 11:38:25 +01:00
Julius Linus
11f1d5fc7e
Migrating away from StoreBox to DataStore
...
- Added DataStore dependencies
- Created AppPreferencesImpl
Signed-off-by: Julius Linus <julius.linus@nextcloud.com>
2023-10-24 14:35:19 +02:00
rapterjet2004
943286ddd6
migrating from material preferences to native, squashed commit
...
Signed-off-by: Julius Linus julius.linus@nextcloud.com
2023-06-27 14:53:18 +02:00
rapterjet2004
76f5fe91f6
migrating from material preferences to native, squashed commit
...
Signed-off-by: Julius Linus julius.linus@nextcloud.com
2023-06-27 14:53:18 +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
d3d8e2abef
add setting to toggle typing status privacy
...
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2023-05-23 10:49:30 +02:00
Andy Scherzinger
ff3dffd051
Spotbugs: literal string comparison
...
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2022-12-29 11:36:57 +01:00
Andy Scherzinger
8fb11bf713
remove any use of org.jetbrains.annotations.NotNull
...
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2022-10-11 12:47:45 +02:00
Álvaro Brey
704df25a6d
Refactor and extract ViewThemeUtils to common library
...
Signed-off-by: Álvaro Brey <alvaro.brey@nextcloud.com>
2022-08-31 19:54:05 +02:00
Marcel Hibbe
4bdb78372e
add expiring messages option in conversation info screen
...
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2022-08-24 12:01:20 +02:00
Andy Scherzinger
2332c3568c
theme progress bars and remainign alert dialogs
...
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2022-08-11 09:51:01 +02:00
Andy Scherzinger
b5040f2d55
Migrate ArbitraryStorageUtils to ArbitraryStorageManager use
...
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2022-07-24 13:41:34 +02:00
Andy Scherzinger
5c6fe628f1
Migrate ArbitraryStorageUtils to room
...
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2022-07-23 18:40:32 +02:00
Andy Scherzinger
7230f81cf5
Migrate conversations list and next hop controllers to use the room user entity
...
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2022-07-13 00:22:03 +02:00
Andy Scherzinger
359104d6ba
rename to isDbRoomMigrated and setDbRoomMigrated for proper kotlin interoperability
...
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2022-07-01 08:59:13 +02:00
Andy Scherzinger
f7ca1ec804
DB version switcher for requery
...
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2022-07-01 08:59:10 +02:00
Andy Scherzinger
05db482d06
adding arbitrary storage implementation, initial steps towards new util classes
...
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2022-07-01 08:59:07 +02:00