Commit Graph

40 Commits (b6d9fbebfd6e52441ee31e2ff91f07d286901d5b)

Author SHA1 Message Date
David J. Lee c46c93777e Added a new filter type bineq that will create an equality filter and NOT force
convert data to UTF-8. This is required for proper binary data filters in Microsoft
Active Directory.
2012-02-24 09:55:17 -06:00
Jamstah 001608e3a0 Add to history re escaping in filters.
Remove extra UTF-8 header.
2011-03-20 20:32:53 +00:00
Austin Ziegler 2a63ae72b9 Merge branch 'filter_escaping' of https://github.com/Jamstah/ruby-net-ldap into Jamstah-filter_escaping 2011-03-17 22:37:44 -04:00
Austin Ziegler 7ae8e28550 Merge branch 'filter_single_clauses' of https://github.com/Jamstah/ruby-net-ldap into jamstah-filter_single_clauses 2011-03-17 22:33:16 -04:00
Austin Ziegler fedd290adf Adding utf-8 encoding headers to all lib files. 2011-03-17 21:51:52 -04:00
Austin Ziegler 84e42ceb78 Merging an ugly set of changes I had forgotten about. 2011-03-17 21:37:17 -04:00
Austin Ziegler 3b0a8223b0 Fixing Ruby 1.9.2 -wW2 warnings (bug #28588)
[#28588] Regexp warning under Ruby 1.9.2-p0.
2011-03-16 19:33:54 -04:00
Jamstah 0b0688d434 Add correct filter characters. 2011-01-11 14:23:40 +00:00
Jamstah f3204bde6d Accept filters with only one clause to an & or | 2011-01-06 14:06:31 +00:00
Kaspar Schiess 36904e208a + Rewrote tests as specs. Ruby1.9 compatible escape code. 2010-12-30 13:44:17 +01:00
Jamstah a696aa89a0 Add a method to escape filter strings, and some convenience method for creating some common filter patterns, that are automatically escaped. 2010-12-30 13:14:15 +01:00
Kaspar Schiess cd866c0109 + Patch from Sean Cashin that fixes filter behaviour
Filters would not accept apostrophes, now they do.
Thanks Sean Cashin (http://github.com/scashin133)!
2010-10-08 16:47:24 +02:00
Austin Ziegler 59dac76d47 Cleaning up Net::LDAP documentation. 2010-04-19 01:54:25 -04:00
Kaspar Schiess a3824392bf + Adds a specification for the new ldap extensible filter
I am not sure about this, since I haven't been able to find
documentation about what this does. This should work, though.

Cleanup of comments and exceptions, adds specification for
Filter.ex and a parser method.
2010-03-22 15:17:26 +01:00
Austin Ziegler 3e07125214 Adding experimental RFC4515 extensible filtering. 2010-03-22 13:56:37 +01:00
Austin Ziegler 1dbf5908ae Major clean-up of Net::LDAP::Filter. 2010-03-22 12:12:48 +01:00
Austin Ziegler afe43a5e58 Removing possible calls to Object#to_a. 2010-03-22 12:04:47 +01:00
Austin Ziegler 31946c35c7 Rationalizing startup. 2010-03-13 00:20:07 -05:00
Kaspar Schiess 1509aa8ef6 ! Fixes all tests
Some code has been removed. Version control is not synonymous with code storage - if you're not using it now, you probably don't have working tests and the code will be buggy anyway. Write it when you need it.
2010-02-12 14:39:57 +01:00
Rory OConnell d37c3b3ae6 Cleaned up the layout quite a bit to make Gemifying and including into Rails 3 less painful. Some steps to 1.9 compatibility 2010-02-09 16:46:49 -06:00
blackhedd 6e53144090 supported comma in filter strings, suggested by Kouhei. 2007-08-26 09:28:37 +00:00
blackhedd 089abcceb2 Applied patch from Kouhei Sutou 2007-08-11 01:26:06 +00:00
blackhedd d0c877bcd5 Patch by Kouhei Sutou, enables support of \XX octal filter syntax 2007-06-20 12:31:37 +00:00
blackhedd 3f7a4a254d applied parentheses to quiet some -w warnings. 2007-05-18 21:50:22 +00:00
blackhedd 2769d75b01 Added Net::LDAP::Filter.execute, which enables applications to perform
arbitrary processing based on LDAP filters.
2007-05-06 20:27:28 +00:00
blackhedd da882af074 Added Net::LDAP::Filter.parse_ber and associated helper methods and tests. 2007-05-05 02:44:32 +00:00
blackhedd 1748afac24 added blanks to the attribute filter in Filter#construct 2006-10-27 00:14:21 +00:00
blackhedd 8d89bb6292 added parentheses to quiet warnings. 2006-08-16 23:57:59 +00:00
blackhedd 7c1877d991 Augmented the value filter used in parsing rfc-2254 filters.
Thanks to Andre Nathan.
2006-08-15 08:34:53 +00:00
blackhedd 526c1cf08b Removed extraneous print statement, caught by
Gary Williams, gary.williams@sas.com
2006-06-27 17:35:18 +00:00
blackhedd 50541f653d supported filter types greaterorequal and lessorequal 2006-06-09 21:43:40 +00:00
blackhedd a11e121e54 Allowed dots in filter branches.
Patch provided by Andre Nathan.
2006-05-24 23:33:17 +00:00
blackhedd 241d9b8fb3 Took a suggestion from Andre Nathan (andre@digirati.com.br)
to change the behavior of Net::LDAP::Filter#method_missing
to allow case-insensitive attribute names.
2006-05-18 03:52:38 +00:00
blackhedd 7de0147b21 Added Net::LDAP::Filter.from_rfc2254 2006-05-15 20:03:56 +00:00
blackhedd 271c685a67 Enabled the left side of a filter-specification to be a Symbol.
Previously it had to be a String.
2006-05-04 12:06:34 +00:00
blackhedd 90616a3ca9 lost superfluous default methods 2006-04-26 02:57:34 +00:00
blackhedd b4c28477f9 documentation 2006-04-26 02:10:34 +00:00
blackhedd e231a5359e documentation 2006-04-26 01:43:57 +00:00
blackhedd 497e2be4e7 Added unit tests for search-filters 2006-04-17 20:39:54 +00:00
blackhedd 4c9532f432 Refactored ldap/pdu and ldap/filter scripts 2006-04-17 00:41:49 +00:00