Commit graph

21516 commits

Author SHA1 Message Date
Louis Chmn
4ce1bcc18d
feat(EphemeralSessions): Introduce lax period
Signed-off-by: Louis Chmn <louis@chmn.me>
2025-11-07 08:30:21 +01:00
Ferdinand Thiessen
78d74d1ea1
fix(ownCloud): ensure that accounts.display_name fits into users.displayname
- manual backport of https://github.com/nextcloud/server/pull/55006

Needed because we recommend to do migrations from OC 10.x to NC 25 ...

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-09-12 12:53:36 +02:00
Joas Schilling
aa118bc6ac fix(2fa): Fix 2FA session setup when ephemeral session is used
Signed-off-by: Joas Schilling <coding@schilljs.com>
2025-08-26 13:45:25 +00:00
Joas Schilling
30e367d38e fix(auth): Allow 2FA challenges for Ephemeral sessions
Signed-off-by: Joas Schilling <coding@schilljs.com>
2025-03-18 09:32:22 +00:00
Ferdinand Thiessen
b70359f4cd fix(lookup-server): disable lookup server for non-global scale setups
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-03-13 17:24:34 +01:00
Ferdinand Thiessen
0413338bd3 fix(lookup-server): do not query data by default
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-03-13 17:24:34 +01:00
Ferdinand Thiessen
6172ddf796
fix(login-chain): set class members in constructor
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-03-13 15:06:11 +01:00
Louis Chemineau
3c010c5c11
fix(login): Support subfolder install for ephemeral sessions
Signed-off-by: Louis Chemineau <louis@chmn.me>
2025-03-03 16:12:56 +01:00
Louis Chemineau
90363d231a
fix(login): Also check legacy annotation for ephemeral sessions
Signed-off-by: Louis Chemineau <louis@chmn.me>
2025-03-03 15:07:11 +01:00
Louis Chemineau
845cb88cff
feat: Close sessions created for login flow v2
Sessions created during the login flow v2 should be short lived to not leave an unexpected opened session in the browser.

This commit add a property to the session object to track its origin, and will close it as soon as possible, i.e., on the first non public page request.

Signed-off-by: Louis Chemineau <louis@chmn.me>
2025-03-03 13:25:28 +01:00
Robin Appelman
72258649d6 fix: fix mimetype not being updated when changing file extention on object store
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-12-11 07:45:51 +00:00
Christoph Wurst
9fe9cfecfd fix(migration): Decrypt ownCloud secrets v2
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2024-11-28 09:34:01 +00:00
ernolf
773a7773b5 fix(share): Ensure unique share tokens
- check for token collisions and retry up to three times.
- throw after 3 attempts without finding a unique token.

Signed-off-by: ernolf <raphael.gradenwitz@googlemail.com>
2024-09-26 10:34:33 +00:00
yemkareems
daca6f8acd
fix: added missing ICredentialsManager
fix: added missing ICredentialsManager

Signed-off-by: yemkareems <yemkareems@gmail.com>
2024-06-11 10:31:13 +05:30
yemkareems
881dd12622 fix: delete user credentials stored in storages_credentials when user gets deleted
Signed-off-by: yemkareems <yemkareems@gmail.com>

[skip ci]
2024-06-10 12:22:31 +00:00
Arthur Schiwon
f778a64dad
Merge pull request #45462 from nextcloud/backport/45321/stable25
[stable25] fix: Correctly check result of function
2024-05-23 14:28:47 +02:00
Joas Schilling
a685881ec9
fix: Correctly check result of function
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-05-22 17:44:40 +02:00
Joas Schilling
2bd7a0f4e6 fix: Extend SVG reference check
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-05-22 15:27:25 +00:00
Arthur Schiwon
53923d9519
Merge pull request #44559 from nextcloud/backport/44339/stable25
[stable25] fix(share): use share owner to get ownership
2024-04-24 16:19:18 +02:00
Joas Schilling
0ce5133d66 fix(CI): Suppress psalm UndefinedClass
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-04-24 09:29:39 +00:00
Joas Schilling
4e6f8a5db8 fix(files): Also skip cross storage move with access control
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-04-24 09:29:39 +00:00
Christopher Ng
9eb08f983e fix: Fix avatar images
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2024-04-08 17:11:26 -07:00
Maxence Lange
e6c1ff1d3f fix(share): use share owner to confirm reshare
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2024-03-28 17:13:00 +00:00
Christoph Wurst
ff4c01bb31 fix(config): Make sure user keys are strings
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2024-03-26 10:11:42 +00:00
John Molakvoæ
fa33b00be7
Merge pull request #43845 from nextcloud/backport/43787/stable25 2024-03-15 17:20:04 +01:00
Julius Härtl
7acb89b846 fix: Avoid clear cache with prefix
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2024-03-08 08:38:47 +00:00
Julius Härtl
edefc25c8a fix: Throw instead of yielding nothing when listing local directories
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2024-02-26 14:01:37 +00:00
Côme Chilliet
2155281b81
Remove modern PHP syntax, and apply codesniffer fixes in Share20/Manager.php
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-02-22 13:45:50 +01:00
Côme Chilliet
0a43593607 Use nullsafe call syntax instead of additionnal check
Co-authored-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
Signed-off-by: Côme Chilliet <91878298+come-nc@users.noreply.github.com>
2024-02-22 08:24:43 +00:00
Côme Chilliet
f6521c8960 Set files_sharing:hide_disabled_user_shares to 'yes' to hide shares from disabled users
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-02-22 08:24:43 +00:00
Julius Härtl
564838cfc1
fix: Only apply cast if needed when searching users for value
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2024-01-09 11:59:28 +01:00
Julius Härtl
a1c9b91fa1
perf: Use more performant way to obtain and check the email as a login name with token login
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2024-01-09 11:59:28 +01:00
Daniel Kesselberg
13fda8b672
feat: add switch to disable dns pinning
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2023-12-01 16:59:18 +01:00
Nextcloud bot
f3ff8c0807
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-11-22 00:25:12 +00:00
Nextcloud bot
64516bb7eb
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-11-21 00:28:33 +00:00
Nextcloud bot
b2156b0938
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-11-17 00:27:37 +00:00
Joas Schilling
64ca62dbe8
Reverse X-Forwarded-For list to read the correct proxy remote address
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-11-16 07:51:54 +01:00
Nextcloud bot
41c6d6a266
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-11-16 00:55:52 +00:00
Nextcloud bot
cdc8dfb233
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-11-14 00:26:20 +00:00
Nextcloud bot
c532dbcd93
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-11-12 00:24:45 +00:00
Nextcloud bot
f5324b023f
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-11-11 00:22:46 +00:00
Nextcloud bot
a6e5418bd7
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-11-04 00:29:55 +00:00
Nextcloud bot
037d041721
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-11-01 00:29:12 +00:00
Nextcloud bot
2eb2419390
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-10-31 00:26:46 +00:00
Nextcloud bot
372868af02
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-10-27 00:28:16 +00:00
Nextcloud bot
d436ceadad
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-10-26 00:26:58 +00:00
Nextcloud bot
be1ad1a75d
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-10-25 00:43:59 +00:00
Nextcloud bot
0495ad9e2d
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-10-24 00:26:10 +00:00
Nextcloud bot
e1df78f825
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-10-22 00:29:06 +00:00
Nextcloud bot
be7b61be7b
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-10-19 00:28:38 +00:00