Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
135 commits
Select commit Hold shift + click to select a range
9d4db78
SCORM/Certificate: Fix float value provided for placeholder
qualitus-dahme Apr 2, 2025
608d56b
Scorm: Improve performance when deleting cmi_correct_response records
qualitus-dahme Apr 2, 2025
fe16b80
Updated German lang entries as part of the continuous gender mainstre…
matthiaskunkel Apr 7, 2025
6969e69
T&A 44764: Fixes end datetime of availability period in test settings…
matheuszych Apr 7, 2025
70da72c
User: Do Not Detach From Role If Role Inexistent
kergomard Apr 7, 2025
ff9cd7e
Adjusted example text, see: 44498 and related
Amstutz Apr 7, 2025
9be7a9c
[FIX] 0044470: PermanentLink/File: Legacy permanent links for file ob…
chfsx Apr 8, 2025
91e859a
[FIX] 0038488: Add top item - delete top item
chfsx Apr 8, 2025
d717ba9
Fixed Mantis #44621: Schreibung Cron-Job oder Cronjob in Deutsch: cha…
matthiaskunkel Apr 8, 2025
90f7a4c
Fix of #40739
Amstutz Apr 8, 2025
93c4cc8
Auth: Don't hide login form if Shibboleth or CAS are default
mjansenDatabay Apr 8, 2025
ecb9003
Fixed Mantis #44614: Suggestion labels in Cron-Table
matthiaskunkel Apr 8, 2025
22c1779
Fixed Mantis #44626: Anpassung der Bezeichnung bei "LOM-Vokabulare".
matthiaskunkel Apr 8, 2025
5169df3
Glossary: remove some unused code, old public access export (bt-42313)
schmitz-ilias Mar 28, 2025
e0b86f1
[FIX] UICore: remove `bootstrap.min.js` includes. (#9330)
thibsy Apr 8, 2025
c5c9537
T&A 44733: Fixes invalid data types in assFormulaQuestionResult::getR…
matheuszych Apr 8, 2025
723a7c8
Test: More Fixes in Formula Questions
kergomard Apr 8, 2025
e5f03dc
Test: Remove Unneeded Inclusions of Templates
kergomard Apr 8, 2025
b0451ee
[FIX] 0044810: Permanent Links
chfsx Apr 8, 2025
2011183
Fix Error in Test Turkey languages
fhelfer Apr 9, 2025
acfb7a1
Scorm: Fix checking if two items are equal (PHP type issue) when clon…
qualitus-dahme Apr 9, 2025
6f885b7
Scorm: Fix checking if two items are equal (PHP type issue) when clon…
qualitus-dahme Apr 9, 2025
55999e7
Scorm: Fix writing learning progress (PHP type issue)
qualitus-dahme Apr 9, 2025
284c14f
Merge branch 'ILIAS-eLearning:trunk' into trunk
qualitus-dahme Apr 9, 2025
25b2e5a
Scorm: Fix writing learning progress (PHP type issue)
qualitus-dahme Apr 9, 2025
4f751b8
Glossary: remove unneeded db columns for legacy public access downloads
schmitz-ilias Apr 9, 2025
1a06bde
Merge pull request #9338 from schmitz-ilias/11_gloss_drop_columns
tfamula Apr 9, 2025
4f30a9a
PRG: 44477 (44216): get userfields during assignment
nhaagen Mar 6, 2025
e221ff2
IAss: removed outdated migration
klees Apr 10, 2025
8409fde
Help: handle undefined array offsets. (#9328
alex40724 Apr 10, 2025
b21ca8c
[FIX] Style: remove `GeSHi` usage and syntax-highlighting. (#9341)
thibsy Apr 10, 2025
bd5b877
Course/Group/WebLink: abandon LOM in SOAP administration
schmitz-ilias Apr 10, 2025
84f5562
Auth: Add info for default authentication method configuration
mjansenDatabay Apr 10, 2025
3e0145b
[FIX] 0037444: Drop zones can be activated with subtabs, container ti…
chfsx Apr 8, 2025
bcda171
MetaData: add abstract migration for deletion of LOM for object types
schmitz-ilias Apr 11, 2025
1df3294
Auth/SAML: Save IDP id in "ilCtrl" parameters
mjansenDatabay Apr 11, 2025
281ce78
Fix Chatroom dropdown style
lscharmer Apr 11, 2025
95ada87
Customizing: remove directory /Customizing
nhaagen Jan 10, 2025
7361255
Customizing: languages with lang/customizing
nhaagen Feb 27, 2025
6dbbfa7
PRG: 44130, 'completion_by' should point to course, not courselink
nhaagen Feb 11, 2025
8c4ed1d
43497: Failed test: Versuch, zeitlich begrenzt aktivierte Seite aufzu…
alex40724 Apr 13, 2025
2f8e5d9
44297: Failed test: Interne Links in Text integrieren
alex40724 Apr 13, 2025
0b4b85d
44454: Failed test: Mehrere Medienobjekte gleichzeitig hochladen
alex40724 Apr 13, 2025
7f10365
43217: Failed test: Mehrere Bilder herunterladen
alex40724 Apr 13, 2025
cf1989a
fixed 43037: Failed test: View your own repository items; moved class…
alex40724 Apr 13, 2025
757f477
43976: Failed test: Zugeordnete Lerninhalte durcharbeiten
alex40724 Apr 13, 2025
f9b7197
42903: Failed test: Sichtbarkeit einer Portfolio-Freigabe überprüfen
alex40724 Apr 13, 2025
99a433f
43593: Failed test: Qualifizierenden Test für alle Lernziele durchfüh…
alex40724 Apr 13, 2025
dcb1137
Merge branch 'ILIAS-eLearning:trunk' into trunk
qualitus-dahme Apr 14, 2025
069573e
Test: Fix Access to Old Variable
kergomard Apr 14, 2025
81461d1
Test: Fix Access to Object in Test in Import
kergomard Apr 14, 2025
1410080
paths changed in in components/ILIAS/ScormAicc/scripts/basisAPI.js (#…
qualitus-dahme Apr 14, 2025
74911b3
Merge branch 'ILIAS-eLearning:trunk' into trunk
qualitus-dahme Apr 14, 2025
de75396
Synchronisation, no changes
qualitus-dahme Apr 14, 2025
a97c280
Merge branch 'ILIAS-eLearning:trunk' into trunk
qualitus-dahme Apr 14, 2025
0908841
Merge branch 'trunk' of https://github.com/ILIAS-eLearning/ILIAS into…
qualitus-dahme Apr 14, 2025
15573ad
Merge branch 'trunk' of https://github.com/qualitus-dahme/ILIAS into …
qualitus-dahme Apr 14, 2025
d826460
AccessControl: Add Key on RBAC_Templates
kergomard Apr 14, 2025
36ac8b3
Update maintenance.md
matthiaskunkel Apr 14, 2025
95e4385
Update maintenance.md
matthiaskunkel Apr 14, 2025
026350c
[FIX] UICore: implicit nullable parameter in unit test (#9369)
mjansenDatabay Apr 14, 2025
648b0b2
OrgU: 44175, hide inputs at first
nhaagen Apr 11, 2025
d8a21d6
Cron: Fix `phpunit` issues
mjansenDatabay Apr 14, 2025
16293af
ContentPage: Fix `phpunit` issues
mjansenDatabay Apr 14, 2025
bf29e7b
Chatroom: Fix `phpunit` issues
mjansenDatabay Apr 14, 2025
9227af5
Html: Fix `phpunit` issues
mjansenDatabay Apr 14, 2025
0f3cb56
Forum: Fix `phpunit` issues
mjansenDatabay Apr 14, 2025
f0c5898
Password: Fix `phpunit` issues
mjansenDatabay Apr 14, 2025
6c11784
Certificate: Fix `phpunit` issues
mjansenDatabay Apr 14, 2025
a2eca60
Mail: Fix `phpunit` issues
mjansenDatabay Apr 14, 2025
f284fc0
[FIX] UI: remove `bootstrap-datetimepicker.min.js` includes.
thibsy Apr 8, 2025
2254e93
[FIX] UI: `MainControls\Metabar` call to `il.UI.page.isSmallScreen()`…
thibsy Apr 8, 2025
f25a2ed
PRG: 44845, acknowledge courses from sub-programmes
nhaagen Apr 14, 2025
bbc60e3
[FIX] UI: use `Item\Notification` JavaScript ID as string.
thibsy Apr 8, 2025
d6fe203
OrgU: 44453, get _all_ orgus for getOrgUnitsByUserAndPosition
nhaagen Mar 4, 2025
1b6b6a5
LegalDocuments: Fix `phpunit` issues
mjansenDatabay Apr 14, 2025
6bb995c
Badge: Fix `phpunit` issues
mjansenDatabay Apr 14, 2025
7ec0469
Add `jquery` as npm Dependency for ILIAS 11
thibsy Apr 4, 2025
244225d
[FEATURE] UI: introduce catamorphism for UI components. (#9262)
nhaagen Apr 14, 2025
43a98fc
Contact: Fix `phpunit` issues
mjansenDatabay Apr 14, 2025
98e592c
Mail: Use different approach to bin closure
mjansenDatabay Apr 14, 2025
db86081
Change "Copy Permanentlink" button from shy to standard
lscharmer Apr 10, 2025
9830d16
Add `sass` as npm Dependency for ILIAS 11
thibsy Apr 9, 2025
c64f415
37989: Deutsche Sprachvariable beim Kompetenzen löschen
tfamula Apr 14, 2025
d2d5443
Fixed Mantis #42846: Failed test: Lernfortschritt pro Modul
matthiaskunkel Apr 14, 2025
214f2a0
0044812: Setting backgroundtasks.type=async requires webservices/SOAP…
chfsx Apr 15, 2025
690e7ef
Setup: Async task handling requires SOAP to be enabled
Rillke Apr 8, 2025
93fdec5
Fix Bucket Description Character Limit Error
fhelfer Apr 4, 2025
5c73e16
File: add missing call to upload handler (44850)
schmitz-ilias Apr 14, 2025
cf0e83b
Data: Fix `phpunit` issues
mjansenDatabay Apr 15, 2025
68da0ff
Refinery: Fix `phpunit` issues
mjansenDatabay Apr 14, 2025
f9be162
Init: Fix `phpunit` issues
mjansenDatabay Apr 15, 2025
3b9a2e4
[FIX] #42143 UI: keep `MainControls\Metabar` open. (#8626)
catenglaender Apr 15, 2025
40a26d7
Forum: Hide metadata on info page
mjansenDatabay Apr 15, 2025
5cf7b9e
Chatroom: Hide metadata on info page
mjansenDatabay Apr 15, 2025
6586e14
Update authorities for Competence Management, EmployeeTalk, Glossary,…
tfamula Apr 8, 2025
66dae17
Add `jsdom` as npm Dependency for ILIAS 11
thibsy Apr 15, 2025
8cabff2
[FEATURE] update Node.js system requirement to v23.
thibsy Jan 6, 2025
3d1da94
[FEATURE] UI: migrate JS unit tests to Node.js test runner and assert…
thibsy Jan 6, 2025
507a5e6
Search: abandon advanced search
schmitz-ilias Apr 15, 2025
8288289
Merge pull request #9131 from leifos-gmbh/9_mantis_ilias_44187
smeyer-ilias Apr 15, 2025
339e9dc
Auth: Mimic behaviour of `onConsecutiveCalls` in test
mjansenDatabay Apr 15, 2025
5f0c44d
Merge pull request #9343 from leifos-gmbh/10_mantis_ilias_44427
smeyer-ilias Apr 15, 2025
2e966cb
Merge branch 'trunk' of github.com:ILIAS-eLearning/ILIAS into trunk
smeyer-ilias Apr 15, 2025
9e8b75f
Export: Allows for the public access column to be deactivated when th…
smeyer-ilias Apr 15, 2025
8615d53
refactor xlsx export handling (#9408)
iszmais Apr 15, 2025
553e74d
Auth/LoginForm: Use dedicated language variable for login form
mjansenDatabay Apr 14, 2025
d6f6f7e
UI: 44282, add padding to .c-form in maincontrols-slate-content fixed…
catenglaender Apr 16, 2025
f1df11a
10/UI/footer/increase spacing to page 42597 (#9400)
catenglaender Apr 16, 2025
b5b2444
[FIX] UI: `URLBuilder::acquireParameter()` PHPDoc annotation. (#9417)
mjansenDatabay Apr 16, 2025
89ed9da
Tracking: no matrix subtab for iass (43978)
schmitz-ilias Apr 16, 2025
c24f46b
Added missing RBAC labels for Show Content permission in file object
matthiaskunkel Apr 16, 2025
59fc79e
refactor field class paths to be absolute (#9421)
iszmais Apr 16, 2025
d3e1502
Fixed lang var value for #assign#
matthiaskunkel Apr 17, 2025
c61cbe1
Auth: Change default schedule for expired session cron
mjansenDatabay Apr 17, 2025
ada232f
Auth: Limit schedule options for expired session cron
mjansenDatabay Apr 17, 2025
f9ce0f2
fix and unify regex and unique checks for text fields (#9428)
iszmais Apr 17, 2025
9e1fad9
export all tables (#9433)
iszmais Apr 17, 2025
1ec2e6b
fixed 44739: When exercises are deleted, submissions from delete
alex40724 Apr 21, 2025
bdb2e4f
44256: Wiki/ConainerCopy: ilCtrl issue in Wiki while copying categori…
alex40724 Apr 21, 2025
895b5f4
44665: Opening Communication > News throws Whoops
alex40724 Apr 21, 2025
552f843
Update maintenance.md
matthiaskunkel Apr 22, 2025
f953550
Update maintenance.md
matthiaskunkel Apr 22, 2025
e429ac5
[FIX] use ILIAS temp dir
chfsx Apr 22, 2025
311e1b9
[FIX] destroy zips after migration
chfsx Apr 22, 2025
a8564da
fix field presentation for rating, form and selections (#9440)
iszmais Apr 22, 2025
d208f8b
Merge pull request #9351 from schmitz-ilias/11_abandon_lom_in_soap
smeyer-ilias Apr 23, 2025
31f5a3d
Merge pull request #9404 from schmitz-ilias/11_abandon_adv_search
smeyer-ilias Apr 23, 2025
b97db9e
Merge pull request #9317 from mjansenDatabay/hotfix/9/calendar/trunca…
smeyer-ilias Apr 23, 2025
5e0e37b
Auth: Don't show public area link if "ANONYMOUS" has no permissions
mjansenDatabay Jan 28, 2025
4e237bd
Exercise: move misplaced file
schmitz-ilias Apr 23, 2025
add5f2d
ContentPage: Allow anchors
mjansenDatabay Apr 23, 2025
062cd50
SCORM: Fix date/time handling in raw data import
qualitus-dahme Apr 23, 2025
09f3d19
PRG 42388 remove dublicate lang var
klees Apr 23, 2025
2fee763
Auth/SessionReminder: Get rid of `jQuery`
mjansenDatabay Apr 4, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
7 changes: 0 additions & 7 deletions .babelrc.json

This file was deleted.

9 changes: 1 addition & 8 deletions .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,7 @@
// globals from the browser environment.
"document": "readonly",
"window": "readonly",
"il": "writable",
// globals from the mocha testing framework.
"beforeEach": "readonly",
"afterEach": "readonly",
"describe": "readonly",
"before": "readonly",
"after": "readonly",
"it": "readonly"
"il": "writable"
},
// minified and bundled scripts are exempt from the
// code-style.
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
fail-fast: false
matrix:
php: [8.3, 8.4]
nodejs: [ 20.x ]
nodejs: [ 23.x ]
steps:
- name: Checkout code
uses: actions/checkout@v2
Expand Down Expand Up @@ -44,7 +44,7 @@ jobs:
GHRUN: "yes"

- name: JS Unit Test
run: exit 0 # npm test
run: npm test
env:
GHRUN: "yes"

Expand Down
8 changes: 0 additions & 8 deletions .mocharc.json

This file was deleted.

58 changes: 0 additions & 58 deletions Customizing/README.md

This file was deleted.

Empty file.
Original file line number Diff line number Diff line change
Expand Up @@ -18,27 +18,33 @@

declare(strict_types=1);

use ILIAS\Setup;
use ILIAS\AccessControl\Setup\AccessControl10DBUpdateSteps;
use ILIAS\Setup\Agent\NullAgent;
use ILIAS\Setup\Objective;
use ILIAS\Setup\Config;
use ILIAS\Setup\Metrics\Storage;

/**
* @author Tim Schmitz <schmitz@leifos.de>
*/
class ilAccessRBACSetupAgent extends Setup\Agent\NullAgent
class ilAccessRBACSetupAgent extends NullAgent
{
/**
* @inheritdoc
*/
public function getUpdateObjective(?Setup\Config $config = null): Setup\Objective
public function getUpdateObjective(Config $config = null): Objective
{
return new ilDatabaseUpdateStepsExecutedObjective(new ilAccessRBACDeleteDbkSteps());
return new ilDatabaseUpdateStepsExecutedObjective(new AccessControl10DBUpdateSteps());
}

/**
* @inheritdoc
*/
public function getStatusObjective(Setup\Metrics\Storage $storage): Setup\Objective
public function getStatusObjective(Storage $storage): Objective
{
return new ilDatabaseUpdateStepsMetricsCollectedObjective($storage, new ilAccessRBACDeleteDbkSteps());
return new ilDatabaseUpdateStepsMetricsCollectedObjective(
$storage,
new AccessControl10DBUpdateSteps()
);
}
}
26 changes: 12 additions & 14 deletions ...AS/UICore/classes/class.ilUIFramework.php → ...rc/Setup/AccessControl10DBUpdateSteps.php
100755 → 100644
Original file line number Diff line number Diff line change
Expand Up @@ -18,23 +18,21 @@

declare(strict_types=1);

/**
* @author Alex Killing <alex.killing@gmx.de>
* @author Thibeau Fuhrer <thibeau@sr.solutions>
*/
class ilUIFramework
namespace ILIAS\AccessControl\Setup;

class AccessControl10DBUpdateSteps implements \ilDatabaseUpdateSteps
{
public const BOOTSTRAP_JS = "./assets/js/bootstrap.min.js";
protected \ilDBInterface $db;

public static function init(?ilGlobalTemplateInterface $template = null): void
public function prepare(\ilDBInterface $db): void
{
global $DIC;
$this->db = $db;
}

$template = $template ?? $DIC->ui()->mainTemplate();
$template->addJavaScript(
self::BOOTSTRAP_JS,
true,
0
);
public function step_1(): void
{
if (!$this->db->indexExistsByFields('rbac_templates', ['type', 'ops_id'])) {
$this->db->addIndex('rbac_templates', ['type', 'ops_id'], 'toi');
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -341,7 +341,7 @@ public function writeEditForm(?int $a_obj_id = null, ?int $a_sub_id = null): boo
*/
private function parseSearch(): void
{
// this is NOT used for the global search, see ilLuceneAdvancedSearchFields::getFormElement()
// this is NOT used for the global search
// (so searchable flag is NOT relevant)
//
// current usage: wiki page element "[amd] page list"
Expand Down
3 changes: 0 additions & 3 deletions components/ILIAS/App/tests/RootFolderTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,9 @@
final class RootFolderTest extends TestCase
{
private const array ALLOWED_ROOT_FOLDER_FILES = [
'.babelrc.json',
'.eslintrc.json',
'.gitignore',
'.htaccess',
'.mocharc.json',
'.phpunit.result.cache',
'captainhook.local.json',
'phpstan.local.neon',
Expand Down Expand Up @@ -60,7 +58,6 @@ final class RootFolderTest extends TestCase
'artifacts',
'cli',
'components',
'Customizing',
'docs',
'extern',
'lang',
Expand Down
4 changes: 2 additions & 2 deletions components/ILIAS/Authentication/Authentication.php
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,8 @@ public function offsetUnset(mixed $offset): void
);

$contribute[Component\Resource\PublicAsset::class] = fn() =>
new Component\Resource\Endpoint($this, "sessioncheck.php");
new Component\Resource\Endpoint($this, 'sessioncheck.php');
$contribute[Component\Resource\PublicAsset::class] = fn() =>
new Component\Resource\ComponentJS($this, "session_reminder.js");
new Component\Resource\ComponentJS($this, 'js/dist/SessionReminder.min.js');
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -50,17 +50,25 @@ public function getDescription(): string

public function hasAutoActivation(): bool
{
return true;
return false;
}

public function hasFlexibleSchedule(): bool
{
return true;
}

public function getValidScheduleTypes(): array
{
return [
\ILIAS\Cron\Job\Schedule\JobScheduleType::IN_MINUTES,
\ILIAS\Cron\Job\Schedule\JobScheduleType::IN_HOURS
];
}

public function getDefaultScheduleType(): \ILIAS\Cron\Job\Schedule\JobScheduleType
{
return \ILIAS\Cron\Job\Schedule\JobScheduleType::IN_HOURS;
return \ILIAS\Cron\Job\Schedule\JobScheduleType::IN_MINUTES;
}

public function getDefaultScheduleValue(): ?int
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,12 @@ private function authSettingsObject(
$page_content = [
$this->ui_factory->panel()->standard(
$this->lng->txt('auth_select'),
$this->ui_factory->legacy()->content($generalSettingsTpl->get()),
$this->ui_factory->legacy()->content(implode('', [
$this->ui_renderer->render($this->ui_factory->messageBox()->info(
$this->lng->txt('auth_mode_default_change_info')
)),
$generalSettingsTpl->get()
])),
)
];

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,24 +26,18 @@ class ilSessionReminder
public const LEAD_TIME_DISABLED = 0;
public const MIN_LEAD_TIME = 1;
public const SUGGESTED_LEAD_TIME = 5;
private ClockInterface $clock;
private ilObjUser $user;
private ilSetting $settings;

private int $lead_time = self::SUGGESTED_LEAD_TIME;
private int $expiration_time = 0;
private int $current_time = 0;
private int $seconds_until_expiration = 0;
private int $seconds_until_reminder = 0;

public function __construct(
ilObjUser $user,
ClockInterface $clock,
ilSetting $settings
private ilObjUser $user,
private ClockInterface $clock,
private ilSetting $settings
) {
$this->user = $user;
$this->clock = $clock;
$this->settings = $settings;

$this->init();
}

Expand Down Expand Up @@ -79,10 +73,8 @@ private function buildValidLeadTime(int $lead_time): int
$min_value = self::MIN_LEAD_TIME;
$max_value = $this->getMaxPossibleLeadTime();

if (
$lead_time !== self::LEAD_TIME_DISABLED &&
($lead_time < $min_value || $lead_time > $max_value)
) {
if ($lead_time !== self::LEAD_TIME_DISABLED &&
($lead_time < $min_value || $lead_time > $max_value)) {
$lead_time = self::SUGGESTED_LEAD_TIME;
}

Expand Down
Loading
Loading