Skip to content
This repository was archived by the owner on May 2, 2023. It is now read-only.

Commit 54c55fb

Browse files
committed
Merge branch 'bootstrap' & modify import function
2 parents 2f685e3 + e80eed9 commit 54c55fb

File tree

159 files changed

+3379
-6399
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

159 files changed

+3379
-6399
lines changed

.editorconfig

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
root = true
2+
3+
[*]
4+
indent_style = space
5+
indent_size = 2
6+
end_of_line = lf
7+
charset = utf-8
8+
trim_trailing_whitespace = true
9+
insert_final_newline = true
10+
11+
[package.json]
12+
indent_size = 2
13+
14+
[bower.json]
15+
indent_size = 2
16+
17+
[*.{css,scss,sass,less}]
18+
indent_size = 2
19+
20+
[*.md]
21+
trim_trailing_whitespace = false

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,3 +44,4 @@ config/secret
4444
/report-templates/*
4545

4646
**/.envizon_secret.env
47+
docker/*/envizon_backup

Gemfile

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -31,15 +31,13 @@ gem 'jbuilder', '~> 2.5'
3131
gem 'ruby-nmap', git: 'https://github.com/sophsec/ruby-nmap.git'
3232
gem 'ipaddress', git: 'https://github.com/ipaddress-gem/ipaddress.git'
3333

34-
# Icon-Pack
35-
# Use Material Icons directly without gem. Gem maintailer not update the gem frequently
36-
# gem 'material_icons', git: 'https://github.com/Angelmmiguel/material_icons'
34+
# psych > 4 needed
35+
gem 'psych', '~> 4.0', '>= 4.0.1'
3736

3837
# Login
3938
gem 'devise'
4039

4140
# Form
42-
gem 'materialize-form'
4341
gem 'simple_form'
4442

4543
# fix multipart upload not rendering js
@@ -50,7 +48,10 @@ gem 'remotipart'
5048
gem 'font_awesome5_rails'
5149
gem 'jquery-datatables-rails'
5250
gem 'jquery-ui-rails'
53-
gem 'materialize-sass'
51+
gem 'toastr_rails'
52+
53+
# bootstrap
54+
gem 'bootstrap', git:"https://github.com/twbs/bootstrap-rubygem"
5455

5556
# diff
5657
gem 'diffy'
@@ -68,8 +69,6 @@ gem 'e2mmap'
6869
gem 'thwait'
6970

7071
# db import/export
71-
gem 'activerecord-import'
72-
gem 'yaml_db', git: 'https://github.com/evs-ch/yaml_db.git'
7372
gem 'mysql2'
7473

7574
# zip

Gemfile.lock

Lines changed: 39 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,3 @@
1-
GIT
2-
remote: https://github.com/evs-ch/yaml_db.git
3-
revision: 8a859574f673fcaacca9dcd859cf8a0c5cc92fa4
4-
specs:
5-
yaml_db (0.7.1)
6-
rails (>= 3.0)
7-
rake (>= 0.8.7)
8-
91
GIT
102
remote: https://github.com/evs-ch/yard-restful.git
113
revision: 5f797a3dd1b85355e8031d7c246700f30252691e
@@ -27,6 +19,15 @@ GIT
2719
nokogiri (~> 1.3)
2820
rprogram (~> 0.3)
2921

22+
GIT
23+
remote: https://github.com/twbs/bootstrap-rubygem
24+
revision: c702c4dc732f44116e36837baffdf2efef4330f4
25+
specs:
26+
bootstrap (5.0.1)
27+
autoprefixer-rails (>= 9.1.0)
28+
popper_js (>= 2.9.2, < 3)
29+
sassc-rails (>= 2.0.0)
30+
3031
GEM
3132
remote: https://rubygems.org/
3233
specs:
@@ -62,8 +63,6 @@ GEM
6263
activemodel (= 5.2.6)
6364
activesupport (= 5.2.6)
6465
arel (>= 9.0)
65-
activerecord-import (1.0.8)
66-
activerecord (>= 3.2)
6766
activestorage (5.2.6)
6867
actionpack (= 5.2.6)
6968
activerecord (= 5.2.6)
@@ -77,15 +76,15 @@ GEM
7776
ansi (1.5.0)
7877
arel (9.0.0)
7978
ast (2.4.2)
80-
autoprefixer-rails (10.2.5.0)
81-
execjs (< 2.8.0)
79+
autoprefixer-rails (10.2.5.1)
80+
execjs (> 0)
8281
axlsx (1.3.6)
8382
htmlentities (~> 4.3.1)
8483
nokogiri (>= 1.4.1)
8584
rubyzip (>= 0.9.5)
8685
bcrypt (3.1.16)
8786
bindex (0.8.1)
88-
brakeman (5.0.1)
87+
brakeman (5.0.4)
8988
builder (3.2.4)
9089
byebug (11.1.3)
9190
capybara (2.18.0)
@@ -107,7 +106,7 @@ GEM
107106
coffee-script-source
108107
execjs
109108
coffee-script-source (1.12.2)
110-
concurrent-ruby (1.1.8)
109+
concurrent-ruby (1.1.9)
111110
connection_pool (2.2.5)
112111
crass (1.0.6)
113112
descendants_tracker (0.0.4)
@@ -122,10 +121,10 @@ GEM
122121
e2mmap (0.1.0)
123122
erubi (1.10.0)
124123
erubis (2.7.0)
125-
execjs (2.7.0)
124+
execjs (2.8.1)
126125
faraday (0.9.2)
127126
multipart-post (>= 1.2, < 3)
128-
ffi (1.15.0)
127+
ffi (1.15.1)
129128
font_awesome5_rails (1.4.0)
130129
railties (>= 4.2)
131130
git (1.8.1)
@@ -192,20 +191,16 @@ GEM
192191
rb-fsevent (~> 0.9, >= 0.9.4)
193192
rb-inotify (~> 0.9, >= 0.9.7)
194193
ruby_dep (~> 1.2)
195-
loofah (2.9.1)
194+
loofah (2.10.0)
196195
crass (~> 1.0.2)
197196
nokogiri (>= 1.5.9)
198197
mail (2.7.1)
199198
mini_mime (>= 0.1.1)
200199
marcel (1.0.1)
201-
materialize-form (1.0.8)
202-
materialize-sass (1.0.0)
203-
autoprefixer-rails (>= 6.0.3)
204200
method_source (1.0.0)
205201
mime-types (2.99.3)
206202
mini_magick (4.11.0)
207203
mini_mime (1.1.0)
208-
mini_portile2 (2.5.1)
209204
minitest (5.14.4)
210205
minitest-rails (5.2.0)
211206
minitest (~> 5.10)
@@ -220,8 +215,7 @@ GEM
220215
multipart-post (2.1.1)
221216
mysql2 (0.5.3)
222217
nio4r (2.5.7)
223-
nokogiri (1.11.3)
224-
mini_portile2 (~> 2.5.0)
218+
nokogiri (1.11.7-x86_64-linux)
225219
racc (~> 1.4)
226220
oauth2 (1.4.7)
227221
faraday (>= 0.8, < 2.0)
@@ -234,12 +228,13 @@ GEM
234228
parser (3.0.1.1)
235229
ast (~> 2.4.1)
236230
pg (0.21.0)
231+
popper_js (2.9.2)
237232
pry (0.14.1)
238233
coderay (~> 1.1)
239234
method_source (~> 1.0)
240235
pry-rails (0.3.9)
241236
pry (>= 0.10.4)
242-
psych (3.3.1)
237+
psych (4.0.1)
243238
puma (4.3.8)
244239
nio4r (~> 2.0)
245240
racc (1.5.2)
@@ -292,7 +287,7 @@ GEM
292287
rchardet (1.8.0)
293288
rdoc (6.3.1)
294289
redcarpet (3.5.1)
295-
redis (4.2.5)
290+
redis (4.3.1)
296291
regexp_parser (2.1.1)
297292
reline (0.2.5)
298293
io-console (~> 0.5)
@@ -303,16 +298,16 @@ GEM
303298
railties (>= 5.0)
304299
rexml (3.2.5)
305300
rprogram (0.3.2)
306-
rubocop (1.14.0)
301+
rubocop (1.16.1)
307302
parallel (~> 1.10)
308303
parser (>= 3.0.0.0)
309304
rainbow (>= 2.2.2, < 4.0)
310305
regexp_parser (>= 1.8, < 3.0)
311306
rexml
312-
rubocop-ast (>= 1.5.0, < 2.0)
307+
rubocop-ast (>= 1.7.0, < 2.0)
313308
ruby-progressbar (~> 1.7)
314309
unicode-display_width (>= 1.4.0, < 3.0)
315-
rubocop-ast (1.5.0)
310+
rubocop-ast (1.7.0)
316311
parser (>= 3.0.1.1)
317312
ruby-graphviz (1.2.5)
318313
rexml
@@ -335,11 +330,19 @@ GEM
335330
sprockets (>= 2.8, < 4.0)
336331
sprockets-rails (>= 2.0, < 4.0)
337332
tilt (>= 1.1, < 3)
333+
sassc (2.4.0)
334+
ffi (~> 1.9)
335+
sassc-rails (2.1.2)
336+
railties (>= 4.0.0)
337+
sassc (>= 2.0)
338+
sprockets (> 3.0)
339+
sprockets-rails
340+
tilt
338341
selenium-webdriver (3.142.7)
339342
childprocess (>= 0.5, < 4.0)
340343
rubyzip (>= 1.2.2)
341344
semver2 (3.4.2)
342-
sexp_processor (4.15.2)
345+
sexp_processor (4.15.3)
343346
sidekiq (6.2.1)
344347
connection_pool (>= 2.2.2)
345348
rack (~> 2.0)
@@ -363,6 +366,7 @@ GEM
363366
thwait (0.2.0)
364367
e2mmap
365368
tilt (2.0.10)
369+
toastr_rails (2.1.3)
366370
trestle (0.9.5)
367371
activemodel (>= 4.2.0)
368372
kaminari (>= 1.1.0)
@@ -385,7 +389,7 @@ GEM
385389
activemodel (>= 5.0)
386390
bindex (>= 0.4.0)
387391
railties (>= 5.0)
388-
websocket-driver (0.7.3)
392+
websocket-driver (0.7.5)
389393
websocket-extensions (>= 0.1.0)
390394
websocket-extensions (0.1.5)
391395
xpath (3.2.0)
@@ -395,11 +399,11 @@ GEM
395399
rubyzip (>= 1.0.0)
396400

397401
PLATFORMS
398-
ruby
402+
x86_64-linux-musl
399403

400404
DEPENDENCIES
401-
activerecord-import
402405
axlsx
406+
bootstrap!
403407
brakeman
404408
byebug
405409
capybara (~> 2.13)
@@ -417,15 +421,14 @@ DEPENDENCIES
417421
jquery-rails
418422
jquery-ui-rails
419423
listen (>= 3.0.5, < 3.2)
420-
materialize-form
421-
materialize-sass
422424
mini_magick
423425
minitest-rails
424426
minitest-reporters
425427
mysql2
426428
pg (~> 0.18)
427429
pry
428430
pry-rails
431+
psych (~> 4.0, >= 4.0.1)
429432
puma (~> 4.3)
430433
railroady
431434
rails (~> 5.2.4)
@@ -445,16 +448,16 @@ DEPENDENCIES
445448
spring
446449
spring-watcher-listen (~> 2.0.0)
447450
thwait
451+
toastr_rails
448452
trestle
449453
trestle-auth
450454
trestle-search
451455
tzinfo-data
452456
uglifier (>= 1.3.0)
453457
web-console
454-
yaml_db!
455458
yard (>= 0.9.12)
456459
yard-restful!
457460
zip-zip
458461

459462
BUNDLED WITH
460-
2.1.4
463+
2.2.6

0 commit comments

Comments
 (0)