Commit Graph

68 Commits

Author SHA1 Message Date
Nathan Byrd 7a189b238f Several cosmetic fixes for off-by-one in padding and display issues when resetting lists 2023-02-20 13:29:03 -06:00
Nathan Byrd e963f18ba4 Several cosmetic fixes for off-by-one in padding and display issues when resetting lists 2023-02-20 13:08:11 -06:00
Bryan Ashby 62735411f6
Fix longstanding itemFormat/focusItemFormat issue 2023-02-19 19:54:46 -07:00
Bryan Ashby 9172fdda9d
Re-apply some Prettier formatting after merge 2022-06-12 14:12:03 -06:00
Bryan Ashby e0fca9f8f7
Initial sync up with master after Prettier 2022-06-12 13:57:46 -06:00
Bryan Ashby 4881c2123a First pass formatting with Prettier
* Added .prettierrc.json
* Added .prettierignore
* Formatted
2022-06-05 14:04:25 -06:00
Bryan Ashby 7988938dcc
Sync with master 2022-04-08 17:38:28 -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 d6cc53c263
Some more stats 2020-11-09 21:32:34 -07:00
Bryan Ashby 9e9dc9af89
A lot of code tidy up 2020-06-15 19:08:55 -06:00
Bryan Ashby 14f7ca9dcc
Add Ability to Import All File Areas at Once #271
* Simple wildcard support for area tags param
2020-05-07 20:02:12 -06:00
Bryan Ashby 8817113364
* Create bundle filenames to spec
* Better cp437 vs utf8 vs other encoding support
* Add some CP437 and related utils
2020-05-02 13:34:28 -06:00
Bryan Ashby c9ff904b2b
Fix various minor mistakes 2019-11-08 19:20:14 -07:00
Bryan Ashby f4088303ca cleanControlCodes -> stripAnsiControlCodes 2018-12-17 22:08:59 -07: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 aecc24079f Revert "Fix word wrap crash reported by user when pipe codes are in play"
This reverts commit 0a486d290f.
2018-02-04 10:39:14 -07:00
Bryan Ashby 0a486d290f Fix word wrap crash reported by user when pipe codes are in play 2018-02-04 10:27:32 -07:00
Bryan Ashby 50074d7765 Remove unused require 2018-01-21 20:49:49 -07:00
Bryan Ashby 8bfad971a1 Finish conversion from 'binary' -> 'binary-parser'
* FTN packets
* SAUCE
2018-01-21 11:58:19 -07:00
Bryan Ashby a8d5e84779 * Fix justification 'right' vs 'left': They were flipped (durp!). Right aligned is now really that, etc. You may need to update your theme.hjson/similar! 2018-01-15 16:08: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 50bac95857 * Fix ANSI description display during upload
* Major improvements to upload: Allow user to properly edit descriptions even if provided by .diz/system/etc.
2017-09-11 21:01:35 -06:00
Bryan Ashby 9d09390561 Add countWithAbbr and countAbbr format specifiers 2017-09-09 13:59:23 -06:00
Bryan Ashby 3980c8acae Add new file base system stats and MCI codes 2017-09-09 11:48:43 -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 1bad0de5c1 Major improvements to quote builder for pre-formatted text/etc. 2017-08-27 20:08:13 -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 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 dda4ad6698 Fix some prepAnsi code, add insert() method 2017-08-24 22:20:44 -06:00
Bryan Ashby bf8552e24f * Better isAnsi() regex
* Handle word wrap within ANSI on plain text lines
2017-08-20 20:40:36 -06:00
Bryan Ashby b896046bff Add 'auto' support for prepAnsi() rows/height 2017-08-17 21:31:57 -06:00
Bryan Ashby a7060a351b ANSI improvements
* ANSI in FSE
* ANSI vs standard quote builder
* ANSI handling methods/helpers
2017-08-16 21:36:14 -06:00
Bryan Ashby 0a079ee4d8 Display ANSI in file area desc view 2017-08-06 11:31:21 -06:00
Bryan Ashby d57ca0873e * File Base newscan basic functionality
* Try to handle unknown options in telnet server
2017-07-17 19:46:38 -06:00
Bryan Ashby d230a2f58b * Don't allow 'system' filters to be deleted
* Code cleanup
* Static UUID for "default/system" filters
2017-07-09 20:00:36 -06:00
Bryan Ashby 019596d709 Convert to using graceful-fs vs vanilla fs module 2017-05-19 21:20:19 -06:00
Bryan Ashby f85388e747 Remove bad code :) 2017-02-12 21:52:56 -07:00
Bryan Ashby f0db0e3c94 * file.db: file_user_rating: Table for tracking average user rating of a file
* Default filter order to descending
* File rating support including in search/filter
* Default to passing submitted form data (if any) @ prevMenu()
* Fix issues with byte/size formatting for 0
* Allow action keys for prompts
* use MenuModule.pausePrompt() in various places
* Add quick search to file area
* Display dupes, if any @ upload
2017-02-07 20:20:10 -07:00
Bryan Ashby 6f1015305b * Allow alternate matching group order for archive short/long desc
* max short/long desc file input byte size (ignore files larger than N)
* Add Arj support via 'arj'
2017-01-29 22:30:48 -07:00
Bryan Ashby 99036592ae * Bump version to 0.0.2-alpha: File Base alpha here
* LHA/LZH archive support via external lha command
* Nearly complete upload processor
* Set default file base filter if none is set
* Additional MenuModule common method/helpers
* MLTEV property: tabSwitchesView
2017-01-22 21:30:49 -07:00
Bryan Ashby e265e3cc97 * WIP on upload scan/processing
* WIP on user add/edit data to uploads
* Add write access (upload) to area ACS
* Add upload collision handling
* Add upload stats
2017-01-11 22:51:00 -07:00
Bryan Ashby 6da7d557f9 * Improvements to ANSI parser
* Introduction of storage tags for file bases / areas
* Expiration for file web server items
* WIP work on clean ANSI (on hold for a bit while other file base stuff is worked on)
2016-12-06 18:58:56 -07: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 d621fa9566 * renderStringLength(): Account for ESC[<N>C "forward" ESC seq
* Use string util renderStringLength() in word wrap
* Hopefully resolve all issues with renderSubstr()
* Fix width issue in message list
2016-09-06 23:20:11 -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 30ba609fb4 * Add rumorz mod
* ANSI/pipe working properly in VerticalMenuView
* Fix bug in renderStringLength()
* Make initSequence() part of prototype chain for inheritance
* Use proper 'desc' field vs 'status' for menus when setting client/user status
* Move pipeToAnsi() to setItems/setFocusItems vs every render
* Add %RR random rumor MCI
* Predefined MCI's can be init @ startup - RR uses random as a test bed
* Add some StatLog functionality for ordering, keep forever, etc.
* Fix TextView redraw issue
* Better VerticalMenuView drawItem() logic
* Add 'key press' emit for View
* Enable formats for BBS list - works with MCI
* Remove old system_property.js
2016-08-10 22:48:13 -06:00
Bryan Ashby 6283a047f3 Fix renderSubstr() with start > 0 2016-08-06 19:58:14 -06:00
Bryan Ashby 33f0553ea9 Use sane switch style :) 2016-08-03 22:43:06 -06:00
Bryan Ashby 969cd35ece * Use standard MCI codes in FSE/etc.
* Add mod mixin for temp area/conf switch e.g. used by new scan, fse, so on
* string utils: renderSubstr(), renderStringLength(): Works with *rendered* text. That is, is smart enough to ignore ANSI and RA style pipe color codes
* string util pad() works with ANSI/RA pipe codes
* TextView can now display text with RA pipe codes and MCI codes
* Message conf/area welcome art #81
* Update luciano art with new MCI
2016-08-03 19:48:45 -06:00