Alireza Ghasemi
785a29a00d
go.mod: use the latest upstream richardlehane/msoleps dep ( #164 )
2024-03-04 09:20:02 +11:00
Juho Nurminen
6e3f8759fa
Merge pull request from GHSA-3qm5-5hmp-8c6w
...
* Limit the size of the content type definition in OOXML
* Improve naming in OOXML tests
* Check OOXML error type in tests
v2.0.0-pre.4
2024-01-19 10:47:18 +11:00
Jonathan Ingram
232da35238
docd: fix Docker workflow ( #160 )
v2.0.0-pre.3
2023-11-20 19:55:04 +11:00
Jonathan Ingram
36fd47d63a
add linux/arm64 platform to docd image ( #159 )
...
Refs #142
v2.0.0-pre.2
2023-11-20 18:30:50 +11:00
Jonathan Ingram
7d3f204a12
docd/appengine: use 2 instances ( #158 )
2023-11-20 14:50:51 +11:00
Jonathan Ingram
87d9a67795
docd/appengine: double memory ( #157 )
2023-11-20 14:41:36 +11:00
Jonathan Ingram
8b59f16203
go.mod: use github.com/sajari/msoleps@race-fix ( #156 )
...
See [my race fix PR]. Saw the issue in our logs, so using our fork for
now.
[my race fix PR]: https://github.com/richardlehane/msoleps/pull/6
2023-11-20 14:41:17 +11:00
Jonathan Ingram
08652136d5
docd: don't panic on broken pipe errors ( #155 )
...
Example log entry that is panicking:
> could not write to response (failed after 3965 bytes): write tcp 172.17.0.5:8080->172.17.0.4:61528: write: broken pipe
2023-11-20 13:42:55 +11:00
dependabot[bot]
9cc631a876
go.mod: bump google.golang.org/grpc from 1.44.0 to 1.56.3 ( #152 )
...
Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go ) from 1.44.0 to 1.56.3.
- [Release notes](https://github.com/grpc/grpc-go/releases )
- [Commits](https://github.com/grpc/grpc-go/compare/v1.44.0...v1.56.3 )
---
updated-dependencies:
- dependency-name: google.golang.org/grpc
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-31 11:40:13 +11:00
dependabot[bot]
316980ea5d
go.mod: bump golang.org/x/net from 0.7.0 to 0.17.0 ( #154 )
...
Bumps [golang.org/x/net](https://github.com/golang/net ) from 0.7.0 to 0.17.0.
- [Commits](https://github.com/golang/net/compare/v0.7.0...v0.17.0 )
---
updated-dependencies:
- dependency-name: golang.org/x/net
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-31 11:37:21 +11:00
Jonathan Ingram
93312f47fc
v2: initial commit ( #153 )
...
- Some methods have been changed to return an error as their last
argument
- Log calls inside various functions have been removed
- Use a v1 tag if you need the previous signature
2023-10-31 11:32:40 +11:00
Jonathan Ingram
e9e59ef5ce
readme: add macOS instructions for dependencies section ( #151 )
2023-10-31 09:29:30 +11:00
Jonathan Ingram
07e99022fc
docd/appengine: bump to 1.3.8 ( #150 )
2023-10-31 09:17:52 +11:00
Jonathan Ingram
bad757077a
docd: add slog and JSON logging ( #149 )
v1.3.8
2023-10-30 16:53:28 +11:00
Jonathan Ingram
1937742d41
docd/appengine: bump to 1.3.7 ( #146 )
2023-09-13 15:32:45 +10:00
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