Christoph Wurst
caff1023ea
Format control structures, classes, methods and function
To continue this formatting madness, here's a tiny patch that adds
unified formatting for control structures like if and loops as well as
classes, their methods and anonymous functions. This basically forces
the constructs to start on the same line. This is not exactly what PSR2
wants, but I think we can have a few exceptions with "our" style. The
starting of braces on the same line is pracrically standard for our
code.
This also removes and empty lines from method/function bodies at the
beginning and end.
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
6 years ago
Joas Schilling
841f2f3b04
Allow to overwrite share target mountpoints
Signed-off-by: Joas Schilling <coding@schilljs.com>
6 years ago
Christoph Wurst
5bf3d1bb38
Update license headers
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
6 years ago
Robin Appelman
67f3d6f0a6
cache parent exists status during share setup
Signed-off-by: Robin Appelman <robin@icewind.nl>
8 years ago
Robin Appelman
b5217b6f63
don't check if target dir exists when using the default share target directory
Signed-off-by: Robin Appelman <robin@icewind.nl>
8 years ago
Robin Appelman
b79f338e71
re-use view instances for shared storages
Signed-off-by: Robin Appelman <robin@icewind.nl>
8 years ago
Robin Appelman
bc4f10ad83
more efficient way to detect added and removed mounts
Signed-off-by: Robin Appelman <robin@icewind.nl>
8 years ago
Robin Appelman
3155c1bd9a
more efficient unique share target generation
Signed-off-by: Robin Appelman <robin@icewind.nl>
8 years ago
Morris Jobke
dd34cb7540
Less deprecated calls to OCP\Util::writeLog
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
8 years ago
Morris Jobke
a661f043e1
Remove unneeded semicolon and parentheses
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
8 years ago
Morris Jobke
0eebff152a
Update license headers
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
8 years ago
Robin Appelman
ab9a36e872
allow apps to set custom mount types
Signed-off-by: Robin Appelman <robin@icewind.nl>
9 years ago
Frédéric Fortier
cc511ac7b8
Typecast filecache 'storage' as int to return it as documented, fixes #3461
Signed-off-by: Frédéric Fortier <frederic.fortier@oronospolytechnique.com>
9 years ago
Roeland Jago Douma
9e353f6289
Fix overwriting parameter
Fixes #2641
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
9 years ago
Robin Appelman
bbe24d29ca
reuse cacheentry
Signed-off-by: Robin Appelman <robin@icewind.nl>
9 years ago
Joas Schilling
246bb9f33d
Move OC\Files\Storage\Shared to the right namespace
10 years ago
Vincent Petry
423378ea17
Added closeCursor in SharedMount numeric id
10 years ago
Vincent Petry
669b0bc2ae
Prevent error with orphaned shares when updating user mount cache
10 years ago
Robin Appelman
95570d607c
reuse existing root id
10 years ago
Robin Appelman
a999420c75
get shared storage storage id without setting up the storage
10 years ago
Roeland Jago Douma
04d5465228
Group shares with same source and target
Fixes #24575
Note that this is a very limited solution and eventually we want smarter
merging!
10 years ago
Joas Schilling
0215b004da
Update with robin
10 years ago
Joas Schilling
813f0a0f40
Fix apps/
10 years ago
Vincent Petry
a636078e6c
Make getShareFolder use given view instead of static FS
10 years ago
Lukas Reschke
aba539703c
Update license headers
10 years ago
Joas Schilling
3a716ae91c
Move lib/ to PSR-4
10 years ago
Robin Appelman
2f1c62ce0b
Only construct the storage when we start using it
10 years ago
Roeland Jago Douma
6123badbfa
Move SharedStorage et al over to the shareManager and jail
10 years ago
Roeland Douma
411fac892a
On mount make sure multiple shares with same target map to unique ones ( #23937 )
Scenario:
user0 shares a folder 'foo' with user2
user1 shares a folder 'foo' with user2
user2 logs in
Before: show only the 'foo' from user1
After: show both.
* Added intergration tests
10 years ago
Lukas Reschke
c353d51810
Remove Scrutinizer Auto Fixer
10 years ago
Thomas Müller
682821c71e
Happy new year!
10 years ago
Joas Schilling
5453daab03
More fixes to the docs
10 years ago
Scrutinizer Auto-Fixer
0f1be1b601
Scrutinizer Auto-Fixes
This commit consists of patches automatically generated for this project on https://scrutinizer-ci.com
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
Lukas Reschke
8f09d5b67c
Update license headers
10 years ago
Morris Jobke
b945d71384
update licence headers via script
11 years ago
Joas Schilling
7af7fdd929
Use context function call instead of static
11 years ago
Bjoern Schiessle
763b601e4a
use the correct user if we update the share table
11 years ago
Robin Appelman
d6f56ea609
lock parent folders for the owner when locking a shared file as recipient
11 years ago
Roeland Jago Douma
dd3d0194a6
Move files sharing app (mostly) to OCP\DB
11 years ago
Robin Appelman
f488624e5f
minor fixes
11 years ago
Robin Appelman
8cb40f6043
Make sure the owner mountpoints are setup
11 years ago
Robin Appelman
30ad56813a
propagate etags for all user of a share
11 years ago
Bjoern Schiessle
a3592534ef
always fall back to default share folder
11 years ago
Jenkins for ownCloud
b585d87d9d
Update license headers
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
f4701d7721
Add public api for mount configurations
11 years ago
Robin Appelman
7ecd220715
Setup shared mounts for the correct user when setting up the filesystem for the non-logged in user
11 years ago
Bjoern Schiessle
e5f0dded84
throw a exception if we can't handle the provided path
12 years ago