Commit Graph

144 Commits

Author SHA1 Message Date
dankito 72991218d9 Little refactoring 2024-11-26 03:26:43 +01:00
dankito 199310de86 Added flag to stop listening to new emails 2024-11-26 03:26:24 +01:00
dankito dcc4e233aa Moved data classes to model subpackage 2024-11-26 03:21:35 +01:00
dankito e0b4550cd3 Added ListenForNewMailsOptions so that there onEmailReceived has to be set 2024-11-26 03:19:11 +01:00
dankito 31ba07d5e9 Added emailFolderName, onError and onEmailReceived to FetchEmailsOptions, so that also fetchAllEmails() can set a progress listener for each received email 2024-11-26 03:06:56 +01:00
dankito bb3f468c48 Renamed package mail to email 2024-11-26 02:46:10 +01:00
dankito 231da572e5 Renamed error listener to onError 2024-11-26 02:44:54 +01:00
dankito 8b7bd31cf1 Renamed listAllMessagesWithEInvoice() to fetchAllEmails() and listenForNewReceivedEInvoices() to listenForNewEmails() 2024-11-26 02:43:24 +01:00
dankito d66afa50a9 Renamed classes from 'ReadMails' to 'FetchEmails' 2024-11-26 02:27:16 +01:00
dankito eb9b42fb97 Raised timeouts 2024-11-26 02:12:33 +01:00
dankito aa23cc0eb1 Improved wording 2024-11-26 01:34:51 +01:00
dankito 0c1d48736c Added errors to result of listAllMessagesWithEInvoice() 2024-11-26 01:34:26 +01:00
dankito 6aaecd1656 Fixed that zfCharges or zfAllowances may is null (why making a collection nullable?) 2024-11-25 18:02:02 +01:00
dankito 2514e96b16 Implemented calculating TotalAmounts 2024-11-25 18:01:57 +01:00
dankito 23ad5c6945 Added TotalAmounts 2024-11-25 17:28:29 +01:00
dankito f1a364866c Added AmountAdjustments 2024-11-25 17:27:57 +01:00
dankito 556c59ba3a Renamed LineItem to InvoiceItem, price to unitPrice and vatPercentage to vatRate 2024-11-24 16:07:55 +01:00
dankito 3418ab9b0f Added list of known names of XML invoice attachment files 2024-11-22 21:13:01 +01:00
dankito 0f97b8dae9 Made all service classes open 2024-11-22 20:33:12 +01:00
dankito 35a2a6c518 Fixed publishing sources 2024-11-22 01:36:15 +01:00
dankito 3273b2a849 Fixed retrieving message bodies 2024-11-22 01:15:18 +01:00
dankito 75450e77fb Fixed returning retrieved messages 2024-11-22 01:14:56 +01:00
dankito e43a8a7239 Configured publishing to Maven repository 2024-11-21 23:29:11 +01:00
dankito e48a22e75b Renamed module e-invoicing-domain to e-invoice-domain 2024-11-21 23:23:44 +01:00
dankito 465b566dbc Fixed import 2024-11-21 23:14:57 +01:00
dankito f0631f55b7 Using now a fixed size thread pool as otherwise as many threads get created as there are messages in the inbox which can be really a lot 2024-11-21 23:14:41 +01:00
dankito 4cc03a0036 Implemented configuring if message body should be downloaded 2024-11-21 23:05:32 +01:00
dankito 82bbf8cc8d Implemented parallel message downloading 2024-11-21 23:03:53 +01:00
dankito c4bf7f91ca Added isEncrypted 2024-11-21 21:51:20 +01:00
dankito fbfeb7ced6 Concatenating body parts 2024-11-21 21:50:59 +01:00
dankito 85c392e1b7 Made mediaType lower case 2024-11-21 21:50:23 +01:00
dankito 2373717283 Fixed that filename may is null 2024-11-21 21:49:58 +01:00
dankito a2d34e217f Moved getAllMessageParts() to end 2024-11-21 21:48:24 +01:00
dankito 6d206b25f0 Added hint on messageNumber 2024-11-21 21:38:47 +01:00
dankito 0c3f069f1f Fixed that subject may is null 2024-11-21 21:24:20 +01:00
dankito 2ab10f77d4 Fixed that from may is null 2024-11-21 21:00:34 +01:00
dankito 9aaa2f630c Reading message body 2024-11-21 20:30:20 +01:00
dankito 399581da78 Reading a message part's media type only once 2024-11-21 20:28:14 +01:00
dankito 6b82636fdd Fixed not reading all parts' content 2024-11-21 20:27:05 +01:00
dankito 7e112404a0 Extracted findEInvoice(Message) 2024-11-21 19:30:46 +01:00
dankito 48270e7922 Fixed reading all, also nested, message parts 2024-11-21 19:21:31 +01:00
dankito 2516328da8 Fixed that sent date may is null 2024-11-21 18:40:13 +01:00
dankito 189b1b37ff Added hint that parallelization didn't work 2024-11-21 18:36:27 +01:00
dankito 2b3c3fa5fa Fixed setting file extension and deleting file on exit 2024-11-21 18:36:04 +01:00
dankito da84aaedf6 Implemented extracting media type from content type; made check for Attachment disposition case-insensitive 2024-11-21 17:35:34 +01:00
dankito b09b7cf69b Mapping sent to Instant; also mapping received and messageNumber 2024-11-21 17:02:38 +01:00
dankito 07fdbec5d7 Implemented listenForNewReceivedEInvoices() 2024-11-21 16:50:49 +01:00
dankito a6ac33d8ed Extracted connect() 2024-11-21 15:53:30 +01:00
dankito a1fe8befce Made it work but it's not nice 2024-11-21 04:25:31 +01:00
dankito f9db232fbc Set logo for Swagger-UI 2024-11-21 03:10:06 +01:00