Skip to content

Parental controls support

See the individual commit messages for technical details. This is a new feature to add parental controls support. If enabled, it changes the UI and some translatable strings (and adds a bunch of new translatable strings), and adds a dependency on libmalcontent and libmalcontent-ui (which must include this merge request, which will eventually be released as version 0.5.0).

Designs for this initial version of parental controls support in g-i-s are here: Teams/Design/os-mockups#41 (closed)

At this point, I have tested that the UI works correctly (including going back/forward through the settings and changing things like the user name and avatar; RTL text; localisation). I have not yet tested that the parental controls data is saved correctly; I’ll do that soon (it’s a bit more involved since it needs to be tested in a VM or container).

If this is built with -Dparental_controls=enabled (or -Dparental_controls=auto (the default) and the dependencies are present) then the new screens are inserted. Otherwise, the UI is unchanged, as per commit fc3041a5. That commit could be dropped if the UI changes to the main user password page are OK for even if parental controls are disabled (which I aim for them to be).

Edited by Philip Withnall

Merge request reports