Commit Graph

757 Commits

Author SHA1 Message Date
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
dependabot[bot] 88bb4c40a5
Bump tap from 15.0.2 to 15.0.6
Bumps [tap](https://github.com/tapjs/node-tap) from 15.0.2 to 15.0.6.
- [Release notes](https://github.com/tapjs/node-tap/releases)
- [Commits](https://github.com/tapjs/node-tap/compare/v15.0.2...v15.0.6)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-01 07:01:31 +00:00
James Sumners 69a18c7983
Merge pull request #717 from ldapjs/dependabot/npm_and_yarn/tap-15.0.2 2021-04-10 08:19:45 -04:00
dependabot[bot] 24256d2554
Bump tap from 15.0.1 to 15.0.2
Bumps [tap](https://github.com/tapjs/node-tap) from 15.0.1 to 15.0.2.
- [Release notes](https://github.com/tapjs/node-tap/releases)
- [Commits](https://github.com/tapjs/node-tap/compare/v15.0.1...v15.0.2)

Signed-off-by: dependabot[bot] <support@github.com>
2021-04-10 07:01:42 +00:00
Tony Brix 50ab06f50f
Merge pull request #716 from ldapjs/dependabot/npm_and_yarn/tap-15.0.1 2021-04-05 08:15:51 -05:00
Tony Brix 2a4af7a855 check-coverage: false 2021-04-05 00:38:39 -05:00
Tony Brix a1b4ceed1d fix deprecations 2021-04-05 00:34:59 -05:00
Tony Brix daf1eb8f43 return promises in before/after each 2021-04-05 00:25:32 -05:00
dependabot[bot] f525cebb64
Bump tap from 14.11.0 to 15.0.1
Bumps [tap](https://github.com/tapjs/node-tap) from 14.11.0 to 15.0.1.
- [Release notes](https://github.com/tapjs/node-tap/releases)
- [Commits](https://github.com/tapjs/node-tap/compare/v14.11.0...v15.0.1)

Signed-off-by: dependabot[bot] <support@github.com>
2021-04-03 07:02:27 +00:00
James Sumners 1570e04952
Merge pull request #709 from ldapjs/dependabot/github_actions/actions/setup-node-v2.1.5
Bump actions/setup-node from v1 to v2.1.5
2021-02-27 07:41:50 -05:00
dependabot[bot] b17973ed41
Bump actions/setup-node from v1 to v2.1.5
Bumps [actions/setup-node](https://github.com/actions/setup-node) from v1 to v2.1.5.
- [Release notes](https://github.com/actions/setup-node/releases)
- [Commits](https://github.com/actions/setup-node/compare/v1...46071b5c7a2e0c34e49c3cb8a0e792e86e18d5ea)

Signed-off-by: dependabot[bot] <support@github.com>
2021-02-27 08:00:49 +00:00
Tony Brix 1dfc2afbbd
Merge pull request #708 from UziTech/simplify-docs
docs: simplify docs
2021-02-25 23:54:41 -06:00
Tony Brix 7d01d1679c docs: simplify docs 2021-02-25 01:39:35 -06:00
Tony Brix 0b2ac8b23c
Merge pull request #707 from timgates42/bugfix_typos 2021-02-24 22:56:59 -06:00