Commit graph

97 commits

Author SHA1 Message Date
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
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
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
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
90756b49a1 Add UUID validation in channelUuidExists method of EncryptionChannelManager 2025-03-07 15:40:55 -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
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
b4cd8092e4 Add encryption channel methods and related classes 2025-03-03 14:59:15 -05:00
netkas
d18b00493d Minor improvements 2025-03-03 14:37:07 -05:00
netkas
1c95fb93ea Refactored EncryptionChannelManager 2025-02-21 22:59:20 -05:00
netkas
e2b5bfab32 Removed unused Encryption channel objects 2025-02-20 00:39:58 -05:00
netkas
29a3d42538 Major changes, revamp required 2025-02-20 00:34:07 -05:00
netkas
1f9890bba0 Updated standard error code 2025-02-19 14:57:47 -05:00
netkas
ee48456f2f Renamed SigningKey to Signature 2025-02-10 15:40:20 -05:00
netkas
05f6661a75 Renamed ContactRecord to Contact 2025-02-07 18:23:10 -05:00
netkas
a1704338c8 Added method importData to import data from external servers 2025-02-06 15:46:11 -05:00
netkas
0e08bef3bc Added Encrypted channels and communication methods 2025-02-06 15:13:00 -05:00
netkas
508d4565d9 Added existence check 2025-01-31 18:13:45 -05:00
netkas
7a39b0fd35 Renamed PeerRecord to PeerDatabaseRecord 2025-01-31 15:13:12 -05:00
netkas
268630226e Removed unused imports 2025-01-31 13:05:50 -05:00
netkas
2ba814f9b4 Peer resolution for a contact isn't needed, reference is found in 'address' which could be resolved at a later time 2025-01-31 13:05:31 -05:00
netkas
e63e7eb0d7 Added method AddressBookRevokeSignature 2025-01-30 19:59:29 -05:00
netkas
57d5528b31 Updated AddressBookGetContacts to return standard contact objects 2025-01-30 19:54:27 -05:00
netkas
83a47ddd5e Updated method AddressBookGetContact to return a full standard contact, improved standard contact object 2025-01-30 19:51:37 -05:00
netkas
330e7f876b Added the ability to trust signing keys & resolve signing keys for peers, minor improvements and added new standard error "CONFLICT" 2025-01-30 15:20:11 -05:00
netkas
4e22a8bacd Updated PhpDoc 2025-01-30 12:42:02 -05:00
netkas
a934049ea5 Changed Format 2025-01-30 12:41:04 -05:00
netkas
b8346e139c Renamed StandardException to StandardRpcException 2025-01-30 00:37:37 -05:00
netkas
efc9905200 Moved StandardException to it's own namespace 2025-01-30 00:27:06 -05:00
netkas
f073b8d004 Added TODO 2025-01-29 15:41:14 -05:00
netkas
94a7ce05f8 Added additional conditional checks and minor corrections 2025-01-29 15:40:59 -05:00
netkas
a02a765f11 Updated method getField() to return null instead of an exception if the requested record was not found 2025-01-29 15:25:22 -05:00
netkas
99c6c1385e Cleanup 2025-01-29 15:24:22 -05:00
netkas
c3f6f6096e RegisteredPeerManager synchronizeExternalPeer() method now synchronizes peer information too that is public by default 2025-01-27 02:46:21 -05:00
netkas
a826f4f3a9 Updated Standard Peer object to include standard information fields and updated PeerInformationManager to retrieve filtered fields per privacy condition 2025-01-24 15:20:19 -05:00
netkas
f689e36378 Refactored Peer Information to use InformationFields rather than being hard-coded into the peer record 2025-01-24 15:10:20 -05:00
netkas
75de51c910 Added method ADDRESS_BOOK_GET_CONTACTS 2025-01-22 22:01:07 -05:00
netkas
2933b5435f Updated Formatting 2025-01-22 15:36:12 -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
e5c6bed02e Add server_public_signing_key to session response payload 2025-01-14 19:26:20 -05:00
netkas
cd12c1b987 Refactor SessionFlags handling and improve test coverage 2025-01-14 14:53:47 -05:00
netkas
9dd60330d2 Add ContactManager for managing contact-related operations 2025-01-14 14:26:41 -05:00
netkas
107ca0b9ca Add method to synchronize external peers in the database 2025-01-11 19:38:21 -05:00