summary |
shortlog | log |
commit |
commitdiff |
tree
first ⋅ prev ⋅ next
Sebastian [Sun, 15 Jun 2014 18:52:46 +0000 (20:52 +0200)]
apps/scan.pl: locate modules correctly, v5.010
Sebastian [Sun, 15 Jun 2014 18:18:05 +0000 (20:18 +0200)]
multi: new msgbase structure
apps/scan.pl: updated to use FTNMAIL.pm
docs/msgbase.txt: updated
modules/MSGBASE.pm: updated
modules/FTNMAIL.pm: small fixes
Sebastian [Sun, 15 Jun 2014 11:08:26 +0000 (13:08 +0200)]
modules/FTNMAIL: remove default output charset
Packing a mail now requires a (valid) character set.
This removes the dependency on CONFIG.pm and allows
per-mail charsets (per language/echo...).
Sebastian [Sun, 15 Jun 2014 01:44:41 +0000 (03:44 +0200)]
fido: big cleanup
FIDOMAIL.pm is replaced with FTNMAIL.pm. Expect bugs.
The internal mail data structure has changed
and is documented in docs/ftn.txt now.
All Fido-specific helper functions from MISC.pm are gone.
The configuration entry "address" is renamed to "ftn_address",
and "in_charset" is gone. Always assuming CP437 seems reasonable.
Sebastian [Tue, 10 Jun 2014 22:56:32 +0000 (00:56 +0200)]
apps/scan.pl: new argument parser, skip directories
Directories inside inbound are now skipped.
Instead of "scan.pl path/", now needs to be called with "scan.pl -i path/".
This allows "-c config -i path".
Sebastian [Tue, 10 Jun 2014 22:49:58 +0000 (00:49 +0200)]
modules/CONFIG: use configuration file (-c)
All applications using the CONFIG module now require a "-c /path/to/config"
parameter. Loading the module fails if this file is missing or incomplete.
Sebastian [Tue, 10 Jun 2014 20:55:43 +0000 (22:55 +0200)]
modules/MISC: add write_datestring
Sebastian [Sat, 7 Jun 2014 13:33:58 +0000 (15:33 +0200)]
modules: say warnings on stdout, not stderr
"scan.pl inbound >logfile" now works.
Sebastian [Sat, 7 Jun 2014 13:32:13 +0000 (15:32 +0200)]
modules/MISC: fix month numbers (now 1..12)
Sebastian [Sat, 7 Jun 2014 13:19:04 +0000 (15:19 +0200)]
modules/MSGBASE: quote table name ("24000_GER")
Sebastian [Thu, 5 Jun 2014 23:09:25 +0000 (01:09 +0200)]
Save area in additional sql table column 'area'.
Allows messages from multiple areas to be saved in the same
database table. Enables implementation of an OUTBOUND table.
Sebastian [Wed, 4 Jun 2014 23:25:08 +0000 (01:25 +0200)]
apps: initial scan.pl
Reads a binkley-style inbound directory and handles both
ARCmail (ZIP only) and *.PKT files, other files are ignored.
Mails are imported in the message base, successfully handled
files are deleted.
Sebastian [Wed, 4 Jun 2014 23:13:54 +0000 (01:13 +0200)]
modules: initial FIDOMAIL, MSGBASE, MISC, CONFIG
FIDOMAIL: handles FTN style mail
- read_packet_file: reads packed message file and parses headers to messages
- read_message: reads and parses messages, generates mails (see docs/)
- write_packet_file and write_message are stubbed so far
MSGBASE: handles message base
- area_list: list existing areas
- area_open, area_close: connect/disconnect from area database
- mail_add, mail_remove: add/remove mail from area
- mail_search: search area for mails
MISC: lots of helper functions
- FTN-CHRS <-> charset map
- read_datestring: parse different date formats
- date2text / text2date: convert to/from "yyyy-mm-hh"
- time2text / text2time: convert to/from "hh:mm:ss"
- fido2text / text2fido: convert to/from "z:n/n.p"
- netnodelist2text / text2netnodelist: converts parsed PATH/SEEN-BY kludges
CONFIG: configuration store
Sebastian [Wed, 4 Jun 2014 23:05:52 +0000 (01:05 +0200)]
docs: message base and internal data formats