Commit Graph

133 Commits (ff711e60b2b71e3f33e150fdff1d2d0de6cbc3ee)

Author SHA1 Message Date
Ludovic Marcotte f6f5613be5 (fix) handle FilterType changes using EAS (fixes #3543) 2016-03-28 08:43:56 -04:00
Patrice Levesque bd56f4cf9f Remove pointless #include from .m and .h files
This was done with a brute-force approach, ensuring no additional
warnings from GCC 4.9 under x86_64.
2016-02-13 17:41:54 -05:00
Patrice Levesque 7c25b53fdf Remove pointless #imports from .m and .h files
This was done with a brute-force approach, ensuring no additional
warnings from GCC 4.9 under x86_64.
2016-02-13 16:11:52 -05:00
Ludovic Marcotte ae6ed0c055 (feat) applied all changes as a patch coming from PR #180 2015-12-30 09:22:08 -05:00
extrafu cc1555af22 Merge pull request #108 from ethoms/clang-warnings-stage1
Stage1 of clang compiler warning patches.
2015-11-04 13:40:09 -05:00
Euan Thoms 36c1ba88a5 Stage 5 of clang compiler warning patches. 2015-11-04 05:28:03 +08:00
Euan Thoms 3c62cc744e Stage 1 of clang compiler warning patches. 2015-10-31 14:10:03 +08:00
Francis Lachapelle 11d9765a69 Add verbose output to "sogo-tool remove" command 2015-09-16 11:40:14 -04:00
Ludovic Marcotte 8650492989 Applied PR90 as a patch due to too-many merge conflicts when cherry-picking 2015-07-22 09:05:17 -04:00
Ludovic Marcotte 5ad3662640 (fix) fixed multi-domain support for sogo-tool backup/restore (#2600) 2015-06-11 13:32:57 -04: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