Skip to content

Commit aaa6d98

Browse files
authored
Merge pull request #2441 from DMPRoadmap/development
Release Candidate v2.1.6
2 parents 2aec36c + 47ab448 commit aaa6d98

File tree

105 files changed

+1231
-433
lines changed

Some content is hidden

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

105 files changed

+1231
-433
lines changed

.github/workflows/brakeman.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
runs-on: ubuntu-latest
1212

1313
steps:
14-
- uses: actions/checkout@v1
14+
- uses: actions/checkout@v2
1515

1616
# Will run Brakeman checks on dependencies
1717
# https://github.com/marketplace/actions/brakeman-linter

.github/workflows/eslint.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ jobs:
88
runs-on: ubuntu-latest
99

1010
steps:
11-
- uses: actions/checkout@v1
11+
- uses: actions/checkout@v2
1212

1313
# Will run ES Lint checks on javascript files
1414
# https://github.com/marketplace/actions/run-eslint

.github/workflows/mysql.yml

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313

1414
steps:
1515
# Checkout the repo
16-
- uses: actions/checkout@v1
16+
- uses: actions/checkout@v2
1717
with:
1818
fetch-depth: 1
1919

@@ -73,6 +73,16 @@ jobs:
7373
${{ runner.os }}-yarn-
7474
${{ runner.os }}-
7575
76+
# Figure out where wkhtmltopdf is installed
77+
- name: 'Determine wkhtmltopdf location'
78+
run: echo ::set-env name=WICKED_PDF_PATH::$(echo `bundle exec which wkhtmltopdf`)
79+
80+
# Startup MySQL
81+
- name: 'Start MySQL'
82+
run: sudo systemctl start mysql
83+
84+
85+
7686
# Install the JS dependencies
7787
- name: 'Yarn Install'
7888
run: |

.github/workflows/postgres.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,11 +26,10 @@ jobs:
2626
env:
2727
RAILS_ENV: test
2828
DATABASE_URL: postgres://postgres:@localhost:5432/roadmap_test
29-
WICKED_PDF_PATH: vendor/bundle/bin/wkhtmltopdf
3029

3130
steps:
3231
# Checkout the repo
33-
- uses: actions/checkout@v1
32+
- uses: actions/checkout@v2
3433
with:
3534
fetch-depth: 1
3635

@@ -44,6 +43,7 @@ jobs:
4443
- name: 'Determine Ruby Version'
4544
run: echo ::set-env name=RUBY_VERSION::$(echo `cat ./Gemfile.lock | grep -A 1 'RUBY VERSION' | grep 'ruby' | grep -oE '[0-9]\.[0-9]'`)
4645

46+
4747
# Install Ruby - using the version found in the Gemfile.lock
4848
- name: 'Install Ruby'
4949
uses: actions/setup-ruby@v1

.github/workflows/rubocop.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
runs-on: ubuntu-latest
1111

1212
steps:
13-
- uses: actions/checkout@v1
13+
- uses: actions/checkout@v2
1414

1515
# Extract the Ruby version from the Gemfile.lock
1616
# - name: 'Determine Ruby Version'
@@ -31,4 +31,4 @@ jobs:
3131
# additional-gems: 'rubocop-dmp_roadmap'
3232

3333
- name: 'Placeholder for Rubocop'
34-
run: echo "Rubocop has been temporarily disabled"
34+
run: echo "Rubocop has been temporarily disabled"

Gemfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -156,9 +156,6 @@ gem 'wicked_pdf', '~> 1.1.0'
156156
# This simple gem allows you to create MS Word docx documents from simple html documents. This makes it easy to create dynamic reports and forms that can be downloaded by your users as simple MS Word docx files. (http://github.com/karnov/htmltoword)
157157
gem 'htmltoword', '1.1.0'
158158

159-
# A feed fetching and parsing library (http://feedjira.com)
160-
gem 'feedjira'
161-
162159
# Filename sanitization for Ruby. This is useful when you generate filenames for downloads from user input
163160
gem 'zaru'
164161

@@ -188,6 +185,9 @@ gem "dotenv-rails"
188185

189186
gem 'activerecord-session_store'
190187

188+
# -------------------------------------------------
189+
# UTILITIES
190+
gem 'parallel'
191191

192192
# ------------------------------------------------
193193
# ENVIRONMENT SPECIFIC DEPENDENCIES

Gemfile.lock

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -133,9 +133,6 @@ GEM
133133
faraday (0.17.1)
134134
multipart-post (>= 1.2, < 3)
135135
fast_gettext (2.0.1)
136-
feedjira (3.1.0)
137-
loofah (>= 2.3.1)
138-
sax-machine (>= 1.0)
139136
ffi (1.11.3)
140137
flag_shih_tzu (0.3.23)
141138
fog-aws (3.5.2)
@@ -245,7 +242,7 @@ GEM
245242
mysql2 (0.4.10)
246243
nenv (0.3.0)
247244
nio4r (2.5.2)
248-
nokogiri (1.10.7)
245+
nokogiri (1.10.8)
249246
mini_portile2 (~> 2.4.0)
250247
notiffany (0.1.3)
251248
nenv (~> 0.1)
@@ -404,7 +401,6 @@ GEM
404401
sprockets (> 3.0)
405402
sprockets-rails
406403
tilt
407-
sax-machine (1.3.2)
408404
selenium-webdriver (3.142.6)
409405
childprocess (>= 0.5, < 4.0)
410406
rubyzip (>= 1.2.2)
@@ -498,7 +494,6 @@ DEPENDENCIES
498494
dragonfly-s3_data_store
499495
factory_bot_rails
500496
faker
501-
feedjira
502497
flag_shih_tzu (~> 0.3.23)
503498
font-awesome-sass (~> 4.2.0)
504499
fuubar
@@ -518,6 +513,7 @@ DEPENDENCIES
518513
omniauth-orcid
519514
omniauth-rails_csrf_protection
520515
omniauth-shibboleth
516+
parallel
521517
pg (~> 0.19.0)
522518
progress_bar
523519
puma

app/assets/stylesheets/blocks/_new_window_popup.scss

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
a.has-new-window-popup-info,
22
button.has-new-window-popup-info {
3-
3+
44
position:relative;
55
z-index:24;
6-
6+
77
& > span.new-window-popup-info {
88
position: absolute;
99
left: -9000px;
@@ -14,9 +14,9 @@ button.has-new-window-popup-info {
1414
&:hover,
1515
&:focus,
1616
&:active {
17-
17+
1818
z-index:25;
19-
19+
2020
& > span.new-window-popup-info {
2121
display:block;
2222
position:absolute;
@@ -29,7 +29,7 @@ button.has-new-window-popup-info {
2929
color:#000;
3030
text-align: center;
3131
}
32-
32+
3333
}
34-
34+
3535
}

app/assets/stylesheets/blocks/_readonly_textarea.scss

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
11
/* For display of readonly textarea content without the TinyMCE editor */
22
.display-readonly-textarea-content {
33
// Replicating some TinyMCE styling of textarea
4-
overflow-y: hidden;
4+
overflow: visible;
55
padding-left: 1px;
66
padding-right: 1px;
77
padding-bottom: 10px;
8-
8+
99
// Ensure table borders are not lost
1010
table {
1111
td {
1212
border: 1px solid black;
1313
}
14-
14+
1515
td, tr {
1616
padding: 10px;
1717
}
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
.single-char-input {
2+
display: inline;
3+
width: 20px;
4+
}

0 commit comments

Comments
 (0)