39 Commits
Author SHA1 Message Date
rapterjet2004 b4dad81019 Adding Announcements and Channels
Fixing state spreed capability bug with MessageInputFragment.kt
Channel creation now works
unify conversation attributes
Reuse classified-attribute check via ConversationModel helper

Adds isClassifiedAttribute() next to isChannel()/isAnnouncement() on
ConversationModel, and has ConversationUtils.isClassified() compose it
instead of re-deriving the attribute bitmask check. The Conversation
(json model) overload is kept for CallActivity but marked deprecated
in favor of the ConversationModel one.

checkIfVoiceRoom()/isChannel()/isAnnouncement()/isClassifiedAttribute()
were declared on ConversationModel even though every other "does this
conversation satisfy X" predicate already lives in ConversationUtils.
Keeps the extension-function call syntax at all call sites, only the
import path changes. ConversationModel keeps mapToConversationModel(),
which is model construction rather than a business-rule predicate.

Move channel-preset capability check into ConversationUtils.isChannel

isChannel() was a raw attribute check, so every caller had to repeat
"conversation.isChannel() && hasSpreedFeatureCapability(..., ANNOUNCEMENT_PRESET)"
themselves. Renamed the raw checks to isChannelAttribute()/
isAnnouncementAttribute() (mirroring isClassifiedAttribute()) and added
a capability-gated isChannel(conversation, spreedCapabilities), mirroring
the existing isClassified()/isClassifiedAttribute() split. Callers now
call ConversationUtils.isChannel(...) directly.

Simplify capability handling in ChatViewModel.messagesFlow

spreedCapabilities was only needed inside the terminal map step of
messagesFlow (to filter system messages for channels), but it was
being combined into the outer flatMapLatest trigger. Any capabilities
emission unrelated to the conversation forced the whole message
source subscription to cancel and restart.

Move the capabilities dependency to a dedicated isChannelFlow
(conversationAndUserFlow + spreedCapabilities -> Boolean, with
distinctUntilChanged), and combine only that into the innermost step.
handleSystemMessages() now takes a plain Boolean instead of
ConversationModel/SpreedCapability, making it simpler to reason about
and test.

Implementing suggestions

Signed-off-by: rapterjet2004 <[email protected]>
2026-08-14 12:27:53 -05:00
Andy Scherzinger 510e666b39 docs: Generalize SPDX header
Signed-off-by: Andy Scherzinger <[email protected]>
2026-03-15 11:13:54 +01:00
rapterjet2004 feccb8aab8 linter
Signed-off-by: rapterjet2004 <[email protected]>
2025-08-26 13:45:07 -05:00
rapterjet2004 bf27e2bd26 Implementing Refactoring Login V2
- LocalLoginDataSource
- LoginRepository
- NetworkLoginDataSource
- BrowserLoginActivityViewModel
- BrowserLoginActivity

Testing Feature

- NetworkLoginDataSourceTest
- LoginRepositoryTest
- Dummy classes + Dependency Injection modules

Signed-off-by: rapterjet2004 <[email protected]>
2025-08-20 07:36:01 -05:00
rapterjet2004 ce589b3cae Improving search capability
- Updated api with getContextForChatMessages
- Added ContextChatCompose for viewing the context of messages
- Added ComposeChatAdapter, a reimplementation of chat adapter
- Helper functions
- Added new date header
- Added a better Shimmer

Signed-off-by: rapterjet2004 <[email protected]>
2025-04-16 20:09:25 +02:00
rapterjet2004 b707cebf6f Added intent handling on item click
Signed-off-by: rapterjet2004 <[email protected]>
2025-02-06 11:15:16 +01:00
rapterjet2004 d114142d09 Migrating away from java.util.Date to java.time
- Also converted dialog fragment to compose

Signed-off-by: rapterjet2004 <[email protected]>
2025-01-10 11:14:34 +01:00
rapterjet2004 adea08c774 forgot to set ignoreCase to true
Signed-off-by: rapterjet2004 <[email protected]>
2024-11-21 07:50:31 -06:00
rapterjet2004 498a1274d9 git
Signed-off-by: rapterjet2004 <[email protected]>
2024-10-22 10:46:03 +02:00
sowjanyakch 06e48c6aad Set background color for search
Signed-off-by: sowjanyakch <[email protected]>
2024-09-11 09:30:41 +02:00
Marcel Hibbe 2408d639e4 Offline support for conversations and chats
Authors: Julius Linus and Marcel Hibbe

Signed-off-by: Marcel Hibbe <[email protected]>
2024-08-12 16:47:03 +02:00
sowjanyakch bb46b6adad Contacts Activity Compose
Signed-off-by: sowjanyakch <[email protected]>
2024-07-23 11:41:24 +02:00
Andy Scherzinger e59a10d48e Add SPDX header template
Signed-off-by: Andy Scherzinger <[email protected]>
2024-04-01 10:53:28 +02:00
Marcel Hibbe b5b2778555 remove code style configs.
AS sometimes wants to remove these lines.

Not sure what these lines do, but as the files app also don't have them in the Project.xml file i hope they can be removed without side effects.

Signed-off-by: Marcel Hibbe <[email protected]>
2023-06-12 13:39:13 +02:00
Álvaro Brey 704df25a6d Refactor and extract ViewThemeUtils to common library
Signed-off-by: Álvaro Brey <[email protected]>
2022-08-31 19:54:05 +02:00
Andy Scherzinger 26c3a7baf4 updated ignore exceptions nad add project icon to IDE
Signed-off-by: Andy Scherzinger <[email protected]>
2022-05-14 14:25:37 +02:00
Marcel Hibbe 65fb284c6c add reactions for previewMessageHolders
Signed-off-by: Marcel Hibbe <[email protected]>
2022-04-08 09:21:15 +02:00
Andy Scherzinger d8d44c8404 update ktlint formatter + documenting update steps
Signed-off-by: Andy Scherzinger <[email protected]>
2021-06-08 10:38:05 +02:00
Andy Scherzinger 5b5d18e93a add formatter rules to comply with ktlint checks
Signed-off-by: Andy Scherzinger <[email protected]>
2021-04-27 18:16:26 +02:00
Marcel Hibbe dc6d5651d9 ignore .idea in .gitignore / remove .idea from index
executed
git rm -r --cached .idea
according to
https://stackoverflow.com/questions/1274057/how-to-make-git-forget-about-a-file-that-was-tracked-but-is-now-in-gitignore

Signed-off-by: Marcel Hibbe <[email protected]>
2021-01-20 12:12:08 +01:00
tobiasKaminsky 98e2117bdf Missing imports after rebase
Signed-off-by: tobiasKaminsky <[email protected]>
2020-12-18 14:33:10 +01:00
tobiasKaminsky ad97abaee4 Add phone book integration
Signed-off-by: tobiasKaminsky <[email protected]>
2020-12-14 12:05:43 +01:00
tobiasKaminsky f7d9290871 Chat during call
Signed-off-by: tobiasKaminsky <[email protected]>
2020-10-09 12:08:21 +02:00
Mario Danic ac1bb0ecf7 Fix spamming participants
Signed-off-by: Mario Danic <[email protected]>
2020-04-15 12:02:56 +02:00
Mario Danic 06b4d09dc3 Update version
Signed-off-by: Mario Danic <[email protected]>
2020-03-21 16:27:34 +01:00
Mario Danic 7656f30eb4 Fix #713
Signed-off-by: Mario Danic <[email protected]>
2020-01-24 09:11:37 +01:00
Mario Danic 652b72ebde Fix #702
Signed-off-by: Mario Danic <[email protected]>
2020-01-15 10:25:15 +01:00
Mario Danic 0613254e08 Update modules
Signed-off-by: Mario Danic <[email protected]>
2020-01-13 09:55:27 +01:00
Mario Danic f6066a6b28 Update stuff
Signed-off-by: Mario Danic <[email protected]>
2020-01-13 09:49:51 +01:00
Mario Đanić 4143bd841e Fresco and sharing (#531)
* Various improvements

This is literally the worst commit I ever did, but due to rebasing issues this is how it is.

* Fixes after rebase

Signed-off-by: Mario Danic <[email protected]>

* Updates post-rebase

Signed-off-by: Mario Danic <[email protected]>

* Updates #2 post rebase

Signed-off-by: Mario Danic <[email protected]>

* Update deps

Signed-off-by: Mario Danic <[email protected]>
2019-04-24 08:32:19 +02:00
Mario Danic 220a4b292d Fix possible crashes
Signed-off-by: Mario Danic <[email protected]>
2019-02-02 01:26:01 +01:00
Mario Danic 3e6b5f8382 Fix #292 2018-09-06 20:30:01 +02:00
Mario Danic 2087598db3 Implement nice material animation for done/clear buttons
Signed-off-by: Mario Danic <[email protected]>
2018-03-08 20:39:32 +01:00
tobiasKaminsky 87dbf7497c change to git 2018-03-07 09:50:35 +01:00
Mario Danic bfb377ee9a Small refactoring
Signed-off-by: Mario Danic <[email protected]>
2018-01-28 14:34:58 +01:00
Mario Danic 15586bc0cc Much progress
Signed-off-by: Mario Danic <[email protected]>
2017-11-11 05:39:01 +01:00
Mario Danic 918e0085a4 Update copyright for email
Signed-off-by: Mario Danic <[email protected]>
2017-10-25 21:51:00 +02:00
Mario Danic 89113a3775 Update modules
Signed-off-by: Mario Danic <[email protected]>
2017-10-23 12:47:28 +02:00
Mario Danic 05d080b95c Initial import
Signed-off-by: Mario Danic <[email protected]>
2017-10-23 12:40:38 +02:00