Commit graph

561 commits

Author SHA1 Message Date
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
9a6f37aa05
Refactor SettingsDeleteSignature and SigningKeysManager to update parameter names for clarity, enhance UUID validation, and ensure proper type casting for signature UUID
https://github.com/nosial/Socialbox-PHP/issues/58
2025-03-12 17:43:50 -04:00
f3f6cf973f
Refactor SettingsDeleteOtp to remove unnecessary cryptography validation and ensure password parameter is cast to string for verification
https://github.com/nosial/Socialbox-PHP/issues/57
2025-03-12 15:24:19 -04:00
0618ecc00f
Refactor SettingsAddInformationField to improve type casting for field and privacy parameters, and enhance error logging for rollback failures
https://github.com/nosial/Socialbox-PHP/issues/54
2025-03-12 15:20:35 -04:00
e1b61e631f
Refactor SettingsDeleteInformationField and PeerInformationManager to improve UUID validation and ensure proper type casting for field parameters
https://github.com/nosial/Socialbox-PHP/issues/55
2025-03-12 15:16:17 -04:00
f51ea0bd78
Refactor SettingsGetInformationField and PeerInformationManager to improve error handling and validate UUID format
https://github.com/nosial/Socialbox-PHP/issues/60
2025-03-12 15:13:42 -04:00
d127393402
Refactor SettingsSetPassword and PasswordManager to enhance password handling and validate UUID format
https://github.com/nosial/Socialbox-PHP/issues/66
2025-03-12 15:11:52 -04:00
c3b1ee799a
Refactor SettingsSignatureExists and SigningKeysManager to improve UUID validation and update parameter naming for clarity
https://github.com/nosial/Socialbox-PHP/issues/67
2025-03-12 15:10:07 -04:00
d47251c251
Refactor SettingsUpdateInformationField and PeerInformationManager to enhance UUID validation and improve error handling for property values
https://github.com/nosial/Socialbox-PHP/issues/68
2025-03-12 14:22:19 -04:00
2967c87990
Refactor SettingsUpdateInformationPrivacy and PeerInformationManager to ensure proper UUID validation and improve error handling for privacy state updates
https://github.com/nosial/Socialbox-PHP/issues/69
2025-03-12 14:16:34 -04:00
9c8945141c
Refactor SettingsUpdatePassword and PasswordManager to improve password validation and ensure UUID integrity
https://github.com/nosial/Socialbox-PHP/issues/70
2025-03-12 14:14:03 -04:00
76a343a36d
Refactor VerificationOtpAuthentication to handle database operation exceptions when retrieving session
https://github.com/nosial/Socialbox-PHP/issues/78
2025-03-12 13:34:49 -04:00
a433ad2593
Refactor VerificationAuthenticate to simplify external peer check in authentication method
https://github.com/nosial/Socialbox-PHP/issues/77
2025-03-12 13:32:17 -04:00
e89833f20e
Refactor VerificationGetImageCaptcha to update comment on data URI scheme for captcha image encoding
https://github.com/nosial/Socialbox-PHP/issues/76
2025-03-12 13:29:43 -04:00
7ec1125b3f
Refactor VerificationAnswerImageCaptcha to ensure answer parameter is cast to string before processing
https://github.com/nosial/Socialbox-PHP/issues/75
2025-03-12 13:19:45 -04:00
4cdabf6603
Refactor CaptchaManager to improve UUID validation and streamline variable usage
https://github.com/nosial/Socialbox-PHP/issues/74
2025-03-12 13:19:20 -04:00
938c558cdc
Refactor VerificationPasswordAuthentication and PasswordManager to enhance validation for password hashes and UUIDs
https://github.com/nosial/Socialbox-PHP/issues/79
2025-03-12 00:54:35 -04:00
1d6820a4f1
Refactor AddressBookAddContact to prevent adding self and reserved usernames as contacts
https://github.com/nosial/Socialbox-PHP/issues/30
2025-03-12 00:33:42 -04:00
86050e2201
Refactor ContactManager to add validation for peer address and UUID input
https://github.com/nosial/Socialbox-PHP/issues/31
2025-03-12 00:31:32 -04:00
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