Commit graph

14352 commits

Author SHA1 Message Date
fenn-cs
8089ca5291 refactor(IShare): use strong typing for props
The `IShare` interfaces and it's resulting implementations currently only implement types via annotations.

There is need to implement strong typing and refactor usage of share objects to ONLY ACCESS initialized properties.

Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
2024-05-02 17:09:10 +01:00
John Molakvoæ
d4a6a700da
Merge pull request #39247 from nextcloud/query-log-backtrace 2024-05-02 12:03:34 +02:00
Robin Appelman
d6be80ceaf
feat: add option to add backtrace to the query logger
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-05-01 18:12:16 +02:00
Joas Schilling
90ba7db0fb
fix(querybuilder): Remove temporary internal method executeUpdate()
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-04-30 15:13:12 +02:00
Côme Chilliet
eb25e10f55
fix: Avoid reference use in AppConfig
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-04-30 09:38:47 +02:00
Côme Chilliet
ed4603c5aa
fix: Fix small psalm errors in legacy
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-04-30 09:38:47 +02:00
Côme Chilliet
af728c5ff6
fix: Fix tiny phpdoc errors related to Share
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-04-30 09:24:01 +02:00
Côme Chilliet
0df6048693
fix: Fix phpdoc typing in DirectEditing\Manager
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-04-30 09:24:01 +02:00
Côme Chilliet
2333657fb6
fix: Improve typing in Archive/TAR.php
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-04-30 09:24:00 +02:00
Côme Chilliet
ece3588252
fix: Improve typing of mimetype aliases
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-04-30 09:24:00 +02:00
Côme Chilliet
26c4ca264f
fix: Remove bogus code from query builder and fix parameter name
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-04-30 09:23:58 +02:00
Côme Chilliet
672923f0a6
fix: Fix newly spotted psalm issues, add exhaustive typed magic properties for LDAP classes
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-04-30 09:23:58 +02:00
Côme Chilliet
147426c3ca
Merge pull request #44968 from nextcloud/fix/drop-workaround-for-obsolete-php
fix: Drop workarounds for unsupported obsolete PHP versions
2024-04-29 15:31:04 +02:00
Julius Härtl
2c059dd606
Merge pull request #44952 from nextcloud/perf/44951/template-creator
perf(templates): Emit RegisterTemplateCreatorEvent to register template creators more lazy
2024-04-29 08:27:07 +02:00
Christoph Wurst
21ee7f59bd
fix(session): Do not update authtoken last_check for passwordless
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2024-04-26 16:05:18 +02:00
Robin Appelman
40d9a3fcab
feat: add option to enable s3 acceleration
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-04-26 14:40:24 +02:00
Joas Schilling
cdb40a3110
fix(openstack): Fix psalm issue with updated openstack version
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-04-24 07:01:57 +02:00
Joas Schilling
a399de1b22
Merge pull request #44962 from nextcloud/dependabot/composer/sabre/dav-4.6.0
chore(deps): Bump sabre/dav from 4.5.0 to 4.6.0
2024-04-23 13:45:55 +02:00
Pytal
aa4e0bbcc9
Merge pull request #44973 from nextcloud/feat/legal-privacy-links
feat: Add legal notice and privacy policy links to help page
2024-04-23 01:32:31 -07:00
Velwark
535d5de037 Update LoggerWrapperCache.php
Extra Dollar Sign caused errors in Nextcloud. Removing the Dollar Sign Solved the Problem.

Signed-off-by: Velwark <levinfrerich9@gmail.com>
2024-04-23 09:54:44 +02:00
Christopher Ng
3082bdc788 feat: Update help entry name
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2024-04-22 15:19:59 -07:00
Joas Schilling
7cfe36e49b
fix(storage): Fix DAV storage as false is never returned
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-04-22 21:06:00 +02:00
Côme Chilliet
5d1ca7e25a
fix: Drop workarounds for unsupported obsolete PHP versions
Also improved error handling in Installer.php to be type safe.

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-04-22 16:55:42 +02:00
Côme Chilliet
37c89f4191
Merge pull request #44025 from nextcloud/fix/remove-oc-app-calls
Migrate away from OC_App and toward IAppManager.
2024-04-22 16:41:15 +02:00
Côme Chilliet
ac1d868d18
fix: Lazy load IURLGenerator from AppManager to avoid installation crash
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-04-22 15:50:06 +02:00
Julius Härtl
f9e235f7f1 perf(templates): Emit RegisterTemplateCreatorEvent to register template creators more lazy
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2024-04-22 15:23:55 +02:00
Robin Appelman
deac58ab7e
Merge pull request #44884 from nextcloud/query-req-id
feat: add request id as comment to all queries
2024-04-22 13:03:55 +02:00
Côme Chilliet
a0be3ffdf2
fix: Fix tests following OC_App migrations to IAppManager
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-04-22 12:21:55 +02:00
Côme Chilliet
733a818139
fix: Migrate a few more classes away from OC_App::getAppPath
Also fixed AppTest

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-04-22 12:19:01 +02:00
Côme Chilliet
0e7bac72ae
fix: Make sure that AppManager can be built before Nextcloud is installed
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-04-22 12:17:31 +02:00
Côme Chilliet
644036ab4e
fix: Migrate away from OC_App toward the IAppManager
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-04-22 12:14:58 +02:00
Sam Bull
b6ade7c8e4 fix: regression with updating read-only config
Signed-off-by: Sam Bull <git@sambull.org>
2024-04-18 18:40:51 +02:00
Joas Schilling
5fffbcfe86
Merge pull request #44889 from nextcloud/bugfix/noid/skip-cross-storage-move-with-ac
fix(files): Also skip cross storage move with access control
2024-04-18 10:48:03 +02:00
Joas Schilling
2161387ac7
Merge pull request #44886 from nextcloud/techdebt/noid/improved-activity-exceptions
fix(activity): Improved activity exceptions
2024-04-18 10:05:49 +02:00
Joas Schilling
64d32abb48
fix(CI): Suppress psalm UndefinedClass
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-04-18 09:24:11 +02:00
Maxence Lange
a624a2b34f fix(appconfig): returns correct value on details
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2024-04-17 16:28:02 -01:00
Maxence Lange
b4004a2582
Merge pull request #43574 from nextcloud/enh/noid/lazyappconfig-migrate-metadata
enh(metadata): migrate metadata to lazy appconfig
2024-04-17 16:20:33 -01:00
Ferdinand Thiessen
3aa9c53a87
Merge pull request #44644 from nextcloud/enh/noid/returns-formated-app-values
fix(appconfig): format app values
2024-04-17 17:11:36 +02:00
Robin Appelman
8c10c78099
feat: add request id as comment to all queries
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-04-17 16:36:24 +02:00
Joas Schilling
050408c9de
fix(files): Also skip cross storage move with access control
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-04-17 16:29:07 +02:00
Joas Schilling
17744f8590
fix(activity): Remove unneeded exception (types are enforced)
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-04-17 15:36:42 +02:00
Joas Schilling
9f4845e25b
fix(activity): Add a dedicated exception when the filter or setting is not found
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-04-17 15:36:42 +02:00
Joas Schilling
8f83953ff1
fix(activity): Add a dedicated exception when not all fields are set while publishing an activity
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-04-17 15:36:41 +02:00
Joas Schilling
661143a1d1
fix(activity): Add a dedicated exception when invalid values are set
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-04-17 15:36:40 +02:00
Côme Chilliet
3ad4bbb096
Merge pull request #44658 from nextcloud/fix/migrate-away-from-resource-type
fix: Remove obsolete resource typing
2024-04-16 17:13:07 +02:00
Ferdinand Thiessen
f06bf0413d
fix(PsrLoggerAdapter): Adjust code to comply with v2 of Psr\Log (allow \Stringable as message)
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-04-16 11:51:04 +02:00
Ferdinand Thiessen
e8452d9ef1
fix(deps): Bump web-auth/webauthn-lib from 3.3.9 to 4.8.5
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-04-16 11:48:13 +02:00
Joas Schilling
10fc78a9ea
Merge pull request #44810 from nextcloud/moveToOCPServer
chore(db): move to OCP\Server
2024-04-15 14:00:44 +02:00
Joas Schilling
984f00c581
Merge pull request #44770 from nextcloud/techdebt/noid/improved-notification-exceptions
fix(notifications): Improved notification exceptions
2024-04-15 09:26:21 +02:00
Git'Fellow
5f519a2e7d
chore(db): move to OCP\Server
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
2024-04-13 18:29:22 +02:00