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 |
|
Sebastian Moser
|
ddb60a6332
|
changes to how renders and webcomponents are loaded
|
2023-03-17 17:43:13 +01:00 |
|
Sebastian Moser
|
e4eb8d25f7
|
actually get the error by code from ERRORS and not just returning the same for every error code
|
2023-03-17 07:13:08 +01:00 |
|
Sebastian Moser
|
68ef9286fe
|
loading modules and renders now uses serde to deserialise toml
|
2023-03-06 17:54:07 +01:00 |
|
Sebastian Moser
|
e660f1372c
|
forgot change to mr instead of modules-renders somewhere, and made Deserialize for MizeId work
|
2023-02-27 17:53:24 +01:00 |
|
Sebastian Moser
|
9825c5242b
|
basic JSON message handling. not tested yet at all
|
2023-02-12 23:25:50 +01:00 |
|
Sebastian Moser
|
d3ecfcabf4
|
all MizeError's are now constructed with the new() function instead of with directly with {}
|
2023-01-31 23:52:41 +01:00 |
|
Sebastian Moser
|
6bd74b1a23
|
serving the webroot from renders was implemented completely wrong. now it works
|
2023-01-28 17:45:09 +01:00 |
|
Sebastian Moser
|
b5dd705f70
|
itemstore.update() now completely deletes the item. before adding a key, that already existed some time, would not work, also handle_mize_message() returns after one if-statement triggers
|
2023-01-25 12:27:34 +01:00 |
|
Sebastian Moser
|
188a7b2a7e
|
fields are now deleted when the val is empty .... among other changes
|
2023-01-14 23:14:37 +01:00 |
|
Sebastian Moser
|
5d4ea7256e
|
useItem finally actually works (with an updated client as well)
|
2023-01-09 11:16:06 +01:00 |
|
Sebastian Moser
|
2ea874f5a0
|
adding a field with first render now works
|
2023-01-08 20:46:42 +01:00 |
|
Sebastian Moser
|
24b8aff686
|
does this automatically pull the js-client as well?
|
2023-01-08 18:46:07 +01:00 |
|
Sebastian Moser
|
aef7873f92
|
updates in the js-client
|
2023-01-08 04:36:02 +01:00 |
|
Sebastian Moser
|
0a82f3ee27
|
fixed panic: a field that should be there wasn't.
|
2023-01-08 04:18:55 +01:00 |
|
Sebastian Moser
|
40d10ae826
|
...
|
2023-01-08 00:01:06 +01:00 |
|
Sebastian Moser
|
04076ce8da
|
removed the need for the folder field in the mize.toml files.
|
2023-01-06 06:46:55 +01:00 |
|
Sebastian Moser
|
f27c80d127
|
switched to axum as the web-framework, and got module and render loading
from the mize folder working.
|
2023-01-06 03:30:11 +01:00 |
|
Sebastian Moser
|
3cae3664c3
|
major server rewrite now all working
|
2023-01-05 11:19:43 +01:00 |
|
Sebastian Moser
|
134318c13b
|
some error handling
|
2022-11-04 11:16:03 +01:00 |
|
Sebastian Moser
|
626f9eda58
|
_commit was not incremented when updating. forgott an .await. typicall
|
2022-11-02 20:12:18 +01:00 |
|
Sebastian Moser
|
e4ce4cfc37
|
handling a create message now uses the Message Struct
|
2022-11-01 23:26:12 +01:00 |
|
Sebastian Moser
|
f3c864eab8
|
That was a bad idea....
|
2022-10-28 17:27:19 +02:00 |
|
Sebastian Moser
|
2a0a4867f9
|
update on the server works now
|
2022-10-24 22:29:38 +02:00 |
|
Sebastian Moser
|
202f493eba
|
added apply_update function
|
2022-10-23 22:56:58 +02:00 |
|
Sebastian Moser
|
4c566c6622
|
handling of update_request message implemented, but not tested
|
2022-10-14 12:47:37 +02:00 |
|
Sebastian Moser
|
b37250ce43
|
creating new items now works
|
2022-10-13 19:10:07 +02:00 |
|
Sebastian Moser
|
f18667b5b3
|
fixed some weired panic when accessing an element of a vec in an async
function.
- also cargo update
|
2022-10-09 12:55:14 +02:00 |
|
Sebastian Moser
|
eeb9bbe694
|
added submodules
|
2022-10-05 19:39:22 +02:00 |
|
Sebastian Moser
|
0d81d6d4f6
|
added get cmd to handle_mize_message function
- and _commit field, that automatically imcrements
|
2022-10-05 14:58:04 +02:00 |
|
Sebastian Moser
|
e9d93442df
|
Changed all functions in itemstore to use Vec<u8> instead of String
- so that keys/values can be binary files (with invalid utf-8)
- compiler says it works, but not tested at all
|
2022-09-27 07:21:55 +02:00 |
|
Sebastian Moser
|
15f63c1195
|
implemented function to delete items
|
2022-09-23 15:33:03 +02:00 |
|
Sebastian Moser
|
ad20ddb580
|
Have everything in one binary again.
|
2022-09-23 15:25:58 +02:00 |
|
Sebastian Moser
|
ccb53f8abb
|
Function to get an item implemented
|
2022-09-21 12:31:17 +02:00 |
|
Sebastian Moser
|
5630e7ec8e
|
Implemented function to update an item
|
2022-09-21 08:14:53 +02:00 |
|
Sebastian Moser
|
ec990fd370
|
Added Function to create an Item
|
2022-09-20 23:53:13 +02:00 |
|
Sebastian Moser
|
87ebad4bce
|
started with using surealdb
|
2022-09-18 21:02:42 +02:00 |
|
Sebastian Moser
|
463e58691b
|
I am sorry for this. #pitty-commit
|
2022-09-16 21:36:10 +02:00 |
|