Axel Kittenberger
78014a2ea3
transcontextual safe type checks
2023-03-28 10:34:04 -04:00
Axel Kittenberger
e2c0949dd5
transcontextual safe type checks
2023-03-28 10:34:04 -04:00
James Sumners
f248b4791e
Change server.listen default address
2023-02-22 14:09:27 -05:00
James Sumners
547ceb6fa1
Update deps
2023-02-22 14:09:27 -05:00
James Sumners
0ed048233e
Fix Set size querying
2023-02-22 14:09:27 -05:00
James Sumners
cc042f9a27
Remove dtrace
2023-02-22 14:09:27 -05:00
James Sumners
f18dee40a2
Replace messages with @ldapjs/messages
2023-02-22 14:09:27 -05:00
James Sumners
9de9c703ab
Migrate filter extensions ( #809 )
...
* Replace presence filter
* Replace equality filter
* Remove TODO
* Fix integration tests
* Replace approximate filter
* Replace extensible filter
* Replace greater-than-equals filter
* Replace less-than-equals filter
* Replace remaining filters
* Remove debug code
* Remove transition code
* Remove unnecessry isFilter
* Remove unused code
* Use LDAP filter string parsing from @ldapjs/filter
* Move BER filter parsing to @ldapjs/filter
* Fully replace internal filters module with @ldapjs/filter
2023-02-22 14:09:27 -05:00
James Sumners
5bab39f58e
Replace node-filter ( resolves #622 ) ( #808 )
2023-02-22 14:09:27 -05:00
James Sumners
cb70776445
Replace protocol with module ( #806 )
2023-02-22 14:09:27 -05:00
James Sumners
4355893077
Replace internal controls with @ldapjs/controls ( #797 )
...
* Replace internal controls with @ldapjs/controls
* Replace EntryChangeNotificationControl
* Replace PagedResultsControl
* Replace ServerSideSortingRequestControl
* Replace ServerSideSortingResponseControl
* Replace VLV controls
* Reduce coverage requirement
* Fix dependency qualifier
2023-02-22 14:09:27 -05:00
James Sumners
9fe58a44a2
Swap asn1 package
2023-02-22 14:09:27 -05:00
Max Leiter
188870d7b5
Progress on supporting IPv6 ( #805 )
...
* Progress on supporting IPv6
* Apply suggestions from code review
Co-authored-by: James Sumners <james@sumners.email>
* tests: add IPv6 URL format test to server.test.js
Co-authored-by: James Sumners <james@sumners.email>
2022-06-07 20:59:33 -04:00
Daniel Fiterman
02077a2779
force socket to be closed on destroy
2022-02-25 13:39:20 -05:00
Tony Brix
4a3113f0fb
Merge branch 'master' into fix/anonbind
2021-08-03 11:35:33 -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
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
Thomas Pressnell
5598feda6d
use getter
2021-07-12 16:32:06 +01:00
Thomas Pressnell
b85c4acb4c
adding bindDN adjustments
2021-07-12 16:02:12 +01:00
Tony Brix
9b1a10fff0
Merge branch 'master' into master
2021-05-27 14:13:56 -05:00
Tony Brix
79c1b4ccf3
Merge branch 'master' into master
2021-05-27 14:08:37 -05: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
992be5a557
adding connectionRouter hook
...
adding connectionRouter hook back in
2021-05-20 10:35:13 -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
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
Tony Brix
bb475ab00f
fix: emit error event if other error events are not listened to
2021-02-23 17:23:56 -06:00
Tony Brix
de9926a329
chore(lint): fix no-unused-vars errors
2020-12-06 19:26:27 -06:00
Tony Brix
2489d87079
chore(lint): lint lib/
2020-12-06 11:10:58 -06:00
Girish Ramakrishnan
217b984839
Fix crash in res.send()
...
In commit c6fa25985b
, "var" usage
was replaced with const. The code previously worked because "var"
has function scoping unlike const which has block scoping.
TypeError: Cannot read property 'attributes' of null
2020-12-02 14:44:33 -08:00
Telepsis
95b4ebd618
Remove use of logging methods in conditional tests
2020-11-12 12:38:56 -05:00
Tony Brix
c6fa25985b
update devdependency standard to v16
2020-10-31 16:07:32 -05:00
Tony Brix
07555253ac
chore(lint): fix linting errors
2020-10-24 16:22:11 +00:00
Martin Cizek
cf29972990
fix
2020-09-18 15:36:12 +02:00
Martin Cizek
c861135f80
Don't randomize first server
2020-09-18 15:32:22 +02:00
Martin Cizek
f3804bbca6
cr
2020-09-18 06:15:25 +02:00
Martin Cizek
d32a765ee9
cr
2020-09-17 17:49:58 +02:00
Martin Cizek
f0c864ca85
Revert redundant changes
2020-09-17 16:58:16 +02:00
Martin Cizek
23e44b2959
cr
2020-09-17 16:46:34 +02:00
Martin Cizek
f9ae5c12d8
Add test
2020-09-17 07:05:21 +02:00
Martin Cizek
3ca2c265da
Support for arrays in url parameter
2020-09-17 06:28:03 +02:00
Martin Cizek
7d52f867a0
Client support multiple servers
2020-09-16 14:06:26 +02:00
spookiej
53c6275610
Merge branch 'master' into 645-search-response-spaces-dn
2020-07-28 08:53:58 +10:00
Tony Brix
d2c5464bc2
no need to create instance
2020-07-21 20:28:15 -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