summaryrefslogtreecommitdiffstats
path: root/lib/private
Commit message (Collapse)AuthorAgeFilesLines
* Correctly determinate the owner in case of shared external storagesJoas Schilling2019-02-191-2/+4
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Merge pull request #14196 from nextcloud/backport/14185/stable14Roeland Jago Douma2019-02-141-3/+32
|\ | | | | [stable14] Fix recent files
| * Filter out versions and trashbinRoeland Jago Douma2019-02-141-0/+2
| | | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
| * Loop for the recent searchRoeland Jago Douma2019-02-141-3/+26
| | | | | | | | | | | | Else it might happen that less entries than requested are returned Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
| * We need to initialize the storage else the jailed path is always nullRoeland Jago Douma2019-02-141-0/+4
| | | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | Merge pull request #14086 from nextcloud/backport/14023/stable14Roeland Jago Douma2019-02-141-1/+1
|\ \ | |/ |/| [stable14] Fix: Check if `$this->params['user']` is an array
| * Fix: Check if `$this->params['user']` is an arrayWilliam Pain2019-02-071-1/+1
| | | | | | | | Signed-off-by: William Pain <pain.william@gmail.com>
* | Fix the thorrtler whitelist bitmaskRoeland Jago Douma2019-02-121-2/+4
|/ | | | | | Before we actually didn't check each bit of the bitmask. Now we do. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* 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>
* 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>
* Show proper default localeMorris Jobke2019-01-241-1/+1
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Merge pull request #13741 from nextcloud/backport/13140/stable14Morris Jobke2019-01-232-17/+86
|\ | | | | [stable14] Cache tokens when using swift's v2 authentication
| * 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>
* [stable15] Fix colorizeSvg with transformations that contain a comma (,)John Molakvoæ2019-01-171-1/+1
| | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Merge pull request #13035 from nextcloud/objectstore-write-exists-14Roeland Jago Douma2019-01-145-3/+38
|\ | | | | [14] upload new files in objectstore to a .part path first
| * upload new files in objectstore to a .part path firstRobin Appelman2018-12-121-3/+15
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
| * Add objectExists to objectstore interfaceRobin Appelman2018-12-124-0/+23
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | 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>
* | HttpClient getHeader can return empty stringRoeland Jago Douma2019-01-081-1/+7
| | | | | | | | | | | | Fixes #11999 Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | Throttle with correct metadataRoeland Jago Douma2019-01-041-1/+1
| | | | | | | | | | | | Fixes #13202 Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | Merge pull request #12617 from nextcloud/backport/10839/stable14Roeland Jago Douma2018-12-222-24/+84
|\ \ | | | | | | [stable14] adjust Calendar resource / room interfaces to use class implementation
| * | RoomManager/ResourceManager: Inject IServerContainer instead of using OC ServerGeorg Ehrke2018-11-222-2/+28
| | | | | | | | | | | | Signed-off-by: Georg Ehrke <developer@georgehrke.com>
| * | adjust Calendar resource / room interfaces to use class implementationGeorg Ehrke2018-11-222-24/+58
| | | | | | | | | | | | Signed-off-by: Georg Ehrke <developer@georgehrke.com>
* | | Use a case insensitive search for emailRoeland Jago Douma2018-12-202-1/+33
| |/ |/| | | | | | | | | | | | | 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>
* | Apply patch from @cwiedmann but drop -oi option for pipeCarsten Wiedmann2018-12-082-1/+11
| | | | | | | | | | | | | | * Add sendmailmode to gui * Add testcases for pipe mode Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* | Make sure to always load the latest icons-vars.css fileJulius Härtl2018-12-071-3/+16
| | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* | Merge pull request #12869 from nextcloud/backport/12857/stable14Roeland Jago Douma2018-12-061-1/+1
|\ \ | | | | | | [stable14] Emit write update only once on touch
| * | Emit write update only once on touchRoeland Jago Douma2018-12-051-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | When a touch is done (i.e. when creating a new file in the node API) The hooks contain 'write' and 'touch' (and the operation is touch as well). This would cause a double write update. Which doesn't make sense. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | | Only execute query in propagateChange onceRoeland Jago Douma2018-12-051-2/+2
|/ / | | | | | | | | | | | | 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>
* | Do not update child all child shares on group share updateRoeland Jago Douma2018-12-041-0/+1
| | | | | | | | | | | | | | Else we overwrite the whole share for link shares. Basically breaking them. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | PHP module is named mbstringMorris Jobke2018-12-041-1/+1
| | | | | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | Set Referrer-Policy also in addSecurityHeaders()Peter Kraume2018-11-291-0/+1
| | | | | | | | | | Fix: #12689 Signed-off-by: Peter Kraume <peter.kraume@gmx.de>
* | Fix folder path containing leading slash when getting mount root by idRobin Appelman2018-11-281-1/+1
|/ | | | | | | | This fixes collabora on public link shared groupfolders Fixes https://github.com/nextcloud/groupfolders/issues/225 Signed-off-by: Robin Appelman <robin@icewind.nl>
* Merge pull request #12540 from nextcloud/backport/12450/stable14Morris Jobke2018-11-221-4/+10
|\ | | | | [stable14] Throw exception if decryption fails
| * Throw exception if decryption failsRoeland Jago Douma2018-11-191-4/+10
| | | | | | | | | | | | For #11868 Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | Bearer tokens are app tokenRoeland Jago Douma2018-11-201-0/+4
|/ | | | | | | | | | 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>
* forward object not found error in swift as dav 404Robin Appelman2018-11-192-6/+24
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* Merge pull request #12375 from nextcloud/backport/12284/stable14Morris Jobke2018-11-131-1/+1
|\ | | | | [14] Properly search the root of a shared external storage
| * Properly search the root of a shared external storageRoeland Jago Douma2018-11-091-1/+1
| | | | | | | | | | | | | | | | | | | | | | 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>
* | Fix UniqueConstraintViolationException while insert into oc_file_locksMorris Jobke2018-11-131-1/+12
| | | | | | | | | | | | | | | | | | * 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>
* | Fix UniqueConstraintViolationException while insert into oc_filecacheMorris Jobke2018-11-131-7/+18
|/ | | | | | | | * 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>
* Fix default types of activity event member variablesJoas Schilling2018-11-081-6/+6
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Merge pull request #12197 from nextcloud/backport/12188/revert-wait-for-cronRoeland Jago Douma2018-11-022-58/+9
|\ | | | | [stable14] Revert "Wait for cron to finish before running upgrade command"
| * Revert "Wait for cron to finish before running upgrade command"Morris Jobke2018-11-012-58/+9
| | | | | | | | | | | | This reverts commit 18e9631810ad1d3d72c2b4bbee330169808108ad. Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | Merge pull request #12202 from brad2014/stable14Roeland Jago Douma2018-11-021-2/+3
|\ \ | |/ |/| Fix bug #12151: fix list formatting by correcting malformed html
| * Fix bug #12151: fix list formatting by correcting malformed htmlbrad20142018-11-011-2/+3
| | | | | | | | Signed-off-by: Brad Rubenstein <brad@wbr.tech>