Commit graph

  • 8a86bd04a6 Improved exception handling netkas 2025-01-31 15:03:52 -05:00
  • aa70a83c26 Improved return logic netkas 2025-01-31 13:39:32 -05:00
  • 4c28112e3b Changed type Exception to Throwable netkas 2025-01-31 13:29:18 -05:00
  • 0ed6a36d50 Improved InvalidRpcArgumentException handling netkas 2025-01-31 13:28:28 -05:00
  • 55137a93f2 Added better exception handling netkas 2025-01-31 13:15:34 -05:00
  • 268630226e Removed unused imports netkas 2025-01-31 13:05:50 -05:00
  • 2ba814f9b4 Peer resolution for a contact isn't needed, reference is found in 'address' which could be resolved at a later time netkas 2025-01-31 13:05:31 -05:00
  • 1f55538ad4 Improved exception handling netkas 2025-01-31 12:56:45 -05:00
  • 0f67bb3337 Removed unused import netkas 2025-01-30 21:37:36 -05:00
  • 28cb7a0a88 Removed unused import netkas 2025-01-30 20:00:40 -05:00
  • e63e7eb0d7 Added method AddressBookRevokeSignature netkas 2025-01-30 19:59:29 -05:00
  • 051ad11aba Updated PhpDoc netkas 2025-01-30 19:56:25 -05:00
  • caf3299039 Updated PhpDoc netkas 2025-01-30 19:56:12 -05:00
  • c3129f89d6 Updated return logic for AddressBookGetContact netkas 2025-01-30 19:55:10 -05:00
  • 57d5528b31 Updated AddressBookGetContacts to return standard contact objects netkas 2025-01-30 19:54:27 -05:00
  • 83a47ddd5e Updated method AddressBookGetContact to return a full standard contact, improved standard contact object netkas 2025-01-30 19:51:37 -05:00
  • 4f1f0ce151 Added PhpDoc netkas 2025-01-30 15:42:18 -05:00
  • 8d6675915a Imported class netkas 2025-01-30 15:24:55 -05:00
  • 4dfff8d1a4 Added Exception Handling netkas 2025-01-30 15:23:41 -05:00
  • d12b4d1c1d Updated PhpDocs netkas 2025-01-30 15:23:19 -05:00
  • 330e7f876b Added the ability to trust signing keys & resolve signing keys for peers, minor improvements and added new standard error "CONFLICT" netkas 2025-01-30 15:20:11 -05:00
  • 4e22a8bacd Updated PhpDoc netkas 2025-01-30 12:42:02 -05:00
  • a934049ea5 Changed Format netkas 2025-01-30 12:41:04 -05:00
  • 95d7a8b021 Updated Exception Handling to AddressBookGetContacts netkas 2025-01-30 12:31:59 -05:00
  • 4f8f43d10b Updated Exception Handling to AddressBookGetContact netkas 2025-01-30 12:30:20 -05:00
  • b8346e139c Renamed StandardException to StandardRpcException netkas 2025-01-30 00:37:37 -05:00
  • 4856dacb9d Updated exception handling and logic in AddressBookDeleteContact netkas 2025-01-30 00:35:19 -05:00
  • 6e4c7bcc04 Updated exception handling in AddressBookContactExists netkas 2025-01-30 00:34:22 -05:00
  • 831f6cc8e2 Updated logic netkas 2025-01-30 00:34:05 -05:00
  • 06b55a65b6 Updated exception handling in AddressBookAddContact netkas 2025-01-30 00:32:41 -05:00
  • f47d31c227 Updated message formatting in exception netkas 2025-01-30 00:31:41 -05:00
  • 8ced492c5b Added InvalidRpcArgumentException which extends StandardException & Renamed MissingArgumentException to MissingRpcArgumentException for clarification and to avoid conflict with existing \InvalidArgumentException (base php) netkas 2025-01-30 00:30:25 -05:00
  • cffed44f96 Added MissingArgumentException that extends StandardException netkas 2025-01-30 00:28:33 -05:00
  • efc9905200 Moved StandardException to it's own namespace netkas 2025-01-30 00:27:06 -05:00
  • b8ef387bb2 Added PhpDoc netkas 2025-01-30 00:26:01 -05:00
  • 9d8cf3b1a5 Added Method AddressBookContactExists netkas 2025-01-30 00:24:11 -05:00
  • 1e10e761db Restructured StandardMethod Namespaces netkas 2025-01-29 15:52:38 -05:00
  • d6e397247a Formatting update netkas 2025-01-29 15:42:28 -05:00
  • f76109347a Updated error codes netkas 2025-01-29 15:42:19 -05:00
  • 6f9c2ef517 Added additional methods and updated the return type for some of the existing methods netkas 2025-01-29 15:42:11 -05:00
  • 59d08b88b1 Added decentralized method resolvePeerSignature netkas 2025-01-29 15:41:49 -05:00
  • 7d5071747b Added SigningKeyState netkas 2025-01-29 15:41:25 -05:00
  • f073b8d004 Added TODO netkas 2025-01-29 15:41:14 -05:00
  • 94a7ce05f8 Added additional conditional checks and minor corrections netkas 2025-01-29 15:40:59 -05:00
  • 10e1368942 Added the ability to parse created and expired as strings/null netkas 2025-01-29 15:40:40 -05:00
  • 5e26b08f9e Added additional check netkas 2025-01-29 15:40:24 -05:00
  • b1c669dfa8 Added check if the peer is enabled and if it uses a password, a password check is required to set the otp post registration netkas 2025-01-29 15:40:14 -05:00
  • 7809f32a5e Refactored StandardMethods and added to-be-implemented methods netkas 2025-01-29 15:27:21 -05:00
  • 3fe2d9e0df Updated VerificationGetImageCaptcha to return the new object netkas 2025-01-29 15:27:09 -05:00
  • c2330b374a Added TextCaptchaVerification netkas 2025-01-29 15:26:58 -05:00
  • 716a5f15eb Minor changes netkas 2025-01-29 15:26:51 -05:00
  • 75897da9e9 Added SignatureKeyPair for a client object netkas 2025-01-29 15:26:36 -05:00
  • 6732112e12 Added SettingsGetSigningKey as a standard method netkas 2025-01-29 15:26:27 -05:00
  • 42d276939b Added SettingsGetInformationField as a standard method netkas 2025-01-29 15:26:22 -05:00
  • f76f76d31a Improved expiration check netkas 2025-01-29 15:26:10 -05:00
  • 38699b6bcc Added additional methods and the ability to create signature keys netkas 2025-01-29 15:25:50 -05:00
  • fe217002e3 Added method (incomplete) ResolvePeerSignature netkas 2025-01-29 15:25:36 -05:00
  • a02a765f11 Updated method getField() to return null instead of an exception if the requested record was not found netkas 2025-01-29 15:25:22 -05:00
  • dd35bc69b3 Added ImageCaptchaVerification as a standard object netkas 2025-01-29 15:24:48 -05:00
  • 4a9c42a52d Removed ImageCaptcha (Old) netkas 2025-01-29 15:24:39 -05:00
  • c5093e4d0c Added ExternalUrlVerification as a standard object netkas 2025-01-29 15:24:32 -05:00
  • 99c6c1385e Cleanup netkas 2025-01-29 15:24:22 -05:00
  • cebfa72ec0 Moved ExportedSession from Objects to Objects\Client & Added signing keypairs & a default keypair netkas 2025-01-29 15:24:06 -05:00
  • bdd35dc8ac Added ContactKnownKeyRecord.php netkas 2025-01-29 15:23:42 -05:00
  • 6c1c77ad20 Added method AddressBookUpdateRelationship netkas 2025-01-29 15:23:25 -05:00
  • 674ca58f08 Added method AddressBookTrustSignature netkas 2025-01-29 15:23:16 -05:00
  • e38ebf277a Rewrote contact_known_keys structure netkas 2025-01-27 15:28:41 -05:00
  • a05b02da71 Added missing previous netkas 2025-01-27 12:45:25 -05:00
  • e9f70e7115 Added method SettingsDeleteSignature netkas 2025-01-27 12:38:36 -05:00
  • 321bf1eadb Argument correction netkas 2025-01-27 03:52:28 -05:00
  • f40b9ed7f4 Resolve peer at host identification to prevent accidental peer creation when it isn't necessary netkas 2025-01-27 03:52:17 -05:00
  • 1b89a7f921 Improved Flag Parsing in Peer object constructor netkas 2025-01-27 03:51:44 -05:00
  • 3e5199d776 Corrected property access in InformationField netkas 2025-01-27 03:51:28 -05:00
  • 93eff1320f Corrected session initiation logic netkas 2025-01-27 03:38:11 -05:00
  • efc74cfa49 Updated fgkey netkas 2025-01-27 03:29:39 -05:00
  • 23fe57d514 Oops netkas 2025-01-27 03:27:58 -05:00
  • a04621b97d Reference correction & update configurations netkas 2025-01-27 03:25:25 -05:00
  • 3744cf5412 Updated Database Structure netkas 2025-01-27 02:53:59 -05:00
  • ec18199c08 ResolvePeer method now checks if the caller is a host and the request contains a IdentifyAs header netkas 2025-01-27 02:45:04 -05:00
  • c3f6f6096e RegisteredPeerManager synchronizeExternalPeer() method now synchronizes peer information too that is public by default netkas 2025-01-27 02:44:56 -05:00
  • 481ea884f2 Added self-contact check netkas 2025-01-27 02:35:53 -05:00
  • 8d5a95da9b Added self-host resolution for resolvePeer netkas 2025-01-27 02:35:41 -05:00
  • a9e5d6eb46 Added check for adding self as a contact netkas 2025-01-27 02:34:54 -05:00
  • 3311862263 Refactor and enhance peer resolution logic netkas 2025-01-25 17:26:13 -05:00
  • aba9adf916 Added the method AddressBookGetContact and minor improvements in other implementations netkas 2025-01-24 19:12:03 -05:00
  • e2a0e2f27f Updated error messages netkas 2025-01-24 15:25:06 -05:00
  • 6401e46bc0 Made registration stage always allow information field updates netkas 2025-01-24 15:21:58 -05:00
  • baff154b05 Added missing import netkas 2025-01-24 15:21:06 -05:00
  • 71d921def5 Updated PhpDoc netkas 2025-01-24 15:20:42 -05:00
  • a826f4f3a9 Updated Standard Peer object to include standard information fields and updated PeerInformationManager to retrieve filtered fields per privacy condition netkas 2025-01-24 15:20:19 -05:00
  • f689e36378 Refactored Peer Information to use InformationFields rather than being hard-coded into the peer record netkas 2025-01-24 15:10:20 -05:00
  • 75de51c910 Added method ADDRESS_BOOK_GET_CONTACTS netkas 2025-01-22 22:01:07 -05:00
  • d56483119c Minor changes netkas 2025-01-22 18:20:00 -05:00
  • 83112f0137 Added debug logging to RpcClient netkas 2025-01-22 18:16:48 -05:00
  • 9e02f0c29b Simplified RpcRequest constructor to accept StandardMethods & string as a input for the method parameter netkas 2025-01-22 15:43:27 -05:00
  • aa445c7bdd Added method ADDRESS_BOOK_DELETE_CONTACT netkas 2025-01-22 15:40:50 -05:00
  • 0d09e77d59 Updated PhpDocs netkas 2025-01-22 15:36:19 -05:00
  • 2933b5435f Updated Formatting netkas 2025-01-22 15:36:12 -05:00
  • 3bb5f2788e Updated PhpDocs netkas 2025-01-22 15:36:01 -05:00
  • bb3e0a5ffa Updated PhpDoc, added method ADDRESS_BOOK_ADD_CONTACT, minor correction in getRegistrationMethods where $methods was not initialized netkas 2025-01-22 15:35:35 -05:00