]> source.dussan.org Git - nextcloud-server.git/log
nextcloud-server.git
2 years agoMerge pull request #31438 from nextcloud/backport/31267/stable23
Simon L [Tue, 8 Mar 2022 10:07:27 +0000 (11:07 +0100)]
Merge pull request #31438 from nextcloud/backport/31267/stable23

[stable23] Add Nextcloud docs link to OPcache recommends

2 years agoMerge pull request #31479 from nextcloud/backport/31426/stable23
Julien Veyssier [Tue, 8 Mar 2022 09:23:05 +0000 (10:23 +0100)]
Merge pull request #31479 from nextcloud/backport/31426/stable23

[stable23] Connectivity check: allow using the protocol in 'connectivity_check_domains'

2 years agoMerge pull request #31485 from nextcloud/backport/28227/stable23
Simon L [Tue, 8 Mar 2022 09:03:43 +0000 (10:03 +0100)]
Merge pull request #31485 from nextcloud/backport/28227/stable23

[stable23] Fix too many file download notifications when watching a video

2 years agoFix too many file download notifications when watching a video 31485/head
szaimen [Thu, 29 Jul 2021 06:57:31 +0000 (08:57 +0200)]
Fix too many file download notifications when watching a video

Signed-off-by: szaimen <szaimen@e.mail.de>
2 years ago[tx-robot] updated from transifex
Nextcloud bot [Tue, 8 Mar 2022 02:28:54 +0000 (02:28 +0000)]
[tx-robot] updated from transifex

Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2 years agoMerge pull request #31457 from nextcloud/backport/31358/stable23
Vincent Petry [Mon, 7 Mar 2022 16:16:50 +0000 (17:16 +0100)]
Merge pull request #31457 from nextcloud/backport/31358/stable23

[stable23] Fix settings error message timeout

2 years agoallow adding protocol to domains in 'connectivity_check_domains' config 31479/head
Julien Veyssier [Thu, 3 Mar 2022 14:11:50 +0000 (15:11 +0100)]
allow adding protocol to domains in 'connectivity_check_domains' config

Signed-off-by: Julien Veyssier <eneiluj@posteo.net>
2 years agoMerge pull request #31445 from nextcloud/backport/30953/stable23
Vincent Petry [Mon, 7 Mar 2022 11:24:33 +0000 (12:24 +0100)]
Merge pull request #31445 from nextcloud/backport/30953/stable23

[stable23] Init user's file system if not existing on ownership transfer

2 years ago[tx-robot] updated from transifex
Nextcloud bot [Mon, 7 Mar 2022 02:26:34 +0000 (02:26 +0000)]
[tx-robot] updated from transifex

Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2 years agoAdd Nextcloud docs link to OPcache recommends 31438/head
MichaIng [Fri, 18 Feb 2022 15:36:43 +0000 (16:36 +0100)]
Add Nextcloud docs link to OPcache recommends

A link to the Nextcloud documentation is currently only shown when the OPcache module is not loaded at all. This commit moves the link to the generic text above the individual recommendations list.

Additionally remove the obsolete phpOpcacheDocumentation entry from test data arrays, which is not passed anymore by the backend.

Signed-off-by: MichaIng <micha@dietpi.com>
2 years ago[tx-robot] updated from transifex
Nextcloud bot [Sun, 6 Mar 2022 02:26:10 +0000 (02:26 +0000)]
[tx-robot] updated from transifex

Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2 years ago[tx-robot] updated from transifex
Nextcloud bot [Sat, 5 Mar 2022 02:26:54 +0000 (02:26 +0000)]
[tx-robot] updated from transifex

Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2 years agoFix settings error message timeout 31457/head
Christopher Ng [Fri, 4 Mar 2022 04:46:30 +0000 (04:46 +0000)]
Fix settings error message timeout

Signed-off-by: Christopher Ng <chrng8@gmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
(cherry picked from commit c22cfa057da9857eeb066318c7017542a60793bf)
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2 years agoMerge pull request #31450 from nextcloud/backport/30959/stable23
Vincent Petry [Fri, 4 Mar 2022 14:59:55 +0000 (15:59 +0100)]
Merge pull request #31450 from nextcloud/backport/30959/stable23

[stable23] use persistent connections when connecting to redis

2 years agouse persistent connections when connecting to redis 31450/head
Robin Appelman [Tue, 1 Feb 2022 15:57:12 +0000 (16:57 +0100)]
use persistent connections when connecting to redis

Signed-off-by: Robin Appelman <robin@icewind.nl>
2 years agoInit user's file system if not existing on ownership transfer 31445/head
Carl Schwan [Tue, 1 Feb 2022 09:47:40 +0000 (10:47 +0100)]
Init user's file system if not existing on ownership transfer

This makes it a bit easier to transfer ownership when the new user
hasn't already logged in. This still doesn't support encrypted
storages because the keys are not generated yet.

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2 years agoMerge pull request #31424 from nextcloud/backport/31389/stable23
Carl Schwan [Fri, 4 Mar 2022 08:11:30 +0000 (09:11 +0100)]
Merge pull request #31424 from nextcloud/backport/31389/stable23

[stable23] fix fileactions for sharing overview

2 years agoMerge pull request #31432 from nextcloud/backport/31417/stable23
Pytal [Fri, 4 Mar 2022 05:46:31 +0000 (21:46 -0800)]
Merge pull request #31432 from nextcloud/backport/31417/stable23

2 years agoMerge pull request #31423 from nextcloud/backport/31355/stable23
Pytal [Fri, 4 Mar 2022 04:52:01 +0000 (20:52 -0800)]
Merge pull request #31423 from nextcloud/backport/31355/stable23

2 years agoMerge pull request #31412 from nextcloud/backport/31347/stable23
Pytal [Fri, 4 Mar 2022 04:43:25 +0000 (20:43 -0800)]
Merge pull request #31412 from nextcloud/backport/31347/stable23

2 years agoFix avatar file return type 31432/head
Christopher Ng [Thu, 3 Mar 2022 04:41:34 +0000 (04:41 +0000)]
Fix avatar file return type

Signed-off-by: Christopher Ng <chrng8@gmail.com>
2 years ago[tx-robot] updated from transifex
Nextcloud bot [Fri, 4 Mar 2022 02:26:50 +0000 (02:26 +0000)]
[tx-robot] updated from transifex

Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2 years agoMerge pull request #31427 from nextcloud/backport/31372/stable23
Vincent Petry [Thu, 3 Mar 2022 20:32:42 +0000 (21:32 +0100)]
Merge pull request #31427 from nextcloud/backport/31372/stable23

[stable23] prevent default right-click options when hideDownload is enabled

2 years agoprevent right-click when hideDownload is enabled 31427/head
szaimen [Sat, 26 Feb 2022 13:20:56 +0000 (14:20 +0100)]
prevent right-click when hideDownload is enabled

Signed-off-by: szaimen <szaimen@e.mail.de>
2 years agoMerge pull request #31401 from nextcloud/backport/31360/stable23
Vincent Petry [Thu, 3 Mar 2022 15:46:31 +0000 (16:46 +0100)]
Merge pull request #31401 from nextcloud/backport/31360/stable23

[stable23] Don't set up full filesystem to check for certificates

2 years agotry to fix correct fileactions for sharing overview 31424/head
szaimen [Thu, 3 Mar 2022 12:30:34 +0000 (13:30 +0100)]
try to fix correct fileactions for sharing overview

Signed-off-by: szaimen <szaimen@e.mail.de>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2 years agotry to fix developer link 31423/head
szaimen [Thu, 3 Mar 2022 12:19:40 +0000 (13:19 +0100)]
try to fix developer link

Signed-off-by: szaimen <szaimen@e.mail.de>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2 years ago[tx-robot] updated from transifex
Nextcloud bot [Thu, 3 Mar 2022 02:26:21 +0000 (02:26 +0000)]
[tx-robot] updated from transifex

Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2 years agoFix duplicate primary email message 31412/head
Christopher Ng [Wed, 2 Mar 2022 01:15:37 +0000 (01:15 +0000)]
Fix duplicate primary email message

Signed-off-by: Christopher Ng <chrng8@gmail.com>
(cherry picked from commit a68318a52b6287a6ef4b31bf753989105bb45718)
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2 years agoMerge pull request #31399 from nextcloud/backport/31390/stable23
blizzz [Wed, 2 Mar 2022 16:39:18 +0000 (17:39 +0100)]
Merge pull request #31399 from nextcloud/backport/31390/stable23

[stable23] Censor more configs

2 years agoMerge pull request #31402 from nextcloud/backport/31398/stable23
Joas Schilling [Wed, 2 Mar 2022 15:33:40 +0000 (16:33 +0100)]
Merge pull request #31402 from nextcloud/backport/31398/stable23

[stable23] Also use hashed/indexed column on delete

2 years agoAlso use hashed/indexed column on delete 31402/head
Joas Schilling [Wed, 2 Mar 2022 08:23:16 +0000 (09:23 +0100)]
Also use hashed/indexed column on delete

Signed-off-by: Joas Schilling <coding@schilljs.com>
2 years agoDon't set up full filesystem to check for certificates 31401/head
Joas Schilling [Fri, 25 Feb 2022 21:02:07 +0000 (22:02 +0100)]
Don't set up full filesystem to check for certificates

Signed-off-by: Joas Schilling <coding@schilljs.com>
2 years agoCensor more configs 31399/head
Joas Schilling [Tue, 1 Mar 2022 19:59:27 +0000 (20:59 +0100)]
Censor more configs

Signed-off-by: Joas Schilling <coding@schilljs.com>
2 years agoMerge pull request #31255 from nextcloud/backport/31143/stable23
Vincent Petry [Wed, 2 Mar 2022 09:25:48 +0000 (10:25 +0100)]
Merge pull request #31255 from nextcloud/backport/31143/stable23

[stable23] Don't redirect when loading files index page

2 years ago[tx-robot] updated from transifex
Nextcloud bot [Wed, 2 Mar 2022 02:47:11 +0000 (02:47 +0000)]
[tx-robot] updated from transifex

Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2 years agoMerge pull request #31098 from nextcloud/backport/30942/stable23
Vincent Petry [Tue, 1 Mar 2022 15:00:45 +0000 (16:00 +0100)]
Merge pull request #31098 from nextcloud/backport/30942/stable23

[stable23] only setup part of the filesystem for appdata requests

2 years agoMerge pull request #31369 from nextcloud/dependabot/npm_and_yarn/stable23/backbone...
Louis [Mon, 28 Feb 2022 14:05:13 +0000 (15:05 +0100)]
Merge pull request #31369 from nextcloud/dependabot/npm_and_yarn/stable23/backbone-1.4.1

Bump backbone from 1.4.0 to 1.4.1

2 years agoBump backbone from 1.4.0 to 1.4.1 31369/head
dependabot[bot] [Mon, 28 Feb 2022 10:56:39 +0000 (10:56 +0000)]
Bump backbone from 1.4.0 to 1.4.1

Bumps [backbone](https://github.com/jashkenas/backbone) from 1.4.0 to 1.4.1.
- [Release notes](https://github.com/jashkenas/backbone/releases)
- [Commits](https://github.com/jashkenas/backbone/compare/1.4.0...1.4.1)

---
updated-dependencies:
- dependency-name: backbone
  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>
2 years agoMerge pull request #31244 from nextcloud/backport/31141/stable23
Carl Schwan [Mon, 28 Feb 2022 10:17:00 +0000 (11:17 +0100)]
Merge pull request #31244 from nextcloud/backport/31141/stable23

[stable23] Improve caching policy use immutable when loading versionned assets

2 years ago[tx-robot] updated from transifex
Nextcloud bot [Mon, 28 Feb 2022 02:45:20 +0000 (02:45 +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, 27 Feb 2022 02:26:33 +0000 (02:26 +0000)]
[tx-robot] updated from transifex

Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2 years ago[tx-robot] updated from transifex
Nextcloud bot [Sat, 26 Feb 2022 02:26:10 +0000 (02:26 +0000)]
[tx-robot] updated from transifex

Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2 years ago[tx-robot] updated from transifex
Nextcloud bot [Fri, 25 Feb 2022 02:27:30 +0000 (02:27 +0000)]
[tx-robot] updated from transifex

Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2 years agoMerge pull request #31313 from nextcloud/backport/31309/stable23
Côme Chilliet [Thu, 24 Feb 2022 08:54:37 +0000 (09:54 +0100)]
Merge pull request #31313 from nextcloud/backport/31309/stable23

[stable23] Avoid PHP errors in the checkers drone step

2 years agoMerge pull request #31262 from nextcloud/backport/20766/stable23
John Molakvoæ [Thu, 24 Feb 2022 07:20:47 +0000 (08:20 +0100)]
Merge pull request #31262 from nextcloud/backport/20766/stable23

2 years ago[tx-robot] updated from transifex
Nextcloud bot [Thu, 24 Feb 2022 02:26:49 +0000 (02:26 +0000)]
[tx-robot] updated from transifex

Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2 years agoMerge pull request #31192 from nextcloud/backport/31106/stable23
Joas Schilling [Wed, 23 Feb 2022 12:38:33 +0000 (13:38 +0100)]
Merge pull request #31192 from nextcloud/backport/31106/stable23

[stable23] Improve user status revert performance

2 years agoFix cleaning reminders after subscription purge 31262/head
Thomas Citharel [Mon, 21 Feb 2022 10:36:09 +0000 (11:36 +0100)]
Fix cleaning reminders after subscription purge

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2 years ago[tx-robot] updated from transifex
Nextcloud bot [Wed, 23 Feb 2022 02:27:57 +0000 (02:27 +0000)]
[tx-robot] updated from transifex

Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2 years agoMerge pull request #31306 from nextcloud/backport/30938/stable23
blizzz [Tue, 22 Feb 2022 17:50:47 +0000 (18:50 +0100)]
Merge pull request #31306 from nextcloud/backport/30938/stable23

[stable23] Fix ldap:check-user method for newly created LDAP users

2 years agoMerge pull request #31318 from nextcloud/backport/30945/stable23
blizzz [Tue, 22 Feb 2022 17:41:24 +0000 (18:41 +0100)]
Merge pull request #31318 from nextcloud/backport/30945/stable23

[stable23] Background job time windows

2 years agoUse the new option to signaling insensitivity 31318/head
Joas Schilling [Mon, 31 Jan 2022 20:23:07 +0000 (21:23 +0100)]
Use the new option to signaling insensitivity

Signed-off-by: Joas Schilling <coding@schilljs.com>
2 years agoAllow sysadmins to define a maintenance window where heavier jobs can run
Joas Schilling [Mon, 31 Jan 2022 16:59:09 +0000 (17:59 +0100)]
Allow sysadmins to define a maintenance window where heavier jobs can run

Signed-off-by: Joas Schilling <coding@schilljs.com>
2 years agoAllow apps to specify if their background job can be delayed
Joas Schilling [Mon, 31 Jan 2022 16:56:43 +0000 (17:56 +0100)]
Allow apps to specify if their background job can be delayed

Signed-off-by: Joas Schilling <coding@schilljs.com>
2 years agoMerge pull request #31297 from nextcloud/backport/31217/stable23
Joas Schilling [Tue, 22 Feb 2022 10:49:16 +0000 (11:49 +0100)]
Merge pull request #31297 from nextcloud/backport/31217/stable23

[stable23] Also cache non-existing to reuse it

2 years agoMake it explicit that a DN can be used for ldap:check-user 31306/head
Côme Chilliet [Mon, 7 Feb 2022 09:32:18 +0000 (10:32 +0100)]
Make it explicit that a DN can be used for ldap:check-user

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2 years agoImprove typing in apps/user_ldap/lib/Command/CheckUser.php
Côme Chilliet [Mon, 7 Feb 2022 09:06:19 +0000 (10:06 +0100)]
Improve typing in apps/user_ldap/lib/Command/CheckUser.php

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2 years agoRemove parenthesis around return in apps/user_ldap/lib/Command/CheckUser.php
Côme Chilliet [Mon, 7 Feb 2022 08:47:40 +0000 (09:47 +0100)]
Remove parenthesis around return in apps/user_ldap/lib/Command/CheckUser.php

Co-authored-by: Carl Schwan <carl@carlschwan.eu>
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2 years agoFix ldap:check-user method for newly created LDAP users
Côme Chilliet [Mon, 31 Jan 2022 13:44:59 +0000 (14:44 +0100)]
Fix ldap:check-user method for newly created LDAP users

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2 years agoMerge pull request #31302 from nextcloud/backport/31195/stable23
Louis [Tue, 22 Feb 2022 09:07:56 +0000 (10:07 +0100)]
Merge pull request #31302 from nextcloud/backport/31195/stable23

[stable23] Wrap S3 multipart upload exception

2 years agoAvoid PHP errors in the checkers drone step 31313/head
Côme Chilliet [Mon, 21 Feb 2022 17:21:38 +0000 (18:21 +0100)]
Avoid PHP errors in the checkers drone step

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2 years agoRedirection now only happens when dir is empty 31255/head
Carl Schwan [Mon, 21 Feb 2022 10:35:22 +0000 (11:35 +0100)]
Redirection now only happens when dir is empty

Otherwise dir it's just ignored and fileid is used

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2 years agoMerge pull request #31299 from nextcloud/backport/29837/stable23
Côme Chilliet [Mon, 21 Feb 2022 14:56:51 +0000 (15:56 +0100)]
Merge pull request #31299 from nextcloud/backport/29837/stable23

[stable23] Ignore cache in occ ldap:check-ldap command

2 years agoWrap S3 multipart upload exception 31302/head
Louis Chemineau [Wed, 16 Feb 2022 13:56:14 +0000 (14:56 +0100)]
Wrap S3 multipart upload exception

Signed-off-by: Louis Chemineau <louis@chmn.me>
2 years agoWrap S3 multipart upload exception
Louis Chemineau [Tue, 15 Feb 2022 16:35:12 +0000 (17:35 +0100)]
Wrap S3 multipart upload exception

Signed-off-by: Louis Chemineau <louis@chmn.me>
2 years agoMerge pull request #30999 from nextcloud/backport/30985/stable23
Simon L [Mon, 21 Feb 2022 11:36:23 +0000 (12:36 +0100)]
Merge pull request #30999 from nextcloud/backport/30985/stable23

[stable23] Use the unjailed-path in OC_Helper::getStorageInfo() for files located in SharedStorage.

2 years agoCheck LDAP upon user deletion instead of refusing based on cached information 31299/head
Côme Chilliet [Mon, 22 Nov 2021 16:38:13 +0000 (17:38 +0100)]
Check LDAP upon user deletion instead of refusing based on cached information

This should avoid having to wait for background job to run after
 deleting a user in LDAP before being able to delete it in Nextcloud.

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2 years agoIgnore cache in occ ldap:check-ldap command
Côme Chilliet [Mon, 22 Nov 2021 15:44:27 +0000 (16:44 +0100)]
Ignore cache in occ ldap:check-ldap command

This avoids having to wait or reset the cache after deleting a user in
 the LDAP.
This also fixes a PHP error when running ldap:check-ldap --update on a
 deleted but cached user.

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2 years agoAlso cache non-existing to reuse it 31297/head
Joas Schilling [Wed, 16 Feb 2022 15:51:22 +0000 (16:51 +0100)]
Also cache non-existing to reuse it

Signed-off-by: Joas Schilling <coding@schilljs.com>
2 years agoMerge pull request #31023 from nextcloud/dependabot/npm_and_yarn/stable23/clipboard...
Louis [Mon, 21 Feb 2022 09:57:27 +0000 (10:57 +0100)]
Merge pull request #31023 from nextcloud/dependabot/npm_and_yarn/stable23/clipboard-2.0.10

[stable23] Bump clipboard from 2.0.9 to 2.0.10

2 years agoBump clipboard from 2.0.9 to 2.0.10 31023/head
dependabot[bot] [Fri, 18 Feb 2022 00:15:18 +0000 (00:15 +0000)]
Bump clipboard from 2.0.9 to 2.0.10

Bumps [clipboard](https://github.com/zenorocha/clipboard.js) from 2.0.9 to 2.0.10.
- [Release notes](https://github.com/zenorocha/clipboard.js/releases)
- [Commits](https://github.com/zenorocha/clipboard.js/compare/v2.0.9...v2.0.10)

---
updated-dependencies:
- dependency-name: clipboard
  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>
2 years agoMerge pull request #31253 from nextcloud/backport/31169/stable23
Simon L [Fri, 18 Feb 2022 18:12:57 +0000 (19:12 +0100)]
Merge pull request #31253 from nextcloud/backport/31169/stable23

[stable23] hide download button for images

2 years agoUse the unjailed-path in OC_Helper::getStorageInfo() for files located in SharedStorage. 30999/head
Claus-Justus Heine [Thu, 3 Feb 2022 08:59:28 +0000 (09:59 +0100)]
Use the unjailed-path in OC_Helper::getStorageInfo() for files located in SharedStorage.

The current implementation already switches the storage-backend to
$storage->getSourceStorage(). However, it then calls
$rootInfo->getInternalPath() which returns the internal path relative to
the storage where the share is mounted. This is wrong, we need also to
unjail the path. Compare, e.g., with
OCA\Files_Sharing\SharedStorage::file_get/put_contents() for the
"logic".

Signed-off-by: Claus-Justus Heine <himself@claus-justus-heine.de>
2 years agoClean reminders for calendar when deleting a subscription
Thomas Citharel [Fri, 17 Dec 2021 14:49:21 +0000 (15:49 +0100)]
Clean reminders for calendar when deleting a subscription

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2 years agoConsider only reminders with calendar data
Thomas Citharel [Fri, 1 May 2020 09:37:50 +0000 (11:37 +0200)]
Consider only reminders with calendar data

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2 years agoMerge pull request #31050 from nextcloud/backport/30995/stable23
Vincent Petry [Fri, 18 Feb 2022 14:51:30 +0000 (15:51 +0100)]
Merge pull request #31050 from nextcloud/backport/30995/stable23

[stable23] Fix bugs with incorrect currentFileList in the favorite and share by you view

2 years agoImprove caching policy 31244/head
Carl Schwan [Fri, 11 Feb 2022 21:14:04 +0000 (22:14 +0100)]
Improve caching policy

* Cache css with version in url. This makes most js and css requests to
  be cached by the browser

* Force caching previews, the etag is in the url so that if the propfind
  gives a new etag, we will refresh it otherwise it's no use to try to
  fetch the new etag and do tons of DB queries

Tested with firefox and 'debug' => false (important so that the js/css
urls are generated with ?v= parameter)

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2 years agoDon't redirect when loading files index page
Carl Schwan [Fri, 11 Feb 2022 21:26:25 +0000 (22:26 +0100)]
Don't redirect when loading files index page

Currently we are redirecting from ?dir=/&fileid=2 to ?dir=/. This is an
issue because we then need to load two pages with full file system setup
and authentification instead of one and the assets won't start loading
until the second page is delivered to the user.

Additionally when loading ?dir=/, we then change the url back to
?dir=/&fileid=2 (without reload) so that the next time we load the page
again we do the same thing again.

Depending on the speed of the server and internet connection we can save
100ms to 400ms, improving the user experience.

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2 years agohide download button for images 31253/head
szaimen [Mon, 14 Feb 2022 13:04:40 +0000 (14:04 +0100)]
hide download button for images

Signed-off-by: szaimen <szaimen@e.mail.de>
2 years agoMerge pull request #31226 from nextcloud/dependabot/npm_and_yarn/stable23/dompurify...
Carl Schwan [Thu, 17 Feb 2022 16:33:21 +0000 (17:33 +0100)]
Merge pull request #31226 from nextcloud/dependabot/npm_and_yarn/stable23/dompurify-2.3.6

Bump dompurify from 2.3.5 to 2.3.6

2 years agoMerge pull request #30967 from nextcloud/techdebt/noid/bump-samba-images
Côme Chilliet [Thu, 17 Feb 2022 15:37:25 +0000 (16:37 +0100)]
Merge pull request #30967 from nextcloud/techdebt/noid/bump-samba-images

[stable23] Bump samba images in tests

2 years agoBump samba images 30967/head
Joas Schilling [Wed, 2 Feb 2022 09:19:25 +0000 (10:19 +0100)]
Bump samba images

Signed-off-by: Joas Schilling <coding@schilljs.com>
2 years agoBump dompurify from 2.3.5 to 2.3.6 31226/head
dependabot[bot] [Wed, 16 Feb 2022 21:41:14 +0000 (21:41 +0000)]
Bump dompurify from 2.3.5 to 2.3.6

Bumps [dompurify](https://github.com/cure53/DOMPurify) from 2.3.5 to 2.3.6.
- [Release notes](https://github.com/cure53/DOMPurify/releases)
- [Commits](https://github.com/cure53/DOMPurify/compare/2.3.5...2.3.6)

---
updated-dependencies:
- dependency-name: dompurify
  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>
2 years agoMerge pull request #30852 from nextcloud/backport/30763/stable23
Vincent Petry [Thu, 17 Feb 2022 08:44:26 +0000 (09:44 +0100)]
Merge pull request #30852 from nextcloud/backport/30763/stable23

[stable23] Allow writing audit log to syslog and systemdlog

2 years agoAllow write audit log to syslog and systemdlog 30852/head
Joas Schilling [Wed, 19 Jan 2022 15:16:09 +0000 (16:16 +0100)]
Allow write audit log to syslog and systemdlog

Signed-off-by: Joas Schilling <coding@schilljs.com>
2 years agoAllow to get custom loggers for syslog, errorlog and systemdlog too
Joas Schilling [Wed, 19 Jan 2022 15:15:14 +0000 (16:15 +0100)]
Allow to get custom loggers for syslog, errorlog and systemdlog too

Signed-off-by: Joas Schilling <coding@schilljs.com>
2 years agoMerge pull request #31179 from nextcloud/backport/31090/stable23
Simon L [Wed, 16 Feb 2022 12:29:55 +0000 (13:29 +0100)]
Merge pull request #31179 from nextcloud/backport/31090/stable23

[stable23] fix overlapping buttons in apps-management

2 years agoMerge pull request #31204 from nextcloud/backport/31097/stable23
Louis [Wed, 16 Feb 2022 11:31:49 +0000 (12:31 +0100)]
Merge pull request #31204 from nextcloud/backport/31097/stable23

[stable23] Fix path handling when transferring incoming shares

2 years agohandle setupFS with null user 31098/head
Robin Appelman [Wed, 2 Feb 2022 15:25:47 +0000 (16:25 +0100)]
handle setupFS with null user

Signed-off-by: Robin Appelman <robin@icewind.nl>
2 years agodont mark fs as setup when no user is active
Robin Appelman [Tue, 1 Feb 2022 18:05:23 +0000 (19:05 +0100)]
dont mark fs as setup when no user is active

Signed-off-by: Robin Appelman <robin@icewind.nl>
2 years agofix fs cache test user setup
Robin Appelman [Tue, 1 Feb 2022 12:53:22 +0000 (13:53 +0100)]
fix fs cache test user setup

Signed-off-by: Robin Appelman <robin@icewind.nl>
2 years agopass user object during fs init
Robin Appelman [Tue, 1 Feb 2022 12:49:43 +0000 (13:49 +0100)]
pass user object during fs init

Signed-off-by: Robin Appelman <robin@icewind.nl>
2 years agoonly setup part of the filesystem for appdata requests
Robin Appelman [Mon, 31 Jan 2022 14:53:28 +0000 (15:53 +0100)]
only setup part of the filesystem for appdata requests

Signed-off-by: Robin Appelman <robin@icewind.nl>
2 years agoMerge pull request #31059 from nextcloud/backport/30973/stable23
Vincent Petry [Wed, 16 Feb 2022 10:30:42 +0000 (11:30 +0100)]
Merge pull request #31059 from nextcloud/backport/30973/stable23

[stable23] Allow specify a config prefix for another database connection

2 years agoMerge pull request #31084 from nextcloud/backport/31081/stable23
Vincent Petry [Wed, 16 Feb 2022 10:30:11 +0000 (11:30 +0100)]
Merge pull request #31084 from nextcloud/backport/31081/stable23

[stable23] Don't provide favorite activity settings

2 years agoMerge pull request #31120 from nextcloud/backport/31079/stable23
Vincent Petry [Wed, 16 Feb 2022 10:29:05 +0000 (11:29 +0100)]
Merge pull request #31120 from nextcloud/backport/31079/stable23

[stable23] Ignore contact interaction with self

2 years agoMerge pull request #31184 from nextcloud/backport/31170/stable23
Louis [Wed, 16 Feb 2022 10:26:07 +0000 (11:26 +0100)]
Merge pull request #31184 from nextcloud/backport/31170/stable23

[stable23] fix a broken tooltip

2 years agoMerge pull request #30998 from nextcloud/backport/30987/stable23
Louis [Wed, 16 Feb 2022 10:25:17 +0000 (11:25 +0100)]
Merge pull request #30998 from nextcloud/backport/30987/stable23

[stable23] show if the mail server settings are not set or verified

2 years agoMerge pull request #30949 from nextcloud/bugfix/noid/allow-to-disable-v1-authtokens
Vincent Petry [Wed, 16 Feb 2022 10:24:33 +0000 (11:24 +0100)]
Merge pull request #30949 from nextcloud/bugfix/noid/allow-to-disable-v1-authtokens

[stable23] Allow to disable AuthToken v1