]> source.dussan.org Git - nextcloud-server.git/log
nextcloud-server.git
2 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"

2 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>
2 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>
2 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

2 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>
2 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>
2 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

2 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

2 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

2 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

2 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

2 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

2 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

2 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

2 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

2 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>
2 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

2 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>
2 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>
2 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>
2 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>
2 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>
2 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>
2 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>
2 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>
2 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>
2 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>
2 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>
2 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

2 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

2 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

2 years agoUpdate Tests 27440/head
acsfer [Fri, 22 Oct 2021 10:16:11 +0000 (12:16 +0200)]
Update Tests

2 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

2 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

2 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

2 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

2 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

2 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

2 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

2 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

2 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

2 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

2 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 `\`

2 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>
2 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

2 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>
2 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

2 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

2 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>
2 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>
2 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>
2 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>
2 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>
2 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

2 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>
2 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

2 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

2 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

2 years agoFix security issues when copying groupfolder with advanced ACL 29362/head
Carl Schwan [Thu, 21 Oct 2021 14:57:07 +0000 (16:57 +0200)]
Fix security issues when copying groupfolder with advanced ACL

Using advanced ACL, it is possible that an user has access to a
directory but not to a subdirectory, so the copying use
Common::copyFromStorage instead of Local::copyFromStorage.

Fix https://github.com/nextcloud/groupfolders/issues/1692

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2 years agoMerge pull request #23171 from nextcloud/enh/preview/move_to_bootstrap
John Molakvoæ [Thu, 21 Oct 2021 15:07:14 +0000 (17:07 +0200)]
Merge pull request #23171 from nextcloud/enh/preview/move_to_bootstrap

2 years agoMerge pull request #29355 from nextcloud/fix/carl/loging-button-arrow
Louis [Thu, 21 Oct 2021 13:14:24 +0000 (15:14 +0200)]
Merge pull request #29355 from nextcloud/fix/carl/loging-button-arrow

Fix login button alignment

2 years agoMerge pull request #29256 from nextcloud/fix/noid/harmonize-appstoreenabled-check
Julien Veyssier [Thu, 21 Oct 2021 10:42:14 +0000 (12:42 +0200)]
Merge pull request #29256 from nextcloud/fix/noid/harmonize-appstoreenabled-check

Fix appstoreenabled check

2 years agoFix login button alignment 29355/head
Carl Schwan [Thu, 21 Oct 2021 10:00:58 +0000 (12:00 +0200)]
Fix login button alignment

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2 years agoMerge pull request #29346 from nextcloud/fix/biography-resize
Louis [Thu, 21 Oct 2021 08:57:49 +0000 (10:57 +0200)]
Merge pull request #29346 from nextcloud/fix/biography-resize

Allow resize of Biography/About box

2 years agoMerge pull request #29351 from nextcloud/automated/noid/psalm-baseline-update
Louis [Thu, 21 Oct 2021 08:53:49 +0000 (10:53 +0200)]
Merge pull request #29351 from nextcloud/automated/noid/psalm-baseline-update

[Automated] Update psalm-baseline.xml

2 years agoMove preview provider registration to bootstrap 23171/head
Roeland Jago Douma [Sun, 4 Oct 2020 12:41:08 +0000 (14:41 +0200)]
Move preview provider registration to bootstrap

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2 years agoBump Symfony family and friends to v4.4.30 29343/head
Christoph Wurst [Wed, 20 Oct 2021 16:02:33 +0000 (18:02 +0200)]
Bump Symfony family and friends to v4.4.30

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2 years agoFix unit tests 29256/head
Joas Schilling [Thu, 21 Oct 2021 07:27:12 +0000 (09:27 +0200)]
Fix unit tests

Signed-off-by: Joas Schilling <coding@schilljs.com>
2 years agoAdjust test 29332/head
tobiasKaminsky [Thu, 21 Oct 2021 04:52:31 +0000 (06:52 +0200)]
Adjust test

Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2 years agoUpdate psalm baseline 29351/head
nextcloud-command [Thu, 21 Oct 2021 04:11:44 +0000 (04:11 +0000)]
Update psalm baseline

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

Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2 years agoMerge pull request #29342 from nextcloud/fix/noid/upgrade-22.2-to-23
blizzz [Wed, 20 Oct 2021 17:28:00 +0000 (19:28 +0200)]
Merge pull request #29342 from nextcloud/fix/noid/upgrade-22.2-to-23

allow upgrading from 22.2.x

2 years agoAllow textarea resize 29346/head
Christopher Ng [Wed, 20 Oct 2021 16:56:17 +0000 (16:56 +0000)]
Allow textarea resize

Signed-off-by: Christopher Ng <chrng8@gmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2 years agoMerge pull request #27196 from nextcloud/fix/ApiControllerTest-testShowHiddenFiles
John Molakvoæ [Wed, 20 Oct 2021 16:48:04 +0000 (18:48 +0200)]
Merge pull request #27196 from nextcloud/fix/ApiControllerTest-testShowHiddenFiles

2 years agoMerge pull request #29330 from nextcloud/fix/missing-profile-config-defaults
blizzz [Wed, 20 Oct 2021 16:26:25 +0000 (18:26 +0200)]
Merge pull request #29330 from nextcloud/fix/missing-profile-config-defaults

Populate missing profile config defaults

2 years agoallow upgrading from 22.2.x 29342/head
Arthur Schiwon [Wed, 20 Oct 2021 16:01:43 +0000 (18:01 +0200)]
allow upgrading from 22.2.x

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2 years agoMerge pull request #29334 from nextcloud/fix/dav-availability-settings-duplicate...
John Molakvoæ [Wed, 20 Oct 2021 15:38:23 +0000 (17:38 +0200)]
Merge pull request #29334 from nextcloud/fix/dav-availability-settings-duplicate-slots

2 years agoMerge pull request #28314 from nextcloud/sharing-ibootstrap
Christoph Wurst [Wed, 20 Oct 2021 15:32:10 +0000 (17:32 +0200)]
Merge pull request #28314 from nextcloud/sharing-ibootstrap

move files_sharing to IBootStrap

2 years agoMerge pull request #29320 from nextcloud/bugfix/28261/fix-basic-auth-for-oauth-token...
Christoph Wurst [Wed, 20 Oct 2021 15:31:43 +0000 (17:31 +0200)]
Merge pull request #29320 from nextcloud/bugfix/28261/fix-basic-auth-for-oauth-token-endpoint

Fix basic auth for OAuth token endpoint

2 years agoMerge pull request #29269 from nextcloud/feature/28751/provide-contactsmenu-as-ocs...
Joas Schilling [Wed, 20 Oct 2021 14:25:07 +0000 (16:25 +0200)]
Merge pull request #29269 from nextcloud/feature/28751/provide-contactsmenu-as-ocs-simple

Add an OCS endpoint for the hovercard contact actions

2 years agoMerge pull request #29313 from nextcloud/fix/status-menu-update
Carl Schwan [Wed, 20 Oct 2021 14:00:38 +0000 (16:00 +0200)]
Merge pull request #29313 from nextcloud/fix/status-menu-update

Fix status menu item not listening to status change events

2 years agoChange origin field to appId 29269/head
Joas Schilling [Wed, 20 Oct 2021 12:43:45 +0000 (14:43 +0200)]
Change origin field to appId

Signed-off-by: Joas Schilling <coding@schilljs.com>
2 years agoMerge pull request #29260 from nextcloud/fix/user_status_enumeration2
Joas Schilling [Wed, 20 Oct 2021 10:27:55 +0000 (12:27 +0200)]
Merge pull request #29260 from nextcloud/fix/user_status_enumeration2

Respect user enumeration settings in user status lists

2 years agoMerge pull request #29255 from nextcloud/updateAppstoreCrl
blizzz [Wed, 20 Oct 2021 10:22:33 +0000 (12:22 +0200)]
Merge pull request #29255 from nextcloud/updateAppstoreCrl

update CRL after revocation of twofactor_rcdevsopenotp.crt

2 years agoPrevent duplicate CalDAV availability slots for recurring slots 29334/head
Christoph Wurst [Wed, 20 Oct 2021 10:15:56 +0000 (12:15 +0200)]
Prevent duplicate CalDAV availability slots for recurring slots

If there is the same time slot for more than one day, then we wrote two
recurring AVAILABILITY components before. With this patch equal blocks
are combined into one recurring component. This makes the generated
rules more compact and easier to work with.

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2 years agoDo not remove current user on findOne
John Molakvoæ [Wed, 20 Oct 2021 08:47:23 +0000 (10:47 +0200)]
Do not remove current user on findOne

Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2 years agoAdd appName to contactsmenu action API
John Molakvoæ [Mon, 18 Oct 2021 16:19:37 +0000 (18:19 +0200)]
Add appName to contactsmenu action API

Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2 years agoAdd integration tests for user_status API 29260/head
Jonas Meurer [Tue, 19 Oct 2021 08:56:07 +0000 (10:56 +0200)]
Add integration tests for user_status API

Signed-off-by: Jonas Meurer <jonas@freesources.org>
2 years agoRespect user enumeration settings in user status lists
Jonas Meurer [Thu, 8 Jul 2021 16:26:27 +0000 (18:26 +0200)]
Respect user enumeration settings in user status lists

So far, the functions to find user statuses listed didn't respect user
enumeration settings (`shareapi_allow_share_dialog_user_enumeration`
and `shareapi_restrict_user_enumeration_to_group` core app settings).

Fix this privacy issue by returning an empty list in case
`shareapi_allow_share_dialog_user_enumeration` is unset or
`shareapi_restrict_user_enumeration_to_group` is set.

In the long run, we might want to return users from common groups if
`shareapi_restrict_user_enumeration_to_group` is set. It's complicated
to implement this in a way that scales, though. See the discussion at
https://github.com/nextcloud/server/pull/27879#pullrequestreview-753655308
for details.

Also, don't register the user_status dashboard widget at all if
`shareapi_allow_share_dialog_user_enumeration` is unset or
`shareapi_restrict_user_enumeration_to_group` is set.

Fixes: #27122
Signed-off-by: Jonas Meurer <jonas@freesources.org>
2 years agoAdd an OCS endpoint for the hovercard contact actions
Joas Schilling [Fri, 15 Oct 2021 06:49:41 +0000 (08:49 +0200)]
Add an OCS endpoint for the hovercard contact actions

Signed-off-by: Joas Schilling <coding@schilljs.com>
2 years agoFix status menu item not listening to status change events 29313/head
Carl Schwan [Tue, 19 Oct 2021 08:57:30 +0000 (10:57 +0200)]
Fix status menu item not listening to status change events

This makes it so that the status menu item listens to user_status:status.updated
events even when they are triggered outside of the user status modal.

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2 years agoMerge pull request #29331 from nextcloud/automated/noid/psalm-baseline-update
Louis [Wed, 20 Oct 2021 07:41:36 +0000 (09:41 +0200)]
Merge pull request #29331 from nextcloud/automated/noid/psalm-baseline-update

[Automated] Update psalm-baseline.xml

2 years agoExpose send_password_by_mail via capabilities
tobiasKaminsky [Wed, 20 Oct 2021 04:18:03 +0000 (06:18 +0200)]
Expose send_password_by_mail via capabilities

Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2 years agoUpdate psalm baseline 29331/head
nextcloud-command [Wed, 20 Oct 2021 04:11:07 +0000 (04:11 +0000)]
Update psalm baseline

Signed-off-by: GitHub <noreply@github.com>
2 years ago[tx-robot] updated from transifex
Nextcloud bot [Wed, 20 Oct 2021 02:43:00 +0000 (02:43 +0000)]
[tx-robot] updated from transifex

Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2 years ago[tx-robot] updated from transifex
Nextcloud bot [Wed, 20 Oct 2021 02:23:10 +0000 (02:23 +0000)]
[tx-robot] updated from transifex

Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2 years agoPopulate defaults into exising profile config 29330/head
Christopher Ng [Wed, 20 Oct 2021 00:27:37 +0000 (00:27 +0000)]
Populate defaults into exising profile config

Signed-off-by: Christopher Ng <chrng8@gmail.com>
2 years agoCleanup
Christopher Ng [Wed, 20 Oct 2021 00:17:22 +0000 (00:17 +0000)]
Cleanup

Signed-off-by: Christopher Ng <chrng8@gmail.com>
2 years agoMerge pull request #28541 from nextcloud/path-prefix-index2
Robin Appelman [Tue, 19 Oct 2021 14:41:23 +0000 (14:41 +0000)]
Merge pull request #28541 from nextcloud/path-prefix-index2

add a prefix index to filecache.path, attempt 2

2 years agocache versioning enabled status 29220/head
Robin Appelman [Tue, 19 Oct 2021 13:03:22 +0000 (15:03 +0200)]
cache versioning enabled status

Signed-off-by: Robin Appelman <robin@icewind.nl>