Commit Graph

31 Commits

Author SHA1 Message Date
Qubasa
63331a2a44 clan-cli: Ignore new type hints in api/serde.py
clan-cli: Ignore new type hints in api/serde.py

clan-cli: Ignore new type hints in api/serde.py

clan-cli: Ignore new type hints in api/serde.py
2025-01-06 20:14:28 +01:00
Johannes Kirschbauer
a42c758ab5 Serde: fix enum type conversion, ensure roundtrip stability 2025-01-03 16:31:25 +01:00
Johannes Kirschbauer
7d3b56d949 API/serde: remove broken list sorting in serializer 2024-12-28 16:18:09 +01:00
Johannes Kirschbauer
7074e88355 serde: add suppport for converting sets 2024-12-10 15:17:41 +01:00
Johannes Kirschbauer
35ebc120c5 serde/fix: fix construction of typedDict 2024-12-06 19:02:35 +01:00
Johannes Kirschbauer
a032c446e1 inventory/api: prepare list merging 2024-12-06 11:07:52 +01:00
Johannes Kirschbauer
ff1164369a Clan-app/api: improve error message for mismatching types 2024-11-28 16:37:52 +01:00
Johannes Kirschbauer
4e61df9601 API/serde: fix construction of Enum values 2024-11-27 10:06:04 +01:00
Johannes Kirschbauer
0811dd8e3e API/serde: add handling for serializing enum classes 2024-11-26 10:44:06 +00:00
Johannes Kirschbauer
3bc2991903 Serde: fixup & tests after changed serialization 2024-10-18 12:42:35 +02:00
Johannes Kirschbauer
3cb2396d66 Serde: improve js-python bridge 2024-10-17 10:26:14 +02:00
Jörg Thalheim
1666513e91 Revert "Merge pull request 'Revert "Merge pull request 'clan-cli: secrets: Add support for PGP keys with sops-nix' (#2186) from lopter/clan-core:lo-sops-nix-pgp-support into main"' (#2202) from revert into main"
This reverts commit a5496e8db0, reversing
changes made to 9bb1aef245.
2024-10-04 16:36:35 +00:00
Jörg Thalheim
084ebf9edc Revert "Merge pull request 'clan-cli: secrets: Add support for PGP keys with sops-nix' (#2186) from lopter/clan-core:lo-sops-nix-pgp-support into main"
This reverts commit 5668fd05a0, reversing
changes made to dd17fbdc6d.

Reverting for now as Dave's recent change conflicts with this change.
2024-10-04 17:54:29 +02:00
Jörg Thalheim
160fe82576 fix serialisation of SopsKey type 2024-10-04 15:36:30 +00:00
Johannes Kirschbauer
ba548de2bf Serde: support deserialise Any typed values 2024-09-13 16:11:10 +02:00
Johannes Kirschbauer
caad48682d serde/fix: round trip string sanitizing 2024-09-03 18:03:13 +02:00
Jörg Thalheim
cb16cda3fa add RET, Q, RSE lint 2024-09-02 15:58:49 +02:00
Jörg Thalheim
e150b37fb8 enable ASYNC, DTZ, YTT and EM lints 2024-09-02 14:07:06 +02:00
Jörg Thalheim
109d1faf9e enable bug-bear linting rules 2024-09-02 13:26:07 +02:00
Jörg Thalheim
b24cbb18b7 fix all typing error in tests 2024-09-02 12:23:13 +02:00
Johannes Kirschbauer
b7d0314826 API: serde fix nullable fields should be allowed to be none 2024-08-21 17:53:25 +02:00
Johannes Kirschbauer
02662867fb UI: init update machine 2024-08-15 15:08:15 +02:00
Johannes Kirschbauer
cacd49ff54 Serde: extend deserializer to accept anything 2024-08-15 15:08:15 +02:00
Johannes Kirschbauer
8d1a1ddb17 Serializer: filter None fields, to avoid conflicts with nix module system 2024-08-13 19:27:59 +02:00
Qubasa
3e9ebbc90f clan-app: Finish flash view. clan-cli: Flash cli now verifies if language and keymap are valid. 2024-08-02 17:51:45 +02:00
Johannes Kirschbauer
8ddfaba599 Deserializer: add Literal; Annotated fields 2024-07-31 13:00:28 +02:00
Johannes Kirschbauer
9db6cb8b6f Deserializer: add Nullable fields 2024-07-30 14:26:13 +02:00
Johannes Kirschbauer
5d8fa57f23 Deserializer: replace pydantic 2024-07-30 12:26:16 +02:00
Johannes Kirschbauer
4be5ed28db Clan-app: example disk view 2024-07-29 11:49:55 +02:00
Johannes Kirschbauer
395a7fc70e Serializer: use alias, make it configurable for different use cases 2024-07-29 09:01:06 +02:00
Johannes Kirschbauer
d7b6fc16a4 Serde: add unit tests for all serialization and deserialization logic 2024-07-26 14:23:41 +02:00