summaryrefslogtreecommitdiffstats
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
* [tx-robot] updated from transifexNextcloud bot2020-06-032-0/+4
|
* [tx-robot] updated from transifexNextcloud bot2020-06-014-0/+6
|
* [tx-robot] updated from transifexNextcloud bot2020-05-302-12/+12
|
* Revert "[stable18] Fix password changes in link and mail shares"Morris Jobke2020-05-291-21/+5
|
* 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>
* Fix enabling send password by Talk with same password in mail sharesDaniel Calviño Sánchez2020-05-291-1/+11
| | | | | | | | | | | | | When "send password by Talk" is enabled in a mail share a new password must be also set. However, when the passwords of the original and the new share were compared it was not taken into account that the original password is now hashed, while the new one is not (unless no new password was sent, in which case the password of the original share was set in the new share by the controller, but that was already prevented due to both passwords being literally the same), so it was possible to set the same password again. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
* Fix enabling send password by Talk with empty password in link sharesDaniel Calviño Sánchez2020-05-291-0/+6
| | | | | | | When "send password by Talk" is enabled in a link share now a non empty password is enforced. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
* Merge pull request #21109 from nextcloud/backport/19793/stable18Roeland Jago Douma2020-05-281-5/+0
|\ | | | | [stable18] Fix resharing of federated shares that were created out of links
| * Link shares have reshare permission if outgoing federated shares are enabledJulius Härtl2020-05-261-5/+0
| | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* | [tx-robot] updated from transifexNextcloud bot2020-05-274-2/+8
| |
* | Do not read certificate bundle from data dir by defaultMorris Jobke2020-05-251-7/+7
|/ | | | | | | | | | | Before the resources/config/ca-bundle.crt was only used when the list of custom certificates was empty and the instance was not installed. But it should also be used when the list is empty and the instance is installed. This is inverting the logic to stop if the instance is not installed to use the default bundle. And it also does this when the list is empty. Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Merge pull request #20965 from nextcloud/backport/20033/stable18Morris Jobke2020-05-254-21/+218
|\ | | | | [stable18] Enable fseek for files in S3 storage
| * harden seekable http stream a bit against failuresRobin Appelman2020-05-221-3/+13
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
| * update autoloaderRobin Appelman2020-05-203-9/+9
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
| * add basic tests for s3 seeking and add some error handling if reopen return ↵Robin Appelman2020-05-201-8/+18
| | | | | | | | | | | | the wrong range Signed-off-by: Robin Appelman <robin@icewind.nl>
| * make seekable s3 stream genericRobin Appelman2020-05-202-57/+106
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
| * Enable fseek for files in S3 storageLukas Stabe2020-05-202-19/+147
| | | | | | | | Signed-off-by: Lukas Stabe <lukas@stabe.de>
* | [tx-robot] updated from transifexNextcloud bot2020-05-252-0/+4
| |
* | [tx-robot] updated from transifexNextcloud bot2020-05-234-2/+6
| |
* | [tx-robot] updated from transifexNextcloud bot2020-05-224-0/+6
| |
* | [tx-robot] updated from transifexNextcloud bot2020-05-214-2/+4
| |
* | Compress the appstore requests by defaultMorris Jobke2020-05-201-3/+2
| | | | | | | | | | | | In test it reduced the transfered data from 5 MB to 2 MB. This should reduce the load on the appstore significantly. Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | Cache appstore requests for 60 instead of 5 minutesMorris Jobke2020-05-201-2/+2
| | | | | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | [tx-robot] updated from transifexNextcloud bot2020-05-206-2/+12
| |
* | [tx-robot] updated from transifexNextcloud bot2020-05-192-48/+52
| |
* | Merge pull request #20994 from nextcloud/backport/19540/stable18Morris Jobke2020-05-181-0/+4
|\ \ | | | | | | [stable18] Fix issues with Keystone auth v3 in files_external app
| * | Fix issues with Keystone auth v3 in files_external appJulien Lutran2020-05-151-0/+4
| | | | | | | | | | | | Signed-off-by: Julien Lutran <julien.lutran@corp.ovh.com>
* | | [tx-robot] updated from transifexNextcloud bot2020-05-188-0/+14
| | |
* | | [tx-robot] updated from transifexNextcloud bot2020-05-1722-0/+42
| | |
* | | [tx-robot] updated from transifexNextcloud bot2020-05-16130-256/+256
|/ /
* | Merge pull request #20955 from nextcloud/httpcache-18Roeland Jago Douma2020-05-151-3/+3
|\ \ | | | | | | [stable18] Proxy server could cache http response when it is not private
| * | Proxy server could cache http response when it is not privateClement Wong2020-05-131-3/+3
| | | | | | | | | | | | Signed-off-by: Clement Wong <git@clement.hk>
* | | [tx-robot] updated from transifexNextcloud bot2020-05-152-0/+28
| |/ |/|
* | [tx-robot] updated from transifexNextcloud bot2020-05-142-0/+2
|/
* [tx-robot] updated from transifexNextcloud bot2020-05-132-0/+4
|
* Merge pull request #20574 from nextcloud/backport/16035/stable18Morris Jobke2020-05-122-8/+28
|\ | | | | [stable18] dont show remote and email options if we have an exact match for local user email
| * dont show remote and email options if we have an exact match for local user ↵Robin Appelman2020-05-122-8/+28
| | | | | | | | | | | | email Signed-off-by: Robin Appelman <robin@icewind.nl>
* | Merge pull request #20877 from nextcloud/backport/20719/stable18Roeland Jago Douma2020-05-121-2/+11
|\ \ | | | | | | [stable18] Fix languages empty array
| * | Fix languages empty arrayGretaD2020-05-111-2/+11
| | | | | | | | | | | | Signed-off-by: GretaD <gretadoci@gmail.com>
* | | [tx-robot] updated from transifexNextcloud bot2020-05-124-2/+24
| | |
* | | Merge pull request #20924 from nextcloud/backport/20915/stable18Roeland Jago Douma2020-05-111-7/+13
|\ \ \ | | | | | | | | [stable18] Use random_bytes
| * | | Use random_bytesRoeland Jago Douma2020-05-111-7/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Since we don't care if it is human readbale. The code is backwards compatible with the old format. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | | | Merge pull request #20774 from nextcloud/backport/19743/stable18Roeland Jago Douma2020-05-111-6/+9
|\ \ \ \ | |/ / / |/| | | [stable18] dont try to update storage mtime if we can't get the mtime
| * | | dont try to update storage mtime if we can't get the mtimeRobin Appelman2020-05-011-6/+9
| | |/ | |/| | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | | [tx-robot] updated from transifexNextcloud bot2020-05-112-4/+4
| | |
* | | [tx-robot] updated from transifexNextcloud bot2020-05-09182-3094/+74
| |/ |/|
* | [tx-robot] updated from transifexNextcloud bot2020-05-084-2/+4
|/
* Merge pull request #20763 from nextcloud/backport/20710/stable18Roeland Jago Douma2020-05-011-10/+5
|\ | | | | [stable18] Fix Argon2 options checks
| * Fix Argon2 options checksMichaIng2020-05-011-10/+5
| | | | | | | | | | | | | | | | | | | | | | The minimum for memory cost is 8 KiB per thread. Threads must be checked and set first to allow checking against the correct memory cost mimimum. Options are now applied the following way: - If config.php contains the setting with an integer higher or equal to the minimum, it is applied. - If config.php contains the setting with an integer lower than the minimum, the minimum is applied. - If config.php does not contain the setting or with no integer value, the PHP default is applied. Signed-off-by: MichaIng <micha@dietpi.com> Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | Allow specifying a default expiration dateRoeland Jago Douma2020-05-011-2/+12
|/ | | | | | This overrides the max expiration date. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>