Skip to content

Commit 702bedd

Browse files
authored
Merge pull request #1479 from OPUS4/v4.10
Release OPUS 4.10
2 parents fdf3414 + 159c897 commit 702bedd

74 files changed

Lines changed: 929 additions & 1347 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

CHANGES.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
# OPUS 4 Change Log
22

3+
## Release 4.10 - 2026-05-12
4+
5+
OPUS 4.10 Project on GitHub
6+
https://github.com/orgs/OPUS4/projects/74
7+
38
## Release 4.9 - 2026-04-14
49

510
OPUS 4.9 Project on GitHub

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ mostly.
99

1010
## OPUS 4
1111

12-
The current version of OPUS 4 is __4.9__. It is available on the [master][MASTER] branch and compatible with
12+
The current version of OPUS 4 is __4.10__. It is available on the [master][MASTER] branch and compatible with
1313
PHP 8.1 to 8.2. PHP 8.3 and beyond are not supported yet.
1414

1515
[Documentation][DOC]

RELEASE_NOTES.md

Lines changed: 64 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,69 @@
11
# OPUS 4 Release Notes
22

3+
## Release 4.10 - 2026-05-12
4+
5+
Der neue Release bringt insbesondere Veränderungen bei der Sprachverwaltung und
6+
den Optionen, die in der Administration editierbar sind. Weiterhin gab es eine
7+
Reihe kleinerer Fehlerbehebungen.
8+
9+
### Update auf OPUS 4.10
10+
11+
Das Updateskript, `bin/update.sh`, muss ausgeführt werden, da es Änderungen an
12+
der Datenbank und weitere Updateschritte gibt.
13+
14+
- Tabelle `configuration` wird angelegt
15+
- Tabelle `languages` wird entfernt
16+
- Konfiguration in `config.xml` with in die Datenbank übertragen und die
17+
Datei optional gelöscht
18+
- Aktive Sprachen werden in neue Konfigurationsoptionen übernommen
19+
20+
### Sprachverwaltung
21+
22+
Die Sprachverwaltung wurde aus der Administration entfernt. Dafür werden jetzt
23+
485 ISO 639 Sprachen im Standard unterstützt. Welche Sprachen in den Formularen
24+
zur Auswahl stehen sollen, lässt sich über Optionen einstellen.
25+
26+
Mehr dazu findet sich im OPUS 4 Handbuch unter
27+
https://www.opus-repository.org/userdoc/admin/languages.html
28+
29+
Beim Update werden die aktiven Sprachen automatisch in die neue Konfiguration
30+
übernommen.
31+
32+
### Konfiguration
33+
34+
Bislang sind nur wenige Optionen in der Administration editierbar. Diese wurde
35+
bisher in `application/configs/config.xml` gespeichert. Dafür gibt es jetzt eine
36+
Tabelle in der Datenbank. Beim Update wird der Inhalt von `config.xml` in die
37+
Datenbank übertragen und die Datei dann (optional) gelöscht.
38+
39+
Die editierbaren Optionen werden nun in `application/configs/options.yml`
40+
definiert. Generell kann die Liste lokal erweitert werden. Im Standard werden
41+
im Laufe der Zeit mehr Optionen in der Weboberfläche verfügbar gemacht werden.
42+
43+
### RSS-Links
44+
45+
RSS-Links können nun ausgeblendet werden. Sie werden automatisch ausgeblendet,
46+
wenn ein User keinen Zugriff auf das RSS-Modul hat.
47+
48+
rss.showLinks = 0
49+
50+
### DeepGreen Client
51+
52+
Es gibt zwei neue Optionen, die steuern wie beim Import von Dokumenten mit
53+
nicht erlaubten Dateitypen umgegangen werden soll.
54+
55+
deepgreen.import.importAllFiles = 0
56+
deepgreen.import.importSupportedFiles = 1
57+
58+
Wenn **importAllFiles** aktiviert ist, werden alle Dateien importiert. Sollen
59+
nur die in der OPUS 4 Konfiguration erlaubt Dateitypen importiert werden, kann
60+
**importSupportedFiles** aktiviert werden. Sind beide Optionen deaktiviert,
61+
werden Dokumente mit nicht erlaubten Dateitypen nicht importiert. Es geplant
62+
in diesen Fällen in Zukunft Benachrichtigungen in der Administration anzuzeigen
63+
und die Konfigurationsmöglichkeiten weiter auszubauen.
64+
65+
--
66+
367
## Release 4.9 - 2026-04-14
468

569
### Unterstützte PHP-Versionen

application/configs/application.ini

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,11 @@ db.debug = 0
6161
; LOCALE SETTINGS
6262
resources.locale.default = 'de'
6363

64-
; SUPPORTED LANGUAGES
64+
; Languages selectable for documents
65+
i18n.languages.active = deu, eng, fra, rus, spa, mul
66+
i18n.languages.sortByName = 0
67+
68+
; SUPPORTED USER INTERFACE LANGUAGES
6569
supportedLanguages = de,en
6670

6771
;GENERAL SETTINGS
@@ -70,7 +74,7 @@ name = 'OPUS 4'
7074
logoLink = home
7175
security = 1
7276
workspacePath = APPLICATION_PATH "/workspace"
73-
version = 4.9
77+
version = 4.10
7478
update.latestVersionCheckUrl = "https://api.github.com/repos/opus4/application/releases/latest"
7579
snippets.basePath = APPLICATION_PATH "/scripts/snippets"
7680

@@ -250,6 +254,7 @@ search.index.enrichment.blacklist = 'opus_doi_json'
250254

251255
; RSS Feed
252256
rss.maxDocs = 100
257+
rss.showLinks = 1
253258

254259
;DOCTYPE VALIDATION SCHEMA FILE
255260
; TODO determine path dynamically (does this belong into the framework)
@@ -761,6 +766,9 @@ console.commandProvider[] = "Opus\Import\Console\ImportCommandProvider"
761766
; DeepGreen configuration
762767
deepgreen.configFile = APPLICATION_PATH'/application/configs/deepgreen.ini'
763768

769+
deepgreen.import.importAllFiles = 0
770+
deepgreen.import.importSupportedFiles = 1
771+
764772
; Staging, Testing and Development configurations =====================================================================
765773

766774
[staging : production]

application/configs/navigationModules.xml

Lines changed: 0 additions & 44 deletions
Original file line numberDiff line numberDiff line change
@@ -364,50 +364,6 @@
364364
</pages>
365365
</licence>
366366

367-
<languages>
368-
<type>mvc</type>
369-
<label>admin_title_languages</label>
370-
<description>admin_title_languages_description</description>
371-
<group>group-cafelatte</group>
372-
<module>admin</module>
373-
<controller>language</controller>
374-
<action>index</action>
375-
<resource>languages</resource>
376-
<pages>
377-
<show>
378-
<type>mvc</type>
379-
<label>admin_language_show</label>
380-
<module>admin</module>
381-
<controller>language</controller>
382-
<action>show</action>
383-
</show>
384-
385-
<new>
386-
<type>mvc</type>
387-
<label>admin_language_new</label>
388-
<module>admin</module>
389-
<controller>language</controller>
390-
<action>new</action>
391-
</new>
392-
393-
<edit>
394-
<type>mvc</type>
395-
<label>admin_language_edit</label>
396-
<module>admin</module>
397-
<controller>language</controller>
398-
<action>edit</action>
399-
</edit>
400-
401-
<delete>
402-
<type>mvc</type>
403-
<label>admin_language_delete</label>
404-
<module>admin</module>
405-
<controller>language</controller>
406-
<action>delete</action>
407-
</delete>
408-
</pages>
409-
</languages>
410-
411367
<dnbInstitute>
412368
<type>mvc</type>
413369
<label>admin_title_dnbinstitute</label>

application/configs/options.yml

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
#
2+
# Defines options available in administration user interface (Settings->Options).
3+
#
4+
# The 'type' defines how the option appears in the form. Supported types are
5+
# - string (default)
6+
# - int
7+
# - bool
8+
#
9+
# The 'section' allows grouping options. The names are arbitrary and are used as section
10+
# labels if no translations for the section exist.
11+
#
12+
# 'options' can be used to pass additional options to the form element, for
13+
# instance to increase the size.
14+
#
15+
# The translation keys for options use the following patterns:
16+
# - admin_config_section_SECTIONNAME
17+
# - admin_config_OPTIONKEY
18+
# - admin_config_OPTIONKEY_description
19+
#
20+
# For instance:
21+
# - admin_config_section_languages
22+
# - admin_config_i18n.languages.active
23+
# - admin_config_i18n.languages.active_description
24+
#
25+
26+
searchengine.solr.parameterDefaults.rows:
27+
type: int
28+
section: searching
29+
options:
30+
min: 10
31+
32+
browsing.series.sortByTitle:
33+
type: bool
34+
section: browsing
35+
36+
i18n.languages.active:
37+
type: string
38+
section: languages
39+
options:
40+
size: 60
41+
42+
i18n.languages.sortByName:
43+
type: bool
44+
section: languages

bin/install.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ do
174174
fi
175175
done
176176

177-
php "$BASEDIR/scripts/change-password.php" admin "$ADMIN_PWD"
177+
php "$BASEDIR/bin/opus4" account:setpwd admin -p "$ADMIN_PWD"
178178

179179
#
180180
# Configure Solr connection

build.xml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -316,9 +316,11 @@
316316
</target>
317317

318318
<target name="demo-reset-password">
319-
<exec executable="php" dir="${basedir}/scripts" failonerror="true">
320-
<arg line="change-password.php" />
319+
<exec executable="php" dir="${basedir}/bin" failonerror="true">
320+
<arg line="opus4" />
321+
<arg line="account:setpwd" />
321322
<arg line="admin" />
323+
<arg line="-p" />
322324
<arg line="${adminPassword}" />
323325
</exec>
324326
</target>

composer.json

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -23,17 +23,18 @@
2323
"ext-yaml": "*",
2424
"opus4/zf1-future": "1.25.*",
2525
"jpgraph/jpgraph": "dev-master",
26-
"opus4-repo/opus4-common": "^4.9",
27-
"opus4-repo/framework": "^4.9",
26+
"opus4-repo/opus4-common": "^4.10",
27+
"opus4-repo/framework": "^4.10",
2828
"opus4-repo/search": "^4.9",
29-
"opus4-repo/opus4-bibtex": "^4.9",
30-
"opus4-repo/opus4-import": "^4.9",
29+
"opus4-repo/opus4-bibtex": "^4.10",
30+
"opus4-repo/opus4-import": "^4.10",
3131
"opus4-repo/opus4-pdf": "^4.9",
3232
"opus4-repo/opus4-job": "^4.9",
3333
"opus4-repo/opus4-security": "^4.9",
3434
"opus4-repo/opus4-sword": "^4.9",
35-
"opus4-repo/opus4-app-common": "^4.9",
36-
"opus4-repo/opus4-deepgreen": "^4.9",
35+
"opus4-repo/opus4-app-common": "^4.10",
36+
"opus4-repo/opus4-deepgreen": "^4.10",
37+
"opus4-repo/opus4-i18n": "^4.10",
3738
"components/jquery": "3.4.*",
3839
"components/jqueryui": "1.12.*",
3940
"oomphinc/composer-installers-extender": "^2.0",

db/masterdata/002_create_languages.sql

Lines changed: 0 additions & 44 deletions
This file was deleted.

0 commit comments

Comments
 (0)