Compare commits

...

928 Commits

Author SHA1 Message Date
Arthur Schiwon 3133abac16 Merge pull request #46870 from nextcloud/release/30.0.0_beta_2
30.0.0 beta 2
2024-07-30 16:55:38 +02:00
Arthur Schiwon bb13b5fe08 build(assets): compile js
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2024-07-30 16:46:15 +02:00
Arthur Schiwon a2151a690a build(hub): 30.0.0 beta 2
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2024-07-30 16:44:46 +02:00
Arthur Schiwon 412661affe Merge pull request #46857 from nextcloud/fix/file-list-filter
fix(files_sharing): Adjust design of account filter for file list
2024-07-30 16:44:12 +02:00
Arthur Schiwon 6711d65e41 build(assets): compile js
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2024-07-30 16:43:41 +02:00
Ferdinand Thiessen aab8ab424d chore: Update @nextcloud/vue to 8.15.1
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-07-30 16:40:14 +02:00
Ferdinand Thiessen 77cffcb049 fix(files_sharing): Make account file filter consistent have design
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-07-30 16:40:14 +02:00
Arthur Schiwon 8b4340a126 Merge pull request #46867 from nextcloud/fix/files-settings
fix(files): Bring back files personal settings
2024-07-30 16:31:29 +02:00
Joas Schilling 3be0f3f0e3 Merge pull request #46877 from nextcloud/bugfix/noid/fix-ci-summary-condition
ci: Fix summary condition
2024-07-30 15:58:59 +02:00
Stephan Orbaugh 18c0bcb2da Merge pull request #46476 from nextcloud/enh/noid/migration-attributes
Migration Attributes
2024-07-30 15:54:56 +02:00
Joas Schilling 0705b6af4a Merge pull request #46871 from nextcloud/bugfix/noid/update-3rdparty-commit-hash
fix: Update 3rdparty commit hash to latest (only actions changed)
2024-07-30 15:06:15 +02:00
Joas Schilling 8760c8ea43 Merge pull request #45277 from nextcloud/techdebt/noid/log-condition-v2
feat(log): Allow to combine log.conditions to only log (app&user)
2024-07-30 15:05:58 +02:00
Joas Schilling fa3f4e9d2c ci: Fix summary condition
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-07-30 14:37:15 +02:00
Joas Schilling 3a410d8811 fix: Update 3rdparty commit hash to latest (only actions changed)
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-07-30 13:20:11 +02:00
Joas Schilling 710a69b4b5 feat(log): Allow to combine log.conditions to only log (app&user)
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-07-30 13:18:09 +02:00
Ferdinand Thiessen 68eef0672c chore: Compile assets
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-07-30 13:14:29 +02:00
Ferdinand Thiessen 85bded5671 fix(files): Bring back files personal settings
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-07-30 13:11:08 +02:00
Ferdinand Thiessen 21f558b12b Merge pull request #46379 from nextcloud/fix/folder-search-owner
fix: `OCP\Files\Node\Folder::search` was not setting the owner
2024-07-30 13:04:15 +02:00
John Molakvoæ b9f35a7315 Merge pull request #46770 from nextcloud/feat/navigation-files-request 2024-07-30 12:08:21 +02:00
skjnldsv 6427ae104c fix(files_sharing): always show file request creation option
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-07-30 09:52:48 +00:00
skjnldsv 197c35598c chore(files_sharing): refactor Share model to ts
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2024-07-30 09:50:46 +00:00
skjnldsv 850cb082a9 feat(files_sharing): show file requests in navigation
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2024-07-30 09:50:46 +00:00
John Molakvoæ 68864ab394 Merge pull request #46865 from nextcloud/fix/46635/breadcrumbs-shrink 2024-07-30 11:49:16 +02:00
Kate 450c085e8b Merge pull request #46825 from nextcloud/refactor/workflowengine/security-attributes 2024-07-30 11:40:41 +02:00
Kate c7315a0e83 Merge pull request #46746 from nextcloud/refactor/dashboard/security-attributes 2024-07-30 11:39:40 +02:00
nextcloud-command 424b418233 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-07-30 08:55:18 +00:00
Raimund Schlüßler 6be686dc46 fix(files): correctly shrink breadcrumbs bar
Signed-off-by: Raimund Schlüßler <raimund.schluessler@mailbox.org>
2024-07-30 10:26:02 +02:00
Git'Fellow 6680dd4182 Merge pull request #46849 from nextcloud/fix-recursive-share-check
fix: fix recursive share check
2024-07-30 08:59:58 +02:00
dependabot[bot] c882d78f58 Merge pull request #46858 from nextcloud/dependabot/npm_and_yarn/fast-xml-parser-4.4.1 2024-07-30 06:06:33 +00:00
dependabot[bot] 981b65352b build(deps): bump fast-xml-parser from 4.4.0 to 4.4.1
Bumps [fast-xml-parser](https://github.com/NaturalIntelligence/fast-xml-parser) from 4.4.0 to 4.4.1.
- [Release notes](https://github.com/NaturalIntelligence/fast-xml-parser/releases)
- [Changelog](https://github.com/NaturalIntelligence/fast-xml-parser/blob/master/CHANGELOG.md)
- [Commits](https://github.com/NaturalIntelligence/fast-xml-parser/compare/v4.4.0...v4.4.1)

---
updated-dependencies:
- dependency-name: fast-xml-parser
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-07-30 05:51:58 +00:00
Robin Appelman 23cdb539ce fix: fix recursive share check
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-07-30 07:41:26 +02:00
Kate 24a0d3e101 Merge pull request #46805 from nextcloud/refactor/federatedfilesharing/security-attributes 2024-07-30 05:36:56 +02:00
Nextcloud bot 016fbb93e0 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-07-30 00:19:55 +00:00
Maxence Lange a9e1dc6688 fix(migration-attributes): psalm
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2024-07-29 12:44:52 -01:00
Maxence Lange ad490c963b feat(migration-attributes): tests
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2024-07-29 12:44:52 -01:00
Maxence Lange 7c1ee524be fix(migration-attributes): privatizing AttributeException
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2024-07-29 12:44:52 -01:00
Maxence Lange 79e6014879 feat(upgrade): release metadata
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2024-07-29 12:44:52 -01:00
Maxence Lange 88cfab4f32 feat(upgrade): migration attributes
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>

d

Signed-off-by: Maxence Lange <maxence@artificial-owl.com>

f

Signed-off-by: Maxence Lange <maxence@artificial-owl.com>

d

Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2024-07-29 12:44:52 -01:00
Maxence Lange 1082164364 Merge pull request #46846 from nextcloud/fix/noid/named-attribute-argument
fix(psalm): named attribute argument
2024-07-29 12:34:04 -01:00
Maxence Lange dd0099c69f fix(psalm): named attribute argument
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2024-07-29 11:37:40 -01:00
Andy Scherzinger 13d2b67674 Merge pull request #46834 from withbest/master
chore: fix some comments
2024-07-29 11:37:57 +02:00
Joas Schilling 3a7c18b440 Merge pull request #46827 from nextcloud/build/psalm/named-attribute-args
build(psalm): Enforce named attribute arguments
2024-07-29 11:16:58 +02:00
Kate 1af3a66b2a Merge pull request #46817 from nextcloud/refactor/systemtags/security-attributes 2024-07-29 09:23:21 +02:00
Kate 20e054c4a4 Merge pull request #46819 from nextcloud/refactor/theming/security-attributes 2024-07-29 08:57:48 +02:00
withbest dd08f93202 chore: fix some comments
Signed-off-by: withbest <seekseat@outlook.com>
2024-07-29 14:43:27 +08:00
Nextcloud bot 8f235982c9 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-07-29 00:20:16 +00:00
Joas Schilling 57385a4961 Merge pull request #46815 from nextcloud/refactor/provisioning_api/security-attributes
refactor(provisioning_api): Replace security annotations with respective attributes
2024-07-28 20:36:14 +02:00
Kate 69a203d262 Merge pull request #46820 from nextcloud/refactor/twofactor_backupcodes/security-attributes 2024-07-28 08:48:56 +02:00
Kate e564bc9a55 Merge pull request #46818 from nextcloud/refactor/testing/security-attributes 2024-07-28 08:41:38 +02:00
Kate d75c1e490a Merge pull request #46823 from nextcloud/refactor/user_status/security-attributes 2024-07-28 08:38:44 +02:00
Nextcloud bot 1ac631ba0f Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-07-28 00:39:35 +00:00
Ferdinand Thiessen c31ab2d68b Merge pull request #46513 from nextcloud/automated/noid/master-fix-npm-audit
[master] Fix npm audit
2024-07-28 02:13:08 +02:00
provokateurin e4e3783501 refactor(federatedfilesharing): Replace security annotations with respective attributes
Signed-off-by: provokateurin <kate@provokateurin.de>
2024-07-27 22:45:55 +02:00
provokateurin 1cc7a620b5 refactor(testing): Replace security annotations with respective attributes
Signed-off-by: provokateurin <kate@provokateurin.de>
2024-07-27 22:40:56 +02:00
provokateurin 79d9f2ebf6 refactor(theming): Replace security annotations with respective attributes
Signed-off-by: provokateurin <kate@provokateurin.de>
2024-07-27 22:40:06 +02:00
provokateurin bc5c0262af refactor(core): Make all attribute arguments named
Signed-off-by: provokateurin <kate@provokateurin.de>
2024-07-27 22:36:18 +02:00
provokateurin a94249d1d5 build(psalm): Enforce named attribute arguments
Signed-off-by: provokateurin <kate@provokateurin.de>
2024-07-27 22:36:18 +02:00
provokateurin b51e432d32 refactor(provisioning_api): Replace security annotations with respective attributes
Signed-off-by: provokateurin <kate@provokateurin.de>
2024-07-27 21:54:42 +02:00
provokateurin e64667df37 refactor(workflowengine): Replace security annotations with respective attributes
Signed-off-by: provokateurin <kate@provokateurin.de>
2024-07-27 21:36:15 +02:00
provokateurin 8e655d46e9 refactor(user_status): Replace security annotations with respective attributes
Signed-off-by: provokateurin <kate@provokateurin.de>
2024-07-27 21:35:52 +02:00
provokateurin c5c6517303 refactor(twofactor_backupcodes): Replace security annotations with respective attributes
Signed-off-by: provokateurin <kate@provokateurin.de>
2024-07-27 21:35:13 +02:00
provokateurin 641560004f refactor(systemtags): Replace security annotations with respective attributes
Signed-off-by: provokateurin <kate@provokateurin.de>
2024-07-27 21:34:39 +02:00
provokateurin df5a8485af refactor(dashboard): Replace security annotations with respective attributes
Signed-off-by: provokateurin <kate@provokateurin.de>
2024-07-27 21:32:18 +02:00
Kate 212a621697 Merge pull request #46826 from nextcloud/test/theming/fix-broken-footer-links 2024-07-27 20:50:28 +02:00
provokateurin a0eca3384b test(theming): Fix broken footer links tests
Signed-off-by: provokateurin <kate@provokateurin.de>
2024-07-27 20:13:38 +02:00
John Molakvoæ 0525312cf7 Merge pull request #46027 from dennisverspuij/virtualbox-storage-fix 2024-07-27 16:55:10 +02:00
nextcloud-command ff5f737bdb fix(deps): Fix npm audit
Signed-off-by: GitHub <noreply@github.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-07-27 14:43:12 +00:00
Dennis Verspuij 181aecad4c fix: Release directory iterator and thereby its potential directory lock prior to deleting a directory, to avoid e.g. "Text file busy" error with VirtualBox shared folder storage
Signed-off-by: Dennis Verspuij <6680484+dennisverspuij@users.noreply.github.com>
2024-07-27 16:37:16 +02:00
John Molakvoæ b964094ebf Merge pull request #46784 from nextcloud/fix/public-footer 2024-07-27 16:35:39 +02:00
Marcel Klehr 5639d99801 Merge pull request #46779 from nextcloud/fix/testing/textprocessing-unicode
fix(testing): Make Testing TextProcessing providers unicode safe
2024-07-27 16:28:12 +02:00
John Molakvoæ 0ae83d6183 Merge pull request #46760 from nextcloud/fix/appframework/csrf-custom-header 2024-07-27 16:27:52 +02:00
nextcloud-command 7c15bb13ef chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-07-27 14:15:29 +00:00
John Molakvoæ 3865f81b61 Merge branch 'master' into fix/public-footer
Signed-off-by: John Molakvoæ <skjnldsv@users.noreply.github.com>
2024-07-27 16:10:34 +02:00
John Molakvoæ 0f953c5cbd Merge pull request #46803 from nextcloud/chore/bump-cypress-workers 2024-07-27 10:56:55 +02:00
John Molakvoæ 245c9652a6 Merge pull request #46794 from nextcloud/dependabot/npm_and_yarn/query-string-9.1.0 2024-07-27 10:44:22 +02:00
John Molakvoæ 963934cb80 Merge pull request #46798 from nextcloud/dependabot/npm_and_yarn/puppeteer-22.14.0 2024-07-27 10:32:31 +02:00
dependabot[bot] 8a9fbde303 build(deps): bump query-string from 9.0.0 to 9.1.0
Bumps [query-string](https://github.com/sindresorhus/query-string) from 9.0.0 to 9.1.0.
- [Release notes](https://github.com/sindresorhus/query-string/releases)
- [Commits](https://github.com/sindresorhus/query-string/compare/v9.0.0...v9.1.0)

---
updated-dependencies:
- dependency-name: query-string
  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-07-27 08:26:57 +00:00
John Molakvoæ afd8452201 Merge pull request #46795 from nextcloud/dependabot/npm_and_yarn/eslint-plugin-cypress-3.4.0 2024-07-27 10:25:31 +02:00
John Molakvoæ e9edc53b76 Merge pull request #46797 from nextcloud/dependabot/npm_and_yarn/testing-library/jest-dom-6.4.8 2024-07-27 10:23:25 +02:00
John Molakvoæ 1999380d48 Merge pull request #46492 from nextcloud/dependabot/npm_and_yarn/nextcloud/upload-1.4.2 2024-07-27 10:02:24 +02:00
skjnldsv 531d8076ae chore: bump cypress workers
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2024-07-27 10:02:14 +02:00
John Molakvoæ 08017a4309 Merge pull request #46799 from nextcloud/dependabot/npm_and_yarn/cypress-if-1.12.4
build(deps-dev): bump cypress-if from 1.12.0 to 1.12.4
2024-07-27 09:44:08 +02:00
dependabot[bot] 7d7ba2ee74 build(deps): bump @nextcloud/upload from 1.4.1 to 1.4.2
Bumps [@nextcloud/upload](https://github.com/skjnldsv/nextcloud-upload) from 1.4.1 to 1.4.2.
- [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.4.1...v1.4.2)

---
updated-dependencies:
- dependency-name: "@nextcloud/upload"
  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-07-27 07:42:01 +00:00
John Molakvoæ ef69d5c71a Merge pull request #46796 from nextcloud/dependabot/npm_and_yarn/nextcloud/sharing-0.2.3 2024-07-27 09:29:49 +02:00
John Molakvoæ 964e5aa480 Merge pull request #46800 from nextcloud/dependabot/npm_and_yarn/tar-7.4.3 2024-07-27 09:29:31 +02:00
John Molakvoæ 0ea0667029 Merge pull request #46786 from nextcloud/fix/trashbin-deletion 2024-07-27 09:28:45 +02:00
skjnldsv e32b335289 fix(files): always ask for confirmation if trashbin app is disabled
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-07-27 07:13:39 +00:00
dependabot[bot] 205ee83438 Merge pull request #46793 from nextcloud/dependabot/composer/build/integration/guzzlehttp/guzzle-7.9.2 2024-07-27 02:22:31 +00:00
dependabot[bot] 1ce170edac build(deps-dev): bump tar from 6.2.1 to 7.4.3
Bumps [tar](https://github.com/isaacs/node-tar) from 6.2.1 to 7.4.3.
- [Release notes](https://github.com/isaacs/node-tar/releases)
- [Changelog](https://github.com/isaacs/node-tar/blob/main/CHANGELOG.md)
- [Commits](https://github.com/isaacs/node-tar/compare/v6.2.1...v7.4.3)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-07-27 02:10:24 +00:00
dependabot[bot] dee3dfe5e4 build(deps-dev): bump cypress-if from 1.12.0 to 1.12.4
Bumps [cypress-if](https://github.com/bahmutov/cypress-if) from 1.12.0 to 1.12.4.
- [Release notes](https://github.com/bahmutov/cypress-if/releases)
- [Commits](https://github.com/bahmutov/cypress-if/compare/v1.12.0...v1.12.4)

---
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-07-27 02:04:22 +00:00
dependabot[bot] 2bf1869672 build(deps-dev): bump puppeteer from 22.13.0 to 22.14.0
Bumps [puppeteer](https://github.com/puppeteer/puppeteer) from 22.13.0 to 22.14.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.13.0...puppeteer-v22.14.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-07-27 02:04:06 +00:00
dependabot[bot] 2883a9d40f build(deps-dev): bump @testing-library/jest-dom from 6.4.6 to 6.4.8
Bumps [@testing-library/jest-dom](https://github.com/testing-library/jest-dom) from 6.4.6 to 6.4.8.
- [Release notes](https://github.com/testing-library/jest-dom/releases)
- [Changelog](https://github.com/testing-library/jest-dom/blob/main/CHANGELOG.md)
- [Commits](https://github.com/testing-library/jest-dom/compare/v6.4.6...v6.4.8)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-07-27 02:03:42 +00:00
dependabot[bot] a803fb11e4 build(deps): bump @nextcloud/sharing from 0.2.2 to 0.2.3
Bumps @nextcloud/sharing from 0.2.2 to 0.2.3.

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-07-27 02:03:17 +00:00
dependabot[bot] 69603dbc23 build(deps-dev): bump eslint-plugin-cypress from 2.15.2 to 3.4.0
Bumps [eslint-plugin-cypress](https://github.com/cypress-io/eslint-plugin-cypress) from 2.15.2 to 3.4.0.
- [Release notes](https://github.com/cypress-io/eslint-plugin-cypress/releases)
- [Commits](https://github.com/cypress-io/eslint-plugin-cypress/compare/v2.15.2...v3.4.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-07-27 02:02:55 +00:00
dependabot[bot] 8c1cbaa8c3 build(deps-dev): bump guzzlehttp/guzzle in /build/integration
Bumps [guzzlehttp/guzzle](https://github.com/guzzle/guzzle) from 7.9.1 to 7.9.2.
- [Release notes](https://github.com/guzzle/guzzle/releases)
- [Changelog](https://github.com/guzzle/guzzle/blob/7.9/CHANGELOG.md)
- [Commits](https://github.com/guzzle/guzzle/compare/7.9.1...7.9.2)

---
updated-dependencies:
- dependency-name: guzzlehttp/guzzle
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-07-27 01:13:38 +00:00
Nextcloud bot 1198f64d24 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-07-27 00:19:22 +00:00
Maksim Sukharev 602ef72477 Merge pull request #46773 from nextcloud/fix/noid/settings-iframe-icons
style(settings): align icons at legacy help navigation
2024-07-26 18:15:24 +02:00
Ferdinand Thiessen a618f6454b Merge pull request #46785 from nextcloud/fix/public-header-color
fix(styles): use also new CSS variable for correct header text color on public pages
2024-07-26 18:13:24 +02:00
Ferdinand Thiessen 7eacd8b443 Merge pull request #46782 from nextcloud/fix/file-filters-design
fix(files): Ensure scrolled file list does not leak through file filters
2024-07-26 16:02:38 +02:00
nextcloud-command f3d9a71a34 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-07-26 13:38:39 +00:00
Ferdinand Thiessen 7abaee813a fix(files): Ensure scrolled file list does not leak through file filters
1. when scrolling the file list should not be visible behind the filters
2. on mobile we need to remove the padding of the filters to ensure they are accessible

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-07-26 15:27:29 +02:00
Ferdinand Thiessen 711e17698d chore: Compile assets
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-07-26 15:24:29 +02:00
Ferdinand Thiessen 3d3969c878 fix(styles): use also new CSS variable for correct header text color on public pages
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-07-26 15:22:10 +02:00
Ferdinand Thiessen a43fd11ac1 chore: Compile assets
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-07-26 15:16:58 +02:00
Ferdinand Thiessen 39e163a192 fix(styles): Make sure footer with legal links is shown correctly
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-07-26 15:12:33 +02:00
Marcel Klehr 36130ace98 Merge pull request #46775 from nextcloud/chore/deprecate-old-ai-apis
chore: deprecate old AI APIs
2024-07-26 13:57:47 +02:00
Marcel Klehr b9187dcb9e fix(testing): Make Testing TextProcessing providers unicode safe
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2024-07-26 13:50:36 +02:00
Maksim Sukharev 0dc4ed1f62 style(settings): align icons at legacy help navigation
Signed-off-by: Maksim Sukharev <antreesy.web@gmail.com>
2024-07-26 13:08:12 +02:00
Marcel Klehr 397b1d1654 chore: deprecate old AI APIs
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2024-07-26 11:20:46 +02:00
John Molakvoæ 87dc0614d7 Merge pull request #46767 from nextcloud/fix/files-new-file-node 2024-07-26 11:11:20 +02:00
Ferdinand Thiessen dd88fa03a4 fix(files): Correctly validate new node name
* Resolves https://github.com/nextcloud/server/issues/45409

This includes two fixes:
1. The name in the "new node" dialog is correctly selected (e.g. `file.txt` only `file` is selected by default), to allow quick naming
2. `@nextcloud/files` functions for filename validation are used, this allows to use new Nextcloud 30 capabilities (e.g. reserved names)

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-07-26 08:46:23 +00:00
Kate 40c72d3f24 Merge pull request #46748 from nextcloud/refactor/core/security-attributes 2024-07-26 10:20:28 +02:00
provokateurin c57c3c1573 refactor(core): Replace security annotations with respective attributes
Signed-off-by: provokateurin <kate@provokateurin.de>
2024-07-26 07:30:45 +02:00
Kate 41f7fa6840 Merge pull request #46745 from nextcloud/refactor/comments/security-attributes 2024-07-26 07:13:50 +02:00
Kate a9b77c3d12 Merge pull request #46761 from nextcloud/fix/core/document-csrf-token-endpoint 2024-07-26 07:13:26 +02:00
Nextcloud bot c2acabf020 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-07-26 00:19:53 +00:00
Arthur Schiwon 6e558a6d98 Merge pull request #46713 from nextcloud/release/30.0.0_beta_1
30.0.0 beta 1
2024-07-25 23:33:59 +02:00
Daniel 813264c15d Merge pull request #46508 from nextcloud/ernolf/enh/imaginary-pdf-handling
feat(preview): introducing new class ImaginaryPDF
2024-07-25 23:17:58 +02:00
Arthur Schiwon b69dc21588 build(js): compile assets
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2024-07-25 22:41:50 +02:00
Arthur Schiwon ec15c5dfe9 build(hub): 30.0.0 beta 1
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2024-07-25 22:39:26 +02:00
dependabot[bot] 21428cc961 Merge pull request #46765 from nextcloud/dependabot/npm_and_yarn/requirejs-2.3.7 2024-07-25 19:43:09 +00:00
dependabot[bot] 339fb9c0be build(deps-dev): bump requirejs from 2.3.6 to 2.3.7
Bumps [requirejs](https://github.com/jrburke/r.js) from 2.3.6 to 2.3.7.
- [Commits](https://github.com/jrburke/r.js/compare/2.3.6...2.3.7)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-07-25 18:15:20 +00:00
Ferdinand Thiessen 97ea95714a Merge pull request #45708 from nextcloud/feat/files-filters
feat(files): Implement files list filters
2024-07-25 20:12:52 +02:00
Andy Scherzinger 4f2a29adf9 Merge pull request #46672 from nextcloud/fix/preview-invalid-id
Avoid using partial file info as valid one
2024-07-25 19:37:30 +02:00
Andy Scherzinger 2e353d8849 Merge pull request #46759 from nextcloud/chore/less-banding-image
fix(theming): Use version with less color banding for dark variant
2024-07-25 19:33:37 +02:00
Ferdinand Thiessen 66f77b562c chore: Compile assets
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-07-25 19:33:29 +02:00
Ferdinand Thiessen 2c0e2cc09e test: Add cypress tests for file list filtering
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-07-25 19:33:28 +02:00
Ferdinand Thiessen 1fc6b79f7c feat(files_sharing): Add file list filter to filter by owner / sharee
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-07-25 19:33:28 +02:00
Ferdinand Thiessen aad09764cd refactor: Make route parameters accessible using composables to reuse
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-07-25 19:33:28 +02:00
Ferdinand Thiessen 842c21f96b feat(files): Implement files list filters for name, modified time and type
Co-authored-by: John Molakvoæ <skjnldsv@users.noreply.github.com>
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-07-25 19:33:23 +02:00
Ferdinand Thiessen 968d41241b feat(files): Allow to add file list filters
This adds sticky file list filters above the file list.
Those filters are used to filter the directory content and thus filter the file list.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-07-25 19:15:38 +02:00
Andy Scherzinger ba91f42c8b Merge pull request #46753 from nextcloud/fix/renaming-full-validation
fix(files): Use `@nextcloud/files` filename validation to show more details
2024-07-25 18:28:13 +02:00
provokateurin 90e108e548 fix(core): Document CSRF token endpoint
Signed-off-by: provokateurin <kate@provokateurin.de>
2024-07-25 18:04:46 +02:00
provokateurin 9d1705259c fix(AppFramework): Allow requests with OCS-APIRequest header to pass CSRF checks
Signed-off-by: provokateurin <kate@provokateurin.de>
2024-07-25 17:31:49 +02:00
ernolf a8bdd4f99b feat(preview): move previews for imaginary pdf to own class ImaginaryPDF
Signed-off-by: ernolf <raphael.gradenwitz@googlemail.com>

Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2024-07-25 17:01:01 +02:00
Ferdinand Thiessen 090a4010c1 fix(theming): Use version with less color banding for dark variant
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-07-25 16:58:12 +02:00
Greta d5bb37ab0d Merge pull request #46749 from nextcloud/fix/background-job-error
fix: add a try and catch for delete versioning
2024-07-25 16:49:17 +02:00
Tobias Kaminsky c9da3daf7b Merge pull request #46464 from nextcloud/unified-search-enhancements
Unified search: add attributes for clients
2024-07-25 16:39:33 +02:00
Ferdinand Thiessen c377205791 chore: Compile assets
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-07-25 15:49:51 +02:00
Ferdinand Thiessen 523e0d3f2b fix(files): Use @nextcloud/files filename validation to show more details
This will enable showing more details what exactly is wrong with the filename.
Especially with the new capabilities introduced with Nextcloud 30.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-07-25 15:49:33 +02:00
tobiasKaminsky 63d5c2b0e0 fix: https://github.com/nextcloud/calendar/issues/6079 and https://github.com/nextcloud/contacts/issues/3997
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2024-07-25 15:42:09 +02:00
Ferdinand Thiessen 9ed6d1eb9a Merge pull request #46648 from nextcloud/fix/files-sharing-open
fix(files_sharing): `open-in-files` should open a folder and not the parent
2024-07-25 15:41:12 +02:00
Ferdinand Thiessen bc216efb30 chore: Compile assets
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-07-25 15:09:25 +02:00
Ferdinand Thiessen 4979ed074f test: Add regression test for opening shared folders
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-07-25 15:06:49 +02:00
Ferdinand Thiessen 442a233d39 fix(files_sharing): open-in-files should open a folder and not the parent
For files this behavior is fine, but for folders the folder itself should be opened.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-07-25 15:06:48 +02:00
greta 26d22881e5 fix: add a try and catch for delete versioning
Signed-off-by: greta <gretadoci@gmail.com>
2024-07-25 14:46:06 +02:00
Robin Appelman 6953be7a01 Merge pull request #46685 from nextcloud/sabre-directory-exception-previous
fix: keep previous exception when wrapping dav exceptions
2024-07-25 14:39:50 +02:00
Julius Härtl 3d7d0b6088 Merge pull request #46383 from nextcloud/feat/template-fields
feat: Template field workflow
2024-07-25 14:19:49 +02:00
provokateurin bec0653d2a refactor(comments): Replace security annotations with respective attributes
Signed-off-by: provokateurin <kate@provokateurin.de>
2024-07-25 13:14:45 +02:00
Julien Veyssier e989feb006 Merge pull request #46739 from nextcloud/fix/noid/taskprocessing-missing-translate-task-type
[taskprocessing] Add missing translate default task type
2024-07-25 13:00:34 +02:00
Stephan Orbaugh e79fa57b70 Merge pull request #46693 from nextcloud/s3-writestream-impl
feat: add a specialized writeStream implementation for s3 external storage
2024-07-25 12:58:06 +02:00
Stephan Orbaugh ebfd4938f6 Merge pull request #45932 from carhe/fix-45707
fix(files_versions): avoid unintentional skipping of expiration
2024-07-25 12:55:57 +02:00
carhe 7eac3fe7da fix(files_versions): avoid unintentional skipping of expiration
Signed-off-by: carhe <carstenherrmann@web.de>
2024-07-25 12:29:04 +02:00
Julien Veyssier 9a3a27f856 fix(taskprocessing): add missing translate default task type
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
2024-07-25 12:09:47 +02:00
nextcloud-command df9696378c chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-07-25 09:36:38 +00:00
Elizabeth Danzberger b749a89a33 fix: PHP formatting
Signed-off-by: Elizabeth Danzberger <lizzy7128@tutanota.de>
2024-07-25 11:11:41 +02:00
Elizabeth Danzberger bb34b0809c fix: Fix static analysis errors
Signed-off-by: Elizabeth Danzberger <lizzy7128@tutanota.de>
2024-07-25 11:11:41 +02:00
Elizabeth Danzberger 6aea44920d fix: Can close template filler modal
Signed-off-by: Elizabeth Danzberger <lizzy7128@tutanota.de>
2024-07-25 11:11:40 +02:00
Elizabeth Danzberger 3390fc1b94 fix: Add SPDX header to new file
Signed-off-by: Elizabeth Danzberger <lizzy7128@tutanota.de>
2024-07-25 11:11:40 +02:00
Elizabeth Danzberger 1b904f1252 feat: Add frontend components for filling out template
Signed-off-by: Elizabeth Danzberger <lizzy7128@tutanota.de>
2024-07-25 11:11:40 +02:00
Elizabeth Danzberger efe03ee690 feat: Add support for filling fields to backend components
Signed-off-by: Elizabeth Danzberger <lizzy7128@tutanota.de>
2024-07-25 11:11:40 +02:00
Elizabeth Danzberger a7addcb88f fix(vue): Begin implementing template filler component
Signed-off-by: Elizabeth Danzberger <lizzy7128@tutanota.de>
2024-07-25 11:11:40 +02:00
Elizabeth Danzberger 8ac706a520 fix(api): Add alias to Field
Signed-off-by: Elizabeth Danzberger <lizzy7128@tutanota.de>
2024-07-25 11:11:40 +02:00
Elizabeth Danzberger 6cd83fc96a fix: Make field index a string for better id/index support
Signed-off-by: Elizabeth Danzberger <lizzy7128@tutanota.de>
2024-07-25 11:11:40 +02:00
Elizabeth Danzberger 912a938157 fix: Correct name of InvalidFieldTypeException class file
Signed-off-by: Elizabeth Danzberger <lizzy7128@tutanota.de>
2024-07-25 11:11:39 +02:00
Elizabeth Danzberger 27271c5452 fix: Add proper field types
Signed-off-by: Elizabeth Danzberger <lizzy7128@tutanota.de>
2024-07-25 11:11:39 +02:00
Elizabeth Danzberger 05cbb4168e fix: Remove comments
Signed-off-by: Elizabeth Danzberger <lizzy7128@tutanota.de>
2024-07-25 11:11:39 +02:00
Elizabeth Danzberger aa63121197 fix: Add InvalidFieldType exception
Signed-off-by: Elizabeth Danzberger <lizzy7128@tutanota.de>
2024-07-25 11:11:39 +02:00
Elizabeth Danzberger 49cc5beccc fix: Field and FieldType implementation
Signed-off-by: Elizabeth Danzberger <lizzy7128@tutanota.de>
2024-07-25 11:11:39 +02:00
Elizabeth Danzberger 4efdb9b438 fix: Composer autoloads for Field classes
Signed-off-by: Elizabeth Danzberger <lizzy7128@tutanota.de>
2024-07-25 11:11:39 +02:00
Elizabeth Danzberger dbfe70e4f6 fix: Add Field and FieldType back to server API
Signed-off-by: Elizabeth Danzberger <lizzy7128@tutanota.de>
2024-07-25 11:11:39 +02:00
Elizabeth Danzberger f01dd38724 fix: Move field classes out of the server api
Signed-off-by: Elizabeth Danzberger <lizzy7128@tutanota.de>
2024-07-25 11:11:39 +02:00
Elizabeth Danzberger 05ed5aa230 fix: Emit new BeforeGetTemplates event
Signed-off-by: Elizabeth Danzberger <lizzy7128@tutanota.de>
2024-07-25 11:11:38 +02:00
Elizabeth Danzberger e65f318fdf feat: TemplateFiller component
Signed-off-by: Elizabeth Danzberger <lizzy7128@tutanota.de>
2024-07-25 11:11:38 +02:00
Elizabeth Danzberger d3bfcec7ea feat: Add template filler component
Signed-off-by: Elizabeth Danzberger <lizzy7128@tutanota.de>
2024-07-25 11:11:38 +02:00
Elizabeth Danzberger d939858e3d feat: Template fields
Signed-off-by: Elizabeth Danzberger <lizzy7128@tutanota.de>

fix: Composer dump

Signed-off-by: Elizabeth Danzberger <lizzy7128@tutanota.de>

fix: Add field array to template class

Signed-off-by: Elizabeth Danzberger <lizzy7128@tutanota.de>
2024-07-25 11:11:38 +02:00
Julien Veyssier ea7eeb2867 Merge pull request #46722 from nextcloud/enh/noid/taskprocessing-enums-defaults
feat(TaskProcessing): Implement enums and default values
2024-07-25 11:03:23 +02:00
Julien Veyssier 0b04a6aa48 fix(taskprocessing): fix typo in text2text task type
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
2024-07-25 10:38:19 +02:00
Julien Veyssier 5ed55b0634 feat(taskprocessing): add translate task type
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
2024-07-25 10:37:36 +02:00
Marcel Klehr 46c518f712 fix: Don't validate input again upon running a task
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2024-07-25 10:27:45 +02:00
Marcel Klehr aaa8af4b49 fix: Make sure provider provides enum values
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2024-07-25 10:23:53 +02:00
Marcel Klehr 6363437ccb fix(taskprocessing): Update lib/private/TaskProcessing/Manager.php
Co-authored-by: Julien Veyssier <julien-nc@posteo.net>
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2024-07-25 10:10:32 +02:00
Julien Veyssier 9306ddeb69 fix(taskprocessing): fix psalm issue
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
2024-07-25 10:10:32 +02:00
Julien Veyssier c23f126c41 fix(taskprocessing): fix cs issues and generate autoloaders
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
2024-07-25 10:10:32 +02:00
Julien Veyssier a2e531c34c fix(taskprocessing): fix OpenAPI error and generate specs
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
2024-07-25 10:10:32 +02:00
Julien Veyssier 0584ebf628 fix(taskprocessing): add license
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
2024-07-25 10:10:32 +02:00
Julien Veyssier 060fb26686 fix(taskprocessing): run cs:fix
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
2024-07-25 10:10:32 +02:00
Marcel Klehr 799ee8fd51 feat(TaskProcessing): Implement enums and default values
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2024-07-25 10:10:31 +02:00
Stephan Orbaugh 65941811b3 Merge pull request #44788 from nextcloud/db-error-logging
feat: add additional logging for database errors
2024-07-25 09:09:57 +02:00
Ferdinand Thiessen d843d671d5 Merge pull request #46690 from nextcloud/fix/files-displayname
Update `@nextcloud/files` to 3.6.0 and fix display name handling of folders (breadcrumbs and filename)
2024-07-25 02:09:53 +02:00
dependabot[bot] ca5b746504 Merge pull request #46494 from nextcloud/dependabot/npm_and_yarn/p-limit-6.1.0 2024-07-25 00:07:39 +00:00
Ferdinand Thiessen 37483aa2d6 Merge pull request #46643 from nextcloud/fix/comments-vue-constructor
fix(comments): Extend Vue before calling `new` on it
2024-07-25 02:02:52 +02:00
nextcloud-command 3c1913b5ed chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-07-24 23:45:59 +00:00
Louis Chemineau ece4aec661 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
Signed-off-by: Louis Chemineau <louis@chmn.me>
2024-07-25 01:38:30 +02:00
Louis Chemineau 52796d125a fix(comments): Extend Vue before calling new on it
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
Signed-off-by: Louis Chemineau <louis@chmn.me>
2024-07-25 01:38:30 +02:00
dependabot[bot] b46d6aa4ab build(deps): bump p-limit from 4.0.0 to 6.1.0
Bumps [p-limit](https://github.com/sindresorhus/p-limit) from 4.0.0 to 6.1.0.
- [Release notes](https://github.com/sindresorhus/p-limit/releases)
- [Commits](https://github.com/sindresorhus/p-limit/compare/v4.0.0...v6.1.0)

---
updated-dependencies:
- dependency-name: p-limit
  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-07-24 23:32:36 +00:00
Ferdinand Thiessen 8700bac686 Merge pull request #46491 from nextcloud/dependabot/npm_and_yarn/types/dockerode-3.3.29
build(deps-dev): bump @types/dockerode from 3.3.28 to 3.3.29
2024-07-25 01:31:18 +02:00
nextcloud-command fe1aa83057 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-07-25 01:26:25 +02:00
Ferdinand Thiessen 80d797edf3 fix: Ensure displayname is a string
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-07-25 01:24:26 +02:00
Ferdinand Thiessen 5dc8e06014 fix(files): Do not split filename into base and extension for folders
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-07-25 01:24:26 +02:00
Ferdinand Thiessen f95d8263f6 chore(deps): Update @nextcloud/files to v3.6.0
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-07-25 01:24:26 +02:00
Christoph Wurst 2283010261 Merge pull request #46714 from nextcloud/rakekniven-patch-2
chore(i18n): Changed wording to singular
2024-07-25 00:56:00 +02:00
rakekniven a57e3848c6 chore(i18n): Changed wording to singular
Reported at Transifex

Signed-off-by: rakekniven <2069590+rakekniven@users.noreply.github.com>
Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
2024-07-24 21:54:38 +02:00
Ferdinand Thiessen 57ed738af2 Merge pull request #46644 from nextcloud/cast-bigint
fix: cast to bigint on postgresql
2024-07-24 20:39:04 +02:00
Robin Appelman c2b1f079b1 feat: add a specialized writeStream implementation for s3 external storage
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-07-24 17:37:20 +02:00
Benjamin Gaussorgues 2ddfbf3e79 Merge pull request #45092 from nextcloud/fix/user-provider-search-shown 2024-07-24 16:38:13 +02:00
Robin Appelman 7fbb981877 feat: add additional logging for database errors
including the stack trace of the current database transaction

Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-07-24 15:35:07 +02:00
Stephan Orbaugh 52fe7b1a12 Merge pull request #46694 from nextcloud/fix/file-info-name
fix: FileInfo from `View` should have the correct name of a mountpoint
2024-07-24 15:22:11 +02:00
Ferdinand Thiessen b83948392f Merge pull request #46689 from nextcloud/fix/46688/validate-new-file-name
fix(files): validate input when creating file/directory
2024-07-24 14:09:26 +02:00
nextcloud-command c06ab9aa98 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-07-24 11:21:01 +00:00
Maksim Sukharev 5709e54b8d fix(files): validate input when creating file/directory
Signed-off-by: Maksim Sukharev <antreesy.web@gmail.com>
2024-07-24 13:14:56 +02:00
Anna fd9de4024b Merge pull request #46708 from nextcloud/update-event-docs
docs: update docs for ocp events
2024-07-24 11:34:15 +02:00
Louis 7266a9ef33 Merge pull request #46418 from nextcloud/artonge/feat/user_admin_delegation
feat(users): Add users and group management to admin delegation
2024-07-24 11:15:54 +02:00
Louis f3a2806b69 Merge pull request #46681 from nextcloud/artonge/fix/grid_view_preview_size
fix(files): Reduce preview size in grid view mode
2024-07-24 10:25:16 +02:00
Louis Chemineau d32ea63789 chore: Compile assets
Signed-off-by: Louis Chemineau <louis@chmn.me>
2024-07-24 09:53:29 +02:00
Louis Chemineau 1aeb3f328b fix(files): Grid view virtual scrolling computations
Signed-off-by: Louis Chemineau <louis@chmn.me>
2024-07-24 09:38:51 +02:00
Louis Chemineau ddad7b48eb fix(files): Reduce preview size in grid view mode
Signed-off-by: Louis Chemineau <louis@chmn.me>
2024-07-24 09:38:51 +02:00
Nextcloud bot 55f81eae13 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-07-24 00:19:45 +00:00
Sebastian Krupinski 644d4908c5 feat: mail provider backend
feature: mail provider backend
2024-07-23 16:46:02 -04:00
SebastianKrupinski fc0b694d37 feat: mail provider backend
Signed-off-by: SebastianKrupinski <krupinskis05@gmail.com>
2024-07-23 16:20:36 -04:00
Daniel Kesselberg 8d3b99349d docs: update docs for ocp events
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2024-07-23 21:42:01 +02:00
Julien Veyssier f9d4becf60 Merge pull request #46359 from nextcloud/enh/task-processing-more-datetimes
[TaskProcessing] Add start, stop and schedule time to tasks
2024-07-23 18:54:58 +02:00
Andy Scherzinger a899ba2a0f Merge pull request #46702 from nextcloud/fix/update-background
chore(theming): Adjust dark variant of the new default background
2024-07-23 17:30:28 +02:00
Julien Veyssier c004f5376f fix(taskprocessing): build autoloader files and fix psalm issue
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
2024-07-23 17:12:38 +02:00
Julien Veyssier df11aa9efc feat(taskprocessing): add appId filter to taskprocessing occ commands
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
2024-07-23 17:12:38 +02:00
Julien Veyssier af21f7dbd9 feat(taskprocessing): add stats about input/output sizes
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
2024-07-23 17:12:38 +02:00
Julien Veyssier c120a64ba2 feat(taskprocessing): add occ commands to list tasks and compute stats
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
2024-07-23 17:12:38 +02:00
Julien Veyssier df086a8c20 feat(taskprocessing): add start, stop and schedule time to tasks
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
2024-07-23 17:12:38 +02:00
Andy Scherzinger 1f59bf7673 docs: add preview image license information
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2024-07-23 17:05:56 +02:00
Ferdinand Thiessen 054d44d695 chore(theming): Adjust dark variant of the new default background
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-07-23 17:05:51 +02:00
Julius Härtl 6865be05ec Merge pull request #46703 from nextcloud/fix/whiteboard-extension
fix: Add .whiteboard alias for .excalidraw files
2024-07-23 16:20:34 +02:00
Julius Härtl bcefd165cb fix: Add .whiteboard alias for .excalidraw files
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2024-07-23 15:45:03 +02:00
Robin Appelman 5ea972922b fix: explicitly filter for storageid in preview cleanup job
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-07-23 14:41:15 +02:00
Robin Appelman 16c184e2cb fix: cast to bigint on postgresql
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-07-23 14:41:13 +02:00
Robin Appelman d5a2a4aa87 fix: keep previous exception when wrapping dav exceptions
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-07-23 14:23:26 +02:00
Marcel Klehr f58a88b11c Merge pull request #46595 from nextcloud/fix/comments/align-submit-button
fix(comments): center align submit button in new comment field
2024-07-23 09:46:33 +02:00
Richard Steinmetz ee6f857889 Merge pull request #46592 from nextcloud/feat/first-day-of-week-user-setting
feat: let users configure their first day of week
2024-07-23 09:03:19 +02:00
Richard Steinmetz e54d39b076 Merge pull request #45667 from nextcloud/fix/caldav/strict-default-calendar-checks
fix(caldav): stricter default calendar checks
2024-07-23 08:40:50 +02:00
Nextcloud bot a884d48413 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-07-23 00:19:28 +00:00
Daniel 2736b41369 Merge pull request #46692 from nextcloud/fix/dav/call-sabre-start
fix(dav): Call Sabre server start
2024-07-22 22:52:04 +02:00
Richard Steinmetz b37fb43a32 feat: let users configure their first day of week
Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
2024-07-22 22:35:46 +02:00
Julius Härtl 2b0bc8b310 fix: Do not return partial file info if we have a cache entry
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2024-07-22 22:32:34 +02:00
Julius Härtl 6c1e896a03 fix: Ignore preview requests for invalid file ids
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2024-07-22 22:32:34 +02:00
Ferdinand Thiessen 12796c3ae7 fix: FileInfo from View should have the correct name of a mountpoint
If a mountpoint is returned from a `View` the name must match the view scoped name
and not the global name.
For example group folders have a name like `1` or `2` (the ID),
but the name of the FileInfo returned fro mthe View should be the mount point name,
like `First groupfolder` or similar.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-07-22 22:01:12 +02:00
Christoph Wurst 8cc996155e Merge pull request #46659 from nextcloud/feat/migrate-backupcodes-to-ncvue
feat: migrate backupcodes personal settings buttons
2024-07-22 20:13:17 +02:00
Louis Chemineau 7f0f671417 chore: Compile assets
Signed-off-by: Louis Chemineau <louis@chmn.me>
2024-07-22 19:59:09 +02:00
Louis Chemineau 5f8c466f78 fix(users): Remove useless filtering condition
Signed-off-by: Louis Chemineau <louis@chmn.me>
2024-07-22 19:58:44 +02:00
Louis Chemineau 3574d7eec8 feat(users): Enable features for delegated user admins
Signed-off-by: Louis Chemineau <louis@chmn.me>
2024-07-22 19:58:44 +02:00
Louis Chemineau 26beedef36 test(users): Adapt tests to new admin delegation checks
Signed-off-by: Louis Chemineau <louis@chmn.me>
2024-07-22 19:58:44 +02:00
Christoph Wurst f5e9be96ae fix(dav): Call Sabre server start
exec is deprecated and calls start.

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2024-07-22 19:35:45 +02:00
nextcloud-command 2e31b28c4d chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-07-22 16:59:28 +00:00
Edward Ly 5a648283a5 chore: rebuild compiled files
Signed-off-by: Edward Ly <contact@edward.ly>
2024-07-22 09:27:12 -07:00
Edward Ly 260ae92c0d Merge branch 'master' into fix/comments/align-submit-button 2024-07-22 09:23:40 -07:00
Edward Ly 96949e97d7 build: increment patch version
Signed-off-by: Edward Ly <contact@edward.ly>
2024-07-22 09:23:06 -07:00
Louis Chemineau dff8815449 feat(users): Add support for admin delegation for users and groups management
Signed-off-by: Louis Chemineau <louis@chmn.me>
2024-07-22 17:17:35 +02:00
Louis Chemineau 1af827fdb3 fix(users): Improve error handling of some fields update
Signed-off-by: Louis Chemineau <louis@chmn.me>
2024-07-22 17:17:35 +02:00
Richard Steinmetz cbea787233 fix(caldav): stricter default calendar checks
Reject calendars that
- are subscriptions
- are not writable
- are shared with a user
- are deleted
- don't support VEVENTs

Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
2024-07-22 15:24:39 +02:00
Robin Appelman 1768bd6280 Merge pull request #46674 from nextcloud/redis-persist-option
feat: add config flag to toggle persistent redis connections
2024-07-22 15:05:37 +02:00
Robin Appelman 32f5739bc6 feat: add config flag to toggle persistent redis connections
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-07-22 14:25:20 +02:00
Marcel Klehr 9c25a2b05f Merge pull request #46673 from nextcloud/fix/codeowners
Update CODEOWNERS
2024-07-22 14:16:31 +02:00
Marcel Klehr 1acc9322f7 chore: Update CODEOWNERS
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2024-07-22 14:00:52 +02:00
julien-nc 98f2fb3a02 Merge pull request #46579 from nextcloud/feat/taskprocessing/webhooks
[TaskProcessing] Add support for webhooks
2024-07-22 12:52:27 +02:00
Julien Veyssier 78c09b5bca chore: update 3rdparty
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
2024-07-22 11:36:40 +02:00
Julien Veyssier fffc784769 feat(taskprocessing): add support for webhooks (http or AppAPI) in the task processing API
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
2024-07-22 11:34:29 +02:00
rakekniven fadef0c7ba Merge pull request #46661 from nextcloud/fix/issue-46632-localization-hits
fix(caldav): added localization hints for translators
2024-07-22 11:09:41 +02:00
Stephan Orbaugh 9ed2d3e495 Merge pull request #46571 from nextcloud/chore/migrate-to-filenamevalidator
refactor: Migrate some legacy and core functions to `IFilenameValidator`
2024-07-22 10:40:50 +02:00
Andy Scherzinger c2a571e435 Merge pull request #46473 from nextcloud/feat/restrict_admin_to_ips
feat(security): restrict admin actions to IP ranges
2024-07-22 10:10:42 +02:00
Julius Härtl 800dffec31 Merge pull request #46640 from nextcloud/fix/noid/google-scope
fix(Token): take over scope in token refresh with login by cookie
2024-07-22 08:49:53 +02:00
Nextcloud bot bd0b26178a Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-07-22 00:19:13 +00:00
Nextcloud bot fd1dabf01b Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-07-21 00:19:45 +00:00
SebastianKrupinski f00354a276 fix(caldav): added localization hits for translators
Signed-off-by: SebastianKrupinski <krupinskis05@gmail.com>
2024-07-20 13:42:27 -04:00
Richard Steinmetz 6761d78460 feat: migrate backupcodes personal settings buttons
Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
2024-07-20 16:27:48 +02:00
dependabot[bot] 970a8287cd Merge pull request #46651 from nextcloud/dependabot/npm_and_yarn/ts-jest-29.2.3 2024-07-20 13:34:59 +00:00
dependabot[bot] 5c5770ad41 Merge pull request #46653 from nextcloud/dependabot/npm_and_yarn/cypress-wait-until-3.0.2 2024-07-20 13:34:43 +00:00
dependabot[bot] 4dd31463c8 Merge pull request #46650 from nextcloud/dependabot/composer/build/integration/guzzlehttp/guzzle-7.9.1 2024-07-20 13:27:50 +00:00
dependabot[bot] 9a636d3063 Merge pull request #46652 from nextcloud/dependabot/npm_and_yarn/babel/node-7.24.8 2024-07-20 13:26:44 +00:00
dependabot[bot] d775968c05 Merge pull request #46654 from nextcloud/dependabot/npm_and_yarn/cypress-13.13.1 2024-07-20 13:22:51 +00:00
dependabot[bot] dacaa18b59 Merge pull request #46655 from nextcloud/dependabot/npm_and_yarn/throttle-debounce-5.0.2 2024-07-20 10:55:56 +00:00
nextcloud-command f2132b673c chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-07-20 10:41:38 +00:00
dependabot[bot] 41555e2cd1 chore(deps): bump throttle-debounce from 5.0.0 to 5.0.2
Bumps [throttle-debounce](https://github.com/niksy/throttle-debounce) from 5.0.0 to 5.0.2.
- [Release notes](https://github.com/niksy/throttle-debounce/releases)
- [Changelog](https://github.com/niksy/throttle-debounce/blob/master/CHANGELOG.md)
- [Commits](https://github.com/niksy/throttle-debounce/compare/v5.0.0...v5.0.2)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-07-20 01:23:54 +00:00
dependabot[bot] 25e6c52efc chore(deps-dev): bump cypress from 13.13.0 to 13.13.1
Bumps [cypress](https://github.com/cypress-io/cypress) from 13.13.0 to 13.13.1.
- [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.0...v13.13.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-07-20 01:23:17 +00:00
dependabot[bot] 2c8e3e3fc2 chore(deps-dev): bump cypress-wait-until from 3.0.1 to 3.0.2
Bumps [cypress-wait-until](https://github.com/NoriSte/cypress-wait-until) from 3.0.1 to 3.0.2.
- [Release notes](https://github.com/NoriSte/cypress-wait-until/releases)
- [Changelog](https://github.com/NoriSte/cypress-wait-until/blob/master/release.config.js)
- [Commits](https://github.com/NoriSte/cypress-wait-until/commits)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-07-20 01:22:59 +00:00
dependabot[bot] 0dab33db8c chore(deps-dev): bump @babel/node from 7.24.7 to 7.24.8
Bumps [@babel/node](https://github.com/babel/babel/tree/HEAD/packages/babel-node) from 7.24.7 to 7.24.8.
- [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.24.8/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-07-20 01:22:25 +00:00
dependabot[bot] 36641312f3 chore(deps-dev): bump ts-jest from 29.1.2 to 29.2.3
Bumps [ts-jest](https://github.com/kulshekhar/ts-jest) from 29.1.2 to 29.2.3.
- [Release notes](https://github.com/kulshekhar/ts-jest/releases)
- [Changelog](https://github.com/kulshekhar/ts-jest/blob/main/CHANGELOG.md)
- [Commits](https://github.com/kulshekhar/ts-jest/compare/v29.1.2...v29.2.3)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-07-20 01:21:51 +00:00
dependabot[bot] 4b9967f872 chore(deps-dev): bump guzzlehttp/guzzle in /build/integration
Bumps [guzzlehttp/guzzle](https://github.com/guzzle/guzzle) from 7.8.1 to 7.9.1.
- [Release notes](https://github.com/guzzle/guzzle/releases)
- [Changelog](https://github.com/guzzle/guzzle/blob/7.9/CHANGELOG.md)
- [Commits](https://github.com/guzzle/guzzle/compare/7.8.1...7.9.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-07-20 01:13:01 +00:00
Nextcloud bot cdfa01abfc Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-07-20 00:19:36 +00:00
Ferdinand Thiessen 79fe83eb1c Merge pull request #46649 from nextcloud/refactor/code-style
refactor: Fix some linting issues in frontend code
2024-07-19 23:54:03 +02:00
nextcloud-command 19cd710c0b chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-07-19 21:18:33 +00:00
Ferdinand Thiessen 4bcb0734cd refactor: Fix some linting issues in frontend code
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-07-19 22:45:13 +02:00
Ferdinand Thiessen 9716b0d735 refactor: Migrate some legacy and core functions to IFilenameValidator
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-07-19 19:41:46 +02:00
Andy Scherzinger 2e273e477a Merge pull request #46225 from nextcloud/fix/issue-11633
fix(dav): Thrown forbidden error for authenticated user instead of no…
2024-07-19 18:59:58 +02:00
John Molakvoæ bc531be406 Merge pull request #46631 from nextcloud/feat/file-request-cypress 2024-07-19 17:33:14 +02:00
Ferdinand Thiessen 1d77a3883f Merge pull request #46558 from nextcloud/feat/add-setting-for-windows-compat
feat(files): Allow to configure Windows filename compatibility in the settings
2024-07-19 17:21:33 +02:00
Joas Schilling 7395211c1a Merge pull request #46605 from nextcloud/bugfix/noid/test-more-oracle-versions
fix(deps): Deprecate functionality deprecated by doctrine and test on more oracle versions
2024-07-19 16:40:49 +02:00
Benjamin Gaussorgues f1d97a3188 feat(Security): add Factory for IP addresses and ranges
Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
2024-07-19 16:28:03 +02:00
Joas Schilling 047479ccf9 feat(security): Add public API to allow validating IP Ranges and checking for "in range"
Signed-off-by: Joas Schilling <coding@schilljs.com>
Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
2024-07-19 16:28:03 +02:00
Benjamin Gaussorgues 202e5b1e95 feat(security): restrict admin actions to IP ranges
Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
2024-07-19 16:28:03 +02:00
Pytal 8f975cda34 Merge pull request #46622 from nextcloud/fix/delete-user
fix(settings): Fix endless spinner when wiping or deleting accounts
2024-07-19 07:01:00 -07:00
Arthur Schiwon 99182aac37 fix(Token): take over scope in token refresh with login by cookie
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2024-07-19 15:53:46 +02:00
Joas Schilling b656edc47c fix(db): Fix md5 for oracle >= 20
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-07-19 14:13:56 +02:00
Marcel Klehr 18844cb1b6 Merge pull request #46608 from nextcloud/error-log-textprocessing
fix(TextProcessing): use error instead of info for exception logging
2024-07-19 13:59:47 +02:00
Robin Windey 89787e683a Merge pull request #46055 from nextcloud/R0Wi-patch-1
Increase PHP memory limit for DevContainer to 512mb
2024-07-19 13:26:26 +02:00
Marcel Klehr a3c3eab09c Merge pull request #46368 from nextcloud/fix/task-processing
TaskProcessing follow-up
2024-07-19 12:38:30 +02:00
skjnldsv 29bec6ea22 chore: compile assets
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2024-07-19 12:21:22 +02:00
skjnldsv 08af33b5d9 chore: add file request cypress testing
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2024-07-19 12:20:25 +02:00
skjnldsv cfa2caacf1 fix(files_sharing): default empty file request expiration
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2024-07-19 12:01:55 +02:00
Joas Schilling 817ca0045a ci: Run all Oracle versions all the time
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-07-19 11:21:46 +02:00
Joas Schilling f6238d35bd fix(test): Make the test less flaky
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-07-19 11:21:16 +02:00
Joas Schilling e1e4ee4d67 fix(db): Manually track if where() is called when not empty to avoid recursion
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-07-19 11:21:16 +02:00
Joas Schilling eeb6ddb176 fix(db): Deprecate IExpressionBuilder::or() and IExpressionBuilder::and() without parameters
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-07-19 11:21:16 +02:00
Joas Schilling e45465781f fix(db): Deprecate getState() as per upstream
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-07-19 11:21:15 +02:00
Joas Schilling 829f2b9bc7 fix(db): Promote the use of getDatabaseProvider to reduce the impage of removed upstream platforms
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-07-19 11:21:14 +02:00
Joas Schilling bd383627a7 fix(db): Deprecate using table alias for DELETE and UPDATE
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-07-19 11:21:13 +02:00
Joas Schilling e9bfaf31b8 fix(db): Don't use deprecated 3rdparty constant: Doctrine\DBAL\Connection::PARAM_STR_ARRAY
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-07-19 11:21:13 +02:00
Joas Schilling c84580d53a fix(db): Doctrine\DBAL\Connection::executeUpdate() is deprecated
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-07-19 11:21:12 +02:00
Joas Schilling 11e84b8968 fix(db): Fix internal calls to doctrine's fetch() methods
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-07-19 11:21:12 +02:00
Joas Schilling a4c1d7291f fix(db): Use createSchemaManager() method as getSchemaManager() is deprecated
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-07-19 11:21:11 +02:00
Joas Schilling f92352eda4 fix(db): Deprecate getQueryPart() and resetQueryPart() methods that will be removed with Doctrine/DBAL 4
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-07-19 11:21:10 +02:00
Joas Schilling 5c02303ce4 ci(oracle): Test against Oracle 11, 18, 21 and 23
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-07-19 11:21:09 +02:00
Christopher Ng 07c67d59ae chore: compile assets
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2024-07-19 10:42:54 +02:00
Christopher Ng feb9a2f862 fix(settings): Fix endless spinner when wiping or deleting accounts
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2024-07-19 10:42:53 +02:00
Robin Appelman 64ca4b832d Merge pull request #46583 from nextcloud/filecache-sharding-compat
Make filecache queries compatible with sharding
2024-07-19 09:49:45 +02:00
John Molakvoæ 0bde47a392 Merge pull request #46589 from nextcloud/fix/files_sharing-file-request-followup 2024-07-19 09:14:09 +02:00
skjnldsv 725736a754 chore(integration): add file request tests
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2024-07-19 07:35:51 +02:00
Nextcloud bot 22efc6da6a Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-07-19 00:19:41 +00:00
skjnldsv 481551eebf chore: compile assets
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2024-07-18 20:15:39 +02:00
skjnldsv 607f0b0e9a fix(files_sharing): file request expiration date timezone
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2024-07-18 20:15:39 +02:00
skjnldsv 08d3fed24f fix(files_sharing): file request form validation and date component event
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2024-07-18 20:15:39 +02:00
skjnldsv 320af319f9 fix(files_sharing): improve file request info messages
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2024-07-18 20:15:39 +02:00
skjnldsv 2c94404969 fix(files_sharing): also allow removing READ permissions on email shares
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2024-07-18 20:15:39 +02:00
skjnldsv 7878f1ceea fix: drop outdated handlebar comments template
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2024-07-18 20:15:39 +02:00
skjnldsv f28d933acc feat(files_sharing): add public name prompt for files requests
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2024-07-18 20:15:39 +02:00
skjnldsv f45d6135d7 feat(files_sharing): allow uploading to subfolders in File requests
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2024-07-18 19:47:11 +02:00
skjnldsv b80c57dab3 feat(files_sharing): use label as title and file drop destination if available
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2024-07-18 19:47:11 +02:00
skjnldsv 43ca07809d fix(files_sharing): file request creation permissions and link copy display
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2024-07-18 19:47:11 +02:00
skjnldsv fec615c140 fix(files_sharing): use ClipboardText icon and fix trailing-button-click
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2024-07-18 19:47:11 +02:00
skjnldsv 55d41941bc fix(files_sharing): improve file request email handling
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2024-07-18 19:47:11 +02:00
skjnldsv eb2cda13c8 fix(files_sharing): file request margin and buttons order
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2024-07-18 19:47:11 +02:00
skjnldsv f956d51658 fix(files_sharing): file request add email on focusout
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2024-07-18 19:47:11 +02:00
skjnldsv 018e4c001d fix(files_sharing): file request use l10n t and n aliases
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2024-07-18 19:47:11 +02:00
skjnldsv 365b647b60 fix(files_sharing): file request conditions with link/email global settings
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2024-07-18 19:47:11 +02:00
Alexander Piskun a5fdd1c64a Merge pull request #46446 from nextcloud/update-app-api-rate-limit-key
use "app_api" session key in rate limit middleware, "app_api_system" is deprecated
2024-07-18 20:42:23 +03:00
Alexander Piskun 55dbf39904 Merge pull request #46615 from nextcloud/feat/webhook_listeners-AppApiAdminAccessWithoutUser
feat: allow for ExApps to use webhook_listeners without user context
2024-07-18 20:04:02 +03:00
Alexander Piskun 14e07a337c feat: allow to use webhook_listeners without user context
Signed-off-by: Alexander Piskun <bigcat88@icloud.com>
2024-07-18 18:50:17 +03:00
Robin Appelman b64f3343f1 Merge pull request #46567 from nextcloud/tests/cleanupremotestoragestest-named-parameters
move share tests await from positional parameters
2024-07-18 17:25:51 +02:00
Andrey Borysenko 40f820470a chore: use "app_api" session key, "app_api_system" is deprecated
Signed-off-by: Andrey Borysenko <andrey18106x@gmail.com>
2024-07-18 17:16:57 +03:00
Ferdinand Thiessen 9cd2e5bed9 Merge pull request #46587 from nextcloud/fix/shrink-headlines
fix(css): Shrink headlines a bit
2024-07-18 16:08:52 +02:00
Anna 5c20c9e4b2 Merge pull request #46594 from nextcloud/fix/issue-28162-2
fix(caldav): decode values before returning
2024-07-18 16:00:05 +02:00
Alexander Piskun b5ce30d8d3 Merge pull request #46607 from nextcloud/feat/AppApiAdminAccessWithoutUser-attribute
feat: allow for ExApps to call Admin endpoints marked with specific attr
2024-07-18 16:19:23 +03:00
Anupam Kumar d473b516ad fix(TextProcessing): use error instead of info for exception logging
Signed-off-by: Anupam Kumar <kyteinsky@gmail.com>
2024-07-18 17:53:52 +05:30
Alexander Piskun b7af6ec200 feat: allow for ExApps to call Admin endpoints marked with specific attr
Signed-off-by: Alexander Piskun <bigcat88@icloud.com>
2024-07-18 15:11:39 +03:00
Sebastian Krupinski 31d051ae74 Merge pull request #45547 from nextcloud/feature/recurrence-invitations2
feature: Improved Recurrence Invitations Messages
2024-07-18 06:57:26 -04:00
Kate c0f8f276e8 Merge pull request #46606 from nextcloud/feat/security/warn-annotations 2024-07-18 12:36:47 +02:00
provokateurin e5dcdfb9e0 feat(Security): Warn about using annotations instead of attributes
Signed-off-by: provokateurin <kate@provokateurin.de>
2024-07-18 11:25:32 +02:00
Christoph Wurst 1de5adf867 Merge pull request #46593 from nextcloud/fix/issue-30514
fix(caldav): Throw 403 Forbidden Error instead of 500 Internal Server…
2024-07-18 10:16:05 +02:00
Marcel Klehr ff99df07e7 chore: update openapi specs
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2024-07-18 08:51:43 +02:00
Nextcloud bot 4ad211bfa7 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-07-18 00:19:29 +00:00
Edward Ly 983f121dc3 fix(comments): manually center align submit button in new comment field
Signed-off-by: Edward Ly <contact@edward.ly>
2024-07-17 17:02:13 -07:00
SebastianKrupinski 43ee948890 feat: Improve recurrence invitations messages
Signed-off-by: SebastianKrupinski <krupinskis05@gmail.com>
2024-07-17 19:10:32 -04:00
Jonas 41356659c0 Merge pull request #46581 from nextcloud/fix/reference_api_no_anon_rate
fix(ReferenceApiController): Remove accidently added AnonRateLimit
2024-07-18 00:06:37 +02:00
SebastianKrupinski 0f3d05afea fix(caldav): Throw 403 Forbidden Error instead of 500 Internal Server Error
Signed-off-by: SebastianKrupinski <krupinskis05@gmail.com>
2024-07-17 17:42:35 -04:00
SebastianKrupinski 79c97e7f09 fix(caldav): decode values before returning
Signed-off-by: SebastianKrupinski <krupinskis05@gmail.com>
2024-07-17 17:34:50 -04:00
Robin Appelman c5b687271b fix: make batch propagator work with sharding restrictions
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-07-17 19:16:07 +02:00
Robin Appelman 0931492ff0 fix: make usermountcache compatible with sharding
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-07-17 19:16:05 +02:00
Richard Steinmetz 718ef5dea5 Merge pull request #46510 from nextcloud/feat/info-xml-backends
feat: hide caldav server settings if no app uses the caldav backend
2024-07-17 18:57:08 +02:00
Marcel Klehr 7cb67c67c7 Merge pull request #46509 from nextcloud/feat/settings/taskprocessing
feat(settings/admin/ai): Add Task Processing API settings
2024-07-17 18:24:11 +02:00
Ferdinand Thiessen 0832e4d52e chore: Recompile assets
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-07-17 16:20:19 +02:00
Ferdinand Thiessen 889b2f83d6 fix(css): Shrink headlines a bit
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-07-17 16:19:54 +02:00
Ferdinand Thiessen 0936af9960 feat(files): Allow to configure Windows filename compatibility in the settings
This adds an admin setting to toggle Windows filename compatibility.

Co-authored-by: Ferdinand Thiessen <opensource@fthiessen.de>
Co-authored-by: Louis <louis@chmn.me>
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-07-17 16:17:14 +02:00
Robin Appelman ad88fd07e3 fix: make joining on tags in search queries work with sharding
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-07-17 15:46:39 +02:00
Robin Appelman 80f8c7949e fix: always set storage id in Cache::get
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-07-17 15:46:31 +02:00
Robin Appelman 5ff7bde3fb fix: add set storage id for more cache queries
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-07-17 15:46:21 +02:00
Jonas 9fe4edca2c fix(ReferenceApiController): Remove accidently added AnonRateLimit
Signed-off-by: Jonas <jonas@freesources.org>
2024-07-17 15:38:09 +02:00
Anna 19ba872e9a Merge pull request #45974 from nextcloud/fix/caldav-scheduling-job
fix(caldav): lower scheduling table size warning
2024-07-17 15:36:46 +02:00
Julien Veyssier 183726a299 feat(settings/admin/ai): fix provider list not being declared
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
2024-07-17 15:24:19 +02:00
Julien Veyssier d37dd4b9a9 feat(settings/admin/ai): fix tests
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
2024-07-17 15:24:19 +02:00
Julien Veyssier 49e5399ded feat(settings/admin/ai): compile assets
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
2024-07-17 15:24:19 +02:00
Julien Veyssier e312776cf7 feat(settings/admin/ai): increase min width of provider selects
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
2024-07-17 15:24:19 +02:00
Marcel Klehr 9dca5ae0e0 feat(settings/admin/ai): Add Task Processing API settings
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2024-07-17 15:24:19 +02:00
Jonas e4368f6a9f Merge pull request #46378 from nextcloud/feat/public_reference_api
feat(Reference): Add public API endpoints to get references
2024-07-17 14:35:15 +02:00
Marcel Klehr 6ff4524919 fix(TaskProcessing): Add since doc for new EShapeType method
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2024-07-17 13:55:55 +02:00
Marcel Klehr 0d07ad98b0 fix(TaskProcessing): Update openapi specs
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2024-07-17 13:55:55 +02:00
Marcel Klehr 969cc52851 fix(TaskProcessing): Run cs:fix
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2024-07-17 13:55:55 +02:00
Marcel Klehr ba33e6220c fix(TaskProcessing): Use getScalarType instead of relying on magic integers
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2024-07-17 13:55:55 +02:00
Marcel Klehr 61ebfad724 fix(TaskProcessing): fix tests
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2024-07-17 13:55:55 +02:00
Marcel Klehr f1bb43dd55 test(TaskProcessing): Add test for setTaskResult with fileIds
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2024-07-17 13:55:55 +02:00
Marcel Klehr fb34b13439 fix(TaskProcessingA/Manager): Catch new error
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2024-07-17 13:55:55 +02:00
Marcel Klehr 2fed2fc433 fix(TaskProcessingA/Manager): Use time() along with rand int for file names
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2024-07-17 13:55:55 +02:00
Marcel Klehr eb0b5f29fb fix(TaskProcessingApiController): Address review comments
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2024-07-17 13:55:55 +02:00
Marcel Klehr ee7502ab1c fix(TaskProcessing\Manager#setTaskResult): Replace files contents with ID instead of File object
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2024-07-17 13:55:55 +02:00
Alexander Piskun c1f2c76f44 fix: do not overwrite the output if NodeID exists
Signed-off-by: Alexander Piskun <bigcat88@icloud.com>
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2024-07-17 13:55:55 +02:00
Marcel Klehr 3937cccd4b fix(TaskProcessing\Manager#setTaskResult): Replace files contents with ID instead of File object
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2024-07-17 13:55:55 +02:00
Marcel Klehr 5c457c64e8 fix: Validate output properly
Differentiate between output with file IDs and output with File data

Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2024-07-17 13:55:55 +02:00
Marcel Klehr 4ac1ac673e fix: psalm errors
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2024-07-17 13:55:55 +02:00
Marcel Klehr 4ac7f8275b feat(TaskProcessing): Allow setting task results for file slots
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2024-07-17 13:55:55 +02:00
Jonas 1671bf3ef2 feat(Reference): Add public API endpoints to get references
Calling the public API endpoints will check for matching registered
reference providers that implement `IPublicReferenceProvider` and call
their respective functions. If no matching provider is found, the
default `LinkReferenceProvider` will be used to provide open graph data.

The frontend reference widget components will call these endpoints from
unauthorized sessions, e.g. in public shares.

If present, the sharing token of the origin URL is passed to
`resolveReferencePublic()` as additional information for the reference
provider to determine the access scope. This allows the respective
reference providers to determine whether the origin share has access to
the linked resource.

`getCacheKeyPublic` also gets the sharing token so it can scope the cached
entry to it.

Contributes to #45978

Signed-off-by: Jonas <jonas@freesources.org>
2024-07-17 12:56:41 +02:00
Git'Fellow b06ce832d8 Merge pull request #46555 from nextcloud/emptyArrayAppStoreFail
fix(appstore): Return an empty array in case of fail
2024-07-17 12:33:33 +02:00
Joas Schilling 05888991d7 Merge pull request #46419 from nextcloud/bugfix/noid/limit-logo-size-for-outlook
fix(mail): Fix big logos in mail templates for Outlook
2024-07-17 11:54:47 +02:00
Anna Larch 2201bce7d3 fix(caldav): lower scheduling table size warning
Signed-off-by: Anna Larch <anna@nextcloud.com>
2024-07-17 11:20:49 +02:00
Joas Schilling 693a81bfa3 fix(mail): Fix big logos in mail templates for Outlook
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-07-17 09:24:55 +02:00
Nextcloud bot 4362ed5361 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-07-17 00:19:35 +00:00
John Molakvoæ d237fd0e78 Merge pull request #46342 from nextcloud/fix-getimagesize 2024-07-16 21:47:35 +02:00
Alexander Piskun 1f8999ea71 Merge pull request #46477 from nextcloud/support-direct-appapi-requests
feat: webhooks_listeners app: send direct requests to ExApps using AppAPI
2024-07-16 21:15:00 +03:00
Ferdinand Thiessen bd9ab63585 Merge pull request #46557 from nextcloud/enh/declarative-settings-design
refactor: Improve design of declarative settings
2024-07-16 20:09:01 +02:00
Alexander Piskun 54c700bc74 Merge branch 'master' into support-direct-appapi-requests 2024-07-16 20:42:51 +03:00
Alexander Piskun 696ece2f52 feat: webhooks_listeners app support for sending direct requests to ExApps using AppAPI.
Signed-off-by: Alexander Piskun <bigcat88@icloud.com>
2024-07-16 19:36:43 +03:00
Git'Fellow 8665a9ba16 chore: add warning in case of failure
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
2024-07-16 18:13:25 +02:00
Robin Appelman 7046aac7c4 test: update share tests to work with sharding
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-07-16 17:43:06 +02:00
Ferdinand Thiessen 1b41e8f566 Merge pull request #46538 from nextcloud/fix/use-filename-validator
refactor: Migrate filename validation from `Storage` and `Util` to `FilenameValidator`
2024-07-16 17:42:40 +02:00
Robin Appelman decae5a45a Merge pull request #46547 from nextcloud/query-builder-connection
feat: allow running QueryBuilder queries on different connections
2024-07-16 17:38:28 +02:00
Louis 6523cebf5d Merge pull request #46450 from nextcloud/artonge/fix/prevent_generating_metadata_on_every_upgrade
fix(files_metadata): Don't run generation job on every upgrade
2024-07-16 17:10:00 +02:00
nextcloud-command 34b2546331 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-07-16 14:19:11 +00:00
John Molakvoæ 3dfebcb06e Merge pull request #46551 from nextcloud/fix/shareapi-l10n 2024-07-16 15:48:42 +02:00
Ferdinand Thiessen aa767de2b8 refactor: Improve design of declarative settings
* Remove the hint from DOM if empty (otherways they still take some place in layout)
* Individual fields of the same section should not be spaced 60px, 20px (2x 10px) should be enough
* We have the type `multi-checkbox` for real checkboxes where you can select on of multiple, and we have `checkbox` which is only used for enable / disable, so we shall use `switch` type of the checkbox component as we do for all other (non declarative) settings

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-07-16 15:38:34 +02:00
Joas Schilling 2f9fcc22ae Merge pull request #46559 from nextcloud/ci/noid/fix-compile-command
fix(CI): Fix compile command
2024-07-16 15:27:08 +02:00
Louis Chemineau f00acebf93 fix(files_metadata): Don't run generation job on every upgrade
Signed-off-by: Louis Chemineau <louis@chmn.me>
2024-07-16 15:02:32 +02:00
Joas Schilling fe90e97f73 fix(CI): Fix compile command
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-07-16 13:35:54 +02:00
Ferdinand Thiessen bb1f27f3df Merge pull request #46556 from nextcloud/fix/sidebar-types
fix(files): Typo in import of `ShareType`
2024-07-16 13:27:51 +02:00
Ferdinand Thiessen 322b3946d9 fix(dav): Verify target path in setName instead of source path
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-07-16 12:57:11 +02:00
Ferdinand Thiessen f4ede27cdb refactor: Remove deprecated Util function for filename validation to FilenameValidator
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-07-16 12:49:10 +02:00
Ferdinand Thiessen 69341e4306 refactor: Migrate filename validation logic from Storage to FilenameValidator
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-07-16 12:49:09 +02:00
Ferdinand Thiessen 16e1d2dd07 chore: Compile assets
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-07-16 12:23:49 +02:00
Ferdinand Thiessen 5cf0224461 fix(files): Typo in import of ShareType
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-07-16 12:20:55 +02:00
Ferdinand Thiessen 465cee2da3 Merge pull request #46535 from nextcloud/fix/noid/use-ubuntu-latest-for-s3
fix(ci): Use ubuntu-latest for object storage test
2024-07-16 12:16:17 +02:00
Ferdinand Thiessen bcfe566acc Merge pull request #46543 from nextcloud/fix/htaccess
fix(htaccess): Serve images as static assets
2024-07-16 11:52:12 +02:00
Git'Fellow b010474c78 fix(appstore): Return an empty array in case of fail
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
2024-07-16 11:42:35 +02:00
Ferdinand Thiessen 18c9f07ade Merge pull request #46545 from nextcloud/fix/bring-back-forbidden-names
feat: Add `forbidden_filename_basenames` config option
2024-07-16 11:06:14 +02:00
grnd-alt 170849b3ff Merge pull request #46354 from nextcloud/fix/45548-bug-duplicate-filefolder-names-delete-file-when-moving
stop file actions when conflict dialog skipped
2024-07-16 10:14:02 +02:00
grnd-alt 3ebfe9511b fix: stop file actions when conflict dialog skipped
Signed-off-by: grnd-alt <salimbelakkaf@outlook.de>
2024-07-16 09:41:42 +02:00
Richard Steinmetz e42bceac9f feat: hide caldav server settings if no app uses the caldav backend
Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
2024-07-16 09:18:33 +02:00
skjnldsv bb730a1ee3 fix(files_sharing): remove undesirable translations from ShareAPIController
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2024-07-16 08:33:53 +02:00
Josh Richards c0e1503ce1 fix(previews): Stop returning true when getimagesize() fails
Signed-off-by: Josh Richards <josh.t.richards@gmail.com>
2024-07-15 21:06:49 -04:00
Nextcloud bot 70dd8d513b Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-07-16 00:19:55 +00:00
Robin Appelman 9de6190ec4 feat: allow running QueryBuilder queries on different connections
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-07-15 22:41:04 +02:00
Ferdinand Thiessen bdbeabafa7 feat: Add forbidden_filename_basenames config option
This allows to configure forbidden filenames (the full filename like `.htaccess`)
and also forbidden basenames like `com0` where `com0`, `com0.txt` and `com0.tar.gz` will match.
We need this as only using basenames was too restrictive and will cause problems on some systems when updating.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-07-15 19:39:18 +02:00
Joas Schilling 7be7cfa5fd Merge pull request #46531 from nextcloud/bugfix/noid/save-CI-time-for-forks
fix(CI): Skip some CI work from forks as they don't work anyway
2024-07-15 18:32:54 +02:00
Ferdinand Thiessen 52e243f4d8 fix(htaccess): Serve images as static assets
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-07-15 18:06:13 +02:00
Christoph Wurst 8c571dda47 Merge pull request #45848 from nextcloud/fix/comment-deleting-with-activities
Fix/comment deleting with activities installed
2024-07-15 16:20:21 +02:00
Marcel Müller 9b02ebde28 fix(ci): Use ubuntu-latest for object storage test
Signed-off-by: Marcel Müller <marcel-mueller@gmx.de>
2024-07-15 15:58:22 +02:00
Grigory Vodyanov bd7c29c362 fix(comments): comment deleting with activities installed
Signed-off-by: Grigory Vodyanov <scratchx@gmx.com>

Signed-off-by: Grigory V <scratchx@gmx.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-07-15 13:38:41 +00:00
Robin Appelman f94b0c3f55 Merge pull request #46397 from nextcloud/extended-query-builder-base
feat: add base class for extending the query builder
2024-07-15 14:53:22 +02:00
Robin Appelman 7206b2dc41 Merge pull request #46396 from nextcloud/inspectable-composite-expression
feat: allow inspecting the parts of the composite expression builder
2024-07-15 14:53:07 +02:00
Joas Schilling e40cc779c9 fix(CI): Skip some CI work from forks as they don't work anyway
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-07-15 13:25:20 +02:00
Ferdinand Thiessen d42849852e Merge pull request #46432 from nextcloud/fix/close-sidebar-on-navigation
fix(files): Close sidebar on navigation
2024-07-15 12:53:03 +02:00
Joas Schilling fe597d89cf Merge pull request #45509 from JulienFS/fix/openapi/response-namespace
Use OC namespace for core ReponseDefinitions instead of OCA
2024-07-15 12:51:02 +02:00
Julien CHATY-CAPELLE 2d84d0f5bf fix(core): use OC namespace for core ReponseDefinitions instead of OCA
Signed-off-by: Julien CHATY-CAPELLE <julien@chaty-capelle.fr>
2024-07-15 11:50:02 +02:00
Ferdinand Thiessen c5f9ab9fba chore: Compile assets
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-07-15 11:36:20 +02:00
Ferdinand Thiessen 841efff3fb fix(files): Close the sidebar on navigation
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-07-15 11:34:05 +02:00
John Molakvoæ b05e963f15 Merge pull request #46504 from nextcloud/fix/dark-theme-enforce 2024-07-15 10:09:54 +02:00
Git'Fellow fcff64afc7 Merge pull request #46475 from nextcloud/redisReqVer4
fix(redis): Require version >=4 for unlink
2024-07-15 09:54:42 +02:00
Nextcloud bot 86d6bc9f4f Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-07-15 00:19:55 +00:00
dependabot[bot] c4c5cf2d96 Merge pull request #46487 from nextcloud/dependabot/npm_and_yarn/puppeteer-22.13.0 2024-07-14 09:24:43 +00:00
Nextcloud bot c63918587b Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-07-14 00:19:31 +00:00
dependabot[bot] 91be1482b4 Merge pull request #46489 from nextcloud/dependabot/npm_and_yarn/webpack-5.93.0 2024-07-13 15:49:09 +00:00
dependabot[bot] f8c1e42ea8 build(deps-dev): bump webpack from 5.91.0 to 5.93.0
Bumps [webpack](https://github.com/webpack/webpack) from 5.91.0 to 5.93.0.
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](https://github.com/webpack/webpack/compare/v5.91.0...v5.93.0)

---
updated-dependencies:
- dependency-name: webpack
  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-07-13 15:31:52 +00:00
dependabot[bot] f84dcb1774 Merge pull request #46486 from nextcloud/dependabot/npm_and_yarn/typescript-5.5.3 2024-07-13 15:24:46 +00:00
dependabot[bot] 9cf43daa61 Merge pull request #46493 from nextcloud/dependabot/npm_and_yarn/cypress-13.13.0 2024-07-13 14:52:41 +00:00
dependabot[bot] d63a7e68cf Merge pull request #46501 from nextcloud/dependabot/npm_and_yarn/workbox-webpack-plugin-7.1.0 2024-07-13 14:38:31 +00:00
dependabot[bot] 3b9626d53a build(deps-dev): bump workbox-webpack-plugin from 7.0.0 to 7.1.0
Bumps [workbox-webpack-plugin](https://github.com/googlechrome/workbox) from 7.0.0 to 7.1.0.
- [Release notes](https://github.com/googlechrome/workbox/releases)
- [Commits](https://github.com/googlechrome/workbox/compare/v7.0.0...v7.1.0)

---
updated-dependencies:
- dependency-name: workbox-webpack-plugin
  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-07-13 14:09:52 +00:00
skjnldsv 1d00f48d26 fix(theming): enforce theme should still provide dark as fallback
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2024-07-13 10:07:49 +02:00
dependabot[bot] 9d47b7458a build(deps-dev): bump cypress from 13.7.2 to 13.13.0
Bumps [cypress](https://github.com/cypress-io/cypress) from 13.7.2 to 13.13.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.7.2...v13.13.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-07-13 02:39:26 +00:00
dependabot[bot] 35564fd7f6 build(deps-dev): bump @types/dockerode from 3.3.28 to 3.3.29
Bumps [@types/dockerode](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/dockerode) from 3.3.28 to 3.3.29.
- [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-07-13 01:42:35 +00:00
dependabot[bot] 85f834338d build(deps-dev): bump puppeteer from 22.11.2 to 22.13.0
Bumps [puppeteer](https://github.com/puppeteer/puppeteer) from 22.11.2 to 22.13.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.11.2...puppeteer-v22.13.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-07-13 01:41:12 +00:00
dependabot[bot] 86e00b367c build(deps-dev): bump typescript from 5.4.5 to 5.5.3
Bumps [typescript](https://github.com/Microsoft/TypeScript) from 5.4.5 to 5.5.3.
- [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.4.5...v5.5.3)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-07-13 01:40:47 +00:00
Nextcloud bot 4b296c750a Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-07-13 00:19:46 +00:00
John Molakvoæ 7773f1b379 Merge pull request #46007 from nextcloud/feat/files-request 2024-07-12 20:35:34 +02:00
John Molakvoæ 4b3aa01183 fix(files_sharing): fix label usage of file request feature
Co-authored-by: Ferdinand Thiessen <opensource@fthiessen.de>
Signed-off-by: John Molakvoæ <skjnldsv@users.noreply.github.com>
2024-07-12 20:14:30 +02:00
skjnldsv df42a10e56 chore(files_sharing): lint & refactor fixes
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2024-07-12 20:14:30 +02:00
skjnldsv 9b84831c8d fix(files_sharing): adjust IAttributes API and files_versions
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2024-07-12 20:14:30 +02:00
skjnldsv 62defbd6b4 chore: compile assets
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2024-07-12 20:14:30 +02:00
skjnldsv 967b3848e0 fix(files_sharing): phpunit & openapi fixes
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2024-07-12 20:14:30 +02:00
skjnldsv bc5839e5b5 chore(files_sharing): cleanup NewFileRequestDialog vue
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2024-07-12 20:14:30 +02:00
skjnldsv a65cdd1e70 fix: ARateLimit documentation
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2024-07-12 20:14:30 +02:00
skjnldsv 30f9ef414e fix: psalm, cs, autoloader and lint
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2024-07-12 20:14:30 +02:00
skjnldsv 5ce4bb368f chore(files_sharing): refactor share password mail
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2024-07-12 20:14:30 +02:00
skjnldsv 208ff8013d chore(files_sharing): refactor sharing config
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2024-07-12 20:14:30 +02:00
skjnldsv 06462804f7 fix(files_sharing): adjust NewFileRequestDialog for emails invites
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2024-07-12 20:14:30 +02:00
skjnldsv 75ca4944c9 feat(files_sharing): allow mixed values in share attributes and allow storing email arrays
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2024-07-12 20:14:30 +02:00
skjnldsv c253112cf7 chore(files_sharing): refactor mail handling
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2024-07-12 20:14:30 +02:00
skjnldsv d388370c3b feat(files_sharing): implement IShareProviderWithNotification and refactor sendMailNotification
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2024-07-12 20:14:30 +02:00
skjnldsv 443c48aefb feat(files_sharing): add new file request option
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2024-07-12 20:14:30 +02:00
skjnldsv b6f635f6f6 chore(files_sharing): rename File drop to File requests
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2024-07-12 20:14:30 +02:00
Git'Fellow 4c61a94f4f fix(redis): Require version >=4 for unlink
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
2024-07-12 19:53:49 +02:00
Robin Appelman c82d382a20 feat: add base class for extending the query builder
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-07-12 17:01:39 +02:00
Robin Appelman d81d59e9c3 feat: allow inspecting the parts of the composite expression builder
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-07-12 17:01:36 +02:00
Joas Schilling 86f5fb0c9b Merge pull request #46472 from nextcloud/bugfix/noid/require-compilation-check-when-touching-version
fix(CI): Require compilation check when touching version.php
2024-07-12 15:40:15 +02:00
Joas Schilling 7cad5573f5 fix(CI): Require compilation check when touching version.php
NPM is using version.php as app version and that seems to be part of the dist files now

Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-07-12 15:05:35 +02:00
Ferdinand Thiessen e13b59b085 Merge pull request #46453 from nextcloud/feat/background-with-dark-variant
feat(theming): Allow shipped backgrounds to have a dark variant
2024-07-12 15:04:28 +02:00
Ferdinand Thiessen d5dc6b2476 feat(theming): Allow shipped backgrounds to have a dark variant
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-07-12 13:00:07 +02:00
github-actions[bot] 76943efa18 Merge pull request #46085 from nextcloud/automated/noid/master-update-psalm-baseline
[master] Update psalm-baseline.xml
2024-07-12 02:47:28 +00:00
nextcloud-command 2d8b64957c chore(tests): Update psalm baseline
Signed-off-by: GitHub <noreply@github.com>
2024-07-12 02:25:57 +00:00
Ferdinand Thiessen cf050a6fe4 Merge pull request #46458 from nextcloud/auto-approve-psalm-baseline-update
chore: auto approve the psalm baseline update
2024-07-12 03:56:25 +02:00
Nextcloud bot 4c7840ee31 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-07-12 00:19:36 +00:00
Andy Scherzinger 32d1d82fa3 Merge pull request #46445 from nextcloud/bug/docs/fix-phpdoc-for-find-app-in-directories
docs: correct return type for findAppInDirectories
2024-07-11 23:13:41 +02:00
Daniel Kesselberg 6983310ec0 docs: correct return type for findAppInDirectories
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2024-07-11 23:13:08 +02:00
Daniel Kesselberg ded1a48034 chore: auto approve the psalm baseline update
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2024-07-11 22:50:05 +02:00
Pytal 64701f8a80 Merge pull request #45716 from nextcloud/feat/recent-accounts-section
feat: Add Recently active accounts section
2024-07-11 12:00:41 -07:00
Christopher Ng 281d83710e chore: compile assets
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2024-07-11 11:19:09 -07:00
Christopher Ng e8cacc50a2 chore(settings): Rename user groups
- "Active accounts" -> "All accounts"
- "Recent accounts" -> "Recently active"

Signed-off-by: Christopher Ng <chrng8@gmail.com>
2024-07-11 11:19:09 -07:00
Christopher Ng 51e9651436 chore(l10n): Translate group names
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2024-07-11 11:19:09 -07:00
Christopher Ng 07319a118b feat: Add Recent accounts section
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2024-07-11 11:19:09 -07:00
Ferdinand Thiessen 19c8c63f32 Merge pull request #46373 from nextcloud/artonge/fix/rounded_corner_in_grid_view
fix(files): Add rounded corners back in grid view
2024-07-11 17:56:08 +02:00
Andy Scherzinger 50af0805f0 Merge pull request #46448 from nextcloud/bugfix/noid/fix-missing-dashboard-widget-icon
fix(dashboard): Unify widget icon colors and document it's behaviour
2024-07-11 17:27:55 +02:00
Ferdinand Thiessen a2ded20050 Merge pull request #46414 from nextcloud/feat/provide-new-files-config
feat: Add new forbidden filename options to Capabilities
2024-07-11 15:53:25 +02:00
Ferdinand Thiessen cf935e33ae fix: OCP\Files\Node\Folder::search was not setting the owner
The owner was not set on the file info causing e.g. webdav searches to never return the known owner.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-07-11 15:46:44 +02:00
Joas Schilling 37d331233c fix(dashboard): Document expected icon behaviour
Signed-off-by: Joas Schilling <coding@schilljs.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-07-11 13:14:03 +00:00
Louis Chemineau 5fc79e4002 fix(files): Add rounded corners back in grid view
Signed-off-by: Louis Chemineau <louis@chmn.me>
2024-07-11 14:35:03 +02:00
Joas Schilling 5368b93539 fix(dashboard): Use the widget icon URL when it was provided
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-07-11 14:18:22 +02:00
Joas Schilling 6acecb6f68 fix(userstatus): Fix dashboard icon
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-07-11 14:18:02 +02:00
Ferdinand Thiessen ead87dfa01 Merge pull request #46424 from nextcloud/chore/update-dialogs
chore(deps): Update `@nextcloud/dialogs` to v5.3.5
2024-07-11 14:13:35 +02:00
Ferdinand Thiessen a229723b8c feat: Add new forbidden filename options to Capabilities
Allow clients to access the new filename validation options
and make frontend name validation possible.

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-07-11 13:31:54 +02:00
Ferdinand Thiessen 3112dee77d chore: Recompile assets
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-07-11 13:05:59 +02:00
Ferdinand Thiessen 0418026c15 chore(deps): Update @nextcloud/dialogs to v5.3.5
Also align package.json with dependencies used.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-07-11 13:05:59 +02:00
Andy Scherzinger b09347ae53 Merge pull request #46439 from nextcloud/docs/noid/spdx-docs
Update license header infos
2024-07-11 12:06:03 +02:00
Benjamin Gaussorgues d526d7813d Merge pull request #46392 from nextcloud/chore/bruteforce-dont-count-failed-csrf
feat: don't count failed CSRF as failed login attempt
2024-07-11 11:20:02 +02:00
Andy Scherzinger c13f1948e2 docs: Update license header infos
...to be inline with the SPDX strategy

Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2024-07-11 10:22:38 +02:00
Benjamin Gaussorgues e5275dbada feat: don't count failed CSRF as failed login attempt
Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
2024-07-11 09:27:33 +02:00
Arthur Schiwon 95af299cf5 Merge pull request #46398 from nextcloud/fix/46165/token-race
fix(Session): avoid race conditions on clustered setups
2024-07-11 09:24:24 +02:00
Marcel Müller d70744136d Merge pull request #46428 from nextcloud/fix/noid/fix-cypress-test-cachebuster
fix(theming): Don't reset the cachebuster value when we reset theming
2024-07-11 07:24:55 +02:00
Nextcloud bot 1a41cd57cf Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-07-11 00:20:02 +00:00
SebastianKrupinski f5fcfb4670 fix(dav): Thrown forbidden error for authenticated user instead of not found
Signed-off-by: SebastianKrupinski <krupinskis05@gmail.com>
2024-07-10 17:58:02 -04:00
Marcel Müller 4f12584310 fix(theming): Don't reset the cachebuster value when we reset theming
Signed-off-by: Marcel Müller <marcel-mueller@gmx.de>
2024-07-10 23:13:48 +02:00
Ferdinand Thiessen b97c7dfe7f Merge pull request #46391 from nextcloud/chore/use-consistent-material-symbols
chore: Make app icons consistent Material Symbols with same settings
2024-07-10 19:47:01 +02:00
Joas Schilling 78bb1dc55c Merge pull request #46388 from nextcloud/bugfix/noid/broken-file-systemtag-cache
fix(workflows): Fix file systemtag cache
2024-07-10 16:46:14 +02:00
Ferdinand Thiessen b2cf05657d chore: Make app icons consistent Material Symbols with same settings
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-07-10 15:53:45 +02:00
Ferdinand Thiessen b50182b0d6 Merge pull request #46371 from nextcloud/feat/filename-validator
feat: Add `IFilenameValidator` to have one consistent place for filename validation
2024-07-10 15:40:26 +02:00
Arthur Schiwon abd8708a96 ci(psalm): update baseline
prefer to keep this check as PublicEmitter should be dropped sooner or
later

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2024-07-10 13:48:03 +02:00
Arthur Schiwon 6a783d9b08 fix(Session): avoid race conditions on clustered setups
- re-stablishes old behaviour with cache to return null instead of throwing
  an InvalidTokenException when the token is cached as non-existing
- token invalidation and re-generation are bundled in a DB transaction now

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2024-07-10 13:28:33 +02:00
Joas Schilling a2a0a5afcb fix(workflows): Fix file systemtag cache
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-07-10 11:55:29 +02:00
Joas Schilling e31f474fec Merge pull request #46320 from nextcloud/perf/php-session-cache-limiter
perf: Set session.cache_limiter at runtime to avoid clients caching static assets served by PHP
2024-07-10 11:52:52 +02:00
Nextcloud bot cd7007c649 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-07-10 00:34:21 +00:00
Ferdinand Thiessen 038836c41c Merge pull request #46370 from nextcloud/refactor/app-menu
refactor: split app menu into smaller components
2024-07-10 02:11:45 +02:00
Ferdinand Thiessen d04a221093 chore: Compile assets
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-07-10 01:35:29 +02:00
Ferdinand Thiessen 12e1c29245 test: Adjust cypress tests to use reusable POM for header navigation
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-07-10 01:35:25 +02:00
Ferdinand Thiessen d82565d67d refactor(core): Split app menu into components
This allows to split one large block of code into three components with each one usecase.
Allowing for better readability and maintainablility.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-07-10 01:35:24 +02:00
Ferdinand Thiessen a96b5940dd chore: Make active apps initial state consistent with OCS API
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-07-10 01:35:24 +02:00
Ferdinand Thiessen 4fc77eca47 Merge pull request #46382 from nextcloud/fix/sharing-action
fix(files_sharing): Only enable mixed sharing types if there is at least one sharing type
2024-07-10 01:28:28 +02:00
Git'Fellow 9005ab0cfa Merge pull request #44544 from nextcloud/dependabot/npm_and_yarn/davclient.js-de93b73
build(deps): bump davclient.js from `1ab200d` to `de93b73`
2024-07-10 00:19:19 +02:00
John Molakvoæ 99feafad71 Merge pull request #46310 from nextcloud/fix/cypress-wait-apps 2024-07-09 22:34:14 +02:00
dependabot[bot] a2c2c7a891 build(deps): bump davclient.js from 1ab200d to de93b73
Bumps [davclient.js](https://github.com/owncloud/davclient.js) from `1ab200d` to `de93b73`.
- [Release notes](https://github.com/owncloud/davclient.js/releases)
- [Commits](https://github.com/owncloud/davclient.js/compare/1ab200d099a3c2cd2ef919c3a56353ce26865994...de93b734bd7a656de0482437df8ef50dd68a10d3)

---
updated-dependencies:
- dependency-name: davclient.js
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-07-09 19:04:08 +00:00
nextcloud-command d17d5bfd8e chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-07-09 18:40:26 +00:00
Ferdinand Thiessen fd21e15f7d fix(files_sharing): Only enable mixed sharing types if there is at least one sharing type
If the array is empty it means it is not shared.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-07-09 20:34:08 +02:00
Ferdinand Thiessen ddb9ef8287 Merge pull request #46004 from nextcloud/perf/noid/log-slow-capabilities
perf(capabilities): Log capabilities providers that are slow
2024-07-09 20:32:55 +02:00
Ferdinand Thiessen 6d8a7a147c Merge pull request #46082 from nextcloud/chore/enable-eslint
chore: Enable ESLint for apps and fix all errors
2024-07-09 19:04:25 +02:00
Ferdinand Thiessen b0f6686866 chore: Compile assets
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-07-09 17:27:21 +02:00
Ferdinand Thiessen d0951b48be chore(files): Fix ESLint issues with files and files_sharing app
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-07-09 17:25:41 +02:00
Ferdinand Thiessen 24c01695bb test: Adjust Typescript definitions for OCP and OC
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-07-09 17:13:30 +02:00
Ferdinand Thiessen 691f570237 chore: Enable ESLint for apps and fix all errors
Nevertheless this causes a huge amount of new warnings.
Previously the shell script for directories to lint was wrong it was generating all app names to lint,
but was missing the `apps/` prefix. Causing only `core` to be linted.

Co-authored-by: Grigorii K. Shartsev <me@shgk.me>
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-07-09 17:13:30 +02:00
Pytal 3a97dbf248 Merge pull request #46123 from nextcloud/feat/user-password-hash
feat: Allow getting/setting the password hash of a user
2024-07-09 08:00:01 -07:00
Ferdinand Thiessen 46f1efac41 feat: Add IFilenameValidator to have one consistent place for filename validation
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-07-09 15:04:34 +02:00
Pytal 025a7849b4 Merge pull request #46361 from nextcloud/perf/scroll-user-list
perf(settings): Optimize user list scroll performance
2024-07-09 01:29:17 -07:00
Git'Fellow 6b523e8b09 Merge pull request #46317 from nextcloud/s3InsertTimeout
fix(s3): Don't wait indefinitely for S3 to return
2024-07-09 09:49:39 +02:00
yemkareems f727040f50 Merge pull request #45249 from nextcloud/feature/add-ability-to-sort-by-last-login
feat: add ability to sort by last login
2024-07-09 13:15:31 +05:30
Christopher Ng 088cc32b97 chore: compile assets
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2024-07-08 17:37:39 -07:00
Christopher Ng 4b392ebb4e perf(settings): Optimize user list scroll performance
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2024-07-08 17:37:35 -07:00
Nextcloud bot 4fd2127761 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-07-09 00:19:56 +00:00
Christopher Ng c390ae94ff feat: Validate password hash
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2024-07-08 16:31:42 -07:00
Christopher Ng dba00560d2 perf: Return cached password hash
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2024-07-08 16:30:52 -07:00
Christopher Ng d65f53184e docs: Add info for the password hashes
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2024-07-08 16:30:52 -07:00
Christopher Ng 34d97d45cf feat: Allow getting/setting the password hash of a user
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2024-07-08 16:30:52 -07:00
Christopher Ng a330f4c9d5 feat: Implement IPasswordHashBackend in database user backend
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2024-07-08 16:30:52 -07:00
Christopher Ng 69f252a90d feat: Add IPasswordHashBackend
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2024-07-08 16:30:19 -07:00
Julius Härtl 38bee2c014 perf: Set session.cache_limiter at runtime to avoid clients caching static assets served by PHP
By default there is a Pragma: no-cache header set due to the default
value `no-cache` of session.cache-limiter, which will cause Chrome and
iOS to not cache even with a different Cache-Control header set on the
response.

Signed-off-by: Julius Härtl <jus@bitgrid.net>
2024-07-08 22:30:27 +02:00
F. E Noel Nfebe 7b60b989b0 Merge pull request #46321 from nextcloud/fix/46195/feedback-no-read-perms
fix(SharingDetailsView): Prevent illegal unselection of read permissions
2024-07-08 21:02:26 +01:00
nextcloud-command 5bb36dce4c chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-07-08 19:38:53 +00:00
fenn-cs 48339500fc fix(SharingDetailsView): Prevent illegal unselection of read permissions
With the exception of "file drop" on link shares all other shares need the read permissions at least.

Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
2024-07-08 20:32:52 +01:00
Andy Scherzinger 9b2d195cda Merge pull request #46358 from nextcloud/artonge/fix/checkbox_background
fix(files): Correctly center the checkbox's background in grid view
2024-07-08 21:12:24 +02:00
Andy Scherzinger 9bab06978e Merge pull request #46360 from nextcloud/style/noid/dashboardIconResized
Align dashboard app icon in size with photos app icon
2024-07-08 18:44:48 +02:00
Andy Scherzinger 67fef54b6c style: Align dashboard app icon in size with photos app icon
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2024-07-08 18:42:07 +02:00
nextcloud-command 1f4926bd1f chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-07-08 15:42:13 +00:00
Louis Chemineau 93cb30fc0c fix(files): Correctly center the checkbox's background in grid view
Signed-off-by: Louis Chemineau <louis@chmn.me>
2024-07-08 17:34:15 +02:00
Côme Chilliet a434dfbcb3 Merge pull request #46115 from nextcloud/enh/add-a-universal-debug-option-to-occ
feat(occ): Add a --debug option to output all log levels to the output
2024-07-08 17:15:02 +02:00
Côme Chilliet 5b9966feba fix(occ): Use the const instead of hardcoded string for --debug-log option
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-07-08 16:09:39 +02:00
Sebastian Krupinski fe90956aa4 Merge pull request #46315 from nextcloud/fix/limit-vevent-size
fix(caldav): limit vevent size
2024-07-08 09:10:09 -04:00
provokateurin 68d60fcd26 fix(OpenAPI): Regenerate
Signed-off-by: provokateurin <kate@provokateurin.de>
2024-07-08 12:21:17 +02:00
yemkareems 4eba967d63 fix: getLastLoggedInUsers moved from AllConfig/IConfig to IUserManager/Manager
Signed-off-by: yemkareems <yemkareems@gmail.com>
2024-07-08 15:42:55 +05:30
yemkareems 6ac49e549b fix: ran bash build/openapi-checker.sh and commit the result
Signed-off-by: yemkareems <yemkareems@gmail.com>
2024-07-08 15:42:55 +05:30
yemkareems 710dc43309 fix: doc block corrected
Signed-off-by: yemkareems <yemkareems@gmail.com>
2024-07-08 15:42:55 +05:30
yemkareems 357786f36a fix: return type doc block added as per psalm
Signed-off-by: yemkareems <yemkareems@gmail.com>
2024-07-08 15:42:55 +05:30
yemkareems 53e3644ffb fix: return type doc block added as per psalm
Signed-off-by: yemkareems <yemkareems@gmail.com>
2024-07-08 15:42:55 +05:30
yemkareems 0df1a29cf0 fix: return type doc block added as per psalm
Signed-off-by: yemkareems <yemkareems@gmail.com>
2024-07-08 15:42:55 +05:30
yemkareems 3dee8a213d fix: second join and where conditions added only when search param is available
Signed-off-by: yemkareems <yemkareems@gmail.com>
2024-07-08 15:42:55 +05:30
yemkareems 0e6040289f fix: query refactored to support both the search by email and sort by login
Signed-off-by: yemkareems <yemkareems@gmail.com>
2024-07-08 15:42:55 +05:30
yemkareems ae95e46787 fix: limit and fixLimit removed. negative limit handled in controller. removed getUsersSortedByLastLogin from Manager and instead used the config in controller
Signed-off-by: yemkareems <yemkareems@gmail.com>
2024-07-08 15:42:55 +05:30
yemkareems ceedfb4616 fix: removed default limit of 25. if null is given all users are fetched or if limit is given limit number of users are fetched
Signed-off-by: yemkareems <yemkareems@gmail.com>
2024-07-08 15:42:55 +05:30
yemkareems cfafbc8415 fix: removed references to old disabled users code. refactored query as per getDisplayNames function. limit and offset added to query. default limit set to 25.
Signed-off-by: yemkareems <yemkareems@gmail.com>
2024-07-08 15:42:55 +05:30
yemkareems 4c62f78a25 fix: removed NoCSRFRequired used for testing locally
Signed-off-by: yemkareems <yemkareems@gmail.com>
2024-07-08 15:42:55 +05:30
yemkareems afa51365ff fix: removed the params related to sortMode and order since it sorts by lastLogin
Signed-off-by: yemkareems <yemkareems@gmail.com>
2024-07-08 15:42:55 +05:30
yemkareems c701ef1ed5 fix: since added to doc blocks
Signed-off-by: yemkareems <yemkareems@gmail.com>
2024-07-08 15:42:55 +05:30
yemkareems 5b249df686 fix: doc blocks added
Signed-off-by: yemkareems <yemkareems@gmail.com>
2024-07-08 15:42:55 +05:30
yemkareems 695bd042d7 fix: search and searchDisplayNames reverted to how it was initially as sort and order are not required here
Signed-off-by: yemkareems <yemkareems@gmail.com>
2024-07-08 15:42:55 +05:30
yemkareems dc6e8c9c0a fix: search and searchDisplayNames reverted to how it was initially as sort and order are not required here
Signed-off-by: yemkareems <yemkareems@gmail.com>
2024-07-08 15:42:55 +05:30
yemkareems 3615b1f928 fix: removed csrf check for the recent end point and ran cs fix
Signed-off-by: yemkareems <yemkareems@gmail.com>
2024-07-08 15:42:55 +05:30
yemkareems 4cb85f7c9e fix: rebased the branch with master and resolved conflicts
fix: added a new endpoint users/recent and getting users based on last login info in the same. Reverted old code that was breaking LDAP

Signed-off-by: yemkareems <yemkareems@gmail.com>
2024-07-08 15:42:55 +05:30
yemkareems 76c875a588 fix: change orderBy and sort to sortMode and sortOrder. default it to uid asc. enable email search by changing query
Signed-off-by: yemkareems <yemkareems@gmail.com>
2024-07-08 15:42:55 +05:30
yemkareems 33b38c6573 fix: cs fix and psalm ci related changes
Signed-off-by: yemkareems <yemkareems@gmail.com>
2024-07-08 15:42:55 +05:30
yemkareems c8c68c3510 fix: sort the user getDisplayNames based on lastLogin. Default sort order is lastLogin DESC
Signed-off-by: yemkareems <yemkareems@gmail.com>
2024-07-08 15:42:55 +05:30
yemkareems 87a8013ee3 feat: cs fix run on the changed files and default order by last_login desc. Also last_login sort logic changed
Signed-off-by: yemkareems <yemkareems@gmail.com>
2024-07-08 15:42:55 +05:30
yemkareems 0ee676cd51 feat: add ability to sort users by last_login, uid or displayName. one of these needs to be passed as orderBy and sort can be ASC or DESC
Signed-off-by: yemkareems <yemkareems@gmail.com>
2024-07-08 15:42:55 +05:30
Joas Schilling 59d6b370ee Merge pull request #46010 from nextcloud/bugfix/noid/allow-guests-to-load-the-dashboard
fix(dashboard): Correctly redirect guests to login page when opening dashboard
2024-07-08 11:14:11 +02:00
Nextcloud bot b94a1f7f29 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-07-08 00:19:42 +00:00
Andy Scherzinger f6b53bb9dc Merge pull request #46271 from nextcloud/enh/dashboard-icon
Update dashboard icon
2024-07-07 19:59:51 +02:00
Andy Scherzinger 6c6ca859bf fix: update dashboard icon
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2024-07-07 19:34:19 +02:00
Andy Scherzinger 8534b8cc5c Merge pull request #46323 from nextcloud/style/noid/copyIcon
Unify copy icon
2024-07-07 19:31:05 +02:00
nextcloud-command 7a473d2d49 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-07-07 17:03:29 +00:00
Andy Scherzinger 2c11c6ac23 style: unify copy icon
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2024-07-07 18:39:10 +02:00
Andy Scherzinger 785f57fe62 Merge pull request #46349 from nextcloud/style/noid/file-reminders-app-icon
Add app icon to file reminders
2024-07-07 18:38:18 +02:00
Andy Scherzinger 8c9ba2c789 style: Add app icon to file reminders
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2024-07-07 18:35:52 +02:00
Ferdinand Thiessen 03b1918c58 Merge pull request #46259 from nextcloud/feat/provide-body-container
feat(theming): Provide `body-container-` variables through theming
2024-07-07 14:24:36 +02:00
Nextcloud bot 2cbb7f488a Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-07-07 00:19:25 +00:00
dependabot[bot] ca50c3167d Merge pull request #45071 from nextcloud/dependabot/npm_and_yarn/nextcloud/cypress-1.0.0-beta.8 2024-07-06 19:34:29 +00:00
dependabot[bot] 5272aaefaa build(deps-dev): bump @nextcloud/cypress
Bumps [@nextcloud/cypress](https://github.com/nextcloud/nextcloud-cypress) from 1.0.0-beta.7 to 1.0.0-beta.8.
- [Release notes](https://github.com/nextcloud/nextcloud-cypress/releases)
- [Commits](https://github.com/nextcloud/nextcloud-cypress/compare/v1.0.0-beta.7...v1.0.0-beta.8)

---
updated-dependencies:
- dependency-name: "@nextcloud/cypress"
  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-07-06 19:15:16 +00:00
MichaIng 49e65923f2 Merge pull request #45263 from nextcloud/dependabot/npm_and_yarn/nextcloud/stylelint-config-3.0.1
chore(deps-dev): bump @nextcloud/stylelint-config from 2.4.0 to 3.0.1
2024-07-06 20:44:35 +02:00
dependabot[bot] 5729101652 chore(deps-dev): bump @nextcloud/stylelint-config from 2.4.0 to 3.0.1
Bumps [@nextcloud/stylelint-config](https://github.com/nextcloud/stylelint-config) from 2.4.0 to 3.0.1.
- [Release notes](https://github.com/nextcloud/stylelint-config/releases)
- [Changelog](https://github.com/nextcloud-libraries/stylelint-config/blob/main/CHANGELOG.md)
- [Commits](https://github.com/nextcloud/stylelint-config/compare/v2.4.0...v3.0.1)

---
updated-dependencies:
- dependency-name: "@nextcloud/stylelint-config"
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-07-06 16:27:44 +00:00
MichaIng a622d5c9a5 Merge pull request #45264 from nextcloud/dependabot/npm_and_yarn/nextcloud/l10n-3.1.0
chore(deps): bump @nextcloud/l10n from 2.2.0 to 3.1.0
2024-07-06 18:26:09 +02:00
dependabot[bot] 6d9aa3ac4b chore(deps): bump @nextcloud/l10n from 2.2.0 to 3.1.0
Bumps [@nextcloud/l10n](https://github.com/nextcloud-libraries/nextcloud-l10n) from 2.2.0 to 3.1.0.
- [Release notes](https://github.com/nextcloud-libraries/nextcloud-l10n/releases)
- [Changelog](https://github.com/nextcloud-libraries/nextcloud-l10n/blob/main/CHANGELOG.md)
- [Commits](https://github.com/nextcloud-libraries/nextcloud-l10n/compare/v2.2.0...v3.1.0)

---
updated-dependencies:
- dependency-name: "@nextcloud/l10n"
  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-07-06 15:26:49 +00:00
dependabot[bot] a7645f9fba Merge pull request #45787 from nextcloud/dependabot/npm_and_yarn/braces-3.0.3 2024-07-06 14:47:18 +00:00
dependabot[bot] 8270c9fdcc Merge pull request #46328 from nextcloud/dependabot/npm_and_yarn/testing-library/jest-dom-6.4.6 2024-07-06 14:34:51 +00:00
dependabot[bot] 59abc5c644 Merge pull request #46327 from nextcloud/dependabot/npm_and_yarn/libphonenumber-js-1.11.4 2024-07-06 14:18:07 +00:00
dependabot[bot] adeaca8121 chore(deps): bump libphonenumber-js from 1.10.60 to 1.11.4
Bumps [libphonenumber-js](https://gitlab.com/catamphetamine/libphonenumber-js) from 1.10.60 to 1.11.4.
- [Changelog](https://gitlab.com/catamphetamine/libphonenumber-js/blob/master/CHANGELOG.md)
- [Commits](https://gitlab.com/catamphetamine/libphonenumber-js/compare/v1.10.60...v1.11.4)

---
updated-dependencies:
- dependency-name: libphonenumber-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-07-06 13:58:18 +00:00
dependabot[bot] 628403675a Merge pull request #46329 from nextcloud/dependabot/npm_and_yarn/nextcloud/password-confirmation-5.1.1 2024-07-06 11:06:34 +00:00
nextcloud-command eebdbecd7d chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-07-06 03:58:41 +00:00
dependabot[bot] bc4fdb4825 chore(deps): bump @nextcloud/password-confirmation from 5.1.0 to 5.1.1
Bumps [@nextcloud/password-confirmation](https://github.com/nextcloud-libraries/nextcloud-password-confirmation) from 5.1.0 to 5.1.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.1.0...v5.1.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>
2024-07-06 01:10:33 +00:00
dependabot[bot] 55b64b59da chore(deps-dev): bump @testing-library/jest-dom from 6.4.5 to 6.4.6
Bumps [@testing-library/jest-dom](https://github.com/testing-library/jest-dom) from 6.4.5 to 6.4.6.
- [Release notes](https://github.com/testing-library/jest-dom/releases)
- [Changelog](https://github.com/testing-library/jest-dom/blob/main/CHANGELOG.md)
- [Commits](https://github.com/testing-library/jest-dom/compare/v6.4.5...v6.4.6)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-07-06 01:10:14 +00:00
Nextcloud bot d30bebd381 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-07-06 00:19:24 +00:00
Git'Fellow c84e76a749 fix(s3): Don't wait indefinitely for S3 to return
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>

fix: lint

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

fix: use AwsException

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

fix: Throw on connection failure

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

fix: Wrap all in try catch block

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

fix: use RequestTimeout error message

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

log: use OCP Server class

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

fix: Handle connect timeout only

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

fix: Handle errors more generically

Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
2024-07-05 16:24:32 +02:00
John Molakvoæ a98a0eb7cd Merge pull request #46307 from nextcloud/artonge/feat/improve_grid_view 2024-07-05 10:43:30 +02:00
Richard Steinmetz 5d2d582a2b Merge pull request #46295 from nextcloud/chore/remove-obsolete-function-generateVCalendar
chore(caldav): remove obsolete function
2024-07-05 07:52:32 +02:00
Pytal 915eef6429 Merge pull request #46186 from nextcloud/feat/validate-hash
feat: Add utility method to validate an IHasher hash
2024-07-04 17:45:04 -07:00
Nextcloud bot 4a8cf147eb Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-07-05 00:19:26 +00:00
Christopher Ng 48b69c53dc test: Test hash validation
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2024-07-04 17:05:50 -07:00
Christopher Ng 415edcac9b chore: More explicit splitHash typing
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2024-07-04 17:05:45 -07:00
Christopher Ng d9bf6c432e feat: Add method to validate an IHasher hash
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2024-07-04 17:05:45 -07:00
dependabot[bot] 7e8a061ab6 Merge pull request #46110 from nextcloud/dependabot/npm_and_yarn/nextcloud/calendar-availability-vue-2.2.2 2024-07-04 23:42:04 +00:00
dependabot[bot] 5fd193a54d chore(deps): bump @nextcloud/calendar-availability-vue
Bumps [@nextcloud/calendar-availability-vue](https://github.com/nextcloud/calendar-availability-vue) from 2.2.1 to 2.2.2.
- [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.1...v2.2.2)

---
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-07-04 23:22:33 +00:00
SebastianKrupinski 247fbb5538 fix(caldav): limit vevent size
Signed-off-by: SebastianKrupinski <krupinskis05@gmail.com>
2024-07-04 18:56:27 -04:00
Richard Steinmetz a8e581ca94 Merge pull request #46193 from nextcloud/fix/limit-vcard-size
fix(carddav): limit vcard size
2024-07-05 00:08:14 +02:00
SebastianKrupinski cb6c091e08 fix(carddav): limit vcard size
Signed-off-by: SebastianKrupinski <krupinskis05@gmail.com>
2024-07-04 16:42:09 -04:00
Andy Scherzinger be3a8476c6 Merge pull request #46311 from nextcloud/chore/noid/reuse-v4
ci: Bump reuse to v4.0.0
2024-07-04 22:29:57 +02:00
Andy Scherzinger 9d105e8b8b ci: Bump reuse to v4.0.0
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2024-07-04 22:25:48 +02:00
Louis Chemineau d30d7de56f feat(files): Refresh grid view layout
Signed-off-by: Louis Chemineau <louis@chmn.me>
2024-07-04 18:49:37 +02:00
Louis Chemineau e8790f0b89 feat(files): Display mtime in grid view
Signed-off-by: Louis Chemineau <louis@chmn.me>
2024-07-04 18:48:29 +02:00
John Molakvoæ 78c2c6d57f Merge pull request #46283 from nextcloud/chore/server-nextcloud-vue-8.13.0 2024-07-04 18:42:16 +02:00
skjnldsv cf92cf3203 fix(cypress): wait for apps list fetch for better testing stability
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2024-07-04 18:32:42 +02:00
Ferdinand Thiessen 6ef88de0b4 chore: Compile assets
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-07-04 18:29:17 +02:00
Ferdinand Thiessen c9e8cdd7ad feat(theming): Provide body-container- variables through theming
* Provide the body container height, radius and margin as theming variables.
* Remove unused old variables (`header-menu-profile-item-height` and `list-max-width`)
* Fix comment about breakpoint JS location

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-07-04 18:29:17 +02:00
Julius Härtl 7e663301ff Merge pull request #45353 from nextcloud/feat/excalidraw-file-support
feat: support excalidraw file
2024-07-04 17:27:38 +02:00
Hamza Mahjoubi 5e86322584 chore(deps): Bump @nextcloud/vue to v8.14.0
Signed-off-by: Hamza Mahjoubi <hamzamahjoubi221@gmail.com>
2024-07-04 16:52:56 +02:00
Côme Chilliet 612088bef2 feat: Add reserved options in a new OCP class so that applications know about them
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-07-04 16:19:36 +02:00
Daniel 8b3055ce59 Merge pull request #46276 from nextcloud/3rdparty/patch-mp3info
chore(mp3info): apply upstream patch for invalid array access
2024-07-04 14:25:18 +02:00
Joas Schilling bd7b09a709 Merge pull request #46251 from nextcloud/feat/taskprocessing-more-tasktypes
feat(TaskProcessing): Add more task types
2024-07-04 14:02:02 +02:00
Marcel Klehr 03d71e859c Merge pull request #46286 from nextcloud/fix/tp/sync-bg-job-status
fix(TaskProcessing): Set task status to running when processing via ISynchronousProvider
2024-07-04 12:53:54 +02:00
Julius Härtl f5fbe43548 fix: Adapt icon color to new default for mime icons
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2024-07-04 11:09:21 +02:00
Hoang Pham 9a2f026bd6 feat: support excalidraw file
Signed-off-by: Hoang Pham <hoangmaths96@gmail.com>
2024-07-04 11:09:21 +02:00
Daniel Kesselberg 37454eb200 feat: log file id and path when extracting the mp3 cover fails
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2024-07-04 10:55:31 +02:00
Daniel Kesselberg 949a634a26 chore(mp3info): apply upstream patch for invalid array access
Patch: wapmorgan/Mp3Info#36

Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2024-07-04 10:55:31 +02:00
John Molakvoæ 8cb0f1a3ae Merge pull request #46174 from nextcloud/fix/integrity-check
fix(IntegrityCheck): Ensure the check is run if no results are available
2024-07-04 10:39:38 +02:00
Marcel Klehr d9cf6e61c8 feat(TaskProcessing): Add more task types
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2024-07-04 10:10:23 +02:00
Marcel Klehr 1b2c8d5030 fix(TaskProcessing): Set task status to running when processing via ISynchronousProvider
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2024-07-04 10:02:36 +02:00
SebastianKrupinski 65e4d46e2c chore(caldav): remove obsolete function
Signed-off-by: SebastianKrupinski <krupinskis05@gmail.com>
2024-07-04 03:39:49 -04:00
dependabot[bot] 0116a631c6 Merge pull request #45886 from nextcloud/dependabot/npm_and_yarn/mime-4.0.3 2024-07-04 01:27:14 +00:00
Nextcloud bot 6496abdb92 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-07-04 00:21:34 +00:00
dependabot[bot] d5c88769cd chore(deps-dev): bump mime from 4.0.1 to 4.0.3
Bumps [mime](https://github.com/broofa/mime) from 4.0.1 to 4.0.3.
- [Changelog](https://github.com/broofa/mime/blob/v4.0.3/CHANGELOG.md)
- [Commits](https://github.com/broofa/mime/compare/v4.0.1...v4.0.3)

---
updated-dependencies:
- dependency-name: mime
  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-07-03 23:22:26 +00:00
Andy Scherzinger 40fb16b1c3 Merge pull request #46284 from nextcloud/bugfix/noid/fix-output-when-running-unit-tests
fix(tests): Remove output when running tests
2024-07-03 18:02:23 +02:00
Ferdinand Thiessen 599b86ac80 Merge pull request #46275 from nextcloud/check-uncompiled-styles
ci: also check for uncompiled SCSS styles
2024-07-03 17:58:15 +02:00
Joas Schilling a1d3b5f1a3 fix(tests): Remove output when running tests
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-07-03 15:51:36 +02:00
Hamza 993424fc95 Merge pull request #46273 from nextcloud/fix/make-ooo-replacement-nullable
Fix: Make out of office replacement nullable
2024-07-03 15:03:24 +02:00
Ferdinand Thiessen 98c143ec91 ci: also check for uncompiled SCSS styles
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-07-03 13:47:43 +02:00
Hamza Mahjoubi 85a3b27cf9 Fix: Make out of office replacement nullable
Signed-off-by: Hamza Mahjoubi <hamzamahjoubi221@gmail.com>
2024-07-03 12:31:53 +02:00
F. E Noel Nfebe 05bdafa0f5 Merge pull request #46068 from nextcloud/fix/guest-share-ui-update
fix(ExternalSharing): Handle template shares from external sources
2024-07-03 11:29:28 +01:00
Ferdinand Thiessen 4a3f8a2cfa Merge pull request #46201 from nextcloud/feat/update-dashboard-border-radius
Feat: update panels border radius
2024-07-03 11:50:15 +02:00
Ferdinand Thiessen 8fc498fb82 fix(IntegrityCheck): Ensure the check is run if no results are available
If there are no cached results the current implementation was also returning an empty array,
but this was the same as when there was a successful run.
So to distinguish this we return `null` if there are *no* results.
In this case we need to rerun the integrity checker.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-07-03 11:37:49 +02:00
nextcloud-command 4dad957e7f chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-07-03 08:13:30 +00:00
fenn-cs 483d857de0 refactor(SharingInput): Remove unused addShare
The new sharing flow since NC27 requires that users open the sharing details tab and
customize their share before creating it.

In https://github.com/nextcloud/server/pull/39472 the work of `addShare` was handed down to
`openSharingDetails` that opens the sharing details tab for the user to customize and manually
creat their share.

Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
2024-07-03 09:06:47 +01:00
fenn-cs c998f5ebba fix(ExternalSharing): Handle template share from external sources
The new sharing flow requires or implies that users should edit share before creating.
External sources should not created the share IF we would upon sharing details tab on first request.

Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
2024-07-03 09:06:47 +01:00
Louis acb95d5c0f Merge pull request #45982 from nextcloud/artonge/update/disable_copy_button_on_readonly_folders
fix(files): Disable buttons in copy/move dialog for non writable folders
2024-07-03 10:03:56 +02:00
Marco 829d7a90bd Merge pull request #46270 from nextcloud/feat/match-input-height-with-clickable-area
Match input height with clickable area
2024-07-03 09:55:27 +02:00
Marco Ambrosini 1f2b6b3adf feat: Match input height with clickable area
Signed-off-by: Marco Ambrosini <marcoambrosini@proton.me>
2024-07-03 09:17:23 +02:00
Joas Schilling 854f851f52 Merge pull request #46263 from nextcloud/automated/noid/master-update-ca-cert-bundle
[master] fix(security): Update CA certificate bundle
2024-07-03 08:45:14 +02:00
nextcloud-command 074d10cc09 fix(security): Update CA certificate bundle
Signed-off-by: GitHub <noreply@github.com>
2024-07-03 02:19:46 +00:00
Nextcloud bot 7f7e189624 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-07-03 00:20:11 +00:00
Ferdinand Thiessen e8c43740cc Merge pull request #45395 from nextcloud/fix/blur-chromium
fix(theming): Conitionally disable blur filter for performance
2024-07-02 22:21:40 +02:00
Marco Ambrosini 479d394a9e Feat: update panels border radius
Signed-off-by: Marco Ambrosini <marcoambrosini@proton.me>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-07-02 19:47:44 +00:00
Andy Scherzinger d4cb51c7bc Merge pull request #46215 from nextcloud/enh/dashboard-icon
chore: Replace dashboard icon with Material Symbols
2024-07-02 18:46:09 +02:00
Louis Chemineau d1b5657b7f fix(files): Disable buttons in copy/move dialog for non writable folders
Signed-off-by: Louis Chemineau <louis@chmn.me>
2024-07-02 17:50:19 +02:00
Ferdinand Thiessen 03064187f1 chore: Compile assets
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-07-02 17:42:29 +02:00
Ferdinand Thiessen 2d827d0ed4 feat(theming): Add checkbox for force enable / disable blurry background
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-07-02 17:31:43 +02:00
Ferdinand Thiessen 697a963243 fix(theming): Conitionally disable blur filter for performance
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-07-02 17:31:43 +02:00
Louis 9972589cad Merge pull request #45981 from nextcloud/artonge/update/nc_dialogs_v5.3.2
fix(deps): Update `@nextcloud/dialogs` to 5.3.4 to fix picking current directory
2024-07-02 17:15:08 +02:00
Robin Appelman 5f7b33fbea Merge pull request #46194 from nextcloud/schema-export-cmnd
feat: add commands for exporting current and expected database schema
2024-07-02 16:44:55 +02:00
Côme Chilliet 84699048b5 Merge pull request #46076 from nextcloud/enh/webhooks-user-id-filter
feat(webhooks): Add support for a userid filter
2024-07-02 16:29:49 +02:00
Côme Chilliet 9baf8fea8c fix(occ): Move debug log listener setup to a static method, add option for level
Also changed option from --debug to --debug-log to avoid conflicts

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-07-02 16:02:44 +02:00
Côme Chilliet 2ba0819243 feat(occ): Add a --debug option to output all log levels to the output
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-07-02 15:03:18 +02:00
Côme Chilliet 5365882b6f fix(webhook_listeners): Use string type instead of text for event
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-07-02 14:29:25 +02:00
Robin Appelman 4f01486da0 feat: add commands for exporting current and expected database schema
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-07-02 13:45:12 +02:00
John Molakvoæ 72b6db4043 Merge pull request #45970 from nextcloud/dependabot/npm_and_yarn/multi-06a0b1b42d 2024-07-02 12:41:37 +02:00
John Molakvoæ 47f837c962 Merge pull request #46111 from nextcloud/dependabot/github_actions/github-actions-6c0d3fe959 2024-07-02 12:34:32 +02:00
Côme Chilliet 98dfa50f46 fix(webhooks_listeners): Fix SQL requests for oracle
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-07-02 12:30:49 +02:00
John Molakvoæ 5708b1d8d5 Merge pull request #46235 from nextcloud/skjnldsv-patch-1 2024-07-02 12:27:02 +02:00
John Molakvoæ 8f8cd87946 fix(dependabot): remove outdated comment
Signed-off-by: John Molakvoæ <skjnldsv@users.noreply.github.com>
2024-07-02 12:23:28 +02:00
John Molakvoæ e026e046f6 fix(dependabot): add back patch upgrades for stable branches
Signed-off-by: John Molakvoæ <skjnldsv@users.noreply.github.com>
2024-07-02 12:20:26 +02:00
Louis Chemineau d73be08884 test: Don't use @nc/axios in cypress
Signed-off-by: Louis Chemineau <louis@chmn.me>
2024-07-02 12:09:47 +02:00
Louis Chemineau 124f1aef44 fix(deps): Update @nextcloud/dialogs to 5.3.2 to fix picking current directory
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
Signed-off-by: Louis Chemineau <louis@chmn.me>
2024-07-02 12:09:47 +02:00
Côme Chilliet 7c577c98ef fix(webhook_listeners): Allow null for user_id_filter for oracle
Empty string and null are the same thing on oracle databases so we have
 to allow it.

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-07-02 11:24:34 +02:00
Côme Chilliet b6aef4d235 fix(webhooks): Completed API documentation and updated openapi.json
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-07-02 11:24:34 +02:00
Côme Chilliet 8abf62715c fix(webhooks): Fix userIdFiltering for webhooks calls
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-07-02 11:24:33 +02:00
Côme Chilliet 44d707c97b feat(webhooks): Add support for a userid filter
This allows to register a userId to filter on along with the webhooks.
This webhook will then only be triggered if the given userId is the one
in session. This is more efficient than filtering by user in the event
filter because the listener is not even registered if the user id does
not match.

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-07-02 11:24:33 +02:00
Daniel 0f95c6e471 Merge pull request #46185 from nextcloud/debt/noid/migrate-background-commands-to-iappconfig
refactor: simplify background commands
2024-07-02 11:21:55 +02:00
Kate 164f4a3ea3 Merge pull request #46233 from nextcloud/feat/openapi/ex_app-scope 2024-07-02 09:41:37 +02:00
provokateurin 355ef202e4 feat(OpenAPI): Add ex_app scope
Signed-off-by: provokateurin <kate@provokateurin.de>
2024-07-02 09:12:48 +02:00
provokateurin 32de958259 chore(deps): Update openapi-extractor
Signed-off-by: provokateurin <kate@provokateurin.de>
2024-07-02 09:08:04 +02:00
Nextcloud bot ee7dda5e86 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-07-02 00:19:21 +00:00
Ferdinand Thiessen 2249d7ddf5 chore: Replace dashboard icon with Material Symbols
Currently we use a circle as the dashboard icon,
1. This confuses with the circles app
2. Does not really gives information what this app does
3. Is not consistent with our app stores

So make it consistent and use the "dashboard" Material Symbol everywhere.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-07-01 23:41:29 +02:00
Daniel 92acbb0d39 Merge pull request #45766 from nextcloud/feat/ooo-replacement
Feat: Allow users to select another user as their out-of-office replacement
2024-07-01 23:25:43 +02:00
Robin Appelman 55f3e53695 Merge pull request #46169 from nextcloud/enh/support-profiler-in-occ
Support profiler in occ commands
2024-07-01 22:45:31 +02:00
F. E Noel Nfebe 5270ffc3a5 Merge pull request #45608 from nextcloud/fix-openapi-notes-share-api
docs(ShareApiController): Correct note about expiry date timezone
2024-07-01 18:22:51 +01:00
Kate 547dab4637 Merge pull request #45391 from nextcloud/feat/taskprocessingapi/next-task-endpoint 2024-07-01 19:10:12 +02:00
Arthur Schiwon 7bd215896e Merge pull request #46219 from nextcloud/fix/noid/infinit-BuildSocialSearchIndexBackgroundJob
fix(DAV): offset not applied
2024-07-01 18:37:39 +02:00
provokateurin f5ff8136ac feat(TaskProcessingApi): Add endpoint for getting the next task
Signed-off-by: provokateurin <kate@provokateurin.de>
2024-07-01 17:11:12 +02:00
Louis 0166265856 Merge pull request #46136 from nextcloud/artonge/debt/encryption_application_boot
debt(encryption): Migrate app.php to Application.php
2024-07-01 17:08:31 +02:00
Hamza Mahjoubi a9774741e8 Feat: Allow users to select another user as their out-of-office replacement
Signed-off-by: Hamza Mahjoubi <hamzamahjoubi221@gmail.com>
2024-07-01 15:10:16 +02:00
fenn-cs 6136112be1 docs(ShareApiController): Correct note about expiry date timezone
Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
2024-07-01 13:53:18 +01:00
provokateurin 5aefdc399e feat(AppFramework): Add ExAppRequired attribute
Signed-off-by: provokateurin <kate@provokateurin.de>
2024-07-01 14:41:20 +02:00
Arthur Schiwon 1d3ff4337e fix(BuildSocialSearchIndexBackgroundJob): offset not applied
with more than 100 results, this job may never finish

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2024-07-01 14:31:27 +02:00
Louis Chemineau 39fd19f1d6 refactor(encryption): Migrate app.php to Application.php
Signed-off-by: Louis Chemineau <louis@chmn.me>
2024-07-01 13:45:09 +02:00
Daniel Kesselberg a773a8b915 refactor: simplify background commands
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2024-07-01 12:52:06 +02:00
Marcel Klehr beececf660 Merge pull request #46058 from nextcloud/fix/task-processing-input-validation
Fix task processing input validation
2024-07-01 12:22:07 +02:00
Julius Härtl 3b75c5b98c Merge pull request #46184 from nextcloud/fix/dav-auth-check
fix: Authorization header can be an empty string
2024-07-01 11:43:10 +02:00
Julien Veyssier 42cf03d73d fix(taskprocessing): in removeSuperfluousArrayKeys, don't try to keep input/output keys that are not in the task values
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
2024-07-01 11:32:34 +02:00
Julien Veyssier 7e1dd0b25e fix(taskprocessing): input validation was dropping some optional inputs
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
2024-07-01 10:37:36 +02:00
Joas Schilling 7525eddb96 Merge pull request #44876 from IONOS-Productivity/feat/reduce_available_languages_set
feat: reduce available languages per config value "reduce_to_languages"
2024-07-01 10:30:25 +02:00
Misha M.-Kupriyanov aceb4d776c feat: reduce available languages per config value "reduce_to_languages"
Example: restrict to en, de, es, fr, it' languages

./occ config:system:set reduce_to_languages 0  --value  en
./occ config:system:set reduce_to_languages 1  --value  de
./occ config:system:set reduce_to_languages 2  --value  es
./occ config:system:set reduce_to_languages 3  --value  fr
./occ config:system:set reduce_to_languages 4  --value  it

Signed-off-by: Misha M.-Kupriyanov <kupriyanov@strato.de>
2024-07-01 09:34:11 +02:00
Nextcloud bot d5b7525e1f Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-07-01 00:19:23 +00:00
Git'Fellow 1716c95c94 Merge pull request #46206 from nextcloud/updteIssTempRem27
chore: remove EOL v27 from issue template
2024-07-01 01:01:45 +02:00
Git'Fellow 2787c8f2a7 chore: Keep v28 supported PHP 8.0
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
2024-06-30 15:23:32 +02:00
Git'Fellow b77c151f5b Merge pull request #46197 from nextcloud/setupPhpUpgrade
ci: Use the same `setup-php` version on all tests
2024-06-30 08:39:06 +02:00
Git'Fellow 9ed96d766a chore: remove EOL v27 from issue template
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
2024-06-30 08:30:08 +02:00
Git'Fellow ad1720b6e2 ci: Use the same setup-php version on all tests 2024-06-30 08:11:14 +02:00
Nextcloud bot a7fd9c9831 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-06-30 00:19:22 +00:00
Daniel f589639822 Merge pull request #46199 from nextcloud/debt/noid/spdx-migrations-template
chore: use spdx for migrations generator
2024-06-29 18:47:30 +02:00
Ferdinand Thiessen 682faad0b3 Merge pull request #46009 from nextcloud/refactor/ajax-cron
refactor(cron): Use `IAppConfig` for cron settings and migrate ajax cron away from jQuery
2024-06-29 16:29:34 +02:00
Daniel 02983f3317 Merge pull request #46190 from nextcloud/bug/45047/skip-check-when-disk-free-space-disabled
fix(setupchecks): skip check when disk_free_space is disabled
2024-06-29 15:59:17 +02:00
Nextcloud bot 7003725782 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-06-29 00:19:43 +00:00
Daniel Kesselberg d00b8ed1f5 chore: use spdx for migrations generator
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2024-06-28 18:54:50 +02:00
Ferdinand Thiessen b901a62957 Merge pull request #46121 from nextcloud/fix/database-versions
ci: Adjust database versions to current LTS / supported versions
2024-06-28 18:26:31 +02:00
Ferdinand Thiessen 4f7907612c chore: Compile assets
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-06-28 18:00:45 +02:00
Ferdinand Thiessen 14778811b4 refactor: Use IAppConfig for setting cron type
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-06-28 18:00:39 +02:00
Ferdinand Thiessen 4d6a21a379 refactor(core): Make AJAX cron script work without jQuery
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-06-28 17:28:10 +02:00
Julius Härtl 4d6b4b71c7 fix: Authorization header can be an empty string
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2024-06-28 14:42:36 +02:00
Daniel Kesselberg fd9fd1b6fb fix(setupchecks): skip check when disk_free_space is disabled
Make it easier to discover that the check failed because disk_free_space is disabled.

Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2024-06-28 13:06:49 +02:00
Andy Scherzinger 8ec53608b0 Merge pull request #46112 from nextcloud/chore/noid/copyingReadmeHousekeeping
Reference 3rd party licenses via SPDX
2024-06-28 07:13:16 +02:00
Nextcloud bot e3f6959c60 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-06-28 00:20:40 +00:00
Ferdinand Thiessen 6601adcd6d refactor(SetupCheck): Make mariadb and mysql version variables
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-06-27 16:22:42 +02:00
Ferdinand Thiessen 6e48ca1cf8 fix(settings): Adjust SetupCheck for supported database versions
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-06-27 16:15:16 +02:00
Ferdinand Thiessen d5d180daf6 ci: Adjust database versions to current LTS / supported versions
* MySQL tests
  * Minimum 8.0 (LTS)
  * Maximum 8.4 (LTS)
  * Drop 8.3 as we now test 8.4 and 8.3 was never LTS
* MariaDB tests
  * still supported version 10.3 (no LTS but for Ubuntu 20.04 support)
  * LTS 10.6
  * LTS 10.11
  * LTS 11.4
  * Drop 10.5 is was never LTS and we test 10.3 and 10.6

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-06-27 16:15:16 +02:00
Joas Schilling 00aa8f5438 Merge pull request #46133 from nextcloud/bugfix/noid/fix-missing-protocol-on-remotes
fix(federation): Fix missing protocol on CloudID remote
2024-06-27 14:59:19 +02:00
Joas Schilling 1b49c86480 Merge pull request #45947 from nextcloud/feat/qbmapper-yield-entities
feat: Add yieldEntities wrapper for entity mapping in QBMapper
2024-06-27 14:48:26 +02:00
Simon L a184161978 Merge pull request #41609 from nextcloud/enh/in-app-search
feat: In app search
2024-06-27 13:34:05 +02:00
Arthur Schiwon ff499a6baa Merge pull request #45951 from nextcloud/chore/comments-event-legacy
chore: Move comments event handler to use proper event dispatcher
2024-06-27 12:40:06 +02:00
Côme Chilliet 9a5ab7330a feat(profiler): Add support for profiler in occ commands
Commands will appear in available profiles after the command ran.
Method is set to "occ" and URL to the command line with parameters.

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-06-27 12:26:53 +02:00
Côme Chilliet 01dbb8fca2 fix(profiler): Remove bogus profiler event start
This fixes profiler event graph by removing an event start which had no
 matching end() call.

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-06-27 12:25:20 +02:00
Ferdinand Thiessen 32940375da chore: Compile assets
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-06-27 12:13:18 +02:00
Ferdinand Thiessen 362c6238fc fix: Allow to reset unified search using the nextcloud:unified-search:reset event
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-06-27 12:13:14 +02:00
Ferdinand Thiessen dd3dcf3703 fix(unified-search): Also show local search on apps management
Co-authored-by: Simon L. <szaimen@e.mail.de>
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-06-27 12:13:14 +02:00
Ferdinand Thiessen e9dccef474 fix: Open unified search by pressing ctrl + F
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-06-27 12:13:14 +02:00
Ferdinand Thiessen 0885245235 refactor(styles): Make padding not a magic value
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-06-27 12:13:14 +02:00
Ferdinand Thiessen 0ff17b857b fix(UnifiedSearch): Implement design comments and focus input on open
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-06-27 12:13:14 +02:00
Marco Ambrosini 6ee965f0d9 feat: Add in-app search
Co-authored-by: Ferdinand Thiessen <opensource@fthiessen.de>
Signed-off-by: Marco Ambrosini <marcoambrosini@icloud.com>
2024-06-27 12:13:14 +02:00
Joas Schilling 280d70a5f4 fix(federation): Fix missing protocol on CloudID remote
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-06-27 11:26:08 +02:00
Benjamin Gaussorgues 2482688fa0 Merge pull request #45655 from nextcloud/feat/mysql_ignore_conflics 2024-06-27 11:19:12 +02:00
Benjamin Gaussorgues ec39228b89 Merge pull request #46059 from nextcloud/perf/remove_useless_session 2024-06-27 11:15:50 +02:00
Joas Schilling 21740fef45 Merge pull request #46158 from nextcloud/automated/noid/master-update-code-signing-crl
[master] fix(security): Update code signing revocation list
2024-06-27 10:01:46 +02:00
Ferdinand Thiessen 07180e425f Merge pull request #46143 from nextcloud/fix/45941/share-pass-label
fix(SharingEntryLink): Show enforced password input label
2024-06-27 08:36:27 +02:00
nextcloud-command f72ffa4851 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-06-27 06:18:21 +00:00
fenn-cs 0c8fe406f1 fix(SharingEntryLink): Show enforced password input label
While upgrading icons in b3ec461fe8 enforced password label
icon was not correctly wrapped.

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

Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
2024-06-27 08:11:41 +02:00
nextcloud-command ef709786d0 fix(security): Update code signing revocation list
Signed-off-by: GitHub <noreply@github.com>
2024-06-27 02:21:39 +00:00
Nextcloud bot 7eecfd6d89 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-06-27 00:19:56 +00:00
Andy Scherzinger 0a6735c6ba docs: Reference 3rd party licenses via SPDX
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2024-06-26 23:55:19 +02:00
Sebastian Krupinski 380a253aab Merge pull request #46036 from nextcloud/fix/issue-46015
fix(dav): add missing database index for dav_shares
2024-06-26 15:03:02 -04:00
SebastianKrupinski ff7e2c1837 fix(dav): add missing database index for dav_shares resourceid, type and access
Signed-off-by: SebastianKrupinski <krupinskis05@gmail.com>

Co-authored-by: Richard Steinmetz <richard@steinmetz.cloud>
Signed-off-by: Sebastian Krupinski <165827823+SebastianKrupinski@users.noreply.github.com>

Signed-off-by: SebastianKrupinski <krupinskis05@gmail.com>

Co-authored-by: Richard Steinmetz <richard@steinmetz.cloud>
Signed-off-by: Sebastian Krupinski <165827823+SebastianKrupinski@users.noreply.github.com>

Co-authored-by: Richard Steinmetz <richard@steinmetz.cloud>
Signed-off-by: Sebastian Krupinski <165827823+SebastianKrupinski@users.noreply.github.com>

Co-authored-by: Richard Steinmetz <richard@steinmetz.cloud>
Signed-off-by: Sebastian Krupinski <165827823+SebastianKrupinski@users.noreply.github.com>

Co-authored-by: Daniel <mail@danielkesselberg.de>
Signed-off-by: Sebastian Krupinski <165827823+SebastianKrupinski@users.noreply.github.com>

Signed-off-by: SebastianKrupinski <krupinskis05@gmail.com>
2024-06-26 14:20:36 -04:00
Daniel aa0bbd2774 Merge pull request #44893 from nextcloud/fix/issue-43115
fix(caldav): When message is a reply compare the message sender not the recipient
2024-06-26 18:58:27 +02:00
Julius Härtl 9713dd3fa9 chore: Move comments event handler to use proper event dispatcher
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2024-06-26 18:13:07 +02:00
Louis ba306950e6 Merge pull request #46097 from nextcloud/artonge/fix/dont_override_expiration_date
fix(files_sharing): Also set the expiration date timezone during validation
2024-06-26 16:40:02 +02:00
Louis 9b05759c03 Merge pull request #45977 from nextcloud/artonge/fix/update_favorite_navigation
Update favorites navigation list on folder renames
2024-06-26 14:20:30 +02:00
Marcel Klehr 1748bc5074 Merge pull request #46107 from nextcloud/feat/webhook_listeners/index-endpoint-by-uri
feat(WebhooksController): Allow querying listeners by URI
2024-06-26 14:15:54 +02:00
Louis Chemineau fc359e3097 fix(files): Update favorites navigation list on folder renames
Signed-off-by: Louis Chemineau <louis@chmn.me>
2024-06-26 13:59:43 +02:00
Louis Chemineau f5fd6c8f08 fix(files_sharing): Store the expiration date relative to the server's timezone
This is needed as we want to store the difference between the server's and the user's timezones.

Signed-off-by: Louis Chemineau <louis@chmn.me>
2024-06-26 12:49:42 +02:00
John Molakvoæ 5dcb807a98 Merge pull request #46127 from nextcloud/feat/increase-max-copy-move-concurrency-to-5 2024-06-26 09:30:27 +02:00
nextcloud-command 5a33202bcb chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-06-26 07:13:00 +00:00
John Molakvoæ d5b286c9d2 feat(files): increase max copy-move concurrency to 5
Signed-off-by: John Molakvoæ <skjnldsv@users.noreply.github.com>
2024-06-26 08:32:02 +02:00
Marcel Klehr 0bdecb96f3 feat(WebhooksController): Allow querying listeners by URI
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2024-06-26 07:27:40 +02:00
Nextcloud bot d0d589c661 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-06-26 00:19:48 +00:00
SebastianKrupinski d7eb509b26 fix(caldav): when message is a reply compare the message sender not the recipient
Signed-off-by: SebastianKrupinski <krupinskis05@gmail.com>
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2024-06-25 16:43:51 -04:00
F. E Noel Nfebe f0182226d4 Merge pull request #46030 from nextcloud/fix/44961/shared-state-file-list
fix(FilesView): Update files view upon share creation/delete
2024-06-25 20:51:39 +01:00
Daniel 952271929d Merge pull request #46002 from nextcloud/debt/noid/use-new-http-client
Use guzzle for addressbook federation
2024-06-25 21:10:12 +02:00
nextcloud-command 574669697b chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-06-25 18:40:21 +00:00
fenn-cs f7527c3279 refactor(SharingDetailsView): Use NC logger
Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
2024-06-25 18:16:48 +01:00
fenn-cs 38b5987b40 fix(FilesView): Update files view upon share creation/delete
Resolves : https://github.com/nextcloud/server/issues/44961

Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
2024-06-25 18:16:48 +01:00
Richard Steinmetz 6121325310 Merge pull request #45532 from nextcloud/feat/publish-resources-room-update
feat: implement public OCP api to update resources and rooms
2024-06-25 16:48:30 +02:00
Benjamin Gaussorgues b7243681dd feat(dbal): add proper insert ignore conflict method for SQLite
Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
2024-06-25 16:21:01 +02:00
dependabot[bot] f7b0fa20e9 chore(deps): bump the github-actions group with 3 updates
Bumps the github-actions group with 3 updates: [actions/checkout](https://github.com/actions/checkout), [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/checkout` from 4.1.5 to 4.1.7
- [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.5...692973e3d937129bcbf40652eb9f2f61becf3332)

Updates `cypress-io/github-action` from 6.7.0 to 6.7.1
- [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/f88a151c986cab2e339cdbede6a5c4468bb62c17...8d3918616d8ac34caa2b49afc8b408b6a872a6f5)

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

---
updated-dependencies:
- dependency-name: actions/checkout
  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-minor
  dependency-group: github-actions
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-06-25 14:20:17 +00:00
Joas Schilling ad2fa3724d Merge pull request #46095 from nextcloud/techdebt/44770/migrate-server-notifier-to-new-exceptions
feat(notifications): Migrate server INotifiers to new exceptions
2024-06-25 16:09:38 +02:00
Joas Schilling 565809feba Merge pull request #46104 from nextcloud/build/depependabot
build(deps): disable dependabot for EOL 27
2024-06-25 16:07:52 +02:00
Arthur Schiwon 9c50516076 build(deps): disable dependabot for EOL 27
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2024-06-25 15:15:18 +02:00
Daniel Kesselberg f73c5c4aa9 chore: don't pass null to createElement
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2024-06-25 12:24:47 +02:00
Daniel Kesselberg 1fa37ed2dc refactor(dav): migrate to new http client
The request method is available since 29 and thus we can finally use the modern http client to send the report request for the addressbook sync.

Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2024-06-25 12:24:47 +02:00
Joas Schilling 8130968a35 feat(notifications): Migrate server INotifiers to new exceptions
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-06-25 11:56:24 +02:00
Anna eed6216d55 Merge pull request #46077 from nextcloud/bugfix/noid/user-status-automation
fix(userstatus): Fix user status automation in real-life scenario
2024-06-25 11:32:12 +02:00
Benjamin Gaussorgues 1e19566aa4 feat(dbal): add proper insert ignore conflict method for MySQL
Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
2024-06-25 11:28:37 +02:00
Côme Chilliet 9496ce6c7a Merge pull request #46079 from nextcloud/fix/well-known-checks
fix(settings): make trailing slash for caldav/carddav redirects optional
2024-06-25 10:24:01 +02:00
Benjamin Gaussorgues 369c552e41 Merge pull request #46073 from nextcloud/fix/save_global_credentials 2024-06-25 09:48:24 +02:00
Joas Schilling 2c977d2b6e fix(userstatus): Fix user status automation in real-life scenario
Order of applying:
- Out-of-office
- Availability
- Call
- Meeting
- User status

Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-06-25 09:29:35 +02:00
Nextcloud bot ffa8b00bdd Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-06-25 00:19:52 +00:00
Ferdinand Thiessen 56462e9cfa Merge pull request #44931 from nextcloud/Jerome-Herbinet-better-wordings-in-new-user-modal
Better wordings in the new user modal
2024-06-25 00:52:01 +02:00
Ferdinand Thiessen 1c168da9a6 chore: Compile assets
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-06-25 00:12:56 +02:00
Jérôme Herbinet 7b13405370 fix: Better wordings in the new user modal
Co-authored-by: Jan C. Borchardt <925062+jancborchardt@users.noreply.github.com>
Co-authored-by: Pytal <24800714+Pytal@users.noreply.github.com>
Co-authored-by: Jérôme Herbinet <33763786+Jerome-Herbinet@users.noreply.github.com>
Signed-off-by: Jérôme Herbinet <33763786+Jerome-Herbinet@users.noreply.github.com>
2024-06-25 00:10:13 +02:00
Ferdinand Thiessen 3e64ad7ee7 Merge pull request #45095 from nextcloud/feat/upload-folders
feat(files): Allow to upload folders
2024-06-24 21:53:01 +02:00
Ferdinand Thiessen 7590c767a7 chore: Compile assets
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-06-24 20:05:26 +02:00
Ferdinand Thiessen 079d026d39 feat(files): Allow uploading directories
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-06-24 20:03:09 +02:00
MichaIng ea994fe8fb fix(settings): make trailing slash for caldav/carddav redirects optional
#43939 moved the CalDAV/CardDAV redirect checks from the frontend to a new backend API.

Since the backend does not send an authentication header, checking for the expected response code 207 of the DAV endpoint does not work anymore, hence the URL of the last redirect is checked instead.

This URL is expected to contain a trailing slash, which was not required before, since the DAV endpoint works properly without it (when authenticated).

While a trailing slash in the redirect does no harm, it causes many setups to throw an admin panel warning, while in fact the redirects work properly. Furthermore, the proposed "/.well-known/carddav" => "/remote.php/dav/" redirect leads to double slashes, when doing a request to "/.well-known/carddav/", which seems more wrong then right.

This change makes the trailing slash optional, hence old and adjusted setups won't throw the warning anymore, and the DAV endpoint works well in both cases.

Signed-off-by: MichaIng <micha@dietpi.com>
2024-06-24 17:52:22 +02:00
Arthur Schiwon 879eaa7681 Merge pull request #46071 from nextcloud/fix/46070/scope-error
fix(Token): add FILESYSTEM scope with SCOPE_SKIP_PASSWORD_VALIDATION
2024-06-24 15:21:28 +02:00
Benjamin Gaussorgues e93866f904 fix: allows admin to edit global credentials
Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
2024-06-24 15:20:44 +02:00
Julius Härtl d086f3a2bf Merge pull request #45998 from nextcloud/publicdav-fs-setup
perf: remove full filesystem setup for accessing public link share dav endpoints
2024-06-24 14:43:23 +02:00
Julius Härtl d361867e50 Merge pull request #45876 from nextcloud/fix/45715
fix: Avoid throwing errors for teams are unavailable
2024-06-24 14:27:19 +02:00
Ferdinand Thiessen 0dc0a9b472 Merge pull request #45860 from nextcloud/fix/files-handle-failed-state
fix(files): Bring back handling of failed files
2024-06-24 13:56:53 +02:00
Arthur Schiwon 895ed634af fix(Token): add FILESYSTEM scope with SCOPE_SKIP_PASSWORD_VALIDATION
The scope design requires scopes to be either not specified, or
specified explicitely. Therefore, when setting the
skip-password-validation scope for user authentication from mechanisms
like SAML, we also have to set the filesystem scope, otherwise they will
lack access to the filesystem.

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2024-06-24 13:51:15 +02:00
Ferdinand Thiessen 0bd7c76d34 chore: Compile assets
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-06-24 12:55:21 +02:00
Ferdinand Thiessen 3782142f59 refactor(files): Fix nullish operator usage and add missing code comment
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-06-24 12:53:53 +02:00
Ferdinand Thiessen d4352fe2ff fix(files): Properly handle files in failed state
When files are loaded from API the `fileid` might be set to `-1` indicating
an error on the API.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-06-24 12:52:11 +02:00
Julius Härtl d6d84e51ef fix: Avoid throwing errors for teams are unavailable
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2024-06-24 12:29:43 +02:00
dependabot[bot] c76c954f56 Merge pull request #46041 from nextcloud/dependabot/npm_and_yarn/nextcloud/eslint-config-8.4.1 2024-06-24 09:51:07 +00:00
Joas Schilling 8c944f44df Merge pull request #46062 from nextcloud/ci/noid/parallel-cs-check
feat(CI): Speed up cs:check with parallelism
2024-06-24 11:49:41 +02:00
Robin Appelman 2cf8ed905d Merge pull request #45877 from nextcloud/fix-default-cert-bundle-path
fix: don't use custom certificate bundle if no customer certificates are configured
2024-06-24 11:28:19 +02:00
Joas Schilling 2f978081ea feat(CI): Speed up cs:check with parallelism
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-06-24 10:40:15 +02:00
dependabot[bot] 2241ad824d chore(deps-dev): bump @nextcloud/eslint-config from 8.3.0 to 8.4.1
Bumps [@nextcloud/eslint-config](https://github.com/nextcloud-libraries/eslint-config) from 8.3.0 to 8.4.1.
- [Release notes](https://github.com/nextcloud-libraries/eslint-config/releases)
- [Changelog](https://github.com/nextcloud-libraries/eslint-config/blob/main/CHANGELOG.md)
- [Commits](https://github.com/nextcloud-libraries/eslint-config/compare/v8.3.0...v8.4.1)

---
updated-dependencies:
- dependency-name: "@nextcloud/eslint-config"
  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-06-24 08:38:16 +00:00
Louis 02452712a2 Merge pull request #45938 from nextcloud/do-not-log-an-error-when-connecting-to-sftp-without-a-logged-in-user
fix: Do not log an error when connecting to SFTP without a logged in user
2024-06-24 10:35:16 +02:00
Benjamin Gaussorgues 71dffd9b70 perf(session): remove useless session open
`UseSession` isn’t used in theses controllers.
Not using it should avoid a few session locks.

Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
2024-06-24 10:17:05 +02:00
Ferdinand Thiessen 4680bc47c2 Merge pull request #46048 from nextcloud/automated/noid/master-update-psalm-baseline
[master] Update psalm-baseline.xml
2024-06-24 09:58:08 +02:00
Julius Härtl 637a91e767 Merge pull request #45973 from nextcloud/remove-chunking-v1
chore: remove chunking-v1
2024-06-24 09:52:18 +02:00
Julius Härtl 2fb0ca9cf7 feat: Add yieldEntities wrapper for entity mapping in QBMapper
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2024-06-24 09:15:58 +02:00
nextcloud-command 5ef451f409 chore(tests): Update psalm baseline
Signed-off-by: GitHub <noreply@github.com>
2024-06-24 02:27:17 +00:00
Nextcloud bot 4d1f9ae54e Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-06-24 00:19:33 +00:00
Robin Windey 85ba85627e Increase PHP memory limit for DevContainer to 512mb
Signed-off-by: Robin Windey <ro.windey@gmail.com>
2024-06-23 20:27:23 +02:00
Ferdinand Thiessen ff92ab1fb1 Merge pull request #45929 from nextcloud/chore/update-nextcloud-files
refactor(files): Update `@nextcloud/files` to v3.5.0
2024-06-23 17:19:06 +02:00
Ferdinand Thiessen c8ec22f47b chore: Compile assets
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-06-23 16:55:37 +02:00
Ferdinand Thiessen 3ed32ffbb4 refactor: Use composable for currentView and views to make it reactive when shared with other Vue apps
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-06-23 16:53:27 +02:00
Ferdinand Thiessen dea5559d35 fix(files_trashbin): Make files view registering an init script
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-06-23 16:53:10 +02:00
Ferdinand Thiessen 81ad28f910 chore(deps): Update debounce to 2.1.0
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-06-23 16:53:10 +02:00
Ferdinand Thiessen a83f276352 refactor(files): Update @nextcloud/files to v3.5.0
* Removed now duplicated code

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-06-23 16:53:09 +02:00
Nextcloud bot 475edf24c2 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-06-23 00:19:40 +00:00
dependabot[bot] a721133128 Merge pull request #46042 from nextcloud/dependabot/composer/vendor-bin/psalm/vimeo/psalm-5.25.0 2024-06-22 08:02:41 +00:00
dependabot[bot] 67aff60ae8 chore(deps): bump vimeo/psalm from 5.24.0 to 5.25.0 in /vendor-bin/psalm
Bumps [vimeo/psalm](https://github.com/vimeo/psalm) from 5.24.0 to 5.25.0.
- [Release notes](https://github.com/vimeo/psalm/releases)
- [Commits](https://github.com/vimeo/psalm/compare/5.24.0...5.25.0)

---
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-06-22 02:38:58 +00:00
Robin Appelman da8e1c192d Merge pull request #46017 from nextcloud/get-first-node-by-id-folder
fix: also use optimized getFirstNodeyIdInPath for Folder::getFirstNodeById
2024-06-21 12:27:53 +02:00
Joas Schilling 3aeb785399 perf(capabilities): Log capabilities providers that are slow
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-06-21 11:41:22 +02:00
Daniel 425e2d0172 Merge pull request #45514 from nextcloud/bug/noid/fix-check-for-dark-avatar
fix: use different file name for generated dark avatars
2024-06-21 11:11:06 +02:00
Nextcloud bot f56bca3385 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-06-21 00:19:57 +00:00
Ferdinand Thiessen ef7b753816 Merge pull request #39825 from nextcloud/fix/debounce-account-properties
Increase debounce delay when saving account properties
2024-06-21 01:39:54 +02:00
Christopher Ng 620b6b9c3b fix: Increase debounce delay when saving account properties
Signed-off-by: Christopher Ng <chrng8@gmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-06-21 01:21:48 +02:00
Robin Appelman ffced73a71 fix: also use optimized getFirstNodeyIdInPath for Folder::getFirstNodeById
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-06-20 18:51:27 +02:00
Louis 9c4b959690 Merge pull request #45984 from nextcloud/artonge/fix/click_while_renaming
Don't trigger action when renaming
2024-06-20 17:49:51 +02:00
nextcloud-command a6de33bb13 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-06-20 14:41:08 +00:00
Louis Chemineau 8e0be0a238 fix(files): Don't react to clicks when renaming
Signed-off-by: Louis Chemineau <louis@chmn.me>
2024-06-20 16:19:01 +02:00
Richard Steinmetz efe3244acf Merge pull request #45999 from nextcloud/fix/caldav/shared-calendars-activity-umlauts
fix(caldav): encode calendar URIs with umlauts for activities
2024-06-20 15:44:34 +02:00
Joas Schilling 0526c6b933 fix(dashboard): Correctly redirect guests to login page when opening dashboard
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-06-20 15:40:43 +02:00
Ferdinand Thiessen 8ac9e08f20 Merge pull request #45161 from nextcloud/fix/import-axios
fix: Do not import from `axios` but only `@nextcloud/axios`
2024-06-20 15:06:36 +02:00
julien-nc 08cf60923c Merge pull request #46003 from nextcloud/fix/noid/undeclared-context-write-task-type
Add missing ContextWrite default task type in task processing manager
2024-06-20 13:56:06 +02:00
Julien Veyssier 7e904aea92 fix(taskprocessing): missing GenerateEmoji default task type in manager::_getTaskTypes
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
2024-06-20 12:56:04 +02:00
Julien Veyssier de81dac82e fix(taskprocessing): missing ContextWrite default task type in manager::_getTaskTypes
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
2024-06-20 12:56:04 +02:00
Ferdinand Thiessen 7ecf447c7e chore: Compile assets
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-06-20 12:36:33 +02:00
Ferdinand Thiessen 1d0a65db93 fix: Do not import from axios but only @nextcloud/axios
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-06-20 12:34:37 +02:00
Ferdinand Thiessen c251e8f2aa Merge pull request #45207 from nextcloud/fix/webdav-aja
fix(dav): Try basic auth for ajax WebDAV requests
2024-06-20 12:28:31 +02:00
Louis bea9daee9c Merge pull request #45688 from nextcloud/artonge/fix/show_non_writable_folders
Show non writable folders during move or copy
2024-06-20 12:16:29 +02:00
Robin Appelman 7a9efcf4cc perf: remove full filesystem setup for accessing public link share dav endpoints
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-06-20 12:15:43 +02:00
Richard Steinmetz c92529053d Merge pull request #45980 from nextcloud/fix/theming/update-warning
fix(theming): properly apply warning style to update output
2024-06-20 10:58:46 +02:00
Richard Steinmetz df28c04a8f fix(caldav): encode calendar URIs with umlauts for activities
Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
2024-06-20 10:56:27 +02:00
Louis 392ee62981 Merge pull request #45958 from nextcloud/fix/renaming-file-version-when-number
fix(files_versions): renaming file version when its not a string
2024-06-20 09:14:57 +02:00
yemkareems a05a04c1a2 Merge pull request #45845 from nextcloud/fix/log-rename-to-use-internal-path
fix: rename split into two as before rename and after rename
2024-06-20 11:36:21 +05:30
yemkareems 2593f5f036 Merge pull request #45580 from nextcloud/fix/44933/avoid-duplicate-inserts-in-systemtag-object-mapping
fix: avoid duplicate tag inserts by checking if the mapping exists already in db
2024-06-20 10:59:38 +05:30
yemkareems eae23867f2 fix: renameParams named as renamedNodes and code changed accordingly as suggested in review comments
Signed-off-by: yemkareems <yemkareems@gmail.com>
2024-06-20 10:54:45 +05:30
yemkareems 953358fdc8 fix: rename params old path passed from before rename to after rename to have one log for rename event
Signed-off-by: yemkareems <yemkareems@gmail.com>
2024-06-20 10:54:45 +05:30
yemkareems 3e355c4db1 fix: rename logged as beforeRename and afterRename, and in both place getInternalPath is used in place of getPath to make it consistent across the logs
Signed-off-by: yemkareems <yemkareems@gmail.com>
2024-06-20 10:54:45 +05:30
Nextcloud bot f06338ca36 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-06-20 00:19:55 +00:00
nextcloud-command efe4e047fa chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-06-19 22:37:03 +00:00
Sanskar Soni 2aecc523c8 fix(files_versions): renaming file version when its not a string
Signed-off-by: Sanskar Soni <sanskarsoni300@gmail.com>
2024-06-20 00:31:52 +02:00
Andy Scherzinger 6a8d254425 Merge pull request #45972 from nextcloud/fix/noid/copyIcon
Update copy icon to Material Design icon and checkmark in non-bold
2024-06-19 21:46:11 +02:00
Christoph Wurst 902d77ee7d Merge pull request #45968 from nextcloud/fix/dav/limit-sync-token-created-at-updates
fix(dav): Limit number of UPDATES for sync token created_at
2024-06-19 18:04:36 +02:00
Louis Chemineau ae0106ef9e fix(files): Show non writable folders during move or copy
Signed-off-by: Louis Chemineau <louis@chmn.me>
2024-06-19 17:39:57 +02:00
John Molakvoæ 18cf61df9f Merge pull request #45963 from nextcloud/artonge/fix/openfile 2024-06-19 17:04:42 +02:00
Robin Appelman 957a00b9de chore: remove chunking-v1
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-06-19 16:57:42 +02:00
nextcloud-command 9e07720b26 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-06-19 13:58:18 +00:00
Richard Steinmetz 9c930146a5 fix(theming): properly apply warning style to update output
Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
2024-06-19 15:50:06 +02:00
Christoph Wurst 169eedabf9 fix(dav): Limit number of UPDATES for sync token created_at
Address book and calendar sync tokens have a created_at column in 26+
and we need to assign a current timestamp to the existing data at
upgrade so the data isn't cleaned up immediately. Updating the full
table is expensive and fails on clustered setups that limit transaction
size. We don't need a timestamp for the oldest rows so we can skip
updating them.

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2024-06-19 15:38:36 +02:00
nextcloud-command 59ea179dd8 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
Signed-off-by: Louis Chemineau <louis@chmn.me>
2024-06-19 15:38:13 +02:00
Louis Chemineau f7c9ac8b54 fix(files): Rename openFileInfo to fileInfo
And check if openFile is set in the URL before opening a file.

Signed-off-by: Louis Chemineau <louis@chmn.me>
2024-06-19 15:38:13 +02:00
Andy Scherzinger 5e05a2da8c style: update copy icon to Material Design icon
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2024-06-19 15:31:09 +02:00
Richard Steinmetz 42fa007204 Merge pull request #45969 from nextcloud/ci/phpunit-mysql/more-retries
ci(phpunit-mysql): increase mysql health check retries
2024-06-19 14:57:06 +02:00
dependabot[bot] fe34d9ee97 chore(deps): bump ws, engine.io, socket.io-adapter and puppeteer
Bumps [ws](https://github.com/websockets/ws) to 8.17.1 and updates ancestor dependencies [ws](https://github.com/websockets/ws), [engine.io](https://github.com/socketio/engine.io), [socket.io-adapter](https://github.com/socketio/socket.io-adapter) and [puppeteer](https://github.com/puppeteer/puppeteer). These dependencies need to be updated together.


Updates `ws` from 8.16.0 to 8.17.1
- [Release notes](https://github.com/websockets/ws/releases)
- [Commits](https://github.com/websockets/ws/compare/8.16.0...8.17.1)

Updates `engine.io` from 6.5.4 to 6.5.5
- [Release notes](https://github.com/socketio/engine.io/releases)
- [Changelog](https://github.com/socketio/engine.io/blob/main/CHANGELOG.md)
- [Commits](https://github.com/socketio/engine.io/compare/6.5.4...6.5.5)

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

Updates `puppeteer` from 22.7.1 to 22.11.2
- [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.7.1...puppeteer-v22.11.2)

---
updated-dependencies:
- dependency-name: ws
  dependency-type: indirect
- dependency-name: engine.io
  dependency-type: indirect
- dependency-name: socket.io-adapter
  dependency-type: indirect
- dependency-name: puppeteer
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-06-19 11:48:47 +00:00
Andy Scherzinger 30babfcb2c Merge pull request #45960 from nextcloud/chore/noid/spdxBatch17
Add SPDX header - batch 17
2024-06-19 13:47:05 +02:00
yemkareems 87cd78413c fix: removed unused variable and check if tag ids are empty before starting the inserts
Signed-off-by: yemkareems <yemkareems@gmail.com>
2024-06-19 12:52:46 +02:00
yemkareems d0883b5e85 fix: filtering tags based on existing tags and doing a transaction around the select and insert
Signed-off-by: yemkareems <yemkareems@gmail.com>
2024-06-19 12:52:46 +02:00
yemkareems 8782b8724a fix: do a select in systemtag_object_mapping to see if tag exists already in db. if it does not exist alone insert the same or else do nothing
Signed-off-by: yemkareems <yemkareems@gmail.com>
2024-06-19 12:52:46 +02:00
Richard Steinmetz ddf1d3e7ac ci(phpunit-mysql): increase mysql health check retries
Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
2024-06-19 12:36:16 +02:00
nextcloud-command a0ef683d39 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-06-19 10:22:05 +00:00
Andy Scherzinger 581c5d6c92 docs: Add REUSE compliance status badge
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2024-06-19 12:02:48 +02:00
Andy Scherzinger 75756e3064 ci: Add REUSE compliance check
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2024-06-19 12:02:48 +02:00
Andy Scherzinger ce7b331d33 chore: Add SPDX header
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2024-06-19 12:02:43 +02:00
Robin Appelman 441dfd6646 Merge pull request #45930 from nextcloud/repair-mimetype-expensive
fix: move repair mimetype repair step to the expensive steps
2024-06-19 11:09:15 +02:00
Richard Steinmetz ab8556872e Merge pull request #45957 from nextcloud/perf/cache-storage-stats-header
perf: Tell browsers to cache storage stats endpoint as it is cached
2024-06-19 08:10:24 +02:00
Nextcloud bot cd7530cd70 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-06-19 00:20:28 +00:00
Andy Scherzinger ee6ddb9ab0 Merge pull request #45952 from nextcloud/fix/noid/spdxLicenseIdentifier
Fix license information extracted from built assets
2024-06-18 23:32:58 +02:00
Julius Härtl 40a416ba00 perf: Tell browsers to cache storage stats endpoint as it is cached
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2024-06-18 23:00:17 +02:00
Pytal a3587175f1 Merge pull request #45685 from nextcloud/feat/emit-users-loaded
feat(settings): Emit loaded event for user management
2024-06-18 11:58:43 -07:00
nextcloud-command 68b2b84574 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-06-18 18:40:31 +00:00
Christopher Ng e1e607ac8b feat(settings): Emit loaded event for user management
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2024-06-18 11:34:55 -07:00
nextcloud-command ef8937d45a chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-06-18 17:28:23 +02:00
Ferdinand Thiessen 493be5a0b3 chore: Remove duplicates from dep5
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-06-18 17:28:23 +02:00
Ferdinand Thiessen 52171610c8 chore: Switch order of license texts in .license files
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-06-18 17:28:23 +02:00
Ferdinand Thiessen d67eb8ce4e chore: Adjust SPDX tool to multiple line licenses instead of AND chained
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-06-18 16:55:14 +02:00
Andy Scherzinger c3208c1d56 fix: hard-wire licenses until new versions are published shipping the SPDX listed license strings
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2024-06-18 16:55:14 +02:00
Robin Appelman e74f71b32e feat: add setup check for needed mimetype migrations
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-06-18 14:46:19 +02:00
Ferdinand Thiessen 67a0e01382 fix(dav): Try basic auth for ajax WebDAV requests
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-06-18 10:47:11 +02:00
Daniel Calviño Sánchez 733e3f62fd fix: Do not log an error when connecting to SFTP without a logged in user
When connecting to a SFTP server from a SFTP storage the host key is
checked against the known host keys stored in a file in the data
directory of the logged in Nextcloud user. The path to the file is
(indirectly) got using "OC_App::getStorage", which logs an error if
called when there is no logged in user; this can happen, for example, if
the storage is used from a background job or a command.

Not being able to read or write the file just causes the host key check
to be skipped, but it has no other consequence. Moreover, even with
logged in users it is likely that the file can not be read either and
the check is also skipped, as the file needs to have been manually
created by an admin.

Due to all that now the path to the file is directly created using a
View rather than relying on "OC_App::getStorage" to prevent the unneeded
error from being logged.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2024-06-18 07:06:30 +02:00
Robin Appelman d9b37ac5fa fix: move repair mimetype repair step to the expensive steps
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-06-17 17:10:25 +02:00
Robin Appelman e140907123 fix: don't use custom certificate bundle if no customer certificates are configured
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-06-14 16:27:41 +02:00
dependabot[bot] 010b7bf91b chore(deps-dev): bump braces from 3.0.2 to 3.0.3
Bumps [braces](https://github.com/micromatch/braces) from 3.0.2 to 3.0.3.
- [Changelog](https://github.com/micromatch/braces/blob/master/CHANGELOG.md)
- [Commits](https://github.com/micromatch/braces/compare/3.0.2...3.0.3)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-06-11 12:10:11 +00:00
Richard Steinmetz 69e0158030 feat: implement public OCP api to update resources and rooms
Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
2024-05-27 18:45:52 +02:00
Daniel Kesselberg 53b5cf6cbc fix: use different file name for generated dark avatars
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2024-05-26 17:32:10 +02:00
Benjamin Gaussorgues efea956c64 fix(search): show user search provider for deactivated and admin pages
Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
2024-04-29 11:47:48 +02:00
2440 changed files with 71262 additions and 26292 deletions
+3
View File
@@ -52,6 +52,9 @@ RUN { \
echo "xdebug.start_with_request=yes"; \
} >> /etc/php/8.3/apache2/conf.d/20-xdebug.ini
# Increase PHP memory limit to 512mb
RUN sed -i 's/memory_limit = .*/memory_limit = 512M/' /etc/php/8.3/apache2/php.ini
# Docker
RUN apt-get -y install \
apt-transport-https \
+9
View File
@@ -36,4 +36,13 @@ module.exports = {
mode: 'typescript',
},
},
overrides: [
// Allow any in tests
{
files: ['**/*.spec.ts'],
rules: {
'@typescript-eslint/no-explicit-any': 'warn',
},
}
],
}
+1 -1
View File
@@ -1,7 +1,7 @@
# App maintainers
/apps/admin_audit/appinfo/info.xml @luka-nextcloud @blizzz
/apps/cloud_federation_api/appinfo/info.xml @mejo-
/apps/comments/appinfo/info.xml @marcelklehr @Pytal
/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
+2 -3
View File
@@ -86,7 +86,6 @@ body:
Select Nextcloud Server version.
_Versions not listed here are not maintained and not supported anymore_
options:
- "27"
- "28"
- "29"
- "master"
@@ -148,8 +147,8 @@ body:
description: |
Select if bug is present after an update or on a fresh install.
options:
- "Updated from a MINOR version (ex. 22.1 to 22.2)"
- "Upgraded to a MAJOR version (ex. 22 to 23)"
- "Updated from a MINOR version (ex. 28.0.1 to 28.0.2)"
- "Upgraded to a MAJOR version (ex. 28 to 29)"
- "Fresh Nextcloud Server install"
- type: dropdown
id: encryption
+2 -45
View File
@@ -100,28 +100,6 @@ updates:
- "3. to review"
- "feature: dependencies"
# Main stableXX npm
- package-ecosystem: npm
directory: "/"
schedule:
interval: weekly
day: saturday
time: "03:00"
timezone: Europe/Paris
target-branch: stable27
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"]
# Disable automatic rebasing because without a build CI will likely fail anyway
rebase-strategy: "disabled"
- package-ecosystem: npm
directory: "/"
schedule:
@@ -136,9 +114,8 @@ updates:
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"]
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"
@@ -156,31 +133,11 @@ updates:
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"]
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"
# Testing StableXX composer
- package-ecosystem: composer
directory: "/build/integration"
schedule:
interval: weekly
day: saturday
time: "03:00"
timezone: Europe/Paris
target-branch: stable27
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:
+2 -2
View File
@@ -51,12 +51,12 @@ jobs:
steps:
- name: Checkout server
uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332
with:
submodules: true
- name: Set up php ${{ matrix.php-versions }}
uses: shivammathur/setup-php@7fdd3ece872ec7ec4c098ae5ab7637d5e0a96067 # v2
uses: shivammathur/setup-php@2e947f1f6932d141d076ca441d0e1e881775e95b #v2.31.0
with:
php-version: ${{ matrix.php-versions }}
extensions: ctype, json, mbstring
@@ -31,7 +31,7 @@ jobs:
- 'version.php'
- name: Checkout
uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
- name: 3rdparty commit hash on current branch
id: actual
@@ -27,7 +27,7 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
- uses: webiny/action-conventional-commits@8bc41ff4e7d423d56fa4905f6ff79209a78776c7 # v1.3.0
with:
+35 -4
View File
@@ -26,6 +26,28 @@ jobs:
base_ref: ${{ steps.comment-branch.outputs.base_ref }}
steps:
- name: Get repository from pull request comment
uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea # v7.0.1
id: get-repository
with:
github-token: ${{secrets.GITHUB_TOKEN}}
script: |
const pull = await github.rest.pulls.get({
owner: context.repo.owner,
repo: context.repo.repo,
pull_number: context.issue.number
});
const repositoryName = pull.data.head?.repo?.full_name
console.log(repositoryName)
return repositoryName
- name: Disabled on forks
if: ${{ fromJSON(steps.get-repository.outputs.result) != github.repository }}
run: |
echo 'Can not execute /compile on forks'
exit 1
- name: Check actor permission
uses: skjnldsv/check-actor-permission@69e92a3c4711150929bca9fcf34448c5bf5526e7 # v2
with:
@@ -57,6 +79,15 @@ jobs:
uses: xt0rted/pull-request-comment-branch@d97294d304604fa98a2600a6e2f916a84b596dc7 # v1
id: comment-branch
- name: Add reaction on failure
uses: peter-evans/create-or-update-comment@71345be0265236311c031f5c7866368bd1eff043 # v4.0.0
if: failure()
with:
token: ${{ secrets.COMMAND_BOT_PAT }}
repository: ${{ github.event.repository.full_name }}
comment-id: ${{ github.event.comment.id }}
reactions: "-1"
process:
runs-on: ubuntu-latest
needs: init
@@ -69,7 +100,7 @@ jobs:
key: git-repo
- name: Checkout ${{ needs.init.outputs.head_ref }}
uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
with:
token: ${{ secrets.COMMAND_BOT_PAT }}
fetch-depth: 0
@@ -95,7 +126,7 @@ jobs:
- name: Set up npm ${{ steps.package-engines-versions.outputs.npmVersion }}
run: npm i -g 'npm@${{ steps.package-engines-versions.outputs.npmVersion }}'
- name: Rebase to ${{ needs.init.outputs.base_ref }}
if: ${{ contains(needs.init.outputs.arg1, 'rebase') }}
run: |
@@ -115,7 +146,7 @@ jobs:
run: |
git add '${{ github.workspace }}${{ needs.init.outputs.git_path }}'
git commit --signoff -m 'chore(assets): Recompile assets'
- name: Commit fixup
if: ${{ contains(needs.init.outputs.arg1, 'fixup') }}
run: |
@@ -129,7 +160,7 @@ jobs:
git commit --amend --no-edit --signoff
# Remove any [skip ci] from the amended commit
git commit --amend -m "$(git log -1 --format='%B' | sed '/\[skip ci\]/d')"
- name: Push normally
if: ${{ !contains(needs.init.outputs.arg1, 'rebase') && !contains(needs.init.outputs.arg1, 'amend') }}
run: git push origin '${{ needs.init.outputs.head_ref }}'
+7 -1
View File
@@ -27,12 +27,18 @@ jobs:
comment-id: ${{ github.event.comment.id }}
reactions: '+1'
- name: Disabled on forks
if: ${{ github.event.pull_request.head.repo.full_name != github.repository }}
run: |
echo 'Can not execute /update-3rdparty on forks'
exit 1
- name: Init branch
uses: xt0rted/pull-request-comment-branch@d97294d304604fa98a2600a6e2f916a84b596dc7 # v1
id: comment-branch
- name: Checkout ${{ steps.comment-branch.outputs.head_ref }}
uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332
with:
fetch-depth: 0
token: ${{ secrets.COMMAND_BOT_PAT }}
+10 -4
View File
@@ -32,8 +32,14 @@ jobs:
PUPPETEER_SKIP_DOWNLOAD: true
steps:
- name: Disabled on forks
if: ${{ github.event.pull_request.head.repo.full_name != github.repository }}
run: |
echo 'Can not run cypress on forks'
exit 1
- name: Checkout server
uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
with:
# We need to checkout submodules for 3rdparty
submodules: true
@@ -86,10 +92,10 @@ jobs:
matrix:
# Run multiple copies of the current job in parallel
# Please increase the number or runners as your tests suite grows (0 based index for e2e tests)
containers: ["component", '0', '1', '2', '3', '4', '5']
containers: ["component", '0', '1', '2', '3', '4', '5', '6', '7']
# Hack as strategy.job-total includes the component and GitHub does not allow math expressions
# Always align this number with the total of e2e runners (max. index + 1)
total-containers: [6]
total-containers: [8]
name: runner ${{ matrix.containers }}
@@ -110,7 +116,7 @@ jobs:
run: npm i -g 'npm@${{ needs.init.outputs.npmVersion }}'
- name: Run ${{ matrix.containers == 'component' && 'component' || 'E2E' }} cypress tests
uses: cypress-io/github-action@f88a151c986cab2e339cdbede6a5c4468bb62c17 # v6.7.0
uses: cypress-io/github-action@8d3918616d8ac34caa2b49afc8b408b6a872a6f5 # v6.7.1
with:
component: ${{ matrix.containers == 'component' }}
group: ${{ matrix.use-cypress-cloud && matrix.containers == 'component' && 'Run component' || matrix.use-cypress-cloud && 'Run E2E' || '' }}
@@ -31,6 +31,12 @@ jobs:
pull-requests: 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
# GitHub actions bot approve
- uses: hmarr/auto-approve-action@b40d6c9ed2fa10c9a2749eca7eb004418a705501 # v2
with:
+2 -2
View File
@@ -53,7 +53,7 @@ jobs:
steps:
- name: Checkout server
uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332
with:
submodules: true
@@ -68,7 +68,7 @@ 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@c5fc0d8281aba02c7fda07d3a70cc5371548067d #v2.25.2
uses: shivammathur/setup-php@2e947f1f6932d141d076ca441d0e1e881775e95b #v2.31.0
with:
php-version: ${{ matrix.php-versions }}
# https://docs.nextcloud.com/server/stable/admin_manual/installation/source_installation.html#prerequisites-for-manual-installation
+5 -5
View File
@@ -60,12 +60,12 @@ jobs:
steps:
- name: Checkout server
uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332
with:
submodules: true
- name: Set up php ${{ matrix.php-versions }}
uses: shivammathur/setup-php@4bd44f22a98a19e0950cbad5f31095157cc9621b # v2
uses: shivammathur/setup-php@2e947f1f6932d141d076ca441d0e1e881775e95b #v2.31.0
with:
php-version: ${{ matrix.php-versions }}
# https://docs.nextcloud.com/server/stable/admin_manual/installation/source_installation.html#prerequisites-for-manual-installation
@@ -135,12 +135,12 @@ jobs:
steps:
- name: Checkout server
uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332
with:
submodules: true
- name: Set up php ${{ matrix.php-versions }}
uses: shivammathur/setup-php@4bd44f22a98a19e0950cbad5f31095157cc9621b # v2
uses: shivammathur/setup-php@2e947f1f6932d141d076ca441d0e1e881775e95b #v2.31.0
with:
php-version: ${{ matrix.php-versions }}
# https://docs.nextcloud.com/server/stable/admin_manual/installation/source_installation.html#prerequisites-for-manual-installation
@@ -184,4 +184,4 @@ jobs:
steps:
- name: Summary status
run: if ${{ needs.changes.outputs.src != 'false' && needs.files-external-s3-minio.result != 'success' && needs.files-external-s3-localstack.result != 'success' }}; then exit 1; fi
run: if ${{ needs.changes.outputs.src != 'false' && (needs.files-external-s3-minio.result != 'success' || needs.files-external-s3-localstack.result != 'success') }}; then exit 1; fi
+2 -2
View File
@@ -53,7 +53,7 @@ jobs:
steps:
- name: Checkout server
uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332
with:
submodules: true
@@ -64,7 +64,7 @@ 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@c5fc0d8281aba02c7fda07d3a70cc5371548067d #v2.25.2
uses: shivammathur/setup-php@2e947f1f6932d141d076ca441d0e1e881775e95b #v2.31.0
with:
php-version: ${{ matrix.php-versions }}
# https://docs.nextcloud.com/server/stable/admin_manual/installation/source_installation.html#prerequisites-for-manual-installation
@@ -43,12 +43,12 @@ jobs:
steps:
- name: Checkout server
uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332
with:
submodules: true
- name: Checkout user_saml
uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332
with:
repository: nextcloud/user_saml
path: apps/user_saml
+2 -2
View File
@@ -56,12 +56,12 @@ jobs:
steps:
- name: Checkout server
uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332
with:
submodules: true
- name: Set up php ${{ matrix.php-versions }}
uses: shivammathur/setup-php@4bd44f22a98a19e0950cbad5f31095157cc9621b # v2
uses: shivammathur/setup-php@2e947f1f6932d141d076ca441d0e1e881775e95b #v2.31.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
@@ -56,12 +56,12 @@ jobs:
steps:
- name: Checkout server
uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332
with:
submodules: true
- name: Set up php ${{ matrix.php-versions }}
uses: shivammathur/setup-php@4bd44f22a98a19e0950cbad5f31095157cc9621b # v2
uses: shivammathur/setup-php@2e947f1f6932d141d076ca441d0e1e881775e95b #v2.31.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
@@ -49,12 +49,12 @@ jobs:
steps:
- name: Checkout server
uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332
with:
submodules: true
- name: Set up php ${{ matrix.php-versions }}
uses: shivammathur/setup-php@4bd44f22a98a19e0950cbad5f31095157cc9621b # v2
uses: shivammathur/setup-php@2e947f1f6932d141d076ca441d0e1e881775e95b #v2.31.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
@@ -51,12 +51,12 @@ jobs:
steps:
- name: Checkout server
uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332
with:
submodules: true
- name: Set up php ${{ matrix.php-versions }}
uses: shivammathur/setup-php@4bd44f22a98a19e0950cbad5f31095157cc9621b # v2
uses: shivammathur/setup-php@2e947f1f6932d141d076ca441d0e1e881775e95b #v2.31.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
@@ -50,12 +50,12 @@ jobs:
steps:
- name: Checkout server
uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332
with:
submodules: true
- name: Set up php ${{ matrix.php-versions }}
uses: shivammathur/setup-php@4bd44f22a98a19e0950cbad5f31095157cc9621b # v2
uses: shivammathur/setup-php@2e947f1f6932d141d076ca441d0e1e881775e95b #v2.31.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@a5ac7e51b41094c92402da3b24376905380afc29
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332
with:
submodules: true
- name: Set up php ${{ matrix.php-versions }}
uses: shivammathur/setup-php@4bd44f22a98a19e0950cbad5f31095157cc9621b # v2
uses: shivammathur/setup-php@2e947f1f6932d141d076ca441d0e1e881775e95b #v2.31.0
with:
php-version: ${{ matrix.php-versions }}
# https://docs.nextcloud.com/server/stable/admin_manual/installation/source_installation.html#prerequisites-for-manual-installation
+3 -3
View File
@@ -90,20 +90,20 @@ jobs:
steps:
- name: Checkout server
uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
with:
submodules: true
- name: Checkout Talk app
if: ${{ matrix.test-suite == 'videoverification_features' }}
uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
with:
repository: nextcloud/spreed
path: apps/spreed
ref: ${{ matrix.spreed-versions }}
- name: Set up php ${{ matrix.php-versions }}
uses: shivammathur/setup-php@c5fc0d8281aba02c7fda07d3a70cc5371548067d # v2
uses: shivammathur/setup-php@2e947f1f6932d141d076ca441d0e1e881775e95b #v2.31.0
with:
php-version: ${{ matrix.php-versions }}
# https://docs.nextcloud.com/server/stable/admin_manual/installation/source_installation.html#prerequisites-for-manual-installation
+1 -1
View File
@@ -53,7 +53,7 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
- name: Read package.json node and npm engines version
uses: skjnldsv/read-package-engines-version-actions@06d6baf7d8f41934ab630e97d9e6c0bc9c9ac5e4 # v3
+2 -2
View File
@@ -48,10 +48,10 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
- name: Set up php8.1
uses: shivammathur/setup-php@c665c7a15b5295c2488ac8a87af9cb806cd72198 # v2
uses: shivammathur/setup-php@2e947f1f6932d141d076ca441d0e1e881775e95b #v2.31.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
+2 -2
View File
@@ -53,10 +53,10 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
- name: Set up php ${{ matrix.php-versions }}
uses: shivammathur/setup-php@c665c7a15b5295c2488ac8a87af9cb806cd72198 # v2
uses: shivammathur/setup-php@2e947f1f6932d141d076ca441d0e1e881775e95b #v2.31.0
with:
php-version: ${{ matrix.php-versions }}
coverage: none
+5 -5
View File
@@ -59,7 +59,7 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
- name: Read package.json node and npm engines version
uses: skjnldsv/read-package-engines-version-actions@06d6baf7d8f41934ab630e97d9e6c0bc9c9ac5e4 # v3
@@ -80,7 +80,7 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
- name: Set up node ${{ needs.versions.outputs.nodeVersion }}
uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2
@@ -114,7 +114,7 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
- name: Set up node ${{ needs.versions.outputs.nodeVersion }}
uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2
@@ -142,7 +142,7 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
- name: Set up node ${{ needs.versions.outputs.nodeVersion }}
uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2
@@ -170,4 +170,4 @@ jobs:
steps:
- name: Summary status
run: if ${{ needs.changes.outputs.src != 'false' && needs.test.result != 'success' && needs.jsunit.result != 'success' && needs.handlebars.result != 'success' }}; then exit 1; fi
run: if ${{ needs.changes.outputs.src != 'false' && (needs.test.result != 'success' || needs.jsunit.result != 'success' || needs.handlebars.result != 'success') }}; then exit 1; fi
+3 -1
View File
@@ -40,7 +40,9 @@ jobs:
- '**.js'
- '**.ts'
- '**.vue'
- 'core/css/*'
- 'core/img/**'
- 'version.php'
build:
runs-on: ubuntu-latest
@@ -51,7 +53,7 @@ jobs:
name: NPM build
steps:
- name: Checkout
uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
- name: Read package.json node and npm engines version
uses: skjnldsv/read-package-engines-version-actions@06d6baf7d8f41934ab630e97d9e6c0bc9c9ac5e4 # v3
+2 -2
View File
@@ -27,7 +27,7 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
with:
ref: ${{ matrix.branches }}
@@ -60,7 +60,7 @@ jobs:
- name: Create Pull Request
if: always()
uses: peter-evans/create-pull-request@6d6857d36972b65feb161a90e484f2984215f83e # v6.0.5
uses: peter-evans/create-pull-request@c5a7806660adbe173f04e3e038b0ccdcd758773c # v6.1.0
with:
token: ${{ secrets.COMMAND_BOT_PAT }}
commit-message: 'fix(deps): Fix npm audit'
+2 -2
View File
@@ -69,12 +69,12 @@ jobs:
steps:
- name: Checkout server
uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332
with:
submodules: true
- name: Set up php ${{ matrix.php-versions }}
uses: shivammathur/setup-php@4bd44f22a98a19e0950cbad5f31095157cc9621b # v2
uses: shivammathur/setup-php@2e947f1f6932d141d076ca441d0e1e881775e95b #v2.31.0
with:
php-version: ${{ matrix.php-versions }}
# https://docs.nextcloud.com/server/stable/admin_manual/installation/source_installation.html#prerequisites-for-manual-installation
+3 -3
View File
@@ -38,7 +38,7 @@ jobs:
- '**.php'
s3-primary-tests-minio:
runs-on: ubuntu-22.04
runs-on: ubuntu-latest
needs: changes
if: ${{ github.repository_owner != 'nextcloud-gmbh' && needs.changes.outputs.src != 'false' }}
@@ -70,12 +70,12 @@ jobs:
steps:
- name: Checkout server
uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332
with:
submodules: true
- name: Set up php ${{ matrix.php-versions }}
uses: shivammathur/setup-php@4bd44f22a98a19e0950cbad5f31095157cc9621b # v2
uses: shivammathur/setup-php@2e947f1f6932d141d076ca441d0e1e881775e95b #v2.31.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
@@ -67,12 +67,12 @@ jobs:
steps:
- name: Checkout server
uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332
with:
submodules: true
- name: Set up php ${{ matrix.php-versions }}
uses: shivammathur/setup-php@4bd44f22a98a19e0950cbad5f31095157cc9621b # v2
uses: shivammathur/setup-php@2e947f1f6932d141d076ca441d0e1e881775e95b #v2.31.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
@@ -26,10 +26,10 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
- name: Set up php
uses: shivammathur/setup-php@c665c7a15b5295c2488ac8a87af9cb806cd72198 # v2
uses: shivammathur/setup-php@2e947f1f6932d141d076ca441d0e1e881775e95b #v2.31.0
with:
php-version: '8.2'
extensions: ctype, curl, dom, fileinfo, gd, json, libxml, mbstring, openssl, pcntl, pdo, posix, session, simplexml, xml, xmlreader, xmlwriter, zip, zlib
+8 -2
View File
@@ -22,14 +22,20 @@ jobs:
name: performance-${{ matrix.php-versions }}
steps:
- name: Disabled on forks
if: ${{ github.event.pull_request.head.repo.full_name != github.repository }}
run: |
echo 'Can not run performance tests on forks'
exit 1
- name: Checkout server before PR
uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332
with:
submodules: true
ref: ${{ github.event.pull_request.base.ref }}
- name: Set up php ${{ matrix.php-versions }}
uses: shivammathur/setup-php@c5fc0d8281aba02c7fda07d3a70cc5371548067d #v2.25.2
uses: shivammathur/setup-php@2e947f1f6932d141d076ca441d0e1e881775e95b #v2.31.0
with:
php-version: ${{ matrix.php-versions }}
extensions: mbstring, fileinfo, intl, sqlite, pdo_sqlite, zip, gd
+2 -2
View File
@@ -32,7 +32,7 @@ jobs:
steps:
- name: Checkout server
uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332
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@72ae4ccbe57f82bbe08411e84e2130bd4ba1c10f #v2.25.5
uses: shivammathur/setup-php@2e947f1f6932d141d076ca441d0e1e881775e95b #v2.31.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 -5
View File
@@ -56,10 +56,10 @@ jobs:
strategy:
matrix:
php-versions: ['8.1']
mariadb-versions: ['10.3', '10.5', '10.6', '10.11']
mariadb-versions: ['10.3', '10.6', '10.11', '11.4']
include:
- php-versions: '8.3'
mariadb-versions: '10.6'
mariadb-versions: '10.11'
coverage: ${{ github.event_name != 'pull_request' }}
name: MariaDB ${{ matrix.mariadb-versions }} (PHP ${{ matrix.php-versions }}) - database tests
@@ -80,16 +80,16 @@ jobs:
MYSQL_USER: oc_autotest
MYSQL_PASSWORD: nextcloud
MYSQL_DATABASE: oc_autotest
options: --health-cmd="mysqladmin ping" --health-interval 5s --health-timeout 2s --health-retries 5
options: --health-cmd="${{ matrix.mariadb-versions <= 10.4 && 'mysqladmin' || 'mariadb-admin'}} ping" --health-interval 5s --health-timeout 2s --health-retries 5
steps:
- name: Checkout server
uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
with:
submodules: true
- name: Set up php ${{ matrix.php-versions }}
uses: shivammathur/setup-php@c665c7a15b5295c2488ac8a87af9cb806cd72198 # v2
uses: shivammathur/setup-php@2e947f1f6932d141d076ca441d0e1e881775e95b #v2.31.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
@@ -71,12 +71,12 @@ jobs:
steps:
- name: Checkout server
uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332
with:
submodules: true
- name: Set up php ${{ matrix.php-versions }}
uses: shivammathur/setup-php@7fdd3ece872ec7ec4c098ae5ab7637d5e0a96067 # v2
uses: shivammathur/setup-php@2e947f1f6932d141d076ca441d0e1e881775e95b #v2.31.0
with:
php-version: ${{ matrix.php-versions }}
# https://docs.nextcloud.com/server/stable/admin_manual/installation/source_installation.html#prerequisites-for-manual-installation
+4 -4
View File
@@ -56,7 +56,7 @@ jobs:
strategy:
matrix:
php-versions: ['8.1']
mysql-versions: ['8.0', '8.3']
mysql-versions: ['8.0', '8.4']
include:
- mysql-versions: '8.0'
php-versions: '8.3'
@@ -80,16 +80,16 @@ jobs:
MYSQL_USER: oc_autotest
MYSQL_PASSWORD: nextcloud
MYSQL_DATABASE: oc_autotest
options: --health-cmd="mysqladmin ping" --health-interval 5s --health-timeout 2s --health-retries 5
options: --health-cmd="mysqladmin ping" --health-interval 5s --health-timeout 2s --health-retries 10
steps:
- name: Checkout server
uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332
with:
submodules: true
- name: Set up php ${{ matrix.php-versions }}
uses: shivammathur/setup-php@4bd44f22a98a19e0950cbad5f31095157cc9621b # v2
uses: shivammathur/setup-php@2e947f1f6932d141d076ca441d0e1e881775e95b #v2.31.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
@@ -73,12 +73,12 @@ jobs:
steps:
- name: Checkout server
uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332
with:
submodules: true
- name: Set up php ${{ matrix.php-versions }}
uses: shivammathur/setup-php@7fdd3ece872ec7ec4c098ae5ab7637d5e0a96067 # v2
uses: shivammathur/setup-php@2e947f1f6932d141d076ca441d0e1e881775e95b #v2.31.0
with:
php-version: ${{ matrix.php-versions }}
# https://docs.nextcloud.com/server/stable/admin_manual/installation/source_installation.html#prerequisites-for-manual-installation
+18 -16
View File
@@ -51,15 +51,21 @@ jobs:
runs-on: ubuntu-latest
needs: changes
if: needs.changes.outputs.src != 'false' && ${{ github.repository_owner != 'nextcloud-gmbh' }}
if: ${{ needs.changes.outputs.src != 'false' && github.repository_owner != 'nextcloud-gmbh' }}
strategy:
fail-fast: false
matrix:
oracle-versions: ['11']
php-versions: ['8.1', '8.2', '8.3']
include:
- php-versions: '8.3'
- oracle-versions: '11'
php-versions: '8.1'
- oracle-versions: '18'
php-versions: '8.1'
coverage: ${{ github.event_name != 'pull_request' }}
- oracle-versions: '21'
php-versions: '8.2'
- oracle-versions: '23'
php-versions: '8.3'
name: Oracle ${{ matrix.oracle-versions }} (PHP ${{ matrix.php-versions }}) - database tests
@@ -71,33 +77,31 @@ jobs:
options: --health-cmd="redis-cli ping" --health-interval=10s --health-timeout=5s --health-retries=3
oracle:
image: ghcr.io/gvenzl/oracle-xe:${{ matrix.oracle-versions }}
image: ghcr.io/gvenzl/oracle-${{ matrix.oracle-versions < 23 && 'xe' || 'free' }}:${{ matrix.oracle-versions }}
# Provide passwords and other environment variables to container
env:
ORACLE_RANDOM_PASSWORD: true
APP_USER: oc_autotest
APP_USER_PASSWORD: nextcloud
ORACLE_PASSWORD: oracle
# Forward Oracle port
ports:
- 4444:1521/tcp
- 1521:1521
# Provide healthcheck script options for startup
options: >-
--health-cmd healthcheck.sh
--health-interval 10s
--health-timeout 5s
--health-interval 20s
--health-timeout 10s
--health-retries 10
steps:
- name: Checkout server
uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
with:
submodules: true
- name: Set up php ${{ matrix.php-versions }}
uses: shivammathur/setup-php@c665c7a15b5295c2488ac8a87af9cb806cd72198 # v2
uses: shivammathur/setup-php@2e947f1f6932d141d076ca441d0e1e881775e95b #v2.31.0
with:
php-version: ${{ matrix.php-versions }}
# https://docs.nextcloud.com/server/stable/admin_manual/installation/source_installation.html#prerequisites-for-manual-installation
@@ -111,13 +115,11 @@ jobs:
run: composer i
- name: Set up Nextcloud
env:
DB_PORT: 4444
run: |
mkdir data
cp tests/redis.config.php config/
cp tests/preseed-config.php config/config.php
./occ maintenance:install --verbose --database=oci --database-name=XE --database-host=127.0.0.1 --database-port=$DB_PORT --database-user=oc_autotest --database-pass=nextcloud --admin-user admin --admin-pass admin
./occ maintenance:install --verbose --database=oci --database-name=${{ matrix.oracle-versions < 23 && 'XE' || 'FREE' }} --database-host=127.0.0.1 --database-port=1521 --database-user=system --database-pass=oracle --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
+2 -2
View File
@@ -84,12 +84,12 @@ jobs:
steps:
- name: Checkout server
uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
with:
submodules: true
- name: Set up php ${{ matrix.php-versions }}
uses: shivammathur/setup-php@c665c7a15b5295c2488ac8a87af9cb806cd72198 # v2
uses: shivammathur/setup-php@2e947f1f6932d141d076ca441d0e1e881775e95b #v2.31.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
@@ -71,12 +71,12 @@ jobs:
steps:
- name: Checkout server
uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
with:
submodules: true
- name: Set up php ${{ matrix.php-versions }}
uses: shivammathur/setup-php@c665c7a15b5295c2488ac8a87af9cb806cd72198 # v2
uses: shivammathur/setup-php@2e947f1f6932d141d076ca441d0e1e881775e95b #v2.31.0
with:
php-version: ${{ matrix.php-versions }}
# https://docs.nextcloud.com/server/stable/admin_manual/installation/source_installation.html#prerequisites-for-manual-installation
+22
View File
@@ -0,0 +1,22 @@
# 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 Free Software Foundation Europe e.V. <https://fsfe.org>
#
# SPDX-License-Identifier: CC0-1.0
name: REUSE Compliance Check
on: [pull_request]
jobs:
reuse-compliance-check:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
- name: REUSE Compliance Check
uses: fsfe/reuse-action@3ae3c6bdf1257ab19397fab11fd3312144692083 # v4.0.0
+6 -6
View File
@@ -17,12 +17,12 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332
with:
submodules: true
- name: Set up php
uses: shivammathur/setup-php@v2
uses: shivammathur/setup-php@2e947f1f6932d141d076ca441d0e1e881775e95b #v2.31.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
@@ -51,12 +51,12 @@ jobs:
steps:
- name: Checkout code
uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332
with:
submodules: true
- name: Set up php
uses: shivammathur/setup-php@master
uses: shivammathur/setup-php@2e947f1f6932d141d076ca441d0e1e881775e95b #v2.31.0
with:
php-version: '8.1'
extensions: ctype,curl,dom,fileinfo,ftp,gd,intl,json,ldap,mbstring,openssl,pdo_sqlite,posix,sqlite,xml,zip
@@ -79,12 +79,12 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332
with:
submodules: true
- name: Set up php
uses: shivammathur/setup-php@v2
uses: shivammathur/setup-php@2e947f1f6932d141d076ca441d0e1e881775e95b #v2.31.0
with:
php-version: '8.1'
extensions: ctype,curl,dom,fileinfo,gd,intl,json,mbstring,openssl,pdo_sqlite,posix,sqlite,xml,zip
+2 -2
View File
@@ -19,7 +19,7 @@ jobs:
name: update-ca-certificate-bundle-${{ matrix.branches }}
steps:
- uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332
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@6d6857d36972b65feb161a90e484f2984215f83e
uses: peter-evans/create-pull-request@c5a7806660adbe173f04e3e038b0ccdcd758773c
with:
token: ${{ secrets.COMMAND_BOT_PAT }}
commit-message: 'fix(security): Update CA certificate bundle'
@@ -19,7 +19,7 @@ jobs:
name: update-code-signing-crl-${{ matrix.branches }}
steps:
- uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332
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@6d6857d36972b65feb161a90e484f2984215f83e
uses: peter-evans/create-pull-request@c5a7806660adbe173f04e3e038b0ccdcd758773c
with:
token: ${{ secrets.COMMAND_BOT_PAT }}
commit-message: 'fix(security): Update code signing revocation list'
@@ -0,0 +1,52 @@
# 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@bab4c71506bcd299fb350af63bb8e53f2940a599 # v2.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 }}
+3 -3
View File
@@ -21,13 +21,13 @@ jobs:
name: update-psalm-baseline-${{ matrix.branches }}
steps:
- uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332
with:
ref: ${{ matrix.branches }}
submodules: true
- name: Set up php
uses: shivammathur/setup-php@v2
uses: shivammathur/setup-php@2e947f1f6932d141d076ca441d0e1e881775e95b #v2.31.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
@@ -52,7 +52,7 @@ jobs:
git checkout composer.json composer.lock lib/composer
- name: Create Pull Request
uses: peter-evans/create-pull-request@6d6857d36972b65feb161a90e484f2984215f83e
uses: peter-evans/create-pull-request@c5a7806660adbe173f04e3e038b0ccdcd758773c
with:
token: ${{ secrets.COMMAND_BOT_PAT }}
commit-message: 'chore(tests): Update psalm baseline'
+1 -1
View File
@@ -40,7 +40,7 @@
</IfModule>
# Add cache control for static resources
<FilesMatch "\.(css|js|mjs|svg|gif|png|jpg|ico|wasm|tflite)$">
<FilesMatch "\.(css|js|mjs|svg|gif|png|jpg|webp|ico|wasm|tflite)$">
<If "%{QUERY_STRING} =~ /(^|&)v=/">
Header set Cache-Control "max-age=15778463, immutable"
</If>
+2
View File
@@ -8,9 +8,11 @@ declare(strict_types=1);
require_once './vendor-bin/cs-fixer/vendor/autoload.php';
use Nextcloud\CodingStandard\Config;
use PhpCsFixer\Runner\Parallel\ParallelConfigFactory;
$config = new Config();
$config
->setParallelConfig(ParallelConfigFactory::detect())
->getFinder()
->ignoreVCSIgnored(true)
->exclude('config')
+22 -14
View File
File diff suppressed because one or more lines are too long
+3 -8
View File
@@ -7,14 +7,9 @@ Files in Nextcloud are licensed under the Affero General Public License version
the text of which can be found in `COPYING`, or any later version of the AGPL,
unless otherwise noted.
Licensing of components:
* jQuery: MIT / GPL
* HTTP: 3 clause BSD
* MDB2: BSD style custom
* User: AGPL
* XML/RPC: MIT / PHP
* Elementary filetype icons: GPL v3+
* Material UI icons: APACHE LICENSE, VERSION 2.0
For licensing of components please see the respective SPDX headers of the shipped
files in the `dist` folder.
All unmodified files from these and other sources retain their original copyright
and license notices: see the relevant individual files.
+9
View File
@@ -0,0 +1,9 @@
Copyright (c) <year> <owner>
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+11
View File
@@ -0,0 +1,11 @@
Copyright (c) <year> <owner>.
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
3. Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+156
View File
@@ -0,0 +1,156 @@
Creative Commons Attribution 4.0 International
Creative Commons Corporation (“Creative Commons”) is not a law firm and does not provide legal services or legal advice. Distribution of Creative Commons public licenses does not create a lawyer-client or other relationship. Creative Commons makes its licenses and related information available on an “as-is” basis. Creative Commons gives no warranties regarding its licenses, any material licensed under their terms and conditions, or any related information. Creative Commons disclaims all liability for damages resulting from their use to the fullest extent possible.
Using Creative Commons Public Licenses
Creative Commons public licenses provide a standard set of terms and conditions that creators and other rights holders may use to share original works of authorship and other material subject to copyright and certain other rights specified in the public license below. The following considerations are for informational purposes only, are not exhaustive, and do not form part of our licenses.
Considerations for licensors: Our public licenses are intended for use by those authorized to give the public permission to use material in ways otherwise restricted by copyright and certain other rights. Our licenses are irrevocable. Licensors should read and understand the terms and conditions of the license they choose before applying it. Licensors should also secure all rights necessary before applying our licenses so that the public can reuse the material as expected. Licensors should clearly mark any material not subject to the license. This includes other CC-licensed material, or material used under an exception or limitation to copyright. More considerations for licensors.
Considerations for the public: By using one of our public licenses, a licensor grants the public permission to use the licensed material under specified terms and conditions. If the licensors permission is not necessary for any reasonfor example, because of any applicable exception or limitation to copyrightthen that use is not regulated by the license. Our licenses grant only permissions under copyright and certain other rights that a licensor has authority to grant. Use of the licensed material may still be restricted for other reasons, including because others have copyright or other rights in the material. A licensor may make special requests, such as asking that all changes be marked or described. Although not required by our licenses, you are encouraged to respect those requests where reasonable. More considerations for the public.
Creative Commons Attribution 4.0 International Public License
By exercising the Licensed Rights (defined below), You accept and agree to be bound by the terms and conditions of this Creative Commons Attribution 4.0 International Public License ("Public License"). To the extent this Public License may be interpreted as a contract, You are granted the Licensed Rights in consideration of Your acceptance of these terms and conditions, and the Licensor grants You such rights in consideration of benefits the Licensor receives from making the Licensed Material available under these terms and conditions.
Section 1 Definitions.
a. Adapted Material means material subject to Copyright and Similar Rights that is derived from or based upon the Licensed Material and in which the Licensed Material is translated, altered, arranged, transformed, or otherwise modified in a manner requiring permission under the Copyright and Similar Rights held by the Licensor. For purposes of this Public License, where the Licensed Material is a musical work, performance, or sound recording, Adapted Material is always produced where the Licensed Material is synched in timed relation with a moving image.
b. Adapter's License means the license You apply to Your Copyright and Similar Rights in Your contributions to Adapted Material in accordance with the terms and conditions of this Public License.
c. Copyright and Similar Rights means copyright and/or similar rights closely related to copyright including, without limitation, performance, broadcast, sound recording, and Sui Generis Database Rights, without regard to how the rights are labeled or categorized. For purposes of this Public License, the rights specified in Section 2(b)(1)-(2) are not Copyright and Similar Rights.
d. Effective Technological Measures means those measures that, in the absence of proper authority, may not be circumvented under laws fulfilling obligations under Article 11 of the WIPO Copyright Treaty adopted on December 20, 1996, and/or similar international agreements.
e. Exceptions and Limitations means fair use, fair dealing, and/or any other exception or limitation to Copyright and Similar Rights that applies to Your use of the Licensed Material.
f. Licensed Material means the artistic or literary work, database, or other material to which the Licensor applied this Public License.
g. Licensed Rights means the rights granted to You subject to the terms and conditions of this Public License, which are limited to all Copyright and Similar Rights that apply to Your use of the Licensed Material and that the Licensor has authority to license.
h. Licensor means the individual(s) or entity(ies) granting rights under this Public License.
i. Share means to provide material to the public by any means or process that requires permission under the Licensed Rights, such as reproduction, public display, public performance, distribution, dissemination, communication, or importation, and to make material available to the public including in ways that members of the public may access the material from a place and at a time individually chosen by them.
j. Sui Generis Database Rights means rights other than copyright resulting from Directive 96/9/EC of the European Parliament and of the Council of 11 March 1996 on the legal protection of databases, as amended and/or succeeded, as well as other essentially equivalent rights anywhere in the world.
k. You means the individual or entity exercising the Licensed Rights under this Public License. Your has a corresponding meaning.
Section 2 Scope.
a. License grant.
1. Subject to the terms and conditions of this Public License, the Licensor hereby grants You a worldwide, royalty-free, non-sublicensable, non-exclusive, irrevocable license to exercise the Licensed Rights in the Licensed Material to:
A. reproduce and Share the Licensed Material, in whole or in part; and
B. produce, reproduce, and Share Adapted Material.
2. Exceptions and Limitations. For the avoidance of doubt, where Exceptions and Limitations apply to Your use, this Public License does not apply, and You do not need to comply with its terms and conditions.
3. Term. The term of this Public License is specified in Section 6(a).
4. Media and formats; technical modifications allowed. The Licensor authorizes You to exercise the Licensed Rights in all media and formats whether now known or hereafter created, and to make technical modifications necessary to do so. The Licensor waives and/or agrees not to assert any right or authority to forbid You from making technical modifications necessary to exercise the Licensed Rights, including technical modifications necessary to circumvent Effective Technological Measures. For purposes of this Public License, simply making modifications authorized by this Section 2(a)(4) never produces Adapted Material.
5. Downstream recipients.
A. Offer from the Licensor Licensed Material. Every recipient of the Licensed Material automatically receives an offer from the Licensor to exercise the Licensed Rights under the terms and conditions of this Public License.
B. No downstream restrictions. You may not offer or impose any additional or different terms or conditions on, or apply any Effective Technological Measures to, the Licensed Material if doing so restricts exercise of the Licensed Rights by any recipient of the Licensed Material.
6. No endorsement. Nothing in this Public License constitutes or may be construed as permission to assert or imply that You are, or that Your use of the Licensed Material is, connected with, or sponsored, endorsed, or granted official status by, the Licensor or others designated to receive attribution as provided in Section 3(a)(1)(A)(i).
b. Other rights.
1. Moral rights, such as the right of integrity, are not licensed under this Public License, nor are publicity, privacy, and/or other similar personality rights; however, to the extent possible, the Licensor waives and/or agrees not to assert any such rights held by the Licensor to the limited extent necessary to allow You to exercise the Licensed Rights, but not otherwise.
2. Patent and trademark rights are not licensed under this Public License.
3. To the extent possible, the Licensor waives any right to collect royalties from You for the exercise of the Licensed Rights, whether directly or through a collecting society under any voluntary or waivable statutory or compulsory licensing scheme. In all other cases the Licensor expressly reserves any right to collect such royalties.
Section 3 License Conditions.
Your exercise of the Licensed Rights is expressly made subject to the following conditions.
a. Attribution.
1. If You Share the Licensed Material (including in modified form), You must:
A. retain the following if it is supplied by the Licensor with the Licensed Material:
i. identification of the creator(s) of the Licensed Material and any others designated to receive attribution, in any reasonable manner requested by the Licensor (including by pseudonym if designated);
ii. a copyright notice;
iii. a notice that refers to this Public License;
iv. a notice that refers to the disclaimer of warranties;
v. a URI or hyperlink to the Licensed Material to the extent reasonably practicable;
B. indicate if You modified the Licensed Material and retain an indication of any previous modifications; and
C. indicate the Licensed Material is licensed under this Public License, and include the text of, or the URI or hyperlink to, this Public License.
2. You may satisfy the conditions in Section 3(a)(1) in any reasonable manner based on the medium, means, and context in which You Share the Licensed Material. For example, it may be reasonable to satisfy the conditions by providing a URI or hyperlink to a resource that includes the required information.
3. If requested by the Licensor, You must remove any of the information required by Section 3(a)(1)(A) to the extent reasonably practicable.
4. If You Share Adapted Material You produce, the Adapter's License You apply must not prevent recipients of the Adapted Material from complying with this Public License.
Section 4 Sui Generis Database Rights.
Where the Licensed Rights include Sui Generis Database Rights that apply to Your use of the Licensed Material:
a. for the avoidance of doubt, Section 2(a)(1) grants You the right to extract, reuse, reproduce, and Share all or a substantial portion of the contents of the database;
b. if You include all or a substantial portion of the database contents in a database in which You have Sui Generis Database Rights, then the database in which You have Sui Generis Database Rights (but not its individual contents) is Adapted Material; and
c. You must comply with the conditions in Section 3(a) if You Share all or a substantial portion of the contents of the database.
For the avoidance of doubt, this Section 4 supplements and does not replace Your obligations under this Public License where the Licensed Rights include other Copyright and Similar Rights.
Section 5 Disclaimer of Warranties and Limitation of Liability.
a. Unless otherwise separately undertaken by the Licensor, to the extent possible, the Licensor offers the Licensed Material as-is and as-available, and makes no representations or warranties of any kind concerning the Licensed Material, whether express, implied, statutory, or other. This includes, without limitation, warranties of title, merchantability, fitness for a particular purpose, non-infringement, absence of latent or other defects, accuracy, or the presence or absence of errors, whether or not known or discoverable. Where disclaimers of warranties are not allowed in full or in part, this disclaimer may not apply to You.
b. To the extent possible, in no event will the Licensor be liable to You on any legal theory (including, without limitation, negligence) or otherwise for any direct, special, indirect, incidental, consequential, punitive, exemplary, or other losses, costs, expenses, or damages arising out of this Public License or use of the Licensed Material, even if the Licensor has been advised of the possibility of such losses, costs, expenses, or damages. Where a limitation of liability is not allowed in full or in part, this limitation may not apply to You.
c. The disclaimer of warranties and limitation of liability provided above shall be interpreted in a manner that, to the extent possible, most closely approximates an absolute disclaimer and waiver of all liability.
Section 6 Term and Termination.
a. This Public License applies for the term of the Copyright and Similar Rights licensed here. However, if You fail to comply with this Public License, then Your rights under this Public License terminate automatically.
b. Where Your right to use the Licensed Material has terminated under Section 6(a), it reinstates:
1. automatically as of the date the violation is cured, provided it is cured within 30 days of Your discovery of the violation; or
2. upon express reinstatement by the Licensor.
c. For the avoidance of doubt, this Section 6(b) does not affect any right the Licensor may have to seek remedies for Your violations of this Public License.
d. For the avoidance of doubt, the Licensor may also offer the Licensed Material under separate terms or conditions or stop distributing the Licensed Material at any time; however, doing so will not terminate this Public License.
e. Sections 1, 5, 6, 7, and 8 survive termination of this Public License.
Section 7 Other Terms and Conditions.
a. The Licensor shall not be bound by any additional or different terms or conditions communicated by You unless expressly agreed.
b. Any arrangements, understandings, or agreements regarding the Licensed Material not stated herein are separate from and independent of the terms and conditions of this Public License.
Section 8 Interpretation.
a. For the avoidance of doubt, this Public License does not, and shall not be interpreted to, reduce, limit, restrict, or impose conditions on any use of the Licensed Material that could lawfully be made without permission under this Public License.
b. To the extent possible, if any provision of this Public License is deemed unenforceable, it shall be automatically reformed to the minimum extent necessary to make it enforceable. If the provision cannot be reformed, it shall be severed from this Public License without affecting the enforceability of the remaining terms and conditions.
c. No term or condition of this Public License will be waived and no failure to comply consented to unless expressly agreed to by the Licensor.
d. Nothing in this Public License constitutes or may be interpreted as a limitation upon, or waiver of, any privileges and immunities that apply to the Licensor or You, including from the legal processes of any jurisdiction or authority.
Creative Commons is not a party to its public licenses. Notwithstanding, Creative Commons may elect to apply one of its public licenses to material it publishes and in those instances will be considered the “Licensor.” Except for the limited purpose of indicating that material is shared under a Creative Commons public license or as otherwise permitted by the Creative Commons policies published at creativecommons.org/policies, Creative Commons does not authorize the use of the trademark “Creative Commons” or any other trademark or logo of Creative Commons without its prior written consent including, without limitation, in connection with any unauthorized modifications to any of its public licenses or any other arrangements, understandings, or agreements concerning use of licensed material. For the avoidance of doubt, this paragraph does not form part of the public licenses.
Creative Commons may be contacted at creativecommons.org.
+8
View File
@@ -0,0 +1,8 @@
ISC License:
Copyright (c) 2004-2010 by Internet Systems Consortium, Inc. ("ISC")
Copyright (c) 1995-2003 by Internet Software Consortium
Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies.
THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+373
View File
@@ -0,0 +1,373 @@
Mozilla Public License Version 2.0
==================================
1. Definitions
--------------
1.1. "Contributor"
means each individual or legal entity that creates, contributes to
the creation of, or owns Covered Software.
1.2. "Contributor Version"
means the combination of the Contributions of others (if any) used
by a Contributor and that particular Contributor's Contribution.
1.3. "Contribution"
means Covered Software of a particular Contributor.
1.4. "Covered Software"
means Source Code Form to which the initial Contributor has attached
the notice in Exhibit A, the Executable Form of such Source Code
Form, and Modifications of such Source Code Form, in each case
including portions thereof.
1.5. "Incompatible With Secondary Licenses"
means
(a) that the initial Contributor has attached the notice described
in Exhibit B to the Covered Software; or
(b) that the Covered Software was made available under the terms of
version 1.1 or earlier of the License, but not also under the
terms of a Secondary License.
1.6. "Executable Form"
means any form of the work other than Source Code Form.
1.7. "Larger Work"
means a work that combines Covered Software with other material, in
a separate file or files, that is not Covered Software.
1.8. "License"
means this document.
1.9. "Licensable"
means having the right to grant, to the maximum extent possible,
whether at the time of the initial grant or subsequently, any and
all of the rights conveyed by this License.
1.10. "Modifications"
means any of the following:
(a) any file in Source Code Form that results from an addition to,
deletion from, or modification of the contents of Covered
Software; or
(b) any new file in Source Code Form that contains any Covered
Software.
1.11. "Patent Claims" of a Contributor
means any patent claim(s), including without limitation, method,
process, and apparatus claims, in any patent Licensable by such
Contributor that would be infringed, but for the grant of the
License, by the making, using, selling, offering for sale, having
made, import, or transfer of either its Contributions or its
Contributor Version.
1.12. "Secondary License"
means either the GNU General Public License, Version 2.0, the GNU
Lesser General Public License, Version 2.1, the GNU Affero General
Public License, Version 3.0, or any later versions of those
licenses.
1.13. "Source Code Form"
means the form of the work preferred for making modifications.
1.14. "You" (or "Your")
means an individual or a legal entity exercising rights under this
License. For legal entities, "You" includes any entity that
controls, is controlled by, or is under common control with You. For
purposes of this definition, "control" means (a) the power, direct
or indirect, to cause the direction or management of such entity,
whether by contract or otherwise, or (b) ownership of more than
fifty percent (50%) of the outstanding shares or beneficial
ownership of such entity.
2. License Grants and Conditions
--------------------------------
2.1. Grants
Each Contributor hereby grants You a world-wide, royalty-free,
non-exclusive license:
(a) under intellectual property rights (other than patent or trademark)
Licensable by such Contributor to use, reproduce, make available,
modify, display, perform, distribute, and otherwise exploit its
Contributions, either on an unmodified basis, with Modifications, or
as part of a Larger Work; and
(b) under Patent Claims of such Contributor to make, use, sell, offer
for sale, have made, import, and otherwise transfer either its
Contributions or its Contributor Version.
2.2. Effective Date
The licenses granted in Section 2.1 with respect to any Contribution
become effective for each Contribution on the date the Contributor first
distributes such Contribution.
2.3. Limitations on Grant Scope
The licenses granted in this Section 2 are the only rights granted under
this License. No additional rights or licenses will be implied from the
distribution or licensing of Covered Software under this License.
Notwithstanding Section 2.1(b) above, no patent license is granted by a
Contributor:
(a) for any code that a Contributor has removed from Covered Software;
or
(b) for infringements caused by: (i) Your and any other third party's
modifications of Covered Software, or (ii) the combination of its
Contributions with other software (except as part of its Contributor
Version); or
(c) under Patent Claims infringed by Covered Software in the absence of
its Contributions.
This License does not grant any rights in the trademarks, service marks,
or logos of any Contributor (except as may be necessary to comply with
the notice requirements in Section 3.4).
2.4. Subsequent Licenses
No Contributor makes additional grants as a result of Your choice to
distribute the Covered Software under a subsequent version of this
License (see Section 10.2) or under the terms of a Secondary License (if
permitted under the terms of Section 3.3).
2.5. Representation
Each Contributor represents that the Contributor believes its
Contributions are its original creation(s) or it has sufficient rights
to grant the rights to its Contributions conveyed by this License.
2.6. Fair Use
This License is not intended to limit any rights You have under
applicable copyright doctrines of fair use, fair dealing, or other
equivalents.
2.7. Conditions
Sections 3.1, 3.2, 3.3, and 3.4 are conditions of the licenses granted
in Section 2.1.
3. Responsibilities
-------------------
3.1. Distribution of Source Form
All distribution of Covered Software in Source Code Form, including any
Modifications that You create or to which You contribute, must be under
the terms of this License. You must inform recipients that the Source
Code Form of the Covered Software is governed by the terms of this
License, and how they can obtain a copy of this License. You may not
attempt to alter or restrict the recipients' rights in the Source Code
Form.
3.2. Distribution of Executable Form
If You distribute Covered Software in Executable Form then:
(a) such Covered Software must also be made available in Source Code
Form, as described in Section 3.1, and You must inform recipients of
the Executable Form how they can obtain a copy of such Source Code
Form by reasonable means in a timely manner, at a charge no more
than the cost of distribution to the recipient; and
(b) You may distribute such Executable Form under the terms of this
License, or sublicense it under different terms, provided that the
license for the Executable Form does not attempt to limit or alter
the recipients' rights in the Source Code Form under this License.
3.3. Distribution of a Larger Work
You may create and distribute a Larger Work under terms of Your choice,
provided that You also comply with the requirements of this License for
the Covered Software. If the Larger Work is a combination of Covered
Software with a work governed by one or more Secondary Licenses, and the
Covered Software is not Incompatible With Secondary Licenses, this
License permits You to additionally distribute such Covered Software
under the terms of such Secondary License(s), so that the recipient of
the Larger Work may, at their option, further distribute the Covered
Software under the terms of either this License or such Secondary
License(s).
3.4. Notices
You may not remove or alter the substance of any license notices
(including copyright notices, patent notices, disclaimers of warranty,
or limitations of liability) contained within the Source Code Form of
the Covered Software, except that You may alter any license notices to
the extent required to remedy known factual inaccuracies.
3.5. Application of Additional Terms
You may choose to offer, and to charge a fee for, warranty, support,
indemnity or liability obligations to one or more recipients of Covered
Software. However, You may do so only on Your own behalf, and not on
behalf of any Contributor. You must make it absolutely clear that any
such warranty, support, indemnity, or liability obligation is offered by
You alone, and You hereby agree to indemnify every Contributor for any
liability incurred by such Contributor as a result of warranty, support,
indemnity or liability terms You offer. You may include additional
disclaimers of warranty and limitations of liability specific to any
jurisdiction.
4. Inability to Comply Due to Statute or Regulation
---------------------------------------------------
If it is impossible for You to comply with any of the terms of this
License with respect to some or all of the Covered Software due to
statute, judicial order, or regulation then You must: (a) comply with
the terms of this License to the maximum extent possible; and (b)
describe the limitations and the code they affect. Such description must
be placed in a text file included with all distributions of the Covered
Software under this License. Except to the extent prohibited by statute
or regulation, such description must be sufficiently detailed for a
recipient of ordinary skill to be able to understand it.
5. Termination
--------------
5.1. The rights granted under this License will terminate automatically
if You fail to comply with any of its terms. However, if You become
compliant, then the rights granted under this License from a particular
Contributor are reinstated (a) provisionally, unless and until such
Contributor explicitly and finally terminates Your grants, and (b) on an
ongoing basis, if such Contributor fails to notify You of the
non-compliance by some reasonable means prior to 60 days after You have
come back into compliance. Moreover, Your grants from a particular
Contributor are reinstated on an ongoing basis if such Contributor
notifies You of the non-compliance by some reasonable means, this is the
first time You have received notice of non-compliance with this License
from such Contributor, and You become compliant prior to 30 days after
Your receipt of the notice.
5.2. If You initiate litigation against any entity by asserting a patent
infringement claim (excluding declaratory judgment actions,
counter-claims, and cross-claims) alleging that a Contributor Version
directly or indirectly infringes any patent, then the rights granted to
You by any and all Contributors for the Covered Software under Section
2.1 of this License shall terminate.
5.3. In the event of termination under Sections 5.1 or 5.2 above, all
end user license agreements (excluding distributors and resellers) which
have been validly granted by You or Your distributors under this License
prior to termination shall survive termination.
************************************************************************
* *
* 6. Disclaimer of Warranty *
* ------------------------- *
* *
* Covered Software is provided under this License on an "as is" *
* basis, without warranty of any kind, either expressed, implied, or *
* statutory, including, without limitation, warranties that the *
* Covered Software is free of defects, merchantable, fit for a *
* particular purpose or non-infringing. The entire risk as to the *
* quality and performance of the Covered Software is with You. *
* Should any Covered Software prove defective in any respect, You *
* (not any Contributor) assume the cost of any necessary servicing, *
* repair, or correction. This disclaimer of warranty constitutes an *
* essential part of this License. No use of any Covered Software is *
* authorized under this License except under this disclaimer. *
* *
************************************************************************
************************************************************************
* *
* 7. Limitation of Liability *
* -------------------------- *
* *
* Under no circumstances and under no legal theory, whether tort *
* (including negligence), contract, or otherwise, shall any *
* Contributor, or anyone who distributes Covered Software as *
* permitted above, be liable to You for any direct, indirect, *
* special, incidental, or consequential damages of any character *
* including, without limitation, damages for lost profits, loss of *
* goodwill, work stoppage, computer failure or malfunction, or any *
* and all other commercial damages or losses, even if such party *
* shall have been informed of the possibility of such damages. This *
* limitation of liability shall not apply to liability for death or *
* personal injury resulting from such party's negligence to the *
* extent applicable law prohibits such limitation. Some *
* jurisdictions do not allow the exclusion or limitation of *
* incidental or consequential damages, so this exclusion and *
* limitation may not apply to You. *
* *
************************************************************************
8. Litigation
-------------
Any litigation relating to this License may be brought only in the
courts of a jurisdiction where the defendant maintains its principal
place of business and such litigation shall be governed by laws of that
jurisdiction, without reference to its conflict-of-law provisions.
Nothing in this Section shall prevent a party's ability to bring
cross-claims or counter-claims.
9. Miscellaneous
----------------
This License represents the complete agreement concerning the subject
matter hereof. If any provision of this License is held to be
unenforceable, such provision shall be reformed only to the extent
necessary to make it enforceable. Any law or regulation which provides
that the language of a contract shall be construed against the drafter
shall not be used to construe this License against a Contributor.
10. Versions of the License
---------------------------
10.1. New Versions
Mozilla Foundation is the license steward. Except as provided in Section
10.3, no one other than the license steward has the right to modify or
publish new versions of this License. Each version will be given a
distinguishing version number.
10.2. Effect of New Versions
You may distribute the Covered Software under the terms of the version
of the License under which You originally received the Covered Software,
or under the terms of any subsequent version published by the license
steward.
10.3. Modified Versions
If you create software not governed by this License, and you want to
create a new license for such software, you may create and use a
modified version of this License if you rename the license and remove
any references to the name of the license steward (except to note that
such modified license differs from this License).
10.4. Distributing Source Code Form that is Incompatible With Secondary
Licenses
If You choose to distribute Source Code Form that is Incompatible With
Secondary Licenses under the terms of this version of the License, the
notice described in Exhibit B of this License must be attached.
Exhibit A - Source Code Form License Notice
-------------------------------------------
This Source Code Form is subject to the terms of the Mozilla Public
License, v. 2.0. If a copy of the MPL was not distributed with this
file, You can obtain one at https://mozilla.org/MPL/2.0/.
If it is not possible or desirable to put the notice in a particular
file, then You may include the notice in a location (such as a LICENSE
file in a relevant directory) where a recipient would be likely to look
for such a notice.
You may add additional accurate notices of copyright ownership.
Exhibit B - "Incompatible With Secondary Licenses" Notice
---------------------------------------------------------
This Source Code Form is "Incompatible With Secondary Licenses", as
defined by the Mozilla Public License, v. 2.0.
+4 -4
View File
@@ -4,6 +4,7 @@
- SPDX-License-Identifier: AGPL-3.0-or-later
-->
# Nextcloud Server ☁
[![REUSE status](https://api.reuse.software/badge/github.com/nextcloud/server)](https://api.reuse.software/info/github.com/nextcloud/server)
[![Scrutinizer Code Quality](https://scrutinizer-ci.com/g/nextcloud/server/badges/quality-score.png?b=master)](https://scrutinizer-ci.com/g/nextcloud/server/?branch=master)
[![codecov](https://codecov.io/gh/nextcloud/server/branch/master/graph/badge.svg)](https://codecov.io/gh/nextcloud/server)
[![CII Best Practices](https://bestpractices.coreinfrastructure.org/projects/209/badge)](https://bestpractices.coreinfrastructure.org/projects/209)
@@ -79,12 +80,11 @@ All contributions to this repository from June 16, 2016, and onward are consider
licensed under the AGPLv3 or any later version.
Nextcloud doesn't require a CLA (Contributor License Agreement).
The copyright belongs to all the individual contributors. Therefore we recommend
that every contributor adds the following line to the header of a file if they
changed it substantially:
The copyright belongs to all the individual contributors.
Therefore we recommend that every contributor adds the following line to the [AUTHORS](AUTHORS) file if they made substantial changes to the code:
```
@copyright Copyright (c) <year>, <your name> (<your email address>)
- <your name> <your email address>
```
Please read the [Code of Conduct](https://nextcloud.com/community/code-of-conduct/). This document offers some guidance to ensure Nextcloud participants can cooperate effectively in a positive and inspiring atmosphere and to explain how together we can strengthen and support each other.
+8
View File
@@ -3,6 +3,14 @@
* SPDX-License-Identifier: AGPL-3.0-or-later
*/
export default {
interceptors: {
response: {
use: () => {},
},
request: {
use: () => {},
},
},
get: async () => ({ status: 200, data: {} }),
delete: async () => ({ status: 200, data: {} }),
post: async () => ({ status: 200, data: {} }),
+22
View File
@@ -0,0 +1,22 @@
/**
* SPDX-FileCopyrightText: 2024 Nextcloud GmbH and Nextcloud contributors
* SPDX-License-Identifier: AGPL-3.0-or-later
*/
import type { Capabilities } from '../../apps/files/src/types'
export const getCapabilities = (): Capabilities => {
return {
files: {
bigfilechunking: true,
blacklisted_files: [],
forbidden_filename_basenames: [],
forbidden_filename_characters: [],
forbidden_filename_extensions: [],
forbidden_filenames: [],
undelete: true,
version_deletion: true,
version_labeling: true,
versioning: true,
},
}
}
+8
View File
@@ -0,0 +1,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 }
+1 -1
View File
@@ -2,6 +2,6 @@ OC.L10N.register(
"admin_audit",
{
"Auditing / Logging" : "Iniúchóireacht / Logáil",
"Provides logging abilities for Nextcloud such as logging file accesses or otherwise sensitive actions." : "Soláthraíonn sé cumais logála do Nextcloud cosúil le logáil isteach rochtain comhaid nó gníomhartha íogaire eile."
"Provides logging abilities for Nextcloud such as logging file accesses or otherwise sensitive actions." : "Soláthraíonn sé cumais logála do Nextcloud, cosúil le rochtain ar chomhaid nó gníomhartha íogaire eile a logáil."
},
"nplurals=5; plural=(n==1 ? 0 : n==2 ? 1 : n<7 ? 2 : n<11 ? 3 : 4);");
+1 -1
View File
@@ -1,5 +1,5 @@
{ "translations": {
"Auditing / Logging" : "Iniúchóireacht / Logáil",
"Provides logging abilities for Nextcloud such as logging file accesses or otherwise sensitive actions." : "Soláthraíonn sé cumais logála do Nextcloud cosúil le logáil isteach rochtain comhaid nó gníomhartha íogaire eile."
"Provides logging abilities for Nextcloud such as logging file accesses or otherwise sensitive actions." : "Soláthraíonn sé cumais logála do Nextcloud, cosúil le rochtain ar chomhaid nó gníomhartha íogaire eile a logáil."
},"pluralForm" :"nplurals=5; plural=(n==1 ? 0 : n==2 ? 1 : n<7 ? 2 : n<11 ? 3 : 4);"
}
+25 -4
View File
@@ -8,6 +8,7 @@ declare(strict_types=1);
namespace OCA\AdminAudit\Actions;
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;
@@ -25,6 +26,8 @@ use Psr\Log\LoggerInterface;
* @package OCA\AdminAudit\Actions
*/
class Files extends Action {
private array $renamedNodes = [];
/**
* Logs file read actions
*
@@ -52,16 +55,33 @@ class Files extends Action {
/**
* Logs rename actions of files
*
* @param NodeRenamedEvent $event
* @param BeforeNodeRenamedEvent $event
*/
public function rename(NodeRenamedEvent $event): void {
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]
);
return;
}
}
/**
* Logs rename actions of files
*
* @param NodeRenamedEvent $event
*/
public function afterRename(NodeRenamedEvent $event): void {
try {
$target = $event->getTarget();
$originalSource = $this->renamedNodes[$target->getId()];
$params = [
'newid' => $target->getId(),
'oldpath' => mb_substr($source->getPath(), 5),
'newpath' => mb_substr($target->getPath(), 5),
'oldpath' => mb_substr($originalSource->getInternalPath(), 5),
'newpath' => mb_substr($target->getInternalPath(), 5),
];
} catch (InvalidPathException|NotFoundException $e) {
\OCP\Server::get(LoggerInterface::class)->error(
@@ -77,6 +97,7 @@ class Files extends Action {
);
}
/**
* Logs creation of files
*
+9 -1
View File
@@ -32,6 +32,7 @@ use OCP\Authentication\TwoFactorAuth\TwoFactorProviderChallengePassed;
use OCP\Console\ConsoleEvent;
use OCP\EventDispatcher\IEventDispatcher;
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;
@@ -179,10 +180,17 @@ class Application extends App implements IBootstrap {
}
);
$eventDispatcher->addListener(
BeforeNodeRenamedEvent::class,
function (BeforeNodeRenamedEvent $event) use ($fileActions) {
$fileActions->beforeRename($event);
}
);
$eventDispatcher->addListener(
NodeRenamedEvent::class,
function (NodeRenamedEvent $event) use ($fileActions) {
$fileActions->rename($event);
$fileActions->afterRename($event);
}
);
+121 -136
View File
@@ -151,107 +151,93 @@
"basic_auth": []
}
],
"parameters": [
{
"name": "shareWith",
"in": "query",
"description": "The user who the share will be shared with",
"required": true,
"schema": {
"type": "string"
}
},
{
"name": "name",
"in": "query",
"description": "The resource name (e.g. document.odt)",
"required": true,
"schema": {
"type": "string"
}
},
{
"name": "description",
"in": "query",
"description": "Share description",
"schema": {
"type": "string",
"nullable": true
}
},
{
"name": "providerId",
"in": "query",
"description": "Resource UID on the provider side",
"required": true,
"schema": {
"type": "string"
}
},
{
"name": "owner",
"in": "query",
"description": "Provider specific UID of the user who owns the resource",
"required": true,
"schema": {
"type": "string"
}
},
{
"name": "ownerDisplayName",
"in": "query",
"description": "Display name of the user who shared the item",
"schema": {
"type": "string",
"nullable": true
}
},
{
"name": "sharedBy",
"in": "query",
"description": "Provider specific UID of the user who shared the resource",
"schema": {
"type": "string",
"nullable": true
}
},
{
"name": "sharedByDisplayName",
"in": "query",
"description": "Display name of the user who shared the resource",
"schema": {
"type": "string",
"nullable": true
}
},
{
"name": "protocol",
"in": "query",
"description": "e,.g. ['name' => 'webdav', 'options' => ['username' => 'john', 'permissions' => 31]]",
"required": true,
"schema": {
"type": "string"
}
},
{
"name": "shareType",
"in": "query",
"description": "'group' or 'user' share",
"required": true,
"schema": {
"type": "string"
}
},
{
"name": "resourceType",
"in": "query",
"description": "'file', 'calendar',...",
"required": true,
"schema": {
"type": "string"
"requestBody": {
"required": true,
"content": {
"application/json": {
"schema": {
"type": "object",
"required": [
"shareWith",
"name",
"providerId",
"owner",
"protocol",
"shareType",
"resourceType"
],
"properties": {
"shareWith": {
"type": "string",
"description": "The user who the share will be shared with"
},
"name": {
"type": "string",
"description": "The resource name (e.g. document.odt)"
},
"description": {
"type": "string",
"nullable": true,
"description": "Share description"
},
"providerId": {
"type": "string",
"description": "Resource UID on the provider side"
},
"owner": {
"type": "string",
"description": "Provider specific UID of the user who owns the resource"
},
"ownerDisplayName": {
"type": "string",
"nullable": true,
"description": "Display name of the user who shared the item"
},
"sharedBy": {
"type": "string",
"nullable": true,
"description": "Provider specific UID of the user who shared the resource"
},
"sharedByDisplayName": {
"type": "string",
"nullable": true,
"description": "Display name of the user who shared the resource"
},
"protocol": {
"type": "object",
"description": "e,.g. ['name' => 'webdav', 'options' => ['username' => 'john', 'permissions' => 31]]",
"required": [
"name",
"options"
],
"properties": {
"name": {
"type": "array",
"items": {
"type": "string"
}
},
"options": {
"type": "object",
"additionalProperties": {
"type": "object"
}
}
}
},
"shareType": {
"type": "string",
"description": "'group' or 'user' share"
},
"resourceType": {
"type": "string",
"description": "'file', 'calendar',..."
}
}
}
}
}
],
},
"responses": {
"201": {
"description": "The notification was successfully received. The display name of the recipient might be returned in the body",
@@ -302,44 +288,43 @@
"basic_auth": []
}
],
"parameters": [
{
"name": "notificationType",
"in": "query",
"description": "Notification type, e.g. SHARE_ACCEPTED",
"required": true,
"schema": {
"type": "string"
}
},
{
"name": "resourceType",
"in": "query",
"description": "calendar, file, contact,...",
"required": true,
"schema": {
"type": "string"
}
},
{
"name": "providerId",
"in": "query",
"description": "ID of the share",
"schema": {
"type": "string",
"nullable": true
}
},
{
"name": "notification",
"in": "query",
"description": "The actual payload of the notification",
"schema": {
"type": "string",
"nullable": true
"requestBody": {
"required": true,
"content": {
"application/json": {
"schema": {
"type": "object",
"required": [
"notificationType",
"resourceType"
],
"properties": {
"notificationType": {
"type": "string",
"description": "Notification type, e.g. SHARE_ACCEPTED"
},
"resourceType": {
"type": "string",
"description": "calendar, file, contact,..."
},
"providerId": {
"type": "string",
"nullable": true,
"description": "ID of the share"
},
"notification": {
"type": "object",
"nullable": true,
"description": "The actual payload of the notification",
"additionalProperties": {
"type": "object"
}
}
}
}
}
}
],
},
"responses": {
"201": {
"description": "The notification was successfully received",
@@ -394,4 +379,4 @@
"description": "Open-Cloud-Mesh-API"
}
]
}
}
+1 -1
View File
@@ -10,7 +10,7 @@
<name>Comments</name>
<summary>Files app plugin to add comments to files</summary>
<description>Files app plugin to add comments to files</description>
<version>1.20.0</version>
<version>1.20.1</version>
<licence>agpl</licence>
<author>Arthur Schiwon</author>
<author>Vincent Petry</author>
@@ -15,8 +15,8 @@ return array(
'OCA\\Comments\\Capabilities' => $baseDir . '/../lib/Capabilities.php',
'OCA\\Comments\\Collaboration\\CommentersSorter' => $baseDir . '/../lib/Collaboration/CommentersSorter.php',
'OCA\\Comments\\Controller\\NotificationsController' => $baseDir . '/../lib/Controller/NotificationsController.php',
'OCA\\Comments\\EventHandler' => $baseDir . '/../lib/EventHandler.php',
'OCA\\Comments\\Listener\\CommentsEntityEventListener' => $baseDir . '/../lib/Listener/CommentsEntityEventListener.php',
'OCA\\Comments\\Listener\\CommentsEventListener' => $baseDir . '/../lib/Listener/CommentsEventListener.php',
'OCA\\Comments\\Listener\\LoadAdditionalScripts' => $baseDir . '/../lib/Listener/LoadAdditionalScripts.php',
'OCA\\Comments\\Listener\\LoadSidebarScripts' => $baseDir . '/../lib/Listener/LoadSidebarScripts.php',
'OCA\\Comments\\MaxAutoCompleteResultsInitialState' => $baseDir . '/../lib/MaxAutoCompleteResultsInitialState.php',
@@ -30,8 +30,8 @@ class ComposerStaticInitComments
'OCA\\Comments\\Capabilities' => __DIR__ . '/..' . '/../lib/Capabilities.php',
'OCA\\Comments\\Collaboration\\CommentersSorter' => __DIR__ . '/..' . '/../lib/Collaboration/CommentersSorter.php',
'OCA\\Comments\\Controller\\NotificationsController' => __DIR__ . '/..' . '/../lib/Controller/NotificationsController.php',
'OCA\\Comments\\EventHandler' => __DIR__ . '/..' . '/../lib/EventHandler.php',
'OCA\\Comments\\Listener\\CommentsEntityEventListener' => __DIR__ . '/..' . '/../lib/Listener/CommentsEntityEventListener.php',
'OCA\\Comments\\Listener\\CommentsEventListener' => __DIR__ . '/..' . '/../lib/Listener/CommentsEventListener.php',
'OCA\\Comments\\Listener\\LoadAdditionalScripts' => __DIR__ . '/..' . '/../lib/Listener/LoadAdditionalScripts.php',
'OCA\\Comments\\Listener\\LoadSidebarScripts' => __DIR__ . '/..' . '/../lib/Listener/LoadSidebarScripts.php',
'OCA\\Comments\\MaxAutoCompleteResultsInitialState' => __DIR__ . '/..' . '/../lib/MaxAutoCompleteResultsInitialState.php',
+1 -1
View File
@@ -1 +1 @@
<svg viewBox="0 0 32 32" height="32" width="32" xmlns="http://www.w3.org/2000/svg" xml:space="preserve" style="fill-rule:evenodd;clip-rule:evenodd;stroke-linejoin:round;stroke-miterlimit:2"><path d="M2 22V4c0-.55.196-1.021.588-1.413A1.925 1.925 0 0 1 4 2h16c.55 0 1.021.196 1.413.587.391.392.587.863.587 1.413v12a1.931 1.931 0 0 1-.587 1.413c-.37.382-.881.594-1.413.587H6l-4 4Zm4-8h8v-2H6v2Zm0-3h12V9H6v2Zm0-3h12V6H6v2Z" style="fill-rule:nonzero" transform="translate(-.8 -.8) scale(1.39999)"/></svg>
<svg xmlns="http://www.w3.org/2000/svg" height="20px" viewBox="0 -960 960 960" width="20px"><path d="M240-384h480v-72H240v72Zm0-132h480v-72H240v72Zm0-132h480v-72H240v72Zm-72 408q-29.7 0-50.85-21.15Q96-282.3 96-312v-480q0-29.7 21.15-50.85Q138.3-864 168-864h624q29.7 0 50.85 21.15Q864-821.7 864-792v696L720-240H168Z"/></svg>

Before

Width:  |  Height:  |  Size: 500 B

After

Width:  |  Height:  |  Size: 322 B

+1 -1
View File
@@ -1 +1 @@
<svg viewBox="0 0 32 32" height="32" width="32" xmlns="http://www.w3.org/2000/svg" xml:space="preserve" style="fill-rule:evenodd;clip-rule:evenodd;stroke-linejoin:round;stroke-miterlimit:2"><path d="M2 22V4c0-.55.196-1.021.588-1.413A1.925 1.925 0 0 1 4 2h16c.55 0 1.021.196 1.413.587.391.392.587.863.587 1.413v12a1.931 1.931 0 0 1-.587 1.413c-.37.382-.881.594-1.413.587H6l-4 4Zm4-8h8v-2H6v2Zm0-3h12V9H6v2Zm0-3h12V6H6v2Z" style="fill:#fff;fill-rule:nonzero" transform="translate(-.8 -.8) scale(1.39999)"/></svg>
<svg xmlns="http://www.w3.org/2000/svg" height="20px" viewBox="0 -960 960 960" width="20px" fill="#fff"><path d="M240-384h480v-72H240v72Zm0-132h480v-72H240v72Zm0-132h480v-72H240v72Zm-72 408q-29.7 0-50.85-21.15Q96-282.3 96-312v-480q0-29.7 21.15-50.85Q138.3-864 168-864h624q29.7 0 50.85 21.15Q864-821.7 864-792v696L720-240H168Z"/></svg>

Before

Width:  |  Height:  |  Size: 510 B

After

Width:  |  Height:  |  Size: 334 B

+1 -1
View File
@@ -32,7 +32,7 @@ OC.L10N.register(
"An error occurred while trying to delete the comment" : "Vyskytla sa chyba pri mazaní komentára",
"An error occurred while trying to create the comment" : "Vyskytla sa chyba pri vytváraní komentára",
"You were mentioned on \"{file}\", in a comment by a user that has since been deleted" : "Boli ste spomenutý v \"{file}\", v komentári používateľom ktorý bol už vymazaný",
"Write a message …" : "Napísať správu …",
"Write a message …" : "Píšte správu …",
"\"@\" for mentions, \":\" for emoji, \"/\" for smart picker" : "\"@\" pre spomienky, \":\" pre emotikony, \"/\" pre inteligentný výber",
"_%n unread comment_::_%n unread comments_" : ["%n neprečítaný komentár","%n neprečítaných komentárov","%n neprečítaných komentárov","%n neprečítaných komentárov"]
},
+1 -1
View File
@@ -30,7 +30,7 @@
"An error occurred while trying to delete the comment" : "Vyskytla sa chyba pri mazaní komentára",
"An error occurred while trying to create the comment" : "Vyskytla sa chyba pri vytváraní komentára",
"You were mentioned on \"{file}\", in a comment by a user that has since been deleted" : "Boli ste spomenutý v \"{file}\", v komentári používateľom ktorý bol už vymazaný",
"Write a message …" : "Napísať správu …",
"Write a message …" : "Píšte správu …",
"\"@\" for mentions, \":\" for emoji, \"/\" for smart picker" : "\"@\" pre spomienky, \":\" pre emotikony, \"/\" pre inteligentný výber",
"_%n unread comment_::_%n unread comments_" : ["%n neprečítaný komentár","%n neprečítaných komentárov","%n neprečítaných komentárov","%n neprečítaných komentárov"]
},"pluralForm" :"nplurals=4; plural=(n % 1 == 0 && n == 1 ? 0 : n % 1 == 0 && n >= 2 && n <= 4 ? 1 : n % 1 != 0 ? 2: 3);"
+4
View File
@@ -9,11 +9,14 @@ OC.L10N.register(
"%1$s commented on %2$s" : "%1$s napiše opombo na %2$s",
"{author} commented on {file}" : "{author} napiše opombo na {file}",
"<strong>Comments</strong> for files" : "Vpisane so <strong>opombe</strong> k datotekam",
"You were mentioned on \"{file}\", in a comment by an account that has since been deleted" : "Uporabnik, ki je sicer že izbrisan, vas omenja v opombi k datoteki »{file}«.",
"{user} mentioned you in a comment on \"{file}\"" : "{user} vas omeni v opombi k datoteki »{file}«",
"Files app plugin to add comments to files" : "Vstavek programa Datoteke za dodajanje opomb k datotekam",
"Edit comment" : "Uredi opombo",
"Delete comment" : "Izbriši opombo",
"Cancel edit" : "Prekliči urejanje",
"New comment" : "Nova opomba",
"Write a comment …" : "Dopišite opombo ...",
"Post comment" : "Objavi opombo",
"@ for mentions, : for emoji, / for smart picker" : "@ za omenjanje osebe, : za izris izraznih ikon, / za pametni izbirnik",
"Could not reload comments" : "Opomb ni mogoče posodobiti",
@@ -29,6 +32,7 @@ OC.L10N.register(
"An error occurred while trying to delete the comment" : "Prišlo je do napake med brisanjem opombe",
"An error occurred while trying to create the comment" : "Prišlo je do napake med ustvarjanjem opombe",
"You were mentioned on \"{file}\", in a comment by a user that has since been deleted" : "Uporabnik, ki je sicer že izbrisan, vas omeni v opombi k datoteki »{file}«.",
"Write a message …" : "Zapišite sporočilo ...",
"\"@\" for mentions, \":\" for emoji, \"/\" for smart picker" : "» @ « za omenjanje, » : « za izrazne ikone, » / « za pametni izbirnik",
"_%n unread comment_::_%n unread comments_" : ["%n neprebrana opomba","%n neprebrani opombi","%n neprebrane opombe","%n neprebranih opomb"]
},
+4
View File
@@ -7,11 +7,14 @@
"%1$s commented on %2$s" : "%1$s napiše opombo na %2$s",
"{author} commented on {file}" : "{author} napiše opombo na {file}",
"<strong>Comments</strong> for files" : "Vpisane so <strong>opombe</strong> k datotekam",
"You were mentioned on \"{file}\", in a comment by an account that has since been deleted" : "Uporabnik, ki je sicer že izbrisan, vas omenja v opombi k datoteki »{file}«.",
"{user} mentioned you in a comment on \"{file}\"" : "{user} vas omeni v opombi k datoteki »{file}«",
"Files app plugin to add comments to files" : "Vstavek programa Datoteke za dodajanje opomb k datotekam",
"Edit comment" : "Uredi opombo",
"Delete comment" : "Izbriši opombo",
"Cancel edit" : "Prekliči urejanje",
"New comment" : "Nova opomba",
"Write a comment …" : "Dopišite opombo ...",
"Post comment" : "Objavi opombo",
"@ for mentions, : for emoji, / for smart picker" : "@ za omenjanje osebe, : za izris izraznih ikon, / za pametni izbirnik",
"Could not reload comments" : "Opomb ni mogoče posodobiti",
@@ -27,6 +30,7 @@
"An error occurred while trying to delete the comment" : "Prišlo je do napake med brisanjem opombe",
"An error occurred while trying to create the comment" : "Prišlo je do napake med ustvarjanjem opombe",
"You were mentioned on \"{file}\", in a comment by a user that has since been deleted" : "Uporabnik, ki je sicer že izbrisan, vas omeni v opombi k datoteki »{file}«.",
"Write a message …" : "Zapišite sporočilo ...",
"\"@\" for mentions, \":\" for emoji, \"/\" for smart picker" : "» @ « za omenjanje, » : « za izrazne ikone, » / « za pametni izbirnik",
"_%n unread comment_::_%n unread comments_" : ["%n neprebrana opomba","%n neprebrani opombi","%n neprebrane opombe","%n neprebranih opomb"]
},"pluralForm" :"nplurals=4; plural=(n%100==1 ? 0 : n%100==2 ? 1 : n%100==3 || n%100==4 ? 2 : 3);"
+7 -12
View File
@@ -5,10 +5,9 @@
*/
namespace OCA\Comments\AppInfo;
use Closure;
use OCA\Comments\Capabilities;
use OCA\Comments\EventHandler;
use OCA\Comments\Listener\CommentsEntityEventListener;
use OCA\Comments\Listener\CommentsEventListener;
use OCA\Comments\Listener\LoadAdditionalScripts;
use OCA\Comments\Listener\LoadSidebarScripts;
use OCA\Comments\MaxAutoCompleteResultsInitialState;
@@ -22,9 +21,8 @@ use OCP\AppFramework\Bootstrap\IBootContext;
use OCP\AppFramework\Bootstrap\IBootstrap;
use OCP\AppFramework\Bootstrap\IRegistrationContext;
use OCP\Comments\CommentsEntityEvent;
use OCP\Comments\ICommentsManager;
use OCP\Comments\CommentsEvent;
use OCP\ISearch;
use OCP\IServerContainer;
class Application extends App implements IBootstrap {
public const APP_ID = 'comments';
@@ -48,6 +46,11 @@ class Application extends App implements IBootstrap {
CommentsEntityEvent::class,
CommentsEntityEventListener::class
);
$context->registerEventListener(
CommentsEvent::class,
CommentsEventListener::class,
);
$context->registerSearchProvider(CommentsSearchProvider::class);
$context->registerInitialStateProvider(MaxAutoCompleteResultsInitialState::class);
@@ -56,14 +59,6 @@ class Application extends App implements IBootstrap {
}
public function boot(IBootContext $context): void {
$context->injectFn(Closure::fromCallable([$this, 'registerCommentsEventHandler']));
$context->getServerContainer()->get(ISearch::class)->registerProvider(LegacyProvider::class, ['apps' => ['files']]);
}
protected function registerCommentsEventHandler(IServerContainer $container): void {
$container->get(ICommentsManager::class)->registerEventHandler(function (): EventHandler {
return $this->getContainer()->get(EventHandler::class);
});
}
}
@@ -7,7 +7,9 @@ namespace OCA\Comments\Controller;
use OCP\AppFramework\Controller;
use OCP\AppFramework\Http;
use OCP\AppFramework\Http\Attribute\NoCSRFRequired;
use OCP\AppFramework\Http\Attribute\OpenAPI;
use OCP\AppFramework\Http\Attribute\PublicPage;
use OCP\AppFramework\Http\NotFoundResponse;
use OCP\AppFramework\Http\RedirectResponse;
use OCP\Comments\IComment;
@@ -37,9 +39,6 @@ class NotificationsController extends Controller {
}
/**
* @PublicPage
* @NoCSRFRequired
*
* View a notification
*
* @param string $id ID of the notification
@@ -49,6 +48,8 @@ class NotificationsController extends Controller {
* 303: Redirected to notification
* 404: Notification not found
*/
#[PublicPage]
#[NoCSRFRequired]
public function view(string $id): RedirectResponse|NotFoundResponse {
$currentUser = $this->userSession->getUser();
if (!$currentUser instanceof IUser) {
@@ -1,28 +1,34 @@
<?php
declare(strict_types=1);
/**
* SPDX-FileCopyrightText: 2016 Nextcloud GmbH and Nextcloud contributors
* SPDX-License-Identifier: AGPL-3.0-or-later
*/
namespace OCA\Comments;
namespace OCA\Comments\Listener;
use OCA\Comments\Activity\Listener as ActivityListener;
use OCA\Comments\Notification\Listener as NotificationListener;
use OCP\Comments\CommentsEvent;
use OCP\Comments\ICommentsEventHandler;
use OCP\EventDispatcher\Event;
use OCP\EventDispatcher\IEventListener;
/**
* Class EventHandler
*
* @package OCA\Comments
*/
class EventHandler implements ICommentsEventHandler {
/** @template-implements IEventListener<CommentsEvent|Event> */
class CommentsEventListener implements IEventListener {
public function __construct(
private ActivityListener $activityListener,
private NotificationListener $notificationListener,
) {
}
public function handle(CommentsEvent $event): void {
public function handle(Event $event): void {
if (!$event instanceof CommentsEvent) {
return;
}
if ($event->getComment()->getObjectType() !== 'files') {
// this is a 'files'-specific Handler
return;
+6 -5
View File
@@ -17,6 +17,7 @@ use OCP\L10N\IFactory;
use OCP\Notification\AlreadyProcessedException;
use OCP\Notification\INotification;
use OCP\Notification\INotifier;
use OCP\Notification\UnknownNotificationException;
class Notifier implements INotifier {
public function __construct(
@@ -52,19 +53,19 @@ class Notifier implements INotifier {
* @param INotification $notification
* @param string $languageCode The code of the language that should be used to prepare the notification
* @return INotification
* @throws \InvalidArgumentException When the notification was not prepared by a notifier
* @throws UnknownNotificationException When the notification was not prepared by a notifier
* @throws AlreadyProcessedException When the notification is not needed anymore and should be deleted
* @since 9.0.0
*/
public function prepare(INotification $notification, string $languageCode): INotification {
if ($notification->getApp() !== 'comments') {
throw new \InvalidArgumentException();
throw new UnknownNotificationException();
}
try {
$comment = $this->commentsManager->get($notification->getObjectId());
} catch (NotFoundException $e) {
// needs to be converted to InvalidArgumentException, otherwise none Notifications will be shown at all
throw new \InvalidArgumentException('Comment not found', 0, $e);
throw new UnknownNotificationException('Comment not found', 0, $e);
}
$l = $this->l10nFactory->get('comments', $languageCode);
$displayName = $comment->getActorId();
@@ -80,7 +81,7 @@ class Notifier implements INotifier {
case 'mention':
$parameters = $notification->getSubjectParameters();
if ($parameters[0] !== 'files') {
throw new \InvalidArgumentException('Unsupported comment object');
throw new UnknownNotificationException('Unsupported comment object');
}
$userFolder = $this->rootFolder->getUserFolder($notification->getUser());
$nodes = $userFolder->getById((int)$parameters[1]);
@@ -128,7 +129,7 @@ class Notifier implements INotifier {
break;
default:
throw new \InvalidArgumentException('Invalid subject');
throw new UnknownNotificationException('Invalid subject');
}
}
+1 -1
View File
@@ -43,4 +43,4 @@
},
"paths": {},
"tags": []
}
}
+20 -8
View File
@@ -3,10 +3,14 @@
* SPDX-License-Identifier: AGPL-3.0-or-later
*/
import moment from '@nextcloud/moment'
import Vue from 'vue'
import Vue, { type ComponentPublicInstance } from 'vue'
import logger from './logger.js'
import { getComments } from './services/GetComments.js'
import { PiniaVuePlugin, createPinia } from 'pinia'
Vue.use(PiniaVuePlugin)
let ActivityTabPluginView
let ActivityTabPluginInstance
@@ -16,18 +20,22 @@ let ActivityTabPluginInstance
export function registerCommentsPlugins() {
window.OCA.Activity.registerSidebarAction({
mount: async (el, { context, fileInfo, reload }) => {
const pinia = createPinia()
if (!ActivityTabPluginView) {
const { default: ActivityCommmentAction } = await import('./views/ActivityCommentAction.vue')
ActivityTabPluginView = Vue.extend(ActivityCommmentAction)
const { default: ActivityCommentAction } = await import('./views/ActivityCommentAction.vue')
/** @ts-expect-error Types are broken for Vue2 */
ActivityTabPluginView = Vue.extend(ActivityCommentAction)
}
ActivityTabPluginInstance = new ActivityTabPluginView({
el,
parent: context,
pinia,
propsData: {
reloadCallback: reload,
resourceId: fileInfo.id,
},
})
ActivityTabPluginInstance.$mount(el)
logger.info('Comments plugin mounted in Activity sidebar action', { fileInfo })
},
unmount: () => {
@@ -42,12 +50,17 @@ export function registerCommentsPlugins() {
const { data: comments } = await getComments({ resourceType: 'files', resourceId: fileInfo.id }, { limit, offset })
logger.debug('Loaded comments', { fileInfo, comments })
const { default: CommentView } = await import('./views/ActivityCommentEntry.vue')
/** @ts-expect-error Types are broken for Vue2 */
const CommentsViewObject = Vue.extend(CommentView)
return comments.map((comment) => ({
timestamp: moment(comment.props.creationDateTime).toDate().getTime(),
mount(element, { context, reload }) {
_CommentsViewInstance: undefined as ComponentPublicInstance | undefined,
timestamp: moment(comment.props?.creationDateTime).toDate().getTime(),
mount(element: HTMLElement, { context, reload }) {
this._CommentsViewInstance = new CommentsViewObject({
el: element,
parent: context,
propsData: {
comment,
@@ -55,10 +68,9 @@ export function registerCommentsPlugins() {
reloadCallback: reload,
},
})
this._CommentsViewInstance.$mount(element)
},
unmount() {
this._CommentsViewInstance.$destroy()
this._CommentsViewInstance?.$destroy()
},
}))
})
+9 -2
View File
@@ -4,7 +4,7 @@
-->
<template>
<component :is="tag"
v-show="!deleted"
v-show="!deleted && !isLimbo"
:class="{'comment--loading': loading}"
class="comment">
<!-- Comment header toolbar -->
@@ -121,6 +121,8 @@ import IconDelete from 'vue-material-design-icons/Delete.vue'
import IconEdit from 'vue-material-design-icons/Pencil.vue'
import CommentMixin from '../mixins/CommentMixin.js'
import { mapStores } from 'pinia'
import { useDeletedCommentLimbo } from '../store/deletedCommentLimbo.js'
// Dynamic loading
const NcRichContenteditable = () => import('@nextcloud/vue/dist/Components/NcRichContenteditable.js')
@@ -193,6 +195,7 @@ export default {
},
computed: {
...mapStores(useDeletedCommentLimbo),
/**
* Is the current user the author of this comment
@@ -225,6 +228,10 @@ export default {
timestamp() {
return Date.parse(this.creationDateTime)
},
isLimbo() {
return this.deletedCommentLimboStore.checkForId(this.id)
},
},
watch: {
@@ -338,7 +345,7 @@ $comment-padding: 10px;
&__submit {
position: absolute !important;
bottom: 0;
bottom: 5px;
right: 0;
}
+10
View File
@@ -7,6 +7,8 @@ import { showError, showUndo, TOAST_UNDO_TIMEOUT } from '@nextcloud/dialogs'
import NewComment from '../services/NewComment.js'
import DeleteComment from '../services/DeleteComment.js'
import EditComment from '../services/EditComment.js'
import { mapStores } from 'pinia'
import { useDeletedCommentLimbo } from '../store/deletedCommentLimbo.js'
import logger from '../logger.js'
export default {
@@ -37,6 +39,10 @@ export default {
}
},
computed: {
...mapStores(useDeletedCommentLimbo),
},
methods: {
// EDITION
onEdit() {
@@ -64,11 +70,14 @@ export default {
// DELETION
onDeleteWithUndo() {
this.$emit('delete')
this.deleted = true
this.deletedCommentLimboStore.addId(this.id)
const timeOutDelete = setTimeout(this.onDelete, TOAST_UNDO_TIMEOUT)
showUndo(t('comments', 'Comment deleted'), () => {
clearTimeout(timeOutDelete)
this.deleted = false
this.deletedCommentLimboStore.removeId(this.id)
})
},
async onDelete() {
@@ -80,6 +89,7 @@ export default {
showError(t('comments', 'An error occurred while trying to delete the comment'))
console.error(error)
this.deleted = false
this.deletedCommentLimboStore.removeId(this.id)
}
},
@@ -6,9 +6,11 @@
import { translate as t, translatePlural as n } from '@nextcloud/l10n'
import { getRequestToken } from '@nextcloud/auth'
import Vue from 'vue'
import { PiniaVuePlugin, createPinia } from 'pinia'
import CommentsApp from '../views/Comments.vue'
import logger from '../logger.js'
Vue.use(PiniaVuePlugin)
// eslint-disable-next-line camelcase
__webpack_nonce__ = btoa(getRequestToken())
@@ -34,6 +36,8 @@ export default class CommentInstance {
* @param {object} options the vue options (propsData, parent, el...)
*/
constructor(resourceType = 'files', options = {}) {
const pinia = createPinia()
// Merge options and set `resourceType` property
options = {
...options,
@@ -41,6 +45,7 @@ export default class CommentInstance {
...(options.propsData ?? {}),
resourceType,
},
pinia,
}
// Init Comments component
const View = Vue.extend(CommentsApp)
+6 -6
View File
@@ -12,12 +12,12 @@ const client = createClient(getRootPath())
// set CSRF token header
const setHeaders = (token) => {
client.setHeaders({
// Add this so the server knows it is an request from the browser
'X-Requested-With': 'XMLHttpRequest',
// Inject user auth
requesttoken: token ?? '',
})
client.setHeaders({
// Add this so the server knows it is an request from the browser
'X-Requested-With': 'XMLHttpRequest',
// Inject user auth
requesttoken: token ?? '',
})
}
// refresh headers when request token changes
+1 -1
View File
@@ -60,7 +60,7 @@ const getDirectoryFiles = function(
// Map all items to a consistent output structure (results)
return responseItems.map(item => {
// Each item should contain a stat object
const props = item.propstat!.prop!;
const props = item.propstat!.prop!
return prepareFileFromProps(props, props.id!.toString(), isDetailed)
})
@@ -0,0 +1,28 @@
/**
* SPDX-FileCopyrightText: 2024 Nextcloud GmbH and Nextcloud contributors
* SPDX-License-Identifier: AGPL-3.0-or-later
*/
import { defineStore } from 'pinia'
export const useDeletedCommentLimbo = defineStore('deletedCommentLimbo', {
state: () => ({
idsInLimbo: [],
}),
actions: {
addId(id) {
this.idsInLimbo.push(id)
},
removeId(id) {
const index = this.idsInLimbo.indexOf(id)
if (index > -1) {
this.idsInLimbo.splice(index, 1)
}
},
checkForId(id) {
this.idsInLimbo.includes(id)
},
},
})
+1 -1
View File
@@ -22,7 +22,7 @@ const cancelableRequest = function(request) {
const fetch = async function(url, options) {
const response = await request(
url,
Object.assign({ signal }, options)
Object.assign({ signal }, options),
)
return response
}
@@ -6,14 +6,14 @@
namespace OCA\Comments\Tests\Unit\Notification;
use OCA\Comments\Activity\Listener as ActivityListener;
use OCA\Comments\EventHandler;
use OCA\Comments\Listener\CommentsEventListener;
use OCA\Comments\Notification\Listener as NotificationListener;
use OCP\Comments\CommentsEvent;
use OCP\Comments\IComment;
use Test\TestCase;
class EventHandlerTest extends TestCase {
/** @var EventHandler */
/** @var CommentsEventListener */
protected $eventHandler;
/** @var ActivityListener|\PHPUnit\Framework\MockObject\MockObject */
@@ -33,7 +33,7 @@ class EventHandlerTest extends TestCase {
->disableOriginalConstructor()
->getMock();
$this->eventHandler = new EventHandler($this->activityListener, $this->notificationListener);
$this->eventHandler = new CommentsEventListener($this->activityListener, $this->notificationListener);
}
public function testNotFiles() {
@@ -16,7 +16,9 @@ use OCP\IL10N;
use OCP\IURLGenerator;
use OCP\IUserManager;
use OCP\L10N\IFactory;
use OCP\Notification\AlreadyProcessedException;
use OCP\Notification\INotification;
use OCP\Notification\UnknownNotificationException;
use PHPUnit\Framework\MockObject\MockObject;
use Test\TestCase;
@@ -304,7 +306,7 @@ class NotifierTest extends TestCase {
public function testPrepareDifferentApp() {
$this->expectException(\InvalidArgumentException::class);
$this->expectException(UnknownNotificationException::class);
$this->folder
->expects($this->never())
@@ -341,7 +343,7 @@ class NotifierTest extends TestCase {
public function testPrepareNotFound() {
$this->expectException(\InvalidArgumentException::class);
$this->expectException(UnknownNotificationException::class);
$this->folder
->expects($this->never())
@@ -379,7 +381,7 @@ class NotifierTest extends TestCase {
public function testPrepareDifferentSubject() {
$this->expectException(\InvalidArgumentException::class);
$this->expectException(UnknownNotificationException::class);
$displayName = 'Huraga';
@@ -436,7 +438,7 @@ class NotifierTest extends TestCase {
public function testPrepareNotFiles() {
$this->expectException(\InvalidArgumentException::class);
$this->expectException(UnknownNotificationException::class);
$displayName = 'Huraga';
@@ -494,7 +496,7 @@ class NotifierTest extends TestCase {
public function testPrepareUnresolvableFileID() {
$this->expectException(\OCP\Notification\AlreadyProcessedException::class);
$this->expectException(AlreadyProcessedException::class);
$displayName = 'Huraga';
+2
View File
@@ -3,6 +3,8 @@ OC.L10N.register(
{
"Recently contacted" : "Legutóbbi kapcsolatfelvételek",
"Contacts Interaction" : "Kapcsolatfelvételek",
"Manages interaction between accounts and contacts" : "A fiókok és a kapcsolataik közötti interakciót kezeli",
"Collect data about accounts and contacts interactions and provide an address book for the data" : "Adatokat gyűjt a fiókok és kapcsolataik közötti interakciókról, és címjegyzéket biztosít az adatokhoz",
"Manages interaction between users and contacts" : "A felhasználók és a kapcsolataik közötti interakciót kezeli",
"Collect data about user and contacts interactions and provide an address book for the data" : "Adatokat gyűjt a felhasználók és kapcsolataik közötti interakciókról, és címjegyzéket biztosít az adatokhoz"
},
+2
View File
@@ -1,6 +1,8 @@
{ "translations": {
"Recently contacted" : "Legutóbbi kapcsolatfelvételek",
"Contacts Interaction" : "Kapcsolatfelvételek",
"Manages interaction between accounts and contacts" : "A fiókok és a kapcsolataik közötti interakciót kezeli",
"Collect data about accounts and contacts interactions and provide an address book for the data" : "Adatokat gyűjt a fiókok és kapcsolataik közötti interakciókról, és címjegyzéket biztosít az adatokhoz",
"Manages interaction between users and contacts" : "A felhasználók és a kapcsolataik közötti interakciót kezeli",
"Collect data about user and contacts interactions and provide an address book for the data" : "Adatokat gyűjt a felhasználók és kapcsolataik közötti interakciókról, és címjegyzéket biztosít az adatokhoz"
},"pluralForm" :"nplurals=2; plural=(n != 1);"
+2
View File
@@ -3,6 +3,8 @@ OC.L10N.register(
{
"Recently contacted" : "Nedavno v stiku",
"Contacts Interaction" : "Povezave stikov",
"Manages interaction between accounts and contacts" : "Upravlja povezave med uporabniki in stiki",
"Collect data about accounts and contacts interactions and provide an address book for the data" : "Zbiranje podatkov o povezavah med uporabniki in stiki ter pripravljanje imenika zbranih podatkov povezav.",
"Manages interaction between users and contacts" : "Upravlja povezave med uporabniki in stiki",
"Collect data about user and contacts interactions and provide an address book for the data" : "Zbiranje podatkov o povezavah med uporabniki in stiki ter pripravljanje imenika zbranih podatkov povezav."
},
+2
View File
@@ -1,6 +1,8 @@
{ "translations": {
"Recently contacted" : "Nedavno v stiku",
"Contacts Interaction" : "Povezave stikov",
"Manages interaction between accounts and contacts" : "Upravlja povezave med uporabniki in stiki",
"Collect data about accounts and contacts interactions and provide an address book for the data" : "Zbiranje podatkov o povezavah med uporabniki in stiki ter pripravljanje imenika zbranih podatkov povezav.",
"Manages interaction between users and contacts" : "Upravlja povezave med uporabniki in stiki",
"Collect data about user and contacts interactions and provide an address book for the data" : "Zbiranje podatkov o povezavah med uporabniki in stiki ter pripravljanje imenika zbranih podatkov povezav."
},"pluralForm" :"nplurals=4; plural=(n%100==1 ? 0 : n%100==2 ? 1 : n%100==3 || n%100==4 ? 2 : 3);"
@@ -29,24 +29,24 @@ class CardSearchDao {
$cardQuery = $this->db->getQueryBuilder();
$propQuery = $this->db->getQueryBuilder();
$propOr = $propQuery->expr()->orX();
$additionalWheres = [];
if ($uid !== null) {
$propOr->add($propQuery->expr()->andX(
$additionalWheres[] = $propQuery->expr()->andX(
$propQuery->expr()->eq('name', $cardQuery->createNamedParameter('UID')),
$propQuery->expr()->eq('value', $cardQuery->createNamedParameter($uid))
));
);
}
if ($email !== null) {
$propOr->add($propQuery->expr()->andX(
$additionalWheres[] = $propQuery->expr()->andX(
$propQuery->expr()->eq('name', $cardQuery->createNamedParameter('EMAIL')),
$propQuery->expr()->eq('value', $cardQuery->createNamedParameter($email))
));
);
}
if ($cloudId !== null) {
$propOr->add($propQuery->expr()->andX(
$additionalWheres[] = $propQuery->expr()->andX(
$propQuery->expr()->eq('name', $cardQuery->createNamedParameter('CLOUD')),
$propQuery->expr()->eq('value', $cardQuery->createNamedParameter($cloudId))
));
);
}
$addressbooksQuery->selectDistinct('id')
->from('addressbooks')
@@ -54,8 +54,12 @@ class CardSearchDao {
$propQuery->selectDistinct('cardid')
->from('cards_properties')
->where($propQuery->expr()->in('addressbookid', $propQuery->createFunction($addressbooksQuery->getSQL()), IQueryBuilder::PARAM_INT_ARRAY))
->andWhere($propOr)
->groupBy('cardid');
if (!empty($additionalWheres)) {
$propQuery->andWhere($propQuery->expr()->orX(...$additionalWheres));
}
$cardQuery->select('carddata')
->from('cards')
->where($cardQuery->expr()->in('id', $cardQuery->createFunction($propQuery->getSQL()), IQueryBuilder::PARAM_INT_ARRAY))
@@ -61,23 +61,25 @@ class RecentContactMapper extends QBMapper {
?string $cloudId): array {
$qb = $this->db->getQueryBuilder();
$or = $qb->expr()->orX();
$additionalWheres = [];
if ($uid !== null) {
$or->add($qb->expr()->eq('uid', $qb->createNamedParameter($uid)));
$additionalWheres[] = $qb->expr()->eq('uid', $qb->createNamedParameter($uid));
}
if ($email !== null) {
$or->add($qb->expr()->eq('email', $qb->createNamedParameter($email)));
$additionalWheres[] = $qb->expr()->eq('email', $qb->createNamedParameter($email));
}
if ($cloudId !== null) {
$or->add($qb->expr()->eq('federated_cloud_id', $qb->createNamedParameter($cloudId)));
$additionalWheres[] = $qb->expr()->eq('federated_cloud_id', $qb->createNamedParameter($cloudId));
}
$select = $qb
->select('*')
->from($this->getTableName())
->where($or)
->andWhere($qb->expr()->eq('actor_uid', $qb->createNamedParameter($user->getUID())));
->where($qb->expr()->eq('actor_uid', $qb->createNamedParameter($user->getUID())));
if (!empty($additionalWheres)) {
$select->andWhere($select->expr()->orX(...$additionalWheres));
}
return $this->findEntities($select);
}
@@ -0,0 +1,3 @@
SPDX-FileCopyrightText: 2020 Nextcloud GmbH and Nextcloud contributors
SPDX-License-Identifier: AGPL-3.0-or-later
+1 -1
View File
@@ -1 +1 @@
<svg width="16" height="16" version="1.1" viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg"><path d="m7.9062 1a7 7 0 0 0-6.9062 7 7 7 0 0 0 7 7 7 7 0 0 0 7-7 7 7 0 0 0-7-7 7 7 0 0 0-0.09375 0zm0.09375 2.6992a4.3 4.3 0 0 1 4.3008 4.3008 4.3 4.3 0 0 1-4.3008 4.3008 4.3 4.3 0 0 1-4.3008-4.3008 4.3 4.3 0 0 1 4.3008-4.3008z" fill="#fff" stroke-dashoffset="10" stroke-linecap="round" stroke-linejoin="round" stroke-width=".5" style="paint-order:markers stroke fill"/></svg>
<svg xmlns="http://www.w3.org/2000/svg" height="20px" viewBox="0 -960 960 960" width="20px" fill="#fff"><path d="M528-624v-192h288v192H528ZM144-432v-384h288v384H144Zm384 288v-384h288v384H528Zm-384 0v-192h288v192H144Z"/></svg>

Before

Width:  |  Height:  |  Size: 475 B

After

Width:  |  Height:  |  Size: 225 B

+4
View File
@@ -0,0 +1,4 @@
SPDX-FileCopyrightText: 2018-2024 Google LLC
SPDX-License-Identifier: Apache-2.0
Source: Material Symbols icon "dashboard"

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