From 24491000ad87ee6530b37a5e51fe4f2a99f85e5d Mon Sep 17 00:00:00 2001 From: Bryan Ashby Date: Sun, 8 May 2022 19:24:38 -0600 Subject: [PATCH] Update and add missing 'desc' to menu templates --- misc/menu_templates/file_base.in.hjson | 10 ++++++---- misc/menu_templates/login.in.hjson | 22 ++++++++++++++++------ misc/menu_templates/main.in.hjson | 15 ++++++++------- misc/menu_templates/message_base.in.hjson | 17 ++++++++++++----- misc/menu_templates/new_user.in.hjson | 9 ++++++--- misc/menu_templates/private_mail.in.hjson | 3 ++- 6 files changed, 50 insertions(+), 26 deletions(-) diff --git a/misc/menu_templates/file_base.in.hjson b/misc/menu_templates/file_base.in.hjson index afd497d0..8b102c68 100644 --- a/misc/menu_templates/file_base.in.hjson +++ b/misc/menu_templates/file_base.in.hjson @@ -56,8 +56,8 @@ } fileBaseListEntries: { - module: file_area_list desc: Browsing Files + module: file_area_list config: { art: { browse: FBRWSE @@ -575,8 +575,8 @@ } fileBaseSearch: { - module: file_base_search desc: Searching Files + module: file_base_search art: FSEARCH form: { 0: { @@ -648,8 +648,8 @@ } fileBaseSetNewScanDate: { - module: set_newscan_date desc: File Base + module: set_newscan_date art: SETFNSDATE config: { target: file @@ -679,6 +679,7 @@ } fileBaseExportListFilter: { + desc: File List Export module: file_base_search art: FBLISTEXPSEARCH config: { @@ -754,6 +755,7 @@ } fileBaseExportList: { + desc: File List Export module: file_base_user_list_export art: FBLISTEXP config: { @@ -812,7 +814,7 @@ // default menu entry used by the 'file_base_download_manager' module // for protocol selection fileTransferProtocolSelection: { - desc: Protocol selection + desc: Protocol Selection module: file_transfer_protocol_select art: FPROSEL form: { diff --git a/misc/menu_templates/login.in.hjson b/misc/menu_templates/login.in.hjson index c3fc5340..e708bea5 100644 --- a/misc/menu_templates/login.in.hjson +++ b/misc/menu_templates/login.in.hjson @@ -4,6 +4,7 @@ // Send telnet connections to matrix where users can login, apply, etc. // telnetConnected: { + desc: Telnet Connect art: CONNECT next: matrix config: { nextTimeout: 1500 } @@ -15,6 +16,7 @@ // depending on user ACS. // sshConnected: { + desc: SSH Connect art: CONNECT next: [ { @@ -34,6 +36,7 @@ // application process. // sshConnectedNewUser: { + desc: SSH Connect art: CONNECT next: newUserApplicationPreSsh config: { nextTimeout: 1500 } @@ -41,6 +44,7 @@ // Ye ol' standard matrix matrix: { + desc: Login Matrix art: matrix form: { 0: { @@ -106,6 +110,7 @@ } login: { + desc: Login art: USERLOG next: [ { @@ -156,6 +161,7 @@ } loginAttemptTooNode: { + desc: Already Logged In art: TOONODE config: { cls: true @@ -165,6 +171,7 @@ } loginAttemptAccountLocked: { + desc: Account Locked art: ACCOUNTLOCKED config: { cls: true @@ -174,6 +181,7 @@ } loginAttemptAccountDisabled: { + desc: Account Disabled art: ACCOUNTDISABLED config: { cls: true @@ -183,6 +191,7 @@ } loginAttemptAccountInactive: { + desc: Inactive Account art: ACCOUNTINACTIVE config: { cls: true @@ -192,7 +201,7 @@ } forgotPassword: { - desc: Forgot password + desc: Forgot Password prompt: forgotPasswordPrompt submit: [ { @@ -204,7 +213,7 @@ } forgotPasswordSubmitted: { - desc: Forgot password + desc: Forgot Password art: FORGOTPWSENT config: { cls: true @@ -240,7 +249,7 @@ } fullLoginSequenceOnelinerz: { - desc: Viewing Onelinerz + desc: Onelinerz module: onelinerz next: [ { @@ -350,7 +359,7 @@ } fullLoginSequenceNewScan: { - desc: Performing New Scan + desc: New Scan module: new_scan art: NEWSCAN next: fullLoginSequenceSysStats @@ -360,7 +369,7 @@ } newScanMessageList: { - desc: New Messages + desc: New Message List module: msg_list art: NEWMSGS config: { @@ -403,8 +412,8 @@ } newScanFileBaseList: { - module: file_area_list desc: New Files + module: file_area_list config: { art: { browse: FNEWBRWSE @@ -557,6 +566,7 @@ } loginTwoFactorAuthOTP: { + desc: 2FA art: 2FAOTP next: fullLoginSequenceLoginArt form: { diff --git a/misc/menu_templates/main.in.hjson b/misc/menu_templates/main.in.hjson index f2caef56..24651adc 100644 --- a/misc/menu_templates/main.in.hjson +++ b/misc/menu_templates/main.in.hjson @@ -73,8 +73,8 @@ menus: { mainMenu: { - art: MMENU desc: Main Menu + art: MMENU prompt: menuCommand config: { font: cp437 @@ -414,6 +414,7 @@ } mainMenuUserConfig: { + desc: User Config module: user_config art: CONFSCR form: { @@ -504,7 +505,7 @@ } mainMenuGlobalNewScan: { - desc: Performing New Scan + desc: New Scan module: new_scan art: NEWSCAN config: { @@ -513,7 +514,7 @@ } mainMenuFeedbackToSysOp: { - desc: Feedback to SysOp + desc: SysOp Feedback module: msg_area_post_fse config: { art: { @@ -802,7 +803,7 @@ } bbsList: { - desc: Viewing BBS List + desc: BBS List module: bbs_list config: { cls: true @@ -920,8 +921,8 @@ } fullLogoffSequencePreAd: { - art: PRELOGAD desc: Logging Off + art: PRELOGAD next: fullLogoffSequenceRandomBoardAd config: { cls: true @@ -930,8 +931,8 @@ } fullLogoffSequenceRandomBoardAd: { - art: OTHRBBS desc: Logging Off + art: OTHRBBS next: logoff config: { baudRate: 57600 @@ -941,8 +942,8 @@ } logoff: { - art: LOGOFF desc: Logging Off + art: LOGOFF next: @systemMethod:logoff } diff --git a/misc/menu_templates/message_base.in.hjson b/misc/menu_templates/message_base.in.hjson index 367e1903..d20d3077 100644 --- a/misc/menu_templates/message_base.in.hjson +++ b/misc/menu_templates/message_base.in.hjson @@ -1,8 +1,8 @@ { menus: { messageBaseMainMenu: { + desc: Message Menu art: MSGMNU - desc: Message Area prompt: messageBaseMenuPrompt config: { interrupt: realtime @@ -68,7 +68,7 @@ } messageBaseNewPost: { - desc: Posting message, + desc: Posting Message module: msg_area_post_fse config: { art: { @@ -184,6 +184,7 @@ } messageBaseChangeCurrentConference: { + desc: Changing Confs art: CCHANGE module: msg_conf_list form: { @@ -209,6 +210,7 @@ } messageBaseChangeCurrentArea: { + desc: Message Area List art: CHANGE module: msg_area_list form: { @@ -234,6 +236,7 @@ } messageBaseMessageList: { + desc: Message List module: msg_list art: MSGLIST config: { @@ -262,8 +265,8 @@ } messageBaseSetNewScanDate: { + desc: New Scan Update module: set_newscan_date - desc: Message Base art: SETMNSDATE config: { target: message @@ -297,7 +300,7 @@ } messageBaseSearch: { - desc: Message Search + desc: Searching Messages module: message_base_search art: MSEARCH config: { @@ -360,7 +363,7 @@ } messageBaseSearchResultsMessageList: { - desc: Message Search + desc: Searching Messages module: msg_list art: MSRCHLST config: { @@ -474,6 +477,7 @@ } messageAreaViewPost: { + desc: Viewing Message module: msg_area_view_fse config: { art: { @@ -599,6 +603,7 @@ } messageAreaReplyPost: { + desc: Replying to Message module: msg_area_post_fse config: { art: { @@ -764,6 +769,7 @@ // conferences using the conference tag as an art spec. // changeMessageConfPreArt: { + desc: Viewing Art module: show_art config: { method: messageConf @@ -781,6 +787,7 @@ // areas using the area tag as an art spec. // changeMessageAreaPreArt: { + desc: Viewing Art module: show_art config: { method: messageArea diff --git a/misc/menu_templates/new_user.in.hjson b/misc/menu_templates/new_user.in.hjson index 084e3788..a574a0d0 100644 --- a/misc/menu_templates/new_user.in.hjson +++ b/misc/menu_templates/new_user.in.hjson @@ -2,9 +2,9 @@ menus: { // A quick preamble - defaults to warning about broken terminals newUserApplicationPre: { + desc: Applying art: NEWUSER1 next: newUserApplication - desc: Applying config: { pause: true cls: true @@ -13,6 +13,7 @@ } newUserApplication: { + desc: Applying module: nua art: NUA next: [ @@ -112,9 +113,9 @@ // A quick preamble - defaults to warning about broken terminals (SSH version) newUserApplicationPreSsh: { + desc: Applying art: NEWUSER1 next: newUserApplicationSsh - desc: Applying config: { pause: true cls: true @@ -127,6 +128,7 @@ // Canceling this form logs off vs falling back to matrix // newUserApplicationSsh: { + desc: Applying module: nua art: NUA fallback: logoff @@ -221,13 +223,14 @@ } newUserFeedbackToSysOpPreamble: { + desc: Applying art: LETTER config: { pause: true } next: newUserFeedbackToSysOp } newUserFeedbackToSysOp: { - desc: Feedback to SysOp + desc: SysOp Feedback module: msg_area_post_fse next: [ { diff --git a/misc/menu_templates/private_mail.in.hjson b/misc/menu_templates/private_mail.in.hjson index ebf4d104..e27314dc 100644 --- a/misc/menu_templates/private_mail.in.hjson +++ b/misc/menu_templates/private_mail.in.hjson @@ -1,8 +1,8 @@ { menus: { privateMailMenu: { - art: MAILMNU desc: Private Mail + art: MAILMNU prompt: menuCommand config: { interrupt: realtime @@ -142,6 +142,7 @@ } privateMailMenuInbox: { + desc: Viewing Inbox module: msg_list art: PRVMSGLIST config: {