Commit Graph

106 Commits

Author SHA1 Message Date
dankito ef42ddee37 Closing streams 2024-11-26 15:55:14 +01:00
dankito af03c0d5d3 Removed debugging code 2024-11-26 06:44:24 +01:00
dankito b37c4619d2 Removing illegal filename characters also from attachment filename 2024-11-26 06:14:14 +01:00
dankito a078b8bf66 Implemented configuring connect timeout 2024-11-26 06:10:01 +01:00
dankito 2b08db3374 Fixed getting parent 2024-11-26 06:06:12 +01:00
dankito bb5b89fd5a Removed message body parts from attachment parts 2024-11-26 06:05:58 +01:00
dankito ccf48f7cb4 Added mail account username to attachments download directory 2024-11-26 04:32:49 +01:00
dankito 4aefa86ab9 Downloading eInvoice files only once 2024-11-26 04:12:14 +01:00
dankito 4dc9b43189 Implemented configuring attachments download folder 2024-11-26 04:06:22 +01:00
dankito b3f6f2dbc3 Implemented configuring which attachments should be downloaded 2024-11-26 03:57:39 +01:00
dankito d70a748ad0 Returning now all mails and attachments, not only those with eInvoices 2024-11-26 03:47:55 +01:00
dankito c3cf0652b2 Made coroutineDispatcher configurable 2024-11-26 03:38:35 +01:00
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