Joas Schilling
0215b004da
Update with robin
10 years ago
Joas Schilling
ba87db3fcc
Fix others
10 years ago
Lukas Reschke
aba539703c
Update license headers
10 years ago
Roeland Jago Douma
dedf392751
Move \OC\Files to PSR-4
10 years ago
Lukas Reschke
933f60e314
Update author information
Probably nice for the people that contributed to 9.0 to see themselves in the AUTHORS file :)
10 years ago
Lukas Reschke
5ccb9dfa7e
Use database for keeping track of the version
10 years ago
Robin Appelman
f2bba59b79
split cache->insert from cache->put
10 years ago
Roeland Jago Douma
2035a179bc
Add store/retrieve checksums
* Add extra db column to filecache
* Bump version
* Update filecache code to actually handle checksum
* Webdav code to store/retrieve checksums
10 years ago
Robin Appelman
ec3f6549f6
Add fallback moveFromCache implementation
10 years ago
Robin Appelman
6d321f5f6b
Return a class from cache operations instead of an array
10 years ago
Robin Appelman
cdc8c40d60
Add public cache interface
10 years ago
Thomas Müller
682821c71e
Happy new year!
10 years ago
Robin Appelman
888df3933d
take the etag of child mounts into account for the folder etag
this replaces shared etag propagation
10 years ago
Robin Appelman
d36e1bbab2
escape like parameter for move queries
10 years ago
Robin Appelman
236c3c62cc
move from OC_DB to IDBConnection
10 years ago
Robin Appelman
01d3393b7b
include the final update in the transaction when moving a folder in the cache
11 years ago
Vincent Petry
b900782513
Also adjust storage_mtime of target after rename
Some storages like Dropbox change their mtime on rename...
11 years ago
Morris Jobke
8366ce2767
deduplicate @xenopathic
11 years ago
Morris Jobke
b945d71384
update licence headers via script
11 years ago
Robin McCorkell
cdf01f0419
Split mimetype handling to new class
11 years ago
Joas Schilling
8f2110e5da
Revert "Soft fail when deleting and no entry found"
11 years ago
Robin McCorkell
c9c246a3f5
Soft fail when deleting and no entry found
11 years ago
Thomas Müller
d3ac73c0c9
Remove OC_Log
11 years ago
Morris Jobke
f63915d0c8
update license headers and authors
11 years ago
Robin Appelman
e0d151505f
improve phpdoc of cache classes
11 years ago
Robin Appelman
f605c98531
Fix cross storage move with shared storages
11 years ago
Robin Appelman
caadc8cdd9
reuse cache move logic
11 years ago
Robin Appelman
d7b3a1a35a
preserve cache data when doing a cross storage move
11 years ago
Jens-Christian Fischer
9c95315a9e
clarify the duplication of the $params array
11 years ago
Jens-Christian Fischer
22c6216f5c
don't update identical values
The UPDATE oc_filecache statement blindly overwrites identical data.
Databases like Postgres that create a new row on an update
and mark the old one as dead will suffer from the previous
behaviour, as millions of "new" rows are created in the database.
This patch changes the WHERE clause to test for identical
values and not updating if the values in the DB are identical
to the ones being passed.
11 years ago
Bjoern Schiessle
0eee3a2618
remove unencrypted_size from the cache, size will contain the unencrypted size
11 years ago
Joas Schilling
a8d1ede347
Fix the exception messages
11 years ago
Jenkins for ownCloud
b585d87d9d
Update license headers
11 years ago
Lukas Reschke
bb5c5a3691
Remove unreqired backtick removal
Without this files with a ` (backtick) in the beginning of the filenames where simply not correctly referenced as the ` got removed. This can lead to all possible havoc situations.
Should get backported to stable8 and in future we might consider if it is really worth to backport such changes when it is just for SQLite 🙈
Regression of https://github.com/owncloud/core/pull/14734
11 years ago
Joas Schilling
2af8fea2be
Throw a RuntimeException in the cache aswell
11 years ago
Joas Schilling
2747a83a49
Get the id before using it
11 years ago
Joas Schilling
c917ea183c
Only check unique keys for the comparison on filecache insert & update otherwise
11 years ago
Thomas Müller
1b08b7c726
use insertIfNotExist() in cache put
11 years ago
Morris Jobke
06aef4e8b1
Revert "Updating license headers"
This reverts commit 6a1a4880f0 .
11 years ago
Jenkins for ownCloud
6a1a4880f0
Updating license headers
11 years ago
Robin Appelman
dc6468c2aa
Cast mtimes and size to int
12 years ago
Robin Appelman
6c00521e8b
Use transactions when renaming directory contents
11 years ago
Joas Schilling
a575dcf78f
Use insertIfNotExists() and reload mimetypes after inserting one
11 years ago
Thomas Müller
65041440de
check is mimetype is set - fixed #13452
11 years ago
Robin McCorkell
2b99fc76ec
Cleanup of PHPDoc return types
11 years ago
Robin Appelman
2248e465af
Remove children from the cache in one query
11 years ago
Vincent Petry
aa821ecc00
Trim leading or trailing slashes in file cache paths
11 years ago
Vincent Petry
15ecb28d50
Make $userId mandatory for searchByTags
$userId is now a mandatory parameter for searchByTags.
Also fixed some places in the code where the argument was missing (Node
API and View)
11 years ago
Vincent Petry
25dde7e93b
Added searchByTags to view, storage and cache
11 years ago
Vincent Petry
35ab770b11
Close cursor early in calculateFolderSize
This method triggers additional queries in $this->update() so to avoid
potential database locks or delays, we close the cursor as soon as it is not needed any more
11 years ago