Commit graph

579 commits

Author SHA1 Message Date
0bc51a9917
Added README.md and LICENSE 2025-03-11 22:55:28 -04:00
a842818175
Refactor AddressBook methods to streamline peer address handling and improve error management
https://github.com/nosial/Socialbox-PHP/issues/29
2025-03-11 22:48:38 -04:00
81b3dcf3ea
Refactor AddressBookTrustSignature and ContactManager to improve UUID and peer address validation
https://github.com/nosial/Socialbox-PHP/issues/35
2025-03-11 22:46:36 -04:00
8cd3b381cf
Refactor AddressBookGetContact to streamline peer address validation and response handling
https://github.com/nosial/Socialbox-PHP/issues/33
2025-03-11 19:23:31 -04:00
1c48fcd35e
Refactor ContactManager to add UUID validation for peer UUID input
https://github.com/nosial/Socialbox-PHP/issues/34
2025-03-11 19:15:44 -04:00
b29f3ed1e2
Refactor AddressBookGetContacts and ContactManager to improve parameter validation and error handling
https://github.com/nosial/Socialbox-PHP/issues/34
2025-03-11 19:14:58 -04:00
eadf1cd3a4
Refactor AddressBookRevokeSignature and ContactManager to remove UUID validation and improve error handling
https://github.com/nosial/Socialbox-PHP/issues/36
2025-03-11 15:26:22 -04:00
50c638b534
Refactor AddressBookUpdateRelationship and ContactManager to improve variable naming and add UUID validation
https://github.com/nosial/Socialbox-PHP/issues/37
2025-03-11 15:20:56 -04:00
f01df7b4c4
Minor correction 2025-03-11 15:08:48 -04:00
5be20b0e70
Refactor EncryptionCloseChannel to simplify error handling and remove unused code
https://github.com/nosial/Socialbox-PHP/issues/19
2025-03-11 15:03:26 -04:00
d5e540789b
Removed unused imports
https://github.com/nosial/Socialbox-PHP/issues/22
2025-03-11 14:58:57 -04:00
c5d0e185c3
Refactor EncryptionGetChannel to remove UUID validation and cast channel_uuid to string
https://github.com/nosial/Socialbox-PHP/issues/22
2025-03-11 14:57:18 -04:00
netkas
b0ce6109d7 Removed unused imports
https://github.com/nosial/Socialbox-PHP/issues/24
2025-03-08 00:57:21 -05:00
netkas
0efc7f3666 Fix InvalidArgumentException to include previous exception as the third argument 2025-03-08 00:56:56 -05:00
netkas
5fbea63320 Remove UUID validation from EncryptionGetChannels to simplify argument handling
https://github.com/nosial/Socialbox-PHP/issues/24
2025-03-08 00:56:37 -05:00
netkas
fa9352d938 Refactor EncryptionChannelRejectMessage to remove UUID validation and ensure parameters are cast to string
https://github.com/nosial/Socialbox-PHP/issues/17
2025-03-08 00:50:16 -05:00
netkas
4f35485005 Refactor EncryptionChannelSend and EncryptionChannelManager to remove UUID and checksum validation, and add timestamp range check
https://github.com/nosial/Socialbox-PHP/issues/18
2025-03-08 00:44:44 -05:00
netkas
4e79783617 Remove UUID validation from EncryptionDeclineChannel to streamline error handling
https://github.com/nosial/Socialbox-PHP/issues/21
2025-03-08 00:38:07 -05:00
netkas
fa248abdbf Add pagination support for encryption channel retrieval methods
https://github.com/nosial/Socialbox-PHP/issues/14
2025-03-08 00:33:55 -05:00
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