This commit adds the ability to follow and unfollow (remote)
accounts and to display a list of followers and followees for
a specified account.
Changes:
- Added a command to follow an account.
- Added a command to unfollow an account.
- When displaying an account you can optionally view the relationship
between that account and yourself.
- Added a command to view accounts that are following a specified
account.
- Added a command to view accounts that are followed by a specified
account.
Summary:
This commit adds the ability to add and remove accounts from a list.
The list models has also been updated to change the way lists are
displayed on screen.
Changes:
- Added a subcommand to add accounts to a list.
- Added a subcommand to remove accounts from a list.
- Added a custom error for unknown subcommands.
- Added a custom error when no account IDs are specified when
expected.
This commit refactors the login flow to a GTS server thanks to an update
in the official GTS documentation.
golang.org/x/oauth2 is no longer needed.
Documentation reference:
- https://docs.gotosocial.org/en/latest/api/authentication/
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.