Commit graph

77659 commits

Author SHA1 Message Date
Côme Chilliet
6ef05bafeb
fix: Fix test of IConstructableStorage implentation by storage classes
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-09-30 11:21:42 +02:00
Ferdinand Thiessen
e0c00af3bf
fix(dav): Emit BeforeZipCreatedEvent when creating folder zip archive
This is required to not break behavior on zip download (apps should be able to react to zip download especially for shares).

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-09-29 13:29:04 +02:00
Nextcloud bot
da591eaec3
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-09-29 00:27:57 +00:00
dependabot[bot]
26265847bd
Merge pull request #48431 from nextcloud/dependabot/npm_and_yarn/vueuse/integrations-11.1.0 2024-09-28 22:13:30 +00:00
dependabot[bot]
8c5c083bbe chore(deps): Bump @vueuse/integrations from 11.0.3 to 11.1.0
Bumps [@vueuse/integrations](https://github.com/vueuse/vueuse/tree/HEAD/packages/integrations) from 11.0.3 to 11.1.0.
- [Release notes](https://github.com/vueuse/vueuse/releases)
- [Commits](https://github.com/vueuse/vueuse/commits/v11.1.0/packages/integrations)

---
updated-dependencies:
- dependency-name: "@vueuse/integrations"
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-09-28 22:01:17 +00:00
dependabot[bot]
85a52f0e36
Merge pull request #48430 from nextcloud/dependabot/npm_and_yarn/libphonenumber-js-1.11.9 2024-09-28 21:50:03 +00:00
dependabot[bot]
da6ecd2042 chore(deps): Bump libphonenumber-js from 1.11.5 to 1.11.9
Bumps [libphonenumber-js](https://gitlab.com/catamphetamine/libphonenumber-js) from 1.11.5 to 1.11.9.
- [Changelog](https://gitlab.com/catamphetamine/libphonenumber-js/blob/master/CHANGELOG.md)
- [Commits](https://gitlab.com/catamphetamine/libphonenumber-js/compare/v1.11.5...v1.11.9)

---
updated-dependencies:
- dependency-name: libphonenumber-js
  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>
2024-09-28 21:38:23 +00:00
dependabot[bot]
83375682fe
Merge pull request #48432 from nextcloud/dependabot/npm_and_yarn/cypress-13.15.0 2024-09-28 21:29:49 +00:00
dependabot[bot]
f71bfac956 chore(deps-dev): Bump cypress from 13.14.2 to 13.15.0
Bumps [cypress](https://github.com/cypress-io/cypress) from 13.14.2 to 13.15.0.
- [Release notes](https://github.com/cypress-io/cypress/releases)
- [Changelog](https://github.com/cypress-io/cypress/blob/develop/CHANGELOG.md)
- [Commits](https://github.com/cypress-io/cypress/compare/v13.14.2...v13.15.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-09-28 21:16:03 +00:00
Ferdinand Thiessen
9949bcf7a0
refactor(theming): Reduce duplicated code in BackgroundService
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-09-28 22:50:45 +02:00
Ferdinand Thiessen
60083b1b5f
fix(theming): Use AppConfig for setting background image
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-09-28 22:44:03 +02:00
Ferdinand Thiessen
a0b2297c53
Merge pull request #48424 from nextcloud/fix/declarative-settings-priority
fix(settings): Sort all settings - incl declarative settings - by priority
2024-09-28 19:45:36 +02:00
Maksim Sukharev
2b2b4e9e96 fix: correctly count disabled users for subadmins
Signed-off-by: Maksim Sukharev <antreesy.web@gmail.com>
2024-09-28 18:46:16 +02:00
Ferdinand Thiessen
31ad1c5f55
Merge pull request #48098 from nextcloud/feat/zip-folder-plugin
feat: Move to ZipFolderPlugin for downloading multiple-nodes
2024-09-28 14:24:12 +02:00
Ferdinand Thiessen
b5256181a4
fix(settings): Sort all settings - incl declarative settings - by priority
Previously declarative settings were sorted by priority but behind the "native" settings,
this is now fixed, meaning a declarative setting with higher priority than an `ISetting` will
be correctly rendered before that `ISetting` in the settings list.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-09-28 14:08:26 +02:00
Ferdinand Thiessen
ca8d576239
chore: compile assets
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-09-28 14:01:32 +02:00
Ferdinand Thiessen
eb69e89fa5
chore: Drop unused legacy OC_Files
It is replaced with the Sabre `ZipFolderPlugin` and apps should use the `OCP\AppFramework\Http\StreamResponse`.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-09-28 13:18:40 +02:00
Ferdinand Thiessen
e9d590674d
feat(files_sharing): Make ShareController download route use the DAV ZipFolderPlugin
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-09-28 13:18:34 +02:00
Ferdinand Thiessen
0f6760c810
feat(files): Make the files download action use WebDAV zip download
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-09-28 13:18:29 +02:00
Ferdinand Thiessen
2f66bd5b75
fix: Allow Streamer to specify type in constructor instead of magin UA handling
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-09-28 13:18:29 +02:00
Ferdinand Thiessen
d66e16b07e
feat(dav): New ZipFolderPlugin which allows to download folders using GET requests
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-09-28 13:18:23 +02:00
Joas Schilling
c470ef0fd7
Merge pull request #47265 from nextcloud/ernolf/configurable_sharetoken_length
feat(share): make sharelink token length configurable
2024-09-28 08:34:57 +02:00
ernolf
b4ea146d10 feat(share): make sharelink token length configurable
- ensure unique share token with dynamic length adjustment

Signed-off-by: ernolf <raphael.gradenwitz@googlemail.com>
2024-09-28 08:06:24 +02:00
dependabot[bot]
e202b6c460
Merge pull request #48433 from nextcloud/dependabot/npm_and_yarn/puppeteer-23.4.1 2024-09-28 02:05:39 +00:00
dependabot[bot]
85e745f391
Merge pull request #48434 from nextcloud/dependabot/npm_and_yarn/typescript-5.6.2 2024-09-28 02:05:10 +00:00
dependabot[bot]
1def78bcab
chore(deps-dev): Bump typescript from 5.5.4 to 5.6.2
Bumps [typescript](https://github.com/microsoft/TypeScript) from 5.5.4 to 5.6.2.
- [Release notes](https://github.com/microsoft/TypeScript/releases)
- [Changelog](https://github.com/microsoft/TypeScript/blob/main/azure-pipelines.release.yml)
- [Commits](https://github.com/microsoft/TypeScript/compare/v5.5.4...v5.6.2)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-09-28 01:32:30 +00:00
dependabot[bot]
45954c2540
chore(deps-dev): Bump puppeteer from 23.3.0 to 23.4.1
Bumps [puppeteer](https://github.com/puppeteer/puppeteer) from 23.3.0 to 23.4.1.
- [Release notes](https://github.com/puppeteer/puppeteer/releases)
- [Changelog](https://github.com/puppeteer/puppeteer/blob/main/release-please-config.json)
- [Commits](https://github.com/puppeteer/puppeteer/compare/puppeteer-v23.3.0...puppeteer-v23.4.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-09-28 01:31:44 +00:00
Nextcloud bot
5140585fbb
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-09-28 00:20:08 +00:00
Josh
ce51cecb44
fix(config): Suppress error at install time
Signed-off-by: Josh <josh.t.richards@gmail.com>
2024-09-27 17:28:14 -04:00
Joas Schilling
341b31b194
Merge pull request #48419 from nextcloud/bugfix/noid/fix-rtl-language-list
fix(l10n): Fix list of RTL languages
2024-09-27 22:16:29 +02:00
Robin Appelman
3e12e1e789
fix: rework move into object store to better preserve fileids
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-09-27 14:46:08 +02:00
Robin Appelman
f8a59b56b4
test: fix share storage move test with object store
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-09-27 14:45:43 +02:00
Robin Appelman
888d06dff9
fix: preserve fileid when moving from objectstore to non-objectstore
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-09-27 14:45:42 +02:00
Robin Appelman
da21acfb3f
fix: ensure source folder is removed from cache when moving to objectstore
otherwise this causes confusion down the line as it's contents will be moved to the new cache

Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-09-27 14:45:42 +02:00
Robin Appelman
a5f8a2625f
test: re-add object store primary storage phpunit tests
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-09-27 14:45:39 +02:00
Joas Schilling
234c44a77e
fix(l10n): Fix list of RTL languages
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-09-27 12:50:30 +02:00
Kate
4f88123d2b
Merge pull request #48219 from nextcloud/fix/istorage/return-types 2024-09-27 07:40:05 +02:00
Nextcloud bot
7887ab8cfa
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-09-27 00:20:34 +00:00
Ferdinand Thiessen
d57a2dd465
fix: Skip users that still exist in backend
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-09-26 20:48:45 +02:00
Ferdinand Thiessen
16833aff86
fix: Make user removal more resilient
Currently there is a problem if an exception is thrown in `User::delete`,
because at that point the user is already removed from the backend,
but not all data is deleted.

There is no way to recover from this state, as the user is gone no information is available anymore.
This means the data is still available on the server but can not removed by any API anymore.

The solution here is to first set a flag and backup the user home,
this can be used to recover failed user deletions in a way the delete can be re-tried.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-09-26 20:48:37 +02:00
Joas Schilling
c8a907fc8c
Merge pull request #48370 from nextcloud/dependabot/composer/laravel/serializable-closure-1.3.5
build(deps): Bump laravel/serializable-closure from 1.3.3 to 1.3.5
2024-09-26 18:19:14 +02:00
provokateurin
227609a954
fix(IStorage): Use false instead of bool intersection type to match implementations
Signed-off-by: provokateurin <kate@provokateurin.de>
2024-09-26 18:13:03 +02:00
provokateurin
7cdccd058f
fix(Storage): Fix IStorage return types
Signed-off-by: provokateurin <kate@provokateurin.de>
2024-09-26 18:13:03 +02:00
provokateurin
256a8d8903
test: Fix IStorage return types
Signed-off-by: provokateurin <kate@provokateurin.de>
2024-09-26 17:29:48 +02:00
provokateurin
1302b48ca2
fix(files_external): Fix all IStorage return types
Signed-off-by: provokateurin <kate@provokateurin.de>
2024-09-26 17:29:48 +02:00
provokateurin
376d5665bb
fix(files_sharing): Fix all IStorage return types
Signed-off-by: provokateurin <kate@provokateurin.de>
2024-09-26 17:29:47 +02:00
provokateurin
0356e9e82f
fix(files_trashbin): Fix all IStorage return types
Signed-off-by: provokateurin <kate@provokateurin.de>
2024-09-26 17:29:22 +02:00
Joas Schilling
9a20008b9f
build(deps): Bump laravel/serializable-closure from 1.3.3 to 1.3.5
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-09-26 16:27:25 +02:00
Daniel
0451be763b
Merge pull request #48366 from nextcloud/fix/files_sharing/ocm-permissions
fix(files_sharing): Parse OCM share permissions from OCM and not OCS prop
2024-09-26 16:20:14 +02:00
Joas Schilling
c0e0ee9e4e
Merge pull request #48153 from nextcloud/feat/shipped/app_api
feat(app_api): make app_api shipped and default enabled
2024-09-26 15:26:20 +02:00