Commit graph

17 commits

Author SHA1 Message Date
b9f75e426c feat: Added Map
- Implemented Map
- Partially implemented CLI interaction with map
- Added load_map test
2025-12-03 17:01:40 +03:00
dc94f2060c feat: Added interaction with accounts in CLI
- Account creation
- Account deletion
- Account balance management
- Account quest completion
- Added account CRUD test in tests/io.rs
2025-12-02 16:12:42 +03:00
0e8cdde697 feat!: Account features
- Bump version to 0.2.0
- Added trait SquadObject
- Implemented SquadObject for Quest and Account
- Implemented Config::load_accounts
- Removed src/quest/error.rs
- Added account tests in tests/main.rs

BREAKING CHANGE: Quest::{load,delete,save} are now provided by
SquadObject trait
2025-12-02 14:33:38 +03:00
1dc7d94785 refactor!: moved quest::error::QuestError to crate::error::Error 2025-12-01 17:15:08 +03:00
a0bec4003c feat: Quest publication features for CLI
- Added "quest daily" command
- Added "quest publish" command
2025-12-01 16:43:58 +03:00
78da6dde05 feat!: Added several fields to Quest struct
- Added field public
- Added optional field available_on
- Added optional field deadline
- Updated tests and CLI to use these fields
2025-12-01 13:26:38 +03:00
96235086d7 test: fixed crud test 2025-11-29 14:46:42 +03:00
d61011f5ea feat: CLI quest CRUD
- Quest creation
- Quest list retrieving
- Quest update
- Quest deletion
2025-11-29 14:40:23 +03:00
2e14614bdf feat: full_quests_path
- Added Config::full_quests_path
- Fixed quests saving in parent folder
2025-11-29 14:12:07 +03:00
119b7bce9c feat!: CLI init
- Added CLI, does not perform any action now,
  but accepts arguments correctly

BREAKING CHANGE: Removed main.rs file
2025-11-29 11:00:12 +03:00
f5180a559b test: Quests Create/Read/Update/Delete 2025-11-28 21:39:06 +03:00
01d3755ea6 test!: Moved tests/src to tests/main to allow several commits 2025-11-28 21:08:30 +03:00
86845c54a6 feat!: Quest load and delete methods
- Added QuestError::TomlSerializeError variation
- Added QuestError::TomlDeserializeError variation

BREAKING CHANGE: Removed QuestError::TomlError variation
2025-11-28 21:02:33 +03:00
94d771107d test: Initial unit testing
- Test quests vector loading
- Test default quest on empty fields
- Test correct quest
- Fixed config paths handling
2025-11-28 17:00:17 +03:00
a5eac1b64f feat: Quest loading
- Added config::Config::load_quests()
- Added quest::error::QuestError error type
- Updated documentation
2025-11-28 15:37:48 +03:00
4e3c137f8b feat: Basic structs
- Added Account struct
- Added Config struct
- Added empty Map struct
- Added Quest struct
2025-11-28 14:06:12 +03:00
753d0e18e2 Initial commit 2025-11-28 11:28:44 +03:00