]> source.dussan.org Git - nextcloud-server.git/log
nextcloud-server.git
4 years ago[tx-robot] updated from transifex
Nextcloud bot [Wed, 3 Jun 2020 02:16:18 +0000 (02:16 +0000)]
[tx-robot] updated from transifex

4 years agoMerge pull request #21190 from nextcloud/td/js/linter
Roeland Jago Douma [Tue, 2 Jun 2020 14:02:07 +0000 (16:02 +0200)]
Merge pull request #21190 from nextcloud/td/js/linter

Fix some linter warning

4 years agoFix some linter warning 21190/head
Roeland Jago Douma [Tue, 2 Jun 2020 12:00:55 +0000 (14:00 +0200)]
Fix some linter warning

Part of my ongoing battle against deprecation messages.

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
4 years agoMerge pull request #21164 from nextcloud/dependabot/npm_and_yarn/nextcloud/dialogs...
Roeland Jago Douma [Tue, 2 Jun 2020 11:34:48 +0000 (13:34 +0200)]
Merge pull request #21164 from nextcloud/dependabot/npm_and_yarn/nextcloud/dialogs-1.3.1

Bump @nextcloud/dialogs from 1.3.0 to 1.3.1

4 years ago[tx-robot] updated from transifex
Nextcloud bot [Tue, 2 Jun 2020 02:16:02 +0000 (02:16 +0000)]
[tx-robot] updated from transifex

4 years ago[tx-robot] updated from transifex
Nextcloud bot [Mon, 1 Jun 2020 02:16:00 +0000 (02:16 +0000)]
[tx-robot] updated from transifex

4 years agoBump @nextcloud/dialogs from 1.3.0 to 1.3.1 21164/head
dependabot-preview[bot] [Sun, 31 May 2020 01:17:49 +0000 (01:17 +0000)]
Bump @nextcloud/dialogs from 1.3.0 to 1.3.1

Bumps [@nextcloud/dialogs](https://github.com/nextcloud/nextcloud-dialogs) from 1.3.0 to 1.3.1.
- [Release notes](https://github.com/nextcloud/nextcloud-dialogs/releases)
- [Changelog](https://github.com/nextcloud/nextcloud-dialogs/blob/master/CHANGELOG.md)
- [Commits](https://github.com/nextcloud/nextcloud-dialogs/compare/v1.3.0...v1.3.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
4 years ago[tx-robot] updated from transifex
Nextcloud bot [Sun, 31 May 2020 02:16:19 +0000 (02:16 +0000)]
[tx-robot] updated from transifex

4 years agoMerge pull request #21155 from nextcloud/td/move_to_capabilities_package
Roeland Jago Douma [Sat, 30 May 2020 06:58:19 +0000 (08:58 +0200)]
Merge pull request #21155 from nextcloud/td/move_to_capabilities_package

Move to @nextcloud/capabilities package

4 years ago[tx-robot] updated from transifex
Nextcloud bot [Sat, 30 May 2020 02:16:04 +0000 (02:16 +0000)]
[tx-robot] updated from transifex

4 years agoMerge pull request #21154 from nextcloud/fix/file_info_load_order
Morris Jobke [Fri, 29 May 2020 19:32:15 +0000 (21:32 +0200)]
Merge pull request #21154 from nextcloud/fix/file_info_load_order

Fix the loading order of the js files_info and files_client

4 years agoMerge pull request #21156 from nextcloud/do-not-clone-the-whole-talk-repository-for...
Morris Jobke [Fri, 29 May 2020 19:31:35 +0000 (21:31 +0200)]
Merge pull request #21156 from nextcloud/do-not-clone-the-whole-talk-repository-for-integration-tests

Do not clone the whole Talk repository for integration tests

4 years agoDo not clone the whole Talk repository for integration tests 21156/head
Daniel Calviño Sánchez [Fri, 29 May 2020 15:02:03 +0000 (17:02 +0200)]
Do not clone the whole Talk repository for integration tests

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
4 years agoMerge pull request #21141 from nextcloud/fix/require-ext-pdo-composer
Roeland Jago Douma [Fri, 29 May 2020 14:39:59 +0000 (16:39 +0200)]
Merge pull request #21141 from nextcloud/fix/require-ext-pdo-composer

List ext-pdo as hard requirement for composer

4 years agoMove to @nextcloud/capabilities package 21155/head
Roeland Jago Douma [Fri, 29 May 2020 14:02:30 +0000 (16:02 +0200)]
Move to @nextcloud/capabilities package

And kill of oc_capabilities and _oc_capabilities globals

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
4 years agoFix the loading order of the js files_info and files_client 21154/head
Roeland Jago Douma [Fri, 29 May 2020 13:43:45 +0000 (15:43 +0200)]
Fix the loading order of the js files_info and files_client

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
4 years agoMerge pull request #20970 from nextcloud/td/js/escape-html-global
Roeland Jago Douma [Fri, 29 May 2020 11:36:55 +0000 (13:36 +0200)]
Merge pull request #20970 from nextcloud/td/js/escape-html-global

Remove the escape-html global

4 years agoMerge pull request #21143 from nextcloud/fix-password-changes-in-link-and-mail-shares
Roeland Jago Douma [Fri, 29 May 2020 11:36:09 +0000 (13:36 +0200)]
Merge pull request #21143 from nextcloud/fix-password-changes-in-link-and-mail-shares

Fix password changes in link and mail shares

4 years agoRemove the escape-html global 20970/head
Roeland Jago Douma [Thu, 14 May 2020 09:38:03 +0000 (11:38 +0200)]
Remove the escape-html global

Already announced for 19 that it would go. So now it realy does go.

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
4 years agoMerge pull request #21118 from nextcloud/td/move_systemtags
Roeland Jago Douma [Fri, 29 May 2020 07:14:25 +0000 (09:14 +0200)]
Merge pull request #21118 from nextcloud/td/move_systemtags

Move systemtags to a proper location

4 years agoMerge pull request #21146 from nextcloud/fix-reference-to-wrong-class-name
Roeland Jago Douma [Fri, 29 May 2020 06:46:23 +0000 (08:46 +0200)]
Merge pull request #21146 from nextcloud/fix-reference-to-wrong-class-name

Fix reference to wrong class name

4 years ago[tx-robot] updated from transifex
Nextcloud bot [Fri, 29 May 2020 02:16:30 +0000 (02:16 +0000)]
[tx-robot] updated from transifex

4 years agoAdd integration tests for video verification 21143/head
Daniel Calviño Sánchez [Thu, 28 May 2020 18:53:36 +0000 (20:53 +0200)]
Add integration tests for video verification

Enabling the "send password by Talk" property of shares require that
Talk is installed and enabled, so the Drone step that runs them has to
first clone the Talk repository.

When the integration tests are run on a local development instance,
however, it is not guaranteed that Talk is installed. Due to this the
"@Talk" tag was added, which ensures that any feature or scenario marked
with it will first check if Talk is installed and, if not, skip the
scenario (instead of failing).

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
4 years agoAdd integration tests for creating and updating a mail share
Daniel Calviño Sánchez [Thu, 28 May 2020 18:52:11 +0000 (20:52 +0200)]
Add integration tests for creating and updating a mail share

In most cases, when a mail share is created or updated an e-mail is sent
to the sharee, which is done by connecting to the SMTP server set in the
configuration. If the server can not be contacted then the creation or
update of the mail share fails.

To make possible to test mail shares without using a real SMTP server a
fake one has been added. The original script, which is MIT licensed, was
based on inetd, so it was slightly modified to run on its own.

In order to use it from the integration tests the "Given dummy mail
server is listening" step has to be called in the scenarios in which the
mail server is needed.

For now that is the only available step; things like checking the sent
mails, while possible (as the script can log the mails to certain file),
have not been added yet.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
4 years agoGeneralize integration test steps to download last share
Daniel Calviño Sánchez [Thu, 28 May 2020 18:50:02 +0000 (20:50 +0200)]
Generalize integration test steps to download last share

Note that the "last link share can be downloaded" step was kept as it
tests the "url" property specific of link shares.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
4 years agoRemove unused variables
Daniel Calviño Sánchez [Thu, 28 May 2020 18:46:33 +0000 (20:46 +0200)]
Remove unused variables

The step names were adjusted accordingly.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
4 years agoFix disabling send password by Talk without new password in mail shares
Daniel Calviño Sánchez [Thu, 28 May 2020 18:40:33 +0000 (20:40 +0200)]
Fix disabling send password by Talk without new password in mail shares

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>
4 years agoFix reference to wrong class name 21146/head
Daniel Calviño Sánchez [Thu, 28 May 2020 23:41:06 +0000 (01:41 +0200)]
Fix reference to wrong class name

\OCP\IShare does not exist; the right name is \OCP\Share\IShare,
although it is already imported as IShare.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
4 years agoMerge pull request #21140 from nextcloud/enhancement/oc-get-all-apps-return-type-doc
Morris Jobke [Thu, 28 May 2020 20:37:35 +0000 (22:37 +0200)]
Merge pull request #21140 from nextcloud/enhancement/oc-get-all-apps-return-type-doc

Document \OC_App::getAllApps return type

4 years agoFix enabling send password by Talk with same password in mail shares
Daniel Calviño Sánchez [Thu, 28 May 2020 18:37:18 +0000 (20:37 +0200)]
Fix enabling send password by Talk with same password in mail shares

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>
4 years agoFix enabling send password by Talk with empty password in link shares
Daniel Calviño Sánchez [Thu, 28 May 2020 18:29:28 +0000 (20:29 +0200)]
Fix enabling send password by Talk with empty password in link shares

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>
4 years agoFix creating a mail share with a password
Daniel Calviño Sánchez [Thu, 28 May 2020 18:27:33 +0000 (20:27 +0200)]
Fix creating a mail share with a password

When a mail share was created with a password the given password was not
hashed, so it was not possible to open the share with that password.
Moreover, if passwords were enforced the given password was ignored and
a new one was set (although in this case it was hashed so it worked as
expected). Now the given password is properly hashed and not overriden.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
4 years agoExtend mail shares unit tests to check the password and mail template
Daniel Calviño Sánchez [Thu, 28 May 2020 18:26:00 +0000 (20:26 +0200)]
Extend mail shares unit tests to check the password and mail template

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
4 years agoMove the systemtags to core/src 21118/head
Roeland Jago Douma [Tue, 26 May 2020 19:56:40 +0000 (21:56 +0200)]
Move the systemtags to core/src

* Move to the handlebar loader from webpack

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
4 years agoList ext-pdo as hard requirement for composer 21141/head
Christoph Wurst [Thu, 28 May 2020 18:43:50 +0000 (20:43 +0200)]
List ext-pdo as hard requirement for composer

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
4 years agoDocument \OC_App::getAllApps return type 21140/head
Christoph Wurst [Thu, 28 May 2020 18:37:24 +0000 (20:37 +0200)]
Document \OC_App::getAllApps return type

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
4 years agoMerge pull request #20597 from nextcloud/enh/lazy_node_events 21179/head
Roeland Jago Douma [Thu, 28 May 2020 12:15:59 +0000 (14:15 +0200)]
Merge pull request #20597 from nextcloud/enh/lazy_node_events

Add lazy events for the Node API

4 years agoMerge pull request #21124 from nextcloud/feature/20612/add-capability-for-file-comments
Roeland Jago Douma [Thu, 28 May 2020 12:13:48 +0000 (14:13 +0200)]
Merge pull request #21124 from nextcloud/feature/20612/add-capability-for-file-comments

Add a capability when file comments are enabled

4 years agoAdd a capability when file comments are enabled 21124/head
Joas Schilling [Wed, 27 May 2020 13:14:40 +0000 (15:14 +0200)]
Add a capability when file comments are enabled

Signed-off-by: Joas Schilling <coding@schilljs.com>
4 years agoAdd lazy events for the Node API 20597/head
Roeland Jago Douma [Wed, 22 Apr 2020 13:21:15 +0000 (15:21 +0200)]
Add lazy events for the Node API

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>
4 years ago[tx-robot] updated from transifex
Nextcloud bot [Thu, 28 May 2020 02:16:38 +0000 (02:16 +0000)]
[tx-robot] updated from transifex

4 years agoMerge pull request #21122 from nextcloud/enhancement/auth-token-exception-reporting
Roeland Jago Douma [Wed, 27 May 2020 17:37:22 +0000 (19:37 +0200)]
Merge pull request #21122 from nextcloud/enhancement/auth-token-exception-reporting

Improve traces of invalid token exceptions

4 years agoMerge pull request #21123 from nextcloud/fix/noid/fix-retrieval-of-groups
Roeland Jago Douma [Wed, 27 May 2020 17:36:49 +0000 (19:36 +0200)]
Merge pull request #21123 from nextcloud/fix/noid/fix-retrieval-of-groups

simplify getGroups, fixing wrong chunking logic

4 years agoMerge pull request #21112 from nextcloud/techdebt/noid/remove-db-prefix
Joas Schilling [Wed, 27 May 2020 14:19:38 +0000 (16:19 +0200)]
Merge pull request #21112 from nextcloud/techdebt/noid/remove-db-prefix

Remove db prefix option from cli install command

4 years agoMerge pull request #20976 from nextcloud/fix/make-translation-sanitization-optional
Christoph Wurst [Wed, 27 May 2020 13:47:28 +0000 (15:47 +0200)]
Merge pull request #20976 from nextcloud/fix/make-translation-sanitization-optional

Make the translation sanitization optional

4 years agoFix devices & sessions sanitization 20976/head
Christoph Wurst [Thu, 14 May 2020 13:37:50 +0000 (15:37 +0200)]
Fix devices & sessions sanitization

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
4 years agoMake the translation sanitization optional
Christoph Wurst [Thu, 14 May 2020 13:03:45 +0000 (15:03 +0200)]
Make the translation sanitization optional

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
4 years agosimplify getGroups, fixing wrong chunking logic 21123/head
Arthur Schiwon [Wed, 27 May 2020 12:41:10 +0000 (14:41 +0200)]
simplify getGroups, fixing wrong chunking logic

pagination is taken care of properly in the search logic in Access class

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
4 years agoMerge pull request #21079 from nextcloud/dependabot/npm_and_yarn/moment-2.26.0
Roeland Jago Douma [Wed, 27 May 2020 10:55:50 +0000 (12:55 +0200)]
Merge pull request #21079 from nextcloud/dependabot/npm_and_yarn/moment-2.26.0

Bump moment from 2.25.3 to 2.26.0

4 years agoMerge pull request #21117 from nextcloud/design/text-variables-simplify
Morris Jobke [Wed, 27 May 2020 08:50:43 +0000 (10:50 +0200)]
Merge pull request #21117 from nextcloud/design/text-variables-simplify

Simplify text variables from 4 to 2, map -lighter to -maxcontrast

4 years agoLog why a token is not valid during password check 21122/head
Christoph Wurst [Wed, 27 May 2020 07:58:44 +0000 (09:58 +0200)]
Log why a token is not valid during password check

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
4 years agoImprove traces of invalid token exceptions
Christoph Wurst [Wed, 27 May 2020 07:21:47 +0000 (09:21 +0200)]
Improve traces of invalid token exceptions

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
4 years ago[tx-robot] updated from transifex
Nextcloud bot [Wed, 27 May 2020 02:16:10 +0000 (02:16 +0000)]
[tx-robot] updated from transifex

4 years agoSimplify text variables from 4 to 2, map -lighter to -maxcontrast 21117/head
Jan-Christoph Borchardt [Thu, 7 May 2020 09:46:25 +0000 (11:46 +0200)]
Simplify text variables from 4 to 2, map -lighter to -maxcontrast

Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
4 years agoBump moment from 2.25.3 to 2.26.0 21079/head
dependabot-preview[bot] [Mon, 25 May 2020 18:50:09 +0000 (18:50 +0000)]
Bump moment from 2.25.3 to 2.26.0

Bumps [moment](https://github.com/moment/moment) from 2.25.3 to 2.26.0.
- [Release notes](https://github.com/moment/moment/releases)
- [Changelog](https://github.com/moment/moment/blob/develop/CHANGELOG.md)
- [Commits](https://github.com/moment/moment/compare/2.25.3...2.26.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
4 years agoMerge pull request #21106 from nextcloud/fix/10809/user-pwd-change-loginname
Roeland Jago Douma [Tue, 26 May 2020 19:18:57 +0000 (21:18 +0200)]
Merge pull request #21106 from nextcloud/fix/10809/user-pwd-change-loginname

use the loginname to verify the old password in user password changes

4 years agoRemove the prefix setting attempt from our CI 21112/head
Joas Schilling [Tue, 26 May 2020 14:56:41 +0000 (16:56 +0200)]
Remove the prefix setting attempt from our CI

Signed-off-by: Joas Schilling <coding@schilljs.com>
4 years agouse the loginname to verify the old password in user password changes 21106/head
Arthur Schiwon [Mon, 25 May 2020 21:00:00 +0000 (23:00 +0200)]
use the loginname to verify the old password in user password changes

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
4 years agoRemove db prefix option from cli install command
Joas Schilling [Tue, 26 May 2020 12:10:39 +0000 (14:10 +0200)]
Remove db prefix option from cli install command

Signed-off-by: Joas Schilling <coding@schilljs.com>
4 years agoMerge pull request #21108 from nextcloud/fix/20745/eor-old-php-api
Roeland Jago Douma [Tue, 26 May 2020 09:54:20 +0000 (11:54 +0200)]
Merge pull request #21108 from nextcloud/fix/20745/eor-old-php-api

fixes infinitely repeating LDPA search results with PHP <= 7.2

4 years ago[tx-robot] updated from transifex
Nextcloud bot [Tue, 26 May 2020 02:16:03 +0000 (02:16 +0000)]
[tx-robot] updated from transifex

4 years agofixes infinitely repeating LDPA search results with PHP <= 7.2 21108/head
Arthur Schiwon [Mon, 25 May 2020 22:33:21 +0000 (00:33 +0200)]
fixes infinitely repeating LDPA search results with PHP <= 7.2

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
4 years agoMerge pull request #21092 from nextcloud/enh/noid/recommended-apps
Roeland Jago Douma [Mon, 25 May 2020 18:47:20 +0000 (20:47 +0200)]
Merge pull request #21092 from nextcloud/enh/noid/recommended-apps

Update recommended apps

4 years agoMerge pull request #21090 from nextcloud/bug/noid/do-not-read-cert-from-datadir-by...
Roeland Jago Douma [Mon, 25 May 2020 17:48:00 +0000 (19:48 +0200)]
Merge pull request #21090 from nextcloud/bug/noid/do-not-read-cert-from-datadir-by-default

Do not read certificate bundle from data dir by default

4 years agoMerge pull request #21078 from nextcloud/dependabot/npm_and_yarn/vue-router-3.2.0
Roeland Jago Douma [Mon, 25 May 2020 17:45:53 +0000 (19:45 +0200)]
Merge pull request #21078 from nextcloud/dependabot/npm_and_yarn/vue-router-3.2.0

Bump vue-router from 3.1.6 to 3.2.0

4 years agoBump bundles 21092/head
Julius Härtl [Mon, 25 May 2020 15:13:34 +0000 (17:13 +0200)]
Bump bundles

Signed-off-by: Julius Härtl <jus@bitgrid.net>
4 years agoDo not read certificate bundle from data dir by default 21090/head
Morris Jobke [Mon, 25 May 2020 13:03:52 +0000 (15:03 +0200)]
Do not read certificate bundle from data dir by default

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>
4 years agoUpdate hub bundle and add proxy rule to htaccess
Julius Härtl [Mon, 25 May 2020 14:04:54 +0000 (16:04 +0200)]
Update hub bundle and add proxy rule to htaccess

Signed-off-by: Julius Härtl <jus@bitgrid.net>
4 years agoBump vue-router from 3.1.6 to 3.2.0 21078/head
dependabot-preview[bot] [Sun, 24 May 2020 01:14:29 +0000 (01:14 +0000)]
Bump vue-router from 3.1.6 to 3.2.0

Bumps [vue-router](https://github.com/vuejs/vue-router) from 3.1.6 to 3.2.0.
- [Release notes](https://github.com/vuejs/vue-router/releases)
- [Changelog](https://github.com/vuejs/vue-router/blob/dev/CHANGELOG.md)
- [Commits](https://github.com/vuejs/vue-router/compare/v3.1.6...v3.2.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
4 years agoMerge pull request #20005 from joeried/occ-remove-bruteforce-attempts-by-ip
Morris Jobke [Mon, 25 May 2020 12:04:18 +0000 (14:04 +0200)]
Merge pull request #20005 from joeried/occ-remove-bruteforce-attempts-by-ip

Implement occ command to reset bruteforce attemps from a given IP address

4 years agoFix code style 20005/head
Morris Jobke [Mon, 25 May 2020 12:03:21 +0000 (14:03 +0200)]
Fix code style

Signed-off-by: Morris Jobke <hey@morrisjobke.de>
4 years ago[tx-robot] updated from transifex
Nextcloud bot [Mon, 25 May 2020 02:16:22 +0000 (02:16 +0000)]
[tx-robot] updated from transifex

4 years ago[tx-robot] updated from transifex
Nextcloud bot [Sun, 24 May 2020 02:15:55 +0000 (02:15 +0000)]
[tx-robot] updated from transifex

4 years agoMerge pull request #20989 from nextcloud/td/js/move_core_files_webpack
Roeland Jago Douma [Sat, 23 May 2020 07:47:53 +0000 (09:47 +0200)]
Merge pull request #20989 from nextcloud/td/js/move_core_files_webpack

Move core/js/files to webpack

4 years agoMerge pull request #21065 from nextcloud/fix/cleanstatscache_before_fetching_metadata
Roeland Jago Douma [Sat, 23 May 2020 07:46:27 +0000 (09:46 +0200)]
Merge pull request #21065 from nextcloud/fix/cleanstatscache_before_fetching_metadata

Clear the statscache before fetching the metadata

4 years ago[tx-robot] updated from transifex
Nextcloud bot [Sat, 23 May 2020 02:16:22 +0000 (02:16 +0000)]
[tx-robot] updated from transifex

4 years agoMove core/js/files to webpack 20989/head
Roeland Jago Douma [Fri, 15 May 2020 08:37:08 +0000 (10:37 +0200)]
Move core/js/files to webpack

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
4 years agoMerge pull request #21001 from rubo77/pngs
Roeland Jago Douma [Fri, 22 May 2020 14:37:58 +0000 (16:37 +0200)]
Merge pull request #21001 from rubo77/pngs

compress some images with tinypng.com

4 years agocompress some images with tinypng.com 21001/head
Ruben Barkow-Kuder [Sat, 16 May 2020 17:59:46 +0000 (19:59 +0200)]
compress some images with tinypng.com

Signed-off-by: Ruben Barkow-Kuder <github@r.z11.de>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
4 years agoMerge pull request #20776 from nextcloud/enh/limit_group_queries
Roeland Jago Douma [Fri, 22 May 2020 12:19:28 +0000 (14:19 +0200)]
Merge pull request #20776 from nextcloud/enh/limit_group_queries

Improve group queries

4 years agoClear the statscache before fetching the metadata 21065/head
Roeland Jago Douma [Fri, 22 May 2020 07:21:53 +0000 (09:21 +0200)]
Clear the statscache before fetching the metadata

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>
4 years ago[tx-robot] updated from transifex
Nextcloud bot [Fri, 22 May 2020 02:17:20 +0000 (02:17 +0000)]
[tx-robot] updated from transifex

4 years agoMerge pull request #20814 from nextcloud/group-id-only
Roeland Jago Douma [Thu, 21 May 2020 07:53:45 +0000 (09:53 +0200)]
Merge pull request #20814 from nextcloud/group-id-only

dont get the group details if we only ask for the id

4 years agoMerge pull request #20586 from nextcloud/techdebt/noid/make-image-optimization.sh...
Roeland Jago Douma [Thu, 21 May 2020 07:48:55 +0000 (09:48 +0200)]
Merge pull request #20586 from nextcloud/techdebt/noid/make-image-optimization.sh-better-readable

Improve build/image-optimization.sh

4 years agoMerge pull request #21018 from nextcloud/bug/20498/add-defaults-on-empty
Roeland Jago Douma [Thu, 21 May 2020 07:47:19 +0000 (09:47 +0200)]
Merge pull request #21018 from nextcloud/bug/20498/add-defaults-on-empty

Create account structure also for empty record

4 years ago[tx-robot] updated from transifex
Nextcloud bot [Thu, 21 May 2020 02:17:26 +0000 (02:17 +0000)]
[tx-robot] updated from transifex

4 years agoMerge pull request #21054 from nextcloud/feature/noid/default-gzip-encoding-for-http...
Morris Jobke [Wed, 20 May 2020 13:49:20 +0000 (15:49 +0200)]
Merge pull request #21054 from nextcloud/feature/noid/default-gzip-encoding-for-http-clients

Allow gzip encoded requests by default

4 years agoRevert "Compress the appstore requests by default" 21054/head
Morris Jobke [Wed, 20 May 2020 09:09:46 +0000 (11:09 +0200)]
Revert "Compress the appstore requests by default"

This reverts commit 6ffde128ad17a1ebe38f8d18b21a37d01b47c46b.

Signed-off-by: Morris Jobke <hey@morrisjobke.de>
4 years agoAllow gzip encoded requests by default
Morris Jobke [Wed, 20 May 2020 09:08:27 +0000 (11:08 +0200)]
Allow gzip encoded requests by default

Signed-off-by: Morris Jobke <hey@morrisjobke.de>
4 years agoMerge pull request #21050 from nextcloud/bug/noid/caching-and-gzipping-of-appstore...
Morris Jobke [Wed, 20 May 2020 09:05:34 +0000 (11:05 +0200)]
Merge pull request #21050 from nextcloud/bug/noid/caching-and-gzipping-of-appstore-requests

Caching and compression for app store requests

4 years agoCompress the appstore requests by default 21050/head
Morris Jobke [Tue, 19 May 2020 21:04:51 +0000 (23:04 +0200)]
Compress the appstore requests by default

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>
4 years agoCache appstore requests for 60 instead of 5 minutes
Morris Jobke [Tue, 19 May 2020 21:04:25 +0000 (23:04 +0200)]
Cache appstore requests for 60 instead of 5 minutes

Signed-off-by: Morris Jobke <hey@morrisjobke.de>
4 years ago[tx-robot] updated from transifex
Nextcloud bot [Wed, 20 May 2020 02:16:28 +0000 (02:16 +0000)]
[tx-robot] updated from transifex

4 years agoMerge pull request #21010 from nextcloud/dependabot/npm_and_yarn/marked-1.1.0
Roeland Jago Douma [Tue, 19 May 2020 19:24:24 +0000 (21:24 +0200)]
Merge pull request #21010 from nextcloud/dependabot/npm_and_yarn/marked-1.1.0

Bump marked from 0.8.2 to 1.1.0

4 years agoMerge pull request #21041 from nextcloud/enh/dataresponse_etag_lastmod
Morris Jobke [Tue, 19 May 2020 12:48:27 +0000 (14:48 +0200)]
Merge pull request #21041 from nextcloud/enh/dataresponse_etag_lastmod

Copy over the ETag and LastModified when formatting a Dataresponse

4 years agoMerge pull request #21044 from nextcloud/enhancement/app-disable-log-message
Morris Jobke [Tue, 19 May 2020 12:47:13 +0000 (14:47 +0200)]
Merge pull request #21044 from nextcloud/enhancement/app-disable-log-message

Add a message to the log entry of an app being disabled

4 years agoAdd a message to the log entry of an app being disabled 21044/head
Christoph Wurst [Tue, 19 May 2020 08:48:57 +0000 (10:48 +0200)]
Add a message to the log entry of an app being disabled

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>
4 years agoBump marked from 0.8.2 to 1.1.0 21010/head
dependabot-preview[bot] [Tue, 19 May 2020 08:40:29 +0000 (08:40 +0000)]
Bump marked from 0.8.2 to 1.1.0

Bumps [marked](https://github.com/markedjs/marked) from 0.8.2 to 1.1.0.
- [Release notes](https://github.com/markedjs/marked/releases)
- [Commits](https://github.com/markedjs/marked/compare/v0.8.2...v1.1.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
4 years agoMerge pull request #21006 from nextcloud/dependabot/npm_and_yarn/moment-2.25.3
Roeland Jago Douma [Tue, 19 May 2020 08:37:38 +0000 (10:37 +0200)]
Merge pull request #21006 from nextcloud/dependabot/npm_and_yarn/moment-2.25.3

Bump moment from 2.24.0 to 2.25.3

4 years agoCopy over the ETag and LastModified when formatting a Dataresponse 21041/head
Roeland Jago Douma [Tue, 19 May 2020 07:39:51 +0000 (09:39 +0200)]
Copy over the ETag and LastModified when formatting a Dataresponse

This way the ETag checks etc are all working.

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>