Commit Graph

820 Commits

Author SHA1 Message Date
Tony Brix fb6816dd62
Merge pull request #750 from tpretz/fix/anonbind 2021-08-03 12:45:32 -05:00
Tony Brix 4a3113f0fb
Merge branch 'master' into fix/anonbind 2021-08-03 11:35:33 -05:00
Tony Brix b9712046f8
Merge pull request #754 from JohnTJohnston/clientFix 2021-08-03 11:35:22 -05:00
Tony Brix 8b2449c502
Merge branch 'master' into fix/anonbind 2021-08-03 10:07:48 -05:00
Tony Brix bab1dfcf4b
Merge branch 'master' into clientFix 2021-08-03 10:07:44 -05:00
Tony Brix 3f13640494
Merge pull request #753 from JohnTJohnston/modifyDNFix
fix: modifyDn length fix
2021-08-03 10:07:32 -05:00
Tony Brix 78e3ed5aae
Merge branch 'master' into fix/anonbind 2021-08-03 10:07:00 -05:00
John Johnston b6d60b9010 chore: 'add buffer' unit test 2021-08-01 12:38:00 -07:00
John Johnston 4c75096c80 chore: add 'modify DN excessive superior length' unit test 2021-07-31 14:52:13 -07:00
John Johnston fc0346bce1 fix: lint fix 2021-07-29 10:13:47 -07:00
John Johnston 3e3fa4ba12 fix: client.add not adding buffers properly
Fixed while getting AD thumbnailPhoto to work.
2021-07-29 08:58:08 -07:00
John Johnston badf820523 fix: modifyDn length fix 2021-07-29 08:53:40 -07:00
Tony Brix 91de94d1a6
Merge pull request #746 from ldapjs/dependabot/github_actions/coverallsapp/github-action-1.1.3
Bump coverallsapp/github-action from 1.1.2 to 1.1.3
2021-07-24 21:44:39 -05:00
dependabot[bot] b7ea341cd5
Bump coverallsapp/github-action from 1.1.2 to 1.1.3
Bumps [coverallsapp/github-action](https://github.com/coverallsapp/github-action) from 1.1.2 to 1.1.3.
- [Release notes](https://github.com/coverallsapp/github-action/releases)
- [Commits](https://github.com/coverallsapp/github-action/compare/v1.1.2...1.1.3)

---
updated-dependencies:
- dependency-name: coverallsapp/github-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-07-24 10:49:28 +00:00
James Sumners bfdd7b36b7
Merge pull request #752 from ldapjs/dependabot/github_actions/actions/setup-node-2.3.0 2021-07-24 06:48:50 -04:00
dependabot[bot] 3c3843a399
Bump actions/setup-node from 2.1.5 to 2.3.0
Bumps [actions/setup-node](https://github.com/actions/setup-node) from 2.1.5 to 2.3.0.
- [Release notes](https://github.com/actions/setup-node/releases)
- [Commits](https://github.com/actions/setup-node/compare/v2.1.5...v2.3.0)

---
updated-dependencies:
- dependency-name: actions/setup-node
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-07-24 07:00:46 +00:00
Thomas Pressnell 5598feda6d use getter 2021-07-12 16:32:06 +01:00
Thomas Pressnell fae35237de adding rebind checks 2021-07-12 16:24:01 +01:00
Thomas Pressnell b85c4acb4c adding bindDN adjustments 2021-07-12 16:02:12 +01:00
James Sumners 3430f05d91
Merge pull request #736 from ldapjs/dependabot/npm_and_yarn/highlight.js-11.0.1
Bump highlight.js from 10.7.3 to 11.0.1
2021-06-05 07:38:44 -04:00
dependabot[bot] 5c569e1a40
Bump highlight.js from 10.7.3 to 11.0.1
Bumps [highlight.js](https://github.com/highlightjs/highlight.js) from 10.7.3 to 11.0.1.
- [Release notes](https://github.com/highlightjs/highlight.js/releases)
- [Changelog](https://github.com/highlightjs/highlight.js/blob/11.0.1/CHANGES.md)
- [Commits](https://github.com/highlightjs/highlight.js/compare/10.7.3...11.0.1)

---
updated-dependencies:
- dependency-name: highlight.js
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-06-05 07:01:50 +00:00
Tony Brix 27bdd07a78
Merge pull request #734 from ldapjs/dependabot/npm_and_yarn/eslint-plugin-promise-5.1.0 2021-05-30 22:14:02 -05:00
dependabot[bot] 8d1c3a3144
Bump eslint-plugin-promise from 4.3.1 to 5.1.0
Bumps [eslint-plugin-promise](https://github.com/xjamundx/eslint-plugin-promise) from 4.3.1 to 5.1.0.
- [Release notes](https://github.com/xjamundx/eslint-plugin-promise/releases)
- [Changelog](https://github.com/xjamundx/eslint-plugin-promise/blob/development/CHANGELOG.md)
- [Commits](https://github.com/xjamundx/eslint-plugin-promise/commits)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-29 07:01:45 +00:00
Tony Brix b499098ce3
Merge pull request #733 from UziTech/v2.3.0 2021-05-27 15:20:46 -05:00
Tony Brix ec5ab6db19 2.3.0 2021-05-27 14:23:01 -05:00
Tony Brix f5a8b6af15
Merge pull request #727 from CoryGH/master
connection router to accomodate multithreading
2021-05-27 14:19:11 -05:00
Tony Brix 6d1f23a831 lint 2021-05-27 14:16:05 -05:00
Tony Brix 9b1a10fff0
Merge branch 'master' into master 2021-05-27 14:13:56 -05:00
Tony Brix 505f1f84c6
Merge pull request #730 from zyf0330/master 2021-05-27 14:13:48 -05:00
Tony Brix 79c1b4ccf3
Merge branch 'master' into master 2021-05-27 14:08:37 -05:00
Tony Brix f719574ce9
Merge pull request #723 from seewer/fix-paged-concurrent 2021-05-27 14:08:24 -05:00
zhaoyunfeng fb6d18a48d lint: fix lint error. 2021-05-24 13:33:57 +08:00
link d6ffd550e9
Update docs/client.md
Co-authored-by: Tony Brix <tony@brix.ninja>
2021-05-24 13:33:09 +08:00
zhaoyunfeng e74ba91238 feat: now search callback response will emit SearchRequest after every search request is sent 2021-05-24 12:34:32 +08:00
James Sumners c2494eca00
Apply suggestions from code review 2021-05-21 08:04:41 -04:00
CoryGH b860932b9b
updated documentation
Updated examples documentation.
2021-05-21 05:08:51 -04:00
CoryGH dede2e6165
addition of example for threading via net server
Addition of working example demonstrating threading via clustering and a net server forwarding socket connections to ldapjs.
2021-05-21 05:01:31 -04:00
CoryGH c97f1becff
adding example for cluster-based multithreading
working example of cluster-based multithreading utilizing connectionRouter override.
2021-05-21 04:53:57 -04:00
CoryGH 91cac2fdaa
linting typos
linting typos fixed
2021-05-20 12:27:10 -04:00
CoryGH 8a791d4bf0
net dependency
net dependency
2021-05-20 10:40:37 -04:00
CoryGH 992be5a557
adding connectionRouter hook
adding connectionRouter hook back in
2021-05-20 10:35:13 -04:00
CoryGH 534e3dd542
test for multithreading support
tests for multithreading support via non-ldapjs-server and via hook into ldapjs server
2021-05-20 10:33:46 -04:00
CoryGH 6cce4f60cc
removing hook while keeping newConnection change
removal of hook while keeping `newConnection` change from private to public for use in multithreaded applications
2021-05-20 07:21:52 -04:00
CoryGH bca931a4cd
connection router to accomodate multithreading
connection router hook added to accommodate multithreaded servers
2021-05-19 14:36:51 -04:00
seewer 137590d293
Merge branch 'master' into fix-paged-concurrent 2021-05-11 08:56:28 +02:00
James Sumners 010b472dd8
Merge pull request #724 from ldapjs/dependabot/npm_and_yarn/tap-15.0.9
Bump tap from 15.0.6 to 15.0.9
2021-05-09 10:30:02 -04:00
dependabot[bot] 61ce19ec49
Bump tap from 15.0.6 to 15.0.9
Bumps [tap](https://github.com/tapjs/node-tap) from 15.0.6 to 15.0.9.
- [Release notes](https://github.com/tapjs/node-tap/releases)
- [Commits](https://github.com/tapjs/node-tap/compare/v15.0.6...v15.0.9)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-08 07:06:14 +00:00
Philippe Seewer d064b359d3 Run lint.
Signed-off-by: Philippe Seewer <philippe.seewer@bfh.ch>
2021-05-07 15:50:02 +02:00
Philippe Seewer e07656b233 SearchPager: Implement queueing events until a listener appears
This fixes the same problems for paged searches as does
https://github.com/ldapjs/node-ldapjs/pull/610 for unpaged searches.

By passing an EventEmitter via callback there exist cases when events
are emitted before listeners are registered, resulting in missed
events.

The Change turns SearchPager into a CorkedEmitter which is already
used as a solution for non paged searches. Doing so requires the
internal 'search' event to be dropped.

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

Signed-off-by: Philippe Seewer <philippe.seewer@bfh.ch>
2021-05-07 14:04:37 +02:00
James Sumners 17d8b4cedf
Merge pull request #720 from ldapjs/dependabot/npm_and_yarn/tap-15.0.6
Bump tap from 15.0.2 to 15.0.6
2021-05-04 08:05:32 -04:00