Aleksander Machniak
c174c4150a
- Fix connecting to LDAP using ldapi:// URI ( #8990 )
2025-05-25 09:41:15 +02:00
Philip Weir
cd42de335a
Update links in comments and config to https where available ( #9759 )
2025-01-26 13:48:14 +01:00
Aleksander Machniak
b9493988d8
Fix PHP8 warning ( #9429 )
2024-04-29 11:08:34 +02:00
Aleksander Machniak
5f66eac79d
Fix PHP8 warnings ( #9363 )
2024-02-25 10:24:43 +01:00
Aleksander Machniak
3ba78d3a1b
Fix PHP8 warnings ( #9306 )
2024-01-20 10:42:45 +01:00
Aleksander Machniak
c95865e8a2
Fix PHP8 warnings ( #9306 )
2024-01-20 10:39:05 +01:00
Michael Voříšek
793664f568
Fix invalid phpdocs ( #9252 )
...
* fix missing return type in phpdoc
* fix "phpdoc_scalar"
* Fix phpdoc variable names typos
* fix wrong phpdoc tags
2023-12-13 19:55:05 +01:00
Aleksander Machniak
c59b643dec
Fix regression in handling LDAP search_fields configuration parameter ( #9210 )
2023-11-11 10:39:47 +01:00
Aleksander Machniak
5454c538d3
Fix PHP8 warnings
2023-07-13 11:38:16 +02:00
Aleksander Machniak
eaef7b3e4b
Fix PHP8 warnings
2023-07-12 18:56:17 +02:00
Aleksander Machniak
f40550f9d2
Fix regression where LDAP addressbook 'filter' option was ignored ( #9061 )
...
Also fix some PHP8 warnings
2023-07-11 10:52:50 +02:00
Aleksander Machniak
3e5d6f832f
Fix PHP8 warnings
2023-06-12 12:13:54 +02:00
Aleksander Machniak
c44c6981b3
Fix bug where LDAP (fulltext) search didn't work without 'search_fields' in config ( #8874 )
...
also fix some PHP warnings
2023-04-02 11:32:23 +02:00
Aleksander Machniak
4e7efcce63
Fix so LDAP VLV option is disabled by default as documented ( #8833 )
2023-01-29 13:20:18 +01:00
Aleksander Machniak
746c768e02
Fix PHP 8.1 warnings in the LDAP backend code ( #8572 )
2022-06-19 09:31:05 +02:00
Aleksander Machniak
dd15d503c7
Fix call to undefined method rcube_ldap_generic::option_set() ( #8564 )
2022-06-18 09:37:43 +02:00
Aleksander Machniak
00c5a585db
FIx PHP8 warnings ( #8437 )
2022-02-07 14:33:21 +01:00
Aleksander Machniak
7b81a71393
Don't use TLS by default ( #8359 )
...
Also unify the common code with a new rcube_utils::parse_host_uri() method
2021-12-11 09:52:23 +01:00
Aleksander Machniak
893216cb29
Unified and simplified services connection options ( #8310 )
2021-12-07 15:07:54 +01:00
Aleksander Machniak
626332d42a
Don't use is_resource() where not needed
2021-10-02 08:40:56 +02:00
Aleksander Machniak
f2688ba492
Use ?? operator where applicable
2021-09-21 19:12:06 +02:00
Aleksander Machniak
a493a31d84
Fix bug where consecutive LDAP searches could return wrong results ( #8064 )
2021-05-23 09:15:03 +02:00
Michael Stilkerich
74fab3e730
More extensive documentation for query-related rcube_addressbook API ( #7958 )
...
Also add list_records()'s $nocount parameter to all implementations
2021-05-15 14:15:21 +02:00
Josh Soref
203f456620
Spelling ( #8001 )
2021-04-18 08:43:18 +02:00
Aleksander Machniak
5aa0d09def
Add array_first() helper, fix some code issues
2020-12-20 09:44:17 +01:00
Aleksander Machniak
f4ed1024dc
PHP8 fixes, CS fixes, short array syntax, tests
2020-12-02 20:15:00 +01:00
Aleksander Machniak
66ca4f0f72
CS fixes, PHP8 fixes, short array syntax, tests
2020-11-30 14:03:11 +01:00
Aleksander Machniak
602c4a649d
Un-skip the rcube_ldap test, fix some PHP8 compat. bugs
2020-11-02 10:23:10 +01:00
Aleksander Machniak
545a1569f1
Steps -> Actions refactoring ( #7688 )
...
* Move action handling code to rcmail class
* Add rcmail_action class
* Add action aliases
* Get rid of $OUTPUT global
* Move some methods from rcmail to rcmail_action
* PHP8 compat. fixes
* Add framework for testing actions
* Fix obvious code mistakes
2020-11-01 11:25:38 +01:00
Aleksander Machniak
a5c2b4360c
Fixes in context of undefined variables, and code style
2020-08-15 12:13:31 +02:00
Aleksander Machniak
4cc20eef72
Fix bug where cache keys could exceed length limit specified in db schema ( #7004 )
2019-11-10 08:56:11 +01:00
Aleksander Machniak
66fab8cdb2
CS fixes, Avoid usused variables, fixed minor bugs
2019-10-05 19:44:39 +02:00
Aleksander Machniak
1afa46d28d
PHPDoc and CS fixes
2019-08-25 14:15:09 +02:00
Aleksander Machniak
8932abd2e7
CS fixes
2019-06-05 10:47:17 +02:00
Aleksander Machniak
57c67db029
Remove year(s) from copyright headers + some cleanup
2019-04-16 10:42:45 +02:00
Aleksander Machniak
a35699637d
Fix PHP error when using Net_LDAP3 from master
...
get_entry() method signature has changed. We don't really needed
that override in rcube_ldap_generic, so it's now removed.
2019-04-02 12:35:25 +02:00
Aleksander Machniak
c1aa2169f6
Plugin API: Added 'ldap_connected' hook
2018-11-26 09:43:43 +01:00
Aleksander Machniak
03fef0d6ca
New_user_identity: Fix %fu/%u vars substitution in user specific LDAP params ( #6419 )
2018-09-12 11:06:05 +02:00
Aleksander Machniak
a2875cdda9
- Fix searching contacts by address in LDAP source ( #6084 )
2017-12-26 08:34:21 +00:00
Aleksander Machniak
97bf251dc6
Don't use create_function() deprecated in PHP 7.2
2017-07-08 16:12:58 +02:00
Aleksander Machniak
336a0cd87b
strncasecmp() -> strcasecmp()
2017-05-19 14:41:25 +02:00
Aleksander Machniak
253aac5d9e
Fix var name
2017-05-19 08:36:05 +02:00
Aleksander Machniak
0a7a95b714
Support LDAP GSSAPI authentication ( #5703 )
...
Requires https://git.kolab.org/rPNL1d87f98d300645e15b7ad2819fcffb19010a060f
2017-05-18 11:08:31 +02:00
Aleksander Machniak
712875bde1
Fix bug where base_dn setting was ignored inside group_filters ( #5720 )
2017-04-10 13:22:09 +02:00
Aleksander Machniak
19fcc35a55
Fix regression in LDAP fuzzy search where it always used prefix search instead ( #5713 )
2017-03-31 09:45:21 +02:00
Aleksander Machniak
a99e479cb4
Fix variable substitution in ldap host for some use-cases, e.g. new_user_identity ( #5544 )
2016-12-01 08:46:15 +01:00
Aleksander Machniak
55cdf1569e
Support contact+group searches in all relevant places (T1360)
...
Before the search worked only in Addressbook, not also in Compose.
The point of the change is also to align group searches with contact searches
in that it now uses the same set of attributes. Previously groups
in Compose were searched by name only.
2016-08-08 07:12:39 -04:00
Aleksander Machniak
53b5ccfb0c
Fix regression where LDAP results could be counted incorrectly when using VLV
...
... broken by d08bd0a51f where we added searching in users+groups in one request
2016-08-05 09:47:27 -04:00
dsoares
8e7e22c656
Avoid PHP fatal error
...
After last change to file `rcube_ldap.php`, my roundcube instance was getting this error:
```
PHP Fatal error: Cannot use object of type Net_LDAP3_Result as array in ...
```
In
```php
protected function extended_search($count = false)
```
`$result = $this->ldap->search()` returns a LDAP object (whatever package we use).
If the search returns no results (and if `$is_extended_search` is false), then it gets to line 971 trying to do a `usort()` and then a `count()` on an object, instead of an array.
2016-06-27 12:44:59 +01:00
Aleksander Machniak
d08bd0a51f
Searching in both contacts and groups when LDAP addressbook with group_filters option is used
2016-06-20 09:02:38 +02:00