Commit graph

545 commits

Author SHA1 Message Date
d140c861a0
Corrected RpcRequest in settingsGetSignatures method to use SETTINGS_GET_SIGNATURES 2025-03-27 15:27:04 -04:00
66ed368d75
Refactor Signature and SigningKeyRecord classes to allow nullable name property and update related methods
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-27 15:21:09 -04:00
200b6a7c1f
Add Base32 decoding method and implement SecretOtp class with serialization methods
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-27 14:09:56 -04:00
2179df3372
Normalize username and domain inputs to lowercase in various classes 2025-03-27 13:40:58 -04:00
eaccaacf96
Normalize domain input to lowercase in getExternalSession method and add authentication check 2025-03-27 12:52:46 -04:00
fb31c3cc6a
Normalize server input to lowercase in RpcClient constructor 2025-03-27 12:52:39 -04:00
dff25f31ba
Normalize domain input to lowercase in session management methods 2025-03-27 12:52:31 -04:00
3c151bfd99
Added support for one-time password verification in session creation
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-26 18:07:27 -04:00
2e184ebc74
Enforced domain to be lowercase for case-sensitivity purposes and corrected some PhpDoc strings 2025-03-26 15:13:26 -04:00
463e86f59f
Refactored AddressBookGetContact to produce an error rather than returning null if the contact does not exist. 2025-03-26 15:12:09 -04:00
03a4fa2a84
Fix peer identification logic in Socialbox and enhance remote resolution handling
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-26 13:41:51 -04:00
3250407f2b
Refactor peer identification logic in ResolvePeer and Socialbox for clarity and improved error messaging 2025-03-26 13:11:56 -04:00
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