Support configuration update via PUT method #220

Merged
cmo merged 11 commits from improve-load-config into master 2026-06-24 14:34:16 +00:00

2026-06-24

Christian Monch
allow storing of Thing-records
All checks were successful
Test execution / Test-all (push) Successful in 2m13s
When inlined record extraction was introduced,
the storing of records of class `Thing` was
prohibited.

This restriction is lifted by this commit.
2026-06-24 15:56:54 +02:00
Christian Monch
fix tests
Some checks failed
Test execution / Test-all (push) Failing after 1m10s
2026-06-24 09:44:31 +02:00
Christian Monch
add PUT method for administration endpoints
This commit adds a PUT method for the administration
endpoints `/collections`, `/tokens`, and `/admin_tokens`.

It adds a test for collection-update.
2026-06-24 09:44:30 +02:00
Christian Monch
unify result structure for all admin query endpoints
The JSON-objects returned by GET-ing /collections,
/tokens, and /admin_tokens can now be used verbatim
to generate the respective objects by POST-ing them
to the endpoints.
2026-06-24 09:44:30 +02:00
Christian Monch
add json format support to upload-config
The command `dump-things-upload-config` now
supports YAML and JSON input file format. The
format is determined by the suffix or declared
via the -f/--format options.
2026-06-24 09:44:30 +02:00
Christian Monch
2026-06-24 09:44:30 +02:00
Christian Monch
allows multiple inboxes to share a directory
This commit disables the check for distinct
directories. This allows to support some
older configurations, where inboxes from
different collections share a common directory.
2026-06-24 09:44:30 +02:00