Commit graph

80404 commits

Author SHA1 Message Date
Robin Appelman
bb4cf2830a
fix: better error message when trying to scan a folder that is already being scanned
Signed-off-by: Robin Appelman <robin@icewind.nl>
2025-04-25 18:40:03 +02:00
Git'Fellow
5f40fad790
Merge pull request #52439 from nextcloud/backport/45765/master
[master] fix(settings): Use axios directly for health check to preven URL sanitizing
2025-04-25 17:45:53 +02:00
nextcloud-command
bfd8c1db47 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2025-04-25 14:45:41 +00:00
Ferdinand Thiessen
5dfbac867f fix(settings): Use axios directly for health check to preven URL sanitizing
When using Apache with `DirectorySlash` it will respond with 301 and the URL with trailing slash.
But when using traefik as the reverse proxy it can not rewrite redirects, this leads to the problem
that the Apache response is using HTTP in the redirect but the real server (traefik) is only listening on HTTPS.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-04-25 14:39:03 +00:00
Kate
84e9aff847
Merge pull request #52429 from nextcloud/bugfix/noid/fix-autocomplete-of-app-configs 2025-04-25 14:18:08 +02:00
Andy Scherzinger
f154e60af3
Merge pull request #52424 from nextcloud/bugfix/noid/censor-more-app-configs
fix(config): Censor more app configs in system report
2025-04-25 13:03:38 +02:00
Stephan Orbaugh
258983e665
Merge pull request #51355 from AIlkiv/refactor/rollback-hook-usage
refactor: cleanup rollback hook usage
2025-04-25 11:42:20 +02:00
Joas Schilling
7962df9427
fix(occ): Fix autocompletion of config:app:* commands
Signed-off-by: Joas Schilling <coding@schilljs.com>
2025-04-25 11:30:21 +02:00
Joas Schilling
8524955091
fix(config): Censor more app configs in system report
Signed-off-by: Joas Schilling <coding@schilljs.com>
2025-04-25 11:01:38 +02:00
ailkiv
616716cd6a refactor: cleanup rollback hook usage
Signed-off-by: ailkiv <a.ilkiv.ye@gmail.com>
2025-04-25 08:25:11 +00:00
Joas Schilling
0c3ebbfed5
Merge pull request #52404 from nextcloud/bugfix/49973/allow-federated-filesharing-without-federation-app
fix(federation): Allow federation file sharing when federation app is…
2025-04-25 09:33:33 +02:00
Nextcloud bot
1ae57fb054
fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-04-25 00:22:43 +00:00
Andy Scherzinger
c45c792622
Merge pull request #51309 from nextcloud/backport/51260/master
test(cypress): rename select all clear
2025-04-24 23:38:23 +02:00
skjnldsv
3b85743cf9 fix(cypress): rename select all clear
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2025-04-24 23:25:23 +02:00
Andy Scherzinger
34949e4a36
Merge pull request #52079 from IONOS-Productivity/fix/s3_traffic_on_video_thumbnails
fix(previews): avoid large file downloads for remote movie storage
2025-04-24 14:44:34 +02:00
Daniel
cc5ca58816
Merge pull request #51438 from nextcloud/perf/db/cards-properties-abid-name-value-idx
perf(db): Extend index on cards_properties to cover name and value
2025-04-24 13:33:37 +02:00
Ferdinand Thiessen
0051db7a43
Merge pull request #52373 from nextcloud/fix/files-version-creation
fix(files_versions): create version if previous does not exist
2025-04-24 13:30:49 +02:00
Ferdinand Thiessen
4114fbfaff
Merge pull request #52400 from nextcloud/chore/laravel-php84
chore(deps): Bump laravel/serializable-closure from 1.3.5 to 2.0.4
2025-04-24 13:04:26 +02:00
Joas Schilling
4fc5eaeff0
fix(federation): Allow federation file sharing when federation app is disabled
The app id might be misleading, the federation app is for syncing addressbooks
with trusted servers. It is not always enabled and show not have to be.

Signed-off-by: Joas Schilling <coding@schilljs.com>
2025-04-24 13:03:14 +02:00
Kate
85b43f62a3
Merge pull request #52276 from nextcloud/feat/noid/log-query-parameters 2025-04-24 12:56:11 +02:00
Ferdinand Thiessen
43c5232333
Merge pull request #52364 from nextcloud/fix/51875/allow-keyboard-input-4-share-expiration-on-chrome
fix(files_sharing): Improve expiration date input change handling
2025-04-24 12:46:31 +02:00
nextcloud-command
7a1c947ef0 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2025-04-24 10:30:44 +00:00
nfebe
3c73f3fcae fix(files_sharing): Improve expiration date input change handling
If the time picker component is emitting a Date object already, then there is redundant call of `new Date(new Date())` and
therefore introduces subtle bugs, for example on chrome users could not  enter expiration date with keyboard.

- Use @update:model-value instead of @change/@input for more reliable date updates
- Ensure null and invalid dates are handled correctly in onExpirationChange
- Validate date input before updating defaultExpirationDateEnabled

Resolves : https://github.com/nextcloud/server/issues/51875

Signed-off-by: nfebe <fenn25.fn@gmail.com>
2025-04-24 12:25:47 +02:00
Kate
0567332af1
Merge pull request #52374 from nextcloud/fix/updatenotification/applist-error-handling 2025-04-24 12:24:41 +02:00
nextcloud-command
9ae83f4bae chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2025-04-24 10:10:10 +00:00
Ferdinand Thiessen
4cb41d6111
chore(deps): Bump laravel/serializable-closure from 1.3.5 to 2.0.4
* for https://github.com/nextcloud/3rdparty/pull/2071
* enabled offical PHP 8.4 support

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-04-24 11:11:08 +02:00
Ferdinand Thiessen
94538c11c7
Merge pull request #52396 from nextcloud/chore/openstack-3-12
chore(3rdparty): update `php-opencloud/openstack` to v3.12.0 for PHP8.4
2025-04-24 11:07:42 +02:00
Stephan Orbaugh
be5431253a
Merge pull request #48277 from schaarsc/feature/32735-occ-add-tag-to-file-master
new occ commands to manage system-tags for files
2025-04-24 10:12:33 +02:00
Stephan Orbaugh
aa8c0a68cb
Merge pull request #50650 from IONOS-Productivity/feat/login_flow_v2-user_agents-allow-list
feat(login-flow-v2): Restrict allowed apps by user agent check
2025-04-24 10:12:19 +02:00
Côme Chilliet
7a50f612d7
Merge pull request #52392 from nextcloud/fix/32bit-support
fix(32bit): make `pack` compatible with 32bit PHP
2025-04-24 09:53:20 +02:00
Ferdinand Thiessen
d86189adc5
Merge pull request #52299 from nextcloud/refactor/preview-tests
refactor: Thumbnail Generator logging and tests
2025-04-24 09:50:11 +02:00
Ferdinand Thiessen
3845a64df0
chore(3rdparty): update php-opencloud/openstack to v3.12.0 for PHP8.4
| Production Changes      | From    | To      | Compare                                                                     |
|-------------------------|---------|---------|-----------------------------------------------------------------------------|
| guzzlehttp/guzzle       | 7.9.2   | 7.9.3   | [...](https://github.com/guzzle/guzzle/compare/7.9.2...7.9.3)               |
| guzzlehttp/promises     | 2.0.4   | 2.2.0   | [...](https://github.com/guzzle/promises/compare/2.0.4...2.2.0)             |
| guzzlehttp/psr7         | 2.7.0   | 2.7.1   | [...](https://github.com/guzzle/psr7/compare/2.7.0...2.7.1)                 |
| guzzlehttp/uri-template | v1.0.3  | v1.0.4  | [...](https://github.com/guzzle/uri-template/compare/v1.0.3...v1.0.4)       |
| php-opencloud/openstack | v3.10.0 | v3.12.0 | [...](https://github.com/php-opencloud/openstack/compare/v3.10.0...v3.12.0) |

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-04-24 09:29:36 +02:00
Ferdinand Thiessen
9fce0f9297
Merge pull request #52391 from nextcloud/fix/harden-template-functions
fix(Template): harden enabled-theme logic
2025-04-24 07:38:20 +02:00
Nextcloud bot
1cc990358c
fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-04-24 00:23:35 +00:00
Andy Scherzinger
2c8c036bdb
Merge pull request #51439 from nextcloud/fix/create-missing-replacement-indexes
fix(db): Create replacement index where original index is missing
2025-04-24 00:49:22 +02:00
Ferdinand Thiessen
8b1dcb9759
Merge pull request #50444 from nextcloud/jtr-docs-dispatcher-return
docs(dispatcher): Correct described return values
2025-04-24 00:26:34 +02:00
nfebe
d980e69f74 refactor: Thumbnail Generator logging and tests
Signed-off-by: nfebe <fenn25.fn@gmail.com>
2025-04-23 23:06:28 +01:00
Andy Scherzinger
25ef415e14
Merge pull request #51766 from nextcloud/info-file-permissions
feat: show permissions in info:file output
2025-04-23 23:42:20 +02:00
Ferdinand Thiessen
9bfea21520
fix(32bit): make pack compatible with 32bit PHP
The `P` formatter is 64bit only - we need to manually pack the 64bit.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-04-23 23:28:14 +02:00
Ferdinand Thiessen
f5f5a07e38
Merge pull request #52347 from nextcloud/dependabot/github_actions/github-actions-510ea978f9
build(deps): bump the github-actions group with 4 updates
2025-04-23 23:27:50 +02:00
Ferdinand Thiessen
8503ce8968
fix(Template): harden enabled-theme logic
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-04-23 22:57:12 +02:00
Josh
6951053c90
docs(dispatcher): Correct described return values
Signed-off-by: Josh <josh.t.richards@gmail.com>
2025-04-23 22:43:03 +02:00
Ferdinand Thiessen
56b9974c41
Merge pull request #51994 from nextcloud/fix/noid/allows-some-char-from-federationid
fix(federation): allows equal signs in federation id
2025-04-23 21:23:05 +02:00
Ferdinand Thiessen
366eb9c2b6
Merge pull request #52361 from nextcloud/fix/51833/add-retries-to-s3-client
fix(objectstorage): add retry attempts to S3 connection
2025-04-23 20:39:56 +02:00
Ferdinand Thiessen
271df14e6b
Merge pull request #52290 from nextcloud/fix/show-better-mtime
refactor(files): share `mtime` for file entry components
2025-04-23 20:38:56 +02:00
Ferdinand Thiessen
9794f90b9d
chore: compile assets
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-04-23 20:22:43 +02:00
Ferdinand Thiessen
05fecce17d
fix(files): share mtime for file entry components
Also restructure the mtime opacity calculation to work as expected also
for old files.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-04-23 20:22:28 +02:00
provokateurin
cc17e4c1fe
fix(updatenotification): Fix error handling when fetching applist for server update
Signed-off-by: provokateurin <kate@provokateurin.de>
2025-04-23 16:42:35 +02:00
Ferdinand Thiessen
5e03c6fb58
fix(files_versions): create version if previous does not exist
This issue happens reproducible if:
- Versions is disabled
- Upload a file
- Enable versions
- Upload same file unchanged
- Now the error happens.

Problem is that the mtime is unchanged so no version will be created on the upload, but it tries to update the last version which does not exists.
Instead of "upload same file unchanged" you can also - like in the example stack trace above - use Android with an SD card with invalid mtime -> the mtime will be stripped so its always the same.
Instead of disable versions the same also happens if e.g. the versions creation failed due to other issues.

The solution now is to catch the exception and create if not exists.
A cleaner solution would be to have a method on the versions backend
like `hasVersionEntity(File $file, int $revision): bool` but this would
be a breaking change or at least a feature that apps need to implement.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-04-23 16:03:20 +02:00
John Molakvoæ
9bfa1e7bd9
Merge pull request #52094 from nextcloud/rakekniven-patch-1 2025-04-23 14:16:11 +02:00