Commit Graph

66 Commits

Author SHA1 Message Date
Uwe Steinmann
4c8a2496b6 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2021-10-16 17:46:34 +02:00
Uwe Steinmann
0508ccaa1c new version 1.4.0, support for conversion mgr 2021-10-16 16:32:25 +02:00
Uwe Steinmann
a830b18fc3 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2021-10-06 15:19:14 +02:00
Uwe Steinmann
898943dd6e add new conversion manager and services 2021-10-06 15:03:03 +02:00
Uwe Steinmann
266ae182f0 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2021-05-10 09:03:15 +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
6d817b333c Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2021-05-09 13:49:06 +02:00
Uwe Steinmann
c37802fdca add opitonal parameter $new to createRawPreview() and createPreview() 2021-05-09 13:48:36 +02:00
Uwe Steinmann
8fbb5fe24c Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2021-03-26 07:51:19 +01:00
Uwe Steinmann
086a231b1f add 'exec' to command call 2021-03-25 15:42:28 +01:00
Uwe Steinmann
31ac06cfa8 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2020-12-23 06:25:46 +01:00
Uwe Steinmann
62d19aa808 set header Content-Length 2020-12-23 06:19:52 +01:00
Uwe Steinmann
839607e1ca Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2020-03-23 06:41:15 +01:00
Uwe Steinmann
ceb6808c68 pass $target to hasRawPreview and getRawPreview just like createRawPreview 2020-03-22 09:26:47 +01:00
Uwe Steinmann
5ff1333c9f Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2020-02-12 17:29:52 +01:00
Uwe Steinmann
8b6d070a98 set proper name of last preview file 2020-02-12 17:21:02 +01:00
Uwe Steinmann
11a8a8087f Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2020-01-21 17:32:24 +01:00
Uwe Steinmann
e830477bf0 new method getPreviewFile(), start version 1.13.0 2020-01-21 08:11:03 +01:00
Uwe Steinmann
0643a3dc87 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2020-01-14 13:21:44 +01:00
Uwe Steinmann
392a7e4a51 make getFileName() public 2020-01-13 17:31:59 +01:00
Uwe Steinmann
963f2b9b78 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2019-02-11 22:00:31 +01:00
Uwe Steinmann
adf55b927c fix error when document content is not of class SeedDMS_Core_DocumentContent 2019-02-11 20:42:39 +01:00
Uwe Steinmann
8337a7602e make getFileName() protected 2019-02-11 20:41:37 +01:00
Uwe Steinmann
4b76b5e6ae Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2019-02-01 09:30:32 +01:00
Uwe Steinmann
5353e28fae the use of xsendfile can be set 2019-01-18 13:05:10 +01:00
Uwe Steinmann
a4ddbd6605 Merge branch 'seeddms-5.1.x' into seeddms-6.0.x 2018-11-12 13:33:56 +01:00
Uwe Steinmann
268f1ef0aa make getFileName() public 2018-09-29 15:59:58 +02:00
Uwe Steinmann
666ced5fea usage of sendfile can be configured 2018-03-29 17:15:17 +02:00
Uwe Steinmann
49af6ab171 make sure list of converters is an array, start new version 1.2.9 2018-03-20 11:08:08 +01: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
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
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
626c65b0e4 createPreview() returns falls if converter programm fails 2017-09-18 07:14:09 +02: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
125697a287 setConverters() overrides existing converters 2016-11-15 21:08:03 +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