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
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
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
Kate
afe1c1ebde
Merge pull request #57781 from nextcloud/bugfix/57766/allow-openmetrics-infoxml
2026-01-26 07:11:00 +01:00
Benjamin Gaussorgues
8af5e06b62
Merge pull request #57764 from nextcloud/fix/openmetrics_labels
2026-01-25 22:51:25 +01:00
Benjamin Gaussorgues
481fe1574a
fix(openmetrics): fix label names and add test for them
...
Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com >
2026-01-24 15:54:35 +01:00
Joas Schilling
cc6f49b762
fix(openmetrics): Make openmetrics always an array like all other infoxml fields
...
Signed-off-by: Joas Schilling <coding@schilljs.com >
2026-01-24 14:17:35 +01:00
Joas Schilling
45bae0ea48
fix(openmetrics): Allow openmetrics in info.xml
...
Signed-off-by: Joas Schilling <coding@schilljs.com >
2026-01-24 13:11:18 +01:00
Benjamin Gaussorgues
4da7137278
feat(openmetrics): add log level
...
Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com >
2026-01-23 16:02:04 +01:00
Robin Appelman
3f9849d921
Merge pull request #57295 from nextcloud/share-mount-validation-on-share
...
feat: perform share mount validation on share instead of on mount
2026-01-22 13:32:11 +01:00
Ferdinand Thiessen
428e76214e
chore: drop legacy WhatsNew
...
This feature was not used in 8 years and from frontend did not even
properly work anymore and was implemented using deprecated API.
So get rid of it.
The last version that was using a changelog from the changelog server
was Nextcloud 20.
We use the firstrunwizard nowadays for informing about Nextcloud
changes in new releases.
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de >
2026-01-21 23:23:10 +01:00
Robin Appelman
94f33463ff
test: adjust tests
...
Signed-off-by: Robin Appelman <robin@icewind.nl >
2026-01-21 16:35:55 +01:00
Robin Appelman
d71c6796ca
feat: perform share mount validation on share instead of on mount
...
Signed-off-by: Robin Appelman <robin@icewind.nl >
2026-01-21 16:35:53 +01:00
provokateurin
ad65bcb653
test(UserPlugin): Rewrite unit tests as integration tests
...
Signed-off-by: provokateurin <kate@provokateurin.de >
2026-01-21 14:29:58 +01:00
Ferdinand Thiessen
67eef32b07
fix(DB): support up to 63 character long table and index names
...
We do not support Oracle 11 anymore but at least Oracle 12c (12.2).
So the limitation is gone (Oracle now supports up to 128 character long
names).
Instead we are now limited by MySQL (64 characters) and PostgreSQL (63
characters).
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de >
2026-01-18 14:50:34 +01:00
SebastianKrupinski
16198d2b37
feat: automated appointment creation
...
Signed-off-by: SebastianKrupinski <krupinskis05@gmail.com >
2026-01-15 13:31:44 -05:00
Andy Scherzinger
abe5499e14
Merge pull request #57498 from nextcloud/carl/rename-imountproviderargs
...
refactor(files): Rename IMountProviderArgs
2026-01-14 17:50:43 +01:00
Robin Appelman
5924a2e3ec
feat: add api to get a user object without verifying they exist
...
Signed-off-by: Robin Appelman <robin@icewind.nl >
2026-01-13 15:59:07 +01:00
Ferdinand Thiessen
5f33fee58f
Merge pull request #56941 from nextcloud/fix/importmaps
...
fix(template): add import map for JS module entry points
2026-01-12 20:38:58 +01:00
Carl Schwan
7b05c8f797
refactor(files): Rename IMountProviderArgs
...
It's not an interface so the I-prefix is inadequate.
Signed-off-by: Carl Schwan <carlschwan@kde.org >
2026-01-12 17:33:52 +01:00
Joas Schilling
6bdda55733
Merge pull request #57453 from nextcloud/feat/noid/qr-code-in-account-menu
...
Improve usability of QR code login
2026-01-12 14:01:10 +01:00
Ferdinand Thiessen
f0e020f97d
fix(template): add import map for JS module entry points
...
Currently apps are broken if they have exports in the JS entry point,
because they then will import from the entry point but because they do
not know about the Nextcloud cache buster they will import without cache
buster.
This results in two problem:
1. The module might be outdated (old cached)
2. The module is duplicated, so the module will be loaded twice and will
have two different - out of sync - states. This also means it will
re-run sideeffects of the entry point.
To fix this we generate an import map which basically maps the plain
entry point script to the script with cache buster added.
(Some background: Bundler will try to minimize chunks (reduce page
loading time) so they can inline modules into entry points and thus
extend the entry point exports and then this issue would be caused).
For example:
```js
// entry.mjs
console.error('called')
async function onClick() {
await import('./chunk.mjs')
}
export const name = 'foo'
// chunk.mjs
import { name } from './entry.mjs'
console.error(name)
```
When calling `onClick` without this fix the output will be:
> called
> called
> foo
With this fix:
> called
> foo
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de >
2026-01-12 13:34:11 +01:00
Joas Schilling
f4acd8a7ab
fix: Adjust and add new tests
...
Signed-off-by: Joas Schilling <coding@schilljs.com >
2026-01-12 11:07:44 +01:00
ernolf
932523e844
style(tests): apply cs-fixer formatting to ClientTest
...
Signed-off-by: ernolf <raphael.gradenwitz@googlemail.com >
2026-01-09 01:29:59 +01:00
Raphael Gradenwitz
510c203dfe
Merge branch 'master' into ernolf/enh/http2-brotli-client
...
Signed-off-by: Raphael Gradenwitz <39901936+ernolf@users.noreply.github.com >
2026-01-08 21:02:07 +01:00
Benjamin Gaussorgues
36b0d7c189
Merge pull request #55265 from nextcloud/perf/log-slow-dns
2026-01-08 14:06:31 +01:00
Benjamin Gaussorgues
fe34ea5ec7
Merge pull request #57407 from nextcloud/carl/fix-php-85-deprecation-image
2026-01-08 13:57:11 +01:00
Benjamin Gaussorgues
ae250777fd
Merge pull request #56899 from nextcloud/feat/noid/ocm-capabilities
2026-01-08 13:46:09 +01:00
Louis
73dd45be4f
Merge pull request #57289 from nextcloud/feature/54562/drop-mounts-on-full-or-provider-setup
...
Feature/54562/drop mounts on full or provider setup
2026-01-08 11:26:50 +01:00
Christoph Wurst
adf7ea5f0b
perf: log slow DNS operations
...
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at >
2026-01-08 11:22:15 +01:00
Maxence Lange
6af64a5495
feat(ocm): event on ocm discovery and ocm request
...
Signed-off-by: Maxence Lange <maxence@artificial-owl.com >
2026-01-07 17:54:26 -01:00
Joas Schilling
66c8f9c4dc
Merge pull request #57414 from nextcloud/bugfix/noid/clean-language
...
fix(l10n): Fix language selection
2026-01-07 19:05:41 +01:00
Joas Schilling
52cfd57af9
Merge pull request #57413 from nextcloud/bugfix/noid/support-native-int-range
...
fix(controller): Support native int ranges
2026-01-07 19:05:19 +01:00
Daniel Calviño Sánchez
8e5ae53e02
Merge pull request #56938 from nextcloud/unify-handling-of-exclude-groups-in-contacts-menu-and-sharing
...
fix: Unify handling of exclude groups in contacts menu and sharing
2026-01-07 18:04:53 +01:00
Joas Schilling
ab122ac15d
fix(l10n): Fix language selection
...
Signed-off-by: Joas Schilling <coding@schilljs.com >
2026-01-07 17:41:18 +01:00
Joas Schilling
f2e2e4ea21
fix(controller): Support native int ranges
...
Signed-off-by: Joas Schilling <coding@schilljs.com >
2026-01-07 17:36:57 +01:00
Salvatore Martire
07eef5eaf4
fix: drop set up partial mounts on setupForUser
...
Signed-off-by: Salvatore Martire <4652631+salmart-dev@users.noreply.github.com >
2026-01-07 17:00:09 +01:00
Carl Schwan
bd815595d4
fix: Remove NOP ReflectionProperty::setAccessible calls
...
Doesn't do anything since PHP 8.1 and is deprecated since PHP 8.5
2026-01-07 15:23:20 +01:00
Joas Schilling
8d55b13641
Merge pull request #57367 from nextcloud/work/carl/psalm-unittests
...
refactor(psalm): Enable psalm for comments unit tests
2026-01-07 14:16:14 +01:00
Joas Schilling
40b79f5af8
Merge pull request #56795 from nextcloud/feat/noid/extend-entity-to-be-snoflake-aware
...
feat(snowflake): extend Entity class to support snowflakes
2026-01-07 13:42:49 +01:00
Carl Schwan
a430702caa
refactor(psalm): Enable psalm for comments unit tests
...
This is the first step to enable psalm for our test suite to find issues
also there.
At the moment, this already found some completely broken and unused
method in TestCase and prepare the way for making ICommentsManager work
with snowflake ids by using string instead of int for the ids
consistently.
Signed-off-by: Carl Schwan <carlschwan@kde.org >
2026-01-07 13:21:33 +01:00
Benjamin Gaussorgues
c57c4843e8
feat(openmetrics): introduce OpenMetrics exporter
...
Expose a `/metrics` endpoint with some basic metrics
Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com >
2026-01-07 09:38:13 +01:00
Carl Schwan
7c1a8a4060
feat: Adapt a bit the snowflake ids API
...
- Rename setId() -> generateId() in SnowflakeAwareEntity
Signed-off-by: Carl Schwan <carlschwan@kde.org >
2026-01-06 12:57:17 +01:00
Anna Larch
5f797ebc32
refactor: move existing usages of snoflake IDs SnowflakeAwareEntity
...
Signed-off-by: Anna Larch <anna@nextcloud.com >
2026-01-06 12:57:17 +01:00
Anna Larch
f546daada7
refactor: Rename Snowflake Generator and Decoder
...
And introduce the Snowflake DTO
Signed-off-by: Anna Larch <anna@nextcloud.com >
2026-01-06 12:57:04 +01:00
Carl Schwan
33e5f2d345
fix(background-jobs): Fix unit tests with 32-bits tests
...
Signed-off-by: Carl Schwan <carl.schwan@nextcloud.com >
2026-01-06 10:44:21 +01:00