Louis Chemineau
4ab3c16403
Pluggable share provider
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
Signed-off-by: Louis Chemineau <louis@chmn.me>
il y a 1 an
Julius Härtl
702b0cccd6
Make scroll areas keyboard focussable
Signed-off-by: Julius Härtl <jus@bitgrid.net>
il y a 1 an
Max
99aa938452
feature: first take on using the viewer to render single file shares
Signed-off-by: Max <max@nextcloud.com>
il y a 1 an
Vincent Petry
8be9b04981
Remove legacy #dir element in files list
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>
il y a 1 an
Vincent Petry
255d22fa71
Remove obsolete notification container
The future is TOAST 🍞
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
il y a 1 an
Vincent Petry
bb2557c389
Replace files app ids to classes
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>
il y a 1 an
Christopher Ng
f5236cde1a
Change tooltip title of files grid view toggle dynamically
Signed-off-by: Christopher Ng <chrng8@gmail.com>
il y a 2 ans
Valdnet
dfe7243338
l10n: Delete apostrophe
Signed-off-by: Valdnet <47037905+Valdnet@users.noreply.github.com>
il y a 2 ans
szaimen
aa1c7ebbd3
hide download button for images
Signed-off-by: szaimen <szaimen@e.mail.de>
il y a 2 ans
szaimen
f0424378f6
Revert "Add non-breaking space in the file size"
Signed-off-by: szaimen <szaimen@e.mail.de>
il y a 2 ans
Carl Schwan
46c0ceb59c
Add non-breaking space in the file size
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
il y a 2 ans
Carl Schwan
2e55ce0899
Improve layout for the public download page
This centers the content inside the pages, while also not hardcoded the
size of the footer.
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
il y a 2 ans
John Molakvoæ (skjnldsv)
b664aad7ab
Move bundles to /dist
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
il y a 2 ans
Joas Schilling
584d275a50
Fix "No entries in this …" template
Signed-off-by: Joas Schilling <coding@schilljs.com>
il y a 3 ans
Valdnet
325aa48b95
Correct code
Signed-off-by: Valdnet <47037905+Valdnet@users.noreply.github.com>
il y a 2 ans
Valdnet
a097695dad
l10n: Remove a text string from translation
Removal of a text string from a translation in Transifex.
Signed-off-by: Valdnet <47037905+Valdnet@users.noreply.github.com>
il y a 2 ans
sangramsinh.desai@t-systems.com
bc6b496f4c
Duplicate code removed
Signed-off-by: Sangramsinh Desai <sangramsinh.desai@t-systems.com>
Signed-off-by: sangramsinh.desai@t-systems.com <sangramsinh.desai@t-systems.com>
il y a 2 ans
sangramsinh.desai@t-systems.com
86558878e4
unwanted class removed
Signed-off-by: Sangramsinh Desai <sangramsinh.desai@t-systems.com>
Signed-off-by: sangramsinh.desai@t-systems.com <sangramsinh.desai@t-systems.com>
il y a 2 ans
sangramsinh.desai@t-systems.com
4d7b780c73
mimetype condition merged
Signed-off-by: Sangramsinh Desai <sangramsinh.desai@t-systems.com>
Signed-off-by: sangramsinh.desai@t-systems.com <sangramsinh.desai@t-systems.com>
il y a 2 ans
Sangramsinh Desai
2254a40f61
Guest view download button seperated for image
Signed-off-by: Sangramsinh Desai <sangramsinh.desai@t-systems.com>
Signed-off-by: sangramsinh.desai@t-systems.com <sangramsinh.desai@t-systems.com>
il y a 2 ans
Sangramsinh Desai
ce8a8c0c83
Guest view download button seperated for video
Signed-off-by: Sangramsinh Desai <sangramsinh.desai@t-systems.com>
Signed-off-by: sangramsinh.desai@t-systems.com <sangramsinh.desai@t-systems.com>
il y a 2 ans
Florian Storz
b803043b80
Remove trailing whitespace from comment
Signed-off-by: Florian Storz <florian.storz@devlix.de>
il y a 3 ans
Florian Storz
6aed80913f
Add comment linking to PR
PR contains discussion about the implementation with pros and cons
Signed-off-by: Florian Storz <florian.storz@devlix.de>
il y a 3 ans
Florian Storz
2b6ff55fa9
hide download button for public preview of audio files
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>
il y a 3 ans
Joas Schilling
b09620651c
Don't use deprecated getIniWrapper() anymore
Signed-off-by: Joas Schilling <coding@schilljs.com>
il y a 3 ans
Morris Jobke
d7f66c36ac
Fix "misplaced variables" warning of Psalm in PHPDoc statements
Ref #21787
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
il y a 3 ans
Daniel Kesselberg
6f8147b18f
Fix some MissingDocblockType or InvalidDocblock warnings.
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
il y a 3 ans
Christoph Wurst
caff1023ea
Format control structures, classes, methods and function
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>
il y a 4 ans
Christoph Wurst
44577e4345
Remove trailing and in between spaces
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
il y a 4 ans
Christoph Wurst
2fbad1ed72
Fix (array) indent style to always use one tab
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
il y a 4 ans
Joas Schilling
f878ea9606
Remove user name from public sharing page
Signed-off-by: Joas Schilling <coding@schilljs.com>
il y a 4 ans
Christopher Mueller
79320200cc
add translation strings & add margin to uploaded files-list
Signed-off-by: Christopher Mueller <chrinimue@posteo.me>
il y a 4 ans
Christopher Mueller
b69d76feee
Add basic progressbar to public upload page
Signed-off-by: Christopher Mueller <chrinimue@posteo.me>
il y a 4 ans
Christoph Wurst
b80ebc9674
Use the short array syntax, everywhere
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
il y a 4 ans
Roeland Jago Douma
e7dc91002f
Allow users to specify to accept (internal) shares by default
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>
il y a 4 ans
John Molakvoæ (skjnldsv)
ee2c45d60d
Fix grid toggle button on public page
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
il y a 5 ans
Michael Weimann
2f0cd40c50
Add the file drop uploaded files element
Signed-off-by: Michael Weimann <mail@michael-weimann.eu>
il y a 5 ans
Michael Weimann
04b9154c9a
Fixes the grid toggle for none folder shares
Signed-off-by: Michael Weimann <mail@michael-weimann.eu>
il y a 5 ans
Morris Jobke
ca93d73f97
Improve text to be better translatable and use CSS instead of HTML for bold text
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
il y a 5 ans
Michael Weimann
e0ab2902d6
Moves the terms of service into a dialog
Signed-off-by: Michael Weimann <mail@michael-weimann.eu>
il y a 5 ans
Michael Weimann
08e681b221
Inlines the share note for file drops
Signed-off-by: Michael Weimann <mail@michael-weimann.eu>
il y a 5 ans
John Molakvoæ (skjnldsv)
5682d302c7
Add grid toggle for every files view
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
il y a 5 ans
Daniel Calviño Sánchez
bfb2a914d2
Honour "hide download" in the public share page
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>
il y a 5 ans
Roeland Jago Douma
c237a3f003
Expose hide download to public page
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
il y a 5 ans
Jan-Christoph Borchardt
39ff82f707
Use grid view in other file views too
Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
il y a 5 ans
John Molakvoæ (skjnldsv)
ac2c925231
Fix mobile view and add public share note view
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
il y a 5 ans
John Molakvoæ (skjnldsv)
0274507cb1
Acceptance and mobile navigation fixes
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
il y a 6 ans
Bjoern Schiessle
977c462698
move the note up, so that it is also visible in the file drop view
Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
il y a 6 ans
Bjoern Schiessle
eab4d96c4c
some small template fixes
Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
il y a 6 ans
Bjoern Schiessle
4f59c8e8ae
show note on public link page
Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
il y a 6 ans