Commit graph

1538 commits

Author SHA1 Message Date
Francis Lachapelle cbba0719bb Fix exception in SOGoUserManager 2015-03-04 10:05:12 -05:00
Francis Lachapelle 8e0849029e Fix contacts lookup by UID
When looking for a specific contact UID, we no longer match a pattern
that could return multiple results. We search for the exact UID only.
2015-03-03 21:26:09 -05:00
Francis Lachapelle 6192322513 Fix some gcc warnings 2015-03-03 21:23:19 -05:00
Jesús García Sáez 22196e0054 Fix change password with DomainBasedUID
When users use full domain to login (SOGoEnableDomainBasedUID) the
user attributes in the cache were not being properly updated because
in this case the key is `uid@domain` instead of just `uid`.
2015-02-25 12:42:03 +01:00
Jesús García Sáez 8d21bc3e36 Fix change password with DomainBasedUID
When users use full domain to login (SOGoEnableDomainBasedUID) the
user attributes in the cache were not being properly updated because
in this case the key is `uid@domain` instead of just `uid`.
2015-02-25 12:39:01 +01:00
Ludovic Marcotte 322f72626a now possible to limit automatic forwards to internal/external domains 2015-02-11 14:30: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 6c9b1a494f Fix for bug #2332 2015-02-09 16:12:59 -05:00
Julio García 12b159a6c0 Merge branch 'master-upstream' into jjgarcia/merge-from-upstream 2015-02-02 12:53:49 +01:00
Ludovic Marcotte 723a9d4e08 Reverted bug fix from #3054 and added comment 2015-01-29 16:21:06 -05:00
Enrique J. Hernández Blasco 57d591c427 oc: Set right container in dbFolder when moving a folder
The path attribute from SOGoCacheGCSFolder is properly updated
in the database but not when returning from path message as
the container is the old one.
2015-01-28 11:26:56 +01:00
Ludovic Marcotte ab12c84887 More NSLog usage cleanups 2015-01-23 15:32:22 -05:00
Ludovic Marcotte 6b52e9c945 Fix for bug #2960 2015-01-09 09:04:15 -05:00
Ludovic Marcotte 24c6c8c91d Fix for bug #3054 2015-01-06 10:59:56 -05:00
Ludovic Marcotte b1ac7a0cca MultipleBookingsFieldName can be set to -1 2015-01-05 13:49:28 -05:00
Ludovic Marcotte 31cffdffd3 Fix freebusy info not always returned 2014-12-23 10:24:16 -05:00
Ludovic Marcotte 255bcbe92f Fixed memory leaks in SOGoSyncCacheObject and correctly kill the cache upon each EAS iteration 2014-12-22 19:59:33 -05:00
Ludovic Marcotte 72732879fa Added memory statistics - set SOGoDebugLeaks = YES and call [[self class] memoryStatistics] 2014-12-22 19:32:17 -05:00
Ludovic Marcotte 58f634bffe Cosmetic improvements to the code 2014-12-22 15:26:22 -05:00
Ludovic Marcotte ca4a754f2c Use the right cutoff date 2014-12-22 12:39:58 -05:00
Ludovic Marcotte 8015688df3 Added SOGoMaximumSyncResponseSize to support memory-limited EAS syncs 2014-12-22 11:50:51 -05:00
Chris Rosenhain 0e56527e05 Change ACL modification text to non-gender specific terms 2014-12-19 11:04:05 +10:30
Ludovic Marcotte 9dd0d6c427 Draft autossave feature 2014-12-11 13:31:32 -05:00
Ludovic Marcotte 3f3673cf5a Added SOGoSAML2LogoutURL 2014-12-04 17:59:17 -05:00
Ludovic Marcotte fe9ad9c6e9 Radically reduced EAS memory usage 2014-12-04 11:27:10 -05:00
extrafu 47094b6d91 Update SOGoSAML2Metadata.xml
Fixed XML template generation.
2014-12-02 19:33:54 -05:00
Ludovic Marcotte 1b715e0812 We now handle correctly the SOGo logout when using SAML (#2376 and #2379) 2014-11-27 11:37:08 -05:00
Ludovic Marcotte be608dc76c Bug fixes for #2378 and #2377 and documentation improvements 2014-11-26 15:09:30 -05:00
Ludovic Marcotte 913a75f410 Fix for bug # 2014-11-26 13:00:47 -05:00
Ludovic Marcotte 20e728afac Remove unnecessary comments 2014-11-25 17:28:12 -05:00
Ludovic Marcotte 5f14bc1101 Report the correct preference keys 2014-11-25 17:27:03 -05:00
Jesús García Sáez c4b0ac209b NSString:objectFromJSONString now can parse single values
Like null => [NSNull null]
2014-11-19 17:12:32 +01:00
Ludovic Marcotte 3872341a85 Added required patch for previous commit 2014-11-14 10:34:36 -05:00
Ludovic Marcotte d25fe1a58b Dramatically improved BSON deserialization speed by avoiding tz name lookups 2014-11-12 14:57:54 -05:00
Ludovic Marcotte b5023eeb24 Fix for bug #2940 2014-10-29 14:56:03 -04:00
Ludovic Marcotte da962aed01 Added support for multiple calendars/addressbooks over ActiveSync 2014-10-29 14:20:03 -04:00
Francis Lachapelle 27ac9e3904 Cleanup of unused parameters 2014-10-09 15:51:30 -04:00
Francis Lachapelle 6cc8f17c86 Fix display name of subscribed folders 2014-10-09 15:10:20 -04:00
Jeroen Dekkers 6ded9e95b3 Put private libraries in /usr/lib/sogo 2014-10-01 20:36:42 +02:00
Ludovic Marcotte 95b122c912 Simplified even more -safeString 2014-09-29 15:04:40 -04:00
Ludovic Marcotte aa0499dbac Fixed sanitization char skipping and #2936 2014-09-29 14:28:13 -04:00
Ludovic Marcotte 3675220756 Refactored code to be more rigorous Unicode-wise. 2014-09-24 14:14:25 -04:00
Ludovic Marcotte d572f2af02 get rid of control chars before returning the response 2014-09-19 14:34:20 -04:00
Ludovic Marcotte 8ba031d6ec Consider 0x0C as "unsafe" 2014-09-15 19:54:07 -04:00
Ludovic Marcotte c5c2bfb7a6 Fixed iCal detection for 10.9 (and perhaps even 10.8) 2014-09-15 14:10:05 -04:00
extrafu 0e21904c03 Merge pull request #10 from dekkers/link-libsogo-with-libdl
Link libSOGo with libdl on systems with glibc
2014-09-11 21:01:30 -04:00
extrafu 496fa73d36 Merge pull request #26 from Skrupellos/master
ModulesConstraints tests all values of a multi-valued attributes
2014-09-11 16:09:06 -04:00
Alexandre Cloutier 1fb3198dbc applied comments 2014-09-09 14:27:05 -04:00
Alexandre Cloutier d62c504763 Changed the configurable variable SOGoMailMessageCheck to a general refresh associated to the current view 2014-09-09 14:27:05 -04:00
Francis Lachapelle e4a84d4920 Fix usage of SOGoSubscriptionFolderFormat default 2014-08-25 12:15:05 -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
Ludovic Marcotte f6ef94a631 improved handling of SOGoSubscriptionFolderFormat 2014-07-24 12:48:03 -04:00
Ludovic Marcotte 006727a74b Properly destroy cache objects of vanished folders 2014-07-24 08:39:41 -04:00
Alexandre Cloutier 302e40a1c3 bugFix#2823 2014-06-26 16:08:47 -04:00
Ludovic Marcotte 3523dc489f Fix for bug #2825 2014-06-23 12:19:02 -04:00
Ludovic Marcotte 50c0b49a6f Fix for bug #2813 2014-06-16 11:00:39 -04:00
Ludovic Marcotte d35c52bb38 Fix for bug #2688 2014-05-27 14:44:57 -04:00
Ludovic Marcotte c31429a5d5 Also include the BS character in non-safe ones. 2014-05-27 08:45:00 -04:00
Alexandre Cloutier dd57d56cf9 remove crufts and applies comments 2014-05-23 10:15:21 -04:00
Alexandre Cloutier 064565e1a9 Added new SOGo configurable variable for which you can change the default display when adding a shared calendar or a shared addressBook 2014-05-20 17:05:13 -04:00
Ludovic Marcotte c426afd7f2 New cache subsystem for ActiveSync. 2014-05-15 15:03:24 -04:00
Ludovic Marcotte 93bf98c326 Fixed copyright 2014-05-15 14:45:32 -04:00
Ludovic Marcotte c8860dc92b Dropped old user-settings for ActiveSync 2014-05-15 14:32:46 -04:00
Ludovic Marcotte d2d5467317 Removed unused fluff in the file. 2014-05-14 10:51:16 -04:00
Ludovic Marcotte 18443de9bf Updated copyright info 2014-05-14 09:58:05 -04:00
Ludovic Marcotte be72456a9a Renamed folder cache creation method 2014-05-14 09:56:10 -04:00
Ludovic Marcotte 5f9fb4e1c4 Big refactor for new caching mechanism. 2014-05-13 21:06:59 -04:00
Ludovic Marcotte ef2188962a Renamed cache files for generalization.
The upcoming commit will rename the content.
2014-05-13 19:58:19 -04:00
Ludovic Marcotte 7d7961ffcf Fix for bug #2492 2014-05-02 13:35:21 -04:00
Francis Lachapelle 4e42a6a689 Don't limit Sieve script to 8KB
Fixes #2745
2014-04-30 12:36:51 -04:00
Ludovic Marcotte 0d1c39ca71 Added new configuration parameter to limit the window size 2014-04-09 20:12:19 -04:00
Alexandre Cloutier 068eb921aa rebase and fix comments made by extrafu 2014-04-09 10:48:47 -04:00
Ludovic Marcotte 3e221253ad Fix for feature #1496 2014-04-08 11:19:53 -04:00
extrafu bf64076b87 Merge pull request #29 from alexcloutier/feat/1496
New feature : 1496

Don't forget to fix the typo.
2014-04-07 19:42:31 -04:00
Alexandre Cloutier 09bcd2aee2 fix code 2014-04-07 10:59:38 -04:00
Jeroen Dekkers c80e222210 Delete generated source files when running "make clean". 2014-04-06 22:44:50 +02:00
extrafu eb7cabac71 Merge pull request #19 from alexcloutier/fix/2622
BugFix #0002622: The server Dovecot use by default an UTF-8 and by doing...
2014-04-04 09:21:49 -04:00
Alexandre Cloutier 1da1764aae The collected address book will be created only if the user select it in the preferences. Fix labels. 2014-03-27 15:27:48 -04:00
Alexandre Cloutier bce701208a Added the modifications specified by extrafu 2014-03-25 14:53:42 -04:00
Alexandre Cloutier 76307cfaaf New feature : 1496; Unknown outgoing email addresses can now be automatically be added to your address books. 2014-03-24 13:41:57 -04:00
Skruppy 1c3f1af662 ModulesConstraints tests all values of a multi-valued attributes 2014-03-15 15:10:26 +01:00
Alexandre Cloutier f8939bfb3e Change the variable name for sieveFolderEncoding instead of folderEncoding 2014-03-10 10:07:47 -04:00
Ludovic Marcotte 78636f0396 Added default value for WOListenQueueSize 2014-03-09 15:58:11 -04:00
Francis Lachapelle 6cecca6c4f Fix CSS id for string prefixed with a digit
When encoding a string as a CSS identifier, we must add an underscore if
the strings starts with a digit.
2014-03-06 21:32:36 -05:00
Alexandre Cloutier e7a16cba0d BugFix #0002622: The server Dovecot use by default an UTF-8 and by doing so it cause a wrong re-encoding in UTF-7 when reaching the sieve server (knowing that the foldername in sieve are encoded in UTF-7). Since it is not the case with a Cyrus server, I created a new variable available in the sogo.conf that let you specified the type of encoding you need. By default the encoding is set to UTF-7. ex : SOGoFolderEncoding = 'UTF-7' 2014-03-06 14:33:31 -05:00
Francis Lachapelle 1aabcf04b5 Fix sogo-tool operations on Sieve script
Fixes #2617
2014-03-03 22:07:24 -05:00
Francis Lachapelle b34c6324cd Fix custom mail labels in Sieve filter editor 2014-02-14 21:32:33 -05:00
Ludovic Marcotte 75c8362df8 Avoid over-using LDAP connections when decomposing groups 2014-02-14 16:39:26 -05:00
Ludovic Marcotte b14e99b32a New prefs for intervals, fixed missing events in meeting requests, bumped v14.1 2014-02-10 20:16:43 -05:00
Francis Lachapelle ef79c09642 Don't use the HTML editor with Internet Explorer 7 2014-02-06 14:43:05 -05:00
Francis Lachapelle 826537ed01 Fix caching of DN in LDAP source 2014-02-05 09:04:00 -05:00
Ludovic Marcotte 3950e9d4c3 Moved DN cache to SOGoCache 2014-02-04 21:03:11 -05:00
Francis Lachapelle ef1be5dc5f Improve deleting occurences of recurrent events 2014-02-04 17:55:49 -05:00
Ludovic Marcotte 31969d162d Properly escape some control chars (and generalized it) 2014-02-04 15:03:02 -05:00
Ludovic Marcotte 588352be7d Fix for bug #2587 2014-02-03 09:53:47 -05:00
Ludovic Marcotte ddd7be4333 Fix for bug #2187 2014-01-31 15:03:40 -05:00
Francis Lachapelle c160edf20a Add support for Sieve body extension 2014-01-27 15:09:22 -05:00
Francis Lachapelle fc0c580fe1 Fix validation of subscribed folders
Fixes #2583
2014-01-24 13:48:01 -05:00
Ludovic Marcotte 046a645119 Refactored the code and added support for FilterType 2014-01-20 10:13:16 -05:00
Ludovic Marcotte 7355eae1dc Now able to set Active Sync metadata in the user settings 2014-01-10 14:10:53 -05:00
Ludovic Marcotte 1d9febb511 Correctly handle the Active Sync requests 2014-01-10 14:10:16 -05:00
Ludovic Marcotte e21b30d768 Code cleanups 2014-01-10 14:09:32 -05:00
Ludovic Marcotte ae200360ba Code cleanups 2014-01-10 14:09:02 -05:00
Ludovic Marcotte 13721b961b Add an easy way to get the personal contact folder, just like we have for calendars 2014-01-10 14:03:50 -05:00
Ludovic Marcotte a24d809e40 Minor code/copyright/authors cleanups 2014-01-09 21:06:31 -05:00
Ludovic Marcotte 2d683ffc77 Always capitalize HTTP headers 2014-01-09 20:40:25 -05:00
Ludovic Marcotte df3e9033f3 Added calendar default reminder support. 2013-11-20 17:42:11 -05:00
Jean Raby 05233d9c53 Use modified utf7 for special folder names 2013-11-15 16:02:59 -05:00
Ludovic Marcotte c05cf00db7 Update standard tag colors to match TB and improve tags id generation. 2013-11-14 09:00:19 -05:00
Ludovic Marcotte 198db855f6 Specify color in which TB can grok it. 2013-11-13 15:55:25 -05:00
Ludovic Marcotte 1c439c866e Added DAV support for mails labels. 2013-11-13 15:44:57 -05:00
Ludovic Marcotte 37d3234b60 Added support for dynamic mail labels/tags management.
The CSS in the UIxPreferences remains to be done.
2013-11-11 10:49:58 -05:00
Ludovic Marcotte 656869a4a2 Fix for bug #1328 2013-10-18 13:16:30 -04:00
Ludovic Marcotte 05990e9a14 Fix for bug 2007 2013-09-30 10:50:27 -04:00
Ludovic Marcotte 7dc65af300 Fix for bug #2386 2013-09-27 15:54:11 -04:00
Ludovic Marcotte 2ba8254ecc Fix for bug #1275 2013-09-24 09:29:46 -04:00
Jean Raby 28e600a4e6 Set default listening address to 127.0.0.1:20000
No reason to listen on 0.0.0.0 by default
2013-09-20 15:37:34 -04:00
Jean Raby 60d6abe542 Use HTTP/1.0 to avoid chunked replies
Fixes^WWorkaround #2408
2013-09-17 09:07:53 -04:00
Jean Raby d7e6648396 Reworked password change logic and add AD support 2013-08-28 17:11:07 -04:00
Jean Raby e946a67ddf Special case for auth with SOGoStaticAuthenticator 2013-08-27 13:02:06 -04:00
Jean Raby 2fe87f14fd Add SOGoStaticAuthenticator
New authenticator that is not linked to a SOGoUser.
Will be used for SMTP AUTH by sogo-elalarm-notify.
2013-08-27 12:59:03 -04:00
Jean Raby b2f012cae2 Add SOGoCredentialsFile
New class to read credentials files as used by sogo-tool and sogo-ealarm-notify
2013-08-27 12:56:07 -04:00
Jean Raby 1221da2443 Add CASLogoutRequestMap.plist 2013-06-25 09:12:27 -04:00
Jean Raby 0a87ff97b6 cosmetic fix, no functional change
added a POST payload to test this code
2013-06-21 09:36:54 -04:00
Jean Raby 41ed498d65 Add support for CAS LogoutRequests
Fixes #2346
This changes the serviceURL sent by SOGo to the CAS server:
  /SOGo/so/ -> /SOGo/so/index
2013-06-20 14:32:14 -04:00
Ludovic Marcotte c08263d1c3 Updated patch 2013-06-19 17:36:43 -04:00
Ludovic Marcotte 1734b387a3 Fix for bug #2237 2013-06-19 15:45:40 -04:00
Ludovic Marcotte 871115e349 Fixed bug #2294 2013-06-19 15:07:19 -04:00
Ludovic Marcotte 5304461e4c now possible to see who created a event/task in a delegated calendar 2013-06-19 10:23:47 -04:00
Jean Raby 6b25f08943 Use domainDefaults to get imapCASServiceName 2013-06-18 19:33:36 -04:00
Jean Raby 0fb006c19f New domain preference: SOGoIMAPCASServiceName
Set this to the service name expected by the CAS server if it differs
from SOGoIMAPServer. This is useful to request a CAS ticket for service
imap://imap.domain.com while connecting through imapproxy on imap://127.0.0.1:1143

SOGoDAVAuthenticator is not updated since it doesn't really use the imap code.
2013-06-18 16:36:11 -04:00
Jean Raby f24e3a0a31 whitespace fixes. tabkill 2013-06-12 02:36:50 -04:00
Ludovic Marcotte afb7bc309c Added message submissions rate-limiting support 2013-06-11 11:21:58 -04:00
Ludovic Marcotte cfee5aa3f4 Added new failed login rate-limiting options 2013-06-11 09:41:17 -04:00
Francis Lachapelle 8e5a26dfb1 Remove unicode separators from JSON
Fixes #2309
2013-06-05 15:55:52 -04:00
Francis Lachapelle 2bd8a2935f Change default value of SOGoMailSpoolPath
Set the spool path to /var/spool/sogo and modified the installation
guide to point to the tmpwatch cronjob when changing SOGoMailSpoolPath.
2013-05-09 08:12:27 -04:00
Ludovic Marcotte 62fee93d86 Fix for bug #2287 2013-04-16 14:33:57 -04:00
Jeroen Dekkers 4d8bff5130 Link libSOGo with libdl on systems with glibc 2013-04-14 11:50:28 +02:00
Ludovic Marcotte eec8c07d4f Avoid appending the domain if already present. 2013-04-09 11:35:53 -04:00
Ludovic Marcotte 84ba93fc0a Now set ForceAuthn to false by default 2013-04-08 13:58:55 -04:00
Francis Lachapelle 37a6f82659 Initial Arabic translation 2013-04-08 11:05:45 -04:00
Ludovic Marcotte b4aaa68d85 Also consider the "mail" attribute in order to get the user's login 2013-04-05 10:26:17 -04:00
Ludovic Marcotte 5487f34b9e Disable hint verification for now. 2013-04-05 08:57:47 -04:00
Jean Raby e07734fa5f Filter sql source entries based on the user domain
When using dynamic domains with SQL sources (DomainFieldName),
let WebUI and dav lookups return entries from current domain
and other domains visible from the originating domain.

Fixes #2269

SQLSource.m: _visibleDomainsQualifierFromDomain:
  returns a EOQualifier OR'ing all visible domains from specified domain
  (including specified domain)

SQLSource.m: allEntryIDsVisibleFromDomain
  Replacement for allEntryIDs.
  Instead of returning all entries from the sql source,
  only return the entries visible from the specified domain.

SoObjects/SOGo/SQLSource.m: allEntryIDs
  Changed to call allEntryIDsVisibleFromDomain with an empty domain.

SQLSource.m fetchContactsMatching:inDomain:
  Use _visibleDomainsQualifierFromDomain to filter entries

LDAPSource.m: allEntryIDsVisibleFromDomain
  Simply call allEntryIDs, discarding the domain.
  LDAP does need to do the extra domain filtering

SOGoContactSourceFolder.m: toOneRelationshipKeys
   Call new method: allEntryIDsVisibleFromDomain
2013-03-29 10:38:52 -04:00
Ludovic Marcotte a009c71034 Fixed table initialization. 2013-03-25 15:58:36 -04:00
Francis Lachapelle d12c651d59 New system default SOGoEncryptionKey
To be used to encrypt the passwords of remote Web calendars when
SOGoTrustProxyAuthentication is enabled.
2013-03-11 09:34:36 -04:00
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
Francis Lachapelle 8981dcd645 Fix segfault in SOGoSieveManager.m 2013-02-08 09:42:31 -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 4bfb43a4ad Merge 'tests/authcache' - don't use cache on login 2013-02-05 11:40:47 -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
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 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
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
Francis Lachapelle 0408415c61 Remove control characters before returning JSON 2013-01-30 15:47:20 -05:00
Ludovic Marcotte c066136a06 Reverted code that was causing issues with groups (#2090) 2013-01-28 08:34:40 -05:00
Jean Raby 46b53b31fd Fix order of precedence for options
Fixes #2066 and #2166
Enforce the following order of precedence for options, first match wins:
  1. Command line arguments
  2. .GNUstepDefaults
  3. /etc/sogo/{debconf,sogo}.conf
  4. SOGoDefaults.plist
2013-01-24 22:43:38 -05:00
Jean Raby 6093c4dd2e Axe handling of sogo 0.9 gnustep domain migration 2013-01-24 20:37:30 -05:00
Jean Raby 61ded01171 whitespace - tabkill 2013-01-24 20:35:03 -05:00
Jean Raby 9e38c5060a Plug ldap fd leak in login checks 2013-01-22 18:42:00 -05:00
Francis Lachapelle 775a8421d5 Initial Finnish translation 2013-01-16 10:54:16 -05:00
Ludovic Marcotte 2370ecb089 We now ignore default roles for "public" accesses. 2013-01-15 13:33:45 -05:00
Ludovic Marcotte 9d4f4c3a9c Proper fix for #2163. 2013-01-11 09:55:10 -05:00
Francis Lachapelle 5667bb1b11 Fix CardDAV collections for OS X
Restored the previous behavior: only the personal addressbook is
returned and only the first source directory is returned (now sorted by
id so you can control which of your addressbook sources you want to
return).
2013-01-09 11:39:29 -05:00
Jean Raby 1382fe25fc put back SOGo_VERSION
wasn't unused after all...
2012-12-22 11:24:18 -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 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
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 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
Ludovic Marcotte a7722755b7 Fixed length call. 2012-12-06 09:03:17 -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 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 47a9a22bc0 Fix for bug #2082. 2012-11-30 10:11:05 -05:00
Ludovic Marcotte f0f206b8bb Merge branch 'master' of https://github.com/inverse-inc/sogo 2012-11-29 15:50:07 -05:00
Ludovic Marcotte 73ff981d4f Fixed the method that returns the current-user-principal. 2012-11-29 15:49:32 -05:00
Francis Lachapelle ce36e80d6b Initial Slovak translation 2012-11-29 14:40:46 -05:00
Ludovic Marcotte 7c250fad8f Fix for bug #1061. 2012-11-26 13:13:06 -05:00
Ludovic Marcotte 2606787dd7 Make sure we handle arrays, and not single-value string objects. 2012-11-19 09:45:48 -05:00
Wolfgang Sourdeau 3f58b6bfd1 Use the output of "gnustep-config --base-libs" to determine which libs our libraries must be linked against 2012-11-07 09:50:32 -05:00
Wolfgang Sourdeau 54e1439faf Merge branch 'master' of github.com:inverse-inc/sogo 2012-11-06 13:50:48 -05:00
Wolfgang Sourdeau 63024c30f0 Make use of the new -[NSData compress] method and remove \n chars from base64 data 2012-11-06 13:50:26 -05:00
Wolfgang Sourdeau 4b8a14e41e Make use of SAML2 assertion as IMAP password 2012-11-06 10:46:40 -05:00
Wolfgang Sourdeau ba67c57629 Save SAML2 assertion 2012-11-06 10:46:11 -05:00
Ludovic Marcotte 6ad59a8481 Apply patches for bug #2060 2012-11-06 09:04:18 -05:00
Ludovic Marcotte fe09a7969d Automatically disable alarms for newly subsribed calendars.
This fixes bug #2074.
2012-11-06 08:05:23 -05:00
Wolfgang Sourdeau aeabd85c90 Finalized support for SAML2 logon 2012-11-02 15:31:49 -04:00
Wolfgang Sourdeau 695fc5fff9 added methods for supporting SAML2 configuration 2012-11-02 15:30:13 -04:00
Wolfgang Sourdeau 6840fbb96c added methods for supporting SAML2 persistence 2012-11-02 15:29:02 -04:00
Wolfgang Sourdeau e02221d716 Auto-generate the SOGoSAML2Exceptions helper module 2012-11-02 13:54:52 -04:00
Wolfgang Sourdeau bc2b003676 Make use of pkg-config to retrieve gcc and ld options for liblasso 2012-11-01 16:06:26 -04:00
Wolfgang Sourdeau a9b521c8be Added SOGoSAML2Session 2012-11-01 11:29:27 -04:00
Wolfgang Sourdeau 157e66ad4f added "--enable-saml2" configuration option and dependency on liblasso 2012-11-01 11:28:45 -04:00
Wolfgang Sourdeau ac5f0bb95a implemented +[SOGoSAML2Session metadata] 2012-11-01 10:46:51 -04:00
Luc Charland a916ac8927 Fixed bug #1105 Remote images display
There now is a configurable default in mail preferences where
you can set remote images to display either Never or Always.
2012-10-31 11:53:30 -04:00
Wolfgang Sourdeau 21ee23e7df avoid comparisons that extend past the string length 2012-10-30 16:59:22 -04:00
Wolfgang Sourdeau 20cb769db1 style 2012-10-26 22:38:41 -04:00
Wolfgang Sourdeau 9929623119 Accelerated basic page loading by caching the list of supported languages 2012-10-25 21:58:34 -04:00
Wolfgang Sourdeau cf0e0691f6 Accelerated basic page loading by caching the user language 2012-10-25 21:46:23 -04:00
Wolfgang Sourdeau 73781f25f6 Updated copyright 2012-10-23 23:47:06 -04:00
Wolfgang Sourdeau fe29c24e68 simplified defaults override code, for sogod and other SOGo-based processes, by giving prescendence to the user "user defaults", followed by sogo.conf, debconf.conf and finally SOGoDefaults.plist", and by adding "sogod" in the list of defaults "suites" 2012-10-23 13:41:34 -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 6859fd3652 Do not automatically depend on libcrypto and make fallback dependency on libssl optional 2012-10-23 10:30:05 -04:00
Wolfgang Sourdeau 2f9369db57 Do not provide a default fallback on libssl, when gnutls is not in use.\nInstead, we make the use of either library mandatory. 2012-10-23 10:29:05 -04:00
Wolfgang Sourdeau de381aca81 Added support for gnutls (thanks to Jeroen Dekkers). 2012-10-23 10:11:36 -04:00
Wolfgang Sourdeau fa7a6507b5 new file 2012-10-23 10:11:33 -04:00
Wolfgang Sourdeau 6d8c328910 Fixed most build warnings 2012-10-22 10:09:13 -04:00
Jeroen Dekkers 990911e142 Specify all necessary libraries when linking 2012-10-19 18:23:07 +02:00
Jeroen Dekkers 439bb132c1 Add support for GnuTLS 2012-10-19 17:33:48 +02:00
Jeroen Dekkers 0482c1db33 Read configuration from /etc/sogo/sogo.conf 2012-10-19 16:07:45 +02:00
Wolfgang Sourdeau 1357bb2f35 -[EOAndQualifier initWithQualifiers:] must receive a nil-ended list (fixes #1999) 2012-10-18 11:34:47 -04:00
Wolfgang Sourdeau 5a76790418 Added support for SMTP PLAIN authentication 2012-10-16 16:56:48 -04:00
Wolfgang Sourdeau 23ea006575 nameExistsInFolder: removed useless method 2012-10-13 13:45:56 -04:00
Wolfgang Sourdeau 37b9aca940 Do not consider fetching and storing user info for user ids or emails which contain spaces 2012-10-09 14:03:28 -04:00
Wolfgang Sourdeau 3c0e534d11 Keep unresolved users in the cache too, to avoid useless queries to the user database 2012-10-06 14:51:26 -04:00
Francis Lachapelle 613499c63a propagate from branch 'ca.inverse.sogo.1_3_18' (head 7c7520aa207bce4701e10594a7e6854a244e9f7e)
to branch 'ca.inverse.sogo' (head 1cc99cc487a5bfdb791d4067042b904d7eb47795)

Monotone-Parent: 1cc99cc487a5bfdb791d4067042b904d7eb47795
Monotone-Parent: 7c7520aa207bce4701e10594a7e6854a244e9f7e
Monotone-Revision: eb22f4d3b368a79ce56bcad18f9f176fff0cb73c

Monotone-Author: flachapelle@inverse.ca
Monotone-Date: 2012-09-07T19:40:28
Monotone-Branch: ca.inverse.sogo
2012-09-07 19:40:28 +00:00
Francis Lachapelle 1c128a224f See ChangeLog
Monotone-Parent: 635c9e7117554059bb6df5357a9f71f448867b55
Monotone-Revision: 31dc3dd102c504ce978c1809310a4924273fc57b

Monotone-Author: flachapelle@inverse.ca
Monotone-Date: 2012-09-04T17:46:23
2012-09-04 17:46:23 +00:00
Wolfgang Sourdeau 5557c01b99 Monotone-Parent: 61e6d0133bf0d45c09767727617ba746f65a28b9
Monotone-Revision: 54ac2dbf42dee286f64da8b9b3c4567570b00258

Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2012-08-13T15:29:44
Monotone-Branch: ca.inverse.sogo
2012-08-13 15:29:44 +00:00
Wolfgang Sourdeau 99aa98fdaa Monotone-Parent: 844ddef9e05b2d52503e6a44804f1d3036558771
Monotone-Revision: 61e6d0133bf0d45c09767727617ba746f65a28b9

Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2012-08-13T15:26:22
Monotone-Branch: ca.inverse.sogo
2012-08-13 15:26:22 +00:00
Wolfgang Sourdeau 7d7724a5f5 Monotone-Parent: 56f8217cb19f50d50429b4f745548b63bd418877
Monotone-Revision: 844ddef9e05b2d52503e6a44804f1d3036558771

Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2012-08-13T15:26:06
Monotone-Branch: ca.inverse.sogo
2012-08-13 15:26:06 +00:00
Jean Raby 6a97b80f77 propagate from branch 'ca.inverse.sogo.1_3_18' (head a6dfa4114eeabf1790dbbd7a169d81c988375c12)
to branch 'ca.inverse.sogo' (head b2c6832ba400b4bb228726fbd0e791d2ce796007)

Monotone-Parent: a6dfa4114eeabf1790dbbd7a169d81c988375c12
Monotone-Parent: b2c6832ba400b4bb228726fbd0e791d2ce796007
Monotone-Revision: c0f07692ea20a10ac587360d8d82535fb4291afc

Monotone-Author: jraby@inverse.ca
Monotone-Date: 2012-08-03T18:11:13
Monotone-Branch: ca.inverse.sogo
2012-08-03 18:11:13 +00:00
Jean Raby 0f65eab377 * SoObjects/SOGo/LDAPSource.m (changePasswordForLogin):
if userPasswordAlgorithm was not set or was set to "none",
    use the plaintext password directly instead of using '{none}plaintext'
    which isn't valid.

Monotone-Parent: d538a70c8651aa1849c88eedda7782a21b41b591
Monotone-Revision: a6dfa4114eeabf1790dbbd7a169d81c988375c12

Monotone-Author: jraby@inverse.ca
Monotone-Date: 2012-08-03T18:10:01
2012-08-03 18:10:01 +00:00
Jean Raby 8f625f6292 propagate from branch 'ca.inverse.sogo.1_3_18' (head 0a2787d6259826c9137c4fbee005b7cf638fa317)
to branch 'ca.inverse.sogo' (head bc3ed474ad46d79c92b1456be764f4803b264d92)

Monotone-Parent: 0a2787d6259826c9137c4fbee005b7cf638fa317
Monotone-Parent: bc3ed474ad46d79c92b1456be764f4803b264d92
Monotone-Revision: 7a464f08b5ba1b713a0beec23ddfa576c9023439

Monotone-Author: jraby@inverse.ca
Monotone-Date: 2012-07-31T16:30:26
Monotone-Branch: ca.inverse.sogo
2012-07-31 16:30:26 +00:00
Francis Lachapelle 3bda924ebf See ChangeLog.
Monotone-Parent: 633c912a165a7258c1aa8a70d0816daff59274e1
Monotone-Revision: de7e6a583e1acc600d976efeef72db979312bb94

Monotone-Author: flachapelle@inverse.ca
Monotone-Date: 2012-07-28T02:22:51
2012-07-28 02:22:51 +00:00
Wolfgang Sourdeau 272aabf691 propagate from branch 'ca.inverse.sogo.1_3_17' (head a860eef99344cc9894f15336b3781ecf101807e4)
to branch 'ca.inverse.sogo' (head d6e6af11a4430fc14c38e245fbaa322775b7b5d7)

Monotone-Parent: a860eef99344cc9894f15336b3781ecf101807e4
Monotone-Parent: d6e6af11a4430fc14c38e245fbaa322775b7b5d7
Monotone-Revision: 416420cf52205aeff9f09edaf779bee70939318d

Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2012-07-25T17:45:44
Monotone-Branch: ca.inverse.sogo
2012-07-25 17:45:44 +00:00
Francis Lachapelle 36bde4e042 See ChangeLog.
Monotone-Parent: 20ed9d28f7e0284da6a03803be4b44515ff13153
Monotone-Revision: 84638520098e5b0e2cebc6efed95a3c49beac705

Monotone-Author: flachapelle@inverse.ca
Monotone-Date: 2012-07-25T15:31:40
2012-07-25 15:31:40 +00:00
Wolfgang Sourdeau 87a7732361 applied changes from c6b25920d896b2d19d0ef40a4cadee46c87bba2d
through fcec9822c0aaee8cefba77d0f50a8582b33fa3f0

Monotone-Parent: 975e40192e290b5aa4bc5c5b99a12b299d84fa5a
Monotone-Revision: 4d39a71900cc87ae1185f268c1c35a5a4b086b1d

Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2012-07-12T15:03:38
2012-07-12 15:03:38 +00:00
Wolfgang Sourdeau 934e15d2d0 Monotone-Parent: c6b25920d896b2d19d0ef40a4cadee46c87bba2d
Monotone-Revision: 1c3bb3511167199e0dc7bafa4db7fc5540648666

Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2012-07-10T15:49:05
Monotone-Branch: ca.inverse.sogo
2012-07-10 15:49:05 +00:00
Ludovic Marcotte 918affb638 propagate from branch 'ca.inverse.sogo.1_3_17' (head cf43f2030dbd1c4f0747be7cbd5dc3239cd6bd15)
to branch 'ca.inverse.sogo' (head b480939bb99d9c246f2a7f25b9728f4fff29d89e)

Monotone-Parent: b480939bb99d9c246f2a7f25b9728f4fff29d89e
Monotone-Parent: cf43f2030dbd1c4f0747be7cbd5dc3239cd6bd15
Monotone-Revision: c6b25920d896b2d19d0ef40a4cadee46c87bba2d

Monotone-Author: ludovic@Sophos.ca
Monotone-Date: 2012-07-10T00:29:53
Monotone-Branch: ca.inverse.sogo
2012-07-10 00:29:53 +00:00
Ludovic Marcotte 03a125ea1f See ChangeLog
Monotone-Parent: 801c13ca7d8e3a2f3e502ee658399b458681bcab
Monotone-Revision: cf43f2030dbd1c4f0747be7cbd5dc3239cd6bd15

Monotone-Author: ludovic@Sophos.ca
Monotone-Date: 2012-07-10T00:29:13
2012-07-10 00:29:13 +00:00
Jean Raby 8e137c7370 propagate from branch 'ca.inverse.sogo.1_3_17' (head 228f7d730cde5a5046b0885c1ac02649ee2b7c05)
to branch 'ca.inverse.sogo' (head 53c7bfdc2c357c162e23401ab5600d2cb4a1483e)

Monotone-Parent: 228f7d730cde5a5046b0885c1ac02649ee2b7c05
Monotone-Parent: 53c7bfdc2c357c162e23401ab5600d2cb4a1483e
Monotone-Revision: 43774db162efbc47a3e22d6daeeef1ed2cf6446f

Monotone-Author: jraby@inverse.ca
Monotone-Date: 2012-06-29T20:18:26
Monotone-Branch: ca.inverse.sogo
2012-06-29 20:18:26 +00:00
Jean Raby 0a2244c2cb * SoObjects/SOGo/WORequest+SOGo.[mh]
(-isAndroid): new method to detect whether the
  request has been performed from an android client

  * SoObjects/Contacts/SOGoContactFolders.m (appendSystemSources):
  Let sogo append system sources if the request comes from an android
  client even if its user agent matches the IPhoneAddressBook

Monotone-Parent: a4ef73c2ad79c8da8d8e0c93767ab06e14bc846b
Monotone-Revision: 228f7d730cde5a5046b0885c1ac02649ee2b7c05

Monotone-Author: jraby@inverse.ca
Monotone-Date: 2012-06-29T20:17:20
2012-06-29 20:17:20 +00:00
Wolfgang Sourdeau 56621c9d5e merge of '4ecb95aab8f686702ff3eb186a97b1bf1f3b5531'
and '7634b9d503d61b6240548e75e7f872081debc6b4'

Monotone-Parent: 4ecb95aab8f686702ff3eb186a97b1bf1f3b5531
Monotone-Parent: 7634b9d503d61b6240548e75e7f872081debc6b4
Monotone-Revision: 0c4f43a27b60ff9951c52b8ab1d9309d5fc9f209

Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2012-06-29T19:10:27
Monotone-Branch: ca.inverse.sogo
2012-06-29 19:10:27 +00:00
Wolfgang Sourdeau 79552f8ff3 Monotone-Parent: 58f1829bce5e146423ed657d76063f09b7596385
Monotone-Revision: 8bf030be6f5baed09d67ad6a173017ace25834c7

Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2012-06-28T14:45:45
Monotone-Branch: ca.inverse.sogo
2012-06-28 14:45:45 +00:00
Ludovic Marcotte 6d745e0f4b See ChangeLog
Monotone-Parent: aadc4759a64f724760d38bbdfd92715182856439
Monotone-Revision: 5e99e6ac2d5684eba786f2ce14295f3a3b5267a3

Monotone-Author: ludovic@Sophos.ca
Monotone-Date: 2012-06-21T23:32:18
2012-06-21 23:32:18 +00:00
Wolfgang Sourdeau f5f66d0b74 Monotone-Parent: d537d152064e4fd06ac7b263bf3d3b3738715291
Monotone-Revision: ea6bc80cdabf55c83e6df32dd1aaa4ecfa16a6e1

Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2012-06-12T14:41:51
Monotone-Branch: ca.inverse.sogo
2012-06-12 14:41:51 +00:00
Francis Lachapelle 2c9a61f0c5 See ChangeLog
Monotone-Parent: 6a6bbe9da76e6e30fd9ce63cf4a8c7677f5f61a0
Monotone-Revision: f542ae0ee839e825fc2f1dae6c5d916237edb3e4

Monotone-Author: flachapelle@inverse.ca
Monotone-Date: 2012-06-01T14:29:30
2012-06-01 14:29:30 +00:00
Wolfgang Sourdeau 9e842e7277 Monotone-Parent: 9471287ef57b6223c0e3a175d74fc5f6b9ebc42f
Monotone-Revision: 6a6bbe9da76e6e30fd9ce63cf4a8c7677f5f61a0

Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2012-06-01T13:54:52
2012-06-01 13:54:52 +00:00
Ludovic Marcotte 08230b33bb See ChangeLog
Monotone-Parent: 747fe8c2134a990c1cdf3b494c2b7776021cb736
Monotone-Revision: 3c4baa92c5634d4da061da739a9b544d04c44586

Monotone-Author: ludovic@Sophos.ca
Monotone-Date: 2012-05-31T13:24:32
2012-05-31 13:24:32 +00:00
Ludovic Marcotte 18ffca1924 See ChangeLog
Monotone-Parent: d29498142c4a9f1d780373bd5f0d80b17f6e2c33
Monotone-Revision: 747fe8c2134a990c1cdf3b494c2b7776021cb736

Monotone-Author: ludovic@Sophos.ca
Monotone-Date: 2012-05-31T12:36:00
2012-05-31 12:36:00 +00:00
Ludovic Marcotte d6f0203351 Patch applied from bug #1664
Monotone-Parent: 1e79eab4c546452715e5171f1c326b7d36f1c195
Monotone-Revision: 99dc7d9dce88b8a323b1e7aab60de99ed2bfda60

Monotone-Author: ludovic@Sophos.ca
Monotone-Date: 2012-05-29T18:56:15
2012-05-29 18:56:15 +00:00
Jean Raby 9e65b8b3e4 * SoObject/SOGo/SOGoParentFolder.m (_createPersonalFolder):
Automatically create the folder if its owner is a resource.
    (not if the active user is a resource)

Monotone-Parent: 4a872122da5acff4772feafceee7decf55c1bd98
Monotone-Revision: 6857ec31df4746fa033c80de4b53d7d7e0a4b9e4

Monotone-Author: jraby@inverse.ca
Monotone-Date: 2012-05-09T17:48:51
2012-05-09 17:48:51 +00:00
Ludovic Marcotte 19540fada1 See ChangeLog
Monotone-Parent: c64050fc650935a4d7620ed869e3e3863b178c1e
Monotone-Revision: 4e2b45bb5b0360d8cf107846fa39fb12f6bacf7f

Monotone-Author: ludovic@Sophos.ca
Monotone-Date: 2012-04-30T09:50:10
2012-04-30 09:50:10 +00:00