• exec/avatars.js

    From Rob Swindell (on Debian Linux)@VERT to Git commit to main/sbbs/master on Friday, July 18, 2025 11:52:04
    https://gitlab.synchro.net/main/sbbs/-/commit/2f4bbab4a84676520170b6f0
    Modified Files:
    exec/avatars.js
    Log Message:
    if avatars_lib.netuser_fname() returns false, don't create/update a file

    i.e. 'ctrl/false'

    This was just bad error checking in this script, but the underlying error (avatars posted to SYNCDATA from TL-QWK BBS) has been fixed with the previous change to avatars_lib.js (supporting dash in QWK-IDs).

    ---
    � Synchronet � Vertrauen � Home of Synchronet � [vert/cvs/bbs].synchro.net
  • From Rob Swindell (on ChromeOS)@VERT to Git commit to main/sbbs/master on Wednesday, October 22, 2025 22:26:59
    https://gitlab.synchro.net/main/sbbs/-/commit/d6dea621b9d897c3c477442e
    Modified Files:
    exec/avatars.js
    Log Message:
    Cosmetic only: add a space before the success/failure result output

    ---
    � Synchronet � Vertrauen � Home of Synchronet � [vert/cvs/bbs].synchro.net
  • From Rob Swindell (on Windows 11)@VERT to Git commit to main/sbbs/master on Wednesday, February 25, 2026 15:11:55
    https://gitlab.synchro.net/main/sbbs/-/commit/5dda2cc6dfb8ff6893f71fc7
    Modified Files:
    exec/avatars.js
    Log Message:
    install() no longer overwrites existing keys/values in modopts.ini

    [newuser]
    avatar_file
    avatar_offset

    [logon]
    set_avatar

    So if any of these keys pre-exist, they won't be changed

    ---
    � Synchronet � Vertrauen � Home of Synchronet � [vert/cvs/bbs].synchro.net
  • From Rob Swindell (on Debian Linux)@VERT to Git commit to main/sbbs/master on Wednesday, March 18, 2026 19:19:18
    https://gitlab.synchro.net/main/sbbs/-/commit/f93b92778320c7b6267122de
    Modified Files:
    exec/avatars.js
    Log Message:
    Add an 'export_all' modopts option

    Normally, this module only exports avatars for users that have posted and are able to still post messages.

    For other networked-avatar use cases (e.g. chat), a sysop may want to export all of their users avatars to a message base (e.g. syncdata).

    ---
    � Synchronet � Vertrauen � Home of Synchronet � [vert/cvs/bbs].synchro.net
  • From Rob Swindell (on Debian Linux)@VERT to Git commit to main/sbbs/master on Tuesday, November 03, 2026 22:17:41
    https://gitlab.synchro.net/main/sbbs/-/commit/f097c5bc1ec572602fb7b2b8
    Modified Files:
    exec/avatars.js
    Log Message:
    Include the offending text in the avatars.js JSON parse warning

    When an "SBBS User Avatars" message's JSON block fails to parse, the
    alert() only said "Error SyntaxError: JSON.parse parsing JSON", which
    tells the sysop nothing about which text failed (SpiderMonkey 1.8.5's SyntaxError carries no position). The warning now includes the length of
    the joined JSON text and its first and last 40 characters (truncation,
    the likely cause on a QWK hop, shows in the tail), and the full text is
    logged at debug level for a sysop who wants all of it. Prompted by
    RickV's report in the DOVE-Net SYNC sub.

    Co-Authored-By: Claude Fable 5.1 <[email protected]>

    ---
    � Synchronet � Vertrauen � Home of Synchronet � [vert/cvs/bbs].synchro.net