Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
1852 commits
Select commit Hold shift + click to select a range
a86c825
added customizations back
briri Jun 25, 2021
4965463
Merge remote-tracking branch 'roadmap/pagination-in-query-string' int…
briri Jun 25, 2021
50ba60f
Merge remote-tracking branch 'roadmap/add-spinner' into development
briri Jun 25, 2021
77dd348
added spinner, add 'other' role for contributors, updated feedback no…
briri Jun 29, 2021
f4a9100
added paginable change to customized view of funder requirements page
briri Jun 29, 2021
0a906ff
reverted change to org population of sign in autocomplete box
briri Jun 30, 2021
f4160bb
patch for new funding statuses and the RDA common standard
briri Jul 9, 2021
496e919
patch for new funding statuses and the RDA common standard
briri Jul 9, 2021
174fa51
Merge branch 'main' into development
briri Jul 9, 2021
7132bf2
fixed label of Funding Status
briri Jul 9, 2021
fec1552
Added new notify administrators email
briri Jul 9, 2021
20c2f83
Merge branch 'main' into development
briri Jul 9, 2021
bca5df1
updates to fix broken plans create for api v2
briri Jul 12, 2021
b311a88
fixing up tests for api v2
briri Jul 16, 2021
f9045f6
adding specs for api v2
briri Jul 19, 2021
95a427f
Merge branch 'master' of github.com:DMPRoadmap/roadmap into roadmap-main
briri Jul 19, 2021
5bb1277
Merge branch 'roadmap-main' into main
briri Jul 19, 2021
a00eff8
fixed merge conflict
briri Jul 19, 2021
a59e007
added fix for feedback emails, added 'other' as a contributor role. u…
briri Jul 19, 2021
3e7bf01
removed old database.yml.sample copy from the github action
briri Jul 19, 2021
22c3dfe
removed config copies from github workflow
briri Jul 19, 2021
a863e76
Merge branch 'main' into development
briri Jul 19, 2021
7fdb5c0
js spinner fix and added nicolas' tweak to config.ru
briri Jul 20, 2021
17027f7
fixing up tests for api v2
briri Jul 20, 2021
503a069
finished up fixes for v2 API
briri Jul 21, 2021
6e41943
fixed issue with looking up PLans during deserialization
briri Jul 22, 2021
dfeaeeb
fixed issue with contributor orcids during api plan creation
briri Jul 22, 2021
83b540a
updated permissions for index/show plans and index templates on api v2
briri Jul 22, 2021
a05c2cf
fixed issue with dataset create endpoint and updated user auth to ref…
briri Jul 23, 2021
2163722
Removed debug lines
briri Jul 23, 2021
6248f7f
added ability for org admins to define new plan via api emails
briri Jul 23, 2021
3da0aa8
updates to feedback notification email
briri Jul 26, 2021
df74bb6
moved templates rake task file
briri Jul 27, 2021
f196f62
Merge branch 'master' of github.com:DMPRoadmap/roadmap into roadmap-main
briri Jul 27, 2021
da82308
Merge branch 'development' of github.com:DMPRoadmap/roadmap into road…
briri Jul 27, 2021
ce59cd5
Merge pull request #282 from CDLUC3/development
briri Jul 27, 2021
6650bba
Merge branch 'master' of github.com:DMPRoadmap/roadmap into roadmap-main
briri Jul 30, 2021
44cbfe6
Merge branch 'roadmap-main' into development
briri Jul 30, 2021
893b950
added research outputs to plan
briri Aug 3, 2021
6ffbcfd
offerings to the rubocop gods
briri Aug 4, 2021
2d04b50
cleanup of unused code and added config for license opts
briri Aug 4, 2021
fa9f817
fixed tests
briri Aug 4, 2021
184cd20
Merge branch 'development' into madmp-research-outputs
briri Aug 4, 2021
203e43a
cleaned up schema
briri Aug 4, 2021
0889797
Fix for postgres regex matching
briri Aug 4, 2021
e2c0332
Fix for postgres regex matching
briri Aug 4, 2021
9baedad
trying to fix postgres
briri Aug 5, 2021
2604e50
Merge branch 'development' of github.com:DMPRoadmap/roadmap into road…
briri Aug 5, 2021
fdedfbc
Merge branch 'madmp-research-outputs' of github.com:DMPRoadmap/roadma…
briri Aug 5, 2021
cf0f636
Merge branch 'roadmap-development' into development
briri Aug 5, 2021
57c07bb
fixed typo in config
briri Aug 5, 2021
ee70249
upgrade dependencies and then consolidate madmp PRs from roadmap back…
briri Aug 5, 2021
b52f735
added research outputs to plan
briri Aug 3, 2021
54e724b
fixing stuff broken by merge
briri Aug 6, 2021
5ced696
Merge branch 'madmp-research-outputs' of github.com:DMPRoadmap/roadma…
briri Aug 6, 2021
70a0393
fixed up tests and merge conflicts
briri Aug 6, 2021
de9de1b
fix for failing test
briri Aug 9, 2021
70d63ec
fixed bug with saving api_client model and also updated v2 api code t…
briri Aug 9, 2021
906efb8
fixing tests
briri Aug 9, 2021
a3e4ac5
patch bug in API v1
briri Aug 10, 2021
8afb814
Merge branch 'master' of github.com:DMPRoadmap/roadmap into development
briri Aug 10, 2021
7c841f2
fixed bug on api v0
briri Aug 10, 2021
34ae86f
bug fix for creating plan with dataset via api v2
briri Aug 10, 2021
915fe40
fixing issue with create for api v2
briri Aug 10, 2021
4898f58
added initial config and option to merge contributors/collaborators o…
briri Aug 10, 2021
07c42aa
Added config option to hide/display the plan overview tab
briri Aug 10, 2021
35adbe0
added DMP ID to all plan tables, the pdf coverhseet and json for api v1
briri Aug 10, 2021
2a0f2a0
Added initial DataCite and DMPHub DMP ID minting services
briri Aug 10, 2021
455f23c
added subscription
briri Aug 12, 2021
b6b5328
switched api to use template family_id instead of id
briri Aug 12, 2021
6bb8e3a
Testing VSCode in browser
briri Aug 12, 2021
8da9911
fixed bug with new org specific emails for plans created via api v2
briri Aug 13, 2021
80124f2
fix for issue with DMP ID displaying RAMS link
briri Aug 13, 2021
4e01724
adding tests for dmp id minting services
briri Aug 16, 2021
c42a6e9
adding tests for dmp id minting services
briri Aug 16, 2021
04c5dc0
fixed issue with funding status saving on api v2 plan creation
briri Aug 16, 2021
1d842ce
added notify admins email and added tests
briri Aug 17, 2021
74983cb
cleanup after PR review
briri Aug 17, 2021
70a2b65
added missing allow_doi_minting config flag
briri Aug 17, 2021
6f7ff65
added allow_doi_minting to yaml. Fixed issue with spinner on DMP ID r…
briri Aug 17, 2021
9ce3a5a
Merge pull request #289 from CDLUC3/development
briri Aug 17, 2021
b2bc70a
re-enabled api v2 create plan emails
briri Aug 17, 2021
a135a26
fixed issues with controller for dmp id minting
briri Aug 17, 2021
32c8252
fixed issues with subscriber job
briri Aug 17, 2021
7743a05
updated feedback notification and confirmation
briri Aug 18, 2021
6cfc37d
recomment out api v2 plan creation emails
briri Aug 18, 2021
d5acb36
recomment out api v2 plan creation emails
briri Aug 18, 2021
4cfc9cf
fixed bug with new feedback email body
briri Aug 18, 2021
b3341ef
making rubocop happy
briri Aug 18, 2021
21c208f
fixed up test
briri Aug 18, 2021
f97ca77
Merge branch 'development' into madmp-doi-minting
briri Aug 18, 2021
38f3cf8
updated link in feedback notification
briri Aug 19, 2021
e42c698
Merge branch 'development' into madmp-doi-minting
briri Aug 19, 2021
f25ee8c
updated config with more documentation and disabled new features by d…
briri Aug 20, 2021
22877eb
Merge branch 'madmp-doi-minting' of github.com:DMPRoadmap/roadmap int…
briri Aug 20, 2021
052fe12
bug fix for ocassional pdf export error - phase is nil
briri Aug 20, 2021
a77d374
Update README.md
briri Aug 23, 2021
dea0ba2
Delete dmp-stage_metadata.xml
briri Aug 23, 2021
2cca6eb
Delete dmp_metadata.xml
briri Aug 23, 2021
8fe7444
Update README.md
briri Aug 23, 2021
a6903e3
Merge branch 'development' into madmp-doi-minting
briri Aug 24, 2021
8e50275
added is_default to guidance_groups and updated model and controller …
briri Sep 8, 2021
9814884
fixed typos and reverted changes to db schema that leaked through
briri Sep 8, 2021
afa4d2d
updated dependencies
briri Sep 8, 2021
8a2f78a
Merge branch 'development' of github.com:DMPRoadmap/roadmap into road…
briri Sep 8, 2021
65e6c53
Merge branch 'issue2989' of github.com:DMPRoadmap/roadmap into roadma…
briri Sep 8, 2021
7b71c09
Merge branch 'roadmap-development' into development
briri Sep 8, 2021
9a5e123
cleaned up merge issues
briri Sep 9, 2021
139978d
added ability to add related identifiers to a plan via api v2
briri Sep 10, 2021
3152520
updated comment
briri Sep 10, 2021
e927782
added initial code for related identifier support. patched bug in pdf…
briri Sep 17, 2021
05d3955
Revert "added is_default to guidance_groups and updated model and con…
briri Sep 21, 2021
27d65eb
Merge branch 'development' of github.com:DMPRoadmap/roadmap into madm…
briri Sep 21, 2021
d9d609b
updated to address issue with default guidance group on edit project …
briri Sep 21, 2021
c6b665d
fix issue with spec test
briri Sep 21, 2021
be65d33
fixed issue with rubocop
briri Sep 21, 2021
62ad659
updated policy to only allow active plans
briri Sep 21, 2021
f1670c4
Merge branch 'development' into madmp-doi-minting
briri Sep 22, 2021
92f9f2c
Merge branch 'madmp-doi-minting' of github.com:DMPRoadmap/roadmap int…
briri Sep 22, 2021
36b7874
added related identifier functionality
briri Sep 22, 2021
193a3e8
tweaks to address issues saving cited related works
briri Sep 22, 2021
bf0b9fe
fixed issue with tests
briri Sep 23, 2021
c48a066
Merge branch 'development' of github.com:DMPRoadmap/roadmap into madm…
briri Sep 23, 2021
c34c4bc
finished up citationn servbice
briri Sep 23, 2021
852d334
fix rubocop
briri Sep 24, 2021
3d4857d
finished up citation service
briri Sep 24, 2021
cc90229
updated dependencies
briri Sep 24, 2021
9335b84
Merge branch 'roadmap/master' into development
briri Sep 24, 2021
1a0df26
Merge branch 'roadmap/development' into development
briri Sep 24, 2021
2367d33
fix test
briri Sep 24, 2021
5fe3595
fixed issue with plan saving
briri Sep 24, 2021
32b296d
fixed issue with plan saving
briri Sep 24, 2021
ab52653
updated server error handler to email admins
briri Sep 24, 2021
d16cc9b
fixed issue with funder on project details
briri Sep 24, 2021
f322520
fix minor bug with searchjing my dashboard table and no results
briri Sep 24, 2021
c5c7b76
fix minor bug with searchjing my dashboard table and no results
briri Sep 24, 2021
8815944
fixes for github actions
briri Sep 24, 2021
6368901
fixes for github actions
briri Sep 24, 2021
5ac17c8
fixes for github actions
briri Sep 24, 2021
8a26533
fixes for github actions
briri Sep 24, 2021
d30b019
added db config for postgres
briri Sep 24, 2021
e6264bd
swapped out citation service for ruby gem
briri Sep 27, 2021
db61947
finalized related identifiers
briri Sep 27, 2021
91c4a4a
bumped depenedencies
briri Sep 27, 2021
5c56b52
update to dependencies
briri Sep 28, 2021
7ce8d62
bumped uc3-citation gem version
briri Sep 28, 2021
3ddf3d9
bumped uc3-citation gem version
briri Sep 28, 2021
6c78579
fixed issue with fetching citations
briri Sep 28, 2021
51e0e49
added tooltip to related identifier form fields. bumped uc3-citation …
briri Sep 28, 2021
95645d9
patch for bug caused by reverting custom fetch_guidance_groups method
briri Sep 29, 2021
7970d6e
moved uc3-citation tro rubygems. then updated dependencies
briri Sep 29, 2021
72141e7
Merge branch 'roadmap/development' into development
briri Sep 29, 2021
6c65e6b
updated gem comment
briri Sep 29, 2021
c14e9f7
updates for related identifier UI
briri Sep 29, 2021
96730cf
fixes to facilitate clean installs
briri Sep 29, 2021
9724ef4
additional tweaks
briri Sep 29, 2021
7f26748
tweaks to files based on feedback
briri Sep 30, 2021
3e9131c
enabled api emails for org admins
briri Sep 30, 2021
ad1e3d4
Merge pull request #294 from CDLUC3/development
briri Sep 30, 2021
bcb318f
Update README.md
briri Sep 30, 2021
daac488
added related identifier functionality
briri Sep 30, 2021
8a1ef9d
cleanup based on PR to DMPRoadmap for related identifier functionality
briri Sep 30, 2021
f94820a
initial related identifier work
briri Oct 1, 2021
e1ae5a4
Added model tests
briri Oct 1, 2021
96a8f09
tests for api v1 changes
briri Oct 1, 2021
8d5ffb5
Merge branch 'development' of github.com:DMPRoadmap/roadmap into madm…
briri Oct 1, 2021
96206cb
fix eslint
briri Oct 1, 2021
0a9ba58
better error handling
briri Oct 5, 2021
067926e
Merge branch 'v3.3.3-patching' into development
briri Oct 5, 2021
1fbd7e3
Merge branch 'roadmap/master' into development
briri Oct 5, 2021
282774e
Remove the the hardcoded word - DMPRoadmap
martaribeiro Oct 5, 2021
c97b2fa
Merge branch 'madmp-doi-minting' of github.com:DMPRoadmap/roadmap int…
briri Oct 5, 2021
263356f
Merge remote-tracking branch 'roadmap/madmp-related-identifiers' into…
briri Oct 5, 2021
c14b53d
added plan overview toggle
briri Oct 5, 2021
e564e79
Merge remote-tracking branch 'origin/fix-installation' into doi-changes
briri Oct 5, 2021
258a706
added new onfig vals
briri Oct 5, 2021
82cd991
Merge pull request #3046 from DMPRoadmap/remove_dmproadmap_from_terms
raycarrick-ed Oct 6, 2021
e422547
pulled in DMPRoadmap PRs for related identifiers and DMP ID minting
briri Oct 7, 2021
6d14293
patched bug causing people to not be able to create accounts
briri Oct 7, 2021
dd8320b
Merge pull request #300 from CDLUC3/fix-create-account-bug
briri Oct 7, 2021
18b63f7
updated PDF to always use plan creator on coversheet. Updated textare…
briri Oct 7, 2021
2b2d316
fixed issue with migration and schema
briri Oct 7, 2021
eabfe32
added size limit to title field due to recent errors
briri Oct 8, 2021
ad551e0
Translation.io tags missing
martaribeiro Oct 8, 2021
0edbc41
updates to plan coversheet
briri Oct 8, 2021
c1b951b
fix for missing orcid
briri Oct 8, 2021
497229a
Merge pull request #3050 from DMPRoadmap/translation_io_small_fixes
briri Oct 11, 2021
01f5fc2
Bump puma from 5.5.0 to 5.5.1
dependabot[bot] Oct 12, 2021
4f1e1dd
added ability for org admin to create a plan on a user's behalf for a…
briri Oct 12, 2021
1945e57
minor tweaks to email template
briri Oct 13, 2021
3936962
updated email template workflow
briri Oct 13, 2021
3c50681
fixed issue with email for email template feature
briri Oct 13, 2021
3c7e723
added email preview to api emails tab for editing orgs
briri Oct 14, 2021
132c666
finished up changes for api emails
briri Oct 14, 2021
e368fa2
fixed issues with tinymce editors
briri Oct 14, 2021
79161fc
cleanup of new email preview features
briri Oct 14, 2021
1f6078d
Merge branch 'roadmap/development' into development
briri Oct 14, 2021
0e29fcc
updated default message body for email templates
briri Oct 14, 2021
2e1877a
clleanup of changes after PR review
briri Oct 15, 2021
deb67e1
added rake task to init template emails
briri Oct 18, 2021
61c9b81
tweak to rake task that inits emails
briri Oct 18, 2021
6726a10
pulled in latest from main
briri Oct 25, 2021
2ee4a5e
Merge pull request #302 from CDLUC3/development
briri Oct 25, 2021
0cdba8e
fixed bug with related identifiers
briri Oct 25, 2021
7a9c1c8
fixed issue with displaying non-url based related identifiers
briri Oct 25, 2021
24ad2f9
fixes for related identifiers display
briri Oct 25, 2021
64d34e3
minor bug fixes
briri Oct 26, 2021
ad443e9
removed debug
briri Oct 26, 2021
ad099fd
Merge pull request #308 from CDLUC3/development
briri Oct 26, 2021
863615e
fixed issue with missing tool_name and helpdesk_email in email signature
briri Oct 26, 2021
d369264
Merge branch 'main' of github.com:CDLUC3/dmptool
briri Oct 26, 2021
ae3bc3a
tweak to stop emails to admin for Pundit auth errors
briri Oct 26, 2021
72ab389
minor bug fixes
briri Oct 27, 2021
5f83197
fix for related identifier link and default related identifiers in AP…
briri Oct 27, 2021
03a7501
fix bug in exporting some plans to PDF
briri Oct 28, 2021
d5c8381
added ApiLog
briri Nov 29, 2021
1483dc7
fixed broken api v2 tests. Added API logging functionality
briri Nov 30, 2021
19535b0
fix bugs with plan downloads, and paginable view of plans
briri Nov 30, 2021
e639726
bug fix for raising an error when a plan is not found and a reference…
briri Dec 1, 2021
7f54d47
hide 'related works' heading if there are no related works and the us…
briri Dec 1, 2021
0ab2ae2
fixed issue with old references to doi_service instead of dmp_id_service
briri Dec 1, 2021
4d2947b
cleanup of doi references and updated to dmp_id
briri Dec 1, 2021
9fb1213
minor bug fixes
briri Dec 1, 2021
f20a2da
fixed issue with rquest feedback
briri Dec 1, 2021
ae77644
fixed issue with displaying response after DMP ID minting
briri Dec 1, 2021
c81dcaa
some fixes for issues found testing on stage. new dmproadmap_sponsor …
briri Dec 2, 2021
7f3c590
updated dmprroadmap_sponsors in json to include sponsor type
briri Dec 2, 2021
cfdbcf3
fixed pagination issue with Api Logs page
briri Dec 2, 2021
d039036
added paginable controller for ApiLogs and updated DOIs so that they …
briri Dec 2, 2021
b23ab5f
fixed issue with nil work_type for a related identifier in PDF downloads
briri Dec 3, 2021
5275a24
added some debug for issue with share plan link from email
briri Dec 3, 2021
a8df962
added some debug for issue with share plan link from email
briri Dec 3, 2021
ae1ceec
added some debug for issue with share plan link from email
briri Dec 3, 2021
5220a98
Removed debug and fixed links for DMP ID on project details and publi…
briri Dec 3, 2021
a952a87
updated publish page to correctly show the DOI in non prod environments
briri Dec 3, 2021
a4db01f
updated publish page to correctly show the DOI in non prod environmen…
briri Dec 3, 2021
907c251
fix issue with plans csv download
briri Dec 3, 2021
ebb847e
added an additional handler for RecordNotFound errors
briri Dec 6, 2021
b76a89b
removed additional handler for RecordNotFound errors
briri Dec 6, 2021
f5bb6bb
removed old doi_service tests
briri Dec 6, 2021
e44a056
fixed typo in db/schema.rb
briri Dec 6, 2021
f23d8d0
Merge pull request #316 from CDLUC3/v3.3.6-beta
briri Dec 7, 2021
edf22af
Updated gem and JS dependencies. Fixed issue with URL in feedback not…
briri Jan 10, 2022
77e8492
Merge pull request #301 from CDLUC3/dependabot/bundler/puma-5.5.1
briri Jan 10, 2022
c8879e3
Merge branch 'main' of github.com:CDLUC3/dmptool
briri Jan 10, 2022
f7968b7
removed handler that emails admin on StandardError
briri Jan 10, 2022
c3ac925
Added note about needing to login to feedback notification email
briri Jan 10, 2022
152f214
rebuilt yarn.lock
briri Jan 11, 2022
5768b25
fixes for unsafe string concatenation and API v0 policy fix
briri Jan 18, 2022
52bebd1
updated dependencies
briri Jan 18, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
32 changes: 32 additions & 0 deletions .env.sample
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
# Base Rails config variables
# these settings are accessed during application initialization
# ---------------------------------------------------------------
export RAILS_ENV=development
export HOST=localhost
export RAILS_SERVE_STATIC_FILES=true
export RAILS_LOG_TO_STDOUT=true
export PORT=3000

# Puma settings (accessed in config/puma.rb)
export RAILS_MAX_THREADS=5
export WEB_CONCURRENCY=2

# Redis settings (accessed within cable.yml)
# export REDIS_URL=redis://localhost:6379/1

# Capistrano settings (accessed in the various deploy targets in config/deploy/)
# export HOST_NAME=

# Database settings (accessed within config/database.yml)
export DB_ADAPTER=mysql2
export DB_NAME=my_app
export DB_POOL_SIZE=16

# AnywayConfig variables
# these settings are accessed after the application has initialized
# --------------------------------------------------------------------
export DMPROADMAP_SERVER_HOST=https://localhost:3000
export DMPROADMAP_NAME=MyApp
export DMPROADMAP_DO_NOT_REPLY_EMAIL=do-not-reply-my-app-dev@example.org
export DMPROADMAP_HELPDESK_EMAIL=help@example.org
export DMPROADMAP_LOCALES=MyApp-Dev
6 changes: 6 additions & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# Ignore the locale files
app/javascript/src/locale/

config/
node_modules/
spec/
6 changes: 5 additions & 1 deletion .github/workflows/brakeman.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,13 @@
name: Brakeman

on:
push:
branches:
- main

pull_request:
branches:
master
- main

jobs:
brakeman:
Expand Down
10 changes: 4 additions & 6 deletions .github/workflows/eslint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,8 @@ jobs:

steps:
- uses: actions/checkout@v2
- name: Install modules
run: yarn

# Will run ES Lint checks on javascript files
# https://github.com/marketplace/actions/run-eslint
- name: 'ES Lint checks'
uses: stefanoeb/eslint-action@1.0.0
with:
args: './app/javascript/**/*.js'
- name: Run ESLint
run: npx eslint './app/javascript/**/*.js'
14 changes: 3 additions & 11 deletions .github/workflows/mysql.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: Tests - MySQL

on: [pull_request]
on: [push, pull_request]

jobs:
mysql:
Expand All @@ -17,7 +17,7 @@ jobs:
with:
fetch-depth: 1

- name: 'Install MySQL Packages'
- name: 'Install MySQL Packages'
run: |
sudo apt-get update
sudo apt-get install -y mysql-client libmysqlclient-dev
Expand All @@ -28,18 +28,10 @@ jobs:
echo "BUNDLER_VERSION=`cat ./Gemfile.lock | grep -A 1 'BUNDLED WITH' | grep -oE '[0-9]\.[0-9]'`" >> $GITHUB_ENV

- name: 'Install Ruby'
uses: actions/setup-ruby@v1
uses: ruby/setup-ruby@v1.68.0
with:
ruby-version: ${{ env.RUBY_VERSION }}

# Copy all of the example configs over
- name: 'Setup Default Configuration'
run: |
# Make copies of all the example config files
cp config/database.yml.sample config/database.yml
cp config/initializers/contact_us.rb.example config/initializers/contact_us.rb
cp config/initializers/wicked_pdf.rb.example config/initializers/wicked_pdf.rb

# Try to retrieve the gems from the cache
- name: 'Cache Gems'
uses: actions/cache@v2.1.5
Expand Down
4 changes: 1 addition & 3 deletions .github/workflows/postgres.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,12 +50,10 @@ jobs:
ruby-version: ${{ env.RUBY_VERSION }}

# Copy all of the example configs over
- name: 'Setup Default Configuration'
- name: 'Setup Default DB Configuration'
run: |
# Make copies of all the example config files
cp config/database.yml.sample config/database.yml
cp config/initializers/contact_us.rb.example config/initializers/contact_us.rb
cp config/initializers/wicked_pdf.rb.example config/initializers/wicked_pdf.rb

# Try to retrieve the gems from the cache
- name: 'Cache Gems'
Expand Down
30 changes: 0 additions & 30 deletions .github/workflows/rubocop.yml

This file was deleted.

69 changes: 39 additions & 30 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,14 +1,44 @@
# DMPTool specific rules
# ----------------------
# Ignore Dotenv file
.env
.*-env
.set_env.sh

# Version file generated by Capistrano
.version

# Homepage background images
app/assets/images/homepage
# ----------------------

# Ignore rbenv files
.ruby-version

# Ignore bundler config
/.bundle
/ruby
/vendor

# Ignore locally build bundle outputs
/ruby

# Ignore all logfiles, tempfiles, public assets,
/log/*.log
/tmp

# Ignore webpack generate images in public folder
public/*.jpg
public/*.png

# Ignore .bak files
*.bak

# Ignore vim backup files
*.swp

# Ignore public subdirectories
# public/*
public/apidocs/*
public/assets/*
public/fonts/*
Expand All @@ -23,13 +53,9 @@ public/videos/*
*.pot.bak

# Ignore branded content
app/views/branded/*
app/assets/images/homepage
config/locales/static_pages/*.yml


# Ignore db schema.rb
# db/schema.rb

# Ignore seed DBs
db/data.yml

Expand All @@ -46,22 +72,6 @@ db/test.sqlite3-journal
# Ignore the SimpleCov output
coverage

# Ignore database configuration and token secrets
config/database.yml
config/secrets.yml
config/branding.yml

# Ignore some of the initializers
config/initializers/wicked_pdf.rb
config/initializers/fingerprint.rb

# Ignore enviroments settings
#config/environments/development.rb
#config/environments/production.rb
#config/environments/test.rb

#config/initializers/contact_us.rb

# ignore IDE files
.idea/*

Expand All @@ -78,6 +88,7 @@ config/initializers/fingerprint.rb
# ignore auto-generated gettext files when running gettext:find
config/locale/*/app.edit.po
config/locale/*/app.po.time_stamp
config/secrets.yml

# Front-end related
!.keep
Expand All @@ -89,22 +100,20 @@ yarn-error.log
yarn-debug.log*

.env
.version

package-lock.json
node_modules
/public/packs
/public/packs-test

spec/examples.txt
.postcssrc.yml
/public/packs
/public/packs-test
/node_modules
yarn-debug.log*
.yarn-integrity

# Ignore master key for decrypting credentials and more.
/config/master.key
/config/credentials.yml.enc
/config/master*.key
/config/credentials.yml
/config/credentials*.yml.enc
/config/credentials/
/config/secrets.yml

/public/packs
/public/packs-test
Expand Down
18 changes: 18 additions & 0 deletions Capfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# Load DSL and set up stages
require "capistrano/setup"

# Include default deployment tasks
require "capistrano/deploy"

# Load the SCM plugin appropriate to your project:
require "capistrano/scm/git"
install_plugin Capistrano::SCM::Git

require "capistrano/bundler"

require "capistrano/rails/assets"

require "capistrano/rails/migrations"

# Load custom tasks from `lib/capistrano/tasks` if you have any defined
Dir.glob("lib/capistrano/tasks/*.rake").each { |r| import r }
45 changes: 42 additions & 3 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,9 @@ gem "jbuilder"
# Use Active Model has_secure_password
# gem "bcrypt", "~> 3.1.7"

# Use Resque to manage the ActiveJob queue
# gem 'resque'

# Use Active Storage variant
# gem "image_processing", "~> 1.2"

Expand All @@ -54,6 +57,17 @@ gem "bootsnap", require: false
# (http://github.com/plataformatec/responders)
# gem "responders"

# ============= #
# CONFIGURATION #
# ============= #

# Anyway Config is a configuration library for Ruby gems and applications.
gem "anyway_config"

# Our homegrown artisinal SSM gem
gem "uc3-ssm", git: "https://github.com/CDLUC3/uc3-ssm", branch: "0.3.1"


# ============== #
# ERROR HANDLING #
# ============== #
Expand Down Expand Up @@ -90,7 +104,11 @@ gem "devise_invitable"

# A generalized Rack framework for multiple-provider authentication.
# (https://github.com/omniauth/omniauth)
gem "omniauth"

# TODO: unlock this once devise creates an official release that includes this commit:
# https://github.com/heartcombo/devise/commit/1d138dd40cdc291a427b89027d16a869818a5c19#diff-59866e40fe6196ebb76fa63d186b09ba0856de17e2e938743e99add37bb83f5c
# or updates to accommodate the new version of omniauth
gem "omniauth", "~> 1.9"

# OmniAuth Shibboleth strategies for OmniAuth 1.x
gem "omniauth-shibboleth"
Expand All @@ -106,7 +124,12 @@ gem "omniauth-orcid"
# https://nvd.nist.gov/vuln/detail/CVE-2015-9284
gem "omniauth-rails_csrf_protection"

# Doorkeeper is a gem (Rails engine) that makes it easy to introduce OAuth 2 provider functionality
# to your Ruby on Rails or Grape application. https://github.com/doorkeeper-gem/doorkeeper
gem "doorkeeper", "~> 5.5"

# A ruby implementation of the RFC 7519 OAuth JSON Web Token (JWT) standard.
# https://github.com/jwt/ruby-jwt
gem "jwt"

# Gems for repository integration
Expand Down Expand Up @@ -176,7 +199,15 @@ gem "autoprefixer-rails"
# ========= #

# Provides binaries for WKHTMLTOPDF project in an easily accessible package.
gem "wkhtmltopdf-binary"
# ------------------------------------------------
# Start DMPTool customization
# 0.12.5 does not work on our new linux2 instances. Pegging at 0.12.4 for now
# ------------------------------------------------
# gem 'wkhtmltopdf-binary'
gem "wkhtmltopdf-binary", "0.12.4"
# ------------------------------------------------
# End DMPTool customization
# ------------------------------------------------

# PDF generator (from HTML) gem for Ruby on Rails
# (https://github.com/mileszs/wicked_pdf)
Expand Down Expand Up @@ -213,6 +244,10 @@ gem "httparty"
# Autoload dotenv in Rails. (https://github.com/bkeepers/dotenv)
gem "dotenv-rails"

# A library that retrieves an citation for the specified DOI.
# https://github.com/CDLUC3/uc3-citation
gem 'uc3-citation'

# ================================= #
# ENVIRONMENT SPECIFIC DEPENDENCIES #
# ================================= #
Expand Down Expand Up @@ -243,6 +278,10 @@ group :test do
# Guard gem for RSpec (https://github.com/guard/guard-rspec)
gem "guard-rspec"

gem "capistrano"

gem "capistrano-rails"

# Library for stubbing HTTP requests in Ruby.
# (http://github.com/bblimke/webmock)
gem "webmock"
Expand Down Expand Up @@ -323,7 +362,7 @@ group :development do

# Better error page for Rails and other Rack apps
# (https://github.com/charliesome/better_errors)
gem "better_errors"
gem "better_errors", "2.8.1"

# Retrieve the binding of a method's caller. Can also retrieve bindings
# even further up the stack. (http://github.com/banister/binding_of_caller)
Expand Down
Loading