
-v2.8.4. -Fixed an undefined variable warning in the virusScan() function. -Cleaned up memory deallocation routine in the virusScan() function. -Only enable file related operations if valid tokens have been supplied. -Improved sanitization integrity. -Combined the functionality of HRScan2 into HRConvert2. -Now users can select to scan uploaded files for viruses on-demand using ClamAV or zelon88/ScanCore. -The codebases for both are "sisters" so maintainence has always been a pain. -Whenever one gets updated a lot of the code needed to be modified and merged into the other one. -Considering the major refactor that just took place with HRConvert2 (which took almmost 38 caffene fueled hours) I figure we would merge functionality instead of refactoring another core. -These features can be disabled via config.php. -Some administrators won't want users uploading potentially malicious files, which makes sense. -If $UserVirusScanning is enabled in config.php the HRScan2 features will be savailable. -If $UserVirusScanning is not enabled in config.php the HRScan2 features will be unavailable. -This behaviour change requires some changes to the way regular virus scanning is performed. -If $UserVirusScanning is enabled we must disable regular virus scanning during the file upload phase. -Note that all other regular virus scan operations are still enforced. -Meaning that if a user uploads a file that is infected, they will still NOT be allowed to perform download, conversion, archive, or OCR operations on them. -They WILL be allowed to scan the file using User Virus Scan options. -Also if a normal virus scan detects a malicious file while $AllowUserVirusScan is enabled, the file WILL NOT be immediately deleted. -It will be allowed to remain until regular cleanup activities remove it (after the $DeleteThreshold has passed). -Added color specific down arrow buttons to the GUI. -Added Download File button to convertGui2.php page. -Now you can redownload any file in the HRConvert2 scratch space. -Added Scan File & Scan All buttons to convertGui2.php page. -Added config entry for adjusting the backround color of the GUI. -Added config entry for adjusting the loading spinner style. -Added 6 spinners for each color scheme (24 spinners total). -Can now specify your own spinner in config.php. -Refactored convertGui2.php file for English & Arabic so far. -Need to continue doing the rest. -Only English & Arabic language packs have support for the new API features related to User Virus Scans. -Updated ERROR_DESCIPTIONS.txt with the latest errors related to virus scanning. -Fixed dropdown boxes showing reversed in Arabic language pack. -Made dropdown arrow colors match the color scheme being used.
60 lines
No EOL
2.2 KiB
CSS
60 lines
No EOL
2.2 KiB
CSS
select {
|
|
width: 140px;
|
|
padding: 5px 5px 5px 5px;
|
|
font-size: 16px;
|
|
border: 1px solid #ccc;
|
|
height: 34px;
|
|
-webkit-appearance: none;
|
|
-moz-appearance: none;
|
|
appearance: none; }
|
|
|
|
/* CAUTION: IE hackery ahead */
|
|
select::-ms-expand {
|
|
display: none; } /* remove default arrow in IE 10 and 11 */
|
|
|
|
/* target Internet Explorer 9 to undo the custom arrow */
|
|
@media screen and (min-width:0\0) {
|
|
select {
|
|
background:none\9;
|
|
padding: 5px\9; } }
|
|
|
|
.info-button {
|
|
-moz-box-shadow: 3px 4px 0px 0px #f3f6f4;
|
|
-webkit-box-shadow: 3px 4px 0px 0px #f3f6f4;
|
|
box-shadow: 3px 4px 0px 0px #f3f6f4;
|
|
background:-webkit-gradient(linear, left top, left bottom, color-stop(0.05, #bcbcbc), color-stop(1, #eeeeee));
|
|
background:-moz-linear-gradient(top, #bcbcbc 5%, #eeeeee 100%);
|
|
background:-webkit-linear-gradient(top, #bcbcbc 5%, #eeeeee 100%);
|
|
background:-o-linear-gradient(top, #bcbcbc 5%, #eeeeee 100%);
|
|
background:-ms-linear-gradient(top, #bcbcbc 5%, #eeeeee 100%);
|
|
background:linear-gradient(to bottom, #bcbcbc 5%, #eeeeee 100%);
|
|
filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=\'#bcbcbc\', endColorstr=\'#eeeeee\',GradientType=0);
|
|
background-color:#bcbcbc;
|
|
-moz-border-radius:5px;
|
|
-webkit-border-radius:5px;
|
|
border-radius:5px;
|
|
border:1px solid #5b5b5b;
|
|
display:inline-block;
|
|
cursor:pointer;
|
|
color:#ffffff;
|
|
font-family:Arial;
|
|
font-size:17px;
|
|
font-weight:bold;
|
|
padding:12px 44px;
|
|
text-decoration:none;
|
|
text-shadow:0px 1px 0px #bcbcbc;
|
|
min-width:100px;
|
|
width:250px;
|
|
max-width:1000px; }
|
|
.info-button:hover {
|
|
background:-webkit-gradient(linear, left top, left bottom, color-stop(0.05, #eeeeee), color-stop(1, #bcbcbc));
|
|
background:-moz-linear-gradient(top, #eeeeee 5%, #bcbcbc 100%);
|
|
background:-webkit-linear-gradient(top, #eeeeee 5%, #bcbcbc 100%);
|
|
background:-o-linear-gradient(top, #eeeeee 5%, #bcbcbc 100%);
|
|
background:-ms-linear-gradient(top, #eeeeee 5%, #bcbcbc 100%);
|
|
background:linear-gradient(to bottom, #eeeeee 5%, #bcbcbc 100%);
|
|
filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=\'#eeeeee\', endColorstr=\'#bcbcbc\',GradientType=0);
|
|
background-color:#eeeeee; }
|
|
.info-button:active {
|
|
position:relative;
|
|
top:1px; } |