Commit graph

61790 commits

Author SHA1 Message Date
Côme Chilliet
36e5584712 Tear down in catch of an Exception
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-01-17 10:24:48 +00:00
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>
2023-01-17 10:24:46 +00:00
blizzz
487988a7f2
Merge pull request #36186 from nextcloud/revert-36157-backport/36115/stable23
Revert "[stable23] Catch Exceptions when loading storage data of users"
2023-01-17 11:15:02 +01:00
blizzz
c1778cf6f7
Merge pull request #35863 from nextcloud/backport/35761/stable23
[stable23] Remove comment and guests option from Invitations UI
2023-01-17 11:13:32 +01:00
blizzz
dcadc5fce0
Revert "[stable23] Catch Exceptions when loading storage data of users" 2023-01-17 10:33:12 +01:00
blizzz
02e36574fb
Merge pull request #35947 from nextcloud/backport/33813/stable23
[stable23] Compare lowercase email when updating from ldap
2023-01-17 10:14:41 +01:00
blizzz
b30f0d5346
Merge pull request #36157 from nextcloud/backport/36115/stable23
[stable23] Catch Exceptions when loading storage data of users
2023-01-17 10:11:02 +01:00
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
2023-01-17 10:10:11 +01:00
Vincent Petry
f8265d8562
Enable SSL by default in ext storage configs
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2023-01-16 17:26:57 +01:00
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>
2023-01-16 17:26:48 +01:00
Côme Chilliet
2087278f29 Tear down in catch of an Exception
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-01-16 11:03:56 +00:00
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>
2023-01-16 11:03:54 +00:00
John Molakvoæ
6ddf469ce7
Merge pull request #36060 from nextcloud/automated/noid/stable23-update-ca-cert-bundle
[stable23] Update ca-cert bundle
2023-01-10 09:44:57 +01:00
nextcloud-command
15275b5a8b Update CA certificate bundle
Signed-off-by: GitHub <noreply@github.com>
2023-01-10 04:26:17 +00:00
Vincent Petry
b23393b4db
Merge pull request #36020 from nextcloud/backport/35975/stable23
[stable23] Update crl after revoke files_bpm.csr
2023-01-05 17:31:35 +01:00
Vitor Mattos
fd6cc39abd
Update crl after revoke files_bpm.csr
Signed-off-by: Vitor Mattos <vitor@php.rio>
2023-01-05 12:10:31 -03:00
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
2023-01-05 07:17:33 +01:00
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>
2023-01-04 14:16:32 +01:00
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>
2023-01-02 15:30:28 +00:00
Vincent Petry
a6faf38a3b
Merge pull request #35825 from nextcloud/backport/35107/stable23
[stable23] add migration for encryption keys in wrong location
2023-01-02 11:00:50 +01:00
John Molakvoæ
a43730f257
Merge pull request #35572 from nextcloud/automated/noid/stable23-update-ca-cert-bundle
[stable23] Update ca-cert bundle
2022-12-30 11:27:28 +01:00
Robin Appelman
a9c41953ad
fix php7.3 compat
Signed-off-by: Robin Appelman <robin@icewind.nl>
2022-12-27 14:22:27 +01:00
Anna Larch
3402f4ae87 Remove comment and guests option from Invitations UI
Signed-off-by: Anna Larch <anna@nextcloud.com>
2022-12-22 09:43:50 +00:00
nextcloud-command
3294670f53 Update CA certificate bundle
Signed-off-by: GitHub <noreply@github.com>
2022-12-20 04:11:18 +00:00
Nextcloud bot
d675e52350
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-12-20 02:22:44 +00:00
Côme Chilliet
658ee56279
Merge pull request #35757 from nextcloud/backport/31696/stable23
[stable23] Use getLengthExpression to measure field length instead of like
2022-12-19 17:22:09 +01:00
Robin Appelman
477bef600f
add migration for encryption keys in wrong location
Signed-off-by: Robin Appelman <robin@icewind.nl>
2022-12-19 14:53:23 +01:00
Vincent Petry
2d449ba5bb
Merge pull request #35675 from nextcloud/stable23-audit-fix
[stable23] Update handlebars-loader to 1.7.3 + others
2022-12-19 12:06:41 +01:00
Côme Chilliet
6185e326dc
Fix LENGTH function name across databases
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-12-19 10:12:48 +01:00
Côme Chilliet
6e3cd43903
Use OCTET_LENGTH which is more common than LENGTHB
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-12-19 10:12:13 +01:00
Côme Chilliet
3a61963980
Avoid select with no FROM clause for Oracle in tests
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-12-19 10:10:12 +01:00
Côme Chilliet
131a397472
Add octetLength and charLength to function builder, and tests
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-12-19 10:10:00 +01:00
Côme Chilliet
774bb066d9
Use getLengthExpression to measure field length instead of like
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-12-19 10:09:41 +01:00
Nextcloud bot
64d4790864
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-12-19 02:21:54 +00:00
Nextcloud bot
40244990de
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-12-18 02:20:15 +00:00
Nextcloud bot
bc6bb6036d
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-12-17 02:20:03 +00:00
Vincent Petry
bdec46dc30 Update handlebars-loader to 1.7.3 + others
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2022-12-16 15:49:02 +00:00
Nextcloud bot
43e36cec70
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-12-16 02:20:17 +00:00
Nextcloud bot
f39ce112c1
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-12-15 02:19:10 +00:00
Nextcloud bot
19a0f11458
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-12-14 02:22:21 +00:00
Nextcloud bot
fa261d00a1
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-12-13 02:33:19 +00:00
Nextcloud bot
161c1e0a5e
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-12-12 02:20:18 +00:00
Nextcloud bot
a9924a00df
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-12-11 02:31:34 +00:00
Joas Schilling
6fec3e64df
Merge pull request #35386 from nextcloud/automated/noid/stable23-update-psalm-baseline
[stable23] Update psalm-baseline.xml
2022-12-10 19:13:04 +01:00
nextcloud-command
41644aa86f Update psalm baseline
Signed-off-by: GitHub <noreply@github.com>
2022-12-10 07:05:52 +00:00
Nextcloud bot
fc06379df9
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-12-10 02:21:18 +00:00
Nextcloud bot
2ef6557790
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-12-09 02:35:27 +00:00
blizzz
4eca751233
Merge pull request #35671 from nextcloud/release/23.0.12
23.0.12
2022-12-08 13:59:35 +01:00
Arthur Schiwon
4a0d7fedaf
23.0.12
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2022-12-08 10:34:32 +01:00
Nextcloud bot
74b5f653ee
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-12-08 02:19:49 +00:00