summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--apps/files/js/filelist.js4
-rwxr-xr-xapps/files_external/tests/env/start-amazons3-ceph.sh2
-rwxr-xr-xapps/files_external/tests/env/start-ftp-morrisjobke.sh2
-rwxr-xr-xapps/files_external/tests/env/start-sftp-atmoz.sh2
-rwxr-xr-xapps/files_external/tests/env/start-smb-silvershell.sh2
-rwxr-xr-xapps/files_external/tests/env/start-smb-windows.sh2
-rwxr-xr-xapps/files_external/tests/env/start-webdav-ownCloud.sh2
-rwxr-xr-xapps/files_external/tests/env/stop-amazons3-ceph.sh2
-rwxr-xr-xapps/files_external/tests/env/stop-ftp-morrisjobke.sh2
-rwxr-xr-xapps/files_external/tests/env/stop-sftp-atmoz.sh2
-rwxr-xr-xapps/files_external/tests/env/stop-smb-silvershell.sh2
-rwxr-xr-xapps/files_external/tests/env/stop-smb-windows.sh2
-rwxr-xr-xapps/files_external/tests/env/stop-webdav-ownCloud.sh2
-rw-r--r--apps/files_sharing/css/authenticate.css3
-rw-r--r--apps/files_sharing/js/public.js8
-rwxr-xr-xautotest-external.sh2
-rwxr-xr-xautotest-js.sh2
-rwxr-xr-xautotest.sh2
-rwxr-xr-xbuildjsdocs.sh2
-rw-r--r--core/css/mobile.css4
-rwxr-xr-xcore/img/image-optimization.sh2
-rw-r--r--l10n/rm-old.sh2
22 files changed, 30 insertions, 25 deletions
diff --git a/apps/files/js/filelist.js b/apps/files/js/filelist.js
index ad3dce19778..8eaae74d3c3 100644
--- a/apps/files/js/filelist.js
+++ b/apps/files/js/filelist.js
@@ -1393,8 +1393,8 @@
}
urlSpec.x *= window.devicePixelRatio;
urlSpec.y *= window.devicePixelRatio;
- urlSpec.x = Math.floor(urlSpec.x);
- urlSpec.y = Math.floor(urlSpec.y);
+ urlSpec.x = Math.ceil(urlSpec.x);
+ urlSpec.y = Math.ceil(urlSpec.y);
urlSpec.forceIcon = 0;
return OC.generateUrl('/core/preview.png?') + $.param(urlSpec);
},
diff --git a/apps/files_external/tests/env/start-amazons3-ceph.sh b/apps/files_external/tests/env/start-amazons3-ceph.sh
index 5f274f10ca2..ad0fedba989 100755
--- a/apps/files_external/tests/env/start-amazons3-ceph.sh
+++ b/apps/files_external/tests/env/start-amazons3-ceph.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
#
# ownCloud
#
diff --git a/apps/files_external/tests/env/start-ftp-morrisjobke.sh b/apps/files_external/tests/env/start-ftp-morrisjobke.sh
index a082e6195fb..14112d7f803 100755
--- a/apps/files_external/tests/env/start-ftp-morrisjobke.sh
+++ b/apps/files_external/tests/env/start-ftp-morrisjobke.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
#
# ownCloud
#
diff --git a/apps/files_external/tests/env/start-sftp-atmoz.sh b/apps/files_external/tests/env/start-sftp-atmoz.sh
index 04b829add59..91eb5747c54 100755
--- a/apps/files_external/tests/env/start-sftp-atmoz.sh
+++ b/apps/files_external/tests/env/start-sftp-atmoz.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
#
# ownCloud
#
diff --git a/apps/files_external/tests/env/start-smb-silvershell.sh b/apps/files_external/tests/env/start-smb-silvershell.sh
index afada44d4f7..c45807cc4c8 100755
--- a/apps/files_external/tests/env/start-smb-silvershell.sh
+++ b/apps/files_external/tests/env/start-smb-silvershell.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
#
# ownCloud
#
diff --git a/apps/files_external/tests/env/start-smb-windows.sh b/apps/files_external/tests/env/start-smb-windows.sh
index a5a19ff1bcf..2143d7e7499 100755
--- a/apps/files_external/tests/env/start-smb-windows.sh
+++ b/apps/files_external/tests/env/start-smb-windows.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
#
# ownCloud
#
diff --git a/apps/files_external/tests/env/start-webdav-ownCloud.sh b/apps/files_external/tests/env/start-webdav-ownCloud.sh
index d6b36c8d90c..6bf9142ee53 100755
--- a/apps/files_external/tests/env/start-webdav-ownCloud.sh
+++ b/apps/files_external/tests/env/start-webdav-ownCloud.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
#
# ownCloud
#
diff --git a/apps/files_external/tests/env/stop-amazons3-ceph.sh b/apps/files_external/tests/env/stop-amazons3-ceph.sh
index 01b39b4c680..3f56a6f1e5d 100755
--- a/apps/files_external/tests/env/stop-amazons3-ceph.sh
+++ b/apps/files_external/tests/env/stop-amazons3-ceph.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
#
# ownCloud
#
diff --git a/apps/files_external/tests/env/stop-ftp-morrisjobke.sh b/apps/files_external/tests/env/stop-ftp-morrisjobke.sh
index 899b9a53971..e30ec2e594a 100755
--- a/apps/files_external/tests/env/stop-ftp-morrisjobke.sh
+++ b/apps/files_external/tests/env/stop-ftp-morrisjobke.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
#
# ownCloud
#
diff --git a/apps/files_external/tests/env/stop-sftp-atmoz.sh b/apps/files_external/tests/env/stop-sftp-atmoz.sh
index 64570cfd68d..0c2fd0b5bc6 100755
--- a/apps/files_external/tests/env/stop-sftp-atmoz.sh
+++ b/apps/files_external/tests/env/stop-sftp-atmoz.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
#
# ownCloud
#
diff --git a/apps/files_external/tests/env/stop-smb-silvershell.sh b/apps/files_external/tests/env/stop-smb-silvershell.sh
index aae954284e9..40147b89106 100755
--- a/apps/files_external/tests/env/stop-smb-silvershell.sh
+++ b/apps/files_external/tests/env/stop-smb-silvershell.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
#
# ownCloud
#
diff --git a/apps/files_external/tests/env/stop-smb-windows.sh b/apps/files_external/tests/env/stop-smb-windows.sh
index 4f89451ce11..39c49e2c505 100755
--- a/apps/files_external/tests/env/stop-smb-windows.sh
+++ b/apps/files_external/tests/env/stop-smb-windows.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
#
# ownCloud
#
diff --git a/apps/files_external/tests/env/stop-webdav-ownCloud.sh b/apps/files_external/tests/env/stop-webdav-ownCloud.sh
index c87760a1052..8eaf1ba754f 100755
--- a/apps/files_external/tests/env/stop-webdav-ownCloud.sh
+++ b/apps/files_external/tests/env/stop-webdav-ownCloud.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
#
# ownCloud
#
diff --git a/apps/files_sharing/css/authenticate.css b/apps/files_sharing/css/authenticate.css
index ac76d4c6870..43707c76100 100644
--- a/apps/files_sharing/css/authenticate.css
+++ b/apps/files_sharing/css/authenticate.css
@@ -11,7 +11,8 @@ input[type='submit'] {
#body-login input[type='submit'] {
position: absolute;
- top: 0px;
+ top: 0;
+ border: none;
}
fieldset > p {
diff --git a/apps/files_sharing/js/public.js b/apps/files_sharing/js/public.js
index 4908968a937..6a6095317af 100644
--- a/apps/files_sharing/js/public.js
+++ b/apps/files_sharing/js/public.js
@@ -90,8 +90,8 @@ OCA.Sharing.PublicApp = {
// dynamically load image previews
var token = $('#sharingToken').val();
var bottomMargin = 350;
- var previewWidth = Math.floor($(window).width() * window.devicePixelRatio);
- var previewHeight = Math.floor(($(window).height() - bottomMargin) * window.devicePixelRatio);
+ var previewWidth = Math.ceil($(window).width() * window.devicePixelRatio);
+ var previewHeight = Math.ceil(($(window).height() - bottomMargin) * window.devicePixelRatio);
previewHeight = Math.max(200, previewHeight);
var params = {
x: previewWidth,
@@ -168,8 +168,8 @@ OCA.Sharing.PublicApp = {
}
urlSpec.x *= window.devicePixelRatio;
urlSpec.y *= window.devicePixelRatio;
- urlSpec.x = Math.floor(urlSpec.x);
- urlSpec.y = Math.floor(urlSpec.y);
+ urlSpec.x = Math.ceil(urlSpec.x);
+ urlSpec.y = Math.ceil(urlSpec.y);
urlSpec.t = $('#dirToken').val();
return OC.generateUrl('/apps/files_sharing/ajax/publicpreview.php?') + $.param(urlSpec);
};
diff --git a/autotest-external.sh b/autotest-external.sh
index cb5a3dad503..b738669b48c 100755
--- a/autotest-external.sh
+++ b/autotest-external.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
#
# ownCloud
#
diff --git a/autotest-js.sh b/autotest-js.sh
index 99cc09f9085..2d8552811cf 100755
--- a/autotest-js.sh
+++ b/autotest-js.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
#
# ownCloud
#
diff --git a/autotest.sh b/autotest.sh
index cd36193cf6c..f69a9b34a48 100755
--- a/autotest.sh
+++ b/autotest.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
#
# ownCloud
#
diff --git a/buildjsdocs.sh b/buildjsdocs.sh
index ef18dc8c9a9..90562558f66 100755
--- a/buildjsdocs.sh
+++ b/buildjsdocs.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
#
# ownCloud
#
diff --git a/core/css/mobile.css b/core/css/mobile.css
index 29507a0faa9..e8ed33933b7 100644
--- a/core/css/mobile.css
+++ b/core/css/mobile.css
@@ -45,6 +45,10 @@
width: 80% !important;
}
+/* fix name autocomplete not showing on mobile */
+.ui-autocomplete {
+ z-index: 1000 !important;
+}
/* fix error display on smaller screens */
.error-wide {
diff --git a/core/img/image-optimization.sh b/core/img/image-optimization.sh
index e6374c419b2..3fad080dc79 100755
--- a/core/img/image-optimization.sh
+++ b/core/img/image-optimization.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
function recursive_optimize_images() {
cd $1;
diff --git a/l10n/rm-old.sh b/l10n/rm-old.sh
index 30e4509db25..e5e1348014b 100644
--- a/l10n/rm-old.sh
+++ b/l10n/rm-old.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
lang=(ach ady af_ZA ak am_ET ar ast az bal be bg_BG bn_BD bn_IN bs ca cs_CZ cy_GB da de de_AT de_DE el en_GB en@pirate eo es es_AR es_CL es_MX et_EE eu fa fi_FI fil fr fy_NL gl gu he hi hr hu_HU hy ia id io is it ja jv ka_GE km kn ko ku_IQ la lb lo lt_LT lv mg mk ml ml_IN mn mr ms_MY mt_MT my_MM nb_NO nds ne nl nn_NO nqo oc or_IN pa pl pt_BR pt_PT ro ru si_LK sk_SK sl sq sr sr@latin su sv sw_KE ta_IN ta_LK te tg_TJ th_TH tl_PH tr tzl tzm ug uk ur_PK uz vi yo zh_CN zh_HK zh_TW)