Robin Appelman
b6ce73cf14
Allow selecting a folder after using the breadcrumb
Signed-off-by: Robin Appelman <robin@icewind.nl>
9 years ago
Robin Appelman
f002a2d2f6
Allow selecting the root folder
Signed-off-by: Robin Appelman <robin@icewind.nl>
9 years ago
Robin Appelman
6d43942125
filepicker styling
Signed-off-by: Robin Appelman <robin@icewind.nl>
9 years ago
Robin Appelman
8d093e976a
use mimetype icons in filepicker if there is no preview
Signed-off-by: Robin Appelman <robin@icewind.nl>
9 years ago
Sujith Haridasan
c15ba6ccf8
Choose button remains disbaled for httpd/unix-directory
This is not correct. Hence in this patch we validate
if the mimetype is 'httpd/unix-directory'. If so we
don't disable it.
This patch addresses solution for issue: 26034
Signed-off-by: Sujith Haridasan <Sujith_Haridasan@mentor.com>
9 years ago
Sujith Haridasan
14c81f8a3a
Choose button remains disabled unless files are chosen
from filepicker
This is will help user to understand that you can only
click choose button once the files are selected from the
file picker. This addresses the solution for issue 16106
Signed-off-by: Sujith Haridasan <Sujith_Haridasan@mentor.com>
9 years ago
Roeland Jago Douma
9be43e10af
Since the server no longer calculates the icon
The server no longer calculates the icon. So we have the js side do it
for us.
10 years ago
Vincent Petry
fa2be0750c
Make files app use Webdav for most operations
11 years ago
Christoph Wurst
9778094a25
fix filepicker loading spinner
10 years ago
Morris Jobke
3c005bc020
Check .conflicts for checkboxes
10 years ago
Vincent Petry
cba1aae073
Disable "Continue" button in conflict dialog when no selection
10 years ago
Vincent Petry
5dff9d88cb
Make sure the conflict dialog is loaded before adding conflicts
10 years ago
Olivier Paroz
a1c419dc71
Use Hermite resampling for comparator canvas previews
10 years ago
Hendrik Leppelsack
964cfc8e08
fix missing checkboxes in file comparator
10 years ago
Olivier Paroz
04b14df35c
Fix preview of old file on public upload conflicts
10 years ago
Roeland Jago Douma
5c381ea532
Move calls to Files.getMimeIcon to OC.MimeType.getIconUrl
11 years ago
Olivier Paroz
f05ac47eb6
Escape single quotes
11 years ago
Olivier Paroz
6aeaa6954b
Fix for parenthesis
11 years ago
Olivier Paroz
4e364311f1
Get a 96x96 preview for file conflict resolution
11 years ago
Morris Jobke
de04501c97
add max-width of 600px to filepicker
11 years ago
Morris Jobke
59efcb63a3
fix filepicker
* add ability to filter for mimetype
* fixes #15526
* fixes #11563
11 years ago
Lukas Reschke
397264f361
Add more spacing to the file picker dialog
Without this the first `>` looked somewhat off, to test this change go to the personal settings and choose a profile picture in a subfolder.
11 years ago
Jörn Friedrich Dreyer
c615b3527f
show readonly message in file conflict dialog, make it always selected
11 years ago
Vincent Petry
0f3e6cb50a
Improved Javascript docs for JSDoc
Added namespaces so that JSDoc can find them.
Fixed a few warnings.
Improved some comments.
12 years ago
Clark Tomlinson
92685acf60
Implementing moment.js
Updating Usages
Removing unused method
Adding JS Doc
11 years ago
Tom Needham
93ba64a69f
Use human readable relative date for oc-dialog-filepickers
11 years ago
Jan-Christoph Borchardt
79305a0476
also fix filepicker for smaller screen sizes
11 years ago
Vincent Petry
71fe5d672e
Fixed dialogs styling, reversed buttons
Default dialog button is now on the right, other one on the left.
12 years ago
Vincent Petry
763d9ded1d
Prevent showing the file picker twice
In case the filepicker function is called twice, only show it once.
12 years ago
kondou
9bc3f3cf30
Scrutinizer cleanup
12 years ago
Remco Brenninkmeijer
4f0370f1da
Fix for #8654
12 years ago
Lukas Reschke
62364269c5
Fix Typo, define $ as global
12 years ago
Robin Appelman
163a7a47f9
Add prompt dialog to OC.dialogs
12 years ago
Thomas Müller
1fdd17b9b1
javascript code cleanup + fixing syntax errors
12 years ago
Jörn Friedrich Dreyer
779dff31c4
translations for oc-dialogs reside in code
12 years ago
Jörn Friedrich Dreyer
c90b0ac00b
Fix copy conflict dialog translation
12 years ago
Vincent Petry
d4f9cc567a
Fix SVG close button of file picker
12 years ago
Vincent Petry
05a7bfed71
Fix file picker to correctly show SVG file icons
12 years ago
Vincent Petry
2b8bb01211
Fixed mime type attribute access in file overwrite dialog
12 years ago
Vincent Petry
0be9de5df5
Files, trashbin, public apps use ajax/JSON for the file list
Files app:
- removed file list template, now rendering list from JSON response
- FileList.addFile/addDir is now FileList.add() and takes a JS map with all required
arguments instead of having a long number of function arguments
- added unit tests for many FileList operations
- fixed newfile.php, newfolder.php and rename.php to return the file's
full JSON on success
- removed obsolete/unused undo code
- removed download_url / loading options, now using
Files.getDownloadUrl() for that
- server side now uses Helper::getFileInfo() to prepare file JSON response
- previews are now client-side only
Breadcrumbs are now JS only:
- Added BreadCrumb class to handle breadcrumb rendering and events
- Added unit test for BreadCrumb class
- Moved all relevant JS functions to the BreadCrumb class
Public page now uses ajax to load the file list:
- Added Helper class in sharing app to make it easier to authenticate
and retrieve the file's real path
- Added ajax/list.php to retrieve the file list
- Fixed FileActions and FileList to work with the ajax list
Core:
- Fixed file picker dialog to use the same list format as files app
12 years ago
Jörn Friedrich Dreyer
d9e333c0da
use directory from original instead of current dir
12 years ago
Vincent Petry
e62ca4ea4f
Append file etag to preview URLs
Fixes #5534
12 years ago
Vincent Petry
e2a4417079
Fixed conflict dialog in IE8
- Fixed JS error that prevent the conflict dialog to open #5060
- Fixed JS error that prevented the overwrite case to run
12 years ago
Jörn Friedrich Dreyer
5a174eba83
use correct property for mimetype of existing files
12 years ago
Jörn Friedrich Dreyer
078bf0df25
use {count} instead of 'One' for more versatile translation
12 years ago
Jörn Friedrich Dreyer
a6933efce3
use n to translate title
12 years ago
Jörn Friedrich Dreyer
0d81a53e12
use 96x96 as 64x64 thumbnails in conflicts dialog, 64x64 looks very blocky ... maybe something is wrong there
12 years ago
Jörn Friedrich Dreyer
f7800cd63e
fix 'event is not defined' error
12 years ago
Jörn Friedrich Dreyer
72d53008cc
indentation
12 years ago
Jörn Friedrich Dreyer
7bd5e89f8c
simplify conflict template handling, fix reopen after ESC
12 years ago