summaryrefslogtreecommitdiffstats
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
* Fix typos and unused return valuesChristoph Wurst2019-01-301-9/+9
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* fix typoBjoern Schiessle2019-01-301-2/+2
| | | | Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
* log full exceptionBjoern Schiessle2019-01-301-1/+1
| | | | Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
* handle mail send error gracefullyBjoern Schiessle2019-01-301-2/+13
| | | | | | | 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>
* Merge pull request #13906 from nextcloud/backport/13237/stable15Morris Jobke2019-01-301-7/+15
|\ | | | | [stable15] Improve data directory write checking for NFS mounts
| * Improve data directory write checking for NFS mountsRobert Dailey2019-01-301-7/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* | Clean pending 2FA authentication on password resetRoeland Jago Douma2019-01-301-0/+9
|/ | | | | | | | | | | 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>
* always use multipart uploader for s3 uploadsRobin Appelman2019-01-291-2/+5
| | | | | | the multipart uploader handles non seekable streams while `upload` does not Signed-off-by: Robin Appelman <robin@icewind.nl>
* [tx-robot] updated from transifexNextcloud bot2019-01-264-8/+8
|
* Show proper default localeMorris Jobke2019-01-241-1/+1
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Merge pull request #13740 from nextcloud/backport/13140/stable15Morris Jobke2019-01-234-17/+88
|\ | | | | [stable15] Cache tokens when using swift's v2 authentication
| * Bump autoloaderRoeland Jago Douma2019-01-222-0/+2
| | | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
| * Cache tokens when using swift's v2 authenticationRobin Appelman2019-01-222-17/+86
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | cleanup shared lock if changing to exclusive lock failedRobin Appelman2019-01-221-1/+7
|/ | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* [tx-robot] updated from transifexNextcloud bot2019-01-222-2/+2
|
* [tx-robot] updated from transifexNextcloud bot2019-01-202-2/+2
|
* Fix colorizeSvg with transformations that contain a comma (,)Joas Schilling2019-01-171-1/+1
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* [tx-robot] updated from transifexNextcloud bot2019-01-172-4/+4
|
* Merge pull request #13588 from nextcloud/backport/13468/stable15Roeland Jago Douma2019-01-161-1/+0
|\ | | | | [stable15] don't close input stream when writing in encrypted file
| * don't close input stream when writing in encrypted fileFlorian Schunk2019-01-141-1/+0
| | | | | | | | Signed-off-by: Florian Schunk <florian.schunk@rwth-aachen.de>
* | [tx-robot] updated from transifexNextcloud bot2019-01-164-10/+10
| |
* | Fix integer background job id type errorChristoph Wurst2019-01-151-1/+1
| | | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | [tx-robot] updated from transifexNextcloud bot2019-01-152-20/+20
|/
* Merge pull request #13036 from nextcloud/objectstore-write-exists-15Roeland Jago Douma2019-01-146-5/+49
|\ | | | | [15] upload new files in objectstore to a .part path first
| * upload new files in objectstore to a .part path firstRobin Appelman2018-12-121-5/+17
| | | | | | | | | | | | | | | | This prevent the object store and cache from getting out of sync when an objectstore silently fails or the php process get's killed during the upload without giving us the chance to cleanup Signed-off-by: Robin Appelman <robin@icewind.nl>
| * Add objectExists to objectstore interfaceRobin Appelman2018-12-125-0/+32
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | [tx-robot] updated from transifexNextcloud bot2019-01-142-112/+112
| |
* | [tx-robot] updated from transifexNextcloud bot2019-01-122-4/+4
| |
* | Don't log parameters on user creation in case of error/exceptionJoas Schilling2019-01-101-0/+3
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | [tx-robot] updated from transifexNextcloud bot2019-01-102-2/+2
| |
* | HttpClient getHeader can return empty stringRoeland Jago Douma2019-01-081-1/+7
| | | | | | | | | | | | Fixes #11999 Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | Merge pull request #13411 from nextcloud/backport/13403/stable15Roeland Jago Douma2019-01-071-0/+1
|\ \ | | | | | | [stable15] CSP: Allow fonts to be provided in data
| * | CSP: Allow fonts to be provided in dataRoeland Jago Douma2019-01-071-0/+1
| | | | | | | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | | Use the real logger in the settingsRoeland Jago Douma2019-01-071-2/+3
|/ / | | | | | | | | | | | | | | 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>
* | [tx-robot] updated from transifexNextcloud bot2019-01-052-4/+4
| |
* | Throttle with correct metadataRoeland Jago Douma2019-01-041-1/+1
| | | | | | | | | | | | Fixes #13202 Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | [tx-robot] updated from transifexNextcloud bot2019-01-042-30/+30
| |
* | Rewrite getNumberOfUnreadCommentsForFolder queryRoeland Jago Douma2019-01-031-14/+29
| | | | | | | | | | | | | | | | | | | | | | 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>
* | [tx-robot] updated from transifexNextcloud bot2019-01-032-4/+4
| |
* | Merge pull request #13252 from nextcloud/backport/13240/stable15Morris Jobke2019-01-021-1/+1
|\ \ | | | | | | [stable15] Add default values when parsing account data
| * | Add default values when parsing account dataJulius Härtl2018-12-241-1/+1
| | | | | | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* | | Merge pull request #13278 from nextcloud/backport/13086/stable15Roeland Jago Douma2019-01-021-1/+3
|\ \ \ | | | | | | | | [stable15] Fetch lastInsertId only when id null
| * | | Access id property without getter.Daniel Kesselberg2018-12-271-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | Some implementations typehint getId to integer but default is null. Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
| * | | Fetch lastInsertId only when id nullDaniel Kesselberg2018-12-271-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* | | | [tx-robot] updated from transifexNextcloud bot2019-01-012-6/+130
| | | |
* | | | [tx-robot] updated from transifexNextcloud bot2018-12-312-2/+22
| | | |
* | | | [tx-robot] updated from transifexNextcloud bot2018-12-304-2/+10
| | | |
* | | | [tx-robot] updated from transifexNextcloud bot2018-12-282-2/+12
|/ / /
* / / [tx-robot] updated from transifexNextcloud bot2018-12-272-2/+2
|/ /
* | SCSS cache buster is a combination of apps/theming/scc_varsRoeland Jago Douma2018-12-211-1/+8
| | | | | | | | | | | | | | 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>