51 Commits

Author SHA1 Message Date
63c7beb8b9 Made footer text configureable
ref #36
2021-03-31 17:12:41 +02:00
e0add846bb Now formatting currency ans distance
ref #36
2021-03-31 16:24:05 +02:00
5ba26c4cbf Removed temporary background-image fix
ref #36
2021-03-31 16:05:13 +02:00
b82a32ae3e Fixed page size+background image
ref #36
2021-03-31 15:42:52 +02:00
955e11846b Added function for generateing runner certificates
ref #36
2021-03-31 15:18:36 +02:00
d01b4a0b99 Added config for amount of contracts per runner
ref #35
2021-03-13 14:01:30 +01:00
d9919404b5 Added logic for generateing multiple contracts per runner
ref #35
2021-03-13 13:59:34 +01:00
5e4d6f44da MAde disclaimer configurable via env
ref #33
2021-02-20 16:04:00 +01:00
29376a7782 Now loading sponsor logos from env
ref #14
2021-02-12 17:55:37 +01:00
68a1b8f3e0 Implmented sponsoring image selection from array
ref #14
2021-02-12 17:19:57 +01:00
9697d53a15 Fixed bug in array swapping function
ref #14
2021-02-12 17:06:20 +01:00
5c075bce8b Added barcode generatin
ref #19
2021-02-09 19:15:08 +01:00
b77945a9e4 Merge branch 'dev' into feature/14-card_generation 2021-02-09 18:43:32 +01:00
b0d42939a6 Merge branch 'dev' into feature/13-barcode_generation
# Conflicts:
#	src/PdfCreator.ts
#	src/config.ts
2021-02-09 17:35:20 +01:00
9a7c1d64fd Now loading barcode format from env with overwrite via query param
ref #13
2021-02-09 17:28:04 +01:00
edc846ab05 Implemented async barcode generation using async helpers
ref #13
2021-02-09 16:38:18 +01:00
4187a8e820 Fixed broken mime-type
ref #13
2021-02-08 17:52:04 +01:00
e1ec193a4f Removed promise
ref #13
2021-02-08 17:48:09 +01:00
6a14232889 🚀Bumped version to v0.1.3
All checks were successful
continuous-integration/drone/push Build is passing
2021-02-08 17:38:42 +01:00
7f58dd694b Fixed double-sided printing
ref #14
2021-02-08 16:14:10 +01:00
016f746c7c Styled front
ref #14
2021-02-08 15:53:44 +01:00
b4ebae283b Now loading interpolation vars from config/env
ref #16
2021-02-08 10:22:49 +01:00
8fc6c7176e Added basic card generation function
ref #14
2021-02-08 09:55:29 +01:00
75d2ac3c5f Added todo
ref #13
2021-02-08 09:47:28 +01:00
a35f8cfd3a First part of the handlebars barcode generation
ref #13
2021-02-08 09:11:59 +01:00
8072d0b194 Added basic barcode generation
ref #13
2021-02-08 08:32:39 +01:00
ea8028dfd5 Updated dockerfile & build for dockerized puppeteer
All checks were successful
continuous-integration/drone/push Build is passing
2021-02-07 17:51:36 +01:00
140fda11cc Added optimization args
ref #5
2021-02-07 16:37:24 +01:00
e92820e12f Parellized the chunks
ref #5
2021-02-07 16:28:26 +01:00
06dedc0797 Removed puppeteer args
ref #5
2021-02-07 16:07:38 +01:00
785544ca16 Added pdf merging for big requests (over 100 runners)
ref #5
2021-02-07 16:04:56 +01:00
1ced0e3175 Added option to generate empty sponsoring contracts
ref #5
2021-02-07 13:11:54 +01:00
2d0b7ce79e Formatting
ref #5
2021-02-07 12:59:11 +01:00
42443af734 Added automatic img to base64 conversion
ref #5
2021-02-07 12:32:23 +01:00
c07319b250 Now awaiting language change
ref #5
2021-02-06 22:02:16 +01:00
ee8ba99cc7 Fixed the controller not waiting for initialization
ref #5
2021-02-06 21:37:56 +01:00
47a05facb3 Moved pdf creatior initialization to new function
ref #5
2021-02-06 21:30:18 +01:00
f755f4f9fb Added full interpolation support to the i18n
ref #5
2021-02-06 21:15:48 +01:00
f833ae222e Now accepting arrays for sponsoring contract generation
ref #5
2021-02-05 21:56:33 +01:00
119102aef8 Updated comments
ref #5
2021-02-05 21:48:15 +01:00
6f81566cb8 Implemented language selection by query param
ref #5
2021-02-05 21:27:14 +01:00
75eb925267 Added translations using i18next
ref #5
2021-02-05 21:20:05 +01:00
4acf3e39ce Switched to handlebars for templateing
ref #5
2021-02-05 20:08:47 +01:00
3af76a53e3 first working pdf generation from class 🎉
ref #5
2021-02-05 17:59:26 +01:00
ba7cedd187 PDF Creator now accepts single instances of class
ref #5
2021-02-05 14:09:44 +01:00
5afd26ea22 Switched to puppeteer for pdf generation
ref #5
2021-02-05 13:53:46 +01:00
3fb8be22b7 Added typeing to the buffer and stream conversion
ref #3
2021-02-02 11:34:01 +01:00
7d5b5750ad Created a pdf class that takes care of the pdf wrapping
ref #3
2021-02-02 11:30:51 +01:00
3ca38abe93 Switched to the splitted functions
ref #3
2021-02-02 11:28:07 +01:00
4617f2c5bd Resolved fun issues with promises
ref #3
2021-02-02 11:02:23 +01:00