Commit Graph

58 Commits

Author SHA1 Message Date
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
380f69a95a new version 1.2.7 2018-01-18 08:47:50 +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
7bd625c8fb new version 1.2.6 2017-12-04 10:59:48 +01:00
Uwe Steinmann
76bc672f5c new method addConverter() 2017-12-04 10:59:07 +01:00
Uwe Steinmann
68a6904f70 add converter for mp4 videos 2017-11-22 15:28:28 +01:00
Uwe Steinmann
59be3c3598 start new version 1.2.5, add default converter for images 2017-11-22 13:52:24 +01:00
Uwe Steinmann
8e73d88e8e hasConverter() checks if cmd is actually set 2017-11-22 13:50:24 +01:00
Uwe Steinmann
d4b3540130 add some more preview commands 2017-10-27 07:22:11 +02:00
Uwe Steinmann
5fc430f1ea new version 1.2.4 2017-10-11 14:41:45 +02:00
Uwe Steinmann
0be8766fce fix typo in converter 2017-10-11 14:40:14 +02:00
Uwe Steinmann
a1ca5991d8 remove some empty lines 2017-09-18 10:23:26 +02:00
Uwe Steinmann
82ca6f8302 createPreview() returns false if command cannot be executed 2017-09-18 10:22:39 +02:00
Uwe Steinmann
8c776c8269 new version 1.2.3 2017-09-18 07:14:39 +02:00
Uwe Steinmann
626c65b0e4 createPreview() returns falls if converter programm fails 2017-09-18 07:14:09 +02:00
Uwe Steinmann
9e1000506d add note for 1.2.2 2017-03-02 08:21:19 +01:00
Uwe Steinmann
e5ee075a2d allow 'xxx/*' and '*' as wild card mimetypes 2017-03-02 08:00:28 +01: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
787fb4777b new version 1.2.2 2017-03-02 07:16:26 +01:00
Uwe Steinmann
a7cff8e309 new version 1.2.1 2016-11-15 21:08:26 +01:00
Uwe Steinmann
125697a287 setConverters() overrides existing converters 2016-11-15 21:08:03 +01:00
Uwe Steinmann
7292bfe343 add missing files to package 2016-11-07 16:29:21 +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
54c295276b add note 2016-07-06 09:02:16 +02:00
Uwe Steinmann
4b0787147f check if cache dir exists before deleting it 2016-07-06 09:00:56 +02:00
Uwe Steinmann
b6a0d5f60d add note 2016-07-04 20:52:17 +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
8ee518e69b new version 1.1.9 2016-04-26 12:08:35 +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
3b800b702e new version 1.1.8 2016-04-05 15:17:48 +02:00
Uwe Steinmann
ecdbc03d6a stream_select may pass only variables by reference 2016-04-05 15:15:59 +02:00
Uwe Steinmann
2bef65d6ff start new version 1.1.7 2016-03-29 08:13:56 +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
7cc0821136 new version 1.1.6 2016-03-08 18:38:57 +01:00
Uwe Steinmann
02307528ba check if $object is set 2016-03-08 17:22:46 +01:00
Uwe Steinmann
31ae8b34a9 add note for 1.1.5 2016-02-15 10:38:52 +01:00
Uwe Steinmann
8bcca6a16a timeout for external command can be passed to previewer 2016-02-15 10:38:27 +01:00
Uwe Steinmann
3c5e294d44 new version 1.1.5 2016-02-11 17:50:30 +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
ce756a5939 new version 1.1.4 2015-08-08 09:38:34 +02:00
Uwe Steinmann
1ad145ffad run command with timeout 2015-08-08 09:35:44 +02:00
Uwe Steinmann
f435244b32 new version 1.1.3 2015-02-13 17:42:22 +01: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