]> source.dussan.org Git - nextcloud-server.git/log
nextcloud-server.git
3 years agoBump core-js from 3.18.3 to 3.19.0 29490/head
dependabot[bot] [Sat, 30 Oct 2021 16:37:27 +0000 (16:37 +0000)]
Bump core-js from 3.18.3 to 3.19.0

Bumps [core-js](https://github.com/zloirock/core-js) from 3.18.3 to 3.19.0.
- [Release notes](https://github.com/zloirock/core-js/releases)
- [Changelog](https://github.com/zloirock/core-js/blob/master/CHANGELOG.md)
- [Commits](https://github.com/zloirock/core-js/compare/v3.18.3...v3.19.0)

---
updated-dependencies:
- dependency-name: core-js
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
3 years agoMerge pull request #29489 from nextcloud/dependabot/npm_and_yarn/vue-router-3.5.3
dependabot[bot] [Sat, 30 Oct 2021 16:15:53 +0000 (16:15 +0000)]
Merge pull request #29489 from nextcloud/dependabot/npm_and_yarn/vue-router-3.5.3

3 years agoBump vue-router from 3.5.2 to 3.5.3 29489/head
dependabot[bot] [Sat, 30 Oct 2021 02:07:36 +0000 (02:07 +0000)]
Bump vue-router from 3.5.2 to 3.5.3

Bumps [vue-router](https://github.com/vuejs/vue-router) from 3.5.2 to 3.5.3.
- [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.5.2...v3.5.3)

---
updated-dependencies:
- dependency-name: vue-router
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
3 years agoMerge pull request #29487 from nextcloud/dependabot/npm_and_yarn/sass-1.43.4
dependabot[bot] [Sat, 30 Oct 2021 14:46:01 +0000 (14:46 +0000)]
Merge pull request #29487 from nextcloud/dependabot/npm_and_yarn/sass-1.43.4

3 years agoBump sass from 1.43.3 to 1.43.4 29487/head
dependabot[bot] [Sat, 30 Oct 2021 14:07:16 +0000 (14:07 +0000)]
Bump sass from 1.43.3 to 1.43.4

Bumps [sass](https://github.com/sass/dart-sass) from 1.43.3 to 1.43.4.
- [Release notes](https://github.com/sass/dart-sass/releases)
- [Changelog](https://github.com/sass/dart-sass/blob/main/CHANGELOG.md)
- [Commits](https://github.com/sass/dart-sass/compare/1.43.3...1.43.4)

---
updated-dependencies:
- dependency-name: sass
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
3 years ago[tx-robot] updated from transifex
Nextcloud bot [Sat, 30 Oct 2021 02:22:16 +0000 (02:22 +0000)]
[tx-robot] updated from transifex

Signed-off-by: Nextcloud bot <bot@nextcloud.com>
3 years ago[tx-robot] updated from transifex
Nextcloud bot [Fri, 29 Oct 2021 02:22:24 +0000 (02:22 +0000)]
[tx-robot] updated from transifex

Signed-off-by: Nextcloud bot <bot@nextcloud.com>
3 years agoMerge pull request #29481 from nextcloud/fix/dav-calendar-query-start-end-immutable
Christoph Wurst [Thu, 28 Oct 2021 20:15:13 +0000 (22:15 +0200)]
Merge pull request #29481 from nextcloud/fix/dav-calendar-query-start-end-immutable

Fix immutable datetime handling in DAV calendar search

3 years agoMerge pull request #29480 from nextcloud/fix/missing-dav-calendar-provider
Christoph Wurst [Thu, 28 Oct 2021 19:04:45 +0000 (21:04 +0200)]
Merge pull request #29480 from nextcloud/fix/missing-dav-calendar-provider

Register missing DAV app calendar provider

3 years agoFix immutable datetime handling in DAV calendar search 29481/head
Christoph Wurst [Thu, 28 Oct 2021 16:37:20 +0000 (18:37 +0200)]
Fix immutable datetime handling in DAV calendar search

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
3 years agoMerge pull request #29431 from nextcloud/release/23.0.0beta2 v23.0.0beta2
John Molakvoæ [Thu, 28 Oct 2021 16:46:52 +0000 (18:46 +0200)]
Merge pull request #29431 from nextcloud/release/23.0.0beta2

3 years agoRegister missing DAV app calendar provider 29480/head
Christoph Wurst [Thu, 28 Oct 2021 16:33:13 +0000 (18:33 +0200)]
Register missing DAV app calendar provider

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
3 years agoMerge pull request #29115 from nextcloud/work/carl/correct-permissions-when-copying
Carl Schwan [Thu, 28 Oct 2021 12:38:20 +0000 (14:38 +0200)]
Merge pull request #29115 from nextcloud/work/carl/correct-permissions-when-copying

Fix permissions when copying from ObjectStorage

3 years agoFix permissions when copying from ObjectStorage 29115/head
Carl Schwan [Thu, 7 Oct 2021 09:50:33 +0000 (11:50 +0200)]
Fix permissions when copying from ObjectStorage

Make sure that when a user copy a file from a directory they don't have
all permissions to a directory where they have more permissions, the
permissions are correctly set to the one from the parent taget folder.

This was caused by the ObjectStoreStorage::copyFromStorage using
the jailed storage and cache entry instead of the unjailed one like other
storages (the local one).
Steps to reproduce

+ Use object storage
+ Create a groupfolder with one group having full permission and another one
  who can just read files.
+ With an user who is in the second group, copy a file from the groupfolder to
  the home folder of this user.
+ The file in the home folder of the user will be read only and can't be deleted
  even though it is in their home folder and they are the owner. In oc_filecache,
  the permissions stored for this file are 1 (READ)

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
3 years agoMerge pull request #29444 from nextcloud/bugfix/noid/public-api-for-trusted-domain...
Joas Schilling [Thu, 28 Oct 2021 09:45:03 +0000 (11:45 +0200)]
Merge pull request #29444 from nextcloud/bugfix/noid/public-api-for-trusted-domain-helpers

Add an OCP for trusted domain helper

3 years agoAdd an OCP for trusted domain helper 29444/head
Joas Schilling [Tue, 26 Oct 2021 11:26:46 +0000 (13:26 +0200)]
Add an OCP for trusted domain helper

Signed-off-by: Joas Schilling <coding@schilljs.com>
3 years ago[tx-robot] updated from transifex
Nextcloud bot [Thu, 28 Oct 2021 02:22:54 +0000 (02:22 +0000)]
[tx-robot] updated from transifex

Signed-off-by: Nextcloud bot <bot@nextcloud.com>
3 years agoMerge pull request #29454 from nextcloud/bugfix/noid/detect-mimetype-by-content-only...
blizzz [Wed, 27 Oct 2021 12:26:31 +0000 (14:26 +0200)]
Merge pull request #29454 from nextcloud/bugfix/noid/detect-mimetype-by-content-only-with-content

Detect mimetype by content only with content

3 years agoMerge pull request #29453 from nextcloud/bugfix/noid/improve-wording
John Molakvoæ [Wed, 27 Oct 2021 08:48:21 +0000 (10:48 +0200)]
Merge pull request #29453 from nextcloud/bugfix/noid/improve-wording

3 years agoDetect mimetype by content only with content 29454/head
Joas Schilling [Wed, 27 Oct 2021 08:45:03 +0000 (10:45 +0200)]
Detect mimetype by content only with content

Signed-off-by: Joas Schilling <coding@schilljs.com>
3 years agoMerge pull request #29327 from nextcloud/bugfix/noid/do-not-make-actionbuttons-spans...
John Molakvoæ [Wed, 27 Oct 2021 08:17:11 +0000 (10:17 +0200)]
Merge pull request #29327 from nextcloud/bugfix/noid/do-not-make-actionbuttons-spans-too-transparent

3 years agoImprove wording 29453/head
Joas Schilling [Wed, 27 Oct 2021 08:12:30 +0000 (10:12 +0200)]
Improve wording

Signed-off-by: Joas Schilling <coding@schilljs.com>
3 years ago[tx-robot] updated from transifex
Nextcloud bot [Wed, 27 Oct 2021 02:23:37 +0000 (02:23 +0000)]
[tx-robot] updated from transifex

Signed-off-by: Nextcloud bot <bot@nextcloud.com>
3 years agoMerge pull request #29436 from nextcloud/fix/profile-link-action-registration
John Molakvoæ [Tue, 26 Oct 2021 10:38:23 +0000 (12:38 +0200)]
Merge pull request #29436 from nextcloud/fix/profile-link-action-registration

3 years agoPrevent unnecesary profile action registrations 29436/head
Christopher Ng [Mon, 25 Oct 2021 21:55:29 +0000 (21:55 +0000)]
Prevent unnecesary profile action registrations

Signed-off-by: Christopher Ng <chrng8@gmail.com>
3 years agoMerge pull request #29435 from nextcloud/explicitly-name-profile-link-action
John Molakvoæ [Tue, 26 Oct 2021 08:51:11 +0000 (10:51 +0200)]
Merge pull request #29435 from nextcloud/explicitly-name-profile-link-action

3 years agoMerge pull request #26841 from nextcloud/bugfix/files-search-filter
Vincent Petry [Tue, 26 Oct 2021 06:23:51 +0000 (08:23 +0200)]
Merge pull request #26841 from nextcloud/bugfix/files-search-filter

Implement local filtering in file list

3 years ago[tx-robot] updated from transifex
Nextcloud bot [Tue, 26 Oct 2021 02:22:53 +0000 (02:22 +0000)]
[tx-robot] updated from transifex

Signed-off-by: Nextcloud bot <bot@nextcloud.com>
3 years agoUse more explicit naming for profile link action 29435/head
Christopher Ng [Mon, 25 Oct 2021 22:20:19 +0000 (22:20 +0000)]
Use more explicit naming for profile link action

Signed-off-by: Christopher Ng <chrng8@gmail.com>
3 years agoMerge pull request #29318 from nextcloud/fix/dav-availability-settings-timezone-id
Christoph Wurst [Mon, 25 Oct 2021 14:57:16 +0000 (16:57 +0200)]
Merge pull request #29318 from nextcloud/fix/dav-availability-settings-timezone-id

Read and write time zone ID when updating CalDAV availability

3 years agoMove to combined files entrypoint 26841/head
Julius Härtl [Wed, 20 Oct 2021 14:39:16 +0000 (16:39 +0200)]
Move to combined files entrypoint

Signed-off-by: Julius Härtl <jus@bitgrid.net>
3 years agoFix "No entries in this …" template
Joas Schilling [Fri, 30 Apr 2021 09:52:47 +0000 (11:52 +0200)]
Fix "No entries in this …" template

Signed-off-by: Joas Schilling <coding@schilljs.com>
3 years agoImplement local filtering in file list
Julius Härtl [Thu, 29 Apr 2021 10:09:06 +0000 (12:09 +0200)]
Implement local filtering in file list

Signed-off-by: Julius Härtl <jus@bitgrid.net>
3 years agoGet VTIMEZONE data from a time zone database lib 29318/head
Christoph Wurst [Tue, 19 Oct 2021 11:47:02 +0000 (13:47 +0200)]
Get VTIMEZONE data from a time zone database lib

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
3 years ago23.0.0 beta 2 29431/head
John Molakvoæ [Mon, 25 Oct 2021 13:54:57 +0000 (15:54 +0200)]
23.0.0 beta 2

Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
3 years agoMerge pull request #29021 from nextcloud/work/smb/additional-logging
Julius Härtl [Mon, 25 Oct 2021 11:25:04 +0000 (13:25 +0200)]
Merge pull request #29021 from nextcloud/work/smb/additional-logging

3 years agoMerge pull request #27949 from CarlSchwan/work/carl/password-reset-autocomplete
Louis [Mon, 25 Oct 2021 10:24:31 +0000 (12:24 +0200)]
Merge pull request #27949 from CarlSchwan/work/carl/password-reset-autocomplete

Add autocompletion for password reset

3 years agoRead and write time zone ID when updating CalDAV availability
Christoph Wurst [Tue, 19 Oct 2021 09:53:43 +0000 (11:53 +0200)]
Read and write time zone ID when updating CalDAV availability

Tiny bug/limitation of #27466

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
3 years agoMerge pull request #29425 from nextcloud/revert-28138-zorn-v-patch-2
John Molakvoæ [Mon, 25 Oct 2021 07:25:03 +0000 (09:25 +0200)]
Merge pull request #29425 from nextcloud/revert-28138-zorn-v-patch-2

3 years agoMerge pull request #26531 from J0WI/refactor-preview-exec
John Molakvoæ [Mon, 25 Oct 2021 07:23:01 +0000 (09:23 +0200)]
Merge pull request #26531 from J0WI/refactor-preview-exec

3 years agoRevert "Fix "never catch" catches in OC_App" 29425/head
Joas Schilling [Mon, 25 Oct 2021 06:41:56 +0000 (08:41 +0200)]
Revert "Fix "never catch" catches in OC_App"

3 years ago[tx-robot] updated from transifex
Nextcloud bot [Mon, 25 Oct 2021 02:22:23 +0000 (02:22 +0000)]
[tx-robot] updated from transifex

Signed-off-by: Nextcloud bot <bot@nextcloud.com>
3 years ago[tx-robot] updated from transifex
Nextcloud bot [Sun, 24 Oct 2021 02:22:24 +0000 (02:22 +0000)]
[tx-robot] updated from transifex

Signed-off-by: Nextcloud bot <bot@nextcloud.com>
3 years agoUse findBinaryPath for previews 26531/head
J0WI [Mon, 12 Apr 2021 23:17:28 +0000 (01:17 +0200)]
Use findBinaryPath for previews

Signed-off-by: J0WI <J0WI@users.noreply.github.com>
3 years agoMerge pull request #28389 from alanmeeson/bugfix/22077/default-encryption-module
John Molakvoæ [Sat, 23 Oct 2021 17:10:34 +0000 (19:10 +0200)]
Merge pull request #28389 from alanmeeson/bugfix/22077/default-encryption-module

3 years agoAdd type hint to fread_block $blockSize param & apply cs:fix. 28389/head
alanmeeson [Mon, 30 Aug 2021 12:31:54 +0000 (13:31 +0100)]
Add type hint to fread_block $blockSize param & apply cs:fix.

Signed-off-by: alanmeeson <alan@carefullycalculated.co.uk>
3 years agoFix truncation of files upon read when using object store and encryption.
Alan Meeson [Wed, 11 Aug 2021 18:34:23 +0000 (19:34 +0100)]
Fix truncation of files upon read when using object store and encryption.

When using and object store as primary storage and using the default
encryption module at the same time,  any encrypted file would be truncated
when read, and a text error message added to the end.

This was caused by a combination of the reliance of the read functions on
on knowing the unencrypted file size,  and a bug in the function which
calculated the unencrypted file size for a given file.

In order to calculate the unencrypted file size,  the function would first
skip the header block, then use fseek to skip to the last encrypted block
in the file.  Because there was a corresponence between the encrypted and
unencrypted blocks, this would also be the last encrypted block.  It would
then read the final block and decrypt it to get the unencrypted length of
the last block.  With that, the number of blocks, and the unencrypted block
size, it could calculate the unencrypted file size.

The trouble was that when using an object store, an fread call doesn't
always get you the number of bytes you asked for, even if they are
available.  To resolve this I adapted the stream_read_block function from
lib/private/Files/Streams/Encryption.php to work here.  This function
wraps the fread call in a loop and repeats until it has the entire set of
bytes that were requested,  or there are no more to get.

This fixes the imediate bug, and should (with luck) allow people to get
their encrypted files out of Nextcloud now.  (The problem was purely on
the decryption side).  In the future it would be nice to do some
refactoring here.

I have tested this with image files ranging from 1kb to 10mb using
Nextcloud version 22.1.0 (the nextcloud:22.1-apache docker image), with
sqlite and a Linode object store as the primary storage.

Signed-off-by: Alan Meeson <alan@carefullycalculated.co.uk>
3 years agoMerge pull request #29400 from nextcloud/fix/noid/undef-index-error
Julius Härtl [Sat, 23 Oct 2021 12:46:36 +0000 (14:46 +0200)]
Merge pull request #29400 from nextcloud/fix/noid/undef-index-error

fixes an undefined index when getAccessList returns an empty array

3 years agoMerge pull request #27440 from nextcloud/is-file-handle
John Molakvoæ [Sat, 23 Oct 2021 09:18:52 +0000 (11:18 +0200)]
Merge pull request #27440 from nextcloud/is-file-handle

3 years agoMerge pull request #28138 from nextcloud/zorn-v-patch-2
John Molakvoæ [Sat, 23 Oct 2021 09:18:07 +0000 (11:18 +0200)]
Merge pull request #28138 from nextcloud/zorn-v-patch-2

3 years agoMerge pull request #29363 from nextcloud/fair-use-push
John Molakvoæ [Sat, 23 Oct 2021 08:53:22 +0000 (10:53 +0200)]
Merge pull request #29363 from nextcloud/fair-use-push

3 years agoMerge pull request #29397 from nextcloud/fix/noid/profile-missing-def-values
John Molakvoæ [Sat, 23 Oct 2021 08:52:44 +0000 (10:52 +0200)]
Merge pull request #29397 from nextcloud/fix/noid/profile-missing-def-values

3 years agoMerge pull request #29413 from nextcloud/dependabot/npm_and_yarn/testing-library...
dependabot[bot] [Sat, 23 Oct 2021 06:21:33 +0000 (06:21 +0000)]
Merge pull request #29413 from nextcloud/dependabot/npm_and_yarn/testing-library/user-event-13.5.0

3 years agoMerge pull request #29412 from nextcloud/dependabot/npm_and_yarn/webpack-cli-4.9.1
dependabot[bot] [Sat, 23 Oct 2021 05:27:16 +0000 (05:27 +0000)]
Merge pull request #29412 from nextcloud/dependabot/npm_and_yarn/webpack-cli-4.9.1

3 years agoMerge pull request #29408 from nextcloud/dependabot/composer/build/integration/behat...
dependabot[bot] [Sat, 23 Oct 2021 05:00:44 +0000 (05:00 +0000)]
Merge pull request #29408 from nextcloud/dependabot/composer/build/integration/behat/behat-approx-3.9.0

3 years agoMerge pull request #29402 from nextcloud/dependabot/npm_and_yarn/sass-1.43.3
dependabot[bot] [Sat, 23 Oct 2021 03:49:04 +0000 (03:49 +0000)]
Merge pull request #29402 from nextcloud/dependabot/npm_and_yarn/sass-1.43.3

3 years agoBump @testing-library/user-event from 13.4.1 to 13.5.0 29413/head
dependabot[bot] [Sat, 23 Oct 2021 03:46:56 +0000 (03:46 +0000)]
Bump @testing-library/user-event from 13.4.1 to 13.5.0

Bumps [@testing-library/user-event](https://github.com/testing-library/user-event) from 13.4.1 to 13.5.0.
- [Release notes](https://github.com/testing-library/user-event/releases)
- [Changelog](https://github.com/testing-library/user-event/blob/main/CHANGELOG.md)
- [Commits](https://github.com/testing-library/user-event/compare/v13.4.1...v13.5.0)

---
updated-dependencies:
- dependency-name: "@testing-library/user-event"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
3 years agoMerge pull request #29401 from nextcloud/dependabot/npm_and_yarn/babel-loader-8.2.3
dependabot[bot] [Sat, 23 Oct 2021 03:45:23 +0000 (03:45 +0000)]
Merge pull request #29401 from nextcloud/dependabot/npm_and_yarn/babel-loader-8.2.3

3 years ago[tx-robot] updated from transifex
Nextcloud bot [Sat, 23 Oct 2021 02:22:31 +0000 (02:22 +0000)]
[tx-robot] updated from transifex

Signed-off-by: Nextcloud bot <bot@nextcloud.com>
3 years agoBump webpack-cli from 4.9.0 to 4.9.1 29412/head
dependabot[bot] [Sat, 23 Oct 2021 02:17:58 +0000 (02:17 +0000)]
Bump webpack-cli from 4.9.0 to 4.9.1

Bumps [webpack-cli](https://github.com/webpack/webpack-cli) from 4.9.0 to 4.9.1.
- [Release notes](https://github.com/webpack/webpack-cli/releases)
- [Changelog](https://github.com/webpack/webpack-cli/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack/webpack-cli/compare/webpack-cli@4.9.0...webpack-cli@4.9.1)

---
updated-dependencies:
- dependency-name: webpack-cli
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
3 years agoUpdate behat/behat requirement in /build/integration 29408/head
dependabot[bot] [Sat, 23 Oct 2021 01:04:34 +0000 (01:04 +0000)]
Update behat/behat requirement in /build/integration

Updates the requirements on [behat/behat](https://github.com/Behat/Behat) to permit the latest version.
- [Release notes](https://github.com/Behat/Behat/releases)
- [Changelog](https://github.com/Behat/Behat/blob/master/CHANGELOG.md)
- [Commits](https://github.com/Behat/Behat/compare/v3.8.0...v3.9.0)

---
updated-dependencies:
- dependency-name: behat/behat
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
3 years agoBump sass from 1.43.2 to 1.43.3 29402/head
dependabot[bot] [Sat, 23 Oct 2021 01:03:33 +0000 (01:03 +0000)]
Bump sass from 1.43.2 to 1.43.3

Bumps [sass](https://github.com/sass/dart-sass) from 1.43.2 to 1.43.3.
- [Release notes](https://github.com/sass/dart-sass/releases)
- [Changelog](https://github.com/sass/dart-sass/blob/main/CHANGELOG.md)
- [Commits](https://github.com/sass/dart-sass/compare/1.43.2...1.43.3)

---
updated-dependencies:
- dependency-name: sass
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
3 years agoBump babel-loader from 8.2.2 to 8.2.3 29401/head
dependabot[bot] [Sat, 23 Oct 2021 01:03:20 +0000 (01:03 +0000)]
Bump babel-loader from 8.2.2 to 8.2.3

Bumps [babel-loader](https://github.com/babel/babel-loader) from 8.2.2 to 8.2.3.
- [Release notes](https://github.com/babel/babel-loader/releases)
- [Changelog](https://github.com/babel/babel-loader/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel-loader/compare/v8.2.2...v8.2.3)

---
updated-dependencies:
- dependency-name: babel-loader
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
3 years agoshow warning on personal settings page 29363/head
Vitor Mattos [Thu, 21 Oct 2021 16:24:53 +0000 (13:24 -0300)]
show warning on personal settings page

Signed-off-by: Vitor Mattos <vitor@php.rio>
3 years agoShow warning on admin settings page
Vitor Mattos [Wed, 20 Oct 2021 18:24:45 +0000 (15:24 -0300)]
Show warning on admin settings page

Signed-off-by: Vitor Mattos <vitor@php.rio>
3 years agoadd check isFairUseOfFreePushService on login
Vitor Mattos [Wed, 20 Oct 2021 17:45:33 +0000 (14:45 -0300)]
add check isFairUseOfFreePushService on login

Signed-off-by: Vitor Mattos <vitor@php.rio>
3 years agoFair use of push notifications
Joas Schilling [Wed, 20 Oct 2021 08:29:45 +0000 (10:29 +0200)]
Fair use of push notifications

We want to keep offering our push notification service for free, but large
users overload our infrastructure. For this reason we have to rate-limit the
use of push notifications. If you need this feature, consider setting up your
own push server or using Nextcloud Enterprise.

Signed-off-by: Joas Schilling <coding@schilljs.com>
3 years agofix populating account array with missing default values 29397/head
Arthur Schiwon [Fri, 22 Oct 2021 20:03:29 +0000 (22:03 +0200)]
fix populating account array with missing default values

- both $userData and $defaultUserData have numeric indices
- each element contains at least the name and other fields
- appending the missing data array is sufficient

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
3 years agofixes an undefined index when getAccessList returns an empty array 29400/head
Arthur Schiwon [Fri, 22 Oct 2021 20:42:25 +0000 (22:42 +0200)]
fixes an undefined index when getAccessList returns an empty array

- [] is a valid return value that should be honored as having no access

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
3 years agoMerge pull request #29378 from nextcloud/fix/unhelpful-route-name-error
Daniel [Fri, 22 Oct 2021 20:33:35 +0000 (22:33 +0200)]
Merge pull request #29378 from nextcloud/fix/unhelpful-route-name-error

Make the route name error more helpful

3 years agoMerge pull request #25392 from nextcloud/imountpoint-ocp-storage
Julius Härtl [Fri, 22 Oct 2021 18:14:22 +0000 (20:14 +0200)]
Merge pull request #25392 from nextcloud/imountpoint-ocp-storage

3 years agoMerge pull request #29382 from nextcloud/techdebt/noid/500-on-OCS-after-internal...
Julius Härtl [Fri, 22 Oct 2021 13:16:32 +0000 (15:16 +0200)]
Merge pull request #29382 from nextcloud/techdebt/noid/500-on-OCS-after-internal-error

3 years agoAdd autocompletion for password reset 27949/head
Carl Schwan [Tue, 13 Jul 2021 15:11:48 +0000 (17:11 +0200)]
Add autocompletion for password reset

Using autocomplete="current-password" and autocomplete="new-password"
will help browser with integrated password managers to generate safe
password for the users.

See https://developer.apple.com/documentation/security/password_autofill/enabling_password_autofill_on_an_html_input_element
and https://developer.mozilla.org/en-US/docs/Web/HTML/Element/Input/password#allowing_autocomplete.

Also unify autocapitalize="none" autocorrect="off" behavior in a few
other places for password input fields.

Close #27885

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
Co-Authored-By: Julien Veyssier <eneiluj@posteo.net>
Co-Authored-By: Pytal <24800714+Pytal@users.noreply.github.com>
3 years agoUpdate Tests 27440/head
acsfer [Fri, 22 Oct 2021 10:16:11 +0000 (12:16 +0200)]
Update Tests

3 years agoMerge pull request #28997 from nextcloud/fix/set-attendee-as-recipient
John Molakvoæ [Fri, 22 Oct 2021 10:07:39 +0000 (12:07 +0200)]
Merge pull request #28997 from nextcloud/fix/set-attendee-as-recipient

3 years agoMerge pull request #29220 from nextcloud/s3-external-list
John Molakvoæ [Fri, 22 Oct 2021 10:06:05 +0000 (12:06 +0200)]
Merge pull request #29220 from nextcloud/s3-external-list

3 years agoMerge pull request #27731 from ZitronePlus/master
John Molakvoæ [Fri, 22 Oct 2021 10:04:07 +0000 (12:04 +0200)]
Merge pull request #27731 from ZitronePlus/master

3 years agoMerge pull request #26989 from fuchsi3010/master
John Molakvoæ [Fri, 22 Oct 2021 09:58:14 +0000 (11:58 +0200)]
Merge pull request #26989 from fuchsi3010/master

3 years agoMerge pull request #26725 from nextcloud/fix-federated-scope-not-shown-when-public...
John Molakvoæ [Fri, 22 Oct 2021 09:52:56 +0000 (11:52 +0200)]
Merge pull request #26725 from nextcloud/fix-federated-scope-not-shown-when-public-addressbook-upload-is-disabled

3 years agoMerge branch 'master' into imountpoint-ocp-storage 25392/head
John Molakvoæ [Fri, 22 Oct 2021 09:47:37 +0000 (11:47 +0200)]
Merge branch 'master' into imountpoint-ocp-storage

3 years agoMerge pull request #26347 from J0WI/clean-path-regex
John Molakvoæ [Fri, 22 Oct 2021 09:42:30 +0000 (11:42 +0200)]
Merge pull request #26347 from J0WI/clean-path-regex

3 years agoMerge pull request #27876 from nextcloud/bugfix/noid/use-cached-user-backend-info...
John Molakvoæ [Fri, 22 Oct 2021 09:37:43 +0000 (11:37 +0200)]
Merge pull request #27876 from nextcloud/bugfix/noid/use-cached-user-backend-info-for-password-login

3 years agoMerge pull request #29344 from nextcloud/dependabot/composer/doctrine/dbal-3.1.3
John Molakvoæ [Fri, 22 Oct 2021 09:35:02 +0000 (11:35 +0200)]
Merge pull request #29344 from nextcloud/dependabot/composer/doctrine/dbal-3.1.3

3 years agoMerge pull request #29304 from JanBartels/master
John Molakvoæ [Fri, 22 Oct 2021 09:33:03 +0000 (11:33 +0200)]
Merge pull request #29304 from JanBartels/master

3 years agoFix "never catch" catches in OC_App 28138/head
zorn-v [Fri, 23 Jul 2021 20:15:28 +0000 (06:15 +1000)]
Fix "never catch" catches in OC_App

Need to check another legacy. Need to explicitly add to use or do not forget add slash `\`

3 years agoReturn 500 and the exception message (on debug) on OCS 29382/head
Joas Schilling [Fri, 22 Oct 2021 09:26:18 +0000 (11:26 +0200)]
Return 500 and the exception message (on debug) on OCS

Signed-off-by: Joas Schilling <coding@schilljs.com>
3 years agoMerge pull request #29357 from nextcloud/fix/concurrent-duplicate-auth-token-updates
John Molakvoæ [Fri, 22 Oct 2021 08:58:52 +0000 (10:58 +0200)]
Merge pull request #29357 from nextcloud/fix/concurrent-duplicate-auth-token-updates

3 years agoMake the route name error more helpful 29378/head
Christoph Wurst [Fri, 22 Oct 2021 08:41:27 +0000 (10:41 +0200)]
Make the route name error more helpful

As a developer I have no clue what "Invalid route name" means. If the
exception gives me a hint I might find it easier to figure out why my
route triggers this error.

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
3 years agoMerge pull request #29375 from nextcloud/bugfix/noid/translate-calendar-schedule...
szaimen [Fri, 22 Oct 2021 08:41:11 +0000 (10:41 +0200)]
Merge pull request #29375 from nextcloud/bugfix/noid/translate-calendar-schedule-response

Make calendar schedule options translatable

3 years agoMerge pull request #29373 from nextcloud/automated/noid/psalm-baseline-update
Daniel [Fri, 22 Oct 2021 08:23:25 +0000 (10:23 +0200)]
Merge pull request #29373 from nextcloud/automated/noid/psalm-baseline-update

[Automated] Update psalm-baseline.xml

3 years agoMake calendar schedule options translatable 29375/head
Julius Härtl [Fri, 22 Oct 2021 07:24:30 +0000 (09:24 +0200)]
Make calendar schedule options translatable

Signed-off-by: Julius Härtl <jus@bitgrid.net>
3 years agoPrevent duplicate auth token activity updates 29357/head
Christoph Wurst [Thu, 21 Oct 2021 12:12:36 +0000 (14:12 +0200)]
Prevent duplicate auth token activity updates

The auth token activity logic works as follows
* Read auth token
* Compare last activity time stamp to current time
* Update auth token activity if it's older than x seconds

This works fine in isolation but with concurrency that means that
occasionally the same token is read simultaneously by two processes and
both of these processes will trigger an update of the same row.
Affectively the second update doesn't add much value. It might set the
time stamp to the exact same time stamp or one a few seconds later. But
the last activity is no precise science, we don't need this accuracy.

This patch changes the UPDATE query to include the expected value in a
comparison with the current data. This results in an affected row when
the data in the DB still has an old time stamp, but won't affect a row
if the time stamp is (nearly) up to date.

This is a micro optimization and will possibly not show any significant
performance improvement. Yet in setups with a DB cluster it means that
the write node has to send fewer changes to the read nodes due to the
lower number of actual changes.

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
3 years agoBump doctrine/dbal from 3.0.0 to 3.1.3 29344/head
Christoph Wurst [Wed, 20 Oct 2021 16:25:30 +0000 (18:25 +0200)]
Bump doctrine/dbal from 3.0.0 to 3.1.3

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
3 years agoUpdate psalm baseline 29373/head
nextcloud-command [Fri, 22 Oct 2021 04:11:24 +0000 (04:11 +0000)]
Update psalm baseline

Signed-off-by: GitHub <noreply@github.com>
3 years ago[tx-robot] updated from transifex
Nextcloud bot [Fri, 22 Oct 2021 02:21:58 +0000 (02:21 +0000)]
[tx-robot] updated from transifex

Signed-off-by: Nextcloud bot <bot@nextcloud.com>
3 years agoMerge pull request #29345 from nextcloud/fix/profile-preview-card
Pytal [Thu, 21 Oct 2021 22:18:07 +0000 (15:18 -0700)]
Merge pull request #29345 from nextcloud/fix/profile-preview-card

3 years agoRemove unused click handler 29345/head
Christopher Ng [Wed, 20 Oct 2021 00:34:28 +0000 (00:34 +0000)]
Remove unused click handler
- Handle long lines unbroken by white space
- Cleanup

Signed-off-by: Christopher Ng <chrng8@gmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
3 years agoMerge pull request #29362 from nextcloud/fix/groupfolder-copy-acl
Carl Schwan [Thu, 21 Oct 2021 16:12:34 +0000 (18:12 +0200)]
Merge pull request #29362 from nextcloud/fix/groupfolder-copy-acl

Fix security issues when copying groupfolder with advanced ACL

3 years agoMerge pull request #29343 from nextcloud/dependachristoph/composer/symfony-4.4.30...
Christoph Wurst [Thu, 21 Oct 2021 15:45:15 +0000 (17:45 +0200)]
Merge pull request #29343 from nextcloud/dependachristoph/composer/symfony-4.4.30-and-friends

Bump Symfony family and friends to v4.4.30

3 years agoMerge pull request #29332 from nextcloud/sendPasswordByMail
John Molakvoæ [Thu, 21 Oct 2021 15:41:18 +0000 (17:41 +0200)]
Merge pull request #29332 from nextcloud/sendPasswordByMail