Commit Graph

18 Commits

Author SHA1 Message Date
timurgordon
5563d7e27e Merge branch 'development_rhai' 2025-06-25 20:46:15 +03:00
timurgordon
287eca1238 Merge branch 'development_add_incremental_mode_to_heromodels' 2025-06-25 20:23:20 +03:00
Mahmoud-Emad
af83035d89 feat: Add new Rhai example demonstrating payment flow
- Add a new Rhai example showcasing complete payment flow
  for company registration. This includes company creation,
  payment record creation, successful payment processing,
  status updates, and handling failed and refunded payments.
- Add new example demonstrating payment integration in Rhai
  scripting.  This example showcases the usage of various
  payment status methods and verifies data from the database
  after processing payments.
- Add new examples to Cargo.toml to facilitate building and
  running the examples.  This makes it easier to integrate
  and test payment functionality using Rhai scripting.
2025-06-25 18:39:47 +03:00
Timur Gordon
149c177def remove rhai dsls 2025-06-25 03:27:22 +02:00
timurgordon
f2dfde5e8f Merge branch 'development_rhai' of https://git.ourworld.tf/herocode/db into development_rhai 2025-06-25 03:55:24 +03:00
timurgordon
41406f2d1e add theme data to circle and fix slideshow 2025-06-25 03:54:49 +03:00
Timur Gordon
cd2557c1c3 move dsl's to rhailib wip 2025-06-24 19:23:27 +02:00
timurgordon
e91a44ce37 fmt, fixes and additions 2025-06-19 13:18:10 +03:00
timurgordon
6b3cbfc4b2 db new models 2025-06-18 01:56:24 +03:00
timurgordon
00c4e6a1eb improve and add models 2025-06-12 05:22:17 +03:00
timurgordon
abbed9a1a1 final db models wip 2025-06-03 21:50:08 +03:00
Mahmoud-Emad
972d0982b0 feat: Enhance governance proposal model with activity tracking
- Add `Activity` model to track proposal creation and voting.
- Include `ActivityType` enum for different activity types.
- Improve `Proposal` model to record voting with comments.
- Refactor `models/governance` module for better organization.
2025-05-27 20:47:34 +03:00
Mahmoud-Emad
483c5ccf68 feat: Add governance activity tracking example and model
- Added a comprehensive example demonstrating governance activity tracking.
- Created `GovernanceActivity` model to record governance events.
- Improved error handling in `OurDB::get_all` to gracefully handle deserialization failures.
2025-05-25 14:14:01 +03:00
timurgordon
56ec505874 implement more models and rhai examples 2025-05-22 03:57:03 +03:00
timurgordon
c77d08033e start porting model specs into heromodels 2025-05-13 01:58:35 +03:00
Lee Smet
b8e1449ddb
Restructure crates for correct proc macro usage
Signed-off-by: Lee Smet <lee.smet@hotmail.com>
2025-04-25 13:58:17 +02:00
Lee Smet
276cf3c8d8
Add alternative DB interface and implementation
Signed-off-by: Lee Smet <lee.smet@hotmail.com>
2025-04-23 13:53:10 +02:00
1708e6dd06 ... 2025-04-22 12:53:17 +04:00