rocketjob_mission_control 6.0.0 → 6.0.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/{vendor → app}/assets/fonts/glyphicons-halflings-regular.eot +0 -0
- data/{vendor → app}/assets/fonts/glyphicons-halflings-regular.svg +0 -0
- data/{vendor → app}/assets/fonts/glyphicons-halflings-regular.ttf +0 -0
- data/{vendor → app}/assets/fonts/glyphicons-halflings-regular.woff +0 -0
- data/{vendor → app}/assets/fonts/glyphicons-halflings-regular.woff2 +0 -0
- data/app/assets/javascripts/rocket_job_mission_control/application.js +9 -10
- data/app/assets/javascripts/rocket_job_mission_control/base.js +1 -1
- data/{vendor/assets/javascripts → app/assets/javascripts/rocket_job_mission_control}/bootstrap.min.js +0 -0
- data/app/assets/javascripts/rocket_job_mission_control/{datatable.js → datatable_init.js} +0 -0
- data/{vendor/assets/javascripts → app/assets/javascripts/rocket_job_mission_control}/datatables.min.js +0 -0
- data/app/assets/javascripts/rocket_job_mission_control/dirmon_entries.js +1 -1
- data/{vendor/assets/javascripts → app/assets/javascripts/rocket_job_mission_control}/jquery-3.5.1.min.js +0 -0
- data/app/assets/javascripts/rocket_job_mission_control/nested_fields.js +2 -2
- data/app/assets/javascripts/rocket_job_mission_control/selectize.min.js +3 -0
- data/app/assets/javascripts/rocket_job_mission_control/selectize_init.js +6 -0
- data/app/assets/stylesheets/rocket_job_mission_control/application.css +5 -5
- data/{vendor/assets/stylesheets → app/assets/stylesheets/rocket_job_mission_control}/bootstrap.min.css.erb +0 -0
- data/{vendor/assets/stylesheets → app/assets/stylesheets/rocket_job_mission_control}/bootstrap.min.css.map +0 -0
- data/{vendor/assets/stylesheets → app/assets/stylesheets/rocket_job_mission_control}/datatables.min.css +0 -0
- data/{vendor/assets/stylesheets → app/assets/stylesheets/rocket_job_mission_control}/fontawesome-all.min.css.erb +0 -0
- data/app/assets/stylesheets/rocket_job_mission_control/selectize.bootstrap3.css +1 -0
- data/app/assets/stylesheets/rocket_job_mission_control/selectize.css +19 -0
- data/app/controllers/rocket_job_mission_control/jobs_controller.rb +8 -1
- data/app/helpers/rocket_job_mission_control/application_helper.rb +2 -2
- data/app/models/rocket_job_mission_control/job_sanitizer.rb +1 -0
- data/app/views/layouts/rocket_job_mission_control/application.html.erb +2 -2
- data/app/views/rocket_job_mission_control/active_workers/index.html.erb +1 -1
- data/app/views/rocket_job_mission_control/dirmon_entries/_details.html.erb +33 -0
- data/app/views/rocket_job_mission_control/dirmon_entries/_exception.html.erb +22 -0
- data/app/views/rocket_job_mission_control/dirmon_entries/_properties.html.erb +28 -0
- data/app/views/rocket_job_mission_control/dirmon_entries/index.html.erb +1 -1
- data/app/views/rocket_job_mission_control/dirmon_entries/show.html.erb +29 -36
- data/app/views/rocket_job_mission_control/jobs/_exceptions.html.erb +1 -1
- data/app/views/rocket_job_mission_control/jobs/index.html.erb +1 -1
- data/app/views/rocket_job_mission_control/servers/index.html.erb +1 -1
- data/lib/rocket_job_mission_control/engine.rb +2 -0
- data/lib/rocket_job_mission_control/version.rb +1 -1
- data/test/models/rocket_job_mission_control/job_sanitizer_test.rb +1 -1
- metadata +36 -22
- data/app/assets/javascripts/rocket_job_mission_control/selectize.js +0 -8
- data/app/views/rocket_job_mission_control/dirmon_entries/_status.html.erb +0 -26
- data/vendor/assets/javascripts/microplugin.js +0 -135
- data/vendor/assets/javascripts/selectize.js +0 -3058
- data/vendor/assets/javascripts/sifter.js +0 -470
- data/vendor/assets/stylesheets/selectize.bootstrap3.css +0 -408
- data/vendor/assets/stylesheets/selectize.css +0 -317
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rocketjob_mission_control
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 6.0.
|
4
|
+
version: 6.0.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Michael Cloutier
|
@@ -11,7 +11,7 @@ authors:
|
|
11
11
|
autorequire:
|
12
12
|
bindir: bin
|
13
13
|
cert_chain: []
|
14
|
-
date: 2021-
|
14
|
+
date: 2021-11-04 00:00:00.000000000 Z
|
15
15
|
dependencies:
|
16
16
|
- !ruby/object:Gem::Dependency
|
17
17
|
name: access-granted
|
@@ -69,6 +69,20 @@ dependencies:
|
|
69
69
|
- - "~>"
|
70
70
|
- !ruby/object:Gem::Version
|
71
71
|
version: '1.3'
|
72
|
+
- !ruby/object:Gem::Dependency
|
73
|
+
name: turbolinks
|
74
|
+
requirement: !ruby/object:Gem::Requirement
|
75
|
+
requirements:
|
76
|
+
- - "~>"
|
77
|
+
- !ruby/object:Gem::Version
|
78
|
+
version: '5'
|
79
|
+
type: :runtime
|
80
|
+
prerelease: false
|
81
|
+
version_requirements: !ruby/object:Gem::Requirement
|
82
|
+
requirements:
|
83
|
+
- - "~>"
|
84
|
+
- !ruby/object:Gem::Version
|
85
|
+
version: '5'
|
72
86
|
description: Rocket Job Mission Control is the Web user interface to manage Rocket
|
73
87
|
Job.
|
74
88
|
email:
|
@@ -80,6 +94,11 @@ files:
|
|
80
94
|
- README.md
|
81
95
|
- Rakefile
|
82
96
|
- app/assets/config/manifest.js
|
97
|
+
- app/assets/fonts/glyphicons-halflings-regular.eot
|
98
|
+
- app/assets/fonts/glyphicons-halflings-regular.svg
|
99
|
+
- app/assets/fonts/glyphicons-halflings-regular.ttf
|
100
|
+
- app/assets/fonts/glyphicons-halflings-regular.woff
|
101
|
+
- app/assets/fonts/glyphicons-halflings-regular.woff2
|
83
102
|
- app/assets/fonts/webfonts/fa-brands-400.eot
|
84
103
|
- app/assets/fonts/webfonts/fa-brands-400.woff
|
85
104
|
- app/assets/fonts/webfonts/fa-brands-400.woff2
|
@@ -102,14 +121,24 @@ files:
|
|
102
121
|
- app/assets/images/rocket_job_mission_control/safari-pinned-tab.svg
|
103
122
|
- app/assets/javascripts/rocket_job_mission_control/application.js
|
104
123
|
- app/assets/javascripts/rocket_job_mission_control/base.js
|
105
|
-
- app/assets/javascripts/rocket_job_mission_control/
|
124
|
+
- app/assets/javascripts/rocket_job_mission_control/bootstrap.min.js
|
125
|
+
- app/assets/javascripts/rocket_job_mission_control/datatable_init.js
|
126
|
+
- app/assets/javascripts/rocket_job_mission_control/datatables.min.js
|
106
127
|
- app/assets/javascripts/rocket_job_mission_control/dirmon_entries.js
|
128
|
+
- app/assets/javascripts/rocket_job_mission_control/jquery-3.5.1.min.js
|
107
129
|
- app/assets/javascripts/rocket_job_mission_control/nested_fields.js
|
108
|
-
- app/assets/javascripts/rocket_job_mission_control/selectize.js
|
130
|
+
- app/assets/javascripts/rocket_job_mission_control/selectize.min.js
|
131
|
+
- app/assets/javascripts/rocket_job_mission_control/selectize_init.js
|
109
132
|
- app/assets/stylesheets/rocket_job_mission_control/application.css
|
110
133
|
- app/assets/stylesheets/rocket_job_mission_control/base.css
|
134
|
+
- app/assets/stylesheets/rocket_job_mission_control/bootstrap.min.css.erb
|
135
|
+
- app/assets/stylesheets/rocket_job_mission_control/bootstrap.min.css.map
|
111
136
|
- app/assets/stylesheets/rocket_job_mission_control/callout.css
|
137
|
+
- app/assets/stylesheets/rocket_job_mission_control/datatables.min.css
|
138
|
+
- app/assets/stylesheets/rocket_job_mission_control/fontawesome-all.min.css.erb
|
112
139
|
- app/assets/stylesheets/rocket_job_mission_control/jobs.css
|
140
|
+
- app/assets/stylesheets/rocket_job_mission_control/selectize.bootstrap3.css
|
141
|
+
- app/assets/stylesheets/rocket_job_mission_control/selectize.css
|
113
142
|
- app/assets/stylesheets/rocket_job_mission_control/worker_processes.css
|
114
143
|
- app/controllers/rocket_job_mission_control/active_workers_controller.rb
|
115
144
|
- app/controllers/rocket_job_mission_control/application_controller.rb
|
@@ -137,13 +166,15 @@ files:
|
|
137
166
|
- app/views/layouts/rocket_job_mission_control/partials/_header.html.erb
|
138
167
|
- app/views/layouts/rocket_job_mission_control/partials/_sidebar.html.erb
|
139
168
|
- app/views/rocket_job_mission_control/active_workers/index.html.erb
|
169
|
+
- app/views/rocket_job_mission_control/dirmon_entries/_details.html.erb
|
170
|
+
- app/views/rocket_job_mission_control/dirmon_entries/_exception.html.erb
|
140
171
|
- app/views/rocket_job_mission_control/dirmon_entries/_form.html.erb
|
141
172
|
- app/views/rocket_job_mission_control/dirmon_entries/_input_categories.html.erb
|
142
173
|
- app/views/rocket_job_mission_control/dirmon_entries/_input_category_fields.html.erb
|
143
174
|
- app/views/rocket_job_mission_control/dirmon_entries/_output_categories.html.erb
|
144
175
|
- app/views/rocket_job_mission_control/dirmon_entries/_output_category_fields.html.erb
|
176
|
+
- app/views/rocket_job_mission_control/dirmon_entries/_properties.html.erb
|
145
177
|
- app/views/rocket_job_mission_control/dirmon_entries/_sidebar.html.erb
|
146
|
-
- app/views/rocket_job_mission_control/dirmon_entries/_status.html.erb
|
147
178
|
- app/views/rocket_job_mission_control/dirmon_entries/copy.html.erb
|
148
179
|
- app/views/rocket_job_mission_control/dirmon_entries/edit.html.erb
|
149
180
|
- app/views/rocket_job_mission_control/dirmon_entries/index.html.erb
|
@@ -192,23 +223,6 @@ files:
|
|
192
223
|
- test/models/rocket_job_mission_control/job_sanitizer_test.rb
|
193
224
|
- test/models/rocket_job_mission_control/query_test.rb
|
194
225
|
- test/test_helper.rb
|
195
|
-
- vendor/assets/fonts/glyphicons-halflings-regular.eot
|
196
|
-
- vendor/assets/fonts/glyphicons-halflings-regular.svg
|
197
|
-
- vendor/assets/fonts/glyphicons-halflings-regular.ttf
|
198
|
-
- vendor/assets/fonts/glyphicons-halflings-regular.woff
|
199
|
-
- vendor/assets/fonts/glyphicons-halflings-regular.woff2
|
200
|
-
- vendor/assets/javascripts/bootstrap.min.js
|
201
|
-
- vendor/assets/javascripts/datatables.min.js
|
202
|
-
- vendor/assets/javascripts/jquery-3.5.1.min.js
|
203
|
-
- vendor/assets/javascripts/microplugin.js
|
204
|
-
- vendor/assets/javascripts/selectize.js
|
205
|
-
- vendor/assets/javascripts/sifter.js
|
206
|
-
- vendor/assets/stylesheets/bootstrap.min.css.erb
|
207
|
-
- vendor/assets/stylesheets/bootstrap.min.css.map
|
208
|
-
- vendor/assets/stylesheets/datatables.min.css
|
209
|
-
- vendor/assets/stylesheets/fontawesome-all.min.css.erb
|
210
|
-
- vendor/assets/stylesheets/selectize.bootstrap3.css
|
211
|
-
- vendor/assets/stylesheets/selectize.css
|
212
226
|
homepage: https://rocketjob.io
|
213
227
|
licenses:
|
214
228
|
- Apache-2.0
|
@@ -1,26 +0,0 @@
|
|
1
|
-
<div class='row'>
|
2
|
-
<div class='col-md-12'>
|
3
|
-
<div><label>Job Class:</label><%= @dirmon_entry.job_class_name %></div>
|
4
|
-
<div><label>Pattern:</label><%= @dirmon_entry.pattern %></div>
|
5
|
-
<div><label>Archive Directory:</label><%= @dirmon_entry.archive_directory %></div>
|
6
|
-
<div class='id'><label>ID:</label><%= @dirmon_entry.id %></div>
|
7
|
-
</div>
|
8
|
-
</div>
|
9
|
-
|
10
|
-
<div class='lead'>Properties</div>
|
11
|
-
<div class='row'>
|
12
|
-
<div class='col-md-12'>
|
13
|
-
<% @dirmon_entry.properties.keys.sort.each do |name| %>
|
14
|
-
<% value = @dirmon_entry.properties[name] %>
|
15
|
-
<div class='parameters'>
|
16
|
-
<label><%= name.to_s.titleize %>:</label>
|
17
|
-
|
18
|
-
<% if value.is_a?(Array) || value.is_a?(Hash) %>
|
19
|
-
<pre><code><%= pretty_print_array_or_hash(value) %></code></pre>
|
20
|
-
<% else %>
|
21
|
-
<%= value %>
|
22
|
-
<% end %>
|
23
|
-
</div>
|
24
|
-
<% end %>
|
25
|
-
</div>
|
26
|
-
</div>
|
@@ -1,135 +0,0 @@
|
|
1
|
-
/**
|
2
|
-
* microplugin.js
|
3
|
-
* Copyright (c) 2013 Brian Reavis & contributors
|
4
|
-
*
|
5
|
-
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this
|
6
|
-
* file except in compliance with the License. You may obtain a copy of the License at:
|
7
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
8
|
-
*
|
9
|
-
* Unless required by applicable law or agreed to in writing, software distributed under
|
10
|
-
* the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF
|
11
|
-
* ANY KIND, either express or implied. See the License for the specific language
|
12
|
-
* governing permissions and limitations under the License.
|
13
|
-
*
|
14
|
-
* @author Brian Reavis <brian@thirdroute.com>
|
15
|
-
*/
|
16
|
-
|
17
|
-
(function(root, factory) {
|
18
|
-
if (typeof define === 'function' && define.amd) {
|
19
|
-
define(factory);
|
20
|
-
} else if (typeof exports === 'object') {
|
21
|
-
module.exports = factory();
|
22
|
-
} else {
|
23
|
-
root.MicroPlugin = factory();
|
24
|
-
}
|
25
|
-
}(this, function() {
|
26
|
-
var MicroPlugin = {};
|
27
|
-
|
28
|
-
MicroPlugin.mixin = function(Interface) {
|
29
|
-
Interface.plugins = {};
|
30
|
-
|
31
|
-
/**
|
32
|
-
* Initializes the listed plugins (with options).
|
33
|
-
* Acceptable formats:
|
34
|
-
*
|
35
|
-
* List (without options):
|
36
|
-
* ['a', 'b', 'c']
|
37
|
-
*
|
38
|
-
* List (with options):
|
39
|
-
* [{'name': 'a', options: {}}, {'name': 'b', options: {}}]
|
40
|
-
*
|
41
|
-
* Hash (with options):
|
42
|
-
* {'a': { ... }, 'b': { ... }, 'c': { ... }}
|
43
|
-
*
|
44
|
-
* @param {mixed} plugins
|
45
|
-
*/
|
46
|
-
Interface.prototype.initializePlugins = function(plugins) {
|
47
|
-
var i, n, key;
|
48
|
-
var self = this;
|
49
|
-
var queue = [];
|
50
|
-
|
51
|
-
self.plugins = {
|
52
|
-
names : [],
|
53
|
-
settings : {},
|
54
|
-
requested : {},
|
55
|
-
loaded : {}
|
56
|
-
};
|
57
|
-
|
58
|
-
if (utils.isArray(plugins)) {
|
59
|
-
for (i = 0, n = plugins.length; i < n; i++) {
|
60
|
-
if (typeof plugins[i] === 'string') {
|
61
|
-
queue.push(plugins[i]);
|
62
|
-
} else {
|
63
|
-
self.plugins.settings[plugins[i].name] = plugins[i].options;
|
64
|
-
queue.push(plugins[i].name);
|
65
|
-
}
|
66
|
-
}
|
67
|
-
} else if (plugins) {
|
68
|
-
for (key in plugins) {
|
69
|
-
if (plugins.hasOwnProperty(key)) {
|
70
|
-
self.plugins.settings[key] = plugins[key];
|
71
|
-
queue.push(key);
|
72
|
-
}
|
73
|
-
}
|
74
|
-
}
|
75
|
-
|
76
|
-
while (queue.length) {
|
77
|
-
self.require(queue.shift());
|
78
|
-
}
|
79
|
-
};
|
80
|
-
|
81
|
-
Interface.prototype.loadPlugin = function(name) {
|
82
|
-
var self = this;
|
83
|
-
var plugins = self.plugins;
|
84
|
-
var plugin = Interface.plugins[name];
|
85
|
-
|
86
|
-
if (!Interface.plugins.hasOwnProperty(name)) {
|
87
|
-
throw new Error('Unable to find "' + name + '" plugin');
|
88
|
-
}
|
89
|
-
|
90
|
-
plugins.requested[name] = true;
|
91
|
-
plugins.loaded[name] = plugin.fn.apply(self, [self.plugins.settings[name] || {}]);
|
92
|
-
plugins.names.push(name);
|
93
|
-
};
|
94
|
-
|
95
|
-
/**
|
96
|
-
* Initializes a plugin.
|
97
|
-
*
|
98
|
-
* @param {string} name
|
99
|
-
*/
|
100
|
-
Interface.prototype.require = function(name) {
|
101
|
-
var self = this;
|
102
|
-
var plugins = self.plugins;
|
103
|
-
|
104
|
-
if (!self.plugins.loaded.hasOwnProperty(name)) {
|
105
|
-
if (plugins.requested[name]) {
|
106
|
-
throw new Error('Plugin has circular dependency ("' + name + '")');
|
107
|
-
}
|
108
|
-
self.loadPlugin(name);
|
109
|
-
}
|
110
|
-
|
111
|
-
return plugins.loaded[name];
|
112
|
-
};
|
113
|
-
|
114
|
-
/**
|
115
|
-
* Registers a plugin.
|
116
|
-
*
|
117
|
-
* @param {string} name
|
118
|
-
* @param {function} fn
|
119
|
-
*/
|
120
|
-
Interface.define = function(name, fn) {
|
121
|
-
Interface.plugins[name] = {
|
122
|
-
'name' : name,
|
123
|
-
'fn' : fn
|
124
|
-
};
|
125
|
-
};
|
126
|
-
};
|
127
|
-
|
128
|
-
var utils = {
|
129
|
-
isArray: Array.isArray || function(vArg) {
|
130
|
-
return Object.prototype.toString.call(vArg) === '[object Array]';
|
131
|
-
}
|
132
|
-
};
|
133
|
-
|
134
|
-
return MicroPlugin;
|
135
|
-
}));
|