diff --git a/CHANGELOG.md b/CHANGELOG.md index acf202950f2f2039e0e18625105d7e76b5963c1b..fd2e5e4c8bf90660e28c2d9615465183b6154527 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,11 +4,18 @@ 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/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [0.13.3 - 2024-04-23] ## + +### Fixed ### + +- Using correct (dynamic) base path for file upload. +- CSS with scrolling for long tables and entity names. + ## [0.13.2 - 2024-02-20] ## ### Fixed ### -* [#247](https://gitlab.com/linkahead/linkahead-webui/-/issues/247) Linkify absorbs commas +* [#247](https://gitlab.com/linkahead/linkahead-webui/-/issues/247) Linkify absorbs commas etc. (, . : ;) into link adress * Query shortcuts are now displayed when using the new query panel. * [249](https://gitlab.com/linkahead/linkahead-webui/-/issues/249) only the diff --git a/src/core/css/linkahead.css b/src/core/css/linkahead.css index b211ba3332bb566c4228cf4ab472ecb5e5a3478a..ab9f5ecb1e269857becf52de49a69000531c2666 100644 --- a/src/core/css/linkahead.css +++ b/src/core/css/linkahead.css @@ -188,6 +188,7 @@ body[data-hidden-properties="true"] .caosdb-v-property-row:nth-child(odd) { padding-top: 2rem; color: #6c757d; } + /* Bootstrap's default is too prominent for our uses. */ code { background: none; diff --git a/src/core/css/webcaosdb.css b/src/core/css/webcaosdb.css index 43376b65e9e73fa848983680cf7e966b890c5f12..bf8f2666bba3bb2a03c7dc3c1cca70ac439d4dca 100644 --- a/src/core/css/webcaosdb.css +++ b/src/core/css/webcaosdb.css @@ -249,6 +249,7 @@ h5 { .caosdb-v-property-left-col { min-height: 30px; display: inline-block; + overflow-x: scroll; } .caosdb-v-property-left-col > * { @@ -870,6 +871,10 @@ details p { display: block; } +.caosdb-select-table > .card-body { + overflow-x: scroll; +} + .caosdb-f-property-value .caosdb-value-list details summary::after { content: "..."; } diff --git a/src/core/js/fileupload.js b/src/core/js/fileupload.js index ef9b59100829f9172cc4fd1fdfa385f0e0430dc4..c5995c0594e58c155c2b46bb8c6d272bd21b84c9 100644 --- a/src/core/js/fileupload.js +++ b/src/core/js/fileupload.js @@ -35,7 +35,7 @@ var fileupload = new function() { </button> </div> <div class="modal-body"> - <form action="/Entity/" class="dropzone dz-clickable" > + <form action="${connection.getBasePath()}Entity/" class="dropzone dz-clickable" > <label>path</label> <input id="upload-path" type="text" value="/"/> <div class="dz-message"> diff --git a/src/core/xsl/entity.xsl b/src/core/xsl/entity.xsl index 533b09abd71f7bebeb7602906a053d10bf85b907..4d14262a1f6b7e923567b8ebc358c15a77c958e2 100644 --- a/src/core/xsl/entity.xsl +++ b/src/core/xsl/entity.xsl @@ -52,7 +52,7 @@ <xsl:template match="@id" mode="backreference-link"> <a class="caosdb-backref-link btn caosdb-id-button" title="Find all entities which reference this one."> <xsl:attribute name="href"> - <xsl:value-of select="concat($entitypath, '?P=0L10&query=FIND+Entity+which+references+', current())"/> + <xsl:value-of select="concat($entitypath, '?P=0L10&query=FIND+Entity+which+references+%22', current(), '%22')"/> </xsl:attribute> <span class="bg-dark badge d-none d-sm-inline"> <i class="bi-link"></i> References diff --git a/src/doc/conf.py b/src/doc/conf.py index a33fa2072f6c2c82e644be56519081d46728434a..a94d3bde2f2cb42a56bcfbf9420e928493428ac1 100644 --- a/src/doc/conf.py +++ b/src/doc/conf.py @@ -26,9 +26,9 @@ copyright = '2022 - 2024, IndiScale GmbH' author = 'Daniel Hornung' # The short X.Y version -version = '0.13.2' +version = '0.13.3' # The full version, including alpha/beta/rc tags -release = '0.13.2' +release = '0.13.3' # -- General configuration --------------------------------------------------- diff --git a/test/core/js/modules/entity.xsl.js b/test/core/js/modules/entity.xsl.js index feb543620ddfdb77b8457bb5c9125799ffeaba74..7604d38c2e898e3dd3d9c5f0d207d3169d0752bc 100644 --- a/test/core/js/modules/entity.xsl.js +++ b/test/core/js/modules/entity.xsl.js @@ -108,7 +108,7 @@ QUnit.test("back references", function(assert) { var link = xslt(xml, xsl).firstChild; assert.equal(link.tagName, "A", "is a link"); - assert.equal(link.getAttribute("href"), "/entitypath/?P=0L10&query=FIND+Entity+which+references+265", "query correct."); + assert.equal(link.getAttribute("href"), "/entitypath/?P=0L10&query=FIND+Entity+which+references+%22265%22", "query correct."); }); QUnit.test("Entities have a caosdb-annotation-section", function(assert) {