summaryrefslogtreecommitdiffstats
path: root/apps/files_sharing/tests/js
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #12795 from owncloud/files-layoutchangesMorris Jobke2014-12-131-6/+6
|\ | | | | Move file thumbnail element into the label tag
| * Move file thumbnail into the label elementVincent Petry2014-12-111-6/+6
| |
* | Remove obsoleted filelist prototype backup in testsVincent Petry2014-12-042-19/+2
| |
* | Simple Plugin system for JavascriptVincent Petry2014-12-012-2/+5
|/
* JSHint fixes in sharedfilelistSpec unit test fileVincent Petry2014-11-191-1/+3
|
* Remove delete button in shared with others listVincent Petry2014-11-191-9/+17
| | | | | | | | | Whenever a file is shared with others or with link, a delete button used to be visible that triggered a direct deletion. This button has been removed to avoid accidental deletion from people who might believe it was an unshare button. Unsharing is still possible inside the share dropdown.
* Add unit testsRobin Appelman2014-10-311-0/+85
|
* Tentative fix for legacy file actions unit test side effectVincent Petry2014-09-161-0/+10
| | | | | | | Sometimes the JS unit test with legacy file actions fail. This fix runs the legacy file actions tests on a dummy instead of the real one.
* reduce share action text to the user name onlyThomas Müller2014-07-141-4/+4
|
* Propagate file action changes to the file listsVincent Petry2014-07-091-6/+1
| | | | | | | | | Whenever an app needs to register an event late, it does that on the original file actions object. Since the file actions that the file list work on is a merged list, not the original one, the registration event needs to be propagated there as well.
* Do not show recipient for link shares in file listVincent Petry2014-07-071-0/+42
| | | | | | | | In the "Shared with link" section, the share_with field can contain a value when a password was set. This fix prevents this value to be shown as it is not intended for the end user.
* 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