Jonathan Ingram
48caff118f
docd: bump to Go 1.21 and debian:12 ( #145 )
...
Also show Go version in startup logs.
v1.3.7
2023-09-13 15:09:12 +10:00
Jonathan Ingram
64464198fe
.github: test against Go 1.21 ( #144 )
2023-09-13 15:03:20 +10:00
guangwu
a000b5d069
all: remove refs to deprecated io/ioutil ( #140 )
v1.3.6
2023-09-13 14:33:58 +10:00
Andrea Mugellini
a3b1ff20f3
doc: channel response before return ( #134 )
...
Co-authored-by: Andrea Mugellini <a.mugellini@theswarm.co >
2023-09-13 14:25:53 +10:00
Jonathan Ingram
603e7806de
doc: add simple test for ConvertDoc for .doc files ( #143 )
2023-09-13 14:14:13 +10:00
Robert Haist
8c168b3567
readme: update code.sajari.com/docconv/docd installation instructions ( #132 )
...
---------
Co-authored-by: Jonathan Ingram <jon.ingram@algolia.com >
2023-03-06 12:33:52 +11:00
dependabot[bot]
e0a721066a
increase min Go version to 1.19 and bump golang.org/x/net@0.7.0 ( #135 )
2023-03-06 12:21:23 +11:00
Jonathan Ingram
ab693bd29c
docd/appengine: use 1.3.5 release ( #131 )
...
Contains the ca-certificates so error reporting can contact its API.
2022-09-21 09:57:00 +10:00
Jonathan Ingram
6d3950a43a
docd: install ca-certificates ( #130 )
v1.3.5
2022-09-21 09:39:40 +10:00
Jonathan Ingram
1875c84a23
docd/appengine: enable error reporting and bump version ( #129 )
2022-09-21 09:39:17 +10:00
Jonathan Ingram
106aaadb76
docd: fallback to AppEngine env vars when flags not provided ( #128 )
v1.3.4
2022-09-20 17:44:59 +10:00
Jonathan Ingram
f48142557c
docd: return JSON errors when things fail ( #127 )
v1.3.3
2022-09-20 17:36:18 +10:00
Jonathan Ingram
c6fca3224d
docd/appengine: use 1.3.2 release ( #126 )
2022-09-20 16:59:09 +10:00
Jonathan Ingram
f7c0a24696
docd: fix binary paths ( #125 )
v1.3.2
2022-09-20 15:49:57 +10:00
Jonathan Ingram
e0eaf8afca
docd: fix Dockerfile after change to Go 1.19 ( #124 )
v1.3.1
2022-09-20 15:26:29 +10:00
Jonathan Ingram
6d8c9df3fc
docd: add recovery middleware and allow reporting errors to GCP ( #121 )
v1.3.0
2022-09-20 14:18:37 +10:00
Jonathan Ingram
e52737e9fc
docd: use Go 1.19 to build base image ( #123 )
2022-09-20 14:18:24 +10:00
Jonathan Ingram
cdb328aec3
.github: add Go 1.19 to matrix ( #122 )
2022-09-20 13:51:07 +10:00
Jonathan Ingram
3bb63564e6
docd/appengine: use 1.2.1 release ( #120 )
2022-09-20 12:59:03 +10:00
Jonathan Ingram
aa395e1332
convert-doc: don't use doc if there was an error ( #117 )
...
Avoids panics.
2022-09-05 11:33:11 +10:00
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