63 Commits

Author SHA1 Message Date
smizrahi
178b1a3a0e feat(core): Check password strength on login (SQL Source). Closes #6025. 2024-12-02 11:08:39 +01:00
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
427f7f4b4f feature(contact): Show 100 first results for global address book. Fix commit #17eca6f 2023-12-20 15:36:37 +01:00
smizrahi
17eca6f96a feature(contact): Show 100 first results for global address book 2023-12-18 08:34:53 +01:00
smizrahi
656807b77d feat(password-recovery): Add password recovery with secret question or secondary email 2022-10-03 08:56:41 +02:00
Le Programmeur
5e6ad77d4c fix(i18n): new localized strings for SQL-based password policies 2022-07-26 12:22:53 -04:00
Francis Lachapelle
0720dc44fd fix(addressbook(dav)): improve handling of addressbook-query 2022-07-13 16:46:00 -04:00
Francis Lachapelle
2ef849ca65 feat(preferences): password constraints for SQL sources
Initial implementation of some password policy support for SQL sources.
2022-06-06 16:39:26 -04:00
Francis Lachapelle
373ac51e62 fix(core): don't auto-remove a subscription if any source is in error 2022-05-11 16:29:49 -04:00
Francis Lachapelle
8409c3cbb5 fix(addressbook(dav)): add support for mail property in addressbook-query
Fixes #5489
2022-03-04 08:29:03 -05: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
7c81e3acec fix(core): only escape "%" with the SQL LIKE operator 2022-01-31 14:53:58 -05:00
Francis Lachapelle
368360bb95 fix(addressbook): respect visible domains when fetching contact
Fixes #4896
2022-01-11 16:40:53 -05:00
Francis Lachapelle
dec4f24aa4 fix(addressbook): use pool to lower memory usage 2021-09-30 09:13:28 -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
f0368d028b fix(core): handle null values in modules constraints of SQL sources 2021-09-13 09:49:14 -04:00
Ludovic Marcotte
f0980a9cbd feat(core): Added AES-128-CBC password scheme for SQL authentication.
This allows SOGo to use Plesk's database as an authentication source.
2020-01-06 15:47:47 -05:00
Francis Lachapelle
c1ccbae316 style(obj-c): replace tabs by spaces 2019-12-17 11:15:50 -05:00
Francis Lachapelle
c4c1de771c Minor code improvement in SQLSource.m 2018-07-06 12:40:43 -04:00
Ludovic Marcotte
b0e59f9ac9 Revert "(fix) make sure to use crypt as the scheme for md5/sha256/sha512 (fixes #4137)"
This reverts commit 63cb80142b.
2018-04-27 08:55:13 -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
a2129f3e4a ModulesConstraints and listRequiresDot for SQL
SQL sources used for authentication can now have module constraints.
Entries of SQL sources used as address books can now be displayed
automatically.
2017-11-16 21:46:44 -05:00
Francis Lachapelle
38d4a26827 Avoid calls on null objects
Fixes #4329
2017-11-08 16:24:26 -05:00
Ludovic Marcotte
63cb80142b (fix) make sure to use crypt as the scheme for md5/sha256/sha512 (fixes #4137) 2017-05-08 10:44:12 -04:00
Ludovic Marcotte
8b9ceb3273 (fix) allow multiple space-delimited addresses in the MailFieldNames column 2016-08-19 11:45:15 -04: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
Euan Thoms
212ff64828 Stage 2 of clang compiler warning patches. 2015-11-04 03:36:34 +08:00
Ludovic Marcotte
731264d9dc (fix) make sure ActiveSync is always usable with SQL-based auth sources 2015-07-22 10:14:03 -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
7c250fad8f Fix for bug #1061. 2012-11-26 13:13:06 -05:00
Ludovic Marcotte
6ad59a8481 Apply patches for bug #2060 2012-11-06 09:04:18 -05: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
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
Wolfgang Sourdeau
68e8a28846 Monotone-Parent: 3d26091bec393e3abf8d2b6033e0737e09c207b9
Monotone-Revision: c110b42afb9f73f9a8ea6c766ec8e46b798c7316

Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2012-02-22T18:37:58
Monotone-Branch: ca.inverse.sogo
2012-02-22 18:37:58 +00:00
Wolfgang Sourdeau
3274bd1f4c Monotone-Parent: 64241052c164949118642194441e9a30cbdc3d58
Monotone-Revision: 53ba3739a8b7ce64040a91695b40bad1a7d7e1aa

Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2012-02-22T14:44:22
Monotone-Branch: ca.inverse.sogo
2012-02-22 14:44:22 +00:00
Wolfgang Sourdeau
1746d307f3 Monotone-Parent: 10bc75b22aa9828644f846e67ae3509d61793864
Monotone-Revision: 181c204ddec5a60db59ce4a63428f75cb20a7a81

Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2012-01-16T20:18:39
Monotone-Branch: ca.inverse.sogo
2012-01-16 20:18:39 +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
481de5d654 Fix for bug #1502
Monotone-Parent: 0b1c93d1d141650c6567513a3f7a175ca4d27623
Monotone-Revision: 5e690b49423932996ff78f8ea2c1881306f09fa3

Monotone-Author: ludovic@Sophos.ca
Monotone-Date: 2011-12-30T13:38:17
2011-12-30 13:38:17 +00:00
Francis Lachapelle
fafcd1aaab See ChangeLog.
Monotone-Parent: 9622fc005299a8ed3c143c177667be6f33df9523
Monotone-Revision: d03d3ac4770756bf4494d9e20e9768b28e5ff0cb

Monotone-Author: flachapelle@inverse.ca
Monotone-Date: 2011-10-26T15:25:49
2011-10-26 15:25:49 +00:00
Francis Lachapelle
f44212f0e6 See ChangeLog
Monotone-Parent: c0fdc871e5cf2faadbed16ce1c4275647d0928b4
Monotone-Revision: 178cf4e5311729ac333305676b5ad2aa35a7ca71

Monotone-Author: flachapelle@inverse.ca
Monotone-Date: 2011-06-24T19:19:50
Monotone-Branch: ca.inverse.sogo
2011-06-24 19:19:50 +00:00
Ludovic Marcotte
8f81f2b0db See ChangeLog
Monotone-Parent: 9b0e70cef01c0afdbc1684211507c86871122671
Monotone-Revision: 62fdfc357dc0083e5a5dfdb61396923e593cac82

Monotone-Author: ludovic@Sophos.ca
Monotone-Date: 2011-04-28T13:36:29
Monotone-Branch: ca.inverse.sogo
2011-04-28 13:36:29 +00:00
Francis Lachapelle
a87bba64b2 Added support for the parameter "IMAPLoginMailField" for SQL/LDAP sources, and the parameter "authenticationFilter" for SQL sources. See ChangeLog.
Monotone-Parent: 1cdaff22cdbdb961e1937dc8f1ac1936bd06dc99
Monotone-Revision: 36439821e42cfcb830bfff9081d7e1318f1e92ab

Monotone-Author: flachapelle@inverse.ca
Monotone-Date: 2011-04-14T18:41:10
Monotone-Branch: ca.inverse.sogo
2011-04-14 18:41:10 +00:00
Ludovic Marcotte
cb76677762 Sanity check if the encrypted password isn't found in one source, to avoid a crash when invoking crypt() on it
Monotone-Parent: cbeb8ed4edd6c44d422f9251785ee9bfad432e71
Monotone-Revision: 4a37382e84f4a00ccbbc0542ef0ae4a99a954cdd

Monotone-Author: ludovic@Sophos.ca
Monotone-Date: 2011-03-29T14:34:14
Monotone-Branch: ca.inverse.sogo
2011-03-29 14:34:14 +00:00
Francis Lachapelle
110c26578f See ChangeLog
Monotone-Parent: 01007adc666a7e8c89a42c0f76d28007c766519c
Monotone-Revision: 380b86e5c0d4f7e3c452e904f2a11e814e95ee59

Monotone-Author: flachapelle@inverse.ca
Monotone-Date: 2011-03-24T14:11:48
Monotone-Branch: ca.inverse.sogo
2011-03-24 14:11:48 +00:00
Ludovic Marcotte
5d240197ce See ChangeLog
Monotone-Parent: 58318ff8b98f933c6f6fffe3d652a2954b890c7c
Monotone-Revision: 11ff37ba45941fd41e25ca5ecc695c49c15bf651

Monotone-Author: ludovic@Sophos.ca
Monotone-Date: 2011-03-04T20:30:28
Monotone-Branch: ca.inverse.sogo
2011-03-04 20:30:28 +00:00
Ludovic Marcotte
f3e23ff651 See ChangeLog
Monotone-Parent: baa6f9af328e12270813b11beac4250ab90005b0
Monotone-Revision: 659def76b8868bdc540986987d61b39410737054

Monotone-Author: ludovic@Sophos.ca
Monotone-Date: 2011-02-02T01:58:56
Monotone-Branch: ca.inverse.sogo
2011-02-02 01:58:56 +00:00
Ludovic Marcotte
be67998283 See ChangeLog
Monotone-Parent: d7aebce05726f8e7de4e1e755b2143939a487c9e
Monotone-Revision: f661875c0ea83ef886f78e3b498bc05b1d105e9a

Monotone-Author: ludovic@Sophos.ca
Monotone-Date: 2011-01-05T20:59:47
Monotone-Branch: ca.inverse.sogo
2011-01-05 20:59:47 +00:00