summaryrefslogtreecommitdiffstats
path: root/apps/files_sharing/tests/js
Commit message (Collapse)AuthorAgeFilesLines
* Use fileActionsReady to re-render sharing iconsVincent Petry2014-07-011-0/+8
| | | | | | | | | 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.
* fix trailing whitespace noted by ScrutinizerJan-Christoph Borchardt2014-06-271-1/+1
|
* Sync file list with file actionsVincent Petry2014-06-273-0/+5
| | | | | | | | | | | | | | 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.
* Merge pull request #8861 from owncloud/share-overview-linklistVincent Petry2014-06-051-0/+91
|\ | | | | Added Shared with link sidebar section in files app
| * Added "Shared with link" sidebar section in files appVincent Petry2014-06-041-0/+91
| | | | | | | | | | | | | | Added section to only show link shares. Please note that the filtering is currently done on the client side which might not be the most efficient way of doing it.
* | Merge pull request #8791 from owncloud/share-overview-sharewithstatusMorris Jobke2014-06-043-4/+460
|\ \ | |/ |/| Update share action text to display owner/recipients
| * Use recipient display names when updating shares in the UIVincent Petry2014-06-041-21/+27
| | | | | | | | | | | | | | | | | | | | | | 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.
| * Multiple fixes to sharing overviewVincent Petry2014-06-031-9/+105
| | | | | | | | | | - scrolling to next page now correctly renders share icons - reshareing/unsharing a reshare will now still keep "Shared by" label
| * Now using shareOwner for the share ownerVincent Petry2014-06-022-4/+10
| | | | | | | | Makes it consistent with the regular file list fileData
| * More unit tests and fixes for shareVincent Petry2014-06-021-22/+157
| |
| * Added unit tests for share.js and share iconVincent Petry2014-06-021-0/+213
| |
* | fix unit testsMorris Jobke2014-06-021-1/+1
|/
* Removed "Share with" columnVincent Petry2014-05-301-11/+0
|
* Added owner display name in actionVincent Petry2014-05-302-1/+10
|
* Sharing overview fixes and unit testsVincent Petry2014-05-302-0/+557
- Fixed renaming and fileActionsReady event - Added unit tests for shares list - Fixed public page with defer - Fixed file actions in sharing overview - Fixed sharing counterpart list (10 entries max) - Fixed file path attribute to be used in download action - Fix sharing list headers - OC.Share icons now operate on fileList instance - Fix OC.Share.updateIcon when more than one list in DOM