summaryrefslogtreecommitdiffstats
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
* [tx-robot] updated from transifexNextcloud bot2020-05-302-12/+12
|
* Fix the loading order of the js files_info and files_clientRoeland Jago Douma2020-05-291-2/+2
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Merge pull request #21143 from ↵Roeland Jago Douma2020-05-291-5/+21
|\ | | | | | | | | nextcloud/fix-password-changes-in-link-and-mail-shares Fix password changes in link and mail shares
| * 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-281-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-281-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>
* | Document \OC_App::getAllApps return typeChristoph Wurst2020-05-281-1/+1
|/ | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Add lazy events for the Node APIRoeland Jago Douma2020-05-2820-25/+656
| | | | | | | | | | | Right now if you want to get events via the Node API you have to have a real instance of the Root. Which in turns sets up the whole FS. We should make sure this is done lazy. Else enabling the preview generator for example makes you setup the whole FS on each and every authenticated call. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Log why a token is not valid during password checkChristoph Wurst2020-05-271-0/+4
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Improve traces of invalid token exceptionsChristoph Wurst2020-05-273-17/+20
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* [tx-robot] updated from transifexNextcloud bot2020-05-274-2/+8
|
* Merge pull request #21092 from nextcloud/enh/noid/recommended-appsRoeland Jago Douma2020-05-252-2/+3
|\ | | | | Update recommended apps
| * Update hub bundle and add proxy rule to htaccessJulius Härtl2020-05-252-2/+3
| | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* | Merge pull request #21090 from ↵Roeland Jago Douma2020-05-251-7/+7
|\ \ | |/ |/| | | | | nextcloud/bug/noid/do-not-read-cert-from-datadir-by-default 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 #20005 from joeried/occ-remove-bruteforce-attempts-by-ipMorris Jobke2020-05-253-6/+31
|\ \ | |/ |/| Implement occ command to reset bruteforce attemps from a given IP address
| * Fix code styleMorris Jobke2020-05-251-1/+1
| | | | | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
| * Implement occ command security:bruteforceattemps:reset-for-ipJohannes Riedel2020-03-193-6/+31
| | | | | | | | Signed-off-by: Johannes Riedel <joeried@users.noreply.github.com>
* | [tx-robot] updated from transifexNextcloud bot2020-05-252-0/+4
| |
* | Merge pull request #20989 from nextcloud/td/js/move_core_files_webpackRoeland Jago Douma2020-05-231-3/+3
|\ \ | | | | | | Move core/js/files to webpack
| * | Move core/js/files to webpackRoeland Jago Douma2020-05-221-3/+3
| | | | | | | | | | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl> Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
* | | Merge pull request #21065 from ↵Roeland Jago Douma2020-05-231-0/+1
|\ \ \ | | | | | | | | | | | | | | | | nextcloud/fix/cleanstatscache_before_fetching_metadata Clear the statscache before fetching the metadata
| * | | Clear the statscache before fetching the metadataRoeland Jago Douma2020-05-221-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>
* | | | [tx-robot] updated from transifexNextcloud bot2020-05-234-2/+6
| |/ / |/| |
* | | Merge pull request #20776 from nextcloud/enh/limit_group_queriesRoeland Jago Douma2020-05-221-6/+20
|\ \ \ | | | | | | | | Improve group queries
| * | | Improve group queriesRoeland Jago Douma2020-05-021-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>
* | | | [tx-robot] updated from transifexNextcloud bot2020-05-224-0/+6
| | | |
* | | | Merge pull request #20814 from nextcloud/group-id-onlyRoeland Jago Douma2020-05-211-21/+30
|\ \ \ \ | | | | | | | | | | dont get the group details if we only ask for the id
| * | | | dont get the group details if we only ask for the idRobin Appelman2020-05-071-21/+30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | currenty when getting the groups for a user, the full group object is always created (and cached) even if only the groupid is required Signed-off-by: Robin Appelman <robin@icewind.nl>
* | | | | Merge pull request #21018 from nextcloud/bug/20498/add-defaults-on-emptyRoeland Jago Douma2020-05-211-1/+1
|\ \ \ \ \ | | | | | | | | | | | | Create account structure also for empty record
| * | | | | Create account structure also for empty recordDaniel Kesselberg2020-05-171-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* | | | | | [tx-robot] updated from transifexNextcloud bot2020-05-214-2/+4
| |_|_|/ / |/| | | |
* | | | | Revert "Compress the appstore requests by default"Morris Jobke2020-05-201-2/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This reverts commit 6ffde128ad17a1ebe38f8d18b21a37d01b47c46b. Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | | | | Allow gzip encoded requests by defaultMorris Jobke2020-05-201-0/+4
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | | | | Merge pull request #21050 from ↵Morris Jobke2020-05-201-5/+4
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | nextcloud/bug/noid/caching-and-gzipping-of-appstore-requests Caching and compression for app store requests
| * | | | | 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
|/ / / / /
* | | | | Merge pull request #21041 from nextcloud/enh/dataresponse_etag_lastmodMorris Jobke2020-05-191-0/+8
|\ \ \ \ \ | | | | | | | | | | | | Copy over the ETag and LastModified when formatting a Dataresponse
| * | | | | 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>
* | | | | | Add a message to the log entry of an app being disabledChristoph Wurst2020-05-191-2/+8
|/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | As an admin, it's always a surprise to see that an app got disabled. On a busy server with many log entries, it's hard to locate the entry that explains why Nextcloud disabled an app. Adding a message will make it more obvious, allowing admins and developers to grep for the string. Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | | | | [tx-robot] updated from transifexNextcloud bot2020-05-192-48/+52
| | | | |
* | | | | Merge pull request #21033 from nextcloud/enh/capabilities_initialstateMorris Jobke2020-05-181-0/+1
|\ \ \ \ \ | | | | | | | | | | | | Provide capabilities via initialstate
| * | | | | Provide capabilities via initialstateRoeland Jago Douma2020-05-181-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | | | | | Merge pull request #21017 from nextcloud/enh/noid/clean-excluded-groups-listMorris Jobke2020-05-181-0/+13
|\ \ \ \ \ \ | |/ / / / / |/| | | | | Remove group from excluded_groups_list after delete
| * | | | | Remove group from excluded_groups_list after deleteDaniel Kesselberg2020-05-171-0/+13
| |/ / / / | | | | | | | | | | | | | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* | | | | [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 #20957 from nextcloud/Valdnet-patch-5Roeland Jago Douma2020-05-151-2/+2
|\ \ \ \ \ | | | | | | | | | | | | l10n: Adding "The" before "Following"