Skip to content
Snippets Groups Projects
  1. Mar 18, 2021
    • Deucе's avatar
      Fix two isses with IMAP service... · 44b0b141
      Deucе authored
      1) user.number immediately after login() remains zero, but changes
         "sometime" after.  Avoid using user.number right after login()
         call to generate filename.  All data/user/0000.imap files can
         be deleted after this change.
      2) Saving Seen data would modify the object storing it when binary
         seen values were used.  Use JSON.parse(JSON.stringify() to make
         a copy before saving and restore it afterward.  Should fix issue
         reported by nickshanks1 over IRC.
      44b0b141
    • Rob Swindell's avatar
      Add L command to main menu (replacing the never-used Z command) · eb8dc616
      Rob Swindell authored
      Addresses issue #239
      eb8dc616
    • Deucе's avatar
      Fix menu draw when returning to dialing list from comment · bbe43336
      Deucе authored
      Also note the spectacularily poorly named WIN_REDRAW and WIN_NODRAW
      flags.  WIN_REDRAW indicates that this *is* a redraw of the menu,
      which indicates that you don't need to redraw the menu (because it's
      already correct on screen).  Weird, but not insane... WIN_NODRAW on
      the other hand indicates this is *not* a redraw, and that the window
      is incorrect on screen and you therefore *must* redraw the menu.
      
      That is to say:
      WIN_REDRAW prevents the window from being redrawn
      WIN_NODRAW forces the window to be redrawn
      bbe43336
    • Deucе's avatar
      Do what was likely intended by 8b6b7b7c · aefdce71
      Deucе authored
      The previous attempt completely disabled pulse audio.
      aefdce71
    • Deucе's avatar
    • Deucе's avatar
      Fix ALSA output on Linux · 4d373219
      Deucе authored
      It seems that the "real" ALSA will actually silently fail if you
      try to clear errors when no errors have occured.  The FreeBSD
      emulation of ALSA does not have this insane requirement, so this
      went unnoticed for the 1.1 release.
      
      I suspect that this actually fixes SF bug 24, because ALSA is
      preferred over pulseaudio.
      4d373219
    • Rob Swindell's avatar
  2. Mar 17, 2021
    • Deucе's avatar
      First cut at adding a comment field to listings. · ef0a495e
      Deucе authored
      The jury is still out on some details...
      1) If you press ESC while editing the comment, it currently cancels
         the edit.  Would people expect ESC to exit the program instead?
      2) The format/colours of the displayed comment... right now it's
         using the UIFC background colours, and not draing a border or
         window.
      3) Just how long should the comment field be, and how should it be
         edited.
      ef0a495e
    • Deucе's avatar
      Special-case TAB so "backtab" works properly. · 1e0d3286
      Deucе authored
      1e0d3286
    • Deucе's avatar
      Close Socket on unhandled TLS errors · ba5759c2
      Deucе authored
      While errors on transmit seem to be handled well, errors on receive
      do not, especially through js_recv_line() which has been seen to
      trigger a large number (hundreds) of ECONNRESET errors.  To prevent
      this, simply close the socket when an otherwise unhandled error
      occurs.
      
      Almost certainly fixes that issue, but the underlying cause is still
      undetermined.  The calling script (imapservice.js) was checking
      Socket.is_connected after each recv_line() call, so if the socket
      was actually reset, it would be expected to only call it once.
      
      An alternative would be to explicitly handle the error that is
      seen (CRYPT_ERROR_PARAM1), but let's try a generic fix first and see
      of anything breaks because of it.  Most likely issue would be an
      inability to recv() data after calling shutdown(), but I don't think
      many people do that except to move the TIME_WAIT to where they want
      it.
      ba5759c2
    • Deucе's avatar
      Limit sends in terminal and web servers to 8k as well. · 757e3895
      Deucе authored
      It fixed an issue in js_socket.c, no reason to expect better
      behaviour with TLS.  This may fix SZ YModem-G transfers on
      cvs.synchro.net...
      757e3895
    • Deucе's avatar
      Work around exception on spammy mail... · b5a4c5c5
      Deucе authored
      Don't include the obsolete unstructured regex in abs.unstrctured,
      and use the abnf.unstructured for parsing headers.
      
      This fixes an issue seen running the IMAP server on gratuitously
      spammy messages.
      b5a4c5c5
    • Deucе's avatar
      Small fixes for ugetstr() · 08ff63ad
      Deucе authored
      - Backtab also exits with K_TABEXIT when the string is selected
      - Backspace scrolls the text to the left of the cursor to the right
        if the left of the input is not the start of the string.
      08ff63ad
    • Deucе's avatar
      Rename variable for consistency. · c905d6ab
      Deucе authored
      c905d6ab
    • Deucе's avatar
  3. Mar 16, 2021
  4. Mar 15, 2021
  5. Mar 14, 2021
    • Deucе's avatar
      Add support for telnets (Telnet over SSL) · 1fb63e95
      Deucе authored
      It's not clear if this is working properly or not since the only
      BBS I know of that supports telnets (fido.beholderbbs.org) doesn't
      seem to do any telnet "stuff".
      1fb63e95
Loading