Skip to content

2.0.0-beta1

Pre-release
Pre-release
Compare
Choose a tag to compare
@ownclouders ownclouders released this 10 May 12:12
· 10726 commits to master since this release
v2.0.0-beta1
e7a3d0c

Changes in 2.0.0-beta1

Summary

  • Bugfix - Remove runtime kill and run commands: #3740
  • Bugfix - Check permissions when deleting Space: #3709
  • Bugfix - Make IDP secrets configurable via environment variables: #3744
  • Bugfix - Thumbnails for /dav/xxx?preview=1 requests: #3567
  • Bugfix - Idp: Check if CA certificate if present: #3623
  • Bugfix - Return proper errors when ocs/cloud/users is using the cs3 backend: #3483
  • Bugfix - URL encode the webdav url in the graph API: #3597
  • Change - Update ocis packages and imports to V2: #3678
  • Change - Load configuration files just from one directory: #3587
  • Change - Reduce permissions on docker image predeclared volumes: #3641
  • Change - Introduce ocis init and remove all default secrets: #3551
  • Change - Reduce drives in graph /me/drives API: #3629
  • Change - Switched default configuration to use libregraph/idm: #3331
  • Change - Rename MetadataUserID: #3671
  • Change - Use new space ID util functions: #3648
  • Change - Rename serviceUser to systemUser: #3673
  • Change - Split MachineAuth from SystemUser: #3672
  • Enhancement - Align service naming: #3606
  • Enhancement - Wrap metadata storage with dedicated reva gateway: #3602
  • Enhancement - Product field in OCS version: #2918
  • Enhancement - Add initial version of the search extensions: #3635
  • Enhancement - Add capability for public link single file edit: #6787
  • Enhancement - Added share_jail and projects feature flags in spaces capability: #3626
  • Enhancement - Update linkshare capabilities: #3579
  • Enhancement - Update reva to v2.3.1: #3552
  • Enhancement - Update ownCloud Web to v5.5.0-rc.5: #6854

Details

  • Bugfix - Remove runtime kill and run commands: #3740

    We've removed the kill and run commands from the oCIS runtime. If these dynamic capabilities
    are needed, one should switch to a full fledged supervisor and start oCIS as individual
    services.

    If one wants to start a only a subset of services, this is still possible by setting
    OCIS_RUN_EXTENSIONS.

    #3740

  • Bugfix - Check permissions when deleting Space: #3709

    Check for manager permissions when deleting spaces. Do not allow deleting spaces via dav
    service

    #3709

  • Bugfix - Make IDP secrets configurable via environment variables: #3744

    We've fixed the configuration options of the IDP to make the IDP secrets again configurable via
    environment variables.

    #3744

  • Bugfix - Thumbnails for /dav/xxx?preview=1 requests: #3567

    We've added the thumbnail rendering for /dav/xxx?preview=1,
    /remote.php/webdav/{relative path}?preview=1 and /webdav/{relative path}?preview=1 requests, which was previously not supported because of missing routes. It
    now returns the same thumbnails as for /remote.php/dav/xxx?preview=1.

    #3567

  • Bugfix - Idp: Check if CA certificate if present: #3623

    Upon first start with the default configurtation the idm service creates a server
    certificate, that might not be finished before the idp service is starting. Add a check to idp
    similar to what the user, group, and auth-providers implement.

    #3623

  • Bugfix - Return proper errors when ocs/cloud/users is using the cs3 backend: #3483

    The ocs API was just exiting with a fatal error on any update request, when configured for the cs3
    backend. Now it returns a proper error.

    #3483

  • Bugfix - URL encode the webdav url in the graph API: #3597

    Fixed the webdav URL in the drives responses. Without encoding the URL could be broken by files
    with spaces in the file name.

    #3538
    #3597

  • Change - Update ocis packages and imports to V2: #3678

    This needs to be done in preparation for the major version bump in ocis.

    #3678

  • Change - Load configuration files just from one directory: #3587

    We've changed the configuration file loading behavior and are now only loading configuration
    files from ONE single directory. This directory can be set on compile time or via an environment
    variable on startup (OCIS_CONFIG_DIR).

    We are using following configuration default paths:

    • Docker images: /etc/ocis/ - Binary releases: $HOME/.ocis/config/

    #3587

  • Change - Reduce permissions on docker image predeclared volumes: #3641

    We've lowered the permissions on the predeclared volumes of the oCIS docker image from 777 to
    750.

    This change doesn't affect you, unless you use the docker image with the non default uid/guid to
    start oCIS (default is 1000:1000).

    #3641

  • Change - Introduce ocis init and remove all default secrets: #3551

    We've removed all default secrets and the hardcoded UUID of the user admin. This means you
    can't start oCIS any longer without setting these via environment variable or configuration
    file.

    In order to make this easy for you, we introduced a new command: ocis init. You can run this
    command before starting oCIS with ocis server and it will bootstrap you a configuration file
    for a secure oCIS instance.

    #3524
    #3551
    #3743

  • Change - Reduce drives in graph /me/drives API: #3629

    Reduced the drives in the graph /me/drives API to only the drives the user has access to. The
    endpoint /drives will list all drives when the user has the permission.

    #3629

  • Change - Switched default configuration to use libregraph/idm: #3331

    We switched the default configuration of oCIS to use the "idm" service (based on
    libregraph/idm) as the standard source for user and group information. The accounts and
    glauth services are no longer enabled by default and will be removed with an upcoming release.

    #3331
    #3633

  • Change - Rename MetadataUserID: #3671

    MetadataUserID is renamed to SystemUserID including yaml tags and env vars

    #3671

  • Change - Use new space ID util functions: #3648

    Changed code to use the new space ID util functions so that everything works with the new spaces
    ID format.

    #3648
    #3669

  • Change - Rename serviceUser to systemUser: #3673

    We renamed serviceUser to systemUser in all configs and vars including yaml-tags and env vars

    #3673

  • Change - Split MachineAuth from SystemUser: #3672

    We now have two different APIKeys: MachineAuth for the machine-auth service and SystemUser
    for the system user used e.g. by settings service

    #3672

  • Enhancement - Align service naming: #3606

    We now reflect the configured service names when listing them in the ocis runtime

    #3603
    #3606

  • Enhancement - Wrap metadata storage with dedicated reva gateway: #3602

    We wrapped the metadata storage in a minimal reva instance with a dedicated gateway, including
    static storage registry, static auth registry, in memory userprovider, machine
    authprovider and demo permissions service. This allows us to preconfigure the service user
    for the ocis settings service, share and public share providers.

    #3602
    #3647

  • Enhancement - Product field in OCS version: #2918

    We've added a new field to the OCS Version, which is supposed to announce the product name. The
    web ui as a client will make use of it to make the backend product and version available (e.g. for
    easier bug reports).

    #2918

  • Enhancement - Add initial version of the search extensions: #3635

    It is now possible to search for files and directories by their name using the web UI. Therefor
    new search extension indexes files in a persistent local index.

    #3635

  • Enhancement - Add capability for public link single file edit: #6787

    It is now possible to share a single file by link with edit permissions. Therefore we need a
    public share capability to enable that feature in the clients. At the same time, we improved the
    WebDAV permissions for public links.

    owncloud/web#6787
    #3538

  • Enhancement - Added share_jail and projects feature flags in spaces capability: #3626

    We've added feature flags to the spaces capability to indicate to clients which features are
    supposed to be shown to users.

    #3626

  • Enhancement - Update linkshare capabilities: #3579

    We have updated the capabilities regarding password enforcement and expiration dates of
    public links. They were previously hardcoded in a way that didn't reflect the actual backend
    functionality anymore.

    #3579

  • Enhancement - Update reva to v2.3.1: #3552

    Updated reva to version 2.3.1. This update includes

    Updated reva to version 2.3.0. This update includes:

    #3621
    #3552
    #3570
    #3601
    #3602
    #3605
    #3611
    #3637
    #3652
    #3681

  • Enhancement - Update ownCloud Web to v5.5.0-rc.5: #6854

    Tags: web

    We updated ownCloud Web to v5.5.0-rc.5. Please refer to the changelog (linked) for details on
    the web release.

    owncloud/web#6854
    #3664
    #3680
    #3727
    #3747
    https://github.com/owncloud/web/releases/tag/v5.5.0-rc.5