Commit Graph

121 Commits

Author SHA1 Message Date
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 fee197ed43
v2.0.0-pre.5 2019-12-15 08:31:22 -05:00
James Sumners 5ed1a32cd7
v2.0.0-pre.4 2019-12-07 10:44:06 -05:00
James Sumners abef455323
Lock tap version until bug is resolved 2019-12-07 10:01:03 -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
James Sumners 3c7884fa2e
v2.0.0-pre.2 2019-09-15 09:53:36 -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 d6f58e6487
v2.0.0-pre.1 2019-09-01 22:37:39 -04:00
James Sumners 2e1ef78108
Refactor client RequestQueue into testable module (#548)
* Refactor client RequestQueue into testable module

* Update test/lib/client/request-queue/enqueue.test.js

Co-Authored-By: Tony Brix <tony@brix.ninja>

* Update test/lib/client/request-queue/enqueue.test.js

Co-Authored-By: Tony Brix <tony@brix.ninja>

* Update test/lib/client/request-queue/enqueue.test.js

Co-Authored-By: Tony Brix <tony@brix.ninja>
2019-08-28 19:15:09 -04:00
James Sumners 9f3400eef6
Remove binary scripts 2019-08-28 15:00:57 -04:00
Tony Brix 228aa3a7bc remove quotes around npm script args 2019-08-27 16:31:33 -05:00
James Sumners ce6325348d
Touch up package.json, license, readme 2019-08-27 17:22:26 -04:00
James Sumners e2c9b12430
Apply standard linting to the code base (#539)
* Apply standard linting to the code base

* Specify files to lint

* Run lint as first stage

* Update travis config
2019-08-27 17:11:49 -04:00
James Sumners 22c9acb36d
Update dependencies to latest 2019-08-27 09:15:48 -04:00
James Sumners 210d4c6d37
Convert tests back to node-tap 2019-08-27 09:11:52 -04:00
James Sumners f1acfee9de
Merge pull request #522 from UziTech/update-uuid
update uuid and tests to work with windows
2019-08-26 12:12:34 -04:00
Tony Brix 400af20e23 Update ldap filter (#521)
* update ldap-filter v0.3.3

* allow escaped characters

* remove failing tests

* remove arrow function

* remove template string
2019-08-26 09:59:21 -04:00
Tony Brix 2ce7468ac2 update uuid and tests to work with windows 2019-08-25 12:27:39 -05:00
James Sumners efd5070612
Merge pull request #466 from thelounge/no-dtrace
Remove dtrace-provider from optionalDependencies
2019-08-24 21:08:17 -04:00
James Sumners e9e8033fda
Remove dependency on Bunyan 2019-08-24 20:51:40 -04:00
Farheen.aslam b9458f1e89 Updating the package.json to use new ldap-filter module 2018-02-12 09:49:11 +05:30
Pavel Djundik 865b659489 Remove dtrace-provider from optionalDependencies 2018-02-03 19:22:24 +02:00
Cody Peter Mello a4bdcbb764 Release v1.0.2 2018-01-11 18:38:32 +00:00
Patrick Mooney 988467911c Release v1.0.1 2016-11-01 22:28:21 -05:00
Patrick Mooney bc1e3146e1 Update package dependencies 2016-10-18 22:25:14 -05:00
Patrick Mooney 540a3a1f5c Clean up asserts and getters in controls 2015-11-11 22:38:56 -06:00
Patrick Mooney 9303d4f624 Prepare for 1.0.0 release 2015-10-22 20:58:19 -05:00
Patrick Mooney 9ec1e9022d Update package dependencies 2015-10-15 22:00:04 -05:00
Patrick Mooney 64ad0bf5da Update package dependencies 2015-06-14 21:22:10 -05:00
Patrick Mooney fbdf70e424 Add license to package.json 2015-06-14 20:57:58 -05:00
Matt Simerson 19f2c16783 Allow simple client bind with empty credentials
Fix mcavage/node-ldapjs#254
2015-04-13 23:40:58 -05:00
Patrick Mooney cab9f0bf45 Fix package.json for node 0.8 compatibility 2015-02-18 11:07:58 -06:00
Patrick Mooney b71c001ec6 Update dependencies for node compatibility 2015-02-18 09:30:13 -06:00
Patrick Mooney 22b04f3a94 Move filter parsing into separate module 2014-10-16 17:00:14 -05:00
Patrick Mooney 58f58883cd Add formatting option to ldapjs-search
- Update dashdash version to 1.7.0
- Support line delimited JSON and JSON arrays as alternative output
  formats in ldapjs-search.

Fix mcavage/node-ldapjs#224
2014-09-25 10:01:21 -05:00
Patrick Mooney 92362e01f3 Improve parser error handling
- Wrap parser errors with VError
- Catch initial potential sequence errors
- Improve parser test coverage
- Emit parser errors instead of implicitly logging

Fix mcavage/node-ldapjs#221
2014-09-16 15:23:21 -05:00
Patrick Mooney 26e427f4a0 Update bunyan to 0.23.1 2014-07-14 16:07:22 -05:00
Patrick Mooney 3186f5eca1 Convert tests to use tape/istanbul/faucet 2014-07-08 15:09:26 -05:00
Patrick Mooney 72bfb9b0f7 Major overhaul of client connection logic
- Remove PooledClient
- Add reconnect functionality to client
- Add 'idle' client event and options
2014-06-23 16:15:52 -05:00
Patrick Mooney 3e43fb3d0c Replace nopt with dashdash
- Use dashdash for arg parsing
- Add bin/ldapjs-* to jsl/jsstyle checks
- Fix code style issues

Fix mcavage/node-ldapjs#201
2014-06-18 18:42:49 -05:00
Patrick Mooney 0427732c10 Add basic server API tests 2014-06-05 16:37:24 -05:00
Mark Cavage 0a8810996d v0.7.1 2014-04-04 14:14:18 -07:00
Mark Cavage 5e506dd254 #169: dependency updates 2014-04-04 13:07:27 -07:00
Evan Shortiss a84546b7bd Update to make dtrace-provider optional. 2014-04-01 23:02:11 -04:00
Patrick Mooney c5cfc48da4 Remove buffertools dependency 2014-01-20 09:34:11 -06:00
Patrick Mooney bc19a98d06 Update buffertools dependency
Buffertools 2.0.1 is required to build on VC2013.
With the change to v2.x, the buffertools.extend() method must be called
to mimic the prototype extention behavior of the 1.x versions.

Fix mcavage/node-ldapjs#163
2014-01-18 14:42:21 -06:00
Mark Cavage 218150466f version bump 2013-12-09 08:50:52 -08:00
Patrick Mooney fa1b8c4af8 Bump required pooling version to 0.4.5
Fix mcavage/node-ldapjs#145
2013-10-31 17:19:42 -05:00
pmooney 1b738105e6 Bump required tap version to 0.4.1
When using node 0.10, test initiation will fail due to differences in
the array.map function.  This discrepancy is corrected in tap v0.4.1.
See: https://github.com/isaacs/node-tap/issues/70
2013-10-16 20:34:52 -05:00