Côme Chilliet
6d291ac260
chore: Add missing parameter to docblock tag psalm-taint-sink
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-04-22 16:38:08 +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
Nextcloud bot
2be7b12fd5
Fix(l10n): Update translations from Transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-04-20 00:20:02 +00:00
Nextcloud bot
fc560d8ec9
Fix(l10n): Update translations from Transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-04-19 00:20:24 +00: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
Maxence Lange
b75bb088d1
Merge pull request #44640 from nextcloud/fix/noid/returns-real-value-on-details
...
fix(appconfig): returns correct value on details
2024-04-18 07:05:15 -01: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
Nextcloud bot
5447dd3483
Fix(l10n): Update translations from Transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-04-18 00:20:32 +00: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
784ab6e79a
fix(activity): Add a dedicated exception when the event is unknown to the provider
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-04-17 15:36:41 +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
Nextcloud bot
4c1d4aeccb
Fix(l10n): Update translations from Transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-04-17 00:20:38 +00: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
7eec3b5a72
Merge pull request #44761 from nextcloud/fix/deps-webauthn-lib
...
fix(deps): Bump web-auth/webauthn-lib from 3.3.9 to 4.8.5
2024-04-16 12:57:34 +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
yemkareems
29f0448937
Merge pull request #44840 from nextcloud/feature/occ-clear-avatar-cache-command
...
Feature/occ clear avatar cache command
2024-04-16 15:13:32 +05:30
yemkareems
1d50d78bb3
feat: changes by build/autoloaderchecker.sh
...
Signed-off-by: yemkareems <yemkareems@gmail.com>
2024-04-16 14:18:51 +05:30
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
Nextcloud bot
1ce3ae8a30
Fix(l10n): Update translations from Transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-04-15 00:19:41 +00:00
Nextcloud bot
42c36c152b
Fix(l10n): Update translations from Transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-04-14 00:19:56 +00: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
Joas Schilling
bbaaaf4b91
feat(capabilities): Expose if mod-rewrite is working via capabilities
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-04-12 13:00:20 +02:00
Joas Schilling
874525425c
fix(notifications): Add a warning when using relative links
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-04-12 10:30:39 +02:00
Joas Schilling
6545fed34a
fix(notifications): Throw AlreadyProcessedException also from the manager when it's done
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-04-12 10:30:38 +02:00
Joas Schilling
0d0c2cdaa0
fix(notifications): Add a dedicated exception when a notification was not parsed completely
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-04-12 10:30:38 +02:00
Joas Schilling
c8e4a29dfa
fix(notifications): Add a dedicated exception when the notification is unknown to the notifier
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-04-12 10:30:37 +02:00
Joas Schilling
2c6ecef90f
fix(notifications): Add a dedicated exception when not all fields are set while saving a notification
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-04-12 10:30:37 +02:00
Joas Schilling
834bd13e28
fix(notifications): Add a dedicated exception when invalid values are set
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-04-12 09:23:15 +02:00
Christoph Wurst
46fb51b022
Merge pull request #44746 from nextcloud/doc/idbconnection-prepare-branding
...
docs: Adjust branding in IDBConnection::prepare doc block
2024-04-09 20:57:19 +02:00
Christoph Wurst
5443069471
docs: Adjust branding in IDBConnection::prepare doc block
...
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2024-04-09 20:40:29 +02:00
Pytal
728c46d174
Merge pull request #44736 from nextcloud/fix/avatar-images
...
fix: Fix avatar images
2024-04-09 10:10:19 -07:00
Côme Chilliet
b6f5cfa83f
chore: add `@since` annotation for IStreamImage::resource method
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-04-09 14:18:39 +02:00
Julius Härtl
e0fcf6b700
Merge pull request #44294 from nextcloud/fix/storage-mount-owner
...
fix: Pass the mountpoint target user to storages without owner
2024-04-09 13:18:13 +02:00
Robin Appelman
a4de9888cf
Merge pull request #44730 from nextcloud/jail-watcher
...
fix: use proper jailed patch in watcher
2024-04-09 12:40:44 +02:00
Côme Chilliet
6d7ff2e85a
fix: Fix typing issues related to resource migration
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-04-09 10:48:27 +02:00
Julius Härtl
4910e7e231
fix: Pass the mountpoint target user to storages without owner
...
Storages that do not have a dedicated owner (e.g. groupfolders, external
storages) currently always assume the current session user as the owner.
This leads to several issues when there is no user session but a node is
obtained through a user folder.
In order to have the correct user available we need to pass the user
that is used to setup a mountpoint along to the storage layer as we
generally assume that an owner is available for those.
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2024-04-09 09:04:24 +01:00
Nextcloud bot
10779fcabe
Fix(l10n): Update translations from Transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-04-09 00:20:02 +00:00
Christopher Ng
c8037d6e54
fix: Fix avatar images
...
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2024-04-08 17:04:33 -07:00
Joas Schilling
5ddba78dc9
Merge pull request #44216 from nextcloud/feat/core/openapi-capabilities
...
feat(core): Include core capabilities in OpenAPI
2024-04-08 21:46:55 +02:00
Kate
ede541b4e7
Merge pull request #44707 from nextcloud/chore/richobjectstrings/missing-newlines
2024-04-08 20:51:52 +02:00
provokateurin
8aa294567d
feat(OCS): Annotate capabilities
...
Signed-off-by: provokateurin <kate@provokateurin.de>
2024-04-08 20:08:44 +02:00
Robin Appelman
d31ed8dbca
fix: use proper jailed patch in watcher
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-04-08 18:37:05 +02:00
provokateurin
db77eab677
fix(AppFramework): Fix error message about 204 not allowing custom headers
...
Signed-off-by: provokateurin <kate@provokateurin.de>
2024-04-08 16:08:44 +02:00
Josh
ff2100a4e5
Merge pull request #44705 from nextcloud/fix/issue-44702
...
fix(Blurhash): Suppress imagecreatefromstring() E_WARNING
2024-04-08 07:32:36 -04:00
Côme Chilliet
ab6afe0111
fix: Fix new psalm errors from update
...
Not sure about the SimpleContainer modification, let’s see what CI says
about that.
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-04-08 11:29:09 +02:00
Richard Steinmetz
9ef70f0c4e
feat: drop support for php 8.0
...
Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
2024-04-08 11:28:54 +02:00
provokateurin
7fb95fab72
chore(RichObjectStrings): Add missing newlines
...
Signed-off-by: provokateurin <kate@provokateurin.de>
2024-04-06 19:28:16 +02:00
Josh
e02a06072b
fix(Blurhash): Suppress imagecreatefromstring() E_WARNING
...
We're already checking return value to determine if the format is unrecognized. There's no reason to let imagecreatefromstring() generate it's own E_WARNING when the format is unrecognized.
Fixes #44702
Signed-off-by: Josh <josh.t.richards@gmail.com>
2024-04-06 10:41:46 -04:00
Maxence Lange
97e59b12a1
fix(appconfig): only convert single entry on searchValues()
...
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2024-04-05 17:49:34 -01:00
Maxence Lange
cc813fec23
fix(appconfig): format app values
...
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2024-04-05 17:49:34 -01:00
Ferdinand Thiessen
c24eecbbb3
fix(DateTimeFormatter): Adjust invalid doc blocks
...
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-04-05 13:27:52 +02:00
Maxence Lange
a643a71222
fix(appconfig): compare with original value
...
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2024-04-03 16:56:19 -01:00
Joas Schilling
575e7d8dba
fix(federation): ICloudId->getRemote() should contain the protocol
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-04-02 17:55:16 +02:00
Côme Chilliet
47b765552f
fix: Remove incorrect default null value
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-04-02 14:16:21 +02:00
Côme Chilliet
ec5133b739
fix: Apply new coding standard to all files
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-04-02 14:16:21 +02:00
Nextcloud bot
93065b22c4
Fix(l10n): Update translations from Transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-04-02 00:19:28 +00:00
Nextcloud bot
c93d44bb3f
Fix(l10n): Update translations from Transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-03-31 00:19:32 +00:00
Nextcloud bot
4b85a88620
Fix(l10n): Update translations from Transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-03-30 00:20:27 +00:00
Nextcloud bot
a40838b61c
Fix(l10n): Update translations from Transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-03-29 00:24:23 +00:00
Louis Chemineau
751795999a
feat(files)): Add retry logic to cover deadlock situations when moving many files
...
Signed-off-by: Louis Chemineau <louis@chmn.me>
2024-03-28 09:05:47 +01:00
Benjamin Gaussorgues
b304dc78f8
Merge pull request #44470 from nextcloud/fix/compatibility-replica-splitting
2024-03-26 20:27:14 +01:00
Benjamin Gaussorgues
f8d1487dcd
Merge pull request #44475 from nextcloud/fix/disabled-ipv6
2024-03-26 18:14:49 +01:00
Ferdinand Thiessen
0cb691d07e
Merge pull request #44412 from nextcloud/fix/add-csp-nonce-by-default
...
fix(CSP): Add CSP nonce by default and convert `browserSupportsCspV3` to blacklist
2024-03-26 18:06:06 +01:00
Ferdinand Thiessen
5a513c924f
fix(CSP): Add CSP nonce by default and convert `browserSupportsCspV3` to blocklist
...
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-03-26 17:08:22 +01:00
Benjamin Gaussorgues
42f4e6ac34
Merge pull request #42931 from hrenard/master
2024-03-26 17:00:18 +01:00
Richard Steinmetz
4177e8a617
Merge pull request #44474 from nextcloud/fix/preview/webp-preview-format
...
fix(preview): webp preview format
2024-03-26 15:17:33 +01:00
Ferdinand Thiessen
7880086de8
fix(S3): Adjust typing for 32bit compatibility
...
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-03-26 13:07:53 +01:00
Benjamin Gaussorgues
7e4be1fcfd
fix(dns): detect disabled IPv6 support in DNS pinning
...
Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
2024-03-26 12:04:51 +01:00
Benjamin Gaussorgues
1a55084930
Merge pull request #44270 from nextcloud/fix/catch-setupcheck-trowables
2024-03-26 11:27:52 +01:00
Hugo Renard
e389e63974
fix: always add user to group cache
...
When there is no user in a group, and we add one, it's not added to the group cache. So consecutive call of addUser() and getUsers() is inconsistent.
Furthermore, the user cache is never null, so this check is unesserary.
Signed-off-by: Hugo Renard <hugo.renard@protonmail.com>
2024-03-26 11:07:37 +01:00
Richard Steinmetz
e9c0d0e67f
fix(preview): webp preview format
...
Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
2024-03-26 09:58:36 +01:00
Julius Härtl
2fdb9184fa
fix: Allow using replica config with split databases
...
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2024-03-26 09:25:44 +01:00
Nextcloud bot
992dd3977e
Fix(l10n): Update translations from Transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-03-26 00:19:24 +00:00
Varun Patil
024f689c97
Merge pull request #44230 from nextcloud/varun/config-read
...
config: fix correctness issues in reading
2024-03-25 14:12:36 -07:00
Ferdinand Thiessen
2525e73caa
fix(DB): Sanitize `host` parameter for postgres databases when IPv6 address is passed
...
Doctrine is using `pg_connect` with the `host` parameter, this does not allow IPv6 addresses in URI notation.
So we need to extract the IP address and pass it directly
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-03-25 20:25:17 +01:00
Varun Patil
158558763d
fix(config): correctness issues in reading
...
Signed-off-by: Varun Patil <varunpatil@ucla.edu>
2024-03-25 12:07:17 -07:00
Robin Appelman
ae19e949ed
Merge pull request #44458 from nextcloud/fileacces-interface
...
feat: add interface for lower level filecache acess without having to do direct db queries
2024-03-25 17:28:14 +01:00
Joas Schilling
ce059fe078
Merge pull request #44453 from nextcloud/bugfix/noid/fix-cloud-id-generation-with-http
...
fix(federation): Fix creating local cloudIds with http:// protocol
2024-03-25 16:59:53 +01:00
Robin Appelman
1d9354a81e
feat: add interface for lower level filecache acess without having to do direct db queries
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-03-25 16:48:41 +01:00
Joas Schilling
7c6934dea9
fix(typo): Fix typo in docs
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-03-25 14:55:52 +01:00
Joas Schilling
dababa5138
fix(federation): Fix creating local cloudIds with http:// protocol
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-03-25 14:21:52 +01:00
Andy Scherzinger
46906b7d69
Merge pull request #32631 from nextcloud/feature/32629/getAccessList-share-by-email-recipients
...
Get access list share by email recipients
2024-03-25 12:40:10 +01:00
Ferdinand Thiessen
c352f0198b
Merge pull request #44410 from nextcloud/fix/fetcher-on-null
...
fix(AppStore\Fetcher): Ensure `get` returns an array
2024-03-25 12:19:00 +01:00