Helena Mariano
42bcff6668
fix unbounded memory consumption vulnerability ( #111 )
...
Co-authored-by: Helena Mariano <31138349+helenamariano@users.noreply.github.com >
v1.2.1
2022-07-18 15:47:08 +10:00
Helena Mariano
b19021ade3
Fix remote code execution vulnerability in the PDF OCR converter ( #110 )
...
ENG-3252
2022-07-07 14:16:47 +10:00
David Howden
44d6739947
client: improve client error messages ( #113 )
2022-06-28 17:00:34 +10:00
Helena Mariano
2894bd7093
update: generate iWork proto files with latest version of protoc ( #107 )
2022-06-28 12:30:03 +10:00
Jessica
f445ac19cb
doc: update msoleps dependency ( #108 )
...
There's a new version of the msoleps library used for .doc parsing that fixes a stack overflow bug in OLE Property Set handling.
2022-06-08 15:51:21 +10:00
Jonathan Sokolowski
c8f472b62a
README: add an example using curl ( #102 )
2021-08-20 12:17:24 +10:00
Jonathan Sokolowski
c37a0df82a
docd/appengine: use 1.2.0 release
2021-08-20 10:34:49 +10:00
Jonathan Sokolowski
a6ea64d0ff
.github: tag docd image with git SHA
v1.2.0
2021-08-20 09:55:11 +10:00
Jonathan Sokolowski
7858c13659
.github: add workflow_dispatch trigger to docd
2021-08-20 09:38:10 +10:00
Jonathan Sokolowski
88cb39368e
docd: refactor Dockerfile and publish to DockerHub ( #101 )
...
* Use multi-stage build to compile docd
* Bring debian variant up to date
* Deprecate the alpine variant
* Add GitHub action to publish an official image to DockerHub
* Use published image as the AppEngine custom runtime
2021-08-18 19:16:30 +10:00
jus
c691ef7650
Updated dependency for poppler and removed bash arg check ( #100 )
2021-08-18 14:12:43 +10:00
David Howden
c8a60e3f4d
doc: improve metadata parsing so that titles can be reliably extracted ( #99 )
2021-08-17 17:41:37 +10:00
Jonathan Ingram
7b3472bc32
add test for TestConvertHTML ( #93 )
...
Use table tests with current package value "", and "good".
Co-authored-by: Remo Senekowitsch <remo@belegerfassung.ch >
2021-04-27 10:13:43 +10:00
Jonathan Ingram
d6ce91ecd3
actions: stop building for Go 1.13
...
We want to use testing.Cleanup which was added in 1.14.
2021-04-27 09:29:53 +10:00
remLse
6b8d2b5d66
rtf: don't ignore lines less than 5 characters long ( #91 )
...
It looks like the original author of this function intended to do a bounds check
on the line variable before checking if it has the `### ` prefix. Instead, we can
just use `strings.HasPrefix` which also means that shorter lines are now
included in the output.
Co-authored-by: Remo Senekowitsch <remo.senekowitsch@icloud.com >
2021-04-12 19:49:41 +10:00
Jonathan Ingram
6897b7b9d4
pptx_test: check returned error before deferring f.Close()
2021-04-09 20:37:33 +10:00
Jonathan Ingram
3800ce70dc
add note about ignored error check
2021-04-09 20:37:33 +10:00
Jonathan Ingram
bbb3aa9625
docd: remove unused convertPath function
2021-04-09 20:37:33 +10:00
Jonathan Ingram
70dbd5cc69
remove path separator from ioutil.TempFile prefix
...
In [1], from Go1.15 path separators are rejected in ioutil.TempFile.
Refs #87
[1] https://github.com/golang/go/commit/12cd55c062d6062a64076cb37f12ab7646df1be7
2021-04-09 20:23:50 +10:00
Jonathan Ingram
be0383cc87
add Sourcegraph badge to README
2021-03-29 09:51:09 +11:00
Jonathan Ingram
88dc5a8a19
use GitHub actions instead of Travis
...
Also update README GoDoc badge to pkg.go.dev.
2021-03-29 09:28:16 +11:00
Jonathan Ingram
389c4aebd9
readme: fix typo
2021-03-29 09:05:38 +11:00
Jonathan Ingram
d9ea05fbd5
readme: tidy
2020-07-01 16:26:49 -07:00
superxin
963655a30a
support PowerPoint files in Convert functions
2020-07-02 08:05:20 +10:00
Hamish
c4a9e3d578
ocr: update gosseract to v2
...
This also allows multiple gosseract languages to be provided.
Co-authored-by: Jonathan Ingram <jonathan.b.ingram@gmail.com >
2020-07-02 07:46:51 +10:00
superxin
dd4e7b5a2c
pptx: add support for MS PowerPoint files ( #71 )
2020-06-24 10:32:35 +10:00
Hamish
f04c8759ea
docd: appengine build fix
2020-06-12 11:32:40 -07:00
Hamish
ee07bdd5c3
avoid double copy on tidy
2020-06-11 14:40:40 -07:00
Hamish
9c542a257b
Update tidy pkg to use NewLocalFile func
...
Co-Authored-By: Ben Hinchley <bhinchley@sajari.com >
2020-06-11 14:40:40 -07:00
Hamish
d37fc7c11e
support windows temp directories
2020-06-11 14:40:40 -07:00
Hamish
a8f1262a60
add go mod support
2020-06-11 13:14:24 -07:00
Benjamin Hinchley
1fd4d7a6c8
pdf: add extra time layout for pdfs
2019-10-16 14:41:55 +11:00
David Howden
e3975370dc
try to avoid loading file data into slices
2019-09-27 17:08:32 +10:00
Daniel Machado Kraus
d82a45ebfe
Fixes
...
rename variables,
fix test package of test resources,
declare internal structure as private structure
2019-09-27 16:31:09 +10:00
Daniel Machado Kraus
83716c35de
Get docx contents reading [Content_Types].xml to get correct file names
2019-09-27 16:31:09 +10:00
David Howden
eedabc494f
docd: return error messages in the response
v1.1.0
2018-02-07 16:45:20 +11:00
David Howden
142d49c1b0
travis: update to remove old versions of go
2018-02-07 14:19:16 +11:00
David Howden
01ef350e70
docconv-client: added missing error return code
2018-02-07 14:07:40 +11:00
David Howden
6f9795e9ba
client: added docconv-client cli tool
2018-02-07 14:06:06 +11:00
Benjamin Hinchley
b2673e6415
build: tag build alpine docker container
...
with either a passed through tag or the current commit
2018-02-07 14:05:06 +11:00
Benjamin Hinchley
99ebc37d51
docker: clean up install.sh
2018-02-07 14:05:06 +11:00
Benjamin Hinchley
53e48e48ef
docker: pin alpine version and pkg versions
2018-02-07 14:05:06 +11:00
Hamish
be3ca2a94e
update readme to include appengine based service
2018-02-06 15:06:10 +11:00
Hamish
50796b5fb7
appengine custom runtime
2018-02-06 15:06:10 +11:00
David Howden
0d607f7a81
fix README to use new godoc urls
2017-12-28 11:57:44 +11:00
David Howden
13cb94f195
fix travis build
2017-12-27 23:48:45 +11:00
David Howden
cc5d07e999
moved pkg to code.sajari.com/docconv
2017-12-27 18:26:17 +11:00
Hamish
75a7a560c6
updating travis.yaml
2017-12-01 16:27:07 +11:00
Hamish
20bc8e5097
cleanup: naming, empty lines, remove race condition
2017-12-01 15:43:49 +11:00
Martin Hendleman
e67527519f
fixes channel buffering issue
2017-12-01 15:23:46 +11:00