• Add support for new experimental/optional Area File format: areas.ini

    From Fernando Toledo@1:103/705 to GitLab note in main/sbbs on Wed Nov 20 03:30:35 2024
    https://gitlab.synchro.net/main/sbbs/-/commit/813072cd450c2fdef120af6de16cf22b492c3a8e#note_6029

    excelentttt!!

    ![imagen](/uploads/470f8dd96f1a6cc35526efbd623fc103/imagen.png){width=748 height=514}
    --- SBBSecho 3.23-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Fernando Toledo@1:103/705 to GitLab note in main/sbbs on Wed Nov 20 03:31:32 2024
    https://gitlab.synchro.net/main/sbbs/-/commit/813072cd450c2fdef120af6de16cf22b492c3a8e#note_6030

    Even using just the text editor, having syntax highlighting is a pleasure.
    --- SBBSecho 3.23-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Fernando Toledo@1:103/705 to GitLab note in main/sbbs on Wed Nov 20 03:44:00 2024
    https://gitlab.synchro.net/main/sbbs/-/commit/813072cd450c2fdef120af6de16cf22b492c3a8e#note_6031

    hi @rswindell arafix fails:

    I have a APPLE tag deffined

    ![imagen](/uploads/fb42022fe32e8b0e8c2f82a6bb225fe7/imagen.png){width=524 height=163}

    I do a reqeust from my point and it's append as passthrough

    ![imagen](/uploads/6c4fe318ca5b8fff653cf9fd4852d01d/imagen.png){width=223 height=80}

    ```
    2024-11-20 08:38:57 Importing /sbbs/fido/inbound/20083846.PKT (type 2e, 0.2KB) from 4:902/26.3 to 4:902/26
    2024-11-20 08:38:57 Ragnarok Point3 Fido (4:902/26.3) To: areafix (4:902/26) 2024-11-20 08:38:57 AreaFix (for 4:902/26.3) Request received from Ragnarok Point3 Fido
    2024-11-20 08:38:57 AreaFix (for 4:902/26.3) Adding area from EchoList (/sbbs/fido/ECHOLIST.MOMIA): APPLE
    2024-11-20 08:38:57 Created NetMail (1.msg) from SBBSecho (4:902/26) to Ragnarok Point3 Fido (4:902/26.3), attr: 0181 (PRIVATE, KILLSENT, LOCAL), sub
    ject: Area Management Request
    2024-11-20 08:38:57 AreaFix (for 4:902/26.3) Added links to 1 areas in ../data/areas.ini
    2024-11-20 08:38:57 Deleting /sbbs/fido/inbound/20083846.PKT (from line 6293) 2024-11-20 08:38:57 Imported: 1 msgs fidonetbelcharter97en <- BEL.CHARTER97.EN
    2024-11-20 08:38:57 Imported: 1 msgs total
    2024-11-20 08:38:57 Packing NetMail (1.msg) from SBBSecho (4:902/26) to Ragnarok Point3 Fido (4:902/26.3), attr: 0181 (PRIVATE, KILLSENT, LOCAL), sub
    ject: Area Management Request
    2024-11-20 08:38:57 Node (4:902/26.3) successfully locked via: /sbbs/fido/outbound/0386001a.pnt/00000003.bsy
    2024-11-20 08:38:57 New password-protected packet (type 2+) created for linked-node: 4:902/26.3
    2024-11-20 08:38:57 Adding NetMail (1.msg) to new packet for 4:902/26.3: /sbbs/fido/outbound/0386001a.pnt/00000003.out

    ```
    --- SBBSecho 3.23-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Fernando Toledo@1:103/705 to GitLab note in main/sbbs on Wed Nov 20 03:44:33 2024
    https://gitlab.synchro.net/main/sbbs/-/commit/813072cd450c2fdef120af6de16cf22b492c3a8e#note_6031

    hi @rswindell areafix fails:

    I have a APPLE tag already defined

    ![imagen](/uploads/fb42022fe32e8b0e8c2f82a6bb225fe7/imagen.png){width=524 height=163}

    I do a request from my point and it's append as passthrough

    ![imagen](/uploads/6c4fe318ca5b8fff653cf9fd4852d01d/imagen.png){width=223 height=80}

    ```
    2024-11-20 08:38:57 Importing /sbbs/fido/inbound/20083846.PKT (type 2e, 0.2KB) from 4:902/26.3 to 4:902/26
    2024-11-20 08:38:57 Ragnarok Point3 Fido (4:902/26.3) To: areafix (4:902/26) 2024-11-20 08:38:57 AreaFix (for 4:902/26.3) Request received from Ragnarok Point3 Fido
    2024-11-20 08:38:57 AreaFix (for 4:902/26.3) Adding area from EchoList (/sbbs/fido/ECHOLIST.MOMIA): APPLE
    2024-11-20 08:38:57 Created NetMail (1.msg) from SBBSecho (4:902/26) to Ragnarok Point3 Fido (4:902/26.3), attr: 0181 (PRIVATE, KILLSENT, LOCAL), sub
    ject: Area Management Request
    2024-11-20 08:38:57 AreaFix (for 4:902/26.3) Added links to 1 areas in ../data/areas.ini
    2024-11-20 08:38:57 Deleting /sbbs/fido/inbound/20083846.PKT (from line 6293) 2024-11-20 08:38:57 Imported: 1 msgs fidonetbelcharter97en <- BEL.CHARTER97.EN
    2024-11-20 08:38:57 Imported: 1 msgs total
    2024-11-20 08:38:57 Packing NetMail (1.msg) from SBBSecho (4:902/26) to Ragnarok Point3 Fido (4:902/26.3), attr: 0181 (PRIVATE, KILLSENT, LOCAL), sub
    ject: Area Management Request
    2024-11-20 08:38:57 Node (4:902/26.3) successfully locked via: /sbbs/fido/outbound/0386001a.pnt/00000003.bsy
    2024-11-20 08:38:57 New password-protected packet (type 2+) created for linked-node: 4:902/26.3
    2024-11-20 08:38:57 Adding NetMail (1.msg) to new packet for 4:902/26.3: /sbbs/fido/outbound/0386001a.pnt/00000003.out

    ```
    --- SBBSecho 3.23-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Fernando Toledo@1:103/705 to GitLab note in main/sbbs on Wed Nov 20 03:56:43 2024
    https://gitlab.synchro.net/main/sbbs/-/commit/813072cd450c2fdef120af6de16cf22b492c3a8e#note_6032

    I was thinking that maybe you should also add some check that you can't create 2 sections with the same name
    --- SBBSecho 3.23-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Rob Swindell@1:103/705 to GitLab note in main/sbbs on Wed Nov 20 14:54:09 2024
    https://gitlab.synchro.net/main/sbbs/-/commit/813072cd450c2fdef120af6de16cf22b492c3a8e#note_6036

    Please try with the latest code in master branch - fixed a few areafix related bugs.
    --- SBBSecho 3.23-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Fernando Toledo@1:103/705 to GitLab note in main/sbbs on Wed Nov 20 18:07:35 2024
    https://gitlab.synchro.net/main/sbbs/-/commit/813072cd450c2fdef120af6de16cf22b492c3a8e#note_6042

    I test:

    1) try to add area, sbbsecho still add as passtrough, sbbsecho reply was "APPLE added"

    ```
    2024-11-20 23:01:48 Importing /sbbs/fido/inbound/20230143.PKT (type 2e, 0.2KB) from 4:902/26.3 to 4:902/26
    2024-11-20 23:01:48 Ragnarok Point3 Fido (4:902/26.3) To: Areafix (4:902/26) 2024-11-20 23:01:48 AreaFix (for 4:902/26.3) Request received from Ragnarok Point3 Fido
    2024-11-20 23:01:48 AreaFix (for 4:902/26.3) Adding area from EchoList (/sbbs/fido/ECHOLIST.MOMIA): APPLE
    2024-11-20 23:01:48 Created NetMail (1.msg) from SBBSecho (4:902/26) to Ragnarok Point3 Fido (4:902/26.3), attr: 0181 (PRIVATE, KILLSENT, LOCAL), subject: Area Management Request
    2024-11-20 23:01:48 AreaFix (for 4:902/26.3) Added links to 1 areas in ../data/areas.ini
    2024-11-20 23:01:48 Deleting /sbbs/fido/inbound/20230143.PKT (from line 6296) 2024-11-20 23:01:48 Packing NetMail (1.msg) from SBBSecho (4:902/26) to Ragnarok Point3 Fido (4:902/26.3), attr: 0181 (PRIVATE, KILLSENT, LOCAL), subject: Area Management Request
    2024-11-20 23:01:48 Node (4:902/26.3) successfully locked via: /sbbs/fido/outbound/0386001a.pnt/00000003.bsy
    2024-11-20 23:01:48 New password-protected packet (type 2+) created for linked-node: 4:902/26.3
    2024-11-20 23:01:48 Adding NetMail (1.msg) to new packet for 4:902/26.3: /sbbs/fido/outbound/0386001a.pnt/00000003.out
    2024-11-20 23:01:48 Deleting /sbbs/fido/netmail/1.msg (from line 5569) 2024-11-20 23:01:48 Touching outgoing semfile: ../data/binkout.now
    ```

    ```
    grep -C5 APPLE areas.ini

    [TREK_CREATIVE]
    sub = fidonettrekcrea
    links = 2:341/66

    [APPLE]
    sub = fidonetapple
    links = 2:341/66 4:900/106 4:902/19 4:930/1 4:900/102

    [AGN_GEN]
    sub = agn_gen
    --

    [ZOOM]
    pass-through = true
    links = 4:930/1 4:900/102

    [APPLE]
    pass-through = true
    links = 4:902/26.3

    ```


    2) I manually remove the apple passtrough section, add point 4:902/26.3 to links for the valid and first section, and try to remove via areafix (-APPLE)
    ```
    [APPLE]
    sub = fidonetapple
    links = 2:341/66 4:900/106 4:902/19 4:930/1 4:900/102 4:902/26.3

    ```
    the link point was not removed, the log don't show the refence text for the remove action
    ```
    2024-11-20 22:51:13 Importing /sbbs/fido/inbound/20225103.PKT (type 2e, 0.2KB) from 4:902/26.3 to 4:902/26
    2024-11-20 22:51:13 Ragnarok Point3 Fido (4:902/26.3) To: Areafix (4:902/26) 2024-11-20 22:51:13 AreaFix (for 4:902/26.3) Request received from Ragnarok Point3 Fido
    2024-11-20 22:51:13 Created NetMail (1.msg) from SBBSecho (4:902/26) to Ragnarok Point3 Fido (4:902/26.3), attr: 0181 (PRIVATE, KILLSENT, LOCAL), subject: Area Management Request
    2024-11-20 22:51:13 Deleting /sbbs/fido/inbound/20225103.PKT (from line 6296) 2024-11-20 22:51:13 Packing NetMail (1.msg) from SBBSecho (4:902/26) to Ragnarok Point3 Fido (4:902/26.3), attr: 0181 (PRIVATE, KILLSENT, LOCAL), subject: Area Management Request
    2024-11-20 22:51:13 Node (4:902/26.3) successfully locked via: /sbbs/fido/outbound/0386001a.pnt/00000003.bsy
    2024-11-20 22:51:13 New password-protected packet (type 2+) created for linked-node: 4:902/26.3
    2024-11-20 22:51:13 Adding NetMail (1.msg) to new packet for 4:902/26.3: /sbbs/fido/outbound/0386001a.pnt/00000003.out
    2024-11-20 22:51:13 Deleting /sbbs/fido/netmail/1.msg (from line 5569) 2024-11-20 22:51:13 Touching outgoing semfile: ../data/binkout.now

    ```
    and reafix reply with "no changes made"
    --- SBBSecho 3.23-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Fernando Toledo@1:103/705 to GitLab note in main/sbbs on Wed Nov 20 18:08:25 2024
    https://gitlab.synchro.net/main/sbbs/-/commit/813072cd450c2fdef120af6de16cf22b492c3a8e#note_6043

    I attach my areas.ini

    [areas.ini](/uploads/041fc0db834d506178cab4a14dc37b81/areas.ini)
    --- SBBSecho 3.23-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Fernando Toledo@1:103/705 to GitLab note in main/sbbs on Wed Nov 20 18:24:45 2024
    https://gitlab.synchro.net/main/sbbs/-/commit/813072cd450c2fdef120af6de16cf22b492c3a8e#note_6044

    If you think it is convenient, you could add more debug lines to see what happens when searching logic for the area to add/remove the link.

    PS: I don't want to forget to mention that I am very grateful for the time you are taking to do this.
    --- SBBSecho 3.23-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Rob Swindell@1:103/705 to GitLab note in main/sbbs on Thu Nov 21 01:47:38 2024
    https://gitlab.synchro.net/main/sbbs/-/commit/813072cd450c2fdef120af6de16cf22b492c3a8e#note_6045

    It was a simple bug that I overlooked repeatedly: for most areafix operations, I was treating areas.ini as a areas.bbs file (format) and vice versa. Now fixed.
    --- SBBSecho 3.23-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Fernando Toledo@1:103/705 to GitLab note in main/sbbs on Thu Nov 21 07:03:23 2024
    https://gitlab.synchro.net/main/sbbs/-/commit/813072cd450c2fdef120af6de16cf22b492c3a8e#note_6046

    great!! It's works now!!!
    thanks a lot!
    --- SBBSecho 3.23-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)