assuring the front page is properly paginating (it is)
Adding a complete delete endpoint for removing files from globus Removing a bad header text in the email messages
This commit is contained in:
parent
fa23b6ca30
commit
039da1b470
|
@ -141,9 +141,13 @@ class IvyService(object):
|
|||
print("What is there?")
|
||||
print(response)
|
||||
|
||||
def delete_file(self):
|
||||
def delete_file(self, file_name):
|
||||
tc = self.get_transfer_client()
|
||||
ddata = globus_sdk.DeleteData(tc, self.GLOBUS_DTN_ENDPOINT, recursive=True)
|
||||
ddata.add_item("/~/project/covid-vpr/snr_20091409000102.csv")
|
||||
ddata.add_item(f"/~/project/covid-vpr/outgoing/{file_name}")
|
||||
delete_result = tc.submit_delete(ddata)
|
||||
print(str(delete_result))
|
||||
|
||||
ddata = globus_sdk.DeleteData(tc, self.GLOBUS_IVY_ENDPOINT, recursive=True)
|
||||
ddata.add_item(f"/ics/ics343/ivy-hip-vprcv/outgoing/{file_name}")
|
||||
delete_result = tc.submit_delete(ddata)
|
||||
|
||||
|
|
|
@ -31,4 +31,4 @@ class UserService(object):
|
|||
uid = request.headers.get("X-Remote-Uid")
|
||||
if not uid:
|
||||
raise CommError(1100, "invalid_sso_credentials", r"'Uid' nor 'X-Remote-Uid' were present in the headers: %s"% str(request.headers))
|
||||
return User(uid, cn)
|
||||
return User(uid, cn)
|
|
@ -94,7 +94,7 @@
|
|||
<div class="content" style="box-sizing: border-box; display: block; Margin: 0 auto; max-width: 580px; padding: 10px;">
|
||||
|
||||
<!-- START CENTERED WHITE CONTAINER -->
|
||||
<span class="preheader" style="color: transparent; display: none; height: 0; max-height: 0; max-width: 0; opacity: 0; overflow: hidden; mso-hide: all; visibility: hidden; width: 0;">Autism DRIVE Portal: Resources for Translational Medicine in Virginia</span>
|
||||
<span class="preheader" style="color: transparent; display: none; height: 0; max-height: 0; max-width: 0; opacity: 0; overflow: hidden; mso-hide: all; visibility: hidden; width: 0;">UVA BE Safe Notification</span>
|
||||
<table class="main" style="border-collapse: separate; mso-table-lspace: 0pt; mso-table-rspace: 0pt; width: 100%; background: #ffffff; border-radius: 3px;">
|
||||
|
||||
<!-- START MAIN CONTENT AREA -->
|
||||
|
|
|
@ -46,7 +46,7 @@ MAIL_USE_SSL = environ.get('MAIL_USE_SSL', default="false") == "true"
|
|||
MAIL_USE_TLS = environ.get('MAIL_USE_TLS', default="false") == "true"
|
||||
MAIL_USERNAME = environ.get('MAIL_USERNAME', default='')
|
||||
MAIL_PASSWORD = environ.get('MAIL_PASSWORD', default='')
|
||||
MAIL_SENDER = 'askresearch@virginia.edu'
|
||||
MAIL_SENDER = 'UVA Prevalence Testing <Prevalence-Test@virginia.edu>'
|
||||
MAIL_TIMEOUT = 10
|
||||
|
||||
# Ivy Directory
|
||||
|
|
|
@ -5,3 +5,10 @@ Student ID|Student Cellphone|Student Email|Test Date Time|Test Kiosk Loc|Test Re
|
|||
000000111|555/555-5555|rkc7h@virginia.edu|202009091449|4321|8726520277
|
||||
000000222|555/555-5556|testpositive@virginia.edu|202009091449|4321|8269722523
|
||||
000000333|555/555-5558|testnegetive@virginia.edu|202009091449|4321|1142270225
|
||||
987654555|555/555-5555|rkc7h@virginia.edu|202009030809|4321|8726520277
|
||||
987654666|555/555-5556|testpositive@virginia.edu|202009060919|4321|8269722523
|
||||
987655777|555/555-5558|testnegetive@virginia.edu|202009070719|4321|1142270225
|
||||
000000888|555/555-5555|rkc7h@virginia.edu|202009091449|4321|8726520277
|
||||
000000999|555/555-5556|testpositive@virginia.edu|202009091449|4321|8269722523
|
||||
000000121|555/555-5558|testnegetive@virginia.edu|202009091449|4321|1142270225
|
||||
111000000|540-457-0024|daniel.h.funk@gmail.com|202009091449|4321|1142270225
|
||||
|
|
|
Loading…
Reference in New Issue