summaryrefslogtreecommitdiffstats
path: root/apps/files_sharing/ajax
Commit message (Collapse)AuthorAgeFilesLines
* Throw nicer error message instead 500Lukas Reschke2015-06-171-1/+3
|
* Verify if path existsLukas Reschke2015-06-171-0/+5
| | | | We need to verify if the specified path exists to gracefully prevent errors.
* Return 404 in shareinfo.php when outgoing s2s disabledVincent Petry2015-05-281-0/+5
|
* Update license headersJenkins for ownCloud2015-03-265-28/+95
|
* Correctly get the unique mountpoint name when mounting the shareJoas Schilling2015-03-171-2/+0
| | | | | | | Previously the mount name was checked for uniqueness prior to inserting the share. This caused problems, when two shares with the same name where done or folder, mount point, local share with the same name was done, between sending and accepting of the remote share
* Revert "Updating license headers"Morris Jobke2015-02-265-91/+33
| | | | This reverts commit 6a1a4880f0d556fb090f19a5019fec31916f5c36.
* Use getRemoteAddress which supports reverse proxiesLukas Reschke2015-02-241-1/+1
| | | | | | Breaking change for 8.1 wiki (Security > Administrators): The log format for failed logins has changed and uses now the remote address and is considering reverse proxies for such scenarios when configured correctly.
* Updating license headersJenkins for ownCloud2015-02-235-33/+91
|
* Add callCheck to testremote.phpLukas Reschke2015-02-021-0/+1
| | | | Without CSRF check this file might be tricked into requesting itself which would result in an endless loop and thus potentially ending in a Denial of Service.
* Merge pull request #13525 from owncloud/s2s-fixscanfileforbrokenstorageMorris Jobke2015-01-281-4/+54
|\ | | | | Catch storage exception in scanner for remote shares
| * Add back exit()Vincent Petry2015-01-261-1/+1
| |
| * Catch storage exception in scanner for remote sharesVincent Petry2015-01-261-4/+54
| | | | | | | | | | | | | | | | Whenever an exception occurs during scan of a remote share, the share is checked for availability. If the storage is gone, it will be removed automatically. Also, getDirectoryContent() will now skip unavailable storages.
* | Do not disclose share owner in public file listVincent Petry2015-01-261-1/+4
| |
* | use uid provided by setupfs hook to mount server2server shares, otherwise ↵Bjoern Schiessle2015-01-261-2/+2
|/ | | | mount will fail for public link shares
* Check for version before mounting a public linkMorris Jobke2015-01-051-1/+2
| | | | | | * ownCloud 7.0.0 is needed - version of merge of server <-> server sharing - https://github.com/owncloud/core/pull/8399 * adjust error message
* Next step in server-to-server sharing next generation, see #12285Bjoern Schiessle2014-12-191-5/+6
| | | | | | | | | | | | | | 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.
* Replace deprecated constant with new class constantJoas Schilling2014-11-252-3/+3
|
* move some deprecated usage of OC_Config and OC_AppConfig to \OC::serverThomas Müller2014-10-201-1/+1
|
* Check for blacklisted charactersLukas Reschke2014-09-231-0/+6
| | | | | | Fixes https://github.com/owncloud/core/issues/11264 (This should in future get moved to the mountpoint class - but that is something for @icewind1991 ;-))
* Use public api for getting l10nRobin Appelman2014-08-311-1/+1
|
* ssl capitalVolkan Gezer2014-08-151-1/+1
|
* Give a better error message for external shares with self-signed ssl ↵Robin Appelman2014-08-131-11/+17
| | | | certificates
* Also keep maxY into account when scaling a preview while preserving aspect ratioRobin Appelman2014-07-301-4/+0
|
* no longer check if the external storage app is enabled, we use no the webdav ↵Bjoern Schiessle2014-06-301-4/+1
| | | | implementation from core
* Better error handeling in testremoteRobin Appelman2014-06-171-3/+7
|
* testremote is for public accessRobin Appelman2014-06-171-1/+0
|
* Make testremote more robustRobin Appelman2014-06-161-3/+8
|
* Add some safety checksRobin Appelman2014-06-163-4/+7
|
* Fix public share webdav permissionsRobin Appelman2014-06-141-1/+1
|
* fix modified date for external sharesRobin Appelman2014-06-141-0/+2
|
* block server-to-server share if files_external is not activates, can be ↵Bjoern Schiessle2014-06-141-1/+4
| | | | reverted once we moved to the webdav implementation in core
* add settings to disable server to server sharingBjoern Schiessle2014-06-141-2/+12
|
* Properly expose read only public shares as read onlyRobin Appelman2014-06-141-0/+7
|
* Generate a unique nameRobin Appelman2014-06-141-0/+2
|
* Scan the entire remote share at once by requesting the full file tree from ↵Robin Appelman2014-06-142-1/+70
| | | | the remote server
* Add interface for adding a public share to a different ownCloud instanceRobin Appelman2014-06-141-0/+17
|
* Add interface for accpeting external sharesRobin Appelman2014-06-141-0/+28
|
* Merge branch 'master' into cleanup-list-codeThomas Müller2014-05-192-3/+12
|\ | | | | | | | | Conflicts: apps/files_sharing/ajax/list.php
| * Merge pull request #8041 from owncloud/files-sortcolumnsVincent Petry2014-05-121-6/+4
| |\ | | | | | | File list sorting by clicking on column headers
| | * $RUNTIME_APPTYPES is no longer used - left over from pre OC4Thomas Müller2014-04-281-5/+0
| | |
| | * Add sorting to files list, trashbin and public filesVincent Petry2014-04-281-1/+4
| | |
| * | Images on public sharing get downscaled to increase use experience - this ↵Thomas Müller2014-05-021-1/+7
| |/ | | | | | | | | | | | | | | | | | | | | will speed up loading time - adding keep aspect to core/ajax/preview.php - remove duplicate method Preview::show() - no more hard coded mimetype of preview - remove .png from the preview urls - keep old route preview.png for backwards compatibility - aspect preserving previews are now cached
* | Add missing \Lukas Reschke2014-05-041-1/+1
| |
* | Cleanup code a little bitLukas Reschke2014-05-042-23/+14
|/ | | | | | | - Use OCP\Response constants instead of the HTTP error code - Use checkAppEnabled() instead of OC_App::isEnabled with an if statement - Remove uneeded variable $baseURL - Rename $isvalid to $isValid
* Files, trashbin, public apps use ajax/JSON for the file listVincent Petry2014-04-021-0/+91
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Files app: - removed file list template, now rendering list from JSON response - FileList.addFile/addDir is now FileList.add() and takes a JS map with all required arguments instead of having a long number of function arguments - added unit tests for many FileList operations - fixed newfile.php, newfolder.php and rename.php to return the file's full JSON on success - removed obsolete/unused undo code - removed download_url / loading options, now using Files.getDownloadUrl() for that - server side now uses Helper::getFileInfo() to prepare file JSON response - previews are now client-side only Breadcrumbs are now JS only: - Added BreadCrumb class to handle breadcrumb rendering and events - Added unit test for BreadCrumb class - Moved all relevant JS functions to the BreadCrumb class Public page now uses ajax to load the file list: - Added Helper class in sharing app to make it easier to authenticate and retrieve the file's real path - Added ajax/list.php to retrieve the file list - Fixed FileActions and FileList to work with the ajax list Core: - Fixed file picker dialog to use the same list format as files app
* don't urldecode get var, php does this automaticallyGeorg Ehrke2014-01-301-1/+1
|
* OC_Util::setupFS($user) will create a data dir for the given string - no ↵Thomas Müller2014-01-211-1/+2
| | | | matter if the user really exists - OCP\JSON::checkUserExists($owner); introduces a ready to use check which will bail out with an JSON error
* fix preview for reshared fileGeorg Ehrke2013-12-221-1/+3
|
* fix public preview creation if a user ios logged inBjoern Schiessle2013-11-271-3/+7
|
* outsource sharing and deleted files previews to appsGeorg Ehrke2013-08-191-0/+85
|