Feature Wiki

Information about planned and released features

Tabs

IRSS: Migrate Profile-Files to IRSS

This Feature-Request is part of the larger strategy to move all user-uploaded files to the ILIAS Resource Storage Service (see ILIAS Resource Storage Service (Project)). Feature requests like this are spin-offs from IRSS: General Overview of Components to Migrate (ongoing) and are basically already approved, we just like to keep track of these.

There are two different approaches:
- Some components used ilObjFile in the past to store files. With ILIAS 7, Files from ilObjFile have been migrated and components using them communicate through a wrapper. These component now must be decoupled from ilObjFile and use the IRSS directly. 
- Some components stored their files on their own in the iliasdata or data Directory. These component should migrate their files to the IRSS using a Setup - Add migrate Command

1 Initial Problem

Profile images are currently stored directly in WEBROOT/data/CLIENT/usr_images/. For ILIAS 9, these are to be moved to the ILIAS Resource Storage Service.

2 Conceptual Summary

With a migration, the existing profile pictures are moved from the previous location to the IRSS. Access to the images must be abstracted so that both variants work during the release until the migration has been performed. With ILIAS 10 the abstraction can be removed.
In addition to migrating the existing files, the processing of the newly uploaded profile images must be adapted so that they are stored directly in the IRSS.
A new consumer is needed for the IRSS, who can also delegate the checking of the images to the WebAccessChecker and thus quickly deliver files based on a token.
Optionally, the user image form can be changed to the new UI form. However, since the profile requires a lot of input fields, this can only be done when all existing inputs can be replaced by new ones

3 User Interface Modifications

3.1 List of Affected Views

  • none

3.2 User Interface Details

none

3.3 New User Interface Concepts

none

3.4 Accessibility Implications

none

4 Technical Information

none

5 Privacy

No new user-based data is stored as part of this refactoring.

6 Security

No new security-relevant changes based on this refactoring

7 Contact

8 Funding

If you are interest in funding this feature, please add your name and institution to this list.

9 Discussion

10 Implementation

The implementation was provided to the maintainer as a pull request: https://github.com/ILIAS-eLearning/ILIAS/pull/5279
With a new migration, the existing profile images are moved to the storage service. The IRSS flavors are used for the different sizes.

Test Cases

There are no specific Testcases for Migrations.

Approval

Approved at 19 OCT 2023 by Kergomard, Stephan [skergomard].

Last edited: 20. Feb 2024, 09:33, Tödt, Alexandra [atoedt]