- Dec 19, 2024
-
-
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.
-
- Dec 01, 2024
-
-
Deucе authored
-
- Apr 24, 2023
-
-
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.
-
Rob Swindell authored
-
- Feb 17, 2023
-
-
Rob Swindell authored
Tested with this: wget --content-disposition --post-file=nodelist.010 http://synchro.net/fido-nodelist-syncterm.ssjs
-
- Jun 09, 2021
-
-
Rob Swindell authored
-
- May 31, 2021
-
-
Rob Swindell authored
msgs.ssjs line 6: TypeError: msgbase is undefined Instead, just display an error to the user/browser (assuming there is one).
-
- May 30, 2021
-
-
Rob Swindell authored
"msg.ssjs line 42: Error: Error -1 reading user number" Fixed an errant semicolon in the process. (15 year old minor bug)
-
- Mar 08, 2021
-
-
Rob Swindell authored
This excludes votes and polls automatically.
-
- Sep 21, 2020
-
- Sep 07, 2020
-
-
Rob Swindell authored
-
- Aug 16, 2020
-
-
Rob Swindell authored
-
Rob Swindell authored
Double-check that the user has access to both the directory and the containing library before allowing a download a file.
-
- Apr 13, 2020
-
-
echicken authored
total credits. Set an 'error' property on reply if file not found or not enough credits.
-
Rob Swindell authored
The User.downloaded_file() method has been enhanced to accept a directory code and a filename to do "all the things" expected after a file has been successfully downloaded. Use the method.
-
- Sep 24, 2019
-
-
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.
-
- Sep 16, 2019
-
-
Rob Swindell authored
We don't (yet) support UTF-8 sequences in telegrams (short messages to users).
-
- Sep 06, 2019
-
-
echicken authored
Respect the local "allow dupe realnames" setting. Slightly more careful checking of some things. More to come.
-
- Sep 05, 2019
-
-
echicken authored
newuser_level newuser_flags1 newuser_flags2 newuser_flags3 newuser_flags4 newuser_exemptions newuser_restrictions
-
- Aug 23, 2019
- Aug 21, 2019
-
-
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).
-
- Aug 17, 2019
-
-
echicken authored
Use get/post as appropriate. Light housekeeping; hopefully this script won't live much longer.
-
echicken authored
-
echicken authored
-
echicken authored
Feed post and get requests into a common function, which will become useful later. Starting to use ES6 stuff in client-side scripts with greater abandon. May not work with your ancient browser. #wontfix
-
- Aug 16, 2019
-
-
echicken authored
-
- Aug 14, 2019
- Jul 31, 2019
- Jul 30, 2019
- Jul 29, 2019
-
-
echicken authored
Execute most any top-level SSJS in an IIFE to work around whatever context reuse thing is happening. I'm aboot done with this shit for now I tell you what.
-
- Jul 26, 2019
-
-
echicken authored
-
- Jul 25, 2019
-
-
echicken authored
-