Commit graph

76968 commits

Author SHA1 Message Date
Kate
a643cb22b2
Merge pull request #48017 from nextcloud/fix/comment/children-count-integer 2024-09-15 17:48:11 +02:00
Kate
e37a88225d
Merge pull request #48015 from nextcloud/fix/storage-local/get-source-path-spl-file-info 2024-09-15 16:50:56 +02:00
provokateurin
9a63494fe4
fix(Comment): Initialize childrenCount as integer
Signed-off-by: provokateurin <kate@provokateurin.de>
2024-09-15 15:44:37 +02:00
provokateurin
5bbe535c27
fix(Storage\Local): Do not call getSourcePath() on SplFileInfo
Signed-off-by: provokateurin <kate@provokateurin.de>
2024-09-15 15:39:09 +02:00
Ferdinand Thiessen
01478f1c40
Merge pull request #48003 from nextcloud/artonge/fix/missing_dot
fix: Restore missing dot in FilesListVirtual.vue
2024-09-15 15:13:53 +02:00
John Molakvoæ
6d6baec54f
Merge pull request #47999 from nextcloud/fix/noid/try-latest-buildjet-cache 2024-09-15 11:39:50 +02:00
John Molakvoæ
635f024e48
chore: update BuildJet/cache to v4
Signed-off-by: John Molakvoæ <skjnldsv@users.noreply.github.com>
2024-09-15 11:15:35 +02:00
Louis Chemineau
699ce26e42
fix: Restore missing dot in FilesListVirtual.vue
Signed-off-by: Louis Chemineau <louis@chmn.me>
2024-09-15 11:09:37 +02:00
Marcel Müller
87b6999872 fix(ci): Use latest buildjet version
Signed-off-by: Marcel Müller <marcel-mueller@gmx.de>
2024-09-15 10:51:54 +02:00
github-actions[bot]
427c7db476
Merge pull request #47990 from nextcloud/automated/noid/master-update-psalm-baseline
[master] Update psalm-baseline.xml
2024-09-15 07:17:28 +02:00
nextcloud-command
5ec41c0988 chore(tests): Update psalm baseline
Signed-off-by: GitHub <noreply@github.com>
2024-09-15 02:37:53 +00:00
Nextcloud bot
353cb1f866
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-09-15 00:26:39 +00:00
Louis
3c9111e4f8
Merge pull request #47920 from nextcloud/artonge/feat/reset_route_when_sidebar_and_viewer_are_close
feat: Reset route if neither the Viewer of the Sidebar is open
2024-09-14 23:49:47 +02:00
Louis Chemineau
2da1c5717e
feat: Reset route if neither the Viewer of the Sidebar is open
When the viewer or the sidebar is opened, we add the fileid to the route.
When both of them are closed, we do not remove the fileid from the route.
This means that, upon reload, the sidebar will be opened even though it was closed previously.

This PR ensure that the fileid is removed from the route when both the Sidebar and the Viewer are closed.

Signed-off-by: Louis Chemineau <louis@chmn.me>
2024-09-14 21:50:23 +02:00
John Molakvoæ
6a6910f7d4
Merge pull request #47928 from nextcloud/bugfix/noid/update-opendyslexic 2024-09-14 21:19:19 +02:00
Côme Chilliet
6c46c43429
Merge pull request #47971 from nextcloud/fix/do-not-try-to-change-response-code-too-late
fix: Do not try to set HTTP response code on already closed connection
2024-09-14 21:18:47 +02:00
Ferdinand Thiessen
9bfbbd9f39
Merge pull request #47293 from nextcloud/feat/logger-allow-psr-loglevel
feat(PsrLoggerAdapter): Allow to use `Psr\Log\LogLevel` for `log` method
2024-09-14 20:05:12 +02:00
John Molakvoæ
34d07fee66
Merge pull request #47968 from nextcloud/fixKeyExFileExt 2024-09-14 18:53:38 +02:00
Ferdinand Thiessen
81df2d2c12
feat(PsrLoggerAdapter): Allow to use Psr\Log\LogLevel for log method
There is the `Psr\Log\LogLevel` class defining loglevel constants,
to be fully compatible we should at least support those logging levels.
Moreover this is the last part that was still required from `ILogger` interface,
as we did not have alternatives for the loglevel constants.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-09-14 17:35:11 +02:00
Côme Chilliet
e54eef5ae3
fix: Do not try to set HTTP response code on already closed connection
This avoids a PHP warning in the logs about trying to set the response
 code while the output already started. It’s useless to try to print an
 error page anyway in this situation because the connection was closed
 already.

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-09-14 14:20:49 +02:00
Git'Fellow
07a6fd11d0
fix(files_external): Check key exists before accessing it
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
2024-09-14 11:21:17 +02:00
dependabot[bot]
a751ff7b93
Merge pull request #47965 from nextcloud/dependabot/npm_and_yarn/express-4.21.0 2024-09-14 06:20:20 +00:00
dependabot[bot]
0464d168fb
build(deps-dev): bump express from 4.19.2 to 4.21.0
Bumps [express](https://github.com/expressjs/express) from 4.19.2 to 4.21.0.
- [Release notes](https://github.com/expressjs/express/releases)
- [Changelog](https://github.com/expressjs/express/blob/4.21.0/History.md)
- [Commits](https://github.com/expressjs/express/compare/4.19.2...4.21.0)

---
updated-dependencies:
- dependency-name: express
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-09-14 06:01:41 +00:00
dependabot[bot]
9490ee72a2
Merge pull request #47960 from nextcloud/dependabot/composer/vendor-bin/psalm/vimeo/psalm-5.26.1 2024-09-14 06:00:15 +00:00
github-actions[bot]
06144cb49b
Merge pull request #47961 from nextcloud/automated/noid/master-update-psalm-baseline
[master] Update psalm-baseline.xml
2024-09-14 04:31:55 +00:00
nextcloud-command
a194aa543b chore(tests): Update psalm baseline
Signed-off-by: GitHub <noreply@github.com>
2024-09-14 02:36:49 +00:00
dependabot[bot]
8d32b6bb7a
build(deps): bump vimeo/psalm from 5.25.0 to 5.26.1 in /vendor-bin/psalm
Bumps [vimeo/psalm](https://github.com/vimeo/psalm) from 5.25.0 to 5.26.1.
- [Release notes](https://github.com/vimeo/psalm/releases)
- [Commits](https://github.com/vimeo/psalm/compare/5.25.0...5.26.1)

---
updated-dependencies:
- dependency-name: vimeo/psalm
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-09-14 02:19:49 +00:00
Nextcloud bot
26aa322e44
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-09-14 00:21:21 +00:00
Kate
80f3227204
Merge pull request #47954 from nextcloud/fix/files/cache-search-query-parameter-name 2024-09-13 18:59:14 +02:00
provokateurin
714671a8a6
fix(files): Adjust Cache::searchQuery() parameter name to match interface
Signed-off-by: provokateurin <kate@provokateurin.de>
2024-09-13 18:13:44 +02:00
Côme Chilliet
bcb4e781a4
Merge pull request #47927 from nextcloud/fix/migrate-away-from-oc_app
Migrate away from OC_App to IAppManager
2024-09-13 17:44:38 +02:00
John Molakvoæ
032f17c795
Merge pull request #47945 from nextcloud/fix/external-storage-creds 2024-09-13 16:57:01 +02:00
nextcloud-command
233d307ba8 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-09-13 14:33:45 +00:00
John Molakvoæ (skjnldsv)
0f519f4856 fix(files_external): broken credentials dialog
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2024-09-13 14:32:07 +00:00
Côme Chilliet
dfa994ef28
Merge pull request #47865 from nextcloud/admin_audit/enh/move-to-event-listeners-v2
Move admin_audit to proper event listeners v2
2024-09-13 16:21:44 +02:00
Côme Chilliet
d76745553c
fix: Fix phpdoc wording
Co-authored-by: Anna <anna@nextcloud.com>
Signed-off-by: Côme Chilliet <91878298+come-nc@users.noreply.github.com>
2024-09-13 16:01:55 +02:00
Ferdinand Thiessen
a90f0a6b36
Merge pull request #47883 from nextcloud/fix/setup-checks
fix(setup-checks): Ensure URL with webroot works
2024-09-13 13:42:41 +02:00
Joas Schilling
df155fa3df
Merge pull request #47933 from nextcloud/bugfix/noid/throw-precondition-failure-when-not-matching
fix(config): Throw PreconditionException always when it didn't match
2024-09-13 13:39:21 +02:00
Ferdinand Thiessen
be1cd7a308
refactor(settings): CheckServerResponseTrait always expect absolute path
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>
2024-09-13 13:09:40 +02:00
Ferdinand Thiessen
9e979d42b4
fix(setup-checks): Ensure URL with webroot works
We basically mock the way `URLGenerator::getAbsoluteURL` works,
so we must make sure that the URL might already contain the webroot.
Because `baseURL` and `cliURL` also contain the webroot we need to remove
the webroot from the URL first.

Co-authored-by: Ferdinand Thiessen <opensource@fthiessen.de>
Co-authored-by: Daniel <mail@danielkesselberg.de>
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-09-13 13:06:24 +02:00
github-actions[bot]
6aa387ea9e
Merge pull request #47932 from nextcloud/automated/noid/master-update-psalm-baseline
[master] Update psalm-baseline.xml
2024-09-13 09:04:43 +00:00
Git'Fellow
413ba1a718
Merge pull request #47854 from nextcloud/validAppsFromAppStore
fix(appstore): Ensure returned apps from AppStore are valid
2024-09-13 10:55:33 +02:00
Côme Chilliet
7a16d01ea7
chore(tests): Fix Router test by mocking AppManager methods correctly
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-09-13 10:26:36 +02:00
Côme Chilliet
76f2bc0bfc
fix: Replace OC_App::getAllApps with a method in AppManager
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-09-13 10:08:44 +02:00
Côme Chilliet
7ed583cb8e
chore: Migrate cleanAppId and getAppPath calls to IAppManager from OC_App
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-09-13 10:08:43 +02:00
Git'Fellow
dccfb6d68a
fix: check if key is set
Co-authored-by: Côme Chilliet <91878298+come-nc@users.noreply.github.com>
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
2024-09-13 09:49:09 +02:00
Joas Schilling
dcd97e1234
fix(config): Throw PreconditionException always when it didn't match
Previously even when the precondition did not match, the call "passed"
when the after value was the expected one. This however can lead to
race conditions, duplicate code excutions and other things.

Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-09-13 09:20:08 +02:00
nextcloud-command
ce5fd09e75 chore(tests): Update psalm baseline
Signed-off-by: GitHub <noreply@github.com>
2024-09-13 02:32:35 +00:00
Nextcloud bot
c9e4598360
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-09-13 00:20:46 +00:00
Joas Schilling
0c224393f5
fix(tests): Test OTF font file
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-09-12 23:04:16 +02:00