Commit graph

533 commits

Author SHA1 Message Date
5de651bbcb
Enhance logging in PeerInformationManager and Socialbox to track peer resolution and information field retrieval 2025-03-25 15:22:37 -04:00
42168b132d
Update addressBookAddContact method to return boolean and adjust response handling
Some checks are pending
CI / release (push) Waiting to run
CI / debug (push) Waiting to run
CI / release_executable (push) Waiting to run
CI / debug_executable (push) Waiting to run
CI / check-phpunit (push) Waiting to run
CI / check-phpdoc (push) Waiting to run
CI / generate-phpdoc (push) Blocked by required conditions
CI / test (push) Blocked by required conditions
CI / release-documentation (push) Blocked by required conditions
CI / release-artifacts (push) Blocked by required conditions
2025-03-25 14:22:46 -04:00
4f9cc89cb8
Add methods to retrieve and check existence of information fields in Peer 2025-03-25 14:20:20 -04:00
3d9f5fc6b1
Improve logging in ContactManager to include relationship details and adjust relationship parameter handling in SocialClient 2025-03-25 14:02:10 -04:00
604f75f5c8
Update addressBookAddContact method to return contact UUID instead of boolean
Some checks are pending
CI / check-phpunit (push) Waiting to run
CI / check-phpdoc (push) Waiting to run
CI / generate-phpdoc (push) Blocked by required conditions
CI / test (push) Blocked by required conditions
CI / release-documentation (push) Blocked by required conditions
CI / release (push) Waiting to run
CI / debug (push) Waiting to run
CI / release_executable (push) Waiting to run
CI / debug_executable (push) Waiting to run
CI / release-artifacts (push) Blocked by required conditions
2025-03-25 12:59:09 -04:00
4a7fbd9970
Handle null expiration in KnownSigningKey to set default value 2025-03-25 12:59:03 -04:00
52985b6308
Enhance logging in ContactManager and improve error messages for invalid peer addresses 2025-03-25 12:58:53 -04:00
97ca09d7dd
Increase signature_key length in contact_known_keys.sql to accommodate larger keys 2025-03-25 12:58:48 -04:00
db9fa3f92e
Add signature management methods to Contact class for enhanced key handling 2025-03-25 12:58:42 -04:00
c981ed3d9d
Refactor AddressBookAddContact to improve relationship parameter handling and return contact UUID on success 2025-03-25 12:58:21 -04:00
631689b489
Refactor logging levels in RegisteredPeerManager and update getPeer method to return null for non-existent peers
Some checks failed
CI / check-phpdoc (push) Has been cancelled
CI / release (push) Has been cancelled
CI / debug (push) Has been cancelled
CI / release_executable (push) Has been cancelled
CI / debug_executable (push) Has been cancelled
CI / check-phpunit (push) Has been cancelled
CI / generate-phpdoc (push) Has been cancelled
CI / test (push) Has been cancelled
CI / release-documentation (push) Has been cancelled
CI / release-artifacts (push) Has been cancelled
2025-03-22 01:09:03 -04:00
db153453b5
Rename parameters in RegisteredPeerManager methods for clarity 2025-03-22 01:03:18 -04:00
f080775701
Add signatureExists method to Contact class and remove unused Cryptography import in ContactManager
Some checks are pending
CI / release_executable (push) Waiting to run
CI / release (push) Waiting to run
CI / debug (push) Waiting to run
CI / debug_executable (push) Waiting to run
CI / check-phpunit (push) Waiting to run
CI / check-phpdoc (push) Waiting to run
CI / generate-phpdoc (push) Blocked by required conditions
CI / test (push) Blocked by required conditions
CI / release-documentation (push) Blocked by required conditions
CI / release-artifacts (push) Blocked by required conditions
2025-03-22 01:00:20 -04:00
f80ab103a9
Update registration and authentication defaults to disable privacy policy and terms acceptance
Some checks are pending
CI / check-phpdoc (push) Waiting to run
CI / release (push) Waiting to run
CI / debug (push) Waiting to run
CI / release_executable (push) Waiting to run
CI / debug_executable (push) Waiting to run
CI / check-phpunit (push) Waiting to run
CI / generate-phpdoc (push) Blocked by required conditions
CI / test (push) Blocked by required conditions
CI / release-documentation (push) Blocked by required conditions
CI / release-artifacts (push) Blocked by required conditions
2025-03-22 00:41:08 -04:00
61d25a5904
Add unit test for address book contact deletion and update default page parameter in addressBookGetContacts method
Some checks are pending
CI / release (push) Waiting to run
CI / debug (push) Waiting to run
CI / release_executable (push) Waiting to run
CI / debug_executable (push) Waiting to run
CI / check-phpunit (push) Waiting to run
CI / check-phpdoc (push) Waiting to run
CI / generate-phpdoc (push) Blocked by required conditions
CI / test (push) Blocked by required conditions
CI / release-documentation (push) Blocked by required conditions
CI / release-artifacts (push) Blocked by required conditions
2025-03-20 13:14:49 -04:00
3935980146
Refactor getSelf method to instantiate Peer directly from sendRequest response 2025-03-20 13:05:07 -04:00
a7da38d5f9
Change flags property type from SessionFlags[] to string[] in SessionState 2025-03-20 13:05:01 -04:00
0883f55328
Handle potential null values for signing keys and encryption channel secrets in ExportedSession 2025-03-20 13:04:28 -04:00
ef463a132d
Refactor ContactManager to accept PeerDatabaseRecord in place of string for peer UUID 2025-03-20 13:04:17 -04:00
a92391445a
Refactor PeerDatabaseRecord and SessionManager to handle ReservedUsernames and improve date handling 2025-03-19 15:06:59 -04:00
6a1aa6b353
Set default value for privacy parameter in settingsAddInformationField method 2025-03-19 14:00:05 -04:00
50f998c2ab
Ensure numeric validation for configuration variables and set default for server keypair expiration 2025-03-19 13:33:38 -04:00
1f14f7afb4
Add signing keys to Docker configuration and update InitializeCommand 2025-03-19 13:06:43 -04:00
73ade04145
Improve error message in RpcClient for signature verification failure
Some checks are pending
CI / test (push) Blocked by required conditions
CI / release-documentation (push) Blocked by required conditions
CI / release-artifacts (push) Blocked by required conditions
CI / release (push) Waiting to run
CI / debug (push) Waiting to run
CI / release_executable (push) Waiting to run
CI / debug_executable (push) Waiting to run
CI / check-phpunit (push) Waiting to run
CI / check-phpdoc (push) Waiting to run
CI / generate-phpdoc (push) Blocked by required conditions
2025-03-18 15:21:33 -04:00
33706d0b50
Add logging volume mounts for coffee and teapot services; improve error message in RpcClient 2025-03-18 15:14:42 -04:00
fef9383dd2
Updated Logger class to not register error handlers if it's in a testing environment
Some checks are pending
CI / release (push) Waiting to run
CI / debug (push) Waiting to run
CI / release_executable (push) Waiting to run
CI / debug_executable (push) Waiting to run
CI / check-phpunit (push) Waiting to run
CI / check-phpdoc (push) Waiting to run
CI / generate-phpdoc (push) Blocked by required conditions
CI / test (push) Blocked by required conditions
CI / release-documentation (push) Blocked by required conditions
CI / release-artifacts (push) Blocked by required conditions
2025-03-18 15:00:09 -04:00
71563e51ee
Refactor Docker configuration and update encryption channels schema
Some checks are pending
CI / release_executable (push) Waiting to run
CI / release (push) Waiting to run
CI / debug (push) Waiting to run
CI / debug_executable (push) Waiting to run
CI / check-phpunit (push) Waiting to run
CI / check-phpdoc (push) Waiting to run
CI / generate-phpdoc (push) Blocked by required conditions
CI / test (push) Blocked by required conditions
CI / release-documentation (push) Blocked by required conditions
CI / release-artifacts (push) Blocked by required conditions
2025-03-18 13:04:32 -04:00
40f871dbea
Refactor encryption_channels_com table structure and add foreign key constraint
Some checks are pending
CI / release (push) Waiting to run
CI / debug (push) Waiting to run
CI / release_executable (push) Waiting to run
CI / debug_executable (push) Waiting to run
CI / check-phpunit (push) Waiting to run
CI / check-phpdoc (push) Waiting to run
CI / generate-phpdoc (push) Blocked by required conditions
CI / test (push) Blocked by required conditions
CI / release-documentation (push) Blocked by required conditions
CI / release-artifacts (push) Blocked by required conditions
2025-03-17 13:55:22 -04:00
705460e8e8
Corrected database object priority
Some checks are pending
CI / release (push) Waiting to run
CI / debug (push) Waiting to run
CI / release_executable (push) Waiting to run
CI / debug_executable (push) Waiting to run
CI / check-phpunit (push) Waiting to run
CI / check-phpdoc (push) Waiting to run
CI / generate-phpdoc (push) Blocked by required conditions
CI / test (push) Blocked by required conditions
CI / release-documentation (push) Blocked by required conditions
CI / release-artifacts (push) Blocked by required conditions
2025-03-17 13:50:09 -04:00
c95cdcd4da
Refactor cache handling in VariableManager and update configuration options
Some checks are pending
CI / debug (push) Waiting to run
CI / release_executable (push) Waiting to run
CI / release (push) Waiting to run
CI / debug_executable (push) Waiting to run
CI / check-phpunit (push) Waiting to run
CI / check-phpdoc (push) Waiting to run
CI / generate-phpdoc (push) Blocked by required conditions
CI / test (push) Blocked by required conditions
CI / release-documentation (push) Blocked by required conditions
CI / release-artifacts (push) Blocked by required conditions
2025-03-17 13:47:09 -04:00
66d2cd7907
Add AddressBookRevokeAllSignatures method for revoking all signing keys of a contact
https://github.com/nosial/Socialbox-PHP/issues/73
2025-03-13 14:20:27 -04:00
86f18b577a
Fix error message in EncryptionDeleteChannel to accurately reflect channel deletion
https://github.com/nosial/Socialbox-PHP/issues/72
2025-03-13 14:12:11 -04:00
c0a1aec7f7
Add EncryptionDeleteChannel method and RPC integration for channel deletion
https://github.com/nosial/Socialbox-PHP/issues/72
2025-03-13 14:11:43 -04:00
458d1bd9f9
Remove unnecessary exception documentation from verifySignature method to enhance clarity. 2025-03-13 14:06:21 -04:00
e723528eb8
Remove ResolvedServerOld class to clean up unused code and improve maintainability. 2025-03-13 14:03:05 -04:00
c4cd5ee352
Refactor CacheConfiguration to remove unnecessary whitespace, improving code readability. 2025-03-13 14:01:42 -04:00
b6829ff2b5
Refactor CacheConfiguration to remove the engine property and related methods, simplifying cache configuration management. 2025-03-13 13:59:48 -04:00
54b401b944
Refactor CacheLayer to improve Redis instance management by returning null if caching is disabled and handling connection errors more gracefully. 2025-03-13 13:57:21 -04:00
99e811086c
Refactor CacheLayer implementation by removing abstract class and its concrete implementations for Memcached and Redis, streamlining cache management. 2025-03-13 13:57:10 -04:00
a11c8b463f
Refactor ResolveSignature to improve UUID validation by reintroducing validation for 'signature_uuid' and throwing an InvalidRpcArgumentException for invalid UUIDs.
https://github.com/nosial/Socialbox-PHP/issues/44
2025-03-13 00:26:40 -04:00
df96d894a8
Refactor ResolvePeer to improve peer address handling by removing unnecessary exception handling and ensuring proper type casting for the peer parameter.
https://github.com/nosial/Socialbox-PHP/issues/43
2025-03-13 00:25:13 -04:00
3be5cd104d
Refactor VerifySignature to improve UUID and SHA512 validation, removing unnecessary exception handling for invalid parameters.
https://github.com/nosial/Socialbox-PHP/issues/45
2025-03-12 20:50:00 -04:00
97f2c17282
Refactor SettingsGetSignature to update parameter handling by changing 'uuid' to 'signature_uuid' and ensure proper type casting for signature retrieval.
https://github.com/nosial/Socialbox-PHP/issues/62
2025-03-12 20:39:50 -04:00
9806c317e9
Refactor SettingsAddSignature to ensure 'name' parameter is cast to string for proper handling and remove unnecessary exception handling for missing parameter.
https://github.com/nosial/Socialbox-PHP/issues/56
2025-03-12 17:57:55 -04:00
7aafd0334e
Refactor SigningKeysManager to enhance parameter handling by allowing PeerDatabaseRecord as a valid type for peer UUID, and improve UUID validation for both peer and signature UUIDs.
https://github.com/nosial/Socialbox-PHP/issues/53
2025-03-12 17:56:47 -04:00
7fc4815b15
Refactor SettingsSetOtp and OneTimePasswordManager to improve parameter handling, enhance UUID validation, and ensure proper type casting for password verification and OTP creation
https://github.com/nosial/Socialbox-PHP/issues/65
2025-03-12 17:53:04 -04:00
f02109bdc9
Refactor SettingsInformationFieldExists to ensure field parameter is cast to string for proper handling
https://github.com/nosial/Socialbox-PHP/issues/64
2025-03-12 17:49:45 -04:00
919f75b8ee
Refactor SocialClient to update parameter names for clarity by changing 'uuid' to 'signature_uuid' in SETTINGS_DELETE_SIGNATURE and SETTINGS_GET_SIGNATURE methods
https://github.com/nosial/Socialbox-PHP/issues/53
2025-03-12 17:48:24 -04:00
20df727b83
Refactor PeerInformationManager to enhance UUID validation by throwing an exception for invalid UUID V4 inputs
https://github.com/nosial/Socialbox-PHP/issues/61
2025-03-12 17:47:13 -04:00
340f2a3c75
Refactor SettingsDeletePassword and PasswordManager to improve parameter handling, enhance UUID validation, and ensure proper type casting for password verification
https://github.com/nosial/Socialbox-PHP/issues/59
2025-03-12 17:46:37 -04:00