activeldap 0.9.0 → 0.10.0
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGES +61 -0
- data/README +8 -1
- data/Rakefile +4 -1
- data/benchmark/bench-al.rb +12 -2
- data/examples/al-admin/app/controllers/account_controller.rb +4 -3
- data/examples/al-admin/app/controllers/application.rb +5 -2
- data/examples/al-admin/app/controllers/directory_controller.rb +3 -1
- data/examples/al-admin/app/controllers/users_controller.rb +19 -4
- data/examples/al-admin/app/controllers/welcome_controller.rb +4 -2
- data/examples/al-admin/app/helpers/application_helper.rb +7 -1
- data/examples/al-admin/app/helpers/url_helper.rb +4 -0
- data/examples/al-admin/app/models/ldap_user.rb +4 -0
- data/examples/al-admin/app/views/_entry/{_attributes_information.rhtml → _attributes_information.html.erb} +0 -0
- data/examples/al-admin/app/views/_entry/{_entry.rhtml → _entry.html.erb} +0 -0
- data/examples/al-admin/app/views/_schema/{_aliases.rhtml → _aliases.html.erb} +0 -0
- data/examples/al-admin/app/views/_switcher/{_after.rhtml → _after.html.erb} +0 -0
- data/examples/al-admin/app/views/_switcher/{_before.rhtml → _before.html.erb} +0 -0
- data/examples/al-admin/app/views/account/{login.rhtml → login.html.erb} +0 -0
- data/examples/al-admin/app/views/account/{sign_up.rhtml → sign_up.html.erb} +0 -0
- data/examples/al-admin/app/views/attributes/{_attributes.rhtml → _attributes.html.erb} +0 -0
- data/examples/al-admin/app/views/attributes/{_detail.rhtml → _detail.html.erb} +0 -0
- data/examples/al-admin/app/views/attributes/{index.rhtml → index.html.erb} +0 -0
- data/examples/al-admin/app/views/attributes/{show.rhtml → show.html.erb} +0 -0
- data/examples/al-admin/app/views/directory/{_tree.rhtml → _tree.html.erb} +0 -0
- data/examples/al-admin/app/views/directory/{_tree_view_js.rhtml → _tree_view_js.html.erb} +4 -5
- data/examples/al-admin/app/views/directory/{index.rhtml → index.html.erb} +0 -0
- data/examples/al-admin/app/views/directory/{populate.rhtml → populate.html.erb} +0 -0
- data/examples/al-admin/app/views/layouts/{_footer.rhtml → _footer.html.erb} +0 -0
- data/examples/al-admin/app/views/layouts/{_header_menu.rhtml → _header_menu.html.erb} +0 -0
- data/examples/al-admin/app/views/layouts/{_main_menu.rhtml → _main_menu.html.erb} +0 -0
- data/examples/al-admin/app/views/layouts/{application.rhtml → application.html.erb} +3 -2
- data/examples/al-admin/app/views/object_classes/{_attributes.rhtml → _attributes.html.erb} +0 -0
- data/examples/al-admin/app/views/object_classes/{_object_classes.rhtml → _object_classes.html.erb} +0 -0
- data/examples/al-admin/app/views/object_classes/{index.rhtml → index.html.erb} +0 -0
- data/examples/al-admin/app/views/object_classes/{show.rhtml → show.html.erb} +0 -0
- data/examples/al-admin/app/views/syntaxes/{_detail.rhtml → _detail.html.erb} +0 -0
- data/examples/al-admin/app/views/syntaxes/{_syntaxes.rhtml → _syntaxes.html.erb} +0 -0
- data/examples/al-admin/app/views/syntaxes/{index.rhtml → index.html.erb} +0 -0
- data/examples/al-admin/app/views/syntaxes/{show.rhtml → show.html.erb} +0 -0
- data/examples/al-admin/app/views/users/{_attributes_update_form.rhtml → _attributes_update_form.html.erb} +0 -0
- data/examples/al-admin/app/views/users/{_form.rhtml → _form.html.erb} +0 -0
- data/examples/al-admin/app/views/users/{_object_classes_update_form.rhtml → _object_classes_update_form.html.erb} +7 -1
- data/examples/al-admin/app/views/users/{_password_change_form.rhtml → _password_change_form.html.erb} +0 -0
- data/examples/al-admin/app/views/users/{edit.rhtml → edit.html.erb} +0 -0
- data/examples/al-admin/app/views/users/{index.rhtml → index.html.erb} +0 -0
- data/examples/al-admin/app/views/users/{show.rhtml → show.html.erb} +0 -0
- data/examples/al-admin/app/views/welcome/{index.rhtml → index.html.erb} +0 -0
- data/examples/al-admin/config/boot.rb +96 -32
- data/examples/al-admin/config/environment.rb +30 -36
- data/examples/al-admin/config/environments/development.rb +2 -5
- data/examples/al-admin/config/environments/production.rb +1 -0
- data/examples/al-admin/config/environments/test.rb +4 -1
- data/examples/al-admin/config/initializers/exception_notifier.rb +2 -0
- data/examples/al-admin/config/initializers/gettext.rb +1 -0
- data/examples/al-admin/config/initializers/inflections.rb +10 -0
- data/examples/al-admin/config/initializers/mime_types.rb +5 -0
- data/examples/al-admin/config/initializers/ralative_url_support.rb +1 -0
- data/examples/al-admin/config/routes.rb +24 -12
- data/examples/al-admin/lib/authenticated_system.rb +1 -1
- data/examples/al-admin/lib/tasks/gettext.rake +1 -1
- data/examples/al-admin/po/en/al-admin.po +102 -100
- data/examples/al-admin/po/ja/al-admin.po +112 -110
- data/examples/al-admin/po/nl/al-admin.po +117 -110
- data/examples/al-admin/public/javascripts/controls.js +484 -354
- data/examples/al-admin/public/javascripts/dragdrop.js +88 -58
- data/examples/al-admin/public/javascripts/effects.js +396 -364
- data/examples/al-admin/public/javascripts/prototype.js +2817 -1107
- data/examples/al-admin/public/stylesheets/base.css +5 -0
- data/examples/al-admin/script/performance/request +3 -0
- data/lib/active_ldap.rb +13 -10
- data/lib/active_ldap/adapter/base.rb +159 -43
- data/lib/active_ldap/adapter/jndi.rb +175 -0
- data/lib/active_ldap/adapter/jndi_connection.rb +180 -0
- data/lib/active_ldap/adapter/ldap.rb +91 -46
- data/lib/active_ldap/adapter/ldap_ext.rb +19 -5
- data/lib/active_ldap/adapter/net_ldap.rb +52 -44
- data/lib/active_ldap/association/has_many_wrap.rb +1 -1
- data/lib/active_ldap/attributes.rb +20 -95
- data/lib/active_ldap/base.rb +195 -186
- data/lib/active_ldap/callbacks.rb +33 -0
- data/lib/active_ldap/command.rb +3 -3
- data/lib/active_ldap/connection.rb +21 -3
- data/lib/active_ldap/distinguished_name.rb +18 -11
- data/lib/active_ldap/entry_attribute.rb +78 -0
- data/lib/active_ldap/human_readable.rb +20 -0
- data/lib/active_ldap/ldif.rb +860 -10
- data/lib/active_ldap/object_class.rb +6 -4
- data/lib/active_ldap/operations.rb +129 -22
- data/lib/active_ldap/schema.rb +118 -9
- data/lib/active_ldap/schema/syntaxes.rb +33 -16
- data/lib/active_ldap/validations.rb +74 -65
- data/po/en/active-ldap.po +378 -768
- data/po/ja/active-ldap.po +935 -868
- data/rails/plugin/active_ldap/init.rb +40 -2
- data/test/al-test-utils.rb +78 -58
- data/test/command.rb +51 -1
- data/test/test-unit-ext/priority.rb +29 -6
- data/test/test_adapter.rb +21 -2
- data/test/test_attributes.rb +13 -0
- data/test/test_base.rb +51 -1
- data/test/test_connection.rb +2 -1
- data/test/test_connection_per_class.rb +55 -1
- data/test/test_connection_per_dn.rb +29 -1
- data/test/test_find.rb +73 -0
- data/test/test_ldif.rb +1829 -15
- data/test/test_load.rb +126 -0
- data/test/test_object_class.rb +23 -5
- data/test/test_schema.rb +28 -0
- data/test/test_syntax.rb +22 -11
- data/test/test_user.rb +16 -25
- data/test/test_useradd-binary.rb +1 -1
- data/test/test_usermod-binary-add-time.rb +1 -1
- data/test/test_usermod-binary-add.rb +1 -1
- data/test/test_validation.rb +100 -22
- metadata +77 -71
- data/data/locale/en/LC_MESSAGES/active-ldap.mo +0 -0
- data/data/locale/ja/LC_MESSAGES/active-ldap.mo +0 -0
- data/examples/al-admin/app/views/layouts/_flash_box.rhtml +0 -4
- data/examples/al-admin/public/stylesheets/common.css +0 -2
- data/examples/al-admin/script/breakpointer +0 -3
metadata
CHANGED
@@ -3,8 +3,8 @@ rubygems_version: 0.9.4
|
|
3
3
|
specification_version: 1
|
4
4
|
name: activeldap
|
5
5
|
version: !ruby/object:Gem::Version
|
6
|
-
version: 0.
|
7
|
-
date:
|
6
|
+
version: 0.10.0
|
7
|
+
date: 2008-03-01 00:00:00 -08:00
|
8
8
|
summary: Ruby/ActiveLdap is a object-oriented API to LDAP
|
9
9
|
require_paths:
|
10
10
|
- lib
|
@@ -40,8 +40,6 @@ files:
|
|
40
40
|
- TODO
|
41
41
|
- benchmark/bench-al.rb
|
42
42
|
- benchmark/config.yaml.sample
|
43
|
-
- data/locale/en/LC_MESSAGES/active-ldap.mo
|
44
|
-
- data/locale/ja/LC_MESSAGES/active-ldap.mo
|
45
43
|
- examples/al-admin/README
|
46
44
|
- examples/al-admin/Rakefile
|
47
45
|
- examples/al-admin/app/controllers/account_controller.rb
|
@@ -64,48 +62,52 @@ files:
|
|
64
62
|
- examples/al-admin/app/models/entry.rb
|
65
63
|
- examples/al-admin/app/models/ldap_user.rb
|
66
64
|
- examples/al-admin/app/models/user.rb
|
67
|
-
- examples/al-admin/app/views/_entry/_attributes_information.
|
68
|
-
- examples/al-admin/app/views/_entry/_entry.
|
69
|
-
- examples/al-admin/app/views/_schema/_aliases.
|
70
|
-
- examples/al-admin/app/views/_switcher/_after.
|
71
|
-
- examples/al-admin/app/views/_switcher/_before.
|
72
|
-
- examples/al-admin/app/views/account/login.
|
73
|
-
- examples/al-admin/app/views/account/sign_up.
|
74
|
-
- examples/al-admin/app/views/attributes/_attributes.
|
75
|
-
- examples/al-admin/app/views/attributes/_detail.
|
76
|
-
- examples/al-admin/app/views/attributes/index.
|
77
|
-
- examples/al-admin/app/views/attributes/show.
|
78
|
-
- examples/al-admin/app/views/directory/_tree.
|
79
|
-
- examples/al-admin/app/views/directory/_tree_view_js.
|
80
|
-
- examples/al-admin/app/views/directory/index.
|
81
|
-
- examples/al-admin/app/views/directory/populate.
|
82
|
-
- examples/al-admin/app/views/layouts/
|
83
|
-
- examples/al-admin/app/views/layouts/
|
84
|
-
- examples/al-admin/app/views/layouts/
|
85
|
-
- examples/al-admin/app/views/layouts/
|
86
|
-
- examples/al-admin/app/views/
|
87
|
-
- examples/al-admin/app/views/object_classes/
|
88
|
-
- examples/al-admin/app/views/object_classes/
|
89
|
-
- examples/al-admin/app/views/object_classes/
|
90
|
-
- examples/al-admin/app/views/
|
91
|
-
- examples/al-admin/app/views/syntaxes/
|
92
|
-
- examples/al-admin/app/views/syntaxes/
|
93
|
-
- examples/al-admin/app/views/syntaxes/
|
94
|
-
- examples/al-admin/app/views/
|
95
|
-
- examples/al-admin/app/views/users/
|
96
|
-
- examples/al-admin/app/views/users/
|
97
|
-
- examples/al-admin/app/views/users/
|
98
|
-
- examples/al-admin/app/views/users/
|
99
|
-
- examples/al-admin/app/views/users/
|
100
|
-
- examples/al-admin/app/views/users/
|
101
|
-
- examples/al-admin/app/views/
|
102
|
-
- examples/al-admin/app/views/welcome/index.rhtml
|
65
|
+
- examples/al-admin/app/views/_entry/_attributes_information.html.erb
|
66
|
+
- examples/al-admin/app/views/_entry/_entry.html.erb
|
67
|
+
- examples/al-admin/app/views/_schema/_aliases.html.erb
|
68
|
+
- examples/al-admin/app/views/_switcher/_after.html.erb
|
69
|
+
- examples/al-admin/app/views/_switcher/_before.html.erb
|
70
|
+
- examples/al-admin/app/views/account/login.html.erb
|
71
|
+
- examples/al-admin/app/views/account/sign_up.html.erb
|
72
|
+
- examples/al-admin/app/views/attributes/_attributes.html.erb
|
73
|
+
- examples/al-admin/app/views/attributes/_detail.html.erb
|
74
|
+
- examples/al-admin/app/views/attributes/index.html.erb
|
75
|
+
- examples/al-admin/app/views/attributes/show.html.erb
|
76
|
+
- examples/al-admin/app/views/directory/_tree.html.erb
|
77
|
+
- examples/al-admin/app/views/directory/_tree_view_js.html.erb
|
78
|
+
- examples/al-admin/app/views/directory/index.html.erb
|
79
|
+
- examples/al-admin/app/views/directory/populate.html.erb
|
80
|
+
- examples/al-admin/app/views/layouts/_footer.html.erb
|
81
|
+
- examples/al-admin/app/views/layouts/_header_menu.html.erb
|
82
|
+
- examples/al-admin/app/views/layouts/_main_menu.html.erb
|
83
|
+
- examples/al-admin/app/views/layouts/application.html.erb
|
84
|
+
- examples/al-admin/app/views/object_classes/_attributes.html.erb
|
85
|
+
- examples/al-admin/app/views/object_classes/_object_classes.html.erb
|
86
|
+
- examples/al-admin/app/views/object_classes/index.html.erb
|
87
|
+
- examples/al-admin/app/views/object_classes/show.html.erb
|
88
|
+
- examples/al-admin/app/views/syntaxes/_detail.html.erb
|
89
|
+
- examples/al-admin/app/views/syntaxes/_syntaxes.html.erb
|
90
|
+
- examples/al-admin/app/views/syntaxes/index.html.erb
|
91
|
+
- examples/al-admin/app/views/syntaxes/show.html.erb
|
92
|
+
- examples/al-admin/app/views/users/_attributes_update_form.html.erb
|
93
|
+
- examples/al-admin/app/views/users/_form.html.erb
|
94
|
+
- examples/al-admin/app/views/users/_object_classes_update_form.html.erb
|
95
|
+
- examples/al-admin/app/views/users/_password_change_form.html.erb
|
96
|
+
- examples/al-admin/app/views/users/edit.html.erb
|
97
|
+
- examples/al-admin/app/views/users/index.html.erb
|
98
|
+
- examples/al-admin/app/views/users/show.html.erb
|
99
|
+
- examples/al-admin/app/views/welcome/index.html.erb
|
103
100
|
- examples/al-admin/config/boot.rb
|
104
101
|
- examples/al-admin/config/database.yml.example
|
105
102
|
- examples/al-admin/config/environment.rb
|
106
103
|
- examples/al-admin/config/environments/development.rb
|
107
104
|
- examples/al-admin/config/environments/production.rb
|
108
105
|
- examples/al-admin/config/environments/test.rb
|
106
|
+
- examples/al-admin/config/initializers/exception_notifier.rb
|
107
|
+
- examples/al-admin/config/initializers/gettext.rb
|
108
|
+
- examples/al-admin/config/initializers/inflections.rb
|
109
|
+
- examples/al-admin/config/initializers/mime_types.rb
|
110
|
+
- examples/al-admin/config/initializers/ralative_url_support.rb
|
109
111
|
- examples/al-admin/config/ldap.yml.example
|
110
112
|
- examples/al-admin/config/routes.rb
|
111
113
|
- examples/al-admin/db/migrate/001_create_users.rb
|
@@ -284,7 +286,6 @@ files:
|
|
284
286
|
- examples/al-admin/public/stylesheets/account.css
|
285
287
|
- examples/al-admin/public/stylesheets/attributes.css
|
286
288
|
- examples/al-admin/public/stylesheets/base.css
|
287
|
-
- examples/al-admin/public/stylesheets/common.css
|
288
289
|
- examples/al-admin/public/stylesheets/detail.css
|
289
290
|
- examples/al-admin/public/stylesheets/directory.css
|
290
291
|
- examples/al-admin/public/stylesheets/object-classes.css
|
@@ -311,12 +312,12 @@ files:
|
|
311
312
|
- examples/al-admin/public/stylesheets/users.css
|
312
313
|
- examples/al-admin/public/stylesheets/welcome.css
|
313
314
|
- examples/al-admin/script/about
|
314
|
-
- examples/al-admin/script/breakpointer
|
315
315
|
- examples/al-admin/script/console
|
316
316
|
- examples/al-admin/script/destroy
|
317
317
|
- examples/al-admin/script/generate
|
318
318
|
- examples/al-admin/script/performance/benchmarker
|
319
319
|
- examples/al-admin/script/performance/profiler
|
320
|
+
- examples/al-admin/script/performance/request
|
320
321
|
- examples/al-admin/script/plugin
|
321
322
|
- examples/al-admin/script/process/inspector
|
322
323
|
- examples/al-admin/script/process/reaper
|
@@ -372,6 +373,8 @@ files:
|
|
372
373
|
- lib/active_ldap.rb
|
373
374
|
- lib/active_ldap/acts/tree.rb
|
374
375
|
- lib/active_ldap/adapter/base.rb
|
376
|
+
- lib/active_ldap/adapter/jndi.rb
|
377
|
+
- lib/active_ldap/adapter/jndi_connection.rb
|
375
378
|
- lib/active_ldap/adapter/ldap.rb
|
376
379
|
- lib/active_ldap/adapter/ldap_ext.rb
|
377
380
|
- lib/active_ldap/adapter/net_ldap.rb
|
@@ -392,6 +395,7 @@ files:
|
|
392
395
|
- lib/active_ldap/configuration.rb
|
393
396
|
- lib/active_ldap/connection.rb
|
394
397
|
- lib/active_ldap/distinguished_name.rb
|
398
|
+
- lib/active_ldap/entry_attribute.rb
|
395
399
|
- lib/active_ldap/escape.rb
|
396
400
|
- lib/active_ldap/get_text.rb
|
397
401
|
- lib/active_ldap/get_text/parser.rb
|
@@ -449,6 +453,7 @@ files:
|
|
449
453
|
- test/test_groupls.rb
|
450
454
|
- test/test_groupmod.rb
|
451
455
|
- test/test_ldif.rb
|
456
|
+
- test/test_load.rb
|
452
457
|
- test/test_lpasswd.rb
|
453
458
|
- test/test_object_class.rb
|
454
459
|
- test/test_reflection.rb
|
@@ -467,42 +472,43 @@ files:
|
|
467
472
|
- test/test_usermod.rb
|
468
473
|
- test/test_validation.rb
|
469
474
|
test_files:
|
470
|
-
- test/
|
471
|
-
- test/
|
472
|
-
- test/
|
473
|
-
- test/test_bind.rb
|
474
|
-
- test/test_groupls.rb
|
475
|
-
- test/test_ldif.rb
|
476
|
-
- test/test_groupmod.rb
|
475
|
+
- test/test_acts_as_tree.rb
|
476
|
+
- test/test_adapter.rb
|
477
|
+
- test/test_associations.rb
|
477
478
|
- test/test_attributes.rb
|
478
|
-
- test/
|
479
|
-
- test/
|
480
|
-
- test/
|
481
|
-
- test/test_usermod-binary-add-time.rb
|
482
|
-
- test/test_useradd-binary.rb
|
483
|
-
- test/test_usermod-binary-del.rb
|
479
|
+
- test/test_base.rb
|
480
|
+
- test/test_base_per_instance.rb
|
481
|
+
- test/test_bind.rb
|
484
482
|
- test/test_callback.rb
|
485
|
-
- test/test_validation.rb
|
486
|
-
- test/test_syntax.rb
|
487
483
|
- test/test_configuration.rb
|
488
|
-
- test/
|
489
|
-
- test/
|
484
|
+
- test/test_connection.rb
|
485
|
+
- test/test_connection_per_class.rb
|
486
|
+
- test/test_connection_per_dn.rb
|
487
|
+
- test/test_dn.rb
|
488
|
+
- test/test_find.rb
|
489
|
+
- test/test_groupadd.rb
|
490
490
|
- test/test_groupdel.rb
|
491
|
+
- test/test_groupls.rb
|
492
|
+
- test/test_groupmod.rb
|
493
|
+
- test/test_ldif.rb
|
494
|
+
- test/test_load.rb
|
495
|
+
- test/test_lpasswd.rb
|
496
|
+
- test/test_object_class.rb
|
497
|
+
- test/test_reflection.rb
|
491
498
|
- test/test_schema.rb
|
492
|
-
- test/
|
499
|
+
- test/test_syntax.rb
|
500
|
+
- test/test_user.rb
|
501
|
+
- test/test_user_password.rb
|
502
|
+
- test/test_useradd-binary.rb
|
493
503
|
- test/test_useradd.rb
|
494
|
-
- test/
|
495
|
-
- test/test_usermod-lang-add.rb
|
496
|
-
- test/test_groupadd.rb
|
497
|
-
- test/test_base_per_instance.rb
|
498
|
-
- test/test_acts_as_tree.rb
|
504
|
+
- test/test_userdel.rb
|
499
505
|
- test/test_userls.rb
|
500
|
-
- test/
|
501
|
-
- test/test_associations.rb
|
502
|
-
- test/test_connection_per_class.rb
|
503
|
-
- test/test_reflection.rb
|
504
|
-
- test/test_adapter.rb
|
506
|
+
- test/test_usermod-binary-add-time.rb
|
505
507
|
- test/test_usermod-binary-add.rb
|
508
|
+
- test/test_usermod-binary-del.rb
|
509
|
+
- test/test_usermod-lang-add.rb
|
510
|
+
- test/test_usermod.rb
|
511
|
+
- test/test_validation.rb
|
506
512
|
rdoc_options:
|
507
513
|
- --main
|
508
514
|
- lib/active_ldap.rb
|
@@ -532,5 +538,5 @@ dependencies:
|
|
532
538
|
requirements:
|
533
539
|
- - ">="
|
534
540
|
- !ruby/object:Gem::Version
|
535
|
-
version: 1.
|
541
|
+
version: 1.5.0
|
536
542
|
version:
|
Binary file
|
Binary file
|