Commit Graph

820 Commits

Author SHA1 Message Date
James Stenhouse 24d8a6f8b3 remove space from dn comparision 2020-07-28 09:15:46 +10:00
spookiej 53c6275610
Merge branch 'master' into 645-search-response-spaces-dn 2020-07-28 08:53:58 +10:00
James Sumners c39285b5cf
Merge pull request #638 from ldapjs/dependabot/npm_and_yarn/tap-14.10.8 2020-07-22 12:51:41 -04:00
James Sumners 7f7ec42071
Merge branch 'master' into dependabot/npm_and_yarn/tap-14.10.8 2020-07-22 12:46:43 -04:00
James Sumners 03c4dab922
Merge pull request #644 from ldapjs/jsumners-patch-1
Update dependabot.yml
2020-07-22 12:44:36 -04:00
dependabot[bot] ac30b35903
Bump tap from 14.10.1 to 14.10.8
Bumps [tap](https://github.com/tapjs/node-tap) from 14.10.1 to 14.10.8.
- [Release notes](https://github.com/tapjs/node-tap/releases)
- [Commits](https://github.com/tapjs/node-tap/compare/v14.10.1...v14.10.8)

Signed-off-by: dependabot[bot] <support@github.com>
2020-07-22 16:41:31 +00:00
James Sumners 6ee5db077c
Update dependabot.yml
Seems the versioning strategy isn't supported for actions?
2020-07-22 12:41:03 -04:00
Tony Brix 0e8e9aa110
Merge pull request #643 from UziTech/remove-uuid
remove uuid
2020-07-22 10:26:25 -05:00
Tony Brix acc1e4ca8d remove uuid 2020-07-22 10:11:48 -05:00
James Sumners 2b4b9ed5a2
Merge pull request #642 from ldapjs/dependabot-config-tweak
Update dependabot.yml
2020-07-22 08:50:00 -04:00
James Sumners d2629280e0
Apply suggestions from code review 2020-07-22 08:00:22 -04:00
James Sumners 1c82d82b37
Update dependabot.yml
+ Check for updates on a day when there is likely more time for them to be dealt with
+ Only apply version changes if they are not already covered by the configured qualifiers
2020-07-22 07:58:47 -04:00
James Sumners 98fb40df69
Merge pull request #639 from ldapjs/dependabot/npm_and_yarn/husky-4.2.5
Bump husky from 3.1.0 to 4.2.5
2020-07-22 07:46:43 -04:00
dependabot[bot] 2f2fa350ef
Bump husky from 3.1.0 to 4.2.5
Bumps [husky](https://github.com/typicode/husky) from 3.1.0 to 4.2.5.
- [Release notes](https://github.com/typicode/husky/releases)
- [Changelog](https://github.com/typicode/husky/blob/master/CHANGELOG.md)
- [Commits](https://github.com/typicode/husky/compare/v3.1.0...v4.2.5)

Signed-off-by: dependabot[bot] <support@github.com>
2020-07-22 10:07:06 +00:00
Tony Brix 8caf052d97
Merge pull request #640 from ldapjs/dependabot/npm_and_yarn/abstract-logging-2.0.0 2020-07-22 01:01:38 -05:00
Tony Brix d2c5464bc2
no need to create instance 2020-07-21 20:28:15 -05:00
dependabot[bot] 3b33c00197
Bump abstract-logging from 1.0.0 to 2.0.0
Bumps [abstract-logging](https://github.com/jsumners/abstract-logging) from 1.0.0 to 2.0.0.
- [Release notes](https://github.com/jsumners/abstract-logging/releases)
- [Commits](https://github.com/jsumners/abstract-logging/commits/v2.0.0)

Signed-off-by: dependabot[bot] <support@github.com>
2020-07-21 23:03:09 +00:00
dependabot[bot] 1ea07d4430
Update actions/checkout requirement to v2.3.1
Updates the requirements on [actions/checkout](https://github.com/actions/checkout) to permit the latest version.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](28c7f3d2b5)

Signed-off-by: dependabot[bot] <support@github.com>
2020-07-21 22:57:36 +00:00
Tony Brix 4fcec8427d
Merge pull request #634 from UziTech/use-dependabot 2020-07-21 17:56:50 -05:00
Tony Brix 41d17988de
Merge branch 'master' into use-dependabot 2020-07-21 17:32:52 -05:00
James Sumners fd216f43e3
Merge pull request #635 from ldapjs/bump-v2.1.0
v2.1.0
2020-07-21 17:59:28 -04:00
James Sumners b8100b114c
v2.1.0 2020-07-21 17:54:12 -04:00
Tony Brix 8b525af520
run dependabot weekly
Co-authored-by: James Sumners <james@sumners.email>
2020-07-21 16:53:00 -05:00
James Sumners 9d69b5f56d
Merge pull request #630 from greatcare/629-instanceof
Replace instanceof check with duck-typing in Filter#toBer mixin
2020-07-21 17:51:55 -04:00
Tony Brix afd444466f add dependabot.yml 2020-07-21 15:46:06 -05:00
Robert Kawecki 1a09e62eda
Make false check explicit in isBerWriter comparison
Co-authored-by: James Sumners <james@sumners.email>
2020-07-21 13:51:49 +02:00
Robert Kawecki 4318b28198 Integrate falsy check into isBerWriter to avoid long inline conditions
For #629
2020-07-21 13:34:59 +02:00
Robert Kawecki b0b5e935c7 Add duck-type check for BerWriter in filter#toBer mixin
For #629
2020-07-17 09:19:10 +02:00
Robert Kawecki 3c5138de26 Remove instanceof check in filter#toBer mixin
For #629
2020-07-17 09:19:10 +02:00
James Sumners 8b70279c57
Merge pull request #631 from ldapjs/jsumners-patch-1
Update main CI
2020-07-16 19:28:13 -04:00
James Sumners 09b128b79e
Update main CI
Trying to resolve https://github.com/coverallsapp/github-action/issues/26

Also a couple other updates.
2020-07-16 19:24:50 -04:00
James Stenhouse 6efc5e0c43 fix spaces in returned ObjectName 2020-07-04 19:05:59 +10:00
James Sumners e54555ae0a
Merge pull request #620 from ldapjs/next
Release v2!
2020-05-31 09:10:01 -04:00
James Sumners d773365909
Merge pull request #619 from ldapjs/release-v2
Prep v2 release
2020-05-31 09:04:45 -04:00
James Sumners 2a6d2be047
v2.0.0 2020-05-31 08:59:56 -04:00
James Sumners 3db991ba9f
Update changelog 2020-05-31 08:58:50 -04:00
James Sumners d8c428f1d5
Merge pull request #615 from rkaw92/612-tests-unused-tcp-port 2020-05-21 08:05:42 -04:00
Robert Kawecki c9be815d4f Use a random TCP port for testing timeouts/rejects
This fixes a test failure when the host has something listening
on the LDAP TCP port. Previously, the test cases would assume
that the port was free and they would not connect.

For #612
2020-05-20 23:20:06 +02:00
James Sumners e14cf696a0
Merge pull request #613 from greatcare/611-search-request-space-in-dn
Remove spaces from DNs in SearchRequest
2020-05-15 17:41:04 -04:00
Robert Kawecki a9a2d5396f
Merge branch 'next' into 611-search-request-space-in-dn 2020-05-13 17:07:10 +02:00
Robert Kawecki 6b092cf70f Remove spaces from DNs in SearchRequest
This change fixes how DNs are serialized into BER for SearchRequest messages.
It drops spaces around commas, since it breaks some LDAP servers that expect
the DN to be separated by comma only as per RFC 4514. The old format of
spaced separators from LDAPv2 is thus no longer used.

For #611
2020-05-13 17:01:00 +02:00
James Sumners c114fc3112
Merge pull request #610 from greatcare/next 2020-05-13 08:05:58 -04:00
Robert Kawecki 5204bb7ac0 Implement queueing events until a listener appears
This resolves an issue arising from using both a callback and an EventEmitter
together in the Client.search() API. Since the emitter would only be available
through the callback, some events could be emitted before the callback
is triggered, resulting in missed events.

This change incorporates a test case originally by László Szűcs (@ifroz).

For GH-602
2020-05-12 16:51:28 +02:00
James Sumners a67303e7a4
Merge pull request #598 from jonekdahl/issue-415
Add server.getConnections (fix #415)
2020-02-20 07:51:28 -05:00
Jon Ekdahl 7c00ca8188 Add server.getConnections (fix #415)
Add LDAP server method that delegates to node server.getConnection.
2020-02-19 20:02:57 +01:00
James Sumners 8384a4736f
Merge pull request #587 from ldapjs/bump-v2.0.0-pre.5
v2.0.0-pre.5
2019-12-15 08:35:44 -05:00
James Sumners fee197ed43
v2.0.0-pre.5 2019-12-15 08:31:22 -05:00
James Sumners f690493768
Merge pull request #574 from TPXP/fix-bind-crash
Handle connection refused and connection timeouts gracefully
2019-12-15 08:29:54 -05:00
James Sumners 2901e48cb4
Merge branch 'next' into fix-bind-crash 2019-12-15 08:25:23 -05:00
James Sumners 68301be4cb
Merge pull request #586 from ldapjs/bump-v2.0.0-pre.4
v2.0.0-pre.4
2019-12-07 10:50:49 -05:00