Move modules in mods into /core
This commit is contained in:
parent
57d46dd57e
commit
618ecc0714
|
@ -220,7 +220,7 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
newUserApplication: {
|
newUserApplication: {
|
||||||
module: nua
|
module: @systemModule:nua
|
||||||
art: NUA
|
art: NUA
|
||||||
options: {
|
options: {
|
||||||
menuFlags: [ "noHistory" ]
|
menuFlags: [ "noHistory" ]
|
||||||
|
@ -341,7 +341,7 @@
|
||||||
// Canceling this form logs off vs falling back to matrix
|
// Canceling this form logs off vs falling back to matrix
|
||||||
//
|
//
|
||||||
newUserApplicationSsh: {
|
newUserApplicationSsh: {
|
||||||
module: nua
|
module: @systemModule:nua
|
||||||
art: NUA
|
art: NUA
|
||||||
fallback: logoff
|
fallback: logoff
|
||||||
options: {
|
options: {
|
||||||
|
@ -445,7 +445,7 @@
|
||||||
|
|
||||||
newUserFeedbackToSysOp: {
|
newUserFeedbackToSysOp: {
|
||||||
desc: Feedback to SysOp
|
desc: Feedback to SysOp
|
||||||
module: msg_area_post_fse
|
module: @systemModule:msg_area_post_fse
|
||||||
next: [
|
next: [
|
||||||
{
|
{
|
||||||
acs: AS2
|
acs: AS2
|
||||||
|
@ -579,7 +579,7 @@
|
||||||
|
|
||||||
fullLoginSequenceLastCallers: {
|
fullLoginSequenceLastCallers: {
|
||||||
desc: Last Callers
|
desc: Last Callers
|
||||||
module: last_callers
|
module: @systemModule:last_callers
|
||||||
art: LASTCALL
|
art: LASTCALL
|
||||||
options: {
|
options: {
|
||||||
pause: true
|
pause: true
|
||||||
|
@ -589,7 +589,7 @@
|
||||||
}
|
}
|
||||||
fullLoginSequenceWhosOnline: {
|
fullLoginSequenceWhosOnline: {
|
||||||
desc: Who's Online
|
desc: Who's Online
|
||||||
module: whos_online
|
module: @systemModule:whos_online
|
||||||
art: WHOSON
|
art: WHOSON
|
||||||
options: { pause: true }
|
options: { pause: true }
|
||||||
next: fullLoginSequenceOnelinerz
|
next: fullLoginSequenceOnelinerz
|
||||||
|
@ -597,7 +597,7 @@
|
||||||
|
|
||||||
fullLoginSequenceOnelinerz: {
|
fullLoginSequenceOnelinerz: {
|
||||||
desc: Viewing Onelinerz
|
desc: Viewing Onelinerz
|
||||||
module: onelinerz
|
module: @systemModule:onelinerz
|
||||||
next: [
|
next: [
|
||||||
{
|
{
|
||||||
// calls >= 2
|
// calls >= 2
|
||||||
|
@ -732,7 +732,7 @@
|
||||||
|
|
||||||
newScanMessageList: {
|
newScanMessageList: {
|
||||||
desc: New Messages
|
desc: New Messages
|
||||||
module: msg_list
|
module: @systemModule:msg_list
|
||||||
art: NEWMSGS
|
art: NEWMSGS
|
||||||
config: {
|
config: {
|
||||||
menuViewPost: messageAreaViewPost
|
menuViewPost: messageAreaViewPost
|
||||||
|
@ -772,7 +772,7 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
newScanFileBaseList: {
|
newScanFileBaseList: {
|
||||||
module: file_area_list
|
module: @systemModule:file_area_list
|
||||||
desc: New Files
|
desc: New Files
|
||||||
config: {
|
config: {
|
||||||
art: {
|
art: {
|
||||||
|
@ -1019,14 +1019,14 @@
|
||||||
|
|
||||||
mainMenuLastCallers: {
|
mainMenuLastCallers: {
|
||||||
desc: Last Callers
|
desc: Last Callers
|
||||||
module: last_callers
|
module: @systemModule:last_callers
|
||||||
art: LASTCALL
|
art: LASTCALL
|
||||||
options: { pause: true }
|
options: { pause: true }
|
||||||
}
|
}
|
||||||
|
|
||||||
mainMenuWhosOnline: {
|
mainMenuWhosOnline: {
|
||||||
desc: Who's Online
|
desc: Who's Online
|
||||||
module: whos_online
|
module: @systemModule:whos_online
|
||||||
art: WHOSON
|
art: WHOSON
|
||||||
options: { pause: true }
|
options: { pause: true }
|
||||||
}
|
}
|
||||||
|
@ -1045,7 +1045,7 @@
|
||||||
|
|
||||||
mainMenuUserList: {
|
mainMenuUserList: {
|
||||||
desc: User Listing
|
desc: User Listing
|
||||||
module: user_list
|
module: @systemModule:user_list
|
||||||
art: USERLST
|
art: USERLST
|
||||||
form: {
|
form: {
|
||||||
0: {
|
0: {
|
||||||
|
@ -1166,7 +1166,7 @@
|
||||||
|
|
||||||
mainMenuFeedbackToSysOp: {
|
mainMenuFeedbackToSysOp: {
|
||||||
desc: Feedback to SysOp
|
desc: Feedback to SysOp
|
||||||
module: msg_area_post_fse
|
module: @systemModule:msg_area_post_fse
|
||||||
config: {
|
config: {
|
||||||
art: {
|
art: {
|
||||||
header: MSGEHDR
|
header: MSGEHDR
|
||||||
|
@ -1286,7 +1286,7 @@
|
||||||
|
|
||||||
mainMenuOnelinerz: {
|
mainMenuOnelinerz: {
|
||||||
desc: Viewing Onelinerz
|
desc: Viewing Onelinerz
|
||||||
module: onelinerz
|
module: @systemModule:onelinerz
|
||||||
options: {
|
options: {
|
||||||
cls: true
|
cls: true
|
||||||
}
|
}
|
||||||
|
@ -1372,7 +1372,7 @@
|
||||||
|
|
||||||
mainMenuRumorz: {
|
mainMenuRumorz: {
|
||||||
desc: Rumorz
|
desc: Rumorz
|
||||||
module: rumorz
|
module: @systemModule:rumorz
|
||||||
options: {
|
options: {
|
||||||
cls: true
|
cls: true
|
||||||
}
|
}
|
||||||
|
@ -1458,7 +1458,7 @@
|
||||||
|
|
||||||
ercClient: {
|
ercClient: {
|
||||||
art: erc
|
art: erc
|
||||||
module: erc_client
|
module: @systemModule:erc_client
|
||||||
config: {
|
config: {
|
||||||
host: localhost
|
host: localhost
|
||||||
port: 5001
|
port: 5001
|
||||||
|
@ -1510,7 +1510,7 @@
|
||||||
|
|
||||||
bbsList: {
|
bbsList: {
|
||||||
desc: Viewing BBS List
|
desc: Viewing BBS List
|
||||||
module: bbs_list
|
module: @systemModule:bbs_list
|
||||||
options: {
|
options: {
|
||||||
cls: true
|
cls: true
|
||||||
}
|
}
|
||||||
|
@ -1661,7 +1661,7 @@
|
||||||
//
|
//
|
||||||
doorPimpWars: {
|
doorPimpWars: {
|
||||||
desc: Playing PimpWars
|
desc: Playing PimpWars
|
||||||
module: abracadabra
|
module: @systemModule:abracadabra
|
||||||
config: {
|
config: {
|
||||||
name: PimpWars
|
name: PimpWars
|
||||||
dropFileType: DORINFO
|
dropFileType: DORINFO
|
||||||
|
@ -1684,7 +1684,7 @@
|
||||||
//
|
//
|
||||||
doorTradeWars2002BBSLink: {
|
doorTradeWars2002BBSLink: {
|
||||||
desc: Playing TW 2002 (BBSLink)
|
desc: Playing TW 2002 (BBSLink)
|
||||||
module: bbs_link
|
module: @systemModule:bbs_link
|
||||||
config: {
|
config: {
|
||||||
sysCode: XXXXXXXX
|
sysCode: XXXXXXXX
|
||||||
authCode: XXXXXXXX
|
authCode: XXXXXXXX
|
||||||
|
@ -1716,7 +1716,7 @@
|
||||||
|
|
||||||
telnetBridgeAgency: {
|
telnetBridgeAgency: {
|
||||||
desc: Connected to HappyLand BBS
|
desc: Connected to HappyLand BBS
|
||||||
module: telnet_bridge
|
module: @systemModule:telnet_bridge
|
||||||
config: {
|
config: {
|
||||||
host: agency.bbs.geek.nz
|
host: agency.bbs.geek.nz
|
||||||
}
|
}
|
||||||
|
@ -1779,7 +1779,7 @@
|
||||||
|
|
||||||
messageAreaChangeCurrentConference: {
|
messageAreaChangeCurrentConference: {
|
||||||
art: CCHANGE
|
art: CCHANGE
|
||||||
module: msg_conf_list
|
module: @systemModule:msg_conf_list
|
||||||
form: {
|
form: {
|
||||||
0: {
|
0: {
|
||||||
mci: {
|
mci: {
|
||||||
|
@ -1810,7 +1810,7 @@
|
||||||
messageAreaChangeCurrentArea: {
|
messageAreaChangeCurrentArea: {
|
||||||
// :TODO: rename this art to ACHANGE
|
// :TODO: rename this art to ACHANGE
|
||||||
art: CHANGE
|
art: CHANGE
|
||||||
module: msg_area_list
|
module: @systemModule:msg_area_list
|
||||||
form: {
|
form: {
|
||||||
0: {
|
0: {
|
||||||
mci: {
|
mci: {
|
||||||
|
@ -1839,7 +1839,7 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
messageAreaMessageList: {
|
messageAreaMessageList: {
|
||||||
module: msg_list
|
module: @systemModule:msg_list
|
||||||
art: MSGLIST
|
art: MSGLIST
|
||||||
config: {
|
config: {
|
||||||
menuViewPost: messageAreaViewPost
|
menuViewPost: messageAreaViewPost
|
||||||
|
@ -1875,7 +1875,7 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
messageAreaViewPost: {
|
messageAreaViewPost: {
|
||||||
module: msg_area_view_fse
|
module: @systemModule:msg_area_view_fse
|
||||||
config: {
|
config: {
|
||||||
art: {
|
art: {
|
||||||
header: MSGVHDR
|
header: MSGVHDR
|
||||||
|
@ -1991,7 +1991,7 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
messageAreaReplyPost: {
|
messageAreaReplyPost: {
|
||||||
module: msg_area_post_fse
|
module: @systemModule:msg_area_post_fse
|
||||||
config: {
|
config: {
|
||||||
art: {
|
art: {
|
||||||
header: MSGEHDR
|
header: MSGEHDR
|
||||||
|
@ -2150,7 +2150,7 @@
|
||||||
// :TODO: messageAreaSelect (change msg areas -> call @systemMethod -> fallback to menu
|
// :TODO: messageAreaSelect (change msg areas -> call @systemMethod -> fallback to menu
|
||||||
messageAreaNewPost: {
|
messageAreaNewPost: {
|
||||||
desc: Posting message,
|
desc: Posting message,
|
||||||
module: msg_area_post_fse
|
module: @systemModule:msg_area_post_fse
|
||||||
config: {
|
config: {
|
||||||
art: {
|
art: {
|
||||||
header: MSGEHDR
|
header: MSGEHDR
|
||||||
|
@ -2306,7 +2306,7 @@
|
||||||
|
|
||||||
mailMenuCreateMessage: {
|
mailMenuCreateMessage: {
|
||||||
desc: Mailing Someone
|
desc: Mailing Someone
|
||||||
module: msg_area_post_fse
|
module: @systemModule:msg_area_post_fse
|
||||||
config: {
|
config: {
|
||||||
art: {
|
art: {
|
||||||
header: MSGEHDR
|
header: MSGEHDR
|
||||||
|
@ -2423,7 +2423,7 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
mailMenuInbox: {
|
mailMenuInbox: {
|
||||||
module: msg_list
|
module: @systemModule:msg_list
|
||||||
art: MSGLIST
|
art: MSGLIST
|
||||||
config: {
|
config: {
|
||||||
menuViewPost: messageAreaViewPost
|
menuViewPost: messageAreaViewPost
|
||||||
|
@ -2501,7 +2501,7 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
fileBaseListEntries: {
|
fileBaseListEntries: {
|
||||||
module: file_area_list
|
module: @systemModule:file_area_list
|
||||||
desc: Browsing Files
|
desc: Browsing Files
|
||||||
config: {
|
config: {
|
||||||
art: {
|
art: {
|
||||||
|
@ -2669,7 +2669,7 @@
|
||||||
|
|
||||||
fileBaseBrowseByAreaSelect: {
|
fileBaseBrowseByAreaSelect: {
|
||||||
desc: Browsing File Areas
|
desc: Browsing File Areas
|
||||||
module: file_base_area_select
|
module: @systemModule:file_base_area_select
|
||||||
art: FAREASEL
|
art: FAREASEL
|
||||||
form: {
|
form: {
|
||||||
0: {
|
0: {
|
||||||
|
@ -2725,7 +2725,7 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
fileBaseSearch: {
|
fileBaseSearch: {
|
||||||
module: file_base_search
|
module: @systemModule:file_base_search
|
||||||
desc: Searching Files
|
desc: Searching Files
|
||||||
art: FSEARCH
|
art: FSEARCH
|
||||||
form: {
|
form: {
|
||||||
|
@ -2799,7 +2799,7 @@
|
||||||
|
|
||||||
fileAreaFilterEditor: {
|
fileAreaFilterEditor: {
|
||||||
desc: File Filter Editor
|
desc: File Filter Editor
|
||||||
module: file_area_filter_edit
|
module: @systemModule:file_area_filter_edit
|
||||||
art: FFILEDT
|
art: FFILEDT
|
||||||
form: {
|
form: {
|
||||||
0: {
|
0: {
|
||||||
|
@ -2889,7 +2889,7 @@
|
||||||
|
|
||||||
fileBaseDownloadManager: {
|
fileBaseDownloadManager: {
|
||||||
desc: Download Manager
|
desc: Download Manager
|
||||||
module: file_base_download_manager
|
module: @systemModule:file_base_download_manager
|
||||||
config: {
|
config: {
|
||||||
art: {
|
art: {
|
||||||
queueManager: FDLMGR
|
queueManager: FDLMGR
|
||||||
|
@ -2950,7 +2950,7 @@
|
||||||
|
|
||||||
fileBaseWebDownloadManager: {
|
fileBaseWebDownloadManager: {
|
||||||
desc: Web D/L Manager
|
desc: Web D/L Manager
|
||||||
module: file_base_web_download_manager
|
module: @systemModule:file_base_web_download_manager
|
||||||
config: {
|
config: {
|
||||||
art: {
|
art: {
|
||||||
queueManager: FWDLMGR
|
queueManager: FWDLMGR
|
||||||
|
@ -3017,7 +3017,7 @@
|
||||||
|
|
||||||
fileTransferProtocolSelection: {
|
fileTransferProtocolSelection: {
|
||||||
desc: Protocol selection
|
desc: Protocol selection
|
||||||
module: file_transfer_protocol_select
|
module: @systemModule:file_transfer_protocol_select
|
||||||
art: FPROSEL
|
art: FPROSEL
|
||||||
form: {
|
form: {
|
||||||
0: {
|
0: {
|
||||||
|
@ -3049,7 +3049,7 @@
|
||||||
|
|
||||||
fileBaseUploadFiles: {
|
fileBaseUploadFiles: {
|
||||||
desc: Uploading
|
desc: Uploading
|
||||||
module: upload
|
module: @systemModule:upload
|
||||||
config: {
|
config: {
|
||||||
art: {
|
art: {
|
||||||
options: ULOPTS
|
options: ULOPTS
|
||||||
|
|
|
@ -1,11 +1,11 @@
|
||||||
/* jslint node: true */
|
/* jslint node: true */
|
||||||
'use strict';
|
'use strict';
|
||||||
|
|
||||||
const MenuModule = require('../../core/menu_module.js').MenuModule;
|
const MenuModule = require('./menu_module.js').MenuModule;
|
||||||
const DropFile = require('../../core/dropfile.js').DropFile;
|
const DropFile = require('./dropfile.js').DropFile;
|
||||||
const door = require('../../core/door.js');
|
const door = require('./door.js');
|
||||||
const theme = require('../../core/theme.js');
|
const theme = require('./theme.js');
|
||||||
const ansi = require('../../core/ansi_term.js');
|
const ansi = require('./ansi_term.js');
|
||||||
|
|
||||||
const async = require('async');
|
const async = require('async');
|
||||||
const assert = require('assert');
|
const assert = require('assert');
|
|
@ -1,8 +1,8 @@
|
||||||
/* jslint node: true */
|
/* jslint node: true */
|
||||||
'use strict';
|
'use strict';
|
||||||
|
|
||||||
const MenuModule = require('../../core/menu_module.js').MenuModule;
|
const MenuModule = require('./menu_module.js').MenuModule;
|
||||||
const resetScreen = require('../../core/ansi_term.js').resetScreen;
|
const resetScreen = require('./ansi_term.js').resetScreen;
|
||||||
|
|
||||||
const async = require('async');
|
const async = require('async');
|
||||||
const _ = require('lodash');
|
const _ = require('lodash');
|
||||||
|
@ -10,7 +10,7 @@ const http = require('http');
|
||||||
const net = require('net');
|
const net = require('net');
|
||||||
const crypto = require('crypto');
|
const crypto = require('crypto');
|
||||||
|
|
||||||
const packageJson = require('../../package.json');
|
const packageJson = require('../package.json');
|
||||||
|
|
||||||
/*
|
/*
|
||||||
Expected configuration block:
|
Expected configuration block:
|
|
@ -2,18 +2,18 @@
|
||||||
'use strict';
|
'use strict';
|
||||||
|
|
||||||
// ENiGMA½
|
// ENiGMA½
|
||||||
const MenuModule = require('../../core/menu_module.js').MenuModule;
|
const MenuModule = require('./menu_module.js').MenuModule;
|
||||||
|
|
||||||
const {
|
const {
|
||||||
getModDatabasePath,
|
getModDatabasePath,
|
||||||
getTransactionDatabase
|
getTransactionDatabase
|
||||||
} = require('../../core/database.js');
|
} = require('./database.js');
|
||||||
|
|
||||||
const ViewController = require('../../core/view_controller.js').ViewController;
|
const ViewController = require('./view_controller.js').ViewController;
|
||||||
const ansi = require('../../core/ansi_term.js');
|
const ansi = require('./ansi_term.js');
|
||||||
const theme = require('../../core/theme.js');
|
const theme = require('./theme.js');
|
||||||
const User = require('../../core/user.js');
|
const User = require('./user.js');
|
||||||
const stringFormat = require('../../core/string_format.js');
|
const stringFormat = require('./string_format.js');
|
||||||
|
|
||||||
// deps
|
// deps
|
||||||
const async = require('async');
|
const async = require('async');
|
|
@ -1,8 +1,8 @@
|
||||||
/* jslint node: true */
|
/* jslint node: true */
|
||||||
'use strict';
|
'use strict';
|
||||||
|
|
||||||
const MenuModule = require('../../core/menu_module.js').MenuModule;
|
const MenuModule = require('./menu_module.js').MenuModule;
|
||||||
const stringFormat = require('../../core/string_format.js');
|
const stringFormat = require('./string_format.js');
|
||||||
|
|
||||||
// deps
|
// deps
|
||||||
const async = require('async');
|
const async = require('async');
|
|
@ -2,11 +2,11 @@
|
||||||
'use strict';
|
'use strict';
|
||||||
|
|
||||||
// ENiGMA½
|
// ENiGMA½
|
||||||
const MenuModule = require('../../core/menu_module.js').MenuModule;
|
const MenuModule = require('./menu_module.js').MenuModule;
|
||||||
const ViewController = require('../../core/view_controller.js').ViewController;
|
const ViewController = require('./view_controller.js').ViewController;
|
||||||
const getSortedAvailableFileAreas = require('../../core/file_base_area.js').getSortedAvailableFileAreas;
|
const getSortedAvailableFileAreas = require('./file_base_area.js').getSortedAvailableFileAreas;
|
||||||
const FileBaseFilters = require('../../core/file_base_filter.js');
|
const FileBaseFilters = require('./file_base_filter.js');
|
||||||
const stringFormat = require('../../core/string_format.js');
|
const stringFormat = require('./string_format.js');
|
||||||
|
|
||||||
// deps
|
// deps
|
||||||
const async = require('async');
|
const async = require('async');
|
|
@ -2,23 +2,23 @@
|
||||||
'use strict';
|
'use strict';
|
||||||
|
|
||||||
// ENiGMA½
|
// ENiGMA½
|
||||||
const MenuModule = require('../../core/menu_module.js').MenuModule;
|
const MenuModule = require('./menu_module.js').MenuModule;
|
||||||
const ViewController = require('../../core/view_controller.js').ViewController;
|
const ViewController = require('./view_controller.js').ViewController;
|
||||||
const ansi = require('../../core/ansi_term.js');
|
const ansi = require('./ansi_term.js');
|
||||||
const theme = require('../../core/theme.js');
|
const theme = require('./theme.js');
|
||||||
const FileEntry = require('../../core/file_entry.js');
|
const FileEntry = require('./file_entry.js');
|
||||||
const stringFormat = require('../../core/string_format.js');
|
const stringFormat = require('./string_format.js');
|
||||||
const FileArea = require('../../core/file_base_area.js');
|
const FileArea = require('./file_base_area.js');
|
||||||
const Errors = require('../../core/enig_error.js').Errors;
|
const Errors = require('./enig_error.js').Errors;
|
||||||
const ErrNotEnabled = require('../../core/enig_error.js').ErrorReasons.NotEnabled;
|
const ErrNotEnabled = require('./enig_error.js').ErrorReasons.NotEnabled;
|
||||||
const ArchiveUtil = require('../../core/archive_util.js');
|
const ArchiveUtil = require('./archive_util.js');
|
||||||
const Config = require('../../core/config.js').config;
|
const Config = require('./config.js').config;
|
||||||
const DownloadQueue = require('../../core/download_queue.js');
|
const DownloadQueue = require('./download_queue.js');
|
||||||
const FileAreaWeb = require('../../core/file_area_web.js');
|
const FileAreaWeb = require('./file_area_web.js');
|
||||||
const FileBaseFilters = require('../../core/file_base_filter.js');
|
const FileBaseFilters = require('./file_base_filter.js');
|
||||||
const resolveMimeType = require('../../core/mime_util.js').resolveMimeType;
|
const resolveMimeType = require('./mime_util.js').resolveMimeType;
|
||||||
const isAnsi = require('../../core/string_util.js').isAnsi;
|
const isAnsi = require('./string_util.js').isAnsi;
|
||||||
const controlCodesToAnsi = require('../../core/color_codes.js').controlCodesToAnsi;
|
const controlCodesToAnsi = require('./color_codes.js').controlCodesToAnsi;
|
||||||
|
|
||||||
// deps
|
// deps
|
||||||
const async = require('async');
|
const async = require('async');
|
|
@ -2,10 +2,10 @@
|
||||||
'use strict';
|
'use strict';
|
||||||
|
|
||||||
// enigma-bbs
|
// enigma-bbs
|
||||||
const MenuModule = require('../../core/menu_module.js').MenuModule;
|
const MenuModule = require('./menu_module.js').MenuModule;
|
||||||
const stringFormat = require('../../core/string_format.js');
|
const stringFormat = require('./string_format.js');
|
||||||
const getSortedAvailableFileAreas = require('../../core/file_base_area.js').getSortedAvailableFileAreas;
|
const getSortedAvailableFileAreas = require('./file_base_area.js').getSortedAvailableFileAreas;
|
||||||
const StatLog = require('../../core/stat_log.js');
|
const StatLog = require('./stat_log.js');
|
||||||
|
|
||||||
// deps
|
// deps
|
||||||
const async = require('async');
|
const async = require('async');
|
|
@ -2,14 +2,14 @@
|
||||||
'use strict';
|
'use strict';
|
||||||
|
|
||||||
// ENiGMA½
|
// ENiGMA½
|
||||||
const MenuModule = require('../../core/menu_module.js').MenuModule;
|
const MenuModule = require('./menu_module.js').MenuModule;
|
||||||
const ViewController = require('../../core/view_controller.js').ViewController;
|
const ViewController = require('./view_controller.js').ViewController;
|
||||||
const DownloadQueue = require('../../core/download_queue.js');
|
const DownloadQueue = require('./download_queue.js');
|
||||||
const theme = require('../../core/theme.js');
|
const theme = require('./theme.js');
|
||||||
const ansi = require('../../core/ansi_term.js');
|
const ansi = require('./ansi_term.js');
|
||||||
const Errors = require('../../core/enig_error.js').Errors;
|
const Errors = require('./enig_error.js').Errors;
|
||||||
const stringFormat = require('../../core/string_format.js');
|
const stringFormat = require('./string_format.js');
|
||||||
const FileAreaWeb = require('../../core/file_area_web.js');
|
const FileAreaWeb = require('./file_area_web.js');
|
||||||
|
|
||||||
// deps
|
// deps
|
||||||
const async = require('async');
|
const async = require('async');
|
|
@ -2,10 +2,10 @@
|
||||||
'use strict';
|
'use strict';
|
||||||
|
|
||||||
// ENiGMA½
|
// ENiGMA½
|
||||||
const MenuModule = require('../../core/menu_module.js').MenuModule;
|
const MenuModule = require('./menu_module.js').MenuModule;
|
||||||
const ViewController = require('../../core/view_controller.js').ViewController;
|
const ViewController = require('./view_controller.js').ViewController;
|
||||||
const getSortedAvailableFileAreas = require('../../core/file_base_area.js').getSortedAvailableFileAreas;
|
const getSortedAvailableFileAreas = require('./file_base_area.js').getSortedAvailableFileAreas;
|
||||||
const FileBaseFilters = require('../../core/file_base_filter.js');
|
const FileBaseFilters = require('./file_base_filter.js');
|
||||||
|
|
||||||
// deps
|
// deps
|
||||||
const async = require('async');
|
const async = require('async');
|
|
@ -2,16 +2,16 @@
|
||||||
'use strict';
|
'use strict';
|
||||||
|
|
||||||
// ENiGMA½
|
// ENiGMA½
|
||||||
const MenuModule = require('../../core/menu_module.js').MenuModule;
|
const MenuModule = require('./menu_module.js').MenuModule;
|
||||||
const ViewController = require('../../core/view_controller.js').ViewController;
|
const ViewController = require('./view_controller.js').ViewController;
|
||||||
const DownloadQueue = require('../../core/download_queue.js');
|
const DownloadQueue = require('./download_queue.js');
|
||||||
const theme = require('../../core/theme.js');
|
const theme = require('./theme.js');
|
||||||
const ansi = require('../../core/ansi_term.js');
|
const ansi = require('./ansi_term.js');
|
||||||
const Errors = require('../../core/enig_error.js').Errors;
|
const Errors = require('./enig_error.js').Errors;
|
||||||
const stringFormat = require('../../core/string_format.js');
|
const stringFormat = require('./string_format.js');
|
||||||
const FileAreaWeb = require('../../core/file_area_web.js');
|
const FileAreaWeb = require('./file_area_web.js');
|
||||||
const ErrNotEnabled = require('../../core/enig_error.js').ErrorReasons.NotEnabled;
|
const ErrNotEnabled = require('./enig_error.js').ErrorReasons.NotEnabled;
|
||||||
const Config = require('../../core/config.js').config;
|
const Config = require('./config.js').config;
|
||||||
|
|
||||||
// deps
|
// deps
|
||||||
const async = require('async');
|
const async = require('async');
|
|
@ -2,10 +2,10 @@
|
||||||
'use strict';
|
'use strict';
|
||||||
|
|
||||||
// enigma-bbs
|
// enigma-bbs
|
||||||
const MenuModule = require('../../core/menu_module.js').MenuModule;
|
const MenuModule = require('./menu_module.js').MenuModule;
|
||||||
const Config = require('../../core/config.js').config;
|
const Config = require('./config.js').config;
|
||||||
const stringFormat = require('../../core/string_format.js');
|
const stringFormat = require('./string_format.js');
|
||||||
const ViewController = require('../../core/view_controller.js').ViewController;
|
const ViewController = require('./view_controller.js').ViewController;
|
||||||
|
|
||||||
// deps
|
// deps
|
||||||
const async = require('async');
|
const async = require('async');
|
|
@ -2,11 +2,11 @@
|
||||||
'use strict';
|
'use strict';
|
||||||
|
|
||||||
// ENiGMA½
|
// ENiGMA½
|
||||||
const MenuModule = require('../../core/menu_module.js').MenuModule;
|
const MenuModule = require('./menu_module.js').MenuModule;
|
||||||
const ViewController = require('../../core/view_controller.js').ViewController;
|
const ViewController = require('./view_controller.js').ViewController;
|
||||||
const StatLog = require('../../core/stat_log.js');
|
const StatLog = require('./stat_log.js');
|
||||||
const User = require('../../core/user.js');
|
const User = require('./user.js');
|
||||||
const stringFormat = require('../../core/string_format.js');
|
const stringFormat = require('./string_format.js');
|
||||||
|
|
||||||
// deps
|
// deps
|
||||||
const moment = require('moment');
|
const moment = require('moment');
|
|
@ -102,7 +102,6 @@ function loadModulesForCategory(category, iterator, complete) {
|
||||||
function getModulePaths() {
|
function getModulePaths() {
|
||||||
return [
|
return [
|
||||||
Config.paths.mods,
|
Config.paths.mods,
|
||||||
Config.paths.userMods,
|
|
||||||
Config.paths.loginServers,
|
Config.paths.loginServers,
|
||||||
Config.paths.contentServers,
|
Config.paths.contentServers,
|
||||||
Config.paths.scannerTossers,
|
Config.paths.scannerTossers,
|
||||||
|
|
|
@ -2,12 +2,12 @@
|
||||||
'use strict';
|
'use strict';
|
||||||
|
|
||||||
// ENiGMA½
|
// ENiGMA½
|
||||||
const MenuModule = require('../../core/menu_module.js').MenuModule;
|
const MenuModule = require('./menu_module.js').MenuModule;
|
||||||
const ViewController = require('../../core/view_controller.js').ViewController;
|
const ViewController = require('./view_controller.js').ViewController;
|
||||||
const messageArea = require('../../core/message_area.js');
|
const messageArea = require('./message_area.js');
|
||||||
const displayThemeArt = require('../../core/theme.js').displayThemeArt;
|
const displayThemeArt = require('./theme.js').displayThemeArt;
|
||||||
const resetScreen = require('../../core/ansi_term.js').resetScreen;
|
const resetScreen = require('./ansi_term.js').resetScreen;
|
||||||
const stringFormat = require('../../core/string_format.js');
|
const stringFormat = require('./string_format.js');
|
||||||
|
|
||||||
// deps
|
// deps
|
||||||
const async = require('async');
|
const async = require('async');
|
|
@ -1,8 +1,8 @@
|
||||||
/* jslint node: true */
|
/* jslint node: true */
|
||||||
'use strict';
|
'use strict';
|
||||||
|
|
||||||
const FullScreenEditorModule = require('../../core/fse.js').FullScreenEditorModule;
|
const FullScreenEditorModule = require('./fse.js').FullScreenEditorModule;
|
||||||
const persistMessage = require('../../core/message_area.js').persistMessage;
|
const persistMessage = require('./message_area.js').persistMessage;
|
||||||
|
|
||||||
const _ = require('lodash');
|
const _ = require('lodash');
|
||||||
const async = require('async');
|
const async = require('async');
|
|
@ -1,7 +1,7 @@
|
||||||
/* jslint node: true */
|
/* jslint node: true */
|
||||||
'use strict';
|
'use strict';
|
||||||
|
|
||||||
var FullScreenEditorModule = require('../../core/fse.js').FullScreenEditorModule;
|
var FullScreenEditorModule = require('./fse.js').FullScreenEditorModule;
|
||||||
|
|
||||||
exports.getModule = AreaReplyFSEModule;
|
exports.getModule = AreaReplyFSEModule;
|
||||||
|
|
|
@ -2,8 +2,8 @@
|
||||||
'use strict';
|
'use strict';
|
||||||
|
|
||||||
// ENiGMA½
|
// ENiGMA½
|
||||||
const FullScreenEditorModule = require('../../core/fse.js').FullScreenEditorModule;
|
const FullScreenEditorModule = require('./fse.js').FullScreenEditorModule;
|
||||||
const Message = require('../../core/message.js');
|
const Message = require('./message.js');
|
||||||
|
|
||||||
// deps
|
// deps
|
||||||
const _ = require('lodash');
|
const _ = require('lodash');
|
|
@ -2,12 +2,12 @@
|
||||||
'use strict';
|
'use strict';
|
||||||
|
|
||||||
// ENiGMA½
|
// ENiGMA½
|
||||||
const MenuModule = require('../../core/menu_module.js').MenuModule;
|
const MenuModule = require('./menu_module.js').MenuModule;
|
||||||
const ViewController = require('../../core/view_controller.js').ViewController;
|
const ViewController = require('./view_controller.js').ViewController;
|
||||||
const messageArea = require('../../core/message_area.js');
|
const messageArea = require('./message_area.js');
|
||||||
const displayThemeArt = require('../../core/theme.js').displayThemeArt;
|
const displayThemeArt = require('./theme.js').displayThemeArt;
|
||||||
const resetScreen = require('../../core/ansi_term.js').resetScreen;
|
const resetScreen = require('./ansi_term.js').resetScreen;
|
||||||
const stringFormat = require('../../core/string_format.js');
|
const stringFormat = require('./string_format.js');
|
||||||
|
|
||||||
// deps
|
// deps
|
||||||
const async = require('async');
|
const async = require('async');
|
|
@ -2,11 +2,11 @@
|
||||||
'use strict';
|
'use strict';
|
||||||
|
|
||||||
// ENiGMA½
|
// ENiGMA½
|
||||||
const MenuModule = require('../../core/menu_module.js').MenuModule;
|
const MenuModule = require('./menu_module.js').MenuModule;
|
||||||
const ViewController = require('../../core/view_controller.js').ViewController;
|
const ViewController = require('./view_controller.js').ViewController;
|
||||||
const messageArea = require('../../core/message_area.js');
|
const messageArea = require('./message_area.js');
|
||||||
const stringFormat = require('../../core/string_format.js');
|
const stringFormat = require('./string_format.js');
|
||||||
const MessageAreaConfTempSwitcher = require('../../core/mod_mixins.js').MessageAreaConfTempSwitcher;
|
const MessageAreaConfTempSwitcher = require('./mod_mixins.js').MessageAreaConfTempSwitcher;
|
||||||
|
|
||||||
// deps
|
// deps
|
||||||
const async = require('async');
|
const async = require('async');
|
|
@ -2,12 +2,12 @@
|
||||||
'use strict';
|
'use strict';
|
||||||
|
|
||||||
// ENiGMA½
|
// ENiGMA½
|
||||||
const MenuModule = require('../../core/menu_module.js').MenuModule;
|
const MenuModule = require('./menu_module.js').MenuModule;
|
||||||
const User = require('../../core/user.js');
|
const User = require('./user.js');
|
||||||
const theme = require('../../core/theme.js');
|
const theme = require('./theme.js');
|
||||||
const login = require('../../core/system_menu_method.js').login;
|
const login = require('./system_menu_method.js').login;
|
||||||
const Config = require('../../core/config.js').config;
|
const Config = require('./config.js').config;
|
||||||
const messageArea = require('../../core/message_area.js');
|
const messageArea = require('./message_area.js');
|
||||||
|
|
||||||
exports.moduleInfo = {
|
exports.moduleInfo = {
|
||||||
name : 'NUA',
|
name : 'NUA',
|
|
@ -2,17 +2,17 @@
|
||||||
'use strict';
|
'use strict';
|
||||||
|
|
||||||
// ENiGMA½
|
// ENiGMA½
|
||||||
const MenuModule = require('../../core/menu_module.js').MenuModule;
|
const MenuModule = require('./menu_module.js').MenuModule;
|
||||||
|
|
||||||
const {
|
const {
|
||||||
getModDatabasePath,
|
getModDatabasePath,
|
||||||
getTransactionDatabase
|
getTransactionDatabase
|
||||||
} = require('../../core/database.js');
|
} = require('./database.js');
|
||||||
|
|
||||||
const ViewController = require('../../core/view_controller.js').ViewController;
|
const ViewController = require('./view_controller.js').ViewController;
|
||||||
const theme = require('../../core/theme.js');
|
const theme = require('./theme.js');
|
||||||
const ansi = require('../../core/ansi_term.js');
|
const ansi = require('./ansi_term.js');
|
||||||
const stringFormat = require('../../core/string_format.js');
|
const stringFormat = require('./string_format.js');
|
||||||
|
|
||||||
// deps
|
// deps
|
||||||
const sqlite3 = require('sqlite3');
|
const sqlite3 = require('sqlite3');
|
|
@ -2,13 +2,13 @@
|
||||||
'use strict';
|
'use strict';
|
||||||
|
|
||||||
// ENiGMA½
|
// ENiGMA½
|
||||||
const MenuModule = require('../../core/menu_module.js').MenuModule;
|
const MenuModule = require('./menu_module.js').MenuModule;
|
||||||
const ViewController = require('../../core/view_controller.js').ViewController;
|
const ViewController = require('./view_controller.js').ViewController;
|
||||||
const theme = require('../../core/theme.js');
|
const theme = require('./theme.js');
|
||||||
const resetScreen = require('../../core/ansi_term.js').resetScreen;
|
const resetScreen = require('./ansi_term.js').resetScreen;
|
||||||
const StatLog = require('../../core/stat_log.js');
|
const StatLog = require('./stat_log.js');
|
||||||
const renderStringLength = require('../../core/string_util.js').renderStringLength;
|
const renderStringLength = require('./string_util.js').renderStringLength;
|
||||||
const stringFormat = require('../../core/string_format.js');
|
const stringFormat = require('./string_format.js');
|
||||||
|
|
||||||
// deps
|
// deps
|
||||||
const async = require('async');
|
const async = require('async');
|
|
@ -2,9 +2,9 @@
|
||||||
'use strict';
|
'use strict';
|
||||||
|
|
||||||
// ENiGMA½
|
// ENiGMA½
|
||||||
const MenuModule = require('../../core/menu_module.js').MenuModule;
|
const MenuModule = require('./menu_module.js').MenuModule;
|
||||||
const resetScreen = require('../../core/ansi_term.js').resetScreen;
|
const resetScreen = require('./ansi_term.js').resetScreen;
|
||||||
const setSyncTermFontWithAlias = require('../../core/ansi_term.js').setSyncTermFontWithAlias;
|
const setSyncTermFontWithAlias = require('./ansi_term.js').setSyncTermFontWithAlias;
|
||||||
|
|
||||||
// deps
|
// deps
|
||||||
const async = require('async');
|
const async = require('async');
|
|
@ -2,20 +2,20 @@
|
||||||
'use strict';
|
'use strict';
|
||||||
|
|
||||||
// enigma-bbs
|
// enigma-bbs
|
||||||
const MenuModule = require('../../core/menu_module.js').MenuModule;
|
const MenuModule = require('./menu_module.js').MenuModule;
|
||||||
const stringFormat = require('../../core/string_format.js');
|
const stringFormat = require('./string_format.js');
|
||||||
const getSortedAvailableFileAreas = require('../../core/file_base_area.js').getSortedAvailableFileAreas;
|
const getSortedAvailableFileAreas = require('./file_base_area.js').getSortedAvailableFileAreas;
|
||||||
const getAreaDefaultStorageDirectory = require('../../core/file_base_area.js').getAreaDefaultStorageDirectory;
|
const getAreaDefaultStorageDirectory = require('./file_base_area.js').getAreaDefaultStorageDirectory;
|
||||||
const scanFile = require('../../core/file_base_area.js').scanFile;
|
const scanFile = require('./file_base_area.js').scanFile;
|
||||||
const getFileAreaByTag = require('../../core/file_base_area.js').getFileAreaByTag;
|
const getFileAreaByTag = require('./file_base_area.js').getFileAreaByTag;
|
||||||
const getDescFromFileName = require('../../core/file_base_area.js').getDescFromFileName;
|
const getDescFromFileName = require('./file_base_area.js').getDescFromFileName;
|
||||||
const ansiGoto = require('../../core/ansi_term.js').goto;
|
const ansiGoto = require('./ansi_term.js').goto;
|
||||||
const moveFileWithCollisionHandling = require('../../core/file_util.js').moveFileWithCollisionHandling;
|
const moveFileWithCollisionHandling = require('./file_util.js').moveFileWithCollisionHandling;
|
||||||
const pathWithTerminatingSeparator = require('../../core/file_util.js').pathWithTerminatingSeparator;
|
const pathWithTerminatingSeparator = require('./file_util.js').pathWithTerminatingSeparator;
|
||||||
const Log = require('../../core/logger.js').log;
|
const Log = require('./logger.js').log;
|
||||||
const Errors = require('../../core/enig_error.js').Errors;
|
const Errors = require('./enig_error.js').Errors;
|
||||||
const FileEntry = require('../../core/file_entry.js');
|
const FileEntry = require('./file_entry.js');
|
||||||
const isAnsi = require('../../core/string_util.js').isAnsi;
|
const isAnsi = require('./string_util.js').isAnsi;
|
||||||
|
|
||||||
// deps
|
// deps
|
||||||
const async = require('async');
|
const async = require('async');
|
|
@ -1,10 +1,10 @@
|
||||||
/* jslint node: true */
|
/* jslint node: true */
|
||||||
'use strict';
|
'use strict';
|
||||||
|
|
||||||
const MenuModule = require('../../core/menu_module.js').MenuModule;
|
const MenuModule = require('./menu_module.js').MenuModule;
|
||||||
const User = require('../../core/user.js');
|
const User = require('./user.js');
|
||||||
const ViewController = require('../../core/view_controller.js').ViewController;
|
const ViewController = require('./view_controller.js').ViewController;
|
||||||
const stringFormat = require('../../core/string_format.js');
|
const stringFormat = require('./string_format.js');
|
||||||
|
|
||||||
const moment = require('moment');
|
const moment = require('moment');
|
||||||
const async = require('async');
|
const async = require('async');
|
|
@ -2,10 +2,10 @@
|
||||||
'use strict';
|
'use strict';
|
||||||
|
|
||||||
// ENiGMA½
|
// ENiGMA½
|
||||||
const MenuModule = require('../../core/menu_module.js').MenuModule;
|
const MenuModule = require('./menu_module.js').MenuModule;
|
||||||
const ViewController = require('../../core/view_controller.js').ViewController;
|
const ViewController = require('./view_controller.js').ViewController;
|
||||||
const getActiveNodeList = require('../../core/client_connections.js').getActiveNodeList;
|
const getActiveNodeList = require('./client_connections.js').getActiveNodeList;
|
||||||
const stringFormat = require('../../core/string_format.js');
|
const stringFormat = require('./string_format.js');
|
||||||
|
|
||||||
// deps
|
// deps
|
||||||
const async = require('async');
|
const async = require('async');
|
Loading…
Reference in New Issue