SiteHost Console
Latest version: 2.5
Download
file_downloadMac OSX (x86) v2.5
file_downloadMac OSX (arm64) v2.5
file_downloadLinux v2.5
Changelog
[2.5]
Added
- Added SCRIPT support to the
ip vlan
command. - Added support for showing vlan capabilities and native vlans.
Fixed
- Reduced the width of the product field when rendering a server.
[2.4]
Fixed
- Fixed the padding on the last column of tables, this reduces the total width needed in some cases.
- Made columns only display if theres enough room in the terminal to display them.
Changed
- Added concurrency to the initial cache refresh to speed up the initial load time.
[2.3]
Added
- Added column renderers which is used throughout the application to render columns in a consistent way.
Fixed
- Fixed an issue with containers causing problems when updating the SQL cache.
Changed
- Many UI improvements rendering things with columns hopefully making things easier to read and using less real estate.
[2.2]
Fixed
- Fixed the
ip lookup <ip>
command to correctly show which servers are using an IP.
[2.1]
Added
- Added support for showing a single container filtering by name or label.
- Added support for dumping the docker-compose yaml for specific containers.
cache flush
and cache size
commands for managing the cache.
Fixed
- Fixed the behaviour when a server is not found on the API, it now gets removed from the local cache.
[2.0]
Added
- Beginnings of a cache, storing data locally in a chai database.
- More support for the environment variable
SCRIPT=1
in the server commands.
Changed
- Improvements to command parsing / routing to make it more readable.
Removed
- Removed the usage of esc, favouring
go generate
and go:embed
. containers
command deprecated in favour of server <name> containers
.
[1.12] - 2022-12-05
Changed
- Updated all internal references to gitlab.sitehost.co.nz.
- Moved location of website to console.shq.nz.
- Ability to lookup/whois any SRS domain without having to assume the client first.
- Upgraded the readline library to the latest version.
- Bumped golang version to 1.19.
[1.11] - 2022-12-02
Added
- OSX Silicon support / build / deploy.
Changed
- Improvements to the version handler.
Fixed
- Fixes to the crash when no parameters are supplied to the client command.
[1.10] - 2020-09-09
Changed
- Standardise errors a little better.
- Compile linux binaries as static binaries.
- Changed version check URL to include the timestamp in the path instead of query string.
Fixed
- Updated the help to include the Cloud module in the list of required API Key modules.
[1.9] - 2020-09-05
Added
- Added check for reseller modules to make sure we have all the modules to operate.
- Added basic containers command for looking up information on cloud containers.
[1.8] - 2020-08-13
Added
- Added the ability to detect if the binary is writable, so we can notify the user why the upgrade failed.
- Added better instructions on how to setup an API key for use with the console.
Changed
- General cleanup around unnecessary import aliases.
- Moved to Go 1.15, smaller binaries!
[1.7] - 2020-08-10
Changed
Fixed
- Show server indentation issue fixed.
[1.6] - 2020-01-10
Added
- Added current version to the version request.
- Feature Request: New command
client <client> list emails [role]
used to generate email recipient strings to pasting into cerb. - New command
client <client> list contacts [role]
used to list all contacts, or only contacts which have a certain role. - Server rescue mode enable/disable support with following of the job.
- Rescue mode password store, an in-memory store of rescue mode passwords kept while the application is running.
Changed
- Minor color changes to the
shortcuts
command. - Ability to see the full changelog if the all option is present.
- Updated the way that monitored jobs look, formatting + color changes.
- Moved
config
, changelog
and shortcuts
out of the help namespace and into their own ones.
Fixed
- Corrected the rendering of the changelog. Also added a parameter to view the entire changelog.
- Fixed the scenario where a version upgrade download could be killed if the process exits too quickly.
[1.5] - 2020-01-04
Added
- Show cores for Hypervisors and VPS’s
- Added
help changelog
command which displays the last few entries from the changelog.
Changed
- Centralised a lot of code into models for tidiness, cleaning up the command handlers.
- More color changes for some functions.
- More aggressive caching in places.
- Improved error handling.
- UI updates when viewing vlans + vlan networks.
Fixed
- Updated the heading when the banner is disabled.
- Documented the config option to disable the banner on start.
[1.4] - 2019-12-25
Changed
- Add a timestamp to the version check URL to get around cache.
[1.3] - 2019-12-24
Added
- Feature request: Ability to get server details from ip lookup, eg:
ip lookup sitehost.nz server
. (go/sth-console#15)
Changed
- Minor color changes to make
ip vlan
more readable, not really sure if its better, I may come back to this.
[1.2] - 2019-12-16
Changed
- Assume now takes client name, or client_id, with auto-completion on the client names.
- Lots of small visual improvements.
[1.1] - 2019-12-14
Added
- Added
help list
command added for listing all commands like the original help command did.
Changed
- Moved the version check to use https versus http.
- Full CI/CD with version numbers coming from tags.
- Main help has been re-factored to take up less space.
[1.0] - 2019-12-11
Added
- DNS Tools for querying DNS records on groups of servers.
- Automatic update feature, Will automatically replace the binary on disk and pull in the new version.
- Added @local resolver, which uses the nameservers configured in /etc/resolv.conf. This is now the default resolver.
- Added dig query time for each name server.
- Help for keyboard shortcuts.
Changed
- Implemented an ASCII art banner when we start, which us re-used for the help.
- Made colors more consistent in some places.
- Show time remaining till domain expires when using
srs whois
. - Moved the environment variable information into the
help config
section.
Fixed
- Tidied up the last of the warnings, everything passes intellij’s inspections now.
- Removed old commented code which has been replaced.
[0.20] - 2019-12-05
Fixed
[0.19] - 2019-12-01
Fixed
- SSH connections would output random whitespace at the end sure to the way I was entering raw mode.
[0.18] - 2019-11-30
Changed
- Cleanup to the ip and srs command handlers.
- Store the history in ~/.sth-console/ versus /tmp/.
- Fixed the help banner from the last release.
[0.17] - 2019-11-30
Added
- Added configuration help.
- New web page on sth-console.phreak.nz.
Changed
- Makefile fix ups.
- Added CHANGELOG.md.
- Improved the configuration help when running with no configuration.