Commit graph

11 commits

Author SHA1 Message Date
Martin Hebnes Pedersen
6760cbcf63 Pass automatic locator updates to forms manager 2025-08-31 18:55:35 +02:00
Martin Hebnes Pedersen
922b4ba43f templates: Add support for {FormFolder} tag
Resolves #458
2025-05-26 11:37:58 +02:00
Martin Hebnes Pedersen
4d1615fbf8 Enhance support for reply templates
* Add insertion tags MsgOriginal*
* Insert original body as citation at the end of the message.
2024-12-19 23:53:46 +01:00
Martin Hebnes Pedersen
917592942b Fix formatting of dates in test
Gofmt did not agree with my zero-padded numeric constants.
2024-04-13 07:33:20 +02:00
Martin Hebnes Pedersen
51e115fd17 Trim whitespace from form vars in XML attachment
I found this difference when comparing against Winlink Express's output
using the same Form template. Winlink Express trims trailing whitespace
before writing the form variables as XML.
2024-04-13 07:33:20 +02:00
Martin Hebnes Pedersen
4d7ab34e65 Cleanup 2024-04-13 07:33:20 +02:00
Martin Hebnes Pedersen
f0c78674e5 Fix missing appname for tag <ProgramVersion> 2024-04-13 07:33:20 +02:00
Martin Hebnes Pedersen
a0076fd6a9 Refactor XML marshalling and add tests
Also fixed issue of inconsistent output due to unstable ordering of form
variables.
2024-04-13 07:33:20 +02:00
Martin Hebnes Pedersen
bc9512e159 Add a couple of missing insertion Tags + docs
<Day>, <UDay>, <GPSLatitude> and <GPSLongitude>
2024-04-13 07:33:20 +02:00
Martin Hebnes Pedersen
35988914fb Add more insertion tags tests 2024-04-13 07:33:20 +02:00
Martin Hebnes Pedersen
bda13dc25e Refactor gridSquare position formatting 2024-04-13 07:33:20 +02:00