Commit Graph

75 Commits

Author SHA1 Message Date
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 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 dd7d24f22e
Many WFC related improvements (WIP)
* Update systeminformation to 5.x
* More work on WFC display of basic stats -- nearly complete
* Disable idle timeout when on WFC
2022-05-01 12:41:20 -06:00
Bryan Ashby 63c2ffcffa
FIX: Neither Backspace or Delete work in mTCP Telnet #412
* Add CTRL-D as a default additional backspace key
 * Kludge 'delete' treated the same as 'backspace' in EditTextView if at the EOL
2022-04-08 15:19:00 -06:00
Nathan Byrd 10c9ea9554 General bug fixes 2022-01-28 10:33:04 -06:00
Nathan Byrd 358a778b0a Fixed uneccessary call to setFocus 2022-01-21 13:53:32 -06:00
Bryan Ashby f8788d56d6
Merge branch '0.0.10-alpha' of ssh://numinibsd/git/base/enigma-bbs into security-updates 2019-06-11 18:25:35 -06:00
Bryan Ashby afb7854ea5
Clean up logging a bit & implement 'omit'
* 'omit' can be set to omit views from form submission
* Don't log as much noise
2019-06-08 11:57:36 -06:00
Bryan Ashby 8802ae24ba
Good progress on 2FA/OTP config 2019-05-24 22:27:50 -06:00
Bryan Ashby 3aa23db306 initDefaultWidht() for various views 2018-06-23 22:23:22 -06:00
Bryan Ashby 611a52e946 * Did add a tweak to the concept for height only: autoAdjustHeight can be used where it makes sense
* See also: #159
2018-06-23 20:16:44 -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 cac3e0ceae Better fillChar handling, specialKeyMapOverride() 2018-03-04 13:35:36 -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 8002bbe8fe Start using new enig assert vs standard assert 2016-08-26 21:30:25 -06:00
Bryan Ashby d50e505bd7 * Allow for clients such as ConnectBot that see "home" as 0,0 vs ANSI-BBS standard 1,1 by offsetting CPR values
* Some code cleanup
* Don't assert in View.js setPosition(); Instead, sanatize values
2016-08-14 11:45:31 -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 a9490d8fd2 Formatting 2015-12-24 11:54:38 -07:00
Bryan Ashby 490d71c180 Remove console.log() 2015-12-10 21:44:36 -07:00
Bryan Ashby 964b899fe5 * 'validator' property 2015-12-10 00:03:58 -07:00
Bryan Ashby b2592d0e71 * Fixes to actionKeys with new focus changes
* Various fixes, minor changes
2015-09-20 19:10:09 -06:00
Bryan Ashby 6d49e5e55f * Pass 'key' object to actions & submit form events 2015-08-13 16:05:17 -06:00
Bryan Ashby 4a342ba2fa * Functional last callers mod
* Notes
* Some cleanup
2015-07-27 22:10:20 -06:00
Bryan Ashby 99ea870ebc * @method for view properties. WIP... hacked in, needs cleaned up & DRY
* Messing around with different approaches to last callers...
2015-07-26 22:51:06 -06:00
Bryan Ashby 316a9c8b7f * Fix issue with submit matching when argName used 2015-07-13 13:41:21 -06:00
Bryan Ashby aab07bb330 * Fix crash with JuiceSSH
* Lots of WIP on FSE
* Various notes & fixes
2015-07-11 16:39:42 -06:00
Bryan Ashby 1f409435f4 * Fix bug assigning wrong default submit view ID 2015-07-10 11:11:08 -06:00
Bryan Ashby 3d5d21bcb5 * Lots of WIP on FSE demo
* WIP emit position from MutliLineEditTextView
* ansi.rawWrite() when no iconv/lfs to be processed
2015-07-05 19:05:55 -06:00
Bryan Ashby a241f91546 * A few updates to experimental per-client child logging
* StatusBarView skeleton
* Code cleanup
* Menus scan specify emulated baud rate
2015-07-02 23:28:39 -06:00
Bryan Ashby c1469a1f9c * isSpecialKeyMapped() renamed to isKeyMapped()
* Functional HorizontalMenuView
* Minor updates
2015-07-01 20:18:34 -06:00
Bryan Ashby d346fe72ee * Lots of minor code cleanup
* WIP work on HorizontalMenuView
* Initial art for HorizontalMenuView demo
2015-06-30 22:45:27 -06:00
Bryan Ashby 658c64c8c8 * Bunch of WIP on new setPropertyValue() stuff making it easier to set props from JSON 2015-06-29 23:14:17 -06:00
Bryan Ashby 8a5f890bee * Start work on setProperty() functionality -- this will replace some of the view controller work 2015-06-28 22:45:57 -06:00
Bryan Ashby feab2e0233 * Some SyncTERM / EtherTerm key support for new key system
* Break long words for word wrap if required
* Lots of cursor movement improvements for MultiLineEditText2
* Code cleanup
2015-06-06 00:33:59 -06:00
Bryan Ashby 8a17ca694e * Most everything converted to new 'key press' system. Still WIP, some cleanup & probably a few keys to add for various BBS style terminals 2015-06-05 16:20:26 -06:00
Bryan Ashby dd0568f207 * Most of new key/DSR implementation in place... a bit more to go with separation of ch vs key & cleaing up the two handlers -> one onKeyPress 2015-06-04 22:29:14 -06:00
Bryan Ashby e401e4a1a0 * A lot more work on cursor movement/etc. for MultiLineEditTextView2
* Start mostly placeholder stuff for regular key press / insertion of text
2015-06-03 22:00:33 -06:00
Bryan Ashby eaa4feeebd * Rename position x/y stuff to row/col. X/Y were backwards anyway :) 2015-05-18 11:31:35 -06:00
Bryan Ashby 3bf34487d7 * Start (mostly placeholder) for MultiLineEditTextView 2015-05-16 14:39:14 -06:00
Bryan Ashby a96af34a20 * Lots of code cleanup
* New standard MCI codes for labels
* WIP MaskEditTextView
* Extra styles for EditTextView
2015-05-14 23:01:00 -06:00
Bryan Ashby 37adeb5f90 * Fix some handling of height, itemSpacing, etc. in VerticalMenuView
* Change auto scale to be height/width dependent
2015-05-07 16:14:16 -06:00
Bryan Ashby cdfb7ce6f2 * Start work on VerticalMenuView changes allowing scrolling views. Lots to go. 2015-05-05 22:19:21 -06:00
Bryan Ashby a01f5d2f24 * Just some notes 2015-05-04 22:04:36 -06:00
Bryan Ashby 3f92a7949d * Some code cleanup
* Lots of notes/thoughts
2015-04-30 22:29:24 -06:00
Bryan Ashby e8346779da * styleColor -> styleSGR1, styleSGR2 2015-04-30 16:41:43 -06:00
Bryan Ashby 04c85d2311 * Fix MCI colors. Everything working well so far! 2015-04-30 14:39:03 -06:00
Bryan Ashby 3f29e3dba4 * Start of work on re-write of SGR stuff related to MCI codes 2015-04-29 15:38:20 -06:00