fido.git
10 years agomodules/MISC: add write_datestring
Sebastian [Tue, 10 Jun 2014 20:55:43 +0000 (22:55 +0200)]
modules/MISC: add write_datestring

10 years agomodules: say warnings on stdout, not stderr
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.

10 years agomodules/MISC: fix month numbers (now 1..12)
Sebastian [Sat, 7 Jun 2014 13:32:13 +0000 (15:32 +0200)]
modules/MISC: fix month numbers (now 1..12)

10 years agomodules/MSGBASE: quote table name ("24000_GER")
Sebastian [Sat, 7 Jun 2014 13:19:04 +0000 (15:19 +0200)]
modules/MSGBASE: quote table name ("24000_GER")

10 years agoSave area in additional sql table column 'area'.
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.

10 years agoapps: initial scan.pl
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.

10 years agomodules: initial FIDOMAIL, MSGBASE, MISC, CONFIG
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

10 years agodocs: message base and internal data formats
Sebastian [Wed, 4 Jun 2014 23:05:52 +0000 (01:05 +0200)]
docs: message base and internal data formats