ifcurl/tests
Bruno Postle 63a6b2bfa6 documents_api: implement OpenCDE Documents API 1.0
POST /documents/1.0/document-versions resolves document_ids (base64url
encoding of owner/repo/path) to versioned download URLs. Exposes only
git tags + the current HEAD commit — mirrors CDE conventions where only
released versions are visible, while still surfacing the WIP state.

version_number is the tag name for releases and short SHA for HEAD.
Tagged SHAs are deduplicated so HEAD at a tag doesn't create a duplicate.
Download URLs point at Forgejo's existing raw/commit endpoint.

Auth forwarded verbatim. No Go code, no Forgejo recompilation.
Proxy at /documents/ on the Forgejo hostname.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-29 20:27:25 +01:00
..
conftest.py style: ruff --fix + black across ifcurl/ and tests/ 2026-04-25 08:34:56 +01:00
test_auth.py style: ruff --fix + black across ifcurl/ and tests/ 2026-04-25 08:34:56 +01:00
test_bcf.py bcf: add bcf_viewpoint_to_ifc_url() and IfcUrl.to_string() 2026-04-29 19:04:04 +01:00
test_bcf_api.py bcf_api: implement BCF 3.0 REST API as Python routes in the preview service 2026-04-29 19:38:34 +01:00
test_diff.py style: ruff --fix + black across ifcurl/ and tests/ 2026-04-25 08:34:56 +01:00
test_documents_api.py documents_api: implement OpenCDE Documents API 1.0 2026-04-29 20:27:25 +01:00
test_git.py tests: add TestCacheCli covering list, clear, and prune CLI paths 2026-04-25 20:43:43 +01:00
test_render.py style: ruff --fix + black across ifcurl/ and tests/ 2026-04-25 08:34:56 +01:00
test_sandbox.py style: ruff --fix + black across ifcurl/ and tests/ 2026-04-25 08:34:56 +01:00
test_service.py bcf_api: implement BCF 3.0 REST API as Python routes in the preview service 2026-04-29 19:38:34 +01:00
test_url.py bcf: add bcf_viewpoint_to_ifc_url() and IfcUrl.to_string() 2026-04-29 19:04:04 +01:00
test_viewer_url.mjs viewer: extract URL logic to viewer-url.js, add JS tests 2026-04-24 07:31:19 +01:00