Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PID - ORCID, WikiData - Osoby #2594

Open
4 of 5 tasks
motyc opened this issue Nov 13, 2024 · 2 comments
Open
4 of 5 tasks

PID - ORCID, WikiData - Osoby #2594

motyc opened this issue Nov 13, 2024 · 2 comments
Labels
DONE The issue is done, but not tested Fedora Related to the Fedora repository.
Milestone

Comments

@motyc
Copy link
Member

motyc commented Nov 13, 2024

Cílem je doplnit ID podle ORCID a WikiData k těm osobám, které je mají přidělené (děje se zcela nezávisle na AMČR).

  • Doplnit pole:
    -- osoba.orcid
    -- osoba.wikidata
  • Do amcr.xsd budou za element osoba/rodne_prijmeni doplněny elementy:
    -- <xs:element name="orcid" minOccurs="0" maxOccurs="1" type="xs:string"/> <!-- "{orcid}" -->
    -- <xs:element name="wikidata" minOccurs="0" maxOccurs="1" type="xs:string"/> <!-- "{wikidata}" -->
  • Editaci polí umožnit ve správě osob v administraci a při přidání nové osoby (přes modal u formulářů).
  • Pokud někdo zadá včetně prefix, vždy zkrátit na základní verzi:
    -- https://orcid.org/0000-0001-6592-6291 -> 0000-0001-6592-6291
    -- https://www.wikidata.org/wiki/Q59162343 -> Q59162343
  • Prověřit možnost našeptávání na základě API a automatickou validaci (nepovolit zápis neplatného ID):
    -- https://info.orcid.org/documentation/api-tutorials/api-tutorial-read-data-on-a-record/
    -- https://www.wikidata.org/wiki/Wikidata:REST_API
@motyc motyc added enhancement Fedora Related to the Fedora repository. labels Nov 13, 2024
@motyc motyc added this to the v1.1.0 milestone Nov 13, 2024
@motyc motyc self-assigned this Nov 13, 2024
@pesikj
Copy link
Collaborator

pesikj commented Nov 14, 2024

A nebylo by dobré ještě dát možnost uživatelům, aby si to editovali ve svém profilu?

@motyc
Copy link
Member Author

motyc commented Nov 14, 2024

@pesikj Ano, ale to je v #2593, toto se týká hesláře osob, který spravujeme my. Tam by uživatelé mají možnost přidávat nová hesla, ale nikoli je zpětně editovat. Zmínil jsem tam ale to přidávání nových, tam by to být mělo.

@motyc motyc assigned pesikj and jhavrlant and unassigned motyc and jhavrlant Nov 18, 2024
pesikj added a commit that referenced this issue Dec 1, 2024
@pesikj pesikj mentioned this issue Dec 1, 2024
pesikj added a commit that referenced this issue Dec 1, 2024
pesikj added a commit that referenced this issue Dec 1, 2024
pesikj added a commit that referenced this issue Dec 1, 2024
pesikj added a commit that referenced this issue Dec 5, 2024
pesikj added a commit that referenced this issue Dec 6, 2024
pesikj added a commit that referenced this issue Dec 6, 2024
motyc pushed a commit that referenced this issue Jan 15, 2025
* First commit #2616 #2594 #2591

* First commit #2616 #2594 #2591

* First commit #2616 #2594 #2591

* Minor updates

* Refactoring

* #2591

* #2596 #2615

* #2596 #2615 #2591

* Add IGSN prefix support and fix DOI field tooltip

Introduced `IGSN_PREFIX` setting and implemented its handling in prefix retrieval methods. Also corrected the tooltip reference for the DOI field in forms to resolve a mismapping issue.

* Enable ORCID, DOI, and ROR verification in forms

Integrated ORCID, DOI, and ROR validation logic across various forms using external APIs to ensure data accuracy. Additionally, included updates to support IGSN management and improved admin form functionality.

* Rename and refactor DOI module to PID and improve validations

Reorganized the DOI module under a more general PID namespace for extensibility. Added support for Wikidata validation and adjusted file imports, configurations, and serializer logic to align with the new structure. Minor improvements include enhanced handling of anonymized data and additional configurations for external resources.

* Moved AIS_AMCR_ROR to constants.py
@pesikj pesikj added the DONE The issue is done, but not tested label Jan 19, 2025
pesikj added a commit that referenced this issue Jan 19, 2025
pesikj added a commit that referenced this issue Jan 19, 2025
pesikj added a commit that referenced this issue Jan 19, 2025
pesikj added a commit that referenced this issue Jan 19, 2025
pesikj added a commit that referenced this issue Jan 20, 2025
@motyc motyc removed the enhancement label Jan 20, 2025
motyc added a commit that referenced this issue Jan 20, 2025
* First commit #2616 #2594 #2591

* First commit #2616 #2594 #2591

* First commit #2616 #2594 #2591

* Minor updates

* Refactoring

* #2591

* #2596 #2615

* #2596 #2615 #2591

* Add IGSN prefix support and fix DOI field tooltip

Introduced `IGSN_PREFIX` setting and implemented its handling in prefix retrieval methods. Also corrected the tooltip reference for the DOI field in forms to resolve a mismapping issue.

* Enable ORCID, DOI, and ROR verification in forms

Integrated ORCID, DOI, and ROR validation logic across various forms using external APIs to ensure data accuracy. Additionally, included updates to support IGSN management and improved admin form functionality.

* Rename and refactor DOI module to PID and improve validations

Reorganized the DOI module under a more general PID namespace for extensibility. Added support for Wikidata validation and adjusted file imports, configurations, and serializer logic to align with the new structure. Minor improvements include enhanced handling of anonymized data and additional configurations for external resources.

* Rename and refactor DOI module to PID and improve validations

Reorganized the DOI module under a more general PID namespace for extensibility. Added support for Wikidata validation and adjusted file imports, configurations, and serializer logic to align with the new structure. Minor improvements include enhanced handling of anonymized data and additional configurations for external resources.

* Autocomplete for DOI and ORCID

* Code review

* Update base.py

Sladění s e0c8f6b

* Autocomplete #2616 #2594 #2592

* Autocomplete #2616 #2594 #2592

* Autocomplete #2616 #2594 #2592

* Autocomplete #2616 #2594 #2592

---------

Co-authored-by: David Novák <novak@arup.cas.cz>
pesikj added a commit that referenced this issue Jan 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
DONE The issue is done, but not tested Fedora Related to the Fedora repository.
Projects
None yet
Development

No branches or pull requests

3 participants