summaryrefslogtreecommitdiffstats
path: root/apps/files_sharing/tests/js
Commit message (Collapse)AuthorAgeFilesLines
* Fix share indicator handlingVincent Petry2017-04-261-0/+78
| | | | | Properly update the fileInfoModel with the updated share types, which also updates the file list row indicator properly
* Merge pull request #4412 from individual-it/masterMorris Jobke2017-04-201-1/+0
|\ | | | | deleted forgotten code in test
| * deleted forgotten code in testArtur Neumann2017-04-201-1/+0
| | | | | | | | how embarrassing, left code from before I've done the loop around the test Signed-off-by: Artur Neumann <info@individual-it.net>
* | Merge pull request #4212 from individual-it/masterJoas Schilling2017-04-201-0/+99
|\| | | | | validate file name before uploading in upload only folder
| * remove accidently left over *f*itArtur Neumann2017-04-181-1/+1
| | | | | | Signed-off-by: Artur Neumann <info@individual-it.net>
| * JS tests for upload only functionArtur Neumann2017-04-181-0/+99
| | | | | | Signed-off-by: Artur Neumann <info@individual-it.net>
* | Fix AdBlock blocking share icon, ref #866Jan-Christoph Borchardt2017-04-122-22/+22
| | | | | | | | Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
* | share api expanded by tags (#26583)Michael Jobst2017-04-111-15/+45
|/ | | | | | | | | | | | | | | | | | | | | | | | * share api expanded by tags * Modified files_sharing JS Unit tests * modified tests. renamed request parameter. refactoring * Update Share20OCS.php Added missing function description * Update Helper.php Added missing function description * Update Helper.php implicit boolean conversion to !empty() * Update Share20OCSTest.php Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Fix public link download buttonVincent Petry2017-03-201-0/+4
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* shares-circlesMaxence Lange2017-03-171-1/+17
| | | Signed-off-by: Maxence Lange <maxence@nextcloud.com>
* Add testsRoeland Jago Douma2016-11-071-0/+224
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Use Webdav PUT for uploads in the web browserVincent Petry2016-10-241-0/+23
| | | | | | | | | | | | | | - uses PUT method with jquery.fileupload for regular and public file lists - for IE and browsers that don't support it, use POST with iframe transport - implemented Sabre plugin to handle iframe transport and redirect the embedded PUT request to the proper handler - added RFC5995 POST to file collection with "add-member" property to make it possible to auto-rename conflicting file names - remove obsolete ajax/upload.php and obsolete ajax routes Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* move some stuff over to the federatedfilesharing appBjoern Schiessle2016-07-141-245/+0
|
* Simplify test code and don't show anything if no date is setMorris Jobke2016-07-071-9/+3
|
* add unit testsMorris Jobke2016-07-071-3/+40
|
* Fix displaying owner before share icon in file listVincent Petry2016-03-301-1/+1
| | | | Initial display of owner was missing
* Add webdav property for share info in PROPFIND responseVincent Petry2016-03-171-21/+12
|
* Make file actions use icon CSS classesRoeland Jago Douma2016-02-251-13/+18
| | | | This makes theming of file actions possible
* Revert back to non-webdav download link for public URLsVincent Petry2016-02-101-4/+4
| | | | | Fixes issues with browsers not happy with the token. Fixes activities which were not sent.
* Construct valid URLRoeland Jago Douma2016-02-031-5/+3
|
* Fix public page URL JS testVincent Petry2016-01-081-1/+3
| | | | Stub the port so it doesn't use the one configured by karma
* Add token in webdav download link of public pageVincent Petry2016-01-071-3/+3
|
* Merge pull request #21200 from owncloud/files-authorizationheaderThomas Müller2015-12-171-1/+2
|\ | | | | Use Authorization headers for public webdav in web UI
| * Use Authorization headers for public webdav instead of URLVincent Petry2015-12-141-1/+2
| | | | | | | | | | | | Instead of prepending the token as username in the URL, use the Authorization header instead. This is because IE9 considers this a cross-domain call and refuses to do it in the first place.
* | Merge pull request #21189 from owncloud/fix_21187Thomas Müller2015-12-151-1/+1
|\ \ | | | | | | File shares can't have create permissions
| * | File shares can't have create permissionsRoeland Jago Douma2015-12-141-1/+1
| |/ | | | | | | fixes #21187
* / Fixed JS unit tests for fed owner display nameVincent Petry2015-12-141-0/+4
|/
* Fix public link getDownloadUrl to return Webdav public linkVincent Petry2015-11-251-4/+4
| | | | | | | | This is for apps that use getDownloadUrl() to access the Webdav endpoint for example for streaming. Also happens when clicking on the download action of a file. Note that the regular visible download URL is still the same.
* Fix port issue - options.host already has the port attachedThomas Müller2015-11-221-4/+2
|
* Make public link share page work with Webdav and add operationsVincent Petry2015-11-221-2/+18
| | | | | | | | The public page now uses the public.php/webdav endpoint. Also enabled more file operations like rename, move, delete and create folder from the public page, which are now all possible thanks to the public.php/webdav endpoint.
* Make files app use Webdav for most operationsVincent Petry2015-11-221-17/+9
|
* Bring back delete permission in share overviewVincent Petry2015-10-291-17/+9
|
* Fix and extend unit testsRoeland Jago Douma2015-10-021-11/+104
|
* Still show share link when recipient but no share permissionVincent Petry2015-09-281-10/+3
| | | | | | | | This makes it possible for the recipient to still trigger the sidebar and share tab to see information about the share. In the case where the file is not shared and no permissions exists, no action icon will be displayed.
* Update JS unit tests for share dialog (WIP)Vincent Petry2015-09-161-68/+57
|
* fix unit testsMorris Jobke2015-08-261-8/+8
|
* Inline actions using default renderer are now always permanentVincent Petry2015-08-101-3/+3
| | | | | | | | Default renderer like the favorite icon can decide whether to use the permanent class or not. Fixed sharing code to properly update the icon according to sharing state modifications.
* Added unit tests for right sidebarVincent Petry2015-08-071-1/+1
|
* Fix unit testsRoeland Jago Douma2015-07-091-1/+1
|
* Do not show static share owner if not availableVincent Petry2015-07-021-0/+17
| | | | | | | In some corner cases, an outgoing share exists but sharing is not allowed for the current user. This would cause the file list to break because the static text could not be rendered as the owner was undefined.
* Added unit tests for download URL in public sharing pageVincent Petry2015-05-191-0/+107
|
* Merge pull request #13679 from owncloud/public-disablesharejspluginThomas Müller2015-01-271-1/+25
|\ | | | | Disable JS plugin for sharing in public mode
| * Disable JS plugin for sharing in public modeVincent Petry2015-01-261-1/+25
| | | | | | | | | | This removes the logic that registers the share action and modifies the rows. Share actions aren't needed in the public file list.
* | Only reload file list after remote share accept request returnsVincent Petry2015-01-261-2/+120
|/ | | | | When accepting a remote share, an ajax request is sent to the server. Only once this request returns should the file list be reloaded.
* Add unit test for external share JS dialogVincent Petry2015-01-211-0/+123
| | | | | | Moved external share JS code into a small plugin to make it testable. Added unit test for the external share dialog logic + ajax calls.
* 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
|