Docspell v0.27.0 Release Notes

  • Sep 23, 2021

    • ๐Ÿ‘ Allow external authentication providers via OpenID Connect. Now you can integrate Docspell into your SSO solution. Using keycloak, for example (or other such tools) users can be maintained elsewhere, like in an LDAP directory. (#489)
    • โž• Adds two-factor authentication using TOTPs. If you don't want to setup an external authentication provider (which is another tool to maintain), you can use the builtin TOTP support to have two-factor authentication. (#762)
    • ๐Ÿ‘Œ Improvements when querying documents (#1040)
    • ๐Ÿ”„ Changed the underlying code for storing and loading files. This is a preparation to allow different storage backends for files in the future (maybe the filesystem or s3). (#1080)
    • The license has changed from GPLv3+ to AGPLv3+ (#1078)
    • ๐Ÿ›  Fixes a bug in the "check for updates" task that was added in the last release (#1068)
    • โฌ‡๏ธ Reduces the length of the startup command, which makes tools like ps much more readable and allows now to start docspell on Windows (untested, though ;-)) (#1062)
    • ๐Ÿ›  Fixes merging items, where sent mails were not copied to the target item. (#1055)
    • ๐Ÿ›  Fixes and improves deleting users. Now all their data is also removed and it is shown what that would be. (#1060)

    Rest API Changes

    • The login routes now won't return a session token when 2FA is enabled for an account. The returned token must be used to provide the TOTP in order to finalize login.
    • โž• Added open/auth/two-factor endpoint to provide the TOTP for login
    • โž• Added open/auth/openid/{providerId}[/resume] endpoints to initiate authentication via an external provider
    • โž• Added sec/user/{username}/deleteData to retrieve a summary of data that would be deleted with that user
    • โž• Added sec/user/otp/* endpoints to manage the TOTP for an account
    • โž• Added admin/user/otp/reserOTP to reset the 2FA setup for any user

    ๐Ÿ”ง Configuration Changes

    • ๐Ÿ”ง Restserver: Added a section to configure external authentication provider