Age | Commit message (Collapse) | Author |
|
[stable9] Skip local shares in bkg scan and occ files:scan (#26590)
|
|
|
|
Local shares should only be scanned when doing it for the owner to
avoid repeatedly rescanning the same shared storage over and over again
for every recipient.
|
|
[stable9] Add repair step to fix file share permissions
|
|
|
|
|
|
implementation is loaded - fixes owncloud/objectstore#38
|
|
|
|
owncloud/stable9-36d6f3ba8b7b7db8f4d8b2a70504fd184a30cc50
[stable9] Escape special characters (#25429)
|
|
* Escape LIKE parameter
* Escape LIKE parameter
* Escape LIKE parameter
* Escape LIKE parameter
* Escape LIKE parameter
* Use correct method in the AbstractMapping class
* Change the getNamesBySearch method so that input can be properly escaped while still supporting matches
* Don't escape hardcoded wildcard
|
|
When unsharing from self in a group share situation, the share items
passed to the post_unshareFromSelf hook were using the wrong format in
which the attribute names (ex: "share_type") have non camel-case format.
This fix makes sure that in group sharing case we use the correct
format. It looks like the code was already producing it but in
array_merge it was not using it and adding the unprocessed one.
|
|
|
|
[Stable9] Pass web requests to occ controller if upgrade is needed
|
|
|
|
|
|
|
|
of… (#25857)
* Best practice through out the web speak of a max avatar image size of 96 pixels
* Respect size argument
THX @felixboehm
|
|
[stable9] Don't decrypt shared files
|
|
[stable9] 204 and 304 must not have a body, see https://tools.ietf.org/html/rfc7230#section-3.3
|
|
owncloud/stable9-fix-unmerged-shares-repair-betterregexp
[stable9] Improve regexp to detect duplicate folders when repairing unmerged sares
|
|
|
|
|
|
https://tools.ietf.org/html/rfc7230#section-3.3
|
|
https://github.com/nextcloud/server/pull/608/commits/351cab6bce41b53f9efd4ba9aed4e7435f843691 - THX @schiessle
|
|
Ensure the user exists before calling a method on it
|
|
Whenever a group share is created after a direct share, the stime order
needs to be properly considered in the repair routine, considering that
the direct user share is appended to the $subShares array and breaking
its order.
|
|
Pick the most recent subshare that has no parenthesis from duplication
which should match whichever name the user picked last. If all
subshares have duplicate parenthesis names, use the least recent group
share's target instead.
|
|
This would slow down the upgrade needlessly as there is no repair to be
done.
|
|
|
|
The repair step was a bit overeager to skip repairing so it missed the
case where a group share exists without subshares but with an
additional direct user share.
|
|
|
|
Added flag to enforce grouping of received shares even when the method
is called for a user different than the current one. This can happen at
sharing time whenever the recipient's FS is being setup from the
sharer's call.
This fixes duplicated received folders for new shares.
|
|
|
|
Sanitize more data in config report
|
|
* getJailedPath expects $path to have a trailing / - fixes #25464
* Adding test case for getPathById including a jailed cache where root is just empty
|
|
|
|
certificate is revoked (#25469)
* Adding certificate revocation list and validate if the app certificate is revoked
* Check integrity of a signed app in any case on installation
|
|
* Workaround to check htaccess in case of redirects
In some setups, the web server will redirect any call to "data/" to the
main page. This causes the XHR to return the 200 HTTP status code and
the body contains the HTML page of the main page / files app.
This fix improves the htaccess failure detection by adding a known
string inside the test file "htaccesstest.txt". If we are able to find
this string, it means that the web server didn't block access to that
file.
* Fix setup check unit test (#25439)
|
|
* Wait for socket to be open
* Fix call on null
* Allow DB access for MountProviderTest
Makes unit tests pass when using object store, since their FS access is
actually oc_filecache DB access. It is currently not possible to mock
or bypass the logic from "SharedMount::verifyMountPoint()" triggered by
this test.
|
|
param (#25380) (#25396)
|
|
|
|
Revert "Remove repair steps for broken updater repair"
|
|
[stable9] Change order of share creation validation
|
|
Makes sure that the share owner is set before entering the checks that
need it.
Partial backport of afa37d3
|
|
This reverts commit 58ed5b9328e9e12dd4319c0730202f385ca0dc5d.
|
|
* Initial web executor
* Fix PHPDoc
Fix broken integration test
OccControllerTests do not require database access - moch them all!
Kill unused sprintf
|
|
|
|
* Fix Decrypt message via occ
* Comments fixed
* Fixed reviews
* Originally:
commit 2304e4bda027e61ff1302c55c2f70f8e4c8f47d0
Author: Joas Schilling <nickvergessen@owncloud.com>
Date: Tue Jun 7 09:13:11 2016 +0200
Allow to decrypt user '0' files only
* Fix uid comparison
|
|
[stable9] Capped cache for user config
|
|
Do not recurse link share fetching
|