Uwe Steinmann
|
58fd8877fb
|
use DIRECTORY_SEPARATOR, add prefix 'png', 'txt', 'pdf' to previewDir
|
2023-01-05 15:08:05 +01:00 |
|
Uwe Steinmann
|
18ea59bfc7
|
add more documentation
|
2023-01-04 14:31:59 +01:00 |
|
Uwe Steinmann
|
8418bb962d
|
use get getClassname() for getting class of documentfile
|
2023-01-02 19:35:35 +01:00 |
|
Uwe Steinmann
|
6f9ec7cdc3
|
$width passed to getFileName() is optional
|
2022-12-07 17:03:11 +01:00 |
|
Uwe Steinmann
|
ad0f3b2cfe
|
better error checking if conversion fails
|
2022-04-08 12:44:10 +02:00 |
|
Uwe Steinmann
|
0508ccaa1c
|
new version 1.4.0, support for conversion mgr
|
2021-10-16 16:32:25 +02:00 |
|
Uwe Steinmann
|
898943dd6e
|
add new conversion manager and services
|
2021-10-06 15:03:03 +02:00 |
|
Uwe Steinmann
|
4f59c3b4e8
|
execWithTimeout() closes all pipes and also returns return value of cmd
|
2021-05-10 08:54:18 +02:00 |
|
Uwe Steinmann
|
c37802fdca
|
add opitonal parameter $new to createRawPreview() and createPreview()
|
2021-05-09 13:48:36 +02:00 |
|
Uwe Steinmann
|
e830477bf0
|
new method getPreviewFile(), start version 1.13.0
|
2020-01-21 08:11:03 +01:00 |
|
Uwe Steinmann
|
392a7e4a51
|
make getFileName() public
|
2020-01-13 17:31:59 +01:00 |
|
Uwe Steinmann
|
8337a7602e
|
make getFileName() protected
|
2019-02-11 20:41:37 +01:00 |
|
Uwe Steinmann
|
5353e28fae
|
the use of xsendfile can be set
|
2019-01-18 13:05:10 +01:00 |
|
Uwe Steinmann
|
268f1ef0aa
|
make getFileName() public
|
2018-09-29 15:59:58 +02:00 |
|
Uwe Steinmann
|
7f2dd8513f
|
fix creation of preview if SeedDMS_Core_DocumentContent has been derived
|
2018-03-08 15:13:17 +01:00 |
|
Uwe Steinmann
|
a47300be26
|
execWithTimeout() also reads data from stderr
currently not evaluated but could be used to find errors when a
converter is called
|
2018-01-30 06:26:54 +01:00 |
|
Uwe Steinmann
|
a28d121610
|
add SeedDMS_Preview_Base::sendfile() which uses xsendfile if available
|
2018-01-18 08:45:34 +01:00 |
|
Uwe Steinmann
|
0be8766fce
|
fix typo in converter
|
2017-10-11 14:40:14 +02:00 |
|
Uwe Steinmann
|
626c65b0e4
|
createPreview() returns falls if converter programm fails
|
2017-09-18 07:14:09 +02:00 |
|
Uwe Steinmann
|
5cbaf0e7a8
|
replace %m in converter cmd with mimetype
|
2017-03-02 07:59:49 +01:00 |
|
Uwe Steinmann
|
d563333f05
|
commands can be assigned to mimetype 'xxx/*' and '*'
|
2017-03-02 07:16:42 +01:00 |
|
Uwe Steinmann
|
531b645a2d
|
new version 1.2.0
addѕ previewer which converts documents to pdf instead of png
|
2016-11-07 08:52:46 +01:00 |
|
Uwe Steinmann
|
674de91419
|
add more documentation, add fold marks
|
2016-11-05 12:39:57 +01:00 |
|
Uwe Steinmann
|
5ee4253fe0
|
converters can be set by setConverters()
|
2016-11-05 12:36:01 +01:00 |
|
Uwe Steinmann
|
4b0787147f
|
check if cache dir exists before deleting it
|
2016-07-06 09:00:56 +02:00 |
|
Uwe Steinmann
|
5bd85e50f6
|
fix calculation of timeout
|
2016-07-04 20:51:17 +02:00 |
|
Uwe Steinmann
|
ecf6c13fe4
|
make recurseRmdir() static
|
2016-05-03 08:36:06 +02:00 |
|
Uwe Steinmann
|
b2186874e6
|
lots of documentation, new methods
deleteDocumentPreviews() removeѕ all previews of a document,
finisch deletePreview()
|
2016-04-26 12:07:39 +02:00 |
|
Uwe Steinmann
|
ecdbc03d6a
|
stream_select may pass only variables by reference
|
2016-04-05 15:15:59 +02:00 |
|
Uwe Steinmann
|
ae1afe4c23
|
set micro sec. of stream_select() to 200000
reduces cpu load if timeout was set to 0
|
2016-03-29 08:12:20 +02:00 |
|
Uwe Steinmann
|
02307528ba
|
check if $object is set
|
2016-03-08 17:22:46 +01:00 |
|
Uwe Steinmann
|
8bcca6a16a
|
timeout for external command can be passed to previewer
|
2016-02-15 10:38:27 +01:00 |
|
Uwe Steinmann
|
31d02f8114
|
add method getFilesize()
|
2016-02-11 17:47:05 +01:00 |
|
Uwe Steinmann
|
c3982f05bf
|
previews can be created from files on the disc (e.g. the dropfolder)
|
2015-09-03 15:13:06 +02:00 |
|
Uwe Steinmann
|
1ad145ffad
|
run command with timeout
|
2015-08-08 09:35:44 +02:00 |
|
Uwe Steinmann
|
ad6e730999
|
check if cache preview image is older than version
force creation of new preview image in that case
|
2015-02-13 17:40:16 +01:00 |
|
Uwe Steinmann
|
dfb0ca25bd
|
set density of preview created from tar.gz files to 100
|
2014-05-28 15:00:38 +02:00 |
|
Uwe Steinmann
|
f387327429
|
set density to 100 if preview is created from pdf or ps file
|
2014-05-28 14:58:26 +02:00 |
|
Uwe Steinmann
|
a1077b5441
|
make sure the image has always the requested width
|
2014-04-10 21:37:45 +02:00 |
|
Uwe Steinmann
|
fecc6d2804
|
add commands for make previews of tar.gz, .ps, .txt
|
2014-03-18 10:04:12 +01:00 |
|
Uwe Steinmann
|
9f7b665c48
|
create preview from document files as well
a preview image can now be created from a document content or
a document file.
|
2013-04-29 19:30:25 +02:00 |
|
Uwe Steinmann
|
73c6ff9427
|
major name change from letodms to seeddms
|
2013-02-14 12:10:53 +01:00 |
|