Julien Neuhart
e3366d0b62
adding new attribute lock ( #8 )
2018-05-16 12:06:30 +02:00
Julien Neuhart
5100693789
new attribute interpreter for commands ( #7 )
2018-05-16 10:55:08 +02:00
Julien Neuhart
faec55dd01
slighty improvement of logging ( #6 )
2018-05-16 10:02:07 +02:00
Julien Neuhart
2871fb1ffe
improving logging ( #5 )
...
* small refactoring of error messages
* (very) small refactoring of structs instantiation
* improving logging with debug messages
* using INFO level as default + changing previous debug message to info message
2018-05-04 17:43:19 +02:00
Julien Neuhart
4997b73bac
new feature: users are now able to provide more file types to convert by adding entries in their configuration file ( #3 )
...
* new feature: users are now able to provide more file types to convert by adding entries in their configuration file
* removing README blueprint: was not working correctly
* improving code coverage of config package
2018-05-03 17:18:55 +02:00
Julien Neuhart
c8be370953
adding test for handler package for simulating multiple requests at once
2018-04-12 12:06:43 +02:00
Julien Neuhart
dd4beb4919
improving tests code coverage of process package
2018-04-11 18:00:18 +02:00
Julien Neuhart
37e2958e7b
improving tests code coverage of app package
2018-04-11 17:57:18 +02:00
Julien Neuhart
d43fb62cd8
improving tests coverage of http package + using a real word request when testing enforceContentTypeHandler
2018-04-11 17:38:34 +02:00
Julien Neuhart
158bc9b3ea
adding godoc for NoFileToConvertError
2018-04-11 14:28:33 +02:00
Julien Neuhart
76f120d6f6
refactoring process tests + adding lock on run function
2018-04-11 14:25:36 +02:00
Julien Neuhart
2e03070618
refactoring handlers package tests
2018-04-11 13:42:54 +02:00
Julien Neuhart
35e1894c89
now returing bad request if no file to convert
2018-04-11 13:33:12 +02:00
Julien Neuhart
a1abbc55a2
refactoring all tests but handlers and process
2018-04-11 13:30:02 +02:00
Julien Neuhart
6b5a214462
handling case no file to convert
2018-04-11 09:58:36 +02:00
Julien Neuhart
f59054b5e0
if a converter has been created, cleanup its file if an error happens
2018-04-11 09:47:54 +02:00
Julien Neuhart
46d55016f0
moving withConverter call up
2018-04-10 18:03:35 +02:00
Julien Neuhart
14580e9501
telling the world we support Markdown files
2018-04-10 17:14:01 +02:00
Julien Neuhart
187485a9a1
small refactoring of process package
2018-04-10 17:09:59 +02:00
Julien Neuhart
a283f37227
refactoring config package
2018-04-10 17:08:31 +02:00
Julien Neuhart
e29ab4760a
adding markdown conversion to PDF + fixing some issue in CI process
2018-04-10 16:56:30 +02:00
Julien Neuhart
50f81f16f6
improving cleanup in handlers
2018-04-10 15:32:01 +02:00
Julien Neuhart
ad21fb3c8c
removing commented test
2018-04-10 13:42:14 +02:00
Julien Neuhart
3860c151de
preparing mardown file handling in Dockerfiles + refactoring build directory
2018-04-10 13:26:23 +02:00
Julien Neuhart
bca02f6198
refactoring: now detecting file type using filename from form data. Also, only one accepted content type
2018-04-08 21:49:02 +02:00
Julien Neuhart
23edd518fd
renaming github.com/gulien to github.com/thecodingmachine
2018-04-06 12:19:14 +02:00
Julien Neuhart
bf28499e18
fixing test in process package + tests for app package
2018-04-05 17:57:15 +02:00
Julien Neuhart
acea482456
refactoring multipart from data handling from converter + tests for converter package
2018-04-05 15:20:44 +02:00
Julien Neuhart
62ad3e20fa
tests for process package
2018-04-05 11:24:14 +02:00
Julien Neuhart
ee15a52001
improving code coverage
2018-04-05 10:36:38 +02:00
Julien Neuhart
15916e80e6
tests for http package
2018-04-04 18:10:18 +02:00
Julien Neuhart
3d8247ec50
tests for context package + typos
2018-04-04 17:59:45 +02:00
Julien Neuhart
ab745ca409
more tests + small refactoring (no more App struct)
2018-04-04 17:28:21 +02:00
Julien Neuhart
ec2bb72db5
adding new error when files key does not exist in the form data
2018-04-04 15:45:20 +02:00
Julien Neuhart
1564219f8b
adding first tests + small refactoring for tests
2018-04-04 15:17:04 +02:00
Julien Neuhart
4381504f95
accepted request content type are now octet stream and multipart form data
2018-04-03 12:01:12 +02:00
Julien Neuhart
e17754f7a1
removing redundant if err != nil
2018-04-03 11:55:39 +02:00
Julien Neuhart
e207247c4b
godoc for converter package + fixing typo in godoc of process package
2018-04-03 11:53:16 +02:00
Julien Neuhart
ed41e3e966
improving godoc for file package
2018-04-03 11:37:39 +02:00
Julien Neuhart
0966a322d1
godoc for process package + renaming some of its functions
2018-04-03 11:35:35 +02:00
Julien Neuhart
c440aa2957
godoc for file package + renaming some of its struct
2018-04-03 11:27:04 +02:00
Julien Neuhart
6206452e39
godoc for http package + improving godoc for config and handlers packages
2018-03-30 17:41:34 +02:00
Julien Neuhart
700f88b14e
godoc for context package
2018-03-30 17:23:56 +02:00
Julien Neuhart
a39a55a3c6
godoc for handlers package
2018-03-30 17:13:22 +02:00
Julien Neuhart
1ae7f1fe72
removing PDF from authorized content types in the error
2018-03-30 17:06:12 +02:00
Julien Neuhart
a4ee269fbc
typos in godoc
2018-03-30 13:13:55 +02:00
Julien Neuhart
6b0fb2c3f9
typo in godoc of config package
2018-03-30 13:12:00 +02:00
Julien Neuhart
4a93528f7e
godoc for config package + typo in godoc of app package
2018-03-30 13:09:22 +02:00
Julien Neuhart
2dc64b70e1
godoc for logger package + typo in godoc of main package + typo in gotenberg.yml
2018-03-30 12:00:46 +02:00
Julien Neuhart
91f5240cfd
removing server timeouts as some process might take time + improving default commands' timeouts + godoc for app and main packages
2018-03-30 11:09:23 +02:00