The pegasus helper is a small helper plugin for ILIAS which is required to operate the ILIAS Pegasus mobile application.
Features:
Branch feature/sr-app-routes
Start at your ILIAS root directory
mkdir -p Customizing/global/plugins/Services/UIComponent/UserInterfaceHook/
cd Customizing/global/plugins/Services/UIComponent/UserInterfaceHook/
git clone https://github.com/studer-raimann/Ilias.RESTPlugin REST
cd REST
git checkout feature/sr-app-routes
Update and activate the plugin in the ILIAS Plugin Administration.
Start at your ILIAS root directory
cd Customizing/global/plugins/Services/UIComponent/UserInterfaceHook/
git clone https://github.com/studer-raimann/PegasusHelper.git
Update and activate the plugin in the ILIAS Plugin Administration.
If the installation of the REST- or PegasusHelper-plugin as described above fails, the test-script in the directory 'testing' may provide useful information
Start at your ILIAS root directory
cd Customizing/global/plugins/Services/UIComponent/UserInterfaceHook/PegasusHelper/testing/
php run.php
The script prints out feedback from the tests and writes a log-file 'results.log' in 'PegasusHelper/testing/'
Also read through the paragraph 'Caveats' below
Branch feature/sr-app-routes Start at your ILIAS root directory
cd Customizing/global/plugins/Services/UIComponent/UserInterfaceHook/REST
git pull
Update / activate the plugin in the ILIAS Plugin Administration.
Start at your ILIAS root directory
cd Customizing/global/plugins/Services/UIComponent/UserInterfaceHook/PegasusHelper
git pull
Update / activate the plugin in the ILIAS Plugin Administration.
If the host address of ILIAS is configured with http but requests to ILIAS are redirected to https, the plugin migration of the PegasusHelper will fail.
The PegasusHelper configures the REST plugin while updating to ensure that all routes are as expected by the Pegasus mobile application. In order to configure the REST plugin the PegasusHelper adds all routes to the REST plugin with local http POST requests.
The redirect will transform the POST request to a GET request which is not understood by the REST plugin which leads to the migration error of the PegasusHelper.
To ensure that no https redirects are done, the configuration in the ilias.ini.php has to be adjusted as shown in the example below.
The ilias.ini.php is located in the root directory of the ILIAS installation.
[server]
http_path = "https://your.ilias-installation.org"
We use SemVer for versioning. For the versions available, see the tags on this repository.
This project is licensed under the GNU GPLv3 License - see the LICENSE.md file for details.
studer + raimann ag
Farbweg 9
3400 Burgdorf
Switzerland