From: Kilian Saffran Date: Fri, 5 Apr 2019 08:48:57 +0000 (+0200) Subject: version 1.0.0 X-Git-Tag: 1.0.0^0 X-Git-Url: http://cloud.dks.lu/git/?a=commitdiff_plain;ds=sidebyside;p=solinf-gisservicehelper.git version 1.0.0 --- diff --git a/dist/access.log b/dist/access.log deleted file mode 100644 index 7e5d223..0000000 --- a/dist/access.log +++ /dev/null @@ -1,60 +0,0 @@ -127.0.0.1 - - [13/Mar/2019:13:10:30 +0100] "GET /gis/fournisseurs HTTP/1.1" 200 136 "http://localhost:6060/index.html" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.140 Safari/537.36 Edge/18.17763" -127.0.0.1 - - [13/Mar/2019:13:10:32 +0100] "GET /gis/data?fournisseur=1 HTTP/1.1" 200 116991 "http://localhost:6060/index.html?fournisseur=1" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.140 Safari/537.36 Edge/18.17763" -127.0.0.1 - - [13/Mar/2019:13:10:34 +0100] "GET /index.html?path=2003%2F000001 HTTP/1.1" 200 1447 "http://localhost:6060/index.html?fournisseur=1" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.140 Safari/537.36 Edge/18.17763" -127.0.0.1 - - [13/Mar/2019:13:10:34 +0100] "GET /gis/path?dir=2003%2F000001 HTTP/1.1" 200 133 "http://localhost:6060/index.html?path=2003%2F000001" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.140 Safari/537.36 Edge/18.17763" -127.0.0.1 - - [13/Mar/2019:13:10:36 +0100] "GET /index.html?path=2003/000001/COURRIERS HTTP/1.1" 200 1447 "http://localhost:6060/index.html?path=2003%2F000001" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.140 Safari/537.36 Edge/18.17763" -127.0.0.1 - - [13/Mar/2019:13:10:36 +0100] "GET /gis/path?dir=2003/000001/COURRIERS HTTP/1.1" 200 252 "http://localhost:6060/index.html?path=2003/000001/COURRIERS" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.140 Safari/537.36 Edge/18.17763" -127.0.0.1 - - [13/Mar/2019:13:10:41 +0100] "GET /index.html?path=2003/000001 HTTP/1.1" 200 1447 "http://localhost:6060/index.html?path=2003/000001/COURRIERS" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.140 Safari/537.36 Edge/18.17763" -127.0.0.1 - - [13/Mar/2019:13:10:42 +0100] "GET /gis/path?dir=2003/000001 HTTP/1.1" 200 133 "http://localhost:6060/index.html?path=2003/000001" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.140 Safari/537.36 Edge/18.17763" -127.0.0.1 - - [13/Mar/2019:13:10:42 +0100] "GET /index.html?path=2003 HTTP/1.1" 200 1447 "http://localhost:6060/index.html?path=2003/000001" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.140 Safari/537.36 Edge/18.17763" -127.0.0.1 - - [13/Mar/2019:13:10:42 +0100] "GET /gis/path?dir=2003 HTTP/1.1" 200 214 "http://localhost:6060/index.html?path=2003" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.140 Safari/537.36 Edge/18.17763" -127.0.0.1 - - [13/Mar/2019:13:10:45 +0100] "GET /index.html?path=2003/000009 HTTP/1.1" 200 1447 "http://localhost:6060/index.html?path=2003" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.140 Safari/537.36 Edge/18.17763" -127.0.0.1 - - [13/Mar/2019:13:10:46 +0100] "GET /gis/path?dir=2003/000009 HTTP/1.1" 200 146 "http://localhost:6060/index.html?path=2003/000009" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.140 Safari/537.36 Edge/18.17763" -127.0.0.1 - - [13/Mar/2019:13:10:47 +0100] "GET /index.html?path=2003/000009/COURRIERS HTTP/1.1" 200 1447 "http://localhost:6060/index.html?path=2003/000009" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.140 Safari/537.36 Edge/18.17763" -127.0.0.1 - - [13/Mar/2019:13:10:47 +0100] "GET /gis/path?dir=2003/000009/COURRIERS HTTP/1.1" 200 276 "http://localhost:6060/index.html?path=2003/000009/COURRIERS" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.140 Safari/537.36 Edge/18.17763" -127.0.0.1 - - [13/Mar/2019:13:10:54 +0100] "GET /gis/path?dir=2003/000009 HTTP/1.1" 200 146 "http://localhost:6060/index.html?path=2003/000009" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.140 Safari/537.36 Edge/18.17763" -127.0.0.1 - - [13/Mar/2019:13:10:55 +0100] "GET /gis/path?dir=2003 HTTP/1.1" 200 214 "http://localhost:6060/index.html?path=2003" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.140 Safari/537.36 Edge/18.17763" -127.0.0.1 - - [13/Mar/2019:13:10:58 +0100] "GET /index.html?path=. HTTP/1.1" 200 1447 "http://localhost:6060/index.html?path=2003" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.140 Safari/537.36 Edge/18.17763" -127.0.0.1 - - [13/Mar/2019:13:10:58 +0100] "GET /gis/path?dir=. HTTP/1.1" 200 168 "http://localhost:6060/index.html?path=." "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.140 Safari/537.36 Edge/18.17763" -127.0.0.1 - - [13/Mar/2019:13:11:00 +0100] "GET /index.html?path=./1997 HTTP/1.1" 200 1447 "http://localhost:6060/index.html?path=." "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.140 Safari/537.36 Edge/18.17763" -127.0.0.1 - - [13/Mar/2019:13:11:00 +0100] "GET /gis/path?dir=./1997 HTTP/1.1" 200 63 "http://localhost:6060/index.html?path=./1997" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.140 Safari/537.36 Edge/18.17763" -127.0.0.1 - - [13/Mar/2019:13:11:01 +0100] "GET /index.html?path=./1997/000030 HTTP/1.1" 200 1447 "http://localhost:6060/index.html?path=./1997" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.140 Safari/537.36 Edge/18.17763" -127.0.0.1 - - [13/Mar/2019:13:11:01 +0100] "GET /gis/path?dir=./1997/000030 HTTP/1.1" 200 155 "http://localhost:6060/index.html?path=./1997/000030" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.140 Safari/537.36 Edge/18.17763" -127.0.0.1 - - [13/Mar/2019:13:11:04 +0100] "GET /index.html?path=./1997/000030/AVIS_BUREAU_ETUDES HTTP/1.1" 200 1447 "http://localhost:6060/index.html?path=./1997/000030" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.140 Safari/537.36 Edge/18.17763" -127.0.0.1 - - [13/Mar/2019:13:11:04 +0100] "GET /gis/path?dir=./1997/000030/AVIS_BUREAU_ETUDES HTTP/1.1" 200 280 "http://localhost:6060/index.html?path=./1997/000030/AVIS_BUREAU_ETUDES" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.140 Safari/537.36 Edge/18.17763" -127.0.0.1 - - [13/Mar/2019:13:11:06 +0100] "GET /gis/fournisseurs HTTP/1.1" 200 136 "http://localhost:6060/index.html" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.140 Safari/537.36 Edge/18.17763" -127.0.0.1 - - [13/Mar/2019:13:11:07 +0100] "GET /gis/data?fournisseur=1 HTTP/1.1" 200 116991 "http://localhost:6060/index.html?fournisseur=1" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.140 Safari/537.36 Edge/18.17763" -127.0.0.1 - - [13/Mar/2019:13:11:11 +0100] "GET /index.html?path=2004%2F000051 HTTP/1.1" 200 1447 "http://localhost:6060/index.html?fournisseur=1" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.140 Safari/537.36 Edge/18.17763" -127.0.0.1 - - [13/Mar/2019:13:11:11 +0100] "GET /gis/path?dir=2004%2F000051 HTTP/1.1" 200 126 "http://localhost:6060/index.html?path=2004%2F000051" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.140 Safari/537.36 Edge/18.17763" -127.0.0.1 - - [13/Mar/2019:13:11:13 +0100] "GET /index.html?path=2004/000051/ORIGINAUX HTTP/1.1" 200 1447 "http://localhost:6060/index.html?path=2004%2F000051" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.140 Safari/537.36 Edge/18.17763" -127.0.0.1 - - [13/Mar/2019:13:11:13 +0100] "GET /gis/path?dir=2004/000051/ORIGINAUX HTTP/1.1" 200 371 "http://localhost:6060/index.html?path=2004/000051/ORIGINAUX" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.140 Safari/537.36 Edge/18.17763" -127.0.0.1 - - [13/Mar/2019:13:11:16 +0100] "GET /index.html?path=2004/000051 HTTP/1.1" 200 1447 "http://localhost:6060/index.html?path=2004/000051/ORIGINAUX" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.140 Safari/537.36 Edge/18.17763" -127.0.0.1 - - [13/Mar/2019:13:11:16 +0100] "GET /gis/path?dir=2004/000051 HTTP/1.1" 200 126 "http://localhost:6060/index.html?path=2004/000051" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.140 Safari/537.36 Edge/18.17763" -127.0.0.1 - - [13/Mar/2019:13:11:17 +0100] "GET /index.html?path=2004 HTTP/1.1" 200 1447 "http://localhost:6060/index.html?path=2004/000051" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.140 Safari/537.36 Edge/18.17763" -127.0.0.1 - - [13/Mar/2019:13:11:17 +0100] "GET /gis/path?dir=2004 HTTP/1.1" 200 520 "http://localhost:6060/index.html?path=2004" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.140 Safari/537.36 Edge/18.17763" -127.0.0.1 - - [13/Mar/2019:13:11:18 +0100] "GET /gis/path?dir=. HTTP/1.1" 200 168 "http://localhost:6060/index.html?path=." "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.140 Safari/537.36 Edge/18.17763" -127.0.0.1 - - [13/Mar/2019:13:11:30 +0100] "GET /index.html?path=./2010 HTTP/1.1" 200 1447 "http://localhost:6060/index.html?path=." "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.140 Safari/537.36 Edge/18.17763" -127.0.0.1 - - [13/Mar/2019:13:11:30 +0100] "GET /gis/path?dir=./2010 HTTP/1.1" 200 594 "http://localhost:6060/index.html?path=./2010" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.140 Safari/537.36 Edge/18.17763" -127.0.0.1 - - [13/Mar/2019:13:11:32 +0100] "GET /index.html?path=./2010/000003 HTTP/1.1" 200 1447 "http://localhost:6060/index.html?path=./2010" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.140 Safari/537.36 Edge/18.17763" -127.0.0.1 - - [13/Mar/2019:13:11:32 +0100] "GET /gis/path?dir=./2010/000003 HTTP/1.1" 200 153 "http://localhost:6060/index.html?path=./2010/000003" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.140 Safari/537.36 Edge/18.17763" -127.0.0.1 - - [13/Mar/2019:13:11:33 +0100] "GET /index.html?path=./2010/000003/COURRIERS HTTP/1.1" 200 1447 "http://localhost:6060/index.html?path=./2010/000003" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.140 Safari/537.36 Edge/18.17763" -127.0.0.1 - - [13/Mar/2019:13:11:33 +0100] "GET /gis/path?dir=./2010/000003/COURRIERS HTTP/1.1" 200 240 "http://localhost:6060/index.html?path=./2010/000003/COURRIERS" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.140 Safari/537.36 Edge/18.17763" -127.0.0.1 - - [13/Mar/2019:13:13:45 +0100] "GET /gis/path?dir=./2010/000003/COURRIERS HTTP/1.1" 200 240 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.140 Safari/537.36 Edge/18.17763" -127.0.0.1 - - [13/Mar/2019:13:34:47 +0100] "GET /gis/path?dir=./2010/000003/COURRIERS HTTP/1.1" 200 240 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.140 Safari/537.36 Edge/18.17763" -127.0.0.1 - - [13/Mar/2019:13:34:59 +0100] "GET /gis/path?dir=./2010/000003/COURRIERS HTTP/1.1" 200 240 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.140 Safari/537.36 Edge/18.17763" -127.0.0.1 - - [13/Mar/2019:14:11:25 +0100] "GET /favicon.ico HTTP/1.1" 404 9 "http://localhost:6060/index.html" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/72.0.3626.121 Safari/537.36" -127.0.0.1 - - [13/Mar/2019:14:11:25 +0100] "GET /gis/fournisseurs HTTP/1.1" 200 136 "http://localhost:6060/index.html" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/72.0.3626.121 Safari/537.36" -127.0.0.1 - - [13/Mar/2019:14:11:30 +0100] "GET /gis/data?fournisseur=1 HTTP/1.1" 200 116637 "http://localhost:6060/index.html?fournisseur=1" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/72.0.3626.121 Safari/537.36" -127.0.0.1 - - [13/Mar/2019:14:11:41 +0100] "GET /index.html?path=1983%2F000009 HTTP/1.1" 200 1447 "http://localhost:6060/index.html?fournisseur=1" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/72.0.3626.121 Safari/537.36" -127.0.0.1 - - [13/Mar/2019:14:11:41 +0100] "GET /gis/path?dir=1983%2F000009 HTTP/1.1" 200 107 "http://localhost:6060/index.html?path=1983%2F000009" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/72.0.3626.121 Safari/537.36" -127.0.0.1 - - [13/Mar/2019:14:11:46 +0100] "GET /gis/data?fournisseur=1 HTTP/1.1" 200 116637 "http://localhost:6060/index.html?fournisseur=1" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/72.0.3626.121 Safari/537.36" -127.0.0.1 - - [13/Mar/2019:14:11:59 +0100] "GET /index.html?fournisseur=1&annee_demande=1983&numero_demande=000009 HTTP/1.1" 200 1447 "http://localhost:6060/index.html?fournisseur=1" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/72.0.3626.121 Safari/537.36" -127.0.0.1 - - [13/Mar/2019:14:11:59 +0100] "GET /gis/data?fournisseur=1&annee_demande=1983&numero_demande=000009 HTTP/1.1" 200 179 "http://localhost:6060/index.html?fournisseur=1&annee_demande=1983&numero_demande=000009" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/72.0.3626.121 Safari/537.36" -127.0.0.1 - - [13/Mar/2019:14:12:01 +0100] "GET /gis/data?fournisseur=1 HTTP/1.1" 200 116637 "http://localhost:6060/index.html?fournisseur=1" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/72.0.3626.121 Safari/537.36" -127.0.0.1 - - [13/Mar/2019:14:12:44 +0100] "GET /index.html?fournisseur=1&adresse=L-8036%20STRASSEN%2C%2023%20%2C%20CITE%20ORICHER-HOEHL HTTP/1.1" 200 1447 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/72.0.3626.121 Safari/537.36" -127.0.0.1 - - [13/Mar/2019:14:12:44 +0100] "GET /gis/data?fournisseur=1&adresse=L-8036%20STRASSEN%2C%2023%20%2C%20CITE%20ORICHER-HOEHL HTTP/1.1" 200 399 "http://localhost:6060/index.html?fournisseur=1&adresse=L-8036%20STRASSEN%2C%2023%20%2C%20CITE%20ORICHER-HOEHL" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/72.0.3626.121 Safari/537.36" -127.0.0.1 - - [13/Mar/2019:14:13:05 +0100] "GET /index.html?path=2008%2F000007 HTTP/1.1" 200 1447 "http://localhost:6060/index.html?fournisseur=1&adresse=L-8036%20STRASSEN%2C%2023%20%2C%20CITE%20ORICHER-HOEHL" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/72.0.3626.121 Safari/537.36" -127.0.0.1 - - [13/Mar/2019:14:13:05 +0100] "GET /gis/path?dir=2008%2F000007 HTTP/1.1" 200 115 "http://localhost:6060/index.html?path=2008%2F000007" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/72.0.3626.121 Safari/537.36" -127.0.0.1 - - [13/Mar/2019:14:13:08 +0100] "GET /gis/data?fournisseur=1&adresse=L-8036%20STRASSEN%2C%2023%20%2C%20CITE%20ORICHER-HOEHL HTTP/1.1" 200 399 "http://localhost:6060/index.html?fournisseur=1&adresse=L-8036%20STRASSEN%2C%2023%20%2C%20CITE%20ORICHER-HOEHL" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/72.0.3626.121 Safari/537.36" -127.0.0.1 - - [13/Mar/2019:14:15:12 +0100] "GET /?fournisseur=1&adresse=L-8036%20STRASSEN%2C%2023%20%2C%20CITE%20ORICHER-HOEHL HTTP/1.1" 404 9 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/72.0.3626.121 Safari/537.36" -127.0.0.1 - - [13/Mar/2019:14:15:19 +0100] "GET /gis/data?fournisseur=1&adresse=L-8036%20STRASSEN%2C%2023%20%2C%20CITE%20ORICHER-HOEHL HTTP/1.1" 200 399 "http://localhost:6060/index.html?fournisseur=1&adresse=L-8036%20STRASSEN%2C%2023%20%2C%20CITE%20ORICHER-HOEHL" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/72.0.3626.121 Safari/537.36" diff --git a/dist/error.log b/dist/error.log deleted file mode 100644 index 1d30001..0000000 --- a/dist/error.log +++ /dev/null @@ -1,12 +0,0 @@ -Starting Starlight/0.0306 (MSWin32) http server listening at port 6060 -Starting Starlight/0.0306 (MSWin32) http server listening at port 6060 -Starting Starlight/0.0306 (MSWin32) http server listening at port 6060 -Starting Starlight/0.0306 (MSWin32) http server listening at port 6060 -Terminating on signal SIGHUP(1) -Starting Starlight/0.0306 (MSWin32) http server listening at port 6060 -Terminating on signal SIGHUP(1) -Starting Starlight/0.0306 (MSWin32) http server listening at port 6060 -Terminating on signal SIGHUP(1) -Starting Starlight/0.0306 (MSWin32) http server listening at port 6060 -Terminating on signal SIGHUP(1) -Starting Starlight/0.0306 (MSWin32) http server listening at port 6060 diff --git a/dist/gisservicehelper.exe b/dist/gisservicehelper.exe index c41c4a6..c29bced 100644 Binary files a/dist/gisservicehelper.exe and b/dist/gisservicehelper.exe differ diff --git a/dist/htdocs/img/back.svg b/dist/htdocs/img/back.svg new file mode 100644 index 0000000..5e02e2a --- /dev/null +++ b/dist/htdocs/img/back.svg @@ -0,0 +1,5 @@ + + + + \ No newline at end of file diff --git a/dist/htdocs/js/site.js b/dist/htdocs/js/site.js index 0e7ae79..d7bff16 100644 --- a/dist/htdocs/js/site.js +++ b/dist/htdocs/js/site.js @@ -1,6 +1,5 @@ function getSearchParams(k){ var p={}; - // console.log("params =>" + location.search); location.search.replace(/[?&]+([^=&]+)=([^&]*)/gi,function(s,k,v){p[k]=v}); return k?p[k]:p; } @@ -12,50 +11,44 @@ $( document ).ready(function() { }); function getfolder(){ - console.log("load folder"); - console.log(params); $("#sitetile").html("Founrisseurs"); $("#tbl_data > tbody").html(""); $("#tbl_data > thead").html(""); if ((params) && (params.path)){ - $("#tbl_data > thead").html("Dossier/Fichier"); + $("#tbl_data > thead").html(" Dossier/Fichier"); $.ajax({ encoding:"UTF-8", url:"gis/path?dir=" +params.path, method: "GET", success: function (data){ - console.log(data); - $("#updir").html('⬑ retour'); - if ((data) && (data.directory)){ + + if ((!data.directory) && (!data.file) || (data.directory.length == 0) && (data.file.length == 0)){ + $("#tbl_data > tbody").append('
pas de dossiers et/ou fichiers trouvés!
'); + } + + if (data.pathup != '.'){ + $("#updir").html(''); + } + if ((data) && (data.directory) && (data.directory.length)){ for (var i in data.directory){ - // var drow = data.result[i]; var row = ""; - - row += ''; row += ''+ data.directory[i]+''; - - //row += ''+ drow.adresse+''; row += ""; $("#tbl_data > tbody").append(row); } - } + } if ((data) && (data.file)){ for (var i in data.file){ var drow = data.file[i]; var row = ""; - - row += ''; row += ''+ drow.name+''; - - //row += ''+ drow.adresse+''; row += ""; $("#tbl_data > tbody").append(row); } - } + } }, error: function(data){ - alert("Erreur:" + JSON.stringify(data)); - console.log("Error:" + JSON.stringify(data)); + $("#tbl_data > tbody").append('
Erreur de connection!
'); }, async:true }); @@ -67,27 +60,23 @@ function getfolder(){ url:"gis/path?dir=" +encodeURIComponent(params.anne_demande + '/' + params.numero_demande), method: "GET", success: function (data){ - console.log(data); - // if ((data) && (data.fournisseur)){ - // $("#sitetile").html(data.fournisseur); - // } + if ((data) && (Object.keys(data.result) == 0)){ + $("#tbl_data > tbody").append('
pas dedonnées trouvés!
'); + } if ((data) && (data.result)){ for (var i in data.result){ var drow = data.result[i]; var row = ""; - row += ''+ drow.annee_demande+''; row += ''+ drow.numero_demande+''; row += ''+ drow.adresse+''; - //row += ''+ drow.adresse+''; row += ""; $("#tbl_data > tbody").append(row); } - } + } }, error: function(data){ - alert("Erreur:" + JSON.stringify(data)); - console.log("Error:" + JSON.stringify(data)); + $("#tbl_data > tbody").append('
Erreur de connection!
'); }, async:true }); @@ -100,9 +89,8 @@ function getfolder(){ url:"gis/data" +location.search, method: "GET", success: function (data){ - console.log(data); - if ((data) && (data.fournisseur)){ - $("#sitetile").html(data.fournisseur); + if ((data) && (Object.keys(data.result) == 0)){ + $("#tbl_data > tbody").append('
pas dedonnées trouvés!
'); } if ((data) && (data.result)){ for (var i in data.result){ @@ -112,40 +100,40 @@ function getfolder(){ row += ''+ drow.annee_demande+''; row += ''+ drow.numero_demande+''; row += ''+ drow.adresse+''; - //row += ''+ drow.adresse+''; row += ""; $("#tbl_data > tbody").append(row); } - } + } }, error: function(data){ - alert("Erreur:" + JSON.stringify(data)); - console.log("Error:" + JSON.stringify(data)); + $("#tbl_data > tbody").append('
Erreur de connection!
'); }, async:true }); } else { $("#tbl_data > thead").html("Fournisseur"); - console.log("Get fournisseurs"); $.ajax({ encoding:"UTF-8", url:"gis/fournisseurs", method: "GET", success: function (data){ - - if (data){ + if ((data) && (Object.keys(data).length == 0)){ + $("#tbl_data > tbody").append('
pas de founrisseur trouvées!
'); + } + if ((data) && (Object.keys(data).length > 0)){ for (var i in data){ var row = ""; row += ''+ data[i].name+''; row += ""; $("#tbl_data > tbody").append(row); } - } + }else { + $("#tbl_data > tbody").append('
pas de données trouvées!
'); + } }, error: function(data){ - alert("Erreur:" + JSON.stringify(data)); - console.log("Error:" + JSON.stringify(data)); + $("#tbl_data > tbody").append('
Erreur de connection!
'); }, async:true }); diff --git a/gisservicehelper.pl b/gisservicehelper.pl index 8e48af4..0362ef4 100644 --- a/gisservicehelper.pl +++ b/gisservicehelper.pl @@ -5,7 +5,6 @@ use Getopt::Long; use Time::HiRes; use Data::Dumper; use JSON::PP; -#use Win32::Daemon; use lib (dirname($0)); use Plack::Builder; use Plack::App::File; @@ -14,14 +13,11 @@ use Plack::Request; use Plack::Runner; use Module::Service; use Module::GISFiles; -# my $START_TIME = time(); -# my $DEFAULT_CALLBACK_TIMER = 2000; + use FindBin qw($Bin); my $cfgfile = ""; my $stop = 0; -# my $install = 0; -# my $uninstall = 0; -# my $service = 0; + my @match = grep { /par-.*inc$/} @INC; my $basedir = dirname($0); @@ -30,7 +26,7 @@ if (scalar(@match) > 0){ } # print "BASEDIR:".$basedir."\n"; # print $Bin."\n"; -GetOptions("config|c=s" => \$cfgfile, "stop" => \$stop );#, "service" => \$service, "install" => \$install +GetOptions("config|c=s" => \$cfgfile, "stop" => \$stop ); #get Configuration file (JSON format) in same folder than exe if ($cfgfile eq ""){ @@ -41,53 +37,7 @@ if (! -e $cfgfile){ print "Config-File: $cfgfile not found!"; exit(1); } -# $| = 1; -# if ($service == 1){ -# print "Started as Service\n"; -# Win32::Daemon::RegisterCallbacks( \&CallbackRoutine ); -# my %Context = ( -# count => 0, -# start_time => time(), -# ); -# Win32::Daemon::StartService( \%Context, 2000 ); -# sub CallbackRoutine { -# my( $ControlCommand, $Context ) = @_; -# my $Return = undef; - -# if( SERVICE_CONTROL_INTERROGATE == $ControlCommand ){ -# $Return = Win32::Daemon::State(); -# } -# elsif( SERVICE_CONTROL_RUNNING == $ControlCommand ){ -# } -# elsif( SERVICE_CONTROL_TIMER == $ControlCommand ){ - -# } -# elsif( SERVICE_CONTROL_START == $ControlCommand ){ -# $Return = $Context->{last_state} = SERVICE_RUNNING; -# } -# elsif( SERVICE_CONTROL_PAUSE == $ControlCommand ){ -# $Return = $Context->{last_state} = SERVICE_PAUSED; -# Win32::Daemon::CallbackTimer( 0 ); -# } -# elsif( SERVICE_CONTROL_CONTINUE == $ControlCommand ){ -# $Return = $Context->{last_state} = SERVICE_RUNNING; -# Win32::Daemon::CallbackTimer( $DEFAULT_CALLBACK_TIMER ); -# } -# elsif( SERVICE_CONTROL_STOP == $ControlCommand ){ -# $Context->{last_state} = SERVICE_STOPPED; -# Win32::Daemon::State( [ state => SERVICE_STOPPED, error => 1234 ] ); -# Win32::Daemon::StopService(); -# #exit(0); -# } -# else{ -# $Return = $Context->{last_state}; -# } - -# return( $Return ); -# } -# } -# my $LOG_FILE = "$Bin\\testlog.log"; -#read config; + my $cfg = (); if ($cfgfile ne ""){ my $strcfgdata = ""; @@ -98,56 +48,7 @@ if ($cfgfile ne ""){ close(CFG); $cfg = JSON::PP::decode_json($strcfgdata); } -#install Windows Service -# if ($install == 1){ -# if (!exists($cfg->{winservice}->{name})){ -# print "we need at least the service name from the configuration-file {...{\"winservice\":{\"name\":\"\"}}...} to install the service\n"; -# exit(1); -# } -# if (!exists($cfg->{winservice}->{display})){ -# $cfg->{winservice}->{display} = $cfg->{winservice}->{name}; -# } -# if (!exists($cfg->{winservice}->{description})){ -# $cfg->{winservice}->{description} = $cfg->{winservice}->{display}; -# } -# #my $ServicePath = $^X; -# #my $ServiceParams = "".$Bin.'/'.basename($0); -# #if (basename($0) =~ /\.exe$/){ -# my $ServicePath = $Bin.'/'.basename($0); -# my $ServiceParams = "--service"; -# if (dirname($cfgfile) ne $Bin){ -# $ServiceParams .= ' -c "'.$cfgfile.'"'; -# } -# #} -# my %service_info = ( -# machine => '', -# name => $cfg->{winservice}->{name}, -# display => $cfg->{winservice}->{display}, -# path => $ServicePath, -# user => '', -# pwd => '', -# description => $cfg->{winservice}->{description}, -# parameters => $ServiceParams -# ); -# if( Win32::Daemon::CreateService( \%service_info ) ){ -# print "Successfully added.\n"; -# } -# else { -# print "Failed to add service: " . Win32::FormatMessage( Win32::Daemon::GetLastError() ) . "\n"; -# } -# exit(0); -# } -# #uninstall Windows Service -# if ($uninstall == 1){ -# if( Win32::Daemon::DeleteService( '','gishelpersrv' ) ){ -# print "Successfully deleted.\n"; -# } -# else { -# print "Failed to delete Service: " . Win32::FormatMessage( Win32::Daemon::GetLastError() ) . "\n"; -# } -# exit(0); -# } #stop the Server if ($stop == 1){ system("taskkill.exe /F /FI \"PID ne ".$$."\" /IM ".basename($0)." /T"); @@ -174,13 +75,6 @@ if ($stop == 1){ push(@args,$cfg->{webservice}->{$c}); } } - # my $pidfile = $Bin.'/'.substr(basename($0),0,rindex(basename($0),'.')).".pid"; - # if ($cfg->{webservice}->{"pid"}){ - # $pidfile = $cfg->{webservice}->{"pid"}; - # } - # open(PID,">".$pidfile); - # print PID $$; - # close(PID); my $runner = Plack::Runner->new(server => 'Starlight', env => 'deployment'); $runner->parse_options(@args);