bnb_blazer 0.3.0 → 0.8.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/overrides/controllers/blazer/base_controller_override.rb +133 -0
- data/app/views/{blazer → bnb_blazer}/_variables.html.haml +0 -0
- data/app/views/{blazer → bnb_blazer}/checks/_form.html.haml +0 -0
- data/app/views/{blazer → bnb_blazer}/checks/edit.html.haml +0 -0
- data/app/views/{blazer → bnb_blazer}/checks/index.html.haml +0 -0
- data/app/views/{blazer → bnb_blazer}/checks/new.html.haml +0 -0
- data/app/views/{blazer → bnb_blazer}/dashboards/_form.html.haml +0 -0
- data/app/views/{blazer → bnb_blazer}/dashboards/edit.html.haml +0 -0
- data/app/views/{blazer → bnb_blazer}/dashboards/new.html.haml +0 -0
- data/app/views/{blazer → bnb_blazer}/dashboards/show.html.haml +2 -2
- data/app/views/{blazer → bnb_blazer}/queries/_form.html.haml +0 -0
- data/app/views/{blazer → bnb_blazer}/queries/edit.html.haml +0 -0
- data/app/views/{blazer → bnb_blazer}/queries/home.html.haml +0 -0
- data/app/views/{blazer → bnb_blazer}/queries/new.html.haml +0 -0
- data/app/views/{blazer → bnb_blazer}/queries/run.html.haml +0 -0
- data/app/views/{blazer → bnb_blazer}/queries/show.html.haml +2 -2
- data/app/views/layouts/{blazer → bnb_blazer}/_footer.html.haml +0 -0
- data/app/views/layouts/{blazer → bnb_blazer}/_navbar.html.haml +0 -0
- data/app/views/layouts/{blazer → bnb_blazer}/application.html.haml +0 -0
- data/lib/{bnb_blazer/bnb_blazer.rb → bnb_blazer.rb} +5 -1
- data/lib/bnb_blazer/engine.rb +5 -0
- data/lib/bnb_blazer/version.rb +1 -1
- metadata +23 -96
- data/.docker-development-vars +0 -1
- data/.gitignore +0 -31
- data/.rspec +0 -3
- data/.ruby-version +0 -1
- data/.travis.yml +0 -6
- data/Gemfile +0 -54
- data/Gemfile.lock +0 -233
- data/LICENSE.txt +0 -21
- data/README.md +0 -35
- data/app/assets/config/manifest.js +0 -3
- data/app/assets/images/.keep +0 -0
- data/app/assets/images/bnb_intel_logo.png +0 -0
- data/app/assets/stylesheets/application.css +0 -83
- data/app/channels/application_cable/channel.rb +0 -4
- data/app/channels/application_cable/connection.rb +0 -4
- data/app/controllers/application_controller.rb +0 -2
- data/app/controllers/concerns/.keep +0 -0
- data/app/helpers/application_helper.rb +0 -2
- data/app/jobs/application_job.rb +0 -2
- data/app/mailers/application_mailer.rb +0 -4
- data/app/models/application_record.rb +0 -3
- data/app/models/concerns/.keep +0 -0
- data/app/models/user.rb +0 -2
- data/bin/bundle +0 -3
- data/bin/console +0 -14
- data/bin/rails +0 -9
- data/bin/rake +0 -9
- data/bin/setup +0 -36
- data/bin/spring +0 -17
- data/bin/update +0 -31
- data/bin/yarn +0 -11
- data/bnb_blazer.gemspec +0 -28
- data/config.ru +0 -5
- data/config/application.rb +0 -19
- data/config/blazer.yml +0 -79
- data/config/boot.rb +0 -4
- data/config/cable.yml +0 -10
- data/config/credentials.yml.enc +0 -1
- data/config/database.yml +0 -19
- data/config/environment.rb +0 -5
- data/config/environments/development.rb +0 -61
- data/config/environments/production.rb +0 -94
- data/config/environments/test.rb +0 -46
- data/config/initializers/application_controller_renderer.rb +0 -8
- data/config/initializers/assets.rb +0 -14
- data/config/initializers/backtrace_silencers.rb +0 -7
- data/config/initializers/content_security_policy.rb +0 -25
- data/config/initializers/cookies_serializer.rb +0 -5
- data/config/initializers/filter_parameter_logging.rb +0 -4
- data/config/initializers/inflections.rb +0 -16
- data/config/initializers/mime_types.rb +0 -4
- data/config/initializers/wrap_parameters.rb +0 -14
- data/config/locales/en.yml +0 -33
- data/config/puma.rb +0 -37
- data/config/routes.rb +0 -3
- data/config/spring.rb +0 -6
- data/config/storage.yml +0 -34
- data/db/migrate/20210309231658_install_blazer.rb +0 -47
- data/db/migrate/20210309231908_create_users.rb +0 -13
- data/db/schema.rb +0 -85
- data/db/seeds.rb +0 -45
- data/docker-compose.yml +0 -22
- data/lib/assets/.keep +0 -0
- data/lib/tasks/.keep +0 -0
- data/log/.keep +0 -0
- data/package.json +0 -5
- data/public/404.html +0 -67
- data/public/422.html +0 -67
- data/public/500.html +0 -66
- data/public/apple-touch-icon-precomposed.png +0 -0
- data/public/apple-touch-icon.png +0 -0
- data/public/favicon.ico +0 -0
- data/public/robots.txt +0 -1
- data/tmp/.keep +0 -0
- data/vendor/.keep +0 -0
data/docker-compose.yml
DELETED
@@ -1,22 +0,0 @@
|
|
1
|
-
version: "3"
|
2
|
-
services:
|
3
|
-
app:
|
4
|
-
image: brandnewbox/bnb-ruby:2.6-postgresql
|
5
|
-
command: bundle exec puma -C config/puma.rb
|
6
|
-
env_file: .docker-development-vars
|
7
|
-
volumes:
|
8
|
-
- .:/app:cached
|
9
|
-
- bundle_cache:/usr/local/bundle
|
10
|
-
ports:
|
11
|
-
- "3000:3000"
|
12
|
-
postgresql:
|
13
|
-
image: postgres:11-alpine
|
14
|
-
volumes:
|
15
|
-
- my_dbdata:/var/lib/postgresql/data
|
16
|
-
environment:
|
17
|
-
- POSTGRES_HOST_AUTH_METHOD=trust
|
18
|
-
ports:
|
19
|
-
- "5432:5432"
|
20
|
-
volumes:
|
21
|
-
bundle_cache:
|
22
|
-
my_dbdata:
|
data/lib/assets/.keep
DELETED
File without changes
|
data/lib/tasks/.keep
DELETED
File without changes
|
data/log/.keep
DELETED
File without changes
|
data/package.json
DELETED
data/public/404.html
DELETED
@@ -1,67 +0,0 @@
|
|
1
|
-
<!DOCTYPE html>
|
2
|
-
<html>
|
3
|
-
<head>
|
4
|
-
<title>The page you were looking for doesn't exist (404)</title>
|
5
|
-
<meta name="viewport" content="width=device-width,initial-scale=1">
|
6
|
-
<style>
|
7
|
-
.rails-default-error-page {
|
8
|
-
background-color: #EFEFEF;
|
9
|
-
color: #2E2F30;
|
10
|
-
text-align: center;
|
11
|
-
font-family: arial, sans-serif;
|
12
|
-
margin: 0;
|
13
|
-
}
|
14
|
-
|
15
|
-
.rails-default-error-page div.dialog {
|
16
|
-
width: 95%;
|
17
|
-
max-width: 33em;
|
18
|
-
margin: 4em auto 0;
|
19
|
-
}
|
20
|
-
|
21
|
-
.rails-default-error-page div.dialog > div {
|
22
|
-
border: 1px solid #CCC;
|
23
|
-
border-right-color: #999;
|
24
|
-
border-left-color: #999;
|
25
|
-
border-bottom-color: #BBB;
|
26
|
-
border-top: #B00100 solid 4px;
|
27
|
-
border-top-left-radius: 9px;
|
28
|
-
border-top-right-radius: 9px;
|
29
|
-
background-color: white;
|
30
|
-
padding: 7px 12% 0;
|
31
|
-
box-shadow: 0 3px 8px rgba(50, 50, 50, 0.17);
|
32
|
-
}
|
33
|
-
|
34
|
-
.rails-default-error-page h1 {
|
35
|
-
font-size: 100%;
|
36
|
-
color: #730E15;
|
37
|
-
line-height: 1.5em;
|
38
|
-
}
|
39
|
-
|
40
|
-
.rails-default-error-page div.dialog > p {
|
41
|
-
margin: 0 0 1em;
|
42
|
-
padding: 1em;
|
43
|
-
background-color: #F7F7F7;
|
44
|
-
border: 1px solid #CCC;
|
45
|
-
border-right-color: #999;
|
46
|
-
border-left-color: #999;
|
47
|
-
border-bottom-color: #999;
|
48
|
-
border-bottom-left-radius: 4px;
|
49
|
-
border-bottom-right-radius: 4px;
|
50
|
-
border-top-color: #DADADA;
|
51
|
-
color: #666;
|
52
|
-
box-shadow: 0 3px 8px rgba(50, 50, 50, 0.17);
|
53
|
-
}
|
54
|
-
</style>
|
55
|
-
</head>
|
56
|
-
|
57
|
-
<body class="rails-default-error-page">
|
58
|
-
<!-- This file lives in public/404.html -->
|
59
|
-
<div class="dialog">
|
60
|
-
<div>
|
61
|
-
<h1>The page you were looking for doesn't exist.</h1>
|
62
|
-
<p>You may have mistyped the address or the page may have moved.</p>
|
63
|
-
</div>
|
64
|
-
<p>If you are the application owner check the logs for more information.</p>
|
65
|
-
</div>
|
66
|
-
</body>
|
67
|
-
</html>
|
data/public/422.html
DELETED
@@ -1,67 +0,0 @@
|
|
1
|
-
<!DOCTYPE html>
|
2
|
-
<html>
|
3
|
-
<head>
|
4
|
-
<title>The change you wanted was rejected (422)</title>
|
5
|
-
<meta name="viewport" content="width=device-width,initial-scale=1">
|
6
|
-
<style>
|
7
|
-
.rails-default-error-page {
|
8
|
-
background-color: #EFEFEF;
|
9
|
-
color: #2E2F30;
|
10
|
-
text-align: center;
|
11
|
-
font-family: arial, sans-serif;
|
12
|
-
margin: 0;
|
13
|
-
}
|
14
|
-
|
15
|
-
.rails-default-error-page div.dialog {
|
16
|
-
width: 95%;
|
17
|
-
max-width: 33em;
|
18
|
-
margin: 4em auto 0;
|
19
|
-
}
|
20
|
-
|
21
|
-
.rails-default-error-page div.dialog > div {
|
22
|
-
border: 1px solid #CCC;
|
23
|
-
border-right-color: #999;
|
24
|
-
border-left-color: #999;
|
25
|
-
border-bottom-color: #BBB;
|
26
|
-
border-top: #B00100 solid 4px;
|
27
|
-
border-top-left-radius: 9px;
|
28
|
-
border-top-right-radius: 9px;
|
29
|
-
background-color: white;
|
30
|
-
padding: 7px 12% 0;
|
31
|
-
box-shadow: 0 3px 8px rgba(50, 50, 50, 0.17);
|
32
|
-
}
|
33
|
-
|
34
|
-
.rails-default-error-page h1 {
|
35
|
-
font-size: 100%;
|
36
|
-
color: #730E15;
|
37
|
-
line-height: 1.5em;
|
38
|
-
}
|
39
|
-
|
40
|
-
.rails-default-error-page div.dialog > p {
|
41
|
-
margin: 0 0 1em;
|
42
|
-
padding: 1em;
|
43
|
-
background-color: #F7F7F7;
|
44
|
-
border: 1px solid #CCC;
|
45
|
-
border-right-color: #999;
|
46
|
-
border-left-color: #999;
|
47
|
-
border-bottom-color: #999;
|
48
|
-
border-bottom-left-radius: 4px;
|
49
|
-
border-bottom-right-radius: 4px;
|
50
|
-
border-top-color: #DADADA;
|
51
|
-
color: #666;
|
52
|
-
box-shadow: 0 3px 8px rgba(50, 50, 50, 0.17);
|
53
|
-
}
|
54
|
-
</style>
|
55
|
-
</head>
|
56
|
-
|
57
|
-
<body class="rails-default-error-page">
|
58
|
-
<!-- This file lives in public/422.html -->
|
59
|
-
<div class="dialog">
|
60
|
-
<div>
|
61
|
-
<h1>The change you wanted was rejected.</h1>
|
62
|
-
<p>Maybe you tried to change something you didn't have access to.</p>
|
63
|
-
</div>
|
64
|
-
<p>If you are the application owner check the logs for more information.</p>
|
65
|
-
</div>
|
66
|
-
</body>
|
67
|
-
</html>
|
data/public/500.html
DELETED
@@ -1,66 +0,0 @@
|
|
1
|
-
<!DOCTYPE html>
|
2
|
-
<html>
|
3
|
-
<head>
|
4
|
-
<title>We're sorry, but something went wrong (500)</title>
|
5
|
-
<meta name="viewport" content="width=device-width,initial-scale=1">
|
6
|
-
<style>
|
7
|
-
.rails-default-error-page {
|
8
|
-
background-color: #EFEFEF;
|
9
|
-
color: #2E2F30;
|
10
|
-
text-align: center;
|
11
|
-
font-family: arial, sans-serif;
|
12
|
-
margin: 0;
|
13
|
-
}
|
14
|
-
|
15
|
-
.rails-default-error-page div.dialog {
|
16
|
-
width: 95%;
|
17
|
-
max-width: 33em;
|
18
|
-
margin: 4em auto 0;
|
19
|
-
}
|
20
|
-
|
21
|
-
.rails-default-error-page div.dialog > div {
|
22
|
-
border: 1px solid #CCC;
|
23
|
-
border-right-color: #999;
|
24
|
-
border-left-color: #999;
|
25
|
-
border-bottom-color: #BBB;
|
26
|
-
border-top: #B00100 solid 4px;
|
27
|
-
border-top-left-radius: 9px;
|
28
|
-
border-top-right-radius: 9px;
|
29
|
-
background-color: white;
|
30
|
-
padding: 7px 12% 0;
|
31
|
-
box-shadow: 0 3px 8px rgba(50, 50, 50, 0.17);
|
32
|
-
}
|
33
|
-
|
34
|
-
.rails-default-error-page h1 {
|
35
|
-
font-size: 100%;
|
36
|
-
color: #730E15;
|
37
|
-
line-height: 1.5em;
|
38
|
-
}
|
39
|
-
|
40
|
-
.rails-default-error-page div.dialog > p {
|
41
|
-
margin: 0 0 1em;
|
42
|
-
padding: 1em;
|
43
|
-
background-color: #F7F7F7;
|
44
|
-
border: 1px solid #CCC;
|
45
|
-
border-right-color: #999;
|
46
|
-
border-left-color: #999;
|
47
|
-
border-bottom-color: #999;
|
48
|
-
border-bottom-left-radius: 4px;
|
49
|
-
border-bottom-right-radius: 4px;
|
50
|
-
border-top-color: #DADADA;
|
51
|
-
color: #666;
|
52
|
-
box-shadow: 0 3px 8px rgba(50, 50, 50, 0.17);
|
53
|
-
}
|
54
|
-
</style>
|
55
|
-
</head>
|
56
|
-
|
57
|
-
<body class="rails-default-error-page">
|
58
|
-
<!-- This file lives in public/500.html -->
|
59
|
-
<div class="dialog">
|
60
|
-
<div>
|
61
|
-
<h1>We're sorry, but something went wrong.</h1>
|
62
|
-
</div>
|
63
|
-
<p>If you are the application owner check the logs for more information.</p>
|
64
|
-
</div>
|
65
|
-
</body>
|
66
|
-
</html>
|
File without changes
|
data/public/apple-touch-icon.png
DELETED
File without changes
|
data/public/favicon.ico
DELETED
File without changes
|
data/public/robots.txt
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
# See http://www.robotstxt.org/robotstxt.html for documentation on how to use the robots.txt file
|
data/tmp/.keep
DELETED
File without changes
|
data/vendor/.keep
DELETED
File without changes
|