Commit Graph

58936 Commits (b23b45ede40ed063abfed063e29c47e30635e95e)
 

Author SHA1 Message Date
Christoph Wurst 30eb30232f Add missing index for propertypath only queries against properties
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2021-12-29 09:57:54 +07:00
Nextcloud bot 2528210db2
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-12-28 02:28:00 +07:00
Nextcloud bot 9f91841a7d
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-12-27 02:27:35 +07:00
Nextcloud bot e2dd2ecfde
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-12-25 02:27:39 +07:00
Nextcloud bot e67859e38f
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-12-24 02:29:31 +07:00
Nextcloud bot 698174cba0
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-12-23 02:28:06 +07:00
Nextcloud bot 51ab169278
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-12-22 02:28:29 +07:00
John Molakvoæ f31369af13
Merge pull request #30314 from nextcloud/backport/30266/stable21 2021-12-21 15:09:52 +07:00
Carl Schwan c886f5e9ea
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>
2021-12-21 14:10:01 +07:00
Nextcloud bot c066f8bcd5
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-12-21 02:28:15 +07:00
MichaIng a45a9bf860
Merge pull request #30251 from nextcloud/backport/30193/stable21
[stable21] Fix setting up 2FA when no providers are set up but backup codes
2021-12-20 18:42:40 +07:00
MichaIng 92744f3047
Merge pull request #30248 from nextcloud/backport/30245/stable21
[stable21] Only wildcard search if enumeration is allowed
2021-12-20 18:41:53 +07:00
MichaIng c872f2a40a
Merge pull request #30348 from nextcloud/backport/29965/stable21
[stable21] [stable23] Avoid use of iconv to get rid of unicode
2021-12-20 13:58:33 +07:00
Louis 57bb6e77eb
Merge pull request #30346 from nextcloud/backport/30322/stable21
[stable21] fix overlapping in the help settings section
2021-12-20 11:32:05 +07:00
Côme Chilliet 32831de424 [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>
2021-12-20 10:00:42 +07:00
szaimen d22b780d78 fix overlapping in the help settings section
Signed-off-by: szaimen <szaimen@e.mail.de>
2021-12-20 09:36:02 +07:00
Louis e259f6e20e
Merge pull request #30308 from nextcloud/backport/30281/stable21
[stable21] Ignore non-existing groups when notifying group shares
2021-12-20 10:20:27 +07:00
Arthur Schiwon 47c916d77a 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>
2021-12-20 09:13:22 +07:00
Nextcloud bot bab0dbac9e
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-12-20 02:30:02 +07:00
Nextcloud bot 3342b65803
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-12-19 02:29:36 +07:00
dependabot[bot] cf316c43f5
Merge pull request #30327 from nextcloud/dependabot/composer/build/integration/stable21/sabre/dav-4.3.0 2021-12-18 16:22:58 +07:00
dependabot[bot] 4130401076 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>
2021-12-18 16:39:09 +07:00
Nextcloud bot 2d9fee1b4c
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-12-18 02:27:44 +07:00
Vincent Petry 3b5dd77275 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>
2021-12-17 07:09:28 +07:00
Nextcloud bot d750eb1da8
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-12-17 02:29:14 +07:00
Louis 2ed6fde50a
Merge pull request #30192 from nextcloud/backport/30157/stable21
[stable21] Properly format sharing datepicker locale
2021-12-16 13:30:18 +07:00
Louis Chemineau bad74d6f62 Manual compilation
Signed-off-by: Louis Chemineau <louis@chmn.me>
2021-12-16 11:22:22 +07:00
John Molakvoæ d2e5fb6a7a Fix first day locale
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2021-12-16 11:17:51 +07:00
John Molakvoæ 7c89c7cce1 Properly format sharing datepicker locale
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2021-12-16 11:17:51 +07:00
Louis 6461853aab
Merge pull request #30287 from nextcloud/backport/30256/stable21
[stable21] Fix ShareLink Upload UI for Folders
2021-12-16 10:58:31 +07:00
Côme Chilliet c5a8610163
Merge pull request #30261 from nextcloud/backport/29523/stable21
[stable21] Support LDAP dns longer than 255 characters
2021-12-16 09:06:45 +07:00
Nextcloud bot ea743715ec
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-12-16 02:28:09 +07:00
Jonas Rittershofer 9a7592de93
Build assets
Signed-off-by: Jonas Rittershofer <jotoeri@users.noreply.github.com>
2021-12-15 20:23:48 +07:00
Jonas Rittershofer d4d6882f25
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>
2021-12-15 19:49:56 +07:00
Julius Härtl a908f5f767
Merge pull request #30270 from nextcloud/search-folder-case-insensitive-21 2021-12-15 08:27:57 +07:00
Nextcloud bot 6ffe3ae0f2
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2021-12-15 02:28:11 +07:00
Robin Appelman f6024a895c
also use case sensitive like when searching in a folder
this case was missed from https://github.com/nextcloud/server/pull/29080

Signed-off-by: Robin Appelman <robin@icewind.nl>
2021-12-14 17:49:48 +07:00
Côme Chilliet 2f267e7fb7
Merge pull request #30117 from nextcloud/backport/30040/stable21
[stable21] Avoid calling image* methods on boolean
2021-12-14 13:52:20 +07:00
Côme Chilliet e34ec33199
Avoid assignment in if clause
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2021-12-14 11:20:13 +07:00
Côme Chilliet 07997131d3
Fix typing problems in OC_Image
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2021-12-14 11:20:13 +07:00
Côme Chilliet 3f10cf8996
Avoid calling image* methods on boolean
This avoids fatal errors on PHP>=8, and warnings on older versions.
Log should also be clearer.

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2021-12-14 11:20:13 +07:00
Côme Chilliet f3632cf020
Adapt execute function name for stable21
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2021-12-14 11:04:37 +07:00
Côme Chilliet 774636efab
Bump user_ldap version to make sure the migration runs
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2021-12-14 11:03:53 +07:00
Côme Chilliet 5e345f80ce
Add missing copyright headers in migration steps
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2021-12-14 11:03:21 +07:00
Côme Chilliet ded493de06
Use clearer names for variables
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2021-12-14 11:00:53 +07:00
Côme Chilliet 44fe945d39
Add an index for directory_uuid as well
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2021-12-14 10:58:57 +07:00
Côme Chilliet 41e365aa3b
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>
2021-12-14 10:58:47 +07:00
Côme Chilliet d8263692d0
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>
2021-12-14 10:58:37 +07:00
Côme Chilliet 94b5b21e8c
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>
2021-12-14 10:58:30 +07:00
Côme Chilliet 8367bda445
Put back length check to have a clear error
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2021-12-14 10:58:22 +07:00