aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files_sharing/templates
Commit message (Collapse)AuthorAgeFilesLines
* 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>
* Fix display of Download entry textJan-Christoph Borchardt2017-11-011-1/+1
| | | | Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
* Move shared page controls to menu in top rightJan-Christoph Borchardt2017-11-011-20/+34
| | | | Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
* Use new-password as autocomplete on share auth pageRoeland Jago Douma2017-10-251-1/+1
| | | | | | | | | Fixes #6821 This makes sure that (supported) browsers will not prefill the password field if a user has a password saved for that nextcloud. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* For images we have a preview for use the preview linkRoeland Jago Douma2017-09-251-1/+1
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Add box around link share password box, fix #5560Jan-Christoph Borchardt2017-09-171-1/+1
| | | | Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
* Logo claim is not used anymoreMorris Jobke2017-08-021-1/+0
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Merge pull request #5920 from nextcloud/gallery-share-view-fixMorris Jobke2017-08-021-2/+2
|\ | | | | Top bar buttons in share view are wrong positioned
| * Change id to class in the main share templateMarin Treselj2017-07-311-2/+2
| | | | | | | | Signed-off-by: Marin Treselj <marin@pixelipo.com>
* | Fix comparisons in the sharing appJoas Schilling2017-08-011-1/+1
|/ | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Add filename and sharer in public pageMorris Jobke2017-07-211-4/+6
| | | | | | | | * shows the filename and sharer on the public page * allows the user to identify, that this is a user page and not an official page of the Nextcloud hosting * remove link on logo that redirects to login (fixes #5720) Signed-off-by: Morris Jobke <hey@morrisjobke.de>