| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
Whenever a file was deleted (also from trash), the tag mapping is
pointing at a fileid that doesn't exist any more.
This cleanup job will delete such orphaned mapping entries.
|
| |
|
| |
|
|\
| |
| | |
Move files/ajax/scan.php to background job
|
| |
| |
| |
| | |
The background job will now be executed in chunks of 500 users all 10 minutes.
|
| |
| |
| |
| | |
This commit consists of patches automatically generated for this project on https://scrutinizer-ci.com
|
| | |
|
| | |
|
| | |
|
|/
|
|
| |
So evaluate the condition directly and return 1 or 0
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
There is no need to calculate a human readable date on the server side.
We supply the mtime and a client can easily convert that himself if
needed. This is already done most of the time since the date is often
not in the exact right format.
There is also no need to attach icon info. We have that available in
javascript. And else the client should get the right icon based on the
mimetype for its platform.
* Updated tests
|
| |
|
|\
| |
| |
| |
| | |
owncloud/fix-language-of-files-activities-in-emails
Correctly make use of the languageCode argument in the files activity extension
|
| | |
|
|\ \
| | |
| | | |
Activity 302 improve settings
|
| | | |
|
| |/ |
|
|/
|
|
|
|
|
| |
* Files
* Files_Sharing
* Files_Trashbin
* Files_Versions
|
|
|
|
|
| |
* getstoragestats.php returns now the owner and it's display name
* show proper storage stats notifications for shared folders
|
|
|
|
|
|
|
|
| |
When renaming over the web UI, check early that the target name is
valid.
This prevents nonsensical error messages when renaming to a name with a
trailing backslash.
|
|
|
|
|
|
| |
* add ability to filter for mimetype
* fixes #15526
* fixes #11563
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
WARNING: do not use this, when you have a lot of favorites, ~50 should be the
limit
|
| |
|
|
|
|
| |
This reverts commit 6a1a4880f0d556fb090f19a5019fec31916f5c36.
|
| |
|
| |
|
|
|
|
|
|
| |
`\OCA\Files\Helper::buildFileStorageStatistics` might throw an exception from `OC_Helper::getStorageInfo`, previously this lead to a uncatched exception being thrown when invoking this methods.
This was user triggable by for example calling `/index.php/apps/files/ajax/delete.php` with a not existing dir (for example `dir=asdf/../&allfiles=true`)
|
| |
|
|
|
|
|
|
|
| |
This fixes an issue when renaming files from a flat list view like
"Favorites" or "Shared with you", in which case the path needs to be
present in the response to make sure the data-path attribute is properly
set in the JS side.
|
|
|
|
|
|
| |
To make it possible for the web UI to correctly display the tag/favorite
information after a rename, this information is now returned in the
rename response
|
|
|
|
|
|
| |
Moved populateTags to be done on the main file list.
This prevents the public file list to go through the same code and cause
an error when there is no user.
|
| |
|
|\ |
|
| |
| |
| |
| | |
Fixes the OCS capability API at /ocs/v1.php/cloud/capabilities
|
| |
| |
| |
| | |
It's only reasonable to have proper type hinting here which might even help us to catch bugs.
|
|/ |
|
| |
|
|\
| |
| | |
Fixed JS sort comparator to be consistent between JS and PHP
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Now using a natural sort algorithm that is more consistent between JS
and PHP (although not perfect in some corner cases)
- added OC.Util.naturalSortComparator that uses the same algo that was
used for the user list
- changed user list and files list to use OC.Util.naturalSortComparator
- removed toLowerCase() and changed the comparator to use
String.localeCompare()
- added unit tests
- added OC_NaturalSort that is used by OCP\Util::naturalSortCompare()
|
| |
| |
| |
| | |
Path will only be shown if in subdirectory, not in root.
|
|/ |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Added mountType attribute for files/folder to indicated whether they are
regular, external or shared.
The client side then adapts the "Delete" action hint text based on this
information.
Only the mount roots must have the delete icon hint adapted.
To make this detectable on the client side, the mountType can now
be null, "shared", "shared-root", "external" or "external-root".
This also gives room to icon customization on the client side.
|