diff --git a/copyparty/__version__.py b/copyparty/__version__.py index fcfbd57f..a50d4652 100644 --- a/copyparty/__version__.py +++ b/copyparty/__version__.py @@ -1,8 +1,8 @@ # coding: utf-8 -VERSION = (1, 1, 3) +VERSION = (1, 1, 4) CODENAME = "opus" -BUILD_DT = (2021, 11, 20) +BUILD_DT = (2021, 11, 28) S_VERSION = ".".join(map(str, VERSION)) S_BUILD_DT = "{0:04d}-{1:02d}-{2:02d}".format(*BUILD_DT) diff --git a/copyparty/web/browser.css b/copyparty/web/browser.css index 019105d2..0c0240ba 100644 --- a/copyparty/web/browser.css +++ b/copyparty/web/browser.css @@ -240,6 +240,8 @@ html.light #ggrid>a[tt].sel { #files tbody tr.sel:hover td, #files tbody tr.sel:focus td, #ggrid>a.sel:hover, +#ggrid>a.sel:focus, +html.light #ggrid>a.sel:focus, html.light #ggrid>a.sel:hover { color: #fff; background: #d39; @@ -965,6 +967,12 @@ html.np_open #ggrid>a.au:before { background: linear-gradient(135deg,rgba(255,255,255,0) 50%,rgba(255,255,255,0.2)); border-radius: .3em; font-size: 2em; + transition: font-size .15s, margin .15s; +} +#ggrid>a:focus:before, +#ggrid>a:hover:before { + font-size: 2.5em; + margin: -.2em; } #op_unpost { padding: 1em; @@ -1169,6 +1177,7 @@ html, #ggrid>a[tt] { background: linear-gradient(135deg, #2c2c2c 95%, #444 95%); } +#ggrid>a:focus, #ggrid>a:hover { background: #383838; border-color: #555; @@ -1182,6 +1191,7 @@ html.light #ggrid>a { html.light #ggrid>a[tt] { background: linear-gradient(135deg, #f7f7f7 95%, #ccc 95%); } +html.light #ggrid>a:focus, html.light #ggrid>a:hover { background: #fff; border-color: #ccc; diff --git a/copyparty/web/browser.js b/copyparty/web/browser.js index 6d298195..fb00141f 100644 --- a/copyparty/web/browser.js +++ b/copyparty/web/browser.js @@ -9,7 +9,7 @@ function dbg(msg) { ebi('ops').innerHTML = ( '--\n' + (have_up2k_idx ? ( - '🔎\n' + + '🔎\n' + (have_del && have_unpost ? '🧯\n' : '') + '🚀\n' ) : ( diff --git a/copyparty/web/ui.css b/copyparty/web/ui.css index c68ffb94..4e45c45e 100644 --- a/copyparty/web/ui.css +++ b/copyparty/web/ui.css @@ -128,6 +128,7 @@ html { } #tth.act { display: block; + z-index: 9001; } #tt.b { padding: 0 2em; diff --git a/docs/notes.sh b/docs/notes.sh index 27d4ce71..a5223434 100644 --- a/docs/notes.sh +++ b/docs/notes.sh @@ -193,6 +193,11 @@ git pull; git reset --hard origin/HEAD && git log --format=format:"%H %ai %d" -- # download all sfx versions curl https://api.github.com/repos/9001/copyparty/releases?per_page=100 | jq -r '.[] | .tag_name + " " + .name' | tr -d '\r' | while read v t; do fn="$(printf '%s\n' "copyparty $v $t.py" | tr / -)"; [ -e "$fn" ] || curl https://github.com/9001/copyparty/releases/download/$v/copyparty-sfx.py -Lo "$fn"; done +# push to multiple git remotes +git config -l | grep '^remote' +git remote add all git@github.com:9001/copyparty.git +git remote set-url --add --push all git@gitlab.com:9001/copyparty.git +git remote set-url --add --push all git@github.com:9001/copyparty.git ## ## http 206 diff --git a/scripts/rls.sh b/scripts/rls.sh index 0a56e75e..26a1b9bf 100755 --- a/scripts/rls.sh +++ b/scripts/rls.sh @@ -7,8 +7,9 @@ v=$1 printf '%s\n' "$v" | grep -qE '^[0-9\.]+$' || exit 1 grep -E "(${v//./, })" ../copyparty/__version__.py || exit 1 +git push all git tag v$v -git push origin --tags +git push all --tags rm -rf ../dist