Integer overflow in array index leading to unpredictable behavior.
Using correct integer signess and casting fix the problem and turn
negative value into 0. Expected fallback behavior then apply.
Make use of uint8_t since the hash array is a static array of 255 elements.
- fixed date picker
- fixed JavaScript error caused by French translation
- fixed until date definition when timezone of active user was different
from the system timezone
- fixes#2173, fixes#2175
Restored the previous behavior: only the personal addressbook is
returned and only the first source directory is returned (now sorted by
id so you can control which of your addressbook sources you want to
return).
This is related to #1955
Remove support for specifying the user:pass on the CLI
Add support for credential file: -p filename
Rewrite the core of the run function to use a switch case instead
of ... what was there.
Sprinkle so error messages along the way.
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