version 1.0.0 master 1.0.0
authorKilian Saffran <ksaffran@dks.lu>
Fri, 5 Apr 2019 08:48:57 +0000 (10:48 +0200)
committerKilian Saffran <ksaffran@dks.lu>
Fri, 5 Apr 2019 08:48:57 +0000 (10:48 +0200)
dist/access.log [deleted file]
dist/error.log [deleted file]
dist/gisservicehelper.exe
dist/htdocs/img/back.svg [new file with mode: 0644]
dist/htdocs/js/site.js
gisservicehelper.pl

diff --git a/dist/access.log b/dist/access.log
deleted file mode 100644 (file)
index 7e5d223..0000000
+++ /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 (file)
index 1d30001..0000000
+++ /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
index c41c4a6..c29bced 100644 (file)
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 (file)
index 0000000..5e02e2a
--- /dev/null
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="utf-8"?> 
+<svg version="1.2" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" 
+        x="0px" y="0px" width="50px" height="50px" viewBox="0 0 21.33 21.33"> 
+<path fill="#fff" d="M10.218611,5.0869999L10.218611,9.042757 16.797001,9.0440369 16.797001,12.084393 10.218611,12.084393 10.218611,16.448999 4.5360003,10.76799z M2.4817152,2.4817152L2.4817152,18.851336 18.851336,18.851336 18.851336,2.4817152z M0,0L21.333,0 21.333,21.333 0,21.333z"/> 
+</svg>
\ No newline at end of file
index 0e7ae79..d7bff16 100644 (file)
@@ -1,6 +1,5 @@
 function getSearchParams(k){
   var p={};
 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;
 }
   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(){
 });
 
 function getfolder(){
-  console.log("load folder");
-  console.log(params);
   $("#sitetile").html("Founrisseurs");
   $("#tbl_data > tbody").html("");
   $("#tbl_data > thead").html("");
   if ((params) && (params.path)){
   $("#sitetile").html("Founrisseurs");
   $("#tbl_data > tbody").html("");
   $("#tbl_data > thead").html("");
   if ((params) && (params.path)){
-    $("#tbl_data > thead").html("<tr><th id=\"updir\" style=\"padding: 0px; margin: 0px;\"></th><th>Dossier/Fichier</th></tr>");
+    $("#tbl_data > thead").html("<tr><th><span id=\"updir\"></span>&nbsp;Dossier/Fichier</th></tr>");
     $.ajax({
       encoding:"UTF-8",
       url:"gis/path?dir=" +params.path,
       method: "GET",
       success: function (data){
     $.ajax({
       encoding:"UTF-8",
       url:"gis/path?dir=" +params.path,
       method: "GET",
       success: function (data){
-        console.log(data);
-        $("#updir").html('<a class="btn btn-primary" href="?path='+data.pathup+'">&#11025; retour</a>');
-        if ((data) && (data.directory)){
+        
+        if ((!data.directory) && (!data.file) || (data.directory.length == 0) && (data.file.length == 0)){
+          $("#tbl_data > tbody").append('<tr><td><div class="alert alert-warning">pas de dossiers et/ou fichiers trouvés!</div></td></tr>');
+        }
+       
+        if (data.pathup != '.'){
+          $("#updir").html('<a class="btn btn-primary" href="?path='+data.pathup+'"><img style="height: 20px;" src="img/back.svg" alt=""></a>');
+        }
+        if ((data) && (data.directory) && (data.directory.length)){
           for (var i in data.directory){
           for (var i in data.directory){
-            // var drow = data.result[i];
             var row = "<tr>";
             var row = "<tr>";
-           
-            row += '<td></td>';
             row += '<td><a href="?path='+ decodeURIComponent(params.path) + '/' + data.directory[i]+'">'+ data.directory[i]+'</a></td>';
             row += '<td><a href="?path='+ decodeURIComponent(params.path) + '/' + data.directory[i]+'">'+ data.directory[i]+'</a></td>';
-         
-            //row += '<td><a href="?fournisseur='+ params.fournisseur+'&annee_demande='+drow.annee_demande+'&numero_demande='+ drow.numero_demande+'&adresse='+encodeURIComponent(drow.adresse)+'">'+ drow.adresse+'</a></td>';
             row += "</tr>";
             $("#tbl_data > tbody").append(row);
           }
             row += "</tr>";
             $("#tbl_data > tbody").append(row);
           }
-        }
+        } 
         if ((data) && (data.file)){
           for (var i in data.file){
             var drow = data.file[i];
             var row = "<tr>";
         if ((data) && (data.file)){
           for (var i in data.file){
             var drow = data.file[i];
             var row = "<tr>";
-           
-            row += '<td></td>';
             row += '<td><a href="gis/file?file='+ encodeURIComponent( decodeURIComponent(params.path) + '/' + drow.name)+'">'+ drow.name+'</a></td>';
             row += '<td><a href="gis/file?file='+ encodeURIComponent( decodeURIComponent(params.path) + '/' + drow.name)+'">'+ drow.name+'</a></td>';
-        
-            //row += '<td><a href="?fournisseur='+ params.fournisseur+'&annee_demande='+drow.annee_demande+'&numero_demande='+ drow.numero_demande+'&adresse='+encodeURIComponent(drow.adresse)+'">'+ drow.adresse+'</a></td>';
             row += "</tr>";
             $("#tbl_data > tbody").append(row);
           }
             row += "</tr>";
             $("#tbl_data > tbody").append(row);
           }
-        }  
+        }
       },
         error: function(data){
       },
         error: function(data){
-          alert("Erreur:" + JSON.stringify(data));
-          console.log("Error:" + JSON.stringify(data));
+          $("#tbl_data > tbody").append('<tr><td></td><div class="alert alert-danger">Erreur de connection!</div></td></tr>');
         },
       async:true
     });
         },
       async:true
     });
@@ -67,27 +60,23 @@ function getfolder(){
       url:"gis/path?dir=" +encodeURIComponent(params.anne_demande + '/' + params.numero_demande),
       method: "GET",
       success: function (data){
       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('<tr><td><div class="alert alert-warning">pas dedonnées trouvés!</div></td></tr>');
+        }
         if ((data) && (data.result)){
           for (var i in data.result){
             var drow = data.result[i];
             var row = "<tr>";
         if ((data) && (data.result)){
           for (var i in data.result){
             var drow = data.result[i];
             var row = "<tr>";
-           
             row += '<td><a href="?fournisseur='+ params.fournisseur+'&annee_demande='+drow.annee_demande+'">'+ drow.annee_demande+'</a></td>';
             row += '<td><a href="?fournisseur='+ params.fournisseur+'&annee_demande='+drow.annee_demande+'&numero_demande='+ drow.numero_demande+'">'+ drow.numero_demande+'</a></td>';
             row += '<td><a href="?path='+encodeURIComponent(drow.annee_demande + '/' + drow.numero_demande)+'">'+ drow.adresse+'</a></td>';
             row += '<td><a href="?fournisseur='+ params.fournisseur+'&annee_demande='+drow.annee_demande+'">'+ drow.annee_demande+'</a></td>';
             row += '<td><a href="?fournisseur='+ params.fournisseur+'&annee_demande='+drow.annee_demande+'&numero_demande='+ drow.numero_demande+'">'+ drow.numero_demande+'</a></td>';
             row += '<td><a href="?path='+encodeURIComponent(drow.annee_demande + '/' + drow.numero_demande)+'">'+ drow.adresse+'</a></td>';
-            //row += '<td><a href="?fournisseur='+ params.fournisseur+'&annee_demande='+drow.annee_demande+'&numero_demande='+ drow.numero_demande+'&adresse='+encodeURIComponent(drow.adresse)+'">'+ drow.adresse+'</a></td>';
             row += "</tr>";
             $("#tbl_data > tbody").append(row);
           }
             row += "</tr>";
             $("#tbl_data > tbody").append(row);
           }
-        }  
+        }
       },
         error: function(data){
       },
         error: function(data){
-          alert("Erreur:" + JSON.stringify(data));
-          console.log("Error:" + JSON.stringify(data));
+          $("#tbl_data > tbody").append('<tr><td><div class="alert alert-danger">Erreur de connection!</div></td></tr>');
         },
       async:true
     });
         },
       async:true
     });
@@ -100,9 +89,8 @@ function getfolder(){
       url:"gis/data" +location.search,
       method: "GET",
       success: function (data){
       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('<tr><td colspan="3"><div class="alert alert-warning">pas dedonnées trouvés!</div></td></tr>');
         }
         if ((data) && (data.result)){
           for (var i in data.result){
         }
         if ((data) && (data.result)){
           for (var i in data.result){
@@ -112,40 +100,40 @@ function getfolder(){
             row += '<td><a href="?fournisseur='+ params.fournisseur+'&annee_demande='+drow.annee_demande+'">'+ drow.annee_demande+'</a></td>';
             row += '<td><a href="?fournisseur='+ params.fournisseur+'&annee_demande='+drow.annee_demande+'&numero_demande='+ drow.numero_demande+'">'+ drow.numero_demande+'</a></td>';
             row += '<td><a href="?path='+encodeURIComponent(drow.annee_demande + '/' + drow.numero_demande)+'">'+ drow.adresse+'</a></td>';
             row += '<td><a href="?fournisseur='+ params.fournisseur+'&annee_demande='+drow.annee_demande+'">'+ drow.annee_demande+'</a></td>';
             row += '<td><a href="?fournisseur='+ params.fournisseur+'&annee_demande='+drow.annee_demande+'&numero_demande='+ drow.numero_demande+'">'+ drow.numero_demande+'</a></td>';
             row += '<td><a href="?path='+encodeURIComponent(drow.annee_demande + '/' + drow.numero_demande)+'">'+ drow.adresse+'</a></td>';
-            //row += '<td><a href="?fournisseur='+ params.fournisseur+'&annee_demande='+drow.annee_demande+'&numero_demande='+ drow.numero_demande+'&adresse='+encodeURIComponent(drow.adresse)+'">'+ drow.adresse+'</a></td>';
             row += "</tr>";
             $("#tbl_data > tbody").append(row);
           }
             row += "</tr>";
             $("#tbl_data > tbody").append(row);
           }
-        }  
+        } 
       },
         error: function(data){
       },
         error: function(data){
-          alert("Erreur:" + JSON.stringify(data));
-          console.log("Error:" + JSON.stringify(data));
+          $("#tbl_data > tbody").append('<tr><td colspan="3"><div class="alert alert-danger">Erreur de connection!</div></td></tr>');
         },
       async:true
     });
   }
   else {
     $("#tbl_data > thead").html("<tr><th>Fournisseur</th></tr>");
         },
       async:true
     });
   }
   else {
     $("#tbl_data > thead").html("<tr><th>Fournisseur</th></tr>");
-    console.log("Get fournisseurs");
     $.ajax({
       encoding:"UTF-8",
       url:"gis/fournisseurs",
       method: "GET",
       success: function (data){
     $.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('<tr><td><div class="alert alert-warning">pas de founrisseur trouvées!</div></td></tr>');
+        }
+        if ((data) && (Object.keys(data).length > 0)){
           for (var i in data){
             var row = "<tr>";
             row += '<td><a href="?fournisseur='+ data[i].ident+'">'+ data[i].name+'</a></td>';
             row += "</tr>";
             $("#tbl_data > tbody").append(row);
           }
           for (var i in data){
             var row = "<tr>";
             row += '<td><a href="?fournisseur='+ data[i].ident+'">'+ data[i].name+'</a></td>';
             row += "</tr>";
             $("#tbl_data > tbody").append(row);
           }
-        }  
+        }else {
+          $("#tbl_data > tbody").append('<tr><td><div class="alert alert-warning">pas de données trouvées!</div></td></tr>');
+        }
       },
         error: function(data){
       },
         error: function(data){
-          alert("Erreur:" + JSON.stringify(data));
-          console.log("Error:" + JSON.stringify(data));
+          $("#tbl_data > tbody").append('<tr><td><div class="alert alert-danger">Erreur de connection!</div></td></tr>');
         },
       async:true
     });
         },
       async:true
     });
index 8e48af4..0362ef4 100644 (file)
@@ -5,7 +5,6 @@ use Getopt::Long;
 use Time::HiRes;
 use Data::Dumper;
 use JSON::PP;
 use Time::HiRes;
 use Data::Dumper;
 use JSON::PP;
-#use Win32::Daemon;
 use lib (dirname($0));
 use Plack::Builder; 
 use Plack::App::File;
 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;
 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;
 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);
 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";
 }
 # 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 ""){
 #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);
 }
   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 = "";
 my $cfg = ();
 if ($cfgfile ne ""){
   my $strcfgdata = "";
@@ -98,56 +48,7 @@ if ($cfgfile ne ""){
   close(CFG);
   $cfg = JSON::PP::decode_json($strcfgdata);
 }
   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\":\"<servicename>\"}}...} 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");
 #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});
     }
   }
       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);
 
   my $runner = Plack::Runner->new(server => 'Starlight', env => 'deployment');
   $runner->parse_options(@args);