Commit Graph

16331 Commits

Author SHA1 Message Date
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
Morris Jobke f81fdd4b5c
Merge pull request #13252 from nextcloud/backport/13240/stable15
[stable15] Add default values when parsing account data
2019-01-02 16:28:02 +01:00
Roeland Jago Douma 832fa63dec
Merge pull request #13278 from nextcloud/backport/13086/stable15
[stable15] Fetch lastInsertId only when id null
2019-01-02 09:15:28 +01:00
Nextcloud bot 2d91e9f00d
[tx-robot] updated from transifex 2019-01-01 01:11:45 +00:00
Nextcloud bot 933d0c1902
[tx-robot] updated from transifex 2018-12-31 01:11:52 +00:00
Nextcloud bot 9cc7b9b9ec
[tx-robot] updated from transifex 2018-12-30 01:12:51 +00:00
Nextcloud bot 9e315b1ac4
[tx-robot] updated from transifex 2018-12-28 01:11:59 +00:00
Daniel Kesselberg 92938f6f00 Access id property without getter.
Some implementations typehint getId to integer but default is null.

Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2018-12-27 17:01:57 +00:00
Daniel Kesselberg 97b03745b0 Fetch lastInsertId only when id null
When id column has no autoincrement flag query for lastInsertId fails
on postgres because no value has been generated. Call lastInsertId only
if id is null.

Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2018-12-27 17:01:57 +00:00
Nextcloud bot 424fc68d4c
[tx-robot] updated from transifex 2018-12-27 01:11:51 +00:00
Julius Härtl 3be77ba956 Add default values when parsing account data
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2018-12-24 13:19:38 +00:00
Roeland Jago Douma 77a81d00cf SCSS cache buster is a combination of apps/theming/scc_vars
Else on scss files we'd get <file>?v=<hash>?v=<hash2>
This is of course not valid. Now it becomes <file>?v=<hash>-<hash2>

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2018-12-21 09:33:18 +00:00
Roeland Jago Douma 7b09d11924 Use a case insensitive search for email
Fixes #7084
Now entering wrongly cased email (roeland@ instead of Roeland@) for
password reset etc. Will also work.

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2018-12-20 15:19:15 +00:00