Commit Graph

119 Commits (d907d5d268b470c7f461cb0b7951b894e4b77772)

Author SHA1 Message Date
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
Jean Raby e034585c2b * Added a new tool: 'sogo-tool expire-sessions'
Along with the associated new cronjob, this allows
         user sessions expiration without a custom script.

       * While there, sort tools in sogo-tool output

Monotone-Parent: 73baf2c24acbb1fb98296fc8ab448b3b3c5ba7a7
Monotone-Revision: 858274c7be3ad2a6383c2f85c8ad10907bb43292

Monotone-Author: jraby@inverse.ca
Monotone-Date: 2012-04-04T20:14:52
2012-04-04 20:14:52 +00:00
Francis Lachapelle b906cf066a See ChangeLog.
Monotone-Parent: 0d7d8533911c3bec7d5b51cc919acb5aa7e15e7d
Monotone-Revision: 73baf2c24acbb1fb98296fc8ab448b3b3c5ba7a7

Monotone-Author: flachapelle@inverse.ca
Monotone-Date: 2012-03-30T21:21:51
2012-03-30 21:21:51 +00:00
Francis Lachapelle 034ecc695a See ChangeLog.
Monotone-Parent: 5a2446cca5cd90dd3efdec2eec1633c328178659
Monotone-Revision: 644609670a541ff95dd659a542db9e57b547301f

Monotone-Author: flachapelle@inverse.ca
Monotone-Date: 2012-03-23T13:06:08
2012-03-23 13:06:08 +00:00
Francis Lachapelle 7815b3403c See ChangeLog.
Monotone-Parent: d4394b4b92fdfda720d67698c9fbadc75787ad18
Monotone-Revision: e8c7d8a4465a1b9357c1d9f201dec2b93c5f3507

Monotone-Author: flachapelle@inverse.ca
Monotone-Date: 2012-02-11T07:08:02
Monotone-Branch: ca.inverse.sogo
2012-02-11 07:08:02 +00:00
Francis Lachapelle 353757f88e remove stray backslash. Allows to build sogo-slapd-sockd again
Monotone-Parent: f70b5b1e5f982c1feda21a5227e3bc26f8dc7f66
Monotone-Revision: c82bd90e75ed49d6ff6bdcbb89b1abd0e37397fe

Monotone-Author: flachapelle@inverse.ca
Monotone-Author: jraby@inverse.ca
Monotone-Date: 2012-01-05T19:45:25
Monotone-Date: 2012-01-05T20:01:44
Monotone-Branch: ca.inverse.sogo
Monotone-Branch: ca.inverse.sogo
2012-01-05 19:45:25 +00:00
Wolfgang Sourdeau 4ba4c622bc Monotone-Parent: 995b68ade85d0d884cdf8f6fc87e55f0c376a80c
Monotone-Revision: 61fe02b6c3bc4f0aa3797d661d014d8c256b0de9

Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2011-12-30T20:39:07
Monotone-Branch: ca.inverse.sogo
2011-12-30 20:39:07 +00:00
Wolfgang Sourdeau 094e5899bc Monotone-Parent: ed89880eae2839f1f4714817c94287a44216b46f
Monotone-Revision: e9388e969d7f55642fe7910f621ef54be2512a3a

Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2011-12-30T19:32:02
Monotone-Branch: ca.inverse.sogo
2011-12-30 19:32:02 +00:00
Francis Lachapelle 1f38df80e1 See ChangeLog.
Monotone-Parent: e4a697198e9d44e460b6a4c27b94149145803430
Monotone-Revision: 1f603d18ef908652156b3dbae521f53c6527c63c

Monotone-Author: flachapelle@inverse.ca
Monotone-Date: 2011-12-23T16:10:38
2011-12-23 16:10:38 +00:00
Francis Lachapelle 5564a8a84b See ChangeLog.
Monotone-Parent: 1f900dd9f1637dad2237767e5a65271c06b27df0
Monotone-Revision: 9460deffbf939afae0a607ea07e015924c93fd01

Monotone-Author: flachapelle@inverse.ca
Monotone-Date: 2011-12-12T16:39:56
2011-12-12 16:39:56 +00:00