Skip to content
Snippets Groups Projects
  1. Dec 19, 2024
    • Rob Swindell's avatar
      Add "Auto" Local Time Zone option and make that the default for new install · 5434b904
      Rob Swindell authored
      As Deon pointed out in DOVE-Net / Synchronet Discussion, having a local time
      zone configured with a different UTC offset than your system time zone can
      produce strange/unexpected results (e.g. displayed age of messages). Since
      it's possible that not all sysops will complete the configuration wizard or
      actually set their timezone to the correct value (and ignore the startup
      warning message), we now make the default Local Time Zone to be
      "automatic" - query the OS every time the local time zone is needed/used.
      
      This has the downside of only storing (e.g. in message headers) the UTC
      offset of the current time zone (not the time zone abbreviation/name as
      encoded by SMB). I considered making an option to dynamically figure out
      the actual time zone (not just the UTC offset) and while I think that's
      doable, Deon just wanted his UTC offset (e.g. UTC+11:00) and not his
      time zone name (e.g. AEDT) stored in message headers, so this setting
      would be the behavior he expected/wanted.
      
      I'm using the sentinel time zone value of -1 for this new behavior.
      
      Existing configurations (behavior of existing systems) aren't changed.
      5434b904
  2. Dec 01, 2024
  3. Apr 24, 2023
    • Rob Swindell's avatar
      A basic HTTP-post handler for uploading files to the filebase · 38e9705d
      Rob Swindell authored
      Based on qwk.ssjs
      
      I tested this using:
      wget --auth-no-challenge --post-file=file.ext --http-user=username --http-password=passwd vert.synchro.net/upload.ssjs?filename=file.ext\?desc=description-text
      
      This currently requires an "uploads" directory to be configured by the sysop.
      
      I'm not sure if there's a better/more-standard way for the posted filename or
      content to be included in the request. This is just a sort of proof-of-concept
      as a solution for issue #554. Perhaps an ecbwebv4 page displays a prompt to the
      user for their filename and it redirects to this page. Not sure how that'll
      work.
      38e9705d
    • Rob Swindell's avatar
      Fixed typos · 31a9a602
      Rob Swindell authored
      31a9a602
  4. Feb 17, 2023
  5. Jun 09, 2021
  6. May 31, 2021
  7. May 30, 2021
  8. Mar 08, 2021
  9. Sep 21, 2020
  10. Sep 07, 2020
  11. Aug 16, 2020
  12. Apr 13, 2020
  13. Sep 24, 2019
    • Rob Swindell's avatar
      It was observed that httpSess threads would consume ~15% of a CPU · 2fbe160d
      Rob Swindell authored
      Using Linux top, long-running (hundreds of hours) httpSess threads were seen
      consuming ~15% of a CPU core. This loop calls time() and yield() in a tight
      loop, so instead mswait(50) (milliseconds), which reduces the CPU utilization
      considerable (down to < 1%), but will slightly impact the frequency with
      which the events callbacks are invoked. A better scheme would be to block
      while waiting for an event or a timeout (e.g. 1 second), so this is not a
      great solution. More of a work-around.
      2fbe160d
  14. Sep 16, 2019
  15. Sep 06, 2019
  16. Sep 05, 2019
  17. Aug 23, 2019
  18. Aug 21, 2019
    • echicken's avatar
      Added "header" and "footer" page "components". · 67028a18
      echicken authored
      Contents of components/header.xjs (if exists) appear under
      navbar and above page content.
      Contents of components/footer.xjs (if exists) appear
      at bottom of page (in a <footer/> block).
      You can use this to add a banner/image to the top of your
      pages, or include some server or client-side JS that runs on
      every page load (without having to modify index.xjs).
      67028a18
  19. Aug 17, 2019
  20. Aug 16, 2019
  21. Aug 14, 2019
  22. Jul 31, 2019
  23. Jul 30, 2019
  24. Jul 29, 2019
  25. Jul 26, 2019
  26. Jul 25, 2019
Loading