Skip to content
This repository has been archived by the owner on Sep 16, 2022. It is now read-only.

Releases: CSCfi/metax-api

Release v0.9.5

09 Jan 09:39
fb39c2a
Compare
Choose a tag to compare

Release Candidate v0.9.5-rc1

09 Jan 09:22
0b04e68
Compare
Choose a tag to compare
Pre-release
  • CSCMETAX-427-507: [REF] Move /rest/files/flush_project -> /rpc/files/flush_project. Disable API in production env. Read RPC API permissions from app config
  • CSCMETAX-523: [ADD] Check dataset ownership also from field metadata_provider_user
  • CSCMETAX-522: [ADD] Add info to docs about which dataset metadata fields are read-only, and which fields can be written to when using the End User API
  • CSCMETAX-61: [ADD] Update docs: Add entry about Legacy data catalog to 'Data catalogs' section

Release v0.9.4

04 Dec 09:53
cec8f06
Compare
Choose a tag to compare

Release Candidate v0.9.4-rc1

04 Dec 09:12
66d2b36
Compare
Choose a tag to compare
Pre-release
  • CSCMETAX-498: [FIX] Providing empty preferred_identifier for harvested catalog record no longer results in internal server error
  • CMETAX-509: [ADD] /rest/datasets GET-operation can now be filtered with query parameter data_catalog, which understands data catalog identifier values.
  • CSCMETAX-506: [FIX] Assigning non-critical info as ansible variables in travis to enable building the docs in target env
  • CSCMETAX-61: [REF] Update python requirements
  • CSCMETAX-61: [FIX] Creating new dataset version sets deprecated = True
  • CSCMETAX-513: [ADD] Add date_deprecated field for catalog record. It is populated when the cr gets deprecated.
  • CSCMETAX-514: [ADD] Add date_removed field for all models. It is populated when the object gets deleted.
  • CSCMETAX-495: [REM] Remove replication_path from file model and test datas
  • CSCMETAX-512: [REF] Change total_ida_byte_size and total_remote_resources_byte_size from decimal to integer in json schema
  • CSCMETAX-61: [REF] Change file_characteristics.encoding enum ISO_8859-15 -> ISO-8859-15 in file json schema
  • CSCMETAX-516: [REF] Separate the fetching of oai_dc_urnresolver records in metax_oai_server to its own code vs. other metadataprefixes. Return data with cursor and batch size applied only after urnresolver records have been checked whether they should be included. Fix oai_dc and oai_datacite metadataprefixes.
  • CSCMETAX-516: [REF|ADD|REM] Add some missing tests. Group tests according to OAI-PMH verb for clarity. Remove unneeded test data.
  • CSCMETAX-513-514: [REF|ADD] Add new field descriptions to api schemas. Move removed meta-field from cr-serializer to common-serializer. On post and put, always set removed to False and date_removed to None. On delete, always set removed to True and date_removed a value.
  • CSCMETAX-496-512-513-514 &: [REF|ADD] Add missing fields to api schemas. Update docs.
  • CSCMETAX-515: [FIX] 2x Bugs when adding directories to datasets. Add tests. Bug 1) Child dir not properly recognized as child dir in some cases, Bug 2) Paths with similar names were not recognized as unique dirs
  • CSCMETAX-61: [FIX] /rest/directories file browsing: Get all fields when retrieving the dir from db, since otherwise in some cases some fields will be left out (?include_parent)
  • CSCMETAX-61: [ADD] Improve error handling in RPC api
  • CSCMETAX-63: [ADD] Stub implementation for /rpc/statistics api
  • CSCMETAX-63: [ADD] Statistics endpoints to /rpc/statistics. New endpoints: /rpc/statistics/all_datasets_cumulative, /rpc/statistics/catalog_datasets_cumulative, /rpc/statistics/count_datasets, /rpc/statistics/deprecated_datasets_cumulative, /rpc/statistics/end_user_datasets_cumulative, /rpc/statistics/harvested_datasets_cumulative, /rpc/statistics/organization_datasets_cumulative, /rpc/statistics/unused_files
  • CSCMETAX-61: [ADD] Allow empty source_organization for is_output_of objects on etsin migrations.

Release v0.9.3

12 Nov 13:32
fd6af03
Compare
Choose a tag to compare

Release Candidate v0.9.3-rc1

12 Nov 13:24
bc3fe4c
Compare
Choose a tag to compare
Pre-release
  • CSCMETAX-477: [ADD] Legacy data catalog to initialdata catalogs. Add array LEGACY_CATALOGS to settings.py, which holds identifiers of catalogs where pid uniqueness or other validation is not checked, except that a SOME value has to be provided.
  • CSCMETAX-477: [FIX] Do not resolve datasets from legacy catalogs
  • CSCMETAX-477: [ADD] On DELETE requests datasets in legacy catalogs are deleted permanently
  • CSCMETAX-477: [FIX] Allow updating pid of datasets in legacy catalogs
  • CSCMETAX-386: [ADD] Validation for File API file_characteristics object's file_format and format_version fields.
  • CSCMETAX-492: [REF] Change the format of request for getting urnresolved datasets in oai-pmh API: urnresolver set no longer exists. Using only metadataPrefix=oai_dc_urnresolver datasets can be urnresolved. Optionally, set can be provided but its value must be either datasets or datacatalogs. Currently, datacatalogs returns error since its urnresolving hasn't been implemented. Also single records can be urnresolved, but again currently only with datasets. The change in this commit paves the way for enabling urnresolving datacatalogs, which was not possible with the previous code.
  • CSCMETAX-61: [ADD] New python dependency versions
  • CSCMETAX-492: [REF] Change is_valid_set method name to validate_mdprefix_and_set: it does not return anything, rather if validation is successful, no exception is raised. Update one python deps.
  • CSCMETAX-494: [ADD] Extract the first same_as-entry from license reference data into cache. Populate access_rights.license.license field with the same_as value, if user has not provided any value for it and if the same_as value exists. Fix datacite service for cases when there is no access_rights.license.license field. Add more licenses for full ida test data template.
  • CSCMETAX-492: [REF] Speed up getting urnresolver metadata
  • CSCMETAX-497: [REF] Change preferred_identifier as non-compulsory field in ida and att schemas. Add readOnly flags to some fields in research_dataset object.
  • CSCMETAX-61: [REF] Remove items from minimal dataset template that are not required according to the json schema.
  • CSCMETAX-61: [REM] Remove playground from travis deploy script
  • CSCMETAX-499: [ADD] Logo and publisher home page for ida and att data catalogs
  • CSCMETAX-500: [REF] Send the complete/expanded data_catalog json in RabbitMQ catalog record create and update messages
  • CSCMETAX-504: [REF] Change ida and att data catalog titles
  • CSCMETAX-61: [ADD|FIX] Add missing pas state to api_schemas. Fix json structure
  • CSCMETAX-505: [ADD] Common API query parameter ?dryrun=bool

Release v0.9.2 Hotfix

02 Nov 13:06
c4a6209
Compare
Choose a tag to compare
Merge pull request #382 from CSCfi/CSCMETAX-496-hotfix-file_name-fiel…

Release v0.9.1

23 Oct 11:40
5361a07
Compare
Choose a tag to compare

Release Candidate v0.9.1-rc1

23 Oct 11:06
Compare
Choose a tag to compare
Pre-release
  • CSCMETAX-61: [ADD] Improve docs. Try to clarify reference data section of datasets.rst. Add examples of ref data use. Add a more detailed example of reasoning how to select reference data for a certain object. Add /_search?pretty=true to ref data table urls.
  • CSCMETAX-61: [ADD] Improve docs: Add more stuff about tietomallit.suomi.fi visualizations and its importance
  • CSCMETAX-61: [ADD] Improve docs: Changes mostly to make schemas and schema validation errors easier to reason about. 1) Move schema file links from general section to sections where they are more relevant, 2) Add "common schema validation errors" section for hard-to-decipher errors and tips, 3) Change dataset reference data table to contain info when a relation is an array
  • CSCMETAX-490: [ADD] IDA and ATT schemas: Make org name non-mandatory. Do mandatory-checking in backend code. To not force end users to provide temporary data that is going to get overwritten anyway, when using identifiers from reference data.
  • CSCMETAX-489: [ADD] New HTMLToJSONRenderer, which is enabled in settings.py instead of BrowsableApiRenderer, when debug=False (production). Returns JSON responses, even when text/html is requested in Accept HTTP header, since there is no dedicated html-renderer in use.
  • CSCMETAX-491: [ADD] Add script to generate html from swagger.yaml
  • CSCMETAX-489: [FIX] Order of renderers in settings.py. ApiErrorView list also appeared to be broken when accept header is text/html (browser accessing browsable api)
  • CSCMETAX-61: [ADD] Update app python dependencies, including Django version update

Release v0.9.0

15 Oct 12:10
2f26982
Compare
Choose a tag to compare