summaryrefslogtreecommitdiffstats
path: root/apps/files_sharing/templates
Commit message (Collapse)AuthorAgeFilesLines
* 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-142-3/+3
| | | | 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>
* Remove trailing and in between spacesChristoph Wurst2020-04-091-3/+3
| | | | 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>
* Allow users to specify to accept (internal) shares by defaultRoeland Jago Douma2019-12-171-0/+29
| | | | | | | | | Fixes #18255 A new user setting allows a user to always accept (internal) shares. For example if they don't like accepting shares manually ;) Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* 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-062-1/+8
| | | | 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>
* Use grid view in other file views tooJan-Christoph Borchardt2018-10-181-1/+1
| | | | Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
* 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>
* show note on public link pageBjoern Schiessle2018-07-211-0/+5
| | | | Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
* Move public auth page overRoeland Jago Douma2018-06-201-27/+0
| | | | | | | Now this is in core so the basics (that 99% of the app will want to use) looks always the same. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Move styling and menu handling to publicpage.jsJulius Härtl2018-04-051-7/+1
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Remove deprecated URL functions for OCP\UtilRoeland Jago Douma2018-03-131-1/+1
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Use PublicTemplateResponse for files_sharingJulius Härtl2018-02-271-92/+37
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Remove video preview from files_sharingJulius Härtl2018-01-221-7/+1
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Use guest css on sharing authentication pageJulius Härtl2018-01-031-0/+1
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Fix anchor change when clicking on sharing page menuDaniel Calviño Sánchez2017-12-211-3/+3
| | | | | | | | | | | | | | | | | | | The share menu toggle and some share menu items included an 'href="#"' attribute, so they were handled as internal links by the browser, which changed the current anchor when they were clicked. However, there was no real need to change the anchor in those cases, and it could interfere with other apps (for example, the PDF viewer sets the current anchor to "#pdfviewer" when it is shown and it hides itself when that anchor is modified). According to the HTML 5 spec the "href" attribute is not mandatory for "a" elements, so they were removed. Other options would have been to change the elements from "a" to "div" or something like that, but that would have required changes to the CSS rules too, or to prevent the default event handling for those elements through JavaScript, which would have been a workaround instead of the proper solution. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
* Add HTML5 audio player in public viewWilliam Pain2017-11-221-0/+6
| | | | Signed-off-by: William Pain <pain.william@gmail.com>
* Clicking publicly shared image opens direct preview urlJan-Christoph Borchardt2017-11-011-0/+1
| | | | Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
* Directly show linkJan-Christoph Borchardt2017-11-011-2/+2
| | | | Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
* Use standard way of showing and hiding popover menuJan-Christoph Borchardt2017-11-011-1/+1
| | | | Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
* Show and hide menu via Javascript, thanks @skjnldsvJan-Christoph Borchardt2017-11-011-2/+2
| | | | Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
* Add label to download actionJan-Christoph Borchardt2017-11-011-1/+1
| | | | Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>