Commit graph

  • 92cabddc3b
    Add SocialClientSessionTest class for unit testing master netkas 2025-03-14 15:26:03 -04:00
  • 748b0b2c37
    Add Helper class with random username generator method netkas 2025-03-14 15:25:59 -04:00
  • 53673b596a
    Removed unnecessary blank line in SessionFlagsTest.php netkas 2025-03-14 15:25:54 -04:00
  • d097d2bb78
    Removed unused ping.http netkas 2025-03-14 15:25:49 -04:00
  • 01a6447c13
    Updated phpunit.xml to removed unused property netkas 2025-03-14 15:25:43 -04:00
  • 6fee098407
    Added logger.py for Docker netkas 2025-03-14 15:25:34 -04:00
  • 167a010332
    Removed unused utilities.js netkas 2025-03-14 15:25:25 -04:00
  • f157eee07c
    Added test signatures netkas 2025-03-14 15:25:15 -04:00
  • dc65836b8b
    Update Docker configuration for test environment and add logging server netkas 2025-03-14 15:25:06 -04:00
  • 0764ca9bde
    Add test environment definitions and mock DNS records in bootstrap.php netkas 2025-03-14 15:24:51 -04:00
  • 0dc9e032d2
    Add paths to .gitignore for Docker test data directories netkas 2025-03-14 15:24:47 -04:00
  • 244f45d6c6
    Updated CryptographyTest.php netkas 2025-03-13 14:52:02 -04:00
  • 66d2cd7907
    Add AddressBookRevokeAllSignatures method for revoking all signing keys of a contact netkas 2025-03-13 14:20:27 -04:00
  • 86f18b577a
    Fix error message in EncryptionDeleteChannel to accurately reflect channel deletion netkas 2025-03-13 14:12:11 -04:00
  • c0a1aec7f7
    Add EncryptionDeleteChannel method and RPC integration for channel deletion netkas 2025-03-13 14:11:43 -04:00
  • 458d1bd9f9
    Remove unnecessary exception documentation from verifySignature method to enhance clarity. netkas 2025-03-13 14:06:21 -04:00
  • e723528eb8
    Remove ResolvedServerOld class to clean up unused code and improve maintainability. netkas 2025-03-13 14:03:05 -04:00
  • c4cd5ee352
    Refactor CacheConfiguration to remove unnecessary whitespace, improving code readability. netkas 2025-03-13 14:01:42 -04:00
  • b6829ff2b5
    Refactor CacheConfiguration to remove the engine property and related methods, simplifying cache configuration management. netkas 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. netkas 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. netkas 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. netkas 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. netkas 2025-03-13 00:25:13 -04:00
  • 3be5cd104d
    Refactor VerifySignature to improve UUID and SHA512 validation, removing unnecessary exception handling for invalid parameters. netkas 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. netkas 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. netkas 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. netkas 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 netkas 2025-03-12 17:53:04 -04:00
  • f02109bdc9
    Refactor SettingsInformationFieldExists to ensure field parameter is cast to string for proper handling netkas 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 netkas 2025-03-12 17:48:24 -04:00
  • 20df727b83
    Refactor PeerInformationManager to enhance UUID validation by throwing an exception for invalid UUID V4 inputs netkas 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 netkas 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 netkas 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 netkas 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 netkas 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 netkas 2025-03-12 15:16:17 -04:00
  • f51ea0bd78
    Refactor SettingsGetInformationField and PeerInformationManager to improve error handling and validate UUID format netkas 2025-03-12 15:13:42 -04:00
  • d127393402
    Refactor SettingsSetPassword and PasswordManager to enhance password handling and validate UUID format netkas 2025-03-12 15:11:52 -04:00
  • c3b1ee799a
    Refactor SettingsSignatureExists and SigningKeysManager to improve UUID validation and update parameter naming for clarity netkas 2025-03-12 15:10:07 -04:00
  • d47251c251
    Refactor SettingsUpdateInformationField and PeerInformationManager to enhance UUID validation and improve error handling for property values netkas 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 netkas 2025-03-12 14:16:34 -04:00
  • 9c8945141c
    Refactor SettingsUpdatePassword and PasswordManager to improve password validation and ensure UUID integrity netkas 2025-03-12 14:14:03 -04:00
  • 76a343a36d
    Refactor VerificationOtpAuthentication to handle database operation exceptions when retrieving session netkas 2025-03-12 13:34:49 -04:00
  • a433ad2593
    Refactor VerificationAuthenticate to simplify external peer check in authentication method netkas 2025-03-12 13:32:17 -04:00
  • e89833f20e
    Refactor VerificationGetImageCaptcha to update comment on data URI scheme for captcha image encoding netkas 2025-03-12 13:29:43 -04:00
  • 7ec1125b3f
    Refactor VerificationAnswerImageCaptcha to ensure answer parameter is cast to string before processing netkas 2025-03-12 13:19:45 -04:00
  • 4cdabf6603
    Refactor CaptchaManager to improve UUID validation and streamline variable usage netkas 2025-03-12 13:19:20 -04:00
  • 938c558cdc
    Refactor VerificationPasswordAuthentication and PasswordManager to enhance validation for password hashes and UUIDs netkas 2025-03-12 00:54:35 -04:00
  • 1d6820a4f1
    Refactor AddressBookAddContact to prevent adding self and reserved usernames as contacts netkas 2025-03-12 00:33:42 -04:00
  • 86050e2201
    Refactor ContactManager to add validation for peer address and UUID input netkas 2025-03-12 00:31:32 -04:00
  • 0bc51a9917
    Added README.md and LICENSE netkas 2025-03-11 22:55:28 -04:00
  • a842818175
    Refactor AddressBook methods to streamline peer address handling and improve error management netkas 2025-03-11 22:48:38 -04:00
  • 81b3dcf3ea
    Refactor AddressBookTrustSignature and ContactManager to improve UUID and peer address validation netkas 2025-03-11 22:46:36 -04:00
  • 8cd3b381cf
    Refactor AddressBookGetContact to streamline peer address validation and response handling netkas 2025-03-11 19:23:31 -04:00
  • 1c48fcd35e
    Refactor ContactManager to add UUID validation for peer UUID input netkas 2025-03-11 19:15:44 -04:00
  • b29f3ed1e2
    Refactor AddressBookGetContacts and ContactManager to improve parameter validation and error handling netkas 2025-03-11 19:14:58 -04:00
  • eadf1cd3a4
    Refactor AddressBookRevokeSignature and ContactManager to remove UUID validation and improve error handling netkas 2025-03-11 15:26:22 -04:00
  • 50c638b534
    Refactor AddressBookUpdateRelationship and ContactManager to improve variable naming and add UUID validation netkas 2025-03-11 15:20:56 -04:00
  • f01df7b4c4
    Minor correction netkas 2025-03-11 15:08:48 -04:00
  • 5be20b0e70
    Refactor EncryptionCloseChannel to simplify error handling and remove unused code netkas 2025-03-11 15:03:26 -04:00
  • d5e540789b
    Removed unused imports netkas 2025-03-11 14:58:57 -04:00
  • c5d0e185c3
    Refactor EncryptionGetChannel to remove UUID validation and cast channel_uuid to string netkas 2025-03-11 14:57:18 -04:00
  • b0ce6109d7 Removed unused imports netkas 2025-03-08 00:57:21 -05:00
  • 0efc7f3666 Fix InvalidArgumentException to include previous exception as the third argument netkas 2025-03-08 00:56:56 -05:00
  • 5fbea63320 Remove UUID validation from EncryptionGetChannels to simplify argument handling netkas 2025-03-08 00:56:37 -05:00
  • fa9352d938 Refactor EncryptionChannelRejectMessage to remove UUID validation and ensure parameters are cast to string netkas 2025-03-08 00:50:16 -05:00
  • 4f35485005 Refactor EncryptionChannelSend and EncryptionChannelManager to remove UUID and checksum validation, and add timestamp range check netkas 2025-03-08 00:44:44 -05:00
  • 4e79783617 Remove UUID validation from EncryptionDeclineChannel to streamline error handling netkas 2025-03-08 00:38:07 -05:00
  • fa248abdbf Add pagination support for encryption channel retrieval methods netkas 2025-03-08 00:33:55 -05:00
  • 83a8217b26 Refactor EncryptionCreateChannel and EncryptionChannelManager to improve UUID handling and remove redundant validation checks netkas 2025-03-07 21:56:14 -05:00
  • 6be9e90ceb Refactor getIncomingChannels to improve peer address validation logic netkas 2025-03-07 21:50:23 -05:00
  • ea3a070d13 Refactor EncryptionGetChannelRequests and EncryptionChannelManager to remove UUID validation and improve peer address handling netkas 2025-03-07 21:47:49 -05:00
  • 0ff277ed4c Enhance message acknowledgment handling in EncryptionChannelReceive with improved error management netkas 2025-03-07 19:32:03 -05:00
  • 7165734aef Refactor EncryptionGetOutgoingChannels and EncryptionChannelManager to remove UUID validation and adjust SQL query for ordering by creation date netkas 2025-03-07 19:28:38 -05:00
  • 724b2ae472 Enhance EncryptionChannelReceive and EncryptionChannelManager to support message acknowledgment and limit on received messages netkas 2025-03-07 15:48:29 -05:00
  • bc05135566 Implement message count management and deletion for encryption channels netkas 2025-03-07 15:41:28 -05:00
  • b11db4f3ae Add max messages limit configuration for encryption channels netkas 2025-03-07 15:41:18 -05:00
  • 90756b49a1 Add UUID validation in channelUuidExists method of EncryptionChannelManager netkas 2025-03-07 15:40:55 -05:00
  • 78c5a22c15 Cast channel and message UUIDs to string in EncryptionChannelAcknowledgeMessage netkas 2025-03-07 15:01:48 -05:00
  • 5109796f76 Cast channel UUID and public encryption key to string in EncryptionAcceptChannel netkas 2025-03-07 14:56:12 -05:00
  • ba99c62e6a Enhance validation in EncryptionAcceptChannel and SocialClient for UUIDs and public encryption keys netkas 2025-03-07 14:54:22 -05:00
  • 43b62ee1c9 Refactor encryptionChannelExists method documentation and reposition it within SocialClient class netkas 2025-03-07 14:50:36 -05:00
  • 0aec416bf7 Merge branch 'master' into 'dev' Netkas 2025-03-06 22:11:16 +00:00
  • 6580c2a748 Add encryption channel methods to StandardMethods enum netkas 2025-03-06 15:26:50 -05:00
  • 824eed83f2 Add EncryptionGetOutgoingChannels class to retrieve outgoing encryption channels with pagination support netkas 2025-03-06 15:19:57 -05:00
  • fcabcd91dc Add EncryptionGetIncomingChannels class to retrieve incoming encryption channels with pagination support netkas 2025-03-06 15:19:30 -05:00
  • d0ac2a909b Add EncryptionGetChannels class to retrieve encryption channels with pagination support netkas 2025-03-06 15:19:08 -05:00
  • 15caf5e4dc Add EncryptionGetChannelRequests class to handle retrieval of encryption channel requests with pagination support netkas 2025-03-06 15:18:19 -05:00
  • f9185b5969 Add EncryptionChannelRejectMessage class to handle message rejection in encryption channels netkas 2025-03-06 15:16:43 -05:00
  • ec44e85a5e Improve documentation for encryption channel methods and add rejection functionality netkas 2025-03-06 15:14:33 -05:00
  • 91153a3532 Add factory method to create InvalidRpcArgumentException from InvalidArgumentException netkas 2025-03-06 15:14:27 -05:00
  • 1fedaa27c4 Refactor channel retrieval methods to support pagination and enhance peer address validation netkas 2025-03-06 15:14:23 -05:00
  • fa78fdbac2 Add methods for managing encrypted channels, including acceptance, acknowledgment, creation, and retrieval netkas 2025-03-04 13:50:37 -05:00
  • e3ca7869e2 Rename getAddress method to getPeerAddress for clarity netkas 2025-03-04 13:41:57 -05:00
  • d9955f9393 Add EncryptionChannelMessage class for managing encryption channel message data netkas 2025-03-04 13:41:52 -05:00
  • 912de28871 Add methods to retrieve message owner and receiver, and convert record to standard message netkas 2025-03-04 13:41:48 -05:00
  • 1723983072 Add getSharedSecret method for Diffie-Hellman key exchange in EncryptionChannelSecret netkas 2025-03-04 13:41:44 -05:00
  • 4a37844920 Add EncryptionChannelInstance class for managing encryption channel messages netkas 2025-03-04 13:41:39 -05:00
  • 8a843eb60b Refactor RegisteredPeerManager to use getPeerAddress() for domain and username retrieval netkas 2025-03-04 13:41:36 -05:00
  • 8663de6e61 Add method to acknowledge a batch of messages in EncryptionChannelManager netkas 2025-03-04 13:41:32 -05:00