Bryan Ashby
3bbdd4abae
Check for MSGID explicitly during dupe check if present
2016-07-05 22:32:13 -06:00
Bryan Ashby
f87e9917a0
* Resolve issue #59 : Better message UUID generation and dupe checks
2016-07-05 22:18:43 -06:00
Bryan Ashby
36ce2354e3
* Functional event scheduler - still some to do, but works
...
* WIP on message area cleanup via scheduler
* Some const cleanup
2016-06-19 21:09:45 -06:00
Bryan Ashby
1a689805b5
Fix StateFlags0 -> state_flags0 -- was causing imports to export!
2016-04-14 23:08:54 -06:00
Bryan Ashby
9080b1d0b9
Fix conflict
2016-04-14 22:12:46 -06:00
Bryan Ashby
1113a5f366
Fix some encode/decoding errors with unknown/unsupported encodings
2016-04-14 22:11:01 -06:00
Bryan Ashby
2c0267adf1
Fix assert when looking for MSGID
2016-04-13 21:38:45 -06:00
Bryan Ashby
7278450d9e
* Ability to save off imported (and later, exported) packets for debugging purposes via scannerTossers::ftn_bso::retainImportPacketPath config.hjson opt
2016-04-13 21:06:27 -06:00
Bryan Ashby
a6d7d41601
FTN/BSN import/export now ignores case in filenames
2016-04-02 09:56:16 -06:00
Bryan Ashby
fbf9bc49f9
Better FTN outbound handing of zones...I think
2016-04-02 00:28:25 -06:00
Bryan Ashby
568a138cab
* Better logging of import/export stats & schedules
...
* Some code cleanup
* Remove all mkdirp module stuff -- use fs-extra
2016-03-28 22:07:21 -06:00
Bryan Ashby
434fcdb652
* Fix a few bugs with import - use eachSeries() for packet import to properly handle SQL transaction with 2:n packets
2016-03-28 19:36:09 -06:00
Bryan Ashby
8645cac892
Use fs-extra for move vs fs.rename(), start replace of mkdirp
2016-03-27 23:19:18 -06:00
Bryan Ashby
686573e362
Merge branch 'msg_network' of ssh://numinibsd/git/base/enigma-bbs into msg_network
2016-03-23 21:01:01 -06:00
Bryan Ashby
98e6afa1af
* Don't blow up @ message network record() if no network configured for areaTag
...
* Remove console.log() of message persist; use proper client.log
2016-03-23 20:59:38 -06:00
Bryan Ashby
4e21901be7
* Fix hard line feeds @ FTN import/export
...
* Retain Origin and tear lines in imported messages
2016-03-22 22:24:00 -06:00
Bryan Ashby
d29829a46c
* Implemented @watch rule for import schedule
...
* Implemented @immediate rule for export schedule
2016-03-15 21:44:24 -06:00
Bryan Ashby
964c53ea9f
* Changed scan check to use new System state_flags0 meta to skip already imported/exported msgs
...
* Use moment.js for Message modTimestamp
* Remove user_message_status stuff
* Add REPLY kludge support @ export
* Use TID vs PID kludge @ export (spec)
* Start work on @immediate - nearly complete
2016-03-14 22:29:41 -06:00
Bryan Ashby
a787a2eab3
* Fix collsion with import/export temporary dirs; better use of temp dirs all around
...
* Raw (non-bundle) packet exports are now BSO named (e.g. .cut for crash)
2016-03-13 11:11:51 -06:00
Bryan Ashby
86c659849c
* Flow file creation for exported bundles based on node configuration - 'crash' is currently the default
2016-03-12 00:22:06 -07:00
Bryan Ashby
31ca7d3eaf
* Don't export imported messages
...
* Some basic code cleanup
2016-03-09 22:32:00 -07:00
Bryan Ashby
ad0296addf
* Change FTN packet read() to use async iterator
...
* createMessageUuidAlternate(): Mmethod for FTN message v5 UUID generation when no MSGID to work with
* parseAbbreviatedNetNodeList() now works properly
* Add core/uuid_util.js for various UUID utilities such as v5 named UUID generation
* Fix message meta load/retrieval
* Add lookup for REPLY kludge -> MSGID -> local reply IDs
* Fix SEEN-BY additions @ export
* Don't override MSGIDs if they already exist
* Store MSGID @ export so it can be inspected later
* Add import functionality (working, but WIP!)
* Clean up bundles and packets after import
2016-03-08 22:30:04 -07:00
Bryan Ashby
6094bed07f
* Use node-temp for temp file creation, cleanup, etc.
...
* Lots of WIP on FTN BSO import
* Fix double callbacks in ArchiveUtil
* Impl ArchiveUtil.extractTo()
* Update bunyan
2016-03-03 22:54:32 -07:00
Bryan Ashby
5c324788fe
* Minor work on FTN/BSO import
...
* Minor work on message network docs
2016-03-01 22:42:29 -07:00
Bryan Ashby
662d3f232e
* Use key name for configured archiver name (e.g. "zip")
...
* Start WIP on mesasge import/toss via schedule
* Defaults for message network name
2016-02-29 22:32:51 -07:00
Bryan Ashby
1a6af18801
Update area scan ID after successful export
2016-02-28 22:35:43 -07:00
Bryan Ashby
76bbc43600
* Start work on FTN/BSO schedule via later.js
...
* Utilize last scan message ID to scan areas
* Lots of changes to FTN packet creation
* Create packets with target max size
* Create ArcMail bundles when configured to do so
2016-02-28 22:04:03 -07:00
Bryan Ashby
ae20dc1f7c
* Fix FTN packet created date/time & moment stuff
2016-02-23 23:38:05 -07:00
Bryan Ashby
1417b7efdd
* Fix messages with no origin line
...
* Fix end of message/termination detection for FTN packets
* Start of archive support -- one use will be FTN archives
* Work on FTN ArcMail/bundles
2016-02-23 21:56:22 -07:00
Bryan Ashby
a858a93ee1
* FTN BSO module: Export to <domain>.<zone> dirs where appropriate
...
* Code cleanup
* Fix FTN packet header writing
* Add CHRS support to FTN packet I/O
* Change to FNV-1a hash of ms since 2016-1-1 ("enigma epoc") + message ID for MSGID serial number and <packet>.pkt BSO export
* Only write some FTN kludges for EchoMail (vs NetMail)
* If config specifies, call message network modoule(s) .record() method @ persist (WIP)
2016-02-20 17:57:38 -07:00
Bryan Ashby
74f5342997
* msg_network.js: Management of message network modules (start/stop/etc.)
...
* Minor updates to ES6 in some areas
* Better bbs.js startup seq
* Better iterator support for loadModulesForCategory()
* Start work on loading message network modules & tieing in record() (WIP)
* FTN PacketHeader is now a ES6 class
* Various FTN utils, e.g. Via line creation
2016-02-16 22:11:55 -07:00
Bryan Ashby
13d5c4d8f4
* New Address class for FTN addresses + experiment with ES6 classes
...
* Move a lot of address functionality/parsing/etc. to Address
* WIP on ftn_bso scan/tosser
* PATH and SEEN-BY creation, parsing, etc.
2016-02-15 17:56:05 -07:00
Bryan Ashby
dec78e942d
* Reworked FTN packet I/O (WIP)
...
* Detect FTN packet 2, 2.2, and 2+
* Various FTN utils (MSGID, Origin, PID, generation etc)
* More work on message network readyness
2016-02-09 22:30:59 -07:00