Commit Graph

22 Commits

Author SHA1 Message Date
Arthur Lu
2cd23324e5 fix formatting 2023-05-17 21:38:11 +00:00
Arthur Lu
e89eeeb5cb separate user data endpoints
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-05-12 20:51:07 +00:00
Arthur Lu
2deda42ec5 update to es6 and fix some syntax errors 2023-04-26 01:18:05 +00:00
Arthur Lu
c7c1191587 code cleanup,
disk paths now under instance

Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-04-24 21:28:58 +00:00
Arthur Lu
9943a35d7e simplify db
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-04-20 20:43:05 +00:00
Arthur Lu
f2ccee5119 bug fixes
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-04-19 20:36:48 +00:00
Arthur Lu
5862edcf24 fully implement new db 2023-04-19 02:42:35 +00:00
Arthur Lu
dacbd965cf implement new db strategy
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-04-19 01:03:55 +00:00
Arthur Lu
3810eef1fa fix spelling
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-04-11 18:00:04 +00:00
Arthur Lu
1acaa6c864 use a better db json layout
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-04-11 17:56:48 +00:00
Arthur Lu
8862144524 add path to get remaining resources
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-04-03 21:45:06 +00:00
Arthur Lu
d135cec5ae fix bug in input validation
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-03-24 22:22:00 +00:00
Arthur Lu
eed39a007b remove extra consol logs
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-03-24 22:14:21 +00:00
Arthur Lu
bd845b47f0 fix bug in validation
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-03-24 22:10:17 +00:00
Arthur Lu
33deb01b74 implement quick input checks
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-03-24 19:35:16 +00:00
Arthur Lu
4bb9aadd04 almost finish implementing resource check
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-03-01 00:50:24 +00:00
Arthur Lu
96bbd469fb implement resource checking all config paths
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-03-01 00:38:09 +00:00
Arthur Lu
4fdb2f1cb8 add resource check on resize
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-02-28 23:24:49 +00:00
Arthur Lu
537420624e improve local db utils
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-02-27 23:11:51 +00:00
Arthur Lu
3febe6601c add basic local db utility functions 2023-02-27 01:28:01 +00:00
Arthur Lu
3fe6994064 add additional prototypes in db.js 2023-02-27 01:09:49 +00:00
Arthur Lu
31ce8ae582 rename index.js to main.js
remove unused imports in main.js,
add function prototypes to db.js
2023-02-26 08:36:27 +00:00