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
Francis Lachapelle
701187aef2
Updated NEWS file.
...
Monotone-Parent: 9349907ea60fdc16f7e49e777a53ccaa1117180d
Monotone-Revision: 95314ab7581495c05fc3d577e9be1094af542af0
Monotone-Author: flachapelle@inverse.ca
Monotone-Date: 2011-11-21T14:21:09
2011-11-21 14:21:09 +00:00
Francis Lachapelle
413bb609dd
See ChangeLog.
...
Monotone-Parent: 82564e2898976a6c09a85817e4b2954a5c58b7a9
Monotone-Revision: 9349907ea60fdc16f7e49e777a53ccaa1117180d
Monotone-Author: flachapelle@inverse.ca
Monotone-Date: 2011-11-21T14:09:26
2011-11-21 14:09:26 +00:00
Francis Lachapelle
63e0b0e116
applied changes from 59d4ff7e6c2fe24e74adbe4891af30ece4f5e858
...
through c05e0091913ed81140571dab045abdaf56a77ef8
Monotone-Parent: 850fd7677033b28a7218a010f55b437ebd12f665
Monotone-Revision: eb1f58bb7bd3454ffc857750264fae0b27b86d32
Monotone-Author: flachapelle@inverse.ca
Monotone-Date: 2011-11-14T16:07:04
2011-11-14 16:07:04 +00:00
Francis Lachapelle
6051e5975d
Reverse localization patch.
...
Monotone-Parent: be2427fa7e45da8ba2b4c7955b6e904c06640586
Monotone-Revision: b084746023f24f274a1e8a852e8a36bb19bb35ce
Monotone-Author: flachapelle@inverse.ca
Monotone-Date: 2011-11-03T11:54:03
2011-11-03 11:54:03 +00:00
Francis Lachapelle
90b5a2bf5e
Branch for SOGo v1.3.10
...
Monotone-Parent: 1e8c7259f7ef4e643e8c4d7691e6d7b69faa65c3
Monotone-Revision: 01554e46f2d289111d615a3006a1b61ad6f76320
Monotone-Author: flachapelle@inverse.ca
Monotone-Date: 2011-11-01T18:46:51
2011-11-01 18:46:51 +00:00
Francis Lachapelle
ba74b80963
See ChangeLog.
...
Monotone-Parent: 857772ec1aaf974c6de49756782191a9e65a3ee0
Monotone-Revision: dbc2fb47336e631355604e1c4273613997a2bb90
Monotone-Author: flachapelle@inverse.ca
Monotone-Date: 2011-10-13T01:27:57
Monotone-Branch: ca.inverse.sogo
2011-10-13 01:27:57 +00:00
Wolfgang Sourdeau
0a6209300c
Monotone-Parent: cf0bf1453ddf93b100f4c44465b8b4ede251cf8e
...
Monotone-Revision: c52ae4fd9b519a5566870dacce59fc91211a2b58
Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2011-07-13T18:55:16
Monotone-Branch: ca.inverse.sogo
2011-07-13 18:55:16 +00:00