Commit graph

135 commits

Author SHA1 Message Date
Ludovic Marcotte d047822eb5 (fix) handle FilterType changes using EAS (fixes #3543) 2016-03-28 08:46:22 -04:00
Enrique J. Hernández 2e1bfb25d5 Merge pull request #210 from zentyal/cperez/ldapsource-refactor
Unify user sources API
2015-12-03 17:15:20 +01:00
Jesús García Sáez 7d49674d9d Add domain to lookupContactEntry 2015-11-05 19:11:19 +01:00
Euan Thoms eda84c7b5d Stage1b (v2 branch) of clang compiler warning patches. 2015-11-06 01:29:26 +08:00
Euan Thoms 1425bb1c75 Stage 5 of clang compiler warning patches. 2015-11-04 08:41:49 -05:00
Francis Lachapelle 9fd8f3edef Add verbose output to "sogo-tool remove" command 2015-09-16 11:39:05 -04:00
Julio García 26bd1b30fa Revert "Merge pull request #164 from Zentyal/jgarcia/revert-merge-inverse"
This reverts commit 1404dbdb88, reversing
changes made to 72cbd9a45f.
2015-08-03 09:48:06 +02:00
Jesús García Sáez 3dc8cc78ea Revert merge from inverse
https://github.com/Zentyal/sogo/pull/150

Because the login on web with the use of outlook is broken after
including the DomainLessLogin feature
2015-07-28 12:37:33 +02: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