]> source.dussan.org Git - nextcloud-server.git/log
nextcloud-server.git
4 years agoAllow local remotes in integration tests 20138/head
Joas Schilling [Wed, 15 Apr 2020 06:24:18 +0000 (08:24 +0200)]
Allow local remotes in integration tests

Signed-off-by: Joas Schilling <coding@schilljs.com>
4 years agoFix unit tests
Joas Schilling [Tue, 14 Apr 2020 16:55:41 +0000 (18:55 +0200)]
Fix unit tests

Signed-off-by: Joas Schilling <coding@schilljs.com>
4 years agoAlso disallow ; in remote urls
Joas Schilling [Tue, 24 Mar 2020 13:20:15 +0000 (14:20 +0100)]
Also disallow ; in remote urls

Signed-off-by: Joas Schilling <coding@schilljs.com>
4 years agoCheck all remotes for local access
Joas Schilling [Tue, 24 Mar 2020 13:19:57 +0000 (14:19 +0100)]
Check all remotes for local access

Signed-off-by: Joas Schilling <coding@schilljs.com>
4 years agoMerge pull request #20472 from nextcloud/fix/19848/make-sure-destination-is-not-a...
Roeland Jago Douma [Tue, 14 Apr 2020 13:20:46 +0000 (15:20 +0200)]
Merge pull request #20472 from nextcloud/fix/19848/make-sure-destination-is-not-a-directory

Verify that destination is not a directory.

4 years agoMerge pull request #20470 from nextcloud/fix/noid/karma-coverage
John Molakvoæ [Tue, 14 Apr 2020 12:35:57 +0000 (14:35 +0200)]
Merge pull request #20470 from nextcloud/fix/noid/karma-coverage

Fix jsunit tests

4 years agoVerify that destination is not a directory. 20472/head
Daniel Kesselberg [Tue, 14 Apr 2020 09:48:43 +0000 (11:48 +0200)]
Verify that destination is not a directory.

Otherwise file_put_contents will fail later.

Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
4 years agoFix jsunit tests 20470/head
Daniel Kesselberg [Tue, 14 Apr 2020 09:13:02 +0000 (11:13 +0200)]
Fix jsunit tests

JSUnit tests are failing for some reason. It seems to be related to a new karma-coverage version published a few hours ago.

Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
4 years agoMerge pull request #20469 from nextcloud/fix/sidebar/sharing/password-error-message
John Molakvoæ [Tue, 14 Apr 2020 09:25:50 +0000 (11:25 +0200)]
Merge pull request #20469 from nextcloud/fix/sidebar/sharing/password-error-message

Properly display share error messages

4 years agoProperly display share error messages 20469/head
John Molakvoæ (skjnldsv) [Tue, 14 Apr 2020 08:16:18 +0000 (10:16 +0200)]
Properly display share error messages

Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
4 years ago[tx-robot] updated from transifex
Nextcloud bot [Tue, 14 Apr 2020 02:16:50 +0000 (02:16 +0000)]
[tx-robot] updated from transifex

4 years agoMerge pull request #20444 from nextcloud/dependabot/npm_and_yarn/url-loader-4.1.0
Roeland Jago Douma [Mon, 13 Apr 2020 18:16:15 +0000 (20:16 +0200)]
Merge pull request #20444 from nextcloud/dependabot/npm_and_yarn/url-loader-4.1.0

Bump url-loader from 4.0.0 to 4.1.0

4 years agoMerge pull request #19852 from nextcloud/dav/provide-dav-setting-for-default-calendar
John Molakvoæ [Mon, 13 Apr 2020 15:00:04 +0000 (17:00 +0200)]
Merge pull request #19852 from nextcloud/dav/provide-dav-setting-for-default-calendar

Provide dav setting for user's default calendar

4 years agoMerge pull request #20460 from nextcloud/fix-app-not-listed-in-provisioning-integrati...
Roeland Jago Douma [Mon, 13 Apr 2020 14:30:07 +0000 (16:30 +0200)]
Merge pull request #20460 from nextcloud/fix-app-not-listed-in-provisioning-integration-test

Fix app not listed in provisioning integration test

4 years agoBump url-loader from 4.0.0 to 4.1.0 20444/head
dependabot-preview[bot] [Mon, 13 Apr 2020 14:17:27 +0000 (14:17 +0000)]
Bump url-loader from 4.0.0 to 4.1.0

Bumps [url-loader](https://github.com/webpack-contrib/url-loader) from 4.0.0 to 4.1.0.
- [Release notes](https://github.com/webpack-contrib/url-loader/releases)
- [Changelog](https://github.com/webpack-contrib/url-loader/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack-contrib/url-loader/compare/v4.0.0...v4.1.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
4 years agoMerge pull request #20218 from nextcloud/dependabot/npm_and_yarn/marked-0.8.2
Roeland Jago Douma [Mon, 13 Apr 2020 14:14:36 +0000 (16:14 +0200)]
Merge pull request #20218 from nextcloud/dependabot/npm_and_yarn/marked-0.8.2

Bump marked from 0.8.1 to 0.8.2

4 years agoBump marked from 0.8.1 to 0.8.2 20218/head
dependabot-preview[bot] [Mon, 13 Apr 2020 13:51:34 +0000 (13:51 +0000)]
Bump marked from 0.8.1 to 0.8.2

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

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 #20445 from nextcloud/dependabot/npm_and_yarn/nextcloud/paths...
Roeland Jago Douma [Mon, 13 Apr 2020 13:37:19 +0000 (15:37 +0200)]
Merge pull request #20445 from nextcloud/dependabot/npm_and_yarn/nextcloud/paths-1.1.2

Bump @nextcloud/paths from 1.1.1 to 1.1.2

4 years agoFix app not listed in provisioning integration test 20460/head
Daniel Calviño Sánchez [Mon, 13 Apr 2020 13:07:59 +0000 (15:07 +0200)]
Fix app not listed in provisioning integration test

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
4 years agoOnly delete the default calendar setting when the default calendar 19852/head
Thomas Citharel [Sun, 5 Apr 2020 18:57:26 +0000 (20:57 +0200)]
Only delete the default calendar setting when the default calendar
itself is deleted

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
4 years agoProvide dav setting for user's default calendar
Thomas Citharel [Sun, 8 Mar 2020 16:33:27 +0000 (17:33 +0100)]
Provide dav setting for user's default calendar

And add tests to handle schedule-default-calendar-URL

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
4 years agoBump @nextcloud/paths from 1.1.1 to 1.1.2 20445/head
dependabot-preview[bot] [Mon, 13 Apr 2020 12:13:44 +0000 (12:13 +0000)]
Bump @nextcloud/paths from 1.1.1 to 1.1.2

Bumps @nextcloud/paths from 1.1.1 to 1.1.2.

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 #20446 from nextcloud/dependabot/npm_and_yarn/css-loader-3.5.2
Roeland Jago Douma [Mon, 13 Apr 2020 12:11:00 +0000 (14:11 +0200)]
Merge pull request #20446 from nextcloud/dependabot/npm_and_yarn/css-loader-3.5.2

Bump css-loader from 3.4.1 to 3.5.2

4 years agoMerge pull request #20427 from nextcloud/bug/noid/fix-password-reset-activity
Roeland Jago Douma [Mon, 13 Apr 2020 11:15:49 +0000 (13:15 +0200)]
Merge pull request #20427 from nextcloud/bug/noid/fix-password-reset-activity

Fix password reset saying Admin changed my password when reset from login page

4 years agoBump css-loader from 3.4.1 to 3.5.2 20446/head
dependabot-preview[bot] [Sun, 12 Apr 2020 01:20:47 +0000 (01:20 +0000)]
Bump css-loader from 3.4.1 to 3.5.2

Bumps [css-loader](https://github.com/webpack-contrib/css-loader) from 3.4.1 to 3.5.2.
- [Release notes](https://github.com/webpack-contrib/css-loader/releases)
- [Changelog](https://github.com/webpack-contrib/css-loader/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack-contrib/css-loader/compare/v3.4.1...v3.5.2)

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 #20442 from nextcloud/dependabot/npm_and_yarn/build/jsdoc-3.6.4
Roeland Jago Douma [Mon, 13 Apr 2020 11:02:16 +0000 (13:02 +0200)]
Merge pull request #20442 from nextcloud/dependabot/npm_and_yarn/build/jsdoc-3.6.4

Bump jsdoc from 3.6.3 to 3.6.4 in /build

4 years ago[tx-robot] updated from transifex
Nextcloud bot [Mon, 13 Apr 2020 02:19:45 +0000 (02:19 +0000)]
[tx-robot] updated from transifex

4 years agoMerge pull request #20418 from nextcloud/dependabot/npm_and_yarn/sinon-9.0.2
Roeland Jago Douma [Sun, 12 Apr 2020 13:58:24 +0000 (15:58 +0200)]
Merge pull request #20418 from nextcloud/dependabot/npm_and_yarn/sinon-9.0.2

Bump sinon from 9.0.1 to 9.0.2

4 years agoMerge pull request #20421 from nextcloud/fix/20393/recommendend_webauthn_mods
Roeland Jago Douma [Sun, 12 Apr 2020 13:56:10 +0000 (15:56 +0200)]
Merge pull request #20421 from nextcloud/fix/20393/recommendend_webauthn_mods

Show setup check for recommended php modules

4 years agoMerge pull request #20439 from nextcloud/Valdnet-patch-3
John Molakvoæ [Sun, 12 Apr 2020 07:08:52 +0000 (09:08 +0200)]
Merge pull request #20439 from nextcloud/Valdnet-patch-3

Changing the translation catalog for "Share"

4 years ago[tx-robot] updated from transifex
Nextcloud bot [Sun, 12 Apr 2020 03:09:11 +0000 (03:09 +0000)]
[tx-robot] updated from transifex

4 years agoChanging the translation catalog for "Share" 20439/head
Valdnet [Sat, 11 Apr 2020 18:54:39 +0000 (20:54 +0200)]
Changing the translation catalog for "Share"

Change "files" to "files_sharing".

Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
4 years agoBump jsdoc from 3.6.3 to 3.6.4 in /build 20442/head
dependabot-preview[bot] [Sun, 12 Apr 2020 01:13:41 +0000 (01:13 +0000)]
Bump jsdoc from 3.6.3 to 3.6.4 in /build

Bumps [jsdoc](https://github.com/jsdoc/jsdoc) from 3.6.3 to 3.6.4.
- [Release notes](https://github.com/jsdoc/jsdoc/releases)
- [Changelog](https://github.com/jsdoc/jsdoc/blob/3.6.4/CHANGES.md)
- [Commits](https://github.com/jsdoc/jsdoc/compare/3.6.3...3.6.4)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
4 years agoMerge pull request #20035 from nextcloud/bugfix/group-encode
John Molakvoæ [Sat, 11 Apr 2020 07:20:29 +0000 (09:20 +0200)]
Merge pull request #20035 from nextcloud/bugfix/group-encode

Make sure group management works with all types of group names

4 years agoAdd tests for encoded group id 20035/head
Julius Härtl [Thu, 2 Apr 2020 17:37:40 +0000 (19:37 +0200)]
Add tests for encoded group id

Signed-off-by: Julius Härtl <jus@bitgrid.net>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
4 years agoMake sure the group id parameter gets properly encoded when used in URLs
Julius Härtl [Thu, 19 Mar 2020 15:02:26 +0000 (16:02 +0100)]
Make sure the group id parameter gets properly encoded when used in URLs

Signed-off-by: Julius Härtl <jus@bitgrid.net>
4 years agoMake the groupId url encoded
Julius Härtl [Thu, 19 Mar 2020 14:40:04 +0000 (15:40 +0100)]
Make the groupId url encoded

Signed-off-by: Julius Härtl <jus@bitgrid.net>
4 years agoMerge pull request #20185 from azul/open-new_tab
John Molakvoæ [Sat, 11 Apr 2020 06:23:11 +0000 (08:23 +0200)]
Merge pull request #20185 from azul/open-new_tab

Modify do_action so default ctrl-click opens tab

4 years agoMerge pull request #20426 from nextcloud/techdebt/psr2
John Molakvoæ [Sat, 11 Apr 2020 06:21:35 +0000 (08:21 +0200)]
Merge pull request #20426 from nextcloud/techdebt/psr2

It is done

4 years agoMerge pull request #20419 from nextcloud/dependabot/npm_and_yarn/various
John Molakvoæ [Sat, 11 Apr 2020 06:18:14 +0000 (08:18 +0200)]
Merge pull request #20419 from nextcloud/dependabot/npm_and_yarn/various

Bump p-limit from 2.2.2 to 2.3.0, @nextcloud/auth from 1.2.2 to 1.2.3, @babel/preset-env from 7.8.7 to 7.9.5, @nextcloud/event-bus from 1.1.3 to 1.1.4, @nextcloud/password-confirmation from 1.0.0 to 1.0.1, @nextcloud/l10n from 1.2.2 to 1.2.3, @nextcloud/initial-state from 1.1.1 to 1.1.2, core-js from 3.6.4 to 3.6.5 …

4 years ago[tx-robot] updated from transifex
Nextcloud bot [Sat, 11 Apr 2020 02:18:37 +0000 (02:18 +0000)]
[tx-robot] updated from transifex

4 years agoFix password reset saying Admin changed my password when reset from 20427/head
Thomas Citharel [Fri, 10 Apr 2020 16:05:43 +0000 (18:05 +0200)]
Fix password reset saying Admin changed my password when reset from
login page

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
4 years agoBump acceptance tests 20419/head
John Molakvoæ (skjnldsv) [Fri, 10 Apr 2020 15:07:14 +0000 (17:07 +0200)]
Bump acceptance tests

Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
4 years agoBump coding standard lib for PSR2 20426/head
Christoph Wurst [Fri, 10 Apr 2020 15:01:08 +0000 (17:01 +0200)]
Bump coding standard lib for PSR2

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
4 years agoFormat code according to PSR2
Christoph Wurst [Fri, 10 Apr 2020 14:56:50 +0000 (16:56 +0200)]
Format code according to PSR2

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
4 years agoAdd visibility to all constants
Christoph Wurst [Fri, 10 Apr 2020 14:54:27 +0000 (16:54 +0200)]
Add visibility to all constants

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
4 years agoAdd visibility to all methods and position of static keyword
Christoph Wurst [Fri, 10 Apr 2020 14:51:06 +0000 (16:51 +0200)]
Add visibility to all methods and position of static keyword

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
4 years agoAdd visibility to all properties and move static keyword
Christoph Wurst [Fri, 10 Apr 2020 14:48:31 +0000 (16:48 +0200)]
Add visibility to all properties and move static keyword

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
4 years agoMerge pull request #20422 from nextcloud/techdebt/format-control-structs-classes...
Christoph Wurst [Fri, 10 Apr 2020 14:38:23 +0000 (16:38 +0200)]
Merge pull request #20422 from nextcloud/techdebt/format-control-structs-classes-methods

Format control structures, classes, methods and function

4 years agoMerge pull request #19495 from nextcloud/preview-generate-batch
Roeland Jago Douma [Fri, 10 Apr 2020 13:57:06 +0000 (15:57 +0200)]
Merge pull request #19495 from nextcloud/preview-generate-batch

optimize batch generation of previews

4 years agoBump core-js from 1.4.1 to 1.5.0
John Molakvoæ (skjnldsv) [Fri, 10 Apr 2020 10:01:29 +0000 (12:01 +0200)]
Bump core-js from 1.4.1 to 1.5.0

Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
4 years agoFormat control structures, classes, methods and function 20422/head
Christoph Wurst [Fri, 10 Apr 2020 12:19:56 +0000 (14:19 +0200)]
Format control structures, classes, methods and function

To continue this formatting madness, here's a tiny patch that adds
unified formatting for control structures like if and loops as well as
classes, their methods and anonymous functions. This basically forces
the constructs to start on the same line. This is not exactly what PSR2
wants, but I think we can have a few exceptions with "our" style. The
starting of braces on the same line is pracrically standard for our
code.

This also removes and empty lines from method/function bodies at the
beginning and end.

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
4 years agoMerge pull request #20403 from nextcloud/techdebt/utf8-encoding
Christoph Wurst [Fri, 10 Apr 2020 12:05:23 +0000 (14:05 +0200)]
Merge pull request #20403 from nextcloud/techdebt/utf8-encoding

Use utf8 encoding everywhere

4 years agofix preview generation tests 19495/head
Robin Appelman [Thu, 9 Apr 2020 13:59:18 +0000 (15:59 +0200)]
fix preview generation tests

Signed-off-by: Robin Appelman <robin@icewind.nl>
4 years agoMerge pull request #20402 from nextcloud/techdebt/elseif
John Molakvoæ [Fri, 10 Apr 2020 11:28:15 +0000 (13:28 +0200)]
Merge pull request #20402 from nextcloud/techdebt/elseif

Use elseif instead of else if

4 years agoShow setup check for recommended php modules 20421/head
Roeland Jago Douma [Fri, 10 Apr 2020 11:25:12 +0000 (13:25 +0200)]
Show setup check for recommended php modules

Fixes #20393

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
4 years agoBump core-js from 3.6.4 to 3.6.5
dependabot-preview[bot] [Fri, 10 Apr 2020 09:52:10 +0000 (09:52 +0000)]
Bump core-js from 3.6.4 to 3.6.5

Bumps [core-js](https://github.com/zloirock/core-js) from 3.6.4 to 3.6.5.
- [Release notes](https://github.com/zloirock/core-js/releases)
- [Changelog](https://github.com/zloirock/core-js/blob/v3.6.5/CHANGELOG.md)
- [Commits](https://github.com/zloirock/core-js/compare/v3.6.4...v3.6.5)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
4 years agoBump @nextcloud/initial-state from 1.1.1 to 1.1.2
dependabot-preview[bot] [Fri, 10 Apr 2020 09:52:48 +0000 (09:52 +0000)]
Bump @nextcloud/initial-state from 1.1.1 to 1.1.2

Bumps [@nextcloud/initial-state](https://github.com/nextcloud/nextcloud-initial-state) from 1.1.1 to 1.1.2.
- [Release notes](https://github.com/nextcloud/nextcloud-initial-state/releases)
- [Changelog](https://github.com/nextcloud/nextcloud-initial-state/blob/master/CHANGELOG.md)
- [Commits](https://github.com/nextcloud/nextcloud-initial-state/compare/v1.1.1...v1.1.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
4 years agoBump @nextcloud/l10n from 1.2.2 to 1.2.3
dependabot-preview[bot] [Fri, 10 Apr 2020 09:53:30 +0000 (09:53 +0000)]
Bump @nextcloud/l10n from 1.2.2 to 1.2.3

Bumps [@nextcloud/l10n](https://github.com/nextcloud/nextcloud-l10n) from 1.2.2 to 1.2.3.
- [Release notes](https://github.com/nextcloud/nextcloud-l10n/releases)
- [Changelog](https://github.com/nextcloud/nextcloud-l10n/blob/master/CHANGELOG.md)
- [Commits](https://github.com/nextcloud/nextcloud-l10n/compare/v1.2.2...v1.2.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
4 years agoBump sinon from 9.0.1 to 9.0.2 20418/head
dependabot-preview[bot] [Fri, 10 Apr 2020 09:54:11 +0000 (09:54 +0000)]
Bump sinon from 9.0.1 to 9.0.2

Bumps [sinon](https://github.com/sinonjs/sinon) from 9.0.1 to 9.0.2.
- [Release notes](https://github.com/sinonjs/sinon/releases)
- [Changelog](https://github.com/sinonjs/sinon/blob/master/CHANGELOG.md)
- [Commits](https://github.com/sinonjs/sinon/commits)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
4 years agoBump @nextcloud/password-confirmation from 1.0.0 to 1.0.1
dependabot-preview[bot] [Fri, 10 Apr 2020 09:51:29 +0000 (09:51 +0000)]
Bump @nextcloud/password-confirmation from 1.0.0 to 1.0.1

Bumps [@nextcloud/password-confirmation](https://github.com/nextcloud/nextcloud-password-confirmation) from 1.0.0 to 1.0.1.
- [Release notes](https://github.com/nextcloud/nextcloud-password-confirmation/releases)
- [Changelog](https://github.com/nextcloud/nextcloud-password-confirmation/blob/master/CHANGELOG.md)
- [Commits](https://github.com/nextcloud/nextcloud-password-confirmation/compare/v1.0.0...v1.0.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
4 years agoBump @nextcloud/event-bus from 1.1.3 to 1.1.4
dependabot-preview[bot] [Fri, 10 Apr 2020 09:50:29 +0000 (09:50 +0000)]
Bump @nextcloud/event-bus from 1.1.3 to 1.1.4

Bumps [@nextcloud/event-bus](https://github.com/nextcloud/nextcloud-event-bus) from 1.1.3 to 1.1.4.
- [Release notes](https://github.com/nextcloud/nextcloud-event-bus/releases)
- [Changelog](https://github.com/nextcloud/nextcloud-event-bus/blob/master/CHANGELOG.md)
- [Commits](https://github.com/nextcloud/nextcloud-event-bus/compare/v1.1.3...v1.1.4)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
4 years agoBump @babel/preset-env from 7.8.7 to 7.9.5
dependabot-preview[bot] [Fri, 10 Apr 2020 09:49:10 +0000 (09:49 +0000)]
Bump @babel/preset-env from 7.8.7 to 7.9.5

Bumps [@babel/preset-env](https://github.com/babel/babel) from 7.8.7 to 7.9.5.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/master/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/compare/v7.8.7...v7.9.5)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
4 years agoBump @nextcloud/auth from 1.2.2 to 1.2.3
dependabot-preview[bot] [Fri, 10 Apr 2020 09:49:48 +0000 (09:49 +0000)]
Bump @nextcloud/auth from 1.2.2 to 1.2.3

Bumps [@nextcloud/auth](https://github.com/nextcloud/nextcloud-auth) from 1.2.2 to 1.2.3.
- [Release notes](https://github.com/nextcloud/nextcloud-auth/releases)
- [Changelog](https://github.com/nextcloud/nextcloud-auth/blob/master/CHANGELOG.md)
- [Commits](https://github.com/nextcloud/nextcloud-auth/compare/v1.2.2...v1.2.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
4 years agoBump p-limit from 2.2.2 to 2.3.0
dependabot-preview[bot] [Fri, 10 Apr 2020 09:48:13 +0000 (09:48 +0000)]
Bump p-limit from 2.2.2 to 2.3.0

Bumps [p-limit](https://github.com/sindresorhus/p-limit) from 2.2.2 to 2.3.0.
- [Release notes](https://github.com/sindresorhus/p-limit/releases)
- [Commits](https://github.com/sindresorhus/p-limit/compare/v2.2.2...v2.3.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
4 years agoUse utf8 encoding everywhere 20403/head
Christoph Wurst [Fri, 10 Apr 2020 08:43:54 +0000 (10:43 +0200)]
Use utf8 encoding everywhere

PSR2 likes that and so do I

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
4 years agoUse elseif instead of else if 20402/head
Christoph Wurst [Fri, 10 Apr 2020 08:35:09 +0000 (10:35 +0200)]
Use elseif instead of else if

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
4 years agoMerge pull request #20256 from nextcloud/dependabot/composer/nikic/php-parser-4.3.0
Roeland Jago Douma [Fri, 10 Apr 2020 07:11:32 +0000 (09:11 +0200)]
Merge pull request #20256 from nextcloud/dependabot/composer/nikic/php-parser-4.3.0

Bump nikic/php-parser from 4.2.1 to 4.3.0

4 years agoMerge pull request #20281 from nextcloud/bugfix/noid/use-primary-element-color
Roeland Jago Douma [Fri, 10 Apr 2020 06:53:48 +0000 (08:53 +0200)]
Merge pull request #20281 from nextcloud/bugfix/noid/use-primary-element-color

Use the primary element color in case it primary color is too bright

4 years agoUse the primary element color in case it primary color is too bright 20281/head
Joas Schilling [Fri, 3 Apr 2020 08:23:14 +0000 (10:23 +0200)]
Use the primary element color in case it primary color is too bright

Signed-off-by: Joas Schilling <coding@schilljs.com>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
4 years agoMerge pull request #20313 from nextcloud/dependabot/npm_and_yarn/underscore-1.10.2
Roeland Jago Douma [Fri, 10 Apr 2020 06:35:43 +0000 (08:35 +0200)]
Merge pull request #20313 from nextcloud/dependabot/npm_and_yarn/underscore-1.10.2

Bump underscore from 1.9.2 to 1.10.2

4 years agoMerge pull request #20385 from nextcloud/skeeable-http-harden
Roeland Jago Douma [Fri, 10 Apr 2020 06:34:52 +0000 (08:34 +0200)]
Merge pull request #20385 from nextcloud/skeeable-http-harden

harden seekable http stream a bit against failures

4 years agoMerge pull request #20390 from nextcloud/refactor/no-closing-tag
Roeland Jago Douma [Fri, 10 Apr 2020 06:34:18 +0000 (08:34 +0200)]
Merge pull request #20390 from nextcloud/refactor/no-closing-tag

Do not use closing tags

4 years ago[tx-robot] updated from transifex
Nextcloud bot [Fri, 10 Apr 2020 02:18:23 +0000 (02:18 +0000)]
[tx-robot] updated from transifex

4 years agoMerge pull request #20391 from nextcloud/refactor/spaces-cleanup
Christoph Wurst [Thu, 9 Apr 2020 18:39:37 +0000 (20:39 +0200)]
Merge pull request #20391 from nextcloud/refactor/spaces-cleanup

Remove all extra whitespace PSR2 does not like

4 years agoAllow opening files for editing in new tabs 20185/head
Azul [Mon, 6 Apr 2020 08:54:07 +0000 (10:54 +0200)]
Allow opening files for editing in new tabs

In a file list files with a default action
have an href that will trigger the action.
This way ctrl-click and middle button click open the default action in a new tab.

In order to achieve this a new param `openfile` was introduced to the files app.
It will make the files app trigger the default action for the file in question.
This also allows linking to file content rather than just the details display.

Introduce fileList.getDefaultActionUrl()
to create a link with that param set.
It's overwritten in the trashbin fileList
so that anchors continue to have `#` as a href.

Fix the link generation for subfolders of public shares:
58a87d0 was the last commit that touched the linkTo function in public.js.
It included the params as arguments to the generateUrl function.
Turns out this completely ignores the dir parameter now.
The inclusion was reverted in other places
so revert it here as well.
Also change `dir` to `path` in the param as that is respected
when following the link.

Add Test for the new link url for files with default action.
Remove test for multiple selects with ctrl-click
as that is not what we are doing anymore.

Signed-off-by: Azul <azul@riseup.net>
4 years agoMerge pull request #20384 from nextcloud/techdebt/lowercase-keywords
Christoph Wurst [Thu, 9 Apr 2020 14:25:14 +0000 (16:25 +0200)]
Merge pull request #20384 from nextcloud/techdebt/lowercase-keywords

Use php keywords in lowercase

4 years agoRemove space between switch case and colon 20391/head
Christoph Wurst [Thu, 9 Apr 2020 14:17:53 +0000 (16:17 +0200)]
Remove space between switch case and colon

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
4 years agoMake sure there is exactly one newline after imports
Christoph Wurst [Thu, 9 Apr 2020 14:14:31 +0000 (16:14 +0200)]
Make sure there is exactly one newline after imports

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
4 years agoMake sure every file ends with an empty newline
Christoph Wurst [Thu, 9 Apr 2020 14:11:50 +0000 (16:11 +0200)]
Make sure every file ends with an empty newline

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
4 years agoRemove trailing whitespaces from comments
Christoph Wurst [Thu, 9 Apr 2020 14:09:23 +0000 (16:09 +0200)]
Remove trailing whitespaces from comments

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
4 years agoRemove trailing and in between spaces
Christoph Wurst [Thu, 9 Apr 2020 14:07:47 +0000 (16:07 +0200)]
Remove trailing and in between spaces

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
4 years agoRemove spaces after method or function call
Christoph Wurst [Thu, 9 Apr 2020 14:05:56 +0000 (16:05 +0200)]
Remove spaces after method or function call

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
4 years agoDo not use closing tags 20390/head
Christoph Wurst [Thu, 9 Apr 2020 14:01:17 +0000 (16:01 +0200)]
Do not use closing tags

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
4 years agoMerge pull request #20383 from nextcloud/techdebt/function-spacing
Christoph Wurst [Thu, 9 Apr 2020 13:53:09 +0000 (15:53 +0200)]
Merge pull request #20383 from nextcloud/techdebt/function-spacing

Unify function spacing to PSR2 recommendation

4 years agoMerge pull request #20376 from nextcloud/fix/tags-ellipsis
John Molakvoæ [Thu, 9 Apr 2020 13:18:16 +0000 (15:18 +0200)]
Merge pull request #20376 from nextcloud/fix/tags-ellipsis

Fix systemtags overflow

4 years agoharden seekable http stream a bit against failures 20385/head
Robin Appelman [Thu, 9 Apr 2020 12:37:01 +0000 (14:37 +0200)]
harden seekable http stream a bit against failures

Signed-off-by: Robin Appelman <robin@icewind.nl>
4 years agoUse php keywords in lowercase 20384/head
Christoph Wurst [Thu, 9 Apr 2020 12:04:56 +0000 (14:04 +0200)]
Use php keywords in lowercase

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
4 years agoUnify function spacing to PSR2 recommendation 20383/head
Christoph Wurst [Thu, 9 Apr 2020 11:53:40 +0000 (13:53 +0200)]
Unify function spacing to PSR2 recommendation

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
4 years agoMerge pull request #20355 from nextcloud/fix/comments/clear-input/19585
John Molakvoæ [Thu, 9 Apr 2020 11:46:20 +0000 (13:46 +0200)]
Merge pull request #20355 from nextcloud/fix/comments/clear-input/19585

Clear comment on successful post

4 years agoMerge pull request #20379 from nextcloud/techdebt/blank-lines
Christoph Wurst [Thu, 9 Apr 2020 11:44:39 +0000 (13:44 +0200)]
Merge pull request #20379 from nextcloud/techdebt/blank-lines

Use one blank line after the opening tag and namespace declaration

4 years agooptimize batch generation of previews
Robin Appelman [Sun, 16 Feb 2020 01:34:09 +0000 (02:34 +0100)]
optimize batch generation of previews

by allowing the generation of multiple previews at once we save on having to find, open and decode the max-preview for every preview of the same file

the main use case for this is the preview generator app (pr for that comming next)

in my local testing this saves about 25% of time when using the preview generator app

Signed-off-by: Robin Appelman <robin@icewind.nl>
4 years agoallow generating multiple preview sizes for a single file at once
Robin Appelman [Sun, 16 Feb 2020 00:45:47 +0000 (01:45 +0100)]
allow generating multiple preview sizes for a single file at once

this saves having to do some of the overhead multiple times

Signed-off-by: Robin Appelman <robin@icewind.nl>
4 years agoUse a blank line after the opening tag 20379/head
Christoph Wurst [Thu, 9 Apr 2020 09:50:14 +0000 (11:50 +0200)]
Use a blank line after the opening tag

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
4 years agoUse exactly one empty line after the namespace declaration
Christoph Wurst [Thu, 9 Apr 2020 09:48:10 +0000 (11:48 +0200)]
Use exactly one empty line after the namespace declaration

For PSR2

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
4 years agoMerge pull request #20375 from nextcloud/techdebt/fix-array-indent-style
Christoph Wurst [Thu, 9 Apr 2020 09:25:38 +0000 (11:25 +0200)]
Merge pull request #20375 from nextcloud/techdebt/fix-array-indent-style

Fix (array) indent style to always use one tab

4 years agoMerge pull request #20303 from nextcloud/version/19/beta2 v19.0.0beta2
Roeland Jago Douma [Thu, 9 Apr 2020 08:24:28 +0000 (10:24 +0200)]
Merge pull request #20303 from nextcloud/version/19/beta2

19 beta 2

4 years agoFix systemtags overflow 20376/head
John Molakvoæ (skjnldsv) [Thu, 9 Apr 2020 07:43:17 +0000 (09:43 +0200)]
Fix systemtags overflow

Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
4 years agoFix (array) indent style to always use one tab 20375/head
Christoph Wurst [Thu, 9 Apr 2020 07:22:29 +0000 (09:22 +0200)]
Fix (array) indent style to always use one tab

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
4 years agoMerge pull request #20368 from nextcloud/refactor/psr1
Christoph Wurst [Thu, 9 Apr 2020 06:41:06 +0000 (08:41 +0200)]
Merge pull request #20368 from nextcloud/refactor/psr1

Migrate to PSR1 coding style