parlement 0.3 → 0.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (122) hide show
  1. data/CHANGES +16 -0
  2. data/README +36 -3
  3. data/Rakefile +8 -12
  4. data/app/controllers/account_controller.rb +2 -0
  5. data/app/controllers/elt_controller.rb +1 -5
  6. data/app/controllers/subscriber_controller.rb +1 -1
  7. data/app/helpers/elt_helper.rb +30 -10
  8. data/app/models/elt.rb +2 -1
  9. data/app/models/mail.rb +41 -41
  10. data/app/models/mail_notify.rb +27 -10
  11. data/app/views/account/_login.rhtml +9 -7
  12. data/app/views/account/_show.rhtml +4 -4
  13. data/app/views/elt/_elt.rhtml +52 -51
  14. data/app/views/elt/_list.rhtml +22 -14
  15. data/app/views/elt/new.rhtml +1 -1
  16. data/app/views/elt/show.rhtml +15 -16
  17. data/app/views/layouts/top.rhtml +13 -1
  18. data/app/views/person/show.rhtml +1 -7
  19. data/config/boot.rb +32 -7
  20. data/config/database.yml +3 -0
  21. data/config/environment.rb +3 -1
  22. data/config/environments/development.rb +1 -1
  23. data/db/ROOT/parlement/ddRing.txt +14 -0
  24. data/db/ROOT/parlement/top-politics.txt +12 -0
  25. data/db/ROOT/perso.txt +1 -1
  26. data/db/development_structure.sql +30 -16
  27. data/db/schema.rb +18 -10
  28. data/db/schema.sql +34 -34
  29. data/public/javascripts/application.js +2 -0
  30. data/public/javascripts/blank.gif +0 -0
  31. data/public/javascripts/borders.js +687 -0
  32. data/public/javascripts/controls.js +95 -30
  33. data/public/javascripts/dragdrop.js +161 -21
  34. data/public/javascripts/effects.js +310 -211
  35. data/public/javascripts/ie7-load.htc +1 -0
  36. data/public/javascripts/prototype.js +228 -28
  37. data/test/fixtures/attachments.yml +3 -0
  38. data/test/fixtures/mail/mail_ruby +1 -0
  39. data/test/fixtures/people.yml +14 -0
  40. data/test/functional/account_controller_test.rb +3 -2
  41. data/test/unit/mail_notify_test.rb +2 -0
  42. data/test/unit/mail_test.rb +59 -6
  43. data/test/unit/person_test.rb +1 -1
  44. data/vendor/plugins/engines/CHANGELOG +92 -0
  45. data/vendor/plugins/engines/MIT-LICENSE +21 -0
  46. data/vendor/plugins/engines/README +325 -39
  47. data/vendor/plugins/engines/generators/engine/USAGE +26 -0
  48. data/vendor/plugins/engines/generators/engine/engine_generator.rb +199 -0
  49. data/vendor/plugins/engines/generators/engine/templates/README +85 -0
  50. data/vendor/plugins/engines/generators/engine/templates/init_engine.erb +13 -0
  51. data/vendor/plugins/engines/generators/engine/templates/install.erb +4 -0
  52. data/vendor/plugins/engines/generators/engine/templates/lib/engine.erb +6 -0
  53. data/vendor/plugins/engines/generators/engine/templates/licenses/GPL +18 -0
  54. data/vendor/plugins/engines/generators/engine/templates/licenses/LGPL +19 -0
  55. data/vendor/plugins/engines/generators/engine/templates/licenses/MIT +22 -0
  56. data/vendor/plugins/engines/generators/engine/templates/licenses/None +1 -0
  57. data/vendor/plugins/engines/generators/engine/templates/public/javascripts/engine.js +0 -0
  58. data/vendor/plugins/engines/generators/engine/templates/public/stylesheets/engine.css +0 -0
  59. data/vendor/plugins/engines/generators/engine/templates/tasks/engine.rake +0 -0
  60. data/vendor/plugins/engines/generators/engine/templates/test/test_helper.erb +13 -0
  61. data/vendor/plugins/engines/init.rb +18 -3
  62. data/vendor/plugins/engines/lib/bundles/require_resource.rb +124 -0
  63. data/vendor/plugins/engines/lib/bundles.rb +77 -0
  64. data/vendor/plugins/engines/lib/{action_mailer_extensions.rb → engines/action_mailer_extensions.rb} +15 -36
  65. data/vendor/plugins/engines/lib/{action_view_extensions.rb → engines/action_view_extensions.rb} +40 -33
  66. data/vendor/plugins/engines/lib/engines/active_record_extensions.rb +19 -0
  67. data/vendor/plugins/engines/lib/engines/dependencies_extensions.rb +118 -0
  68. data/vendor/plugins/engines/lib/engines/migration_extensions.rb +53 -0
  69. data/vendor/plugins/engines/lib/{ruby_extensions.rb → engines/ruby_extensions.rb} +14 -28
  70. data/vendor/plugins/engines/lib/engines/testing_extensions.rb +323 -0
  71. data/vendor/plugins/engines/lib/engines.rb +258 -148
  72. data/vendor/plugins/engines/tasks/engines.rake +161 -0
  73. data/vendor/plugins/engines/test/action_view_extensions_test.rb +9 -0
  74. data/vendor/plugins/engines/test/ruby_extensions_test.rb +24 -3
  75. data/vendor/plugins/guid/README.TXT +14 -4
  76. data/vendor/plugins/guid/init.rb +9 -2
  77. data/vendor/plugins/guid/lib/uuidtools.rb +22 -15
  78. data/vendor/plugins/login_engine/CHANGELOG +14 -0
  79. data/vendor/plugins/login_engine/README +93 -7
  80. data/vendor/plugins/login_engine/app/controllers/user_controller.rb +30 -20
  81. data/vendor/plugins/login_engine/app/helpers/user_helper.rb +1 -1
  82. data/vendor/plugins/login_engine/app/views/user/forgot_password.rhtml +2 -2
  83. data/vendor/plugins/login_engine/db/migrate/001_initial_schema.rb +25 -0
  84. data/vendor/plugins/login_engine/install.rb +4 -0
  85. data/vendor/plugins/login_engine/lib/login_engine/authenticated_system.rb +11 -5
  86. data/vendor/plugins/login_engine/lib/login_engine/authenticated_user.rb +15 -9
  87. data/vendor/plugins/login_engine/lib/login_engine.rb +7 -3
  88. data/vendor/plugins/login_engine/test/functional/user_controller_test.rb +22 -19
  89. data/vendor/plugins/login_engine/test/test_helper.rb +4 -8
  90. data/vendor/plugins/login_engine/test/unit/user_test.rb +31 -11
  91. metadata +60 -57
  92. data/app/models/attachment.rb +0 -6
  93. data/public/attachment/file/architecture.png +0 -0
  94. data/public/attachment/file/architecture.svg +0 -8972
  95. data/public/attachment/file/security.svg +0 -8960
  96. data/public/engine_files/login_engine/stylesheets/login_engine.css +0 -81
  97. data/public/oldREADME +0 -190
  98. data/public/stylesheets/default.css +0 -235
  99. data/public/stylesheets/live_tree.css +0 -62
  100. data/public/stylesheets/scaffold.css +0 -74
  101. data/script/about +0 -3
  102. data/script/benchmarker +0 -19
  103. data/script/breakpointer +0 -3
  104. data/script/console +0 -3
  105. data/script/create_db +0 -7
  106. data/script/destroy +0 -3
  107. data/script/generate +0 -3
  108. data/script/performance/benchmarker +0 -3
  109. data/script/performance/profiler +0 -3
  110. data/script/plugin +0 -3
  111. data/script/process/reaper +0 -3
  112. data/script/process/spawner +0 -3
  113. data/script/process/spinner +0 -3
  114. data/script/profiler +0 -34
  115. data/script/runner +0 -3
  116. data/script/server +0 -3
  117. data/test/unit/user_test.rb +0 -94
  118. data/vendor/plugins/engines/lib/dependencies_extensions.rb +0 -56
  119. data/vendor/plugins/engines/lib/testing_extensions.rb +0 -33
  120. data/vendor/plugins/login_engine/db/schema.rb +0 -25
  121. data/vendor/plugins/login_engine/test/fixtures/templates/users.yml +0 -41
  122. /data/public/images/{eltBackground.png → eltBackground.jng} +0 -0
@@ -11,10 +11,10 @@ module LoginEngine
11
11
  #++
12
12
 
13
13
  # Source address for user emails
14
- config :email_from, 'lazyatom@lazyatom.com'
14
+ config :email_from, 'webmaster@your.company'
15
15
 
16
16
  # Destination email for system errors
17
- config :admin_email, 'lazyatom@lazyatom.com'
17
+ config :admin_email, 'webmaster@your.company'
18
18
 
19
19
  # Sent in emails to users
20
20
  config :app_url, 'http://localhost:3000/'
@@ -29,7 +29,7 @@ module LoginEngine
29
29
  config :security_token_life_hours, 24
30
30
 
31
31
  # Two column form input
32
- config :TwoColumnInput, true
32
+ config :two_column_input, true
33
33
 
34
34
  # Add all changeable user fields to this array.
35
35
  # They will then be able to be edited from the edit action. You
@@ -55,4 +55,8 @@ module LoginEngine
55
55
  # controls whether or not email is used
56
56
  config :use_email_notification, true
57
57
 
58
+ # Controls whether accounts must be confirmed after signing up
59
+ # ONLY if this and use_email_notification are both true
60
+ config :confirm_account, true
61
+
58
62
  end
@@ -1,6 +1,5 @@
1
1
  require File.dirname(__FILE__) + '/../test_helper'
2
2
  require_dependency 'user_controller'
3
- require 'breakpoint'
4
3
 
5
4
 
6
5
  # Raise errors beyond the default web-based presentation
@@ -8,7 +7,9 @@ class UserController; def rescue_action(e) raise e end; end
8
7
 
9
8
  class UserControllerTest < Test::Unit::TestCase
10
9
 
11
- fixtures LoginEngine.config(:user_table).to_sym
10
+ # load the fixture into the developer-specified table using the custom
11
+ # 'fixture' method.
12
+ fixture :users, :table_name => LoginEngine.config(:user_table), :class_name => "User"
12
13
 
13
14
  def setup
14
15
 
@@ -47,7 +48,7 @@ class UserControllerTest < Test::Unit::TestCase
47
48
 
48
49
  assert_response 302 # redirect
49
50
  assert_session_has :user
50
- assert_equal fixture_object(LoginEngine.config(:user_table).to_sym, :bob), session[:user]
51
+ assert_equal users(:bob), session[:user]
51
52
 
52
53
  assert_redirect_url "http://#{@request.host}/bogus/location"
53
54
  end
@@ -86,8 +87,12 @@ class UserControllerTest < Test::Unit::TestCase
86
87
  assert_equal "newbob@test.com", mail.to_addrs[0].to_s
87
88
  assert_match /login:\s+\w+\n/, mail.encoded
88
89
  assert_match /password:\s+\w+\n/, mail.encoded
89
- mail.encoded =~ /key=(.*?)"/
90
- key = $1
90
+ #mail.encoded =~ /user_id=(.*?)&key=(.*?)"/
91
+ user_id = /user_id=(\d+)/.match(mail.encoded)[1]
92
+ key = /key=([a-z0-9]+)/.match(mail.encoded)[1]
93
+
94
+ assert_not_nil user_id
95
+ assert_not_nil key
91
96
 
92
97
  user = User.find_by_email("newbob@test.com")
93
98
  assert_not_nil user
@@ -95,18 +100,18 @@ class UserControllerTest < Test::Unit::TestCase
95
100
 
96
101
  # First past the expiration.
97
102
  Time.advance_by_days = 1
98
- get :home, :user=> { "id" => "#{user.id}" }, "key" => "#{key}"
103
+ get :home, :user_id => "#{user_id}", :key => "#{key}"
99
104
  Time.advance_by_days = 0
100
105
  user = User.find_by_email("newbob@test.com")
101
106
  assert_equal 0, user.verified
102
107
 
103
108
  # Then a bogus key.
104
- get :home, :user=> { "id" => "#{user.id}" }, "key" => "boguskey"
109
+ get :home, :user_id => "#{user_id}", :key => "boguskey"
105
110
  user = User.find_by_email("newbob@test.com")
106
111
  assert_equal 0, user.verified
107
112
 
108
113
  # Now the real one.
109
- get :home, :user=> { "id" => "#{user.id}" }, "key" => "#{key}"
114
+ get :home, :user_id => "#{user_id}", :key => "#{key}"
110
115
  user = User.find_by_email("newbob@test.com")
111
116
  assert_equal 1, user.verified
112
117
 
@@ -246,20 +251,19 @@ class UserControllerTest < Test::Unit::TestCase
246
251
  post :delete
247
252
  assert_equal 1, ActionMailer::Base.deliveries.size
248
253
  mail = ActionMailer::Base.deliveries[0]
249
- mail.encoded =~ /user\[id\]=(.*?)&key=(.*?)"/
250
- id = $1
251
- key = $2
254
+ user_id = /user_id=(\d+)/.match(mail.encoded)[1]
255
+ key = /key=([a-z0-9]+)/.match(mail.encoded)[1]
252
256
 
253
- post :restore_deleted, :user => { "id" => "#{id}" }, "key" => "badkey"
257
+ post :restore_deleted, :user_id => "#{user_id}", "key" => "badkey"
254
258
  assert_session_has_no :user
255
259
 
256
260
  # Advance the time past the delete date
257
261
  Time.advance_by_days = LoginEngine.config :delayed_delete_days
258
- post :restore_deleted, :user => { "id" => "#{id}" }, "key" => "#{key}"
262
+ post :restore_deleted, :user_id => "#{user_id}", "key" => "#{key}"
259
263
  assert_session_has_no :user
260
264
  Time.advance_by_days = 0
261
265
 
262
- post :restore_deleted, :user => { "id" => "#{id}" }, "key" => "#{key}"
266
+ post :restore_deleted, :user_id => "#{user_id}", "key" => "#{key}"
263
267
  assert_session_has :user
264
268
  end
265
269
 
@@ -341,7 +345,7 @@ class UserControllerTest < Test::Unit::TestCase
341
345
 
342
346
  post :change_password, :user => { :password => "changed_password", :password_confirmation => "changed_password" }
343
347
 
344
- assert_success
348
+ assert_redirected_to :action => "change_password"
345
349
 
346
350
  post :login, :user => { :login => "bob", :password => "changed_password" }
347
351
  assert_session_has :user
@@ -452,10 +456,9 @@ class UserControllerTest < Test::Unit::TestCase
452
456
  assert_equal 1, ActionMailer::Base.deliveries.size
453
457
  mail = ActionMailer::Base.deliveries[0]
454
458
  assert_equal "bob@test.com", mail.to_addrs[0].to_s
455
- mail.encoded =~ /user\[id\]=(.*?)&key=(.*?)"/
456
- id = $1
457
- key = $2
458
- post :change_password, :user => { :password => "#{password}", :password_confirmation => "#{password}", :id => "#{id}" }, :key => "#{key}"
459
+ user_id = /user_id=(\d+)/.match(mail.encoded)[1]
460
+ key = /key=([a-z0-9]+)/.match(mail.encoded)[1]
461
+ post :change_password, :user => { :password => "#{password}", :password_confirmation => "#{password}"}, :user_id => "#{user_id}", :key => "#{key}"
459
462
  assert_session_has :user
460
463
  get :logout
461
464
  end
@@ -1,15 +1,11 @@
1
- require File.dirname(__FILE__) + '/../../../../test/test_helper' # the default rails helper
1
+ require File.expand_path(File.dirname(__FILE__) + '/../../../../test/test_helper') # the default rails helper
2
+
3
+ # ensure that the Engines testing enhancements are loaded.
4
+ require File.join(Engines.config(:root), "engines", "lib", "engines", "testing_extensions")
2
5
 
3
6
  require File.dirname(__FILE__) + '/mocks/time'
4
7
  require File.dirname(__FILE__) + '/mocks/mail'
5
8
 
6
- # TODO: Add check for database-specific sql files instead
7
- load(File.dirname(__FILE__) + "/../db/schema.rb")
8
-
9
9
  # set up the fixtures location
10
10
  Test::Unit::TestCase.fixture_path = File.dirname(__FILE__) + "/fixtures/"
11
11
  $LOAD_PATH.unshift(Test::Unit::TestCase.fixture_path)
12
-
13
-
14
- # declare mappings between your fixtures templates and the actual table names used.
15
- Test::Unit::TestCase.set_fixtures_table(:users, LoginEngine.config(:user_table))
@@ -1,28 +1,29 @@
1
1
  require File.dirname(__FILE__) + '/../test_helper'
2
-
3
2
  class UserTest < Test::Unit::TestCase
4
-
5
- fixtures LoginEngine.config(:user_table).to_sym
3
+
4
+ # load the fixture into the developer-specified table using the custom
5
+ # 'fixture' method.
6
+ fixture :users, :table_name => LoginEngine.config(:user_table), :class_name => "User"
6
7
 
7
8
  def setup
8
9
  LoginEngine::CONFIG[:salt] = "test-salt"
9
10
  end
10
11
 
11
12
  def test_auth
12
- assert_equal fixture_object(LoginEngine.config(:user_table), :bob), User.authenticate("bob", "atest")
13
+ assert_equal users(:bob), User.authenticate("bob", "atest")
13
14
  assert_nil User.authenticate("nonbob", "atest")
14
15
  end
15
16
 
16
17
 
17
18
  def test_passwordchange
18
19
 
19
- fixture_object(LoginEngine.config(:user_table), :longbob).change_password("nonbobpasswd")
20
- fixture_object(LoginEngine.config(:user_table), :longbob).save
21
- assert_equal fixture_object(LoginEngine.config(:user_table), :longbob), User.authenticate("longbob", "nonbobpasswd")
20
+ users(:longbob).change_password("nonbobpasswd")
21
+ users(:longbob).save
22
+ assert_equal users(:longbob), User.authenticate("longbob", "nonbobpasswd")
22
23
  assert_nil User.authenticate("longbob", "alongtest")
23
- fixture_object(LoginEngine.config(:user_table), :longbob).change_password("alongtest")
24
- fixture_object(LoginEngine.config(:user_table), :longbob).save
25
- assert_equal fixture_object(LoginEngine.config(:user_table), :longbob), User.authenticate("longbob", "alongtest")
24
+ users(:longbob).change_password("alongtest")
25
+ users(:longbob).save
26
+ assert_equal users(:longbob), User.authenticate("longbob", "alongtest")
26
27
  assert_nil User.authenticate("longbob", "nonbobpasswd")
27
28
 
28
29
  end
@@ -31,6 +32,7 @@ class UserTest < Test::Unit::TestCase
31
32
 
32
33
  u = User.new
33
34
  u.login = "nonbob"
35
+ u.email = "bobs@email.com"
34
36
 
35
37
  u.change_password("tiny")
36
38
  assert !u.save
@@ -54,6 +56,7 @@ class UserTest < Test::Unit::TestCase
54
56
 
55
57
  u = User.new
56
58
  u.change_password("bobs_secure_password")
59
+ u.email = "bobs@email.com"
57
60
 
58
61
  u.login = "x"
59
62
  assert !u.save
@@ -86,9 +89,26 @@ class UserTest < Test::Unit::TestCase
86
89
  u = User.new
87
90
  u.login = "nonexistingbob"
88
91
  u.change_password("bobs_secure_password")
92
+ u.email = "bobs@email.com"
89
93
 
90
94
  assert u.save
91
95
 
92
96
  end
93
-
97
+
98
+ def test_email_should_be_nominally_valid
99
+ u = User.new
100
+ u.login = "email_test"
101
+ u.change_password("email_test_password")
102
+
103
+ assert !u.save
104
+ assert u.errors.invalid?('email')
105
+
106
+ u.email = "invalid_email"
107
+ assert !u.save
108
+ assert u.errors.invalid?('email')
109
+
110
+ u.email = "valid@email.com"
111
+ assert u.save
112
+ end
113
+
94
114
  end
metadata CHANGED
@@ -3,8 +3,8 @@ rubygems_version: 0.8.11
3
3
  specification_version: 1
4
4
  name: parlement
5
5
  version: !ruby/object:Gem::Version
6
- version: "0.3"
7
- date: 2006-02-23 00:00:00 +01:00
6
+ version: "0.4"
7
+ date: 2006-04-17 00:00:00 +02:00
8
8
  summary: Trusted Direct Democracy on a forum
9
9
  require_paths:
10
10
  - lib
@@ -12,7 +12,7 @@ email: emmanuel.charpentier@free.fr
12
12
  homepage: http://leparlement.org
13
13
  rubyforge_project: parlement
14
14
  description: "This is a forum and mailing list project, which aims to be a complete Direct Democracy implementation where everybody can propose polls, vote on them, or delegate their voice to someone else. Trust through: - cluster - PGP signatures - electoral lists"
15
- autorequire: rails
15
+ autorequire: rails redcloth
16
16
  default_executable:
17
17
  bindir: bin
18
18
  has_rdoc: false
@@ -56,7 +56,6 @@ files:
56
56
  - app/models/elt.rb
57
57
  - app/models/mail_notify.rb
58
58
  - app/models/user_notify.rb
59
- - app/models/attachment.rb
60
59
  - app/views/layouts
61
60
  - app/views/elt
62
61
  - app/views/account
@@ -94,9 +93,9 @@ files:
94
93
  - config/environments/test.rb
95
94
  - config/environments/user_environment.rb
96
95
  - db/schema.sql
97
- - db/development_structure.sql
98
- - db/ROOT
99
96
  - db/schema.rb
97
+ - db/ROOT
98
+ - db/development_structure.sql
100
99
  - db/ROOT/perso
101
100
  - db/ROOT/parlement.txt
102
101
  - db/ROOT/perso.txt
@@ -108,6 +107,8 @@ files:
108
107
  - db/ROOT/parlement/security
109
108
  - db/ROOT/parlement/news
110
109
  - db/ROOT/parlement/news.txt
110
+ - db/ROOT/parlement/top-politics.txt
111
+ - db/ROOT/parlement/ddRing.txt
111
112
  - db/ROOT/parlement/security/anonymity.txt
112
113
  - db/ROOT/parlement/news/release0.1.txt
113
114
  - db/ROOT/parlement/news/release0.2.txt
@@ -118,22 +119,15 @@ files:
118
119
  - lib/login_system.rb
119
120
  - lib/user_system.rb
120
121
  - lib/localizer.rb
121
- - public/images
122
- - public/javascripts
123
- - public/stylesheets
124
122
  - public/dispatch.rb
125
123
  - public/dispatch.cgi
126
124
  - public/dispatch.fcgi
127
125
  - public/404.html
128
126
  - public/500.html
129
- - public/attachment
130
127
  - public/favicon.ico
131
128
  - public/favicon.png
132
- - public/dynamic
133
129
  - public/oldindex.html
134
- - public/oldREADME
135
130
  - public/robots.txt
136
- - public/engine_files
137
131
  - public/images/live_tree_branch_collapsed_icon.gif
138
132
  - public/images/live_tree_branch_expanded_icon.gif
139
133
  - public/images/live_tree_leaf_icon.gif
@@ -143,12 +137,14 @@ files:
143
137
  - public/images/rails.png
144
138
  - public/images/orange_by_darren_Hester_350o.jpg
145
139
  - public/images/Sleep-Deprivation-5.JPG
146
- - public/images/eltBackground.png
147
140
  - public/images/smile.png
148
141
  - public/images/smile.svg
149
142
  - public/images/eltBackground.svg
150
143
  - public/images/world.png
151
144
  - public/images/world.svg
145
+ - public/images/eltBackground.jng
146
+ - public/engine_files/README
147
+ - public/engine_files/login_engine
152
148
  - public/javascripts/prototype.js
153
149
  - public/javascripts/effects.js
154
150
  - public/javascripts/dragdrop.js
@@ -156,37 +152,11 @@ files:
156
152
  - public/javascripts/live_tree.js
157
153
  - public/javascripts/scriptaculous.js
158
154
  - public/javascripts/slider.js
155
+ - public/javascripts/blank.gif
159
156
  - public/javascripts/ie7.js
160
- - public/stylesheets/scaffold.css
161
- - public/stylesheets/default.css
162
- - public/stylesheets/live_tree.css
163
- - public/attachment/file
164
- - public/attachment/file/tmp
165
- - public/attachment/file/architecture.png
166
- - public/attachment/file/architecture.svg
167
- - public/attachment/file/security.svg
168
- - public/engine_files/README
169
- - public/engine_files/login_engine
170
- - public/engine_files/login_engine/stylesheets
171
- - public/engine_files/login_engine/stylesheets/login_engine.css
172
- - script/console
173
- - script/destroy
174
- - script/generate
175
- - script/server
176
- - script/runner
177
- - script/benchmarker
178
- - script/profiler
179
- - script/breakpointer
180
- - script/performance
181
- - script/process
182
- - script/create_db
183
- - script/about
184
- - script/plugin
185
- - script/performance/benchmarker
186
- - script/performance/profiler
187
- - script/process/reaper
188
- - script/process/spawner
189
- - script/process/spinner
157
+ - public/javascripts/borders.js
158
+ - public/javascripts/ie7-load.htc
159
+ - public/javascripts/application.js
190
160
  - test/fixtures
191
161
  - test/functional
192
162
  - test/mocks
@@ -218,7 +188,6 @@ files:
218
188
  - test/unit/notifier_test.rb
219
189
  - test/unit/person_test.rb
220
190
  - test/unit/attachment_test.rb
221
- - test/unit/user_test.rb
222
191
  - test/unit/mail_notify_test.rb
223
192
  - test/unit/subscriber_test.rb
224
193
  - vendor/plugins
@@ -234,16 +203,16 @@ files:
234
203
  - vendor/plugins/login_engine/public
235
204
  - vendor/plugins/login_engine/init_engine.rb
236
205
  - vendor/plugins/login_engine/README
206
+ - vendor/plugins/login_engine/CHANGELOG
207
+ - vendor/plugins/login_engine/install.rb
237
208
  - vendor/plugins/login_engine/test/unit
238
209
  - vendor/plugins/login_engine/test/functional
239
- - vendor/plugins/login_engine/test/test_helper.rb
240
210
  - vendor/plugins/login_engine/test/fixtures
241
211
  - vendor/plugins/login_engine/test/mocks
212
+ - vendor/plugins/login_engine/test/test_helper.rb
242
213
  - vendor/plugins/login_engine/test/unit/user_test.rb
243
214
  - vendor/plugins/login_engine/test/functional/user_controller_test.rb
244
- - vendor/plugins/login_engine/test/fixtures/templates
245
215
  - vendor/plugins/login_engine/test/fixtures/users.yml
246
- - vendor/plugins/login_engine/test/fixtures/templates/users.yml
247
216
  - vendor/plugins/login_engine/test/mocks/time.rb
248
217
  - vendor/plugins/login_engine/test/mocks/mail.rb
249
218
  - vendor/plugins/login_engine/app/helpers
@@ -270,7 +239,8 @@ files:
270
239
  - vendor/plugins/login_engine/app/views/user/change_password.rhtml
271
240
  - vendor/plugins/login_engine/app/views/user/login.rhtml
272
241
  - vendor/plugins/login_engine/app/views/user/logout.rhtml
273
- - vendor/plugins/login_engine/db/schema.rb
242
+ - vendor/plugins/login_engine/db/migrate
243
+ - vendor/plugins/login_engine/db/migrate/001_initial_schema.rb
274
244
  - vendor/plugins/login_engine/tasks/tasks.rake
275
245
  - vendor/plugins/login_engine/lib/login_engine
276
246
  - vendor/plugins/login_engine/lib/login_engine.rb
@@ -279,23 +249,57 @@ files:
279
249
  - vendor/plugins/login_engine/public/stylesheets
280
250
  - vendor/plugins/login_engine/public/stylesheets/login_engine.css
281
251
  - vendor/plugins/engines/test
252
+ - vendor/plugins/engines/tasks
282
253
  - vendor/plugins/engines/lib
283
- - vendor/plugins/engines/init.rb
254
+ - vendor/plugins/engines/generators
284
255
  - vendor/plugins/engines/CHANGELOG
256
+ - vendor/plugins/engines/init.rb
257
+ - vendor/plugins/engines/MIT-LICENSE
285
258
  - vendor/plugins/engines/README
286
259
  - vendor/plugins/engines/test/ruby_extensions_test.rb
287
- - vendor/plugins/engines/lib/testing_extensions.rb
288
- - vendor/plugins/engines/lib/ruby_extensions.rb
260
+ - vendor/plugins/engines/test/action_view_extensions_test.rb
261
+ - vendor/plugins/engines/tasks/engines.rake
262
+ - vendor/plugins/engines/lib/engines
263
+ - vendor/plugins/engines/lib/bundles
289
264
  - vendor/plugins/engines/lib/engines.rb
290
- - vendor/plugins/engines/lib/action_mailer_extensions.rb
291
- - vendor/plugins/engines/lib/dependencies_extensions.rb
292
- - vendor/plugins/engines/lib/action_view_extensions.rb
265
+ - vendor/plugins/engines/lib/bundles.rb
266
+ - vendor/plugins/engines/lib/engines/migration_extensions.rb
267
+ - vendor/plugins/engines/lib/engines/ruby_extensions.rb
268
+ - vendor/plugins/engines/lib/engines/action_mailer_extensions.rb
269
+ - vendor/plugins/engines/lib/engines/dependencies_extensions.rb
270
+ - vendor/plugins/engines/lib/engines/action_view_extensions.rb
271
+ - vendor/plugins/engines/lib/engines/active_record_extensions.rb
272
+ - vendor/plugins/engines/lib/engines/testing_extensions.rb
273
+ - vendor/plugins/engines/lib/bundles/require_resource.rb
274
+ - vendor/plugins/engines/generators/engine
275
+ - vendor/plugins/engines/generators/engine/templates
276
+ - vendor/plugins/engines/generators/engine/USAGE
277
+ - vendor/plugins/engines/generators/engine/engine_generator.rb
278
+ - vendor/plugins/engines/generators/engine/templates/test
279
+ - vendor/plugins/engines/generators/engine/templates/licenses
280
+ - vendor/plugins/engines/generators/engine/templates/tasks
281
+ - vendor/plugins/engines/generators/engine/templates/lib
282
+ - vendor/plugins/engines/generators/engine/templates/public
283
+ - vendor/plugins/engines/generators/engine/templates/README
284
+ - vendor/plugins/engines/generators/engine/templates/init_engine.erb
285
+ - vendor/plugins/engines/generators/engine/templates/install.erb
286
+ - vendor/plugins/engines/generators/engine/templates/test/test_helper.erb
287
+ - vendor/plugins/engines/generators/engine/templates/licenses/None
288
+ - vendor/plugins/engines/generators/engine/templates/licenses/GPL
289
+ - vendor/plugins/engines/generators/engine/templates/licenses/MIT
290
+ - vendor/plugins/engines/generators/engine/templates/licenses/LGPL
291
+ - vendor/plugins/engines/generators/engine/templates/tasks/engine.rake
292
+ - vendor/plugins/engines/generators/engine/templates/lib/engine.erb
293
+ - vendor/plugins/engines/generators/engine/templates/public/javascripts
294
+ - vendor/plugins/engines/generators/engine/templates/public/stylesheets
295
+ - vendor/plugins/engines/generators/engine/templates/public/javascripts/engine.js
296
+ - vendor/plugins/engines/generators/engine/templates/public/stylesheets/engine.css
293
297
  - vendor/plugins/guid/lib
294
298
  - vendor/plugins/guid/README.TXT
295
299
  - vendor/plugins/guid/init.rb
300
+ - vendor/plugins/guid/lib/uuidtools.rb
296
301
  - vendor/plugins/guid/lib/usesguid.rb
297
302
  - vendor/plugins/guid/lib/uuid22.rb
298
- - vendor/plugins/guid/lib/uuidtools.rb
299
303
  - vendor/plugins/file_column/test
300
304
  - vendor/plugins/file_column/lib
301
305
  - vendor/plugins/file_column/Rakefile
@@ -329,7 +333,6 @@ test_files:
329
333
  - test/unit/notifier_test.rb
330
334
  - test/unit/person_test.rb
331
335
  - test/unit/attachment_test.rb
332
- - test/unit/user_test.rb
333
336
  - test/unit/mail_notify_test.rb
334
337
  - test/unit/subscriber_test.rb
335
338
  rdoc_options: []
@@ -1,6 +0,0 @@
1
- class Attachment < ActiveRecord::Base
2
- usesguid
3
-
4
- belongs_to :elt
5
- file_column :file
6
- end