285f3c4cf828ebe9ff345080aa1df3755613af29 |
|
13-Dec-2017 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
doveadm: Add new "stats dump" command |
6ef83bcdc4e40d6b387857e5f7d58cd86c71ec50 |
|
13-Dec-2017 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
global: Renamed stats plugin and service to old-stats |
6fc40674e5a33787ae7fcd47a77a77ea20977994 |
|
28-Oct-2017 |
Aki Tuomi <aki.tuomi@dovecot.fi> |
global: Rename client_connection_type to doveadm_connection_type |
2ba5e7dcc2a280904fe8a7af12c63f65bd5bee10 |
|
28-Oct-2017 |
Aki Tuomi <aki.tuomi@dovecot.fi> |
doveadm: Rename client_connection_type to doveadm_client_connection_type
Move it to doveadm.h to allow plugins use doveadm-cmd.h |
1b58508a918279d773ef32518f5d5d933023c252 |
|
24-Oct-2017 |
Stephan Bosch <stephan.bosch@dovecot.fi> |
doveadm: Changed command contexts to contain the input, output, and connection type values directly.
Before, it used a direct pointer to the connection.
It used also flags to indicate the connection type, which is now consolidated in the connection type enum. |
d78f1ac9dc0f3e6c64cebe9ee331ec6b3c160e89 |
|
20-Oct-2016 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
Added "doveadm process status"
This allows asking for processes' current status in master process. |
eba7f36feec8d02c4c394e55ff4effd47e33d311 |
|
20-Oct-2016 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
Added "doveadm service status"
This allows asking for services' current status in master process. |
2593d6105ecd92f6cd874ed1e3c0faefb37e699b |
|
08-Aug-2016 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
doveadm: Fixed -A and -u wildcard handling with server connections. |
65a8a3c66787f164a94b67adf38da33b0c2aa519 |
|
08-Aug-2016 |
Aki Tuomi <aki.tuomi@dovecot.fi> |
doveadm: Pass connection to mail context |
53309922d2ec3321e011966e8f2b210821ecd5e3 |
|
29-Jun-2016 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
doveadm: Added "service stop" command to stop specific services. |
a13b1245bee0b6524b4aeb3c8fd9e34af648b746 |
|
29-Jun-2016 |
Aki Tuomi <aki.tuomi@dovecot.fi> |
doveadm: Implement user and auth cache flush to server |
bd13998cde153abdb189593ad4229bf73bc2dd34 |
|
29-Jun-2016 |
Aki Tuomi <aki.tuomi@dovecot.fi> |
doveadm-server: Skip doveadm_print_init
Some commands need to do output that is not doable with
doveadm_print, so we need to have a flag to indicate this. |
6a8c95b0693c93601e948e06bfe1f89abdd43307 |
|
29-Mar-2016 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
doveadm-server: Fixed running multi-word commands.
The problem with for example "mailbox status" command is that:
- doveadm cli: argv[0] = "mailbox", argv[1] = "status"
- doveadm-server: argv[0] = "mailbox status"
So with doveadm cli we'll now instead just skip over words until argv[0]
is the last word of the command ("status"). |
36a052b7bd94ccb47abbb6b15c1380f03780ba20 |
|
29-Mar-2016 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
doveadm: Code cleanup - always use const char *const[] type for argv.
Needed to fix compiler warnings in the following patch. |
2029c2cb37d7308e74329c9a15b6cf07a3468314 |
|
01-Mar-2016 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
doveadm: A bit nicer way to implement doveadm_cmd_param_array() returning C-string array
So replacement of 4afc67eb9, which I accidentally pushed before remembering
about this other way. |
6eb1a7a7ae2c1dfff6731956ade08f9a4a7c791a |
|
01-Mar-2016 |
Aki Tuomi <aki.tuomi@dovecot.fi> |
doveadm-kick: Rewrite to ver2 infra |
99819adc9638200bc2ec1b68da9d2c68e8435740 |
|
01-Mar-2016 |
Aki Tuomi <aki.tuomi@dovecot.fi> |
doveadm-who: Rewrite to ver2 infra |
4afc67eb96f8d6b7dc94d63d3c7fe4f556c4fcee |
|
01-Mar-2016 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
doveadm: Changed doveadm_cmd_param_array() to return C-string array instead of ARRAY()
We could support both with separate functions, but perhaps this one is enough. |
aaa1b6bb4cd2d7f8f4e7977d61176ea1c8f7e32b |
|
28-Feb-2016 |
Aki Tuomi <aki.tuomi@dovecot.fi> |
doveadm: Changed v2 command APIs to be easier to use. |
8fdec34605d98765a9eec3456cbfe6cde6bac477 |
|
26-Feb-2016 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
doveadm: Add more consts to avoid a cast breaking strict-aliasing rules. |
50e4970035d1278597d13cac6c5ae26e7af93025 |
|
26-Feb-2016 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
doveadm: Pass through mail_storage_service_input fields in doveadm_cmd_attributes |
79bbb900ffba886779474dfb04c41408f0ba0602 |
|
26-Feb-2016 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
doveadm: Added struct doveadm_cmd_attributes, which is passed around instead of argc/argv |
7616a1520f0d8ee5cc96f6b044c7fde1a9f9798c |
|
26-Feb-2016 |
Aki Tuomi <aki.tuomi@dovecot.fi> |
doveadm-penalty: Convert to ver2 infra |
db8b229230860a6c12daa0017a49396986368897 |
|
26-Feb-2016 |
Aki Tuomi <aki.tuomi@dovecot.fi> |
doveadm: Code cleanup - coding style fixes for doveadm_cmd_param*() accessors |
79ec87ea6861e2dd447f69ab44a7cc4e4fce3fdd |
|
26-Feb-2016 |
Aki Tuomi <aki.tuomi@dovecot.fi> |
doveadm-cmd: Add CMD_PARAM_IP |
cd75585e26420cef09cc699c6e02ab46e21937d1 |
|
26-Feb-2016 |
Aki Tuomi <aki.tuomi@dovecot.fi> |
doveadm: Remove return value from ver2 cmd() - doveadm_exit_code is enough |
fb8519306c326ba8384280a67479963e583c785a |
|
26-Feb-2016 |
Aki Tuomi <aki.tuomi@dovecot.fi> |
doveadm-cmd: Constify doveadm_cmd_param_*() usage |
7a8ef11587fd50d5888223fc3d91911775a21ba5 |
|
22-Feb-2016 |
Aki Tuomi <aki.tuomi@dovecot.fi> |
doveadm: Added doveadm_cmd_get_ver2() helper |
3fd8086f71f25a68e33993e24123b10b671dac67 |
|
22-Feb-2016 |
Aki Tuomi <aki.tuomi@dovecot.fi> |
doveadm-cmd: Add command flags |
1e8a6a8708b612eee65f83ef6874aab94b15eb50 |
|
22-Feb-2016 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
doveadm: Free istream parameters everywhere
Based on patch by Aki Tuomi |
7d500ecf27acc5b65615ee9e72d6da6bacf799d2 |
|
22-Feb-2016 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
doveadm: Minor code cleanup - rename doveadm_cmd_find*() to doveadm_cmd_find_with_args*() |
676d5601a8e087b25eb4dd5509079ab832e66831 |
|
22-Feb-2016 |
Aki Tuomi <aki.tuomi@dovecot.fi> |
doveadm-stats: Use ver2 structures |
14102a0c5db8828ca8c7751ec96587fadc97a0bc |
|
19-Feb-2016 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
doveadm: Use char type for short options instead of a string.
The ":" = "has parameters" can be determined from the type.
Also removed "?" checks since it wasn't actually used. |
05128fda80748e107bccdece0a3d23551e99e8f3 |
|
19-Feb-2016 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
doveadm: Remove CMD_PARAM_NONE type, since it already defaulted to same as CMD_PARAM_BOOL |
68cc278710182485b6c09e9a9ff8db90a727f343 |
|
19-Feb-2016 |
Aki Tuomi <aki.tuomi@dovecot.fi> |
doveadm: Use ver2 structures for stop & reload. |
1e11a94ec50fc9b57eb2c859771c6a326ccaf86f |
|
19-Feb-2016 |
Aki Tuomi <aki.tuomi@dovecot.fi> |
doveadm: Implement HTTP server API, slightly based on JMAP API |
14af7be4aa26d55c341cd6efe32bb2add2c39830 |
|
19-Feb-2016 |
Aki Tuomi <aki.tuomi@dovecot.fi> |
doveadm: Add infrastructure for doveadm_cmd_ver2
Version 2 commands have named parameters, which also have types. This is
especially useful for reading input from HTTP/JSON API. This also simplifies
the parameter parsing for command line input.
For v2.3 the plan is to replace all the old doveadm_cmds with this new
version and get rid of the _ver2 suffixes. But for now we'll have two
versions of commands.
For backwards compatibility with old commands we have also implemented
wrappers so that v2 structs can be defined and there's a function to convert
the named parameters to old v1 style args[] string, so the old command
handlers can still be run. This will also be removed in v2.3.
This change also adds requirement for getopt_long(). It's already available
in all the Linuxes and BSDs, so this shouldn't be too big of a requirement.
Other systems can install it from an external library. |
f970f2afa1dad882b7fc0f97f9315e01309cef03 |
|
15-Jan-2016 |
Aki Tuomi <aki.tuomi@dovecot.net> |
doveadm-stats: Add stats reset command line |
55accf49e32ff93bfdd92961cb54ccc8c329147c |
|
12-Nov-2014 |
Timo Sirainen <tss@iki.fi> |
doveadm: Moved commands related code to doveadm-cmd.[ch]
Commands are already split for command line-only commands and commands that
can be run via doveadm-server also. |