Thomas Müller
fe3ffcbfc3
Merge pull request #23026 from stweil/master
...
apps/files: Fix typos in comments (found and fixed by codespell)
2016-03-09 16:43:05 +01:00
Stefan Weil
692f312513
apps/files: Fix typos in comments (found and fixed by codespell)
...
This contribution is AGPL and MIT licensed.
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2016-03-09 15:14:05 +01:00
Morris Jobke
52f02fe93e
Remove disabled autocorrect for new file names
...
* ref #22784
2016-03-09 08:38:05 +01:00
Thomas Müller
46af7db3e3
Merge pull request #22785 from owncloud/trash-returnfalseon401
...
Return false on 401 in file list + trash file list
2016-03-07 14:41:31 +01:00
Vincent Petry
3a36163e91
Fix download spinner to work with CSS styles
...
A recent change replaced img elements with CSS icons for file actions.
This fix adjusts the logic to work properly with CSS icons instead of
images.
2016-03-04 10:48:08 +01:00
Vincent Petry
dbdf2173ac
Return false on 401 in file list + trash file list
...
This gives a chance to the global ajax error handler to do its work if
the session expired.
2016-03-03 09:09:30 +01:00
Vincent Petry
5676216e56
Remove browser autocomplete in new file menu
2016-03-02 17:10:29 +01:00
Vincent Petry
b634f1e2c7
Make more action icons themable + style fixes
...
Action icons now appear properly in public link page.
More actions are now CSS icons.
2016-02-25 23:01:07 +01:00
Roeland Jago Douma
c767030f07
Close class
2016-02-25 22:49:52 +01:00
Roeland Jago Douma
92cff0984d
Make file actions use icon CSS classes
...
This makes theming of file actions possible
2016-02-25 22:49:52 +01:00
Vincent Petry
8ea80e114a
Accumulate notifications instead of blinking
...
This makes it possible to display multiple notifications.
If the options.type is set to "error", it will also add a close button.
2016-02-22 17:25:32 +01:00
Thomas Müller
6c4cdddba8
Merge pull request #21610 from owncloud/quota-sharedfile
...
Fix quota check for single shared files
2016-02-18 14:25:32 +01:00
Vincent Petry
ceaefc2c54
Defer quota check in web UI when overwriting shared file
...
When receiving a shared file, the quota for that file counts in the
owner's storage, not the current user's storage.
To make it possible to overwrite the file even when the current user
doesn't have enough space, the quota check is deferred for such files.
2016-02-17 15:38:21 +01:00
Thomas Müller
7af7d18cfa
Merge pull request #16783 from owncloud/handle-redirects-global
...
Adding global error handler for ajax calls which run into redirection…
2016-02-17 14:49:04 +01:00
Vincent Petry
d565290d16
Close file detail sidebar when selecting/unselecting files
...
Interacting with the checkboxes, also "Select all" will automatically
close the sidebar now.
2016-02-15 14:58:44 +01:00
Vincent Petry
b8b77709c0
Add handler for global ajax errors
2016-02-15 12:48:47 +01:00
Vincent Petry
ae367c7e97
Fix elementToFile to also return path when defined
...
Fixes issue when opening the share dialog for a file inside the favorite
list, and the file is from a subfolder
2016-02-08 22:33:39 +01:00
Robin McCorkell
a49aff2db7
Only check selection for delete permissions, not parent folder
2016-01-15 16:52:51 +00:00
Erik Pellikka
ace66057f2
Fixed issue #21452
...
removed whitespace
removed whitespace
Changed it based on PVince81's suggestion
2016-01-13 14:47:00 +01:00
Thomas Müller
05f9b40419
Merge pull request #21589 from owncloud/mobile-webDAV-select
...
webDAV select bug fixed
2016-01-11 11:31:33 +01:00
Julian Müller
0249911536
webDAV select bug fixed
2016-01-11 08:41:16 +01:00
Roeland Jago Douma
86735c6b5a
Updating a file should not update the summary
2016-01-09 22:07:34 +01:00
Thomas Müller
7693c6d84a
Merge pull request #21254 from owncloud/files-uploadcanceliconfix
...
Correctly render uploadtext indicator only on folders
2015-12-28 10:21:38 +01:00
Vincent Petry
ca14277fca
Make a modifiable copy of the webdav properties in JS file list
...
Plugins can extend _getWebdavProperties to add custom properties.
These should not be added to the original properties list, so now the
FileList makes a copy of the array.
2015-12-22 11:17:24 +01:00
Vincent Petry
7ecb9696ba
Use showBusyState for upload into folder
...
This makes sure that the original icon will be restored properly in case
it's not the default folder icon
2015-12-18 18:09:54 +01:00
Vincent Petry
d27826bac0
Correctly render uploadtext indicator only on folders
2015-12-18 18:09:46 +01:00
Vincent Petry
4d9e12b8bc
Fix mount type root detection
...
Since Webdav doesn't contain that information, we need to rely on the
parent folder's mount type to find out whether a child item is a
shared/external root or not.
Fixed the mount type detection logic and added unit test.
Also added a fix that ignores detection if no parent folder exists (ex:
shared file list, favorites, etc)
2015-12-14 10:44:47 +01:00
Vincent Petry
baa5a69c55
Bring back file delete action text to be based on context
...
For received shares, the delete action becomes "Unshare" and for
personal mounts it becomes "Disconnect storage".
This also makes it possible from now on to pass a function to a file
action's "displayName" attribute.
2015-12-11 15:14:30 +01:00
Lukas Reschke
391bc49dab
Move files/ajax/scan.php to background job
...
The background job will now be executed in chunks of 500 users all 10 minutes.
2015-11-28 13:06:53 +01:00
Vincent Petry
d3383adb71
Fix issue when renaming creates a separate entry
2015-11-22 16:05:51 +01:00
Vincent Petry
ec3166742b
Properly join path sections
...
This prevents double slashes that can mess up path comparisons in some
cases.
2015-11-22 16:05:51 +01:00
Vincent Petry
dc8ce87a26
Query tags/favorite through Webdav in file list
2015-11-22 16:05:50 +01:00
Vincent Petry
f20232d4bd
Make public link share page work with Webdav and add operations
...
The public page now uses the public.php/webdav endpoint.
Also enabled more file operations like rename, move, delete and create
folder from the public page, which are now all possible thanks to the
public.php/webdav endpoint.
2015-11-22 16:05:50 +01:00
Vincent Petry
fa2be0750c
Make files app use Webdav for most operations
2015-11-22 16:05:50 +01:00
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.
2015-11-19 15:36:21 +01:00
Thomas Müller
01adefaf50
Merge pull request #20181 from owncloud/files-fixdownloadspinner
...
Fix file action download spinner
2015-11-02 10:13:58 +01:00
Vincent Petry
80cf4e84e3
Fix file action download spinner
2015-10-30 14:58:53 +01:00
Robin Appelman
3c01386a50
Merge pull request #20156 from owncloud/files-filter-triger-once
...
dont trigger the scroll event of every single item we filter in the file list
2015-10-30 12:52:04 +01:00
Thomas Müller
17dc482e8f
Merge pull request #20051 from otetard/feature/newfilemenu_extend
...
Allow Owncloud apps to add new items to the “new” file menu.
2015-10-29 23:49:57 +01:00
Robin Appelman
860e31a333
dont trigger the scroll event of every single item we filter in the file list
2015-10-29 16:30:56 +01:00
Thomas Müller
774d069ff0
Merge pull request #20122 from owncloud/files-consolidateiconupdate
...
Fix icon update to be more consistent
2015-10-29 15:40:15 +01:00
Vincent Petry
9c9158e6b7
Fix icon update to be more consistent
...
Makes the details bar show the same icon as in the list.
2015-10-29 12:59:51 +01:00
Vincent Petry
f24386c491
Fix file list reload callback result
...
All reloadCallback must return either true for success or false in case
of failure / non-existing folder.
Some file lists only have a root folder (favorite, shares), so restrict
the path to that to avoid having a wrong path in the breadcrumbs.
2015-10-27 11:51:54 +01:00
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()`.
2015-10-26 15:03:27 +01:00
Thomas Müller
bbea8c3545
Merge pull request #19937 from owncloud/detailsview-donotopenonrename
...
Do not display details bar after rename
2015-10-22 10:42:15 +02:00
Vincent Petry
e36c85178f
Do not display details bar after rename
2015-10-21 13:43:39 +02:00
Vincent Petry
abd0ba1f25
Fix file upload, conflict dialog, also in public link
...
- Use "FileList" instead of "OCA.Files.App.fileList" that doesn't exist in public
link page.
- Fix public link upload by properly adding the form data using a new
utility function "addFormData". That one is needed because IE8 upload
and regular upload use a different format...
2015-10-21 12:18:06 +02:00
Vincent Petry
204b3ca189
Do not register sidebar panels when no sidebar
2015-10-15 16:30:50 +02:00
Thomas Müller
3d5b1df549
Merge pull request #19633 from owncloud/sidebar-alt-favorite
...
Move alt text for favorite action to image
2015-10-14 12:51:13 +02:00
Thomas Müller
d8f0afaf9f
Merge pull request #19634 from owncloud/notif-showtemporary
...
showTemporary instead of show for notifications
2015-10-14 12:50:55 +02:00