Commit graph

280 commits

Author SHA1 Message Date
netkas
75de51c910 Added method ADDRESS_BOOK_GET_CONTACTS 2025-01-22 22:01:07 -05:00
netkas
d56483119c Minor changes 2025-01-22 18:20:00 -05:00
netkas
83112f0137 Added debug logging to RpcClient 2025-01-22 18:16:48 -05:00
netkas
9e02f0c29b Simplified RpcRequest constructor to accept StandardMethods & string as a input for the method parameter 2025-01-22 15:43:27 -05:00
netkas
aa445c7bdd Added method ADDRESS_BOOK_DELETE_CONTACT 2025-01-22 15:40:50 -05:00
netkas
0d09e77d59 Updated PhpDocs 2025-01-22 15:36:19 -05:00
netkas
2933b5435f Updated Formatting 2025-01-22 15:36:12 -05:00
netkas
3bb5f2788e Updated PhpDocs 2025-01-22 15:36:01 -05:00
netkas
bb3e0a5ffa Updated PhpDoc, added method ADDRESS_BOOK_ADD_CONTACT, minor correction in getRegistrationMethods where $methods was not initialized 2025-01-22 15:35:35 -05:00
netkas
ad1e819094 Type error fixes 2025-01-22 15:04:41 -05:00
netkas
e41a7867b4 Added CLI logger 2025-01-22 14:22:28 -05:00
netkas
a3456bdeed Added LogLib2 support 2025-01-22 13:18:55 -05:00
netkas
9dd8c39ce1 Refactor peer resolution logic and add sync interval setting 2025-01-15 15:49:53 -05:00
netkas
ab03439e04 Refactor peer synchronization and resolution logic. 2025-01-15 15:21:44 -05:00
netkas
f9a268058f Refactor toStandardPeer to improve data construction clarity 2025-01-15 15:15:21 -05:00
netkas
8cad8f97fe Add __toString method to PeerAddress class 2025-01-15 15:15:06 -05:00
netkas
eda41155aa Update exception message for invalid address type 2025-01-15 15:04:53 -05:00
netkas
a2bbb6e57b Add transport encryption and configuration updates 2025-01-15 14:22:46 -05:00
netkas
4a143a8a97 Refactor database operations for resolved DNS records 2025-01-15 13:55:52 -05:00
netkas
3adb62cfc7 Add PING request type to RequestType enum 2025-01-15 13:55:43 -05:00
netkas
a7f5d268de Add support for handling PING requests in Socialbox 2025-01-15 13:55:33 -05:00
netkas
56acd4cf81 Enhance RpcException message with encryption algorithm details 2025-01-14 19:26:31 -05:00
netkas
e5c6bed02e Add server_public_signing_key to session response payload 2025-01-14 19:26:20 -05:00
netkas
c6bc83ad87 Fix key name in RPC request payload 2025-01-14 15:45:25 -05:00
netkas
5cb8e72ca5 Refactor header validation logic. 2025-01-14 15:45:17 -05:00
netkas
2fa4fdebee Add getter methods to RpcClient for instance properties 2025-01-14 15:45:10 -05:00
netkas
1cab09b675 Add isExternal method to PeerAddress class 2025-01-14 15:45:02 -05:00
netkas
cd12c1b987 Refactor SessionFlags handling and improve test coverage 2025-01-14 14:53:47 -05:00
netkas
a4602bab91 Add option to display internal exceptions in produceError 2025-01-14 14:53:29 -05:00
netkas
edf6677256 Add error handling and update parameter in RPC request 2025-01-14 14:53:21 -05:00
netkas
14ad8588b0 Add ContactRelationshipType enum 2025-01-14 14:52:40 -05:00
netkas
b46423db14 Add ContactRecord class for handling contact data 2025-01-14 14:51:37 -05:00
netkas
9dd60330d2 Add ContactManager for managing contact-related operations 2025-01-14 14:26:41 -05:00
netkas
92c70559f4 Fix session expiration logic in SessionRecord 2025-01-11 19:59:16 -05:00
netkas
0fbb824f10 Add error handling and refactor peer synchronization logic 2025-01-11 19:49:20 -05:00
netkas
7eae62cfd8 Add updated field to RegisteredPeerRecord 2025-01-11 19:39:09 -05:00
netkas
107ca0b9ca Add method to synchronize external peers in the database 2025-01-11 19:38:21 -05:00
netkas
24e21038e8 Handle host peer identification and synchronization logic 2025-01-11 19:38:09 -05:00
netkas
3662f668f0 Add optional "identifiedAs" parameter for RPC requests 2025-01-11 19:37:49 -05:00
netkas
72a6aaec5b Update error messages in Authenticate.php for clarity 2025-01-10 18:18:17 -05:00
netkas
9e9596989d Refactor session flag handling and add VER_AUTHENTICATION. 2025-01-10 18:17:28 -05:00
netkas
4d01947092 Add authentication method to SocialClient 2025-01-10 18:11:24 -05:00
netkas
9d9a4b46b3 Add Authenticate method to handle external peer authentication 2025-01-10 18:09:47 -05:00
netkas
ffa3eac722 Prevent duplicate mock DNS records in ServerResolver 2025-01-10 15:24:38 -05:00
netkas
a4b17f91e0 Minor Correction 2025-01-10 15:17:12 -05:00
netkas
62c8d332a9 Add peer resolution through the resolvePeer method 2025-01-10 15:16:02 -05:00
netkas
fde3ccfc68 Add external session management and support for remote servers 2025-01-10 14:58:24 -05:00
netkas
ec32978050 Handle missing session in DHE exchange requests 2025-01-10 13:34:40 -05:00
netkas
2c83604057 Refactor mockRecord method to support string input. 2025-01-10 13:34:18 -05:00
netkas
36a2d52041 Ensure server keypair expiration checks handle invalid values 2025-01-10 13:34:02 -05:00