Commits by Nikka
9 subscribers
164 links
Owned by @NikkaGameS
Download Telegram
🔨 1 new commit to ComuCompose:master:

7969edd: Refresh chat list even if activity isnt focused

Signed-off-by: NikkaGames <[email protected]> by NikkaGames
🔨 1 new commit to ComuCompose:master:

8693f91: Adapt to chat list refreshing changes

Signed-off-by: NikkaGames <[email protected]> by NikkaGames
🔨 1 new commit to ComuCompose:master:

587c0f8: Cache chat list items, Cache Font entries

Signed-off-by: NikkaGames <[email protected]> by NikkaGames
🔨 1 new commit to ComuCompose:master:

a3e32ea: Load chats at earlier stage, Refresh chats if new incoming message is from unknown user, Change message cell props

Signed-off-by: NikkaGames <[email protected]> by NikkaGames
🔨 1 new commit to ComuCompose:master:

32a5e65: Push latest changes

Signed-off-by: NikkaGames <[email protected]> by NikkaGames
🔨 1 new commit to ComuCompose:master:

5ae662b: Refresh chat list when creating new chat if recipient not present in chat list, Update chat list item when local client sends a message to recipient.

Signed-off-by: NikkaGames <[email protected]> by NikkaGames
🔨 1 new commit to ComuCompose:master:

78ae209: Large refactor: upgrade dependencies, implement haze effects for blur effect solution, etc (I forgot the rest lol).

Signed-off-by: NikkaGames <[email protected]> by NikkaGames
🔨 1 new commit to ComuCompose:master:

84a2ca7: Add input scaling for haze effects (0.8x)

Signed-off-by: NikkaGames <[email protected]> by NikkaGames
🔨 1 new commit to ComuCompose:master:

25a9ca7: Push last changes

Signed-off-by: NikkaGames <[email protected]> by NikkaGames
🔨 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
🔨 1 new commit to ComuCompose:master:

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
🔨 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
🔨 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
🔨 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
🔨 1 new commit to ComuCompose:master:

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 CDictionary<TKey, TValue> to enable composite keys
(string[]) for managing clients in the TCPServer class. Updated
the 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 handlers
to work with the new key structure. Enhanced MongoDB operations
and fcm event handling to ensure compatibility with composite
keys. 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
🔨 1 new commit to ComuServer:main:

334ce5f: Refactor MongoDB logic; add FCM notifications support

Refactored MongoDB query logic in TCPServer.cs for simplicity,
consistency, and improved error handling. Added GetFCMById
method to retrieve Firebase Cloud Messaging (FCM) tokens.

Enhanced message-sending workflow to integrate FCM push
notifications with a fallback to SslStream. Refactored
SslStream 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 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 uname and
verified fields using GetNameById and GetVerifiedById.
Added a conditional block to handle duplicate Ievent.data
keys in rtokens, returning a failure response (resp).
Removed unnecessary continue after sending resp2 and
introduced an else block for failure handling. by NikkaGames