31 Commits
Author SHA1 Message Date
ChaosMaker 584e594726 - Downward tree traversal fixed (untested - might have bugs)
- Moved filesystem mockups to a separate file
- Tree visualizer now has support for symlinks and mountpoints
2026-11-10 09:08:15 +01:00
ChaosMaker 4fa284de13 - Fixed resolvePath
- Added symlink resolution
- Added mount resolution
- Fixed filesystem not awaiting for disks to be mounted
(now `FileSystem.init()` needs to be called with `await`)
- Removed old test fixture files
- Added a feature-full `resolvePath`test suite

*all tests passing green*
2026-11-10 08:04:57 +01:00
ChaosMaker dd804f6f14 Virtual FileSystem fixed - (Needs unit testing)! 2026-11-09 05:10:44 +01:00
ChaosMaker 832fc6c759 - filesystem move node method fixed
- upTraversalTree fixed

- who tf knows what else
2026-10-30 06:13:34 +01:00
ChaosMaker 849e0e61f5 a lot of mess, keep working on VDisk for now. 2026-09-17 10:32:31 +02:00
ChaosMaker 1ee2a2fe7a - Old tests fixed
- Added a static Fixuture class for test mockups
2026-08-28 16:52:59 +02:00
ChaosMaker 268729bb62 WRITE UNIT TESTS!!!
first async command working, no unit tests done AGAING
2026-08-23 06:39:37 +02:00
ChaosMaker 394e0b9e7c logout test written, green 2026-08-03 22:34:09 +02:00
ChaosMaker d26d7d35ac moar work, login tested and green 2026-08-02 09:05:05 +02:00
ChaosMaker 3e6d607e18 minor fixes, 1 test for session manager 2026-07-30 18:00:01 +02:00
ChaosMaker 5d197b4513 session manager login and logout implemented - untested, may contain bugs 2026-07-29 14:42:07 +02:00
ChaosMaker 6bbaaf60e6 minor import fixes - all tests pass 2026-07-28 17:58:13 +02:00
ChaosMaker 7348d3723e small tweaks to the file structure, and reorganization of the codebase.
preparations for session manager function implementations
2026-07-28 17:54:02 +02:00
ChaosMaker 8c0a7e7a6c cd tested - all green 2026-07-28 16:23:51 +02:00
ChaosMaker f87aa4eb85 implemented the cd command - not tested properly 2026-07-28 05:44:17 +02:00
ChaosMaker b9a27cea2a added an inode resolver to convert inodes to absolute path strings 2026-07-28 05:32:27 +02:00
ChaosMaker cd08a4bf32 resolvePath function implemented and tested, all green. 2026-07-26 16:43:39 +02:00
ChaosMaker 994b93ae47 ShellState, SessionState implemented, all tested, and passing 2026-07-25 03:37:13 +02:00
ChaosMaker b63bae54aa Parser fully finished and functional, posix compliant and tested - all green 2026-07-24 15:11:44 +02:00
ChaosMaker 355a8a4707 parser test suite done, all green 2026-07-24 04:45:19 +02:00
ChaosMaker 0a477855c7 - Added a FileSystemInitializationError.
- Changed the static init method to check basic schema (root format and existence) before returning.

- Added getRoot method that throws generic Error if inode 0 doesnt resolve.
2026-07-22 14:28:50 +02:00
ChaosMaker 2affb3ceb2 fixed bug in moveNode where when renaming, the old record about the renamed node would still be present in the children record of the parent 2026-07-21 17:06:02 +02:00
ChaosMaker f2d2186086 added a helper to tests for one-liner error matching in unit tests. fixed bugs in tests after the tree fixture changed 2026-07-21 15:48:07 +02:00
ChaosMaker 7cf60208e0 moveNode tests written, 1 fails, need to check for bugs 2026-07-21 04:26:19 +02:00
ChaosMaker 46f9e05d63 upTreeTraversal finished, fixed a bug in fixture parser where every node had parent set to 0
unfinished test that checks agains that error
2026-07-20 18:15:50 +02:00
ChaosMaker e89cec47d9 upTraverseTree algo implementation start, doesnt work currently. basic test of the function written 2026-07-20 15:21:50 +02:00
ChaosMaker c7dc8f6c37 timestamps accounted for in modifyNode tests. All green 2026-07-20 12:58:46 +02:00
ChaosMaker 9bf481cc33 modifyNode tests wiritten, all passing 2026-07-20 00:31:41 +02:00
ChaosMaker 04b66fa62a Phase 1 Recursive DFS pre-order algorithm, tree print helper for visualizing tree structures, filesystem test fixture builder helper function.
deleteNode fully implemented,

test suite implemented
2026-07-19 09:30:08 +02:00
ChaosMaker ea82327ee8 createNode method implemented, canRead,
canWrite,
canExecute methods implemented

common FileSystem error types implemented,

unit tests written and passing for filesystem initialization, createNode cases and permission methods
2026-07-15 16:28:41 +02:00
ChaosMaker 3d96ad3c6d Phase 0 - basic shell data shapes, simple test suite, workspace configuration 2026-07-07 04:47:13 +02:00