Commit graph

510 commits

Author SHA1 Message Date
netkas
83a8217b26 Refactor EncryptionCreateChannel and EncryptionChannelManager to improve UUID handling and remove redundant validation checks
https://github.com/nosial/Socialbox-PHP/issues/20
2025-03-07 21:56:14 -05:00
netkas
6be9e90ceb Refactor getIncomingChannels to improve peer address validation logic
https://github.com/nosial/Socialbox-PHP/issues/25
2025-03-07 21:50:23 -05:00
netkas
ea3a070d13 Refactor EncryptionGetChannelRequests and EncryptionChannelManager to remove UUID validation and improve peer address handling
https://github.com/nosial/Socialbox-PHP/issues/23
2025-03-07 21:47:49 -05:00
netkas
0ff277ed4c Enhance message acknowledgment handling in EncryptionChannelReceive with improved error management
https://github.com/nosial/Socialbox-PHP/issues/16
2025-03-07 19:32:03 -05:00
netkas
7165734aef Refactor EncryptionGetOutgoingChannels and EncryptionChannelManager to remove UUID validation and adjust SQL query for ordering by creation date
https://github.com/nosial/Socialbox-PHP/issues/26
2025-03-07 19:28:38 -05:00
netkas
724b2ae472 Enhance EncryptionChannelReceive and EncryptionChannelManager to support message acknowledgment and limit on received messages
https://github.com/nosial/Socialbox-PHP/issues/16
2025-03-07 15:48:29 -05:00
netkas
bc05135566 Implement message count management and deletion for encryption channels
https://github.com/nosial/Socialbox-PHP/issues/14
2025-03-07 15:41:28 -05:00
netkas
b11db4f3ae Add max messages limit configuration for encryption channels
https://github.com/nosial/Socialbox-PHP/issues/14
2025-03-07 15:41:18 -05:00
netkas
90756b49a1 Add UUID validation in channelUuidExists method of EncryptionChannelManager 2025-03-07 15:40:55 -05:00
netkas
78c5a22c15 Cast channel and message UUIDs to string in EncryptionChannelAcknowledgeMessage
https://github.com/nosial/Socialbox-PHP/issues/14
2025-03-07 15:01:48 -05:00
netkas
5109796f76 Cast channel UUID and public encryption key to string in EncryptionAcceptChannel
https://github.com/nosial/Socialbox-PHP/issues/14
2025-03-07 14:56:12 -05:00
netkas
ba99c62e6a Enhance validation in EncryptionAcceptChannel and SocialClient for UUIDs and public encryption keys
https://github.com/nosial/Socialbox-PHP/issues/14
2025-03-07 14:54:22 -05:00
netkas
43b62ee1c9 Refactor encryptionChannelExists method documentation and reposition it within SocialClient class 2025-03-07 14:50:36 -05:00
netkas
6580c2a748 Add encryption channel methods to StandardMethods enum 2025-03-06 15:26:50 -05:00
netkas
824eed83f2 Add EncryptionGetOutgoingChannels class to retrieve outgoing encryption channels with pagination support 2025-03-06 15:19:57 -05:00
netkas
fcabcd91dc Add EncryptionGetIncomingChannels class to retrieve incoming encryption channels with pagination support 2025-03-06 15:19:30 -05:00
netkas
d0ac2a909b Add EncryptionGetChannels class to retrieve encryption channels with pagination support 2025-03-06 15:19:08 -05:00
netkas
15caf5e4dc Add EncryptionGetChannelRequests class to handle retrieval of encryption channel requests with pagination support 2025-03-06 15:18:19 -05:00
netkas
f9185b5969 Add EncryptionChannelRejectMessage class to handle message rejection in encryption channels 2025-03-06 15:16:43 -05:00
netkas
ec44e85a5e Improve documentation for encryption channel methods and add rejection functionality 2025-03-06 15:14:33 -05:00
netkas
91153a3532 Add factory method to create InvalidRpcArgumentException from InvalidArgumentException 2025-03-06 15:14:27 -05:00
netkas
1fedaa27c4 Refactor channel retrieval methods to support pagination and enhance peer address validation 2025-03-06 15:14:23 -05:00
netkas
fa78fdbac2 Add methods for managing encrypted channels, including acceptance, acknowledgment, creation, and retrieval 2025-03-04 13:50:37 -05:00
netkas
e3ca7869e2 Rename getAddress method to getPeerAddress for clarity 2025-03-04 13:41:57 -05:00
netkas
d9955f9393 Add EncryptionChannelMessage class for managing encryption channel message data 2025-03-04 13:41:52 -05:00
netkas
912de28871 Add methods to retrieve message owner and receiver, and convert record to standard message 2025-03-04 13:41:48 -05:00
netkas
1723983072 Add getSharedSecret method for Diffie-Hellman key exchange in EncryptionChannelSecret 2025-03-04 13:41:44 -05:00
netkas
4a37844920 Add EncryptionChannelInstance class for managing encryption channel messages 2025-03-04 13:41:39 -05:00
netkas
8a843eb60b Refactor RegisteredPeerManager to use getPeerAddress() for domain and username retrieval 2025-03-04 13:41:36 -05:00
netkas
8663de6e61 Add method to acknowledge a batch of messages in EncryptionChannelManager 2025-03-04 13:41:32 -05:00
netkas
a0dcec9733 Add ENCRYPTION_CHANNEL_ACKNOWLEDGE_MESSAGE case to StandardMethods enum 2025-03-04 13:41:26 -05:00
netkas
90324072b1 Fix incorrect method call for retrieving peer address in EncryptionDeclineChannel 2025-03-04 13:41:22 -05:00
netkas
3a5bf57ec1 Add EncryptionChannelReceive class for handling incoming messages in encryption channels 2025-03-04 13:41:17 -05:00
netkas
23d08f45ee Enhance EncryptionChannelAcknowledgeMessage to validate message_uuid and handle external acknowledgments 2025-03-04 13:41:12 -05:00
netkas
e142add843 Fix incorrect method call for retrieving peer address in EncryptionAcceptChannel 2025-03-04 13:41:07 -05:00
netkas
8dde6fed13 Added EncryptionChannelAcknowledge method for handling message acknowledgments in encryption channels 2025-03-04 13:41:00 -05:00
netkas
371ebfec1a Correction 2025-03-03 15:35:24 -05:00
netkas
0643f3edfd Added EncryptionGetChannel 2025-03-03 15:04:11 -05:00
netkas
5a87d5ccd1 Added EncryptionDeclineChannel 2025-03-03 15:03:41 -05:00
netkas
02b3f1931c Added EncryptionCreateChannel 2025-03-03 15:03:20 -05:00
netkas
49c6a8ebbc Added EncryptionChannelSend 2025-03-03 15:03:01 -05:00
netkas
f4c3954b06 Add encryption channel methods and related classes 2025-03-03 14:59:37 -05:00
netkas
b4cd8092e4 Add encryption channel methods and related classes 2025-03-03 14:59:15 -05:00
netkas
1b3829f62e Implement encryption channel methods and refactor related classes 2025-03-03 14:58:37 -05:00
netkas
fe5909aeae Added EncryptionChannelMessageStatus 2025-03-03 14:41:12 -05:00
netkas
0e1201bc86 Added EncryptionAcceptChannel 2025-03-03 14:40:14 -05:00
netkas
526dbd8ff1 Refactored parameter names and encryptionChannelSecrets 2025-03-03 14:39:20 -05:00
netkas
9eeab95e4d Logic Correction from "AND" to "OR" 2025-03-03 14:38:59 -05:00
netkas
603ee57511 Added nullable $parameterName for InvalidRpcArgumentException 2025-03-03 14:38:42 -05:00
netkas
47ebcb71ae Refactored EncryptionChannelSecret 2025-03-03 14:38:32 -05:00