activeldap 5.2.4 → 6.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.yardopts +3 -1
- data/doc/text/development.md +26 -0
- data/doc/text/{news.textile → news.md} +299 -271
- data/doc/text/{rails.textile → rails.md} +35 -33
- data/doc/text/{tutorial.textile → tutorial.md} +177 -182
- data/lib/active_ldap/adapter/base.rb +28 -8
- data/lib/active_ldap/adapter/jndi.rb +4 -6
- data/lib/active_ldap/adapter/jndi_connection.rb +105 -17
- data/lib/active_ldap/adapter/ldap.rb +8 -19
- data/lib/active_ldap/adapter/ldap_ext.rb +32 -13
- data/lib/active_ldap/adapter/net_ldap.rb +9 -18
- data/lib/active_ldap/configuration.rb +24 -1
- data/lib/active_ldap/connection.rb +1 -1
- data/lib/active_ldap/human_readable.rb +5 -4
- data/lib/active_ldap/operations.rb +21 -4
- data/lib/active_ldap/version.rb +1 -1
- data/test/al-test-utils.rb +84 -37
- data/test/test_base.rb +14 -14
- data/test/test_connection.rb +4 -0
- data/test/test_find.rb +12 -2
- data/test/test_supported_control.rb +1 -1
- data/test/test_validation.rb +19 -15
- metadata +13 -15
- data/README.textile +0 -141
- data/doc/text/development.textile +0 -54
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ddf65edda308e8db6ca8c35e3ef87c3299f048c0088b2f0836bab3f194709d11
|
4
|
+
data.tar.gz: fb21442b49251ff549b0f8c9189443b29830230eb77b71fd9cd44da14a04afd0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ee133139964a025b4b55e294c3601ee7b686016718cf347a70f8beb1832a1b8a8f7867171dca577366bdf09a3e2777e4d61daf371570e7718eb0ef89c1423c9a
|
7
|
+
data.tar.gz: 6fa4404370ecfcbb9509db4628165f9a41a0dc58ef420bc6809ba2ddb7d57c03761d6330bffbb1fc05d9a3ab5dbc2f336f1f7449d6d0df9fcea042792a840a15
|
data/.yardopts
CHANGED
@@ -0,0 +1,26 @@
|
|
1
|
+
# Development
|
2
|
+
|
3
|
+
Here is information for developers.
|
4
|
+
|
5
|
+
## Repository
|
6
|
+
|
7
|
+
ActiveLdap uses [Git repository on
|
8
|
+
GitHub](https://github.com/activeldap). Here is a list to get each
|
9
|
+
source code.
|
10
|
+
|
11
|
+
[activeldap](https://github.com/activeldap/activeldap):
|
12
|
+
|
13
|
+
```console
|
14
|
+
% git clone https://github.com/activeldap/activeldap.git
|
15
|
+
|
16
|
+
[al-admin](https://github.com/activeldap/al-admin):
|
17
|
+
|
18
|
+
```console
|
19
|
+
% git clone https://github.com/activeldap/al-admin.git
|
20
|
+
```
|
21
|
+
|
22
|
+
## Issues
|
23
|
+
|
24
|
+
ActiveLdap uses [Issues on
|
25
|
+
GitHub](https://github.com/activeldap/activeldap/issues) for issue
|
26
|
+
tracking. Please submit a issue when you find an issue.
|
@@ -1,78 +1,106 @@
|
|
1
|
-
|
1
|
+
# News
|
2
2
|
|
3
|
-
|
3
|
+
## 6.0.0: 2020-04-16 {#release-6-0-0}
|
4
4
|
|
5
|
-
|
5
|
+
### Improvements
|
6
|
+
|
7
|
+
* Removed needless `rubyforge_project` from `.gemspec`.
|
8
|
+
[GitHub#167][Patch by Olle Jonsson]
|
9
|
+
|
10
|
+
* Added support for reusing parent configuration for omitted
|
11
|
+
configuration items when creating a connection per class or DN.
|
12
|
+
|
13
|
+
* jndi: Added support for processing DN that includes backslash.
|
14
|
+
|
15
|
+
* jndi: Added a CI job for JRuby 9.
|
16
|
+
[GitHub#170][Patch by Kevin McCormack]
|
17
|
+
|
18
|
+
* jndi: Added support for paged search.
|
19
|
+
[GitHub#171][Patch by Kevin McCormack]
|
20
|
+
|
21
|
+
* Added support for Active Model 6.
|
22
|
+
|
23
|
+
* `search`: Added `:used_paged_results` and `:page_size` options.
|
24
|
+
|
25
|
+
### Thanks
|
26
|
+
|
27
|
+
* Olle Jonsson
|
28
|
+
|
29
|
+
* Kevin McCormack
|
30
|
+
|
31
|
+
## 5.2.3: 2019-02-15 {#release-5-2-3}
|
32
|
+
|
33
|
+
### Improvements
|
6
34
|
|
7
35
|
* Changed to use add and delete for modify if it's needed.
|
8
36
|
[GitHub#156][Patch by David Klotz]
|
9
37
|
|
10
|
-
* Added support for timezone with munites offset such as
|
38
|
+
* Added support for timezone with munites offset such as `0530`.
|
11
39
|
[GitHub#160][GitHub#161][Patch by Neng Xu]
|
12
40
|
|
13
41
|
* Added support for Ruby 2.6.
|
14
42
|
|
15
|
-
|
43
|
+
### Thanks
|
16
44
|
|
17
45
|
* David Klotz
|
18
46
|
|
19
47
|
* Neng Xu
|
20
48
|
|
21
|
-
|
49
|
+
## 5.2.2: 2018-07-12 {#release-5-2-2}
|
22
50
|
|
23
|
-
|
51
|
+
### Improvements
|
24
52
|
|
25
|
-
* Added
|
53
|
+
* Added `:tls_options` option.
|
26
54
|
[GitHub#156][Patch by David Klotz]
|
27
55
|
|
28
|
-
|
56
|
+
### Thanks
|
29
57
|
|
30
58
|
* David Klotz
|
31
59
|
|
32
|
-
|
60
|
+
## 5.2.1: 2018-06-13 {#release-5-2-1}
|
33
61
|
|
34
|
-
|
62
|
+
### Fixes
|
35
63
|
|
36
64
|
* Fixed a bug that configuration may be removed unexpectedly.
|
37
65
|
[GitHub#155][Reported by Juha Erkkilä]
|
38
66
|
|
39
|
-
|
67
|
+
### Thanks
|
40
68
|
|
41
69
|
* Juha Erkkilä
|
42
70
|
|
43
|
-
|
71
|
+
## 5.2.0: 2018-05-09 {#release-5-2-0}
|
44
72
|
|
45
|
-
|
73
|
+
### Improvements
|
46
74
|
|
47
|
-
* Added
|
48
|
-
|
75
|
+
* Added `:dc_base_class` and `:ou_base_class` options to
|
76
|
+
`ActiveLdap::Populate.ensure_base`.
|
49
77
|
[GitHub#153][Patch by hide_24]
|
50
78
|
|
51
79
|
* Added Active Model 5.2.0 support.
|
52
80
|
|
53
81
|
* Improved connection error handling for net-ldap.
|
54
82
|
|
55
|
-
|
83
|
+
### Thanks
|
56
84
|
|
57
85
|
* hide_24
|
58
86
|
|
59
|
-
|
87
|
+
## 5.1.1: 2018-01-17 {#release-5-1-1}
|
60
88
|
|
61
|
-
|
89
|
+
### Improvements
|
62
90
|
|
63
|
-
* Added
|
64
|
-
|
65
|
-
:include_operational_attributes => true)
|
66
|
-
|
91
|
+
* Added `:include_operational_attributes` convenient option to
|
92
|
+
`ActiveLdap::Base.find`. `ActiveLdap::Base.find(...,
|
93
|
+
:include_operational_attributes => true)` equals to
|
94
|
+
`ActiveLdap::Base.find(..., :attributes => ["*", "+"])`.
|
67
95
|
[GitHub#150][Reported by jas01]
|
68
96
|
|
69
|
-
|
97
|
+
### Thanks
|
70
98
|
|
71
99
|
* jas01
|
72
100
|
|
73
|
-
|
101
|
+
## 5.1.0: 2017-05-01 {#release-5-1-0}
|
74
102
|
|
75
|
-
|
103
|
+
### Improvements
|
76
104
|
|
77
105
|
* Supported Rails 5.1.0.
|
78
106
|
|
@@ -87,12 +115,12 @@ h3. Improvements
|
|
87
115
|
* Suppressed warnings.
|
88
116
|
[GitHub#146][Reported by jas01]
|
89
117
|
|
90
|
-
|
118
|
+
### Fixes
|
91
119
|
|
92
120
|
* Added missing dependency.
|
93
121
|
[GitHub#145][Reported by Tom Wardrop]
|
94
122
|
|
95
|
-
|
123
|
+
### Thanks
|
96
124
|
|
97
125
|
* Chris Garrigues
|
98
126
|
|
@@ -100,25 +128,25 @@ h3. Thanks
|
|
100
128
|
|
101
129
|
* jas01
|
102
130
|
|
103
|
-
|
131
|
+
## 4.0.6: 2016-04-07 {#release-4-0-6}
|
104
132
|
|
105
|
-
|
133
|
+
### Improvements
|
106
134
|
|
107
135
|
* Updated supported Ruby versions.
|
108
136
|
[GitHub#127] [Patch by weicheng]
|
109
137
|
* Supported spaces in DN.
|
110
138
|
[GitHub#129] [Patch by belltailjp]
|
111
139
|
|
112
|
-
|
140
|
+
### Thanks
|
113
141
|
|
114
142
|
* weicheng
|
115
143
|
* belltailjp
|
116
144
|
|
117
|
-
|
145
|
+
## 4.0.5: 2016-01-20 {#release-4-0-5}
|
118
146
|
|
119
|
-
|
147
|
+
### Improvements
|
120
148
|
|
121
|
-
* Supported
|
149
|
+
* Supported `unicodePwd` in Active Directory
|
122
150
|
[GitHub#105] [Reported by Laas Toom]
|
123
151
|
* Supported Blowfish, SHA-256 and SHA-512 password hash with salt.
|
124
152
|
[GitHub#108] [Patch by Gary Richards]
|
@@ -127,32 +155,32 @@ h3. Improvements
|
|
127
155
|
[GitHub#125] [Patch by Bohuslav Blín]
|
128
156
|
* Supported Ruby 2.3.
|
129
157
|
|
130
|
-
|
158
|
+
### Fixes
|
131
159
|
|
132
|
-
* Fixed documentation for
|
160
|
+
* Fixed documentation for `rails generate`.
|
133
161
|
[GitHub#107] [Patch by Gary Richards]
|
134
162
|
|
135
|
-
|
163
|
+
### Thanks
|
136
164
|
|
137
165
|
* Laas Toom
|
138
166
|
* Gary Richards
|
139
167
|
* Jan Zikan
|
140
168
|
* Bohuslav Blín
|
141
169
|
|
142
|
-
|
170
|
+
## 4.0.4: 2014-10-11 {#release-4-0-4}
|
143
171
|
|
144
|
-
|
172
|
+
### Improvements
|
145
173
|
|
146
174
|
* Migrated to commit mail mailing list to "Google
|
147
175
|
Groups":https://groups.google.com/forum/?hl=ja#!forum/activeldap-commit
|
148
176
|
from RubyForge. Thanks to RubyForge! RubyForge was very helpful!
|
149
177
|
* Update project homepage URL in README.
|
150
178
|
[GitHub#103] [Patch by Adam Whittingham]
|
151
|
-
* Removed needless
|
179
|
+
* Removed needless `Enumerable` inclusion in `ActiveLdap::Base`.
|
152
180
|
[GitHub#104] [Patch by Murray Steele]
|
153
181
|
* {ActiveLdap::Populate.ensure_base}: Supported ou entry creation in base DN.
|
154
|
-
* Added
|
155
|
-
referrals following by specifying
|
182
|
+
* Added `follow_referrals` configuration. You can disable auto
|
183
|
+
referrals following by specifying `false`. It is useful when you
|
156
184
|
can't access referrals.
|
157
185
|
|
158
186
|
This configuration is enabled by default.
|
@@ -161,10 +189,10 @@ h3. Improvements
|
|
161
189
|
|
162
190
|
[GitHub#99] [Suggested by hadmut]
|
163
191
|
|
164
|
-
* Supported
|
165
|
-
|
192
|
+
* Supported `bindname` extension in LDAP URL such as
|
193
|
+
`ldap://host/dc=base,dc=name????bindname=cn%3Dadmin%2Cdc%3Dexample%2Cdc%3Dcom%3F`.
|
166
194
|
|
167
|
-
|
195
|
+
### Fixes
|
168
196
|
|
169
197
|
* Fixed a bug logging is failed on removing a connection.
|
170
198
|
[GitHub#94] [Reported by Francisco Miguel Biete]
|
@@ -172,7 +200,7 @@ h3. Fixes
|
|
172
200
|
[GitHub#95] [Patch by Vít Ondruch]
|
173
201
|
* Fixed a bug that DN in LDAP URL is used as bind DN not base DN.
|
174
202
|
|
175
|
-
|
203
|
+
### Thanks
|
176
204
|
|
177
205
|
* Francisco Miguel Biete
|
178
206
|
* Vít Ondruch
|
@@ -180,11 +208,11 @@ h3. Thanks
|
|
180
208
|
* Murray Steele
|
181
209
|
* hadmut
|
182
210
|
|
183
|
-
|
211
|
+
## 4.0.3: 2014-05-15 {#4-0-3}
|
184
212
|
|
185
|
-
|
213
|
+
### Improvements
|
186
214
|
|
187
|
-
* Supported stopping colorize logging by
|
215
|
+
* Supported stopping colorize logging by `config.colorize_logging = false`.
|
188
216
|
[GitHub:#81] [Reported by nengxu]
|
189
217
|
* Supported PagedResults defined in RFC 2696 in the net-ldap adapter.
|
190
218
|
[activeldap-discuss] Paged results
|
@@ -197,18 +225,18 @@ h3. Improvements
|
|
197
225
|
[GitHub#90] [Patch by Francisco Miguel Biete]
|
198
226
|
* document: Removed obsoleted description.
|
199
227
|
[activeldap-discuss] [Reported by Jarod Watkins]
|
200
|
-
* Supported
|
228
|
+
* Supported `ActiveLdap::Base.attribute_method?` .
|
201
229
|
[GitHub#92] [Reported by Renaud Chaput]
|
202
230
|
|
203
|
-
|
231
|
+
### Fixes
|
204
232
|
|
205
|
-
* Fixed a bug that
|
233
|
+
* Fixed a bug that `belongs_to :many` 's inconsistent behavior.
|
206
234
|
You get DN attribute when you add an entry by DN attribute to
|
207
235
|
belongs_to :many collection. It should return entry object instead of
|
208
236
|
DN attribute. Because loaded collection returns entry objects.
|
209
237
|
[activeldap-discuss] [Reported by Jarod Watkins]
|
210
238
|
|
211
|
-
|
239
|
+
### Thanks
|
212
240
|
|
213
241
|
* nengxu
|
214
242
|
* Aaron Knister
|
@@ -217,9 +245,9 @@ h3. Thanks
|
|
217
245
|
* Jarod Watkins
|
218
246
|
* Renaud Chaput
|
219
247
|
|
220
|
-
|
248
|
+
## 4.0.2: 2014-01-04 {#4-0-2}
|
221
249
|
|
222
|
-
|
250
|
+
### Improvements
|
223
251
|
|
224
252
|
* Supported sub-tree moving by all adapters.
|
225
253
|
* Used YARD style link in documentation. [Reported by Fraser McCrossan]
|
@@ -228,7 +256,7 @@ h3. Improvements
|
|
228
256
|
* Made JEPG syntax binary.
|
229
257
|
* Supported binary encoding for values in a container.
|
230
258
|
[GitHub:#66] [Reported by Nowhere Man]
|
231
|
-
* Added documentation about
|
259
|
+
* Added documentation about `:filter` option of {ActiveLdap::Base.find}
|
232
260
|
into tutorial.
|
233
261
|
[GitHub:#72] [Patch by Fernando Martinez]
|
234
262
|
* Migrated to gettext gem from gettext_i18n_rails gem because ActiveLdap
|
@@ -237,14 +265,14 @@ h3. Improvements
|
|
237
265
|
* Supported retry on timeout on JNDI adapter.
|
238
266
|
[GitHub:#77] [Patch by Ryosuke Yamazaki]
|
239
267
|
|
240
|
-
|
268
|
+
### Fixes
|
241
269
|
|
242
|
-
* Removed needless newlines generated by
|
270
|
+
* Removed needless newlines generated by `pack("m")`.
|
243
271
|
[GitHub:#75] [GitHub:#76] [Patch by Ryosuke Yamazaki]
|
244
|
-
* Fixed a bug that
|
272
|
+
* Fixed a bug that `after_initialize` isn't run.
|
245
273
|
[GitHub:#79] [Patch by Nobutaka OSHIRO]
|
246
274
|
|
247
|
-
|
275
|
+
### Thanks
|
248
276
|
|
249
277
|
* Fraser McCrossan
|
250
278
|
* Nowhere Man
|
@@ -253,9 +281,9 @@ h3. Thanks
|
|
253
281
|
* Ryosuke Yamazaki
|
254
282
|
* Nobutaka OSHIRO
|
255
283
|
|
256
|
-
|
284
|
+
## 4.0.1: 2013-08-29 {#4-0-1}
|
257
285
|
|
258
|
-
|
286
|
+
### Improvements
|
259
287
|
|
260
288
|
* Added ActiveLdap::EntryAttribute#exist?.
|
261
289
|
* [GitHub:#66] Improved Active Directory support.
|
@@ -266,12 +294,12 @@ h3. Improvements
|
|
266
294
|
JRuby or net-ldap 0.5.0 or later. (net-ldap 0.5.0 isn't released yet.)
|
267
295
|
[Reported by Jean-François Rioux]
|
268
296
|
|
269
|
-
|
297
|
+
### Fixes
|
270
298
|
|
271
299
|
* [GitHub:#65] Removed removed attributes values by removing
|
272
300
|
objectClasses. [Reported by mbab]
|
273
301
|
|
274
|
-
|
302
|
+
### Thanks
|
275
303
|
|
276
304
|
* mbab
|
277
305
|
* Nowhere Man
|
@@ -279,9 +307,9 @@ h3. Thanks
|
|
279
307
|
* Francisco Miguel Biete
|
280
308
|
* Jean-François Rioux
|
281
309
|
|
282
|
-
|
310
|
+
## 4.0.0: 2013-07-13 {#4-0-0}
|
283
311
|
|
284
|
-
|
312
|
+
### Improvements
|
285
313
|
|
286
314
|
* [activeldap-discuss] Added {ActiveLdap::Entry} for convenient.
|
287
315
|
[Suggested by Craig White]
|
@@ -294,7 +322,7 @@ h3. Improvements
|
|
294
322
|
* [GitHub:#53] Supported lower case hashed password.
|
295
323
|
[Patch by jpiotro3]
|
296
324
|
* [GitHub:#51] Supported implicit railtie load by
|
297
|
-
|
325
|
+
`require "active_ldap"`.
|
298
326
|
[Patch by mperrando]
|
299
327
|
* [GitHub:#62] Improved JNDI communication error handling.
|
300
328
|
[Patch by Ryosuke Yamazaki]
|
@@ -303,7 +331,7 @@ h3. Improvements
|
|
303
331
|
* [GitHub:#63] Handled Errno::ECONNRESET as connection in
|
304
332
|
net-ldap adapter [Patch by mpoornima]
|
305
333
|
|
306
|
-
|
334
|
+
### Fixes
|
307
335
|
|
308
336
|
* [GitHub:#44] Fixed a typo in document.
|
309
337
|
[Patch by Vaucher Philippe]
|
@@ -315,7 +343,7 @@ h3. Fixes
|
|
315
343
|
* [GitHub:#57] Fixed a wrong blank value detection for "false".
|
316
344
|
[Reported by Robin Doer]
|
317
345
|
|
318
|
-
|
346
|
+
### Thanks
|
319
347
|
|
320
348
|
* Craig White
|
321
349
|
* Vaucher Philippe
|
@@ -330,31 +358,31 @@ h3. Thanks
|
|
330
358
|
* superscott
|
331
359
|
* mpoornima
|
332
360
|
|
333
|
-
|
361
|
+
## 3.2.2: 2012-09-01 {#3-2-2}
|
334
362
|
|
335
363
|
* Supported entry creation by direct ActiveLdap::Base use.
|
336
364
|
[Reported by Craig White]
|
337
365
|
* Started to use Travis CI.
|
338
366
|
|
339
|
-
|
367
|
+
### Thanks
|
340
368
|
|
341
369
|
* Craig White
|
342
370
|
|
343
|
-
|
371
|
+
## 3.2.1: 2012-08-31 {#3-2-1}
|
344
372
|
|
345
373
|
* Fixed a bug that ActiveLdap::Base#delete doesn't work.
|
346
374
|
[Reported by Craig White]
|
347
375
|
|
348
|
-
|
376
|
+
### Thanks
|
349
377
|
|
350
378
|
* Craig White
|
351
379
|
|
352
|
-
|
380
|
+
## 3.2.0: 2012-08-29 {#3-2-0}
|
353
381
|
|
354
382
|
* [GitHub:#39] Supported Rails 3.2.8. [Reported by Ben Langfeld]
|
355
383
|
* [GitHub:#13] Don't use deprecated Gem.available?. [Patch by sailesh]
|
356
|
-
* [GitHub:#19] Supported new entry by
|
357
|
-
* Supported
|
384
|
+
* [GitHub:#19] Supported new entry by `ha_many :wrap`. [Patch by Alex Tomlins]
|
385
|
+
* Supported `:only` option in XML output.
|
358
386
|
* [GitHub:#14] Supported nil as single value. [Reported by n3llyb0y]
|
359
387
|
* [GitHub:#20] Supported ActiveModel::MassAssignmentSecurity.
|
360
388
|
[Reported by mihu]
|
@@ -373,7 +401,7 @@ h2(#3-2-0). 3.2.0: 2012-08-29
|
|
373
401
|
* [GitHub:#42] Fixed a bug that optional second is required for GeneralizedTime.
|
374
402
|
[Reported by masche842]
|
375
403
|
|
376
|
-
|
404
|
+
### Thanks
|
377
405
|
|
378
406
|
* sailesh
|
379
407
|
* Alex Tomlins
|
@@ -387,7 +415,7 @@ h3. Thanks
|
|
387
415
|
* unixmechanic
|
388
416
|
* masche842
|
389
417
|
|
390
|
-
|
418
|
+
## 3.1.1: 2011-11-03 {#3-1-1}
|
391
419
|
|
392
420
|
* Supported Rails 3.1.1.
|
393
421
|
* [GitHub:#9] Fixed a typo in document. [warden]
|
@@ -395,26 +423,26 @@ h2(#3-1-1). 3.1.1: 2011-11-03
|
|
395
423
|
* [GitHub:#16] Supported 4 or more bytes salt for SSHA and SMD5.
|
396
424
|
[Alex Tomlins]
|
397
425
|
|
398
|
-
|
426
|
+
### Thanks
|
399
427
|
|
400
428
|
* warden
|
401
429
|
* bklier
|
402
430
|
* Alex Tomlins
|
403
431
|
|
404
|
-
|
432
|
+
## 3.1.0: 2011-07-09 {#3-1-0}
|
405
433
|
|
406
434
|
* Supported Rails 3.1.0.rc4.
|
407
435
|
[Ryan Tandy, Narihiro Nakamura, Hidetoshi Yoshimoto]
|
408
436
|
* Removed ActiveRecord dependency and added ActiveModel dependency.
|
409
437
|
* Used YARD instead of RDoc as documentation sysytem.
|
410
438
|
|
411
|
-
|
439
|
+
## 1.2.4: 2011-05-13
|
412
440
|
|
413
441
|
* Splited AL-Admin into other repository: https://github.com/activeldap/al-admin
|
414
442
|
* [GitHub:#2] Fixed "path po cound not be found" error by fast_gettext.
|
415
443
|
[rbq]
|
416
444
|
|
417
|
-
|
445
|
+
## 1.2.3: 2011-04-30
|
418
446
|
|
419
447
|
* [#40] Ignored nil value attribute.
|
420
448
|
[christian.pennafort]
|
@@ -429,7 +457,7 @@ h2. 1.2.3: 2011-04-30
|
|
429
457
|
* Fixed wrong assertion in test.
|
430
458
|
[Ryan Tandy]
|
431
459
|
|
432
|
-
|
460
|
+
### Thanks
|
433
461
|
|
434
462
|
* christian.pennafort
|
435
463
|
* planetmcd
|
@@ -438,7 +466,7 @@ h3. Thanks
|
|
438
466
|
* Kris Wehner
|
439
467
|
* Ryan Tandy
|
440
468
|
|
441
|
-
|
469
|
+
## 1.2.2: 2010-07-04
|
442
470
|
|
443
471
|
* Supported ActiveRecord 2.3.8 and Rails 2.3.8.
|
444
472
|
* [#37] Fixed gem dependencies in Rakefile. [zachwily]
|
@@ -455,7 +483,7 @@ h2. 1.2.2: 2010-07-04
|
|
455
483
|
* Supported DN attribute value for assosiation replacement.
|
456
484
|
[Jörg Herzinger]
|
457
485
|
|
458
|
-
|
486
|
+
## 1.2.1: 2009-12-15
|
459
487
|
|
460
488
|
* Supported ActiveRecord 2.3.5 and Rails 2.3.5.
|
461
489
|
* Supported GetText 2.1.0 and Locale 2.0.5.
|
@@ -466,7 +494,7 @@ h2. 1.2.1: 2009-12-15
|
|
466
494
|
* [#35] fix has_many association is broken. [culturespy]
|
467
495
|
* Supported nested attribute options. [Hideyuki Yasuda]
|
468
496
|
|
469
|
-
|
497
|
+
## 1.2.0: 2009-09-22
|
470
498
|
|
471
499
|
* Supported ActiveRecord 2.3.4 and Rails 2.3.4.
|
472
500
|
* [IMCOMPATIBLE]
|
@@ -481,60 +509,60 @@ h2. 1.2.0: 2009-09-22
|
|
481
509
|
* Supported renaming an entry. Renaming other DTI is only supported by
|
482
510
|
JNDI backend.
|
483
511
|
|
484
|
-
|
512
|
+
## 1.1.0: 2009-07-18
|
485
513
|
|
486
514
|
* Improved tutorial. [Kazuaki Takase]
|
487
515
|
* Improvements:
|
488
|
-
|
489
|
-
|
490
|
-
|
516
|
+
* API:
|
517
|
+
* [#26] Supported to_xml for associations. [achemze]
|
518
|
+
* ActiveLdap::Base.delete_all(filter=nil, options={}) ->
|
491
519
|
ActiveLdap::Base.delete_all(filter_or_options={}).
|
492
520
|
Sure, old method signature is also still supported.
|
493
|
-
|
521
|
+
* belongs_to(:many) with :foreign_key is deprecated.
|
494
522
|
Use :primary_key instead of :foreign_key. [Kazuaki Takase]
|
495
|
-
|
523
|
+
* Means of has_many's :primary_key and :foreign_key are inverted.
|
496
524
|
[Kazuaki Takase]
|
497
|
-
|
525
|
+
* [experimental] Added ldap_field ActionView helper to
|
498
526
|
generate form fileds for a LDAP entry.
|
499
|
-
|
527
|
+
* Suppressed needless attributes updating.
|
500
528
|
* Dependencies:
|
501
|
-
|
502
|
-
|
529
|
+
* Re-supported GetText.
|
530
|
+
* ActiveRecord 2.3.2 is only supported.
|
503
531
|
|
504
|
-
|
532
|
+
## 1.0.9
|
505
533
|
|
506
534
|
* Added documents in Japanese. [Kazuaki Takase]
|
507
535
|
* Supported Ruby 1.9.1.
|
508
|
-
|
536
|
+
* [#20] [Ruby 1.9 Support] :: Running Tests [Alexey.Chebotar]
|
509
537
|
* Supported Rails 2.3.2.
|
510
|
-
|
538
|
+
* [#18] [Rails 2.3 Support] :: Running WEBrick Hangs [Alexey.Chebotar]
|
511
539
|
* Bug fixes:
|
512
|
-
|
513
|
-
|
514
|
-
|
515
|
-
|
516
|
-
|
517
|
-
|
540
|
+
* Fixed blank values detection. [David Morton]
|
541
|
+
* [#22] Ruby 1.8.6 p287 :: Undefined methods [Alexey.Chebotar]
|
542
|
+
* Fixed gem loading. [Tiago Fernandes]
|
543
|
+
* Fixed DN change via #base=. [David Morton]
|
544
|
+
* Fixed infinite retry on timeout.
|
545
|
+
* Fixed needless reconnection.
|
518
546
|
* API improvements:
|
519
|
-
|
547
|
+
* Removed needless instance methods: #prefix=,
|
520
548
|
#dn_attribute=, #sort_by=, #order=, #required_classes=,
|
521
549
|
#recommended_classes= and #excluded_classes. [David Morton]
|
522
|
-
|
523
|
-
|
524
|
-
|
525
|
-
|
526
|
-
|
550
|
+
* Removed obsolete scafoold_al generator.
|
551
|
+
* Reduced default :retry_limit.
|
552
|
+
* Supported association as parameter. [Joe Francis]
|
553
|
+
* Normalized schema attribute name. [Tim Hermans]
|
554
|
+
* Suppressed AuthenticationError -> ConnectionError
|
527
555
|
conversion on reconnection. [Kazuaki Takase]
|
528
|
-
|
529
|
-
|
556
|
+
* Added ActiveLdap::Schema#dump.
|
557
|
+
* ActiveLdap::Base.establish_connection ->
|
530
558
|
ActiveLdap::Base.setup_connection.
|
531
|
-
|
532
|
-
|
533
|
-
|
534
|
-
|
535
|
-
|
559
|
+
* Supported ActiveLdap::Base.find(:last).
|
560
|
+
* Added convenient methods:
|
561
|
+
* ActiveLdap::Base.first
|
562
|
+
* ActiveLdap::Base.last
|
563
|
+
* ActiveLdap::Base.all
|
536
564
|
|
537
|
-
|
565
|
+
## 1.0.2
|
538
566
|
|
539
567
|
* Removed Base64 module use.
|
540
568
|
* Improved LDIF parser.
|
@@ -550,26 +578,26 @@ h2. 1.0.2
|
|
550
578
|
* Accepted :class_name for belong_to and has_many option.
|
551
579
|
* Improved default port guess.
|
552
580
|
* Bug fixes:
|
553
|
-
|
554
|
-
|
555
|
-
|
556
|
-
|
581
|
+
* [#4] ModifyRecord#load doesn't operate atomic. [gwarf12]
|
582
|
+
* [#5] to_xml supports :except option. [baptiste.grenier]
|
583
|
+
* [#6] to_xml uses ActiveResource format. [baptiste.grenier]
|
584
|
+
* Out of ranged GeneralizedTime uses Time.at(0) as fallback value.
|
557
585
|
[Richard Nicholas]
|
558
|
-
|
559
|
-
|
560
|
-
|
561
|
-
|
562
|
-
|
586
|
+
* ActiveLdap::Base#to_s uses #to_ldif. [Kazuhiro NISHIYAMA]
|
587
|
+
* Fixed excess prefix extraction. [Grzegorz Marszałek]
|
588
|
+
* Skiped read only attribute validation. [しまさわらさん]
|
589
|
+
* Treated "" as empty value. [Ted Lepich]
|
590
|
+
* [#9][#16] Reduced raising when DN value is invalid.
|
563
591
|
[danger1986][Alexey.Chebotar]
|
564
|
-
|
565
|
-
|
566
|
-
|
592
|
+
* [#10][#12] Fixed needless ',' is appeared. [michael.j.konopka]
|
593
|
+
* [#11] Required missing 'active_ldap/user_password'. [michael.j.konopka]
|
594
|
+
* [#13] Returned entries if has_many :wrap has nonexistent entry.
|
567
595
|
[ingersoll]
|
568
|
-
|
569
|
-
|
570
|
-
|
596
|
+
* [#15] Fixed type error on computing DN. [ery.lee]
|
597
|
+
* ">=" filter operator doesn't work. [id:dicdak]
|
598
|
+
* [#17] ActiveLdap::Base.create doesn't raise exception. [Alexey.Chebotar]
|
571
599
|
|
572
|
-
|
600
|
+
## 1.0.1
|
573
601
|
|
574
602
|
* Fixed GetText integration.
|
575
603
|
* Fixed ActiveLdap::Base.find with ActiveLdap::DN. (Reported by Jeremy Pruitt)
|
@@ -580,19 +608,19 @@ h2. 1.0.1
|
|
580
608
|
* Improved inspect.
|
581
609
|
* Supported ActiveSupport 2.1.0.
|
582
610
|
|
583
|
-
|
611
|
+
## 1.0.0
|
584
612
|
|
585
613
|
* Fixed GSSAPI auth failure. [#18764] (Reported by Lennon Day-Reynolds)
|
586
614
|
* Supported Symbol as :dn_attribute_value. [#18921] (Requested by Nobody)
|
587
615
|
* Improved DN attribute detection. (Reported by Iain Pople)
|
588
616
|
* Avoided unnecesally modify operation. (Reported by Tilo)
|
589
617
|
|
590
|
-
|
618
|
+
## 0.10.0
|
591
619
|
|
592
620
|
* Implemented LDIF parser.
|
593
621
|
* Improved validation:
|
594
|
-
|
595
|
-
|
622
|
+
* Added some validations.
|
623
|
+
* Fixed SINGLE-VALUE validation. [#17763]
|
596
624
|
(Reported by Naoto Morishima)
|
597
625
|
* Supported JNDI as backend.
|
598
626
|
* Improved auto reconnection.
|
@@ -612,45 +640,45 @@ h2. 0.10.0
|
|
612
640
|
* Added :excluded_classed ldap_mapping option.
|
613
641
|
* Logged operation time used for LDAP operation.
|
614
642
|
* Improved API:
|
615
|
-
|
643
|
+
* Accepted non String value for find(:value => XXX).
|
616
644
|
(Suggested by Marc Dequèn)
|
617
|
-
|
645
|
+
* Accepted DN as ActiveLdap::Base.new(XXX).
|
618
646
|
(Reported by Jeremy Pruitt)
|
619
|
-
|
647
|
+
* Treated empty password for smiple bind as anonymous bind.
|
620
648
|
(Suggested by Bodaniel Jeans)
|
621
|
-
|
649
|
+
* Ensured adding "objectClass" for find's :attribute value. [#16946]
|
622
650
|
(Suggested by Nobody)
|
623
|
-
|
651
|
+
* Fixed a GeneralizedTime type casting bug.
|
624
652
|
(Reported by Bodaniel Jeanes)
|
625
|
-
|
653
|
+
* Supported :base and :prefix search/find option value escaping.
|
626
654
|
(Suggested by David Morton)
|
627
655
|
|
628
|
-
|
656
|
+
## 0.9.0
|
629
657
|
|
630
658
|
* Improved DN handling.
|
631
659
|
* Supported attribute value validation by LDAP schema.
|
632
660
|
* Changed RubyGems name: ruby-activeldap -> activeldap.
|
633
661
|
* Removed Log4r dependency.
|
634
662
|
* Supported lazy connection establishing.
|
635
|
-
|
663
|
+
* [API CHANGE]: establish_connection doesn't connect LDAP server.
|
636
664
|
* [API CHANGE]: Removed ActiveLdap::Base#establish_connection.
|
637
665
|
* Added ActiveLdap::Base#bind. (use this instead of #establish_connection)
|
638
666
|
* Supported implicit acts_as_tree.
|
639
667
|
* [API CHANGE]: Supported type casting.
|
640
668
|
* Supported :uri option in configuration.
|
641
669
|
* Improved Rails integration:
|
642
|
-
|
643
|
-
|
644
|
-
|
645
|
-
|
646
|
-
|
647
|
-
|
648
|
-
|
649
|
-
|
650
|
-
|
651
|
-
|
652
|
-
|
653
|
-
|
670
|
+
* Followed Rails 2.0 changes.
|
671
|
+
* AL-Admin:
|
672
|
+
* Supported lang parameter in URL.
|
673
|
+
* Improved design a bit. (Please someone help us!)
|
674
|
+
* Supported schema inspection.
|
675
|
+
* Supported objectClass modifiation.
|
676
|
+
* Rails plugin:
|
677
|
+
* Added ActiveLdap::VERSION check.
|
678
|
+
* Added model_active_ldap generator.
|
679
|
+
* Renamed scaffold_al generator to scaffold_active_ldap.
|
680
|
+
|
681
|
+
## 0.8.3
|
654
682
|
|
655
683
|
* Added AL-Admin Sample Rails app
|
656
684
|
* Added Ruby-GetText-Package support
|
@@ -659,36 +687,36 @@ h2. 0.8.3
|
|
659
687
|
* Improved performance
|
660
688
|
* Many bug fixes
|
661
689
|
|
662
|
-
|
690
|
+
## 0.8.2
|
663
691
|
|
664
692
|
* Added Net::LDAP support!
|
665
|
-
|
693
|
+
* supported SASL Digest-MD5 authentication with Net::LDAP.
|
666
694
|
* improved LDAP server support:
|
667
|
-
|
668
|
-
|
669
|
-
|
695
|
+
* improved Sun DS support.
|
696
|
+
* improved ActiveDirectory support. Thanks to Ernie Miller!
|
697
|
+
* improved Fedora-DS support. Thanks to Daniel Pfile!
|
670
698
|
* improved existing functions:
|
671
|
-
|
672
|
-
|
673
|
-
|
674
|
-
|
675
|
-
|
699
|
+
* improved DN handling. Thanks to James Hughes!
|
700
|
+
* improved SASL bind.
|
701
|
+
* improved old API check.
|
702
|
+
* improved schema handling. Thanks to Christoph Lipp!
|
703
|
+
* improved filter notification.
|
676
704
|
* updated documents:
|
677
|
-
|
678
|
-
|
705
|
+
* updated Rails realted documenation. Thanks to James Hughes!
|
706
|
+
* updated documentation for the changes between 0.7.1 and 0.8.0.
|
679
707
|
Thanks to Buzz Chopra!
|
680
708
|
* added new features:
|
681
|
-
|
682
|
-
|
683
|
-
|
684
|
-
|
685
|
-
|
709
|
+
* added scaffold_al generator for Rails.
|
710
|
+
* added required_classes to default filter value. Thanks to Jeff Hall!
|
711
|
+
* added :recommended_classes option to ldap_mapping.
|
712
|
+
* added :sort_by and :order options to find.
|
713
|
+
* added ActiveLdap::Base#to_param for ActionController.
|
686
714
|
* fixed some bugs:
|
687
|
-
|
688
|
-
|
689
|
-
|
715
|
+
* fixed rake install/uninstall.
|
716
|
+
* fixed typos. Thanks to Nobody!
|
717
|
+
* fixed required_classes initialization. Thanks to James Hughes!
|
690
718
|
|
691
|
-
|
719
|
+
## 0.8.1
|
692
720
|
|
693
721
|
* used Dependencies.load_paths.
|
694
722
|
* check whether attribute name is available or not.
|
@@ -706,7 +734,7 @@ h2. 0.8.1
|
|
706
734
|
* followed new API.
|
707
735
|
* removed a finished task: support Reloadable::Subclasses.
|
708
736
|
|
709
|
-
|
737
|
+
## 0.8.0
|
710
738
|
|
711
739
|
* Makefile/gemspec system replaced with Rakefile + Hoe
|
712
740
|
* Bugfix: Allow base to be empty
|
@@ -736,31 +764,31 @@ h2. 0.8.0
|
|
736
764
|
* make save() return false on fail
|
737
765
|
* make save!() raise EntryNotSaved exception
|
738
766
|
* to_xml()
|
739
|
-
* clear_active_connections!() -- Conn per class
|
740
|
-
|
767
|
+
* `clear_active_connections!()` -- Conn per class
|
768
|
+
* make @@active_connections and name them by
|
741
769
|
* base_class() (just return the ancestor)
|
742
770
|
* Separate ObjectClass changes to live in ActiveLDAP::ObjectClass
|
743
|
-
|
744
|
-
|
745
|
-
|
746
|
-
|
771
|
+
* add_objectclass
|
772
|
+
* remove_objectclass
|
773
|
+
* replace_objectclass
|
774
|
+
* disallow direct objectclass access?
|
747
775
|
* support ActiveRecord::Validations.
|
748
776
|
* support ActiveRecord::Callbacks.
|
749
777
|
* rename to ActiveLdap from ActiveLDAP to integrate RoR easily and enforce
|
750
778
|
many API changes.
|
751
779
|
|
752
|
-
|
780
|
+
## 0.7.4
|
753
781
|
|
754
782
|
* Bugfix: do not base LDAP::PrettyError on RuntimeError due to rescue evaluation.
|
755
783
|
* Bugfix: :return_objects was overriding :objects in find and find_all
|
756
784
|
* Rollup exception code into smaller space reusing similar code.
|
757
785
|
|
758
|
-
|
786
|
+
## 0.7.3
|
759
787
|
|
760
788
|
* Made has_many and belongs_to use :return_objects value
|
761
789
|
* Force generation of LDAP constants on import - currently broken
|
762
790
|
|
763
|
-
|
791
|
+
## 0.7.2
|
764
792
|
|
765
793
|
* Stopped overriding Conn.schema in ldap/schema - now use schema2
|
766
794
|
* Fix attributes being deleted when changing between objectclasses with shared attributes
|
@@ -783,14 +811,14 @@ h2. 0.7.2
|
|
783
811
|
* Added(*) a forking timeout using SIGALRM to interrupt handling.
|
784
812
|
* (*) Only works when RUBY_PLATFORM has "linux" in it
|
785
813
|
|
786
|
-
|
814
|
+
## 0.7.1
|
787
815
|
|
788
816
|
* Fix broken -W0 arg in activeldap.rb
|
789
817
|
* attribute_method=: '' and nil converted to ldap-pleasing [] values
|
790
818
|
* Added checks in write and search for connection down (to reconnect)
|
791
819
|
* Fixed broken idea of LDAP::err2string exceptions. Instead took errcodes from ldap.c in Ruby/LDAP.
|
792
820
|
|
793
|
-
|
821
|
+
## 0.7.0
|
794
822
|
|
795
823
|
* ConnectionError thrown from #initialize when there is no connection and retry limit was exceeded
|
796
824
|
* ConnectionError thrown when retries exceeded when no connection was created
|
@@ -811,7 +839,7 @@ h2. 0.7.0
|
|
811
839
|
* Added support for Base::connect(.., :password => String, ...) to avoid stupid Proc.new {'foo'} crap
|
812
840
|
* Add :store_password option. When this is set, :password is not cleared and :password_block is not re-evaluated on each rebind.
|
813
841
|
|
814
|
-
|
842
|
+
## 0.6.0
|
815
843
|
|
816
844
|
* Disallow blank DN attribute values on initialization
|
817
845
|
* Fix bug reported by Maik Schmidt regarding object creation
|
@@ -822,7 +850,7 @@ h2. 0.6.0
|
|
822
850
|
* Changes examples and tests to use "dc=localdomain"
|
823
851
|
* has_many() entries no longer return nil when empty
|
824
852
|
|
825
|
-
|
853
|
+
## 0.5.9
|
826
854
|
|
827
855
|
* Change default base to dc=localdomain (as per Debian default).
|
828
856
|
* schema2.rb:attr() now returns [] instead of '' when empty.
|
@@ -834,60 +862,60 @@ h2. 0.5.9
|
|
834
862
|
* Fixed broken creation of objects from anonymous classes.
|
835
863
|
* Fixed broken use of ldap_mapping with anonymous classes.
|
836
864
|
|
837
|
-
|
865
|
+
## 0.5.8: Bugfix galore
|
838
866
|
|
839
867
|
* Allow nil "prefix"
|
840
868
|
* Fixed the dup bug with Anonymous patch.
|
841
869
|
* (maybe) Fixed stale connection problems by attempting reconn/bind.
|
842
870
|
* Hiding redefine warnings (for now)
|
843
871
|
|
844
|
-
|
872
|
+
## 0.5.7
|
845
873
|
|
846
874
|
* Fixed the @data.default = [] bug that daniel@nightrunner.com pointed out
|
847
875
|
(and partially patched).
|
848
876
|
|
849
|
-
|
877
|
+
## 0.5.6
|
850
878
|
|
851
879
|
* Added support for foreign_key => 'dn' in has_many.
|
852
880
|
|
853
|
-
|
881
|
+
## 0.5.5
|
854
882
|
|
855
883
|
* Remove @@logger.debug entries during build
|
856
884
|
* Building -debug and regular gems and tarballs
|
857
885
|
|
858
|
-
|
886
|
+
## 0.5.4
|
859
887
|
|
860
888
|
* Added Base#import to streamline the Base.find and Base.find_all methods
|
861
|
-
|
889
|
+
* Speeds up find and find_all by not accessing LDAP multiple times
|
862
890
|
for data we already have.
|
863
891
|
* Added tests/benchmark which is a slightly modified version of excellent
|
864
892
|
benchmarking code contributed by
|
865
893
|
Ollivier Robert <roberto -_-AT-_- keltia.freenix.fr>.
|
866
894
|
|
867
|
-
|
895
|
+
## 0.5.3
|
868
896
|
|
869
897
|
* Changed attribute_method to send in associations
|
870
|
-
|
898
|
+
* fixes belongs_to (with local_kay) and inheritance around that
|
871
899
|
|
872
|
-
|
900
|
+
## 0.5.2
|
873
901
|
|
874
902
|
* Make sure values are .dup'd when they come from LDAP
|
875
903
|
|
876
|
-
|
904
|
+
## 0.5.1
|
877
905
|
|
878
906
|
* Changed Schema2#class_attributes to return @{:must => [], :may => []}@
|
879
907
|
* Fixed Base#must and Base#may to return with full SUPerclass requirements
|
880
908
|
|
881
|
-
|
909
|
+
## 0.5.0
|
882
910
|
|
883
911
|
* API CHANGE (as with all 0.x.0 changes) (towards ActiveRecord duck typing)
|
884
|
-
|
885
|
-
|
912
|
+
* Base#ldapattribute now always returns an array
|
913
|
+
* Base#ldapattribute(true) now returns a dup of an array, string, etc
|
886
914
|
when appropriate (old default) - This is just for convenience
|
887
|
-
|
888
|
-
|
915
|
+
* Base#ldapattribute returns the stored value, not just a .dup
|
916
|
+
* Associations methods return objects by default instead of just names.
|
889
917
|
Group.new('foo').members(false) will return names only.
|
890
|
-
|
918
|
+
* Base.connect returns true as one might expect
|
891
919
|
* Value validation and changing (binary, etc) occur prior to write, and
|
892
920
|
not immediately on attribute_method=(value).
|
893
921
|
* Attribute method validity is now determined /on-the-fly/.
|
@@ -907,28 +935,28 @@ h2. 0.5.0
|
|
907
935
|
This also makes it possible to "break" objects by removing the 'top'
|
908
936
|
objectclass and therefore the #objectClass method...
|
909
937
|
|
910
|
-
|
938
|
+
## 0.4.4
|
911
939
|
|
912
940
|
* Fixed binary subtype forcing:
|
913
|
-
|
941
|
+
* was setting data as subtype ;binary even when not required
|
914
942
|
* Added first set of unit tests.
|
915
|
-
|
943
|
+
* These will be cleaned up in later releases as more tests are added.
|
916
944
|
* Fixed subtype clobber non-subtype (unittest!)
|
917
|
-
|
945
|
+
* cn and cn;lang-blah: the last loaded won
|
918
946
|
* Fixed multivalued subtypes from being shoved into a string (unittest!)
|
919
|
-
|
947
|
+
* an error with attribute_input_value
|
920
948
|
|
921
|
-
|
949
|
+
## 0.4.3
|
922
950
|
|
923
951
|
* Fixed write (add) bugs introduced with last change
|
924
|
-
|
952
|
+
* only bug fixes until unittests are in place
|
925
953
|
|
926
|
-
|
954
|
+
## 0.4.2
|
927
955
|
|
928
956
|
* Added ruby-activeldap.gemspec
|
929
957
|
* Integrated building a gem of 'ruby-activeldap' into Makefile.package
|
930
958
|
* Added attr parsing cache to speed up repetitive calls: approx 13x speedup
|
931
|
-
|
959
|
+
* 100 usermod-binary-add calls
|
932
960
|
|
933
961
|
<pre>
|
934
962
|
!!!plain
|
@@ -942,12 +970,12 @@ h2. 0.4.2
|
|
942
970
|
sys 0m2.380s
|
943
971
|
</pre>
|
944
972
|
|
945
|
-
|
973
|
+
## 0.4.1:
|
946
974
|
|
947
975
|
* Schema2 was not correctly parsing objectClass entries.
|
948
|
-
|
976
|
+
* This is fixed for now but must be revisited.
|
949
977
|
|
950
|
-
|
978
|
+
## 0.4.0
|
951
979
|
|
952
980
|
* Added #<attribute>(arrays) argument which when true
|
953
981
|
always returns arrays. e.g.
|
@@ -960,77 +988,77 @@ h2. 0.4.0
|
|
960
988
|
|
961
989
|
This makes things easier for larger programming tasks.
|
962
990
|
* Added subtype support:
|
963
|
-
|
991
|
+
* Uses Hash objects to specify the subtype
|
964
992
|
e.g. @user.userCertificate = {'binary' => File.read('mycert.der')}@
|
965
|
-
|
966
|
-
|
967
|
-
|
993
|
+
* Added recursive type enforcement along with the subtype handling
|
994
|
+
* This required overhauling the #write method.
|
995
|
+
* Please report any problems ASAP! :^)
|
968
996
|
* Added automagic binary support
|
969
|
-
|
970
|
-
|
997
|
+
* subtype wrapping done automatically
|
998
|
+
* relies on X-NOT-HUMAN-READABLE flag
|
971
999
|
* Added LDAP::Schema2 which is an extension of Ruby/LDAP::Schema
|
972
|
-
|
1000
|
+
* made Schema#attr generic for easy type dereferencing
|
973
1001
|
* Updated rdoc in activeldap.rb
|
974
1002
|
* Updated examples (poorly) to reflect new functionality
|
975
1003
|
* Added several private helper functions
|
976
1004
|
|
977
|
-
|
1005
|
+
## 0.3.6
|
978
1006
|
|
979
1007
|
* Fixed dn attribute value extraction on find and find_all
|
980
|
-
|
1008
|
+
* these may have grabbed the wrong value if a DN attr has
|
981
1009
|
multiple values.
|
982
1010
|
* Fixed Base.search to return all values as arrays and update
|
983
1011
|
multivalued ones correctly
|
984
1012
|
* Lowered the amount of default logging to FATAL only
|
985
1013
|
|
986
|
-
|
1014
|
+
## 0.3.5
|
987
1015
|
|
988
1016
|
* Moved to rubyforge.org!
|
989
1017
|
|
990
|
-
|
1018
|
+
## 0.3.4
|
991
1019
|
|
992
1020
|
* Changed license to Ruby's
|
993
1021
|
|
994
|
-
|
1022
|
+
## 0.3.3
|
995
1023
|
|
996
1024
|
* Changed Base.search to return an array instead of a hash of hashes
|
997
1025
|
* Change Base.search to take in a hash as its arguments
|
998
1026
|
|
999
|
-
|
1027
|
+
## 0.3.2
|
1000
1028
|
|
1001
1029
|
* Bug fix - fixed support for module'd extension classes (again!)
|
1002
1030
|
|
1003
|
-
|
1031
|
+
## 0.3.1
|
1004
1032
|
|
1005
1033
|
* Updated the documentation
|
1006
1034
|
* Fixed ignoring of attrs argument in Base.search
|
1007
1035
|
* Fixed mistake in groupls (using dnattr directly)
|
1008
1036
|
* Fixed a mistake with overzealous dup'ing
|
1009
1037
|
|
1010
|
-
|
1038
|
+
## 0.3.0
|
1011
1039
|
|
1012
1040
|
* MORE API CHANGES (configuration.rb, etc)
|
1013
1041
|
* Major overhaul to the internals!
|
1014
|
-
|
1042
|
+
* removed @@BLAH[@klass] in lieu of defining
|
1015
1043
|
class methods which contain the required values. This
|
1016
1044
|
allows for clean inheritance of Base subclasses! Whew!
|
1017
|
-
|
1045
|
+
* Added @@config to store the options currently in use
|
1018
1046
|
after a Base.connect
|
1019
|
-
|
1020
|
-
|
1047
|
+
* Now cache passwords for doing reconnects
|
1048
|
+
* dnattr now accessible to the outside as a class method only
|
1021
1049
|
* Added Base.search to wrap normal LDAP search for convenience.
|
1022
|
-
|
1050
|
+
* This returns a hash of hashes with the results indexed first by
|
1023
1051
|
full dn, then by attribute.
|
1024
1052
|
|
1025
|
-
|
1053
|
+
## 0.2.0
|
1026
1054
|
|
1027
1055
|
* API CHANGES:
|
1028
|
-
|
1056
|
+
* Extension classes must be defined using map_to_ldap instead of setting
|
1029
1057
|
random values in initialize
|
1030
|
-
|
1031
|
-
|
1032
|
-
|
1033
|
-
|
1058
|
+
* Base#find is now Base.find_all and is a class method
|
1059
|
+
* Base.find returns the first match a la Array#find
|
1060
|
+
* force_reload is gone in belongs_to and has_many created methods
|
1061
|
+
* hiding Base.new, Base.find, and Base.find_all from direct access
|
1034
1062
|
* added uniq to setting objectClass to avoid stupid errors
|
1035
1063
|
* fixed new object creation bug where attributes were added before the
|
1036
1064
|
objectclass resulting in a violation (Base#write)
|
@@ -1044,48 +1072,48 @@ h2. 0.2.0
|
|
1044
1072
|
* Base.connect(:try_sasl => true) should now work with GSSAPI if you are
|
1045
1073
|
using OpenLDAP >= 2.1.29
|
1046
1074
|
|
1047
|
-
|
1075
|
+
## 0.1.8
|
1048
1076
|
|
1049
1077
|
* .dup all returned attribute values to avoid weirdness
|
1050
1078
|
* .dup all assigned values to avoid weirdness
|
1051
1079
|
* Changed default configuration.rb to use example.com
|
1052
1080
|
|
1053
|
-
|
1081
|
+
## 0.1.7
|
1054
1082
|
|
1055
1083
|
* Added support for non-unique DN attributes
|
1056
1084
|
* Added authoritative DN retrieval with 'object.dn'
|
1057
1085
|
|
1058
|
-
|
1086
|
+
## 0.1.6
|
1059
1087
|
|
1060
1088
|
* Added Base.close method for clearing the existing connection (despite Ruby/LDAP's lack of .close)
|
1061
1089
|
|
1062
|
-
|
1090
|
+
## 0.1.5
|
1063
1091
|
|
1064
1092
|
* Fixed incorrect usage of @klass in .find (should .find be a class method?)
|
1065
1093
|
|
1066
|
-
|
1094
|
+
## 0.1.4
|
1067
1095
|
|
1068
1096
|
* Change WARN to INFO in associations.rb for has_many
|
1069
1097
|
|
1070
|
-
|
1098
|
+
## 0.1.3
|
1071
1099
|
|
1072
1100
|
* Fixed class name mangling
|
1073
1101
|
* Added support for classes to take DNs as the initialization value
|
1074
1102
|
|
1075
|
-
|
1103
|
+
## 0.1.2
|
1076
1104
|
|
1077
1105
|
* Patch from Dick Davies: Try SSL before TLS
|
1078
1106
|
* Log4r support
|
1079
1107
|
* Better packaging (automated)
|
1080
1108
|
* Work-around for SSL stupidity
|
1081
|
-
|
1109
|
+
* SSLConn doesn't check if the port it connected to is really using SSL!
|
1082
1110
|
|
1083
|
-
|
1111
|
+
## 0.1.1
|
1084
1112
|
|
1085
1113
|
* Dynamic table class creation
|
1086
1114
|
* SASL/GSSAPI disabled by default - doesn't work consistently
|
1087
1115
|
|
1088
|
-
|
1116
|
+
## 0.1.0
|
1089
1117
|
|
1090
1118
|
* Added foreign_key to has_many
|
1091
1119
|
* Added local_key to belongs_to
|
@@ -1094,48 +1122,48 @@ h2. 0.1.0
|
|
1094
1122
|
* Packaged up with setup.rb
|
1095
1123
|
* Added RDocs and better comments
|
1096
1124
|
|
1097
|
-
|
1125
|
+
## 0.0.9
|
1098
1126
|
|
1099
1127
|
* Separated extension classes from ActiveLDAP module
|
1100
1128
|
* Cleaned up examples with new requires
|
1101
1129
|
|
1102
|
-
|
1130
|
+
## 0.0.8
|
1103
1131
|
|
1104
1132
|
* Added user and group scripting examples
|
1105
|
-
|
1106
|
-
|
1133
|
+
* usermod, userls, useradd, userdel
|
1134
|
+
* groupmod, groupls
|
1107
1135
|
|
1108
|
-
|
1136
|
+
## 0.0.7
|
1109
1137
|
|
1110
1138
|
* Cleaner authentication loop:
|
1111
|
-
|
1139
|
+
* SASL (GSSAPI only), simple, anonymous
|
1112
1140
|
* Added allow_anonymous option added (default: false)
|
1113
1141
|
|
1114
|
-
|
1142
|
+
## 0.0.6
|
1115
1143
|
|
1116
1144
|
* Write support cleaned up
|
1117
1145
|
* Exception classes added
|
1118
1146
|
|
1119
|
-
|
1147
|
+
## 0.0.5
|
1120
1148
|
|
1121
1149
|
* LDAP write support added
|
1122
1150
|
|
1123
|
-
|
1151
|
+
## 0.0.4
|
1124
1152
|
|
1125
1153
|
* MUST and MAY data validation against schema using objectClasses
|
1126
1154
|
|
1127
|
-
|
1155
|
+
## 0.0.3
|
1128
1156
|
|
1129
1157
|
* LDAP attributes alias resolution and data mapping
|
1130
1158
|
|
1131
|
-
|
1159
|
+
## 0.0.2
|
1132
1160
|
|
1133
1161
|
* Associations: has_many and belongs_to Class methods added for Base
|
1134
1162
|
|
1135
|
-
|
1163
|
+
## 0.0.1
|
1136
1164
|
|
1137
1165
|
* Extension approach in place with example User and Group classes
|
1138
1166
|
|
1139
|
-
|
1167
|
+
## 0.0.0
|
1140
1168
|
|
1141
1169
|
* Basic LDAP read support in place with hard-coded OUs
|