Commit Graph

150 Commits

Author SHA1 Message Date
Mahmoud-Emad
455f84528b feat: Add support for virt package
Some checks are pending
Rhai Tests / Run Rhai Tests (push) Waiting to run
- Add sal-virt package to the workspace members
- Update MONOREPO_CONVERSION_PLAN.md to reflect the
  completion of sal-process and sal-virt packages
- Update src/lib.rs to include sal-virt
- Update src/postgresclient to use sal-virt instead of local
  virt module
- Update tests to use sal-virt
2025-06-23 02:37:14 +03:00
Mahmoud-Emad
3e3d0a1d45 feat: Add process package to monorepo
Some checks are pending
Rhai Tests / Run Rhai Tests (push) Waiting to run
- Add `sal-process` package for cross-platform process management.
- Update workspace members in `Cargo.toml`.
- Mark process package as complete in MONOREPO_CONVERSION_PLAN.md
- Remove license information from `mycelium` and `os` READMEs.
2025-06-22 11:41:10 +03:00
Mahmoud-Emad
511729c477 feat: Add zinit_client package to workspace
Some checks are pending
Rhai Tests / Run Rhai Tests (push) Waiting to run
- Add `zinit_client` package to the workspace, enabling its use
  in the SAL monorepo.  This allows for better organization and
  dependency management.
- Update `MONOREPO_CONVERSION_PLAN.md` to reflect the addition
  of `zinit_client` and its status.  This ensures the conversion
  plan stays up-to-date.
- Move `src/zinit_client/` directory to `zinit_client/` for better
   organization.  This improves the overall structure of the
   project.
- Update references to `zinit_client` to use the new path.  This
  ensures the codebase correctly links to the `zinit_client`
  package.
2025-06-22 10:59:19 +03:00
Mahmoud-Emad
74217364fa feat: Add sal-net package to workspace
Some checks are pending
Rhai Tests / Run Rhai Tests (push) Waiting to run
- Add new sal-net package to the workspace.
- Update MONOREPO_CONVERSION_PLAN.md to reflect the
  addition of the sal-net package and mark it as
  production-ready.
- Add Cargo.toml and README.md for the sal-net package.
2025-06-22 09:52:20 +03:00
Mahmoud-Emad
d22fd686b7 feat: Add os package to monorepo conversion plan
- Added the `os` package to the list of converted packages in the
  monorepo conversion plan.
- Updated the success metrics and quality metrics sections to reflect
  the completion of the `os` package.  This ensures the plan
  accurately reflects the current state of the conversion.
2025-06-21 15:51:07 +03:00
Mahmoud-Emad
c4cdb8126c feat: Add support for new OS package
Some checks are pending
Rhai Tests / Run Rhai Tests (push) Waiting to run
- Add a new `sal-os` package containing OS interaction utilities.
- Update workspace members to include the new package.
- Add README and basic usage examples for the new package.
2025-06-21 15:45:43 +03:00
Mahmoud-Emad
a35edc2030 docs: Update MONOREPO_CONVERSION_PLAN.md with text package status
- Marked the `text` package as production-ready in the
  conversion plan.
- Added quality metrics achieved for the `text` package,
  including test coverage, security features, and error
  handling.
- Updated the success metrics checklist to reflect the
  `text` package's completion.
2025-06-19 14:51:30 +03:00
Mahmoud-Emad
a7a7353aa1 feat: Add sal-text crate
Some checks failed
Rhai Tests / Run Rhai Tests (push) Has been cancelled
- Add a new crate `sal-text` for text manipulation utilities.
- Integrate `sal-text` into the main `sal` crate.
- Remove the previous `text` module from `sal`.  This improves
  organization and allows for independent development of the
  `sal-text` library.
2025-06-19 14:43:27 +03:00
Mahmoud-Emad
4a8d3bfd24 feat: Add mycelium package to workspace
Some checks are pending
Rhai Tests / Run Rhai Tests (push) Waiting to run
- Add the `mycelium` package to the workspace members.
- Add `sal-mycelium` dependency to `Cargo.toml`.
- Update MONOREPO_CONVERSION_PLAN.md to reflect the addition
  and completion of the mycelium package.
2025-06-19 12:11:55 +03:00
Mahmoud-Emad
3e617c2489 feat: Add redisclient package to the monorepo
Some checks are pending
Rhai Tests / Run Rhai Tests (push) Waiting to run
- Integrate the redisclient package into the workspace.
- Update the MONOREPO_CONVERSION_PLAN.md to reflect the
  completion of the redisclient package conversion.
  This includes marking its conversion as complete and
  updating the success metrics.
- Add the redisclient package's Cargo.toml file.
- Add the redisclient package's source code files.
- Add tests for the redisclient package.
- Add README file for the redisclient package.
2025-06-18 17:53:03 +03:00
Mahmoud-Emad
4d51518f31 docs: Enhance MONOREPO_CONVERSION_PLAN.md with improved details
- Specify production-ready implementation details for sal-git
  package.
- Add a detailed code review and quality assurance process
  section.
- Include comprehensive success metrics and validation checklists
  for production readiness.
- Improve security considerations and risk mitigation strategies.
- Add stricter code review criteria based on sal-git's conversion.
- Update README with security configurations and environment
  variables.
2025-06-18 15:15:07 +03:00
Mahmoud-Emad
e031b03e04 feat: Convert SAL to a Rust monorepo
Some checks are pending
Rhai Tests / Run Rhai Tests (push) Waiting to run
- Migrate SAL project from single-crate to monorepo structure
- Create independent packages for individual modules
- Improve build efficiency and testing capabilities
- Update documentation to reflect new structure
- Successfully convert the git module to an independent package.
2025-06-18 14:12:36 +03:00
ba9103685f ...
Some checks failed
Rhai Tests / Run Rhai Tests (push) Has been cancelled
2025-06-16 07:53:03 +02:00
dee38eb6c2 ... 2025-06-16 07:30:37 +02:00
49c879359b ... 2025-06-15 23:44:59 +02:00
c0df07d6df ...
Some checks are pending
Rhai Tests / Run Rhai Tests (push) Waiting to run
2025-06-15 23:05:11 +02:00
6a1e70c484 ...
Some checks are pending
Rhai Tests / Run Rhai Tests (push) Waiting to run
2025-06-15 22:43:49 +02:00
e7e8e7daf8 ... 2025-06-15 22:40:28 +02:00
8a8ead17cb ... 2025-06-15 22:16:40 +02:00
0e7dba9466 ...
Some checks are pending
Rhai Tests / Run Rhai Tests (push) Waiting to run
2025-06-15 22:15:44 +02:00
f0d7636cda ...
Some checks are pending
Rhai Tests / Run Rhai Tests (push) Waiting to run
2025-06-15 22:12:15 +02:00
3a6bde02d5 ... 2025-06-15 21:51:23 +02:00
3a7b323f9a ...
Some checks are pending
Rhai Tests / Run Rhai Tests (push) Waiting to run
2025-06-15 21:50:10 +02:00
66d5c8588a ...
Some checks are pending
Rhai Tests / Run Rhai Tests (push) Waiting to run
2025-06-15 21:37:16 +02:00
29a06d2bb4 ... 2025-06-15 21:27:21 +02:00
Mahmoud-Emad
bb39f3e3f2 Merge branch 'main' of https://git.threefold.info/herocode/sal
Some checks are pending
Rhai Tests / Run Rhai Tests (push) Waiting to run
2025-06-15 20:36:12 +03:00
Mahmoud-Emad
5194f5245d chore: Update Gitea host and Zinit client dependency
- Updated the Gitea host URL in `.roo/mcp.json` and `Cargo.toml`
  to reflect the change from `git.ourworld.tf` to `git.threefold.info`.
- Updated the `zinit-client` dependency in `Cargo.toml` to version
  `0.3.0`.  This ensures compatibility with the updated repository.
- Updated file paths in example files to reflect the new repository URL.
2025-06-15 20:36:02 +03:00
a9255de679 Merge branch 'main' of git.threefold.info:herocode/sal 2025-06-15 16:21:04 +02:00
7d05567ad2 Update git remote URL from git.ourworld.tf to git.threefold.info 2025-06-15 16:21:03 +02:00
timurgordon
c0e11c6510 merge and fix tests
Some checks failed
Rhai Tests / Run Rhai Tests (push) Has been cancelled
2025-05-23 21:46:11 +03:00
timurgordon
fedf957079 Merge branch 'development_lee' 2025-05-23 21:14:31 +03:00
timurgordon
65e404e517 merge branches and document
Some checks are pending
Rhai Tests / Run Rhai Tests (push) Waiting to run
2025-05-23 21:12:17 +03:00
944f22be23 Merge pull request 'clean up' (#12) from zinit_client into main
Reviewed-on: #12
2025-05-23 17:37:45 +00:00
887e66bb17 Merge pull request 'mycelium-rhai' (#9) from mycelium-rhai into main
Some checks are pending
Rhai Tests / Run Rhai Tests (push) Waiting to run
Reviewed-on: #9
2025-05-23 16:40:28 +00:00
Lee Smet
e5a4a1b634
Add tests for symmetric keys
Some checks failed
Rhai Tests / Run Rhai Tests (pull_request) Has been cancelled
Signed-off-by: Lee Smet <lee.smet@hotmail.com>
2025-05-16 15:19:45 +02:00
Lee Smet
7f55cf4fba
Add tests for asymmetric keys, add public key export
Signed-off-by: Lee Smet <lee.smet@hotmail.com>
2025-05-16 15:05:45 +02:00
Maxime Van Hees
c26e0e5ad8 removed unused imports
Some checks failed
Rhai Tests / Run Rhai Tests (pull_request) Has been cancelled
2025-05-16 15:04:00 +02:00
Lee Smet
365814b424
Fix signature key import/export, add tests
Signed-off-by: Lee Smet <lee.smet@hotmail.com>
2025-05-16 14:37:10 +02:00
Maxime Van Hees
cc4e087f1d fixed wrong link to file, again
Some checks failed
Rhai Tests / Run Rhai Tests (pull_request) Has been cancelled
2025-05-16 14:32:35 +02:00
Maxime Van Hees
229fef217f fixed wrong link to file
Some checks failed
Rhai Tests / Run Rhai Tests (pull_request) Has been cancelled
2025-05-16 14:32:03 +02:00
Maxime Van Hees
dd84ce3f48 remove command from tutorial
Some checks failed
Rhai Tests / Run Rhai Tests (pull_request) Has been cancelled
2025-05-16 14:30:46 +02:00
Maxime Van Hees
7b8b8c662e Added tutorial on how to send/receive message with 2 mycelium peers running the same host
Some checks failed
Rhai Tests / Run Rhai Tests (pull_request) Has been cancelled
2025-05-16 14:28:49 +02:00
Lee Smet
d29a8fbb67
Rename Store to Vault and move to lib root
Signed-off-by: Lee Smet <lee.smet@hotmail.com>
2025-05-16 11:24:27 +02:00
Maxime Van Hees
771df07c25 Add tutorial explain how to use Mycelium in Rhai scripts
Some checks failed
Rhai Tests / Run Rhai Tests (pull_request) Has been cancelled
2025-05-16 10:25:51 +02:00
Maxime Van Hees
9a23c4cc09 sending and receiving message via Rhai script + added examples
Some checks failed
Rhai Tests / Run Rhai Tests (push) Has been cancelled
Rhai Tests / Run Rhai Tests (pull_request) Has been cancelled
2025-05-15 17:30:20 +02:00
Lee Smet
2014c63b78
Remove old files
Signed-off-by: Lee Smet <lee.smet@hotmail.com>
2025-05-15 13:53:54 +02:00
Lee Smet
2adda10664
Basic API
Signed-off-by: Lee Smet <lee.smet@hotmail.com>
2025-05-15 13:53:16 +02:00
Lee Smet
7b1908b676
Use kvstore as backing
Signed-off-by: Lee Smet <lee.smet@hotmail.com>
2025-05-14 19:21:02 +02:00
Lee Smet
e9b867a36e
Individiual methods for keystores
Signed-off-by: Lee Smet <lee.smet@hotmail.com>
2025-05-14 11:49:36 +02:00
Lee Smet
78c0fd7871
Define the global KeySpace interface
Signed-off-by: Lee Smet <lee.smet@hotmail.com>
2025-05-14 11:10:52 +02:00