Andy Scherzinger
1e04619675
chore: Add SPDX header
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
преди 1 месец
Joas Schilling
aa5f037af7
chore: apply changes from Nextcloud coding standards 1.1.1
Signed-off-by: Joas Schilling <coding@schilljs.com>
Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
преди 7 месеца
Robin Appelman
6fcc1f5684
add test for shared mount conflict resolution
Signed-off-by: Robin Appelman <robin@icewind.nl>
преди 1 година
luz paz
9d26671f05
Fix typos in apps/ subdirectory
Found via `codespell -q 3 -S l10n,./apps/files_external/3rdparty -L adn,ba,boxs,keypair,jus,optionel,ressource,tabel ./apps/`
Signed-off-by: luz paz <luzpaz@github.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
преди 1 година
John Molakvoæ (skjnldsv)
215aef3cbd
Update php licenses
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
преди 3 години
Morris Jobke
d650de13a4
Remove duplicate unit test in sharing that checks for group permission updates
* it was skipped before anyways
* it is covered for example in build/integration/sharing_features/sharing-v1-part3.feature#L517-L548 (see 54f8f75f6f/build/integration/sharing_features/sharing-v1-part3.feature (L517-L548))
* more permission updates are tested in the webdav section, where an OCS API is called and the WebDAV response is checked for the properly changed permission
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
преди 3 години
Christoph Wurst
d89a75be0b
Update all license headers for Nextcloud 21
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
преди 3 години
Morris Jobke
512d2edc35
SharedMountTest.php:367 is unreliable
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
преди 3 години
Joas Schilling
89ed2c37bf
Update share type constant usage
Signed-off-by: Joas Schilling <coding@schilljs.com>
преди 4 години
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>
преди 4 години
Christoph Wurst
14c996d982
Use elseif instead of else if
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
преди 4 години
Christoph Wurst
afbd9c4e6e
Unify function spacing to PSR2 recommendation
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
преди 4 години
Christoph Wurst
41b5e5923a
Use exactly one empty line after the namespace declaration
For PSR2
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
преди 4 години
Christoph Wurst
1a9330cd69
Update the license headers for Nextcloud 19
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
преди 4 години
Christoph Wurst
b80ebc9674
Use the short array syntax, everywhere
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
преди 4 години
Christoph Wurst
5bf3d1bb38
Update license headers
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
преди 4 години
Roeland Jago Douma
c007ca624f
Make phpunit8 compatible
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
преди 4 години
Roeland Jago Douma
e9c972f708
Fix share tests
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
преди 4 години
Morris Jobke
0eebff152a
Update license headers
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
преди 6 години
Roeland Jago Douma
6d4731024a
Some app fixes of phpstorm inspections
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
преди 7 години
Roeland Jago Douma
04ece69a33
Cleanup OC_Group usage a bit
This is deprecated internal stuff. Should not be used anymore.
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
преди 7 години
Lukas Reschke
a1f5364d7f
Generate coverage for quick DB tests
This adds the "QUICKDB" group which excludes some tests that abuse unit tests as integration tests as displayed in https://github.com/nextcloud/server/issues/1626
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
преди 7 години
Joas Schilling
0215b004da
Update with robin
преди 8 години
Joas Schilling
813f0a0f40
Fix apps/
преди 8 години
Lukas Reschke
aba539703c
Update license headers
преди 8 години
Joas Schilling
3f0b2d148d
Move tests to PSR-4
преди 8 години
Roeland Jago Douma
92abb5f23d
Fix tests
преди 8 години
Robin Appelman
5d0451b848
Safe teardowns
преди 8 години
Thomas Müller
682821c71e
Happy new year!
преди 8 години
Roeland Jago Douma
17a066c18e
Properly close db cursors
преди 8 години
Roeland Jago Douma
629bac22fd
Make sure to respect deleted group shares by user
преди 8 години
Roeland Jago Douma
066e3770bb
Make sure that permissions stay in sync for share_type 2
When a file/folder is shared with a group and one of the group members
moves this file/folder an extra entry is created in the share table.
When the permission of the group share is updated we used to only
sometimes update the shares for individual users.
* Added intergration tests
преди 8 години
Thomas Müller
3bb6dcea64
Apply DB group annotation ...
преди 8 години
Lukas Reschke
8f09d5b67c
Update license headers
преди 8 години
Morris Jobke
b945d71384
update licence headers via script
преди 8 години
Morris Jobke
f63915d0c8
update license headers and authors
преди 9 години
Roeland Jago Douma
dd3d0194a6
Move files sharing app (mostly) to OCP\DB
преди 9 години
Vincent Petry
2822d0579e
Properly add trailing slash to mount point
Fixes resolving mount points when shared mount point's target name has
the same prefix as the source name
преди 9 години
Jenkins for ownCloud
b585d87d9d
Update license headers
преди 9 години
Morris Jobke
06aef4e8b1
Revert "Updating license headers"
This reverts commit 6a1a4880f0
.
преди 9 години
Jenkins for ownCloud
6a1a4880f0
Updating license headers
преди 9 години
Bjoern Schiessle
15ae6b47ed
replace hook with storage wrapper
преди 9 години
Joas Schilling
76ebd3a050
Make apps/ extend the \Test\TestCase and fix overwritten methods
преди 9 години
Robin Appelman
0f3fd89f7d
Fix sharing tests
преди 9 години
Thomas Müller
f776bcd4a0
remove unnecessary require calls - the ownCloud class loader is supposed to take care of this
преди 9 години
Bjoern Schiessle
e5f0dded84
throw a exception if we can't handle the provided path
преди 9 години
Bjoern Schiessle
ca6631a710
add some tests
преди 10 години
Bjoern Schiessle
844b1e3fc6
add additional unit tests
преди 10 години
Bjoern Schiessle
95bd7fee9c
don't lose file size during rename
преди 10 години
Bjoern Schiessle
5f403f3e92
move the mount point up if a share is mounted to a subfolder and the subfolder no longer exists
преди 10 години