Skip to content
Snippets Groups Projects
  1. Nov 12, 2023
  2. Nov 11, 2023
  3. Nov 10, 2023
  4. Nov 09, 2023
  5. Nov 08, 2023
  6. Nov 07, 2023
    • Rob Swindell's avatar
      Updated for v3.20a · e7aa6a4b
      Rob Swindell authored
      e7aa6a4b
    • Rob Swindell's avatar
      6a82fa90
    • Rob Swindell's avatar
      JSDOC build cleanup (used to generate jsobjs.html) · 96019606
      Rob Swindell authored
      Replaced _property_ver_list (array of numbers) with _property_ver_list (array
      of objects) with a "ver" and (optional) "desc" property. This solves the
      enumeration order problem with objects that have both manual and table-based
      properties. Object's property tables (arrays of jsSyncPropertySpec) can now
      (optionally) contain the property descriptions. For properties defined in this
      manner, there will never be another mismatch between ther name/type and
      description/version in the jsobjs.html (a problem has re-occurred several
      times through the years with nebulous work-arounds).
      
      We still use _property_desc_list arrays for additional (e.g. manually defined)
      properties in such objects or just objects that only use one method of
      property definition and are not subject to the enumeration order problem.
      
      Fixed numerous typos.
      
      Using more consistent terminology and HTML mark-up.
      
      Some beautification and enhancement of readability, but nothing too major.
      96019606
  7. Nov 06, 2023
  8. Nov 03, 2023
  9. Nov 02, 2023
  10. Nov 01, 2023
    • Eric Oulashin's avatar
    • Rob Swindell's avatar
    • Rob Swindell's avatar
    • Rob Swindell's avatar
      Multi-language support and other niceties · 753a3955
      Rob Swindell authored
      The get_lang_count(), get_lang_list(), and get_lang_desc_list() functions are
      more or less ported from load_cfg.c. If we ever need these in any other JS
      files, they should be moved to a load-lib.
      
      Re-synchronized this code with sbbs_t::maindflts():
      - Don't accept keys for settings we didn't display
      - Remove support for Auto-Login by IP address (chopping block feature)
      - This is even a tad better as a translated (to another language)
        UserDefaultsHdr string (if/when there is one) would be displayed
        immediately upon a new language file being selected
      
      Fixed a bug where the user online's command shell was used as the default
      rather than the selected user's command shell (thisuser).
      
      Fixed a bug where 'None' was hard-coded rather than use the text.dat string.
      
      No longer needs/loads text.js (use the hard-coded string IDs in sbbs v3.20)
      for a little speed boost.
      753a3955
    • Rob Swindell's avatar
      Multi-language support · 4a160555
      Rob Swindell authored
      New method: bbs.load_user_text() to load/reload user's language file. The
      user's select language file (if there is one) is automatically loaded upon
      logon to the terminal server, but if the user changes their language
      (e.g. via user_settings.js), we needed a way to force re-load of the language
      text. This is the way.
      
      bbs.text() now accepts an optional second (bool) argument that if true, will
      return a string from the default language strings (in text.dat), and not a
      string from any alternate language files (ctrl/text.*.ini) that might've been
      loaded. This allows user_settings.js to always get the name of the default
      language string (LANG), e.g. "English".
      4a160555
    • Randy Sommerfeld's avatar
      Don't ignore MODE when TS is 0 · e76a0a6d
      Randy Sommerfeld authored
      e76a0a6d
Loading