aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files_sharing/tests/js/publicAppSpec.js
Commit message (Collapse)AuthorAgeFilesLines
* Remove legacy #dir element in files listVincent Petry2022-07-271-1/+4
| | | | | | | | | | Removed legacy "#dir" input element in the DOM. Apps should use OCA.Files.App.currentFileList or OCA.Sharing.PublicApp.fileList and call getCurrentDirectory() to retrieve the current directory and changeDirectory() to change it. Signed-off-by: Vincent Petry <vincent@nextcloud.com>
* Add missing closing spans and avoid empty hrefVincent Petry2022-07-261-0/+1
| | | | | Signed-off-by: Vincent Petry <vincent@nextcloud.com> Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
* Replace files app ids to classesVincent Petry2022-07-261-5/+5
| | | | | | | | | | | Replaced ids to classes for the following: - #filestable -> .files-filestable - #fileList -> .files-fileList - #controls -> .files-controls - #emptycontent -> .emptyfilelist.emptycontent Signed-off-by: Vincent Petry <vincent@nextcloud.com>
* Replace license information to SPDX expressionLouis Chemineau2022-01-111-1/+1
| | | | Signed-off-by: Louis Chemineau <louis@chmn.me>
* Bump js licensesJohn Molakvoæ (skjnldsv)2021-03-311-18/+22
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Move oc_webroot, OC.webroot and OC.getRootPath() to the bundleChristoph Wurst2019-05-061-3/+6
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Use grid view in other file views tooJan-Christoph Borchardt2018-10-181-1/+1
| | | | Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
* Fix usage of deprecated OC.webrootChristoph Wurst2018-10-091-6/+6
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Fix public link download buttonVincent Petry2017-03-201-0/+4
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* 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>
* 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
|
* 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.
* 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.
* Added unit tests for download URL in public sharing pageVincent Petry2015-05-191-0/+107