Changelog
This release includes support for two repeatedly requested features.
There are also changes to the Periphery agent, remember to update both Core and Periphery to 1.18.4 so everything works correctly.
Template support
Resources can now be marked as templates, and they will be suggested as a the starting point when creating a new resource. You can control the inclusion of templates in the tables, and you can control the template inclusion behavior in the ListResources apis. The behavior is similar to the Gitea repo templates feature. This allows you to configure multiple "defaults" to use as starting points when creating more Resources like Stacks, satisfying requests such as #579.
Container port display / link
If a container defines port mappings, the host ports used will now be displayed in the container tables, as well as the container headers, Stack service tables / headers, and Deployment headers.
Hovering over the port will reveal additional information about the port binding, such as which network interfaces / protocols are involved. Clicking on the port will link to $server_address:$port, using the server address which Core uses to connect to the server.
Resource
- Stack / Build: When using a Linked Repo, will now correctly write the environment configured on Repo, and also run Repo On Clone / On Pull commands. Interpolation is now correctly applied.
- Server: The Server Stats tab now displays current Docker container stats table.
Misc
- Includes pretty extensive refactors standardizing interpolation and log sanitization, making the code simpler and avoiding errors and inconsistencies.
- Refactored internal git library and usage, separating out library level handling of environment / on clone / on pull execution out for more modular implementation.
- Fix
/GetUserendpoint spam on token expiry in #618 by @huzky-v