Commit Graph

61958 Commits (stable23)
 

Author SHA1 Message Date
Vincent Petry 2547607789
Merge pull request #36307 from nextcloud/backport/36094/stable23
[stable23] Only expose storage location to admins
1 year ago
Joas Schilling 6c87707997 Fix double where() usage in resource manager
Signed-off-by: Joas Schilling <coding@schilljs.com>
1 year ago
Vincent Petry 522e2fede1 Only expose storage location to admins
Co-authored-by: Côme Chilliet <91878298+come-nc@users.noreply.github.com>
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
1 year ago
Vincent Petry 6e0969cab4
Merge pull request #36105 from nextcloud/backport/36095/stable23
[stable23] Limit key names when uploading theme images
1 year ago
Vincent Petry 29eb678cda
Merge pull request #36212 from nextcloud/techdebt/noid/improve-share-pw-generation/stable23
[stable23] Improve password generation for link shares
1 year ago
Vincent Petry 3a3f7eb696
Improve password generation for link shares
Use web crypto when generating password for link shares
whenever the password policy app is disabled.

Signed-off-by: Vincent Petry <vincent@nextcloud.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
1 year ago
blizzz 2cf8353f7b
Merge pull request #35756 from nextcloud/backport/31683/stable23
[stable23] limit ldap_dn columns to 4000
1 year ago
Vincent Petry 87b49b7e72
Enable SSL by default in ext storage configs
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
1 year ago
Vincent Petry 0925ded46e
Extend ext storage params to contain default value
Extend the external storage configuration parameters definition to allow
to specify a default value

Signed-off-by: Vincent Petry <vincent@nextcloud.com>
1 year ago
Côme Chilliet 36e5584712 Tear down in catch of an Exception
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
1 year ago
Côme Chilliet 1a28da62b2 Catch Exceptions when loading storage data of users
This avoids having the whole userlist crashing because a user external
 storage fails to load. With this change only the problematic user
 storage/quota information will be empty.

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
1 year ago
blizzz 01cfab54ca
Merge pull request #36185 from nextcloud/revert-36177-enh/noid/ext-storage-default-values/stable23
Revert "[stable23] Ext storage configs default value support + enable SSL by default"
1 year ago
blizzz 487988a7f2
Merge pull request #36186 from nextcloud/revert-36157-backport/36115/stable23
Revert "[stable23] Catch Exceptions when loading storage data of users"
1 year ago
blizzz c1778cf6f7
Merge pull request #35863 from nextcloud/backport/35761/stable23
[stable23] Remove comment and guests option from Invitations UI
1 year ago
blizzz dcadc5fce0
Revert "[stable23] Catch Exceptions when loading storage data of users" 1 year ago
blizzz f2b1bd1aa9
Revert "[stable23] Ext storage configs default value support + enable SSL by default" 1 year ago
blizzz 02e36574fb
Merge pull request #35947 from nextcloud/backport/33813/stable23
[stable23] Compare lowercase email when updating from ldap
1 year ago
blizzz b30f0d5346
Merge pull request #36157 from nextcloud/backport/36115/stable23
[stable23] Catch Exceptions when loading storage data of users
1 year ago
blizzz ae65d9d383
Merge pull request #36177 from nextcloud/enh/noid/ext-storage-default-values/stable23
[stable23] Ext storage configs default value support + enable SSL by default
1 year ago
Vincent Petry f8265d8562
Enable SSL by default in ext storage configs
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
1 year ago
Vincent Petry 6fc54ba54c
Extend ext storage params to contain default value
Extend the external storage configuration parameters definition to allow
to specify a default value

Signed-off-by: Vincent Petry <vincent@nextcloud.com>
1 year ago
Côme Chilliet 2087278f29 Tear down in catch of an Exception
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
1 year ago
Côme Chilliet f319a4be06 Catch Exceptions when loading storage data of users
This avoids having the whole userlist crashing because a user external
 storage fails to load. With this change only the problematic user
 storage/quota information will be empty.

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
1 year ago
Vincent Petry 208f8e9293
Limit key names when uploading theme images
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
1 year ago
John Molakvoæ 6ddf469ce7
Merge pull request #36060 from nextcloud/automated/noid/stable23-update-ca-cert-bundle
[stable23] Update ca-cert bundle
1 year ago
nextcloud-command 15275b5a8b Update CA certificate bundle
Signed-off-by: GitHub <noreply@github.com>
1 year ago
Vincent Petry b23393b4db
Merge pull request #36020 from nextcloud/backport/35975/stable23
[stable23] Update crl after revoke files_bpm.csr
1 year ago
Vitor Mattos fd6cc39abd
Update crl after revoke files_bpm.csr
Signed-off-by: Vitor Mattos <vitor@php.rio>
1 year ago
Joas Schilling dd29574b07
Merge pull request #35990 from nextcloud/stable23-audit-fix-json5
[stable23] Bump json5 from 1.0.1-1.0.2 and 2.2.0-2.2.3
1 year ago
Vincent Petry 7568abca99
Bump json5 from 1.0.1-1.0.2 and 2.2.0-2.2.3
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
1 year ago
Louis Chemineau 6b6e4a4fa0 I dug into it again, and the issue is much simpler than I previously though.
- LDAP has an email address with capital letters
- NC store this address in lower case
- When the user logs in, we compare the [stored email with the new lower case email](https://github.com/nextcloud/server/blob/master/lib/private/AllConfig.php#L259-L261) before storing it. Here, both email will be the same, so we won't store the new email address with upper case letters. Which is what we want.
- We then [compare emails as they are before triggering an event](https://github.com/nextcloud/server/blob/master/lib/private/User/User.php#L202-L204), they won't match, so the user will receive an email signaling an email change every time he logs in.

The fix is to compare the old email with the new lower case email before sending the event.

Signed-off-by: Louis Chemineau <louis@chmn.me>
1 year ago
Vincent Petry a6faf38a3b
Merge pull request #35825 from nextcloud/backport/35107/stable23
[stable23] add migration for encryption keys in wrong location
1 year ago
John Molakvoæ a43730f257
Merge pull request #35572 from nextcloud/automated/noid/stable23-update-ca-cert-bundle
[stable23] Update ca-cert bundle
1 year ago
Robin Appelman a9c41953ad
fix php7.3 compat
Signed-off-by: Robin Appelman <robin@icewind.nl>
1 year ago
Anna Larch 3402f4ae87 Remove comment and guests option from Invitations UI
Signed-off-by: Anna Larch <anna@nextcloud.com>
1 year ago
Côme Chilliet 167a54299d
Remove property type for PHP 7.3 support
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
1 year ago
Côme Chilliet a2b19f1ae9
Build autoloaders
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
1 year ago
Côme Chilliet a6143ab0da
Use the new octetLength function to filter lines to migrate
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
1 year ago
Côme Chilliet f9b0c85933
Adapt max length limit in AbstactMapping to match database
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
1 year ago
Arthur Schiwon 8ce4f33e10
shrink ldap_dn column to 4000
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
1 year ago
Arthur Schiwon 65cd09face
limit ldap_dn columns to 4000
- enlarging string cols from 255 to more than 4000 fails on default
  Oracle installations for invalid datatype conversion

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
1 year ago
nextcloud-command 3294670f53 Update CA certificate bundle
Signed-off-by: GitHub <noreply@github.com>
1 year ago
Nextcloud bot d675e52350
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
1 year ago
Côme Chilliet 658ee56279
Merge pull request #35757 from nextcloud/backport/31696/stable23
[stable23] Use getLengthExpression to measure field length instead of like
1 year ago
Robin Appelman 477bef600f
add migration for encryption keys in wrong location
Signed-off-by: Robin Appelman <robin@icewind.nl>
1 year ago
Vincent Petry 2d449ba5bb
Merge pull request #35675 from nextcloud/stable23-audit-fix
[stable23] Update handlebars-loader to 1.7.3 + others
1 year ago
Côme Chilliet 6185e326dc
Fix LENGTH function name across databases
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
1 year ago
Côme Chilliet 6e3cd43903
Use OCTET_LENGTH which is more common than LENGTHB
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
1 year ago
Côme Chilliet 3a61963980
Avoid select with no FROM clause for Oracle in tests
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
1 year ago
Côme Chilliet 131a397472
Add octetLength and charLength to function builder, and tests
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
1 year ago