sunrise-cms 0.5.0.rc2 → 0.5.0.rc3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (46) hide show
  1. data/CHANGELOG.rdoc +7 -0
  2. data/README.md +123 -0
  3. data/app/assets/javascripts/sunrise/application.js +1 -2
  4. data/app/assets/javascripts/sunrise/jquery.ddmenu.js.coffee +9 -0
  5. data/app/assets/{stylesheets/sunrise/ie.css → javascripts/sunrise/redactor.js} +0 -0
  6. data/app/assets/stylesheets/sunrise/customize.css +63 -1
  7. data/app/assets/stylesheets/sunrise/main.css +7 -7
  8. data/app/views/layouts/sunrise/application.html.erb +0 -4
  9. data/app/views/sunrise/manager/buttons/_delete.html.erb +5 -0
  10. data/app/views/sunrise/manager/buttons/_edit.html.erb +5 -0
  11. data/app/views/sunrise/manager/buttons/_export.html.erb +5 -0
  12. data/app/views/sunrise/manager/buttons/_new.html.erb +5 -0
  13. data/app/views/sunrise/manager/buttons/_sort.html.erb +20 -0
  14. data/app/views/sunrise/shared/_panel.html.erb +32 -49
  15. data/app/views/sunrise/shared/_toolbar.html.erb +10 -48
  16. data/config/locales/sunrise/en.yml +3 -0
  17. data/config/locales/sunrise/ru.yml +4 -0
  18. data/config/locales/sunrise/uk.yml +4 -0
  19. data/lib/generators/sunrise/templates/config/seeds.rb +2 -3
  20. data/lib/sunrise/config/list.rb +5 -0
  21. data/lib/sunrise/config.rb +4 -0
  22. data/lib/sunrise/version.rb +1 -1
  23. data/spec/dummy/app/models/sunrise/sunrise_post.rb +3 -1
  24. data/spec/dummy/config/application.rb +4 -0
  25. data/spec/dummy/log/development.log +150 -0
  26. data/spec/dummy/log/test.log +7881 -0
  27. data/spec/dummy/tmp/cache/assets/C7B/190/sprockets%2F37b103f4623089af1456b90830fe941c +0 -0
  28. data/spec/dummy/tmp/cache/assets/CD8/370/sprockets%2F357970feca3ac29060c1e3861e2c0953 +0 -0
  29. data/spec/dummy/tmp/cache/assets/D13/C60/sprockets%2F2dedb8177c20286c4259c1d58c5646cc +0 -0
  30. data/spec/dummy/tmp/cache/assets/D21/5D0/sprockets%2Fe2c4f946939f2d7d0b42d86383755cae +0 -0
  31. data/spec/dummy/tmp/cache/assets/D32/A10/sprockets%2F13fe41fee1fe35b49d145bcc06610705 +0 -0
  32. data/spec/dummy/tmp/cache/assets/D3E/F40/sprockets%2F25a167c7563d6fe8ec6b13ec1ac09274 +0 -0
  33. data/spec/dummy/tmp/cache/assets/D4E/1B0/sprockets%2Ff7cbd26ba1d28d48de824f0e94586655 +0 -0
  34. data/spec/dummy/tmp/cache/assets/D5A/EA0/sprockets%2Fd771ace226fc8215a3572e0aa35bb0d6 +0 -0
  35. data/spec/dummy/tmp/cache/assets/D66/D60/sprockets%2F74fff4cd40e651309f6a03b2acc63a93 +0 -0
  36. data/spec/dummy/tmp/cache/assets/D6A/A70/sprockets%2F88c982cf93bc6d8f73d7a3968bb769e7 +0 -0
  37. data/spec/dummy/tmp/cache/assets/D96/A50/sprockets%2F5f2f70550f68122b1cacdcab9a45ed67 +0 -0
  38. data/spec/dummy/tmp/cache/assets/DDC/400/sprockets%2Fcffd775d018f68ce5dba1ee0d951a994 +0 -0
  39. data/spec/dummy/tmp/cache/assets/DDE/270/sprockets%2F0dd428ae1aed245ab1c713f6f0aabb06 +0 -0
  40. data/spec/dummy/tmp/cache/assets/E04/890/sprockets%2F2f5173deea6c795b8fdde723bb4b63af +0 -0
  41. data/spec/tmp/config/application.rb +4 -0
  42. data/spec/tmp/db/seeds.rb +2 -3
  43. metadata +40 -7
  44. data/README.rdoc +0 -90
  45. data/app/views/sunrise/shared/_head.html.erb +0 -22
  46. data/vendor/assets/javascripts/jquery.fancybox-1.3.4.pack.js +0 -46
@@ -0,0 +1,150 @@
1
+ Connecting to database specified by database.yml
2
+
3
+
4
+ Started GET "/" for 127.0.0.1 at 2013-01-14 16:52:50 +0200
5
+ Processing by WelcomeController#index as HTML
6
+ Rendered welcome/index.html.erb within layouts/application (7.8ms)
7
+ Compiled welcome.css (0ms) (pid 19951)
8
+ Compiled application.css (13ms) (pid 19951)
9
+ Compiled jquery.js (3ms) (pid 19951)
10
+ Compiled jquery_ujs.js (0ms) (pid 19951)
11
+ Compiled welcome.js (0ms) (pid 19951)
12
+ Compiled application.js (169ms) (pid 19951)
13
+ Completed 200 OK in 464ms (Views: 462.6ms | ActiveRecord: 0.0ms)
14
+
15
+
16
+ Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-01-14 16:52:51 +0200
17
+ Served asset /application.css - 200 OK (8ms)
18
+
19
+
20
+ Started GET "/assets/welcome.css?body=1" for 127.0.0.1 at 2013-01-14 16:52:51 +0200
21
+ Served asset /welcome.css - 200 OK (2ms)
22
+
23
+
24
+ Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-01-14 16:52:51 +0200
25
+ Served asset /jquery.js - 200 OK (8ms)
26
+
27
+
28
+ Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-01-14 16:52:51 +0200
29
+ Served asset /jquery_ujs.js - 200 OK (3ms)
30
+
31
+
32
+ Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-01-14 16:52:51 +0200
33
+ Served asset /application.js - 200 OK (16ms)
34
+
35
+
36
+ Started GET "/assets/welcome.js?body=1" for 127.0.0.1 at 2013-01-14 16:52:51 +0200
37
+ Served asset /welcome.js - 200 OK (2ms)
38
+
39
+
40
+ Started GET "/manage" for 127.0.0.1 at 2013-01-14 16:52:57 +0200
41
+ Processing by Sunrise::DashboardController#index as HTML
42
+ Completed 401 Unauthorized in 76ms
43
+
44
+
45
+ Started GET "/users/sign_in" for 127.0.0.1 at 2013-01-14 16:52:58 +0200
46
+ Processing by Devise::SessionsController#new as HTML
47
+ Mysql2::Error: Table 'sunrise_dummy_development.users' doesn't exist: SHOW FULL FIELDS FROM `users`
48
+ Completed 500 Internal Server Error in 59ms
49
+
50
+ ActiveRecord::StatementInvalid (Mysql2::Error: Table 'sunrise_dummy_development.users' doesn't exist: SHOW FULL FIELDS FROM `users`):
51
+ activerecord (3.2.10) lib/active_record/connection_adapters/abstract_mysql_adapter.rb:245:in `query'
52
+ activerecord (3.2.10) lib/active_record/connection_adapters/abstract_mysql_adapter.rb:245:in `block in execute'
53
+ activerecord (3.2.10) lib/active_record/connection_adapters/abstract_adapter.rb:280:in `block in log'
54
+ activesupport (3.2.10) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
55
+ activerecord (3.2.10) lib/active_record/connection_adapters/abstract_adapter.rb:275:in `log'
56
+ activerecord (3.2.10) lib/active_record/connection_adapters/abstract_mysql_adapter.rb:245:in `execute'
57
+ activerecord (3.2.10) lib/active_record/connection_adapters/mysql2_adapter.rb:211:in `execute'
58
+ activerecord (3.2.10) lib/active_record/connection_adapters/abstract_mysql_adapter.rb:259:in `execute_and_free'
59
+ activerecord (3.2.10) lib/active_record/connection_adapters/abstract_mysql_adapter.rb:426:in `columns'
60
+ activerecord (3.2.10) lib/active_record/connection_adapters/schema_cache.rb:12:in `block in initialize'
61
+ activerecord (3.2.10) lib/active_record/model_schema.rb:228:in `yield'
62
+ activerecord (3.2.10) lib/active_record/model_schema.rb:228:in `default'
63
+ activerecord (3.2.10) lib/active_record/model_schema.rb:228:in `columns'
64
+ activerecord (3.2.10) lib/active_record/model_schema.rb:243:in `column_defaults'
65
+ activerecord (3.2.10) lib/active_record/base.rb:482:in `initialize'
66
+ devise (2.2.0.rc) app/controllers/devise_controller.rb:102:in `new'
67
+ devise (2.2.0.rc) app/controllers/devise_controller.rb:102:in `build_resource'
68
+ devise (2.2.0.rc) app/controllers/devise/sessions_controller.rb:8:in `new'
69
+ actionpack (3.2.10) lib/action_controller/metal/implicit_render.rb:4:in `send_action'
70
+ actionpack (3.2.10) lib/abstract_controller/base.rb:167:in `process_action'
71
+ actionpack (3.2.10) lib/action_controller/metal/rendering.rb:10:in `process_action'
72
+ actionpack (3.2.10) lib/abstract_controller/callbacks.rb:18:in `block in process_action'
73
+ activesupport (3.2.10) lib/active_support/callbacks.rb:448:in `block in _run__350441183__process_action__799359821__callbacks'
74
+ activesupport (3.2.10) lib/active_support/callbacks.rb:215:in `block in _conditional_callback_around_138'
75
+ activesupport (3.2.10) lib/active_support/callbacks.rb:326:in `around'
76
+ activesupport (3.2.10) lib/active_support/callbacks.rb:310:in `_callback_around_13'
77
+ activesupport (3.2.10) lib/active_support/callbacks.rb:214:in `_conditional_callback_around_138'
78
+ activesupport (3.2.10) lib/active_support/callbacks.rb:447:in `_run__350441183__process_action__799359821__callbacks'
79
+ activesupport (3.2.10) lib/active_support/callbacks.rb:405:in `__run_callback'
80
+ activesupport (3.2.10) lib/active_support/callbacks.rb:385:in `_run_process_action_callbacks'
81
+ activesupport (3.2.10) lib/active_support/callbacks.rb:81:in `run_callbacks'
82
+ actionpack (3.2.10) lib/abstract_controller/callbacks.rb:17:in `process_action'
83
+ actionpack (3.2.10) lib/action_controller/metal/rescue.rb:29:in `process_action'
84
+ actionpack (3.2.10) lib/action_controller/metal/instrumentation.rb:30:in `block in process_action'
85
+ activesupport (3.2.10) lib/active_support/notifications.rb:123:in `block in instrument'
86
+ activesupport (3.2.10) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
87
+ activesupport (3.2.10) lib/active_support/notifications.rb:123:in `instrument'
88
+ actionpack (3.2.10) lib/action_controller/metal/instrumentation.rb:29:in `process_action'
89
+ actionpack (3.2.10) lib/action_controller/metal/params_wrapper.rb:207:in `process_action'
90
+ activerecord (3.2.10) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
91
+ actionpack (3.2.10) lib/abstract_controller/base.rb:121:in `process'
92
+ actionpack (3.2.10) lib/abstract_controller/rendering.rb:45:in `process'
93
+ actionpack (3.2.10) lib/action_controller/metal.rb:203:in `dispatch'
94
+ actionpack (3.2.10) lib/action_controller/metal/rack_delegation.rb:14:in `dispatch'
95
+ actionpack (3.2.10) lib/action_controller/metal.rb:246:in `block in action'
96
+ actionpack (3.2.10) lib/action_dispatch/routing/route_set.rb:73:in `call'
97
+ actionpack (3.2.10) lib/action_dispatch/routing/route_set.rb:73:in `dispatch'
98
+ actionpack (3.2.10) lib/action_dispatch/routing/route_set.rb:36:in `call'
99
+ actionpack (3.2.10) lib/action_dispatch/routing/mapper.rb:42:in `call'
100
+ journey (1.0.4) lib/journey/router.rb:68:in `block in call'
101
+ journey (1.0.4) lib/journey/router.rb:56:in `each'
102
+ journey (1.0.4) lib/journey/router.rb:56:in `call'
103
+ actionpack (3.2.10) lib/action_dispatch/routing/route_set.rb:601:in `call'
104
+ warden (1.2.1) lib/warden/manager.rb:35:in `block in call'
105
+ warden (1.2.1) lib/warden/manager.rb:34:in `catch'
106
+ warden (1.2.1) lib/warden/manager.rb:34:in `call'
107
+ actionpack (3.2.10) lib/action_dispatch/middleware/best_standards_support.rb:17:in `call'
108
+ rack (1.4.1) lib/rack/etag.rb:23:in `call'
109
+ rack (1.4.1) lib/rack/conditionalget.rb:25:in `call'
110
+ actionpack (3.2.10) lib/action_dispatch/middleware/head.rb:14:in `call'
111
+ actionpack (3.2.10) lib/action_dispatch/middleware/params_parser.rb:21:in `call'
112
+ actionpack (3.2.10) lib/action_dispatch/middleware/flash.rb:242:in `call'
113
+ rack (1.4.1) lib/rack/session/abstract/id.rb:205:in `context'
114
+ rack (1.4.1) lib/rack/session/abstract/id.rb:200:in `call'
115
+ actionpack (3.2.10) lib/action_dispatch/middleware/cookies.rb:341:in `call'
116
+ activerecord (3.2.10) lib/active_record/query_cache.rb:64:in `call'
117
+ activerecord (3.2.10) lib/active_record/connection_adapters/abstract/connection_pool.rb:479:in `call'
118
+ actionpack (3.2.10) lib/action_dispatch/middleware/callbacks.rb:28:in `block in call'
119
+ activesupport (3.2.10) lib/active_support/callbacks.rb:405:in `_run__214399834__call__94535992__callbacks'
120
+ activesupport (3.2.10) lib/active_support/callbacks.rb:405:in `__run_callback'
121
+ activesupport (3.2.10) lib/active_support/callbacks.rb:385:in `_run_call_callbacks'
122
+ activesupport (3.2.10) lib/active_support/callbacks.rb:81:in `run_callbacks'
123
+ actionpack (3.2.10) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
124
+ actionpack (3.2.10) lib/action_dispatch/middleware/reloader.rb:65:in `call'
125
+ actionpack (3.2.10) lib/action_dispatch/middleware/remote_ip.rb:31:in `call'
126
+ actionpack (3.2.10) lib/action_dispatch/middleware/debug_exceptions.rb:16:in `call'
127
+ actionpack (3.2.10) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
128
+ railties (3.2.10) lib/rails/rack/logger.rb:32:in `call_app'
129
+ railties (3.2.10) lib/rails/rack/logger.rb:16:in `block in call'
130
+ activesupport (3.2.10) lib/active_support/tagged_logging.rb:22:in `tagged'
131
+ railties (3.2.10) lib/rails/rack/logger.rb:16:in `call'
132
+ actionpack (3.2.10) lib/action_dispatch/middleware/request_id.rb:22:in `call'
133
+ rack (1.4.1) lib/rack/methodoverride.rb:21:in `call'
134
+ rack (1.4.1) lib/rack/runtime.rb:17:in `call'
135
+ activesupport (3.2.10) lib/active_support/cache/strategy/local_cache.rb:72:in `call'
136
+ rack (1.4.1) lib/rack/lock.rb:15:in `call'
137
+ actionpack (3.2.10) lib/action_dispatch/middleware/static.rb:62:in `call'
138
+ railties (3.2.10) lib/rails/engine.rb:479:in `call'
139
+ railties (3.2.10) lib/rails/application.rb:223:in `call'
140
+ rack (1.4.1) lib/rack/content_length.rb:14:in `call'
141
+ railties (3.2.10) lib/rails/rack/log_tailer.rb:17:in `call'
142
+ rack (1.4.1) lib/rack/handler/webrick.rb:59:in `service'
143
+ /home/igor/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service'
144
+ /home/igor/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run'
145
+ /home/igor/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread'
146
+
147
+
148
+ Rendered /var/www/gems/sunrise/vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.10/lib/action_dispatch/middleware/templates/rescues/_trace.erb (2.4ms)
149
+ Rendered /var/www/gems/sunrise/vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.10/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.9ms)
150
+ Rendered /var/www/gems/sunrise/vendor/bundle/ruby/1.9.1/gems/actionpack-3.2.10/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (23.7ms)