Skip to content

Comments

26 q1#619

Draft
dariok wants to merge 50 commits intodevelopmentfrom
26Q1
Draft

26 q1#619
dariok wants to merge 50 commits intodevelopmentfrom
26Q1

Conversation

@dariok
Copy link
Owner

@dariok dariok commented Jan 7, 2026

No description provided.

dariok added 30 commits January 3, 2026 14:22
- clearer structure for response bodies and schemas
- use "list" as the standard result
- re-use that for both lists
currently, that’s views, projects, files
includes switch to @xmldom/xmldom for latest security updates
- use prefix 'att' for all attributes in schema
- use prefix 'list' for all list-like results
- use plural for key of arrays in JSON ('projects': [] )and singular in XML (<project/>)
- redefine all list-like results to 'list'
- define 'contents' for mixed projects/files
- define GET /projecst/{ed}
- includes some rearranging of unit tests
- update xmldom in node
- add tests evaluating XML
When POSTing or PUTing a project, if the collection is already in use, return 409.
Adjust tests to remove project created by POST (random ID)
Also, have a version attribute in config to address differecnt verrsions of the API

Cf. #577
always use this order:
- $projectResources/xsl/$name
- else data/resources/xsl/$name
- else resources/xsl/$name
- also: make use of new wdb:applySpecificXSL
- this needed changes to api.xsl to create a structure parseable as JSON

Cf. #577
also, add a comment stating where the HTML was generated

Cf. #330
better for further processing than a sequence of and int (for status code) and and element or sth. else

Cf. also #330
the values available as target are hardcoded as the `structure.json` endpoint has been withdrawn in REST2

Cf. #622
- use hard coded path for wdb+ – this will be standard for now as it removes quite some overhead
- use the correct path for an addin to avoid a wdbErr:wdb0200
dariok added 20 commits February 3, 2026 18:03
including necessary settings for API vis
Include in resource structure and adjust config.

Closes #503
This way, all resources are grouped here (okay, except for CSS and JS)
keep older version by calling #4 with empty parameter set
also, refactor for uniform error handling
Cf. 610
this will be used by the controller in the next commit and we do not want to import app.xqm there
eXist only parses multipart requests automatically so we need to do this so roaster is able to pick it up
- button/@data-note will be @xml:id if that is present to reflect the way the ID is contructed in fnText
- create groups of footnotes (by @type)
- create a <hr> when a new series of footnotes starts
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant