nextcloud/lib/private
Ferdinand Thiessen 29fc48e083
fix(OC_Helper): properly calculate quota of shared storages
- resolves https://github.com/nextcloud/server/issues/55659

First we need to properly handle shared storages,
because there the quota is the quota of the user who owns the nodes,
not the user who shared the nodes.

Second if no user can be fetched then we cannot get the global storage
info, thus in this case (public share?) we need to safe-guard.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2026-05-19 13:27:08 +02:00
..
Accounts chore: add missing Override attribute to OC 2026-04-28 21:29:27 +02:00
Activity chore: add missing Override attribute to OC 2026-04-28 21:29:27 +02:00
App refactor: migrate usage of OC_App to AppManager 2026-05-13 14:01:49 +02:00
AppFramework refactor: migrate usage of OC_App to AppManager 2026-05-13 14:01:49 +02:00
Archive chore: add missing Override attribute to OC 2026-04-28 21:29:27 +02:00
Authentication chore: add missing Override attribute to OC 2026-04-28 21:29:27 +02:00
Avatar chore: add missing Override attribute to OC 2026-04-28 21:29:27 +02:00
BackgroundJob chore: add missing Override attribute to OC 2026-04-28 21:29:27 +02:00
Blurhash/Listener chore: add missing Override attribute to OC 2026-04-28 21:29:27 +02:00
Broadcast/Events chore: add missing Override attribute to OC 2026-04-28 21:29:27 +02:00
Cache chore: add missing Override attribute to OC 2026-04-28 21:29:27 +02:00
Calendar chore: Remove almost all uses of deprecated IServerContainer in lib/private 2026-05-11 16:22:22 +02:00
Collaboration chore: Remove almost all uses of deprecated IServerContainer in lib/private 2026-05-11 16:22:22 +02:00
Command chore: add missing Override attribute to OC 2026-04-28 21:29:27 +02:00
Comments chore: Remove almost all uses of deprecated IServerContainer in lib/private 2026-05-11 16:22:22 +02:00
Config fix(UserConfig): cast getTypedValue() result to string in getValueBool() 2026-05-12 15:24:11 +02:00
Console chore: add missing Override attribute to OC 2026-04-28 21:29:27 +02:00
Contacts/ContactsMenu chore: Remove almost all uses of deprecated IServerContainer in lib/private 2026-05-11 16:22:22 +02:00
ContextChat chore: add missing Override attribute to OC 2026-04-28 21:29:27 +02:00
Dashboard chore: add missing Override attribute to OC 2026-04-28 21:29:27 +02:00
DB fix: Add proper methods in IAppManager for namespace handling 2026-05-11 14:53:29 +02:00
Diagnostics chore: add missing Override attribute to OC 2026-04-28 21:29:27 +02:00
DirectEditing chore: add missing Override attribute to OC 2026-04-28 21:29:27 +02:00
Encryption fix(encryption): Remove additional check for home mount point 2026-05-16 06:13:36 -04:00
EventDispatcher chore: add missing Override attribute to OC 2026-04-28 21:29:27 +02:00
Federation chore: add missing Override attribute to OC 2026-04-28 21:29:27 +02:00
Files Merge pull request #60225 from nextcloud/remove-cache-order 2026-05-13 16:49:24 +02:00
FilesMetadata chore: add missing Override attribute to OC 2026-04-28 21:29:27 +02:00
FullTextSearch chore: add missing Override attribute to OC 2026-04-28 21:29:27 +02:00
GlobalScale feat(rector): Enable SafeDeclareStrictTypesRector 2026-02-09 10:59:31 +01:00
Group chore: add missing Override attribute to OC 2026-04-28 21:29:27 +02:00
Hooks chore: add missing Override attribute to OC 2026-04-28 21:29:27 +02:00
Http Merge pull request #60299 from nextcloud/fix/remove-iservercontainer-from-core-apps 2026-05-12 07:48:58 +02:00
IntegrityCheck chore: add missing Override attribute to OC 2026-04-28 21:29:27 +02:00
KnownUser refactor: Apply second batch of comments 2026-02-06 13:52:51 +01:00
L10N chore: add missing Override attribute to OC 2026-04-28 21:29:27 +02:00
LDAP chore: Remove almost all uses of deprecated IServerContainer in lib/private 2026-05-11 16:22:22 +02:00
legacy fix(OC_Helper): properly calculate quota of shared storages 2026-05-19 13:27:08 +02:00
Lock chore: add missing Override attribute to OC 2026-04-28 21:29:27 +02:00
Lockdown chore: add missing Override attribute to OC 2026-04-28 21:29:27 +02:00
Log refactor: use strict operator 2026-04-30 00:51:29 +02:00
Mail chore: add missing Override attribute to OC 2026-04-28 21:29:27 +02:00
Memcache chore: add missing Override attribute to OC 2026-04-28 21:29:27 +02:00
Migration chore: add missing Override attribute to OC 2026-04-28 21:29:27 +02:00
Net fix(net): Add IPv6 zone handling to IpAddressClassifier 2024-10-31 17:06:36 -04:00
Notification chore: add missing Override attribute to OC 2026-04-28 21:29:27 +02:00
OCM chore: add missing Override attribute to OC 2026-04-28 21:29:27 +02:00
OCS chore: add missing Override attribute to OC 2026-04-28 21:29:27 +02:00
OpenMetrics chore: add missing Override attribute to OC 2026-04-28 21:29:27 +02:00
Preview Merge pull request #58425 from nextcloud/chore/delete-empty-preview-dirs 2026-05-11 11:06:06 +02:00
Profile chore: add missing Override attribute to OC 2026-04-28 21:29:27 +02:00
Profiler chore: add missing Override attribute to OC 2026-04-28 21:29:27 +02:00
Remote chore: add missing Override attribute to OC 2026-04-28 21:29:27 +02:00
Repair chore: add missing Override attribute to OC 2026-04-28 21:29:27 +02:00
RichObjectStrings chore: add missing Override attribute to OC 2026-04-28 21:29:27 +02:00
Route fix: Add proper methods in IAppManager for namespace handling 2026-05-11 14:53:29 +02:00
Search chore: add missing Override attribute to OC 2026-04-28 21:29:27 +02:00
Security feat: Add generate session token to CsrfTokenManager 2026-05-12 18:24:12 +02:00
Session chore: add missing Override attribute to OC 2026-04-28 21:29:27 +02:00
Settings chore: Remove almost all uses of deprecated IServerContainer in lib/private 2026-05-11 16:22:22 +02:00
Setup chore: add missing Override attribute to OC 2026-04-28 21:29:27 +02:00
SetupCheck fix: correct typo 'occured' to 'occurred' in SetupCheckManager 2026-05-07 00:27:52 -05:00
Share refactor: Remove old Share backend 2026-03-10 10:09:40 +01:00
Share20 fix: use correct variable for order by 2026-05-07 19:16:46 +02:00
Snowflake fix(snowflake): fix wrong documentation about serverId 2026-05-12 10:47:44 +02:00
SpeechToText chore: Remove almost all uses of deprecated IServerContainer in lib/private 2026-05-11 16:22:22 +02:00
Support chore: add missing Override attribute to OC 2026-04-28 21:29:27 +02:00
SystemTag chore: Remove almost all uses of deprecated IServerContainer in lib/private 2026-05-11 16:22:22 +02:00
Tagging chore: add missing Override attribute to OC 2026-04-28 21:29:27 +02:00
Talk chore: Remove almost all uses of deprecated IServerContainer in lib/private 2026-05-11 16:22:22 +02:00
TaskProcessing chore: Remove almost all uses of deprecated IServerContainer in lib/private 2026-05-11 16:22:22 +02:00
Teams chore: add missing Override attribute to OC 2026-04-28 21:29:27 +02:00
Template refactor: Replace old Utils::callRegister with new API 2026-05-12 18:24:12 +02:00
TextProcessing chore: Remove almost all uses of deprecated IServerContainer in lib/private 2026-05-11 16:22:22 +02:00
TextToImage chore: Remove almost all uses of deprecated IServerContainer in lib/private 2026-05-11 16:22:22 +02:00
Translation chore: Remove almost all uses of deprecated IServerContainer in lib/private 2026-05-11 16:22:22 +02:00
Updater test(Updater): Harden flaky test 2026-02-04 09:44:56 +01:00
User feat(users): Check assertion when enabling user 2026-05-18 14:32:02 +02:00
UserStatus chore: add missing Override attribute to OC 2026-04-28 21:29:27 +02:00
AllConfig.php chore: add missing Override attribute to OC 2026-04-28 21:29:27 +02:00
AppConfig.php chore: add missing Override attribute to OC 2026-04-28 21:29:27 +02:00
AppScriptDependency.php chore: apply new CSFixer rules 2025-07-01 16:26:50 +02:00
AppScriptSort.php refactor: Run rector on lib/private 2026-02-06 13:50:18 +01:00
BinaryFinder.php chore: add missing Override attribute to OC 2026-04-28 21:29:27 +02:00
CapabilitiesManager.php refactor: Apply comments 2026-02-06 13:50:46 +01:00
Color.php feat(rector): Enable SafeDeclareStrictTypesRector 2026-02-09 10:59:31 +01:00
Config.php fix: change config-warning to const per @come-nc request in the PR. 2026-04-07 11:47:14 +03:00
ContactsManager.php chore: add missing Override attribute to OC 2026-04-28 21:29:27 +02:00
DatabaseException.php feat(rector): Enable SafeDeclareStrictTypesRector 2026-02-09 10:59:31 +01:00
DatabaseSetupException.php feat(rector): Enable SafeDeclareStrictTypesRector 2026-02-09 10:59:31 +01:00
DateTimeFormatter.php chore: add missing Override attribute to OC 2026-04-28 21:29:27 +02:00
DateTimeZone.php chore: add missing Override attribute to OC 2026-04-28 21:29:27 +02:00
EmojiHelper.php chore: add missing Override attribute to OC 2026-04-28 21:29:27 +02:00
EventSource.php chore: add missing Override attribute to OC 2026-04-28 21:29:27 +02:00
EventSourceFactory.php chore: add missing Override attribute to OC 2026-04-28 21:29:27 +02:00
ForbiddenException.php feat(rector): Enable SafeDeclareStrictTypesRector 2026-02-09 10:59:31 +01:00
HintException.php chore: Add SPDX header 2024-05-24 13:11:22 +02:00
Image.php chore: add missing Override attribute to OC 2026-04-28 21:29:27 +02:00
InitialStateService.php chore: add missing Override attribute to OC 2026-04-28 21:29:27 +02:00
Installer.php chore(OC_App): move executeRepairSteps and checkAppDependencies to AppManager 2026-05-13 12:32:14 +02:00
LargeFileHelper.php refactor: Run rector on lib/private 2026-02-06 13:50:18 +01:00
Log.php chore: add missing Override attribute to OC 2026-04-28 21:29:27 +02:00
MemoryInfo.php chore(deps): Update nextcloud/coding-standard to v1.3.1 2024-09-19 14:21:20 +02:00
NaturalSort.php refactor: Apply rector changes 2026-04-05 14:47:27 +00:00
NaturalSort_DefaultCollator.php chore: Add SPDX header 2024-05-24 13:11:22 +02:00
NavigationManager.php refactor(appstore): split controllers and use proper root 2026-05-05 10:41:04 +02:00
NeedsUpdateException.php feat(rector): Enable SafeDeclareStrictTypesRector 2026-02-09 10:59:31 +01:00
NotSquareException.php feat(rector): Enable SafeDeclareStrictTypesRector 2026-02-09 10:59:31 +01:00
PhoneNumberUtil.php chore: add missing Override attribute to OC 2026-04-28 21:29:27 +02:00
PreviewManager.php chore: add missing Override attribute to OC 2026-04-28 21:29:27 +02:00
PreviewNotAvailableException.php feat(rector): Enable SafeDeclareStrictTypesRector 2026-02-09 10:59:31 +01:00
RedisFactory.php refactor: Add more typing 2026-02-06 13:55:39 +01:00
Repair.php chore: add missing Override attribute to OC 2026-04-28 21:29:27 +02:00
RepairException.php feat(rector): Enable SafeDeclareStrictTypesRector 2026-02-09 10:59:31 +01:00
Server.php fix(encryption): Resolve IAppConfig lazily to prevent early IDBConnection creation 2026-05-16 06:13:36 -04:00
ServerContainer.php fix: Remove weird tinkering with namespaces and dead code 2026-05-11 14:53:29 +02:00
ServerNotAvailableException.php feat(rector): Enable SafeDeclareStrictTypesRector 2026-02-09 10:59:31 +01:00
ServiceUnavailableException.php feat(rector): Enable SafeDeclareStrictTypesRector 2026-02-09 10:59:31 +01:00
Setup.php fix(Setup): Ensure instanceid is generated during installation 2026-05-11 10:08:54 +02:00
Streamer.php refactor: Run rector on lib/private 2026-02-06 13:50:18 +01:00
StreamImage.php feat(rector): Enable SafeDeclareStrictTypesRector 2026-02-09 10:59:31 +01:00
SubAdmin.php chore: add missing Override attribute to OC 2026-04-28 21:29:27 +02:00
SystemConfig.php fix(config): correct indentation for Sentry CSP Report URL 2026-03-27 16:11:28 +01:00
TagManager.php chore: add missing Override attribute to OC 2026-04-28 21:29:27 +02:00
Tags.php chore: add missing Override attribute to OC 2026-04-28 21:29:27 +02:00
TemplateLayout.php Merge pull request #59952 from nextcloud/fix/public-view-inital-state 2026-04-30 12:42:31 +02:00
TempManager.php chore: add missing Override attribute to OC 2026-04-28 21:29:27 +02:00
Updater.php fix(upgrade): restore missing apps on upgrade 2026-04-17 11:34:35 +02:00
URLGenerator.php refactor: Deprecate url generator utils 2026-05-12 18:24:12 +02:00