summaryrefslogtreecommitdiffstats
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #21779 from nextcloud/backport/21499/stable19Roeland Jago Douma2020-07-091-1/+1
|\ | | | | [stable19] fix #21285 as oneliner
| * Return correct loginname in credentials,Lionel Elie Mamane2020-07-091-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | even when token is invalid or has no password. Returning the uid as loginname is wrong, and leads to problems when these differ. E.g. the getapppassword API was creating app token with the uid as loginname. In a scenario with external authentication (such as LDAP), these tokens were then invalidated next time their underlying password was checked, and systematically ceased to function. Signed-off-by: Lionel Elie Mamane <lionel@mamane.lu>
* | ensure home storage is initialized on first setupRobin Appelman2020-07-093-2/+6
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | Use the correct mountpoint to calculateRoeland Jago Douma2020-07-091-1/+8
|/ | | | | | | If we use the owners mount point this results in null. And then the rest of the checks get called with null. Which doesn't work. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* [tx-robot] updated from transifexNextcloud bot2020-07-09126-126/+128
|
* [tx-robot] updated from transifexNextcloud bot2020-07-082-0/+8
|
* Fix releasing a shared lock multiple timesJaakko Salo2020-07-061-1/+5
| | | | Signed-off-by: Jaakko Salo <jaakkos@gmail.com>
* Merge pull request #21671 from nextcloud/revert-21095-backport/21090/stable19Roeland Jago Douma2020-07-061-7/+7
|\ | | | | Revert "[stable19] Do not read certificate bundle from data dir by default"
| * Revert "[stable19] Do not read certificate bundle from data dir by default"Roeland Jago Douma2020-07-031-7/+7
| |
* | [tx-robot] updated from transifexNextcloud bot2020-07-042-2/+22
| |
* | Fix static method call for s3 bucket compat checkChristoph Wurst2020-07-031-2/+2
|/ | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Merge pull request #21387 from nextcloud/backport/21380/stable19Joas Schilling2020-07-031-1/+1
|\ | | | | [stable19] Increase timeout of the appstore requests
| * Increase timeout of the appstore requestsJoas Schilling2020-07-021-1/+1
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | [tx-robot] updated from transifexNextcloud bot2020-07-032-0/+2
| |
* | Merge pull request #21573 from nextcloud/backport/21558/stable19Morris Jobke2020-07-021-7/+3
|\ \ | |/ |/| [stable19] relax permissions mask check for detecting part file rename
| * relax permissions mask check for detecting part file renameRobin Appelman2020-06-241-7/+3
| | | | | | | | | | | | with files drop uploads the original file name isn't always used for the '.ocTransferId' source path Signed-off-by: Robin Appelman <robin@icewind.nl>
* | Fix IPv6 remote addresses from X_FORWARDED_FOR headers before validatingJoas Schilling2020-07-021-0/+6
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | Log deprecated events as debugRoeland Jago Douma2020-07-021-1/+1
| | | | | | | | | | | | | | Since this can spam the log quite agressively we should log it as debug and not info. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | Merge pull request #21638 from nextcloud/backport/21588/stable19Roeland Jago Douma2020-07-021-1/+2
|\ \ | | | | | | [stable19] Update presign method to match with interface again.
| * | Update presign method to match with interface again.Daniel Kesselberg2020-06-301-1/+2
| | | | | | | | | | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* | | Merge pull request #21538 from nextcloud/backport/21452/stable19Joas Schilling2020-07-011-12/+7
|\ \ \ | | | | | | | | [stable19] Fix autocomplete for LDAP with `shareapi_only_share_with_group_members` on
| * | | Fix unit testsJoas Schilling2020-06-231-1/+1
| | | | | | | | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
| * | | Fix PHP CSJoas Schilling2020-06-231-1/+0
| | | | | | | | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
| * | | Move back to IGroupManager::displayNamesInGroup()Joas Schilling2020-06-231-10/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | The problem is that despite it's name IGroup::searchDisplayName() only searches by userid and this is less fixable than changing back to this method here Signed-off-by: Joas Schilling <coding@schilljs.com>
* | | | [tx-robot] updated from transifexNextcloud bot2020-07-012-0/+6
| |/ / |/| |
* | | [tx-robot] updated from transifexNextcloud bot2020-06-302-0/+4
| |/ |/|
* | Fix language in share notes email for usersJoas Schilling2020-06-232-28/+36
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | Merge pull request #21526 from nextcloud/backport/21479/stable19Roeland Jago Douma2020-06-234-6/+23
|\ \ | |/ |/| [stable19] Allow to specify the cookie type for appframework responses
| * available since 19.0.1Arthur Schiwon2020-06-221-1/+1
| | | | | | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
| * Allow to specify the cookie type for appframework responsesRoeland Jago Douma2020-06-224-6/+23
| | | | | | | | | | | | | | | | | | In general it is good to set them to Lax. But also to give devs more control over them is not a bad thing. Helps with #21474 Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | Merge pull request #21447 from nextcloud/backport/21406/stable19Roeland Jago Douma2020-06-221-2/+3
|\ \ | |/ |/| [stable19] Disable Client-Side Monitoring on AWS storage
| * Disable Client-Side Monitoring on AWS storageChristoph Wurst2020-06-171-2/+3
| | | | | | | | | | | | | | | | | | The S3 client enables this by default and then tries to read `.aws/config`. This causes `open_basedir` restriction related error for some setups. So this patch disables the CSM because it's most likely unused anyway. Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | Merge pull request #21485 from nextcloud/backport/21482/stable19Roeland Jago Douma2020-06-211-1/+5
|\ \ | | | | | | [stable19] Don't log Keys
| * | Don't log KeysJoas Schilling2020-06-191-1/+5
| | | | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | | Merge pull request #21495 from nextcloud/backport/21483/stable19Roeland Jago Douma2020-06-201-1/+1
|\ \ \ | | | | | | | | [stable19] Give up after 10 seconds in SCSS timeout
| * | | Give up after 10 seconds in SCSS timeoutRoeland Jago Douma2020-06-191-1/+1
| |/ / | | | | | | | | | | | | | | | Else we keep idling for ages which leads to bad UX Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* / / [tx-robot] updated from transifexNextcloud bot2020-06-202-0/+2
|/ /
* / [tx-robot] updated from transifexNextcloud bot2020-06-182-18/+18
|/
* Clean up auth tokens when user is deletedChristoph Wurst2020-06-163-0/+74
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Avoid duplicate matches in wide and exact resultsJulius Härtl2020-06-151-34/+22
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Upload part size as S3 parameter instead of constant valueFlorent2020-06-152-3/+5
| | | | | | | | Some S3 providers need a custom upload part size (500 MB static value in Nextcloud). Here is a commit to change this value via S3 configuration, instead of using S3_UPLOAD_PART_SIZE constant. A new parameter is added for an S3 connection : uploadPartSize Signed-off-by: Florent <florent@coppint.com>
* Merge pull request #21352 from nextcloud/backport/21311/stable19Roeland Jago Douma2020-06-111-1/+1
|\ | | | | [stable19] Always sort shares in a reliable way
| * Always sort shares in a reliable wayJoas Schilling2020-06-101-1/+1
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | [tx-robot] updated from transifexNextcloud bot2020-06-114-6/+12
|/
* [tx-robot] updated from transifexNextcloud bot2020-06-104-4/+10
|
* [tx-robot] updated from transifexNextcloud bot2020-06-094-44/+72
|
* [tx-robot] updated from transifexNextcloud bot2020-06-062-2/+2
|
* [tx-robot] updated from transifexNextcloud bot2020-06-05182-3422/+562
|
* Prevent harder to share your rootJoas Schilling2020-06-041-3/+1
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Fix disabling send password by Talk without new password in mail sharesDaniel Calviño Sánchez2020-05-291-4/+4
| | | | | | | | | | | | | | | | | | When "send password by Talk" was disabled in a mail share it was possible to keep the same password as before, as it does not pose any security issue (unlike keeping it when "send password by Talk" is enabled, as in that case the password was already disclosed by mail). However, if a mail share is updated but the password is not set again only the hashed password will be available. In that case it would not make sense to send the password by mail, so now the password must be changed when disabling "send password by Talk". Note that, even if explicitly setting the same password again along with the "send password by Talk" property would work, this was also prevented for simplicity. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>