Jana Peper
f8886fe27a
feat: add toggle for AI guest restriction
...
Signed-off-by: Jana Peper <jana.peper@nextcloud.com>
2025-07-03 10:25:19 +07:00
Nextcloud bot
7383858a8f
fix(l10n): Update translations from Transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-07-03 00:12:18 +07:00
Lukas Schaefer
3e24c40939
feat(TaskProcessing): Add AnalyzeImage TaskType
...
Signed-off-by: Lukas Schaefer <lukas@lschaefer.xyz>
2025-07-02 09:18:53 +07:00
Kent Delante
eb58d2bb5a
fix(syslog): open syslog channel on write
...
This fixes a bug where only one tag gets used when multiple tags have
been configured (e.g. different tags for 'syslog_tag' and 'syslog_tag_audit')
Signed-off-by: Kent Delante <kent.delante@proton.me>
2025-07-02 09:14:33 +07:00
Ferdinand Thiessen
5981b7eb51
chore: apply new CSFixer rules
...
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
# Conflicts:
# apps/settings/lib/SetupChecks/PhpOpcacheSetup.php
2025-07-01 16:26:50 +07:00
John Molakvoæ
bd00b75b29
Merge pull request #53671 from nextcloud/fix/read-only-share-download
2025-07-01 15:11:06 +07:00
Joas Schilling
a9e3f6820f
Merge pull request #53735 from nextcloud/bugfix/noid/document-hide-download
...
fix(ROS): Document hide-download option on files
2025-07-01 14:28:24 +07:00
Ferdinand Thiessen
dd92b45208
Merge pull request #53648 from nextcloud/rename-hooks-webhook
...
fix: don't try to get fileid for non exising nodes when serializing events file
2025-07-01 14:22:59 +07:00
Côme Chilliet
79f4e0de76
fix: Only attempt to decode JSON input if it is not an empty string
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2025-07-01 11:24:27 +07:00
provokateurin
baeaaf09dc
chore(public): Remove unused union type for user mount events
...
Signed-off-by: provokateurin <kate@provokateurin.de>
2025-07-01 10:50:28 +07:00
Côme Chilliet
e8bc35ec0a
fix(ocs): Return a proper error on JSON decoding failures
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2025-07-01 10:45:31 +07:00
Côme Chilliet
87f98c88ab
chore: Rename property and type it to match its current use in Request
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2025-07-01 10:25:14 +07:00
Nextcloud bot
1fd2d4d435
fix(l10n): Update translations from Transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-07-01 00:12:14 +07:00
Joas Schilling
60b8384e48
Merge branch 'master' into remove-x-xss-protection
2025-06-30 21:32:22 +07:00
Joas Schilling
d4718034c0
fix(ROS): Document hide-download option on files
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2025-06-30 20:04:34 +07:00
Robin Appelman
6d0119bf8d
fix: handle dav external storage roots with spaces
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2025-06-30 18:01:01 +07:00
Nextcloud bot
0abd96d1a5
fix(l10n): Update translations from Transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-06-30 12:54:03 +07:00
Daniel Kesselberg
de54bdb06b
fix: handle ambiguous IResponse.getBody return types
...
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2025-06-30 11:50:11 +07:00
Daniel Kesselberg
3d0fb7e603
docs(http): Update return type for getBody
...
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2025-06-30 11:50:10 +07:00
Côme Chilliet
f4b780bfea
fix(encryption): Pass an IUser and not a string to getUpdate
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2025-06-30 10:28:49 +07:00
Robin Appelman
ab6f418340
fix: don't try to get fileid for non exising nodes when serializing events file
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2025-06-27 20:52:32 +07:00
Côme Chilliet
07f9d8f4c2
fix(encryption): Catch NotFoundException in ShareDeletedEvent listener
...
Avoids issues when a share is deleted after the node itself is already
deleted.
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2025-06-26 17:13:43 +07:00
John Molakvoæ
20a50ea877
fix: invalid bool return
...
Co-authored-by: Côme Chilliet <91878298+come-nc@users.noreply.github.com>
Signed-off-by: John Molakvoæ <skjnldsv@users.noreply.github.com>
2025-06-26 11:47:53 +07:00
skjnldsv
9806a9830c
feat(files_sharing): allow viewing files with download disabled
...
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2025-06-26 11:47:53 +07:00
Daniel Kesselberg
53fb05e2d0
fix(nullcache): make get compliant with the interface
...
The interface defines ICacheEntry|false, thus we should not return null.
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2025-06-26 09:54:48 +07:00
Nextcloud bot
894f963804
fix(l10n): Update translations from Transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-06-26 00:22:42 +07:00
John Molakvoæ
280ee156bc
Merge pull request #53649 from nextcloud/security-missing-auth-error
2025-06-25 15:57:16 +07:00
Robin Appelman
3fa81d0dc1
Merge pull request #52880 from nextcloud/memcache-commands
...
Add commands to set/get/delete/clear the distributed memcache
2025-06-25 13:38:33 +07:00
Joas Schilling
06ebbb620b
Merge pull request #53669 from nextcloud/feat/noid/add-command-to-list-all-routes
...
feat(occ): Add commands to list all routes and match a single one
2025-06-25 09:34:52 +07:00
Robin Appelman
f057a2054c
Merge pull request #53461 from nextcloud/copyr-no-empty-newfile
...
fix: don't create an empty file before writing the contents in OC_Util::copyr
2025-06-25 08:28:51 +07:00
Joas Schilling
a957e3a2c2
feat(occ): Add commands to list all routes and match a single one
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2025-06-25 08:19:08 +07:00
Nextcloud bot
c93919b922
fix(l10n): Update translations from Transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-06-25 00:23:22 +07:00
Robin Appelman
1d2b991bda
fix: don't create an empty file before writing the contents in OC_Util::copyr
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2025-06-24 16:27:27 +07:00
Robin Appelman
b5b2eb9da7
feat: add command to clear memcache
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2025-06-24 16:27:14 +07:00
Robin Appelman
131115fb6a
feat: add command to delete memcache key
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2025-06-24 16:27:14 +07:00
Robin Appelman
8689a4ad2a
feat: add commands to get and set memcache values
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2025-06-24 16:27:14 +07:00
Robin Appelman
d61ec62ae7
refactor: split off value casting out of config:system:set command
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2025-06-24 16:27:14 +07:00
Robin Appelman
8b0a3a774d
fix: throw a better error if we don't get an authorization header for secutity confirmation
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2025-06-24 15:57:20 +07:00
Maxence Lange
d860cfd1cb
feat(lexicon): better numeric conversion
...
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2025-06-24 12:10:57 +07:00
Maxence Lange
d8fc08d718
feat(lexicon): fix tests
...
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2025-06-24 12:10:57 +07:00
Maxence Lange
3d3c77b774
feat(lexicon): migrate keys on app update
...
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2025-06-24 12:10:57 +07:00
Maxence Lange
d5e487078a
feat(lexicon): using configmanager
...
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2025-06-24 12:10:57 +07:00
Maxence Lange
e39ab65239
feat(lexicon): migrate config key/value
...
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2025-06-24 12:10:57 +07:00
Richard Steinmetz
abced23a09
Merge pull request #53615 from nextcloud/fix/revive-lowercase-email
...
fix: revive always storing lowercased email addresses
2025-06-24 14:19:12 +07:00
Richard Steinmetz
b6af06d2e0
fix: revive always storing lowercased email addresses
...
Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
2025-06-24 13:53:08 +07:00
Salvatore Martire
5fef6f1c90
fix: make rotate logs a TimedJob and run every hour
...
Signed-off-by: Salvatore Martire <4652631+salmart-dev@users.noreply.github.com>
2025-06-24 09:55:23 +07:00
Nextcloud bot
606951afb7
fix(l10n): Update translations from Transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-06-24 00:23:02 +07:00
Nextcloud bot
f2ee6e2826
fix(l10n): Update translations from Transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-06-23 00:22:07 +07:00
Nextcloud bot
1806405dda
fix(l10n): Update translations from Transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-06-22 00:22:38 +07:00
Nextcloud bot
ec73f4a925
fix(l10n): Update translations from Transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-06-21 00:22:50 +07:00
Nextcloud bot
2606f7b7dd
fix(l10n): Update translations from Transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-06-20 00:22:31 +07:00
Nextcloud bot
1559092c22
fix(l10n): Update translations from Transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-06-19 00:22:42 +07:00
Robin Appelman
2e1c316582
fix: remove double cache write in ObjectStoreStorage::touch
...
the file_put_contents already puts all of those values into the cache
Signed-off-by: Robin Appelman <robin@icewind.nl>
2025-06-18 22:22:51 +07:00
Jana Peper
50c9852e24
feat: add ocs route to get apps enabled for current user
...
Signed-off-by: Jana Peper <jana.peper@nextcloud.com>
2025-06-18 17:31:20 +07:00
Kent Delante
ea98e4b3f5
Merge pull request #53419 from nextcloud/leftybournes/fix/object_storage_large_uploads
...
fix(s3): retry failed multipart uploads with decreased concurrency
2025-06-18 21:07:06 +07:00
Ferdinand Thiessen
35a27b5fd5
fix(FilenameValidator): use `_` as default replacement for invalid chars
...
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-06-18 09:44:57 +07:00
Nextcloud bot
beefeb008c
fix(l10n): Update translations from Transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-06-18 00:22:25 +07:00
Salvatore Martire
7265f10307
chore: update autoloader
...
Signed-off-by: Salvatore Martire <4652631+salmart-dev@users.noreply.github.com>
2025-06-17 12:33:03 +07:00
Ferdinand Thiessen
e11ecaa53f
Merge pull request #53516 from nextcloud/fix/fix-encryption-manager-injection
...
fix(encryption): Fix DI for encryption Manager class
2025-06-17 11:45:15 +07:00
Andy Scherzinger
6f2fbef490
Merge pull request #51657 from SBizienFilippiPEReN/cookie-domain
...
cookie_domain config option for setting cookie on a wider domain
2025-06-17 07:00:40 +07:00
Daniel Calviño Sánchez
b69f04177b
Merge pull request #53498 from nextcloud/fix/noid/make-s3-connect-timeout-option-configurable
...
fix(ObjectStore): Make S3 "connect_timeout" option configurable
2025-06-17 05:30:37 +07:00
Nextcloud bot
044a816788
fix(l10n): Update translations from Transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-06-17 00:22:34 +07:00
Josh
54142b2b20
fix(maintenanceMode): Refresh web page when turned off (part 1)
...
Signed-off-by: Josh <josh.t.richards@gmail.com>
2025-06-16 15:41:59 +07:00
Daniel Calviño Sánchez
d7ae952dc8
fix(ObjectStore): Make S3 "connect_timeout" option configurable
...
The hardcoded connection timeout of 5 seconds may not be enough in some
cases, so now it is got from the ObjectStore arguments in Nextcloud
configuration, falling back to 5 if not set.
The connection timeout is set in seconds, but decimal precision can be
used for subsecond accuracy (for example, 4.2 for 4200 milliseconds).
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2025-06-16 20:17:50 +07:00
Côme Chilliet
64208b6d22
Merge pull request #53507 from nextcloud/fix/fix-warning-lazy-ghost-application
...
fix: Correctly ignore lazy ghost initialization in debug warning about direct constructor call
2025-06-16 19:16:26 +07:00
Côme Chilliet
a9acaaa45f
fix(encryption): Fix DI for encryption Manager class
...
Only IManager was registered but the class name is used as well for DI
in the encryption application. This was causing a crash of encryption
command when using PHP 8.4 and lazy ghosts.
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2025-06-16 16:35:27 +07:00
Samuel Bizien Filippi
a14cade3ac
feat(core): add cookie_domain config option
...
Signed-off-by: Samuel Bizien Filippi <samuel.bizien-filippi@finances.gouv.fr>
2025-06-16 15:33:48 +07:00
Richard Steinmetz
967b634a82
fix: properly deprecate IOCMProvider
...
Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
2025-06-16 12:20:40 +07:00
Côme Chilliet
4a1eb3dc2a
fix: Correctly ignore lazy ghost initialization in debug warning about direct constructor call
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2025-06-16 12:01:16 +07:00
Micke Nordin
e770859008
Update lib/private/Server.php
...
Co-authored-by: Joas Schilling <213943+nickvergessen@users.noreply.github.com>
Signed-off-by: Micke Nordin <mickenordin@users.noreply.github.com>
2025-06-16 10:33:21 +07:00
Micke Nordin
7bee91a834
fix(OCMProvider): fix dependency injection for OCMProvider
...
Signed-off-by: Micke Nordin <kano@sunet.se>
2025-06-16 10:33:21 +07:00
Nextcloud bot
dd91b8e3db
fix(l10n): Update translations from Transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-06-16 00:23:03 +07:00
Nextcloud bot
ced1c5bf6c
fix(l10n): Update translations from Transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-06-15 00:22:15 +07:00
Nextcloud bot
16b31fcfce
fix(l10n): Update translations from Transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-06-14 00:22:18 +07:00
invario
2b58f74cc8
Fix: Remove X-XSS-Protection use, check and recommendation
...
Co-authored-by: John Molakvoæ <skjnldsv@users.noreply.github.com>
Signed-off-by: invario <67800603+invario@users.noreply.github.com>
2025-06-13 16:12:27 +07:00
Côme Chilliet
b188fad8e8
fix(router): In debug mode, cache routes only for 3 seconds
...
This allows testing a newly added or changed route in your application
without having to wait 1 hour or bump the application version.
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2025-06-12 16:12:22 +07:00
Andy Scherzinger
fc2aa7f5b5
Merge pull request #51113 from mickenordin/master
...
feat(OCM-invites): Implementation of invitation flow for OCM 1.1.0
2025-06-12 12:13:50 +07:00
Maxence Lange
f8c64a17b1
Merge pull request #53427 from nextcloud/shard-key-hint-partition
...
fix: allow hinting the shard keys for joined tables
2025-06-12 09:09:50 +07:00
Micke Nordin
623f2f0240
feat(OCM-invites): Implementation of invitation flow
...
This patchset:
* implements the /invite-accepted endpoint
* adds capabilities and inviteAceptDialog to the discovery
* adds a FederatedInviteAcceptedEvent
https://cs3org.github.io/OCM-API/docs.html?branch=v1.1.0&repo=OCM-API&user=cs3org#/paths/~1invite-accepted/post
Co-authored-by: Anna <anna@nextcloud.com>
Co-authored-by: Côme Chilliet <come.chilliet@nextcloud.com>
Co-authored-by: Joas Schilling <213943+nickvergessen@users.noreply.github.com>
Co-authored-by: Navid Shokri <navid.pdp11@gmail.com>
Signed-off-by: Micke Nordin <kano@sunet.se>
2025-06-12 11:20:26 +07:00
Nextcloud bot
acc2311a0d
fix(l10n): Update translations from Transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-06-12 00:22:49 +07:00
skjnldsv
bf3ce79abd
feat(files_sharing): show Account menu on public pages
...
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2025-06-11 16:43:53 +07:00
Nextcloud bot
c4f071a577
fix(l10n): Update translations from Transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-06-11 00:23:30 +07:00
Daniel
e1fcd6ccfb
Merge pull request #53000 from nextcloud/fix/noid/stuck-ffmpeg
...
fix: unblock ffmpeg on some broken videos
2025-06-10 22:22:04 +07:00
Robin Appelman
26903926a2
fix: allow hinting the shard keys for joined tables
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2025-06-10 16:15:05 +07:00
Kate
1474fa3407
Merge pull request #52743 from nextcloud/bug/noid/expires-date-format
2025-06-10 14:25:05 +07:00
Kate
9faf386303
Merge pull request #52913 from nextcloud/debt/noid/use-logical-operator
2025-06-10 14:17:46 +07:00
Daniel Kesselberg
55bca1e5db
fix: use logical operator instead of bitwise
...
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2025-06-10 13:55:53 +07:00
Daniel Kesselberg
be587def0e
fix: use correct format for expires, last-modified, and if-modified-since headers
...
Before: Sat, 10 May 2025 18:17:41 +0000
After: Sat, 10 May 2025 18:17:41 GMT
RFC: https://httpwg.org/specs/rfc9110.html#http.date
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2025-06-10 13:15:31 +07:00
Kent Delante
06b5ce5859
fix(s3): retry failed multipart uploads with decreased concurrency
...
Signed-off-by: Kent Delante <kent.delante@proton.me>
2025-06-10 17:39:59 +07:00
provokateurin
d11d5b765f
feat(core): Add option to disable creating an admin user when installing
...
Signed-off-by: provokateurin <kate@provokateurin.de>
2025-06-10 11:16:28 +07:00
provokateurin
9a121269f3
refactor(Setup): When creating a DB user don't use the admin username
...
Signed-off-by: provokateurin <kate@provokateurin.de>
2025-06-10 11:16:28 +07:00
Côme Chilliet
231916d403
Merge pull request #52538 from nextcloud/feat/use-php84-lazy-objects
...
Use PHP 8.4 lazy ghosts for Dependency injection
2025-06-10 10:45:12 +07:00
Nextcloud bot
9cc2b01d5f
fix(l10n): Update translations from Transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-06-10 00:22:39 +07:00
Nextcloud bot
1f298806be
fix(l10n): Update translations from Transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-06-09 00:22:20 +07:00
Nextcloud bot
a921fcb05e
fix(l10n): Update translations from Transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-06-07 00:22:04 +07:00
Joas Schilling
f230abeef8
fix: Run cleanByMoundId query on all shards
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2025-06-06 14:36:34 +07:00
Côme Chilliet
78ff8e233f
fix: Switch lazy object to enabled by default on PHP 8.4
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2025-06-05 20:51:24 +07:00
Côme Chilliet
2eed6d3a89
feat: Add a configuration toggle for lazy objects in DI
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2025-06-05 20:51:24 +07:00
Côme Chilliet
98b2cfc416
fix: Fix several side effects of lazy ghosts
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2025-06-05 20:50:42 +07:00
Côme Chilliet
86ff5810d7
fix: Only use Lazy objects if PHP is 8.4 or higher
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2025-06-05 20:49:58 +07:00
Côme Chilliet
1bf41550d0
chore: Suppress psalm error
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2025-06-05 20:49:58 +07:00
Côme Chilliet
06c062bebd
feat: Use Lazy ghosts for Dependency injection
...
This will only work with PHP 8.4, so we’ll need to put it behind a version check later.
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2025-06-05 20:49:38 +07:00
Côme Chilliet
bb485fb733
fix: Load all partially enabled apps routes
...
This avoids cache issues if some apps are only enabled for some groups,
by loading the routes from all apps enabled for anyone, not only the
current user.
If the queried application is disabled for the current user based on
groups, the middleware will cancel the query.
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2025-06-05 18:06:08 +07:00
Côme Chilliet
12e7f46b30
fix: Use application ids as well as versions in the cache prefix
...
Avoids a corner case issue if one application was disabled and another
one enabled with the same version, just to be safe.
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2025-06-05 18:03:56 +07:00
Côme Chilliet
a2fdeccc31
chore(tests): Adapt AppManager test to the use of searchValues
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2025-06-05 17:58:54 +07:00
Côme Chilliet
e8370bf73a
fix: Use only enabled applications versions in the cache prefix
...
This makes sure the cached routes are updated after enabling a
previously disabled application
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2025-06-05 17:58:54 +07:00
Côme Chilliet
0d78c60759
fix: Fix psalm issue by adding missing parameter for profiler
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2025-06-05 17:58:54 +07:00
Côme Chilliet
446b22ac3c
feat(router): Add fallback for legacy action and file routes
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2025-06-05 17:58:54 +07:00
Côme Chilliet
216da3a81c
fix: Deprecate action and actionInclude from routes and fix actionInclude
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2025-06-05 17:58:53 +07:00
Côme Chilliet
5c9092bc5b
fix: Use a more fitting cache key
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2025-06-05 17:58:53 +07:00
Côme Chilliet
01575b7d95
feat(router): Use Symfony CompiledUrlMatcherDumper to cache routes
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2025-06-05 17:58:53 +07:00
Côme Chilliet
ee3abdd81b
feat(router): Cache routes in local cache if possible
...
This is not ideal because serializing the routecollection is not easy.
It seems Symfony has its own way of doing things by dumping routes to a
PHP file, maybe that would be better, but it would mean pulling a new
symfony dependency and maybe refactor our Router.
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2025-06-05 17:58:46 +07:00
Côme Chilliet
c85f7eacb8
fix: Throw AppNotFoundException from installer when application is not found
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2025-06-05 17:03:16 +07:00
Côme Chilliet
bf340a576f
fix: Do not enable applications which are not installed yet
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2025-06-05 15:39:25 +07:00
skjnldsv
e41e8de0e2
fix(dav): file drop nickname
...
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2025-06-05 09:09:17 +07:00
Nextcloud bot
0359b7c34a
fix(l10n): Update translations from Transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-06-05 00:22:37 +07:00
Joas Schilling
656dc478e5
fix(notifications): Fix check for hasNotifiers when all apps use RegistrationContext
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2025-06-04 06:32:26 +07:00
provokateurin
c3aa5316be
feat(RequestHeader): Add indirect parameter
...
Signed-off-by: provokateurin <kate@provokateurin.de>
2025-06-03 11:09:12 +07:00
provokateurin
727b0c853c
refactor(RequestHeader): Make parameter types stricter
...
Signed-off-by: provokateurin <kate@provokateurin.de>
2025-06-03 11:07:09 +07:00
provokateurin
18e04e1c5a
chore(RequestHeader): Remove unnecessary getters
...
Signed-off-by: provokateurin <kate@provokateurin.de>
2025-06-03 11:06:53 +07:00
Nextcloud bot
b54803b476
fix(l10n): Update translations from Transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-06-03 00:22:25 +07:00
Julien Veyssier
c4e936c6e8
Merge pull request #53205 from nextcloud/fix/noid/get-preview-force-mimetype
...
fix(PreviewManager): use the forced mimetype in throwIfPreviewsDisabled
2025-06-02 20:27:19 +07:00
Ferdinand Thiessen
4cd026ad43
Merge pull request #53157 from nextcloud/chore/refactor-core
...
refactor(core): migrate core application to `IBootstrap`
2025-06-02 16:51:49 +07:00
Ferdinand Thiessen
bbfd281ac5
Merge pull request #52949 from nextcloud/fix/delete-legacy-autoloader
...
fix: Remove useless legacy autoloader
2025-06-02 16:14:25 +07:00
Ferdinand Thiessen
c21e189850
fix: make core application bootstrapable by coordinator
...
Co-authored-by: Ferdinand Thiessen <opensource@fthiessen.de>
Co-authored-by: Côme Chilliet <91878298+come-nc@users.noreply.github.com>
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-06-02 15:58:54 +07:00
Ferdinand Thiessen
0a982374ec
refactor(core): migrate core application to `IBootstrap`
...
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-06-02 15:58:25 +07:00
Julien Veyssier
c7e9f2c03d
fix(PreviewManager): use the forced mimetype in throwIfPreviewsDisabled
...
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
2025-06-02 15:50:53 +07:00
Louis
f4cb78b905
Merge pull request #52242 from nextcloud/artonge/fix/copy_subfolders_s3
2025-06-02 11:55:54 +07:00
Nextcloud bot
080473ccdf
fix(l10n): Update translations from Transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-06-02 00:47:33 +07:00
John Molakvoæ
d53776913e
Merge pull request #53210 from nextcloud/bug/52977/opcache-reset-after-app-extract
2025-06-01 12:10:54 +07:00
Nextcloud bot
b36223c943
fix(l10n): Update translations from Transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-06-01 00:21:58 +07:00
Nextcloud bot
b2c3c610e7
fix(l10n): Update translations from Transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-05-31 00:22:39 +07:00
Daniel Kesselberg
c7b69931f3
fix: clear opcache after app extraction
...
clear opcache post app update extraction to prevent outdated files issues.
opcache.validate_timestamps=0 disables automated file modification checks.
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2025-05-30 18:12:15 +07:00
Nextcloud bot
52299ba9f6
fix(l10n): Update translations from Transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-05-30 00:22:35 +07:00
Joas Schilling
89a7778f87
test: Mock ITaskManager to remove test interactions
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2025-05-29 12:20:20 +07:00
Joas Schilling
8b70f59015
chore(cs): Apply autofixes
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2025-05-29 09:18:12 +07:00
Nextcloud bot
b7215c932c
fix(l10n): Update translations from Transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-05-29 00:33:26 +07:00
rakekniven
78bd9ad29f
chore(i18n): Improved wording
...
Signed-off-by: rakekniven <2069590+rakekniven@users.noreply.github.com>
2025-05-29 01:09:55 +07:00
rakekniven
c8da8628c3
chore(i18n): Add hint for translators
...
Signed-off-by: rakekniven <2069590+rakekniven@users.noreply.github.com>
2025-05-29 01:09:55 +07:00
Andrey Borysenko
7994332338
feat: add support for sensitive Declarative settings values encryption
...
Signed-off-by: Andrey Borysenko <andrey18106x@gmail.com>
2025-05-28 20:43:04 +07:00
Robin Appelman
5b3f4cd8fe
perf: set the folder size in the same query as we create it
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2025-05-28 15:52:00 +07:00
Louis Chemineau
1f8b823992
fix(S3): Use original folder size during copy
...
This prevent having copied folders with a wrongly set size of 0KB.
- Fix https://github.com/nextcloud/server/issues/51916
Signed-off-by: Louis Chemineau <louis@chmn.me>
2025-05-28 15:52:00 +07:00
Robin Appelman
7599162c7b
feat: move primary object store configuration to a single place
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2025-05-28 15:32:31 +07:00
Jonas
f833e2d219
Merge pull request #52996 from nextcloud/fix/emit_hooks_on_copy
...
fix(node): emit hooks on `Node::copy()`
2025-05-28 13:49:49 +07:00
Nextcloud bot
d03f6d804f
fix(l10n): Update translations from Transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-05-28 00:22:38 +07:00
Côme Chilliet
7c251e4f96
fix: Remove useless legacy autoloader
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2025-05-27 18:06:28 +07:00
Côme Chilliet
9560e00cf3
chore: Remove useless legacy autoloader for tests
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2025-05-27 16:15:58 +07:00
Benjamin Gaussorgues
b7c46f1277
Merge pull request #53130 from nextcloud/artonge/fix/skip_blurhash_if_previews_are_disabled
2025-05-27 14:56:00 +07:00
Louis Chemineau
72bdb93b66
fix(blurhash): Skip generation the if previews are disabled.
...
Signed-off-by: Louis Chemineau <louis@chmn.me>
2025-05-27 12:26:42 +07:00
Jonas
c952570e67
fix(node): emit hooks on `Node::copy()`
...
When calling `Files\Node\Node::copy()`, `Files\View::copy()` gets called,
but `Files\View::fakeRoot` is empty so the hooks are not emitted if no
path is given to `Files\View::shouldEmitHooks()`.
This results in node-related events like `NodeCopiedEvent` not being
fired when copying files via `Files\Node\Node::copy()`.
`Files\View::shouldEmitHooks()` is given a path as parameter in almost
all places except when called from the `copy()` function. This commit
changes it and passes the copy target path.
Fixes : nextcloud/collectives#1756
Signed-off-by: Jonas <jonas@freesources.org>
2025-05-27 12:14:14 +07:00
Jonas
2299ac8507
fix(FileReferenceEventListener): Invalidate cache after node was renamed
...
Fixes : nextcloud/collectives#1527
Signed-off-by: Jonas <jonas@freesources.org>
2025-05-27 11:27:38 +07:00
Christoph Wurst
e736823fc7
fix(log): map all warnings to warn log level, notice to info
...
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2025-05-27 08:01:19 +07:00
諏訪子
30fc680086
fix(settings): add link check in webfinger
...
Signed-off-by: 諏訪子 <suwako@076.moe>
2025-05-27 10:13:13 +07:00
Nextcloud bot
b2de24e805
fix(l10n): Update translations from Transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-05-27 00:22:15 +07:00
諏訪子
ef0729f23e
fix(settings): change Mastodon only URI to webfinger
...
Signed-off-by: 諏訪子 <suwako@076.moe>
2025-05-25 23:52:16 +07:00
Daniel Kesselberg
3d8da21129
docs(caldav): update documentation for calendar search
...
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2025-05-23 14:37:20 +07:00
Joas Schilling
05a9ee1014
fix(autoloader): Fix location of class to be autoloadable
...
> Class FeedBackHandler located in ./core/ajax/update.php does not comply with psr-4 autoloading standard (rule: OC\Core\ => ./core). Skipping.
Signed-off-by: Joas Schilling <coding@schilljs.com>
2025-05-23 10:23:03 +07:00
Ferdinand Thiessen
e143921896
feat(IUser): add `getQuotaBytes` method to get machine readable quota
...
Proper replacement for deprecated `OC_Util::getUserQuota`.
Also we still use this in some cases we can now replace, moreover it
just makes sense to have a machine readable format in the API instead of
only the human readable format which is less precise.
Alings also with `getQuota` of the quota storage, which already returned
the machine readable format.
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-05-22 12:50:38 +07:00
Louis
a48bc55e2a
Merge pull request #52810 from nextcloud/artonge/feat/do_not_require_samesite_strict_cookie_on_public.php
2025-05-22 10:30:16 +07:00
Nextcloud bot
f71791bb25
fix(l10n): Update translations from Transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-05-22 00:22:42 +07:00
Louis Chemineau
009d0c550c
fix: Move CSRF check from base to PublicAuth for public.php
...
This currently prevent directly accessing a ressource when clicking on a link on a third party site. Example, clicking on `https://example.com/public.php/dav/files/pqLWcA269zfzXez/?accept=zip ` in a GitHub comment.
Skipping the check is an issue with password protected shares, as it allows third party sites to request the ressource when the user already entered the password, aka CSRF. So after removing the check from `base.php`, we need to add the it again in the `PublicAuth` plugin.
We also add a redirect to be helpful to the user.
**Warning**: this adds the limitation that clicking on a direct download link for password protected shares will redirect you to the password form, and then to the main share view.
Fix #52482
Signed-off-by: Louis Chemineau <louis@chmn.me>
2025-05-21 16:01:36 +07:00
Joas Schilling
ad7a050f96
fix: Revert "fix(db): Store last insert id before reconnect"
...
This reverts commit df94cceb7b .
There were records of some old IDs being read which is much worse
Signed-off-by: Joas Schilling <coding@schilljs.com>
2025-05-21 07:55:42 +07:00
Nextcloud bot
21d79e2308
fix(l10n): Update translations from Transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-05-21 00:24:39 +07:00
Arthur Schiwon
bdc68989d5
fix: unbloc ffmpeg on some broken videos
...
Co-authored-by: Joas Schilling <coding@schilljs.com>
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2025-05-20 22:12:13 +07:00
Kate
68b2a6261d
Merge pull request #52943 from nextcloud/feat/http/request-header-attribute
2025-05-20 14:41:34 +07:00
Kate
08b9ecafe5
Merge pull request #52972 from nextcloud/fix/setupmanager/home-root-providers-register-mounts
2025-05-20 14:17:16 +07:00
Kate
95b961c6ad
Merge pull request #52982 from nextcloud/chore/user-mount-events-since
2025-05-20 14:13:43 +07:00
Stephan Orbaugh
edf21d9242
Merge pull request #52859 from Murena-SAS/dev/external-storage-previews
...
fix: Throw exception in PreviewManager when preview is not available
2025-05-20 13:32:45 +07:00
provokateurin
40973ddde0
chore: Set correct version for new UserMount events
...
Signed-off-by: provokateurin <kate@provokateurin.de>
2025-05-20 13:13:49 +07:00
provokateurin
ad031188bc
feat(Http): Add RequestHeader attribute
...
Signed-off-by: provokateurin <kate@provokateurin.de>
2025-05-20 13:10:34 +07:00
Akhil
e537500c8e
fix: Throw exception in PreviewManager when preview is not available
...
Signed-off-by: Akhil <akhil@e.email>
2025-05-20 13:17:40 +07:00
provokateurin
ecfa58d3d7
fix(SetupManager): Include home and root providers when registering mounts
...
Signed-off-by: provokateurin <kate@provokateurin.de>
2025-05-20 09:46:53 +07:00
Joas Schilling
1d8556ecc3
fix(throttler): Don't query bruteforce attempts twice
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2025-05-20 08:37:23 +07:00
Nextcloud bot
cc22d74887
fix(l10n): Update translations from Transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-05-20 00:22:25 +07:00
Elizabeth Danzberger
5c7216f3fd
feat: only load template fields when requested
...
Signed-off-by: Elizabeth Danzberger <lizzy7128@tutanota.de>
2025-05-19 17:51:25 +07:00
Christoph Wurst
80b21cdc6e
Merge pull request #52879 from nextcloud/bug/noid/clear-dav-photo-cache
...
Add command to clear dav's photo cache
2025-05-19 18:10:07 +07:00
Kate
06ce2ccebe
Merge pull request #50157 from nextcloud/feat/mountmanager/emit-events
2025-05-19 17:47:31 +07:00
Kate
5ba9bc2dd6
Merge pull request #52930 from nextcloud/chore/depreate-oc-helper-ro
2025-05-19 16:36:31 +07:00
provokateurin
6818aa9b12
feat(UserMountCache): Emit events for added, removed and updated mounts
...
Signed-off-by: provokateurin <kate@provokateurin.de>
2025-05-19 13:54:51 +07:00
Kate
6b4f5c567c
Merge pull request #52848 from nextcloud/fix/cleanup-servercontainer
2025-05-19 07:02:11 +07:00
Nextcloud bot
b9983cbd42
fix(l10n): Update translations from Transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-05-18 00:22:42 +07:00
Ferdinand Thiessen
22889d4f1d
chore: deprecate `OC_Helper::isReadOnlyConfigEnabled`
...
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-05-17 13:18:49 +07:00
Ferdinand Thiessen
e2a331f53d
Merge pull request #52890 from nextcloud/chore/move-stream-copy-implementation
...
chore: move streamCopy implementation from `OC_Helper` to `OCP\Files`
2025-05-17 12:01:44 +07:00
Ferdinand Thiessen
f47c15f61e
Merge pull request #52912 from nextcloud/chore/remove-deprecated-oc-helper
...
chore!: remove legacy functions from `OC_Helper` deprecated before v10
2025-05-17 10:55:09 +07:00
Nextcloud bot
e4e71c073d
fix(l10n): Update translations from Transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-05-17 00:23:16 +07:00
Ferdinand Thiessen
3d33091d2c
chore!: remove legacy functions from `OC_Helper` deprecated before v10
...
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-05-16 22:57:50 +07:00
Ferdinand Thiessen
bd91db8e20
chore: deprecate OC_Helper::copyr
...
Inline it into Installer as needed.
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-05-16 17:32:45 +07:00
Ferdinand Thiessen
01db539d0a
chore: move streamCopy implementation from `OC_Helper` to `OCP\Files`
...
The function was already there but called the legacy version.
So moved the implementation and migrated all usages of it.
Sadly the interface was slightly different so adjusted it to be
compatible with both legacy and the OCP one.
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-05-16 13:03:05 +07:00
Kate
fc9310feef
Merge pull request #52885 from nextcloud/fix/docblock-color
...
fix(OCP\Color): use correct doc block type
2025-05-16 12:41:51 +07:00
Ferdinand Thiessen
802def31f2
chore: move implementation to non-deprecated OCP\Util from OC_Helper
...
Only moves the implementation where it was already existing and adds
more helpful deprecation messages.
This way we can in the future just remove the OC_Helper variants.
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-05-16 10:56:58 +07:00
Côme Chilliet
2406677b40
fix: Do not use circle provider class constant
...
This is to avoid issues if the circles app is disabled but you still
have circles shares in your DB
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2025-05-16 10:50:41 +07:00
Côme Chilliet
2419f4bebb
fix: Count on the circles application to register its share provider
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2025-05-16 10:49:04 +07:00
Côme Chilliet
369900e5a5
fix: Remove deprecated getters from Server that were previously removed from public interface
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2025-05-16 10:49:01 +07:00
Côme Chilliet
eccc727f4e
fix: Remove more unused deprecated getters from IServerContainer
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2025-05-16 10:48:05 +07:00
Côme Chilliet
998062d342
fix: Cleanup share ProviderFactory to correctly use DI instead of deprecated getters
...
Ideally circles and talk should migrate to calling registerProvider and
core would not need to use their OCA classes like currently.
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2025-05-16 10:48:03 +07:00
Côme Chilliet
c3edaeebba
fix: Remove deprecated getters in IServerContainer which are not used anymore
...
For now I left the ones which are called from lib/
Next step is to fix all calls and remove those as well.
Also the getters should be removed from the implementation.
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2025-05-16 10:47:32 +07:00
Christoph Wurst
47c0786a3f
Merge pull request #52871 from AndyXheli/patch-2
...
fix(previews): lower log level when cached preview isn't found
2025-05-16 10:42:51 +07:00
Nextcloud bot
b9480f44dc
fix(l10n): Update translations from Transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-05-16 00:22:51 +07:00
Ferdinand Thiessen
aabb4e547a
fix(OCP\Color): use correct doc block type
...
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-05-15 18:35:14 +07:00
Robin Appelman
48e94baeeb
Merge pull request #52873 from nextcloud/cache-rename-source-error
...
fix: improve error message when cache rename source can't be found
2025-05-15 18:34:07 +07:00
Daniel Kesselberg
3d1de793b1
refactor(dav): replace IAppData with IAppDataFactory for PhotoCache
...
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2025-05-15 18:28:45 +07:00
Ferdinand Thiessen
74bded74a3
refactor: migrate from OC to OCP in public interfaces
...
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-05-15 16:17:47 +07:00
Ferdinand Thiessen
b6515f9402
refactor: add missing template implements where needed
...
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-05-15 16:15:13 +07:00
Kate
4aa4972550
Merge pull request #52870 from nextcloud/chore/remove-get-storage
2025-05-15 16:04:45 +07:00
Robin Appelman
5329c373cc
fix: improve error message when cache rename source can't be found
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2025-05-15 15:06:55 +07:00
AndyXheli
ecd1d5dde2
fix(previews): lower log level when cached preview isn't found
...
Since this PR #52221 was implemented, the log file has been flooded with warnings stating, "Cached preview not found for file; generating a new preview." This appears to be more of an informational message rather than a warning. This PR will change it from warning to debug
Original PR
#52221
Signed-off-by: AndyXheli <andyxheli@gmail.com>
2025-05-15 07:34:40 +07:00
Ferdinand Thiessen
54eaad76c0
chore!(\OCP\Files): remove deprecated static `getStorage` method
...
Was deprecated since Nextcloud 14 and is not used anymore.
Removing allows us to clean the OCP psalm baseline.
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-05-15 14:18:28 +07:00
Ferdinand Thiessen
e4ed062d68
fix(RouteParser): bail out if method name contains hashtag
...
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-05-15 13:57:14 +07:00
provokateurin
63ba61487b
chore(AppFramework): Remove unused RouteConfig class and migrate tests to RouteParser
...
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-05-15 13:57:14 +07:00
provokateurin
db70ff6488
refactor(App): Remove registerRoutes method
...
Signed-off-by: provokateurin <kate@provokateurin.de>
2025-05-15 13:46:14 +07:00
Robin Appelman
6927edc9ff
feat: add command to get basic storage info
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2025-05-15 11:48:28 +07:00
John Molakvoæ
cac44fd924
Merge pull request #52822 from nextcloud/feat/mime-names
2025-05-15 11:41:12 +07:00
Joas Schilling
a316ae1590
fix: Fix warning when crash reporter fails to get loaded
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2025-05-15 08:25:01 +07:00
Nextcloud bot
fee878308e
fix(l10n): Update translations from Transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-05-15 00:22:57 +07:00
Côme Chilliet
baae99eaad
Merge pull request #52667 from nextcloud/fix/improve-init-profiling
...
Improve init profiling
2025-05-14 22:57:55 +07:00
John Molakvoæ (skjnldsv)
24bc1d606e
feat(core): add human readable mimes
...
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2025-05-14 22:55:06 +07:00
John Molakvoæ
ae63945736
Merge pull request #52544 from nextcloud/chore/drop-deprecated-account-scopes
2025-05-14 22:15:01 +07:00
John Molakvoæ
b3b63020c9
Merge pull request #52812 from nextcloud/chore/oc-helper-rmdirr
2025-05-14 21:53:47 +07:00
Benjamin Gaussorgues
1b72ddd8c8
Merge pull request #52684 from nextcloud/bugfix/noid/last-insert-id-when-reconnecting
2025-05-14 19:44:30 +07:00
Côme Chilliet
2cd491f491
Merge pull request #48560 from nextcloud/fix/migrate-encryption-away-from-hooks
...
feat(encryption): Migrate from hooks to events
2025-05-14 19:25:51 +07:00
Côme Chilliet
0c56605497
fix: Fix psalm issue and update baseline
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2025-05-14 19:18:31 +07:00
Ferdinand Thiessen
1b273b8c2c
chore(IAccountManager): remove deprecated visibility constants
...
Those constants are not used anywhere anymore and are deprecated for
more than ten versions. So its time to cleanup the interface.
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-05-14 19:15:24 +07:00
Andy Scherzinger
14f79829f3
Merge pull request #52775 from nextcloud/nested-jail-root
...
fix unjailedroot of nested jails if there are other wrappers in between
2025-05-14 17:36:55 +07:00
Kate
bfa494f247
Merge pull request #52800 from nextcloud/debt/noid/simple-file-generic-exception
2025-05-14 15:25:41 +07:00
Ferdinand Thiessen
072d4e8cba
chore: move implementation from OC legacy to OCP\Files
...
- move implementation to the OCP variant that called the legacy before
- add the missing deprecation notice
- add missing parameter to align both signatures
- use OCP\Files where this method is still used
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-05-14 14:55:45 +07:00
Daniel
7523c38e58
Merge pull request #52798 from nextcloud/bug/noid/log-requests-exceeding-rate-limit
...
fix: log requests exceeding the rate limiting
2025-05-14 14:54:57 +07:00
Ferdinand Thiessen
1c7e4a1ba6
Merge pull request #52801 from nextcloud/chore/oc-helper-filesize
...
chore: replace legacy OC_Helper calls with OCP\Util
2025-05-14 14:37:13 +07:00
Ferdinand Thiessen
a01e85799c
Merge pull request #52802 from nextcloud/chore/oc-helper-can-exec
...
chore: deprecate \OC_Helper::canExecute
2025-05-14 12:45:25 +07:00
Daniel Kesselberg
a53e15c971
fix: log requests exceeding the rate limiting
...
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2025-05-14 12:23:40 +07:00
Joas Schilling
df94cceb7b
fix(db): Store last insert id before reconnect
...
During a reconnect we are losing the connection and when the
realLastInsertId call is the one triggering the reconnect, it
does not return the ID. But inside the reconnect, we were able
to save the last insert id, so calling it a second time is going
to be successful.
We can not return the result on the initial call, as we are already
way deeper in the stack performing the actual database query on
the doctrine driver.
Signed-off-by: Joas Schilling <coding@schilljs.com>
2025-05-14 10:27:00 +07:00
Ferdinand Thiessen
1ae3fa4003
chore: replace leagcy OC_Helper calls with OCP\Util
...
- Replace legacy calls with OCP\Util
- Add missing deprecation notices
- Inline implementation in OCP\Util and call it from OC_Helper
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-05-14 10:18:04 +07:00
Kate
0f03a892b9
Merge pull request #52782 from nextcloud/feat/log-client-side-req-id
2025-05-14 10:07:36 +07:00
Ferdinand Thiessen
85a6b0d0eb
chore: deprecate \OC_Helper::canExecute
...
replace this legacy method with just the IBinaryFinder
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-05-14 09:55:14 +07:00
Nextcloud bot
a338772ddd
fix(l10n): Update translations from Transifex
...
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-05-14 00:22:28 +07:00
Côme Chilliet
2b4bfcc212
fix(log): Only log client request id if present, and at the end
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2025-05-14 00:35:21 +07:00
Côme Chilliet
4c25654574
feat(log): Log the request id sent with the request
...
This should help matching client logs with server logs, hopefully.
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2025-05-14 00:35:21 +07:00
Côme Chilliet
a86d917907
fix(encryption): Only prevent cache deletion if target is not object store in moveFromStorage
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2025-05-13 23:37:52 +07:00
Côme Chilliet
a79b5dea7c
fix(encryption): Improve Update class and event listenening
...
to avoid back&forth between path and Node object
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2025-05-13 23:37:52 +07:00
Côme Chilliet
e6275f8759
fix: Preserve file id when moving from object store even if encryption wrapper is present
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2025-05-13 23:37:52 +07:00
Côme Chilliet
27599ef45d
fix(encryption): Fix a PHP error in Encryption Util in specific situations
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2025-05-13 23:37:52 +07:00
Côme Chilliet
9bb0721d66
fix: Fix mtime preservation when moving a directory across storages with encryption registered
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2025-05-13 23:37:52 +07:00
Côme Chilliet
8779ae38a4
fix(encryption): Fix filesize for part files in Encryption wrapper
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2025-05-13 23:37:52 +07:00
Côme Chilliet
536ccf144c
feat(encryption): Migrate from hooks to events
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2025-05-13 23:37:52 +07:00
Côme Chilliet
fb615ef9f8
Merge pull request #52688 from nextcloud/feat/ocp-sanitize-filenames
...
feat(FilenameValidator): allow to sanitize filenames
2025-05-13 23:35:43 +07:00
Daniel Kesselberg
866063c198
fix: annotate possible exceptions
...
File.getContent can throw a GenericFileException since https://github.com/nextcloud/server/pull/37943 .
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2025-05-13 22:27:19 +07:00
Christoph Wurst
8c68f1eeb7
Merge pull request #52778 from nextcloud/fix/noid-check-for-properties-before-processing
...
fix: check if properties exist before using them
2025-05-13 18:58:16 +07:00
Robin Appelman
1e72620169
fix: fix unjailedroot of nested jails if there are other wrappers in between
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2025-05-13 18:29:00 +07:00
Robin Appelman
0001c22668
test: add test for nested cache jail unjailedroot
...
Signed-off-by: Robin Appelman <robin@icewind.nl>
2025-05-13 18:29:00 +07:00
Côme Chilliet
20c6d1a7e9
feat: Improve init a bit, and add more profiling steps
...
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2025-05-13 16:08:49 +07:00
Ferdinand Thiessen
6cf1870322
feat(FilenameValidator): allow to sanitize filenames
...
Share the filename sanitizing with the OCP filename validator.
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-05-13 14:14:17 +07:00