• exec/load/ircd/config.js

    From Randy Sommerfeld@VERT to Git commit to main/sbbs/master on Thursday, November 09, 2023 15:20:14
    https://gitlab.synchro.net/main/sbbs/-/commit/80c78189cf0dbf0a33f0b753
    Modified Files:
    exec/load/ircd/config.js
    Log Message:
    Allow 0 ConnectFrequency in the .ini
    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From Randy Sommerfeld@VERT to Git commit to main/sbbs/master on Friday, November 10, 2023 16:03:39
    https://gitlab.synchro.net/main/sbbs/-/commit/727ad40559397f5b14ff549d
    Modified Files:
    exec/load/ircd/config.js
    Log Message:
    More sane defaults, and load them first
    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From Randy Sommerfeld@VERT to Git commit to main/sbbs/master on Friday, November 10, 2023 17:05:33
    https://gitlab.synchro.net/main/sbbs/-/commit/ef1d7630fdb35de17379427e
    Modified Files:
    exec/load/ircd/config.js
    Log Message:
    Allow different passwords for inbound/outbound connects in .ini
    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From Randy Sommerfeld@VERT to Git commit to main/sbbs/master on Monday, November 13, 2023 17:08:21
    https://gitlab.synchro.net/main/sbbs/-/commit/0c31012055f7f8de4ba17b17
    Modified Files:
    exec/load/ircd/config.js
    Log Message:
    Fix up auto-connect behaviour a bit
    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From Randy Sommerfeld@VERT to Git commit to main/sbbs/master on Monday, November 13, 2023 17:19:04
    https://gitlab.synchro.net/main/sbbs/-/commit/a8cfab1e3c33bc566c3f8852
    Modified Files:
    exec/load/ircd/config.js
    Log Message:
    Don't allow duplicate H:Lines
    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From Randy Sommerfeld@VERT to Git commit to main/sbbs/master on Monday, November 13, 2023 17:46:08
    https://gitlab.synchro.net/main/sbbs/-/commit/6449d2ddbab1625004802d89
    Modified Files:
    exec/load/ircd/config.js
    Log Message:
    Fix above commit
    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From Randy Sommerfeld@VERT to Git commit to main/sbbs/master on Saturday, November 18, 2023 18:50:24
    https://gitlab.synchro.net/main/sbbs/-/commit/c52ad1f542e6737343a8dd81
    Modified Files:
    exec/load/ircd/config.js
    Log Message:
    Prefer .ini over .conf when loading configs
    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From Randy Sommerfeld@VERT to Git commit to main/sbbs/master on Monday, November 20, 2023 00:28:03
    https://gitlab.synchro.net/main/sbbs/-/commit/ba84e2071f357e3f61e815d8
    Modified Files:
    exec/load/ircd/config.js
    Log Message:
    Handle undefined IRC class in [Server]
    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From Randy Sommerfeld@VERT to Git commit to main/sbbs/master on Tuesday, November 28, 2023 18:27:02
    https://gitlab.synchro.net/main/sbbs/-/commit/576d1319f2dab6494654581c
    Modified Files:
    exec/load/ircd/config.js
    Log Message:
    Squelch log output if in ircdcfg.js
    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From Randy Sommerfeld@VERT to Git commit to main/sbbs/master on Sunday, December 03, 2023 18:42:18
    https://gitlab.synchro.net/main/sbbs/-/commit/e2e55323cf829af9759f1f03
    Modified Files:
    exec/load/ircd/config.js
    Log Message:
    Allow comments on Y:Lines
    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From Randy Sommerfeld@VERT to Git commit to main/sbbs/master on Saturday, December 09, 2023 15:44:09
    https://gitlab.synchro.net/main/sbbs/-/commit/6285de114c73832b59430fac
    Modified Files:
    exec/load/ircd/config.js
    Log Message:
    Write_Config_File() for writing .ini configs
    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From Randy Sommerfeld@VERT to Git commit to main/sbbs/master on Saturday, December 09, 2023 17:00:48
    https://gitlab.synchro.net/main/sbbs/-/commit/d0ab00db5c06045b71d5f4c9
    Modified Files:
    exec/load/ircd/config.js
    Log Message:
    Make the actual config used global
    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From Randy Sommerfeld@VERT to Git commit to main/sbbs/master on Saturday, December 09, 2023 17:20:01
    https://gitlab.synchro.net/main/sbbs/-/commit/09aaa369c0ee8a78e0d2b2b0
    Modified Files:
    exec/load/ircd/config.js
    Log Message:
    Switch methods of writing ini
    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From Randy Sommerfeld@VERT to Git commit to main/sbbs/master on Saturday, December 09, 2023 17:29:15
    https://gitlab.synchro.net/main/sbbs/-/commit/8667dea86cb67f5700f50acc
    Modified Files:
    exec/load/ircd/config.js
    Log Message:
    Check for some more dupes
    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net
  • From Randy Sommerfeld@VERT to Git commit to main/sbbs/master on Saturday, December 09, 2023 19:38:52
    https://gitlab.synchro.net/main/sbbs/-/commit/3678922ea4e976d406aff4db
    Modified Files:
    exec/load/ircd/config.js
    Log Message:
    Fix incorrect var on config load, thanks Nightfox!
    ---
    ■ 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 Saturday, August 01, 2026 02:05:42
    https://gitlab.synchro.net/main/sbbs/-/commit/eec77ec8415ff243a05d7e7d
    Modified Files:
    exec/load/ircd/config.js
    Log Message:
    ircd: keep SYSTEM_* macros through a config conversion or edit

    ircd.conf names the local system with SYSTEM_HOST_NAME, SYSTEM_NAME, SYSTEM_QWKID and VERSION_NOTICE, expanded as the file is read, so the
    shipped file works unedited and a ctrl directory shared between hosts
    gives each of them its own identity. The .ini format had no such
    macro, and Write_Config_File() writes whatever the globals hold -- so ircd_conf2ini.js and an ircdcfg.js "Save" both froze the converting
    host's values into the output.

    There is no correct value to freeze. system.host_name is set per
    process by jsexec's -h, which is how one host runs an IRCd under a
    name other than the BBS's own; converting without the daemon's -h
    silently renamed the server. Where the new name collided with a
    configured link, the result was a server configured to link to itself.

    Expand the macros through a single expand_config_macros(), apply it to
    .ini files as well as .conf, and skip expansion when IRCDCFG_Editor is
    set. The converter and the editor then read the macro unexpanded and
    write it back unchanged, while the daemon resolves it per process as
    before. A converted .ini is now as portable as the .conf it came
    from.

    Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net