Commit Graph

102 Commits

Author SHA1 Message Date
Bryan Ashby 4881c2123a First pass formatting with Prettier
* Added .prettierrc.json
* Added .prettierignore
* Formatted
2022-06-05 14:04:25 -06:00
Bryan Ashby 2d9d8782f6
Move to @breejs/later - maintained later.js 2020-11-23 17:24:40 -07:00
Bryan Ashby 8aa878a3ee
Fix TIC replace bug 2020-11-21 14:56:03 -07:00
Bryan Ashby 9ed7c049ad Update uuid dep 2020-05-14 22:05:17 -06:00
Bryan Ashby 60955cac11
Fix Message.uuid vs Message.messageUuid
* Just use Message.messageUuid which better aligns with message_uuid in DB, messageId, etc.
* Keep uuid as property for now just in case
2020-05-14 19:46:00 -06:00
Bryan Ashby d6dce82a92
Clean up log a bit 2020-05-07 19:00:32 -06:00
Bryan Ashby 3732914c4a
Add extra log 2020-05-06 17:50:44 -06:00
Bryan Ashby 59ee52ea6f
Tidy + some logging 2020-05-06 17:34:37 -06:00
Bryan Ashby eaace9a81d TODO notes 2019-01-02 20:07:46 -07:00
Bryan Ashby a3ba57b0b8 Fix schedule issue 2018-12-14 23:21:33 -07:00
Bryan Ashby 6cce013187 + MCI: PT - total messages posted today (non-private)
+ MCI: TP - total messages/posts on system (non-private, includes imports, only counts *current*, not all of time)
* Move some stats to startup() calls
* Fix some DATE() comparisons in SQL to use 'localtime' as our timestamps include TZ
* Update luciano_blocktronics SYSSTAT to show more info
2018-11-27 21:21:00 -07:00
Bryan Ashby 1f9b963e76 Fix typo 2018-11-22 10:10:53 -07:00
Bryan Ashby aa2e2e56e3 Fix FTN address lookup crash when scanning 2018-08-11 20:45:50 -06:00
Bryan Ashby e24511678d Ensure 'tag' exists 2018-07-04 18:42:59 -06:00
Bryan Ashby 1d8be6b014 Pardon the noise. More tab to space conversion! 2018-06-22 21:26:46 -06:00
Bryan Ashby a4e10f5ba5 Add .eslintignore, tidy up a bit 2018-06-21 23:35:52 -06:00
Bryan Ashby e9787cee3e ENiGMA 1/2 WILL USE SPACES FROM THIS POINT ON VS TABS
* Really just to make GitHub formatting happy. Arg.
2018-06-21 23:15:04 -06:00
Bryan Ashby 1fe46894d3 More Hot-Reload related changes
* Config.get(): Returns the latest config
* Update code all over the place to use Config.get() vs Config.conf (which will be deprecated)
2018-06-20 19:57:06 -06:00
Bryan Ashby 3db5081698 Allow wildcards such as "21:*" for node configuraiton keys
* Resolves TODO
* Aligns with docs
2018-02-05 20:13:29 -07:00
Bryan Ashby cc119297e8 wcValue -> wildcards (readability) 2018-01-26 21:39:53 -07:00
Bryan Ashby 5caf7a9fce Move NetMail routes to scannerTossers: { ftn_bso: { ... } } where it belongs in config.hjson 2018-01-20 18:47:19 -07:00
Bryan Ashby 70a2bc5160 Rework BSO-style flow file generation
* Add point address NNNNnnnn.pnt sub dir support
* Use *route* address in case of non-direct destinations
2018-01-20 18:32:15 -07:00
Bryan Ashby afe0c88cfc NetMail non-HUB fixes
* Properly separate FTN *packet* header vs *message* header DST/SRC information
* Change routes{} handling: These are now *require* for out-of-HUB routing such that Enig will know where to send messages
2018-01-20 15:16:35 -07:00
Bryan Ashby ac1433e84b * Code cleanup and eslint since -- remove unused variables, clean up RegExs, so on... 2018-01-15 12:22:11 -07:00
Bryan Ashby 136d21276c Add new scan pointers for mb/fb 2018-01-14 17:09:23 -07:00
Bryan Ashby e7b0e4af30 Add private exported + sent mail cleanup to trimMessageAreasScheduledEvent() scheduled event 2018-01-14 13:52:40 -07:00
Bryan Ashby 84fd0ff6d2 Add ability to send directly to a NetMail address 2018-01-13 09:06:50 -07:00
Bryan Ashby 27fcd40900 Fix remote from user @ import 2018-01-12 19:06:33 -07:00
Bryan Ashby 00deb3fe72 * Add concept of external flavor to import/exported mails, e.g. 'ftn'
* Add to/from remote user meta for opaqe addrs, e.g. 'ftn' flavor can use FTN-style addresses
* Allow replys from inbox to a NetMail
2018-01-11 21:39:14 -07:00
Bryan Ashby f939babe72 Updates and isNetmail=isPrivate 2018-01-09 20:48:47 -07:00
Bryan Ashby 99244aa2e4 * Use Zone:Net/* for lookup before defualt local address when setting 'from' for NetMail 2018-01-06 13:24:35 -07:00
Bryan Ashby f967ce1ce6 * Fix String vs Address when creating (NetMail) packets causing orig address info to not be recorded correctly 2018-01-05 22:02:36 -07:00
Bryan Ashby 84a1f70fc2 * Add some user lookup functionality
* Fix INTL to/from order
* Remove VIA kludge when initially creating a NetMail message
2018-01-01 18:10:38 -07:00
Bryan Ashby e7109b0f0c Minor fix 2018-01-01 17:50:27 -07:00
Bryan Ashby bbd70f2fea Minor log changes 2018-01-01 15:13:56 -07:00
Bryan Ashby 6d929237d2 * Handle import of NetMail messages
* Add NetMail aliases support (name -> localname lookup, e.g. "root" -> "NuSkooler"
* Minor code changes / cleanup
2018-01-01 13:32:55 -07:00
Bryan Ashby 11a19d899e * Use per-network outbound for NetMail just like EchoMail
* Use BSO style FLO file for NetMail
* Some code cleanup
2017-12-31 18:45:39 -07:00
Bryan Ashby fc40641eeb NetMail avail to oputil & export - WIP 2017-12-31 17:54:11 -07:00
Bryan Ashby c652fb65ea Merge in changes from 0.0.7-alpha branch for watchFiles 2017-10-02 21:30:33 -06:00
Bryan Ashby 0bef268276 Issue #122: If watch file exists at startup, kick off task/schedule 2017-10-02 21:28:32 -06:00
Bryan Ashby 68c6197732 Merge in sane vs gaze stuff 2017-10-02 21:10:25 -06:00
Bryan Ashby 067bb9e884 * Switch to sane over gaze for file watching: Gaze was not triggering on file additions
* Remove watching of config files for now -- doesn't work anyway. Will revisit later.
2017-10-02 21:06:53 -06:00
Bryan Ashby af52ed6153 Better handling of TIC import descriptions
* Add descPriority config option (default='diz')
* Really prefer diz/ldesc over *generated* descriptions e.g. from filename or info extractors
2017-10-01 11:07:49 -06:00
Bryan Ashby 8b7cf1f210 Add extra logging around TIC processing 2017-09-29 19:43:22 -06:00
Bryan Ashby d132f3932a Prepare exported ANSI messages by ensuring they are < 79 characters in length, using ESC[A ESC[<N>C to adjust long lines 2017-08-26 20:37:20 -06:00
Bryan Ashby f45de620b1 Utilize explicit_encoding at export if set 2017-08-20 20:41:19 -06:00
Bryan Ashby 7343ab2ff2 Updated Events - use glob for finding nested modules/etc. 2017-06-22 22:19:34 -06:00
Andrew Pamment bb76939745 Fixes thtrue in #115 2017-06-22 12:38:57 +10:00
Bryan Ashby 019596d709 Convert to using graceful-fs vs vanilla fs module 2017-05-19 21:20:19 -06:00
Bryan Ashby f510fca656 Tic File Processor didn't work on nodelist file #111 2017-03-13 20:11:43 -06:00