aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files_sharing/lib/updater.php
Commit message (Collapse)AuthorAgeFilesLines
* Move lib/ to PSR-4Joas Schilling2016-05-251-109/+0
|
* Cleanup Files_Sharing CLASSPATHRoeland Jago Douma2016-05-021-2/+2
| | | | | | | | | | * OC\Files\Cache\SharedScanner * OC\Files\Cache\Shared_Cache * OC\Files\Cache\Shared_Permissions * OC\Files\Cache\Shared_Updater * OC\Files\Cache\Shared_Watcher * OCA\Files\Share\Maintainer * OCA\Files\Share\Proxy
* Remove dead codeRoeland Jago Douma2016-05-021-15/+0
| | | | Ancient files_sharing updater code I came across.
* There is no need to do old etag propagationRoeland Jago Douma2016-04-301-96/+0
| | | | Etags are calculated differently now and don't require manual updating.
* Move SharedStorage et al over to the shareManager and jailRoeland Jago Douma2016-04-191-8/+9
|
* Gracefull handle link shares rename hookRoeland Jago Douma2016-02-051-0/+6
| | | | | | | Fixes #21678 The hook is called on all renames. However when we use a link share the getUserFolder fails. We now just opt out.
* Happy new year!Thomas Müller2016-01-121-1/+1
|
* Update parent when moving share into recieved shareRoeland Jago Douma2015-12-071-0/+41
| | | | | | | | | Fixes #20769 When I receive a share and move a share of myself into that share (which is allowed currently) I effectively hand over ownership of the files I move. So we need to update the share I move to have as a parent the share I move it into. Else our mounting system gets confused.
* Update license headersLukas Reschke2015-10-261-1/+1
|
* update licence headers via scriptMorris Jobke2015-10-051-0/+2
|
* Merge pull request #15475 from rullzer/files_sharing_OCP_DBMorris Jobke2015-07-011-1/+1
|\ | | | | Move files sharing app (mostly) to OCP\DB
| * Move files sharing app (mostly) to OCP\DBRoeland Jago Douma2015-05-181-1/+1
| |
* | take share target into account when updating recipient etagsRobin Appelman2015-06-221-2/+2
|/
* Update etag of direct parent on unshareVincent Petry2015-04-281-7/+9
| | | | | Only call dirname() once instead of twice when propagating etags to the recipient's parent folders.
* propagate etags for all user of a shareRobin Appelman2015-04-271-39/+0
|
* Remove unused $toRemoveVincent Petry2015-04-091-3/+0
|
* Keep shares when deleting shared foldersVincent Petry2015-04-091-32/+0
| | | | | | | | The share entries will be linked with the fileid while they are kept in the trashbin. In the future a background just will scrape orphaned shares and delete them.
* Update license headersJenkins for ownCloud2015-03-261-12/+16
|
* Revert "Updating license headers"Morris Jobke2015-02-261-17/+13
| | | | This reverts commit 6a1a4880f0d556fb090f19a5019fec31916f5c36.
* Updating license headersJenkins for ownCloud2015-02-231-13/+17
|
* Next step in server-to-server sharing next generation, see #12285Bjoern Schiessle2014-12-191-2/+5
| | | | | | | | | | | | | | 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.
* Fix update cleanup to only affect file and foldersVincent Petry2014-07-081-2/+2
| | | | | | Fix bug in the SQL query that cleans up stray shares for removed files/folders, which is now correctly limited to that item type instead of also removing all other share types.
* rename mount point of children if parent was renamedBjoern Schiessle2014-07-021-0/+23
|
* make sure that during share and unshare the etags get propagated correctlyBjoern Schiessle2014-06-251-0/+62
|
* move the mount point up if a share is mounted to a subfolder and the ↵Bjoern Schiessle2014-05-211-3/+6
| | | | subfolder no longer exists
* Remove all occurences of @brief and @returns from PHPDocMorris Jobke2014-05-191-2/+2
| | | | * test case added to avoid adding them later
* Merge branch 'sharing_cleanup' of github.com:owncloud/core into sharing_cleanupBjoern Schiessle2014-05-071-1/+1
|\
| * Fix endless loop on windows serversJoas Schilling2014-05-071-1/+1
| | | | | | | | | | | | Directory seperator is \ on windows However we can just check for path != dirname(path) because that is the same for '' (empty string), '.' and DIRECTORY_SEPARATOR on all OS
* | remove error_log outputBjoern Schiessle2014-05-071-2/+1
|/
* ignore part filesBjoern Schiessle2014-05-071-0/+6
|
* fix etag propagationBjoern Schiessle2014-04-231-44/+33
|
* remove invalid shares with one SQL statementMorris Jobke2014-03-131-12/+5
|
* Refactor update script to class and add unit testMorris Jobke2014-03-131-0/+22
|
* get owner from share item, if we expire a share while the user updates his ↵Bjoern Schiessle2013-12-051-2/+6
| | | | /Shared folder than the owner is different from the currently logged in user
* make sure that we don't try to access an already deleted files, fixes some ↵Bjoern Schiessle2013-11-281-7/+16
| | | | file source not found warnings
* Fixed sharing hook to not remove the share before the trashbinVincent Petry2013-11-271-1/+6
| | | | Fixed the hook order between sharing app and trashbin
* backport of https://github.com/owncloud/core/pull/5513Bjoern Schiessle2013-10-291-7/+0
|
* run first getUsersItemShared() with the ownerBjoern Schiessle2013-10-231-1/+1
|
* update etags for user we haven't checked yetBjoern Schiessle2013-10-231-1/+1
|
* keep a list of users we already checked to avoid loopsBjoern Schiessle2013-10-231-3/+3
|
* fix infinite loop while updating etags, fix for #4365Bjoern Schiessle2013-10-231-2/+4
|
* catch exception if db query execution failsBjoern Schiessle2013-10-071-1/+5
|
* add commentsBjoern Schiessle2013-10-041-0/+5
|
* remove deleted shares from the database table oc_shareBjoern Schiessle2013-10-021-0/+10
|
* the old path no longer exists after rename, update the parent folder insteadBjörn Schießle2013-03-251-1/+1
|
* fix indentionBjörn Schießle2013-03-251-12/+12
|
* skip update if the recipient is the same user as the owner, otherwise we run ↵Björn Schießle2013-03-251-5/+9
| | | | in a infinite loop for group shares
* Fix correctFolders and retrieve the correct storage cacheMichael Gapczynski2013-03-081-7/+4
|
* not only files can be reshared but also foldersBjörn Schießle2013-03-081-1/+1
|
* Fix share hook for updaterMichael Gapczynski2013-03-081-2/+14
|