| Setting | Value |
|---|---|
| RTC Server Address | 0.0.0.0 or [::] |
| RTC Server Port | Leave blank for 8443 default, or change to another available port |
| ICE Host Override | Your chat server's host name, e.g. mm.organisation.example, unless that may not resolve to your public IP address when queried locally on that server. The latter can occur if you have an entry in your hosts file that resolves to a loopback address, or split-horizon DNS, in which case you need to enter the IP address or a different (sub)domain that always resolves to it, e.g. calls-mm.organisation.example. |
| ICE Servers Configurations | Leave blank |
| window.location.href = (function() { | |
| var browser = (function() { | |
| var ua = navigator.userAgent, | |
| tem, | |
| M = ua.match(/(opera|chrome|safari|firefox|msie|trident(?=\/))\/?\s*(\d+)/i) || []; | |
| if (/trident/i.test(M[1])) { | |
| tem = /\brv[ :]+(\d+)/g.exec(ua) || []; | |
| return { | |
| name: 'IE', | |
| version: (tem[1] || '') |
| <input type=search placeholder=search><br> | |
| <textarea placeholder="won't respond to / shortcut"></textarea> | |
| <script> | |
| document.addEventListener( | |
| 'keydown', | |
| (function() { | |
| let lastWasSlash = false, | |
| thisIsSlash, | |
| input = document.querySelector('input'); | |
| return evt => { |
| #!/bin/bash | |
| set -e | |
| #shopt -s compat32 | |
| # illegal on windows | |
| re_ctrl='[:cntrl:]' | |
| re_ctrl="^([^$re_ctrl]*)[$re_ctrl]+(.*)" | |
| re_punct='<>:"\\/|?*' | |
| re_punct="^([^$re_punct]*)[$re_punct]+(.*)" | |
| re_ts_td='[. ]+$' |
The easy way to enable installation of packages, adapted from [Mozilla's guide][1]. Files should be saved to:
/etc/apt/preferences.d/mozilla
/etc/apt/sources.list.d/mozilla.sources
The PGP key is [Mozilla's][2], which you can compare to the one embedded in the .sources file.
| #!/bin/sh | |
| ts=__ACME_BASE64__START_ | |
| te=__ACME_BASE64__END_ | |
| case $# in | |
| 0) | |
| # loop ensures no final newline is added to input | |
| printf '%s%s%s\n' "$ts" "$( | |
| q=false | |
| f='%s' |
Mattermost [still won't alert admins][0] properly to security patch releases, and does not care whether you prefer the stability of ESR versions. It tells admins that fully patched and supported systems are a Problem, in bold red type on the Workspace Optimisation page of the System Console.
Here are a couple of scripts to run with cron, which actively alert you to updates. The shell script is simpler and assumes you want to be on the very latest version, or latest ESR version. The Python version lists all available updates and whether your major + minor version is currently supported.
Call one with env vars like so:
Assumes you have Alpine set up and running. I use a little VM so the DCA can have the privileges it wants and not interfere with anything else, but you might want to use Docker, etc.
The default installer failed, and when I got it working, the service would not stay up. This is what I did to get it going.
- Copy the relevant installer URL from [EKM's updates site][1].
- Fetch it.
| _comp_cmd_acme_sh() | |
| { | |
| local cur prev words cword | |
| _init_completion -n : || return | |
| local commands | |
| commands=' | |
| --create-account-key | |
| --create-csr | |
| --create-domain-key |