Robin Appelman
30b36efc33
fix: increase how long we cache display names
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2025-08-11 14:25:18 +07:00
Joas Schilling
c34a5d2f6e
fix(usermanager): Don't throw when checking if a too long user id is an existing user
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2025-04-17 14:55:12 +07:00
Andy Scherzinger
dae7c159f7
chore: Add SPDX header
...
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2024-05-24 13:11:22 +07:00
Côme Chilliet
8bcc2d352e
chore: Fix missing template parameter for IEventListener
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-01-30 10:57:15 +07:00
Joas Schilling
daac5c9a95
fix(cache): Remove displayname cache entry on delete
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-08-28 14:59:54 +07:00
Carl Schwan
8004aa7721
Make DisplayNameCache return null if user doesn't exists
...
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-08-16 14:10:05 +07:00
Robin Appelman
674c0bec2c
cache display names in local memory before external memcache
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2022-04-22 13:02:30 +07:00
Carl Schwan
ed4c1e584f
Update cache when display name change
...
This improve the correctness of the data
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-04-22 10:29:18 +07:00
Carl Schwan
4333c215cb
Cache display name
...
This should saves some query in the share backend when displaying the
owner and it's not important if the display name is 10 minutes outdated
as it is very rare that this gets changed.
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-04-22 10:22:15 +07:00