Skip to content

26 q3#634

Draft
dariok wants to merge 33 commits into
developmentfrom
26Q3
Draft

26 q3#634
dariok wants to merge 33 commits into
developmentfrom
26Q3

Conversation

@dariok

@dariok dariok commented Jul 13, 2026

Copy link
Copy Markdown
Owner

No description provided.

dariok added 2 commits July 13, 2026 16:42
e.g. for required legal information
- remove mix of hard coded and computed content
- hard code CSS
- make sure content is HTML
- include footer from function.xqm (e.g. for legal links)
@dariok dariok added this to the Backlog 2026 milestone Jul 13, 2026
@dariok dariok added this to Quarterly Jul 13, 2026
@dariok

dariok commented Jul 20, 2026

Copy link
Copy Markdown
Owner Author

@codex rewiew

@chatgpt-codex-connector

Copy link
Copy Markdown

Summary

  • Fixed REST upload parsing so the documented multipart path field is treated as the full relative resource path, with normalized relativePath, relativeCollection, and sanitized filename data passed forward. edoc/rest2/rest-common.xqmL308-L324
  • Updated shared resource conflict checks to compare against the normalized upload path and resolved request ID instead of reconstructing paths from path + file.name. edoc/rest2/rest-common.xqmL327-L358
  • Normalized the request body before delegating to createXmlResource, preserving the existing lower-level storage contract while using the upload-derived collection and filename. edoc/rest2/rest-common.xqmL361-L379
  • Fixed /api/v2/resources/{id} replacement handling by enriching the upload request with the existing resource’s project collection before calling the shared upload helper. edoc/rest2/resources.xqmL183-L200

Testing

  • git diff --check
  • ⚠️ npx eslint edoc/resources/js/admin.js (warning: repo ESLint config currently uses an env key incompatible with ESLint flat config)

View task →

@dariok dariok linked an issue Jul 21, 2026 that may be closed by this pull request
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: No status

Development

Successfully merging this pull request may close these issues.

uniform error handling

1 participant