Commit Graph

97 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 8c1ff7e228
Exit on error 2020-07-05 15:32:10 -06:00
Bryan Ashby 20bbbd2f59
Nicer handling of config file errors at startup 2020-06-18 21:29:24 -06:00
Bryan Ashby 4d4be5d6a9
Major progress on revamp
* Deprecated explicit prompt.hjson/general.promptFile, etc.: menu.hjson can simply include any number of files
* All menus and themes, their events, etc. are managed by ThemeManager allowing includes, refs, etc. and much cleaner code
2020-06-17 00:10:51 -06:00
Bryan Ashby 9394730011
New Config class working quite well for system config. Menu.hjson/etc. to come 2020-06-11 21:16:15 -06:00
Bryan Ashby 56472c80a8
Decent merge customizer 2020-06-10 19:15:49 -06:00
Bryan Ashby dd2a6258d5
Fix up some deprecated config refs 2020-06-07 21:21:31 -06:00
Bryan Ashby 714f32f695
Add Node.js version to startup log 2020-05-13 19:04:11 -06:00
Bryan Ashby 3efea3de9a
Work on 2FA/OTP email system
* Web routes/handler/etc. mostly functional
* Can now enable -> follow link -> submit -> capture form
* Clean up code
2019-06-12 21:57:45 -06: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 f471fd0ebe Finally implement "Total Calls Today" MCI: TT
+ Add findSystemLogEntries() to StatLog amongst others
2018-11-25 20:13:48 -07:00
Bryan Ashby ec97b3e8d4 More user/system stat constants & usage 2018-11-25 19:05:16 -07:00
Bryan Ashby 2c4fdfdd5f * Moved oputil.js config import-areas to 'oputil.js mb import-areas'
* 'oputil.js mb import-areas' now *optionally* binds areas to FTN networks. Otherwise only areas are imported
2018-11-24 20:02:19 -07:00
Bryan Ashby 1dafa2854b Fix initial load introduced last nigth :( 2018-11-24 09:39:53 -07:00
Bryan Ashby f80e07fcf9 ...and more UserProps 2018-11-23 22:18:15 -07:00
Bryan Ashby 941e7d0a03 Fix ./main.js --version 2018-11-14 19:53:14 -07:00
Bryan Ashby 52585c78f0 Major changes around events, event log, etc.
* User event log is now functional & attached to various events
* Add additional missing system events
* Completely re-write last_callers to have new functionality, etc.
* Events.addListenerMultipleEvents()
* New 'moduleInitialize' export for module init vs Event specific registerEvents
* Add docs on last_callers mod
2018-07-21 14:32:06 -06:00
Bryan Ashby f4afe9847d Handle bad config.hjson at startup/re-cache: output to stderr 2018-07-02 19:32:27 -06:00
Bryan Ashby c3635bb26b More tabs to spaces.. 2018-06-22 20:48:36 -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 2f09f3e995 Fix a couple rare bugs around SSH sessions 2018-06-14 20:00:01 -06:00
Bryan Ashby 4aab8224ed Initial version of hot-reload of config, menus, and prompts
* Themes use ES6 Map vs object{}
* Re-write and re-enable config cache using sane
* Events sent for config, prompt, or menu changes
* Event sent for theme changes
* Theme (or parent menu/prompt) changes cause re-merge and updates to connected clients
2018-06-13 21:02:00 -06:00
Bryan Ashby 207e361c03 Pull copyright from license - easier to maintain single place 2018-04-10 19:53:04 -06:00
Bryan Ashby d3d8268df8 + New file base list export functionality (early beta!)
* File base area startup() and cleanup
* Better prepViewController() signature
2018-03-03 21:46:41 -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
David Stephens 521e38d7e9 Supply config path to main.js and oputil.js, rather than specific config file 2017-11-25 22:45:19 +00:00
Bryan Ashby 3980c8acae Add new file base system stats and MCI codes 2017-09-09 11:48:43 -06:00
Bryan Ashby 0366f0139c Add application/x-arj and text/x-ansi MIME types 2017-06-23 22:49:46 -06:00
Bryan Ashby 7343ab2ff2 Updated Events - use glob for finding nested modules/etc. 2017-06-22 22:19:34 -06:00
Josh M. McKee 06e84eee94 Spaces to tabs, to match upstream convention 2017-06-10 18:52:11 -07:00
Josh M. McKee 002b0e941e Events system, first pass 2017-06-10 17:29:00 -07:00
Bryan Ashby 019596d709 Convert to using graceful-fs vs vanilla fs module 2017-05-19 21:20:19 -06:00
Bryan Ashby a1e51c41ee Call main... main! 2017-05-10 21:29:04 -06:00
Bryan Ashby f5899bc10f * Bump version to 0.0.5-alpha
* Add email password reset support
2017-02-26 21:28:05 -07:00
Bryan Ashby 058ff3f367 * Rework user.js and User object to ES6
* Update download stats for user when web download is completed
2017-02-18 13:21:18 -07:00
Bryan Ashby 2e10fdfdf5 Updates to upload check, docs 2017-02-09 22:03:21 -07:00
Bryan Ashby f9e91987ac Better arg parsing for main 2017-02-09 21:08:23 -07:00
Bryan Ashby 8889014f47 Update copyrights 2017-01-25 22:59:12 -07:00
Bryan Ashby a7c0f2b7b0 * Add FileBaseFilters
* Add HTTP(S) file web server with temp URLs
* Get temp web d/l from file list
* Add File area filter editor (all file area stuff will be rename to file "base" later)
* Concept of "listening servers" vs "login servers"
* Ability to get servers by their package name
* New MCI: %FN: File Base active filter name
* Some ES6 updates
* VC resetInitialFocus() to set focus to explicit/detected initial focus field
* Limit what is dumped out when logging form data
2016-10-24 21:49:45 -06:00
Bryan Ashby 5a0b291a02 * Some WIP on file area releated stuff - various partially implemented pieces coming together
* Some changes to database.js: Triggers for FTS were not being created properly
* Misc fixes & improvements
2016-09-28 21:54:25 -06:00
Bryan Ashby caa9137162 * Move login servers to core/servers/login
* A bit of minor changes related to upcoming file areas --- will likely branch before anything major
* Clean up database.js a bit
2016-09-19 21:28:21 -06:00
Bryan Ashby e90cf673e3 Updates to event scheduler 2016-09-13 21:44:35 -06:00
Bryan Ashby f7c21baa52 * FSE quote format is now configurable and random if there are 2:n available
* Remove old 3rd party string-format & replace with string_format.js version
* Some fix some bugs with string_format.js padding, width, and number format
2016-09-04 21:36:26 -06:00
Bryan Ashby ef6c21e48e comment 2016-08-26 21:28:02 -06:00
Bryan Ashby 383b3b449d * Fix key press event for EditTextView
* Fix MCI draw issue for TextView
* Missing bbs.js MCI init
2016-08-10 23:35:17 -06:00
Bryan Ashby 8787703989 * New StatLog: Replaces various logs, system props, etc. into one class/methods
* Uew StatLog for last callers
* Use new StatLog for +op props
* Use new StatLog for user props such as posts & MCI to access such
* Use StatLog for various new MCI codes for +op
* Misc missing MCI codes
2016-07-27 21:44:27 -06:00
Bryan Ashby b0ddc3fec4 Minor cleanup, allow console.log(), .error(), etc. here 2016-07-25 10:47:30 -06:00
Bryan Ashby 8cd07d2af4 Add startup log entry 2016-07-19 21:23:41 -06:00
Bryan Ashby 485711b5da * Clean up some logs
* Add serializer for 'err' in logs for passing full err object
* Don't dump HUGE message lists to log during new scan
2016-07-16 13:05:32 -06:00