Commit graph

16343 commits

Author SHA1 Message Date
Roeland Jago Douma
c021b5bfc6
Merge pull request #14195 from nextcloud/backport/14185/stable15
[stable15] Fix recent files
2019-02-14 21:18:20 +01:00
Roeland Jago Douma
a26a0bf75d
Merge pull request #14085 from nextcloud/backport/14023/stable15
[stable15] Fix: Check if `$this->params['user']` is an array
2019-02-14 19:47:43 +01:00
Roeland Jago Douma
8373adacd6 Filter out versions and trashbin
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2019-02-14 10:27:43 +00:00
Roeland Jago Douma
e31c94ac64 Loop for the recent search
Else it might happen that less entries than requested are returned

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2019-02-14 10:27:43 +00:00
Roeland Jago Douma
092baa0e5a We need to initialize the storage else the jailed path is always null
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2019-02-14 10:27:42 +00:00
Nextcloud bot
262c5a6236
[tx-robot] updated from transifex 2019-02-14 01:12:38 +00:00
Nextcloud bot
68e5c9d258
[tx-robot] updated from transifex 2019-02-13 01:12:25 +00:00
Roeland Jago Douma
096498c033 Fix the thorrtler whitelist bitmask
Before we actually didn't check each bit of the bitmask. Now we do.

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2019-02-12 07:56:07 +00:00
Nextcloud bot
40b40c94a2
[tx-robot] updated from transifex 2019-02-12 01:12:37 +00:00
Nextcloud bot
0cf2c7be7c
[tx-robot] updated from transifex 2019-02-09 01:12:50 +00:00
Nextcloud bot
8660fc3502
[tx-robot] updated from transifex 2019-02-08 01:12:50 +00:00
William Pain
602cea074f Fix: Check if $this->params['user'] is an array
Signed-off-by: William Pain <pain.william@gmail.com>
2019-02-07 13:33:18 +00:00
Nextcloud bot
3e72cc16e7
[tx-robot] updated from transifex 2019-02-06 11:27:41 +00:00
Christoph Wurst
13eb255277 Fix typos and unused return values
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2019-01-30 19:08:20 +00:00
Bjoern Schiessle
1c88b907a3 fix typo
Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
2019-01-30 19:08:19 +00:00
Bjoern Schiessle
0a1e776006 log full exception
Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
2019-01-30 19:08:18 +00:00
Bjoern Schiessle
f22465e364 handle mail send error gracefully
log the error in case a notification mail of a new share couldn't
be send to the recipient and finish the share operation successfully

Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
2019-01-30 19:08:17 +00:00
Morris Jobke
657621b980
Merge pull request #13906 from nextcloud/backport/13237/stable15
[stable15] Improve data directory write checking for NFS mounts
2019-01-30 14:28:43 +01:00
Roeland Jago Douma
355b0defe4
Clean pending 2FA authentication on password reset
When a password is reste we should make sure that all users are properly
logged in. Pending states should be cleared. For example a session where
the 2FA code is not entered yet should be cleared.

The token is now removed so the session will be killed the next time
this is checked (within 5 minutes).

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2019-01-30 10:41:09 +01:00
Robert Dailey
ff4dc3b66b Improve data directory write checking for NFS mounts
If `is_writable()` fails, fall back to logic that attempts to create a file
and then checks if it exists. If this check fails, an error occurs as it
did before.

Discussion on this solution was found here:
https://help.nextcloud.com/t/write-errors-for-nfs-mount/23328

Fixes #7124

Signed-off-by: Robert Dailey <rcdailey@gmail.com>
2019-01-30 08:39:45 +00:00
Robin Appelman
ff5f28a65e always use multipart uploader for s3 uploads
the multipart uploader handles non seekable streams while `upload` does not

Signed-off-by: Robin Appelman <robin@icewind.nl>
2019-01-29 10:17:07 +00:00
Nextcloud bot
fc0480282a
[tx-robot] updated from transifex 2019-01-26 01:12:28 +00:00
Morris Jobke
c7ea554c62 Show proper default locale
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2019-01-24 07:32:26 +00:00
Morris Jobke
09db2bc701
Merge pull request #13740 from nextcloud/backport/13140/stable15
[stable15] Cache tokens when using swift's v2 authentication
2019-01-23 15:29:56 +01:00
Robin Appelman
f7a4f1f128 cleanup shared lock if changing to exclusive lock failed
Signed-off-by: Robin Appelman <robin@icewind.nl>
2019-01-22 15:12:46 +00:00
Roeland Jago Douma
581d908ace Bump autoloader
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2019-01-22 14:37:10 +00:00
Robin Appelman
6855c1594c Cache tokens when using swift's v2 authentication
Signed-off-by: Robin Appelman <robin@icewind.nl>
2019-01-22 14:37:09 +00:00
Nextcloud bot
e1f917fd4c
[tx-robot] updated from transifex 2019-01-22 01:12:37 +00:00
Nextcloud bot
e9fae5e390
[tx-robot] updated from transifex 2019-01-20 01:12:42 +00:00
Joas Schilling
f39dacf1fb Fix colorizeSvg with transformations that contain a comma (,)
Signed-off-by: Joas Schilling <coding@schilljs.com>
2019-01-17 14:58:13 +00:00
Nextcloud bot
0469bb11c9
[tx-robot] updated from transifex 2019-01-17 01:12:28 +00:00
Roeland Jago Douma
2f6c722482
Merge pull request #13588 from nextcloud/backport/13468/stable15
[stable15] don't close input stream when writing in encrypted file
2019-01-16 14:12:44 +01:00
Nextcloud bot
6a44943425
[tx-robot] updated from transifex 2019-01-16 01:12:46 +00:00
Christoph Wurst
cf2657c873 Fix integer background job id type error
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2019-01-15 14:32:00 +00:00
Nextcloud bot
08676fd8e6
[tx-robot] updated from transifex 2019-01-15 01:12:27 +00:00
Florian Schunk
a3d9e6de39 don't close input stream when writing in encrypted file
Signed-off-by: Florian Schunk <florian.schunk@rwth-aachen.de>
2019-01-14 15:22:34 +00:00
Roeland Jago Douma
412d6a4a24
Merge pull request #13036 from nextcloud/objectstore-write-exists-15
[15] upload new files in objectstore to a .part path first
2019-01-14 11:29:18 +01:00
Nextcloud bot
457261a955
[tx-robot] updated from transifex 2019-01-14 01:12:11 +00:00
Nextcloud bot
6dfb0909fa
[tx-robot] updated from transifex 2019-01-12 01:12:07 +00:00
Joas Schilling
afd8be0c20 Don't log parameters on user creation in case of error/exception
Signed-off-by: Joas Schilling <coding@schilljs.com>
2019-01-10 11:37:07 +00:00
Nextcloud bot
941a99c586
[tx-robot] updated from transifex 2019-01-10 01:12:17 +00:00
Roeland Jago Douma
bc07098b49 HttpClient getHeader can return empty string
Fixes #11999

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2019-01-08 15:26:23 +00:00
Roeland Jago Douma
7e2092cfa1
Merge pull request #13411 from nextcloud/backport/13403/stable15
[stable15] CSP: Allow fonts to be provided in data
2019-01-07 19:25:47 +01:00
Roeland Jago Douma
de30c11cf3 CSP: Allow fonts to be provided in data
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2019-01-07 14:40:23 +00:00
Roeland Jago Douma
7416ce20a0 Use the real logger in the settings
Fixes #13285
The wrapper logger should not be used here. But we need the real logger.
Since this in internal we can just pass that on directly.

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2019-01-07 12:40:36 +00:00
Nextcloud bot
a0d08147d9
[tx-robot] updated from transifex 2019-01-05 01:12:08 +00:00
Roeland Jago Douma
d92c05e646 Throttle with correct metadata
Fixes #13202

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2019-01-04 21:21:46 +00:00
Nextcloud bot
5270f3996f
[tx-robot] updated from transifex 2019-01-04 01:12:40 +00:00
Roeland Jago Douma
241ec0715c Rewrite getNumberOfUnreadCommentsForFolder query
Before the joining and filtering removed unkown files. Resulting in
manual queries for all the files with no (unread) comments (the 99%).

Long story short. This will return a list of all the files in the parent
folder with their unread comment count (can be 0). But this makes sure
that the result is properly cached. In the dav handling.

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2019-01-03 16:10:13 +00:00
Nextcloud bot
ec05897e4e
[tx-robot] updated from transifex 2019-01-03 01:11:58 +00:00