Commit graph

  • fa188fb27f Removed unused Base32 class netkas 2025-01-06 02:29:33 -05:00
  • 3d915f55a5 Fix error message in display name deletion exception. netkas 2025-01-06 02:27:22 -05:00
  • 17a151fd8a Fix terms acceptance logic and improve session handling netkas 2025-01-06 02:20:09 -05:00
  • 3a72363937 Refactor session handling in policy acceptance methods. netkas 2025-01-06 02:17:49 -05:00
  • da250d6189 Refine community guidelines acceptance logic netkas 2025-01-06 02:14:29 -05:00
  • 480eaa6bc5 Refactor password deletion logic in SettingsDeletePassword. netkas 2025-01-06 01:59:13 -05:00
  • dfc198cca3 Improve password validation and error handling in delete flow netkas 2025-01-06 01:49:34 -05:00
  • a85534dfe6 Removed unused $e netkas 2025-01-06 01:44:16 -05:00
  • 4058a36cfe Minor Update netkas 2025-01-06 01:41:16 -05:00
  • 2656becd25 Add email address validation and RPC method to set email netkas 2025-01-06 01:40:07 -05:00
  • 3e3bcfd143 Add password verification and update enhancements netkas 2025-01-06 01:37:51 -05:00
  • 5196ac2486 Refactor hashPassword method and enhance validations netkas 2025-01-06 01:29:15 -05:00
  • 02d42e4e23 Refactor Cryptography methods for improved safety and validation netkas 2025-01-06 01:24:13 -05:00
  • 2082225fb7 Add support for deleting display pictures netkas 2025-01-05 01:36:57 -05:00
  • 85814913e4 Update password handling and session methods netkas 2025-01-05 01:23:43 -05:00
  • 8b9896f196 Add default value for getFlags() $asString parameter netkas 2025-01-04 15:34:40 -05:00
  • b04de2f2a7 Add methods for deleting and updating peer information netkas 2025-01-04 15:32:42 -05:00
  • cb1cc5ee15 Add docblock for createSession and refactor password check netkas 2025-01-04 15:32:25 -05:00
  • 484cd36ddf Add src directory as a source folder in project config netkas 2025-01-03 21:38:41 -05:00
  • 9ebf3f641f Add expiration handling to sessions and refactor state conversion netkas 2025-01-03 21:38:33 -05:00
  • f2ae3100de Minor correction netkas 2025-01-03 21:22:40 -05:00
  • e9269a24fc Implement session inactivity expiration handling. netkas 2025-01-03 21:22:02 -05:00
  • b9b7b23e9e Set SQL dialect to MariaDB for SigningKeysManager.php netkas 2025-01-03 18:31:02 -05:00
  • e4b9a08972 Add signing key management functionality netkas 2025-01-03 18:30:50 -05:00
  • d732c89632 Add Peer class and conversion method in RegisteredPeerRecord netkas 2025-01-03 18:30:40 -05:00
  • a3976742d6 Add recursive array conversion in RpcResponse::convertToArray netkas 2025-01-03 18:30:27 -05:00
  • b60b12f9ae Add PoliciesConfiguration to handle server policies netkas 2025-01-03 18:30:16 -05:00
  • 76abbdcb3e Switch encryption key columns from text to varchar(64) netkas 2025-01-03 14:18:20 -05:00
  • 25dcf66755 Refactor environment variable handling and initialization netkas 2025-01-03 13:59:46 -05:00
  • 9b33890b10 Update Cryptography tests for algorithm-specific handling netkas 2025-01-03 13:26:17 -05:00
  • 367399f0fd Changed Encryption to use LibSodium instead of OpenSSL, refactored many things and overall improved the code quality and performance with magic. netkas 2025-01-03 12:27:04 -05:00
  • 46ad03a54d Updated .gitignore netkas 2024-12-30 15:12:23 -05:00
  • 26b41904c7 Updated docker-compose & added docker-compose test netkas 2024-12-30 15:11:35 -05:00
  • 85a81784f9 Updated database & Implemented Docker support. (unfinished) netkas 2024-12-30 13:58:47 -05:00
  • c380556255 Refactor session initialization and host validation logic netkas 2024-12-24 19:18:06 -05:00
  • 738f8a455c Add display picture support and error code refactor netkas 2024-12-24 15:05:35 -05:00
  • 85bdff7d3c Add SettingsSetDisplayName method and refactor unused imports netkas 2024-12-24 00:51:13 -05:00
  • 9da2ac2db2 Minor correction netkas 2024-12-24 00:46:30 -05:00
  • c85ca908f0 Add "server" property to RegisteredPeerRecord class netkas 2024-12-24 00:46:20 -05:00
  • 830133d102 Minor change netkas 2024-12-23 21:21:30 -05:00
  • 7e4b02bc04 Remove outdated test files and update peer registration logic netkas 2024-12-23 19:25:21 -05:00
  • 1108711eb7 Refactor session flow management for captcha and password. netkas 2024-12-23 19:07:01 -05:00
  • 23262bc0a6 Remove obsolete ClientRequestOld and RpcHandler classes netkas 2024-12-23 19:03:43 -05:00
  • 395e6b95ff Refactor and extend configuration classes. netkas 2024-12-23 19:02:37 -05:00
  • 01253d5115 Refactor and enhance session flags, enums, and RPC methods. netkas 2024-12-20 15:02:57 -05:00
  • de07928689 Refine PHPDoc comments for better clarity. netkas 2024-12-19 21:11:40 -05:00
  • ea3de13cf8 Refactor session handling and improve data reliability. netkas 2024-12-19 21:10:45 -05:00
  • 014b63705b Improve RPC handling and add terms/privacy methods. netkas 2024-12-19 17:59:50 -05:00
  • ef3b10b286 Refactor RPC framework and enhance error handling. netkas 2024-12-19 15:09:22 -05:00
  • 42ba7013f7 Add ExportedSession and improve RPC client handling. netkas 2024-12-19 12:54:15 -05:00
  • 0b51b47859 Updated format netkas 2024-12-14 00:43:49 -05:00
  • c866e2f696 Add support for Privacy Policy, Terms of Service, and CAPTCHA netkas 2024-12-14 00:43:19 -05:00
  • 756297671f Add client metadata to session creation and enforce TOS/PP netkas 2024-12-12 14:55:44 -05:00
  • d2119df824 Make client name and version nullable in ClientRequest netkas 2024-12-12 12:58:00 -05:00
  • f0624e71d1 Refactor header validation and add GetSessionState scaffold. netkas 2024-12-12 05:12:28 -05:00
  • 701acfde35 Remove unused StandardMethods and improve session logic netkas 2024-12-12 04:33:10 -05:00
  • 86435a3d0b Add encryption handling and session flags management. netkas 2024-12-10 22:14:43 -05:00
  • 1d452bc71b Add session flags management and encryption key support netkas 2024-12-10 13:30:08 -05:00
  • 790262db08 Enhance session handling and introduce session flags netkas 2024-12-10 12:54:02 -05:00
  • 6c8cbfddec Improve error handling and timestamp formatting netkas 2024-12-09 21:26:25 -05:00
  • 7bf5419ce3 Add DnsRecordCommand to CliCommands for DNS configuration netkas 2024-12-09 19:26:20 -05:00
  • 3a10e01bd8 Implement client session management and refactoring netkas 2024-12-09 19:01:56 -05:00
  • cad2ea3419 Add image captcha verification methods netkas 2024-10-31 19:13:05 -04:00
  • e328a8c5e0 Refactor peer flag removal logic netkas 2024-10-31 19:09:13 -04:00
  • 8e1f6351e2 Rename GetCaptcha to VerificationGetCaptcha netkas 2024-10-31 19:00:22 -04:00
  • 38b96db83a Update captcha handling and introduce new captcha mechanism netkas 2024-10-31 15:49:42 -04:00
  • 706666af09 Refactor RpcClient and add session management. netkas 2024-10-31 14:54:34 -04:00
  • ce963d2ff6 Updated project files netkas 2024-10-31 13:46:01 -04:00
  • 47b8641c44 Clarify error message parameter in RpcError constructor. netkas 2024-10-31 13:45:52 -04:00
  • 84db54feee Minor update netkas 2024-10-31 13:20:14 -04:00
  • 7868db0ece Remove unused Log import and add docblock for handleRpc method netkas 2024-10-31 12:20:16 -04:00
  • ff0fde7156 Delete unused Socialbox.php file netkas 2024-10-31 12:19:13 -04:00
  • b003845f39 Add useDatabase parameter to resolveDomain method netkas 2024-10-31 12:18:44 -04:00
  • beadf6d181 Add Security Configuration Class and Integration netkas 2024-10-30 21:36:20 -04:00
  • cd7be1c3b2 Rename and add session update methods netkas 2024-10-30 18:33:38 -04:00
  • a9a13f186c Add GetMe standard method implementation netkas 2024-10-30 15:29:31 -04:00
  • 9a9cb3957b Add serialization methods to PeerFlags enum netkas 2024-10-30 15:29:21 -04:00
  • 44143cb8cd Add user registration method netkas 2024-10-30 15:29:00 -04:00
  • 3b55e550c5 Add logging for RpcRequest response production netkas 2024-10-30 15:28:52 -04:00
  • 436022dcbd Add SelfUser class to handle user-related operations netkas 2024-10-30 15:28:44 -04:00
  • daa5010fff Add logging to SessionManager methods netkas 2024-10-30 15:28:36 -04:00
  • 1bdfc310e5 Refactor SessionRecord date properties netkas 2024-10-30 15:28:23 -04:00
  • 413d04a02d Add logging for RPC request processing netkas 2024-10-30 15:28:13 -04:00
  • 5c551c966d Update StandardError enum with additional error cases netkas 2024-10-30 15:27:54 -04:00
  • ab03c135e0 Add new methods to StandardMethods enum netkas 2024-10-30 15:27:46 -04:00
  • ac09674fdd Add username validation to Validator class netkas 2024-10-30 15:27:36 -04:00
  • 6a4283ccc6 Refactor flag handling and add peer utility methods netkas 2024-10-30 15:27:15 -04:00
  • 9b7b7178c8 Add logging for peer management operations netkas 2024-10-30 15:25:09 -04:00
  • b09cdde9e7 Updated .idea files netkas 2024-10-30 15:13:21 -04:00
  • 0579d35b6d Updated .idea files netkas 2024-10-30 15:13:19 -04:00
  • 7a6d78ac9d Add Logger class for managing application logging netkas 2024-10-30 15:13:04 -04:00
  • 99a4f20ece Add logging and instance configurations netkas 2024-10-30 15:12:55 -04:00
  • 8334816d35 Refactor initialization logging and configuration checks netkas 2024-10-30 15:12:10 -04:00
  • 425fa862a8 Updated .gitlab-ci.yml netkas 2024-10-25 14:28:04 -04:00
  • f874cc0e41 Refactor GitHub Actions workflow netkas 2024-10-25 14:24:52 -04:00
  • ce64643d73 Add ResolvedServersManager and integrate with ServerResolver netkas 2024-10-25 14:23:43 -04:00
  • d2dbafe728 Add random string generation method to Utilities class netkas 2024-10-25 13:39:57 -04:00
  • b85cea40e4 Refactor SessionManager to return SessionRecord directly netkas 2024-10-25 13:39:33 -04:00
  • 7a9dd62d75 Add ResolvedServerRecord class to the database module netkas 2024-10-25 13:38:47 -04:00
  • 7073af234f Add PEER_NOT_FOUND case to StandardError enum netkas 2024-10-25 13:38:38 -04:00