Commit Graph

97 Commits

Author SHA1 Message Date
fca75cceec ...
Some checks are pending
Rhai Tests / Run Rhai Tests (push) Waiting to run
2025-05-13 07:05:19 +03:00
08c8770942 ..
Some checks are pending
Rhai Tests / Run Rhai Tests (push) Waiting to run
2025-05-13 07:00:28 +03:00
9f263b6ec4 Merge branch 'main' into development_hero_vault
* main:
  restore
  tests & fixes in kvs & keypair
  feat: Add comprehensive test suite for Keypair module
  refactor: Improve Rhai test runner and vault module code
  ...
  ...
  ...
  feat: Enhance documentation and add .gitignore entries
  working example to showcase zinit usage in Rhai scripts
  implemented zinit-client for integration with Rhai-scripts
2025-05-13 07:00:25 +03:00
495fe92321 Merge branch 'development_keypair_tests'
* development_keypair_tests:
  feat: Add comprehensive test suite for Keypair module
2025-05-13 06:51:30 +03:00
577d80b282 restore 2025-05-13 06:51:20 +03:00
3f8aecb786 tests & fixes in kvs & keypair 2025-05-13 06:45:04 +03:00
Mahmoud Emad
c7a5699798 feat: Add comprehensive test suite for Keypair module
- Added tests for keypair creation and operations.
- Added tests for key space management.
- Added tests for session management and error handling.
- Added tests for asymmetric encryption and decryption.
- Improved error handling and reporting in the module.
2025-05-12 15:44:14 +03:00
Mahmoud Emad
3a0900fc15 refactor: Improve Rhai test runner and vault module code
Some checks are pending
Rhai Tests / Run Rhai Tests (push) Waiting to run
- Updated the Rhai test runner script to correctly find test files.
- Improved the structure and formatting of the `vault.rs` module.
- Minor code style improvements in multiple files.
2025-05-12 12:47:37 +03:00
a8ed0900fd ...
Some checks are pending
Rhai Tests / Run Rhai Tests (push) Waiting to run
2025-05-12 12:16:03 +03:00
0d90c180f8 feat: Enhance Ethereum wallet management and improve code structure
Some checks are pending
Rhai Tests / Run Rhai Tests (push) Waiting to run
2025-05-12 09:29:50 +03:00
e47e163285 ...
Some checks are pending
Rhai Tests / Run Rhai Tests (push) Waiting to run
2025-05-12 06:14:16 +03:00
8aa2b2da26 Merge branch 'zinit_client'
Some checks are pending
Rhai Tests / Run Rhai Tests (push) Waiting to run
* zinit_client:
  working example to showcase zinit usage in Rhai scripts
  implemented zinit-client for integration with Rhai-scripts

# Conflicts:
#	Cargo.toml
#	src/lib.rs
#	src/rhai/mod.rs
2025-05-12 06:12:40 +03:00
992481ce1b Merge branch 'development_hero_vault'
* development_hero_vault:
  Add docs
  Support conatrcts call args in rhai bindings
  remove obsolete print
  feat: support interacting with smart contracts on EVM-based blockchains
  refactor and add peaq support
  feat: introduce hero_vault
2025-05-12 06:10:05 +03:00
516d0177e7 ...
Some checks are pending
Rhai Tests / Run Rhai Tests (push) Waiting to run
2025-05-12 06:09:25 +03:00
cce530bfdd fix: feat: Specify latest block when sending transactions 2025-05-11 22:49:15 +03:00
27e5a6df3e feat: Improve error handling and simplify async operations 2025-05-11 22:37:02 +03:00
ae687f17f5 feat: Add WebAssembly support and IndexedDB storage
- Add WebAssembly target support to build for web browsers.
- Implement IndexedDB-backed key-value store for WASM.
- Add new WASM dependencies to Cargo.toml.
- Improve large number handling in Rhai example script.
- Refactor key-value store to handle both SlateDB and IndexedDB.
2025-05-11 19:46:21 +03:00
22373a4339 feat: Improve Ethereum module design and add network registry 2025-05-11 12:30:53 +03:00
Mahmoud Emad
8285fdb7b9 Merge branch 'main' of https://git.ourworld.tf/herocode/sal
Some checks failed
Rhai Tests / Run Rhai Tests (push) Has been cancelled
2025-05-10 08:50:16 +03:00
Mahmoud Emad
1ebd591f19 feat: Enhance documentation and add .gitignore entries
- Add new documentation sections for PostgreSQL installer
  functions and usage examples.  Improves clarity and
  completeness of the documentation.
- Add new files and patterns to .gitignore to prevent
  unnecessary files from being committed to the repository.
  Improves repository cleanliness and reduces clutter.
2025-05-10 08:50:05 +03:00
feb0a619f7 estimate gas instead of hardcoded value 2025-05-10 01:53:13 +03:00
7298645368 Add docs 2025-05-10 01:21:10 +03:00
f669bdb84f Support conatrcts call args in rhai bindings
Some checks failed
Rhai Tests / Run Rhai Tests (push) Has been cancelled
2025-05-10 00:42:21 +03:00
654f91b849 remove obsolete print 2025-05-09 19:15:34 +03:00
619ce57776 feat: support interacting with smart contracts on EVM-based blockchains
Some checks are pending
Rhai Tests / Run Rhai Tests (push) Waiting to run
2025-05-09 19:04:38 +03:00
2695b5f5f7 Merge remote-tracking branch 'origin/main' into development_hero_vault 2025-05-09 17:20:49 +03:00
7828f82f58 Merge pull request 'Implement PostgreSQL Installer Module for Rhai' (#6) from development_psgl_installer into main
Some checks are pending
Rhai Tests / Run Rhai Tests (push) Waiting to run
Reviewed-on: #6
2025-05-09 14:12:57 +00:00
7a346a1dd1 Merge remote-tracking branch 'origin/main' into development_hero_vault
Some checks are pending
Rhai Tests / Run Rhai Tests (push) Waiting to run
2025-05-09 17:08:05 +03:00
07390c3cae refactor and add peaq support 2025-05-09 16:57:31 +03:00
Mahmoud Emad
138dce66fa feat: Enhance PostgreSQL installation with image pulling
Some checks failed
Rhai Tests / Run Rhai Tests (pull_request) Has been cancelled
- Pull the PostgreSQL image before installation to ensure the latest
  version is used. This improves reliability and reduces the chance of
  using outdated images.  Improves the robustness of the installation
  process.
- Added comprehensive unit tests for `PostgresInstallerConfig`,
  `PostgresInstallerError`, `install_postgres`, `create_database`,
  `execute_sql`, and `is_postgres_running` functions to ensure
  correctness and handle potential errors effectively.  Improves code
  quality and reduces the risk of regressions.
2025-05-09 16:13:24 +03:00
Mahmoud Emad
49e85ff8e6 docs: Enhance PostgreSQL client module documentation
Some checks failed
Rhai Tests / Run Rhai Tests (push) Has been cancelled
- Add details about the new PostgreSQL installer feature.
- Include prerequisites for installer and basic operations.
- Expand test file descriptions with installer details.
- Add descriptions for installer functions.
- Include example usage for both basic operations and installer.
2025-05-09 15:47:26 +03:00
Maxime Van Hees
f386890a8a working example to showcase zinit usage in Rhai scripts 2025-05-09 11:53:09 +02:00
663367ea57 Merge pull request 'Add Rhai scripting support for SAL' (#5) from development_tests into main
Some checks are pending
Rhai Tests / Run Rhai Tests (push) Waiting to run
Reviewed-on: #5
2025-05-09 07:49:48 +00:00
Mahmoud Emad
114d63e590 feat: Add PostgreSQL connection pooling support
Some checks failed
Rhai Tests / Run Rhai Tests (pull_request) Has been cancelled
- Implement connection pooling using `r2d2` and `r2d2_postgres`
- Add connection pool configuration options to `PostgresConfigBuilder`
- Introduce transaction functions with automatic commit/rollback
- Add functions for executing queries using the connection pool
- Add `QueryParams` struct for building parameterized queries
- Add tests for connection pooling and transaction functions
2025-05-09 10:45:53 +03:00
Mahmoud Emad
22f87b320e feat: Improve package management and testing
Some checks failed
Rhai Tests / Run Rhai Tests (push) Has been cancelled
Rhai Tests / Run Rhai Tests (pull_request) Has been cancelled
- Improve platform detection logic for more robust package management.
- Enhance error handling and reporting in package commands.
- Refactor code for better readability and maintainability.
- Add comprehensive tests to cover package management functionality.
- Improve test coverage for various scenarios and edge cases.
2025-05-09 09:54:32 +03:00
Mahmoud Emad
f002445c9e feat: Add PostgreSQL and Redis client support
Some checks failed
Rhai Tests / Run Rhai Tests (push) Waiting to run
Rhai Tests / Run Rhai Tests (pull_request) Has been cancelled
- Add PostgreSQL client functionality for database interactions.
- Add Redis client functionality for cache and data store operations.
- Extend Rhai scripting with PostgreSQL and Redis client modules.
- Add documentation and test cases for both clients.
2025-05-09 09:45:50 +03:00
Maxime Van Hees
61bd58498a implemented zinit-client for integration with Rhai-scripts 2025-05-08 17:03:00 +02:00
Mahmoud Emad
d3c645e8e6 docs: Add documentation for Nerdctl and RFS module tests
Some checks failed
Rhai Tests / Run Rhai Tests (push) Waiting to run
Rhai Tests / Run Rhai Tests (pull_request) Has been cancelled
- Added documentation for Nerdctl module tests, detailing test
  structure, running instructions, and individual test cases.
- Added documentation for RFS module tests, covering test
  structure, running instructions, and individual test cases.  These
  tests verify remote filesystem operations and filesystem layer
  management.
2025-05-08 17:48:00 +03:00
98ab2e1536 feat: introduce hero_vault 2025-05-08 17:44:37 +03:00
Mahmoud Emad
83662736c0 feat: Add Buildah module tests to Rhai integration tests
Some checks failed
Rhai Tests / Run Rhai Tests (push) Waiting to run
Rhai Tests / Run Rhai Tests (pull_request) Has been cancelled
- Added comprehensive test suite for Buildah module functionality.
- Included tests for Builder pattern, image operations, and
  container operations.
- Added documentation describing test structure, execution, and
  details.
2025-05-08 17:11:24 +03:00
Mahmoud Emad
4897eb9133 feat: Add text module tests to SAL
Some checks failed
Rhai Tests / Run Rhai Tests (push) Waiting to run
Rhai Tests / Run Rhai Tests (pull_request) Has been cancelled
- Add new test suite for text manipulation functions.
- Extend documentation with details on new text module tests.
- Add .gitignore entry for test template files.
2025-05-08 17:00:22 +03:00
Mahmoud Emad
1286939608 feat: Add Redis client module and tests
Some checks failed
Rhai Tests / Run Rhai Tests (push) Waiting to run
Rhai Tests / Run Rhai Tests (pull_request) Has been cancelled
- Add a new Redis client module to the SAL library.
- Implement Rhai wrappers for Redis connection and operations.
- Add comprehensive test suite for the Redis client module.
- Update documentation to include Redis client module details.
- Add .gitignore entries to exclude test logs and files.
2025-05-08 16:32:15 +03:00
Mahmoud Emad
32217b6545 docs: Add documentation for Process module tests
Some checks failed
Rhai Tests / Run Rhai Tests (push) Waiting to run
Rhai Tests / Run Rhai Tests (pull_request) Has been cancelled
- Added documentation for the new Process module tests, including
  details on test structure, execution, and individual test
  descriptions.
- Created new documentation files for Process module tests.
- Updated the main Rhai documentation index to include the new
  Process module tests.
2025-05-08 15:54:39 +03:00
Mahmoud Emad
4578b10acb ci: Add CI workflow for Rhai tests
Some checks failed
Rhai Tests / Run Rhai Tests (push) Waiting to run
Rhai Tests / Run Rhai Tests (pull_request) Has been cancelled
- Added a GitHub Actions workflow to automatically run Rhai tests on
  push and pull request events.
- Created documentation for the CI workflow.
- Improved test runner script to log output to a file and check for
  test failures.
2025-05-08 15:09:16 +03:00
Mahmoud Emad
4e166f7750 docs: Add documentation for running Rhai tests
- Added a comprehensive guide on running Rhai tests within the
  SAL library.  This includes instructions for running all tests,
  tests for specific modules, and individual tests.
- Created a shell script (`run_rhai_tests.sh`) to simplify running
  all Rhai tests and provide a summary of results.  This improves
  the testing workflow and makes it easier to identify failures.
2025-05-08 15:05:55 +03:00
Mahmoud Emad
d6905916ee docs: Add documentation for Git module tests
- Added documentation for the Git module's test scripts, including
  test structure, running instructions, and details of each test.
- Added links to Git module tests in the main Rhai documentation.
- Improved overall structure and clarity of the Rhai documentation.
2025-05-08 15:05:25 +03:00
Mahmoud Emad
76582706ab feat: Add Rhai scripting support for SAL
- Add Rhai scripting integration to the SAL library.
- Create documentation for Rhai module usage and available functions.
- Implement comprehensive test suite for the Rhai integration.
- Add `.gitignore` entries for test related temporary files.
2025-05-08 14:29:14 +03:00
2cd9faf4fa ... 2025-05-08 09:54:20 +03:00
104097ee4b git working 2025-05-08 09:05:44 +03:00
21893ce225 ... 2025-04-05 19:00:59 +02:00