Commit Graph

9528 Commits (f1846191d5d47717e7c5dff710e265e21c8f0fe2)

Author SHA1 Message Date
Jean Raby f1846191d5 Use an autorelease pool in member expansion
Otherwise, we would hold one ldap connection for each member of a group.
And close them all later. With large groups, we could hit the open file limit
(or the open file limit of the ldap server).

Fixes #2256
2013-03-01 16:24:16 -05:00
Jean Raby a7c3f33447 Whitespace 2013-03-01 01:26:15 -05:00
Ludovic Marcotte a8d67edb44 Merge branch 'master' of https://github.com/inverse-inc/sogo 2013-02-20 12:11:17 -05:00
Ludovic Marcotte 89766b2e7e Temporary fix for unsigned long long values. 2013-02-20 12:10:34 -05:00
Jean Raby 7d65d808f6 Strip newline characters from user password files
Makes it easier to create those files with a regular editor.
2013-02-20 10:50:58 -05:00
Ludovic Marcotte fa5e99d58d Much better fix over previous commit. 2013-02-19 15:54:52 -05:00
Ludovic Marcotte 67c2d508ea Added rationale around previous commit. 2013-02-19 15:42:05 -05:00
Ludovic Marcotte 19923d10db Also handle date-strings as date objects.
Dates are stored as string in BSON - might change in the future.
2013-02-19 15:30:29 -05:00
Ludovic Marcotte e57b6835e6 Fix for objective-c runtimes. 2013-02-18 16:50:54 -05:00
Ludovic Marcotte bcab7e7dc9 C99 style fixes. 2013-02-18 16:42:59 -05:00
Ludovic Marcotte 2572eedd89 Added BSON encoder/decoder for Outlook cache files. 2013-02-18 16:28:06 -05:00
Francis Lachapelle efb45bfba6 Fix issue with exceptions in repeating events
Fixed the display of an exception when its recurrence id is outside the
current view.
2013-02-15 15:17:08 -05:00
Ludovic Marcotte 4f38b5cf3f Alse use hex-formatted keys for deleted mails. 2013-02-14 15:59:19 -05:00
Ludovic Marcotte 71b9772546 Ensure we hit the cache with hex-formatted keys. 2013-02-14 15:22:48 -05:00
Francis Lachapelle c13c389ae5 Update Danish translation 2013-02-12 08:42:47 -05:00
Jean Raby caf6f0ec6c Add example apache configuration for apple AB 2013-02-11 10:41:50 -05: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
Francis Lachapelle 8981dcd645 Fix segfault in SOGoSieveManager.m 2013-02-08 09:42:31 -05:00
Jean Raby 470a53a548 Add example configuration for fail2ban
From Arnd Brandes. (#2229)
2013-02-07 13:00:27 -05:00
Francis Lachapelle 7b65b7400e Update Finnish translation 2013-02-07 09:00:16 -05:00
Francis Lachapelle 90c61abdb6 Update Polish translation 2013-02-06 15:16:09 -05:00
Jean Raby f8387b90ff Log x-webobjects-remote-host in login process
Most of the time, the remote-host will contain data from the x-forwarded-for header.
Which could have more than one ip in it if the request went through multiple proxies.
eg. x-forwarded-for: real.client.ip, load.balancer.ip
2013-02-06 09:23:47 -05:00
Francis Lachapelle feb02c54b9 Add missing localizable string 2013-02-05 16:13:18 -05:00
Ludovic Marcotte 49a2299414 Avoid going out of bounds for special URL chars ending mail contents. 2013-02-05 16:11:37 -05:00
Jean Raby 43044bf88f Plug sieve connection leak
Fixes #2228
Fix from 'bofhus'
2013-02-05 15:09:55 -05:00
Jean Raby 0532d331a3 whitespace (tabkill) 2013-02-05 15:09:20 -05:00
Jean Raby 70fc05091f Remove x-webobjects-remote-host from apache conf
SOPE now handles this on its own by setting x-webobjects-remote-host
to the content of the x-forward or x-forwarded-for headers if it wasn't defined
2013-02-05 14:27:16 -05:00
Jean Raby 469e5c647e Updated NEWS 2013-02-05 11:52:26 -05:00
Jean Raby 4bfb43a4ad Merge 'tests/authcache' - don't use cache on login 2013-02-05 11:40:47 -05:00
Francis Lachapelle 3daa7e55b7 Update ChangeLog 2013-02-04 14:24:03 -05:00
Francis Lachapelle 6913502810 Bump version to 2.0.4b 2013-02-04 14:22:37 -05:00
Jean Raby 24971070f6 Updated NEWS 2013-02-04 14:03:28 -05:00
Jean Raby 3d90e3a539 Bump userkey length from 64 to 160 bytes
Allows for much longer username@domain:password strings.
Fixes #2212

To bump it further, the database schema will have to be updated
to allow a longer c_value (currently 255 chars)
2013-02-04 13:55:53 -05:00
Francis Lachapelle b5fdaa78cd Add missing strings to mail module
The two columns names of the contacts pane were missing. They have
been copied from the contact module.
2013-02-04 08:58:37 -05:00
Francis Lachapelle f94adb5473 Update NEWS file 2013-02-03 20:42:20 -05:00
Francis Lachapelle e34ba5689c Fix saving prefs with disabled mail module 2013-02-03 20:40:06 -05:00
Jean Raby 7b5da8a2c9 don't use cache for login page 2013-02-01 19:58:25 -05:00
Jean Raby 451c82c815 Don't use user/password cache from the login page
The idea is to always use memcached for credentials to avoid hitting
the authentication backend on every click but to check with the auth backend
for every login requests.

This should fix #2169

While there, fix whitespace (killtab)
2013-02-01 18:35:10 -05:00
Jean Raby 488a76c5e3 Merge branch 'test/userdefaults' 2013-02-01 16:31:56 -05:00
Jean Raby a4bd966cc0 Revisit option handling
Really fix #2166
The previous fix (46b53b3) was wrong since SOPE was able to override
the 'final' config with its defaults.

This now uses a new approach using a volatile domain and a reordering
of the search list :
  *   NSArgumentDomain (command line arguments)
  *   sogodRuntimeDomain (config from all config files)
  *   GSPrimaryDomain
  *   NSGlobalDomain
  *   GSConfigDomain
  *   (languages)
  *   NSRegistrationDomain (SOPE loads its defaults in this one)
2013-02-01 16:26:01 -05:00
Francis Lachapelle ecc36c9025 Fix classification menu in component editor 2013-02-01 14:47:37 -05:00
Francis Lachapelle 716daf027d Fix link to ACL editor for any authenticated user 2013-02-01 14:46:05 -05:00
Jean Raby 0b7c32510b news file update for 2.0.4b 2013-02-01 10:40:59 -05:00
jraby 547dfa0d90 Merge pull request #9 from inverse-inc/fix/2066_options-precedence
Fix/2066 options precedence
2013-01-31 18:42:09 -08: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
Francis Lachapelle cd7d410262 Fix tooltips in contacts list 2013-01-31 13:55:57 -05:00
Francis Lachapelle 4bcf90c693 Fix "Send Anyway" string wrt localizable strings 2013-01-31 09:44:29 -05:00
Francis Lachapelle 0408415c61 Remove control characters before returning JSON 2013-01-30 15:47:20 -05:00
Francis Lachapelle 3ea94940c2 Update ChangeLog 2013-01-30 08:52:32 -05:00