• exec/webfileindex.ssjs

    From echicken@VERT to Git commit to main/sbbs/master on Tuesday, December 19, 2023 21:16:00
    https://gitlab.synchro.net/main/sbbs/-/commit/22e2668c910966d08041a227
    Modified Files:
    exec/webfileindex.ssjs
    Log Message:
    Style updates and HyperText Mark-Up Language doodads.

    Put th row inside a thead as is proper.
    Put td rows inside a tbody as is proper.
    Close td elements even if not strictly necessary. Good form.
    Use a subjectively nicer font.
    Use a subjectively more readable date format.
    Put some space and border between table elements.
    Stripe rows for better visual indicator of separate data.
    Make the header row sticky so we always know which column's what.
    Add dark mode colors if browser prefers-color-scheme dark.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From echicken@VERT to Git commit to main/sbbs/master on Tuesday, December 19, 2023 21:29:00
    https://gitlab.synchro.net/main/sbbs/-/commit/5445c5db9a7ed0637d9b7ec3
    Modified Files:
    exec/webfileindex.ssjs
    Log Message:
    Don't bold date, abbreviate month

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From echicken@VERT to Git commit to main/sbbs/master on Tuesday, December 19, 2023 21:35:00
    https://gitlab.synchro.net/main/sbbs/-/commit/0036760824a80574ebfb937b
    Modified Files:
    exec/webfileindex.ssjs
    Log Message:
    Dark mode links should pop out a bit more.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From echicken@VERT to Git commit to main/sbbs/master on Tuesday, December 19, 2023 22:38:00
    https://gitlab.synchro.net/main/sbbs/-/commit/a47ce702daae16e8e22786e0
    Modified Files:
    exec/webfileindex.ssjs
    Log Message:
    Top-align cell contents; cursor: pointer on description hover; show extended description if any on description click.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From echicken@VERT to Git commit to main/sbbs/master on Tuesday, December 19, 2023 23:01:00
    https://gitlab.synchro.net/main/sbbs/-/commit/e0ec9ae216b6c6b0ebba67b4
    Modified Files:
    exec/webfileindex.ssjs
    Log Message:
    Fix whoopsiedoodle in last committeroo

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From echicken@VERT to Git commit to main/sbbs/master on Tuesday, December 19, 2023 23:05:00
    https://gitlab.synchro.net/main/sbbs/-/commit/4c93d71c5896a47b4b8ecd98
    Modified Files:
    exec/webfileindex.ssjs
    Log Message:
    Only change cursor if desc td has div child; exit desc click handler if no extdesc div; only add div child to desc td if extdesc present;

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From echicken@VERT to Git commit to main/sbbs/master on Tuesday, December 19, 2023 23:16:00
    https://gitlab.synchro.net/main/sbbs/-/commit/3af564a2a2120477033a3574
    Modified Files:
    exec/webfileindex.ssjs
    Log Message:
    get extended detail when reading file meta list

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From echicken@VERT to Git commit to main/sbbs/master on Wednesday, December 20, 2023 06:20:00
    https://gitlab.synchro.net/main/sbbs/-/commit/1cc8d294625958505d866880
    Modified Files:
    exec/webfileindex.ssjs
    Log Message:
    02:23:11 <DigitalMan> maybe a button/link to expand/collapse all the extended comments? Would make text searching easier

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell (on Debian L@VERT to Git commit to main/sbbs/master on Wednesday, December 20, 2023 17:09:00
    https://gitlab.synchro.net/main/sbbs/-/commit/22f1c81eeea8d6d126f46ae3
    Modified Files:
    exec/webfileindex.ssjs
    Log Message:
    Strip Ctrl-A codes from extended file descriptions

    I'm doing this manually with String.replace() because the "built-in" strip_ctrl_a() function doesn't expand ^A/ (conditional line-break) as it
    would need to.

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Rob Swindell (on Debian L@VERT to Git commit to main/sbbs/master on Wednesday, April 03, 2024 22:53:00
    https://gitlab.synchro.net/main/sbbs/-/commit/8a062f598a8e7ed9545ccde4
    Modified Files:
    exec/webfileindex.ssjs
    Log Message:
    When file size is less than 1 byte in length, don't list

    0-byte or non-existent files can't be http-downloaded anyway

    ---
    þ 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 Monday, September 16, 2024 13:57:39
    https://gitlab.synchro.net/main/sbbs/-/commit/dc1f8759e7d313c532432c15
    Modified Files:
    exec/webfileindex.ssjs
    Log Message:
    Display the file index date-time instead of the file's date-time

    Since sorting works on the file index record date-time (date/time added)
    it was confusing to display dates that didn't always match the sort order.

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