Compare commits

..

1302 Commits

Author SHA1 Message Date
Thomas Citharel d46271b65f feat(contactsinteraction): allow users to disable contacts interaction addressbook
This allows simple users to opt-out of the contacts interaction
addressbook even if admins have the app installed.

Similar to how the birthday calendar works, the functionnality can be
toggled in the user's settings or by doing a DELETE on the addressbook.

A new contacts personal section has been added to contain this new
setting.

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2024-08-27 10:54:18 +02:00
Joas Schilling ead3f66379 Merge pull request #47510 from nextcloud/fix/db/slow-transactions-higher-log-level
fix(db): Increase log level for very slow transactions
2024-08-27 10:30:52 +02:00
Christoph Wurst bdcfe5b8a9 fix(db): Increase log level for very slow transactions
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2024-08-27 10:12:14 +02:00
Joas Schilling b8ab7b7e55 Merge pull request #47448 from nextcloud/fix/47187/user-status-absence
fix(user_status): add link to Availability page if user set predefined 'Vacationing'
2024-08-27 07:37:52 +02:00
Nextcloud bot f35e33f2d8 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-08-27 00:20:54 +00:00
Ferdinand Thiessen 21b997f845 Merge pull request #47490 from nextcloud/chore/adjust-translations
chore(files): Adjust wording for file type filter
2024-08-26 21:40:27 +02:00
Ferdinand Thiessen 2665151105 Merge pull request #47465 from nextcloud/fix/files-drop-notice
fix(files): Reset drop notice on firefox
2024-08-26 21:00:05 +02:00
nextcloud-command 290610b630 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-08-26 20:44:06 +02:00
Ferdinand Thiessen 3ffdf56c8f chore(files): Adjust wording for file type filter
* Resolves: https://github.com/nextcloud/server/issues/47440

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

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

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-08-26 20:31:31 +02:00
Ferdinand Thiessen 4fcf4dba02 Merge pull request #47466 from nextcloud/chore/migrate-vitest
test: Migrate from Jest to vitest
2024-08-26 20:30:26 +02:00
Ferdinand Thiessen 6d31abdfd5 Merge pull request #47467 from nextcloud/fix/virtual-files-list
fix(files): Adjust margin at the file list bottom
2024-08-26 17:44:06 +02:00
Ferdinand Thiessen 30d090fb78 chore: Update source maps due to dependency changes
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-08-26 17:29:42 +02:00
Ferdinand Thiessen e0b81410f4 chore: Add vitest.config.ts as expected and remove Jest config
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-08-26 17:27:22 +02:00
Ferdinand Thiessen a5e58dc45e test: Migrated all Jest tests to vitest
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-08-26 17:27:22 +02:00
Ferdinand Thiessen c0b39bb909 chore: Move from Jest to vitest
There are some benefits, like faster tests and thus saving CI time, but the main reason for me is:

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

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

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

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

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

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

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

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-08-24 10:01:53 +00:00
dependabot[bot] 3656a24e21 Merge pull request #47463 from nextcloud/dependabot/npm_and_yarn/vueuse/core-11.0.1 2024-08-24 09:46:42 +00:00
dependabot[bot] 31319be951 chore(deps): bump @vueuse/core from 11.0.0 to 11.0.1
Bumps [@vueuse/core](https://github.com/vueuse/vueuse/tree/HEAD/packages/core) from 11.0.0 to 11.0.1.
- [Release notes](https://github.com/vueuse/vueuse/releases)
- [Commits](https://github.com/vueuse/vueuse/commits/v11.0.1/packages/core)

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

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

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

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

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

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

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

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

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

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

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

Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
2024-08-19 13:49:34 +01:00
Côme Chilliet ba9638eae5 Merge pull request #47291 from nextcloud/refactor/log-php-8-1
refactor(Log): Use new in initializer instead of constructor body
2024-08-19 14:12:11 +02:00
Robin Appelman 40c91aa31e Merge pull request #47182 from nextcloud/orphan-cleanup-chunk-perf
perf: improve cleanup of tags/comments
2024-08-19 13:40:01 +02:00
Nextcloud bot 551ff4955e Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-08-19 00:20:19 +00:00
John Molakvoæ 6fce6fa1d6 Merge pull request #47310 from nextcloud/automated/noid/master-fix-npm-audit 2024-08-18 13:52:36 +02:00
nextcloud-command 652c1f7b65 fix(deps): Fix npm audit
Signed-off-by: GitHub <noreply@github.com>
2024-08-18 11:33:08 +00:00
Ferdinand Thiessen 6286d3236c Merge pull request #47301 from nextcloud/dependabot/npm_and_yarn/vueuse/components-11.0.0
chore(deps): bump @vueuse/components from 10.11.0 to 11.0.0
2024-08-18 12:38:00 +02:00
dependabot[bot] 2c47285d6d chore(deps): bump @vueuse/components from 10.11.0 to 11.0.0
Bumps [@vueuse/components](https://github.com/vueuse/vueuse/tree/HEAD/packages/components) from 10.11.0 to 11.0.0.
- [Release notes](https://github.com/vueuse/vueuse/releases)
- [Commits](https://github.com/vueuse/vueuse/commits/v11.0.0/packages/components)

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Inspired by #17163

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

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

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

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

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

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

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

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

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

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-08-14 09:33:21 +00:00
John Molakvoæ effbc44756 Merge pull request #47212 from nextcloud/chore/master-is-now-31 2024-08-14 11:29:57 +02:00
Kate 458524e2e3 Merge pull request #46809 from nextcloud/refactor/files_external/security-attributes 2024-08-14 10:48:49 +02:00
John Molakvoæ 2c7f5dce7a Merge pull request #47211 from nextcloud/fix/core/limit-valid-avatar-sizes 2024-08-14 10:35:00 +02:00
Christoph Wurst 4585c71a5e Merge pull request #47201 from nextcloud/fix/also-run-user-status-automation-for-start-and-end
fix(userstatus): run user status automation job for start and end events
2024-08-14 10:34:42 +02:00
John Molakvoæ 1fa9d3987b Merge pull request #46887 from nextcloud/fix/versions-catch-insertion-error 2024-08-14 10:32:45 +02:00
Joas Schilling 9d446d566b fix(3rdparty): Update 3rdparty after dependabot changes
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-08-14 10:28:31 +02:00
John Molakvoæ dbc2e9cdba Merge pull request #46966 from nextcloud/fix/cache-uploader-get-content-function 2024-08-14 10:18:38 +02:00
Joas Schilling 71bfa5b574 chore(assets): Recompile assets
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-08-14 10:07:48 +02:00
Joas Schilling eb365438d6 feat(branchoff): Bump versions and requirements in apps
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-08-14 10:03:30 +02:00
Joas Schilling 7b53a85bb6 feat(release)!: Bump Server version to 31
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-08-14 09:58:57 +02:00
Joas Schilling 04944aaa23 fix(security): Update expiration date in security.txt
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-08-14 09:58:02 +02:00
Joas Schilling 31b74bc671 fix(CI)!: Add stable30 to and remove stable27 from GitHub Actions
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-08-14 09:56:47 +02:00
skjnldsv c60e59c5d3 chore: compile assets
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2024-08-14 09:49:12 +02:00
Ferdinand Thiessen ee4fb148b3 perf(files): Cache getContents function used for uploader
Instead of trigger a PROPFIND for every new-menu entry clicks,
or conflict handling of uploads, we can just use the cached content from the file store.
If we do not have any cache entry we fetch new, but otherwise this is not needed.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-08-14 09:47:56 +02:00
Kate 1044b7f0b9 Merge pull request #46813 from nextcloud/refactor/files_versions/security-attributes 2024-08-14 09:46:46 +02:00
Kate 8c08ac0def Merge pull request #46812 from nextcloud/refactor/files_trashbin/security-attributes 2024-08-14 09:46:28 +02:00
provokateurin c102b89cd5 refactor(files_external): Replace security annotations with respective attributes
Signed-off-by: provokateurin <kate@provokateurin.de>
2024-08-14 09:44:57 +02:00
Anna Larch 0634aa710c fix(userstatus): run user status automation job for start and end events
Signed-off-by: Anna Larch <anna@nextcloud.com>
Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
2024-08-14 09:44:26 +02:00
John Molakvoæ 4920f90495 Merge pull request #47016 from nextcloud/refactor/cleanup-files-view 2024-08-14 09:43:27 +02:00
Kate 1f1cb6da48 Merge pull request #46806 from nextcloud/refactor/federation/security-attributes 2024-08-14 09:40:41 +02:00
Kate ca9752482c Merge pull request #46814 from nextcloud/refactor/oauth2/security-attributes 2024-08-14 09:38:28 +02:00
Kate 4673e1a391 Merge pull request #46816 from nextcloud/refactor/settings/security-attributes 2024-08-14 09:38:08 +02:00
Kate 8cb4679e5e Merge pull request #46821 from nextcloud/refactor/updatenotification/security-attributes 2024-08-14 09:37:56 +02:00
John Molakvoæ 73c88919ff Merge pull request #47207 from nextcloud/fix/sticky-nav-item 2024-08-14 09:34:13 +02:00
nextcloud-command 46bb8ef04d chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-08-14 09:33:52 +02:00
Ferdinand Thiessen 7fec706f68 refactor(files): Drop unneeded initial state
The initial state is no longer used, it was only used in legacy UI and in the f2v rewrite
it was only used for the `id` which can be loaded just from the URL.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-08-14 09:31:27 +02:00
provokateurin e77d6c913d fix(core): Limit valid avatar sizes
Signed-off-by: provokateurin <kate@provokateurin.de>
2024-08-14 09:29:30 +02:00
Christopher Ng 0c0ba5f552 fix(files): Fix non-sticky sticky views in files nav
Signed-off-by: Christopher Ng <chrng8@gmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-08-14 07:27:49 +00:00
John Molakvoæ a503125173 Merge pull request #47209 from nextcloud/rakekniven-patch-2 2024-08-14 09:20:04 +02:00
rakekniven b030449ad1 chore(i18n): Improved grammar
Reported at Transifex.

Signed-off-by: rakekniven <2069590+rakekniven@users.noreply.github.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-08-14 07:18:27 +00:00
John Molakvoæ b733adf474 Merge pull request #46888 from nextcloud/jtr/bfp-settings-app-default-enable 2024-08-14 09:09:47 +02:00
Richard Steinmetz b8ec68d212 Merge pull request #46723 from nextcloud/feat/add-delta-sync-to-subscription-calendars
feat(webcal): only update modified and deleted events from webcal calendars
2024-08-14 08:57:03 +02:00
Christoph Wurst 7641e768b3 Merge pull request #45435 from nextcloud/feat/dav/upcoming-events-api
feat(dav): Add an API for upcoming events
2024-08-14 06:54:43 +02:00
Nextcloud bot 832a1420e2 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-08-14 00:20:23 +00:00
Christoph Wurst 370a9d77ea feat(dav): Add an API for upcoming events
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2024-08-13 20:03:31 +02:00
Sebastian Krupinski 4e95ec033d Merge pull request #47200 from nextcloud/fix/issue-47193
fix: test variables before returning
2024-08-13 13:25:14 -04:00
Ferdinand Thiessen f93edb1774 Merge pull request #47202 from nextcloud/chore/nextcloud-auth-2_4
chore(deps): Update `@nextcloud/auth` to v2.4.0 and use `getCSPNonce` where possible
2024-08-13 18:53:21 +02:00
nextcloud-command 079a80f016 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-08-13 16:20:05 +00:00
Ferdinand Thiessen ea021df9fa chore(deps): Update @nextcloud/auth to v2.4.0 and use getCSPNonce where possible
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-08-13 17:54:47 +02:00
Ferdinand Thiessen 3e409fd342 Merge pull request #43573 from nextcloud/HolgerHees-fix-csp-nonce-handling
Fix for ignored `CSP_NONCE` in ContentSecurity Header
2024-08-13 17:53:30 +02:00
Richard Steinmetz bb706998a9 Merge pull request #45786 from nextcloud/fix/caldav/default-vjournal
fix(caldav): allow VJOURNAL if no supported component set is specified
2024-08-13 17:16:40 +02:00
Christoph Wurst 8bf2095001 Merge pull request #45221 from nextcloud/feat/auth/authtoken-clean-up
feat(auth): Clean-up unused auth tokens and wipe tokens
2024-08-13 16:32:08 +02:00
SebastianKrupinski f807d68511 fix: test variables before returning
Signed-off-by: SebastianKrupinski <krupinskis05@gmail.com>
2024-08-13 09:54:38 -04:00
Richard Steinmetz 82615ce868 fix(caldav): allow VJOURNAL if no supported component set is specified
This is mandated by the RFCs.

Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
2024-08-13 15:26:17 +02:00
Joas Schilling c319325f82 Merge pull request #47195 from nextcloud/bugfix/noid/return-correct-userid-on-fed-invites
fix(federation): Return the used userID to allow the inviting server …
2024-08-13 15:15:47 +02:00
Joas Schilling c525ea0a80 Merge pull request #47198 from nextcloud/fix/issue-46700
Change label "Allow download" for better l10n
2024-08-13 15:09:49 +02:00
Joas Schilling 6f85c1e03f chore(assets): Recompile assets
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-08-13 14:35:42 +02:00
Archisman Das a6a1bb9e42 fix: Update translation string
Signed-off-by: Archisman Das <archisman.officials@gmail.com>
2024-08-13 14:34:42 +02:00
Joas Schilling 15a530008f fix(federation): Return the used userID to allow the inviting server to react to the famous mapUid result
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-08-13 14:30:16 +02:00
Stephan Orbaugh 822aab6850 Merge pull request #47189 from nextcloud/feat/noid/ship-twofactor_nextcloud_notification
chore: Ship twofactor_nextcloud_notification
2024-08-13 14:13:49 +02:00
Anna Larch fb94db1cd9 feat(webcal): only update modified and deleted events from webcal calendars
Signed-off-by: Anna Larch <anna@nextcloud.com>
2024-08-13 13:05:58 +02:00
Christoph Wurst 5100e3152d feat(auth): Clean-up unused auth tokens and wipe tokens
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2024-08-13 12:39:11 +02:00
Hamza cee227ae99 Merge pull request #41740 from nextcloud/Fix/duplicate-reminders
fix(dav): Handle duplicate event reminder
2024-08-13 12:33:10 +02:00
Côme Chilliet 142b6e313f Merge pull request #47180 from nextcloud/fix/apply-group-limit-on-remove-from-group
Apply group limit on remove from group
2024-08-13 12:20:48 +02:00
Ferdinand Thiessen 84bd79d5c4 Merge pull request #47181 from nextcloud/fix/new-folder-messae
fix(files): Add messages when "new folder" fails or gets cancelled
2024-08-13 12:09:55 +02:00
hamza221 67957e98b9 fix: handle-duplicate-reminder
Signed-off-by: hamza221 <hamzamahjoubi221@gmail.com>
2024-08-13 11:47:03 +02:00
Joas Schilling 6d19c48413 Merge pull request #47188 from nextcloud/spreed/12950/avatar-menu-icon-color
fix(avatar): Fix icon-color for action-router contacts menu options
2024-08-13 11:32:27 +02:00
Joas Schilling b233577f9b chore: Ship twofactor_nextcloud_notification
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-08-13 11:31:03 +02:00
Joas Schilling 3121c3a3e3 fix(avatar): Fix icon-color for action-router contacts menu options
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-08-13 11:04:29 +02:00
nextcloud-command 7be3a9c83c chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-08-13 08:41:05 +00:00
Ferdinand Thiessen 2916e5df7e feat: Provide CSP nonce as <meta> element
This way we use the CSP nonce for dynamically loaded scripts.
Important to notice: The CSP nonce must NOT be injected in `content` as
this can lead to value exfiltration using e.g. side-channel attacts (CSS selectors).

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-08-13 10:32:44 +02:00
Ferdinand Thiessen 58acf4c608 fix(files): Add messages when "new folder" fails or gets cancelled
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-08-13 10:31:07 +02:00
Ferdinand Thiessen 009761be58 test: Adjust tests for CSP nonce
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-08-13 10:06:32 +02:00
Ferdinand Thiessen 86f01a3358 fix: Make sure CSP nonce is not double base64 encoded
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-08-13 09:52:33 +02:00
Holger Hees 73397cd759 fix: Use CSP_NONCE env variable in ContentSecurity Header
We should use 'cspNonceManager' for requesting the NONCE value, because it is doing the same as before, except that it honors a CPS_NONCE environment variable if available.

Signed-off-by: Holger Hees <holger.hees@gmail.com>
2024-08-13 09:52:08 +02:00
Nextcloud bot 21db618174 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-08-13 00:20:11 +00:00
Julien Veyssier 735e04e100 Merge pull request #47177 from nextcloud/fix/noid/preferred-taskprocessing-providers
[Task processing] Fix preferred providers
2024-08-13 01:31:52 +02:00
Julien Veyssier 475d0089c2 feat(taskprocessing): add text2text, text2image, contextWrite, transcribe and translate providers in the testing app
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
2024-08-13 00:05:26 +02:00
Côme Chilliet e7854a9935 chore(tests): Fix import in cypress test limit_to_same_group.cy.ts
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-08-12 16:09:42 +02:00
Côme Chilliet 244491adc1 chore(tests): Fix SPDX license header on new cypress test
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-08-12 15:21:38 +02:00
Côme Chilliet 1cfc25d08c fix(tests): Adapt tests to change of DefaultShareProvider constructor
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-08-12 15:20:21 +02:00
Côme Chilliet e23325f047 fix: Remove shares only if there are no more common groups between users
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-08-12 15:20:21 +02:00
Louis Chemineau b6e28bbeff chore(tests): Test limiting sharing to same group
Signed-off-by: Louis Chemineau <louis@chmn.me>
2024-08-12 15:20:10 +02:00
Louis Chemineau 5559beb28c fix(files_sharing): Delete user shares if needed when user is removed from a group
Signed-off-by: Louis Chemineau <louis@chmn.me>
2024-08-12 14:41:19 +02:00
Julien Veyssier dbab2a825d fix(taskprocessing): select preferred provider when running sync task, fix task type values according to preferred provider
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
2024-08-12 13:11:41 +02:00
Ferdinand Thiessen b34edf2224 Merge pull request #46987 from nextcloud/fix/dav-public
fix(dav): Ensure share properties are also set on public remote endpoint
2024-08-12 12:06:15 +02:00
Ferdinand Thiessen 4bbcbc5206 feat: Make ISharedStorage public API and reuse where possible
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-08-12 11:42:10 +02:00
Ferdinand Thiessen cb1b366baf fix(dav): Ensure share properties are also set on public remote endpoint
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-08-12 11:28:03 +02:00
Nextcloud bot 1a7acf061e Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-08-12 00:19:52 +00:00
Nextcloud bot 722a74e0e8 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-08-11 00:19:57 +00:00
Pytal 4a512d408d Merge pull request #47157 from nextcloud/perf/prevent-extra-requests
perf(files): Prevent extraneous requests when tree children are loading
2024-08-10 05:59:44 -07:00
Ferdinand Thiessen d50b6da868 Merge pull request #47153 from nextcloud/trashbin-fix-folder-extract
fix: fix getting the folder node from the dav response
2024-08-10 14:48:14 +02:00
nextcloud-command 34e24b24c3 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-08-10 14:34:05 +02:00
Robin Appelman 69ea15cc98 fix: fix getting the folder node from the dav response
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-08-10 14:29:52 +02:00
Nextcloud bot dbd197cedc Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-08-10 00:20:14 +00:00
Christopher Ng d0186fe5ca chore: compile assets
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2024-08-09 15:32:17 -07:00
Christopher Ng a3ad8daed6 perf(files): Prevent extraneous requests when tree children are loading
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2024-08-09 15:32:17 -07:00
Ferdinand Thiessen 90742357ca Merge pull request #47152 from nextcloud/fix/guest-layout
fix(styles): Guest layout should follow the new design
2024-08-09 20:15:57 +02:00
Ferdinand Thiessen 4591c188e6 Merge pull request #47135 from nextcloud/fix/open-tags-in-folder
fix(systemtags): Sub folders should be opened in files
2024-08-09 15:50:39 +02:00
Ferdinand Thiessen 124288f534 fix(systemtags): Sub folders should be opened in files
Currently this is simply broken and here are two ways:
1. Open subfolders in files view
2. Implement logic to save last request

1 is the way this is now implemented, basically copy-paste from the recent view.
2 is much more complicated because if we get `/2/foo/bar` as the path we need to know the source of `foo`, so we would need at least 2 requests or cache the previous directory. We do not do it like this for any view so lets just stick with 1 for now.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-08-09 15:33:54 +02:00
Ferdinand Thiessen 2d99539193 chore: Compile assets
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-08-09 14:45:19 +02:00
Ferdinand Thiessen 874de85d14 fix(styles): Guest layout should follow the new design
1. Adjust some places that used the old pill-style design
2. Make indention consistent using tabs
3. Remove duplicates styles for inputs (also included in server.css) that conflic with nextcloud-vue styles

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-08-09 14:42:50 +02:00
Ferdinand Thiessen a041833a95 Merge pull request #47147 from nextcloud/fix/trim-new-folder
fix(files): trim names on new node creation
2024-08-09 14:39:30 +02:00
skjnldsv e4e12a35f5 fix(files): trim names on new node creation
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-08-09 11:58:37 +00:00
John Molakvoæ 81b01c26c5 Merge pull request #47149 from nextcloud/fix/disable-tags-editing
fix(files): Disable tags editing for shared files/folders with view only permission
2024-08-09 13:52:30 +02:00
nextcloud-command de769f086a chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-08-09 11:35:09 +00:00
Konstantin Myakshin 81ee1ce8fc fix(files): Disable tags editing for shared files/folders with view only permission
Signed-off-by: Konstantin Myakshin <molodchick@gmail.com>
2024-08-09 11:42:28 +02:00
Nextcloud bot dda6dd0bf4 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-08-09 00:25:27 +00:00
Benjamin Gaussorgues 82d2ec0931 Merge pull request #47100 from nextcloud/release/30.0.0_beta_5 2024-08-08 22:59:05 +02:00
Benjamin Gaussorgues 1b8dbcbf2f Merge pull request #46456 from nextcloud/fix/check-datadir 2024-08-08 22:58:03 +02:00
Ferdinand Thiessen 0563757ea4 fix(SetupCheck): Properly check public access to data directory
When checking for public (web) access to the data directory the status is not enough
as you might have a webserver that forwards to e.g. a login page.
So instead check that the content of the file matches.

For this the `.ncdata` file (renamed from `.ocdata`¹) has minimal text content
to allow checking.

¹The file was renamed from the legacy `.ocdata`, there is a repair step to remove the old one.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-08-08 22:08:42 +02:00
Pytal 8c0bece57a Merge pull request #47122 from nextcloud/feat/limited-depth-tree
feat(files): Load limited depth tree
2024-08-08 11:55:15 -07:00
Christopher Ng 36c23b2ee0 chore: compile assets
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2024-08-08 11:26:51 -07:00
Christopher Ng 44bc57bc57 feat: Load limited depth tree
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2024-08-08 11:15:52 -07:00
Christopher Ng cfec6fcb1a feat(files): Add getter for all view configs
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2024-08-08 10:52:20 -07:00
Christopher Ng 86459aa5da perf(files): Remove redundant call to get navigation
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2024-08-08 10:52:20 -07:00
Christopher Ng 36cf891b7f feat(files): Update openapi
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2024-08-08 10:52:20 -07:00
Christopher Ng e9083db768 feat(files): Allow specifying path and depth for returned folder tree
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2024-08-08 10:52:20 -07:00
Andy Scherzinger b30054abb7 Merge pull request #47140 from nextcloud/fix/app-menu-focus
fix: Make focused app menu entry wider to see full name
2024-08-08 18:53:40 +02:00
Ferdinand Thiessen e5bb27c2d8 chore: Compile assets
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-08-08 18:24:39 +02:00
Ferdinand Thiessen ed16793089 fix: Make focussed app menu entry wider to see full name
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-08-08 18:24:35 +02:00
Ferdinand Thiessen e49c55df12 Merge pull request #47121 from nextcloud/fix/a11y-inline-action
fix(systemtags): Make inline tags list fully accessible
2024-08-08 14:05:41 +02:00
Sebastian Krupinski e21fc6c762 Merge pull request #46624 from nextcloud/fix/issue-43923
fix(caldav): test for null and blank value
2024-08-08 07:55:10 -04:00
Ferdinand Thiessen d21c2933e5 chore: Compile assets
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-08-08 13:23:01 +02:00
Ferdinand Thiessen a8d3046886 test: Added e2e tests for inline system tags file action
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-08-08 13:21:25 +02:00
Ferdinand Thiessen c96274c52a fix(systemtags): Make inline tags list fully accessible
1. The label was wrong it mentioned the first and last tag, so the information was duplicated
2. It only mentioned the first and last but not all other
3. All other tags were only added as `title` which is not accessible

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-08-08 13:21:21 +02:00
Andy Scherzinger 2777cf90e3 Merge pull request #47120 from nextcloud/fix/systemtags
fix(systemtags): Correctly load tagged files in "tags"-files-view
2024-08-08 10:00:20 +02:00
Git'Fellow 5e5a51a277 Merge pull request #47116 from nextcloud/addColMigNotEx
fix(migration): Add column if not exists
2024-08-08 09:53:20 +02:00
Nextcloud bot 5f89477c79 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-08-08 00:20:57 +00:00
nextcloud-command 60924a6a27 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-08-07 23:18:05 +00:00
Ferdinand Thiessen 82f7368e10 fix(systemtags): Correctly load tagged files in "tags"-files-view
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-08-08 01:07:45 +02:00
SebastianKrupinski 19ec5985b5 fix(caldav): test for null and blank value
Signed-off-by: SebastianKrupinski <krupinskis05@gmail.com>
2024-08-07 18:56:34 -04:00
Andy Scherzinger 749dc7d9ae Merge pull request #47034 from nextcloud/fix/app-menu-overflow
fix: Make app menu overflow entries vertically aligned
2024-08-07 23:04:29 +02:00
nextcloud-command 2ed0509638 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-08-07 20:48:51 +00:00
Ferdinand Thiessen 7cef884297 fix: Make app menu overflow entries vertically aligned
The `name` property expects a `text` and just adds basically a "heading" for the text,
so lets instead just utilize the default slot.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-08-07 22:32:04 +02:00
Andy Scherzinger 4417f0f328 Merge pull request #47031 from nextcloud/fix/app-menu
fix: Ensure app overflow menu is rendered centered
2024-08-07 22:30:00 +02:00
nextcloud-command de5ae56deb chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-08-07 19:48:52 +00:00
Ferdinand Thiessen 91f78936c9 fix: Ensure app overflow menu is rendered centered
1. Fix app menu overflow button to be centered
2. Ensure the overflow calculation always just removed one element (incl. refactor to use `@vueuse`)
3. Ensure we use 1.5 line height for app menu, otherwise some languages look squashed under the app icon

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-08-07 21:29:00 +02:00
Andy Scherzinger 609fa7d5db Merge pull request #47044 from nextcloud/fix/accept-several-mounts-in-encryption
fix(encryption): Fix mountpoint check to accept if several are found
2024-08-07 20:58:19 +02:00
Robin Appelman 495f454b6f Merge pull request #46395 from nextcloud/apcu-default-ttl
fix: set default TTL for APCu cache as per docs
2024-08-07 20:16:02 +02:00
Git'Fellow 3803e755af fix(migration): Add column if not exists
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
2024-08-07 20:09:51 +02:00
Robin Appelman 5490b12feb chore: add psalm false positive to psalm.xml
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-08-07 19:41:44 +02:00
Robin Appelman cae0a8218d chore: remove Redis::DEFAULT_TTL constant now that it's defined in the interface
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-08-07 19:41:44 +02:00
Robin Appelman b19652a2ad chore: cleanup acpu inc and dec
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-08-07 19:41:43 +02:00
Robin Appelman 4691d19770 docs: clearify IMemcache::inc and dec behavior
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-08-07 19:41:43 +02:00
Robin Appelman cd9cc01b77 fix: set default TTL for APCu cache as per docs
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-08-07 19:41:41 +02:00
John Molakvoæ a46e0a7405 Merge pull request #47106 from nextcloud/fix/files-padding 2024-08-07 17:28:10 +02:00
skjnldsv 827c6fdda9 fix(files): file name and header sort buttons alignments
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-08-07 15:12:32 +00:00
John Molakvoæ 9b511d1b3b Merge pull request #47102 from nextcloud/fix/files-multiple-propfind 2024-08-07 17:06:20 +02:00
John Molakvoæ 07d302d007 Merge pull request #45841 from Vivida1/add-regex-to-match-Gnome-and-KDE-calendar-user-agents 2024-08-07 16:10:18 +02:00
skjnldsv b96800ecc5 fix(files_sharing): getShares optional chaining
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2024-08-07 16:06:25 +02:00
Sebastian Krupinski 4c4e414036 Merge pull request #46623 from nextcloud/fix/issue-44127
fix(caldav): fixed initial sync and double processing
2024-08-07 08:49:34 -04:00
Maxence Lange 3ffcfb1dab Merge pull request #47069 from nextcloud/fix/noid/display-message-on-no-migration-attributes
fix(migration-preview): display a message if no attributes set
2024-08-07 11:48:20 -01:00
skjnldsv 800a1b8f12 chore: update @nextcloud/upload to 1.4.3
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-08-07 10:54:41 +00:00
skjnldsv 40d9b42c84 fix(files): use files:config:updated to monitor user config change
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2024-08-07 10:50:33 +00:00
John Molakvoæ 3da69fca60 Merge pull request #37878 from 2lar/sortingfixbranch 2024-08-07 12:45:56 +02:00
Julius Härtl 6cc0827cef Merge pull request #46106 from nextcloud/fix/session/log-slow-session-calls
fix(session): Log when session_* calls are slow
2024-08-07 12:43:45 +02:00
Andy Scherzinger 0050e1e219 Merge pull request #47071 from nextcloud/fix/no-error-new-file-audit
fix(admin_audit): Do not log errors for new files
2024-08-07 11:42:38 +02:00
2lar 6cf1aed93a fix(files_sharing): tab shares title and creation sort
Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
2024-08-07 11:39:54 +02:00
John Molakvoæ 72c2b6b7c7 Merge pull request #46945 from nextcloud/fix/activity-upload-public 2024-08-07 11:29:46 +02:00
Benjamin Gaussorgues 9e241b106a build(hub): 30.0.0 beta 5
Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
2024-08-07 11:23:50 +02:00
Richard Steinmetz 5d577be6cf Merge pull request #47095 from nextcloud/fix/theming/cache-buster-on-upgrade
fix(theming): make cache buster depend on the app version
2024-08-07 10:24:44 +02:00
Julius Härtl 1c0f02eea9 fix(admin_audit): Do not log errors for new files
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2024-08-07 09:50:30 +02:00
skjnldsv 3cb80626e4 feat(activity): add share link upload notifications
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2024-08-07 09:49:38 +02:00
Richard Steinmetz 087f74806d fix(theming): make cache buster depend on the app version
Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
2024-08-07 09:48:48 +02:00
John Molakvoæ 80fc2a96f2 Merge pull request #44666 from nooblag/occ-user
occ: Improve and make consistent `user:lastseen` and `user:info` timestamps
2024-08-07 09:33:24 +02:00
nooblag 5ec3a7fcef occ: Revert all changes to Info.php
Signed-off-by: Jore <contact@jore.cc>
2024-08-07 09:33:09 +02:00
Jore 96638fd6b2 occ: Remove timezone changes.
Signed-off-by: Jore <contact@jore.cc>
2024-08-07 09:33:09 +02:00
Jore a0566f881d occ: Add locale setting timezone to timestamps.
Signed-off-by: Jore <contact@jore.cc>
2024-08-07 09:33:09 +02:00
Jore e16e16c972 occ: Add check for never logged in for user:info.
Signed-off-by: Jore <contact@jore.cc>
2024-08-07 09:33:09 +02:00
Jore bd81967fa1 occ: Improve timestamps for user:info.
Signed-off-by: Jore <contact@jore.cc>
2024-08-07 09:33:09 +02:00
Jore 3e69668c9e occ: Improve timestamps for user:lastseen.
Signed-off-by: Jore <contact@jore.cc>
2024-08-07 09:33:08 +02:00
github-actions[bot] cb341fc64c Merge pull request #47090 from nextcloud/automated/noid/master-update-psalm-baseline
[master] Update psalm-baseline.xml
2024-08-07 09:05:35 +02:00
Christoph Wurst 2b38d6ae7e fix(session): Log when session_* calls are slow
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2024-08-07 09:02:10 +02:00
nextcloud-command d2338abe8a chore(tests): Update psalm baseline
Signed-off-by: GitHub <noreply@github.com>
2024-08-07 02:29:23 +00:00
Nextcloud bot fbbc10466b Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-08-07 00:20:09 +00:00
Maxence Lange 6ad6fa6425 fix(migration-preview): display a message if no attributes set
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2024-08-06 22:23:12 -01:00
Andy Scherzinger 3419edd697 Merge pull request #45193 from bahman026/update-config-sample-file
docs: added customclient_fdroid key to the config.sample.php file
2024-08-06 23:45:59 +02:00
Andy Scherzinger f0260246d9 Merge pull request #45879 from nextcloud/export-certificate-bundle
feat: add command to export certificate bundle
2024-08-06 23:37:39 +02:00
Andy Scherzinger 203581efce Merge pull request #46229 from nextcloud/jtr/fix-smtpdebug-cfg-sample
fix(config): Clarify smtp debugging config option usage
2024-08-06 23:33:15 +02:00
Andy Scherzinger f0b658014a Merge pull request #47070 from nextcloud/circToTeam
fix(share): Rename Circle to Team
2024-08-06 23:25:47 +02:00
Andy Scherzinger 70940d077d Merge pull request #47083 from nextcloud/fix/group-list-test
fix: Fix failing test for group listing
2024-08-06 22:39:47 +02:00
Julius Härtl e4fa36e231 fix: Fix failing test for group listing
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2024-08-06 21:06:44 +02:00
Andy Scherzinger a455283651 Merge pull request #47061 from nextcloud/fix/avoid-collision-of-webhook-calls
fix(webhook_listeners): Avoid collision between two identical calls at the same second
2024-08-06 20:17:15 +02:00
Andy Scherzinger 3c4ee711c1 Merge pull request #40427 from ThibautPlg/master
feat: Adding the displayname to the output of occ group:list --info
2024-08-06 20:02:47 +02:00
Thibaut 825347f262 feat(occ)!: Adding the displayName to the output of the occ group:list --info command
Signed-off-by: ThibautPlg <17176051+ThibautPlg@users.noreply.github.com>
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2024-08-06 19:30:59 +02:00
John Molakvoæ 8a5bc4778b Merge pull request #38364 from joshtrichards/jr-preview-libgd-webp-animation-bypass 2024-08-06 17:56:14 +02:00
John Molakvoæ 4642d82e8b Merge pull request #47055 from nextcloud/feat/select-install-recommended-apps 2024-08-06 17:55:32 +02:00
John Molakvoæ bdf00f0870 Merge pull request #47048 from nextcloud/fix/log-link-reference-error 2024-08-06 17:52:57 +02:00
John Molakvoæ 2d8676fa5d Merge pull request #47065 from nextcloud/fix/group-oc 2024-08-06 17:52:01 +02:00
John Molakvoæ 42650f6773 Merge pull request #46967 from nextcloud/fix/share-not-found 2024-08-06 17:45:44 +02:00
John Molakvoæ e6457aa9c4 Merge pull request #46985 from nextcloud/feat/email-share-format 2024-08-06 17:40:47 +02:00
Côme Chilliet 2f3dfbb877 Merge pull request #46356 from nextcloud/enh/use-generator-for-group-list
feat(occ): Add support for iterable in Base and use it in group:list and user:list
2024-08-06 17:34:04 +02:00
Sanskar Soni 55bb6ee87e feat(core): add selection for recommended apps
Signed-off-by: Sanskar Soni <sanskarsoni300@gmail.com>
2024-08-06 17:30:15 +02:00
Sebastian Krupinski 1e2bf36512 Merge pull request #45054 from nextcloud/fix/issue-26668
fix(caldav): Add sharee to address list when calendar is shared
2024-08-06 11:09:01 -04:00
skjnldsv db28aa8cd1 fix(files_sharing): show proper share not found error message
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2024-08-06 16:25:10 +02:00
Benjamin Gaussorgues 69f01b1df6 Merge pull request #47028 from nextcloud/release/30.0.0_beta_4 2024-08-06 15:55:02 +02:00
Stephan Orbaugh 199ee80795 Merge pull request #46710 from nextcloud/artonge/fix/use_timestamp_instead_of_revision
fix: Use timestamp instead of revision id in files_versions metadata API
2024-08-06 15:00:41 +02:00
Git'Fellow 6002566d92 fix(share): Rename Circle to Team
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
2024-08-06 14:48:07 +02:00
Côme Chilliet 1e2155993d chore(tests): Adapt tests to the group:list change
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-08-06 14:43:44 +02:00
SebastianKrupinski 0df30363a4 fix(caldav): Add sharee to address list when calendar is shared
Signed-off-by: SebastianKrupinski <krupinskis05@gmail.com>
2024-08-06 08:39:24 -04:00
Maxence Lange b6e3009e12 Merge pull request #47043 from nextcloud/fix/noid/ignore-root-on-inherited-shares
fix(inherited-shares): ignore top root folder
2024-08-06 11:08:17 -01:00
Ferdinand Thiessen 4776b6600a fix: Ensure database connection is setup when getting group details
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-08-06 13:41:04 +02:00
Stephan Orbaugh 5c54a3caa7 Merge pull request #46974 from nextcloud/fix/noid/add-metadata-to-migrationsteps
feat(migrations): add metadata to existing migrations
2024-08-06 13:27:04 +02:00
Côme Chilliet 6b149be316 fix(webhook_listeners): Avoid collision between two identical calls at the same second
The job list needs argument to be unique for each registered job, so add
 a random string on top of time to make sure the same call can be
 registered several times at the same second.

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-08-06 12:38:26 +02:00
Côme Chilliet bb94da69a6 fix(occ): Fix compatibility with PHP<8.2
iterator_to_array cannot take an array parameter prior to 8.2

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-08-06 12:13:26 +02:00
Côme Chilliet db16a32ac3 feat(occ): Add support for iterable in Base and use in in group:list and user:list
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-08-06 12:13:26 +02:00
Andy Scherzinger 7a7f259f3c Merge pull request #45091 from nextcloud/Jerome-Herbinet-education-bundle
Education "bundle"
2024-08-06 11:44:37 +02:00
Jérôme Herbinet c221090c86 fix: unify bundle naming
Signed-off-by: Jérôme Herbinet <33763786+Jerome-Herbinet@users.noreply.github.com>
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2024-08-06 11:14:07 +02:00
Stephan Orbaugh eecc9f328b Merge pull request #46953 from nextcloud/cleanup-old-mount-repair
chore: delete repair step for 8y old oc_mounts issue
2024-08-06 09:42:20 +02:00
skjnldsv 879d248c55 fix: emails tests after new design fixes
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2024-08-06 09:42:19 +02:00
skjnldsv 28a34e7351 fix(emails): adjust mail button to new design
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2024-08-06 09:42:19 +02:00
skjnldsv 60eaef6696 feat(sharebymail): improve share email format
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2024-08-06 09:42:19 +02:00
Stephan Orbaugh f5de5a6d96 Merge pull request #46926 from nextcloud/carddavtest-querybuilder-reuse
tests: don't reuse the query builder for multiple tables in CardDavBackendTest
2024-08-06 09:41:56 +02:00
Ferdinand Thiessen f1cc819c17 Merge pull request #46880 from nextcloud/fix/account-menu
fix: Make account menu follow the design (use nextcloud-vue components)
2024-08-06 09:41:04 +02:00
John Molakvoæ 119543e694 Merge pull request #46924 from nextcloud/fix/empty-email 2024-08-06 09:40:16 +02:00
John Molakvoæ ead047153a Merge pull request #39217 from shdehnavi/replace_substr_call_in_lib_public 2024-08-06 09:35:11 +02:00
Ferdinand Thiessen f7dd3c5c82 chore: Compile assets
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-08-06 09:20:52 +02:00
Ferdinand Thiessen b2d053589a fix(user_status): Adjust AccountMenu entry for user status
fixup: Adjust to design comments

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-08-06 09:20:52 +02:00
Ferdinand Thiessen 674805c994 fix(core): Migrate UserMenu / AccountMenu to NcListItem
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-08-06 09:20:48 +02:00
Hamid Dehnavi f19f8fd8c0 chore: refactor "substr" calls to improve code readability
Signed-off-by: Hamid Dehnavi <hamid.dev.pro@gmail.com>
2024-08-06 08:46:52 +02:00
Nextcloud bot 69814cd4f7 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-08-06 00:20:11 +00:00
Julius Härtl 0678bdcc43 Merge pull request #46534 from nextcloud/fix/direct-flow-v2
fix: Add direct parameter to flow auth v2
2024-08-05 22:05:19 +02:00
Julius Härtl 312314a753 fix: Do not log link reference exceptions as error
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2024-08-05 22:04:44 +02:00
John Molakvoæ 403891e4ea Merge pull request #47047 from nextcloud/chore/update-vue 2024-08-05 20:49:38 +02:00
skjnldsv 712965daa1 fix(files_sharing): filter out invalid shareWith in sharee API
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2024-08-05 20:36:45 +02:00
Ferdinand Thiessen c03d66caed chore: Compile assets
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-08-05 17:56:27 +02:00
Ferdinand Thiessen 9786580325 chore: Update @nextcloud/vue to v8.16.0
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-08-05 17:54:42 +02:00
Ferdinand Thiessen 9ef2e142c4 Merge pull request #46931 from nextcloud/connection-builder-additional-params
fix: fix passing additional db connection parameters in factory
2024-08-05 17:41:04 +02:00
Côme Chilliet 277c2cf5d1 fix(encryption): Fix mountpoint check to accept if several are found
There is no strong requirement to have only one mount for a given
 storage id. Also the error in this case would be misleading.

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-08-05 17:34:25 +02:00
Maxence Lange 6c4b0dba77 fix(inherited-shares): ignore top root folder
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2024-08-05 13:40:53 -01:00
Andy Scherzinger 6dc614cb31 Merge pull request #47030 from nextcloud/chore/dashboard
chore: Replace dashboard icon with Material Symbols "View Column"
2024-08-05 15:41:43 +02:00
Ferdinand Thiessen 23b5fd563c chore: Compile assets
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-08-05 14:29:47 +02:00
Ferdinand Thiessen 9a447d5752 fix(settings): Repalce dashboard icon in appstore
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-08-05 14:29:46 +02:00
Ferdinand Thiessen 62b85b96e4 chore: Replace dashboard icon with Material Symbols "View Column"
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-08-05 14:29:46 +02:00
Ferdinand Thiessen c7e0d90988 Merge pull request #46996 from nextcloud/fix/trashbin
fix(trashbin): Correctly set original name as displayname
2024-08-05 14:27:48 +02:00
Ferdinand Thiessen aacf0dc541 chore: Compile assets
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-08-05 14:05:47 +02:00
Ferdinand Thiessen 55d77fec05 perf(files_trashbin): Only trigger one PROPFIND for trashbin view
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-08-05 14:02:57 +02:00
Ferdinand Thiessen b5cd64e584 fix(files_trashbin): Original name of the deleted files should be set as display name for DAV
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-08-05 14:02:57 +02:00
Julius Härtl 1aa29441e3 fix: Add direct parameter to flow auth v2
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2024-08-05 12:13:52 +02:00
Benjamin Gaussorgues 1a38c47916 build(hub): 30.0.0 beta 4
Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
2024-08-05 10:03:26 +02:00
Richard Steinmetz 8511b89579 Merge pull request #42800 from nextcloud/metaGenMemLimit
enh(metadata): Introduce a memory limit for metadata generation
2024-08-05 09:06:53 +02:00
Git'Fellow 2ea6713504 fix: Max file size for metadata generation
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
Co-Authored-By: Louis <louis@chmn.me>
Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
2024-08-05 08:48:15 +02:00
Richard Steinmetz c283683a08 Merge pull request #46919 from nextcloud/fix/caldav/allow-rooms-resources-principals-listing
fix(caldav): allow listing of room and resource principals
2024-08-05 08:08:41 +02:00
Nextcloud bot 05c0895276 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-08-05 00:20:35 +00:00
Nextcloud bot 0c22976877 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-08-04 00:19:45 +00:00
Julius Härtl 50e6108e5a Merge pull request #47015 from nextcloud/fix/open-file
fix(files): Correctly handle open file URL query
2024-08-03 21:08:14 +02:00
nextcloud-command 926c095337 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-08-03 17:17:18 +00:00
Ferdinand Thiessen 4150492ffc fix(files): When redirecting to a file (internal link) then it should open by default
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-08-03 13:53:53 +02:00
Ferdinand Thiessen 066bd0a25d fix(files): openfile is set on the query not as a param
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-08-03 13:52:12 +02:00
John Molakvoæ bbdf69a9fb Merge pull request #47013 from nextcloud/dependabot/npm_and_yarn/marked-13.0.3 2024-08-03 10:31:32 +02:00
dependabot[bot] b57d8777e7 Merge pull request #46488 from nextcloud/dependabot/npm_and_yarn/webpack-merge-6.0.1 2024-08-03 08:29:51 +00:00
dependabot[bot] 5273d25ea4 build(deps): bump marked from 11.2.0 to 13.0.3
Bumps [marked](https://github.com/markedjs/marked) from 11.2.0 to 13.0.3.
- [Release notes](https://github.com/markedjs/marked/releases)
- [Changelog](https://github.com/markedjs/marked/blob/master/.releaserc.json)
- [Commits](https://github.com/markedjs/marked/compare/v11.2.0...v13.0.3)

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

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-08-03 08:15:45 +00:00
dependabot[bot] e8e1fc1e55 build(deps-dev): bump webpack-merge from 5.10.0 to 6.0.1
Bumps [webpack-merge](https://github.com/survivejs/webpack-merge) from 5.10.0 to 6.0.1.
- [Changelog](https://github.com/survivejs/webpack-merge/blob/develop/CHANGELOG.md)
- [Commits](https://github.com/survivejs/webpack-merge/compare/v5.10.0...v6.0.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-08-03 08:05:16 +00:00
John Molakvoæ 02799e28ea Merge pull request #47012 from nextcloud/dependabot/npm_and_yarn/nextcloud/paths-2.2.1
build(deps): bump @nextcloud/paths from 2.2.0 to 2.2.1
2024-08-03 10:03:23 +02:00
skjnldsv 3c869a0c3a fix: jest transform private methods
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2024-08-03 09:44:12 +02:00
dependabot[bot] b6e1c9531d build(deps): bump @nextcloud/paths from 2.2.0 to 2.2.1
Bumps [@nextcloud/paths](https://github.com/nextcloud-libraries/nextcloud-paths) from 2.2.0 to 2.2.1.
- [Release notes](https://github.com/nextcloud-libraries/nextcloud-paths/releases)
- [Changelog](https://github.com/nextcloud-libraries/nextcloud-paths/blob/main/CHANGELOG.md)
- [Commits](https://github.com/nextcloud-libraries/nextcloud-paths/compare/v2.2.0...v2.2.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-08-03 09:01:21 +02:00
John Molakvoæ 00e96c4be1 Merge pull request #47010 from nextcloud/dependabot/npm_and_yarn/typescript-5.5.4 2024-08-03 08:58:59 +02:00
John Molakvoæ a467b5f9a3 Merge pull request #47011 from nextcloud/dependabot/npm_and_yarn/cypress-if-1.12.5 2024-08-03 08:37:30 +02:00
dependabot[bot] 9e013a75c1 build(deps-dev): bump cypress-if from 1.12.4 to 1.12.5
Bumps [cypress-if](https://github.com/bahmutov/cypress-if) from 1.12.4 to 1.12.5.
- [Release notes](https://github.com/bahmutov/cypress-if/releases)
- [Commits](https://github.com/bahmutov/cypress-if/compare/v1.12.4...v1.12.5)

---
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-08-03 06:37:10 +00:00
John Molakvoæ f23d35db92 Merge pull request #47005 from nextcloud/dependabot/npm_and_yarn/jquery-ui-1.13.3 2024-08-03 08:32:15 +02:00
John Molakvoæ 3eec76c9d2 Merge pull request #47008 from nextcloud/dependabot/npm_and_yarn/webdav-5.7.0 2024-08-03 08:28:14 +02:00
dependabot[bot] 8b23eee4c1 build(deps): bump jquery-ui from 1.13.2 to 1.13.3
Bumps [jquery-ui](https://github.com/jquery/jquery-ui) from 1.13.2 to 1.13.3.
- [Release notes](https://github.com/jquery/jquery-ui/releases)
- [Commits](https://github.com/jquery/jquery-ui/compare/1.13.2...1.13.3)

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

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-08-03 06:19:24 +00:00
dependabot[bot] 91b4ced220 build(deps): bump webdav from 5.6.0 to 5.7.0
Bumps [webdav](https://github.com/perry-mitchell/webdav-client) from 5.6.0 to 5.7.0.
- [Changelog](https://github.com/perry-mitchell/webdav-client/blob/master/CHANGELOG.md)
- [Commits](https://github.com/perry-mitchell/webdav-client/compare/v5.6.0...v5.7.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-08-03 06:10:56 +00:00
github-actions[bot] 8b343f2b24 Merge pull request #46975 from nextcloud/automated/noid/master-update-psalm-baseline
[master] Update psalm-baseline.xml
2024-08-03 03:19:40 +00:00
nextcloud-command 1cc0e753fa chore(tests): Update psalm baseline
Signed-off-by: GitHub <noreply@github.com>
2024-08-03 02:31:40 +00:00
dependabot[bot] 46806439dd build(deps-dev): bump typescript from 5.5.3 to 5.5.4
Bumps [typescript](https://github.com/Microsoft/TypeScript) from 5.5.3 to 5.5.4.
- [Release notes](https://github.com/Microsoft/TypeScript/releases)
- [Changelog](https://github.com/microsoft/TypeScript/blob/main/azure-pipelines.release.yml)
- [Commits](https://github.com/Microsoft/TypeScript/compare/v5.5.3...v5.5.4)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-08-03 01:30:57 +00:00
Nextcloud bot 86bcafd366 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-08-03 00:19:49 +00:00
Daniel f4ab426817 Merge pull request #46890 from nextcloud/fix/issue-46883-2
fix: Update documentation for Mail Provider Send
2024-08-02 22:25:59 +02:00
Maxence Lange 726b7a6995 fix(metadata): revert wrongly renamed column
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2024-08-02 18:37:37 -01:00
Maxence Lange 5e1196095c feat(migrations): add metadata to existing migrations
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2024-08-02 18:26:12 -01:00
Robin Appelman 8f70441f84 Merge pull request #46886 from nextcloud/fix-getmountsforfileid-array
fix: ensure array returned from getMountsForFileId is continious
2024-08-02 20:28:47 +02:00
John Molakvoæ b1a1da10cd Merge pull request #46989 from nextcloud/fix/receiving-share
fix(files): show folder sharing overlay on received shares
2024-08-02 19:41:35 +02:00
skjnldsv 760c37b52e fix(files): show folder sharing overlay on received shares
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-08-02 16:52:12 +00:00
Robin Appelman eb4fb994cf fix: ensure array returned from getMountsForFileId is continious
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-08-02 17:22:33 +02:00
Robin Appelman 9af6184af6 chore: delete repair step for 8y old oc_mounts issue
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-08-02 17:21:54 +02:00
Robin Appelman 192d1769e0 test: don't reuse the query builder for multiple tables in CardDavBackendTest
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-08-02 17:21:47 +02:00
Joas Schilling 08ec209aee Merge pull request #46986 from nextcloud/bugfix/noid/align-2fa-icons
fix(2fa): Vertical align the 2FA icons with the name
2024-08-02 17:04:21 +02:00
nextcloud-command 7d6f5e2e0b chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-08-02 14:44:00 +00:00
Joas Schilling 19c55d29da fix(2fa): Vertical align the 2FA icons with the name
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-08-02 15:32:42 +02:00
Ferdinand Thiessen 1a51afd032 Merge pull request #45487 from nextcloud/fix/reset-notification-email
fix: Reset notification email when deleting additonal email
2024-08-02 15:11:01 +02:00
SebastianKrupinski 50a2353e30 fix: Update documentation for Mail Provider Send
Signed-off-by: SebastianKrupinski <krupinskis05@gmail.com>
2024-08-02 08:23:31 -04:00
Christopher Ng 427c27ac68 chore: compile assets
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2024-08-02 12:42:07 +02:00
Christopher Ng 7f51a02076 fix: Reset notification email automatically when deleting additonal email
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2024-08-02 12:35:22 +02:00
John Molakvoæ 669e4e713d Merge pull request #46958 from nextcloud/fix-6153-Space-in-new-file-name-picker-with-create-from-template-dialog 2024-08-02 09:29:56 +02:00
julia.kirschenheuter ff6ba29475 fix(files): Minimize min-height of dialog form
Signed-off-by: julia.kirschenheuter <julia.kirschenheuter@nextcloud.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-08-02 07:10:00 +00:00
John Molakvoæ aabd6ef8be Merge pull request #46963 from nextcloud/fix/move-copy-error 2024-08-02 02:20:45 +02:00
Nextcloud bot 94ee03d1cc Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-08-02 00:19:37 +00:00
Marco d58fc0f645 Merge pull request #46923 from nextcloud/feat/update-border-radius-variables
Feat: update border radius variables
2024-08-02 00:26:24 +02:00
Joas Schilling 251e686563 Merge pull request #46956 from nextcloud/fix/noid/ldap-cleanup-deps
fix(LDAP): remove unneeded dependencies
2024-08-01 23:09:37 +02:00
Ferdinand Thiessen ff795ee527 fix(files): cancel move-copy action should not be handled as an error
Instead we should just show an information message why the file is not moved / copied.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-08-01 21:04:22 +00:00
Julius Härtl 06b149cac8 Merge pull request #46591 from nextcloud/fix/subtitle-on-search-for-share
fix(files_sharing): add missing subtitle on search for share recipients
2024-08-01 22:29:47 +02:00
Marco Ambrosini e10f0dc38b feat(theming): Update value of body container radius
Co-authored-by: Ferdinand Thiessen <opensource@fthiessen.de>
Signed-off-by: Marco Ambrosini <marcoambrosini@proton.me>
2024-08-01 21:41:21 +02:00
Marco Ambrosini 92e27a24f8 Feat: update border radius variables
Signed-off-by: Marco Ambrosini <marcoambrosini@proton.me>
2024-08-01 21:36:18 +02:00
Luka Trovic a371101690 fix(files_sharing): add missing subtitle on search for share recipients
Signed-off-by: Luka Trovic <luka@nextcloud.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-08-01 19:24:27 +00:00
Arthur Schiwon 1d147ac274 Merge pull request #46946 from nextcloud/release/30.0.0_beta_3
30.0.0 beta 3
2024-08-01 20:53:34 +02:00
Arthur Schiwon caea6cc01c build(assets): compile js
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2024-08-01 20:52:32 +02:00
Arthur Schiwon ff5939acfd build(hub): 30.0.0 beta 3
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2024-08-01 20:51:16 +02:00
Arthur Schiwon ef7d83044a Merge pull request #46596 from nextcloud/feat/folder-tree
feat: Navigate via folder tree
2024-08-01 20:47:59 +02:00
Arthur Schiwon 0447aa4e62 fix(LDAP): remove unneeded dependencies
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2024-08-01 20:13:11 +02:00
Git'Fellow 4488714148 Merge pull request #46353 from nextcloud/skipOPcacheCLI
fix(setupchecks): Skip checking for OPcache settings if running checks from CLI
2024-08-01 20:02:25 +02:00
SebastianKrupinski a56d0dbf4b fix(caldav): fixed initial sync and double processing
Signed-off-by: SebastianKrupinski <krupinskis05@gmail.com>
2024-08-01 13:20:47 -04:00
Christopher Ng 7f6d6d9896 chore: compile assets
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2024-08-01 09:22:01 -07:00
Christopher Ng 012e2687ab feat(files): Update openapi spec
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2024-08-01 09:17:56 -07:00
Christopher Ng 8f27cd6d5d test(files): Fix ApiController test
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2024-08-01 09:17:56 -07:00
Christopher Ng 0def7fa71c feat(files): Allow toggling folder tree
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2024-08-01 09:17:56 -07:00
Christopher Ng 5812a3422f fix(files): Fix root crumb not marking navigation entry as active
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2024-08-01 09:17:56 -07:00
Christopher Ng 3fabc4f733 feat: Navigate via folder tree
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2024-08-01 09:17:56 -07:00
Christopher Ng 855a45650e feat(files): Support setting view config for complex ids
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2024-08-01 09:17:36 -07:00
Christopher Ng aa4d82d428 feat(files): Implement endpoint to retrieve a user's folder tree
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2024-08-01 09:14:44 -07:00
Christopher Ng 8bbd326143 feat: Allow passing additional encode flags for json response
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2024-08-01 09:14:44 -07:00
Christopher Ng b859260423 feat: Increase max depth of encoded json
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2024-08-01 09:14:44 -07:00
Christopher Ng 572361f498 fix(files): Fix incorrect keys by reindexing
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2024-08-01 09:14:44 -07:00
Andy Scherzinger f645c9bd74 Merge pull request #46287 from nextcloud/fix/noid/missing-parentheses
fix(userstatus): add missing parenthesis
2024-08-01 18:13:43 +02:00
Stephan Orbaugh 5faa903363 Merge pull request #46881 from nextcloud/try-non-recursive-source
fix: try to find non-recursive share source
2024-08-01 16:55:59 +02:00
Richard Steinmetz abd7514c5e Merge pull request #46864 from nextcloud/fix/dont-persist-blurhash-preview-2
fix: don't persist previews used during blurhash generation - take 2
2024-08-01 16:17:10 +02:00
Anna Larch 3776eb4e01 fix(userstatus): add missing parenthesis
Signed-off-by: Anna Larch <anna@nextcloud.com>
2024-08-01 15:53:33 +02:00
Kate 13921cab98 Merge pull request #46807 from nextcloud/refactor/files/security-attributes 2024-08-01 15:40:40 +02:00
John Molakvoæ 60b9bb40f5 Merge pull request #46550 from nextcloud/fix/missing-RemoteException-class 2024-08-01 15:37:36 +02:00
Andy Scherzinger 39272bf458 Merge pull request #46918 from nextcloud/fix/recent-view
fix(files): Correctly create Nodes from WebDAV result in "recent"-view
2024-08-01 15:12:16 +02:00
Ferdinand Thiessen 6aaea2a261 chore: Compile assets
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-08-01 14:17:48 +02:00
Ferdinand Thiessen c8a5758ccd test: Add test for recent view
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-08-01 14:17:48 +02:00
Ferdinand Thiessen 270ec122e0 fix(files): Correctly create Nodes from WebDAV result in "recent"-view
The recent search works on a different remote URL so the source of the files were wrong,
because the remote url was included twice in the source.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-08-01 14:17:48 +02:00
Andy Scherzinger 014fcb0131 Merge pull request #45950 from nextcloud/chore/remove-depreacted-search
chore: Remove deprecated legacy search backend
2024-08-01 13:56:09 +02:00
Andy Scherzinger 1ddf8d8095 Merge pull request #40163 from nextcloud/enhanc/audit-tag-creator
Audit the tag creator
2024-08-01 13:38:49 +02:00
Anupam Kumar 4925cf37e9 Merge pull request #46943 from nextcloud/fix/ghost-providers
fix(AdminSettings/AI): show pref list of only the enabled translation providers
2024-08-01 16:25:30 +05:30
Julius Härtl a6d421e767 chore: Remove deprecated legacy search backend
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2024-08-01 12:33:18 +02:00
John Molakvoæ d8d5946952 Merge pull request #46928 from nextcloud/fix/files-pending-size 2024-08-01 12:32:53 +02:00
John Molakvoæ b950047c32 Merge pull request #46942 from nextcloud/fix/activity-sections 2024-08-01 12:01:31 +02:00
skjnldsv 57ab6e1180 fix(files): empty folder pending size
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-08-01 09:29:20 +00:00
greta d590373ae7 feat(admin_audit): Audit the tag creation
Co-authored-by: greta <gretadoci@gmail.com>
Co-authored-by: Ferdinand Thiessen <opensource@fthiessen.de>
Signed-off-by: greta <gretadoci@gmail.com>
2024-08-01 11:29:14 +02:00
John Molakvoæ 29661b045c Merge pull request #46930 from nextcloud/fix/app-menu-not-dot-pos 2024-08-01 11:03:44 +02:00
skjnldsv 80231e60aa fix(activity): regroup Files and spltit sharing activity
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2024-08-01 11:03:24 +02:00
skjnldsv 3ca6eb5098 fix(core): app menu notification should be in the top right
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-08-01 08:19:17 +00:00
Robin Appelman 9a06931175 feat: add command to export certificate bundle
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-08-01 10:06:50 +02:00
Anupam Kumar cf4326539e fix(AdminSettings/AI): show pref list of only the enabled translation providers
Signed-off-by: Anupam Kumar <kyteinsky@gmail.com>
2024-08-01 13:36:37 +05:30
Kate c52b7e5ebc Merge pull request #46804 from nextcloud/refactor/encryption/security-attributes 2024-08-01 09:56:19 +02:00
Kate 553224b0a2 Merge pull request #46810 from nextcloud/refactor/files_sharing/security-attributes 2024-08-01 09:55:55 +02:00
Andy Scherzinger 5bfe8dfbb0 Merge pull request #46873 from nextcloud/chore/hide-initial-state-into-container
chore(core): wrap initial state into hidden container
2024-08-01 09:50:12 +02:00
Maksim Sukharev c93bd561d1 Merge pull request #46925 from nextcloud/feat/add-small-font-size-variable
Add small font size variable
2024-08-01 09:20:31 +02:00
Marcel Klehr c4227ef448 Merge pull request #46912 from nextcloud/fix/taskprocessing-speech-to-text-legacy
More fixes for task processing
2024-08-01 09:04:15 +02:00
Marcel Klehr 5d98b647d6 Merge pull request #46872 from nextcloud/fix/taskprocessing/dont-break-with-provider-errors
fix(TaskProcessing): Don't break if provider methods throw
2024-08-01 09:02:26 +02:00
Marco 7221019151 Merge branch 'master' into feat/add-small-font-size-variable 2024-08-01 08:35:08 +02:00
John Molakvoæ 75f80cbdcb Merge pull request #46936 from nextcloud/dependabot/github_actions/github-actions-7693f3e7a3 2024-08-01 07:47:32 +02:00
Ferdinand Thiessen 20adbd1480 Merge pull request #46083 from nextcloud/refactor/files-logger
refactor(files): Migrate logger to Typescript
2024-08-01 07:30:36 +02:00
Ferdinand Thiessen cffe37e2d5 chore: Compile assets
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-08-01 07:15:19 +02:00
Ferdinand Thiessen 1b9d6194f3 refactor(files): Resort imports and fix doc comment
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-08-01 07:14:04 +02:00
github-actions[bot] bea2fb61ac Merge pull request #46901 from nextcloud/automated/noid/master-update-psalm-baseline
[master] Update psalm-baseline.xml
2024-08-01 02:54:58 +00:00
nextcloud-command 2d8f0b0559 chore(tests): Update psalm baseline
Signed-off-by: GitHub <noreply@github.com>
2024-08-01 02:31:50 +00:00
Ferdinand Thiessen 172c43351e refactor(files): Migrate logger util to Typescript
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-08-01 03:20:56 +02:00
Ferdinand Thiessen 356860c06d Merge pull request #46768 from nextcloud/fix/files-actions
fix(files): Provide default file action for file entry name (on click action)
2024-08-01 02:11:41 +02:00
Ferdinand Thiessen 948a64e22c chore: Compile assets
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-08-01 01:56:27 +02:00
Ferdinand Thiessen 7ec1a7888e fix(files): Add missing directory variable to error message
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-08-01 01:54:47 +02:00
Ferdinand Thiessen a39f13e94e fix(files): Provide file actions from list entry to make it reactive
This fixes non reactive default action text of the name component.
Also use download action as default action so that only one place
is needed to define how to download a file.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-08-01 01:54:42 +02:00
John Molakvoæ bfde05340a Merge pull request #46921 from nextcloud/fix/system-tags-displayname
fix(systemtags): Correctly set the display name for the Nextcloud node
2024-08-01 01:31:43 +02:00
dependabot[bot] 6edca57df4 build(deps): bump the github-actions group with 6 updates
Bumps the github-actions group with 6 updates:

| Package | From | To |
| --- | --- | --- |
| [shivammathur/setup-php](https://github.com/shivammathur/setup-php) | `2.31.0` | `2.31.1` |
| [actions/setup-node](https://github.com/actions/setup-node) | `4.0.2` | `4.0.3` |
| [cypress-io/github-action](https://github.com/cypress-io/github-action) | `6.7.1` | `6.7.2` |
| [actions/upload-artifact](https://github.com/actions/upload-artifact) | `4.3.3` | `4.3.4` |
| [codecov/codecov-action](https://github.com/codecov/codecov-action) | `4.1.1` | `4.5.0` |
| [mdecoleman/pr-branch-name](https://github.com/mdecoleman/pr-branch-name) | `2.0.0` | `3.0.0` |


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

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

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

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

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

Updates `mdecoleman/pr-branch-name` from 2.0.0 to 3.0.0
- [Release notes](https://github.com/mdecoleman/pr-branch-name/releases)
- [Commits](https://github.com/mdecoleman/pr-branch-name/compare/bab4c71506bcd299fb350af63bb8e53f2940a599...55795d86b4566d300d237883103f052125cc7508)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-07-31 22:54:25 +00:00
John Molakvoæ a5770a51ce Merge pull request #46917 from nextcloud/fix/add-missing-empty-content
fix(files): Add missing `emptyView` handling
2024-07-31 22:26:27 +02:00
Ferdinand Thiessen 835d357c85 fix(systemtags): Correctly set the display name for the Nextcloud node
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-07-31 20:10:23 +00:00
Ferdinand Thiessen f570507156 fix(files): Add missing emptyView handling
The interface provides this option but it was never implemented.
This feature of being able to render a custom empty view message is needed
for public file drops to properly show the terms of service.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-07-31 20:07:57 +00:00
Ferdinand Thiessen c8c84e6617 Merge pull request #46913 from nextcloud/fix/menu-order
fix: template folder and file request menu order
2024-07-31 21:52:51 +02:00
John Molakvoæ 0b3fa42dfe Merge pull request #46927 from nextcloud/fix/edit-locally-ppublic
fix(files): do not show legacy `edit locally` action on public pages
2024-07-31 20:48:26 +02:00
skjnldsv e2d49f49a9 fix(files): fix template folder and file request menu order
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-07-31 18:44:50 +00:00
skjnldsv 528134b46b chore(files_sharing): use spawnDialog for new file request handler
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2024-07-31 18:42:39 +00:00
Marco Ambrosini 9855485b0d feat: add small font size variable
This is needed to create a bit more hyerarchy between more important
and less important text. For example for the talk conversation
description in the header or in NcListItem's "subname"

Signed-off-by: Marco Ambrosini <marcoambrosini@proton.me>
2024-07-31 20:01:41 +02:00
Robin Appelman 5654799cb4 fix: fix passing additional db connection parameters in factory
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-07-31 18:53:42 +02:00
John Molakvoæ 8b238a2d76 Merge pull request #46916 from nextcloud/fix/appmenu-label-pos 2024-07-31 18:08:04 +02:00
skjnldsv 790d925024 fix(files): do not show legacy edit locally action on public pages
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2024-07-31 17:40:11 +02:00
skjnldsv b92e0c7c6b fix(core): do not show unread notification on app menu hover
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-07-31 15:30:05 +00:00
skjnldsv 937bb4a539 fix(core): app menu label position and animation
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2024-07-31 15:26:07 +00:00
Marco b17508adf5 Merge pull request #46876 from nextcloud/feat/update-line-height
Update line height
2024-07-31 17:20:27 +02:00
Josh 019c4fe958 Merge pull request #46915 from nextcloud/fix/config-php-sample-imaginary
fix: don't break doc builds / fix imaginary config sample formatting
2024-07-31 10:46:35 -04:00
Ferdinand Thiessen 4ecd592227 Merge pull request #46892 from nextcloud/fix/add-note-to-recipient
fix(files_sharing): Add missing "note to recipient"
2024-07-31 16:12:56 +02:00
Richard Steinmetz 74eeff7fbb fix(caldav): allow listing of room and resource principals
Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
2024-07-31 15:47:02 +02:00
Ferdinand Thiessen 1ce365a72c chore: Compile assets
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-07-31 15:10:51 +02:00
Ferdinand Thiessen 5b8786d02a test(files_sharing): Add test for "note to recipient" feature
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-07-31 15:05:15 +02:00
Ferdinand Thiessen 5b400c1be7 fix(files_sharing): Ensure "note to recipient" textarea is shown if there is a note
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-07-31 15:05:15 +02:00
Ferdinand Thiessen d6518196cc fix(files_sharing): Add missing "note to recipient"
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-07-31 15:05:15 +02:00
Marco e3fa5fe136 Merge branch 'master' into feat/update-line-height 2024-07-31 15:02:13 +02:00
Josh de9c4716f9 fix: don't break doc builds / fix imaginary config sample formatting
Signed-off-by: Josh <josh.t.richards@gmail.com>
2024-07-31 08:56:35 -04:00
Marco Ambrosini e537728dd1 Feat: update line height
Since we have different font sizes, we should make the line height
dependent on the font size and not a fixed value. The recommended
value for accessibility is 1.5.
https://www.w3.org/WAI/WCAG21/Understanding/text-spacing.html

Signed-off-by: Marco Ambrosini <marcoambrosini@proton.me>
2024-07-31 14:36:23 +02:00
Marcel Klehr 5e4200853f fix(TaskProcessing): Legacy Speech To Text support needs UserId
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2024-07-31 12:43:05 +02:00
Ferdinand Thiessen 6a0edef4da Merge pull request #46897 from nextcloud/fix/missing-template
revert: chore(files): cleanup old templates
2024-07-31 12:22:27 +02:00
F. E Noel Nfebe 0e2ef428a0 Merge pull request #46452 from nextcloud/feat/46438/provide-feedback-edit-locally
feat(editLocallyAction): Handle possible no local client scenario
2024-07-31 11:09:24 +01:00
nextcloud-command 3d14959ce2 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-07-31 09:48:07 +00:00
fenn-cs efcf98d923 fix: Adjust tests for editLocallyAction
Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
2024-07-31 10:28:05 +01:00
fenn-cs 267ae6f97c feat(editLocallyAction): Handle possible no local client scenario
Resolves: https://github.com/nextcloud/server/issues/46438

Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
2024-07-31 10:25:26 +01:00
Andy Scherzinger 2d299d9da7 Merge pull request #46896 from nextcloud/fix/files-actions-contaniner
fix(files): Set container for file list actions
2024-07-31 11:11:41 +02:00
Christoph Wurst f4eff7442c Merge pull request #45306 from nextcloud/perf/systemtags-object-mapping-objectid-index
perf(systemtags): Add index for systemtags_object_mappings.objectid
2024-07-31 11:08:07 +02:00
Ferdinand Thiessen 8241af0414 revert: chore(files): cleanup old templates
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-07-31 10:58:00 +02:00
Ferdinand Thiessen 1bedc2cb81 chore: Compile assets
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-07-31 10:48:16 +02:00
Kate e7eea9791c Merge pull request #46747 from nextcloud/refactor/dav/security-attributes 2024-07-31 10:46:32 +02:00
Ferdinand Thiessen 6bd886ef6e fix(files): Set container for file list actions
This is needed to ensure the actions are rendered below dialogs which will have the body as the container.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-07-31 10:42:54 +02:00
John Molakvoæ fcc63cad7f Merge pull request #46903 from nextcloud/feat/module-webpack-dev 2024-07-31 09:43:04 +02:00
Andy Scherzinger e0844a36ad Merge pull request #42746 from j-carl/nextcloud-server/update-irc-url
Update IRC URL
2024-07-31 09:00:14 +02:00
Andy Scherzinger 694eac28c2 docs: Update CONTRIBUTING.md
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2024-07-31 08:59:50 +02:00
Jens Carl d23e5195a0 Update IRC URL
Signed-off-by: Jens Carl <j.carl43@gmx.de>
2024-07-31 08:57:41 +02:00
skjnldsv a04c9e6fd8 fix(build): do not run SPDX Plugin in dev mode
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2024-07-31 08:57:18 +02:00
John Molakvoæ 8ff8d9ca19 Merge pull request #46893 from nextcloud/fix/cypress-local 2024-07-31 08:34:51 +02:00
John Molakvoæ 45073f9448 Merge pull request #46895 from nextcloud/fix/template-filler 2024-07-31 08:24:58 +02:00
Nextcloud bot 4b4af0b6b8 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-07-31 00:20:17 +00:00
Joas Schilling 3a9e154d38 Merge pull request #46894 from nextcloud/bugfix/noid/improve-explanation-of-timestamp
fix(trashbin): Improve documentation of since/until timestamps of res…
2024-07-31 00:18:50 +02:00
Elizabeth Danzberger e8c1e65ba8 fix: Commit assets
Signed-off-by: Elizabeth Danzberger <lizzy7128@tutanota.de>
2024-07-30 16:05:54 -04:00
Kate 1df2f7ee0e Merge pull request #46822 from nextcloud/refactor/user_ldap/security-attributes 2024-07-30 22:01:20 +02:00
Kate d539717d33 Merge pull request #46824 from nextcloud/refactor/weather_status/security-attributes 2024-07-30 22:00:48 +02:00
Elizabeth Danzberger 423730963d fix: Go back to template picker if template filler closed
Signed-off-by: Elizabeth Danzberger <lizzy7128@tutanota.de>
2024-07-30 15:30:36 -04:00
Elizabeth Danzberger 6c3a4a9f20 fix: Template filler shows only if template has fields
Signed-off-by: Elizabeth Danzberger <lizzy7128@tutanota.de>
2024-07-30 15:18:09 -04:00
Joas Schilling bfd96b070b fix(trashbin): Improve documentation of since/until timestamps of restore trashbin
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-07-30 20:33:56 +02:00
F. E Noel Nfebe 17ff269036 Merge pull request #46830 from nextcloud/chore/42501/enhance-automcompletion-setting-text
chore(ShareSettings): Proper wording for share autocompletion settings
2024-07-30 19:19:40 +01:00
Ferdinand Thiessen 0153124f98 chore: Fix cypress docker integration when testing locally
The tar library was updated but not the syntax adjusted.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-07-30 20:12:28 +02:00
nextcloud-command 4ee3701333 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-07-30 18:03:35 +00:00
fenn-cs ca8fc8d2d5 chore(ShareSettings): Proper wording for share autocompletion settings
The existing is incorrect and can be misleading as seen in : https://github.com/nextcloud/server/issues/42501

Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
2024-07-30 18:56:50 +01:00
Joas Schilling cef675358b Merge pull request #46099 from nextcloud/fix/properly-add-accept-share-interface
fix: Add `acceptShare` as an interface
2024-07-30 18:35:16 +02:00
Kate b5bc4f31cf Merge pull request #46744 from nextcloud/refactor/cloud_federation_api/security-attributes 2024-07-30 17:55:46 +02:00
Josh 49a63761cc feat: enable bruteforcesettings app by default
Brute force protection is automatically enabled. The settings app for it should be enabled by default too. Already shipped and it can still be disabled if desired.

Signed-off-by: Josh <josh.t.richards@gmail.com>
2024-07-30 11:18:58 -04:00
Côme Chilliet 30a2e8f9b8 fix(files_versions): Catch constraint error on version insertion
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-07-30 17:09:10 +02:00
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
Robin Appelman 7343da4a9c fix: try to find non-recursive share source
instead of always picking the first one, try to find one that won't blow up

Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-07-30 15:32:07 +02:00
Ferdinand Thiessen 3d136e4466 fix: Add acceptShare as an interface
It was commented out because at that time no other share provider
supported the `acceptShare` method. Today it is the same no other provider
supports it, but we should make it discoverable by adding it to the public API
as an additional interface.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-07-30 15:25:51 +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
Marcel Klehr 1205379f5a fix(TaskProcessing): Don't break if provider methods throw
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2024-07-30 13:25:39 +02:00
Grigorii K. Shartsev 885ec73603 chore(core): wrap initial state into hidden container
Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
2024-07-30 13:24:38 +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
Christoph Wurst 9f23b43e8b perf(systemtags): Add index for systemtags_object_mappings.objectid
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2024-07-30 13:13:48 +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
skjnldsv 0e88e066e0 fix(dav): drop unwanted RemoteException class
Signed-off-by: skjnldsv <skjnldsv@protonmail.com>
2024-07-30 12:12:32 +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
Richard Steinmetz 08c785ff46 fix: don't persist previews used during blurhash generation
Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
2024-07-30 09:09:26 +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
provokateurin d8adbce1be refactor(oauth2): Replace security annotations with respective attributes
Signed-off-by: provokateurin <kate@provokateurin.de>
2024-07-29 16:45:54 +02: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
provokateurin 9d6221e098 refactor(dav): Replace security annotations with respective attributes
Signed-off-by: provokateurin <kate@provokateurin.de>
2024-07-28 10:53: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
provokateurin dc1c2c3bed refactor(federation): Replace security annotations with respective attributes
Signed-off-by: provokateurin <kate@provokateurin.de>
2024-07-28 08:36:17 +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 f012c996ee refactor(settings): Replace security annotations with respective attributes
Signed-off-by: provokateurin <kate@provokateurin.de>
2024-07-27 22:49:43 +02:00
provokateurin 8db6cfca1c refactor(cloud_federation_api): Replace security annotations with respective attributes
Signed-off-by: provokateurin <kate@provokateurin.de>
2024-07-27 22:47:40 +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 3fde60db85 refactor(files): Replace security annotations with respective attributes
Signed-off-by: provokateurin <kate@provokateurin.de>
2024-07-27 22:44:01 +02:00
provokateurin 9128a23af1 refactor(files_sharing): Replace security annotations with respective attributes
Signed-off-by: provokateurin <kate@provokateurin.de>
2024-07-27 22:42:51 +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 9b8488ed0e refactor(user_ldap): Replace security annotations with respective attributes
Signed-off-by: provokateurin <kate@provokateurin.de>
2024-07-27 22:39:08 +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 b1b6b51c11 refactor(weather_status): Replace security annotations with respective attributes
Signed-off-by: provokateurin <kate@provokateurin.de>
2024-07-27 21:36:04 +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 8d823344e3 refactor(updatenotification): Replace security annotations with respective attributes
Signed-off-by: provokateurin <kate@provokateurin.de>
2024-07-27 21:35:26 +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 2c8f6a009a refactor(files_versions): Replace security annotations with respective attributes
Signed-off-by: provokateurin <kate@provokateurin.de>
2024-07-27 21:34:00 +02:00
provokateurin 220c6a2bd9 refactor(files_trashbin): Replace security annotations with respective attributes
Signed-off-by: provokateurin <kate@provokateurin.de>
2024-07-27 21:33:47 +02:00
provokateurin 4016aace04 refactor(encryption): Replace security annotations with respective attributes
Signed-off-by: provokateurin <kate@provokateurin.de>
2024-07-27 21:32:47 +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
Louis Chemineau 6e76aed867 fix: Use timestamp instead of revision id in files_versions metadata API
Signed-off-by: Louis Chemineau <louis@chmn.me>
2024-07-24 09:34:13 +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
Bahman Jafarzadeh 15936040f9 docs: added customclient_fdroid config key to config.sample.php file
Co-authored-by: Josh <josh.t.richards@gmail.com>
Signed-off-by: Bahman Jafarzadeh <bahman026@gmail.com>
2024-07-09 13:20:06 +03:30
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
Git'Fellow fa84f52c3f fix: typo
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
2024-07-08 15:11:35 +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
Git'Fellow 372c9d2ee6 fix: check both CLI and value
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
2024-07-08 15:09:29 +02: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
Git'Fellow 39f052407a fix(setupchecks): Skip checking for OPcache if running from CLI
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
2024-07-08 10:43:20 +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
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
SebastianKrupinski 65e4d46e2c chore(caldav): remove obsolete function
Signed-off-by: SebastianKrupinski <krupinskis05@gmail.com>
2024-07-04 03:39:49 -04: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
Josh 8e00fcb1c8 fix(config) : Clarity smtp debugging config option usage
Requires temporary `loglevel` adjustment "99%" (made up statistic) of the time as currently implemented.

Signed-off-by: Josh <josh.t.richards@gmail.com>
2024-07-01 13:29:23 -04:00
John Molakvoæ 3e06931408 fix(dav): WebcalCaching-Plugin lint
Signed-off-by: John Molakvoæ <skjnldsv@users.noreply.github.com>
2024-06-27 09:46:40 +02:00
Vivida 58cf14da87 feat(dav): add regex to match Gnome and KDE calendar user-agents
Signed-off-by: Vivida <57828684+Vivida1@users.noreply.github.com>
2024-06-27 09:46:40 +02: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
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
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
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
Josh Richards 046fe8d404 fix(previews): Don't crash on animated WEBP images
Fixes #30029 and #37263

libgd handles animated WEBP images poorly and generates a meaningless error message as a result. We were returning a 500 error for these preview requests (web) and a fatal error at the command-line (occ). Now we bypass libgd if the we detect an animated WEBP image (and simply don't generate the preview). No more 500 error. Should fix occ too.

Signed-off-by: Josh Richards <josh.t.richards@gmail.com>
Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
2024-05-30 07:48:17 +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
Josh Richards e7cbaf3ee3 Clean-up some remaining readdir calls with undesirable false evaluation potential
Signed-off-by: Josh Richards <josh.t.richards@gmail.com>
2023-06-24 15:37:06 +02:00
4193 changed files with 90299 additions and 63556 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',
},
}
],
}
+8
View File
@@ -0,0 +1,8 @@
# .git-blame-ignore-revs
# SPDX-FileCopyrightText: 2024 Nextcloud GmbH and Nextcloud contributors
# SPDX-License-Identifier: AGPL-3.0-or-later
# Update to coding-standard 1.2.3
af6de04e9e141466dc229e444ff3f146f4a34765
0bd284cb81b6866338aaaa67aa1d81ef9bfbb2ab
+2 -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
@@ -26,6 +26,7 @@
/apps/user_ldap/appinfo/info.xml @come-nc @blizzz
/apps/user_status/appinfo/info.xml @Antreesy @nickvergessen
/apps/weather_status/appinfo/info.xml @julien-nc @juliushaertl
/apps/webhook_listeners/appinfo/info.xml @come-nc @julien-nc
/apps/workflowengine/appinfo/info.xml @blizzz @juliushaertl
# Frontend expertise
+2 -2
View File
@@ -4,7 +4,7 @@
-->
## Submitting issues
If you have questions about how to install or use Nextcloud, please direct these to our [forum][forum]. We are also available on [IRC][irc].
If you have questions about how to install or use Nextcloud, please direct these to our [forum][forum]. We are also available on [IRC][irc] (unofficial).
### Short version
@@ -25,7 +25,7 @@ Help us to maximize the effort we can spend fixing issues and adding new feature
[templates]: ./ISSUE_TEMPLATE
[forum]: https://help.nextcloud.com/
[irc]: https://webchat.freenode.net/?channels=nextcloud
[irc]: https://web.libera.chat/#nextcloud
## Contributing to Source Code
+37
View File
@@ -138,6 +138,25 @@ updates:
# Disable automatic rebasing because without a build CI will likely fail anyway
rebase-strategy: "disabled"
- package-ecosystem: npm
directory: "/"
schedule:
interval: weekly
day: saturday
time: "03:00"
timezone: Europe/Paris
target-branch: stable30
labels:
- "3. to review"
- "feature: dependencies"
reviewers:
- "nextcloud/server-dependabot"
ignore:
- dependency-name: "*"
update-types: ["version-update:semver-major", "version-update:semver-minor"]
# Disable automatic rebasing because without a build CI will likely fail anyway
rebase-strategy: "disabled"
- package-ecosystem: composer
directory: "/build/integration"
schedule:
@@ -174,6 +193,24 @@ updates:
- dependency-name: "*"
update-types: ["version-update:semver-major", "version-update:semver-minor", "version-update:semver-patch"]
- package-ecosystem: composer
directory: "/build/integration"
schedule:
interval: weekly
day: saturday
time: "03:00"
timezone: Europe/Paris
target-branch: stable30
labels:
- "3. to review"
- "feature: dependencies"
reviewers:
- "nextcloud/server-dependabot"
ignore:
# ignore all GitHub linguist patch updates
- dependency-name: "*"
update-types: ["version-update:semver-major", "version-update:semver-minor", "version-update:semver-patch"]
# GitHub Actions
- package-ecosystem: "github-actions"
directory: "/"
+98
View File
@@ -0,0 +1,98 @@
# SPDX-FileCopyrightText: 2024 Nextcloud GmbH and Nextcloud contributors
# SPDX-License-Identifier: MIT
name: Code checkers
on:
pull_request:
permissions:
contents: read
concurrency:
group: autocheckers-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs:
changes:
runs-on: ubuntu-latest-low
outputs:
src: ${{ steps.changes.outputs.src }}
steps:
- uses: dorny/paths-filter@de90cc6fb38fc0963ad72b210f1f284cd68cea36 # v3.0.2
id: changes
continue-on-error: true
with:
filters: |
src:
- '.github/workflows/**'
- '3rdparty/**'
- '**/appinfo/**'
- '**/lib/**'
- '**/templates/**'
- 'vendor/**'
- 'vendor-bin/**'
- 'composer.json'
- 'composer.lock'
- '**.php'
autocheckers:
runs-on: ubuntu-latest
needs: changes
if: needs.changes.outputs.src != 'false'
strategy:
matrix:
php-versions: ['8.3']
name: PHP checkers
steps:
- name: Checkout server
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332
with:
submodules: true
- name: Set up php ${{ matrix.php-versions }}
uses: shivammathur/setup-php@c541c155eee45413f5b09a52248675b1a2575231 #v2.31.1
with:
php-version: ${{ matrix.php-versions }}
extensions: ctype, json, mbstring
coverage: none
ini-file: development
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Set up dependencies
run: composer i
- name: Check auto loaders
run: bash ./build/autoloaderchecker.sh
- name: Check translations are JSON decodeable
run: php ./build/translation-checker.php
- name: Check translations do not contain triple dot but ellipsis
run: php ./build/triple-dot-checker.php
- name: Check .htaccess does not contain invalid changes
run: php ./build/htaccess-checker.php
- name: Check that all and only expected files are included
run: php ./build/files-checker.php
summary:
permissions:
contents: none
runs-on: ubuntu-latest-low
needs: [changes, autocheckers]
if: always()
name: autocheckers-summary
steps:
- name: Summary status
run: if ${{ needs.changes.outputs.src != 'false' && needs.autocheckers.result != 'success' }}; then exit 1; fi
+40
View File
@@ -0,0 +1,40 @@
# This workflow is provided via the organization template repository
#
# https://github.com/nextcloud/.github
# https://docs.github.com/en/actions/learn-github-actions/sharing-workflows-with-your-organization
#
# SPDX-FileCopyrightText: 2022-2024 Nextcloud GmbH and Nextcloud contributors
# SPDX-License-Identifier: MIT
name: Block merges for EOL
on: pull_request
permissions:
contents: read
concurrency:
group: block-merge-eol-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs:
block-merges-eol:
name: Block merges for EOL branches
# Only run on stableXX branches
if: startsWith( github.base_ref, 'stable')
runs-on: ubuntu-latest-low
steps:
- name: Set server major version environment
run: |
# retrieve version number from branch reference
server_major=$(echo "${{ github.base_ref }}" | sed -En 's/stable//p')
echo "server_major=$server_major" >> $GITHUB_ENV
echo "current_month=$(date +%Y-%m)" >> $GITHUB_ENV
- name: Checking if ${{ env.server_major }} is EOL
run: |
curl -s https://raw.githubusercontent.com/nextcloud-releases/updater_server/production/config/major_versions.json \
| jq '.["${{ env.server_major }}"]["eol"] // "9999-99" | . >= "${{ env.current_month }}"' \
| grep -q true
+35
View File
@@ -0,0 +1,35 @@
# This workflow is provided via the organization template repository
#
# https://github.com/nextcloud/.github
# https://docs.github.com/en/actions/learn-github-actions/sharing-workflows-with-your-organization
#
# SPDX-FileCopyrightText: 2022-2024 Nextcloud GmbH and Nextcloud contributors
# SPDX-License-Identifier: MIT
name: Block merges during freezes
on:
pull_request:
types: [opened, ready_for_review, reopened, synchronize]
permissions:
contents: read
concurrency:
group: block-merge-freeze-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs:
block-merges-during-freeze:
name: Block merges during freezes
if: github.event.pull_request.draft == false
runs-on: ubuntu-latest-low
steps:
- name: Download version.php from ${{ github.base_ref }}
run: curl 'https://raw.githubusercontent.com/nextcloud/server/${{ github.base_ref }}/version.php' --output version.php
- name: Run check
run: cat version.php | grep 'OC_VersionString' | grep -i -v 'RC'
@@ -0,0 +1,55 @@
# SPDX-FileCopyrightText: 2024 Nextcloud GmbH and Nextcloud contributors
# SPDX-License-Identifier: MIT
name: Block merging with outdated 3rdparty/
on:
pull_request:
types: [opened, ready_for_review, reopened, synchronize]
permissions:
contents: read
concurrency:
group: block-outdated-3rdparty-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs:
block-outdated-3rdparty:
name: Block merging with outdated 3rdparty/
runs-on: ubuntu-latest-low
steps:
- name: Check requirement
uses: dorny/paths-filter@de90cc6fb38fc0963ad72b210f1f284cd68cea36 # v3.0.2
id: changes
continue-on-error: true
with:
filters: |
src:
- '3rdparty'
- 'version.php'
- name: Checkout
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
- name: 3rdparty commit hash on current branch
id: actual
run: |
echo "commit=$(git submodule status | grep ' 3rdparty' | egrep -o '[a-f0-9]{40}')" >> "$GITHUB_OUTPUT"
- name: Last 3rdparty commit on target branch
id: target
run: |
echo "commit=$(git ls-remote https://github.com/nextcloud/3rdparty refs/heads/${{ github.base_ref }} | awk '{ print $1}')" >> "$GITHUB_OUTPUT"
- name: Compare if 3rdparty commits are different
run: |
echo '3rdparty/ seems to not point to the last commit of the dedicated branch:'
echo 'Branch has: ${{ steps.actual.outputs.commit }}'
echo '${{ github.base_ref }} has: ${{ steps.target.outputs.commit }}'
- name: Fail if 3rdparty commits are different
if: ${{ steps.changes.outputs.src != 'false' && steps.actual.outputs.commit != steps.target.outputs.commit }}
run: |
exit 1
@@ -0,0 +1,34 @@
# 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: 2024 Nextcloud GmbH and Nextcloud contributors
# SPDX-License-Identifier: MIT
name: Block unconventional commits
on:
pull_request:
types: [opened, ready_for_review, reopened, synchronize]
permissions:
contents: read
concurrency:
group: block-unconventional-commits-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs:
block-unconventional-commits:
name: Block unconventional commits
runs-on: ubuntu-latest-low
steps:
- name: Checkout
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
- uses: webiny/action-conventional-commits@8bc41ff4e7d423d56fa4905f6ff79209a78776c7 # v1.3.0
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
+179
View File
@@ -0,0 +1,179 @@
# This workflow is provided via the organization template repository
#
# https://github.com/nextcloud/.github
# https://docs.github.com/en/actions/learn-github-actions/sharing-workflows-with-your-organization
#
# SPDX-FileCopyrightText: 2021-2024 Nextcloud GmbH and Nextcloud contributors
# SPDX-License-Identifier: MIT
name: Compile Command
on:
issue_comment:
types: [created]
jobs:
init:
runs-on: ubuntu-latest
# On pull requests and if the comment starts with `/compile`
if: github.event.issue.pull_request != '' && startsWith(github.event.comment.body, '/compile')
outputs:
git_path: ${{ steps.git-path.outputs.path }}
arg1: ${{ steps.command.outputs.arg1 }}
arg2: ${{ steps.command.outputs.arg2 }}
head_ref: ${{ steps.comment-branch.outputs.head_ref }}
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:
require: write
- name: Add reaction on start
uses: peter-evans/create-or-update-comment@71345be0265236311c031f5c7866368bd1eff043 # v4.0.0
with:
token: ${{ secrets.COMMAND_BOT_PAT }}
repository: ${{ github.event.repository.full_name }}
comment-id: ${{ github.event.comment.id }}
reactions: '+1'
- name: Parse command
uses: skjnldsv/parse-command-comment@5c955203c52424151e6d0e58fb9de8a9f6a605a1 # v2
id: command
# Init path depending on which command is run
- name: Init path
id: git-path
run: |
if ${{ startsWith(steps.command.outputs.arg1, '/') }}; then
echo "path=${{steps.command.outputs.arg1}}" >> $GITHUB_OUTPUT
else
echo "path=${{steps.command.outputs.arg2}}" >> $GITHUB_OUTPUT
fi
- name: Init branch
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
steps:
- name: Restore cached git repository
uses: buildjet/cache@e376f15c6ec6dc595375c78633174c7e5f92dc0e # v3
with:
path: .git
key: git-repo
- name: Checkout ${{ needs.init.outputs.head_ref }}
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
with:
token: ${{ secrets.COMMAND_BOT_PAT }}
fetch-depth: 0
ref: ${{ needs.init.outputs.head_ref }}
- name: Setup git
run: |
git config --local user.email 'nextcloud-command@users.noreply.github.com'
git config --local user.name 'nextcloud-command'
- name: Read package.json node and npm engines version
uses: skjnldsv/read-package-engines-version-actions@06d6baf7d8f41934ab630e97d9e6c0bc9c9ac5e4 # v3
id: package-engines-versions
with:
fallbackNode: '^20'
fallbackNpm: '^10'
- name: Set up node ${{ steps.package-engines-versions.outputs.nodeVersion }}
uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b # v3
with:
node-version: ${{ steps.package-engines-versions.outputs.nodeVersion }}
cache: npm
- 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: |
git fetch origin '${{ needs.init.outputs.base_ref }}:${{ needs.init.outputs.base_ref }}'
git rebase 'origin/${{ needs.init.outputs.base_ref }}'
- name: Install dependencies & build
env:
CYPRESS_INSTALL_BINARY: 0
PUPPETEER_SKIP_DOWNLOAD: true
run: |
npm ci
npm run build --if-present
- name: Commit default
if: ${{ !contains(needs.init.outputs.arg1, 'fixup') && !contains(needs.init.outputs.arg1, 'amend') }}
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: |
git add '${{ github.workspace }}${{ needs.init.outputs.git_path }}'
git commit --fixup=HEAD --signoff
- name: Commit amend
if: ${{ contains(needs.init.outputs.arg1, 'amend') }}
run: |
git add '${{ github.workspace }}${{ needs.init.outputs.git_path }}'
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 }}'
- name: Force push
if: ${{ contains(needs.init.outputs.arg1, 'rebase') || contains(needs.init.outputs.arg1, 'amend') }}
run: git push --force origin '${{ needs.init.outputs.head_ref }}'
- 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"
@@ -0,0 +1,68 @@
# SPDX-FileCopyrightText: 2022 Nextcloud GmbH and Nextcloud contributors
# SPDX-License-Identifier: MIT
name: Update 3rdparty command
on:
issue_comment:
types: created
permissions:
contents: read
jobs:
rebase:
runs-on: ubuntu-latest
permissions:
contents: none
# On pull requests and if the comment starts with `/update-3rdparty`
if: github.event.issue.pull_request != '' && startsWith(github.event.comment.body, '/update-3rdparty')
steps:
- name: Add reaction on start
uses: peter-evans/create-or-update-comment@71345be0265236311c031f5c7866368bd1eff043 # v3.0.1
with:
token: ${{ secrets.COMMAND_BOT_PAT }}
repository: ${{ github.event.repository.full_name }}
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@692973e3d937129bcbf40652eb9f2f61becf3332
with:
fetch-depth: 0
token: ${{ secrets.COMMAND_BOT_PAT }}
ref: ${{ steps.comment-branch.outputs.head_ref }}
- name: Setup git
run: |
git config --local user.email 'nextcloud-command@users.noreply.github.com'
git config --local user.name 'nextcloud-command'
- name: Pull 3rdparty
run: git submodule foreach 'if [ "$sm_path" == "3rdparty" ]; then git pull origin '"'"'${{ github.event.issue.pull_request.base.ref }}'"'"'; fi'
- name: Commit and push changes
run: |
git add 3rdparty
git commit -s -m 'Update submodule 3rdparty to latest ${{ github.event.issue.pull_request.base.ref }}'
git push
- name: Add reaction on failure
uses: peter-evans/create-or-update-comment@71345be0265236311c031f5c7866368bd1eff043 # v3.0.1
if: failure()
with:
token: ${{ secrets.COMMAND_BOT_PAT }}
repository: ${{ github.event.repository.full_name }}
comment-id: ${{ github.event.comment.id }}
reactions: '-1'
+184
View File
@@ -0,0 +1,184 @@
# This workflow is provided via the organization template repository
#
# https://github.com/nextcloud/.github
# https://docs.github.com/en/actions/learn-github-actions/sharing-workflows-with-your-organization
#
# SPDX-FileCopyrightText: 2023-2024 Nextcloud GmbH and Nextcloud contributors
# SPDX-License-Identifier: MIT
name: Cypress
on: pull_request
concurrency:
group: cypress-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
env:
# Adjust APP_NAME if your repository name is different
APP_NAME: ${{ github.event.repository.name }}
# Server requires head_ref instead of base_ref, as we want to test the PR branch
BRANCH: ${{ github.head_ref || github.ref_name }}
jobs:
init:
runs-on: ubuntu-latest
outputs:
nodeVersion: ${{ steps.versions.outputs.nodeVersion }}
npmVersion: ${{ steps.versions.outputs.npmVersion }}
env:
# We'll install cypress in the cypress job
CYPRESS_INSTALL_BINARY: 0
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@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
with:
# We need to checkout submodules for 3rdparty
submodules: true
- name: Check composer.json
id: check_composer
uses: andstor/file-existence-action@076e0072799f4942c8bc574a82233e1e4d13e9d6 # v3.0.0
with:
files: "composer.json"
- name: Install composer dependencies
if: steps.check_composer.outputs.files_exists == 'true'
run: composer install --no-dev
- name: Read package.json node and npm engines version
uses: skjnldsv/read-package-engines-version-actions@06d6baf7d8f41934ab630e97d9e6c0bc9c9ac5e4 # v3
id: versions
with:
fallbackNode: "^20"
fallbackNpm: "^10"
- name: Set up node ${{ steps.versions.outputs.nodeVersion }}
uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b # v4.0.3
with:
node-version: ${{ steps.versions.outputs.nodeVersion }}
- name: Set up npm ${{ steps.versions.outputs.npmVersion }}
run: npm i -g 'npm@${{ steps.versions.outputs.npmVersion }}'
- name: Install node dependencies & build app
run: |
npm ci
TESTING=true npm run build --if-present
- name: Show cypress version
run: npm run cypress:version
- name: Save context
uses: buildjet/cache/save@e376f15c6ec6dc595375c78633174c7e5f92dc0e # v3
with:
key: cypress-context-${{ github.run_id }}
path: ./
cypress:
runs-on: ubuntu-latest
needs: init
strategy:
fail-fast: false
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', '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: [8]
name: runner ${{ matrix.containers }}
steps:
- name: Restore context
uses: buildjet/cache/restore@e376f15c6ec6dc595375c78633174c7e5f92dc0e # v3
with:
fail-on-cache-miss: true
key: cypress-context-${{ github.run_id }}
path: ./
- name: Set up node ${{ needs.init.outputs.nodeVersion }}
uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b # v4.0.3
with:
node-version: ${{ needs.init.outputs.nodeVersion }}
- name: Set up npm ${{ needs.init.outputs.npmVersion }}
run: npm i -g 'npm@${{ needs.init.outputs.npmVersion }}'
- name: Install cypress
run: ./node_modules/cypress/bin/cypress install
- name: Run ${{ matrix.containers == 'component' && 'component' || 'E2E' }} cypress tests
uses: cypress-io/github-action@df7484c5ba85def7eef30db301afa688187bc378 # v6.7.2
with:
# We already installed the dependencies in the init job
install: false
component: ${{ matrix.containers == 'component' }}
group: ${{ matrix.use-cypress-cloud && matrix.containers == 'component' && 'Run component' || matrix.use-cypress-cloud && 'Run E2E' || '' }}
# cypress env
ci-build-id: ${{ matrix.use-cypress-cloud && format('{0}-{1}', github.sha, github.run_number) || '' }}
tag: ${{ matrix.use-cypress-cloud && github.event_name || '' }}
env:
# Needs to be prefixed with CYPRESS_
CYPRESS_BRANCH: ${{ env.BRANCH }}
# https://github.com/cypress-io/github-action/issues/124
COMMIT_INFO_MESSAGE: ${{ github.event.pull_request.title }}
# Needed for some specific code workarounds
TESTING: true
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
CYPRESS_RECORD_KEY: ${{ secrets.CYPRESS_RECORD_KEY }}
SPLIT: ${{ matrix.total-containers }}
SPLIT_INDEX: ${{ matrix.containers == 'component' && 0 || matrix.containers }}
- name: Upload snapshots
uses: actions/upload-artifact@0b2256b8c012f0828dc542b3febcab082c67f72b # v4.3.4
if: always()
with:
name: snapshots_${{ matrix.containers }}
path: cypress/snapshots
- name: Extract NC logs
if: failure() && matrix.containers != 'component'
run: docker logs nextcloud-cypress-tests-${{ env.APP_NAME }} > nextcloud.log
- name: Upload NC logs
uses: actions/upload-artifact@0b2256b8c012f0828dc542b3febcab082c67f72b # v4.3.4
if: failure() && matrix.containers != 'component'
with:
name: nc_logs_${{ matrix.containers }}
path: nextcloud.log
- name: Create data dir archive
if: failure() && matrix.containers != 'component'
run: docker exec nextcloud-cypress-tests-server tar -cvjf - data > data.tar
- name: Upload data dir archive
uses: actions/upload-artifact@0b2256b8c012f0828dc542b3febcab082c67f72b # v4.3.4
if: failure() && matrix.containers != 'component'
with:
name: nc_data_${{ matrix.containers }}
path: data.tar
summary:
runs-on: ubuntu-latest-low
needs: [init, cypress]
if: always()
name: cypress-summary
steps:
- name: Summary status
run: if ${{ needs.init.result != 'success' || ( needs.cypress.result != 'success' && needs.cypress.result != 'skipped' ) }}; then exit 1; fi
@@ -0,0 +1,49 @@
# This workflow is provided via the organization template repository
#
# https://github.com/nextcloud/.github
# https://docs.github.com/en/actions/learn-github-actions/sharing-workflows-with-your-organization
#
# SPDX-FileCopyrightText: 2021-2024 Nextcloud GmbH and Nextcloud contributors
# SPDX-License-Identifier: MIT
name: Dependabot
on:
pull_request_target:
branches:
- main
- master
- stable*
permissions:
contents: read
concurrency:
group: dependabot-approve-merge-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs:
auto-approve-merge:
if: github.actor == 'dependabot[bot]' || github.actor == 'renovate[bot]'
runs-on: ubuntu-latest-low
permissions:
# for hmarr/auto-approve-action to approve PRs
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:
github-token: ${{ secrets.GITHUB_TOKEN }}
# Nextcloud bot approve and merge request
- uses: ahmadnassri/action-dependabot-auto-merge@45fc124d949b19b6b8bf6645b6c9d55f4f9ac61a # v2
with:
target: minor
github-token: ${{ secrets.DEPENDABOT_AUTOMERGE_TOKEN }}
+121
View File
@@ -0,0 +1,121 @@
# SPDX-FileCopyrightText: 2024 Nextcloud GmbH and Nextcloud contributors
# SPDX-License-Identifier: MIT
name: PHPUnit files_external FTP
on:
pull_request:
schedule:
- cron: "5 2 * * *"
concurrency:
group: files-external-ftp-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs:
changes:
runs-on: ubuntu-latest-low
outputs:
src: ${{ steps.changes.outputs.src}}
steps:
- uses: dorny/paths-filter@de90cc6fb38fc0963ad72b210f1f284cd68cea36 # v3.0.2
id: changes
continue-on-error: true
with:
filters: |
src:
- '.github/workflows/**'
- '3rdparty/**'
- 'apps/files_external/**'
- 'vendor/**'
- 'vendor-bin/**'
- 'composer.json'
- 'composer.lock'
- '**.php'
files-external-ftp:
runs-on: ubuntu-latest
needs: changes
if: ${{ github.repository_owner != 'nextcloud-gmbh' && needs.changes.outputs.src != 'false' }}
strategy:
# do not stop on another job's failure
fail-fast: false
matrix:
php-versions: ['8.1', '8.3']
ftpd: ['proftpd', 'vsftpd', 'pure-ftpd']
include:
- php-versions: '8.1'
coverage: ${{ github.event_name != 'pull_request' }}
name: php${{ matrix.php-versions }}-${{ matrix.ftpd }}
steps:
- name: Checkout server
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332
with:
submodules: true
- name: Set up ftpd
run: |
sudo mkdir /tmp/ftp
sudo chmod -R 0777 /tmp/ftp
if [[ "${{ matrix.ftpd }}" == 'proftpd' ]]; then echo '$6$Q7V2n3q2GRVv5YeQ$/AhLu07H76Asojy7bxGXMY1caKLAbp5Vt82LOZYMkD/8uDzyMAEXwk0c1Bdz1DkBsk2Vh/9SF130mOPavRGMo.' > /tmp/secret.txt; fi
if [[ "${{ matrix.ftpd }}" == 'proftpd' ]]; then echo 'FTP_ROOT=/home/test' > $GITHUB_ENV; fi
if [[ "${{ matrix.ftpd }}" == 'proftpd' ]]; then docker run --name ftp -d --net host -e PASV_ADDRESS=127.0.0.1 -e FTPUSER_NAME=test -v /tmp/secret.txt:/run/secrets/ftp-user-password-secret -v /tmp/ftp:/home/test instantlinux/proftpd; fi
if [[ "${{ matrix.ftpd }}" == 'vsftpd' ]]; then docker run --name ftp -d --net host -e FTP_USER=test -e FTP_PASS=test -e PASV_ADDRESS=127.0.0.1 -v /tmp/ftp:/home/vsftpd/test fauria/vsftpd; fi
if [[ "${{ matrix.ftpd }}" == 'pure-ftpd' ]]; then docker run --name ftp -d --net host -e "PUBLICHOST=localhost" -e FTP_USER_NAME=test -e FTP_USER_PASS=test -e FTP_USER_HOME=/home/test -v /tmp/ftp:/home/test -v /tmp/ftp:/etc/pure-ftpd/passwd stilliard/pure-ftpd; fi
- name: Set up php ${{ matrix.php-versions }}
uses: shivammathur/setup-php@c541c155eee45413f5b09a52248675b1a2575231 #v2.31.1
with:
php-version: ${{ matrix.php-versions }}
# https://docs.nextcloud.com/server/stable/admin_manual/installation/source_installation.html#prerequisites-for-manual-installation
extensions: ctype, curl, dom, fileinfo, gd, iconv, intl, json, libxml, mbstring, openssl, pcntl, posix, redis, session, simplexml, xmlreader, xmlwriter, zip, zlib, sqlite, pdo_sqlite
coverage: ${{ matrix.coverage && 'xdebug' || 'none' }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Set up Nextcloud
run: |
composer install
mkdir data
./occ maintenance:install --verbose --database=sqlite --database-name=nextcloud --database-host=127.0.0.1 --database-user=root --database-pass=rootpassword --admin-user admin --admin-pass password
./occ app:enable --force files_external
echo "<?php return ['run' => true,'host' => 'localhost','user' => 'test','password' => 'test', 'root' => '${{ env.FTP_ROOT }}'];" > apps/files_external/tests/config.ftp.php
- name: smoketest ftp
run: |
php -r 'var_dump(file_put_contents("ftp://test:test@localhost${{ env.FTP_ROOT }}/ftp.txt", "asd"));'
php -r 'var_dump(file_get_contents("ftp://test:test@localhost${{ env.FTP_ROOT }}/ftp.txt"));'
php -r 'var_dump(mkdir("ftp://test:test@localhost${{ env.FTP_ROOT }}/asdads"));'
ls -l /tmp/ftp
[ -f /tmp/ftp/ftp.txt ]
- name: PHPUnit
run: composer run test:files_external -- \
apps/files_external/tests/Storage/FtpTest.php \
${{ matrix.coverage && ' --coverage-clover ./clover.xml' || '' }}
- name: Upload code coverage
if: ${{ !cancelled() && matrix.coverage }}
uses: codecov/codecov-action@v4.5.0
with:
files: ./clover.xml
flags: phpunit-files-external-ftp
- name: ftpd logs
if: always()
run: |
docker logs ftp
ftp-summary:
runs-on: ubuntu-latest-low
needs: [changes, files-external-ftp]
if: always()
steps:
- name: Summary status
run: if ${{ needs.changes.outputs.src != 'false' && needs.files-external-ftp.result != 'success' }}; then exit 1; fi
+187
View File
@@ -0,0 +1,187 @@
# SPDX-FileCopyrightText: 2023 Nextcloud GmbH and Nextcloud contributors
# SPDX-License-Identifier: MIT
name: PHPUnit files_external S3
on:
pull_request:
schedule:
- cron: "5 2 * * *"
concurrency:
group: files-external-s3-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs:
changes:
runs-on: ubuntu-latest-low
outputs:
src: ${{ steps.changes.outputs.src}}
steps:
- uses: dorny/paths-filter@de90cc6fb38fc0963ad72b210f1f284cd68cea36 # v3.0.2
id: changes
continue-on-error: true
with:
filters: |
src:
- '.github/workflows/**'
- '3rdparty/**'
- 'apps/files_external/**'
- 'vendor/**'
- 'vendor-bin/**'
- 'composer.json'
- 'composer.lock'
- '**.php'
files-external-s3-minio:
runs-on: ubuntu-latest
needs: changes
if: ${{ github.repository_owner != 'nextcloud-gmbh' && needs.changes.outputs.src != 'false' }}
strategy:
matrix:
php-versions: ['8.1', '8.2', '8.3']
include:
- php-versions: '8.2'
coverage: ${{ github.event_name != 'pull_request' }}
name: php${{ matrix.php-versions }}-s3
services:
minio:
image: bitnami/minio
env:
MINIO_ROOT_USER: nextcloud
MINIO_ROOT_PASSWORD: bWluaW8tc2VjcmV0LWtleS1uZXh0Y2xvdWQ=
MINIO_DEFAULT_BUCKETS: nextcloud
ports:
- '9000:9000'
steps:
- name: Checkout server
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332
with:
submodules: true
- name: Set up php ${{ matrix.php-versions }}
uses: shivammathur/setup-php@c541c155eee45413f5b09a52248675b1a2575231 #v2.31.1
with:
php-version: ${{ matrix.php-versions }}
# https://docs.nextcloud.com/server/stable/admin_manual/installation/source_installation.html#prerequisites-for-manual-installation
extensions: bz2, ctype, curl, dom, fileinfo, gd, iconv, intl, json, libxml, mbstring, openssl, pcntl, posix, redis, session, simplexml, xmlreader, xmlwriter, zip, zlib, sqlite, pdo_sqlite
coverage: ${{ matrix.coverage && 'xdebug' || 'none' }}
ini-file: development
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Set up Nextcloud
env:
OBJECT_STORE_KEY: nextcloud
OBJECT_STORE_SECRET: bWluaW8tc2VjcmV0LWtleS1uZXh0Y2xvdWQ=
run: |
composer install
./occ maintenance:install --verbose --database=sqlite --database-name=nextcloud --database-host=127.0.0.1 --database-user=root --database-pass=rootpassword --admin-user admin --admin-pass password
./occ app:enable --force files_external
echo "<?php return ['run' => true, 'secret' => 'actually-not-secret', 'passwordsalt' => 'actually-not-secret', 'hostname' => 'localhost','key' => '$OBJECT_STORE_KEY','secret' => '$OBJECT_STORE_SECRET', 'bucket' => 'bucket', 'port' => 9000, 'use_ssl' => false, 'autocreate' => true, 'use_path_style' => true];" > apps/files_external/tests/config.amazons3.php
- name: Wait for S3
run: |
sleep 10
curl -f -m 1 --retry-connrefused --retry 10 --retry-delay 10 http://localhost:9000/minio/health/ready
- name: PHPUnit
run: composer run test:files_external -- \
apps/files_external/tests/Storage/Amazons3Test.php \
apps/files_external/tests/Storage/VersionedAmazonS3Test.php \
${{ matrix.coverage && ' --coverage-clover ./clover.xml' || '' }}
- name: Upload code coverage
if: ${{ !cancelled() && matrix.coverage }}
uses: codecov/codecov-action@v4.5.0
with:
files: ./clover.xml
flags: phpunit-files-external-s3
- name: S3 logs
if: always()
run: |
docker ps -a
docker ps -aq | while read container ; do IMAGE=$(docker inspect --format='{{.Config.Image}}' $container); echo $IMAGE; docker logs $container; echo "\n\n" ; done
files-external-s3-localstack:
runs-on: ubuntu-latest
needs: changes
if: ${{ github.repository_owner != 'nextcloud-gmbh' && needs.changes.outputs.src != 'false' }}
strategy:
matrix:
php-versions: ['8.1', '8.2', '8.3']
include:
- php-versions: '8.3'
coverage: true
name: php${{ matrix.php-versions }}-s3
services:
localstack:
env:
SERVICES: s3
DEBUG: 1
image: localstack/localstack
ports:
- "4566:4566"
steps:
- name: Checkout server
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332
with:
submodules: true
- name: Set up php ${{ matrix.php-versions }}
uses: shivammathur/setup-php@c541c155eee45413f5b09a52248675b1a2575231 #v2.31.1
with:
php-version: ${{ matrix.php-versions }}
# https://docs.nextcloud.com/server/stable/admin_manual/installation/source_installation.html#prerequisites-for-manual-installation
extensions: bz2, ctype, curl, dom, fileinfo, gd, iconv, intl, json, libxml, mbstring, openssl, pcntl, posix, redis, session, simplexml, xmlreader, xmlwriter, zip, zlib, sqlite, pdo_sqlite
coverage: ${{ matrix.coverage && 'xdebug' || 'none' }}
ini-file: development
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Set up Nextcloud
run: |
composer install
./occ maintenance:install --verbose --database=sqlite --database-name=nextcloud --database-host=127.0.0.1 --database-user=root --database-pass=rootpassword --admin-user admin --admin-pass password
./occ app:enable --force files_external
echo "<?php return ['run' => true,'hostname' => 'localhost','key' => 'ignored','secret' => 'ignored', 'bucket' => 'bucket', 'port' => 4566, 'use_ssl' => false, 'autocreate' => true, 'use_path_style' => true];" > apps/files_external/tests/config.amazons3.php
- name: PHPUnit
run: composer run test:files_external -- \
apps/files_external/tests/Storage/Amazons3Test.php \
apps/files_external/tests/Storage/VersionedAmazonS3Test.php \
${{ matrix.coverage && ' --coverage-clover ./clover.xml' || '' }}
- name: Upload code coverage
if: ${{ !cancelled() && matrix.coverage }}
uses: codecov/codecov-action@v4.5.0
with:
files: ./clover.xml
flags: phpunit-files-external-s3
- name: S3 logs
if: always()
run: |
docker ps -a
docker ps -aq | while read container ; do IMAGE=$(docker inspect --format='{{.Config.Image}}' $container); echo $IMAGE; docker logs $container; echo "\n\n" ; done
s3-external-summary:
runs-on: ubuntu-latest-low
needs: [changes, files-external-s3-minio, files-external-s3-localstack]
if: always()
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
+111
View File
@@ -0,0 +1,111 @@
# SPDX-FileCopyrightText: 2024 Nextcloud GmbH and Nextcloud contributors
# SPDX-License-Identifier: MIT
name: PHPUnit files_external sFTP
on:
pull_request:
schedule:
- cron: "5 2 * * *"
concurrency:
group: files-external-sftp-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs:
changes:
runs-on: ubuntu-latest-low
outputs:
src: ${{ steps.changes.outputs.src}}
steps:
- uses: dorny/paths-filter@de90cc6fb38fc0963ad72b210f1f284cd68cea36 # v3.0.2
id: changes
continue-on-error: true
with:
filters: |
src:
- '.github/workflows/**'
- '3rdparty/**'
- 'apps/files_external/**'
- 'vendor/**'
- 'vendor-bin/**'
- 'composer.json'
- 'composer.lock'
- '**.php'
files-external-sftp:
runs-on: ubuntu-latest
needs: changes
if: ${{ github.repository_owner != 'nextcloud-gmbh' && needs.changes.outputs.src != 'false' }}
strategy:
# do not stop on another job's failure
fail-fast: false
matrix:
php-versions: ['8.1', '8.3']
sftpd: ['openssh']
include:
- php-versions: '8.1'
coverage: ${{ github.event_name != 'pull_request' }}
name: php${{ matrix.php-versions }}-${{ matrix.sftpd }}
steps:
- name: Checkout server
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332
with:
submodules: true
- name: Set up sftpd
run: |
sudo mkdir /tmp/sftp
sudo chown -R 0777 /tmp/sftp
if [[ '${{ matrix.sftpd }}' == 'openssh' ]]; then docker run -p 2222:22 --name sftp -d -v /tmp/sftp:/home/test atmoz/sftp 'test:test:::data'; fi
- name: Set up php ${{ matrix.php-versions }}
uses: shivammathur/setup-php@c541c155eee45413f5b09a52248675b1a2575231 #v2.31.1
with:
php-version: ${{ matrix.php-versions }}
# https://docs.nextcloud.com/server/stable/admin_manual/installation/source_installation.html#prerequisites-for-manual-installation
extensions: ctype, curl, dom, fileinfo, gd, iconv, intl, json, libxml, mbstring, openssl, pcntl, posix, redis, session, simplexml, xmlreader, xmlwriter, zip, zlib, sqlite, pdo_sqlite
coverage: ${{ matrix.coverage && 'xdebug' || 'none' }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Set up Nextcloud
run: |
composer install
mkdir data
./occ maintenance:install --verbose --database=sqlite --database-name=nextcloud --database-host=127.0.0.1 --database-user=root --database-pass=rootpassword --admin-user admin --admin-pass password
./occ app:enable --force files_external
echo "<?php return ['run' => true, 'host' => 'localhost:2222','user' => 'test','password' => 'test', 'root' => 'data'];" > apps/files_external/tests/config.sftp.php
- name: PHPUnit
run: composer run test:files_external -- \
apps/files_external/tests/Storage/SftpTest.php \
apps/files_external/tests/Storage/SFTP_KeyTest.php \
${{ matrix.coverage && ' --coverage-clover ./clover.xml' || '' }}
- name: Upload code coverage
if: ${{ !cancelled() && matrix.coverage }}
uses: codecov/codecov-action@v4.5.0
with:
files: ./clover.xml
flags: phpunit-files-external-sftp
- name: sftpd logs
if: always()
run: |
ls -l /tmp/sftp
docker logs sftp
sftp-summary:
runs-on: ubuntu-latest-low
needs: [changes, files-external-sftp]
if: always()
steps:
- name: Summary status
run: if ${{ needs.changes.outputs.src != 'false' && needs.files-external-sftp.result != 'success' }}; then exit 1; fi
@@ -0,0 +1,95 @@
# SPDX-FileCopyrightText: 2024 Nextcloud GmbH and Nextcloud contributors
# SPDX-License-Identifier: MIT
name: Samba Kerberos SSO
on:
pull_request:
schedule:
- cron: "5 2 * * *"
concurrency:
group: files-external-smb-kerberos-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs:
changes:
runs-on: ubuntu-latest-low
outputs:
src: ${{ steps.changes.outputs.src}}
steps:
- uses: dorny/paths-filter@de90cc6fb38fc0963ad72b210f1f284cd68cea36 # v3.0.2
id: changes
continue-on-error: true
with:
filters: |
src:
- '.github/workflows/**'
- '3rdparty/**'
- 'apps/files_external/**'
- 'vendor/**'
- 'vendor-bin/**'
- 'composer.json'
- 'composer.lock'
- '**.php'
files-external-smb-kerberos:
runs-on: ubuntu-22.04
needs: changes
if: ${{ github.repository_owner != 'nextcloud-gmbh' && needs.changes.outputs.src != 'false' }}
name: smb-kerberos-sso
steps:
- name: Checkout server
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332
with:
submodules: true
- name: Checkout user_saml
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332
with:
repository: nextcloud/user_saml
path: apps/user_saml
- name: Pull images
run: |
docker pull ghcr.io/icewind1991/samba-krb-test-dc
docker pull ghcr.io/icewind1991/samba-krb-test-apache
docker pull ghcr.io/icewind1991/samba-krb-test-client
docker tag ghcr.io/icewind1991/samba-krb-test-dc icewind1991/samba-krb-test-dc
docker tag ghcr.io/icewind1991/samba-krb-test-apache icewind1991/samba-krb-test-apache
docker tag ghcr.io/icewind1991/samba-krb-test-client icewind1991/samba-krb-test-client
- name: Setup AD-DC
run: |
DC_IP=$(apps/files_external/tests/sso-setup/start-dc.sh)
sleep 1
apps/files_external/tests/sso-setup/start-apache.sh $DC_IP $PWD
echo "DC_IP=$DC_IP" >> $GITHUB_ENV
- name: Set up Nextcloud
run: |
apps/files_external/tests/sso-setup/setup-sso-nc.sh
- name: Test SSO
run: |
apps/files_external/tests/sso-setup/test-sso-smb.sh ${{ env.DC_IP }}
- name: Show logs
if: always()
run: |
FILEPATH=$(docker exec --user 33 apache ./occ log:file | grep "Log file:" | cut -d' ' -f3)
echo "$FILEPATH:"
docker exec --user 33 apache cat $FILEPATH
sftp-summary:
runs-on: ubuntu-latest-low
needs: [changes, files-external-smb-kerberos]
if: always()
steps:
- name: Summary status
run: if ${{ needs.changes.outputs.src != 'false' && needs.files-external-smb-kerberos.result != 'success' }}; then exit 1; fi
+110
View File
@@ -0,0 +1,110 @@
# SPDX-FileCopyrightText: 2024 Nextcloud GmbH and Nextcloud contributors
# SPDX-License-Identifier: MIT
name: PHPUnit files_external SMB
on:
pull_request:
schedule:
- cron: "5 2 * * *"
concurrency:
group: files-external-smb-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs:
changes:
runs-on: ubuntu-latest-low
outputs:
src: ${{ steps.changes.outputs.src}}
steps:
- uses: dorny/paths-filter@de90cc6fb38fc0963ad72b210f1f284cd68cea36 # v3.0.2
id: changes
continue-on-error: true
with:
filters: |
src:
- '.github/workflows/**'
- '3rdparty/**'
- 'apps/files_external/**'
- 'vendor/**'
- 'vendor-bin/**'
- 'composer.json'
- 'composer.lock'
- '**.php'
files-external-smb:
runs-on: ubuntu-latest
needs: changes
if: ${{ github.repository_owner != 'nextcloud-gmbh' && needs.changes.outputs.src != 'false' }}
strategy:
matrix:
php-versions: ['8.1', '8.3']
include:
- php-versions: '8.1'
coverage: ${{ github.event_name != 'pull_request' }}
name: php${{ matrix.php-versions }}-smb
services:
samba:
image: ghcr.io/nextcloud/continuous-integration-samba:latest
ports:
- 445:445
steps:
- name: Checkout server
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332
with:
submodules: true
- name: Set up php ${{ matrix.php-versions }}
uses: shivammathur/setup-php@c541c155eee45413f5b09a52248675b1a2575231 #v2.31.1
with:
php-version: ${{ matrix.php-versions }}
# https://docs.nextcloud.com/server/stable/admin_manual/installation/source_installation.html#prerequisites-for-manual-installation
extensions: ctype, curl, dom, fileinfo, gd, iconv, intl, json, libxml, mbstring, openssl, pcntl, posix, redis, session, simplexml, xmlreader, xmlwriter, zip, zlib, smbclient, sqlite, pdo_sqlite
coverage: ${{ matrix.coverage && 'xdebug' || 'none' }}
ini-file: development
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Set up smbclient
# This is needed as icewind/smb php library for notify
run: sudo apt-get install -y smbclient
- name: Set up Nextcloud
run: |
composer install
./occ maintenance:install --verbose --database=sqlite --database-name=nextcloud --database-host=127.0.0.1 --database-user=root --database-pass=rootpassword --admin-user admin --admin-pass password
./occ config:system:set --value true --type boolean allow_local_remote_servers
./occ app:enable --force files_external
echo "<?php return ['run'=>true, 'host'=>'localhost', 'user'=>'test', 'password'=>'test', 'root'=>'', 'share'=>'public'];" > apps/files_external/tests/config.smb.php
- name: Wait for smb
run: |
apps/files_external/tests/env/wait-for-connection 127.0.0.1 445 60
- name: PHPUnit
run: composer run test:files_external -- --verbose \
apps/files_external/tests/Storage/SmbTest.php \
${{ matrix.coverage && ' --coverage-clover ./clover.xml' || '' }}
- name: Upload code coverage
if: ${{ !cancelled() && matrix.coverage }}
uses: codecov/codecov-action@922d8d7b314a529f2be903c1e79ee8283c492863 # v4.1.1
with:
files: ./clover.xml
flags: phpunit-files-external-smb
files-external-smb-summary:
runs-on: ubuntu-latest-low
needs: [changes, files-external-smb]
if: always()
steps:
- name: Summary status
run: if ${{ needs.changes.outputs.src != 'false' && needs.files-external-smb.result != 'success' }}; then exit 1; fi
+107
View File
@@ -0,0 +1,107 @@
# SPDX-FileCopyrightText: 2024 Nextcloud GmbH and Nextcloud contributors
# SPDX-License-Identifier: MIT
name: PHPUnit files_external WebDAV
on:
pull_request:
schedule:
- cron: "5 2 * * *"
concurrency:
group: files-external-webdav-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs:
changes:
runs-on: ubuntu-latest-low
outputs:
src: ${{ steps.changes.outputs.src}}
steps:
- uses: dorny/paths-filter@de90cc6fb38fc0963ad72b210f1f284cd68cea36 # v3.0.2
id: changes
continue-on-error: true
with:
filters: |
src:
- '.github/workflows/**'
- '3rdparty/**'
- 'apps/files_external/**'
- 'vendor/**'
- 'vendor-bin/**'
- 'composer.json'
- 'composer.lock'
- '**.php'
files-external-webdav-apache:
runs-on: ubuntu-latest
needs: changes
if: ${{ github.repository_owner != 'nextcloud-gmbh' && needs.changes.outputs.src != 'false' }}
strategy:
matrix:
php-versions: ['8.1', '8.2', '8.3']
include:
- php-versions: '8.2'
coverage: ${{ github.event_name != 'pull_request' }}
name: php${{ matrix.php-versions }}-webdav
services:
apache:
image: ghcr.io/nextcloud/continuous-integration-webdav-apache:latest
ports:
- 8081:80
steps:
- name: Checkout server
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332
with:
submodules: true
- name: Set up php ${{ matrix.php-versions }}
uses: shivammathur/setup-php@c541c155eee45413f5b09a52248675b1a2575231 #v2.31.1
with:
php-version: ${{ matrix.php-versions }}
# https://docs.nextcloud.com/server/stable/admin_manual/installation/source_installation.html#prerequisites-for-manual-installation
extensions: bz2, ctype, curl, dom, fileinfo, gd, iconv, intl, json, libxml, mbstring, openssl, pcntl, posix, redis, session, simplexml, xmlreader, xmlwriter, zip, zlib, sqlite, pdo_sqlite
coverage: ${{ matrix.coverage && 'xdebug' || 'none' }}
ini-file: development
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Set up Nextcloud
run: |
composer install
./occ maintenance:install --verbose --database=sqlite --database-name=nextcloud --database-host=127.0.0.1 --database-user=root --database-pass=rootpassword --admin-user admin --admin-pass password
./occ config:system:set --value true --type boolean allow_local_remote_servers
./occ app:enable --force files_external
echo "<?php return ['run' => true, 'host' => 'localhost:8081/webdav/', 'user' => 'test', 'password'=>'pass', 'root' => '', 'wait' => 0];" > apps/files_external/tests/config.webdav.php
- name: Wait for WebDAV
run: |
sleep 5
curl -f -m 1 --retry-connrefused --retry 10 --retry-delay 10 http://test:pass@localhost:8081/webdav/
- name: PHPUnit
run: composer run test:files_external -- --verbose \
apps/files_external/tests/Storage/WebdavTest.php \
${{ matrix.coverage && ' --coverage-clover ./clover.xml' || '' }}
- name: Upload code coverage
if: ${{ !cancelled() && matrix.coverage }}
uses: codecov/codecov-action@922d8d7b314a529f2be903c1e79ee8283c492863 # v4.1.1
with:
files: ./clover.xml
flags: phpunit-files-external-webdav
files-external-webdav-summary:
runs-on: ubuntu-latest-low
needs: [changes, files-external-webdav-apache]
if: always()
steps:
- name: Summary status
run: if ${{ needs.changes.outputs.src != 'false' && needs.files-external-webdav-apache.result != 'success' }}; then exit 1; fi
+95
View File
@@ -0,0 +1,95 @@
# SPDX-FileCopyrightText: 2024 Nextcloud GmbH and Nextcloud contributors
# SPDX-License-Identifier: MIT
name: PHPUnit files_external generic
on:
pull_request:
schedule:
- cron: "5 2 * * *"
concurrency:
group: files-external-generic-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs:
changes:
runs-on: ubuntu-latest-low
outputs:
src: ${{ steps.changes.outputs.src}}
steps:
- uses: dorny/paths-filter@de90cc6fb38fc0963ad72b210f1f284cd68cea36 # v3.0.2
id: changes
continue-on-error: true
with:
filters: |
src:
- '.github/workflows/**'
- '3rdparty/**'
- 'apps/files_external/**'
- 'vendor/**'
- 'vendor-bin/**'
- 'composer.json'
- 'composer.lock'
files-external-generic:
runs-on: ubuntu-latest
needs: changes
if: ${{ github.repository_owner != 'nextcloud-gmbh' && needs.changes.outputs.src != 'false' }}
strategy:
matrix:
php-versions: ['8.1', '8.2', '8.3']
include:
- php-versions: '8.2'
coverage: ${{ github.event_name != 'pull_request' }}
name: php${{ matrix.php-versions }}-generic
steps:
- name: Checkout server
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332
with:
submodules: true
- name: Set up php ${{ matrix.php-versions }}
uses: shivammathur/setup-php@c541c155eee45413f5b09a52248675b1a2575231 #v2.31.1
with:
php-version: ${{ matrix.php-versions }}
# https://docs.nextcloud.com/server/stable/admin_manual/installation/source_installation.html#prerequisites-for-manual-installation
extensions: bz2, ctype, curl, dom, fileinfo, gd, iconv, intl, json, libxml, mbstring, openssl, pcntl, posix, redis, session, simplexml, xmlreader, xmlwriter, zip, zlib, sqlite, pdo_sqlite
coverage: ${{ matrix.coverage && 'xdebug' || 'none' }}
ini-file: development
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Set up Nextcloud
env:
OBJECT_STORE_KEY: nextcloud
OBJECT_STORE_SECRET: bWluaW8tc2VjcmV0LWtleS1uZXh0Y2xvdWQ=
run: |
composer install
./occ maintenance:install --verbose --database=sqlite --database-name=nextcloud --database-host=127.0.0.1 --database-user=root --database-pass=rootpassword --admin-user admin --admin-pass password
./occ app:enable --force files_external
- name: PHPUnit
run: composer run test:files_external \
${{ matrix.coverage && ' --coverage-clover ./clover.xml' || '' }}
- name: Upload code coverage
if: ${{ !cancelled() && matrix.coverage }}
uses: codecov/codecov-action@v4.5.0
with:
files: ./clover.xml
flags: phpunit-files-external-generic
files-external-summary:
runs-on: ubuntu-latest-low
needs: [changes, files-external-generic ]
if: always()
steps:
- name: Summary status
run: if ${{ needs.changes.outputs.src != 'false' && needs.files-external-generic.result != 'success' }}; then exit 1; fi
+36
View File
@@ -0,0 +1,36 @@
# This workflow is provided via the organization template repository
#
# https://github.com/nextcloud/.github
# https://docs.github.com/en/actions/learn-github-actions/sharing-workflows-with-your-organization
#
# SPDX-FileCopyrightText: 2021-2024 Nextcloud GmbH and Nextcloud contributors
# SPDX-License-Identifier: MIT
name: Block fixup and squash commits
on:
pull_request:
types: [opened, ready_for_review, reopened, synchronize]
permissions:
contents: read
concurrency:
group: fixup-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs:
commit-message-check:
if: github.event.pull_request.draft == false
permissions:
pull-requests: write
name: Block fixup and squash commits
runs-on: ubuntu-latest-low
steps:
- name: Run check
uses: skjnldsv/block-fixup-merge-action@c138ea99e45e186567b64cf065ce90f7158c236a # v2
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
+125
View File
@@ -0,0 +1,125 @@
# SPDX-FileCopyrightText: 2024 Nextcloud GmbH and Nextcloud contributors
# SPDX-License-Identifier: MIT
name: DAV integration tests
on:
pull_request:
concurrency:
group: integration-caldav-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs:
changes:
runs-on: ubuntu-latest-low
outputs:
src: ${{ steps.changes.outputs.src}}
steps:
- uses: dorny/paths-filter@de90cc6fb38fc0963ad72b210f1f284cd68cea36 # v3.0.2
id: changes
continue-on-error: true
with:
filters: |
src:
- '.github/workflows/**'
- '3rdparty/**'
- '**/*.php'
- '**/lib/**'
- '**/tests/**'
- '**/vendor-bin/**'
- 'build/integration/**'
- '.php-cs-fixer.dist.php'
- 'composer.json'
- 'composer.lock'
integration-caldav:
runs-on: ubuntu-latest
needs: changes
if: needs.changes.outputs.src != 'false' && github.repository_owner != 'nextcloud-gmbh'
strategy:
# do not stop on another job's failure
fail-fast: false
matrix:
php-versions: ['8.3']
endpoint: ['old', 'new']
service: ['CalDAV', 'CardDAV']
name: ${{ matrix.service }} (${{ matrix.endpoint }} endpoint) php${{ matrix.php-versions }}
steps:
- name: Checkout server
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332
with:
submodules: true
- name: Set up php ${{ matrix.php-versions }}
uses: shivammathur/setup-php@c541c155eee45413f5b09a52248675b1a2575231 #v2.31.1
with:
php-version: ${{ matrix.php-versions }}
# https://docs.nextcloud.com/server/stable/admin_manual/installation/source_installation.html#prerequisites-for-manual-installation
extensions: bz2, ctype, curl, dom, fileinfo, gd, iconv, intl, json, libxml, mbstring, openssl, pcntl, posix, redis, session, simplexml, xmlreader, xmlwriter, zip, zlib, sqlite, pdo_sqlite
coverage: 'none'
ini-file: development
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Set up Python
uses: LizardByte/setup-python-action@master
with:
python-version: '2.7'
- name: Set up CalDAVTester
run: |
git clone --depth=1 https://github.com/apple/ccs-caldavtester.git CalDAVTester
git clone --depth=1 https://github.com/apple/ccs-pycalendar.git pycalendar
- name: Set up Nextcloud
run: |
mkdir data
./occ maintenance:install --verbose --database=sqlite --database-name=nextcloud --database-host=127.0.0.1 --database-user=root --database-pass=rootpassword --admin-user admin --admin-pass admin
# disable the trashbin, so recurrent deletion of the same object works
./occ config:app:set dav calendarRetentionObligation --value=0
# Prepare users
OC_PASS=user01 ./occ user:add --password-from-env user01
OC_PASS=user02 ./occ user:add --password-from-env user02
# Prepare calendars
./occ dav:create-calendar user01 calendar
./occ dav:create-calendar user01 shared
./occ dav:create-calendar user02 calendar
# Prepare address books
./occ dav:create-addressbook user01 addressbook
./occ dav:create-addressbook user02 addressbook
- name: Run Nextcloud
run: |
php -S localhost:8888 &
- name: Run CalDAVTester
run: |
cp "apps/dav/tests/travis/caldavtest/serverinfo-${{ matrix.endpoint }}${{ matrix.endpoint == 'old' && (matrix.service == 'CardDAV' && '-carddav' || '-caldav') || '' }}-endpoint.xml" "apps/dav/tests/travis/caldavtest/serverinfo.xml"
pushd CalDAVTester
PYTHONPATH="../pycalendar/src" python testcaldav.py --print-details-onfail --basedir "../apps/dav/tests/travis/caldavtest" -o cdt.txt \
"${{ matrix.service }}/current-user-principal.xml" \
"${{ matrix.service }}/sync-report.xml" \
${{ matrix.endpoint == 'new' && format('{0}/sharing-{1}.xml', matrix.service, matrix.service == 'CalDAV' && 'calendars' || 'addressbooks') || ';' }}
popd
- name: Print Nextcloud logs
if: always()
run: |
cat data/nextcloud.log
caldav-integration-summary:
permissions:
contents: none
runs-on: ubuntu-latest-low
needs: [changes, integration-caldav]
if: always()
steps:
- name: Summary status
run: if ${{ needs.changes.outputs.src != 'false' && needs.integration-caldav.result != 'success' }}; then exit 1; fi
+112
View File
@@ -0,0 +1,112 @@
# SPDX-FileCopyrightText: 2024 Nextcloud GmbH and Nextcloud contributors
# SPDX-License-Identifier: MIT
name: Litmus integration tests
on:
pull_request:
concurrency:
group: integration-litmus-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs:
changes:
runs-on: ubuntu-latest-low
outputs:
src: ${{ steps.changes.outputs.src}}
steps:
- uses: dorny/paths-filter@de90cc6fb38fc0963ad72b210f1f284cd68cea36 # v3.0.2
id: changes
continue-on-error: true
with:
filters: |
src:
- '.github/workflows/**'
- '3rdparty/**'
- '**/*.php'
- '**/lib/**'
- '**/tests/**'
- '**/vendor-bin/**'
- 'build/integration/**'
- '.php-cs-fixer.dist.php'
- 'composer.json'
- 'composer.lock'
integration-litmus:
runs-on: ubuntu-latest
needs: changes
if: needs.changes.outputs.src != 'false' && github.repository_owner != 'nextcloud-gmbh'
strategy:
# do not stop on another job's failure
fail-fast: false
matrix:
php-versions: ['8.3']
endpoint: ['webdav', 'dav']
name: Litmus WebDAV ${{ matrix.endpoint }}
steps:
- name: Checkout server
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332
with:
submodules: true
- name: Set up php ${{ matrix.php-versions }}
uses: shivammathur/setup-php@c541c155eee45413f5b09a52248675b1a2575231 #v2.31.1
with:
php-version: ${{ matrix.php-versions }}
# https://docs.nextcloud.com/server/stable/admin_manual/installation/source_installation.html#prerequisites-for-manual-installation
extensions: bz2, ctype, curl, dom, fileinfo, gd, iconv, intl, json, libxml, mbstring, openssl, pcntl, posix, redis, session, simplexml, xmlreader, xmlwriter, zip, zlib, sqlite, pdo_sqlite
coverage: 'none'
ini-file: development
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Set up Nextcloud
run: |
mkdir data
./occ maintenance:install \
--verbose \
--database=sqlite \
--database-name=nextcloud \
--database-user=root \
--database-pass=rootpassword \
--admin-user admin \
--admin-pass admin
./occ config:system:set trusted_domains 2 --value=host.docker.internal:8080
- name: Run Nextcloud
run: |
php -S 0.0.0.0:8080 &
- name: Run Litmus test
run: |
docker run \
--rm \
--add-host=host.docker.internal:host-gateway \
ghcr.io/nextcloud/continuous-integration-litmus-php8.3:latest \
bash -c '\
cd /tmp/litmus/litmus-0.13;
make URL=http://host.docker.internal:8080/remote.php/${{ matrix.endpoint }}${{ matrix.endpoint == 'dav' && '/files/admin' || ''}} CREDS="admin admin" TESTS="basic copymove props largefile" check;
status=$?;
cat debug.log;
exit $status;'
- name: Print Nextcloud logs
if: always()
run: cat data/nextcloud.log
integration-litmus-summary:
permissions:
contents: none
runs-on: ubuntu-latest-low
needs: [changes, integration-litmus]
if: always()
steps:
- name: Summary status
run: if ${{ needs.changes.outputs.src != 'false' && needs.integration-litmus.result != 'success' }}; then exit 1; fi
@@ -0,0 +1,119 @@
# SPDX-FileCopyrightText: 2023 Nextcloud GmbH and Nextcloud contributors
# SPDX-License-Identifier: MIT
name: S3 primary storage integration tests
on:
pull_request:
concurrency:
group: integration-s3-primary-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs:
changes:
runs-on: ubuntu-latest-low
outputs:
src: ${{ steps.changes.outputs.src}}
steps:
- uses: dorny/paths-filter@de90cc6fb38fc0963ad72b210f1f284cd68cea36 # v3.0.2
id: changes
continue-on-error: true
with:
filters: |
src:
- '.github/workflows/**'
- '3rdparty/**'
- '**/*.php'
- '**/lib/**'
- '**/tests/**'
- '**/vendor-bin/**'
- 'build/integration/**'
- '.php-cs-fixer.dist.php'
- 'composer.json'
- 'composer.lock'
integration-s3-primary:
runs-on: ubuntu-latest
needs: changes
if: needs.changes.outputs.src != 'false' && github.repository_owner != 'nextcloud-gmbh'
strategy:
# do not stop on another job's failure
fail-fast: false
matrix:
php-versions: ['8.1']
key: ['objectstore', 'objectstore_multibucket']
name: php${{ matrix.php-versions }}-${{ matrix.key }}-minio
services:
redis:
image: ghcr.io/nextcloud/continuous-integration-redis:latest
options: --health-cmd="redis-cli ping" --health-interval=10s --health-timeout=5s --health-retries=3
ports:
- 6379:6379/tcp
minio:
image: bitnami/minio
env:
MINIO_ROOT_USER: nextcloud
MINIO_ROOT_PASSWORD: bWluaW8tc2VjcmV0LWtleS1uZXh0Y2xvdWQ=
MINIO_DEFAULT_BUCKETS: nextcloud
ports:
- "9000:9000"
steps:
- name: Checkout server
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332
with:
submodules: true
- name: Set up php ${{ matrix.php-versions }}
uses: shivammathur/setup-php@c541c155eee45413f5b09a52248675b1a2575231 #v2.31.1
with:
php-version: ${{ matrix.php-versions }}
# https://docs.nextcloud.com/server/stable/admin_manual/installation/source_installation.html#prerequisites-for-manual-installation
extensions: bz2, ctype, curl, dom, fileinfo, gd, iconv, intl, json, libxml, mbstring, openssl, pcntl, posix, redis, session, simplexml, xmlreader, xmlwriter, zip, zlib, sqlite, pdo_sqlite
coverage: 'none'
ini-file: development
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Wait for S3
run: |
sleep 10
curl -f -m 1 --retry-connrefused --retry 10 --retry-delay 10 http://localhost:9000/minio/health/ready
- name: Set up Nextcloud
run: |
mkdir data
echo '<?php $CONFIG=["${{ matrix.key }}" => ["class" => "OC\Files\ObjectStore\S3", "arguments" => ["bucket" => "nextcloud", "autocreate" => true, "key" => "nextcloud", "secret" => "bWluaW8tc2VjcmV0LWtleS1uZXh0Y2xvdWQ=", "hostname" => "localhost", "port" => 9000, "use_ssl" => false, "use_path_style" => true, "uploadPartSize" => 52428800]]];' > config/config.php
echo '<?php $CONFIG=["redis" => ["host" => "localhost", "port" => 6379], "memcache.local" => "\OC\Memcache\Redis", "memcache.distributed" => "\OC\Memcache\Redis"];' > config/redis.config.php
./occ maintenance:install --verbose --database=sqlite --database-name=nextcloud --database-host=127.0.0.1 --database-user=root --database-pass=rootpassword --admin-user admin --admin-pass admin
php -f index.php
- name: Integration
run: |
cd build/integration
bash run.sh --tags "~@failure-s3" dav_features/webdav-related.feature
- name: S3 logs
if: always()
run: |
cat data/nextcloud.log
docker ps -a
docker ps -aq | while read container ; do IMAGE=$(docker inspect --format='{{.Config.Image}}' $container); echo $IMAGE; docker logs $container; echo "\n\n" ; done
s3-primary-integration-summary:
permissions:
contents: none
runs-on: ubuntu-latest-low
needs: [changes, integration-s3-primary]
if: always()
steps:
- name: Summary status
run: if ${{ needs.changes.outputs.src != 'false' && needs.integration-s3-primary.result != 'success' }}; then exit 1; fi
+168
View File
@@ -0,0 +1,168 @@
# SPDX-FileCopyrightText: 2023 Nextcloud GmbH and Nextcloud contributors
# SPDX-License-Identifier: MIT
name: Integration sqlite
on:
pull_request:
push:
branches:
- main
- master
- stable*
permissions:
contents: read
concurrency:
group: integration-sqlite-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs:
changes:
runs-on: ubuntu-latest-low
outputs:
src: ${{ steps.changes.outputs.src}}
steps:
- uses: dorny/paths-filter@de90cc6fb38fc0963ad72b210f1f284cd68cea36 # v3.0.2
id: changes
continue-on-error: true
with:
filters: |
src:
- '.github/workflows/**'
- '3rdparty/**'
- '**/*.php'
- '**/lib/**'
- '**/tests/**'
- '**/vendor-bin/**'
- 'build/integration/**'
- '.php-cs-fixer.dist.php'
- 'composer.json'
- 'composer.lock'
integration-sqlite:
runs-on: ubuntu-latest
needs: changes
if: needs.changes.outputs.src != 'false'
strategy:
fail-fast: false
matrix:
test-suite:
- 'capabilities_features'
- 'collaboration_features'
- 'comments_features'
- 'dav_features'
- 'features'
- 'federation_features'
- '--tags ~@large files_features'
- 'filesdrop_features'
- 'openldap_features'
- 'openldap_numerical_features'
- 'ldap_features'
- 'remoteapi_features'
- 'setup_features'
- 'sharees_features'
- 'sharing_features'
- 'videoverification_features'
php-versions: ['8.2']
spreed-versions: ['main']
services:
redis:
image: ghcr.io/nextcloud/continuous-integration-redis:latest
options: --health-cmd="redis-cli ping" --health-interval=10s --health-timeout=5s --health-retries=3
ports:
- 6379:6379/tcp
openldap:
image: ghcr.io/nextcloud/continuous-integration-openldap:openldap-7
ports:
- 389:389
env:
SLAPD_DOMAIN: nextcloud.ci
SLAPD_ORGANIZATION: Nextcloud
SLAPD_PASSWORD: admin
SLAPD_ADDITIONAL_MODULES: memberof
steps:
- name: Checkout server
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
with:
submodules: true
- name: Checkout Talk app
if: ${{ matrix.test-suite == 'videoverification_features' }}
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@c541c155eee45413f5b09a52248675b1a2575231 #v2.31.1
with:
php-version: ${{ matrix.php-versions }}
# https://docs.nextcloud.com/server/stable/admin_manual/installation/source_installation.html#prerequisites-for-manual-installation
extensions: bz2, ctype, curl, dom, fileinfo, gd, iconv, imagick, intl, json, ldap, libxml, mbstring, openssl, pcntl, posix, redis, session, simplexml, xmlreader, xmlwriter, zip, zlib, sqlite, pdo_sqlite
coverage: none
ini-file: development
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Set up production dependencies
run: composer i --no-dev
- name: Set up behat dependencies
working-directory: build/integration
run: composer i
- name: Set up Talk dependencies
if: ${{ matrix.test-suite == 'videoverification_features' }}
working-directory: apps/spreed
run: composer i --no-dev
- name: Set up Nextcloud
run: |
mkdir data
./occ maintenance:install --verbose ${{ contains(matrix.test-suite,'ldap') && '--data-dir=/dev/shm/nc_int' || '' }} --database=sqlite --database-name=nextcloud --database-user=root --database-pass=rootpassword --admin-user admin --admin-pass admin
./occ config:system:set hashing_default_password --value=true --type=boolean
- name: Configure caching
if: ${{ contains(matrix.test-suite,'ldap') }}
run: |
./occ config:system:set redis host --value=localhost
./occ config:system:set redis port --value=6379 --type=integer
./occ config:system:set redis timeout --value=0 --type=integer
./occ config:system:set memcache.local --value='\OC\Memcache\Redis'
./occ config:system:set memcache.distributed --value='\OC\Memcache\Redis'
- name: Run integration
working-directory: build/integration
env:
LDAP_HOST: localhost
run: bash run.sh ${{ matrix.test-suite }} no-tail-log
- name: Print logs
if: always()
run: |
cat data/nextcloud.log
docker ps -a
docker ps -aq | while read container ; do IMAGE=$(docker inspect --format='{{.Config.Image}}' $container); echo $IMAGE; docker logs $container; echo "\n\n" ; done
summary:
permissions:
contents: none
runs-on: ubuntu-latest-low
needs: [changes, integration-sqlite]
if: always()
name: integration-sqlite-summary
steps:
- name: Summary status
run: if ${{ needs.changes.outputs.src != 'false' && needs.integration-sqlite.result != 'success' }}; then exit 1; fi
+95
View File
@@ -0,0 +1,95 @@
# This workflow is provided via the organization template repository
#
# https://github.com/nextcloud/.github
# https://docs.github.com/en/actions/learn-github-actions/sharing-workflows-with-your-organization
#
# SPDX-FileCopyrightText: 2021-2024 Nextcloud GmbH and Nextcloud contributors
# SPDX-License-Identifier: MIT
name: Lint eslint
on: pull_request
permissions:
contents: read
concurrency:
group: lint-eslint-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs:
changes:
runs-on: ubuntu-latest-low
outputs:
src: ${{ steps.changes.outputs.src}}
steps:
- uses: dorny/paths-filter@de90cc6fb38fc0963ad72b210f1f284cd68cea36 # v3.0.2
id: changes
continue-on-error: true
with:
filters: |
src:
- '.github/workflows/**'
- '**/src/**'
- '**/appinfo/info.xml'
- 'package.json'
- 'package-lock.json'
- 'tsconfig.json'
- '.eslintrc.*'
- '.eslintignore'
- '**.js'
- '**.ts'
- '**.vue'
lint:
runs-on: ubuntu-latest
needs: changes
if: needs.changes.outputs.src != 'false'
name: NPM lint
steps:
- name: Checkout
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
id: versions
with:
fallbackNode: '^20'
fallbackNpm: '^10'
- name: Set up node ${{ steps.versions.outputs.nodeVersion }}
uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b # v3
with:
node-version: ${{ steps.versions.outputs.nodeVersion }}
- name: Set up npm ${{ steps.versions.outputs.npmVersion }}
run: npm i -g 'npm@${{ steps.versions.outputs.npmVersion }}'
- name: Install dependencies
env:
CYPRESS_INSTALL_BINARY: 0
PUPPETEER_SKIP_DOWNLOAD: true
run: npm ci
- name: Lint
run: npm run lint
summary:
permissions:
contents: none
runs-on: ubuntu-latest-low
needs: [changes, lint]
if: always()
# This is the summary, we just avoid to rename it so that branch protection rules still match
name: eslint
steps:
- name: Summary status
run: if ${{ needs.changes.outputs.src != 'false' && needs.lint.result != 'success' }}; then exit 1; fi
+82
View File
@@ -0,0 +1,82 @@
# This workflow is provided via the organization template repository
#
# https://github.com/nextcloud/.github
# https://docs.github.com/en/actions/learn-github-actions/sharing-workflows-with-your-organization
#
# SPDX-FileCopyrightText: 2021-2024 Nextcloud GmbH and Nextcloud contributors
# SPDX-License-Identifier: MIT
name: Lint php-cs
on: pull_request
permissions:
contents: read
concurrency:
group: lint-php-cs-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs:
changes:
runs-on: ubuntu-latest-low
outputs:
src: ${{ steps.changes.outputs.src}}
steps:
- uses: dorny/paths-filter@de90cc6fb38fc0963ad72b210f1f284cd68cea36 # v3.0.2
id: changes
continue-on-error: true
with:
filters: |
src:
- '.github/workflows/**'
- '3rdparty/**'
- '**/lib/**'
- '**/tests/**'
- '**/vendor-bin/**'
- '.php-cs-fixer.dist.php'
- 'composer.json'
- 'composer.lock'
- '**.php'
lint:
runs-on: ubuntu-latest
name: PHP CS fixer lint
steps:
- name: Checkout
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
- name: Set up php8.1
uses: shivammathur/setup-php@c541c155eee45413f5b09a52248675b1a2575231 #v2.31.1
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
coverage: none
ini-file: development
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Install dependencies
run: composer i
- name: Lint
run: composer run cs:check || ( echo 'Please run `composer run cs:fix` to format your code' && exit 1 )
summary:
permissions:
contents: none
runs-on: ubuntu-latest-low
needs: [changes, lint]
if: always()
# This is the summary, we just avoid to rename it so that branch protection rules still match
name: php-cs
steps:
- name: Summary status
run: if ${{ needs.changes.outputs.src != 'false' && needs.lint.result != 'success' }}; then exit 1; fi
+82
View File
@@ -0,0 +1,82 @@
# This workflow is provided via the organization template repository
#
# https://github.com/nextcloud/.github
# https://docs.github.com/en/actions/learn-github-actions/sharing-workflows-with-your-organization
#
# SPDX-FileCopyrightText: 2021-2024 Nextcloud GmbH and Nextcloud contributors
# SPDX-License-Identifier: MIT
name: Lint php
on: pull_request
permissions:
contents: read
concurrency:
group: lint-php-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs:
changes:
runs-on: ubuntu-latest-low
outputs:
src: ${{ steps.changes.outputs.src}}
steps:
- uses: dorny/paths-filter@de90cc6fb38fc0963ad72b210f1f284cd68cea36 # v3.0.2
id: changes
continue-on-error: true
with:
filters: |
src:
- '.github/workflows/**'
- '3rdparty/**'
- '**/lib/**'
- '**/tests/**'
- '**/vendor-bin/**'
- '.php-cs-fixer.dist.php'
- 'composer.json'
- 'composer.lock'
- '**.php'
lint:
runs-on: ubuntu-latest
needs: changes
if: needs.changes.outputs.src != 'false'
strategy:
matrix:
php-versions: [ '8.1', '8.2', '8.3' ]
name: php-lint
steps:
- name: Checkout
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
- name: Set up php ${{ matrix.php-versions }}
uses: shivammathur/setup-php@c541c155eee45413f5b09a52248675b1a2575231 #v2.31.1
with:
php-version: ${{ matrix.php-versions }}
coverage: none
ini-file: development
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Lint
run: composer run lint
summary:
permissions:
contents: none
runs-on: ubuntu-latest-low
needs: [changes, lint]
if: always()
name: php-lint-summary
steps:
- name: Summary status
run: if ${{ needs.changes.outputs.src != 'false' && needs.lint.result != 'success' }}; then exit 1; fi
+173
View File
@@ -0,0 +1,173 @@
# 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: 2023-2024 Nextcloud GmbH and Nextcloud contributors
# SPDX-License-Identifier: MIT
name: Node tests
on:
pull_request:
schedule:
- cron: "5 2 * * *"
permissions:
contents: read
concurrency:
group: node-tests-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs:
changes:
runs-on: ubuntu-latest-low
outputs:
src: ${{ steps.changes.outputs.src}}
steps:
- uses: dorny/paths-filter@de90cc6fb38fc0963ad72b210f1f284cd68cea36 # v3.0.2
id: changes
continue-on-error: true
with:
filters: |
src:
- '.github/workflows/**'
- '**/__tests__/**'
- '**/__mocks__/**'
- 'apps/*/src/**'
- 'apps/*/appinfo/info.xml'
- 'core/src/**'
- 'package.json'
- 'package-lock.json'
- 'tsconfig.json'
- '**.js'
- '**.ts'
- '**.vue'
versions:
runs-on: ubuntu-latest-low
needs: changes
if: ${{ github.repository_owner != 'nextcloud-gmbh' && needs.changes.outputs.src != 'false' }}
outputs:
nodeVersion: ${{ steps.versions.outputs.nodeVersion }}
npmVersion: ${{ steps.versions.outputs.npmVersion }}
steps:
- name: Checkout
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
id: versions
with:
fallbackNode: '^20'
fallbackNpm: '^10'
test:
runs-on: ubuntu-latest
needs: [versions, changes]
if: ${{ needs.versions.result != 'failure' && needs.changes.outputs.src != 'false' }}
env:
CYPRESS_INSTALL_BINARY: 0
PUPPETEER_SKIP_DOWNLOAD: true
steps:
- name: Checkout
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
- name: Set up node ${{ needs.versions.outputs.nodeVersion }}
uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b # v4.0.3
with:
node-version: ${{ needs.versions.outputs.nodeVersion }}
- name: Set up npm ${{ needs.versions.outputs.npmVersion }}
run: npm i -g 'npm@${{ needs.versions.outputs.npmVersion }}'
- name: Install dependencies & build
run: |
npm ci
npm run build --if-present
- name: Test and process coverage
run: npm run test:coverage --if-present
- name: Collect coverage
uses: codecov/codecov-action@922d8d7b314a529f2be903c1e79ee8283c492863 # v4.3.1
with:
files: ./coverage/lcov.info
jsunit:
runs-on: ubuntu-latest
needs: [versions, changes]
if: ${{ needs.versions.result != 'failure' && needs.changes.outputs.src != 'false' }}
env:
CYPRESS_INSTALL_BINARY: 0
steps:
- name: Checkout
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
- name: Set up node ${{ needs.versions.outputs.nodeVersion }}
uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b # v4.0.3
with:
node-version: ${{ needs.versions.outputs.nodeVersion }}
- name: Set up npm ${{ needs.versions.outputs.npmVersion }}
run: npm i -g 'npm@${{ needs.versions.outputs.npmVersion }}'
- name: Install dependencies
run: npm ci
- name: Test
run: npm run test:jsunit
handlebars:
runs-on: ubuntu-latest
needs: [versions, changes]
if: ${{ needs.versions.result != 'failure' && needs.changes.outputs.src != 'false' }}
env:
CYPRESS_INSTALL_BINARY: 0
PUPPETEER_SKIP_DOWNLOAD: true
steps:
- name: Checkout
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
- name: Set up node ${{ needs.versions.outputs.nodeVersion }}
uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b # v4.0.3
with:
node-version: ${{ needs.versions.outputs.nodeVersion }}
- name: Set up npm ${{ needs.versions.outputs.npmVersion }}
run: npm i -g 'npm@${{ needs.versions.outputs.npmVersion }}'
- name: Install dependencies
run: npm ci
- name: Run compile
run: ./build/compile-handlebars-templates.sh
summary:
permissions:
contents: none
runs-on: ubuntu-latest-low
needs: [changes, test, jsunit, handlebars]
if: always()
name: node-test-summary
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
+105
View File
@@ -0,0 +1,105 @@
# This workflow is provided via the organization template repository
#
# https://github.com/nextcloud/.github
# https://docs.github.com/en/actions/learn-github-actions/sharing-workflows-with-your-organization
#
# SPDX-FileCopyrightText: 2021-2024 Nextcloud GmbH and Nextcloud contributors
# SPDX-License-Identifier: MIT
name: Node
on: pull_request
permissions:
contents: read
concurrency:
group: node-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs:
changes:
runs-on: ubuntu-latest-low
outputs:
src: ${{ steps.changes.outputs.src}}
steps:
- uses: dorny/paths-filter@de90cc6fb38fc0963ad72b210f1f284cd68cea36 # v3.0.2
id: changes
continue-on-error: true
with:
filters: |
src:
- '.github/workflows/**'
- '**/src/**'
- '**/appinfo/info.xml'
- 'package.json'
- 'package-lock.json'
- 'tsconfig.json'
- '**.js'
- '**.ts'
- '**.vue'
- 'core/css/*'
- 'core/img/**'
- 'version.php'
build:
runs-on: ubuntu-latest
needs: changes
if: needs.changes.outputs.src != 'false'
name: NPM build
steps:
- name: Checkout
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
id: versions
with:
fallbackNode: '^20'
fallbackNpm: '^10'
- name: Set up node ${{ steps.versions.outputs.nodeVersion }}
uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b # v3
with:
node-version: ${{ steps.versions.outputs.nodeVersion }}
- name: Set up npm ${{ steps.versions.outputs.npmVersion }}
run: npm i -g 'npm@${{ steps.versions.outputs.npmVersion }}'
- name: Install dependencies & build
env:
CYPRESS_INSTALL_BINARY: 0
PUPPETEER_SKIP_DOWNLOAD: true
run: |
npm ci
npm run build --if-present
- name: Check webpack build changes
run: |
bash -c "[[ ! \"`git status --porcelain `\" ]] || (echo 'Please recompile and commit the assets, see the section \"Show changes on failure\" for details' && exit 1)"
- name: Show changes on failure
if: failure()
run: |
git status
git --no-pager diff
exit 1 # make it red to grab attention
summary:
permissions:
contents: none
runs-on: ubuntu-latest-low
needs: [changes, build]
if: always()
# This is the summary, we just avoid to rename it so that branch protection rules still match
name: node
steps:
- name: Summary status
run: if ${{ needs.changes.outputs.src != 'false' && needs.build.result != 'success' }}; then exit 1; fi
+75
View File
@@ -0,0 +1,75 @@
# 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: 2023-2024 Nextcloud GmbH and Nextcloud contributors
# SPDX-License-Identifier: MIT
name: Npm audit fix and compile
on:
workflow_dispatch:
schedule:
# At 2:30 on Sundays
- cron: '30 2 * * 0'
jobs:
build:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
branches: ['main', 'master', 'stable30', 'stable29', 'stable28']
name: npm-audit-fix-${{ matrix.branches }}
steps:
- name: Checkout
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
with:
ref: ${{ matrix.branches }}
- name: Read package.json node and npm engines version
uses: skjnldsv/read-package-engines-version-actions@06d6baf7d8f41934ab630e97d9e6c0bc9c9ac5e4 # v3
id: versions
with:
fallbackNode: '^20'
fallbackNpm: '^10'
- name: Set up node ${{ steps.versions.outputs.nodeVersion }}
uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b # v3
with:
node-version: ${{ steps.versions.outputs.nodeVersion }}
- name: Set up npm ${{ steps.versions.outputs.npmVersion }}
run: npm i -g 'npm@${{ steps.versions.outputs.npmVersion }}'
- name: Fix npm audit
id: npm-audit
uses: nextcloud-libraries/npm-audit-action@2a60bd2e79cc77f2cc4d9a3fe40f1a69896f3a87 # v0.1.0
- name: Run npm ci and npm run build
if: always()
env:
CYPRESS_INSTALL_BINARY: 0
run: |
npm ci
npm run build --if-present
- name: Create Pull Request
if: always()
uses: peter-evans/create-pull-request@c5a7806660adbe173f04e3e038b0ccdcd758773c # v6.1.0
with:
token: ${{ secrets.COMMAND_BOT_PAT }}
commit-message: 'fix(deps): Fix npm audit'
committer: GitHub <noreply@github.com>
author: nextcloud-command <nextcloud-command@users.noreply.github.com>
signoff: true
branch: automated/noid/${{ matrix.branches }}-fix-npm-audit
title: '[${{ matrix.branches }}] Fix npm audit'
body: ${{ steps.npm-audit.outputs.markdown }}
labels: |
dependencies
3. to review
+127
View File
@@ -0,0 +1,127 @@
# SPDX-FileCopyrightText: 2023 Nextcloud GmbH and Nextcloud contributors
# SPDX-License-Identifier: MIT
name: Object storage azure
on:
pull_request:
schedule:
- cron: "15 2 * * *"
concurrency:
group: object-storage-azure-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs:
changes:
runs-on: ubuntu-latest-low
outputs:
src: ${{ steps.changes.outputs.src}}
steps:
- uses: dorny/paths-filter@de90cc6fb38fc0963ad72b210f1f284cd68cea36 # v3.0.2
id: changes
continue-on-error: true
with:
filters: |
src:
- '.github/workflows/**'
- '3rdparty/**'
- '**/appinfo/**'
- '**/lib/**'
- '**/templates/**'
- '**/tests/**'
- 'vendor/**'
- 'vendor-bin/**'
- '.php-cs-fixer.dist.php'
- 'composer.json'
- 'composer.lock'
- '**.php'
azure-primary-tests:
runs-on: ubuntu-latest
needs: changes
if: ${{ github.repository_owner != 'nextcloud-gmbh' && needs.changes.outputs.src != 'false' }}
strategy:
matrix:
php-versions: ['8.1', '8.2', '8.3']
include:
- php-versions: '8.3'
coverage: true
name: php${{ matrix.php-versions }}-azure
services:
azurite:
image: mcr.microsoft.com/azure-storage/azurite
env:
AZURITE_ACCOUNTS: nextcloud:bmV4dGNsb3Vk
ports:
- 10000:10000
options: --health-cmd="nc 127.0.0.1 10000 -z" --health-interval=1s --health-retries=30
cache:
image: ghcr.io/nextcloud/continuous-integration-redis:latest
ports:
- 6379:6379/tcp
options: --health-cmd="redis-cli ping" --health-interval=10s --health-timeout=5s --health-retries=3
steps:
- name: Checkout server
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332
with:
submodules: true
- name: Set up php ${{ matrix.php-versions }}
uses: shivammathur/setup-php@c541c155eee45413f5b09a52248675b1a2575231 #v2.31.1
with:
php-version: ${{ matrix.php-versions }}
# https://docs.nextcloud.com/server/stable/admin_manual/installation/source_installation.html#prerequisites-for-manual-installation
extensions: bz2, ctype, curl, dom, fileinfo, gd, iconv, intl, json, libxml, mbstring, openssl, pcntl, posix, redis, session, simplexml, xmlreader, xmlwriter, zip, zlib, sqlite, pdo_sqlite
coverage: ${{ matrix.coverage && 'xdebug' || 'none' }}
ini-file: development
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Set up Nextcloud
env:
OBJECT_STORE: azure
OBJECT_STORE_KEY: nextcloud
OBJECT_STORE_SECRET: bmV4dGNsb3Vk
run: |
composer install
cp tests/redis.config.php config/
cp tests/preseed-config.php config/config.php
./occ maintenance:install --verbose --database=sqlite --database-name=nextcloud --database-host=127.0.0.1 --database-user=root --database-pass=rootpassword --admin-user admin --admin-pass password
php -f tests/enable_all.php | grep -i -C9999 error && echo "Error during app setup" && exit 1 || exit 0
- name: PHPUnit
env:
OBJECT_STORE: azure
OBJECT_STORE_KEY: nextcloud
OBJECT_STORE_SECRET: bmV4dGNsb3Vk
run: composer run test -- --group PRIMARY-azure ${{ matrix.coverage && ' --coverage-clover ./clover.xml' || '' }}
- name: Upload code coverage
if: ${{ !cancelled() && matrix.coverage }}
uses: codecov/codecov-action@v4.5.0
with:
files: ./clover.xml
flags: phpunit-azure
- name: Azurite logs
if: always()
run: |
docker ps -a
docker ps -aq | while read container ; do IMAGE=$(docker inspect --format='{{.Config.Image}}' $container); echo $IMAGE; docker logs $container; echo "\n\n" ; done
azure-primary-summary:
runs-on: ubuntu-latest-low
needs: [changes, azure-primary-tests]
if: always()
steps:
- name: Summary status
run: if ${{ needs.changes.outputs.src != 'false' && needs.azure-primary-tests.result != 'success' }}; then exit 1; fi
+133
View File
@@ -0,0 +1,133 @@
# SPDX-FileCopyrightText: 2023 Nextcloud GmbH and Nextcloud contributors
# SPDX-License-Identifier: MIT
name: Object storage S3
on:
pull_request:
schedule:
- cron: "15 2 * * *"
concurrency:
group: object-storage-s3-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs:
changes:
runs-on: ubuntu-latest-low
outputs:
src: ${{ steps.changes.outputs.src}}
steps:
- uses: dorny/paths-filter@de90cc6fb38fc0963ad72b210f1f284cd68cea36 # v3.0.2
id: changes
continue-on-error: true
with:
filters: |
src:
- '.github/workflows/**'
- '3rdparty/**'
- '**/appinfo/**'
- '**/lib/**'
- '**/templates/**'
- '**/tests/**'
- 'vendor/**'
- 'vendor-bin/**'
- '.php-cs-fixer.dist.php'
- 'composer.json'
- 'composer.lock'
- '**.php'
s3-primary-tests-minio:
runs-on: ubuntu-latest
needs: changes
if: ${{ github.repository_owner != 'nextcloud-gmbh' && needs.changes.outputs.src != 'false' }}
strategy:
matrix:
php-versions: ['8.1', '8.2', '8.3']
include:
- php-versions: '8.3'
coverage: true
name: php${{ matrix.php-versions }}-s3
services:
cache:
image: ghcr.io/nextcloud/continuous-integration-redis:latest
ports:
- 6379:6379/tcp
options: --health-cmd="redis-cli ping" --health-interval=10s --health-timeout=5s --health-retries=3
minio:
image: bitnami/minio
env:
MINIO_ROOT_USER: nextcloud
MINIO_ROOT_PASSWORD: bWluaW8tc2VjcmV0LWtleS1uZXh0Y2xvdWQ=
MINIO_DEFAULT_BUCKETS: nextcloud
ports:
- "9000:9000"
steps:
- name: Checkout server
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332
with:
submodules: true
- name: Set up php ${{ matrix.php-versions }}
uses: shivammathur/setup-php@c541c155eee45413f5b09a52248675b1a2575231 #v2.31.1
with:
php-version: ${{ matrix.php-versions }}
# https://docs.nextcloud.com/server/stable/admin_manual/installation/source_installation.html#prerequisites-for-manual-installation
extensions: bz2, ctype, curl, dom, fileinfo, gd, iconv, intl, json, libxml, mbstring, openssl, pcntl, posix, redis, session, simplexml, xmlreader, xmlwriter, zip, zlib, sqlite, pdo_sqlite
coverage: ${{ matrix.coverage && 'xdebug' || 'none' }}
ini-file: development
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Set up Nextcloud
env:
OBJECT_STORE: s3
OBJECT_STORE_KEY: nextcloud
OBJECT_STORE_SECRET: bWluaW8tc2VjcmV0LWtleS1uZXh0Y2xvdWQ=
run: |
composer install
cp tests/redis.config.php config/
cp tests/preseed-config.php config/config.php
./occ maintenance:install --verbose --database=sqlite --database-name=nextcloud --database-host=127.0.0.1 --database-user=root --database-pass=rootpassword --admin-user admin --admin-pass password
php -f tests/enable_all.php | grep -i -C9999 error && echo "Error during app setup" && exit 1 || exit 0
- name: Wait for S3
run: |
sleep 10
curl -f -m 1 --retry-connrefused --retry 10 --retry-delay 10 http://localhost:9000/minio/health/ready
- name: PHPUnit
env:
OBJECT_STORE: s3
OBJECT_STORE_KEY: nextcloud
OBJECT_STORE_SECRET: bWluaW8tc2VjcmV0LWtleS1uZXh0Y2xvdWQ=
run: composer run test -- --group PRIMARY-s3 ${{ matrix.coverage && ' --coverage-clover ./clover.xml' || '' }}
- name: Upload code coverage
if: ${{ !cancelled() && matrix.coverage }}
uses: codecov/codecov-action@v4.5.0
with:
files: ./clover.xml
flags: phpunit-s3
- name: S3 logs
if: always()
run: |
docker ps -a
docker ps -aq | while read container ; do IMAGE=$(docker inspect --format='{{.Config.Image}}' $container); echo $IMAGE; docker logs $container; echo "\n\n" ; done
s3-primary-summary:
runs-on: ubuntu-latest-low
needs: [changes,s3-primary-tests-minio]
if: always()
steps:
- name: Summary status
run: if ${{ needs.changes.outputs.src != 'false' && needs.s3-primary-tests-minio.result != 'success' }}; then exit 1; fi
+123
View File
@@ -0,0 +1,123 @@
# SPDX-FileCopyrightText: 2023 Nextcloud GmbH and Nextcloud contributors
# SPDX-License-Identifier: MIT
name: Object storage Swift
on:
pull_request:
schedule:
- cron: "15 2 * * *"
concurrency:
group: object-storage-swift-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs:
changes:
runs-on: ubuntu-latest-low
outputs:
src: ${{ steps.changes.outputs.src}}
steps:
- uses: dorny/paths-filter@de90cc6fb38fc0963ad72b210f1f284cd68cea36 # v3.0.2
id: changes
continue-on-error: true
with:
filters: |
src:
- '.github/workflows/**'
- '3rdparty/**'
- '**/appinfo/**'
- '**/lib/**'
- '**/templates/**'
- '**/tests/**'
- 'vendor/**'
- 'vendor-bin/**'
- '.php-cs-fixer.dist.php'
- 'composer.json'
- 'composer.lock'
- '**.php'
swift-primary-tests:
runs-on: ubuntu-latest
needs: changes
if: ${{ github.repository_owner != 'nextcloud-gmbh' && needs.changes.outputs.src != 'false' }}
strategy:
matrix:
php-versions: ['8.1', '8.2', '8.3']
include:
- php-versions: '8.3'
coverage: true
name: php${{ matrix.php-versions }}-swift
services:
cache:
image: ghcr.io/nextcloud/continuous-integration-redis:latest
ports:
- 6379:6379/tcp
options: --health-cmd="redis-cli ping" --health-interval=10s --health-timeout=5s --health-retries=3
swift:
image: ghcr.io/cscfi/docker-keystone-swift
ports:
- 5000:5000
- 8080:8080
steps:
- name: Checkout server
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332
with:
submodules: true
- name: Set up php ${{ matrix.php-versions }}
uses: shivammathur/setup-php@c541c155eee45413f5b09a52248675b1a2575231 #v2.31.1
with:
php-version: ${{ matrix.php-versions }}
# https://docs.nextcloud.com/server/stable/admin_manual/installation/source_installation.html#prerequisites-for-manual-installation
extensions: bz2, ctype, curl, dom, fileinfo, gd, iconv, intl, json, libxml, mbstring, openssl, pcntl, posix, redis, session, simplexml, xmlreader, xmlwriter, zip, zlib, sqlite, pdo_sqlite
coverage: ${{ matrix.coverage && 'xdebug' || 'none' }}
ini-file: development
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Set up Nextcloud
env:
OBJECT_STORE: swift
OBJECT_STORE_SECRET: veryfast
run: |
composer install
cp tests/redis.config.php config/
cp tests/preseed-config.php config/config.php
./occ maintenance:install --verbose --database=sqlite --database-name=nextcloud --database-host=127.0.0.1 --database-user=root --database-pass=rootpassword --admin-user admin --admin-pass password
php -f tests/enable_all.php | grep -i -C9999 error && echo "Error during app setup" && exit 1 || exit 0
- name: PHPUnit
env:
OBJECT_STORE: swift
OBJECT_STORE_SECRET: veryfast
run: composer run test -- --group PRIMARY-swift ${{ matrix.coverage && ' --coverage-clover ./clover.xml' || '' }}
- name: Upload code coverage
if: ${{ !cancelled() && matrix.coverage }}
uses: codecov/codecov-action@v4.5.0
with:
files: ./clover.xml
flags: phpunit-swift
- name: Swift logs
if: always()
run: |
docker ps -a
docker ps -aq | while read container ; do IMAGE=$(docker inspect --format='{{.Config.Image}}' $container); echo $IMAGE; docker logs $container; echo "\n\n" ; done
swift-primary-summary:
runs-on: ubuntu-latest-low
needs: [changes,swift-primary-tests]
if: always()
steps:
- name: Summary status
run: if ${{ needs.changes.outputs.src != 'false' && needs.swift-primary-tests.result != 'success' }}; then exit 1; fi
+45
View File
@@ -0,0 +1,45 @@
# 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: 2024 Nextcloud GmbH and Nextcloud contributors
# SPDX-FileCopyrightText: 2024 Arthur Schiwon <blizzz@arthur-schiwon.de>
# SPDX-License-Identifier: MIT
name: OpenAPI
on: pull_request
permissions:
contents: read
concurrency:
group: openapi-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs:
openapi:
runs-on: ubuntu-latest
if: ${{ github.repository_owner != 'nextcloud-gmbh' }}
steps:
- name: Checkout
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
- name: Set up php
uses: shivammathur/setup-php@c541c155eee45413f5b09a52248675b1a2575231 #v2.31.1
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
coverage: none
ini-file: development
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Set up dependencies
run: composer i
- name: OpenAPI checker
run: build/openapi-checker.sh
+120
View File
@@ -0,0 +1,120 @@
# SPDX-FileCopyrightText: 2022 Nextcloud GmbH and Nextcloud contributors
# SPDX-License-Identifier: MIT
name: Performance testing
on:
pull_request:
concurrency:
group: performance-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs:
performance-testing:
runs-on: ubuntu-latest
if: ${{ github.repository_owner != 'nextcloud-gmbh' }}
strategy:
fail-fast: false
matrix:
php-versions: ['8.1']
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@692973e3d937129bcbf40652eb9f2f61becf3332
with:
submodules: true
ref: ${{ github.event.pull_request.base.ref }}
- name: Set up php ${{ matrix.php-versions }}
uses: shivammathur/setup-php@c541c155eee45413f5b09a52248675b1a2575231 #v2.31.1
with:
php-version: ${{ matrix.php-versions }}
extensions: mbstring, fileinfo, intl, sqlite, pdo_sqlite, zip, gd
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Set up Nextcloud
run: |
mkdir data
./occ maintenance:install --verbose --database=sqlite --database-name=nextcloud --database-host=127.0.0.1 --database-user=root --database-pass=rootpassword --admin-user admin --admin-pass password
php -S localhost:8080 &
- name: Apply blueprint
uses: icewind1991/blueprint@v0.1.2
with:
blueprint: tests/blueprints/basic.toml
ref: ${{ github.event.pull_request.head.ref }}
- name: Run before measurements
uses: nextcloud/profiler@6801ee10fc80f10b444388fb6ca9b36ad8a2ea83
with:
run: |
curl -s -X PROPFIND -u test:test http://localhost:8080/remote.php/dav/files/test
curl -s -u test:test http://localhost:8080/remote.php/dav/files/test/test.txt
curl -s -X PROPFIND -u test:test http://localhost:8080/remote.php/dav/files/test/many_files
curl -s -u test:test -T README.md http://localhost:8080/remote.php/dav/files/test/new_file.txt
curl -s -u test:test -X DELETE http://localhost:8080/remote.php/dav/files/test/new_file.txt
output: before.json
profiler-branch: master
- name: Apply PR
run: |
git remote add pr '${{ github.event.pull_request.head.repo.clone_url }}'
git fetch pr '${{ github.event.pull_request.head.ref }}'
git checkout -b 'pr/${{ github.event.pull_request.head.ref }}'
git submodule update
./occ upgrade
- name: Run after measurements
id: compare
uses: nextcloud/profiler@6801ee10fc80f10b444388fb6ca9b36ad8a2ea83
with:
run: |
curl -s -X PROPFIND -u test:test http://localhost:8080/remote.php/dav/files/test
curl -s -u test:test http://localhost:8080/remote.php/dav/files/test/test.txt
curl -s -X PROPFIND -u test:test http://localhost:8080/remote.php/dav/files/test/many_files
curl -s -u test:test -T README.md http://localhost:8080/remote.php/dav/files/test/new_file.txt
curl -s -u test:test -X DELETE http://localhost:8080/remote.php/dav/files/test/new_file.txt
output: after.json
profiler-branch: master
compare-with: before.json
- name: Upload profiles
if: always()
uses: actions/upload-artifact@0b2256b8c012f0828dc542b3febcab082c67f72b
with:
name: profiles
path: |
before.json
after.json
- uses: actions/github-script@v7
if: failure() && steps.compare.outcome == 'failure'
with:
github-token: ${{secrets.GITHUB_TOKEN}}
script: |
let comment = `Possible performance regression detected\n`;
comment += `<details><summary>Show Output</summary>
\`\`\`
${{ steps.compare.outputs.compare }}
\`\`\`
</details>`;
github.rest.issues.createComment({
issue_number: context.issue.number,
owner: context.repo.owner,
repo: context.repo.repo,
body: comment
})
+66
View File
@@ -0,0 +1,66 @@
# SPDX-FileCopyrightText: 2023 Nextcloud GmbH and Nextcloud contributors
# SPDX-License-Identifier: MIT
name: PHPUnit 32bits
on:
pull_request:
paths:
- 'version.php'
- '.github/workflows/phpunit-32bits.yml'
workflow_dispatch:
schedule:
- cron: "15 1 * * 1-6"
permissions:
contents: read
concurrency:
group: phpunit-32bits-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs:
phpunit-32bits:
runs-on: ubuntu-latest
if: ${{ github.repository_owner != 'nextcloud-gmbh' }}
container: shivammathur/node:latest-i386
strategy:
matrix:
php-versions: ['8.1','8.3']
steps:
- name: Checkout server
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332
with:
submodules: true
- name: Install tools
run: |
sudo apt-get update
sudo apt-get install -y ffmpeg imagemagick libmagickcore-6.q16-3-extra
- name: Set up php ${{ matrix.php-versions }}
uses: shivammathur/setup-php@c541c155eee45413f5b09a52248675b1a2575231 #v2.31.1
with:
php-version: ${{ matrix.php-versions }}
extensions: ctype, curl, dom, fileinfo, gd, imagick, intl, json, mbstring, openssl, pdo_sqlite, posix, sqlite, xml, zip, apcu
coverage: none
ini-file: development
ini-values:
apc.enabled=on, apc.enable_cli=on, disable_functions= # https://github.com/shivammathur/setup-php/discussions/573
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Set up Nextcloud
env:
DB_PORT: 4444
run: |
composer install
mkdir data
./occ maintenance:install --verbose --database=sqlite --database-name=nextcloud --database-host=127.0.0.1 --database-port=$DB_PORT --database-user=autotest --database-pass=rootpassword --admin-user admin --admin-pass admin
php -f index.php
- name: PHPUnit
run: composer run test -- --exclude-group PRIMARY-azure,PRIMARY-s3,PRIMARY-swift,Memcached,Redis,RoutingWeirdness
+142
View File
@@ -0,0 +1,142 @@
# 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: 2023-2024 Nextcloud GmbH and Nextcloud contributors
# SPDX-License-Identifier: MIT
name: PHPUnit MariaDB
on:
pull_request:
schedule:
- cron: "5 2 * * *"
permissions:
contents: read
concurrency:
group: phpunit-mariadb-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs:
changes:
runs-on: ubuntu-latest-low
outputs:
src: ${{ steps.changes.outputs.src}}
steps:
- uses: dorny/paths-filter@de90cc6fb38fc0963ad72b210f1f284cd68cea36 # v3.0.2
id: changes
continue-on-error: true
with:
filters: |
src:
- '.github/workflows/**'
- '3rdparty/**'
- '**/appinfo/**'
- '**/lib/**'
- '**/templates/**'
- '**/tests/**'
- 'vendor/**'
- 'vendor-bin/**'
- '.php-cs-fixer.dist.php'
- 'composer.json'
- 'composer.lock'
- '**.php'
phpunit-mariadb:
runs-on: ubuntu-latest
needs: changes
if: needs.changes.outputs.src != 'false'
strategy:
matrix:
php-versions: ['8.1']
mariadb-versions: ['10.3', '10.6', '10.11', '11.4']
include:
- php-versions: '8.3'
mariadb-versions: '10.11'
coverage: ${{ github.event_name != 'pull_request' }}
name: MariaDB ${{ matrix.mariadb-versions }} (PHP ${{ matrix.php-versions }}) - database tests
services:
cache:
image: ghcr.io/nextcloud/continuous-integration-redis:latest
ports:
- 6379:6379/tcp
options: --health-cmd="redis-cli ping" --health-interval=10s --health-timeout=5s --health-retries=3
mariadb:
image: mariadb:${{ matrix.mariadb-versions }}
ports:
- 4444:3306/tcp
env:
MYSQL_ROOT_PASSWORD: rootpassword
MYSQL_USER: oc_autotest
MYSQL_PASSWORD: nextcloud
MYSQL_DATABASE: oc_autotest
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@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
with:
submodules: true
- name: Set up php ${{ matrix.php-versions }}
uses: shivammathur/setup-php@c541c155eee45413f5b09a52248675b1a2575231 #v2.31.1
with:
php-version: ${{ matrix.php-versions }}
# https://docs.nextcloud.com/server/stable/admin_manual/installation/source_installation.html#prerequisites-for-manual-installation
extensions: bz2, ctype, curl, dom, fileinfo, gd, iconv, intl, json, libxml, mbstring, openssl, pcntl, posix, redis, session, simplexml, xmlreader, xmlwriter, zip, zlib, mysql, pdo_mysql
coverage: ${{ matrix.coverage && 'xdebug' || 'none' }}
ini-file: development
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Set up dependencies
run: composer i
- name: Enable ONLY_FULL_GROUP_BY MariaDB option
run: |
echo "SET GLOBAL sql_mode=(SELECT CONCAT(@@sql_mode,',ONLY_FULL_GROUP_BY'));" | mysql -h 127.0.0.1 -P 4444 -u root -prootpassword
echo 'SELECT @@sql_mode;' | mysql -h 127.0.0.1 -P 4444 -u root -prootpassword
- name: Set up Nextcloud
env:
DB_PORT: 4444
run: |
mkdir data
cp tests/redis.config.php config/
cp tests/preseed-config.php config/config.php
./occ maintenance:install --verbose --database=mysql --database-name=nextcloud --database-host=127.0.0.1 --database-port=$DB_PORT --database-user=root --database-pass=rootpassword --admin-user admin --admin-pass admin
php -f tests/enable_all.php | grep -i -C9999 error && echo "Error during app setup" && exit 1 || exit 0
- name: PHPUnit
run: composer run test:db ${{ matrix.coverage && ' -- --coverage-clover ./clover.db.xml' || '' }}
- name: Upload db code coverage
if: ${{ !cancelled() && matrix.coverage }}
uses: codecov/codecov-action@v4.5.0
with:
files: ./clover.db.xml
flags: phpunit-mariadb
summary:
permissions:
contents: none
runs-on: ubuntu-latest-low
needs: [changes, phpunit-mariadb]
if: always()
name: phpunit-mariadb-summary
steps:
- name: Summary status
run: if ${{ needs.changes.outputs.src != 'false' && needs.phpunit-mariadb.result != 'success' }}; then exit 1; fi
+126
View File
@@ -0,0 +1,126 @@
# 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: 2023 Nextcloud GmbH and Nextcloud contributors
# SPDX-License-Identifier: MIT
name: PHPUnit memcached
on:
pull_request:
schedule:
- cron: "5 2 * * *"
permissions:
contents: read
concurrency:
group: phpunit-memcached-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs:
changes:
runs-on: ubuntu-latest-low
outputs:
src: ${{ steps.changes.outputs.src}}
steps:
- uses: dorny/paths-filter@de90cc6fb38fc0963ad72b210f1f284cd68cea36 # v3.0.2
id: changes
continue-on-error: true
with:
filters: |
src:
- '.github/workflows/**'
- '3rdparty/**'
- '**/appinfo/**'
- '**/lib/**'
- '**/templates/**'
- '**/tests/**'
- 'vendor/**'
- 'vendor-bin/**'
- '.php-cs-fixer.dist.php'
- 'composer.json'
- 'composer.lock'
- '**.php'
phpunit-memcached:
runs-on: ubuntu-latest
needs: changes
if: needs.changes.outputs.src != 'false'
strategy:
matrix:
php-versions: ['8.1', '8.2', '8.3']
include:
- php-versions: '8.2'
coverage: ${{ github.event_name != 'pull_request' }}
name: Memcached (PHP ${{ matrix.php-versions }})
services:
memcached:
image: ghcr.io/nextcloud/continuous-integration-redis:latest
ports:
- 11212:11212/tcp
- 11212:11212/udp
steps:
- name: Checkout server
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332
with:
submodules: true
- name: Set up php ${{ matrix.php-versions }}
uses: shivammathur/setup-php@c541c155eee45413f5b09a52248675b1a2575231 #v2.31.1
with:
php-version: ${{ matrix.php-versions }}
# https://docs.nextcloud.com/server/stable/admin_manual/installation/source_installation.html#prerequisites-for-manual-installation
extensions: bz2, ctype, curl, dom, fileinfo, gd, iconv, intl, json, libxml, mbstring, memcached, openssl, pcntl, posix, redis, session, simplexml, xmlreader, xmlwriter, zip, zlib, sqlite, pdo_sqlite
coverage: ${{ matrix.coverage && 'xdebug' || 'none' }}
ini-file: development
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Set up dependencies
run: composer i
- name: Set up Nextcloud
run: |
mkdir data
cp tests/preseed-config.php config/config.php
./occ maintenance:install --verbose --database=sqlite --database-name=nextcloud --database-user=root --database-pass=rootpassword --admin-user admin --admin-pass admin
php -f tests/enable_all.php | grep -i -C9999 error && echo "Error during app setup" && exit 1 || exit 0
- name: PHPUnit memcached tests
run: composer run test -- --group Memcache,Memcached ${{ matrix.coverage && '--coverage-clover ./clover.xml' || '' }}
- name: Upload code coverage
if: ${{ !cancelled() && matrix.coverage }}
uses: codecov/codecov-action@v4.5.0
with:
files: ./clover.xml
flags: phpunit-memcached
- name: Print logs
if: always()
run: |
cat data/nextcloud.log
summary:
permissions:
contents: none
runs-on: ubuntu-latest-low
needs: [changes, phpunit-memcached]
if: always()
name: phpunit-memcached-summary
steps:
- name: Summary status
run: if ${{ needs.changes.outputs.src != 'false' && needs.phpunit-memcached.result != 'success' }}; then exit 1; fi
+147
View File
@@ -0,0 +1,147 @@
# This workflow is provided via the organization template repository
#
# https://github.com/nextcloud/.github
# https://docs.github.com/en/actions/learn-github-actions/sharing-workflows-with-your-organization
#
# SPDX-FileCopyrightText: 2022-2024 Nextcloud GmbH and Nextcloud contributors
# SPDX-License-Identifier: MIT
name: PHPUnit mysql
on:
pull_request:
schedule:
- cron: "5 2 * * *"
permissions:
contents: read
concurrency:
group: phpunit-mysql-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs:
changes:
runs-on: ubuntu-latest-low
outputs:
src: ${{ steps.changes.outputs.src }}
steps:
- uses: dorny/paths-filter@de90cc6fb38fc0963ad72b210f1f284cd68cea36 # v3.0.2
id: changes
continue-on-error: true
with:
filters: |
src:
- '.github/workflows/**'
- '3rdparty/**'
- '**/appinfo/**'
- '**/lib/**'
- '**/templates/**'
- '**/tests/**'
- 'vendor/**'
- 'vendor-bin/**'
- '.php-cs-fixer.dist.php'
- 'composer.json'
- 'composer.lock'
- '**.php'
phpunit-mysql:
runs-on: ubuntu-latest
needs: changes
if: needs.changes.outputs.src != 'false'
strategy:
matrix:
php-versions: ['8.1']
mysql-versions: ['8.0', '8.4']
include:
- mysql-versions: '8.0'
php-versions: '8.3'
coverage: ${{ github.event_name != 'pull_request' }}
name: MySQL ${{ matrix.mysql-versions }} (PHP ${{ matrix.php-versions }}) - database tests
services:
cache:
image: ghcr.io/nextcloud/continuous-integration-redis:latest
ports:
- 6379:6379/tcp
options: --health-cmd="redis-cli ping" --health-interval=10s --health-timeout=5s --health-retries=3
mysql:
image: ghcr.io/nextcloud/continuous-integration-mysql-${{ matrix.mysql-versions }}:latest
ports:
- 4444:3306/tcp
env:
MYSQL_ROOT_PASSWORD: rootpassword
MYSQL_USER: oc_autotest
MYSQL_PASSWORD: nextcloud
MYSQL_DATABASE: oc_autotest
options: --health-cmd="mysqladmin ping" --health-interval 5s --health-timeout 2s --health-retries 10
steps:
- name: Checkout server
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332
with:
submodules: true
- name: Set up php ${{ matrix.php-versions }}
uses: shivammathur/setup-php@c541c155eee45413f5b09a52248675b1a2575231 #v2.31.1
with:
php-version: ${{ matrix.php-versions }}
# https://docs.nextcloud.com/server/stable/admin_manual/installation/source_installation.html#prerequisites-for-manual-installation
extensions: bz2, ctype, curl, dom, fileinfo, gd, iconv, intl, json, libxml, mbstring, openssl, pcntl, posix, redis, session, simplexml, xmlreader, xmlwriter, zip, zlib, mysql, pdo_mysql
coverage: ${{ matrix.coverage && 'xdebug' || 'none' }}
ini-file: development
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Set up dependencies
run: composer i
- name: Enable ONLY_FULL_GROUP_BY MySQL option
run: |
echo "SET GLOBAL sql_mode=(SELECT CONCAT(@@sql_mode,',ONLY_FULL_GROUP_BY'));" | mysql -h 127.0.0.1 -P 4444 -u root -prootpassword
echo "SELECT @@sql_mode;" | mysql -h 127.0.0.1 -P 4444 -u root -prootpassword
- name: Set up Nextcloud
env:
DB_PORT: 4444
run: |
mkdir data
cp tests/redis.config.php config/
cp tests/preseed-config.php config/config.php
./occ maintenance:install --verbose --database=mysql --database-name=nextcloud --database-host=127.0.0.1 --database-port=$DB_PORT --database-user=root --database-pass=rootpassword --admin-user admin --admin-pass admin
php -f tests/enable_all.php | grep -i -C9999 error && echo "Error during app setup" && exit 1 || exit 0
- name: PHPUnit
run: composer run test:db ${{ matrix.coverage && ' -- --coverage-clover ./clover.db.xml' || '' }}
- name: Upload db code coverage
if: ${{ !cancelled() && matrix.coverage }}
uses: codecov/codecov-action@v4.5.0
with:
files: ./clover.db.xml
flags: phpunit-mysql
- name: Print logs
if: always()
run: |
cat data/nextcloud.log
summary:
permissions:
contents: none
runs-on: ubuntu-latest-low
needs: [changes, phpunit-mysql]
if: always()
name: phpunit-mysql-summary
steps:
- name: Summary status
run: if ${{ needs.changes.outputs.src != 'false' && needs.phpunit-mysql.result != 'success' }}; then exit 1; fi
+131
View File
@@ -0,0 +1,131 @@
# 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: 2023 Nextcloud GmbH and Nextcloud contributors
# SPDX-License-Identifier: MIT
#
# This is the testsuite running all non-database agnostic unit tests
name: PHPUnit nodb
on:
pull_request:
schedule:
- cron: "5 2 * * *"
permissions:
contents: read
concurrency:
group: phpunit-nodb-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs:
changes:
runs-on: ubuntu-latest-low
outputs:
src: ${{ steps.changes.outputs.src }}
steps:
- uses: dorny/paths-filter@de90cc6fb38fc0963ad72b210f1f284cd68cea36 # v3.0.2
id: changes
continue-on-error: true
with:
filters: |
src:
- '.github/workflows/**'
- '3rdparty/**'
- '**/appinfo/**'
- '**/lib/**'
- '**/templates/**'
- '**/tests/**'
- 'vendor/**'
- 'vendor-bin/**'
- '.php-cs-fixer.dist.php'
- 'composer.json'
- 'composer.lock'
- '**.php'
phpunit-nodb:
runs-on: ubuntu-latest
needs: changes
if: needs.changes.outputs.src != 'false'
strategy:
matrix:
php-versions: ['8.1', '8.2', '8.3']
include:
- php-versions: '8.2'
coverage: ${{ github.event_name != 'pull_request' }}
name: No DB unit tests (PHP ${{ matrix.php-versions }})
services:
cache:
image: ghcr.io/nextcloud/continuous-integration-redis:latest
ports:
- 6379:6379/tcp
options: --health-cmd="redis-cli ping" --health-interval=10s --health-timeout=5s --health-retries=3
steps:
- name: Checkout server
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332
with:
submodules: true
- name: Set up php ${{ matrix.php-versions }}
uses: shivammathur/setup-php@c541c155eee45413f5b09a52248675b1a2575231 #v2.31.1
with:
php-version: ${{ matrix.php-versions }}
# https://docs.nextcloud.com/server/stable/admin_manual/installation/source_installation.html#prerequisites-for-manual-installation
extensions: bz2, ctype, curl, dom, fileinfo, gd, iconv, imagick, intl, json, libxml, mbstring, openssl, pcntl, posix, redis, session, simplexml, xmlreader, xmlwriter, zip, zlib, sqlite, pdo_sqlite
coverage: ${{ matrix.coverage && 'xdebug' || 'none' }}
ini-file: development
# Required for tests that use pcntl
ini-values: disable_functions=""
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Set up dependencies
run: composer i
- name: Set up Nextcloud
run: |
mkdir data
cp tests/redis.config.php config/
cp tests/preseed-config.php config/config.php
./occ maintenance:install --verbose --database=sqlite --database-name=nextcloud --database-user=root --database-pass=rootpassword --admin-user admin --admin-pass admin
php -f tests/enable_all.php | grep -i -C9999 error && echo "Error during app setup" && exit 1 || exit 0
- name: PHPUnit nodb testsuite
run: composer run test -- --exclude-group DB,SLOWDB ${{ matrix.coverage && ' --coverage-clover ./clover.nodb.xml' || '' }}
- name: Upload nodb code coverage
if: ${{ !cancelled() && matrix.coverage }}
uses: codecov/codecov-action@v4.5.0
with:
files: ./clover.nodb.xml
flags: phpunit-nodb
- name: Print logs
if: always()
run: |
cat data/nextcloud.log
summary:
permissions:
contents: none
runs-on: ubuntu-latest-low
needs: [changes, phpunit-nodb]
if: always()
name: phpunit-nodb-summary
steps:
- name: Summary status
run: if ${{ needs.changes.outputs.src != 'false' && needs.phpunit-nodb.result != 'success' }}; then exit 1; fi
+11 -11
View File
@@ -51,19 +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:
include:
- 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'
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
@@ -99,7 +101,7 @@ jobs:
submodules: true
- name: Set up php ${{ matrix.php-versions }}
uses: shivammathur/setup-php@2e947f1f6932d141d076ca441d0e1e881775e95b #v2.31.0
uses: shivammathur/setup-php@c541c155eee45413f5b09a52248675b1a2575231 #v2.31.1
with:
php-version: ${{ matrix.php-versions }}
# https://docs.nextcloud.com/server/stable/admin_manual/installation/source_installation.html#prerequisites-for-manual-installation
@@ -113,13 +115,11 @@ jobs:
run: composer i
- name: Set up Nextcloud
env:
DB_PORT: 1521
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=${{ matrix.oracle-versions < 23 && 'XE' || 'FREE' }} --database-host=127.0.0.1 --database-port=$DB_PORT --database-user=system --database-pass=oracle --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
@@ -127,7 +127,7 @@ jobs:
- name: Upload db code coverage
if: ${{ !cancelled() && matrix.coverage }}
uses: codecov/codecov-action@v4.1.1
uses: codecov/codecov-action@v4.5.0
with:
files: ./clover.db.xml
flags: phpunit-oci
+146
View File
@@ -0,0 +1,146 @@
# This workflow is provided via the organization template repository
#
# https://github.com/nextcloud/.github
# https://docs.github.com/en/actions/learn-github-actions/sharing-workflows-with-your-organization
#
# SPDX-FileCopyrightText: 2022-2024 Nextcloud GmbH and Nextcloud contributors
# SPDX-License-Identifier: MIT
name: PHPUnit PostgreSQL
on:
pull_request:
schedule:
- cron: "5 2 * * *"
permissions:
contents: read
concurrency:
group: phpunit-pgsql-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs:
changes:
runs-on: ubuntu-latest-low
outputs:
src: ${{ steps.changes.outputs.src }}
steps:
- uses: dorny/paths-filter@de90cc6fb38fc0963ad72b210f1f284cd68cea36 # v3.0.2
id: changes
continue-on-error: true
with:
filters: |
src:
- '.github/workflows/**'
- '3rdparty/**'
- '**/appinfo/**'
- '**/lib/**'
- '**/templates/**'
- '**/tests/**'
- 'vendor/**'
- 'vendor-bin/**'
- '.php-cs-fixer.dist.php'
- 'composer.json'
- 'composer.lock'
- '**.php'
phpunit-pgsql:
runs-on: ubuntu-latest
needs: changes
if: needs.changes.outputs.src != 'false'
strategy:
matrix:
php-versions: ['8.1']
# To keep the matrix smaller we ignore PostgreSQL '13', '14', and '15' as we already test 12 and 16 as lower and upper bound
postgres-versions: ['12', '16']
include:
- php-versions: '8.3'
postgres-versions: '16'
coverage: ${{ github.event_name != 'pull_request' }}
name: PostgreSQL ${{ matrix.postgres-versions }} (PHP ${{ matrix.php-versions }}) - database tests
services:
cache:
image: ghcr.io/nextcloud/continuous-integration-redis:latest
ports:
- 6379:6379/tcp
options: --health-cmd="redis-cli ping" --health-interval=10s --health-timeout=5s --health-retries=3
postgres:
image: ghcr.io/nextcloud/continuous-integration-postgres-${{ matrix.postgres-versions }}:latest
ports:
- 4444:5432/tcp
env:
POSTGRES_USER: root
POSTGRES_PASSWORD: rootpassword
POSTGRES_DB: nextcloud
options: --mount type=tmpfs,destination=/var/lib/postgresql/data --health-cmd pg_isready --health-interval 5s --health-timeout 2s --health-retries 5
steps:
- name: Checkout server
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
with:
submodules: true
- name: Set up php ${{ matrix.php-versions }}
uses: shivammathur/setup-php@c541c155eee45413f5b09a52248675b1a2575231 #v2.31.1
with:
php-version: ${{ matrix.php-versions }}
# https://docs.nextcloud.com/server/stable/admin_manual/installation/source_installation.html#prerequisites-for-manual-installation
extensions: bz2, ctype, curl, dom, fileinfo, gd, iconv, intl, json, libxml, mbstring, openssl, pcntl, posix, redis, session, simplexml, xmlreader, xmlwriter, zip, zlib, pgsql, pdo_pgsql
coverage: ${{ matrix.coverage && 'xdebug' || 'none' }}
ini-file: development
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Set up dependencies
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=pgsql --database-name=nextcloud --database-host=127.0.0.1 --database-port=$DB_PORT --database-user=root --database-pass=rootpassword --admin-user admin --admin-pass admin
php -f tests/enable_all.php | grep -i -C9999 error && echo "Error during app setup" && exit 1 || exit 0
- name: PHPUnit database tests
run: composer run test:db ${{ matrix.coverage && ' -- --coverage-clover ./clover.db.xml' || '' }}
- name: Upload db code coverage
if: ${{ !cancelled() && matrix.coverage }}
uses: codecov/codecov-action@v4.5.0
with:
files: ./clover.db.xml
flags: phpunit-postgres
- name: Run repair steps
run: |
./occ maintenance:repair --include-expensive
- name: Print logs
if: always()
run: |
cat data/nextcloud.log
summary:
permissions:
contents: none
runs-on: ubuntu-latest-low
needs: [changes, phpunit-pgsql]
if: always()
name: phpunit-pgsql-summary
steps:
- name: Summary status
run: if ${{ needs.changes.outputs.src != 'false' && needs.phpunit-pgsql.result != 'success' }}; then exit 1; fi
+130
View File
@@ -0,0 +1,130 @@
# This workflow is provided via the organization template repository
#
# https://github.com/nextcloud/.github
# https://docs.github.com/en/actions/learn-github-actions/sharing-workflows-with-your-organization
#
# SPDX-FileCopyrightText: 2022-2024 Nextcloud GmbH and Nextcloud contributors
# SPDX-License-Identifier: MIT
name: PHPUnit SQLite
on:
pull_request:
schedule:
- cron: "5 2 * * *"
permissions:
contents: read
concurrency:
group: phpunit-sqlite-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs:
changes:
runs-on: ubuntu-latest-low
outputs:
src: ${{ steps.changes.outputs.src }}
steps:
- uses: dorny/paths-filter@de90cc6fb38fc0963ad72b210f1f284cd68cea36 # v3.0.2
id: changes
continue-on-error: true
with:
filters: |
src:
- '.github/workflows/**'
- '3rdparty/**'
- '**/appinfo/**'
- '**/lib/**'
- '**/templates/**'
- '**/tests/**'
- 'vendor/**'
- 'vendor-bin/**'
- '.php-cs-fixer.dist.php'
- 'composer.json'
- 'composer.lock'
- '**.php'
phpunit-sqlite:
runs-on: ubuntu-latest
needs: changes
if: needs.changes.outputs.src != 'false'
strategy:
matrix:
php-versions: ['8.1', '8.2', '8.3']
include:
- php-versions: '8.1'
coverage: ${{ github.event_name != 'pull_request' }}
name: SQLite (PHP ${{ matrix.php-versions }})
services:
cache:
image: ghcr.io/nextcloud/continuous-integration-redis:latest
ports:
- 6379:6379/tcp
options: --health-cmd="redis-cli ping" --health-interval=10s --health-timeout=5s --health-retries=3
steps:
- name: Checkout server
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
with:
submodules: true
- name: Set up php ${{ matrix.php-versions }}
uses: shivammathur/setup-php@c541c155eee45413f5b09a52248675b1a2575231 #v2.31.1
with:
php-version: ${{ matrix.php-versions }}
# https://docs.nextcloud.com/server/stable/admin_manual/installation/source_installation.html#prerequisites-for-manual-installation
extensions: bz2, ctype, curl, dom, fileinfo, gd, iconv, intl, json, libxml, mbstring, openssl, pcntl, posix, redis, session, simplexml, xmlreader, xmlwriter, zip, zlib, sqlite, pdo_sqlite
coverage: ${{ matrix.coverage && 'xdebug' || 'none' }}
ini-file: development
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Set up dependencies
run: composer i
- name: Set up Nextcloud
run: |
mkdir data
cp tests/redis.config.php config/
cp tests/preseed-config.php config/config.php
./occ maintenance:install --verbose --database=sqlite --database-name=nextcloud --database-user=root --database-pass=rootpassword --admin-user admin --admin-pass admin
php -f tests/enable_all.php | grep -i -C9999 error && echo "Error during app setup" && exit 1 || exit 0
- name: Nextcloud debug information
run: ./occ app:list && echo "======= System config =======" && ./occ config:list system
- name: PHPUnit database tests
run: composer run test:db ${{ matrix.coverage && ' -- --coverage-clover ./clover.db.xml' || '' }}
- name: Upload db code coverage
if: ${{ !cancelled() && matrix.coverage }}
uses: codecov/codecov-action@v4.5.0
with:
files: ./clover.db.xml
flags: phpunit-sqlite
- name: Print logs
if: always()
run: |
cat data/nextcloud.log
summary:
permissions:
contents: none
runs-on: ubuntu-latest-low
needs: [changes, phpunit-sqlite]
if: always()
name: phpunit-sqlite-summary
steps:
- name: Summary status
run: if ${{ needs.changes.outputs.src != 'false' && needs.phpunit-sqlite.result != 'success' }}; then exit 1; fi
+50
View File
@@ -0,0 +1,50 @@
# 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: 2023-2024 Nextcloud GmbH and Nextcloud contributors
# SPDX-FileCopyrightText: 2023 Marcel Klehr <mklehr@gmx.net>
# SPDX-FileCopyrightText: 2023 Joas Schilling <213943+nickvergessen@users.noreply.github.com>
# SPDX-FileCopyrightText: 2023 Daniel Kesselberg <mail@danielkesselberg.de>
# SPDX-FileCopyrightText: 2023 Florian Steffens <florian.steffens@nextcloud.com>
# SPDX-License-Identifier: MIT
name: 'Ask for feedback on PRs'
on:
schedule:
- cron: '30 1 * * *'
jobs:
pr-feedback:
runs-on: ubuntu-latest
steps:
- name: The get-github-handles-from-website action
uses: marcelklehr/get-github-handles-from-website-action@a739600f6b91da4957f51db0792697afbb2f143c # v1.0.0
id: scrape
with:
website: 'https://nextcloud.com/team/'
- name: Get blocklist
id: blocklist
run: |
blocklist=$(curl https://raw.githubusercontent.com/nextcloud/.github/master/non-community-usernames.txt | paste -s -d, -)
echo "blocklist=$blocklist" >> "$GITHUB_OUTPUT"
- uses: marcelklehr/pr-feedback-action@1883b38a033fb16f576875e0cf45f98b857655c4
with:
feedback-message: |
Hello there,
Thank you so much for taking the time and effort to create a pull request to our Nextcloud project.
We hope that the review process is going smooth and is helpful for you. We want to ensure your pull request is reviewed to your satisfaction. If you have a moment, our community management team would very much appreciate your feedback on your experience with this PR review process.
Your feedback is valuable to us as we continuously strive to improve our community developer experience. Please take a moment to complete our short survey by clicking on the following link: https://cloud.nextcloud.com/apps/forms/s/i9Ago4EQRZ7TWxjfmeEpPkf6
Thank you for contributing to Nextcloud and we hope to hear from you soon!
(If you believe you should not receive this message, you can add yourself to the [blocklist](https://github.com/nextcloud/.github/blob/master/non-community-usernames.txt).)
days-before-feedback: 14
start-date: '2024-04-30'
exempt-authors: '${{ steps.blocklist.outputs.blocklist }},${{ steps.scrape.outputs.users }},nextcloud-command,nextcloud-android-bot'
exempt-bots: true
+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
+35
View File
@@ -0,0 +1,35 @@
# SPDX-FileCopyrightText: 2019 Nextcloud GmbH and Nextcloud contributors
# SPDX-License-Identifier: MIT
name: Close stale issues
on:
workflow_dispatch:
schedule:
- cron: "0 0 * * *"
jobs:
stale:
runs-on: ubuntu-latest
if: ${{ github.repository_owner != 'nextcloud-gmbh' }}
permissions:
issues: write
steps:
- uses: actions/stale@v9
with:
repo-token: ${{ secrets.COMMAND_BOT_PAT }}
stale-issue-message: >
This issue has been automatically marked as stale because it has not had
recent activity and seems to be missing some essential information.
It will be closed if no further activity occurs. Thank you
for your contributions.
stale-issue-label: 'stale'
only-labels: 'needs info'
labels-to-remove-when-unstale: 'needs info,stale'
exempt-issue-labels: '1. to develop,2. developing,3. to review,4. to release,security'
days-before-stale: 30
days-before-close: 14
# debug-only: true
+103
View File
@@ -0,0 +1,103 @@
# SPDX-FileCopyrightText: 2020 Nextcloud GmbH and Nextcloud contributors
# SPDX-License-Identifier: MIT
name: Psalm static code analysis
on:
pull_request:
concurrency:
group: static-code-analysis-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs:
static-code-analysis:
runs-on: ubuntu-latest
if: ${{ github.repository_owner != 'nextcloud-gmbh' }}
steps:
- name: Checkout
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332
with:
submodules: true
- name: Set up php
uses: shivammathur/setup-php@c541c155eee45413f5b09a52248675b1a2575231 #v2.31.1
with:
php-version: '8.1'
extensions: apcu,ctype,curl,dom,fileinfo,ftp,gd,intl,json,ldap,mbstring,openssl,pdo_sqlite,posix,sqlite,xml,zip
coverage: none
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Composer install
run: composer i
- name: Psalm
run: composer run psalm:ci -- --monochrome --no-progress --output-format=github --update-baseline --report=results.sarif
- name: Show potential changes in Psalm baseline
if: always()
run: git diff -- . ':!lib/composer'
- name: Upload Analysis results to GitHub
if: always()
uses: github/codeql-action/upload-sarif@v3
with:
sarif_file: results.sarif
static-code-analysis-security:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332
with:
submodules: true
- name: Set up php
uses: shivammathur/setup-php@c541c155eee45413f5b09a52248675b1a2575231 #v2.31.1
with:
php-version: '8.1'
extensions: ctype,curl,dom,fileinfo,ftp,gd,intl,json,ldap,mbstring,openssl,pdo_sqlite,posix,sqlite,xml,zip
coverage: none
- name: Composer install
run: composer i
- name: Psalm taint analysis
run: composer run psalm:ci -- --monochrome --no-progress --output-format=github --report=results.sarif --taint-analysis
- name: Upload Security Analysis results to GitHub
if: always()
uses: github/codeql-action/upload-sarif@v3
with:
sarif_file: results.sarif
static-code-analysis-ocp:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332
with:
submodules: true
- name: Set up php
uses: shivammathur/setup-php@c541c155eee45413f5b09a52248675b1a2575231 #v2.31.1
with:
php-version: '8.1'
extensions: ctype,curl,dom,fileinfo,gd,intl,json,mbstring,openssl,pdo_sqlite,posix,sqlite,xml,zip
coverage: none
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Composer install
run: composer i
- name: Psalm
run: composer run psalm:ci -- -c psalm-ocp.xml --monochrome --no-progress --output-format=github --update-baseline
- name: Show potential changes in Psalm baseline
if: always()
run: git diff -- . ':!lib/composer'
@@ -0,0 +1,45 @@
# SPDX-FileCopyrightText: 2022 Nextcloud GmbH and Nextcloud contributors
# SPDX-License-Identifier: MIT
name: Update CA certificate bundle
on:
workflow_dispatch:
schedule:
- cron: "5 2 * * *"
jobs:
update-ca-certificate-bundle:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
branches: ['master', 'stable30', 'stable29', 'stable28', 'stable27', 'stable26', 'stable25', 'stable24', 'stable23', 'stable22']
name: update-ca-certificate-bundle-${{ matrix.branches }}
steps:
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332
with:
ref: ${{ matrix.branches }}
submodules: true
- name: Download CA certificate bundle from curl
run: curl --etag-compare build/ca-bundle-etag.txt --etag-save build/ca-bundle-etag.txt --output resources/config/ca-bundle.crt https://curl.se/ca/cacert.pem
- name: Create Pull Request
uses: peter-evans/create-pull-request@c5a7806660adbe173f04e3e038b0ccdcd758773c
with:
token: ${{ secrets.COMMAND_BOT_PAT }}
commit-message: 'fix(security): Update CA certificate bundle'
committer: GitHub <noreply@github.com>
author: nextcloud-command <nextcloud-command@users.noreply.github.com>
signoff: true
branch: 'automated/noid/${{ matrix.branches }}-update-ca-cert-bundle'
title: '[${{ matrix.branches }}] fix(security): Update CA certificate bundle'
body: |
Auto-generated update of CA certificate bundle from [https://curl.se/docs/caextract.html](https://curl.se/docs/caextract.html)
labels: |
dependencies
3. to review
reviewers: ChristophWurst, miaulalala, nickvergessen
@@ -0,0 +1,48 @@
# SPDX-FileCopyrightText: 2024 Nextcloud GmbH and Nextcloud contributors
# SPDX-License-Identifier: MIT
name: Update code signing revocation list
on:
workflow_dispatch:
schedule:
- cron: "5 2 * * *"
jobs:
update-code-signing-crl:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
branches: ['master', 'stable30', 'stable29', 'stable28', 'stable27', 'stable26', 'stable25', 'stable24', 'stable23', 'stable22']
name: update-code-signing-crl-${{ matrix.branches }}
steps:
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332
with:
ref: ${{ matrix.branches }}
submodules: true
- name: Download CRL file from Appstore repository
run: curl --output resources/codesigning/root.crl https://raw.githubusercontent.com/nextcloud/appstore/master/nextcloudappstore/certificate/nextcloud.crl
- name: Verify CRL is from CRT
run: openssl crl -verify -in resources/codesigning/root.crl -CAfile resources/codesigning/root.crt -noout
- name: Create Pull Request
uses: peter-evans/create-pull-request@c5a7806660adbe173f04e3e038b0ccdcd758773c
with:
token: ${{ secrets.COMMAND_BOT_PAT }}
commit-message: 'fix(security): Update code signing revocation list'
committer: GitHub <noreply@github.com>
author: nextcloud-command <nextcloud-command@users.noreply.github.com>
signoff: true
branch: 'automated/noid/${{ matrix.branches }}-update-code-signing-crl'
title: '[${{ matrix.branches }}] fix(security): Update code signing revocation list'
body: |
Auto-generated update of code signing revocation list from [Appstore](https://github.com/nextcloud/appstore/commits/master/nextcloudappstore/certificate/nextcloud.crl)
labels: |
dependencies
3. to review
reviewers: mgallien, miaulalala, nickvergessen
@@ -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@55795d86b4566d300d237883103f052125cc7508 # v3.0.0
id: branchname
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
# GitHub actions bot approve
- uses: hmarr/auto-approve-action@b40d6c9ed2fa10c9a2749eca7eb004418a705501 # v2
if: startsWith(steps.branchname.outputs.branch, 'automated/noid/') && endsWith(steps.branchname.outputs.branch, 'update-psalm-baseline')
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
# Enable GitHub auto merge
- name: Auto merge
uses: alexwilson/enable-github-automerge-action@56e3117d1ae1540309dc8f7a9f2825bc3c5f06ff # main
if: startsWith(steps.branchname.outputs.branch, 'automated/noid/') && endsWith(steps.branchname.outputs.branch, 'update-psalm-baseline')
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
@@ -0,0 +1,69 @@
# SPDX-FileCopyrightText: 2020 Nextcloud GmbH and Nextcloud contributors
# SPDX-License-Identifier: MIT
name: Update Psalm baseline
on:
workflow_dispatch:
schedule:
- cron: "5 2 * * *"
jobs:
update-psalm-baseline:
runs-on: ubuntu-latest
if: ${{ github.repository_owner != 'nextcloud-gmbh' }}
strategy:
fail-fast: false
matrix:
branches: ['master', 'stable30', 'stable29', 'stable28']
name: update-psalm-baseline-${{ matrix.branches }}
steps:
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332
with:
ref: ${{ matrix.branches }}
submodules: true
- name: Set up php
uses: shivammathur/setup-php@c541c155eee45413f5b09a52248675b1a2575231 #v2.31.1
with:
php-version: '8.1'
extensions: apcu,ctype,curl,dom,fileinfo,ftp,gd,intl,json,ldap,mbstring,openssl,pdo_sqlite,posix,sqlite,xml,zip
coverage: none
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Composer install
run: composer install
- name: Psalm
run: composer run psalm:ci -- --monochrome --no-progress --output-format=text --update-baseline
continue-on-error: true
- name: Psalm OCP
run: composer run psalm:ci -- -c psalm-ocp.xml --monochrome --no-progress --output-format=github --update-baseline
continue-on-error: true
- name: Reset composer
run: |
git clean -f lib/composer
git checkout composer.json composer.lock lib/composer
- name: Create Pull Request
uses: peter-evans/create-pull-request@c5a7806660adbe173f04e3e038b0ccdcd758773c
with:
token: ${{ secrets.COMMAND_BOT_PAT }}
commit-message: 'chore(tests): Update psalm baseline'
committer: GitHub <noreply@github.com>
author: nextcloud-command <nextcloud-command@users.noreply.github.com>
signoff: true
branch: 'automated/noid/${{ matrix.branches }}-update-psalm-baseline'
title: '[${{ matrix.branches }}] Update psalm-baseline.xml'
body: |
Auto-generated update psalm-baseline.xml with fixed psalm warnings
labels: |
automated pr
3. to review
team-reviewers: server-backend
+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>
+13 -19
View File
@@ -14,29 +14,23 @@ $config = new Config();
$config
->setParallelConfig(ParallelConfigFactory::detect())
->getFinder()
->ignoreVCSIgnored(true)
->exclude('config')
->exclude('data')
->notPath('3rdparty')
->notPath('build/integration/vendor')
->notPath('build/lib')
->notPath('build/node_modules')
->notPath('build/stubs')
->notPath('composer')
->notPath('node_modules')
->notPath('vendor')
->in('apps')
->exclude('3rdparty')
->exclude('build/stubs')
->exclude('composer')
->in(__DIR__);
// Ignore additional app directories
$rootDir = new \DirectoryIterator(__DIR__);
foreach ($rootDir as $node) {
if (str_starts_with($node->getFilename(), 'apps')) {
$return = shell_exec('git check-ignore ' . escapeshellarg($node->getFilename() . '/'));
$ignoredEntries = shell_exec('git status --porcelain --ignored ' . escapeshellarg(__DIR__));
$ignoredEntries = explode("\n", $ignoredEntries);
$ignoredEntries = array_filter($ignoredEntries, static fn (string $line) => str_starts_with($line, '!! '));
$ignoredEntries = array_map(static fn (string $line) => substr($line, 3), $ignoredEntries);
$ignoredEntries = array_values($ignoredEntries);
if ($return !== null) {
$config->getFinder()->exclude($node->getFilename());
}
foreach ($ignoredEntries as $ignoredEntry) {
if (str_ends_with($ignoredEntry, '/')) {
$config->getFinder()->exclude($ignoredEntry);
} else {
$config->getFinder()->notPath($ignoredEntry);
}
}
+13 -9
View File
File diff suppressed because one or more lines are too long
+6
View File
@@ -176,6 +176,12 @@ source_file = translationfiles/templates/weather_status.pot
source_lang = en
type = PO
[o:nextcloud:p:nextcloud:r:webhook_listeners]
file_filter = translationfiles/<lang>/webhook_listeners.po
source_file = translationfiles/templates/webhook_listeners.pot
source_lang = en
type = PO
[o:nextcloud:p:nextcloud:r:workflowengine]
file_filter = translationfiles/<lang>/workflowengine.po
source_file = translationfiles/templates/workflowengine.pot
+7 -4
View File
@@ -74,18 +74,21 @@ Otherwise, git checkouts can be handled the same as release archives, by using t
- Comment on a pull request with `/update-3rdparty` to update the 3rd party submodule. It will update to the last commit of the 3rd party branch named like the PR target.
#### Ignore code style updates in git blame
`git config blame.ignoreRevsFile .git-blame-ignore-revs`
## Contribution guidelines 📜
All contributions to this repository from June 16, 2016, and onward are considered to be
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.
+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,
},
}
}
-12
View File
@@ -1,12 +0,0 @@
/**
* SPDX-FileCopyrightText: 2021 Nextcloud GmbH and Nextcloud contributors
* SPDX-License-Identifier: AGPL-3.0-or-later
*/
import '@testing-library/jest-dom'
// Mock `window.location` with Jest spies and extend expect
import 'jest-location-mock'
// Mock `window.fetch` with Jest
import 'jest-fetch-mock'
+13
View File
@@ -0,0 +1,13 @@
/**
* SPDX-FileCopyrightText: 2024 Nextcloud GmbH and Nextcloud contributors
* SPDX-License-Identifier: AGPL-3.0-or-later
*/
import { beforeEach } from 'vitest'
window.OC = { ...window.OC }
window.OCA = { ...window.OCA }
window.OCP = { ...window.OCP }
beforeEach(() => {
window.location = new URL('http://nextcloud.local')
})
+5
View File
@@ -0,0 +1,5 @@
/**
* SPDX-FileCopyrightText: 2024 Nextcloud GmbH and Nextcloud contributors
* SPDX-License-Identifier: CC0-1.0
*/
import '@testing-library/jest-dom/vitest'
-6
View File
@@ -1,6 +0,0 @@
{
"extends": "../tsconfig.json",
"compilerOptions": {
"verbatimModuleSyntax": false
}
}
+2 -2
View File
@@ -10,7 +10,7 @@
<name>Auditing / Logging</name>
<summary>Provides logging abilities for Nextcloud such as logging file accesses or otherwise sensitive actions.</summary>
<description>Provides logging abilities for Nextcloud such as logging file accesses or otherwise sensitive actions.</description>
<version>1.20.0</version>
<version>1.21.0</version>
<licence>agpl</licence>
<author>Nextcloud</author>
<namespace>AdminAudit</namespace>
@@ -20,7 +20,7 @@
<category>monitoring</category>
<bugs>https://github.com/nextcloud/server/issues</bugs>
<dependencies>
<nextcloud min-version="30" max-version="30"/>
<nextcloud min-version="31" max-version="31"/>
</dependencies>
<background-jobs>
<job>OCA\AdminAudit\BackgroundJobs\Rotate</job>
@@ -15,6 +15,7 @@ return array(
'OCA\\AdminAudit\\Actions\\GroupManagement' => $baseDir . '/../lib/Actions/GroupManagement.php',
'OCA\\AdminAudit\\Actions\\Security' => $baseDir . '/../lib/Actions/Security.php',
'OCA\\AdminAudit\\Actions\\Sharing' => $baseDir . '/../lib/Actions/Sharing.php',
'OCA\\AdminAudit\\Actions\\TagManagement' => $baseDir . '/../lib/Actions/TagManagement.php',
'OCA\\AdminAudit\\Actions\\Trashbin' => $baseDir . '/../lib/Actions/Trashbin.php',
'OCA\\AdminAudit\\Actions\\UserManagement' => $baseDir . '/../lib/Actions/UserManagement.php',
'OCA\\AdminAudit\\Actions\\Versions' => $baseDir . '/../lib/Actions/Versions.php',
@@ -30,6 +30,7 @@ class ComposerStaticInitAdminAudit
'OCA\\AdminAudit\\Actions\\GroupManagement' => __DIR__ . '/..' . '/../lib/Actions/GroupManagement.php',
'OCA\\AdminAudit\\Actions\\Security' => __DIR__ . '/..' . '/../lib/Actions/Security.php',
'OCA\\AdminAudit\\Actions\\Sharing' => __DIR__ . '/..' . '/../lib/Actions/Sharing.php',
'OCA\\AdminAudit\\Actions\\TagManagement' => __DIR__ . '/..' . '/../lib/Actions/TagManagement.php',
'OCA\\AdminAudit\\Actions\\Trashbin' => __DIR__ . '/..' . '/../lib/Actions/Trashbin.php',
'OCA\\AdminAudit\\Actions\\UserManagement' => __DIR__ . '/..' . '/../lib/Actions/UserManagement.php',
'OCA\\AdminAudit\\Actions\\Versions' => __DIR__ . '/..' . '/../lib/Actions/Versions.php',
+1 -1
View File
@@ -2,6 +2,6 @@ OC.L10N.register(
"admin_audit",
{
"Auditing / Logging" : "Auditoría / Registros",
"Provides logging abilities for Nextcloud such as logging file accesses or otherwise sensitive actions." : "Habilita las opciones de bitácora de Nextcloud tales como registro de acceso a archivos o de acciones delicadas."
"Provides logging abilities for Nextcloud such as logging file accesses or otherwise sensitive actions." : "Proporciona capacidades de registro para Nextcloud, tales como el registro de accesos a archivos o de acciones delicadas."
},
"nplurals=3; plural=n == 1 ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;");
+1 -1
View File
@@ -1,5 +1,5 @@
{ "translations": {
"Auditing / Logging" : "Auditoría / Registros",
"Provides logging abilities for Nextcloud such as logging file accesses or otherwise sensitive actions." : "Habilita las opciones de bitácora de Nextcloud tales como registro de acceso a archivos o de acciones delicadas."
"Provides logging abilities for Nextcloud such as logging file accesses or otherwise sensitive actions." : "Proporciona capacidades de registro para Nextcloud, tales como el registro de accesos a archivos o de acciones delicadas."
},"pluralForm" :"nplurals=3; plural=n == 1 ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;"
}
+16 -13
View File
@@ -7,6 +7,7 @@ declare(strict_types=1);
*/
namespace OCA\AdminAudit\Actions;
use OC\Files\Node\NonExistingFile;
use OCP\Files\Events\Node\BeforeNodeReadEvent;
use OCP\Files\Events\Node\BeforeNodeRenamedEvent;
use OCP\Files\Events\Node\BeforeNodeWrittenEvent;
@@ -35,13 +36,14 @@ class Files extends Action {
*/
public function read(BeforeNodeReadEvent $event): void {
try {
$node = $event->getNode();
$params = [
'id' => $event->getNode()->getId(),
'path' => mb_substr($event->getNode()->getInternalPath(), 5),
'id' => $node instanceof NonExistingFile ? null : $node->getId(),
'path' => mb_substr($node->getInternalPath(), 5),
];
} catch (InvalidPathException|NotFoundException $e) {
\OCP\Server::get(LoggerInterface::class)->error(
"Exception thrown in file read: ".$e->getMessage(), ['app' => 'admin_audit', 'exception' => $e]
'Exception thrown in file read: '.$e->getMessage(), ['app' => 'admin_audit', 'exception' => $e]
);
return;
}
@@ -63,7 +65,7 @@ class Files extends Action {
$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]
'Exception thrown in file rename: '.$e->getMessage(), ['app' => 'admin_audit', 'exception' => $e]
);
return;
}
@@ -85,7 +87,7 @@ class Files extends Action {
];
} catch (InvalidPathException|NotFoundException $e) {
\OCP\Server::get(LoggerInterface::class)->error(
"Exception thrown in file rename: ".$e->getMessage(), ['app' => 'admin_audit', 'exception' => $e]
'Exception thrown in file rename: '.$e->getMessage(), ['app' => 'admin_audit', 'exception' => $e]
);
return;
}
@@ -111,7 +113,7 @@ class Files extends Action {
];
} catch (InvalidPathException|NotFoundException $e) {
\OCP\Server::get(LoggerInterface::class)->error(
"Exception thrown in file create: ".$e->getMessage(), ['app' => 'admin_audit', 'exception' => $e]
'Exception thrown in file create: '.$e->getMessage(), ['app' => 'admin_audit', 'exception' => $e]
);
return;
}
@@ -140,7 +142,7 @@ class Files extends Action {
];
} catch (InvalidPathException|NotFoundException $e) {
\OCP\Server::get(LoggerInterface::class)->error(
"Exception thrown in file copy: ".$e->getMessage(), ['app' => 'admin_audit', 'exception' => $e]
'Exception thrown in file copy: '.$e->getMessage(), ['app' => 'admin_audit', 'exception' => $e]
);
return;
}
@@ -157,14 +159,15 @@ class Files extends Action {
* @param BeforeNodeWrittenEvent $event
*/
public function write(BeforeNodeWrittenEvent $event): void {
$node = $event->getNode();
try {
$params = [
'id' => $event->getNode()->getId(),
'path' => mb_substr($event->getNode()->getInternalPath(), 5),
'id' => $node instanceof NonExistingFile ? null : $node->getId(),
'path' => mb_substr($node->getInternalPath(), 5),
];
} catch (InvalidPathException|NotFoundException $e) {
\OCP\Server::get(LoggerInterface::class)->error(
"Exception thrown in file write: ".$e->getMessage(), ['app' => 'admin_audit', 'exception' => $e]
'Exception thrown in file write: '.$e->getMessage(), ['app' => 'admin_audit', 'exception' => $e]
);
return;
}
@@ -192,7 +195,7 @@ class Files extends Action {
];
} catch (InvalidPathException|NotFoundException $e) {
\OCP\Server::get(LoggerInterface::class)->error(
"Exception thrown in file update: ".$e->getMessage(), ['app' => 'admin_audit', 'exception' => $e]
'Exception thrown in file update: '.$e->getMessage(), ['app' => 'admin_audit', 'exception' => $e]
);
return;
}
@@ -216,7 +219,7 @@ class Files extends Action {
];
} catch (InvalidPathException|NotFoundException $e) {
\OCP\Server::get(LoggerInterface::class)->error(
"Exception thrown in file delete: ".$e->getMessage(), ['app' => 'admin_audit', 'exception' => $e]
'Exception thrown in file delete: '.$e->getMessage(), ['app' => 'admin_audit', 'exception' => $e]
);
return;
}
@@ -245,7 +248,7 @@ class Files extends Action {
];
} catch (InvalidPathException|NotFoundException $e) {
\OCP\Server::get(LoggerInterface::class)->error(
"Exception thrown in file preview: ".$e->getMessage(), ['app' => 'admin_audit', 'exception' => $e]
'Exception thrown in file preview: '.$e->getMessage(), ['app' => 'admin_audit', 'exception' => $e]
);
return;
}
@@ -0,0 +1,27 @@
<?php
declare(strict_types=1);
/*!
* SPDX-FileCopyrightText: 2024 Nextcloud GmbH and Nextcloud contributors
* SPDX-License-Identifier: AGPL-3.0-or-later
*/
namespace OCA\AdminAudit\Actions;
use OCP\SystemTag\ISystemTag;
class TagManagement extends Action {
/**
* @param ISystemTag $tag newly created tag
*/
public function createTag(ISystemTag $tag): void {
$this->log('System tag "%s" (%s, %s) created',
[
'name' => $tag->getName(),
'visbility' => $tag->isUserVisible() ? 'visible' : 'invisible',
'assignable' => $tag->isUserAssignable() ? 'user assignable' : 'system only',
],
['name', 'visibility', 'assignable']
);
}
}
@@ -16,6 +16,7 @@ use OCA\AdminAudit\Actions\Files;
use OCA\AdminAudit\Actions\GroupManagement;
use OCA\AdminAudit\Actions\Security;
use OCA\AdminAudit\Actions\Sharing;
use OCA\AdminAudit\Actions\TagManagement;
use OCA\AdminAudit\Actions\Trashbin;
use OCA\AdminAudit\Actions\UserManagement;
use OCA\AdminAudit\Actions\Versions;
@@ -99,6 +100,7 @@ class Application extends App implements IBootstrap {
$this->versionsHooks($logger);
$this->securityHooks($logger, $eventDispatcher);
$this->tagHooks($logger, $eventDispatcher);
}
private function userManagementHooks(IAuditLogger $logger,
@@ -169,6 +171,13 @@ class Application extends App implements IBootstrap {
$appActions->runCommand($event->getArguments());
});
}
private function tagHooks(IAuditLogger $logger,
IEventDispatcher $eventDispatcher): void {
$eventDispatcher->addListener(\OCP\SystemTag\ManagerEvent::EVENT_CREATE, function (\OCP\SystemTag\ManagerEvent $event) use ($logger) {
$tagActions = new TagManagement($logger);
$tagActions->createTag($event->getTag());
});
}
private function fileHooks(IAuditLogger $logger,
IEventDispatcher $eventDispatcher): void {
+2 -2
View File
@@ -9,7 +9,7 @@
<name>Cloud Federation API</name>
<summary>Enable clouds to communicate with each other and exchange data</summary>
<description>The Cloud Federation API enables various Nextcloud instances to communicate with each other and to exchange data.</description>
<version>1.13.0</version>
<version>1.14.0</version>
<licence>agpl</licence>
<author>Bjoern Schiessle</author>
<namespace>CloudFederationAPI</namespace>
@@ -19,6 +19,6 @@
<category>integration</category>
<bugs>https://github.com/nextcloud/server/issues</bugs>
<dependencies>
<nextcloud min-version="30" max-version="30"/>
<nextcloud min-version="31" max-version="31"/>
</dependencies>
</info>
@@ -55,8 +55,8 @@ class Capabilities implements ICapability {
$resource = $this->provider->createNewResourceType();
$resource->setName('file')
->setShareTypes(['user', 'group'])
->setProtocols(['webdav' => '/public.php/webdav/']);
->setShareTypes(['user', 'group'])
->setProtocols(['webdav' => '/public.php/webdav/']);
$this->provider->addResourceType($resource);
@@ -9,7 +9,10 @@ use OCA\CloudFederationAPI\Config;
use OCA\CloudFederationAPI\ResponseDefinitions;
use OCP\AppFramework\Controller;
use OCP\AppFramework\Http;
use OCP\AppFramework\Http\Attribute\BruteForceProtection;
use OCP\AppFramework\Http\Attribute\NoCSRFRequired;
use OCP\AppFramework\Http\Attribute\OpenAPI;
use OCP\AppFramework\Http\Attribute\PublicPage;
use OCP\AppFramework\Http\JSONResponse;
use OCP\Federation\Exceptions\ActionNotSupportedException;
use OCP\Federation\Exceptions\AuthenticationFailedException;
@@ -55,10 +58,6 @@ class RequestHandlerController extends Controller {
/**
* Add share
*
* @NoCSRFRequired
* @PublicPage
* @BruteForceProtection(action=receiveFederatedShare)
*
* @param string $shareWith The user who the share will be shared with
* @param string $name The resource name (e.g. document.odt)
* @param string|null $description Share description
@@ -72,10 +71,14 @@ class RequestHandlerController extends Controller {
* @param string $resourceType 'file', 'calendar',...
*
* @return JSONResponse<Http::STATUS_CREATED, CloudFederationAPIAddShare, array{}>|JSONResponse<Http::STATUS_BAD_REQUEST, CloudFederationAPIValidationError, array{}>|JSONResponse<Http::STATUS_NOT_IMPLEMENTED, CloudFederationAPIError, array{}>
*
* 201: The notification was successfully received. The display name of the recipient might be returned in the body
* 400: Bad request due to invalid parameters, e.g. when `shareWith` is not found or required properties are missing
* 501: Share type or the resource type is not supported
*/
#[PublicPage]
#[NoCSRFRequired]
#[BruteForceProtection(action: 'receiveFederatedShare')]
public function addShare($shareWith, $name, $description, $providerId, $owner, $ownerDisplayName, $sharedBy, $sharedByDisplayName, $protocol, $shareType, $resourceType) {
// check if all required parameters are set
if ($shareWith === null ||
@@ -171,35 +174,38 @@ class RequestHandlerController extends Controller {
);
}
$user = $this->userManager->get($shareWith);
$recipientDisplayName = '';
if ($user) {
$recipientDisplayName = $user->getDisplayName();
$responseData = ['recipientDisplayName' => ''];
if ($shareType === 'user') {
$user = $this->userManager->get($shareWith);
if ($user) {
$responseData = [
'recipientDisplayName' => $user->getDisplayName(),
'recipientUserId' => $user->getUID(),
];
}
}
return new JSONResponse(
['recipientDisplayName' => $recipientDisplayName],
Http::STATUS_CREATED);
return new JSONResponse($responseData, Http::STATUS_CREATED);
}
/**
* Send a notification about an existing share
*
* @NoCSRFRequired
* @PublicPage
* @BruteForceProtection(action=receiveFederatedShareNotification)
*
* @param string $notificationType Notification type, e.g. SHARE_ACCEPTED
* @param string $resourceType calendar, file, contact,...
* @param string|null $providerId ID of the share
* @param array<string, mixed>|null $notification The actual payload of the notification
*
* @return JSONResponse<Http::STATUS_CREATED, array<string, mixed>, array{}>|JSONResponse<Http::STATUS_BAD_REQUEST, CloudFederationAPIValidationError, array{}>|JSONResponse<Http::STATUS_FORBIDDEN|Http::STATUS_NOT_IMPLEMENTED, CloudFederationAPIError, array{}>
*
* 201: The notification was successfully received
* 400: Bad request due to invalid parameters, e.g. when `type` is invalid or missing
* 403: Getting resource is not allowed
* 501: The resource type is not supported
*/
#[NoCSRFRequired]
#[PublicPage]
#[BruteForceProtection(action: 'receiveFederatedShareNotification')]
public function receiveNotification($notificationType, $resourceType, $providerId, ?array $notification) {
// check if all required parameters are set
if ($notificationType === null ||
@@ -12,6 +12,7 @@ namespace OCA\CloudFederationAPI;
/**
* @psalm-type CloudFederationAPIAddShare = array{
* recipientDisplayName: string,
* recipientUserId?: string,
* }
*
* @psalm-type CloudFederationAPIError = array{
+3
View File
@@ -28,6 +28,9 @@
"properties": {
"recipientDisplayName": {
"type": "string"
},
"recipientUserId": {
"type": "string"
}
}
},
+2 -2
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.21.0</version>
<licence>agpl</licence>
<author>Arthur Schiwon</author>
<author>Vincent Petry</author>
@@ -21,7 +21,7 @@
<category>social</category>
<bugs>https://github.com/nextcloud/server/issues</bugs>
<dependencies>
<nextcloud min-version="30" max-version="30"/>
<nextcloud min-version="31" max-version="31"/>
</dependencies>
<activity>
+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

+2 -4
View File
@@ -9,6 +9,7 @@ OC.L10N.register(
"%1$s commented on %2$s" : "%1$s كتب تعليق على %2$s",
"{author} commented on {file}" : "{author} علّق على {file}",
"<strong>Comments</strong> for files" : "<strong>تعليقات</strong> على الملفات",
"Files" : "الملفّات",
"You were mentioned on \"{file}\", in a comment by an account that has since been deleted" : "تمت الإشارة إليك في \"{file}\"، في تعليقٍ من قِبَل حسابٍ تمّ حذفه سلفاً",
"{user} mentioned you in a comment on \"{file}\"" : "أشار إليك {user} في تعليق على {file}",
"Files app plugin to add comments to files" : "المكوِّن الإضافي لتطبيق الملفات لإضافة تعليقات إلى الملفات",
@@ -31,9 +32,6 @@ OC.L10N.register(
"Comment deleted" : "التعليق محذوف",
"An error occurred while trying to delete the comment" : "حدث خطأ أثناء محاولة حذف التعليق",
"An error occurred while trying to create the comment" : "حدث خطأ أثناء محاولة إنشاء التعليق",
"You were mentioned on \"{file}\", in a comment by a user that has since been deleted" : "تمت الإشارة إليك في \"{file}\" في تعليق لمستخدم. لكن هذا المستخدم تم حذف حسابه بعدها",
"Write a message …" : "أكتُب رسالةً ...",
"\"@\" for mentions, \":\" for emoji, \"/\" for smart picker" : "\"@\" للإشارات, \":\" للإيموجي, \"/\" للاقط الذكي",
"_%n unread comment_::_%n unread comments_" : ["%n تعليق غير مقروء","%n تعليق غير مقروء","تعليقان غير مقروءة","%n تعليقات غير مقروء","%n تعليق غير مقروء","%n تعليق غير مقروء"]
"You were mentioned on \"{file}\", in a comment by a user that has since been deleted" : "تمت الإشارة إليك في \"{file}\" في تعليق لمستخدم. لكن هذا المستخدم تم حذف حسابه بعدها"
},
"nplurals=6; plural=n==0 ? 0 : n==1 ? 1 : n==2 ? 2 : n%100>=3 && n%100<=10 ? 3 : n%100>=11 && n%100<=99 ? 4 : 5;");
+2 -4
View File
@@ -7,6 +7,7 @@
"%1$s commented on %2$s" : "%1$s كتب تعليق على %2$s",
"{author} commented on {file}" : "{author} علّق على {file}",
"<strong>Comments</strong> for files" : "<strong>تعليقات</strong> على الملفات",
"Files" : "الملفّات",
"You were mentioned on \"{file}\", in a comment by an account that has since been deleted" : "تمت الإشارة إليك في \"{file}\"، في تعليقٍ من قِبَل حسابٍ تمّ حذفه سلفاً",
"{user} mentioned you in a comment on \"{file}\"" : "أشار إليك {user} في تعليق على {file}",
"Files app plugin to add comments to files" : "المكوِّن الإضافي لتطبيق الملفات لإضافة تعليقات إلى الملفات",
@@ -29,9 +30,6 @@
"Comment deleted" : "التعليق محذوف",
"An error occurred while trying to delete the comment" : "حدث خطأ أثناء محاولة حذف التعليق",
"An error occurred while trying to create the comment" : "حدث خطأ أثناء محاولة إنشاء التعليق",
"You were mentioned on \"{file}\", in a comment by a user that has since been deleted" : "تمت الإشارة إليك في \"{file}\" في تعليق لمستخدم. لكن هذا المستخدم تم حذف حسابه بعدها",
"Write a message …" : "أكتُب رسالةً ...",
"\"@\" for mentions, \":\" for emoji, \"/\" for smart picker" : "\"@\" للإشارات, \":\" للإيموجي, \"/\" للاقط الذكي",
"_%n unread comment_::_%n unread comments_" : ["%n تعليق غير مقروء","%n تعليق غير مقروء","تعليقان غير مقروءة","%n تعليقات غير مقروء","%n تعليق غير مقروء","%n تعليق غير مقروء"]
"You were mentioned on \"{file}\", in a comment by a user that has since been deleted" : "تمت الإشارة إليك في \"{file}\" في تعليق لمستخدم. لكن هذا المستخدم تم حذف حسابه بعدها"
},"pluralForm" :"nplurals=6; plural=n==0 ? 0 : n==1 ? 1 : n==2 ? 2 : n%100>=3 && n%100<=10 ? 3 : n%100>=11 && n%100<=99 ? 4 : 5;"
}
+2 -4
View File
@@ -9,6 +9,7 @@ OC.L10N.register(
"%1$s commented on %2$s" : "%1$s comentó en: %2$s",
"{author} commented on {file}" : "{author} comentó en: {file}",
"<strong>Comments</strong> for files" : "<strong>Comentarios</strong> pa ficheros",
"Files" : "Ficheros",
"You were mentioned on \"{file}\", in a comment by an account that has since been deleted" : "Mentáronte en «{file}», nun comentariu d'una cuenta que ta desaniciada",
"{user} mentioned you in a comment on \"{file}\"" : "{user} mentóte nun comentariu de: «{file}»",
"Files app plugin to add comments to files" : "Plugin de l'aplicación Ficheros p'amestar comentarios a los ficheros",
@@ -31,9 +32,6 @@ OC.L10N.register(
"Comment deleted" : "Desanicióse'l comentariu",
"An error occurred while trying to delete the comment" : "Prodúxose un error mentanto se tentaba de desaniciar el comentariu",
"An error occurred while trying to create the comment" : "Prodúxose un error mentanto se tentaba de crear el comentariu",
"You were mentioned on \"{file}\", in a comment by a user that has since been deleted" : "Un usuariu que ta desaniciáu mentóte nun comentariu de: {file}",
"Write a message …" : "Escribi un mensaxe…",
"\"@\" for mentions, \":\" for emoji, \"/\" for smart picker" : "«@» pa mentar, «.» p'amestar un fustaxe, «/» pa usar el selector intelixente",
"_%n unread comment_::_%n unread comments_" : ["%n comentariu ensin lleer","%n comentarios ensin lleer"]
"You were mentioned on \"{file}\", in a comment by a user that has since been deleted" : "Un usuariu que ta desaniciáu mentóte nun comentariu de: {file}"
},
"nplurals=2; plural=(n != 1);");
+2 -4
View File
@@ -7,6 +7,7 @@
"%1$s commented on %2$s" : "%1$s comentó en: %2$s",
"{author} commented on {file}" : "{author} comentó en: {file}",
"<strong>Comments</strong> for files" : "<strong>Comentarios</strong> pa ficheros",
"Files" : "Ficheros",
"You were mentioned on \"{file}\", in a comment by an account that has since been deleted" : "Mentáronte en «{file}», nun comentariu d'una cuenta que ta desaniciada",
"{user} mentioned you in a comment on \"{file}\"" : "{user} mentóte nun comentariu de: «{file}»",
"Files app plugin to add comments to files" : "Plugin de l'aplicación Ficheros p'amestar comentarios a los ficheros",
@@ -29,9 +30,6 @@
"Comment deleted" : "Desanicióse'l comentariu",
"An error occurred while trying to delete the comment" : "Prodúxose un error mentanto se tentaba de desaniciar el comentariu",
"An error occurred while trying to create the comment" : "Prodúxose un error mentanto se tentaba de crear el comentariu",
"You were mentioned on \"{file}\", in a comment by a user that has since been deleted" : "Un usuariu que ta desaniciáu mentóte nun comentariu de: {file}",
"Write a message …" : "Escribi un mensaxe…",
"\"@\" for mentions, \":\" for emoji, \"/\" for smart picker" : "«@» pa mentar, «.» p'amestar un fustaxe, «/» pa usar el selector intelixente",
"_%n unread comment_::_%n unread comments_" : ["%n comentariu ensin lleer","%n comentarios ensin lleer"]
"You were mentioned on \"{file}\", in a comment by a user that has since been deleted" : "Un usuariu que ta desaniciáu mentóte nun comentariu de: {file}"
},"pluralForm" :"nplurals=2; plural=(n != 1);"
}
+2 -2
View File
@@ -9,6 +9,7 @@ OC.L10N.register(
"%1$s commented on %2$s" : "%1$s коментиран за %2$s",
"{author} commented on {file}" : "{author} коментира за {file}",
"<strong>Comments</strong> for files" : "<strong>Коментари</strong> за файлове",
"Files" : "Файлове",
"{user} mentioned you in a comment on \"{file}\"" : "{user} ви спомена в коментар за “{file}”",
"Files app plugin to add comments to files" : "Добавка на приложението Файлове за добавяне на коментари към файловете",
"Edit comment" : "Редактирай коментра",
@@ -25,7 +26,6 @@ OC.L10N.register(
"Comment deleted" : " Изтрит е коментар",
"An error occurred while trying to delete the comment" : "Възникна грешка при опит за изтриване на коментара",
"An error occurred while trying to create the comment" : "Възникна грешка при опит за създаване на коментар",
"You were mentioned on \"{file}\", in a comment by a user that has since been deleted" : "Бяхте споменат/а към “{file}”, в коментар от потребител, който вече е изтрит",
"_%n unread comment_::_%n unread comments_" : ["%n непрочетен коментар","%n непрочетени коментари"]
"You were mentioned on \"{file}\", in a comment by a user that has since been deleted" : "Бяхте споменат/а към “{file}”, в коментар от потребител, който вече е изтрит"
},
"nplurals=2; plural=(n != 1);");
+2 -2
View File
@@ -7,6 +7,7 @@
"%1$s commented on %2$s" : "%1$s коментиран за %2$s",
"{author} commented on {file}" : "{author} коментира за {file}",
"<strong>Comments</strong> for files" : "<strong>Коментари</strong> за файлове",
"Files" : "Файлове",
"{user} mentioned you in a comment on \"{file}\"" : "{user} ви спомена в коментар за “{file}”",
"Files app plugin to add comments to files" : "Добавка на приложението Файлове за добавяне на коментари към файловете",
"Edit comment" : "Редактирай коментра",
@@ -23,7 +24,6 @@
"Comment deleted" : " Изтрит е коментар",
"An error occurred while trying to delete the comment" : "Възникна грешка при опит за изтриване на коментара",
"An error occurred while trying to create the comment" : "Възникна грешка при опит за създаване на коментар",
"You were mentioned on \"{file}\", in a comment by a user that has since been deleted" : "Бяхте споменат/а към “{file}”, в коментар от потребител, който вече е изтрит",
"_%n unread comment_::_%n unread comments_" : ["%n непрочетен коментар","%n непрочетени коментари"]
"You were mentioned on \"{file}\", in a comment by a user that has since been deleted" : "Бяхте споменат/а към “{file}”, в коментар от потребител, който вече е изтрит"
},"pluralForm" :"nplurals=2; plural=(n != 1);"
}
+2 -4
View File
@@ -9,6 +9,7 @@ OC.L10N.register(
"%1$s commented on %2$s" : "%1$s ha escrit un comentari a %2$s",
"{author} commented on {file}" : "{author} ha escrit un comentari a {file}",
"<strong>Comments</strong> for files" : "<strong>Comentaris</strong> per a fitxers",
"Files" : "Fitxers",
"You were mentioned on \"{file}\", in a comment by an account that has since been deleted" : "Se us ha esmentat a «{file}» en un comentari d'un compte que s'ha suprimit",
"{user} mentioned you in a comment on \"{file}\"" : "{user} us ha esmentat en un comentari a «{file}»",
"Files app plugin to add comments to files" : "Connector de l'aplicació Fitxers per a afegir comentaris als fitxers",
@@ -31,9 +32,6 @@ OC.L10N.register(
"Comment deleted" : "S'ha suprimit el comentari",
"An error occurred while trying to delete the comment" : "S'ha produït un error en intentar suprimir el comentari",
"An error occurred while trying to create the comment" : "S'ha produït un error en intentar crear el comentari",
"You were mentioned on \"{file}\", in a comment by a user that has since been deleted" : "Se us ha esmentat a «{file}» en un comentari d'un usuari que s'ha suprimit",
"Write a message …" : "Escriviu un missatge…",
"\"@\" for mentions, \":\" for emoji, \"/\" for smart picker" : "«@» per a mencions, «:» per a emojis, «/» per al selector intel·ligent",
"_%n unread comment_::_%n unread comments_" : ["%n comentari sense llegir","%n comentaris sense llegir"]
"You were mentioned on \"{file}\", in a comment by a user that has since been deleted" : "Se us ha esmentat a «{file}» en un comentari d'un usuari que s'ha suprimit"
},
"nplurals=2; plural=(n != 1);");
+2 -4
View File
@@ -7,6 +7,7 @@
"%1$s commented on %2$s" : "%1$s ha escrit un comentari a %2$s",
"{author} commented on {file}" : "{author} ha escrit un comentari a {file}",
"<strong>Comments</strong> for files" : "<strong>Comentaris</strong> per a fitxers",
"Files" : "Fitxers",
"You were mentioned on \"{file}\", in a comment by an account that has since been deleted" : "Se us ha esmentat a «{file}» en un comentari d'un compte que s'ha suprimit",
"{user} mentioned you in a comment on \"{file}\"" : "{user} us ha esmentat en un comentari a «{file}»",
"Files app plugin to add comments to files" : "Connector de l'aplicació Fitxers per a afegir comentaris als fitxers",
@@ -29,9 +30,6 @@
"Comment deleted" : "S'ha suprimit el comentari",
"An error occurred while trying to delete the comment" : "S'ha produït un error en intentar suprimir el comentari",
"An error occurred while trying to create the comment" : "S'ha produït un error en intentar crear el comentari",
"You were mentioned on \"{file}\", in a comment by a user that has since been deleted" : "Se us ha esmentat a «{file}» en un comentari d'un usuari que s'ha suprimit",
"Write a message …" : "Escriviu un missatge…",
"\"@\" for mentions, \":\" for emoji, \"/\" for smart picker" : "«@» per a mencions, «:» per a emojis, «/» per al selector intel·ligent",
"_%n unread comment_::_%n unread comments_" : ["%n comentari sense llegir","%n comentaris sense llegir"]
"You were mentioned on \"{file}\", in a comment by a user that has since been deleted" : "Se us ha esmentat a «{file}» en un comentari d'un usuari que s'ha suprimit"
},"pluralForm" :"nplurals=2; plural=(n != 1);"
}
+2 -3
View File
@@ -9,6 +9,7 @@ OC.L10N.register(
"%1$s commented on %2$s" : "%1$s okomentoval(a) %2$s",
"{author} commented on {file}" : "{author} okomentoval(a) {file}",
"<strong>Comments</strong> for files" : "<strong>Komentáře</strong> k souborům",
"Files" : "Soubory",
"{user} mentioned you in a comment on \"{file}\"" : "{user} vás zmínil(a) v komentáři u „{file}“",
"Files app plugin to add comments to files" : "Zásuvný modul do aplikace Soubory pro přidávání komentářů k souborům",
"Edit comment" : "Upravit komentář",
@@ -30,8 +31,6 @@ OC.L10N.register(
"Comment deleted" : "Komentář smazán",
"An error occurred while trying to delete the comment" : "Došlo k chybě při pokusu o smazání komentáře",
"An error occurred while trying to create the comment" : "Došlo k chybě při pokusu o vytvoření komentáře",
"You were mentioned on \"{file}\", in a comment by a user that has since been deleted" : "Byli jste zmíněni u souboru „{file}“, v komentáři od uživatele, který byl později smazán",
"\"@\" for mentions, \":\" for emoji, \"/\" for smart picker" : "„@“ pro zmínění, „:“ pro emotikony, „/“ pro inteligentní výběr",
"_%n unread comment_::_%n unread comments_" : ["%n nepřečtený komentář","%n nepřečtené komentáře","%n nepřečtených komentářů","%n nepřečtené komentáře"]
"You were mentioned on \"{file}\", in a comment by a user that has since been deleted" : "Byli jste zmíněni u souboru „{file}“, v komentáři od uživatele, který byl později smazán"
},
"nplurals=4; plural=(n == 1 && n % 1 == 0) ? 0 : (n >= 2 && n <= 4 && n % 1 == 0) ? 1: (n % 1 != 0 ) ? 2 : 3;");
+2 -3
View File
@@ -7,6 +7,7 @@
"%1$s commented on %2$s" : "%1$s okomentoval(a) %2$s",
"{author} commented on {file}" : "{author} okomentoval(a) {file}",
"<strong>Comments</strong> for files" : "<strong>Komentáře</strong> k souborům",
"Files" : "Soubory",
"{user} mentioned you in a comment on \"{file}\"" : "{user} vás zmínil(a) v komentáři u „{file}“",
"Files app plugin to add comments to files" : "Zásuvný modul do aplikace Soubory pro přidávání komentářů k souborům",
"Edit comment" : "Upravit komentář",
@@ -28,8 +29,6 @@
"Comment deleted" : "Komentář smazán",
"An error occurred while trying to delete the comment" : "Došlo k chybě při pokusu o smazání komentáře",
"An error occurred while trying to create the comment" : "Došlo k chybě při pokusu o vytvoření komentáře",
"You were mentioned on \"{file}\", in a comment by a user that has since been deleted" : "Byli jste zmíněni u souboru „{file}“, v komentáři od uživatele, který byl později smazán",
"\"@\" for mentions, \":\" for emoji, \"/\" for smart picker" : "„@“ pro zmínění, „:“ pro emotikony, „/“ pro inteligentní výběr",
"_%n unread comment_::_%n unread comments_" : ["%n nepřečtený komentář","%n nepřečtené komentáře","%n nepřečtených komentářů","%n nepřečtené komentáře"]
"You were mentioned on \"{file}\", in a comment by a user that has since been deleted" : "Byli jste zmíněni u souboru „{file}“, v komentáři od uživatele, který byl později smazán"
},"pluralForm" :"nplurals=4; plural=(n == 1 && n % 1 == 0) ? 0 : (n >= 2 && n <= 4 && n % 1 == 0) ? 1: (n % 1 != 0 ) ? 2 : 3;"
}
+2 -4
View File
@@ -9,6 +9,7 @@ OC.L10N.register(
"%1$s commented on %2$s" : "%1$s kommenterede %2$s",
"{author} commented on {file}" : "{author} kommenterede {file}",
"<strong>Comments</strong> for files" : "<strong>Kommentarer</strong> for filer",
"Files" : "Filer",
"You were mentioned on \"{file}\", in a comment by an account that has since been deleted" : "Du blev nævnt på \"{file}\", i en kommentar af en konto, som siden er blevet slettet",
"{user} mentioned you in a comment on \"{file}\"" : "{user} nævnte dig i en kommentar til \"{file}\"",
"Files app plugin to add comments to files" : "Files app plugin til at tilføje kommentarer til filer",
@@ -31,9 +32,6 @@ OC.L10N.register(
"Comment deleted" : "Kommentar slettet",
"An error occurred while trying to delete the comment" : "Der opstod en fejl under forsøget på at slette kommentaren",
"An error occurred while trying to create the comment" : "Der opstod en fejl under forsøget på at oprette kommentaren",
"You were mentioned on \"{file}\", in a comment by a user that has since been deleted" : "Du blev nævnt på \"{file}\", i en kommentar af en bruger, som siden er blevet slettet",
"Write a message …" : "Skriv en besked…",
"\"@\" for mentions, \":\" for emoji, \"/\" for smart picker" : "\"@\" for at nævne, \":\" for emojis, \"/\" for Smart Vælger",
"_%n unread comment_::_%n unread comments_" : ["%n ulæst kommentar","%n ulæste kommentarer"]
"You were mentioned on \"{file}\", in a comment by a user that has since been deleted" : "Du blev nævnt på \"{file}\", i en kommentar af en bruger, som siden er blevet slettet"
},
"nplurals=2; plural=(n != 1);");
+2 -4
View File
@@ -7,6 +7,7 @@
"%1$s commented on %2$s" : "%1$s kommenterede %2$s",
"{author} commented on {file}" : "{author} kommenterede {file}",
"<strong>Comments</strong> for files" : "<strong>Kommentarer</strong> for filer",
"Files" : "Filer",
"You were mentioned on \"{file}\", in a comment by an account that has since been deleted" : "Du blev nævnt på \"{file}\", i en kommentar af en konto, som siden er blevet slettet",
"{user} mentioned you in a comment on \"{file}\"" : "{user} nævnte dig i en kommentar til \"{file}\"",
"Files app plugin to add comments to files" : "Files app plugin til at tilføje kommentarer til filer",
@@ -29,9 +30,6 @@
"Comment deleted" : "Kommentar slettet",
"An error occurred while trying to delete the comment" : "Der opstod en fejl under forsøget på at slette kommentaren",
"An error occurred while trying to create the comment" : "Der opstod en fejl under forsøget på at oprette kommentaren",
"You were mentioned on \"{file}\", in a comment by a user that has since been deleted" : "Du blev nævnt på \"{file}\", i en kommentar af en bruger, som siden er blevet slettet",
"Write a message …" : "Skriv en besked…",
"\"@\" for mentions, \":\" for emoji, \"/\" for smart picker" : "\"@\" for at nævne, \":\" for emojis, \"/\" for Smart Vælger",
"_%n unread comment_::_%n unread comments_" : ["%n ulæst kommentar","%n ulæste kommentarer"]
"You were mentioned on \"{file}\", in a comment by a user that has since been deleted" : "Du blev nævnt på \"{file}\", i en kommentar af en bruger, som siden er blevet slettet"
},"pluralForm" :"nplurals=2; plural=(n != 1);"
}
+4 -2
View File
@@ -9,12 +9,15 @@ OC.L10N.register(
"%1$s commented on %2$s" : "%1$s kommentierte %2$s",
"{author} commented on {file}" : "{author} hat {file} kommentiert",
"<strong>Comments</strong> for files" : "<strong>Kommentare</strong> für Dateien",
"Files" : "Dateien",
"You were mentioned on \"{file}\", in a comment by an account that has since been deleted" : "Du wurdest in einem Kommentar zu \"{file}\" von einem Konto erwähnt, das inzwischen gelöscht wurde.",
"{user} mentioned you in a comment on \"{file}\"" : "{user} hat dich in einem Kommentar zu \"{file}\" erwähnt",
"Files app plugin to add comments to files" : "Ein Plugin für die Dateien-App zum Kommentieren von Dateien",
"Edit comment" : "Kommentar bearbeiten",
"Delete comment" : "Kommentar löschen",
"Cancel edit" : "Bearbeiten abbrechen",
"New comment" : "Neuer Kommentar",
"Write a comment …" : "Schreibe einen Kommentar …",
"Post comment" : "Kommentar veröffentlichen",
"@ for mentions, : for emoji, / for smart picker" : "@ für Erwähnungen, : für Emoji, / für Smart Picker",
"Could not reload comments" : "Kommentare konnten nicht erneut geladen werden",
@@ -29,7 +32,6 @@ OC.L10N.register(
"Comment deleted" : "Kommentar gelöscht",
"An error occurred while trying to delete the comment" : "Es ist ein Fehler beim Löschen des Kommentars aufgetreten",
"An error occurred while trying to create the comment" : "Es ist ein Fehler beim Erstellen des Kommentars aufgetreten",
"You were mentioned on \"{file}\", in a comment by a user that has since been deleted" : "Du wurdest in einem Kommentar auf \"{file}\" von einem bereits gelöschten Benutzer erwähnt",
"_%n unread comment_::_%n unread comments_" : ["%n ungelesener Kommentar","%n ungelesene Kommentare"]
"You were mentioned on \"{file}\", in a comment by a user that has since been deleted" : "Du wurdest in einem Kommentar auf \"{file}\" von einem bereits gelöschten Benutzer erwähnt"
},
"nplurals=2; plural=(n != 1);");
+4 -2
View File
@@ -7,12 +7,15 @@
"%1$s commented on %2$s" : "%1$s kommentierte %2$s",
"{author} commented on {file}" : "{author} hat {file} kommentiert",
"<strong>Comments</strong> for files" : "<strong>Kommentare</strong> für Dateien",
"Files" : "Dateien",
"You were mentioned on \"{file}\", in a comment by an account that has since been deleted" : "Du wurdest in einem Kommentar zu \"{file}\" von einem Konto erwähnt, das inzwischen gelöscht wurde.",
"{user} mentioned you in a comment on \"{file}\"" : "{user} hat dich in einem Kommentar zu \"{file}\" erwähnt",
"Files app plugin to add comments to files" : "Ein Plugin für die Dateien-App zum Kommentieren von Dateien",
"Edit comment" : "Kommentar bearbeiten",
"Delete comment" : "Kommentar löschen",
"Cancel edit" : "Bearbeiten abbrechen",
"New comment" : "Neuer Kommentar",
"Write a comment …" : "Schreibe einen Kommentar …",
"Post comment" : "Kommentar veröffentlichen",
"@ for mentions, : for emoji, / for smart picker" : "@ für Erwähnungen, : für Emoji, / für Smart Picker",
"Could not reload comments" : "Kommentare konnten nicht erneut geladen werden",
@@ -27,7 +30,6 @@
"Comment deleted" : "Kommentar gelöscht",
"An error occurred while trying to delete the comment" : "Es ist ein Fehler beim Löschen des Kommentars aufgetreten",
"An error occurred while trying to create the comment" : "Es ist ein Fehler beim Erstellen des Kommentars aufgetreten",
"You were mentioned on \"{file}\", in a comment by a user that has since been deleted" : "Du wurdest in einem Kommentar auf \"{file}\" von einem bereits gelöschten Benutzer erwähnt",
"_%n unread comment_::_%n unread comments_" : ["%n ungelesener Kommentar","%n ungelesene Kommentare"]
"You were mentioned on \"{file}\", in a comment by a user that has since been deleted" : "Du wurdest in einem Kommentar auf \"{file}\" von einem bereits gelöschten Benutzer erwähnt"
},"pluralForm" :"nplurals=2; plural=(n != 1);"
}
+2 -4
View File
@@ -9,6 +9,7 @@ OC.L10N.register(
"%1$s commented on %2$s" : "%1$s kommentierte %2$s",
"{author} commented on {file}" : "{author} hat {file} kommentiert",
"<strong>Comments</strong> for files" : "<strong>Kommentare</strong> für Dateien",
"Files" : "Dateien",
"You were mentioned on \"{file}\", in a comment by an account that has since been deleted" : "Sie wurden in einem Kommentar zu \"{file}\" von einem Konto erwähnt, das inzwischen gelöscht wurde.",
"{user} mentioned you in a comment on \"{file}\"" : "{user} hat Sie in einem Kommentar zu \"{file}\" erwähnt",
"Files app plugin to add comments to files" : "Ein Plugin für die Dateien-App zum Kommentieren von Dateien",
@@ -31,9 +32,6 @@ OC.L10N.register(
"Comment deleted" : "Kommentar gelöscht",
"An error occurred while trying to delete the comment" : "Es ist ein Fehler beim Löschen des Kommentars aufgetreten",
"An error occurred while trying to create the comment" : "Es ist ein Fehler beim Erstellen des Kommentars aufgetreten",
"You were mentioned on \"{file}\", in a comment by a user that has since been deleted" : "Sie wurden in einem Kommentar auf \"{file}\" von einem bereits gelöschten Benutzer erwähnt",
"Write a message …" : "Eine Nachricht schreiben …",
"\"@\" for mentions, \":\" for emoji, \"/\" for smart picker" : "\"@\" für Erwähnungen, \":\" für Emoji, \"/\" für Smart Picker",
"_%n unread comment_::_%n unread comments_" : ["%n ungelesener Kommentar","%n ungelesene Kommentare"]
"You were mentioned on \"{file}\", in a comment by a user that has since been deleted" : "Sie wurden in einem Kommentar auf \"{file}\" von einem bereits gelöschten Benutzer erwähnt"
},
"nplurals=2; plural=(n != 1);");
+2 -4
View File
@@ -7,6 +7,7 @@
"%1$s commented on %2$s" : "%1$s kommentierte %2$s",
"{author} commented on {file}" : "{author} hat {file} kommentiert",
"<strong>Comments</strong> for files" : "<strong>Kommentare</strong> für Dateien",
"Files" : "Dateien",
"You were mentioned on \"{file}\", in a comment by an account that has since been deleted" : "Sie wurden in einem Kommentar zu \"{file}\" von einem Konto erwähnt, das inzwischen gelöscht wurde.",
"{user} mentioned you in a comment on \"{file}\"" : "{user} hat Sie in einem Kommentar zu \"{file}\" erwähnt",
"Files app plugin to add comments to files" : "Ein Plugin für die Dateien-App zum Kommentieren von Dateien",
@@ -29,9 +30,6 @@
"Comment deleted" : "Kommentar gelöscht",
"An error occurred while trying to delete the comment" : "Es ist ein Fehler beim Löschen des Kommentars aufgetreten",
"An error occurred while trying to create the comment" : "Es ist ein Fehler beim Erstellen des Kommentars aufgetreten",
"You were mentioned on \"{file}\", in a comment by a user that has since been deleted" : "Sie wurden in einem Kommentar auf \"{file}\" von einem bereits gelöschten Benutzer erwähnt",
"Write a message …" : "Eine Nachricht schreiben …",
"\"@\" for mentions, \":\" for emoji, \"/\" for smart picker" : "\"@\" für Erwähnungen, \":\" für Emoji, \"/\" für Smart Picker",
"_%n unread comment_::_%n unread comments_" : ["%n ungelesener Kommentar","%n ungelesene Kommentare"]
"You were mentioned on \"{file}\", in a comment by a user that has since been deleted" : "Sie wurden in einem Kommentar auf \"{file}\" von einem bereits gelöschten Benutzer erwähnt"
},"pluralForm" :"nplurals=2; plural=(n != 1);"
}
+2 -2
View File
@@ -9,6 +9,7 @@ OC.L10N.register(
"%1$s commented on %2$s" : "%1$s σχολίασε στο %2$s",
"{author} commented on {file}" : "Ο {author} σχολίασε στο {file}",
"<strong>Comments</strong> for files" : "<strong>Σχόλια</strong> για αρχεία",
"Files" : "Αρχεία",
"{user} mentioned you in a comment on \"{file}\"" : "Ο/η {user} σας ανέφερε σε σχόλιο στο “{file}”",
"Files app plugin to add comments to files" : "Επέκταση της εφαρμογής Αρχεία που επιτρέπει την προσθήκη σχολίων σε αρχεία",
"Edit comment" : "Επεξεργασία σχολίου",
@@ -26,7 +27,6 @@ OC.L10N.register(
"Comment deleted" : "Το σχόλιο διαγράφηκε",
"An error occurred while trying to delete the comment" : "Παρουσιάστηκε σφάλμα κατά την προσπάθεια διαγραφής του σχολίου",
"An error occurred while trying to create the comment" : "Παρουσιάστηκε σφάλμα κατά την προσπάθεια δημιουργίας του σχολίου",
"You were mentioned on \"{file}\", in a comment by a user that has since been deleted" : "Το όνομά σας αναφέρθηκε στο “{file}”, σε σχόλιο ενός χρήστη ο οποίος έχει πλέον διαγραφεί",
"_%n unread comment_::_%n unread comments_" : ["%n αδιάβαστο σχόλιο","%n αδιάβαστα σχόλια"]
"You were mentioned on \"{file}\", in a comment by a user that has since been deleted" : "Το όνομά σας αναφέρθηκε στο “{file}”, σε σχόλιο ενός χρήστη ο οποίος έχει πλέον διαγραφεί"
},
"nplurals=2; plural=(n != 1);");
+2 -2
View File
@@ -7,6 +7,7 @@
"%1$s commented on %2$s" : "%1$s σχολίασε στο %2$s",
"{author} commented on {file}" : "Ο {author} σχολίασε στο {file}",
"<strong>Comments</strong> for files" : "<strong>Σχόλια</strong> για αρχεία",
"Files" : "Αρχεία",
"{user} mentioned you in a comment on \"{file}\"" : "Ο/η {user} σας ανέφερε σε σχόλιο στο “{file}”",
"Files app plugin to add comments to files" : "Επέκταση της εφαρμογής Αρχεία που επιτρέπει την προσθήκη σχολίων σε αρχεία",
"Edit comment" : "Επεξεργασία σχολίου",
@@ -24,7 +25,6 @@
"Comment deleted" : "Το σχόλιο διαγράφηκε",
"An error occurred while trying to delete the comment" : "Παρουσιάστηκε σφάλμα κατά την προσπάθεια διαγραφής του σχολίου",
"An error occurred while trying to create the comment" : "Παρουσιάστηκε σφάλμα κατά την προσπάθεια δημιουργίας του σχολίου",
"You were mentioned on \"{file}\", in a comment by a user that has since been deleted" : "Το όνομά σας αναφέρθηκε στο “{file}”, σε σχόλιο ενός χρήστη ο οποίος έχει πλέον διαγραφεί",
"_%n unread comment_::_%n unread comments_" : ["%n αδιάβαστο σχόλιο","%n αδιάβαστα σχόλια"]
"You were mentioned on \"{file}\", in a comment by a user that has since been deleted" : "Το όνομά σας αναφέρθηκε στο “{file}”, σε σχόλιο ενός χρήστη ο οποίος έχει πλέον διαγραφεί"
},"pluralForm" :"nplurals=2; plural=(n != 1);"
}
+2 -4
View File
@@ -9,6 +9,7 @@ OC.L10N.register(
"%1$s commented on %2$s" : "%1$s commented on %2$s",
"{author} commented on {file}" : "{author} commented on {file}",
"<strong>Comments</strong> for files" : "<strong>Comments</strong> for files",
"Files" : "Files",
"You were mentioned on \"{file}\", in a comment by an account that has since been deleted" : "You were mentioned on \"{file}\", in a comment by an account that has since been deleted",
"{user} mentioned you in a comment on \"{file}\"" : "{user} mentioned you in a comment on \"{file}\"",
"Files app plugin to add comments to files" : "Files app plugin to add comments to files",
@@ -31,9 +32,6 @@ OC.L10N.register(
"Comment deleted" : "Comment deleted",
"An error occurred while trying to delete the comment" : "An error occurred while trying to delete the comment",
"An error occurred while trying to create the comment" : "An error occurred while trying to create the comment",
"You were mentioned on \"{file}\", in a comment by a user that has since been deleted" : "You were mentioned on \"{file}\", in a comment by a user that has since been deleted",
"Write a message …" : "Write a message …",
"\"@\" for mentions, \":\" for emoji, \"/\" for smart picker" : "\"@\" for mentions, \":\" for emoji, \"/\" for smart picker",
"_%n unread comment_::_%n unread comments_" : ["%n unread comment","%n unread comments"]
"You were mentioned on \"{file}\", in a comment by a user that has since been deleted" : "You were mentioned on \"{file}\", in a comment by a user that has since been deleted"
},
"nplurals=2; plural=(n != 1);");

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