Commit Graph

80510 Commits (c24f5fb256f53836727d3479e0fcf79d680ca2ca)
 

Author SHA1 Message Date
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 +07: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 +07: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 +07:00
John Molakvoæ 9bfa1e7bd9
Merge pull request #52094 from nextcloud/rakekniven-patch-1 2025-04-23 14:16:11 +07:00
dependabot[bot] 09854b4549
Merge pull request #52315 from nextcloud/dependabot/npm_and_yarn/dockerode-4.0.6 2025-04-23 12:10:59 +07:00
Kate 38f7e0f1d1
Merge pull request #52366 from nextcloud/feat/noid/profile-data-api 2025-04-23 14:05:04 +07:00
nextcloud-command a68e0355d9
chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2025-04-23 13:54:34 +07:00
Ferdinand Thiessen 21c128754d
Merge pull request #52241 from nextcloud/bugfix/noid/fix-room-or-resource-condition
fix(caldav): Fix check for ROOM or RESOURCE condition
2025-04-23 13:54:01 +07:00
rakekniven b27d76059e
chore(i18n): Use "name" instead of "nickname"
Users asked why they should use a nickname?
"Name" covers nickname, pseudonym, username or real name.


Signed-off-by: rakekniven <2069590+rakekniven@users.noreply.github.com>
2025-04-23 13:53:18 +07:00
dependabot[bot] de5142545f
Merge pull request #52321 from nextcloud/dependabot/npm_and_yarn/webpack-5.99.6 2025-04-23 11:37:17 +07:00
dependabot[bot] 893d81a5a5 build(deps-dev): bump webpack from 5.99.5 to 5.99.6
Bumps [webpack](https://github.com/webpack/webpack) from 5.99.5 to 5.99.6.
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](https://github.com/webpack/webpack/compare/v5.99.5...v5.99.6)

---
updated-dependencies:
- dependency-name: webpack
  dependency-version: 5.99.6
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2025-04-23 11:23:03 +07:00
Ferdinand Thiessen 2020760f88
fix(files_versions): wait for version to be created before setting metadata
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-04-23 13:09:43 +07:00
Joas Schilling 9ed33cf6aa
feat(profile): Add an API to get the profile field data
Signed-off-by: Joas Schilling <coding@schilljs.com>
2025-04-23 12:38:18 +07:00
Anna Larch 49baa914cf fix(objectstorage): add retry attempts to S3 connection
Signed-off-by: Anna Larch <anna@nextcloud.com>
2025-04-23 12:15:06 +07:00
Misha M.-Kupriyanov 4a924bf400 fix(previews): avoid large file downloads for remote movie storage
Prevent downloading entire movie files from remote storage (e.g., S3)
when the 'moov atom' is located at the end of the file.

Signed-off-by: Misha M.-Kupriyanov <kupriyanov@strato.de>
2025-04-23 10:04:27 +07:00
Misha M.-Kupriyanov d1a94f3c9c feat(login-flow-v2): Restrict allowed apps by user agent check
Enable via:
./occ config:system:set core.login_flow_v2.allowed_user_agents 0  --value '/Custom Foo Client/i'
./occ config:system:set core.login_flow_v2.allowed_user_agents 1  --value '/Custom Bar Client/i'

if user agent string is unknown
the template with "Access forbidden"-"Please use original client" will be displayed

Signed-off-by: Misha M.-Kupriyanov <kupriyanov@strato.de>
2025-04-23 09:45:23 +07:00
Nextcloud bot 14868ac0ee
fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-04-23 00:22:56 +07:00
dependabot[bot] 0c177240c3
Merge pull request #52330 from nextcloud/dependabot/npm_and_yarn/sass-1.87.0 2025-04-22 19:21:42 +07:00
John Molakvoæ 1f81bc05b9
Merge pull request #52296 from nextcloud/fix/drop-file-preview 2025-04-22 20:08:16 +07:00
dependabot[bot] 731060fe69
build(deps-dev): bump sass from 1.86.3 to 1.87.0
Bumps [sass](https://github.com/sass/dart-sass) from 1.86.3 to 1.87.0.
- [Release notes](https://github.com/sass/dart-sass/releases)
- [Changelog](https://github.com/sass/dart-sass/blob/main/CHANGELOG.md)
- [Commits](https://github.com/sass/dart-sass/compare/1.86.3...1.87.0)

---
updated-dependencies:
- dependency-name: sass
  dependency-version: 1.87.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-04-22 15:39:53 +07:00
nextcloud-command 4628f85f85 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2025-04-22 15:32:13 +07:00
John Molakvoæ (skjnldsv) 12327fea1e fix(files): prevent dragging preview when drag-drop
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2025-04-22 15:26:18 +07:00
dependabot[bot] 9a8c099b48
Merge pull request #52325 from nextcloud/dependabot/npm_and_yarn/puppeteer-24.7.0 2025-04-22 15:17:04 +07:00
dependabot[bot] bd05af4273
Merge pull request #52304 from nextcloud/dependabot/composer/build/integration/behat/behat-3.21.0 2025-04-22 14:48:02 +07:00
Maxence Lange 743924ce4d fix(federation): allows equal signs in federation id
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2025-04-22 13:03:56 +07:00
dependabot[bot] ce26d5450a
build(deps): bump the github-actions group with 4 updates
Bumps the github-actions group with 4 updates: [shivammathur/setup-php](https://github.com/shivammathur/setup-php), [actions/setup-node](https://github.com/actions/setup-node), [codecov/codecov-action](https://github.com/codecov/codecov-action) and [nextcloud-libraries/npm-audit-action](https://github.com/nextcloud-libraries/npm-audit-action).


Updates `shivammathur/setup-php` from 2.32.0 to 2.33.0
- [Release notes](https://github.com/shivammathur/setup-php/releases)
- [Commits](9e72090525...cf4cade272)

Updates `actions/setup-node` from 4.3.0 to 4.4.0
- [Release notes](https://github.com/actions/setup-node/releases)
- [Commits](cdca7365b2...49933ea528)

Updates `codecov/codecov-action` from 5.4.0 to 5.4.2
- [Release notes](https://github.com/codecov/codecov-action/releases)
- [Commits](https://github.com/codecov/codecov-action/compare/v5.4.0...v5.4.2)

Updates `nextcloud-libraries/npm-audit-action` from 0.1.0 to 0.2.0
- [Release notes](https://github.com/nextcloud-libraries/npm-audit-action/releases)
- [Commits](2a60bd2e79...1b1728b2b4)

---
updated-dependencies:
- dependency-name: shivammathur/setup-php
  dependency-version: 2.33.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: github-actions
- dependency-name: actions/setup-node
  dependency-version: 4.4.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: github-actions
- dependency-name: codecov/codecov-action
  dependency-version: 5.4.2
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: github-actions
- dependency-name: nextcloud-libraries/npm-audit-action
  dependency-version: 0.2.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: github-actions
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-04-22 13:04:58 +07:00
dependabot[bot] 796e089c0d
build(deps-dev): bump puppeteer from 24.6.1 to 24.7.0
Bumps [puppeteer](https://github.com/puppeteer/puppeteer) from 24.6.1 to 24.7.0.
- [Release notes](https://github.com/puppeteer/puppeteer/releases)
- [Changelog](https://github.com/puppeteer/puppeteer/blob/main/CHANGELOG.md)
- [Commits](https://github.com/puppeteer/puppeteer/compare/puppeteer-v24.6.1...puppeteer-v24.7.0)

---
updated-dependencies:
- dependency-name: puppeteer
  dependency-version: 24.7.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-04-22 12:59:48 +07:00
dependabot[bot] 056f510228
build(deps-dev): bump dockerode from 4.0.5 to 4.0.6
Bumps [dockerode](https://github.com/apocas/dockerode) from 4.0.5 to 4.0.6.
- [Release notes](https://github.com/apocas/dockerode/releases)
- [Commits](https://github.com/apocas/dockerode/compare/v4.0.5...v4.0.6)

---
updated-dependencies:
- dependency-name: dockerode
  dependency-version: 4.0.6
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-04-22 12:58:34 +07:00
dependabot[bot] 32d90b528c
build(deps-dev): bump behat/behat in /build/integration
Bumps [behat/behat](https://github.com/Behat/Behat) from 3.20.0 to 3.21.0.
- [Release notes](https://github.com/Behat/Behat/releases)
- [Changelog](https://github.com/Behat/Behat/blob/master/CHANGELOG.md)
- [Commits](https://github.com/Behat/Behat/compare/v3.20.0...v3.21.0)

---
updated-dependencies:
- dependency-name: behat/behat
  dependency-version: 3.21.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-04-22 12:56:17 +07:00
Ferdinand Thiessen cb92b5a64a
Merge pull request #52293 from nextcloud/chore/dependabot
ci(dependabot): remove stable29 and group composer directories
2025-04-22 14:55:21 +07:00
Julius Knorr 12490b2837
Merge pull request #52099 from nextcloud/perf/excimer
Built in profiling capabilities with excimer
2025-04-22 14:50:14 +07:00
Ferdinand Thiessen efa2cda370
Merge pull request #51491 from nextcloud/fix/path-length
fix(dav): allow uploading of files with long filenames
2025-04-22 13:53:26 +07:00
F. E Noel Nfebe 25bc18c6dc
Merge pull request #52221 from nextcloud/feat/no-issue/add-logging-preview-generation
feat: add logging to preview generation
2025-04-22 12:37:49 +07:00
Ferdinand Thiessen 9f6b2b8e45
Merge pull request #52291 from nextcloud/revert/gfm-pin
chore: revert "fix(deps): lock mdast-util-gfm-autolink-literal library"
2025-04-22 11:26:00 +07:00
Ferdinand Thiessen b4255a9652
fix(dav): allow uploading of files with long filenames
A filename must be less or equal 255 characters, but when adding the
`.part` and `.ocfiletransfer` extensions we might overflow this limit.
So we should also use filename hashes for uploading when the file has a
long filename, similar like when we are uploading to the user storage
directly.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-04-22 11:09:25 +07:00
Ferdinand Thiessen 6141ab1da6
refactor(dav): simplify length header handling
Reduce nesting and drop duplicated sections.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-04-22 11:09:05 +07:00
Ferdinand Thiessen fd22b9cb18
ci(dependabot): remove stable29 and group composer directories
- stable29 is EOL
- make configuration better readable by grouping composer configurations
  with `directories` instead of individual configurations.
- do not allow major updates on stable branches, but still do patch
  updates.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-04-22 11:06:27 +07:00
Joas Schilling fe7c1c0aad
fix(caldav): Fix check for ROOM or RESOURCE comment
Signed-off-by: Joas Schilling <coding@schilljs.com>
2025-04-22 11:02:13 +07:00
John Molakvoæ 703af4bd44
Merge pull request #52249 from nextcloud/chore/update-3rdparty 2025-04-22 10:44:45 +07:00
Ferdinand Thiessen f24d178d0f
chore: revert "fix(deps): lock mdast-util-gfm-autolink-literal library to exact version 2.0.0"
This reverts commit d028b61a40.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-04-22 10:27:25 +07:00
dependabot[bot] c4b9e9d4a1
Merge pull request #52272 from nextcloud/dependabot/npm_and_yarn/libphonenumber-js-1.12.7 2025-04-22 08:07:04 +07:00
Ferdinand Thiessen f1448fcf07
chore(theming): remove scssphp and just native nested CSS
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-04-22 09:51:04 +07:00
Ferdinand Thiessen 36230f78c6
chore: drop scssphp dependency
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-04-22 09:51:04 +07:00
dependabot[bot] 35056e5c33 build(deps): bump libphonenumber-js from 1.12.6 to 1.12.7
Bumps [libphonenumber-js](https://gitlab.com/catamphetamine/libphonenumber-js) from 1.12.6 to 1.12.7.
- [Changelog](https://gitlab.com/catamphetamine/libphonenumber-js/blob/master/CHANGELOG.md)
- [Commits](https://gitlab.com/catamphetamine/libphonenumber-js/commits/master)

---
updated-dependencies:
- dependency-name: libphonenumber-js
  dependency-version: 1.12.7
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2025-04-22 07:38:56 +07:00
Côme Chilliet 98e3afce9e
Merge pull request #52257 from nextcloud/fix/noid/ensure-userid-attr-present
fix(LDAP): inlcude ldapExpertUsernameAttr in general attribute list
2025-04-22 09:24:50 +07:00
Julius Knorr 3fc9a99521 perf: Add config options to trigger individual and sample profiling using excimer
Signed-off-by: Julius Knorr <jus@bitgrid.net>
2025-04-22 08:57:02 +07:00
Nextcloud bot cb4fcd0f40
fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-04-22 00:23:01 +07:00
Nextcloud bot db8e570802
fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-04-21 00:23:10 +07:00
Ferdinand Thiessen 07f26fc789
Merge pull request #51953 from nextcloud/dependabot/npm_and_yarn/backbone-1.6.1
build(deps): bump backbone from 1.6.0 to 1.6.1
2025-04-20 11:46:35 +07:00
Nextcloud bot 91ded2c005
fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-04-20 00:23:05 +07:00