62 Commits

Author SHA1 Message Date
smizrahi
4dba56f70d fix(addressbook): Removed SOGoGlobalAddressBookFirstEntries (use listRequiresDot instead) and move SOGoGlobalAddressBookFirstEntriesCount to globalAddressBookFirstEntriesCount in source scope. This fixed the broken listRequiresDot in 5.10 2024-02-26 15:40:49 +01:00
Hivert Quentin
6aab869b81 fix(contacts): c_cn could be null whereas it isn't 2024-02-19 10:59:01 +01:00
smizrahi
17eca6f96a feature(contact): Show 100 first results for global address book 2023-12-18 08:34:53 +01:00
smizrahi
0560efd1f6 feat(addressbook): Add global address book autocomplete on vlist 2023-11-08 18:10:06 +01:00
Hivert Quentin
1d3da92bab fix(addressbook): autocomplete correctly return two contacts from two ldap with same id 2023-10-03 14:28:57 +02:00
Francis Lachapelle
7faab9117a fix(addressbook(dav)): improve handling of addressbook-query 2022-02-28 17:07:39 -05:00
Francis Lachapelle
348a79c795 fix(addressbook): close DB connection after DAV query 2022-02-01 10:14:37 -05:00
Francis Lachapelle
940394d435 fix(addressbook(dav)): return all value of all properties
Fixes #5462
2022-01-20 17:06:39 -05:00
Francis Lachapelle
a073241e0f fix(addressbook): use pool to lower memory usage 2021-10-01 11:11:34 -04:00
Francis Lachapelle
dec4f24aa4 fix(addressbook): use pool to lower memory usage 2021-09-30 09:13:28 -04:00
Francis Lachapelle
4884cb3978 fix(addressbook): properly handle unknown properties in DAV report 2021-09-29 16:02:52 -04:00
Francis Lachapelle
3da633aebf fix(addressbook): reuse LDAP connection in CardDAV report
Fixes #5355
2021-09-29 16:00:10 -04:00
Francis Lachapelle
00846c463c style(addressbook(obj-c)): add comments 2021-08-18 13:32:33 -04:00
Francis Lachapelle
85e61ecc1b Add missing contact fields for sorting
Fixes #4799
2019-10-21 15:32:13 -04:00
Francis Lachapelle
e24082183f Reflect attendee type with generic icon 2019-07-04 15:10:41 -04:00
Francis Lachapelle
eb90760b39 Use address books search fields in Contacts module
Searches can now be scoped to one or multiple fields. Those fields are
now dynamic and can be defined using SearchFieldNames in external
contacts sources (SQL and LDAP).
2017-11-21 15:56:16 -05:00
Francis Lachapelle
651c0fdf14 Load photos of LDAP-based address books in listing
Fixes #3942
2016-12-15 10:19:47 -05:00
Francis Lachapelle
64434bbfad Fix sort by email with LDAP sources 2016-10-05 15:25:57 -04:00
Ludovic Marcotte
35d1cab856 (fix) properly XML escape wide characters (fixes #3616) 2016-04-06 11:19:18 -04:00
Ludovic Marcotte
00777fa7f3 (fix) respect the LDAP attributes mapping in the list view 2016-03-18 12:38:47 -04:00
Francis Lachapelle
3529d52c3b Fix extraction of mail column from SQL source
Fixes #3544
2016-02-29 11:56:32 -05:00
Francis Lachapelle
5387b5d5a3 Expose listRequiresDot in SOGoContactSourceFolder 2016-02-24 16:47:07 -05:00
Francis Lachapelle
21dcb57ca9 Remove unrelevent #warning 2016-02-19 16:28:43 -05:00
Patrice Levesque
7c25b53fdf Remove pointless #imports from .m and .h files
This was done with a brute-force approach, ensuring no additional
warnings from GCC 4.9 under x86_64.
2016-02-13 16:11:52 -05:00
Ludovic Marcotte
ae6ed0c055 (feat) applied all changes as a patch coming from PR #180 2015-12-30 09:22:08 -05:00
Ludovic Marcotte
0660db7bf6 (fix) reverted change for #3389 2015-12-01 11:41:18 -05:00
Ludovic Marcotte
fc16d6ad90 (fix) fixed addressbrook-only source entires having a c_uid set
Conflicts:

	NEWS
	SoObjects/Contacts/SOGoContactSourceFolder.m
2015-11-06 13:38:26 -05:00
Ludovic Marcotte
5f82d3fb37 (fix) manually added fixes from PR#120 2015-11-05 09:59:31 -05:00
extrafu
d805cdfef4 Merge pull request #109 from ethoms/clang-warnings-stage2
Stage 2 of clang compiler warning patches.
2015-11-04 13:48:27 -05:00
ethoms
b5eb13c3b7 Update SOGoContactSourceFolder.m 2015-11-04 07:19:37 +08:00
Euan Thoms
212ff64828 Stage 2 of clang compiler warning patches. 2015-11-04 03:36:34 +08:00
Euan Thoms
3c62cc744e Stage 1 of clang compiler warning patches. 2015-10-31 14:10:03 +08:00
Ludovic Marcotte
40dd3e5875 (fix) reworked c_ prefixes on givenname,cn,sn,o and component.
This makes it easier to map to the quick table and avoid
fields duplications.
2015-07-27 12:47:40 -04:00
Francis Lachapelle
33b035b360 LDIF to vCard: Handle multiple emails & phones 2015-06-12 11:58:59 -04:00
Francis Lachapelle
f9271b747c Initial JSON actions to get/set an event 2015-06-12 10:48:00 -04:00
Francis Lachapelle
e40b42c213 Move setAttributes from NGVCard to UIx*Editors 2015-06-11 15:26:35 -04:00
Francis Lachapelle
f1fda8bd06 Return a single phone number in JSON contacts list 2015-03-10 13:27:17 -04:00
Ludovic Marcotte
a24d809e40 Minor code/copyright/authors cleanups 2014-01-09 21:06:31 -05:00
Ludovic Marcotte
4a98e5b521 Don't append unknown objects to the REPORT result. 2013-12-09 10:31:34 -05: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
Wolfgang Sourdeau
6d8c328910 Fixed most build warnings 2012-10-22 10:09:13 -04:00
Wolfgang Sourdeau
f06d57373a Applied last changed from ca.inverse.sogo branch, pertaining to iOS handling of CardDAV
Monotone-Parent: bee9d78831eda60f6cda2aadb62fc4a04a2e8e10
Monotone-Revision: 693036245b42a3d0059f8c06a2a725e716d54c9e

Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2012-03-30T14:07:36
2012-03-30 14:07:36 +00:00
Wolfgang Sourdeau
7a655ff8ce Monotone-Parent: 54cc41b15e02fc61bfa80e7db07aeb97e541fdfc
Monotone-Revision: 3c8a49fe7ef93ec55aaeef9dd064be1de6052cfe

Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2012-03-21T15:50:07
2012-03-21 15:50:07 +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
b26858fdc2 propagate from branch 'ca.inverse.sogo.1_3_12' (head c241a8e1e716fa0db3e4f4e370c051096cc2c3e2)
to branch 'ca.inverse.sogo' (head d807738c8f35c5080fb2e1684404fb8d992c8032)

Monotone-Parent: c241a8e1e716fa0db3e4f4e370c051096cc2c3e2
Monotone-Parent: d807738c8f35c5080fb2e1684404fb8d992c8032
Monotone-Revision: 62ee066ad239ea56d6f2dc0b73f12d399813d68c

Monotone-Author: flachapelle@inverse.ca
Monotone-Date: 2012-01-12T21:01:06
Monotone-Branch: ca.inverse.sogo
2012-01-12 21:01:06 +00:00
Francis Lachapelle
84909dd628 See ChangeLog.
Monotone-Parent: 468e7e6366c0f335fea6ffbfbc6ecf9ab41aaa77
Monotone-Revision: c241a8e1e716fa0db3e4f4e370c051096cc2c3e2

Monotone-Author: flachapelle@inverse.ca
Monotone-Date: 2012-01-12T20:52:14
2012-01-12 20:52:14 +00:00
Wolfgang Sourdeau
15e606341e Monotone-Parent: 16b846dd0fb3a63bdd80cb7ed360972da407527b
Monotone-Revision: bb276eea8dc76b5c71f49df1d23424ab19015233

Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2012-01-04T15:26:30
Monotone-Branch: ca.inverse.sogo
2012-01-04 15:26:30 +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
Ludovic Marcotte
1376d8654a Fixed handling of gb2312 charset
Monotone-Parent: 6b4e2f16b2a1ac3bbbb8f854763b7deb70bd8a46
Monotone-Revision: addfe836292fcae874e765a05ef776bfe841be1d

Monotone-Author: ludovic@Sophos.ca
Monotone-Date: 2011-07-29T13:26:14
Monotone-Branch: ca.inverse.sogo
2011-07-29 13:26:14 +00:00
Francis Lachapelle
a1c632977d See ChangeLog
Monotone-Parent: 60d25b994a09cdf59d84fc33832800e5bd16d86b
Monotone-Revision: cebbcbb7b32260bef20a831948eb14c29f494552

Monotone-Author: flachapelle@inverse.ca
Monotone-Date: 2011-07-13T16:05:30
Monotone-Branch: ca.inverse.sogo
2011-07-13 16:05:30 +00:00