Skip to content
Snippets Groups Projects
Commit 2efc717f authored by Florian Spreckelsen's avatar Florian Spreckelsen
Browse files

Merge branch 'release-0.12.2' into 'main'

Release 0.12.2

See merge request !117
parents 59c53948 6a5005a0
No related branches found
No related tags found
1 merge request!117Release 0.12.2
Pipeline #48741 passed
...@@ -5,6 +5,14 @@ All notable changes to this project will be documented in this file. ...@@ -5,6 +5,14 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/), The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
## [0.12.2] - 2024-03-18
### Fixed
* Unknown error when trying to access the user list.
[linkahead-server#250](https://gitlab.com/linkahead/linkahead-server/-/issues/250)
* Legacy integer ids are incremented by 1 again, not by 2.
## [0.12.1] - 2023-12-13 ## [0.12.1] - 2023-12-13
(Timm Fitschen) (Timm Fitschen)
......
...@@ -23,6 +23,6 @@ authors: ...@@ -23,6 +23,6 @@ authors:
given-names: Stefan given-names: Stefan
orcid: https://orcid.org/0000-0001-7214-8125 orcid: https://orcid.org/0000-0001-7214-8125
title: "CaosDB - Server" title: "CaosDB - Server"
version: 0.12.1 version: 0.12.2
doi: 10.3390/data4020083 doi: 10.3390/data4020083
date-released: 2023-12-13 date-released: 2024-03-18
...@@ -241,6 +241,7 @@ Stand-alone documentation is built using Sphinx: `make doc` ...@@ -241,6 +241,7 @@ Stand-alone documentation is built using Sphinx: `make doc`
- recommonmark - recommonmark
- sphinx - sphinx
- sphinx-rtd-theme - sphinx-rtd-theme
- sphinx-a4doc
- sphinxcontrib-plantuml - sphinxcontrib-plantuml
- javasphinx :: `pip3 install --user javasphinx` - javasphinx :: `pip3 install --user javasphinx`
- Alternative, if javasphinx fails because python3-sphinx is too recent: - Alternative, if javasphinx fails because python3-sphinx is too recent:
......
...@@ -25,7 +25,7 @@ ...@@ -25,7 +25,7 @@
<modelVersion>4.0.0</modelVersion> <modelVersion>4.0.0</modelVersion>
<groupId>org.caosdb</groupId> <groupId>org.caosdb</groupId>
<artifactId>caosdb-server</artifactId> <artifactId>caosdb-server</artifactId>
<version>0.12.1</version> <version>0.12.2</version>
<packaging>jar</packaging> <packaging>jar</packaging>
<name>CaosDB Server</name> <name>CaosDB Server</name>
<scm> <scm>
......
sphinx-rtd-theme
sphinxcontrib-plantuml
javasphinx
sphinx-a4doc
...@@ -26,9 +26,9 @@ copyright = '2023, IndiScale GmbH' ...@@ -26,9 +26,9 @@ copyright = '2023, IndiScale GmbH'
author = 'Daniel Hornung, Timm Fitschen' author = 'Daniel Hornung, Timm Fitschen'
# The short X.Y version # The short X.Y version
version = '0.12.1' version = '0.12.2'
# The full version, including alpha/beta/rc tags # The full version, including alpha/beta/rc tags
release = '0.12.1' release = '0.12.2'
# -- General configuration --------------------------------------------------- # -- General configuration ---------------------------------------------------
......
...@@ -19,7 +19,9 @@ Welcome to caosdb-server's documentation! ...@@ -19,7 +19,9 @@ Welcome to caosdb-server's documentation!
Changelog <CHANGELOG> Changelog <CHANGELOG>
specification/index.rst specification/index.rst
Glossary Glossary
Server Internals<_apidoc/packages> Server Internals <_apidoc/packages>
Related Projects <related_projects/index>
Back to overview <https://docs.indiscale.com/>
Welcome to the CaosDB, the flexible semantic data management toolkit! Welcome to the CaosDB, the flexible semantic data management toolkit!
......
Related Projects
++++++++++++++++
.. toctree::
:maxdepth: 2
:caption: Contents:
:hidden:
.. container:: projects
For in-depth documentation for users, administrators and developers, you may want to visit the subproject-specific documentation pages for:
:`MySQL backend <https://docs.indiscale.com/caosdb-mysqlbackend>`_: The MySQL/MariaDB components of the LinkAhead server.
:`WebUI <https://docs.indiscale.com/caosdb-webui>`_: The default web frontend for the LinkAhead server.
:`PyLinkAhead <https://docs.indiscale.com/caosdb-pylib>`_: The LinkAhead Python library.
:`Advanced user tools <https://docs.indiscale.com/caosdb-advanced-user-tools>`_: The advanced Python tools for LinkAhead.
:`LinkAhead Crawler <https://docs.indiscale.com/caosdb-crawler/>`_: The crawler is the main tool for automatic data integration in LinkAhead.
:`LinkAhead <https://docs.indiscale.com/caosdb-deploy>`_: Your all inclusive LinkAhead software package.
:`Back to Overview <https://docs.indiscale.com/>`_: LinkAhead Documentation.
...@@ -54,7 +54,7 @@ public class MySQLListUsers extends MySQLTransaction implements ListUsersImpl { ...@@ -54,7 +54,7 @@ public class MySQLListUsers extends MySQLTransaction implements ListUsersImpl {
user.realm = rs.getString("realm"); user.realm = rs.getString("realm");
user.email = rs.getString("email"); user.email = rs.getString("email");
user.entity = rs.getString("entity"); user.entity = rs.getString("entity");
if (user.entity.isBlank() || user.entity.equals("0")) { if (user.entity == null || user.entity.isBlank() || user.entity.equals("0")) {
user.entity = null; user.entity = null;
} }
user.status = UserStatus.valueOf(rs.getString("status")); user.status = UserStatus.valueOf(rs.getString("status"));
......
...@@ -60,7 +60,6 @@ public class LegacyIds extends EntityIdRegistryStrategy { ...@@ -60,7 +60,6 @@ public class LegacyIds extends EntityIdRegistryStrategy {
if (!isInit) { if (!isInit) {
init(); init();
} }
++currentMaxId;
return Integer.toString(++currentMaxId); return Integer.toString(++currentMaxId);
} }
......
...@@ -6,7 +6,8 @@ RUN apt-get update && \ ...@@ -6,7 +6,8 @@ RUN apt-get update && \
libtiff5-dev libjpeg-dev libopenjp2-7-dev zlib1g-dev \ libtiff5-dev libjpeg-dev libopenjp2-7-dev zlib1g-dev \
libfreetype6-dev liblcms2-dev libwebp-dev tcl8.6-dev tk8.6-dev python3-tk \ libfreetype6-dev liblcms2-dev libwebp-dev tcl8.6-dev tk8.6-dev python3-tk \
libharfbuzz-dev libfribidi-dev libxcb1-dev \ libharfbuzz-dev libfribidi-dev libxcb1-dev \
python3-pip screen libpam0g-dev unzip curl shunit2 python3-pip screen libpam0g-dev unzip curl shunit2 \
python3-lxml libxml2-dev libxslt-dev
RUN apt-get install -y \ RUN apt-get install -y \
libcairo2-dev libcairo2-dev
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment