Skip to content
Snippets Groups Projects
Verified Commit 6a8b5ccf authored by Timm Fitschen's avatar Timm Fitschen
Browse files

REL: fix some license headers and Changelog

parent 7d83646c
Branches
Tags
1 merge request!33MAINT: change arguments of create_user
Pipeline #15387 passed
...@@ -9,10 +9,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ...@@ -9,10 +9,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Added ### ### Added ###
- It is possible now to supply a password for caosdb_admin on the command line and also activate the user directly using "-c". - It is possible now to supply a password for caosdb_admin on the command line
and also activate the user directly using "-c".
* Added examples for complex data models to documentation * Added examples for complex data models to documentation
* extended apiutils with `resolve_reference(Property)` * extended apiutils with `resolve_reference(Property)`
* is_reference function for Properties * is_reference function for Properties
* function `retrieve_substructure` that recursively adds connected entities.
### Changed ### ### Changed ###
...@@ -24,8 +26,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ...@@ -24,8 +26,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
* Entity.add_property and Entity.add_parent do not accept `**kwargs`-style * Entity.add_property and Entity.add_parent do not accept `**kwargs`-style
keywords anymore. Formerly known keywords have been refactored into named keywords anymore. Formerly known keywords have been refactored into named
parameters. parameters.
* [#35](https://gitlab.com/caosdb/caosdb-pylib/-/issues/35) Loggers now use the name of * [#35](https://gitlab.com/caosdb/caosdb-pylib/-/issues/35) Loggers now use the
the unit where they are called instead of a static name name of the unit where they are called instead of a static name
### Deprecated ### ### Deprecated ###
...@@ -59,7 +61,6 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ...@@ -59,7 +61,6 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
* `etag` property for the `caosdb.Query` class. The etag allows to debug the * `etag` property for the `caosdb.Query` class. The etag allows to debug the
caching and to decide whether the server has changed between queries. caching and to decide whether the server has changed between queries.
* function `_read_config_files` to read `pycaosdb.ini` files from different paths. * function `_read_config_files` to read `pycaosdb.ini` files from different paths.
* function `retrieve_substructure` that recursively adds connected entities.
### Changed ### ### Changed ###
......
#!/bin/python # -*- coding: utf-8 -*-
# Test configuration schema #
# A. Schlemmer, 01/2021 # This file is a part of the CaosDB Project.
#
# Copyright (C) 2021 Alexander Schlemmer
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as
# published by the Free Software Foundation, either version 3 of the
# License, or (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Affero General Public License for more details.
#
# You should have received a copy of the GNU Affero General Public License
# along with this program. If not, see <https://www.gnu.org/licenses/>.
#
"""Test configuration schema.
A. Schlemmer, 01/2021
"""
from jsonschema.exceptions import ValidationError from jsonschema.exceptions import ValidationError
from pytest import raises from pytest import raises
from glob import glob from glob import glob
......
# -*- coding: utf-8 -*- # -*- coding: utf-8 -*-
# #
# ** header v3.0
# This file is a part of the CaosDB Project. # This file is a part of the CaosDB Project.
# #
# Copyright (C) 2021 IndiScale GmbH <info@indiscale.com> # Copyright (C) 2021 IndiScale GmbH <info@indiscale.com>
...@@ -19,8 +18,6 @@ ...@@ -19,8 +18,6 @@
# You should have received a copy of the GNU Affero General Public License # You should have received a copy of the GNU Affero General Public License
# along with this program. If not, see <https://www.gnu.org/licenses/>. # along with this program. If not, see <https://www.gnu.org/licenses/>.
# #
# ** end header
#
import os import os
import warnings import warnings
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment