mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-02-06 07:04:57 +00:00
Merge branch 'seeddms-5.0.x' into seeddms-5.1.x
This commit is contained in:
commit
a0651239dd
2
Makefile
2
Makefile
|
@ -1,4 +1,4 @@
|
||||||
VERSION=5.1.2
|
VERSION=5.1.3
|
||||||
SRC=CHANGELOG inc conf utils index.php languages views op out controllers doc styles TODO LICENSE webdav install restapi pdfviewer
|
SRC=CHANGELOG inc conf utils index.php languages views op out controllers doc styles TODO LICENSE webdav install restapi pdfviewer
|
||||||
# webapp
|
# webapp
|
||||||
|
|
||||||
|
|
|
@ -363,7 +363,7 @@ class SeedDMS_Core_DMS {
|
||||||
$this->callbacks = array();
|
$this->callbacks = array();
|
||||||
$this->version = '@package_version@';
|
$this->version = '@package_version@';
|
||||||
if($this->version[0] == '@')
|
if($this->version[0] == '@')
|
||||||
$this->version = '5.1.2';
|
$this->version = '5.1.3';
|
||||||
} /* }}} */
|
} /* }}} */
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -1182,7 +1182,7 @@ SeedDMS_Core_DMS::getDuplicateDocumentContent() returns complete document
|
||||||
</notes>
|
</notes>
|
||||||
</release>
|
</release>
|
||||||
<release>
|
<release>
|
||||||
<date>2017-03-23</date>
|
<date>2017-07-11</date>
|
||||||
<time>06:38:12</time>
|
<time>06:38:12</time>
|
||||||
<version>
|
<version>
|
||||||
<release>4.3.35</release>
|
<release>4.3.35</release>
|
||||||
|
@ -1197,6 +1197,21 @@ SeedDMS_Core_DMS::getDuplicateDocumentContent() returns complete document
|
||||||
do not sort some temporary tables anymore, because it causes an error in mysql if sql_mode=only_full_group_by is set
|
do not sort some temporary tables anymore, because it causes an error in mysql if sql_mode=only_full_group_by is set
|
||||||
</notes>
|
</notes>
|
||||||
</release>
|
</release>
|
||||||
|
<release>
|
||||||
|
<date>2017-03-22</date>
|
||||||
|
<time>06:38:12</time>
|
||||||
|
<version>
|
||||||
|
<release>4.3.36</release>
|
||||||
|
<api>4.3.36</api>
|
||||||
|
</version>
|
||||||
|
<stability>
|
||||||
|
<release>stable</release>
|
||||||
|
<api>stable</api>
|
||||||
|
</stability>
|
||||||
|
<license uri="http://opensource.org/licenses/gpl-license">GPL License</license>
|
||||||
|
<notes>
|
||||||
|
</notes>
|
||||||
|
</release>
|
||||||
<release>
|
<release>
|
||||||
<date>2016-01-22</date>
|
<date>2016-01-22</date>
|
||||||
<time>14:34:58</time>
|
<time>14:34:58</time>
|
||||||
|
|
|
@ -20,7 +20,7 @@
|
||||||
|
|
||||||
class SeedDMS_Version {
|
class SeedDMS_Version {
|
||||||
|
|
||||||
public $_number = "5.1.2";
|
public $_number = "5.1.3";
|
||||||
private $_string = "SeedDMS";
|
private $_string = "SeedDMS";
|
||||||
|
|
||||||
function __construct() {
|
function __construct() {
|
||||||
|
|
|
@ -123,7 +123,7 @@ function fileExistsInIncludePath($file) { /* {{{ */
|
||||||
* Load default settings + set
|
* Load default settings + set
|
||||||
*/
|
*/
|
||||||
define("SEEDDMS_INSTALL", "on");
|
define("SEEDDMS_INSTALL", "on");
|
||||||
define("SEEDDMS_VERSION", "5.1.2");
|
define("SEEDDMS_VERSION", "5.1.3");
|
||||||
|
|
||||||
require_once('../inc/inc.ClassSettings.php');
|
require_once('../inc/inc.ClassSettings.php');
|
||||||
|
|
||||||
|
|
|
@ -127,6 +127,8 @@ if (isset($_FILES["userfile"]) && is_uploaded_file($_FILES["userfile"]["tmp_name
|
||||||
$user->setImage($_FILES["userfile"]["tmp_name"], $_FILES["userfile"]["type"]);
|
$user->setImage($_FILES["userfile"]["tmp_name"], $_FILES["userfile"]["type"]);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
$session->setSplashMsg(array('type'=>'success', 'msg'=>getMLText('splash_save_user_data')));
|
||||||
|
|
||||||
add_log_line("?user=".$user->getLogin());
|
add_log_line("?user=".$user->getLogin());
|
||||||
|
|
||||||
header("Location:../out/out.MyAccount.php");
|
header("Location:../out/out.MyAccount.php");
|
||||||
|
|
|
@ -68,6 +68,12 @@ $(document).ready( function() {
|
||||||
timeout: 1500,
|
timeout: 1500,
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
|
highlight: function(e, errorClass, validClass) {
|
||||||
|
$(e).parent().parent().removeClass(validClass).addClass(errorClass);
|
||||||
|
},
|
||||||
|
unhighlight: function(e, errorClass, validClass) {
|
||||||
|
$(e).parent().parent().removeClass(errorClass).addClass(validClass);
|
||||||
|
},
|
||||||
<?php
|
<?php
|
||||||
if($enablelargefileupload) {
|
if($enablelargefileupload) {
|
||||||
?>
|
?>
|
||||||
|
|
|
@ -35,37 +35,7 @@ class SeedDMS_View_AddSubFolder extends SeedDMS_Bootstrap_Style {
|
||||||
$strictformcheck = $this->params['strictformcheck'];
|
$strictformcheck = $this->params['strictformcheck'];
|
||||||
header('Content-Type: application/javascript');
|
header('Content-Type: application/javascript');
|
||||||
?>
|
?>
|
||||||
function checkForm()
|
|
||||||
{
|
|
||||||
msg = new Array();
|
|
||||||
if (document.form1.name.value == "") msg.push("<?php printMLText("js_no_name");?>");
|
|
||||||
<?php
|
|
||||||
if ($strictformcheck) {
|
|
||||||
?>
|
|
||||||
if (document.form1.comment.value == "") msg.push("<?php printMLText("js_no_comment");?>");
|
|
||||||
<?php
|
|
||||||
}
|
|
||||||
?>
|
|
||||||
if (msg != "") {
|
|
||||||
noty({
|
|
||||||
text: msg.join('<br />'),
|
|
||||||
type: 'error',
|
|
||||||
dismissQueue: true,
|
|
||||||
layout: 'topRight',
|
|
||||||
theme: 'defaultTheme',
|
|
||||||
_timeout: 1500,
|
|
||||||
});
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
else
|
|
||||||
return true;
|
|
||||||
}
|
|
||||||
$(document).ready( function() {
|
$(document).ready( function() {
|
||||||
/* $('body').on('submit', '#form1', function(ev){
|
|
||||||
if(checkForm()) return;
|
|
||||||
ev.preventDefault();
|
|
||||||
});
|
|
||||||
*/
|
|
||||||
$("#form1").validate({
|
$("#form1").validate({
|
||||||
invalidHandler: function(e, validator) {
|
invalidHandler: function(e, validator) {
|
||||||
noty({
|
noty({
|
||||||
|
@ -77,6 +47,12 @@ $(document).ready( function() {
|
||||||
timeout: 1500,
|
timeout: 1500,
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
|
highlight: function(e, errorClass, validClass) {
|
||||||
|
$(e).parent().parent().removeClass(validClass).addClass(errorClass);
|
||||||
|
},
|
||||||
|
unhighlight: function(e, errorClass, validClass) {
|
||||||
|
$(e).parent().parent().removeClass(errorClass).addClass(validClass);
|
||||||
|
},
|
||||||
messages: {
|
messages: {
|
||||||
name: "<?php printMLText("js_no_name");?>",
|
name: "<?php printMLText("js_no_name");?>",
|
||||||
comment: "<?php printMLText("js_no_comment");?>"
|
comment: "<?php printMLText("js_no_comment");?>"
|
||||||
|
|
|
@ -36,41 +36,7 @@ class SeedDMS_View_EditDocument extends SeedDMS_Bootstrap_Style {
|
||||||
header('Content-Type: application/javascript');
|
header('Content-Type: application/javascript');
|
||||||
$this->printKeywordChooserJs('form1');
|
$this->printKeywordChooserJs('form1');
|
||||||
?>
|
?>
|
||||||
function checkForm()
|
|
||||||
{
|
|
||||||
msg = new Array();
|
|
||||||
if ($("#name").val() == "") msg.push("<?php printMLText("js_no_name");?>");
|
|
||||||
<?php
|
|
||||||
if ($strictformcheck) {
|
|
||||||
?>
|
|
||||||
if ($("#comment").val() == "") msg.push("<?php printMLText("js_no_comment");?>");
|
|
||||||
if ($("#keywords").val() == "") msg.push("<?php printMLText("js_no_keywords");?>");
|
|
||||||
<?php
|
|
||||||
}
|
|
||||||
?>
|
|
||||||
if (msg != "")
|
|
||||||
{
|
|
||||||
noty({
|
|
||||||
text: msg.join('<br />'),
|
|
||||||
type: 'error',
|
|
||||||
dismissQueue: true,
|
|
||||||
layout: 'topRight',
|
|
||||||
theme: 'defaultTheme',
|
|
||||||
_timeout: 1500,
|
|
||||||
});
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
else
|
|
||||||
return true;
|
|
||||||
}
|
|
||||||
|
|
||||||
$(document).ready( function() {
|
$(document).ready( function() {
|
||||||
/*
|
|
||||||
$('body').on('submit', '#form1', function(ev){
|
|
||||||
if(checkForm()) return;
|
|
||||||
ev.preventDefault();
|
|
||||||
});
|
|
||||||
*/
|
|
||||||
$("#form1").validate({
|
$("#form1").validate({
|
||||||
invalidHandler: function(e, validator) {
|
invalidHandler: function(e, validator) {
|
||||||
noty({
|
noty({
|
||||||
|
|
|
@ -35,37 +35,7 @@ class SeedDMS_View_EditFolder extends SeedDMS_Bootstrap_Style {
|
||||||
$strictformcheck = $this->params['strictformcheck'];
|
$strictformcheck = $this->params['strictformcheck'];
|
||||||
header('Content-Type: application/javascript; charset=UTF-8');
|
header('Content-Type: application/javascript; charset=UTF-8');
|
||||||
?>
|
?>
|
||||||
function checkForm()
|
|
||||||
{
|
|
||||||
msg = new Array();
|
|
||||||
if (document.form1.name.value == "") msg.push("<?php printMLText("js_no_name");?>");
|
|
||||||
<?php
|
|
||||||
if ($strictformcheck) {
|
|
||||||
?>
|
|
||||||
if (document.form1.comment.value == "") msg.push("<?php printMLText("js_no_comment");?>");
|
|
||||||
<?php
|
|
||||||
}
|
|
||||||
?>
|
|
||||||
if (msg != "") {
|
|
||||||
noty({
|
|
||||||
text: msg.join('<br />'),
|
|
||||||
type: 'error',
|
|
||||||
dismissQueue: true,
|
|
||||||
layout: 'topRight',
|
|
||||||
theme: 'defaultTheme',
|
|
||||||
});
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
else
|
|
||||||
return true;
|
|
||||||
}
|
|
||||||
$(document).ready(function() {
|
$(document).ready(function() {
|
||||||
/*
|
|
||||||
$('body').on('submit', '#form1', function(ev){
|
|
||||||
if(checkForm()) return;
|
|
||||||
ev.preventDefault();
|
|
||||||
});
|
|
||||||
*/
|
|
||||||
$("#form1").validate({
|
$("#form1").validate({
|
||||||
invalidHandler: function(e, validator) {
|
invalidHandler: function(e, validator) {
|
||||||
noty({
|
noty({
|
||||||
|
@ -77,6 +47,12 @@ $(document).ready(function() {
|
||||||
timeout: 1500,
|
timeout: 1500,
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
|
highlight: function(e, errorClass, validClass) {
|
||||||
|
$(e).parent().parent().removeClass(validClass).addClass(errorClass);
|
||||||
|
},
|
||||||
|
unhighlight: function(e, errorClass, validClass) {
|
||||||
|
$(e).parent().parent().removeClass(errorClass).addClass(validClass);
|
||||||
|
},
|
||||||
messages: {
|
messages: {
|
||||||
name: "<?php printMLText("js_no_name");?>",
|
name: "<?php printMLText("js_no_name");?>",
|
||||||
comment: "<?php printMLText("js_no_comment");?>"
|
comment: "<?php printMLText("js_no_comment");?>"
|
||||||
|
|
|
@ -34,35 +34,7 @@ class SeedDMS_View_EditUserData extends SeedDMS_Bootstrap_Style {
|
||||||
function js() { /* {{{ */
|
function js() { /* {{{ */
|
||||||
header('Content-Type: application/javascript');
|
header('Content-Type: application/javascript');
|
||||||
?>
|
?>
|
||||||
function checkForm()
|
|
||||||
{
|
|
||||||
msg = new Array();
|
|
||||||
if ($("#pwd").val() != $("#pwdconf").val()) msg.push("<?php printMLText("js_pwd_not_conf");?>");
|
|
||||||
if ($("#fullname").val() == "") msg.push("<?php printMLText("js_no_name");?>");
|
|
||||||
if ($("#email").val() == "") msg.push("<?php printMLText("js_no_email");?>");
|
|
||||||
// if (document.form1.comment.value == "") msg.push("<?php printMLText("js_no_comment");?>");
|
|
||||||
if (msg != "") {
|
|
||||||
noty({
|
|
||||||
text: msg.join('<br />'),
|
|
||||||
type: 'error',
|
|
||||||
dismissQueue: true,
|
|
||||||
layout: 'topRight',
|
|
||||||
theme: 'defaultTheme',
|
|
||||||
_timeout: 1500,
|
|
||||||
});
|
|
||||||
return false;
|
|
||||||
}
|
|
||||||
else
|
|
||||||
return true;
|
|
||||||
}
|
|
||||||
|
|
||||||
$(document).ready( function() {
|
$(document).ready( function() {
|
||||||
/*
|
|
||||||
$('body').on('submit', '#form', function(ev){
|
|
||||||
if(checkForm()) return;
|
|
||||||
ev.preventDefault();
|
|
||||||
});
|
|
||||||
*/
|
|
||||||
$("#form").validate({
|
$("#form").validate({
|
||||||
invalidHandler: function(e, validator) {
|
invalidHandler: function(e, validator) {
|
||||||
noty({
|
noty({
|
||||||
|
@ -74,7 +46,16 @@ $(document).ready( function() {
|
||||||
timeout: 1500,
|
timeout: 1500,
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
|
highlight: function(e, errorClass, validClass) {
|
||||||
|
$(e).parent().parent().removeClass(validClass).addClass(errorClass);
|
||||||
|
},
|
||||||
|
unhighlight: function(e, errorClass, validClass) {
|
||||||
|
$(e).parent().parent().removeClass(errorClass).addClass(validClass);
|
||||||
|
},
|
||||||
rules: {
|
rules: {
|
||||||
|
currentpwd: {
|
||||||
|
required: true
|
||||||
|
},
|
||||||
fullname: {
|
fullname: {
|
||||||
required: true
|
required: true
|
||||||
},
|
},
|
||||||
|
@ -87,6 +68,7 @@ $(document).ready( function() {
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
messages: {
|
messages: {
|
||||||
|
currentpwd: "<?php printMLText("js_no_currentpwd");?>",
|
||||||
fullname: "<?php printMLText("js_no_name");?>",
|
fullname: "<?php printMLText("js_no_name");?>",
|
||||||
email: {
|
email: {
|
||||||
required: "<?php printMLText("js_no_email");?>",
|
required: "<?php printMLText("js_no_email");?>",
|
||||||
|
|
Loading…
Reference in New Issue
Block a user