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