webroar 0.6.1 → 0.7.0
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG +7 -0
- data/README +1 -1
- data/doc/user-guide.html +125 -85
- data/doc/user-guide.txt +2 -2
- data/lib/constant.rb +23 -16
- data/lib/db_connect.rb +2 -3
- data/lib/installer.rb +17 -10
- data/lib/user_interaction.rb +21 -10
- data/lib/webroar_command.rb +21 -23
- data/src/admin_panel/Gemfile +8 -0
- data/src/admin_panel/Rakefile +2 -5
- data/src/admin_panel/app/controllers/application_controller.rb +1 -1
- data/src/admin_panel/app/controllers/exceptions_controller.rb +25 -26
- data/src/admin_panel/app/controllers/graph_controller.rb +2 -1
- data/src/admin_panel/app/helpers/admin_helper.rb +1 -1
- data/src/admin_panel/app/{models → mailers}/mailer.rb +5 -8
- data/src/admin_panel/app/models/app.rb +1 -1
- data/src/admin_panel/app/models/app_exception.rb +15 -11
- data/src/admin_panel/app/models/app_time_sample.rb +40 -10
- data/src/admin_panel/app/models/application_specification.rb +71 -41
- data/src/admin_panel/app/models/resource_usage.rb +76 -55
- data/src/admin_panel/app/models/url_breakup_time_sample.rb +6 -11
- data/src/admin_panel/app/models/url_time_sample.rb +57 -13
- data/src/admin_panel/app/views/admin/_application_table.html.erb +5 -5
- data/src/admin_panel/app/views/admin/_feedback_partial.html.erb +4 -4
- data/src/admin_panel/app/views/admin/_report_bug_partial.html.erb +5 -5
- data/src/admin_panel/app/views/admin/change_password_form.html.erb +3 -3
- data/src/admin_panel/app/views/admin/configuration.html.erb +6 -6
- data/src/admin_panel/app/views/admin/home.html.erb +4 -4
- data/src/admin_panel/app/views/admin/index.html.erb +5 -5
- data/src/admin_panel/app/views/application_specification/_application_specification_form.html.erb +15 -6
- data/src/admin_panel/app/views/exceptions/_add_and_list_exception_classes.html.erb +7 -6
- data/src/admin_panel/app/views/exceptions/_exception_backtrace_partial.html.erb +1 -1
- data/src/admin_panel/app/views/exceptions/_exception_environment_partial.html.erb +30 -30
- data/src/admin_panel/app/views/exceptions/_exception_list_partial.html.erb +11 -11
- data/src/admin_panel/app/views/exceptions/_show.html.erb +8 -8
- data/src/admin_panel/app/views/exceptions/index.html.erb +0 -1
- data/src/admin_panel/app/views/graph/_get_database_data.html.erb +1 -1
- data/src/admin_panel/app/views/graph/_get_resource_usage_data_app.html.erb +2 -2
- data/src/admin_panel/app/views/graph/_get_resource_usage_data_server.html.erb +2 -2
- data/src/admin_panel/app/views/graph/_get_throughput_data.html.erb +2 -2
- data/src/admin_panel/app/views/graph/_get_url_data.html.erb +4 -4
- data/src/admin_panel/app/views/graph/_pie.html.erb +2 -2
- data/src/admin_panel/app/views/graph/_query_date.html.erb +1 -1
- data/src/admin_panel/app/views/graph/_query_period.html.erb +1 -1
- data/src/admin_panel/app/views/graph/_slider_partial.html.erb +5 -4
- data/src/admin_panel/app/views/graph/index.html.erb +0 -1
- data/src/admin_panel/app/views/headers/_add_expires_text_box.html.erb +5 -5
- data/src/admin_panel/app/views/headers/_expires_by_type_form.html.erb +1 -1
- data/src/admin_panel/app/views/headers/_headers_table.html.erb +12 -12
- data/src/admin_panel/app/views/layouts/application.html.erb +71 -51
- data/src/admin_panel/app/views/mail_specification/_current_spec.html.erb +4 -4
- data/src/admin_panel/app/views/mail_specification/_sendmail_form.html.erb +3 -3
- data/src/admin_panel/app/views/mail_specification/_smtp_form.html.erb +3 -3
- data/src/admin_panel/app/views/server_specification/_add_div.html.erb +4 -4
- data/src/admin_panel/app/views/server_specification/_ssl_support_form.html.erb +3 -2
- data/src/admin_panel/config.ru +4 -0
- data/src/admin_panel/config/application.rb +46 -0
- data/src/admin_panel/config/boot.rb +4 -112
- data/src/admin_panel/config/environment.rb +4 -85
- data/src/admin_panel/config/environments/development.rb +20 -13
- data/src/admin_panel/config/environments/production.rb +44 -17
- data/src/admin_panel/config/environments/test.rb +31 -18
- data/src/admin_panel/config/initializers/application_constants.rb +13 -11
- data/src/admin_panel/config/initializers/secret_token.rb +7 -0
- data/src/admin_panel/config/initializers/session_store.rb +8 -0
- data/src/admin_panel/config/initializers/ssl.rb +6 -2
- data/src/admin_panel/config/routes.rb +15 -57
- data/src/admin_panel/doc/README_FOR_APP +1 -1
- data/src/admin_panel/doc/app/ActionView.html +229 -0
- data/src/admin_panel/doc/app/ActionView/Helpers.html +229 -0
- data/src/admin_panel/doc/app/ActionView/Helpers/AssetTagHelper.html +277 -0
- data/src/admin_panel/doc/app/AdminController.html +814 -0
- data/src/admin_panel/doc/app/AdminHelper.html +495 -0
- data/src/admin_panel/doc/app/Analytics.html +272 -0
- data/src/admin_panel/doc/app/Analytics/Database.html +401 -0
- data/src/admin_panel/doc/app/Analytics/ResourceUsage.html +683 -0
- data/src/admin_panel/doc/app/Analytics/Throughput.html +488 -0
- data/src/admin_panel/doc/app/Analytics/Url.html +484 -0
- data/src/admin_panel/doc/app/Analytics/UrlBreakup.html +537 -0
- data/src/admin_panel/doc/app/App.html +489 -0
- data/src/admin_panel/doc/app/AppException.html +710 -0
- data/src/admin_panel/doc/app/AppTimeSample.html +620 -0
- data/src/admin_panel/doc/app/ApplicationController.html +239 -0
- data/src/admin_panel/doc/app/ApplicationHelper.html +296 -0
- data/src/admin_panel/doc/app/ApplicationSpecification.html +876 -0
- data/src/admin_panel/doc/app/ApplicationSpecificationController.html +552 -0
- data/src/admin_panel/doc/app/ApplicationSpecificationHelper.html +219 -0
- data/src/admin_panel/doc/app/Control.html +431 -0
- data/src/admin_panel/doc/app/ExceptionDetail.html +227 -0
- data/src/admin_panel/doc/app/ExceptionsController.html +754 -0
- data/src/admin_panel/doc/app/ExceptionsHelper.html +219 -0
- data/src/admin_panel/doc/app/GraphController.html +1101 -0
- data/src/admin_panel/doc/app/GraphHelper.html +285 -0
- data/src/admin_panel/doc/app/Headers.html +549 -0
- data/src/admin_panel/doc/app/HeadersController.html +507 -0
- data/src/admin_panel/doc/app/HeadersHelper.html +219 -0
- data/src/admin_panel/doc/app/MailSpecification.html +685 -0
- data/src/admin_panel/doc/app/MailSpecificationController.html +541 -0
- data/src/admin_panel/doc/app/MailSpecificationHelper.html +219 -0
- data/src/admin_panel/doc/app/Mailer.html +589 -0
- data/src/admin_panel/doc/app/Object.html +240 -0
- data/src/admin_panel/doc/app/PseudoModel.html +354 -0
- data/src/admin_panel/doc/app/ResourceUsage.html +656 -0
- data/src/admin_panel/doc/app/SCGI.html +674 -0
- data/src/admin_panel/doc/app/ServerSpecification.html +479 -0
- data/src/admin_panel/doc/app/ServerSpecificationController.html +500 -0
- data/src/admin_panel/doc/app/ServerSpecificationHelper.html +219 -0
- data/src/admin_panel/doc/app/SignalHelper.html +287 -0
- data/src/admin_panel/doc/app/UrlBreakupTimeSample.html +287 -0
- data/src/admin_panel/doc/app/UrlTimeSample.html +986 -0
- data/src/admin_panel/doc/app/User.html +290 -0
- data/src/admin_panel/doc/app/YAMLConfig.html +247 -0
- data/src/admin_panel/doc/app/YAMLWriter.html +284 -0
- data/src/admin_panel/doc/app/app/controllers/admin_controller_rb.html +52 -0
- data/src/admin_panel/doc/app/app/controllers/application_controller_rb.html +54 -0
- data/src/admin_panel/doc/app/app/controllers/application_specification_controller_rb.html +52 -0
- data/src/admin_panel/doc/app/app/controllers/exceptions_controller_rb.html +52 -0
- data/src/admin_panel/doc/app/app/controllers/graph_controller_rb.html +52 -0
- data/src/admin_panel/doc/app/app/controllers/headers_controller_rb.html +52 -0
- data/src/admin_panel/doc/app/app/controllers/mail_specification_controller_rb.html +52 -0
- data/src/admin_panel/doc/app/app/controllers/server_specification_controller_rb.html +52 -0
- data/src/admin_panel/doc/app/app/helpers/admin_helper_rb.html +52 -0
- data/src/admin_panel/doc/app/app/helpers/application_helper_rb.html +52 -0
- data/src/admin_panel/doc/app/app/helpers/application_specification_helper_rb.html +52 -0
- data/src/admin_panel/doc/app/app/helpers/exceptions_helper_rb.html +52 -0
- data/src/admin_panel/doc/app/app/helpers/graph_helper_rb.html +52 -0
- data/src/admin_panel/doc/app/app/helpers/headers_helper_rb.html +52 -0
- data/src/admin_panel/doc/app/app/helpers/mail_specification_helper_rb.html +52 -0
- data/src/admin_panel/doc/app/app/helpers/server_specification_helper_rb.html +52 -0
- data/src/admin_panel/doc/app/app/mailers/mailer_rb.html +56 -0
- data/src/admin_panel/doc/app/app/models/app_exception_rb.html +52 -0
- data/src/admin_panel/doc/app/app/models/app_rb.html +54 -0
- data/src/admin_panel/doc/app/app/models/app_time_sample_rb.html +52 -0
- data/src/admin_panel/doc/app/app/models/application_specification_rb.html +52 -0
- data/src/admin_panel/doc/app/app/models/exception_detail_rb.html +52 -0
- data/src/admin_panel/doc/app/app/models/headers_rb.html +52 -0
- data/src/admin_panel/doc/app/app/models/mail_specification_rb.html +52 -0
- data/src/admin_panel/doc/app/app/models/pseudo_model_rb.html +52 -0
- data/src/admin_panel/doc/app/app/models/resource_usage_rb.html +52 -0
- data/src/admin_panel/doc/app/app/models/server_specification_rb.html +52 -0
- data/src/admin_panel/doc/app/app/models/url_breakup_time_sample_rb.html +52 -0
- data/src/admin_panel/doc/app/app/models/url_time_sample_rb.html +52 -0
- data/src/admin_panel/doc/app/app/models/user_rb.html +52 -0
- data/src/admin_panel/doc/app/created.rid +42 -1
- data/src/admin_panel/doc/app/doc/README_FOR_APP.html +172 -0
- data/src/admin_panel/doc/app/images/brick.png +0 -0
- data/src/admin_panel/doc/app/images/brick_link.png +0 -0
- data/src/admin_panel/doc/app/images/bug.png +0 -0
- data/src/admin_panel/doc/app/images/bullet_black.png +0 -0
- data/src/admin_panel/doc/app/images/bullet_toggle_minus.png +0 -0
- data/src/admin_panel/doc/app/images/bullet_toggle_plus.png +0 -0
- data/src/admin_panel/doc/app/images/date.png +0 -0
- data/src/admin_panel/doc/app/images/find.png +0 -0
- data/src/admin_panel/doc/app/images/loadingAnimation.gif +0 -0
- data/src/admin_panel/doc/app/images/macFFBgHack.png +0 -0
- data/src/admin_panel/doc/app/images/package.png +0 -0
- data/src/admin_panel/doc/app/images/page_green.png +0 -0
- data/src/admin_panel/doc/app/images/page_white_text.png +0 -0
- data/src/admin_panel/doc/app/images/page_white_width.png +0 -0
- data/src/admin_panel/doc/app/images/plugin.png +0 -0
- data/src/admin_panel/doc/app/images/ruby.png +0 -0
- data/src/admin_panel/doc/app/images/tag_green.png +0 -0
- data/src/admin_panel/doc/app/images/wrench.png +0 -0
- data/src/admin_panel/doc/app/images/wrench_orange.png +0 -0
- data/src/admin_panel/doc/app/images/zoom.png +0 -0
- data/src/admin_panel/doc/app/index.html +564 -20
- data/src/admin_panel/doc/app/js/darkfish.js +116 -0
- data/src/admin_panel/doc/app/js/jquery.js +32 -0
- data/src/admin_panel/doc/app/js/quicksearch.js +114 -0
- data/src/admin_panel/doc/app/js/thickbox-compressed.js +10 -0
- data/src/admin_panel/doc/app/lib/asset_tag_helper_ext_rb.html +52 -0
- data/src/admin_panel/doc/app/lib/control_rb.html +58 -0
- data/src/admin_panel/doc/app/lib/graph_controller_extensions/database_analytics_rb.html +52 -0
- data/src/admin_panel/doc/app/lib/graph_controller_extensions/resource_usage_analytics_rb.html +52 -0
- data/src/admin_panel/doc/app/lib/graph_controller_extensions/throughput_analytics_rb.html +52 -0
- data/src/admin_panel/doc/app/lib/graph_controller_extensions/url_analytics_rb.html +52 -0
- data/src/admin_panel/doc/app/lib/graph_controller_extensions/url_breakup_analytics_rb.html +52 -0
- data/src/admin_panel/doc/app/lib/helper_rb.html +52 -0
- data/src/admin_panel/doc/app/lib/scgi_rb.html +54 -0
- data/src/admin_panel/doc/app/lib/yaml_writer_rb.html +52 -0
- data/src/admin_panel/doc/app/rdoc.css +763 -0
- data/src/admin_panel/lib/helper.rb +6 -2
- data/src/admin_panel/public/stylesheets/other/login.css +8 -4
- data/src/admin_panel/public/stylesheets/other/style.css +21 -17
- data/src/admin_panel/script/rails +6 -0
- data/src/admin_panel/test/test_helper.rb +2 -2
- data/src/admin_panel/vendor/plugins/calendar_date_select/History.txt +281 -0
- data/src/admin_panel/vendor/plugins/calendar_date_select/MIT-LICENSE +20 -0
- data/src/admin_panel/vendor/plugins/calendar_date_select/Manifest.txt +42 -0
- data/src/admin_panel/vendor/plugins/calendar_date_select/README.txt +17 -0
- data/src/admin_panel/vendor/plugins/calendar_date_select/Rakefile +37 -0
- data/src/admin_panel/vendor/plugins/calendar_date_select/VERSION +1 -0
- data/src/admin_panel/vendor/plugins/calendar_date_select/calendar_date_select.gemspec +95 -0
- data/src/admin_panel/vendor/plugins/calendar_date_select/init.rb +1 -0
- data/src/admin_panel/vendor/plugins/calendar_date_select/js_test/functional/cds_test.html +376 -0
- data/src/admin_panel/vendor/plugins/calendar_date_select/js_test/functional/format_iso_date_test.html +52 -0
- data/src/admin_panel/vendor/plugins/calendar_date_select/js_test/prototype.js +4184 -0
- data/src/admin_panel/vendor/plugins/calendar_date_select/js_test/test.css +40 -0
- data/src/admin_panel/vendor/plugins/calendar_date_select/js_test/unit/cds_helper_methods.html +46 -0
- data/src/admin_panel/vendor/plugins/calendar_date_select/js_test/unittest.js +564 -0
- data/src/admin_panel/vendor/plugins/calendar_date_select/lib/calendar_date_select.rb +33 -0
- data/src/admin_panel/vendor/plugins/calendar_date_select/lib/calendar_date_select/calendar_date_select.rb +122 -0
- data/src/admin_panel/vendor/plugins/calendar_date_select/lib/calendar_date_select/form_helpers.rb +237 -0
- data/src/admin_panel/vendor/plugins/calendar_date_select/lib/calendar_date_select/includes_helper.rb +29 -0
- data/src/admin_panel/vendor/plugins/calendar_date_select/public/blank_iframe.html +2 -0
- data/src/admin_panel/vendor/plugins/calendar_date_select/public/images/calendar_date_select/calendar.gif +0 -0
- data/src/admin_panel/vendor/plugins/calendar_date_select/public/javascripts/calendar_date_select/calendar_date_select.js +459 -0
- data/src/admin_panel/vendor/plugins/calendar_date_select/public/javascripts/calendar_date_select/format_american.js +35 -0
- data/src/admin_panel/vendor/plugins/calendar_date_select/public/javascripts/calendar_date_select/format_danish.js +31 -0
- data/src/admin_panel/vendor/plugins/calendar_date_select/public/javascripts/calendar_date_select/format_db.js +27 -0
- data/src/admin_panel/vendor/plugins/calendar_date_select/public/javascripts/calendar_date_select/format_euro_24hr.js +7 -0
- data/src/admin_panel/vendor/plugins/calendar_date_select/public/javascripts/calendar_date_select/format_euro_24hr_ymd.js +7 -0
- data/src/admin_panel/vendor/plugins/calendar_date_select/public/javascripts/calendar_date_select/format_finnish.js +32 -0
- data/src/admin_panel/vendor/plugins/calendar_date_select/public/javascripts/calendar_date_select/format_hyphen_ampm.js +37 -0
- data/src/admin_panel/vendor/plugins/calendar_date_select/public/javascripts/calendar_date_select/format_iso_date.js +29 -0
- data/src/admin_panel/vendor/plugins/calendar_date_select/public/javascripts/calendar_date_select/format_italian.js +24 -0
- data/src/admin_panel/vendor/plugins/calendar_date_select/public/javascripts/calendar_date_select/locale/ar.js +10 -0
- data/src/admin_panel/vendor/plugins/calendar_date_select/public/javascripts/calendar_date_select/locale/cs.js +11 -0
- data/src/admin_panel/vendor/plugins/calendar_date_select/public/javascripts/calendar_date_select/locale/da.js +11 -0
- data/src/admin_panel/vendor/plugins/calendar_date_select/public/javascripts/calendar_date_select/locale/de.js +11 -0
- data/src/admin_panel/vendor/plugins/calendar_date_select/public/javascripts/calendar_date_select/locale/es.js +11 -0
- data/src/admin_panel/vendor/plugins/calendar_date_select/public/javascripts/calendar_date_select/locale/fi.js +10 -0
- data/src/admin_panel/vendor/plugins/calendar_date_select/public/javascripts/calendar_date_select/locale/fr.js +11 -0
- data/src/admin_panel/vendor/plugins/calendar_date_select/public/javascripts/calendar_date_select/locale/hu.js +11 -0
- data/src/admin_panel/vendor/plugins/calendar_date_select/public/javascripts/calendar_date_select/locale/it.js +9 -0
- data/src/admin_panel/vendor/plugins/calendar_date_select/public/javascripts/calendar_date_select/locale/ja.js +11 -0
- data/src/admin_panel/vendor/plugins/calendar_date_select/public/javascripts/calendar_date_select/locale/nl.js +11 -0
- data/src/admin_panel/vendor/plugins/calendar_date_select/public/javascripts/calendar_date_select/locale/pl.js +11 -0
- data/src/admin_panel/vendor/plugins/calendar_date_select/public/javascripts/calendar_date_select/locale/pt.js +11 -0
- data/src/admin_panel/vendor/plugins/calendar_date_select/public/javascripts/calendar_date_select/locale/ru.js +10 -0
- data/src/admin_panel/vendor/plugins/calendar_date_select/public/javascripts/calendar_date_select/locale/sl.js +11 -0
- data/src/admin_panel/vendor/plugins/calendar_date_select/public/javascripts/calendar_date_select/locale/sv.js +9 -0
- data/src/admin_panel/vendor/plugins/calendar_date_select/public/stylesheets/calendar_date_select/blue.css +130 -0
- data/src/admin_panel/vendor/plugins/calendar_date_select/public/stylesheets/calendar_date_select/default.css +135 -0
- data/src/admin_panel/vendor/plugins/calendar_date_select/public/stylesheets/calendar_date_select/green.css +142 -0
- data/src/admin_panel/vendor/plugins/calendar_date_select/public/stylesheets/calendar_date_select/plain.css +128 -0
- data/src/admin_panel/vendor/plugins/calendar_date_select/public/stylesheets/calendar_date_select/red.css +135 -0
- data/src/admin_panel/vendor/plugins/calendar_date_select/public/stylesheets/calendar_date_select/silver.css +133 -0
- data/src/admin_panel/vendor/plugins/calendar_date_select/spec/calendar_date_select/calendar_date_select_spec.rb +14 -0
- data/src/admin_panel/vendor/plugins/calendar_date_select/spec/calendar_date_select/form_helpers_spec.rb +189 -0
- data/src/admin_panel/vendor/plugins/calendar_date_select/spec/calendar_date_select/includes_helper_spec.rb +46 -0
- data/src/admin_panel/vendor/plugins/calendar_date_select/spec/spec_helper.rb +26 -0
- data/src/admin_panel/vendor/plugins/open_flash_chart_2_plugin/install.rb +2 -2
- data/src/admin_panel/vendor/plugins/open_flash_chart_2_plugin/uninstall.rb +2 -2
- data/src/admin_panel/vendor/plugins/prototype_legacy_helper/README.markdown +13 -0
- data/src/admin_panel/vendor/plugins/prototype_legacy_helper/init.rb +1 -0
- data/src/admin_panel/vendor/plugins/prototype_legacy_helper/lib/prototype_legacy_helper.rb +432 -0
- data/src/admin_panel/vendor/plugins/prototype_legacy_helper/test/test_prototype_helper.rb +297 -0
- data/src/helper/wr_config.c +1 -1
- data/src/ruby_lib/analyzer/message_analyzer.rb +1 -0
- data/src/ruby_lib/analyzer/webroar_analyzer.rb +2 -2
- data/src/ruby_lib/profiler/message_dispatcher.rb +1 -1
- data/src/ruby_lib/ruby_interface/version.rb +2 -2
- data/src/ruby_lib/webroar_app_loader.rb +1 -1
- data/tasks/gem.rake +5 -7
- data/tasks/test.rake +1 -0
- data/test/spec/analytics_spec.rb +25 -24
- data/test/spec/test_app/README +142 -129
- data/test/spec/test_app/Rakefile +2 -5
- data/test/spec/test_app/app/controllers/application_controller.rb +3 -8
- data/test/spec/test_app/app/controllers/test_controller.rb +3 -3
- data/test/spec/test_app/app/controllers/users_controller.rb +8 -8
- data/test/spec/test_app/app/helpers/application_helper.rb +2 -1
- data/test/spec/test_app/app/helpers/test_helper.rb +2 -0
- data/test/spec/test_app/app/helpers/users_helper.rb +2 -0
- data/test/spec/test_app/app/models/user.rb +2 -0
- data/test/spec/test_app/app/views/layouts/{users.html.erb → application.html.erb} +6 -9
- data/test/spec/test_app/app/views/test/post_data.html.erb +2 -2
- data/test/spec/test_app/app/views/test/upload_file.html.erb +1 -1
- data/test/spec/test_app/{db/migrate/20090602102438_create_users.rb → app/views/users/_form.html.erb} +22 -11
- data/test/spec/test_app/app/views/users/edit.html.erb +19 -28
- data/test/spec/test_app/app/views/users/index.html.erb +23 -19
- data/test/spec/test_app/app/views/users/new.html.erb +19 -28
- data/test/spec/test_app/app/views/users/show.html.erb +21 -18
- data/test/spec/test_app/config/application.rb +45 -0
- data/test/spec/test_app/config/boot.rb +4 -112
- data/test/spec/test_app/config/database.yml +1 -1
- data/test/spec/test_app/config/environment.rb +4 -41
- data/test/spec/test_app/config/environments/development.rb +22 -13
- data/test/spec/test_app/config/environments/production.rb +41 -20
- data/test/spec/test_app/config/environments/test.rb +35 -28
- data/test/spec/test_app/config/initializers/backtrace_silencers.rb +2 -2
- data/test/spec/test_app/config/initializers/inflections.rb +1 -1
- data/test/spec/test_app/config/initializers/secret_token.rb +7 -0
- data/test/spec/test_app/config/initializers/session_store.rb +3 -10
- data/test/spec/test_app/config/locales/en.yml +5 -0
- data/test/spec/test_app/config/routes.rb +37 -22
- data/test/spec/test_app/db/migrate/20110906113329_create_users.rb +13 -0
- data/test/spec/test_app/db/seeds.rb +7 -0
- data/test/spec/test_app/public/404.html +15 -19
- data/test/spec/test_app/public/422.html +15 -19
- data/test/spec/test_app/public/500.html +14 -18
- data/test/spec/test_app/public/index.html +41 -77
- data/test/spec/test_app/public/javascripts/controls.js +5 -3
- data/test/spec/test_app/public/javascripts/dragdrop.js +7 -6
- data/test/spec/test_app/public/javascripts/effects.js +8 -13
- data/test/spec/test_app/public/javascripts/prototype.js +3381 -1700
- data/test/spec/test_app/public/javascripts/rails.js +191 -0
- data/test/spec/test_app/public/stylesheets/scaffold.css +15 -13
- data/test/spec/test_app/script/rails +6 -0
- metadata +340 -163
- data/src/admin_panel/Gemfile.lock +0 -79
- data/src/admin_panel/doc/app/classes/ActionView.html +0 -111
- data/src/admin_panel/doc/app/classes/ActionView/Helpers.html +0 -111
- data/src/admin_panel/doc/app/classes/ActionView/Helpers/AssetTagHelper.html +0 -149
- data/src/admin_panel/doc/app/classes/AdminController.html +0 -628
- data/src/admin_panel/doc/app/classes/AdminHelper.html +0 -482
- data/src/admin_panel/doc/app/classes/Analytics.html +0 -138
- data/src/admin_panel/doc/app/classes/Analytics/Database.html +0 -245
- data/src/admin_panel/doc/app/classes/Analytics/ResourceUsage.html +0 -478
- data/src/admin_panel/doc/app/classes/Analytics/Throughput.html +0 -316
- data/src/admin_panel/doc/app/classes/Analytics/Url.html +0 -314
- data/src/admin_panel/doc/app/classes/Analytics/UrlBreakup.html +0 -372
- data/src/admin_panel/doc/app/classes/App.html +0 -298
- data/src/admin_panel/doc/app/classes/AppException.html +0 -330
- data/src/admin_panel/doc/app/classes/AppTimeSample.html +0 -427
- data/src/admin_panel/doc/app/classes/ApplicationController.html +0 -118
- data/src/admin_panel/doc/app/classes/ApplicationHelper.html +0 -172
- data/src/admin_panel/doc/app/classes/ApplicationSpecification.html +0 -641
- data/src/admin_panel/doc/app/classes/ApplicationSpecificationController.html +0 -354
- data/src/admin_panel/doc/app/classes/Control.html +0 -273
- data/src/admin_panel/doc/app/classes/ExceptionsController.html +0 -612
- data/src/admin_panel/doc/app/classes/ExceptionsHelper.html +0 -105
- data/src/admin_panel/doc/app/classes/GraphController.html +0 -804
- data/src/admin_panel/doc/app/classes/GraphHelper.html +0 -164
- data/src/admin_panel/doc/app/classes/MailSpecification.html +0 -357
- data/src/admin_panel/doc/app/classes/MailSpecificationController.html +0 -304
- data/src/admin_panel/doc/app/classes/PseudoModel.html +0 -206
- data/src/admin_panel/doc/app/classes/ResourceUsage.html +0 -425
- data/src/admin_panel/doc/app/classes/SCGI.html +0 -406
- data/src/admin_panel/doc/app/classes/ServerSpecification.html +0 -325
- data/src/admin_panel/doc/app/classes/ServerSpecificationController.html +0 -273
- data/src/admin_panel/doc/app/classes/UrlBreakupTimeSample.html +0 -169
- data/src/admin_panel/doc/app/classes/UrlTimeSample.html +0 -708
- data/src/admin_panel/doc/app/classes/User.html +0 -165
- data/src/admin_panel/doc/app/classes/YAMLWriter.html +0 -159
- data/src/admin_panel/doc/app/files/app/controllers/admin_controller_rb.html +0 -101
- data/src/admin_panel/doc/app/files/app/controllers/application_controller_rb.html +0 -108
- data/src/admin_panel/doc/app/files/app/controllers/application_specification_controller_rb.html +0 -101
- data/src/admin_panel/doc/app/files/app/controllers/exceptions_controller_rb.html +0 -101
- data/src/admin_panel/doc/app/files/app/controllers/graph_controller_rb.html +0 -101
- data/src/admin_panel/doc/app/files/app/controllers/mail_specification_controller_rb.html +0 -101
- data/src/admin_panel/doc/app/files/app/controllers/server_specification_controller_rb.html +0 -101
- data/src/admin_panel/doc/app/files/app/helpers/admin_helper_rb.html +0 -101
- data/src/admin_panel/doc/app/files/app/helpers/application_helper_rb.html +0 -101
- data/src/admin_panel/doc/app/files/app/helpers/exceptions_helper_rb.html +0 -101
- data/src/admin_panel/doc/app/files/app/helpers/graph_helper_rb.html +0 -101
- data/src/admin_panel/doc/app/files/app/models/app_exception_rb.html +0 -101
- data/src/admin_panel/doc/app/files/app/models/app_rb.html +0 -108
- data/src/admin_panel/doc/app/files/app/models/app_time_sample_rb.html +0 -101
- data/src/admin_panel/doc/app/files/app/models/application_specification_rb.html +0 -101
- data/src/admin_panel/doc/app/files/app/models/mail_specification_rb.html +0 -101
- data/src/admin_panel/doc/app/files/app/models/pseudo_model_rb.html +0 -101
- data/src/admin_panel/doc/app/files/app/models/resource_usage_rb.html +0 -101
- data/src/admin_panel/doc/app/files/app/models/server_specification_rb.html +0 -101
- data/src/admin_panel/doc/app/files/app/models/url_breakup_time_sample_rb.html +0 -101
- data/src/admin_panel/doc/app/files/app/models/url_time_sample_rb.html +0 -101
- data/src/admin_panel/doc/app/files/app/models/user_rb.html +0 -101
- data/src/admin_panel/doc/app/files/doc/README_FOR_APP.html +0 -109
- data/src/admin_panel/doc/app/files/lib/asset_tag_helper_ext_rb.html +0 -101
- data/src/admin_panel/doc/app/files/lib/control_rb.html +0 -110
- data/src/admin_panel/doc/app/files/lib/graph_controller_extensions/database_analytics_rb.html +0 -101
- data/src/admin_panel/doc/app/files/lib/graph_controller_extensions/resource_usage_analytics_rb.html +0 -101
- data/src/admin_panel/doc/app/files/lib/graph_controller_extensions/throughput_analytics_rb.html +0 -101
- data/src/admin_panel/doc/app/files/lib/graph_controller_extensions/url_analytics_rb.html +0 -101
- data/src/admin_panel/doc/app/files/lib/graph_controller_extensions/url_breakup_analytics_rb.html +0 -101
- data/src/admin_panel/doc/app/files/lib/scgi_rb.html +0 -101
- data/src/admin_panel/doc/app/files/lib/yaml_writer_rb.html +0 -101
- data/src/admin_panel/doc/app/fr_class_index.html +0 -60
- data/src/admin_panel/doc/app/fr_file_index.html +0 -58
- data/src/admin_panel/doc/app/fr_method_index.html +0 -206
- data/src/admin_panel/doc/app/rdoc-style.css +0 -208
- data/src/admin_panel/public/dispatch.cgi +0 -10
- data/src/admin_panel/public/dispatch.fcgi +0 -24
- data/src/admin_panel/public/dispatch.rb +0 -10
- data/src/admin_panel/script/about +0 -4
- data/src/admin_panel/script/console +0 -3
- data/src/admin_panel/script/dbconsole +0 -3
- data/src/admin_panel/script/destroy +0 -3
- data/src/admin_panel/script/generate +0 -3
- data/src/admin_panel/script/performance/benchmarker +0 -3
- data/src/admin_panel/script/performance/profiler +0 -3
- data/src/admin_panel/script/performance/request +0 -3
- data/src/admin_panel/script/plugin +0 -3
- data/src/admin_panel/script/process/inspector +0 -3
- data/src/admin_panel/script/process/reaper +0 -3
- data/src/admin_panel/script/process/spawner +0 -3
- data/src/admin_panel/script/runner +0 -3
- data/src/admin_panel/script/server +0 -3
- data/test/spec/test_app/config/initializers/new_rails_defaults.rb +0 -19
- data/test/spec/test_app/script/about +0 -4
- data/test/spec/test_app/script/console +0 -3
- data/test/spec/test_app/script/dbconsole +0 -3
- data/test/spec/test_app/script/destroy +0 -3
- data/test/spec/test_app/script/generate +0 -3
- data/test/spec/test_app/script/performance/benchmarker +0 -3
- data/test/spec/test_app/script/performance/profiler +0 -3
- data/test/spec/test_app/script/plugin +0 -3
- data/test/spec/test_app/script/runner +0 -3
- data/test/spec/test_app/script/server +0 -3
- data/test/spec/test_app/vendor/.placeholder +0 -0
@@ -22,8 +22,8 @@
|
|
22
22
|
<br/>
|
23
23
|
<div id = "page_name"><%=image_tag("title_settings_15_06_2011.gif", :border => '0')%></div>
|
24
24
|
<br/><br/>
|
25
|
-
|
26
|
-
<table width = 50
|
25
|
+
<%= form_for :password, :url => {:action => 'change_password'}, :html => { :onsubmit => 'return validate_password(this)'} do%>
|
26
|
+
<table width = 50% align='center'>
|
27
27
|
<tr>
|
28
28
|
<th colspan = 2 >Change Password</th>
|
29
29
|
</tr>
|
@@ -43,7 +43,7 @@
|
|
43
43
|
<td ><%=password_field :password, :confirm, :size => 20%></td>
|
44
44
|
</tr>
|
45
45
|
<tr>
|
46
|
-
<td colspan = 2 align
|
46
|
+
<td colspan = 2 style="text-align:center;"><%=submit_tag 'Save'%></td>
|
47
47
|
</tr>
|
48
48
|
</table>
|
49
49
|
<%end%>
|
@@ -24,39 +24,39 @@
|
|
24
24
|
<div id = "page_name"><%=image_tag("title_configuration_15_06_2011.gif", :border => '0')%></div>
|
25
25
|
<%port, min_worker, max_worker, log_level, ssl_support, ssl_port, certificate, key, access_log = ServerSpecification.get_fields %>
|
26
26
|
<br/>
|
27
|
-
<table width = 95%
|
27
|
+
<table width = 95% align='center'>
|
28
28
|
<tr>
|
29
29
|
<th colspan = 3>Server Specifications</th>
|
30
30
|
</tr>
|
31
31
|
<tr>
|
32
32
|
<td width = 40% > Port</td>
|
33
|
-
<td width = 40% ><div id = 'port_div'><%=
|
33
|
+
<td width = 40% ><div id = 'port_div'><%= port %></div></td>
|
34
34
|
<td width = 20% ><%=link_to_remote 'Edit', :update => 'port_div', :url => {:controller => 'server_specification', :action => 'add_text_box', :div_id => 'port_div'}%></td>
|
35
35
|
</tr>
|
36
36
|
<tr>
|
37
37
|
<td >Minimum number of workers
|
38
38
|
<%=link_to_function "Help", :onclick => "addHelp('minworker',event)"%>
|
39
39
|
</td>
|
40
|
-
<td ><div id = 'min_pro_div'><%=
|
40
|
+
<td ><div id = 'min_pro_div'><%= min_worker %></div></td>
|
41
41
|
<td ><%=link_to_remote 'Edit', :update => 'min_pro_div', :url => {:controller => 'server_specification', :action => 'add_text_box', :div_id => 'min_pro_div'}%></td>
|
42
42
|
</tr>
|
43
43
|
<tr>
|
44
44
|
<td >Maximum number of workers
|
45
45
|
<%=link_to_function "Help", :onclick => "addHelp('maxworker',event)"%>
|
46
46
|
</td>
|
47
|
-
<td ><div id = 'max_pro_div'><%=
|
47
|
+
<td ><div id = 'max_pro_div'><%= max_worker %></div></td>
|
48
48
|
<td ><%=link_to_remote 'Edit', :update => 'max_pro_div', :url => {:controller => 'server_specification', :action => 'add_text_box', :div_id => 'max_pro_div'}%></td>
|
49
49
|
</tr>
|
50
50
|
<tr>
|
51
51
|
<td >Log Level
|
52
52
|
<%=link_to_function "Help", :onclick => "addHelp('log_level',event)"%>
|
53
53
|
</td>
|
54
|
-
<td ><div id = 'log_div'><%=
|
54
|
+
<td ><div id = 'log_div'><%= log_level %></div></td>
|
55
55
|
<td ><%=link_to_remote 'Edit', :update => 'log_div', :url => {:controller => 'server_specification', :action => 'add_text_box', :div_id => 'log_div'}%></td>
|
56
56
|
</tr>
|
57
57
|
</table>
|
58
58
|
<br/><br/>
|
59
|
-
<%=ssl_block(@info, ssl_port, certificate, key)%>
|
59
|
+
<%=raw(ssl_block(@info, ssl_port, certificate, key))%>
|
60
60
|
<div id = 'mail_div'>
|
61
61
|
<%if flash[:sendmail_errors]%>
|
62
62
|
<%=render :partial => 'mail_specification/sendmail_form'%>
|
@@ -31,7 +31,7 @@ function loadDivs(arr) {
|
|
31
31
|
<div id = "page_name"><%=image_tag("title_home_15_06_2011.gif")%></div>
|
32
32
|
<br/>
|
33
33
|
<span id='update_data'></span>
|
34
|
-
<table width = 95% >
|
34
|
+
<table width = 95% align='center' >
|
35
35
|
<tr>
|
36
36
|
<th colspan = 2>Server Snapshot </th>
|
37
37
|
</tr>
|
@@ -45,7 +45,7 @@ function loadDivs(arr) {
|
|
45
45
|
</tr>
|
46
46
|
</table>
|
47
47
|
<br/><br/>
|
48
|
-
<table width = 95
|
48
|
+
<table width = 95% align='center'>
|
49
49
|
<%if @info and @info['Application Specification']%>
|
50
50
|
<tr>
|
51
51
|
<th colspan = 6>Deployed Applications</th>
|
@@ -58,13 +58,13 @@ function loadDivs(arr) {
|
|
58
58
|
<td class = "sub_header text_align_center" width = "15%">Maximum Workers</td>
|
59
59
|
<td class = "sub_header text_align_center" width = "15%">New Exceptions</td>
|
60
60
|
</tr>
|
61
|
-
<%=application_list_home%>
|
61
|
+
<%=raw(application_list_home)%>
|
62
62
|
<%else%>
|
63
63
|
<tr>
|
64
64
|
<th colspan = 5> </th>
|
65
65
|
</tr>
|
66
66
|
<tr>
|
67
|
-
<td colspan = 5 align
|
67
|
+
<td colspan = 5 style="text-align:center;"><%=NO_DEPLOYED_APPLICATION_MESSAGE%><br/> Please use <%=link_to 'Configuration', :controller => 'admin', :action => 'configuration'%> tab to deploy applications.</td>
|
68
68
|
</tr>
|
69
69
|
<%end%>
|
70
70
|
</table>
|
@@ -22,18 +22,18 @@
|
|
22
22
|
<div id = 'login_header'>Admin Panel</div>
|
23
23
|
<div id = 'login_logo'></div>
|
24
24
|
<div id = 'login_form'>
|
25
|
-
<table>
|
26
|
-
|
25
|
+
<table align='center'>
|
26
|
+
<%= form_for(:user, :url => {:action => 'login'},:html => { :onsubmit => 'return validate_user(this)'}) do%>
|
27
27
|
<tr>
|
28
|
-
<th colspan = 2 id = 'error_div' style="padding:0px;"><%if(flash[:notice])%><%=
|
28
|
+
<th colspan = 2 id = 'error_div' style="padding:0px;"><%if(flash[:notice])%><%=flash[:notice]%><%end%></th>
|
29
29
|
</tr>
|
30
30
|
<tr>
|
31
31
|
<td><b>User Name</b></td>
|
32
|
-
<td><%=text_field :user, :name, :size => 15, :tabindex => "1"%></td>
|
32
|
+
<td><%=text_field :user, :name, :size => 15, :tabindex => "1" ,:class =>"login_text"%></td>
|
33
33
|
</tr>
|
34
34
|
<tr>
|
35
35
|
<td><b>Password</b></td>
|
36
|
-
<td><%=password_field :user, :password, :size => 15, :tabindex => "2"%></td>
|
36
|
+
<td><%=password_field :user, :password, :size => 15, :tabindex => "2",:class =>"login_text"%></td>
|
37
37
|
</tr>
|
38
38
|
<tr>
|
39
39
|
<th colspan = 2 align='center'><b><%=submit_tag 'Login', :tabindex => "3"%></b></th>
|
data/src/admin_panel/app/views/application_specification/_application_specification_form.html.erb
CHANGED
@@ -23,14 +23,23 @@
|
|
23
23
|
<% else %>
|
24
24
|
<% url = {:controller => 'application_specification', :action => 'add_application'} %>
|
25
25
|
<% end %>
|
26
|
-
|
27
|
-
<div class = "text_align_center">
|
28
|
-
<table width = 60% >
|
26
|
+
<%= form_remote_for :application_specification, :url => url, :html => { :onsubmit => 'if(!validate_application(this)){return false;}'} ,:before => "show_busy_div()", :complete => "hide_busy_div(request)", :update => "application_specification_form" do %>
|
27
|
+
<div class = "text_align_center" >
|
28
|
+
<table width = 60% align='center'>
|
29
29
|
<tr>
|
30
30
|
<th colspan = 2><%= type %> Application</th>
|
31
31
|
</tr>
|
32
32
|
<tr>
|
33
|
-
<td colspan = 2 id = 'error_div' style="padding:0px;"
|
33
|
+
<td colspan = 2 id = 'error_div' style="padding:0px;">
|
34
|
+
<% if @application_specification.errors.any? %>
|
35
|
+
<h2><%= pluralize(@application_specification.errors.count, "error") %> prohibited this entry from being saved:</h2>
|
36
|
+
<ul>
|
37
|
+
<% @application_specification.errors.full_messages.each do |msg| %>
|
38
|
+
<li><%= msg %></li>
|
39
|
+
<% end %>
|
40
|
+
</ul>
|
41
|
+
<% end %>
|
42
|
+
</td>
|
34
43
|
</tr>
|
35
44
|
<tr>
|
36
45
|
<td>Application Name<span id = 'needed'>*</span></td>
|
@@ -88,10 +97,10 @@
|
|
88
97
|
</tr>
|
89
98
|
<tr>
|
90
99
|
<%if type == "Edit"%>
|
91
|
-
<td colspan = 2 align
|
100
|
+
<td colspan = 2 style="text-align:center;"><%= hidden_field :application_specification, :app_id %>
|
92
101
|
<%= submit_tag 'Save and Restart', :tabindex => "10" %></td>
|
93
102
|
<%else%>
|
94
|
-
<td colspan = 2 align
|
103
|
+
<td colspan = 2 style="text-align:center;"><%=hidden_field :application_specification, :app_id %>
|
95
104
|
<%= submit_tag 'Deploy', :tabindex => "10" %></td>
|
96
105
|
<%end%>
|
97
106
|
</tr>
|
@@ -16,9 +16,10 @@
|
|
16
16
|
#
|
17
17
|
# You should have received a copy of the GNU General Public License
|
18
18
|
# along with WebROaR. If not, see <http://www.gnu.org/licenses/>.
|
19
|
-
|
20
|
-
|
21
|
-
|
19
|
+
#
|
20
|
+
%>
|
21
|
+
<%= remote_form_for :data, :update => "add_and_list_exception_classes", :after => "exception_class.value=''", :url => {:controller => 'exceptions', :action => 'save_exception_class',:app_name => app_name} do %>
|
22
|
+
<table width="65%" align='center'>
|
22
23
|
<tr>
|
23
24
|
<th width="30%">Exception Class <%=link_to_function "Help", :onclick => "addHelp('exception_class',event)"%></th>
|
24
25
|
<td><%=text_field :exception, :class ,:size =>"20" %>
|
@@ -29,9 +30,9 @@
|
|
29
30
|
<td width="10%"><%=submit_tag 'Add'%></td>
|
30
31
|
</tr>
|
31
32
|
</table>
|
32
|
-
<%end%>
|
33
|
+
<% end %>
|
33
34
|
<% if not @exception_classes.empty? %>
|
34
|
-
<table width="65%">
|
35
|
+
<table width="65%" align='center'>
|
35
36
|
<tr>
|
36
37
|
<th>
|
37
38
|
Exception Classes
|
@@ -43,7 +44,7 @@
|
|
43
44
|
<%= cls %>
|
44
45
|
</td>
|
45
46
|
<td>
|
46
|
-
<%=link_to_remote image_tag('close.gif', :size => '15x15', :border => 0,:title => 'delete'), {:url => {:controller => 'exceptions', :action=>'delete_exception_class', :exception_class => cls ,:app_name => app_name},:update => "add_and_list_exception_classes"}%>
|
47
|
+
<%= link_to_remote image_tag('close.gif', :size => '15x15', :border => 0,:title => 'delete'), {:url => {:controller => 'exceptions', :action=>'delete_exception_class', :exception_class => cls ,:app_name => app_name},:update => "add_and_list_exception_classes"}%>
|
47
48
|
</td>
|
48
49
|
</tr>
|
49
50
|
<% end %>
|
@@ -19,7 +19,7 @@
|
|
19
19
|
#
|
20
20
|
%>
|
21
21
|
<div class='text_align_right'><%=link_to_remote 'Back',:update => 'data_div', :url => {:controller => 'exceptions', :action => 'show',:id => @exception.id, :app_name => app_name, :status_name => status_name, :page => page }%></div>
|
22
|
-
<table width = 90% style = "word-wrap: break-word;" >
|
22
|
+
<table width = 90% style = "word-wrap: break-word;" align='center'>
|
23
23
|
<tr>
|
24
24
|
<th colspan=2>Backtrace (<%= @exception.exception_details[index].wall_time.strftime("%d-%b-%Y - %H:%M:%S")%>)</th>
|
25
25
|
</tr>
|
@@ -19,125 +19,125 @@
|
|
19
19
|
#
|
20
20
|
%>
|
21
21
|
<div class='text_align_right'><%=link_to_remote 'Back',:update => 'data_div', :url => {:controller => 'exceptions', :action => 'show',:id => @exception.id, :app_name => app_name, :status_name => status_name, :page => page }%></div>
|
22
|
-
<table width = 90% style = "word-wrap: break-word;" >
|
22
|
+
<table width = 90% style = "word-wrap: break-word;" align='center'>
|
23
23
|
<tr>
|
24
24
|
<th colspan=2>Environment (<%= @exception.exception_details[index].wall_time.strftime("%d-%b-%Y - %H:%M:%S")%>) </th>
|
25
25
|
</tr>
|
26
26
|
<tr>
|
27
27
|
<td class="sub_header">CHUNKED</td>
|
28
|
-
<td><%=
|
28
|
+
<td><%= @exception.exception_details[index].chunked%></td>
|
29
29
|
</tr>
|
30
30
|
<tr>
|
31
31
|
<td class="sub_header">CONTENT_LENGTH</td>
|
32
|
-
<td><%=
|
32
|
+
<td><%= @exception.exception_details[index].content_length%></td>
|
33
33
|
</tr>
|
34
34
|
<tr>
|
35
35
|
<td class="sub_header">HTTP_ACCEPT</td>
|
36
|
-
<td><%=
|
36
|
+
<td><%= @exception.exception_details[index].http_accept%></td>
|
37
37
|
</tr>
|
38
38
|
<tr>
|
39
39
|
<td class="sub_header">HTTP_ACCEPT_CHARSET</td>
|
40
|
-
<td><%=
|
40
|
+
<td><%= @exception.exception_details[index].http_accept_charset%></td>
|
41
41
|
</tr>
|
42
42
|
<tr>
|
43
43
|
<td class="sub_header">HTTP_ACCEPT_ENCODING</td>
|
44
|
-
<td><%=
|
44
|
+
<td><%= @exception.exception_details[index].http_accept_encoding%></td>
|
45
45
|
</tr>
|
46
46
|
<tr>
|
47
47
|
<td class="sub_header">HTTP_CONNECTION</td>
|
48
|
-
<td><%=
|
48
|
+
<td><%= @exception.exception_details[index].http_connection%></td>
|
49
49
|
</tr>
|
50
50
|
<tr>
|
51
51
|
<td class="sub_header">HTTP_COOKIE</td>
|
52
|
-
<td><div style="width:630px;overflow-x:auto;"><%=
|
52
|
+
<td><div style="width:630px;overflow-x:auto;"><%= @exception.exception_details[index].http_cookie%></div></td>
|
53
53
|
</tr>
|
54
54
|
<tr>
|
55
55
|
<td class="sub_header">HTTP_HOST</td>
|
56
|
-
<td><%=
|
56
|
+
<td><%= @exception.exception_details[index].http_host%></td>
|
57
57
|
</tr>
|
58
58
|
<tr>
|
59
59
|
<td class="sub_header">HTTP_KEEP_ALIVE</td>
|
60
|
-
<td><%=
|
60
|
+
<td><%= @exception.exception_details[index].http_keep_alive%></td>
|
61
61
|
</tr>
|
62
62
|
<tr>
|
63
63
|
<td class="sub_header">HTTP_USER_AGENT</td>
|
64
|
-
<td><%=
|
64
|
+
<td><%= @exception.exception_details[index].http_user_agent%></td>
|
65
65
|
</tr>
|
66
66
|
<tr>
|
67
67
|
<td class="sub_header">HTTP_VERSION</td>
|
68
|
-
<td><%=
|
68
|
+
<td><%= @exception.exception_details[index].http_version%></td>
|
69
69
|
</tr>
|
70
70
|
<tr>
|
71
71
|
<td class="sub_header">PATH_INFO</td>
|
72
|
-
<td><%=
|
72
|
+
<td><%= @exception.exception_details[index].path_info%></td>
|
73
73
|
</tr>
|
74
74
|
<tr>
|
75
75
|
<td class="sub_header">QUERY_STRING</td>
|
76
|
-
<td><%=
|
76
|
+
<td><%= @exception.exception_details[index].query_string%></td>
|
77
77
|
</tr>
|
78
78
|
<tr>
|
79
79
|
<td class="sub_header">REMOTE_ADDR</td>
|
80
|
-
<td><%=
|
80
|
+
<td><%= @exception.exception_details[index].remote_addr%></td>
|
81
81
|
</tr>
|
82
82
|
<tr>
|
83
83
|
<td class="sub_header">REQUEST_METHOD</td>
|
84
|
-
<td><%=
|
84
|
+
<td><%= @exception.exception_details[index].request_method%></td>
|
85
85
|
</tr>
|
86
86
|
<tr>
|
87
87
|
<td class="sub_header">REQUEST_PATH</td>
|
88
|
-
<td><%=
|
88
|
+
<td><%= @exception.exception_details[index].request_path%></td>
|
89
89
|
</tr>
|
90
90
|
<tr>
|
91
91
|
<td class="sub_header">REQUEST_URI</td>
|
92
|
-
<td><%=
|
92
|
+
<td><%= @exception.exception_details[index].request_uri%></td>
|
93
93
|
</tr>
|
94
94
|
<tr>
|
95
95
|
<td class="sub_header">SCRIPT_NAME</td>
|
96
|
-
<td><%=
|
96
|
+
<td><%= @exception.exception_details[index].script_name%></td>
|
97
97
|
</tr>
|
98
98
|
<tr>
|
99
99
|
<td class="sub_header">SERVER_NAME</td>
|
100
|
-
<td><%=
|
100
|
+
<td><%= @exception.exception_details[index].server_name%></td>
|
101
101
|
</tr>
|
102
102
|
<tr>
|
103
103
|
<td class="sub_header">SERVER_PORT</td>
|
104
|
-
<td><%=
|
104
|
+
<td><%= @exception.exception_details[index].server_port%></td>
|
105
105
|
</tr>
|
106
106
|
<tr>
|
107
107
|
<td class="sub_header">SERVER_PROTOCOL</td>
|
108
|
-
<td><%=
|
108
|
+
<td><%= @exception.exception_details[index].server_protocol%></td>
|
109
109
|
</tr>
|
110
110
|
<tr>
|
111
111
|
<td class="sub_header">SERVER_SOFTWARE</td>
|
112
|
-
<td><%=
|
112
|
+
<td><%= @exception.exception_details[index].server_software%></td>
|
113
113
|
</tr>
|
114
114
|
<tr>
|
115
115
|
<td class="sub_header">rack.errors</td>
|
116
|
-
<td><%=
|
116
|
+
<td><%= @exception.exception_details[index].rack_errors%></td>
|
117
117
|
</tr>
|
118
118
|
<tr>
|
119
119
|
<td class="sub_header">rack.input</td>
|
120
|
-
<td><%=
|
120
|
+
<td><%= @exception.exception_details[index].rack_input%></td>
|
121
121
|
</tr>
|
122
122
|
<tr>
|
123
123
|
<td class="sub_header">rack.multiprocess</td>
|
124
|
-
<td><%=
|
124
|
+
<td><%= @exception.exception_details[index].rack_multiprocess%></td>
|
125
125
|
</tr>
|
126
126
|
<tr>
|
127
127
|
<td class="sub_header">rack.multithread</td>
|
128
|
-
<td><%=
|
128
|
+
<td><%= @exception.exception_details[index].rack_multithread%></td>
|
129
129
|
</tr>
|
130
130
|
<tr>
|
131
131
|
<td class="sub_header">rack.run_once</td>
|
132
|
-
<td><%=
|
132
|
+
<td><%= @exception.exception_details[index].rack_run_once%></td>
|
133
133
|
</tr>
|
134
134
|
<tr>
|
135
135
|
<td class="sub_header">rack.url_scheme</td>
|
136
|
-
<td><%=
|
136
|
+
<td><%= @exception.exception_details[index].rack_url_scheme%></td>
|
137
137
|
</tr>
|
138
138
|
<tr>
|
139
139
|
<td class="sub_header">rack.version</td>
|
140
|
-
<td><%=
|
140
|
+
<td><%= @exception.exception_details[index].rack_version%></td>
|
141
141
|
</tr>
|
142
142
|
<tr><th colspan=1 > <th></tr>
|
143
143
|
</table>
|
@@ -31,8 +31,8 @@
|
|
31
31
|
<h3><center> Permanently Ignored Exceptions</center></h3>
|
32
32
|
<% end %>
|
33
33
|
<span class='error'><%= flash[:notice] if flash[:notice] %></span>
|
34
|
-
|
35
|
-
<table width = 90
|
34
|
+
<%= form_tag '', :id => 'form_exception_list',:name => 'form_exception_list' do -%>
|
35
|
+
<table width = 90% align='center'>
|
36
36
|
<tr>
|
37
37
|
<th width = 1%> <%= check_box_tag 'check_all', 'check_all', false, :onclick =>"checkAll(this,document.form_exception_list.exception_ids_)" %> </td>
|
38
38
|
<th width = 39%>Exception</td>
|
@@ -44,11 +44,11 @@
|
|
44
44
|
<%@exceptions.each do |exception|%>
|
45
45
|
<tr id="exception_<%= exception.id %>">
|
46
46
|
<td> <%= check_box_tag 'exception_ids[]', exception.id,false, :onclick => "uncheckMain(this)" %> </td>
|
47
|
-
<td><%= link_to_remote "#{
|
48
|
-
<td><%=
|
49
|
-
<td><%=
|
50
|
-
<td><%=
|
51
|
-
<td><%=
|
47
|
+
<td><%= link_to_remote "#{ truncate(exception.exception_message, :length => 80)}", :update => 'data_div', :url => {:controller => 'exceptions', :action => 'show', :id => exception.id, :app_name => @application_name, :status_name => status_name, :page => @exceptions.current_page} %> </td>
|
48
|
+
<td><%= exception.exception_class%></td>
|
49
|
+
<td><%= exception.controller%>/<%=exception.method%></td>
|
50
|
+
<td><%= exception.exceptions_count%></td>
|
51
|
+
<td><%= exception.latest_detail.wall_time.strftime("%d-%b-%Y %H:%M:%S")%></td>
|
52
52
|
</tr>
|
53
53
|
<%end%>
|
54
54
|
<% end -%>
|
@@ -56,18 +56,18 @@
|
|
56
56
|
<td colspan = 6>
|
57
57
|
<b>Take Action:</b>
|
58
58
|
<% unless current_status == OPEN_EXCEPTION %>
|
59
|
-
<b><%=link_to_remote 'Reopen', :condition => "checkMarked('Reopen')", :url => {:controller => 'exceptions', :action => 'change_status', :status_name => "open", :current_status => status_name, :app_name => @application_name, :page => @exceptions.current_page }, :submit => 'form_exception_list'
|
59
|
+
<b><%=link_to_remote 'Reopen', :condition => "checkMarked('Reopen')", :url => {:controller => 'exceptions', :action => 'change_status', :status_name => "open", :current_status => status_name, :app_name => @application_name, :page => @exceptions.current_page }, :submit => 'form_exception_list' %></b>
|
60
60
|
<% end %>
|
61
61
|
<% unless current_status == CLOSED_EXCEPTION %>
|
62
|
-
<b><%=link_to_remote 'Close', :condition => "checkMarked('Close')", :url => {:controller => 'exceptions', :action => 'change_status', :status_name => "close", :current_status => status_name, :app_name => @application_name, :page => @exceptions.current_page }, :submit => 'form_exception_list'
|
62
|
+
<b><%=link_to_remote 'Close', :condition => "checkMarked('Close')", :url => {:controller => 'exceptions', :action => 'change_status', :status_name => "close", :current_status => status_name, :app_name => @application_name, :page => @exceptions.current_page }, :submit => 'form_exception_list' %></b>
|
63
63
|
<% end %>
|
64
64
|
<% unless current_status == IGNORED_EXCEPTION %>
|
65
|
-
<b><%=link_to_remote 'Ignore', :condition => "checkMarked('Ignore')", :url => {:controller => 'exceptions', :action => 'change_status', :status_name => "ignore", :current_status => status_name, :app_name => @application_name, :page => @exceptions.current_page }, :submit => 'form_exception_list'
|
65
|
+
<b><%=link_to_remote 'Ignore', :condition => "checkMarked('Ignore')", :url => {:controller => 'exceptions', :action => 'change_status', :status_name => "ignore", :current_status => status_name, :app_name => @application_name, :page => @exceptions.current_page }, :submit => 'form_exception_list' %></b>
|
66
66
|
<% end %>
|
67
67
|
<span style='margin-left:21%;'>
|
68
68
|
( <%= @exceptions.offset + 1 %> to <%= @exceptions.size + @exceptions.offset %> of <%= @exceptions.total_entries %> )
|
69
69
|
</span>
|
70
|
-
<%#=link_to_remote 'Delete', :condition => "checkMarked('delete')", :url => {:controller => 'exceptions', :action => 'change_status', :status_name => "delete", :current_status => status_name, :app_name => @application_name, :page => @exceptions.current_page }, :submit => 'form_exception_list'
|
70
|
+
<%#=link_to_remote 'Delete', :condition => "checkMarked('delete')", :url => {:controller => 'exceptions', :action => 'change_status', :status_name => "delete", :current_status => status_name, :app_name => @application_name, :page => @exceptions.current_page }, :submit => 'form_exception_list' %>
|
71
71
|
</td>
|
72
72
|
</tr>
|
73
73
|
<% if will_paginate @exceptions %>
|
@@ -19,34 +19,34 @@
|
|
19
19
|
#%>
|
20
20
|
|
21
21
|
<div class='text_align_right'><%=link_to_remote 'Back', :url => {:controller => 'exceptions', :action => 'list_statuswise_exceptions', :app_name => app_name, :status_name => status_name, :page => page }%></div>
|
22
|
-
<table width = 90% >
|
22
|
+
<table width = 90% align='center'>
|
23
23
|
<tr>
|
24
24
|
<th colspan = 2 >Exception Information</th>
|
25
25
|
</tr>
|
26
26
|
<tr>
|
27
27
|
<td class="sub_header" width = 20%>Exception Message</td>
|
28
|
-
<td><%=
|
28
|
+
<td><%= @exception.exception_message%></td>
|
29
29
|
</tr>
|
30
30
|
<tr>
|
31
31
|
<td class="sub_header">Class </td>
|
32
|
-
<td><%=
|
32
|
+
<td><%= @exception.exception_class%></td>
|
33
33
|
</tr>
|
34
34
|
<tr>
|
35
35
|
<td class="sub_header">URL </td>
|
36
|
-
<td><%=
|
36
|
+
<td><%= @exception.controller%>/<%=h @exception.method%></td>
|
37
37
|
</tr>
|
38
38
|
<tr>
|
39
39
|
<td class="sub_header">Occurrences </td>
|
40
|
-
<td><%=
|
40
|
+
<td><%= @exception.exceptions_count%></td>
|
41
41
|
</tr>
|
42
42
|
<% i = 0 %>
|
43
43
|
<%@exception.occurrences.each do |occurrence|%>
|
44
44
|
<tr>
|
45
45
|
<td class="sub_header"> </td>
|
46
46
|
<td>
|
47
|
-
<%=
|
48
|
-
<%= link_to_remote "<span class='link_button'>Backtrace</span>",:update => 'data_div', :url => { :controller =>"exceptions",:action =>'show_exception_backtrace',:id => @exception.id,:index => i,:app_name => app_name, :status_name => status_name, :page => page}%>
|
49
|
-
<%= link_to_remote "<span class='link_button'>Environment</span>",:update => 'data_div',:url => { :controller =>"exceptions",:action =>'show_exception_environment',:id => @exception.id,:index => i,:app_name => app_name, :status_name => status_name, :page => page}%>
|
47
|
+
<%= occurrence.wall_time.strftime("%d-%b-%Y %H:%M:%S") %>
|
48
|
+
<%= link_to_remote raw("<span class='link_button'>Backtrace</span>"),:update => 'data_div', :url => { :controller =>"exceptions",:action =>'show_exception_backtrace',:id => @exception.id,:index => i,:app_name => app_name, :status_name => status_name, :page => page}%>
|
49
|
+
<%= link_to_remote raw("<span class='link_button'>Environment</span>"),:update => 'data_div',:url => { :controller =>"exceptions",:action =>'show_exception_environment',:id => @exception.id,:index => i,:app_name => app_name, :status_name => status_name, :page => page}%>
|
50
50
|
</td>
|
51
51
|
<% i+=1 %>
|
52
52
|
</tr>
|