Skip to content
Snippets Groups Projects
  1. Jul 02, 2015
    • Vincent Petry's avatar
      Do not show static share owner if not available · 71ae96bb
      Vincent Petry authored
      In some corner cases, an outgoing share exists but sharing is not
      allowed for the current user. This would cause the file list to break
      because the static text could not be rendered as the owner was
      undefined.
      71ae96bb
  2. Jan 26, 2015
  3. Dec 11, 2014
  4. Dec 04, 2014
  5. Dec 01, 2014
  6. Jul 14, 2014
  7. Jul 01, 2014
    • Vincent Petry's avatar
      Use fileActionsReady to re-render sharing icons · 025b71d0
      Vincent Petry authored
      Whenever file actions are modified, either by registering new actions or
      when appending a new page of entries, the sharing app is now notified so
      it can correctly refresh the sharing icon status.
      
      Additionally, the core's loadIcons() method is also used to load the
      existing shares and also refresh the sharing icons afterwards.
      025b71d0
  8. Jun 27, 2014
    • Vincent Petry's avatar
      Sync file list with file actions · 586b3a96
      Vincent Petry authored
      Whenever file actions are registered later, now the file lists are
      automatically notified.
      
      Added FileActions.addUpdateListener() to be able to receive such
      notifications.
      
      This removes the need for apps to manually call FileActions.display()
      after registering new actions.
      
      This fixes issues with race conditions when file actions are
      registered after the file list was already rendered.
      586b3a96
  9. Jun 04, 2014
    • Vincent Petry's avatar
      Use recipient display names when updating shares in the UI · 07f1b263
      Vincent Petry authored
      Since OC.Share didn't have any array containing the list of shares for
      the current file, OC.Share.currentShares has been introduced to contain
      the full share item structure instead of the reduced one
      OC.Share.itemShares.
      
      The event "sharesChanged" is now passing OC.Share.currentShares, which
      itself includes the display name to be displayed for the recipients in
      the action icon.
      07f1b263
  10. Jun 03, 2014
  11. Jun 02, 2014
Loading