Skip to content

v1.1.2-stellata

Choose a tag to compare

@github-actions github-actions released this 02 Apr 09:53

What Changed

  • Custom commands: You can now define your own commands directly from the handlers directory. Any .cmd file with the right shebang will show up in help and run like a built-in command. Wiki page
  • WebSocket join/leave handlers: New l_onwsjoin and l_onwsleave handler events fire when a remote client connects or disconnects from the local client's WebSocket.
  • Command arguments in handlers: Handler scripts now receive BW_ARGV{n} environment variables containing each argument of the last executed command.
  • Custom shell interpreter: A new CMD_INTERPRETER environment variable lets you specify which shell to use when running shell and pipe commands (< and |).
  • IP redaction fix: The IP address redaction is softer to catch edge cases (like the clients IDs).

Updating to this version

To update to this version, run the following command:

bw-update --to v1.1.2-stellata
Commit history
  • =--- v1.1.2-stellata ---= (4a50ab9)
  • Merge pull request #58 from dpipstudio/cmd-interpreter (4175cbc)
  • local: supporting the CMD_INTERPRETER env key for '<' and '|' commands (016e1e5)
  • local: fixed pipe command execution (363ea0c)
  • server: small fix (d082ecc)
  • server: better shell output managment (c0a5cc8)
  • server: supporting the CMD_INTERPRETER env key for '<' and '|' commands (b6de4da)
  • readme: added nightrunners in the mentions section (4848196)
  • Merge pull request #57 from dpipstudio/custom-cmd (33ccd80)
  • local: implemented custom commands (30e49b5)
  • shared,custom_cmds.py: stop parsing help after the last # (85a329a)
  • server: implemented custom commands (71c3b0b)
  • shared,custom_cmds.py: supporting help indentation now (56bf13c)
  • shared,custom_cmds.py: basic implementation of custom commands (d58aac3)
  • Merge pull request #56 from dpipstudio/env_hdl_args (ec3accc)
  • docs: updated handlers.md (9530b2b)
  • local: added missing onwsjoin/leave handlers (c0eaee0)
  • server: bw_argv -> BW_ARGV (9d0c9ad)
  • server: added BW_ARGV{n} environment key to handlers execution (0655784)
  • local: added BW_ARGV{n} environment key to handlers execution (31a1ec3)
  • .github,bug-report.yaml: updated the os examples (dd4c62a)
  • .github,other-issue.md: removed the "Other issue" form, just fill a blank issue (eb01d36)
  • .github,feature-request.yml: switched to a yaml form for features requests (a084c62)
  • .github,bug-report.yaml: switched to a yaml form for bug reports (5c46925)
  • hopefully fixed #55 (66a1d65)
  • shared,logger.py: be more flexible on ipv4 redacting (fe7e32a)
  • Update installation.json for release v1.1.1-malosma (fa4523b)