summaryrefslogtreecommitdiff
path: root/vendor/plugins/exception_notification/views
diff options
context:
space:
mode:
authorerdgeist <erdgeist@erdgeist.org>2026-06-24 04:13:16 +0200
committererdgeist <erdgeist@erdgeist.org>2026-06-24 04:13:16 +0200
commite0a7e0fec760ba12c8067a37e10c96f1f05876e2 (patch)
treed0cf745592a46aee4d4913911fd34c7c24515220 /vendor/plugins/exception_notification/views
parent6424e10be5a89f175a74c71c55660412a169b8b8 (diff)
Stage 1 complete: Rails 2.3.5 to Rails 3.2.22.5 upgrade
- Converted plugins to gems (Gemfile) - Updated config structure (application.rb, boot.rb, environment.rb) - Converted routes to Rails 3 DSL - Converted named_scope to scope throughout models - Converted find(:all, :conditions) to where() chains - Fixed has_many :order to use ordering scope - Updated session store and secret token configuration - Fixed exception_notification middleware configuration - Patched Ruby 2.4 / Rails 3.2 incompatibilities: - Integer/Float duration arithmetic (ActiveSupport) - Arel visit_Integer for PostgreSQL adapter - create_database String/Integer coercion - ActionController consider_all_requests_local - Migrated taggings schema for acts-as-taggable-on - Replaced dynamic_form gem with custom form_error_messages helper - Fixed Rails 3 block helper syntax (form_for, form_tag, fields_for) - Fixed admin layout yield - Updated test suite for Rails 3 APIs
Diffstat (limited to 'vendor/plugins/exception_notification/views')
-rw-r--r--vendor/plugins/exception_notification/views/exception_notifier/_backtrace.rhtml1
-rw-r--r--vendor/plugins/exception_notification/views/exception_notifier/_environment.rhtml7
-rw-r--r--vendor/plugins/exception_notification/views/exception_notifier/_inspect_model.rhtml16
-rw-r--r--vendor/plugins/exception_notification/views/exception_notifier/_request.rhtml4
-rw-r--r--vendor/plugins/exception_notification/views/exception_notifier/_session.rhtml2
-rw-r--r--vendor/plugins/exception_notification/views/exception_notifier/_title.rhtml3
-rw-r--r--vendor/plugins/exception_notification/views/exception_notifier/exception_notification.rhtml6
7 files changed, 0 insertions, 39 deletions
diff --git a/vendor/plugins/exception_notification/views/exception_notifier/_backtrace.rhtml b/vendor/plugins/exception_notification/views/exception_notifier/_backtrace.rhtml
deleted file mode 100644
index 7d13ba0..0000000
--- a/vendor/plugins/exception_notification/views/exception_notifier/_backtrace.rhtml
+++ /dev/null
@@ -1 +0,0 @@
1<%= @backtrace.join "\n" %>
diff --git a/vendor/plugins/exception_notification/views/exception_notifier/_environment.rhtml b/vendor/plugins/exception_notification/views/exception_notifier/_environment.rhtml
deleted file mode 100644
index 42dd803..0000000
--- a/vendor/plugins/exception_notification/views/exception_notifier/_environment.rhtml
+++ /dev/null
@@ -1,7 +0,0 @@
1<% max = @request.env.keys.max { |a,b| a.length <=> b.length } -%>
2<% @request.env.keys.sort.each do |key| -%>
3* <%= "%-*s: %s" % [max.length, key, filter_sensitive_post_data_from_env(key, @request.env[key].to_s.strip)] %>
4<% end -%>
5
6* Process: <%= $$ %>
7* Server : <%= `hostname -s`.chomp %>
diff --git a/vendor/plugins/exception_notification/views/exception_notifier/_inspect_model.rhtml b/vendor/plugins/exception_notification/views/exception_notifier/_inspect_model.rhtml
deleted file mode 100644
index e817847..0000000
--- a/vendor/plugins/exception_notification/views/exception_notifier/_inspect_model.rhtml
+++ /dev/null
@@ -1,16 +0,0 @@
1<% if show_attributes -%>
2[attributes]
3<% attrs = inspect_model.attributes -%>
4<% max = attrs.keys.max { |a,b| a.length <=> b.length } -%>
5<% attrs.keys.sort.each do |attr| -%>
6* <%= "%*-s: %s" % [max.length, attr, object_to_yaml(attrs[attr]).gsub(/\n/, "\n ").strip] %>
7<% end -%>
8<% end -%>
9
10<% if show_instance_variables -%>
11[instance variables]
12<% inspect_model.instance_variables.sort.each do |variable| -%>
13<%- next if variable == "@attributes" -%>
14* <%= variable %>: <%= inspect_value(inspect_model.instance_variable_get(variable)) %>
15<% end -%>
16<% end -%>
diff --git a/vendor/plugins/exception_notification/views/exception_notifier/_request.rhtml b/vendor/plugins/exception_notification/views/exception_notifier/_request.rhtml
deleted file mode 100644
index 2542309..0000000
--- a/vendor/plugins/exception_notification/views/exception_notifier/_request.rhtml
+++ /dev/null
@@ -1,4 +0,0 @@
1* URL : <%= @request.protocol %><%= @host %><%= @request.request_uri %>
2* IP address: <%= @request.env["HTTP_X_FORWARDED_FOR"] || @request.env["REMOTE_ADDR"] %>
3* Parameters: <%= filter_sensitive_post_data_parameters(@request.parameters).inspect %>
4* Rails root: <%= @rails_root %>
diff --git a/vendor/plugins/exception_notification/views/exception_notifier/_session.rhtml b/vendor/plugins/exception_notification/views/exception_notifier/_session.rhtml
deleted file mode 100644
index 283c862..0000000
--- a/vendor/plugins/exception_notification/views/exception_notifier/_session.rhtml
+++ /dev/null
@@ -1,2 +0,0 @@
1* session id: <%= @request.session.instance_variable_get(:@session_id).inspect %>
2* data: <%= PP.pp(@request.session.instance_variable_get(:@data),"").gsub(/\n/, "\n ").strip %>
diff --git a/vendor/plugins/exception_notification/views/exception_notifier/_title.rhtml b/vendor/plugins/exception_notification/views/exception_notifier/_title.rhtml
deleted file mode 100644
index 1ed5a3f..0000000
--- a/vendor/plugins/exception_notification/views/exception_notifier/_title.rhtml
+++ /dev/null
@@ -1,3 +0,0 @@
1-------------------------------
2<%= title.to_s.humanize %>:
3-------------------------------
diff --git a/vendor/plugins/exception_notification/views/exception_notifier/exception_notification.rhtml b/vendor/plugins/exception_notification/views/exception_notifier/exception_notification.rhtml
deleted file mode 100644
index ec30c4a..0000000
--- a/vendor/plugins/exception_notification/views/exception_notifier/exception_notification.rhtml
+++ /dev/null
@@ -1,6 +0,0 @@
1A <%= @exception.class %> occurred in <%= @controller.controller_name %>#<%= @controller.action_name %>:
2
3 <%= @exception.message %>
4 <%= @backtrace.first %>
5
6<%= @sections.map { |section| render_section(section) }.join %>