]> source.dussan.org Git - nextcloud-server.git/log
nextcloud-server.git
2 years agoBump jquery from 3.5.1 to 3.6.0 29934/head
dependabot[bot] [Sat, 27 Nov 2021 02:05:23 +0000 (02:05 +0000)]
Bump jquery from 3.5.1 to 3.6.0

Bumps [jquery](https://github.com/jquery/jquery) from 3.5.1 to 3.6.0.
- [Release notes](https://github.com/jquery/jquery/releases)
- [Commits](https://github.com/jquery/jquery/compare/3.5.1...3.6.0)

---
updated-dependencies:
- dependency-name: jquery
  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>
2 years agoMerge pull request #29926 from nextcloud/fix/noid/short-accounts-data-value
John Molakvoæ [Fri, 26 Nov 2021 17:24:23 +0000 (18:24 +0100)]
Merge pull request #29926 from nextcloud/fix/noid/short-accounts-data-value

2 years agoObey col length of 255 to insert and search in accounts_data 29926/head
Arthur Schiwon [Fri, 26 Nov 2021 15:30:14 +0000 (16:30 +0100)]
Obey col length of 255 to insert and search in accounts_data

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2 years agoadd method to shorten a string to given byte size to Utils
Arthur Schiwon [Fri, 26 Nov 2021 15:21:40 +0000 (16:21 +0100)]
add method to shorten a string to given byte size to Utils

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2 years ago[tx-robot] updated from transifex
Nextcloud bot [Fri, 26 Nov 2021 02:46:04 +0000 (02:46 +0000)]
[tx-robot] updated from transifex

Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2 years agoMerge pull request #29871 from nextcloud/enh/dynamic-profile-visibility-dropdown...
Pytal [Fri, 26 Nov 2021 02:04:37 +0000 (18:04 -0800)]
Merge pull request #29871 from nextcloud/enh/dynamic-profile-visibility-dropdown-rows

2 years agoSet number of visibility dropdown rows dynamically 29871/head
Christopher Ng [Fri, 26 Nov 2021 00:51:57 +0000 (00:51 +0000)]
Set number of visibility dropdown rows dynamically

Signed-off-by: Christopher Ng <chrng8@gmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2 years agoMerge pull request #29893 from nextcloud/enh/28139/a11y
Pytal [Fri, 26 Nov 2021 00:50:21 +0000 (16:50 -0800)]
Merge pull request #29893 from nextcloud/enh/28139/a11y

2 years agoImprove accessibility 29893/head
Christopher Ng [Fri, 26 Nov 2021 00:16:02 +0000 (00:16 +0000)]
Improve accessibility

Signed-off-by: Christopher Ng <chrng8@gmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2 years agoMerge pull request #29906 from nextcloud/fix/strict_comp_for_redis
Vincent Petry [Thu, 25 Nov 2021 18:52:30 +0000 (19:52 +0100)]
Merge pull request #29906 from nextcloud/fix/strict_comp_for_redis

Use strict comparison to detect usage of redis cluster

2 years agoMerge pull request #29891 from nextcloud/enh/profile-status-margin
blizzz [Thu, 25 Nov 2021 16:27:16 +0000 (17:27 +0100)]
Merge pull request #29891 from nextcloud/enh/profile-status-margin

Adjust margin of user status on profile

2 years agoMerge pull request #29894 from nextcloud/fix/inactive-profile-parameter
blizzz [Thu, 25 Nov 2021 16:25:49 +0000 (17:25 +0100)]
Merge pull request #29894 from nextcloud/fix/inactive-profile-parameter

Fix inactive profile parameters being displayed in the Profile visibility section

2 years agoMerge pull request #29837 from nextcloud/fix/user_ldap-check-cache
Julius Härtl [Thu, 25 Nov 2021 15:33:52 +0000 (16:33 +0100)]
Merge pull request #29837 from nextcloud/fix/user_ldap-check-cache

2 years agoUse strict comparison to detect usage of redis cluster 29906/head
Louis Chemineau [Thu, 25 Nov 2021 15:19:42 +0000 (16:19 +0100)]
Use strict comparison to detect usage of redis cluster

Signed-off-by: Louis Chemineau <louis@chmn.me>
2 years agoMerge pull request #29895 from nextcloud/bugfix/noid/check-for-invalid-characters...
Julius Härtl [Thu, 25 Nov 2021 10:07:46 +0000 (11:07 +0100)]
Merge pull request #29895 from nextcloud/bugfix/noid/check-for-invalid-characters-before-trimming

Check for invalid characters before trimming

2 years agoCorrectly set the response after a ClientException as well 29895/head
Joas Schilling [Thu, 25 Nov 2021 08:07:46 +0000 (09:07 +0100)]
Correctly set the response after a ClientException as well

Signed-off-by: Joas Schilling <coding@schilljs.com>
2 years agoAdd an integration test
Joas Schilling [Thu, 25 Nov 2021 08:07:34 +0000 (09:07 +0100)]
Add an integration test

Signed-off-by: Joas Schilling <coding@schilljs.com>
2 years agoCheck for invalid characters before trimming
Joas Schilling [Thu, 25 Nov 2021 07:48:26 +0000 (08:48 +0100)]
Check for invalid characters before trimming

Signed-off-by: Joas Schilling <coding@schilljs.com>
2 years agoFix inactive profile parameters being returned 29894/head
Christopher Ng [Thu, 25 Nov 2021 05:01:18 +0000 (05:01 +0000)]
Fix inactive profile parameters being returned

Signed-off-by: Christopher Ng <chrng8@gmail.com>
2 years agoAdjust margin of status on profile 29891/head
Christopher Ng [Thu, 25 Nov 2021 01:37:54 +0000 (01:37 +0000)]
Adjust margin of status on profile

Signed-off-by: Christopher Ng <chrng8@gmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2 years ago[tx-robot] updated from transifex
Nextcloud bot [Thu, 25 Nov 2021 02:25:06 +0000 (02:25 +0000)]
[tx-robot] updated from transifex

Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2 years agoMerge pull request #29826 from nextcloud/fix/noid/fix-personal-settings
Julius Härtl [Wed, 24 Nov 2021 13:43:12 +0000 (14:43 +0100)]
Merge pull request #29826 from nextcloud/fix/noid/fix-personal-settings

2 years agoMerge pull request #29809 from nextcloud/dependabot/composer/build/integration/sabre...
MichaIng [Wed, 24 Nov 2021 13:42:35 +0000 (14:42 +0100)]
Merge pull request #29809 from nextcloud/dependabot/composer/build/integration/sabre/dav-4.2.0

Update sabre/dav requirement from 3.2.3 to 4.2.0 in /build/integration

2 years agoMerge pull request #29869 from nextcloud/fix/28139/hide-status-from-public
Vincent Petry [Wed, 24 Nov 2021 10:23:59 +0000 (11:23 +0100)]
Merge pull request #29869 from nextcloud/fix/28139/hide-status-from-public

Hide user status on profile from public

2 years agoMerge pull request #29864 from nextcloud/bugfix/noid/dav-propfind-ctime
Vincent Petry [Wed, 24 Nov 2021 10:20:12 +0000 (11:20 +0100)]
Merge pull request #29864 from nextcloud/bugfix/noid/dav-propfind-ctime

Allow to fetch the creation time of folders

2 years ago[tx-robot] updated from transifex
Nextcloud bot [Wed, 24 Nov 2021 02:25:52 +0000 (02:25 +0000)]
[tx-robot] updated from transifex

Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2 years agoPersonalsettings - remove marginLeft as it breaks the layout 29826/head
szaimen [Sun, 21 Nov 2021 14:44:01 +0000 (15:44 +0100)]
Personalsettings - remove marginLeft as it breaks the layout

Signed-off-by: szaimen <szaimen@e.mail.de>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2 years agoHide user status from public 29869/head
Christopher Ng [Tue, 23 Nov 2021 22:58:44 +0000 (22:58 +0000)]
Hide user status from public

Signed-off-by: Christopher Ng <chrng8@gmail.com>
2 years agoAllow to fetch the creation time of folders 29864/head
Julius Härtl [Tue, 23 Nov 2021 15:55:33 +0000 (16:55 +0100)]
Allow to fetch the creation time of folders

Signed-off-by: Julius Härtl <jus@bitgrid.net>
2 years agoUpdate sabre/dav requirement from 3.2.3 to 4.2.0 in /build/integration 29809/head
dependabot[bot] [Sat, 20 Nov 2021 02:04:51 +0000 (02:04 +0000)]
Update sabre/dav requirement from 3.2.3 to 4.2.0 in /build/integration

Updates the requirements on [sabre/dav](https://github.com/sabre-io/dav) to permit the latest version.
- [Release notes](https://github.com/sabre-io/dav/releases)
- [Changelog](https://github.com/sabre-io/dav/blob/master/CHANGELOG.md)
- [Commits](https://github.com/sabre-io/dav/compare/3.2.3...4.2.0)

---
updated-dependencies:
- dependency-name: sabre/dav
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
2 years agoMerge pull request #29432 from nextcloud/fix/support-php-8.1
Vincent Petry [Tue, 23 Nov 2021 14:41:20 +0000 (15:41 +0100)]
Merge pull request #29432 from nextcloud/fix/support-php-8.1

Support PHP 8.1 - First batch

2 years agoMerge pull request #29610 from nextcloud/fix/user_ldap-logger
Côme Chilliet [Tue, 23 Nov 2021 14:26:25 +0000 (15:26 +0100)]
Merge pull request #29610 from nextcloud/fix/user_ldap-logger

Get rid of user_ldap LogWrapper and use LoggerInterface

2 years agoMerge pull request #29791 from nextcloud/bugfix/noid/status-editing
Joas Schilling [Tue, 23 Nov 2021 13:36:10 +0000 (14:36 +0100)]
Merge pull request #29791 from nextcloud/bugfix/noid/status-editing

Fix multiple bugs with user status

2 years agoFix multiple bugs with user status 29791/head
Carl Schwan [Fri, 19 Nov 2021 14:09:05 +0000 (15:09 +0100)]
Fix multiple bugs with user status

* Fix editing the status while on a call, don't send a bogus request
* Clean backup user status when setting up a new status manually
* A bit more type hinting

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2 years agoMove back logger to protected in OCA\User_LDAP\User\User 29610/head
Côme Chilliet [Tue, 23 Nov 2021 10:06:14 +0000 (11:06 +0100)]
Move back logger to protected in OCA\User_LDAP\User\User

It was changed to private because of a bad copy/paste.

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2 years agoMerge pull request #29833 from nextcloud/fix/29340/fix-mobile-profilepage
szaimen [Tue, 23 Nov 2021 10:05:05 +0000 (11:05 +0100)]
Merge pull request #29833 from nextcloud/fix/29340/fix-mobile-profilepage

make profile page usable on mobile

2 years agoCheck LDAP upon user deletion instead of refusing based on cached information 29837/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 agoMerge pull request #29835 from nextcloud/bugfix/noid/fix-ipv4-mapped-ipv6-subnet
Vincent Petry [Tue, 23 Nov 2021 09:36:46 +0000 (10:36 +0100)]
Merge pull request #29835 from nextcloud/bugfix/noid/fix-ipv4-mapped-ipv6-subnet

Fix getting subnet of ipv4 mapped ipv6 addresses

2 years agoMerge pull request #29836 from nextcloud/fix/user_ldap-deletion
Vincent Petry [Tue, 23 Nov 2021 09:22:59 +0000 (10:22 +0100)]
Merge pull request #29836 from nextcloud/fix/user_ldap-deletion

Make sure mapping cache is cleared when deleting a user

2 years agomake profile page usable on mobile 29833/head
szaimen [Mon, 22 Nov 2021 12:17:40 +0000 (13:17 +0100)]
make profile page usable on mobile

Signed-off-by: szaimen <szaimen@e.mail.de>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2 years agoFix default value for $type in OC\DB\QueryBuilder\ExpressionBuilder\ExpressionBuilder... 29432/head
Côme Chilliet [Thu, 21 Oct 2021 10:41:01 +0000 (12:41 +0200)]
Fix default value for $type in OC\DB\QueryBuilder\ExpressionBuilder\ExpressionBuilder::literal

This fixes PHP errors about passing null to PDO::quote second parameter.
We may want to change IExpressionBuilder as well?

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2 years agoFix errors from files applications tests on PHP 8.1
Côme Chilliet [Mon, 25 Oct 2021 14:43:09 +0000 (16:43 +0200)]
Fix errors from files applications tests on PHP 8.1

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2 years agoFix dav application tests and code for PHP 8.1
Côme Chilliet [Mon, 25 Oct 2021 14:41:15 +0000 (16:41 +0200)]
Fix dav application tests and code for PHP 8.1

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2 years agoFix errors in AvatarController when data() returns null
Côme Chilliet [Mon, 25 Oct 2021 14:17:27 +0000 (16:17 +0200)]
Fix errors in AvatarController when data() returns null

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2 years agoFix tests and avoid PHP errors in them
Côme Chilliet [Mon, 25 Oct 2021 14:16:55 +0000 (16:16 +0200)]
Fix tests and avoid PHP errors in them

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2 years agoMake mock config return default value to fix warnings
Côme Chilliet [Mon, 25 Oct 2021 12:54:42 +0000 (14:54 +0200)]
Make mock config return default value to fix warnings

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2 years agoFix TempManager test errors about passing null to is_dir
Côme Chilliet [Mon, 25 Oct 2021 12:35:57 +0000 (14:35 +0200)]
Fix TempManager test errors about passing null to is_dir

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2 years agoFix warning about passing null to substr_count
Côme Chilliet [Mon, 25 Oct 2021 12:33:19 +0000 (14:33 +0200)]
Fix warning about passing null to substr_count

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2 years agoFix warning about passing null to rtrim
Côme Chilliet [Mon, 25 Oct 2021 12:25:49 +0000 (14:25 +0200)]
Fix warning about passing null to rtrim

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2 years agoFix Encryption tests on PHP 8.1
Côme Chilliet [Mon, 25 Oct 2021 10:33:56 +0000 (12:33 +0200)]
Fix Encryption tests on PHP 8.1

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2 years agoFix FolderTest calls to Mountpoint constructor with wrong type
Côme Chilliet [Mon, 25 Oct 2021 08:35:08 +0000 (10:35 +0200)]
Fix FolderTest calls to Mountpoint constructor with wrong type

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2 years agoFix type errors
Côme Chilliet [Thu, 21 Oct 2021 14:58:59 +0000 (16:58 +0200)]
Fix type errors

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2 years agoFix DateTime constructor calls with null
Côme Chilliet [Thu, 21 Oct 2021 14:58:03 +0000 (16:58 +0200)]
Fix DateTime constructor calls with null

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2 years agoFix test class names
Côme Chilliet [Thu, 21 Oct 2021 13:21:34 +0000 (15:21 +0200)]
Fix test class names

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2 years agoFix Guzzle function calls
Côme Chilliet [Thu, 21 Oct 2021 10:37:51 +0000 (12:37 +0200)]
Fix Guzzle function calls

Since 1.7.0 and 2.0 these functions are turned into static methods.
See https://github.com/guzzle/psr7#upgrading-from-function-api

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2 years agoFix Iterator return types
Côme Chilliet [Thu, 21 Oct 2021 10:44:47 +0000 (12:44 +0200)]
Fix Iterator return types

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2 years agoFix ArrayAccess and JsonSerializable return types
Côme Chilliet [Tue, 19 Oct 2021 15:11:53 +0000 (17:11 +0200)]
Fix ArrayAccess and JsonSerializable return types

First round of modifications for PHP 8.1

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2 years ago[tx-robot] updated from transifex
Nextcloud bot [Tue, 23 Nov 2021 02:25:56 +0000 (02:25 +0000)]
[tx-robot] updated from transifex

Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2 years agoMerge pull request #29544 from nextcloud/fix/profile-page-wording
Pytal [Tue, 23 Nov 2021 01:22:53 +0000 (17:22 -0800)]
Merge pull request #29544 from nextcloud/fix/profile-page-wording

2 years agoMerge pull request #29567 from nextcloud/enh/sort-profile-visibility-dropdowns
Pytal [Tue, 23 Nov 2021 01:21:18 +0000 (17:21 -0800)]
Merge pull request #29567 from nextcloud/enh/sort-profile-visibility-dropdowns

2 years agoFix wording on profile page 29544/head
Christopher Ng [Thu, 4 Nov 2021 01:14:24 +0000 (01:14 +0000)]
Fix wording on profile page

Signed-off-by: Christopher Ng <chrng8@gmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2 years agoImprove sorting 29567/head
Christopher Ng [Thu, 4 Nov 2021 22:34:12 +0000 (22:34 +0000)]
Improve sorting
- Extract sort logic into a separate function
- Sort non-core parameters with localeCompare

Signed-off-by: Christopher Ng <chrng8@gmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2 years agoType hint in IpAddress 29835/head
Vincent Petry [Mon, 22 Nov 2021 16:36:26 +0000 (17:36 +0100)]
Type hint in IpAddress

Signed-off-by: Vincent Petry <vincent@nextcloud.com>
Co-authored-by: Côme Chilliet <91878298+come-nc@users.noreply.github.com>
2 years agoImprove normalizer detecting IPv4 inside of IPv6
Vincent Petry [Mon, 22 Nov 2021 14:53:41 +0000 (15:53 +0100)]
Improve normalizer detecting IPv4 inside of IPv6

The subnet for an IPv4 address inside of IPv6 is now returned in its
IPv4 form.

Signed-off-by: Vincent Petry <vincent@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 agoTest cache invalidation for AbstractMapping in test suite 29836/head
Côme Chilliet [Mon, 22 Nov 2021 13:57:08 +0000 (14:57 +0100)]
Test cache invalidation for AbstractMapping in test suite

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2 years agoMake sure mapping cache is cleared when deleting a user
Côme Chilliet [Mon, 22 Nov 2021 13:49:34 +0000 (14:49 +0100)]
Make sure mapping cache is cleared when deleting a user

This avoids phantom remnants staying after user deletion

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2 years agoFix getting subnet of ipv4 mapped ipv6 addresses
Vincent Petry [Mon, 22 Nov 2021 13:01:41 +0000 (14:01 +0100)]
Fix getting subnet of ipv4 mapped ipv6 addresses

Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2 years agoMerge pull request #29808 from nextcloud/dependabot/npm_and_yarn/marked-4.0.4
Louis [Mon, 22 Nov 2021 09:39:14 +0000 (10:39 +0100)]
Merge pull request #29808 from nextcloud/dependabot/npm_and_yarn/marked-4.0.4

Bump marked from 4.0.2 to 4.0.4

2 years ago[tx-robot] updated from transifex
Nextcloud bot [Mon, 22 Nov 2021 02:45:29 +0000 (02:45 +0000)]
[tx-robot] updated from transifex

Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2 years agoMerge pull request #29708 from nextcloud/fix/no-app-update-no-verbose
MichaIng [Mon, 22 Nov 2021 02:22:36 +0000 (03:22 +0100)]
Merge pull request #29708 from nextcloud/fix/no-app-update-no-verbose

Do not print verbose info about app updates if there are none

2 years ago[tx-robot] updated from transifex
Nextcloud bot [Sun, 21 Nov 2021 02:25:22 +0000 (02:25 +0000)]
[tx-robot] updated from transifex

Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2 years agoMerge pull request #29814 from nextcloud/dependabot/npm_and_yarn/camelcase-6.2.1
dependabot[bot] [Sat, 20 Nov 2021 05:44:01 +0000 (05:44 +0000)]
Merge pull request #29814 from nextcloud/dependabot/npm_and_yarn/camelcase-6.2.1

2 years agoBump camelcase from 6.2.0 to 6.2.1 29814/head
dependabot[bot] [Sat, 20 Nov 2021 03:57:02 +0000 (03:57 +0000)]
Bump camelcase from 6.2.0 to 6.2.1

Bumps [camelcase](https://github.com/sindresorhus/camelcase) from 6.2.0 to 6.2.1.
- [Release notes](https://github.com/sindresorhus/camelcase/releases)
- [Commits](https://github.com/sindresorhus/camelcase/compare/v6.2.0...v6.2.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2 years ago[tx-robot] updated from transifex
Nextcloud bot [Sat, 20 Nov 2021 02:42:05 +0000 (02:42 +0000)]
[tx-robot] updated from transifex

Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2 years agoBump marked from 4.0.2 to 4.0.4 29808/head
dependabot[bot] [Sat, 20 Nov 2021 02:04:11 +0000 (02:04 +0000)]
Bump marked from 4.0.2 to 4.0.4

Bumps [marked](https://github.com/markedjs/marked) from 4.0.2 to 4.0.4.
- [Release notes](https://github.com/markedjs/marked/releases)
- [Changelog](https://github.com/markedjs/marked/blob/master/.releaserc.json)
- [Commits](https://github.com/markedjs/marked/compare/v4.0.2...v4.0.4)

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

Signed-off-by: dependabot[bot] <support@github.com>
2 years agoMerge pull request #29622 from nextcloud/feat/objectstore_multibucket-shift
Vincent Petry [Fri, 19 Nov 2021 16:26:44 +0000 (17:26 +0100)]
Merge pull request #29622 from nextcloud/feat/objectstore_multibucket-shift

Implement multibucket shift for ObjectStore

2 years agoMerge pull request #29632 from nextcloud/fix/26118/imagecreatetruecolor-error
Vincent Petry [Fri, 19 Nov 2021 16:24:50 +0000 (17:24 +0100)]
Merge pull request #29632 from nextcloud/fix/26118/imagecreatetruecolor-error

fix imagecreatetruecolor() error

2 years agoMerge pull request #29758 from nextcloud/disk_free_space-fix-php8
Vincent Petry [Fri, 19 Nov 2021 16:14:08 +0000 (17:14 +0100)]
Merge pull request #29758 from nextcloud/disk_free_space-fix-php8

Check for `disk_free_space`

2 years agoMerge pull request #29788 from nextcloud/bugfix/noid/settings-sharing-heading-doc...
Vincent Petry [Fri, 19 Nov 2021 15:51:39 +0000 (16:51 +0100)]
Merge pull request #29788 from nextcloud/bugfix/noid/settings-sharing-heading-doc-link

Fix doc link in sharing settings

2 years agoMerge pull request #29605 from nextcloud/bugfix/29603/fix-scanner-nfd-existenz
Vincent Petry [Fri, 19 Nov 2021 14:29:05 +0000 (15:29 +0100)]
Merge pull request #29605 from nextcloud/bugfix/29603/fix-scanner-nfd-existenz

Normalize file name before existence check in scanner

2 years agoMerge pull request #27266 from nextcloud/dependabot/npm_and_yarn/jquery-3.6.0
dependabot[bot] [Fri, 19 Nov 2021 14:28:23 +0000 (14:28 +0000)]
Merge pull request #27266 from nextcloud/dependabot/npm_and_yarn/jquery-3.6.0

2 years agoMerge pull request #29784 from nextcloud/bugfix/noid/app-summary-is-optional
szaimen [Fri, 19 Nov 2021 14:06:36 +0000 (15:06 +0100)]
Merge pull request #29784 from nextcloud/bugfix/noid/app-summary-is-optional

App summary is optional

2 years agoFix doc link in sharing settings 29788/head
Vincent Petry [Fri, 19 Nov 2021 13:58:44 +0000 (14:58 +0100)]
Fix doc link in sharing settings

The doc link "i" icon was on the wrong line.

Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2 years agoFix mainfileinfodetailsview appending 27266/head
Vincent Petry [Thu, 28 Oct 2021 07:43:04 +0000 (09:43 +0200)]
Fix mainfileinfodetailsview appending

Since the jquery update to 3.5.0, it seems Handlebars doesn't correctly
render self-closed elements. This fixes mainfileinfodetailsview template
to not use self-closed elements and fixes the JS unit tests.

Signed-off-by: Vincent Petry <vincent@nextcloud.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2 years agoApp summary is optional 29784/head
Joas Schilling [Fri, 19 Nov 2021 13:02:03 +0000 (14:02 +0100)]
App summary is optional

Fixing:
Error: Undefined index: summary at /var/www/html/apps/theming/lib/Controller/ThemingController.php#392

Signed-off-by: Joas Schilling <coding@schilljs.com>
2 years ago[tx-robot] updated from transifex
Nextcloud bot [Fri, 19 Nov 2021 02:38:13 +0000 (02:38 +0000)]
[tx-robot] updated from transifex

Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2 years agoFix action share icon markup
Vincent Petry [Wed, 27 Oct 2021 07:38:26 +0000 (09:38 +0200)]
Fix action share icon markup

Expanded the empty span tag to resolve issue with wrong appending done
by either handlebars or jquery.

Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2 years agoBump jquery from 3.3.1 to 3.6.0
dependabot[bot] [Mon, 18 Oct 2021 20:58:09 +0000 (20:58 +0000)]
Bump jquery from 3.3.1 to 3.6.0

Bumps [jquery](https://github.com/jquery/jquery) from 3.3.1 to 3.6.0.
- [Release notes](https://github.com/jquery/jquery/releases)
- [Commits](https://github.com/jquery/jquery/compare/3.3.1...3.6.0)

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: npmbuildbot-nextcloud[bot] <npmbuildbot-nextcloud[bot]@users.noreply.github.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2 years agoCheck for `disk_free_space` 29758/head
acsfer [Thu, 18 Nov 2021 10:46:13 +0000 (11:46 +0100)]
Check for `disk_free_space`

Check for `disk_free_space` before calling it.
Fix https://github.com/nextcloud/server/issues/29748

2 years agoMerge pull request #29752 from nextcloud/fix/allow-some-pages-without-two-factor
Joas Schilling [Thu, 18 Nov 2021 09:43:28 +0000 (10:43 +0100)]
Merge pull request #29752 from nextcloud/fix/allow-some-pages-without-two-factor

Explicitly allow access on some (public) routes also without 2FA

2 years agoDo not print verbose info about app updates if there are none 29708/head
Christoph Wurst [Mon, 15 Nov 2021 13:34:09 +0000 (14:34 +0100)]
Do not print verbose info about app updates if there are none

This is cosmetical but if you have a large number of apps installed then
you'll see a wall of text during the server and app upgrade when it
tries to update each app via the app store. In may cases nothing will be
updated. For those boring cases we can hide the verbose info, but show
when occ is run with -v. Any actual update will still print a few lines.
Those are the important ones for the admin.

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2 years ago[tx-robot] updated from transifex
Nextcloud bot [Thu, 18 Nov 2021 02:25:38 +0000 (02:25 +0000)]
[tx-robot] updated from transifex

Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2 years agoExplicitly allow some routes without 2FA 29752/head
Christoph Wurst [Wed, 17 Nov 2021 17:42:21 +0000 (18:42 +0100)]
Explicitly allow some routes without 2FA

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2 years agoMerge pull request #29747 from nextcloud/allow-to-serve-static-webassembly-and-tensor...
Joas Schilling [Wed, 17 Nov 2021 14:09:21 +0000 (15:09 +0100)]
Merge pull request #29747 from nextcloud/allow-to-serve-static-webassembly-and-tensorflow-lite-files

Allow to serve static WebAssembly and TensorFlow Lite files

2 years agoAllow to serve static WebAssembly and TensorFlow Lite files 29747/head
Daniel Calviño Sánchez [Wed, 17 Nov 2021 11:30:12 +0000 (12:30 +0100)]
Allow to serve static WebAssembly and TensorFlow Lite files

Since Talk 13 (and thus Nextcloud 23) WebAssembly (.wasm) and TensorFlow
Lite (.tflite) files need to be loaded from the web server to provide
certain features (like the background blur in the WebUI).

Those files can be treated in a similar way to other static resources,
and there should not be any problem caching or compressing them.
However, as compressed TensorFlow Lite files are only ~12% smaller,
the compression directive depends on the MIME type and there is no
standard MIME type for TensorFlow Lite files it is not worth to compress
them.

Moreover, no directives to compress WebAssembly files were added either,
as it seems that they would override any other compression directives
set in the default server configuration; for reference it could be done
with something like:
<IfModule mod_deflate.c>
  <IfModule mod_filter.c>
    AddOutputFilterByType DEFLATE application/wasm
  </IfModule>
</IfModule>

Depending on the setup "application/wasm" may not be associated with
".wasm" files, so the directive was added just in case, as otherwise
browsers log a warning.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2 years agoMerge pull request #29734 from nextcloud/rakekniven-patch-2
Vincent Petry [Wed, 17 Nov 2021 11:02:51 +0000 (12:02 +0100)]
Merge pull request #29734 from nextcloud/rakekniven-patch-2

Fixed grammar

2 years agoNormalize directory entries in Encoding wrapper 29605/head
Vincent Petry [Wed, 17 Nov 2021 08:19:10 +0000 (09:19 +0100)]
Normalize directory entries in Encoding wrapper

Directory entry file names are now normalized in getMetaData(),
getDirectoryContents() and opendir().

This makes the scanner work properly as it assumes pre-normalized names.

In case the names were not normalized, the scanner will now skip the
entries and display a warning when applicable.

Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2 years agoMove storage encoding compatibility warning logic
Vincent Petry [Wed, 10 Nov 2021 14:09:25 +0000 (15:09 +0100)]
Move storage encoding compatibility warning logic

The encoding check for file names is now happening the Scanner, and an
event will be emitted only if the storage doesn't contain the encoding
compatibility wrapper.

The event is listened to by the occ scan command to be able to display a
warning in case of file name mismatches when they have NFD encoding.

Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2 years agoNormalize file name before existence check in scanner
Vincent Petry [Tue, 9 Nov 2021 10:56:10 +0000 (11:56 +0100)]
Normalize file name before existence check in scanner

The scanner would not find a NFD-encoded file name in an
existing file list that is normalized.

This normalizes the file name before scanning.

Fixes issues where scanning repeatedly would make NFD files flicker in
and out of existence in the file cache.

Signed-off-by: Vincent Petry <vincent@nextcloud.com>