------------------------------------------------------------------
2022-03-17 17:40:12 +0100 Martin Preuss
Prepared release 6.5.0.

------------------------------------------------------------------
2022-02-28 23:21:41 +0100 Martin Preuss
bankinfo/generic: Remove "assert()" (simple error message should suffice).

------------------------------------------------------------------
2022-02-28 23:20:55 +0100 Martin Preuss
GWENBUILD: Added missing files to install list.

------------------------------------------------------------------
2022-02-28 23:20:22 +0100 Martin Preuss
GWENBUILD: No longer require gtk2.

------------------------------------------------------------------
2022-02-15 11:18:00 +0100 Martin Preuss
AqHBCI: Fixed a bug in previous commit.

------------------------------------------------------------------
2022-02-15 11:16:51 +0100 Martin Preuss
AqHBCI: Decreased verbosity in progress dialogs.

------------------------------------------------------------------
2022-02-14 17:12:05 +0100 Martin Preuss
AqHBCI: Another fix for _dispatchResponsesToJobQueue().

------------------------------------------------------------------
2022-02-14 16:59:45 +0100 Martin Preuss
AqHBCI: Also check for ref job in previous msg.

------------------------------------------------------------------
2022-02-14 16:13:01 +0100 Martin Preuss
GWBUILD: Fixed installation/generation of plugin description files.

------------------------------------------------------------------
2022-02-14 13:39:08 +0100 Martin Preuss
AqHBCI: Increased verbosity.

------------------------------------------------------------------
2022-02-14 00:32:43 +0100 Martin Preuss
AqHBCI: Increased verbosity.

------------------------------------------------------------------
2022-02-13 18:16:24 +0100 Martin Preuss
AqHBCI: Fixed dispatching of messages.
Normally a message exchange contains two messages: One sent, one received.
However, with two-step TAN there are 4 messages:
- MSG1: sent (with request and TAN offer)
- MSG2: received (return code specifying that a TAN is needed)
- MSG3: sent (with TAN only)
- MSG4: reveiced (with response to tan and to initial request).

The problem is with message 4: With segments in this message it is not
always clear to which msg they are a response: Could be either MSG1 (the
initial request) or to MSG3 (the TAN message).

This change introduces a reference queue in AH_JOBQUEUE field (in this case
containing the list of initial requests from MSG1). When received messages
are dispatched to the jobs we now dispatch them to the current job queue and
also to the reference queue.

In this case message responses might get dispatched to multiple jobs, but
at least they are also dispatched to the request from MSG1 which led to
the TAN message.

To avoid having a response dispatched to a HKTAN job we now check for
"TanResponse" and "SegResult" and only dispatch those to a HKTAN job.

------------------------------------------------------------------
2022-02-13 18:05:00 +0100 Martin Preuss
AqHBCI: Decreased verbosity, fixed typos.

------------------------------------------------------------------
2022-02-12 09:56:36 +0100 Martin Preuss
AqHBCI: Show a warning for account jobs when there is no BIC.
No BIC in most cases means there is no SEPA info for that specific account,
in such a cases some banks reject requests for this account until you
request SEPA infos (either via GUI or command line).

------------------------------------------------------------------
2022-02-12 00:54:43 +0100 Martin Preuss
AqHBCI: Cleanup jobqueue_dispatch.c (smalelr functions).

------------------------------------------------------------------
2022-02-06 23:03:49 +0100 Martin Preuss
0BUILD: Fixed definition of aqbanking.pc.

------------------------------------------------------------------
2022-02-06 23:03:30 +0100 Martin Preuss
aqbanking-cli: Fixed a compiler warning.

------------------------------------------------------------------
2022-02-06 23:03:14 +0100 Martin Preuss
AqPaypal: Fixed some newly introduced bugs. Read L_EMAIL field. Put "NOTE" into purpose field.

------------------------------------------------------------------
2022-02-06 21:17:08 +0100 Martin Preuss
AqPaypal: Major cleanup.

------------------------------------------------------------------
2022-02-05 19:16:12 +0100 Martin Preuss
BUILD: Fixed pkgincludedir for installation and pkgconfig.

------------------------------------------------------------------
2022-02-05 19:15:21 +0100 Martin Preuss
0BUILD: Don't distribute or install backendsupport files (only needed inside aqbanking).

------------------------------------------------------------------
2022-02-05 18:23:09 +0100 Martin Preuss
Make "aqnone" a normal plugin and add is per default.

------------------------------------------------------------------
2022-02-05 18:22:02 +0100 Martin Preuss
AqHBCI: Fixed a bug in plugin description file.

------------------------------------------------------------------
2022-02-05 18:21:39 +0100 Martin Preuss
AqNone: Fixed internal provider name ("none"->"aqnone").

------------------------------------------------------------------
2022-02-05 18:21:01 +0100 Martin Preuss
AqHBCI: Removed uneeded code.

------------------------------------------------------------------
2022-02-05 18:20:42 +0100 Martin Preuss
dlg_edituser: Fixed a bug (was using nullpointer for AB_EditUserDialog_fromGui()).

------------------------------------------------------------------
2022-02-05 18:19:53 +0100 Martin Preuss
AqBanking: Remove internal provider list (was not used anyway).

------------------------------------------------------------------
2022-02-05 18:19:03 +0100 Martin Preuss
AqBanking: Improved backend support.
- provide fallback for AB_Provider_CreateUserObject
- provide fallback for AB_Provider_CreateAccountObject
- slightly improved documentation

------------------------------------------------------------------
2022-02-03 22:00:56 +0100 Martin Preuss
Simplified dialog creation by using gwens convenience functions.

------------------------------------------------------------------
2022-02-03 21:26:07 +0100 Martin Preuss
Improved file import dialog (presets now work).

------------------------------------------------------------------
2022-02-03 20:09:50 +0100 Martin Preuss
Use modern dialog setup in AB_SetupDialog_new().

------------------------------------------------------------------
2022-02-03 20:09:17 +0100 Martin Preuss
More work on generic importer.

------------------------------------------------------------------
2022-02-03 15:33:12 +0100 Martin Preuss
build: Incremented AqBanking version and minimum gwen version.

------------------------------------------------------------------
2022-02-03 15:32:34 +0100 Martin Preuss
AqBanking: Improved generic importer, now accepts presets (needs latest gwen).
- use new dialog-related functions from gwen (requires latest gwen git version)
- handle presets to make working with this dialog more user-friendly

------------------------------------------------------------------
2022-01-22 16:53:08 +0100 Martin Preuss
AqHBCI: Fixed a bug/segfault, fixed dialog setup.

------------------------------------------------------------------
2022-01-13 22:39:05 +0100 Martin Preuss
Merge branch 'rel-6.4.3'

------------------------------------------------------------------
2022-01-13 22:37:22 +0100 Martin Preuss
Prepared release 6.4.3beta.

------------------------------------------------------------------
2022-01-13 21:21:29 +0100 Martin Preuss
AqHBCI: Fixed a bug in dispatch code.

------------------------------------------------------------------
2022-01-13 15:22:52 +0100 Martin Preuss
Some gwbuild fixes.

------------------------------------------------------------------
2022-01-13 13:49:14 +0100 Martin Preuss
Prepared beta release 6.4.2-git

------------------------------------------------------------------
2022-01-13 00:50:43 +0100 Martin Preuss
Only read accounts if ignoring them was not requested.
Emulates previous behaviour of AH_Job_Commit().

------------------------------------------------------------------
2022-01-13 00:23:41 +0100 Martin Preuss
Adjust Makefile.am, removed no longer needed files.

------------------------------------------------------------------
2022-01-13 00:21:38 +0100 Martin Preuss
Moved reading accounts to AH_JobQueue_DispatchMessage().
This should fix bug #244 where there are accounts received but not read
because they appear in a response to a HKTAN segment instead of the HKIDN
segment from the previous message which actually requested the account data.

------------------------------------------------------------------
2022-01-13 00:07:27 +0100 Martin Preuss
Prepared AH_Job_Commit_Accounts() to be moved to AH_JobQueue_ReadAccounts().

------------------------------------------------------------------
2022-01-12 23:48:28 +0100 Martin Preuss
Extract BPD now from AH_JobQueue_DispatchMessage().

------------------------------------------------------------------
2022-01-12 23:14:10 +0100 Martin Preuss
Use new functions in _handleResponseSegments().
The idea is to directly extract BPD, UPD and other important stuff directly
here to make sure we get all the data (see bug #244).

------------------------------------------------------------------
2022-01-12 23:09:08 +0100 Martin Preuss
Added function _dispatchResponsesToJobQueue().

------------------------------------------------------------------
2022-01-12 22:51:54 +0100 Martin Preuss
Added function _sampleResponseSegments().

------------------------------------------------------------------
2022-01-10 22:34:05 +0100 Christian Stimming
Decrease verbosity of non-error log messages to INFO again

------------------------------------------------------------------
2021-12-15 23:15:27 +0100 Martin Preuss
Prepared 6.4.1

------------------------------------------------------------------
2021-12-15 23:08:38 +0100 Martin Preuss
0BUILD: Added "-Wall" to CFLAGS/CXXFLAGS.

------------------------------------------------------------------
2021-12-15 22:20:53 +0100 Martin Preuss
Prepared release 6.4.1.

------------------------------------------------------------------
2021-12-15 18:51:48 +0100 Martin Preuss
imexporter: Fixed profile lookup.
Was only reading profiles from aqbankings storage, not directly specified
files.

------------------------------------------------------------------
2021-11-27 00:02:50 +0100 Martin Preuss
Updated German bank data.

------------------------------------------------------------------
2021-11-27 00:02:36 +0100 Martin Preuss
Fixed profile of fints data.

------------------------------------------------------------------
2021-11-14 14:04:49 +0100 Martin Preuss
Released 6.4.0.

------------------------------------------------------------------
2021-11-13 18:59:40 +0100 Martin Preuss
Prepared release 6.4.0.

------------------------------------------------------------------
2021-11-11 22:24:03 +0100 Martin Preuss
CSV: Fixed onvista-trans profile.

------------------------------------------------------------------
2021-11-11 22:23:46 +0100 Martin Preuss
CSV: Improved check for needed negation.

------------------------------------------------------------------
2021-11-11 14:05:43 +0100 Martin Preuss
CSV: Changed onvista-prices profile to make it usefull also for transaction import.
Since the file also contains initial buy price and initial value of the shares
bought such a file can also be used to import shares without having the real
transaction files.

------------------------------------------------------------------
2021-11-11 14:03:45 +0100 Martin Preuss
Decreased verbosity.

------------------------------------------------------------------
2021-11-11 13:21:50 +0100 Martin Preuss
CSV: Added profile onvista-prices.

------------------------------------------------------------------
2021-11-11 13:18:38 +0100 Martin Preuss
CSV: More cleanup. Fixed a typo.

------------------------------------------------------------------
2021-11-11 12:44:34 +0100 Martin Preuss
Incremented version.

------------------------------------------------------------------
2021-11-11 12:33:00 +0100 Martin Preuss
Added 0BUILD for CSV profiles.

------------------------------------------------------------------
2021-11-11 12:32:47 +0100 Martin Preuss
CSV: Added profile "onvista-trans.conf".
Import format for files containing transactions from onvista bank.

------------------------------------------------------------------
2021-11-11 01:20:16 +0100 Martin Preuss
CSV: Also translate unitPriceDate.

------------------------------------------------------------------
2021-11-11 01:15:35 +0100 Martin Preuss
Cleanup AH_ImExporterCSV__ImportFromGroup().

------------------------------------------------------------------
2021-11-11 00:26:38 +0100 Martin Preuss
Improve CSV importer.

------------------------------------------------------------------
2021-11-11 00:25:27 +0100 Martin Preuss
Added "taxes" to AB_TRANSACTION.

------------------------------------------------------------------
2021-11-06 16:28:48 +0100 Stefan Bayer
added missing update of SEPA internal transfer target accounts added showing and getting of SEPA internal transfer accounts in the account editing dialog

------------------------------------------------------------------
2021-10-26 00:44:47 +0200 Ralf Habacker
aqpaypal: Set transaction memo attribute from paypal response field 'NOTE'

------------------------------------------------------------------
2021-10-24 21:01:20 +0200 Martin Preuss
Fixed 0BUILD files for new SEPA internal transfer code.

------------------------------------------------------------------
2021-10-24 21:00:52 +0200 Martin Preuss
Fixed a typo. Added debug option to 0BUILD.

------------------------------------------------------------------
2021-10-24 20:30:44 +0200 Martin Preuss
Merge sb_20211012_SepaInternalTransfer into master.

------------------------------------------------------------------
2021-10-23 18:24:17 +0200 Martin Preuss
Fixed paths.

------------------------------------------------------------------
2021-10-17 17:08:16 +0200 Stefan Bayer
fixed mem leak, freeing of reference account list was not correct

------------------------------------------------------------------
2021-10-17 11:37:24 +0200 Stefan Bayer
added missing memory deallocations

------------------------------------------------------------------
2021-10-17 10:41:18 +0200 Stefan Bayer
make sure the reference accounts are persistent in the account spec

------------------------------------------------------------------
2021-10-17 00:58:24 +0200 Martin Preuss
Added entry to TODO file.

------------------------------------------------------------------
2021-10-16 19:58:40 +0200 Stefan Bayer
fixed small problem in refaccount typemaker file

------------------------------------------------------------------
2021-10-15 22:18:01 +0200 Stefan Bayer
removed wrongly committed file

------------------------------------------------------------------
2021-10-15 22:13:31 +0200 Stefan Bayer
amended .gitignore and GWEN build file for aqbanking typemaker2 types

------------------------------------------------------------------
2021-10-15 22:06:53 +0200 Stefan Bayer
improved command sepainternaltransfer of aqbanking-cli: lets the user choose from the list of available reference accounts if none is given as commmand line option Amendend a few copyright headers

------------------------------------------------------------------
2021-10-14 22:25:39 +0200 Stefan Bayer
added SEPA internal transfers (SEPA-Uebertrag)

------------------------------------------------------------------
2021-09-30 23:54:25 +0200 Martin Preuss
0BUILD: Add subdir "po", use new i18n features of gwenbuild (needs latest gwen git).

------------------------------------------------------------------
2021-09-30 23:53:07 +0200 Martin Preuss
0BUILD: Fixed definitions for fints data files.

------------------------------------------------------------------
2021-09-26 22:30:50 +0200 Martin Preuss
Add AC_CONFIG_MACRO_DIRS.

------------------------------------------------------------------
2021-09-22 20:58:25 +0200 Micha Lenk
README: Fix package name in translation setup instructions

------------------------------------------------------------------
2021-09-21 14:35:55 +0200 Micha Lenk
de.po: Fixed translations

------------------------------------------------------------------
2021-09-22 12:33:53 +0200 Martin Preuss
Added TODO.

------------------------------------------------------------------
2021-09-18 17:36:09 +0200 Martin Preuss
Prepared release 6.3.2.

------------------------------------------------------------------
2021-09-12 18:08:13 +0200 Martin Preuss
aqofxconnect: Cleanup code.
Less spaghetti code.

------------------------------------------------------------------
2021-09-11 19:56:57 +0200 Martin Preuss
aqebics: Use aqbanking-specific macro "AQBANKING_DEPRECATED" instead of "DEPRECATED".

------------------------------------------------------------------
2021-09-11 19:55:58 +0200 Martin Preuss
aqhbci: Fns GWEN_Gui_ShowBox() and GWEN_Gui_HideBox() are deprecated, don't use them.

------------------------------------------------------------------
2021-09-10 16:25:13 +0200 Martin Preuss
Released 6.3.1

------------------------------------------------------------------
2021-09-10 14:17:52 +0200 Martin Preuss
Prepared release 6.3.1.

------------------------------------------------------------------
2021-07-14 18:56:58 +0200 Martin Preuss
Decreased verbosity.

------------------------------------------------------------------
2021-04-01 16:04:13 +0200 Tobias Deiminger
Send acknowledgements (HKQTG)
FinTS 3.0 defines an acknowledge workflow (C.9.4, "Empfangsquittung"):
> By sending this segment, the customer acknowledges they have
> correctly received a bank response. The acknowledgement always
> relates to the direclty preceding bank response.
> Optionally, the acknowledgement can be supplemented by a code
> ("Quittungscode", e.g. a hash value), which allows the bank to draw
> addtional conclusion about the job to be acknowledged.

In practice, this means you can mark documents in the inbox of a
banking web client as "read", and prevent your bank from sending
you printed documents by post.

FinTS defines acknwoledgement only for a subset of jobs
- HIEKA "Quittungscode"
  BPD HIEKAS "Parameter Kontoauszug":"Quittierung benoetig"
- HIECA "Quittungscode"
  BPD HIEKAS "Parameter Kontoauszug camt":"Quittierung benoetig"
- HIEKP "Quittungscode"
  BPD HIEKPS "Parameter Kontoauszug PDF":"Quittierung benoetig"
- HIKAA "Quittungscode"
  BPD HIKAA "Postfach Nachricht abrufen":"Quittierung (fallweise)
  benoetigt"

This commit adds some generic handling, and fully enables acknowledgment
for HIEKA and HIEKP, i.e. AB_Transaction_CommandGetEStatements.

Users can enable acknowledgement with a new CLI option for the request
command:
$ aqbanking-cli -P /tmp/pinfile request --estatements -a 1234567 -c est.ctx --fromdate=20200101 --docnumber=10 --acknowledge

or they enable it via API by
AB_Transaction_SetAcknowledge(myTransaction, AB_Transaction_AckJobsWithAckCode).

Disclaimer: I don't understand the spec in how "preceding response" is
supposed to be interpreted for multi-segment responses and if the optional
acknowledge code was not sent by the bank. Seems the spec leaves some doubt
there, it could mean
- ack all segments from the preceding multi-segment response
- ack only the first segment from the preceding multi-segment response
- ack only the last segement
- ... whatever, you get it

Therefore I'm only implementing cases where an acknowledgement code was
given, because it allows to definitely identify the segment we mean.

------------------------------------------------------------------
2021-06-06 19:01:53 +0200 Martin Preuss
aqbanking-cli: Fixed argument for document number
- minnum and maxnum specify the minimum and maximum *occurrence* of an
  argument, not the allowed range for values
- changed argument name to "--docnumber=xxx"
