-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'develop' into 470-notif-user-loop
- Loading branch information
Showing
82 changed files
with
14,100 additions
and
5,490 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
from django import forms | ||
|
||
|
||
class ImportForm(forms.Form): | ||
file = forms.FileField(required=True, label="Choose File") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,84 @@ | ||
{ | ||
"$id": "https://raw.githubusercontent.com/elixir-luxembourg/json-schemas/v0.0.5/schemas/elu-core.json", | ||
"title": "ELIXIR Luxembourg Core json schema", | ||
"description": "Schema containing core attributes for any json serialisable ELIXIR Luxembourg record.", | ||
"$schema": "http://json-schema.org/draft-04/schema#", | ||
"type": "object", | ||
"required": [ | ||
"source", | ||
"name" | ||
], | ||
"properties": { | ||
"source": { | ||
"type": "string", | ||
"format": "uri" | ||
}, | ||
"acronym": { | ||
"type": ["string", "null"] | ||
}, | ||
"name": { | ||
"type": "string" | ||
}, | ||
"description": { | ||
"type": ["string", "null"] | ||
}, | ||
"external_id": { | ||
"type": ["string", "null"] | ||
}, | ||
"elu_uuid": { | ||
"type": ["string", "null"] | ||
}, | ||
"other_external_id": { | ||
"type": ["string", "null"] | ||
}, | ||
"url": { | ||
"type": ["string", "null"] | ||
}, | ||
"contacts": { | ||
"type": "array", | ||
"items": { | ||
"type": "object", | ||
"properties": { | ||
"first_name": { | ||
"type": "string" | ||
}, | ||
"last_name": { | ||
"type": "string" | ||
}, | ||
"role": { | ||
"type": "string", | ||
"enum": [ | ||
"Principal_Investigator", | ||
"Researcher", | ||
"Data_Manager", | ||
"Data_Protection_Officer", | ||
"Legal_Representative", | ||
"Other" | ||
] | ||
}, | ||
"email": { | ||
"type": "string", | ||
"format": "email" | ||
}, | ||
"affiliations": { | ||
"description": "Names of the affiliated institutions.", | ||
"type": "array", | ||
"minItems": 1, | ||
"uniqueItems": true, | ||
"items": { | ||
"type": ["string", "null"] | ||
} | ||
} | ||
}, | ||
"required": [ | ||
"first_name", | ||
"last_name", | ||
"role", | ||
"email", | ||
"affiliations" | ||
] | ||
} | ||
} | ||
} | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
{ | ||
"items": [ | ||
{ | ||
"name": "Centre Hospitalier de Togo", | ||
"external_id": "ELU_I_19309", | ||
"acronym": "CHT", | ||
"is_clinical": true, | ||
"geo_category": "National", | ||
"sector_category": "PUBLIC", | ||
"address": "Ave De La 6, Espoir Vie Togo, Lome", | ||
"country_code": "TO", | ||
"source": "example.com" | ||
}, | ||
{ | ||
"name": "Hospitalier de Madagascar", | ||
"external_id": "ELU_I_1939", | ||
"acronym": "HMDGSK", | ||
"is_clinical": true, | ||
"geo_category": "National", | ||
"sector_category": "PUBLIC", | ||
"address": "Ave De La 6, Espoir Vie Togo, Antananarivo", | ||
"country_code": "MG", | ||
"source": "example.com" | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.