| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
| |
Added namespaces so that JSDoc can find them.
Fixed a few warnings.
Improved some comments.
|
|
|
|
|
| |
When creating a new file from the menu, the list now scrolls to that
file.
|
| |
|
|
|
|
|
| |
When uploading multiple files from the web interface, compare the PHP
upload limit against the largest file, not against the sum of all files.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Rewrote the breadcrumb calculation to be more readable.
Breadcrumb now has a setMaxWidth() method to set the maximum allowed
width which is used to fit the breadcrumbs.
The breadcrumb width is now based on the container width, passed through
setMaxWidth() by the FileList class.
Now using fixed widths for the test crumbs to simulate consistent
widths across browsers which rendering engines might usually yield
different results.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- fixed upload and storage statistics
- fixed infinite scroll to use the correct contain for scroll detection
- fixed unit test that sometimes fail for rename case
- controls are now sticky again
- fixed selection overlay to be aligned with the table
- fixed "select all" checkbox that had id conflicts
- fixed public page
- fixed global actions permissions detection
- fix when URL contains an invalid view id
- viewer mode now hides the sidebar (ex: text editor)
- added unit tests for trashbin
- clean up storage info in template (most is retrieved via ajax call now)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- FileList is now an instantiable class
- FileActions is now in namespace
- added App class for trashbin app
- moved trashbin overrides into classes extending FileList
- replaced many static calls with "this." or "self." to make the classes
reusable/extendable
- new URL parameter "view" to specify which view is shown, for example
"files" or "trashbin"
- added OC.Util.History utility class in core for handling history
- moved URL handling/routing to OCA.Files.App
- popstate will correctly update the current view and notify the view of
the URL change so it can update the current dir
- added JS unitt tests for the trashbin app
- fixed public app to work with the new namespaces
|
| |
|
|
|
|
|
|
|
|
|
| |
Removed "insert" flag, inserting is by default for FileList.add().
Added "animate" flag to FileList.add().
Added logic to correctly detect when to insert/append elements whenever
the insertion point is visible or not.
Fixed "render next page" logic to work correctly when many pages of
files have been added.
|
| |
|
| |
|
| |
|
| |
|
|\
| |
| |
| |
| | |
Conflicts:
apps/files/js/file-upload.js
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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
|