Vincent Petry
8859004a2b
Rollback folder scan if an entry was locked
11 years ago
Roeland Jago Douma
6977eff106
set NULL correctly in password update
Old code used 'NULL' but docterine wants null. Now it is possible again
to remove the password from a link share.
11 years ago
Vincent Petry
35047a2300
Fix locked paths in the moveMount case
When moving a mount point directly, the lock must be applied on the
local mount point path instead of the attached storage root.
Other operations will still lock the attached storage root.
11 years ago
Thomas Müller
5c213539af
Update wmv and add mts and mt2s - fixes #17128 and owncloud/firewall#107
11 years ago
Morris Jobke
4f2f8a6f28
[sharing] handle shares of users that aren't available anymore
* properly handle the case where an abandoned share is left and
simply skip it
11 years ago
Joas Schilling
0db311c9db
Only update the htaccess ErrorDocument links when they are not set yet
11 years ago
Morris Jobke
c86e129ce9
[updater] keep maintenance active on failure and mark failure in red
11 years ago
Morris Jobke
1ba9fd3ada
[upgrade] print update message before running the update code
* otherwise you don't know during which app update something failed
11 years ago
Bjoern Schiessle
95602d4069
make sure that we always read the header from the original file
11 years ago
Morris Jobke
fe42553e8a
[updater] propagate error case properly
* add $success to the updateEnd hook
* add new return code for a update failure
* add exception class to failure hook message
11 years ago
Morris Jobke
fdd01cf15c
Added error message on initMountpoints exception
11 years ago
Robin McCorkell
04b6f67f07
Allow multiple whitespace in type hints in AppFramework
Type hints such as `@param bool $doSomething` will now correctly get
parsed, allowing for alignment of docblock parameters if the app developer so
wishes.
11 years ago
Lukas Reschke
1ead0b6f95
Use proper type
This is a string
11 years ago
Olivier Paroz
ba3b6f9be4
Remove unneeded returns from private cropping methods
11 years ago
Morris Jobke
7e046d0595
Fix naming of param in private/server.php
11 years ago
Robin Appelman
17be0993b4
remove unneeded normalize
11 years ago
Robin Appelman
6018567df2
unlock the file if the file doesnt exists
11 years ago
Robin Appelman
d7960d5db6
dont update the cache on rename fail
11 years ago
Robin Appelman
2a50dbd1a1
update noopscanner
11 years ago
Robin Appelman
3e54696f7f
extends phpdoc
11 years ago
Robin Appelman
3526b352dc
update the file cache within the write lock
11 years ago
Olivier Paroz
64f0fd0889
Remove unneeded returns from private cropping methods
11 years ago
Olivier Paroz
8193e1d7c1
Move media type icon preview creation to its own method
11 years ago
Olivier Paroz
13617a0475
Send the mime icon if we can't generate a preview
11 years ago
Morris Jobke
6856316122
Fix return value for OCP PHPDoc
11 years ago
Robin Appelman
72eedda16c
use old cache data when locked
11 years ago
Robin Appelman
24f0151f81
handle locked exceptions when getting file/directory info in sabre
11 years ago
Lukas Reschke
70ca0102f5
Fix PHPDoc annotations
11 years ago
Vincent Petry
102c6ffc41
Normalize path in View's lock methods
11 years ago
Joas Schilling
497fe93b6c
Do not return backends but add a method to check for one
11 years ago
Joas Schilling
171f86ca2e
Only sort by group name when LDAP is involved
11 years ago
Vincent Petry
0e3a3dd5d7
Rethrow LockedException with full path
Because the path is converted to md5 from the original exception,
rethrow the exception with the correct full path
11 years ago
Lukas Reschke
15ba2a4100
Reintroduce user cache
This was required by avatars and was broken with https://github.com/owncloud/core/pull/16200
Fixes https://github.com/owncloud/core/issues/16942
11 years ago
Vincent Petry
1f91e9e65d
Convert invalid path exception to sabre exception on MOVE
11 years ago
Robin Appelman
567df226e5
fix check if hooks should be emited in runHooks
11 years ago
Robin Appelman
9c0d69a3b2
ensure normalized path form when changing locks
11 years ago
Robin Appelman
a4f808b11d
properly unlock in case of failed fopen
11 years ago
Robin Appelman
7d72f7d8ce
keep a read lock while scanning a file or folder
11 years ago
Aidan Amavi
89a7aefad5
Added Opus Mimetype Support
Added Opus audio mimetype support.
11 years ago
Vincent Petry
4497aa4c68
Webdav PUT small file lock must be shared during hooks
Fixed code path for Webdav PUT of small files to use shared locks during
hook execution, and exclusive during the file operation
This makes it possible for versions to be copied by accessing the file
in a post_write hook.
11 years ago
Robin Appelman
a9ff242f6a
switch to using watch to implement cas and cad on redis
11 years ago
Robin Appelman
520a741876
clear memcache keys in locking
11 years ago
Robin Appelman
ac9f998abd
add compare-and-delete to the memcache interface
11 years ago
Robin Appelman
1bc56a99e9
compare-and-set and compare-and-delete using lua scripts for redis
11 years ago
Vincent Petry
3b08b26589
Throw exception if memcache misconfigured or missing
Instead of falling back to null memcache, throw exceptions.
Also throw file locking specific exceptions in case the class is not
available.
11 years ago
Joas Schilling
5586b2db09
Don't use limit on explode to have only 1 code path
11 years ago
Joas Schilling
a7d2b3b9ae
Add return value to lock methods and check it in tests
11 years ago
Joas Schilling
caf16b083e
Only lock files in data/username/files/
11 years ago
Clark Tomlinson
62286f00a1
fixing setting page titles
11 years ago
Robin Appelman
05cecb101d
verify path when getting a node for sabredav
11 years ago