Commit Graph

15126 Commits

Author SHA1 Message Date
Robin Appelman 9126cdc7a8 cleanup shared lock if changing to exclusive lock failed
Signed-off-by: Robin Appelman <robin@icewind.nl>
2019-01-22 15:14:34 +00:00
Nextcloud bot e898c52eb0
[tx-robot] updated from transifex 2019-01-22 01:12:55 +00:00
Nextcloud bot dcb368a69e
[tx-robot] updated from transifex 2019-01-20 01:12:59 +00:00
Nextcloud bot c610182204
[tx-robot] updated from transifex 2019-01-17 01:12:49 +00:00
Nextcloud bot 6a7624067b
[tx-robot] updated from transifex 2019-01-16 01:13:05 +00:00
Nextcloud bot d9a29dc4b4
[tx-robot] updated from transifex 2019-01-15 01:12:45 +00:00
Nextcloud bot dcd1dbb609
[tx-robot] updated from transifex 2019-01-14 01:12:28 +00:00
Nextcloud bot 2b5786b45e
[tx-robot] updated from transifex 2019-01-12 01:12:25 +00:00
Nextcloud bot 8a8cc531cb
[tx-robot] updated from transifex 2019-01-10 01:12:35 +00:00
Nextcloud bot 14c8416685
[tx-robot] updated from transifex 2019-01-05 01:12:27 +00:00
Nextcloud bot 4cd18afb29
[tx-robot] updated from transifex 2019-01-04 01:12:57 +00:00
Nextcloud bot 2e1701bfba
[tx-robot] updated from transifex 2019-01-03 01:12:16 +00:00
Nextcloud bot 93923fbe49
[tx-robot] updated from transifex 2019-01-01 01:12:04 +00:00
Nextcloud bot fcae962594
[tx-robot] updated from transifex 2018-12-31 01:12:11 +00:00
Nextcloud bot 2ad10aa7a2
[tx-robot] updated from transifex 2018-12-30 01:13:11 +00:00
Nextcloud bot aa4a4d4415
[tx-robot] updated from transifex 2018-12-28 01:12:15 +00:00
Nextcloud bot 0e03a5c839
[tx-robot] updated from transifex 2018-12-27 01:12:12 +00:00
Nextcloud bot a730ad16f1
[tx-robot] updated from transifex 2018-12-17 01:11:59 +00:00
Nextcloud bot 90bd295d3c
[tx-robot] updated from transifex 2018-12-16 01:12:59 +00:00
Nextcloud bot c2d7f88fdf
[tx-robot] updated from transifex 2018-12-15 01:12:04 +00:00
Nextcloud bot 1ee41dce74
[tx-robot] updated from transifex 2018-12-06 01:12:29 +00:00
Roeland Jago Douma 4c88cef749 Only execute query in propagateChange once
The second execute statement should be inside the if block. Else it gets
executed twice which makes no sense.

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2018-12-05 20:45:50 +00:00
Morris Jobke cebd51097d
Merge pull request #12835 from nextcloud/backport/12831/stable13
[stable13] Do not update child all child shares on group share update
2018-12-05 09:35:46 +01:00
Nextcloud bot e545bcd54d
[tx-robot] updated from transifex 2018-12-05 01:12:23 +00:00
Roeland Jago Douma b9b58b1ace Do not update child all child shares on group share update
Else we overwrite the whole share for link shares. Basically breaking
them.

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2018-12-04 21:53:38 +00:00
Morris Jobke d2f89950d8 PHP module is named mbstring
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2018-12-04 17:58:02 +00:00
Nextcloud bot 2e09bb48fb
[tx-robot] updated from transifex 2018-11-30 01:12:26 +00:00
Nextcloud bot 8f80685426
[tx-robot] updated from transifex 2018-11-29 01:12:00 +00:00
Nextcloud bot eca49de335
[tx-robot] updated from transifex 2018-11-27 01:11:59 +00:00
Nextcloud bot c741fe5aed
[tx-robot] updated from transifex 2018-11-25 01:12:42 +00:00
Nextcloud bot ca4abe8da6
[tx-robot] updated from transifex 2018-11-23 01:13:30 +00:00
Roeland Jago Douma 1794c3fdea Bearer tokens are app token
Fixes #12498

This means that we set that it is a proper app token once it is
validated. This will allow the 2FA middleware to just run the same
check.

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2018-11-20 10:51:07 +00:00
Robin Appelman 5261edb61a
forward object not found error in swift as dav 404
Signed-off-by: Robin Appelman <robin@icewind.nl>
2018-11-19 11:37:12 +01:00
Nextcloud bot 24a04fae3d
[tx-robot] updated from transifex 2018-11-16 01:12:34 +00:00
Nextcloud bot c2000c295c
[tx-robot] updated from transifex 2018-11-15 01:12:32 +00:00
Roeland Jago Douma b89996483d
Merge pull request #12376 from nextcloud/backport/12284/stable13
[13] Properly search the root of a shared external storage
2018-11-13 15:59:01 +01:00
Morris Jobke 243516d785
Fix UniqueConstraintViolationException while insert into oc_file_locks
* fixes #9305 by not being prone to the race condition in insertIfNotExists
* fixes #6899 by not using a query that can result in a deadlock
* replaces the insertIfNotExists call with an insert which is wrapped into a try-catch block
* followup to #12371

Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2018-11-13 14:05:16 +01:00
Morris Jobke 0737a6fbe4
Fix UniqueConstraintViolationException while insert into oc_filecache
* fixes #6160 by not being prone to the race condition in insertIfNotExists
* fixes #12228 by not using a query that can result in a deadlock
* replaces the insertIfNotExists call with an insert which is wrapped into a try-catch block

Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2018-11-13 14:05:13 +01:00
Nextcloud bot 413121dea1
[tx-robot] updated from transifex 2018-11-13 01:13:02 +00:00
Nextcloud bot 357bbe1b79
[tx-robot] updated from transifex 2018-11-12 01:13:06 +00:00
Nextcloud bot 5534193d3e
[tx-robot] updated from transifex 2018-11-11 01:13:26 +00:00
Roeland Jago Douma 8b03bf7d5a
Properly search the root of a shared external storage
Fixes #1020

When an external storage is shared with you in full the root is ''
(empty). This adds an extra check for an empty jail basically.

Because if the jail is on the empty string. It matches all paths.

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2018-11-09 13:23:52 +01:00
Nextcloud bot 450b9e2a20
[tx-robot] updated from transifex 2018-11-06 01:12:56 +00:00
Nextcloud bot 30666be2f0
[tx-robot] updated from transifex 2018-11-05 01:12:55 +00:00
Nextcloud bot 374bfbeaca
[tx-robot] updated from transifex 2018-11-04 01:14:21 +00:00
Roeland Jago Douma 40d1202076
Error out early on an expired token
Fixes #12131

If we hit an expired token there is no need to continue checking. Since
we know it is a token.

We also should not register this with the bruteforce throttler as it is
actually a valid token. Just expired. Instead the authentication should
fail. And buisness continues as usual.

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2018-11-02 11:41:00 +01:00
Roeland Jago Douma 04617a28d4
Move ExpiredTokenException to the correct namespace
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2018-11-02 11:39:42 +01:00
Roeland Jago Douma 6971ecef9d
Reset bruteforce on token refresh OAuth
When using atoken obtained via OAuth the token expires. Resulting in
brute force attempts hitting the requesting IP.

This resets the brute force attempts for that UID on a valid refresh of
the token.

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2018-11-02 10:54:50 +01:00
Nextcloud bot 7686c03111
[tx-robot] updated from transifex 2018-10-29 01:13:27 +00:00
Nextcloud bot 4e148133c9
[tx-robot] updated from transifex 2018-10-27 00:12:54 +00:00