Commit graph

15098 commits

Author SHA1 Message Date
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
Roeland Jago Douma
d8a581e426 Actually return the root folder when traversing up the tree
If you now keep calling $node->getParent() you will at some point get
the RootFolder back. This is a nice termination check and will prevent
endless loops if an exit condition is slightly off.

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2018-10-26 08:36:21 +02:00
Nextcloud bot
ae061c69f1
[tx-robot] updated from transifex 2018-10-26 00:13:08 +00:00
Nextcloud bot
5de5db0280
[tx-robot] updated from transifex 2018-10-23 14:54:51 +00:00
Roeland Jago Douma
b7524ee49e
Merge pull request #11978 from nextcloud/bugfix-stable13/9326/make_sure_usermanager_getByEmail_only_returns_IUser
[stable13] filter null values for UserManager::getByEmail
2018-10-23 15:14:56 +02:00
Morris Jobke
28fa1e3c7d
Load apps/APP/l10n/*.js and themes/THEME/apps/APP/l10n/*.js
Before it quit right after finding the theme version of the l10n file which results in a not translated part of the UI.

Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2018-10-23 10:35:33 +02:00
Georg Ehrke
879538c22f
filter null values for UserManager::getByEmail
Signed-off-by: Georg Ehrke <developer@georgehrke.com>
2018-10-22 15:54:41 +02:00
Nextcloud bot
97b6b53d5c
[tx-robot] updated from transifex 2018-10-10 00:13:36 +00:00
Roeland Jago Douma
32b4e4214f
Allow the creationg of previews of files stored in appdata
To allow us to create previews of files stored in appdata we need to
construct the view differently.

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2018-10-09 11:50:02 +02:00
Nextcloud bot
8ef7d31599
[tx-robot] updated from transifex 2018-10-03 16:59:11 +00:00
Nextcloud bot
e07611ef09
[tx-robot] updated from transifex 2018-10-02 00:13:06 +00:00
Nextcloud bot
82a5732a13
[tx-robot] updated from transifex 2018-09-28 11:14:21 +00:00
Morris Jobke
065ec74173
Merge pull request #10884 from nextcloud/large-share-count-performance-13
[13] Improve performance when dealing with large numbers of shares
2018-09-27 17:20:13 +02:00
Nextcloud bot
9fa50f48f1
[tx-robot] updated from transifex 2018-09-27 00:12:37 +00:00
Nextcloud bot
f678794470
[tx-robot] updated from transifex 2018-09-26 00:12:33 +00:00
Nextcloud bot
8a0ced9d7e
[tx-robot] updated from transifex 2018-09-25 00:12:22 +00:00
Nextcloud bot
e921a9c1f4
[tx-robot] updated from transifex 2018-09-24 00:12:25 +00:00
Nextcloud bot
cfc711b278
[tx-robot] updated from transifex 2018-09-23 00:12:41 +00:00
Nextcloud bot
ad102f4942
[tx-robot] updated from transifex 2018-09-22 00:12:19 +00:00
Nextcloud bot
f2b6e38949
[tx-robot] updated from transifex 2018-09-21 00:12:22 +00:00
Nextcloud bot
ba97e60ffc
[tx-robot] updated from transifex 2018-09-17 00:12:40 +00:00
Nextcloud bot
f085101422
[tx-robot] updated from transifex 2018-09-16 00:12:39 +00:00
Nextcloud bot
665db6ba80
[tx-robot] updated from transifex 2018-09-15 00:12:20 +00:00
Nextcloud bot
2d9a488cf3
[tx-robot] updated from transifex 2018-09-14 00:12:43 +00:00
Nextcloud bot
8e668729b1
[tx-robot] updated from transifex 2018-09-13 00:12:22 +00:00
Nextcloud bot
a6678dfdf1
[tx-robot] updated from transifex 2018-09-11 00:12:33 +00:00
Nextcloud bot
dfa6da5a03
[tx-robot] updated from transifex 2018-09-08 00:12:42 +00:00
Nextcloud bot
90ab77d8bb
[tx-robot] updated from transifex 2018-09-01 00:12:27 +00:00
Robin Appelman
e3b9e9e57c
tokens can't be valid local user names
this saves searching for shares on non-public link dav requests

Signed-off-by: Robin Appelman <robin@icewind.nl>
2018-08-27 16:25:49 +02:00