mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-02-06 15:14:58 +00:00
Merge branch 'seeddms-4.3.x' into seeddms-5.0.x
This commit is contained in:
commit
8cd3e6cada
12
CHANGELOG
12
CHANGELOG
|
@ -1,3 +1,8 @@
|
||||||
|
--------------------------------------------------------------------------------
|
||||||
|
Changes in version 5.0.2
|
||||||
|
--------------------------------------------------------------------------------
|
||||||
|
- merged changes from 4.3.26
|
||||||
|
|
||||||
--------------------------------------------------------------------------------
|
--------------------------------------------------------------------------------
|
||||||
Changes in version 5.0.1
|
Changes in version 5.0.1
|
||||||
--------------------------------------------------------------------------------
|
--------------------------------------------------------------------------------
|
||||||
|
@ -18,6 +23,13 @@
|
||||||
- add .xml to online file types by default
|
- add .xml to online file types by default
|
||||||
- add home folder for users
|
- add home folder for users
|
||||||
|
|
||||||
|
--------------------------------------------------------------------------------
|
||||||
|
Changes in version 4.3.26
|
||||||
|
--------------------------------------------------------------------------------
|
||||||
|
- move some left over javascript from html code into application.js (Closes #253)
|
||||||
|
- take out last empty line from view/bootstrap/class.Search.php which causes a
|
||||||
|
header to be send to early (Closes: #252, #254)
|
||||||
|
|
||||||
--------------------------------------------------------------------------------
|
--------------------------------------------------------------------------------
|
||||||
Changes in version 4.3.25
|
Changes in version 4.3.25
|
||||||
--------------------------------------------------------------------------------
|
--------------------------------------------------------------------------------
|
||||||
|
|
|
@ -42,7 +42,7 @@ class SeedDMS_Lucene_IndexedDocument extends Zend_Search_Lucene_Document {
|
||||||
do {
|
do {
|
||||||
$timeleft = $timeout - time();
|
$timeleft = $timeout - time();
|
||||||
$read = array($pipes[1]);
|
$read = array($pipes[1]);
|
||||||
stream_select($read, $write = NULL, $exeptions = NULL, $timeleft, NULL);
|
stream_select($read, $write = NULL, $exeptions = NULL, $timeleft, 200000);
|
||||||
|
|
||||||
if (!empty($read)) {
|
if (!empty($read)) {
|
||||||
$output .= fread($pipes[1], 8192);
|
$output .= fread($pipes[1], 8192);
|
||||||
|
|
|
@ -11,10 +11,10 @@
|
||||||
<email>uwe@steinmann.cx</email>
|
<email>uwe@steinmann.cx</email>
|
||||||
<active>yes</active>
|
<active>yes</active>
|
||||||
</lead>
|
</lead>
|
||||||
<date>2016-02-01</date>
|
<date>2016-03-29</date>
|
||||||
<time>09:14:07</time>
|
<time>08:11:19</time>
|
||||||
<version>
|
<version>
|
||||||
<release>1.1.7</release>
|
<release>1.1.8</release>
|
||||||
<api>1.1.7</api>
|
<api>1.1.7</api>
|
||||||
</version>
|
</version>
|
||||||
<stability>
|
<stability>
|
||||||
|
@ -23,7 +23,7 @@
|
||||||
</stability>
|
</stability>
|
||||||
<license uri="http://opensource.org/licenses/gpl-license">GPL License</license>
|
<license uri="http://opensource.org/licenses/gpl-license">GPL License</license>
|
||||||
<notes>
|
<notes>
|
||||||
add command for indexing postѕcript files
|
set last parameter of stream_select() to 200000 micro sec. in case the timeout in sec. is set to 0
|
||||||
</notes>
|
</notes>
|
||||||
<contents>
|
<contents>
|
||||||
<dir baseinstalldir="SeedDMS" name="/">
|
<dir baseinstalldir="SeedDMS" name="/">
|
||||||
|
@ -202,5 +202,21 @@ declare SeeDMS_Lucene_Indexer::open() static
|
||||||
run external commands with a timeout
|
run external commands with a timeout
|
||||||
</notes>
|
</notes>
|
||||||
</release>
|
</release>
|
||||||
|
<release>
|
||||||
|
<date>2016-02-01</date>
|
||||||
|
<time>09:14:07</time>
|
||||||
|
<version>
|
||||||
|
<release>1.1.7</release>
|
||||||
|
<api>1.1.7</api>
|
||||||
|
</version>
|
||||||
|
<stability>
|
||||||
|
<release>stable</release>
|
||||||
|
<api>stable</api>
|
||||||
|
</stability>
|
||||||
|
<license uri="http://opensource.org/licenses/gpl-license">GPL License</license>
|
||||||
|
<notes>
|
||||||
|
add command for indexing postѕcript files
|
||||||
|
</notes>
|
||||||
|
</release>
|
||||||
</changelog>
|
</changelog>
|
||||||
</package>
|
</package>
|
||||||
|
|
|
@ -75,7 +75,7 @@ class SeedDMS_Preview_Previewer {
|
||||||
do {
|
do {
|
||||||
$timeleft = $timeout - time();
|
$timeleft = $timeout - time();
|
||||||
$read = array($pipes[1]);
|
$read = array($pipes[1]);
|
||||||
stream_select($read, $write = NULL, $exeptions = NULL, $timeleft, NULL);
|
stream_select($read, $write = NULL, $exeptions = NULL, $timeleft, 200000);
|
||||||
|
|
||||||
if (!empty($read)) {
|
if (!empty($read)) {
|
||||||
$output .= fread($pipes[1], 8192);
|
$output .= fread($pipes[1], 8192);
|
||||||
|
|
|
@ -11,11 +11,11 @@
|
||||||
<email>uwe@steinmann.cx</email>
|
<email>uwe@steinmann.cx</email>
|
||||||
<active>yes</active>
|
<active>yes</active>
|
||||||
</lead>
|
</lead>
|
||||||
<date>2016-03-08</date>
|
<date>2016-03-29</date>
|
||||||
<time>09:36:57</time>
|
<time>08:07:14</time>
|
||||||
<version>
|
<version>
|
||||||
<release>1.1.6</release>
|
<release>1.1.7</release>
|
||||||
<api>1.1.6</api>
|
<api>1.1.7</api>
|
||||||
</version>
|
</version>
|
||||||
<stability>
|
<stability>
|
||||||
<release>stable</release>
|
<release>stable</release>
|
||||||
|
@ -23,7 +23,7 @@
|
||||||
</stability>
|
</stability>
|
||||||
<license uri="http://opensource.org/licenses/gpl-license">GPL License</license>
|
<license uri="http://opensource.org/licenses/gpl-license">GPL License</license>
|
||||||
<notes>
|
<notes>
|
||||||
check if object passed to createPreview(), hasPreview() is not null
|
set last parameter of stream_select() to 200000 micro sec. in case the timeout in sec. is set to 0
|
||||||
</notes>
|
</notes>
|
||||||
<contents>
|
<contents>
|
||||||
<dir baseinstalldir="SeedDMS" name="/">
|
<dir baseinstalldir="SeedDMS" name="/">
|
||||||
|
@ -164,5 +164,21 @@ add method getFilesize()
|
||||||
timeout for external commands can be passed to contructor of SeedDMS_Preview_Previewer
|
timeout for external commands can be passed to contructor of SeedDMS_Preview_Previewer
|
||||||
</notes>
|
</notes>
|
||||||
</release>
|
</release>
|
||||||
|
<release>
|
||||||
|
<date>2016-03-08</date>
|
||||||
|
<time>09:36:57</time>
|
||||||
|
<version>
|
||||||
|
<release>1.1.6</release>
|
||||||
|
<api>1.1.6</api>
|
||||||
|
</version>
|
||||||
|
<stability>
|
||||||
|
<release>stable</release>
|
||||||
|
<api>stable</api>
|
||||||
|
</stability>
|
||||||
|
<license uri="http://opensource.org/licenses/gpl-license">GPL License</license>
|
||||||
|
<notes>
|
||||||
|
check if object passed to createPreview(), hasPreview() is not null
|
||||||
|
</notes>
|
||||||
|
</release>
|
||||||
</changelog>
|
</changelog>
|
||||||
</package>
|
</package>
|
||||||
|
|
|
@ -47,7 +47,7 @@ class SeedDMS_SQLiteFTS_IndexedDocument extends SeedDMS_SQLiteFTS_Document {
|
||||||
do {
|
do {
|
||||||
$timeleft = $timeout - time();
|
$timeleft = $timeout - time();
|
||||||
$read = array($pipes[1]);
|
$read = array($pipes[1]);
|
||||||
stream_select($read, $write = NULL, $exeptions = NULL, $timeleft, NULL);
|
stream_select($read, $write = NULL, $exeptions = NULL, $timeleft, 200000);
|
||||||
|
|
||||||
if (!empty($read)) {
|
if (!empty($read)) {
|
||||||
$output .= fread($pipes[1], 8192);
|
$output .= fread($pipes[1], 8192);
|
||||||
|
|
|
@ -11,10 +11,10 @@
|
||||||
<email>uwe@steinmann.cx</email>
|
<email>uwe@steinmann.cx</email>
|
||||||
<active>yes</active>
|
<active>yes</active>
|
||||||
</lead>
|
</lead>
|
||||||
<date>2016-03-15</date>
|
<date>2016-03-29</date>
|
||||||
<time>15:59:07</time>
|
<time>08:09:48</time>
|
||||||
<version>
|
<version>
|
||||||
<release>1.0.4</release>
|
<release>1.0.5</release>
|
||||||
<api>1.0.1</api>
|
<api>1.0.1</api>
|
||||||
</version>
|
</version>
|
||||||
<stability>
|
<stability>
|
||||||
|
@ -23,7 +23,7 @@
|
||||||
</stability>
|
</stability>
|
||||||
<license uri="http://opensource.org/licenses/gpl-license">GPL License</license>
|
<license uri="http://opensource.org/licenses/gpl-license">GPL License</license>
|
||||||
<notes>
|
<notes>
|
||||||
make it work with sqlite3 < 3.8.0
|
set last parameter of stream_select() to 200000 micro sec. in case the timeout in sec. is set to 0
|
||||||
</notes>
|
</notes>
|
||||||
<contents>
|
<contents>
|
||||||
<dir baseinstalldir="SeedDMS" name="/">
|
<dir baseinstalldir="SeedDMS" name="/">
|
||||||
|
@ -130,5 +130,21 @@ check if index exists before removing it when creating a new one
|
||||||
add command for indexing postѕcript files
|
add command for indexing postѕcript files
|
||||||
</notes>
|
</notes>
|
||||||
</release>
|
</release>
|
||||||
|
<release>
|
||||||
|
<date>2016-03-15</date>
|
||||||
|
<time>15:59:07</time>
|
||||||
|
<version>
|
||||||
|
<release>1.0.4</release>
|
||||||
|
<api>1.0.1</api>
|
||||||
|
</version>
|
||||||
|
<stability>
|
||||||
|
<release>stable</release>
|
||||||
|
<api>stable</api>
|
||||||
|
</stability>
|
||||||
|
<license uri="http://opensource.org/licenses/gpl-license">GPL License</license>
|
||||||
|
<notes>
|
||||||
|
make it work with sqlite3 < 3.8.0
|
||||||
|
</notes>
|
||||||
|
</release>
|
||||||
</changelog>
|
</changelog>
|
||||||
</package>
|
</package>
|
||||||
|
|
|
@ -106,6 +106,11 @@ div.statusbar a.btn {
|
||||||
margin-bottom: 10px;
|
margin-bottom: 10px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#database .chosen-container,
|
||||||
|
#fulltext .chosen-container {
|
||||||
|
width: 95% !important;
|
||||||
|
}
|
||||||
|
|
||||||
.chosen-container-multi .chosen-choices {
|
.chosen-container-multi .chosen-choices {
|
||||||
border: 1px solid #cccccc;
|
border: 1px solid #cccccc;
|
||||||
border-radius: 4px;
|
border-radius: 4px;
|
||||||
|
|
|
@ -382,6 +382,9 @@ $(document).ready( function() {
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
|
$('button.history-back').on('click', function(event) {
|
||||||
|
window.history.back();
|
||||||
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
function onAddClipboard(ev) { /* {{{ */
|
function onAddClipboard(ev) { /* {{{ */
|
||||||
|
|
|
@ -1008,6 +1008,10 @@ function folderSelected<?php echo $formName ?>(id, name) {
|
||||||
<?php
|
<?php
|
||||||
} /* }}} */
|
} /* }}} */
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Do not use anymore. Was previously used to show the category
|
||||||
|
* chooser. It has been replaced by a select box
|
||||||
|
*/
|
||||||
function printCategoryChooser($formName, $categories=array()) { /* {{{ */
|
function printCategoryChooser($formName, $categories=array()) { /* {{{ */
|
||||||
?>
|
?>
|
||||||
<script language="JavaScript">
|
<script language="JavaScript">
|
||||||
|
@ -1110,7 +1114,7 @@ $('#acceptkeywords').click(function(ev) {
|
||||||
$objvalue = $attribute ? (is_object($attribute) ? $attribute->getValue() : $attribute) : '';
|
$objvalue = $attribute ? (is_object($attribute) ? $attribute->getValue() : $attribute) : '';
|
||||||
?>
|
?>
|
||||||
<span class="input-append date datepicker" style="display: inline;" data-date="<?php echo date('Y-m-d'); ?>" data-date-format="yyyy-mm-dd" data-date-language="<?php echo str_replace('_', '-', $this->params['session']->getLanguage()); ?>">
|
<span class="input-append date datepicker" style="display: inline;" data-date="<?php echo date('Y-m-d'); ?>" data-date-format="yyyy-mm-dd" data-date-language="<?php echo str_replace('_', '-', $this->params['session']->getLanguage()); ?>">
|
||||||
<input class="span4" size="16" name="<?= $fieldname ?>[<?= $attrdef->getId() ?>]" type="text" value="<?php if($objvalue) echo $objvalue; else echo "" /*date('Y-m-d')*/; ?>">
|
<input class="span4" size="16" name="<?php echo $fieldname ?>[<?php echo $attrdef->getId() ?>]" type="text" value="<?php if($objvalue) echo $objvalue; else echo "" /*date('Y-m-d')*/; ?>">
|
||||||
<span class="add-on"><i class="icon-calendar"></i></span>
|
<span class="add-on"><i class="icon-calendar"></i></span>
|
||||||
</span>
|
</span>
|
||||||
<?php
|
<?php
|
||||||
|
@ -1168,7 +1172,6 @@ $('#acceptkeywords').click(function(ev) {
|
||||||
</div>
|
</div>
|
||||||
<div class="modal-footer">
|
<div class="modal-footer">
|
||||||
<button class="btn btn-primary" data-dismiss="modal" aria-hidden="true"><?php printMLText("close") ?></button>
|
<button class="btn btn-primary" data-dismiss="modal" aria-hidden="true"><?php printMLText("close") ?></button>
|
||||||
<!-- <button class="btn" data-dismiss="modal" aria-hidden="true" onClick="acceptCategories();"><i class="icon-save"></i> <?php printMLText("save") ?></button> -->
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<?php
|
<?php
|
||||||
|
@ -1258,7 +1261,7 @@ $('#clearfilename<?php print $formName ?>').click(function(ev) {
|
||||||
print "<h4>".getMLText('error')."!</h4>";
|
print "<h4>".getMLText('error')."!</h4>";
|
||||||
print htmlspecialchars($error);
|
print htmlspecialchars($error);
|
||||||
print "</div>";
|
print "</div>";
|
||||||
print "<div><button class=\"btn\" onclick=\"window.history.back();\">".getMLText('back')."</button></div>";
|
print "<div><button class=\"btn history-back\">".getMLText('back')."</button></div>";
|
||||||
|
|
||||||
$this->contentEnd();
|
$this->contentEnd();
|
||||||
$this->htmlEndPage();
|
$this->htmlEndPage();
|
||||||
|
@ -2366,7 +2369,7 @@ mayscript>
|
||||||
'editable': false,
|
'editable': false,
|
||||||
'selectable': true,
|
'selectable': true,
|
||||||
'style': 'box',
|
'style': 'box',
|
||||||
'locale': '<?= $this->params['session']->getLanguage() ?>'
|
'locale': '<?php echo $this->params['session']->getLanguage() ?>'
|
||||||
};
|
};
|
||||||
|
|
||||||
function onselect() {
|
function onselect() {
|
||||||
|
@ -2385,7 +2388,7 @@ mayscript>
|
||||||
timeline = new links.Timeline(document.getElementById('timeline'), options);
|
timeline = new links.Timeline(document.getElementById('timeline'), options);
|
||||||
links.events.addListener(timeline, 'select', onselect);
|
links.events.addListener(timeline, 'select', onselect);
|
||||||
$.getJSON(
|
$.getJSON(
|
||||||
'<?= $timelineurl ?>',
|
'<?php echo $timelineurl ?>',
|
||||||
function(data) {
|
function(data) {
|
||||||
$.each( data, function( key, val ) {
|
$.each( data, function( key, val ) {
|
||||||
val.start = new Date(val.start);
|
val.start = new Date(val.start);
|
||||||
|
@ -2399,7 +2402,7 @@ mayscript>
|
||||||
|
|
||||||
protected function printTimelineHtml($height) { /* {{{ */
|
protected function printTimelineHtml($height) { /* {{{ */
|
||||||
?>
|
?>
|
||||||
<div id="timeline" style="height: <?= $height ?>px;"></div>
|
<div id="timeline" style="height: <?php echo $height ?>px;"></div>
|
||||||
<?php
|
<?php
|
||||||
} /* }}} */
|
} /* }}} */
|
||||||
|
|
||||||
|
|
|
@ -633,4 +633,3 @@ class SeedDMS_View_Search extends SeedDMS_Bootstrap_Style {
|
||||||
} /* }}} */
|
} /* }}} */
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
|
|
||||||
|
|
|
@ -205,7 +205,7 @@ $(document).ready(function () {
|
||||||
?>
|
?>
|
||||||
<form action="../out/out.Timeline.php" class="form form-inline" name="form1" id="form1">
|
<form action="../out/out.Timeline.php" class="form form-inline" name="form1" id="form1">
|
||||||
<div class="control-group">
|
<div class="control-group">
|
||||||
<label class="control-label" for="startdate"><?= getMLText('date') ?></label>
|
<label class="control-label" for="startdate"><?php printMLText('date') ?></label>
|
||||||
<div class="controls">
|
<div class="controls">
|
||||||
<span class="input-append date" style="display: inline;" id="fromdate" data-date="<?php echo date('Y-m-d', $from); ?>" data-date-format="yyyy-mm-dd" data-date-language="<?php echo str_replace('_', '-', $this->params['session']->getLanguage()); ?>">
|
<span class="input-append date" style="display: inline;" id="fromdate" data-date="<?php echo date('Y-m-d', $from); ?>" data-date-format="yyyy-mm-dd" data-date-language="<?php echo str_replace('_', '-', $this->params['session']->getLanguage()); ?>">
|
||||||
<input type="text" class="input-small" name="fromdate" value="<?php echo date('Y-m-d', $from); ?>"/>
|
<input type="text" class="input-small" name="fromdate" value="<?php echo date('Y-m-d', $from); ?>"/>
|
||||||
|
@ -218,15 +218,15 @@ $(document).ready(function () {
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="control-group">
|
<div class="control-group">
|
||||||
<label class="control-label" for="skip"><?= getMLText('exclude_items') ?></label>
|
<label class="control-label" for="skip"><?php printMLText('exclude_items') ?></label>
|
||||||
<div class="controls">
|
<div class="controls">
|
||||||
<input type="checkbox" name="skip[]" value="add_file" <?= ($skip && in_array('add_file', $skip)) ? 'checked' : '' ?>> <?= getMLText('timeline_skip_add_file') ?><br />
|
<input type="checkbox" name="skip[]" value="add_file" <?php echo ($skip && in_array('add_file', $skip)) ? 'checked' : '' ?>> <?php printMLText('timeline_skip_add_file') ?><br />
|
||||||
<input type="checkbox" name="skip[]" value="status_change_0" <?= ($skip && in_array('status_change_0', $skip)) ? 'checked' : '' ?>> <?= getMLText('timeline_skip_status_change_0') ?><br />
|
<input type="checkbox" name="skip[]" value="status_change_0" <?php echo ($skip && in_array('status_change_0', $skip)) ? 'checked' : '' ?>> <?php printMLText('timeline_skip_status_change_0') ?><br />
|
||||||
<input type="checkbox" name="skip[]" value="status_change_1" <?= ($skip && in_array('status_change_1', $skip)) ? 'checked' : '' ?>> <?= getMLText('timeline_skip_status_change_1') ?><br />
|
<input type="checkbox" name="skip[]" value="status_change_1" <?php echo ($skip && in_array('status_change_1', $skip)) ? 'checked' : '' ?>> <?php printMLText('timeline_skip_status_change_1') ?><br />
|
||||||
<input type="checkbox" name="skip[]" value="status_change_2" <?= ($skip && in_array('status_change_2', $skip)) ? 'checked' : '' ?>> <?= getMLText('timeline_skip_status_change_2') ?><br />
|
<input type="checkbox" name="skip[]" value="status_change_2" <?php echo ($skip && in_array('status_change_2', $skip)) ? 'checked' : '' ?>> <?php printMLText('timeline_skip_status_change_2') ?><br />
|
||||||
<input type="checkbox" name="skip[]" value="status_change_3" <?= ($skip && in_array('status_change_3', $skip)) ? 'checked' : '' ?>> <?= getMLText('timeline_skip_status_change_3') ?><br />
|
<input type="checkbox" name="skip[]" value="status_change_3" <?php echo ($skip && in_array('status_change_3', $skip)) ? 'checked' : '' ?>> <?php printMLText('timeline_skip_status_change_3') ?><br />
|
||||||
<input type="checkbox" name="skip[]" value="status_change_-1" <?= ($skip && in_array('status_change_-1', $skip)) ? 'checked' : '' ?>> <?= getMLText('timeline_skip_status_change_-1') ?><br />
|
<input type="checkbox" name="skip[]" value="status_change_-1" <?php echo ($skip && in_array('status_change_-1', $skip)) ? 'checked' : '' ?>> <?php printMLText('timeline_skip_status_change_-1') ?><br />
|
||||||
<input type="checkbox" name="skip[]" value="status_change_-3" <?= ($skip && in_array('status_change_-3', $skip)) ? 'checked' : '' ?>> <?= getMLText('timeline_skip_status_change_-3') ?><br />
|
<input type="checkbox" name="skip[]" value="status_change_-3" <?php echo ($skip && in_array('status_change_-3', $skip)) ? 'checked' : '' ?>> <?php printMLText('timeline_skip_status_change_-3') ?><br />
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="control-group">
|
<div class="control-group">
|
||||||
|
|
Loading…
Reference in New Issue
Block a user