Skip to content
Snippets Groups Projects
  1. May 25, 2019
    • nightfox's avatar
    • nightfox's avatar
      Added support for some common standard language tags and parsing them from the... · 201488cd
      nightfox authored
      Added support for some common standard language tags and parsing them from the dictionary filenames.  Updated the version to 1.65.
      201488cd
    • nightfox's avatar
      Don't allow duplicates in the sorted output · d0444822
      nightfox authored
      d0444822
    • nightfox's avatar
      This is a script that can sort a file. This script is meant to be run with... · 6fea138b
      nightfox authored
      This is a script that can sort a file.  This script is meant to be run with jsexec (on the OS command prompt, not via the Synchronet terminal server).  One purpose of this script is to sort dictionary files when they're created or when words are added to existing dictionary files.
      
      The command-line syntax of this script is:
      sexec sort_file.js <inputFilename> <outputFilename> [convertToLowercase]
      Where <inputFilename> is the name of the input file and <outputFilename> is the name of the output file (the sorted input).  convertToLowercase is optional, and specifies whether or not to convert all entries in the file to lower-case (which is required for case-insensitive word matching via SlyEdit, for instance).  The values for convertToLowercase can be true or false (really, anything besides true will be interpreted as false).
      6fea138b
    • nightfox's avatar
      Added some notes about dictionary files · 1f7eef5a
      nightfox authored
      1f7eef5a
    • nightfox's avatar
    • nightfox's avatar
      Added the dictionaryFilenames option for SlyEdit 1.64. dictionaryFilenames... · bd0eed94
      nightfox authored
      Added the dictionaryFilenames option for SlyEdit 1.64.  dictionaryFilenames allows the sysop to specify dictionary filenames (used for spell check): This is a comma-separated list of filenames.  The dictionary filenames are in the format dictionary_<language>.txt, where <language> is the language name.  You can also just specify the language name if you want.  Leave blank to use all dictionary files that exist on the system.  The dictionary files are located in either sbbs/mods, sbbs/ctrl, or the same directory as SlyEdit.js.
      bd0eed94
    • nightfox's avatar
      SlyEdit version 1.64: Added a spell check feature. The spell checker can be... · 30582e7a
      nightfox authored
      SlyEdit version 1.64: Added a spell check feature.  The spell checker can be started with the Ctrl-R hotkey or by selecting the spell checker option on the ESC menu.  The sysop can configure multiple dictionaries, if desired, using the new dictionaryFilenames option in SlyEdit.cfg.  For dictionaryFilenames , SlyEdit accepts a comma-separated list of dictionary filenames, which can be in sbbs/mods, sbbs/ctrl, or same directory as SlyEdit.js.  The 'filenames' in the list can be the actual filenames, or simply the language names if desired.  Also, users can toggle which dictionaries to enable for spell check in their user settings (accessible with Ctrl-U), and also toggle whether or not to prompt for spell check upon saving a message.
      SlyEdit also now uses "require" when available, instead of "load", to load .js libraries.
      Also, note that SlyEdit now requires dd_lightbar_menu.js in exec/load - Be sure to get the latest one from CVS.  dd_lightbar_menu.js is used for displaying the list of dictionaries via the user options.
      30582e7a
    • nightfox's avatar
      This is an English dictionary for spell checking purposes - basically just a... · e1376d6b
      nightfox authored
      This is an English dictionary for spell checking purposes - basically just a list of words, in text format.  Note that this must be sorted in order for spell checking to work.  SlyEdit's new spell checker feature, for instance, uses a binary search with an array of words loaded from a dictionary to check the validity of words.
      SlyEdit's new spell check feature assumes dictionary filenames are dictionary_<language>.txt, where <language> is the language name.
      e1376d6b
  2. May 24, 2019
  3. May 23, 2019
    • deuce's avatar
      FCC no longer supports non-TLS HTTP requests. · bc9d9a81
      deuce authored
      bc9d9a81
    • rswindell's avatar
      When editing an existing file/message, use the current terminal screen width · ef0d8296
      rswindell authored
      for the word_wrap line length (not the default, 79 cols).
      ef0d8296
    • rswindell's avatar
      Issue a QWK-packet-received confirmation request after a successful download · 85dd8b01
      rswindell authored
      of a QWK packet (sending the received-file-length as a post parameter):
       http[s]://host/qwk.ssjs?received=<length>
      If the file size matches the user's QWK packet size, the local (server-side)
      QWK packet is deleted.
      Passing an empty string to HTTPRequest.Post() since it requires a data
      paramater. :-( Using Post rather than Get 'cause the chicken hath spake:
      "<echicken> I think POST is probably technically the more correct way to do it"
      85dd8b01
    • rswindell's avatar
      QWKnet client using HTTP[S] rather than FTP (experimental at this time). · 45ff2baa
      rswindell authored
      Open questions/issues:
      - How can we confirm the REP file was received successfully - before deleting
        our local file
      - We're reading entire REP and QWK packet contents into memory (JS variables)
        there's likely a better way
      45ff2baa
    • deuce's avatar
      Icon should not have an extension if it's not an absolute path. · d025a084
      deuce authored
      "Application" is not a registered category.
      Add TerminalEmulator and Dialup categories.
      d025a084
    • rswindell's avatar
      Increase MAX_POST_LEN from 1MB to 4MB (QWK REP packets can be > 1MB) - · a59fba4a
      rswindell authored
        I think that > 1MB post data is supported, but the http_request.post_data
        property won't be created if the length > MAX_POST_LEN. Perhaps would just
        store the post data in a file (uh, it already is?) and expose the filename to
        JS scripts? It'd be a lot cleaner than storing the data in a file and then
        reading (or mem-mapping) the file and then copying the contents into a JS
        property.
      
      Allow the JS http_request.post_data property to contain NULs.
      
      open_post_file() will now open the post file (and return the FILE*) even if
        session->req.post_data is NULL, it just won't try to write to the file if the
        post_data is NULL.
      
      mem-map the large post data files using XPMAP_WRITE (read/write) rather than
        XPMAP_READ (read-only) - without this change, this line in read_post_data()
        would cause an exception:
          session->req.post_data[session->req.post_len]=0;
        Now, we seem to have the potential of an off-by-one here (if the length
        mem-mapped is not post_len + 1), but that isn't happening. <shrug>
      
      Fixed a couple of FILE pointer/descriptor leaks if post_to_file() failed.
      
      Changed name of post data file to SBBS_POST.*.*.data (it's not necessarily
      html).
      
      So now, uploads > 1MB work, but questions remain:
      - wouldn't PUT be a more appropriate method (than POST) for file uploads?
      - how can we support post_data > MAX_POST_LEN (now 4MB) in JS?
      a59fba4a
  4. May 22, 2019
  5. May 20, 2019
  6. May 16, 2019
  7. May 15, 2019
  8. May 13, 2019
  9. May 11, 2019
Loading