Skip to content

Conversation

GianlucaFicarelli
Copy link
Collaborator

@GianlucaFicarelli GianlucaFicarelli commented Aug 12, 2025

Split from #300

Changes:

  • renamed for simplicity:
    • ExternalDataSourcePage -> ExternalUrl
    • ExternalDataSource -> ExternalSource
    • ScientificArtifactExternalDataSourcePageLink -> ScientificArtifactExternalUrlLink
  • added endpoint to create and read ScientificArtifactExternalUrlLink
  • replaced name and description in ExternalUrl with title (similar to publication, but the change can reverted if needed) -> reverted, see comments below
  • added source and source_name, see comments below
  • everyone can create a url (urls are global), but there is a basic validation
  • only a member of the same project_id of the scientific artifact can create an association
  • note that there is a strict similarity between:
    • publication <-> external_url (but the creation of publications is restricted to admin for the moment)
    • scientific_artifact_publication_link <-> scientific_artifact_external_url_link

Other:

  • minor fixes to publication filters (some fields cannot be used for filtering)

@GianlucaFicarelli GianlucaFicarelli self-assigned this Aug 12, 2025
@GianlucaFicarelli GianlucaFicarelli marked this pull request as ready for review August 14, 2025 06:57
@GianlucaFicarelli GianlucaFicarelli changed the title WIP Add external data source Add external data source Aug 14, 2025
Copy link
Collaborator

@mgeplf mgeplf left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I can't comment on the case of the enum; code wise I it LGTM.

* origin/main:
  Add Calibration & Validation activities (#307)
  Update uv and relax uv pinning in Dockerfile (#336)
  Add filter by authorized_public and authorized_project_id (#335)
  Fix legacy attributes (#328)
Copy link
Contributor

@AurelienJaquier AurelienJaquier left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks! looks good to me

@GianlucaFicarelli GianlucaFicarelli merged commit 9b85336 into main Aug 20, 2025
1 check passed
@GianlucaFicarelli GianlucaFicarelli deleted the external_url branch August 20, 2025 12:16
GianlucaFicarelli added a commit that referenced this pull request Aug 20, 2025
* origin/main:
  Add external data source and url (#327)
GianlucaFicarelli added a commit that referenced this pull request Aug 21, 2025
* origin/main:
  IonChannelModel inheriting from ScientificArtifact (#300)
  Add external data source and url (#327)
  Add Calibration & Validation activities (#307)
  Update uv and relax uv pinning in Dockerfile (#336)
  Add filter by authorized_public and authorized_project_id (#335)
  Fix legacy attributes (#328)
  Add circuit hierarchy endpoint (#320)
  Remove contribution from publication (#331)
GianlucaFicarelli added a commit that referenced this pull request Aug 28, 2025
…-model

* origin/main:
  Add the ability to filter by name to IonChannelModel (#338)
  IonChannelModel inheriting from ScientificArtifact (#300)
  Add external data source and url (#327)
  Add Calibration & Validation activities (#307)
  Update uv and relax uv pinning in Dockerfile (#336)
  Add filter by authorized_public and authorized_project_id (#335)
  Fix legacy attributes (#328)
  Add circuit hierarchy endpoint (#320)
  Remove contribution from publication (#331)
  Add timezone to scientific_artifact.experiment_date (#326)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants