Rory O'Connell
af6c595793
Merge remote-tracking branch 'larstobi/master'
2011-03-16 15:15:43 -05:00
Kaspar Schiess
203e4e752d
- removes comments that would appear nonsensical in sdoc
...
These comments would appear as documentation for the Net module, which is bogus. _and_ the formatting was off. Removing them makes rdoc appear more clear.
2011-02-24 11:54:17 +01:00
Lars Tobias Skjong-Børsting
36b06f46df
Fix undefined method 'to_ber' for nil:NilClass. Convert unless nil.
...
Made modify_ops a method to allow for unit testing of it.
Added unit tests for add, delete and replace.
2011-01-28 14:50:54 +01:00
Lars Tobias Skjong-Børsting
aeda4020f2
Fix undefined method 'to_ber' for nil:NilClass. Convert unless nil.
2011-01-26 19:09:03 +01: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
ee58580a53
! Reference to self fixed
2010-10-08 16:56:46 +02: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
Rory O'Connell
7143490850
Fix merge artifacts because I'm a dummy dumb head
2010-09-25 15:27:59 -05:00
Rory O'Connell
a3dcb965db
Merge branch 'master' of github.com:RoryO/ruby-net-ldap
2010-09-25 15:05:06 -05:00
Rory O'Connell
43d50d6498
Merge remote branch 'tonyheadford/master'
...
Conflicts:
lib/net/ldap.rb
2010-09-25 15:02:34 -05:00
Erik Hetzner
85a137c71f
Fix reference to Net::LDAP (make absolute).
2010-09-21 08:08:33 +08:00
Erik Hetzner
09e6267fdd
Fix reference to StartTlsOid constant.
2010-09-21 08:08:33 +08:00
Derek Harmel
4159643c3d
Fixes for mysterious 'constant not missing' errors
2010-09-07 01:15:28 +08:00
tonyheadford
1761db89e9
Added new_superior arg to Net::LDAP rename method. This enables moving an entry in the tree by specifying the new parent container in addition to the rename entry functionality. Added a unit test file test_rename.rb for this method.
2010-07-19 20:52:10 +01:00
Kouhei Sutou
d778139d75
Net::LdapPdu -> Net::LDAP::PDU.
2010-07-20 00:05:45 +08:00
Rory O'Connell
cc55227083
Merge remote branch 'halostatue/ldap-psw-cleanup' into ldap-psw-cleanup
2010-04-15 17:07:41 -05:00
Rory O'Connell
0fce1048a5
Merge branch 'ldap-pdu-cleanup', remote branch 'halostatue/ldap-pdu-cleanup' into ldap-pdu-cleanup
2010-04-15 17:05:40 -05:00
Rory O'Connell
896eaa533c
Merge branch 'ldap-cleanup', remote branch 'halostatue/ldap-cleanup' into ldap-cleanup
2010-04-15 16:27:08 -05:00
Rory O'Connell
f42773569f
Merge branch 'ber-cleanup', remote branch 'halostatue/ber-cleanup' into ber-cleanup
...
Conflicts:
test/test_ber.rb
2010-04-15 16:19:33 -05:00
Kaspar Schiess
483af95ccd
! Fixes references to various classes
...
I had to prefix all accesses to LdapPdu, AsnSyntax and Filter with
Net::LDAP or Net:: respectively. We should rethink the module
decomposition to make this more natural.
2010-04-05 18:33:35 +02:00
Austin Ziegler
5ae087dd1b
Cleaning up Net::LDAP::Password, including file rename.
2010-03-27 15:36:31 -04:00
Austin Ziegler
6eaf87dc56
Cleaning up Net::LDAP::PDU (including object rename.
2010-03-27 15:33:32 -04:00
Austin Ziegler
06ea324055
Cleanup of Dataset and Entry.
2010-03-27 14:51:01 -04:00
Austin Ziegler
20f494a875
Yield is not a function call.
2010-03-27 14:48:06 -04:00
Austin Ziegler
1d3817e007
Reformat and documentation update of Net::BER and Net::BER::BERParser.
2010-03-27 01:57:44 -04:00
Austin Ziegler
1589556dd2
Fixing some documentation formatting.
2010-03-24 23:27:54 -04:00
Austin Ziegler
8e9a8a48d7
Significant reformat of Net::LDAP class.
2010-03-24 23:16:33 -04:00
Austin Ziegler
fece50c844
Making return codes consistent for add and modify.
2010-03-24 21:48:01 -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
f90aeec7c6
Minor formatting cleanup.
2010-03-20 10:04:32 -04:00
Kaspar Schiess
ddb15caace
+ Adding String#read_ber! back in, since our test server uses it.
2010-03-20 14:18:15 +01:00
Austin Ziegler
c913bc6fb9
Moved core extensions to Net::BER. Documented.
2010-03-20 13:47:56 +01:00
Austin Ziegler
e31af4bead
SSL enabled or disabled per presence of OpenSSL.
2010-03-19 22:56:50 -04:00
Austin Ziegler
c3f991fdf8
Preparing for a quick fix release.
2010-03-18 09:58:22 -04:00
Kaspar Schiess
cfd9dbc922
+ Spec for Net::LDAP::Entry
...
Pretty much rewrote the code. It now also responds to respond_to?
correctly. Most of that symbol manipulation is now in just one place.
2010-03-18 10:08:59 +01:00
Kaspar Schiess
c01dc9ee89
+ Adds comments (and some layouting)
2010-03-18 09:28:27 +01:00
Kaspar Schiess
31ba47cf1d
! A proper fix for the error I've found yesterday.
...
We should further look for empty rescue statements, as they may
sometimes catch stuff that we don't want to be caught.
2010-03-18 08:44:58 +01:00
Kaspar Schiess
6a17e6a2c2
! Fixes connection open bug
...
Without this require, even the simplest example will fail, since TCPSocket
is not defined. Our tests were faking this by including openssl and socket.
2010-03-17 16:40:55 +01:00
Austin Ziegler
0f13153558
Switching to version 0.1.0.
2010-03-15 20:16:12 -04:00
Austin Ziegler
31946c35c7
Rationalizing startup.
2010-03-13 00:20:07 -05:00
Rory OConnell
de4021f2e1
Merge branch from kschiess
2010-02-12 10:42:29 -06:00
Kaspar Schiess
b849681f5f
! Fixes that last ssl topic
2010-02-12 15:08:56 +01: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
Kaspar Schiess
75f37c58b9
! Fixes tests for everything BUT the number conversion
...
This commit removes read_ber! since no one seems to be using it. YAGNI.
2010-02-12 11:59:46 +01:00
Rory OConnell
4c24cf239a
Import fixes from kschiess
2010-02-10 12:13:59 -06: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