diff --git a/scripts/populate_institutions.py b/scripts/populate_institutions.py index f8f3d97ff16..4f345df9cc3 100644 --- a/scripts/populate_institutions.py +++ b/scripts/populate_institutions.py @@ -728,6 +728,18 @@ def main(default_args=False): 'email_domains': [], 'delegation_protocol': 'saml-shib', }, + { + '_id': 'unc', + 'name': 'University of North Carolina at Chapel Hill', + 'description': 'This service is supported by The Odum Institute for Research in Social Science and University Libraries at the University of North Carolina at Chapel Hill. Please do not store or transfer personally identifiable information, personal health information, or any other sensitive or proprietary data in the OSF. Projects should follow applicable UNC policies. Contact the Odum Institute Data Archive with any questions.', + 'banner_name': 'unc-banner.png', + 'logo_name': 'unc-shield.png', + 'login_url': SHIBBOLETH_SP_LOGIN.format(encode_uri_component('urn:mace:incommon:unc.edu')), + 'logout_url': SHIBBOLETH_SP_LOGOUT.format(encode_uri_component('https://osf.io/goodbye')), + 'domains': [], + 'email_domains': [], + 'delegation_protocol': 'saml-shib', + }, { '_id': 'universityofkent', 'name': 'University of Kent', @@ -1550,6 +1562,18 @@ def main(default_args=False): 'email_domains': [], 'delegation_protocol': 'saml-shib', }, + { + '_id': 'unc', + 'name': 'University of North Carolina at Chapel Hill [Test]', + 'description': 'This service is supported by The Odum Institute for Research in Social Science and University Libraries at the University of North Carolina at Chapel Hill. Please do not store or transfer personally identifiable information, personal health information, or any other sensitive or proprietary data in the OSF. Projects should follow applicable UNC policies. Contact the Odum Institute Data Archive with any questions.', + 'banner_name': 'unc-banner.png', + 'logo_name': 'unc-shield.png', + 'login_url': SHIBBOLETH_SP_LOGIN.format(encode_uri_component('urn:mace:incommon:unc.edu')), + 'logout_url': SHIBBOLETH_SP_LOGOUT.format(encode_uri_component('https://test.osf.io/goodbye')), + 'domains': ['test-osf-unc.cos.io'], + 'email_domains': [], + 'delegation_protocol': 'saml-shib', + }, { '_id': 'universityofkent', 'name': 'University of Kent [Test]', diff --git a/website/static/img/institutions/banners/unc-banner.png b/website/static/img/institutions/banners/unc-banner.png new file mode 100644 index 00000000000..1a75086145c Binary files /dev/null and b/website/static/img/institutions/banners/unc-banner.png differ diff --git a/website/static/img/institutions/osf_institutions_white.png b/website/static/img/institutions/osf_institutions_white.png index 8f14282c792..b9641cdd054 100644 Binary files a/website/static/img/institutions/osf_institutions_white.png and b/website/static/img/institutions/osf_institutions_white.png differ diff --git a/website/static/img/institutions/shields-rounded-corners/unc-shield-rounded-corners.png b/website/static/img/institutions/shields-rounded-corners/unc-shield-rounded-corners.png new file mode 100644 index 00000000000..886db7ec39c Binary files /dev/null and b/website/static/img/institutions/shields-rounded-corners/unc-shield-rounded-corners.png differ diff --git a/website/static/img/institutions/shields/unc-shield.png b/website/static/img/institutions/shields/unc-shield.png new file mode 100644 index 00000000000..e0a0cd969dc Binary files /dev/null and b/website/static/img/institutions/shields/unc-shield.png differ