🔨 1 new commit to ComuCompose:master:
2b29bb2: Fix reply not being cancelled after leaving chat activity, progressive blur, fix reply identifier handing, redesign edit text(s).
Signed-off-by: NikkaGames <[email protected]> by NikkaGames
2b29bb2: Fix reply not being cancelled after leaving chat activity, progressive blur, fix reply identifier handing, redesign edit text(s).
Signed-off-by: NikkaGames <[email protected]> by NikkaGames
🔨 1 new commit to ComuCompose:master:
662ea8c: Refactor: stickers caching and processing, reply impl, etc.
Signed-off-by: NikkaGames <[email protected]> by NikkaGames
662ea8c: Refactor: stickers caching and processing, reply impl, etc.
Signed-off-by: NikkaGames <[email protected]> by NikkaGames
🔨 1 new commit to ComuCompose:master:
2fcef28: Minor changes and fixes
Signed-off-by: NikkaGames <[email protected]> by NikkaGames
2fcef28: Minor changes and fixes
Signed-off-by: NikkaGames <[email protected]> by NikkaGames
🔨 1 new commit to ComuCompose:master:
d1dbccf: Implement Local Message Allocation in memory, redesign stuff in chat activity, fix chat activity entering transition not animating, etc.
Signed-off-by: NikkaGames <[email protected]> by NikkaGames
d1dbccf: Implement Local Message Allocation in memory, redesign stuff in chat activity, fix chat activity entering transition not animating, etc.
Signed-off-by: NikkaGames <[email protected]> by NikkaGames
🔨 1 new commit to ComuServer:main:
09b06fc: Add x64 support, refactor encryption, and clean up code
Added platform-specific configurations to support AnyCPU and x64
in ComuServer.csproj and ComuServer.sln. Refactored the TCPServer
class to replace XorEncryptDecrypt with new Encrypt/Decrypt
methods using a character-shifting algorithm. Updated SendData
to use UTF8 encoding and improved logging/debugging. Removed
redundant code and unused logic. Temporarily disabled relay
functionality in UdpRelayServer for future updates. by NikkaGames
09b06fc: Add x64 support, refactor encryption, and clean up code
Added platform-specific configurations to support AnyCPU and x64
in ComuServer.csproj and ComuServer.sln. Refactored the TCPServer
class to replace XorEncryptDecrypt with new Encrypt/Decrypt
methods using a character-shifting algorithm. Updated SendData
to use UTF8 encoding and improved logging/debugging. Removed
redundant code and unused logic. Temporarily disabled relay
functionality in UdpRelayServer for future updates. by NikkaGames
🔨 1 new commit to ComuCompose:master:
8d73531: Update encryption mechanism and switch to Google Emoji provider
Refactor socket message handling and connection safety
Revamp activity transitions and ChatActivity input layout
Fix LoginActivity initialization and handling of default profile icons
Signed-off-by: NikkaGames <[email protected]> by NikkaGames
8d73531: Update encryption mechanism and switch to Google Emoji provider
Refactor socket message handling and connection safety
Revamp activity transitions and ChatActivity input layout
Fix LoginActivity initialization and handling of default profile icons
Signed-off-by: NikkaGames <[email protected]> by NikkaGames
🔨 1 new commit to ComuCompose:master:
57b8b29: Refactor background services and optimize resource usage
- Introduce
- Refactor
- Refactor
- Update
- Remove unused imports across Activities (
- Add
Signed-off-by: NikkaGames <[email protected]> by NikkaGames
57b8b29: Refactor background services and optimize resource usage
- Introduce
AppVisibility to track foreground state and smartSleep for adaptive thread delays.- Refactor
SocketService: improve thread management, synchronize request queue, and fix message frame parsing.- Refactor
ServerService: replace Timer with a thread loop and extract notification logic.- Update
Comu to register the lifecycle observer.- Remove unused imports across Activities (
CallActivity, ChatActivity, MainActivity, ProfileActivity).- Add
lifecycle-process dependency.Signed-off-by: NikkaGames <[email protected]> by NikkaGames
🔨 1 new commit to ComuServer:main:
2f941ba: Refactor TCPServer to support composite dictionary keys
Introduced
(
the
and refactored all related operations, including
Modified methods like
to work with the new key structure. Enhanced MongoDB operations
and
keys. Changed the debugging flag to
These changes improve flexibility and scalability by allowing
more complex client identification scenarios. by NikkaGames
2f941ba: Refactor TCPServer to support composite dictionary keys
Introduced
CDictionary<TKey, TValue> to enable composite keys(
string[]) for managing clients in the TCPServer class. Updatedthe
clientz dictionary to use CDictionary<string[], SslStream>and refactored all related operations, including
TryToAdd,TryGetValue, and RemoveByUid, to handle composite keys.Modified methods like
cleanUp, printUsers, and event handlersto work with the new key structure. Enhanced MongoDB operations
and
fcm event handling to ensure compatibility with compositekeys. Changed the debugging flag to
enableDbg(false).These changes improve flexibility and scalability by allowing
more complex client identification scenarios. by NikkaGames
🔨 1 new commit to ComuServer:main:
0737547: Refactor string building for kvp.Key handling
Updated string construction to use only kvp.Key[0] for "ID"
and "Status" fields. Added conditional logic to append
" | FCM: Yes" or " | FCM: No" based on kvp.Key length.
Adjusted formatting of conditional blocks for consistency. by NikkaGames
0737547: Refactor string building for kvp.Key handling
Updated string construction to use only kvp.Key[0] for "ID"
and "Status" fields. Added conditional logic to append
" | FCM: Yes" or " | FCM: No" based on kvp.Key length.
Adjusted formatting of conditional blocks for consistency. by NikkaGames
🔨 1 new commit to ComuServer:main:
334ce5f: Refactor MongoDB logic; add FCM notifications support
Refactored MongoDB query logic in
consistency, and improved error handling. Added
method to retrieve Firebase Cloud Messaging (FCM) tokens.
Enhanced message-sending workflow to integrate FCM push
notifications with a fallback to
Introduced
including token caching and Firebase authentication using
Improved code readability, maintainability, and adopted
asynchronous programming patterns for non-blocking operations. by NikkaGames
334ce5f: Refactor MongoDB logic; add FCM notifications support
Refactored MongoDB query logic in
TCPServer.cs for simplicity,consistency, and improved error handling. Added
GetFCMByIdmethod to retrieve Firebase Cloud Messaging (FCM) tokens.
Enhanced message-sending workflow to integrate FCM push
notifications with a fallback to
SslStream. RefactoredSslStream handling for better validation and reliability.Introduced
FcmSender class to handle FCM notifications,including token caching and Firebase authentication using
GoogleCredential. Added dependencies: Google.Apis.Auth.OAuth2,Newtonsoft.Json, and System.Net.Http.Improved code readability, maintainability, and adopted
asynchronous programming patterns for non-blocking operations. by NikkaGames
🔨 1 new commit to ComuCompose:master:
7a7edd5: Here is a concise commit message summarizing the changes:
Implement Firebase Cloud Messaging (FCM) support and optimize connection logic
- Add
- Update
- Implement
- Integrate Firebase dependencies (Messaging, Analytics, BoM) in build configuration
- Update
- Refactor
- Add
- Update UI components to reflect connection status based on the new logic
Signed-off-by: NikkaGames <[email protected]> by NikkaGames
7a7edd5: Here is a concise commit message summarizing the changes:
Implement Firebase Cloud Messaging (FCM) support and optimize connection logic
- Add
ComuFirebaseService to handle incoming FCM messages and notifications- Update
LoginActivity to support token persistence, relaunch logic, and FCM initialization- Implement
TokenDb in Handlers for local token storage and retrieval- Integrate Firebase dependencies (Messaging, Analytics, BoM) in build configuration
- Update
AndroidManifest.xml with new permissions and service declarations- Refactor
SocketService and connection handling to support both socket and FCM modes- Add
google-services.json configuration for Firebase project integration- Update UI components to reflect connection status based on the new logic
Signed-off-by: NikkaGames <[email protected]> by NikkaGames
🔨 1 new commit to ComuServer:main:
b6d044b: Enhance token generation and response handling logic
Updated the token generation response to include
Added a conditional block to handle duplicate
keys in
Removed unnecessary
introduced an
b6d044b: Enhance token generation and response handling logic
Updated the token generation response to include
uname andverified fields using GetNameById and GetVerifiedById.Added a conditional block to handle duplicate
Ievent.datakeys in
rtokens, returning a failure response (resp).Removed unnecessary
continue after sending resp2 andintroduced an
else block for failure handling. by NikkaGames🔨 1 new commit to ComuCompose:master:
910dcad: Remove ServerService and refactor connection logic
- Delete
- Update
- Refactor
- Add automatic reconnection checks in
- Improve null safety for profile icons and average color calculations.
- Optimize login flow and service startup sequences in
Signed-off-by: NikkaGames <[email protected]> by NikkaGames
910dcad: Remove ServerService and refactor connection logic
- Delete
ServerService and remove from Manifest.- Update
SocketService configuration and cleanup logic.- Refactor
TokenDb usage in Handlers to use a singleton instance.- Add automatic reconnection checks in
MainActivity and ChatActivity on resume.- Improve null safety for profile icons and average color calculations.
- Optimize login flow and service startup sequences in
LoginActivity.Signed-off-by: NikkaGames <[email protected]> by NikkaGames
🔨 1 new commit to ComuCompose:master:
e045f51: Replace ACRA with Firebase Crashlytics
Add message timestamps and date separators in ChatActivity
Parse message time in Handlers and add formatting utilities
Redirect notification clicks to LoginActivity if not connected
Move heavy color calculation off the main thread in MainActivity
Fix potential null pointer issues in Handlers
Signed-off-by: NikkaGames <[email protected]> by NikkaGames
e045f51: Replace ACRA with Firebase Crashlytics
Add message timestamps and date separators in ChatActivity
Parse message time in Handlers and add formatting utilities
Redirect notification clicks to LoginActivity if not connected
Move heavy color calculation off the main thread in MainActivity
Fix potential null pointer issues in Handlers
Signed-off-by: NikkaGames <[email protected]> by NikkaGames
🔨 1 new commit to ComuCompose:master:
c82ea0d: Refactor message handling loop and remove unused methods
Optimize profile picture loading and caching mechanisms
Update ChatActivity reconnection logic and timestamp UI
Reduce polling delays and improve background thread management
Signed-off-by: NikkaGames <[email protected]> by NikkaGames
c82ea0d: Refactor message handling loop and remove unused methods
Optimize profile picture loading and caching mechanisms
Update ChatActivity reconnection logic and timestamp UI
Reduce polling delays and improve background thread management
Signed-off-by: NikkaGames <[email protected]> by NikkaGames
🔨 1 new commit to ComuCompose:master:
1ddbd2d: 3000-rc2 -> Implement custom loading animation and improve navigation flow
- Replace standard progress indicators with new
- Add
- Enhance intent handling in
- Move socket closure to a background thread in
- Enforce a character limit on the text input in
Signed-off-by: NikkaGames <[email protected]> by NikkaGames
1ddbd2d: 3000-rc2 -> Implement custom loading animation and improve navigation flow
- Replace standard progress indicators with new
JumpSwapDots composable in ChatActivity and MainActivity.- Add
ReconScreen to LoginActivity for handling reconnection states using the new comu_circle resource.- Enhance intent handling in
LoginActivity and ComuFirebaseService to navigate directly to specific chats.- Move socket closure to a background thread in
SocketService.- Enforce a character limit on the text input in
MainActivity.Signed-off-by: NikkaGames <[email protected]> by NikkaGames
🔨 1 new commit to ComuCompose:master:
4ec964d: Push latest changes
* Utils.kt: Add optional
* ChatActivity.kt: Adjust
* LoginActivity.kt: Replace
* MainActivity.kt: Replace
Signed-off-by: NikkaGames <[email protected]> by NikkaGames
4ec964d: Push latest changes
* Utils.kt: Add optional
fill parameter to JumpSwapDots to control width behavior.* ChatActivity.kt: Adjust
JumpSwapDots animation speed to 125.* LoginActivity.kt: Replace
CircularProgressIndicator with JumpSwapDots during loading state; fix incorrect Handlers.messageCheck call (start -> run).* MainActivity.kt: Replace
CircularProgressIndicator with JumpSwapDots for UI consistency.Signed-off-by: NikkaGames <[email protected]> by NikkaGames
🔨 1 new commit to ComuCompose:master:
5e2abaa: Revamp Profile UI and add Firebase Performance
- Rewrite ProfileActivity with collapsing droplet header, custom avatar morphing, and nested scroll handling.
- Integrate Firebase Performance Monitoring plugin and dependencies.
- Update JumpSwapDots utility with new layout parameters and animation logic.
- Add animated connecting indicator to MainActivity and adjust dot sizing in ChatActivity.
Signed-off-by: NikkaGames <[email protected]> by NikkaGames
5e2abaa: Revamp Profile UI and add Firebase Performance
- Rewrite ProfileActivity with collapsing droplet header, custom avatar morphing, and nested scroll handling.
- Integrate Firebase Performance Monitoring plugin and dependencies.
- Update JumpSwapDots utility with new layout parameters and animation logic.
- Add animated connecting indicator to MainActivity and adjust dot sizing in ChatActivity.
Signed-off-by: NikkaGames <[email protected]> by NikkaGames
🔨 1 new commit to ComuCompose:master:
9f3bcfe: Refactor event handling and cleanup code
- Replace hardcoded event name strings with constants in
- Introduce
- Convert
- Use
- Improve null safety checks and string building efficiency
Signed-off-by: NikkaGames <[email protected]> by NikkaGames
9f3bcfe: Refactor event handling and cleanup code
- Replace hardcoded event name strings with constants in
Handlers.kt- Introduce
waitResult helper to deduplicate synchronous request logic- Convert
if-else chains to when expressions and improve formatting- Use
getIcon() accessor instead of direct property access in ProfileActivity- Improve null safety checks and string building efficiency
Signed-off-by: NikkaGames <[email protected]> by NikkaGames
🔨 1 new commit to ComuServer:main:
5307034: Refactor, clean up, and update protocol events
Refactored code for improved readability and consistency:
- Standardized
- Removed unused methods, exception variables, and legacy code.
- Replaced hardcoded event names with descriptive alternatives.
- Updated JSON response keys to match new event names.
Bug fixes and enhancements:
- Fixed typos in log messages.
- Added
- Refactored
- Introduced
Other changes:
- Added
- Replaced
5307034: Refactor, clean up, and update protocol events
Refactored code for improved readability and consistency:
- Standardized
if-else blocks and added braces {}.- Removed unused methods, exception variables, and legacy code.
- Replaced hardcoded event names with descriptive alternatives.
- Updated JSON response keys to match new event names.
Bug fixes and enhancements:
- Fixed typos in log messages.
- Added
time field to "msg.new" event for timestamps.- Refactored
msg.delete for better isdel handling.- Introduced
Encrypt method for string encryption.Other changes:
- Added
SharpCompress.Compressors.Xz library.- Replaced
GoogleUserOutputData deserialization with JsonDocument. by NikkaGames🔨 1 new commit to ComuCompose:master:
2204a63: Implement edge-to-edge UI and refactor profile animations
- Enable transparent status bars and edge-to-edge layout across Main, Login, Chat, and Profile activities
- Update themes.xml to support transparent system bars
- Refactor droplet background physics, avatar blur, and layout in ProfileActivity
- Add default profile image fallback logic in MainActivity
- Update incoming message event key in Firebase service
Signed-off-by: NikkaGames <[email protected]> by NikkaGames
2204a63: Implement edge-to-edge UI and refactor profile animations
- Enable transparent status bars and edge-to-edge layout across Main, Login, Chat, and Profile activities
- Update themes.xml to support transparent system bars
- Refactor droplet background physics, avatar blur, and layout in ProfileActivity
- Add default profile image fallback logic in MainActivity
- Update incoming message event key in Firebase service
Signed-off-by: NikkaGames <[email protected]> by NikkaGames