Commit Graph

118 Commits

Author SHA1 Message Date
Bryan Ashby b20b6cc5ca
Updates on form validation
* Better errors, using enig Errors and ErrorReasons
* If subject isn't required, don't enforce it
* Allow validator listeners to override error (ie: ignore)
2023-02-04 13:44:55 -07:00
Bryan Ashby a8e867a4bb
Support 'maxLength' property in MLTEV; Enforce this by default, to 500 characters for AP messages. WIP optional subjects, some new configuration 2023-02-04 11:51:47 -07:00
Bryan Ashby 64848b4675
Initial 'Note' support for ActivitiyPub/Mastodon, reconition of @User@domain ActivityPub addresses, skeleton for ActivityPub scan/toss 2023-01-11 22:37:09 -07:00
Bryan Ashby b48d133229
Fix some view offsets that broke with CPR removal
* Fix Quote builder
* Fix File Browser details
* Added 'viewOffsets' ability to loadFromMenuConfig() and friends
* Add MenuModule.getCustomViewsWithFilter() -> Array[] of views
* Add ViewController.applyViewOffsets()
2022-08-15 22:23:14 -06:00
Bryan Ashby 4881c2123a First pass formatting with Prettier
* Added .prettierrc.json
* Added .prettierignore
* Formatted
2022-06-05 14:04:25 -06:00
Nathan Byrd f72b4659b3 Small fix on fse formatting 2022-03-25 19:31:39 -05:00
Nathan Byrd b7da0dc82a Getting closer, fixed fse 2022-03-25 19:27:01 -05:00
Nathan Byrd d4098ed114 Additional fixes from code review comments 2022-01-29 21:27:03 -06:00
Nathan Byrd 10c9ea9554 General bug fixes 2022-01-28 10:33:04 -06:00
Bryan Ashby 862031c57f
Bug fix: Word wrap when dealing with pipe codes
Bug fix: Assumed FES styleizers
2021-01-02 15:04:16 -07:00
Bryan Ashby 14b1b2b145
Yet more FSE color/style improvements 2020-12-31 15:35:44 -07:00
Bryan Ashby 6abd166d22
Much improved 2020-12-31 01:20:46 -07:00
Bryan Ashby d568cb993d
Add support for tear line and origin line style 2020-12-28 17:04:11 -07:00
Bryan Ashby 4533dc3e01
Better quote style support 2020-12-27 00:08:45 -07:00
Bryan Ashby 94d4a52530
Add support for stylizing quote indicators ( XX>) 2020-12-26 15:08:37 -07:00
Bryan Ashby c944e97699
Add to menu 2020-11-24 13:15:22 -07:00
Bryan Ashby 1e2b6ae934
Working 2020-11-24 13:05:17 -07:00
Bryan Ashby 75601a80ec
WIP 2020-11-23 19:41:08 -07:00
Bryan Ashby 6ff8b36836
Fix modTimestampFormat 2020-11-22 20:59:45 -07:00
Bryan Ashby dff8e12dcc
Message ACS improvements & minor fixes
+ getSuitableMessageConfAndAreaTags(): Get a suitable conf/area tag pair with priority on defaults
+ hasMessageConfAndAreaRead() helper
+ filterMessageAreaTagsByReadACS() helper
* Always include confTag/areaTag when fetching a conf or area (convenience)
* Fix 'toRemoteUser' assignment in message
* Better kick out of message conf/areas users does not have access to
2019-09-11 21:21:33 -06:00
Bryan Ashby b435f3fbb8
Comments 2019-08-10 11:09:34 -06:00
Bryan Ashby 8fde4ccd60
Initial auto-signature support 2019-08-09 23:17:41 -06:00
Bryan Ashby fdce4c939c
Minor 2019-06-22 20:26:58 -06:00
Bryan Ashby 20d3b0fec9
Doh, fix username vs realname 2019-06-17 21:08:50 -06:00
Bryan Ashby da91bf0191
Fix real names during message save 2019-05-15 21:51:44 -06:00
Bryan Ashby f4088303ca cleanControlCodes -> stripAnsiControlCodes 2018-12-17 22:08:59 -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 d11aca571e Yet more UserProps usage 2018-11-23 22:02:36 -07:00
Bryan Ashby 4050affedf More conversion to UserProps 2018-11-23 17:41:16 -07:00
Bryan Ashby b3ec97cc5c Art asset ACS conditional cleanup: Make more general purpose 2018-11-17 18:56:09 -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 1d8be6b014 Pardon the noise. More tab to space conversion! 2018-06-22 21:26:46 -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 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 a121d60c1b Fix lastReadId logic 2018-02-01 19:34:14 -07:00
Bryan Ashby 837326e15a MANY changes around message listing / viewing
* If messageList is used, alwasy require items to contain areaTag
* Standardize messageList a bit - still WIP, needs cleaned up
* Lof of changes around area/conf tracking in relation to messages and message listings
* Work for message searching
* Clean up of various code, much to do...
2018-01-31 22:45:03 -07:00
Bryan Ashby 974ee1b389 MAJOR *POSSIBLY BREAKING* changes in FSE
* WIP on cleanup to use 'standard' MCI formatting / theming  used elsewhere in system
* Some MCI ID changes (e.g. FSE in edit mode %TL13 -> %TL4); update your theme.hjson / artwork!
2018-01-26 21:45:08 -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 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 2bc8e417e4 Fix non-reply crash 2018-01-12 23:44:22 -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 ab12fb5d79 Lookup username and real name in various scenarios 2018-01-05 22:03:33 -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 79e410315c Remove a extra line when quoting 2017-09-08 23:07:11 -06:00
Bryan Ashby af911f8e74 Ability to set 'next' to advance to next area/conf during newscan 2017-08-29 19:38:34 -06:00
Bryan Ashby 9379c7f5e7 Prepped ANSI is working very well + ANSI in FSE pristine in *most* cases
Moved prepAnsi() -> ansi_prep.js as ansiPrep (single export)
2017-08-28 23:17:35 -06:00
Bryan Ashby f6f3f8d80e ANSI replies are now importing to Mysgic correctly!
* Removed XX> prefix when in ANSI reply mode -- this borks Mystic/others
* Hard code CRLF in text lines in ANSI replies - no longer try to "flow" the text (no other systems support this)
2017-08-27 11:17:29 -06:00
Bryan Ashby 968a22c5eb Silence warning 2017-08-26 20:26:41 -06:00