summaryrefslogtreecommitdiffstats
path: root/apps/files_sharing/tests
Commit message (Collapse)AuthorAgeFilesLines
* if a folder gets deleted we unshare all shared files/folders belowBjoern Schiessle2014-07-042-20/+21
|
* Merge pull request #9364 from owncloud/sharing_rename_mount_pointsVincent Petry2014-07-021-0/+36
|\ | | | | [sharing] rename mount point of children if parent was renamed
| * rename mount point of children if parent was renamedBjoern Schiessle2014-07-021-0/+36
| |
* | Merge pull request #9311 from owncloud/storage-not-availableVincent Petry2014-07-021-0/+1
|\ \ | |/ |/| Handle storages not being available in webui and webdav
| * Fix unit testRobin Appelman2014-07-021-0/+1
| |
* | 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.
* remove pointless require - we should kill all require_once like that in our ↵Thomas Müller2014-06-271-2/+0
| | | | tests
* Merge pull request #9193 from owncloud/sharing_etag_propagationBjörn Schießle2014-06-261-2/+113
|\ | | | | make sure that the etags get propagated correctly
| * make sure that hooks are registered for the testsBjoern Schiessle2014-06-251-2/+7
| |
| * make sure that during share and unshare the etags get propagated correctlyBjoern Schiessle2014-06-251-0/+106
| |
* | Merge pull request #9205 from owncloud/remoteshare-fixurlpathVincent Petry2014-06-251-0/+91
|\ \ | | | | | | Fix parsing of remote URL when mounting remote shares
| * | Fix parsing of remote URL when mounting remote sharesVincent Petry2014-06-251-0/+91
| |/ | | | | | | | | | | | | | | This fix allows for having the remote ownCloud instance live in a subpath like "http://example.com/basedir/subdir/owncloud". Such URLs are now parsed correctly. Added unit test for URL parsing.
* / add/update unit testsBjoern Schiessle2014-06-242-3/+33
|/
* Merge pull request #8901 from owncloud/permissions-update-cacheVincent Petry2014-06-111-8/+42
|\ | | | | Save the permissions in the filecache if it's not saved yet
| * adjust unit test assert valuesThomas Müller2014-06-091-8/+6
| |
| * adding PHPDocThomas Müller2014-06-091-0/+36
| |
* | no need to prepare a statement twiceBjoern Schiessle2014-06-101-1/+0
|/
* fix unshareFromSelf()Bjoern Schiessle2014-06-061-0/+65
|
* update unit tests and make sure that we return the right permissions for ↵Bjoern Schiessle2014-06-061-0/+5
| | | | files within a shared folder and for the shared folder itself
* add some testsBjoern Schiessle2014-06-061-1/+59
|
* Fix phpdoc and commentsRobin Appelman2014-06-061-1/+1
|
* update share API tests, file shares never have delete permissionsBjoern Schiessle2014-06-061-4/+6
|
* add additional unit testsBjoern Schiessle2014-06-061-0/+139
|
* don't allow to share single files with delete permissions, user should only ↵Bjoern Schiessle2014-06-063-125/+341
| | | | be possible to unshare a single file but never to delete it
* 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
* don't lose file size during renameBjoern Schiessle2014-05-261-3/+43
|
* allow admin to disable sharing for specific groups of usersBjoern Schiessle2014-05-223-2/+76
|
* move the mount point up if a share is mounted to a subfolder and the ↵Bjoern Schiessle2014-05-213-20/+252
| | | | subfolder no longer exists
* Remove all occurences of @brief and @returns from PHPDocMorris Jobke2014-05-193-9/+9
| | | | * test case added to avoid adding them later
* Fix whitespace issuesRobin McCorkell2014-05-161-5/+5
|
* Fix PHPDoc in /appsRobin McCorkell2014-05-161-1/+1
|
* Merge pull request #8555 from owncloud/sharing_default_expire_only_public_linksBjörn Schießle2014-05-161-0/+54
|\ | | | | use default expire date only for link shares
| * use default expire date only for link sharesBjoern Schiessle2014-05-161-0/+54
| |
* | allow admin to enforce passwords for public link sharesBjoern Schiessle2014-05-161-0/+54
|/
* remove legacy aka deprecated code: OC_FilesystemViewThomas Müller2014-05-122-3/+3
|
* Added unit test for sharing ext storage mount pointsVincent Petry2014-05-081-2/+55
|
* get the correct owner path for part filesBjoern Schiessle2014-04-301-0/+83
|