From 06cd368cd111a4ef61786bc70f1e95eaa3540b5d Mon Sep 17 00:00:00 2001 From: Roland Stigge Date: Sat, 20 Jan 2018 13:41:20 +0100 Subject: Progress indicator --- TODO | 4 +- apache/fix-headers.patch | 10 +++++ debian/README.Debian | 4 ++ debian/changelog | 8 ++++ html/index.html | 4 ++ html/webbox.css | 41 ++++++++++++++++++++ html/webbox.js | 99 ++++++++++++++++++++++++++++++++++++++++-------- 7 files changed, 151 insertions(+), 19 deletions(-) create mode 100644 apache/fix-headers.patch diff --git a/TODO b/TODO index 7b392e9..1cb0396 100644 --- a/TODO +++ b/TODO @@ -1,9 +1,8 @@ Prio 1 (for next version) ====== +multi-upload gallery -logout -login page Prio 2 (for future versions) ====== @@ -12,7 +11,6 @@ links in path line, to dirs google pagespeed insights https://developers.google.com/speed/pagespeed/insights/?url=http%3A%2F%2Fwww.kneipenband.com%2Fwebbox%2F&tab=mobile chromecast player -sandclock during operations i18n forward/back button list: more info if appropriate diff --git a/apache/fix-headers.patch b/apache/fix-headers.patch new file mode 100644 index 0000000..b864de2 --- /dev/null +++ b/apache/fix-headers.patch @@ -0,0 +1,10 @@ +--- apache2-2.4.29.orig/modules/metadata/mod_headers.c ++++ apache2-2.4.29/modules/metadata/mod_headers.c +@@ -904,6 +904,7 @@ static apr_status_t ap_headers_error_fil + * Server-wide first, then per-directory to allow overriding. + */ + do_headers_fixup(f->r, f->r->err_headers_out, dirconf->fixup_err, 0); ++ do_headers_fixup(f->r, f->r->headers_out, dirconf->fixup_out, 0); + + /* + * We've done our bit; remove ourself from the filter chain so there's diff --git a/debian/README.Debian b/debian/README.Debian index 312d00c..ee1c680 100644 --- a/debian/README.Debian +++ b/debian/README.Debian @@ -69,6 +69,8 @@ Webbox internally uses HTTP Auth for Authentication. E.g., Apache can be configured like this: + Header always edit WWW-Authenticate ^Basic SR_Basic + Header edit WWW-Authenticate ^Basic SR_Basic ... @@ -82,6 +84,8 @@ Add a login/password pair to the password file: # htpasswd -c /etc/apache2/sites-available/mysite.htpasswd username +Also, activate the Apache module mod_headers for the above Headers directive. + Only the FastCGI application needs to secured. The static pages in /var/www/webbox should be accessible to the user for login purposes. diff --git a/debian/changelog b/debian/changelog index b59b8d7..3fe42d2 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,11 @@ +webbox (1.2) unstable; urgency=medium + + * New version + * Includes progress indication + * Includes fixed login screen + + -- Roland Reichwein Fri, 19 Jan 2018 15:10:25 +0100 + webbox (1.1) unstable; urgency=medium * New version diff --git a/html/index.html b/html/index.html index 6885bd4..40390e0 100644 --- a/html/index.html +++ b/html/index.html @@ -53,6 +53,10 @@ + +