Research Data Management Organiser (RDMO)
Description
How to upgrade
pip install --upgrade rdmo==2.3.0rc2
python manage.py upgrade
Important changes to templates
In RDMO 2.3.0, we made changes to the core/base.html template. If changed this file in you local theme you need to update it accordingly. At the top, the current language is set at an attribute to <html>:
{% load static compress core_tags i18n %}{% get_current_language as lang_code %}<!DOCTYPE html>
<html lang="{{ lang_code }}">
The {% block vendor %} needs to be removed.
The {% block css %} now looks like this:
{% block css %}
<link rel="stylesheet" href="{% static 'core/css/base.css' %}" />
{% compress css %}
<link rel="stylesheet" type="text/x-scss" href="{% static 'core/css/base.scss' %}" />
<link rel="stylesheet" type="text/x-scss" href="{% static 'core/css/fonts.scss' %}" />
<link rel="stylesheet" type="text/x-scss" href="{% static 'core/css/footer.scss' %}" />
<link rel="stylesheet" type="text/x-scss" href="{% static 'core/css/style.scss' %}" />
{% endcompress %}
{% endblock %}
And the {% block js %} now looks like this:
{% block js %}
<script src="{% url 'javascript-catalog' %}"></script>
<script src="{% static 'core/js/base.js' %}"></script>
{% endblock %}
See https://github.com/rdmorganiser/rdmo/blob/2.3.0/rdmo/core/templates/core/base.html for the file in the 2.3.0 branch.
We also changed slightly changed the projects/project_detail_sidebar.html template. If changed this file in you local theme you need to update it and change the url name project_question to project_interview:
...
<ul class="list-unstyled">
<li id="project-questions">
<strong>
{% if can_change_value %}
<a href="{% url 'project_interview' project.pk %}">{% trans 'Answer questions' %}</a>
{% else %}
<a href="{% url 'project_interview' project.pk %}">{% trans 'View questions' %}</a>
{% endif %}
</strong>
</li>
</ul>
...
Changelog
- Add new interview interface based on React and Redux (#518)
- Text and Textarea widgets are now saved automatically
- Select dropdown widgets are now always searchable
- Show the unit of a question next to the answer field (#499)
- Tabs (e.g. Datasets) and single values can be reused in different projects.
- An "Apply to all" button can be used to paste information into all the tabs.
- Remove custom widgets feature (remove
QUESTIONS_WIDGETSfrom settings) - Fix several issues regarding the interview (#501, #224, #1191)
- Display attributes in interview to admins, editors, reviewers (#224)
- Improve accessibility (#514, #1199)
- Add the possibility to copy a project including all its values.
- Add the option to make a project "visible" to all users (#152).
- Users interact with visible projects as if they would have the Guest role.
- With the new review feature, this can be used for templates for projects and datasets.
- Sites and groups can be used to restrict this behaviour.
- This feature is enabled by default via the
PROJECT_VISIBILITYsetting
- Add a contact form modal to each question to contact support (#502)
PROJECT_CONTACT = TrueandPROJECT_CONTACT_RECIPIENTS = [list of email strings]enable this feature
- Add signal handlers to automatically sync of project views and tasks (#345, #966, #1198)
- When
PROJECT_VIEWS_SYNC = TrueorPROJECT_TASKS_SYNC = Trueis set, the views or tasks for a project are automatically synchronized, depending on the catalogs configured for them.
- When
- Add snapshot export plugins (which work like project export plugins)
- Add
PROJECT_SNAPSHOT_EXPORTSto settings to register snapshot export plugins
- Add
- Refactor the
acceptfield for project import plugins- The field is now a dict of the form
{'content_type': ['suffix']} - The old form should still work
- The field is now a dict of the form
- Add
rdmo.accounts.middleware.TermsAndConditionsRedirectMiddleware'(#141, #161)- The (optional) middleware checks if a user has already confirmed the Terms of use.
- If not, users need to confirm to proceed.
- Optionally, when a confirmation renewal is required, the
ACCOUNT_TERMS_OF_USE_DATE = '2025-02-25'can be set to invalidate previous confirmations.
- Add
rdmo-adminscriptrdmo-admin npm run [build:prod|build|watch]can be used to build the front endrdmo-admin buildcan be used to build the python packagerdmo-admin messages [make|compile]can be used create and compile the translationsrdmo-admin cleancan be used remove most files which are not version controlled
- Add the support for custom markdown templates injected into help texts
- The code
{{ code }}is replaced by a template specified in theMARKDOWN_TEMPLATESsetting - The `TEMPLATES_EXECUTE_SCRIPT_TAGS' setting controls whether Java script code can be executed.
- The code
- Add minimum required version to RDMO XML exports (#1205).
- Use the
uriinstead ofpathfor attributes in the Django admin interface. - Fix a set of bugs where the maximum length of a field was not correctly validated by the API.
- Use
lualatexwhen usingPandoc >= 3.0. - Remove the
download_vendor_filesstep of the setup- Remove
VENDORandVENDOR_CDNfrom settings.
- Remove
- Remove
PROJECT_QUESTIONS_AUTOSAVEandPROJECT_QUESTIONS_CYCLE_SETS. - Update Python and JavaScript dependencies.
- Drop support for Python 3.8.
Notes
Files
rdmorganiser/rdmo-2.3.0rc2.zip
Files
(2.4 MB)
| Name | Size | Download all |
|---|---|---|
|
md5:b4e59e6f6f6e02201210f06c7ad05c3a
|
2.4 MB | Preview Download |
Additional details
Related works
- Is supplement to
- Software: https://github.com/rdmorganiser/rdmo/tree/2.3.0rc2 (URL)
Software
- Repository URL
- https://github.com/rdmorganiser/rdmo