Mikael Berthe <mikael@lilotux.net> [Sat, 13 May 2017 11:56:52 +0200] rev 131
Update travis file
Mikael Berthe <mikael@lilotux.net> [Sat, 13 May 2017 11:23:10 +0200] rev 130
Version 1.1.0
Mikael Berthe <mikael@lilotux.net> [Sat, 13 May 2017 09:55:07 +0200] rev 129
toot: Add flag --add-mentions to add mentions when replying
Using --add-mentions with --in-reply-to will automatically prefix
toot content with mentions for the specified status ID.
(Feature suggested by @wxl)
Mikael Berthe <mikael@lilotux.net> [Sat, 13 May 2017 09:49:05 +0200] rev 128
Update travis YAML file
Mikael Berthe <mikael@lilotux.net> [Fri, 12 May 2017 23:48:15 +0200] rev 127
Update online documention to config and oauth2 commands
Mikael Berthe <mikael@lilotux.net> [Fri, 12 May 2017 23:31:21 +0200] rev 126
Much improved html2text (fromhtml)
Handles tags and mentions specifically; display the URL in the other
cases.
Mikael Berthe <mikael@lilotux.net> [Fri, 12 May 2017 00:09:04 +0200] rev 125
Allow special configuration file "/dev/null"
Mikael Berthe <mikael@lilotux.net> [Thu, 11 May 2017 23:57:17 +0200] rev 124
Improve text wrapping
Mikael Berthe <mikael@lilotux.net> [Thu, 11 May 2017 21:03:45 +0200] rev 123
Update gitignore
Mikael Berthe <mikael@lilotux.net> [Thu, 11 May 2017 21:03:45 +0200] rev 122
Update statistic examples
Mikael Berthe <mikael@lilotux.net> [Thu, 11 May 2017 18:48:22 +0200] rev 121
PlainPrinter: Display username of a status author
Mikael Berthe <mikael@lilotux.net> [Thu, 11 May 2017 18:05:06 +0200] rev 120
Add template command tolocal; update templates and documentation
Mikael Berthe <mikael@lilotux.net> [Thu, 11 May 2017 18:05:06 +0200] rev 119
Switch to dev version
convert-repo [Wed, 10 May 2017 22:27:10 +0000] rev 118
update tags
Mikael Berthe <mikael@lilotux.net> [Thu, 11 May 2017 01:26:48 +0200] rev 117
Fix in_reply_to_id format in templates
Mikael Berthe <mikael@lilotux.net> [Wed, 10 May 2017 20:13:31 +0200] rev 116
Version 1.0.0
Mikael Berthe <mikael@lilotux.net> [Wed, 10 May 2017 20:11:42 +0200] rev 115
Update README
Mikael Berthe <mikael@lilotux.net> [Wed, 10 May 2017 19:48:09 +0200] rev 114
Improve config dump output
Do not display instructions when stdout is not a TTY.
Mikael Berthe <mikael@lilotux.net> [Wed, 10 May 2017 14:11:13 +0200] rev 113
Add oauth2 command
Allows OAuth 2.0 authentication interactively or non-interactively.
% madonctl oauth2
or
% madonctl oauth2 > conffile.yaml
Non-interactively:
% madonctl oauth2 get-url
% madonctl oauth2 code OAUTHCODE
(--output/--template can be used as well to customize the output.)
Mikael Berthe <mikael@lilotux.net> [Tue, 09 May 2017 20:14:28 +0200] rev 112
Add flag --command to the stream command
If --command is set to the path of an executable file, it will be run
for each event and the output be be sent to the standard input.
The --output or --theme options can still be used.
Mikael Berthe <mikael@lilotux.net> [Tue, 09 May 2017 20:14:28 +0200] rev 111
Experimental external command implementation
Feeds output (any: plain, template, json...) to the standard input
of an external command.
Mikael Berthe <mikael@lilotux.net> [Tue, 09 May 2017 20:14:28 +0200] rev 110
Refactor printers
Mikael Berthe <mikael@lilotux.net> [Tue, 09 May 2017 20:14:28 +0200] rev 109
Switch to dev version
Mikael Berthe <mikael@lilotux.net> [Tue, 09 May 2017 08:41:28 +0200] rev 108
Update README again (style)
Mikael Berthe <mikael@lilotux.net> [Mon, 08 May 2017 21:45:30 +0200] rev 107
Update README
Try and use bold...
convert-repo [Mon, 08 May 2017 18:40:07 +0000] rev 106
update tags
Mikael Berthe <mikael@lilotux.net> [Mon, 08 May 2017 21:39:55 +0200] rev 105
Update README
Mikael Berthe <mikael@lilotux.net> [Mon, 08 May 2017 21:10:28 +0200] rev 104
Version 0.6.1
Mikael Berthe <mikael@lilotux.net> [Mon, 08 May 2017 20:31:29 +0200] rev 103
Fix panic when a streaming connection is closed (in multi-streams)
tagDone channels were not initialized for multiple tags streams.
Mikael Berthe <mikael@lilotux.net> [Mon, 08 May 2017 12:17:59 +0200] rev 102
Allow HTTP URLs in --user-id
E.g. madonctl accounts --user-id https://server/@username show
Mikael Berthe <mikael@lilotux.net> [Mon, 08 May 2017 10:56:17 +0200] rev 101
Bump version to 0.6.1-dev
convert-repo [Sun, 07 May 2017 21:55:09 +0000] rev 100
update tags
Mikael Berthe <mikael@lilotux.net> [Mon, 08 May 2017 00:46:02 +0200] rev 99
Update templates
Mikael Berthe <mikael@lilotux.net> [Sun, 07 May 2017 23:22:28 +0200] rev 98
Minor documentation updates
Mikael Berthe <mikael@lilotux.net> [Sun, 07 May 2017 22:07:58 +0200] rev 97
Version 0.6.0
Mikael Berthe <mikael@lilotux.net> [Sun, 07 May 2017 22:06:11 +0200] rev 96
Update travis configuration
Mikael Berthe <mikael@lilotux.net> [Sun, 07 May 2017 21:54:50 +0200] rev 95
Update templates / ANSI theme
Mikael Berthe <mikael@lilotux.net> [Sun, 07 May 2017 21:54:24 +0200] rev 94
Update template README
Mikael Berthe <mikael@lilotux.net> [Sun, 07 May 2017 21:53:13 +0200] rev 93
Add template functions trim and wrap
Mikael Berthe <mikael@lilotux.net> [Sun, 07 May 2017 19:52:58 +0200] rev 92
Update README
Mikael Berthe <mikael@lilotux.net> [Sun, 07 May 2017 19:31:37 +0200] rev 91
Add shell completion for theme flag
Mikael Berthe <mikael@lilotux.net> [Sun, 07 May 2017 19:30:24 +0200] rev 90
TemplatePrinter: Add support for string objects
This is a special case, but can be useful sometimes.
Mikael Berthe <mikael@lilotux.net> [Sun, 07 May 2017 17:32:33 +0200] rev 89
ResourcePrinter (templates): Use options to pass color_mode
Mikael Berthe <mikael@lilotux.net> [Sun, 07 May 2017 17:15:00 +0200] rev 88
Add 'ansi' theme for UNIX-like systems
Mikael Berthe <mikael@lilotux.net> [Sun, 07 May 2017 16:43:51 +0200] rev 87
Themes: Template for "instance --stats" is "instancestats.tmpl"
Mikael Berthe <mikael@lilotux.net> [Sun, 07 May 2017 16:38:52 +0200] rev 86
Update template README
Mikael Berthe <mikael@lilotux.net> [Sun, 07 May 2017 16:38:52 +0200] rev 85
Add theme support
Mikael Berthe <mikael@lilotux.net> [Sun, 07 May 2017 14:12:56 +0200] rev 84
Rename printer files
Mikael Berthe <mikael@lilotux.net> [Sun, 07 May 2017 13:06:47 +0200] rev 83
Use a map for ResourcePrinter options
Mikael Berthe <mikael@lilotux.net> [Sun, 07 May 2017 11:56:37 +0200] rev 82
Add 'template_directory' setting
If set, template files are looked up relatively from this
repository first (unless they are absolute paths or start with
"./" or "../").
Mikael Berthe <mikael@lilotux.net> [Sun, 07 May 2017 11:46:28 +0200] rev 81
Do not display usage when GetPrinter fails
Only display the error message and exit with non-zero status code.
Mikael Berthe <mikael@lilotux.net> [Sun, 07 May 2017 00:37:02 +0200] rev 80
Add cmd/utils.go
Mikael Berthe <mikael@lilotux.net> [Sun, 07 May 2017 00:26:04 +0200] rev 79
Add default visibility setting
Mikael Berthe <mikael@lilotux.net> [Sat, 06 May 2017 20:26:12 +0200] rev 78
Update ANSI templates
Mikael Berthe <mikael@lilotux.net> [Sat, 06 May 2017 20:25:23 +0200] rev 77
PlainPrinter: Display when 'sensitive' (aka NSFW) is set
Mikael Berthe <mikael@lilotux.net> [Sat, 06 May 2017 19:52:39 +0200] rev 76
Fix in_reply_to ID format in templates
The default format for numbers in templates is double, so we
have to explicitly set the format string.
BTW, replace ".var | printf FMT" with "printf FMT .var"...
It is slightly more readable.
Mikael Berthe <mikael@lilotux.net> [Sat, 06 May 2017 19:44:48 +0200] rev 75
Update README documentation wrt streams
Mikael Berthe <mikael@lilotux.net> [Sat, 06 May 2017 19:44:17 +0200] rev 74
Add support for several hashtag streams
Mikael Berthe <mikael@lilotux.net> [Sat, 06 May 2017 19:38:01 +0200] rev 73
Bump version
Mikael Berthe <mikael@lilotux.net> [Sat, 06 May 2017 18:28:24 +0200] rev 72
Update README
Mikael Berthe <mikael@lilotux.net> [Sat, 06 May 2017 18:28:24 +0200] rev 71
Add --stdin to send a message from standard input
Mikael Berthe <mikael@lilotux.net> [Sat, 06 May 2017 18:16:08 +0200] rev 70
Do not make an API call if toot has no content
convert-repo [Fri, 05 May 2017 21:55:09 +0000] rev 69
update tags
Mikael Berthe <mikael@lilotux.net> [Fri, 05 May 2017 22:22:26 +0200] rev 68
Version 0.5.2
Mikael Berthe <mikael@lilotux.net> [Fri, 05 May 2017 22:20:47 +0200] rev 67
Fix status context (sync with Madon 1.4.3)
Mikael Berthe <mikael@lilotux.net> [Thu, 04 May 2017 21:19:12 +0200] rev 66
Be more verbose when configuration file cannot be read
Mikael Berthe <mikael@lilotux.net> [Wed, 03 May 2017 22:58:57 +0200] rev 65
Exit with error if the requested configuration file does not exist
Thanks to Alexis Vachette for the testing.
Mikael Berthe <mikael@lilotux.net> [Wed, 03 May 2017 22:58:37 +0200] rev 64
Dev version
convert-repo [Mon, 01 May 2017 19:47:38 +0000] rev 63
update tags
Mikael Berthe <mikael@lilotux.net> [Mon, 01 May 2017 22:12:05 +0200] rev 62
Version 0.5.1
Mikael Berthe <mikael@lilotux.net> [Mon, 01 May 2017 20:57:09 +0200] rev 61
Update notification template
Mikael Berthe <mikael@lilotux.net> [Mon, 01 May 2017 20:49:13 +0200] rev 60
Add template for notifications
Mikael Berthe <mikael@lilotux.net> [Mon, 01 May 2017 20:48:07 +0200] rev 59
Update templates
- Force IDs to be displayed as integers
- Add media attachment URLs in statuses
Mikael Berthe <mikael@lilotux.net> [Mon, 01 May 2017 20:46:14 +0200] rev 58
PlainPrinter: Display attachment URLs in statuses
convert-repo [Mon, 01 May 2017 12:33:55 +0000] rev 57
update tags
Mikael Berthe <mikael@lilotux.net> [Mon, 01 May 2017 15:06:05 +0200] rev 56
Version 0.5.0
Mikael Berthe <mikael@lilotux.net> [Mon, 01 May 2017 15:04:08 +0200] rev 55
Sync w/ madon 1.4.0 -- add website parameter to application registration
Mikael Berthe <mikael@lilotux.net> [Mon, 01 May 2017 14:37:42 +0200] rev 54
Update README
Mikael Berthe <mikael@lilotux.net> [Mon, 01 May 2017 14:33:57 +0200] rev 53
Be more verbose when connection fails
Wrap the initial error message so we can guess if it's a credential
issue or a server one.
Mikael Berthe <mikael@lilotux.net> [Mon, 01 May 2017 13:06:31 +0200] rev 52
Use the color function in the ANSI templates
Mikael Berthe <mikael@lilotux.net> [Mon, 01 May 2017 13:03:06 +0200] rev 51
Add ability to force colors: option --color=auto|on|off
Add shell completion for --color as well.
Mikael Berthe <mikael@lilotux.net> [Mon, 01 May 2017 12:42:37 +0200] rev 50
Disable ANSI sequences when stdout is not a TTY
Mikael Berthe <mikael@lilotux.net> [Mon, 01 May 2017 12:25:43 +0200] rev 49
Add ANSI color support to templates (function "color")
convert-repo [Mon, 01 May 2017 06:35:28 +0000] rev 48
update tags
Mikael Berthe <mikael@lilotux.net> [Sun, 30 Apr 2017 23:35:49 +0200] rev 47
Set exit code to non-zero when API calls fail
(This doesn't cover all calls yet.)
Mikael Berthe <mikael@lilotux.net> [Sun, 30 Apr 2017 23:22:09 +0200] rev 46
Improve init logging/error message
Mikael Berthe <mikael@lilotux.net> [Sun, 30 Apr 2017 23:22:09 +0200] rev 45
Use github.com/pkg/errors
Mikael Berthe <mikael@lilotux.net> [Sun, 30 Apr 2017 20:45:40 +0200] rev 44
Sync with Madon; switch IDs to int64 integers
Mikael Berthe <mikael@lilotux.net> [Sun, 30 Apr 2017 20:02:11 +0200] rev 43
Update README
Mikael Berthe <mikael@lilotux.net> [Sun, 30 Apr 2017 19:09:04 +0200] rev 42
Add sample script for instance statistics
Mikael Berthe <mikael@lilotux.net> [Sun, 30 Apr 2017 18:43:11 +0200] rev 41
Add fromunix filter to templates (converts date from UNIX timestamp)
Mikael Berthe <mikael@lilotux.net> [Sun, 30 Apr 2017 18:17:10 +0200] rev 40
TemplatePrinter: Handle InstanceStatus lists
Mikael Berthe <mikael@lilotux.net> [Sun, 30 Apr 2017 18:09:21 +0200] rev 39
Update instance command usage
Mikael Berthe <mikael@lilotux.net> [Sun, 30 Apr 2017 17:58:06 +0200] rev 38
Instance stats: sync with gomif update & add time range support
Mikael Berthe <mikael@lilotux.net> [Sun, 30 Apr 2017 17:07:16 +0200] rev 37
Add server statistics with gomif (using instances.mastodon.xyz API)
Mikael Berthe <mikael@lilotux.net> [Sun, 30 Apr 2017 16:12:55 +0200] rev 36
Switch to devel version
Mikael Berthe <mikael@lilotux.net> [Sun, 30 Apr 2017 15:24:08 +0200] rev 35
Add flag shell completion (values for --output and --visibility)
Mikael Berthe <mikael@lilotux.net> [Sun, 30 Apr 2017 11:11:38 +0200] rev 34
Add shell script example
Mikael Berthe <mikael@lilotux.net> [Sat, 29 Apr 2017 18:08:08 +0200] rev 33
Version 0.4.0
(Requires madon 1.2.0)
Mikael Berthe <mikael@lilotux.net> [Sat, 29 Apr 2017 18:06:18 +0200] rev 32
Update README
Add comment on --all and --limit.
Mikael Berthe <mikael@lilotux.net> [Sat, 29 Apr 2017 17:56:50 +0200] rev 31
Update README
Mikael Berthe <mikael@lilotux.net> [Sat, 29 Apr 2017 17:32:37 +0200] rev 30
Add option --all to fetch all available results
This patch adds support for:
- madonctl accounts --all followers
- madonctl accounts --all following
- madonctl accounts --all statuses
- madonctl accounts --all blocks
- madonctl accounts --all favourites
- madonctl accounts --all mutes
- madonctl accounts notifications --list --all
- madonctl status --status-id STATUSID --all reblogged-by
- madonctl status --status-id STATUSID --all favourited-by
Mikael Berthe <mikael@lilotux.net> [Sat, 29 Apr 2017 17:20:19 +0200] rev 29
Display account ID in verbose mode when it is looked up
Also, remove unused README from the cmd directory.
Mikael Berthe <mikael@lilotux.net> [Sat, 29 Apr 2017 13:54:04 +0200] rev 28
Make account ID optional for accounts followers|following|statuses
If the ID is missing, the account ID of the connected user
is looked up.
Mikael Berthe <mikael@lilotux.net> [Sat, 29 Apr 2017 13:28:05 +0200] rev 27
Enable customizable output format for madonctl version
This patch allows the --output option to be used with the version
command (json/yaml/template).
Mikael Berthe <mikael@lilotux.net> [Fri, 28 Apr 2017 22:00:07 +0200] rev 26
Bump version, display madon version with madonctl version
(Updating version to trigger a rebuild with madon 1.1.1...)
Mikael Berthe <mikael@lilotux.net> [Fri, 28 Apr 2017 18:13:01 +0200] rev 25
Bump version
Mikael Berthe <mikael@lilotux.net> [Fri, 28 Apr 2017 17:20:46 +0200] rev 24
Update README
Mikael Berthe <mikael@lilotux.net> [Fri, 28 Apr 2017 17:07:13 +0200] rev 23
Add template samples
Mikael Berthe <mikael@lilotux.net> [Fri, 28 Apr 2017 16:56:33 +0200] rev 22
Add --since-id and --max-id
Mikael Berthe <mikael@lilotux.net> [Fri, 28 Apr 2017 15:53:09 +0200] rev 21
Update README
Mikael Berthe <mikael@lilotux.net> [Fri, 28 Apr 2017 15:39:32 +0200] rev 20
Sync with Madon library update; use limit API parameter
The --limit argument will be used in the API query.
Note that the Mastodon server does not have the same maximum "limit"
value for for the different end points. (We do not check the user
value in madonctl.)
Mikael Berthe <mikael@lilotux.net> [Fri, 28 Apr 2017 13:31:40 +0200] rev 19
Add notification --dismiss to clear a single notification
(Introduced in Mastodon 1.3)
Mikael Berthe <mikael@lilotux.net> [Fri, 28 Apr 2017 11:49:22 +0200] rev 18
Display instance version, if field is set
Requires latest madon package.
(There seems to be a bug in Mastodon 1.3.1, it returns
"Mastodon::VERSION")
Mikael Berthe <mikael@lilotux.net> [Fri, 28 Apr 2017 11:38:54 +0200] rev 17
Update documentation
Mikael Berthe <mikael@lilotux.net> [Tue, 25 Apr 2017 00:05:21 +0200] rev 16
accounts: add --user-id
Look up the requested user ID and use it in place of --account-id.
Currently the UID should match exactly the account's Acct field in
order to avoid false positives.
Mikael Berthe <mikael@lilotux.net> [Mon, 24 Apr 2017 23:05:27 +0200] rev 15
Add option --text-file to send content from a file
Mikael Berthe <mikael@lilotux.net> [Mon, 24 Apr 2017 22:30:07 +0200] rev 14
Add function "fromhtml" for Go templates
Example (for a status): {{.content | fromhtml}}
Mikael Berthe <mikael@lilotux.net> [Sun, 23 Apr 2017 23:32:16 +0200] rev 13
Add option --limit (-l) to limit the number of displayed results
Mikael Berthe <mikael@lilotux.net> [Sun, 23 Apr 2017 22:40:52 +0200] rev 12
Use cmd.Name() in cobra commands