Tobias Schweizer
Tobias Schweizer
When serving a file representing an XSL transformation, Sipi response with a header like this: ``` HTTP/1.1 200 OK Keep-Alive: timeout=5, max=100 Content-Type: text/xml; us-ascii Connection: keep-alive Content-Length: 6383 ```...
Use absolute paths in Lua scripts to refer to directories and files -> test the routes using the test scripts
When a Lua scripts cannot be parsed correctly, Sipi should give a clear error message on startup.
The path to the test image `Leaves8.tif` served by `luaexe/test2` is not set correctly when `imgroot` is set to `./images` because it resides in `./test_server/images`. This only works if `imgroot`...
Add a Lua script that deletes a file (thumb an full quality). https://github.com/dhlab-basel/Knora/issues/67 Make sure that the request comes directly from Knora!
For Knora, we created routes and Lua scripts that allow to create temporary files for preview in the SALSAH GUI. If the final image is created, they are deleted. But...
When running the integration test in Knora, temporary files remain in the folders `tmp` and `thumbs`. I think they should be deleted when callling `convert_from_file.lua`.
I saw that you moved the config files and tests for Knora Lua scripts into the Knora integration tests. That's very good since Sipi should not contain Knora specific things!...
The TEI route may require a Gravsearch template that is stored in Sipi. Instead of using the mimetype `text/plain`, we could use a custom mimetype.
I had the following problem when compiling Sipi (`develop`): ```bash [ 54%] Linking CXX executable sipi Undefined symbols for architecture x86_64: "_idn2_check_version", referenced from: _fix_hostname in libcurl.a(libcurl_la-url.o) _curl_version in libcurl.a(libcurl_la-version.o)...