Because Ilias is a UX Nightmare
A tool to upload files to (KIT-)Ilias
Either
- Download the binary from the releases page
- Clone the repo and run
cargo install(obviously requires cargo) - Use nix flakes:
nix run github:Mr-Pine/IliasUploaderUtility
If you are on windows you can also add a context menu entry upload to ilias to the explorer by executing windows_contextmenu.reg
To upload a file to ilias run ilias_uploader_utility --ilias-id [The ref_id of the ilias Upload page (see config option below)] --username [your u-Name] --password [mySuperS3curePassw0rd1337]. If you don't provide a password it will prompt you and save it to your system's keyring.
You can also provide config files by putting a file named .ilias_upload (See example) in the same, or a parent-, directory as where you execute the command. The default search depth is 3, meaning it will search .. .., ../... You can change the depth by providing -d [your favorite depth]
The following config options are available
username: Your shibboleth username (uxxxx)ilias_id: The id of the Ilias object you want to upload topreselect_delete-All|Smart|None: When overwriting files select what files should be preselected to be deleted,SMARTselects files with the same nametransform_regex,transform_format: Regex transforms to run on each filename before uploading. Uses the syntax fromRegex::replace_allfrom theregexcrateupload_type-Exercise|Folder: What kind of target you want to upload to. ChoseEXERCISEfor submitting solutions andFOLDERfor uploading slides and other material to a course
