Synchronet merge requestshttps://gitlab.synchro.net/main/sbbs/-/merge_requests2023-10-09T04:59:15Zhttps://gitlab.synchro.net/main/sbbs/-/merge_requests/343dd_lightbar_menu.js: Refactored substrWithAttrCodes() to fix issues with it. ...2023-10-09T04:59:15ZEric Oulashindd_lightbar_menu.js: Refactored substrWithAttrCodes() to fix issues with it. Added mechanisms to have additional keys for page-up, page-down, first page (HOME), and last page (END), similar to the additional quit keys.dd_lightbar_menu.js: Refactored substrWithAttrCodes() to fix issues with it. Added mechanisms to have additional keys for page-up, page-down, first page (HOME), and last page (END), similar to the additional quit keys.dd_lightbar_menu.js: Refactored substrWithAttrCodes() to fix issues with it. Added mechanisms to have additional keys for page-up, page-down, first page (HOME), and last page (END), similar to the additional quit keys.Rob SwindellRob Swindellhttps://gitlab.synchro.net/main/sbbs/-/merge_requests/339Add a link to the MQTT wiki page2023-10-09T04:51:34ZRick ParrishAdd a link to the MQTT wiki pageIf someone is new to mqtt they may not know what this form is asking them, so link to the wiki to provide extra context / examples.If someone is new to mqtt they may not know what this form is asking them, so link to the wiki to provide extra context / examples.Rob SwindellRob Swindellhttps://gitlab.synchro.net/main/sbbs/-/merge_requests/344DDMsgAreaChooser: Fix for name collapsing mode with the lightbar interface: N...2023-10-09T04:45:20ZEric OulashinDDMsgAreaChooser: Fix for name collapsing mode with the lightbar interface: No longer gets stuck in a loop when choosing a sub-board. Should fix #658DDMsgAreaChooser: Fix for name collapsing mode with the lightbar interface: No longer gets stuck in a loop when choosing a sub-board. This should fix #658DDMsgAreaChooser: Fix for name collapsing mode with the lightbar interface: No longer gets stuck in a loop when choosing a sub-board. This should fix #658Rob SwindellRob Swindellhttps://gitlab.synchro.net/main/sbbs/-/merge_requests/331js version of user default2023-09-23T01:47:08ZNigel Reedjs version of user defaultThis script will allow a user to configure the layout and
what options the user can change, if they wish. Still
needs the termial detection and screen dimensions fixing.This script will allow a user to configure the layout and
what options the user can change, if they wish. Still
needs the termial detection and screen dimensions fixing.Rob SwindellRob Swindellhttps://gitlab.synchro.net/main/sbbs/-/merge_requests/337DD MsgReader and SlyVote: Fixed poll voting for single-answer polls2024-03-22T07:20:24ZEric OulashinDD MsgReader and SlyVote: Fixed poll voting for single-answer pollsDD MsgReader and SlyVote: Fixed poll voting for single-answer polls. This should fix #642DD MsgReader and SlyVote: Fixed poll voting for single-answer polls. This should fix #642Rob SwindellRob Swindellhttps://gitlab.synchro.net/main/sbbs/-/merge_requests/318A web-based sbbsctrl implementation2024-03-22T07:20:23ZRick ParrishA web-based sbbsctrl implementationOr, at least the start of a web-based sbbsctrl implementation, still a lot of configuration screens left to implement. Seems worthwhile to merge now, even though it's mostly just showing log output.Or, at least the start of a web-based sbbsctrl implementation, still a lot of configuration screens left to implement. Seems worthwhile to merge now, even though it's mostly just showing log output.Rob SwindellRob Swindellhttps://gitlab.synchro.net/main/sbbs/-/merge_requests/336DD File Lister: If used as a loadable module and blanked out the NFilesListed...2024-03-22T07:20:23ZEric OulashinDD File Lister: If used as a loadable module and blanked out the NFilesListed string, then revert NFilesListed on exit of the scriptDD File Lister: If used as a loadable module and blanked out the NFilesListed string, then revert NFilesListed on exit of the scriptDD File Lister: If used as a loadable module and blanked out the NFilesListed string, then revert NFilesListed on exit of the scriptRob SwindellRob Swindellhttps://gitlab.synchro.net/main/sbbs/-/merge_requests/334DD File Lister: Blank out the "# Files Listed" string if used as a loadable m...2024-03-22T07:20:23ZEric OulashinDD File Lister: Blank out the "# Files Listed" string if used as a loadable module (optional, defaults to true)DD File Lister: New configuration option: blankNFilesListedStrIfLoadableModule, If true (default), then when started as a loadable module, replace the "# Files Listed" text with an empty string so that it won't be displayed after exitDD File Lister: New configuration option: blankNFilesListedStrIfLoadableModule, If true (default), then when started as a loadable module, replace the "# Files Listed" text with an empty string so that it won't be displayed after exitRob SwindellRob Swindellhttps://gitlab.synchro.net/main/sbbs/-/merge_requests/335DD File area chooser: Bug fix for searching with name collapsing2024-03-22T07:20:23ZEric OulashinDD File area chooser: Bug fix for searching with name collapsingDD File area chooser: Bug fix for searching with name collapsing. This should fix #636DD File area chooser: Bug fix for searching with name collapsing. This should fix #636Rob SwindellRob Swindellhttps://gitlab.synchro.net/main/sbbs/-/merge_requests/333DD File Lister 'empty directory' fix, help screen pause, filename searching, etc2024-03-22T07:20:23ZEric OulashinDD File Lister 'empty directory' fix, help screen pause, filename searching, etcDD File Lister: Fix for the "Empty directory" message after quitting (the lister must exit with the number of files listed). Also, updates for filename searching. Also, note ddfilelister is best NOT to be used for the Scan Dirs loadable...DD File Lister: Fix for the "Empty directory" message after quitting (the lister must exit with the number of files listed). Also, updates for filename searching. Also, note ddfilelister is best NOT to be used for the Scan Dirs loadable module option (only for List Files - documentation updated to include this), and the help screen should now always pause at the end. Also, updated DDLightbarMenu to quit its input loop if console.aborted is true.Rob SwindellRob Swindellhttps://gitlab.synchro.net/main/sbbs/-/merge_requests/332DD area choosers: Header line display fix2024-03-22T07:20:23ZEric OulashinDD area choosers: Header line display fixDD area choosers: Header line display fixDD area choosers: Header line display fixRob SwindellRob Swindellhttps://gitlab.synchro.net/main/sbbs/-/merge_requests/330Add support for binary frames to websocket service2024-03-22T07:20:15ZRick ParrishAdd support for binary frames to websocket servicewebsocketservice.js originally only supported text frames, which requires utf-8 encoding/decoding. This adds support for binary frames, which don't need encoding/decoding, so are simpler to work with and slightly faster.
Also change ho...websocketservice.js originally only supported text frames, which requires utf-8 encoding/decoding. This adds support for binary frames, which don't need encoding/decoding, so are simpler to work with and slightly faster.
Also change how some error conditions are handled -- shouldn't just log a debug message, they are unrecoverable errors and should be treated as such.Rob SwindellRob Swindellhttps://gitlab.synchro.net/main/sbbs/-/merge_requests/329Update node action display on web2024-03-22T07:20:15ZRick ParrishUpdate node action display on webUpdate node action display on web to take NODE_BXFR and NODE_XTRN into account.
This was done with a call to presence_lib's node_status() method, which was updated with new options to allow certain information to be excluded (because th...Update node action display on web to take NODE_BXFR and NODE_XTRN into account.
This was done with a call to presence_lib's node_status() method, which was updated with new options to allow certain information to be excluded (because the Who's Online panel on the web already shows this information). The additional options were implemented in a backwards compatible way to ensure existing calls to this method don't see a change in behaviour.
The extended_status() method was also updated to trim the trailing null bytes (they don't get displayed on the website, but do get included in the system.ssjs node-list response)Rob SwindellRob Swindellhttps://gitlab.synchro.net/main/sbbs/-/merge_requests/328Fix return value when p->peeked is true2024-03-22T07:20:15ZRick ParrishFix return value when p->peeked is trueWhen p->peeked is true it's possible for the return value of js_socket_recv to be off-by-one.
This change moves the `total += ret` line before the `MSG-WAITALL` check, and then returns `total` instead of `ret` to ensure the peeked byt...When p->peeked is true it's possible for the return value of js_socket_recv to be off-by-one.
This change moves the `total += ret` line before the `MSG-WAITALL` check, and then returns `total` instead of `ret` to ensure the peeked byte is accounted for in the return value.DeucеDeucеhttps://gitlab.synchro.net/main/sbbs/-/merge_requests/327Speed up file transfers.2024-03-22T07:20:15ZRick ParrishSpeed up file transfers.Replace a few key recvBin and sendBin calls with recv and send for a ~15x speed up (20k/s to 300k/s in my tests)Replace a few key recvBin and sendBin calls with recv and send for a ~15x speed up (20k/s to 300k/s in my tests)Rob SwindellRob Swindellhttps://gitlab.synchro.net/main/sbbs/-/merge_requests/326DDFileLister: Fix for the lightbar interface: When erasing the file info wind...2024-03-22T07:20:15ZEric OulashinDDFileLister: Fix for the lightbar interface: When erasing the file info window, the file date is not shown on a duplicate line if the file date is already showing in the description area (i.e., for a 1-line file description). The veresion is now 2.14DDFileLister: Fix for the lightbar interface: When erasing the file info window, the file date is not shown on a duplicate line if the file date is already showing in the description area (i.e., for a 1-line file description). The veresi...DDFileLister: Fix for the lightbar interface: When erasing the file info window, the file date is not shown on a duplicate line if the file date is already showing in the description area (i.e., for a 1-line file description). The veresion is now 2.14Rob SwindellRob Swindellhttps://gitlab.synchro.net/main/sbbs/-/merge_requests/325Fix for js.time_limit stuck at 02024-03-22T07:20:15ZNigel ReedFix for js.time_limit stuck at 0When setting js.time_limit in mirc-client.js the value sticks
throughout the session, which means any other scripts run will
also have js.time_limit = 0. This modification stores the value
of js.time_limit upon invocation and then resets...When setting js.time_limit in mirc-client.js the value sticks
throughout the session, which means any other scripts run will
also have js.time_limit = 0. This modification stores the value
of js.time_limit upon invocation and then resets it when the
main loop terminates. While this should be sufficient in most
cases, it obviously won't catch something due to an error. These
should be rare if not non-existent now.Rob SwindellRob Swindellhttps://gitlab.synchro.net/main/sbbs/-/merge_requests/324Fix timeout in mrc client and connector to avoid endless loop issue2024-03-22T07:20:15ZNigel ReedFix timeout in mrc client and connector to avoid endless loop issueThe mrc client would terminate after being idle for the time
specified in JavaScriptTimeLimit in sbbs.ini. The change
disabled the time limit in both the client and the service
so neither of them should complain and exit due to an endles...The mrc client would terminate after being idle for the time
specified in JavaScriptTimeLimit in sbbs.ini. The change
disabled the time limit in both the client and the service
so neither of them should complain and exit due to an endless
loop.Rob SwindellRob Swindellhttps://gitlab.synchro.net/main/sbbs/-/merge_requests/323DDMsgReader: Bug fix for going to a specific message in the message list...2024-03-22T07:20:14ZEric OulashinDDMsgReader: Bug fix for going to a specific message in the message list...DDMsgReader: Bug fix for going to a specific message in the message list (especially for lightbar mode). The version is now 1.78DDMsgReader: Bug fix for going to a specific message in the message list (especially for lightbar mode). The version is now 1.78Rob SwindellRob Swindellhttps://gitlab.synchro.net/main/sbbs/-/merge_requests/322DDMsgReader: When saving a message on the local BBS PC without all the header...2024-03-22T07:20:13ZEric OulashinDDMsgReader: When saving a message on the local BBS PC without all the headers, the date is now includedDDMsgReader: When saving a message on the local BBS PC without all the headers, the date is now includedDDMsgReader: When saving a message on the local BBS PC without all the headers, the date is now includedRob SwindellRob Swindell