webroar 0.6.1 → 0.7.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (402) hide show
  1. data/CHANGELOG +7 -0
  2. data/README +1 -1
  3. data/doc/user-guide.html +125 -85
  4. data/doc/user-guide.txt +2 -2
  5. data/lib/constant.rb +23 -16
  6. data/lib/db_connect.rb +2 -3
  7. data/lib/installer.rb +17 -10
  8. data/lib/user_interaction.rb +21 -10
  9. data/lib/webroar_command.rb +21 -23
  10. data/src/admin_panel/Gemfile +8 -0
  11. data/src/admin_panel/Rakefile +2 -5
  12. data/src/admin_panel/app/controllers/application_controller.rb +1 -1
  13. data/src/admin_panel/app/controllers/exceptions_controller.rb +25 -26
  14. data/src/admin_panel/app/controllers/graph_controller.rb +2 -1
  15. data/src/admin_panel/app/helpers/admin_helper.rb +1 -1
  16. data/src/admin_panel/app/{models → mailers}/mailer.rb +5 -8
  17. data/src/admin_panel/app/models/app.rb +1 -1
  18. data/src/admin_panel/app/models/app_exception.rb +15 -11
  19. data/src/admin_panel/app/models/app_time_sample.rb +40 -10
  20. data/src/admin_panel/app/models/application_specification.rb +71 -41
  21. data/src/admin_panel/app/models/resource_usage.rb +76 -55
  22. data/src/admin_panel/app/models/url_breakup_time_sample.rb +6 -11
  23. data/src/admin_panel/app/models/url_time_sample.rb +57 -13
  24. data/src/admin_panel/app/views/admin/_application_table.html.erb +5 -5
  25. data/src/admin_panel/app/views/admin/_feedback_partial.html.erb +4 -4
  26. data/src/admin_panel/app/views/admin/_report_bug_partial.html.erb +5 -5
  27. data/src/admin_panel/app/views/admin/change_password_form.html.erb +3 -3
  28. data/src/admin_panel/app/views/admin/configuration.html.erb +6 -6
  29. data/src/admin_panel/app/views/admin/home.html.erb +4 -4
  30. data/src/admin_panel/app/views/admin/index.html.erb +5 -5
  31. data/src/admin_panel/app/views/application_specification/_application_specification_form.html.erb +15 -6
  32. data/src/admin_panel/app/views/exceptions/_add_and_list_exception_classes.html.erb +7 -6
  33. data/src/admin_panel/app/views/exceptions/_exception_backtrace_partial.html.erb +1 -1
  34. data/src/admin_panel/app/views/exceptions/_exception_environment_partial.html.erb +30 -30
  35. data/src/admin_panel/app/views/exceptions/_exception_list_partial.html.erb +11 -11
  36. data/src/admin_panel/app/views/exceptions/_show.html.erb +8 -8
  37. data/src/admin_panel/app/views/exceptions/index.html.erb +0 -1
  38. data/src/admin_panel/app/views/graph/_get_database_data.html.erb +1 -1
  39. data/src/admin_panel/app/views/graph/_get_resource_usage_data_app.html.erb +2 -2
  40. data/src/admin_panel/app/views/graph/_get_resource_usage_data_server.html.erb +2 -2
  41. data/src/admin_panel/app/views/graph/_get_throughput_data.html.erb +2 -2
  42. data/src/admin_panel/app/views/graph/_get_url_data.html.erb +4 -4
  43. data/src/admin_panel/app/views/graph/_pie.html.erb +2 -2
  44. data/src/admin_panel/app/views/graph/_query_date.html.erb +1 -1
  45. data/src/admin_panel/app/views/graph/_query_period.html.erb +1 -1
  46. data/src/admin_panel/app/views/graph/_slider_partial.html.erb +5 -4
  47. data/src/admin_panel/app/views/graph/index.html.erb +0 -1
  48. data/src/admin_panel/app/views/headers/_add_expires_text_box.html.erb +5 -5
  49. data/src/admin_panel/app/views/headers/_expires_by_type_form.html.erb +1 -1
  50. data/src/admin_panel/app/views/headers/_headers_table.html.erb +12 -12
  51. data/src/admin_panel/app/views/layouts/application.html.erb +71 -51
  52. data/src/admin_panel/app/views/mail_specification/_current_spec.html.erb +4 -4
  53. data/src/admin_panel/app/views/mail_specification/_sendmail_form.html.erb +3 -3
  54. data/src/admin_panel/app/views/mail_specification/_smtp_form.html.erb +3 -3
  55. data/src/admin_panel/app/views/server_specification/_add_div.html.erb +4 -4
  56. data/src/admin_panel/app/views/server_specification/_ssl_support_form.html.erb +3 -2
  57. data/src/admin_panel/config.ru +4 -0
  58. data/src/admin_panel/config/application.rb +46 -0
  59. data/src/admin_panel/config/boot.rb +4 -112
  60. data/src/admin_panel/config/environment.rb +4 -85
  61. data/src/admin_panel/config/environments/development.rb +20 -13
  62. data/src/admin_panel/config/environments/production.rb +44 -17
  63. data/src/admin_panel/config/environments/test.rb +31 -18
  64. data/src/admin_panel/config/initializers/application_constants.rb +13 -11
  65. data/src/admin_panel/config/initializers/secret_token.rb +7 -0
  66. data/src/admin_panel/config/initializers/session_store.rb +8 -0
  67. data/src/admin_panel/config/initializers/ssl.rb +6 -2
  68. data/src/admin_panel/config/routes.rb +15 -57
  69. data/src/admin_panel/doc/README_FOR_APP +1 -1
  70. data/src/admin_panel/doc/app/ActionView.html +229 -0
  71. data/src/admin_panel/doc/app/ActionView/Helpers.html +229 -0
  72. data/src/admin_panel/doc/app/ActionView/Helpers/AssetTagHelper.html +277 -0
  73. data/src/admin_panel/doc/app/AdminController.html +814 -0
  74. data/src/admin_panel/doc/app/AdminHelper.html +495 -0
  75. data/src/admin_panel/doc/app/Analytics.html +272 -0
  76. data/src/admin_panel/doc/app/Analytics/Database.html +401 -0
  77. data/src/admin_panel/doc/app/Analytics/ResourceUsage.html +683 -0
  78. data/src/admin_panel/doc/app/Analytics/Throughput.html +488 -0
  79. data/src/admin_panel/doc/app/Analytics/Url.html +484 -0
  80. data/src/admin_panel/doc/app/Analytics/UrlBreakup.html +537 -0
  81. data/src/admin_panel/doc/app/App.html +489 -0
  82. data/src/admin_panel/doc/app/AppException.html +710 -0
  83. data/src/admin_panel/doc/app/AppTimeSample.html +620 -0
  84. data/src/admin_panel/doc/app/ApplicationController.html +239 -0
  85. data/src/admin_panel/doc/app/ApplicationHelper.html +296 -0
  86. data/src/admin_panel/doc/app/ApplicationSpecification.html +876 -0
  87. data/src/admin_panel/doc/app/ApplicationSpecificationController.html +552 -0
  88. data/src/admin_panel/doc/app/ApplicationSpecificationHelper.html +219 -0
  89. data/src/admin_panel/doc/app/Control.html +431 -0
  90. data/src/admin_panel/doc/app/ExceptionDetail.html +227 -0
  91. data/src/admin_panel/doc/app/ExceptionsController.html +754 -0
  92. data/src/admin_panel/doc/app/ExceptionsHelper.html +219 -0
  93. data/src/admin_panel/doc/app/GraphController.html +1101 -0
  94. data/src/admin_panel/doc/app/GraphHelper.html +285 -0
  95. data/src/admin_panel/doc/app/Headers.html +549 -0
  96. data/src/admin_panel/doc/app/HeadersController.html +507 -0
  97. data/src/admin_panel/doc/app/HeadersHelper.html +219 -0
  98. data/src/admin_panel/doc/app/MailSpecification.html +685 -0
  99. data/src/admin_panel/doc/app/MailSpecificationController.html +541 -0
  100. data/src/admin_panel/doc/app/MailSpecificationHelper.html +219 -0
  101. data/src/admin_panel/doc/app/Mailer.html +589 -0
  102. data/src/admin_panel/doc/app/Object.html +240 -0
  103. data/src/admin_panel/doc/app/PseudoModel.html +354 -0
  104. data/src/admin_panel/doc/app/ResourceUsage.html +656 -0
  105. data/src/admin_panel/doc/app/SCGI.html +674 -0
  106. data/src/admin_panel/doc/app/ServerSpecification.html +479 -0
  107. data/src/admin_panel/doc/app/ServerSpecificationController.html +500 -0
  108. data/src/admin_panel/doc/app/ServerSpecificationHelper.html +219 -0
  109. data/src/admin_panel/doc/app/SignalHelper.html +287 -0
  110. data/src/admin_panel/doc/app/UrlBreakupTimeSample.html +287 -0
  111. data/src/admin_panel/doc/app/UrlTimeSample.html +986 -0
  112. data/src/admin_panel/doc/app/User.html +290 -0
  113. data/src/admin_panel/doc/app/YAMLConfig.html +247 -0
  114. data/src/admin_panel/doc/app/YAMLWriter.html +284 -0
  115. data/src/admin_panel/doc/app/app/controllers/admin_controller_rb.html +52 -0
  116. data/src/admin_panel/doc/app/app/controllers/application_controller_rb.html +54 -0
  117. data/src/admin_panel/doc/app/app/controllers/application_specification_controller_rb.html +52 -0
  118. data/src/admin_panel/doc/app/app/controllers/exceptions_controller_rb.html +52 -0
  119. data/src/admin_panel/doc/app/app/controllers/graph_controller_rb.html +52 -0
  120. data/src/admin_panel/doc/app/app/controllers/headers_controller_rb.html +52 -0
  121. data/src/admin_panel/doc/app/app/controllers/mail_specification_controller_rb.html +52 -0
  122. data/src/admin_panel/doc/app/app/controllers/server_specification_controller_rb.html +52 -0
  123. data/src/admin_panel/doc/app/app/helpers/admin_helper_rb.html +52 -0
  124. data/src/admin_panel/doc/app/app/helpers/application_helper_rb.html +52 -0
  125. data/src/admin_panel/doc/app/app/helpers/application_specification_helper_rb.html +52 -0
  126. data/src/admin_panel/doc/app/app/helpers/exceptions_helper_rb.html +52 -0
  127. data/src/admin_panel/doc/app/app/helpers/graph_helper_rb.html +52 -0
  128. data/src/admin_panel/doc/app/app/helpers/headers_helper_rb.html +52 -0
  129. data/src/admin_panel/doc/app/app/helpers/mail_specification_helper_rb.html +52 -0
  130. data/src/admin_panel/doc/app/app/helpers/server_specification_helper_rb.html +52 -0
  131. data/src/admin_panel/doc/app/app/mailers/mailer_rb.html +56 -0
  132. data/src/admin_panel/doc/app/app/models/app_exception_rb.html +52 -0
  133. data/src/admin_panel/doc/app/app/models/app_rb.html +54 -0
  134. data/src/admin_panel/doc/app/app/models/app_time_sample_rb.html +52 -0
  135. data/src/admin_panel/doc/app/app/models/application_specification_rb.html +52 -0
  136. data/src/admin_panel/doc/app/app/models/exception_detail_rb.html +52 -0
  137. data/src/admin_panel/doc/app/app/models/headers_rb.html +52 -0
  138. data/src/admin_panel/doc/app/app/models/mail_specification_rb.html +52 -0
  139. data/src/admin_panel/doc/app/app/models/pseudo_model_rb.html +52 -0
  140. data/src/admin_panel/doc/app/app/models/resource_usage_rb.html +52 -0
  141. data/src/admin_panel/doc/app/app/models/server_specification_rb.html +52 -0
  142. data/src/admin_panel/doc/app/app/models/url_breakup_time_sample_rb.html +52 -0
  143. data/src/admin_panel/doc/app/app/models/url_time_sample_rb.html +52 -0
  144. data/src/admin_panel/doc/app/app/models/user_rb.html +52 -0
  145. data/src/admin_panel/doc/app/created.rid +42 -1
  146. data/src/admin_panel/doc/app/doc/README_FOR_APP.html +172 -0
  147. data/src/admin_panel/doc/app/images/brick.png +0 -0
  148. data/src/admin_panel/doc/app/images/brick_link.png +0 -0
  149. data/src/admin_panel/doc/app/images/bug.png +0 -0
  150. data/src/admin_panel/doc/app/images/bullet_black.png +0 -0
  151. data/src/admin_panel/doc/app/images/bullet_toggle_minus.png +0 -0
  152. data/src/admin_panel/doc/app/images/bullet_toggle_plus.png +0 -0
  153. data/src/admin_panel/doc/app/images/date.png +0 -0
  154. data/src/admin_panel/doc/app/images/find.png +0 -0
  155. data/src/admin_panel/doc/app/images/loadingAnimation.gif +0 -0
  156. data/src/admin_panel/doc/app/images/macFFBgHack.png +0 -0
  157. data/src/admin_panel/doc/app/images/package.png +0 -0
  158. data/src/admin_panel/doc/app/images/page_green.png +0 -0
  159. data/src/admin_panel/doc/app/images/page_white_text.png +0 -0
  160. data/src/admin_panel/doc/app/images/page_white_width.png +0 -0
  161. data/src/admin_panel/doc/app/images/plugin.png +0 -0
  162. data/src/admin_panel/doc/app/images/ruby.png +0 -0
  163. data/src/admin_panel/doc/app/images/tag_green.png +0 -0
  164. data/src/admin_panel/doc/app/images/wrench.png +0 -0
  165. data/src/admin_panel/doc/app/images/wrench_orange.png +0 -0
  166. data/src/admin_panel/doc/app/images/zoom.png +0 -0
  167. data/src/admin_panel/doc/app/index.html +564 -20
  168. data/src/admin_panel/doc/app/js/darkfish.js +116 -0
  169. data/src/admin_panel/doc/app/js/jquery.js +32 -0
  170. data/src/admin_panel/doc/app/js/quicksearch.js +114 -0
  171. data/src/admin_panel/doc/app/js/thickbox-compressed.js +10 -0
  172. data/src/admin_panel/doc/app/lib/asset_tag_helper_ext_rb.html +52 -0
  173. data/src/admin_panel/doc/app/lib/control_rb.html +58 -0
  174. data/src/admin_panel/doc/app/lib/graph_controller_extensions/database_analytics_rb.html +52 -0
  175. data/src/admin_panel/doc/app/lib/graph_controller_extensions/resource_usage_analytics_rb.html +52 -0
  176. data/src/admin_panel/doc/app/lib/graph_controller_extensions/throughput_analytics_rb.html +52 -0
  177. data/src/admin_panel/doc/app/lib/graph_controller_extensions/url_analytics_rb.html +52 -0
  178. data/src/admin_panel/doc/app/lib/graph_controller_extensions/url_breakup_analytics_rb.html +52 -0
  179. data/src/admin_panel/doc/app/lib/helper_rb.html +52 -0
  180. data/src/admin_panel/doc/app/lib/scgi_rb.html +54 -0
  181. data/src/admin_panel/doc/app/lib/yaml_writer_rb.html +52 -0
  182. data/src/admin_panel/doc/app/rdoc.css +763 -0
  183. data/src/admin_panel/lib/helper.rb +6 -2
  184. data/src/admin_panel/public/stylesheets/other/login.css +8 -4
  185. data/src/admin_panel/public/stylesheets/other/style.css +21 -17
  186. data/src/admin_panel/script/rails +6 -0
  187. data/src/admin_panel/test/test_helper.rb +2 -2
  188. data/src/admin_panel/vendor/plugins/calendar_date_select/History.txt +281 -0
  189. data/src/admin_panel/vendor/plugins/calendar_date_select/MIT-LICENSE +20 -0
  190. data/src/admin_panel/vendor/plugins/calendar_date_select/Manifest.txt +42 -0
  191. data/src/admin_panel/vendor/plugins/calendar_date_select/README.txt +17 -0
  192. data/src/admin_panel/vendor/plugins/calendar_date_select/Rakefile +37 -0
  193. data/src/admin_panel/vendor/plugins/calendar_date_select/VERSION +1 -0
  194. data/src/admin_panel/vendor/plugins/calendar_date_select/calendar_date_select.gemspec +95 -0
  195. data/src/admin_panel/vendor/plugins/calendar_date_select/init.rb +1 -0
  196. data/src/admin_panel/vendor/plugins/calendar_date_select/js_test/functional/cds_test.html +376 -0
  197. data/src/admin_panel/vendor/plugins/calendar_date_select/js_test/functional/format_iso_date_test.html +52 -0
  198. data/src/admin_panel/vendor/plugins/calendar_date_select/js_test/prototype.js +4184 -0
  199. data/src/admin_panel/vendor/plugins/calendar_date_select/js_test/test.css +40 -0
  200. data/src/admin_panel/vendor/plugins/calendar_date_select/js_test/unit/cds_helper_methods.html +46 -0
  201. data/src/admin_panel/vendor/plugins/calendar_date_select/js_test/unittest.js +564 -0
  202. data/src/admin_panel/vendor/plugins/calendar_date_select/lib/calendar_date_select.rb +33 -0
  203. data/src/admin_panel/vendor/plugins/calendar_date_select/lib/calendar_date_select/calendar_date_select.rb +122 -0
  204. data/src/admin_panel/vendor/plugins/calendar_date_select/lib/calendar_date_select/form_helpers.rb +237 -0
  205. data/src/admin_panel/vendor/plugins/calendar_date_select/lib/calendar_date_select/includes_helper.rb +29 -0
  206. data/src/admin_panel/vendor/plugins/calendar_date_select/public/blank_iframe.html +2 -0
  207. data/src/admin_panel/vendor/plugins/calendar_date_select/public/images/calendar_date_select/calendar.gif +0 -0
  208. data/src/admin_panel/vendor/plugins/calendar_date_select/public/javascripts/calendar_date_select/calendar_date_select.js +459 -0
  209. data/src/admin_panel/vendor/plugins/calendar_date_select/public/javascripts/calendar_date_select/format_american.js +35 -0
  210. data/src/admin_panel/vendor/plugins/calendar_date_select/public/javascripts/calendar_date_select/format_danish.js +31 -0
  211. data/src/admin_panel/vendor/plugins/calendar_date_select/public/javascripts/calendar_date_select/format_db.js +27 -0
  212. data/src/admin_panel/vendor/plugins/calendar_date_select/public/javascripts/calendar_date_select/format_euro_24hr.js +7 -0
  213. data/src/admin_panel/vendor/plugins/calendar_date_select/public/javascripts/calendar_date_select/format_euro_24hr_ymd.js +7 -0
  214. data/src/admin_panel/vendor/plugins/calendar_date_select/public/javascripts/calendar_date_select/format_finnish.js +32 -0
  215. data/src/admin_panel/vendor/plugins/calendar_date_select/public/javascripts/calendar_date_select/format_hyphen_ampm.js +37 -0
  216. data/src/admin_panel/vendor/plugins/calendar_date_select/public/javascripts/calendar_date_select/format_iso_date.js +29 -0
  217. data/src/admin_panel/vendor/plugins/calendar_date_select/public/javascripts/calendar_date_select/format_italian.js +24 -0
  218. data/src/admin_panel/vendor/plugins/calendar_date_select/public/javascripts/calendar_date_select/locale/ar.js +10 -0
  219. data/src/admin_panel/vendor/plugins/calendar_date_select/public/javascripts/calendar_date_select/locale/cs.js +11 -0
  220. data/src/admin_panel/vendor/plugins/calendar_date_select/public/javascripts/calendar_date_select/locale/da.js +11 -0
  221. data/src/admin_panel/vendor/plugins/calendar_date_select/public/javascripts/calendar_date_select/locale/de.js +11 -0
  222. data/src/admin_panel/vendor/plugins/calendar_date_select/public/javascripts/calendar_date_select/locale/es.js +11 -0
  223. data/src/admin_panel/vendor/plugins/calendar_date_select/public/javascripts/calendar_date_select/locale/fi.js +10 -0
  224. data/src/admin_panel/vendor/plugins/calendar_date_select/public/javascripts/calendar_date_select/locale/fr.js +11 -0
  225. data/src/admin_panel/vendor/plugins/calendar_date_select/public/javascripts/calendar_date_select/locale/hu.js +11 -0
  226. data/src/admin_panel/vendor/plugins/calendar_date_select/public/javascripts/calendar_date_select/locale/it.js +9 -0
  227. data/src/admin_panel/vendor/plugins/calendar_date_select/public/javascripts/calendar_date_select/locale/ja.js +11 -0
  228. data/src/admin_panel/vendor/plugins/calendar_date_select/public/javascripts/calendar_date_select/locale/nl.js +11 -0
  229. data/src/admin_panel/vendor/plugins/calendar_date_select/public/javascripts/calendar_date_select/locale/pl.js +11 -0
  230. data/src/admin_panel/vendor/plugins/calendar_date_select/public/javascripts/calendar_date_select/locale/pt.js +11 -0
  231. data/src/admin_panel/vendor/plugins/calendar_date_select/public/javascripts/calendar_date_select/locale/ru.js +10 -0
  232. data/src/admin_panel/vendor/plugins/calendar_date_select/public/javascripts/calendar_date_select/locale/sl.js +11 -0
  233. data/src/admin_panel/vendor/plugins/calendar_date_select/public/javascripts/calendar_date_select/locale/sv.js +9 -0
  234. data/src/admin_panel/vendor/plugins/calendar_date_select/public/stylesheets/calendar_date_select/blue.css +130 -0
  235. data/src/admin_panel/vendor/plugins/calendar_date_select/public/stylesheets/calendar_date_select/default.css +135 -0
  236. data/src/admin_panel/vendor/plugins/calendar_date_select/public/stylesheets/calendar_date_select/green.css +142 -0
  237. data/src/admin_panel/vendor/plugins/calendar_date_select/public/stylesheets/calendar_date_select/plain.css +128 -0
  238. data/src/admin_panel/vendor/plugins/calendar_date_select/public/stylesheets/calendar_date_select/red.css +135 -0
  239. data/src/admin_panel/vendor/plugins/calendar_date_select/public/stylesheets/calendar_date_select/silver.css +133 -0
  240. data/src/admin_panel/vendor/plugins/calendar_date_select/spec/calendar_date_select/calendar_date_select_spec.rb +14 -0
  241. data/src/admin_panel/vendor/plugins/calendar_date_select/spec/calendar_date_select/form_helpers_spec.rb +189 -0
  242. data/src/admin_panel/vendor/plugins/calendar_date_select/spec/calendar_date_select/includes_helper_spec.rb +46 -0
  243. data/src/admin_panel/vendor/plugins/calendar_date_select/spec/spec_helper.rb +26 -0
  244. data/src/admin_panel/vendor/plugins/open_flash_chart_2_plugin/install.rb +2 -2
  245. data/src/admin_panel/vendor/plugins/open_flash_chart_2_plugin/uninstall.rb +2 -2
  246. data/src/admin_panel/vendor/plugins/prototype_legacy_helper/README.markdown +13 -0
  247. data/src/admin_panel/vendor/plugins/prototype_legacy_helper/init.rb +1 -0
  248. data/src/admin_panel/vendor/plugins/prototype_legacy_helper/lib/prototype_legacy_helper.rb +432 -0
  249. data/src/admin_panel/vendor/plugins/prototype_legacy_helper/test/test_prototype_helper.rb +297 -0
  250. data/src/helper/wr_config.c +1 -1
  251. data/src/ruby_lib/analyzer/message_analyzer.rb +1 -0
  252. data/src/ruby_lib/analyzer/webroar_analyzer.rb +2 -2
  253. data/src/ruby_lib/profiler/message_dispatcher.rb +1 -1
  254. data/src/ruby_lib/ruby_interface/version.rb +2 -2
  255. data/src/ruby_lib/webroar_app_loader.rb +1 -1
  256. data/tasks/gem.rake +5 -7
  257. data/tasks/test.rake +1 -0
  258. data/test/spec/analytics_spec.rb +25 -24
  259. data/test/spec/test_app/README +142 -129
  260. data/test/spec/test_app/Rakefile +2 -5
  261. data/test/spec/test_app/app/controllers/application_controller.rb +3 -8
  262. data/test/spec/test_app/app/controllers/test_controller.rb +3 -3
  263. data/test/spec/test_app/app/controllers/users_controller.rb +8 -8
  264. data/test/spec/test_app/app/helpers/application_helper.rb +2 -1
  265. data/test/spec/test_app/app/helpers/test_helper.rb +2 -0
  266. data/test/spec/test_app/app/helpers/users_helper.rb +2 -0
  267. data/test/spec/test_app/app/models/user.rb +2 -0
  268. data/test/spec/test_app/app/views/layouts/{users.html.erb → application.html.erb} +6 -9
  269. data/test/spec/test_app/app/views/test/post_data.html.erb +2 -2
  270. data/test/spec/test_app/app/views/test/upload_file.html.erb +1 -1
  271. data/test/spec/test_app/{db/migrate/20090602102438_create_users.rb → app/views/users/_form.html.erb} +22 -11
  272. data/test/spec/test_app/app/views/users/edit.html.erb +19 -28
  273. data/test/spec/test_app/app/views/users/index.html.erb +23 -19
  274. data/test/spec/test_app/app/views/users/new.html.erb +19 -28
  275. data/test/spec/test_app/app/views/users/show.html.erb +21 -18
  276. data/test/spec/test_app/config/application.rb +45 -0
  277. data/test/spec/test_app/config/boot.rb +4 -112
  278. data/test/spec/test_app/config/database.yml +1 -1
  279. data/test/spec/test_app/config/environment.rb +4 -41
  280. data/test/spec/test_app/config/environments/development.rb +22 -13
  281. data/test/spec/test_app/config/environments/production.rb +41 -20
  282. data/test/spec/test_app/config/environments/test.rb +35 -28
  283. data/test/spec/test_app/config/initializers/backtrace_silencers.rb +2 -2
  284. data/test/spec/test_app/config/initializers/inflections.rb +1 -1
  285. data/test/spec/test_app/config/initializers/secret_token.rb +7 -0
  286. data/test/spec/test_app/config/initializers/session_store.rb +3 -10
  287. data/test/spec/test_app/config/locales/en.yml +5 -0
  288. data/test/spec/test_app/config/routes.rb +37 -22
  289. data/test/spec/test_app/db/migrate/20110906113329_create_users.rb +13 -0
  290. data/test/spec/test_app/db/seeds.rb +7 -0
  291. data/test/spec/test_app/public/404.html +15 -19
  292. data/test/spec/test_app/public/422.html +15 -19
  293. data/test/spec/test_app/public/500.html +14 -18
  294. data/test/spec/test_app/public/index.html +41 -77
  295. data/test/spec/test_app/public/javascripts/controls.js +5 -3
  296. data/test/spec/test_app/public/javascripts/dragdrop.js +7 -6
  297. data/test/spec/test_app/public/javascripts/effects.js +8 -13
  298. data/test/spec/test_app/public/javascripts/prototype.js +3381 -1700
  299. data/test/spec/test_app/public/javascripts/rails.js +191 -0
  300. data/test/spec/test_app/public/stylesheets/scaffold.css +15 -13
  301. data/test/spec/test_app/script/rails +6 -0
  302. metadata +340 -163
  303. data/src/admin_panel/Gemfile.lock +0 -79
  304. data/src/admin_panel/doc/app/classes/ActionView.html +0 -111
  305. data/src/admin_panel/doc/app/classes/ActionView/Helpers.html +0 -111
  306. data/src/admin_panel/doc/app/classes/ActionView/Helpers/AssetTagHelper.html +0 -149
  307. data/src/admin_panel/doc/app/classes/AdminController.html +0 -628
  308. data/src/admin_panel/doc/app/classes/AdminHelper.html +0 -482
  309. data/src/admin_panel/doc/app/classes/Analytics.html +0 -138
  310. data/src/admin_panel/doc/app/classes/Analytics/Database.html +0 -245
  311. data/src/admin_panel/doc/app/classes/Analytics/ResourceUsage.html +0 -478
  312. data/src/admin_panel/doc/app/classes/Analytics/Throughput.html +0 -316
  313. data/src/admin_panel/doc/app/classes/Analytics/Url.html +0 -314
  314. data/src/admin_panel/doc/app/classes/Analytics/UrlBreakup.html +0 -372
  315. data/src/admin_panel/doc/app/classes/App.html +0 -298
  316. data/src/admin_panel/doc/app/classes/AppException.html +0 -330
  317. data/src/admin_panel/doc/app/classes/AppTimeSample.html +0 -427
  318. data/src/admin_panel/doc/app/classes/ApplicationController.html +0 -118
  319. data/src/admin_panel/doc/app/classes/ApplicationHelper.html +0 -172
  320. data/src/admin_panel/doc/app/classes/ApplicationSpecification.html +0 -641
  321. data/src/admin_panel/doc/app/classes/ApplicationSpecificationController.html +0 -354
  322. data/src/admin_panel/doc/app/classes/Control.html +0 -273
  323. data/src/admin_panel/doc/app/classes/ExceptionsController.html +0 -612
  324. data/src/admin_panel/doc/app/classes/ExceptionsHelper.html +0 -105
  325. data/src/admin_panel/doc/app/classes/GraphController.html +0 -804
  326. data/src/admin_panel/doc/app/classes/GraphHelper.html +0 -164
  327. data/src/admin_panel/doc/app/classes/MailSpecification.html +0 -357
  328. data/src/admin_panel/doc/app/classes/MailSpecificationController.html +0 -304
  329. data/src/admin_panel/doc/app/classes/PseudoModel.html +0 -206
  330. data/src/admin_panel/doc/app/classes/ResourceUsage.html +0 -425
  331. data/src/admin_panel/doc/app/classes/SCGI.html +0 -406
  332. data/src/admin_panel/doc/app/classes/ServerSpecification.html +0 -325
  333. data/src/admin_panel/doc/app/classes/ServerSpecificationController.html +0 -273
  334. data/src/admin_panel/doc/app/classes/UrlBreakupTimeSample.html +0 -169
  335. data/src/admin_panel/doc/app/classes/UrlTimeSample.html +0 -708
  336. data/src/admin_panel/doc/app/classes/User.html +0 -165
  337. data/src/admin_panel/doc/app/classes/YAMLWriter.html +0 -159
  338. data/src/admin_panel/doc/app/files/app/controllers/admin_controller_rb.html +0 -101
  339. data/src/admin_panel/doc/app/files/app/controllers/application_controller_rb.html +0 -108
  340. data/src/admin_panel/doc/app/files/app/controllers/application_specification_controller_rb.html +0 -101
  341. data/src/admin_panel/doc/app/files/app/controllers/exceptions_controller_rb.html +0 -101
  342. data/src/admin_panel/doc/app/files/app/controllers/graph_controller_rb.html +0 -101
  343. data/src/admin_panel/doc/app/files/app/controllers/mail_specification_controller_rb.html +0 -101
  344. data/src/admin_panel/doc/app/files/app/controllers/server_specification_controller_rb.html +0 -101
  345. data/src/admin_panel/doc/app/files/app/helpers/admin_helper_rb.html +0 -101
  346. data/src/admin_panel/doc/app/files/app/helpers/application_helper_rb.html +0 -101
  347. data/src/admin_panel/doc/app/files/app/helpers/exceptions_helper_rb.html +0 -101
  348. data/src/admin_panel/doc/app/files/app/helpers/graph_helper_rb.html +0 -101
  349. data/src/admin_panel/doc/app/files/app/models/app_exception_rb.html +0 -101
  350. data/src/admin_panel/doc/app/files/app/models/app_rb.html +0 -108
  351. data/src/admin_panel/doc/app/files/app/models/app_time_sample_rb.html +0 -101
  352. data/src/admin_panel/doc/app/files/app/models/application_specification_rb.html +0 -101
  353. data/src/admin_panel/doc/app/files/app/models/mail_specification_rb.html +0 -101
  354. data/src/admin_panel/doc/app/files/app/models/pseudo_model_rb.html +0 -101
  355. data/src/admin_panel/doc/app/files/app/models/resource_usage_rb.html +0 -101
  356. data/src/admin_panel/doc/app/files/app/models/server_specification_rb.html +0 -101
  357. data/src/admin_panel/doc/app/files/app/models/url_breakup_time_sample_rb.html +0 -101
  358. data/src/admin_panel/doc/app/files/app/models/url_time_sample_rb.html +0 -101
  359. data/src/admin_panel/doc/app/files/app/models/user_rb.html +0 -101
  360. data/src/admin_panel/doc/app/files/doc/README_FOR_APP.html +0 -109
  361. data/src/admin_panel/doc/app/files/lib/asset_tag_helper_ext_rb.html +0 -101
  362. data/src/admin_panel/doc/app/files/lib/control_rb.html +0 -110
  363. data/src/admin_panel/doc/app/files/lib/graph_controller_extensions/database_analytics_rb.html +0 -101
  364. data/src/admin_panel/doc/app/files/lib/graph_controller_extensions/resource_usage_analytics_rb.html +0 -101
  365. data/src/admin_panel/doc/app/files/lib/graph_controller_extensions/throughput_analytics_rb.html +0 -101
  366. data/src/admin_panel/doc/app/files/lib/graph_controller_extensions/url_analytics_rb.html +0 -101
  367. data/src/admin_panel/doc/app/files/lib/graph_controller_extensions/url_breakup_analytics_rb.html +0 -101
  368. data/src/admin_panel/doc/app/files/lib/scgi_rb.html +0 -101
  369. data/src/admin_panel/doc/app/files/lib/yaml_writer_rb.html +0 -101
  370. data/src/admin_panel/doc/app/fr_class_index.html +0 -60
  371. data/src/admin_panel/doc/app/fr_file_index.html +0 -58
  372. data/src/admin_panel/doc/app/fr_method_index.html +0 -206
  373. data/src/admin_panel/doc/app/rdoc-style.css +0 -208
  374. data/src/admin_panel/public/dispatch.cgi +0 -10
  375. data/src/admin_panel/public/dispatch.fcgi +0 -24
  376. data/src/admin_panel/public/dispatch.rb +0 -10
  377. data/src/admin_panel/script/about +0 -4
  378. data/src/admin_panel/script/console +0 -3
  379. data/src/admin_panel/script/dbconsole +0 -3
  380. data/src/admin_panel/script/destroy +0 -3
  381. data/src/admin_panel/script/generate +0 -3
  382. data/src/admin_panel/script/performance/benchmarker +0 -3
  383. data/src/admin_panel/script/performance/profiler +0 -3
  384. data/src/admin_panel/script/performance/request +0 -3
  385. data/src/admin_panel/script/plugin +0 -3
  386. data/src/admin_panel/script/process/inspector +0 -3
  387. data/src/admin_panel/script/process/reaper +0 -3
  388. data/src/admin_panel/script/process/spawner +0 -3
  389. data/src/admin_panel/script/runner +0 -3
  390. data/src/admin_panel/script/server +0 -3
  391. data/test/spec/test_app/config/initializers/new_rails_defaults.rb +0 -19
  392. data/test/spec/test_app/script/about +0 -4
  393. data/test/spec/test_app/script/console +0 -3
  394. data/test/spec/test_app/script/dbconsole +0 -3
  395. data/test/spec/test_app/script/destroy +0 -3
  396. data/test/spec/test_app/script/generate +0 -3
  397. data/test/spec/test_app/script/performance/benchmarker +0 -3
  398. data/test/spec/test_app/script/performance/profiler +0 -3
  399. data/test/spec/test_app/script/plugin +0 -3
  400. data/test/spec/test_app/script/runner +0 -3
  401. data/test/spec/test_app/script/server +0 -3
  402. data/test/spec/test_app/vendor/.placeholder +0 -0
data/CHANGELOG CHANGED
@@ -1,3 +1,10 @@
1
+ v0.7.0 - 14444-Oct-2011
2
+ --------------------
3
+
4
+ * Upgraded Admin Panel to Rails 3.0.9.
5
+ * Fixed logic to find out latest installed version.
6
+ * Fixed 'user.yml' file importing issue.
7
+
1
8
  v0.6.1 - 19-Sep-2011
2
9
  --------------------
3
10
 
data/README CHANGED
@@ -48,7 +48,7 @@ Prerequisites
48
48
  - ruby 1.8-dev or 1.9-dev
49
49
  - openssl ruby extension (On Ubuntu/Debian it is available as libopenssl-ruby1.X)
50
50
  - zlib ruby extension
51
- - rubygems
51
+ - rubygems 1.3.6 or later
52
52
  - C build tools (gcc etc) (e.g. build-essential on Ubuntu, Xcode on MacOS)
53
53
  - libsqlite3
54
54
  - libsqlite3-dev
data/doc/user-guide.html CHANGED
@@ -2,15 +2,28 @@
2
2
  "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
3
3
  <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
4
4
  <head>
5
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
6
- <meta name="generator" content="AsciiDoc 8.5.2" />
5
+ <meta http-equiv="Content-Type" content="application/xhtml+xml; charset=UTF-8" />
6
+ <meta name="generator" content="AsciiDoc 8.6.3" />
7
7
  <title>WebROaR User Guide</title>
8
8
  <style type="text/css">
9
- /* Debug borders */
10
- p, li, dt, dd, div, pre, h1, h2, h3, h4, h5, h6 {
11
- /*
12
- border: 1px solid red;
13
- */
9
+ /* Sans-serif font. */
10
+ h1, h2, h3, h4, h5, h6,
11
+ div.title, caption.title,
12
+ thead, p.table.header,
13
+ div#toctitle,
14
+ span#author, span#revnumber, span#revdate, span#revremark,
15
+ div#footer {
16
+ font-family: Arial,Helvetica,sans-serif;
17
+ }
18
+
19
+ /* Serif font. */
20
+ div.sectionbody {
21
+ font-family: Georgia,"Times New Roman",Times,serif;
22
+ }
23
+
24
+ /* Monospace font. */
25
+ tt {
26
+ font-size: inherit;
14
27
  }
15
28
 
16
29
  body {
@@ -36,12 +49,12 @@ strong {
36
49
  }
37
50
 
38
51
  tt {
52
+ font-size: inherit;
39
53
  color: navy;
40
54
  }
41
55
 
42
56
  h1, h2, h3, h4, h5, h6 {
43
57
  color: #527bbd;
44
- font-family: sans-serif;
45
58
  margin-top: 1.2em;
46
59
  margin-bottom: 0.5em;
47
60
  line-height: 1.3;
@@ -61,7 +74,6 @@ h3 + * {
61
74
  }
62
75
 
63
76
  div.sectionbody {
64
- font-family: serif;
65
77
  margin-left: 0;
66
78
  }
67
79
 
@@ -77,6 +89,8 @@ p {
77
89
  ul, ol, li > p {
78
90
  margin-top: 0;
79
91
  }
92
+ ul > li { color: #aaa; }
93
+ ul > li > * { color: black; }
80
94
 
81
95
  pre {
82
96
  padding: 0;
@@ -85,18 +99,15 @@ pre {
85
99
 
86
100
  span#author {
87
101
  color: #527bbd;
88
- font-family: sans-serif;
89
102
  font-weight: bold;
90
103
  font-size: 1.1em;
91
104
  }
92
105
  span#email {
93
106
  }
94
107
  span#revnumber, span#revdate, span#revremark {
95
- font-family: sans-serif;
96
108
  }
97
109
 
98
110
  div#footer {
99
- font-family: sans-serif;
100
111
  font-size: small;
101
112
  border-top: 2px solid silver;
102
113
  padding-top: 0.5em;
@@ -135,7 +146,6 @@ div.content { /* Block element content. */
135
146
  /* Block element titles. */
136
147
  div.title, caption.title {
137
148
  color: #527bbd;
138
- font-family: sans-serif;
139
149
  font-weight: bold;
140
150
  text-align: left;
141
151
  margin-top: 1.0em;
@@ -157,13 +167,15 @@ div.content + div.title {
157
167
 
158
168
  div.sidebarblock > div.content {
159
169
  background: #ffffee;
160
- border: 1px solid silver;
170
+ border: 1px solid #dddddd;
171
+ border-left: 4px solid #f0f0f0;
161
172
  padding: 0.5em;
162
173
  }
163
174
 
164
175
  div.listingblock > div.content {
165
- border: 1px solid silver;
166
- background: #f4f4f4;
176
+ border: 1px solid #dddddd;
177
+ border-left: 5px solid #f0f0f0;
178
+ background: #f8f8f8;
167
179
  padding: 0.5em;
168
180
  }
169
181
 
@@ -171,7 +183,7 @@ div.quoteblock, div.verseblock {
171
183
  padding-left: 1.0em;
172
184
  margin-left: 1.0em;
173
185
  margin-right: 10%;
174
- border-left: 5px solid #dddddd;
186
+ border-left: 5px solid #f0f0f0;
175
187
  color: #777777;
176
188
  }
177
189
 
@@ -180,8 +192,9 @@ div.quoteblock > div.attribution {
180
192
  text-align: right;
181
193
  }
182
194
 
183
- div.verseblock > div.content {
184
- white-space: pre;
195
+ div.verseblock > pre.content {
196
+ font-family: inherit;
197
+ font-size: inherit;
185
198
  }
186
199
  div.verseblock > div.attribution {
187
200
  padding-top: 0.75em;
@@ -258,8 +271,8 @@ div.tableblock > table {
258
271
  border: 3px solid #527bbd;
259
272
  }
260
273
  thead, p.table.header {
261
- font-family: sans-serif;
262
274
  font-weight: bold;
275
+ color: #527bbd;
263
276
  }
264
277
  tfoot {
265
278
  font-weight: bold;
@@ -339,6 +352,14 @@ span.footnote, span.footnoteref {
339
352
  min-width: 100px;
340
353
  }
341
354
 
355
+ div.colist td {
356
+ padding-right: 0.5em;
357
+ padding-bottom: 0.3em;
358
+ vertical-align: top;
359
+ }
360
+ div.colist td img {
361
+ margin-top: 0.3em;
362
+ }
342
363
 
343
364
  @media print {
344
365
  div#footer-badges { display: none; }
@@ -350,7 +371,6 @@ div#toc {
350
371
 
351
372
  div#toctitle {
352
373
  color: #527bbd;
353
- font-family: sans-serif;
354
374
  font-size: 1.1em;
355
375
  font-weight: bold;
356
376
  margin-top: 1.0em;
@@ -373,47 +393,7 @@ div.toclevel4 {
373
393
  margin-left: 6em;
374
394
  font-size: 0.9em;
375
395
  }
376
- /* Workarounds for IE6's broken and incomplete CSS2. */
377
396
 
378
- div.sidebar-content {
379
- background: #ffffee;
380
- border: 1px solid silver;
381
- padding: 0.5em;
382
- }
383
- div.sidebar-title, div.image-title {
384
- color: #527bbd;
385
- font-family: sans-serif;
386
- font-weight: bold;
387
- margin-top: 0.0em;
388
- margin-bottom: 0.5em;
389
- }
390
-
391
- div.listingblock div.content {
392
- border: 1px solid silver;
393
- background: #f4f4f4;
394
- padding: 0.5em;
395
- }
396
-
397
- div.quoteblock-attribution {
398
- padding-top: 0.5em;
399
- text-align: right;
400
- }
401
-
402
- div.verseblock-content {
403
- white-space: pre;
404
- }
405
- div.verseblock-attribution {
406
- padding-top: 0.75em;
407
- text-align: left;
408
- }
409
-
410
- div.exampleblock-content {
411
- border-left: 3px solid #dddddd;
412
- padding-left: 0.5em;
413
- }
414
-
415
- /* IE6 sets dynamically generated links as visited. */
416
- div#toc a:visited { color: blue; }
417
397
  </style>
418
398
  <script type="text/javascript">
419
399
  /*<![CDATA[*/
@@ -549,15 +529,16 @@ footnotes: function () {
549
529
  /*]]>*/
550
530
  </script>
551
531
  </head>
552
- <body>
532
+ <body class="article">
553
533
  <div id="header">
554
534
  <h1>WebROaR User Guide</h1>
555
- <div id="toc">
556
- <div id="toctitle">Table of Contents</div>
557
- <noscript><p><b>JavaScript must be enabled in your browser to display the table of contents.</b></p></noscript>
535
+ <div id="toc">
536
+ <div id="toctitle">Table of Contents</div>
537
+ <noscript><p><b>JavaScript must be enabled in your browser to display the table of contents.</b></p></noscript>
558
538
  </div>
559
539
  </div>
560
540
  <div id="content">
541
+ <div class="sect1">
561
542
  <h2 id="_introduction">1. Introduction</h2>
562
543
  <div class="sectionbody">
563
544
  <div class="paragraph"><p><a href="http://webroar.in">WebROaR</a> is an application server that makes deployments of
@@ -566,7 +547,8 @@ view the run time performance numbers and sends email notifications in case any
566
547
  exceptions occur in any of the deployed applications.</p></div>
567
548
  <div class="paragraph"><p>It is 5 to 55% faster than all other comparable deployment stacks for
568
549
  Ruby on Rails applications.</p></div>
569
- <h3 id="_key_features">1.1. Key Features</h3><div style="clear:left"></div>
550
+ <div class="sect2">
551
+ <h3 id="_key_features">1.1. Key Features</h3>
570
552
  <div class="ulist"><ul>
571
553
  <li>
572
554
  <p>
@@ -628,6 +610,9 @@ SSL support.
628
610
  </li>
629
611
  </ul></div>
630
612
  </div>
613
+ </div>
614
+ </div>
615
+ <div class="sect1">
631
616
  <h2 id="_supported_operating_systems">2. Supported Operating Systems</h2>
632
617
  <div class="sectionbody">
633
618
  <div class="paragraph"><p>WebROaR has been tested on Ubuntu 8.10/9.04/9.10/10.04/10.10/11.04,
@@ -635,9 +620,12 @@ Debian 5 (64 Bit), Mac OS X (v10.5 &amp; v10.6), Arch Linux 2009.08 and Cent OS
635
620
  Basically, it should be able to run on any *IX OS.</p></div>
636
621
  <div class="paragraph"><p>Currently it does not support Microsoft&#174; Windows.</p></div>
637
622
  </div>
623
+ </div>
624
+ <div class="sect1">
638
625
  <h2 id="_install">3. Install</h2>
639
626
  <div class="sectionbody">
640
- <h3 id="_prerequisites">3.1. Prerequisites</h3><div style="clear:left"></div>
627
+ <div class="sect2">
628
+ <h3 id="_prerequisites">3.1. Prerequisites</h3>
641
629
  <div class="ulist"><ul>
642
630
  <li>
643
631
  <p>
@@ -661,7 +649,7 @@ zlib ruby extension
661
649
  </li>
662
650
  <li>
663
651
  <p>
664
- rubygems
652
+ rubygems 1.3.6 or later
665
653
  </p>
666
654
  </li>
667
655
  <li>
@@ -690,10 +678,13 @@ gnutls-dev 2.4.1 or later (Only necessary in case SSL support is required)
690
678
  </p>
691
679
  </li>
692
680
  </ul></div>
693
- <h3 id="_procedure">3.2. Procedure</h3><div style="clear:left"></div>
681
+ </div>
682
+ <div class="sect2">
683
+ <h3 id="_procedure">3.2. Procedure</h3>
694
684
  <div class="paragraph"><p>WebROaR can be installed through its gem or directly from its source code. One
695
685
  can also use Capistrano to perform a non-interactive installation of the
696
686
  server.</p></div>
687
+ <div class="sect3">
697
688
  <h4 id="_install_using_gem">3.2.1. Install using gem</h4>
698
689
  <div class="paragraph"><p>WebROaR can be installed using the following commands:</p></div>
699
690
  <div class="listingblock">
@@ -721,6 +712,8 @@ command line switch with <strong>sudo webroar install</strong> command mentioned
721
712
  </td>
722
713
  </tr></table>
723
714
  </div>
715
+ </div>
716
+ <div class="sect3">
724
717
  <h4 id="_install_from_source_code">3.2.2. Install from source code</h4>
725
718
  <div class="paragraph"><p>If you like living in the fast lane, you can install the edge version giving
726
719
  the following commands:</p></div>
@@ -750,6 +743,8 @@ sudo rake install</tt></pre>
750
743
  </td>
751
744
  </tr></table>
752
745
  </div>
746
+ </div>
747
+ <div class="sect3">
753
748
  <h4 id="_non_interactive_install_using_capistrano">3.2.3. Non-Interactive Install using Capistrano</h4>
754
749
  <div class="paragraph"><p>You can use following Capistrano script to install the edge version on a
755
750
  remote machine</p></div>
@@ -877,7 +872,10 @@ Update the current version with the latest code from github using
877
872
  </p>
878
873
  </li>
879
874
  </ol></div>
880
- <h3 id="_troubleshooting">3.3. Troubleshooting</h3><div style="clear:left"></div>
875
+ </div>
876
+ </div>
877
+ <div class="sect2">
878
+ <h3 id="_troubleshooting">3.3. Troubleshooting</h3>
881
879
  <div class="admonitionblock">
882
880
  <table><tr>
883
881
  <td class="icon">
@@ -898,7 +896,7 @@ rubygems version or any other reason), you can install the following dependent
898
896
  </p>
899
897
  <div class="literalblock">
900
898
  <div class="content">
901
- <pre><tt>rails-2.3.9, calendar_date_select, rake, rspec, sqlite3, starling, will_paginate</tt></pre>
899
+ <pre><tt>rails-3.0.9, rake, rspec, sqlite3, starling, will_paginate</tt></pre>
902
900
  </div></div>
903
901
  </li>
904
902
  <li>
@@ -916,7 +914,9 @@ dump file would be created in /tmp if <em>gcore</em> is available on that machin
916
914
  </p>
917
915
  </li>
918
916
  </ul></div>
919
- <h3 id="_setting_up_database_for_server_admin_panel">3.4. Setting up database for server admin panel</h3><div style="clear:left"></div>
917
+ </div>
918
+ <div class="sect2">
919
+ <h3 id="_setting_up_database_for_server_admin_panel">3.4. Setting up database for server admin panel</h3>
920
920
  <div class="paragraph"><p>The server&#8217;s admin panel itself is a Ruby on Rails&#8482; web application, and by
921
921
  default uses sqlite as it&#8217;s database. You can edit
922
922
  <strong>admin_panel/config/database.yml</strong> to setup a database of your liking and
@@ -929,6 +929,9 @@ rake db:migrate</tt></pre>
929
929
  <div class="paragraph"><p><strong>admin_panel</strong> directory would be present under the server&#8217;s rubygem
930
930
  directory.</p></div>
931
931
  </div>
932
+ </div>
933
+ </div>
934
+ <div class="sect1">
932
935
  <h2 id="_usage">4. Usage</h2>
933
936
  <div class="sectionbody">
934
937
  <div class="paragraph"><p>Start/Stop/Restart WebROaR:</p></div>
@@ -968,9 +971,12 @@ server even when the admin panel is stopped.</p></div>
968
971
  </tr></table>
969
972
  </div>
970
973
  </div>
974
+ </div>
975
+ <div class="sect1">
971
976
  <h2 id="_deploying_applications">5. Deploying applications</h2>
972
977
  <div class="sectionbody">
973
- <h3 id="_deploy_using_admin_panel">5.1. Deploy using Admin Panel</h3><div style="clear:left"></div>
978
+ <div class="sect2">
979
+ <h3 id="_deploy_using_admin_panel">5.1. Deploy using Admin Panel</h3>
974
980
  <div class="paragraph"><p>If the server got installed successfully, you should be able access it&#8217;s admin
975
981
  panel using the link:<br />
976
982
  <strong>http://&lt;yourservername&gt;:&lt;port&gt;/admin-panel</strong></p></div>
@@ -986,7 +992,9 @@ your choice accessing the <strong>Configuration</strong> link of the admin panel
986
992
  The application starts up automatically after deployment.</td>
987
993
  </tr></table>
988
994
  </div>
989
- <h3 id="_deploy_using_capistrano">5.2. Deploy using Capistrano</h3><div style="clear:left"></div>
995
+ </div>
996
+ <div class="sect2">
997
+ <h3 id="_deploy_using_capistrano">5.2. Deploy using Capistrano</h3>
990
998
  <div class="paragraph"><p>WebROaR can be easily integrated with Capistrano using the following
991
999
  instructions.</p></div>
992
1000
  <div class="paragraph"><p>After installing Capistrano, run the following command in your application&#8217;s
@@ -1085,7 +1093,9 @@ application while upgrading it in the future:</p></div>
1085
1093
  cap deploy:start
1086
1094
  cap deploy:restart</tt></pre>
1087
1095
  </div></div>
1088
- <h3 id="_rack_applications_other_than_rails">5.3. Rack applications (other than Rails)</h3><div style="clear:left"></div>
1096
+ </div>
1097
+ <div class="sect2">
1098
+ <h3 id="_rack_applications_other_than_rails">5.3. Rack applications (other than Rails)</h3>
1089
1099
  <div class="paragraph"><p>To deploy any Rack based application (other than Rails) the following are
1090
1100
  required in it&#8217;s root directory:</p></div>
1091
1101
  <div class="ulist"><ul>
@@ -1146,6 +1156,9 @@ ENV['APP_BASE_URI\'] - To get the baseuri
1146
1156
  </li>
1147
1157
  </ul></div>
1148
1158
  </div>
1159
+ </div>
1160
+ </div>
1161
+ <div class="sect1">
1149
1162
  <h2 id="_accessing_run_time_statistics">6. Accessing run time statistics</h2>
1150
1163
  <div class="sectionbody">
1151
1164
  <div class="paragraph"><p>For those applications whose Analytics are <strong>Enabled</strong> in their configuration,
@@ -1215,6 +1228,8 @@ about a minute for it’s data to show up in the graphs.</td>
1215
1228
  </tr></table>
1216
1229
  </div>
1217
1230
  </div>
1231
+ </div>
1232
+ <div class="sect1">
1218
1233
  <h2 id="_exception_tracking_and_notifications">7. Exception Tracking and Notifications</h2>
1219
1234
  <div class="sectionbody">
1220
1235
  <div class="paragraph"><p>Any exceptions that occur in any of the deployed application are captured by
@@ -1233,6 +1248,8 @@ after it has occurred.</td>
1233
1248
  </tr></table>
1234
1249
  </div>
1235
1250
  </div>
1251
+ </div>
1252
+ <div class="sect1">
1236
1253
  <h2 id="_uninstall">8. Uninstall</h2>
1237
1254
  <div class="sectionbody">
1238
1255
  <div class="paragraph"><p>If you didn&#8217;t like the server, use the following commands in sequence to
@@ -1243,6 +1260,8 @@ uninstall it.</p></div>
1243
1260
  sudo gem uninstall webroar</tt></pre>
1244
1261
  </div></div>
1245
1262
  </div>
1263
+ </div>
1264
+ <div class="sect1">
1246
1265
  <h2 id="_test_suite">9. Test Suite</h2>
1247
1266
  <div class="sectionbody">
1248
1267
  <div class="paragraph"><p>If you are a programmer and wish to play around with the server&#8217;s code, you
@@ -1287,9 +1306,12 @@ Build Tests
1287
1306
  </li>
1288
1307
  </ul></div>
1289
1308
  </div>
1309
+ </div>
1310
+ <div class="sect1">
1290
1311
  <h2 id="_command_line_options">10. Command Line Options</h2>
1291
1312
  <div class="sectionbody">
1292
- <h3 id="_webroar_help">10.1. webroar help</h3><div style="clear:left"></div>
1313
+ <div class="sect2">
1314
+ <h3 id="_webroar_help">10.1. webroar help</h3>
1293
1315
  <div class="listingblock">
1294
1316
  <div class="content">
1295
1317
  <pre><tt> Usage:
@@ -1307,7 +1329,9 @@ Build Tests
1307
1329
 
1308
1330
  For help on a particular command, use 'webroar help COMMAND'.</tt></pre>
1309
1331
  </div></div>
1310
- <h3 id="_webroar_install">10.2. webroar install</h3><div style="clear:left"></div>
1332
+ </div>
1333
+ <div class="sect2">
1334
+ <h3 id="_webroar_install">10.2. webroar install</h3>
1311
1335
  <div class="listingblock">
1312
1336
  <div class="content">
1313
1337
  <pre><tt> Usage:
@@ -1350,7 +1374,9 @@ Build Tests
1350
1374
  Summary:
1351
1375
  Install the server</tt></pre>
1352
1376
  </div></div>
1353
- <h3 id="_webroar_uninstall">10.3. webroar uninstall</h3><div style="clear:left"></div>
1377
+ </div>
1378
+ <div class="sect2">
1379
+ <h3 id="_webroar_uninstall">10.3. webroar uninstall</h3>
1354
1380
  <div class="listingblock">
1355
1381
  <div class="content">
1356
1382
  <pre><tt> Usage:
@@ -1359,7 +1385,9 @@ Build Tests
1359
1385
  Summary:
1360
1386
  Uninstall the server</tt></pre>
1361
1387
  </div></div>
1362
- <h3 id="_webroar_start">10.4. webroar start</h3><div style="clear:left"></div>
1388
+ </div>
1389
+ <div class="sect2">
1390
+ <h3 id="_webroar_start">10.4. webroar start</h3>
1363
1391
  <div class="listingblock">
1364
1392
  <div class="content">
1365
1393
  <pre><tt> Usage:
@@ -1376,7 +1404,9 @@ Build Tests
1376
1404
  'start' command without any arguments starts the server. One can start
1377
1405
  multiple applications together by passing multiple names.</tt></pre>
1378
1406
  </div></div>
1379
- <h3 id="_webroar_stop">10.5. webroar stop</h3><div style="clear:left"></div>
1407
+ </div>
1408
+ <div class="sect2">
1409
+ <h3 id="_webroar_stop">10.5. webroar stop</h3>
1380
1410
  <div class="listingblock">
1381
1411
  <div class="content">
1382
1412
  <pre><tt> Usage:
@@ -1393,7 +1423,9 @@ Build Tests
1393
1423
  'stop' command without any arguments stops the server. One can stop
1394
1424
  multiple applications together by passing multiple names.</tt></pre>
1395
1425
  </div></div>
1396
- <h3 id="_webroar_restart">10.6. webroar restart</h3><div style="clear:left"></div>
1426
+ </div>
1427
+ <div class="sect2">
1428
+ <h3 id="_webroar_restart">10.6. webroar restart</h3>
1397
1429
  <div class="listingblock">
1398
1430
  <div class="content">
1399
1431
  <pre><tt> Usage:
@@ -1410,7 +1442,9 @@ Build Tests
1410
1442
  'restart' command without any arguments restarts the server. One can
1411
1443
  restart multiple applications together by passing multiple names.</tt></pre>
1412
1444
  </div></div>
1413
- <h3 id="_webroar_add">10.7. webroar add</h3><div style="clear:left"></div>
1445
+ </div>
1446
+ <div class="sect2">
1447
+ <h3 id="_webroar_add">10.7. webroar add</h3>
1414
1448
  <div class="listingblock">
1415
1449
  <div class="content">
1416
1450
  <pre><tt> Usage:
@@ -1487,7 +1521,9 @@ Build Tests
1487
1521
  or 'config.ru' file in the current directory. If any one of the files found,
1488
1522
  it passes name of the current directory as an application name.</tt></pre>
1489
1523
  </div></div>
1490
- <h3 id="_webroar_remove">10.8. webroar remove</h3><div style="clear:left"></div>
1524
+ </div>
1525
+ <div class="sect2">
1526
+ <h3 id="_webroar_remove">10.8. webroar remove</h3>
1491
1527
  <div class="listingblock">
1492
1528
  <div class="content">
1493
1529
  <pre><tt> Usage:
@@ -1505,7 +1541,9 @@ Build Tests
1505
1541
  or 'config.ru' file in the current directory. If any one of the files found,
1506
1542
  it passes name of the current directory as an application name.</tt></pre>
1507
1543
  </div></div>
1508
- <h3 id="_webroar_test">10.9. webroar test</h3><div style="clear:left"></div>
1544
+ </div>
1545
+ <div class="sect2">
1546
+ <h3 id="_webroar_test">10.9. webroar test</h3>
1509
1547
  <div class="listingblock">
1510
1548
  <div class="content">
1511
1549
  <pre><tt> Usage:
@@ -1526,10 +1564,12 @@ Build Tests
1526
1564
  </div></div>
1527
1565
  </div>
1528
1566
  </div>
1567
+ </div>
1568
+ </div>
1529
1569
  <div id="footnotes"><hr /></div>
1530
1570
  <div id="footer">
1531
1571
  <div id="footer-text">
1532
- Last updated 2011-09-16 12:44:06 IST
1572
+ Last updated 2011-10-04 17:33:37 IST
1533
1573
  </div>
1534
1574
  </div>
1535
1575
  </body>