Commit 9972f31d authored by Moritz Schepp's avatar Moritz Schepp
Browse files

Merge branch 'staging' of https://gitlab.gwdg.de/ARCHITRAVE/SADE into staging

parents 4df8bf19 2b71609e
......@@ -15,7 +15,6 @@ xquery version "3.1";
module namespace semapi="http://architrave.eu/ns/semapi";
import module namespace semapi_helper="http://architrave.eu/ns/semapi_helper" at "sendmail_helper.xqm" ;
import module namespace config="https://sade.textgrid.de/ns/config" at "/db/apps/sade-architrave/modules/config.xqm";
import module namespace rest="http://exquery.org/ns/restxq";
import module namespace console="http://exist-db.org/xquery/console";
......@@ -86,7 +85,7 @@ declare
else if (string-length($message) = 0) then
map { "error_message": $error_message}
else
let $mailsend := semapi_helper:launch_mail($mail)
let $mailsend := "none"
return
map { "success": "Nachricht gesendet.",
"name": $name,
......
......@@ -135,10 +135,10 @@ let $indexing := elastic:setup()
let $map-tiles-msg := util:log-system-out("importing paris map tiles ...")
let $map-tiles := local:inject-map-tiles('/var/www/map-tiles.git/raster')
(:~ version a ~:)
let $restxq_register_msg := util:log-system-out("register sendmail api")
(:~ let $restxq_register_msg := util:log-system-out("register sendmail api")
let $restxq_register := exrest:register-module(xs:anyURI($target||"modules/architrave/sendmail.xqm"))
let $log := util:log-system-out($restxq_register)
let $restxq_register_msg := util:log-system-out("register sendmail api FINISHED")
let $restxq_register_msg := util:log-system-out("register sendmail api FINISHED") ~:)
(:~ version b ~:)
(:~ let $restxq_register_msg := util:log-system-out("restore sendmail api to enable restxq")
let $restxq_register := xmldb:move( $target||"modules/architrave", $target||"modules/", "sendmail.xqm")
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment