forked from ILIAS-eLearning/ILIAS
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'update_9' into 'release_9'
Update to ILIAS 9.4 (09.09.2024) See merge request ilias-hosting/ilias!9
- Loading branch information
Showing
168 changed files
with
1,890 additions
and
987 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,7 @@ name: Build and deploy style files | |
on: | ||
push: | ||
branches: | ||
- "trunk" | ||
- "release_9" | ||
|
||
jobs: | ||
style-to-repo: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,5 @@ | ||
<?php | ||
|
||
declare(strict_types=1); | ||
|
||
/** | ||
* This file is part of ILIAS, a powerful learning management system | ||
* published by ILIAS open source e-Learning e.V. | ||
|
@@ -18,6 +16,8 @@ | |
* | ||
*********************************************************************/ | ||
|
||
declare(strict_types=1); | ||
|
||
/** | ||
* @author Stefan Meyer <[email protected]> | ||
* @ilCtrl_Calls ilObjCategoryReferenceGUI: ilPermissionGUI, ilInfoScreenGUI, ilPropertyFormGUI | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,24 +1,7 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<ObjectDefinition xmlns:xi="http://www.w3.org/2001/XInclude" type="cmix"> | ||
<Document type="default"> | ||
<!-- | ||
<xi:include href="../../Services/Object/LuceneDataSource.xml" /> | ||
<xi:include href="../../Services/Tagging/LuceneDataSource.xml" /> | ||
<xi:include href="../../Services/MetaData/LuceneDataSource.xml" /> | ||
--> | ||
<DataSource type="JDBC" action="append"> | ||
<Query> | ||
SELECT title FROM object_data | ||
</Query> | ||
<Param format="list" type="int" value="objId" /> | ||
<Field store="YES" index="ANALYZED" column="title" type="text" name="propertyLow" /> | ||
</DataSource> | ||
<DataSource type="JDBC" action="append"> | ||
<Query> | ||
SELECT description FROM object_data | ||
</Query> | ||
<Param format="list" type="int" value="objId" /> | ||
<Field store="YES" index="ANALYZED" column="description" type="text" name="propertyLow" /> | ||
</DataSource> | ||
</Document> | ||
</ObjectDefinition> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,4 @@ | ||
<?php | ||
|
||
/** | ||
* This file is part of ILIAS, a powerful learning management system | ||
* published by ILIAS open source e-Learning e.V. | ||
|
@@ -16,6 +15,8 @@ | |
* | ||
*********************************************************************/ | ||
|
||
declare(strict_types=0); | ||
|
||
/** | ||
* TableGUI for question assignments of course objectives | ||
* @author Stefan Meyer <[email protected]> | ||
|
@@ -137,7 +138,7 @@ public function parse(array $a_assignable): void | |
$tmp_data = array(); | ||
$subobjects = array(); | ||
|
||
if (!$tmp_tst = ilObjectFactory::getInstanceByRefId((int) $node['ref_id'], false)) { | ||
if (!$tmp_tst = ilObjectFactory::getInstanceByRefId((int) ($node['ref_id'] ?? 0), false)) { | ||
continue; | ||
} | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,4 @@ | ||
<?php | ||
|
||
declare(strict_types=0); | ||
/** | ||
* This file is part of ILIAS, a powerful learning management system | ||
* published by ILIAS open source e-Learning e.V. | ||
|
@@ -17,6 +15,8 @@ | |
* | ||
*********************************************************************/ | ||
|
||
declare(strict_types=0); | ||
|
||
/** | ||
* Settings for LO courses | ||
* @author Stefan Meyer <[email protected]> | ||
|
@@ -451,8 +451,28 @@ protected function read(): void | |
if ($this->tree->isDeleted($this->getQualifiedTest())) { | ||
$this->setQualifiedTest(0); | ||
} | ||
$this->purgeReferences(); | ||
} | ||
|
||
protected function purgeReferences(): void | ||
{ | ||
if ($this->getInitialTest() > 0) { | ||
$obj = ilObjectFactory::getInstanceByRefId($this->getInitialTest(), false); | ||
if (!$obj instanceof ilObjTest) { | ||
$this->setInitialTest(0); | ||
$this->update(); | ||
} | ||
} | ||
if ($this->getQualifiedTest() > 0) { | ||
$obj = ilObjectFactory::getInstanceByRefId($this->getQualifiedTest(), false); | ||
if (!$obj instanceof ilObjTest) { | ||
$this->setQualifiedTest(0); | ||
$this->update(); | ||
} | ||
} | ||
} | ||
|
||
|
||
public function toXml(ilXmlWriter $writer): void | ||
{ | ||
$writer->xmlElement( | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,7 +16,6 @@ | |
* | ||
*********************************************************************/ | ||
|
||
|
||
/** | ||
* @author Stefan Meyer <[email protected]> | ||
* @version $Id$ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.