• src/sbbs3/js_file_area.c

    From Rob Swindell@VERT to Git commit to main/sbbs/master on Friday, January 01, 2021 17:28:31
    https://gitlab.synchro.net/main/sbbs/-/commit/5d7228eb91ae2be738a8f852
    Modified Files:
    src/sbbs3/js_file_area.c
    Log Message:
    Fix: can_* and is_* properties were not dynamic. Added "files" property.

    The following properties would only reflect the status at the time the file_area object was initialized:
    - can_access
    - can_upload
    - can_download
    - is_operator
    - is_exempt

    ... so if changes were made the user while online, for example, these property values would *not* also change to reflect the current state.

    The lib[] and lib_list[] 'can_access' properties still have this flaw.

    Also: Add a new "files" property to the dir[] and dir_list[] objects to report the current number of files in each directory database.

    ---
    Synchronet Vertrauen Home of Synchronet [vert/cvs/bbs].synchro.net
  • From Rob Swindell@VERT to Git commit to main/sbbs/master on Friday, January 28, 2022 00:07:46
    https://gitlab.synchro.net/main/sbbs/-/commit/9f222eec659748d51aa25fb4
    Modified Files:
    src/sbbs3/js_file_area.c
    Log Message:
    Another place where lib_t.vdir needs to be used in place of sname

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