| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
| |
|
|
|
|
| |
Fixes issue #7461. Tipsy tooltip must be hidden when the upload starts. Otherwise it covers the progress bar and stays in DOM.
|
| |
|
| |
|
|
|
|
|
|
| |
- Added OC.Upload.init() to make the code testable
- Added unit tests for the add() method of the uploader with some error
cases
|
|
|
|
| |
also exclude all combinations of lower and upper case letters
|
|\
| |
| | |
Added .jshintrc
|
| |
| |
| |
| |
| |
| | |
- Also fixes a few JSHint warnings in files app
- Added "global" comment on top of files app to suppress warning and
also inform devs about what globals are use
|
|\|
| |
| |
| |
| |
| | |
Conflicts:
apps/files/templates/index.php
apps/files_sharing/templates/public.php
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Whent trying to upload/rename/create files in a folder that was removed
or rename, the correct error message is now shown.
In the case of upload of multiple files, the upload is cancelled.
This situation can happen if the target folder was renamed or removed
from another browser window or client.
|
| |
| |
| |
| |
| |
| |
| | |
- Refactored file tr lookup into FileList.findFileEl that uses
filterAttr to avoid escaping issues in jQuery selectors
- Fixed versions and sharing app to properly escape file names in
attributes
|
| |
| |
| |
| |
| |
| |
| |
| | |
- L10N now converted to string to make them work with json_encode
- Added specific error message when server doesn't allow fopen on URLs
- Fixed client side to correctly show error message in a notification
- Added OCP\JSON::encode() method to encode JSON with support for the
OC_L10N_String values
|
| | |
|
| | |
|
| | |
|
| | |
|
|/ |
|
|
|
|
|
|
|
|
|
|
|
| |
Whenever a user creates a file or folder in the web UI, the input field
will contain a default file name, pre-selected up to the extension for
easier typing.
The purpose is mostly to prevent users creating text files without an
extension.
Fixes #6045
|
|
|
|
|
|
|
| |
Fixes #5662
Also made it use OC.Notification instead of directly access the
notification HTML element.
|
|
|
|
|
|
| |
After uploading, the quota value wasn't refreshed.
This fix refreshes the quota value after files have been scanned or
uploaded.
|
|\
| |
| | |
Append file etag to preview URLs
|
| |
| |
| |
| | |
Fixes #5534
|
| |
| |
| |
| |
| |
| |
| | |
Firefox sends a click event on the document when right clicking which
makes pasting with right click into the field impossible.
Fixes #5498
|
|/
|
|
| |
Some apps like the antivirus app return messages in a non-array format.
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
- show tooltip when violating naming constraints while typing
- when target filename exists on server fallback to dialog to interrupt the users flow because something unexpected went wrong
- fixes #5062
- also fixes some whitespace and codestyle issues in files js
- uses css selector over filterAttr in touched js files
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Creating new files, folders or uploading files now have their sharing
icon updated accordingly.
For this, the global share status list that is cached in
OC.Share.statuses is reused for new files.
Performance should improve as the sharing list is now only loaded once
per navigation session.
In OC.Share, split loadIcons into loadIcons + updateIcons.
Fixes #4977
|
|\
| |
| | |
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
|
|\ \
| | |
| | | |
[OC6] file upload exception handling
|
| | | |
|
| |/
|/|
| |
| |
| |
| |
| |
| | |
The file actions must explicitly be updated by calling
FileActions.display() on the file element after creating or uploading a
file.
Fixes #4971 and #4993
|
|/
|
|
| |
placeholder
|
|\
| |
| |
| | |
into fix_3728_with_file_exists_dialog
|
| |\
| | |
| | |
| | |
| | |
| | |
| | | |
into fix_3728_with_file_exists_dialog
Conflicts:
apps/files/js/file-upload.js
|
| | | |
|
| |/
|/| |
|
|/ |
|
| |
|
|\
| |
| |
| |
| | |
Conflicts:
apps/files/js/file-upload.js
|
| | |
|
| | |
|
|\|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Conflicts:
apps/files/css/files.css
apps/files/js/file-upload.js
apps/files/js/filelist.js
apps/files/js/files.js
apps/files_sharing/js/public.js
core/js/jquery.ocdialog.js
core/js/oc-dialogs.js
|
| | |
|
|\|
| |
| |
| |
| | |
Conflicts:
apps/files/js/file-upload.js
|
| |\
| | |
| | | |
Workaround for IE 9 & 10 for clicking filelist after adding new item
|
| | | |
|