Commit Graph

149 Commits

Author SHA1 Message Date
Sebastian Moser
39cf7f5ee3 cli command set now uses set_blocking, but this does not wait for the unix_con thread to send out the msg 2024-08-22 11:20:43 +02:00
Sebastian Moser
5a25fd7161 logging works a bit more the way i want, but it's such a pfusch 2024-08-22 11:17:01 +02:00
Sebastian Moser
89c490fadb checking if the process exists with the sysinfo crate, takes 300ms. now using /proc/pid 2024-08-22 08:30:12 +02:00
Sebastian Moser
609205236a we no longer updata msg loop 2024-08-22 08:14:26 +02:00
Sebastian Moser
fe9b6d8fca two sub not-owning instance send update-request, on getting an update 2024-08-21 13:32:55 +02:00
Sebastian Moser
f1e7d6ed68 subing works, although be it very prototype like 2024-08-21 13:18:40 +02:00
Sebastian Moser
125c4b066a set works 2024-08-20 10:30:36 +02:00
Sebastian Moser
410198b099 realising, that an extra msg_thread will be nececary 2024-08-20 10:20:26 +02:00
Sebastian Moser
d0a1e26e96 new_item works via connection 2024-08-19 09:58:35 +02:00
Sebastian Moser
f529fbd625 set msg 2024-08-18 12:12:18 +02:00
Sebastian Moser
b60c9c2f69 most of getting stuff with two instances works 2024-08-15 09:35:34 +02:00
Sebastian Moser
13f5598caa we connect and get the namespace of the peer 2024-08-14 13:14:54 +02:00
Sebastian Moser
ae5bbd4028 we connect now 2024-08-12 23:14:40 +02:00
Sebastian Moser
eb1b94a650 cargo check 2024-08-11 23:48:46 +02:00
Sebastian Moser
f24c46338e we can recieve and send messages on a unix sock 2024-06-28 00:21:33 +02:00
Sebastian Moser
6cb0aa1272 weired implementation of stream parsing cbor items from a unix sock, but it works 2024-06-20 18:03:43 +02:00
Sebastian Moser
053742f849 updater_thread now works and we listen on unix_socket 2024-06-19 21:50:52 +02:00
Sebastian Moser
7340aaa37a migrating to fsstore works 2024-06-16 17:44:20 +02:00
Sebastian Moser
5213dd156e better Display for MizeError + removed some dead code 2024-06-14 17:44:15 +02:00
Sebastian Moser
8de465734c added namespace 2024-06-13 08:53:45 +02:00
Sebastian Moser
b0306d0e33 instance and item now use dynamic dispatch 2024-06-13 08:22:48 +02:00
Sebastian Moser
33e75d9c25 the state before switching to dynamic dispatch for stores 2024-06-09 14:01:25 +02:00
Sebastian Moser
6887287c29 fixed bug, where if no --config was present, 0/config would not exist 2024-06-08 15:06:32 +02:00
Sebastian Moser
2993beb788 fixed implementation of item.merge() 2024-06-08 14:59:05 +02:00
Sebastian Moser
11c0f7e00e some bug fixes of not the most clean code + random things 2024-06-08 13:54:50 +02:00
Sebastian Moser
850f99e830 added debuggers to devShell 2024-06-07 23:42:09 +02:00
Sebastian Moser
7509a298fb removed js-client, as such a thing won't exist anymore, the instance runs as wasm in the browser or node 2024-06-01 12:34:03 +02:00
Sebastian Moser
e0211b86ca instance init with config works + view ItemData func implemented 2024-06-01 12:21:35 +02:00
Sebastian Moser
47b187d012 MizeIds are now stored in a StringPool for Vec<String> 2024-05-31 12:05:53 +02:00
Sebastian Moser
38f967db76 basic get command works with items from 0/config defined in test-config.toml 2024-05-30 14:59:47 +02:00
Sebastian Moser
557ac09bc7 cargo toml refactor 2024-05-28 23:01:06 +02:00
Sebastian Moser
db23b61638 added start of some docs 2024-05-25 22:55:14 +02:00
Sebastian Moser
7944fd3f7f added hello-world wasm example and npmPackage nix derivation 2024-05-23 00:24:09 +02:00
Sebastian Moser
a16c2f9221 large rewrite to make mize run on every platform 2024-05-18 08:31:38 +02:00
Sebastian Moser
75a6dca3fc the state before focusing on mize running on all platforms 2024-05-11 08:51:37 +02:00
Sebastian Moser
831125bdf0 towards the next try of mize... 2024-02-04 21:15:18 +01:00
Sebastian Moser
512ca994e2 fresh start 2023-12-22 22:47:35 +01:00
Sebastian Moser
1e464fd46a last commit of old idea 2023-06-05 16:28:45 +02:00
Sebastian Moser
2e80b32364 deleted all commented out serde manual implementation attempts 2023-04-26 23:58:27 +02:00
Sebastian Moser
170df4aefa deleting a path with an update did not work before, among other things 2023-04-26 23:56:58 +02:00
Sebastian Moser
68acef32ac newest js client version 2023-04-18 18:22:56 +02:00
Sebastian Moser
e1e2e576e2 implemented Ping Message response and some fixes 2023-04-18 18:21:56 +02:00
Sebastian Moser
79f58e671e there is now a thread where updates are sent to, instead of only a function that gets called 2023-04-17 18:13:44 +02:00
Sebastian Moser
7823682944 CreatedItemMessage had an id, which it should not have 2023-04-14 14:08:51 +02:00
Sebastian Moser
e9af27f6f1 cargo update 2023-04-13 14:49:11 +02:00
Sebastian Moser
04787827f4 server now generates a uuid and stores that in the mize-folder/mize.toml. and some error stuff 2023-03-30 12:40:01 +02:00
Sebastian Moser
bea01c6a63 MizeId change done 2023-03-30 08:32:28 +02:00
Sebastian Moser
6077e9fddb MizeId now is a struct containing just a string 2023-03-29 18:20:22 +02:00
Sebastian Moser
1a541217b9 applying json-diff fixed, among other things 2023-03-27 23:46:46 +02:00
Sebastian Moser
b7552fd5c9 cmds are not cmd:item.get instead of cat:item cmd:get 2023-03-17 17:50:50 +01:00