ae_users_legacy 0.6.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (82) hide show
  1. data/LICENSE +20 -0
  2. data/README +47 -0
  3. data/Rakefile +49 -0
  4. data/VERSION +1 -0
  5. data/ae_users_legacy.gemspec +126 -0
  6. data/app/controllers/account_controller.rb +167 -0
  7. data/app/controllers/auth_controller.rb +202 -0
  8. data/app/controllers/permission_controller.rb +172 -0
  9. data/app/helpers/account_helper.rb +2 -0
  10. data/app/helpers/auth_helper.rb +5 -0
  11. data/app/helpers/permission_helper.rb +2 -0
  12. data/app/models/account.rb +50 -0
  13. data/app/models/auth_notifier.rb +34 -0
  14. data/app/models/auth_ticket.rb +39 -0
  15. data/app/models/email_address.rb +17 -0
  16. data/app/models/login.rb +23 -0
  17. data/app/models/open_id_identity.rb +5 -0
  18. data/app/models/permission.rb +57 -0
  19. data/app/models/person.rb +156 -0
  20. data/app/models/role.rb +7 -0
  21. data/app/views/account/_personal_info.rhtml +35 -0
  22. data/app/views/account/_procon_profile.rhtml +3 -0
  23. data/app/views/account/_signup_form.html.erb +39 -0
  24. data/app/views/account/activate.rhtml +6 -0
  25. data/app/views/account/activation_error.rhtml +11 -0
  26. data/app/views/account/change_password.rhtml +3 -0
  27. data/app/views/account/edit_profile.rhtml +117 -0
  28. data/app/views/account/signup.rhtml +9 -0
  29. data/app/views/account/signup_noactivation.rhtml +7 -0
  30. data/app/views/account/signup_success.rhtml +8 -0
  31. data/app/views/auth/_auth_form.rhtml +54 -0
  32. data/app/views/auth/_forgot_form.html.erb +12 -0
  33. data/app/views/auth/_mini_auth_form.rhtml +17 -0
  34. data/app/views/auth/_openid_auth_form.html.erb +14 -0
  35. data/app/views/auth/_other_login_options.html.erb +24 -0
  36. data/app/views/auth/auth_form.js.erb +62 -0
  37. data/app/views/auth/forgot.rhtml +3 -0
  38. data/app/views/auth/forgot_form.rhtml +6 -0
  39. data/app/views/auth/index.css.erb +23 -0
  40. data/app/views/auth/login.rhtml +6 -0
  41. data/app/views/auth/needs_activation.rhtml +6 -0
  42. data/app/views/auth/needs_person.html.erb +32 -0
  43. data/app/views/auth/needs_profile.rhtml +14 -0
  44. data/app/views/auth/openid_login.html.erb +6 -0
  45. data/app/views/auth/resend_activation.rhtml +3 -0
  46. data/app/views/auth_notifier/account_activation.rhtml +13 -0
  47. data/app/views/auth_notifier/generated_password.rhtml +10 -0
  48. data/app/views/permission/_add_grantee.rhtml +47 -0
  49. data/app/views/permission/_role_member.rhtml +8 -0
  50. data/app/views/permission/_show.rhtml +81 -0
  51. data/app/views/permission/_userpicker.rhtml +0 -0
  52. data/app/views/permission/add_role_member.rhtml +3 -0
  53. data/app/views/permission/admin.rhtml +45 -0
  54. data/app/views/permission/edit.rhtml +9 -0
  55. data/app/views/permission/edit_role.rhtml +63 -0
  56. data/app/views/permission/grant.rhtml +10 -0
  57. data/db/migrate/002_create_accounts.rb +17 -0
  58. data/db/migrate/003_create_email_addresses.rb +17 -0
  59. data/db/migrate/004_create_people.rb +24 -0
  60. data/db/migrate/013_simplify_signup.rb +15 -0
  61. data/db/migrate/014_create_permissions.rb +16 -0
  62. data/db/migrate/015_create_roles.rb +18 -0
  63. data/db/migrate/016_refactor_people.rb +36 -0
  64. data/db/migrate/017_people_permissions.rb +9 -0
  65. data/generators/ae_users/USAGE +14 -0
  66. data/generators/ae_users/ae_users_generator.rb +12 -0
  67. data/generators/ae_users/templates/add.png +0 -0
  68. data/generators/ae_users/templates/admin.png +0 -0
  69. data/generators/ae_users/templates/group.png +0 -0
  70. data/generators/ae_users/templates/logout.png +0 -0
  71. data/generators/ae_users/templates/migration.rb +25 -0
  72. data/generators/ae_users/templates/openid.gif +0 -0
  73. data/generators/ae_users/templates/remove.png +0 -0
  74. data/generators/ae_users/templates/user.png +0 -0
  75. data/init.rb +1 -0
  76. data/install.rb +1 -0
  77. data/lib/ae_users.rb +687 -0
  78. data/rails/init.rb +17 -0
  79. data/tasks/ae_users_tasks.rake +4 -0
  80. data/test/ae_users_test.rb +8 -0
  81. data/uninstall.rb +1 -0
  82. metadata +177 -0
@@ -0,0 +1,8 @@
1
+ require 'test/unit'
2
+
3
+ class AeUsersTest < Test::Unit::TestCase
4
+ # Replace this with your real tests.
5
+ def test_this_plugin
6
+ flunk
7
+ end
8
+ end
data/uninstall.rb ADDED
@@ -0,0 +1 @@
1
+ # Uninstall hook code here
metadata ADDED
@@ -0,0 +1,177 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: ae_users_legacy
3
+ version: !ruby/object:Gem::Version
4
+ hash: 1
5
+ prerelease:
6
+ segments:
7
+ - 0
8
+ - 6
9
+ - 3
10
+ version: 0.6.3
11
+ platform: ruby
12
+ authors:
13
+ - Nat Budin
14
+ autorequire:
15
+ bindir: bin
16
+ cert_chain: []
17
+
18
+ date: 2011-01-13 00:00:00 -05:00
19
+ default_executable:
20
+ dependencies:
21
+ - !ruby/object:Gem::Dependency
22
+ name: thoughtbot-shoulda
23
+ prerelease: false
24
+ requirement: &id001 !ruby/object:Gem::Requirement
25
+ none: false
26
+ requirements:
27
+ - - ">="
28
+ - !ruby/object:Gem::Version
29
+ hash: 3
30
+ segments:
31
+ - 0
32
+ version: "0"
33
+ type: :development
34
+ version_requirements: *id001
35
+ - !ruby/object:Gem::Dependency
36
+ name: ruby-openid
37
+ prerelease: false
38
+ requirement: &id002 !ruby/object:Gem::Requirement
39
+ none: false
40
+ requirements:
41
+ - - ">="
42
+ - !ruby/object:Gem::Version
43
+ hash: 7
44
+ segments:
45
+ - 2
46
+ - 0
47
+ - 4
48
+ version: 2.0.4
49
+ type: :runtime
50
+ version_requirements: *id002
51
+ description: Don't use this gem. Use something written in the last couple years instead.
52
+ email: natbudin@gmail.com
53
+ executables: []
54
+
55
+ extensions: []
56
+
57
+ extra_rdoc_files:
58
+ - LICENSE
59
+ - README
60
+ files:
61
+ - LICENSE
62
+ - README
63
+ - Rakefile
64
+ - VERSION
65
+ - ae_users_legacy.gemspec
66
+ - app/controllers/account_controller.rb
67
+ - app/controllers/auth_controller.rb
68
+ - app/controllers/permission_controller.rb
69
+ - app/helpers/account_helper.rb
70
+ - app/helpers/auth_helper.rb
71
+ - app/helpers/permission_helper.rb
72
+ - app/models/account.rb
73
+ - app/models/auth_notifier.rb
74
+ - app/models/auth_ticket.rb
75
+ - app/models/email_address.rb
76
+ - app/models/login.rb
77
+ - app/models/open_id_identity.rb
78
+ - app/models/permission.rb
79
+ - app/models/person.rb
80
+ - app/models/role.rb
81
+ - app/views/account/_personal_info.rhtml
82
+ - app/views/account/_procon_profile.rhtml
83
+ - app/views/account/_signup_form.html.erb
84
+ - app/views/account/activate.rhtml
85
+ - app/views/account/activation_error.rhtml
86
+ - app/views/account/change_password.rhtml
87
+ - app/views/account/edit_profile.rhtml
88
+ - app/views/account/signup.rhtml
89
+ - app/views/account/signup_noactivation.rhtml
90
+ - app/views/account/signup_success.rhtml
91
+ - app/views/auth/_auth_form.rhtml
92
+ - app/views/auth/_forgot_form.html.erb
93
+ - app/views/auth/_mini_auth_form.rhtml
94
+ - app/views/auth/_openid_auth_form.html.erb
95
+ - app/views/auth/_other_login_options.html.erb
96
+ - app/views/auth/auth_form.js.erb
97
+ - app/views/auth/forgot.rhtml
98
+ - app/views/auth/forgot_form.rhtml
99
+ - app/views/auth/index.css.erb
100
+ - app/views/auth/login.rhtml
101
+ - app/views/auth/needs_activation.rhtml
102
+ - app/views/auth/needs_person.html.erb
103
+ - app/views/auth/needs_profile.rhtml
104
+ - app/views/auth/openid_login.html.erb
105
+ - app/views/auth/resend_activation.rhtml
106
+ - app/views/auth_notifier/account_activation.rhtml
107
+ - app/views/auth_notifier/generated_password.rhtml
108
+ - app/views/permission/_add_grantee.rhtml
109
+ - app/views/permission/_role_member.rhtml
110
+ - app/views/permission/_show.rhtml
111
+ - app/views/permission/_userpicker.rhtml
112
+ - app/views/permission/add_role_member.rhtml
113
+ - app/views/permission/admin.rhtml
114
+ - app/views/permission/edit.rhtml
115
+ - app/views/permission/edit_role.rhtml
116
+ - app/views/permission/grant.rhtml
117
+ - db/migrate/002_create_accounts.rb
118
+ - db/migrate/003_create_email_addresses.rb
119
+ - db/migrate/004_create_people.rb
120
+ - db/migrate/013_simplify_signup.rb
121
+ - db/migrate/014_create_permissions.rb
122
+ - db/migrate/015_create_roles.rb
123
+ - db/migrate/016_refactor_people.rb
124
+ - db/migrate/017_people_permissions.rb
125
+ - generators/ae_users/USAGE
126
+ - generators/ae_users/ae_users_generator.rb
127
+ - generators/ae_users/templates/add.png
128
+ - generators/ae_users/templates/admin.png
129
+ - generators/ae_users/templates/group.png
130
+ - generators/ae_users/templates/logout.png
131
+ - generators/ae_users/templates/migration.rb
132
+ - generators/ae_users/templates/openid.gif
133
+ - generators/ae_users/templates/remove.png
134
+ - generators/ae_users/templates/user.png
135
+ - init.rb
136
+ - install.rb
137
+ - lib/ae_users.rb
138
+ - rails/init.rb
139
+ - tasks/ae_users_tasks.rake
140
+ - test/ae_users_test.rb
141
+ - uninstall.rb
142
+ has_rdoc: true
143
+ homepage: http://github.com/nbudin/ae_users
144
+ licenses: []
145
+
146
+ post_install_message:
147
+ rdoc_options:
148
+ - --charset=UTF-8
149
+ require_paths:
150
+ - lib
151
+ required_ruby_version: !ruby/object:Gem::Requirement
152
+ none: false
153
+ requirements:
154
+ - - ">="
155
+ - !ruby/object:Gem::Version
156
+ hash: 3
157
+ segments:
158
+ - 0
159
+ version: "0"
160
+ required_rubygems_version: !ruby/object:Gem::Requirement
161
+ none: false
162
+ requirements:
163
+ - - ">="
164
+ - !ruby/object:Gem::Version
165
+ hash: 3
166
+ segments:
167
+ - 0
168
+ version: "0"
169
+ requirements: []
170
+
171
+ rubyforge_project:
172
+ rubygems_version: 1.4.2
173
+ signing_key:
174
+ specification_version: 3
175
+ summary: Legacy authentication/authorization framework
176
+ test_files:
177
+ - test/ae_users_test.rb