elixir-luxembourg / daisy

Data Information System (DAISY) is a data bookkeeping application designed to help Biomedical Research institutions with their GDPR compliance.
GNU Affero General Public License v3.0
12 stars 10 forks source link

Import datasets, projects and partners using the ui #479

Closed moustaphacheikh closed 8 months ago

moustaphacheikh commented 8 months ago

This PR introduces the import_data view, enabling data imports for various models using the UI.

Highlights:

  1. AJAX-Driven: Ensures a smooth user experience without full-page reloads.
  2. Access Controls: Only users in Groups.DATA_STEWARD can import data, ensuring restricted access.
  3. File Handling: Efficient processing and automatic cleanup of uploaded files.
  4. Testing: Parameterized tests for both GET and POST requests across different model types. Screenshot 2023-10-24 at 12 22 29 Screenshot 2023-10-24 at 12 21 04 Screenshot 2023-10-24 at 12 20 40 Screenshot 2023-10-24 at 12 20 54
vildead commented 8 months ago

data/demo/partners.json seems to contain project not partners

vildead commented 8 months ago

I have no other comments except the one above :)

It looks really nice!