Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug dcc 453 api not providing owner email anymore #3094

Merged
Merged
Changes from 2 commits
Commits
Show all changes
115 commits
Select commit Hold shift + click to select a range
4b92e19
updated rubocop and started editing .rubocop.yml
briri Oct 1, 2021
d7243e2
added rubocop-rails and rubocop-rspec
briri Oct 1, 2021
9b13616
added some additional rubocop helper gems
briri Oct 1, 2021
f6dfc66
added some additional rubocop helper gems
briri Oct 1, 2021
cf7ed3b
added some additional rubocop helper gems
briri Oct 1, 2021
5cd2a36
Merge pull request #3043 from DMPRoadmap/development
raycarrick-ed Oct 4, 2021
3922375
ran Inspecting 529 files
briri Oct 4, 2021
348414e
Fix views and remove any check on block length
martaribeiro Oct 6, 2021
494931c
updated PDF coversheet to always show the creator of the DMP
briri Oct 7, 2021
d8345f4
Merge pull request #3048 from DMPRoadmap/fix_rubocop_in_views
briri Oct 12, 2021
7a1a026
Merge branch 'master' into rubocop
briri Oct 12, 2021
c86ad2b
Merge branch 'development' into pdf-coversheet-fix
johnpinto1 Oct 25, 2021
60164b9
Mark some strings for translation.
hbayindir Nov 1, 2021
e6dd4fe
fixed rubocop for helpers
briri Nov 1, 2021
1483c63
fixed rubocop for mailers
briri Nov 1, 2021
d8a6e46
update comment on ccontributor presenter
briri Nov 1, 2021
93e44cd
fixed rubocop for services
briri Nov 1, 2021
198e6ba
fixed rubocop issues for models
briri Nov 1, 2021
34bac40
fixed rubocop for lib
briri Nov 1, 2021
c63cbba
fixed rubocop for specs
briri Nov 1, 2021
74e0c2f
finished up rubocop fixes
briri Nov 3, 2021
3feb121
tweaks to changes made for rubocop to fix broken tests
briri Nov 3, 2021
d4e2f6c
fix additional rubocop issues
briri Nov 3, 2021
34d5a80
updated brakeman
briri Nov 3, 2021
b76da31
rubocop fix
briri Nov 3, 2021
7485283
fix for rubocop for feature spec
briri Nov 3, 2021
1759f37
fix for rubocop for feature spec
briri Nov 3, 2021
86a6a6a
try to figure out how host is set for url_helpers in test
briri Nov 3, 2021
ece5a1b
removed StandardError rescue_from in application_controller because i…
briri Nov 3, 2021
9e252de
finished up rubocop changes and fixed broken tests
briri Nov 3, 2021
ab4aa06
updated translation files to use the format instead of
briri Nov 3, 2021
459555e
removed need to use single quotes in app/views
briri Nov 8, 2021
3c63517
protect against nil owner after user merge
raycarrick-ed Nov 16, 2021
bc6b470
added 'distinct' to the paginable concern's search function
briri Nov 30, 2021
ad52bfc
fixed issues with a few edge-case errors for plan downloads in csv an…
briri Nov 30, 2021
632cbb1
use current user rather than form user id which can be spoofed
raycarrick-ed Dec 9, 2021
2d56030
get org creation to follow restrict_orgs
raycarrick-ed Dec 9, 2021
852b416
Merge pull request #3078 from DMPRoadmap/org_creation
briri Dec 9, 2021
88a7115
Merge pull request #3077 from DMPRoadmap/comment_user_fix
briri Dec 9, 2021
3e5a9f3
Fix a typo in the file after text marking.
hbayindir Dec 16, 2021
347b2fd
Merge pull request #3081 from TRUBA-HPC/translation_fixes
briri Dec 17, 2021
90069f5
untethered regex allows for sql injection
raycarrick-ed Dec 29, 2021
b03a24a
Merge branch 'master' into rubocop
raycarrick-ed Jan 12, 2022
d517061
Update org_selectable.rb
raycarrick-ed Jan 12, 2022
1512944
TEMP CHANGE FOR DCC 453 BUG
Jan 18, 2022
8df635f
DCC bug 453 - Unlike in previous version of the DMP Roadmap a API use…
Jan 19, 2022
b2eff34
DCC Bug 668 - Fix for issue of roles in a plan that does not have a
Jan 20, 2022
9dd79ec
Update MySQL version
raycarrick-ed Jan 25, 2022
ea07fa8
more rubocop fixes
raycarrick-ed Jan 25, 2022
5b4f127
Merge branch 'rubocop' of github.com:DMPRoadmap/roadmap into rubocop
raycarrick-ed Jan 25, 2022
45866c2
Remove --without param
raycarrick-ed Jan 25, 2022
ed7a539
sort ownership
raycarrick-ed Jan 25, 2022
e95b152
Update mysql.yml
raycarrick-ed Jan 25, 2022
de8e7c6
Update mysql.yml
raycarrick-ed Jan 25, 2022
9d009c3
Add apt-get clean
raycarrick-ed Jan 25, 2022
177b934
Explicitly add failing package
raycarrick-ed Jan 25, 2022
2b866d9
minor fix for a rubocop complaint
briri Jan 25, 2022
06e2e62
reverted change to mysql installation in github workflow
briri Jan 25, 2022
747845a
added change back to mysql installation in github workflow
briri Jan 25, 2022
490ded1
Added another package for mysql install in github workflow
briri Jan 25, 2022
8e34bd0
tweak to try and get mysql working in github workflow
briri Jan 25, 2022
f46cc17
Remove mysql install
raycarrick-ed Jan 26, 2022
ce780ce
Merge branch 'master' into rubocop
raycarrick-ed Jan 26, 2022
2109ea3
Try to fix yarn
raycarrick-ed Jan 26, 2022
c467613
added step to capture node version to github workflow
briri Jan 26, 2022
76c1d97
some changes to update our mysql github workflow
briri Jan 26, 2022
119c22a
update gem and js dependencies
briri Jan 26, 2022
2d965e1
trying to update webpacker
briri Jan 26, 2022
fc6db1b
further cleanup of the mysql github workflow
briri Jan 26, 2022
04750bc
further cleanup of the mysql github workflow
briri Jan 26, 2022
f628c3b
final cleanup for mysql github workflow - removed yarn build in favor…
briri Jan 26, 2022
54a0483
github workflow for mysql now working but failure on node post run cl…
briri Jan 26, 2022
b825d5b
updates to other github workflows to use the newer ruby and node builds
briri Jan 26, 2022
9bb023b
fixed an issue with the plan exports controller's policcy check
briri Jan 26, 2022
9a04a68
removed old commented out rules from rubocop config
briri Jan 26, 2022
823ed90
Merge pull request #3045 from DMPRoadmap/rubocop
raycarrick-ed Jan 27, 2022
c582667
protect against nil owner after user merge
raycarrick-ed Nov 16, 2021
1cde223
Merge branch 'protect_nil_owner' of github.com:DMPRoadmap/roadmap int…
raycarrick-ed Jan 27, 2022
a0f3a8d
Merge pull request #3065 from DMPRoadmap/protect_nil_owner
raycarrick-ed Jan 27, 2022
0ddec3d
updated PDF coversheet to always show the creator of the DMP
briri Oct 7, 2021
22c1d16
Merge branch 'pdf-coversheet-fix' of github.com:DMPRoadmap/roadmap in…
raycarrick-ed Jan 27, 2022
a4407e8
Merge pull request #3049 from DMPRoadmap/pdf-coversheet-fix
raycarrick-ed Jan 27, 2022
9c24734
added 'distinct' to the paginable concern's search function
briri Nov 30, 2021
c0c8b5e
Merge branch 'issue3072' of github.com:DMPRoadmap/roadmap into issue3072
raycarrick-ed Jan 27, 2022
ef7f5cd
added 'distinct' to the paginable concern's search function
briri Nov 30, 2021
6f29c05
Merge branch 'issue3072' of github.com:DMPRoadmap/roadmap into issue3072
raycarrick-ed Jan 28, 2022
ebc2da4
Merge pull request #3073 from DMPRoadmap/issue3072
raycarrick-ed Jan 28, 2022
544e77b
fixed issues with a few edge-case errors for plan downloads in csv an…
briri Nov 30, 2021
3d76ff1
formatting changes
raycarrick-ed Jan 28, 2022
27434b5
trying to figure out brakeman error
raycarrick-ed Jan 28, 2022
098b579
Fix brakeman sql injection
raycarrick-ed Jan 28, 2022
0c17d14
Rubocop fixes
raycarrick-ed Jan 28, 2022
d9e26a6
renable rubocop
raycarrick-ed Jan 28, 2022
efc7dd1
Merge pull request #3098 from DMPRoadmap/fix_downloads
raycarrick-ed Jan 28, 2022
18695e9
untethered regex allows for sql injection
raycarrick-ed Dec 29, 2021
3b2859c
Merge branch 'sql_injection_fix' of github.com:DMPRoadmap/roadmap int…
raycarrick-ed Jan 28, 2022
8aa5765
Merge pull request #3083 from DMPRoadmap/sql_injection_fix
raycarrick-ed Jan 28, 2022
957879c
fix authorize
raycarrick-ed Jan 28, 2022
0a32936
Merge pull request #3099 from DMPRoadmap/plan_policy_fix
raycarrick-ed Jan 28, 2022
75c2661
based on scan of authorize statements
raycarrick-ed Jan 28, 2022
c068c30
Fix spacing
raycarrick-ed Jan 28, 2022
5962f2d
rubocop
raycarrick-ed Jan 28, 2022
d42ab02
Unknown local variable
raycarrick-ed Jan 31, 2022
d707bed
Merge pull request #3100 from DMPRoadmap/authorize_scan
raycarrick-ed Jan 31, 2022
53012c3
update Gemfile.lock
raycarrick-ed Jan 31, 2022
816f127
updated PDF coversheet to always show the creator of the DMP
briri Oct 7, 2021
016701e
Merge branch 'development' of github.com:DMPRoadmap/roadmap into deve…
raycarrick-ed Jan 31, 2022
839cf31
Merge pull request #3101 from DMPRoadmap/update_dev
raycarrick-ed Jan 31, 2022
6adaf46
DCC Bug 668 - Fix for issue of roles in a plan that does not have a
Jan 20, 2022
476f00a
Merge branch 'bug_dcc_668-admin_not_able_to_see_plans' of github.com:…
raycarrick-ed Jan 31, 2022
fd2a453
Merge pull request #3095 from DMPRoadmap/bug_dcc_668-admin_not_able_t…
raycarrick-ed Jan 31, 2022
98b941b
TEMP CHANGE FOR DCC 453 BUG
Jan 18, 2022
5235099
DCC bug 453 - Unlike in previous version of the DMP Roadmap a API use…
Jan 19, 2022
f4ef640
Merge branch 'bug_dcc-453_api_not_providing_owner_email_anymore' of g…
raycarrick-ed Jan 31, 2022
147ea32
rubocop fixes
raycarrick-ed Jan 31, 2022
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions app/views/api/v0/statistics/plans.json.jbuilder
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,10 @@ json.plans @org_plans.each do |plan|
json.name plan.contributors.investigation.first&.name
end

json.owner do
json.email plan.owner.present? ? plan.owner.email : ""
end

json.data_contact do
json.info plan.contributors.data_curation.first&.name
end
Expand Down