- Dec 09, 2021
-
-
Julian authored
Pylint non-deterministicly fails to detect that a method is overwritten later and complains that the method does not exist. This is pretty annoying and remains unfixed in the most recent version.
-
- Dec 03, 2021
-
-
Julian authored
This change is going to be backported to v1.x.x to have a good migration path. Bearer auth with API_CLIENTS config key is deprecated and planned to be removed in v2.0.0.
-
- Oct 26, 2021
-
-
sistason authored
-
Julian authored
The script generated a broken changelog if the current commit is tagged as a release. That works now. Additional improvements: * Merge commits are ignored * "^fixup!" commits are ignored * Commit summaries are line-wrapped * Authors can be merged by manually supplied name mapping * The first release also includes a list of commits. They were originally excluded because the first release contains so many commits, including many unclean ones. But excluding those commits also means excluding the attribution, so it is not really an option. * Authors are ordered by the number of their contributions in a release to make occasional contributors more visible.
-
- Oct 25, 2021
-
-
Julian authored
Previously CHANGELOG had to be updated manually. This was done by downloading the output of a CI job that used listed commits since the last release. This made releasing a bit more complicated and led to uselsess release commits. Now a script creates the full debian/changelog with all versions based on git tags and git commits.
-
- Oct 05, 2021
-
-
Julian authored
-
- Oct 04, 2021
-
- Oct 03, 2021
-
-
Julian authored
-
- Oct 02, 2021
-
-
Julian authored
* Removal of ldapalchemy and LDAP mocking support * Removal of dependency on ldap3 (except for the migration) * Remaining "LDAP_<name>" config keys are renamed to "<name>" * Web interface to create, edit and delete groups * Consistent foreign key, cascading and nullable configuration on all models * User/Group.dn is replaced with numeric User/Group.id * User.uid is renamed to User.unix_uid (to differentiate with new User.id) * Group.gid is renamed to Group.unix_gid (to differentiate with new Group.id) * All User/Group/Mail related routes now use the database ids instead of uid/gid/dn * PasswordToken/MailToken now reference users directly instead of storing loginnames The database migration (optionally) uses the v1 config keys to connect to an LDAP server and to import all users, groups and mail forwardings.
-
- Sep 29, 2021
-
- Sep 13, 2021
- Sep 12, 2021
- Sep 11, 2021
-
-
Julian authored
Also fixed architecture of Debian packages. Co-authored-by:
nd <nd@cccv.de>
-
- Sep 10, 2021
-
-
Julian authored
-
Julian authored
This is just a quick fix. The verification code needs further work and breaking changes of the config schema.
-
Julian authored
Existing links continue to work. However support for legacy links (without id) is deprecated and will be removed in the future.
-
Julian authored
This affects mail verification and password reset links. Existing links continue to work. However support for legacy links (without id) is deprecated and will be removed in the future.
-
Julian authored
Existing invite links continue to work. However support for legacy links (without id) is deprecated and will be removed in the future.
-
Julian authored
This change effectivly invalidates all existing grants/tokens.
-
- Sep 08, 2021
- Sep 07, 2021
-
-
Julian authored
-
- Sep 06, 2021
-
- Sep 05, 2021
-
-
Julian authored
Fixes #83. Many authentication-related templates shared the same markup originally copied from the login template. The duplicated code now lives in base_narrow.html. Alerts now always have the same width as the main content. Vertical spacing is now more consistent. The footer is now full-width.
-
Julian authored
Fixes #104. Replaced "group" keyword argument for login_required with "permission_check". Most views already define a *_acl_check function that returns whether the current user has the required permissions for use with register_navbar. The same function can now be passed to login_required as the "permission_check" argument. Differenciated login and selfservice access permissions. Previously ACL_SELFSERVICE_GROUP was required to login. Now ACL_ACCESS_GROUP is required to login and ACL_SELFSERVICE_GROUP is required to access selfservice functions (and to use role-granting invite links). A user with just ACL_ACCESS_GROUP can now login, access the services overview page and authenticate with OAuth2 services he has access to, but not change his user attributes, password or roles/permissions.
-
- Sep 04, 2021
-
-
Julian authored
The test cases effectivly tested if the user_acl_check works which is already covered by other test cases.
-
Julian authored
-
Julian authored
Prior to this change permission errors (i.e. the user is logged in but does not have a required group) were reported with flash('Access denied') and a redirect to the selfservice index page. This causes two problems: The error is reported with HTTP status 301/200 which is difficult to check for in tests. This can also cause redirect loops as soon as the selfservice uses more differentiated permission checks (see #104). With this change a dedicated error page is displayed in place the requested page and the HTTP status 403 is returned. This is implemented with flask's errorhandler concept for 403.