Skip to content

Commit f934551

Browse files
Merge pull request #59 from tum-gis/2.1.0-beta
Release 2.1.0 beta
2 parents 15685c6 + a2ba7c5 commit f934551

File tree

3 files changed

+38
-5
lines changed

3 files changed

+38
-5
lines changed

CHANGELOG.md

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,16 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
66
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77
For releases `< 1.0.0` minor version steps may indicate breaking changes too.
88

9+
## [2.1.0-beta] - 2024-04-17
10+
### Added
11+
- Variable that defines after how many seconds of user inactivity the user is logged out `who.timeout = 1800`
12+
13+
### Fixed
14+
- Various `ckanext-grouphierarchy-sddi` updates and fixing of styling bugs. See [CHANGELOG](https://github.com/tum-gis/ckanext-grouphierarchy-sddi/releases/tag/1.1.4) for changes.
15+
- Removed "Remember me" button on the login page
16+
- Fixing the missing variables for personalization of the main page
17+
- Repair the view of the dataset added by the organization on the main page
18+
919
## [2.0.1] - 2023-11-07
1020

1121
### Added
@@ -222,7 +232,8 @@ for production environments.**
222232

223233
### Known issues
224234

225-
[Unreleased]: https://github.com/tum-gis/ckan-docker/compare/2.0.1...HEAD
235+
[Unreleased]: https://github.com/tum-gis/ckan-docker/compare/2.1.0...HEAD
236+
[2.1.0-beta]: https://github.com/tum-gis/ckan-docker/compare/2.0.1...2.1.0-beta
226237
[2.0.1]: https://github.com/tum-gis/ckan-docker/compare/2.0.0...2.0.1
227238
[2.0.0]: https://github.com/tum-gis/ckan-docker/compare/1.2.0...2.0.0
228239
[1.2.0]: https://github.com/tum-gis/ckan-docker/compare/1.1.3...1.2.0

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ are alway pinned to a stable release number or commit hash.
181181
|---|---|:---:|:---:|:---:|---|
182182
| [`scheming`](https://github.com/MarijaKnezevic/ckanext-scheming) | `f98daec` | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: | Configure and share CKAN dataset metadata forms. |
183183
| [`hierarchy`](https://github.com/ckan/ckanext-hierarchy) | `v1.2.0` | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: | Allows to organize organizations and groups in a hierarchy tree (nested groups/orgs). |
184-
| [`grouphierarchysddi`](https://github.com/tum-gis/ckanext-grouphierarchy-sddi) | `1.1.3` | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: | Extends `hierarchy` with pre-defined groups and topics of the SDDI concept. |
184+
| [`grouphierarchysddi`](https://github.com/tum-gis/ckanext-grouphierarchy-sddi) | `1.1.4` | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: | Extends `hierarchy` with pre-defined groups and topics of the SDDI concept. |
185185
| [`relation`](https://github.com/tum-gis/ckanext-relation-sddi) | `1.0.3` | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: | Enables to create and visualize different types of relations (*realated_to*, *depends_on*, *part_of*) between catalog entries. |
186186
| [`spatial`](https://github.com/MarijaKnezevic/ckanext-spatial) | `c2118b9` | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: | Provides the ability to search for datasets according to a given spatial extent. |
187187
| [`datesearch`](https://github.com/MarijaKnezevic/ckanext-datesearch) | `1.0.2` | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: | Provides the ability to search for datasets according to a given time frame. The search includes all datasets, in which the time of validity overlaps in at least one second with the search time frame. |

sddi-base/Dockerfile

Lines changed: 25 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ RUN set -ex && \
2424
ls -lah /wheels
2525

2626
# ckanext-grouphierarchy ######################################################
27-
ARG CKANEXT_SDDI_VERSION="1.1.3"
27+
ARG CKANEXT_SDDI_VERSION="1.1.4"
2828
ENV CKANEXT_SDDI_VERSION=${CKANEXT_SDDI_VERSION}
2929

3030
RUN set -ex && \
@@ -87,6 +87,19 @@ RUN set -ex && \
8787
pip wheel --wheel-dir=/wheels \
8888
git+${CKANEXT_REPEATING_GITHUB_URL}.git@${CKANEXT_REPEATING_VERSION}#egg=ckanext-repeating
8989

90+
# ckanext-clamav ##############################################################
91+
ARG CKANEXT_CALMAV_VERSION="master"
92+
ENV CKANEXT_CALMAV_VERSION=${CKANEXT_CALMAV_VERSION}
93+
ENV CKANEXT_CALMAV_GITHUB_URL="https://github.com/mutantsan/ckanext-clamav"
94+
95+
RUN set -ex && \
96+
pip wheel --wheel-dir=/wheels -r \
97+
https://raw.githubusercontent.com/mutantsan/ckanext-clamav/${CKANEXT_CALMAV_VERSION}/requirements.txt && \
98+
curl -o /wheels/ckanext-clamav.txt \
99+
https://raw.githubusercontent.com/mutantsan/ckanext-clamav/${CKANEXT_CALMAV_VERSION}/requirements.txt && \
100+
pip wheel --wheel-dir=/wheels \
101+
git+${CKANEXT_CALMAV_GITHUB_URL}.git@${CKANEXT_CALMAV_VERSION}#egg=ckanext-clamav
102+
90103
# ckanext-password-policy #####################################################
91104
ARG CKANEXT_PASSWORD_POLICY_VERSION="5618dc9"
92105
ENV CKANEXT_PASSWORD_POLICY_VERSION=${CKANEXT_PASSWORD_POLICY_VERSION}
@@ -137,7 +150,7 @@ FROM ghcr.io/keitaroinc/ckan:${CKAN_VERSION_RUNTIME_STAGE} as runtime
137150
ENV CKAN__PLUGINS "image_view text_view recline_view webpage_view datastore datapusher \
138151
hierarchy_display hierarchy_form display_group relation \
139152
spatial_metadata spatial_query datesearch repeating composite scheming_datasets \
140-
password_policy \
153+
password_policy clamav \
141154
envvars"
142155

143156
# Extra env for compatibility with ckan/base Docker images for downstream k8s
@@ -151,6 +164,8 @@ USER root
151164
RUN set -ex && \
152165
apt-get update && \
153166
apt-get install -y --no-install-recommends \
167+
clamav \
168+
clamav-daemon \
154169
libxml2-dev libxslt1-dev libgeos-c1v5 && \
155170
pip install --no-cache-dir -U pip && \
156171
rm -rf /var/lib/apt/lists/*
@@ -195,7 +210,12 @@ RUN set -ex && \
195210
# ckanext-repeating ###########################################################
196211
RUN set -ex && \
197212
pip install --no-index --find-links=${APP_DIR}/ext_wheels ckanext-repeating
198-
213+
214+
# ckanext-clamav ##############################################################
215+
RUN set -ex && \
216+
pip install -r ${APP_DIR}/ext_wheels/ckanext-clamav.txt && \
217+
pip install --no-index --find-links=${APP_DIR}/ext_wheels ckanext-clamav
218+
199219
# ckanext-password-policy #####################################################
200220
RUN set -ex && \
201221
pip install -r ${APP_DIR}/ext_wheels/ckanext-password-policy.txt && \
@@ -219,6 +239,8 @@ RUN set -ex && \
219239
ckan config-tool "${CKAN_INI}" "ckanext.spatial.common_map.type = custom" && \
220240
ckan config-tool "${CKAN_INI}" "ckanext.spatial.common_map.custom.url = https://tile.openstreetmap.de/{z}/{x}/{y}.png" && \
221241
ckan config-tool "${CKAN_INI}" "ckanext.spatial.common_map.attribution = <a href="https://www.openstreetmap.org/copyright">OpenStreetMap</a> contributors." && \
242+
ckan config-tool "${CKAN_INI}" "who.timeout = 1800" && \
243+
ckan config-tool "${CKAN_INI}" "ckan.auth.public_user_details = False" && \
222244
echo "${TZ}" > /etc/timezone && \
223245
mkdir -p ${CKAN_STORAGE_PATH} && \
224246
chown -R ckan:ckan ${APP_DIR} ${CKAN_STORAGE_PATH} && \

0 commit comments

Comments
 (0)