Skip to content

Commit b3e0044

Browse files
committed
upgrade to django-sodar-core v1.1.2 (#2068, #2095)
1 parent 9af59ca commit b3e0044

File tree

5 files changed

+14
-15
lines changed

5 files changed

+14
-15
lines changed

CHANGELOG.rst

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ Added
1313

1414
- **General**
1515
- drf-spectacular support (#2051)
16+
- ``PROJECTROLES_SUPPORT_CONTACT`` setting support (#2095)
1617
- **Landingzones**
1718
- Site read-only mode support (#2051)
1819
- **Samplesheets**
@@ -26,7 +27,7 @@ Changed
2627
-------
2728

2829
- **General**
29-
- Upgrade to django-sodar-core v1.1.1 (#2051)
30+
- Upgrade to django-sodar-core v1.1.2 (#2051, #2068, #2095)
3031
- Upgrade to python-irodsclient v3.0.0 (#2079)
3132
- **Landingzones**
3233
- Define app settings as ``PluginAppSettingDef`` objects (#2051)
@@ -47,6 +48,7 @@ Removed
4748

4849
- **General**
4950
- DRF generateschema support (#2051)
51+
- ``SODAR_SUPPORT_EMAIL`` and ``SODAR_SUPPORT_EMAIL`` settings (#2095)
5052

5153

5254
v1.0.1 (2025-03-12)

config/settings/base.py

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -641,6 +641,7 @@ def set_logging(level=None):
641641
'This site is currently in read-only mode. Modifying data is not permitted.'
642642
'This includes landing zone operations.',
643643
)
644+
PROJECTROLES_SUPPORT_CONTACT = env.str('PROJECTROLES_SUPPORT_CONTACT', None)
644645

645646
# Warn about unsupported browsers (IE)
646647
PROJECTROLES_BROWSER_WARNING = True
@@ -676,13 +677,6 @@ def set_logging(level=None):
676677
)
677678

678679

679-
# SODAR site specific settings (not derived from SODAR Core)
680-
SODAR_SUPPORT_EMAIL = env.str(
681-
'SODAR_SUPPORT_EMAIL', '[email protected]'
682-
)
683-
SODAR_SUPPORT_NAME = env.str('SODAR_SUPPORT_NAME', 'CUBI Helpdesk')
684-
685-
686680
# iRODS settings shared by iRODS using apps
687681
ENABLE_IRODS = env.bool('ENABLE_IRODS', True)
688682
IRODS_HOST = env.str('IRODS_HOST', '127.0.0.1')

docs_manual/source/sodar_release_notes.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,8 @@ Release for SODAR Core 1.1 upgrade and feature updates.
1515

1616
- Add landing zone validation and moving progress indicators
1717
- Upgrade to python-irodsclient v3.0
18-
- Upgrade to SODAR Core v1.1.1
18+
- Upgrade to SODAR Core v1.1.2
19+
- Replace SODAR_SUPPORT_* settings with PROJECTROLES_SUPPORT_CONTACT
1920
- `SODAR Core v1.1 updates <https://sodar-core.readthedocs.io/en/latest/major_changes.html#v1-1-1-2025-03-11>`_:
2021
Project deletion, project leaving, paginated project list, site read-only
2122
mode, etc.

requirements/base.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,8 +80,8 @@ mistune==3.1.0
8080
django-autocomplete-light==3.11.0
8181

8282
# SODAR Core
83-
django-sodar-core==1.1.1
84-
# -e git+https://github.com/bihealth/sodar-core.git@12186b969779c23a5467c8c714be3c86e5fdc5b8#egg=django-sodar-core
83+
django-sodar-core==1.1.2
84+
# -e git+https://github.com/bihealth/sodar-core.git@916f88979a94d22a52eb50be9779724ef34d8eae#egg=django-sodar-core
8585

8686
# Celery
8787
celery==5.4.0
Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,14 @@
11
{% load projectroles_common_tags %}
22

33
{% get_django_setting 'SITE_TITLE' as site_title %}
4-
{% get_django_setting 'SODAR_SUPPORT_EMAIL' as support_email %}
5-
{% get_django_setting 'SODAR_SUPPORT_NAME' as support_name %}
4+
{% get_django_setting 'PROJECTROLES_SUPPORT_CONTACT' as support_contact %}
5+
66

77
Developed by BIH CUBI.
8-
{% if support_email %}
8+
{% if support_contact %}
99
For support please contact
10-
<a href="mailto:{{ support_email }}">{% if support_name %}{{ support_name }}{% else %}{{ support_email }}{% endif %}</a>.
10+
{% with support_contact|split:':' as sc_split %}
11+
<a href="mailto:{{ sc_split.1 }}">{{ sc_split.0 }}</a>.
12+
{% endwith %}
1113
{% endif %}
1214
{{ site_title }} v{% site_version %}

0 commit comments

Comments
 (0)