Francis Lachapelle
9fd8f3edef
Add verbose output to "sogo-tool remove" command
2015-09-16 11:39:05 -04:00
Julio García
8e047aaa9c
Merge remote-tracking branch 'upstream/master' into merge-upstream
...
Conflicts:
SoObjects/SOGo/SOGoUserManager.m
Tools/SOGoToolRestore.m
2015-06-26 09:41:58 +02:00
Ludovic Marcotte
5ad3662640
(fix) fixed multi-domain support for sogo-tool backup/restore ( #2600 )
2015-06-11 13:32:57 -04:00
Jesús García Sáez
d92b0341fb
sogo-tool restore works in multidomain environments
...
c_uid is not unique globally when multidomain is enabled
2015-06-02 13:17:43 +02:00
Javier Amor García
5e84f2817f
sogo-tool: Added create-folder command
2015-06-02 13:17:35 +02:00
Julio García
ca7c4c026e
Merge pull request #119 from Zentyal/jjgarcia/merge-from-upstream
...
Merge from upstream version 2.2.17a
2015-04-15 16:05:37 +02:00
Jesús García Sáez
1d6f1a83af
use full login for sogo_cache_folder tables
...
So when multidomain is enabled we will have tables like
sogo_cache_folder_user_A_domain_D_com instead of just
sogo_cache_folder_user
If multidomain is disabled the folders will still be like
sogo_cache_folder_user
2015-04-14 13:18:23 +02:00
Francis Lachapelle
c20ca0e33d
Fix exception in set operation of sogo-tool
2015-02-12 09:29:40 -05:00
Ludovic Marcotte
e5d01428ad
now possible for SOGo to change the sambaNTPassword/sambaLMPassword
2015-02-11 11:31:35 -05:00
Ludovic Marcotte
68655deabd
Improved rpath handling ( #2996 )
2014-12-16 12:36:08 -05:00
Ludovic Marcotte
0f2798f017
Lucid fixes for EAS
2014-12-16 10:46:05 -05:00
Ludovic Marcotte
9cb1f8097c
Fix sogo-tool when cleaning up devices
2014-12-15 19:23:04 -05:00
Ludovic Marcotte
64637d842b
Prevent compilation failures with old gcc versions
2014-12-09 07:21:34 -05:00
Ludovic Marcotte
12788c847d
New sogo-tool feature to manage EAS data
2014-12-08 10:45:34 -05:00
Ludovic Marcotte
3416bfea94
Adjusted rpath and removed unusued -L directives
2014-10-14 10:00:05 -04:00
Jeroen Dekkers
6ded9e95b3
Put private libraries in /usr/lib/sogo
2014-10-01 20:36:42 +02:00
Ludovic Marcotte
12a4fd05a2
Support for repetitive alarms and tasks
2014-09-12 08:34:15 -04:00
Francis Lachapelle
b2b77c65d3
Fix folders paths of "sogo-tool restore -l"
2014-08-26 09:00:13 -04:00
Ludovic Marcotte
cde1db9324
Refactored GCSFolder: -writeContent and fixed sogo-tool restore
2014-08-01 09:40:45 -04:00
Ludovic Marcotte
b05fcc7d82
Fat commit to refactor the quick record generation
2014-07-30 14:51:00 -04:00
Francis Lachapelle
1aabcf04b5
Fix sogo-tool operations on Sieve script
...
Fixes #2617
2014-03-03 22:07:24 -05:00
Jean Raby
fdea04c08c
Added some verbose logging for expire-autoreply
2013-10-15 10:49:21 -04:00
Jean Raby
e6ab0a590a
Support using SMTP AUTH creds for email alarms
...
Credentials must be supplied using '-p /path/to/credsFile'.
The credentials file should contain a single line with the format 'user:pass'
While there, add a usage message
2013-08-27 13:12:03 -04:00
Jean Raby
be531100c6
Use SOGoCredentialsFile to avoid duplicated code
2013-08-27 13:04:08 -04:00
Jean Raby
61e59b864e
Bump copyright
2013-08-27 08:33:50 -04:00
Jean Raby
4952ff7914
Use SOGoSystemDefaults in all tools
...
sogo-ealarms-notify and sogo-slapd-sockd will now be able to use sogo.conf
Fixes #2226
2013-02-08 16:22:14 -05:00
Jean Raby
225a28258f
Read credential files using dataWithContentsOfFile
...
Again, to cope with older gnusteps which don't have
stringWithContentsOfFile:encoding:error:
2013-01-31 16:44:14 -05:00
Jean Raby
e01b190e57
Fixup handling NSArgumentDomain arguments
...
would fix #2216
2013-01-31 15:42:48 -05:00
Jean Raby
ea13fd14c9
Use older NSPropertyListSerialization methods
...
dataWithPropertyList and propertyListWithData didn't exist in gnustep 1.20
which is shipped with debian-squeeze.
2013-01-29 10:31:16 -05:00
Jean Raby
9897d003be
remove leftover foreach loop
...
these are not supported by earlier versions of gnustep
While there, fixed var definitions
2013-01-16 15:10:21 -05:00
Jean Raby
8fc53ea1d7
sanitizedArguments fixes
...
Various style fixes
Don't use the foreach loop as it might break on old gcc/objc runtimes
Release sanitizedArguments in dealloc
2013-01-14 16:58:19 -05:00
Jean Raby
55ccd0e83f
expire-autoreply: style fixes
2013-01-14 16:57:17 -05:00
Jean Raby
ea904f2e05
user-preferences: rewrite + support for creds file
...
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.
2013-01-07 15:07:17 -05:00
Jean Raby
a75c797553
expire-autoreply: read sieve creds from a file
...
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
2013-01-07 15:01:06 -05:00
Jean Raby
6f8d8394df
add sanitizedArguments to SOGoTool
...
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"
2013-01-07 14:54:11 -05:00
Jean Raby
b838734756
reindent
...
kill those tabs!
2013-01-03 21:58:00 -05:00
Jean Raby
bdc5ce7cd9
Add sogo-tool dump-defaults
...
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
2012-12-10 14:10:56 -05:00
Francis Lachapelle
14630ce222
Improve memory usage of "sogo-tool restore"
...
Used an autorelease pool.
2012-11-27 15:53:39 -05:00
Jean Raby
378eef4082
Use GCSSpecialQueries in sogo-tool rename-user
...
Fixes #1924
The SQL syntax used by the former query would only work
with postgresql and Oracle.
2012-11-13 17:20:18 -05:00
Wolfgang Sourdeau
1f80387fc8
simplified and fixed the overriding of "SOGoLDAPQueryLimit" and "SOGoLDAPQueryTimeout"
2012-10-23 13:42:02 -04:00
Wolfgang Sourdeau
54baffcd56
Added the ability to read the SOGo configuration from a property list file in /etc/SOGo/.
2012-10-23 11:33:47 -04:00
Wolfgang Sourdeau
6d8c328910
Fixed most build warnings
2012-10-22 10:09:13 -04:00
Jeroen Dekkers
0482c1db33
Read configuration from /etc/sogo/sogo.conf
2012-10-19 16:07:45 +02:00
Wolfgang Sourdeau
cb61753cc4
Fixed the display of the restorable folder ids
2012-10-18 11:04:50 -04:00
Wolfgang Sourdeau
5a76790418
Added support for SMTP PLAIN authentication
2012-10-16 16:56:48 -04:00
Jean Raby
0d713efdd6
* Tools/SOGoToolExpireUserSessions.m:
...
remove reference toSOGoSessionExpireMinutes. It never existed.
Monotone-Parent: f0fb54908898753faba576cb702431e4a761d814
Monotone-Revision: 801c13ca7d8e3a2f3e502ee658399b458681bcab
Monotone-Author: jraby@inverse.ca
Monotone-Date: 2012-07-09T18:22:45
2012-07-09 18:22:45 +00:00
Jean Raby
a6a00d8753
* Tools/SOGoToolUserPreferences.m:
...
use printf() instead of NSLog to print out user preferences.
Makes it easier to grep.
Monotone-Parent: 3896b9b187dfad2b01d68527f0411bd1a7cfe7b4
Monotone-Revision: f0fb54908898753faba576cb702431e4a761d814
Monotone-Author: jraby@inverse.ca
Monotone-Date: 2012-07-09T18:16:49
2012-07-09 18:16:49 +00:00
Jean Raby
86b689d7e8
* Tools/SOGoToolExpireUserSessions.m:
...
semi-colon are useless in sql queries and probably breaks on oracle
Monotone-Parent: e699f14b51f9de020728f6ca36fdcc283587d057
Monotone-Revision: aadc4759a64f724760d38bbdfd92715182856439
Monotone-Author: jraby@inverse.ca
Monotone-Date: 2012-06-21T15:51:53
2012-06-21 15:51:53 +00:00
Francis Lachapelle
ca1cc2f9ce
Monotone-Parent: 393858d938760bb6fe3226479e3a3284e67c4036
...
Monotone-Revision: 7d73b5aa41ac3ab867578f6cb0b5e1b5a839b2b8
Monotone-Author: flachapelle@inverse.ca
Monotone-Date: 2012-05-03T14:07:55
2012-05-03 14:07:55 +00:00
Ludovic Marcotte
c774314b1b
See ChangeLog
...
Monotone-Parent: cd39fe0df424d1e5afd5dcfa4b1c94ad707fed24
Monotone-Revision: fc9e1cf3f4988bae25443b6d072add3f344d30f0
Monotone-Author: ludovic@Sophos.ca
Monotone-Date: 2012-04-24T11:47:32
2012-04-24 11:47:32 +00:00