diff --git a/CONTROL/control b/CONTROL/control index fa3ba34..2e0f896 100644 --- a/CONTROL/control +++ b/CONTROL/control @@ -1,9 +1,9 @@ Package: webif Priority: optional Section: web -Version: 0.10.1 +Version: 0.10.1-1 Architecture: mipsel Maintainer: af123@hummypkg.org.uk -Depends: webif-channelicons(>=1.0.3),mongoose(>=3.0-7),jim(>=0.73-1),jim-oo,jim-sqlite3(>=0.73),jim-cgi(>=0.5),service-control(>=1.2),busybox(>=1.19.3-1),lsof,epg(>=1.0.9),hmt(>=1.1.7),ssmtp,anacron,trm,openssl-command,nicesplice,id3v2,file,rsvsync(>=1.0.2),webif-charts(>=1.2),stripts(>=1.1.2),smartmontools +Depends: webif-channelicons(>=1.0.3),mongoose(>=3.0-7),jim(>=0.73-1),jim-oo,jim-sqlite3(>=0.73),jim-cgi(>=0.5),service-control(>=1.2),busybox(>=1.19.3-1),lsof,epg(>=1.0.9),hmt(>=1.1.7),ssmtp,anacron,trm,openssl-command,nicesplice,id3v2,file,rsvsync(>=1.0.2),webif-charts(>=1.2),stripts(>=1.1.2),smartmontools,tmenu(>=1.02) Suggests: ffmpeg Description: An evolving web interface for the Humax. diff --git a/var/mongoose/cgi-bin/browse/clipboard.jim b/var/mongoose/cgi-bin/browse/clipboard.jim index 333e96d..294b327 100755 --- a/var/mongoose/cgi-bin/browse/clipboard.jim +++ b/var/mongoose/cgi-bin/browse/clipboard.jim @@ -110,9 +110,11 @@ switch $action { } } else { if {$mode eq "cut"} { - catch {file rename $path "$dir/[file tail $f]"} + catch {file rename $path \ + "$dir/[file tail $path]"} } else { - catch {file copy $path "$dir/[file tail $f]"} + catch {file copy $path \ + "$dir/[file tail $path]"} } } } diff --git a/var/mongoose/cgi-bin/opkg.jim b/var/mongoose/cgi-bin/opkg.jim index 7fb713b..583f8ef 100755 --- a/var/mongoose/cgi-bin/opkg.jim +++ b/var/mongoose/cgi-bin/opkg.jim @@ -30,6 +30,9 @@ if {$cmd eq "update" || $cmd eq "upgrade"} { chunk "Updating package meta information\r\n" pkg fetchmeta chunk "Done.\r\n" + chunk "Updating diagnostic meta information\r\n" + pkg fetchdiagmeta + chunk "Done.\r\n" } end_chunked diff --git a/var/mongoose/html/diag/diag.jim b/var/mongoose/html/diag/diag.jim index bb986d2..133a15b 100755 --- a/var/mongoose/html/diag/diag.jim +++ b/var/mongoose/html/diag/diag.jim @@ -2,11 +2,13 @@ package require cgi source /mod/webif/lib/setup -require pretty_size system.class +require pretty_size system.class pkg.class puts "Content-Type: text/html" puts "" +pkg loaddiagmeta + set smv [system modversion 1] header @@ -21,10 +23,24 @@ puts {
' +
+ 'Running diagnostic, please wait...')
+ .load('rundiag.jim?diag=' + encodeURIComponent(val), function() {
$('#results').wrapInner(''); }); }); diff --git a/var/mongoose/html/services.shtml b/var/mongoose/html/services.shtml index 6b541b2..d713c21 100644 --- a/var/mongoose/html/services.shtml +++ b/var/mongoose/html/services.shtml @@ -1,14 +1,22 @@ +