libmalcontent implements parental controls support which can be used by applications to filter or limit the access of child accounts to inappropriate content.
Go to file
Philip Withnall a2c2965d25 tests: Add comprehensive tests for libeos-parental-controls
These test get/set behaviour of EpcAppFilter, GAppInfo support, and
various error handling paths and corner cases.

With these tests, coverage of app-filter.c is:
 • Lines: 97%
 • Functions: 100%
 • Branches: 57.5%

The branch coverage is not correctly reported, as it factors in the
failure branches for g_return_if_fail() precondition assertions, which
we deliberately do not test. With those branches manually excluded,
branch coverage is around 89% instead.

This adds libglib-testing as a subproject dependency, for its
GtDBusQueue. It adds gio-unix-2.0 as a dependency of the app-filter
tests, in order to be able to construct GDesktopAppInfos.

Signed-off-by: Philip Withnall <withnall@endlessm.com>

https://phabricator.endlessm.com/T24004
2018-12-20 13:01:01 +00:00
accounts-service accounts-service: Rename D-Bus properties to CamelCase 2018-12-12 13:43:39 +00:00
debian debian: Initial Debian packaging 2018-10-06 01:18:45 +01:00
eos-parental-controls-client accounts-service: Add allow-user-installation setting 2018-11-29 21:16:36 +00:00
libeos-parental-controls tests: Add comprehensive tests for libeos-parental-controls 2018-12-20 13:01:01 +00:00
po po: Add basic translation support 2018-09-28 10:12:53 +02:00
subprojects tests: Add comprehensive tests for libeos-parental-controls 2018-12-20 13:01:01 +00:00
tools accounts-service: Add accounts service vendor extension for app filter 2018-09-28 10:12:53 +02:00
.gitmodules tests: Add comprehensive tests for libeos-parental-controls 2018-12-20 13:01:01 +00:00
COPYING Initial commit of README and COPYING 2018-09-24 15:35:58 +01:00
README Initial commit of README and COPYING 2018-09-24 15:35:58 +01:00
eos-parental-controls.doap Initial commit of README and COPYING 2018-09-24 15:35:58 +01:00
meson.build tests: Add comprehensive tests for libeos-parental-controls 2018-12-20 13:01:01 +00:00
meson_options.txt libeos-parental-controls: Add placeholder unit tests 2018-10-06 00:48:36 +01:00
template.test.in libeos-parental-controls: Add placeholder unit tests 2018-10-06 00:48:36 +01:00

README

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

eos-parental-controls
=====================

eos-parental-controls implements support for restricting the abilities of
non-administrator accounts on an Endless OS system. Typically, when this is
used, a non-administrator account will be for a child using the system; and the
administrator accounts will be for the parents.

It provides an accounts service vendor extension for storing an app filter to
restrict the childs access to certain applications; and a simple library for
accessing and applying the app filter.

All the library APIs are currently unstable and are likely to change wildly.

Dependencies
============

 • accounts-service
 • dbus-daemon
 • gio-2.0 ≥ 2.54
 • glib-2.0 ≥ 2.54
 • gobject-2.0 ≥ 2.54

Licensing
=========

All code in this project is licensed under LGPL-2.1+. See debian/copyright and
COPYING for more details.

Bugs
====

Bug reports and patches should be filed in GitHub.

Contact
=======

https://github.com/endlessm/eos-parental-controls