summaryrefslogtreecommitdiffstats
path: root/apps/files_sharing/js/public.js
Commit message (Collapse)AuthorAgeFilesLines
* Remove deprecated legacy file actionsJulius Härtl2019-10-141-2/+0
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Raised public txt file truncation size to 10kbJohannes Koenig2019-10-081-1/+1
| | | | Signed-off-by: Johannes Koenig <mail@jokoenig.de>
* Fix placement of icon in public share page for audio filesDaniel Calviño Sánchez2019-06-271-1/+4
| | | | | | | | | | | | | When the preview for audio files is used an HTML 5 audio element is shown in the public share page. This element is added by the template, so it is already there when the mimetype icon is added to the "#imgframe" element. Instead of appended the icon is now prepended, so it appears before the audio element (prepending instead of appending should make no difference for other types of files, as in that case the "#imgframe" element is empty). Besides that, the CSS was modified to show the icon centered above the audio preview instead of next to it. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
* Fix download link included in public share page with hidden downloadDaniel Calviño Sánchez2019-06-271-3/+5
| | | | | | | | The preview element in the public share page was always wrapped with a link to download the file; now that link is included only if the "Hide download" option of the share is not enabled. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
* Move OC.appswebroots to the bundle and deprecate oc_appswebrootsChristoph Wurst2019-05-071-1/+1
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Fix whitespace and file action cleanupJulius Härtl2018-11-201-1/+2
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Clear link to avoid downloadsRoeland Jago Douma2018-11-201-4/+4
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Allow to hide download option for folders shared by linkJulius Härtl2018-11-201-0/+30
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Moves the terms of service into a dialogMichael Weimann2018-11-071-1/+15
| | | | Signed-off-by: Michael Weimann <mail@michael-weimann.eu>
* Fix min trhumbnail sizeJohn Molakvoæ (skjnldsv)2018-11-061-2/+2
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Use preview-x & preview-y on public pagesJohn Molakvoæ (skjnldsv)2018-10-231-2/+2
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Fix usage of deprecated OC.webrootChristoph Wurst2018-10-091-1/+1
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Remove deprecated SVG helpers for old IEsChristoph Wurst2018-10-081-1/+1
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Fix multiSelectMenu for public shares #10536MartB2018-08-061-1/+18
| | | | Signed-off-by: Martin Böh (MartB) <mart.b@outlook.de>
* Use OC.generateUrl to properly prefix preview imagesJulius Härtl2018-07-261-3/+3
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Fixed scrolling containerJohn Molakvoæ (skjnldsv)2018-07-241-1/+0
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Cleanup structureJohn Molakvoæ (skjnldsv)2018-07-201-1/+1
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Fix index.php linksRoeland Jago Douma2018-06-201-2/+2
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Move public preview endpoint overRoeland Jago Douma2018-06-201-6/+5
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Remove ellipsis below public text file sharesMorris Jobke2018-05-221-0/+4
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Move external share saving to templateJulius Härtl2018-04-051-10/+10
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Move styling and menu handling to publicpage.jsJulius Härtl2018-04-051-17/+1
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Fixed ext share style and use varable for popover heightJohn Molakvoæ (skjnldsv)2018-03-071-6/+0
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Improved inline confirm icon with opacity and fixed ext share loading stateJohn Molakvoæ (skjnldsv)2018-03-071-19/+21
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Fix closing menu on second click in sharing pageDaniel Calviño Sánchez2017-12-211-2/+5
| | | | | | | | | | | | | | | | | When a "mouseup" event was triggered on any element except on the share menu or its descendants the share menu was closed. The share menu toggle is not a descendant of the share menu, so clicking on it when the share menu was shown closed it by removing its "open" CSS class. However, once that happened the click event was then handled by the share menu toggle, which toggled the "open" CSS class in the share menu and thus added it again. So, from the user point of view, nothing happened when clicking on the share menu toggle if the share menu was open. Now a "mouseup" event on the share menu toggle no longer closes the share menu, and thus toggling the "open" CSS class when handling the "click" event works as expected. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
* Fix Scrutinizer issueJan-Christoph Borchardt2017-11-021-1/+2
| | | | Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
* Clicking publicly shared image opens direct preview urlJan-Christoph Borchardt2017-11-011-4/+5
| | | | Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
* Use standard way of showing and hiding popover menuJan-Christoph Borchardt2017-11-011-2/+2
| | | | Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
* Show and hide menu via Javascript, thanks @skjnldsvJan-Christoph Borchardt2017-11-011-0/+14
| | | | Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
* fix 'add to your nextcloud' input field, this is not an email addressBjoern Schiessle2017-06-131-1/+1
| | | | Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
* Fixed sharing jsJohn Molakvoæ (skjnldsv)2017-01-221-1/+1
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Use Webdav PUT for uploads in the web browserVincent Petry2016-10-241-13/+30
| | | | | | | | | | | | | | - 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>
* rename SaveToNextcloudController to MountPublicLinkControllerBjoern Schiessle2016-07-141-5/+5
|
* adjust copyright noticesBjoern Schiessle2016-07-141-0/+1
|
* move some stuff over to the federatedfilesharing appBjoern Schiessle2016-07-141-3/+1
|
* s/ownCloud/NextcloudBjoern Schiessle2016-07-141-5/+5
|
* continue to accept the URL of the remote server instead of the federated ↵Bjoern Schiessle2016-07-141-14/+72
| | | | cloud id
* replace 'ownCloud' with 'Nextcloud'Bjoern Schiessle2016-07-141-1/+1
|
* create a real federated share if a user add a public link to his ownCloudBjörn Schießle2016-07-141-41/+32
| | | | this way the owner sees all mounted public links and control them individually
* Change occurence of ownCloud (#352)Morris Jobke2016-07-111-3/+2
|
* Fix public upload for normal sharesLukas Reschke2016-06-091-1/+4
|
* Make uploading possible via select and cleanup CSSLukas Reschke2016-06-091-9/+1
|
* add hide file list optionBjoern Schiessle2016-06-091-2/+7
|
* bug fixPiotr Filiciak2016-05-241-1/+1
|
* video posterPiotr Filiciak2016-05-241-0/+3
|
* Fix: Bugs in shared link with video #24331Piotr Filiciak2016-05-151-1/+1
|
* add loading spinner to add to owncloud input fieldErik Pellikka2016-04-071-0/+19
| | | | | | Update public.js Update public.js
* Remove "files" arg from download URL in public link pageVincent Petry2016-03-071-2/+4
| | | | | When no files were specified for download, it means folder download. In this case, no need to pass an empty "files" argument.
* Revert back to non-webdav download link for public URLsVincent Petry2016-02-101-3/+0
| | | | | Fixes issues with browsers not happy with the token. Fixes activities which were not sent.
* Construct valid URLRoeland Jago Douma2016-02-031-5/+1
|