aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files_sharing/templates/public.php
Commit message (Collapse)AuthorAgeFilesLines
* feat(files_sharing): add public name prompt for files requestsskjnldsv2024-07-181-7/+5
| | | | Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
* feat(files_sharing): use label as title and file drop destination if availableskjnldsv2024-07-181-1/+4
| | | | Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
* chore: Add SPDX headerAndy Scherzinger2024-06-061-0/+6
| | | | Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
* chore: apply changes from Nextcloud coding standards 1.1.1Joas Schilling2023-11-231-1/+1
| | | | | Signed-off-by: Joas Schilling <coding@schilljs.com> Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
* Remove unneeded `tabindex="0"` from sidebar and app contentjulia.kirschenheuter2023-10-251-1/+1
| | | | Signed-off-by: julia.kirschenheuter <julia.kirschenheuter@nextcloud.com>
* make sure to show download button only one timeSimon L2023-06-141-3/+2
| | | | Signed-off-by: Simon L <szaimen@e.mail.de>
* Refactors "strpos" calls in /apps/files_sharing to improve code readability.Faraz Samapoor2023-06-021-1/+1
| | | | Signed-off-by: Faraz Samapoor <f.samapoor@gmail.com>
* Pluggable share providerLouis Chemineau2023-02-021-1/+1
| | | | | Signed-off-by: Carl Schwan <carl@carlschwan.eu> Signed-off-by: Louis Chemineau <louis@chmn.me>
* Make scroll areas keyboard focussableJulius Härtl2022-09-011-1/+1
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* feature: first take on using the viewer to render single file sharesMax2022-08-251-24/+14
| | | | Signed-off-by: Max <max@nextcloud.com>
* Remove legacy #dir element in files listVincent Petry2022-07-271-2/+0
| | | | | | | | | | 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>
* Replace files app ids to classesVincent Petry2022-07-261-1/+1
| | | | | | | | | | | 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>
* Change tooltip title of files grid view toggle dynamicallyChristopher Ng2022-07-041-3/+3
| | | | Signed-off-by: Christopher Ng <chrng8@gmail.com>
* hide download button for imagesszaimen2022-02-161-4/+6
| | | | Signed-off-by: szaimen <szaimen@e.mail.de>
* Revert "Add non-breaking space in the file size"szaimen2022-02-101-2/+2
| | | | Signed-off-by: szaimen <szaimen@e.mail.de>
* Add non-breaking space in the file sizeCarl Schwan2022-01-141-2/+2
| | | | Signed-off-by: Carl Schwan <carl@carlschwan.eu>
* Improve layout for the public download pageCarl Schwan2022-01-131-1/+1
| | | | | | | This centers the content inside the pages, while also not hardcoded the size of the footer. Signed-off-by: Carl Schwan <carl@carlschwan.eu>
* Correct codeValdnet2021-09-131-2/+2
| | | Signed-off-by: Valdnet <47037905+Valdnet@users.noreply.github.com>
* l10n: Remove a text string from translationValdnet2021-09-131-2/+2
| | | | | Removal of a text string from a translation in Transifex. Signed-off-by: Valdnet <47037905+Valdnet@users.noreply.github.com>
* Duplicate code removedsangramsinh.desai@t-systems.com2021-09-021-14/+1
| | | | | Signed-off-by: Sangramsinh Desai <sangramsinh.desai@t-systems.com> Signed-off-by: sangramsinh.desai@t-systems.com <sangramsinh.desai@t-systems.com>
* unwanted class removedsangramsinh.desai@t-systems.com2021-09-021-2/+2
| | | | | Signed-off-by: Sangramsinh Desai <sangramsinh.desai@t-systems.com> Signed-off-by: sangramsinh.desai@t-systems.com <sangramsinh.desai@t-systems.com>
* mimetype condition mergedsangramsinh.desai@t-systems.com2021-09-021-0/+11
| | | | | Signed-off-by: Sangramsinh Desai <sangramsinh.desai@t-systems.com> Signed-off-by: sangramsinh.desai@t-systems.com <sangramsinh.desai@t-systems.com>
* Guest view download button seperated for imageSangramsinh Desai2021-09-021-0/+13
| | | | | Signed-off-by: Sangramsinh Desai <sangramsinh.desai@t-systems.com> Signed-off-by: sangramsinh.desai@t-systems.com <sangramsinh.desai@t-systems.com>
* Guest view download button seperated for videoSangramsinh Desai2021-09-021-1/+4
| | | | | Signed-off-by: Sangramsinh Desai <sangramsinh.desai@t-systems.com> Signed-off-by: sangramsinh.desai@t-systems.com <sangramsinh.desai@t-systems.com>
* Remove trailing whitespace from commentFlorian Storz2021-07-191-1/+1
| | | | Signed-off-by: Florian Storz <florian.storz@devlix.de>
* Add comment linking to PRFlorian Storz2021-07-191-0/+1
| | | | | | PR contains discussion about the implementation with pros and cons Signed-off-by: Florian Storz <florian.storz@devlix.de>
* hide download button for public preview of audio filesFlorian Storz2021-07-191-1/+2
| | | | | | When the option to hide downloads was selected at public link creation, the download button can be hidden by the audio html attribute controlsList="nodownload" Signed-off-by: Florian Storz <florian.storz@devlix.de>
* Don't use deprecated getIniWrapper() anymoreJoas Schilling2020-08-201-2/+2
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Fix "misplaced variables" warning of Psalm in PHPDoc statementsMorris Jobke2020-08-171-1/+1
| | | | | | Ref #21787 Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Fix some MissingDocblockType or InvalidDocblock warnings.Daniel Kesselberg2020-08-141-2/+2
| | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* Format control structures, classes, methods and functionChristoph Wurst2020-04-101-1/+1
| | | | | | | | | | | | | | | To continue this formatting madness, here's a tiny patch that adds unified formatting for control structures like if and loops as well as classes, their methods and anonymous functions. This basically forces the constructs to start on the same line. This is not exactly what PSR2 wants, but I think we can have a few exceptions with "our" style. The starting of braces on the same line is pracrically standard for our code. This also removes and empty lines from method/function bodies at the beginning and end. Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Fix (array) indent style to always use one tabChristoph Wurst2020-04-091-1/+1
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Merge pull request #19913 from ↵Roeland Jago Douma2020-04-031-4/+9
|\ | | | | | | | | nextcloud/bugfix/noid/remove-user-name-from-public-sharing-page Remove user name from public sharing page
| * Remove user name from public sharing pageJoas Schilling2020-04-011-4/+9
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | add translation strings & add margin to uploaded files-listChristopher Mueller2020-03-311-1/+1
| | | | | | | | Signed-off-by: Christopher Mueller <chrinimue@posteo.me>
* | Add basic progressbar to public upload pageChristopher Mueller2020-03-311-2/+1
|/ | | | Signed-off-by: Christopher Mueller <chrinimue@posteo.me>
* Use the short array syntax, everywhereChristoph Wurst2020-03-261-1/+1
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Fix grid toggle button on public pageJohn Molakvoæ (skjnldsv)2019-02-211-7/+9
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Add the file drop uploaded files elementMichael Weimann2019-01-041-0/+1
| | | | Signed-off-by: Michael Weimann <mail@michael-weimann.eu>
* Fixes the grid toggle for none folder sharesMichael Weimann2018-11-091-1/+1
| | | | Signed-off-by: Michael Weimann <mail@michael-weimann.eu>
* Improve text to be better translatable and use CSS instead of HTML for bold textMorris Jobke2018-11-071-2/+2
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Moves the terms of service into a dialogMichael Weimann2018-11-071-6/+13
| | | | Signed-off-by: Michael Weimann <mail@michael-weimann.eu>
* Inlines the share note for file dropsMichael Weimann2018-11-071-1/+8
| | | | Signed-off-by: Michael Weimann <mail@michael-weimann.eu>
* Add grid toggle for every files viewJohn Molakvoæ (skjnldsv)2018-11-061-0/+7
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Honour "hide download" in the public share pageDaniel Calviño Sánchez2018-10-301-2/+4
| | | | | | | | | | | | | When the "hide download" property of a share is set the public share page will not show the download button nor the menu with the download, direct link and "Add to your Nextcloud" actions; the "downloadURL" hidden field will not be included either in the generated HTML. Despite that, note that the "downloadURL" parameter is still set and passed to the template, as this could be needed anyway to generate previews (for example, of audio files). Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
* Expose hide download to public pageRoeland Jago Douma2018-10-301-1/+2
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Fix mobile view and add public share note viewJohn Molakvoæ (skjnldsv)2018-08-241-2/+9
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Acceptance and mobile navigation fixesJohn Molakvoæ (skjnldsv)2018-07-241-1/+2
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* move the note up, so that it is also visible in the file drop viewBjoern Schiessle2018-07-211-5/+6
| | | | Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
* some small template fixesBjoern Schiessle2018-07-211-1/+1
| | | | Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>