Skip to content

Commit 9dcb9a5

Browse files
committed
Merge branch 'feature/uploader' into hrm_ng
Conflicts solved: inc/FileBrowser.php inc/Fileserver.inc.php inc/QueueManager.php inc/Util.inc.php inc/hrm_config.inc.php
2 parents e46df55 + 3d90120 commit 9dcb9a5

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

41 files changed

+14756
-183
lines changed

Diff for: composer.lock

+21-21
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Diff for: config/samples/hrm_client_config.inc.sample

+2-2
Original file line numberDiff line numberDiff line change
@@ -75,8 +75,8 @@ $allowHttpTransfer = true;
7575
// $max_upload_limit AND $max_post_limit. If these are set to 0, they are
7676
// instead read from the PHP settings. If set to higher values, make sure
7777
// that the PHP settings allow for such transfer limits. These PHP settings
78-
// are normally located in php.ini, with the options upload_max filesize AND
79-
// post_max size.
78+
// are normally located in php.ini, with the options upload_max_filesize AND
79+
// post_max_size.
8080
// Unzipping large archives may also require high max_execution_time and
8181
// memory_limit variables.
8282
$allowHttpUpload = true;

Diff for: css/custom_fineuploader.css

+69
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,69 @@
1+
.buttons {
2+
text-align: left;
3+
}
4+
5+
.qq-uploader {
6+
position: relative;
7+
min-height: 200px;
8+
overflow-x: hidden;
9+
border-radius: 6px;
10+
border: 1px dashed #CCCCCC;
11+
padding: 3px;
12+
}
13+
14+
.qq-progress-bar {
15+
display: block;
16+
background: #4988de;
17+
width: 0;
18+
height: 14px;
19+
border-radius: 6px;
20+
margin-bottom: 3px;
21+
}
22+
23+
.qq-edit-filename-selector {
24+
font-size: 12px;
25+
}
26+
27+
.qq-upload-file-selector {
28+
font-size: 11px;
29+
text-align: left;
30+
width: 280px;
31+
}
32+
33+
.qq-upload-size-selector {
34+
font-size: 11px;
35+
text-align: right;
36+
}
37+
38+
.qq-btn {
39+
font-size: 10px;
40+
margin: 3px;
41+
}
42+
43+
#trigger-upload {
44+
color: white;
45+
font-size: 9px;
46+
background: #4988de none;
47+
width: 92px;
48+
height: 26px;
49+
}
50+
51+
.qq-upload-button {
52+
color: white;
53+
font-size: 9px;
54+
padding: 7px 20px;
55+
background: #4988de none;
56+
width: 50px;
57+
}
58+
59+
.qq-upload-status-text {
60+
font-size: 11px;
61+
}
62+
63+
#fine-uploader-manual-trigger .qq-uploader .qq-total-progress-bar-container {
64+
width: 50%;
65+
}
66+
67+
#fine-uploader-manual-trigger .qq-upload-button {
68+
margin-right: 15px;
69+
}

Diff for: file_management.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@
196196
$browse_folder);
197197

198198
} else if (isset($_GET['upload'])) {
199-
$max = Util::getMaxPostSize() / 1024 / 1024;
199+
$max = UtilV2::getMaxPostSize() / 1024 / 1024;
200200
$maxPost = "$max MB";
201201
$operationResult = "<b>Nothing uploaded!</b> Probably total post " .
202202
"exceeds maximum allowed size of $maxPost.<br>\n";

Diff for: header.inc.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
use hrm\Util;
66
use hrm\System;
77

8-
require_once("./inc/bootstrap.php");
8+
require_once dirname(__FILE__) . '/inc/bootstrap.php';
99

1010
?>
1111

0 commit comments

Comments
 (0)