Commit Graph

9394 Commits

Author SHA1 Message Date
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
cd0244883d deb pkgs recommends 'memcached'. RPMs requires it
Fixes #2016
This means that memcached will always be installed along with sogo.
(Even if it could run on another machine/cluster like database services)
2013-01-03 15:53:58 -05:00
Francis Lachapelle
39632239f9 Fix partstat of attendee in his calendar
Fixes #2155
2013-01-03 10:15:25 -05:00
Jean Raby
1382fe25fc put back SOGo_VERSION
wasn't unused after all...
2012-12-22 11:24:18 -05:00
Jean Raby
126cd5fdfe Bump version to 2.0.3a 2012-12-21 14:30:12 -05:00
Jean Raby
ea26e0cc0a Use string version number where applicable
The goal is to be able to use 'letter' releases such as '2.0.3a'
in the Version file.
SoObjects/Mailer/GNUmakefile.preamble: UIX_MAILER_*_VERSION are now strings
  Can't use SOGoVersion since the etag uses an 'underscore' notation (2_0_3a)
SoObjects/Mailer/*.m: updated format for UIX_MAILER_*_VERSION
SoObjects/SOGo/GNUmakefile: zap SOGo_VERSION, unsused
SoObjects/SOGo/GNUmakefile.preamble: fix defines
UI/MainUI/SOGoRootPage.m: use SOGoVersion
2012-12-21 13:55:03 -05:00
Jean Raby
4971e8d05a Updated documentation regarding LDAP URLs support 2012-12-20 11:52:19 -05:00
Jean Raby
7d24ece7d6 Log ldap exception details + catch tls exceptions
Make sure to catch exceptions raised by _setupEncryption
Reindent due to NS_DURING
Log ldap exceptions details
2012-12-19 18:37:36 -05:00
Jean Raby
e253a7429c Fix whitespace - remove tabs 2012-12-19 18:02:32 -05:00
Francis Lachapelle
8db5e6d224 Fix usage of browser's language for the login page 2012-12-13 08:53:50 -05:00
Francis Lachapelle
0124191329 Update NEWS file 2012-12-12 13:45:51 -05:00
Jean Raby
d7d6a31837 use fileAttributesAtPath
attributesOfItemAtPath is not available in older GNUstep releases.
Broke build on squeeze and lucid.
2012-12-11 09:34:06 -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
Jean Raby
a0aef043a8 Don't abort if sogo.conf exists and is empty
This will permit patterns like:
  sogo-tool dump-defaults >/etc/sogo/sogo.conf

Without this, sogo-tool would abort as the shell first creates the file
then executes sogo-tool.
2012-12-10 14:05:11 -05:00
Jean Raby
b4822f6c4e Fix subject and character encoding
Add and Modification subject line were reversed
Added missing escapeHTML=NO
2012-12-07 17:57:19 -05:00
Ludovic Marcotte
4804337a01 Now pass the memory context when copying/moving folders. 2012-12-07 13:30:50 -05:00
Jean Raby
e2d2212524 Build the updateLink dynamically from SCRIPT_URI 2012-12-07 12:44:36 -05:00
Francis Lachapelle
01e42dce7c Webmail: fix reference of search field 2012-12-07 08:48:12 -05:00
Francis Lachapelle
e533eb91a9 Web: reset search when search field is empty 2012-12-07 08:47:32 -05:00
Francis Lachapelle
ed8c4a8f54 Update ChangeLog 2012-12-06 13:07:45 -05:00
Francis Lachapelle
99669f2d5c Fix dynamic CSS in IE8
When adding a calendar or subscribing to a calendar, the dynamic CSS was
not properly applied in IE8. This new technique seems to fix all cases.
2012-12-06 13:05:54 -05:00
Francis Lachapelle
128368f66c Fix search when accessing users folders 2012-12-06 13:03:10 -05:00
Francis Lachapelle
7c7989065c prototype.js: Fix handling of opacity in IE 2012-12-06 13:02:06 -05:00
Francis Lachapelle
f141312195 Update ChangeLog 2012-12-06 10:36:11 -05:00
Francis Lachapelle
2a5e0aeaa9 Disable autocompletion of reply-to address 2012-12-06 10:32:31 -05:00
Francis Lachapelle
026ffd8888 Update translations 2012-12-06 10:31:15 -05:00
Francis Lachapelle
4926855f48 Bump version to 2.0.3 2012-12-06 09:39:07 -05:00
Francis Lachapelle
881a725f12 Update NEWS file 2012-12-06 09:06:55 -05:00
Ludovic Marcotte
a7722755b7 Fixed length call. 2012-12-06 09:03:17 -05:00
Francis Lachapelle
5e7d2325bb Update documentation guides 2012-12-05 22:16:47 -05:00
Ludovic Marcotte
347434dbff We now fallback properly on the IMAP server if the Sieve server is undefined. 2012-12-05 15:52:50 -05:00
Ludovic Marcotte
ca1a3ac06b Fixed the ordering of the memory context. 2012-12-05 14:56:29 -05:00
Francis Lachapelle
8ca79d9a17 Search field for tasks
Fixes #2103
2012-12-05 14:47:28 -05:00
Ludovic Marcotte
3606601c39 Fix for bug #2130 2012-12-05 08:51:55 -05:00
Ludovic Marcotte
988e91a638 We also remove the RSVP in the user's calendar during a PUT. 2012-12-05 08:31:35 -05:00
Ludovic Marcotte
f6b5fdacb9 Remaining patches for bug #1866. 2012-12-03 16:49:20 -05:00
Ludovic Marcotte
aa7aa6a973 Initial patch from #1866 to fix c_sievehostname. 2012-12-03 16:42:56 -05:00
Ludovic Marcotte
d64fd65ea8 Lowercase some value to avoid broken comparaisons. 2012-12-03 16:33:14 -05:00
Ludovic Marcotte
ef7c69eda7 Now consider "utf8" crap as "utf-8", coming from bad mailers. 2012-12-03 14:56:11 -05:00
Ludovic Marcotte
2017536beb move_copy_messages now uses the openchange's memory context.
This fixes strange crashes when dealing with invitations and
other stuff. More work will need to be done in this regard. Also
kept the old code just in case for now. Will be cleaned up shortly
after more people test it.
2012-12-03 09:18:17 -05:00
Francis Lachapelle
5500f99312 Remove conditions on RSVP
Fixes #1850
2012-11-30 15:11:03 -05:00
Ludovic Marcotte
eed17fd95a Fix for bug #1850 and removed dead code/comments. 2012-11-30 13:57:55 -05:00
Ludovic Marcotte
0e02334fda Updated the doc in preparation for the release and to fix #2101. 2012-11-30 10:31:58 -05:00
Ludovic Marcotte
1993d60683 Merge branch 'master' of https://github.com/inverse-inc/sogo 2012-11-30 10:11:33 -05:00
Ludovic Marcotte
47a9a22bc0 Fix for bug #2082. 2012-11-30 10:11:05 -05:00
Francis Lachapelle
b1d3aba1e1 Add missing localizable strings in prefs module 2012-11-29 16:09:53 -05:00
Ludovic Marcotte
f0f206b8bb Merge branch 'master' of https://github.com/inverse-inc/sogo 2012-11-29 15:50:07 -05:00