summaryrefslogtreecommitdiffstats
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
* 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>
* 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>
* Clear the statscache before fetching the metadataRoeland Jago Douma2020-05-281-0/+1
| | | | | | | | Else if a lot of writes happen. It might happen that an old stat result is used. Resulting in a wrong file size for the file. For example the text app when a lot of people edit at the same time. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Merge pull request #21095 from nextcloud/backport/21090/stable19Roeland Jago Douma2020-05-261-7/+7
|\ | | | | [stable19] Do not read certificate bundle from data dir by default
| * 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 #21068 from nextcloud/backport/20776/stable19Morris Jobke2020-05-261-6/+20
|\ \ | | | | | | [stable19] Improve group queries
| * | Improve group queriesRoeland Jago Douma2020-05-221-6/+20
| |/ | | | | | | | | | | | | | | | | | | | | Before we'd also get the diplayname for each group in the backend. In a separate query. This is of course not ideal as this information is obtained on each and every query. Now this is queried once and properly cached. Also added more caching to the manager. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* / Update hub bundle and add proxy rule to htaccessJulius Härtl2020-05-252-2/+3
|/ | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net> Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
* 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>
* Copy over the ETag and LastModified when formatting a DataresponseRoeland Jago Douma2020-05-191-0/+8
| | | | | | This way the ETag checks etc are all working. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Allow links to conversationsJoas Schilling2020-05-131-0/+6
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Add public argument to Http cacheFor()Clement Wong2020-05-131-5/+4
| | | | Signed-off-by: Clement Wong <git@clement.hk>
* Proxy server could cache http response when it is not privateClement Wong2020-05-131-2/+2
| | | | Signed-off-by: Clement Wong <git@clement.hk>
* Remember the webauthn name of devicesRoeland Jago Douma2020-05-121-1/+3
| | | | | | | Fixes #20289 we should not reset to default once we have logged in with the device. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Merge pull request #20923 from nextcloud/backport/20915/stable19Roeland Jago Douma2020-05-111-7/+13
|\ | | | | [stable19] 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>
* | Fix languages empty arrayGretaD2020-05-081-2/+11
|/ | | | Signed-off-by: GretaD <gretadoci@gmail.com>
* Merge pull request #18955 from adrb/swift_upload_large_objectsRoeland Jago Douma2020-05-061-4/+14
|\ | | | | Large Object support for OpenStack Swift
| * Large Object support for OpenStack Swift.Adrian Brzezinski2020-04-271-4/+14
| | | | | | | | | | | | | | | | | | Until now, you wouldn't be able to create objects larger that 5GB. It's somewhat related with pull #18883 Signed-off-by: Adrian Brzezinski <adrian.brzezinski@eo.pl>
* | Merge pull request #20787 from nextcloud/fix/resize_wrong_mimeMorris Jobke2020-05-041-0/+9
|\ \ | | | | | | Fix OC_Image new resize functions
| * | Fix OC_Image new resize functionsRoeland Jago Douma2020-05-021-0/+9
| | | | | | | | | | | | | | | | | | | | | Else the wrong mimetype might be set. Resulting in continious regeneration of previews when browsing. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | | Merge pull request #20749 from ↵Joas Schilling2020-05-041-1/+4
|\ \ \ | |/ / |/| | | | | | | | nextcloud/bug/noid/is-not-setup-via-query-false-positive PHP 7.4 excludes the arguments from stack traces by default.
| * | composer run cs:fixDaniel Kesselberg2020-04-301-2/+2
| | | | | | | | | | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
| * | PHP 7.4 excludes the arguments from stack traces by default.Daniel Kesselberg2020-04-301-1/+4
| | | | | | | | | | | | | | | | | | | | | That leads to a false positive is not setup via query() but directly warning for every app because the check does not work anymore. Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* | | Merge pull request #20767 from nextcloud/enh/argon2id-optionsRoeland Jago Douma2020-05-011-1/+1
|\ \ \ | | | | | | | | Apply Argon2 options for Argon2id hashing as well
| * | | Apply Argon2 options for Argon2id hashing as wellMichaIng2020-05-011-1/+1
| | | | | | | | | | | | Signed-off-by: MichaIng <micha@dietpi.com>
* | | | Update education bundleRoeland Jago Douma2020-05-011-2/+0
|/ / / | | | | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | | Merge pull request #20380 from nextcloud/design/notification-mailsRoeland Jago Douma2020-05-011-55/+49
|\ \ \ | | | | | | | | Fix design and layout of notification mails
| * | | Fix notification mail testsJan-Christoph Borchardt2020-05-011-1/+2
| | | | | | | | | | | | | | | | Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
| * | | Notification mails: Fix some alignment details and remove shadowJan-Christoph Borchardt2020-04-301-4/+4
| | | | | | | | | | | | | | | | Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
| * | | Notification mails: Change font to native font stackJan-Christoph Borchardt2020-04-301-42/+42
| | | | | | | | | | | | | | | | Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>