Commit graph

  • 48778c4dbc
    Enhance RPC client logging and error handling for server information retrieval master netkas 2025-04-03 17:48:03 -04:00
  • 7ba33f215c
    Add tests for settings information fields, including maximum length, XSS defense, privacy state enforcement, and invalid key formats netkas 2025-03-28 15:53:34 -04:00
  • f53ab460c8
    Add tests for settings information fields, including maximum length, privacy state changes, special characters, and malicious input handling netkas 2025-03-28 15:22:49 -04:00
  • c0e4671111
    Add comprehensive tests for address book operations, including special characters, SQL injection, persistence, race conditions, and invalid inputs netkas 2025-03-28 15:16:49 -04:00
  • bbbcfb49f0
    Add tests for invalid address book operations netkas 2025-03-28 15:04:37 -04:00
  • 9ef2ea64be
    Remove logging and output of server information in Socialbox netkas 2025-03-28 15:01:18 -04:00
  • be25ea49f9
    Fix password hash assignment and update timestamp format in PasswordManager netkas 2025-03-28 15:01:13 -04:00
  • 8046b8a8a2
    Add additional assertions for session state in SocialClientRegistrationTest netkas 2025-03-28 14:52:58 -04:00
  • a7d4e6c2e3
    Added additional assertion checks netkas 2025-03-28 14:03:59 -04:00
  • bde2b48470
    Fix password verification by passing the peer object instead of UUID netkas 2025-03-28 13:53:56 -04:00
  • fd480ec4ef
    Fix password verification by passing the peer object instead of UUID netkas 2025-03-28 13:53:32 -04:00
  • 0669f13493
    Throw exception when no password hash is found for the given peer UUID netkas 2025-03-28 13:52:59 -04:00
  • 68eaaf91c2
    Add test for retrieving information fields in SettingsTest netkas 2025-03-27 15:40:59 -04:00
  • d7812d79a0
    Rename prefixes in SettingsTest for clarity and consistency netkas 2025-03-27 15:33:31 -04:00
  • bbf5085e5b
    Add tests for deleting signatures in SettingsTest netkas 2025-03-27 15:29:12 -04:00
  • 22629f9b30
    Add tests for adding multiple and exceeding signing keys in SettingsTest netkas 2025-03-27 15:27:09 -04:00
  • d140c861a0
    Corrected RpcRequest in settingsGetSignatures method to use SETTINGS_GET_SIGNATURES netkas 2025-03-27 15:27:04 -04:00
  • 66ed368d75
    Refactor Signature and SigningKeyRecord classes to allow nullable name property and update related methods netkas 2025-03-27 15:21:09 -04:00
  • 200b6a7c1f
    Add Base32 decoding method and implement SecretOtp class with serialization methods netkas 2025-03-27 14:09:56 -04:00
  • b6aa591f8c
    Fix address comparison in AddressBookTest to use correct method for address retrieval netkas 2025-03-27 13:45:50 -04:00
  • 2179df3372
    Normalize username and domain inputs to lowercase in various classes netkas 2025-03-27 13:40:58 -04:00
  • f36a7f8563
    Increase UDP buffer size and adjust recvfrom limit in UDP server netkas 2025-03-27 13:12:58 -04:00
  • bb8698bff9
    Syntax correction (oops) netkas 2025-03-27 12:54:17 -04:00
  • eaccaacf96
    Normalize domain input to lowercase in getExternalSession method and add authentication check netkas 2025-03-27 12:52:46 -04:00
  • fb31c3cc6a
    Normalize server input to lowercase in RpcClient constructor netkas 2025-03-27 12:52:39 -04:00
  • dff25f31ba
    Normalize domain input to lowercase in session management methods netkas 2025-03-27 12:52:31 -04:00
  • df519ad89b
    Added tests for password deletion and OTP settings in AddressBookTest and SettingsTest netkas 2025-03-27 12:52:16 -04:00
  • 3c151bfd99
    Added support for one-time password verification in session creation netkas 2025-03-26 18:07:27 -04:00
  • 42498f45db
    Added additional invalid state test cases netkas 2025-03-26 15:37:25 -04:00
  • a8acda8155
    Moved test case testPeerResolution to SocialClientTest netkas 2025-03-26 15:23:34 -04:00
  • 4cce8bf91b
    Moved information field test cases to the more appropriate test class SettingsTest netkas 2025-03-26 15:22:49 -04:00
  • 60e0884af5
    Added additional test cases for AddressBookTest netkas 2025-03-26 15:15:03 -04:00
  • 3b0cf38ee4
    Added SettingsTest netkas 2025-03-26 15:14:51 -04:00
  • 2e184ebc74
    Enforced domain to be lowercase for case-sensitivity purposes and corrected some PhpDoc strings netkas 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. netkas 2025-03-26 15:12:09 -04:00
  • 4bad2d42cf
    Add tests for deleting contacts in address book functionality netkas 2025-03-26 14:15:58 -04:00
  • 4d2e7ce6e2
    Add tests for address book functionality to handle contact addition scenarios netkas 2025-03-26 14:05:52 -04:00
  • 7d13e4acdb
    Add comprehensive tests for address book functionality, including contact addition, resolution, and privacy handling netkas 2025-03-26 13:57:36 -04:00
  • 03a4fa2a84
    Fix peer identification logic in Socialbox and enhance remote resolution handling netkas 2025-03-26 13:41:51 -04:00
  • 3250407f2b
    Refactor peer identification logic in ResolvePeer and Socialbox for clarity and improved error messaging netkas 2025-03-26 13:11:56 -04:00
  • 5de651bbcb
    Enhance logging in PeerInformationManager and Socialbox to track peer resolution and information field retrieval netkas 2025-03-25 15:22:37 -04:00
  • 42168b132d
    Update addressBookAddContact method to return boolean and adjust response handling netkas 2025-03-25 14:22:46 -04:00
  • 4f9cc89cb8
    Add methods to retrieve and check existence of information fields in Peer netkas 2025-03-25 14:20:20 -04:00
  • 3d9f5fc6b1
    Improve logging in ContactManager to include relationship details and adjust relationship parameter handling in SocialClient netkas 2025-03-25 14:02:10 -04:00
  • 604f75f5c8
    Update addressBookAddContact method to return contact UUID instead of boolean netkas 2025-03-25 12:59:09 -04:00
  • 4a7fbd9970
    Handle null expiration in KnownSigningKey to set default value netkas 2025-03-25 12:59:03 -04:00
  • e4f3d50852
    Fix indentation in Helper.php for improved code readability netkas 2025-03-25 12:58:58 -04:00
  • 52985b6308
    Enhance logging in ContactManager and improve error messages for invalid peer addresses netkas 2025-03-25 12:58:53 -04:00
  • 97ca09d7dd
    Increase signature_key length in contact_known_keys.sql to accommodate larger keys netkas 2025-03-25 12:58:48 -04:00
  • db9fa3f92e
    Add signature management methods to Contact class for enhanced key handling netkas 2025-03-25 12:58:42 -04:00
  • c981ed3d9d
    Refactor AddressBookAddContact to improve relationship parameter handling and return contact UUID on success netkas 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 netkas 2025-03-22 01:09:03 -04:00
  • db153453b5
    Rename parameters in RegisteredPeerManager methods for clarity netkas 2025-03-22 01:03:18 -04:00
  • f080775701
    Add signatureExists method to Contact class and remove unused Cryptography import in ContactManager netkas 2025-03-22 01:00:20 -04:00
  • f80ab103a9
    Update registration and authentication defaults to disable privacy policy and terms acceptance netkas 2025-03-22 00:41:08 -04:00
  • cdb28f841f
    Refactor ncc_workflow.yml to prepare for volume mounting and update docker-compose file with absolute paths netkas 2025-03-21 21:24:15 -04:00
  • 92a981904e
    Add Docker volume for test directory in ncc_workflow.yml netkas 2025-03-21 21:17:39 -04:00
  • eda91fa1cb
    Update ncc_workflow.yml to include Docker socket volume and create updated docker-compose file with absolute paths netkas 2025-03-21 19:26:50 -04:00
  • d1ea59c061
    Added testing point netkas 2025-03-21 19:07:58 -04:00
  • ba47ac3906
    Remove configuration alteration for testing stage from ncc_workflow.yml netkas 2025-03-21 15:33:26 -04:00
  • 7909e01a0a
    Refactor ncc_workflow.yml to remove docker-compose modifications and add configuration alteration for testing stage netkas 2025-03-21 15:27:01 -04:00
  • fd5f997362
    Update docker-compose.test.yml for GitHub workflow with absolute paths netkas 2025-03-21 15:00:23 -04:00
  • 76ab0143dc
    Refactor docker-compose setup to use named volumes and prepare test environment netkas 2025-03-21 14:13:26 -04:00
  • 26334c205d
    Add SELinux support to volume mounts in docker-compose and remove SSHX installation from workflow netkas 2025-03-21 13:38:00 -04:00
  • c609cafa51
    SSHX netkas 2025-03-20 21:27:15 -04:00
  • 206382ff29
    Update docker-compose with absolute paths for test environment netkas 2025-03-20 21:19:35 -04:00
  • a2e49deb04
    Remove redundant configuration modifications from ncc_workflow.yml netkas 2025-03-20 21:06:32 -04:00
  • 6c48903a54
    Add configuration modifications for test environment setup netkas 2025-03-20 15:31:33 -04:00
  • 3527745696
    Add steps to upload coffee and teapot test logs in CI workflow netkas 2025-03-20 15:10:31 -04:00
  • d8ae184f95
    Added testing point netkas 2025-03-20 14:22:37 -04:00
  • 5a64e6007e
    Add CONFIGLIB_PATH environment variable to docker-compose.test.yml netkas 2025-03-20 14:16:55 -04:00
  • a9c72fc147
    Update volume paths in docker-compose.test.yml to use /etc/config netkas 2025-03-20 13:40:34 -04:00
  • fdabe401d3
    Update volume paths in docker-compose.test.yml to use /etc/configlib netkas 2025-03-20 13:36:45 -04:00
  • 61d25a5904
    Add unit test for address book contact deletion and update default page parameter in addressBookGetContacts method netkas 2025-03-20 13:14:49 -04:00
  • 947064a386
    Add unit tests for SocialClient registration and validation netkas 2025-03-20 13:05:16 -04:00
  • 49f400acdb
    Add unit tests for AddressBook functionality netkas 2025-03-20 13:05:11 -04:00
  • 3935980146
    Refactor getSelf method to instantiate Peer directly from sendRequest response netkas 2025-03-20 13:05:07 -04:00
  • a7da38d5f9
    Change flags property type from SessionFlags[] to string[] in SessionState netkas 2025-03-20 13:05:01 -04:00
  • 491345f310
    Update default privacy settings to PUBLIC for first, middle, and last name netkas 2025-03-20 13:04:48 -04:00
  • 2d103cac13
    Add random generation utilities to Helper class netkas 2025-03-20 13:04:37 -04:00
  • 0883f55328
    Handle potential null values for signing keys and encryption channel secrets in ExportedSession netkas 2025-03-20 13:04:28 -04:00
  • ef463a132d
    Refactor ContactManager to accept PeerDatabaseRecord in place of string for peer UUID netkas 2025-03-20 13:04:17 -04:00
  • a92391445a
    Refactor PeerDatabaseRecord and SessionManager to handle ReservedUsernames and improve date handling netkas 2025-03-19 15:06:59 -04:00
  • 6a1aa6b353
    Set default value for privacy parameter in settingsAddInformationField method netkas 2025-03-19 14:00:05 -04:00
  • c70205f2ac
    Removed testing point netkas 2025-03-19 13:34:03 -04:00
  • 50f998c2ab
    Ensure numeric validation for configuration variables and set default for server keypair expiration netkas 2025-03-19 13:33:38 -04:00
  • 00f1db8180
    Added testing point netkas 2025-03-19 13:15:00 -04:00
  • 1151f9b8ac
    Removed testing point netkas 2025-03-19 13:07:18 -04:00
  • 1f14f7afb4
    Add signing keys to Docker configuration and update InitializeCommand netkas 2025-03-19 13:06:43 -04:00
  • bb1e00570e
    Added testing point for workflow netkas 2025-03-18 15:26:59 -04:00
  • 73ade04145
    Improve error message in RpcClient for signature verification failure netkas 2025-03-18 15:21:33 -04:00
  • 7d4388e05c
    Add log directories for coffee and teapot services to .gitignore netkas 2025-03-18 15:15:07 -04:00
  • 33706d0b50
    Add logging volume mounts for coffee and teapot services; improve error message in RpcClient netkas 2025-03-18 15:14:42 -04:00
  • fef9383dd2
    Updated Logger class to not register error handlers if it's in a testing environment netkas 2025-03-18 15:00:09 -04:00
  • 508d82cf92
    Update RPC host definitions for coffee.com and teapot.com netkas 2025-03-18 14:13:37 -04:00
  • 7fbc6706a6
    Add service availability checks before running PHPUnit tests netkas 2025-03-18 14:04:04 -04:00
  • 71563e51ee
    Refactor Docker configuration and update encryption channels schema netkas 2025-03-18 13:04:32 -04:00
  • 40f871dbea
    Refactor encryption_channels_com table structure and add foreign key constraint netkas 2025-03-17 13:55:22 -04:00
  • 705460e8e8
    Corrected database object priority netkas 2025-03-17 13:50:09 -04:00
  • c95cdcd4da
    Refactor cache handling in VariableManager and update configuration options netkas 2025-03-17 13:47:09 -04:00