qa_server 1.2.1 → 1.2.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/app/assets/stylesheets/qa_server/_authorities.scss +3 -0
- data/app/views/qa_server/authority_list/index.html.erb +9 -4
- data/app/views/qa_server/check_status/index.html.erb +15 -16
- data/app/views/qa_server/monitor_status/index.html.erb +22 -14
- data/app/views/qa_server/usage/index.html.erb +2 -2
- data/config/locales/qa_server.en.yml +50 -49
- data/lib/qa_server/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: be294f8cdea38a87643874ca200ca11104e62bc3
|
4
|
+
data.tar.gz: 5be2726ca23a410eb637113d6847483e88caf8a0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 67679608443fbce019879137bb99c90ffcf7f1e5f744fff39bd99e07509eaf5b39ff19d8e72d208030813c746c0174254805e5d19821476f71fc42144dd138ee
|
7
|
+
data.tar.gz: c40240e5e672ccead9cd281fc9488755ac039771b424abaa6808f10464ebb25321e7666242c3036b5ad5d62aa9334816ef0cc52667b4f8663acd138b40dc2900
|
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,8 @@
|
|
1
|
+
### 1.2.2 (2018-11-21)
|
2
|
+
|
3
|
+
* update data tables to make authority names more prominent
|
4
|
+
* use consistent titles on each page to make it easier to tell where you are in the app
|
5
|
+
|
1
6
|
### 1.2.1 (2018-11-20)
|
2
7
|
|
3
8
|
* update Usage page to describe fetch and show options for retrieving a single term
|
@@ -1,21 +1,26 @@
|
|
1
1
|
<div class="page-description">
|
2
2
|
|
3
3
|
<h2><%= t('qa_server.authority_list.title') %></h2>
|
4
|
+
|
4
5
|
<p><%= t('qa_server.authority_list.see_check_status_html', href: "#{main_app.root_path}check_status") %></p>
|
5
6
|
|
6
7
|
<div id="status-section" class="status-section">
|
7
|
-
<p><b><%= t('qa_server.warning.chrome_unencoding_msg') %></b></p>
|
8
8
|
<table class="status">
|
9
9
|
<tr>
|
10
|
-
<th><%= t('qa_server.authority_list.data.authority') %></th>
|
11
10
|
<th><%= t('qa_server.authority_list.data.subauthority') %></th>
|
12
11
|
<th><%= t('qa_server.authority_list.data.service') %></th>
|
13
12
|
<th><%= t('qa_server.authority_list.data.action') %></th>
|
14
13
|
<th><%= t('qa_server.authority_list.data.url') %></th>
|
15
14
|
</tr>
|
16
|
-
<%
|
15
|
+
<% current_authority = nil %>
|
16
|
+
<% @presenter.urls_data.each do |entry| %>
|
17
|
+
<% unless entry[:authority_name] == current_authority %>
|
18
|
+
<% current_authority = entry[:authority_name] %>
|
19
|
+
<tr>
|
20
|
+
<td class="table_subheading" colspan="4"><%= current_authority %></td>
|
21
|
+
</tr>
|
22
|
+
<% end %>
|
17
23
|
<tr>
|
18
|
-
<td><%= entry[:authority_name] %></td>
|
19
24
|
<td><%= entry[:subauthority_name] %></td>
|
20
25
|
<td><%= entry[:service] %></td>
|
21
26
|
<td><%= entry[:action] %></td>
|
@@ -35,35 +35,34 @@
|
|
35
35
|
|
36
36
|
<div id="status-loading-message" class="wait-message"><%= t('qa_server.check_status.wait_message') %></div>
|
37
37
|
|
38
|
-
<% if @presenter.connection_status_data? || @presenter.accuracy_status_data? %>
|
39
|
-
<div id="example-url-warning">
|
40
|
-
<p><b><%= t('qa_server.warning.chrome_unencoding_msg') %></b></p>
|
41
|
-
</div>
|
42
|
-
<% end %>
|
43
|
-
|
44
38
|
<% if @presenter.connection_status_data? %>
|
45
39
|
<div id="connection-status-section" class="status-section">
|
46
40
|
<h3><%= t('qa_server.check_status.connection_checks') %></h3>
|
47
41
|
<table class="status">
|
48
42
|
<tr>
|
49
43
|
<th><%= t('qa_server.check_status.status_table.status') %></th>
|
50
|
-
<th><%= t('qa_server.check_status.status_table.authority') %></th>
|
51
44
|
<th><%= t('qa_server.check_status.status_table.subauthority') %></th>
|
52
45
|
<th><%= t('qa_server.check_status.status_table.service') %></th>
|
53
46
|
<th><%= t('qa_server.check_status.status_table.action') %></th>
|
54
47
|
<th><%= t('qa_server.check_status.status_table.url') %></th>
|
55
48
|
<th><%= t('qa_server.check_status.status_table.errmsg') %></th>
|
56
49
|
</tr>
|
50
|
+
<% current_authority = nil %>
|
57
51
|
<% @presenter.connection_status_data.each do |status| %>
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
<
|
65
|
-
|
66
|
-
|
52
|
+
<% unless status[:authority_name] == current_authority %>
|
53
|
+
<% current_authority = status[:authority_name] %>
|
54
|
+
<tr>
|
55
|
+
<td class="table_subheading" colspan="6"><%= current_authority %></td>
|
56
|
+
</tr>
|
57
|
+
<% end %>
|
58
|
+
<tr>
|
59
|
+
<td class="<%= @presenter.status_style_class(status) %>"><%= @presenter.status_label(status) %></td>
|
60
|
+
<td><%= status[:subauthority_name] %></td>
|
61
|
+
<td><%= status[:service] %></td>
|
62
|
+
<td><%= status[:action] %></td>
|
63
|
+
<td><a href="<%= status[:url] %>"><%= status[:url] %></a></td>
|
64
|
+
<td><%= status[:err_message] %></td>
|
65
|
+
</tr>
|
67
66
|
<% end %>
|
68
67
|
</table>
|
69
68
|
</div>
|
@@ -1,8 +1,12 @@
|
|
1
1
|
<%= javascript_include_tag "https://www.gstatic.com/charts/loader.js" %>
|
2
2
|
|
3
3
|
<div class="page-description">
|
4
|
-
<h2><%= t('qa_server.monitor_status.summary.title') %></h2>
|
5
4
|
|
5
|
+
<h2><%= t('qa_server.monitor_status.title') %></h2>
|
6
|
+
|
7
|
+
<h3><%= t('qa_server.monitor_status.summary.title') %></h3>
|
8
|
+
|
9
|
+
<h4><%= t('qa_server.monitor_status.summary.summary_table') %></h4>
|
6
10
|
<table class="monitor-status-status">
|
7
11
|
<tr>
|
8
12
|
<th><%= t('qa_server.monitor_status.summary.authorities') %></th>
|
@@ -23,29 +27,33 @@
|
|
23
27
|
|
24
28
|
<% if @presenter.failures? %>
|
25
29
|
<div id="status-section" class="status-section">
|
26
|
-
<
|
30
|
+
<h4><%= t('qa_server.monitor_status.failures.title') %></h4>
|
27
31
|
|
28
|
-
<p><b><%= t('qa_server.warning.chrome_unencoding_msg') %></b></p>
|
29
32
|
<table class="status">
|
30
33
|
<tr>
|
31
34
|
<th><%= t('qa_server.monitor_status.failures.status') %></th>
|
32
|
-
<th><%= t('qa_server.monitor_status.failures.authority') %></th>
|
33
35
|
<th><%= t('qa_server.monitor_status.failures.subauthority') %></th>
|
34
36
|
<th><%= t('qa_server.monitor_status.failures.service') %></th>
|
35
37
|
<th><%= t('qa_server.monitor_status.failures.action') %></th>
|
36
38
|
<th><%= t('qa_server.monitor_status.failures.url') %></th>
|
37
39
|
<th><%= t('qa_server.monitor_status.failures.errmsg') %></th>
|
38
40
|
</tr>
|
41
|
+
<% current_authority = nil %>
|
39
42
|
<% @status_data.each do |status| %>
|
40
|
-
|
41
|
-
|
42
|
-
<
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
43
|
+
<% unless status[:authority_name] == current_authority %>
|
44
|
+
<% current_authority = status[:authority_name] %>
|
45
|
+
<tr>
|
46
|
+
<td class="table_subheading" colspan="6"><%= current_authority %></td>
|
47
|
+
</tr>
|
48
|
+
<% end %>
|
49
|
+
<tr>
|
50
|
+
<td class="<%= @presenter.status_style_class(status) %>"><%= @presenter.status_label(status) %></td>
|
51
|
+
<td><%= status[:subauthority_name] %></td>
|
52
|
+
<td><%= status[:service] %></td>
|
53
|
+
<td><%= status[:action] %></td>
|
54
|
+
<td><a href="<%= status[:url] %>"><%= status[:url] %></a></td>
|
55
|
+
<td><%= status[:err_message] %></td>
|
56
|
+
</tr>
|
49
57
|
<% end %>
|
50
58
|
</table>
|
51
59
|
</div>
|
@@ -53,7 +61,7 @@
|
|
53
61
|
|
54
62
|
<% if @presenter.history? && @presenter.display_history_details?%>
|
55
63
|
<div id="status-section" class="status-section">
|
56
|
-
<
|
64
|
+
<h3><%= t('qa_server.monitor_status.history.title') %></h3>
|
57
65
|
<p class="status-update-dtstamp"><%= t('qa_server.monitor_status.history.since', date: @presenter.first_updated) %></p>
|
58
66
|
<%#= column_chart @presenter.historical_summary, stacked: true, colors: ["green", "red"], xtitle: 'Authority', ytitle: 'Pass-Fail', legend: 'bottom' %>
|
59
67
|
<% if @presenter.display_historical_graph? %>
|
@@ -1,6 +1,7 @@
|
|
1
1
|
<div class="page-description">
|
2
2
|
|
3
|
-
<h2
|
3
|
+
<h2><%= t('qa_server.usage.title') %></h2>
|
4
|
+
|
4
5
|
<h3>To search for matching terms:</h3>
|
5
6
|
|
6
7
|
<p>The query parameter <b>q</b> is required. All other parameters are optional. Some authorities support different
|
@@ -60,7 +61,6 @@
|
|
60
61
|
|
61
62
|
<h4>Retrieve Term by URI</h4>
|
62
63
|
<pre><%= QaServer::Engine.qa_engine_mount %>/fetch/linked_data/locnames_ld4l_cache?uri=http%3A%2F%2Fid%2Eloc%2Egov%2Fauthorities%2Fnames%2Fn92016188</pre>
|
63
|
-
<p><b><%= t('qa_server.warning.chrome_unencoding_msg') %></b></p>
|
64
64
|
|
65
65
|
where,
|
66
66
|
<ul>
|
@@ -2,66 +2,67 @@
|
|
2
2
|
en:
|
3
3
|
qa_server:
|
4
4
|
menu:
|
5
|
-
home:
|
6
|
-
usage:
|
7
|
-
authorities:
|
8
|
-
check_status:
|
9
|
-
monitor_status:
|
10
|
-
warning:
|
11
|
-
chrome_unencoding_msg: "NOTE: Sample URLs with an encoded URI for term fetch do not work in Chrome for Mac or Windows and do not work in IE for Window. This is because Chrome and IE unencode the periods. Firefox on Windows and Mac and Safari on Mac are known to work."
|
5
|
+
home: Home
|
6
|
+
usage: Usage
|
7
|
+
authorities: Authorities
|
8
|
+
check_status: Check Status
|
9
|
+
monitor_status: Monitor Status
|
12
10
|
authority_list:
|
13
|
-
title:
|
11
|
+
title: Authority List
|
14
12
|
see_check_status_html: 'See <a href="%{href}">Check Status</a> to test whether an authority is online.'
|
15
13
|
data:
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
url: Sample URL
|
14
|
+
subauthority: Authority/Subauthority
|
15
|
+
service: Service
|
16
|
+
action: Action
|
17
|
+
url: Sample URL
|
21
18
|
check_status:
|
22
|
-
title:
|
23
|
-
select_authority:
|
24
|
-
show_all:
|
25
|
-
connections:
|
26
|
-
accuracy:
|
27
|
-
all_checks:
|
28
|
-
wait_message:
|
19
|
+
title: Check Status
|
20
|
+
select_authority: Select authority...
|
21
|
+
show_all: ALL Authorities (SLOW)
|
22
|
+
connections: Check Connection Status only
|
23
|
+
accuracy: Check Accuracy only
|
24
|
+
all_checks: Run all checks
|
25
|
+
wait_message: "Please wait while the status is verified. This will be slow if you selected ALL Authorities."
|
29
26
|
connection_checks: Connection Checks
|
30
|
-
accuracy_checks:
|
27
|
+
accuracy_checks: Accuracy Checks for Search Results
|
31
28
|
status_table:
|
32
|
-
action:
|
29
|
+
action: Action
|
33
30
|
actual_position: Actual Position
|
34
|
-
authority:
|
35
|
-
errmsg:
|
31
|
+
authority: Authority
|
32
|
+
errmsg: Errors
|
36
33
|
expected_by_position: Expected by Position
|
37
|
-
service:
|
38
|
-
status:
|
39
|
-
subauthority:
|
40
|
-
subject_uri:
|
41
|
-
url:
|
34
|
+
service: Service
|
35
|
+
status: Status
|
36
|
+
subauthority: Subauthority
|
37
|
+
subject_uri: Expected Subject
|
38
|
+
url: Sample URL
|
42
39
|
monitor_status:
|
40
|
+
title: Monitor Status
|
43
41
|
summary:
|
44
|
-
title:
|
45
|
-
|
42
|
+
title: Latest Monitored Status
|
43
|
+
summary_table: Summary
|
44
|
+
authorities: Authorities
|
46
45
|
authorities_with_failures: Authorities with Failures
|
47
|
-
passing_tests:
|
48
|
-
failing_tests:
|
49
|
-
total_tests:
|
50
|
-
last_updated:
|
46
|
+
passing_tests: Passing Tests
|
47
|
+
failing_tests: Failing Tests
|
48
|
+
total_tests: TOTAL Tests
|
49
|
+
last_updated: 'Status last updated %{date} ET'
|
51
50
|
failures:
|
52
|
-
title:
|
53
|
-
status:
|
54
|
-
authority:
|
55
|
-
subauthority:
|
56
|
-
service:
|
57
|
-
action:
|
58
|
-
url:
|
59
|
-
errmsg:
|
51
|
+
title: Failures During Latest Status Update
|
52
|
+
status: Status
|
53
|
+
authority: Authority
|
54
|
+
subauthority: Subauthority
|
55
|
+
service: Service
|
56
|
+
action: Action
|
57
|
+
url: Sample URL
|
58
|
+
errmsg: Errors
|
60
59
|
history:
|
61
|
-
title:
|
62
|
-
since:
|
63
|
-
authority:
|
64
|
-
days_failing:
|
65
|
-
days_passing:
|
66
|
-
days_tested:
|
60
|
+
title: Authority Connection History
|
61
|
+
since: 'Since %{date} ET'
|
62
|
+
authority: Authority
|
63
|
+
days_failing: Days Failing
|
64
|
+
days_passing: Days Passing
|
65
|
+
days_tested: Days Tested
|
67
66
|
percent_failing: Percent Failing
|
67
|
+
usage:
|
68
|
+
title: Usage
|
data/lib/qa_server/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: qa_server
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.2.
|
4
|
+
version: 1.2.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- E. Lynette Rayle
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-11-
|
11
|
+
date: 2018-11-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|