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