Commit Graph

9656 Commits (b531b6160c5ecc41f7160195da1b449dc87d01e3)

Author SHA1 Message Date
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 6a8e6cd762 Fixed the GNUmakfile and const's for charset tables. 2013-03-28 08:32:00 -04:00
Ludovic Marcotte 663351029a Replaced unrtf by our own RTF to HTML converter.
Faster, thread safe, a hell lot cleaner.
2013-03-26 19:32:08 -04:00
Jean Raby c26e5fa7fe semi-colon 2013-03-26 14:01:04 -04:00
Jean Raby 74c01dc448 gen-charset-table.py: script to import ms charmaps
For example: http://msdn.microsoft.com/en-us/goglobal/cc305147
2013-03-26 13:42:22 -04:00
Ludovic Marcotte a009c71034 Fixed table initialization. 2013-03-25 15:58:36 -04:00
Jean Raby b4ebc90dd0 replace subprocess.check_output with Popen magic
check_output isn't available in py 2.6...
2013-03-25 14:12:12 -04:00
Jean Raby 95dc134ca6 Revamped openchange_cleanup.py
This is now usable again.

  - Don't delete password files in mapistoreCleanup()
  - reworked the ldb cleanup and enabled it
  - sql cleanup should now be able to figure out the db info from the config
    regardless of the format used (xml, plist, sogo.conf or GNUstepDefaults)
    (We really need a python plist parser.. the current solution is not elegant)
  - Inform user of missing python packages
2013-03-22 15:13:39 -04:00
Jean Raby 9c4b7d8481 Add notes regarding html mails and mod_reqtimeout 2013-03-21 15:39:02 -04:00
Jean Raby 9fb9f2cae6 Enable saml2 support on squeeze (temporary fix) 2013-03-20 11:51:37 -04:00
Francis Lachapelle 15f9b7d22e Fix comments in UIxContactFolderActions.* 2013-03-15 11:23:27 -04:00
Francis Lachapelle 5f179ed6b0 Activate the menu option "Mark Folder Read"
Fixes #1473
2013-03-15 11:06:26 -04:00
Ludovic Marcotte 93f9a7273e Now handle mem context when saving messages and removed useless debugging. 2013-03-13 15:04:11 -04:00
Jean Raby 15e082896c Update sogo-tool expire-autoreply syntax in cron 2013-03-12 09:08:19 -04:00
Jean Raby 63ff9751d7 Add ics_compare and use it in _testRespondTo()
This new class uses vobject.ics_diff() to compare 2 VCALENDAR components.
We should use this instead of textually comparing events for equality
in future tests.
2013-03-11 11:37:59 -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 41a6c02aa3 Rework web services section
State that HTTPS is mandatory for autodiscovery services.
Add example named config for SRV record.
2013-03-08 16:20:27 -05:00
Jean Raby a026e75c0e Removed note about linefeed in password files
This is handled by the code now
2013-03-08 15:57:10 -05:00
Ludovic Marcotte 46815042c9 Fixed bug when modifying/deleting exceptions of recurring events. 2013-03-07 09:29:56 -05:00
Jean Raby c79af52b67 Fix BSONCodec.m includes
include objc.h instead of runtime.h so that it works on older gcc objc runtime
2013-03-06 11:03:19 -05:00
Jean Raby e882dedac9 Update News 2013-03-05 11:01:51 -05:00
Jean Raby 13277bbdb9 c_content TEXT to LONGTEXT for OpenChange tables
Add an script to update existing tables.
Note that if a row already have 65535 char in it,
the data is most likely broken.
2013-03-05 10:47:09 -05:00
Francis Lachapelle 7e8a83aefb Fix Slovak templates for mail reply/forward 2013-03-05 10:22:20 -05: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
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