summaryrefslogtreecommitdiffstats
path: root/apps/files_sharing/tests
Commit message (Collapse)AuthorAgeFilesLines
* set accept to 1 (=true) for all server-to-server shares on update, at this ↵Bjoern Schiessle2015-01-131-0/+76
| | | | point in time all shares are created by the first version of server-to-server sharing and are accepted if they were added to the table
* don't delete share table entries for the unique name if re-share permission ↵Bjoern Schiessle2015-01-071-0/+32
| | | | was removed
* Merge pull request #12942 from owncloud/favs-missingsharedsubdirsMorris Jobke2014-12-211-1/+56
|\ | | | | Fix issues with searchByTag in shared storage
| * Fix issues with searchByTag in shared storageVincent Petry2014-12-181-1/+56
| |
* | Next step in server-to-server sharing next generation, see #12285Bjoern Schiessle2014-12-191-4/+37
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Beside some small improvements and bug fixes this will probably the final state for OC8. To test this you need to set up two ownCloud instances. Let's say: URL: myPC/firstOwnCloud user: user1 URL: myPC/secondOwnCloud user: user2 Now user1 can share a file with user2 by entering the username and the URL to the second ownCloud to the share-drop-down, in this case "user2@myPC/secondOwnCloud". The next time user2 login he will get a notification that he received a server-to-server share with the option to accept/decline it. If he accept it the share will be mounted. In both cases a event will be send back to user1 and add a notification to the activity stream that the share was accepted/declined. If user1 decides to unshare the file again from user2 the share will automatically be removed from the second ownCloud server and user2 will see a notification in his activity stream that user1@myPC/firstOwnCloud has unshared the file/folder from him.
* | first step to drop \OCP\Config:: in favour of IConfigMorris Jobke2014-12-173-6/+7
|/
* 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
| |
* | Merge pull request #12778 from owncloud/searchbytags2Vincent Petry2014-12-121-0/+34
|\ \ | | | | | | Added searchByTags to view, storage and cache
| * | Make $userId mandatory for searchByTagsVincent Petry2014-12-121-2/+3
| | | | | | | | | | | | | | | | | | | | | $userId is now a mandatory parameter for searchByTags. Also fixed some places in the code where the argument was missing (Node API and View)
| * | Added searchByTags to view, storage and cacheVincent Petry2014-12-111-0/+33
| |/
* | Merge pull request #12527 from owncloud/js-pluginsystemRobin Appelman2014-12-122-21/+7
|\ \ | |/ |/| Simple Plugin system for Javascript
| * Remove obsoleted filelist prototype backup in testsVincent Petry2014-12-042-19/+2
| |
| * Simple Plugin system for JavascriptVincent Petry2014-12-012-2/+5
| |
* | OCS API for server-to-server sharingBjoern Schiessle2014-12-042-30/+132
|/
* Replace deprecated constant with new class constantJoas Schilling2014-11-253-19/+19
|
* Merge pull request #12262 from owncloud/removeAbsoluteDirectoryPathFromTemplateMorris Jobke2014-11-251-1/+1
|\ | | | | Don't disclose relative directory path for single shared files of user
| * Don't disclose relative directory path for single shared files of userLukas Reschke2014-11-181-1/+1
| | | | | | | | | | | | | | | | | | The "dir" key is used within the public sharing template to indicate in which directory the user currently is when sharing a directory with subdirectories. This is needed by the JS scripts. However, when not accessing a directory then "dir" was set to the relative path of the file (from the user's home directory), meaning that for every public shared file the sharee can see the path. (For example if you share the file "foo.txt" from "finances/topsecret/" the sharee would still see the path "finances/topsecret/" from the shared HTML template) This is not the excpected behaviour and can be considered a privacy problem, this patch addresses this by setting "dir" to an empty key.
* | Merge pull request #12297 from owncloud/issue/10991-all-testcaseMorris Jobke2014-11-2012-25/+30
|\ \ | | | | | | Issue/10991 all testcase
| * | Make apps/ extend the \Test\TestCase and fix overwritten methodsJoas Schilling2014-11-1912-25/+30
| |/
* | 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.
* Merge pull request #12220 from owncloud/remove-unused-codeMorris Jobke2014-11-182-253/+0
|\ | | | | Remove unused code
| * Remove unused codeLukas Reschke2014-11-172-253/+0
| | | | | | | | We don't support direct updates from older ownCloud versions except the previous one therefore this code is unused and can be removed.
* | Merge pull request #12218 from owncloud/issue/10991-fixesMorris Jobke2014-11-171-3/+15
|\ \ | |/ |/| Issue/10991 Make unit tests pass on windows
| * Skip some more tests on Windows which just can not work at allJoas Schilling2014-11-171-3/+15
| |
* | Added download size on public sharingVincent Cloutier2014-11-141-1/+2
| |
* | Refactor file sharing public link handlingLukas Reschke2014-11-143-0/+251
| | | | | | | | | | | | | | fixes download issue introduced by #10755 Conflicts: apps/files_sharing/public.php
* | Merge pull request #10966 from owncloud/storage-root-share-permissionsMorris Jobke2014-11-101-0/+85
|\ \ | | | | | | Dont' use mountpoint permissions as share permissions for external storages
| * | Add unit testsRobin Appelman2014-10-311-0/+85
| |/
* | Fix sharing testsRobin Appelman2014-11-063-2/+15
| |
* | Setup shared mounts for the correct user when setting up the filesystem for ↵Robin Appelman2014-11-061-0/+26
| | | | | | | | the non-logged in user
* | Dont make real users in testsRobin Appelman2014-11-061-3/+5
|/
* remove unnecessary require calls - the ownCloud class loader is supposed to ↵Thomas Müller2014-10-3014-34/+41
| | | | take care of this
* move some deprecated usage of OC_Config and OC_AppConfig to \OC::serverThomas Müller2014-10-201-11/+11
|
* make tests compatible with hook based skeleton generationJörn Friedrich Dreyer2014-10-201-16/+17
|
* make skeleton compatible with objectstoreJörn Friedrich Dreyer2014-10-201-2/+2
| | | | suspend encryption proxy when copying skeleton
* fix performance issuesBjoern Schiessle2014-10-101-0/+105
|
* Merge pull request #10107 from owncloud/sharing_group_sharesLukas Reschke2014-09-293-36/+173
|\ | | | | [sharing] group shares
| * some small fixed, suggested by scrutinizerBjoern Schiessle2014-09-291-2/+0
| |
| * throw a exception if we can't handle the provided pathBjoern Schiessle2014-09-291-0/+37
| |
| * call \OCP\Share::getItemsSharedWithUser() to get exclude list, this way all ↵Bjoern Schiessle2014-09-251-0/+60
| | | | | | | | checks are executed, e.g. to check if the share is really visible
| * clear share table after each test runBjoern Schiessle2014-09-241-0/+3
| |
| * unit tests for grouping of shares pointing to the same sourceBjoern Schiessle2014-09-222-35/+74
| |
* | 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.
* fix testRobin Appelman2014-08-311-1/+3
|
* Fix copyrightLukas Reschke2014-08-181-1/+1
|
* fix broken unit testsBjoern Schiessle2014-08-181-3/+5
|
* update unit tests with configurable share folderBjoern Schiessle2014-08-183-0/+76
|
* Minor fixesMorris Jobke2014-08-051-2/+4
| | | | | | * instanceof \OC\Files\View * fix misplaced paranthesis * remove misplaced character in comment