Now that muting and unmuting accounts are now supported in GoToSocial
(as of version 0.16.0) Enbas can now allow users to do that.
Users can also see a list of accounts that they've muted.
Add a new internal printer package for printing resources to the screen
or pager.
With the new printer in place, most of the settings such as the pager
command, colour theme, whether or not colour output is disabled, etc
are defined in one place which saves us the trouble of passing an
increasing number of parameters to an increasing number of Display
methods throughout the code base.
The old Displayer interface and associated Display methods in the
model package are removed as this is now handled by the printer.
The format functions in the utilities package has essentially been
rewritten as methods to the Printer type.
Additional changes:
- All indentation when displaying information about resources (e.g.
statuses, instance, accounts) are removed.
- The application's build information now has colour output.
Add the FullDisplayNameFormat as a replacement for DisplayNameFormat for
displaying the full display name. It uses the builder from the strings
package to reduce the use of fmt.Sprintf.
Add support for disabling ANSI colour output via the --no-color flag
or the NO_COLOR environment variable. The suggested implementation was
inspired by the standards defined at no-color.org
This commit allows users to add or remove private notes from
accounts.
Changes:
- feat: added functionality to add or remove private notes from
accounts.
- fix: added new error types or unsupported add and remove
operations.
- build: build Enbas without rebuilding all packages by default to
speed up local builds for development.
Add Enbas code. So far Enbas can:
- Allow the user to register the application and log into GTS on their
behalf. The scope is limited to read for now.
- Show instance details.
- Show local and remote accounts.