Skip to content

4.0.0-rc.1

Pre-release
Pre-release
Compare
Choose a tag to compare
@ownclouders ownclouders released this 23 Aug 14:26
· 4633 commits to master since this release
v4.0.0-rc.1

Changes in 4.0.0

Summary

  • Bugfix - Add default store to postprocessing: #6578
  • Bugfix - Add token to LinkAccessedEvent: #6554
  • Bugfix - Add missing timestamps: #6515
  • Bugfix - Check public auth first: #6900
  • Bugfix - Don't connect to ldap on startup: #6565
  • Bugfix - Let clients cache web and theme assets: #6914
  • Bugfix - Fix CORS issues: #6912
  • Bugfix - Handle the bad request status: #6469
  • Bugfix - Fix error message on 400 response for thumbnail requests: #2064
  • Bugfix - Graph service did not honor the OCIS_LDAP_GROUP_SCHEMA_MEMBER setting: #7032
  • Bugfix - Fix nats registry: #6881
  • Bugfix - Fix the oidc role assigner: #6605
  • Bugfix - Fix the default document language for OnlyOffice: #6878
  • Bugfix - Fix the routing capability: #9367
  • Bugfix - Fix the search: #6947
  • Bugfix - Fix search shares: #6741
  • Bugfix - Restart Postprocessing: #6726
  • Change - YAML configuration files are restricted to yaml-1.2: #6510
  • Enhancement - Add 'ocis decomposedfs check-treesize' command: #6556
  • Enhancement - Add IDs to graph resource logging: #6593
  • Enhancement - Add permissions to report: #6528
  • Enhancement - Add command for rebuilding the jsoncs3 share manager indexes: #6986
  • Enhancement - Add more metadata to the remote item: #6300
  • Enhancement - Add X-Request-Id to all responses: #6715
  • Enhancement - Add SSE Endpoint: #5998
  • Enhancement - We added the storage id to the audit log for spaces: #6548
  • Enhancement - Make the post logout redirect uri configurable: #6583
  • Enhancement - Make the app provider service name configurable: #6482
  • Enhancement - Add old & new values to audit logs: #6537
  • Enhancement - Bump Hugo: #6787
  • Enhancement - Bump reva to 2.16.0: #6829
  • Enhancement - Bump sonarcloud: #6961
  • Enhancement - Clarify license text in the dev docs: #6755
  • Enhancement - Use reva client selectors: #6452
  • Enhancement - Configure max grpc message size: #6849
  • Enhancement - Thumbnails can be disabled for webdav & web now: #6577
  • Enhancement - Add companion URL config: #6453
  • Enhancement - Add imprint and privacy url config: #6462
  • Enhancement - Add logged out url config: #6549
  • Enhancement - Add WEB_OPTION_OPEN_LINKS_WITH_DEFAULT_APP env variable: #6328
  • Enhancement - Add postprocessing mimetype to extension helper: #6133
  • Enhancement - Provide Search filter for locations: #6713
  • Enhancement - Add search result content preview and term highlighting: #6634
  • Enhancement - Add WEB_OPTION_TOKEN_STORAGE_LOCAL env variable: #6760
  • Enhancement - Evaluate policy resource information on single file shares: #6888
  • Enhancement - Extendable policy mimetype extension mapping: #6869
  • Enhancement - Fix envvar defaults: #6516
  • Enhancement - Skip if the simulink is a directory: #6574
  • Enhancement - Fix the groupname validation: #6490
  • Enhancement - Fix the username validation: #6437
  • Enhancement - Add static secret to gn endpoints: #6946
  • Enhancement - Improve the notification logs: #6862
  • Enhancement - Move graph to service tracerprovider: #6695
  • Enhancement - Move proxy to service tracerprovider: #6591
  • Enhancement - Nats named connections: #6979
  • Enhancement - Remove deprecated environment variables: #7099
  • Enhancement - Add functionality to retry postprocessing: #6500
  • Enhancement - Update go-micro kubernetes registry: #6457
  • Enhancement - Update web to v7.0.1: #6470
  • Enhancement - Update web to v7.1.0-rc.5: #6944
  • Enhancement - Update web to v7.1.0: #7107
  • Enhancement - Allow disabling wopi chat: #6544

Details

  • Bugfix - Add default store to postprocessing: #6578

    Postprocessing did not have a default store especially database and table are needed to
    talk to nats-js

    #6578

  • Bugfix - Add token to LinkAccessedEvent: #6554

    We added the link token to the LinkAccessedEvent

    #3753
    #6554
    cs3org/reva#3993

  • Bugfix - Add missing timestamps: #6515

    We have added missing timestamps to the audit service

    #3753
    #6515

  • Bugfix - Check public auth first: #6900

    When authenticating in proxy, first check for public link authorization.

    #6900

  • Bugfix - Don't connect to ldap on startup: #6565

    This leads to misleading error messages. Instead we connect on first request

    #6565

  • Bugfix - Let clients cache web and theme assets: #6914

    We needed to remove "must-revalidate" from the cache-control header to allow clients to cache
    the web and theme assets.

    #6914

  • Bugfix - Fix CORS issues: #6912

    We fixed the CORS issues when client asking for the 'Cache-Control' header before load the file

    #5108
    #6912

  • Bugfix - Handle the bad request status: #6469

    Handle the bad request status for the CreateStorageSpace function

    #6414
    #6469
    cs3org/reva#3948

  • Bugfix - Fix error message on 400 response for thumbnail requests: #2064

    Fix the error message when the thumbnail request returns a '400 Bad Request' response.

    #2064
    #6911

  • Bugfix - Graph service did not honor the OCIS_LDAP_GROUP_SCHEMA_MEMBER setting: #7032

    We fixed issue when using a custom LDAP attribute for group members. The graph service did not
    honor the OCIS_LDAP_GROUP_SCHEMA_MEMBER environment variable

    #7032

  • Bugfix - Fix nats registry: #6881

    Using nats as service registry did work, but when a service would restart and gets a new ip it
    couldn't re-register. We fixed this by using "put" register action instead of the default
    "create"

    #6881

  • Bugfix - Fix the oidc role assigner: #6605

    The update role method did not allow to set a role when the user already has two roles. This makes
    no sense as the user is supposed to have only one and the update will fix that. We still log an error
    level log to make the admin aware of that.

    #6605
    #6618

  • Bugfix - Fix the default document language for OnlyOffice: #6878

    Fix the default document language for OnlyOffice

    owncloud/enterprise#5807
    #6878

  • Bugfix - Fix the routing capability: #9367

    Fix the routing capability

    owncloud/web#9367

  • Bugfix - Fix the search: #6947

    We fixed the issue when search using the current folder option shows the file/folders outside
    the folder if search keyword is same as current folder

    #6935
    #6947

  • Bugfix - Fix search shares: #6741

    We fixed a problem where searching shares did not yield results when the resource was not shared
    from the space root.

    #6741

  • Bugfix - Restart Postprocessing: #6726

    In case the postprocessing service cannot find the specified upload when restarting
    postprocessing, it will now send a RestartPostprocessing event to retrigger complete
    postprocessing

    #6726

  • Change - YAML configuration files are restricted to yaml-1.2: #6510

    For parsing YAML based configuration files we utilize the gookit/config module. That module
    has dropped support for older variants of the YAML format. It now only supports the YAML 1.2
    syntax. If you're using yaml configuration files, please make sure to update your files
    accordingly. The most significant change likely is that only the string true and false
    (including TRUE,True, FALSE and False) are now parsed as booleans. Yes, On and
    other values are not longer considered valid values for booleans.

    #6510
    #6493

  • Enhancement - Add 'ocis decomposedfs check-treesize' command: #6556

    We added a 'ocis decomposedfs check-treesize' command for checking (and reparing) the
    treesize metadata of a storage space.

    #6556

  • Enhancement - Add IDs to graph resource logging: #6593

    Graph access logs were unsuable as they didn't contain IDs to match them to a request

    #6593

  • Enhancement - Add permissions to report: #6528

    The webdav REPORT endpoint only returned permissions for personal spaces and shares. Now also
    for project spaces.

    #6528

  • Enhancement - Add command for rebuilding the jsoncs3 share manager indexes: #6986

    We added a command for rebuilding the jsoncs3 share manager indexes.

    #6986
    #6971

  • Enhancement - Add more metadata to the remote item: #6300

    We added the drive alias, the space name and the relative path to the remote item. This is needed
    to resolve shared files directly on the source space.

    #6300

  • Enhancement - Add X-Request-Id to all responses: #6715

    We added the X-Request-Id to all responses to increase the debuggability of the platform.

    #6715

  • Enhancement - Add SSE Endpoint: #5998

    Add a server-sent events (sse) endpoint for the userlog service

    #5998

  • Enhancement - We added the storage id to the audit log for spaces: #6548

    We added the storage id to the audit log for spaces

    #3753
    #6548

  • Enhancement - Make the post logout redirect uri configurable: #6583

    We added a config option to change the redirect uri after the logout action of the web client.

    #6536
    #6583

  • Enhancement - Make the app provider service name configurable: #6482

    We needed to make the service name of the app provider configurable. This needs to be changed
    when using more than one app provider. Each of them needs be found by a unique service name.
    Possible examples are: app-provider-collabora, app-provider-onlyoffice,
    app-provider-office365.

    #6482

  • Enhancement - Add old & new values to audit logs: #6537

    We have added old & new values to the audit logs We have added the missing events for role changes

    #6537

  • Enhancement - Bump Hugo: #6787

    Bump hugo pkg (needed for docs generation) to v0.115.2

    #6787

  • Enhancement - Bump reva to 2.16.0: #6829

    Https://github.com/owncloud/ocis/pull/6899
    #6919
    #6928
    #6979

    Update reva to v2.15.0

    #6829
    #6529
    #6544
    #6507
    #6572
    #6590
    #6812

  • Enhancement - Bump sonarcloud: #6961

    Bump sonarcloud to 5.0 to avoid java errors

    #6961

  • Enhancement - Clarify license text in the dev docs: #6755

    Explain the usage of the EULA for binary builds.

    #6755

  • Enhancement - Use reva client selectors: #6452

    Use reva client selectors instead of the static clients, this introduces the ocis service
    registry in reva. The service discovery now resolves reva services by name and the client
    selectors pick a random registered service node.

    #6452
    cs3org/reva#3939
    cs3org/reva#3953

  • Enhancement - Configure max grpc message size: #6849

    Add a configuration option for the grpc max message size

    #6849

  • Enhancement - Thumbnails can be disabled for webdav & web now: #6577

    We added an env var OCIS_DISABLE_PREVIEWS to disable the thumbnails for web & webdav via a
    global setting. For each service this behaviour can be disabled using the local env vars
    WEB_OPTION_DISABLE_PREVIEWS (old) and WEBDAV_DISABLE_PREVIEWS (new).

    #192
    #6577

  • Enhancement - Add companion URL config: #6453

    Introduce a config to set the Uppy Companion URL via WEB_OPTION_UPLOAD_COMPANION_URL.

    #6453

  • Enhancement - Add imprint and privacy url config: #6462

    Introduce a config to set the imprint and privacy url via WEB_OPTION_IMPRINT_URL and
    WEB_OPTION_PRIVACY_URL.

    #6462

  • Enhancement - Add logged out url config: #6549

    Introduce a config to set the more button url on the access denied page in web via
    WEB_OPTION_ACCESS_DENIED_HELP_URL.

    #6549

  • Enhancement - Add WEB_OPTION_OPEN_LINKS_WITH_DEFAULT_APP env variable: #6328

    We introduced the open file links with default app feature in web which is enabled by default,
    this is now configurable and can be disabled by setting the env
    WEB_OPTION_OPEN_LINKS_WITH_DEFAULT_APP to false.

    #6328

  • Enhancement - Add postprocessing mimetype to extension helper: #6133

    Add rego helper to resolve extensions from mimetype
    ocis.mimetype.extensions(mimetype). Besides that, a rego print helper is included also
    print("PRINT MESSAGE EXAMPLE")

    #6133

  • Enhancement - Provide Search filter for locations: #6713

    The search result REPORT response now can be restricted the by the current folder via api
    (recursive) The scope needed for "current folder" (default is to search all available spaces)

    • part of the oc:pattern:"scope: /Test"

    #6713
    OCIS-3705

  • Enhancement - Add search result content preview and term highlighting: #6634

    The search result REPORT response now contains a content preview which highlights the search
    term. The feature is only available if content extraction (e.g. apache tika) is configured

    #6426
    #6634

  • Enhancement - Add WEB_OPTION_TOKEN_STORAGE_LOCAL env variable: #6760

    We introduced the feature to store the access token in the local storage, this feature is
    disabled by default, but can be enabled by setting the env WEB_OPTION_TOKEN_STORAGE_LOCAL
    to true.

    #6760
    #6771

  • Enhancement - Evaluate policy resource information on single file shares: #6888

    The policy environment for single file shares now also includes information about the
    resource. As a result, it is now possible to set up and check rules for them.

    #6888

  • Enhancement - Extendable policy mimetype extension mapping: #6869

    The extension mimetype mappings known from rego can now be extended. To do this, ocis must be
    informed where the mimetype file (apache mime.types file format) is located.

    export POLICIES_ENGINE_MIMES=OCIS_CONFIG_DIR/mime.types

    #6869

  • Enhancement - Fix envvar defaults: #6516

    Defaults for the envvar OCIS_LDAP_DISABLE_USER_MECHANISM were not used consistently,
    correct is attribute.

    #6513
    #6516

  • Enhancement - Skip if the simulink is a directory: #6574

    Skip the error if the simulink is pointed to a directory

    #6567
    #6574

  • Enhancement - Fix the groupname validation: #6490

    Fixed the ability to create a group with an empty name

    #5050
    #6490

  • Enhancement - Fix the username validation: #6437

    Fix the username validation when an admin update the user

    #6436
    #6437

  • Enhancement - Add static secret to gn endpoints: #6946

    The global notifications POST and DELETE endpoints (used only for deprovision notifications
    at the moment) can now be called by adding a static secret to the header. Admins can still call
    this endpoint without knowing the secret

    #6946

  • Enhancement - Improve the notification logs: #6862

    Improve the notification logs when the user has no email address

    #6855
    #6862

  • Enhancement - Move graph to service tracerprovider: #6695

    This moves the graph to initialise a service tracer provider at service initialisation time,
    instead of using a package global tracer provider.

    #6695

  • Enhancement - Move proxy to service tracerprovider: #6591

    This moves the proxy to initialise a service tracer provider at service initialisation time,
    instead of using a package global tracer provider.

    #6591

  • Enhancement - Nats named connections: #6979

    Names the nats connections for easier debugging

    #6979

  • Enhancement - Remove deprecated environment variables: #7099

    We have removed all environment variables that have been marked as deprecated and marked for
    removal for 4.0.0

    #7099

  • Enhancement - Add functionality to retry postprocessing: #6500

    Adds a ctl command to manually retry failed postprocessing on uploads

    #6500

  • Enhancement - Update go-micro kubernetes registry: #6457

    #6457
    micro/plugins#114
    micro/plugins#113

  • Enhancement - Update web to v7.0.1: #6470

    Tags: web

    We updated ownCloud Web to v7.0.1. Please refer to the changelog (linked) for details on the web
    release.

    Summary * Bugfix owncloud/web#9153:

    Reduce space preloading

    #6470
    https://github.com/owncloud/web/releases/tag/v7.0.1

  • Enhancement - Update web to v7.1.0-rc.5: #6944

    Tags: web

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

    Summary * Bugfix owncloud/web#9078:

    Favorites list update on removal * Bugfix
    owncloud/web#9213: Space creation does
    not block reoccurring event * Bugfix
    owncloud/web#9247: Uploading to
    folders that contain special characters * Bugfix
    owncloud/web#9259: Relative user
    quota display limited to two decimals * Bugfix
    owncloud/web#9261: Remember
    location after token invalidation * Bugfix
    owncloud/web#9299: Authenticated
    public links breaking uploads * Bugfix
    owncloud/web#9315: Switch columns
    displayed on small screens in "Shared with me" view * Bugfix
    owncloud/web#9351: Media controls
    overflow on mobile screens * Bugfix
    owncloud/web#9389: Space editors see
    empty trashbin and delete actions in space trashbin * Bugfix
    owncloud/web#9461: Merging folders *
    Bugfix owncloud/web/#9496: Logo not
    showing * Bugfix owncloud/web/#9489:
    Public drop zone * Bugfix
    owncloud/web/#9487: Respect
    supportedClouds config * Bugfix
    owncloud/web/#9507: Space description
    edit modal is cut off vertically * Bugfix
    owncloud/web/#9501: Add cloud importer
    translations * Bugfix
    owncloud/web/#9510: Double items after
    moving a file with the same name * Enhancement
    owncloud/web#7967: Add hasPriority
    property for editors per extension * Enhancement
    owncloud/web#8422: Improve
    extension app topbar * Enhancement
    owncloud/web#8445: Open
    individually shared file in dedicated view * Enhancement
    owncloud/web#8599: Shrink table
    columns * Enhancement
    owncloud/web#8921: Add whitespace
    context-menu * Enhancement
    owncloud/web#8983: Deny share access *
    Enhancement owncloud/web#8984: Long
    breadcrumb strategy * Enhancement
    owncloud/web#9044: Search tag filter *
    Enhancement owncloud/web#9046: Single
    file link open with default app * Enhancement
    owncloud/web#9052: Drag & drop on parent
    folder * Enhancement
    owncloud/web#9055: Respect archiver
    limits * Enhancement
    owncloud/web#9056: Enable download
    (archive) on spaces * Enhancement
    owncloud/web#9059: Search full-text
    filter * Enhancement
    owncloud/web#9077: Advanced search
    button * Enhancement
    owncloud/web#9077: Search breadcrumb *
    Enhancement owncloud/web#9088: Use app
    icons for files * Enhancement
    owncloud/web#9140: Upload file on paste

    #6944
    https://github.com/owncloud/web/releases/tag/v7.1.0-rc.5

  • Enhancement - Update web to v7.1.0: #7107

    Tags: web

    We updated ownCloud Web to v7.1.0. Please refer to the changelog (linked) for details on the web
    release.

    Summary * Bugfix owncloud/web#9078:

    Favorites list update on removal * Bugfix
    owncloud/web#9213: Space creation does
    not block reoccurring event * Bugfix
    owncloud/web#9247: Uploading to
    folders that contain special characters * Bugfix
    owncloud/web#9259: Relative user
    quota display limited to two decimals * Bugfix
    owncloud/web#9261: Remember
    location after token invalidation * Bugfix
    owncloud/web#9299: Authenticated
    public links breaking uploads * Bugfix
    owncloud/web#9315: Switch columns
    displayed on small screens in "Shared with me" view * Bugfix
    owncloud/web#9351: Media controls
    overflow on mobile screens * Bugfix
    owncloud/web#9389: Space editors see
    empty trashbin and delete actions in space trashbin * Bugfix
    owncloud/web#9461: Merging folders *
    Enhancement owncloud/web#7967: Add
    hasPriority property for editors per extension * Enhancement
    owncloud/web#8422: Improve
    extension app topbar * Enhancement
    owncloud/web#8445: Open
    individually shared file in dedicated view * Enhancement
    owncloud/web#8599: Shrink table
    columns * Enhancement
    owncloud/web#8921: Add whitespace
    context-menu * Enhancement
    owncloud/web#8983: Deny share access *
    Enhancement owncloud/web#8984: Long
    breadcrumb strategy * Enhancement
    owncloud/web#9044: Search tag filter *
    Enhancement owncloud/web#9046: Single
    file link open with default app * Enhancement
    owncloud/web#9052: Drag & drop on parent
    folder * Enhancement
    owncloud/web#9055: Respect archiver
    limits * Enhancement
    owncloud/web#9056: Enable download
    (archive) on spaces * Enhancement
    owncloud/web#9059: Search full-text
    filter * Enhancement
    owncloud/web#9077: Advanced search
    button * Enhancement
    owncloud/web#9077: Search breadcrumb *
    Enhancement owncloud/web#9088: Use app
    icons for files * Enhancement
    owncloud/web#9140: Upload file on paste

    #7107
    https://github.com/owncloud/web/releases/tag/v7.1.0

  • Enhancement - Allow disabling wopi chat: #6544

    Add a configreva for the new reva disable-chat feature

    #6544