Compare commits

...

2831 Commits

Author SHA1 Message Date
Git'Fellow f3b4fdccd0 refactor(encoding): Check if strings are valid for the specified encoding
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
2025-01-29 11:39:04 +01:00
Louis a606b66dfe Merge pull request #50299 from nextcloud/artonge/fix/restoring_encrypted_version
fix(files_versions): Update `unencrypted_size` during rollback
2025-01-29 10:35:14 +01:00
Nextcloud bot 271552d70d Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-01-29 00:22:04 +00:00
Andy Scherzinger dd66231a90 Merge pull request #50284 from nextcloud/icewind-smb-3.7
chore: update icewind/smb to 3.7.0
2025-01-28 23:32:42 +01:00
max-nextcloud 0741f6fb80 Merge pull request #50494 from nextcloud/fix/low-res-for-blurhash
fix(performance): use low resolution for blurhash
2025-01-28 22:58:30 +01:00
Richard Steinmetz baa40e6e19 Merge pull request #50490 from nextcloud/fix/noid/fifty-fifth
fix(CalDav): Spelling
2025-01-28 20:50:21 +01:00
Ferdinand Thiessen fb131c1831 Merge pull request #50436 from nextcloud/fix/encoding-wrapper-scanner
fix: Harden files scanner for invalid null access
2025-01-28 20:47:39 +01:00
Ferdinand Thiessen b48ee2e924 fix: Harden files scanner for invalid null access
Co-authored-by: Ferdinand Thiessen <opensource@fthiessen.de>
Co-authored-by: Kate <26026535+provokateurin@users.noreply.github.com>
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-01-28 20:08:46 +01:00
Ferdinand Thiessen e40b635b16 Merge pull request #50270 from nextcloud/fix/share-api-create--permissions
fix(files_sharing): Respect permissions passed when creating link shares
2025-01-28 18:24:12 +01:00
Ferdinand Thiessen 0baab8fd98 test: Reset sharing app config after test
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-01-28 16:40:50 +01:00
Ferdinand Thiessen 0a0f56282a fix(sharing): Move permission validation to share manager
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-01-28 16:40:50 +01:00
Ferdinand Thiessen 253f4345f1 fix(files_sharing): Respect permissions passed when creating link shares
Given:
User creates a link or email share with permissions=4 (create only = file drop).

Problem:
Currently the permissions are automatically extended to permissions = 5
(READ + CREATE). Work around was to create the share and directly update
it.

Solution:
Respect what the user is requesting, create a file drop share.

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>
2025-01-28 16:40:50 +01:00
Louis Chemineau c87db7a960 fix(files_versions): Update unencrypted_size during rollback
This prevent restored version of encrypted files from having a wrong reported size. This was blocking download.

Signed-off-by: Louis Chemineau <louis@chmn.me>
2025-01-28 15:28:34 +01:00
Louis Chemineau 5336c92ca5 chore(files_versions): Remove unused $node variable
Signed-off-by: Louis Chemineau <louis@chmn.me>
2025-01-28 15:28:34 +01:00
Max faaed68c04 fix(performance): use low resolution for blurhash
Improve blurhash performance by using a low res image.
The results are hard to destinguish visualy.
It is a **blur** hash after all.

Signed-off-by: Max <max@nextcloud.com>
2025-01-28 15:19:38 +01:00
John Molakvoæ 2c773033bc Merge pull request #50496 from nextcloud/skjnldsv-patch-1
fix(ci): cypress container name
2025-01-28 11:03:45 +01:00
John Molakvoæ 00922bae62 fix(ci): cypress container name
Signed-off-by: John Molakvoæ <skjnldsv@users.noreply.github.com>
2025-01-28 10:18:54 +01:00
Côme Chilliet e4e9dae4e6 Merge pull request #47889 from nextcloud/fix/settings-command
fix: `user:settings` command when user is not available
2025-01-28 09:37:16 +01:00
Nextcloud bot 0180e8c2ed Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-01-28 00:22:13 +00:00
SebastianKrupinski e93ac80386 fix(CalDav): Spelling
Signed-off-by: SebastianKrupinski <krupinskis05@gmail.com>
2025-01-27 19:15:22 -05:00
Ferdinand Thiessen 5867231247 fix: user:settings command when user is not available
If `ignore-missing-user` all sub commands work, except listing all settings
for a user like `occ user:settings --ignore-missing-user user core`.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-01-27 20:51:04 +01:00
Andy Scherzinger 6dc83b96c4 Merge pull request #50293 from nextcloud/fix/harden-admin-settings
fix(theming): Harden admin theming settings
2025-01-27 18:55:36 +01:00
Maxence Lange c483a84e9b Merge pull request #49645 from nextcloud/fix/noid/clean-config-code
fix(config): drop value details
2025-01-27 16:54:20 -01:00
Ferdinand Thiessen 58eb0b91e9 Merge pull request #50446 from nextcloud/fix/unified-search-size
fix(unifiedsearch): Simplify and correct thumbnail styles
2025-01-27 18:41:20 +01:00
nextcloud-command 7a7aec142e chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2025-01-27 18:17:53 +01:00
Ferdinand Thiessen c5c5f68f48 fix(unifiedsearch): Simplify and correct thumbnail styles
Ensure that the if a preview is available the maximum sizes are
respected (clickable area).

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-01-27 18:17:53 +01:00
Daniel 4561b4eba1 Merge pull request #45364 from nextcloud/fix/ldap-avoid-false-positive-mapping
fix(user_ldap): Do not map groups we do not know if they match filter
2025-01-27 17:28:03 +01:00
Andy Scherzinger c4161548f9 Merge pull request #50464 from nextcloud/fix/50215/hideCreateTemplateFolder
Hide "Create templates folder" option if templates are disabled
2025-01-27 17:18:05 +01:00
Kate 2f862d1fcb Merge pull request #50221 from nextcloud/add-integration-tests-for-moving-a-file-from-and-to-a-shared-folder 2025-01-27 17:03:04 +01:00
nextcloud-command 49529f9e61 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2025-01-27 16:08:53 +01:00
Pawel Boguslawski c7bcfbf864 fix: Hide "Create templates folder" option if templates are disabled in configuration
When both `skeletondirectory` and `templatedirectory` are set to empty
strings in configuration, templates folder creation should be disabled
and no Create templates folder option should be present
in new folder menu.

Related: https://github.com/nextcloud/server/issues/39266
Related: https://github.com/nextcloud/server/issues/46455
Author-Change-Id: IB#1156403

Signed-off-by: Pawel Boguslawski <pawel.boguslawski@ib.pl>
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2025-01-27 16:08:53 +01:00
Andy Scherzinger b70654aeed Merge pull request #48581 from hammer065/fix/issue-35936
fix: Filter for folders in cleanup old preview job
2025-01-27 16:06:40 +01:00
Côme Chilliet de77415c70 fix(user_ldap): Do not map groups we do not know if they match filter
When nesting is enabled, filterValidGroups is supposed to check for each
 groups if it actually exist, because it may not be visible to
 Nextcloud. So in this codepath we disable automapping of groups.

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2025-01-27 14:51:51 +01:00
Ferdinand Thiessen 8aa3a153ba chore: Compile assets
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-01-27 14:22:41 +01:00
Joas Schilling 510d897086 Merge pull request #50234 from nextcloud/bugfix/noid/allow-ratelimit-bypass
fix(ratelimit): Allow to bypass rate-limit from bruteforce allowlist
2025-01-27 14:20:23 +01:00
Ferdinand Thiessen 4dac813901 fix(theming): Ensure to only send valid URLs to backend
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-01-27 14:20:15 +01:00
Ferdinand Thiessen ff835faf7b fix(theming): Harden admin web link settings
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-01-27 14:20:14 +01:00
Daniel Calviño Sánchez b59c71ccf8 test: Add integration tests for moving a file from and to a shared folder
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2025-01-27 14:13:07 +01:00
Joas Schilling c1655bcde7 fix(ratelimit): Allow to bypass rate-limit from bruteforce allowlist
Signed-off-by: Joas Schilling <coding@schilljs.com>
2025-01-27 12:46:15 +01:00
Ferdinand Thiessen f5cd0cbd70 Merge pull request #50315 from nextcloud/chore/symfony-process
chore(3rdparty): Bump symfony/process from 6.4.12 to 6.4.15
2025-01-27 12:14:53 +01:00
Ferdinand Thiessen c81f18d100 chore(3rdparty): Bump symfony/process from 6.4.12 to 6.4.15
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-01-27 11:36:35 +01:00
Daniel e6598519e4 Merge pull request #50455 from nextcloud/bugfix/50443/fix-log-level-handling
fix(log): Fix log level handling
2025-01-27 11:21:11 +01:00
Kate e03b9ce5d2 Merge pull request #50298 from nextcloud/smb-hasupdated-deleted 2025-01-27 10:20:36 +01:00
Dario Mehlich 8c309130cf fix(preview): Filter for folders in cleanup old preview job
Fixes #35936.
When running `OC\Preview\BackgroundCleanupJob`, the main iteration loop
in `run()` expects a folder, however, `getOldPreviewLocations()`
currently does not filter by mimetype and therefore can yield a
non-folder entry which causes an Exception when constructing the Folder
impl.
Filtering for `httpd/unix-directory`, as `getNewPreviewLocations()`
already does, fixes this issue.

Signed-off-by: Dario Mehlich <d.mehlich@gmail.com>
2025-01-27 10:16:08 +01:00
Joas Schilling 0ba2913a95 fix(log): Fix log level handling
Signed-off-by: Joas Schilling <coding@schilljs.com>
2025-01-27 05:05:17 +01:00
Nextcloud bot 29724ff27e Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-01-27 00:21:42 +00:00
Andy Scherzinger 4145dedba0 Merge pull request #50425 from nextcloud/fix/openapi/outdated-specs
Fix outdated OpenAPI specs
2025-01-26 22:08:35 +01:00
Andy Scherzinger 68e7212c5a Merge pull request #48672 from nextcloud/jtr-settings-memory-limit-details
fix(settings): Add some context to the PHP memory limit error
2025-01-26 21:47:20 +01:00
Andy Scherzinger b99054ce58 Merge pull request #50447 from nextcloud/fix/share-label
fix: Ensure `label` is always a string
2025-01-26 20:58:24 +01:00
Ferdinand Thiessen 305e1bb260 fix: Ensure label is always a string
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-01-26 20:41:31 +01:00
Josh 8a7b1617d0 fix(settings): Add some context to the PHP memory limit error
Signed-off-by: Josh <josh.t.richards@gmail.com>
2025-01-26 17:54:19 +01:00
Andy Scherzinger 8981f32358 Merge pull request #50430 from nextcloud/fix/harden-thumbnail-endpoint
files: harden thumbnail endpoint
2025-01-26 16:18:34 +01:00
Andy Scherzinger fba7ef901a Merge pull request #49440 from nextcloud/fix-setupcheck-webfinger-400
fix(SetupChecks): Pass webfinger if the handler returns 400 too
2025-01-26 15:35:22 +01:00
Ferdinand Thiessen 3c357f80c4 chore(files): Deprecate thumbnail endpoint in favor of core preview endpoint
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-01-26 15:25:38 +01:00
Ferdinand Thiessen 08319ad5a6 fix(files): Harden thumbnail endpoint
- Catch all thrown exceptions and handle in such a way you do not get
  information about forbidden files.
- Resepect download permissions of shares.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-01-26 15:21:09 +01:00
Josh b452dc0697 fix(SetupChecks): Pass webfinger if a handler is there
Signed-off-by: Josh <josh.t.richards@gmail.com>
2025-01-26 13:03:05 +01:00
Maxence Lange 525eb8312b fix(config): drop value details
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2025-01-26 12:59:04 +01:00
Kate 6b6401f9c8 Merge pull request #48815 from nextcloud/automated/noid/master-fix-npm-audit 2025-01-26 12:11:03 +01:00
nextcloud-command 93e6394a4b fix(deps): Fix npm audit
Signed-off-by: GitHub <noreply@github.com>
2025-01-26 02:46:38 +00:00
Nextcloud bot 0a0ab5742c Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-01-26 00:22:32 +00:00
Ferdinand Thiessen ea3c9f164c Merge pull request #50429 from nextcloud/dependabot/npm_and_yarn/puppeteer-24.1.1
chore(deps-dev): bump puppeteer from 23.10.4 to 24.1.1
2025-01-25 19:26:46 +01:00
dependabot[bot] 980cfa8ec1 chore(deps-dev): bump puppeteer from 23.10.4 to 24.1.1
Bumps [puppeteer](https://github.com/puppeteer/puppeteer) from 23.10.4 to 24.1.1.
- [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-v23.10.4...puppeteer-v24.1.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-01-25 18:11:09 +00:00
dependabot[bot] 10b2a5dce6 Merge pull request #50336 from nextcloud/dependabot/npm_and_yarn/babel/node-7.26.0 2025-01-25 17:21:24 +00:00
Andy Scherzinger b11974321d Merge pull request #50320 from nextcloud/fix/node-vibrant
fix(theming): remove node-vibrant dependency and usage (was moved to backend)
2025-01-25 18:08:59 +01:00
Andy Scherzinger 77315cb9c7 Merge pull request #50426 from nextcloud/fix/49826/occ_hide_sensitive_values
fix(occ): hide sensitive data while config:app:set
2025-01-25 17:51:17 +01:00
Misha M.-Kupriyanov 65698ff086 fix(occ): hide sensitive data while config:app:set
in order to hide sensitive data from logs

Signed-off-by: Misha M.-Kupriyanov <kupriyanov@strato.de>
2025-01-25 17:19:31 +01:00
provokateurin e473a26676 fix(settings): Add back adminstration scope for LogSettingsController
Signed-off-by: provokateurin <kate@provokateurin.de>
2025-01-25 17:16:39 +01:00
provokateurin 4ff46549ce chore(federation): Remove outdated OpenAPI spec
Signed-off-by: provokateurin <kate@provokateurin.de>
2025-01-25 17:16:07 +01:00
nextcloud-command b2ece065f9 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2025-01-25 16:15:10 +00:00
Ferdinand Thiessen d64dc1599c fix(theming): remove node-vibrant dependency and usage (was moved to backend)
The color extraction is handled by the backend nowadays, this was not
used by the backend anymore.
Reduce depdencies + compiled size + security warning on that dependency.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-01-25 17:10:21 +01:00
Robin Appelman 6e9600eb56 chore: update icewind/smb to 3.7.0
Signed-off-by: Robin Appelman <robin@icewind.nl>
2025-01-25 14:43:25 +01:00
F. E Noel Nfebe 09a50d4da4 Merge pull request #50399 from nextcloud/ehn/sharing-sidebar-hide-search-labels
feat: Use redundant label for accesibility only
2025-01-25 12:20:09 +01:00
nextcloud-command aff0f2502a chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2025-01-25 12:04:19 +01:00
nfebe 148fdbf6e3 feat: Use redundant label for accessibility only
Signed-off-by: nfebe <fenn25.fn@gmail.com>
2025-01-25 12:04:19 +01:00
Ferdinand Thiessen f33e9a96ae Merge pull request #50273 from nextcloud/artonge/fix/metadata_field_search
fix: Metadata field search
2025-01-25 10:43:59 +01:00
Marcel Klehr b0d1f2c489 Merge pull request #50331 from nextcloud/fix/perf/cache-avilable-taskt-types
fix(taskprocessing): More caching
2025-01-25 09:11:05 +01:00
Nextcloud bot 42d4d55c8e Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-01-25 00:21:42 +00:00
Andy Scherzinger 93942d4763 Merge pull request #49639 from nextcloud/fix/49473/task-url
fix: adjust url for task links
2025-01-24 23:22:21 +01:00
Raimund Schlüßler 66e87fa455 fix(TasksSearchProviderTest): adjust deep link to Tasks app
Signed-off-by: Raimund Schlüßler <raimund.schluessler@mailbox.org>
2025-01-24 22:35:20 +01:00
Raimund Schlüßler fd1c18b456 fix: adjust url for task links
Signed-off-by: Raimund Schlüßler <raimund.schluessler@mailbox.org>
2025-01-24 22:35:20 +01:00
Andy Scherzinger 4aa16840f9 Merge pull request #50405 from nextcloud/fix/noid/ldap-no-connection-reason
fix(LDAP): also log why the connection to main server failed
2025-01-24 21:34:27 +01:00
Andy Scherzinger 229aeffae7 Merge pull request #50410 from nextcloud/dependabot/github_actions/github-actions-962ddf9a44
chore(deps): bump the github-actions group across 1 directory with 7 updates
2025-01-24 20:40:32 +01:00
dependabot[bot] c11880d9d6 chore(deps): bump the github-actions group across 1 directory with 7 updates
Bumps the github-actions group with 7 updates in the / directory:

| Package | From | To |
| --- | --- | --- |
| [shivammathur/setup-php](https://github.com/shivammathur/setup-php) | `2.31.1` | `2.32.0` |
| [actions/setup-node](https://github.com/actions/setup-node) | `4.0.4` | `4.1.0` |
| [cypress-io/github-action](https://github.com/cypress-io/github-action) | `6.7.7` | `6.7.10` |
| [actions/upload-artifact](https://github.com/actions/upload-artifact) | `4.4.3` | `4.6.0` |
| [codecov/codecov-action](https://github.com/codecov/codecov-action) | `5.0.7` | `5.3.1` |
| [peter-evans/create-pull-request](https://github.com/peter-evans/create-pull-request) | `7.0.5` | `7.0.6` |
| [marcelklehr/get-github-handles-from-website-action](https://github.com/marcelklehr/get-github-handles-from-website-action) | `1.0.0` | `1.0.1` |



Updates `shivammathur/setup-php` from 2.31.1 to 2.32.0
- [Release notes](https://github.com/shivammathur/setup-php/releases)
- [Commits](https://github.com/shivammathur/setup-php/compare/c541c155eee45413f5b09a52248675b1a2575231...9e72090525849c5e82e596468b86eb55e9cc5401)

Updates `actions/setup-node` from 4.0.4 to 4.1.0
- [Release notes](https://github.com/actions/setup-node/releases)
- [Commits](https://github.com/actions/setup-node/compare/v4.0.4...39370e3970a6d050c480ffad4ff0ed4d3fdee5af)

Updates `cypress-io/github-action` from 6.7.7 to 6.7.10
- [Release notes](https://github.com/cypress-io/github-action/releases)
- [Changelog](https://github.com/cypress-io/github-action/blob/master/CHANGELOG.md)
- [Commits](https://github.com/cypress-io/github-action/compare/f1f0912d392f0d06bdd01fb9ebe3b3299e5806fb...7271bed2a170d73c0b08939cd192db51a1c46c50)

Updates `actions/upload-artifact` from 4.4.3 to 4.6.0
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](https://github.com/actions/upload-artifact/compare/b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882...65c4c4a1ddee5b72f698fdd19549f0f0fb45cf08)

Updates `codecov/codecov-action` from 5.0.7 to 5.3.1
- [Release notes](https://github.com/codecov/codecov-action/releases)
- [Commits](https://github.com/codecov/codecov-action/compare/v5.0.7...v5.3.1)

Updates `peter-evans/create-pull-request` from 7.0.5 to 7.0.6
- [Release notes](https://github.com/peter-evans/create-pull-request/releases)
- [Commits](https://github.com/peter-evans/create-pull-request/compare/5e914681df9dc83aa4e4905692ca88beb2f9e91f...67ccf781d68cd99b580ae25a5c18a1cc84ffff1f)

Updates `marcelklehr/get-github-handles-from-website-action` from 1.0.0 to 1.0.1
- [Release notes](https://github.com/marcelklehr/get-github-handles-from-website-action/releases)
- [Commits](https://github.com/marcelklehr/get-github-handles-from-website-action/compare/a739600f6b91da4957f51db0792697afbb2f143c...06b2239db0a48fe1484ba0bfd966a3ab81a08308)

---
updated-dependencies:
- dependency-name: shivammathur/setup-php
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: github-actions
- dependency-name: actions/setup-node
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: github-actions
- dependency-name: cypress-io/github-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: github-actions
- dependency-name: actions/upload-artifact
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: github-actions
- dependency-name: codecov/codecov-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: github-actions
- dependency-name: peter-evans/create-pull-request
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: github-actions
- dependency-name: marcelklehr/get-github-handles-from-website-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: github-actions
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-01-24 18:56:13 +00:00
Ferdinand Thiessen 6b4518c9f8 Merge pull request #50398 from nextcloud/fix/get-version-of-core
fix: Correctly return app id and app version for `core` styles and images
2025-01-24 19:11:15 +01:00
Arthur Schiwon 0815aa0591 fix(LDAP): also log why the connection to main server failed
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2025-01-24 18:55:10 +01:00
Andy Scherzinger d073afc25f Merge pull request #50353 from nextcloud/artonge/feat/skip-trash-header
feat: Support X-NC-Skip-Trashbin header
2025-01-24 18:53:10 +01:00
Louis Chemineau 2d02cb1ff4 feat: Support X-NC-Skip-Trashbin header
This is useful for clients that want to directly and permanently delete a file.

Signed-off-by: Louis Chemineau <louis@chmn.me>
2025-01-24 18:04:36 +01:00
John Molakvoæ c8df47f089 Merge pull request #50368 from nextcloud/fix/version-channel 2025-01-24 17:13:13 +01:00
Marcel Klehr a6100021e3 fix(TaskProcessing): Cache providersById in getPreferredProviders
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2025-01-24 16:45:43 +01:00
Marcel Klehr c1db2eb0a9 fix: copypasta
Co-authored-by: Julien Veyssier <julien-nc@posteo.net>
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2025-01-24 16:45:43 +01:00
Marcel Klehr c489d7d8a5 fix(taskprocessing): cache provider settings in distributed cache as well
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2025-01-24 16:45:43 +01:00
Marcel Klehr 6f94ddc1d5 fix(taskprocessing): Fix tests
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2025-01-24 16:45:43 +01:00
Marcel Klehr d956e4a2ca fix(TaskProcessing\Manager): Cache the result of parsing JSON
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2025-01-24 16:45:43 +01:00
Marcel Klehr 0006bb8586 fix(taskprocessing): Cache result of getAvailableTaskTypes between requests
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2025-01-24 16:45:43 +01:00
Ferdinand Thiessen eea91fa1ba fix(TemplateLayout): core is not an app but the server itself
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-01-24 15:10:23 +01:00
Julius Knorr caf074eb3e fix: Properly read updater channel before returning version channel as a fallback
Signed-off-by: Julius Knorr <jus@bitgrid.net>
2025-01-24 14:49:58 +01:00
Ferdinand Thiessen 31664b3edd fix: Correctly return app id and app version for core styles and images
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-01-24 13:08:31 +01:00
Joas Schilling 28899e11d1 Merge pull request #50394 from nextcloud/bugfix/noid/fix-translation-reuse
ci(reuse): Fix translation reuse mapping
2025-01-24 11:44:10 +01:00
Joas Schilling 9276790e6e ci(reuse): Fix translation reuse mapping
Signed-off-by: Joas Schilling <coding@schilljs.com>
2025-01-24 11:15:27 +01:00
Joas Schilling 5593da4e05 Merge pull request #50376 from nextcloud/automated/noid/master-update-code-signing-crl
[master] fix(security): Update code signing revocation list
2025-01-24 11:01:00 +01:00
Stephan Orbaugh bd3877c7c0 Merge pull request #50389 from nextcloud/revert/share-node-accessible
Revert "fix(Share20\Manager): Ensure node is still accessible when checking share"
2025-01-24 10:46:47 +01:00
provokateurin dcb370ab62 Revert "fix(Share20\Manager): Ensure node is still accessible when checking share"
This reverts commit c2ca99e2f6.

Signed-off-by: provokateurin <kate@provokateurin.de>
2025-01-24 09:41:14 +01:00
Marcel Klehr d7ce5d4f94 Merge pull request #46780 from nextcloud/fix/taskprocessing-better-errors
fix(TaskProcessing): Catch JSON encode errors in Manager#setTaskResult
2025-01-24 09:14:51 +01:00
nextcloud-command 79db914ebe fix(security): Update code signing revocation list
Signed-off-by: GitHub <noreply@github.com>
2025-01-24 02:27:34 +00:00
Nextcloud bot 4c6ecc6f15 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-01-24 00:21:11 +00:00
F. E Noel Nfebe 8e499d75a6 Merge pull request #50366 from nextcloud/fix/50363/correct-system-tags-i18n
fix(systemtags): Use literal strings for i18n in showSuccess
2025-01-23 23:53:36 +01:00
F. E Noel Nfebe 53e6eee50f Merge pull request #50282 from nextcloud/refactor/48925/sharing-sidebar-redesign
refactor: Sharing sidebar UI redesign
2025-01-23 23:53:18 +01:00
nextcloud-command 7ec7a4fe31 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2025-01-23 23:36:30 +01:00
nfebe 5ee354f155 feat: Only show show inherited shares section if present
Signed-off-by: nfebe <fenn25.fn@gmail.com>
2025-01-23 23:36:29 +01:00
nfebe 14573fc96c feat: Improve create link texts
Use `Create public link` for first link share creation

Signed-off-by: nfebe <fenn25.fn@gmail.com>
2025-01-23 23:36:29 +01:00
nfebe 33eaf9ca4d feat(files_sharing): Modularize SharingInput to adapt with share sections
Signed-off-by: nfebe <fenn25.fn@gmail.com>
2025-01-23 23:36:29 +01:00
nfebe ae854e0dd2 refactor(files_sharing): Split internal & external shares
Create two seperate sections for internal and external shares.

Signed-off-by: nfebe <fenn25.fn@gmail.com>
2025-01-23 23:36:29 +01:00
Thomas Lehmann fde013b3c7 refactor(files_sharing): move deprecated projects component
Primarily to move it out of the way for changes in the source location.

The feature was deprecated in version 25 (#28320), five versions ago.

Refs: #48925
Signed-off-by: nfebe <fenn25.fn@gmail.com>
2025-01-23 23:36:03 +01:00
nextcloud-command 72cb01dde7 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2025-01-23 23:32:08 +01:00
nfebe 43ae402487 fix(systemtags): Use literal strings for i18n in showSuccess
Signed-off-by: nfebe <fenn25.fn@gmail.com>
2025-01-23 23:32:08 +01:00
Richard Steinmetz e54c07843c Merge pull request #50369 from nextcloud/fix/dav/first-login-listener
fix(dav): default calendar and address book not created on first login
2025-01-23 22:21:34 +01:00
Richard Steinmetz d3126cd1bb fix(dav): default calendar and address book not created on first login
Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
2025-01-23 22:02:52 +01:00
Richard Steinmetz c28464ef0d Merge pull request #50365 from nextcloud/skjnldsv-patch-1
chore: add profile translations reuse license
2025-01-23 21:59:48 +01:00
Arthur Schiwon 60e8503226 Merge pull request #50362 from nextcloud/fix/noid/revert-api-breaking-return-type
fix: remove return type
2025-01-23 20:27:00 +01:00
Anna Larch 1562db80b1 fix: remove typing and return type
Signed-off-by: Anna Larch <anna@nextcloud.com>
2025-01-23 18:34:19 +01:00
John Molakvoæ 11097ff8ed chore: add profile translations reuse license
Signed-off-by: John Molakvoæ <skjnldsv@users.noreply.github.com>
2025-01-23 17:58:17 +01:00
Nextcloud bot 4d61fd2e5a Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-01-23 13:39:30 +00:00
Joas Schilling 709fd2fb7a Merge pull request #50355 from nextcloud/bugfix/noid/fix-translations-of-profile-and-webhook-listener
fix(translations): Fix profile and webhook_listeners
2025-01-23 14:08:48 +01:00
Joas Schilling 6e396653d9 fix(translations): Fix profile and webhook_listeners
Signed-off-by: Joas Schilling <coding@schilljs.com>
2025-01-23 14:06:52 +01:00
John Molakvoæ baaa8e0b21 Merge pull request #50318 from nextcloud/chore/cypress-typos 2025-01-23 13:53:55 +01:00
Marcel Klehr 4fc0369984 fix(TaskProcessing): Catch JSON encode errors in Manager#setTaskResult
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2025-01-23 11:41:06 +01:00
dependabot[bot] 53d922588d chore(deps-dev): bump @babel/node from 7.25.7 to 7.26.0
Bumps [@babel/node](https://github.com/babel/babel/tree/HEAD/packages/babel-node) from 7.25.7 to 7.26.0.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.26.0/packages/babel-node)

---
updated-dependencies:
- dependency-name: "@babel/node"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-01-23 09:24:44 +00:00
John Molakvoæ 108972a542 Merge pull request #50330 from nextcloud/chore/master-is-now-32 2025-01-23 09:56:41 +01:00
Joas Schilling c8abc73b53 fix: Adjust issue template
Signed-off-by: Joas Schilling <coding@schilljs.com>
2025-01-23 09:11:30 +01:00
Joas Schilling b2759840e9 build: Rebuild core-common.js
Signed-off-by: Joas Schilling <coding@schilljs.com>
2025-01-23 09:02:05 +01:00
Joas Schilling e311ea6546 ci: Setup dependabot for 3rdparty stable31
Signed-off-by: Joas Schilling <coding@schilljs.com>
2025-01-23 09:01:26 +01:00
Joas Schilling 4ad215de99 chore: Bump app versions and requirements
Signed-off-by: Joas Schilling <coding@schilljs.com>
2025-01-23 08:56:06 +01:00
Joas Schilling 131f4120f0 chore: Bump Nextcloud version
Signed-off-by: Joas Schilling <coding@schilljs.com>
2025-01-23 08:45:01 +01:00
Joas Schilling 3302f1461f fix(security): Update .well-known/security.txt expiration date
Signed-off-by: Joas Schilling <coding@schilljs.com>
2025-01-23 08:42:30 +01:00
Joas Schilling fbf8b80efa ci: Add stable31 to CI and skip stable28
Signed-off-by: Joas Schilling <coding@schilljs.com>
2025-01-23 08:38:35 +01:00
Nextcloud bot be557caec0 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-01-23 00:21:47 +00:00
Benjamin Gaussorgues c10b8e229e Merge pull request #49514 from nextcloud/feat/restrict-tag-creation 2025-01-22 20:39:07 +01:00
nextcloud-command 00fbbf9f1c chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2025-01-22 19:20:04 +00:00
nfebe abf840bc18 feat: Update UI to respect tag creation permissions
Added support for the `only_admin_can_create` flag in system tags.
The UI now hides the option to create tags when this flag is enabled, ensuring compliance with admin settings.

Signed-off-by: nfebe <fenn25.fn@gmail.com>
2025-01-22 20:13:28 +01:00
nfebe f7c46b6809 feat(systemtags): toggle for system tag creation in admin settings
Signed-off-by: nfebe <fenn25.fn@gmail.com>
2025-01-22 20:07:25 +01:00
Benjamin Gaussorgues b4e3eff078 feat(systemtags): add setting to block non admin to create system tags
Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
2025-01-22 20:07:24 +01:00
John Molakvoæ 49cfd301f9 Merge pull request #50123 from nextcloud/feat/file-conversion-provider-front 2025-01-22 19:28:08 +01:00
Josh 451a843db7 Merge pull request #50319 from nextcloud/jtr/fix-testSearchGroups
test(group): fix frequent `testSearchGroups` failure
2025-01-22 12:44:06 -05:00
skjnldsv 5dc091aa58 fix(files): jsunit file_conversions
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2025-01-22 18:12:54 +01:00
Ferdinand Thiessen cddcbd1476 Merge pull request #50083 from nextcloud/bugfix/trim-tags
fix: Trim tags on adding or editing
2025-01-22 18:11:42 +01:00
nextcloud-command eb92120768 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2025-01-22 16:31:24 +00:00
skjnldsv 6673c127ec fix(files): better conversion error messages
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2025-01-22 16:29:36 +00:00
skjnldsv 966738b38c fix(reuse): core/openapi-administration license
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2025-01-22 16:29:36 +00:00
skjnldsv 31dd808051 chore: update @nextcloud/dialogs to 6.1.1
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2025-01-22 16:29:36 +00:00
skjnldsv 2c13259093 feat(files): add mime icon endpoint
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2025-01-22 16:29:36 +00:00
skjnldsv 7d8bb60bfe feat(files): add conversion action
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2025-01-22 16:29:36 +00:00
Josh 79ca27f6a6 test: fix periodic Test\Group\DatabaseTest::testSearchGroups failure
Signed-off-by: Josh <josh.t.richards@gmail.com>
2025-01-22 10:53:03 -05:00
Ferdinand Thiessen ed852118ac chore(tests): Make linter happy in cypress tests
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-01-22 16:11:47 +01:00
Ferdinand Thiessen fe4f40d4db Merge pull request #50314 from nextcloud/chore/symfony-http
chore(3rdparty): Bump symfony/http-foundation from 6.4.12 to 6.4.14
2025-01-22 15:57:34 +01:00
Ferdinand Thiessen 36f0cba4b6 chore(3rdparty): Bump symfony/http-foundation from 6.4.12 to 6.4.14
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-01-22 15:27:28 +01:00
dependabot[bot] 240ab784cb Merge pull request #50310 from nextcloud/dependabot/npm_and_yarn/undici-5.28.5 2025-01-22 06:38:20 +00:00
dependabot[bot] d5fb9fd3b4 chore(deps-dev): bump undici from 5.28.4 to 5.28.5
Bumps [undici](https://github.com/nodejs/undici) from 5.28.4 to 5.28.5.
- [Release notes](https://github.com/nodejs/undici/releases)
- [Commits](https://github.com/nodejs/undici/compare/v5.28.4...v5.28.5)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-01-22 06:28:31 +00:00
dependabot[bot] f8e10d5f93 Merge pull request #50309 from nextcloud/dependabot/npm_and_yarn/vite-5.4.14 2025-01-22 06:25:12 +00:00
dependabot[bot] d32a858f06 chore(deps): bump vite from 5.4.6 to 5.4.14
Bumps [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite) from 5.4.6 to 5.4.14.
- [Release notes](https://github.com/vitejs/vite/releases)
- [Changelog](https://github.com/vitejs/vite/blob/v5.4.14/packages/vite/CHANGELOG.md)
- [Commits](https://github.com/vitejs/vite/commits/v5.4.14/packages/vite)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-01-22 06:14:21 +00:00
Nextcloud bot 35b0baa929 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-01-22 00:21:42 +00:00
Pytal 5e355c0f22 Merge pull request #50305 from nextcloud/chore/first-login-hours-minutes
chore: Only show hours and minutes in first login timestamp
2025-01-21 15:13:19 -08:00
nextcloud-command 8dd5d8354a chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2025-01-21 22:07:22 +00:00
Christopher Ng a967968126 chore: Only show hours and minutes in first login timestamp
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2025-01-21 13:58:44 -08:00
Ferdinand Thiessen 9b2856affc Merge pull request #50220 from nextcloud/fix/sidebar-favorites
fix(files): Ensure favorites set in sidebar work
2025-01-21 18:58:51 +01:00
Ferdinand Thiessen 0d34dfd6e0 chore: Compile assets
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-01-21 18:41:46 +01:00
Robin Appelman 4179abdb81 fix: detect deleted items as updated for smb storage
Signed-off-by: Robin Appelman <robin@icewind.nl>
2025-01-21 17:56:46 +01:00
Ferdinand Thiessen 344c8a409c fix(files): Ensure favorites set in sidebar work
When marking a file as favorite from within the sidebar make sure it
really works, this fixes two issues:
1. The source needs to be the plain source not URL encoded, as otherwise
   the source of the node would be encoded twice (and show with encoding
   in the navigation)
2. The store should also listen for the update events as the sidebar has
   no access to the real node to update it, instead the store should -
   as long as we only have the legacy sidebar - update the node when
   added or removed as favorite.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-01-21 17:55:53 +01:00
Ferdinand Thiessen 0a3cf3caf3 Merge pull request #50233 from nextcloud/fix/update-notification
fix(updatenotification): Parse pre-release version of apps
2025-01-21 17:17:43 +01:00
Ferdinand Thiessen 465fe42af1 Merge pull request #49261 from nextcloud/fix/file-list-filters-reset
fix(files): Properly reset all file list filters on view change
2025-01-21 17:02:17 +01:00
Benjamin Gaussorgues a537a764d3 Merge pull request #50285 from nextcloud/release/31.0.0_beta_5 2025-01-21 16:45:55 +01:00
Ferdinand Thiessen e212f337a2 fix(updatenotification): Parse pre-release version of apps
The notitication is correctly created, but the changelog is not show.
We need to make sure the version passed to the manager is in the allowed
format (major.minor.patch).

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-01-21 16:43:20 +01:00
Ferdinand Thiessen 37164c1c69 chore: Compile assets
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-01-21 16:42:55 +01:00
Ferdinand Thiessen b5b28fda16 fix(files): Properly reset all file list filters on view change
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-01-21 16:38:06 +01:00
Ferdinand Thiessen 83a9ed4c44 Merge pull request #50255 from nextcloud/fix/password-validation
fix(sharing): Set correct password context for share password validation
2025-01-21 16:26:05 +01:00
Louis 250549cd03 Merge pull request #49820 from nextcloud/fixHeaderStyleSettings
fix(settings): Make header style inline with other pages
2025-01-21 12:42:50 +01:00
Benjamin Gaussorgues 27ad978833 build(hub): 31.0.0 beta 5
Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
2025-01-21 09:06:41 +01:00
Nextcloud bot 56c45652ba Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-01-21 00:21:03 +00:00
Kostiantyn Miakshyn faa7cb74b1 fix: Trim tags on adding or editing
Signed-off-by: Kostiantyn Miakshyn <molodchick@gmail.com>
2025-01-20 20:12:27 +02:00
Andrey Borysenko 69ee366bd2 Merge pull request #50230 from nextcloud/feat/settings/advanced-deploy-options
feat(settings): advanced deploy options
2025-01-20 17:50:55 +00:00
nextcloud-command 7e5f5f3635 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2025-01-20 17:33:00 +00:00
Andrey Borysenko 73c138b0f3 feat(app_api): Advanced deploy options
Signed-off-by: Andrey Borysenko <andrey18106x@gmail.com>
2025-01-20 19:26:29 +02:00
Ferdinand Thiessen fb8802a783 fix(sharing): Set correct password context for share password validation
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-01-20 18:16:24 +01:00
Joas Schilling 5ba9ece039 Merge pull request #48800 from GreyXor/master
fix: add eol in dav command and use success const as return code
2025-01-20 17:21:38 +01:00
max-nextcloud c1b3f6a617 Merge pull request #50265 from nextcloud/fix/settings-for-encryption-without-modules
fix(encryption): handle empty encryptionModules fine
2025-01-20 15:32:49 +01:00
Louis Chemineau a635710117 fix: Metadata field search
Signed-off-by: Louis Chemineau <louis@chmn.me>
2025-01-20 14:41:55 +01:00
Git'Fellow 8fe9e8c6ab Merge pull request #50271 from nextcloud/removeWarningRegression
fix(TemplateManager): Remove warning message
2025-01-20 14:39:19 +01:00
Ferdinand Thiessen 27ac8e0f78 Merge pull request #50214 from nextcloud/feat/show-time-diff-user
feat(contacts): Show time difference for users in different timezones
2025-01-20 14:39:00 +01:00
nextcloud-command 06bb4ff498 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2025-01-20 13:21:47 +00:00
Max bfe84534f2 fix(encryption): handle empty encryptionModules fine
`[].find(...)` will return `undefined`.
`undefined[0]` throws an exception.
Handle this case more gracefully.

Signed-off-by: Max <max@nextcloud.com>
2025-01-20 13:17:09 +00:00
Git'Fellow dcde6d8d74 fix(TemplateManager): Remove warning message
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
2025-01-20 13:05:28 +01:00
Ferdinand Thiessen 101c7575ae Merge pull request #49717 from nextcloud/rakekniven-patch-1
chore(i18n): Improved grammar
2025-01-20 12:41:52 +01:00
rakekniven dd8f7f0475 chore(i18n): Improved grammar
Reported at Transifex

Signed-off-by: rakekniven <2069590+rakekniven@users.noreply.github.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2025-01-20 11:31:13 +00:00
Ferdinand Thiessen 4560981a46 Merge pull request #49259 from nextcloud/fix/file-type-filter-state
fix(files): File type filter UI sync with filter state
2025-01-20 09:23:10 +01:00
Nextcloud bot 63cd1c120f Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-01-20 00:21:01 +00:00
dependabot[bot] 452b443291 Merge pull request #49951 from nextcloud/dependabot/npm_and_yarn/pinia/testing-0.1.7 2025-01-19 16:03:10 +00:00
dependabot[bot] 45b441748e chore(deps-dev): bump @pinia/testing from 0.1.6 to 0.1.7
Bumps [@pinia/testing](https://github.com/vuejs/pinia) from 0.1.6 to 0.1.7.
- [Release notes](https://github.com/vuejs/pinia/releases)
- [Commits](https://github.com/vuejs/pinia/compare/@pinia/testing@0.1.6...@pinia/testing@0.1.7)

---
updated-dependencies:
- dependency-name: "@pinia/testing"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-01-19 16:53:16 +01:00
dependabot[bot] 96c9d85ddf Merge pull request #49952 from nextcloud/dependabot/npm_and_yarn/mime-4.0.6 2025-01-19 15:50:36 +00:00
nextcloud-command e69c516cfd chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2025-01-19 15:39:55 +00:00
dependabot[bot] a1a2a5f2da chore(deps-dev): bump mime from 4.0.4 to 4.0.6
Bumps [mime](https://github.com/broofa/mime) from 4.0.4 to 4.0.6.
- [Release notes](https://github.com/broofa/mime/releases)
- [Changelog](https://github.com/broofa/mime/blob/main/CHANGELOG.md)
- [Commits](https://github.com/broofa/mime/compare/v4.0.4...v4.0.6)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-01-19 16:35:01 +01:00
dependabot[bot] 7bc7fd3c03 Merge pull request #50261 from nextcloud/dependabot/npm_and_yarn/libphonenumber-js-1.11.18 2025-01-19 10:59:26 +00:00
dependabot[bot] eaeeaf9a3a build(deps): bump libphonenumber-js from 1.11.9 to 1.11.18
Bumps [libphonenumber-js](https://gitlab.com/catamphetamine/libphonenumber-js) from 1.11.9 to 1.11.18.
- [Changelog](https://gitlab.com/catamphetamine/libphonenumber-js/blob/master/CHANGELOG.md)
- [Commits](https://gitlab.com/catamphetamine/libphonenumber-js/compare/v1.11.9...v1.11.18)

---
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>
2025-01-19 10:27:04 +00:00
Nextcloud bot 386139c18a Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-01-19 00:21:12 +00:00
John Molakvoæ 483e9e8b03 Merge pull request #50240 from nextcloud/fix/conversion-extension 2025-01-19 00:26:27 +01:00
Sebastian Krupinski 307f983431 Merge pull request #49443 from nextcloud/feat/issue-994-two-factor-api
feat: Two Factor API
2025-01-18 19:03:16 +00:00
dependabot[bot] 0d3edd28b1 Merge pull request #50257 from nextcloud/dependabot/npm_and_yarn/core-js-3.40.0 2025-01-18 14:05:29 +00:00
dependabot[bot] 65ccab2e36 build(deps): bump core-js from 3.38.1 to 3.40.0
Bumps [core-js](https://github.com/zloirock/core-js/tree/HEAD/packages/core-js) from 3.38.1 to 3.40.0.
- [Release notes](https://github.com/zloirock/core-js/releases)
- [Changelog](https://github.com/zloirock/core-js/blob/master/CHANGELOG.md)
- [Commits](https://github.com/zloirock/core-js/commits/v3.40.0/packages/core-js)

---
updated-dependencies:
- dependency-name: core-js
  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>
2025-01-18 13:29:36 +00:00
Maksim Sukharev e0c1ea2330 Merge pull request #50241 from nextcloud/perf/noid/unified-search-init 2025-01-18 11:20:25 +01:00
nextcloud-command 1b7be897b5 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2025-01-18 08:57:17 +00:00
Maksim Sukharev c464aeb228 fix(UnifiedSearch): request data only when opening modal
Signed-off-by: Maksim Sukharev <antreesy.web@gmail.com>
2025-01-18 09:52:50 +01:00
dependabot[bot] fe43dfadd3 Merge pull request #50245 from nextcloud/dependabot/npm_and_yarn/eslint-plugin-cypress-3.6.0 2025-01-18 02:31:55 +00:00
dependabot[bot] 8b781cab49 build(deps-dev): bump eslint-plugin-cypress from 3.5.0 to 3.6.0
Bumps [eslint-plugin-cypress](https://github.com/cypress-io/eslint-plugin-cypress) from 3.5.0 to 3.6.0.
- [Release notes](https://github.com/cypress-io/eslint-plugin-cypress/releases)
- [Commits](https://github.com/cypress-io/eslint-plugin-cypress/compare/v3.5.0...v3.6.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-01-18 02:08:40 +00:00
Nextcloud bot e3c63a0c7f Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-01-18 00:21:09 +00:00
John Molakvoæ e5dceaf287 fix: php lint extra tab fix
Co-authored-by: Ferdinand Thiessen <opensource@fthiessen.de>
Signed-off-by: John Molakvoæ <skjnldsv@users.noreply.github.com>
2025-01-17 21:37:39 +01:00
skjnldsv abd3cb60fc fix(files): more conversion tests and translate error messages
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2025-01-17 18:22:58 +01:00
Julius Knorr 6afe12593e Merge pull request #50227 from nextcloud/fix/convert-log
fix: Log exceptions that happen during file conversion
2025-01-17 15:10:43 +01:00
Julius Knorr fc9af34799 fix: Log exceptions that happen during file conversion
Signed-off-by: Julius Knorr <jus@bitgrid.net>
2025-01-17 12:06:36 +01:00
Ferdinand Thiessen e1f10cbbeb chore: Compile assets
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-01-17 09:01:25 +01:00
Ferdinand Thiessen 4a9954f5ef fix(files): File type filter UI sync with filter state
When changing the folder the filter will be re-mounted by the file list,
so we need to pass the current state of the filter to the filter UI.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-01-17 08:59:17 +01:00
Nextcloud bot 326120a7f7 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-01-17 00:21:27 +00:00
Kate d1b54886b2 Merge pull request #50219 from nextcloud/fix/file-conversion-missing-extension 2025-01-16 23:48:05 +01:00
Ferdinand Thiessen bca2685074 Merge pull request #49348 from nextcloud/fix/eslint-warnings
chore: Resolve ESLint warnings
2025-01-16 23:13:09 +01:00
Ferdinand Thiessen 1bed442cec chore: Compile assets
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-01-16 22:20:31 +01:00
Ferdinand Thiessen 24851d930d chore: Resolve ESLint warnings
- Add default value to non-required Vue props
- Reformat function to async function if needed
- Add some documentation
- Allow `any` in places where it makes sense (tests)
- Order vue component sections as required

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-01-16 22:18:29 +01:00
GreyXor 94e1e8f964 fix: use self failure for consistency
Signed-off-by: GreyXor <greyxor@protonmail.com>
2025-01-16 21:49:30 +01:00
GreyXor 91464caa39 fix: add eol in dav command and use success const as return code
Signed-off-by: GreyXor <greyxor@protonmail.com>
2025-01-16 21:49:30 +01:00
Arthur Schiwon 2de855f0bc Merge pull request #50162 from nextcloud/fix/improve-ldap-avatar-handling
Improve ldap avatar handling
2025-01-16 21:43:29 +01:00
Ferdinand Thiessen 388118a4f3 Merge pull request #50187 from nextcloud/fix/account-mgmnt-settings
fix(settings): Correctly parse and display default quota
2025-01-16 21:29:53 +01:00
Elizabeth Danzberger 14976390ff chore: remove unnecessary method
Signed-off-by: Elizabeth Danzberger <lizzy7128@tutanota.de>
2025-01-16 15:25:15 -05:00
Elizabeth Danzberger f9adb006b0 fix: prevent missing target file extension
Signed-off-by: Elizabeth Danzberger <lizzy7128@tutanota.de>
2025-01-16 15:23:38 -05:00
Ferdinand Thiessen 26fd7a0d74 chore: Compile assets
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-01-16 20:33:58 +01:00
Ferdinand Thiessen c3c0137484 fix(settings): Correctly parse and display default quota
In the account management settings (default settings) the quota was
parsed not consistently with how we do it everywhere else.
Meaning `1 KB` should be 1024 bytes not 1000 bytes.

Also this fixes an issue where searching "1KB" does not yield any output
because of the space in the parsed value "1 KB".

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-01-16 20:32:43 +01:00
John Molakvoæ bdc73c67bb Merge pull request #50216 from nextcloud/release/31.0.0_beta_4 2025-01-16 19:31:47 +01:00
John Molakvoæ 35db02c4f9 Merge pull request #50208 from nextcloud/feat/conversion-adjusting
fix(files): conversion api simplification and conflict check
2025-01-16 19:31:14 +01:00
skjnldsv 19ce362896 chore: add file conversion integration tests
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2025-01-16 18:55:44 +01:00
Anna d9a7124592 Merge pull request #49898 from nextcloud/fix/noid/no-emails-for-user-shares
fix(sharing): send share emails for internal users too
2025-01-16 18:50:30 +01:00
Ferdinand Thiessen a0b7dc974f Merge pull request #50206 from nextcloud/fix/50177/movy-copy-e2e-tests
test(e2e): copy-move actions with insufficient share permissions
2025-01-16 18:43:45 +01:00
skjnldsv 7cbcbdc051 fix(files): conversion api simplification and conflict check
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2025-01-16 18:35:40 +01:00
skjnldsv f26886f648 build(hub): 31.0.0 beta 4
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2025-01-16 18:22:25 +01:00
Ferdinand Thiessen 84f0fc88cc feat(contacts): Show time difference for users in different timezones
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-01-16 18:10:04 +01:00
Daniel f9354dab23 Merge pull request #49761 from nextcloud/transfer-share-skip-notfound
fix: skip transfering shares that we can't find
2025-01-16 17:58:06 +01:00
Côme Chilliet 626bc7220b Merge pull request #50171 from nextcloud/enh/limit-ldap-user-count
Limit ldap user count
2025-01-16 17:25:01 +01:00
Robin Appelman 8b46ec2abb Merge pull request #49476 from nextcloud/ocs-user-info-quota-optimize
perf: use more optimized way to get user storage info in ocs user info
2025-01-16 17:03:57 +01:00
SebastianKrupinski 332fa63850 feat: Two Factor API
Signed-off-by: SebastianKrupinski <krupinskis05@gmail.com>
2025-01-16 08:31:58 -05:00
Arthur Schiwon 8998e77c9d Merge pull request #50196 from nextcloud/fix/template-return-type
docs: Use proper return type for custom template listing
2025-01-16 12:31:38 +01:00
Ferdinand Thiessen f40dd53eca Merge pull request #50179 from nextcloud/test/widget-perf
test(dashboard): Add regression test for loading unneeded data
2025-01-16 11:56:31 +01:00
Ferdinand Thiessen 2556da5957 test(dashboard): Add regression test for loading unneeded data
Prevent a regression of https://github.com/nextcloud/server/issues/48403

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-01-16 11:36:37 +01:00
Maksim Sukharev 868517f6d2 test(e2e): hide move dialog action if destination has no CREATE permission
Signed-off-by: Maksim Sukharev <antreesy.web@gmail.com>
2025-01-16 10:50:48 +01:00
Richard Steinmetz b2d1df7f87 Merge pull request #50161 from nextcloud/fix/files/sort-after-view-change
fix(files): sort not working after changing views
2025-01-16 09:07:00 +01:00
Richard Steinmetz 835994a811 fix(files): sort not working after changing views
Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
2025-01-16 08:57:19 +01:00
Pytal 76ed55ace1 Merge pull request #49317 from nextcloud/feat/edit-share-token
feat: Make it possible to customize share link tokens
2025-01-15 16:25:35 -08:00
Nextcloud bot 3fbc85426a Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-01-16 00:21:30 +00:00
nextcloud-command a3cfc4f28e chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2025-01-15 23:57:40 +00:00
Christopher Ng 42d997bcd7 test: Update tests
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2025-01-15 15:50:43 -08:00
Christopher Ng 3c62d68534 chore: Update autoloaders
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2025-01-15 15:50:43 -08:00
Christopher Ng c28791ff93 chore(openapi): Update capabilities spec
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2025-01-15 15:50:43 -08:00
Christopher Ng 1a43fc5718 feat(sharing): Toggle custom tokens setting as admin
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2025-01-15 15:50:43 -08:00
Christopher Ng 0eb39d7b9c feat(sharing): Respect admin custom tokens setting
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2025-01-15 15:50:43 -08:00
Christopher Ng 4d78de497f feat(sharing): Add custom_tokens capability
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2025-01-15 15:50:43 -08:00
Christopher Ng 8b26383d00 feat(sharing): Add shareapi_allow_custom_tokens config
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2025-01-15 15:50:43 -08:00
Christopher Ng cdc65b6985 feat(sharing): Make it possible to customize share link tokens
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2025-01-15 15:50:43 -08:00
Christopher Ng fa110e2373 chore(openapi): Update spec
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2025-01-15 15:49:19 -08:00
Christopher Ng beffb26266 feat(sharing): Fetch a unique generated token
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2025-01-15 15:49:19 -08:00
Christopher Ng f92875cf6a feat(sharing): Allow updating share token
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2025-01-15 15:49:19 -08:00
Elizabeth Danzberger 6ccd90b2a3 Merge pull request #49922 from nextcloud/feat/file-conversion-provider
feat: file conversion provider
2025-01-15 18:02:38 -05:00
Elizabeth Danzberger 52a433ad33 chore: update openapi spec
Signed-off-by: Elizabeth Danzberger <lizzy7128@tutanota.de>
2025-01-15 16:49:14 -05:00
Elizabeth Danzberger fdfeb7f265 feat(api): File conversion API
Signed-off-by: Elizabeth Danzberger <lizzy7128@tutanota.de>
2025-01-15 16:38:18 -05:00
Ferdinand Thiessen 6da58974a1 Merge pull request #50192 from nextcloud/fix/files_sharing/sharing-entry-link-override-expiration-date
fix(files_sharing): Stop overwriting the share expiration date with the default expiration date
2025-01-15 18:00:32 +01:00
John Molakvoæ 0cad0728bc Merge pull request #50200 from nextcloud/fix/index-systemtags
fix(systemtags): objecttype index registration
2025-01-15 17:32:28 +01:00
skjnldsv 57ffca36a7 fix(systemtags): objecttype index registration
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2025-01-15 17:03:03 +01:00
nextcloud-command ddd70c9cd2 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2025-01-15 16:10:50 +01:00
Ferdinand Thiessen cec29e5547 test: Add end-to-end test for share expiration date
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-01-15 16:10:46 +01:00
Ferdinand Thiessen 214a084d92 fix(files_sharing): Remove debounce from expiration date formatting
This should be done as soon as changed, as the value is not passed to
API but needs to be tracked internally (e.g. if you quickly press
"save").

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-01-15 15:48:22 +01:00
provokateurin 260e82a8c4 fix(files_sharing): Stop overwriting the share expiration date with the default expiration date
Signed-off-by: provokateurin <kate@provokateurin.de>
2025-01-15 15:48:22 +01:00
Kate 47eedf9228 Merge pull request #50195 from nextcloud/fix/49638/update-prefs-indexes 2025-01-15 15:12:06 +01:00
Maksim Sukharev a16abfb7f6 Merge pull request #50177 from nextcloud/fix/45982/hide-move-action 2025-01-15 13:56:09 +01:00
nextcloud-command 530b6f8e88 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2025-01-15 12:14:28 +00:00
Maksim Sukharev b06a8767f0 fix(files): hide move dialog action if destination has no CREATE permission
Signed-off-by: Maksim Sukharev <antreesy.web@gmail.com>
2025-01-15 13:07:12 +01:00
Julius Knorr 12028430bd docs: Use proper return type for custom template listing
Signed-off-by: Julius Knorr <jus@bitgrid.net>
2025-01-15 12:18:29 +01:00
Louis 7689588589 Merge pull request #50109 from nextcloud/artonge/fix/remove_duplicate_propfind_call
fix: Remove duplicate propfind call
2025-01-15 11:48:49 +01:00
Maxence Lange 5f81fdaabc fix(missing-index): update preferences table
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2025-01-15 09:25:18 -01:00
Louis Chemineau 5faaecadc5 chore: Compile assets
Signed-off-by: Louis Chemineau <louis@chmn.me>
2025-01-15 11:20:01 +01:00
Louis Chemineau b1bc793940 fix: Remove duplicate propfind call
This also was an XHR call which is not going through the end to end encryption proxy

Signed-off-by: Louis Chemineau <louis@chmn.me>
2025-01-15 11:20:01 +01:00
Stephan Orbaugh 0f2dcfd0f1 Merge pull request #49534 from nextcloud/feature/23308/create-new-favorite-dashboard-widget
feature: added new FavouriteWidget to display favorite files in dashboard widget
2025-01-15 10:39:30 +01:00
John Molakvoæ eef566305d Merge pull request #50172 from nextcloud/fix/template-name-overflow 2025-01-15 09:50:18 +01:00
nextcloud-command 8111068b9e chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2025-01-15 08:36:40 +00:00
Julius Knorr a804ff066b fix: Show full template name
Signed-off-by: Julius Knorr <jus@bitgrid.net>
2025-01-15 08:34:45 +00:00
John Molakvoæ 69b4a6cc19 fix(command-compile): persist-credentials for compile bot to allow rebase and force push
Signed-off-by: John Molakvoæ <skjnldsv@users.noreply.github.com>
2025-01-15 09:32:26 +01:00
John Molakvoæ f171512282 Merge pull request #50188 from nextcloud/skjnldsv-patch-1
fix(command-compile): cache restore action
2025-01-15 09:17:55 +01:00
John Molakvoæ 0ffdb18f9d fix(command-compile): cache restore action
Signed-off-by: John Molakvoæ <skjnldsv@users.noreply.github.com>
2025-01-15 09:15:56 +01:00
Nextcloud bot 30b6ad5e6f Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-01-15 00:21:32 +00:00
Ferdinand Thiessen 6da691d87d chore: Compile assets
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-01-14 21:51:39 +01:00
Ferdinand Thiessen bbde768152 fix(dashboard): Correctly handle non-rounded icons for dashboard widgets
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-01-14 21:51:39 +01:00
yemkareems 91f568e01b feat(dashboard): added new FavouriteWidget to display favorite files in dashboard widget
* Added widget star icon
* run build/autoloaderchecker.sh
* removed unwanted IWidget and usersession
* renamed id
* renamed class to FavoriteWidget
* removed limit logic
* removed IAPIWidget
* ui fixes to remove rounded corners and make the ui/ux similar to recommendation widget.
* cs fix + composer fix no dev and review comments from Joas and Côme addressed
* added count and removed slice

Signed-off-by: yemkareems <yemkareems@gmail.com>
Co-authored-by: Ferdinand Thiessen <opensource@fthiessen.de>
Co-authored-by: Kate <26026535+provokateurin@users.noreply.github.com>
2025-01-14 21:51:32 +01:00
Pytal dd36163bb0 Merge pull request #50130 from nextcloud/feat/rich-profile-biography
feat: Allow rich formatting of profile text
2025-01-14 08:42:35 -08:00
Côme Chilliet 892f815d2e fix: Fix a small typing problem is user manager
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2025-01-14 17:21:40 +01:00
Maxence Lange 93a64d67b5 Merge pull request #49848 from nextcloud/feat/noid/lexicon-configurable-default-value
feat(lexicon): configurable default value
2025-01-14 15:12:36 -01:00
John Molakvoæ f44f122456 Merge pull request #50046 from nextcloud/fix/settings/mail-server-settings-form
fix(settings): Fix mail server settings form
2025-01-14 16:42:15 +01:00
Côme Chilliet db94aeb96e chore(tests): Adapt tests to the countUsers refactor
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2025-01-14 16:34:15 +01:00
skjnldsv ce5cbd8d36 chore: compile assets
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2025-01-14 16:25:36 +01:00
provokateurin a9a43f3df4 fix(settings): Fix mail server settings form
Signed-off-by: provokateurin <kate@provokateurin.de>
2025-01-14 16:24:24 +01:00
John Molakvoæ 9cb57a4c68 Merge pull request #50178 from nextcloud/release/31.0.0_beta_3
31.0.0 beta 3
2025-01-14 15:45:22 +01:00
skjnldsv 7993ab9453 build(hub): 31.0.0 beta 3
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2025-01-14 15:27:01 +01:00
Côme Chilliet 17887d7e74 fix: Add missing interface from previous commit and update autoloaders
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2025-01-14 13:16:51 +01:00
Richard Steinmetz 40dd2a93bd Merge pull request #50152 from nextcloud/fix/dashboard/dont-load-hidden-widgets-initially
fix(dashboard): don't initially load items of hidden api widgets
2025-01-14 13:13:50 +01:00
Richard Steinmetz 0bb7be28f0 fix(dashboard): don't initially load items of hidden api widgets
Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
2025-01-14 13:02:44 +01:00
Côme Chilliet c3228ee709 fix: Implement new interface instead of deprecated one in Database backend
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2025-01-14 12:41:56 +01:00
Maxence Lange 28acc002a2 fix(lexicon): syntax
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2025-01-14 10:38:15 -01:00
Côme Chilliet b45bc2a462 fix: Use the new countUsersTotal method where it makes sense
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2025-01-14 12:38:02 +01:00
Maxence Lange bd4a154d64 feat(lexicon): configurable default value
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2025-01-14 10:36:07 -01:00
Côme Chilliet e187e4e87f feat(updatenotification): Add a limit to user count from LDAP so save performances
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2025-01-14 12:26:24 +01:00
Robin Appelman d4b862e513 Merge pull request #50164 from nextcloud/mountpoint-get-numeric-storage-id-cache
fix: use proper way to get numeric storage id for mountpoint
2025-01-14 12:00:04 +01:00
John Molakvoæ 7d143f212e Merge pull request #50169 from nextcloud/skjnldsv-patch-1 2025-01-14 11:21:55 +01:00
John Molakvoæ 9e9a17f77f Merge pull request #50168 from nextcloud/fix/picker-tag-color 2025-01-14 11:00:51 +01:00
nextcloud-command 320bdb0268 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2025-01-14 09:46:08 +00:00
John Molakvoæ 08f051b983 chore: update command-compile.yml from template
Signed-off-by: John Molakvoæ <skjnldsv@users.noreply.github.com>
2025-01-14 10:44:58 +01:00
skjnldsv 70412be255 fix(systemtags): color picker open/close events
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2025-01-14 09:44:23 +00:00
Ferdinand Thiessen d41efd0b51 Merge pull request #50127 from nextcloud/fix/template-vue3-main
fix(template): Use `<div>` instead of `<main>` to support Vue3 apps mounting
2025-01-14 10:27:23 +01:00
Ferdinand Thiessen ccd2e1b98d chore: Compile assets
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-01-14 09:22:27 +01:00
Ferdinand Thiessen dff4412251 fix(apps): Add back <main> element to dashboard and settings
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-01-14 09:18:43 +01:00
Ferdinand Thiessen 182acb1e29 fix(template): Use <div> instead of <main> to support Vue3 apps mounting
Vue3 does not replace the element while mounting but only renders within
(replace inner HTML).
So it would result in two stacked `<main>` elements which is invalid and
an accessibility issue.
Instead we just use a `<div>` element for mounting.

For Vue2 apps this does not change anything as the whole element will be
replaced with a new `<main>` element.
For vanilla apps this will slightly decrease the accessibility as the
main landmark is now missing, but this is not a hard accessibility issue
as it would be for Vue3 apps having two main elements.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2025-01-14 09:18:43 +01:00
Nextcloud bot dffab2221d Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-01-14 07:58:47 +00:00
Robin Appelman 7b2cb2e3bc test: update test for mountpoint numeric storage id
Signed-off-by: Robin Appelman <robin@icewind.nl>
2025-01-13 18:09:29 +01:00
Andy Scherzinger f63ac94b34 Merge pull request #49967 from nextcloud/jtr/occ-maintenance-mode-desc
fix: Make `maintenance:mode` description more accurate + add help
2025-01-13 18:02:32 +01:00
Robin Appelman f20c483513 fix: use proper way to get numeric storage id for mountpoint
Signed-off-by: Robin Appelman <robin@icewind.nl>
2025-01-13 17:59:17 +01:00
Côme Chilliet a741c6cfa1 chore(psalm): Update baseline to remove fixed errors
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2025-01-13 17:34:11 +01:00
Côme Chilliet 12d1d1d389 fix(user_ldap): Remove now unused class FilesystemHelper
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2025-01-13 17:12:19 +01:00
Côme Chilliet e75dd1fc92 fix(user_ldap): Strong type User class and fix most type issues
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2025-01-13 17:12:19 +01:00
Côme Chilliet 40920ddb77 fix(user_ldap): Always update avatar from LDAP when we have the data
Should be at login, in sync job, and when running ldap:check-user --update

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2025-01-13 16:23:26 +01:00
Richard Steinmetz a6bcaf7e7a Merge pull request #50100 from nextcloud/feat/ocp/attendee-availability-api
feat(ocp): add calendar api to retrieve availability of attendees
2025-01-13 16:16:35 +01:00
Kate 87d7bbf1ca Merge pull request #50077 from nextcloud/feat/files_trashbin/allow-preventing-trash-permanently 2025-01-13 16:09:46 +01:00
Kate f1ea2844a8 Merge pull request #50052 from nextcloud/fix/files_sharing/harden-api 2025-01-13 16:09:31 +01:00
Côme Chilliet d2f118f147 chore(user_ldap): Improve typing in user_ldap User class
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2025-01-13 16:01:39 +01:00
Côme Chilliet c0cb8ec7d4 chore(user_ldap): Rename avatar setting method to a more suited name
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2025-01-13 15:54:48 +01:00
provokateurin 1e28657093 fix(PathHelper): Remove null bytes when normalizing path
Signed-off-by: provokateurin <kate@provokateurin.de>
2025-01-13 15:21:21 +01:00
provokateurin 90c608bdc7 fix(files_sharing): Fix sharee search result types
Signed-off-by: provokateurin <kate@provokateurin.de>
2025-01-13 15:21:21 +01:00
provokateurin 9f59204148 fix(files_sharing): Gracefully handle fetching non-existent share
Signed-off-by: provokateurin <kate@provokateurin.de>
2025-01-13 15:21:20 +01:00
provokateurin 4dfa02c29d fix(files_sharing): Handle null userId
Signed-off-by: provokateurin <kate@provokateurin.de>
2025-01-13 15:19:54 +01:00
nextcloud-command 769b38f0a4 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2025-01-13 15:19:19 +01:00
provokateurin badf6ab935 fix(files_trashbin): Only emit files:node:deleted events if deleting all trash was successful
Signed-off-by: provokateurin <kate@provokateurin.de>
2025-01-13 15:19:19 +01:00
provokateurin 31c21c7797 feat(files_trashbin): Allow preventing trash to be deleted permanently
Signed-off-by: provokateurin <kate@provokateurin.de>
2025-01-13 15:19:19 +01:00
provokateurin 26fa4da8c2 fix(IInitialState): Allow provideLazyInitialState() closure to return array
Signed-off-by: provokateurin <kate@provokateurin.de>
2025-01-13 15:19:19 +01:00
Anna Larch 236e084fbb fix(sharing): send share emails for internal users too
Signed-off-by: Anna Larch <anna@nextcloud.com>
2025-01-13 14:13:02 +01:00
F. E Noel Nfebe 9c717aa701 Merge pull request #50128 from nextcloud/fix/49728/adapt-search-filters-correctly
feat: Adapt providers `disabled` property to match user applied filters
2025-01-13 12:45:43 +01:00
nextcloud-command 98a2d609bb chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2025-01-13 10:29:15 +00:00
nfebe ed59ccea46 feat: Adapt providers disabled property to match user applied filters
Some filters are only available for certain providers, the UI should give the user
a hint to what providers such filters are available in.

Currently, if a filter (date or person) is not support by an a provider, the provider is
blurred out in the places dropdown.

Signed-off-by: nfebe <fenn25.fn@gmail.com>
2025-01-13 11:21:23 +01:00
Richard Steinmetz 3dbdf3266c feat(ocp): add calendar api to retrieve availability of attendees
Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
2025-01-13 10:12:31 +01:00
Nextcloud bot 42c021fda2 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-01-13 00:21:15 +00:00
dependabot[bot] 1549ae0c0f Merge pull request #49768 from nextcloud/dependabot/npm_and_yarn/vitest/coverage-v8-2.1.8 2025-01-12 09:44:04 +00:00
dependabot[bot] 05f52b399d chore(deps-dev): bump @vitest/coverage-v8 from 2.1.5 to 2.1.8
Bumps [@vitest/coverage-v8](https://github.com/vitest-dev/vitest/tree/HEAD/packages/coverage-v8) from 2.1.5 to 2.1.8.
- [Release notes](https://github.com/vitest-dev/vitest/releases)
- [Commits](https://github.com/vitest-dev/vitest/commits/v2.1.8/packages/coverage-v8)

---
updated-dependencies:
- dependency-name: "@vitest/coverage-v8"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-01-12 09:49:46 +01:00
Nextcloud bot f5d7a68e89 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-01-12 00:21:36 +00:00
Richard Steinmetz f0702ad89f Merge pull request #50034 from nextcloud/rename-deleted-default-calendar-in-trashbin
fix(caldav): rename default calendar to keep it in the trashbin instead of purging it
2025-01-11 16:33:44 +01:00
dependabot[bot] 967bb1a749 Merge pull request #50131 from nextcloud/dependabot/npm_and_yarn/nextcloud/password-confirmation-5.3.1 2025-01-11 07:30:15 +00:00
dependabot[bot] 2260ffbbfc build(deps): bump @nextcloud/password-confirmation from 5.3.0 to 5.3.1
Bumps [@nextcloud/password-confirmation](https://github.com/nextcloud-libraries/nextcloud-password-confirmation) from 5.3.0 to 5.3.1.
- [Release notes](https://github.com/nextcloud-libraries/nextcloud-password-confirmation/releases)
- [Changelog](https://github.com/nextcloud-libraries/nextcloud-password-confirmation/blob/main/CHANGELOG.md)
- [Commits](https://github.com/nextcloud-libraries/nextcloud-password-confirmation/compare/v5.3.0...v.5.3.1)

---
updated-dependencies:
- dependency-name: "@nextcloud/password-confirmation"
  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-01-11 07:20:18 +00:00
nextcloud-command 518e313648 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2025-01-11 01:16:52 +00:00
Christopher Ng 12bbf56870 feat: Allow rich formatting of profile text
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2025-01-10 17:00:26 -08:00
Nextcloud bot ab313de89b Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-01-11 00:21:07 +00:00
John Molakvoæ 184e715e84 Merge pull request #50126 from nextcloud/backport/50123/master 2025-01-10 14:26:59 +01:00
nextcloud-command 24490f3462 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2025-01-10 13:16:28 +00:00
skjnldsv f454869332 fix(files): rename actions submenu back entry
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2025-01-10 11:44:31 +00:00
skjnldsv 11aeefaf04 fix(files): close submenu on main actions state change
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2025-01-10 11:44:31 +00:00
Stephan Orbaugh b2c7491616 Merge pull request #50076 from Koc/bugfix/fix-enforce-theme-for-public-links
fix: Apply enforce theme config for anonymous users as well
2025-01-10 11:52:20 +01:00
Richard Steinmetz 43ae9e0c6e Merge pull request #50111 from nextcloud/fix/dashboard/skip-hidden-widgets
fix(dashboard): don't reload hidden widgets
2025-01-10 11:09:16 +01:00
Richard Steinmetz 376b00ce20 Merge pull request #49375 from nextcloud/feat/contacts-menu/js-hook-action
feat(contacts-menu): implement custom javascript hook action
2025-01-10 10:50:16 +01:00
Git'Fellow 3fea444d1c Merge pull request #50113 from nextcloud/setupChecksMoveFromBinary
fix(SetupChecks): Don't test caches using binary data
2025-01-10 09:00:50 +01:00
Nextcloud bot b51513f63b Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-01-10 00:21:20 +00:00
Git'Fellow cd147cd1a3 fix(setupchecks): Binary data can have problems with serialize
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
2025-01-09 23:42:07 +01:00
Louis a850a0bfc9 Merge pull request #50108 from nextcloud/artonge/fix/sidebar_davpath
fix: Do not duplicate `/` in davPath
2025-01-09 18:19:17 +01:00
Josh 1304590d6c Merge pull request #49977 from nextcloud/jtr-perf-checks-connectivity-https-proto
perf(settings): Speed up InternetConnectivity setup check
2025-01-09 12:09:33 -05:00
Louis Chemineau 5d078b3234 fix: Do not duplicate / in davPath
`davRootPath` already contains a leading `/`

Signed-off-by: Louis Chemineau <louis@chmn.me>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2025-01-09 17:43:12 +01:00
John Molakvoæ 2f754529ce Merge pull request #50107 from nextcloud/artonge/fix/displayname_in_sidebar 2025-01-09 17:26:14 +01:00
John Molakvoæ e346cf63eb Merge pull request #49973 from nextcloud/feat/auto-accept-trusted-server 2025-01-09 16:39:03 +01:00
Louis Chemineau ec778a0039 fix: Use displayname as sidebar title
Keep the fallback with this.fileInfo as this.node could be null

Signed-off-by: Louis Chemineau <louis@chmn.me>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2025-01-09 15:38:47 +00:00
Richard Steinmetz 84c20650d2 fix(dashboard): don't reload hidden widgets
Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
2025-01-09 15:39:39 +01:00
skjnldsv 669e6cadd6 chore(federation): cleanup SettingsController and legacy AddServerMiddleware
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2025-01-09 15:39:01 +01:00
Richard Steinmetz f91446023d feat(contacts-menu): implement custom javascript hook action
Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
2025-01-09 14:41:41 +01:00
Arthur Schiwon 33b564dfa9 Merge pull request #50095 from nextcloud/release/31.0.0_beta_2
31.0.0 beta 2
2025-01-09 12:59:57 +01:00
skjnldsv e7f6e167e6 feat(federatedfilesharing): improve admin docs and settings
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2025-01-09 12:56:22 +01:00
skjnldsv b434750cb2 chore(federation): add trusted server auto accept integration tests
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2025-01-09 12:54:51 +01:00
skjnldsv f6f66d74e2 fix(federation): settings layout and error handling
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2025-01-09 12:54:51 +01:00
skjnldsv 5c359e424f feat(federatedfilesharing): auto-accept shares from trusted servers
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2025-01-09 12:54:51 +01:00
skjnldsv 771584f5c1 fix(files_sharing): external share parsing
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2025-01-09 12:54:51 +01:00
skjnldsv f753d2f773 fix(federation): comply to sharing.federation.allowSelfSignedCertificates
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2025-01-09 12:54:51 +01:00
Joas Schilling c515617377 Merge pull request #50070 from nextcloud/docs/http/cors-attribute
docs(HTTP): Add proper docs for CORS attribute
2025-01-09 12:05:28 +01:00
Julien Veyssier d3ec3deab4 Merge pull request #50094 from nextcloud/fix/noid/broken-taskprocessing-api
Fix broken taskprocessing api /tasktypes endpoint
2025-01-09 11:12:22 +01:00
Julien Veyssier 7bf74f9d97 chore: generate openapi specs
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
2025-01-09 10:06:26 +01:00
Julien Veyssier 24332e2a06 fix(taskprocessing): /tasktypes endpoint was broken by #49015
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
2025-01-09 10:06:25 +01:00
Nextcloud bot 4a3fceaf89 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-01-09 00:21:29 +00:00
Richard Steinmetz bd0dd31255 Merge pull request #50074 from nextcloud/chore/deps/nextcloud-vue-8.22.0
chore(deps): bump @nextcloud/vue from ^8.20.0 to ^8.22.0
2025-01-08 21:47:42 +01:00
Richard Steinmetz 157d26f7b4 test(cypress): make select range of files with shift key more reliable
Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
2025-01-08 21:33:09 +01:00
Andy Scherzinger d69f2bcb12 Merge pull request #50082 from nextcloud/jtr/typo-accessibility-config-sample
fix: Correct typo in accessibility toggle in config.sample.php
2025-01-08 19:19:09 +01:00
Andy Scherzinger f9b062d4e7 Merge pull request #50085 from nextcloud/feat/noid/info-xml-spdx-license-ids
Add licenses by SPDX identifier, mark shorthand aliases as deprecated
2025-01-08 19:02:21 +01:00
Arthur Schiwon b95fbe57dc build(hub): 31.0.0 beta 2
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2025-01-08 18:08:02 +01:00
Joas Schilling dd0f7f0bbf Merge pull request #49888 from nextcloud/feat/ocp/meetings-api-requirements
feat(ocp): calendar event builder api
2025-01-08 11:48:53 +01:00
Joas Schilling 42fa3abc3e docs(eventbuilder): Mention how to get the EventBuilder from DI
Signed-off-by: Joas Schilling <coding@schilljs.com>
2025-01-08 11:14:30 +01:00
Joas Schilling fdfeb99b76 fix(license): Move license closer to file
Signed-off-by: Joas Schilling <coding@schilljs.com>
2025-01-08 11:12:37 +01:00
Kate e7122a6864 Merge pull request #49882 from nextcloud/fix/http/template-valid-status-codes 2025-01-08 11:10:57 +01:00
Richard Steinmetz ce1c0eb493 chore(deps): bump @nextcloud/vue from ^8.20.0 to ^8.22.0
Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
2025-01-08 10:43:03 +01:00
Andy Scherzinger 4d3fbc6091 feat: add licenses by SPDX identifier, mark shorthand aliases as deprecated.
matching the app store change at https://github.com/nextcloud/appstore/pull/1560

Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2025-01-08 09:39:19 +01:00
Nextcloud bot c28fceb5d5 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-01-08 00:21:08 +00:00
Kostiantyn Miakshyn 438528b850 fix: Apply enforce theme config for anonymous users as well
Signed-off-by: Kostiantyn Miakshyn <molodchick@gmail.com>
2025-01-08 00:31:30 +01:00
Josh e0fa2ac481 fix: Correct typo in accessibility toggle in config.sample.php
Signed-off-by: Josh <josh.t.richards@gmail.com>
2025-01-07 17:18:30 -05:00
Josh 35cb5d84ca perf(settings): Speed up InternetConnectivity setup check
Specify default protocol (https://) rather than let default handling test both http:// and https://

Signed-off-by: Josh <josh.t.richards@gmail.com>
2025-01-07 16:49:28 -05:00
John Molakvoæ 1ed3f03a1b Merge pull request #50078 from nextcloud/feat/maxschmi-49902
fix(files): updateAll method
2025-01-07 20:21:44 +01:00
skjnldsv 4f414acc9a chore: compile assets
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2025-01-07 20:17:34 +01:00
Max Schmit fbec19c0d7 fix(files): updateAll method
Signed-off-by: Max Schmit <maxschm@hotmail.com>
2025-01-07 20:16:06 +01:00
Arthur Schiwon bd9a88bb05 Merge pull request #50051 from nextcloud/Fix/mp3_regex
fix(preview): Do not try to parse M3U files as MP3
2025-01-07 20:06:22 +01:00
Arthur Schiwon d3767907e5 Merge pull request #50066 from nextcloud/release/31.0.0_beta_1
31.0.0 beta 1
2025-01-07 19:13:53 +01:00
Arthur Schiwon 14fc96c617 Merge pull request #50073 from nextcloud/fix/composer/autoload-dev-deps
fix(composer): Remove dev deps from autoloader
2025-01-07 18:29:10 +01:00
Pytal 51c258214e Merge pull request #49377 from nextcloud/enh/add-first-login-timestamp
feat: Add first login timestamp of each user to oc_preferences and user:info output
2025-01-07 09:17:02 -08:00
John Molakvoæ cd236c7941 Merge pull request #49891 from nextcloud/refactor/settings/mail-settings-parameters 2025-01-07 16:59:02 +01:00
Arthur Schiwon 1b0cb4a56c Merge pull request #49670 from nextcloud/feat/allow-oauth-grant-bypass
feat(oauth): Allow to skip grant step for selected applications
2025-01-07 16:46:30 +01:00
nextcloud-command c45b9ec4f1 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2025-01-07 15:44:30 +00:00
Côme Chilliet c9757586cd Merge pull request #49903 from nextcloud/encryption-version-version
fix: restore updated encrypted version when copying versions
2025-01-07 16:42:04 +01:00
Côme Chilliet de8c450e5f fix(tests): Fix getLastLogin expectation in UsersControllerTest
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2025-01-07 16:30:23 +01:00
Côme Chilliet 0be186744a chore: Update openapi.json files
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2025-01-07 16:30:23 +01:00
Côme Chilliet 9ada0bb12a fix(users): Adapt UI code to new timestamp fields names
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2025-01-07 16:30:23 +01:00
Côme Chilliet a8a2ca42a4 fix: Return timestamps in unix format rather than milliseconds
Co-authored-by: Joas Schilling <213943+nickvergessen@users.noreply.github.com>
Signed-off-by: Côme Chilliet <91878298+come-nc@users.noreply.github.com>
2025-01-07 16:30:23 +01:00
Côme Chilliet 1d0962ab33 feat(occ): Show first_seen in output of user:list --info
Also format unknown and never in a better way.

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2025-01-07 16:30:22 +01:00
Christopher Ng c4b5a78b7e feat: Show first login date in user list
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2025-01-07 16:30:22 +01:00
Côme Chilliet b995912207 feat(users): Use -1 for unknown firstLogin instead of setting it to current date
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2025-01-07 16:30:22 +01:00
Côme Chilliet df8397e2ca fix(tests): Adapt tests to firstLogin new feature
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2025-01-07 16:30:22 +01:00
Côme Chilliet e700713ff6 chore: Update openapi specs
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2025-01-07 16:30:22 +01:00
Côme Chilliet baf7293cfe feat: Add first login timestamp of each user to oc_preferences and user:info output
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2025-01-07 16:29:50 +01:00
provokateurin f2ea281dd5 fix(composer): Remove dev deps from autoloader
Signed-off-by: provokateurin <kate@provokateurin.de>
2025-01-07 16:27:36 +01:00
Richard Steinmetz 4d15acf4b5 Merge pull request #50047 from nextcloud/chore/deps/nextcloud-calendar-availability-vue-2.2.6
chore(deps): bump @nextcloud/calendar-availability-vue from 2.2.4 to 2.2.6
2025-01-07 16:23:54 +01:00
provokateurin 7db694f534 fix(Http): Only allow valid HTTP status code values via template
Signed-off-by: provokateurin <kate@provokateurin.de>
2025-01-07 15:45:30 +01:00
provokateurin 960168fd96 fix(settings): Fix log file download return type
Signed-off-by: provokateurin <kate@provokateurin.de>
2025-01-07 15:44:48 +01:00
Joas Schilling 17e8948360 Merge pull request #49988 from nextcloud/jtr-locale-personal-info
fix(settings): show the correct initial locale in Personal info
2025-01-07 15:42:43 +01:00
provokateurin 11feecf772 docs(HTTP): Add proper docs for CORS attribute
Signed-off-by: provokateurin <kate@provokateurin.de>
2025-01-07 15:41:19 +01:00
Arthur Schiwon bbba8b4fe2 Merge pull request #50068 from nextcloud/chore/noid/hub10
Bump Hub 9 -> Hub 10
2025-01-07 14:44:46 +01:00
Andy Scherzinger 26726a3512 chore: Bump Hub 9 -> Hub 10
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2025-01-07 14:10:50 +01:00
Stephan Orbaugh 4b1bfdabdb Merge pull request #49692 from nextcloud/davTagColor
expose tag color via webdav
2025-01-07 13:34:09 +01:00
skjnldsv f086dcd096 build(hub): 31.0.0 beta 1
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2025-01-07 12:57:21 +01:00
tobiasKaminsky 9c1fe558af feat: expose tag color via webdav
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2025-01-07 12:20:09 +01:00
John Molakvoæ 1c6e7ccae2 Merge pull request #49962 from nextcloud/fix/installation-wording
Clarify installation wording to be clear that it is about account creation
2025-01-07 10:46:42 +01:00
Côme Chilliet 75f8bb51ed fix: Rename config option to skipAuthPickerApplications to match what it does
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2025-01-07 10:34:30 +01:00
Côme Chilliet f52b4c5eb2 fix: Remove skip of grant page, only skip first step
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2025-01-07 10:34:30 +01:00
Côme Chilliet cca0e84480 feat(oauth2): Add a test for skipping auth page
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2025-01-07 10:34:30 +01:00
Côme Chilliet 99e0867f0a chore: Adapt tests to added constructor parameters
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2025-01-07 10:34:30 +01:00
Côme Chilliet e7be008dc1 feat(oauth2): Skip page before login as well for authorized applications
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2025-01-07 10:34:30 +01:00
Côme Chilliet 9b366c65d4 feat(oauth): Allow to skip the grant step for selected applications
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2025-01-07 10:34:30 +01:00
Stephan Orbaugh b64b106c13 Merge pull request #49966 from nextcloud/block-dav-move-parent
fix: block moving files to it's own parent with dav
2025-01-07 10:24:06 +01:00
Jan C. Borchardt 649a9ab4c2 fix(setup): clarify installation wording to be clear that it is about account creation
Signed-off-by: Jan C. Borchardt <925062+jancborchardt@users.noreply.github.com>
2025-01-07 10:18:43 +01:00
Sebastian Krupinski 3ab0d672b1 Merge pull request #49852 from nextcloud/fix/issue-49756-translations
fix: change translation logic to handle plurals better
2025-01-07 08:49:03 +00:00
Joas Schilling 8953f44534 Merge pull request #50035 from nextcloud/fix/http/jsonresponse-data-type
fix(HTTP): Adjust JSONResponse data type
2025-01-07 06:39:14 +01:00
Nextcloud bot c8568c717c Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-01-07 00:20:59 +00:00
Robin Appelman 118ff883b0 perf: use more optimized way to get user storage info in ocs user info when possible
Signed-off-by: Robin Appelman <robin@icewind.nl>
2025-01-06 16:56:14 +01:00
Kate e686b93d73 Merge pull request #49905 from nextcloud/chore/deps/openapi-extractor 2025-01-06 16:35:00 +01:00
Robin Appelman ca2e296618 Merge pull request #49552 from nextcloud/mount-move-checks
fix: improve checks for moving shares/storages into other mounts
2025-01-06 15:10:20 +01:00
Robin Appelman 757076af29 fix: explicitly ignore nested mounts when transfering ownership
Signed-off-by: Robin Appelman <robin@icewind.nl>
2025-01-06 14:45:35 +01:00
provokateurin 3ac8e4324f chore(deps): Update openapi-extractor to v1.3.0
Signed-off-by: provokateurin <kate@provokateurin.de>
2025-01-06 14:30:40 +01:00
provokateurin 085d4c9364 refactor(OpenAPI): Adjust scopes to match previous behavior
Signed-off-by: provokateurin <kate@provokateurin.de>
2025-01-06 14:30:40 +01:00
provokateurin f52aa9ad32 refactor(provisioning_api): Rename AUserData to AUserDataOCSController to allow openapi-extractor to detect it as OCS
Signed-off-by: provokateurin <kate@provokateurin.de>
2025-01-06 14:30:40 +01:00
Pauli Järvinen b165523589 fix(preview): Do not try to parse M3U files as MP3
By default, the MP3 audio files get the mimetype `audio/mpeg` and the M3U and
M3U8 playlist files get the mimetype `audio/mpegurl`. PreviewManager had such
a problem that it registered the MP3 preview provider with a regular
expression which matched also the M3U files. This caused an error message to
be logged on the info (1) level for each M3U file every time a folder with
such files was viewed: "Error while getting cover from mp3 file:
File /path/to/some/playlist.m3u is not mpeg/audio!".

Signed-off-by: Pauli Järvinen <pauli.jarvinen@gmail.com>
2025-01-06 12:51:40 +02:00
Thomas Citharel ef0e2213ea fix(caldav): rename default calendar to keep it in the trashbin instead of purging it
When doing a PROPFIND on default-calendar-url, if the current default calendar (fallbacking on personal uri)
is in the trashbin, it's being purged so that it's recreated.

This leads to loss of data.

We can simply rename the calendar URI and add a unique suffix so that it doesn't conflict with the new calendar
being created.
Shares are fine because they reference the resourceid and not the calendar URI.

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2025-01-06 11:45:05 +01:00
SebastianKrupinski a912556a89 fix: change translation logic to handle plurals better
Signed-off-by: SebastianKrupinski <krupinskis05@gmail.com>
2025-01-06 10:21:19 +01:00
Richard Steinmetz 80bc1c2d6c feat(ocp): calendar event builder api
Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
2025-01-06 10:16:53 +01:00
Richard Steinmetz 60454f9b57 chore(deps): bump @nextcloud/calendar-availability-vue from 2.2.4 to 2.2.6
Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
2025-01-06 09:59:44 +01:00
provokateurin 98275fb806 refactor(settings): Use parameters explicitly when setting mail settings
Signed-off-by: provokateurin <kate@provokateurin.de>
2025-01-06 08:40:52 +01:00
Nextcloud bot 92acfefb3f Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-01-06 00:30:18 +00:00
dependabot[bot] 5fb1a56a09 Merge pull request #49774 from nextcloud/dependabot/npm_and_yarn/pinia-2.3.0 2025-01-05 09:16:46 +00:00
nextcloud-command 428984f674 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2025-01-05 09:05:46 +00:00
dependabot[bot] a678bdc036 chore(deps): bump pinia from 2.2.8 to 2.3.0
Bumps [pinia](https://github.com/vuejs/pinia) from 2.2.8 to 2.3.0.
- [Release notes](https://github.com/vuejs/pinia/releases)
- [Commits](https://github.com/vuejs/pinia/compare/v2.2.8...v2.3.0)

---
updated-dependencies:
- dependency-name: pinia
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-01-05 09:59:49 +01:00
Nextcloud bot 66b588211f Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-01-05 00:21:19 +00:00
Nextcloud bot 599c4c5ba6 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-01-04 00:21:41 +00:00
provokateurin 3624923af2 fix(HTTP): Adjust JSONResponse data type
Signed-off-by: provokateurin <kate@provokateurin.de>
2025-01-04 00:58:54 +01:00
Robin Appelman 72e82417f2 Merge pull request #49914 from nextcloud/occ-upgrade-wording
fix: improve wording of occ:upgrade command when no upgrade is required
2025-01-03 16:27:13 +01:00
nextcloud-command 1cfef86207 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2025-01-03 14:57:48 +00:00
Robin Appelman 314955a64d fix: improve wording of occ:upgrade command when no upgrade is required
Signed-off-by: Robin Appelman <robin@icewind.nl>
2025-01-03 15:51:34 +01:00
Robin Appelman d6418fcd99 fix: translate mount move error messages
Signed-off-by: Robin Appelman <robin@icewind.nl>
2025-01-03 15:36:38 +01:00
Christopher Ng eb902a4975 feat(files): Display meaningful error message on move failure
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2025-01-03 15:36:38 +01:00
Robin Appelman 16d0363937 fix: improve checks for moving shares/storages into other mounts
Signed-off-by: Robin Appelman <robin@icewind.nl>
2025-01-03 15:36:32 +01:00
Robin Appelman 9193cd664e fix: block moving files to it's own parent with dav
Signed-off-by: Robin Appelman <robin@icewind.nl>
2025-01-03 15:30:20 +01:00
Robin Appelman c00724bac8 fix: skip transfering shares that we can't find
Signed-off-by: Robin Appelman <robin@icewind.nl>
2025-01-03 15:21:17 +01:00
Robin Appelman 012a402cec fix: restore updated encrypted version when copying versions
Signed-off-by: Robin Appelman <robin@icewind.nl>
2025-01-03 15:21:01 +01:00
Joas Schilling b16f5a0043 Merge pull request #49885 from nextcloud/fix/settings/ex-apps-search
fix(app-store): add missing exApps list items to search filter
2025-01-03 12:15:36 +01:00
Joas Schilling 0f2b6282c1 Merge pull request #50026 from nextcloud/bugfix/noid/prevent-infitnite-loop
fix(logger): Prevent infinite recursion with log.condition => users or matches
2025-01-03 12:11:17 +01:00
John Molakvoæ 99147b8747 Merge pull request #50025 from nextcloud/fix/flaky-cypress 2025-01-03 11:11:15 +01:00
skjnldsv bc523f6441 chore: enable cypress video recording in debug mode
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2025-01-03 10:41:30 +01:00
skjnldsv 43b3ad13e0 fix(cypress): flaky live photo test grid_view trigger issue
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2025-01-03 10:24:30 +01:00
Joas Schilling 63f3309993 fix(logger): Prevent infinite recursion with log.condition => matches
When we need to check the log condition for a user matches,
there is a risk that something on the way checks the log level
and would result in an infinite loop.
So we simply check if it's a nested call and use the default
warning level in that case.

Signed-off-by: Joas Schilling <coding@schilljs.com>
2025-01-03 10:04:51 +01:00
Joas Schilling 9e18d3402c Merge pull request #50009 from nextcloud/jtr/preview-thumb-robustness
fix(previews): Make thumbnail generation a bit more robust
2025-01-03 08:56:19 +01:00
Joas Schilling 5058ec4de8 Merge pull request #50017 from nextcloud/fix/noid/run-kerberos-tests-on-ubuntu-latest
chore(ci): Run kerberos tests on ubuntu-latest
2025-01-03 08:54:45 +01:00
Nextcloud bot 89e9707d58 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-01-03 00:21:34 +00:00
nextcloud-command 9b88055e27 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2025-01-02 21:29:44 +02:00
Andrey Borysenko ac0cd2f45a fix(app-store): add missing exApps list items to search filter
Signed-off-by: Andrey Borysenko <andrey18106x@gmail.com>
2025-01-02 21:29:44 +02:00
Josh 37a9460b06 chore(Previews): make thumbnail generation more robust
Signed-off-by: Josh <josh.t.richards@gmail.com>
2025-01-02 18:32:44 +01:00
Marcel Müller be1b1f6ae0 chore(ci): Run kerberos tests on ubuntu-latest
Signed-off-by: Marcel Müller <marcel-mueller@gmx.de>
2025-01-02 17:41:19 +01:00
John Molakvoæ d4ce30764a Merge pull request #49974 from nextcloud/backport/49973/master
fix(federatedfilesharing): get share by token fallback
2025-01-02 11:50:30 +01:00
Nextcloud bot 371b18a899 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2025-01-02 00:21:31 +00:00
Josh 3f6cd154ef fix: Make maintenance:mode description more accurate + add help
Signed-off-by: Josh <josh.t.richards@gmail.com>
2025-01-01 11:45:57 +01:00
Joas Schilling c54038cae6 Merge pull request #49997 from nextcloud/automated/noid/master-update-ca-cert-bundle
[master] fix(security): Update CA certificate bundle
2025-01-01 09:35:00 +01:00
nextcloud-command ec26a4449c fix(security): Update CA certificate bundle
Signed-off-by: GitHub <noreply@github.com>
2025-01-01 02:33:07 +00:00
Nextcloud bot c5d1671239 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-12-31 00:21:12 +00:00
Nextcloud bot 222e6d74da Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-12-30 00:21:32 +00:00
Josh 5e27d1415a fix(settings): show the correct initial locale in Personal info
Signed-off-by: Josh <josh.t.richards@gmail.com>
2024-12-29 12:33:29 -05:00
Nextcloud bot d8d708e0a8 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-12-29 00:21:14 +00:00
John Molakvoæ f19850815b Merge pull request #49887 from nextcloud/scan-home-ext-storae
fix: don't skip scanner users filesystem if they have a mountpoint at /<user>/files/
2024-12-28 18:07:55 +01:00
skjnldsv bc0ad5efbf fix(federatedfilesharing): get share by token fallback
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2024-12-28 09:27:30 +01:00
skjnldsv 895a93921f fix(federatedfilesharing): fix notification typo
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2024-12-28 09:27:30 +01:00
Nextcloud bot f9e6b1f814 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-12-28 00:21:31 +00:00
Robin Appelman 7bc8eb3007 chore: update baseline
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-12-27 15:18:09 +01:00
Robin Appelman 54a1ca0da0 fix: don't skip scanner users filesystem if they have a mountpoint at /<user>/files/
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-12-27 15:18:09 +01:00
Nextcloud bot d5b6ce43a9 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-12-27 00:21:31 +00:00
Nextcloud bot 793c4f3813 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-12-26 00:21:41 +00:00
Nextcloud bot 5d5db829e2 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-12-25 00:22:04 +00:00
Nextcloud bot d65ce2328c Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-12-24 00:21:26 +00:00
Git'Fellow 4b3b09f3c4 Merge pull request #49847 from nextcloud/removeNoisyTextEmails
fix(shares): Remove noisy text from email
2024-12-23 15:21:25 +01:00
Nextcloud bot bf86781eb6 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-12-23 00:21:12 +00:00
Joas Schilling 929361f147 Merge pull request #49961 from nextcloud/chore/update-gw-codeowners-2
chore(github): Update groupware code owners
2024-12-22 18:29:57 +01:00
Daniel Kesselberg e436552c61 chore(github): Update groupware code owners
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2024-12-22 17:27:51 +01:00
Nextcloud bot ce290686ba Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-12-22 00:21:43 +00:00
Nextcloud bot 81f9fc02f8 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-12-21 00:21:45 +00:00
Stephan Orbaugh d4715c61f2 Merge pull request #49560 from nextcloud/fix/login-origin
feat(login): add origin check at login
2024-12-20 14:53:11 +01:00
Stephan Orbaugh 2d76d136a9 Merge pull request #48662 from nextcloud/feat/dav-pagination
feat(dav): introduce paginate with custom headers
2024-12-20 14:51:55 +01:00
John Molakvoæ 23c83a7b90 Merge pull request #49208 from nextcloud/fix/forward-user-login-if-no-session
fix: Redirect user to login if session is terminated
2024-12-20 13:57:41 +01:00
John Molakvoæ 5408b7c99e Merge pull request #49929 from nextcloud/fix/no-issue/file-request-disable-when-no-public-upload
fix(files_sharing): Hide file request if public uploads disabled
2024-12-20 13:13:21 +01:00
nextcloud-command 277de1f418 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-12-20 12:13:32 +01:00
nfebe 482d4d5ab0 fix(files_sharing): Hide file request if public uploads disabled
The file request creation would error out on creation if public uploads is disabled
so we should not show the option at all.

Signed-off-by: nfebe <fenn25.fn@gmail.com>
2024-12-20 12:13:32 +01:00
Andy Scherzinger eb5969561b Merge pull request #49925 from nextcloud/feat/add-proofread-tasktype
[TaskProcessing] feat: add proofread task type
2024-12-20 11:37:21 +01:00
janepie e3db41678f docs: fix version number
Co-authored-by: Marcel Klehr <mklehr@gmx.net>
Signed-off-by: janepie <49834966+janepie@users.noreply.github.com>
2024-12-20 10:22:30 +01:00
Jana Peper 056daf2592 feat: add proofread task type
Signed-off-by: Jana Peper <jana.peper@nextcloud.com>
2024-12-20 10:22:30 +01:00
Benjamin Gaussorgues a14a5985cd chore(systemtags): pre-compute user authorizations
Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
2024-12-20 09:16:18 +01:00
Benjamin Gaussorgues 1c29257149 feat(dav): introduce paginate with custom headers
Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
2024-12-20 09:16:18 +01:00
John Molakvoæ c249df613d Merge pull request #49681 from rriemann/patch-1
add sse_c_key from S3 object storage properties config to list of sensitive values
2024-12-20 08:15:25 +01:00
Nextcloud bot c81e17fbe7 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-12-20 00:21:44 +00:00
nextcloud-command 29e8bf4af4 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-12-19 18:09:25 +00:00
Ferdinand Thiessen 1df23140b8 fix: Redirect user to login if session is terminated
If a session timed out or was closed in another tab,
then currently the user gets random error messages.
This intercepts 401 responses (should only happen if logged out, or the
users does something wrong).

If we get a 401, we make sure its because of the session,
by checking if the user can access the files app.
If that is also the case we forward the user to the login page
and set the redirect URL to the last used URL.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-12-19 18:56:46 +01:00
Joas Schilling 219bc9cb96 Merge pull request #49915 from nextcloud/bugfix/noid/create-a-gap-before-files
fix(navigation): Create a gap between dashboard and files
2024-12-19 18:56:32 +01:00
Stephan Orbaugh 1c81a67168 Merge pull request #49895 from nextcloud/fix/fix-copy-to-mountpoint-root
fix: Fix copying to the root of another mountpoint
2024-12-19 15:49:07 +01:00
Nextcloud bot ae0521ec28 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-12-19 00:21:31 +00:00
Joas Schilling a4accbbf20 fix(navigation): Create a gap between dashboard and files
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-12-18 23:17:12 +01:00
Andy Scherzinger a60f71bd93 Merge pull request #49727 from nextcloud/feat/make-tasks-types-toggleable
Feat: make taskprocessing task types toggleable
2024-12-18 20:08:28 +01:00
Arthur Schiwon d2923aa30f Merge pull request #49904 from nextcloud/enh/noid/navigationentryevent
feat(Navigation): emit dedicated event for loading additional entries
2024-12-18 19:41:08 +01:00
Jana Peper 75e64e2942 fix: egt rid of unused variable
Signed-off-by: Jana Peper <jana.peper@nextcloud.com>
2024-12-18 18:32:34 +01:00
Jana Peper ee31b3bbe5 fix: error handling for wrong json values
Signed-off-by: Jana Peper <jana.peper@nextcloud.com>
2024-12-18 18:32:34 +01:00
Jana Peper d87302c651 feat: add error flags for json_decode
Signed-off-by: Jana Peper <jana.peper@nextcloud.com>
2024-12-18 18:32:34 +01:00
Jana Peper 8042a82c64 feat: add occ command for task type toggling
Signed-off-by: Jana Peper <jana.peper@nextcloud.com>
2024-12-18 18:32:34 +01:00
Marcel Klehr 79023b9f3e fix(taskrpocessing): Cache result of getAvailableTaskTypes
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2024-12-18 18:32:34 +01:00
Jana Peper b1d1badcf0 test: add explicitly enabled task type unit test
Signed-off-by: Jana Peper <jana.peper@nextcloud.com>
2024-12-18 18:32:34 +01:00
Jana Peper e5f7d0017b docs: document adding of argument
Signed-off-by: Jana Peper <jana.peper@nextcloud.com>
2024-12-18 18:32:34 +01:00
Jana Peper a7f26cf966 feat: add occ command for task type toggling
Signed-off-by: Jana Peper <jana.peper@nextcloud.com>
2024-12-18 18:32:34 +01:00
Jana Peper 129af480ac test: add disabled task type unit test
Signed-off-by: Jana Peper <jana.peper@nextcloud.com>
2024-12-18 18:32:34 +01:00
Jana Peper 40fc07b543 fix: always regenerate availabe task types
Signed-off-by: Jana Peper <jana.peper@nextcloud.com>
2024-12-18 18:32:34 +01:00
Jana Peper 3857decfcb fix: eslint
Signed-off-by: Jana Peper <jana.peper@nextcloud.com>
2024-12-18 18:32:34 +01:00
Jana Peper 2973fb8027 fix: update build files
Signed-off-by: Jana Peper <jana.peper@nextcloud.com>
2024-12-18 18:32:34 +01:00
Jana Peper 76d058f4c8 fix: show all types when no preferences saved
Signed-off-by: Jana Peper <jana.peper@nextcloud.com>
2024-12-18 18:32:34 +01:00
Jana Peper 8cac92665d feat: filter disabled apps in task types requests
Signed-off-by: Jana Peper <jana.peper@nextcloud.com>
2024-12-18 18:32:34 +01:00
Jana Peper 32b57e7b41 feat: save state in db
Signed-off-by: Jana Peper <jana.peper@nextcloud.com>
2024-12-18 18:32:34 +01:00
Jana Peper c09ca83053 feat: add switch in frontend
Signed-off-by: Jana Peper <jana.peper@nextcloud.com>
2024-12-18 18:32:34 +01:00
Stephan Orbaugh db683da757 Merge pull request #49917 from nextcloud/fix/files/preview-service-worker-registration
fix(files): Only register preview service worker once when the instance is hosted at the root path
2024-12-18 17:19:57 +01:00
nextcloud-command 4298898e80 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-12-18 16:05:54 +00:00
provokateurin d3bd99947d fix(files): Only register preview service worker once when the instance is hosted at the root path
Signed-off-by: provokateurin <kate@provokateurin.de>
2024-12-18 16:51:44 +01:00
Arthur Schiwon 13fefc4612 feat(Navigation): emit dedicated event for loading additional entries
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2024-12-18 12:50:11 +01:00
Stephan Orbaugh 407ac7f739 Merge pull request #49797 from nextcloud/fix/user_status/harden-api
Harden user_status API
2024-12-18 11:46:07 +01:00
provokateurin e8e5bd6161 fix(user_status): Remove non-existent "visible" field from UserStatusPredefined
Signed-off-by: provokateurin <kate@provokateurin.de>
2024-12-18 10:52:42 +01:00
provokateurin 5c360e0367 fix(user_status): Catch non-existing user status when setting custom user status
Signed-off-by: provokateurin <kate@provokateurin.de>
2024-12-18 10:52:41 +01:00
provokateurin 654a7d22ff fix(user_status): Allow null userId in UserStatusController
Signed-off-by: provokateurin <kate@provokateurin.de>
2024-12-18 10:52:41 +01:00
provokateurin 35c4bfd64e fix(user_status): Use constraint for findAll() offset
Signed-off-by: provokateurin <kate@provokateurin.de>
2024-12-18 10:52:41 +01:00
Joas Schilling 5198ef2150 Merge pull request #49577 from ehfd/17801
fix(occ): `occ integrity:check-app` and Admin panel "rescan" deliver inconsistent results
2024-12-18 09:19:06 +01:00
Nextcloud bot 23fe7615b3 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-12-18 00:22:21 +00:00
Côme Chilliet 08c7001a04 fix: Fix copying to the root of another mountpoint
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-12-17 18:24:35 +01:00
Daniel fe90aa3ffe Merge pull request #49833 from nextcloud/chore/noid/coverage
chore: ignore vendor-bin for coverage
2024-12-17 16:20:14 +01:00
John Molakvoæ 7876be3c26 Merge pull request #49432 from nextcloud/feat/files-shortcuts
feat(files): add keyboard shortcuts
2024-12-17 14:00:17 +01:00
skjnldsv 8cd679f625 chore: compile assets
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2024-12-17 10:18:57 +01:00
skjnldsv 76e728eb98 feat(systemtags): add systemtag manage keyboard shortcut
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2024-12-17 10:18:57 +01:00
skjnldsv f94fbc7d09 feat(files): add keyboard shortcuts helper section
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2024-12-17 10:18:57 +01:00
skjnldsv b9ab76414c fix(files): pinia import and usage
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2024-12-17 09:59:57 +01:00
skjnldsv 2b330c6f34 feat(files): add selection keyboard shortcuts
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2024-12-17 09:59:57 +01:00
skjnldsv 74b2562e6b feat(files): add hotkey service and unify action handling
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2024-12-17 09:59:57 +01:00
skjnldsv 376a7bba7b fix(files): virtual scroller item size computation
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2024-12-17 09:59:56 +01:00
skjnldsv e7001022c7 feat(files): add opendetails param and file list up/down keyboard shortcut
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2024-12-17 09:59:56 +01:00
Kate f16d047808 Merge pull request #49880 from nextcloud/fix/view/catch-mkdir-exception-non-existent-parents
fix(View): Catch exceptions when executing mkdir for non-existent parents
2024-12-17 09:30:49 +01:00
Seungmin Kim eb77c633ab fix(occ): Revise output condition
Co-authored-by: Joas Schilling <213943+nickvergessen@users.noreply.github.com>
Signed-off-by: Seungmin Kim <8457324+ehfd@users.noreply.github.com>
2024-12-17 09:36:34 +09:00
Seungmin Kim a5c25635b3 fix(occ): Cosmetic edits
Signed-off-by: Seungmin Kim <8457324+ehfd@users.noreply.github.com>
2024-12-17 09:36:29 +09:00
Seungmin Kim 09154c334c fix(occ): Modify IAppManager
Co-authored-by: Joas Schilling <213943+nickvergessen@users.noreply.github.com>
Signed-off-by: Seungmin Kim <8457324+ehfd@users.noreply.github.com>
2024-12-17 09:36:19 +09:00
Seungmin Kim ab9ac5046b fix(occ): Add condition for isShipped
Signed-off-by: Seungmin Kim <8457324+ehfd@users.noreply.github.com>
2024-12-17 09:36:13 +09:00
Seungmin Kim 5a457b8da5 fix(occ): Fix linting issues
Signed-off-by: Seungmin Kim <8457324+ehfd@users.noreply.github.com>
2024-12-17 09:36:04 +09:00
Seungmin Kim 041eca9b27 fix(occ): Fix occ integrity:check-app and Admin panel "rescan" deliver inconsistent results
Signed-off-by: Seungmin Kim <8457324+ehfd@users.noreply.github.com>
2024-12-17 09:35:54 +09:00
Nextcloud bot 5f00a26c3a Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-12-17 00:21:13 +00:00
Jonas 53c9cdaf32 Merge pull request #49801 from nextcloud/fix/resolve_public_rate_limit
fix(ReferenceApiController): Bump rate limit for public resolve endpoint
2024-12-16 16:50:32 +01:00
Maxence Lange d399d47d9b Merge pull request #49399 from nextcloud/feature/noid/config-lexicon
feat(config): implementation of lexicon
2024-12-16 14:26:01 -01:00
provokateurin 4bc0b58c59 fix(View): Catch exceptions when executing mkdir for non-existent parents
Signed-off-by: provokateurin <kate@provokateurin.de>
2024-12-16 16:00:35 +01:00
Daniel Kesselberg 11a2be4c66 ci: fix --coverage-clover does not exist
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2024-12-16 15:47:17 +01:00
Daniel Kesselberg 5b0e54e858 chore: ignore vendor-bin for coverage
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2024-12-16 15:47:17 +01:00
Git'Fellow 20215fbd09 fix(shares): Remove noisy text from emails
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
2024-12-16 15:16:33 +01:00
Joas Schilling f9ee3505a0 Merge pull request #49731 from nextcloud/bugfix/noid/allow-to-get-permissions-of-a-principal
fix(calendar): Fix getting the permissions of the user
2024-12-16 15:02:51 +01:00
Robin Appelman b9da727b9b Merge pull request #49874 from nextcloud/ci/revert/47342
Revert "fix: don't recalculate folder size in Cache::delete if the en…
2024-12-16 14:57:03 +01:00
Daniel Kesselberg 44e4fc5d41 Revert "fix: don't recalculate folder size in Cache::delete if the entry didn't exist"
This reverts commit 5ca9d884d7.

Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2024-12-16 14:03:33 +01:00
Jonas dd5f560246 fix(ReferenceApiController): Bump rate limit for public resolve endpoint
E.g. text documents might contain hundreds of links whose previews need
to get loaded.

Fixes: nextcloud/collectives#1607

Signed-off-by: Jonas <jonas@freesources.org>
2024-12-16 13:01:55 +01:00
Git'Fellow 7c59119c03 Merge pull request #49867 from nextcloud/useHttpFramework
refactor: Use Http framework where possible
2024-12-16 10:36:17 +01:00
Joas Schilling fddbc54003 test: Adjust tests to proof exclusion of other principal permissions
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-12-16 08:36:25 +01:00
Git'Fellow ace16c1d47 Merge pull request #49451 from nextcloud/ensureTemplateFolder
fix(TemplateManager): Make sure TemplateFolder is a Folder
2024-12-16 07:02:49 +01:00
Nextcloud bot 2db363b306 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-12-16 00:21:21 +00:00
Nextcloud bot 16104dc32b Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-12-15 00:21:16 +00:00
Git'Fellow 36d6b0f1e6 refactor: Use Http framework where possible
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
2024-12-14 11:23:29 +01:00
dependabot[bot] 2651d4964e Merge pull request #49701 from nextcloud/dependabot/npm_and_yarn/simplewebauthn/types-12.0.0 2024-12-14 08:28:11 +00:00
dependabot[bot] e86d6f9c69 Merge pull request #49856 from nextcloud/dependabot/npm_and_yarn/nextcloud/cypress-1.0.0-beta.12 2024-12-14 07:59:11 +00:00
dependabot[bot] 1767989a36 Merge pull request #49857 from nextcloud/dependabot/npm_and_yarn/puppeteer-23.10.4 2024-12-14 07:45:44 +00:00
dependabot[bot] 7f9a448651 Merge pull request #49858 from nextcloud/dependabot/npm_and_yarn/types/dockerode-3.3.32 2024-12-14 07:21:12 +00:00
dependabot[bot] 5711f43631 chore(deps-dev): bump @types/dockerode from 3.3.31 to 3.3.32
Bumps [@types/dockerode](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/dockerode) from 3.3.31 to 3.3.32.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/dockerode)

---
updated-dependencies:
- dependency-name: "@types/dockerode"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-12-14 02:15:04 +00:00
dependabot[bot] a4f974aed7 chore(deps-dev): bump puppeteer from 23.5.0 to 23.10.4
Bumps [puppeteer](https://github.com/puppeteer/puppeteer) from 23.5.0 to 23.10.4.
- [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.5.0...puppeteer-v23.10.4)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-12-14 02:14:46 +00:00
dependabot[bot] 46ec888f4c chore(deps-dev): bump @nextcloud/cypress
Bumps [@nextcloud/cypress](https://github.com/nextcloud/nextcloud-cypress) from 1.0.0-beta.11 to 1.0.0-beta.12.
- [Release notes](https://github.com/nextcloud/nextcloud-cypress/releases)
- [Commits](https://github.com/nextcloud/nextcloud-cypress/compare/v1.0.0-beta.11...v1.0.0-beta.12)

---
updated-dependencies:
- dependency-name: "@nextcloud/cypress"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-12-14 02:14:28 +00:00
Sebastian Krupinski dd89911b31 Merge pull request #49528 from nextcloud/fix/issue-47879-property-serialization
fix: replace null character when serializing
2024-12-13 20:20:42 -05:00
Nextcloud bot 2bbc4f5988 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-12-14 00:21:37 +00:00
Sebastian Krupinski afc4b0aea5 Merge pull request #49839 from nextcloud/fix/issue-3021-return-no-content-instead-of-error
fix: return 204 instead of 404
2024-12-13 12:31:26 -05:00
SebastianKrupinski 0628eb62f3 fix: return 204 instead of 404
Signed-off-by: SebastianKrupinski <krupinskis05@gmail.com>
2024-12-13 11:47:18 -05:00
SebastianKrupinski c1dd8ddf59 fix: replace null character when serializing
Signed-off-by: SebastianKrupinski <krupinskis05@gmail.com>
2024-12-13 11:46:26 -05:00
Maxence Lange 815991741d fix(lexicon): renaming and minor fixes
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2024-12-13 11:08:20 -01:00
Maxence Lange 96586ba709 feat(config): implementation of lexicon
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2024-12-13 11:08:20 -01:00
Benjamin Gaussorgues 10852d38e3 Merge pull request #49843 from nextcloud/fix/files_external_scan 2024-12-13 11:29:38 +01:00
Git'Fellow efa615bb01 fix(TemplateManager): Make sure TemplateFolder is a Folder
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
2024-12-13 11:27:54 +01:00
Benjamin Gaussorgues 12452f7f22 fix(files_external): wrong type for external mount id
Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
2024-12-13 10:27:50 +01:00
Nextcloud bot fef721e641 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-12-13 00:21:04 +00:00
John Molakvoæ 99d1f79b51 Merge pull request #49837 from nextcloud/dependabot/npm_and_yarn/nanoid-3.3.8 2024-12-12 23:24:25 +01:00
Daniel 284827ab56 Merge pull request #49730 from nextcloud/feat/noid/happy-birthday
feat(dashboard): wish happy birthday
2024-12-12 22:04:24 +01:00
nextcloud-command ca82de7a6e chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-12-12 20:43:24 +00:00
dependabot[bot] bf05377c57 chore(deps): bump nanoid from 3.3.7 to 3.3.8
Bumps [nanoid](https://github.com/ai/nanoid) from 3.3.7 to 3.3.8.
- [Release notes](https://github.com/ai/nanoid/releases)
- [Changelog](https://github.com/ai/nanoid/blob/main/CHANGELOG.md)
- [Commits](https://github.com/ai/nanoid/compare/3.3.7...3.3.8)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-12-12 20:38:58 +00:00
John Molakvoæ 08e959d03f Merge pull request #49832 from nextcloud/sharding-select-fixes 2024-12-12 21:33:02 +01:00
Pytal c8741b4462 Merge pull request #49171 from nextcloud/feat/empty-trash
feat(trashbin): Allow emptying trash
2024-12-12 12:18:38 -08:00
Christopher Ng ad29dd3cbb chore(psalm): Update baseline
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2024-12-12 12:07:00 -08:00
Christopher Ng 415f082de0 chore: compile assets
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2024-12-12 11:43:36 -08:00
Christopher Ng aa1944e819 fix(trashbin): Fix infinitely loading empty trash action on close
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2024-12-12 10:47:09 -08:00
skjnldsv 1f419c975e feat(files_trashbin): improve wordings
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2024-12-12 10:08:38 -08:00
skjnldsv e8b0bdc5f4 perf(files_trashbin): use empty trashbin endpoint instead of batch delete requests
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2024-12-12 10:08:38 -08:00
skjnldsv 46573b75a6 feat(files_trashbin): add cypress tests
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2024-12-12 10:08:38 -08:00
skjnldsv 34299e6a5d fix(files): protect filelist actions with try...catch
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2024-12-12 10:08:38 -08:00
skjnldsv 9c08d3b0b8 fix(files_trashbin): update @nextcloud/files and adjust api + l10n fix
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2024-12-12 10:08:38 -08:00
Christopher Ng 943023a3f4 feat(trashbin): Allow emptying trash
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2024-12-12 10:08:38 -08:00
Christopher Ng 0af875d713 feat(files): Right-align list actions
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2024-12-12 10:08:38 -08:00
Robin Appelman c21888e6ae Merge pull request #47342 from nextcloud/cache-delete-notfound-size
fix: don't recalculate folder size in Cache::delete if the entry didn't exist
2024-12-12 17:54:48 +01:00
Côme Chilliet 7cc8a1bb66 Merge pull request #49366 from nextcloud/fix/remove-share-hint-exception-wrapping
fix(files_sharing): Do not wrap password policy exception into a generic one
2024-12-12 17:51:56 +01:00
Robin Appelman 0f55a589ba fix: improve logic for ensuring join columns are selected for partitioned queries
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-12-12 17:39:04 +01:00
Robin Appelman c3930163a2 fix: handle calling select on partitioned queries with an array of columns
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-12-12 17:38:21 +01:00
Côme Chilliet 365ff40929 fix(tests): Adapt ManagerTest to change in Exception class used
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-12-12 15:39:48 +01:00
Côme Chilliet 17007f6b8d fix(shares): Wrap exceptions from password validation to set code to 400
This fixes a regression that bad password returned 403 instead of 400
 because of previous changes.

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-12-12 15:39:48 +01:00
Côme Chilliet 28d7206e5c fix(files_sharing): Do not wrap password policy exception into a generic one
Let the controller access the HintException and show the error to the user.

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-12-12 15:39:48 +01:00
Julius Knorr cba556d641 Merge pull request #48612 from nextcloud/fix/activity-log-for-favorites-in-dav
add activity logging for favorites in dav
2024-12-12 15:18:47 +01:00
Arthur Schiwon 290c347229 Merge pull request #49815 from nextcloud/fix/sharing-password-submit-create
fix(files_sharing): also submit new share on password submit
2024-12-12 13:56:41 +01:00
Git'Fellow 5c6e76b700 fix(settings): Make header style inline with other pages
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
2024-12-12 11:49:12 +01:00
nextcloud-command eca53d63b3 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-12-12 09:33:25 +00:00
skjnldsv 21e6c5c6f5 fix(files_sharing): also submit new share on password submit
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2024-12-12 10:25:32 +01:00
Nextcloud bot ef09d25543 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-12-12 00:21:23 +00:00
F. E Noel Nfebe 000ee5410f Merge pull request #49799 from nextcloud/fix/no-issue/enforced-props-checks
fix(files_sharing): Correct property enforced property names
2024-12-11 21:44:45 +01:00
John Molakvoæ 30ff2ae5cc Merge pull request #49803 from nextcloud/backport/49432/master 2024-12-11 20:08:26 +01:00
nextcloud-command cb4b4d659e chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-12-11 18:16:58 +00:00
skjnldsv 006bee5adf fix(files): throttle favorite with max 5 simultaneous requests
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2024-12-11 18:07:45 +00:00
Kate 1f6c8c1702 Merge pull request #49739 from nextcloud/s3-disable-multipart-remove-debug
chore: cleanup leftover debug statement
2024-12-11 16:47:47 +01:00
nextcloud-command c9f64d38a7 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-12-11 11:09:52 +00:00
nfebe 9e734435ba fix(files_sharing): Correct property enforced property names
Signed-off-by: nfebe <fenn25.fn@gmail.com>
2024-12-11 11:55:30 +01:00
John Molakvoæ 94fa2cf79f Merge pull request #49694 from nextcloud/bugfix/fix-service-worker-scope 2024-12-11 10:26:16 +01:00
John Molakvoæ 91a83b6478 Merge pull request #49685 from nextcloud/fix/fail-safe-files-actions 2024-12-11 09:15:59 +01:00
nextcloud-command cb08c9f7f0 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-12-11 08:04:23 +00:00
skjnldsv 4470dd623c fix(files): failsafe when executing actions methods
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2024-12-11 08:54:27 +01:00
John Molakvoæ 3baa91d842 Merge pull request #40394 from nextcloud/updater-change-mimetype-objectstore 2024-12-11 08:40:58 +01:00
John Molakvoæ ed54713e6a Merge pull request #49695 from nextcloud/copy-update-cache-excluded 2024-12-11 08:40:49 +01:00
Joas Schilling 4fd84e47bf fix(calendar): Fix getting the permissions of the user
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-12-11 08:39:09 +01:00
John Molakvoæ f4762653ab Merge pull request #49746 from nextcloud/printOnlyOnceText 2024-12-11 08:36:16 +01:00
Nextcloud bot a624091a9c Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-12-11 00:21:39 +00:00
Daniel Kesselberg 4df99d5ef4 feat(dashboard): wish happy birthday
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2024-12-10 22:33:38 +01:00
John Molakvoæ db5be3d12a Merge pull request #49747 from nextcloud/fix/files_sharing/disable-editing 2024-12-10 20:07:53 +01:00
Daniel 85f4f4f480 Merge pull request #49503 from nextcloud/fix/issue-48528-disable-itip-and-imip-messages-2
fix(CalDAV): disable both iTip and iMip messages
2024-12-10 19:14:00 +01:00
nextcloud-command 3a64092939 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-12-10 18:47:14 +01:00
provokateurin f2898df23d fix(SharingEntryQuickShareSelect): Disable quick share select if user can not edit share
Signed-off-by: provokateurin <kate@provokateurin.de>
2024-12-10 18:47:14 +01:00
provokateurin 1e44c671c8 fix(SharingEntry): Hide edit button if user can not edit share
Signed-off-by: provokateurin <kate@provokateurin.de>
2024-12-10 18:47:14 +01:00
SebastianKrupinski 04cb122af2 fix: disable both iTip and iMip messages
Signed-off-by: SebastianKrupinski <krupinskis05@gmail.com>
2024-12-10 12:39:49 -05:00
Git'Fellow f86fb0fee2 fix(share): Don't print twice the same information
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
2024-12-10 18:27:31 +01:00
Joas Schilling 28ec9c7e80 Merge pull request #49750 from nextcloud/bugfix/noid/oracle-federation
fix(federation): Allow Oracles empty strings
2024-12-10 15:30:50 +01:00
John Molakvoæ 70346e0214 Merge pull request #49693 from nextcloud/fix/files-rename-esc 2024-12-10 11:53:42 +01:00
rakekniven 4da101e2c0 Merge pull request #49745 from nextcloud/fix/texttotextchatwithtools-translator-notes
fix(TextToTextChatWithTools): Add translator notes
2024-12-10 11:39:21 +01:00
nextcloud-command 1ccce41f46 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-12-10 10:33:32 +00:00
skjnldsv 232651774e fix(files): cancel renaming on enter if no file name changes
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2024-12-10 10:31:59 +00:00
Joas Schilling 280b492919 fix(federation): Allow Oracles empty strings
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-12-10 11:20:45 +01:00
Marcel Klehr dd0d6474db fix(TextToTextChatWithTools): Add translator notes
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2024-12-10 09:31:41 +01:00
Nextcloud bot 5af0d137e7 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-12-10 00:21:06 +00:00
Joas Schilling 168f38338a Merge pull request #49740 from nextcloud/bugfix/noid/compatibility-with-30
fix(federation): Restore compatibility with Nextcloud 30 servers
2024-12-09 21:15:20 +01:00
Sebastian Krupinski 0c4794b56b Merge pull request #49459 from nextcloud/fix/issue-48079-windows-time-zones
fix(CalDav): add support for Microsoft time zones
2024-12-09 13:41:42 -05:00
SebastianKrupinski 58b04fa7c7 fix: add support for Microsoft time zones
Signed-off-by: SebastianKrupinski <krupinskis05@gmail.com>
2024-12-09 13:11:39 -05:00
SebastianKrupinski a92547888c fix: add support for Microsoft time zones
Signed-off-by: SebastianKrupinski <krupinskis05@gmail.com>
2024-12-09 12:39:37 -05:00
Joas Schilling 75c16a722b fix(federation): Fall back to old version flag
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-12-09 16:20:48 +01:00
Robin Appelman 5896f8c37f chore: cleanup leftover debug statement
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-12-09 15:40:01 +01:00
Marcel Klehr 1f87fa63ba Merge pull request #49687 from nextcloud/enh/more-task-types
enh(TaskProcessing): More task types
2024-12-09 14:52:20 +01:00
Joas Schilling f1e2970040 fix(federation): Restore compatibility with Nextcloud 30 servers
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-12-09 14:43:53 +01:00
Marcel Klehr e5ce55551d feat(TaskProcessing): More task types
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2024-12-09 14:10:59 +01:00
F. E Noel Nfebe 6f3ee6b09a Merge pull request #49442 from nextcloud/fix/no-issue/link-sharing-defaults
fix(files_sharing): Stop infinite loop blocking link share requests
2024-12-09 01:53:03 +01:00
nextcloud-command 290f9da3fe chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-12-09 01:41:00 +01:00
nfebe e7dc141fd3 fix(files_sharing): Stop infinite loop blocking link share requests
Fixes infinite loop preventing share link creation requests
from being sent to the backend.

Signed-off-by: nfebe <fenn25.fn@gmail.com>
2024-12-09 01:40:39 +01:00
Nextcloud bot 2060802a0c Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-12-09 00:21:18 +00:00
Nextcloud bot c5af42e0e1 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-12-08 00:36:49 +00:00
dependabot[bot] 750544d9c8 Merge pull request #49700 from nextcloud/dependabot/npm_and_yarn/moment-timezone-0.5.46 2024-12-07 10:00:27 +00:00
nextcloud-command b9661ac44b chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-12-07 09:47:19 +00:00
dependabot[bot] b03bfc2426 Merge pull request #49698 from nextcloud/dependabot/npm_and_yarn/tslib-2.8.1 2024-12-07 05:17:35 +00:00
dependabot[bot] 2389ee383e Merge pull request #49699 from nextcloud/dependabot/npm_and_yarn/babel/preset-typescript-7.26.0 2024-12-07 03:14:51 +00:00
dependabot[bot] 5f3368b1c5 chore(deps-dev): bump @simplewebauthn/types from 10.0.0 to 12.0.0
Bumps [@simplewebauthn/types](https://github.com/MasterKale/SimpleWebAuthn/tree/HEAD/packages/types) from 10.0.0 to 12.0.0.
- [Release notes](https://github.com/MasterKale/SimpleWebAuthn/releases)
- [Changelog](https://github.com/MasterKale/SimpleWebAuthn/blob/master/CHANGELOG.md)
- [Commits](https://github.com/MasterKale/SimpleWebAuthn/commits/v12.0.0/packages/types)

---
updated-dependencies:
- dependency-name: "@simplewebauthn/types"
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-12-07 02:18:43 +00:00
dependabot[bot] 30b3eb5059 chore(deps): bump moment-timezone from 0.5.45 to 0.5.46
Bumps [moment-timezone](https://github.com/moment/moment-timezone) from 0.5.45 to 0.5.46.
- [Release notes](https://github.com/moment/moment-timezone/releases)
- [Changelog](https://github.com/moment/moment-timezone/blob/develop/changelog.md)
- [Commits](https://github.com/moment/moment-timezone/compare/0.5.45...0.5.46)

---
updated-dependencies:
- dependency-name: moment-timezone
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-12-07 02:18:23 +00:00
dependabot[bot] 010a20d094 chore(deps-dev): bump @babel/preset-typescript from 7.24.7 to 7.26.0
Bumps [@babel/preset-typescript](https://github.com/babel/babel/tree/HEAD/packages/babel-preset-typescript) from 7.24.7 to 7.26.0.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.26.0/packages/babel-preset-typescript)

---
updated-dependencies:
- dependency-name: "@babel/preset-typescript"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-12-07 02:18:04 +00:00
dependabot[bot] 7333627d5c chore(deps-dev): bump tslib from 2.7.0 to 2.8.1
Bumps [tslib](https://github.com/Microsoft/tslib) from 2.7.0 to 2.8.1.
- [Release notes](https://github.com/Microsoft/tslib/releases)
- [Commits](https://github.com/Microsoft/tslib/compare/v2.7.0...v2.8.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-12-07 02:17:41 +00:00
Nextcloud bot 9a2360bd64 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-12-07 00:21:25 +00:00
nextcloud-command 3221bb3838 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-12-06 16:50:23 +00:00
Robin Appelman e7b882dd22 fix: only do cache copy in updater if the parent folder should be in cache
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-12-06 17:47:00 +01:00
Kostiantyn Miakshyn 2e1cd23a7d fix: Fix ServiceWorker scope when Nextcloud installed in subfolder
Signed-off-by: Kostiantyn Miakshyn <molodchick@gmail.com>
2024-12-06 17:33:26 +01:00
John Molakvoæ ad045d6ede Merge pull request #49688 from nextcloud/fix/emails 2024-12-06 15:49:29 +01:00
Git'Fellow 0890a99cb4 Merge pull request #49477 from nextcloud/hasTableTaskprocessingTasks
fix(migration): Check if table exists
2024-12-06 14:45:54 +01:00
skjnldsv 8089de5fcf fix(activity): make emails for link share uploads true by default
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2024-12-06 12:34:52 +01:00
Benjamin Gaussorgues 9f0c113135 Merge pull request #49599 from nextcloud/feat/bruteforce-max-attempts 2024-12-06 11:20:58 +01:00
John Molakvoæ 9684c3d2d3 Merge pull request #49295 from nextcloud/feat/tags-colors 2024-12-06 10:43:01 +01:00
skjnldsv 885b692f9a fix(systemtags): handle null dav value
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2024-12-06 10:27:06 +01:00
skjnldsv d114646784 chore: compile assets
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2024-12-06 10:19:42 +01:00
skjnldsv 18d7d3bf98 chore(systemtags): add inline tag color tests
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2024-12-06 10:19:42 +01:00
skjnldsv 0c7e259151 feat(systemtags): allow setting color with occ
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2024-12-06 10:19:42 +01:00
skjnldsv 4af365de73 fix(systemtags): fix elementColor computation
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2024-12-06 10:19:42 +01:00
skjnldsv cb472bebfe feat(systemtags): add colors in bulk tagging action
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2024-12-06 10:19:42 +01:00
skjnldsv adf8a454dd feat(systemtags): add color support backend
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2024-12-06 10:19:42 +01:00
Julius Knorr 3328cea2ea Merge pull request #49352 from nextcloud/s3-disable-multipart
improve handling of large single-part s3 uploads
2024-12-06 09:22:07 +01:00
Nextcloud bot 9bd7304ad6 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-12-06 00:22:20 +00:00
Maxence Lange 66e09eb440 Merge pull request #49646 from nextcloud/fix/noid/trigger-field-insert
fix(signed-request): trigger metadata insert with default value manually
2024-12-05 21:35:42 -01:00
Maxence Lange b61a2668dc Merge branch 'fix/noid/trigger-field-insert' of https://github.com/nextcloud/server into fix/noid/trigger-field-insert
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2024-12-05 19:58:38 -01:00
Maxence Lange abd24f9bef fix(signed-request): use share owner on reshare
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2024-12-05 19:58:13 -01:00
Joas Schilling bf897358ef fix(typo): Fix message of exception
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-12-05 20:38:05 +01:00
Robert Riemann ab8fdad6ca add sse_c_key from S3 object storage properties config to list of sensitive values
Signed-off-by: Robert Riemann <robert@riemann.cc>
2024-12-05 19:25:36 +01:00
Christoph Wurst bca864d76d Merge pull request #49677 from nextcloud/fix/db/systag-by-objectid-index-new-installation
fix(db): Create the systag_by_objectid index for new installations
2024-12-05 19:17:54 +01:00
Robin Appelman 37199779de fix: fix mimetype not being updated when changing file extention on object store
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-12-05 18:05:13 +01:00
Christoph Wurst 73079a6cf3 fix(db): Create the systag_by_objectid index for new installations
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2024-12-05 17:50:54 +01:00
Robin Appelman 41c53648ad Merge pull request #49262 from nextcloud/move-from-encryption-no-opt
fix: don't do same-storage move optimization with encryption wrappers
2024-12-05 17:42:47 +01:00
Maxence Lange ac470184e7 fix(ocm): get details from sharedSecret from provider
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2024-12-05 14:51:04 -01:00
Maxence Lange a6e8d41c25 fix(signed-request): trigger metadata insert with default value manually
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2024-12-05 13:18:34 -01:00
Robin Appelman 6cf66f95ce fix: get object size from stream where possible
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-12-05 15:16:22 +01:00
Arthur Schiwon c9073f7ab7 Merge pull request #49404 from Thatoo/Thatoo-patch-1
fix(user_ldap): retrieve from LDAP first "email shaped" value instead…
2024-12-05 14:23:19 +01:00
Robin Appelman e4d0882b31 fix: improve assembly stream
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-12-05 14:12:36 +01:00
Robin Appelman ca547bb913 fix: don't perform the extra buffering in s3 stream write when the stream size is known
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-12-05 14:07:40 +01:00
Robin Appelman 7da8951c57 fix: use php://temp instead of php://memory for multi-part upload buffer
this should reduce potential memory issues if the limit is set very high

Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-12-05 14:07:37 +01:00
Louis Chemineau d977265b66 chore: Bump @nextcloud/cypress to v1.0.0-beta.12
Signed-off-by: Louis Chemineau <louis@chmn.me>
2024-12-05 09:51:53 +01:00
Benjamin Gaussorgues 22051a73c1 feat(login): add origin check at login
Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
2024-12-05 09:51:53 +01:00
F. E Noel Nfebe 7bc21d8a34 Merge pull request #49644 from nextcloud/artonge/fix/sharetype
fix(files_sharing): List of share type during recipient lookup
2024-12-05 09:31:39 +01:00
Nextcloud bot e4fe1f68fa Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-12-05 00:43:37 +00:00
John Molakvoæ 6669c495d4 Merge pull request #48793 from nextcloud/dav-open-log-path 2024-12-04 20:18:17 +01:00
Robin Appelman c2f474ff49 Merge pull request #48769 from nextcloud/copy-share-unmasked
Fix incorrect permissions when copying shared files
2024-12-04 20:11:41 +01:00
John Molakvoæ b4c43bb811 Merge pull request #49551 from nextcloud/dont-propagate-future-time 2024-12-04 20:11:23 +01:00
Robin Appelman e59ebafc87 test: add test for permissions of copied share
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-12-04 19:19:08 +01:00
Robin Appelman 6419de7acc fix: use scan_permissions when copying cache items
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-12-04 19:19:08 +01:00
Robin Appelman 88c685f27c fix: store unmaked source permissions as scan_permissions when loading share cache items
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-12-04 19:19:08 +01:00
Robin Appelman ca241baac0 fix: log which file cannot be opened
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-12-04 18:50:47 +01:00
Robin Appelman 0e10bb59a1 Merge pull request #49288 from nextcloud/smb-acl-fail-soft
fix: smb: don't fail hard if we can't load acls for a file
2024-12-04 18:22:09 +01:00
Louis 1ef3e3e753 Merge pull request #49293 from nextcloud/artonge/fix/handle_folders_copy_live_photos
fix: Handle copy of folders containing live photos
2024-12-04 17:02:56 +01:00
Louis 27331d48e3 Merge pull request #48651 from nextcloud/artonge/fix/copy_cache_during_copy_operations
fix(files): Correctly copy the cache information during copy operations
2024-12-04 16:58:01 +01:00
Louis Chemineau 8be6a7c7dd fix: Throw exception when copy failed
Signed-off-by: Louis Chemineau <louis@chmn.me>
2024-12-04 16:23:39 +01:00
Louis Chemineau 8be7b9ea40 fix: Copying a live photo to a folder with a conflicting mov file
Signed-off-by: Louis Chemineau <louis@chmn.me>
2024-12-04 16:23:39 +01:00
Louis Chemineau 10c6f70778 test: Copying a folder containing live photos
Signed-off-by: Louis Chemineau <louis@chmn.me>
2024-12-04 15:38:35 +01:00
Louis Chemineau e37664bd08 fix: Handle copy of folders containing live photos
We need to recursively look for live photos in the folder,
and then handle them as usual.

Signed-off-by: Louis Chemineau <louis@chmn.me>
2024-12-04 15:38:35 +01:00
Louis Chemineau f6c48a45ae fix: Correctly create NonExistingFolder during copy
Signed-off-by: Louis Chemineau <louis@chmn.me>
2024-12-04 15:38:35 +01:00
Benjamin Gaussorgues c77243d568 Merge pull request #49643 from nextcloud/feat/files_external/enable-ownerless-shares 2024-12-04 14:58:44 +01:00
Benjamin Gaussorgues 811f10eac1 Merge pull request #44555 from nextcloud/fix/handle-errors-in-migrate-key-format 2024-12-04 14:58:01 +01:00
Côme Chilliet 1d80351d4a fix: Show errors in encryption:migrate-key-storage-format and continue to other files
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-12-04 14:24:12 +01:00
Côme Chilliet 6dfa09f36d chore: Improve typing in core/Command/Encryption/MigrateKeyStorage.php
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-12-04 14:24:12 +01:00
Pytal 416c8ead40 Merge pull request #49637 from nextcloud/fix/app-remove-wording
fix: Correct wording when attempting to remove a disabled app
2024-12-04 05:15:55 -08:00
nextcloud-command d21640baad chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-12-04 12:50:02 +00:00
Louis Chemineau d11f3c4c23 fix(files_sharing): List of share type during recipient lookup
ShareType lists both names and ids so Object.entries return too much.

This was also making useless the following condition adding ShareType.Email

Signed-off-by: Louis Chemineau <louis@chmn.me>
2024-12-04 13:37:48 +01:00
Maxence Lange c54784c705 Merge pull request #45979 from nextcloud/enh/noid/signed-request
Signed requests
2024-12-04 09:48:49 -01:00
Maxence Lange 15b72281df fix(signatory): details on interfaces
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2024-12-04 09:30:55 -01:00
Maxence Lange 4df3155523 fix(signed-request): removing unstable from public
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2024-12-04 09:30:55 -01:00
Maxence Lange 948547bd5d fix(ocm): signatory mapper
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2024-12-04 09:30:55 -01:00
Maxence Lange 4b06620055 feat(signatory): switch to qbmapper
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2024-12-04 09:30:55 -01:00
Maxence Lange 862a411118 fix(ocm): simpler code
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2024-12-04 09:30:55 -01:00
Maxence Lange f08d053290 fix(ocm): switching to IdentityProof
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2024-12-04 09:30:55 -01:00
Maxence Lange 4591430c9c feat(ocm): signing ocm requests
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2024-12-04 09:30:55 -01:00
Kate 3705bc1815 Merge pull request #49636 from nextcloud/fix/noid/remove-since-from-unstable
fix(NCU): removing all @since
2024-12-04 11:22:37 +01:00
provokateurin 86eec60ebb feat(files_external): Enable ownerless shares
Signed-off-by: provokateurin <kate@provokateurin.de>
2024-12-04 09:38:05 +01:00
Joas Schilling 3027bb51af Merge pull request #49633 from nextcloud/bugfix/noid/fix-max-request-values
fix(setupcheck): Disable PhpMaxFileSize setupcheck for now
2024-12-04 09:01:36 +01:00
Joas Schilling 1cbfe55271 fix(setupcheck): Disable PhpMaxFileSize setupcheck for now
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-12-04 08:35:20 +01:00
Pytal d97d1bd9d0 Merge pull request #49167 from nextcloud/feat/caption-cant-upload
feat(files): Update caption for screen readers when uploading is not possible
2024-12-03 16:42:17 -08:00
nextcloud-command 2251c65ac8 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-12-04 00:32:28 +00:00
Pytal 03bbe062cc Merge pull request #49265 from nextcloud/feat/dav-trashbin-backend
feat(trashbin): Add backend dav property
2024-12-03 16:27:35 -08:00
Christopher Ng 228d8c9de6 test(files): Update tests
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2024-12-03 16:25:34 -08:00
Christopher Ng f149bd0657 chore: Remove unused icon
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2024-12-03 16:25:34 -08:00
Christopher Ng 5f3bd3e30d feat(files): Update caption for screen readers when uploading is not possible
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2024-12-03 16:25:34 -08:00
Nextcloud bot 967e1a894a Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-12-04 00:21:27 +00:00
Christopher Ng 119e7d1bd7 feat(trashbin): Add backend dav property
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2024-12-03 16:09:13 -08:00
Christopher Ng e0b3ab5165 fix: Correct wording when attempting to remove a disabled app
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2024-12-03 14:38:21 -08:00
Côme Chilliet 0729e264f5 Merge pull request #49291 from nextcloud/encoding-wrapper-metadata
fix: don't set 'name' on null metadata
2024-12-03 21:47:46 +01:00
grnd-alt eb61a3ae44 fix(tests): remove redundant unit test for activity
Signed-off-by: grnd-alt <github@belakkaf.net>
2024-12-03 21:19:09 +01:00
grnd-alt 8d953aeb8d refactor(tags): move favorite event dispatching to tags.php
Signed-off-by: grnd-alt <salimbelakkaf@outlook.de>
2024-12-03 20:56:36 +01:00
grnd-alt 2d02d83597 fix(dav): add activity logging for favorites in dav
Signed-off-by: grnd-alt <salimbelakkaf@outlook.de>
2024-12-03 20:56:36 +01:00
Maxence Lange b791cc987e fix(NCU): removing all @since
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2024-12-03 18:49:46 -01:00
Robin Appelman ae30269eac fix: don't set 'name' on null metadata
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-12-03 19:12:45 +01:00
Louis Chemineau 425e0c3660 test(View): Copy preserves content
Signed-off-by: Louis Chemineau <louis@chmn.me>
2024-12-03 18:29:32 +01:00
Louis Chemineau 199b0bd4d9 fix(files): Correctly copy the cache information on copy operations
Needed to copy the `encrypted` flag of encrypted files when those files are two level down in a moved folder.

Signed-off-by: Louis Chemineau <louis@chmn.me>
2024-12-03 17:04:44 +01:00
F. E Noel Nfebe 5ee4c9effa Merge pull request #49351 from nextcloud/fix/no-issue/no-reshare-perms-4-email-shares
enh: Improvements on sharing details
2024-12-03 15:16:53 +01:00
nextcloud-command 19b0551195 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-12-03 13:49:32 +00:00
nfebe 2034c3e107 fix: Only show share permission if re-sharable
Signed-off-by: nfebe <fenn25.fn@gmail.com>
2024-12-03 14:25:15 +01:00
nfebe d6efc531f6 refactor: Use new ShareType across file_sharing
Signed-off-by: nfebe <fenn25.fn@gmail.com>
2024-12-03 14:25:15 +01:00
Alexander Piskun f1754ee2e1 Merge pull request #49602 from nextcloud/fix/external-storage-service-cast-id
fix(external_storage): Cast id to int
2024-12-03 15:58:34 +03:00
Alexander Piskun 1022c47d27 Merge branch 'master' into fix/external-storage-service-cast-id 2024-12-03 15:36:02 +03:00
John Molakvoæ 6014be44f2 Merge pull request #49232 from falghamdi125/files_reminders-logging-notifications-app-not-enabled
Add an error log message that notifications app isn't enabled at file…
2024-12-03 10:53:01 +01:00
Benjamin Gaussorgues 1fd19685f1 chore(bruteforce): allows to configure max attempts before request abort
Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
2024-12-03 10:48:10 +01:00
Stephan Orbaugh e87ed9b5fb Merge pull request #49569 from nextcloud/shared-watcher-perf
perf: improve performance of SharedStorage::getWatcher
2024-12-03 09:57:56 +01:00
Kate 7aba0300a8 Merge pull request #49570 from nextcloud/debt/check-enums-for-experimental 2024-12-03 09:19:06 +01:00
John Molakvoæ 3ac1a77180 Merge pull request #49527 from nextcloud/skjnldsv-patch-1 2024-12-03 09:15:12 +01:00
John Molakvoæ 71a31fee43 Merge pull request #49574 from nextcloud/dependabot/npm_and_yarn/simplewebauthn/browser-12.0.0
chore(deps): bump @simplewebauthn/browser from 10.0.0 to 12.0.0
2024-12-03 09:02:18 +01:00
John Molakvoæ 4c3ea4c99d Merge pull request #49576 from nextcloud/dependabot/github_actions/github-actions-41850f2492
chore(deps): bump the github-actions group with 6 updates
2024-12-03 09:02:11 +01:00
John Molakvoæ 64944358b5 Merge pull request #49398 from nextcloud/fix/files-rename-store
fix(files): properly update paths and folder children on node move
2024-12-03 08:35:49 +01:00
nextcloud-command a724922f63 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-12-03 07:26:56 +00:00
skjnldsv 95e41be597 fix(files): properly update paths and folder children on node move
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2024-12-03 07:25:18 +00:00
Julius Knorr aba4d94c10 Merge pull request #49568 from nextcloud/template-picker-ux-improvement
feat(templates): make second click as confirmation on templates picker
2024-12-02 21:33:50 +01:00
nextcloud-command 376313a523 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-12-02 20:21:03 +00:00
Luka Trovic a2fcf2f69b feat(templates): make second click as confirmation on templates picker
Signed-off-by: Luka Trovic <luka@nextcloud.com>
2024-12-02 20:19:24 +00:00
Daniel Kesselberg f2d0f79710 chore: mark enums in value type as experimental
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2024-12-02 14:30:19 +01:00
Daniel Kesselberg dd3fa88b36 chore: check enums for since and experimental comments
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2024-12-02 14:30:18 +01:00
Oleksander Piskun c284e49134 fix(external_storage): Cast id to int 2024-12-02 15:43:29 +03:00
Kate 9fcf5a5600 Merge pull request #49558 from nextcloud/chore/remove_legacy_endpoint 2024-12-02 12:47:06 +01:00
Joas Schilling ce7b5ebdcf Merge pull request #49581 from nextcloud/fix/noid/add-absence-capability
chore(absence): Add capability
2024-12-02 10:17:59 +01:00
Joas Schilling 199515f9fe Merge pull request #49588 from nextcloud/bugfix/noid/make-the-cache-check-use-it
fix(setupcheck): Make the Memcache setupcheck use the cache
2024-12-02 10:04:14 +01:00
Joas Schilling 1bcc381e28 fix(setupcheck): Make the Memcache setupcheck use the cache
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-12-02 09:18:07 +01:00
Joas Schilling 6aa81137c8 Merge pull request #49587 from nextcloud/bugfix/noid/success-on-data-fingerprint
fix(maintenance): Show a success message on data-fingerprint command
2024-12-02 09:17:30 +01:00
Joas Schilling d1c3c6f234 fix(maintenance): Show a success message on data-fingerprint command
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-12-02 08:40:25 +01:00
Nextcloud bot c3b336dbf9 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-12-02 00:21:44 +00:00
Marcel Müller 303a21fc9d chore(absence): Add capability for absence replacement support
Signed-off-by: Marcel Müller <marcel-mueller@gmx.de>
2024-12-01 23:15:32 +01:00
Marcel Müller 66d4f0e4c0 chore(absence): Add capability for absence api
Signed-off-by: Marcel Müller <marcel-mueller@gmx.de>
2024-12-01 23:15:32 +01:00
Nextcloud bot e17f011f08 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-12-01 00:22:31 +00:00
dependabot[bot] 0bf1a74573 chore(deps): bump the github-actions group with 6 updates
Bumps the github-actions group with 6 updates:

| Package | From | To |
| --- | --- | --- |
| [actions/checkout](https://github.com/actions/checkout) | `4.2.0` | `4.2.2` |
| [xt0rted/pull-request-comment-branch](https://github.com/xt0rted/pull-request-comment-branch) | `2.0.0` | `3.0.0` |
| [actions/setup-node](https://github.com/actions/setup-node) | `4.0.4` | `4.1.0` |
| [cypress-io/github-action](https://github.com/cypress-io/github-action) | `6.7.6` | `6.7.7` |
| [codecov/codecov-action](https://github.com/codecov/codecov-action) | `4.6.0` | `5.0.7` |
| [fsfe/reuse-action](https://github.com/fsfe/reuse-action) | `4.0.0` | `5.0.0` |


Updates `actions/checkout` from 4.2.0 to 4.2.2
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v4.2.0...11bd71901bbe5b1630ceea73d27597364c9af683)

Updates `xt0rted/pull-request-comment-branch` from 2.0.0 to 3.0.0
- [Release notes](https://github.com/xt0rted/pull-request-comment-branch/releases)
- [Changelog](https://github.com/xt0rted/pull-request-comment-branch/blob/main/CHANGELOG.md)
- [Commits](https://github.com/xt0rted/pull-request-comment-branch/compare/d97294d304604fa98a2600a6e2f916a84b596dc7...e8b8daa837e8ea7331c0003c9c316a64c6d8b0b1)

Updates `actions/setup-node` from 4.0.4 to 4.1.0
- [Release notes](https://github.com/actions/setup-node/releases)
- [Commits](https://github.com/actions/setup-node/compare/v4.0.4...39370e3970a6d050c480ffad4ff0ed4d3fdee5af)

Updates `cypress-io/github-action` from 6.7.6 to 6.7.7
- [Release notes](https://github.com/cypress-io/github-action/releases)
- [Changelog](https://github.com/cypress-io/github-action/blob/master/CHANGELOG.md)
- [Commits](https://github.com/cypress-io/github-action/compare/0da3c06ed8217b912deea9d8ee69630baed1737e...f1f0912d392f0d06bdd01fb9ebe3b3299e5806fb)

Updates `codecov/codecov-action` from 4.6.0 to 5.0.7
- [Release notes](https://github.com/codecov/codecov-action/releases)
- [Commits](https://github.com/codecov/codecov-action/compare/v4.6.0...v5.0.7)

Updates `fsfe/reuse-action` from 4.0.0 to 5.0.0
- [Release notes](https://github.com/fsfe/reuse-action/releases)
- [Commits](https://github.com/fsfe/reuse-action/compare/3ae3c6bdf1257ab19397fab11fd3312144692083...bb774aa972c2a89ff34781233d275075cbddf542)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: github-actions
- dependency-name: xt0rted/pull-request-comment-branch
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: github-actions
- dependency-name: actions/setup-node
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: github-actions
- dependency-name: cypress-io/github-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: github-actions
- dependency-name: codecov/codecov-action
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: github-actions
- dependency-name: fsfe/reuse-action
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: github-actions
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-11-30 23:27:45 +00:00
nextcloud-command 927138e88d chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-11-30 22:38:12 +00:00
dependabot[bot] b24a917d43 Merge pull request #49572 from nextcloud/dependabot/npm_and_yarn/pinia-2.2.8 2024-11-30 08:34:31 +00:00
nextcloud-command 3aac5ea469 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-11-30 07:27:14 +00:00
dependabot[bot] 6029f434ab chore(deps): bump @simplewebauthn/browser from 10.0.0 to 12.0.0
Bumps [@simplewebauthn/browser](https://github.com/MasterKale/SimpleWebAuthn/tree/HEAD/packages/browser) from 10.0.0 to 12.0.0.
- [Release notes](https://github.com/MasterKale/SimpleWebAuthn/releases)
- [Changelog](https://github.com/MasterKale/SimpleWebAuthn/blob/master/CHANGELOG.md)
- [Commits](https://github.com/MasterKale/SimpleWebAuthn/commits/v12.0.0/packages/browser)

---
updated-dependencies:
- dependency-name: "@simplewebauthn/browser"
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-11-30 05:23:27 +00:00
dependabot[bot] 0a97b24228 chore(deps): bump pinia from 2.2.4 to 2.2.8
Bumps [pinia](https://github.com/vuejs/pinia) from 2.2.4 to 2.2.8.
- [Release notes](https://github.com/vuejs/pinia/releases)
- [Commits](https://github.com/vuejs/pinia/compare/pinia@2.2.4...v2.2.8)

---
updated-dependencies:
- dependency-name: pinia
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-11-30 03:19:17 +00:00
Nextcloud bot 0985124f32 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-11-30 00:21:10 +00:00
Joas Schilling a4502b08b5 Merge pull request #49567 from nextcloud/debt/noid/experimental-annotation-for-userconfig
chore: mark userconfig as experimental
2024-11-29 18:41:02 +01:00
Daniel Kesselberg 4fba2aec35 chore: mark userconfig as experimental
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2024-11-29 18:23:07 +01:00
Robin Appelman bc53a8ab87 perf: improve performance of SharedStorage::getWatcher
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-11-29 18:10:30 +01:00
Faisal Alghamdi 3d410aaaad Fix(files_reminders): Add an error log message that notifications app isn't enabled at files_reminders app load.
Signed-off-by: Faisal Alghamdi <falghamdi125@gmail.com>
2024-11-29 10:29:29 -05:00
John Molakvoæ 863c8808e0 Merge pull request #49557 from gonzalo/FIX-WebDav-MacOS-failed-uploads-php-fpm-and-big-files-(-36-error) 2024-11-29 12:05:24 +01:00
Kate bcb8b85fc6 Merge pull request #49224 from nextcloud/build/psalm/unstable-namespace 2024-11-29 12:01:07 +01:00
Benjamin Gaussorgues 5581f0c7bf chore: remove legacy action to test remote endpoint
Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
2024-11-29 11:14:37 +01:00
Gonzalo Cao Cabeza de Vaca c428ba8689 Merge branch 'master' into FIX-WebDav-MacOS-failed-uploads-php-fpm-and-big-files-(-36-error) 2024-11-29 09:42:04 +01:00
Nextcloud bot a4c3e0c4a0 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-11-29 00:21:10 +00:00
Robin Appelman aadfcb3fe6 fix: don't propagate future mtimes
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-11-28 17:24:36 +01:00
Joas Schilling dd101dd0f7 Merge pull request #49515 from nextcloud/bugfix/noid/boolean-false-in-multipart-form-data
fix(controller): Fix false booleans in multipart/form-data
2024-11-28 14:46:16 +01:00
Joas Schilling 2b6da9eaee ci: Remove obsolete baseline entry
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-11-28 13:57:24 +01:00
Joas Schilling 1909b981a4 fix(controller): Fix false booleans in multipart/form-data
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-11-28 12:18:30 +01:00
John Molakvoæ 379f575c25 Merge pull request #49493 from nextcloud/artonge/feat/pwd_confirmation_allow_set_period 2024-11-28 11:58:02 +01:00
Benjamin Gaussorgues 871dc78b33 Merge pull request #49541 from nextcloud/chore/add-rate-limit-remotetest 2024-11-28 11:45:51 +01:00
Benjamin Gaussorgues ae1c3b372e chore: stricter access to testremote endpoint
Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
2024-11-28 11:22:15 +01:00
Louis Chemineau d6fa2100e1 test(ExternalStorage): Send basic auth during integrations tests
Signed-off-by: Louis Chemineau <louis@chmn.me>
2024-11-28 11:12:29 +01:00
Louis Chemineau 512f3caf57 test:(PasswordConfirmationMiddleware): Fix constructor call
Signed-off-by: Louis Chemineau <louis@chmn.me>
2024-11-28 11:05:10 +01:00
Louis Chemineau 006ae57a13 chore: Compile assets
Signed-off-by: Louis Chemineau <louis@chmn.me>
2024-11-28 11:05:10 +01:00
Louis Chemineau f4e9ca6a2e chore: Run npm run lint:fix
Signed-off-by: Louis Chemineau <louis@chmn.me>
2024-11-28 11:01:54 +01:00
Louis Chemineau a2f2f7ce93 feat: Use inline password confirmation in external storage settings
Signed-off-by: Louis Chemineau <louis@chmn.me>
2024-11-28 11:01:54 +01:00
Louis Chemineau ec26cd7b6c chore: Bump @nextcloud/password-confirmation to 5.3.0
Signed-off-by: Louis Chemineau <louis@chmn.me>
2024-11-28 11:01:52 +01:00
Joas Schilling a9c36c1726 Merge pull request #49523 from nextcloud/fix/migration/owncloud-secrets-v2
fix(migration): Decrypt ownCloud secrets v2
2024-11-28 09:17:07 +01:00
Christoph Wurst 1323e5bcb1 fix(migration): Decrypt ownCloud secrets v2
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2024-11-28 09:00:33 +01:00
Nextcloud bot 659cd12a8a Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-11-28 00:24:12 +00:00
John Molakvoæ 63b74dc506 chore(config): set min supported desktop to 2.7.0
Signed-off-by: John Molakvoæ <skjnldsv@users.noreply.github.com>
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2024-11-27 22:55:40 +01:00
Joas Schilling 6230849e46 Merge pull request #49518 from nextcloud/bugfix/noid/activity-logs
fix(activity): Fix activity object type warnings
2024-11-27 13:16:46 +01:00
John Molakvoæ 5e785fb7b0 Merge pull request #49517 from nextcloud/feat/maximum.supported.desktop.version 2024-11-27 12:17:56 +01:00
skjnldsv 8c0f8db6ca feat(config): add maximum.supported.desktop.version
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2024-11-27 11:39:49 +01:00
Joas Schilling d1e17e78b7 fix(activity): Fix activity object type warnings
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-11-27 10:54:15 +01:00
Gonzalo Cao Cabeza de Vaca 0852dac1e9 FIX WebDav MacOS failed uploads php-fpm and big files (-36 error)
Current "SetEnvIf Transfer-Encoding "chunked" proxy-sendcl=1" setting fails with Macos Webdav Darwin client beacuse the header has a capital letter -> "Chunked" So you can fix it making condition case insensitive.
Extended description and tests results on https://github.com/nextcloud/server/issues/48878

Signed-off-by: Gonzalo Cao Cabeza de Vaca <57393+gonzalo@users.noreply.github.com>
2024-11-27 08:38:29 +01:00
Joas Schilling 21666e0bc0 Merge pull request #49513 from nextcloud/automated/noid/master-update-ca-cert-bundle
[master] fix(security): Update CA certificate bundle
2024-11-27 06:46:54 +01:00
nextcloud-command 6822cf9731 fix(security): Update CA certificate bundle
Signed-off-by: GitHub <noreply@github.com>
2024-11-27 02:34:37 +00:00
Nextcloud bot 45cee62c40 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-11-27 00:21:14 +00:00
Robin Appelman 01b2ae4e4e Merge pull request #49494 from nextcloud/s3-bucket-create-exception
fix: throw correct exception type when we can't verify if an s3 bucket exists
2024-11-26 18:41:35 +01:00
Robin Appelman eb05cc2ed1 test: attempt to fix smb sso test
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-11-26 18:10:57 +01:00
Robin Appelman b2c01785ae fix: fix availability wrapper not applying
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-11-26 17:44:58 +01:00
Robin Appelman df3a9e221d fix: throw correct exception type when we can't verify if an s3 bucket exists
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-11-26 16:49:55 +01:00
Marcel Klehr 14f7e566c4 Merge pull request #49489 from nextcloud/fix/taskprocessing-api-get-file-contents
fix(TaskProcessing): Set up fs in getFileContentsInternal
2024-11-26 11:36:58 +01:00
Marcel Klehr 3ac14af26b fix(TaskProcessing): Set up fs in getFileContentsInternal
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2024-11-26 11:07:20 +01:00
Louis 57a2aa11dd Merge pull request #49403 from nextcloud/artonge/chore/update_nc_cypress_beta.11
chore: Update @nextcloud/cypress to v1.0.0-beta.11
2024-11-26 10:17:30 +01:00
Nextcloud bot 446581fb5d Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-11-26 00:21:31 +00:00
Côme Chilliet ae7f9cb3c1 Merge pull request #43025 from nextcloud/bugfix/error-on-reshare-after-transfer-ownership
fix: update re-share if shared-by user has been revoked
2024-11-25 18:20:29 +01:00
Christoph Wurst d948fcb575 Merge pull request #49454 from nextcloud/fix/invitations-named-parameter
fix: invalid usage of IQueryBuilder::createNamedParameter()
2024-11-25 17:58:49 +01:00
Git'Fellow 97c67ecb9c fix(migration): Check if table exists
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
2024-11-25 17:47:14 +01:00
Louis Chemineau ebda7b45f6 chore: Update @nextcloud/cypress to v1.0.0-beta.11
Signed-off-by: Louis Chemineau <louis@chmn.me>
2024-11-25 16:22:09 +01:00
Git'Fellow f1ba90d52d Merge pull request #49355 from nextcloud/moveStrictTyping
refactor(filecache): Move to more strict operators
2024-11-25 16:01:46 +01:00
Kate 235b7d7c26 Merge pull request #49073 from nextcloud/feat/files_sharing/co-owner 2024-11-25 14:41:40 +01:00
nextcloud-command 7c3a78ad76 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-11-25 13:11:37 +00:00
Kate 5088b910ec Merge pull request #49311 from nextcloud/fix/ocmdiscoveryservice/cache-errors 2024-11-25 12:42:38 +01:00
Anna 1abe9de17d Merge pull request #49004 from nextcloud/bug/48678/restore-dav-error-response
Bug/48678/restore dav error response
2024-11-25 12:29:20 +01:00
Louis aa393aa744 Merge pull request #49433 from nextcloud/artonge/feat/maintenance_warn_encrypt_all
feat: Warn about maintenance in EncryptAll command
2024-11-25 12:10:12 +01:00
Louis Chemineau 590b1e8698 feat: Warn about maintenance in EncryptAll command
Signed-off-by: Louis Chemineau <louis@chmn.me>
2024-11-25 11:42:29 +01:00
Marcel Klehr 8502fe48c2 Merge pull request #49464 from nextcloud/fix/external-storage-controller-cast-id
fix(external_storage): Cast id to int
2024-11-25 11:28:54 +01:00
Git'Fellow 373c7e8c53 refactor(filecache): Move to more strict typing
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
2024-11-25 10:29:51 +01:00
provokateurin cc8e69c303 fix(OCMDiscoveryService): Also cache error results during discovery
Signed-off-by: provokateurin <kate@provokateurin.de>
2024-11-25 10:29:19 +01:00
provokateurin c0db74633a fix(SharingEntry): Display owner name if the owner is someone else
Signed-off-by: provokateurin <kate@provokateurin.de>
2024-11-25 10:27:31 +01:00
provokateurin 715e7143f0 fix(files_sharing,files): Do not validate shares before adjusting the owner
Signed-off-by: provokateurin <kate@provokateurin.de>
2024-11-25 10:27:31 +01:00
provokateurin c2ca99e2f6 fix(Share20\Manager): Ensure node is still accessible when checking share
Signed-off-by: provokateurin <kate@provokateurin.de>
2024-11-25 10:27:31 +01:00
provokateurin beea8854ca feat(files_sharing): Allow users with share permission to manage shares on IShareOwnerlessMount
Signed-off-by: provokateurin <kate@provokateurin.de>
2024-11-25 10:27:31 +01:00
provokateurin b658ab7a86 fix(files_sharing): Remove duplicate link/email edit share logic
Signed-off-by: provokateurin <kate@provokateurin.de>
2024-11-25 10:27:31 +01:00
provokateurin c378e74017 feat(Share20\Manager): Return all shares on IShareOwnerlessMount
Signed-off-by: provokateurin <kate@provokateurin.de>
2024-11-25 10:27:31 +01:00
provokateurin a978e0a806 fix(Share20\DefaultShareProvider): Return link shares in getSharesByPath()
Signed-off-by: provokateurin <kate@provokateurin.de>
2024-11-25 10:27:31 +01:00
provokateurin 762b09049b fix(Share20\DefaultShareProvider): Sort getSharesByPath() results
Signed-off-by: provokateurin <kate@provokateurin.de>
2024-11-25 10:27:31 +01:00
provokateurin ea93dc0c7d feat(Files\Mount): Add IShareOwnerlessMount
Signed-off-by: provokateurin <kate@provokateurin.de>
2024-11-25 09:56:02 +01:00
Marcel Klehr 9c7fd29262 fix(external_storage): Cast id to int
follow up to #49218

Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2024-11-25 09:42:53 +01:00
Nextcloud bot 6f036a0a8a Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-11-25 08:22:44 +00:00
Nextcloud bot 10c9fb926e Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-11-25 00:21:22 +00:00
Nextcloud bot 1005efdfd3 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-11-24 00:21:02 +00:00
Richard Steinmetz 739ab5cd82 fix: improve oci compatibility when purging calendar invitations
Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
2024-11-23 16:55:11 +01:00
Richard Steinmetz 23802949c2 fix: invalid usage of IQueryBuilder::createNamedParameter()
And fix a typo: chunck -> chunk

Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
2024-11-23 16:44:20 +01:00
Nextcloud bot 2a8b7400ed Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-11-23 00:21:40 +00:00
Daniel Kesselberg ca3733de23 fix: Re-throwing the TypeError to prevent exposing the installation path
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2024-11-22 16:16:46 +01:00
Daniel Kesselberg 6b383faf41 Revert "fix(dav): Always respond custom error page on exceptions"
This reverts commit 9992e7d439.

Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2024-11-22 11:55:25 +01:00
Daniel Kesselberg 3c3b7f9eda Revert "fix: Drop unnecessary exit"
This reverts commit d2bf3613f6.

Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2024-11-22 11:55:24 +01:00
Daniel Kesselberg cb6840fea5 Revert "fix: Override start method of \Sabre\DAV\Server to remove exception output"
This reverts commit e202896a74.

Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2024-11-22 11:55:24 +01:00
Joas Schilling c9bd0039f1 Merge pull request #49406 from nextcloud/avoidStatusSessions
fix(status): Avoid session creation for status requests
2024-11-22 10:41:31 +01:00
Nextcloud bot 38a854752c Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-11-22 00:20:22 +00:00
Louis e6648f3dd1 Merge pull request #49434 from nextcloud/artonge/fix/getting_cache_entry
fix: Wrap partial cache entry in CacheEntry
2024-11-21 19:53:38 +01:00
Louis Chemineau f9cda54cbf fix: Wrap partial cache entry in CacheEntry
Because it is returned here: https://github.com/nextcloud/server/blob/7b7d07c5750583ab3a7b29112af475f5c8891143/lib/private/Files/Cache/Cache.php#L136-L137

And some implementation got stricter: https://github.com/nextcloud/groupfolders/blob/df95bf6ba807da5171de91108879b6d8aa9f3611/lib/Mount/RootEntryCache.php#L23-L28

Signed-off-by: Louis Chemineau <louis@chmn.me>
2024-11-21 17:13:24 +01:00
Sebastian Krupinski 1681283715 Merge pull request #47832 from nextcloud/fix/issue-12387-delete-invitations
fix: (CalDav) Delete invitation link when deleting Calendars or Events
2024-11-21 09:30:41 -05:00
SebastianKrupinski 4740c18f8e fix: (CalDav) Delete invitation when deleting Calendars or Events
Signed-off-by: SebastianKrupinski <krupinskis05@gmail.com>
2024-11-21 09:08:26 -05:00
Git'Fellow 33d7019f58 fix(status): Avoid session creation for status requests
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
2024-11-21 15:00:24 +01:00
John Molakvoæ c1abc69b3e Merge pull request #49417 from nextcloud/refactSmallAdjust 2024-11-21 12:18:30 +01:00
John Molakvoæ e2040980de Merge pull request #49420 from nextcloud/fix/etag-constraint-search-query 2024-11-21 11:27:46 +01:00
Daniel 1f6d0f0eb6 Merge pull request #49407 from nextcloud/feat/occ-files-cleanup-help
feat(files): Add help to / update description of `files:cleanup`
2024-11-21 11:00:31 +01:00
skjnldsv 4db5f708b6 fix(cache): etag constraint violation
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2024-11-21 10:34:39 +01:00
Git'Fellow 60d956f39f refactor(storage): Code adjustements and simplifications
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
2024-11-21 10:02:00 +01:00
John Molakvoæ 1134b3e560 Merge pull request #49380 from nextcloud/fix/files-page-title 2024-11-21 09:21:05 +01:00
nextcloud-command 1e4a01f5f1 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-11-21 07:50:03 +00:00
Ferdinand Thiessen ae35983449 fix(files): Restore page title (folder - view - product)
* Folder: Current folder if not root
* View: Name of current view
* Product: Nextcloud

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-11-21 07:48:06 +00:00
Julius Knorr 37936bc404 Merge pull request #49408 from nextcloud/refactor/files-cleanup
refactor(files): Use functions for all in `occ files:cleanup`
2024-11-21 08:41:11 +01:00
Christoph Wurst cbb937fa32 Merge pull request #49396 from nextcloud/dav-webcal-default-refresh-rate
feat(dav): increase default calendar subscription refresh rate to one day
2024-11-21 06:12:14 +01:00
Nextcloud bot 5b201827b5 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-11-21 00:21:29 +00:00
Josh b9cc4bab4d refactor(files): Use functions for all in occ files:cleanup
Tidying.

Signed-off-by: Josh <josh.t.richards@gmail.com>
2024-11-20 14:43:20 -05:00
Ferdinand Thiessen 5a8d32fe53 Merge pull request #49305 from nextcloud/refactor/files-filelist-width
refactor(files): Provide `useFileListWidth` composable
2024-11-20 19:55:57 +01:00
Kate bdb3d63212 Merge pull request #49315 from nextcloud/deleteExistingTarget 2024-11-20 19:47:45 +01:00
Ferdinand Thiessen 91ce9c0252 chore: Compile assets
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-11-20 19:10:50 +01:00
Ferdinand Thiessen 675e7a953f refactor(files): Provide useFileListWidth composable
Replace the mixin with a composable, this is better typed and works in
both: Options- and Composition API.
Also added component tests for it.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-11-20 19:08:21 +01:00
Josh aa2b9b5ef2 feat(occ): Add help and update description for files:cleanup
Signed-off-by: Josh <josh.t.richards@gmail.com>
2024-11-20 12:35:21 -05:00
Thatoo 486f0eda71 fix(user_ldap): retrieve from LDAP first "email shaped" value instead of first value
Signed-off-by: Thatoo <Thatoo@users.noreply.github.com>
2024-11-20 16:55:44 +01:00
Joas Schilling 3822db5174 Merge pull request #49285 from nextcloud/3rdparty/justinrainbow/json-schema
fix(3rdparty): bump justinrainbow/json-schema to 5.3.0
2024-11-20 11:26:51 +01:00
grnd-alt 9339daa594 fix(3rdparty): bump justinrainbow/json-schema to 5.3.0
Signed-off-by: grnd-alt <salimbelakkaf@outlook.de>
2024-11-20 10:58:45 +01:00
Thomas Citharel d3068f5db5 feat(dav): increase default calendar subscription refresh rate to one day
With the performance benefits from #43541 it makes sense

Reference https://github.com/nextcloud/server/issues/46171#issuecomment-2487910923

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2024-11-20 10:07:29 +01:00
Git'Fellow 8755bf1815 fix(storage): Try to delete existing target
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>

Add same logic to common storage
2024-11-20 09:42:33 +01:00
Nextcloud bot d334773b98 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-11-20 00:21:33 +00:00
John Molakvoæ 1333f20bb0 Merge pull request #49387 from nextcloud/backport/49384/master 2024-11-19 22:30:57 +01:00
F. E Noel Nfebe af14ff066c Merge pull request #49308 from nextcloud/feat/46528/ask-confirm-extension-change
feat: add confirmation dialog for file extension changes
2024-11-19 21:15:05 +01:00
skjnldsv 52020b5ea6 fix(settings): psalm PhpMaxFileSize setup check warning
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2024-11-19 18:27:35 +00:00
John Molakvoæ 8f6ef39391 Merge pull request #49332 from wolandtel/master 2024-11-19 19:25:25 +01:00
Joas Schilling 72f45b2f94 Merge pull request #49376 from nextcloud/fix/47658/upgrade-version-3100005
fix(userconfig): incrementing version to trigger migration
2024-11-19 19:20:29 +01:00
Joas Schilling 9b11c4202f Merge pull request #49386 from nextcloud/bugfix/47658/dont-fail-precondition-if-unset
fix(userconfig): Don't fail the precondition if the value is not set at all
2024-11-19 19:05:35 +01:00
Mikhail Kotelnikov e9d6c50170 fix(job): Check if carddata is resource and read it to string
Fixes nextcloud/server#46100

Co-authored-by: Christoph Wurst <ChristophWurst@users.noreply.github.com>
Signed-off-by: Mikhail Kotelnikov <fox@woland.me>
2024-11-19 22:28:27 +05:00
Joas Schilling 394febb5d9 fix(userconfig): Don't fail the precondition if the value is not set at all
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-11-19 18:02:22 +01:00
John Molakvoæ 4d85f44c9f Merge pull request #49372 from nextcloud/feat/php-setup-file-upload 2024-11-19 17:21:38 +01:00
nextcloud-command 724a79aba3 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-11-19 15:59:10 +00:00
Maxence Lange 4e5144cf46 fix(userconfig): incrementing version to trigger migration
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2024-11-19 16:57:20 +01:00
nfebe 383d98c41b feat: add confirmation dialog for file extension changes
- Introduced a dialog to confirm if users want to proceed with changing the file extension.
- Added handling for dialog visibility to prevent recursion. (Since it looks like use must press escape to stop rename???)

Signed-off-by: nfebe <fenn25.fn@gmail.com>
2024-11-19 16:49:18 +01:00
skjnldsv 4a88848109 feat(settings): add big file upload setup checks
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2024-11-19 16:43:41 +01:00
Ferdinand Thiessen a2590a4454 Merge pull request #49347 from nextcloud/fix/typo-recommended-apps
fix(recommended-apps): Typo "screen sharing" vs "screensharing"
2024-11-19 16:16:43 +01:00
nextcloud-command f17fc3f519 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-11-19 14:36:20 +00:00
Ferdinand Thiessen 0945169e57 fix(recommended-apps): Typo "screen sharing" vs "screensharing"
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-11-19 15:14:15 +01:00
Louis 73f3b9bad8 Merge pull request #48977 from IONOS-Productivity/tl/dev/disable-mailing
feat: add "null" SMTP transport mode
2024-11-19 15:02:22 +01:00
Anna 935f0d27ac Merge pull request #49357 from nextcloud/bugfix/noid/allow-to-fail-fake-AI-providers
test(fakeAI): Allow to specify whether the fake providers should fail
2024-11-19 12:20:14 +01:00
John Molakvoæ bb2e8e01c3 Merge pull request #49199 from nextcloud/fix/files/delete-display-no-trashbin 2024-11-19 11:45:31 +01:00
Thomas Lehmann 3f6c969d83 feat(Mailer): hide admin settings for "null" transport
When the mail transport is configured as null transport, the
configuration UI would not work.

== Background

The null transport is meant for situations where operators
implement mail delivery via custom mechanisms like REST APIs.

Signed-off-by: Thomas Lehmann <t.lehmann@strato.de>
2024-11-19 11:32:39 +01:00
Thomas Lehmann e4c013d86d feat(Mailer): add "null" SMTP transport mode
== Goal

Allow disabling mail delivery altogether.

== Usecase

If mails ought to be send by other means than rendering messages from
templates and sending them via SMTP-like protocols.

Example: listening to specific Nextcloud events and pass parameters to
a centralized (i.e. REST-based) API that sends e-mails.

Signed-off-by: Thomas Lehmann <t.lehmann@strato.de>
2024-11-19 11:32:39 +01:00
Thomas Lehmann 40211f3d07 chore(Mailer): remove no-op local variable initilization
The IDE hinted the value is immediately overwritten.

Signed-off-by: Thomas Lehmann <t.lehmann@strato.de>
2024-11-19 11:32:39 +01:00
Thomas Lehmann 46d8a7333b feat(Mailer): implement caching
Currently $this->instance is never set, so the code is no-op. This
brings back caching of the instance.

Caching broke with

   be7db1573d

   Swift to \Swift_Mailer as abstraction

Signed-off-by: Thomas Lehmann <t.lehmann@strato.de>
2024-11-19 11:32:39 +01:00
Richard Steinmetz d9eb29c525 fix(files): improve delete display name when trashbin is disabled
Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
2024-11-19 11:21:46 +01:00
John Molakvoæ 6559c2075e Merge pull request #49361 from nextcloud/fix/fix-share-creation-error-messages 2024-11-19 11:17:30 +01:00
John Molakvoæ 47322e8b9e Merge pull request #49346 from nextcloud/fix/drop-v-html 2024-11-19 10:46:16 +01:00
nextcloud-command 2887c166f9 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-11-19 09:37:28 +00:00
Ferdinand Thiessen 52769a47ed fix(core): Do not use v-html for translation output
The content that can be renderered does *not* include HTML (see
`recommended` object).
But `v-html` was used, this is potentially dangerous, even though we
sanitize the translation values, so no urgent harm but better safe than
sorry.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-11-19 09:35:23 +00:00
John Molakvoæ fb75e2de78 Merge pull request #49342 from nextcloud/chore/force-style-lint 2024-11-19 10:14:52 +01:00
skjnldsv dd5a344f5e chore: lint fix
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2024-11-19 09:56:30 +01:00
Ferdinand Thiessen 2cb2abf1a9 chore: Compile assets
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-11-19 09:42:13 +01:00
Ferdinand Thiessen f6e6ba4851 refactor(styles): Adjust code style in SCSS sources to match our stylelint config
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-11-19 09:42:13 +01:00
Ferdinand Thiessen 212cac9469 ci: Enforce SCSS/CSS rules - add stylelint workflow
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-11-19 09:42:13 +01:00
Côme Chilliet f44a192613 fix(files_sharing): Fix error messages from password policy
Exceptions thrown from password_policy may bubble up in share creation
 or update when a password is used. Their message is meant to be shown
 to the user. This always the case for HintException so we catch that
 instead of the subclass GenericShareException.

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-11-19 09:40:26 +01:00
John Molakvoæ 899b65111d Merge pull request #47658 from nextcloud/enh/noid/user-preferences 2024-11-19 09:31:17 +01:00
Nextcloud bot ecc16c242d Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-11-19 00:21:11 +00:00
Maxence Lange 5b4f1904c0 feat(user-prefs): renaming to IUserConfig
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2024-11-18 20:11:31 -01:00
Maxence Lange 6afc8552b7 feat(user-prefs): switching to NCU/
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2024-11-18 20:11:31 -01:00
Maxence Lange 7c04818c5c feat(user-prefs): iterator instead of array on search
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2024-11-18 20:11:31 -01:00
Maxence Lange e73513bdd1 fix(user-prefs): adding sensitive and indexed as flags
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2024-11-18 20:11:31 -01:00
Maxence Lange 65e24f7def feat(user-prefs): IUserPreferences
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2024-11-18 20:11:31 -01:00
Joas Schilling 4b769f661d Merge pull request #49343 from nextcloud/fix/ai-settings
fix(settings): Add nextTick to saveChanges
2024-11-18 22:10:24 +01:00
Joas Schilling 5e5a53c098 test(fakeAI): Allow to specify whether the fake providers should fail
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-11-18 22:01:15 +01:00
Luka Trovic 2ca51919db fix(sharing): add command to fix broken shares after ownership transferring
Signed-off-by: Luka Trovic <luka@nextcloud.com>
2024-11-18 21:24:23 +01:00
nextcloud-command 7a4cd423fd chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-11-18 17:15:04 +00:00
Marcel Klehr 58161f38df fix(settings): Add nextTick to saveChanges
to alleviate race condition

fixes #49335

Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2024-11-18 18:08:28 +01:00
dependabot[bot] 8995272f60 Merge pull request #49329 from nextcloud/dependabot/npm_and_yarn/vue-material-design-icons-5.3.1 2024-11-18 13:44:56 +00:00
Ferdinand Thiessen e5932c063d Merge pull request #48855 from nextcloud/fix/app-store-remove-force-enable
fix(apps-store): Remove apps from force-enabled state when uninstalled
2024-11-18 14:37:16 +01:00
John Molakvoæ 6ff7db6ad4 Merge pull request #49337 from nextcloud/fix/sass 2024-11-18 14:32:28 +01:00
nextcloud-command 475c691cfd chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-11-18 13:24:33 +00:00
dependabot[bot] 330bed4e52 chore(deps): bump vue-material-design-icons from 5.3.0 to 5.3.1
---
updated-dependencies:
- dependency-name: vue-material-design-icons
  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-11-18 14:15:32 +01:00
Ferdinand Thiessen 9e327a5890 fix(apps-store): Remove apps from force-enabled state when uninstalled
If an app is force-enabled and then uninstalled the force-enabled state was kept.
This is now removed, so when the app should be re-installed the compatibility should be reevaluated.

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-11-18 14:09:54 +01:00
Ferdinand Thiessen c74ba567ec Merge pull request #49300 from nextcloud/refactor/files-deprecated-share-types
refactor(files): Replace deprecated `Types` enum for share types
2024-11-18 12:40:30 +01:00
Ferdinand Thiessen 7e55c875b1 chore: Compile assets
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-11-18 12:27:07 +01:00
Ferdinand Thiessen bb26289ef3 refactor(files): Replace deprecated Types enum for share types
Replace with `ShareType` enum.
Also fix some small Typescript issues in `FilesList.vue`.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-11-18 12:25:56 +01:00
Joas Schilling ad40841ae8 Merge pull request #49341 from nextcloud/bugfix/noid/add-missing-blurhash
fix(richtextvalidator): Add missing blurhash
2024-11-18 11:20:32 +01:00
Joas Schilling e8c921461f fix(richtextvalidator): Add missing blurhash
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-11-18 10:40:49 +01:00
Nextcloud bot 4d138a11f9 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-11-18 00:20:43 +00:00
Ferdinand Thiessen 5360ddb6e7 chore: Compile assets
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-11-17 02:02:28 +01:00
Ferdinand Thiessen f6779e6766 fix: Replace deprecated SASS rules
- global color functions are now deprecated - use color namespace
- `@import` is deprecated and will be removed (will be native CSS import
  in future)

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-11-17 02:00:46 +01:00
Nextcloud bot 714fc63c40 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-11-17 00:20:47 +00:00
dependabot[bot] 177b6ba172 Merge pull request #49324 from nextcloud/dependabot/npm_and_yarn/sass-1.81.0 2024-11-16 23:24:46 +00:00
Ferdinand Thiessen 46134fc23f Merge pull request #49331 from nextcloud/dependabot/npm_and_yarn/workbox-webpack-plugin-7.3.0
bump workbox-webpack-plugin from 7.1.0 to 7.3.0
2024-11-16 23:53:57 +01:00
dependabot[bot] 0444289376 chore(deps): bump workbox-webpack-plugin from 7.1.0 to 7.3.0
---
updated-dependencies:
- dependency-name: workbox-webpack-plugin
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Co-authored-by: dependabot[bot] <support@github.com>
Co-authored-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-11-16 23:44:49 +01:00
Ferdinand Thiessen 30689fc9af Merge pull request #49301 from nextcloud/refactor/files-required-navigation
refactor(files): Adjust `useNavigation` composable to enforce active view
2024-11-16 22:10:52 +01:00
nextcloud-command ec1c4d8037 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-11-16 22:00:39 +01:00
Ferdinand Thiessen c06723c44a refactor(files): Adjust useNavigation composable to enforce active view
In some cases it is guaranteed that we have a proper active view,
e.g. when the file list is loaded (so within FileEntry* components).
This does not change anything but the Typescript types,
so the `currentView` is typed as `View` instead of `View | null´.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-11-16 22:00:30 +01:00
Kate 67a02fa611 Merge pull request #49333 from nextcloud/revert/openapi-extractor 2024-11-16 11:10:33 +01:00
provokateurin 3d822dddb0 Revert "build(deps): bump nextcloud/openapi-extractor"
This reverts commit 03f438d1b7.

Signed-off-by: provokateurin <kate@provokateurin.de>
2024-11-16 09:49:02 +01:00
dependabot[bot] 7ffbc81b7f Merge pull request #49325 from nextcloud/dependabot/npm_and_yarn/vitest/coverage-v8-2.1.5 2024-11-16 05:21:00 +00:00
dependabot[bot] 747e1f0fa1 build(deps-dev): bump @vitest/coverage-v8 from 2.1.1 to 2.1.5
Bumps [@vitest/coverage-v8](https://github.com/vitest-dev/vitest/tree/HEAD/packages/coverage-v8) from 2.1.1 to 2.1.5.
- [Release notes](https://github.com/vitest-dev/vitest/releases)
- [Commits](https://github.com/vitest-dev/vitest/commits/v2.1.5/packages/coverage-v8)

---
updated-dependencies:
- dependency-name: "@vitest/coverage-v8"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-11-16 05:09:08 +00:00
dependabot[bot] 1dad88e258 Merge pull request #49322 from nextcloud/dependabot/composer/vendor-bin/openapi-extractor/nextcloud/openapi-extractor-1.2.2 2024-11-16 05:09:04 +00:00
dependabot[bot] 631ccea578 Merge pull request #49326 from nextcloud/dependabot/npm_and_yarn/zip.js/zip.js-2.7.53 2024-11-16 05:05:46 +00:00
dependabot[bot] 1d8c527843 Merge pull request #49327 from nextcloud/dependabot/npm_and_yarn/babel/plugin-transform-private-methods-7.25.9 2024-11-16 05:04:35 +00:00
dependabot[bot] 0ec18a0b87 build(deps-dev): bump @babel/plugin-transform-private-methods
Bumps [@babel/plugin-transform-private-methods](https://github.com/babel/babel/tree/HEAD/packages/babel-plugin-transform-private-methods) from 7.25.7 to 7.25.9.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.25.9/packages/babel-plugin-transform-private-methods)

---
updated-dependencies:
- dependency-name: "@babel/plugin-transform-private-methods"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-11-16 04:42:19 +00:00
dependabot[bot] f53eda3179 build(deps-dev): bump @zip.js/zip.js from 2.7.52 to 2.7.53
Bumps [@zip.js/zip.js](https://github.com/gildas-lormeau/zip.js) from 2.7.52 to 2.7.53.
- [Release notes](https://github.com/gildas-lormeau/zip.js/releases)
- [Commits](https://github.com/gildas-lormeau/zip.js/compare/v2.7.52...v2.7.53)

---
updated-dependencies:
- dependency-name: "@zip.js/zip.js"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-11-16 04:41:46 +00:00
dependabot[bot] 8b2c4efe8d build(deps-dev): bump sass from 1.79.3 to 1.81.0
Bumps [sass](https://github.com/sass/dart-sass) from 1.79.3 to 1.81.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.79.3...1.81.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-11-16 04:40:37 +00:00
dependabot[bot] 03f438d1b7 build(deps): bump nextcloud/openapi-extractor
Bumps [nextcloud/openapi-extractor](https://github.com/nextcloud-releases/openapi-extractor) from 1.1.0 to 1.2.2.
- [Changelog](https://github.com/nextcloud-releases/openapi-extractor/blob/main/CHANGELOG.md)
- [Commits](https://github.com/nextcloud-releases/openapi-extractor/compare/v1.1.0...v1.2.2)

---
updated-dependencies:
- dependency-name: nextcloud/openapi-extractor
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-11-16 04:39:41 +00:00
Nextcloud bot b53d536b0b Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-11-16 00:21:25 +00:00
Ferdinand Thiessen a4c1a75ee6 Merge pull request #49313 from nextcloud/dependabot/npm_and_yarn/nextcloud/vue-8.20.0
build(deps): bump @nextcloud/vue from 8.17.1 to 8.20.0
2024-11-15 17:30:44 +01:00
Ferdinand Thiessen 6469dbe9c5 chore: Compile assets
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-11-15 17:20:46 +01:00
dependabot[bot] aeec00dc0c build(deps): bump @nextcloud/vue from 8.17.1 to 8.20.0
Bumps [@nextcloud/vue](https://github.com/nextcloud-libraries/nextcloud-vue) from 8.17.1 to 8.20.0.
- [Release notes](https://github.com/nextcloud-libraries/nextcloud-vue/releases)
- [Changelog](https://github.com/nextcloud-libraries/nextcloud-vue/blob/master/CHANGELOG.md)
- [Commits](https://github.com/nextcloud-libraries/nextcloud-vue/compare/v8.17.1...v8.20.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-11-15 17:20:43 +01:00
John Molakvoæ 12881cf771 Merge pull request #49048 from nextcloud/dependabot/npm_and_yarn/jquery-ui-1.14.1 2024-11-15 15:37:13 +01:00
nextcloud-command 95ace3d5b6 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-11-15 14:24:06 +00:00
dependabot[bot] 6e59558269 build(deps): bump jquery-ui from 1.13.3 to 1.14.1
Bumps [jquery-ui](https://github.com/jquery/jquery-ui) from 1.13.3 to 1.14.1.
- [Release notes](https://github.com/jquery/jquery-ui/releases)
- [Commits](https://github.com/jquery/jquery-ui/compare/1.13.3...1.14.1)

---
updated-dependencies:
- dependency-name: jquery-ui
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-11-15 15:17:34 +01:00
John Molakvoæ c0c6581dd0 Merge pull request #45330 from nextcloud/remove-locking-config-sample 2024-11-15 14:14:39 +01:00
Joas Schilling 7ed72e1d3e Merge pull request #49130 from nextcloud/fix/cron-strict-cookie
fix: Do not check for strict cookie when running webcron
2024-11-15 13:25:24 +01:00
Ferdinand Thiessen d1e92679e0 Merge pull request #49271 from nextcloud/fix/files/reactivity-inject
fix(files): Make injected actions reactive
2024-11-15 12:33:06 +01:00
nextcloud-command 221e72ab83 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-11-15 11:23:29 +00:00
Ferdinand Thiessen b1df25af63 fix(files): Make injected actions reactive
Provided values are not reactive by default and by design,
we must need computed to make them reactive.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-11-15 12:17:00 +01:00
Ferdinand Thiessen 8fd7210aaa Merge pull request #49299 from nextcloud/tests/fix-jest-leftover
test: Fix test mocks for nextcloud-dialogs
2024-11-15 12:16:13 +01:00
John Molakvoæ 1436075265 Merge pull request #49129 from nextcloud/feat/systemtags-bulk-create-list 2024-11-15 12:03:09 +01:00
Daniel adc182ca19 Merge pull request #49304 from nextcloud/feat/dispatcher/log-raw-response-data
feat(Dispatcher): Add debug log for controller methods returning raw data not wrapped in Response
2024-11-15 11:58:15 +01:00
skjnldsv c6c1da0a80 chore: compile assets
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2024-11-15 11:30:14 +01:00
skjnldsv 99a734636e fix(systemtags): enhance create tag in tag picker UX
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2024-11-15 11:09:56 +01:00
provokateurin dd0ed02b91 feat(Dispatcher): Add debug log for controller methods returning raw data not wrapped in Response
Signed-off-by: provokateurin <kate@provokateurin.de>
2024-11-15 10:09:59 +01:00
Richard Steinmetz d61d62b64f Merge pull request #48833 from nextcloud/fix/issue-48732-exdate-rdate-property-instances
fix: RDATE and EXDATE property instances
2024-11-15 07:49:13 +01:00
Ferdinand Thiessen c3f38a99d5 test: Fix test mocks for nextcloud-dialogs
Leftover from Jest -> Vitest migration

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-11-15 02:31:56 +01:00
Nextcloud bot ca4be91923 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-11-15 00:21:29 +00:00
Kate 71f42e50e7 Merge pull request #49276 from nextcloud/refactor/register-routes 2024-11-14 23:23:12 +01:00
Sebastian Krupinski 8cf41ee8dd Merge pull request #49290 from nextcloud/fix/use-invokeprivate-for-test
fix: use invokePrivate for test
2024-11-14 11:37:46 -05:00
SebastianKrupinski fbd8afb405 fix: use invokePrivate for test
Signed-off-by: SebastianKrupinski <krupinskis05@gmail.com>
2024-11-14 10:46:47 -05:00
Robin Appelman cc39714fb5 fix: smb: don't fail hard if we can't load acls for a file
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-11-14 16:01:36 +01:00
John Molakvoæ cba467370d Merge pull request #49225 from nextcloud/fix/invalid-mtime 2024-11-14 14:57:41 +01:00
nextcloud-command 394ca8763b chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-11-14 13:34:53 +00:00
skjnldsv 42c245ce37 fix(files): ensure valid mtime and fallback to crtime if defined
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2024-11-14 13:32:37 +00:00
Kate c3c6a75dc5 Merge pull request #49275 from nextcloud/chore/drop-skjnldsv/sanitize-svg 2024-11-14 14:28:52 +01:00
nextcloud-command 2d2c0608d5 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-11-14 13:08:22 +00:00
Sebastian Krupinski e68c7f2bfa Merge pull request #49281 from nextcloud/rakekniven-patch-1
chore(i18n): Fixed grammar
2024-11-14 07:52:52 -05:00
rakekniven 49c7f7dd1c chore(i18n): Fixed grammar
Signed-off-by: rakekniven <2069590+rakekniven@users.noreply.github.com>
2024-11-14 12:59:14 +01:00
Julien Veyssier 428e7a32b9 Merge pull request #49260 from nextcloud/fix/noid/textprocessing-schedule-taskprocessing-provider
[textprocessing] Fix: Accept scheduling a task if there are equivalent taskprocessing providers only
2024-11-14 11:58:09 +01:00
provokateurin c179e78aeb refactor(user_ldap): Remove Application::registerRoutes() usage
Signed-off-by: provokateurin <kate@provokateurin.de>
2024-11-14 11:43:46 +01:00
Côme Chilliet 0718984bdf Merge pull request #48675 from georglauterbach/master
DNS: do not query CNAME if A succeeded already
2024-11-14 11:43:32 +01:00
provokateurin 238f518273 refactor(files_versions): Remove Application::registerRoutes() usage
Signed-off-by: provokateurin <kate@provokateurin.de>
2024-11-14 11:28:34 +01:00
Kate 95766246ea Merge pull request #49244 from nextcloud/feat/profile-app 2024-11-14 11:07:06 +01:00
John Molakvoæ e91b78d630 Merge pull request #49273 from nextcloud/test/integration/cleanup-logs 2024-11-14 10:36:05 +01:00
skjnldsv 0f52c2c220 fix(profile): exclude from openapi
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2024-11-14 10:34:34 +01:00
skjnldsv d654cf7b5b chore(files): replace @skjnldsv/sanitize-svg with DOMPurify
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2024-11-14 10:32:12 +01:00
skjnldsv 5a98533d9e chore: compile assets
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2024-11-14 10:27:06 +01:00
skjnldsv eccbc0dfb3 fix(profile): triggerbutton selector
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2024-11-14 10:25:41 +01:00
skjnldsv 54be2ef0f3 fix(profile): add legacy root for old core.ProfilePage.index
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2024-11-14 10:25:33 +01:00
skjnldsv 158299b3d7 fix(profile): make sure the app cannot be disabled as it was in core
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2024-11-14 10:25:10 +01:00
skjnldsv b15fdfd40e chore(profile): move profile app from core to apps
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2024-11-14 10:25:02 +01:00
provokateurin fc0c61458e test(integration): Correctly cleanup logs
Signed-off-by: provokateurin <kate@provokateurin.de>
2024-11-14 08:12:20 +01:00
Nextcloud bot dfa7e7edea Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-11-14 00:22:39 +00:00
Pytal 3481ebf508 Merge pull request #49168 from nextcloud/feat/file-list-actions
feat(files): Add support for file list actions
2024-11-13 15:54:14 -08:00
nextcloud-command ed796d5ea1 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-11-13 23:38:55 +00:00
Christopher Ng dfb2745c8b feat(files): Add support for file list actions
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2024-11-13 15:28:16 -08:00
Christopher Ng 690aeb0936 chore(deps): Bump nextcloud/files to v3.10.0
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2024-11-13 15:28:16 -08:00
Robin Appelman 0bc478de2c fix: don't do same-storage move optimization with encryption wrappers
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-11-13 18:47:13 +01:00
Julien Veyssier a52a63fc74 fix(textprocessing): accept scheduling a task if there are equivalent taskprocessing providers only
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
2024-11-13 16:59:46 +01:00
Daniel 22e2419b28 Merge pull request #48134 from nextcloud/feat/mail-provider-settings
feat: mail provider settings
2024-11-13 14:31:21 +01:00
Ferdinand Thiessen 423f57677f Merge pull request #49248 from nextcloud/dependabot/npm_and_yarn/marked-15.0.0
chore(deps): Bump marked from 13.0.3 to 15.0.0
2024-11-13 14:12:36 +01:00
John Molakvoæ dcf067ccc0 Merge pull request #49041 from nextcloud/dependabot/github_actions/github-actions-52fdf4f9c4 2024-11-13 13:03:17 +01:00
nextcloud-command b087c5f763 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-11-13 11:33:11 +00:00
dependabot[bot] d2e76bb6b3 chore(deps): Bump marked from 13.0.3 to 15.0.0
Bumps [marked](https://github.com/markedjs/marked) from 13.0.3 to 15.0.0.
- [Release notes](https://github.com/markedjs/marked/releases)
- [Changelog](https://github.com/markedjs/marked/blob/master/.releaserc.json)
- [Commits](https://github.com/markedjs/marked/compare/v13.0.3...v15.0.0)

---
updated-dependencies:
- dependency-name: marked
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-11-13 12:25:24 +01:00
Louis d660b0813a Merge pull request #48841 from IONOS-Productivity/feat/config_unified_search_providers_allowed
feat: reduce search providers per config value "unified_search_providers_allowed"
2024-11-13 12:24:56 +01:00
Ferdinand Thiessen dea6bd7362 Merge pull request #49240 from nextcloud/feat/postgres-13-17
feat: Update supported PostgreSQL versions
2024-11-13 12:20:08 +01:00
dependabot[bot] 0a6c8b46fe build(deps): bump the github-actions group with 5 updates
Bumps the github-actions group with 5 updates:

| Package | From | To |
| --- | --- | --- |
| [actions/checkout](https://github.com/actions/checkout) | `4.1.1` | `4.2.2` |
| [shivammathur/setup-php](https://github.com/shivammathur/setup-php) | `2.25.2` | `2.31.1` |
| [actions/setup-node](https://github.com/actions/setup-node) | `4.0.4` | `4.1.0` |
| [actions/upload-artifact](https://github.com/actions/upload-artifact) | `4.4.0` | `4.4.3` |
| [codecov/codecov-action](https://github.com/codecov/codecov-action) | `4.5.0` | `4.6.0` |


Updates `actions/checkout` from 4.1.1 to 4.2.2
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v4.1.1...11bd71901bbe5b1630ceea73d27597364c9af683)

Updates `shivammathur/setup-php` from 2.25.2 to 2.31.1
- [Release notes](https://github.com/shivammathur/setup-php/releases)
- [Commits](https://github.com/shivammathur/setup-php/compare/2.25.2...c541c155eee45413f5b09a52248675b1a2575231)

Updates `actions/setup-node` from 4.0.4 to 4.1.0
- [Release notes](https://github.com/actions/setup-node/releases)
- [Commits](https://github.com/actions/setup-node/compare/0a44ba7841725637a19e28fa30b79a866c81b0a6...39370e3970a6d050c480ffad4ff0ed4d3fdee5af)

Updates `actions/upload-artifact` from 4.4.0 to 4.4.3
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](https://github.com/actions/upload-artifact/compare/50769540e7f4bd5e21e526ee35c689e35e0d6874...b4b15b8c7c6ac21ea08fcf65892d2ee8f75cf882)

Updates `codecov/codecov-action` from 4.5.0 to 4.6.0
- [Release notes](https://github.com/codecov/codecov-action/releases)
- [Commits](https://github.com/codecov/codecov-action/compare/v4.5.0...v4.6.0)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: github-actions
- dependency-name: shivammathur/setup-php
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: github-actions
- dependency-name: actions/setup-node
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: github-actions
- dependency-name: actions/upload-artifact
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: github-actions
- dependency-name: codecov/codecov-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: github-actions
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-11-13 12:09:30 +01:00
John Molakvoæ 7bbf5481e1 Merge pull request #49247 from nextcloud/skjnldbot/nextcloud-upload 2024-11-13 12:07:38 +01:00
skjnldsv 92432181c7 chore: update @nextcloud/upload to 1.7.0
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2024-11-13 11:53:56 +01:00
Misha M.-Kupriyanov 8e570041a5 feat(search): reduce search providers via core app config unified_search.providers_allowed
reduce search providers by setting core config value to unified_search.providers_allowed = [ 'files', 'setting' ]

./occ config:app:set --value '["files","settings"]' --type array core unified_search.providers_allowed

Signed-off-by: Misha M.-Kupriyanov <kupriyanov@strato.de>
2024-11-13 11:15:24 +01:00
Kate a489d88a2b Merge pull request #49237 from nextcloud/fix/noid/deprecation-correct-case 2024-11-13 07:28:33 +01:00
Ferdinand Thiessen a3e80e4195 feat: Update supported PostgreSQL versions
12 is now EOL but 17 was released and should be supported and tested.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-11-13 02:50:13 +01:00
Nextcloud bot 397885adfa Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-11-13 00:21:22 +00:00
John Molakvoæ 034106dad3 Merge pull request #49226 from nextcloud/fix/encode-guest-file-request
fx(dav): file request guest nickname encoding
2024-11-13 00:00:56 +01:00
nextcloud-command 94d22a7768 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-11-12 22:41:21 +00:00
skjnldsv bfe8f8af40 fix(dav): file request guest nickname encoding
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2024-11-12 22:38:40 +00:00
Arthur Schiwon fdd24090ff fix(Middleware): log deprecation when annotation was actually used
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2024-11-12 22:15:08 +01:00
SebastianKrupinski 3e870695bc feat: mail provider settings
Signed-off-by: SebastianKrupinski <krupinskis05@gmail.com>
2024-11-12 13:19:35 -05:00
Sebastian Krupinski de1c175d39 Merge pull request #49139 from nextcloud/enh/issue-48528-disable-imip-messages
feat: Add X-NC-Disable-Scheduling property to allow skipping scheduling
2024-11-12 10:40:07 -05:00
Sebastian Krupinski f8d50eb9b5 Merge branch 'master' into enh/issue-48528-disable-imip-messages 2024-11-12 10:17:38 -05:00
provokateurin 72571a19dd build(psalm): Configure unstable namespace
Signed-off-by: provokateurin <kate@provokateurin.de>
2024-11-12 11:46:13 +01:00
Joas Schilling 17659d327a Merge pull request #49219 from nextcloud/reuse/noid/adjust-copyright
docs: Adjust taiwan translators
2024-11-12 10:52:20 +01:00
John Molakvoæ 25dd59313f Merge pull request #49218 from nextcloud/fix/external-storage-int 2024-11-12 10:50:23 +01:00
skjnldsv 8b8e4763ed fix(files_external): cast storage id int
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2024-11-12 10:28:01 +01:00
Joas Schilling 95c17b3372 docs: Adjust taiwan translators
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-11-12 10:14:31 +01:00
Nextcloud bot f47d1e99db Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-11-12 00:22:54 +00:00
Ferdinand Thiessen 438b48edca Merge pull request #49209 from nextcloud/fix/appstore-regressions
fix(app-store): Add back legacy store API used for update and removal
2024-11-11 22:51:55 +01:00
nextcloud-command f074482807 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-11-11 21:00:50 +00:00
Ferdinand Thiessen 52ae2134da fix(app-store): Add back legacy store API used for update and removal
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-11-11 21:52:31 +01:00
Kate d3fd6b934f Merge pull request #49210 from nextcloud/fix/rtl-regession 2024-11-11 21:43:16 +01:00
John Molakvoæ e38ea3346f Merge pull request #49196 from nextcloud/chore/github/groupware-code-owners-update 2024-11-11 21:31:23 +01:00
nextcloud-command 30f426a137 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-11-11 19:05:03 +00:00
Ferdinand Thiessen cce34c591e fix(files): Revert CSS causing the file name to have no bounding box
Instead add the direction only to the filename wrapper not the button.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-11-11 19:56:07 +01:00
SebastianKrupinski bfa23ff6c7 feat: Add X-NC-Disable-Scheduling property to allow skipping scheduling
Signed-off-by: SebastianKrupinski <krupinskis05@gmail.com>
2024-11-11 12:40:55 -05:00
Andy Scherzinger 8fdae44816 Merge pull request #48736 from nextcloud/joblist-build-error-log
fix: log a warning when we can't build a background job
2024-11-11 17:26:43 +01:00
Maxence Lange 7c67df6532 Merge pull request #48891 from nextcloud/enh/noid/testing-namespace
[RFC] Setting NCU\ for unstable/work-in-progress API
2024-11-11 14:06:17 -01:00
Joas Schilling a3be6ce6ac Merge pull request #49192 from nextcloud/bugfix/noid/copy-better-typing-from-notifications-app
fix(ros): Copy better typing information from Notifications/Spreed app
2024-11-11 15:46:45 +01:00
Christoph Wurst 992d0786b3 chore(github): Update groupware code owners
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2024-11-11 09:20:14 +01:00
Joas Schilling 4d69d1e2f4 Merge pull request #49176 from nextcloud/feat/noid/add-fake-summary-provider
feat(testing): Add a fake summary task provider
2024-11-11 08:53:59 +01:00
Joas Schilling e3880838e8 fix(ros): Copy better typing information from Notifications app
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-11-11 07:27:00 +01:00
Nextcloud bot 23071c74a5 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-11-11 00:21:31 +00:00
John Molakvoæ 1b1417e2eb Merge pull request #49175 from nextcloud/dependabot/composer/vendor-bin/openapi-extractor/nextcloud/openapi-extractor-1.1.0
chore(deps): Bump nextcloud/openapi-extractor from 1.0.1 to 1.1.0 in /vendor-bin/openapi-extractor
2024-11-10 08:07:50 +01:00
Nextcloud bot 05a73096cd Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-11-10 00:23:17 +00:00
John Molakvoæ ba81fbde89 Merge pull request #48561 from nextcloud/Jerome-Herbinet-internal-shares-parameter-better-distinction 2024-11-09 17:28:58 +01:00
John Molakvoæ 7b4a932ed1 Merge pull request #49035 from nextcloud/jtr/fix-streamer-zip64 2024-11-09 14:37:22 +01:00
Jérôme Herbinet 2164737ad9 Better distinguish this parameter dedicated to internal shares
Signed-off-by: Jérôme Herbinet <33763786+Jerome-Herbinet@users.noreply.github.com>
2024-11-09 14:35:16 +01:00
John Molakvoæ 8ff3f21f1d Merge pull request #49087 from AIlkiv/getting-default-timezone-for-local-time 2024-11-09 14:23:45 +01:00
John Molakvoæ 2c00f1e917 Merge pull request #49011 from falghamdi125/fix-files-names-align-in-rtl 2024-11-09 14:23:09 +01:00
Faisal Alghamdi 23a23edfa6 fix(files): Fix file names alignment in Files List in UI RTL mode.
Signed-off-by: Faisal Alghamdi <falghamdi125@gmail.com>
2024-11-09 14:00:05 +01:00
John Molakvoæ 858d24aeab Merge pull request #49143 from nextcloud/fix/view-in-folder-conditions 2024-11-09 12:01:48 +01:00
georglauterbach 4d517a33ba fix: remove superflous line
Signed-off-by: georglauterbach <44545919+georglauterbach@users.noreply.github.com>
2024-11-09 11:56:19 +01:00
skjnldsv 6b76c7c7a0 chore: compile assets
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2024-11-09 11:36:22 +01:00
skjnldsv 56a82faab0 fix(systemtags): sanity checks for bulk tagging action
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2024-11-09 11:34:59 +01:00
skjnldsv 9571e34182 fix(files): check that node is in user root folder for view-in-folder action
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2024-11-09 11:34:59 +01:00
John Molakvoæ 4a2091ecb7 Merge pull request #49019 from falghamdi125/fix-appmenu-alignment-in-rtl-mode 2024-11-09 11:32:06 +01:00
skjnldsv e04244345b chore: compile assets
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2024-11-09 11:27:15 +01:00
Faisal Alghamdi cccdaa10eb Fix(core): fix app menu alignment in RTL mode.
Signed-off-by: Faisal Alghamdi <falghamdi125@gmail.com>
2024-11-09 11:25:37 +01:00
John Molakvoæ b5afb7805c Merge pull request #49024 from nextcloud/backport/48294/master 2024-11-09 11:23:42 +01:00
nextcloud-command e04bfef243 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-11-09 11:18:26 +01:00
fenn-cs dd6d7a0aab fix(Federation): Show some icon for federated users on shares
Signed-off-by: nfebe <fenn25.fn@gmail.com>
2024-11-09 10:33:17 +01:00
Joas Schilling 58bde73b92 feat(testing): Add a fake summary task provider
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-11-09 05:34:53 +01:00
dependabot[bot] 2344e9cf1d chore(deps): Bump nextcloud/openapi-extractor
Bumps [nextcloud/openapi-extractor](https://github.com/nextcloud-releases/openapi-extractor) from 1.0.1 to 1.1.0.
- [Changelog](https://github.com/nextcloud-releases/openapi-extractor/blob/main/CHANGELOG.md)
- [Commits](https://github.com/nextcloud-releases/openapi-extractor/compare/v1.0.1...v1.1.0)

---
updated-dependencies:
- dependency-name: nextcloud/openapi-extractor
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-11-09 03:49:49 +00:00
dependabot[bot] 56be31a436 Merge pull request #49172 from nextcloud/dependabot/composer/build/integration/behat/behat-3.16.0 2024-11-09 02:27:55 +00:00
dependabot[bot] 8e3f85111d chore(deps-dev): Bump behat/behat in /build/integration
Bumps [behat/behat](https://github.com/Behat/Behat) from 3.15.0 to 3.16.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.15.0...v3.16.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-11-09 02:09:33 +00:00
Nextcloud bot b528908b7a Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-11-09 00:22:13 +00:00
John Molakvoæ 3eadae3a69 Merge pull request #49150 from nextcloud/fix/edit-locally-labels 2024-11-08 17:17:45 +01:00
John Molakvoæ 4e818128ef Merge pull request #49146 from nextcloud/fix/undefined-response 2024-11-08 17:09:41 +01:00
skjnldsv 87135dae16 chore: compile assets
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2024-11-08 17:04:18 +01:00
skjnldsv 33a399fbcf fix(files): edit locally buttons
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2024-11-08 17:01:16 +01:00
John Molakvoæ c87060816d Merge pull request #49147 from nextcloud/fix/sharing-sidebar-tab-default 2024-11-08 17:00:55 +01:00
skjnldsv d432fea373 chore: compile assets
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2024-11-08 16:44:19 +01:00
skjnldsv f29697a7c0 fix(files_sharing): share assignment issue in SharingEntryLink
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2024-11-08 16:41:25 +01:00
skjnldsv 191e839a5f fix(files): open sidebar on sharing tab by default for files
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2024-11-08 16:41:25 +01:00
dependabot[bot] c8868ce452 Merge pull request #48802 from nextcloud/dependabot/npm_and_yarn/nextcloud/upload-1.6.1 2024-11-08 14:28:45 +00:00
nextcloud-command cec4173997 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-11-08 14:17:38 +00:00
dependabot[bot] 9fdd3484d1 chore(deps): Bump @nextcloud/upload from 1.6.0 to 1.6.1
Bumps [@nextcloud/upload](https://github.com/skjnldsv/nextcloud-upload) from 1.6.0 to 1.6.1.
- [Release notes](https://github.com/skjnldsv/nextcloud-upload/releases)
- [Changelog](https://github.com/nextcloud-libraries/nextcloud-upload/blob/main/CHANGELOG.md)
- [Commits](https://github.com/skjnldsv/nextcloud-upload/compare/v1.6.0...v1.6.1)

---
updated-dependencies:
- dependency-name: "@nextcloud/upload"
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-11-08 15:10:56 +01:00
Joas Schilling 78cf3129aa Merge pull request #49145 from nextcloud/ci/noid/php-8.4
feat(PHP): Allow PHP 8.4
2024-11-08 14:44:54 +01:00
John Molakvoæ d5caf9125d Merge pull request #49142 from nextcloud/feat/sharing-title 2024-11-08 14:38:06 +01:00
John Molakvoæ deb28f5326 Merge pull request #49141 from nextcloud/feat/clipboard-fallback 2024-11-08 14:28:02 +01:00
skjnldsv 4d9d617c84 feat(files_sharing): use share node or label as page title
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2024-11-08 14:20:58 +01:00
Joas Schilling 298948c28c ci: Skip currently PHP 8.4 incompatible test
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-11-08 14:18:24 +01:00
skjnldsv a758707973 chore: compile assets
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2024-11-08 14:04:28 +01:00
skjnldsv ed901604ab feat(core): offer clipboard fallback for non-secure environments
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2024-11-08 14:01:33 +01:00
Joas Schilling 73de40719e ci: Don't test incompatible external storages on PHP 8.4
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-11-08 12:59:16 +01:00
Joas Schilling 34592df186 fix(util): Correctly create Reflection of method for PHP 8.3+
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-11-08 12:59:15 +01:00
Joas Schilling 8952a4cb77 fix(logger): Fix closure detection when filtering sensitive parameters
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-11-08 12:59:14 +01:00
Joas Schilling da4fe3d5b7 ci: Test on PHP 8.4
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-11-08 12:59:13 +01:00
Joas Schilling dcddfc672a feat(PHP): Allow PHP 8.4
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-11-08 12:59:12 +01:00
F. E Noel Nfebe 2ec74f9dc1 Merge pull request #49115 from nextcloud/fix/48860/stop-silent-expiry-date-addition-on-link-shares
fix(SharingEntryLink): Show default password before create if any
2024-11-08 11:21:24 +01:00
skjnldsv 954b6c68a0 chore: use $this->logger and prevent Server::get
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2024-11-08 10:56:30 +01:00
Victor Dubiniuk 0f96a2ccb9 Fix Undefined variable: response notice in case of non-404 error
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2024-11-08 10:56:25 +01:00
Joas Schilling dc7d789616 Merge pull request #49132 from nextcloud/dependabot/composer/symfony/string-6.4.13
build(deps): Bump symfony/string from 6.0.19 to 6.4.13
2024-11-08 10:23:23 +01:00
nextcloud-command 1f17b2f899 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-11-08 09:21:35 +00:00
fenn-cs 6d3f5d39cd fix(SharingEntryLink): Show default password before create if any
Prevent silent addition of expiration date to shares.

Prevent silent addition for password to shares.

Both now have a `shareRequiresReview` check

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

Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
2024-11-08 10:07:19 +01:00
Joas Schilling db164f8b3e build(deps): Bump symfony/string from 6.0.19 to 6.4.13
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-11-08 10:06:09 +01:00
Sebastian Krupinski 5193ca41f9 Merge pull request #47826 from nextcloud/fix/issue-8458-imip-improvements-2
feat: add iMip Request Handling
2024-11-07 21:27:37 -05:00
SebastianKrupinski 7ebeed45bd feat: add iMip Request Handling
Signed-off-by: SebastianKrupinski <krupinskis05@gmail.com>
2024-11-07 21:12:37 -05:00
Nextcloud bot 3bd8197458 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-11-08 00:21:51 +00:00
John Molakvoæ a34f4fbbdb Merge pull request #49134 from nextcloud/fix/multi-select 2024-11-07 20:12:10 +01:00
John Molakvoæ 232eb9ce68 Merge pull request #49112 from nextcloud/fix/theming/default-theme-selection 2024-11-07 20:11:45 +01:00
Maxence Lange 0f6ef857eb feat(core): setting NCU namespace
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2024-11-07 17:49:08 -01:00
skjnldsv 63ca2ceb0c chore: compile assets
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2024-11-07 19:37:58 +01:00
skjnldsv 54954bf934 chore(files): add selection cypress tests
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2024-11-07 19:01:59 +01:00
Robin Appelman 6fa4266f5c Merge pull request #48563 from nextcloud/metadata-storage-id
Fix metadata storage with sharding
2024-11-07 18:20:50 +01:00
skjnldsv 268e68eb95 fix(files): multiselect and filters store declaration
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2024-11-07 17:04:08 +01:00
Ferdinand Thiessen 0cd626a059 fix: Do not check for strict cookie when running webcron
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-11-07 16:34:10 +01:00
Robin Appelman b21c0265df test: add some minimal testing for metadata storage
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-11-07 16:27:16 +01:00
Robin Appelman 19ec79b313 fix: smuggle storage id to metadata insert queries
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-11-07 16:27:14 +01:00
Joas Schilling 31f4f67c0c Merge pull request #49116 from nextcloud/bugfix/noid/validate-parameter-keys
fix(richobjectstrings): Add missing placeholder validation
2024-11-07 14:25:22 +01:00
Joas Schilling ac693ee4d6 fix(richobjectstrings): Fix typo in docs
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-11-07 10:36:32 +01:00
Joas Schilling c6002ed3e9 Merge pull request #49114 from nextcloud/fix/qbmapper/find-entities-return-type
fix(QBMapper): Fix findEntities() return type to be list<T>
2024-11-07 10:35:54 +01:00
Joas Schilling 5faa6e48e5 fix(richobjectstrings): Improve array type
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-11-07 09:03:36 +01:00
Nextcloud bot 9290b852d9 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-11-07 00:25:43 +00:00
Joas Schilling c3c8b7e2a3 fix(richobjectstrings): Add missing placeholder validation
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-11-06 21:31:41 +01:00
georglauterbach 387cd8b771 fix: do not query CNAME if A succeeded already
Signed-off-by: georglauterbach <44545919+georglauterbach@users.noreply.github.com>
2024-11-06 20:21:38 +01:00
provokateurin 2c65d0c0d1 fix(QBMapper): Fix findEntities() return type to be list<T>
Signed-off-by: provokateurin <kate@provokateurin.de>
2024-11-06 16:31:39 +01:00
Joas Schilling 4bf6cd8f0b Merge pull request #48821 from nextcloud/techdebt/noid/more-useful-debug-logs
feat(appconfig): Only log lazy-appconfig when an app can do something…
2024-11-06 16:30:41 +01:00
provokateurin 7cb295fcf4 fix(theming): Return default theme if the user never selected a theme
Signed-off-by: provokateurin <kate@provokateurin.de>
2024-11-06 16:20:38 +01:00
Joas Schilling f237846e74 feat(appconfig): Only log lazy-appconfig when an app can do something about it
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-11-06 14:16:10 +01:00
Joas Schilling 9276f453ae Merge pull request #49090 from nextcloud/dependabot/composer/mlocati/ip-lib-1.18.1
build(deps): Bump mlocati/ip-lib from 1.18.0 to 1.18.1
2024-11-06 12:22:22 +01:00
Joas Schilling 132d082d11 build(deps): Bump mlocati/ip-lib from 1.18.0 to 1.18.1
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-11-06 11:46:51 +01:00
John Molakvoæ 373ad6cf33 Merge pull request #42052 from nextcloud/fix/carddav/create-sab-concurrently 2024-11-06 09:29:27 +01:00
John Molakvoæ 3c4290631b Merge pull request #49039 from nextcloud/jtr/fix-ipv6-zone-ids-link-local 2024-11-06 09:17:52 +01:00
Christoph Wurst 0bb68ab734 fix(carddav): Handle race for SAB creation better
* Accept non repeatable read and INSERT conflict by another read
* Handle replication edge case

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2024-11-06 09:13:01 +01:00
John Molakvoæ 452e4be4f5 Merge pull request #46222 from nextcloud/fix/task-processing-api-controller/dont-use-plus 2024-11-06 09:02:23 +01:00
John Molakvoæ d53fde8eef Merge pull request #49015 from nextcloud/fix/openapi/array-syntax 2024-11-06 08:56:30 +01:00
John Molakvoæ 8fab143aa4 Merge pull request #48721 from nextcloud/feat/allow-getter-setter-decl-fors 2024-11-06 08:54:40 +01:00
John Molakvoæ 01ad23aaaa Merge pull request #49102 from nextcloud/dependabot/npm_and_yarn/multi-2299424a7d 2024-11-06 08:51:55 +01:00
Nextcloud bot 7ff87f7733 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-11-06 00:20:18 +00:00
Andrii 1ab1bbdda2 fix: Getting default timezone for local time
Signed-off-by: Andrii Ilkiv <a.ilkiv.ye@gmail.com>
2024-11-05 19:56:41 +02:00
dependabot[bot] 685cc99bd7 build(deps): bump cookie and socket.io
Bumps [cookie](https://github.com/jshttp/cookie) and [socket.io](https://github.com/socketio/socket.io). These dependencies needed to be updated together.

Updates `cookie` from 0.4.2 to 0.7.2
- [Release notes](https://github.com/jshttp/cookie/releases)
- [Commits](https://github.com/jshttp/cookie/compare/v0.4.2...v0.7.2)

Updates `socket.io` from 4.7.5 to 4.8.1
- [Release notes](https://github.com/socketio/socket.io/releases)
- [Changelog](https://github.com/socketio/socket.io/blob/main/CHANGELOG.md)
- [Commits](https://github.com/socketio/socket.io/compare/socket.io@4.7.5...socket.io@4.8.1)

---
updated-dependencies:
- dependency-name: cookie
  dependency-type: indirect
- dependency-name: socket.io
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-11-05 17:32:52 +00:00
Ferdinand Thiessen daafccc8e6 Merge pull request #49094 from nextcloud/chore/nextcloud-dialogs-master
chore(deps): Update `@nextcloud/dialogs` to v6.0.1
2024-11-05 18:31:38 +01:00
Joas Schilling 093ed1ee17 Merge pull request #48933 from nextcloud/clear-pending-two-factor-tokens-also-from-configuration
Clear pending two factor tokens also from configuration
2024-11-05 11:47:39 +01:00
Daniel Calviño Sánchez 5ea5b2de84 fix: Handle exception when clearing previously removed two factor tokens
If a token was already removed from the database but not from the
configuration clearing the tokens will try to remove it again from the
database, which caused a DoesNotExistException to be thrown.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2024-11-05 11:14:05 +01:00
Daniel Calviño Sánchez 381a2aa627 fix: Clear pending two factor tokens also from configuration
Otherwise as the tokens were removed from the database but not from the
configuration the next time that the tokens were cleared the previous
tokens were still got from the configuration, and trying to remove them
again from the database ended in a DoesNotExistException being thrown.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2024-11-05 11:14:04 +01:00
Ferdinand Thiessen c40212c13e chore: Compile assets
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-11-05 10:32:35 +01:00
Ferdinand Thiessen 3be77a0f18 chore(deps): Update @nextcloud/dialogs to v6.0.1
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-11-05 10:32:18 +01:00
Benjamin Gaussorgues 46abfc6d50 Merge pull request #48792 from nextcloud/chore/update_mysql_setup_check_i18n 2024-11-05 10:06:29 +01:00
provokateurin 77114fb327 fix(OpenAPI): Adjust array syntax to avoid ambiguities
Signed-off-by: provokateurin <kate@provokateurin.de>
2024-11-05 09:58:11 +01:00
Nextcloud bot 4a44d6a677 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-11-05 00:21:20 +00:00
Sebastian Krupinski 9d49c75bdb Merge pull request #48621 from nextcloud/feat/issue-3786-allow-shared-calendars
feat: Allow shared calendars as appointment conflict calendars
2024-11-04 13:52:15 -05:00
Sebastian Krupinski 5f49effcba Merge branch 'master' into feat/issue-3786-allow-shared-calendars 2024-11-04 13:29:44 -05:00
Joas Schilling 5cd3a8c9ad Merge pull request #49072 from nextcloud/backport/49057/master
chore: Update code owners
2024-11-04 16:06:53 +01:00
Joas Schilling a0320164b8 Merge pull request #49075 from nextcloud/bugfix/noid/fix-oauth2-owncloud-migration
fix(owncloud): Fix ownCloud migration with oauth2 app
2024-11-04 15:44:47 +01:00
Joas Schilling cd9f9b63f3 Merge pull request #48737 from nextcloud/fix/broken-event-notifications
fix(caldav): broken activity rich objects
2024-11-04 15:43:03 +01:00
Josh e885e4f13d fix(tests): Add IpAddressClassifier v6 zone ID test
Signed-off-by: Josh <josh.t.richards@gmail.com>
2024-11-04 09:31:48 -05:00
Josh 97421fb143 fix(tests): Add RemoteAddress v6 zone ID test
Signed-off-by: Josh <josh.t.richards@gmail.com>
2024-11-04 09:30:21 -05:00
Joas Schilling 015835f4e7 fix(owncloud): Fix ownCloud migration with oauth2 app
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-11-04 14:16:40 +01:00
Daniel bd8348f5c1 Merge pull request #49051 from nextcloud/rakekniven-patch-1
chore(i18n): Fix grammar
2024-11-04 13:23:36 +01:00
Joas Schilling a483b9cf8d chore: Fix maintainer of federation app
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-11-04 11:00:30 +00:00
Simon L. cd5866c062 Merge pull request #49065 from nextcloud/enh/noid/update-o.c.u-wording
docs: update overwrite.cli.url wording
2024-11-04 11:46:51 +01:00
Richard Steinmetz d3cecf5b0a Merge pull request #48723 from nextcloud/fix/caldav/event-reader-duration
fix(caldav): duration handling in the event reader class
2024-11-04 11:17:08 +01:00
Côme Chilliet 901496276b Merge pull request #47425 from nextcloud/fix/avoid-invalid-share-on-transfer-ownership
fix: promote re-shares when deleting the parent share
2024-11-04 10:09:58 +01:00
Simon L. 69bc13ab5a docs: update overwrite.cli.url wording
Signed-off-by: Simon L. <szaimen@e.mail.de>
2024-11-04 09:37:00 +01:00
Joas Schilling 6c283189cc Merge pull request #49053 from nextcloud/fix/noid/update-codeowners-nfebe
chore: Change Fenn-CS to nfebe
2024-11-04 09:23:44 +01:00
Nextcloud bot b95431ba57 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-11-04 00:20:21 +00:00
Marcel Müller ce3c8c3522 chore: Change Fenn-CS to nfebe
Signed-off-by: Marcel Müller <marcel-mueller@gmx.de>
2024-11-03 23:14:37 +01:00
rakekniven 25d1628e30 chore(i18n): Fix grammar
Reported at Transifex

Signed-off-by: rakekniven <2069590+rakekniven@users.noreply.github.com>
2024-11-03 16:34:57 +01:00
Nextcloud bot d92e34cce1 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-11-03 00:21:32 +00:00
Nextcloud bot 2c7518250e Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-11-02 00:20:24 +00:00
Nextcloud bot b36bd3749f Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-11-01 00:20:21 +00:00
Josh da4066ae39 fix(net): Add IPv6 zone handling to IpAddressClassifier
Signed-off-by: Josh <josh.t.richards@gmail.com>
2024-10-31 17:06:36 -04:00
Josh 077eea18b5 fix(security): Handle IPv6 zone IDs used in link-local addresses
Signed-off-by: Josh <josh.t.richards@gmail.com>
2024-10-31 17:01:34 -04:00
Josh 4873dcbf1e fix(security): Handle IPv6 zone IDs used in link-local addresses
Signed-off-by: Josh <josh.t.richards@gmail.com>
2024-10-31 16:59:27 -04:00
Josh be2f0765e4 fix(streamer): zip64 should work on 32-bit env now
Since DeepDiver1975/PHPZipStreamer#11 was merged

Signed-off-by: Josh <josh.t.richards@gmail.com>
2024-10-31 11:37:03 -04:00
Kate 8a13f28476 Merge pull request #49009 from nextcloud/fix/noid/set-ext-pwd-as-sensitive 2024-10-31 12:14:44 +01:00
Maxence Lange 8360c57189 fix(files-external): set password as sensitive
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2024-10-31 09:41:20 -01:00
Nextcloud bot 4b19e84a25 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-10-31 00:20:40 +00:00
Joas Schilling 34d1d186b0 Merge pull request #49000 from nextcloud/dependabot/composer/giggsey/libphonenumber-for-php-lite-8.13.48
build(deps): Bump giggsey/libphonenumber-for-php-lite from 8.13.45 to 8.13.48
2024-10-30 17:32:26 +01:00
Joas Schilling 5b3560b0fc Merge pull request #49023 from nextcloud/new-julius
chore: rename julius
2024-10-30 17:01:07 +01:00
Joas Schilling 78db0ed7d8 build(deps): Bump giggsey/libphonenumber-for-php-lite from 8.13.45 to 8.13.48
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-10-30 16:36:28 +01:00
Daniel Kesselberg b8a2468b05 chore: rename julius
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2024-10-30 16:24:59 +01:00
F. E Noel Nfebe 91fd814733 Merge pull request #49017 from nextcloud/fix/48415/do-not-rename-main-share-link
fix(ShareEntryLinkList): Append new links to the end of list
2024-10-30 15:53:10 +01:00
nextcloud-command a6ddb52087 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-10-30 14:05:02 +00:00
fenn-cs 0daacbe81d fix(ShareEntryLinkList): Append new links to the end of list
Currently new shares are added to beginning of the share list in the UI
messing up the ordering with the original (first) looking like the most
recent and the most recent looking like the original share. This error
disappears on refresh.

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

Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
2024-10-30 14:56:55 +01:00
Joas Schilling 1140e41db2 Merge pull request #48989 from nextcloud/dependabot/composer/aws/aws-sdk-php-3.324.13
build(deps): Bump aws/aws-sdk-php from 3.311.2 to 3.324.13 for PHP 8.4 compat
2024-10-30 13:54:08 +01:00
Ferdinand Thiessen 878ccc406b Merge pull request #48991 from nextcloud/fix/password-field-sharing
fix(files_sharing): Password field must not be required if already set
2024-10-30 13:40:19 +01:00
yemkareems 399b048b15 Merge pull request #48992 from nextcloud/fix/add-password-confirmation-to-save-global-creds
fix: add PasswordConfirmationRequired to saveGlobalCredentials
2024-10-30 17:05:08 +05:30
Joas Schilling e74ce1a1fd Merge pull request #48990 from nextcloud/ci/noid/update-integration-test-stuff
ci: Align integration test dependencies with 3rdparty/ for PHP 8.4 compatibility
2024-10-30 12:06:50 +01:00
yemkareems 3b6a36fae6 fix: add PasswordConfirmationRequired to saveGlobalCredentials
Co-authored-by: yemkareems <yemkareems@gmail.com>
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-10-30 10:54:49 +01:00
Kate d3910a432a Merge pull request #48986 from nextcloud/feat/systemtags-missing-attrs 2024-10-30 10:50:36 +01:00
Ferdinand Thiessen e13b6d3ee1 chore: Compile assets
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-10-30 10:31:18 +01:00
Ferdinand Thiessen abcb02f06e fix(files_sharing): Password field must not be required if already set
If there is already a password, there is no need to require the password
in the setting ('newPassword'). It is only required for new shares.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-10-30 10:30:09 +01:00
Benjamin Gaussorgues dac15d13d7 Merge pull request #48559 from nextcloud/fix/recently_active_pgsql 2024-10-30 10:09:01 +01:00
Joas Schilling a14d2c0f56 build(deps): Bump aws/aws-sdk-php from 3.311.2 to 3.324.13
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-10-30 09:59:28 +01:00
Benjamin Gaussorgues a40f21b4db chore(setupchecks): update translation for MySQL row format check
Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
2024-10-30 09:56:02 +01:00
Joas Schilling 86784ad873 ci: Bump behat/behat as well
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-10-30 09:04:05 +01:00
Benjamin Gaussorgues 49bd1754d4 fix(sharding): typo in addOrderBy
Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
2024-10-30 07:53:10 +01:00
Benjamin Gaussorgues 79db082fe6 fix(users): improve recently active search
- Remove DISTINCT clause to fix PgSQL
- Join user table only if necessary
- Don't show people who never connected in active list
- Add test

Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
2024-10-30 07:53:10 +01:00
Benjamin Gaussorgues 34ade098bd fix(users): use correct active user count
Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
2024-10-30 07:53:10 +01:00
John Molakvoæ 14ff0e49a6 Merge pull request #42610 from hellodarkness/patch-1 2024-10-30 07:51:20 +01:00
Nextcloud bot 7cdd7013ee Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-10-30 00:20:24 +00:00
Joas Schilling 37966c645e ci: Align integration test dependencies with 3rdaprty/
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-10-29 22:54:30 +01:00
Joas Schilling 3f6e70907b Merge pull request #48982 from nextcloud/dependabot/composer/sabre/dav-4.7.0
build: Update Sabre/DAV and siblings to PHP 8.4 compatible versions
2024-10-29 22:33:45 +01:00
Joas Schilling 3fff467cf0 build: Update Sabre/DAV and siblings to PHP 8.4 compatible versions
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-10-29 21:53:24 +01:00
Andrey Borysenko d266779fab Merge pull request #48665 from nextcloud/feat/settings/app_api_apps_management
feat(settings): migrate AppAPI ExApps management to settings
2024-10-29 21:24:48 +02:00
nextcloud-command c2f1c3dd82 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-10-29 19:02:46 +00:00
nextcloud-command be23e7d079 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-10-29 20:54:25 +02:00
nextcloud-command 2178f0b365 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-10-29 20:54:22 +02:00
Andrey Borysenko 24b221ca41 fix(ci): eslint fix, minor correction after rebase
Signed-off-by: Andrey Borysenko <andrey18106x@gmail.com>
2024-10-29 20:54:09 +02:00
Andrey Borysenko dcc09ff562 fix: loading state reactivity
Signed-off-by: Andrey Borysenko <andrey18106x@gmail.com>
2024-10-29 20:54:09 +02:00
Andrey Borysenko 93b5201385 fix(ci): fix eslint errors
Signed-off-by: Andrey Borysenko <andrey18106x@gmail.com>
2024-10-29 20:54:08 +02:00
Andrey Borysenko a12b4da6af fix(ci): psalm, suppress undefined for viewApps
Signed-off-by: Andrey Borysenko <andrey18106x@gmail.com>
2024-10-29 20:54:08 +02:00
Andrey Borysenko 87327552a2 fix: address review comments
Signed-off-by: Andrey Borysenko <andrey18106x@gmail.com>
2024-10-29 20:54:08 +02:00
Andrey Borysenko 6e75b41ece WIP: remove app_api_apps vuex store
Signed-off-by: Andrey Borysenko <andrey18106x@gmail.com>
2024-10-29 20:54:08 +02:00
Andrey Borysenko c8b35fa22f WIP: migrate to Pinia, minor fixes
Signed-off-by: Andrey Borysenko <andrey18106x@gmail.com>
2024-10-29 20:54:08 +02:00
Andrey Borysenko e4d586697c WIP: address review comments, small fixes
Signed-off-by: Andrey Borysenko <andrey18106x@gmail.com>
2024-10-29 20:54:08 +02:00
Andrey Borysenko 3a840c102a fix(ci): suppress UndefinedClass for AppAPI related classes since it's bundled
Signed-off-by: Andrey Borysenko <andrey18106x@gmail.com>
2024-10-29 20:54:07 +02:00
Andrey Borysenko 46e643b72a fix(ci): resolve eslint errors
Signed-off-by: Andrey Borysenko <andrey18106x@gmail.com>
2024-10-29 20:54:07 +02:00
Andrey Borysenko 2f25546fda WIP: minor fixes
Signed-off-by: Andrey Borysenko <andrey18106x@gmail.com>
2024-10-29 20:54:07 +02:00
Andrey Borysenko 70a8d26f5d WIP: add missing state checks
Signed-off-by: Andrey Borysenko <andrey18106x@gmail.com>
2024-10-29 20:54:07 +02:00
Andrey Borysenko 4f109beee7 WIP: use global mutation, since app_api_apps is namespaced
Signed-off-by: Andrey Borysenko <andrey18106x@gmail.com>
2024-10-29 20:54:07 +02:00
Andrey Borysenko a5291c68a2 WIP: add Daemon badge in app sidebar (2)
Signed-off-by: Andrey Borysenko <andrey18106x@gmail.com>
2024-10-29 20:54:07 +02:00
Andrey Borysenko 7e31088f5b feat(settings): migrate AppAPI ExApps management (1)
Signed-off-by: Andrey Borysenko <andrey18106x@gmail.com>
2024-10-29 20:54:06 +02:00
Andrey Borysenko 95b06309f3 feat(app_api): add initial state data for AppAPI UI part
Signed-off-by: Andrey Borysenko <andrey18106x@gmail.com>

# Conflicts:
#	apps/settings/lib/Controller/AppSettingsController.php

# Conflicts:
#	apps/settings/lib/Controller/AppSettingsController.php
2024-10-29 20:54:05 +02:00
skjnldsv d5475e9d05 chore(systemtags): add missing migration attributes
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2024-10-29 17:43:08 +01:00
John Molakvoæ 2d5060d1e3 Merge pull request #46151 from nextcloud/enh/do-not-enforce-cache-for-cli 2024-10-29 15:28:47 +01:00
John Molakvoæ 261fa636fa fix: adjust compromized British wording
Co-authored-by: Kate <26026535+provokateurin@users.noreply.github.com>
Signed-off-by: John Molakvoæ <skjnldsv@users.noreply.github.com>
2024-10-29 15:26:49 +01:00
John Molakvoæ ce2e1a001b Merge pull request #48725 from nextcloud/chore/remove-old-test 2024-10-29 15:18:17 +01:00
Ferdinand Thiessen d84600affa chore: Compile assets
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-10-29 14:30:24 +01:00
Ferdinand Thiessen fa502614fa test: Add proper styles for Cypress component tests
This also fixes Typescript issue but requires to slightly
adjust the Navigation test as the progress bar is not visible (because it is overlayed by another element).

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-10-29 14:28:58 +01:00
Ferdinand Thiessen 55595f61df refactor(federatedfilesharing): Replace deprecated functions
* Replace deprecated OC dialogs methods
* Replace deprecated global jQuery with axios
* Replace deprecated jQuery event with event bus
* Add component + unit tests for new dialog

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-10-29 14:28:58 +01:00
John Molakvoæ 9aec7b9b85 Merge pull request #48572 from nextcloud/fix/align-avatar-visibility 2024-10-29 14:27:10 +01:00
John Molakvoæ 4b59c9958f Merge pull request #48632 from nextcloud/artonge/fix/file_list_jump_on_viewer_close 2024-10-29 14:14:52 +01:00
John Molakvoæ 3438e1fe92 Merge pull request #48965 from nextcloud/feat/files-bulk-tagging-followup 2024-10-29 14:11:50 +01:00
Pytal daa09f863f Merge pull request #48542 from nextcloud/fix/cloud-id-input
fix: Move cloud id into readonly input
2024-10-29 05:55:35 -07:00
Joas Schilling 2cc0a78474 Merge pull request #48971 from Wertzui123/patch-1
Fix a typo (`a` -> `an` in front of `additional`)
2024-10-29 13:43:17 +01:00
nextcloud-command 8ff8ae4402 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-10-29 13:14:10 +01:00
Christopher Ng a60515cce9 fix: Move cloud id into readonly input
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2024-10-29 13:11:59 +01:00
Christopher Ng 556519d603 fix(settings): Align contents of profile picture heading
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2024-10-29 11:45:13 +01:00
Wertzui123 11450bd163 Fix a typo (a -> an in front of additional)
Signed-off-by: Wertzui123 <46199283+Wertzui123@users.noreply.github.com>
2024-10-29 11:43:27 +01:00
Louis Chemineau 7b27d052ad fix(files): Do not jump to top when fileId is set to currentFolder
Fix https://github.com/nextcloud/server/issues/48545

Signed-off-by: Louis Chemineau <louis@chmn.me>
2024-10-29 11:43:03 +01:00
skjnldsv 96583c9c9c fix(systemtags): set min height on picker note
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2024-10-29 11:38:55 +01:00
John Molakvoæ 11f0b0f817 Merge pull request #48766 from nextcloud/fix/fix-disabled-user-list-for-subadmins 2024-10-29 11:34:06 +01:00
John Molakvoæ ed14f5fee2 Merge pull request #48788 from nextcloud/fix/788/add-password-required-to-external-storages 2024-10-29 11:33:47 +01:00
John Molakvoæ e3e22e28c0 Merge pull request #47847 from nextcloud/fix-copying-or-moving-from-shared-groupfolders 2024-10-29 11:33:12 +01:00
skjnldsv 22d674be66 fix(core): use Types::STRING in etag systemtag migration
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2024-10-29 11:21:56 +01:00
John Molakvoæ 73fdf2c150 Merge pull request #48786 from nextcloud/feat/files-bulk-tagging 2024-10-29 11:20:28 +01:00
skjnldsv 3e6d18aaf6 fix(files_sharing): fix view only actions button selector
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2024-10-29 09:10:56 +01:00
skjnldsv 569f235560 fix(systemtags): no bulk action on public pages
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2024-10-29 09:10:56 +01:00
skjnldsv 1940b4f5cd chore: compile assets
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2024-10-29 09:10:54 +01:00
skjnldsv f536c86049 fix(systemtags): translations and etag method casing
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2024-10-29 09:08:31 +01:00
skjnldsv a4d7518e36 fix(systemtags): single-node bulk tagging action
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2024-10-29 09:08:31 +01:00
skjnldsv d51cf4536c feat(systemtags): add cypress tests and fix a few logic issues
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2024-10-29 09:08:31 +01:00
skjnldsv db546e1f55 feat(systemtags): create tag from bulk tagging dialog
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2024-10-29 09:08:31 +01:00
skjnldsv 2cc3771476 feat(systemtags): emit tags changes and optimise tag updates performances
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2024-10-29 09:08:31 +01:00
skjnldsv 14e2a8d3f9 feat(systemtags): add etag support and handle proppatch
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2024-10-29 09:08:31 +01:00
skjnldsv f24b93e506 feat(dav): add systemtag object IDs listing
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2024-10-29 09:08:30 +01:00
skjnldsv 0893d4b4d2 feat(core): add index to systemtag objecttype
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2024-10-29 09:08:30 +01:00
skjnldsv 405a267408 feat(systemtags): add bulk tagging action
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2024-10-29 09:08:30 +01:00
John Molakvoæ 6601c50b6d Merge pull request #48953 from nextcloud/dependabot/npm_and_yarn/elliptic-6.6.0 2024-10-29 07:35:02 +01:00
John Molakvoæ bd4c5e19c9 Merge pull request #48887 from nextcloud/fix/federated-users 2024-10-29 07:31:39 +01:00
SebastianKrupinski 165041746e feat: Allow shared calendars as appointment conflict calendars
Signed-off-by: SebastianKrupinski <krupinskis05@gmail.com>
2024-10-28 21:12:06 -04:00
dependabot[bot] 164a3b9a85 build(deps): bump elliptic from 6.5.7 to 6.6.0
Bumps [elliptic](https://github.com/indutny/elliptic) from 6.5.7 to 6.6.0.
- [Commits](https://github.com/indutny/elliptic/compare/v6.5.7...v6.6.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-10-29 00:57:02 +00:00
Nextcloud bot 6fa18c9a8a Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-10-29 00:20:19 +00:00
Ferdinand Thiessen d4acae6312 Merge pull request #47831 from nextcloud/fix/view-only-preview
fix: Adjust preview for view-only shares
2024-10-28 19:44:27 +01:00
Joas Schilling 8e6fd4d278 Merge pull request #48947 from nextcloud/bugfix/noid/mark-more-configs-as-sensitive
fix(config): Mark more configs as sensitive
2024-10-28 16:23:59 +01:00
Ferdinand Thiessen c84c256261 fix: Adjust preview for view-only shares
Previously there was a different behavior for public shares (link-shares) and internal shares,
if the user disabled the view permission.
The legacy UI for public shares simply "disabled" the context menu and hided all download actions.
With Nextcloud 31 all share types use the consistent permissions attributes,
which simplifies code, but caused a regression: Images can no longer been viewed.

Because on 30 and before the attribute was not set, previews for view-only files
were still allowed. Now with 31 we need a new way to allow "viewing" shares.

So this is allowing previews for those files, but only for internal usage.
This is done by settin a special header, which only works with custom requests,
and not by opening the URL directly.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-10-28 15:52:27 +01:00
Joas Schilling 988b6002ed Merge pull request #48921 from nextcloud/ci/psalm/imagick-extension
ci(psalm): Add missing imagick extension
2024-10-28 15:49:51 +01:00
Joas Schilling 1e5cb82cc1 fix(config): Mark more configs as sensitive
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-10-28 14:56:19 +01:00
Richard Steinmetz 2a437b4305 Merge pull request #48943 from nextcloud/feat/photo-cache-webp
feat: Allow WebP content type in PhotoCache
2024-10-28 14:33:55 +01:00
Ferdinand Thiessen 98cf1085f6 Merge pull request #48871 from nextcloud/fix/app-store-reactivity
fix(app-store): Update update count in navigation
2024-10-28 14:11:15 +01:00
Miguel Sánchez de León Peque f307ed8597 feat: Allow WebP content type in PhotoCache
Signed-off-by: Miguel Sánchez de León Peque <peque@ieco.io>
Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
2024-10-28 13:43:01 +01:00
Kate d25a0a2896 Merge pull request #48915 from nextcloud/fix/encrypt-decrypt-password 2024-10-28 13:26:55 +01:00
Kate 8b5e1bac90 Merge pull request #48918 from nextcloud/fix/files_sharing/cleanup-error-messages 2024-10-28 12:47:12 +01:00
yemkareems 34b07ace95 fix: crypto made inline for constructor and decrypt error handled in exception
Signed-off-by: yemkareems <yemkareems@gmail.com>
2024-10-28 16:43:24 +05:30
nextcloud-command 955f5914c0 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-10-28 11:13:09 +00:00
yemkareems 3fd16de636 fix: crypto made inline for constructor and decrypt error handled in exception
Signed-off-by: yemkareems <yemkareems@gmail.com>
2024-10-28 16:32:57 +05:30
Ferdinand Thiessen bcaf95425a fix(app-store): Update update count in navigation
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-10-28 12:01:58 +01:00
Kate e8dbf022c9 Merge pull request #48919 from nextcloud/fix/settings/userid-dependency-injection 2024-10-28 11:44:16 +01:00
Ferdinand Thiessen 86006368bf Merge pull request #48912 from nextcloud/bugfix/exception-appscreenshot-notstring
fix(apps-store): Fix exception on generating preview url for installed app screenshot
2024-10-28 11:32:15 +01:00
yemkareems 79b1122749 fix: use Icrypto in place of Cypto
Signed-off-by: yemkareems <yemkareems@gmail.com>
2024-10-28 15:49:05 +05:30
yemkareems a74ef8237d fix: crypto type made not nullable and tests run using ICrypto
Signed-off-by: yemkareems <yemkareems@gmail.com>
2024-10-28 15:04:11 +05:30
Kate 5efb175665 Merge pull request #48614 from nextcloud/refactor/storage/constructors 2024-10-28 10:19:41 +01:00
Kate 2eaa9f79b4 Merge pull request #48917 from nextcloud/fix/dav/view-only-check 2024-10-28 10:19:09 +01:00
provokateurin 3a39f4a65e ci(psalm): Add missing imagick extension
Signed-off-by: provokateurin <kate@provokateurin.de>
2024-10-28 09:14:22 +01:00
provokateurin aacb3ddc1e fix(files_sharing): Cleanup error messages
Signed-off-by: provokateurin <kate@provokateurin.de>
2024-10-28 09:07:41 +01:00
Joas Schilling 220bd3422f fix(appinfo): Make sure screenshot, author and category are always arrays
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-10-28 08:46:31 +01:00
Claudio Cambra 5969b4bea8 fix(appsmanagement): Fix exception on generating preview url for screenshots
Some installed apps meant for older server versions might unexpectedly
offer up screenshot values in a non-string format (e.g. health). Avoid
an exception by checking first if the first app screenshot is indeed a
string and otherwise we take the value of the parameter

Signed-off-by: Claudio Cambra <developer@claudiocambra.com>
2024-10-28 08:29:16 +01:00
provokateurin 35d614057c fix(settings): Fix dependency injection
Signed-off-by: provokateurin <kate@provokateurin.de>
2024-10-28 08:14:17 +01:00
provokateurin bb7841998b fix(dav): Cleanup view-only check
Signed-off-by: provokateurin <kate@provokateurin.de>
2024-10-28 08:02:42 +01:00
yemkareems 505dfd65fd fix: encrypt and store password, decrypt and retrieve the same
Signed-off-by: yemkareems <yemkareems@gmail.com>
2024-10-28 11:22:36 +05:30
Nextcloud bot e6c11e1be0 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-10-28 00:20:34 +00:00
Nextcloud bot 75e9be595b Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-10-27 00:22:10 +00:00
Nextcloud bot c3ac8bf89a Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-10-26 00:20:19 +00:00
Joas Schilling 7b36547f13 Merge pull request #48898 from nextcloud/fix/files--list-header-button-title
fix(files): add title for files list table header button
2024-10-25 22:50:48 +02:00
Grigorii K. Shartsev 4010f7e64b chore(assets): Recompile assets
Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
2024-10-25 18:14:14 +02:00
Grigorii K. Shartsev f7498d0069 fix(files): add title for files list table header button
Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
2024-10-25 18:06:33 +02:00
Josh 102d73fbbe Merge pull request #48895 from nextcloud/jtr/chore-bug-report-logs
chore: Clarify log entry requirements in bug report form
2024-10-25 10:21:09 -04:00
Josh ac6c85c838 chore: Clarify log entry requirements in bug report form
Signed-off-by: Josh <josh.t.richards@gmail.com>
2024-10-25 09:50:17 -04:00
Daniel 4f6667a9c9 Merge pull request #48892 from nextcloud/update-stale-bot-configuration
chore: don't remove needs info label when commenting on a stale issue
2024-10-25 15:19:01 +02:00
Joas Schilling 631f6d482e Merge pull request #48884 from nextcloud/bugfix/noid/allow-to-force-db-throttler
feat(bruteforce): Allow forcing the database throttler
2024-10-25 15:03:27 +02:00
Grigorii K. Shartsev 92179c8175 Merge pull request #48625 from nextcloud/fix/files--handle-empty-view-with-error
fix(files): handle empty view with error
2024-10-25 17:27:04 +05:00
Daniel Kesselberg 31eed47868 chore: don't remove needs info label when commenting on a stale issue
1) Removing the "needs info" label when someone comments on a stale issue seems incorrect.
2) By default, the stale action removes the "stale" label upon commenting. However, the labels-to-remove-when-unstale option triggers an additional API request to remove the "stale" label, which was already removed in the previous API call.

Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2024-10-25 14:14:35 +02:00
Grigorii K. Shartsev ed9fdbad6e chore(assets): Recompile assets
Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
2024-10-25 13:19:25 +02:00
Grigorii K. Shartsev 18d52323dd refactor(files): migrate to @nextcloud/sharing
Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
2024-10-25 13:01:43 +02:00
Grigorii K. Shartsev 080a8c7f1c fix(files): handle empty view with error
Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
2024-10-25 13:01:43 +02:00
Grigorii K. Shartsev 2696715d90 chore(files): migrate davUtils to TS
Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
2024-10-25 13:01:30 +02:00
nextcloud-command cdd62ec85a chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-10-25 10:26:35 +00:00
skjnldsv a1ffa84eda fix(files_sharing): federated shares avatar
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2024-10-25 12:18:40 +02:00
Nextcloud bot 7723faf51a Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-10-25 00:20:05 +00:00
F. E Noel Nfebe ccd14f3a65 Merge pull request #48882 from nextcloud/safety-net-null-check
refactor(ShareApiController): Check for null and empty strings with e…
2024-10-25 00:53:22 +02:00
Joas Schilling 6854af0cc4 feat(bruteforce): Allow forcing the database throttler
Using the database is most likely worse for performance, but makes investigating
issues a lot easier as it's possible to look directly at the table to see all
logged remote addresses and actions.

Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-10-24 22:04:41 +02:00
fenn-cs 227b8462d8 refactor(ShareApiController): Check for null and empty strings with empty()
Proactive measure to avoid warnings in higher php versions as well possible type errors

Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
2024-10-24 18:37:42 +01:00
F. E Noel Nfebe bc6a3e8159 Merge pull request #48381 from nextcloud/fix/48012/fix-share-email-send-mail-share
fix(ShareAPI): Send mails for mail shares by default
2024-10-24 18:28:12 +02:00
fenn-cs e2d2a17810 fix(ShareAPI): Send mails for mail shares by default
It looks like, the frontend it needs to provide the `sendMail` param
for the backend to decide wether mails would be sent.

Our UI does not have that at the moment so it should default to sending
emails always for mail shares.

Not exactly sure how this was handled earlier but this is a good starting point.

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

Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
2024-10-24 14:41:07 +01:00
Ferdinand Thiessen 4176708797 Merge pull request #48874 from nextcloud/jtr/setup-checks-heading
fix(settings): Change "setup warnings" -> "setup checks" in Overview
2024-10-24 13:09:18 +02:00
Julien Veyssier 67fbce5407 Merge pull request #48863 from nextcloud/fix/noid/textprocessing-list-types
[TextProcessing] Fix: Also list types that are available in task processing
2024-10-24 12:51:55 +02:00
Julien Veyssier 5362486ca9 feat(textprocessing): factorize taskProcessingCompatibleTaskTypes
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
2024-10-24 12:34:33 +02:00
Julien Veyssier 54cebc2136 fix(textprocessing): also list types that are available in task processing
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
2024-10-24 11:28:16 +02:00
Nextcloud bot f1684ff77e Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-10-24 00:20:18 +00:00
Josh 4c9877c082 fix(settings): Change "setup warnings" -> "setup checks" in Overview
Signed-off-by: Josh <josh.t.richards@gmail.com>
2024-10-23 17:31:59 -04:00
Ferdinand Thiessen a1efa39a9e Merge pull request #48864 from nextcloud/fix/invalid-app-config
fix(settings): Do not use `null` on `string` parameter for sharing disclaimer
2024-10-23 20:58:44 +02:00
Ferdinand Thiessen e058820195 chore: Compile assets
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-10-23 20:12:37 +02:00
Ferdinand Thiessen 6d2c63ecff fix(settings): Do not use null on string parameter for sharing disclaimer
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-10-23 20:12:32 +02:00
Ferdinand Thiessen 8bdf8bc7f3 Merge pull request #48852 from nextcloud/fix/app-store-markdown
fix(app-store): Correctly render Markdown in app description
2024-10-23 19:51:47 +02:00
Kate c00d49bb55 Merge pull request #48867 from nextcloud/fix/apps/wrong-missing-casts 2024-10-23 17:47:25 +02:00
nextcloud-command 169ba6740f chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-10-23 15:20:48 +00:00
Kate b5ac989ecd Merge pull request #48854 from nextcloud/fix/proxy-app-screenshot 2024-10-23 17:18:13 +02:00
Ferdinand Thiessen 6e98faae91 fix(app-store): Correctly render Markdown in app description
This seems to be broken by an update because the renderer now passes an object instead of multiple arguments to the render functions.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-10-23 17:08:36 +02:00
provokateurin f25a71806b fix(apps): Fix wrong or missing casts
Signed-off-by: provokateurin <kate@provokateurin.de>
2024-10-23 17:08:29 +02:00
Ferdinand Thiessen 1f1760454f Merge pull request #48853 from nextcloud/fix/app-store-groups
fix(app-store): Ensure the `groups` property is always an array
2024-10-23 17:04:18 +02:00
Ferdinand Thiessen d915a7ce0e Merge pull request #48850 from nextcloud/fix/unified-search-ctrl-f
fix(unified-search): Close on second ctrl+f
2024-10-23 15:11:26 +02:00
Louis b0197c5dfc Merge pull request #48851 from nextcloud/artonge/fix/uid_type
Fix $uid type in Encryption stream
2024-10-23 14:13:33 +02:00
Joas Schilling 8f59997689 Merge pull request #48837 from nextcloud/followup/47329/add-all-types-to-handling
fix(entity): Fix mapping of old/sub-types to actually supported datab…
2024-10-23 13:47:42 +02:00
Ferdinand Thiessen 2055516cd8 Merge pull request #48839 from nextcloud/build/translation-checker-print-rtl-limited-characters
build: Print RTL limited characters in translation-checker
2024-10-23 13:42:27 +02:00
Ferdinand Thiessen 3b6915e96d fix(app-store): Also proxy images of locally installed apps
Before this only app store apps got their screenshots proxied,
but this will cause locally installed apps to not be correctly shown on the app-store.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-10-23 13:36:27 +02:00
Ferdinand Thiessen 9955b13564 fix(app-store): Ensure the groups property is always an array
If the value was a string, like a single group, then `json_decode` will also yield only a string.
So in this case we ensure the property is always an array with that value.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-10-23 13:32:36 +02:00
Ferdinand Thiessen ed2295a05b chore: Compile assets
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-10-23 13:26:25 +02:00
provokateurin 0de4843b73 refactor(Storage): Align all Storage constructors
Signed-off-by: provokateurin <kate@provokateurin.de>
2024-10-23 13:24:18 +02:00
Ferdinand Thiessen d7376891a2 fix(unified-search): Close on second ctrl+f
Also only add the event listener if short-cuts are not disabled for accessibility reasons.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-10-23 13:24:07 +02:00
Louis 5f69d8d891 fix: $uid type in Encryption stream
As explained by the comment.

Signed-off-by: Louis <louis@chmn.me>
Signed-off-by: Louis Chemineau <louis@chmn.me>
2024-10-23 13:20:40 +02:00
Joas Schilling 61e3fa054d build: Show the actual string
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-10-23 09:39:57 +02:00
Joas Schilling 54c3aa3f99 fix(entity): Fix mapping of old/sub-types to actually supported database types
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-10-23 09:22:05 +02:00
Nextcloud bot 74cd6e295a Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-10-23 00:24:03 +00:00
Nextcloud bot 8e4ac51110 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-10-22 12:31:18 +00:00
Nextcloud bot 485fed672a Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-10-22 11:39:20 +00:00
provokateurin f660e4c09f build: Print RTL limited characters in translation-checker
Signed-off-by: provokateurin <kate@provokateurin.de>
2024-10-22 13:03:06 +02:00
Kate 070adc1131 Merge pull request #48790 from nextcloud/refactor/apps/constructor-property-promotion 2024-10-22 12:47:45 +02:00
Kate 582af10e0b Merge pull request #48756 from nextcloud/build/autoloader/remove-noisy-changes 2024-10-22 11:20:10 +02:00
Ferdinand Thiessen 68c73fbad6 Merge pull request #48799 from nextcloud/fix/people-translation
fix(files_sharing): Add correct context to translation
2024-10-22 03:54:27 +02:00
Nextcloud bot 2c5c31f395 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-10-22 00:22:32 +00:00
Ferdinand Thiessen df353f3773 Merge pull request #48728 from nextcloud/fix/nav-quota-new-design
fix(files): Adjust NavigationQuota for Nextcloud 30 design
2024-10-21 23:07:47 +02:00
nextcloud-command 8e4be14897 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-10-21 22:56:18 +02:00
Ferdinand Thiessen d0c660a1da fix(files): Adjust NavigationQuota for Nextcloud 30 design
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-10-21 22:56:11 +02:00
Sebastian Krupinski 5b6dd47fef Merge pull request #48583 from nextcloud/fix/overide-itip-broker
fix: override iTip Broker to fix several issues
2024-10-21 14:41:57 -04:00
SebastianKrupinski 3f4210e737 fix: override iTip Broker to fix several issues
Signed-off-by: SebastianKrupinski <krupinskis05@gmail.com>
2024-10-21 14:21:28 -04:00
SebastianKrupinski de22119775 fix: RDATE and EXDATE property instances
Signed-off-by: SebastianKrupinski <krupinskis05@gmail.com>
2024-10-21 14:08:43 -04:00
Kate 432ea6e714 Merge pull request #48758 from nextcloud/feat/files/chunked-upload-config-capabilities 2024-10-21 15:46:36 +02:00
nextcloud-command 4bed6a206b chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-10-21 11:02:20 +00:00
Ferdinand Thiessen 8e5b642685 fix(files_sharing): Add correct context to translation
This string is extracted in the `files_sharing` app so it needs to be accessed there and not on `files`.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-10-21 12:46:56 +02:00
provokateurin e8426996f5 fix(psalm): Fix some newly detected issues
Signed-off-by: provokateurin <kate@provokateurin.de>
2024-10-21 12:37:59 +02:00
provokateurin 381077028a refactor(apps): Use constructor property promotion when possible
Signed-off-by: provokateurin <kate@provokateurin.de>
2024-10-21 12:37:59 +02:00
provokateurin ba3d67d2a0 feat(files): Expose chunked upload config via capabilities
Signed-off-by: provokateurin <kate@provokateurin.de>
2024-10-21 12:03:33 +02:00
Louis 4d8d11d2f7 Merge pull request #48809 from nextcloud/rakekniven-patch-1
chore(i18n): Improved grammar
2024-10-21 10:03:26 +02:00
Nextcloud bot 488055e37e Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-10-21 00:20:31 +00:00
nextcloud-command c1c02ed1f9 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-10-20 13:11:34 +00:00
Joas Schilling 64cbf914eb Merge pull request #48812 from nextcloud/bugfix/noid/fix-download-activity-parameters
fix(activity): Fix download activity parameters
2024-10-20 08:02:41 +02:00
Nextcloud bot abdffe3676 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-10-20 00:20:35 +00:00
Joas Schilling 5262bc6be3 fix(activity): Fix download activity parameters
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-10-19 22:50:44 +02:00
rakekniven d852d6e723 chore(i18n): Improved grammar
Signed-off-by: rakekniven <2069590+rakekniven@users.noreply.github.com>
2024-10-19 11:41:06 +02:00
Kate 85046e7e9d Merge pull request #48804 from nextcloud/dependabot/composer/vendor-bin/openapi-extractor/nextcloud/openapi-extractor-1.0.1 2024-10-19 08:46:08 +02:00
Kate 9f8ad0998d Merge pull request #48806 from nextcloud/dependabot/composer/vendor-bin/cs-fixer/nextcloud/coding-standard-1.3.2 2024-10-19 08:34:13 +02:00
Joas Schilling 0d4779c917 Merge pull request #48775 from nextcloud/automated/noid/master-update-code-signing-crl
[master] fix(security): Update code signing revocation list
2024-10-19 08:22:54 +02:00
dependabot[bot] bb598c8451 chore(deps): Bump nextcloud/coding-standard in /vendor-bin/cs-fixer
Bumps [nextcloud/coding-standard](https://github.com/nextcloud/coding-standard) from 1.3.1 to 1.3.2.
- [Release notes](https://github.com/nextcloud/coding-standard/releases)
- [Changelog](https://github.com/nextcloud/coding-standard/blob/master/CHANGELOG.md)
- [Commits](https://github.com/nextcloud/coding-standard/compare/v1.3.1...v1.3.2)

---
updated-dependencies:
- dependency-name: nextcloud/coding-standard
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: provokateurin <kate@provokateurin.de>
2024-10-19 07:57:35 +02:00
dependabot[bot] 9bfd565e1b chore(deps): Bump nextcloud/openapi-extractor
Bumps [nextcloud/openapi-extractor](https://github.com/nextcloud-releases/openapi-extractor) from 1.0.0 to 1.0.1.
- [Changelog](https://github.com/nextcloud-releases/openapi-extractor/blob/main/CHANGELOG.md)
- [Commits](https://github.com/nextcloud-releases/openapi-extractor/compare/v1.0.0...v1.0.1)

---
updated-dependencies:
- dependency-name: nextcloud/openapi-extractor
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: provokateurin <kate@provokateurin.de>
2024-10-19 07:54:19 +02:00
nextcloud-command 86892443d3 fix(security): Update code signing revocation list
Signed-off-by: GitHub <noreply@github.com>
2024-10-19 02:29:32 +00:00
Nextcloud bot 603890e951 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-10-19 00:22:55 +00:00
Marcel Müller a2c4cb6c33 Merge pull request #48787 from nextcloud/ci/noid/enable-required-php-extensions
ci: Update list of installed PHP extensions (as some are not default …
2024-10-18 21:51:43 +02:00
Ferdinand Thiessen 2ef74b9860 Merge pull request #47329 from nextcloud/feat/add-datetime-qbmapper-support
feat(AppFramework): Add full support for date / time / datetime columns
2024-10-18 19:05:08 +02:00
Benjamin Gaussorgues 7e99fd31ea Merge pull request #48547 from nextcloud/feat/row_format_check 2024-10-18 11:59:58 +02:00
Kate d0625645fb Merge pull request #48765 from nextcloud/dbQueriesExecStmt2 2024-10-18 11:45:09 +02:00
yemkareems 08f3e44d4a fix: cs fix namespace
Signed-off-by: yemkareems <yemkareems@gmail.com>
2024-10-18 14:34:39 +05:30
yemkareems 18c0c28bce fix: add PasswordConfirmationRequired to the eternal storages mentioned in review
Signed-off-by: yemkareems <yemkareems@gmail.com>
2024-10-18 14:04:34 +05:30
Joas Schilling 8a2ad627a0 ci: Update list of installed PHP extensions (as some are not default enabled in new images)
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-10-18 09:56:56 +02:00
Christoph Wurst 0c67541e76 Merge pull request #48418 from nextcloud/config-carddav-sync-request-timeout
feat: configurable request timeout for carddav sync
2024-10-18 09:39:36 +02:00
Joas Schilling e65f310bf4 Merge pull request #48760 from nextcloud/feat/noid/support-email-mentions
feat(comments): Support mentioning emails
2024-10-18 08:20:01 +02:00
Joas Schilling 882f91605b fix(comments): Add test for email mention
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-10-18 07:39:41 +02:00
Nextcloud bot 91614c29cd Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-10-18 00:20:24 +00:00
Pablo Zmdl 742764bd4e chore: Use constant for default value
Co-authored-by: Thomas Citharel <nextcloud@tcit.fr>
Signed-off-by: Pablo Zmdl <57864086+pabzm@users.noreply.github.com>
2024-10-17 22:27:10 +02:00
Pablo Zmdl 280adb3e94 feat: configurable request timeout for carddav sync
Big federated setups may need a longer timeout, which they now can
configure.

Signed-off-by: Pablo Zmdl <pablo@nextcloud.com>
Co-authored-by: Josh <josh.t.richards@gmail.com>
2024-10-17 22:27:10 +02:00
Git'Fellow a1681b0756 chore(db): Apply query prepared statements
Fix: psalm

fix: bad file

fix: bug

chore: add batch

chore: add batch

chore: add batch

fix: psalm
2024-10-17 20:30:47 +02:00
Ferdinand Thiessen 0e54c2bd43 fix: Adjust Entity types
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-10-17 18:31:44 +02:00
Ferdinand Thiessen db94e10af0 fix: Prevent breaking change in IQueryBuilder
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-10-17 18:31:44 +02:00
Ferdinand Thiessen e314d52118 fix: Adjust parameter type usage and add SQLite support
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-10-17 18:31:44 +02:00
Ferdinand Thiessen ee02e3246d feat(AppFramework): Add full support for date / time / datetime columns
This adds support for all Doctrine supported types, for the column types only the immutable variants needed to be added.
But especially those types are the important ones, as our **Entity** class works by detecting changes through setters.
Meaning if it is mutable, changes like `$entity->date->modfiy()` can not be detected, so the immutable types make more sense here.

Similar the parameter types needed to be added.

`Enity` and `QBMapper` needed to be adjusted so they support (auto map) those types, required when insert or update an entity.

Also added more tests, especially to make sure the mapper really serializes the values correctly.

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-10-17 18:31:42 +02:00
Côme Chilliet c6a06b1511 fix(provisioning_api): Fix getting disabled users for group admins
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-10-17 15:44:42 +02:00
Côme Chilliet 0353134a45 chore(provisioning_api): Add tests for getDisabledUserDetails
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-10-17 15:43:57 +02:00
Joas Schilling b61a8cfeba fix(comments): Document supported types and provide psalm typing
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-10-17 14:27:42 +02:00
Joas Schilling 9d6c0afad6 feat(comments): Support mentioning emails
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-10-17 14:27:42 +02:00
Joas Schilling 40fd76f69e Merge pull request #48724 from nextcloud/dbQueriesExecStmt
chore(db): Apply query prepared statements
2024-10-17 11:29:46 +02:00
Git'Fellow c254855222 chore(db): Correctly apply query types
fix: psalm

fix: error

fix: add batch

fix: fatal error

fix: add batch

chore: add batch

chore: add batch

fix: psalm

fix: typo

fix: psalm

fix: return bool

fix: revert Manager
2024-10-17 09:21:07 +02:00
provokateurin 0528eaa71b build(autoloader): Remove noisy changes when regenerating
Signed-off-by: provokateurin <kate@provokateurin.de>
2024-10-17 09:20:36 +02:00
Kate 4100f583f0 Merge pull request #48743 from nextcloud/fix/45717/hide-last-modified-for-shipped-apps 2024-10-17 08:59:02 +02:00
Joas Schilling 681ee75ab9 Merge pull request #48734 from nextcloud/fix/45884/accept-notification
fix: get rid of denied notification when accept
2024-10-17 08:39:21 +02:00
yemkareems de9f5c4ec6 Merge pull request #48373 from nextcloud/fix/788/add-password-confirmation-required-to-user-storage-create
fix: add PasswordConfirmationRequired to create user storages endpoint
2024-10-17 11:10:19 +05:30
yemkareems 1e13776a87 Merge branch 'master' into fix/788/add-password-confirmation-required-to-user-storage-create 2024-10-17 09:57:12 +05:30
Nextcloud bot d4dffc1566 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-10-17 00:21:11 +00:00
Pytal 94692cd57b Merge pull request #46124 from nextcloud/fix/ownership-transfer-source-user-files
fix: Fix "Unknown path" error when source user `files` folder has not been initialized
2024-10-16 16:06:23 -07:00
Christopher Ng 7ba52eae35 refactor: Inject IRootFolder
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2024-10-16 15:28:12 -07:00
Christopher Ng 53f0b3789e fix: Fix "Unknown path" error when source user files folder has not been initialized
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2024-10-16 15:26:33 -07:00
Marcel Müller 74d179edf3 fix(appstore): Hide last modified information for shipped apps
Signed-off-by: Marcel Müller <marcel-mueller@gmx.de>
2024-10-16 23:51:56 +02:00
Ferdinand Thiessen 923ce7b937 Merge pull request #48735 from nextcloud/fix/eslint-warning
refactor(code-style): Adjust JS code to our code style
2024-10-16 22:55:56 +02:00
nextcloud-command 0032461692 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-10-16 22:18:44 +02:00
Ferdinand Thiessen e8c1e2c611 fix(code-style): Adjust JS code to our code style
This resolves 68 ESLint warnings about invalid code style.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-10-16 22:11:59 +02:00
Maksim Sukharev 73b34bba7b fix: add notification icon for transfer ownership
Signed-off-by: Maksim Sukharev <antreesy.web@gmail.com>
2024-10-16 17:31:57 +02:00
Maksim Sukharev 6e7c35d77e fix: do not duplicate existing entity
- this reverts 1e8048abee

Signed-off-by: Maksim Sukharev <antreesy.web@gmail.com>
2024-10-16 17:31:57 +02:00
Maksim Sukharev 5be76411fa fix: dismiss notification only after transfer bg job created
- do not create 'denied' notification if bg job exists

Signed-off-by: Maksim Sukharev <antreesy.web@gmail.com>
2024-10-16 17:31:57 +02:00
Anna Larch cafe5ec539 fix(caldav): broken activity rich objects
Signed-off-by: Anna Larch <anna@nextcloud.com>
2024-10-16 17:18:45 +02:00
Ferdinand Thiessen 3e387d427e fix: Add frontend code for password confirmation
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-10-16 16:49:18 +02:00
yemkareems b86dc076b5 fix: add PasswordConfirmationRequired to update and delete method
Signed-off-by: yemkareems <yemkareems@gmail.com>
2024-10-16 16:49:13 +02:00
yemkareems d3f1b76ebb fix: add PasswordConfirmationRequired to create user storages endpoint
Signed-off-by: yemkareems <yemkareems@gmail.com>
2024-10-16 16:49:06 +02:00
Robin Appelman 0741373f94 fix: log a warning when we can't build a background job
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-10-16 15:29:25 +02:00
Ferdinand Thiessen 5be832344e Merge pull request #48425 from nextcloud/fix/files-rename
fix(files): Ensure renaming state is correctly reset
2024-10-16 13:12:00 +02:00
Ferdinand Thiessen 9692da4a4b Merge pull request #48696 from nextcloud/fix/share-notifications
fix(files_sharing): Add proper user facing messages on success
2024-10-16 12:49:38 +02:00
nextcloud-command 8e599600fb chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-10-16 12:12:05 +02:00
Ferdinand Thiessen 0ccced8664 fix(files_sharing): Add proper user facing messages on success
1. Use proper translated strings
2. Fix invalid use of translation message on API result
3. Log all errors

Co-authored-by: Ferdinand Thiessen <opensource@fthiessen.de>
Co-authored-by: Pytal <24800714+Pytal@users.noreply.github.com>
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-10-16 12:09:53 +02:00
Richard Steinmetz cbcc8fc1a9 fix(caldav): duration handling in the event reader class
Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
2024-10-16 09:55:30 +02:00
Nextcloud bot 94e1241c58 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-10-16 00:20:20 +00:00
Ferdinand Thiessen bcfb02f5d7 refactor(files): Migrate from event listener to class based declarative settings
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-10-15 20:35:30 +02:00
Ferdinand Thiessen 9a7e1bb227 feat(DeclarativeSettings): Allow to implement value getter and setter directly in Form
Instead of implementing the form class, a setter event listener and a getter event listener,
this allows to simply write a basic class that provides `getSchema`, `setValue` and `getValue` functions.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-10-15 20:33:45 +02:00
Ferdinand Thiessen 5b007b7b32 Merge pull request #48332 from nextcloud/chore/migrate-encryption-away-from-hooks
refactor(encryption): Migrate from hooks to events
2024-10-15 19:17:19 +02:00
Ferdinand Thiessen b4ec7ca559 chore: Unify user related events to always provide a getUid method
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-10-15 18:33:11 +02:00
Ferdinand Thiessen f3aa004b1c refactor(encryption): Migrate away from Hooks to typed events
Co-authored-by: Ferdinand Thiessen <opensource@fthiessen.de>
Co-authored-by: Louis <louis@chmn.me>
Co-authored-by: Côme Chilliet <91878298+come-nc@users.noreply.github.com>
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-10-15 18:33:06 +02:00
nextcloud-command 4da970455a chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-10-15 16:30:25 +00:00
Ferdinand Thiessen ef5a9cf00d fix(files): Ensure renaming state is correctly reset
Problem: Is a node is renamed and the new name is out of the current
visible list of nodes the component will be recycled, this means
the props will change, so when the `onRename` functions is about to reset
the state the `this.source` will point to a different node.

To fix this, but also to separate business logic from visual representation,
the logic is moved into the renaming store and the component is only
responsible for rendering.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-10-15 18:20:16 +02:00
Christoph Wurst cd3dc1719b Merge pull request #48684 from nextcloud/bug/noid/codeowners-caldav-carddav
chore: request review from groupware when changing the card- and cald…
2024-10-15 15:54:16 +02:00
Ferdinand Thiessen a5d8f4c8b6 Merge pull request #48702 from nextcloud/chore/update-sass-loader
chore: migrate from deprecated SASS API and SASS JS API
2024-10-15 15:11:41 +02:00
Côme Chilliet dc92218d6d Merge pull request #48371 from nextcloud/fix/rector-use-statements
Auto import Nextcloud classes in rector runs
2024-10-15 11:45:10 +02:00
Côme Chilliet be80943686 chore: Update baseline after rector refactoring
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-10-15 10:47:38 +02:00
Côme Chilliet 1580c8612b chore(apps): Apply new rector configuration to autouse classes
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-10-15 10:40:25 +02:00
Côme Chilliet 4ff9b3e0ce feat(rector): Skip classes with a name too common from auto use statement
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-10-15 10:38:21 +02:00
Kate cbcbe8a83c Merge pull request #48682 from nextcloud/fix/appconfig/sensitive-keys-external-jwt-private-key 2024-10-15 10:38:16 +02:00
Côme Chilliet 28153443a5 chore(rector): Add rule to import Nextcloud classes in all files
We skip all files outside of OC/OCA/OCP from "use" auto-import because
 it’s not always desirable to import classes when they have generic
 names, so it should be the developer choice.

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-10-15 10:38:05 +02:00
John Molakvoæ 832695d565 Merge pull request #48206 from nextcloud/feat/systemtags-public 2024-10-15 09:15:16 +02:00
Nextcloud bot 07f822c916 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-10-15 00:20:12 +00:00
Ferdinand Thiessen b964e05312 Merge pull request #48673 from nextcloud/fix/null-label
fix(share): Return empty string if no label is set
2024-10-14 19:10:12 +02:00
Grigorii K. Shartsev 39ebc6ebc2 chore(assets): recompile assets
Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
2024-10-14 18:54:32 +02:00
Grigorii K. Shartsev 7e03371dd7 chore(sass): migrate from deprecated mixed decls
Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
2024-10-14 18:52:36 +02:00
Grigorii K. Shartsev 958371b6b8 chore(sass): migrate from deprecated SASS api
Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
2024-10-14 18:52:36 +02:00
Grigorii K. Shartsev 1fba65545b chore(webpack): migrate to node-polyfill-webpack-plugin v4
Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
2024-10-14 18:52:36 +02:00
Grigorii K. Shartsev 6fbfdfe607 chore(devDeps): bump @nextcloud/webpack-vue-config and style related loaders
Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
2024-10-14 18:37:00 +02:00
Ferdinand Thiessen 3d2039f041 Merge pull request #48687 from nextcloud/chore/gender-neutral-language
chore: Use more gender neutral language
2024-10-14 18:13:30 +02:00
Côme Chilliet d6ba524263 fix: Use getRelativePath method to check if node is inside folder
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-10-14 17:23:29 +02:00
Ferdinand Thiessen 262ed0ffeb Merge pull request #48650 from nextcloud/fix/shipped-app-version
fix: Shipped apps should include the Nextcloud version in the cache buster
2024-10-14 17:22:24 +02:00
Joas Schilling f07993173a Merge pull request #48604 from nextcloud/bugfix/noid/fix-tainted-file-appinfo
fix(appmanager): Fix tainted file path when loading appinfos
2024-10-14 17:03:09 +02:00
Ferdinand Thiessen 980ab1f56b fix: Shipped apps should include the Nextcloud version in the cache buster
Co-authored-by: Ferdinand Thiessen <opensource@fthiessen.de>
Co-authored-by: Kate <26026535+provokateurin@users.noreply.github.com>
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-10-14 16:04:13 +02:00
Git'Fellow ef532fefda Merge pull request #48689 from nextcloud/mixedSetTTL
fix(locking): Accept mixed as value on setTTL
2024-10-14 15:43:08 +02:00
Ferdinand Thiessen 64dd4ce0ee revert: "fix(files_sharing): Make share labels nullable"
This reverts commit 01c4fa3ba8.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-10-14 15:16:25 +02:00
Ferdinand Thiessen 2e4d3e4e75 fix(share): Return empty string if no label is set
* Resolves: https://github.com/nextcloud/server/issues/48629

While the database supports NULL, the typing has always said it only returns *string*.
So to not break any apps that might trust the typings we should return `''` if the database is set to `NULL`.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-10-14 15:15:51 +02:00
Joas Schilling 07449847e1 fix(appmanager): Fix tainted file path when loading appinfos
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-10-14 14:33:19 +02:00
nextcloud-command 46e844d14d chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-10-14 13:59:24 +02:00
provokateurin 51d9d63a01 chore: Use more gender neutral language
Signed-off-by: provokateurin <kate@provokateurin.de>
2024-10-14 13:59:24 +02:00
Git'Fellow 8f7784bdf9 fix(locking): Accept mixed as value on setTTL
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
2024-10-14 12:17:27 +02:00
Côme Chilliet e584e9baf7 fix: Fix promotion of reshares from subsubfolders
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-10-14 11:58:47 +02:00
Côme Chilliet 38f3d7e8c7 fix(tests): Revert changes to tests now that reshares are not deleted but promoted
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-10-14 11:58:47 +02:00
Côme Chilliet 3ee5bf6af1 fix(tests): Fix share tests to test new reshare promotion system
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-10-14 11:58:47 +02:00
Côme Chilliet 3094e7020e chore: Add comment to make code clearer
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-10-14 11:58:47 +02:00
Côme Chilliet 6bd597b275 chore: Turn method description into phpdoc
Co-authored-by: Ferdinand Thiessen <opensource@fthiessen.de>
Signed-off-by: Côme Chilliet <91878298+come-nc@users.noreply.github.com>
2024-10-14 11:58:47 +02:00
Côme Chilliet d78f8280e8 fix(shares): Promote reshares into direct shares when share is deleted
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-10-14 11:58:47 +02:00
Côme Chilliet 7a48f8d929 fix: Transfer incomming shares first, do not delete non-migratable ones
Canceling the previous add of deletion of invalid shares in
 transferownership because in some cases it deletes valid reshares, if
 incoming shares are not transfered on purpose.
Inverting the order of transfer between incoming and outgoing so that
 reshare can be migrated when incoming shares are transfered.

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-10-14 11:58:47 +02:00
Côme Chilliet 7e9bc7c8cf fix: Tidy up code for reshare deletion
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-10-14 11:58:47 +02:00
Luka Trovic 42181c2f49 fix: delete re-shares when deleting the parent share
Note: Removed part about fix command from original PR

Signed-off-by: Luka Trovic <luka@nextcloud.com>
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-10-14 11:58:47 +02:00
Daniel Kesselberg a495778646 chore: update groupware code owners
Ref https://github.com/nextcloud/groupware?tab=readme-ov-file#components-and-roles

Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2024-10-14 11:51:59 +02:00
Louis 3f75c4808d Merge pull request #48653 from nextcloud/rakekniven-patch-2
chore(l10n): Use default plural handling
2024-10-14 11:23:28 +02:00
nextcloud-command d89aa55273 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-10-14 09:03:45 +00:00
provokateurin 7edb70a63e fix(AppConfig): Add external JWT private key to sensitive keys
Signed-off-by: provokateurin <kate@provokateurin.de>
2024-10-14 10:42:06 +02:00
Kate 10d1c3c29f Merge pull request #48537 from nextcloud/add-command-to-cleanup-preview 2024-10-14 08:57:00 +02:00
Nextcloud bot ec7f3605ac Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-10-14 00:20:01 +00:00
dependabot[bot] c5115caacc Merge pull request #48577 from nextcloud/dependabot/npm_and_yarn/puppeteer-23.5.0 2024-10-13 10:22:42 +00:00
dependabot[bot] 4c3f031af7 chore(deps-dev): Bump puppeteer from 23.4.1 to 23.5.0
Bumps [puppeteer](https://github.com/puppeteer/puppeteer) from 23.4.1 to 23.5.0.
- [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.4.1...puppeteer-v23.5.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-10-13 12:11:17 +02:00
dependabot[bot] 12c516775e Merge pull request #48670 from nextcloud/dependabot/npm_and_yarn/pinia/testing-0.1.6 2024-10-13 09:14:43 +00:00
dependabot[bot] 69c2b3c17b chore(deps-dev): Bump @pinia/testing from 0.1.5 to 0.1.6
Bumps [@pinia/testing](https://github.com/vuejs/pinia) from 0.1.5 to 0.1.6.
- [Release notes](https://github.com/vuejs/pinia/releases)
- [Commits](https://github.com/vuejs/pinia/compare/@pinia/testing@0.1.5...@pinia/testing@0.1.6)

---
updated-dependencies:
- dependency-name: "@pinia/testing"
  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>
2024-10-13 09:03:21 +00:00
dependabot[bot] de30fadaf5 Merge pull request #48669 from nextcloud/dependabot/npm_and_yarn/nextcloud/calendar-availability-vue-2.2.4 2024-10-13 07:05:54 +00:00
dependabot[bot] aecf2b5ecb chore(deps): Bump @nextcloud/calendar-availability-vue
Bumps [@nextcloud/calendar-availability-vue](https://github.com/nextcloud/calendar-availability-vue) from 2.2.2 to 2.2.4.
- [Release notes](https://github.com/nextcloud/calendar-availability-vue/releases)
- [Changelog](https://github.com/nextcloud/calendar-availability-vue/blob/main/CHANGELOG.md)
- [Commits](https://github.com/nextcloud/calendar-availability-vue/compare/v2.2.2...v2.2.4)

---
updated-dependencies:
- dependency-name: "@nextcloud/calendar-availability-vue"
  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-10-13 06:55:44 +00:00
Nextcloud bot e2bdefa0a2 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-10-13 00:21:55 +00:00
Ferdinand Thiessen 03d553f691 Merge pull request #48648 from nextcloud/rakekniven-patch-1
fix(i18n): Improved grammar
2024-10-12 18:08:44 +02:00
Nextcloud bot 0c27824263 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-10-12 00:20:13 +00:00
nextcloud-command 7d3761a3a5 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-10-11 18:17:43 +00:00
rakekniven 3b3f0f0ed9 fix(i18n): Improved grammar
Reported at Transifex

Signed-off-by: rakekniven <2069590+rakekniven@users.noreply.github.com>
2024-10-11 20:10:45 +02:00
rakekniven 7ed71dda49 fix(i18n): Improved grammar
Reported at Transifex

Signed-off-by: rakekniven <2069590+rakekniven@users.noreply.github.com>
2024-10-11 20:10:45 +02:00
John Molakvoæ (skjnldsv) abd0cddd38 feat: make systemtags public visible
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2024-10-11 16:06:44 +02:00
Thomas Citharel 205af79751 Merge pull request #48639 from nextcloud/add-default-request-timeout-const
feat(http client): expose default request timeout constant to be used instead of magic number 30
2024-10-11 12:10:17 +02:00
Thomas Citharel dcd27fd986 feat(http-client): expose default request timeout constant to be used instead of magic number 30
Will be used to set default where we are able to override the default timeout.

See https://github.com/nextcloud/server/pull/48418

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2024-10-11 10:57:02 +02:00
Nextcloud bot d013a13eb5 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-10-11 00:25:09 +00:00
rakekniven 2496e5db9e chore(l10n): Use default plural handling
Reported at Transifex.

Signed-off-by: rakekniven <2069590+rakekniven@users.noreply.github.com>
2024-10-10 21:51:36 +02:00
Pytal e2983111e6 Merge pull request #48638 from nextcloud/fix/reasons-to-use
fix: Fix "Reasons to use Nextcloud" design
2024-10-10 09:58:02 -07:00
Robin Appelman 7cb07bf306 test: add test for nested jail cross-storage move
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-10-10 15:16:12 +02:00
Daniel Calviño Sánchez 3017951d1d fix: Fix copying or moving from shared groupfolders
When copying or moving between two local storages the source path (on
disk) to copy or move from is got from the unjailed path of the source
storage. However, if the source storage has more than one jail getting
the unjailed path resolves the most external jail, but the source path
needs to be got from the most internal jail instead (the one closer to
the local storage).

This can happen, for example, with a shared groupfolder: in that case
there is an external jail for the shared storage, and one internal jail
for the groupfolder storage wrapped by the shared storage.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2024-10-10 15:16:12 +02:00
Nextcloud bot d537050f19 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-10-10 00:20:15 +00:00
Christopher Ng c4386d408a chore: compile assets
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2024-10-09 14:34:53 -07:00
Christopher Ng d0262beaf6 fix: Fix "Reasons to use Nextcloud" design
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2024-10-09 14:34:53 -07:00
Christopher Ng 2ec6a9ce32 chore: generate icons css
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2024-10-09 14:34:53 -07:00
Christopher Ng 3c12d27c17 chore: Add text file icon class
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2024-10-09 14:34:53 -07:00
Louis 9e047e9bca Merge pull request #48536 from nextcloud/artonge/fix/vue_app_names
fix: Vue app names
2024-10-09 21:58:44 +02:00
Louis Chemineau 657b2218c9 chore: Compile assets
Signed-off-by: Louis Chemineau <louis@chmn.me>
2024-10-09 19:49:07 +02:00
Louis Chemineau 2582b6a181 fix: Minor @nc/vue usage errors
Signed-off-by: Louis Chemineau <louis@chmn.me>
2024-10-09 19:49:07 +02:00
Louis Chemineau c0e5635ade fix: Vue app names
This improves the debugging experience in the vue dev tool.

Signed-off-by: Louis Chemineau <louis@chmn.me>
2024-10-09 19:49:07 +02:00
Kate 43b1fd7bb8 Merge pull request #48623 from nextcloud/fix/allow-quota-wrapper-check 2024-10-09 18:39:42 +02:00
Kate 0b5f0361f9 Merge pull request #48628 from nextcloud/fix/public-get 2024-10-09 17:32:40 +02:00
Ferdinand Thiessen bbc5d32c8e fix(dav): Public WebDAV endpoint should allow GET requests
`GET` should be allowed even without Ajax header to allow downloading files,
or show files in the viewer. All other requests could be guarded, but this should not.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-10-09 17:10:52 +02:00
Joas Schilling 3d74ed3762 Merge pull request #48605 from nextcloud/dependabot/composer/guzzlehttp/guzzle-7.9.2
chore(deps): Bump guzzlehttp/guzzle from 7.8.1 to 7.9.2
2024-10-09 12:10:41 +02:00
Pytal d4e07ce171 Merge pull request #48619 from nextcloud/fix/unified-search-empty-sections
fix: Fix empty sections appearing in search results
2024-10-09 01:58:52 -07:00
Joas Schilling abfc3c7421 chore(deps): Bump guzzlehttp/guzzle from 7.8.1 to 7.9.2
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-10-09 08:31:25 +02:00
Julius Knorr 75381dfe0c fix: Allow overriding shouldApplyQuota check from child classes
Signed-off-by: Julius Knorr <jus@bitgrid.net>
2024-10-09 08:25:30 +02:00
Pytal d66e469194 Merge pull request #48538 from nextcloud/fix/get-managers-as-subadmin
fix: Return correct list of managers for a user
2024-10-08 17:48:21 -07:00
Nextcloud bot 85e3c9a112 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-10-09 00:20:13 +00:00
Christopher Ng 96035d2de3 test: Fix tests
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2024-10-08 17:16:56 -07:00
Christopher Ng 1dcdc87b44 refactor: Clean up
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2024-10-08 16:33:17 -07:00
Christopher Ng 026b7b8b15 fix: Return correct list of managers for a user
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2024-10-08 16:33:17 -07:00
Christopher Ng ea5e27dcd8 fix: Subadmin can access self
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2024-10-08 16:24:40 -07:00
F. E Noel Nfebe 50b82214e8 Merge pull request #48520 from nextcloud/chore/48409/replace-diaspora-and-twitter
chore: Replace Twitter & Diaspora links and text
2024-10-08 21:02:38 +02:00
Christopher Ng 40823775d9 fix: Fix empty sections appearing in search results
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2024-10-08 10:57:20 -07:00
Côme Chilliet 05886d281d Merge pull request #48597 from nextcloud/fix/fix-email-share-transfer-accross-storages
Fix email share transfer accross storages
2024-10-08 17:31:53 +02:00
Benjamin Gaussorgues f70f70e0db feat(setupchecks): add row format setup check for MySQL databases
Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
2024-10-08 17:13:30 +02:00
Côme Chilliet 0e282ea21a fix(tests): Fix sharebymail tests
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-10-08 16:53:51 +02:00
Kate 356f3ded52 Merge pull request #48610 from nextcloud/fix/usertrait/backend-initialization 2024-10-08 16:53:26 +02:00
Côme Chilliet f8c987f029 Merge pull request #48613 from nextcloud/feat/add-query-param-to-force-language
feat(l10n): Allow to force language with a query parameter
2024-10-08 16:29:03 +02:00
Côme Chilliet 5a05af05db feat(l10n): Respect forceLanguage query parameter in more places
Attempt to make L10N Factory consistent with itself when forceLanguage
 query parameter is used.

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-10-08 15:40:40 +02:00
Kate 614d8c23a0 Merge pull request #48494 from nextcloud/refactor/storage/strong-param-types 2024-10-08 15:20:17 +02:00
Côme Chilliet 1b8949ebac feat(l10n): Allow to force language with a query parameter
This will be used by support application to always generate the support
 report in english. It may also be used to debug a language, or to
 temporarily show a page in an other language to take a screenshot or to
 share your screen with someone speaking another language.

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-10-08 14:44:03 +02:00
nextcloud-command 97414568bb chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-10-08 14:31:21 +02:00
Ferdinand Thiessen 30e02f2898 fix(federatedfilesharing): Use valid mastodon URL for sharing
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-10-08 14:31:21 +02:00
Ferdinand Thiessen 268aad3704 fix(federatedfilesharing): Add aria label to include the X in X (formerly Twitter) button.
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-10-08 14:31:21 +02:00
Ferdinand Thiessen af9d7163db refactor(federatedfilessharing): Make copy logic more resilient and use Typescript
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-10-08 14:31:21 +02:00
Ferdinand Thiessen 52cfac5067 fix(federatedfilessharing): Use social media icons from core rather than inline SVGs
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-10-08 14:31:21 +02:00
Ferdinand Thiessen 38cd9d3915 feat(core): Add correct X logo as provided by X Corp.
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-10-08 14:31:21 +02:00
Ferdinand Thiessen f9d3954e49 fix(core): Use correct facebook icon provided by Meta
The legal terms require to exactly use the facebook logo as provided by Meta.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-10-08 14:31:21 +02:00
fenn-cs cacfa5da04 chore: Replace Twitter & Diaspora links and text
- Use Twitters new name "X"
- Remove Diaspora social and include Mastodon instead

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

Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
2024-10-08 14:31:21 +02:00
Joas Schilling e11520e6af Merge pull request #48603 from nextcloud/bugfix/noid/censor-more-values
fix(logger): Remove more parameters of other methods
2024-10-08 13:49:53 +02:00
Kate 771eb1f199 Merge pull request #48600 from nextcloud/fix/backgroundjobs/adjust-intervals-time-sensitivities 2024-10-08 12:25:53 +02:00
provokateurin b209508d8f feat(TimedJob): Add debug log about time sensitive jobs with long intervals
Signed-off-by: provokateurin <kate@provokateurin.de>
2024-10-08 11:26:53 +02:00
provokateurin 54ec472d9a fix(BackgroundJobs): Adjust intervals and time sensitivities
Signed-off-by: provokateurin <kate@provokateurin.de>
2024-10-08 11:26:53 +02:00
provokateurin 902fb8f9fc fix(UserTrait): Fix backend initialization
Signed-off-by: provokateurin <kate@provokateurin.de>
2024-10-08 11:12:01 +02:00
Nextcloud bot d7aff6c150 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-10-08 00:20:08 +00:00
Joas Schilling a90921e239 fix(logger): Remove more parameters of other methods
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-10-07 21:04:49 +02:00
Joas Schilling 5bd1873511 Merge pull request #48592 from nextcloud/dependabot/composer/doctrine/dbal-3.9.x
build: Update doctrine/dbal from 3.8.x to 3.9.1
2024-10-07 17:29:44 +02:00
Joas Schilling dad5509dfa build: Update doctrine/dbal from 3.8.x to 3.9.1
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-10-07 16:21:24 +02:00
F. E Noel Nfebe fcbb064ae3 Merge pull request #46691 from nextcloud/fix-show-original-owner
feat(sidebar): Show node owner in metadata subline
2024-10-07 16:19:36 +02:00
Côme Chilliet 59e4e4bfba fix(sharebymail): Fix share update when node id changed
This fixes transfering an email share from a user to another one when using
 objectstore as primary storage.

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-10-07 15:36:53 +02:00
Côme Chilliet bcf670e6b5 feat(transfer-ownership): Improve verbose output of command
Makes debbuging way easier

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-10-07 15:35:47 +02:00
nextcloud-command 16ffe6f88b chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-10-07 13:22:35 +00:00
fenn-cs faa29a0feb feat(sidebar): Show node owner in metadata subline
Resolves: https://github.com/nextcloud/server/issues/46178

Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
2024-10-07 15:15:55 +02:00
provokateurin 14e6734547 refactor(files_external): Add Storage parameter strong types
Signed-off-by: provokateurin <kate@provokateurin.de>
2024-10-07 15:00:07 +02:00
provokateurin 1642a34e8a refactor(files_sharing): Add Storage parameter strong types
Signed-off-by: provokateurin <kate@provokateurin.de>
2024-10-07 15:00:07 +02:00
provokateurin 6d8ffb381f refactor(files_trashbin): Add Storage parameter strong types
Signed-off-by: provokateurin <kate@provokateurin.de>
2024-10-07 15:00:07 +02:00
provokateurin 2489608a72 refactor(dav): Add Storage parameter strong types
Signed-off-by: provokateurin <kate@provokateurin.de>
2024-10-07 15:00:07 +02:00
provokateurin 3a9aadc6a9 test(workflowengine): Add Storage parameter strong types
Signed-off-by: provokateurin <kate@provokateurin.de>
2024-10-07 15:00:07 +02:00
provokateurin f28e74b7a8 refactor(Storage): Make all parameter types strong types
Signed-off-by: provokateurin <kate@provokateurin.de>
2024-10-07 15:00:05 +02:00
Kate 414430980a Merge pull request #48487 from nextcloud/refactor/stream-encryption/typings 2024-10-07 14:37:25 +02:00
provokateurin 4412b2b8a8 refactor(Wrapper\Encryption): Migrate to strong types
Signed-off-by: provokateurin <kate@provokateurin.de>
2024-10-07 14:11:56 +02:00
provokateurin d1977b8d25 refactor(Stream\Encryption): Migrate to strong types
Signed-off-by: provokateurin <kate@provokateurin.de>
2024-10-07 14:02:27 +02:00
Ferdinand Thiessen bbb6cb2eb0 Merge pull request #48584 from nextcloud/bugfix/noid/increase-exclude-list
fix(config): Mark more app configs sensitive
2024-10-07 13:14:23 +02:00
Joas Schilling c3dfb9a464 Merge pull request #48539 from nextcloud/dependabot/composer/symfony-6.4
build: Bump symfony/* to 6.4
2024-10-07 13:08:42 +02:00
Joas Schilling 315e4658dd test(settings): Correctly only return bool for Symfony Input::hasParameterOption calls
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-10-07 12:11:39 +02:00
Joas Schilling e6cd1051da fix(message): Fix logic of Mail test
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-10-07 12:11:38 +02:00
Joas Schilling 4219969c96 fix: Ensure we only pass string to writeln()
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-10-07 12:11:38 +02:00
Joas Schilling 4312473fbc test: Fix wrongly mocked method
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-10-07 12:11:35 +02:00
Joas Schilling 843f638315 test: Fix mock creation
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-10-07 12:11:30 +02:00
Joas Schilling c109ae9437 ci: Fix psalm by typing the QuestionHelper
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-10-07 12:11:27 +02:00
Joas Schilling c0ffe39421 ci: Update psalm-baseline
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-10-07 12:11:26 +02:00
Joas Schilling 87acaef73c fix(command): Make method compatible with upstream class (requires 3rdparty bump)
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-10-07 12:11:25 +02:00
Joas Schilling fd77bc84d1 fix(command): Make method compatible with upstream class (backportable)
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-10-07 12:11:25 +02:00
Joas Schilling 3fa22c3418 build: Bump symfony/* to 6.4
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-10-07 12:11:25 +02:00
Ferdinand Thiessen 02f3c88d73 Merge pull request #48438 from nextcloud/fix/bring-back-zip-event
fix(dav): Emit `BeforeZipCreatedEvent` when creating folder zip archive
2024-10-07 11:58:34 +02:00
Ferdinand Thiessen 3095a92551 Merge pull request #47896 from nextcloud/fix/resiliant-user-removal
fix: Make user removal more resilient
2024-10-07 11:33:07 +02:00
Joas Schilling c900ef9d8e fix(config): Mark more app configs sensitive
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-10-07 10:58:03 +02:00
Nextcloud bot 363ba6b0f5 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-10-07 00:19:56 +00:00
Nextcloud bot 219cc82ddd Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-10-06 00:21:20 +00:00
dependabot[bot] 0801ef8bcd Merge pull request #48574 from nextcloud/dependabot/npm_and_yarn/dompurify-3.1.7 2024-10-05 06:21:23 +00:00
nextcloud-command dca67ad10a chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-10-05 06:11:26 +00:00
dependabot[bot] 45b444b80b Merge pull request #48576 from nextcloud/dependabot/npm_and_yarn/babel/plugin-transform-private-methods-7.25.7 2024-10-05 02:29:46 +00:00
dependabot[bot] 9421dd7369 chore(deps-dev): Bump @babel/plugin-transform-private-methods
Bumps [@babel/plugin-transform-private-methods](https://github.com/babel/babel/tree/HEAD/packages/babel-plugin-transform-private-methods) from 7.25.4 to 7.25.7.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.25.7/packages/babel-plugin-transform-private-methods)

---
updated-dependencies:
- dependency-name: "@babel/plugin-transform-private-methods"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-10-05 02:16:21 +00:00
dependabot[bot] 0757cbbb4d Merge pull request #48573 from nextcloud/dependabot/npm_and_yarn/babel/node-7.25.7 2024-10-05 02:14:50 +00:00
dependabot[bot] 7c6275786e chore(deps): Bump dompurify from 3.1.6 to 3.1.7
Bumps [dompurify](https://github.com/cure53/DOMPurify) from 3.1.6 to 3.1.7.
- [Release notes](https://github.com/cure53/DOMPurify/releases)
- [Commits](https://github.com/cure53/DOMPurify/compare/3.1.6...3.1.7)

---
updated-dependencies:
- dependency-name: dompurify
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-10-05 01:23:03 +00:00
dependabot[bot] b48277a76b chore(deps-dev): Bump @babel/node from 7.25.0 to 7.25.7
Bumps [@babel/node](https://github.com/babel/babel/tree/HEAD/packages/babel-node) from 7.25.0 to 7.25.7.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.25.7/packages/babel-node)

---
updated-dependencies:
- dependency-name: "@babel/node"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-10-05 01:22:44 +00:00
Nextcloud bot 599926680f Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-10-05 00:20:17 +00:00
Arthur Schiwon 67e09281e3 Merge pull request #48532 from nextcloud/fix/48437/dont-exclude-user
fix: do not reduce count for subadmins if they are members of group
2024-10-04 20:03:18 +02:00
Robin Appelman 5c0bf3d4d1 Merge pull request #48421 from nextcloud/smb-systembridge
fix: use nc's binary finding logic for smb
2024-10-04 16:43:21 +02:00
Robin Appelman 103b464eea fix: use nc's binary finding logic for smb
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-10-04 15:56:31 +02:00
Nextcloud bot 53b1bc5eb7 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-10-04 00:20:04 +00:00
Ferdinand Thiessen 94c5294098 Merge pull request #48440 from nextcloud/refactor/background-service
refactor(theming): Reduce duplicated code in `BackgroundService`
2024-10-03 19:04:30 +02:00
Kate 8638a89fca Merge pull request #48522 from nextcloud/fix/querybuilder/output-columns-aliases 2024-10-03 15:48:10 +02:00
Pytal 9095b49592 Merge pull request #48543 from nextcloud/fix/themes-layout
fix(theming): Fix layout of themes
2024-10-03 05:28:24 -07:00
Côme Chilliet a9331e1c97 Merge pull request #48548 from nextcloud/fix/fix-admin-audit-event-listening
fix(admin_audit): Listen to the right events
2024-10-03 14:07:55 +02:00
Thomas Citharel fe0f89c237 feat(preview): add command to cleanup preview folder
When changing preview parameters (size, format, …), one can simply delete the preview folder and run
files:scan-app-data in order to retrigger updated preview recreation because files are absent.

However, that's not possible when using ObjectStorage as primary storage, as there's no concept of
"preview folder".

This command allows to simply delete and recreate the preview folder properly from
Nextcloud, so that the abstraction levels handle all the subfolder & file deleting part.

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2024-10-03 13:41:32 +02:00
Joas Schilling bfcf4dc486 Merge pull request #48540 from nextcloud/bugfix/noid/remove-3rdparty-use
fix(filesexternal): Remove unneeded 3rdparty library use
2024-10-03 12:28:12 +02:00
Côme Chilliet 015c5efdb5 fix(admin_audit): Listen to the right events
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-10-03 10:56:42 +02:00
Nextcloud bot 6c14c933eb Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-10-03 00:20:34 +00:00
nextcloud-command e7d9a68b9c chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-10-02 23:29:56 +00:00
Christopher Ng 8e0c2726f8 fix(theming): Fix layout of themes
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2024-10-02 16:13:43 -07:00
Joas Schilling 96f77d7b99 fix(filesexternal): Remove unneeded 3rdparty library use
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-10-02 23:27:44 +02:00
Maksim Sukharev 0d6acbf9e4 fix: do not reduce count for subadmins if they are members of group
Signed-off-by: Maksim Sukharev <antreesy.web@gmail.com>
2024-10-02 18:32:53 +02:00
Anna 004d7dac91 Merge pull request #48508 from nextcloud/fix/webcal-subscription-jobs-middleware
fix(caldav): add missing handlers
2024-10-02 15:12:26 +02:00
Sebastian Krupinski 2d004c3bc4 Merge pull request #48519 from nextcloud/bug/48518/ignore-invalid-dates
fix(dav): don't crash subscription on invalid calendar object
2024-10-02 09:04:21 -04:00
F. E Noel Nfebe 16d125c220 Merge pull request #48486 from nextcloud/chore/48408/rename-twitter-to-x
chore: Move from Twitter to X
2024-10-02 12:03:54 +02:00
provokateurin e445be1202 fix(QueryBuilder): Account for aliases in output columns
Signed-off-by: provokateurin <kate@provokateurin.de>
2024-10-02 11:55:27 +02:00
escoand a5eb38f277 fix(dav): don't crash subscription on invalid calendar object
Signed-off-by: escoand <escoand@users.noreply.github.com>
2024-10-02 11:33:18 +02:00
Arthur Schiwon b3ca5b5171 Merge pull request #47414 from nextcloud/debt/noid/user-changed-event
test(admin_audit): add test for user management listener
2024-10-02 11:25:36 +02:00
Pytal 7cc1b2a102 Merge pull request #48512 from nextcloud/fix/pick-folder-smart-picker
fix(files): Fix folders not being selectable in the smart picker
2024-10-02 02:07:50 -07:00
fenn-cs 9829d690dc chore: Move from Twitter to X
Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
2024-10-02 10:40:36 +02:00
Anna e333bc3c8f Merge pull request #47788 from nextcloud/feat/add-addressbook-list-command
feat(carddav): add command to list address books
2024-10-02 10:35:44 +02:00
Marcel Klehr 06bfb20f2a Merge pull request #48513 from nextcloud/fix/taskprocessing-manager/php-notice
fix(TaskProcessing\Manager): Don't provoke PHP notice in setTaskResult
2024-10-02 09:56:13 +02:00
Marcel Klehr d2df0f42f1 fix(TaskProcessing\Manager): Don't provoke PHP notice in setTaskResult
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2024-10-02 08:38:20 +02:00
Nextcloud bot 17cb6a81fd Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-10-02 00:19:58 +00:00
nextcloud-command 2d4fe1cc08 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-10-01 23:12:33 +00:00
Christopher Ng 51bb8d07f8 fix(files): Fix folders not being selectable in the smart picker
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2024-10-01 15:55:14 -07:00
Julien Veyssier 0e1cb723e8 Merge pull request #48496 from nextcloud/enh/noid/taskprocessing-commands-task-errors
[taskprocessing] Add new command to get a task from a task ID
2024-10-01 23:42:08 +02:00
Anna Larch d30c0669a6 fix(caldav): add missing handlers
Signed-off-by: Anna Larch <anna@nextcloud.com>
2024-10-01 22:12:37 +02:00
Daniel 1c1f48830a Merge pull request #48451 from nextcloud/bug/noid/federated-addressbook-sync-without-localaddressallowed
fix: make federation address book sync work with allow_local_remote_servers = false
2024-10-01 20:41:42 +02:00
Julien Veyssier 14cf5b03ca feat(taskprocessing): new command to get a task from a task ID, include error_message in list and get commands
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
2024-10-01 20:30:31 +02:00
Kate 4bfa30620d Merge pull request #48426 from nextcloud/jtr/fix-45671 2024-10-01 18:19:51 +02:00
Daniel Kesselberg 6be00432b7 chore: always execute parse_url in preventLocalAddress
This change should make it easier to spot wrong uses of the HTTP client on development setups where allow_local_remote_servers is usually true.

Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2024-10-01 18:00:47 +02:00
Daniel Kesselberg 870816466f fix: make federation address book sync work with allow_local_remote_servers = false
Client.preventLocalAddress expects an absolute URL, which means the base_uri option cannot be used.

Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2024-10-01 18:00:46 +02:00
Kate 26762172f5 Merge pull request #48454 from nextcloud/fix/storage/get-directory-content-return-type 2024-10-01 16:22:16 +02:00
Arthur Schiwon 7f7a3cd45f Merge pull request #48484 from nextcloud/fwdport/48445/master
fix(Auth): ignore missing token when trying to set password-unconfirm…
2024-10-01 15:47:11 +02:00
Git'Fellow b30ef38be1 Merge pull request #48480 from nextcloud/checkColExists
fix(migration): Check if column exits before adding it
2024-10-01 15:17:52 +02:00
Robin Appelman 1bf27e74dd Merge pull request #48235 from nextcloud/readd-object-store-phpunit
test: re-add object store primary storage phpunit tests
2024-10-01 15:11:10 +02:00
Joas Schilling 5434005bff ci: Fix path name
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-10-01 12:28:39 +02:00
Joas Schilling f78f7d9735 Merge pull request #48483 from nextcloud/ci/noid/execute-psalm-security-on-push
ci: Execute psalm:security on pushes
2024-10-01 12:24:34 +02:00
Arthur Schiwon 12d39e818d fix(Auth): ignore missing token when trying to set password-unconfirmable
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2024-10-01 12:24:20 +02:00
Joas Schilling 6c9b2afcab ci: Execute psalm:security on pushes
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-10-01 12:07:50 +02:00
Daniel f0f4a31e7c Merge pull request #48476 from nextcloud/ci/noid/improve-running-psalm-locally
ci: Don't upload output of normal psalm to GitHub Security section
2024-10-01 10:46:38 +02:00
Git'Fellow ffa19a9827 fix(migration): Check if column exits before adding it
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
2024-10-01 08:12:11 +02:00
dependabot[bot] e2e5de8724 Merge pull request #48479 from nextcloud/dependabot/github_actions/github-actions-aa3137d618 2024-10-01 05:54:10 +00:00
Nextcloud bot 208f190cf2 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-10-01 00:20:31 +00:00
dependabot[bot] 0a5bb99345 chore(deps): Bump actions/checkout in the github-actions group
Bumps the github-actions group with 1 update: [actions/checkout](https://github.com/actions/checkout).


Updates `actions/checkout` from 4.1.7 to 4.2.0
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/692973e3d937129bcbf40652eb9f2f61becf3332...d632683dd7b4114ad314bca15554477dd762a938)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: github-actions
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-09-30 22:35:17 +00:00
Joas Schilling 570a9e208f ci: Add psalm baseline for security and make CI fail on change
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-10-01 00:11:07 +02:00
Joas Schilling 990ee44015 ci: Don't upload output of normal psalm to GitHub Security section
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-09-30 23:57:39 +02:00
Joas Schilling 95bafb4980 ci: Improve usability of running different psalm modes locally
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-09-30 23:57:15 +02:00
Daniel 99d507c259 Merge pull request #48455 from nextcloud/update-phpdoc-for-folder-get
update docs for Folder.get and call for Folder.nodeExists
2024-09-30 23:02:53 +02:00
Hamza b05c2dc08e Merge pull request #47846 from nextcloud/fix/provisionApi-status-codes
fix: provision api's status codes
2024-09-30 19:20:25 +02:00
Daniel Kesselberg fbaa4cc5e0 fix: catch NotPermittedException in Folder.nodeExists
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2024-09-30 19:00:36 +02:00
Daniel Kesselberg 3db20c8b00 docs: Folder.get throws a NotPermittedException exception
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2024-09-30 19:00:36 +02:00
Daniel 1fff4e10ce Merge pull request #48466 from nextcloud/ci/noid/require-up-to-date-psalm-paseline
ci: fail psalm when baseline update required
2024-09-30 19:00:04 +02:00
Kate ced915a3b1 Merge pull request #48461 from nextcloud/perf/files/chunked-upload-default-100-mib 2024-09-30 18:09:24 +02:00
Daniel Kesselberg 077ed74a12 ci: fail psalm when baseline update required
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2024-09-30 18:05:05 +02:00
Joas Schilling dc380f9b30 Merge pull request #48460 from nextcloud/deps/noid/bump-3rdparty-hash
build: Bump 3rdparty hash after empty updates
2024-09-30 17:40:30 +02:00
Hamza Mahjoubi 9be2f060f9 fix: provision api's status codes
Signed-off-by: Hamza Mahjoubi <hamzamahjoubi221@gmail.com>
2024-09-30 17:19:32 +02:00
provokateurin e1998b6b6c fix(Storage): Fix getDirectoryContent() return type
Signed-off-by: provokateurin <kate@provokateurin.de>
2024-09-30 16:49:27 +02:00
Kate 6e8c532932 Merge pull request #48453 from nextcloud/fix/psalm/update-baseline 2024-09-30 16:46:38 +02:00
provokateurin f2a019e60e perf(files): Adjust default chunk size for chunked upload to 100MiB
Signed-off-by: provokateurin <kate@provokateurin.de>
2024-09-30 16:29:11 +02:00
Joas Schilling 5c079517bd build: Bump 3rdparty hash after empty updates
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-09-30 15:11:03 +02:00
Daniel b6a23b2986 Merge pull request #47910 from nextcloud/fix/files-add-move-info
fix(files): Add more visual move / copy notification
2024-09-30 14:06:32 +02:00
Ferdinand Thiessen d97e17b920 fix(files): Add more visual move / copy notification
* Resolves: https://github.com/nextcloud/server/issues/46645

This adds loading toast notification while the move operation is running.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-09-30 13:33:45 +02:00
provokateurin 3a865813d4 fix(psalm): Update baseline
Signed-off-by: provokateurin <kate@provokateurin.de>
2024-09-30 12:47:26 +02:00
Daniel be87dec2d9 Merge pull request #48439 from nextcloud/fix/background-image
fix(theming): Use `AppConfig` for setting background image
2024-09-30 12:42:29 +02:00
Kate 54cdd42ba9 Merge pull request #48437 from nextcloud/fix/noid/count-disabled-correct 2024-09-30 11:59:06 +02:00
Kate c7895bc3cf Merge pull request #48446 from nextcloud/fix/fix-storage-interface-check 2024-09-30 11:58:40 +02:00
Anna Larch 6468ec5716 feat(carddav): add command to list address books
Signed-off-by: Anna Larch <anna@nextcloud.com>
2024-09-30 11:53:02 +02:00
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
Joas Schilling dd53a9430e Merge pull request #48375 from nextcloud/bugfix/noid/skip-future-shipped-apps-from-updatenotification-check
Skip future shipped apps from updatenotification check
2024-09-26 15:23:12 +02:00
Joas Schilling 771f67f108 Merge pull request #48361 from nextcloud/fix/querybuilder/oracle-indentifier-length
fix(QueryBuilder): Restrict identifier length to 30 characters due to Oracle limitations
2024-09-26 15:11:46 +02:00
Louis c45ed55f95 Merge pull request #48359 from nextcloud/artonge/feat/compare_hashed_password_when_updating_global_cred_in_files_external
fix: Use placeholder for external storage password
2024-09-26 14:56:37 +02:00
provokateurin 13d1cb730f fix(files_sharing): Check if propfind response is valid before accessing share permission props
Signed-off-by: provokateurin <kate@provokateurin.de>
2024-09-26 14:35:31 +02:00
provokateurin 5d4a358cc4 refactor(files_sharing): Make permissions prop checks less error prone
Signed-off-by: provokateurin <kate@provokateurin.de>
2024-09-26 14:34:44 +02:00
Joas Schilling 727fe27155 fix(updatenotification): Communicate app_api as shipped in 30+
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-09-26 12:22:52 +02:00
Joas Schilling 7c683a94d6 fix(updatenotification): Communicate twofactor_nextcloud_notification as shipped in 30+
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-09-26 12:21:44 +02:00
Joas Schilling aea325fefd fix(updatenotification): Communicate files_downloadlimit as shipped in 29+
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-09-26 12:21:04 +02:00
Joas Schilling 0a568e5b48 Merge pull request #48343 from nextcloud/dependabot/composer/giggsey/libphonenumber-for-php-lite-8.13.45
chore(deps): Bump giggsey/libphonenumber-for-php-lite to 8.13.45
2024-09-26 11:03:53 +02:00
Louis 098f3c1564 Merge pull request #48354 from nextcloud/artonge/fix/storage_full_warning
fix: Show storage full warning when storage is actually full
2024-09-26 10:38:34 +02:00
Joas Schilling e5b95a3764 chore(deps): Bump giggsey/libphonenumber-for-php-lite to 8.13.45
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-09-26 10:34:28 +02:00
provokateurin adc38a7248 fix(files_sharing): Parse OCM share permissions from OCM and not OCS prop
Signed-off-by: provokateurin <kate@provokateurin.de>
2024-09-26 09:38:41 +02:00
Marcel Klehr 4febe107e6 Merge pull request #48345 from nextcloud/fix/files_external/forbidden-exception
fix(files_external): Catch correct exception
2024-09-26 09:33:32 +02:00
Marcel Klehr c8a90e941a fix(files_external): Catch correct exception
SMB#getFileInfo used to throw an icewind/smb exception, but nowadays throws \OCP\Files\ForbiddenException. This fixes downstream methods to catch the new exception.

Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2024-09-26 09:03:08 +02:00
provokateurin 35dfc639b3 fix(QueryBuilder): Restrict identifier length to 30 characters due to Oracle limitations
Signed-off-by: provokateurin <kate@provokateurin.de>
2024-09-26 08:57:06 +02:00
Nextcloud bot 9a220989dd Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-09-26 00:23:09 +00:00
Louis Chemineau d576efbb18 fix: Show storage full warning when storage is actually full
< 0 values for "free" do not mean that the storage is full: https://github.com/nextcloud/server/blob/6befdd6dd7cd20fe7f7036e4665bcfbb783d6803/lib/public/Files/FileInfo.php#L31-L42

Signed-off-by: Louis Chemineau <louis@chmn.me>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-09-25 19:42:35 +02:00
Julien Veyssier b5da085207 Merge pull request #48353 from nextcloud/enh/30551/weather-status-support-more-codes
[WeatherStatus] Support more weather codes, change icons, fix style
2024-09-25 18:25:18 +02:00
Louis Chemineau 20eb464835 fix: Use hashed password in files_external settings
Signed-off-by: Louis Chemineau <louis@chmn.me>
2024-09-25 17:50:17 +02:00
nextcloud-command 45a38452ae chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-09-25 15:49:33 +00:00
Julien Veyssier efcc3e5965 fix(weatherstatus): adjustments from review comments
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
2024-09-25 17:41:24 +02:00
Julien Veyssier 966a0a908d fix(weatherstatus): fix location marker icon with dark theme, only use icons from @mdi/svg
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
2024-09-25 17:24:17 +02:00
Julien Veyssier c96bde74ba fix(weatherstatus): make a difference between 'unknown weather code' and 'no weather info'
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
2024-09-25 17:24:17 +02:00
Julien Veyssier bfa1c7e9ce feat(weatherstatus): support all weather codes from api.met.no, use the icons provided by met.no, cleanup UI
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
2024-09-25 17:24:17 +02:00
XxTysweezyxX 1826ba2357 Fix #30551: Added snowfall option to weather status
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
2024-09-25 17:24:17 +02:00
Joas Schilling c98206bd7a Merge pull request #48356 from nextcloud/bugfix/noid/document-icon-requirements
fix(icons): Document icon requirements for notifications and activities
2024-09-25 17:16:11 +02:00
Joas Schilling 1f188c3048 fix(icons): Document icon requirements for notifications and activities
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-09-25 16:47:23 +02:00
Andrey Borysenko b6cf649054 feat: add app_api to shipped and default enabled apps
Signed-off-by: Andrey Borysenko <andrey18106x@gmail.com>
2024-09-25 14:52:41 +03:00
Simon L. 6befdd6dd7 Merge pull request #48331 from nextcloud/fix/duplicated-conflict-resolution
fix(files): Fix having to resolve conflicts twice when dropping files
2024-09-25 12:05:13 +02:00
Joas Schilling 62c033e4ca Merge pull request #48344 from nextcloud/bugfix/noid/more-reliable-tests
More reliable user_status tests
2024-09-25 09:13:29 +02:00
Joas Schilling 79084d577e fix(tests): Check that the revert was successful
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-09-25 08:35:24 +02:00
Joas Schilling 134bfb8437 fix(tests): Also check that the backup status works
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-09-25 08:35:22 +02:00
Joas Schilling ec6ed0cf74 fix(tests): Make timing test more reliable
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-09-25 08:35:19 +02:00
Joas Schilling 2ff103cb87 Merge pull request #48327 from nextcloud/dependabot/composer/web-auth/webauthn-lib-4.9.1
chore(deps): Bump web-auth/webauthn-lib from 4.8.5 to 4.9.1
2024-09-25 08:22:24 +02:00
Joas Schilling 5972dfa822 chore(deps): Bump web-auth/webauthn-lib from 4.8.5 to 4.9.1
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-09-25 07:51:03 +02:00
Joas Schilling 6b64df636e Merge pull request #48333 from nextcloud/automated/noid/master-update-ca-cert-bundle
[master] fix(security): Update CA certificate bundle
2024-09-25 07:02:58 +02:00
nextcloud-command 06b0608c61 fix(security): Update CA certificate bundle
Signed-off-by: GitHub <noreply@github.com>
2024-09-25 02:30:55 +00:00
Nextcloud bot cc7dcf62b3 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-09-25 00:21:16 +00:00
nextcloud-command 8a01b2be07 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-09-24 23:13:25 +00:00
Christopher Ng e3d0bd47a4 fix(files): Fix having to resolve conflicts twice when dropping files
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2024-09-24 16:01:05 -07:00
Ferdinand Thiessen 7406869dbe Merge pull request #48244 from nextcloud/fix/sharing-entry-link
fix(files): Link share URL was not generated due to typo
2024-09-24 20:37:44 +02:00
nextcloud-command a27449511c chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-09-24 18:02:09 +00:00
Ferdinand Thiessen 7d733cfb33 fix(files): Link share URL was not generated due to typo
`toen` vs `token`

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-09-24 19:55:36 +02:00
Ferdinand Thiessen 3e72210eb2 Merge pull request #48323 from nextcloud/chore/legacy-updatenotification
refactor(updatenotification): Migrate legacy code
2024-09-24 19:55:15 +02:00
nextcloud-command 056b820073 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-09-24 17:02:43 +00:00
Ferdinand Thiessen 71f1e0cb9c refactor(updatenotification): Migrate legacy code
1. Remove hook usage and just provide an initial state
2. Replace jQuery code with modern non-deprecated frontend code

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-09-24 18:53:49 +02:00
Côme Chilliet 280f6df66c Merge pull request #32018 from nextcloud/cleanup/event/trashbin
Port files trashbin events to IEventDispatcher/IEventListener
2024-09-24 17:15:39 +02:00
Kate e247c26071 Merge pull request #48307 from nextcloud/fix/gracefully-parse-trusted-certificates 2024-09-24 14:35:12 +02:00
Ferdinand Thiessen 7da07bfe14 Merge pull request #48311 from nextcloud/fix/app-discover
fix: Ensure app discover section is returned as list
2024-09-24 13:35:58 +02:00
Richard Steinmetz 19ad13571c fix: gracefully parse non-standard trusted certificates
Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
2024-09-24 12:36:09 +02:00
Ferdinand Thiessen 9bc0aa03b2 fix: Ensure app discover section is returned as list
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-09-24 12:34:22 +02:00
Joas Schilling 12ed773b58 Merge pull request #47349 from nextcloud/feat/31420/bidi-backend-support
Add bidirectional text support - Backend
2024-09-24 11:27:42 +02:00
Côme Chilliet 4adf5fd5b0 fix(tests): Pause trashbin for lock tests in ViewTest using rmdir and unlink
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-09-24 10:37:38 +02:00
Joas Schilling 129f6b2e5c Merge pull request #44945 from nextcloud/rakekniven-patch-1
fix(i18n): Changed grammar
2024-09-24 07:29:10 +02:00
Côme Chilliet af0b8fbd17 fix(tests): Fix tests now that trashbin listens to events properly
Hooks are cleared in test bootstrap so switching to events activates
 them in tests.

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-09-23 18:13:29 +02:00
Côme Chilliet b80bc81579 chore: Use SPDX headers and property promotion in new files
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-09-23 18:13:29 +02:00
Carl Schwan 77821f8f3e feat(trashbin): Port files trashbin events to IEventDispatcher/IEventListener
oc_hooks is deprecated and will at some point be removed

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-09-23 18:13:21 +02:00
Joas Schilling 7ddad46137 Merge pull request #48268 from nextcloud/debt/noid/ignore-docker-image-lock-file
fix: skip the integrity check for nextcloud-init-sync.lock
2024-09-23 17:48:40 +02:00
Joas Schilling 82566c5479 fix(rtl): Make clear that the direction is based on language
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-09-23 17:00:07 +02:00
Joas Schilling 242f89afb3 ci: Restrict RTL characters to RTL languages
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-09-23 16:59:51 +02:00
Joas Schilling ae06ab5860 fix(rtl): Fix list of RTL languages
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-09-23 16:59:49 +02:00
Mostafa Ahangarha d94745201b fix(rtl): Add unittest for language direction
Signed-off-by: Mostafa Ahangarha <ahangarha@riseup.net>
2024-09-23 16:59:21 +02:00
ali ghorbani 2b7efd66b6 feat(rtl): Set layout direction based on language
Signed-off-by: ali ghorbani <ghorbani.ali.developer@gmail.com>
2024-09-23 16:59:20 +02:00
Nextcloud bot a8ee7424ad Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-09-23 14:52:32 +00:00
Joas Schilling e334e0f591 chore(assets): Recompile assets
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-09-23 16:28:00 +02:00
rakekniven 854caedf43 fix(translations): Changed grammar
Signed-off-by: rakekniven <2069590+rakekniven@users.noreply.github.com>
2024-09-23 16:18:53 +02:00
Joas Schilling 643e216a25 Merge pull request #48274 from nextcloud/feat/noid/priority-notifications
feat(prioritynotifications): Allow some apps to mark notifications as priority
2024-09-23 16:10:25 +02:00
Côme Chilliet 40b404c566 Merge pull request #48111 from nextcloud/fix/move-storage-constructor-to-specific-interface
fix: Move storage constructor to specific interface
2024-09-23 15:57:38 +02:00
Côme Chilliet 8927510685 Merge pull request #48223 from nextcloud/feat/add-rector-config
Add rector config
2024-09-23 15:10:30 +02:00
Côme Chilliet b8ab560bdd fix(tests): Fix test to remove call to non-existing constructor
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-09-23 14:50:43 +02:00
Joas Schilling d4839b962b Merge pull request #48175 from nextcloud/followup/48086/fix-more-activity-providers
fix(activity): Update more activity providers to use new exceptions
2024-09-23 14:40:36 +02:00
Daniel Kesselberg 5cf67c280f test(admin_audit): add test for user management listener
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2024-09-23 13:06:40 +02:00
Joas Schilling bec14dc4a5 Merge pull request #48215 from nextcloud/bugfix/noid/run-all-unit-tests
fix(tests): Fix test selection and run unit tests of DAV and user_status
2024-09-23 12:49:30 +02:00
Joas Schilling 096f893d46 fix(activity): Update more activity providers to use new exceptions
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-09-23 12:31:59 +02:00
Louis 0dc23639ca Merge pull request #48207 from nextcloud/artonge/fix/prevent_missing_users_from_crashing_disabled_users_search
fix: Don't crash if disabled user is missing in the database
2024-09-23 12:03:13 +02:00
Côme Chilliet 98efa3bda8 chore(rector): Move rector.php into the build folder
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-09-23 11:58:27 +02:00
Côme Chilliet 0b57de5f32 Merge pull request #48275 from nextcloud/dependabot/github_actions/github-actions-560ea78344
chore(deps): Bump the github-actions group across 1 directory with 3 updates
2024-09-23 11:44:28 +02:00
Côme Chilliet eac9255966 chore: use a proper @param tag for IConstructableStorage constructor parameter
Co-authored-by: Kate <26026535+provokateurin@users.noreply.github.com>
Signed-off-by: Côme Chilliet <91878298+come-nc@users.noreply.github.com>
2024-09-23 11:42:41 +02:00
Louis Chemineau 22d5d29c01 fix(users): Don't crash if disabled user is missing in the database
Signed-off-by: Louis Chemineau <louis@chmn.me>
2024-09-23 10:40:38 +02:00
dependabot[bot] ea6f9b63ce chore(deps): Bump the github-actions group across 1 directory with 3 updates
Bumps the github-actions group with 3 updates in the / directory: [actions/setup-node](https://github.com/actions/setup-node), [cypress-io/github-action](https://github.com/cypress-io/github-action) and [peter-evans/create-pull-request](https://github.com/peter-evans/create-pull-request).


Updates `actions/setup-node` from 4.0.3 to 4.0.4
- [Release notes](https://github.com/actions/setup-node/releases)
- [Commits](https://github.com/actions/setup-node/compare/1e60f620b9541d16bece96c5465dc8ee9832be0b...0a44ba7841725637a19e28fa30b79a866c81b0a6)

Updates `cypress-io/github-action` from 6.7.5 to 6.7.6
- [Release notes](https://github.com/cypress-io/github-action/releases)
- [Changelog](https://github.com/cypress-io/github-action/blob/master/CHANGELOG.md)
- [Commits](https://github.com/cypress-io/github-action/compare/496e7dc0edc421a9de8a36a31c793340e00c61bf...0da3c06ed8217b912deea9d8ee69630baed1737e)

Updates `peter-evans/create-pull-request` from 6.1.0 to 7.0.5
- [Release notes](https://github.com/peter-evans/create-pull-request/releases)
- [Commits](https://github.com/peter-evans/create-pull-request/compare/c5a7806660adbe173f04e3e038b0ccdcd758773c...5e914681df9dc83aa4e4905692ca88beb2f9e91f)

---
updated-dependencies:
- dependency-name: actions/setup-node
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: github-actions
- dependency-name: cypress-io/github-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: github-actions
- dependency-name: peter-evans/create-pull-request
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: github-actions
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-09-23 07:52:24 +00:00
Côme Chilliet 94b0a0e863 fix: Move storage constructor to specific interface
That allows Wrappers to use DI and not care about the constructor

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-09-23 09:46:44 +02:00
Kate ba41f32e3e Merge pull request #48266 from nextcloud/fix/psalm/enabled-find-unused-baseline-entry 2024-09-23 09:41:33 +02:00
provokateurin 6fd17994fb fix(psalm): Enable findUnusedBaselineEntry
Signed-off-by: provokateurin <kate@provokateurin.de>
2024-09-23 09:14:38 +02:00
Joas Schilling 5193579e4f feat(prioritynotifications): Allow some apps to mark notifications as priority
They will be still send as push during DND.
Apps are currently limited to:
- twofactor_nextcloud_notification to help with login
- spreed which will only set it for pushes in manually picked conversations

Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-09-23 09:02:48 +02:00
Nextcloud bot 46301a10c2 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-09-23 00:20:25 +00:00
Daniel Kesselberg 6e870c0206 fix: skip the integrity check for nextcloud-init-sync.lock
nextcloud-init-sync.lock is used by nextcloud/docker to prevent running the initialization script on multiple containers at the same time.

Ref: https://github.com/nextcloud/docker/issues/2299.

Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2024-09-22 17:48:43 +02:00
Nextcloud bot 77c1db0cd6 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-09-22 00:20:39 +00:00
dependabot[bot] ca61c4dd64 Merge pull request #48252 from nextcloud/dependabot/npm_and_yarn/sass-1.79.3 2024-09-21 12:23:46 +00:00
dependabot[bot] be5a1d57fe chore(deps-dev): Bump sass from 1.77.8 to 1.79.3
Bumps [sass](https://github.com/sass/dart-sass) from 1.77.8 to 1.79.3.
- [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.77.8...1.79.3)

---
updated-dependencies:
- dependency-name: sass
  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-21 11:50:00 +00:00
dependabot[bot] b7d9ce33aa Merge pull request #48251 from nextcloud/dependabot/npm_and_yarn/vitest/coverage-v8-2.1.1 2024-09-21 10:59:07 +00:00
dependabot[bot] 621af3d14c Merge pull request #48255 from nextcloud/dependabot/npm_and_yarn/tslib-2.7.0 2024-09-21 10:58:14 +00:00
Ferdinand Thiessen 59059f6605 Merge pull request #48246 from nextcloud/bug/noid/profile-clear-not-working
fix(profiler): clear command does not work
2024-09-21 12:52:47 +02:00
dependabot[bot] a1b538d791 Merge pull request #48254 from nextcloud/dependabot/npm_and_yarn/nextcloud/axios-2.5.1 2024-09-21 06:29:24 +00:00
dependabot[bot] bbfa8e6537 Merge pull request #48253 from nextcloud/dependabot/npm_and_yarn/focus-trap-7.6.0 2024-09-21 06:22:57 +00:00
nextcloud-command 9fcad87e7b chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-09-21 06:18:16 +00:00
nextcloud-command 5088387fea chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-09-21 06:11:05 +00:00
dependabot[bot] 4339250263 chore(deps-dev): Bump tslib from 2.6.3 to 2.7.0
Bumps [tslib](https://github.com/Microsoft/tslib) from 2.6.3 to 2.7.0.
- [Release notes](https://github.com/Microsoft/tslib/releases)
- [Commits](https://github.com/Microsoft/tslib/compare/v2.6.3...v2.7.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-09-21 03:07:44 +00:00
dependabot[bot] 0585b75c9a chore(deps): Bump @nextcloud/axios from 2.5.0 to 2.5.1
Bumps [@nextcloud/axios](https://github.com/nextcloud/nextcloud-axios) from 2.5.0 to 2.5.1.
- [Release notes](https://github.com/nextcloud/nextcloud-axios/releases)
- [Changelog](https://github.com/nextcloud-libraries/nextcloud-axios/blob/v2.5.1/CHANGELOG.md)
- [Commits](https://github.com/nextcloud/nextcloud-axios/compare/v2.5.0...v2.5.1)

---
updated-dependencies:
- dependency-name: "@nextcloud/axios"
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-09-21 03:07:25 +00:00
dependabot[bot] 3e32c36897 chore(deps): Bump focus-trap from 7.5.4 to 7.6.0
Bumps [focus-trap](https://github.com/focus-trap/focus-trap) from 7.5.4 to 7.6.0.
- [Release notes](https://github.com/focus-trap/focus-trap/releases)
- [Changelog](https://github.com/focus-trap/focus-trap/blob/master/CHANGELOG.md)
- [Commits](https://github.com/focus-trap/focus-trap/compare/v7.5.4...v7.6.0)

---
updated-dependencies:
- dependency-name: focus-trap
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-09-21 03:06:44 +00:00
dependabot[bot] 030b596fbb chore(deps-dev): Bump @vitest/coverage-v8 from 2.0.5 to 2.1.1
Bumps [@vitest/coverage-v8](https://github.com/vitest-dev/vitest/tree/HEAD/packages/coverage-v8) from 2.0.5 to 2.1.1.
- [Release notes](https://github.com/vitest-dev/vitest/releases)
- [Commits](https://github.com/vitest-dev/vitest/commits/v2.1.1/packages/coverage-v8)

---
updated-dependencies:
- dependency-name: "@vitest/coverage-v8"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-09-21 03:03:59 +00:00
Nextcloud bot a33a2e2f9c Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-09-21 00:20:41 +00:00
Andy Scherzinger 3009da3722 Merge pull request #43968 from exi/custom-binary-search-paths
feat: make search path for BinaryFinder customizable.
2024-09-20 19:14:17 +02:00
Git'Fellow 2ba3f7ed5c Merge pull request #47782 from nextcloud/reworkShareExceptions
fix(l10n): Rephrasing some exceptions to be translated
2024-09-20 18:53:40 +02:00
Git'Fellow dcbe8da2a6 fix(l10n): Rephrasing some exceptions to be translated
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>

fix: tests

Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>

fix: Fix tests

Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
2024-09-20 18:35:11 +02:00
Julius Knorr fd576ce0d1 Merge pull request #48152 from nextcloud/clean/version-ocp
chore(legacy): Introduce public version class and drop version methods from OC_Util
2024-09-20 18:14:55 +02:00
Daniel Kesselberg 4ae10aa7f9 fix(profiler): clear command does not work
- The loop is supposed to delete the files first and then the directories.
- getPathInfo returns a SplFileInfo object for the parent (the folder in our case).
- A non-empty directory cannot be deleted.

Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2024-09-20 18:14:33 +02:00
Côme Chilliet f9f95cf66d chore: Add rector script to composer.json
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-09-20 17:51:00 +02:00
Côme Chilliet 1a4978c4ea chore: Apply rector configuration to apps folder
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-09-20 17:51:00 +02:00
Côme Chilliet 6db9cbfdeb chore: Add empty rector configuration
Only applying on apps for now, and only minimal type coverage level.

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-09-20 17:50:59 +02:00
Kate 74bfca4f09 Merge pull request #48241 from nextcloud/chore/remove-legacy-files-scripts 2024-09-20 17:36:11 +02:00
Reno Reckling ef7e857881 feat: make search path for BinaryFinder customizable.
This feature is important for nextcloud running on
distributions like NixOS, where all the standard
search paths do not exist.

Also added tests.

This fixes issue #43922

Co-authored-by: Daniel <mail@danielkesselberg.de>
Signed-off-by: Reno Reckling <e-github@wthack.de>
2024-09-20 17:00:06 +02:00
Kate bc5222726b Merge pull request #48224 from nextcloud/object-store-trash-move 2024-09-20 16:27:27 +02:00
nextcloud-command 368569c094 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-09-20 14:19:36 +00:00
Julius Knorr 606241caeb chore(legacy): Introduce public version ct plass and drop version methods from OC_Util
Signed-off-by: Julius Knorr <jus@bitgrid.net>
2024-09-20 14:53:34 +02:00
Ferdinand Thiessen dec9a39a18 chore: Move legacy dialogs template from files to core until we can remove it
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-09-20 13:47:08 +02:00
Ferdinand Thiessen 4c067fcbae chore(files): Remove legacy style files
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-09-20 13:46:46 +02:00
Ferdinand Thiessen 3119108654 chore(files): Remove legacy UI scripts now that everything is migrated to Vue
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-09-20 13:46:39 +02:00
Ferdinand Thiessen 7ff911665e Merge pull request #47905 from nextcloud/fix/files-duplicated-nodes
fix(files): Ensure children are removed from folder and not duplicated
2024-09-20 13:31:30 +02:00
Ferdinand Thiessen 5a501f2459 Merge pull request #47553 from nextcloud/chore/cleanup-warnings
chore: fix usage of deprecated functions and adjust code style
2024-09-20 13:31:02 +02:00
Ferdinand Thiessen 292bd0b20f Merge pull request #48234 from nextcloud/bugfix/noid/remove-more-withConsecutive
fix(ci): Remove more withConsecutive in apps
2024-09-20 12:04:58 +02:00
nextcloud-command a6ebe94205 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-09-20 09:21:05 +00:00
Ferdinand Thiessen f02bcf3471 test(files): Add tests for path handling
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-09-20 11:09:17 +02:00
Ferdinand Thiessen 020b3ee25e fix(files): Ensure children are removed from folder and not duplicated
* Resolves https://github.com/nextcloud/server/issues/47904

We need to make sure that we only add one source (unique!) once as a child,
this is ensured by simply use a native `Set`.
Also we need to remove children on from folders when the `files:node:deleted`
event is emitted.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-09-20 11:09:17 +02:00
nextcloud-command b6facb8701 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-09-20 10:46:00 +02:00
Joas Schilling 0e07c310a1 fix(ci): Remove more withConsecutive in apps
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-09-20 10:23:47 +02:00
Ferdinand Thiessen 085aab24ff chore: fix usage of deprecated functions and adjust code style
This solves 57 ESLint warnings by replacing deprecated code with `@nextcloud/` libraries,
as well as adding missing type information, importing jQuery instead of relying on global one,
and the same with Moment.js.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-09-20 03:30:20 +02:00
Ferdinand Thiessen 4ba3d4a31a Merge pull request #48196 from nextcloud/chore/add-deprecation-date
chore: Add proper deprecation dates where missing
2024-09-20 03:03:12 +02:00
Nextcloud bot 436bd44967 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-09-20 00:21:13 +00:00
Ferdinand Thiessen e243cb8b7d chore: Remove deprecated Share_Helper::generateTarget $exclude parameter
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-09-20 00:51:00 +02:00
Ferdinand Thiessen a8f46af20f chore: Add proper deprecation dates where missing
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-09-20 00:46:03 +02:00
Julius Knorr e7f8ab1c3b Merge pull request #47340 from nextcloud/fix/federation-certificate-store
fix(federation): Do not overwrite certificate bundle
2024-09-20 00:39:39 +02:00
Julius Härtl 232c22fcd1 fix(federation): Do not overwrite certificate bundle
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2024-09-20 00:13:00 +02:00
Ferdinand Thiessen 2a59f4fc95 Merge pull request #48220 from nextcloud/chore/remove-travis
chore: Remove old travis related stuff
2024-09-19 23:26:39 +02:00
Kate 8a8bbd4f9f Merge pull request #48222 from nextcloud/object-store-move-db 2024-09-19 21:42:12 +02:00
Robin Appelman 6791ecbc88 fix: remove mention of disabling file locking from config sample
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-09-19 21:28:18 +02:00
Robin Appelman 42ea824fd7 fix: improve moving object store items to trashbin
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-09-19 21:01:44 +02:00
Ferdinand Thiessen 051ee7e7fd chore: Get rid of travis in DAV app
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-09-19 20:53:31 +02:00
Ferdinand Thiessen 9813cbf616 Merge pull request #48217 from nextcloud/chore/prepare-oc_repair-unit10
chore: Cleanup and prepare `\OC\Repair\RepairMimeTypes` tests for PHPUnit 10
2024-09-19 20:50:35 +02:00
Ferdinand Thiessen 7ae7f7fd12 chore: Remove old travis related stuff
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-09-19 20:16:29 +02:00
Anna Larch 69119eb13b test: fix ContactsMigratorTest
Signed-off-by: Anna Larch <anna@nextcloud.com>
2024-09-19 19:29:57 +02:00
Ferdinand Thiessen 75f5cb7630 Merge pull request #48218 from nextcloud/ci/noid/prepare-phpunit-10
chore: Cleanup and prepare some app tests for PHPUnit 10
2024-09-19 19:28:07 +02:00
Ferdinand Thiessen 349a9fc5f6 chore: Cleanup and prepare \OC\Repair\RepairMimeTypes tests for PHPUnit 10
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-09-19 19:25:42 +02:00
Robin Appelman 47d281865e perf: reuse cache info we already have when moving to object store
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-09-19 19:06:06 +02:00
Joas Schilling 4ccf62a224 chore: Cleanup and prepare some app tests for PHPUnit 10
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-09-19 18:19:32 +02:00
Joas Schilling 2110698ea3 fix(user_status): Fix integration test of user status
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-09-19 17:51:01 +02:00
Joas Schilling 6ad620fe27 fix(tests): Fix test selection and run unit tests of DAV and user_status
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-09-19 17:44:45 +02:00
Kate 00a27afa26 Merge pull request #48212 from nextcloud/fix/psalm/update-baseline 2024-09-19 17:29:33 +02:00
provokateurin 5df5a979ef fix(psalm): Update psalm baseline
Signed-off-by: provokateurin <kate@provokateurin.de>
2024-09-19 17:04:21 +02:00
Hamza 34445ea9d1 Merge pull request #47399 from nextcloud/fix/47275/driverException
fix: expand select and group by for calendar reminder backend
2024-09-19 16:57:17 +02:00
dependabot[bot] 96de697aa6 Merge pull request #48187 from nextcloud/dependabot/npm_and_yarn/vueuse/components-11.1.0 2024-09-19 14:01:42 +00:00
Kate 74c38b87e5 Merge pull request #48181 from nextcloud/chore/deps/nextcloud-coding-standard 2024-09-19 15:49:04 +02:00
Hamza Mahjoubi ab3a239853 fix: expand select and group by for calandar reminder backend
Signed-off-by: Hamza Mahjoubi <hamzamahjoubi221@gmail.com>
2024-09-19 15:25:16 +02:00
dependabot[bot] b86156d5cc chore(deps): Bump @vueuse/components from 11.0.3 to 11.1.0
Bumps [@vueuse/components](https://github.com/vueuse/vueuse/tree/HEAD/packages/components) 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/components)

---
updated-dependencies:
- dependency-name: "@vueuse/components"
  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-19 12:48:01 +00:00
provokateurin 6285f550b6 chore: Add nextcloud/coding-standard v1.3.1 update to git blame ignores
Signed-off-by: provokateurin <kate@provokateurin.de>
2024-09-19 14:21:38 +02:00
provokateurin 9836e9b164 chore(deps): Update nextcloud/coding-standard to v1.3.1
Signed-off-by: provokateurin <kate@provokateurin.de>
2024-09-19 14:21:20 +02:00
Ferdinand Thiessen 8c60ffa0f2 Merge pull request #48192 from nextcloud/dependabot/npm_and_yarn/wait-on-8.0.1
chore(deps-dev): Bump wait-on from 7.2.0 to 8.0.1
2024-09-19 13:50:29 +02:00
Robin Appelman 7307671ed5 Merge pull request #45471 from nextcloud/fix-setupcheck-filelocking
fix(setupChecks): Update Transactional File Locking instructions
2024-09-19 13:50:02 +02:00
dependabot[bot] 90fa0f1a84 Merge pull request #48188 from nextcloud/dependabot/npm_and_yarn/babel/plugin-transform-private-methods-7.25.4 2024-09-19 11:36:54 +00:00
Josh Richards e019eae347 fix(setupChecks): Having transactional file locking disabled is not supported
Signed-off-by: Josh Richards <josh.t.richards@gmail.com>
2024-09-19 12:50:59 +02:00
Robin Appelman 21678df4d6 Merge pull request #48200 from nextcloud/share-reminder-sharding
fix: add sharding compatible version of share reminder job
2024-09-19 12:50:37 +02:00
Robin Appelman 0bdd25eb0f fix: add sharding compatible version of share reminder job
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-09-19 11:59:46 +02:00
Joas Schilling 086b11f8fb Merge pull request #47978 from nextcloud/chore/remove-ilogger
chore!: Remove `ILogger` and its friends
2024-09-19 10:58:38 +02:00
Joas Schilling a0cb795f04 Merge pull request #48162 from nextcloud/bugfix/noid/array-keys
fix(autocomplete): Move known array keys to psalm docs
2024-09-19 10:25:06 +02:00
github-actions[bot] 854d54dedf Merge pull request #48154 from nextcloud/automated/noid/master-update-psalm-baseline
[master] Update psalm-baseline.xml
2024-09-19 02:43:59 +00:00
nextcloud-command bfb0160950 chore(tests): Update psalm baseline
Signed-off-by: GitHub <noreply@github.com>
2024-09-19 02:32:53 +00:00
Nextcloud bot 9c0c2859d3 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-09-19 00:20:42 +00:00
Ferdinand Thiessen 5cce140701 chore: Remove deprecated ILogger logging functions
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-09-19 00:37:06 +02:00
Ferdinand Thiessen f1dfd6ba71 refactor(OC_Template): Remove deprecated ILogger
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-09-19 00:35:21 +02:00
Ferdinand Thiessen 74923d174b refactor(OC_Files): Remove deprecated ILogger
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-09-19 00:35:21 +02:00
Ferdinand Thiessen 8b79283c6b refactor(OC_Util): Remove deprecated ILogger
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-09-19 00:35:21 +02:00
Ferdinand Thiessen 0d31976690 refactor(OC_Hook): Remove deprecated ILogger
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-09-19 00:35:21 +02:00
Ferdinand Thiessen 69abd8851b refactor(OC_App): Remove ILogger usage
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-09-19 00:35:21 +02:00
Ferdinand Thiessen 7ae62cfe47 refactor(ProviderFactory): Remove usage of ILogger and use non-deprecated stuff
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-09-19 00:35:20 +02:00
Ferdinand Thiessen 44c7248749 refactor(Collaboration): Use non-deprecated methods
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-19 00:35:20 +02:00
Ferdinand Thiessen fe05882628 chore!: Remove OC\AppFramework\Logger
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-09-19 00:32:25 +02:00
John Molakvoæ 200e7c0fca Merge pull request #48190 from nextcloud/dependabot/npm_and_yarn/nextcloud/cypress-1.0.0-beta.9
chore(deps-dev): Bump @nextcloud/cypress from 1.0.0-beta.8 to 1.0.0-beta.9
2024-09-19 00:27:54 +02:00
John Molakvoæ df2711d23e Merge pull request #48163 from nextcloud/feat/nfo
feat: add nfo file support
2024-09-19 00:22:16 +02:00
dependabot[bot] 063d4df478 Merge pull request #48185 from nextcloud/dependabot/npm_and_yarn/babel-loader-9.2.1 2024-09-18 19:14:36 +00:00
dependabot[bot] d9bbd16aa2 chore(deps-dev): Bump wait-on from 7.2.0 to 8.0.1
Bumps [wait-on](https://github.com/jeffbski/wait-on) from 7.2.0 to 8.0.1.
- [Release notes](https://github.com/jeffbski/wait-on/releases)
- [Commits](https://github.com/jeffbski/wait-on/compare/v7.2.0...v8.0.1)

---
updated-dependencies:
- dependency-name: wait-on
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-09-18 18:31:03 +00:00
dependabot[bot] f3b75cb5c8 chore(deps-dev): Bump @nextcloud/cypress
Bumps [@nextcloud/cypress](https://github.com/nextcloud/nextcloud-cypress) from 1.0.0-beta.8 to 1.0.0-beta.9.
- [Release notes](https://github.com/nextcloud/nextcloud-cypress/releases)
- [Commits](https://github.com/nextcloud/nextcloud-cypress/compare/v1.0.0-beta.8...v1.0.0-beta.9)

---
updated-dependencies:
- dependency-name: "@nextcloud/cypress"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-09-18 18:30:05 +00:00
dependabot[bot] fbb14a724d chore(deps-dev): Bump @babel/plugin-transform-private-methods
Bumps [@babel/plugin-transform-private-methods](https://github.com/babel/babel/tree/HEAD/packages/babel-plugin-transform-private-methods) from 7.24.7 to 7.25.4.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.25.4/packages/babel-plugin-transform-private-methods)

---
updated-dependencies:
- dependency-name: "@babel/plugin-transform-private-methods"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-09-18 18:29:40 +00:00
dependabot[bot] a5ff0c2f83 chore(deps-dev): Bump babel-loader from 9.1.3 to 9.2.1
Bumps [babel-loader](https://github.com/babel/babel-loader) from 9.1.3 to 9.2.1.
- [Release notes](https://github.com/babel/babel-loader/releases)
- [Changelog](https://github.com/babel/babel-loader/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel-loader/compare/v9.1.3...v9.2.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-09-18 18:28:56 +00:00
Joas Schilling 6b8d331a71 Merge pull request #48177 from nextcloud/artonge/fix/remove_unnecessary_formating
fix: Override start method of \Sabre\DAV\Server to remove exception o…
2024-09-18 20:28:37 +02:00
Côme Chilliet 1927bcda92 Merge pull request #48140 from nextcloud/bugfix/noid/update-phpunit
ci: Bump phpunit to 9.6.19 and add dependabot
2024-09-18 20:27:47 +02:00
Joas Schilling 342927b140 Merge pull request #48182 from nextcloud/oracle-share-reminder
fix: fix share reminder job for oracle
2024-09-18 20:24:07 +02:00
Robin Appelman b45f2420fe fix: fix share reminder job for oracle
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-09-18 19:24:44 +02:00
Côme Chilliet 989d708bd8 Merge pull request #48137 from nextcloud/enh/add-rich-object-formatter
feat: Add OCP interface to format richtext into string
2024-09-18 18:59:56 +02:00
Louis Chemineau e202896a74 fix: Override start method of \Sabre\DAV\Server to remove exception output
Signed-off-by: Louis Chemineau <louis@chmn.me>
2024-09-18 17:53:43 +02:00
Arthur Schiwon 33928fc671 Merge pull request #48160 from nextcloud/object-store-move-fixes
Object store move fixes and more
2024-09-18 17:50:13 +02:00
Robin Appelman 1ad58d68f3 test: fix ShareControllerTest.php
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-09-18 16:10:14 +02:00
Robin Appelman d8ed84653b test: fix trashbin StorageTest
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-09-18 16:10:14 +02:00
Robin Appelman 7661a7e90a test: fix ShareAPIControllerTest.php
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-09-18 16:10:14 +02:00
Robin Appelman 627980ec2a test: fix service overwrite in PartFileInRootUploadTest
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-09-18 16:10:14 +02:00
Robin Appelman 1db3d94e1e test: put parent items into cache in tests
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-09-18 16:10:14 +02:00
Robin Appelman 3c0c81bb94 fix: ensure parent folder exists when writing a file to object storage
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-09-18 14:11:27 +02:00
Robin Appelman 74adaebf96 test: fix incorrect ltrim usage in test
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-09-18 14:11:27 +02:00
Robin Appelman 75cf17e4c4 fix: verify that parent exists in cache when inserting
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-09-18 14:11:27 +02:00
Robin Appelman e0fb25f846 fix: fix object store id for test object store
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-09-18 13:54:55 +02:00
Robin Appelman 60f6347c97 fix: cleanup objectstore file_put_content
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-09-18 13:54:55 +02:00
Robin Appelman 3e94ee391f fix: create intermediate directories for objectstore moveFromStorage
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-09-18 13:54:55 +02:00
Robin Appelman 879fcc4253 fix: get source file before moving the cache item in objectstore moveFromStorage
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-09-18 13:54:55 +02:00
John Molakvoæ a1c2a659a2 Merge pull request #48161 from nextcloud/fix/pronouns-tests 2024-09-18 13:53:53 +02:00
John Molakvoæ (skjnldsv) 8fb64b886a fix(settings): pronouns UsersControllerTest
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2024-09-18 13:30:33 +02:00
John Molakvoæ (skjnldsv) 397910cd1d feat: add nfo file support
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2024-09-18 11:51:10 +02:00
Joas Schilling 0af0bf3d42 fix(autocomplete): Move known array keys to psalm docs
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-09-18 11:40:45 +02:00
Nextcloud bot 13fce9fb9d Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-09-18 09:28:00 +00:00
Joas Schilling cd3256bf54 Merge pull request #48145 from nextcloud/artonge/fix/drop_unecessary_exit
fix: Drop unnecessary exit
2024-09-18 10:42:09 +02:00
Louis Chemineau 4e75a3c55c fix: Prevent duplicate creation of print_exception function
Signed-off-by: Louis Chemineau <louis@chmn.me>
2024-09-18 09:31:46 +02:00
Nextcloud bot 29a03ff8fe Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-09-18 00:22:04 +00:00
John Molakvoæ 6bcab26174 Merge pull request #44013 from nextcloud/fieat/profile-pronounces
feat: add pronouns to account profile
2024-09-18 01:25:07 +02:00
John Molakvoæ (skjnldsv) b24e02e5df fix(core): profile design and pronouns support
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2024-09-18 00:15:19 +02:00
John Molakvoæ eb374a74c7 Merge pull request #45020 from Noodlesalat/fix-lastlogin-update-token-login 2024-09-17 23:54:37 +02:00
John Molakvoæ (skjnldsv) 26abc86eca feat: add profile pronouns
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2024-09-17 22:20:36 +02:00
dependabot[bot] 185edbd592 Merge pull request #48151 from nextcloud/dependabot/npm_and_yarn/vite-5.4.6 2024-09-17 19:25:09 +00:00
dependabot[bot] e15549bd3d chore(deps): Bump vite from 5.4.2 to 5.4.6
Bumps [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite) from 5.4.2 to 5.4.6.
- [Release notes](https://github.com/vitejs/vite/releases)
- [Changelog](https://github.com/vitejs/vite/blob/v5.4.6/packages/vite/CHANGELOG.md)
- [Commits](https://github.com/vitejs/vite/commits/v5.4.6/packages/vite)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-09-17 19:14:13 +00:00
Côme Chilliet b124f19777 fix(tests): Adapt tests to changes in RepairMimeTypes
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-09-17 19:34:44 +02:00
Côme Chilliet cfca7e7911 fix(tests): Fix most obvious errors in ObjectStore tests
Some are still failing

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-09-17 19:20:13 +02:00
Côme Chilliet 2bdc97741c fix(tests): Fix Folder tests
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-09-17 19:19:08 +02:00
Kate dc71cb7c3a Merge pull request #48144 from nextcloud/fix/psalm/throws-annotations 2024-09-17 17:52:30 +02:00
Côme Chilliet 9a9dd10c0c fix(tests): Remove deprecated tests for ServerTest
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-09-17 17:48:01 +02:00
Louis Chemineau d2bf3613f6 fix: Drop unnecessary exit
Signed-off-by: Louis Chemineau <louis@chmn.me>
2024-09-17 17:32:33 +02:00
provokateurin c2fb7a72da fix(psalm): Fix @throws annotations
Signed-off-by: provokateurin <kate@provokateurin.de>
2024-09-17 17:18:30 +02:00
Stephan Orbaugh f25acfb799 Merge pull request #47986 from cfiehe/fix_move_on_same_bucket
perf(ObjectStoreStorage): Improve (slow) move on same object bucket
2024-09-17 16:35:19 +02:00
Joas Schilling 9a80c134fc ci: Bump phpunit to 9.6.19 and add dependabot
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-09-17 16:09:52 +02:00
Ferdinand Thiessen 4d275232f0 Merge pull request #48138 from nextcloud/chore/remove-legacy-settings-fors
fix: Remove legacy settings forms
2024-09-17 15:47:01 +02:00
Côme Chilliet b926df4730 fix: Adapt notifications and activity tests to new DI dependency
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-09-17 15:28:09 +02:00
Ferdinand Thiessen f5b73d2c77 fix: Remove legacy settings forms
`OC_App::getForms` was always returning an empty array,
because there were no setter for `adminForms` or `personalForms` anymore.
So removed all that legacy settings forms logic.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-09-17 14:54:39 +02:00
Côme Chilliet 117c7ee654 fix: Fix Event and Notification creation with the new required parameter
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-09-17 14:37:55 +02:00
John Molakvoæ fe9981fad7 Merge pull request #48129 from nextcloud/feat/zst 2024-09-17 14:31:06 +02:00
Côme Chilliet 295eee6712 fix: Add missing alias for IRichTextFormatter
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-09-17 14:23:44 +02:00
John Molakvoæ (skjnldsv) 67fb4da40f chore: update RepairMimeTypes migration
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2024-09-17 14:14:01 +02:00
Côme Chilliet 70a886ce83 feat: Add OCP interface to format richtext into string
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-09-17 13:57:33 +02:00
Anna f8dde2d254 Merge pull request #48086 from nextcloud/refactor/move-to-new-activity-exception
refactor: move to new activity exception
2024-09-17 12:35:46 +02:00
Anna Larch 1ce46c1fca refactor: move to new activity exception
Signed-off-by: Anna Larch <anna@nextcloud.com>
2024-09-17 12:06:24 +02:00
John Molakvoæ (skjnldsv) 1647a3b93a chore: add application/zstd
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2024-09-17 11:36:57 +02:00
Kate 4e64a6eb48 Merge pull request #48080 from nextcloud/fix/storage/method-docs-inheritance 2024-09-17 11:16:20 +02:00
John Molakvoæ 57a5baa88f Merge pull request #48094 from nextcloud/fix/storage/get-owner-false 2024-09-17 10:44:31 +02:00
Grigorii K. Shartsev f0bf7990f8 Merge pull request #48090 from nextcloud/fix/settings--disable-discover-when-app-store-is-disabled
fix(settings): disable Discover when appstore is disabled
2024-09-17 13:31:26 +05:00
John Molakvoæ a9ad7668eb Merge pull request #47998 from nextcloud/fix/sabre-dav-itip-broker 2024-09-17 10:29:20 +02:00
John Molakvoæ 6f78730573 Merge pull request #48114 from nextcloud/fix/AppStore--remove-unneeded-warning 2024-09-17 10:26:31 +02:00
provokateurin d2d1e3284d fix(Storage): Fix method docs inheritance
Signed-off-by: provokateurin <kate@provokateurin.de>
2024-09-17 10:20:38 +02:00
provokateurin dc13f9cc1e fix(Files): Handle getOwner() returning false
Signed-off-by: provokateurin <kate@provokateurin.de>
2024-09-17 10:10:50 +02:00
provokateurin 8ca6fcace7 fix(Storage): Document getOwner() can return false
Signed-off-by: provokateurin <kate@provokateurin.de>
2024-09-17 10:10:50 +02:00
Côme Chilliet c256518ab3 Merge pull request #48110 from nextcloud/chore/remove-deprecated-aliases
chore: Remove deprecated aliases from dependency injection
2024-09-17 09:39:27 +02:00
github-actions[bot] 6c7d79b696 Merge pull request #48115 from nextcloud/automated/noid/master-update-psalm-baseline
[master] Update psalm-baseline.xml
2024-09-17 06:35:13 +02:00
nextcloud-command f6c2ae298b chore(tests): Update psalm baseline
Signed-off-by: GitHub <noreply@github.com>
2024-09-17 02:18:56 +00:00
Ferdinand Thiessen c2443ad1f2 chore: Replace DI alias with real class
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-09-17 02:27:31 +02:00
Nextcloud bot d76d971e55 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-09-17 00:20:40 +00:00
Grigorii K. Shartsev 70ed4aec39 fix(appstoreFetcher): get app list from custom app store
Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
2024-09-17 01:29:25 +02:00
Grigorii K. Shartsev ce679c3da4 fix(appstoreFetcher): remove unneeded warning
Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
2024-09-17 01:24:49 +02:00
Côme Chilliet 0759b481e6 chore: Remove deprecated aliases from dependency injection
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-09-16 21:11:09 +02:00
Côme Chilliet b9fb1db0f8 Merge pull request #48009 from nextcloud/fix/remove-references-to-deprected-storage-interface
fix: Remove OCP\Files\Storage interface deprecated since version 9
2024-09-16 20:50:38 +02:00
Côme Chilliet 03b969fb95 chore: Improve typing and phpdoc comments
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-09-16 20:29:48 +02:00
Robin Appelman ede0c26b78 Merge pull request #46480 from nextcloud/fix/mailer-binaryfinder-fallback
fix(Mailer): Fix sendmail binary fallback
2024-09-16 18:18:14 +02:00
Côme Chilliet e7ac9bb2d8 chore: Check storage is an instance of the correct class instead of psalm-suppress
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-09-16 18:11:39 +02:00
Côme Chilliet ed0ac284e3 chore: Remove deprecated Storage::search method instead of moving it to IStorage
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-09-16 18:11:38 +02:00
Côme Chilliet 5d01e0a73c chore: psalm-suppress legacy code weirdness
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-09-16 18:11:38 +02:00
Côme Chilliet 492e6997d8 chore: Fix psalm issues, put back private versions of getter in private Storage interface
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-09-16 18:11:38 +02:00
Côme Chilliet f80eda4398 chore: fix autoloaders
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-09-16 18:11:38 +02:00
Côme Chilliet a165d8f978 chore: Fix encryption test use statement
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-09-16 18:11:38 +02:00
Côme Chilliet 22822d5e9b fix: Fix other uses of removed Storage interface
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-09-16 18:11:36 +02:00
Côme Chilliet 801733e523 fix: Remove OCP\Files\Storage interface deprecated since version 9
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-09-16 18:10:48 +02:00
John Molakvoæ dde0b48c93 Merge pull request #46218 from nextcloud/artonge/fix/hash_return_type 2024-09-16 17:15:18 +02:00
Robin Appelman d9c5512878 Merge pull request #46140 from nextcloud/fix-nc-env-inclusion
fix(config): Add missing handling for `envCache` in `getKeys()`
2024-09-16 16:55:13 +02:00
Grigorii K. Shartsev 5ac467ba0f chore(assets): Recompile assets
Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
2024-09-16 16:29:47 +02:00
Grigorii K. Shartsev eab54788a2 fix(settings): disable Discover when appstore is disabled
Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
2024-09-16 16:28:04 +02:00
John Molakvoæ 6eefcdba0c Merge pull request #47316 from Farcry69/fix/metadata-refresh-crash 2024-09-16 15:59:26 +02:00
Joas Schilling cc9c61d580 Merge pull request #47947 from nextcloud/feat/make-setup-check-trait-public
feat: Make `CheckServerResponseTrait` public and provide as `OCP\SetupCheck\CheckServerResponseTrait`
2024-09-16 15:33:48 +02:00
Josh 87aa1267a8 fix(Mailer): Fix sendmail binary fallback
feat: add debug logging to sendmail binary finder

Signed-off-by: Josh <josh.t.richards@gmail.com>
2024-09-16 15:20:29 +02:00
Robin Appelman 13088b745a Merge branch 'master' into fix-nc-env-inclusion
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-09-16 15:13:29 +02:00
Christoph Fiehe 9597072ada perf(ObjectStoreStorage): Improve (slow) move on same object bucket
This commit fixes the issue #47856. When you upload a file into a group folder and when you use a single S3 bucket as primary storage, the final move operation hangs for a long time. In the background, Nextcloud initiates a copy-delete sequence from the bucket into the bucket, with causes a lot unnecessary overhead. Nextcloud thinks that the file must be imported to another storage and does not recognize that everything is done on the same object bucket. In that case, the import step can be completely skipped, which saves time, network bandwidth and reduces the load on the object storage.

The behavior improves a lot with https://github.com/nextcloud/server/pull/46013. However, there are still some put messages that are being sent to the object storage when you use an object storage as primary storage and upload files into a group folder.

Co-authored-by: Kate <26026535+provokateurin@users.noreply.github.com>
Signed-off-by: Christoph Fiehe <c.fiehe@eurodata.de>
2024-09-16 15:11:09 +02:00
John Molakvoæ 9acaf0788f chore: improve hash_file php usage in Local Storage
Co-authored-by: Ferdinand Thiessen <opensource@fthiessen.de>
Signed-off-by: John Molakvoæ <skjnldsv@users.noreply.github.com>
2024-09-16 15:07:21 +02:00
Louis Chemineau 6674f790a9 fix(files): Ensure that the hash method does not return null
To match https://github.com/nextcloud/server/blob/beececf66068f57c416225efcde9b44ce5c2e835/lib/private/Files/View.php#L1050

- Fix https://github.com/nextcloud/server/issues/44110

Signed-off-by: Louis Chemineau <louis@chmn.me>
2024-09-16 15:07:21 +02:00
Joas Schilling cfed24cb02 Merge pull request #47924 from ldidry/catch-MaxInstancesExceededException
🥅 — Catch MaxInstancesExceededException on calendar events
2024-09-16 15:04:49 +02:00
Kate dc8a8bea97 Merge pull request #48081 from nextcloud/rakekniven-patch-2 2024-09-16 15:00:18 +02:00
Ferdinand Thiessen 7fbd518452 feat: Make CheckServerResponseTrait public and provide as OCP\SetupCheck\CheckServerResponseTrait
This trait is used by other apps for creating setup checks,
so we should provide it instead apps using private API.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-09-16 14:58:21 +02:00
SebastianKrupinski 7158b4e75e fix: Add SabreDav Patch for iTip Broker
Signed-off-by: SebastianKrupinski <krupinskis05@gmail.com>
2024-09-16 08:37:02 -04:00
nextcloud-command 3382fe2dd2 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-09-16 12:33:29 +00:00
rakekniven 9f6463c375 chore(1i8n): Fixed grammar and improved wording
Reported at Transifex

Signed-off-by: rakekniven <2069590+rakekniven@users.noreply.github.com>
2024-09-16 13:11:53 +02:00
Luc Didry 615f0b2c0e fix(dav): catch MaxInstancesExceededException on calendar events
Signed-off-by: Luc Didry <luc@didry.org>
2024-09-16 12:57:22 +02:00
John Molakvoæ ff0cab5956 Merge pull request #47852 from nextcloud/sharding-code-fixes 2024-09-16 11:39:58 +02:00
John Molakvoæ 52f4b88f8d Merge pull request #48050 from nextcloud/fix/weather_status/search-address-offline-errors 2024-09-16 11:31:13 +02:00
Joas Schilling c228c62088 Merge pull request #48063 from nextcloud/bugfix/noid/fix-otf-loading
fix(a11y): Add OTF font loading check
2024-09-16 11:25:47 +02:00
Joas Schilling 932d488b9f Merge pull request #47948 from nextcloud/fix/issue-34720
fix(collaboration): Reduce timeouts to 3s for link reference connects
2024-09-16 11:25:32 +02:00
John Molakvoæ f5512ca062 Merge pull request #47792 from nextcloud/chore/use-public-api-helper 2024-09-16 11:20:58 +02:00
John Molakvoæ ac50ee67a9 Merge pull request #47964 from nextcloud/dependabot/npm_and_yarn/multi-cf87d80143 2024-09-16 11:20:27 +02:00
John Molakvoæ 816ffa469a Merge pull request #48044 from nextcloud/fix/cast-node-names-to-string 2024-09-16 11:08:50 +02:00
Kate 8a32881633 Merge pull request #48008 from nextcloud/fix/entity/strict-types 2024-09-16 11:08:35 +02:00
Anna 1a972d0f47 Merge pull request #48029 from nextcloud/fix/dav-cast-content-lenght-to-int
fix(dav): cast content length to interger
2024-09-16 11:07:40 +02:00
John Molakvoæ 388618bd44 Merge pull request #48030 from nextcloud/fix/dav-cast-params-to-string 2024-09-16 11:07:31 +02:00
Anna 04997dfc53 Merge pull request #48031 from nextcloud/fix/filesreport-cast-fileId-to-int
fix(filesreport): cast fileId to integer
2024-09-16 11:07:22 +02:00
Joas Schilling 868008205e Merge pull request #48018 from nextcloud/feat/verbose-cron
feat: add verbose mode to cron.php
2024-09-16 10:30:47 +02:00
Christoph Wurst 0a7b4b597e Merge pull request #48042 from nextcloud/refactor/elvis
refactor: Use the elvis operator + fix: Handle null checks with the ?? operator
2024-09-16 10:04:37 +02:00
Joas Schilling c7c031dbd2 fix(a11y): Add OTF font loading check
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-09-16 09:59:21 +02:00
github-actions[bot] 54b162f10e Merge pull request #48060 from nextcloud/automated/noid/master-update-psalm-baseline
[master] Update psalm-baseline.xml
2024-09-16 09:37:46 +02:00
Andy Scherzinger a6bd34e0bd Merge pull request #48028 from nextcloud/fix/fix-ldap-setupcheck-crash
fix(user_ldap): Use %n in plural translation to avoid a crash in L10N
2024-09-16 08:32:24 +02:00
nextcloud-command edb9a0360e chore(tests): Update psalm baseline
Signed-off-by: GitHub <noreply@github.com>
2024-09-16 02:37:08 +00:00
Nextcloud bot d6a59be1c0 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-09-16 00:20:11 +00:00
Anna d46f271b1f Merge pull request #48049 from nextcloud/refactor/void-tests
refactor: Add void return type to PHPUnit test methods
2024-09-16 00:11:41 +02:00
Anna bdb2fdbe90 Merge pull request #48043 from nextcloud/fix/imip-test-expects-integer
test(dav): imip service test expects integers for last occurence
2024-09-16 00:09:28 +02:00
Anna Larch eb8cec2b96 test: cast node name and data to string
Signed-off-by: Anna Larch <anna@nextcloud.com>
2024-09-15 23:05:59 +02:00
Anna 6892500405 Merge pull request #48046 from nextcloud/refactor/self-class-reference
refactor: Replace __CLASS__ with ::class references
2024-09-15 23:01:22 +02:00
Anna Larch 92d1bdb965 fix(dav): cast content length to interger
Signed-off-by: Anna Larch <anna@nextcloud.com>
2024-09-15 22:46:46 +02:00
Andy Scherzinger 6e983ce207 Merge pull request #47973 from melroy89/patch-1
Add missing Nextcloud v30 to issue template
2024-09-15 22:42:35 +02:00
Kate 876631435e Merge pull request #48045 from nextcloud/fix/add-function-type-for-mimetype-sanitizer 2024-09-15 22:42:01 +02:00
provokateurin 51d523a6a3 fix(weather_status): Fix search address errors when offline
Signed-off-by: provokateurin <kate@provokateurin.de>
2024-09-15 22:40:02 +02:00
Christoph Wurst e4cf430233 chore: Update git blame ignore
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2024-09-15 22:35:16 +02:00
Christoph Wurst 49dd79eabb refactor: Add void return type to PHPUnit test methods
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2024-09-15 22:32:31 +02:00
Anna Larch d5177c8e8f test(dav): imip service test expects integers for last occurence
Signed-off-by: Anna Larch <anna@nextcloud.com>
2024-09-15 22:28:37 +02:00
Christoph Wurst c57e684e7b fix: Handle null checks with the ?? operator
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2024-09-15 21:50:11 +02:00
Anna 4281ce6fa1 Merge pull request #48010 from nextcloud/feat/switch-from-settype-to-casts
feat(db): switch from settype to casts
2024-09-15 21:49:04 +02:00
Melroy van den Berg e7bcc7535b docs: Add missing Nextcloud v30
Signed-off-by: Melroy van den Berg <melroy@melroy.org>
2024-09-15 21:45:41 +02:00
Christoph Wurst 1ee833efab refactor: Replace __CLASS__ with ::class references
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2024-09-15 21:40:55 +02:00
Anna Larch 160866c52d fix(dav): set string type for sanitizeMtime
Signed-off-by: Anna Larch <anna@nextcloud.com>
2024-09-15 21:32:55 +02:00
Daniel 9c76a25b63 Merge pull request #48041 from nextcloud/refactor/dirname-to-dir
refactor: migrate dirname to __DIR__ constants
2024-09-15 21:14:03 +02:00
Christoph Wurst 614f9ec0a2 refactor: Use the elvis operator
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2024-09-15 21:01:34 +02:00
Christoph Wurst 903484a884 refactor: migrate dirname to __DIR__ constants
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2024-09-15 20:55:23 +02:00
Anna 5a8d0a2721 Merge pull request #47916 from nextcloud/feat/add-subscription-via-occ
feat(caldav): create subscriptions via occ
2024-09-15 20:24:29 +02:00
Andy Scherzinger a9e7e5954b Merge pull request #48037 from nextcloud/chore/noid/correctTrademarkLink
fix: correct link to trademark
2024-09-15 19:52:27 +02:00
Andy Scherzinger c94341fd46 fix: correct link to trademark
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2024-09-15 19:51:17 +02:00
Anna Larch 6c36c54dc6 feat(db): switch from settype to casts
Signed-off-by: Anna Larch <anna@nextcloud.com>
2024-09-15 19:26:58 +02:00
Anna Larch 35969bfaaa fix(filesreport): cast fileId to integer
Signed-off-by: Anna Larch <anna@nextcloud.com>
2024-09-15 19:19:41 +02:00
Kate 3fe3f8d1f6 Merge pull request #48016 from nextcloud/fix/s3configtrait/proxy-false 2024-09-15 19:16:04 +02:00
Kate 101891280b Merge pull request #48013 from nextcloud/fix/baseresponse/xml-element-value-string-cast 2024-09-15 19:15:46 +02:00
Anna Larch 1f00cef13a feat(caldav): create subscriptions via occ
Signed-off-by: Anna Larch <anna@nextcloud.com>
2024-09-15 19:11:26 +02:00
Anna Larch 9479ac8376 fix(dav): cast parameters to string
Signed-off-by: Anna Larch <anna@nextcloud.com>
2024-09-15 18:47:59 +02:00
Côme Chilliet 317c4ba50a fix(user_ldap): Use %n in plural translation to avoid a crash in L10N
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-09-15 18:38:12 +02:00
Kate 77de180faa Merge pull request #48014 from nextcloud/fix/tags/boolean-user-has-tags 2024-09-15 17:48:27 +02:00
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
John Molakvoæ (skjnldsv) 9538c0ce7e feat: add verbose mode to cron.php
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2024-09-15 16:04:43 +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 7c1c02d6a5 fix(S3ConfigTrait): Allow proxy field to take false
Signed-off-by: provokateurin <kate@provokateurin.de>
2024-09-15 15:41:58 +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
provokateurin 3d9b49815b fix(BaseResponse): Cast XML element values to string
Signed-off-by: provokateurin <kate@provokateurin.de>
2024-09-15 15:37:27 +02:00
provokateurin 9b82bfd3c3 fix(Tags): Return boolean for userHasTags()
Signed-off-by: provokateurin <kate@provokateurin.de>
2024-09-15 15:33:46 +02:00
provokateurin 247b1dd70e fix(Entity): Fix magic setter call for custom strong typed setters
Signed-off-by: provokateurin <kate@provokateurin.de>
2024-09-15 15:14:54 +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] ab3f388cb5 build(deps): bump send and express
Bumps [send](https://github.com/pillarjs/send) and [express](https://github.com/expressjs/express). These dependencies needed to be updated together.

Updates `send` from 0.18.0 to 0.19.0
- [Release notes](https://github.com/pillarjs/send/releases)
- [Changelog](https://github.com/pillarjs/send/blob/master/HISTORY.md)
- [Commits](https://github.com/pillarjs/send/compare/0.18.0...0.19.0)

Updates `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: send
  dependency-type: indirect
- dependency-name: express
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-09-14 06:01:28 +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
Josh d165405d5b fix(collaboration): Reduce timeouts to 3s for link reference connects
Fixes rest of #34720 

https://github.com/nextcloud/server/issues/34720#issuecomment-1286609205

Signed-off-by: Josh <josh.t.richards@gmail.com>
2024-09-13 10:41:28 -04: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
Andy Scherzinger d0275a7702 Merge pull request #47930 from nextcloud/chore/noid/bump-db-version
build: bump version to run sha265 for background job arguments migration
2024-09-12 21:37:46 +02:00
Daniel Kesselberg 61e8450fbd chore: bump 3rdparty
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2024-09-12 18:17:46 +02:00
Daniel Kesselberg 0baa7ae27a build: bump version to run sha265 for background job arguments migration
Follow-up for https://github.com/nextcloud/server/pull/47769

Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2024-09-12 17:57:39 +02:00
Joas Schilling 599a94fc9a fix(a11y): Update OpenDyslexic from 0.920 to 2.001
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-09-12 16:53:13 +02:00
Josh 2480567005 Merge pull request #47526 from nextcloud/jtr/fix-ftp-custom-port-ui
fix(files_external): Handling in FTP UI for custom ports
2024-09-12 09:34:47 -04:00
Josh 56c744d263 Merge pull request #47527 from nextcloud/fix-sftp-custom-port-ui
fix(files_external): Handling in SFTP UI for custom ports
2024-09-12 09:34:32 -04:00
Côme Chilliet b6c286640f Merge pull request #47685 from nextcloud/fix/move-apihelper-to-oc-namespace
fix: Move OC_API into \OC\ApiHelper in standard namespace
2024-09-12 14:34:07 +02:00
Arthur Schiwon a2ac1d8be0 Merge pull request #47914 from nextcloud/fix/noid/ldap-range-index-check
fix(LDAP): check index before accessing it
2024-09-12 12:53:44 +02:00
Arthur Schiwon c8fc2e8a67 fix(LDAP): check index before accessing it
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2024-09-12 11:18:18 +02:00
Julius Knorr 15491d0866 Merge pull request #47913 from nextcloud/fix/whiteboard-app-bundles
fix: Add whiteboard to education and public sector bundle
2024-09-12 11:07:22 +02:00
Julius Knorr 38e0a89972 fix: Add whiteboard to education and public sector bundle
Signed-off-by: Julius Knorr <jus@bitgrid.net>
2024-09-12 09:13:42 +02:00
Andy Scherzinger 8feef45506 Merge pull request #47906 from nextcloud/chore/trashbin-retention-config-cleanup
chore: Update trashbin retention documentation with exceeded quota details
2024-09-12 08:51:22 +02:00
Nextcloud bot ecdc144d1d Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-09-12 00:20:20 +00:00
Christopher Ng a7f3bde2a7 chore: Update trashbin retention documentation with exceeded quota details
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2024-09-11 11:57:31 -07:00
Ferdinand Thiessen 5fc514877b Merge pull request #47586 from nextcloud/fix/color
fix(theming): Add migration to restore primary color after separating primary and background
2024-09-11 15:10:09 +02:00
Kate 0b16b20019 Merge pull request #47891 from nextcloud/fix/make-watcher-null-safe 2024-09-11 14:44:20 +02:00
nextcloud-command c91efd3cc4 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-09-11 11:53:41 +00:00
Ferdinand Thiessen 7a345f68dc fix(files): Make openMenu watcher null safe
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-09-11 13:44:12 +02:00
John Molakvoæ 2b5dd11d97 Merge pull request #47339 from nextcloud/fix/leave-share-instead-of-delete
fix: Display 'Leave share' instead of 'Delete'
2024-09-11 13:42:15 +02:00
skjnldsv bb37954abb fix(files_sharing): adjust permissions from custom edit and delete check methods
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2024-09-11 13:17:42 +02:00
Pytal 897c341c5d Merge pull request #47881 from nextcloud/fix/new-group-icon
fix(settings): Add back create group icon
2024-09-11 02:19:39 -07:00
Git'Fellow 8585b05357 fix(appstore): Ensure returned apps from AppStore are valid
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>

fix: lint

chore: remove space

Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>

fix: check if response array is null

Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>

chore: Add log
2024-09-11 11:12:59 +02:00
Daniel b787d2a85c Merge pull request #47884 from nextcloud/chore/blame-ignore
chore: Add another coding standard commit to the git blame ignore
2024-09-11 11:05:38 +02:00
Nextcloud bot 4bc8ba5b22 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-09-11 00:21:11 +00:00
Ferdinand Thiessen 7e4e61d8c4 chore: Add another coding standard commit to the git blame ignore
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-09-11 01:30:11 +02:00
nextcloud-command 934cc58cc2 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-09-10 21:30:55 +00:00
Christopher Ng e6b57e076d fix(settings): Add back create group icon
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2024-09-10 14:11:51 -07:00
Ferdinand Thiessen 9dbf88816c Merge pull request #47848 from nextcloud/fix/files-context-menu
fix(files): Reset context menu position on close
2024-09-10 18:13:13 +02:00
Ferdinand Thiessen 027fc052e7 fix: Adjust types of IQueryBuilder to properly allow joining with sub-query
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-09-10 17:51:27 +02:00
Ferdinand Thiessen 531862d474 fix: Use migration instead of repair step for restoring custom color
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-09-10 17:51:27 +02:00
Ferdinand Thiessen c7d9068be9 chore: Use IAppConfig instead of IConfig->getAppValue
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-09-10 17:51:26 +02:00
Ferdinand Thiessen ee1585d809 fix: Add repair step to restore primary color after separating primary and background
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-09-10 17:49:36 +02:00
Ferdinand Thiessen 4efd39ec23 fix(theming): Allow to specify a userId manually in BackgroundService
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-09-10 17:49:35 +02:00
Kate 979cc8712c Merge pull request #47662 from nextcloud/fix/notification/validate-rich-object-key-value-types 2024-09-10 17:40:46 +02:00
Robin Appelman a7eaed721c Merge pull request #47853 from nextcloud/clearify-swift-exception
fix: make swift connect exception message more informative
2024-09-10 16:45:19 +02:00
provokateurin a3da7456a7 fix(Activity): Restrict IEvent rich object parameters type
Signed-off-by: provokateurin <kate@provokateurin.de>
2024-09-10 16:37:54 +02:00
provokateurin db68ea9496 fix(SetupCheck): Restrict SetupResult rich object parameters type
Signed-off-by: provokateurin <kate@provokateurin.de>
2024-09-10 16:37:54 +02:00
provokateurin f7246a9b7a fix(INotification): Restrict rich object parameters type
Signed-off-by: provokateurin <kate@provokateurin.de>
2024-09-10 16:37:42 +02:00
provokateurin d0a827a684 fix(RichObjectStrings/Validator): Validate key value types of rich object parameters
Signed-off-by: provokateurin <kate@provokateurin.de>
2024-09-10 16:36:33 +02:00
John Molakvoæ 0858ff7a07 Merge pull request #47834 from nextcloud/retAppsManDis 2024-09-10 16:31:17 +02:00
Côme Chilliet 7d881b1bc3 chore: Add descriptions for new events and fix copyright year
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-09-10 16:20:30 +02:00
John Molakvoæ 4d3168fb24 fix(appstore): disabled appstore log level bump from debug to info
Co-authored-by: Joas Schilling <213943+nickvergessen@users.noreply.github.com>
Signed-off-by: John Molakvoæ <skjnldsv@users.noreply.github.com>
2024-09-10 16:00:56 +02:00
Côme Chilliet 957ac81a56 fix(admin_audit): Remove now unused methods and classes
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-09-10 14:48:15 +02:00
Côme Chilliet ec37338d73 chore(admin_audit): Fix License headers on new files
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-09-10 14:06:22 +02:00
Thomas Citharel f532d3b286 feat(admin_audit): Move admin_audit hooks to modern event listeners
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2024-09-10 14:06:12 +02:00
Carl Schwan 986a3d45f8 feat(user_ldap): Introduce user id assigned typed events for LDAP usage
Based on work from https://github.com/nextcloud/server/pull/32019

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2024-09-10 14:06:11 +02:00
Thomas Citharel 82ba7d763b chore: Code cleanup in lib/private/Console/Application
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2024-09-10 14:05:59 +02:00
Thomas Citharel c2150bd079 feat: Add mimetype into BeforePreviewFetchedEvent event
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2024-09-10 14:05:06 +02:00
nextcloud-command 4916551c57 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-09-10 11:28:20 +00:00
Richard Steinmetz 12ea0eb24a Merge pull request #47858 from nextcloud/fix/preview/handle-no-local-file
fix(preview): gracefully handle file not being opened in ProviderV2
2024-09-10 13:24:44 +02:00
Ferdinand Thiessen 49c2d1819e fix(files): Reset context menu position on close
* Resolves https://github.com/nextcloud/server/issues/46934

Ensure that after a right-click the context menu position is resetted,
so that pressing the "actions"-menu button it is displayed on the correct location.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-09-10 13:19:25 +02:00
Marcel Klehr 225f7ecdb9 Merge pull request #47860 from nextcloud/fix/create-template-write-event
fix: Only write once to template instead of create/copy
2024-09-10 10:04:17 +02:00
Pytal d4313c2b89 Merge pull request #47294 from nextcloud/fix/natural-order-tree
fix(files): Sort tree views correctly by natural order
2024-09-10 01:00:31 -07:00
Julius Knorr 46a4a16eb6 fix: Only write once to template instead of create/copy
Signed-off-by: Julius Knorr <jus@bitgrid.net>
2024-09-10 09:43:42 +02:00
Richard Steinmetz bcf9f91893 fix(preview): gracefully handle file not being opened in ProviderV2
Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
2024-09-10 08:49:43 +02:00
Richard Steinmetz 5afe212103 Merge pull request #47737 from nextcloud/fix/also-allow-unsharing-for-circles
fix(caldav, carddav): also allow unsharing of circle shares
2024-09-10 07:42:17 +02:00
github-actions[bot] 2a663b28be Merge pull request #47816 from nextcloud/automated/noid/master-update-psalm-baseline
[master] Update psalm-baseline.xml
2024-09-10 02:57:48 +00:00
nextcloud-command c1d1fe918d chore(tests): Update psalm baseline
Signed-off-by: GitHub <noreply@github.com>
2024-09-10 02:35:13 +00:00
Nextcloud bot a51c200cab Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-09-10 00:37:30 +00:00
nextcloud-command 569bd1a589 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-09-09 23:23:10 +00:00
Christopher Ng 060783c4f4 fix(files): Render folders in natural sort order
- Nodes are returned from the endpoint in an undefined order

Signed-off-by: Christopher Ng <chrng8@gmail.com>
2024-09-09 16:11:43 -07:00
Christopher Ng 6b079e67a2 fix(files): Sort tree views correctly by natural order
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2024-09-09 16:11:43 -07:00
Christopher Ng a0f2be2a50 chore(deps): Bump @nextcloud/files to v3.9.0
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2024-09-09 16:11:43 -07:00
Andy Scherzinger 8ea42224ec Merge pull request #47845 from nextcloud/feat/webhook_listeners-remove-all-from-appid
Add an endpoint to remove all webhook registrations from an app
2024-09-09 20:39:56 +02:00
Kate 3a85997940 Merge pull request #47523 from nextcloud/fix/theming/custom-apps-order 2024-09-09 18:04:41 +02:00
Robin Appelman 508d8e7c01 fix: make swift connect exception message more informative
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-09-09 17:15:01 +02:00
provokateurin c0ac27951b docs(config): Explain how to retrieve navigation entry IDs for 'defaultapp' option
Signed-off-by: provokateurin <kate@provokateurin.de>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-09-09 15:05:46 +00:00
Robin Appelman da59fd4389 fix: misc code fixes around db sharding
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-09-09 16:59:59 +02:00
Jonas 0e4438fc04 Merge pull request #47841 from nextcloud/fix/files-sharing-openfile
fix(files_sharing): Open single-file-share by default
2024-09-09 16:44:15 +02:00
Grigorii K. Shartsev 4e68e88f2c Merge pull request #47807 from nextcloud/fix/files_sharing--password-label
fix(files_sharing): password checkbox and labels in link share
2024-09-09 19:41:46 +05:00
Ferdinand Thiessen 80e4319a2c Merge pull request #47803 from nextcloud/chore/add-migration-attribute
chore(files_sharing): Add migration attribute for `share.reminder_sent` column
2024-09-09 16:21:42 +02:00
nextcloud-command 6ffe6e1e39 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-09-09 13:13:26 +00:00
Grigorii K. Shartsev 692a8ed2c3 chore(assets): Recompile assets
Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
2024-09-09 14:58:30 +02:00
Grigorii K. Shartsev 9348c1efba fix(files_sharing): add accessible labels in link share creation
Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
2024-09-09 14:58:30 +02:00
Grigorii K. Shartsev 2fea735418 fix(files_sharing): checkbox for password in link share is not shown
Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
2024-09-09 14:58:30 +02:00
Côme Chilliet 22a2893add chore(webhook_listeners): Update openapi.json
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-09-09 14:50:52 +02:00
Ferdinand Thiessen fccb132e2b fix(files_sharing): Open single-file-share by default
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-09-09 14:49:21 +02:00
Côme Chilliet 4459af41c9 feat(webhook_listeners): Add API endpoint to remove all registrations from an AppAPI app
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-09-09 14:41:20 +02:00
Côme Chilliet 4fc8aa5a06 feat(webhook_listeners): Add mapper method to remove all registrations from a given AppAPI id
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-09-09 14:39:41 +02:00
Ferdinand Thiessen 00712c22b3 Merge pull request #47805 from nextcloud/fix/xml-exception-template
fix: Replace conflicting tags in `xml_exception` template
2024-09-09 13:44:48 +02:00
Ferdinand Thiessen 61981386b2 fix: Replace conflicting tags in xml_exception template
The `<?xml` tag is interpreted as PHP short tags, so this causes errors.
Instead just print that part of the template.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-09-09 13:27:06 +02:00
provokateurin d5e98cd190 fix(NavigationManager): Skip invalid default navigation entries
Signed-off-by: provokateurin <kate@provokateurin.de>
2024-09-09 11:04:36 +02:00
provokateurin 0a3093d05d fix(theming): Use NavigationManager to handle default entries
Signed-off-by: provokateurin <kate@provokateurin.de>
2024-09-09 11:04:36 +02:00
provokateurin 669641142b fix(TemplateLayout): Use NavigationManager to get default app name
Signed-off-by: provokateurin <kate@provokateurin.de>
2024-09-09 11:04:36 +02:00
provokateurin 01ec6762a2 fix(URLGenerator): Use NavigationManager to generate default page URL
Signed-off-by: provokateurin <kate@provokateurin.de>
2024-09-09 11:04:36 +02:00
provokateurin 70ed08daf1 refactor(AppManager): Deprecated default apps handling
Signed-off-by: provokateurin <kate@provokateurin.de>
2024-09-09 11:04:36 +02:00
provokateurin b0baaaed9d feat(NavigationManager): Add default entries handling
Signed-off-by: provokateurin <kate@provokateurin.de>
2024-09-09 11:04:36 +02:00
Kate 0f732199d2 Merge pull request #47837 from nextcloud/fix/files/dav-etag 2024-09-09 11:04:08 +02:00
Côme Chilliet 90a948506b chore: Make parameter name more explicit
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-09-09 10:46:29 +02:00
Côme Chilliet 42c5a60c29 fix: Force 503 HTTP status code for maintenance mode on v1
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-09-09 10:46:29 +02:00
Côme Chilliet 76d1b11bc9 chore: Deleted now unused classes from \OC\OCS
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-09-09 10:46:29 +02:00
Côme Chilliet 359bbce3af chore: Adapt tests to OC_API refactoring
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-09-09 10:46:29 +02:00
Côme Chilliet e184784f86 fix: Remove duplicated code in \OC\OCS\ApiHelper, use Response classes instead
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-09-09 10:46:29 +02:00
Côme Chilliet 4c9104ef08 fix: Move ApiHelper to \OC\OCS next to related classes
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-09-09 10:46:29 +02:00
Côme Chilliet 37569466de fix: A bit of code cleanup in OC\AppFramework\OCS\ApiHelper
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-09-09 10:46:29 +02:00
Côme Chilliet ea32d17d88 fix: Move OC_API into \OC\ApiHelper in standard namespace
It’s only used by ocs/v1.php

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-09-09 10:46:29 +02:00
Marcel Klehr 1fa674d907 Merge pull request #47824 from nextcloud/rakekniven-patch-3
chore(i18n): adapted lowercase
2024-09-09 10:40:48 +02:00
provokateurin 70fa51f042 fix(files): Never return a null ETag in DAV
Signed-off-by: provokateurin <kate@provokateurin.de>
2024-09-09 10:30:33 +02:00
nextcloud-command 19b0792850 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-09-09 07:57:19 +00:00
Git'Fellow 2ac8d9a3db fix(appstore): return if appstore is manually disabled
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>

fix: camel case

Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>

fix: log a debug log

Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>

fix: typing

Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>

fix: typo

fix: typing
2024-09-09 09:56:22 +02:00
rakekniven e6bfd8f213 fix: Update AdminAI.vue
Signed-off-by: rakekniven <2069590+rakekniven@users.noreply.github.com>
2024-09-09 09:53:39 +02:00
rakekniven 784fc4aa3f chore(i18n): adapted lowercase
Reported at Transifex

Signed-off-by: rakekniven <2069590+rakekniven@users.noreply.github.com>
2024-09-09 09:50:59 +02:00
Nextcloud bot a2cfcf3ca7 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-09-09 00:23:27 +00:00
Nextcloud bot 926bd29617 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-09-08 00:36:35 +00:00
Ferdinand Thiessen 46472d3f4c Merge pull request #43281 from nextcloud/feature/minSupportDesktopVerMsg
enh: update desktop client unsupported version (403) error message
2024-09-07 16:24:27 +02:00
dependabot[bot] 80f459d82a Merge pull request #47820 from nextcloud/dependabot/npm_and_yarn/underscore-1.13.7 2024-09-07 12:52:02 +00:00
Ferdinand Thiessen 1c52bd7704 Merge pull request #47808 from nextcloud/rakekniven-patch-2
chore(i18n): Spelling of ID
2024-09-07 14:06:12 +02:00
Ferdinand Thiessen 68a37b015c Merge pull request #47821 from nextcloud/dependabot/npm_and_yarn/puppeteer-23.3.0
chore(deps-dev): bump puppeteer from 22.15.0 to 23.3.0
2024-09-07 13:57:15 +02:00
Ferdinand Thiessen fb28ba1b64 Merge pull request #47806 from nextcloud/chore/cleanup-public-share
chore(files_sharing): Do not use files source files but directly the library
2024-09-07 13:56:14 +02:00
dependabot[bot] 57c11af532 chore(deps): bump underscore from 1.13.6 to 1.13.7
Bumps [underscore](https://github.com/jashkenas/underscore) from 1.13.6 to 1.13.7.
- [Commits](https://github.com/jashkenas/underscore/compare/1.13.6...1.13.7)

---
updated-dependencies:
- dependency-name: underscore
  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-07 11:34:51 +00:00
dependabot[bot] 6af3dc8617 Merge pull request #47823 from nextcloud/dependabot/npm_and_yarn/vueuse/components-11.0.3 2024-09-07 10:01:33 +00:00
dependabot[bot] 1907488819 chore(deps): bump @vueuse/components from 11.0.0 to 11.0.3
Bumps [@vueuse/components](https://github.com/vueuse/vueuse/tree/HEAD/packages/components) from 11.0.0 to 11.0.3.
- [Release notes](https://github.com/vueuse/vueuse/releases)
- [Commits](https://github.com/vueuse/vueuse/commits/v11.0.3/packages/components)

---
updated-dependencies:
- dependency-name: "@vueuse/components"
  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-07 09:47:42 +00:00
dependabot[bot] eefa190336 Merge pull request #47818 from nextcloud/dependabot/npm_and_yarn/cypress-if-1.12.6 2024-09-07 09:25:00 +00:00
dependabot[bot] 9001e71cb7 chore(deps-dev): bump cypress-if from 1.12.5 to 1.12.6
Bumps [cypress-if](https://github.com/bahmutov/cypress-if) from 1.12.5 to 1.12.6.
- [Release notes](https://github.com/bahmutov/cypress-if/releases)
- [Commits](https://github.com/bahmutov/cypress-if/compare/v1.12.5...v1.12.6)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-09-07 09:12:31 +00:00
dependabot[bot] 27eb634b18 Merge pull request #47819 from nextcloud/dependabot/npm_and_yarn/cypress-13.14.2 2024-09-07 09:11:01 +00:00
dependabot[bot] e0e7da7841 Merge pull request #47822 from nextcloud/dependabot/npm_and_yarn/stylelint-16.9.0 2024-09-07 03:32:12 +00:00
dependabot[bot] 111e410084 chore(deps-dev): bump stylelint from 16.8.2 to 16.9.0
Bumps [stylelint](https://github.com/stylelint/stylelint) from 16.8.2 to 16.9.0.
- [Release notes](https://github.com/stylelint/stylelint/releases)
- [Changelog](https://github.com/stylelint/stylelint/blob/main/CHANGELOG.md)
- [Commits](https://github.com/stylelint/stylelint/compare/16.8.2...16.9.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-09-07 02:52:12 +00:00
dependabot[bot] fe39928b49 chore(deps-dev): bump puppeteer from 22.15.0 to 23.3.0
Bumps [puppeteer](https://github.com/puppeteer/puppeteer) from 22.15.0 to 23.3.0.
- [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-v22.15.0...puppeteer-v23.3.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-09-07 02:51:48 +00:00
dependabot[bot] 39e492547d chore(deps-dev): bump cypress from 13.13.2 to 13.14.2
Bumps [cypress](https://github.com/cypress-io/cypress) from 13.13.2 to 13.14.2.
- [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.13.2...v13.14.2)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-09-07 02:50:21 +00:00
Nextcloud bot 7a6191ebb9 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-09-07 00:36:58 +00:00
nextcloud-command e3dcea65af chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-09-06 20:22:49 +00:00
Fabian Dreßler 1d6cce8a25 fix: update last_login timestamp for token based-logins
fixes #31075 and maybe #32953

Signed-off-by: Fabian Dreßler <nudelsalat@clouz.de>
2024-09-06 14:11:41 -04:00
rakekniven b8774816f6 chore(i18n): Spelling of ID
Reported at Transifex

Signed-off-by: rakekniven <2069590+rakekniven@users.noreply.github.com>
2024-09-06 19:21:07 +02:00
Ferdinand Thiessen 5fc715a9e2 fix: Adjust unit tests and protect against XSS
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-09-06 17:16:10 +02:00
Camila 0a72756d96 fix(dav): Update 403 error message
* The user should get a more friendly warning when their desktop client version is not supported anymore by the server.
  See #nextcloud/desktop/issues/6273
* Update BlockLegacyClientPluginTest to reflect the new 403 error message.

Signed-off-by: Camila Ayres <hello@camilasan.com>
2024-09-06 17:15:45 +02:00
Ferdinand Thiessen f06fdb04a3 chore(files_sharing): Do not use files source files but directly the library
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-09-06 16:53:42 +02:00
Ferdinand Thiessen a05e5428c5 Merge pull request #47802 from nextcloud/fix/fallback-icons
fix(files): Fallback icons should fill the container
2024-09-06 15:39:41 +02:00
Anupam Kumar 61a2d99874 Merge pull request #47801 from nextcloud/fix/taskproc/error-msg
fix(TaskProcessing): increase error_message column length
2024-09-06 18:55:10 +05:30
nextcloud-command 890699bd54 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-09-06 13:17:55 +00:00
Ferdinand Thiessen 1ea902a195 chore(files_sharing): Add migration attribute for share.reminder_sent column
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-09-06 14:46:33 +02:00
Anupam Kumar 31a983ac69 chore: update autoloader
Signed-off-by: Anupam Kumar <kyteinsky@gmail.com>
2024-09-06 18:02:15 +05:30
Anupam Kumar bb94b17959 fix(TaskProcessing): increase error_message column length
Signed-off-by: Anupam Kumar <kyteinsky@gmail.com>
2024-09-06 18:01:56 +05:30
Ferdinand Thiessen b7e2d5032f fix(files): Fallback icons should fill the container
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-09-06 14:08:51 +02:00
Marcel Klehr c43353d6e6 fix: Display 'Leave share' instead of 'Delete'
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2024-09-06 13:50:52 +02:00
Pytal 46340d1d39 Merge pull request #47649 from nextcloud/fix/footer-overlap
fix: Fix inaccessible content on public pages due to overlapping footer
2024-09-06 04:43:55 -07:00
Ferdinand Thiessen 219f1f9189 Merge pull request #45652 from nextcloud/feat/migrate-files-sharing-public-to-vue
feat(files_sharing): Migrate public shares to Vue
2024-09-06 13:17:07 +02:00
Ferdinand Thiessen 117aaf4c1d Merge pull request #47731 from nextcloud/refactStorDav
chore(storage): refactor some code portions
2024-09-06 13:16:36 +02:00
Git'Fellow a36738dbfc chore(storage): refactor some code portions
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>

chore: revert portion

Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
2024-09-06 12:44:48 +02:00
Ferdinand Thiessen ba73beaac1 Merge pull request #47784 from nextcloud/fix/file-info
fix(FileInfo): correctly implement `\ArrayAccess::offsetGet`
2024-09-06 12:18:30 +02:00
Ferdinand Thiessen 141fed839a Merge pull request #47756 from nextcloud/fixingPathShareCheck
fix(files): Check if target path is a descendant of the shared folder
2024-09-06 03:58:24 +02:00
Ferdinand Thiessen a96406086c fix(FileInfo): correctly implement \ArrayAccess::offsetGet
We are targetting PHP 8.1+, since PHP 8.0 `offsetGet` has the `mixed` types for `offset` and return value.
So this adds the types to correctly implement the interface.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-09-06 03:58:00 +02:00
Ferdinand Thiessen 6249125f7c chore: Compile assets
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-09-06 03:38:53 +02:00
Ferdinand Thiessen 4a90d5328c test: Add end-to-end tests for new public share Vue UI
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-09-06 03:38:48 +02:00
Ferdinand Thiessen be884eeaec fix(files): "Edit locally" action should not be shown on public shares
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-09-06 03:38:48 +02:00
Ferdinand Thiessen 018af2a2fe fix(files): Do not add click listener if there is no default action on public shares
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-09-06 03:38:48 +02:00
Ferdinand Thiessen cb4c569486 fix(files_sharing): Ensure sidebar share entry lists are labelled
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-09-06 03:38:48 +02:00
Ferdinand Thiessen c9dc0afcb1 fix(files): "New folder" menu entry requires read permission
This will disable "New folder" menu entry for file-drop shares.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-09-06 03:38:48 +02:00
Ferdinand Thiessen 11fdf4e2a7 chore(files_sharing): Remove now unused legacy scripts
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-09-06 03:38:47 +02:00
Ferdinand Thiessen 80033bde88 fix(files): Disable internal views on public shares
This is needed because some views have side effects, like `favorites` doing requests on registration time.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-09-06 03:38:47 +02:00
Ferdinand Thiessen 1dafdce3e7 fix(files_sharing): Set file-request header for nextcloud/upload
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-09-06 03:38:47 +02:00
Ferdinand Thiessen 3134053497 fix(files_sharing): Disable sharing status action for public shares
This is disabled to not leak personal information into the public

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-09-06 03:38:47 +02:00
Ferdinand Thiessen 1d16bc47ff fix(files_sharing): Handle download permission the same way for public and internal shares
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-09-06 03:38:47 +02:00
Ferdinand Thiessen e93ceea804 fix(files): Do not allow copy action on public shares without create permission
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-09-06 03:38:47 +02:00
Ferdinand Thiessen a84de3c755 feat(files): Allow to download files on public shares
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-09-06 03:38:47 +02:00
Ferdinand Thiessen ada6a61688 fix(files): Do not allow rename action on single-file-shares
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-09-06 03:38:47 +02:00
Ferdinand Thiessen 563f8e7c5d refactor(files_sharing): Make file structure more clear
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-09-06 03:38:47 +02:00
Ferdinand Thiessen f0a765ee46 fix(files): Disable copy-move-action of single file shares
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-09-06 03:38:47 +02:00
Ferdinand Thiessen f109c1a044 refactor(files): Make RouterService provide a protected getter for the router to allow injecting the files_sharing router
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-09-06 03:38:47 +02:00
Ferdinand Thiessen 82a7a3971d fix(files): Adjust files list for sharing permissions on public shares
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-09-06 03:38:47 +02:00
Ferdinand Thiessen 819f5cea9b fix(files): Fix file previews for public shares
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-09-06 03:38:47 +02:00
Ferdinand Thiessen 767e87a466 fix(files): Do not use favorite, sidebar and view-in-folder action for public shares
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-09-06 03:38:47 +02:00
Ferdinand Thiessen 96c8275586 feat(files_sharing): Migrate public share to use Vue files list
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-06 03:38:42 +02:00
Nextcloud bot e4fa996701 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-09-06 00:25:10 +00:00
nextcloud-command 7594c79834 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-09-05 23:33:10 +00:00
Christopher Ng d43ec7d966 chore: compile scss
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2024-09-05 16:19:22 -07:00
Christopher Ng 65ced2dd40 fix: Fix inaccessible content on public pages due to overlapping footer
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2024-09-05 16:19:22 -07:00
Git'Fellow 0308001118 fix(files): Check if the target path is a descendant of the shared folder path
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>

fix: tests

Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>

fix: fix tests

Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>

fix: add tests

Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>

fix: tests
2024-09-05 23:54:01 +02:00
Ferdinand Thiessen ede38709b5 chore(files): Use public API where possible
This is not fixing all issues in the helper,
but at least where possible use the public methods.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-09-05 23:00:27 +02:00
Anna 9aafc0f989 Merge pull request #47789 from nextcloud/fix/cs-fixer-errors
chore: adjust code to adhere to coding standard
2024-09-05 22:25:34 +02:00
Anna Larch 17ef20c5f3 fix(dav): also allow unsharing of circle shares
Signed-off-by: Anna Larch <anna@nextcloud.com>
2024-09-05 21:34:20 +02:00
Anna Larch 3d3ab10655 chore: add coding standard code change to .git-blame-ignore-revs
Signed-off-by: Anna Larch <anna@nextcloud.com>
2024-09-05 21:31:05 +02:00
Anna Larch 8af7ecb257 chore: adjust code to adhere to coding standard
Signed-off-by: Anna Larch <anna@nextcloud.com>
2024-09-05 21:23:38 +02:00
Louis 4566cf791d Merge pull request #47770 from nextcloud/artonge/fix/always_respond_custom_error_page_on_exceptions
fix(dav): Always respond custom error page on exceptions
2024-09-05 20:13:45 +02:00
Stephan Orbaugh c2f87fbd39 Merge pull request #47761 from nextcloud/fix/missing-footer
fix: Fix missing footer on public pages
2024-09-05 18:02:25 +02:00
Stephan Orbaugh 3f79566974 Merge pull request #47519 from nextcloud/fix/transfer-ownership-encrypted-files
feat(transfer-ownership): Correctly react to encrypted files
2024-09-05 17:58:44 +02:00
Stephan Orbaugh a933ba1fdb Merge pull request #47769 from nextcloud/artonge/fix/use_sha256_for_arguments_hash_forbg_jobs
fix: Use sha256 to hash arguments of background jobs
2024-09-05 17:52:58 +02:00
Stephan Orbaugh eac7c2e9cf Merge pull request #46255 from nextcloud/bug/add-option-to-remove-webroot-for-setupchecks
fix: add option to remove the webroot for setup checks and don't chec…
2024-09-05 17:51:30 +02:00
Louis Chemineau 9992e7d439 fix(dav): Always respond custom error page on exceptions
Signed-off-by: Louis Chemineau <louis@chmn.me>
2024-09-05 16:17:32 +02:00
Louis Chemineau dbf56b6c11 fix: Migrate existing bg jobs to use sha256
Signed-off-by: Louis Chemineau <louis@chmn.me>
2024-09-05 15:36:51 +02:00
Louis Chemineau 843a47f12c fix: Use sha256 to hash arguments of background jobs
This is to prevent collision as we are sometime hashing user input, yet using that hash to target the background job in the database.

Signed-off-by: Louis Chemineau <louis@chmn.me>
2024-09-05 15:36:51 +02:00
Côme Chilliet 0555900134 fix(transfer-ownership): Improve comments according to code review
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-09-05 14:44:50 +02:00
Côme Chilliet d92bf388b1 feat(transfer-ownership): Correctly react to encrypted files
For E2EE encrypted files, we abort the transfer.
For SSE encrypted files, we abort only if not using master key.
Also fixed the check for when the path to a single file is used.

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-09-05 14:44:50 +02:00
Côme Chilliet c224b8ced4 fix(setupchecks): Test overwrite.cli url first, then generated one, and
trusted domains as last fallback.

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-09-05 11:54:45 +02:00
Daniel Kesselberg 4ce4d7b9b3 fix: add option to remove the webroot for setup checks and don't check trusted_domains.
1) The checks for well-known urls should always run against the root domain and therefore the option to remove the webroot.

2) For trusted domains, the available protocol is unknown, and thus some guesswork would be needed to make that work. I've decided for now to not consider them anymore to reduce false-positives.

Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2024-09-05 10:30:36 +02:00
Andy Scherzinger 332b3efdf0 Merge pull request #47754 from nextcloud/fix/noid/cache-appstore-on-dev-instances
fix(appstore): Cache apps.json also on dev instances
2024-09-05 09:17:40 +02:00
Nextcloud bot 8cded1e320 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-09-05 00:23:50 +00:00
Christopher Ng 4fed8ed891 fix: Fix missing footer on public pages
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2024-09-04 16:41:13 -07:00
Andy Scherzinger 530e1b9828 Merge pull request #47752 from nextcloud/backport/47745/master
[master] fix(files): undefined displayname for outdated `@nextcloud/files`<3.6.0 apps
2024-09-05 00:20:15 +02:00
nextcloud-command c2ed0e3fa5 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-09-04 22:05:32 +00:00
Marcel Müller b2c2c93a03 fix(appstore): Cache apps.json also on dev instances
Signed-off-by: Marcel Müller <marcel-mueller@gmx.de>
2024-09-04 21:56:58 +02:00
skjnldsv 1ece5b975d fix(files): undefined displayname for outdated @nextcloud/files<3.6.0 apps
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2024-09-04 18:12:34 +00:00
Kate 09fef8f0ec Merge pull request #47417 from nextcloud/fix/files/create-mountpoint-parents 2024-09-04 20:00:24 +02:00
John Molakvoæ 2d2a51005c Merge pull request #47738 from nextcloud/fix/sidebar-undefined 2024-09-04 16:50:50 +02:00
nextcloud-command ed064acc23 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-09-04 14:33:03 +00:00
skjnldsv 62878c5ece fix(files): undefined sidebar
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2024-09-04 14:10:37 +02:00
John Molakvoæ f1706df367 Merge pull request #46859 from nextcloud/fix-status-check-and-saving-of-external-storages 2024-09-04 11:33:30 +02:00
github-actions[bot] ab511e8d94 Merge pull request #47724 from nextcloud/automated/noid/master-update-psalm-baseline
[master] Update psalm-baseline.xml
2024-09-04 10:46:37 +02:00
John Molakvoæ 99b225f06b Merge pull request #40164 from nextcloud/exceptionsTranslateShare 2024-09-04 09:50:49 +02:00
Daniel Calviño Sánchez fa0862c656 fix: Hide status tooltip in row to add a new mount point
The row to add a new mount point is cloned when a new mountpoint is
added, so it is expected that it includes a status span. However, it
should not be displayed in that row, only in the cloned row when its
status is updated.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2024-09-04 09:46:17 +02:00
Daniel Calviño Sánchez bd4de5208d fix: Fix unmodified placeholder replacing the actual value when updating
When updating global storages and user storages a property is not
updated by "StoragesService::updateStorage()" if the value matches the
unmodified placeholder. However, userglobal storages are not updated
through the "StoragesService"; as only the authentication mechanism is
updated it is directly done with "saveBackendOptions()" in
"IUserProvided" or "UserGlobalAuth". Due to this the unmodified
placeholder value needs to be explicitly checked in those cases and
replaced by the actual value (note that in this case it is not possible
to just skip updating a specific property).

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2024-09-04 09:46:17 +02:00
Daniel Calviño Sánchez 8350aef723 test: Add integration tests for saving external userglobal storages
As the external storage uses the Nextcloud server itself the number of
workers of the PHP process running the Nextcloud server had to be
increased. Otherwise if a request is sent for the external storage while
handling a request from the integration tests a deadlock would occur.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2024-09-04 09:46:17 +02:00
Daniel Calviño Sánchez 8e5dba2be0 fix: Reset selected backend when adding a new storage
As a new storage is added by selecting a backend the selected backend
needs to be reset. Otherwise it is not possible to add another storage
with the same backend.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2024-09-04 09:46:17 +02:00
Daniel Calviño Sánchez baaed7f191 fix: Add missing translation for UI string
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2024-09-04 09:46:17 +02:00
Daniel Calviño Sánchez 26919835e7 fix: Restore default status tooltip when no status message is provided
If the status is updated but no explicit message is provided (for
example, if the status check succeeded) the default tooltip (from the
template) is now set to prevent a mismatch between the status and the
tooltip (for example, if the configuration is fixed after a failed
status check).

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2024-09-04 09:46:17 +02:00
Daniel Calviño Sánchez ac1c8c4237 fix: Set status tooltip to error message on failed actions
When saving, updating and rechecking an storage fails (which is
different to the soft-fail when the action itself succeeds but the
status check does not) further details are provided in the error message
of the response, which is now set as the tooltip.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2024-09-04 09:46:17 +02:00
Daniel Calviño Sánchez 9eeb3cf423 fix: Set status tooltip to status message when saving an storage
When a storage is saved the status check can fail even if saving the
storage succeeds. In those cases further details are provided in the
status message of the storage, which is now set as the tooltip,
similarly to how it is done when rechecking the storage.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2024-09-04 09:46:17 +02:00
Daniel Calviño Sánchez d0ba10d6ae fix: Remove status check when configuration was changed
Setting a null status was supposed to remove the status check, but
nothing was changed in that case. Now the status check is properly
removed, and doing that by hiding the element rather than just turning
it invisible also prevents that clicking on the invisible status
triggers a check, as until the new configuration is saved the check will
still be performed with the old configuration, which could be misleading
for the user.

Additionally, an explicit width is set to the parent of the span element
to prevent its width from changing when the span is shown and hidden.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2024-09-04 09:46:17 +02:00
Daniel Calviño Sánchez 05bf5730ad fix: Recheck userglobal storages when loaded
Userglobal storages are now automatically recheck when loaded, similarly
to how it is done for global storages.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2024-09-04 09:43:28 +02:00
Daniel Calviño Sánchez 4b2619530b refactor: Store result in its own variable
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2024-09-04 09:43:28 +02:00
John Molakvoæ 1b3e95652c Merge pull request #47690 from nextcloud/chore/theming 2024-09-04 09:42:01 +02:00
John Molakvoæ 8f825cbd16 Merge pull request #47155 from nextcloud/executeStatementOnDelete 2024-09-04 09:35:16 +02:00
John Molakvoæ c28340dd5b Merge pull request #39242 from joshtrichards/db-convert-type-mysql-socket-no-pw 2024-09-04 09:32:21 +02:00
John Molakvoæ e11a8f0bc5 Merge pull request #47285 from nextcloud/fix/appstore-upgrade-failure 2024-09-04 09:31:29 +02:00
Julius Härtl 3ca7480829 fix: Do not throw if appstore is unavailable during upgrade
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2024-09-04 09:31:13 +02:00
John Molakvoæ 7efd244956 Merge pull request #47675 from nextcloud/adapterQueryOpti 2024-09-04 09:15:52 +02:00
John Molakvoæ 78e09b5a0a fix: share manager tests translation string
Signed-off-by: John Molakvoæ <skjnldsv@users.noreply.github.com>
2024-09-04 09:03:45 +02:00
John Molakvoæ f4aa2644ee fix: adjust sharing controller exceptions case
Co-authored-by: F. E Noel Nfebe <fenn25.fn@gmail.com>
Co-authored-by: Ferdinand Thiessen <opensource@fthiessen.de>
Signed-off-by: John Molakvoæ <skjnldsv@users.noreply.github.com>
2024-09-04 09:03:45 +02:00
Git'Fellow f250643e7a fix(l10n): Translate all share exceptions
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>

Fix drone

Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>

Fix tests

Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
2024-09-04 09:03:45 +02:00
nextcloud-command a30d9a7926 chore(tests): Update psalm baseline
Signed-off-by: GitHub <noreply@github.com>
2024-09-04 02:29:30 +00:00
Nextcloud bot 94d259e750 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-09-04 00:21:54 +00:00
Ferdinand Thiessen b98b5bb495 Merge pull request #47709 from nextcloud/fix/server-webpack-appverson
fix: only keep major as server version
2024-09-03 20:37:46 +02:00
Pytal 0aebd3761e Merge pull request #47158 from nextcloud/fix/breadcrumbs-highlight
fix(files): Fix navigating with breadcrumbs not highlighting navigation entry
2024-09-03 11:36:17 -07:00
nextcloud-command 66de5e8280 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-09-03 17:42:59 +00:00
Christopher Ng 930a5141ea fix(files): Fix navigating with breadcrumbs not highlighting navigation entry
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2024-09-03 10:34:03 -07:00
nextcloud-command 9763efa7e5 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-09-03 16:04:29 +00:00
Andy Scherzinger a538ff60b3 Merge pull request #47679 from nextcloud/chore/typo-docs
chore(IGetRealUIDBackend): Fix typo in doc block
2024-09-03 17:56:38 +02:00
skjnldsv 3fe5faf5f9 fix: only keep major as server version
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2024-09-03 17:51:55 +02:00
John Molakvoæ f9fcc5b170 Merge pull request #47412 from Luka-sama/feat/shares-reminder 2024-09-03 17:24:02 +02:00
Stefan Cherniakov 2685501231 fix(files_sharing): Add check for null
Signed-off-by: Stefan Cherniakov <luka-sama@pm.me>
2024-09-03 17:23:31 +02:00
Stefan Cherniakov 457eaee2b3 fix(files_sharing): Add missing check for null & use bool instead of int for reminder_sent field
Signed-off-by: Stefan Cherniakov <luka-sama@pm.me>
2024-09-03 17:23:31 +02:00
Ferdinand Thiessen f5f9691f38 Merge pull request #47568 from nextcloud/refactor/migrate-public-page-menu-vue
refactor: Migrate public-page header actions to Vue
2024-09-03 17:12:15 +02:00
Ferdinand Thiessen 5610821a06 chore: Compile assets
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-09-03 14:18:47 +00:00
Ferdinand Thiessen 408c9b2d9d test: Add end-to-end tests for public page header actions
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-09-03 16:07:50 +02:00
Ferdinand Thiessen 61d687631b chore(ExternalShareMenuAction): Remove unused legacy properties
Keep them in the constructor to not break the API,
but they are not used anymore.
This way of adding a share was deprecated in Nextcloud 12 (2016!),
in favor of the federated share API, in Nextcloud 28 this way to create a share was removed.

So we can cleanup as all it takes now to create a federeated share is the share token + federated user ID.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-09-03 16:07:50 +02:00
Ferdinand Thiessen 4d2556d4cf refactor(IMenuAction): Make public menu actions use the new Vue UI
This removes custom rendering code an replaces it with the declarative menu actions.
Also adjust the template to allow the Vue UI to mount.
Custom entries still are possible.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-09-03 16:07:49 +02:00
Ferdinand Thiessen 7b6c78c81d chore: Remove legacy JS code for public page menu (header actions)
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-09-03 16:07:49 +02:00
Ferdinand Thiessen 04b25ba59d feat: Implement Vue UI for public page menu
This adds a Vue implementation of the public page menu,
that is the menu that can be added using `PublicTemplateResponse::setHeaderActions`.

Co-authored-by: Ferdinand Thiessen <opensource@fthiessen.de>
Co-authored-by: Louis <louis@chmn.me>
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-09-03 16:07:49 +02:00
Kate 5118f6684b Merge pull request #47674 from nextcloud/fix/settings/sharing-enforce-links-password-excluded-groups-key 2024-09-03 16:04:11 +02:00
nextcloud-command 8aa969b979 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-09-03 13:15:24 +00:00
provokateurin 8b790535df chore: compile assets
Signed-off-by: provokateurin <kate@provokateurin.de>
2024-09-03 14:41:46 +02:00
provokateurin c88ae37844 fix(settings): Fix sharing exclude groups from password requirement option not working
Signed-off-by: provokateurin <kate@provokateurin.de>
2024-09-03 14:28:44 +02:00
Stefan Cherniakov d633b9bce6 fix(files_sharing): Make share reminders more stable & fix issues
Signed-off-by: Stefan Cherniakov <luka-sama@pm.me>
2024-09-03 13:37:17 +02:00
Stefan Cherniakov 5e4a166365 feat(files_sharing): reminder for link shares with expiration date
Signed-off-by: Stefan Cherniakov <luka-sama@pm.me>
2024-09-03 13:37:17 +02:00
Arthur Schiwon 6b85a3ae0e Merge pull request #46114 from nextcloud/enh/improve-ldap-group-members-listing-performances
fix(user_ldap): Avoid extra LDAP request when mapping a user for the first time
2024-09-03 11:13:03 +02:00
Marcel Klehr 45ba2f758c Merge pull request #47659 from nextcloud/fix/settings/admin/textprocessing2
Followup: fix(settings): Don't display built-in task types in AI settings TextProcessing
2024-09-03 10:59:30 +02:00
nextcloud-command fa1bce0215 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-09-03 08:22:44 +00:00
Marcel Klehr c8f4967ce2 fix(settings): Add translators note
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2024-09-03 10:03:23 +02:00
Marcel Klehr 44a5723973 fix(settings): Don't display built-in task types in AI settings TextProcessing
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2024-09-03 10:03:23 +02:00
John Molakvoæ b7bd5b0012 Merge pull request #47650 from nextcloud/chore/cleanup-middleware 2024-09-03 09:21:43 +02:00
Nextcloud bot b3a80719e6 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-09-03 00:20:58 +00:00
Ferdinand Thiessen 3efb39371d chore(theming): Increase app version
There were heavly breaking theming changes so increase the version number to make cache buster work.
Also fix order of entries in the appinfo.xml to fix XML validation (the order is fixed in the XSD).

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-09-02 22:38:53 +02:00
Ferdinand Thiessen f9a71f3da7 Merge pull request #47665 from nextcloud/fix/files-remote-shares
fix(files): Correctly parse external shares for files UI
2024-09-02 19:13:57 +02:00
Andy Scherzinger 87f8a8c961 Merge pull request #47617 from Ornanovitch/ornano/scrollbar-visibility
fix(css): make scrollbar visible again
2024-09-02 18:33:12 +02:00
nextcloud-command 541b26900a chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-09-02 16:13:49 +00:00
Ferdinand Thiessen 8770e2b282 fix(files): Correctly parse external shares for files UI
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-09-02 17:48:46 +02:00
Ferdinand Thiessen 69f4a397d1 Merge pull request #47671 from nextcloud/chore/cypress-intercept-timeout
test(cypress): Await promise in response to prevent timeout
2024-09-02 17:42:17 +02:00
protoclown 15e449a74f chore(css): build css
Signed-off-by: protoclown <ornano@felinn.org>
2024-09-02 17:15:15 +02:00
protoclown b711da7393 fix(css): refine css cleanup
Signed-off-by: protoclown <ornano@felinn.org>
2024-09-02 17:04:37 +02:00
protoclown df7db817b8 fix(css): cleanup old scrolling css
Signed-off-by: protoclown <ornano@felinn.org>
2024-09-02 17:04:37 +02:00
protoclown d1f82e7fc7 fix(css): re-use old --color-scrollbar variable
Signed-off-by: protoclown <ornano@felinn.org>
2024-09-02 17:04:37 +02:00
protoclown afc4940f50 fix(css): make scrollbar visible again
Signed-off-by: protoclown <ornano@felinn.org>
2024-09-02 17:04:37 +02:00
Kate 02a6f12bf9 Merge pull request #47676 from nextcloud/fix/ocp/image-interface 2024-09-02 16:11:26 +02:00
Ferdinand Thiessen cbeca43ee8 Merge pull request #47678 from nextcloud/chore/add-typings
chore(IConfig): Adjust type of `getUsersForUserValue`
2024-09-02 15:33:58 +02:00
Julien Veyssier 09b8aea8f6 Merge pull request #47635 from nextcloud/fix/noid/oauth2-store-secret-hash
[oauth2] Store hashed secret instead of encrypted
2024-09-02 15:28:32 +02:00
Kate 833a969de9 Merge pull request #47680 from nextcloud/chore/git-blame-ignore 2024-09-02 15:06:08 +02:00
provokateurin 031166c177 fix(OCP): Fix Image interface
Signed-off-by: provokateurin <kate@provokateurin.de>
2024-09-02 14:57:17 +02:00
nextcloud-command 5b98abcf76 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-09-02 12:48:39 +00:00
Julien Veyssier 120e7e838c fix(oauth2): fix tests
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
2024-09-02 14:38:39 +02:00
Julien Veyssier 034917b790 fix(oauth2): store hashed secret instead of encrypted
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
2024-09-02 14:38:39 +02:00
Julius Härtl 796405883d Merge pull request #47670 from nextcloud/fix/touchicon-calc
fix: Properly calculate intermediate icon for touch icon generation
2024-09-02 13:41:37 +02:00
Julien Veyssier 873c42b0f1 Merge pull request #47627 from nextcloud/fix/noid/link-ref-provider-size-check
[LinkReferenceProvider] Better size check
2024-09-02 12:33:21 +02:00
Ferdinand Thiessen dcfd78049a chore: Update .git-blame-ignore-revs
While digging through code I noticed another huge code style
refactoring commit is blocking the real blame, so added it to the list.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-09-02 12:32:27 +02:00
Ferdinand Thiessen 2bf3280dcc chore(IGetRealUIDBackend): Fix typo in doc block
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-09-02 12:30:01 +02:00
Ferdinand Thiessen bdce5921f6 chore(IConfig): getUsersForUserValue is returning a list
It is returning a list of strings so adjust the return typing
to reflect this (`list<string>` instead of `array`).

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-09-02 12:27:06 +02:00
Andy Scherzinger dc86ccf074 Merge pull request #47664 from nextcloud/dependabot/github_actions/github-actions-507e3df6d0
chore(deps): bump the github-actions group with 4 updates
2024-09-02 12:23:58 +02:00
Julius Härtl 7f0d0cf03c Merge pull request #47640 from nextcloud/fix/migrator-replica
fix: Run migration sql as statement so that the primary db node is used
2024-09-02 10:46:24 +02:00
Git'Fellow 8e6e7976d2 fix: psalm
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
2024-09-02 10:19:25 +02:00
Git'Fellow 388f2973b9 fix: psalm
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
2024-09-02 10:08:08 +02:00
Git'Fellow dfcf3132dd chore(db): Make the query more simpler to read
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
2024-09-02 09:57:48 +02:00
Nextcloud bot 3973a8f722 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-09-02 00:21:05 +00:00
Ferdinand Thiessen 7e2bea6550 test(cypress): Await promise in response to prevent timeout
The idea is to intercept the request,
then test the loading state,
and after the tests continue the request.

Problem here: `cy.intercept` has a timeout on the request-handler
which uses the same timeout as DOM assertions (4s) we could increase it,
but this also will increase DOM assertion timeout.

So instead we do not await in the request handler, but in the response handler.
This should use the response timeout which is much higher (30s).

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-09-01 12:29:15 +02:00
Julius Härtl 463c21d25a fix: Properly calculate intermediate icon for touch icon generation
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2024-09-01 11:50:13 +02:00
Nextcloud bot 8367c72f88 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-09-01 00:20:51 +00:00
dependabot[bot] e5bc3bb0cf chore(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), [cypress-io/github-action](https://github.com/cypress-io/github-action), [actions/upload-artifact](https://github.com/actions/upload-artifact) and [codecov/codecov-action](https://github.com/codecov/codecov-action).


Updates `shivammathur/setup-php` from 2.31.0 to 2.31.1
- [Release notes](https://github.com/shivammathur/setup-php/releases)
- [Commits](https://github.com/shivammathur/setup-php/compare/2.31.0...c541c155eee45413f5b09a52248675b1a2575231)

Updates `cypress-io/github-action` from 6.7.2 to 6.7.5
- [Release notes](https://github.com/cypress-io/github-action/releases)
- [Changelog](https://github.com/cypress-io/github-action/blob/master/CHANGELOG.md)
- [Commits](https://github.com/cypress-io/github-action/compare/df7484c5ba85def7eef30db301afa688187bc378...496e7dc0edc421a9de8a36a31c793340e00c61bf)

Updates `actions/upload-artifact` from 4.3.6 to 4.4.0
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](https://github.com/actions/upload-artifact/compare/834a144ee995460fba8ed112a2fc961b36a5ec5a...50769540e7f4bd5e21e526ee35c689e35e0d6874)

Updates `codecov/codecov-action` from 4.1.1 to 4.5.0
- [Release notes](https://github.com/codecov/codecov-action/releases)
- [Commits](https://github.com/codecov/codecov-action/compare/v4.1.1...v4.5.0)

---
updated-dependencies:
- dependency-name: shivammathur/setup-php
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: github-actions
- dependency-name: cypress-io/github-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: github-actions
- dependency-name: actions/upload-artifact
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: github-actions
- dependency-name: codecov/codecov-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: github-actions
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-08-31 22:40:06 +00:00
Ferdinand Thiessen 8dd169601d Merge pull request #47443 from nextcloud/fix/files-non-visual-loading-info
fix(files): Node loading information should be accessible
2024-08-31 20:29:04 +02:00
nextcloud-command e934080cc0 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-08-31 20:14:06 +02:00
Ferdinand Thiessen 9ee2d13467 test: Add Cypress test for renaming loading state
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-08-31 20:14:02 +02:00
Ferdinand Thiessen f01c8efa38 fix(files): Node loading information should be accessible
The loading icon visually informs that the node is currently loading,
but there is no non-visual information (accessible information).

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-08-31 18:39:16 +02:00
dependabot[bot] 15bfc63fa4 Merge pull request #47461 from nextcloud/dependabot/npm_and_yarn/core-js-3.38.1 2024-08-31 16:36:50 +00:00
dependabot[bot] d750fd7750 chore(deps): bump core-js from 3.37.1 to 3.38.1
Bumps [core-js](https://github.com/zloirock/core-js/tree/HEAD/packages/core-js) from 3.37.1 to 3.38.1.
- [Release notes](https://github.com/zloirock/core-js/releases)
- [Changelog](https://github.com/zloirock/core-js/blob/master/CHANGELOG.md)
- [Commits](https://github.com/zloirock/core-js/commits/v3.38.1/packages/core-js)

---
updated-dependencies:
- dependency-name: core-js
  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-08-31 16:20:55 +00:00
dependabot[bot] 14570f13a5 Merge pull request #47656 from nextcloud/dependabot/npm_and_yarn/vueuse/integrations-11.0.3 2024-08-31 16:08:51 +00:00
dependabot[bot] de9f458210 chore(deps): bump @vueuse/integrations from 11.0.1 to 11.0.3
Bumps [@vueuse/integrations](https://github.com/vueuse/vueuse/tree/HEAD/packages/integrations) from 11.0.1 to 11.0.3.
- [Release notes](https://github.com/vueuse/vueuse/releases)
- [Commits](https://github.com/vueuse/vueuse/commits/v11.0.3/packages/integrations)

---
updated-dependencies:
- dependency-name: "@vueuse/integrations"
  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-08-31 15:51:46 +00:00
dependabot[bot] f29ebced36 Merge pull request #47657 from nextcloud/dependabot/npm_and_yarn/nextcloud/vue-8.17.1 2024-08-31 14:48:31 +00:00
Ferdinand Thiessen 7f9d67419f test: Update snapshots
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-08-31 16:28:05 +02:00
nextcloud-command 1b7c331630 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-08-31 13:55:40 +00:00
dependabot[bot] a88146b30d chore(deps): bump @nextcloud/vue from 8.17.0 to 8.17.1
Bumps [@nextcloud/vue](https://github.com/nextcloud-libraries/nextcloud-vue) from 8.17.0 to 8.17.1.
- [Release notes](https://github.com/nextcloud-libraries/nextcloud-vue/releases)
- [Changelog](https://github.com/nextcloud-libraries/nextcloud-vue/blob/master/CHANGELOG.md)
- [Commits](https://github.com/nextcloud-libraries/nextcloud-vue/compare/v8.17.0...v8.17.1)

---
updated-dependencies:
- dependency-name: "@nextcloud/vue"
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-08-31 15:49:17 +02:00
dependabot[bot] 45f8d2afc9 Merge pull request #47655 from nextcloud/dependabot/npm_and_yarn/nextcloud/dialogs-5.3.7 2024-08-31 13:45:45 +00:00
dependabot[bot] fb05caf567 chore(deps): bump @nextcloud/dialogs from 5.3.5 to 5.3.7
Bumps [@nextcloud/dialogs](https://github.com/nextcloud-libraries/nextcloud-dialogs) from 5.3.5 to 5.3.7.
- [Release notes](https://github.com/nextcloud-libraries/nextcloud-dialogs/releases)
- [Changelog](https://github.com/nextcloud-libraries/nextcloud-dialogs/blob/v5.3.7/CHANGELOG.md)
- [Commits](https://github.com/nextcloud-libraries/nextcloud-dialogs/compare/v5.3.5...v5.3.7)

---
updated-dependencies:
- dependency-name: "@nextcloud/dialogs"
  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-08-31 13:16:17 +00:00
dependabot[bot] 0f5e4ba7e9 Merge pull request #47654 from nextcloud/dependabot/npm_and_yarn/nextcloud-vue-collections-0.13.0 2024-08-31 13:02:22 +00:00
dependabot[bot] 0ef9ecafb6 chore(deps): bump nextcloud-vue-collections from 0.12.0 to 0.13.0
Bumps [nextcloud-vue-collections](https://github.com/nextcloud/nextcloud-vue-collections) from 0.12.0 to 0.13.0.
- [Release notes](https://github.com/nextcloud/nextcloud-vue-collections/releases)
- [Changelog](https://github.com/nextcloud-libraries/nextcloud-vue-collections/blob/main/CHANGELOG.md)
- [Commits](https://github.com/nextcloud/nextcloud-vue-collections/compare/v0.12.0...v0.13.0)

---
updated-dependencies:
- dependency-name: nextcloud-vue-collections
  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-08-31 12:47:59 +00:00
Nextcloud bot 09411a1e9d Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-08-31 00:26:10 +00:00
Ferdinand Thiessen deeccd12a3 chore: fix typo in SameSiteCookieMiddleware
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-08-31 00:34:45 +02:00
Ferdinand Thiessen 92f3f7e2d2 chore: Remove unused CsrfTokenManager from CSPMiddleware
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-08-31 00:34:41 +02:00
Ferdinand Thiessen 558fbcda72 Merge pull request #47589 from nextcloud/fix/user-settings-admin
fix(settings): Hide forbidden UI elements for group managers
2024-08-30 22:43:25 +02:00
nextcloud-command 380b92c07e chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-08-30 19:38:43 +00:00
Ferdinand Thiessen 9a8b3de2f0 fix(settings): Hide forbidden UI elements for line managers
1. The "recent" accounts API only works for admin and delegated admin -> hide for line managers
2. Line managers can not create new groups -> Hide the UI to add a new group for them
3. Accounts created by line managers require one of the groups, which is managed by the line manager, assigned.
   So if the line manager only manageres a single group, we should preselect that group.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-08-30 21:32:03 +02:00
Julius Härtl 7362ede426 Merge pull request #47638 from nextcloud/fix/share-attributes-null
fix: Properly handle share attributes if set to null
2024-08-30 19:55:37 +02:00
nextcloud-command d5ab2c5d14 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-08-30 17:35:49 +00:00
Julius Härtl fe3926f0f0 fix: Properly handle share attributes if set to null
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2024-08-30 17:33:39 +00:00
Nextcloud bot 7b05c34385 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-08-30 16:32:38 +00:00
F. E Noel Nfebe e076e674e2 Merge pull request #47628 from nextcloud/fix/restore-unified-search-modal-size
fix(UnifiedSearch): Restore normal dialog size
2024-08-30 16:17:03 +01:00
John Molakvoæ 8365f7b8ac Merge pull request #47616 from nextcloud/fix/header-styles 2024-08-30 15:49:18 +02:00
Julius Härtl c3fa25a16e fix: Run migration sql as statement so that the primary db node is used
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2024-08-30 15:45:50 +02:00
Ferdinand Thiessen cc8368b77a chore: Compile assets
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-08-30 15:23:57 +02:00
Ferdinand Thiessen 4f77552104 fix(css): Adjust header styles to only add focus-visible styles to menu
Only the main menu should be styles by the header styles, not the popover menus.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-08-30 15:19:44 +02:00
nextcloud-command c2d7012d27 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-08-30 12:37:57 +00:00
Julien Veyssier d9ae08ba60 Merge pull request #47601 from nextcloud/enh/noid/use-taskprocessing-in-old-managers
[TaskProcessing] Use taskprocessing in TextProcessing and STT managers
2024-08-30 13:29:46 +02:00
nextcloud-command 122cb80e9c chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-08-30 09:14:04 +00:00
fenn-cs 18d0f39109 fix(UnifiedSearch): Restore normal dialog size
Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
2024-08-30 10:08:58 +01:00
Julien Veyssier 22bb42be0c fix(linkReferenceProvider): better size check
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
2024-08-30 10:55:57 +02:00
Marcel Klehr 95006d2b8e Revert "fix(TaskProcessing): Use OCP\Server::get instead of copying methods"
This reverts commit d624c8da8f0dc2eaf18d416aa15db0a2035de398.

Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
2024-08-30 10:07:01 +02:00
Marcel Klehr 41e3bde40c fix(TaskProcessing): Fix namespace of TaskProcessingTest.php
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
2024-08-30 10:07:01 +02:00
Marcel Klehr 1e896a7307 fix(TextProcessing): Don't run taskProcessing if task type is not available
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
2024-08-30 10:07:01 +02:00
Marcel Klehr a2b087421e fix(settings): Don't show built-in textprocessing task types in textprocessing settings
TaskProcessing is transparent to textprocessing providers and TextProcessing can use Taskprocessing providers so these are unnecessary

Signed-off-by: Marcel Klehr <mklehr@gmx.net>
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
2024-08-30 10:07:01 +02:00
Marcel Klehr b06302e024 fix(settings): Remove STT admin settings
taskprocessing is transparent to STT providers so specific STT settings are obsolete

Signed-off-by: Marcel Klehr <mklehr@gmx.net>
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
2024-08-30 10:07:01 +02:00
Marcel Klehr de117d4654 fix(SpeechToTextManager): Throw TaskProcessing Task failed
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
2024-08-30 10:07:01 +02:00
Marcel Klehr 7be3a18f13 fix(TaskProcessing): Use OCP\Server::get instead of copying methods
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
2024-08-30 10:07:01 +02:00
Julien Veyssier 03b3d03b46 fix(taskprocessing): fix tests
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
2024-08-30 10:07:01 +02:00
Julien Veyssier 04edeb510d feat(speech-to-text): SpeechToTextManager::transcribeFile calls TaskProcessingManager::runTask
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
2024-08-30 10:07:01 +02:00
Julien Veyssier 5ab0866341 feat(textprocessing): TextProcessingManager::runTask calls TaskProcessingManager::runTask
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
2024-08-30 10:07:01 +02:00
Louis 1cc7851209 Merge pull request #47605 from nextcloud/artonge/feat/files_blurhash
feat: Use the blurhash in Files
2024-08-29 23:31:13 +02:00
Andy Scherzinger bfb5835750 Merge pull request #47546 from nextcloud/fix/files-view-error-messages
fix: Adjust filename validation messages
2024-08-29 23:28:50 +02:00
Andy Scherzinger 12dcc0bf58 Merge pull request #47226 from nextcloud/dependabot/github_actions/github-actions-720c8da8de
chore(deps): bump actions/upload-artifact from 4.3.4 to 4.3.6 in the github-actions group
2024-08-29 23:18:06 +02:00
nextcloud-command 49f2801f54 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-08-29 21:14:28 +00:00
Ferdinand Thiessen 75a684a8d3 chore(files): Fix remaining TypeScript errors in FileEntryPreview
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-08-29 23:08:13 +02:00
Louis Chemineau 56e4859201 feat: Use the blurhash in Files
Signed-off-by: Louis Chemineau <louis@chmn.me>
2024-08-29 23:08:11 +02:00
dependabot[bot] 19dd32962d Merge pull request #47458 from nextcloud/dependabot/npm_and_yarn/webpack-5.94.0 2024-08-29 20:49:20 +00:00
nextcloud-command a5b3fc46a3 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-08-29 20:34:12 +00:00
dependabot[bot] 725cafd94f chore(deps-dev): bump webpack from 5.93.0 to 5.94.0
Bumps [webpack](https://github.com/webpack/webpack) from 5.93.0 to 5.94.0.
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](https://github.com/webpack/webpack/compare/v5.93.0...v5.94.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-08-29 20:24:38 +00:00
Arthur Schiwon 4accba8016 Merge pull request #47611 from nextcloud/fix/noid/no-sharding-32
fix(DB): set sharding parameters only when intended
2024-08-29 20:49:39 +02:00
Arthur Schiwon b71c539b5c test(phpunit): skip sharding tests on 32bit
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2024-08-29 20:18:35 +02:00
Andy Scherzinger 51e9687fa3 Merge pull request #47222 from nextcloud/dependabot/npm_and_yarn/eslint-plugin-cypress-3.5.0
chore(deps-dev): bump eslint-plugin-cypress from 3.4.0 to 3.5.0
2024-08-29 20:05:18 +02:00
Arthur Schiwon edaa4d1432 fix(DB): do not assume sharding is always enabled
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2024-08-29 19:55:10 +02:00
Arthur Schiwon 79b34aa816 build: bump version to force 32bit test
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2024-08-29 19:13:19 +02:00
Arthur Schiwon 381e922085 fix(DB): set sharding parameters only when intended
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2024-08-29 19:12:44 +02:00
dependabot[bot] becdf22035 chore(deps-dev): bump eslint-plugin-cypress from 3.4.0 to 3.5.0
Bumps [eslint-plugin-cypress](https://github.com/cypress-io/eslint-plugin-cypress) from 3.4.0 to 3.5.0.
- [Release notes](https://github.com/cypress-io/eslint-plugin-cypress/releases)
- [Commits](https://github.com/cypress-io/eslint-plugin-cypress/compare/v3.4.0...v3.5.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-08-29 16:56:58 +00:00
Côme Chilliet e44f24f7ab Merge pull request #47535 from nextcloud/fix/move-image-to-oc-namespace
Fix/move image to oc namespace
2024-08-29 18:01:34 +02:00
Côme Chilliet 1f46be7d69 fix(Image): Do not send empty Content-Type header
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-08-29 17:06:32 +02:00
Côme Chilliet 80d7d867bd fix(tests): Fix ImageTest test
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-08-29 17:06:32 +02:00
Côme Chilliet b778f3de0a fix(\OC\Image): Use new IAppConfig and type safe methods
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-08-29 17:06:32 +02:00
Côme Chilliet c67e54287a fix(OC\Image): Fix all psalm spotted issues in the file
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-08-29 17:06:32 +02:00
Côme Chilliet e8c671fa8b fix: Remove all references to OC_Image
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-08-29 17:06:32 +02:00
Côme Chilliet 47d2cb7479 fix: Move \OC_Image to \OC\Image with the other internal classes
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-08-29 17:06:32 +02:00
Julius Härtl 6d04ad829b Merge pull request #47581 from nextcloud/fix/audit-new-node
fix: Do not fail to get internal path on NonExistingFile
2024-08-29 15:43:21 +02:00
Josh fef4295ef7 Merge pull request #47567 from nextcloud/jtr/fix-opcache-restricted-env
fix(config): Avoid error messages for restricted opcache API
2024-08-29 08:46:41 -04:00
Louis 02548bdeae Merge pull request #47600 from nextcloud/artonge/fix/files_virtual_list_grid_view_layout_computation
fix(files): Remove margin and width to not break layout
2024-08-29 14:07:40 +02:00
Louis Chemineau c42f010167 fix(files): Remove margin and width to not break layout
In grid view, this was messing with the reported available list width which was breaking the computed layout.

Fix https://github.com/nextcloud/server/issues/47599

Signed-off-by: Louis Chemineau <louis@chmn.me>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-08-29 11:50:25 +00:00
Stephan Orbaugh 6e4e9cf6bd Merge pull request #47598 from nextcloud/enh/47017/re-enable-content-length-header
fix: re-enable content-length header via htaccess
2024-08-29 12:53:19 +02:00
Julius Härtl 61108882b9 fix: Do not fail to get internal path on NonExistingFile/NonExistingFolder
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2024-08-29 12:43:44 +02:00
John Molakvoæ 466f19b689 Merge pull request #47582 from fulldecent/patch-1 2024-08-29 11:54:13 +02:00
Simon L. 3739fb7a80 fix: re-enable content-length header via htaccess
Signed-off-by: Simon L. <szaimen@e.mail.de>
2024-08-29 11:50:55 +02:00
Simon L. c055ed83d7 chore: Remove installation method from bug-report template
Signed-off-by: Simon L. <szaimen@e.mail.de>
2024-08-29 11:41:33 +02:00
Joas Schilling 6cfa388e34 Merge pull request #47596 from nextcloud/fix/test/provisioning-enabled-apps
fix(test): Fix provisioning enabled apps
2024-08-29 11:16:24 +02:00
John Molakvoæ 292a306743 Merge pull request #47343 from nextcloud/feat/31420/add-bidi-support 2024-08-29 10:56:27 +02:00
Ferdinand Thiessen faeb2f0f43 chore: Add stylelint rules to verify we only use logical properties
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-08-29 08:35:06 +00:00
Ferdinand Thiessen aea0e8df6a fix: Adjust more places for logical position
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-08-29 08:32:48 +00:00
Ferdinand Thiessen 7b048e0501 fix: Adjust some minor styles issues
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-08-29 08:32:48 +00:00
Mostafa Ahangarha c5baf3d7ef Fix: float and clear
Fix other background-positions
Minor fix in link button icon position
Update header left and right to start and end

Signed-off-by: Mostafa Ahangarha <ahangarha@riseup.net>
2024-08-29 08:32:47 +00:00
Mostafa Ahangarha 26f4b97b2b Fix: shorthand paddings and margins
Signed-off-by: Mostafa Ahangarha <ahangarha@riseup.net>
2024-08-29 08:32:47 +00:00
Mostafa Ahangarha 66fab3f2f6 Fix: background position based on direction
Signed-off-by: Mostafa Ahangarha <ahangarha@riseup.net>
2024-08-29 08:32:47 +00:00
Mostafa Ahangarha 723780d184 feat: Add bidi support in core directory
Signed-off-by: Mostafa Ahangarha <ahangarha@riseup.net>
2024-08-29 08:32:47 +00:00
provokateurin 54e6103d31 fix(test): Fix provisioning enabled apps
Signed-off-by: provokateurin <kate@provokateurin.de>
2024-08-29 09:43:03 +02:00
Joas Schilling 23efda9111 Merge pull request #47551 from nextcloud/fix/files_sharing/share-nullable-label
fix(files_sharing): Make share labels nullable
2024-08-29 08:43:34 +02:00
Nextcloud bot d48c6aaaaa Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-08-29 00:21:09 +00:00
Andy Scherzinger d404998157 Merge pull request #47515 from nextcloud/bugfix/noid/fix-migration-sorting
fix(migration): Correctly sort migrations by version number
2024-08-28 20:46:24 +02:00
Andy Scherzinger 3a565b30b2 Merge pull request #47532 from nextcloud/fix/default-enable-webhooks
feat(webhook_listeners): Enable the app by default
2024-08-28 20:45:31 +02:00
Andy Scherzinger ffde0c993e Merge pull request #47185 from nextcloud/fix/filename-validation
fix: Filename validation should only forbid `create` and `update`
2024-08-28 18:39:16 +02:00
nextcloud-command 932129251b chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-08-28 17:22:20 +02:00
Ferdinand Thiessen 17f011f7c5 fix: Also validate parent path in verifyPath
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-08-28 17:22:20 +02:00
Ferdinand Thiessen 08836696e2 fix: Allow read-only filename validation to allow reading files
Needed to read files with the "Windows compatibility" feature.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-08-28 17:22:20 +02:00
Ferdinand Thiessen 030c209d22 fix: Renaming does not need update but delete permissions
Renaming is basically copy + delete (a move), so no need to update permissions.
Especially if the node is in a invalid directory the node should be moveable but not editable.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-08-28 17:22:20 +02:00
Ferdinand Thiessen 0d41c49918 fix(dav): Pre-check if node can be copied or moved in DAV files plugin
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-08-28 17:22:20 +02:00
William Entriken bdd6f311ea Move preferred install method to top spot
Signed-off-by: William Entriken <github.com@phor.net>
2024-08-28 11:18:39 -04:00
Hamza 54bfe5174f Merge pull request #47525 from nextcloud/fix/optimize-getWrongShareOwnership-query
fix: optimise `getWrongShareOwnership` query
2024-08-28 16:14:56 +02:00
Kate 8290b1e92e Merge pull request #37303 from nextcloud/remove-unset-parameters 2024-08-28 15:59:41 +02:00
Thomas Citharel aa8df9b05f fix(provisionning_api): Remove parameters that are not set into template
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2024-08-28 14:51:02 +02:00
Josh 3e434bcebf fix(config): Avoid error messages for restricted opcache API
Make changes recently added via #44230 match #8188 to avoid failures in restricted hosting environments.

Fixes #47562

Signed-off-by: Josh <josh.t.richards@gmail.com>
2024-08-28 08:20:25 -04:00
Stephan Orbaugh b4d7498cfb Merge pull request #46639 from nextcloud/autosharding
Transparent* database sharding
2024-08-28 11:22:44 +02:00
Louis Chemineau 2574cbfa61 chore: Apply php:cs recommendations
Signed-off-by: Louis Chemineau <louis@chmn.me>
2024-08-28 10:44:18 +02:00
Louis c30c9d4158 Merge pull request #47511 from nextcloud/artonge/chore/is_encrypted_description
chore: Improve `FileInfo::isEncrypted` description
2024-08-28 10:35:09 +02:00
Louis 6fe2522808 Merge pull request #47496 from nextcloud/artonge/feat/improve_encryption_detection_in_occ
feat: Improve encryption mode detection in occ info:file
2024-08-28 10:34:55 +02:00
Robin Appelman 9d0248545d fix: mark systemconfig value as not being tainted because they are implicitly trusted
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-08-28 10:27:14 +02:00
Robin Appelman 1363e142d8 fix: make preload custom proterties sharding compatible
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-08-28 10:27:14 +02:00
Robin Appelman b21a399d1a fix: implement sharding compatible cleanup for various bits
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-08-28 10:27:14 +02:00
Robin Appelman cc091b150e fix: fix share cleanup for deleted groups with sharding
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-08-28 10:21:20 +02:00
Robin Appelman e538f4699d fix: adjust systemtag orphan cleanup query to work with sharding
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-08-28 10:21:20 +02:00
Robin Appelman 80a25531f7 fix: make background scan job compatible with sharding
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-08-28 10:21:19 +02:00
Robin Appelman 382d102d22 test: fix share provider tests for sharding
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-08-28 10:21:19 +02:00
Robin Appelman 2eaeeeeafe fix: run mimetype repair query across all shards
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-08-28 10:21:19 +02:00
Robin Appelman 390f6a78b4 fix: hint storage id in more places
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-08-28 10:21:19 +02:00
Robin Appelman 4d9b563d22 test: run sharding tests in ci
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-08-28 10:21:19 +02:00
Robin Appelman fc05a67f19 fix: only allow pre-defined shards
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-08-28 10:21:19 +02:00
Robin Appelman ddbeb4cac9 test: mark share test cleanup as running across all shards
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-08-28 10:21:19 +02:00
Robin Appelman 62f8b6517f feat: implement distributing partitioned queries over multiple shards
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-08-28 10:21:19 +02:00
Robin Appelman f5b3486744 feat: add option to automatically partition queries by specific tables
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-08-28 10:18:53 +02:00
Robin Appelman c58bdbf378 fix: delay calculating global cache prefix untill a cache is created
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-08-28 10:18:52 +02:00
Robin Appelman 114db0558c fix: don't make ICacheFactory depend on database
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-08-28 10:18:52 +02:00
Robin Appelman c09ec95255 feat: track expected output columns in query builder
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-08-28 10:18:52 +02:00
Nextcloud bot 32d76b0b4b Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-08-28 00:23:12 +00:00
Pytal b7212e3efb Merge pull request #47400 from nextcloud/feat/load-more-than-50-faves
feat(files): Allow more than 50 favorite views
2024-08-27 16:25:39 -07:00
nextcloud-command f48a7fffb7 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-08-27 22:53:31 +00:00
Christopher Ng a1f43964dc test(files): Adapt favorite views spec
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2024-08-27 15:37:27 -07:00
Christopher Ng 9cc1a020a2 feat(files): Allow more than 50 favorite views
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2024-08-27 14:33:39 -07:00
Christopher Ng 71e653c0bc perf(files): Do not block files page load with server-side favorites retrieval
Co-authored-by: Ferdinand Thiessen <opensource@fthiessen.de>
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2024-08-27 14:33:39 -07:00
Ferdinand Thiessen 81c6c24cd5 fix: Adjust filename validation messages
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-08-27 23:12:24 +02:00
provokateurin 01c4fa3ba8 fix(files_sharing): Make share labels nullable
Signed-off-by: provokateurin <kate@provokateurin.de>
2024-08-27 22:28:48 +02:00
Elizabeth Danzberger a740e60afc Merge pull request #47290 from nextcloud/feat/checkbox-template-field-type
feat(templates): checkbox field type
2024-08-27 16:15:30 -04:00
Maxence Lange e68f77ea6c Merge pull request #47521 from nextcloud/fix/noid/loosing-systemconfig-on-setup
fix(logger): ignore session logging during setup
2024-08-27 18:10:16 -01:00
Elizabeth Danzberger a82a5423e0 chore: rebuild assets
Signed-off-by: Elizabeth Danzberger <lizzy7128@tutanota.de>
2024-08-27 14:43:49 -04:00
Elizabeth Danzberger 79d005e11f feat(templates): add support for checkboxes in template filler
Signed-off-by: Elizabeth Danzberger <lizzy7128@tutanota.de>
2024-08-27 14:41:58 -04:00
Ferdinand Thiessen 95fff6bc72 Merge pull request #47540 from nextcloud/fix/folder-creation
fix(files): Correctly check for already used names when creating new folder
2024-08-27 20:38:41 +02:00
nextcloud-command d363647b3f chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-08-27 17:56:03 +00:00
Ferdinand Thiessen 988ea85f48 fix(files): Correctly check for already used names when creating new folder
Also add Cypress tests for the "new"-menu.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-08-27 19:40:38 +02:00
Joas Schilling a51e04110f Merge pull request #47541 from nextcloud/ci/noid/lighter
ci: Reduce required run time
2024-08-27 19:40:01 +02:00
Ferdinand Thiessen 5db859fd25 Merge pull request #47450 from nextcloud/Jerome-Herbinet-line-manager
"Line" manager instead of "Account" manager
2024-08-27 18:53:52 +02:00
Julien Veyssier 558877c842 Merge pull request #47522 from nextcloud/enh/noid/taskprocessing-runtask
[TaskProcessing] Add manager::runTask method
2024-08-27 17:53:20 +02:00
Joas Schilling 5129e5ad30 ci: Don't run things normally and with coverage flag on the same configuration
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-08-27 17:49:12 +02:00
Joas Schilling 364ddf049c ci: Run things we only run on 1 PHP version on the preinstalled 8.1 which installs ~2m faster
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-08-27 17:48:33 +02:00
John Molakvoæ 9754f4f723 Merge pull request #47500 from nextcloud/fix/file-list-footer-gap 2024-08-27 17:27:38 +02:00
Joas Schilling 46c853146b fix(migration): Correctly sort migrations by version number
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-08-27 16:25:10 +02:00
Côme Chilliet 08adbed85e feat(webhook_listeners): Enable the app by default
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-08-27 16:00:00 +02:00
Daniel 11822def85 Merge pull request #47509 from nextcloud/fix/exif-orientation-type
fix: gracefully handle unexpected exif orientation types
2024-08-27 15:59:14 +02:00
Maxence Lange 9100b8757e fix(setup): ignore long session login during installation
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2024-08-27 12:29:42 -01:00
Julius Härtl b8b5f2c8aa Merge pull request #47507 from nextcloud/feat/apcu-setup-check
feat(settings): Add setup check for apcu cache expunge
2024-08-27 15:18:34 +02:00
Josh Richards 2e73932c8e fix: custom port handling in UI for SFTP
Signed-off-by: Josh Richards <josh.t.richards@gmail.com>
2024-08-27 09:01:12 -04:00
Julien Veyssier 396b8f52f1 fix(taskprocessing): fix condition to reschedule SynchronousBackgroundJob
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
2024-08-27 14:59:20 +02:00
Josh 6db4099246 fix: custom port handling in UI for FTP External Storage
Signed-off-by: Josh <josh.t.richards@gmail.com>
2024-08-27 08:49:24 -04:00
Hamza Mahjoubi 6361edb864 fix: optimise getWrongShareOwnership query
Signed-off-by: Hamza Mahjoubi <hamzamahjoubi221@gmail.com>
2024-08-27 14:08:29 +02:00
Julien Veyssier c1ed256d50 feat(taskprocessing): add IManager::runTask method to run task synchronously
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
2024-08-27 13:11:51 +02:00
Côme Chilliet 36479df042 chore: composer run cs:fix
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-08-27 13:03:25 +02:00
Kate 829642c9e5 Merge pull request #47508 from nextcloud/fix/router/attribute-routes-all-apps 2024-08-27 12:48:50 +02:00
Louis d2c372639c Merge pull request #47495 from nextcloud/artonge/dept/delegat_is_encrypted_to_e2ee
feat: Delegate is-encrypted handling to the e2ee app
2024-08-27 12:32:40 +02:00
Côme Chilliet c3029c70d5 fix(user_ldap): Fix user_ldap tests by mocking new method exists in manager
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-08-27 12:14:34 +02:00
Côme Chilliet eb27243056 fix(user_ldap): Lowercase value for all attributes in configuration
Avoid surprises by making sure these are lowercased apart from
 documented special case user displayname.

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-08-27 12:13:30 +02:00
Joas Schilling 0fdcaa584e Merge pull request #47494 from nextcloud/bugfix/eun-100/allow-apps-to-get-unshared-users
fix(dav): Allow apps to get unshares for DAV resources
2024-08-27 11:23:48 +02:00
Elizabeth Danzberger 99221f2a42 fix(files): fix list gap at bottom
Signed-off-by: Elizabeth Danzberger <lizzy7128@tutanota.de>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-08-27 08:53:57 +00:00
Louis Chemineau 675c7fab78 chore: Improve isEncrypted description
Signed-off-by: Louis Chemineau <louis@chmn.me>
2024-08-27 10:52:35 +02:00
Julius Härtl f3419c5f57 feat(settings): Add setup check for apcu cache expunge
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2024-08-27 10:45:32 +02:00
provokateurin 12b44844e1 fix(Router): Load attribute routes of all apps when not app is specified
Signed-off-by: provokateurin <kate@provokateurin.de>
2024-08-27 10:42:47 +02:00
Joas Schilling ead3f66379 Merge pull request #47510 from nextcloud/fix/db/slow-transactions-higher-log-level
fix(db): Increase log level for very slow transactions
2024-08-27 10:30:52 +02:00
Christoph Wurst bdcfe5b8a9 fix(db): Increase log level for very slow transactions
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2024-08-27 10:12:14 +02:00
Côme Chilliet fffba1c6af fix(ldap): Fix user_ldap attribute casing to fix tests
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-08-27 10:06:45 +02:00
Côme Chilliet d2bc636a79 fix(user_ldap): Correctly cache that user exists to avoid a request on mapping new user
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-08-27 10:06:43 +02:00
Côme Chilliet 4fb1d2f3e5 fix(user_ldap): Avoid extra LDAP request when mapping a user for the first time
Avoids using several LDAP searches to get UUID, display name and
 internal name, now gets all attributes at the same time.
Also avoids extra request to build an unused user object in userExists.

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-08-27 10:05:12 +02:00
Richard Steinmetz cd928ed4ed fix: gracefully handle unexpected exif orientation types
Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
2024-08-27 09:32:04 +02:00
Joas Schilling b8ab7b7e55 Merge pull request #47448 from nextcloud/fix/47187/user-status-absence
fix(user_status): add link to Availability page if user set predefined 'Vacationing'
2024-08-27 07:37:52 +02:00
Nextcloud bot f35e33f2d8 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-08-27 00:20:54 +00:00
Ferdinand Thiessen 21b997f845 Merge pull request #47490 from nextcloud/chore/adjust-translations
chore(files): Adjust wording for file type filter
2024-08-26 21:40:27 +02:00
Ferdinand Thiessen 2665151105 Merge pull request #47465 from nextcloud/fix/files-drop-notice
fix(files): Reset drop notice on firefox
2024-08-26 21:00:05 +02:00
nextcloud-command 290610b630 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-08-26 20:44:06 +02:00
Ferdinand Thiessen 3ffdf56c8f chore(files): Adjust wording for file type filter
* Resolves: https://github.com/nextcloud/server/issues/47440

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-08-26 20:42:41 +02:00
nextcloud-command 744b41b216 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-08-26 20:41:36 +02:00
Ferdinand Thiessen f7b7474cd3 fix(files): Reset drop notice on firefox
On firefox there is an old bug where when you move a dragged file outside
the window the `dragleave` event is never emitted.
So we just use a timeout to reset the drag over state.

Also a small change: Use the ID of the main container instead of relying on tag name and class.
(The ID is guranteed as other APIs rely on it, while the class is just used internally).

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-08-26 20:31:31 +02:00
Ferdinand Thiessen 4fcf4dba02 Merge pull request #47466 from nextcloud/chore/migrate-vitest
test: Migrate from Jest to vitest
2024-08-26 20:30:26 +02:00
Louis Chemineau ac1d8cdbef feat: Delegate is-encrypted handling to the e2ee app
Signed-off-by: Louis Chemineau <louis@chmn.me>
2024-08-26 19:45:30 +02:00
Louis Chemineau fffe826d90 feat: Improve encryption mode detection in occ info:file
Signed-off-by: Louis Chemineau <louis@chmn.me>
2024-08-26 19:28:44 +02:00
Joas Schilling 7a1a0eb7a2 fix(dav): Allow apps to get unshares for DAV resources
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-08-26 18:58:32 +02:00
Jérôme Herbinet c00b5094ff chore: npm run build
Signed-off-by: Jérôme Herbinet <33763786+Jerome-Herbinet@users.noreply.github.com>
2024-08-26 18:08:23 +02:00
Jérôme Herbinet f9bf3eda1c fix(wording): "Line" manager instead of "Account" manager
Signed-off-by: Jérôme Herbinet <33763786+Jerome-Herbinet@users.noreply.github.com>
2024-08-26 18:08:04 +02:00
Ferdinand Thiessen 6d31abdfd5 Merge pull request #47467 from nextcloud/fix/virtual-files-list
fix(files): Adjust margin at the file list bottom
2024-08-26 17:44:06 +02:00
Ferdinand Thiessen 30d090fb78 chore: Update source maps due to dependency changes
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-08-26 17:29:42 +02:00
Ferdinand Thiessen e0b81410f4 chore: Add vitest.config.ts as expected and remove Jest config
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-08-26 17:27:22 +02:00
Ferdinand Thiessen a5e58dc45e test: Migrated all Jest tests to vitest
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-08-26 17:27:22 +02:00
Ferdinand Thiessen c0b39bb909 chore: Move from Jest to vitest
There are some benefits, like faster tests and thus saving CI time, but the main reason for me is:

Jest still does not properly support ESM packages, this casues a lot of breaking stuff.
Sometimes you need to adjust imports for mocking, and somethimes other random stuff break.
Instead of wasting valuable developer lifetime we can use vitest which works perfectly with ESM.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-08-26 17:27:22 +02:00
Ferdinand Thiessen e840ec23f1 chore: Compile assets
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-08-26 16:33:21 +02:00
Ferdinand Thiessen b1eecde452 fix(files): Remove huge margin on bottom
Instead make it relative to screen size.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-08-26 16:31:25 +02:00
Joas Schilling c6ec82203e Merge pull request #47480 from nextcloud/fix/41639/flow-check-user-agent
fix(flow): cannot set custom user agent
2024-08-26 14:09:25 +02:00
nextcloud-command cc72f738ed chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-08-26 11:53:28 +00:00
Julius Härtl 6d2253e692 Merge pull request #46013 from nextcloud/obj-store-move-from-storage-preserve-fileid
fix: write object to the correct urn when moving from another storage to object store
2024-08-26 13:47:27 +02:00
Maksim Sukharev f23875dcb1 fix(user_status): add link to Availability page if user set predefined 'Vacationing'
Signed-off-by: Maksim Sukharev <antreesy.web@gmail.com>
2024-08-26 13:41:56 +02:00
Arthur Schiwon 2b270f54ee build: js assets
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2024-08-26 13:31:57 +02:00
Arthur Schiwon 0eeb459cc3 fix(flow): cannot set customer user agent
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2024-08-26 13:25:33 +02:00
Andy Scherzinger e2b1de8bc1 Merge pull request #47470 from nextcloud/automated/noid/master-fix-npm-audit
[master] Fix npm audit
2024-08-26 09:50:52 +02:00
Joas Schilling 36f272d03b Merge pull request #47435 from phreaker0/fix-mail-template-class-call
fix(mailer): Call to custom mail_template_class
2024-08-26 08:58:00 +02:00
Kate c42412f3d2 Merge pull request #47474 from nextcloud/fix/cs-fixer/ignore-git-ignored-entries 2024-08-26 07:40:16 +02:00
Nextcloud bot 23bbb31445 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-08-26 00:20:22 +00:00
Daniel cead56ac6a Merge pull request #47464 from nextcloud/dependabot/composer/vendor-bin/cs-fixer/nextcloud/coding-standard-1.2.3
bump nextcloud/coding-standard from 1.2.1 to 1.2.3 in /vendor-bin/cs-fixer
2024-08-25 21:09:41 +02:00
Daniel Kesselberg 47168ad5bd chore: ignore coding-standard update 1.2.3 in git blame
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2024-08-25 20:43:43 +02:00
Daniel Kesselberg e88693a473 style: update codestyle for coding-standard 1.2.3
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2024-08-25 20:43:43 +02:00
dependabot[bot] 9067932f3b build(deps-dev): Bump nextcloud/coding-standard from 1.2.1 to 1.2.3
Bumps [nextcloud/coding-standard](https://github.com/nextcloud/coding-standard) from 1.2.1 to 1.2.3.
- [Release notes](https://github.com/nextcloud/coding-standard/releases)
- [Changelog](https://github.com/nextcloud/coding-standard/blob/master/CHANGELOG.md)
- [Commits](nextcloud/coding-standard@v1.2.1...v1.2.3)

---
updated-dependencies:
- dependency-name: nextcloud/coding-standard
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-08-25 20:43:04 +02:00
provokateurin ffc8a86d7d fix(cs-fixer): Correctly ignore files ignored by git
Signed-off-by: provokateurin <kate@provokateurin.de>
2024-08-25 20:40:47 +02:00
Daniel 5d632154c2 Merge pull request #47449 from nextcloud/debt/noid/update-codestyle
Update to coding-standard 1.2.3
2024-08-25 19:56:37 +02:00
Daniel Kesselberg dd165cf53a chore: add .git-blame-ignore-revs as expected file
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2024-08-25 19:35:40 +02:00
Daniel Kesselberg 8622edb4b3 chore: ignore coding-standard update 1.2.3 in git blame
https://docs.github.com/en/repositories/working-with-files/using-files/viewing-a-file#ignore-commits-in-the-blame-view

Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2024-08-25 19:35:40 +02:00
Daniel Kesselberg af6de04e9e style: update codestyle for coding-standard 1.2.3
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2024-08-25 19:34:58 +02:00
nextcloud-command 82183693e9 fix(deps): Fix npm audit
Signed-off-by: GitHub <noreply@github.com>
2024-08-25 02:49:40 +00:00
Nextcloud bot 1cc6b3577f Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-08-25 00:24:21 +00:00
Ferdinand Thiessen c18cd4df66 Merge pull request #47460 from nextcloud/dependabot/npm_and_yarn/vueuse/integrations-11.0.1
chore(deps): bump @vueuse/integrations from 11.0.0 to 11.0.1
2024-08-24 12:25:55 +02:00
dependabot[bot] 6c4b56b0f3 chore(deps): bump @vueuse/integrations from 11.0.0 to 11.0.1
Bumps [@vueuse/integrations](https://github.com/vueuse/vueuse/tree/HEAD/packages/integrations) from 11.0.0 to 11.0.1.
- [Release notes](https://github.com/vueuse/vueuse/releases)
- [Commits](https://github.com/vueuse/vueuse/commits/v11.0.1/packages/integrations)

---
updated-dependencies:
- dependency-name: "@vueuse/integrations"
  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-08-24 10:01:53 +00:00
dependabot[bot] 3656a24e21 Merge pull request #47463 from nextcloud/dependabot/npm_and_yarn/vueuse/core-11.0.1 2024-08-24 09:46:42 +00:00
dependabot[bot] 31319be951 chore(deps): bump @vueuse/core from 11.0.0 to 11.0.1
Bumps [@vueuse/core](https://github.com/vueuse/vueuse/tree/HEAD/packages/core) from 11.0.0 to 11.0.1.
- [Release notes](https://github.com/vueuse/vueuse/releases)
- [Commits](https://github.com/vueuse/vueuse/commits/v11.0.1/packages/core)

---
updated-dependencies:
- dependency-name: "@vueuse/core"
  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-08-24 09:33:09 +00:00
Nextcloud bot e97421f12a Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-08-24 00:20:27 +00:00
Sebastian Krupinski e5e795c935 Merge pull request #47452 from nextcloud/fix/issue-47447-mail-provider-documentation
fix: correct documentation for mail provider
2024-08-23 12:34:19 -04:00
SebastianKrupinski b260dd0a9d fix: correct documentation for mail provider
Signed-off-by: SebastianKrupinski <krupinskis05@gmail.com>
2024-08-23 12:09:44 -04:00
Robin Appelman 4a3ade5d43 Merge pull request #46021 from nextcloud/middleware-delay-admin
perf: delay getting (sub)admin status for user in the security middleware untill we need it
2024-08-23 17:38:01 +02:00
Robin Appelman 3e7695235c Merge pull request #45457 from nextcloud/qb-escape-like
expose escapeLikeParameter trough query builder
2024-08-23 17:08:58 +02:00
Robin Appelman 44aa4836aa Merge pull request #45880 from nextcloud/memcache-redis-command
feat: add command to send raw commands to redis
2024-08-23 16:53:22 +02:00
SebastianKrupinski 7363c4a403 fix: correct documentation for mail provider
Signed-off-by: SebastianKrupinski <krupinskis05@gmail.com>
2024-08-23 10:26:40 -04:00
Robin Appelman 8b60df1600 perf: delay getting (sub)admin status for user in the security middleware untill we need it
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-08-23 15:26:40 +02:00
Robin Appelman bd740ac0b0 fix: write object to the correct urn when moving from another storage to object store
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-08-23 15:22:16 +02:00
Robin Appelman 2f9f9e83e8 feat: add command to send raw commands to redis
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-08-23 15:14:15 +02:00
Robin Appelman 658d2f7ea1 feat: expose escapeLikeParameter trough query builder
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-08-23 15:12:10 +02:00
Nextcloud bot 0cab17bfe7 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-08-23 00:20:06 +00:00
Pytal 3d1785bb2f Merge pull request #47204 from nextcloud/fix/tree-hidden-files
fix(files): Respect "Show hidden files" setting in tree
2024-08-22 16:41:04 -07:00
nextcloud-command 5b412b505b chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-08-22 23:17:06 +00:00
Christopher Ng fc1edaf4c1 refactor(files): Consolidate node registration
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2024-08-22 16:09:10 -07:00
Christopher Ng 3b185b1156 refactor(files): Organize event subscriptions
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2024-08-22 16:09:10 -07:00
Christopher Ng 4062883459 fix(files): Respect "Show hidden files" setting in tree
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2024-08-22 16:09:10 -07:00
Ferdinand Thiessen 920a74118c Merge pull request #47403 from nextcloud/feat/password-context
feat(Security): Allow defining a password context for password validation and generation
2024-08-23 00:01:39 +02:00
Daniel d78bfb7181 Merge pull request #47419 from nextcloud/bugfix/noid/add-missing-attribute
fix(migration): Add missing migration attributes
2024-08-22 21:34:35 +02:00
Andy Scherzinger 6c934b831e Merge pull request #47407 from nextcloud/fix/version-name-dialog
fix(files_versions): Migrate version name dialog from NcModal to NcDialog
2024-08-22 21:27:05 +02:00
Joas Schilling 4b6490eaa6 fix(migration): Add missing migration attributes
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-08-22 20:58:50 +02:00
Christoph Klaffl d7da93489b Merge branch 'master' into fix-mail-template-class-call 2024-08-22 19:42:51 +02:00
Christoph Klaffl ae787c5ef2 fix call to custom mail_template_class
Signed-off-by: Christoph Klaffl <christoph@phreaker.eu>
2024-08-22 19:39:23 +02:00
nextcloud-command e2c299f28c chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-08-22 17:38:36 +00:00
Ferdinand Thiessen dd58e5290f feat: Use new password context in sharing API
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-08-22 19:16:55 +02:00
Ferdinand Thiessen 127cacdd19 feat(Security): Allow setting password context for validation and generation
Co-authored-by: Ferdinand Thiessen <opensource@fthiessen.de>
Co-authored-by: Joas Schilling <213943+nickvergessen@users.noreply.github.com>
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-08-22 19:16:50 +02:00
Ferdinand Thiessen 351dd6dd8a fix(files_versions): Migrate version name dialog from NcModal to NcDialog
* Resolves https://github.com/nextcloud/viewer/issues/2390

Make the version name dialog a real dialog instead of a modal.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-08-22 19:16:24 +02:00
Andy Scherzinger f4f0316a55 Merge pull request #47408 from nextcloud/fix/dashboard-widgets
fix(dashboard): Adjust widget border radius
2024-08-22 18:59:35 +02:00
nextcloud-command 5940c96414 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-08-22 18:07:33 +02:00
Ferdinand Thiessen a6556e9b46 fix(dashboard): Adjust widget border radius
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-08-22 18:07:33 +02:00
Anna 1b39abb501 Merge pull request #47415 from nextcloud/Fix/trusted-server-icon-recovery-without-addressbook-change
fix: Trusted server icon recovery without addressbook change
2024-08-22 17:01:28 +02:00
Pablo Zimdahl 3c3667fe18 fix(federation): always set server status to OK after successful runs
Previously if a server status got set to failure, it stayed that way
until an addressbook-sync found changes. Now the server status is set to
OK after each successful sync check (if that's not the case already),
regardless of addressbook changes.

This change also includes two new logging statements, which could help
next time someone debugs this.

Signed-off-by: Pablo Zimdahl <pablo@nextcloud.com>
2024-08-22 16:02:21 +02:00
John Molakvoæ 4eebf471e5 Merge pull request #47379 from nextcloud/fix/cypress-stop-cache 2024-08-22 14:32:31 +02:00
skjnldsv 5e2e2ba7ad fix(cypress): drop unwanted docker output characters
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2024-08-22 13:32:59 +02:00
skjnldsv d3a0e8308b chore(cypress): enable apcu
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2024-08-22 13:32:59 +02:00
skjnldsv c0781f524f chore(cypress): skip cypress binary install on init step
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2024-08-22 13:32:59 +02:00
skjnldsv 5a7e21187b chore(cypress): put nextcloud into ram
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2024-08-22 13:32:59 +02:00
skjnldsv b6bc28833c chore(cypress): allow db snapshot and restore fo faster tests
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2024-08-22 13:32:59 +02:00
skjnldsv 49fa2e508d fix(cypress): do not install deps twice
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2024-08-22 13:32:59 +02:00
Anna 639caf6150 Merge pull request #47413 from nextcloud/fix/limit-property-values
fix(caldav): limit property length
2024-08-22 13:17:21 +02:00
Anna Larch 3ff7d64fda fix(caldav): limit property length
Signed-off-by: Anna Larch <anna@nextcloud.com>
2024-08-22 12:15:51 +02:00
provokateurin ebfbe99652 fix(files): Create non-existent parents of mountpoints
Signed-off-by: provokateurin <kate@provokateurin.de>
2024-08-22 12:04:31 +02:00
Joas Schilling 0df3a46db2 Merge pull request #47409 from nextcloud/followup/46991/allow-setting-new-configs
fix(provisioning): Support setting new app configs as well
2024-08-22 08:39:14 +02:00
Joas Schilling 9641433001 fix(provisioning): Support setting new app configs as well
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-08-22 08:02:15 +02:00
Nextcloud bot b33260a22c Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-08-22 00:20:22 +00:00
John Molakvoæ 003bf4b8ee Merge pull request #47363 from nextcloud/fix/template-picker-press-enter
fix: use empty template by default when pressing enter
2024-08-21 22:01:51 +02:00
Elizabeth Danzberger 82c6b92d41 chore: build assets
Signed-off-by: Elizabeth Danzberger <lizzy7128@tutanota.de>
2024-08-21 15:02:14 -04:00
nextcloud-command 5ead5fc6c5 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-08-21 15:00:33 -04:00
Elizabeth Danzberger e53684e1d9 fix: use empty template by default when pressing enter
Signed-off-by: Elizabeth Danzberger <lizzy7128@tutanota.de>
2024-08-21 15:00:26 -04:00
Ferdinand Thiessen b36ced878f Merge pull request #47397 from nextcloud/chore/update-vue
Update `@nextcloud/vue` to v8.17.0
2024-08-21 19:56:05 +02:00
Ferdinand Thiessen a01797d2f2 chore: Compile assets
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-08-21 17:19:12 +00:00
Ferdinand Thiessen b87c1ebfcc chore: Update @nextcloud/vue to v8.17.0
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-08-21 17:55:07 +02:00
Robin Appelman c3ad469750 Merge pull request #47259 from nextcloud/memcache-ncad
feat: add negative compare-and-delete to imemcache
2024-08-21 17:19:04 +02:00
Joas Schilling 6214e3ad76 Merge pull request #47388 from nextcloud/bugfix/noid/green-ci
ci: Skip flaky test on PHP 8.3
2024-08-21 15:53:27 +02:00
Arthur Schiwon ebe2429c0a Merge pull request #46991 from nextcloud/fix/45083/config-from-js
fix(ProvisioningAPI): set typed config values by via API
2024-08-21 14:58:24 +02:00
Ferdinand Thiessen 974cda636f Merge pull request #47370 from nextcloud/fix/loading-icon
fix(files): Move loading icon before grid toggle
2024-08-21 14:37:47 +02:00
Ferdinand Thiessen 1992a6d72b Merge pull request #47371 from nextcloud/fix/disable-auto-zoom-ios
fix: Disable auto-zoom on iOS
2024-08-21 14:32:16 +02:00
Andy Scherzinger 7290d9d7ca Merge pull request #47352 from nextcloud/fix/context-write-wording
fix(TaskProcessing/ContextWrite): Fix wording "ContextWrite" -> "Context write"
2024-08-21 13:25:09 +02:00
Andy Scherzinger f309ba9dc9 Merge pull request #47381 from nextcloud/chore/deps/openapi-extractor
chore(deps): Update openapi-extractor to v1.0.0
2024-08-21 13:20:10 +02:00
Joas Schilling e1caa198e3 ci: Skip flaky test on PHP 8.3
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-08-21 13:13:12 +02:00
Ferdinand Thiessen d5140fe034 Merge pull request #47372 from nextcloud/fix/filename-validator
fix: `FilenameValidator::isForbidden` should only check forbidden files
2024-08-21 13:07:33 +02:00
Ferdinand Thiessen c82b17d0a3 fix: Support Safari mobile
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-08-21 13:01:23 +02:00
Ferdinand Thiessen ec00367f30 fix: Disable auto-zoom on iOS
When using iOS and focussing an input element the view should not be zoomed.
So if we set a maximum scale iOS will not auto-zoom but still allow users to zoom.
But we can not do this by default as this will disable user zoom on Chrome.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-08-21 13:01:18 +02:00
Ferdinand Thiessen 2d0f65851e chore: Compile assets
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-08-21 12:50:59 +02:00
Ferdinand Thiessen 1331ce7e7c fix(files): Move loading icon before grid toggle
This prevents jumping of that toggle button when the view is loading.
Also adjust the design for Nextcloud 30 (prevent jumping of breadcrumbs when loading due to increased height).

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-08-21 12:47:21 +02:00
Joas Schilling c07cf51beb Merge pull request #47380 from nextcloud/bugfix/noid/make-logo-dimension-more-save
fix(theming): Make getImage() call save against missing non-SVG version
2024-08-21 12:01:44 +02:00
Joas Schilling 7fe62b9364 Merge pull request #47331 from nextcloud/skalidindi53/12351/Add-blurhash-to-richobjectstrings
fix: adding blurhash to definitions
2024-08-21 11:59:16 +02:00
provokateurin ff10f9f60f chore(deps): Update openapi-extractor to v1.0.0
Signed-off-by: provokateurin <kate@provokateurin.de>
2024-08-21 11:07:50 +02:00
Joas Schilling dbbe2bbcb7 fix(theming): Make getImage() call save against missing non-SVG version
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-08-21 10:30:25 +02:00
Andy Scherzinger cf56874cb1 Merge pull request #47365 from nextcloud/fix/share-sorting
fix(files_sharing): Sort by correct share attribute ("share with displayname")
2024-08-21 09:53:37 +02:00
Marcel Klehr c9ef3f72bc fix(TaskProcessing/ContextWrite): Fix wording "ContextWrite" -> "Context write"
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2024-08-21 08:59:46 +02:00
Ferdinand Thiessen 91573781df docs: Add information how forbidden filenames are handled on existing files.
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-08-21 04:22:13 +02:00
Ferdinand Thiessen b9cc7bcec7 fix: FilenameValidator::isForbidden should only check forbidden files
And not forbidden basenames as this is used for different purposes.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-08-21 04:16:14 +02:00
nextcloud-command d6cfcd7825 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-08-21 00:38:53 +00:00
Ferdinand Thiessen dc153f2ada fix(files_sharing): Sort by correct share attribute ("share with displayname")
There is no `title` attribute, so this causes an exception.
Instead sort by the "share with" displayname which will be the user or group the node is shared to.
Meaning this will also be the title of the share in the UI.
If this is not available or there are multiple for the same, then sort by the custom label.
If also this is not set sort by the creation time.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-08-21 02:32:02 +02:00
Nextcloud bot 1907eeea35 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-08-21 00:20:18 +00:00
Andy Scherzinger 748e267b44 Merge pull request #47358 from nextcloud/chore/noid/hub9
Bump Hub 8 -> Hub 9
2024-08-21 00:01:11 +02:00
Arthur Schiwon a3cd963264 fix(ProvisioningAPI): set typed config values by via API
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2024-08-20 23:10:09 +02:00
Andy Scherzinger e817bc6d3c Merge pull request #47356 from nextcloud/fix/add-webhook_listeners-to-shipped-apps-lists
chore: Add webhook_listeners to list of shipped apps
2024-08-20 22:52:52 +02:00
Andy Scherzinger bc4527a80d chore: Bump Hub 8 -> Hub 9
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2024-08-20 22:29:41 +02:00
John Molakvoæ 4f70998e35 Merge pull request #47351 from nextcloud/fix/build/update-apps 2024-08-20 20:55:52 +02:00
John Molakvoæ 05c9b06cdd Merge pull request #47350 from nextcloud/chore/build/remove-signed-off-checker 2024-08-20 20:55:27 +02:00
Robin Appelman 20dbb6c7e8 feat: add negative compare-and-delete to imemcache
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-08-20 19:34:28 +02:00
Joas Schilling cd0217b2bd fix(CI): Add a check that all server apps are translated
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-08-20 16:45:12 +02:00
Côme Chilliet da38ff0088 chore: Add webhook_listeners to list of shipped apps
As well as CODEOWNERS and l10n

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-08-20 16:40:16 +02:00
John Molakvoæ 307608b26c Merge pull request #47346 from nextcloud/encryption-key-copy-mountpoint 2024-08-20 16:16:08 +02:00
provokateurin 0e3ca084c4 fix(build): Allow update-apps.sh script to work with non-master branches
Signed-off-by: provokateurin <kate@provokateurin.de>
2024-08-20 15:33:00 +02:00
provokateurin acca93e793 chore(build): Remove old Drone CI signed-off checker
Signed-off-by: provokateurin <kate@provokateurin.de>
2024-08-20 15:10:49 +02:00
Robin Appelman 3756152cb1 fix: use mountpoint from storage to find the encryption keys
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-08-20 13:32:03 +02:00
Robin Appelman 1071201052 feat: store the mountpoint of storages in the mount options
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-08-20 13:31:35 +02:00
Robin Appelman 5ca9d884d7 fix: don't recalculate folder size in Cache::delete if the entry didn't exist
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-08-20 12:50:42 +02:00
Anna 560282a47b Merge pull request #47332 from nextcloud/fix/allow-renaming-of-birthday-calendars
fix(caldav): allow renaming of birthday calendars
2024-08-20 10:48:57 +02:00
Anna Larch 5bbc23a261 fix(caldav): allow renaming of birthday calendars
Signed-off-by: Anna Larch <anna@nextcloud.com>
2024-08-20 10:16:57 +02:00
Joas Schilling 3a6716895a fix: adding blurhash to definitions
Signed-off-by: skalidindi53 <s.teja2004@gmail.com>
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-08-20 08:25:24 +02:00
Nextcloud bot 2b7d9c1c9d Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-08-20 00:20:33 +00:00
F. E Noel Nfebe 3b795cde79 Merge pull request #47319 from nextcloud/fix/47056/focus-unified-search-on-open
fix(UnifiedSearch): Focus search input on open
2024-08-19 19:30:16 +01:00
nextcloud-command ecca9e1ad6 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-08-19 12:59:40 +00:00
fenn-cs cf59575120 fix(UnifiedSearch): Focus search input on open
Resolves : https://github.com/nextcloud/server/issues/47056

Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
2024-08-19 13:49:34 +01:00
Côme Chilliet ba9638eae5 Merge pull request #47291 from nextcloud/refactor/log-php-8-1
refactor(Log): Use new in initializer instead of constructor body
2024-08-19 14:12:11 +02:00
Robin Appelman 40c91aa31e Merge pull request #47182 from nextcloud/orphan-cleanup-chunk-perf
perf: improve cleanup of tags/comments
2024-08-19 13:40:01 +02:00
Nextcloud bot 551ff4955e Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-08-19 00:20:19 +00:00
Vincent FarZz c2e1c9f8dc fix: Prevent crash when refreshing metadata for files without an owner
This crash was mostly happening when using external storages and for example the command "occ memories:migrate-google-takeout"

Signed-off-by: Vincent FarZz <farcry69@live.fr>
2024-08-18 20:03:32 +02:00
John Molakvoæ 6fce6fa1d6 Merge pull request #47310 from nextcloud/automated/noid/master-fix-npm-audit 2024-08-18 13:52:36 +02:00
nextcloud-command 652c1f7b65 fix(deps): Fix npm audit
Signed-off-by: GitHub <noreply@github.com>
2024-08-18 11:33:08 +00:00
Ferdinand Thiessen 6286d3236c Merge pull request #47301 from nextcloud/dependabot/npm_and_yarn/vueuse/components-11.0.0
chore(deps): bump @vueuse/components from 10.11.0 to 11.0.0
2024-08-18 12:38:00 +02:00
dependabot[bot] 2c47285d6d chore(deps): bump @vueuse/components from 10.11.0 to 11.0.0
Bumps [@vueuse/components](https://github.com/vueuse/vueuse/tree/HEAD/packages/components) from 10.11.0 to 11.0.0.
- [Release notes](https://github.com/vueuse/vueuse/releases)
- [Commits](https://github.com/vueuse/vueuse/commits/v11.0.0/packages/components)

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

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-08-18 01:53:17 +00:00
Ferdinand Thiessen 0d9d68eea1 Merge pull request #47302 from nextcloud/dependabot/npm_and_yarn/vueuse/integrations-11.0.0
chore(deps): bump @vueuse/integrations from 10.11.0 to 11.0.0
2024-08-18 03:45:55 +02:00
Nextcloud bot e06931854a Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-08-18 00:22:56 +00:00
John Molakvoæ a7658f3ec8 Merge pull request #47300 from nextcloud/dependabot/npm_and_yarn/elliptic-6.5.7
chore(deps): bump elliptic from 6.5.6 to 6.5.7
2024-08-17 22:19:59 +02:00
dependabot[bot] 2af0eb765f chore(deps): bump elliptic from 6.5.6 to 6.5.7
Bumps [elliptic](https://github.com/indutny/elliptic) from 6.5.6 to 6.5.7.
- [Commits](https://github.com/indutny/elliptic/compare/v6.5.6...v6.5.7)

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

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-08-17 16:38:49 +00:00
Ferdinand Thiessen 2ec68b1eb9 refactor(Log): Use new in initializer instead of constructor body
PHP 8.1 allows us to now move the `new` into the initializer,
this makes the code a bit nicer (and 3 lines shorter).

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-08-17 18:38:28 +02:00
nextcloud-command 87e28b0bb7 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-08-17 16:37:58 +00:00
dependabot[bot] d6d173f74e chore(deps): bump @vueuse/integrations from 10.11.0 to 11.0.0
Bumps [@vueuse/integrations](https://github.com/vueuse/vueuse/tree/HEAD/packages/integrations) from 10.11.0 to 11.0.0.
- [Release notes](https://github.com/vueuse/vueuse/releases)
- [Commits](https://github.com/vueuse/vueuse/commits/v11.0.0/packages/integrations)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-08-17 18:30:44 +02:00
Ferdinand Thiessen 81b4ced076 Merge pull request #47287 from nextcloud/fix/files-access-owner
fix: Access node owner by top level `owner` property
2024-08-17 18:29:45 +02:00
nextcloud-command fa11a67e88 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-08-17 17:59:14 +02:00
Ferdinand Thiessen 132220a89f fix: Access node owner by top level owner property
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-08-17 17:59:10 +02:00
John Molakvoæ ad8200d963 Merge pull request #47297 from nextcloud/dependabot/npm_and_yarn/vueuse/core-11.0.0
chore(deps): bump @vueuse/core from 10.11.0 to 11.0.0
2024-08-17 12:57:00 +02:00
nextcloud-command 2dfd51cc03 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-08-17 10:18:30 +00:00
dependabot[bot] b52ab4388b chore(deps): bump @vueuse/core from 10.11.0 to 11.0.0
Bumps [@vueuse/core](https://github.com/vueuse/vueuse/tree/HEAD/packages/core) from 10.11.0 to 11.0.0.
- [Release notes](https://github.com/vueuse/vueuse/releases)
- [Commits](https://github.com/vueuse/vueuse/commits/v11.0.0/packages/core)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-08-17 12:10:25 +02:00
John Molakvoæ 09428d15a3 Merge pull request #47296 from nextcloud/dependabot/npm_and_yarn/pinia/testing-0.1.5
chore(deps-dev): bump @pinia/testing from 0.1.4 to 0.1.5
2024-08-17 10:01:11 +02:00
dependabot[bot] c0110409fc chore(deps-dev): bump @pinia/testing from 0.1.4 to 0.1.5
Bumps [@pinia/testing](https://github.com/vuejs/pinia) from 0.1.4 to 0.1.5.
- [Release notes](https://github.com/vuejs/pinia/releases)
- [Commits](https://github.com/vuejs/pinia/compare/@pinia/testing@0.1.4...@pinia/testing@0.1.5)

---
updated-dependencies:
- dependency-name: "@pinia/testing"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-08-17 01:25:24 +00:00
Nextcloud bot dcdb4bbf8a Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-08-17 00:20:22 +00:00
Julien Veyssier 8d4968168f Merge pull request #47277 from nextcloud/enh/noid/occ-bg-job-worker-max-time
[occ:bg-job:worker] Add 'stop_after' option
2024-08-17 00:28:00 +02:00
Julien Veyssier 8638f3b587 feat(occ): add 'stop_after' option to stop the worker after some time
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
2024-08-16 17:54:46 +02:00
Robin Appelman c8e09d158b Merge pull request #47038 from nextcloud/reshare-fed-share
fix: check for correct storage class when checking for link parent
2024-08-16 17:15:28 +02:00
John Molakvoæ 62f9c26111 Merge pull request #39611 from FedericoHeichou/add-command-user-welcome 2024-08-16 15:47:51 +02:00
John Molakvoæ 6fda0c15f0 fix: copyright header
Signed-off-by: John Molakvoæ <skjnldsv@users.noreply.github.com>
2024-08-16 15:25:04 +02:00
John Molakvoæ d63148ee8d Merge pull request #35867 from e-foundation/ldap-check-pwd-improvement 2024-08-16 15:17:27 +02:00
Akhil b1230cd53d Use cache in LDAP backend's checkPassword
Signed-off-by: Akhil <akhil@e.email>
2024-08-16 17:55:47 +05:30
Robin Appelman a92171260f fix: check for correct storage class when checking for link parent
fixes #39123

Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-08-16 13:13:31 +02:00
John Molakvoæ 13a72d0f0e Merge pull request #38750 from whlsxl/postgres-install-error 2024-08-16 12:58:58 +02:00
John Molakvoæ 74b8de5665 Merge pull request #47248 from nextcloud/fix/settings-styles 2024-08-16 12:51:53 +02:00
John Molakvoæ d94073de92 Merge pull request #38630 from joshtrichards/jr-readdir-false-false 2024-08-16 12:43:53 +02:00
John Molakvoæ b8b81254f3 Merge pull request #38857 from joshtrichards/jr-earlier-check-for-php-xml 2024-08-16 12:43:32 +02:00
John Molakvoæ b8dbed3e32 Merge pull request #37761 from nextcloud/invalidateTokensOnlySeenUsers 2024-08-16 12:16:58 +02:00
Josh Richards 8032b6ac63 (base) Give a hint in web interface if SimpleXML (php-xml) is missing
Fixes #2180
And prevents #31473, #23970, #18610, #15708

Avoids a 500 error and also gives a useful error message on the web interface if this module isn't installed, gets overlooked during a PHP upgrade, etc.

While we check for it later, it's too late for session.

Inspired by #17163

Signed-off-by: Josh Richards <josh.t.richards@gmail.com>
2024-08-16 11:06:21 +02:00
Hailong Wang 67c52d202c fix: use $this->tryCreateDbUser condition 2024-08-16 10:59:15 +02:00
Hailong Wang f490a4e8c0 fix: postgresql GRANT user's permission after createDatabase, ensure database exist when GRANT 2024-08-16 10:57:11 +02:00
John Molakvoæ d35c4eb911 Merge branch 'master' into jr-readdir-false-false
Signed-off-by: John Molakvoæ <skjnldsv@users.noreply.github.com>
2024-08-16 10:53:50 +02:00
Artur Neumann 84ee79fe43 fix: expect invalidateTokensOfUser only be called for seen users
Signed-off-by: Artur Neumann <artur@jankaritech.com>
2024-08-16 10:33:56 +02:00
Artur Neumann cc44ec54ad invalidate oauth2 tokens only for seen users
Signed-off-by: Artur Neumann <artur@jankaritech.com>
2024-08-16 10:33:52 +02:00
John Molakvoæ 75180a6292 Merge pull request #39692 from fsamapoor/refactor_encryption_app_commands 2024-08-16 10:24:18 +02:00
FedericoHeichou a41e2f01b7 feat: Add user:welcome command
Signed-off-by: FedericoHeichou <federicoheichou@gmail.com>
2024-08-16 10:11:29 +02:00
Faraz Samapoor 6b795da540 Uses early returns.
To improve code readability.

Signed-off-by: Faraz Samapoor <fsa@adlas.at>
2024-08-16 09:33:16 +02:00
Faraz Samapoor fc8b886295 Refactors encryption app commands.
To improve code readability.

Signed-off-by: Faraz Samapoor <fsa@adlas.at>
2024-08-16 09:33:16 +02:00
Josh Richards 71fff03e9b fix(occ): Add support for UNIX sockets to db:convert-type
Fixes #31998

Adds support to `occ db:convert-type` to support UNIX socket connections via MySQL/MariaDB. Uses same `dbhost` / `hostname` parameter parsing logic (adapted) as used elsewhere (at least the relevant parts) for consistency.

Signed-off-by: Josh Richards <josh.t.richards@gmail.com>
2024-08-16 09:04:36 +02:00
Nextcloud bot f4f7c757d4 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-08-16 00:20:07 +00:00
Joas Schilling 3dfe306724 Merge pull request #47258 from nextcloud/bugfix/noid/translated-predefined-user-status
Don't save translated predefined user status as custom status
2024-08-15 19:17:35 +02:00
Robin Appelman 0f9ea1992c perf: improve cleanup of tags/comments
delete entire chunk at once instead of one-by-one

Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-08-15 17:13:57 +02:00
Joas Schilling 15550de8ce Merge pull request #47252 from nextcloud/bugfix/noid/dont-crash-when-creating-folder
fix(adminaudit): Don't crash when creating folder
2024-08-15 15:33:49 +02:00
Joas Schilling 28e6328d65 chore(assets): Recompile assets
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-08-15 14:41:08 +02:00
Joas Schilling 50c48aa538 fix(userstatus): Don't set predefined user status as custom when changing "Clear at"
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-08-15 14:39:56 +02:00
Joas Schilling 601b3b16cb Merge pull request #47253 from nextcloud/feat/webauthn-uv
feat(webauthn): Add user verification to webauthn challenges
2024-08-15 11:50:00 +02:00
S1m 9189bc290b feat(webauthn): Add user verification to webauthn challenges
Require user verification if all tokens are registered
with UV flag, else discourage it

Signed-off-by: S1m <git@sgougeon.fr>
Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
2024-08-15 11:03:10 +02:00
Joas Schilling 774427a03a fix(adminaudit): Don't crash when creating folder
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-08-15 10:00:22 +02:00
Nextcloud bot e218d1f98e Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-08-15 00:25:46 +00:00
Ferdinand Thiessen d025c55193 chore: Compile assets
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-08-15 02:05:02 +02:00
Ferdinand Thiessen d0a0be9959 fix: Adjust legacy CSS styles for new Nextcloud 30 design
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-08-15 02:04:51 +02:00
Ferdinand Thiessen 2c24c3c469 Merge pull request #47240 from nextcloud/fix/webauth-credentials-length
fix(webauthn): Increase database column for public key id
2024-08-15 00:19:55 +02:00
Ferdinand Thiessen b582630715 fix(webauthn): Increase database column for public key id
* Resolves https://github.com/nextcloud/server/issues/34476

There is no maximum length defined in the standard,
most common the length is between 128 and 200 characters,
but as we store it not in plain data but base64 encoded the length can grow about 1/3.

We had a regression with 'Nitrokey 3' which created IDs with 196 byte length -> 262 bytes encoded base64.
So to be save we increase the size to 512 bytes.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-08-14 22:12:54 +02:00
Ferdinand Thiessen fb90e7e2cf Merge pull request #47203 from nextcloud/fix/app-menu-hover
fix(AppMenu): Prevent menu entries from jumping on hover
2024-08-14 16:56:37 +02:00
dependabot[bot] 0f10cabf2a Merge pull request #47225 from nextcloud/dependabot/npm_and_yarn/is-svg-5.1.0 2024-08-14 12:35:06 +00:00
Ferdinand Thiessen 44705abacb chore: Compile assets
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-08-14 12:24:31 +02:00
Ferdinand Thiessen 21c30e5259 fix(AppMenu): Prevent menu entries from jumping on hover
Only grow and shrink app menu entry if needed

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-08-14 12:22:15 +02:00
dependabot[bot] ded69c0ed2 chore(deps): bump actions/upload-artifact in the github-actions group
Bumps the github-actions group with 1 update: [actions/upload-artifact](https://github.com/actions/upload-artifact).


Updates `actions/upload-artifact` from 4.3.4 to 4.3.6
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](https://github.com/actions/upload-artifact/compare/0b2256b8c012f0828dc542b3febcab082c67f72b...834a144ee995460fba8ed112a2fc961b36a5ec5a)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: github-actions
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-08-14 09:40:02 +00:00
dependabot[bot] a7eb156130 chore(deps): bump is-svg from 5.0.1 to 5.1.0
Bumps [is-svg](https://github.com/sindresorhus/is-svg) from 5.0.1 to 5.1.0.
- [Release notes](https://github.com/sindresorhus/is-svg/releases)
- [Commits](https://github.com/sindresorhus/is-svg/compare/v5.0.1...v5.1.0)

---
updated-dependencies:
- dependency-name: is-svg
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-08-14 09:33:21 +00:00
John Molakvoæ effbc44756 Merge pull request #47212 from nextcloud/chore/master-is-now-31 2024-08-14 11:29:57 +02:00
Joas Schilling 9d446d566b fix(3rdparty): Update 3rdparty after dependabot changes
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-08-14 10:28:31 +02:00
Joas Schilling 71bfa5b574 chore(assets): Recompile assets
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-08-14 10:07:48 +02:00
Joas Schilling eb365438d6 feat(branchoff): Bump versions and requirements in apps
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-08-14 10:03:30 +02:00
Joas Schilling 7b53a85bb6 feat(release)!: Bump Server version to 31
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-08-14 09:58:57 +02:00
Joas Schilling 04944aaa23 fix(security): Update expiration date in security.txt
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-08-14 09:58:02 +02:00
Joas Schilling 31b74bc671 fix(CI)!: Add stable30 to and remove stable27 from GitHub Actions
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-08-14 09:56:47 +02:00
Git'Fellow 2156a927a3 fix: lint
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
2024-08-09 22:47:32 +02:00
Git'Fellow c6be80a75d fix(jobs): Swicth to executeStatement() while deleting rows
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
2024-08-09 22:38:33 +02:00
MichaIng 89cd3b4f88 feat(cache): CLI should not fail if APCu is not available
but fallback to NullCache. This can be the case if APCu is used without apc.enable_cli=1. APCu however runs within the PHP instance and hence cannot be shared between CLI and web or used as distributed cache. The CLI call can hence only create or invalidate entries for itself. For short-living CLI calls, this is theoretically a downsides regarding performance and resource usage, and Nextcloud must not have any issues using the dummy NullCache instead of an isolated freshly created and destroyed APCu instance.

This partly reverts https://github.com/nextcloud/server/pull/25770. The fallback was removed, because CLI calls started to hang after https://github.com/nextcloud/server/pull/25440. The reason however was not that a cache is generally required for CLI calls, but because the previously logged warning invoked the user backend, which invoked again the caching backend, causing a loop.

This commit re-adds the fallback without logging a warning, and for APCu only. For mentioned reasons, it is okay to fallback to NullCache silently. If Redis or memcached are configured but not available, then the web UI would fail as well, and it makes sense to abort and inform CLI calls as well then.

The motivation is to make apc.enable_cli=1 optional, and that hence the documentation about it can be removed. We should not enforce admins to enable APCu for CLI calls, which is reasonably disabled by default. This also reduces requirements for hosting providers to support Nextcloud.

Signed-off-by: MichaIng <micha@dietpi.com>
2024-08-01 10:02:44 +02:00
Josh Richards 34a9e48827 fix: switch from explode to substr (faster)
Signed-off-by: Josh Richards <josh.t.richards@gmail.com>
2024-07-08 16:41:58 -04:00
Josh Richards 2ffff51461 fix(config): add envCache tests for getKeys()
Signed-off-by: Josh Richards <josh.t.richards@gmail.com>
2024-07-08 16:41:58 -04:00
Josh Richards 62192ca57a fix(config): Add missing handling for envCache in getKeys()
NC_ env variable overrides were not appearing in
the output of `occ config:list system` nor `occ
config:system:get xxx`. This was creating nearly
impossible to diagnose configuration/ behavior
disprepancies.

- Refactored readData() so that we aren't saving
  the entire environment in the envCache anymore
  (only those prefixed "NC_") and so that we save
  NC_ provided config values under their real
  key.
- Refactored getValue() to accommodate readData()
  refactor
- Fixed getKeys() to properly return
  envCache keys too

Environment provided config variables now appear
in `occ config:list system` as expected.

Environment provided config variables now appear
when queried via `occ config:system:get KEY`

envCache is now free of non-NC stuff.

Signed-off-by: Josh Richards <josh.t.richards@gmail.com>
2024-07-08 16:41:58 -04:00
Marcel Klehr 224779c33f fix(TaskProcessingApiController): Don't use + to merge non-assoc. arrays
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2024-07-01 18:46:59 +02:00
HelloDarkness 5d91487eae Update config.sample.php
Comments to clarify the purpose of session_keepalive.
Fixes issue in Nextcloud Documentation (https://github.com/nextcloud/documentation/issues/7244)

Signed-off-by: HelloDarkness <111370255+hellodarkness@users.noreply.github.com>
2024-01-06 15:20:05 +00:00
Josh Richards e7cbaf3ee3 Clean-up some remaining readdir calls with undesirable false evaluation potential
Signed-off-by: Josh Richards <josh.t.richards@gmail.com>
2023-06-24 15:37:06 +02:00
7110 changed files with 174236 additions and 178328 deletions
+17
View File
@@ -0,0 +1,17 @@
# .git-blame-ignore-revs
# SPDX-FileCopyrightText: 2024 Nextcloud GmbH and Nextcloud contributors
# SPDX-License-Identifier: AGPL-3.0-or-later
# Format control structures
caff1023ea72bb2ea94130e18a2a6e2ccf819e5f
# Update to coding-standard 1.1.1
aa5f037af71c915424c6dcfd5ad2dc82797dc0d6
# Update to coding-standard 1.2.3
af6de04e9e141466dc229e444ff3f146f4a34765
0bd284cb81b6866338aaaa67aa1d81ef9bfbb2ab
8af7ecb2576071f170ecbb0aa2311b26581e40e2
# Update to coding-standard 1.3.1
9836e9b16484582d309c8437ab46d82e34956941
# Automated refactorings
49dd79eabb2b8902559a7a4e8f8fcad54f46b604
+20 -11
View File
@@ -2,14 +2,18 @@
/apps/admin_audit/appinfo/info.xml @luka-nextcloud @blizzz
/apps/cloud_federation_api/appinfo/info.xml @mejo-
/apps/comments/appinfo/info.xml @edward-ly @Pytal
/apps/contactsinteraction/appinfo/info.xml @kesselb @miaulalala @ChristophWurst @GretaD @hamza221 @st3iny
/apps/dashboard/appinfo/info.xml @julien-nc @juliushaertl
/apps/dav/lib/CalDAV @ChristophWurst @miaulalala @tcitworld
/apps/dav/lib/CardDAV @ChristophWurst @miaulalala @tcitworld
/apps/contactsinteraction/appinfo/info.xml @kesselb @SebastianKrupinski
/apps/contactsinteraction/lib @kesselb @SebastianKrupinski
/apps/contactsinteraction/tests @kesselb @SebastianKrupinski
/apps/dashboard/appinfo/info.xml @julien-nc @juliusknorr
/apps/dav/lib/CalDAV @st3iny @SebastianKrupinski @tcitworld
/apps/dav/lib/CardDAV @hamza221 @SebastianKrupinski
/apps/dav/tests/unit/CalDAV @st3iny @SebastianKrupinski @tcitworld
/apps/dav/tests/unit/CardDAV @hamza221 @SebastianKrupinski
/apps/encryption/appinfo/info.xml @come-nc @icewind1991
/apps/federatedfilesharing/appinfo/info.xml @icewind1991 @danxuliu
/apps/federation/appinfo/info.xml @datenangebot
/apps/files/appinfo/info.xml @skjnldsv @Pytal @ArtificialOwl @come-nc @artonge @icewind1991 @szaimen @susnux @Fenn-CS
/apps/federation/appinfo/info.xml @nfebe
/apps/files/appinfo/info.xml @skjnldsv @Pytal @ArtificialOwl @come-nc @artonge @icewind1991 @szaimen @susnux @nfebe
/apps/files_external/appinfo/info.xml @icewind1991 @artonge
/apps/files_reminders/appinfo/info.xml @Pytal
/apps/files_sharing/appinfo/info.xml @skjnldsv @come-nc
@@ -20,13 +24,14 @@
/apps/settings/appinfo/info.xml @Pytal @JuliaKirschenheuter
/apps/sharebymail/appinfo/info.xml @Altahrim
/apps/systemtags/appinfo/info.xml @Antreesy @marcelklehr
/apps/theming/appinfo/info.xml @skjnldsv @juliushaertl
/apps/theming/appinfo/info.xml @skjnldsv @juliusknorr
/apps/twofactor_backupcodes/appinfo/info.xml @st3iny @miaulalala @ChristophWurst
/apps/updatenotification/appinfo/info.xml @Pytal @JuliaKirschenheuter
/apps/user_ldap/appinfo/info.xml @come-nc @blizzz
/apps/user_status/appinfo/info.xml @Antreesy @nickvergessen
/apps/weather_status/appinfo/info.xml @julien-nc @juliushaertl
/apps/workflowengine/appinfo/info.xml @blizzz @juliushaertl
/apps/weather_status/appinfo/info.xml @julien-nc @juliusknorr
/apps/webhook_listeners/appinfo/info.xml @come-nc @julien-nc
/apps/workflowengine/appinfo/info.xml @blizzz @juliusknorr
# Frontend expertise
/apps/files/src* @skjnldsv
@@ -36,9 +41,9 @@
/apps/files_trashbin/src* @skjnldsv
# Security team
/build/psalm-baseline-security.xml @nickvergessen
/resources/codesigning @mgallien @miaulalala @nickvergessen
/resources/config/ca-bundle.crt @ChristophWurst @miaulalala @nickvergessen
/.drone.yml @nickvergessen
/resources/config/ca-bundle.crt @miaulalala @nickvergessen
# Two-Factor Authentication
# https://github.com/nextcloud/wg-two-factor-authentication#members
@@ -64,6 +69,10 @@ ResponseDefinitions.php @provokateurin
/lib/public/Talk @nickvergessen
/lib/public/UserStatus @nickvergessen
# Groupware
/build/integration/dav_features/caldav.feature @st3iny @SebastianKrupinski
/build/integration/dav_features/carddav.feature @st3iny @SebastianKrupinski
# Personal interest
*/Activity/* @nickvergessen
*/Notifications/* @nickvergessen
+1 -1
View File
@@ -48,7 +48,7 @@ In some areas unit testing is hard (aka almost impossible) as of today - in thes
### Sign your work
We use the Developer Certificate of Origin (DCO) as a additional safeguard
We use the Developer Certificate of Origin (DCO) as an additional safeguard
for the Nextcloud project. This is a well established and widely used
mechanism to assure contributors have confirmed their right to license
their contribution under the project's license.
+11 -26
View File
@@ -62,22 +62,6 @@ body:
description: Describe what you expected to happen instead.
validations:
required: true
- type: dropdown
id: install-method
attributes:
label: Installation method
description: |
Select installation method you've used.
_Describe the method in the "Additional info" section if you chose "Other"._
options:
- "Community Web installer on a VPS or web space"
- "Community Manual installation with Archive"
- "Community Docker image"
- "Community NextcloudPi appliance"
- "Community SNAP package"
- "Community VM appliance"
- "Other Community project"
- "Official All-in-One appliance"
- type: dropdown
id: nextcloud-version
attributes:
@@ -86,8 +70,9 @@ body:
Select Nextcloud Server version.
_Versions not listed here are not maintained and not supported anymore_
options:
- "28"
- "29"
- "30"
- "31"
- "master"
validations:
required: true
@@ -110,10 +95,10 @@ body:
Select PHP engine version serving Nextcloud Server.
_Describe in the "Additional info" section if you chose "Other"._
options:
- "PHP 8.0"
- "PHP 8.1"
- "PHP 8.2"
- "PHP 8.4"
- "PHP 8.3"
- "PHP 8.2"
- "PHP 8.1"
- "Other"
- type: dropdown
id: webserver
@@ -147,8 +132,8 @@ body:
description: |
Select if bug is present after an update or on a fresh install.
options:
- "Updated from a MINOR version (ex. 28.0.1 to 28.0.2)"
- "Upgraded to a MAJOR version (ex. 28 to 29)"
- "Updated from a MINOR version (ex. 32.0.1 to 32.0.2)"
- "Upgraded to a MAJOR version (ex. 31 to 32)"
- "Fresh Nextcloud Server install"
- type: dropdown
id: encryption
@@ -183,7 +168,7 @@ body:
./occ config:list system
```
> NOTE: This will be automatically formatted into code for better readability.
render: shell
render: json
- type: textarea
id: apps
attributes:
@@ -215,10 +200,10 @@ body:
attributes:
label: Nextcloud Logs
description: |
Provide Nextcloud logs lines.
Copy all contents from `data/nextcloud.log` or a RAW from `/settings/admin/logging` section:
Provide relevant Nextcloud log entries (e.g. from the time period you reproduced the problem).
Copy full individual entries from `data/nextcloud.log` or use `Copy raw entry` from `/settings/admin/logging` section:
> NOTE: This will be automatically formatted into code for better readability.
render: shell
render: json
- type: textarea
id: additional-info
attributes:
+55 -4
View File
@@ -59,6 +59,20 @@ updates:
reviewers:
- "nextcloud/server-dependabot"
# phpunit
- package-ecosystem: composer
directory: "/vendor-bin/phpunit"
schedule:
interval: weekly
day: saturday
time: "04:40"
timezone: Europe/Madrid
labels:
- "3. to review"
- "feature: dependencies"
reviewers:
- "nextcloud/server-dependabot"
# Main master npm
- package-ecosystem: npm
directory: "/"
@@ -107,7 +121,7 @@ updates:
day: saturday
time: "03:00"
timezone: Europe/Paris
target-branch: stable28
target-branch: stable29
labels:
- "3. to review"
- "feature: dependencies"
@@ -126,7 +140,26 @@ updates:
day: saturday
time: "03:00"
timezone: Europe/Paris
target-branch: stable29
target-branch: stable30
labels:
- "3. to review"
- "feature: dependencies"
reviewers:
- "nextcloud/server-dependabot"
ignore:
- dependency-name: "*"
update-types: ["version-update:semver-major", "version-update:semver-minor"]
# Disable automatic rebasing because without a build CI will likely fail anyway
rebase-strategy: "disabled"
- package-ecosystem: npm
directory: "/"
schedule:
interval: weekly
day: saturday
time: "03:00"
timezone: Europe/Paris
target-branch: stable31
labels:
- "3. to review"
- "feature: dependencies"
@@ -145,7 +178,7 @@ updates:
day: saturday
time: "03:00"
timezone: Europe/Paris
target-branch: stable28
target-branch: stable29
labels:
- "3. to review"
- "feature: dependencies"
@@ -163,7 +196,25 @@ updates:
day: saturday
time: "03:00"
timezone: Europe/Paris
target-branch: stable29
target-branch: stable30
labels:
- "3. to review"
- "feature: dependencies"
reviewers:
- "nextcloud/server-dependabot"
ignore:
# ignore all GitHub linguist patch updates
- dependency-name: "*"
update-types: ["version-update:semver-major", "version-update:semver-minor", "version-update:semver-patch"]
- package-ecosystem: composer
directory: "/build/integration"
schedule:
interval: weekly
day: saturday
time: "03:00"
timezone: Europe/Paris
target-branch: stable31
labels:
- "3. to review"
- "feature: dependencies"
+4 -4
View File
@@ -45,21 +45,21 @@ jobs:
strategy:
matrix:
php-versions: ['8.3']
php-versions: ['8.1']
name: PHP checkers
steps:
- name: Checkout server
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
with:
submodules: true
- name: Set up php ${{ matrix.php-versions }}
uses: shivammathur/setup-php@c541c155eee45413f5b09a52248675b1a2575231 #v2.31.1
uses: shivammathur/setup-php@9e72090525849c5e82e596468b86eb55e9cc5401 #v2.32.0
with:
php-version: ${{ matrix.php-versions }}
extensions: ctype, json, mbstring
extensions: bz2, ctype, curl, dom, fileinfo, gd, iconv, intl, json, libxml, mbstring, openssl, pcntl, posix, session, simplexml, xmlreader, xmlwriter, zip, zlib, sqlite, pdo_sqlite
coverage: none
ini-file: development
env:
@@ -31,7 +31,7 @@ jobs:
- 'version.php'
- name: Checkout
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- name: 3rdparty commit hash on current branch
id: actual
@@ -27,7 +27,7 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- uses: webiny/action-conventional-commits@8bc41ff4e7d423d56fa4905f6ff79209a78776c7 # v1.3.0
with:
+7 -6
View File
@@ -76,7 +76,7 @@ jobs:
fi
- name: Init branch
uses: xt0rted/pull-request-comment-branch@d97294d304604fa98a2600a6e2f916a84b596dc7 # v1
uses: xt0rted/pull-request-comment-branch@e8b8daa837e8ea7331c0003c9c316a64c6d8b0b1 # v3.0.0
id: comment-branch
- name: Add reaction on failure
@@ -86,7 +86,7 @@ jobs:
token: ${{ secrets.COMMAND_BOT_PAT }}
repository: ${{ github.event.repository.full_name }}
comment-id: ${{ github.event.comment.id }}
reactions: "-1"
reactions: '-1'
process:
runs-on: ubuntu-latest
@@ -94,14 +94,15 @@ jobs:
steps:
- name: Restore cached git repository
uses: buildjet/cache@e376f15c6ec6dc595375c78633174c7e5f92dc0e # v3
uses: buildjet/cache@3e70d19e31d6a8030aeddf6ed8dbe601f94d09f4 # v4.0.2
with:
path: .git
key: git-repo
- name: Checkout ${{ needs.init.outputs.head_ref }}
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
persist-credentials: true
token: ${{ secrets.COMMAND_BOT_PAT }}
fetch-depth: 0
ref: ${{ needs.init.outputs.head_ref }}
@@ -119,7 +120,7 @@ jobs:
fallbackNpm: '^10'
- name: Set up node ${{ steps.package-engines-versions.outputs.nodeVersion }}
uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b # v3
uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af # v4.1.0
with:
node-version: ${{ steps.package-engines-versions.outputs.nodeVersion }}
cache: npm
@@ -176,4 +177,4 @@ jobs:
token: ${{ secrets.COMMAND_BOT_PAT }}
repository: ${{ github.event.repository.full_name }}
comment-id: ${{ github.event.comment.id }}
reactions: "-1"
reactions: '-1'
+2 -2
View File
@@ -34,11 +34,11 @@ jobs:
exit 1
- name: Init branch
uses: xt0rted/pull-request-comment-branch@d97294d304604fa98a2600a6e2f916a84b596dc7 # v1
uses: xt0rted/pull-request-comment-branch@e8b8daa837e8ea7331c0003c9c316a64c6d8b0b1 # v1
id: comment-branch
- name: Checkout ${{ steps.comment-branch.outputs.head_ref }}
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
with:
fetch-depth: 0
token: ${{ secrets.COMMAND_BOT_PAT }}
+23 -14
View File
@@ -29,6 +29,8 @@ jobs:
npmVersion: ${{ steps.versions.outputs.npmVersion }}
env:
# We'll install cypress in the cypress job
CYPRESS_INSTALL_BINARY: 0
PUPPETEER_SKIP_DOWNLOAD: true
steps:
@@ -39,7 +41,7 @@ jobs:
exit 1
- name: Checkout server
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
# We need to checkout submodules for 3rdparty
submodules: true
@@ -62,7 +64,7 @@ jobs:
fallbackNpm: "^10"
- name: Set up node ${{ steps.versions.outputs.nodeVersion }}
uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b # v4.0.3
uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af # v4.1.0
with:
node-version: ${{ steps.versions.outputs.nodeVersion }}
@@ -78,7 +80,7 @@ jobs:
run: npm run cypress:version
- name: Save context
uses: buildjet/cache/save@e376f15c6ec6dc595375c78633174c7e5f92dc0e # v3
uses: buildjet/cache/save@v4
with:
key: cypress-context-${{ github.run_id }}
path: ./
@@ -101,23 +103,28 @@ jobs:
steps:
- name: Restore context
uses: buildjet/cache/restore@e376f15c6ec6dc595375c78633174c7e5f92dc0e # v3
uses: buildjet/cache/restore@v4
with:
fail-on-cache-miss: true
key: cypress-context-${{ github.run_id }}
path: ./
- name: Set up node ${{ needs.init.outputs.nodeVersion }}
uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b # v4.0.3
uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af # v4.1.0
with:
node-version: ${{ needs.init.outputs.nodeVersion }}
- name: Set up npm ${{ needs.init.outputs.npmVersion }}
run: npm i -g 'npm@${{ needs.init.outputs.npmVersion }}'
- name: Install cypress
run: ./node_modules/cypress/bin/cypress install
- name: Run ${{ matrix.containers == 'component' && 'component' || 'E2E' }} cypress tests
uses: cypress-io/github-action@df7484c5ba85def7eef30db301afa688187bc378 # v6.7.2
uses: cypress-io/github-action@7271bed2a170d73c0b08939cd192db51a1c46c50 # v6.7.10
with:
# We already installed the dependencies in the init job
install: false
component: ${{ matrix.containers == 'component' }}
group: ${{ matrix.use-cypress-cloud && matrix.containers == 'component' && 'Run component' || matrix.use-cypress-cloud && 'Run E2E' || '' }}
# cypress env
@@ -135,19 +142,21 @@ jobs:
SPLIT: ${{ matrix.total-containers }}
SPLIT_INDEX: ${{ matrix.containers == 'component' && 0 || matrix.containers }}
- name: Upload snapshots
uses: actions/upload-artifact@0b2256b8c012f0828dc542b3febcab082c67f72b # v4.3.4
- name: Upload snapshots and videos
uses: actions/upload-artifact@65c4c4a1ddee5b72f698fdd19549f0f0fb45cf08 # v4.6.0
if: always()
with:
name: snapshots_${{ matrix.containers }}
path: cypress/snapshots
name: snapshots_videos_${{ matrix.containers }}
path: |
cypress/snapshots
cypress/videos
- name: Extract NC logs
if: failure() && matrix.containers != 'component'
run: docker logs nextcloud-cypress-tests-${{ env.APP_NAME }} > nextcloud.log
run: docker logs nextcloud-cypress-tests_${{ env.APP_NAME }} > nextcloud.log
- name: Upload NC logs
uses: actions/upload-artifact@0b2256b8c012f0828dc542b3febcab082c67f72b # v4.3.4
uses: actions/upload-artifact@65c4c4a1ddee5b72f698fdd19549f0f0fb45cf08 # v4.6.0
if: failure() && matrix.containers != 'component'
with:
name: nc_logs_${{ matrix.containers }}
@@ -155,10 +164,10 @@ jobs:
- name: Create data dir archive
if: failure() && matrix.containers != 'component'
run: docker exec nextcloud-cypress-tests-server tar -cvjf - data > data.tar
run: docker exec nextcloud-cypress-tests_${{ env.APP_NAME }} tar -cvjf - data > data.tar
- name: Upload data dir archive
uses: actions/upload-artifact@0b2256b8c012f0828dc542b3febcab082c67f72b # v4.3.4
uses: actions/upload-artifact@65c4c4a1ddee5b72f698fdd19549f0f0fb45cf08 # v4.6.0
if: failure() && matrix.containers != 'component'
with:
name: nc_data_${{ matrix.containers }}
+5 -5
View File
@@ -43,7 +43,7 @@ jobs:
# do not stop on another job's failure
fail-fast: false
matrix:
php-versions: ['8.1', '8.3']
php-versions: ['8.1', '8.4']
ftpd: ['proftpd', 'vsftpd', 'pure-ftpd']
include:
- php-versions: '8.1'
@@ -53,7 +53,7 @@ jobs:
steps:
- name: Checkout server
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
with:
submodules: true
@@ -68,11 +68,11 @@ jobs:
if [[ "${{ matrix.ftpd }}" == 'pure-ftpd' ]]; then docker run --name ftp -d --net host -e "PUBLICHOST=localhost" -e FTP_USER_NAME=test -e FTP_USER_PASS=test -e FTP_USER_HOME=/home/test -v /tmp/ftp:/home/test -v /tmp/ftp:/etc/pure-ftpd/passwd stilliard/pure-ftpd; fi
- name: Set up php ${{ matrix.php-versions }}
uses: shivammathur/setup-php@c541c155eee45413f5b09a52248675b1a2575231 #v2.31.1
uses: shivammathur/setup-php@9e72090525849c5e82e596468b86eb55e9cc5401 #v2.32.0
with:
php-version: ${{ matrix.php-versions }}
# https://docs.nextcloud.com/server/stable/admin_manual/installation/source_installation.html#prerequisites-for-manual-installation
extensions: ctype, curl, dom, fileinfo, gd, iconv, intl, json, libxml, mbstring, openssl, pcntl, posix, redis, session, simplexml, xmlreader, xmlwriter, zip, zlib, sqlite, pdo_sqlite
extensions: bz2, ctype, curl, dom, fileinfo, gd, iconv, intl, json, libxml, mbstring, openssl, pcntl, posix, redis, session, simplexml, xmlreader, xmlwriter, zip, zlib, sqlite, pdo_sqlite
coverage: ${{ matrix.coverage && 'xdebug' || 'none' }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
@@ -100,7 +100,7 @@ jobs:
- name: Upload code coverage
if: ${{ !cancelled() && matrix.coverage }}
uses: codecov/codecov-action@v4.5.0
uses: codecov/codecov-action@v5.3.1
with:
files: ./clover.xml
flags: phpunit-files-external-ftp
+7 -7
View File
@@ -41,7 +41,7 @@ jobs:
strategy:
matrix:
php-versions: ['8.1', '8.2', '8.3']
php-versions: ['8.1', '8.2', '8.3', '8.4']
include:
- php-versions: '8.2'
coverage: ${{ github.event_name != 'pull_request' }}
@@ -60,12 +60,12 @@ jobs:
steps:
- name: Checkout server
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
with:
submodules: true
- name: Set up php ${{ matrix.php-versions }}
uses: shivammathur/setup-php@c541c155eee45413f5b09a52248675b1a2575231 #v2.31.1
uses: shivammathur/setup-php@9e72090525849c5e82e596468b86eb55e9cc5401 #v2.32.0
with:
php-version: ${{ matrix.php-versions }}
# https://docs.nextcloud.com/server/stable/admin_manual/installation/source_installation.html#prerequisites-for-manual-installation
@@ -98,7 +98,7 @@ jobs:
- name: Upload code coverage
if: ${{ !cancelled() && matrix.coverage }}
uses: codecov/codecov-action@v4.5.0
uses: codecov/codecov-action@v5.3.1
with:
files: ./clover.xml
flags: phpunit-files-external-s3
@@ -135,12 +135,12 @@ jobs:
steps:
- name: Checkout server
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
with:
submodules: true
- name: Set up php ${{ matrix.php-versions }}
uses: shivammathur/setup-php@c541c155eee45413f5b09a52248675b1a2575231 #v2.31.1
uses: shivammathur/setup-php@9e72090525849c5e82e596468b86eb55e9cc5401 #v2.32.0
with:
php-version: ${{ matrix.php-versions }}
# https://docs.nextcloud.com/server/stable/admin_manual/installation/source_installation.html#prerequisites-for-manual-installation
@@ -165,7 +165,7 @@ jobs:
- name: Upload code coverage
if: ${{ !cancelled() && matrix.coverage }}
uses: codecov/codecov-action@v4.5.0
uses: codecov/codecov-action@v5.3.1
with:
files: ./clover.xml
flags: phpunit-files-external-s3
+5 -5
View File
@@ -43,7 +43,7 @@ jobs:
# do not stop on another job's failure
fail-fast: false
matrix:
php-versions: ['8.1', '8.3']
php-versions: ['8.1', '8.4']
sftpd: ['openssh']
include:
- php-versions: '8.1'
@@ -53,7 +53,7 @@ jobs:
steps:
- name: Checkout server
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
with:
submodules: true
@@ -64,11 +64,11 @@ jobs:
if [[ '${{ matrix.sftpd }}' == 'openssh' ]]; then docker run -p 2222:22 --name sftp -d -v /tmp/sftp:/home/test atmoz/sftp 'test:test:::data'; fi
- name: Set up php ${{ matrix.php-versions }}
uses: shivammathur/setup-php@c541c155eee45413f5b09a52248675b1a2575231 #v2.31.1
uses: shivammathur/setup-php@9e72090525849c5e82e596468b86eb55e9cc5401 #v2.32.0
with:
php-version: ${{ matrix.php-versions }}
# https://docs.nextcloud.com/server/stable/admin_manual/installation/source_installation.html#prerequisites-for-manual-installation
extensions: ctype, curl, dom, fileinfo, gd, iconv, intl, json, libxml, mbstring, openssl, pcntl, posix, redis, session, simplexml, xmlreader, xmlwriter, zip, zlib, sqlite, pdo_sqlite
extensions: bz2, ctype, curl, dom, fileinfo, gd, iconv, intl, json, libxml, mbstring, openssl, pcntl, posix, redis, session, simplexml, xmlreader, xmlwriter, zip, zlib, sqlite, pdo_sqlite
coverage: ${{ matrix.coverage && 'xdebug' || 'none' }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
@@ -89,7 +89,7 @@ jobs:
- name: Upload code coverage
if: ${{ !cancelled() && matrix.coverage }}
uses: codecov/codecov-action@v4.5.0
uses: codecov/codecov-action@v5.3.1
with:
files: ./clover.xml
flags: phpunit-files-external-sftp
@@ -34,7 +34,7 @@ jobs:
- '**.php'
files-external-smb-kerberos:
runs-on: ubuntu-22.04
runs-on: ubuntu-latest
needs: changes
if: ${{ github.repository_owner != 'nextcloud-gmbh' && needs.changes.outputs.src != 'false' }}
@@ -43,16 +43,22 @@ jobs:
steps:
- name: Checkout server
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
with:
submodules: true
- name: Checkout user_saml
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
with:
repository: nextcloud/user_saml
path: apps/user_saml
- name: Install user_saml
run: |
cd apps/user_saml
composer i
cd ../..
- name: Pull images
run: |
docker pull ghcr.io/icewind1991/samba-krb-test-dc
+5 -5
View File
@@ -41,7 +41,7 @@ jobs:
strategy:
matrix:
php-versions: ['8.1', '8.3']
php-versions: ['8.1']
include:
- php-versions: '8.1'
coverage: ${{ github.event_name != 'pull_request' }}
@@ -56,16 +56,16 @@ jobs:
steps:
- name: Checkout server
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
with:
submodules: true
- name: Set up php ${{ matrix.php-versions }}
uses: shivammathur/setup-php@c541c155eee45413f5b09a52248675b1a2575231 #v2.31.1
uses: shivammathur/setup-php@9e72090525849c5e82e596468b86eb55e9cc5401 #v2.32.0
with:
php-version: ${{ matrix.php-versions }}
# https://docs.nextcloud.com/server/stable/admin_manual/installation/source_installation.html#prerequisites-for-manual-installation
extensions: ctype, curl, dom, fileinfo, gd, iconv, intl, json, libxml, mbstring, openssl, pcntl, posix, redis, session, simplexml, xmlreader, xmlwriter, zip, zlib, smbclient, sqlite, pdo_sqlite
extensions: bz2, ctype, curl, dom, fileinfo, gd, iconv, intl, json, libxml, mbstring, openssl, pcntl, posix, redis, session, simplexml, xmlreader, xmlwriter, zip, zlib, smbclient, sqlite, pdo_sqlite
coverage: ${{ matrix.coverage && 'xdebug' || 'none' }}
ini-file: development
env:
@@ -94,7 +94,7 @@ jobs:
- name: Upload code coverage
if: ${{ !cancelled() && matrix.coverage }}
uses: codecov/codecov-action@922d8d7b314a529f2be903c1e79ee8283c492863 # v4.1.1
uses: codecov/codecov-action@13ce06bfc6bbe3ecf90edbbf1bc32fe5978ca1d3 # v4.1.1
with:
files: ./clover.xml
flags: phpunit-files-external-smb
+4 -4
View File
@@ -41,7 +41,7 @@ jobs:
strategy:
matrix:
php-versions: ['8.1', '8.2', '8.3']
php-versions: ['8.1', '8.2', '8.3', '8.4']
include:
- php-versions: '8.2'
coverage: ${{ github.event_name != 'pull_request' }}
@@ -56,12 +56,12 @@ jobs:
steps:
- name: Checkout server
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
with:
submodules: true
- name: Set up php ${{ matrix.php-versions }}
uses: shivammathur/setup-php@c541c155eee45413f5b09a52248675b1a2575231 #v2.31.1
uses: shivammathur/setup-php@9e72090525849c5e82e596468b86eb55e9cc5401 #v2.32.0
with:
php-version: ${{ matrix.php-versions }}
# https://docs.nextcloud.com/server/stable/admin_manual/installation/source_installation.html#prerequisites-for-manual-installation
@@ -91,7 +91,7 @@ jobs:
- name: Upload code coverage
if: ${{ !cancelled() && matrix.coverage }}
uses: codecov/codecov-action@922d8d7b314a529f2be903c1e79ee8283c492863 # v4.1.1
uses: codecov/codecov-action@13ce06bfc6bbe3ecf90edbbf1bc32fe5978ca1d3 # v4.1.1
with:
files: ./clover.xml
flags: phpunit-files-external-webdav
+5 -5
View File
@@ -40,7 +40,7 @@ jobs:
strategy:
matrix:
php-versions: ['8.1', '8.2', '8.3']
php-versions: ['8.1', '8.2', '8.3', '8.4']
include:
- php-versions: '8.2'
coverage: ${{ github.event_name != 'pull_request' }}
@@ -49,12 +49,12 @@ jobs:
steps:
- name: Checkout server
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
with:
submodules: true
- name: Set up php ${{ matrix.php-versions }}
uses: shivammathur/setup-php@c541c155eee45413f5b09a52248675b1a2575231 #v2.31.1
uses: shivammathur/setup-php@9e72090525849c5e82e596468b86eb55e9cc5401 #v2.32.0
with:
php-version: ${{ matrix.php-versions }}
# https://docs.nextcloud.com/server/stable/admin_manual/installation/source_installation.html#prerequisites-for-manual-installation
@@ -74,12 +74,12 @@ jobs:
./occ app:enable --force files_external
- name: PHPUnit
run: composer run test:files_external \
run: composer run test:files_external -- \
${{ matrix.coverage && ' --coverage-clover ./clover.xml' || '' }}
- name: Upload code coverage
if: ${{ !cancelled() && matrix.coverage }}
uses: codecov/codecov-action@v4.5.0
uses: codecov/codecov-action@v5.3.1
with:
files: ./clover.xml
flags: phpunit-files-external-generic
+5 -5
View File
@@ -43,7 +43,7 @@ jobs:
# do not stop on another job's failure
fail-fast: false
matrix:
php-versions: ['8.3']
php-versions: ['8.1']
endpoint: ['old', 'new']
service: ['CalDAV', 'CardDAV']
@@ -51,12 +51,12 @@ jobs:
steps:
- name: Checkout server
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
with:
submodules: true
- name: Set up php ${{ matrix.php-versions }}
uses: shivammathur/setup-php@c541c155eee45413f5b09a52248675b1a2575231 #v2.31.1
uses: shivammathur/setup-php@9e72090525849c5e82e596468b86eb55e9cc5401 #v2.32.0
with:
php-version: ${{ matrix.php-versions }}
# https://docs.nextcloud.com/server/stable/admin_manual/installation/source_installation.html#prerequisites-for-manual-installation
@@ -99,9 +99,9 @@ jobs:
- name: Run CalDAVTester
run: |
cp "apps/dav/tests/travis/caldavtest/serverinfo-${{ matrix.endpoint }}${{ matrix.endpoint == 'old' && (matrix.service == 'CardDAV' && '-carddav' || '-caldav') || '' }}-endpoint.xml" "apps/dav/tests/travis/caldavtest/serverinfo.xml"
cp "apps/dav/tests/testsuits/caldavtest/serverinfo-${{ matrix.endpoint }}${{ matrix.endpoint == 'old' && (matrix.service == 'CardDAV' && '-carddav' || '-caldav') || '' }}-endpoint.xml" "apps/dav/tests/testsuits/caldavtest/serverinfo.xml"
pushd CalDAVTester
PYTHONPATH="../pycalendar/src" python testcaldav.py --print-details-onfail --basedir "../apps/dav/tests/travis/caldavtest" -o cdt.txt \
PYTHONPATH="../pycalendar/src" python testcaldav.py --print-details-onfail --basedir "../apps/dav/tests/testsuits/caldavtest" -o cdt.txt \
"${{ matrix.service }}/current-user-principal.xml" \
"${{ matrix.service }}/sync-report.xml" \
${{ matrix.endpoint == 'new' && format('{0}/sharing-{1}.xml', matrix.service, matrix.service == 'CalDAV' && 'calendars' || 'addressbooks') || ';' }}
+3 -3
View File
@@ -43,19 +43,19 @@ jobs:
# do not stop on another job's failure
fail-fast: false
matrix:
php-versions: ['8.3']
php-versions: ['8.1']
endpoint: ['webdav', 'dav']
name: Litmus WebDAV ${{ matrix.endpoint }}
steps:
- name: Checkout server
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
with:
submodules: true
- name: Set up php ${{ matrix.php-versions }}
uses: shivammathur/setup-php@c541c155eee45413f5b09a52248675b1a2575231 #v2.31.1
uses: shivammathur/setup-php@9e72090525849c5e82e596468b86eb55e9cc5401 #v2.32.0
with:
php-version: ${{ matrix.php-versions }}
# https://docs.nextcloud.com/server/stable/admin_manual/installation/source_installation.html#prerequisites-for-manual-installation
+2 -2
View File
@@ -65,12 +65,12 @@ jobs:
steps:
- name: Checkout server
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
with:
submodules: true
- name: Set up php ${{ matrix.php-versions }}
uses: shivammathur/setup-php@c541c155eee45413f5b09a52248675b1a2575231 #v2.31.1
uses: shivammathur/setup-php@9e72090525849c5e82e596468b86eb55e9cc5401 #v2.32.0
with:
php-version: ${{ matrix.php-versions }}
# https://docs.nextcloud.com/server/stable/admin_manual/installation/source_installation.html#prerequisites-for-manual-installation
+6 -4
View File
@@ -41,6 +41,7 @@ jobs:
- '.php-cs-fixer.dist.php'
- 'composer.json'
- 'composer.lock'
- 'core/shipped.json'
integration-sqlite:
runs-on: ubuntu-latest
@@ -60,6 +61,7 @@ jobs:
- 'federation_features'
- '--tags ~@large files_features'
- 'filesdrop_features'
- 'file_conversions'
- 'openldap_features'
- 'openldap_numerical_features'
- 'ldap_features'
@@ -69,7 +71,7 @@ jobs:
- 'sharing_features'
- 'videoverification_features'
php-versions: ['8.2']
php-versions: ['8.1']
spreed-versions: ['main']
services:
@@ -90,20 +92,20 @@ jobs:
steps:
- name: Checkout server
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
submodules: true
- name: Checkout Talk app
if: ${{ matrix.test-suite == 'videoverification_features' }}
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
repository: nextcloud/spreed
path: apps/spreed
ref: ${{ matrix.spreed-versions }}
- name: Set up php ${{ matrix.php-versions }}
uses: shivammathur/setup-php@c541c155eee45413f5b09a52248675b1a2575231 #v2.31.1
uses: shivammathur/setup-php@9e72090525849c5e82e596468b86eb55e9cc5401 #v2.32.0
with:
php-version: ${{ matrix.php-versions }}
# https://docs.nextcloud.com/server/stable/admin_manual/installation/source_installation.html#prerequisites-for-manual-installation
+2 -2
View File
@@ -53,7 +53,7 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- name: Read package.json node and npm engines version
uses: skjnldsv/read-package-engines-version-actions@06d6baf7d8f41934ab630e97d9e6c0bc9c9ac5e4 # v3
@@ -63,7 +63,7 @@ jobs:
fallbackNpm: '^10'
- name: Set up node ${{ steps.versions.outputs.nodeVersion }}
uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b # v3
uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af # v3
with:
node-version: ${{ steps.versions.outputs.nodeVersion }}
+2 -2
View File
@@ -48,10 +48,10 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- name: Set up php8.1
uses: shivammathur/setup-php@c541c155eee45413f5b09a52248675b1a2575231 #v2.31.1
uses: shivammathur/setup-php@9e72090525849c5e82e596468b86eb55e9cc5401 #v2.32.0
with:
php-version: 8.1
extensions: bz2, ctype, curl, dom, fileinfo, gd, iconv, intl, json, libxml, mbstring, openssl, pcntl, posix, session, simplexml, xmlreader, xmlwriter, zip, zlib, sqlite, pdo_sqlite
+3 -3
View File
@@ -47,16 +47,16 @@ jobs:
strategy:
matrix:
php-versions: [ '8.1', '8.2', '8.3' ]
php-versions: [ '8.1', '8.2', '8.3', '8.4' ]
name: php-lint
steps:
- name: Checkout
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- name: Set up php ${{ matrix.php-versions }}
uses: shivammathur/setup-php@c541c155eee45413f5b09a52248675b1a2575231 #v2.31.1
uses: shivammathur/setup-php@9e72090525849c5e82e596468b86eb55e9cc5401 #v2.32.0
with:
php-version: ${{ matrix.php-versions }}
coverage: none
+51
View File
@@ -0,0 +1,51 @@
# This workflow is provided via the organization template repository
#
# https://github.com/nextcloud/.github
# https://docs.github.com/en/actions/learn-github-actions/sharing-workflows-with-your-organization
#
# SPDX-FileCopyrightText: 2021-2024 Nextcloud GmbH and Nextcloud contributors
# SPDX-License-Identifier: MIT
name: Lint stylelint
on: pull_request
permissions:
contents: read
concurrency:
group: lint-stylelint-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs:
lint:
runs-on: ubuntu-latest
name: stylelint
steps:
- name: Checkout
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- name: Read package.json node and npm engines version
uses: skjnldsv/read-package-engines-version-actions@06d6baf7d8f41934ab630e97d9e6c0bc9c9ac5e4 # v3
id: versions
with:
fallbackNode: '^20'
fallbackNpm: '^10'
- name: Set up node ${{ steps.versions.outputs.nodeVersion }}
uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af # v4.1.0
with:
node-version: ${{ steps.versions.outputs.nodeVersion }}
- name: Set up npm ${{ steps.versions.outputs.npmVersion }}
run: npm i -g 'npm@${{ steps.versions.outputs.npmVersion }}'
- name: Install dependencies
env:
CYPRESS_INSTALL_BINARY: 0
run: npm ci
- name: Lint
run: npm run stylelint
+8 -8
View File
@@ -59,7 +59,7 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- name: Read package.json node and npm engines version
uses: skjnldsv/read-package-engines-version-actions@06d6baf7d8f41934ab630e97d9e6c0bc9c9ac5e4 # v3
@@ -80,10 +80,10 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- name: Set up node ${{ needs.versions.outputs.nodeVersion }}
uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b # v4.0.3
uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af # v4.1.0
with:
node-version: ${{ needs.versions.outputs.nodeVersion }}
@@ -99,7 +99,7 @@ jobs:
run: npm run test:coverage --if-present
- name: Collect coverage
uses: codecov/codecov-action@922d8d7b314a529f2be903c1e79ee8283c492863 # v4.3.1
uses: codecov/codecov-action@13ce06bfc6bbe3ecf90edbbf1bc32fe5978ca1d3 # v4.3.1
with:
files: ./coverage/lcov.info
@@ -114,10 +114,10 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- name: Set up node ${{ needs.versions.outputs.nodeVersion }}
uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b # v4.0.3
uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af # v4.1.0
with:
node-version: ${{ needs.versions.outputs.nodeVersion }}
@@ -142,10 +142,10 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- name: Set up node ${{ needs.versions.outputs.nodeVersion }}
uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b # v4.0.3
uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af # v4.1.0
with:
node-version: ${{ needs.versions.outputs.nodeVersion }}
+2 -2
View File
@@ -53,7 +53,7 @@ jobs:
name: NPM build
steps:
- name: Checkout
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- name: Read package.json node and npm engines version
uses: skjnldsv/read-package-engines-version-actions@06d6baf7d8f41934ab630e97d9e6c0bc9c9ac5e4 # v3
@@ -63,7 +63,7 @@ jobs:
fallbackNpm: '^10'
- name: Set up node ${{ steps.versions.outputs.nodeVersion }}
uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b # v3
uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af # v3
with:
node-version: ${{ steps.versions.outputs.nodeVersion }}
+4 -4
View File
@@ -21,13 +21,13 @@ jobs:
strategy:
fail-fast: false
matrix:
branches: ['main', 'master', 'stable29', 'stable28', 'stable27']
branches: ['main', 'master', 'stable31', 'stable30', 'stable29']
name: npm-audit-fix-${{ matrix.branches }}
steps:
- name: Checkout
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
ref: ${{ matrix.branches }}
@@ -39,7 +39,7 @@ jobs:
fallbackNpm: '^10'
- name: Set up node ${{ steps.versions.outputs.nodeVersion }}
uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b # v3
uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af # v3
with:
node-version: ${{ steps.versions.outputs.nodeVersion }}
@@ -60,7 +60,7 @@ jobs:
- name: Create Pull Request
if: always()
uses: peter-evans/create-pull-request@c5a7806660adbe173f04e3e038b0ccdcd758773c # v6.1.0
uses: peter-evans/create-pull-request@67ccf781d68cd99b580ae25a5c18a1cc84ffff1f # v7.0.6
with:
token: ${{ secrets.COMMAND_BOT_PAT }}
commit-message: 'fix(deps): Fix npm audit'
+4 -4
View File
@@ -45,7 +45,7 @@ jobs:
strategy:
matrix:
php-versions: ['8.1', '8.2', '8.3']
php-versions: ['8.1', '8.2']
include:
- php-versions: '8.3'
coverage: true
@@ -69,12 +69,12 @@ jobs:
steps:
- name: Checkout server
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
with:
submodules: true
- name: Set up php ${{ matrix.php-versions }}
uses: shivammathur/setup-php@c541c155eee45413f5b09a52248675b1a2575231 #v2.31.1
uses: shivammathur/setup-php@9e72090525849c5e82e596468b86eb55e9cc5401 #v2.32.0
with:
php-version: ${{ matrix.php-versions }}
# https://docs.nextcloud.com/server/stable/admin_manual/installation/source_installation.html#prerequisites-for-manual-installation
@@ -105,7 +105,7 @@ jobs:
- name: Upload code coverage
if: ${{ !cancelled() && matrix.coverage }}
uses: codecov/codecov-action@v4.5.0
uses: codecov/codecov-action@v5.3.1
with:
files: ./clover.xml
flags: phpunit-azure
+4 -4
View File
@@ -45,7 +45,7 @@ jobs:
strategy:
matrix:
php-versions: ['8.1', '8.2', '8.3']
php-versions: ['8.1', '8.2']
include:
- php-versions: '8.3'
coverage: true
@@ -70,12 +70,12 @@ jobs:
steps:
- name: Checkout server
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
with:
submodules: true
- name: Set up php ${{ matrix.php-versions }}
uses: shivammathur/setup-php@c541c155eee45413f5b09a52248675b1a2575231 #v2.31.1
uses: shivammathur/setup-php@9e72090525849c5e82e596468b86eb55e9cc5401 #v2.32.0
with:
php-version: ${{ matrix.php-versions }}
# https://docs.nextcloud.com/server/stable/admin_manual/installation/source_installation.html#prerequisites-for-manual-installation
@@ -111,7 +111,7 @@ jobs:
- name: Upload code coverage
if: ${{ !cancelled() && matrix.coverage }}
uses: codecov/codecov-action@v4.5.0
uses: codecov/codecov-action@v5.3.1
with:
files: ./clover.xml
flags: phpunit-s3
+4 -4
View File
@@ -45,7 +45,7 @@ jobs:
strategy:
matrix:
php-versions: ['8.1', '8.2', '8.3']
php-versions: ['8.1', '8.2']
include:
- php-versions: '8.3'
coverage: true
@@ -67,12 +67,12 @@ jobs:
steps:
- name: Checkout server
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
with:
submodules: true
- name: Set up php ${{ matrix.php-versions }}
uses: shivammathur/setup-php@c541c155eee45413f5b09a52248675b1a2575231 #v2.31.1
uses: shivammathur/setup-php@9e72090525849c5e82e596468b86eb55e9cc5401 #v2.32.0
with:
php-version: ${{ matrix.php-versions }}
# https://docs.nextcloud.com/server/stable/admin_manual/installation/source_installation.html#prerequisites-for-manual-installation
@@ -101,7 +101,7 @@ jobs:
- name: Upload code coverage
if: ${{ !cancelled() && matrix.coverage }}
uses: codecov/codecov-action@v4.5.0
uses: codecov/codecov-action@v5.3.1
with:
files: ./clover.xml
flags: phpunit-swift
+3 -3
View File
@@ -26,12 +26,12 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- name: Set up php
uses: shivammathur/setup-php@c541c155eee45413f5b09a52248675b1a2575231 #v2.31.1
uses: shivammathur/setup-php@9e72090525849c5e82e596468b86eb55e9cc5401 #v2.32.0
with:
php-version: '8.2'
php-version: '8.1'
extensions: ctype, curl, dom, fileinfo, gd, json, libxml, mbstring, openssl, pcntl, pdo, posix, session, simplexml, xml, xmlreader, xmlwriter, zip, zlib
coverage: none
ini-file: development
+4 -4
View File
@@ -29,16 +29,16 @@ jobs:
exit 1
- name: Checkout server before PR
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
with:
submodules: true
ref: ${{ github.event.pull_request.base.ref }}
- name: Set up php ${{ matrix.php-versions }}
uses: shivammathur/setup-php@c541c155eee45413f5b09a52248675b1a2575231 #v2.31.1
uses: shivammathur/setup-php@9e72090525849c5e82e596468b86eb55e9cc5401 #v2.32.0
with:
php-version: ${{ matrix.php-versions }}
extensions: mbstring, fileinfo, intl, sqlite, pdo_sqlite, zip, gd
extensions: bz2, ctype, curl, dom, fileinfo, gd, iconv, intl, json, libxml, mbstring, openssl, pcntl, posix, redis, session, simplexml, xmlreader, xmlwriter, zip, zlib, sqlite, pdo_sqlite
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
@@ -91,7 +91,7 @@ jobs:
- name: Upload profiles
if: always()
uses: actions/upload-artifact@0b2256b8c012f0828dc542b3febcab082c67f72b
uses: actions/upload-artifact@65c4c4a1ddee5b72f698fdd19549f0f0fb45cf08
with:
name: profiles
path: |
+2 -2
View File
@@ -32,7 +32,7 @@ jobs:
steps:
- name: Checkout server
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
with:
submodules: true
@@ -42,7 +42,7 @@ jobs:
sudo apt-get install -y ffmpeg imagemagick libmagickcore-6.q16-3-extra
- name: Set up php ${{ matrix.php-versions }}
uses: shivammathur/setup-php@c541c155eee45413f5b09a52248675b1a2575231 #v2.31.1
uses: shivammathur/setup-php@9e72090525849c5e82e596468b86eb55e9cc5401 #v2.32.0
with:
php-version: ${{ matrix.php-versions }}
extensions: ctype, curl, dom, fileinfo, gd, imagick, intl, json, mbstring, openssl, pdo_sqlite, posix, sqlite, xml, zip, apcu
+5 -3
View File
@@ -61,6 +61,8 @@ jobs:
- php-versions: '8.3'
mariadb-versions: '10.11'
coverage: ${{ github.event_name != 'pull_request' }}
- php-versions: '8.4'
mariadb-versions: '11.4'
name: MariaDB ${{ matrix.mariadb-versions }} (PHP ${{ matrix.php-versions }}) - database tests
@@ -84,12 +86,12 @@ jobs:
steps:
- name: Checkout server
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
submodules: true
- name: Set up php ${{ matrix.php-versions }}
uses: shivammathur/setup-php@c541c155eee45413f5b09a52248675b1a2575231 #v2.31.1
uses: shivammathur/setup-php@9e72090525849c5e82e596468b86eb55e9cc5401 #v2.32.0
with:
php-version: ${{ matrix.php-versions }}
# https://docs.nextcloud.com/server/stable/admin_manual/installation/source_installation.html#prerequisites-for-manual-installation
@@ -122,7 +124,7 @@ jobs:
- name: Upload db code coverage
if: ${{ !cancelled() && matrix.coverage }}
uses: codecov/codecov-action@v4.5.0
uses: codecov/codecov-action@v5.3.1
with:
files: ./clover.db.xml
flags: phpunit-mariadb
+4 -4
View File
@@ -55,7 +55,7 @@ jobs:
strategy:
matrix:
php-versions: ['8.1', '8.2', '8.3']
php-versions: ['8.1', '8.3', '8.4']
include:
- php-versions: '8.2'
coverage: ${{ github.event_name != 'pull_request' }}
@@ -71,12 +71,12 @@ jobs:
steps:
- name: Checkout server
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
with:
submodules: true
- name: Set up php ${{ matrix.php-versions }}
uses: shivammathur/setup-php@c541c155eee45413f5b09a52248675b1a2575231 #v2.31.1
uses: shivammathur/setup-php@9e72090525849c5e82e596468b86eb55e9cc5401 #v2.32.0
with:
php-version: ${{ matrix.php-versions }}
# https://docs.nextcloud.com/server/stable/admin_manual/installation/source_installation.html#prerequisites-for-manual-installation
@@ -101,7 +101,7 @@ jobs:
- name: Upload code coverage
if: ${{ !cancelled() && matrix.coverage }}
uses: codecov/codecov-action@v4.5.0
uses: codecov/codecov-action@v5.3.1
with:
files: ./clover.xml
flags: phpunit-memcached
@@ -0,0 +1,184 @@
# This workflow is provided via the organization template repository
#
# https://github.com/nextcloud/.github
# https://docs.github.com/en/actions/learn-github-actions/sharing-workflows-with-your-organization
#
# SPDX-FileCopyrightText: 2022-2024 Nextcloud GmbH and Nextcloud contributors
# SPDX-License-Identifier: MIT
name: PHPUnit sharding
on:
pull_request:
schedule:
- cron: "5 2 * * *"
permissions:
contents: read
concurrency:
group: phpunit-mysql-sharding-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs:
changes:
runs-on: ubuntu-latest-low
outputs:
src: ${{ steps.changes.outputs.src }}
steps:
- uses: dorny/paths-filter@de90cc6fb38fc0963ad72b210f1f284cd68cea36 # v3.0.2
id: changes
continue-on-error: true
with:
filters: |
src:
- '.github/workflows/**'
- '3rdparty/**'
- '**/appinfo/**'
- '**/lib/**'
- '**/templates/**'
- '**/tests/**'
- 'vendor/**'
- 'vendor-bin/**'
- '.php-cs-fixer.dist.php'
- 'composer.json'
- 'composer.lock'
- '**.php'
phpunit-mysql:
runs-on: ubuntu-latest
needs: changes
if: needs.changes.outputs.src != 'false'
strategy:
matrix:
php-versions: ['8.1']
mysql-versions: ['8.4']
name: Sharding - MySQL ${{ matrix.mysql-versions }} (PHP ${{ matrix.php-versions }}) - database tests
services:
cache:
image: ghcr.io/nextcloud/continuous-integration-redis:latest
ports:
- 6379:6379/tcp
options: --health-cmd="redis-cli ping" --health-interval=10s --health-timeout=5s --health-retries=3
mysql:
image: ghcr.io/nextcloud/continuous-integration-mysql-${{ matrix.mysql-versions }}:latest
ports:
- 4444:3306/tcp
env:
MYSQL_ROOT_PASSWORD: rootpassword
MYSQL_USER: oc_autotest
MYSQL_PASSWORD: nextcloud
MYSQL_DATABASE: oc_autotest
options: --health-cmd="mysqladmin ping" --health-interval 5s --health-timeout 2s --health-retries 10
shard1:
image: ghcr.io/nextcloud/continuous-integration-mysql-${{ matrix.mysql-versions }}:latest
ports:
- 5001:3306/tcp
env:
MYSQL_ROOT_PASSWORD: rootpassword
MYSQL_USER: oc_autotest
MYSQL_PASSWORD: nextcloud
MYSQL_DATABASE: nextcloud
options: --health-cmd="mysqladmin ping" --health-interval 5s --health-timeout 2s --health-retries 10
shard2:
image: ghcr.io/nextcloud/continuous-integration-mysql-${{ matrix.mysql-versions }}:latest
ports:
- 5002:3306/tcp
env:
MYSQL_ROOT_PASSWORD: rootpassword
MYSQL_USER: oc_autotest
MYSQL_PASSWORD: nextcloud
MYSQL_DATABASE: nextcloud
options: --health-cmd="mysqladmin ping" --health-interval 5s --health-timeout 2s --health-retries 10
shard3:
image: ghcr.io/nextcloud/continuous-integration-mysql-${{ matrix.mysql-versions }}:latest
ports:
- 5003:3306/tcp
env:
MYSQL_ROOT_PASSWORD: rootpassword
MYSQL_USER: oc_autotest
MYSQL_PASSWORD: nextcloud
MYSQL_DATABASE: nextcloud
options: --health-cmd="mysqladmin ping" --health-interval 5s --health-timeout 2s --health-retries 10
shard4:
image: ghcr.io/nextcloud/continuous-integration-mysql-${{ matrix.mysql-versions }}:latest
ports:
- 5004:3306/tcp
env:
MYSQL_ROOT_PASSWORD: rootpassword
MYSQL_USER: oc_autotest
MYSQL_PASSWORD: nextcloud
MYSQL_DATABASE: nextcloud
options: --health-cmd="mysqladmin ping" --health-interval 5s --health-timeout 2s --health-retries 10
steps:
- name: Checkout server
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
with:
submodules: true
- name: Set up php ${{ matrix.php-versions }}
uses: shivammathur/setup-php@9e72090525849c5e82e596468b86eb55e9cc5401 #v2.32.0
with:
php-version: ${{ matrix.php-versions }}
# https://docs.nextcloud.com/server/stable/admin_manual/installation/source_installation.html#prerequisites-for-manual-installation
extensions: bz2, ctype, curl, dom, fileinfo, gd, iconv, intl, json, libxml, mbstring, openssl, pcntl, posix, redis, session, simplexml, xmlreader, xmlwriter, zip, zlib, mysql, pdo_mysql
coverage: ${{ matrix.coverage && 'xdebug' || 'none' }}
ini-file: development
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Set up dependencies
run: composer i
- name: Enable ONLY_FULL_GROUP_BY MySQL option
run: |
echo "SET GLOBAL sql_mode=(SELECT CONCAT(@@sql_mode,',ONLY_FULL_GROUP_BY'));" | mysql -h 127.0.0.1 -P 4444 -u root -prootpassword
echo "SELECT @@sql_mode;" | mysql -h 127.0.0.1 -P 4444 -u root -prootpassword
- name: Set up Nextcloud
env:
DB_PORT: 4444
SHARDING: 1
run: |
mkdir data
cp tests/redis.config.php config/
cp tests/preseed-config.php config/config.php
./occ maintenance:install --verbose --database=mysql --database-name=nextcloud --database-host=127.0.0.1 --database-port=$DB_PORT --database-user=root --database-pass=rootpassword --admin-user admin --admin-pass admin
php -f tests/enable_all.php | grep -i -C9999 error && echo "Error during app setup" && exit 1 || exit 0
- name: PHPUnit
run: composer run test:db ${{ matrix.coverage && ' -- --coverage-clover ./clover.db.xml' || '' }}
- name: Upload db code coverage
if: ${{ !cancelled() && matrix.coverage }}
uses: codecov/codecov-action@v5.3.1
with:
files: ./clover.db.xml
flags: phpunit-mysql
- name: Print logs
if: always()
run: |
cat data/nextcloud.log
summary:
permissions:
contents: none
runs-on: ubuntu-latest-low
needs: [changes, phpunit-mysql]
if: always()
name: phpunit-mysql-summary
steps:
- name: Summary status
run: if ${{ needs.changes.outputs.src != 'false' && needs.phpunit-mysql.result != 'success' }}; then exit 1; fi
+5 -3
View File
@@ -61,6 +61,8 @@ jobs:
- mysql-versions: '8.0'
php-versions: '8.3'
coverage: ${{ github.event_name != 'pull_request' }}
- mysql-versions: '8.4'
php-versions: '8.4'
name: MySQL ${{ matrix.mysql-versions }} (PHP ${{ matrix.php-versions }}) - database tests
@@ -84,12 +86,12 @@ jobs:
steps:
- name: Checkout server
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
with:
submodules: true
- name: Set up php ${{ matrix.php-versions }}
uses: shivammathur/setup-php@c541c155eee45413f5b09a52248675b1a2575231 #v2.31.1
uses: shivammathur/setup-php@9e72090525849c5e82e596468b86eb55e9cc5401 #v2.32.0
with:
php-version: ${{ matrix.php-versions }}
# https://docs.nextcloud.com/server/stable/admin_manual/installation/source_installation.html#prerequisites-for-manual-installation
@@ -122,7 +124,7 @@ jobs:
- name: Upload db code coverage
if: ${{ !cancelled() && matrix.coverage }}
uses: codecov/codecov-action@v4.5.0
uses: codecov/codecov-action@v5.3.1
with:
files: ./clover.db.xml
flags: phpunit-mysql
+4 -4
View File
@@ -57,7 +57,7 @@ jobs:
strategy:
matrix:
php-versions: ['8.1', '8.2', '8.3']
php-versions: ['8.1', '8.3', '8.4']
include:
- php-versions: '8.2'
coverage: ${{ github.event_name != 'pull_request' }}
@@ -73,12 +73,12 @@ jobs:
steps:
- name: Checkout server
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
with:
submodules: true
- name: Set up php ${{ matrix.php-versions }}
uses: shivammathur/setup-php@c541c155eee45413f5b09a52248675b1a2575231 #v2.31.1
uses: shivammathur/setup-php@9e72090525849c5e82e596468b86eb55e9cc5401 #v2.32.0
with:
php-version: ${{ matrix.php-versions }}
# https://docs.nextcloud.com/server/stable/admin_manual/installation/source_installation.html#prerequisites-for-manual-installation
@@ -106,7 +106,7 @@ jobs:
- name: Upload nodb code coverage
if: ${{ !cancelled() && matrix.coverage }}
uses: codecov/codecov-action@v4.5.0
uses: codecov/codecov-action@v5.3.1
with:
files: ./clover.nodb.xml
flags: phpunit-nodb
@@ -0,0 +1,121 @@
# SPDX-FileCopyrightText: 2024 Nextcloud GmbH and Nextcloud contributors
# SPDX-License-Identifier: MIT
name: PHPUnit primary object store
on:
pull_request:
schedule:
- cron: "15 2 * * *"
concurrency:
group: phpunit-object-store-primary-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs:
changes:
runs-on: ubuntu-latest-low
outputs:
src: ${{ steps.changes.outputs.src}}
steps:
- uses: dorny/paths-filter@de90cc6fb38fc0963ad72b210f1f284cd68cea36 # v3.0.2
id: changes
continue-on-error: true
with:
filters: |
src:
- '.github/workflows/**'
- '3rdparty/**'
- '**/appinfo/**'
- '**/lib/**'
- '**/templates/**'
- '**/tests/**'
- 'vendor/**'
- 'vendor-bin/**'
- '.php-cs-fixer.dist.php'
- 'composer.json'
- 'composer.lock'
- '**.php'
object-store-primary-tests-minio:
runs-on: ubuntu-latest
needs: changes
if: ${{ github.repository_owner != 'nextcloud-gmbh' && needs.changes.outputs.src != 'false' }}
strategy:
# do not stop on another job's failure
fail-fast: false
matrix:
php-versions: ['8.1']
key: ['s3', 's3-multibucket']
name: php${{ matrix.php-versions }}-${{ matrix.key }}-minio
services:
cache:
image: ghcr.io/nextcloud/continuous-integration-redis:latest
ports:
- 6379:6379/tcp
options: --health-cmd="redis-cli ping" --health-interval=10s --health-timeout=5s --health-retries=3
minio:
image: bitnami/minio
env:
MINIO_ROOT_USER: nextcloud
MINIO_ROOT_PASSWORD: bWluaW8tc2VjcmV0LWtleS1uZXh0Y2xvdWQ=
MINIO_DEFAULT_BUCKETS: nextcloud
ports:
- "9000:9000"
steps:
- name: Checkout server
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
with:
submodules: true
- name: Set up php ${{ matrix.php-versions }}
uses: shivammathur/setup-php@9e72090525849c5e82e596468b86eb55e9cc5401 #v2.32.0
with:
php-version: ${{ matrix.php-versions }}
extensions: bz2, ctype, curl, dom, fileinfo, gd, iconv, intl, json, libxml, mbstring, openssl, pcntl, posix, redis, session, simplexml, xmlreader, xmlwriter, zip, zlib, sqlite, pdo_sqlite
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Set up Nextcloud
env:
OBJECT_STORE: ${{ matrix.key }}
OBJECT_STORE_KEY: nextcloud
OBJECT_STORE_SECRET: bWluaW8tc2VjcmV0LWtleS1uZXh0Y2xvdWQ=
run: |
composer install
cp tests/redis.config.php config/
cp tests/preseed-config.php config/config.php
./occ maintenance:install --verbose --database=sqlite --database-name=nextcloud --database-host=127.0.0.1 --database-user=root --database-pass=rootpassword --admin-user admin --admin-pass password
php -f tests/enable_all.php | grep -i -C9999 error && echo "Error during app setup" && exit 1 || exit 0
- name: Wait for S3
run: |
sleep 10
curl -f -m 1 --retry-connrefused --retry 10 --retry-delay 10 http://localhost:9000/minio/health/ready
- name: PHPUnit
run: composer run test:db
- name: S3 logs
if: always()
run: |
cat data/nextcloud.log
docker ps -a
docker ps -aq | while read container ; do IMAGE=$(docker inspect --format='{{.Config.Image}}' $container); echo $IMAGE; docker logs $container; echo "\n\n" ; done
object-store-primary-summary:
runs-on: ubuntu-latest-low
needs: [changes,object-store-primary-tests-minio]
if: always()
steps:
- name: Summary status
run: if ${{ needs.changes.outputs.src != 'false' && needs.object-store-primary-tests-minio.result != 'success' }}; then exit 1; fi
+5 -3
View File
@@ -66,6 +66,8 @@ jobs:
php-versions: '8.2'
- oracle-versions: '23'
php-versions: '8.3'
- oracle-versions: '23'
php-versions: '8.4'
name: Oracle ${{ matrix.oracle-versions }} (PHP ${{ matrix.php-versions }}) - database tests
@@ -96,12 +98,12 @@ jobs:
steps:
- name: Checkout server
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
submodules: true
- name: Set up php ${{ matrix.php-versions }}
uses: shivammathur/setup-php@c541c155eee45413f5b09a52248675b1a2575231 #v2.31.1
uses: shivammathur/setup-php@9e72090525849c5e82e596468b86eb55e9cc5401 #v2.32.0
with:
php-version: ${{ matrix.php-versions }}
# https://docs.nextcloud.com/server/stable/admin_manual/installation/source_installation.html#prerequisites-for-manual-installation
@@ -127,7 +129,7 @@ jobs:
- name: Upload db code coverage
if: ${{ !cancelled() && matrix.coverage }}
uses: codecov/codecov-action@v4.5.0
uses: codecov/codecov-action@v5.3.1
with:
files: ./clover.db.xml
flags: phpunit-oci
+8 -6
View File
@@ -56,12 +56,14 @@ jobs:
strategy:
matrix:
php-versions: ['8.1']
# To keep the matrix smaller we ignore PostgreSQL '13', '14', and '15' as we already test 12 and 16 as lower and upper bound
postgres-versions: ['12', '16']
# To keep the matrix smaller we ignore PostgreSQL versions in between as we already test the minimum and the maximum
postgres-versions: ['13', '17']
include:
- php-versions: '8.3'
postgres-versions: '16'
postgres-versions: '17'
coverage: ${{ github.event_name != 'pull_request' }}
- php-versions: '8.4'
postgres-versions: '17'
name: PostgreSQL ${{ matrix.postgres-versions }} (PHP ${{ matrix.php-versions }}) - database tests
@@ -84,12 +86,12 @@ jobs:
steps:
- name: Checkout server
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
submodules: true
- name: Set up php ${{ matrix.php-versions }}
uses: shivammathur/setup-php@c541c155eee45413f5b09a52248675b1a2575231 #v2.31.1
uses: shivammathur/setup-php@9e72090525849c5e82e596468b86eb55e9cc5401 #v2.32.0
with:
php-version: ${{ matrix.php-versions }}
# https://docs.nextcloud.com/server/stable/admin_manual/installation/source_installation.html#prerequisites-for-manual-installation
@@ -117,7 +119,7 @@ jobs:
- name: Upload db code coverage
if: ${{ !cancelled() && matrix.coverage }}
uses: codecov/codecov-action@v4.5.0
uses: codecov/codecov-action@v5.3.1
with:
files: ./clover.db.xml
flags: phpunit-postgres
+4 -4
View File
@@ -55,7 +55,7 @@ jobs:
strategy:
matrix:
php-versions: ['8.1', '8.2', '8.3']
php-versions: ['8.2', '8.3', '8.4']
include:
- php-versions: '8.1'
coverage: ${{ github.event_name != 'pull_request' }}
@@ -71,12 +71,12 @@ jobs:
steps:
- name: Checkout server
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
submodules: true
- name: Set up php ${{ matrix.php-versions }}
uses: shivammathur/setup-php@c541c155eee45413f5b09a52248675b1a2575231 #v2.31.1
uses: shivammathur/setup-php@9e72090525849c5e82e596468b86eb55e9cc5401 #v2.32.0
with:
php-version: ${{ matrix.php-versions }}
# https://docs.nextcloud.com/server/stable/admin_manual/installation/source_installation.html#prerequisites-for-manual-installation
@@ -105,7 +105,7 @@ jobs:
- name: Upload db code coverage
if: ${{ !cancelled() && matrix.coverage }}
uses: codecov/codecov-action@v4.5.0
uses: codecov/codecov-action@v5.3.1
with:
files: ./clover.db.xml
flags: phpunit-sqlite
+1 -1
View File
@@ -20,7 +20,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: The get-github-handles-from-website action
uses: marcelklehr/get-github-handles-from-website-action@a739600f6b91da4957f51db0792697afbb2f143c # v1.0.0
uses: marcelklehr/get-github-handles-from-website-action@06b2239db0a48fe1484ba0bfd966a3ab81a08308 # v1.0.1
id: scrape
with:
website: 'https://nextcloud.com/team/'
+2 -2
View File
@@ -16,7 +16,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- name: REUSE Compliance Check
uses: fsfe/reuse-action@3ae3c6bdf1257ab19397fab11fd3312144692083 # v4.0.0
uses: fsfe/reuse-action@bb774aa972c2a89ff34781233d275075cbddf542 # v5.0.0
-1
View File
@@ -27,7 +27,6 @@ jobs:
for your contributions.
stale-issue-label: 'stale'
only-labels: 'needs info'
labels-to-remove-when-unstale: 'needs info,stale'
exempt-issue-labels: '1. to develop,2. developing,3. to review,4. to release,security'
days-before-stale: 30
days-before-close: 14
+57 -21
View File
@@ -4,6 +4,14 @@ name: Psalm static code analysis
on:
pull_request:
push:
branches:
- main
- master
- stable*
paths:
- '.github/workflows/static-code-analysis.yml'
- '**.php'
concurrency:
group: static-code-analysis-${{ github.head_ref || github.run_id }}
@@ -13,19 +21,19 @@ jobs:
static-code-analysis:
runs-on: ubuntu-latest
if: ${{ github.repository_owner != 'nextcloud-gmbh' }}
if: ${{ github.event_name != 'push' && github.repository_owner != 'nextcloud-gmbh' }}
steps:
- name: Checkout
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
with:
submodules: true
- name: Set up php
uses: shivammathur/setup-php@c541c155eee45413f5b09a52248675b1a2575231 #v2.31.1
uses: shivammathur/setup-php@9e72090525849c5e82e596468b86eb55e9cc5401 #v2.32.0
with:
php-version: '8.1'
extensions: apcu,ctype,curl,dom,fileinfo,ftp,gd,intl,json,ldap,mbstring,openssl,pdo_sqlite,posix,sqlite,xml,zip
extensions: apcu,ctype,curl,dom,fileinfo,ftp,gd,imagick,intl,json,ldap,mbstring,openssl,pdo_sqlite,posix,sqlite,xml,zip
coverage: none
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
@@ -34,39 +42,39 @@ jobs:
run: composer i
- name: Psalm
run: composer run psalm:ci -- --monochrome --no-progress --output-format=github --update-baseline --report=results.sarif
run: composer run psalm -- --threads=1 --monochrome --no-progress --output-format=github --update-baseline
- name: Show potential changes in Psalm baseline
if: always()
run: git diff -- . ':!lib/composer'
- name: Upload Analysis results to GitHub
if: always()
uses: github/codeql-action/upload-sarif@v3
with:
sarif_file: results.sarif
run: git diff --exit-code -- . ':!lib/composer'
static-code-analysis-security:
runs-on: ubuntu-latest
if: ${{ github.repository_owner != 'nextcloud-gmbh' }}
steps:
- name: Checkout code
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
with:
submodules: true
- name: Set up php
uses: shivammathur/setup-php@c541c155eee45413f5b09a52248675b1a2575231 #v2.31.1
uses: shivammathur/setup-php@9e72090525849c5e82e596468b86eb55e9cc5401 #v2.32.0
with:
php-version: '8.1'
extensions: ctype,curl,dom,fileinfo,ftp,gd,intl,json,ldap,mbstring,openssl,pdo_sqlite,posix,sqlite,xml,zip
extensions: ctype,curl,dom,fileinfo,ftp,gd,imagick,intl,json,ldap,mbstring,openssl,pdo_sqlite,posix,sqlite,xml,zip
coverage: none
- name: Composer install
run: composer i
- name: Psalm taint analysis
run: composer run psalm:ci -- --monochrome --no-progress --output-format=github --report=results.sarif --taint-analysis
run: composer run psalm:security -- --threads=1 --monochrome --no-progress --output-format=github --update-baseline --report=results.sarif
- name: Show potential changes in Psalm baseline
if: always()
run: git diff --exit-code -- . ':!lib/composer'
- name: Upload Security Analysis results to GitHub
if: always()
@@ -77,17 +85,19 @@ jobs:
static-code-analysis-ocp:
runs-on: ubuntu-latest
if: ${{ github.event_name != 'push' && github.repository_owner != 'nextcloud-gmbh' }}
steps:
- name: Checkout
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
with:
submodules: true
- name: Set up php
uses: shivammathur/setup-php@c541c155eee45413f5b09a52248675b1a2575231 #v2.31.1
uses: shivammathur/setup-php@9e72090525849c5e82e596468b86eb55e9cc5401 #v2.32.0
with:
php-version: '8.1'
extensions: ctype,curl,dom,fileinfo,gd,intl,json,mbstring,openssl,pdo_sqlite,posix,sqlite,xml,zip
extensions: ctype,curl,dom,fileinfo,gd,imagick,intl,json,mbstring,openssl,pdo_sqlite,posix,sqlite,xml,zip
coverage: none
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
@@ -96,8 +106,34 @@ jobs:
run: composer i
- name: Psalm
run: composer run psalm:ci -- -c psalm-ocp.xml --monochrome --no-progress --output-format=github --update-baseline
run: composer run psalm:ocp -- --threads=1 --monochrome --no-progress --output-format=github --update-baseline
- name: Show potential changes in Psalm baseline
if: always()
run: git diff -- . ':!lib/composer'
run: git diff --exit-code -- . ':!lib/composer'
static-code-analysis-ncu:
runs-on: ubuntu-latest
if: ${{ github.event_name != 'push' && github.repository_owner != 'nextcloud-gmbh' }}
steps:
- name: Checkout
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
with:
submodules: true
- name: Set up php
uses: shivammathur/setup-php@9e72090525849c5e82e596468b86eb55e9cc5401 #v2.32.0
with:
php-version: '8.1'
extensions: ctype,curl,dom,fileinfo,gd,imagick,intl,json,mbstring,openssl,pdo_sqlite,posix,sqlite,xml,zip
coverage: none
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Composer install
run: composer i
- name: Psalm
run: composer run psalm:ncu -- --threads=1 --monochrome --no-progress --output-format=github
+3 -3
View File
@@ -14,12 +14,12 @@ jobs:
strategy:
fail-fast: false
matrix:
branches: ['master', 'stable29', 'stable28', 'stable27', 'stable26', 'stable25', 'stable24', 'stable23', 'stable22']
branches: ['master', 'stable31', 'stable30', 'stable29', 'stable28', 'stable27', 'stable26', 'stable25', 'stable24', 'stable23', 'stable22']
name: update-ca-certificate-bundle-${{ matrix.branches }}
steps:
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
with:
ref: ${{ matrix.branches }}
submodules: true
@@ -28,7 +28,7 @@ jobs:
run: curl --etag-compare build/ca-bundle-etag.txt --etag-save build/ca-bundle-etag.txt --output resources/config/ca-bundle.crt https://curl.se/ca/cacert.pem
- name: Create Pull Request
uses: peter-evans/create-pull-request@c5a7806660adbe173f04e3e038b0ccdcd758773c
uses: peter-evans/create-pull-request@67ccf781d68cd99b580ae25a5c18a1cc84ffff1f
with:
token: ${{ secrets.COMMAND_BOT_PAT }}
commit-message: 'fix(security): Update CA certificate bundle'
@@ -14,12 +14,12 @@ jobs:
strategy:
fail-fast: false
matrix:
branches: ['master', 'stable29', 'stable28', 'stable27', 'stable26', 'stable25', 'stable24', 'stable23', 'stable22']
branches: ['master', 'stable30', 'stable29', 'stable28', 'stable27', 'stable26', 'stable25', 'stable24', 'stable23', 'stable22']
name: update-code-signing-crl-${{ matrix.branches }}
steps:
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
with:
ref: ${{ matrix.branches }}
submodules: true
@@ -31,7 +31,7 @@ jobs:
run: openssl crl -verify -in resources/codesigning/root.crl -CAfile resources/codesigning/root.crt -noout
- name: Create Pull Request
uses: peter-evans/create-pull-request@c5a7806660adbe173f04e3e038b0ccdcd758773c
uses: peter-evans/create-pull-request@67ccf781d68cd99b580ae25a5c18a1cc84ffff1f
with:
token: ${{ secrets.COMMAND_BOT_PAT }}
commit-message: 'fix(security): Update code signing revocation list'
@@ -1,52 +0,0 @@
# SPDX-FileCopyrightText: 2024 Nextcloud GmbH and Nextcloud contributors
# SPDX-License-Identifier: MIT
name: Auto approve psalm baseline update
on:
pull_request_target:
branches:
- main
- master
- stable*
permissions:
contents: read
concurrency:
group: update-psalm-baseline-approve-merge-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs:
auto-approve-merge:
if: github.actor == 'nextcloud-command'
runs-on: ubuntu-latest-low
permissions:
# for hmarr/auto-approve-action to approve PRs
pull-requests: write
# for alexwilson/enable-github-automerge-action to approve PRs
contents: write
steps:
- name: Disabled on forks
if: ${{ github.event.pull_request.head.repo.full_name != github.repository }}
run: |
echo 'Can not approve PRs from forks'
exit 1
- uses: mdecoleman/pr-branch-name@55795d86b4566d300d237883103f052125cc7508 # v3.0.0
id: branchname
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
# GitHub actions bot approve
- uses: hmarr/auto-approve-action@b40d6c9ed2fa10c9a2749eca7eb004418a705501 # v2
if: startsWith(steps.branchname.outputs.branch, 'automated/noid/') && endsWith(steps.branchname.outputs.branch, 'update-psalm-baseline')
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
# Enable GitHub auto merge
- name: Auto merge
uses: alexwilson/enable-github-automerge-action@56e3117d1ae1540309dc8f7a9f2825bc3c5f06ff # main
if: startsWith(steps.branchname.outputs.branch, 'automated/noid/') && endsWith(steps.branchname.outputs.branch, 'update-psalm-baseline')
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
@@ -1,69 +0,0 @@
# SPDX-FileCopyrightText: 2020 Nextcloud GmbH and Nextcloud contributors
# SPDX-License-Identifier: MIT
name: Update Psalm baseline
on:
workflow_dispatch:
schedule:
- cron: "5 2 * * *"
jobs:
update-psalm-baseline:
runs-on: ubuntu-latest
if: ${{ github.repository_owner != 'nextcloud-gmbh' }}
strategy:
fail-fast: false
matrix:
branches: ['master', 'stable29', 'stable28', 'stable27']
name: update-psalm-baseline-${{ matrix.branches }}
steps:
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332
with:
ref: ${{ matrix.branches }}
submodules: true
- name: Set up php
uses: shivammathur/setup-php@c541c155eee45413f5b09a52248675b1a2575231 #v2.31.1
with:
php-version: '8.1'
extensions: apcu,ctype,curl,dom,fileinfo,ftp,gd,intl,json,ldap,mbstring,openssl,pdo_sqlite,posix,sqlite,xml,zip
coverage: none
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Composer install
run: composer install
- name: Psalm
run: composer run psalm:ci -- --monochrome --no-progress --output-format=text --update-baseline
continue-on-error: true
- name: Psalm OCP
run: composer run psalm:ci -- -c psalm-ocp.xml --monochrome --no-progress --output-format=github --update-baseline
continue-on-error: true
- name: Reset composer
run: |
git clean -f lib/composer
git checkout composer.json composer.lock lib/composer
- name: Create Pull Request
uses: peter-evans/create-pull-request@c5a7806660adbe173f04e3e038b0ccdcd758773c
with:
token: ${{ secrets.COMMAND_BOT_PAT }}
commit-message: 'chore(tests): Update psalm baseline'
committer: GitHub <noreply@github.com>
author: nextcloud-command <nextcloud-command@users.noreply.github.com>
signoff: true
branch: 'automated/noid/${{ matrix.branches }}-update-psalm-baseline'
title: '[${{ matrix.branches }}] Update psalm-baseline.xml'
body: |
Auto-generated update psalm-baseline.xml with fixed psalm warnings
labels: |
automated pr
3. to review
team-reviewers: server-backend
+2
View File
@@ -35,6 +35,7 @@
!/apps/lookup_server_connector
!/apps/user_ldap
!/apps/oauth2
!/apps/profile
!/apps/provisioning_api
!/apps/settings
!/apps/systemtags
@@ -151,6 +152,7 @@ Vagrantfile
# Tests - auto-generated files
/data-autotest
/results.sarif
/tests/.phpunit.result.cache
/tests/coverage*
/tests/css
+21 -6
View File
@@ -15,11 +15,18 @@
<IfModule mod_env.c>
# Add security and privacy related headers
# Avoid doubled headers by unsetting headers in "onsuccess" table,
# then add headers to "always" table: https://github.com/nextcloud/server/pull/19002
Header onsuccess unset Referrer-Policy
Header always set Referrer-Policy "no-referrer"
<If "%{REQUEST_URI} =~ m#/login$#">
# Only on the login page we need any Origin or Referer header set.
Header onsuccess unset Referrer-Policy
Header always set Referrer-Policy "same-origin"
</If>
<Else>
Header onsuccess unset Referrer-Policy
Header always set Referrer-Policy "no-referrer"
</Else>
Header onsuccess unset X-Content-Type-Options
Header always set X-Content-Type-Options "nosniff"
@@ -49,8 +56,8 @@
</Else>
</FilesMatch>
# Let browsers cache WOFF files for a week
<FilesMatch "\.woff2?$">
# Let browsers cache OTF and WOFF files for a week
<FilesMatch "\.(otf|woff2?)$">
Header set Cache-Control "max-age=604800"
</FilesMatch>
</IfModule>
@@ -103,7 +110,15 @@
# - https://docs.cyberduck.io/mountainduck/issues/fastcgi/
# - https://docs.nextcloud.com/server/latest/admin_manual/issues/general_troubleshooting.html#troubleshooting-webdav
<IfModule mod_setenvif.c>
SetEnvIf Transfer-Encoding "chunked" proxy-sendcl=1
SetEnvIfNoCase Transfer-Encoding "chunked" proxy-sendcl=1
</IfModule>
# Apache disabled the sending of the server-side content-length header
# in their 2.4.59 patch updated which breaks some use-cases in Nextcloud.
# Setting ap_trust_cgilike_cl allows to bring back the usual behaviour.
# See https://bz.apache.org/bugzilla/show_bug.cgi?id=68973
<IfModule mod_env.c>
SetEnv ap_trust_cgilike_cl
</IfModule>
AddDefaultCharset utf-8
+13 -19
View File
@@ -14,29 +14,23 @@ $config = new Config();
$config
->setParallelConfig(ParallelConfigFactory::detect())
->getFinder()
->ignoreVCSIgnored(true)
->exclude('config')
->exclude('data')
->notPath('3rdparty')
->notPath('build/integration/vendor')
->notPath('build/lib')
->notPath('build/node_modules')
->notPath('build/stubs')
->notPath('composer')
->notPath('node_modules')
->notPath('vendor')
->in('apps')
->exclude('3rdparty')
->exclude('build/stubs')
->exclude('composer')
->in(__DIR__);
// Ignore additional app directories
$rootDir = new \DirectoryIterator(__DIR__);
foreach ($rootDir as $node) {
if (str_starts_with($node->getFilename(), 'apps')) {
$return = shell_exec('git check-ignore ' . escapeshellarg($node->getFilename() . '/'));
$ignoredEntries = shell_exec('git status --porcelain --ignored ' . escapeshellarg(__DIR__));
$ignoredEntries = explode("\n", $ignoredEntries);
$ignoredEntries = array_filter($ignoredEntries, static fn (string $line) => str_starts_with($line, '!! '));
$ignoredEntries = array_map(static fn (string $line) => substr($line, 3), $ignoredEntries);
$ignoredEntries = array_values($ignoredEntries);
if ($return !== null) {
$config->getFinder()->exclude($node->getFilename());
}
foreach ($ignoredEntries as $ignoredEntry) {
if (str_ends_with($ignoredEntry, '/')) {
$config->getFinder()->exclude($ignoredEntry);
} else {
$config->getFinder()->notPath($ignoredEntry);
}
}
+30 -18
View File
File diff suppressed because one or more lines are too long
+12
View File
@@ -116,6 +116,12 @@ source_file = translationfiles/templates/oauth2.pot
source_lang = en
type = PO
[o:nextcloud:p:nextcloud:r:profile]
file_filter = translationfiles/<lang>/profile.po
source_file = translationfiles/templates/profile.pot
source_lang = en
type = PO
[o:nextcloud:p:nextcloud:r:provisioning_api]
file_filter = translationfiles/<lang>/provisioning_api.po
source_file = translationfiles/templates/provisioning_api.pot
@@ -176,6 +182,12 @@ source_file = translationfiles/templates/weather_status.pot
source_lang = en
type = PO
[o:nextcloud:p:nextcloud:r:webhook_listeners]
file_filter = translationfiles/<lang>/webhook_listeners.po
source_file = translationfiles/templates/webhook_listeners.pot
source_lang = en
type = PO
[o:nextcloud:p:nextcloud:r:workflowengine]
file_filter = translationfiles/<lang>/workflowengine.po
source_file = translationfiles/templates/workflowengine.pot
+1
View File
@@ -314,6 +314,7 @@
- Max <max@nextcloud.com>
- Max Kovalenko <mxss1998@yandex.ru>
- Max Kunzelmann <maxdev@posteo.de>
- Max Schmit <maxschm@hotmail.com>
- Maxence Lange <maxence@artificial-owl.com>
- Maxence Lange <maxence@nextcloud.com>
- Maxence Lange <maxence@pontapreta.net>
+1 -1
View File
@@ -6,4 +6,4 @@ and our products: “Nextcloud Files”; “Nextcloud Groupware” and “Nextcl
This set of marks is collectively referred to as the “Nextcloud marks.”
Use of Nextcloud logos and other marks is only permitted under the guidelines provided by the Nextcloud GmbH.
A copy can be found at https://discord.com/branding
A copy can be found at https://nextcloud.com/trademarks/
-39
View File
@@ -1,39 +0,0 @@
License Agreement for Freepik Content
The Company authorizes the User to download and use the Freepik Content under the terms of this Section (see Section 7 in relation to Sponsored Content). The Company and its licensors reserve all rights over the Freepik Content not expressly granted in this license to the User.
Subject to the fulfillment of these Terms, the Company authorizes the User in a non-transferable, revocable, limited, non-exclusive manner and on a worldwide basis for the duration of the relevant rights; to download, use and modify the Freepik Content, in a device the User owns or controls and only for the purposes and uses allowed in these Terms.
The User may use the Freepik Content (including any derivative work), either using the Freepik Contents in its entirety or using only some or some of its elements, either using the Freepik Contents without modification, combining them with other contents or having previously modified them, being the license granted with respect to the Freepik content, provided that it:
* Does not involve collective use;
* The Freepik Content is not used in a manner that suggests an association or endorsement of any kind by the Company or the Website;
* The Freepik Content or any derivative work is not used or included (in whole or in part) in a database, archive or in any other media/stock product, collection, set of clips, or library, for distribution or resale or used in any other way that could prevent or limit future visits or downloads from the Website;
* Does not resell, assign, transfer or sublicense the Freepik Content or any derived work from the Freepik Content;
* Does not use the Freepik Content in printed or electronic items (e.g. t-shirts, cups, postcards, birthday or greeting cards, invitations, calendars, web models or electronic devices, apps, NFTs, videogames, advertising spots, audiovisual animations) aimed to be resold, in which the content in the Freepik Content is the main element (because of size, relevance or any other cause, in case of doubt about whether the content is main element, it shall be deemed that the content is main element);
* Does not use the Freepik Content (totally or partially) in any trademark, or part of the same, which may be used by any other means to guarantee or to imply a guaranty of any product and/or service, unless the Freepik Content used in such cases is modified in such a way as to be a new and different content not confusingly similar with the original Freepik Content or implies a use of the Freepik Content as a template or test, and not as a final item or material;
* Does not use the Freepik Content (including any caption information, title, keywords or other metadata associated with the Freepik Content) for any machine learning and/or artificial intelligence purposes, or for any technologies designed or intended for the identification of natural persons.
* Does not make any use of the Freepik Content which might be considered defamatory, libellous, obscene, immoral or illegal, including, without limitation, using it in a way that places any person appearing in the Freepik Content in a negative light or depicts them in a way that they may find offensive such as the use in pornography, advertisements for escort or similar services, political endorsements, birth control products, and;
* Does not make any use of the Freepik Content to slander, libel or to vilify a person, race, sex, culture, sexual orientation, religion, country, region, town, village or any other place, or any other human group.
When any Freepik Content is marked or identified as for editorial use, or when within the same there are logos, recognizable products, public buildings, public events or images taken in places where recognizable persons appear in the background, the User shall only be entitled to use it for such editorial use. In such cases, the User undertakes not to use that content in any manner that entails any connection with any business activity, the use in economic traffic or advertising, marketing or commercialization of any product or service. The User shall be directly liable and the Company shall not assume any liability as a result of the use for commercial purposes by the User of any content belonging to the Freepik Content, which according to this paragraph should be for editorial use only.
The authorization to use the Freepik Content shall be free provided that any use of the content in the Freepik Content by the User is credited to the Company/Website as stated by the Company from time to time. In order to benefit from the Service or to use the Freepik Content without acknowledging the Company/Website, the User must purchase a premium subscription (hereinafter, the "Premium Subscription") in the Website and download the Freepik Content during the term of any such Premium Subscription. Conditions in Section 10 shall apply to the purchase of the Premium Subscription.
As a general rule, it is forbidden for a User to authorize any third parties to use the Freepik Content (or any modification of any content in the Freepik Content). As an exception to the prohibition, the User may allow third parties to use the Freepik Content, when each and every of the following conditions are met:
* The third party has professionally instructed the User to produce goods or provide services to it/him/her and the User uses a limited number of items within the Freepik Content to produce such goods or provide such services to the instructing third party;
* The authorization granted by the User to the third party is in writing and complies with every restriction of the Users authorization to use the relevant Freepik Content and includes, without limitation, a restriction for the third party to distribute, resell or license the relevant content in the Freepik Content (i.e. the third party is the final user of the relevant content in the Freepik Content);
* None of the contents in the Freepik Content which are subject to the authorization are used as the main element (because of size, relevance or any other cause; in case of doubt about whether the content is the main element, it shall be deemed as the main element) in printed or electronic items (e.g. t-shirts, cups, postcards, birthday or greeting cards, invitations, calendars, web models or electronic devices, apps, NFTs, videogames, advertising spots, audiovisual animations) aimed to be resold by the third party;
* The production of goods or provision of services by the User to the third party is not done by automatic means, it is tailor-made for the third party (and therefore its use is not authorized by the User to any other third party) and requires a specific substantial human intervention from the User in relation to each third party; and
* The User -and not the third party- chooses the specific items within the content of the Freepik Content to be used in the production of goods or provision of services for the third party.
When all of the above conditions are met, the User shall be entitled to authorize a third party to use the relevant content in the Freepik Content. This exception refers only to the prohibition for the User to authorize third parties to use the content in the Freepik Content without affecting or limiting in any way the remaining conditions of the Users right to use the Freepik Content. Whether the above conditions regarding the exception to the prohibition for Users to authorize third parties to use the content in the Freepik Content are met shall be interpreted restrictively so that, in case of doubt, it shall be deemed that the conditions are not met.
The User does not acquire any right as a result of the use of the content in the Freepik Content. In particular, the User is not authorized to distribute, resell or rent any content in the Freepik Content (or any modification of any content in the Freepik Content).
The Company may, at any time, offer any content on the Website under a different license from the one included in this Section (the "Specific License"). The Company will inform on the Website which content is licensed under an Specific License. The Specific License will be made available to the User and will include, without limitation, a description of the license itself, as well as the permitted and prohibited uses in relation to the content. In the event that a particular content is offered under a Specific License, the Specific License shall apply over the general license described in this Section. Notwithstanding the foregoing, all other obligations contained in these Terms shall continue to be binding on the User, unless they conflict with the Specific License, in which case the Specific License shall prevail.
The Users rights under this Section will end automatically without any notice if the User breaches any of the Terms. In case of termination of the rights hereunder, the User shall cease using content in the Freepik Content and will destroy every copy, whether total or partial, thereof.
A copy can be found at <https://www.freepikcompany.com/legal/#nav-freepik-agreement>
+4
View File
@@ -74,6 +74,10 @@ Otherwise, git checkouts can be handled the same as release archives, by using t
- Comment on a pull request with `/update-3rdparty` to update the 3rd party submodule. It will update to the last commit of the 3rd party branch named like the PR target.
#### Ignore code style updates in git blame
`git config blame.ignoreRevsFile .git-blame-ignore-revs`
## Contribution guidelines 📜
All contributions to this repository from June 16, 2016, and onward are considered to be
+7 -7
View File
@@ -3,11 +3,11 @@
* SPDX-License-Identifier: AGPL-3.0-or-later
*/
import { jest } from '@jest/globals'
import { vi } from 'vitest'
export const showMessage = jest.fn()
export const showSuccess = jest.fn()
export const showWarning = jest.fn()
export const showInfo = jest.fn()
export const showError = jest.fn()
export const showUndo = jest.fn()
export const showMessage = vi.fn()
export const showSuccess = vi.fn()
export const showWarning = vi.fn()
export const showInfo = vi.fn()
export const showError = vi.fn()
export const showUndo = vi.fn()
-12
View File
@@ -1,12 +0,0 @@
/**
* SPDX-FileCopyrightText: 2021 Nextcloud GmbH and Nextcloud contributors
* SPDX-License-Identifier: AGPL-3.0-or-later
*/
import '@testing-library/jest-dom'
// Mock `window.location` with Jest spies and extend expect
import 'jest-location-mock'
// Mock `window.fetch` with Jest
import 'jest-fetch-mock'
+2 -1
View File
@@ -2,7 +2,8 @@
* SPDX-FileCopyrightText: 2024 Nextcloud GmbH and Nextcloud contributors
* SPDX-License-Identifier: AGPL-3.0-or-later
*/
window.OC = { ...window.OC }
window.OCA = { ...window.OCA }
window.OCP = { ...window.OCP }
window._oc_webroot = ''
+6
View File
@@ -0,0 +1,6 @@
/**
* SPDX-FileCopyrightText: 2024 Nextcloud GmbH and Nextcloud contributors
* SPDX-License-Identifier: CC0-1.0
*/
import '@testing-library/jest-dom/vitest'
import 'core-js/stable/index.js'
-6
View File
@@ -1,6 +0,0 @@
{
"extends": "../tsconfig.json",
"compilerOptions": {
"verbatimModuleSyntax": false
}
}
+2 -2
View File
@@ -10,7 +10,7 @@
<name>Auditing / Logging</name>
<summary>Provides logging abilities for Nextcloud such as logging file accesses or otherwise sensitive actions.</summary>
<description>Provides logging abilities for Nextcloud such as logging file accesses or otherwise sensitive actions.</description>
<version>1.20.0</version>
<version>1.22.0</version>
<licence>agpl</licence>
<author>Nextcloud</author>
<namespace>AdminAudit</namespace>
@@ -20,7 +20,7 @@
<category>monitoring</category>
<bugs>https://github.com/nextcloud/server/issues</bugs>
<dependencies>
<nextcloud min-version="30" max-version="30"/>
<nextcloud min-version="32" max-version="32"/>
</dependencies>
<background-jobs>
<job>OCA\AdminAudit\BackgroundJobs\Rotate</job>
@@ -8,20 +8,22 @@ $baseDir = $vendorDir;
return array(
'Composer\\InstalledVersions' => $vendorDir . '/composer/InstalledVersions.php',
'OCA\\AdminAudit\\Actions\\Action' => $baseDir . '/../lib/Actions/Action.php',
'OCA\\AdminAudit\\Actions\\AppManagement' => $baseDir . '/../lib/Actions/AppManagement.php',
'OCA\\AdminAudit\\Actions\\Auth' => $baseDir . '/../lib/Actions/Auth.php',
'OCA\\AdminAudit\\Actions\\Console' => $baseDir . '/../lib/Actions/Console.php',
'OCA\\AdminAudit\\Actions\\Files' => $baseDir . '/../lib/Actions/Files.php',
'OCA\\AdminAudit\\Actions\\GroupManagement' => $baseDir . '/../lib/Actions/GroupManagement.php',
'OCA\\AdminAudit\\Actions\\Security' => $baseDir . '/../lib/Actions/Security.php',
'OCA\\AdminAudit\\Actions\\Sharing' => $baseDir . '/../lib/Actions/Sharing.php',
'OCA\\AdminAudit\\Actions\\TagManagement' => $baseDir . '/../lib/Actions/TagManagement.php',
'OCA\\AdminAudit\\Actions\\Trashbin' => $baseDir . '/../lib/Actions/Trashbin.php',
'OCA\\AdminAudit\\Actions\\UserManagement' => $baseDir . '/../lib/Actions/UserManagement.php',
'OCA\\AdminAudit\\Actions\\Versions' => $baseDir . '/../lib/Actions/Versions.php',
'OCA\\AdminAudit\\AppInfo\\Application' => $baseDir . '/../lib/AppInfo/Application.php',
'OCA\\AdminAudit\\AuditLogger' => $baseDir . '/../lib/AuditLogger.php',
'OCA\\AdminAudit\\BackgroundJobs\\Rotate' => $baseDir . '/../lib/BackgroundJobs/Rotate.php',
'OCA\\AdminAudit\\IAuditLogger' => $baseDir . '/../lib/IAuditLogger.php',
'OCA\\AdminAudit\\Listener\\AppManagementEventListener' => $baseDir . '/../lib/Listener/AppManagementEventListener.php',
'OCA\\AdminAudit\\Listener\\AuthEventListener' => $baseDir . '/../lib/Listener/AuthEventListener.php',
'OCA\\AdminAudit\\Listener\\ConsoleEventListener' => $baseDir . '/../lib/Listener/ConsoleEventListener.php',
'OCA\\AdminAudit\\Listener\\CriticalActionPerformedEventListener' => $baseDir . '/../lib/Listener/CriticalActionPerformedEventListener.php',
'OCA\\AdminAudit\\Listener\\FileEventListener' => $baseDir . '/../lib/Listener/FileEventListener.php',
'OCA\\AdminAudit\\Listener\\GroupManagementEventListener' => $baseDir . '/../lib/Listener/GroupManagementEventListener.php',
'OCA\\AdminAudit\\Listener\\SecurityEventListener' => $baseDir . '/../lib/Listener/SecurityEventListener.php',
'OCA\\AdminAudit\\Listener\\SharingEventListener' => $baseDir . '/../lib/Listener/SharingEventListener.php',
'OCA\\AdminAudit\\Listener\\UserManagementEventListener' => $baseDir . '/../lib/Listener/UserManagementEventListener.php',
);
@@ -23,22 +23,24 @@ class ComposerStaticInitAdminAudit
public static $classMap = array (
'Composer\\InstalledVersions' => __DIR__ . '/..' . '/composer/InstalledVersions.php',
'OCA\\AdminAudit\\Actions\\Action' => __DIR__ . '/..' . '/../lib/Actions/Action.php',
'OCA\\AdminAudit\\Actions\\AppManagement' => __DIR__ . '/..' . '/../lib/Actions/AppManagement.php',
'OCA\\AdminAudit\\Actions\\Auth' => __DIR__ . '/..' . '/../lib/Actions/Auth.php',
'OCA\\AdminAudit\\Actions\\Console' => __DIR__ . '/..' . '/../lib/Actions/Console.php',
'OCA\\AdminAudit\\Actions\\Files' => __DIR__ . '/..' . '/../lib/Actions/Files.php',
'OCA\\AdminAudit\\Actions\\GroupManagement' => __DIR__ . '/..' . '/../lib/Actions/GroupManagement.php',
'OCA\\AdminAudit\\Actions\\Security' => __DIR__ . '/..' . '/../lib/Actions/Security.php',
'OCA\\AdminAudit\\Actions\\Sharing' => __DIR__ . '/..' . '/../lib/Actions/Sharing.php',
'OCA\\AdminAudit\\Actions\\TagManagement' => __DIR__ . '/..' . '/../lib/Actions/TagManagement.php',
'OCA\\AdminAudit\\Actions\\Trashbin' => __DIR__ . '/..' . '/../lib/Actions/Trashbin.php',
'OCA\\AdminAudit\\Actions\\UserManagement' => __DIR__ . '/..' . '/../lib/Actions/UserManagement.php',
'OCA\\AdminAudit\\Actions\\Versions' => __DIR__ . '/..' . '/../lib/Actions/Versions.php',
'OCA\\AdminAudit\\AppInfo\\Application' => __DIR__ . '/..' . '/../lib/AppInfo/Application.php',
'OCA\\AdminAudit\\AuditLogger' => __DIR__ . '/..' . '/../lib/AuditLogger.php',
'OCA\\AdminAudit\\BackgroundJobs\\Rotate' => __DIR__ . '/..' . '/../lib/BackgroundJobs/Rotate.php',
'OCA\\AdminAudit\\IAuditLogger' => __DIR__ . '/..' . '/../lib/IAuditLogger.php',
'OCA\\AdminAudit\\Listener\\AppManagementEventListener' => __DIR__ . '/..' . '/../lib/Listener/AppManagementEventListener.php',
'OCA\\AdminAudit\\Listener\\AuthEventListener' => __DIR__ . '/..' . '/../lib/Listener/AuthEventListener.php',
'OCA\\AdminAudit\\Listener\\ConsoleEventListener' => __DIR__ . '/..' . '/../lib/Listener/ConsoleEventListener.php',
'OCA\\AdminAudit\\Listener\\CriticalActionPerformedEventListener' => __DIR__ . '/..' . '/../lib/Listener/CriticalActionPerformedEventListener.php',
'OCA\\AdminAudit\\Listener\\FileEventListener' => __DIR__ . '/..' . '/../lib/Listener/FileEventListener.php',
'OCA\\AdminAudit\\Listener\\GroupManagementEventListener' => __DIR__ . '/..' . '/../lib/Listener/GroupManagementEventListener.php',
'OCA\\AdminAudit\\Listener\\SecurityEventListener' => __DIR__ . '/..' . '/../lib/Listener/SecurityEventListener.php',
'OCA\\AdminAudit\\Listener\\SharingEventListener' => __DIR__ . '/..' . '/../lib/Listener/SharingEventListener.php',
'OCA\\AdminAudit\\Listener\\UserManagementEventListener' => __DIR__ . '/..' . '/../lib/Listener/UserManagementEventListener.php',
);
public static function getInitializer(ClassLoader $loader)
+7
View File
@@ -0,0 +1,7 @@
OC.L10N.register(
"admin_audit",
{
"Auditing / Logging" : "Auditēšana / Žurnalizēšana",
"Provides logging abilities for Nextcloud such as logging file accesses or otherwise sensitive actions." : "Nodrošina Nextcloud žurnalizēšanas iespējas, piemēram, faila piekļuves žurnalizēšanu vai citas sensitīvas darbības."
},
"nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n != 0 ? 1 : 2);");
+5
View File
@@ -0,0 +1,5 @@
{ "translations": {
"Auditing / Logging" : "Auditēšana / Žurnalizēšana",
"Provides logging abilities for Nextcloud such as logging file accesses or otherwise sensitive actions." : "Nodrošina Nextcloud žurnalizēšanas iespējas, piemēram, faila piekļuves žurnalizēšanu vai citas sensitīvas darbības."
},"pluralForm" :"nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n != 0 ? 1 : 2);"
}
+7
View File
@@ -0,0 +1,7 @@
OC.L10N.register(
"admin_audit",
{
"Auditing / Logging" : "Pengauditan / Pengelogan",
"Provides logging abilities for Nextcloud such as logging file accesses or otherwise sensitive actions." : "Menyediakan kebolehan pengelogan untuk Nextcloud seperti akses fail log atau tindakan sensitif."
},
"nplurals=1; plural=0;");
+5
View File
@@ -0,0 +1,5 @@
{ "translations": {
"Auditing / Logging" : "Pengauditan / Pengelogan",
"Provides logging abilities for Nextcloud such as logging file accesses or otherwise sensitive actions." : "Menyediakan kebolehan pengelogan untuk Nextcloud seperti akses fail log atau tindakan sensitif."
},"pluralForm" :"nplurals=1; plural=0;"
}
+7
View File
@@ -0,0 +1,7 @@
OC.L10N.register(
"admin_audit",
{
"Auditing / Logging" : "ئىقتىسادىي تەپتىش / خاتىرىلەش",
"Provides logging abilities for Nextcloud such as logging file accesses or otherwise sensitive actions." : "Nextcloud غا تىزىمغا كىرىش ئىقتىدارى بىلەن تەمىنلەيدۇ ، مەسىلەن ھۆججەتلەرنى زىيارەت قىلىش ياكى باشقا سەزگۈر ھەرىكەتلەر."
},
"nplurals=2; plural=(n != 1);");
+5
View File
@@ -0,0 +1,5 @@
{ "translations": {
"Auditing / Logging" : "ئىقتىسادىي تەپتىش / خاتىرىلەش",
"Provides logging abilities for Nextcloud such as logging file accesses or otherwise sensitive actions." : "Nextcloud غا تىزىمغا كىرىش ئىقتىدارى بىلەن تەمىنلەيدۇ ، مەسىلەن ھۆججەتلەرنى زىيارەت قىلىش ياكى باشقا سەزگۈر ھەرىكەتلەر."
},"pluralForm" :"nplurals=2; plural=(n != 1);"
}
+2 -2
View File
@@ -1,7 +1,7 @@
OC.L10N.register(
"admin_audit",
{
"Auditing / Logging" : "Kiểm tra / Nhật ký",
"Provides logging abilities for Nextcloud such as logging file accesses or otherwise sensitive actions." : "Cung cấp khả năng ghi nhật ký cho Nextcloud, chẳng hạn như ghi nhật ký quyền truy cập tệp hoặc các hành động nhạy cảm khác."
"Auditing / Logging" : "Kiểm tra / Nhật ký",
"Provides logging abilities for Nextcloud such as logging file accesses or otherwise sensitive actions." : "Cung cấp khả năng ghi nhật ký cho Nextcloud, chẳng hạn như ghi nhật ký quyền truy cập tệp hoặc các hành động nhạy cảm khác."
},
"nplurals=1; plural=0;");
+2 -2
View File
@@ -1,5 +1,5 @@
{ "translations": {
"Auditing / Logging" : "Kiểm tra / Nhật ký",
"Provides logging abilities for Nextcloud such as logging file accesses or otherwise sensitive actions." : "Cung cấp khả năng ghi nhật ký cho Nextcloud, chẳng hạn như ghi nhật ký quyền truy cập tệp hoặc các hành động nhạy cảm khác."
"Auditing / Logging" : "Kiểm tra / Nhật ký",
"Provides logging abilities for Nextcloud such as logging file accesses or otherwise sensitive actions." : "Cung cấp khả năng ghi nhật ký cho Nextcloud, chẳng hạn như ghi nhật ký quyền truy cập tệp hoặc các hành động nhạy cảm khác."
},"pluralForm" :"nplurals=1; plural=0;"
}
+2 -2
View File
@@ -1,7 +1,7 @@
OC.L10N.register(
"admin_audit",
{
"Auditing / Logging" : "稽核記錄",
"Provides logging abilities for Nextcloud such as logging file accesses or otherwise sensitive actions." : "提供 Nextcloud 的記錄功能,例如錄檔存取或其他敏感操作。"
"Auditing / Logging" : "稽核/記錄",
"Provides logging abilities for Nextcloud such as logging file accesses or otherwise sensitive actions." : "提供 Nextcloud 的記錄功能,例如錄檔存取或其他敏感操作。"
},
"nplurals=1; plural=0;");
+2 -2
View File
@@ -1,5 +1,5 @@
{ "translations": {
"Auditing / Logging" : "稽核記錄",
"Provides logging abilities for Nextcloud such as logging file accesses or otherwise sensitive actions." : "提供 Nextcloud 的記錄功能,例如錄檔存取或其他敏感操作。"
"Auditing / Logging" : "稽核/記錄",
"Provides logging abilities for Nextcloud such as logging file accesses or otherwise sensitive actions." : "提供 Nextcloud 的記錄功能,例如錄檔存取或其他敏感操作。"
},"pluralForm" :"nplurals=1; plural=0;"
}
+2 -2
View File
@@ -32,13 +32,13 @@ class Action {
if (!isset($params[$element])) {
if ($obfuscateParameters) {
$this->logger->critical(
'$params["'.$element.'"] was missing.',
'$params["' . $element . '"] was missing.',
['app' => 'admin_audit']
);
} else {
$this->logger->critical(
sprintf(
'$params["'.$element.'"] was missing. Transferred value: %s',
'$params["' . $element . '"] was missing. Transferred value: %s',
print_r($params, true)
),
['app' => 'admin_audit']
@@ -1,42 +0,0 @@
<?php
declare(strict_types=1);
/**
* SPDX-FileCopyrightText: 2017 Nextcloud GmbH and Nextcloud contributors
* SPDX-License-Identifier: AGPL-3.0-or-later
*/
namespace OCA\AdminAudit\Actions;
class AppManagement extends Action {
/**
* @param string $appName
*/
public function enableApp(string $appName): void {
$this->log('App "%s" enabled',
['app' => $appName],
['app']
);
}
/**
* @param string $appName
* @param string[] $groups
*/
public function enableAppForGroups(string $appName, array $groups): void {
$this->log('App "%1$s" enabled for groups: %2$s',
['app' => $appName, 'groups' => implode(', ', $groups)],
['app', 'groups']
);
}
/**
* @param string $appName
*/
public function disableApp(string $appName): void {
$this->log('App "%s" disabled',
['app' => $appName],
['app']
);
}
}
-45
View File
@@ -1,45 +0,0 @@
<?php
declare(strict_types=1);
/**
* SPDX-FileCopyrightText: 2016 Nextcloud GmbH and Nextcloud contributors
* SPDX-License-Identifier: AGPL-3.0-or-later
*/
namespace OCA\AdminAudit\Actions;
/**
* Class Auth logs all auth related actions
*
* @package OCA\AdminAudit\Actions
*/
class Auth extends Action {
public function loginAttempt(array $params): void {
$this->log(
'Login attempt: "%s"',
$params,
[
'uid',
],
true
);
}
public function loginSuccessful(array $params): void {
$this->log(
'Login successful: "%s"',
$params,
[
'uid',
],
true
);
}
public function logout(array $params): void {
$this->log(
'Logout occurred',
[],
[]
);
}
}
-28
View File
@@ -1,28 +0,0 @@
<?php
declare(strict_types=1);
/**
* SPDX-FileCopyrightText: 2017 Nextcloud GmbH and Nextcloud contributors
* SPDX-License-Identifier: AGPL-3.0-or-later
*/
namespace OCA\AdminAudit\Actions;
class Console extends Action {
/**
* @param array $arguments
*/
public function runCommand(array $arguments): void {
if (!isset($arguments[1]) || $arguments[1] === '_completion') {
// Don't log autocompletion
return;
}
// Remove `./occ`
array_shift($arguments);
$this->log('Console command executed: %s',
['arguments' => implode(' ', $arguments)],
['arguments']
);
}
}
+22 -88
View File
@@ -8,17 +8,16 @@ declare(strict_types=1);
namespace OCA\AdminAudit\Actions;
use OC\Files\Node\NonExistingFile;
use OCP\Files\Events\Node\BeforeNodeDeletedEvent;
use OCP\Files\Events\Node\BeforeNodeReadEvent;
use OCP\Files\Events\Node\BeforeNodeRenamedEvent;
use OCP\Files\Events\Node\BeforeNodeWrittenEvent;
use OCP\Files\Events\Node\NodeCopiedEvent;
use OCP\Files\Events\Node\NodeCreatedEvent;
use OCP\Files\Events\Node\NodeDeletedEvent;
use OCP\Files\Events\Node\NodeRenamedEvent;
use OCP\Files\Events\Node\NodeWrittenEvent;
use OCP\Files\InvalidPathException;
use OCP\Files\NotFoundException;
use OCP\Preview\BeforePreviewFetchedEvent;
use OCP\Server;
use Psr\Log\LoggerInterface;
/**
@@ -29,10 +28,9 @@ use Psr\Log\LoggerInterface;
class Files extends Action {
private array $renamedNodes = [];
/**
* Logs file read actions
*
* @param BeforeNodeReadEvent $event
*/
public function read(BeforeNodeReadEvent $event): void {
try {
@@ -42,8 +40,8 @@ class Files extends Action {
'path' => mb_substr($node->getInternalPath(), 5),
];
} catch (InvalidPathException|NotFoundException $e) {
\OCP\Server::get(LoggerInterface::class)->error(
"Exception thrown in file read: ".$e->getMessage(), ['app' => 'admin_audit', 'exception' => $e]
Server::get(LoggerInterface::class)->error(
'Exception thrown in file read: ' . $e->getMessage(), ['app' => 'admin_audit', 'exception' => $e]
);
return;
}
@@ -56,16 +54,14 @@ class Files extends Action {
/**
* Logs rename actions of files
*
* @param BeforeNodeRenamedEvent $event
*/
public function beforeRename(BeforeNodeRenamedEvent $event): void {
try {
$source = $event->getSource();
$this->renamedNodes[$source->getId()] = $source;
} catch (InvalidPathException|NotFoundException $e) {
\OCP\Server::get(LoggerInterface::class)->error(
"Exception thrown in file rename: ".$e->getMessage(), ['app' => 'admin_audit', 'exception' => $e]
Server::get(LoggerInterface::class)->error(
'Exception thrown in file rename: ' . $e->getMessage(), ['app' => 'admin_audit', 'exception' => $e]
);
return;
}
@@ -73,8 +69,6 @@ class Files extends Action {
/**
* Logs rename actions of files
*
* @param NodeRenamedEvent $event
*/
public function afterRename(NodeRenamedEvent $event): void {
try {
@@ -86,8 +80,8 @@ class Files extends Action {
'newpath' => mb_substr($target->getInternalPath(), 5),
];
} catch (InvalidPathException|NotFoundException $e) {
\OCP\Server::get(LoggerInterface::class)->error(
"Exception thrown in file rename: ".$e->getMessage(), ['app' => 'admin_audit', 'exception' => $e]
Server::get(LoggerInterface::class)->error(
'Exception thrown in file rename: ' . $e->getMessage(), ['app' => 'admin_audit', 'exception' => $e]
);
return;
}
@@ -102,8 +96,6 @@ class Files extends Action {
/**
* Logs creation of files
*
* @param NodeCreatedEvent $event
*/
public function create(NodeCreatedEvent $event): void {
try {
@@ -112,8 +104,8 @@ class Files extends Action {
'path' => mb_substr($event->getNode()->getInternalPath(), 5),
];
} catch (InvalidPathException|NotFoundException $e) {
\OCP\Server::get(LoggerInterface::class)->error(
"Exception thrown in file create: ".$e->getMessage(), ['app' => 'admin_audit', 'exception' => $e]
Server::get(LoggerInterface::class)->error(
'Exception thrown in file create: ' . $e->getMessage(), ['app' => 'admin_audit', 'exception' => $e]
);
return;
}
@@ -129,8 +121,6 @@ class Files extends Action {
/**
* Logs copying of files
*
* @param NodeCopiedEvent $event
*/
public function copy(NodeCopiedEvent $event): void {
try {
@@ -141,8 +131,8 @@ class Files extends Action {
'newpath' => mb_substr($event->getTarget()->getInternalPath(), 5),
];
} catch (InvalidPathException|NotFoundException $e) {
\OCP\Server::get(LoggerInterface::class)->error(
"Exception thrown in file copy: ".$e->getMessage(), ['app' => 'admin_audit', 'exception' => $e]
Server::get(LoggerInterface::class)->error(
'Exception thrown in file copy: ' . $e->getMessage(), ['app' => 'admin_audit', 'exception' => $e]
);
return;
}
@@ -155,18 +145,17 @@ class Files extends Action {
/**
* Logs writing of files
*
* @param BeforeNodeWrittenEvent $event
*/
public function write(BeforeNodeWrittenEvent $event): void {
public function write(NodeWrittenEvent $event): void {
$node = $event->getNode();
try {
$params = [
'id' => $event->getNode()->getId(),
'path' => mb_substr($event->getNode()->getInternalPath(), 5),
'id' => $node->getId(),
'path' => mb_substr($node->getInternalPath(), 5),
];
} catch (InvalidPathException|NotFoundException $e) {
\OCP\Server::get(LoggerInterface::class)->error(
"Exception thrown in file write: ".$e->getMessage(), ['app' => 'admin_audit', 'exception' => $e]
Server::get(LoggerInterface::class)->error(
'Exception thrown in file write: ' . $e->getMessage(), ['app' => 'admin_audit', 'exception' => $e]
);
return;
}
@@ -181,44 +170,18 @@ class Files extends Action {
);
}
/**
* Logs update of files
*
* @param NodeWrittenEvent $event
*/
public function update(NodeWrittenEvent $event): void {
try {
$params = [
'id' => $event->getNode()->getId(),
'path' => mb_substr($event->getNode()->getInternalPath(), 5),
];
} catch (InvalidPathException|NotFoundException $e) {
\OCP\Server::get(LoggerInterface::class)->error(
"Exception thrown in file update: ".$e->getMessage(), ['app' => 'admin_audit', 'exception' => $e]
);
return;
}
$this->log(
'File with id "%s" updated: "%s"',
$params,
array_keys($params)
);
}
/**
* Logs deletions of files
*
* @param NodeDeletedEvent $event
*/
public function delete(NodeDeletedEvent $event): void {
public function delete(BeforeNodeDeletedEvent $event): void {
try {
$params = [
'id' => $event->getNode()->getId(),
'path' => mb_substr($event->getNode()->getInternalPath(), 5),
];
} catch (InvalidPathException|NotFoundException $e) {
\OCP\Server::get(LoggerInterface::class)->error(
"Exception thrown in file delete: ".$e->getMessage(), ['app' => 'admin_audit', 'exception' => $e]
Server::get(LoggerInterface::class)->error(
'Exception thrown in file delete: ' . $e->getMessage(), ['app' => 'admin_audit', 'exception' => $e]
);
return;
}
@@ -228,33 +191,4 @@ class Files extends Action {
array_keys($params)
);
}
/**
* Logs preview access to a file
*
* @param BeforePreviewFetchedEvent $event
*/
public function preview(BeforePreviewFetchedEvent $event): void {
try {
$file = $event->getNode();
$params = [
'id' => $file->getId(),
'width' => $event->getWidth(),
'height' => $event->getHeight(),
'crop' => $event->isCrop(),
'mode' => $event->getMode(),
'path' => mb_substr($file->getInternalPath(), 5)
];
} catch (InvalidPathException|NotFoundException $e) {
\OCP\Server::get(LoggerInterface::class)->error(
"Exception thrown in file preview: ".$e->getMessage(), ['app' => 'admin_audit', 'exception' => $e]
);
return;
}
$this->log(
'Preview accessed: (id: "%s", width: "%s", height: "%s" crop: "%s", mode: "%s", path: "%s")',
$params,
array_keys($params)
);
}
}
@@ -1,87 +0,0 @@
<?php
declare(strict_types=1);
/**
* SPDX-FileCopyrightText: 2016 Nextcloud GmbH and Nextcloud contributors
* SPDX-License-Identifier: AGPL-3.0-or-later
*/
namespace OCA\AdminAudit\Actions;
use OCP\IGroup;
use OCP\IUser;
/**
* Class GroupManagement logs all group manager related events
*
* @package OCA\AdminAudit\Actions
*/
class GroupManagement extends Action {
/**
* log add user to group event
*
* @param IGroup $group
* @param IUser $user
*/
public function addUser(IGroup $group, IUser $user): void {
$this->log('User "%s" added to group "%s"',
[
'group' => $group->getGID(),
'user' => $user->getUID()
],
[
'user', 'group'
]
);
}
/**
* log remove user from group event
*
* @param IGroup $group
* @param IUser $user
*/
public function removeUser(IGroup $group, IUser $user): void {
$this->log('User "%s" removed from group "%s"',
[
'group' => $group->getGID(),
'user' => $user->getUID()
],
[
'user', 'group'
]
);
}
/**
* log create group to group event
*
* @param IGroup $group
*/
public function createGroup(IGroup $group): void {
$this->log('Group created: "%s"',
[
'group' => $group->getGID()
],
[
'group'
]
);
}
/**
* log delete group to group event
*
* @param IGroup $group
*/
public function deleteGroup(IGroup $group): void {
$this->log('Group deleted: "%s"',
[
'group' => $group->getGID()
],
[
'group'
]
);
}
}
-60
View File
@@ -1,60 +0,0 @@
<?php
declare(strict_types=1);
/**
* SPDX-FileCopyrightText: 2018 Nextcloud GmbH and Nextcloud contributors
* SPDX-License-Identifier: AGPL-3.0-or-later
*/
namespace OCA\AdminAudit\Actions;
use OCP\Authentication\TwoFactorAuth\IProvider;
use OCP\IUser;
/**
* Class Sharing logs the sharing actions
*
* @package OCA\AdminAudit\Actions
*/
class Security extends Action {
/**
* Logs failed twofactor challenge
*/
public function twofactorFailed(IUser $user, IProvider $provider): void {
$params = [
'displayName' => $user->getDisplayName(),
'uid' => $user->getUID(),
'provider' => $provider->getDisplayName(),
];
$this->log(
'Failed two factor attempt by user %s (%s) with provider %s',
$params,
[
'displayName',
'uid',
'provider',
]
);
}
/**
* Logs successful twofactor challenge
*/
public function twofactorSuccess(IUser $user, IProvider $provider): void {
$params = [
'displayName' => $user->getDisplayName(),
'uid' => $user->getUID(),
'provider' => $provider->getDisplayName(),
];
$this->log(
'Successful two factor attempt by user %s (%s) with provider %s',
$params,
[
'displayName',
'uid',
'provider',
]
);
}
}
-267
View File
@@ -7,279 +7,12 @@ declare(strict_types=1);
*/
namespace OCA\AdminAudit\Actions;
use OCP\Share\IShare;
/**
* Class Sharing logs the sharing actions
*
* @package OCA\AdminAudit\Actions
*/
class Sharing extends Action {
/**
* Logs sharing of data
*
* @param array $params
*/
public function shared(array $params): void {
if ($params['shareType'] === IShare::TYPE_LINK) {
$this->log(
'The %s "%s" with ID "%s" has been shared via link with permissions "%s" (Share ID: %s)',
$params,
[
'itemType',
'path',
'itemSource',
'permissions',
'id',
]
);
} elseif ($params['shareType'] === IShare::TYPE_USER) {
$this->log(
'The %s "%s" with ID "%s" has been shared to the user "%s" with permissions "%s" (Share ID: %s)',
$params,
[
'itemType',
'path',
'itemSource',
'shareWith',
'permissions',
'id',
]
);
} elseif ($params['shareType'] === IShare::TYPE_GROUP) {
$this->log(
'The %s "%s" with ID "%s" has been shared to the group "%s" with permissions "%s" (Share ID: %s)',
$params,
[
'itemType',
'path',
'itemSource',
'shareWith',
'permissions',
'id',
]
);
} elseif ($params['shareType'] === IShare::TYPE_ROOM) {
$this->log(
'The %s "%s" with ID "%s" has been shared to the room "%s" with permissions "%s" (Share ID: %s)',
$params,
[
'itemType',
'path',
'itemSource',
'shareWith',
'permissions',
'id',
]
);
} elseif ($params['shareType'] === IShare::TYPE_EMAIL) {
$this->log(
'The %s "%s" with ID "%s" has been shared to the email recipient "%s" with permissions "%s" (Share ID: %s)',
$params,
[
'itemType',
'path',
'itemSource',
'shareWith',
'permissions',
'id',
]
);
} elseif ($params['shareType'] === IShare::TYPE_CIRCLE) {
$this->log(
'The %s "%s" with ID "%s" has been shared to the circle "%s" with permissions "%s" (Share ID: %s)',
$params,
[
'itemType',
'path',
'itemSource',
'shareWith',
'permissions',
'id',
]
);
} elseif ($params['shareType'] === IShare::TYPE_REMOTE) {
$this->log(
'The %s "%s" with ID "%s" has been shared to the remote user "%s" with permissions "%s" (Share ID: %s)',
$params,
[
'itemType',
'path',
'itemSource',
'shareWith',
'permissions',
'id',
]
);
} elseif ($params['shareType'] === IShare::TYPE_REMOTE_GROUP) {
$this->log(
'The %s "%s" with ID "%s" has been shared to the remote group "%s" with permissions "%s" (Share ID: %s)',
$params,
[
'itemType',
'path',
'itemSource',
'shareWith',
'permissions',
'id',
]
);
} elseif ($params['shareType'] === IShare::TYPE_DECK) {
$this->log(
'The %s "%s" with ID "%s" has been shared to the deck card "%s" with permissions "%s" (Share ID: %s)',
$params,
[
'itemType',
'path',
'itemSource',
'shareWith',
'permissions',
'id',
]
);
} elseif ($params['shareType'] === IShare::TYPE_SCIENCEMESH) {
$this->log(
'The %s "%s" with ID "%s" has been shared to the ScienceMesh user "%s" with permissions "%s" (Share ID: %s)',
$params,
[
'itemType',
'path',
'itemSource',
'shareWith',
'permissions',
'id',
]
);
}
}
/**
* Logs unsharing of data
*
* @param array $params
*/
public function unshare(array $params): void {
if ($params['shareType'] === IShare::TYPE_LINK) {
$this->log(
'The %s "%s" with ID "%s" has been unshared (Share ID: %s)',
$params,
[
'itemType',
'fileTarget',
'itemSource',
'id',
]
);
} elseif ($params['shareType'] === IShare::TYPE_USER) {
$this->log(
'The %s "%s" with ID "%s" has been unshared from the user "%s" (Share ID: %s)',
$params,
[
'itemType',
'fileTarget',
'itemSource',
'shareWith',
'id',
]
);
} elseif ($params['shareType'] === IShare::TYPE_GROUP) {
$this->log(
'The %s "%s" with ID "%s" has been unshared from the group "%s" (Share ID: %s)',
$params,
[
'itemType',
'fileTarget',
'itemSource',
'shareWith',
'id',
]
);
} elseif ($params['shareType'] === IShare::TYPE_ROOM) {
$this->log(
'The %s "%s" with ID "%s" has been unshared from the room "%s" (Share ID: %s)',
$params,
[
'itemType',
'fileTarget',
'itemSource',
'shareWith',
'id',
]
);
} elseif ($params['shareType'] === IShare::TYPE_EMAIL) {
$this->log(
'The %s "%s" with ID "%s" has been unshared from the email recipient "%s" (Share ID: %s)',
$params,
[
'itemType',
'fileTarget',
'itemSource',
'shareWith',
'id',
]
);
} elseif ($params['shareType'] === IShare::TYPE_CIRCLE) {
$this->log(
'The %s "%s" with ID "%s" has been unshared from the circle "%s" (Share ID: %s)',
$params,
[
'itemType',
'fileTarget',
'itemSource',
'shareWith',
'id',
]
);
} elseif ($params['shareType'] === IShare::TYPE_REMOTE) {
$this->log(
'The %s "%s" with ID "%s" has been unshared from the remote user "%s" (Share ID: %s)',
$params,
[
'itemType',
'fileTarget',
'itemSource',
'shareWith',
'id',
]
);
} elseif ($params['shareType'] === IShare::TYPE_REMOTE_GROUP) {
$this->log(
'The %s "%s" with ID "%s" has been unshared from the remote group "%s" (Share ID: %s)',
$params,
[
'itemType',
'fileTarget',
'itemSource',
'shareWith',
'id',
]
);
} elseif ($params['shareType'] === IShare::TYPE_DECK) {
$this->log(
'The %s "%s" with ID "%s" has been unshared from the deck card "%s" (Share ID: %s)',
$params,
[
'itemType',
'fileTarget',
'itemSource',
'shareWith',
'id',
]
);
} elseif ($params['shareType'] === IShare::TYPE_SCIENCEMESH) {
$this->log(
'The %s "%s" with ID "%s" has been unshared from the ScienceMesh user "%s" (Share ID: %s)',
$params,
[
'itemType',
'fileTarget',
'itemSource',
'shareWith',
'id',
]
);
}
}
/**
* Logs the updating of permission changes for shares
@@ -1,122 +0,0 @@
<?php
declare(strict_types=1);
/**
* SPDX-FileCopyrightText: 2016 Nextcloud GmbH and Nextcloud contributors
* SPDX-License-Identifier: AGPL-3.0-or-later
*/
namespace OCA\AdminAudit\Actions;
use OCP\IUser;
/**
* Class UserManagement logs all user management related actions.
*
* @package OCA\AdminAudit\Actions
*/
class UserManagement extends Action {
/**
* Log creation of users
*
* @param array $params
*/
public function create(array $params): void {
$this->log(
'User created: "%s"',
$params,
[
'uid',
]
);
}
/**
* Log assignments of users (typically user backends)
*
* @param string $uid
*/
public function assign(string $uid): void {
$this->log(
'UserID assigned: "%s"',
[ 'uid' => $uid ],
[ 'uid' ]
);
}
/**
* Log deletion of users
*
* @param array $params
*/
public function delete(array $params): void {
$this->log(
'User deleted: "%s"',
$params,
[
'uid',
]
);
}
/**
* Log unassignments of users (typically user backends, no data removed)
*
* @param string $uid
*/
public function unassign(string $uid): void {
$this->log(
'UserID unassigned: "%s"',
[ 'uid' => $uid ],
[ 'uid' ]
);
}
/**
* Log enabling of users
*
* @param array $params
*/
public function change(array $params): void {
switch ($params['feature']) {
case 'enabled':
$this->log(
$params['value'] === true
? 'User enabled: "%s"'
: 'User disabled: "%s"',
['user' => $params['user']->getUID()],
[
'user',
]
);
break;
case 'eMailAddress':
$this->log(
'Email address changed for user %s',
['user' => $params['user']->getUID()],
[
'user',
]
);
break;
}
}
/**
* Logs changing of the user scope
*
* @param IUser $user
*/
public function setPassword(IUser $user): void {
if ($user->getBackendClassName() === 'Database') {
$this->log(
'Password of user "%s" has been changed',
[
'user' => $user->getUID(),
],
[
'user',
]
);
}
}
}
+85 -127
View File
@@ -1,29 +1,35 @@
<?php
declare(strict_types=1);
/**
* SPDX-FileCopyrightText: 2017 Nextcloud GmbH and Nextcloud contributors
* SPDX-License-Identifier: AGPL-3.0-or-later
*/
namespace OCA\AdminAudit\AppInfo;
use OC\Group\Manager as GroupManager;
use OC\User\Session as UserSession;
use OCA\AdminAudit\Actions\AppManagement;
use OCA\AdminAudit\Actions\Auth;
use OCA\AdminAudit\Actions\Console;
use OCA\AdminAudit\Actions\Files;
use OCA\AdminAudit\Actions\GroupManagement;
use OCA\AdminAudit\Actions\Security;
use OCA\AdminAudit\Actions\Sharing;
use OCA\AdminAudit\Actions\TagManagement;
use OCA\AdminAudit\Actions\Trashbin;
use OCA\AdminAudit\Actions\UserManagement;
use OCA\AdminAudit\Actions\Versions;
use OCA\AdminAudit\AuditLogger;
use OCA\AdminAudit\IAuditLogger;
use OCA\AdminAudit\Listener\AppManagementEventListener;
use OCA\AdminAudit\Listener\AuthEventListener;
use OCA\AdminAudit\Listener\ConsoleEventListener;
use OCA\AdminAudit\Listener\CriticalActionPerformedEventListener;
use OCP\App\ManagerEvent;
use OCA\AdminAudit\Listener\FileEventListener;
use OCA\AdminAudit\Listener\GroupManagementEventListener;
use OCA\AdminAudit\Listener\SecurityEventListener;
use OCA\AdminAudit\Listener\SharingEventListener;
use OCA\AdminAudit\Listener\UserManagementEventListener;
use OCP\App\Events\AppDisableEvent;
use OCP\App\Events\AppEnableEvent;
use OCP\App\Events\AppUpdateEvent;
use OCP\AppFramework\App;
use OCP\AppFramework\Bootstrap\IBootContext;
use OCP\AppFramework\Bootstrap\IBootstrap;
@@ -32,29 +38,39 @@ use OCP\Authentication\TwoFactorAuth\TwoFactorProviderChallengeFailed;
use OCP\Authentication\TwoFactorAuth\TwoFactorProviderChallengePassed;
use OCP\Console\ConsoleEvent;
use OCP\EventDispatcher\IEventDispatcher;
use OCP\Files\Events\Node\BeforeNodeDeletedEvent;
use OCP\Files\Events\Node\BeforeNodeReadEvent;
use OCP\Files\Events\Node\BeforeNodeRenamedEvent;
use OCP\Files\Events\Node\BeforeNodeWrittenEvent;
use OCP\Files\Events\Node\NodeCopiedEvent;
use OCP\Files\Events\Node\NodeCreatedEvent;
use OCP\Files\Events\Node\NodeDeletedEvent;
use OCP\Files\Events\Node\NodeRenamedEvent;
use OCP\Files\Events\Node\NodeWrittenEvent;
use OCP\Group\Events\GroupCreatedEvent;
use OCP\Group\Events\GroupDeletedEvent;
use OCP\Group\Events\UserAddedEvent;
use OCP\Group\Events\UserRemovedEvent;
use OCP\IConfig;
use OCP\IGroupManager;
use OCP\IUserSession;
use OCP\Log\Audit\CriticalActionPerformedEvent;
use OCP\Log\ILogFactory;
use OCP\Preview\BeforePreviewFetchedEvent;
use OCP\Share;
use OCP\Share\Events\ShareCreatedEvent;
use OCP\Share\Events\ShareDeletedEvent;
use OCP\SystemTag\ManagerEvent;
use OCP\User\Events\BeforeUserLoggedInEvent;
use OCP\User\Events\BeforeUserLoggedOutEvent;
use OCP\User\Events\PasswordUpdatedEvent;
use OCP\User\Events\UserChangedEvent;
use OCP\User\Events\UserCreatedEvent;
use OCP\User\Events\UserDeletedEvent;
use OCP\User\Events\UserIdAssignedEvent;
use OCP\User\Events\UserIdUnassignedEvent;
use OCP\User\Events\UserLoggedInEvent;
use OCP\User\Events\UserLoggedInWithCookieEvent;
use OCP\Util;
use Psr\Container\ContainerInterface;
use Psr\Log\LoggerInterface;
class Application extends App implements IBootstrap {
/** @var LoggerInterface */
protected $logger;
public function __construct() {
parent::__construct('admin_audit');
}
@@ -65,6 +81,45 @@ class Application extends App implements IBootstrap {
});
$context->registerEventListener(CriticalActionPerformedEvent::class, CriticalActionPerformedEventListener::class);
// User management events
$context->registerEventListener(UserCreatedEvent::class, UserManagementEventListener::class);
$context->registerEventListener(UserDeletedEvent::class, UserManagementEventListener::class);
$context->registerEventListener(UserChangedEvent::class, UserManagementEventListener::class);
$context->registerEventListener(PasswordUpdatedEvent::class, UserManagementEventListener::class);
$context->registerEventListener(UserIdAssignedEvent::class, UserManagementEventListener::class);
$context->registerEventListener(UserIdUnassignedEvent::class, UserManagementEventListener::class);
// Group management events
$context->registerEventListener(UserAddedEvent::class, GroupManagementEventListener::class);
$context->registerEventListener(UserRemovedEvent::class, GroupManagementEventListener::class);
$context->registerEventListener(GroupCreatedEvent::class, GroupManagementEventListener::class);
$context->registerEventListener(GroupDeletedEvent::class, GroupManagementEventListener::class);
// Sharing events
$context->registerEventListener(ShareCreatedEvent::class, SharingEventListener::class);
$context->registerEventListener(ShareDeletedEvent::class, SharingEventListener::class);
// Auth events
$context->registerEventListener(BeforeUserLoggedInEvent::class, AuthEventListener::class);
$context->registerEventListener(UserLoggedInWithCookieEvent::class, AuthEventListener::class);
$context->registerEventListener(UserLoggedInEvent::class, AuthEventListener::class);
$context->registerEventListener(BeforeUserLoggedOutEvent::class, AuthEventListener::class);
// File events
$context->registerEventListener(BeforePreviewFetchedEvent::class, FileEventListener::class);
// Security events
$context->registerEventListener(TwoFactorProviderChallengePassed::class, SecurityEventListener::class);
$context->registerEventListener(TwoFactorProviderChallengeFailed::class, SecurityEventListener::class);
// App management events
$context->registerEventListener(AppEnableEvent::class, AppManagementEventListener::class);
$context->registerEventListener(AppDisableEvent::class, AppManagementEventListener::class);
$context->registerEventListener(AppUpdateEvent::class, AppManagementEventListener::class);
// Console events
$context->registerEventListener(ConsoleEvent::class, ConsoleEventListener::class);
}
public function boot(IBootContext $context): void {
@@ -75,172 +130,87 @@ class Application extends App implements IBootstrap {
* TODO: once the hooks are migrated to lazy events, this should be done
* in \OCA\AdminAudit\AppInfo\Application::register
*/
$this->registerHooks($logger, $context->getServerContainer());
$this->registerLegacyHooks($logger, $context->getServerContainer());
}
/**
* Register hooks in order to log them
*/
private function registerHooks(IAuditLogger $logger,
ContainerInterface $serverContainer): void {
$this->userManagementHooks($logger, $serverContainer->get(IUserSession::class));
$this->groupHooks($logger, $serverContainer->get(IGroupManager::class));
$this->authHooks($logger);
private function registerLegacyHooks(IAuditLogger $logger, ContainerInterface $serverContainer): void {
/** @var IEventDispatcher $eventDispatcher */
$eventDispatcher = $serverContainer->get(IEventDispatcher::class);
$this->consoleHooks($logger, $eventDispatcher);
$this->appHooks($logger, $eventDispatcher);
$this->sharingHooks($logger);
$this->sharingLegacyHooks($logger);
$this->fileHooks($logger, $eventDispatcher);
$this->trashbinHooks($logger);
$this->versionsHooks($logger);
$this->securityHooks($logger, $eventDispatcher);
$this->tagHooks($logger, $eventDispatcher);
}
private function userManagementHooks(IAuditLogger $logger,
IUserSession $userSession): void {
$userActions = new UserManagement($logger);
Util::connectHook('OC_User', 'post_createUser', $userActions, 'create');
Util::connectHook('OC_User', 'post_deleteUser', $userActions, 'delete');
Util::connectHook('OC_User', 'changeUser', $userActions, 'change');
assert($userSession instanceof UserSession);
$userSession->listen('\OC\User', 'postSetPassword', [$userActions, 'setPassword']);
$userSession->listen('\OC\User', 'assignedUserId', [$userActions, 'assign']);
$userSession->listen('\OC\User', 'postUnassignedUserId', [$userActions, 'unassign']);
}
private function groupHooks(IAuditLogger $logger,
IGroupManager $groupManager): void {
$groupActions = new GroupManagement($logger);
assert($groupManager instanceof GroupManager);
$groupManager->listen('\OC\Group', 'postRemoveUser', [$groupActions, 'removeUser']);
$groupManager->listen('\OC\Group', 'postAddUser', [$groupActions, 'addUser']);
$groupManager->listen('\OC\Group', 'postDelete', [$groupActions, 'deleteGroup']);
$groupManager->listen('\OC\Group', 'postCreate', [$groupActions, 'createGroup']);
}
private function sharingHooks(IAuditLogger $logger): void {
private function sharingLegacyHooks(IAuditLogger $logger): void {
$shareActions = new Sharing($logger);
Util::connectHook(Share::class, 'post_shared', $shareActions, 'shared');
Util::connectHook(Share::class, 'post_unshare', $shareActions, 'unshare');
Util::connectHook(Share::class, 'post_unshareFromSelf', $shareActions, 'unshare');
Util::connectHook(Share::class, 'post_update_permissions', $shareActions, 'updatePermissions');
Util::connectHook(Share::class, 'post_update_password', $shareActions, 'updatePassword');
Util::connectHook(Share::class, 'post_set_expiration_date', $shareActions, 'updateExpirationDate');
Util::connectHook(Share::class, 'share_link_access', $shareActions, 'shareAccessed');
}
private function authHooks(IAuditLogger $logger): void {
$authActions = new Auth($logger);
Util::connectHook('OC_User', 'pre_login', $authActions, 'loginAttempt');
Util::connectHook('OC_User', 'post_login', $authActions, 'loginSuccessful');
Util::connectHook('OC_User', 'logout', $authActions, 'logout');
}
private function appHooks(IAuditLogger $logger,
IEventDispatcher $eventDispatcher): void {
$eventDispatcher->addListener(ManagerEvent::EVENT_APP_ENABLE, function (ManagerEvent $event) use ($logger) {
$appActions = new AppManagement($logger);
$appActions->enableApp($event->getAppID());
});
$eventDispatcher->addListener(ManagerEvent::EVENT_APP_ENABLE_FOR_GROUPS, function (ManagerEvent $event) use ($logger) {
$appActions = new AppManagement($logger);
$appActions->enableAppForGroups($event->getAppID(), $event->getGroups());
});
$eventDispatcher->addListener(ManagerEvent::EVENT_APP_DISABLE, function (ManagerEvent $event) use ($logger) {
$appActions = new AppManagement($logger);
$appActions->disableApp($event->getAppID());
});
}
private function consoleHooks(IAuditLogger $logger,
IEventDispatcher $eventDispatcher): void {
$eventDispatcher->addListener(ConsoleEvent::class, function (ConsoleEvent $event) use ($logger) {
$appActions = new Console($logger);
$appActions->runCommand($event->getArguments());
});
}
private function tagHooks(IAuditLogger $logger,
IEventDispatcher $eventDispatcher): void {
$eventDispatcher->addListener(\OCP\SystemTag\ManagerEvent::EVENT_CREATE, function (\OCP\SystemTag\ManagerEvent $event) use ($logger) {
$eventDispatcher->addListener(ManagerEvent::EVENT_CREATE, function (ManagerEvent $event) use ($logger): void {
$tagActions = new TagManagement($logger);
$tagActions->createTag($event->getTag());
});
}
private function fileHooks(IAuditLogger $logger,
IEventDispatcher $eventDispatcher): void {
private function fileHooks(IAuditLogger $logger, IEventDispatcher $eventDispatcher): void {
$fileActions = new Files($logger);
$eventDispatcher->addListener(
BeforePreviewFetchedEvent::class,
function (BeforePreviewFetchedEvent $event) use ($fileActions) {
$fileActions->preview($event);
}
);
$eventDispatcher->addListener(
BeforeNodeRenamedEvent::class,
function (BeforeNodeRenamedEvent $event) use ($fileActions) {
function (BeforeNodeRenamedEvent $event) use ($fileActions): void {
$fileActions->beforeRename($event);
}
);
$eventDispatcher->addListener(
NodeRenamedEvent::class,
function (NodeRenamedEvent $event) use ($fileActions) {
function (NodeRenamedEvent $event) use ($fileActions): void {
$fileActions->afterRename($event);
}
);
$eventDispatcher->addListener(
NodeCreatedEvent::class,
function (NodeCreatedEvent $event) use ($fileActions) {
function (NodeCreatedEvent $event) use ($fileActions): void {
$fileActions->create($event);
}
);
$eventDispatcher->addListener(
NodeCopiedEvent::class,
function (NodeCopiedEvent $event) use ($fileActions) {
function (NodeCopiedEvent $event) use ($fileActions): void {
$fileActions->copy($event);
}
);
$eventDispatcher->addListener(
BeforeNodeWrittenEvent::class,
function (BeforeNodeWrittenEvent $event) use ($fileActions) {
NodeWrittenEvent::class,
function (NodeWrittenEvent $event) use ($fileActions): void {
$fileActions->write($event);
}
);
$eventDispatcher->addListener(
NodeWrittenEvent::class,
function (NodeWrittenEvent $event) use ($fileActions) {
$fileActions->update($event);
}
);
$eventDispatcher->addListener(
BeforeNodeReadEvent::class,
function (BeforeNodeReadEvent $event) use ($fileActions) {
function (BeforeNodeReadEvent $event) use ($fileActions): void {
$fileActions->read($event);
}
);
$eventDispatcher->addListener(
NodeDeletedEvent::class,
function (NodeDeletedEvent $event) use ($fileActions) {
BeforeNodeDeletedEvent::class,
function (BeforeNodeDeletedEvent $event) use ($fileActions): void {
$fileActions->delete($event);
}
);
@@ -257,16 +227,4 @@ class Application extends App implements IBootstrap {
Util::connectHook('\OCP\Trashbin', 'preDelete', $trashActions, 'delete');
Util::connectHook('\OCA\Files_Trashbin\Trashbin', 'post_restore', $trashActions, 'restore');
}
private function securityHooks(IAuditLogger $logger,
IEventDispatcher $eventDispatcher): void {
$eventDispatcher->addListener(TwoFactorProviderChallengePassed::class, function (TwoFactorProviderChallengePassed $event) use ($logger) {
$security = new Security($logger);
$security->twofactorSuccess($event->getUser(), $event->getProvider());
});
$eventDispatcher->addListener(TwoFactorProviderChallengeFailed::class, function (TwoFactorProviderChallengeFailed $event) use ($logger) {
$security = new Security($logger);
$security->twofactorFailed($event->getUser(), $event->getProvider());
});
}
}
+3
View File
@@ -1,9 +1,12 @@
<?php
declare(strict_types=1);
/**
* SPDX-FileCopyrightText: 2022 Nextcloud GmbH and Nextcloud contributors
* SPDX-License-Identifier: AGPL-3.0-or-later
*/
namespace OCA\AdminAudit;
use OCP\IConfig;
@@ -0,0 +1,60 @@
<?php
declare(strict_types=1);
/**
* SPDX-FileCopyrightText: 2017 Nextcloud GmbH and Nextcloud contributors
* SPDX-License-Identifier: AGPL-3.0-or-later
*/
namespace OCA\AdminAudit\Listener;
use OCA\AdminAudit\Actions\Action;
use OCP\App\Events\AppDisableEvent;
use OCP\App\Events\AppEnableEvent;
use OCP\App\Events\AppUpdateEvent;
use OCP\EventDispatcher\Event;
use OCP\EventDispatcher\IEventListener;
/**
* @template-implements IEventListener<AppEnableEvent|AppDisableEvent|AppUpdateEvent>
*/
class AppManagementEventListener extends Action implements IEventListener {
public function handle(Event $event): void {
if ($event instanceof AppEnableEvent) {
$this->appEnable($event);
} elseif ($event instanceof AppDisableEvent) {
$this->appDisable($event);
} elseif ($event instanceof AppUpdateEvent) {
$this->appUpdate($event);
}
}
private function appEnable(AppEnableEvent $event): void {
if (empty($event->getGroupIds())) {
$this->log('App "%s" enabled',
['app' => $event->getAppId()],
['app']
);
} else {
$this->log('App "%1$s" enabled for groups: %2$s',
['app' => $event->getAppId(), 'groups' => implode(', ', $event->getGroupIds())],
['app', 'groups']
);
}
}
private function appDisable(AppDisableEvent $event): void {
$this->log('App "%s" disabled',
['app' => $event->getAppId()],
['app']
);
}
private function appUpdate(AppUpdateEvent $event): void {
$this->log('App "%s" updated',
['app' => $event->getAppId()],
['app']
);
}
}
@@ -0,0 +1,67 @@
<?php
declare(strict_types=1);
/**
* SPDX-FileCopyrightText: 2017 Nextcloud GmbH and Nextcloud contributors
* SPDX-License-Identifier: AGPL-3.0-or-later
*/
namespace OCA\AdminAudit\Listener;
use OCA\AdminAudit\Actions\Action;
use OCP\EventDispatcher\Event;
use OCP\EventDispatcher\IEventListener;
use OCP\User\Events\BeforeUserLoggedInEvent;
use OCP\User\Events\BeforeUserLoggedOutEvent;
use OCP\User\Events\UserLoggedInEvent;
use OCP\User\Events\UserLoggedInWithCookieEvent;
/**
* @template-implements IEventListener<BeforeUserLoggedInEvent|UserLoggedInWithCookieEvent|UserLoggedInEvent|BeforeUserLoggedOutEvent>
*/
class AuthEventListener extends Action implements IEventListener {
public function handle(Event $event): void {
if ($event instanceof BeforeUserLoggedInEvent) {
$this->beforeUserLoggedIn($event);
} elseif ($event instanceof UserLoggedInWithCookieEvent || $event instanceof UserLoggedInEvent) {
$this->userLoggedIn($event);
} elseif ($event instanceof BeforeUserLoggedOutEvent) {
$this->beforeUserLogout($event);
}
}
private function beforeUserLoggedIn(BeforeUserLoggedInEvent $event): void {
$this->log(
'Login attempt: "%s"',
[
'uid' => $event->getUsername()
],
[
'uid',
],
true
);
}
private function userLoggedIn(UserLoggedInWithCookieEvent|UserLoggedInEvent $event): void {
$this->log(
'Login successful: "%s"',
[
'uid' => $event->getUser()->getUID()
],
[
'uid',
],
true
);
}
private function beforeUserLogout(BeforeUserLoggedOutEvent $event): void {
$this->log(
'Logout occurred',
[],
[]
);
}
}
@@ -0,0 +1,42 @@
<?php
declare(strict_types=1);
/**
* SPDX-FileCopyrightText: 2017 Nextcloud GmbH and Nextcloud contributors
* SPDX-License-Identifier: AGPL-3.0-or-later
*/
namespace OCA\AdminAudit\Listener;
use OCA\AdminAudit\Actions\Action;
use OCP\Console\ConsoleEvent;
use OCP\EventDispatcher\Event;
use OCP\EventDispatcher\IEventListener;
/**
* @template-implements IEventListener<ConsoleEvent>
*/
class ConsoleEventListener extends Action implements IEventListener {
public function handle(Event $event): void {
if ($event instanceof ConsoleEvent) {
$this->runCommand($event);
}
}
private function runCommand(ConsoleEvent $event): void {
$arguments = $event->getArguments();
if (!isset($arguments[1]) || $arguments[1] === '_completion') {
// Don't log autocompletion
return;
}
// Remove `./occ`
array_shift($arguments);
$this->log('Console command executed: %s',
['arguments' => implode(' ', $arguments)],
['arguments']
);
}
}
@@ -1,10 +1,12 @@
<?php
declare(strict_types=1);
/**
* SPDX-FileCopyrightText: 2021 Nextcloud GmbH and Nextcloud contributors
* SPDX-License-Identifier: AGPL-3.0-or-later
*/
namespace OCA\AdminAudit\Listener;
use OCA\AdminAudit\Actions\Action;
@@ -0,0 +1,57 @@
<?php
declare(strict_types=1);
/**
* SPDX-FileCopyrightText: 2017 Nextcloud GmbH and Nextcloud contributors
* SPDX-License-Identifier: AGPL-3.0-or-later
*/
namespace OCA\AdminAudit\Listener;
use OCA\AdminAudit\Actions\Action;
use OCP\EventDispatcher\Event;
use OCP\EventDispatcher\IEventListener;
use OCP\Files\InvalidPathException;
use OCP\Files\NotFoundException;
use OCP\Preview\BeforePreviewFetchedEvent;
use OCP\Server;
use Psr\Log\LoggerInterface;
/**
* @template-implements IEventListener<BeforePreviewFetchedEvent>
*/
class FileEventListener extends Action implements IEventListener {
public function handle(Event $event): void {
if ($event instanceof BeforePreviewFetchedEvent) {
$this->beforePreviewFetched($event);
}
}
/**
* Logs preview access to a file
*/
private function beforePreviewFetched(BeforePreviewFetchedEvent $event): void {
try {
$file = $event->getNode();
$params = [
'id' => $file->getId(),
'width' => $event->getWidth(),
'height' => $event->getHeight(),
'crop' => $event->isCrop(),
'mode' => $event->getMode(),
'path' => mb_substr($file->getInternalPath(), 5)
];
$this->log(
'Preview accessed: (id: "%s", width: "%s", height: "%s" crop: "%s", mode: "%s", path: "%s")',
$params,
array_keys($params)
);
} catch (InvalidPathException|NotFoundException $e) {
Server::get(LoggerInterface::class)->error(
'Exception thrown in file preview: ' . $e->getMessage(), ['app' => 'admin_audit', 'exception' => $e]
);
return;
}
}
}
@@ -0,0 +1,81 @@
<?php
declare(strict_types=1);
/**
* SPDX-FileCopyrightText: 2017 Nextcloud GmbH and Nextcloud contributors
* SPDX-License-Identifier: AGPL-3.0-or-later
*/
namespace OCA\AdminAudit\Listener;
use OCA\AdminAudit\Actions\Action;
use OCP\EventDispatcher\Event;
use OCP\EventDispatcher\IEventListener;
use OCP\Group\Events\GroupCreatedEvent;
use OCP\Group\Events\GroupDeletedEvent;
use OCP\Group\Events\UserAddedEvent;
use OCP\Group\Events\UserRemovedEvent;
/**
* @template-implements IEventListener<UserAddedEvent|UserRemovedEvent|GroupCreatedEvent|GroupDeletedEvent>
*/
class GroupManagementEventListener extends Action implements IEventListener {
public function handle(Event $event): void {
if ($event instanceof UserAddedEvent) {
$this->userAdded($event);
} elseif ($event instanceof UserRemovedEvent) {
$this->userRemoved($event);
} elseif ($event instanceof GroupCreatedEvent) {
$this->groupCreated($event);
} elseif ($event instanceof GroupDeletedEvent) {
$this->groupDeleted($event);
}
}
private function userAdded(UserAddedEvent $event): void {
$this->log('User "%s" added to group "%s"',
[
'group' => $event->getGroup()->getGID(),
'user' => $event->getUser()->getUID()
],
[
'user', 'group'
]
);
}
private function userRemoved(UserRemovedEvent $event): void {
$this->log('User "%s" removed from group "%s"',
[
'group' => $event->getGroup()->getGID(),
'user' => $event->getUser()->getUID()
],
[
'user', 'group'
]
);
}
private function groupCreated(GroupCreatedEvent $event): void {
$this->log('Group created: "%s"',
[
'group' => $event->getGroup()->getGID()
],
[
'group'
]
);
}
private function groupDeleted(GroupDeletedEvent $event): void {
$this->log('Group deleted: "%s"',
[
'group' => $event->getGroup()->getGID()
],
[
'group'
]
);
}
}
@@ -0,0 +1,61 @@
<?php
declare(strict_types=1);
/**
* SPDX-FileCopyrightText: 2017 Nextcloud GmbH and Nextcloud contributors
* SPDX-License-Identifier: AGPL-3.0-or-later
*/
namespace OCA\AdminAudit\Listener;
use OCA\AdminAudit\Actions\Action;
use OCP\Authentication\TwoFactorAuth\TwoFactorProviderChallengeFailed;
use OCP\Authentication\TwoFactorAuth\TwoFactorProviderChallengePassed;
use OCP\EventDispatcher\Event;
use OCP\EventDispatcher\IEventListener;
/**
* @template-implements IEventListener<TwoFactorProviderChallengePassed|TwoFactorProviderChallengeFailed>
*/
class SecurityEventListener extends Action implements IEventListener {
public function handle(Event $event): void {
if ($event instanceof TwoFactorProviderChallengePassed) {
$this->twoFactorProviderChallengePassed($event);
} elseif ($event instanceof TwoFactorProviderChallengeFailed) {
$this->twoFactorProviderChallengeFailed($event);
}
}
private function twoFactorProviderChallengePassed(TwoFactorProviderChallengePassed $event): void {
$this->log(
'Successful two factor attempt by user %s (%s) with provider %s',
[
'uid' => $event->getUser()->getUID(),
'displayName' => $event->getUser()->getDisplayName(),
'provider' => $event->getProvider()->getDisplayName()
],
[
'displayName',
'uid',
'provider',
]
);
}
private function twoFactorProviderChallengeFailed(TwoFactorProviderChallengeFailed $event): void {
$this->log(
'Failed two factor attempt by user %s (%s) with provider %s',
[
'uid' => $event->getUser()->getUID(),
'displayName' => $event->getUser()->getDisplayName(),
'provider' => $event->getProvider()->getDisplayName()
],
[
'displayName',
'uid',
'provider',
]
);
}
}
@@ -0,0 +1,291 @@
<?php
declare(strict_types=1);
/**
* SPDX-FileCopyrightText: 2017 Nextcloud GmbH and Nextcloud contributors
* SPDX-License-Identifier: AGPL-3.0-or-later
*/
namespace OCA\AdminAudit\Listener;
use OCA\AdminAudit\Actions\Action;
use OCP\EventDispatcher\Event;
use OCP\EventDispatcher\IEventListener;
use OCP\Share\Events\ShareCreatedEvent;
use OCP\Share\Events\ShareDeletedEvent;
use OCP\Share\IShare;
/**
* @template-implements IEventListener<ShareCreatedEvent|ShareDeletedEvent>
*/
class SharingEventListener extends Action implements IEventListener {
public function handle(Event $event): void {
if ($event instanceof ShareCreatedEvent) {
$this->shareCreated($event);
} elseif ($event instanceof ShareDeletedEvent) {
$this->shareDeleted($event);
}
}
private function shareCreated(ShareCreatedEvent $event): void {
$share = $event->getShare();
$params = [
'itemType' => $share->getNodeType(),
'path' => $share->getNode()->getPath(),
'itemSource' => $share->getNodeId(),
'shareWith' => $share->getSharedWith(),
'permissions' => $share->getPermissions(),
'id' => $share->getId()
];
match ($share->getShareType()) {
IShare::TYPE_LINK => $this->log(
'The %s "%s" with ID "%s" has been shared via link with permissions "%s" (Share ID: %s)',
$params,
[
'itemType',
'path',
'itemSource',
'permissions',
'id',
]
),
IShare::TYPE_USER => $this->log(
'The %s "%s" with ID "%s" has been shared to the user "%s" with permissions "%s" (Share ID: %s)',
$params,
[
'itemType',
'path',
'itemSource',
'shareWith',
'permissions',
'id',
]
),
IShare::TYPE_GROUP => $this->log(
'The %s "%s" with ID "%s" has been shared to the group "%s" with permissions "%s" (Share ID: %s)',
$params,
[
'itemType',
'path',
'itemSource',
'shareWith',
'permissions',
'id',
]
),
IShare::TYPE_ROOM => $this->log(
'The %s "%s" with ID "%s" has been shared to the room "%s" with permissions "%s" (Share ID: %s)',
$params,
[
'itemType',
'path',
'itemSource',
'shareWith',
'permissions',
'id',
]
),
IShare::TYPE_EMAIL => $this->log(
'The %s "%s" with ID "%s" has been shared to the email recipient "%s" with permissions "%s" (Share ID: %s)',
$params,
[
'itemType',
'path',
'itemSource',
'shareWith',
'permissions',
'id',
]
),
IShare::TYPE_CIRCLE => $this->log(
'The %s "%s" with ID "%s" has been shared to the circle "%s" with permissions "%s" (Share ID: %s)',
$params,
[
'itemType',
'path',
'itemSource',
'shareWith',
'permissions',
'id',
]
),
IShare::TYPE_REMOTE => $this->log(
'The %s "%s" with ID "%s" has been shared to the remote user "%s" with permissions "%s" (Share ID: %s)',
$params,
[
'itemType',
'path',
'itemSource',
'shareWith',
'permissions',
'id',
]
),
IShare::TYPE_REMOTE_GROUP => $this->log(
'The %s "%s" with ID "%s" has been shared to the remote group "%s" with permissions "%s" (Share ID: %s)',
$params,
[
'itemType',
'path',
'itemSource',
'shareWith',
'permissions',
'id',
]
),
IShare::TYPE_DECK => $this->log(
'The %s "%s" with ID "%s" has been shared to the deck card "%s" with permissions "%s" (Share ID: %s)',
$params,
[
'itemType',
'path',
'itemSource',
'shareWith',
'permissions',
'id',
]
),
IShare::TYPE_SCIENCEMESH => $this->log(
'The %s "%s" with ID "%s" has been shared to the sciencemesh user "%s" with permissions "%s" (Share ID: %s)',
$params,
[
'itemType',
'path',
'itemSource',
'shareWith',
'permissions',
'id',
]
),
default => null
};
}
private function shareDeleted(ShareDeletedEvent $event): void {
$share = $event->getShare();
$params = [
'itemType' => $share->getNodeType(),
'fileTarget' => $share->getTarget(),
'itemSource' => $share->getNodeId(),
'shareWith' => $share->getSharedWith(),
'id' => $share->getId()
];
match ($share->getShareType()) {
IShare::TYPE_LINK => $this->log(
'The %s "%s" with ID "%s" has been unshared (Share ID: %s)',
$params,
[
'itemType',
'fileTarget',
'itemSource',
'id',
]
),
IShare::TYPE_USER => $this->log(
'The %s "%s" with ID "%s" has been unshared from the user "%s" (Share ID: %s)',
$params,
[
'itemType',
'fileTarget',
'itemSource',
'shareWith',
'id',
]
),
IShare::TYPE_GROUP => $this->log(
'The %s "%s" with ID "%s" has been unshared from the group "%s" (Share ID: %s)',
$params,
[
'itemType',
'fileTarget',
'itemSource',
'shareWith',
'id',
]
),
IShare::TYPE_ROOM => $this->log(
'The %s "%s" with ID "%s" has been unshared from the room "%s" (Share ID: %s)',
$params,
[
'itemType',
'fileTarget',
'itemSource',
'shareWith',
'id',
]
),
IShare::TYPE_EMAIL => $this->log(
'The %s "%s" with ID "%s" has been unshared from the email recipient "%s" (Share ID: %s)',
$params,
[
'itemType',
'fileTarget',
'itemSource',
'shareWith',
'id',
]
),
IShare::TYPE_CIRCLE => $this->log(
'The %s "%s" with ID "%s" has been unshared from the circle "%s" (Share ID: %s)',
$params,
[
'itemType',
'fileTarget',
'itemSource',
'shareWith',
'id',
]
),
IShare::TYPE_REMOTE => $this->log(
'The %s "%s" with ID "%s" has been unshared from the remote user "%s" (Share ID: %s)',
$params,
[
'itemType',
'fileTarget',
'itemSource',
'shareWith',
'id',
]
),
IShare::TYPE_REMOTE_GROUP => $this->log(
'The %s "%s" with ID "%s" has been unshared from the remote group "%s" (Share ID: %s)',
$params,
[
'itemType',
'fileTarget',
'itemSource',
'shareWith',
'id',
]
),
IShare::TYPE_DECK => $this->log(
'The %s "%s" with ID "%s" has been unshared from the deck card "%s" (Share ID: %s)',
$params,
[
'itemType',
'fileTarget',
'itemSource',
'shareWith',
'id',
]
),
IShare::TYPE_SCIENCEMESH => $this->log(
'The %s "%s" with ID "%s" has been unshared from the sciencemesh user "%s" (Share ID: %s)',
$params,
[
'itemType',
'fileTarget',
'itemSource',
'shareWith',
'id',
]
),
default => null
};
}
}
@@ -0,0 +1,126 @@
<?php
declare(strict_types=1);
/**
* SPDX-FileCopyrightText: 2017 Nextcloud GmbH and Nextcloud contributors
* SPDX-License-Identifier: AGPL-3.0-or-later
*/
namespace OCA\AdminAudit\Listener;
use OCA\AdminAudit\Actions\Action;
use OCP\EventDispatcher\Event;
use OCP\EventDispatcher\IEventListener;
use OCP\User\Events\PasswordUpdatedEvent;
use OCP\User\Events\UserChangedEvent;
use OCP\User\Events\UserCreatedEvent;
use OCP\User\Events\UserDeletedEvent;
use OCP\User\Events\UserIdAssignedEvent;
use OCP\User\Events\UserIdUnassignedEvent;
/**
* @template-implements IEventListener<UserCreatedEvent|UserDeletedEvent|UserChangedEvent|PasswordUpdatedEvent|UserIdAssignedEvent|UserIdUnassignedEvent>
*/
class UserManagementEventListener extends Action implements IEventListener {
public function handle(Event $event): void {
if ($event instanceof UserCreatedEvent) {
$this->userCreated($event);
} elseif ($event instanceof UserDeletedEvent) {
$this->userDeleted($event);
} elseif ($event instanceof UserChangedEvent) {
$this->userChanged($event);
} elseif ($event instanceof PasswordUpdatedEvent) {
$this->passwordUpdated($event);
} elseif ($event instanceof UserIdAssignedEvent) {
$this->userIdAssigned($event);
} elseif ($event instanceof UserIdUnassignedEvent) {
$this->userIdUnassigned($event);
}
}
private function userCreated(UserCreatedEvent $event): void {
$this->log(
'User created: "%s"',
[
'uid' => $event->getUid()
],
[
'uid',
]
);
}
private function userDeleted(UserDeletedEvent $event): void {
$this->log(
'User deleted: "%s"',
[
'uid' => $event->getUser()->getUID()
],
[
'uid',
]
);
}
private function userChanged(UserChangedEvent $event): void {
switch ($event->getFeature()) {
case 'enabled':
$this->log(
$event->getValue() === true
? 'User enabled: "%s"'
: 'User disabled: "%s"',
['user' => $event->getUser()->getUID()],
[
'user',
]
);
break;
case 'eMailAddress':
$this->log(
'Email address changed for user %s',
['user' => $event->getUser()->getUID()],
[
'user',
]
);
break;
}
}
private function passwordUpdated(PasswordUpdatedEvent $event): void {
if ($event->getUser()->getBackendClassName() === 'Database') {
$this->log(
'Password of user "%s" has been changed',
[
'user' => $event->getUser()->getUID(),
],
[
'user',
]
);
}
}
/**
* Log assignments of users (typically user backends)
*/
private function userIdAssigned(UserIdAssignedEvent $event): void {
$this->log(
'UserID assigned: "%s"',
[ 'uid' => $event->getUserId() ],
[ 'uid' ]
);
}
/**
* Log unassignments of users (typically user backends, no data removed)
*/
private function userIdUnassigned(UserIdUnassignedEvent $event): void {
$this->log(
'UserID unassigned: "%s"',
[ 'uid' => $event->getUserId() ],
[ 'uid' ]
);
}
}

Some files were not shown because too many files have changed in this diff Show More