Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Since opCharts 4.1.0, opEvents 3.1.0, opHA 3.1.0 and opConfig 4.1.0 version, the .nmis configuration files will be replaced by .json files. 

...

  • convert_json_file: Will convert .nmis file into a json file. It has 3 options: 
    • backup: t/f: True by default. Will move the .nmis file to the archive_converted_files directory. 
    • replace_qr: t/f: True by default. Will replace the qr// by "" reading the file content as a string. Please note, if the file has non quoted qr, the conversion to json will fail, with a message: 

      Error converting json file: encountered object '(?^:Category:\((\d+)\); User:([\w\\ ]{0,256}); (.+)$)', but neither allow_blessed ...


    • replace_nmis: t/f: True by default. Will replace the ".nmis" by ".json" reading the file content as a string. 
  • convert_dir_file: Will scan a directory and convert nmis files to json files, using backup, replace_qr and replace_nmis to true but for EventActions will do an exception. This file has quoted qr so it won't need to be converted.