Commit Graph

1144 Commits

Author SHA1 Message Date
clan-bot 720719d5f9 Merge pull request 'webui: fixes for machines endpoint' (#189) from DavHau-main into main 2023-08-26 12:19:07 +00:00
DavHau 8c7ee25dc9 webui: fixes for machines endpoint
- fix machines settings file location
- raise 404 if machine doesn't exist
- improve machine api test
2023-08-26 14:17:25 +02:00
clan-bot 2b2584a0ba Merge pull request 'ui: add documentation on how to upload assets' (#187) from Mic92-static-assets into main 2023-08-26 10:45:13 +00:00
Jörg Thalheim aabe80d168 ui: add documentation on how to upload assets 2023-08-26 12:43:39 +02:00
clan-bot 8f5d9f714b Merge pull request 'clan-cli: add README' (#186) from Mic92-static-assets into main 2023-08-26 10:39:46 +00:00
Jörg Thalheim b1f11851fb clan-cli: add README 2023-08-26 12:38:11 +02:00
clan-bot 65fc505e06 Merge pull request 'integrate static assets into webui command' (#185) from Mic92-static-assets into main 2023-08-26 10:27:51 +00:00
Jörg Thalheim 9ae14a4f7d integrate static assets into webui command 2023-08-26 12:24:57 +02:00
clan-bot 79b02dffab Merge pull request 'replace environment variable with nixpkgs directory' (#183) from Mic92-main into main 2023-08-26 09:47:58 +00:00
Jörg Thalheim 672e760e2a replace mock_env with monkeypatch 2023-08-26 11:45:09 +02:00
Jörg Thalheim fb7c77690a replace environment variable with nixpkgs directory
In this directory we generate all the files that we need to load nixpkgs.
This seems more robust than all those environment variables that may or not may be set.
2023-08-26 11:45:09 +02:00
clan-bot dec5e1e5db Merge pull request 'UI: NodeTable exported to small Components' (#184) from Qubasa-Qubasa-main into main 2023-08-26 09:44:36 +00:00
Luis-Hebendanz fdbe44a0e0 UI: made components 2023-08-26 11:42:43 +02:00
clan-bot 7042243515 Merge pull request 'use .direnv for generated project files' (#181) from Mic92-main into main 2023-08-26 07:31:00 +00:00
Jörg Thalheim ce3ea68da3 drop unused / from PYTHONPATH 2023-08-26 09:29:28 +02:00
clan-bot c7fb2f2633 Merge pull request 'use .direnv for generated project files' (#180) from Mic92-main into main 2023-08-26 07:28:31 +00:00
Jörg Thalheim 117f7448d9 drop unused .pre-commit-config.yaml 2023-08-26 09:26:31 +02:00
Jörg Thalheim a3b408d8c8 use .direnv for generated project files 2023-08-26 09:26:31 +02:00
clan-bot 0fe13c924f Merge pull request 'webui: tests for machine config endpoints' (#177) from DavHau-api-config into main 2023-08-26 06:48:38 +00:00
DavHau 518bf4197f webui: tests for machine config endpoints 2023-08-26 08:46:53 +02:00
clan-bot 7dd5add64b Merge pull request 'webui: implement /api/machines/{name}/config' (#176) from DavHau-api-config into main 2023-08-25 21:20:13 +00:00
DavHau 868c49acea webui: implement /api/machines/{name}/config 2023-08-25 23:18:34 +02:00
clan-bot b303665989 Merge pull request 'devShell: add treefmt' (#175) from DavHau-api-config into main 2023-08-25 19:28:19 +00:00
DavHau fb76ad45e8 webui: implement /api/machines/{name}/schema 2023-08-25 21:26:30 +02:00
DavHau 6d4d455626 devShell: add treefmt 2023-08-25 21:14:23 +02:00
Luis-Hebendanz ac138c98ed UI: Splitted NideList into multiple components. Generated random user data for benchmarking 2023-08-25 16:24:52 +02:00
clan-bot d5ea8b9914 Merge pull request 'upload ui assets to gitea' (#173) from Mic92-feat/api-integration into main 2023-08-25 12:49:58 +00:00
Jörg Thalheim 8f5d4e2e35 upload ui assets to gitea 2023-08-25 14:48:17 +02:00
Luis-Hebendanz 1e2d0dd5df Merge branch 'main' into Qubasa-main 2023-08-25 14:43:07 +02:00
Luis-Hebendanz 04571d0029 UI: NodeTable exported to small Components 2023-08-25 14:42:16 +02:00
Jörg Thalheim 1cf814b4c1 tea-create-pr: drop one derivation 2023-08-25 14:09:40 +02:00
clan-bot 4b737437a1 Merge pull request 'add api generator' (#172) from feature/api-generator into main 2023-08-25 11:45:49 +00:00
Johannes Kirschbauer 5a39865622 add api generator 2023-08-25 13:40:52 +02:00
clan-bot 6a956bc7bc Merge pull request 'add cors to rest api' (#171) from feat/api-integration into main 2023-08-25 10:43:37 +00:00
Johannes Kirschbauer f0bc59a1a2 add cors to rest api 2023-08-25 12:42:20 +02:00
clan-bot fb1376b23d Merge pull request 'Mic92 Main' (#170) from Mic92-main into main 2023-08-25 09:40:31 +00:00
Jörg Thalheim aa14e7ddc7 generate openapi 2023-08-25 11:39:46 +02:00
clan-bot ad02dba8d2 Merge pull request 'add tests for machines api' (#169) from Mic92-main into main 2023-08-24 17:17:42 +00:00
Jörg Thalheim 33b43ae146 add tests for machines api 2023-08-24 19:16:44 +02:00
clan-bot 8cab7ec44c Merge pull request 'add machine subcommand' (#167) from Mic92-main into main 2023-08-24 16:29:15 +00:00
Jörg Thalheim 58adf91af8 test machine subcommand 2023-08-24 18:28:33 +02:00
Jörg Thalheim 6adfadd8b9 re-enable config subcommand if CLAN_OPTIONS_FILE is set 2023-08-24 18:28:33 +02:00
Jörg Thalheim dcbf1613fb delete test_cli test
we already cover this in integration tests
2023-08-24 18:28:33 +02:00
Jörg Thalheim d600a927ea tests: generalize secret cli parser to work for all cli commands 2023-08-24 18:28:33 +02:00
Jörg Thalheim 3b099ccb89 clan-cli: move arg parsing to extra method 2023-08-24 18:28:33 +02:00
Jörg Thalheim c5b16124ef add machine subcommand 2023-08-24 16:58:22 +02:00
clan-bot 14eb6dfb63 Merge pull request 'add stub api for machines' (#166) from Mic92-main into main 2023-08-24 14:27:26 +00:00
Jörg Thalheim be78e65b11 pre-commit: allow treefmt cache
cache should work now and speeds up things
2023-08-24 16:26:03 +02:00
Jörg Thalheim 56542ca5ef mv update command to machines update command 2023-08-24 16:25:06 +02:00
Jörg Thalheim 80d3349ce0 add stub api for machines 2023-08-24 16:11:08 +02:00