to specify the credential file, use: -p filename
The format of the file is:
username:password
Fixes: 1955
Also, add logging for some error conditions
The program still supports user:password on the cli
since this is run by cron and existing setups would break
sanitizedArguments are the arguments received on the CLI minus
those that are part of the NSArgumentDomain
For example:
sogo-tool user-preferences set sogo1 -p /tmp/creds Vacation -f /tmp/json
arguments would contain:
@"set", @"sogo1", @"-p", @"/tmp/creds", @"Vacation", @"-f", @"/tmp/json"
sanitizedArguments would contain :
@"set", @"sogo1", @"Vacation"
Fixes#2016
This means that memcached will always be installed along with sogo.
(Even if it could run on another machine/cluster like database services)
The goal is to be able to use 'letter' releases such as '2.0.3a'
in the Version file.
SoObjects/Mailer/GNUmakefile.preamble: UIX_MAILER_*_VERSION are now strings
Can't use SOGoVersion since the etag uses an 'underscore' notation (2_0_3a)
SoObjects/Mailer/*.m: updated format for UIX_MAILER_*_VERSION
SoObjects/SOGo/GNUmakefile: zap SOGo_VERSION, unsused
SoObjects/SOGo/GNUmakefile.preamble: fix defines
UI/MainUI/SOGoRootPage.m: use SOGoVersion
Add sogo-tool dump-defaults, a tool to convert an existing sogo configuration
in ~sogo/GNUstep/Defaults/.GNUstepDefaults to /etc/sogo/sogo.conf format.
The output will be in OpenStep property list format, which is much
easier to read and edit, at least for humans.
While there, sort the Tools list
This will permit patterns like:
sogo-tool dump-defaults >/etc/sogo/sogo.conf
Without this, sogo-tool would abort as the shell first creates the file
then executes sogo-tool.
This fixes strange crashes when dealing with invitations and
other stuff. More work will need to be done in this regard. Also
kept the old code just in case for now. Will be cleaned up shortly
after more people test it.