]> source.dussan.org Git - nextcloud-server.git/log
nextcloud-server.git
2 years agoAdd the Groupware Team as contactsinteraction co-maintainer 30431/head
Christoph Wurst [Mon, 27 Dec 2021 14:52:02 +0000 (15:52 +0100)]
Add the Groupware Team as contactsinteraction co-maintainer

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2 years agoFix rendering app authors with homepage or email
Christoph Wurst [Mon, 27 Dec 2021 11:27:50 +0000 (12:27 +0100)]
Fix rendering app authors with homepage or email

When the first author of an app doesn't have homepage/email attributes
set in info.xml then any further author was rendered as `[object
Object]` due to the complex XML node seralized to a JavaScript string.
The logic was fixed so that it converts any of the authors to simple
text.

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2 years agoMerge pull request #30449 from nextcloud/backport/30440/stable23
Louis [Mon, 3 Jan 2022 09:42:26 +0000 (10:42 +0100)]
Merge pull request #30449 from nextcloud/backport/30440/stable23

[stable23] Make sure to get file model in template picker

2 years agoMerge pull request #30462 from nextcloud/backport/30409/stable23
Carl Schwan [Mon, 3 Jan 2022 07:56:35 +0000 (08:56 +0100)]
Merge pull request #30462 from nextcloud/backport/30409/stable23

[stable23] Allow using composer plugin with composer 2.2

2 years agoIgnore composer/bin 30462/head
Julius Härtl [Thu, 30 Dec 2021 12:57:56 +0000 (13:57 +0100)]
Ignore composer/bin

Signed-off-by: Julius Härtl <jus@bitgrid.net>
2 years agoAllow using composer plugin with composer 2.2
Julius Härtl [Mon, 27 Dec 2021 08:57:29 +0000 (09:57 +0100)]
Allow using composer plugin with composer 2.2

Signed-off-by: Julius Härtl <jus@bitgrid.net>
2 years agoMerge pull request #30455 from nextcloud/backport/30420/stable23
Simon L [Fri, 31 Dec 2021 17:07:23 +0000 (18:07 +0100)]
Merge pull request #30455 from nextcloud/backport/30420/stable23

[stable23] improve status modal

2 years agoimprove status modal 30455/head
szaimen [Tue, 28 Dec 2021 11:38:22 +0000 (12:38 +0100)]
improve status modal

Signed-off-by: szaimen <szaimen@e.mail.de>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2 years agofix template picker for file actions using the fileInfoModel 30449/head
Julien Veyssier [Wed, 29 Dec 2021 13:54:40 +0000 (14:54 +0100)]
fix template picker for file actions using the fileInfoModel

Signed-off-by: Julien Veyssier <eneiluj@posteo.net>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2 years agoMerge pull request #30343 from nextcloud/backport/29329/stable23
Louis [Thu, 30 Dec 2021 10:04:39 +0000 (11:04 +0100)]
Merge pull request #30343 from nextcloud/backport/29329/stable23

[stable23] fix potential unwarranted memberships in nested groups from LDAP

2 years agoMerge pull request #30315 from nextcloud/backport/30266/stable23
Louis [Thu, 30 Dec 2021 09:57:01 +0000 (10:57 +0100)]
Merge pull request #30315 from nextcloud/backport/30266/stable23

[stable23] Fix share owner not being displayed in sharing tab

2 years agoMerge pull request #30443 from nextcloud/backport/30353/stable23
John Molakvoæ [Thu, 30 Dec 2021 07:12:01 +0000 (08:12 +0100)]
Merge pull request #30443 from nextcloud/backport/30353/stable23

2 years agoHandle external share with invalid host 30443/head
Carl Schwan [Mon, 20 Dec 2021 14:20:52 +0000 (15:20 +0100)]
Handle external share with invalid host

remoteIsOwnCloud might throw an exception when the host is localhost.
Handle this case instead of aborting completely. The behavior is the
same as that is done 10 lines under it

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2 years agoMerge pull request #30390 from nextcloud/backport/28438/stable23
Julius Härtl [Wed, 29 Dec 2021 09:52:39 +0000 (10:52 +0100)]
Merge pull request #30390 from nextcloud/backport/28438/stable23

2 years agoMerge pull request #30411 from nextcloud/backport/30364/stable23
Simon L [Mon, 27 Dec 2021 22:54:38 +0000 (23:54 +0100)]
Merge pull request #30411 from nextcloud/backport/30364/stable23

[stable23] improve personal settings on mobile

2 years agoimprove personal settings on mobile 30411/head
szaimen [Tue, 21 Dec 2021 12:06:10 +0000 (13:06 +0100)]
improve personal settings on mobile

Signed-off-by: szaimen <szaimen@e.mail.de>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2 years agoDon't die with LockedException when removing/restoring multiple files from trash 30390/head
Sven Strickroth [Sun, 15 Aug 2021 16:58:16 +0000 (18:58 +0200)]
Don't die with LockedException when removing/restoring multiple files from trash

fixes issue #16491

Signed-off-by: Sven Strickroth <email@cs-ware.de>
2 years agoMerge pull request #30356 from nextcloud/backport/30305/stable23
John Molakvoæ [Tue, 21 Dec 2021 10:17:06 +0000 (11:17 +0100)]
Merge pull request #30356 from nextcloud/backport/30305/stable23

2 years agoMerge pull request #30026 from nextcloud/backport/30013/stable23
Joas Schilling [Tue, 21 Dec 2021 08:38:20 +0000 (09:38 +0100)]
Merge pull request #30026 from nextcloud/backport/30013/stable23

[stable23] Don't query the bruteforce attempts when we just deleted them

2 years agoFix persistent tooltip in the "new folder" input of the file picker 30356/head
Daniel Calviño Sánchez [Fri, 17 Dec 2021 06:24:38 +0000 (07:24 +0100)]
Fix persistent tooltip in the "new folder" input of the file picker

When a new folder is tried to be created in the file picker dialog a
tooltip is shown on the input if the folder name exists already.
However, this tooltip was not cleared, so it was still shown even if the
name was fixed, the folder was created and then the "New folder" input
was shown again.

Now the tooltip is cleared as soon as the input changes, as keeping it
shown in that case did not provide any benefit either (and it is
consistent with how the "new folder" input works in the Files app view).

The input is also cleared whenever the menu that shows the input is
opened again, as otherwise the tooltip would be still shown if the menu
was closed and opened again without changing the input (and the menu
could be opened again after changing to another directory where the new
folder name is no longer duplicated).

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2 years agoMerge pull request #30344 from nextcloud/backport/30322/stable23
Louis [Mon, 20 Dec 2021 10:32:02 +0000 (11:32 +0100)]
Merge pull request #30344 from nextcloud/backport/30322/stable23

[stable23] fix overlapping in the help settings section

2 years agoMerge pull request #29965 from nextcloud/backport/29470/stable23
Côme Chilliet [Mon, 20 Dec 2021 09:54:25 +0000 (10:54 +0100)]
Merge pull request #29965 from nextcloud/backport/29470/stable23

[stable23] Avoid use of iconv to get rid of unicode

2 years agofix overlapping in the help settings section 30344/head
szaimen [Fri, 17 Dec 2021 20:35:46 +0000 (21:35 +0100)]
fix overlapping in the help settings section

Signed-off-by: szaimen <szaimen@e.mail.de>
2 years agofix potential unwarranted memberships in nested groups from LDAP 30343/head
Arthur Schiwon [Tue, 19 Oct 2021 20:00:13 +0000 (22:00 +0200)]
fix potential unwarranted memberships in nested groups from LDAP

- the issue was present only when using PHP based resolving of nested
  group members. Normally nested members are common in AD (and Samba4) and
  are resolved per LDAP_MATCHING_RULE_IN_CHAIN by default
- resolving nested members is recursive
- when the cache entry was created it happend for intermediate groups, too,
  containing members from the parent group
- the check was added to only cache the root group with its members
- a runtime cache stores intermediate ldap read results

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2 years ago[stable23] Avoid use of iconv to get rid of unicode 29965/head
Côme Chilliet [Mon, 29 Nov 2021 16:02:25 +0000 (17:02 +0100)]
[stable23] Avoid use of iconv to get rid of unicode

Using iconv for translit depends upon server configuration, locale, and
 PHP version. Using htmlentities instead to have a consistent behavior
 independent of configuration.

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
Co-authored-by: MichaIng <micha@dietpi.com>
2 years agoMerge pull request #30252 from nextcloud/backport/30193/stable23
MichaIng [Sun, 19 Dec 2021 18:41:20 +0000 (19:41 +0100)]
Merge pull request #30252 from nextcloud/backport/30193/stable23

[stable23] Fix setting up 2FA when no providers are set up but backup codes

2 years agoMerge pull request #30301 from nextcloud/backport/30119/stable23
MichaIng [Sun, 19 Dec 2021 18:39:23 +0000 (19:39 +0100)]
Merge pull request #30301 from nextcloud/backport/30119/stable23

[stable23] Use proper translation source for direct editing

2 years agoMerge pull request #30306 from nextcloud/backport/30281/stable23
MichaIng [Sun, 19 Dec 2021 18:37:21 +0000 (19:37 +0100)]
Merge pull request #30306 from nextcloud/backport/30281/stable23

[stable23] Ignore non-existing groups when notifying group shares

2 years agoMerge pull request #30325 from nextcloud/dependabot/composer/build/integration/stable...
dependabot[bot] [Sat, 18 Dec 2021 05:34:16 +0000 (05:34 +0000)]
Merge pull request #30325 from nextcloud/dependabot/composer/build/integration/stable23/sabre/dav-4.3.0

2 years agoUpdate sabre/dav requirement from 4.2.3 to 4.3.0 in /build/integration 30325/head
dependabot[bot] [Sat, 18 Dec 2021 04:05:40 +0000 (04:05 +0000)]
Update sabre/dav requirement from 4.2.3 to 4.3.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/4.2.3...4.3.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2 years agoFix share owner not being displayed in sharing tab 30315/head
Carl Schwan [Tue, 14 Dec 2021 12:30:14 +0000 (13:30 +0100)]
Fix share owner not being displayed in sharing tab

This only concerns subfolder and files inside a shared folder and is
used as fallback when the OCS api returns a empty result, because it
only works on the shared folder and not the content inside of it.
This unify the tab with the folder list.

This offers a less descriptive share information but making the
OCS api returns all the details even for the subfolder would very
probably be bad for performance (since we would need to fetch the shares
for all the parent folders until we found one or are in the root folder).

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2 years agoDiscard share notification for non-existing groups 30306/head
Vincent Petry [Wed, 15 Dec 2021 13:25:39 +0000 (14:25 +0100)]
Discard share notification for non-existing groups

Group shares might exist even after a group got deleted.

This fix catches the situation and discards the notification for the
obsolete group.

Signed-off-by: Vincent Petry <vincent@nextcloud.com>
Co-authored-by: Joas Schilling <coding@schilljs.com>
2 years agofix translation source in directEditing templates 30301/head
Azul [Thu, 16 Dec 2021 15:28:58 +0000 (16:28 +0100)]
fix translation source in directEditing templates

The 'Empty file' string is translated in `lib` - not in `core`.

Signed-off-by: Azul <azul@riseup.net>
2 years agoMerge pull request #30289 from nextcloud/backport/30256/stable23
Louis [Thu, 16 Dec 2021 09:58:14 +0000 (10:58 +0100)]
Merge pull request #30289 from nextcloud/backport/30256/stable23

[stable23] Fix ShareLink Upload UI for Folders

2 years agoMerge pull request #30272 from nextcloud/backport/30254/stable23
Pytal [Thu, 16 Dec 2021 01:35:19 +0000 (17:35 -0800)]
Merge pull request #30272 from nextcloud/backport/30254/stable23

2 years agoMigrate profile_config id column to bigint 30272/head
Christopher Ng [Mon, 13 Dec 2021 19:54:25 +0000 (19:54 +0000)]
Migrate profile_config id column to bigint

Signed-off-by: Christopher Ng <chrng8@gmail.com>
2 years agoCompile assets 30289/head
nextcloud-command [Wed, 15 Dec 2021 19:10:23 +0000 (19:10 +0000)]
Compile assets

Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2 years agoFix ShareLink Upload UI for Folders
Jonas Rittershofer [Tue, 14 Dec 2021 00:02:04 +0000 (01:02 +0100)]
Fix ShareLink Upload UI for Folders

Do not show the Upload-Option if it is not allowed to check.

Signed-off-by: Jonas Rittershofer <jotoeri@users.noreply.github.com>
2 years agoUse bigint for autoincremented column
Christopher Ng [Mon, 13 Dec 2021 19:51:48 +0000 (19:51 +0000)]
Use bigint for autoincremented column

Signed-off-by: Christopher Ng <chrng8@gmail.com>
2 years agoMerge pull request #30267 from nextcloud/backport/30048/stable23
Christoph Wurst [Tue, 14 Dec 2021 15:08:30 +0000 (16:08 +0100)]
Merge pull request #30267 from nextcloud/backport/30048/stable23

[stable23] Carefully filter out non matching time ranges for CalDAV search

2 years agoCarefully filter out non matching time ranges for CalDAV search 30267/head
Christoph Wurst [Thu, 2 Dec 2021 14:06:05 +0000 (15:06 +0100)]
Carefully filter out non matching time ranges for CalDAV search

When we search for CalDAV objects in the DB we take the first and last
occurence into account. For recurring events that is when they take
place the very first time and the very last time. Searching in a more
specific time range will still match this condition, because the
recurring event starts before the end of the requested range but ends
after the start of the requested range.

Sabre has filters for this. If we apply them on all seach objects of a
search with a time range, then only the recurring events actually taking
place at the time of the requested time range will be returned.

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2 years agoMerge pull request #30238 from nextcloud/backport/29523/stable23
Côme Chilliet [Tue, 14 Dec 2021 12:15:23 +0000 (13:15 +0100)]
Merge pull request #30238 from nextcloud/backport/29523/stable23

Support LDAP dn longer than 255 characters

2 years agoFix setting up 2FA when no providers are set up but backup codes 30252/head
Christoph Wurst [Fri, 10 Dec 2021 10:35:36 +0000 (11:35 +0100)]
Fix setting up 2FA when no providers are set up but backup codes

2FA set up is allowed when only backup codes are set up but no other
provider and no provider is failing.

This patch syncs up the login controller check with the challenge
controller check 10 lines above.

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2 years agoMerge pull request #30236 from nextcloud/backport/30200/stable23
MichaIng [Mon, 13 Dec 2021 14:20:40 +0000 (15:20 +0100)]
Merge pull request #30236 from nextcloud/backport/30200/stable23

[stable23] Don't check the configvalue for lastLogin which is never null

2 years agoMerge pull request #30245 from nextcloud/backport/30156/stable23
MichaIng [Mon, 13 Dec 2021 14:19:36 +0000 (15:19 +0100)]
Merge pull request #30245 from nextcloud/backport/30156/stable23

[stable23] Only wildcard search if enumeration is allowed

2 years agoMake psalm more happy 30245/head
Joas Schilling [Thu, 9 Dec 2021 08:25:50 +0000 (09:25 +0100)]
Make psalm more happy

Signed-off-by: Joas Schilling <coding@schilljs.com>
2 years agoFix docs to make Psalm happier
Joas Schilling [Thu, 9 Dec 2021 08:18:53 +0000 (09:18 +0100)]
Fix docs to make Psalm happier

Signed-off-by: Joas Schilling <coding@schilljs.com>
2 years agoConvert strict_search to wildcard property and add psalm docs
Joas Schilling [Wed, 8 Dec 2021 17:53:54 +0000 (18:53 +0100)]
Convert strict_search to wildcard property and add psalm docs

Signed-off-by: Joas Schilling <coding@schilljs.com>
2 years agoLimit more contact searches
Joas Schilling [Wed, 8 Dec 2021 16:26:30 +0000 (17:26 +0100)]
Limit more contact searches

Signed-off-by: Joas Schilling <coding@schilljs.com>
2 years agoOnly limit search in the system address book
Joas Schilling [Wed, 8 Dec 2021 15:59:32 +0000 (16:59 +0100)]
Only limit search in the system address book

Signed-off-by: Joas Schilling <coding@schilljs.com>
2 years agoOnly wildcard search if enumeration is allowed
Joas Schilling [Wed, 8 Dec 2021 15:40:39 +0000 (16:40 +0100)]
Only wildcard search if enumeration is allowed

Signed-off-by: Joas Schilling <coding@schilljs.com>
2 years agoBump user_ldap version to make sure the migration runs 30238/head
Côme Chilliet [Thu, 9 Dec 2021 16:42:44 +0000 (17:42 +0100)]
Bump user_ldap version to make sure the migration runs

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2 years agoDon't check the configvalue for lastLogin which is never null 30236/head
Joas Schilling [Fri, 10 Dec 2021 15:26:13 +0000 (16:26 +0100)]
Don't check the configvalue for lastLogin which is never null

Signed-off-by: Joas Schilling <coding@schilljs.com>
2 years agoAdd missing copyright headers in migration steps
Côme Chilliet [Thu, 9 Dec 2021 16:42:17 +0000 (17:42 +0100)]
Add missing copyright headers in migration steps

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2 years agoUse clearer names for variables
Côme Chilliet [Thu, 18 Nov 2021 09:48:41 +0000 (10:48 +0100)]
Use clearer names for variables

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2 years agoAdd an index for directory_uuid as well
Côme Chilliet [Thu, 18 Nov 2021 09:40:55 +0000 (10:40 +0100)]
Add an index for directory_uuid as well

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2 years agoMake sure that hash function returns a string
Côme Chilliet [Thu, 18 Nov 2021 09:30:35 +0000 (10:30 +0100)]
Make sure that hash function returns a string

The documentation says it can return false, and even if that is highly
 unlikely for sha256, better safe than sorry.

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2 years agoAdd the columns and alter the index in Version1010Date20200630192842
Côme Chilliet [Thu, 18 Nov 2021 09:25:19 +0000 (10:25 +0100)]
Add the columns and alter the index in Version1010Date20200630192842

This is to ensure new installations do not need to go through migration
 history.

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2 years agoFixes in migration step
Côme Chilliet [Thu, 4 Nov 2021 14:38:01 +0000 (15:38 +0100)]
Fixes in migration step

We cannot set ldap_dn_hash column as notnull because it is empty for
 existing users before postSchemaChange is called

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2 years agoPut back length check to have a clear error
Côme Chilliet [Thu, 4 Nov 2021 11:30:38 +0000 (12:30 +0100)]
Put back length check to have a clear error

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2 years agoFixed migration step for user_ldap
Côme Chilliet [Thu, 4 Nov 2021 11:27:44 +0000 (12:27 +0100)]
Fixed migration step for user_ldap

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2 years agoFix variable names
Joas Schilling [Thu, 4 Nov 2021 11:13:18 +0000 (12:13 +0100)]
Fix variable names

Signed-off-by: Joas Schilling <coding@schilljs.com>
2 years agoChange column names to ldap_dn and ldap_dn_hash and add migration
Côme Chilliet [Thu, 4 Nov 2021 11:06:59 +0000 (12:06 +0100)]
Change column names to ldap_dn and ldap_dn_hash and add migration

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2 years agoSupport LDAP dns longer than 255 characters
Côme Chilliet [Tue, 2 Nov 2021 15:22:37 +0000 (16:22 +0100)]
Support LDAP dns longer than 255 characters

Adds an ldap_full_dn column to store the dn, and only store a sha256
 hash in the ldap_dn which is shorter and can be indexed without
 trouble.
Migration still needs to be implemented.

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2 years agoMerge pull request #30214 from nextcloud/dependabot/npm_and_yarn/stable23/dompurify...
MichaIng [Sat, 11 Dec 2021 20:50:21 +0000 (21:50 +0100)]
Merge pull request #30214 from nextcloud/dependabot/npm_and_yarn/stable23/dompurify-2.3.4

Bump dompurify from 2.3.3 to 2.3.4

2 years agoBump dompurify from 2.3.3 to 2.3.4 30214/head
dependabot[bot] [Sat, 11 Dec 2021 15:05:45 +0000 (15:05 +0000)]
Bump dompurify from 2.3.3 to 2.3.4

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

---
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 #30215 from nextcloud/dependabot/npm_and_yarn/stable23/core-js...
MichaIng [Sat, 11 Dec 2021 15:04:39 +0000 (16:04 +0100)]
Merge pull request #30215 from nextcloud/dependabot/npm_and_yarn/stable23/core-js-3.19.3

Bump core-js from 3.19.2 to 3.19.3

2 years agoBump core-js from 3.19.2 to 3.19.3 30215/head
dependabot[bot] [Sat, 11 Dec 2021 03:43:29 +0000 (03:43 +0000)]
Bump core-js from 3.19.2 to 3.19.3

Bumps [core-js](https://github.com/zloirock/core-js) from 3.19.2 to 3.19.3.
- [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.19.2...v3.19.3)

---
updated-dependencies:
- dependency-name: core-js
  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 #30213 from nextcloud/dependabot/composer/build/integration/stable...
MichaIng [Sat, 11 Dec 2021 12:50:58 +0000 (13:50 +0100)]
Merge pull request #30213 from nextcloud/dependabot/composer/build/integration/stable23/sabre/dav-4.2.3

Update sabre/dav requirement from 4.2.1 to 4.2.3 in /build/integration

2 years agoUpdate sabre/dav requirement from 4.2.1 to 4.2.3 in /build/integration 30213/head
dependabot[bot] [Sat, 11 Dec 2021 07:04:10 +0000 (07:04 +0000)]
Update sabre/dav requirement from 4.2.1 to 4.2.3 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/4.2.1...4.2.3)

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

Signed-off-by: dependabot[bot] <support@github.com>
2 years agoMerge pull request #30212 from nextcloud/dependabot/composer/build/integration/stable...
dependabot[bot] [Sat, 11 Dec 2021 07:02:56 +0000 (07:02 +0000)]
Merge pull request #30212 from nextcloud/dependabot/composer/build/integration/stable23/guzzlehttp/guzzle-6.5.5

2 years agoUpdate guzzlehttp/guzzle requirement in /build/integration 30212/head
dependabot[bot] [Sat, 11 Dec 2021 03:35:25 +0000 (03:35 +0000)]
Update guzzlehttp/guzzle requirement in /build/integration

Updates the requirements on [guzzlehttp/guzzle](https://github.com/guzzle/guzzle) to permit the latest version.
- [Release notes](https://github.com/guzzle/guzzle/releases)
- [Changelog](https://github.com/guzzle/guzzle/blob/6.5.5/CHANGELOG.md)
- [Commits](https://github.com/guzzle/guzzle/compare/6.5.2...6.5.5)

---
updated-dependencies:
- dependency-name: guzzlehttp/guzzle
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
2 years agoMerge pull request #30190 from nextcloud/backport/30157/stable23
Pytal [Sat, 11 Dec 2021 01:30:02 +0000 (17:30 -0800)]
Merge pull request #30190 from nextcloud/backport/30157/stable23

2 years agoMerge pull request #30187 from nextcloud/backport/30164/stable23
Vincent Petry [Fri, 10 Dec 2021 11:02:36 +0000 (12:02 +0100)]
Merge pull request #30187 from nextcloud/backport/30164/stable23

[stable23] Use correct icon for dir-external-root

2 years agoFix first day locale 30190/head
John Molakvoæ [Thu, 9 Dec 2021 08:07:32 +0000 (09:07 +0100)]
Fix first day locale

Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2 years agoProperly format sharing datepicker locale
John Molakvoæ [Thu, 9 Dec 2021 07:48:03 +0000 (08:48 +0100)]
Properly format sharing datepicker locale

Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2 years agoUse correct icon for dir-external-root 30187/head
Vincent Petry [Thu, 9 Dec 2021 13:58:31 +0000 (14:58 +0100)]
Use correct icon for dir-external-root

When an external storage mount is shared with circles, it triggers the
share icon state to be rerendered. The picking of the mime type icon
would use the regular file icon because there is no actual icon for
"dir-external-root" that is shared.

This fixes the logic to use the "folder-external" icon in such
scenarios.

Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2 years agoMerge pull request #30180 from nextcloud/backport/30160/stable23
Vincent Petry [Fri, 10 Dec 2021 07:55:50 +0000 (08:55 +0100)]
Merge pull request #30180 from nextcloud/backport/30160/stable23

[stable23] Check resource before closing in encryption wrapper

2 years agoMerge pull request #30175 from nextcloud/backport/30168/stable23
John Molakvoæ [Fri, 10 Dec 2021 07:46:52 +0000 (08:46 +0100)]
Merge pull request #30175 from nextcloud/backport/30168/stable23

2 years agoMerge pull request #30176 from nextcloud/backport/29996/stable23
John Molakvoæ [Fri, 10 Dec 2021 06:57:42 +0000 (07:57 +0100)]
Merge pull request #30176 from nextcloud/backport/29996/stable23

2 years agoCheck resource before closing in encryption wrapper 30180/head
Vincent Petry [Thu, 9 Dec 2021 10:28:10 +0000 (11:28 +0100)]
Check resource before closing in encryption wrapper

In case of error there is no guarantee that $source or $target is set or
is a resource when handling an error.

Without this fix, there's a risk that fclose will fail and the actual
exception will not be thrown, making it impossible to find out about the
root cause.

Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2 years agoUpdate core/Migrations/Version23000Date20211203110726.php 30176/head
Pytal [Thu, 9 Dec 2021 16:26:10 +0000 (08:26 -0800)]
Update core/Migrations/Version23000Date20211203110726.php

Co-authored-by: John Molakvoæ <skjnldsv@users.noreply.github.com>
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2 years agoFix relation "user_id" already exists migration error
Christopher Ng [Fri, 3 Dec 2021 20:02:03 +0000 (20:02 +0000)]
Fix relation "user_id" already exists migration error

Signed-off-by: Christopher Ng <chrng8@gmail.com>
2 years agoAllow to delete non-migrated previews instead of moving them 30175/head
John Molakvoæ [Thu, 9 Dec 2021 15:52:15 +0000 (16:52 +0100)]
Allow to delete non-migrated previews instead of moving them

Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2 years agoMerge pull request #30144 from nextcloud/backport/29968/stable23
John Molakvoæ [Thu, 9 Dec 2021 09:33:20 +0000 (10:33 +0100)]
Merge pull request #30144 from nextcloud/backport/29968/stable23

2 years agoRemove no longer needed CSS rules 30144/head
Daniel Calviño Sánchez [Thu, 2 Dec 2021 07:01:20 +0000 (08:01 +0100)]
Remove no longer needed CSS rules

Since Nextcloud 22 the "#new-user" rules had no effect, as the DOM
structure changed to show a dialog rather than adding a row on top of
the list when adding new users.

Similarly, the z-index was no longer needed, as there will be no
"new-user" row that could overlap. Moreover, the z-index was set even
higher (100) in another rule still active.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2 years agoFix input for groups validation in new user form
Daniel Calviño Sánchez [Mon, 29 Nov 2021 18:26:57 +0000 (19:26 +0100)]
Fix input for groups validation in new user form

The hidden input used for form validation was not actually hidden since
Nextcloud 22, as the DOM structure changed to show a dialog rather than
adding a row on top of the list when adding new users, so the CSS rules
no longer matched.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2 years agoMerge pull request #30151 from nextcloud/backport/30141/stable23
MichaIng [Wed, 8 Dec 2021 13:32:00 +0000 (14:32 +0100)]
Merge pull request #30151 from nextcloud/backport/30141/stable23

[stable23] Reload page instead of file list when getting 401 authentification error

2 years agoReload page on 401 since there is an authentification problem 30151/head
Carl Schwan [Tue, 7 Dec 2021 16:48:28 +0000 (17:48 +0100)]
Reload page on 401 since there is an authentification problem

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2 years agoStop reloading file list when getting 401 error on root dir
Carl Schwan [Tue, 7 Dec 2021 16:24:11 +0000 (17:24 +0100)]
Stop reloading file list when getting 401 error on root dir

When reaching the root dir, instead of reloading the file list we reload
the page completely. This trigger a redirection to the login page automatically
with the correct ?redirect_url= in thr url.

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2 years agoMerge pull request #30136 from nextcloud/backport/30134/stable23
Julius Härtl [Wed, 8 Dec 2021 08:07:24 +0000 (09:07 +0100)]
Merge pull request #30136 from nextcloud/backport/30134/stable23

2 years agodo not trigger events when setting active view in gotoplugin 30136/head
Julien Veyssier [Tue, 7 Dec 2021 13:34:48 +0000 (14:34 +0100)]
do not trigger events when setting active view in gotoplugin

Signed-off-by: Julien Veyssier <eneiluj@posteo.net>
2 years agoMerge pull request #30132 from nextcloud/backport/30114/stable23
John Molakvoæ [Tue, 7 Dec 2021 12:55:54 +0000 (13:55 +0100)]
Merge pull request #30132 from nextcloud/backport/30114/stable23

2 years agoPrevent writing invalid mtime 30132/head
John Molakvoæ [Mon, 6 Dec 2021 14:17:08 +0000 (15:17 +0100)]
Prevent writing invalid mtime

Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2 years agoMerge pull request #30009 from nextcloud/backport/29905/stable23
John Molakvoæ [Tue, 7 Dec 2021 08:27:50 +0000 (09:27 +0100)]
Merge pull request #30009 from nextcloud/backport/29905/stable23

2 years agoOnly add the vue exeption to actual button elements 30009/head
marco [Thu, 25 Nov 2021 15:16:02 +0000 (16:16 +0100)]
Only add the vue exeption to actual button elements

Signed-off-by: marco <marcoambrosini@pm.me>
2 years agoMerge pull request #30115 from nextcloud/backport/30040/stable23
Côme Chilliet [Mon, 6 Dec 2021 15:58:23 +0000 (16:58 +0100)]
Merge pull request #30115 from nextcloud/backport/30040/stable23

[stable23] Avoid calling image* methods on boolean

2 years agoMerge pull request #30106 from nextcloud/backport/30104/stable23
Louis [Mon, 6 Dec 2021 14:58:28 +0000 (15:58 +0100)]
Merge pull request #30106 from nextcloud/backport/30104/stable23

[stable23] Strengthify is now in the Nextcloud org

2 years agoAvoid assignment in if clause 30115/head
Côme Chilliet [Thu, 2 Dec 2021 14:38:42 +0000 (15:38 +0100)]
Avoid assignment in if clause

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2 years agoFix typing problems in OC_Image
Côme Chilliet [Thu, 2 Dec 2021 10:30:10 +0000 (11:30 +0100)]
Fix typing problems in OC_Image

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>