Marcel Müller
a56607e91f
fix: Use configured loglevel even when log.condition matches is set
...
Signed-off-by: Marcel Müller <marcel-mueller@gmx.de >
2026-02-26 23:12:20 +01:00
Salvatore Martire
ec0ed788fa
fix(L10N): stop stripping _ from language codes
...
Stripping the underscore breaks support for all languages like de_AT,
de_DE and so on...
Signed-off-by: Salvatore Martire <4652631+salmart-dev@users.noreply.github.com >
2026-02-25 15:28:34 +01:00
Robin Appelman
bd8f251ad8
test: add test for calling filesize on non-existing files
...
Signed-off-by: Robin Appelman <robin@icewind.nl >
2026-02-24 15:32:06 +01:00
nfebe
ce0d97b6e5
test(share): Update expiration date tests for end-of-day time
...
Update expected values in ManagerTest to reflect the new behavior
where share expiration dates are set to 23:59:59 instead of 00:00:00.
Signed-off-by: nfebe <fenn25.fn@gmail.com >
2026-02-24 10:43:46 +01:00
Thomas Citharel
0bfa86b02d
feat(http-client): add option to add instance URL to HTTP client user-agent
...
Signed-off-by: Thomas Citharel <tcit@tcit.fr >
2026-02-19 17:57:40 +01:00
provokateurin
4eada2d804
refactor(Files): Modernize Wrapper
...
Signed-off-by: provokateurin <kate@provokateurin.de >
2026-02-17 06:43:16 +01:00
provokateurin
5f4a5d8c67
refactor(Files): Remove deprecated streamCopy method
...
Signed-off-by: provokateurin <kate@provokateurin.de >
2026-02-17 06:43:16 +01:00
provokateurin
9dc1d6372f
fix(IContainer): Fix parameter and return types
...
Signed-off-by: provokateurin <kate@provokateurin.de >
2026-02-16 10:45:13 +01:00
Carl Schwan
9741f5f17d
perf: Allow filtering the directory content by mimetype
...
Signed-off-by: Carl Schwan <carlschwan@kde.org >
2026-02-12 00:35:48 +01:00
Andy Scherzinger
39ff32a33b
Merge pull request #58134 from nextcloud/carl/lock-propagator-order
...
fix(propagator): Improve lock behavior of propagator
2026-02-09 16:04:38 +01:00
Carl Schwan
f3778bc9c7
fix(propagator): Improve lock behavior of propagator
...
Fix possible dead locks when running the propagator caused by two
requests updating the same amount rows in transactions.
- Lock rows always in the same deterministic order by sorting the
path_hash first
- On all database outside of sqlite, also do first a SELECT FOR UPDATE
to lock all the rows used in batch UPDATE calls, afterward to decrease
the risk of two requests trying to lock the same rows
Signed-off-by: Carl Schwan <carlschwan@kde.org >
2026-02-09 12:10:56 +01:00
provokateurin
f12cecb684
feat(rector): Enable SafeDeclareStrictTypesRector
...
Signed-off-by: provokateurin <kate@provokateurin.de >
2026-02-09 10:59:31 +01:00
Ferdinand Thiessen
c10f35333e
Merge pull request #57797 from nextcloud/fix/proper-handling-404
...
fix(FileDisplayResponse): return 404 if not found
2026-02-06 20:07:23 +01:00
Andy Scherzinger
b0c02b91b4
Merge pull request #58059 from nextcloud/fix/add-missing-user-id-header
...
fix: add X-User-Id header to logout response
2026-02-06 18:17:39 +01:00
Ferdinand Thiessen
762ae4520a
fix(InMemoryFile): allow to stream read the contents
...
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de >
2026-02-06 17:29:26 +01:00
Ferdinand Thiessen
6eddda147b
fix(FileDisplayResponse): return 404 if not found
...
If the linked file is not found (anymore) return proper 404
status code.
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de >
2026-02-06 17:29:26 +01:00
Carl Schwan
9a26169323
fix(WatcherTest): Properly mock getCache and getScanner in IStorage
...
Otherwise we end up with trying to assign null to a property which has
strict types.
Signed-off-by: Carl Schwan <carlschwan@kde.org >
2026-02-06 14:21:41 +01:00
Carl Schwan
c96ece0bcb
refactor: Add more typing
...
- repairs job
- database
- redis
And remove Helpertest which was unused outside of some tests.
Signed-off-by: Carl Schwan <carl.schwan@nextcloud.com >
2026-02-06 13:55:39 +01:00
Carl Schwan
fb3f9fe2de
refactor: Update repairs jobs
...
Signed-off-by: Carl Schwan <carl.schwan@nextcloud.com >
2026-02-06 13:54:24 +01:00
Carl Schwan
3979c493f9
refactor: Apply second batch of comments
...
Signed-off-by: Carl Schwan <carl.schwan@nextcloud.com >
2026-02-06 13:52:51 +01:00
Carl Schwan
fa75c1b659
fix(ExpressionBuilderTest): Fix test and improve typing
...
Signed-off-by: Carl Schwan <carl.schwan@nextcloud.com >
2026-02-06 13:50:47 +01:00
Carl Schwan
7b6078875b
refactor: Run rector on lib/private
...
Signed-off-by: Carl Schwan <carl.schwan@nextcloud.com >
2026-02-06 13:50:18 +01:00
Carl Schwan
5d0d0c17e5
chore(rector): Run rector on apps, core and tests directory
...
Signed-off-by: Carl Schwan <carl.schwan@nextcloud.com >
2026-02-06 13:23:23 +01:00
Robin Appelman
bea82ac656
test: adjust tests to updated getById
...
Signed-off-by: Robin Appelman <robin@icewind.nl >
2026-02-04 18:23:35 +01:00
Robin Appelman
be2c26a75b
test: adjust tests to new getById
...
Signed-off-by: Robin Appelman <robin@icewind.nl >
2026-02-04 18:23:33 +01:00
Salvatore Martire
7d95a88958
fix: add X-User-Id header to logout response before clearing the user session
...
Signed-off-by: Salvatore Martire <4652631+salmart-dev@users.noreply.github.com >
2026-02-04 18:18:39 +01:00
Benjamin Gaussorgues
687261fc8c
Merge pull request #57921 from nextcloud/fix/snowflake_lock_dir
...
fix(snowflakes): create file lock files into lock directory
2026-02-04 11:12:23 +01:00
Joas Schilling
0478825fac
test(Updater): Harden flaky test
...
Signed-off-by: Joas Schilling <coding@schilljs.com >
2026-02-04 09:44:56 +01:00
Benjamin Gaussorgues
e15b429aea
chore(snowflakes): don't remove file lock directory during tests
...
Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com >
2026-02-03 17:01:28 +01:00
Joas Schilling
9caa4e20e5
test(dispatcher): Add some tests with input 0
...
Signed-off-by: Joas Schilling <coding@schilljs.com >
2026-02-03 08:32:43 +01:00
Côme Chilliet
550b15a19a
Merge pull request #57737 from nextcloud/feat/add-twofactor-to-presets
...
feat: Add twofactor applications to most of the presets
2026-02-02 15:12:08 +01:00
Andy Scherzinger
8160f0af8a
Merge pull request #57892 from nextcloud/carl/binary-search-findIn
...
perf(MountManager): use binary search to find mount in path
2026-01-29 13:53:47 +01:00
Carl Schwan
04ddeeec4a
perf(MountManager): use binary search to find mount in path
...
Signed-off-by: Carl Schwan <carlschwan@kde.org >
2026-01-29 11:41:58 +01:00
Kate
21ab477b35
Merge pull request #55474 from nextcloud/carl/missing-attributes
2026-01-28 22:55:35 +01:00
Carl Schwan
c6c11d474b
Merge pull request #55649 from nextcloud/carl/on-demand-preview-migration
...
feat(preview): On demand preview migration
2026-01-28 22:33:48 +01:00
Carl Schwan
f81475445d
refactor: Move hasAnnotationOrAttribute to MiddlewareUtils
...
Signed-off-by: Carl Schwan <carlschwan@kde.org >
2026-01-28 21:48:16 +01:00
Carl Schwan
6408ed0b51
feat(AppFramework): Add missing NoSameSiteCookieRequired attribute
...
Allow to replace the old annotation.
Signed-off-by: Carl Schwan <carl.schwan@nextcloud.com >
2026-01-28 21:48:16 +01:00
Carl Schwan
b040fb1c73
feat(AppFramework): Add missing NoTwoFactorRequired attribute
...
It's in our documentation but was never implemented.
Signed-off-by: Carl Schwan <carl.schwan@nextcloud.com >
2026-01-28 21:48:16 +01:00
Ferdinand Thiessen
79155a956f
Merge pull request #57861 from nextcloud/test/postscript
...
test(preview): properly test postscript preview provider
2026-01-28 11:24:24 +01:00
Misha M.-Kupriyanov
abe86a9bc2
feat(install): dispatch InstallationCompletedEvent in Setup
...
Integrate event dispatching into Setup class:
- Inject IEventDispatcher dependency
- Dispatch InstallationCompletedEvent after successful installation
- Add Setup tests for event integration
- Update composer autoload for new class
Signed-off-by: Misha M.-Kupriyanov <kupriyanov@strato.de >
2026-01-28 09:24:24 +01:00
Misha M.-Kupriyanov
9775923137
feat(install): add InstallationCompletedEvent for post-installation hooks
...
Add InstallationCompletedEvent class in public API (OCP namespace) that
provides installation details: data directory, admin username, and admin
email. Event will be dispatched after successful installation.
Include comprehensive unit tests covering all event scenarios.
Signed-off-by: Misha M.-Kupriyanov <kupriyanov@strato.de >
2026-01-28 09:24:24 +01:00
Ferdinand Thiessen
4b015568fc
test(preview): properly test postscript preview provider
...
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de >
2026-01-28 01:09:27 +01:00
Côme Chilliet
027bb149a4
chore: Remove broken PresetManager tests
...
Those are not Unit tests but integration tests with bad side effects on
other tests. I failed to clean them up so removing them.
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com >
2026-01-27 16:31:22 +01:00
Benjamin Gaussorgues
149c8b31e1
Merge pull request #57811 from nextcloud/fix/openmetrics_exporters
2026-01-27 14:36:45 +01:00
Carl Schwan
c8989d853c
refactor(IShare): Add typing for node
...
This might also improve a bit the performance.
Signed-off-by: Carl Schwan <carlschwan@kde.org >
2026-01-27 11:19:33 +01:00
Benjamin Gaussorgues
e81f01e5a0
chore(openmetrics): add more complete test for controller
...
Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com >
2026-01-27 10:13:07 +01:00
Benjamin Gaussorgues
34fe033ace
fix(openmetrics): ensure unit is a suffix of metric name
...
Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com >
2026-01-27 10:12:25 +01:00
Benjamin Gaussorgues
873ae96c6b
fix(openmetrics): remove superfluous empty lines
...
Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com >
2026-01-27 10:11:49 +01:00
Andy Scherzinger
588f7cdf96
Merge pull request #57480 from iasdeoupxe/mimetypes
...
feat(mimetypes): Add mimetype aliases/mapping/names for .toml and .ovpn
2026-01-26 08:22:50 +01:00
iasdeoupxe
afde920978
feat: Add mimetype aliases/mapping/names for .toml and .ovpn
...
Signed-off-by: iasdeoupxe <39667843+iasdeoupxe@users.noreply.github.com >
Signed-off-by: provokateurin <kate@provokateurin.de >
2026-01-26 07:20:37 +01:00