-
I would like to make sure I understand it correctly:
-
global on/off - means global switch for server instance which would enable/disable message archiving
-
checkbox while creating user - in default register dialog? (this could be tricky as message archiving is not part of server project but an addon) or in adhoc command? (this could be created custom command)
-
-
- Yes, for example in init.properties (if it is possible) file:
message-archive/archive-auto = true/false
- Tricky, but probably possible. I don't know, but it could work like that:
tclmt.sh -u admin@example.com -p Pa$$w0rd add-user test@example.com testPassword *archive-enable*
and it checks if MA component is loaded. If yes, then create, if no - create user and display message, that MA comp is not loaded and archiving would not work.
I've noticed that for now there is option to disable archiving sending proper stanza to server. It would be great if admin could disable this possibility from init.properties.
-
Yes, but options 2 and 3 (adhoc command and management by vhost) require to added attributes or fields related only to Message Archiving project to Tigase Server project, which I think should not be done by hardcoding if-else in code, but I think it would require some API to register "additional features" for those mechanisms.
-
Good point. In some way, there is such an API, sort of. There is a field 'other' data in the VHost configuration record. Other is a text field which can store any information, so this could be a (key, value) pair, but to make it a useful feature some extra API should be added to operate on this 'other' fields so it could keep information for many components at the same time.
Type |
Consulting
|
Priority |
Normal
|
Assignee | |
RedmineID |
1489
|
Hi,
I suggest giving administrator option to create accounts with archiving mode enabled. I think it could be two options:
global on/off
checkbox/flag when creating user from PSI/CLI