Christian Aigner
ce37930910
HBOX-297 trim in webfrontend for new files to stay compatible with windows
vor 5 Jahren
Stefan Weil
c5d3febf37
Add missing variable declarations
This fixes errors from LGTM like the following one:
Variable i is used like a local variable,
but is missing a declaration.
Signed-off-by: Stefan Weil <sw@weilnetz.de>
vor 5 Jahren
Christoph Wurst
dd459bbb7a
Remove OC.scaleFixForIE8
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
vor 5 Jahren
Roeland Jago Douma
1161b838d7
Move newfilemenu to compiled handlebars
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
vor 5 Jahren
Kevin Ndung'u
1cdf808197
Trigger upload actions only for Enter & Space keys
Signed-off-by: Kevin Ndung'u <kevgathuku@gmail.com>
vor 6 Jahren
Jan-Christoph Borchardt
d06e00ffe3
Trigger upload action also with keyboard navigation on enter
Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
vor 6 Jahren
Jan-Christoph Borchardt
e9581f2126
Make Upload entry in +Menu focusable
Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
vor 6 Jahren
John Molakvoæ (skjnldsv)
3ef4131533
Fixed event propagation on safari
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
vor 6 Jahren
John Molakvoæ (skjnldsv)
446a3a9d5a
Fixed ext share style and use varable for popover height
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
vor 6 Jahren
John Molakvoæ (skjnldsv)
4e6043fd6b
Fixed tooltip positionning & error display
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
vor 6 Jahren
John Molakvoæ (skjnldsv)
955c2ee1a7
PoC inline icon-confirm with inputs
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
vor 6 Jahren
John Molakvoæ (skjnldsv)
3964616a9e
Updated popover rules to allow form inputs and added input submit for new File
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
vor 6 Jahren
Phil Davis
2b2f27486a
Make new file file tooltip error text change
Signed-off-by: Phil Davis <phil@jankaritech.com>
vor 7 Jahren
Jan-Christoph Borchardt
b7a9ec0002
Use more verbose text for upload menu
Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
vor 7 Jahren
John Molakvoæ (skjnldsv)
961fcfa1fb
Popover positionning and classes
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
vor 7 Jahren
John Molakvoæ (skjnldsv)
418ebfbdf4
fit newFileMenu to css guidelines
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
vor 7 Jahren
Joas Schilling
0ecaf8e602
Fix special characters when renaming to a conflict
Signed-off-by: Joas Schilling <coding@schilljs.com>
vor 7 Jahren
Morris Jobke
52f02fe93e
Remove disabled autocorrect for new file names
* ref #22784
vor 8 Jahren
Vincent Petry
5676216e56
Remove browser autocomplete in new file menu
vor 8 Jahren
Vincent Petry
8fc0e05564
Remove "Text file" entry in the "+" menu
The text editor app will register this instead.
Also made "fileList" a non-private attribute to make it possible for
plugins to access the attached file list object.
vor 8 Jahren
Olivier Tétard
d386168504
Allow apps to add new items in the “New” filemenu.
Owncloud apps can now add new items to the “new” file menu. A new
`addMenuEntry()` was added to `NewFileMenu`. To add a new item, you
have to attach a plugin to `OCA.Files.NewFileMenu` that will call
`addMenuEntry()`.
vor 8 Jahren
Vincent Petry
d835115600
Keep opacity in current item in newFileMenu
Whenever the input field appears, the menu item should keep its opacity
instead of reacting on hover.
vor 8 Jahren
Vincent Petry
dbb6692468
[IE8] Fix filetype icon sizes
Added hack that uses a "filter" CSS with explicit URL to fix the "New"
menu by scaling down icons and also fix the folder/filetype icon in the sidebar
by scaling it up.
vor 8 Jahren
Vincent Petry
4ba2333507
Added unit tests for "new" file menu and small fixes
- added unit tests for NewFileMenu
- use generateUrl for FileList.createFile and FileList.createDirectory
- added unit tests for FileList.createFile and FileList.createDirectory
vor 8 Jahren
Jan-Christoph Borchardt
69b6358df6
fix icon and layout details for new menu
vor 8 Jahren
Vincent Petry
59273a8863
Combine upload action into the "New" menu
Refactored the new menu to be encapsulated in the NewFileMenu JS class
vor 8 Jahren