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
James Sumners
5ed1a32cd7
v2.0.0-pre.4
2019-12-07 10:44:06 -05:00
James Sumners
f4b14ec305
Merge pull request #584 from luddd3/next
...
refactor: resultError always emitted on errors
2019-12-07 10:42:20 -05:00
James Sumners
f93234e751
Merge branch 'next' into next
2019-12-07 10:38:35 -05:00
James Sumners
1395ce801d
Merge pull request #585 from ldapjs/update-integration-suite
...
Update image reference
2019-12-07 10:36:54 -05:00
James Sumners
cd9a9fe37f
Add integration test for issue #582
2019-12-07 10:33:02 -05:00
James Sumners
abef455323
Lock tap version until bug is resolved
2019-12-07 10:01:03 -05:00
James Sumners
c4fc432a80
Disable useless tap features
2019-12-07 09:54:29 -05:00
James Sumners
76469c80a4
Update image reference
2019-12-07 09:48:41 -05:00
Mathias Lundell
d7d2e99275
refactor: resultError always emitted on error
2019-12-03 17:14:05 +01:00
Thomas P
9a3c7bab61
Merge branch 'next' into fix-bind-crash
2019-11-24 16:33:37 +01:00
James Sumners
5354e9cda6
Merge pull request #580 from ldapjs/jsumners-patch-1
...
Fix coveralls config
2019-11-18 07:22:07 -05:00
James Sumners
7d39706294
Fix coveralls config
2019-11-18 07:17:36 -05:00
James Sumners
4fa7ca061b
Merge pull request #579 from ldapjs/bump-v2.0.0-pre.3
...
v2.0.0-pre.3
2019-11-16 10:54:02 -05:00
James Sumners
6d44d409e4
v2.0.0-pre.3
2019-11-16 10:49:11 -05:00
James Sumners
1f12eca334
Add integration tests ( #571 )
...
* Initial integration test, um, test
* Hack in service
* Add integration test for issue #480
* Add fix for issue #418
* Add fix for issue #370
2019-11-16 10:48:00 -05:00
Thomas P
5afa677209
Also test timeout cases
2019-10-12 00:36:37 +02:00
Thomas P
c27e14960e
Avoid handling all errors now that blocking errors are handled properly
2019-10-12 00:35:19 +02:00
Thomas P
eda98986f2
FIX: Refused connections are now handled gracefully
2019-10-12 00:34:27 +02:00
Thomas P
d702c455bd
Refactor the patch to limit its scope to bind actions
...
This way, other tests keep passing
2019-10-11 23:23:46 +02:00
Thomas P
53d6b36bb2
Add test for connection refused issue
2019-10-11 23:23:05 +02:00
Thomas P
bc61f67b12
Lint fixes
2019-10-11 22:54:53 +02:00
Thomas P
ce243d5318
Update the patch to use the logger interface
2019-10-11 22:42:44 +02:00
Matthew Nakama
79f3625f61
handle Client.emit('error') events
...
This prevents node crashes from Client.bind() and etc.
We set a callback handler in the instance during bind()
and send errors to it.
2019-10-11 22:41:17 +02:00
James Sumners
0ccbec6adb
Merge pull request #569 from ldapjs/client-options-tweaks
...
Clean up options checking and add some tests
2019-09-29 09:15:20 -04:00
James Sumners
5a31abaed0
Clean up options checking and add some tests
2019-09-29 09:09:18 -04:00
James Sumners
eb4f665983
Merge pull request #553 from Worteks/next-vls-controls
...
Added support for Virtual List View (vlv) control for browsing directory using paged search
2019-09-29 09:08:53 -04:00
Soisik Froger
fa6ffb4504
Merge branch 'next' into next-vls-controls
2019-09-21 17:55:30 +02:00
James Sumners
dd2a722169
Merge pull request #565 from UziTech/fix-escapedtohex
...
Fix escapedToHex
2019-09-18 16:47:31 -04:00
Tony Brix
ed70fd7615
test escaped single hex char at end of filter
2019-09-18 14:46:49 -05:00
Tony Brix
ecfefa7ff0
fix escapedToHex capturing \
2019-09-18 14:35:10 -05:00
James Sumners
a113953e0d
Merge pull request #561 from ldapjs/bump-v2.0.0-pre.2
...
v2.0.0-pre.2
2019-09-15 09:57:24 -04:00
James Sumners
3c7884fa2e
v2.0.0-pre.2
2019-09-15 09:53:36 -04:00
James Sumners
bc660e124d
Merge branch 'next' into next-vls-controls
2019-09-15 09:36:12 -04:00
James Sumners
dadac0c36c
Merge pull request #560 from ldapjs/fix-badge
...
Actually fix the badge
2019-09-15 09:35:28 -04:00
James Sumners
0efac83852
Fix coveralls badge
2019-09-15 09:31:18 -04:00
James Sumners
e75f21bcd5
Actually fix the badge
2019-09-15 09:25:06 -04:00
James Sumners
c80bcc106f
Merge pull request #559 from ldapjs/gh-actions
...
Add GitHub actions testing
2019-09-15 09:22:23 -04:00
James Sumners
7b5085f9d5
Add GitHub actions testing
...
Fix yaml indentation and add name
Fix test script name
Add lcov path
Move coveage to separate job
Debug coverage
Fix coverage testing
Update badge
Fix badge
2019-09-15 09:18:15 -04:00
James Sumners
db8d5f5ccb
Merge branch 'next' into next-vls-controls
2019-09-08 07:34:14 -04:00
James Sumners
4b2e55e111
Merge pull request #556 from sinistersig/next
...
Ensure toString is not called on buffers
2019-09-07 07:41:51 -04:00
sinistersig
06b1804d32
Ensure toString is not called on buffers
2019-09-06 11:27:37 +01:00
Soisik Froger
311c94ef15
Virtual List View control support
2019-09-04 12:13:51 +02:00