Your ROOT_URL in app.ini is https://source.parasitstudio.de:63000/ but you are visiting https://source.parasitstudio.de/wirtz/scriptform/commit/125bd1cb82ce1d7d38de1356a93fd6da76f3767c?style=unified&whitespace=ignore-eol
You should set ROOT_URL correctly, otherwise the web may not work correctly.
7 changed files with
94 additions and
0 deletions
test/test_formconfig_basic.json
test/test_formconfig_callback.json
test/test_formconfig_callback.sh
test/test_formconfig_hidden.json
test/test_formconfig_missingscript.json
test/test_formconfig_noexec.json
test/test_scriptform_list.json
@ -0,0 +1,12 @@
{
"title" : "test" ,
"forms" : [
{
"name" : "test" ,
"title" : "title" ,
"description" : "description" ,
"script" : "test.sh" ,
"fields" : [ ]
}
]
}
@ -0,0 +1,20 @@
{
"title" : "test" ,
"forms" : [
{
"name" : "test_store" ,
"title" : "title" ,
"description" : "description" ,
"script" : "test_formconfig_callback.sh" ,
"fields" : [ ]
} ,
{
"name" : "test_raw" ,
"title" : "title" ,
"description" : "description" ,
"script" : "test_formconfig_callback.sh" ,
"output" : "raw" ,
"fields" : [ ]
}
]
}
@ -0,0 +1,6 @@
#!/bin/sh
echo "stdout"
echo "stderr" >& 2
exit 33
@ -0,0 +1,13 @@
{
"title" : "test" ,
"forms" : [
{
"name" : "test" ,
"title" : "title" ,
"description" : "description" ,
"script" : "test.sh" ,
"hidden" : true ,
"fields" : [ ]
}
]
}
@ -0,0 +1,12 @@
{
"title" : "test" ,
"forms" : [
{
"name" : "test" ,
"title" : "title" ,
"description" : "description" ,
"script" : "nonexisting.sh" ,
"fields" : [ ]
}
]
}
@ -0,0 +1,12 @@
{
"title" : "test" ,
"forms" : [
{
"name" : "test" ,
"title" : "title" ,
"description" : "description" ,
"script" : "test_noexec.sh" ,
"fields" : [ ]
}
]
}
@ -0,0 +1,19 @@
{
"title" : "test" ,
"forms" : [
{
"name" : "test_list_1" ,
"title" : "title_list_1" ,
"description" : "description" ,
"script" : "test.sh" ,
"fields" : [ ]
} ,
{
"name" : "test_list_2" ,
"title" : "test_list_2" ,
"description" : "description" ,
"script" : "test.sh" ,
"fields" : [ ]
}
]
}