| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
* Move lib/ of Files app to PSR-4
* Move tests to PSR-4
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Move background job registration of Federation to info.xml
* Move background registration of Files app to info.xml
* Move background job registration of files_sharing to info.xml
* Move background job registration of files_trashbin to info.xml
* Move background job registration of files_versions to info.xml
* Move background job registration from user_ldap to info.xml
|
|
|
|
| |
Opening a permalink that points to a trashed file will now display the
file within the "Deleted Files" section in the files web UI.
|
|
|
|
|
|
|
| |
The following routes will redirect to the files app and display the
matching folder. If the fileid is a file, it will scroll to it.
- http://localhost/owncloud/index.php/f/$fileid
- http://localhost/owncloud/index.php/files/?dir=somedir&fileid=$fileid
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
add checkbox to toggle show/hide hidden files
persist show hidden setting
fix settings menu layout
test ApiController::showHiddenFiles
don't show hidden files by default
Store config in Backbone model and inject it into FileList
Filter files only temporarily when rending the file list
Fix file rename validation
|
| |
|
| |
|
| |
|
|
|
|
| |
Returns the shareTypes share status info to the favorites file list.
|
|
|
|
|
|
| |
This contribution is AGPL and MIT licensed.
Signed-off-by: Stefan Weil <sw@weilnetz.de>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* fixes #22819
The old way fired a DELETE statement on each destruction of the
DBLockingProvider. Which could cause a lot of queries. It's enough
to run this every 5 minutes in a background job, which in the end
could result in file locks that exists 5 minutes longer - in the
worst case and for not properly released locks.
This makes the DB based locking a lot more performant and could
result in a similar performance to the Redis based locking provider.
|
| |
|
|
|
|
| |
Probably nice for the people that contributed to 9.0 to see themselves in the AUTHORS file :)
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
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.
|
| |
|
| |
|
| |
|
|
|
|
|
| |
Private deprecated function => removed
Replaced all instances with suggested replacement
|
|\
| |
| | |
Move files/ajax/scan.php to background job
|
| |
| |
| |
| | |
The background job will now be executed in chunks of 500 users all 10 minutes.
|
|/ |
|
|
|
|
|
|
| |
This will make sure the cached JS gets properly updated.
Also, since this is a bigger change it also qualifies for a version
increase :-)
|
|
|
|
|
| |
1. Allows it to use the more secure CSP rules of the AppFramework.
2. Adds some unit tests.
|
| |
|
|\
| |
| | |
Remove apps/files/appinfo/remote.php - this is no longer used
|
| | |
|
|/ |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
* introduces config.php option 'debug' that defaults to false
* migrate DEBUG constant to config value
|
|\
| |
| | |
add test framework for doing full request webdav tests
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| | |
* Register OCP\Capability\IManager at DIContainer
* Add register capabilities to appframework
* Register capabilities in DI way
* Make unit test pass again
* Remove CapabiltiesManager from OCP
|
|/
|
|
|
|
|
| |
* Files
* Files_Sharing
* Files_Trashbin
* Files_Versions
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
In case encryption was not enabled, we accidently set encrypted = 1 for
files inside mount points, since 8.1.0. This breaks opening the files in
8.1.1 because we fixed the code that checks if a file is encrypted.
In order to fix the file, we need to reset the flag of the file. However,
the flag might be set because the file is in fact encrypted because it was
uploaded at a time where encryption was enabled.
So we can only do this when:
- Current version of ownCloud before the update is 8.1.0 or 8.2.0.(0-2)
- Encryption is disabled
- files_encryption is not known in the app config
If the first two are not the case, we are save. However, if files_encryption
values exist in the config, we might have a false negative here.
Now if there is no file with unencrypted size greater 0, that means there are
no files that are still encrypted with "files_encryption" encryption. So we
can also safely reset the flag here.
If this is not the case, we go with "better save then sorry" and don't change
the flag but write a message to the ownCloud log file.
|
| |
|
|
|
|
| |
contacts .....
|
| |
|
|
|
|
|
|
|
|
| |
This removes the hard-dependency on output buffering as requested at https://github.com/owncloud/core/issues/16013 since a lot of distributions such as Debian and Ubuntu decided to use `4096` instead of the PHP recommended and documented default value of `off`.
However, we still should encourage disabling this setting for improved performance and reliability thus the setting switches in `.user.ini` and `.htaccess` are remaining there. It is very likely that we in other cases also should disable the output buffering but aren't doing it everywhere and thus causing memory problems.
Fixes https://github.com/owncloud/core/issues/16013
|
|
|
|
|
|
|
|
|
|
|
| |
This Pull Request introduces a SabreDAV plugin that will block all older clients than 1.6.1 to connect and sync with the ownCloud instance.
This has multiple reasons:
1. Old ownCloud client versions before 1.6.0 are not properly working with sticky cookies for load balancers and thus generating sessions en masse
2. Old ownCloud client versions tend to be horrible buggy
In some cases we had in 80minutes about 10'000 sessions created by a single user. While this change set does not really "fix" the problem as 3rdparty legacy clients are affected as well, it is a good work-around and hopefully should force users to update their client
|
| |
|
|\
| |
| | |
[command] delete orphaned file cache entries
|
| |
| |
| |
| |
| | |
* ./occ files:cleanup
* delete file cache entries without an existing storage
|
| | |
|