Commit graph

244 commits

Author SHA1 Message Date
Anton Thomasson
40e7f32846 Let curl debug follow qt debug settings 2022-01-18 20:41:08 +01:00
Anton Thomasson
8843275fde Remove redundant deleteLater 2022-01-17 21:32:12 +01:00
Anton Thomasson
8b4c2f373b Plug a leak 2022-01-14 22:49:38 +01:00
Anton Thomasson
2ab6a7d979 Resolve string uris 2022-01-14 22:44:55 +01:00
Anton Thomasson
0684e677ec Get printer strings 2022-01-14 22:14:06 +01:00
Anton Thomasson
6c4e48d69c restructure curlrequester 2022-01-14 21:24:07 +01:00
Anton Thomasson
d6db1ff5e2 Naming and cleanup of worker 2022-01-07 20:36:21 +01:00
Anton Thomasson
c93d4a019f Add support for presentations 2022-01-07 20:05:21 +01:00
Anton Thomasson
cd62f76fc2 Remove autogeneration of version header
...just use a direct define.
2022-01-01 19:26:40 +01:00
Anton Thomasson
70206916e4 Use Bytestream instead of QByteArray for IPP messages 2021-12-14 20:06:16 +01:00
Anton Thomasson
79e7175f87 Don't expect 100-continue 2021-12-14 19:52:25 +01:00
Anton Thomasson
aa1dbea32c Add SailJail, move overrides location 2021-12-01 20:30:43 +01:00
Anton Thomasson
f0eba7b5cd Remove Poppler instructions 2021-11-20 17:31:03 +01:00
Anton Thomasson
2d521dcbae Implement pdfPages with madness 2021-11-20 17:21:46 +01:00
Anton Thomasson
7e528ca2bd Madness ensues 2021-11-20 17:10:55 +01:00
Anton Thomasson
4336dd6d7b Curl abstraction cleanup 2021-11-20 10:32:18 +01:00
Anton Thomasson
6b11d16bfc Basic failure propagation from failed uploads 2021-11-17 20:49:16 +01:00
Anton Thomasson
8cad5d9ae9 Prototype for future ConvertChecker 2021-11-16 20:46:35 +01:00
Anton Thomasson
7a5e409997 Respect ignoreSslErrors with cURL 2021-11-16 20:46:35 +01:00
Anton Thomasson
76e579532a Remove secure/taint indicator and related functionality 2021-11-16 20:46:35 +01:00
Anton Thomasson
e918b8784a Leave page-ranges in for Postscript 2021-11-16 20:46:35 +01:00
Anton Thomasson
497f860aaf Fix messages, cleanup 2021-11-16 20:46:35 +01:00
Anton Thomasson
fce3974d51 Fix printing PDF as Postscript 2021-11-16 20:46:35 +01:00
Anton Thomasson
2dde092c52 Change image printing to new libs 2021-11-16 20:46:35 +01:00
Anton Thomasson
32d3cc6587 Remove more redundant logic 2021-11-16 20:46:35 +01:00
Anton Thomasson
0ab3d5486d Add ProgressFun 2021-11-16 20:46:35 +01:00
Anton Thomasson
b93568ad18 Use pdf2printable 2021-11-16 20:46:35 +01:00
Anton Thomasson
0ef25112a5 Change to cURL for IPP requests 2021-11-16 20:46:35 +01:00
Anton Thomasson
a4168ef74f Remove always use media-col setting 2021-07-31 12:59:51 +02:00
Anton Thomasson
ebdfa9e4ee Change paper sizes to QSizeF 2021-07-31 12:52:33 +02:00
Anton Thomasson
83ec5d8040 Add default value for resolution 2021-07-19 22:03:08 +02:00
Anton Thomasson
a7f169c42a Respect margins in convertImage 2021-07-14 15:07:55 +02:00
Anton Thomasson
b551fad9ee Remove useless debug printout 2021-07-01 13:40:21 +02:00
Anton Thomasson
45da184f53 Don't set PdfWriter margins to 0
(just for plaintext for now)
2021-06-28 21:56:26 +02:00
Anton Thomasson
2f1e1bf7a5 Add warning/hint about suffixes 2021-06-28 20:15:21 +02:00
Anton Thomasson
55f6971e6a Adjust raster resolution according to printer needs 2021-06-27 16:23:27 +02:00
Anton Thomasson
deaf63eb82 Flip duplex backsides according to printer needs 2021-06-26 14:58:14 +02:00
Anton Thomasson
197c54671a Break out raster-related job attribute adjustments 2021-06-26 13:42:54 +02:00
Anton Thomasson
b5ea29b372 Add icon for when printer passes SSL validation 2021-06-26 13:28:10 +02:00
Anton Thomasson
d9c14241bf Vain attempts at optimization 2021-06-21 20:19:34 +02:00
Anton Thomasson
01e7e02bcd Add ipps support 2021-06-20 19:34:04 +02:00
Anton Thomasson
cb6f836282 Make settings accessible directly from C++ 2021-06-19 18:02:17 +02:00
Anton Thomasson
137eb965bf Set creator in plaintext PDF 2021-06-19 16:34:17 +02:00
Anton Thomasson
79653dc244 Add image to PDF/Postscript conversion 2021-06-13 13:56:44 +02:00
Anton Thomasson
0f7b776899 Revert "Put back GIF as transfer format"
Qt doesn't support it.

This reverts commit 07a1e35f58.
2021-06-13 13:55:33 +02:00
Anton Thomasson
598107bcb0 Fix missing include 2021-06-12 18:40:18 +02:00
Anton Thomasson
04bf472ff8 Don't use new in convertchecker 2021-06-12 17:09:56 +02:00
Anton Thomasson
4e8692c431 Add plaintext support 2021-06-12 12:45:58 +02:00
Anton Thomasson
76fdbb987f Stop using new for processes 2021-06-12 12:01:26 +02:00
Anton Thomasson
22b6ec1c63 Break out ConvertWorker::adjustPageRange 2021-06-12 12:01:26 +02:00
Anton Thomasson
5125c48654 Break out ConvertWorker::pdftoPs 2021-06-12 12:01:17 +02:00
Anton Thomasson
e6d9a80e1c Use pdfToRaster in convertPdf too. 2021-06-12 11:00:25 +02:00
Anton Thomasson
8c18418f26 Break out ConvertWorker::pdfToRaster 2021-06-12 10:34:46 +02:00
Anton Thomasson
07a1e35f58 Put back GIF as transfer format 2021-06-12 09:48:25 +02:00
Anton Thomasson
acf4dd9ac7 Revert "Revert organization/name, i.e. data dir etc."
This reverts commit 0bd35d647c.
2021-06-01 18:29:57 +02:00
Anton Thomasson
0bd35d647c Revert organization/name, i.e. data dir etc. 2021-05-25 19:40:00 +02:00
Anton Thomasson
15a13d9648 Add experimental printer attribute override 2021-05-25 19:40:00 +02:00
Anton Thomasson
a41fbe067f Only get pdf page count on pdfs 2021-05-25 19:39:53 +02:00
Anton Thomasson
5aa2afcc63 Handle FQDNs in IppDiscovery ImageProvider 2021-05-18 21:16:23 +02:00
Anton Thomasson
0666beccd2 Return size in IppDiscovery ImageProvider 2021-05-18 21:14:51 +02:00
Anton Thomasson
8aef95b143 Add SvgProvider for even better scaling 2021-05-18 21:04:52 +02:00
Anton Thomasson
126940f8ea Simplify temporary JSON Objects 2021-05-13 19:53:25 +02:00
Anton Thomasson
580bbdfdbb Make progress smoother 2021-05-13 19:53:01 +02:00
Anton Thomasson
946ead4698 Make progress strings translatable 2021-04-18 09:34:48 +02:00
Anton Thomasson
bc3c43874d Assume A4 for empty paper size, check only if needed 2021-03-22 18:25:30 +01:00
Anton Thomasson
c932d54da1 Remove obsolete option 2021-03-21 17:10:40 +01:00
Anton Thomasson
576f6a616f Save settings per document type 2021-03-21 12:49:54 +01:00
Anton Thomasson
45b3d11655 Fix Calligra (absence) detection 2021-03-20 14:37:48 +01:00
Anton Thomasson
9bf1a11cb5 Make printer attributes "let go" of files 2021-03-20 12:30:49 +01:00
Anton Thomasson
905745714c Add page-ranges for office documents 2021-03-06 17:20:51 +01:00
Anton Thomasson
f36488c1b7 Add format selection for office formats, if auto 2021-03-06 16:42:13 +01:00
Anton Thomasson
43373d159e Add calligraconverter support 2021-03-06 12:59:47 +01:00
Anton Thomasson
d16562900f Add office types to Mimer 2021-03-05 22:26:22 +01:00
Anton Thomasson
9efbb6d6f0 Add calligraconverter to convertchecker 2021-03-05 22:22:43 +01:00
Anton Thomasson
22c823563b Use exception-based error handling in ConvertWorker 2021-03-05 20:28:10 +01:00
Anton Thomasson
b569aede6b Clean up mimetype handling 2021-03-04 21:49:27 +01:00
Anton Thomasson
d6ef26b64e Delete tmpfile on all failures 2021-02-24 21:50:28 +01:00
Anton Thomasson
86b580c15f Don't add resolution to IPP attrs if not set when adjusting for URF 2021-02-18 20:08:40 +01:00
Anton Thomasson
e5b105a3c6 Actually fix total number of pages with ranges 2021-02-18 20:07:40 +01:00
Anton Thomasson
86501b45d9 Fix total number of pages with ranges
Relevant for progress reporting and URF file headers
2021-02-17 22:15:04 +01:00
Anton Thomasson
276b9d2759 Fix Postscript printing 2021-02-13 21:59:46 +01:00
Anton Thomasson
3564b083e8 Attempt to fix threading mess in ImageProvider 2021-02-13 17:13:11 +01:00
Anton Thomasson
187fd4226e Allow adding fake printers from file 2021-02-13 14:59:38 +01:00
Anton Thomasson
1ef3d590fc Make imageprovider ascynchronous 2021-02-13 14:58:08 +01:00
Anton Thomasson
3d08d137e2 Add SailJail permissions 2021-02-06 13:44:50 +01:00
Anton Thomasson
027620277a Workaround: set Accept-Encoding to identity 2020-12-13 20:06:14 +01:00
Anton Thomasson
01b2828838 Deduplicate request creation 2020-12-09 19:59:58 +01:00
Anton Thomasson
7913a6c306 Improve grayscale handling 2020-11-30 20:46:26 +01:00
Anton Thomasson
657cd37269 Remove timeouts 2020-11-30 20:28:33 +01:00
Anton Thomasson
3f50416972 Simplify image->raster conversion 2020-11-24 18:15:31 +01:00
Anton Thomasson
2131cd4c5f Fix sides and color-mode settings 2020-10-17 12:08:51 +02:00
Anton Thomasson
03653e13e6 Invalidate printer attrs later
(either when new ones are avaialble, or the request failed)
2020-10-11 16:27:46 +02:00
Anton Thomasson
ded0d4a2cb Display warning icon
...and account for that there can be multiple reasons
2020-10-10 17:55:40 +02:00
Anton Thomasson
1d1c71f596 First draft of details page 2020-09-29 21:47:37 +02:00
Anton Thomasson
a5f5e41493 Remove redundant setting 2020-09-23 20:23:49 +02:00
Anton Thomasson
f6d6b51b9f Allow the page range setting in more cases
=if the attribute is supported or pdf processing tools are installed
2020-09-23 20:14:33 +02:00
Anton Thomasson
3e53e6ffcd Use IppTag in more places 2020-09-15 20:01:18 +02:00
Anton Thomasson
cb0c0e0e3d Rework image conversion logic
...and allow more image formats
2020-09-10 20:01:21 +02:00
Anton Thomasson
058d4c31ed Remove some warnings 2020-08-29 17:32:28 +02:00
Anton Thomasson
fa34843c3e Update ppm2pwg/Bytestream
...to get the size constructor back.
2020-08-29 17:26:26 +02:00