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

Implement URN registration #941

Merged
merged 8 commits into from
Aug 22, 2023
Merged

Implement URN registration #941

merged 8 commits into from
Aug 22, 2023

Conversation

PascalRepond
Copy link
Contributor

  • Merge URN branch to staging

Aly Badr and others added 8 commits August 21, 2023 13:34
* Sets URN identifier as NEW.

Co-Authored-by: Bertrand Zuchuat <bertrand.zuchuat@rero.ch>
Co-Authored-by: Aly Badr <aly.badr@rero.ch>
A new api to count documents with unregistered pids
with an optional parameters `days`.

* Completes urn config for two organisations.

Co-Authored-by: Aly Badr <aly.badr@rero.ch>
* Adds a celery task after document creation for urn registry.
* Adds cli to register urn codes.
* Creates a separate identifier for urn codes.

Co-Authored-by: Aly Badr <aly.badr@rero.ch>
Co-Authored-by: Aly Badr <aly.badr@rero.ch>
Co-Authored-by: Bertrand Zuchuat <bertrand.zuchuat@rero.ch>
* Adds a cli to add urn code loaded documents.

Co-Authored-by: Aly Badr <aly.badr@rero.ch>
* upload file to the server
* list all files on the server
* replace pdf file in record

Co-Authored-by: Valeria Granata <valeria@chaw.com>
 * prevent deleting documents with registered URN
 * prevent deleting pdf files of documents with registered URN

Co-Authored-by: Valeria Granata <valeria@chaw.com>
- Register a new URN with the server name organisation as base URL.
- Fixes URN creation.
- Adds the patch DNB method to already registered URN.
- Adds the get DNB method to get URN information.
- Marks an URN pid when a document is deleted.
- Fixes the query to retrieve all the unregistered URNs.
- Adds a new optional parameter to specify the data when a test document
  is created.
- Closes: #849.
- Closes: #811.
- Avoids npm server crash in development.
- Adds options to the script server.
- Adds files permissions.
- Fixes unit tests with a .env file.

Co-Authored-by: Johnny Mariéthoz <Johnny.Mariethoz@rero.ch>
@PascalRepond PascalRepond merged commit 97b78ad into staging Aug 22, 2023
4 checks passed
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.

None yet

3 participants