Skip to content

Releases: owncloud/file-picker

0.12.0

30 Jun 15:00
Compare
Choose a tag to compare

Changes in 0.12.0

Summary

  • Bugfix - Clear state when unauthorized: #211
  • Bugfix - Reduce requests on token renewal: #211
  • Bugfix - Use bearerToken prop when set: #218
  • Enhancement - Rename select action label in resource picker: #194
  • Enhancement - Token event: #205
  • Enhancement - Use refresh token on init: #213
  • Enhancement - Drop UIkit from examples: #219
  • Enhancement - Bring back shadowRoot: #222
  • Enhancement - Use Inter font: #222

Details

  • Bugfix - Clear state when unauthorized: #211

    The filepicker now reacts to 401 responses by resetting the internal authentication state
    to unauthorized, forcing the user to log in again. This situation can happen when an access
    token that's not expired, yet, was invalidated server side (e.g. through a backchannel logout
    or session inactivity) and would previously lead to a broken application state.

    #211

  • Bugfix - Reduce requests on token renewal: #211

    We've fixed a bug that caused always re-fetching the logged in user and the server capabilities
    on token renewal under certain circumstances. Now the logged in user and the server
    capabilities are only fetched once after successful authentication.

    #211

  • Bugfix - Use bearerToken prop when set: #218

    We've fixed a bug causing the bearerToken prop not being used when it is passed to the File
    picker. It will no longer try to get the token from the authentication instance and trigger an
    error blocking the load of the File picker.

    #218

  • Enhancement - Rename select action label in resource picker: #194

    We've renamed the label of the select action (previously "Select resource") to "Choose". This
    label is only visible when the File picker is set to type "resource".

    #194
    #220

  • Enhancement - Token event: #205

    We're emitting a token event with the current access token whenever the access token gets
    updated internally.

    #205

  • Enhancement - Use refresh token on init: #213

    We've added a silent token renewal attempt during filepicker initialization. This way the
    user doesn't need to log in again if there still is a valid refresh token in the local storage.

    #213

  • Enhancement - Drop UIkit from examples: #219

    We've dropped the last imports of UIkit inside of oCIS and oC examples. UIkit will no longer be
    imported anymore.

    #219

  • Enhancement - Bring back shadowRoot: #222

    We've brought back the shadowRoot functionality of custom elements to encapsulate the
    styles inside of it. This will now prevent any leak of the styles to the parent document.

    #222

  • Enhancement - Use Inter font: #222

    We've added the Inter font into the File picker bundle so that it can be imported by the app. This
    aligns the File picker with ownCloud Web. The font is imported automatically. Developers need
    to only make sure that the font is available at path /fonts/inter.css and
    /fonts/inter.ttf

    #222

0.11.0

24 Apr 11:21
076710b
Compare
Choose a tag to compare

Changes in 0.11.0

Summary

  • Bugfix - Update dependencies: #86
  • Bugfix - Authentication fixes: #92
  • Enhancement - Spaces support: #194

Details

  • Bugfix - Update dependencies: #86

    We've updated some of this project's dependencies.

    #86

  • Bugfix - Authentication fixes: #92

    We've fixed a bug causing the file-picker becoming stuck on the loading spinner when the access
    token is already expired.

    #92

  • Enhancement - Spaces support: #194

    We've brought support for the "Spaces" feature of ownCloud Infinite Scale to the file picker.

    #194
    #198
    #199
    #201
    #203

0.10.0

05 Aug 10:00
Compare
Choose a tag to compare

Changes in 0.10.0

Summary

  • Enhancement - Focus last breadcrumb item: #79

Details

  • Enhancement - Focus last breadcrumb item: #79

    We've added focus management so that the last breadcrumb item will be focused after a folder has
    been loaded. By default, this focus management is disabled on the first load when opening the
    file picker. To enable it also during the first load, set prop isInitialFocusEnabled to
    true.

    #79

0.9.0

01 Jul 12:18
Compare
Choose a tag to compare

Changes in 0.9.0

Summary

  • Enhancement - Set state store: #78

Details

  • Enhancement - Set state store: #78

    We've added the same storage that we're using in the user store to the state store.

    #78

0.8.0

29 Jun 10:41
Compare
Choose a tag to compare

Changes in 0.8.0

Summary

  • Bugfix - Current breadcrumb item shouldn't be interactable: #64
  • Bugfix - Emit location as an array: #71
  • Enhancement - Emit current folder in "folderLoaded" event: #71
  • Enhancement - Add memory storage option: #67

Details

  • Bugfix - Current breadcrumb item shouldn't be interactable: #64

    We've fixed the last item in the breadcrumb which is equal to the current folder so that it is not
    interactable anymore.

    #64
    #76

  • Bugfix - Emit location as an array: #71

    When loading new folder in Location picker, we are emitting an "update" with the current route
    as an argument. We've fixed that the argument has type array now so that it is consistent with all
    other arguments returned in the "update" event.

    #71
    #75

  • Enhancement - Emit current folder in "folderLoaded" event: #71

    We've added event called "folderLoaded" that is emitted every time a loading of any folder has
    ended. It is emitting the current folder as an argument.

    #71
    #75

  • Enhancement - Add memory storage option: #67

    We've added an option to store the Bearer token in memory storage instead of session storage.

    #67
    #74

0.7.0

18 Jun 11:21
Compare
Choose a tag to compare

Changes in 0.7.0

Summary

  • Enhancement - Emit update on location change: #71

Details

  • Enhancement - Emit update on location change: #71

    If a new folder in Location picker is loaded, emit it in the update event so that in case of
    hidden select button, consuming app can still receive the location.

    #71
    #72

0.6.0

15 Jun 13:48
Compare
Choose a tag to compare

Changes in 0.6.0

Summary

  • Bugfix - Decode path: #69
  • Enhancement - Update ODS to 7.2.0: #65

Details

0.5.0

27 May 15:24
Compare
Choose a tag to compare

Changes in 0.5.0

Summary

  • Change - Remove focus management: #61
  • Enhancement - Add a prop to hide the select button: #60
  • Enhancement - Always emit event when a resource is selected: #60
  • Enhancement - Emit event when clicking the select button: #60

Details

  • Change - Remove focus management: #61

    We've removed the initial focus management and shift the responsibility to the consuming app.

    #61

  • Enhancement - Add a prop to hide the select button: #60

    We've added a new prop isSelectBtnDisplayed which can be used to hiding the select button.

    #60

  • Enhancement - Always emit event when a resource is selected: #60

    We've started emitting update event every time a resource or location is selected or
    deselected.

    #60

  • Enhancement - Emit event when clicking the select button: #60

    We've started emitting select event when the select button is clicked.

    #60

0.4.0

04 May 11:03
Compare
Choose a tag to compare

Changes in 0.4.0

Summary

  • Bugfix - Do not propagate click event on checkbox: #53
  • Bugfix - Emit current folder: #42
  • Enhancement - Add accessible location select: #54
  • Enhancement - Improve resource name and info readability: #55
  • Enhancement - Add initial focus: #44
  • Enhancement - Build File picker as a library: #32
  • Enhancement - Make it possible to select folder via keyboard: #51
  • Enhancement - Add translations: #49
  • Enhancement - Update ODS to 6.2.0: #36

Details

  • Bugfix - Do not propagate click event on checkbox: #53

    When clicking on the checkbox to select a resource, it hasn't been selected because a click on
    the row would have been caught as well which would reset the selection again. We've fixed this
    issue by not propagating the click event on checkbox to the parent.

    #53

  • Bugfix - Emit current folder: #42

    When selecting the current folder in the location picker, an empty array has been emitted.
    We've fixed this by emitting the current folder.

    #42

  • Enhancement - Add accessible location select: #54

    We've added a hidden button that becomes visible only when focused via keyboard navigation to
    ensure it is possible to select a location also when using a screen reader only.

    #54

  • Enhancement - Improve resource name and info readability: #55

    We've added paragraph elements for resource name and info so that the readability is improved
    when using screen readers.

    #55

  • Enhancement - Add initial focus: #44

    We've added an initial focus so that when the File picker is mounted, it immediately becomes
    focused.

    #44

  • Enhancement - Build File picker as a library: #32

    We've added a build script which creates a library bundle with the File picker. This bundle can
    be directly imported during build time into any Vuejs app.

    #32

  • Enhancement - Make it possible to select folder via keyboard: #51

    We've made the table row in the File picker focusable and the selection of folder in location
    picker triggerable by hitting enter.

    #51

  • Enhancement - Add translations: #49

    We've added vue-gettext library to add support for translations.

    #49

  • Enhancement - Update ODS to 6.2.0: #36

    We've updated ODS to version 6.2.0. This version brings new components that we used to make the
    location picker an actual table of resources.

    #36
    https://github.com/owncloud/owncloud-design-system/releases/tag/v6.2.0

0.3.0

19 Apr 13:58
74aefbb
Compare
Choose a tag to compare

Changes in 0.3.0

Summary

  • Enhancement - Cancelling the file picker: #29
  • Enhancement - Allow string as configObject attribute: #27
  • Enhancement - Select button label: #29

Details

  • Enhancement - Cancelling the file picker: #29

    We added two options for emitting a cancel event from the file picker: - pressing ESC on the
    keyboard while the file picker is focussed - clicking the new Cancel button which appears in
    the top bar as soon as a cancelBtnLabel is provided

    #29

  • Enhancement - Allow string as configObject attribute: #27

    The property/attribute "configObject" is now allowed to be a string. We'll parse it as JSON.

    #27
    #28

  • Enhancement - Select button label: #29

    It is now possible to provide a dedicated label overriding the default Select button label.

    #29