-
Notifications
You must be signed in to change notification settings - Fork 6
26 q2 #631
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Draft
dariok
wants to merge
78
commits into
development
Choose a base branch
from
26Q2
base: development
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Draft
26 q2 #631
Changes from 75 commits
Commits
Show all changes
78 commits
Select commit
Hold shift + click to select a range
50d01f9
small code improvements
dariok d037dd4
minor errors
dariok 4de7afe
remove XString
dariok 670ec66
Support versions of REST URLs
dariok 0bc767f
[REST2] search: search in collection (1st pass)
dariok 6827042
[REST2] search: JS from search.html uses new endpoint for collection …
dariok ac63d7c
[REST2] make API definition more consistent
dariok 6257d3b
[REST2] resources byPid now returns HTTP 303
dariok 82223f5
[REST"] fts search within a file
dariok 926747f
[REST2] wrapper function to return a uniform result element
dariok bf04a20
[REST2] search Store results in session and re-use
dariok 879024d
[REST2] search include KWIC and path info in file results
dariok 8045aed
[REST2] search simplfied index defintion
dariok 0c3a617
wdbFiles: “kind” → “type”
dariok 5fab5ba
simple call graph
dariok d5b4aec
[REST2] search uniform creation of results for both stored and new
dariok d3d9ec7
[REST2] search search page makes use of new API
dariok c3fac08
a full recreation of the project+file indexes required re-indexing
dariok 9d33b3c
[REST2] must explicitly call authorization in routing definition
dariok a15d13a
fix multiple errors introduced by an S+R operation
dariok 486d0bc
wdb.report: always print trace to console (except for success messages)
dariok eac9e4a
explicitly set headers for CORS-Preflight as Jetty will not pass OPTI…
dariok 27ff9ac
[REST2] admin uploads now use the new API
dariok 65c04d1
[REST2] check project creation and all uploads work as expected
dariok 64cce3a
[REST2] upload: when creating a collection, set owner
dariok cc24531
[Install] set owner of `data` as wdb:wdbusers
dariok 2a595b0
some refactoring on post-install.xql
dariok 05c3ca1
model.xqm: map kex "mainEd" must contain the ID of the main ed
dariok fe2b221
[REST2] search now uses new API via AJAX
dariok d51c6ff
app:applySpecificXsl must use main project’s resources
dariok 84c9aa1
nav.xsl: additional way of parsing numbering to order entries
dariok 20d5671
bump node dependencies
dariok 790a85f
some code maintenance
dariok cbcc44f
some cleaning in controller
dariok 86ae54c
installation dependency of roaster updated to v. 1.11.0
dariok 8e324ec
cleanup post-install.xql: XString has been removed
dariok 46e8269
index definitions: simplify defintions
dariok c837619
wdb:getXslFromWdbMeta(): do not throw error if no process is found
dariok c4ebecd
function.xqm: adjust error message
dariok d5cc3b9
wdb-process.xqm: add a missing return statement
dariok ba55dab
[REST2] resources: list of views must include ancestor wdbmeta
dariok 7c34874
[REST2] projects adjustments for process inheritance
dariok d8e0f1e
typos
dariok 498b549
use new API to load navigation
dariok 4818e82
make names for API meta files uniform
dariok edbe9cb
[REST2] uniform URL creation via map
dariok 3af2434
[REST2] list of resources is only available as XML or JSON
dariok e02c0f4
[REST2] cleanup in media type handling
dariok da5cda7
Use URLSearchParams()
dariok 1eeb4d5
[REST2] build URL only once in function.js
dariok 881f7fd
use URL() API to construct URLs
dariok be3c2b5
toggleNavigation now uses new API
dariok 4f39efc
admin.js uses URL() API and wdb.restUrl
dariok 2a2b84f
Bump Mocha to 11.7.6
dariok e7a473f
login via roaster does not need Basic Auth headers
dariok 245bb43
admin.js: assume we’re not proxied
dariok 7d39040
set owner and permissions only in a file is newly created
dariok ba1724d
update licence in repo.xml to match the one stated in the git repo
dariok 05df0aa
Create group "wdbadmin" in post-install
dariok 7bdb949
support to process a sequence of meta:commands
dariok c041696
remove scaffolding
dariok 176411c
process selection now makes use of process/command/steps
dariok f75499e
extend generic wdbmeta files to match multistep-processing requirements
dariok 88e5809
remove unused util:log() with undeclared var
dariok bcb658d
use correct model keys for Accept header
dariok 78a444e
[REST2] projects Fix evaluation of paths for file uploads
dariok 9ec4fe3
[REST2] resources fix tests
dariok 3ccfcad
adjust creation of filename and path to changed endpoint
dariok 1be8530
additional tests
dariok 7324afd
fix wrong comparison
dariok f3bb637
more general headers for OPTIONS requests
dariok 6613294
remove inline-JS
dariok 2223588
change REST2 base to simply `.../edoc`
dariok b23b008
resource views: traverse up to data withou imports
dariok dfffb12
[REST2] resources views: show views only once
dariok 8db248d
apiv2.html has been renamed to v2.html
dariok 0bbece7
use 'numberingTitle' when adding a view element
dariok c3501d6
remove always-on error logging
dariok File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -19,3 +19,4 @@ edoc/rest2/v2.json | |
| # node-reladted stuff | ||
| node_modules/ | ||
|
|
||
| .codex | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,6 +1,3 @@ | ||
| [submodule "edoc/include/xstring"] | ||
| path = edoc/include/xstring | ||
| url = https://github.com/dariok/XStringUtils | ||
| [submodule "edoc/include/wdbmeta"] | ||
| path = edoc/include/wdbmeta | ||
| url = https://github.com/dariok/wdbmeta |
File renamed without changes.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Submodule xstring
deleted from
161fa5
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This route guard still whitelists
apiv2.html, but the commit renamed the documentation page tov2.html. Requests for/rest2/v2.htmlnow miss this static forward and fall through to the generic HTML branch, which routes through the app view pipeline instead of serving the docs file directly, so the API documentation page becomes inaccessible.Useful? React with 👍 / 👎.