Commit Graph

242 Commits

Author SHA1 Message Date
1101107b9b Merge branch 'development' into development_heroserver
* development:
  ...
  ...

# Conflicts:
#	CONTRIBUTING.md
#	aiprompts/herolib_start_here.md
#	docker/herolib/scripts/install_v.sh
#	install_v.sh
#	lib/readme.md
#	manual/config.json
#	test_basic.vsh
2025-09-25 06:03:11 +04:00
aec8908205 ... 2025-09-24 21:06:37 +04:00
9643dcf53b ... 2025-09-18 05:58:33 +02:00
a763a03884 Merge branch 'development' into development_fs
* development:
  refactor: Simplify handler signatures and add server runner
  fix: improve Redis response parsing and error handling
  fix: Correct AGEClient method receivers and error syntax

# Conflicts:
#	lib/hero/heroserver/factory.v
2025-09-15 20:29:57 +02:00
0eaf56be91 ... 2025-09-14 19:08:13 +02:00
Mahmoud-Emad
92c8a3b955 fix: improve Redis response parsing and error handling
- Add error handling for non-array and error responses
- Introduce `strget()` for safer string conversion from RValue
- Update AGE client to use `strget()` for key retrieval
- Change AGE verify methods to expect a string response
- Handle multiple response types when listing AGE keys
2025-09-14 18:15:23 +03:00
Mahmoud-Emad
54192a06d5 docs: Formatting the code 2025-09-14 15:46:57 +03:00
164748601e ... 2025-09-13 16:54:33 +02:00
Timur Gordon
e856d30874 merge and fix encoding 2025-09-08 19:43:48 +02:00
Mahmoud-Emad
dd400ba6fa style: improve code formatting; refactor module imports
- Apply consistent alignment for struct fields and parameters
- Standardize string literal delimiters to single quotes
- Refactor module import strategy in `models` package
- Enhance asset formatting for precise decimal display
- Remove unused imports and redundant `+}` syntax artifacts
2025-09-03 11:36:02 +03:00
Mahmoud-Emad
5bfaec3cb3 test: update ping call parameters in tests
- Rename `timeout` to `nr_ok` in `addr.ping` calls
- Rename `count` to `retry` in `ping` function calls
- Replace `timeout` with `nr_ok` in `ping` function calls
2025-09-03 10:15:23 +03:00
Mahmoud-Emad
1bd91cd51a refactor: clean up imports and enhance error handling
- Remove multiple unused imports
- Change `is_running` to return `!bool`
- Update `is_running` calls to handle result type
2025-09-02 19:27:18 +03:00
Timur Gordon
ab80ba8628 fix heromodels 2025-08-31 15:12:14 +02:00
ce6cf3aa9c ... 2025-08-29 09:48:44 +02:00
fac9276479 ... 2025-08-28 18:27:32 +02:00
fb87adf87d ... 2025-08-28 16:02:28 +02:00
Mahmoud-Emad
32e7a6df4f refactor: Harden and improve SSH agent module
- Add extensive security validations for SSH agent
- Implement robust `ssh-agent` auto-start script
- Enhance `sshagent` operations with improved error handling
- Revamp `sshagent` test suite for comprehensive coverage
- Update `sshagent` README with detailed documentation
2025-08-25 16:32:20 +03:00
9642922445 ... 2025-08-21 12:05:20 +02:00
1171b7b6d6 Merge branch 'development_heroprompt' of github.com:freeflowuniverse/herolib into development_heroprompt 2025-08-21 11:37:19 +02:00
3029bf661a ... 2025-08-21 11:37:17 +02:00
1b90ce41e6 ... 2025-08-21 11:15:08 +02:00
e0a8bc32e7 .. 2025-08-21 11:10:13 +02:00
b109299210 ... 2025-08-21 09:38:20 +02:00
de60c5f78e ... 2025-08-16 11:23:58 +02:00
27bc172257 ... 2025-08-16 07:31:32 +02:00
43ffedfad8 ... 2025-08-15 08:52:46 +02:00
e030309b7f ... 2025-08-15 07:09:40 +02:00
1501a09e62 ... 2025-08-13 12:09:11 +02:00
1f9bc11a2e ... 2025-08-13 08:49:44 +02:00
ffff44f347 .. 2025-08-12 15:52:13 +02:00
d56a04e3ea Merge branch 'development' into development_fix_hero_and_ci
* development:
  ...

# Conflicts:
#	lib/core/herocmds/docusaurus.v
#	lib/data/encoderhero/decoder.v
#	lib/data/encoderhero/postgres_client_decoder_test.v
#	lib/web/site/play.v
2025-08-06 08:55:07 +02:00
04403b62a4 ... 2025-08-06 08:50:32 +02:00
Mahmoud-Emad
3b0232ebe3 refactor: improve skip attribute detection logic
- Normalize attributes by removing all whitespace
- Simplify conditional logic for skip attribute check
- Add fallback skip check for fields named 'other'
- Remove debugging print statements
2025-08-05 20:14:47 +03:00
Mahmoud-Emad
29e0efa3d6 debug: Add some print statments to see the output in the CI 2025-08-05 20:05:30 +03:00
Mahmoud-Emad
c81af5e235 fix: make skip attribute detection more robust
- Replace simple `contains('skip')` with stricter checks
- Normalize attribute string before checking
- Avoid matching 'skip' as a substring of another word
- Handle space and semicolon-separated attribute lists
2025-08-05 19:52:01 +03:00
Mahmoud-Emad
b15c4cd15a refactor: Change hero action syntax to verb.noun
- Change action name format from `obj.verb` to `verb.obj`
- Update decoder to look for `define.obj` or `configure.obj`
- Modify encoder export to use the new `define.obj` prefix
- Update all test constants and scripts to the new syntax
- Make Remark struct public for test visibility
2025-08-05 19:02:26 +03:00
Mahmoud-Emad
d747977185 feat: add multi-site support and playbook enhancements
- Refactor `site` module to process multiple configurations
- Add environment variable templating for playbook actions
- Activate playbook actions for setting coderoot and params
- Improve docusaurus config with metadata fallbacks
- Fix docusaurus navbar generation when logo is not defined
2025-08-03 12:14:55 +03:00
Mahmoud-Emad
697c500e35 refactor: adapt docusaurus to use generic site module
- Introduce a new generic `site` module for web generation
- Update `herocmds` to use the new site creation flow
- Simplify docusaurus playbook logic with a `docusaurus.play` fn
- Refactor site generation to act on `Site` struct directly
- Fix playbook find filter to use wildcard `*`
2025-07-31 14:42:36 +03:00
50a76dd096 ... 2025-07-31 03:44:44 +02:00
a7f6548bea ... 2025-07-30 23:43:41 +02:00
34da4f06e1 ... 2025-07-30 23:00:49 +02:00
802f6e074d ... 2025-07-30 15:58:04 +02:00
66757c52d7 ... 2025-07-30 15:00:20 +02:00
1d383faa62 ... 2025-07-30 12:57:32 +02:00
0ebc06589e Merge branch 'development' of github.com:freeflowuniverse/herolib into development
* 'development' of github.com:freeflowuniverse/herolib:
  test: Update EUR/USD exchange rate assumption in tests
  fix: prevent 'img' directory from being ignored
2025-07-23 12:53:29 +02:00
Mahmoud-Emad
c27862262f test: Update EUR/USD exchange rate assumption in tests
- Updated the assertion for the EUR/USD exchange rate from >= 0.9 to >= 0.8.
- This reflects the current market exchange rate and prevents test failures.
2025-07-22 10:46:24 +03:00
Mahmoud-Emad
5592d13d66 fix: prevent 'img' directory from being ignored
- Prevent the 'img' directory from being incorrectly ignored.
- This ensures that the 'img' directory is processed correctly,
  fixing an issue where it was excluded unintentionally.
2025-07-22 10:29:19 +03:00
21e43c69a8 ... 2025-07-22 07:39:08 +02:00
b560288962 ... 2025-07-22 07:19:16 +02:00
959c1319e7 ... 2025-07-21 06:51:13 +02:00