Univention Bugzilla – Bug 49533
Make creation of demoschool configurable in the school-installer
Last modified: 2022-07-15 08:31:11 CEST
Currently it is possible to disable the creation of the demoschool during the execution of the UMC school-installer. Add a checkbox (reflecting the state of the UCR variable -> enabled by default) that the user can deactivate to prevent the creation of the demo school.
This should be implemented for 5.0
Extended summary: Currently there is a checkbox in the app settings for enabling the creation of the demo school (with the demo users) which is enabled by default. In the first screen of the school installer there is a text that suggests the user to change that setting before the installation: "During the installation of UCS@school a demo school including some users will be configured for testing purposes. If you do not wish that, please set the UCR variable ucsschool/join/create_demo to no prior to the installation." The goal is to have that checkbox in the wizard directly. This requires modifying the web interface and the `schoolinstaller` script to handle the new input. Also removing the app setting might be reasonable since it will no longer be needed (changing the setting after the app instalattion has no effect).
Related to https://forge.univention.org/bugzilla/show_bug.cgi?id=49046
QA - [x] a checkbox is shown in the schoolinstaller UMC module. The initial value is `ucsschool/join/create_demo` - [x] demo school and students are created if checkbox is checked; and vice versa - [x] https://git.knut.univention.de/univention/ucs/-/blob/5.0-1/test/utils/schoolinstaller.py still works Can be merged now
MR merged (https://git.knut.univention.de/univention/ucsschool/-/merge_requests/97), package built (`ucs-school-umc-installer`: `8.0.8A~5.0.0.202205310922`) and advisory updated (https://git.knut.univention.de/univention/ucsschool/-/commit/57b6474c3c9df5c22417a7074b1591a129cfe5a0). Tested the built package and everything is working as expected.
OK: advisory (e0f4e1dc6 Bug #49533: advisory) OK: package works -> verified
Changelogs for `ucs-school-l10n-fr` were missing. Added in https://git.knut.univention.de/univention/ucsschool/-/commit/2ea2c70c4e11bc11f70d18392f14cf828c1231f3. Package built (`ucs-school-l10n-fr`: ` 5.0.4A~5.0.0.202207121347`) and advisory updated (https://git.knut.univention.de/univention/ucsschool/-/commit/f3e967cceca963c88fbfdc2a2a79438ab3b33e6c).
(In reply to Carlos García-Mauriño from comment #8) > Changelogs for `ucs-school-l10n-fr` were missing. Added in > https://git.knut.univention.de/univention/ucsschool/-/commit/ > 2ea2c70c4e11bc11f70d18392f14cf828c1231f3. Package built > (`ucs-school-l10n-fr`: ` 5.0.4A~5.0.0.202207121347`) and advisory updated > (https://git.knut.univention.de/univention/ucsschool/-/commit/ > f3e967cceca963c88fbfdc2a2a79438ab3b33e6c). OK: changelog/advisory/package built OK: french translation is shown -> verified
UCS@school 5.0 v2 has been released. https://docs.software-univention.de/changelog-ucsschool-5.0v2-de.html If this error occurs again, please clone this bug.