Skip to content
Snippets Groups Projects
  1. Dec 19, 2023
  2. Dec 18, 2023
  3. Dec 17, 2023
    • Rob Swindell's avatar
    • Rob Swindell's avatar
      Add support for metadata in *.can (filter) files · a73a8212
      Rob Swindell authored
      I wanted a couple of features for filters (e.g. blocked IP addreses):
      - expiration date, optionally (only block for a limited time)
      - display details of reason for filter in log messages (at time of block)
      
      I've been thinking for some time that these files should be converted to .ini,
      but then it occurred to me that I could do a sort of hybrid where the metadata
      was key/value pairs tab-delimited from the search-pattern (first text on the
      line). This is backward comaptible, relatively easy to view/edit by hand, and
      extensible (easy to add/remove metadata fields in the future). So they'll
      remain as text/*.can files.
      
      The maximum line length for findstr/trashcan parsed files extended from 255 to
      1000 characters.
      
      Moved all trashcan-related functions from scfglib1.c to (new file) trash.c.
      
      For the first time, I actually tested a build on WSL *before* committing to
      Git. So, this *should* pass CI the first time. :-O
      a73a8212
    • Rob Swindell's avatar
    • Rob Swindell's avatar
      Fix timezone portion of string output of time_to_isoDateTimeStr() · 05077226
      Rob Swindell authored
      The output of this function was not ISO-8601 complaint (blush) and was not
      parsable by isoDateTimeStr_parse() (returned -1).
      
      e.g. "20231217T011437-480" rather than "20231217T135222-0800" (in PST)
      
      Positive UTC offset (eastern) zones would be even worse (the + separator
      would be missing).
      05077226
    • Rob Swindell's avatar
      Merge branch 'slyedit_msg_area_sub_object_settings_realname' into 'master' · 0c991f98
      Rob Swindell authored
      SlyEdit: Now using msg_area.sub[code].settings to check for posting with real...
      
      See merge request !377
      0c991f98
Loading