Compare commits

...

2690 Commits

Author SHA1 Message Date
Thomas Citharel 1171f3cf01 refactor(certificate manager): remove unused variable
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2024-02-01 18:41:00 +01:00
Thomas Citharel dd54f35f29 fix(certificate manager): migrate certificate bundles from files_external to data
CertificateManager doesn't work propertly if the files_external app is disabled, so let's store
directly in /data/certificate_manager the bundled certificates. This always has to be done on local
disk as curl currently requires a path to the cert bundle.

When we require PHP 8.1 we will be able to simply store the certificate
bundle in database/memory/cache and pass it through the CURLOPT_SSLCERT_BLOB option.

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2024-02-01 18:40:59 +01:00
Ferdinand Thiessen 937a6a84fe Merge pull request #43234 from nextcloud/fix/provisioning-exception-msgs
fix(provisioning_api): Translate exceptions shown in the frontend
2024-02-01 16:55:04 +01:00
Louis Chemineau 1b2a96679c Merge branch 'master' of github.com:nextcloud/server 2024-02-01 16:44:58 +01:00
Louis Chemineau 1ec9f3e5f9 Cleanup versions entity in during versions:clean command
Signed-off-by: Louis Chemineau <louis@chmn.me>
2024-02-01 16:44:57 +01:00
Joas Schilling 2e488208f6 Merge pull request #43210 from nextcloud/fix/use-github-ci-for-s3-tests
chore(ci): Force github CI for tests failing on self-hosted runners
2024-02-01 15:49:33 +01:00
Joas Schilling 4993dac98f Merge pull request #43203 from nextcloud/fix/cleanup-register-command-with-di
Use Dependency Injection in register_commands.php
2024-02-01 14:44:07 +01:00
Ferdinand Thiessen a025611420 fix(provisioning_api): Translate exceptions shown in the frontend + replace some deprecations
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-02-01 14:01:56 +01:00
Côme Chilliet 618fae7759 Merge pull request #43215 from nextcloud/rakekniven-patch-3
fix(i18n): Adapted spelling of Unicode
2024-02-01 11:07:46 +01:00
Côme Chilliet 2bfb6fc731 fix: Make Repair object injectable and fix BackgroundRepair test
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-02-01 09:49:32 +01:00
Nextcloud bot 5edf9e6681 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-02-01 00:19:04 +00:00
Robin Appelman aff861f4e7 Merge pull request #41327 from nextcloud/dont-reuse-metadata-unscanned
dont reuse etag for folders marked explicitly unscanned
2024-01-31 19:27:19 +01:00
Robin Appelman b777304a77 also updated parent etags when a changed etag is detected during scanning
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-01-31 18:06:18 +01:00
John Molakvoæ 02e9cd6ce5 Merge pull request #41338 from nextcloud/fix/nested-actions-back-focus
fix(files): make sure we focus the parent actions submenu entry
2024-01-31 18:06:15 +01:00
Robin Appelman 7aed19ac98 add test for updating etag with unchanged mtime in child folder
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-01-31 18:05:12 +01:00
Robin Appelman 2cf9ed7ca5 add test for updating etag with unchanged mtime
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-01-31 18:05:11 +01:00
Robin Appelman e14bceb63f dont reuse etag for folders marked explicitly unscanned
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-01-31 18:05:09 +01:00
John Molakvoæ 82e02a7f96 Merge pull request #42913 from nextcloud/fix/settings-apps-stop-reload-force-enabl 2024-01-31 17:35:19 +01:00
nextcloud-command 8257cba30d chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-01-31 17:08:09 +01:00
John Molakvoæ 23899de2b5 fix(files): make sure we focus the parent actions submenu entry
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2024-01-31 17:07:03 +01:00
Joas Schilling 95ebc5839b Merge pull request #43170 from nextcloud/fix/mysql-ci
fix(CI): MySQL unit tests, use LTS for code coverage and drop EOL
2024-01-31 17:06:57 +01:00
John Molakvoæ ebd46c24d7 Merge pull request #40594 from lorenz/fix-dav-url 2024-01-31 16:52:55 +01:00
John Molakvoæ ffae8000d1 fix(settings): stop reloading after force-enabling an app
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2024-01-31 16:41:43 +01:00
dependabot[bot] f629e540fe Merge pull request #43164 from nextcloud/dependabot/npm_and_yarn/moment-2.30.1 2024-01-31 15:23:09 +00:00
nextcloud-command 79dde8da70 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-01-31 14:44:12 +00:00
dependabot[bot] cdb9770be2 chore(deps): Bump moment from 2.29.4 to 2.30.1
Dependabot couldn't find the original pull request head commit, 3cd9244a458dd70796ef87dfd9add77e367650a2.
2024-01-31 13:59:16 +00:00
Ferdinand Thiessen b14b2d06eb Merge pull request #43166 from nextcloud/dependabot/npm_and_yarn/marked-11.2.0
chore(deps): Bump marked from 9.1.5 to 11.2.0
2024-01-31 14:57:09 +01:00
Lorenz Brun a6f879e154 dav: fix wrong decoding of pluses in URLs
PHP's urldecode function does not decode URLs according to RFC 3986, but
according to the HTML 4.01 query parameter
encoding. This results in pluses being wrongly decoded to spaces even
though they should not be decoded at all.

Use rawurldecode instead, which follows RFC 3986 properly.

This fixes an issue where files on DAV shares containing pluses were
incorrectly decoded to spaces.

Fixes: #15849
Signed-off-by: Lorenz Brun <lorenz@brun.one>
2024-01-31 13:26:04 +01:00
Louis 7dc5a91f71 Merge pull request #38173 from arawa/feature/37677/exclude-some-groups-from-sharing-with-users
New core setting : shareapi_only_share_with_group_members_exclude_gro…
2024-01-31 13:24:47 +01:00
Christoph Wurst 6594360638 Merge pull request #42933 from nextcloud/fix/db/dirty-read-on-primary
fix(db): Execute dirty reads on the primary node
2024-01-31 10:55:05 +01:00
Baptiste Fotia 2f6441132d build(): build assets
Signed-off-by: Baptiste Fotia <fotia.baptiste@hotmail.com>
2024-01-31 10:54:00 +01:00
Baptiste Fotia 482319019b build(): build assets
Signed-off-by: Baptiste Fotia <fotia.baptiste@hotmail.com>
2024-01-31 10:46:07 +01:00
Baptiste Fotia 449d28e610 test(php): Fix the unit tests
I added our context in the unit tests following the advice of Louis.

Link : https://github.com/nextcloud/server/pull/43186#issuecomment-1916571027

Signed-off-by: Baptiste Fotia <fotia.baptiste@hotmail.com>
2024-01-31 10:44:40 +01:00
Baptiste Fotia 9af96d9f9a feat(php,vue): Create a new parameter
Signed-off-by: Baptiste Fotia <fotia.baptiste@hotmail.com>
2024-01-31 10:44:40 +01:00
Nextcloud bot 7cb7b8b6c3 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-01-31 00:19:23 +00:00
Ferdinand Thiessen 4239ee7d33 Merge pull request #43172 from nextcloud/fix/43149/files--table-header-actions-position
fix(files): selected files actions position on scroll/with readme block
2024-01-30 21:19:01 +01:00
nextcloud-command e2a1ffbd41 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-01-30 19:59:08 +00:00
dependabot[bot] cc0273d081 chore(deps): Bump marked from 9.1.5 to 11.2.0
Bumps [marked](https://github.com/markedjs/marked) from 9.1.5 to 11.2.0.
- [Release notes](https://github.com/markedjs/marked/releases)
- [Changelog](https://github.com/markedjs/marked/blob/master/.releaserc.json)
- [Commits](https://github.com/markedjs/marked/compare/v9.1.5...v11.2.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-30 20:39:07 +01:00
Maxence Lange 6c49e9c68a Revert "switching to new IAppConfig"
This reverts commit c693c58d25.


Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2024-01-30 18:37:09 -01:00
Maxence Lange c693c58d25 switching to new IAppConfig
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2024-01-30 18:33:50 -01:00
Grigorii K. Shartsev e90e1363ea chore(assets): Recompile assets
Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
2024-01-30 20:30:05 +01:00
Grigorii K. Shartsev f01e169938 fix(files): selected files actions position on scroll/with readme block
Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
2024-01-30 20:28:14 +01:00
Ferdinand Thiessen 5f7e4ffd7f Merge pull request #43171 from nextcloud/fix/vue-8-5-1
chore: Update `@nextcloud/vue` to 8.5.1
2024-01-30 20:13:28 +01:00
Ferdinand Thiessen a45f4235ce chore: Update @nextcloud/vue to 8.5.1
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-01-30 17:26:25 +01:00
rakekniven 8663da1e50 fix(i18n): Adapted spelling of Unicode
Reported at Transifex

Signed-off-by: rakekniven <2069590+rakekniven@users.noreply.github.com>
2024-01-30 16:54:21 +01:00
Côme Chilliet ceff16bbf9 chore: Fix DI for integrity checker before installation
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-01-30 16:31:05 +01:00
Côme Chilliet 0e1931754a chore: use DI for \OC\Repair
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-01-30 16:07:02 +01:00
Côme Chilliet aee189f6c7 chore: Revert using DI for IntegrityCodeChecker as it uses a special service name
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-01-30 16:03:18 +01:00
Côme Chilliet 46f729b63b chore: use DI for Command\Security\ListCertificates
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-01-30 16:03:17 +01:00
Côme Chilliet f4a267536a chore: use long namespaced class instead of putting it inline
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-01-30 16:03:17 +01:00
Côme Chilliet c1d67cc614 chore: Fix DI for Encryption\DecryptAll command
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-01-30 16:03:17 +01:00
Côme Chilliet cc26a503a3 chore: Use DI in register_command instead of new calls
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-01-30 16:03:11 +01:00
Côme Chilliet 52f3616254 Merge pull request #43194 from nextcloud/fix/fix-psalm-missing-template-parameter 2024-01-30 15:24:42 +01:00
Côme Chilliet e1b7a8cece chore(ci): Force github CI for tests failing on self-hosted runners
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-01-30 15:14:15 +01:00
John Molakvoæ e22443263f chore(codeowners): add frontend files expertise
Signed-off-by: John Molakvoæ <skjnldsv@users.noreply.github.com>
2024-01-30 14:23:26 +01:00
Andy Scherzinger 779a78262b Merge pull request #42936 from nextcloud/fix/files_reference_widget_inaccessible_wording
fix(files): Improve inaccessible files message in file reference widget
2024-01-30 13:54:12 +01:00
nextcloud-command a238f5595d chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-01-30 11:33:20 +00:00
Christoph Wurst 97152de9bf fix(db): Execute dirty reads on the primary node
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2024-01-30 12:17:39 +01:00
Joas Schilling e0053e1c06 Merge pull request #43185 from nextcloud/feat/db/dirty-queries-production
feat(db): Make dirty query logging available in production
2024-01-30 12:05:49 +01:00
Jonas 6c7080b152 fix(files): Improve inaccessible files message in file reference widget
Signed-off-by: Jonas <jonas@freesources.org>
2024-01-30 11:50:33 +01:00
Côme Chilliet 6533431c36 Merge pull request #43191 from nextcloud/fix/use-di-for-setup-class 2024-01-30 11:10:52 +01:00
Côme Chilliet 0dd00351d4 chore: Fix twofactor_backupcodes tests
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-01-30 10:57:15 +01:00
Côme Chilliet 220296b216 fix: Fix template parameter for some listeners
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-01-30 10:57:15 +01:00
Côme Chilliet 94cd1b1912 fix(twofactor_backupcodes): Mirate away from deprecated event
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-01-30 10:57:15 +01:00
Côme Chilliet 8bcc2d352e chore: Fix missing template parameter for IEventListener
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-01-30 10:57:15 +01:00
Christoph Wurst 911ab393c0 feat(db): Make dirty query logging available in production
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2024-01-30 10:31:03 +01:00
Côme Chilliet 063c051cdc Merge pull request #43188 from nextcloud/fix/ci-disable-coverage-on-pr 2024-01-30 09:26:06 +01:00
Nextcloud bot efdfe2b61c Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-01-30 00:19:06 +00:00
Côme Chilliet 1f6279fa76 Merge pull request #43031 from nextcloud/fix/fix-throw-phpdoc-in-setupresult 2024-01-29 22:10:53 +01:00
Ferdinand Thiessen cff36b7156 Merge pull request #42331 from nextcloud/fix/auth-token-settings
fix(settings): Disable renaming for tokens marked to be wiped
2024-01-29 18:47:19 +01:00
Ferdinand Thiessen 85978593fe Merge pull request #42794 from nextcloud/fix/invalid-trusted-proxies
fix(Request): Catch exceptions in `isTrustedProxy`
2024-01-29 16:19:51 +01:00
Côme Chilliet 67e3ecef98 chore: Cleanup Installer class as well
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-01-29 16:10:31 +01:00
Côme Chilliet ccc66e912b fix: Use DI for Setup class and move away from deprecated methods
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-01-29 15:28:00 +01:00
Côme Chilliet 5223bd49ae chore(ci): Turn off codecov patch CI
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-01-29 14:16:30 +01:00
Côme Chilliet a2eacf4487 Document throwing behavior of SetupResult upon invalid rich object
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-01-29 14:14:17 +01:00
Côme Chilliet c1e5ebaed5 Merge pull request #42942 from nextcloud/enh/migrate-debugmode-setupcheck 2024-01-29 14:04:27 +01:00
Ferdinand Thiessen bba6813fd2 chore: Compile assets
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-01-29 14:01:20 +01:00
Ferdinand Thiessen d49b70773b fix(settings): Disable renaming for tokens marked to be wiped
This otherwise a WipeException will be thrown when trying to rename

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-01-29 13:53:45 +01:00
Ferdinand Thiessen fc628fcdfc fix(CI): MySQL unit tests, use LTS for code coverage and drop EOL
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-01-29 13:26:53 +01:00
Côme Chilliet 625d8ee694 chore(ci): Disable code coverage upload on pull request
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-01-29 12:05:00 +01:00
Côme Chilliet 936c6a2928 Migrate debug mode check to new SetupCheck API
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-01-29 10:11:03 +01:00
Arthur Schiwon 3749c2c79b Merge pull request #42930 from nextcloud/fix/6914/overwritecond
Fix: config param 'overwritecondaddr' not working
2024-01-29 09:56:56 +01:00
Joas Schilling 4173bbc41d Merge pull request #43143 from nextcloud/dependabot/composer/scssphp/scssphp-1.12.1
chore(deps): Bump scssphp/scssphp from 1.11.0 to 1.12.1
2024-01-29 09:08:48 +01:00
Joas Schilling d9c10d0568 chore(deps): Bump scssphp/scssphp from 1.11.0 to 1.12.1
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-01-29 08:40:16 +01:00
Nextcloud bot 8244ec8915 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-01-29 00:19:27 +00:00
Nextcloud bot f36a9d09f2 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-01-28 00:19:08 +00:00
Ferdinand Thiessen 5eaac6d59c Merge pull request #43147 from nextcloud/fix/files-unify-folder-before-files
fix(files): Consistent sorting for folders before files (user configurable)
2024-01-27 23:20:45 +01:00
Arthur Schiwon 216b95f8b1 test(unit): fix RequestTest
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2024-01-27 15:11:26 +01:00
Pavel Kryl 30ad530814 code style: ommited space, reverted [code review] 2024-01-27 15:11:26 +01:00
Pavel Kryl 446ecbc454 fixing bug #6914: Config Param 'overwritecondaddr' not working
- just ignoring/removing extra parameter 'protocol' as suggested by
  blizzz

Signed-off-by: Pavel Kryl <pavel@kryl.eu>
2024-01-27 15:11:26 +01:00
Ferdinand Thiessen 7620d230df fix(Request): Catch exceptions in isTrustedProxy
The function fails if the configured trusted proxies contain invalid characters and the underlying IpUtils will throw.
But as it is used by `getRemoteAddress` which is used by logging / templating, thrown errors are not reported but silently fail with error 500.

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-01-27 14:59:51 +01:00
Ferdinand Thiessen 9052bc6ff4 fix(cypress): Adjust files sorting tests
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-01-27 14:31:24 +01:00
Ferdinand Thiessen 5e1c4f244a chore: Compile assets
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-01-27 14:31:23 +01:00
dependabot[bot] 65b8c8f9dd Merge pull request #43159 from nextcloud/dependabot/github_actions/actions/checkout-4.1.1 2024-01-27 13:27:57 +00:00
dependabot[bot] 85485ba0b6 Merge pull request #43161 from nextcloud/dependabot/github_actions/peter-evans/create-or-update-comment-4.0.0 2024-01-27 13:27:25 +00:00
Ferdinand Thiessen 2cea4d7b8d fix(files): Consistent sorting for folders before files (user configurable)
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-01-27 14:23:47 +01:00
dependabot[bot] 5044ed712f Merge pull request #43163 from nextcloud/dependabot/npm_and_yarn/core-js-3.35.1 2024-01-27 13:09:16 +00:00
Ferdinand Thiessen 73f748c4ad Merge pull request #43162 from nextcloud/dependabot/github_actions/dorny/paths-filter-3.0.0
chore(deps): Bump dorny/paths-filter from 2.11.1 to 3.0.0
2024-01-27 13:44:25 +01:00
nextcloud-command 2845cbaf76 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-01-27 12:41:23 +00:00
John Molakvoæ b6f64cb41f Merge pull request #43152 from nextcloud/fix/unshare 2024-01-27 13:23:10 +01:00
dependabot[bot] 9544f25e56 chore(deps): Bump core-js from 3.33.2 to 3.35.1
Bumps [core-js](https://github.com/zloirock/core-js/tree/HEAD/packages/core-js) from 3.33.2 to 3.35.1.
- [Release notes](https://github.com/zloirock/core-js/releases)
- [Changelog](https://github.com/zloirock/core-js/blob/master/CHANGELOG.md)
- [Commits](https://github.com/zloirock/core-js/commits/v3.35.1/packages/core-js)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-27 13:12:54 +01:00
John Molakvoæ 1ffb13cf5d chore(assets): Recompile assets
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2024-01-27 12:54:12 +01:00
John Molakvoæ d06ed4d7cb fix(files): disable Unshare until proper fix
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2024-01-27 12:49:53 +01:00
dependabot[bot] cfef434019 Merge pull request #43160 from nextcloud/dependabot/github_actions/actions/upload-artifact-4.3.0 2024-01-27 06:25:12 +00:00
dependabot[bot] db6631748b chore(deps): Bump dorny/paths-filter from 2.11.1 to 3.0.0
Bumps [dorny/paths-filter](https://github.com/dorny/paths-filter) from 2.11.1 to 3.0.0.
- [Release notes](https://github.com/dorny/paths-filter/releases)
- [Changelog](https://github.com/dorny/paths-filter/blob/master/CHANGELOG.md)
- [Commits](https://github.com/dorny/paths-filter/compare/4512585405083f25c027a35db413c2b3b9006d50...0bc4621a3135347011ad047f9ecf449bf72ce2bd)

---
updated-dependencies:
- dependency-name: dorny/paths-filter
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-27 02:07:55 +00:00
dependabot[bot] 9a52aab202 chore(deps): Bump peter-evans/create-or-update-comment
Bumps [peter-evans/create-or-update-comment](https://github.com/peter-evans/create-or-update-comment) from 3.1.0 to 4.0.0.
- [Release notes](https://github.com/peter-evans/create-or-update-comment/releases)
- [Commits](https://github.com/peter-evans/create-or-update-comment/compare/23ff15729ef2fc348714a3bb66d2f655ca9066f2...71345be0265236311c031f5c7866368bd1eff043)

---
updated-dependencies:
- dependency-name: peter-evans/create-or-update-comment
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-27 02:07:50 +00:00
dependabot[bot] 94c5280af4 chore(deps): Bump actions/checkout from 3.5.2 to 4.1.1
Bumps [actions/checkout](https://github.com/actions/checkout) from 3.5.2 to 4.1.1.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v3.5.2...b4ffde65f46336ab88eb53be808477a3936bae11)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-27 02:07:43 +00:00
dependabot[bot] 3cd3ad667b chore(deps): Bump actions/upload-artifact from 4.2.0 to 4.3.0
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 4.2.0 to 4.3.0.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](https://github.com/actions/upload-artifact/compare/694cdabd8bdb0f10b2cea11669e1bf5453eed0a6...26f96dfa697d77e81fd5907df203aa23a56210a8)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-27 02:07:43 +00:00
Ferdinand Thiessen fe4dde3610 Merge pull request #43094 from nextcloud/fix/a11y/43088/select-has-no-connected-label
fix: added a label element to the NcSelect in update settings
2024-01-27 02:39:15 +01:00
Eduardo Morales 35518bcfd6 fix: added a label element to the NcSelect in update settings
Signed-off-by: Eduardo Morales <emoral435@gmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-01-27 01:14:02 +00:00
Ferdinand Thiessen d1e726d363 Merge pull request #43148 from nextcloud/chore/update-dialogs
Update `@nextcloud/dialogs` to 5.1.1
2024-01-27 02:00:03 +01:00
Ferdinand Thiessen ae5af1e213 chore: Compile assets
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-01-27 01:22:41 +01:00
Ferdinand Thiessen c089214a2a chore: Update @nextcloud/dialogs to 5.1.1
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-01-27 01:21:00 +01:00
Nextcloud bot 764f34c4f6 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-01-27 00:19:36 +00:00
Joas Schilling f7dea13c92 Merge pull request #41003 from nextcloud/chore/migrate-behat-to-github
chore(tests): Run all unit tests on GitHub instead of Drone
2024-01-26 21:11:05 +01:00
Pytal 01520d565c Merge pull request #43137 from nextcloud/fix/a11y/sharing-details-focus
fix(files_sharing): Return focus to trigger element on sharing details close
2024-01-26 11:53:02 -08:00
Joas Schilling 5850695284 fix(tests): Add messages to assertions to explain what failed
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-01-26 20:46:14 +01:00
Christopher Ng e6802d2b3f chore: compile assets
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2024-01-26 11:24:39 -08:00
Christopher Ng 22ab251cfa fix(files_sharing): Return focus to trigger element on sharing details close
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2024-01-26 11:21:04 -08:00
Louis beec3028fb Merge pull request #43084 from nextcloud/artonge/feat/version_list
Move modal outside of the Version component.
2024-01-26 19:07:50 +01:00
Louis Chemineau ea732fa699 Compile assets
Signed-off-by: Louis Chemineau <louis@chmn.me>
2024-01-26 16:37:44 +01:00
Joas Schilling d086b6c81d fix(tests): Make PHP 8.1.2 with Datetime Diff Bug pass the notifier test
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-01-26 16:16:37 +01:00
Joas Schilling 6dffc9bc17 fix(CS): Fix coding style
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-01-26 16:05:09 +01:00
Louis Chemineau 3f63375a06 Move modal outside of the Version component.
This is for accessibility, to have the NcListItem (<li>) as a direct child of the <ul>

Signed-off-by: Louis Chemineau <louis@chmn.me>
2024-01-26 15:41:50 +01:00
Joas Schilling 590b4fdff7 fix(CI): Sign .drone.yml
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-01-26 14:56:16 +01:00
Ferdinand Thiessen 4465caafa2 chore: Migrate PHPUnit files_external S3 test
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-01-26 14:55:16 +01:00
Ferdinand Thiessen 4a1ff0b6da fix: Run tests only on pull requests and scheduled
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-01-26 14:55:16 +01:00
Ferdinand Thiessen fd378c1b12 chore(tests): Migrate memcached unit test from drone to GitHub Action
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-01-26 14:55:13 +01:00
Ferdinand Thiessen 8e02014b55 chore(tests): Migrate object storage unit tests from drone to GitHub Actions
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-01-26 14:54:23 +01:00
Ferdinand Thiessen fceb781058 fix(tests): Fix deprecation errors in S3 tests
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-01-26 14:53:33 +01:00
Ferdinand Thiessen c3d63c57ce fix(encryption): Fix deprecated syntax in encryption tests
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-01-26 14:53:33 +01:00
Ferdinand Thiessen b8fbd7721d fix(user_ldap): Ensure host is a string when checking if ldapi
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-01-26 14:53:32 +01:00
Ferdinand Thiessen a630ee8dce chore(tests): Align oracle database tests with the other databases
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-01-26 14:53:32 +01:00
Ferdinand Thiessen 8a68232804 chore(tests): Migrate code coverage generation from drone to GitHub
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-01-26 14:53:29 +01:00
Ferdinand Thiessen 32a4849757 chore(tests): Migrate sqlite tests from drone to GitHub
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-01-26 14:52:28 +01:00
Ferdinand Thiessen bb4f108488 chore(tests): Migrate postgres tests from drone to GitHub
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-01-26 14:50:20 +01:00
Ferdinand Thiessen 4e7ff6d7f7 chore(tests): Migrate mariadb tests from drone to GitHub
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-01-26 14:48:05 +01:00
Ferdinand Thiessen 6a933b2848 chore(tests): Migrate MySQL database tests from drone to GitHub
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-01-26 14:48:04 +01:00
Joas Schilling 8d114c9e74 Merge pull request #41139 from nextcloud/techdebt/noid/move-integration-testing-to-actions
Move integration tests to github actions
2024-01-26 14:37:53 +01:00
Joas Schilling da46be4c15 fix(CI): Use ghcr.io/nextcloud/continuous-integration-redis image
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-01-26 13:53:35 +01:00
Ferdinand Thiessen a3d3517843 fix(integration-s3): Adjust integration test for changed test layout
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-01-26 13:53:34 +01:00
Ferdinand Thiessen 52cc18efc0 fix(tests): Ensure ldap server can be reached in integration tests on GitHub Actions and other improvments
* Run integration tests for every pull request
* Also print docker logs of service containers (ldap, redis)
* Ensure consistent `datadir` for test assertions
* Test openldap features separatly
* Only the LDAP tests rely on `/dev/shm` while `federated.feature` rely on real directory access

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-01-26 13:53:34 +01:00
Joas Schilling b64d032795 Enable LDAP tests with redis
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-01-26 13:53:33 +01:00
Joas Schilling 5ebc5be683 Skip the large download again
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-01-26 13:53:33 +01:00
Joas Schilling 34ea298843 Fix "Creation of dynamic property CommandLineContext::$…BaseUrl is deprecated in CommandLineContext.php on line 41"
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-01-26 13:53:32 +01:00
Joas Schilling cc4e2f9e38 Reduce the output on github CI
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-01-26 13:53:32 +01:00
Joas Schilling e7aff760c2 Don't tail the log output, it's available separately
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-01-26 13:53:31 +01:00
Joas Schilling d7e249874e Ensure the testing app is enabled
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-01-26 13:53:31 +01:00
Joas Schilling a1e9c6f71d Remove library that is unmaintained since 2015 and was merged in the behat core
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-01-26 13:53:31 +01:00
Joas Schilling 736fb4c162 Fix "Creation of dynamic property FeatureContext::$parts is deprecated in WebDav.php line 757"
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-01-26 13:53:30 +01:00
Joas Schilling 1ecdefd0e6 fix: Video verification test by cloning talk
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-01-26 13:53:30 +01:00
Joas Schilling 058b69eef0 chore: Move integration tests from drone to github
* Improve grouping as setting up CI took 3* the time of the test in average

Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-01-26 13:53:29 +01:00
Maxence Lange 08ec513f29 Merge pull request #42903 from nextcloud/enh/noid/improve-index-on-appconfig
improve index on appconfig
2024-01-26 09:53:34 -01:00
Joas Schilling 05fea4550b Merge pull request #43140 from nextcloud/dependabot/composer/symfony/process-5.4.34
chore(deps): Bump symfony/process from 5.4.24 to 5.4.34
2024-01-26 11:08:08 +01:00
Joas Schilling ead1bc3e8c chore(deps): Bump symfony/process from 5.4.24 to 5.4.34
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-01-26 10:17:00 +01:00
Joas Schilling 361030a65a Merge pull request #43110 from nextcloud/dependabot/composer/pear/pear-core-minimal-1.10.14
chore(deps): Bump pear/pear-core-minimal from 1.10.10 to 1.10.14
2024-01-26 10:08:40 +01:00
Joas Schilling 8aab02310a chore(deps): Bump pear/pear-core-minimal from 1.10.10 to 1.10.14
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-01-26 09:23:56 +01:00
Nextcloud bot 6f42e8cd33 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-01-26 00:19:08 +00:00
Ferdinand Thiessen dd180104ca Merge pull request #43093 from nextcloud/fix/router-version
chore: Upgrade `@nextcloud/router` to 2.2.1
2024-01-25 20:19:55 +01:00
Joas Schilling 2357bcbbbd Merge pull request #43099 from nextcloud/bugfix/noid/make-postgres-unit-test-less-flacky
fix(tests): Make PostgreSQL unit tests less flacky by ordering
2024-01-25 19:54:58 +01:00
Joas Schilling 1a2b08a756 Merge pull request #43081 from nextcloud/bugfix/noid/add-reviewers
fix(CI): Add codeowners as reviewers for improved backport experience
2024-01-25 19:45:46 +01:00
Ferdinand Thiessen 163d02e2a7 fix(tests): Adjust legacy tests for nextcloud-router update
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-01-25 17:55:06 +01:00
Ferdinand Thiessen 9fb7d5bca7 chore: Upgrade @nextcloud/router to 2.2.1
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-01-25 17:55:06 +01:00
Louis b71c037246 Merge pull request #43047 from nextcloud/artonge/feat/buffer_chunked_requests
Buffer chunked requests
2024-01-25 17:32:36 +01:00
Robin Appelman c130079dad Merge pull request #43078 from nextcloud/version-expire-handle-storage
handle storage not available when expiring versions
2024-01-25 17:27:12 +01:00
Côme Chilliet d4c0d15f90 Merge pull request #42939 from nextcloud/enh/migrate-fairuseoffreepushservice-setupcheck 2024-01-25 17:01:49 +01:00
John Molakvoæ a2d795ffe2 Merge pull request #43104 from nextcloud/chore/cleanup 2024-01-25 16:50:27 +01:00
Ferdinand Thiessen 342d753474 Merge pull request #42552 from nextcloud/fix/41849/theming--change-color-button-contrast
fix(theming): change color button contrast
2024-01-25 16:48:26 +01:00
Ferdinand Thiessen 78cc1d23f2 Merge pull request #42992 from nextcloud/fix/files-navigation-not-active
fix(files): Make the navigation reactive to view changes and show also sub routes as active
2024-01-25 16:47:48 +01:00
Ferdinand Thiessen 5d61b806d6 fix(cypress): Wait for color change in pickRandomColor
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-01-25 16:04:32 +01:00
Côme Chilliet 3be505f9c2 Rename to "Push service" and enable on all instances to avoid trouble
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-01-25 15:23:54 +01:00
nextcloud-command eea7f629d1 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-01-25 15:09:01 +01:00
Ferdinand Thiessen 7b71f59bab fix(files): Ensure the correct dir query is set on folder action
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-01-25 15:07:52 +01:00
Ferdinand Thiessen 4023f1e582 fix(files): Make sure to add the fileid on favorite folders navigation entries
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-01-25 15:07:52 +01:00
Ferdinand Thiessen 2893d1b926 fix(files): Make sure $navigation is observable to react on changes
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-01-25 15:07:52 +01:00
Ferdinand Thiessen a62bb3a581 fix(files): Set default view and match also child routes
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-01-25 15:07:52 +01:00
Ferdinand Thiessen f92865e2a2 fix(files): Add declaration for $navigation
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-01-25 15:07:52 +01:00
Côme Chilliet 67541f21f6 Migrate fair use of free push service check to new SetupCheck API
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-01-25 13:05:59 +01:00
Joas Schilling 7c79521cbe Merge pull request #42839 from nextcloud/enh/migrate-s3tempspace-setupcheck
Migrate available temp space check to new SetupCheck API
2024-01-25 13:04:29 +01:00
Maxence Lange a845e0f73a Update core/Migrations/Version29000Date20240124132202.php
Co-authored-by: Joas Schilling <213943+nickvergessen@users.noreply.github.com>
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2024-01-25 10:33:47 -01:00
Maxence Lange 31e8ed42a1 Update core/Migrations/Version29000Date20240124132201.php
Co-authored-by: Joas Schilling <213943+nickvergessen@users.noreply.github.com>
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2024-01-25 10:33:39 -01:00
Christoph Wurst 723b9f49f1 Merge pull request #42896 from nextcloud/fix/42451/revert-in-a-meeting-status
fix(userstatus): CALL status should overwrite MEETING status
2024-01-25 12:25:26 +01:00
Côme Chilliet 9add64f30e Merge writable temporary space check with the s3 one, and improve
It will now show available space and path of both PHP and Nextcloud
 temporary directories if they differ.

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-01-25 11:47:30 +01:00
Côme Chilliet ccbc5fc273 Remove old version of temporary space setup check and fix tests
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-01-25 11:47:29 +01:00
Côme Chilliet 058f7d5664 Migrate available temp space check to new SetupCheck API
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-01-25 11:47:29 +01:00
Ferdinand Thiessen 8e9d89a92a Merge pull request #43098 from nextcloud/fix/41903/settings--change-scope-a11y
fix(settings): federation scope menu a11y
2024-01-25 11:41:20 +01:00
Joas Schilling aa25a65934 Merge pull request #43102 from nextcloud/dependabot/composer/symfony/polyfill-intl-grapheme-1.28.0
chore(deps): Bump symfony/polyfill-intl-grapheme and symfony/polyfill-intl-normalizer to 1.28.0
2024-01-25 11:19:26 +01:00
John Molakvoæ 0d0f3d3ab1 Merge pull request #42836 from nextcloud/enh/migrate-mysql-utf8mb4-setupcheck 2024-01-25 11:18:01 +01:00
Julia Kirschenheuter 3f0533b260 Merge pull request #43090 from nextcloud/fix/files--combine-navigation-and-app
fix(files): combine navigation and files list into single Vue app
2024-01-25 11:10:19 +01:00
Joas Schilling 71add5561a fix(userstatus): Also set the user status when the user has no status at all
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-01-25 11:05:48 +01:00
John Molakvoæ 92d5fbb151 chore(files): cleanup old templates
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2024-01-25 10:24:48 +01:00
Joas Schilling ec65f180dd chore(deps): Bump symfony/polyfill-intl-grapheme from 1.23.1 to 1.28.0
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-01-25 10:18:09 +01:00
Joas Schilling f108ed98e3 Merge pull request #43077 from nextcloud/dependabot/composer/egulias/email-validator-3.2.6
chore(deps): Bump egulias/email-validator from 3.2.5 to 3.2.6
2024-01-25 09:58:44 +01:00
Joas Schilling c0ded72564 chore(deps): Bump egulias/email-validator from 3.2.5 to 3.2.6
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-01-25 09:12:23 +01:00
Joas Schilling b04f6d57b4 fix(tests): Make PostgreSQL unit tests less flacky by ordering
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-01-25 06:47:39 +01:00
Nextcloud bot 9f63e667c4 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-01-25 00:19:15 +00:00
Grigorii K. Shartsev aa18769853 chore(assets): Recompile assets
Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
2024-01-25 00:25:54 +01:00
Grigorii K. Shartsev b40279e376 fix(files): combine navigation and files list into single Vue app
Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
2024-01-25 00:25:54 +01:00
Grigorii K. Shartsev 64db80213f chore(assets): Recompile assets
Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
2024-01-24 23:06:17 +01:00
Grigorii K. Shartsev e60492c186 fix(settings): use default styles for federation scope menu
Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
2024-01-24 23:04:52 +01:00
Grigorii K. Shartsev 6b87390a64 fix(settings): federation scope menu a11y
Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
2024-01-24 23:04:16 +01:00
Maxence Lange 8362025643 better indexes
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2024-01-24 20:01:56 -01:00
Simon L cb43fca83d Merge pull request #43080 from nextcloud/enh/noid/remove-eol-branches
npm audit fix - remove stable24 and stable25 as they are EOL
2024-01-24 19:46:06 +01:00
Anna Larch e1b957e17b fix(userstatus): CALL status should overwrite MEETING status
Signed-off-by: Anna Larch <anna@nextcloud.com>
2024-01-24 18:23:21 +01:00
Julius Härtl 0f48549769 Merge pull request #43005 from nextcloud/fix/testing-runtime-processing
fix(testing): implement getExpectedRuntime on FakeTextProcessingProvider
2024-01-24 15:26:58 +01:00
Grigorii K. Shartsev 6215814ac5 chore(assets): Recompile assets
Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
2024-01-24 14:37:18 +01:00
Grigorii K. Shartsev 6df488df21 test(theming): update e2e tests after separating color button and preview
Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
2024-01-24 14:35:31 +01:00
Grigorii K. Shartsev 544357d002 fix(theming): change color button contrast on admin settings
Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
2024-01-24 14:35:31 +01:00
Grigorii K. Shartsev 1112b9e9a5 fix(theming): change color button contrast on user settings
Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
2024-01-24 14:35:31 +01:00
Joas Schilling 6fc730ea4c fix(CI): Add codeowners as reviewers for improved backport experience
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-01-24 12:21:56 +01:00
Louis Chemineau 3c0c373083 Buffer chunked requests
Signed-off-by: Louis Chemineau <louis@chmn.me>
2024-01-24 12:11:37 +01:00
Simon L e90f267baa npm audit fix - remove stable24 and stable25 as they are EOL
Signed-off-by: Simon L <szaimen@e.mail.de>
2024-01-24 11:55:05 +01:00
Robin Appelman 6fbf22ef5e handle storage not available when expiring versions
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-01-24 10:49:38 +01:00
Matthieu Gallien 594016110d Merge pull request #43069 from nextcloud/automated/noid/master-update-code-signing-crl
[master] fix(security): Update code signing revocation list
2024-01-24 08:47:59 +01:00
nextcloud-command e133c3fade fix(security): Update code signing revocation list
Signed-off-by: GitHub <noreply@github.com>
2024-01-24 02:19:33 +00:00
Pytal e8a67a7a46 Merge pull request #42732 from nextcloud/fix/a11y/user-status-icons
fix(a11y): Fix informative graphics contrast of user status icons
2024-01-23 17:44:18 -08:00
Christopher Ng 5945af5547 chore: compile assets
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2024-01-23 16:38:45 -08:00
Christopher Ng b61c13c8eb chore(user_status): Remove unused styles + svgs
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2024-01-23 16:36:11 -08:00
Christopher Ng f060475189 fix(user_status): Migrate to NcUserStatusIcon
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2024-01-23 16:36:10 -08:00
Christopher Ng 693eb6926e fix(dashboard): Migrate to NcUserStatusIcon
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2024-01-23 16:34:11 -08:00
Nextcloud bot 271f70b66a Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-01-24 00:20:11 +00:00
Pytal 338c9e4a8d Merge pull request #43061 from nextcloud/deps/nextcloud/vue-8.5.0
chore: Bump @nextcloud/vue to v8.5.0
2024-01-23 13:38:29 -08:00
Christopher Ng 0fe76a9433 test(files): Fix file picker test
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2024-01-23 11:44:50 -08:00
Christopher Ng 4f5f9ae98b test(theming): Fix navigation bar tests
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2024-01-23 11:38:40 -08:00
Christopher Ng f380c6e190 chore: Update dav snapshot
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2024-01-23 11:06:16 -08:00
Christopher Ng 124cffad4f chore: compile assets
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2024-01-23 10:51:46 -08:00
Christopher Ng 9eb0fe3644 chore: Bump @nextcloud/vue to v8.5.0
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2024-01-23 10:51:45 -08:00
Julius Härtl 8c777145f2 Merge pull request #42597 from nextcloud/perf/s3-mkdir-update-size
perf: Avoid updating the folder size if we know the size difference
2024-01-23 19:39:28 +01:00
Ferdinand Thiessen 8ba7de87f5 Merge pull request #43033 from nextcloud/fix/color-capabilities
fix(theming): Apply same logic on capabilities for primary color as done on themes
2024-01-23 18:32:55 +01:00
Julius Härtl 0a2665a0b3 fix(testing): implement getExpectedRuntime on FakeTextProcessingProvider
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2024-01-23 18:08:28 +01:00
Louis 2ac1d86051 Merge pull request #43029 from nextcloud/artonge/feat/files_versions_virtual_scroll
Wrap versions list in virtual scroll
2024-01-23 17:52:31 +01:00
Côme Chilliet 10664e9529 Migrate MySQL utf8mb4 check to new SetupCheck API
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-01-23 17:34:04 +01:00
Ferdinand Thiessen a09107af7a Merge pull request #42978 from nextcloud/fix/refactor-unified-search
fix(unified-search): Refactor header menu code
2024-01-23 17:21:41 +01:00
Louis Chemineau 16265dbd66 Compile assets
Signed-off-by: Louis Chemineau <louis@chmn.me>
2024-01-23 15:57:29 +01:00
Louis Chemineau 5302024156 Wrap versions list in virtual scroll
Signed-off-by: Louis Chemineau <louis@chmn.me>
2024-01-23 15:57:29 +01:00
John Molakvoæ 4dc224fa2c Merge pull request #42999 from nextcloud/fix/mjs-setup-check-local 2024-01-23 15:13:24 +01:00
Côme Chilliet 5a7b145ebc Merge pull request #42829 from nextcloud/enh/migrate-webauthn-modules-setupcheck 2024-01-23 14:14:37 +01:00
Joas Schilling 7f1b980dcf Merge pull request #43045 from nextcloud/bugfix/noid/fix-type-info-in-appmanager
fix(apps): Fix type information of app manager
2024-01-23 11:00:21 +01:00
Joas Schilling 582ec1294a fix(apps): Fix type information of app manager
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-01-23 09:55:06 +01:00
Christoph Wurst 033a654389 Merge pull request #42929 from nextcloud/fix/db/transacted-read-not-dirty
fix(db): Do not log transacted reads as dirty read
2024-01-23 09:34:20 +01:00
Julius Härtl 9bce24bf0f Merge pull request #42890 from nextcloud/fix/db/replica-password-sample-config 2024-01-23 09:30:14 +01:00
Julia Kirschenheuter 4bf4cee870 Merge pull request #43015 from nextcloud/fix/42941-Replace_samtically_incorrect_elements_on_Artificial_Intelligence_setting_page
Replace inaccessible disabled option of NcCheckboxRadioSwitch with NcNoteCard
2024-01-23 09:02:08 +01:00
Christoph Wurst 5dd7513390 fix(db): Fix replica password example config
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2024-01-23 08:17:26 +01:00
Ferdinand Thiessen 4f75acab2b chore: Compile assets
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-01-23 02:04:07 +01:00
Ferdinand Thiessen ea19bc58c5 fix(core): Do not apply invert-color filter to unified search
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-01-23 02:02:12 +01:00
Ferdinand Thiessen b37d4925b7 fix(unified-search): Refactor header menu entry
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-01-23 02:00:24 +01:00
Nextcloud bot 3154e09e43 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-01-23 00:27:06 +00:00
Ferdinand Thiessen 681b3190c5 Merge pull request #43028 from nextcloud/fix/42641-correct-values-and-attrs
Correct values and attributes
2024-01-23 01:06:24 +01:00
Ferdinand Thiessen 8de89b2103 fix(theming): Apply same logic on capabilities for primary color like on themes
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-01-23 01:01:42 +01:00
Grigorii K. Shartsev d133fce5b5 Merge pull request #42822 from nextcloud/fix/settings-svg-viewBox
fix(settings): set viewBox on SVG icons
2024-01-23 04:14:55 +05:00
Grigorii K. Shartsev 51c45b563c chore(assets): Recompile assets
Signed-off-by: Grigorii K. Shartsev <me@shgk.me>

chore(assets): Recompile assets

Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
2024-01-22 23:54:45 +01:00
Grigorii K. Shartsev f5ec8948ad fix(settings): set viewBox on SVG icons
Without viewBox they don't scale

Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
2024-01-22 23:54:45 +01:00
nextcloud-command ee139ef4e9 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-01-22 20:31:05 +00:00
julia.kirschenheuter d86cdb96c6 Correct values and attributes
Signed-off-by: julia.kirschenheuter <julia.kirschenheuter@nextcloud.com>
2024-01-22 21:16:51 +01:00
nextcloud-command 60df95f5ed chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-01-22 13:31:33 -06:00
julia.kirschenheuter aa8f76d7d0 fix(files): replace inaccessible disabled option of NcCheckboxRadioSwitch with NcNoteCard
Signed-off-by: julia.kirschenheuter <julia.kirschenheuter@nextcloud.com>
2024-01-22 13:31:33 -06:00
Kate 64ccc1ef87 Merge pull request #43027 from nextcloud/fix/svg-viewbox-attribute
fix: Use viewBox instead of viewbox in SVGs
2024-01-22 18:13:03 +01:00
John Molakvoæ 1a5d5a22e0 Merge pull request #42967 from nextcloud/fix/files/42956 2024-01-22 17:39:45 +01:00
nextcloud-command d11c6b63c7 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-01-22 16:02:58 +00:00
provokateurin 958f18c37b fix: Use viewBox instead of viewbox in SVGs
Signed-off-by: provokateurin <kate@provokateurin.de>
2024-01-22 16:39:06 +01:00
Côme Chilliet c43144fc7d Remove bz2 leftover description
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-01-22 15:56:40 +01:00
Simon L 4c1452fbda Merge pull request #43017 from nextcloud/automated/noid/master-fix-npm-audit
[master] Fix npm audit
2024-01-22 15:53:19 +01:00
Côme Chilliet f13b2fb103 Add missing recommended modules gmp and bcmath
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-01-22 15:08:59 +01:00
Côme Chilliet 4c34216305 Fix description for exif PHP module
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-01-22 15:07:37 +01:00
Côme Chilliet ca3e1a531a Merge gmp and bcmath module checks with the existing PHP modules setup check
Also add description for why each module is recommended

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-01-22 15:07:21 +01:00
nextcloud-command 3f33f78418 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-01-22 12:12:13 +00:00
Joas Schilling 1891ae121d Merge pull request #42965 from nextcloud/feat/noid/autoupdate-root-crl
feat(CI): Automatically update the root.crl from the appstore
2024-01-22 12:41:47 +01:00
John Molakvoæ 5ee989bfb4 fix(files): do not show View in folder in the Files view
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2024-01-22 12:32:44 +01:00
Joas Schilling aeb5047c46 Merge pull request #42951 from nextcloud/dependabot/composer/giggsey/libphonenumber-for-php-lite-8.13.27
chore(deps): Bump giggsey/libphonenumber-for-php-lite
2024-01-22 12:31:52 +01:00
nextcloud-command 1e699aaf59 chore(deps): fix npm audit
Signed-off-by: GitHub <noreply@github.com>
2024-01-22 11:20:03 +00:00
Simon L 93db067918 Merge pull request #42963 from nextcloud/szaimen-patch-1
fix header inversion bug
2024-01-22 11:15:17 +01:00
Côme Chilliet d51522750e Merge pull request #42821 from J0WI/rm-bz2-check
Remove disputed bz2 check
2024-01-22 11:11:36 +01:00
Christoph Wurst 03774ad77c Merge pull request #42971 from nextcloud/fix/auth/login-email-password-login-name-mismatch
fix(auth): Fix logging in with email and app password
2024-01-22 10:41:48 +01:00
Joas Schilling 3331af53cc chore(deps): Bump giggsey/libphonenumber-for-php-lite
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-01-22 10:21:44 +01:00
Arthur Schiwon 90a551d570 Merge pull request #42996 from nextcloud/fix/weather_status/location-format
fix(weather_status): Fix location format for OpenAPI
2024-01-22 10:00:24 +01:00
Ferdinand Thiessen 2dd05ab1f1 chore: Built CSS assets
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-01-22 09:44:34 +01:00
Simon L ad622e54d5 fix header inversion bug
Signed-off-by: Simon L <szaimen@e.mail.de>
2024-01-22 09:44:04 +01:00
Joas Schilling 3f8e8d2ccc feat(CI): Automatically update the root.crl from the appstore
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-01-22 08:57:40 +01:00
Nextcloud bot f0824db9c7 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-01-22 00:20:09 +00:00
Ferdinand Thiessen d2cb90bda2 fix(settings): Allow to connect to local address when checking for .mjs support
Also reduce the severity in case of a failed check to warning.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-01-21 20:20:53 +01:00
provokateurin 70d786916a fix(weather_status): Fix location format for OpenAPI
Signed-off-by: provokateurin <kate@provokateurin.de>
2024-01-21 12:20:53 +01:00
John Molakvoæ 1612d025cf Merge pull request #42987 from nextcloud/skjnldsv-patch-1 2024-01-21 10:45:47 +01:00
John Molakvoæ 6601117440 chore(cypress): add 3 more runners
Signed-off-by: John Molakvoæ <skjnldsv@users.noreply.github.com>
2024-01-21 10:09:04 +01:00
Joas Schilling 6012450017 Merge pull request #41136 from nextcloud/jr-sec-policy-community-apps
Update security policy to match new project-wide default one
2024-01-21 08:13:38 +01:00
Nextcloud bot af313a79e8 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-01-21 00:19:16 +00:00
Ferdinand Thiessen 9695c021c2 Merge pull request #42976 from nextcloud/dependabot/npm_and_yarn/types/wait-on-5.3.4
chore(deps-dev): Bump @types/wait-on from 5.3.3 to 5.3.4
2024-01-20 17:30:22 +01:00
John Molakvoæ 87ae14eddf Merge pull request #42889 from nextcloud/fix/copy-in-same-dir 2024-01-20 16:05:56 +01:00
Ferdinand Thiessen 81925a7cb2 chore: Compile assets
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-01-20 15:45:32 +01:00
Ferdinand Thiessen a289fdd2d7 fix(files): Allow to copy or move file to folder with similar name
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-01-20 15:41:53 +01:00
Ferdinand Thiessen b29c0cca24 fix(files): Adjust getUniqueName for custom suffix and reuse for copy-move-action
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-01-20 15:41:53 +01:00
Ferdinand Thiessen eaad30c346 enh(files): Allow to copy files into same directory
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-01-20 15:41:53 +01:00
John Molakvoæ fd73d3a991 Merge pull request #42950 from nextcloud/fix/a11y/41895/breadcrumb-fix-for-home-component 2024-01-20 13:21:25 +01:00
Eduardo Morales 81057f6191 fix(files): fixed home aria-label and desc logic
Signed-off-by: Eduardo Morales <emoral435@gmail.com>
2024-01-20 13:04:25 +01:00
John Molakvoæ a6c309f033 Merge pull request #42949 from nextcloud/fix/a11y/files-checkbox-label 2024-01-20 12:52:58 +01:00
nextcloud-command e2de16a047 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-01-20 11:27:02 +00:00
Christopher Ng 1b0eb2bebd fix(files): Fix checkbox state semantics
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2024-01-20 12:23:51 +01:00
Kate 6f1393d34b Merge pull request #42974 from nextcloud/fix/build/openapi-diff-non-default 2024-01-20 08:31:06 +01:00
dependabot[bot] 90e2146146 Merge pull request #42981 from nextcloud/dependabot/github_actions/actions/upload-artifact-4.2.0 2024-01-20 05:42:34 +00:00
dependabot[bot] bd82cc7202 Merge pull request #42979 from nextcloud/dependabot/composer/build/integration/phpunit/phpunit-9.6.16 2024-01-20 05:23:16 +00:00
dependabot[bot] 3f16a3c297 chore(deps): Bump actions/upload-artifact from 4.1.0 to 4.2.0
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 4.1.0 to 4.2.0.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](https://github.com/actions/upload-artifact/compare/1eb3cb2b3e0f29609092a73eb033bb759a334595...694cdabd8bdb0f10b2cea11669e1bf5453eed0a6)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-20 03:40:23 +00:00
dependabot[bot] 779b53285d chore(deps-dev): Bump phpunit/phpunit in /build/integration
Bumps [phpunit/phpunit](https://github.com/sebastianbergmann/phpunit) from 9.6.13 to 9.6.16.
- [Changelog](https://github.com/sebastianbergmann/phpunit/blob/9.6.16/ChangeLog-9.6.md)
- [Commits](https://github.com/sebastianbergmann/phpunit/compare/9.6.13...9.6.16)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-20 03:32:46 +00:00
dependabot[bot] a723b38907 chore(deps-dev): Bump @types/wait-on from 5.3.3 to 5.3.4
Bumps [@types/wait-on](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/wait-on) from 5.3.3 to 5.3.4.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/wait-on)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-20 02:27:48 +00:00
Ferdinand Thiessen c964a9a9a9 Merge pull request #42970 from nextcloud/fix/update-dialogs-5.1.0
chore: Update `@nextcloud/dialogs` to 5.1.0
2024-01-20 03:26:11 +01:00
Nextcloud bot 980378de1d Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-01-20 00:19:27 +00:00
provokateurin 993d5d4a6d fix(build): Fix OpenAPI diff on non-default specs
Signed-off-by: provokateurin <kate@provokateurin.de>
2024-01-19 23:35:10 +01:00
Christoph Wurst 7f2fdd8843 fix(auth): Fix logging in with email, password and login name mismatch
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2024-01-19 19:29:41 +01:00
Ferdinand Thiessen 0a568e8a18 chore: Compile assets
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-01-19 19:14:05 +01:00
Ferdinand Thiessen 81b844e0d1 chore(deps): Update @nextcloud/dialogs to 5.1.0
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-01-19 19:12:07 +01:00
John Molakvoæ e5b0941c64 Merge pull request #42955 from nextcloud/bugfix/noid/fix-avatar-menu-icon-colors 2024-01-19 10:54:26 +01:00
Joas Schilling f110d3feba fix(a11y): Fix avatar menu icon color in dark mode
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-01-19 10:35:21 +01:00
Joas Schilling 6c8b1fa80e Merge pull request #42888 from nextcloud/techdebt/noid/openapi-scopes
Add OpenAPI scopes
2024-01-19 09:03:27 +01:00
Nextcloud bot 9f6df9171b Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-01-19 00:19:27 +00:00
Ferdinand Thiessen 701c1a9d50 Merge pull request #42940 from nextcloud/chore/deps/update-openapi-extractor
chore(deps): Update openapi-extractor
2024-01-18 23:31:14 +01:00
Christoph Wurst 3d512133d3 Merge pull request #42922 from nextcloud/fix/db/no-verbose-dirty-query-logs
fix(db): Remove very verbose dirty query logs
2024-01-18 19:58:31 +01:00
Christoph Wurst ab0d7c007d fix(db): Remove very verbose dirty query logs
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2024-01-18 18:33:07 +01:00
provokateurin c5808d0d10 refactor: Configure OpenAPI scopes
Signed-off-by: provokateurin <kate@provokateurin.de>
2024-01-18 16:23:36 +01:00
provokateurin b64ab5fba8 refactor: Migrate IgnoreOpenAPI attributes to OpenAPI
Signed-off-by: provokateurin <kate@provokateurin.de>
2024-01-18 16:14:17 +01:00
provokateurin 14c57ee708 chore: Adjust codeowners
Signed-off-by: provokateurin <kate@provokateurin.de>
2024-01-18 16:11:18 +01:00
provokateurin 88f7d5bf84 chore(deps): Update openapi-extractor
Signed-off-by: provokateurin <kate@provokateurin.de>
2024-01-18 16:00:18 +01:00
provokateurin 887d63663d chore(files): Remove unused type alias
Signed-off-by: provokateurin <kate@provokateurin.de>
2024-01-18 16:00:18 +01:00
Côme Chilliet 242b367682 Merge pull request #42814 from nextcloud/enh/migrate-settimelimit-setupcheck 2024-01-18 15:33:37 +01:00
Christoph Wurst f54b08c224 fix(db): Do not log transacted reads as dirty read
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2024-01-18 13:37:36 +01:00
Côme Chilliet a77bab2f95 Migrate set_time_limit setup check to new API
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-01-18 12:36:53 +01:00
Ferdinand Thiessen 1334055ab8 Merge pull request #42812 from nextcloud/enh/migrate-memcached-setupcheck
Migrate memcached PHP module setup check to new API
2024-01-18 12:23:02 +01:00
Joas Schilling 24dc742f87 Merge pull request #42912 from nextcloud/rakekniven-patch-3
fix(i18n): Change cli to uppercase
2024-01-18 11:54:41 +01:00
Joas Schilling ae48a27786 Merge pull request #42923 from nextcloud/fix/build/openapi-non-shipped-no-support
fix(build): Do not generated OpenAPI for non-shipped apps or apps without OpenAPI support
2024-01-18 11:54:21 +01:00
Arthur Schiwon c4f4c5a3fb Merge pull request #41067 from Murena-SAS/preview-folder-deletes
Fix for previews not being generated sometimes
2024-01-18 11:46:12 +01:00
provokateurin 8c4a52e3ff fix(build): Do not generated OpenAPI for non-shipped apps or apps without OpenAPI support
Signed-off-by: provokateurin <kate@provokateurin.de>
2024-01-18 11:22:43 +01:00
Louis 8314fc5d36 Merge pull request #42891 from nextcloud/artonge/fix/path_resolution_in_files_versions_hooks
Improve path resolution in files_version hooks
2024-01-18 11:08:04 +01:00
Christoph Wurst d9d222d18a Merge pull request #42850 from nextcloud/fix/caldav/update-acls-deletedcalendarobjectscollection
fix(CalDAV): set acls for DeletedCalendarObjectsCollection
2024-01-18 10:42:14 +01:00
Joas Schilling 0e40457b86 Merge pull request #42847 from nextcloud/fix/42843/exception-on-their-own
exceptions on their own
2024-01-18 09:59:36 +01:00
Côme Chilliet 5ad549a72f Migrate memcached PHP module setup check to new API
Merged it with the other existing memcache setup check as it fits

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-01-18 09:40:43 +01:00
rakekniven b09fa57c16 fix(i18n): Change cli to uppercase
Like all other occurences.

Reported at Transifex.

Signed-off-by: rakekniven <2069590+rakekniven@users.noreply.github.com>
2024-01-18 09:18:05 +01:00
John Molakvoæ a9ba1fe7e1 fix(actions): move github.workspace out of compile init step
Signed-off-by: John Molakvoæ <skjnldsv@users.noreply.github.com>
2024-01-18 08:50:31 +01:00
John Molakvoæ 59d8b9efde Merge pull request #42466 from nextcloud/dependabot/github_actions/actions/setup-node-4.0.1 2024-01-18 08:38:17 +01:00
Nextcloud bot 2bb0e5c62f Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-01-18 00:19:44 +00:00
Joas Schilling 487de9a816 Merge pull request #42900 from nextcloud/chore/bump-server-dev-version
chore: bump server version to 29.0.0.4 to trigger migrations
2024-01-17 20:37:26 +01:00
Grigorii K. Shartsev d772f6991c chore: bump server version to 29.0.0.4 to trigger migrations
Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
2024-01-17 20:08:08 +01:00
Pytal e42f511412 Merge pull request #42860 from nextcloud/jr/fix/i42858
Update ContactsStore: Avoid exceptions on empties
2024-01-17 10:39:16 -08:00
Pytal efe35517f7 Merge pull request #42856 from nextcloud/fix/a11y/42688/menu-items-contrasts-are-not-enough
enh(a11y): improved contrast on user menu
2024-01-17 10:36:33 -08:00
Ferdinand Thiessen b183c792ba Merge pull request #42887 from nextcloud/fix/accessible-border-color
fix(theming): Make sure `color-border-maxcontrast` fulfills 3:1 contrast
2024-01-17 18:30:10 +01:00
Ferdinand Thiessen ef41104e3e Merge pull request #42840 from nextcloud/fix/dnd-files
fix(files): prevent dragging previews and appear as an external files DnD
2024-01-17 18:28:30 +01:00
Robin Appelman 0492e0f1d4 Revert "add key location to info:file output"
This reverts commit 7bf82fc312.
2024-01-17 17:53:37 +01:00
Robin Appelman 7bf82fc312 add key location to info:file output
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-01-17 17:47:01 +01:00
Louis Chemineau 51fa2e3b19 Improve path resolution in files_version hooks
Signed-off-by: Louis Chemineau <louis@chmn.me>
2024-01-17 17:17:51 +01:00
Johannes Merkel b454156f57 fix(CalDAV): set acls for DeletedCalendarObjectsCollection
Signed-off-by: Johannes Merkel <mail@johannesgge.de>
2024-01-17 17:08:31 +01:00
nextcloud-command cfe1215616 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-01-17 15:52:20 +00:00
John Molakvoæ 3f77b543e3 fix(files): prevent dragging previews and appear as an external files DnD
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2024-01-17 16:23:31 +01:00
Ferdinand Thiessen 18b91ba2e1 fix(theming): Make sure color-border-maxcontrast fulfills 3:1 contrast
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-01-17 15:30:39 +01:00
Côme Chilliet 5de3028f66 Merge pull request #42807 from nextcloud/enh/remove-curl-obsolete-ssl-check 2024-01-17 12:15:38 +01:00
Joas Schilling 5a493b12e3 Merge pull request #42862 from nextcloud/bugfix/noid/check-for-app-existance
fix(manifest): Check if app exists instead of accessing null as an array
2024-01-17 11:53:11 +01:00
John Molakvoæ 2ac63364fb Merge pull request #42853 from nextcloud/fix/ajax-check-public-remote 2024-01-17 10:40:48 +01:00
Christoph Wurst d0337689db Merge pull request #42607 from nextcloud/tokenAnonReq
fix(session): Avoid useless authtoken DB queries for anonymous requests
2024-01-17 10:05:57 +01:00
Joas Schilling 2fccd090b3 fix(manifest): Check if app exists instead of accessing null as an array
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-01-17 09:25:44 +01:00
Git'Fellow 72e0618f20 fix(session): Avoid two useless authtoken DB queries for every anonymous request
Co-Authored-By: Christoph Wurst <christoph@winzerhof-wurst.at>
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2024-01-17 09:17:23 +01:00
John Molakvoæ 20a0b9cbaf fix(dav): ajax request check on public remote endpoints
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2024-01-17 09:05:11 +01:00
Josh 36e0b02712 Update ContactsStore: Avoid exceptions on empties
Fixes #42858 and makes things more robust

Signed-off-by: Josh <josh.t.richards@gmail.com>
2024-01-16 23:57:58 -05:00
Nextcloud bot ad12af8d06 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-01-17 00:20:15 +00:00
Pytal 23a7f8ce3b Merge pull request #42744 from nextcloud/fix/updatenotification/42637/move-title-and-aria-label-to-interactive-element
fix(update-section): changed span to an interactive element
2024-01-16 13:11:59 -08:00
Grigorii K. Shartsev 07c0a5f317 Merge pull request #42834 from nextcloud/chore/theming--remove-warning-of-nc-checkbox-radio-switch-usage
chore(theming): fix warning of incorrect `NcCheckboxRadioSwitch` usage
2024-01-17 01:43:18 +05:00
Eduardo Morales 865b340077 chore: compile assets
Signed-off-by: Eduardo Morales <emoral435@gmail.com>
2024-01-16 13:47:30 -06:00
Eduardo Morales bdb75b2e6f enh(a11y): improved contrast on user menu
Signed-off-by: Eduardo Morales <emoral435@gmail.com>
2024-01-16 13:47:30 -06:00
Eduardo Morales a671c517b0 fix(update-section): changed span to an interactive element
Signed-off-by: Eduardo Morales <emoral435@gmail.com>
2024-01-16 12:32:12 -06:00
Arthur Schiwon dfb9cd8738 Merge pull request #42805 from nextcloud/fix/42625/unique-constrain-violation-user-status
fix(userstatus): catch unique constraint violation
2024-01-16 19:14:10 +01:00
dependabot[bot] f721e70046 Merge pull request #42748 from nextcloud/dependabot/github_actions/actions/cache-3.3.3 2024-01-16 17:16:24 +00:00
John Molakvoæ 9c1497a91f Merge pull request #42841 from nextcloud/feat/package-node-npm-engines-update 2024-01-16 18:05:03 +01:00
Grigorii K. Shartsev 9310dbab7a chore(theming): fix warning of incorrect NcCheckboxRadioSwitch usage
Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
2024-01-16 10:17:03 -06:00
Ferdinand Thiessen 7ee706ac14 Merge pull request #42837 from nextcloud/refactor/remove-legacy-sudo-login-form
refactor(core): remove `sudo-login-form` layout
2024-01-16 16:56:40 +01:00
dependabot[bot] d5fb639de1 chore(deps): Bump actions/cache from 3.3.2 to 3.3.3
Bumps [actions/cache](https://github.com/actions/cache) from 3.3.2 to 3.3.3.
- [Release notes](https://github.com/actions/cache/releases)
- [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md)
- [Commits](https://github.com/actions/cache/compare/704facf57e6136b1bc63b828d79edcd491f0ee84...e12d46a63a90f2fae62d114769bbf2a179198b5c)

---
updated-dependencies:
- dependency-name: actions/cache
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-16 16:29:31 +01:00
Joas Schilling c69be30db4 Merge pull request #42844 from nextcloud/fix/noid/default-on-unknown-config-key
AppConfig: returns default on exception
2024-01-16 16:21:57 +01:00
Côme Chilliet 0e889da4a8 Remove obsolete check of curl SSL version
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-01-16 16:14:40 +01:00
dependabot[bot] 41fa99ac46 Merge pull request #42749 from nextcloud/dependabot/github_actions/actions/upload-artifact-4.1.0 2024-01-16 15:14:35 +00:00
Côme Chilliet 64d79beb26 Merge pull request #42802 from nextcloud/enh/migrate-cron-setupcheck 2024-01-16 16:13:20 +01:00
Simon L 5aa799cdc0 Merge pull request #42720 from nextcloud/enh/42592/use-notecard
use showError in TransferOwnershipDialogue
2024-01-16 16:06:29 +01:00
Anna Larch 02d077bd49 fix(userstatus): catch unique constraint violation
Signed-off-by: Anna Larch <anna@nextcloud.com>
2024-01-16 15:38:13 +01:00
Maxence Lange db8636ac1a exceptions on their own
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2024-01-16 12:48:27 -01:00
Maxence Lange addd678682 returns default on exception
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2024-01-16 12:35:24 -01:00
Arthur Schiwon 5f0c406e42 Merge pull request #42742 from nextcloud/fix/41826-avoid_same_h1_and_h2_headings
Complete `<h1>` settings heading
2024-01-16 14:29:57 +01:00
nextcloud-command 3c54925d5f chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-01-16 13:27:48 +00:00
nextcloud-command 82d8ff83d1 Update npm and node engines versions
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-01-16 13:20:19 +00:00
Simon L 816d5299de use showError in TransferOwnershipDialogue
Signed-off-by: Simon L <szaimen@e.mail.de>
2024-01-16 14:06:24 +01:00
Grigorii K. Shartsev 5260c18b89 refactor(core): remove sudo-login-form layout
This form has never been used and existed only during the introduting the first password confirmation.
- PR 1447

Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
2024-01-16 11:32:36 +01:00
Côme Chilliet 9bdad442f8 Remove references to removed functions in tests
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-01-16 10:49:19 +01:00
Côme Chilliet b27455b922 Fix Cron setup check tests
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-01-16 10:49:19 +01:00
Côme Chilliet 46ebe16c83 Migrate Cron checks to new SetupCheck API
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-01-16 10:49:19 +01:00
Côme Chilliet 58b31a9d24 Merge pull request #42796 from nextcloud/enh/migrate-overwritecliurl-setupcheck 2024-01-16 10:47:19 +01:00
Maxence Lange fdd38b46e3 Merge pull request #41755 from nextcloud/enh/noid/lazyconfig
Lazy grouping within IAppConfig
2024-01-16 08:39:13 -01:00
John Molakvoæ 85849767f2 Merge pull request #42806 from nextcloud/bugfix/noid/only-send-subscription-key-to-our-appstore 2024-01-16 10:16:05 +01:00
Côme Chilliet 7017b3e675 Fix CheckSetupControllerTest following overwrite.cli.url migration
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-01-16 09:29:12 +01:00
julia.kirschenheuter f6ec297df6 Complete <h1> settings heading
Signed-off-by: julia.kirschenheuter <julia.kirschenheuter@nextcloud.com>
2024-01-16 09:24:22 +01:00
Côme Chilliet 0483064f07 Migrate overwrite.cli.url setup check to new API
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-01-16 09:05:40 +01:00
Côme Chilliet 80d58f0162 Merge pull request #41312 from nextcloud/feat/migrate-code-integrity-check 2024-01-16 09:04:24 +01:00
Nextcloud bot 587057b0ed Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-01-16 00:18:51 +00:00
J0WI 1cb7ccfb45 Remove disputed bz2 check
Signed-off-by: J0WI <J0WI@users.noreply.github.com>
2024-01-15 23:45:47 +00:00
Pytal 012d1c911f Merge pull request #42727 from nextcloud/fix/l10n-total-rows 2024-01-15 14:09:06 -08:00
Christopher Ng e87721594a chore: compile assets
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2024-01-15 11:28:52 -08:00
Christopher Ng fa295625ab fix(l10n): Add context note for table footers
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2024-01-15 11:26:29 -08:00
Ferdinand Thiessen 265e9060f8 Merge pull request #42436 from nextcloud/enh/add-mjs-setup-check
enh(settings): Add SetupCheck to ensure webserver correctly serves `.mjs` files
2024-01-15 18:21:42 +01:00
Arthur Schiwon 52406d53e6 Merge pull request #42781 from nextcloud/fix/user_ldap-support-group-membership-duplicate
Fix crash of login in case of duplicated group membership
2024-01-15 17:55:44 +01:00
Maxence Lange 94fe48c998 small fixes
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2024-01-15 15:45:13 -01:00
Maxence Lange 6daea857ab fixes
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
d

Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2024-01-15 15:45:13 -01:00
Maxence Lange f7d0c74b10 lazy AppConfig
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2024-01-15 15:45:13 -01:00
Arthur Schiwon e5ef58b7b9 Merge pull request #42790 from nextcloud/fix/fix-settings-appdirs-test
Fix AppDirsWithDifferentOwnerTest
2024-01-15 17:43:18 +01:00
Joas Schilling 57a30e9bbe fix(appstore): Only send subscription keys to valid appstores
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-01-15 15:39:45 +01:00
Côme Chilliet a2915d4e22 Fix tests because we added escaping to setupchecks
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-01-15 13:20:32 +01:00
Côme Chilliet c998680348 Fix tests in CheckSetupControllerTest
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-01-15 11:50:48 +01:00
Côme Chilliet 24f8b04908 Remove CSRF check from code integrity rescan
Did not find a way to get a valid token from SetupCheck

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-01-15 11:50:48 +01:00
Côme Chilliet 8766a90cff Properly escape HTML and add support for highlight links in setupchecks
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-01-15 11:50:48 +01:00
Côme Chilliet d481515081 Improve validator output in case of invalid RichObject
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-01-15 11:50:48 +01:00
Côme Chilliet 1c4d43923a Use highlight rich objecttype to render links in CodeIntegrity setup check
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-01-15 11:50:48 +01:00
Côme Chilliet f06b8da249 Migrate code integrity to SetupCheck API
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-01-15 11:50:38 +01:00
Git'Fellow 32bf74af16 Merge pull request #42768 from nextcloud/errorToWarn
(dashboard): Lower error to warning log message
2024-01-15 11:38:05 +01:00
Maxence Lange 083a9d8fb2 Merge pull request #42670 from nextcloud/enh/noid/occ-background-job-delete
occ background-job:delete
2024-01-15 09:36:36 -01:00
Julius Härtl 304196eec5 Merge pull request #42760 from nextcloud/enh/machine-translation-provider-with-id-fix
enh(OCP\Translation): Add missing ITranslationProviderWithId check
2024-01-15 10:59:53 +01:00
Côme Chilliet d1aac16a72 Fix AppDirsWithDifferentOwnerTest
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-01-15 10:32:26 +01:00
Benjamin Gaussorgues bf59b637c5 Merge pull request #42660 from nextcloud/fix/use-tz-for-share-expiration
fix(share): use user timezone to parse share expiration date
2024-01-15 09:47:32 +01:00
Côme Chilliet 658b20aef5 Fix crash of login in case of duplicated group membership
If several LDAP configurations return the same group id for a user it
 should still only appear once in the return of getUserGroups

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-01-15 09:39:59 +01:00
Git'Fellow 53ad3a58ab Lower to info
Co-authored-by: Simon L. <szaimen@e.mail.de>
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
2024-01-15 09:29:22 +01:00
Joas Schilling eda8a4169b Merge pull request #42619 from nextcloud/bugfix/noid/caldav-status-undefined-index-0
fix(dav): Fix user status "Undefined array key 0 at StatusService.php…
2024-01-15 08:53:34 +01:00
Alexander Piskun 7fdb16affc Merge pull request #42762 from nextcloud/enh/text-to-image-provider-with-userid
enh(OCP\TextToImage): Introduce IProviderWithUserId
2024-01-15 10:27:10 +03:00
Nextcloud bot c14f024fa2 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-01-15 00:18:42 +00:00
Git'Fellow d01f9e5fd5 Lower error to warning
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
2024-01-14 22:45:48 +01:00
Alexander Piskun 156013a711 introduce IProviderWithUserId
Signed-off-by: Andrey Borysenko <andrey18106x@gmail.com>
Signed-off-by: Alexander Piskun <bigcat88@icloud.com>
2024-01-14 22:44:37 +03:00
Andrey Borysenko 09ee265353 Add missing ProviderWithId check
Signed-off-by: Andrey Borysenko <andrey18106x@gmail.com>
2024-01-14 17:58:00 +02:00
Nextcloud bot eaa6d96cf7 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-01-14 00:19:29 +00:00
dependabot[bot] 6326b87319 chore(deps): Bump actions/upload-artifact from 3.1.3 to 4.1.0
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 3.1.3 to 4.1.0.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](https://github.com/actions/upload-artifact/compare/a8a3f3ad30e3422c9c7b888a15615d19a852ae32...1eb3cb2b3e0f29609092a73eb033bb759a334595)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-13 02:04:07 +00:00
Nextcloud bot 31df9c4d3c Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-01-13 00:20:23 +00:00
Julius Härtl 39dee92f80 Merge pull request #41819 from nextcloud/enh/reconnect-again 2024-01-12 20:10:19 +01:00
Ferdinand Thiessen b9e3e6f385 Merge pull request #42676 from nextcloud/enh/visible-comment-label
enh(comments): Add visual labels for editor
2024-01-12 16:01:25 +01:00
Ferdinand Thiessen e24f35daf8 chore: Compile assets
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-01-12 15:05:09 +01:00
Ferdinand Thiessen cc59a4dfea enh(comments): Add always visible labels for comment input
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-01-12 14:39:35 +01:00
Julius Härtl 296096e069 fix: Add reconnect check in case of timeouts on the db side
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2024-01-12 14:38:01 +01:00
Julius Härtl cc75294eb6 perf: Avoid updating the folder size if we know the size difference
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2024-01-12 14:21:08 +01:00
Julius Härtl 48628b9069 Merge pull request #42345 from nextcloud/enh/read-replica-followup
feat: Track dirty table writes and long transactions
2024-01-12 12:11:43 +01:00
Nextcloud bot 32a377eaba Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-01-12 11:00:35 +00:00
Nextcloud bot d54c5c8a82 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-01-12 10:40:03 +00:00
Julius Härtl c17c42a0b2 feat: First attempt to track dirty tables after writes and switch back to replicas if reads go to other tables
Signed-off-by: Julius Härtl <jus@bitgrid.net>

debug: error log

Signed-off-by: Julius Härtl <jus@bitgrid.net>
2024-01-12 11:02:50 +01:00
Julius Härtl 3e60092b7d feat: Add logging for transaction time
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2024-01-12 11:02:50 +01:00
John Molakvoæ 239213abfe Merge pull request #42598 from nextcloud/fix/error-files-message 2024-01-12 10:34:26 +01:00
John Molakvoæ e181fad68b chore(assets): Recompile assets
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2024-01-12 10:11:29 +01:00
John Molakvoæ 90d50323d8 fix(files): use backend error message if provided
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2024-01-12 10:10:27 +01:00
John Molakvoæ 3463ed538c Merge pull request #42723 from nextcloud/fix/quota-set-users-mgmt 2024-01-12 09:23:02 +01:00
John Molakvoæ e2a828c1bb chore(assets): Recompile assets
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2024-01-12 08:43:43 +01:00
John Molakvoæ 0a34cf846f fix(settings): set default or unlimited user quota
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2024-01-12 08:42:48 +01:00
John Molakvoæ a7f2d6877c Merge pull request #42716 from nextcloud/fix/summary-files 2024-01-12 08:42:29 +01:00
John Molakvoæ fb8b42f630 chore(assets): Recompile assets
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2024-01-12 08:42:12 +01:00
John Molakvoæ 14da405f92 fix(files): use getSummaryFor for better files summary translations
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2024-01-12 08:39:45 +01:00
Nextcloud bot 0a42b076d2 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-01-12 00:19:41 +00:00
Maxence Lange bd3df759fb occ background-job:delete
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2024-01-11 23:17:57 -01:00
Grigorii K. Shartsev 2560f6e8a3 Merge pull request #42718 from nextcloud/fix/42717-Remove_unneeded_role=radiogroup_from_Predefined_statuses
Remove unneeded role="radiogroup" from "Predefined statuses"
2024-01-12 04:22:57 +05:00
Simon L cbc9452f3e Merge pull request #42712 from nextcloud/enh/42620/header-menues
fix header-elements being not shown correctly
2024-01-11 23:14:17 +01:00
nextcloud-command 10547706eb chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-01-11 21:53:34 +00:00
Simon L a96a7f0c82 fix header-elements being not shown correctly
Signed-off-by: Simon L <szaimen@e.mail.de>
2024-01-11 22:36:20 +01:00
Julius Härtl 2df26608ef Merge pull request #42649 from nextcloud/enh/machine-translation-provider-with-id 2024-01-11 21:50:50 +01:00
Maxence Lange 2d0991e3e7 Merge pull request #42667 from nextcloud/fix/42489/fix-cycle-on-same-user
better users cycle
2024-01-11 17:52:05 -01:00
Côme Chilliet f789732922 Merge pull request #42640 from nextcloud/fix/fix-authentication-exceptions-2
Always catch OCP versions of authentication exceptions
2024-01-11 18:51:43 +01:00
Simon L 07749e6a29 Merge pull request #42700 from nextcloud/enh/42642/fix-development-notice-styling
fix styling of development-notice
2024-01-11 18:22:16 +01:00
Simon L 53817cb779 Merge pull request #42709 from nextcloud/enh/42694/put-li-into-ul
`SharingEntrySimple` needs `ul` or `ol` around it
2024-01-11 18:21:39 +01:00
Christoph Wurst f6d850ece8 Merge pull request #42713 from nextcloud/fix/a11y/aria-hide-contacts-menu-images
fix(a11y): Aria-hide contacts menu icon images
2024-01-11 17:40:07 +01:00
nextcloud-command a6863cebc1 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-01-11 10:19:18 -06:00
Simon L cf1726723a fix styling of development-notice
Signed-off-by: Simon L <szaimen@e.mail.de>
2024-01-11 10:19:18 -06:00
Côme Chilliet d8e625f208 Merge pull request #42585 from nextcloud/enh/add-rich-object-support-to-setupchecks
Add RichObject support for SetupCheck descriptions
2024-01-11 17:15:14 +01:00
Maxence Lange c26110cbec better users cycle
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2024-01-11 15:46:48 +00:00
julia.kirschenheuter 69a47aee44 Remove unneeded role="radiogroup" from "Predefined statuses"
Signed-off-by: julia.kirschenheuter <julia.kirschenheuter@nextcloud.com>
2024-01-11 16:32:31 +01:00
John Molakvoæ 10b9b20da5 Merge pull request #42382 from nextcloud/feature/filelist_refresh_current_folder_on_update 2024-01-11 16:19:47 +01:00
Raul Ferreira cf415bfe70 Include unsubscribe from file changed event
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
Signed-off-by: Raul Ferreira <r.ferreira.fuentes@gmail.com>
2024-01-11 15:56:25 +01:00
Côme Chilliet a526a382bf Import OCP IToken as OCPIToken to avoid a name clash in lib/private
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-01-11 15:45:14 +01:00
nextcloud-command 9687f8d8c9 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-01-11 14:43:17 +00:00
Raul Ferreira Fuentes a977247ae3 Update apps/files/src/views/FilesList.vue
Co-authored-by: John Molakvoæ <skjnldsv@users.noreply.github.com>
Signed-off-by: Raul Ferreira Fuentes <Raudius@users.noreply.github.com>
2024-01-11 15:41:39 +01:00
Raul Ferreira ef2db702f7 Refresh FileList on current folder update
Signed-off-by: Raul Ferreira <r.ferreira.fuentes@gmail.com>
2024-01-11 15:39:26 +01:00
Simon L 29c936d8a6 Merge pull request #42698 from nextcloud/enh/42595/webauthn-ncnotecard
update webauthn section to feature components
2024-01-11 15:20:02 +01:00
Christoph Wurst 5198c1ce2b fix(a11y): Aria-hide contacts menu icon images
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2024-01-11 15:15:31 +01:00
Simon L 420b3d085e sharing-entry__reshare needs ul or ol around it
Signed-off-by: Simon L <szaimen@e.mail.de>
2024-01-11 15:10:11 +01:00
Côme Chilliet d128b4a04b Merge pull request #42177 from nextcloud/feat/migrate-imagick-setupcheck 2024-01-11 14:36:32 +01:00
Côme Chilliet e884ffd4c8 Use match statement in richToParsed implementation
Co-authored-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-01-11 14:03:55 +01:00
Côme Chilliet 6fc224dfce Document new throw possibility in SetupResult
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-01-11 14:03:55 +01:00
Côme Chilliet 9e4eb34a46 Add TODO for richToParsed refactor
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-01-11 14:03:55 +01:00
Côme Chilliet 7274a8d781 Fix UI for rich object in setupcheck results
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-01-11 14:03:55 +01:00
Côme Chilliet ee0175e7d4 Fix psalm issue in SetupChecks command
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-01-11 14:03:55 +01:00
Côme Chilliet a78abd84ce Validate rich objects passed to SetupResult
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-01-11 14:03:55 +01:00
Côme Chilliet f34865eb4e Add RichObject support for SetupChecks descriptions
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-01-11 14:03:55 +01:00
Côme Chilliet 37a6e15f87 Use OCP version of IToken in AppPasswordCreatedEvent
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-01-11 14:02:15 +01:00
Côme Chilliet 8fc39aeb1c Use IToken from OCP instead of OC
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-01-11 14:02:15 +01:00
Côme Chilliet 95ea6188dc Suppress or fix psalm errors related to InvalidTokenException
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-01-11 14:02:15 +01:00
Côme Chilliet eee9f1eec4 Always catch OCP versions of authentication exceptions
And always throw OC versions for BC

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-01-11 14:02:15 +01:00
Marcel Klehr 477630ed78 Merge branch 'master' into enh/machine-translation-provider-with-id 2024-01-11 13:27:13 +01:00
nextcloud-command e2a20ac56a chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-01-11 12:26:37 +00:00
Simon L 541f25a154 update webauthn section to feature components
Signed-off-by: Simon L <szaimen@e.mail.de>
2024-01-11 12:55:57 +01:00
Simon L 67fba0a574 Merge pull request #42705 from nextcloud/bugfix/noid/green-openapi-ci
fix(openapi): Make OpenAPI CI green again
2024-01-11 12:55:36 +01:00
Joas Schilling cfd1cc54c1 Merge pull request #42658 from nextcloud/bugfix/42530/mark-more-configs-as-sensitive
fix(systemreport): Mark more configs as sensitive
2024-01-11 12:33:45 +01:00
Joas Schilling 0b591916d6 fix(openapi): Make OpenAPI CI green again
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-01-11 12:29:19 +01:00
Louis 14180c576f Merge pull request #42680 from nextcloud/artonge/fix/view_only_error_message
Improve view only error message
2024-01-11 12:12:47 +01:00
Julius Härtl f8625cfe60 Merge pull request #42679 from nextcloud/fix/chunked-quota
fix(quota): automatically detect chunk quota with `OC-Total-Length` header
2024-01-11 12:01:20 +01:00
John Molakvoæ 733176e2eb Merge pull request #42584 from nextcloud/fix/files-sharing-various 2024-01-11 11:59:19 +01:00
John Molakvoæ 15ef58b11b chore(assets): Recompile assets
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2024-01-11 11:59:02 +01:00
John Molakvoæ 365bb7ded0 chore(deps): bump @nextcloud/files to 3.1.0
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2024-01-11 11:57:49 +01:00
John Molakvoæ 9553718acf fix(files): group duplicate shares
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2024-01-11 11:57:49 +01:00
John Molakvoæ 32071942de fix(files): fix unshare action
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2024-01-11 11:57:48 +01:00
Côme Chilliet d1f2add10c Migrate PHP imagick module check to new SetupCheck API
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-01-11 11:28:59 +01:00
Simon L 744720b443 Merge pull request #42402 from nextcloud/Jerome-Herbinet-remove-full-name-ellipsis-in-user-menu
Remove display name ellipsis in user menu
2024-01-11 10:29:09 +01:00
nextcloud-command aaa7caf896 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-01-11 08:35:15 +00:00
Marcel Klehr a6513336b4 fix(autoloaders)
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2024-01-11 09:32:30 +01:00
Jérôme Herbinet 02e2c69bc4 Update UserMenu.vue
Signed-off-by: Jérôme Herbinet <33763786+Jerome-Herbinet@users.noreply.github.com>

Update UserMenu.vue

Signed-off-by: Jérôme Herbinet <33763786+Jerome-Herbinet@users.noreply.github.com>

npm run build

Signed-off-by: Jérôme Herbinet <33763786+Jerome-Herbinet@users.noreply.github.com>

Revert with a higher max-width value

Signed-off-by: Jérôme Herbinet <33763786+Jerome-Herbinet@users.noreply.github.com>
2024-01-11 09:19:06 +01:00
Julius Härtl bde0608dc3 Merge pull request #42533 from nextcloud/fix/weather_status/forecast-format
fix(weather_status): Fix forecast format in OpenAPI
2024-01-11 09:09:59 +01:00
Nextcloud bot 55398e4528 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-01-11 00:19:02 +00:00
Eduardo Morales f0a4aa9b06 Merge pull request #42690 from nextcloud/fix/core/42593/replace-transfer-button-with-NcVue-Button
fix(files): switched native input to NcButton
2024-01-10 13:14:26 -06:00
Eduardo Morales 5e6f6b2633 Merge pull request #42668 from nextcloud/enh/refactor-profile
enh(profile): Refactor code to use vue components and styles where possible
2024-01-10 12:50:26 -06:00
Eduardo Morales 2f94cca9e1 chore(core): compile assets
Signed-off-by: Eduardo Morales <emoral435@gmail.com>
2024-01-10 12:29:34 -06:00
Eduardo Morales 8f77f70b71 fix(files): switched native input to NcButton
Signed-off-by: Eduardo Morales <emoral435@gmail.com>
2024-01-10 12:29:34 -06:00
Grigorii K. Shartsev 72786e9b81 Merge pull request #41972 from nextcloud/fix/41834/files--a11y-actions-on-selected
fix(files): move actions for selected file out from table header
2024-01-10 22:49:54 +05:00
Ferdinand Thiessen e1cd0f30ec chore: Compile assets
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-01-10 11:22:27 -06:00
Ferdinand Thiessen 949e09ccb7 enh(core): Refactor profile page to use vue components
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-01-10 11:22:27 -06:00
Grigorii K. Shartsev 0f96a985c8 chore(assets): Recompile assets
Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
2024-01-10 17:57:06 +01:00
Grigorii K. Shartsev ad4923ebd6 refactor(files): remove merged to @nextcloud/vue changes
Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
2024-01-10 17:52:25 +01:00
Grigorii K. Shartsev b1a9017f5f fix(files): move header actions out from the table
Having actions in the table header is no valid for a11y and counts as a column name.

Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
2024-01-10 17:52:24 +01:00
Louis Chemineau 25274f92b7 Improve view only error message
Signed-off-by: Louis Chemineau <louis@chmn.me>
2024-01-10 17:04:26 +01:00
Joas Schilling b2aa27f3e3 Merge pull request #42681 from nextcloud/bugfix/noid/fix-cron.php
fix(cron): Fix "Using $this when not in object context"
2024-01-10 16:42:49 +01:00
Marcel Klehr 970eb692d1 fix(coding style)
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2024-01-10 16:15:06 +01:00
Marcel Klehr 1db8888f99 enh(OCP\Translation): Introduce ITranslationProviderWithUserId
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2024-01-10 16:00:24 +01:00
Joas Schilling eeb0007cd3 fix(cron): Fix "Using $this when not in object context"
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-01-10 15:51:22 +01:00
Robin Appelman 62506a4e8d Merge pull request #42558 from nextcloud/trash-mtime-deletion-time
use deletion time instead of mtime in trashbin handling
2024-01-10 14:28:09 +01:00
Marcel Klehr 4bfa3d34fc enh(OCP\Translation): Make ITranslationProviderWithId extend ITranslationProvider
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2024-01-10 14:08:03 +01:00
John Molakvoæ 9703b1da41 fix(quota): automatically detect chunk quota with OC-Total-Length header
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2024-01-10 13:26:25 +01:00
Ferdinand Thiessen c5fbd969dd Update apps/settings/lib/SetupChecks/JavaScriptModules.php
Co-authored-by: Côme Chilliet <91878298+come-nc@users.noreply.github.com>
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-01-10 11:58:51 +01:00
Ferdinand Thiessen 995b23e818 enh(settings): Add SetupCheck to ensure webserver correctly serves .mjs files
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-01-10 11:58:51 +01:00
Marcel Klehr c148f84ff7 Rebuild autoloaders
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2024-01-10 11:16:14 +01:00
Marcel Klehr 1fd0c2979e enh(OCP\Translation): Add ITranslationProviderWithId
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2024-01-10 11:16:14 +01:00
Kate 50aeae6a85 Merge pull request #42527 from nextcloud/feat/user_status/online-status-type 2024-01-10 09:57:46 +01:00
Joas Schilling c4d233a892 Merge pull request #42377 from nextcloud/fix/text-to-image-manager
Fix(text2image): Return providers as indexed array
2024-01-10 09:28:45 +01:00
Joas Schilling 2c815256f2 Merge pull request #42590 from nextcloud/add-settings-section-type-attribute
Add settings section type attribute on settings app-content section
2024-01-10 09:23:26 +01:00
Joas Schilling 02f9d79ad6 Merge pull request #42488 from nextcloud/fix/issue-42476-occ-update
fix(Update): Handle upstream exception scenario cleanly
2024-01-10 09:21:46 +01:00
Joas Schilling e981619c01 fix(dav): Fix user status "Undefined array key 0 at StatusService.php#98"
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-01-10 09:18:08 +01:00
Joas Schilling 73b14a28f2 Merge pull request #42563 from nextcloud/updateCrl
Update crl after revoke integration_homeassistant.csr
2024-01-10 09:15:56 +01:00
Joas Schilling 7981a4bc82 Merge pull request #42391 from nextcloud/bugfix/noid/warn-on-excessive-memory-consumption-in-background-jobs
feat(cron): Warn on excessive memory consumption in background jobs
2024-01-10 09:15:14 +01:00
Kate ee710d1010 Merge pull request #42532 from nextcloud/fix/user_status/custom-message-icon-only 2024-01-10 09:11:26 +01:00
provokateurin b7ce6d3b53 fix(weather_status): Fix forecast format in OpenAPI
Signed-off-by: provokateurin <kate@provokateurin.de>
2024-01-10 09:10:08 +01:00
provokateurin cbc27d3ca7 feat(user_status): Add online status type for OpenAPI
Signed-off-by: provokateurin <kate@provokateurin.de>
2024-01-10 09:03:29 +01:00
dependabot[bot] 379d323801 Merge pull request #42672 from nextcloud/dependabot/npm_and_yarn/follow-redirects-1.15.4 2024-01-10 06:36:51 +00:00
Joas Schilling 4e8e598662 Merge branch 'master' into bugfix/42530/mark-more-configs-as-sensitive 2024-01-10 07:21:30 +01:00
dependabot[bot] bdb8293730 chore(deps): Bump follow-redirects from 1.15.3 to 1.15.4
Bumps [follow-redirects](https://github.com/follow-redirects/follow-redirects) from 1.15.3 to 1.15.4.
- [Release notes](https://github.com/follow-redirects/follow-redirects/releases)
- [Commits](https://github.com/follow-redirects/follow-redirects/compare/v1.15.3...v1.15.4)

---
updated-dependencies:
- dependency-name: follow-redirects
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-10 06:12:02 +00:00
Joas Schilling 5203d7720f Merge pull request #42666 from nextcloud/chore/deps/update-openapi-extractor
chore(deps): Update openapi-extractor
2024-01-10 07:11:01 +01:00
Nextcloud bot 77b783a9cb Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-01-10 00:20:28 +00:00
Ferdinand Thiessen 6daa77b93f Merge pull request #42636 from nextcloud/fix/core/42596/fix-button-accessibility-in-view-profile-page
enh(core): replaced previous native a element with NcButton
2024-01-09 19:43:58 +01:00
provokateurin 1c157647d9 chore(deps): Update openapi-extractor
Signed-off-by: provokateurin <kate@provokateurin.de>
2024-01-09 18:12:57 +01:00
Eduardo Morales 707c1c0b0b enh(core): replaced previous native a element with NcButton
Signed-off-by: Eduardo Morales <emoral435@gmail.com>
2024-01-09 10:33:00 -06:00
Benjamin Gaussorgues cc3a2c351a fix(share): use user timezone to parse share expiration date
If an user in UTC+1 try to create a share at 00:00, it's day D for him, but
D-1 for the server (UTC).
This fix aims to apply the correct offset

Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
2024-01-09 17:28:11 +01:00
Côme Chilliet d72db91785 Merge pull request #42633 from nextcloud/artonge/fix/drone_after_slow_logout 2024-01-09 17:25:07 +01:00
Joas Schilling 2ee5c7a8f9 fix(tests): Fix remaining tests
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-01-09 15:58:02 +01:00
Eduardo Morales 537ae25ead Merge pull request #42643 from nextcloud/fix/core/42565/focus-for-user-menu-is-not-accessible
fix(core): enhanced contrast when UserMenuItem is focused
2024-01-09 08:54:27 -06:00
Eduardo Morales d0d5013114 fix(core): enhanced contrast when UserMenuItem is focused
Signed-off-by: Eduardo Morales <emoral435@gmail.com>
2024-01-09 08:17:43 -06:00
Côme Chilliet 012dcbbccc Merge pull request #42176 from nextcloud/feat/migrate-appdirowner-setupcheck
Migrate app dir owner check to new SetupCheck API
2024-01-09 14:41:12 +01:00
Joas Schilling 6294f0f4bc fix(systemreport): Mark more configs as sensitive
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-01-09 13:08:27 +01:00
John Molakvoæ dc2066bc26 Merge pull request #32400 from nextcloud/feat/public-dav-v2 2024-01-09 12:13:34 +01:00
John Molakvoæ 9e4c9b97dd fix(psalm): update baseline and suppress unnecessary issues
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2024-01-09 11:08:46 +01:00
John Molakvoæ 18399fc1cf fix: improve typing and use \OCP\Server::get
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2024-01-09 10:56:34 +01:00
John Molakvoæ 82b5a19a35 fix: public dav and files_sharing testing fixes
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2024-01-09 10:56:14 +01:00
John Molakvoæ 7b6a650b6e feat: public dav endpoint v2
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2024-01-09 10:56:06 +01:00
Marcel Klehr 997f6c33cd fix(psalm issues)
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2024-01-09 10:11:39 +01:00
Côme Chilliet d2dbe1c50c Migrate tests for AppDirsWithDifferentOwner setup check
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-01-09 09:52:13 +01:00
Nextcloud bot fdc64ea2f5 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-01-09 00:20:07 +00:00
Louis 1e3d1397c0 Merge pull request #42634 from nextcloud/artonge/feat/include_grid_view_toggle_in_accessibility_switch
Include grid view toggle in accessibility switch
2024-01-08 23:35:55 +01:00
nextcloud-command da55c96cc8 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-01-08 22:19:00 +00:00
Louis Chemineau d6cd3a6b49 Include grid view toggle in accessibility switch
Signed-off-by: Louis Chemineau <louis@chmn.me>
2024-01-08 23:15:38 +01:00
Louis Chemineau db11313152 Fix tests after slow logout fix
Signed-off-by: Louis Chemineau <louis@chmn.me>
2024-01-08 19:09:48 +01:00
Côme Chilliet 3d4c4f19b4 Migrate app dir owner check to SetupCheck API
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-01-08 17:37:14 +01:00
Côme Chilliet adfe883102 Merge pull request #41547 from nextcloud/feat/migrate-opcache-check-to-new-api
Migrate opcache check to new SetupCheck API
2024-01-08 17:35:11 +01:00
Côme Chilliet 94d0399229 Improve PHP opcache setup check and reduce level in some cases
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-01-08 16:03:53 +01:00
Côme Chilliet c92fbca6e6 Fix small psalm issue
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-01-08 15:09:09 +01:00
Côme Chilliet f6df5dae34 Remove unsupported <code> tag and use quotes instead
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-01-08 15:09:09 +01:00
Côme Chilliet 989b5ffbab Remove unused properties from CheckSetupControllerTest
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-01-08 15:09:09 +01:00
Côme Chilliet 3f13a1a47e Migrate opcache check to new SetupCheck API
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-01-08 15:09:09 +01:00
Maxence Lange dd8297553c Merge pull request #42560 from nextcloud/fix/42308/logs-more
debug logs on huge metadata
2024-01-08 11:45:54 -01:00
Louis d2f2ee2b20 Merge pull request #42544 from HLFH/fix-chrome-logout
Fix Slow logout on Chrome-like browsers
2024-01-08 10:49:49 +01:00
Nextcloud bot ab2bb2be61 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-01-08 00:21:59 +00:00
Richard Steinmetz 0328cae44e Merge pull request #42602 from nextcloud/enh/calendar/update-nc-calendendar-to-2.0.1
chore(package): bumped nc-calendar to 2.0.1
2024-01-07 16:24:25 +01:00
Nextcloud bot 0488e2a183 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-01-07 00:20:19 +00:00
Simon L 9416778ed2 Merge pull request #42428 from nextcloud/fix/external-js
fix(files_external): add back js config files
2024-01-06 10:38:00 +01:00
John Molakvoæ 74b4b4ef64 fix(files_external): add back js config files
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2024-01-06 10:25:19 +01:00
Pytal 2e10c94310 Merge pull request #42566 from nextcloud/fix/files-download-default-action
fix(files): Fix unresponsive file click to download
2024-01-05 17:27:25 -08:00
Christopher Ng 5267d62f4b chore: compile assets
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2024-01-05 16:49:18 -08:00
Christopher Ng 5e7ba125f0 fix(files): Fix unresponsive file click to download
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2024-01-05 16:46:39 -08:00
Nextcloud bot 568a997a68 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-01-06 00:20:08 +00:00
Eduardo Morales 2e8787462d Merge pull request #42507 from nextcloud/fix/files/42460/breadcrumb-conditional-rendering
Fix/files/42460/breadcrumb conditional rendering
2024-01-05 11:31:57 -06:00
Eduardo Morales 2554419805 fix(files): kept only first and last breadcrumb titles
Signed-off-by: Eduardo Morales <emoral435@gmail.com>
2024-01-05 11:09:59 -06:00
Eduardo Morales e7afecb448 chore(package): bumped nc-calendar to 2.0.1
Signed-off-by: Eduardo Morales <emoral435@gmail.com>
2024-01-05 10:52:55 -06:00
Julia Kirschenheuter ac10ea4bc2 Merge pull request #42559 from nextcloud/fix/41699-change_styles_for_focused_items_in_sidebar
Remove unneeded styles: everything is handled by NcVue
2024-01-05 17:13:56 +01:00
Julia Kirschenheuter fdb4e771f3 Merge pull request #42586 from nextcloud/fix/41860-fix-svgs-for-social-media-links
Fix SVG's for social media links
2024-01-05 12:50:43 +01:00
John Molakvoæ 24952b98d9 Merge pull request #41044 from nextcloud/enh/noid/blurhash 2024-01-05 12:29:22 +01:00
Maxence Lange 4367a5e633 blurhash generation
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2024-01-05 11:50:51 +01:00
julia.kirschenheuter eed681796d Fix SVG's for social media links
Signed-off-by: julia.kirschenheuter <julia.kirschenheuter@nextcloud.com>
2024-01-05 11:01:47 +01:00
Thomas Citharel 0d39079c99 fix(settings): check if activeSectionId and activeSectionType are defined before using them
Closes #41513

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2024-01-05 10:06:28 +01:00
Thomas Citharel c75fbf8a83 Add data-active-section-type attribute to app-content settings section
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2024-01-05 09:58:46 +01:00
Gaspard d'Hautefeuille 08ff644f3c Keep https check
https://github.com/nextcloud/server/issues/41196 + keep https check

Co-authored-by: Louis <louis@chmn.me>
Signed-off-by: Gaspard d'Hautefeuille <github@dhautefeuille.eu>
2024-01-05 04:20:26 +01:00
Gaspard d'Hautefeuille 85911cbab2 Cancel PR #37405, remove regression code
Signed-off-by: Gaspard d'Hautefeuille <github@dhautefeuille.eu>
2024-01-05 04:20:26 +01:00
Nextcloud bot 7502c19ddd Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-01-05 00:22:07 +00:00
Maxence Lange e5bee95f05 debug logs on huge metadata
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2024-01-04 21:51:56 -01:00
Eduardo Morales 7c3936b6f8 Merge pull request #42513 from nextcloud/enh/files/42508/enhance-breadcrumb-component
enh(files): made breadcrumb component lang=ts
2024-01-04 10:31:45 -06:00
Eduardo Morales e7129bb0f5 enh(files): made breadcrumb component lang=ts
Signed-off-by: Eduardo Morales <emoral435@gmail.com>
2024-01-04 10:17:55 -06:00
Maxence Lange 2d327fc813 Merge pull request #42578 from nextcloud/fix/tests/notification-test
initialize variables
2024-01-04 13:42:22 -01:00
Côme Chilliet 2ab852e04f Merge pull request #42576 from nextcloud/fix/fix-ldap-upgrade-on-duplicate-membership
Fix upgrade of user_ldap when oc_group_members contains duplicated uids
2024-01-04 14:17:51 +01:00
Maxence Lange 71bdda42e4 initialize variables
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2024-01-04 10:59:22 -01:00
Côme Chilliet 6d0f0fc01b Fix upgrade of user_ldap when oc_group_members contains duplicated uids
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2024-01-04 11:51:33 +01:00
Julia Kirschenheuter 11124c72e6 Merge pull request #42570 from nextcloud/enh/settings/42440/preview-card-settings-now-satisfy-contrast-ratio
enh(settings): removed background-gradient to ensure contrast ratio a11y requirements
2024-01-04 09:28:34 +01:00
Nextcloud bot 6690eebff4 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-01-04 00:19:57 +00:00
Eduardo Morales e5767898c7 enh(settings): removed background-gradient to ensure contrast ratio a11y requirements
Signed-off-by: Eduardo Morales <emoral435@gmail.com>
2024-01-03 15:54:08 -06:00
Matthieu Gallien f70a30b7a7 Update crl after revoke integration_homeassistant.csr
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2024-01-03 17:28:38 +00:00
julia.kirschenheuter 024d29138c Remove unneeded styles: everything is handled by NcVue
Signed-off-by: julia.kirschenheuter <julia.kirschenheuter@nextcloud.com>
2024-01-03 16:25:41 +01:00
Louis a64df1908b Merge pull request #39174 from shdehnavi/refactor_lib_private_notification
refactor lib/private/Notification
2024-01-03 15:54:24 +01:00
Robin Appelman 60dfe31d5d use deletion time instead of mtime in trashbin handling
Signed-off-by: Robin Appelman <robin@icewind.nl>
2024-01-03 14:41:58 +01:00
John Molakvoæ 29e6f062d5 Merge pull request #42500 from nextcloud/fix/files-menu-mouse-open 2024-01-03 09:16:41 +01:00
nextcloud-command b97aa9e5fa chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2024-01-03 08:04:48 +00:00
John Molakvoæ dd0fb2e76b fix(files): open menu on right click position
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2024-01-03 08:35:07 +01:00
Hamid Dehnavi 799928c63d Merge branch 'master' into refactor_lib_private_notification 2024-01-03 10:22:40 +03:30
Nextcloud bot 89ee85938e Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-01-03 00:20:07 +00:00
Grigorii K. Shartsev 22188979f3 Merge pull request #42443 from nextcloud/fix/41876/files--focus-file-name-on-new-folder-rename
fix(files): focus file name on renaming also initially
2024-01-02 21:55:37 +05:00
Grigorii K. Shartsev b6a9387b38 chore(assets): Recompile assets
Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
2024-01-02 17:31:01 +01:00
Grigorii K. Shartsev d682aa25be fix(files): focus file name on renaming also initially
When new folder is created, new file entry is initially in renaming mode.

Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
2024-01-02 17:25:14 +01:00
Hamid Dehnavi 82a503a50a Make adjustments based on the review
Co-authored-by: Louis Chemineau <louis@chmn.me>
Signed-off-by: Hamid Dehnavi <hamid.dev.pro@gmail.com>
2024-01-02 16:54:54 +01:00
Hamid Dehnavi 32ee6f7d04 Add adjustments based on the review
Signed-off-by: Hamid Dehnavi <hamid.dev.pro@gmail.com>
2024-01-02 16:54:54 +01:00
Hamid Dehnavi 0ac1480be2 refactor lib/private/Notification
Signed-off-by: Hamid Dehnavi <hamid.dev.pro@gmail.com>
2024-01-02 16:54:54 +01:00
Julia Kirschenheuter 7ac903106f Merge pull request #42499 from nextcloud/bump-nc-vue-to-8.4.0
Update Nc Vue to 8.4.0
2024-01-02 11:42:40 +01:00
julia.kirschenheuter 6dc5ae32b3 Update Nc Vue to 8.4.0
Signed-off-by: julia.kirschenheuter <julia.kirschenheuter@nextcloud.com>
2024-01-02 10:53:48 +01:00
Nextcloud bot 982fc73c3e Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-01-02 00:19:09 +00:00
Git'Fellow 41196954ed Merge pull request #42538 from nextcloud/fix/log-rotate-log-level
Fix log rotation notification level (warning->info)
2024-01-01 10:14:32 +01:00
Josh Richards 7a212b1f38 Fix log rotation notification level (warning->info)
Fixes #42537 

Signed-off-by: Josh Richards <josh.t.richards@gmail.com>
2023-12-31 20:26:39 -05:00
Nextcloud bot a01121b01d Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2024-01-01 00:20:01 +00:00
Nextcloud bot 5b0b535260 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-12-31 00:20:16 +00:00
provokateurin b8fecdb470 fix(user_status): Allow setting custom message with icon only
Signed-off-by: provokateurin <kate@provokateurin.de>
2023-12-30 14:45:35 +01:00
Nextcloud bot c9611c0f5d Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-12-30 00:22:10 +00:00
John Molakvoæ 86575c96e3 Merge pull request #42427 from nextcloud/fix/issue-42418 2023-12-29 14:40:34 +01:00
Julius Härtl 6a63974bf5 Merge pull request #26540 from nextcloud/bugfix/noid/sqlite-datetime
Cast datetime columns in sqlite before comparing
2023-12-29 11:52:32 +01:00
Julius Härtl 77cec80feb Merge pull request #41914 from nextcloud/s3-copy-size-limit
only do a multipart s3 copy when above the regular copy limit
2023-12-29 11:28:54 +01:00
Julius Härtl e50cb0a30f tests(DB): Add test for date time comparisons in query builder
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2023-12-29 10:36:59 +01:00
Julius Härtl 86dc766276 Cast datetime columns in sqlite before comparing
Move the logic to prepare a column to the parent ExpressionBuilder so
that it can be reused for OCI and sqlite

Signed-off-by: Julius Härtl <jus@bitgrid.net>
2023-12-29 10:36:59 +01:00
Alexander Piskun cdc2723d97 Merge pull request #42479 from nextcloud/appapi-twofactor
AppAPI: allow to bypass Two-Factor
2023-12-29 11:29:29 +03:00
Nextcloud bot b15b12d5ec Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-12-29 00:19:58 +00:00
Alexander Piskun 26d343d33a AppAPI: allowed to bypass Two-Factor
Signed-off-by: Alexander Piskun <bigcat88@icloud.com>
2023-12-28 20:59:02 +03:00
Julius Härtl e4054370b1 fix(s3): Add config option to disable multipart copy for certain s3 providers
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2023-12-28 15:31:38 +01:00
Robin Appelman 1043c21b35 only do a multipart s3 copy when above the regular copy limit
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-12-28 15:31:37 +01:00
Julius Härtl 7812a02998 Merge pull request #42504 from nextcloud/bugfix/setup-primary
fix: Avoid using replicas during setup
2023-12-28 12:47:48 +01:00
Julius Härtl 81b089cf30 fix: Avoid using replicas during setup
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2023-12-28 11:51:35 +01:00
Nextcloud bot 2362a967d6 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-12-28 00:20:20 +00:00
Daniel b9b0ca6dea Merge pull request #41998 from nextcloud/enh/read-replica 2023-12-27 21:57:30 +01:00
John Molakvoæ 1fbfc4fc3e Merge pull request #42457 from nextcloud/bugfix/noid/ctrl-click 2023-12-27 10:57:16 +01:00
nextcloud-command 8bbe06ab47 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-12-27 09:44:47 +00:00
Julius Härtl 2c7f63276e fix(files): Allow Ctrl/Command click on file entries to open in a new tab
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2023-12-27 10:15:42 +01:00
Eduardo Morales fc7e643eb4 Merge pull request #42438 from nextcloud/fix/make-high-contrast-theme-really-high-contrast
fix(theming): Adjust high contrast theme to fulfill WCAG AAA text contrast
2023-12-27 03:09:21 -06:00
Nextcloud bot 65eab30123 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-12-27 00:20:16 +00:00
Josh Richards b3e5c14a6c fix(Update): Handle upstream exception scenario cleanly
Fixes #42476

Signed-off-by: Josh Richards <josh.t.richards@gmail.com>
2023-12-26 15:40:16 -05:00
John Molakvoæ 5125c34f01 Merge pull request #42452 from nextcloud/feat/files-actionf-silent-error 2023-12-26 09:49:24 +01:00
John Molakvoæ e407fb6563 fix(files): allow silent batch actions errors
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-12-26 08:48:07 +01:00
Nextcloud bot 821800941b Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-12-26 00:20:46 +00:00
Nextcloud bot 17cb5dadcd Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-12-25 00:20:26 +00:00
Nextcloud bot b550d1c31a Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-12-24 00:20:37 +00:00
dependabot[bot] 6d557569f6 Merge pull request #42467 from nextcloud/dependabot/npm_and_yarn/testing-library/jest-dom-6.1.5 2023-12-23 03:38:44 +00:00
dependabot[bot] 6ba7c5df92 chore(deps-dev): Bump @testing-library/jest-dom from 6.1.4 to 6.1.5
Bumps [@testing-library/jest-dom](https://github.com/testing-library/jest-dom) from 6.1.4 to 6.1.5.
- [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.1.4...v6.1.5)

---
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>
2023-12-23 02:43:47 +00:00
dependabot[bot] 1a303663dd chore(deps): Bump actions/setup-node from 4.0.0 to 4.0.1
Bumps [actions/setup-node](https://github.com/actions/setup-node) from 4.0.0 to 4.0.1.
- [Release notes](https://github.com/actions/setup-node/releases)
- [Commits](https://github.com/actions/setup-node/compare/8f152de45cc393bb48ce5d89d36b731f54556e65...b39b52d1213e96004bfcb1c61a8a6fa8ab84f3e8)

---
updated-dependencies:
- dependency-name: actions/setup-node
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-12-23 02:34:26 +00:00
Nextcloud bot 4c75c8ca1a Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-12-23 00:20:10 +00:00
Ferdinand Thiessen a782d6f797 fix(theming): Adjust high contrast theme to fulfill WCAG AAA text contrast
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-12-22 14:05:42 -06:00
Eduardo Morales c7ada651a9 Merge pull request #42379 from nextcloud/fix/ARIA-prop-for-NcBreadCrumb-component
enh(breadcrumbs): removed unnecessary aria label
2023-12-22 13:51:30 -06:00
Eduardo Morales 6dd6b7f630 enh(breadcrumbs): removed unnecessary aria label
Signed-off-by: Eduardo Morales <emoral435@gmail.com>
2023-12-22 13:39:16 -06:00
Ferdinand Thiessen 2e6c4eb084 Merge pull request #42319 from nextcloud/fix/a11y/personal-info-headings
fix(settings): Use heading for Profile and Profile picture sections
2023-12-22 18:56:37 +01:00
Julia Kirschenheuter abcb1aa370 Merge pull request #42442 from nextcloud/fix/app-menu-focus-visible
fix: Adjust focus-visible marker on appmenu
2023-12-22 18:27:17 +01:00
Christopher Ng ee11df8993 fix(settings): Use heading for Profile and Profile picture sections
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-12-22 17:21:37 +01:00
Stephan Orbaugh 7d8741c53f Merge pull request #37469 from nextcloud/lock-restore-ttl
restore shared lock ttl to previous value when releasing
2023-12-22 10:43:04 +01:00
Julius Härtl 728dfa6799 Merge pull request #42405 from nextcloud/fix/42374/ldap-remembered-groups-format
fix(LDAP): ensure stored groups are formatted as simple list
2023-12-22 09:23:26 +01:00
John Molakvoæ 81ed6d6afd Merge pull request #42439 from nextcloud/fix/invert-on-primary-element 2023-12-22 08:11:15 +01:00
Ferdinand Thiessen e0946081a6 fix: Adjust focus-visible marker on appmenu
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-12-22 02:05:27 +01:00
Ferdinand Thiessen 3d8e2ec9b0 fix(theming): Invert filter should be based on primary-element
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-12-22 01:37:01 +01:00
Nextcloud bot be46ca3658 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-12-22 00:20:19 +00:00
Eduardo Morales e24efd1719 Merge pull request #42415 from nextcloud/feat/add-escape-option-to-selection-of-files-while-focused
enh(files): added ability to escape out of all selection when focused
2023-12-21 12:59:52 -06:00
Ferdinand Thiessen 1201859609 Merge pull request #42292 from nextcloud/fix/a11y/unified-search-headings-the-sequel
fix(a11y): Unified search headings the sequel
2023-12-21 19:41:14 +01:00
Christopher Ng c548b19fa0 chore: compile assets
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-12-21 18:09:47 +01:00
Christopher Ng cf0e32ae6b fix(a11y): Unified search headings the sequel
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-12-21 18:04:56 +01:00
Eduardo Morales e1940ba368 enh(files): added ability to escape out of all selection when focused
Signed-off-by: Eduardo Morales <emoral435@gmail.com>
2023-12-21 10:38:09 -06:00
Josh Richards a66877813c fix(ViewController): Regression lead to 500 on non-existent fileIds
Fixes #42418 

Signed-off-by: Josh Richards <josh.t.richards@gmail.com>
2023-12-21 11:19:06 -05:00
Ferdinand Thiessen 73aeaa1411 Merge pull request #42424 from nextcloud/fix/background-image
fix(theming): Add adjusted color versions of default background
2023-12-21 17:17:28 +01:00
Joas Schilling 6e7c0906f6 Merge pull request #42389 from nextcloud/bugfix/noid/reset-reserved-at-when-force-running
fix(cron): Reset the reserved_at when force executing from CLI
2023-12-21 16:59:26 +01:00
Eduardo Morales 67be915493 Merge pull request #42334 from nextcloud/fix/auth-tokens-settings-ui
enh(settings): Refactor UI for session and app token management
2023-12-21 09:48:13 -06:00
Ferdinand Thiessen 09b34fb437 fix(theming): Add adjusted color versions of default background for better app-menu contrast
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-12-21 16:01:34 +01:00
Ferdinand Thiessen b919eb44f8 Merge pull request #42419 from nextcloud/fix/skip-buttons-files
fix(files): Adjust ID for skip content buttons
2023-12-21 15:55:15 +01:00
Ferdinand Thiessen 63a2453993 chore: Compile assets
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-12-21 15:17:46 +01:00
Ferdinand Thiessen 960bec949a enh(settings): Refactor frontend for session and app token management
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-12-21 15:15:52 +01:00
Robin Appelman ff62154a79 adjust redis compareSetTTL to use a lua script
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-12-21 15:14:27 +01:00
Robin Appelman 7394645eb7 restore shared lock ttl when releasing
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-12-21 15:14:27 +01:00
Ferdinand Thiessen 59c982f31f fix(files): Adjust ID for skip content buttons
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-12-21 14:56:40 +01:00
John Molakvoæ 0dcea036a7 Merge pull request #42422 from nextcloud/fix/cache-tests-undefined 2023-12-21 14:45:44 +01:00
John Molakvoæ 11096e2060 fix(dav): undeclared $cache property
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-12-21 14:23:52 +01:00
Nextcloud bot 2547332fe5 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-12-21 00:20:59 +00:00
Eduardo Morales d949fce1d5 Merge pull request #42381 from nextcloud/fix/h1-element-rename-for-dashboard
enh(dashboard): changed h1 to say Dashboard instead of Nextcloud
2023-12-20 16:30:54 -06:00
Eduardo Morales be54715436 enh(dashboard): changed h1 to say Dashboard instead of Nextcloud
Signed-off-by: Eduardo Morales <emoral435@gmail.com>
2023-12-20 15:25:35 -06:00
Eduardo Morales 94d122deab enh(dashboard): changed h1 to say Dashboard instead of Nextcloud
Signed-off-by: Eduardo Morales <emoral435@gmail.com>
2023-12-20 15:25:35 -06:00
Anna 81b874b2b6 Merge pull request #42406 from nextcloud/fix/dav/calendar-notification-less-than-minute-title
fix(dav): Hide less than minute diff in calendar notification title
2023-12-20 22:17:05 +01:00
jld3103 08b43021e1 fix(dav): Hide less than minute diff in calendar notification title
Signed-off-by: jld3103 <jld3103yt@gmail.com>
2023-12-20 18:29:57 +01:00
John Molakvoæ aae99606e0 Merge pull request #42366 from nextcloud/fix/dragdrop-join 2023-12-20 17:42:11 +01:00
Arthur Schiwon ee096f8629 fix(LDAP): ensure stored groups are formatted as simple list
With array_unique it is possible that the keys are not in sequential order
but have gaps. json_encode then would store them as associative array,
which later on json_decode would result in a stdClass by default. This is
unexpected and would also contradict the return type hint.

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2023-12-20 17:05:58 +01:00
Julia Kirschenheuter 4f7ed475de Merge pull request #42401 from nextcloud/fix/app-menu-colors
fix: Ensure app menu entries and dashboard welcome message have enough contrast
2023-12-20 16:03:54 +01:00
Joas Schilling b8c57efaad fix(log): Improve logging of background job details for better reproduction/debugging
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-12-20 15:35:40 +01:00
Ferdinand Thiessen de57e517a5 chore: Compile assets
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-12-20 14:53:17 +01:00
Ferdinand Thiessen fde6914ae1 fix: Adjust colors of app menu and dashboard
Those elements are shown directly on the background which has the `color-primary`,
so they need to use `color-primary-text` instead of `color-primary-element-text` for guranteed contrast.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-12-20 14:53:17 +01:00
Joas Schilling 2d13ab50c7 Merge pull request #42140 from nextcloud/updateCrl
Update crl after revoke rides.csr
2023-12-20 13:11:34 +01:00
Joas Schilling 28b55bba55 feat(cron): Warn on excessive memory consumption in background jobs
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-12-20 10:58:08 +01:00
John Molakvoæ dc82c2798a chore: compile assets
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-12-20 10:52:39 +01:00
John Molakvoæ dbfd8f612b fix(files): drag and drop events chain and cancel
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-12-20 10:51:03 +01:00
John Molakvoæ 820b67a5e2 fix(files): recursive drop path join
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-12-20 10:51:03 +01:00
Matthieu Gallien a3470b1b1f Update crl after revoke rides.csr
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2023-12-20 10:17:12 +01:00
Joas Schilling 4cb5501a3f fix(cron): Reset the reserved_at when force executing from CLI
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-12-20 10:07:41 +01:00
MB-Finski f27d2bf352 Update doc blocks
Signed-off-by: MB-Finski <sami.finnila@gmail.com>
2023-12-20 07:49:09 +00:00
Nextcloud bot 66b2fd95d1 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-12-20 00:19:18 +00:00
Git'Fellow 5077d0a10b Merge pull request #42298 from nextcloud/readOnlyFSFalse
Don't write back .htaccess file on a RO filesystem
2023-12-19 21:34:16 +01:00
Eduardo Morales e8275ab0a2 Merge pull request #42329 from nextcloud/fix/highcontrast
fix(theming): Adjust dark high contrast to fulfill WCAG 2.1 AAA contrast
2023-12-19 11:34:54 -06:00
Marcel Klehr c3d5b46f53 Merge pull request #41088 from nextcloud/enh/text-processing-provider-with-id
enh(TextProcessing): Allow providers and task types to declare a dynamic ID instead of using className
2023-12-19 17:43:18 +01:00
Ferdinand Thiessen acfb8ef551 fix(theming): Adjust color-error and color-success to work for input border colors
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-12-19 10:20:33 -06:00
Ferdinand Thiessen 74f6995bdb fix(theming): Adjust dark high contrast to fulfill WCAG 2.1 AAA contrast
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-12-19 10:20:33 -06:00
Anna 94a5e6c7b3 Merge pull request #42309 from nextcloud/enh/meeting-status-automation
fix(userstatus): set user status to 'In a meeting' if calendar is busy
2023-12-19 16:40:41 +01:00
Marcel Klehr 53be798a70 Merge branch 'master' into enh/text-processing-provider-with-id 2023-12-19 16:14:13 +01:00
Marcel Klehr 9327e36ef4 Merge pull request #41087 from nextcloud/enh/stt-provider-with-id
enh(SpeechToText): Allow providers to declare a dynamic ID instead of using className
2023-12-19 15:29:22 +01:00
Marcel Klehr e5622171b4 Update autoloaders
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-12-19 15:01:03 +01:00
Anna Larch 4c6eff975f fix(userstatus): set user status to 'In a meeting' if calendar is busy
Signed-off-by: Anna Larch <anna@nextcloud.com>
2023-12-19 14:59:00 +01:00
Sami Finnilä 8904bf645b Return providers as indexed array
Signed-off-by: MB-Finski <sami.finnila@gmail.com>
2023-12-19 13:25:45 +00:00
Louis 2f647aacc5 Merge pull request #42349 from nextcloud/artonge/perf/dav_hidden_prop
Use FileInfo's metadata for hidden prop
2023-12-19 14:17:23 +01:00
Marcel Klehr 6f0b192fcb Update autoloaders
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-12-19 13:59:30 +01:00
Marcel Klehr 52d729c69e cs:fix
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-12-19 13:32:15 +01:00
Richard Steinmetz fbcd5f4f00 Merge pull request #42339 from nextcloud/fix/dav/allow-multiple-organizers
fix(dav): allow multiple organizers if possible
2023-12-19 13:03:47 +01:00
Marcel Klehr 928fee8ab4 enh(SpeechToText): Allow providers to declare a dynamic ID instead of using className
this allows AppAPI to register anonymous classes as SpeechToText providers

Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-12-19 12:31:21 +01:00
Marcel Klehr 2e0141165a Merge branch 'master' into enh/text-processing-provider-with-id
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-12-19 12:29:03 +01:00
Louis d8381acf86 Merge pull request #42353 from nextcloud/artonge/feat/global_accessibility_switch
Add global accessibility switch
2023-12-19 11:32:42 +01:00
Louis Chemineau 6948c074e9 Use FileInfo's metadata for hidden prop
Signed-off-by: Louis Chemineau <louis@chmn.me>
2023-12-19 10:23:28 +01:00
Louis Chemineau a39b3a3d84 Add global accessibility switch
Signed-off-by: Louis Chemineau <louis@chmn.me>
2023-12-19 10:21:13 +01:00
John Molakvoæ bfee3167b3 Merge pull request #42338 from nextcloud/fix/files-recent-links 2023-12-19 09:52:01 +01:00
Ferdinand Thiessen 6556465431 chore: Compile assets
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-12-19 09:32:16 +01:00
Côme Chilliet df32c7c946 Merge pull request #42361 from nextcloud/fix/remove-unnecessary-checks
fix(manager): removed dead code
2023-12-19 09:30:18 +01:00
Ferdinand Thiessen 6a67afff37 fix(files): Use DAV functions from library to fix invalid source links
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-12-19 09:21:00 +01:00
Nextcloud bot 6fa377e90e Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-12-19 00:19:27 +00:00
Eduardo Morales 24f97a57e2 fix(manager): removed dead code
Signed-off-by: Eduardo Morales <emoral435@gmail.com>
2023-12-18 12:29:50 -06:00
Eduardo Morales 8f1acd14ec Merge pull request #42287 from nextcloud/fix/dark-theme-and-element-colors
fix(theming): Adjust status colors and make dark theme fully accessible
2023-12-18 11:13:09 -06:00
Ferdinand Thiessen ae12a73c85 fix(theming): Make dark theme accessible and add unit test
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-12-18 10:25:10 -06:00
Ferdinand Thiessen 2e5d435df7 fix(theming): Adjust status colors to be also accessible on blurry background
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-12-18 10:25:10 -06:00
Ferdinand Thiessen f225bf97dd Merge pull request #42354 from nextcloud/bugfix/noid/typo-in-move-or-copy
Typo in move or copy
2023-12-18 16:36:57 +01:00
Louis 455a6d1e82 Merge pull request #42350 from nextcloud/artonge/perf/dont_query_custom_properties_for_metadata_dav_props
Don't query oc_properties for metadata props
2023-12-18 16:13:31 +01:00
Ferdinand Thiessen 7ef933ad68 Merge pull request #42184 from nextcloud/fix/unified-search-keep-search-input-on-top
enh(UnifiedSearch): Keep the searchbar on top of the modal
2023-12-18 15:32:36 +01:00
Joas Schilling f584738f3b chore(assets): Recompile JS
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-12-18 15:26:00 +01:00
Joas Schilling d256206ffe Fix typo in move or copy dialog
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-12-18 15:25:44 +01:00
Joas Schilling e87cef165c Merge pull request #42241 from nextcloud/feat/noid/setup-check-for-maintenance-window
feat(setupcheck): Add setup check for maintenance_window_start config
2023-12-18 15:25:13 +01:00
Ferdinand Thiessen ac2182cc77 enh(UnifiedSearch): Keep the searchbar on top of the modal
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-12-18 13:59:09 +01:00
Louis Chemineau 6aa2d2daee Don't query oc_properties for metadata props
Signed-off-by: Louis Chemineau <louis@chmn.me>
2023-12-18 13:09:20 +01:00
Joas Schilling f7bead00d1 Merge pull request #42304 from nextcloud/fix/emoji-ooo-status
fix(ooo): add new ooo status with new emoji
2023-12-18 12:41:07 +01:00
Anna Larch fc4ef6133b fix(ooo): add new ooo status with new emoji
Signed-off-by: Anna Larch <anna@nextcloud.com>
2023-12-18 11:35:00 +01:00
Joas Schilling 26f4ec66af feat(setupcheck): Add setup check for maintenance_window_start config
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-12-18 11:29:38 +01:00
Nextcloud bot 0ff674607f Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-12-18 00:19:21 +00:00
Richard Steinmetz 06aba2a5c8 fix(dav): allow multiple organizers if possible
This is very hacky! However, we want to allow saving events with multiple
organizers. Those events are not RFC compliant, but sometimes imported from major
external calendar services (e.g. Google). If the current user is not an organizer of
the event we ignore the exception as no scheduling messages will be sent anyway.

Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
2023-12-17 17:46:00 +01:00
Nextcloud bot 84e0b9007c Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-12-17 00:18:58 +00:00
dependabot[bot] 28e0d3191b Merge pull request #42321 from nextcloud/dependabot/npm_and_yarn/vueuse/components-10.7.0 2023-12-16 23:38:04 +00:00
nextcloud-command c6ff429f05 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-12-16 23:10:18 +00:00
dependabot[bot] 79b2e29931 chore(deps): Bump @vueuse/components from 10.5.0 to 10.7.0
Bumps [@vueuse/components](https://github.com/vueuse/vueuse/tree/HEAD/packages/components) from 10.5.0 to 10.7.0.
- [Release notes](https://github.com/vueuse/vueuse/releases)
- [Commits](https://github.com/vueuse/vueuse/commits/v10.7.0/packages/components)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-12-17 00:01:26 +01:00
Julius Härtl 79c4986354 enh: Implement PrimaryReadReplicaConnection
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2023-12-16 20:27:37 +01:00
dependabot[bot] 9c4467461c Merge pull request #42324 from nextcloud/dependabot/github_actions/github/codeql-action-3 2023-12-16 12:05:15 +00:00
dependabot[bot] b049bedc8c Merge pull request #42326 from nextcloud/dependabot/composer/build/integration/sabre/dav-4.6.0 2023-12-16 04:14:27 +00:00
dependabot[bot] d6d8b3015a chore(deps-dev): Bump sabre/dav in /build/integration
Bumps [sabre/dav](https://github.com/sabre-io/dav) from 4.5.1 to 4.6.0.
- [Release notes](https://github.com/sabre-io/dav/releases)
- [Changelog](https://github.com/sabre-io/dav/blob/master/CHANGELOG.md)
- [Commits](https://github.com/sabre-io/dav/compare/4.5.1...4.6.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-12-16 03:08:28 +00:00
dependabot[bot] b23ebbefb5 chore(deps): Bump github/codeql-action from 2 to 3
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 2 to 3.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](https://github.com/github/codeql-action/compare/v2...v3)

---
updated-dependencies:
- dependency-name: github/codeql-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-12-16 02:49:07 +00:00
Nextcloud bot 538041b6e7 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-12-16 00:19:23 +00:00
Joas Schilling a29b0b4ba5 Merge pull request #42305 from nextcloud/fix/reset-last-run-joblist
fix(joblist): also reset last_run timestamp on updating an existing job
2023-12-15 21:42:44 +01:00
Ferdinand Thiessen 8aa91a1964 Merge pull request #42285 from nextcloud/fix/theming-color-utils-primary
fix(theming): Adjust theming util to calculate primary element color based on WCAG color contrast
2023-12-15 21:35:51 +01:00
Ferdinand Thiessen 84123b3910 fix(theming): Adjust primary text color calculation to also work with high contrast themes
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-12-15 21:09:39 +01:00
Ferdinand Thiessen 61f401da57 fix(theming): Adjust hover color to be accessible
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-12-15 21:09:14 +01:00
Ferdinand Thiessen 141d1e9026 enh(theming): Adjust color utils to work as specified by WCAG (color contrast and luma calculation)
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-12-15 21:09:14 +01:00
Eduardo Morales 2a205511c7 Merge pull request #42109 from nextcloud/rakekniven-patch-4
Clean-up and standardization of "App password"
2023-12-15 13:02:13 -06:00
rakekniven 4ff2c08210 fix: Clean-up and standardization of "App password"
Signed-off-by: rakekniven <2069590+rakekniven@users.noreply.github.com>
2023-12-15 18:32:52 +01:00
Ferdinand Thiessen 6560ffee68 Merge pull request #42310 from nextcloud/bump/skjnldbot/nexcloud-upload
chore(deps): Bump @nextcloud/upload to 1.0.4
2023-12-15 16:24:24 +01:00
nextcloud-command 5bb3846825 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-12-15 14:39:19 +00:00
John Molakvoæ e23358f3e7 chore(deps): Bump @nextcloud/upload to 1.0.4
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-12-15 15:18:08 +01:00
Anna Larch dc87c531b5 fix(joblist): also reset last_run timestamp on updating an existing job
Signed-off-by: Anna Larch <anna@nextcloud.com>
2023-12-15 11:49:51 +01:00
John Molakvoæ 1db6947fcd Merge pull request #42281 from nextcloud/fix/files/urlencode 2023-12-15 08:41:18 +01:00
Git'Fellow b22ac93606 Read Only FS return false
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
2023-12-15 08:35:15 +01:00
Joas Schilling d6de7bf21b Merge pull request #42209 from nextcloud/bugfix/noid/comments-meta-data
feat(comments): Add a meta data column for comments
2023-12-15 06:56:07 +01:00
Eduardo Morales 29763f0c16 Merge pull request #42132 from nextcloud/fix/client-secret-aria
enh(oauth2): allowed toggling of aria label
2023-12-14 20:47:22 -06:00
Eduardo Morales 254f4b00d9 enh(oauth2): allowed toggling of aria label
Signed-off-by: Eduardo Morales <emoral435@gmail.com>
2023-12-14 20:16:37 -06:00
Eduardo Morales ce0dc03823 Merge pull request #42290 from nextcloud/enh/h3-to-h2
fix(dashboard): changed h3 elements to h2
2023-12-14 19:32:30 -06:00
Nextcloud bot b9cf8fd8bc Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-12-15 00:18:59 +00:00
Eduardo Morales 33637df9b3 fix(dashboard): changed h3 elements to h2
Signed-off-by: Eduardo Morales <emoral435@gmail.com>
2023-12-14 17:12:01 -06:00
Pytal cd32db63f7 Merge pull request #42283 from nextcloud/fix/maxcontrast-blur
fix: Ensure correct max contrast color is used when blurred background is used
2023-12-14 11:58:34 -08:00
Ferdinand Thiessen 5d7b6f19f1 Merge pull request #42186 from nextcloud/fix/files-quota-nav
fix(files): Partly revert 32c1aeb and show correct quota again
2023-12-14 20:37:55 +01:00
Ferdinand Thiessen 2d5d782f7f fix(files): Partly revert 32c1aeb and show correct quota again
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-12-14 12:56:41 -06:00
Ferdinand Thiessen 864425bd5c chore: Compile assets
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-12-14 19:27:50 +01:00
Ferdinand Thiessen 016afb72a0 chore: Compile assets
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-12-14 18:01:00 +01:00
Ferdinand Thiessen 1cd04e361e fix(core): Make sure correct colors are used on blurred background
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-12-14 17:59:30 +01:00
John Molakvoæ d9f6f3daa3 fix(files): fix download file encoded source
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-12-14 15:35:52 +01:00
Joas Schilling 226134a195 fix(comments): Reference ID column is now added on upgrade and therefore can be removed
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-12-14 14:32:04 +01:00
Joas Schilling 6056928dc6 feat(comments): Add a meta data column for comments
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-12-14 14:32:00 +01:00
Joas Schilling bac05cae5b Merge pull request #42205 from nextcloud/translate-own-user
Translate me-text in unified search people filter
2023-12-14 13:51:38 +01:00
nextcloud-command f5025ad330 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-12-14 11:49:56 +00:00
fenn-cs fcef6b10db Use display name instead of 'me' text.
Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
2023-12-14 12:40:03 +01:00
John Molakvoæ 842a3d704d Merge pull request #42124 from nextcloud/feat/files/batch-copy-move 2023-12-14 10:13:49 +01:00
John Molakvoæ 5d74f1a15b fix(files): templates logger usage
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-12-14 09:52:31 +01:00
John Molakvoæ 6882ec5898 feat(files): add batch support to copy-move
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-12-14 09:49:59 +01:00
Joas Schilling ab1856085a Merge pull request #42187 from nextcloud/automated/noid/master-update-ca-cert-bundle
[master] fix(security): Update CA certificate bundle
2023-12-14 06:51:56 +01:00
nextcloud-command 5a1fdc6dc7 fix(security): Update CA certificate bundle
Signed-off-by: GitHub <noreply@github.com>
2023-12-14 02:17:48 +00:00
Ferdinand Thiessen 34dd18d69e Merge pull request #42130 from nextcloud/dependabot/github_actions/actions/stale-9
chore(deps): Bump actions/stale from 8 to 9
2023-12-14 01:54:22 +01:00
Nextcloud bot 42987e7a45 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-12-14 00:19:23 +00:00
Eduardo Morales 20932c8430 Merge pull request #42242 from nextcloud/fix/files-drag-when-rename-file
fix(files): Do not add drag handlers on rename
2023-12-13 12:09:16 -06:00
Ferdinand Thiessen 9e56c78994 chore: Compile assets
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-12-13 11:56:48 -06:00
Ferdinand Thiessen 9dbaf7aa5b fix(files): Do not add drag and drop listeners when renaming a file
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-12-13 11:56:48 -06:00
Ferdinand Thiessen 7817c82430 Merge pull request #42185 from nextcloud/fix/files-sharing-translations
fix(files_sharing): Add one string for every share type
2023-12-13 18:22:23 +01:00
Ferdinand Thiessen a7795e2471 chore: Compile assets
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-12-13 16:41:14 +01:00
Ferdinand Thiessen e35f6d89a2 fix(files_sharing): Add one string for every share type to not assume any language
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-12-13 16:37:39 +01:00
Eduardo Morales d6ac1b9531 Merge pull request #42095 from nextcloud/fix/files/exact-nav
fix(files): navigation exact
2023-12-13 09:28:29 -06:00
Ferdinand Thiessen 27cbb352c6 Merge pull request #42183 from nextcloud/fix/unified-search-prop
fix(UnifiedSearch): Remove title prop from modal
2023-12-13 16:23:37 +01:00
Louis 79c25f4cff Merge pull request #42198 from nextcloud/artonge/fix/metadata_error
Wrap metadata generation in try/catch
2023-12-13 16:15:24 +01:00
Ferdinand Thiessen a6360d4acd chore: Compile assets
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-12-13 15:24:09 +01:00
Ferdinand Thiessen a4a1dc85a3 fix(UnifiedSearch): Remove title prop from modal
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-12-13 15:20:42 +01:00
Ferdinand Thiessen 11e27acf2c Merge pull request #42174 from nextcloud/chore/comments-cleanup-dead-code
chore(comments): Drop dead code from comments app
2023-12-13 11:33:13 +01:00
Louis Chemineau 8eb58d03a9 Wrap metadata generation in try/catch
Signed-off-by: Louis Chemineau <louis@chmn.me>
2023-12-13 10:51:15 +01:00
Benjamin Gaussorgues 6077f26d9c Merge pull request #42064 from nextcloud/feat/settings/add-delegation-commands 2023-12-13 10:06:32 +01:00
F. E Noel Nfebe 63babd2324 Merge pull request #42167 from nextcloud/unified-search-improvements
Unified search improvements
2023-12-13 09:52:58 +01:00
Benjamin Gaussorgues 208e6bc492 feat(settings): add occ commands to handle admin delegation
Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
2023-12-13 09:25:24 +01:00
Nextcloud bot 895eb19449 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-12-13 00:19:53 +00:00
nextcloud-command 842953a267 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-12-12 20:41:36 +00:00
fenn-cs c0374c79d7 Add authenicated user to person list for search filtering
As expected, a user does not see themselves in their contact list,
 however, when using the contact list for filtering search, a user,
 might want to limit the search to things that pertain to them.

Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
2023-12-12 21:24:52 +01:00
fenn-cs 527c51a18e Unified search: update people select with API calls
On change/input from user which has the effect of filtering,
 we want to send the query to the API to obtained fresh results,
 based on the databased on not just preloaded contacts.

Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
2023-12-12 21:24:52 +01:00
fenn-cs bf234f6acc Rephrase unified search helper text
Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
2023-12-12 21:24:52 +01:00
Ferdinand Thiessen c734a18ee8 Merge pull request #42094 from nextcloud/refactor-global-search-to-unified-search
Rename "global search" to "unified search"
2023-12-12 21:13:07 +01:00
Ferdinand Thiessen 2f668976de chore: Compile assets
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-12-12 20:42:09 +01:00
fenn-cs 0b171f6095 Rename "global search" to "unified search"
- Changes appearances of "Global search" to "Unified search" in UI
- Refactors code, to remove usage of term "GlobalSearch" in files and code
 structure
- Rename old unified search to `legacy-unified-search`

Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
2023-12-12 20:34:37 +01:00
Ferdinand Thiessen 6c482bc5c8 Merge pull request #42126 from nextcloud/click-outside-should-abort-share
Tooltip outside click, should abort share creation
2023-12-12 20:29:53 +01:00
nextcloud-command 7fe9d3a79b chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-12-12 15:43:19 +00:00
John Molakvoæ fb39015056 fix(files): navigation exact
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-12-12 09:26:51 -06:00
Grigorii K. Shartsev b9fe1300ef Merge pull request #42165 from nextcloud/deps/nextcloud-upload-from-1.0.2-to-1.0.3
chore(deps): Bump @nextcloud/upload from 1.0.2 to 1.0.3
2023-12-12 18:51:30 +05:00
Ferdinand Thiessen 529dcc3f23 chore(comments): Drop dead code from comments app
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-12-12 14:42:11 +01:00
John Molakvoæ 3c704d49bf Merge pull request #41670 from nextcloud/fix/reminder_conditional_rendering 2023-12-12 08:34:46 +01:00
Nextcloud bot 6aeb5d4a08 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-12-12 00:18:52 +00:00
nextcloud-command 607cf221b4 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-12-11 20:50:01 +00:00
nextcloud-command 4f98b78b96 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-12-11 20:33:09 +00:00
Grigorii K. Shartsev 877458418f chore(deps): Bump @nextcloud/upload from 1.0.2 to 1.0.3
Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
2023-12-11 21:19:54 +01:00
fenn-cs 04e8733721 Allow user to finish typing date before formatting
Debounce `onExpirationChange` to avoid calling `formatDateToString`
on invalid on uncompletely inputed date strings.

Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
2023-12-11 21:06:31 +01:00
fenn-cs c179408a0d Tooltip outside click, should abort share creation
It's unexpected that click outside a tooltip would proceed with the
 action that could be carried out inside the tooltip.

Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
2023-12-11 21:03:28 +01:00
Christoph Wurst 0907cc9636 Merge pull request #42142 from nextcloud/fix/dav/ooo-event-time-zone-drift
fix(dav): Prevent out-of-office event time drifts
2023-12-11 18:23:23 +01:00
Christoph Wurst 9abfcad3e3 fix(dav): Prevent out-of-office event time drifts
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-12-11 17:51:54 +01:00
Anna fce5fec4b2 Merge pull request #42151 from nextcloud/chore/dav/dead-server-get-sabre-server
chore(dav): Remove dead \OCA\DAV\Server::getSabreServer
2023-12-11 16:23:26 +01:00
Arthur Schiwon 60663e9854 Merge pull request #42154 from nextcloud/fix/noid/live-photos-rename
fix rename on live photos
2023-12-11 16:17:30 +01:00
Côme Chilliet d21ef3e631 Merge pull request #41535 from nextcloud/feat/merge-sqlite-check-to-database-check
Merge sqlite check to database check
2023-12-11 15:00:10 +01:00
Maxence Lange e0a78dd2fe fix rename
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2023-12-11 12:20:25 -01:00
Anna 9e10b1d5b9 Merge pull request #42144 from nextcloud/fix/dont-reuse-query-builder-caldav
fix(caldav): don't reuse query builder objects
2023-12-11 13:29:42 +01:00
Christoph Wurst 97f24302b3 chore(dav): Remove dead \OCA\DAV\Server::getSabreServer
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-12-11 13:16:06 +01:00
Anna Larch 3475d52741 fix(caldav): don't reuse query builder objects
Signed-off-by: Anna Larch <anna@nextcloud.com>
2023-12-11 11:32:32 +01:00
Nextcloud bot 1f10b28c22 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-12-11 00:24:21 +00:00
dependabot[bot] a366e5437c Merge pull request #41681 from nextcloud/dependabot/composer/build/integration/sabre/dav-4.5.1 2023-12-10 11:10:59 +00:00
dependabot[bot] 42b76ad593 chore(deps-dev): Bump sabre/dav in /build/integration
Bumps [sabre/dav](https://github.com/sabre-io/dav) from 4.4.0 to 4.5.1.
- [Release notes](https://github.com/sabre-io/dav/releases)
- [Changelog](https://github.com/sabre-io/dav/blob/4.5.1/CHANGELOG.md)
- [Commits](https://github.com/sabre-io/dav/compare/4.4.0...4.5.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-12-10 10:25:32 +00:00
dependabot[bot] 3ff11570e4 Merge pull request #42129 from nextcloud/dependabot/composer/build/integration/guzzlehttp/guzzle-7.8.1 2023-12-10 10:24:04 +00:00
Nextcloud bot 0cd536786b Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-12-10 00:19:14 +00:00
nextcloud-command 94ba651099 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-12-09 04:33:25 +00:00
Eduardo Morales c4f6803549 fix(papercut): rerendered submenu actions for time sensitive actions
Signed-off-by: Eduardo Morales <emoral435@gmail.com>
2023-12-08 21:20:00 -06:00
Pytal 9964bcbfd5 Merge pull request #42111 from nextcloud/fix/a11y/unified-search-headings
fix(a11y): Unified search headings
2023-12-08 18:44:35 -08:00
dependabot[bot] 38006c79fe chore(deps): Bump actions/stale from 8 to 9
Bumps [actions/stale](https://github.com/actions/stale) from 8 to 9.
- [Release notes](https://github.com/actions/stale/releases)
- [Changelog](https://github.com/actions/stale/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/stale/compare/v8...v9)

---
updated-dependencies:
- dependency-name: actions/stale
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-12-09 02:42:45 +00:00
dependabot[bot] 410523a623 chore(deps-dev): Bump guzzlehttp/guzzle in /build/integration
Bumps [guzzlehttp/guzzle](https://github.com/guzzle/guzzle) from 7.8.0 to 7.8.1.
- [Release notes](https://github.com/guzzle/guzzle/releases)
- [Changelog](https://github.com/guzzle/guzzle/blob/7.8/CHANGELOG.md)
- [Commits](https://github.com/guzzle/guzzle/compare/7.8.0...7.8.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-12-09 02:22:07 +00:00
Nextcloud bot 2606424d59 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-12-09 00:19:07 +00:00
Pytal 043fc46abf Merge pull request #42112 from nextcloud/enh/a11y/page-headings
enh(settings): Set main page heading
2023-12-08 08:03:08 -08:00
Daniel e2a8c35418 Merge pull request #42012 from nextcloud/3rdparty-bump-zipstreamer 2023-12-08 16:23:47 +01:00
Daniel Kesselberg 91ba226d0e chore: update zipstreamer to v2.0.2
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2023-12-08 15:32:56 +01:00
Arthur Schiwon 70c2f574d2 Merge pull request #42093 from nextcloud/fix/l10n/init-race-condition
fix(l10n): fix translations for init scripts
2023-12-08 14:34:29 +01:00
Joas Schilling da97e10b65 Merge pull request #42115 from nextcloud/chore/deps/update-openapi-extractor
chore(deps): Update openapi-extractor
2023-12-08 12:36:46 +01:00
John Molakvoæ ceb2d41503 fix(l10n): fix translations for init scripts
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-12-08 12:36:39 +01:00
Julia Kirschenheuter b0a60de1f6 Merge pull request #42030 from nextcloud/fix/41882-add-password-message
Replace input filed with password field and added password error message
2023-12-08 11:20:26 +01:00
jld3103 fe2c6d4227 chore(deps): Update openapi-extractor
Signed-off-by: jld3103 <jld3103yt@gmail.com>
2023-12-08 11:06:05 +01:00
julia.kirschenheuter 696545b530 Replace input filed with password field and added password error message
Remove unneeded NcDateTimePicker

Signed-off-by: julia.kirschenheuter <julia.kirschenheuter@nextcloud.com>
2023-12-08 10:22:42 +01:00
John Molakvoæ cdb6f37a10 Merge pull request #42100 from nextcloud/fix/41881-login-page-translation 2023-12-08 10:01:19 +01:00
Christopher Ng e486178229 chore: compile assets
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-12-07 18:53:33 -08:00
Christopher Ng 29867d64c8 fix(settings): Expected string aria-label got boolean error
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-12-07 18:53:33 -08:00
Christopher Ng 32fad8f692 enh(settings): Set main heading for Apps
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-12-07 18:53:32 -08:00
Christopher Ng bf3a8d16f9 enh(settings): Set main heading for User management
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-12-07 18:53:32 -08:00
Christopher Ng 70b53c3b41 chore: compile assets
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-12-07 17:43:47 -08:00
Christopher Ng ad8ae7bfd0 fix(a11y): Unified search headings
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-12-07 17:43:47 -08:00
Nextcloud bot 4cbc8b69b4 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-12-08 00:18:58 +00:00
Arthur Schiwon 445a09cfe2 Merge pull request #42104 from nextcloud/fix/reference-picker
fix: Adjust reference picker code for the vue based FilePicker
2023-12-07 21:17:12 +01:00
Ferdinand Thiessen 6acdd59619 chore: Compile assets
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-12-07 12:03:54 -08:00
Ferdinand Thiessen 9a2aaf3a42 fix(files): Adjust reference picker for new vue file picker
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-12-07 12:03:54 -08:00
F. E Noel Nfebe f5415d4e50 Merge pull request #42101 from nextcloud/rename-global-search-to-unified-search
Change global search UI text to unified search
2023-12-07 20:05:12 +01:00
Louis bca3d17868 Merge pull request #42096 from nextcloud/artonge/debt/comment_file_metadata_migrations
Comment legacy file_metadata table migrations
2023-12-07 18:08:52 +01:00
dependabot[bot] 8fe9b8b86d Merge pull request #41589 from nextcloud/dependabot/npm_and_yarn/wait-on-7.2.0 2023-12-07 16:16:59 +00:00
nextcloud-command ddb0d1ae4f chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-12-07 14:57:19 +00:00
Côme Chilliet 95ea46c99c Merge SQlite warning to existing SupportedDatabase setup check
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-12-07 15:45:27 +01:00
dependabot[bot] 74f8058a57 chore(deps-dev): Bump wait-on from 7.1.0 to 7.2.0
Bumps [wait-on](https://github.com/jeffbski/wait-on) from 7.1.0 to 7.2.0.
- [Release notes](https://github.com/jeffbski/wait-on/releases)
- [Commits](https://github.com/jeffbski/wait-on/compare/v7.1.0...v7.2.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-12-07 15:45:27 +01:00
fenn-cs 811df8d57e Change global search UI text to unified search
Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
2023-12-07 15:26:05 +01:00
Grigorii K. Shartsev 452abf7c7f fix(core): add translations on the login page
Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
2023-12-07 14:57:10 +01:00
Marcel Klehr 7b6877b278 Merge pull request #42053 from nextcloud/fix/18468
fix(Users/Quota setting): Prevent floating point value from getting truncated in locales other than english
2023-12-07 14:21:04 +01:00
Louis Chemineau e621396139 Comment legacy file_metadata table migrations
Signed-off-by: Louis Chemineau <louis@chmn.me>
2023-12-07 13:31:09 +01:00
nextcloud-command 0f667d2a57 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-12-07 10:30:46 +00:00
Joas Schilling 4a9f99809c Merge pull request #42056 from nextcloud/chore/dashboard/limit-range-items-v1-api
chore(dashboard): Add limit range to items v1 API
2023-12-07 11:29:04 +01:00
Marcel Klehr 162f801744 fix(Users/Quota setting): Prevent floating point value from getting truncated in locales other than english
fixes #18468

Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-12-07 09:57:21 +01:00
Joas Schilling c41cbcf7ba Merge pull request #42077 from nextcloud/enh/a11y/app-nav-labels
enh(a11y): Add navigation labels
2023-12-07 09:56:12 +01:00
Joas Schilling 4f8c9986f6 Merge pull request #42065 from nextcloud/chore/ignore-dev-dependencies
fix: Let git ignore composer dev dependencies
2023-12-07 09:09:54 +01:00
Joas Schilling 929678856c Merge pull request #42055 from nextcloud/enh/navigation-manager-set-app-from-id
enh(NavigationManager): Use ID as fallback for `app` property of entries
2023-12-07 09:09:01 +01:00
nextcloud-command cad0f580c0 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-12-07 01:11:51 +00:00
Christopher Ng 7c479aad51 enh(settings): Add apps and user management navigation labels
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-12-06 17:01:05 -08:00
Christopher Ng 0167f671f5 enh(files): Add files navigation label
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-12-06 17:01:05 -08:00
Nextcloud bot b71b6dca97 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-12-07 00:19:41 +00:00
F. E Noel Nfebe 669cf65283 Merge pull request #42067 from nextcloud/share-flow-improvments
Fix some silent share bugs
2023-12-07 00:26:44 +01:00
nextcloud-command 342dbb5c27 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-12-06 21:27:33 +00:00
fenn-cs e73a54906e Remove newPassword from share model, if disabled
It's important to delete the `newPassword` prop from the share
 model, if the user unchecks the isPasswordProtected checkbox.

This clearer and allows for the unchecking to actually work as
`this.$set()` fails with the falsy value `''`.

Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
2023-12-06 22:11:27 +01:00
fenn-cs 06314a37c1 Create element reference inside $nextTick()
Accessing `this.$refs.shareList` outside $nextTick()
 could lead to the holder (`listComponent`) being undefined
 as the ref is yet to exist.

Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
2023-12-06 22:11:27 +01:00
Julius Härtl f6b49b1132 Merge pull request #41944 from nextcloud/fix/shared-versions 2023-12-06 21:09:28 +01:00
F. E Noel Nfebe 0eadd0dd6b Merge pull request #42062 from nextcloud/use-href-for-search-results
Correct semantics for link opening in global search
2023-12-06 20:17:46 +01:00
Joas Schilling add17584a5 Update .drone.yml signature
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-12-06 20:11:18 +01:00
Pytal 089aec87ec Merge pull request #42066 from nextcloud/fix/cypress-wait-for-network-requests
fix(cypress): Wait for network requests to finish when using the FilePicker
2023-12-06 10:49:54 -08:00
Julius Härtl 74acfa452f Merge pull request #42061 from nextcloud/revert/index-preferences 2023-12-06 19:09:13 +01:00
John Molakvoæ b6f43c1d9b Merge pull request #41975 from nextcloud/fix/files-handle-drop-folders-correctly 2023-12-06 18:59:44 +01:00
Ferdinand Thiessen aa30452cb4 Merge pull request #41948 from nextcloud/fix/accessibility-dark-mode
fix(theming): Adjust dark theme to be accessible adjust cypress tests
2023-12-06 17:50:38 +01:00
nextcloud-command eb90cd07b5 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-12-06 16:12:11 +00:00
Ferdinand Thiessen 008ea1bff2 fix(cypress): Wait for network requests to finish when using the FilePicker
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-12-06 17:07:08 +01:00
fenn-cs aa25590130 Correct semantics for link opening in global search
Following the update of `NcListItem` to allow control over
 where and how passed `hrefs` open, the search result component
 can now make use of these props.

See : https://github.com/nextcloud-libraries/nextcloud-vue/pull/4923

Resolves :  #41800

Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
2023-12-06 16:49:21 +01:00
Ferdinand Thiessen 0d75a4129e chore: Compile assets
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-12-06 16:47:07 +01:00
Ferdinand Thiessen dd8897bb31 fix(files): Correctly handle dropping folders on file list
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-12-06 16:45:29 +01:00
Ferdinand Thiessen b6df9b703a fix: Let git ignore composer dev dependencies
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-12-06 16:37:46 +01:00
Julius Härtl 75505747bb fix: Properly fetch version from shared files by accessing the owner storage version
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2023-12-06 16:01:53 +01:00
Ferdinand Thiessen b1fffb0d3b enh(NavigationManager): Use ID as fallback for app property of entries
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-12-06 15:46:22 +01:00
Julius Härtl 1cfc8a2e03 Revert "perf: Add partial index on configvalue of preferences table"
This reverts commit 0ccf84bb31.

Signed-off-by: Julius Härtl <jus@bitgrid.net>
2023-12-06 15:21:48 +01:00
jld3103 310832ade9 chore(dashboard): Add limit range to items v1 API
Signed-off-by: jld3103 <jld3103yt@gmail.com>
2023-12-06 14:52:17 +01:00
Andy Scherzinger e1ecf798d9 Merge pull request #42043 from nextcloud/fix/update-dialogs-to-fix-copy-move
fix: Update `@nextcloud/dialogs` to 5.0.3 fixing files copy move
2023-12-06 14:28:34 +01:00
Ferdinand Thiessen 0d6255bafc fix: Update @nextcloud/dialogs to 5.0.3 fixing files copy move
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-12-06 12:32:41 +00:00
Joas Schilling 5cf42ff25c Merge pull request #42044 from 1manprojects/patch-3
Fix AppSettingsController.php overwriting currentLanguage
2023-12-06 05:59:52 +01:00
Nextcloud bot 1631bec8a6 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-12-06 00:20:55 +00:00
Andy Scherzinger 13eecbba06 Merge pull request #42011 from nextcloud/techdebt/noid/allow-to-load-multiple-metadata-with-1-query
fix(metadata): Fix copy-paste doc block throws
2023-12-06 00:07:27 +01:00
Julius Härtl 3f6c1991e0 Merge pull request #42033 from nextcloud/perf/cache-trusted-servers-per-request 2023-12-05 20:52:53 +01:00
Julius Härtl 3bdabae487 Merge pull request #42021 from nextcloud/bugfix/noid/fix-undefined-array-entries 2023-12-05 20:52:13 +01:00
1 Man Projects 6ef5958007 Fix AppSettingsController.php overwriting currentLanguage
Fix for CurrentLanguage being overwritten by currentVersion thus breaking App-View

Signed-off-by: 1 Man Projects <reed@1manprojects.de>
2023-12-05 20:24:35 +01:00
Simon L b0976e4568 Merge pull request #42031 from nextcloud/enh/41614/fix-personal-settings
fix look of personal global credentials settings
2023-12-05 17:27:11 +01:00
Julius Härtl 8b5eeb1586 chore: Bump bundles
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2023-12-05 16:57:41 +01:00
Julius Härtl 782e0cfaa4 fix: Also filter out undefined entries from the file list
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2023-12-05 16:55:40 +01:00
Julius Härtl 1bff7ccb5c perf: Only query the db once for trusted servers
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2023-12-05 16:55:02 +01:00
Julius Härtl fd06f0c72d Merge pull request #41744 from nextcloud/3rdparty/json-schema 2023-12-05 15:10:14 +01:00
Joas Schilling 022577f082 Merge pull request #42001 from nextcloud/bugfix/noid/improve-logging-of-bulk-failures
fix(dav): Improve handling and logging of bulk upload failures
2023-12-05 15:09:21 +01:00
John Molakvoæ 788fc781be Merge pull request #41346 from nextcloud/fix/files/quota-warning 2023-12-05 14:18:25 +01:00
John Molakvoæ f0108cbe5f Merge pull request #41979 from nextcloud/fix/status-size 2023-12-05 14:17:17 +01:00
Simon L cafa805390 fix look of personal global credentials settings
Signed-off-by: Simon L <szaimen@e.mail.de>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-12-05 13:57:01 +01:00
Ferdinand Thiessen 1a8ac20a51 Merge pull request #41994 from nextcloud/fix/unified-search-show-better-labels
fix(UnifiedSearch): Show translated text for filter label
2023-12-05 12:56:31 +01:00
Ferdinand Thiessen 50ae2bbeea Merge pull request #42007 from nextcloud/fix/2f-ui
fix: inconsistencies in the shared two-factor UI
2023-12-05 12:55:48 +01:00
Ferdinand Thiessen 9fce9aef15 Merge pull request #41984 from nextcloud/automated/noid/master-fix-npm-audit
[master] Fix npm audit
2023-12-05 12:25:55 +01:00
John Molakvoæ f89ef392b3 fix(files): better upload error handling
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-12-05 12:10:39 +01:00
Joas Schilling e4460e3bff fix(dav): Improve handling and logging of bulk upload failures
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-12-05 12:03:06 +01:00
Ferdinand Thiessen 62006a76aa fix(UnifiedSearch): Show translated text for filter label
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-12-05 11:57:09 +01:00
John Molakvoæ 431ac74d78 feat(files): disable upload button if quota is reached
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-12-05 11:45:34 +01:00
John Molakvoæ ba6494907d feat(files): show quota warning on page load or if storage becomes full
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-12-05 11:43:03 +01:00
John Molakvoæ 09f49a2514 fix(files_sharing): fix sharing status indicator side after component update
Seems like the components now have max-height/width set too

Signed-off-by: John Molakvoæ <skjnldsv@users.noreply.github.com>
2023-12-05 11:36:38 +01:00
Julius Härtl 6c52242fb1 Merge pull request #41927 from nextcloud/perf/login-with-email-token 2023-12-05 11:11:33 +01:00
Ferdinand Thiessen 991f52971a Merge pull request #41993 from nextcloud/fix/move-heading-out-of-list-unified-search
fix(UnifiedSearch): Move headings out of list element (invalid HTML)
2023-12-05 11:07:33 +01:00
Joas Schilling fffbb06417 Merge pull request #41962 from nextcloud/fix/dav/check-current-ooo-time
fix(dav): Make current ooo info time-dependent
2023-12-05 10:52:28 +01:00
Andy Scherzinger 61685e830a Merge pull request #42019 from nextcloud/fix/41980/check-migration
+files_metadata_installed
2023-12-05 10:10:49 +01:00
Christoph Wurst 9a206c6282 fix(dav): Make current ooo info time-dependent
* If there is an out of office absence info and it happens now -> return
  data
* Else: return no data

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-12-05 08:36:50 +01:00
Maxence Lange 43469337b4 +files_metadata_installed
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2023-12-05 01:37:41 -01:00
Nextcloud bot 0f459ff6ba Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-12-05 00:21:19 +00:00
nextcloud-command 18087e7d50 chore(deps): fix npm audit
Signed-off-by: GitHub <noreply@github.com>
2023-12-04 15:12:48 -06:00
Julius Härtl ca60df9abd Merge pull request #42006 from nextcloud/bugfix/41448 2023-12-04 22:09:55 +01:00
nextcloud-command ca684c9113 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-12-04 19:56:52 +00:00
Julius Härtl d9ae4b6b43 fix: Properly take show_hidden user setting into account for file listing
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2023-12-04 20:35:51 +01:00
Varun Patil 1fd6273e11 Merge pull request #41985 from nextcloud/pulsejet/fix-log-exception
fix(dav): allow any throwable in logException
2023-12-04 07:34:51 -08:00
Joas Schilling b6e9132a5a fix(metadata): Fix copy-paste doc block throws
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-12-04 14:57:32 +01:00
Joas Schilling 3bff235126 Merge pull request #42008 from nextcloud/techdebt/noid/allow-to-load-multiple-metadata-with-1-query
fix(metadata): Allow to load metadata of multiple files at once
2023-12-04 14:44:27 +01:00
Joas Schilling 2a0daf7aff fix(metadata): Allow to load metadata of multiple files at once
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-12-04 13:34:10 +01:00
Richard Steinmetz e19dd541ac fix: inconsistencies in the shared two-factor UI
Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
2023-12-04 12:36:54 +01:00
Joas Schilling 89aa3957ce Merge pull request #41999 from nextcloud/bugfix/noid/handle-idn_to_utf8-returning-false
fix(security): Handle idn_to_utf8 returning false
2023-12-04 11:46:27 +01:00
Varun Patil a20556193c fix(files): allow any throwable in logException
If a TypeError is passed here, it in turn causes a TypeError which
kills the rendering of the error page.

Signed-off-by: Varun Patil <varunpatil@ucla.edu>
2023-12-04 10:46:51 +01:00
Joas Schilling 1066f7e6e2 Merge pull request #41995 from nextcloud/fix/template-manager-templatedirectory-empty
fix(TemplateManager): Bail early if templatedirectory is empty
2023-12-04 10:39:50 +01:00
Joas Schilling 33e1c8b236 fix(security): Handle idn_to_utf8 returning false
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-12-04 10:38:46 +01:00
Marcel Klehr 062a0efed5 fix(TemplateManager): Bail early if templatedirectory is empty
fixes #39266

Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-12-04 08:53:52 +01:00
Nextcloud bot df7bc46eab Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-12-04 00:18:27 +00:00
Ferdinand Thiessen 5c132e2063 chore: Compile assets
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-12-03 23:13:25 +01:00
Ferdinand Thiessen d14b351208 fix: Adjust code to be Vue 2.7 compatible as key on <template> is Vue3 only
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-12-03 23:09:16 +01:00
Ferdinand Thiessen 4983a35e1f fix(UnifiedSearch): Move headings out of list elements
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-12-03 22:11:47 +01:00
Nextcloud bot f778c6c344 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-12-03 00:18:21 +00:00
Daniel 8fec42fed5 Merge pull request #41971 from nextcloud/enh/upgrade-disable-web-instructions 2023-12-02 17:04:32 +01:00
Josh Richards f909520911 feat(Updater/Admin): Clarify instructions for upgrade.disable-web
Signed-off-by: Josh Richards <josh.t.richards@gmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-12-02 03:19:21 +01:00
Nextcloud bot 4efa24bd3f Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-12-02 00:21:18 +00:00
Ferdinand Thiessen 516fd73684 Merge pull request #41953 from nextcloud/fix/files-favorite-icon-label
fix(files): Move aria-label for favorite icon from span to icon
2023-12-02 00:17:08 +01:00
Ferdinand Thiessen 22b1c863bb chore: Compile assets
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-12-01 22:03:31 +01:00
Ferdinand Thiessen f79a1ad33e fix(files): Remove aria-label from span and move to favorite icon
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-12-01 22:02:11 +01:00
Grigorii K. Shartsev 2091b5af86 Merge pull request #41916 from nextcloud/fix/41835/files--add-visible-label-to-webdav-settings
fix(files): add visible label to webdav URL in settings
2023-12-02 01:10:52 +05:00
Grigorii K. Shartsev 15f9ec1439 chore(assets): recompile assets
Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
2023-12-01 20:57:01 +01:00
Grigorii K. Shartsev 909d8f2d2b fix(files): add label for WebDAV URL in files settings
Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
2023-12-01 20:41:25 +01:00
Joas Schilling 6b478605c2 Merge pull request #41942 from nextcloud/update/nextcloud-vue
chore: Update `@nextcloud/vue` to 8.3.0
2023-12-01 19:32:49 +01:00
Ferdinand Thiessen 02dc8e4729 chore: Update @nextcloud/vue to 8.3.0
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-12-01 18:38:13 +01:00
Ferdinand Thiessen e915c7d09e Merge pull request #41951 from nextcloud/fix/files-table-headers
fix(files): Remove confusing table header labels
2023-12-01 18:03:42 +01:00
Pytal 294330454b Merge pull request #40169 from nextcloud/enh/load-disabled-users-directly
enh(settings): Load from disabled users endpoint
2023-12-01 08:42:04 -08:00
Ferdinand Thiessen 57afeb10c3 chore: Compile assets
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-12-01 17:32:06 +01:00
Ferdinand Thiessen bb12b8e042 fix(files): Remove confusing table header labels
For screen readers the table header was very verbose and confusing,
as the SR reads out e.g. "sort list by name button FILENAME" for every row / file.
Instead reduce it to "name button FILENAME" and add information about sorting to caption, as recommended by WCAG [1]

[1]: https://www.w3.org/WAI/ARIA/apg/patterns/table/examples/sortable-table/

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-12-01 17:30:23 +01:00
Arthur Schiwon 0fc8c15cd2 Merge pull request #41650 from nextcloud/enh/6428/ldap-group-admin-mapping
feat(LDAP): implement IIsAdmin interface
2023-12-01 13:59:37 +01:00
Marcel Klehr e27e2e4395 Merge pull request #41844 from nextcloud/fix/tp-api-covariance
fix(TextProcessing): Add task type template param to IManager and registerTPProvider
2023-12-01 13:24:17 +01:00
Arthur Schiwon 37237dc183 feat(LDAP): warn about demoting a group while promoting another
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2023-12-01 12:48:24 +01:00
Arthur Schiwon 18e6c9f5bc enh(LDAP): add occ command to promote an LDAP group to admin
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2023-12-01 12:48:24 +01:00
Arthur Schiwon d6b356c63b enh(LDAP): implement IIsAdmin interface
- add configuration to specify one LDAP group acting as admin group (CLI)
- implement `isAdmin()` method, basically relying on inGroup against the
  configured group

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2023-12-01 12:48:24 +01:00
Marcel Klehr fe6d9e33b4 fix(TextProcessing): Make task type template param covariant
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-12-01 11:52:42 +01:00
Andy Scherzinger 546cf0ed2f Merge pull request #41958 from nextcloud/fix/cypress-global-search-modal
fix(cypress): Adjust user columns tests
2023-12-01 11:44:51 +01:00
Joas Schilling 1ca7ba7671 Merge pull request #41957 from nextcloud/feat/41458/add-ocs-endpoint-for-setting-ooo
feat(out-of-office): Add OCS endpoint to set and clear absence
2023-12-01 10:24:05 +01:00
Joas Schilling 2ff3a3c4fb fix(out-of-office)!: Remove non OCS endpoint
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-12-01 09:46:03 +01:00
Ferdinand Thiessen 869935f8ef fix(cypress): Adjust user columns tests to be more specific when selecting a modal
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-12-01 09:28:17 +01:00
Joas Schilling 2abf8e921b feat(out-of-office): Migrate frontend to OCS endpoint
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-12-01 09:16:01 +01:00
Joas Schilling 6eef5c9f1b feat(out-of-office): Add OCS endpoint to set and clear absence
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-12-01 09:15:18 +01:00
Joas Schilling 3267ad7630 Merge pull request #41931 from nextcloud/techdebt/noid/add-typing
techdebt(Middleware): Add more specific array types so its clickable in IDEs
2023-12-01 08:00:00 +01:00
Joas Schilling e34c6ce504 Merge pull request #41928 from nextcloud/bugfix/noid/fix-copyright-headers
fix(copyright): Fix copyright doc blocks
2023-12-01 07:59:33 +01:00
Côme Chilliet adc43eae9b Invert parameter order in getDisabledUserList to be consistent
This matches what was done in the calls and so fixes getting disabled
 user list when there are several backends returning disabled users.

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-11-30 17:15:12 -08:00
Christopher Ng ceca099f29 chore: compile assets
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-11-30 17:15:12 -08:00
Christopher Ng f9bd957b03 enh(settings): Load from disabled users endpoint
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-11-30 17:15:12 -08:00
Nextcloud bot f49550db97 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-12-01 00:18:33 +00:00
Ferdinand Thiessen da346aa80e fix(theming): Adjust dark theme to be accessible adjust cypress tests
Also fix warning text color for bright / default theme on blurry background

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-12-01 00:58:30 +01:00
Andy Scherzinger 254914a735 Merge pull request #41937 from nextcloud/bugfix/noid/dont-throw-500-when-max-delay-reached
fix(bruteforce-protection): Don't throw a 500 when MaxDelayReached is…
2023-11-30 21:53:49 +01:00
F. E Noel Nfebe 5a4ac4ae67 Merge pull request #41885 from nextcloud/fix-enforced-options-share
Improve share logic for enforced password & expiry date
2023-11-30 21:45:28 +01:00
Julius Härtl 0ccf84bb31 perf: Add partial index on configvalue of preferences table
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2023-11-30 20:51:48 +01:00
Julius Härtl 3cd1d74a81 fix: Only apply cast if needed when searching users for value
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2023-11-30 20:51:48 +01:00
Julius Härtl a3a343ce41 perf: Use more performant way to obtain and check the email as a login name with token login
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2023-11-30 20:51:47 +01:00
Louis e0d1e7cbf8 Merge pull request #41924 from nextcloud/artonge/debt/comment_sync_live_photos
Add comment in SyncLivePhotosListener
2023-11-30 17:33:01 +01:00
nextcloud-command 746924867c chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-11-30 16:23:23 +00:00
F. E Noel Nfebe 958495fbc5 Merge pull request #41729 from nextcloud/disable-old-unified-search-default
Enable new global search by default
2023-11-30 17:17:52 +01:00
Joas Schilling e5e139f5a6 fix(bruteforce-protection): Don't throw a 500 when MaxDelayReached is thrown
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-11-30 15:01:27 +01:00
Louis Chemineau e6bc34c6b2 Add comment in SyncLivePhotosListener
Signed-off-by: Louis Chemineau <louis@chmn.me>
2023-11-30 12:59:57 +01:00
Joas Schilling ce583cb67b techdebt(Middleware): Add more specific array types so its clickable in IDEs
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-11-30 12:27:08 +01:00
fenn-cs b5981f67b4 Enable new global search by default
The new global search would now be activated by default and users,
 have the option to revert to the old unified search by setting `unified_search.enabled`
to true in the NC `config.php` file.

Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
2023-11-30 12:20:13 +01:00
Andy Scherzinger ef3b1a86eb Merge pull request #41923 from nextcloud/fix/app-menu-icon-size
fix(core): app icon alignment in app menu
2023-11-30 12:11:09 +01:00
fenn-cs 9d86a0444d Improve share logic for enforced password & expiry date
* It's possible for the admin to enforce and expiry date after, some
 shares have been created. This commit makes possible to update the
 share with the new admin constraints.

* This commit would users to modify enforced expiry to anything within
 range and less than the enforced limit in the pre-create dialog for public
 shares.

* This commit fixes, unable to update share without updating password.

Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
2023-11-30 11:58:35 +01:00
Joas Schilling 73c0f596f7 fix(copyright): Fix copyright doc blocks
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-11-30 11:53:47 +01:00
Anna bcc1d57a03 Merge pull request #41799 from nextcloud/fix/revert-user-status-composer-classloader 2023-11-30 11:26:17 +01:00
Ferdinand Thiessen 63b1084242 Merge pull request #41808 from nextcloud/accessibility/breadcrumbs
accessibility fix - changed the dir attribute to have valid value
2023-11-30 11:12:19 +01:00
Grigorii K. Shartsev 9ee1a8f1e5 chore(assets): recompile assets
Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
2023-11-30 10:54:42 +01:00
Grigorii K. Shartsev e02db1fb48 fix(core): app icon alignment in app menu
Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
2023-11-30 10:53:04 +01:00
Louis bdc7c64ec7 Merge pull request #41765 from nextcloud/artonge/feat/sync_live_photos
Synchronize operation on live photo files
2023-11-30 10:33:42 +01:00
Eduardo Morales bcc41df1ae accessibility fix - changed the dir attribute to have valid value, keeping previous value as data-dir
Signed-off-by: Eduardo Morales <emoral435@gmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-11-30 03:04:44 +00:00
Nextcloud bot 7cc66998a2 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-11-30 00:22:32 +00:00
Andy Scherzinger ff06a803e6 Merge pull request #41911 from nextcloud/update/vue/master
update @nextcloud/upload to 1.0.2
2023-11-29 23:58:07 +01:00
root 9f99d34196 update @nextcloud/uploader to 1.0.2
Signed-off-by: Simon L <szaimen@e.mail.de>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-11-29 23:02:53 +01:00
Andy Scherzinger 82f0619df3 Merge pull request #41771 from nextcloud/always-emit-search-event
Always emit search event
2023-11-29 22:09:48 +01:00
Joas Schilling a5a49ffd80 Merge pull request #41855 from nextcloud/bugfix/41352/fix-settings-app-icons
fix(theming): Fix color inverted icons based on theming and dark mode
2023-11-29 21:10:57 +01:00
fenn-cs e99d7ba6c4 Always emit search event
For BOD, it's better to always emit the search event so
 apps (all of which we don't know) responding to this effect would receive notifications when
the search happens within these apps.

Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
2023-11-29 20:14:42 +01:00
Andy Scherzinger 0a8ceb4c0c Merge pull request #41785 from nextcloud/fix-open-search-result
Migrate openResult method to SearchResult component
2023-11-29 19:44:58 +01:00
Louis Chemineau 2f6a4bf4a1 Synchronize operation on live photo files
Signed-off-by: Louis Chemineau <louis@chmn.me>
2023-11-29 19:07:32 +01:00
fenn-cs 00bb1bc86e Migrate openResult method to SearchResult component
After moving the `SearchResult` to its own component and leaving
 out the openResult method, the search results do not lead anywhere but
 but error out.

Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-11-29 15:55:20 +00:00
Joas Schilling d05a13fc76 Fix more active entry icons
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-11-29 16:38:41 +01:00
Joas Schilling 9c0ba1bab9 fix(theming): Fix color inverted icons based on theming and dark mode
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-11-29 16:38:41 +01:00
Ferdinand Thiessen b213fc7c74 Merge pull request #41792 from nextcloud/avoid-mutating-prop
Handle close GlobalSearchModal gracefully
2023-11-29 16:27:01 +01:00
Christoph Wurst 1d825f3d99 Merge pull request #41867 from nextcloud/update-mimetype-msg
fix: change mime type for msg file
2023-11-29 15:53:24 +01:00
Christoph Wurst f8125cbdfc Merge pull request #41816 from nextcloud/fix/dav/single-day-ooo
fix(dav): Allow single-day out of office
2023-11-29 15:52:28 +01:00
nextcloud-command 2887956037 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-11-29 14:22:58 +00:00
fenn-cs 0d938cc90e Handle close GlobalSearchModal gracefully
The current close infrastructure modifies a prop which has
 no real effect aside bugs.

In addition, calling the `NcModal.close()` as the primary way to
 close the search modal instead of using the states defined in `GlobalSearch` view
 causing re-open bugs (Modal cannot open, needs to click twice, and other weird stuff).

Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-11-29 15:18:11 +01:00
Andy Scherzinger 8f7a138c5c Merge pull request #41781 from nextcloud/minor-ui-updates-global-search
UI updates for global search
2023-11-29 15:08:41 +01:00
Christoph Wurst c29eaf52e3 Merge pull request #41866 from nextcloud/fix/dav/login-timezone
fix(dav): Prioritize timezone from core/login
2023-11-29 15:01:51 +01:00
Christoph Wurst 84cfbe6b19 fix(dav): Allow single-day out of office
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-11-29 14:25:00 +01:00
Christoph Wurst e589232815 Merge pull request #41703 from nextcloud/fix/dav/ooo-date-conversion
fix(dav): Convert dates without tz drift
2023-11-29 14:09:54 +01:00
fenn-cs 1534ba0c65 Fix date filter wording & improve search feedback
- Show loading when actually loading, instead of no content
- Change modified label to `Date` as it applies to a bunch of things.

Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-11-29 12:24:23 +00:00
Daniel Kesselberg 9f76600c88 fix: change mime type for msg file
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2023-11-29 12:27:55 +01:00
Christoph Wurst 8b38d49437 fix(dav): Prioritize timezone from core/login
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-11-29 12:17:30 +01:00
Christoph Wurst f1a18bbe0c fix(dav): Timezone drift of OOO event
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-11-29 11:45:16 +01:00
Christoph Wurst 412916166d fix(dav): Convert dates without tz drift
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-11-29 11:45:14 +01:00
fenn-cs 1c5ceaff9b Unbold user names in SearchableList
Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
2023-11-29 11:35:31 +01:00
fenn-cs 1fe7ba57c8 Improve accesibility for search tags/chips
- Use stand font of filter tags/chips
- No bold
- Use close icon and no close thick

Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
2023-11-29 11:35:27 +01:00
Andy Scherzinger 6e3781b486 Merge pull request #41818 from nextcloud/techdebt/noid/clarify-ooo-return-data
fix(OOO): Make the returned data more explicit
2023-11-29 10:49:17 +01:00
Andy Scherzinger 16de85d8bb Merge pull request #41803 from nextcloud/register-eml-msg
fix: add mimetype for eml and msg
2023-11-29 09:29:17 +01:00
Joas Schilling aaaf0406b0 fix(OOO): Make the returned data more explicit
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-11-29 09:14:05 +01:00
Christoph Wurst 4d2a32a79b Merge pull request #41759 from nextcloud/fix/dav/ooo-form-mandatory-message
fix(dav): Make ooo settings a form and the message required
2023-11-29 08:54:25 +01:00
Nextcloud bot 7791415322 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-11-29 00:20:25 +00:00
Grigorii K. Shartsev 3f041ef690 Merge pull request #41619 from nextcloud/fix/files--active-state-on-list-item-click
fix(files): remove focus outline on file list item click and make the link focusable
2023-11-29 03:35:41 +05:00
Grigorii K. Shartsev c90ae200d3 chore(assets): Recompile assets
Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
2023-11-28 22:52:17 +01:00
Grigorii K. Shartsev e6bdbdbdb8 refactor(files): replace deprecated is attr on <a> with dynamic component
- Special attribute `is` is deprecated and removed in Vue 3
- It is confusing, that `<a>` element is rendered as `span` sometimes

Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
2023-11-28 22:04:39 +01:00
Grigorii K. Shartsev fedd5316d3 fix(files): make file list item link focusable
Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
2023-11-28 22:04:39 +01:00
Grigorii K. Shartsev 2f186512eb fix(files): remove focus outline on file list item click
Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
2023-11-28 22:04:39 +01:00
Pytal 4aa8433b39 Merge pull request #41809 from nextcloud/fix/hidden-password-confirmation
fix: Hidden password confirmation dialog with new global search
2023-11-28 12:29:32 -08:00
Christopher Ng f10af575b3 chore: compile assets
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-11-28 10:50:05 -08:00
Christopher Ng 5525edd805 fix: Hidden password confirmation dialog
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-11-28 10:50:05 -08:00
Christopher Ng 919b5dbdf5 fix(settings): Duplicate update user manager calls
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-11-28 10:50:05 -08:00
Richard Steinmetz edc48807f1 Merge pull request #41778 from nextcloud/fix/dav/schedule-ooo-jobs
fix(dav): don't schedule out-of-office jobs for dates in the past
2023-11-28 19:40:49 +01:00
Andy Scherzinger 45551f5356 Merge pull request #41753 from nextcloud/Valdnet-patch-1
Spelling correction
2023-11-28 17:55:12 +01:00
Daniel Kesselberg dea865d247 fix: add mimetype for eml and msg
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2023-11-28 17:12:21 +01:00
Côme Chilliet 6b48f05b6f Merge pull request #41468 from nextcloud/feat/migrate-database-pending-bigint-conversions
Migrate database pending bigint conversions
2023-11-28 16:05:48 +01:00
Andy Scherzinger 19a9dac567 Update test for changed string - openInFilesAction.spec.ts
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2023-11-28 15:48:58 +01:00
Valdnet d876008072 Change to capital letter
Signed-off-by: Valdnet <47037905+Valdnet@users.noreply.github.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-11-28 15:48:58 +01:00
Valdnet 9064171b27 Correct a typo
Signed-off-by: Valdnet <47037905+Valdnet@users.noreply.github.com>
2023-11-28 15:48:58 +01:00
Richard Steinmetz 26248d0fed fix(dav): don't schedule out-of-office jobs for dates in the past
Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
2023-11-28 15:21:06 +01:00
Anna Larch 8ae110640e fix(userstatus): revert ClassLoader changes
Signed-off-by: Anna Larch <anna@nextcloud.com>
2023-11-28 15:00:20 +01:00
Joas Schilling 3365c87dd4 Merge pull request #41766 from nextcloud/bugfix/noid/remove-Could-not-find-resource-main.js
fix(files_external): Fix "Could not find resource main.js to load"
2023-11-28 14:09:56 +01:00
Côme Chilliet 60bc97e543 Migrate away from deprecated doctrine/dbal getName function
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-11-28 14:08:10 +01:00
Côme Chilliet 51758117a7 Migrate database pending bigint conversions check to new API
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-11-28 14:07:47 +01:00
Côme Chilliet 624f8f82ca Merge pull request #41460 from nextcloud/feat/migrate-database-missing-checks
Migrate database missing checks
2023-11-28 14:06:19 +01:00
Louis a61ec60dc3 Merge pull request #40939 from nextcloud/pulsejet/sidebar-tags
sidebar: allow turning off tags view by default
2023-11-28 13:43:50 +01:00
Git'Fellow 394cd75322 Merge pull request #41272 from nextcloud/fixOccScans
fix: reduce memory consumption of scans
2023-11-28 11:36:59 +01:00
Anna 258c863c5e Merge pull request #41714 from nextcloud/enh/add-ooo-and-remove-user-status 2023-11-28 11:34:56 +01:00
Anna Larch f19645adab enh(userstatus): add OOO automation and remove calendar automation
Signed-off-by: Anna Larch <anna@nextcloud.com>
2023-11-28 10:28:06 +01:00
Arthur Schiwon 53f3149804 Merge pull request #41779 from nextcloud/bugfix/noid/use-destinct-exception-so-apps-dont-parse-messages
fix(API): Use a distinct exception so apps can react to it and custom…
2023-11-28 10:25:18 +01:00
Joas Schilling f6b6776c93 fix(API): Use a distinct exception so apps can react to it and customize the return
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-11-28 06:11:57 +01:00
Ferdinand Thiessen 2d9f38e0be Merge pull request #41777 from nextcloud/fix/comments-use-ncdatetime
enh(comments): Move from Moment.js to `NcDateTime`
2023-11-28 02:53:11 +01:00
Pytal 4ff951c09b Merge pull request #41782 from nextcloud/fix/load-files-list
fix(files): Empty files list when uid contains special chars
2023-11-27 17:22:39 -08:00
Nextcloud bot 79aa8bb64c Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-11-28 00:26:21 +00:00
Christopher Ng 22fc31bf03 chore: compile assets
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-11-27 18:06:27 -06:00
Christopher Ng 52cf1b3178 fix(files): Empty files list when uid contains special chars
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-11-27 18:06:27 -06:00
Eduardo Morales f6059064f3 Merge pull request #41709 from nextcloud/fix/files-copy-move-action
fix(files): Reverse logic to prevent copy to itself
2023-11-27 13:15:50 -06:00
Varun Patil c581024540 sidebar: allow turning off tags view by default
With #37065, there is no way to hide the tags from the sidebar
by default when they are not relevant or redundant (e.g. the tab
may already show the file's tags). This can be annyoing especially
when the file has many tags. This patch adds an option to hide
the tags from the sidebar by default (the user can still open
the tags tab manually).

This also reduces one request when opening the sidebar when the
tags are turned off, since all tags don't need to be fetched
anymore.

Signed-off-by: Varun Patil <varunpatil@ucla.edu>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-11-27 18:25:09 +00:00
Ferdinand Thiessen 5d669abd11 Merge pull request #41749 from nextcloud/checkUserOwner
fix(files_versions): Check for user and owner before call getUserFolder
2023-11-27 19:16:03 +01:00
Ferdinand Thiessen c89c352ecb chore: Compile assets
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-11-27 19:13:36 +01:00
Ferdinand Thiessen c79c12e9da enh(files): Add cypress tests for copy and move
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-11-27 19:12:19 +01:00
Ferdinand Thiessen 2357f839fe fix(files): Correct condition for checking copy/move into same directory
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-11-27 19:12:19 +01:00
Ferdinand Thiessen c54c6a8a13 Merge pull request #41693 from nextcloud/fix/files-drag-and-drop
fix(files): Allow to drag and drop new files also on empty directories
2023-11-27 19:06:24 +01:00
Christoph Wurst ecc1576be6 fix(dav): Make ooo settings a form and the message required
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-11-27 18:41:34 +01:00
Ferdinand Thiessen 7e48ea0688 chore: Compile assets
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-11-27 17:36:28 +01:00
Ferdinand Thiessen 0dfbd129e1 fix(config): Adjust typescript config to allow .ts imports and Typescript in Vue files
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-11-27 17:35:14 +01:00
Ferdinand Thiessen c91cdb2631 fix(files): Show error message if drag-and-drop upload fails
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-11-27 17:35:14 +01:00
Ferdinand Thiessen e30ce44dac fix(files): Allow to drag and drop new files also on empty directories
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-11-27 17:35:14 +01:00
Ferdinand Thiessen c13b748dea Merge pull request #41710 from nextcloud/fix/files-table-header
fix(files): Adjust table header to look like on previous versions
2023-11-27 17:31:29 +01:00
Ferdinand Thiessen 78093641e6 chore: Compile assets
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-11-27 17:08:54 +01:00
Ferdinand Thiessen 7eeacd963f fix(files): Adjust table header to look like on previous versions
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-11-27 17:07:09 +01:00
Côme Chilliet 9a1f5edb65 Missing things in database should be warning, not info
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-11-27 15:23:52 +01:00
Côme Chilliet 6b0d295307 fix(tests) Fix CheckSetupControllerTest
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-11-27 15:23:52 +01:00
Côme Chilliet a0e365f6d2 Switch from deprecated hasPrimaryKey to getPrimaryKey function
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-11-27 15:23:52 +01:00
Côme Chilliet 1b547c7db8 Migrate missing primary key database check to new API
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-11-27 15:23:52 +01:00
Côme Chilliet ad88c04f2d Migrate missing index database check to new API
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-11-27 15:23:52 +01:00
Côme Chilliet 2cb1c0f2dc Migrate missing column database check to new API
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-11-27 15:23:52 +01:00
Git'Fellow 4173dfe05b fix(files_versions): Explicitly check for user or owner before call getUserFolder
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>

Fix typo

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

Fix

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

Fix

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

Fix

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

Optimize DI

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

Switch to DI

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

userSession does not contain null

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

Restore phpdoc annots

Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
2023-11-27 15:17:13 +01:00
Ferdinand Thiessen 39ea18e825 chore: Compile assets
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-11-27 15:15:47 +01:00
Ferdinand Thiessen c27b94a80f fix(comments): Move from Moment.js to NcDateTime
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-11-27 15:15:31 +01:00
Joas Schilling b3e24a6bf2 Merge pull request #41764 from nextcloud/nickvergessen-patch-1
Update list of PHP versions
2023-11-27 12:55:32 +01:00
Joas Schilling 64f5faf8b5 fix(files_external): Fix "Could not find resource main.js to load"
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-11-27 12:35:41 +01:00
Joas Schilling 41d3112107 Update list of PHP versions
Signed-off-by: Joas Schilling <213943+nickvergessen@users.noreply.github.com>
2023-11-27 11:52:42 +01:00
Benjamin Gaussorgues e4162798b8 Merge pull request #41738 from nextcloud/feat/hide-dav-search-provider-if-no-app 2023-11-27 10:49:14 +01:00
Joas Schilling 3ccb301853 Merge pull request #41578 from nextcloud/enh/noid/dispatcher-test-argument-range
Enable AppFramework dispatcher to enforce integer ranges
2023-11-27 10:40:50 +01:00
Benjamin Gaussorgues 2a4465dc1b feat(dav): hide search providers if their respective app is not activated
Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
2023-11-27 09:38:22 +01:00
Joas Schilling 011390aacb Merge pull request #41640 from nextcloud/bugfix/noid/fix-memory-limit-setup-check
fix(setupcheck): Fix memory limit setup check
2023-11-27 06:39:57 +01:00
Nextcloud bot 010643394c Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-11-27 00:22:59 +00:00
Nextcloud bot 371aa1bc5d Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-11-26 00:23:38 +00:00
Julius Härtl 8545d7ffc5 chore: Update 3rdparty justinrainbow/json-schema
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2023-11-25 08:55:53 +01:00
Nextcloud bot 28e0ccfed9 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-11-25 00:25:54 +00:00
Andy Scherzinger 3b9c24022c Merge pull request #41685 from nextcloud/artonge/fix/download_permissions
Ensure share has download permissions in F2V
2023-11-24 18:51:19 +01:00
Louis 78e75bffae Ensure share has download permissions in F2V
Signed-off-by: Louis <louis@chmn.me>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-11-24 17:14:57 +00:00
Maxence Lange 0b75fe1b02 Merge pull request #41705 from nextcloud/fix/noid/test-dav-v2-confirm-content
confirm content on dav-v2 test
2023-11-24 16:07:16 -01:00
Louis f56866cc82 Ensure share has download permissions in F2V
Signed-off-by: Louis <louis@chmn.me>
2023-11-24 16:47:43 +01:00
Maxence Lange d821f7487a confirm content on dav-v2 test
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2023-11-24 11:11:48 -01:00
Andy Scherzinger 94d1a00672 Merge pull request #41719 from nextcloud/bugfix/41711/fix-actionbutton-labels
Fix action button labels
2023-11-24 13:05:14 +01:00
Julien Veyssier d3fa95465f Merge pull request #41632 from nextcloud/fix/relative-url-x-requested-with
Fix adding x-requested-with header for relative URLs in some cases
2023-11-24 12:50:10 +01:00
Arthur Schiwon 4827fc3eda docs(openapi): update definitions
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2023-11-24 12:46:38 +01:00
Arthur Schiwon 89094c76cf enh(noid): reasonabley limit amount of possible dashboard widget items
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2023-11-24 12:46:38 +01:00
Arthur Schiwon 3fa43a529b enh(dispatcher): enforce psalm ranges in the http dispatcher
- allows devs to provide int ranges for API arguments

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2023-11-24 12:46:38 +01:00
Julien Veyssier 5d5572c725 compile assets
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
2023-11-24 11:33:08 +01:00
Julien Veyssier bb3d7288dd fix adding x-requested-with header for relative URLs when the base NC URL is empty
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
2023-11-24 11:33:08 +01:00
Ferdinand Thiessen 957a4e8656 Merge pull request #41712 from nextcloud/fix/make-cypress-work-again
fix(cypress): Adjust cypress tests that relied on version to be 28
2023-11-24 11:31:18 +01:00
Christoph Wurst 704326f528 Merge pull request #41722 from nextcloud/fix/dav/date-diffing-push-notifications
fix(dav): Avoid date diffing if PHP is buggy
2023-11-24 11:05:20 +01:00
Marco Ambrosini 53a6857287 Fix action button labels
Signed-off-by: Marco Ambrosini <marcoambrosini@icloud.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-11-24 08:57:59 +00:00
Christoph Wurst 096537eae5 fix(dav): Avoid date diffing if PHP is buggy
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-11-24 09:45:56 +01:00
Christoph Wurst eeba809a52 Merge pull request #41440 from nextcloud/feat/dav/out-of-office-job
feat(dav): dispatch out-of-office started and ended events
2023-11-24 07:20:00 +01:00
Ferdinand Thiessen 4e8484608a Merge pull request #41683 from nextcloud/fix/41677-ab_navigation_stops_on_2_elements_inside
Remove unneeded links and add `focus-visible` state on a link
2023-11-24 01:49:55 +01:00
Ferdinand Thiessen 9dd83826df Merge pull request #41707 from nextcloud/fix/missing-icons-on-filepicker
fix(files): Use SVG as FilePicker buttons to bring back icons
2023-11-24 01:48:02 +01:00
Nextcloud bot 2ec9936b93 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-11-24 00:27:09 +00:00
Ferdinand Thiessen d58b41301a fix(cypress): Adjust cypress tests that relied on version to be 28
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-11-24 00:57:55 +01:00
julia.kirschenheuter 58d34f0f60 Remove unneeded links and add focus-visible state on a link
Signed-off-by: julia.kirschenheuter <julia.kirschenheuter@nextcloud.com>
2023-11-24 00:51:33 +01:00
Ferdinand Thiessen faa2f2d551 chore: Compile assets
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-11-24 00:49:31 +01:00
Ferdinand Thiessen de61d2a791 fix(files): Use SVG as FilePicker icons instead of Vue components
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-11-24 00:49:31 +01:00
Ferdinand Thiessen a9c627cd91 Merge pull request #41687 from nextcloud/fix/unified-search-view
fix(core): Subscribe to navigation changes on mounted for Unified search
2023-11-23 21:27:41 +01:00
Arthur Schiwon 5f159d43c9 Merge pull request #41652 from nextcloud/global-search-focus-input
Focus global search input on open
2023-11-23 20:38:53 +01:00
fenn-cs 8c6c0d1c85 Focus global search input on open
For better accesibility, the search input in the global search
modal should be focused when the search modal is opened.

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

Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-11-23 17:40:37 +00:00
Richard Steinmetz 8191295f66 feat(dav): dispatch out-of-office started and ended events
Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
2023-11-23 17:18:49 +01:00
Andy Scherzinger 953382e937 Merge pull request #41669 from nextcloud/app-based-filtering-global-search
Add app-based filtering to global search
2023-11-23 16:51:35 +01:00
fenn-cs a67905a8c6 Add app-based filtering to global search
Emit search queries from the global search modal that would trigger
list filtering in various apps that support it.

Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-11-23 13:02:27 +00:00
Andy Scherzinger 7646f68cd7 Merge pull request #41680 from nextcloud/Jerome-Herbinet-change-update-wording
Replace "Update" with "Edit" in advanced share settings
2023-11-23 13:58:18 +01:00
Andy Scherzinger ea9127cd02 Merge pull request #41672 from nextcloud/bugfix/4872/fix-star-stroke-color
Fix star stroke color on hover
2023-11-23 13:55:39 +01:00
Ferdinand Thiessen fca05f4613 fix(core): Subscribe to navigation changes on mounted for Unified search
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-11-23 13:26:42 +01:00
Arthur Schiwon c5caae1bf0 Merge pull request #41678 from nextcloud/branchoff/master-is-now-29
Master is now 29
2023-11-23 12:02:20 +01:00
Joas Schilling 3d814b0c36 Merge pull request #39271 from nextcloud/bump-coding-standards
Bump CS Fixer rules to follow latest Nextcloud standards
2023-11-23 11:40:02 +01:00
Jérôme Herbinet 50d6213db3 npm run build
Signed-off-by: Jérôme Herbinet <33763786+Jerome-Herbinet@users.noreply.github.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-11-23 10:35:30 +00:00
Jérôme Herbinet 931120b85d Replace "Update" with "Edit"
Signed-off-by: Jérôme Herbinet <33763786+Jerome-Herbinet@users.noreply.github.com>
2023-11-23 11:05:25 +01:00
Joas Schilling 376f8c3574 chore(assets): Recompile JS
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-11-23 10:39:07 +01:00
Joas Schilling aa5f037af7 chore: apply changes from Nextcloud coding standards 1.1.1
Signed-off-by: Joas Schilling <coding@schilljs.com>
Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
2023-11-23 10:36:13 +01:00
Joas Schilling 272719ed1c fix(CI): Also apply codestyle to apps/ folder even when it's VCS ignored itself
Signed-off-by: Joas Schilling <coding@schilljs.com>
Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
2023-11-23 10:36:13 +01:00
Benjamin Gaussorgues c196d37899 Bump CS Fixer rules to follow latest Nextcloud standards
Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
2023-11-23 10:36:13 +01:00
Joas Schilling 64e0829fc8 feat(branchoff): Bump versions and requirements in apps
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-11-23 10:09:40 +01:00
Joas Schilling 22343f9e58 feat(release): Bump Server version to 29
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-11-23 10:09:40 +01:00
Joas Schilling 61572c1985 fix(security): Update expiration date in security.txt
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-11-23 10:09:39 +01:00
Joas Schilling 2f26f647ab fix(CI): Add stable28 to GitHub Actions
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-11-23 10:09:39 +01:00
Maxence Lange 09879700aa Merge pull request #41668 from nextcloud/enh/noid/test-dav-favorite-search
test boolean favorite
2023-11-23 07:53:39 -01:00
Maxence Lange ee787cd1c6 Merge pull request #41459 from nextcloud/enh/noid/search-metadata-null
implements search on null/notnull metadata
2023-11-23 07:52:27 -01:00
Joas Schilling f1a7fcea81 Merge pull request #41676 from nextcloud/bugfix/noid/fix-reminder-version
fix(reminder): Fix app version and requirement for files_reminder app
2023-11-23 09:38:02 +01:00
Marco Ambrosini accdb2d712 Fix star stroke color on hover
Signed-off-by: Marco Ambrosini <marcoambrosini@icloud.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-11-23 09:24:25 +01:00
Joas Schilling d9d3c02125 fix(reminder): Fix app version and requirement for files_reminder app
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-11-23 09:24:19 +01:00
Kate cd25b3a0d1 Merge pull request #41662 from nextcloud/chore/settings/cleanup-manager-type-annotations 2023-11-23 09:21:01 +01:00
Andy Scherzinger 27f96722f3 Merge pull request #41673 from nextcloud/Valdnet-patch-1
Correct spelling
2023-11-23 09:18:28 +01:00
Simon L 72d5218c41 Merge pull request #41603 from nextcloud/automated/noid/master-fix-npm-audit
[master] Fix npm audit
2023-11-23 08:50:06 +01:00
Valdnet 318875a16e Add quotation marks
Signed-off-by: Valdnet <47037905+Valdnet@users.noreply.github.com>
2023-11-23 08:43:20 +01:00
Valdnet ea3865138f Correct spelling
Signed-off-by: Valdnet <47037905+Valdnet@users.noreply.github.com>
2023-11-23 08:39:17 +01:00
jld3103 ae360080f5 chore(settings): Cleanup IManager and Manager type annotations
Signed-off-by: jld3103 <jld3103yt@gmail.com>
2023-11-23 08:29:37 +01:00
nextcloud-command efed41fe6a chore(deps): fix npm audit
Signed-off-by: GitHub <noreply@github.com>
2023-11-23 08:00:31 +01:00
rakekniven 5c26bd3447 Merge pull request #41666 from nextcloud/Valdnet-patch-2
Add quotation marks
2023-11-23 07:13:23 +01:00
Maxence Lange fbe92d4a90 fixing test
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2023-11-23 00:43:26 -01:00
Nextcloud bot faa6ac3809 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-11-23 00:26:03 +00:00
Andy Scherzinger 42724c15c5 Merge pull request #40462 from nextcloud/refactor/lib-array_search-to-in_array
refactor: Replace array_search with in_array in lib/
2023-11-22 20:42:52 +01:00
Andy Scherzinger e490ac6e8b Merge pull request #41649 from nextcloud/bug/noid/lower-sync-threshold
fix: lower threshold for system address book sync
2023-11-22 20:36:11 +01:00
Andy Scherzinger 83c6db44c7 Merge pull request #41642 from nextcloud/Valdnet-patch-1
Correct spelling of Brute Force and other fixes
2023-11-22 19:27:46 +01:00
Pytal ca91eda240 Merge pull request #41638 from nextcloud/fix/41625-Replace_contacts-menu_search_and_unified-search_with_NcTextField
Replace input form with `NcTextField`
2023-11-22 09:39:16 -08:00
Andy Scherzinger 0309faa60b Merge pull request #41656 from nextcloud/enh/41620/shared-label-takes-a-lot-of-space-in-files-list
Show shared label only if the current user have shared the file.
2023-11-22 17:19:14 +01:00
Marco Ambrosini fc3636792a Show shared label only if the current user have shared the file.
The presence of the text "Sharing label" in all shared files caused
the view to be too loaded, so it's been decided to show it only when
the current user is the owner of the share.

Signed-off-by: Marco Ambrosini <marcoambrosini@proton.me>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-11-22 15:41:50 +00:00
Simon L 46b0e1bef1 Merge pull request #41481 from nextcloud/enh/beta-improvements
Enh/beta improvements
2023-11-22 16:29:53 +01:00
Arthur Schiwon 99f945622f Merge pull request #40071 from nextcloud/bugfix/noid/dont-block-admin-page-when-updater.nextcloud.com-is-down
fix(updatecheck): Don't wait 120s for a response of updater.nextcloud…
2023-11-22 15:18:18 +01:00
Maxence Lange fa17de290d test boolean favorite
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2023-11-22 13:17:49 -01:00
Daniel Kesselberg 7b74b07046 fix: lower threshold for system address book sync
- Switch back to countUsers to have the actual value. countSeenUsers is bad if Nextcloud is connected to a larger directory, but only a part is using Nextcloud and therefore the seen count is much lower because the sync is done for all users.
- Lower the threshold to 100 for smaller installations.

Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2023-11-22 14:59:02 +01:00
Valdnet 54197bc2d0 Add quotation marks
Signed-off-by: Valdnet <47037905+Valdnet@users.noreply.github.com>
2023-11-22 14:55:23 +01:00
Arthur Schiwon 1cd4d4e018 Merge pull request #39739 from nextcloud/fix/db/print-migration-generation-error
fix(db): Print why the migration file could not be created
2023-11-22 14:52:39 +01:00
Louis Chemineau a93af13c12 Fix is-define operator
Signed-off-by: Louis Chemineau <louis@chmn.me>
2023-11-22 12:43:27 -01:00
Louis Chemineau 33ac1c0433 Fix param name after Sabre\CalDAV update
Signed-off-by: Louis Chemineau <louis@chmn.me>
2023-11-22 12:43:27 -01:00
Louis Chemineau b0109b47d6 Update 3rdparty
Signed-off-by: Louis Chemineau <louis@chmn.me>
2023-11-22 12:43:27 -01:00
Maxence Lange 7467422f57 implements search on null/notnull metadata
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2023-11-22 12:43:27 -01:00
Marco f476220f09 Add star indicator in file description
Signed-off-by: Marco <marcoambrosini@icloud.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-11-22 13:41:50 +00:00
Marco 0da90ecba5 Remove quotes from input
Signed-off-by: Marco <marcoambrosini@icloud.com>
2023-11-22 14:35:10 +01:00
Marco eefbf6d2de Verticaly align comment avatar
Signed-off-by: Marco <marcoambrosini@icloud.com>
2023-11-22 14:35:10 +01:00
Marco cd26b919e4 Move starring into actions menu
Signed-off-by: Marco <marcoambrosini@icloud.com>
2023-11-22 14:35:10 +01:00
Valdnet 0acd07c362 Change "brute force" to "brute-force"
Signed-off-by: Valdnet <47037905+Valdnet@users.noreply.github.com>
2023-11-22 14:22:47 +01:00
julia.kirschenheuter ab845405df Replace input form with NcTextField
Signed-off-by: julia.kirschenheuter <julia.kirschenheuter@nextcloud.com>
2023-11-22 14:14:56 +01:00
Ferdinand Thiessen 9c3321c524 Merge pull request #41565 from nextcloud/fix/object-storage-inconsitent-behavior
fix(ObjectStore): Make copying behavior consistent with local storage
2023-11-22 13:54:01 +01:00
Maxence Lange 8877f9bec9 Merge pull request #41653 from nextcloud/enh/noid/sync-token-on-retrievemetadata
get sync_token on retrieveMetadata()
2023-11-22 10:13:31 -01:00
Christoph Wurst 5f0ada879e fix(db): Print why the migration file could not be created
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-11-22 11:46:17 +01:00
Joas Schilling 053157b87e fix(updatecheck): Don't wait 120s for a response of updater.nextcloud.com
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-11-22 11:44:43 +01:00
Arthur Schiwon bc1da2fa54 Merge pull request #40114 from summersab/refactor/OC-Server-getAvatarManager
Refactor `OC\Server::getAvatarManager`
2023-11-22 11:43:51 +01:00
Christoph Wurst ea8f9a7e84 refactor: Repalce array_search with in_array in lib/
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-11-22 11:42:53 +01:00
Benjamin Gaussorgues ba1af2b22e Merge pull request #41646 from nextcloud/feat/hide-search-provider
feat(search): hide search provider from list
2023-11-22 09:49:46 +01:00
Julius Härtl f79398c55d Merge pull request #41655 from nextcloud/fix/41630/search-value-bool 2023-11-22 08:50:17 +01:00
Benjamin Gaussorgues 0d8aa6894a feat(search): hide user search if not on user list
Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
2023-11-22 08:47:53 +01:00
Benjamin Gaussorgues 75e5854458 feat(search): hide search provider
Some search providers can be hidden if they send `null` in `getOrder`

Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
2023-11-22 08:47:53 +01:00
Maksim Sukharev e1d3fb53bc Merge pull request #41641 from nextcloud/fix/41269/remove-emoji-status-border
fix(user_status): remove border from emoji picker
2023-11-22 08:35:32 +01:00
Louis 2310638231 Merge pull request #41648 from nextcloud/artonge/feat/restore_openfile
Trigger default action when open file initial state is set
2023-11-22 07:30:45 +01:00
Maxence Lange ff823cf926 accept boolean value
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2023-11-22 01:20:42 -01:00
Nextcloud bot 73ecc8f1db Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-11-22 00:24:44 +00:00
Maxence Lange e37ab38780 get sync_token on retrieveMetadata()
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2023-11-21 21:11:13 -01:00
Louis Chemineau c7e2c340a8 Trigger default action when open file initial state is set
Signed-off-by: Louis Chemineau <louis@chmn.me>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-11-21 19:45:41 +00:00
Louis 7c6ee7e71a Merge pull request #41637 from nextcloud/artonge/fix/unit_test_sharing_settings
Fix sharing settings unit tests
2023-11-21 18:52:08 +01:00
Côme Chilliet 281cbbfa97 Fix tests for apps/settings new section
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-11-21 17:51:34 +01:00
Louis Chemineau 7984b80a76 Fix sharing settings unit tests
Signed-off-by: Louis Chemineau <louis@chmn.me>
2023-11-21 17:32:36 +01:00
Valdnet 94e05ea919 Correct a typo
Signed-off-by: Valdnet <47037905+Valdnet@users.noreply.github.com>
2023-11-21 15:45:33 +01:00
Julius Härtl d14d881080 Merge pull request #41623 from nextcloud/fix/orphan-share-no-user 2023-11-21 15:43:57 +01:00
Valdnet 519fad9206 Add quotation marks
Signed-off-by: Valdnet <47037905+Valdnet@users.noreply.github.com>
2023-11-21 15:40:01 +01:00
Louis b9bd73a92d Merge pull request #41540 from nextcloud/artonge/feat/add_metadata_generation_job
Add metadata generation job
2023-11-21 15:37:48 +01:00
Valdnet 6475f2f8be Add quotation marks
Signed-off-by: Valdnet <47037905+Valdnet@users.noreply.github.com>
2023-11-21 15:32:38 +01:00
F. E Noel Nfebe 163e8b616c Merge pull request #41507 from nextcloud/41381-global-search-follow-up-2
Enhancements: Fix and updates to most recent global search UI
2023-11-21 15:26:53 +01:00
Valdnet f5a40c2219 Correct spelling of Brute Force
Correcting the spelling of "Bruteforce" to "Brute Force"

Signed-off-by: Valdnet <47037905+Valdnet@users.noreply.github.com>
2023-11-21 15:19:16 +01:00
Louis a29495f166 Merge pull request #41634 from nextcloud/artonge/fix/listen_to_cache_events_for_metadata
Listen to cache event when deleting metadata
2023-11-21 15:07:42 +01:00
Maksim Sukharev c823076239 chore(user_status): compile assets
Signed-off-by: Maksim Sukharev <antreesy.web@gmail.com>
2023-11-21 14:58:11 +01:00
Maksim Sukharev 17592f7eb7 fix(user_status): remove border from emoji picker
- clean styles
- lint component

Signed-off-by: Maksim Sukharev <antreesy.web@gmail.com>
2023-11-21 14:56:23 +01:00
Joas Schilling 4fe363f882 fix(setupcheck): Fix memory limit setup check
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-11-21 14:47:21 +01:00
Ferdinand Thiessen 151ff38fc9 Merge pull request #41635 from nextcloud/fix/settings-apporder
fix(theming): Adjust config listener to validate `apporder` config also for closure navigation
2023-11-21 14:34:39 +01:00
fenn-cs 701e626d18 Move search result section to component & hide thumbnail if error
The section that handles the search result list item is big and complex enough
 to have it's own component. Inside this component, a new method is added to hide
the thumbnail preview if the image load errors out.

Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-11-21 13:29:03 +00:00
Louis Chemineau b63ddc73a2 Listen to cache event when deleting metadata
Signed-off-by: Louis Chemineau <louis@chmn.me>
2023-11-21 13:52:31 +01:00
Ferdinand Thiessen fa2c834aab fix(theming): Adjust config listener to validate apporder config
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-11-21 12:29:26 +01:00
fenn-cs 8dadb09e54 Round avatars when needed and show url-based mime icons
- Pass `results.rounded` property that comes with search result
 data to determine if avatar would be rounded or not.

- Icons loaded via url's now visible.

Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
2023-11-21 11:26:22 +01:00
fenn-cs 4964cb838b Improve date-range logic for global search
- Allow future dates in custom date range
- Fix date ranges for example, before now, today range was roughly
 between `now()` to `now() + a few milli seconds`
- Update text in custom date range modal, right align "Search in range"
 button.

Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
2023-11-21 11:26:22 +01:00
Julius Härtl f74084cd3d Merge pull request #40368 from nextcloud/feature/update-signup-link 2023-11-21 11:22:42 +01:00
Louis ff92a0a02d Merge pull request #41617 from nextcloud/artonge/fix/error_files_versions_previews
Handle error in previews for files versions
2023-11-21 10:55:49 +01:00
Luka Trovic b134e1cbc7 feat: update sign up link in share pages
Signed-off-by: Luka Trovic <luka@nextcloud.com>
2023-11-21 10:10:37 +01:00
Côme Chilliet 24c2c09aea Merge pull request #41438 from nextcloud/feat/migrate-forwarded-for-headers-check
Migrate forwarded for headers check
2023-11-21 09:50:38 +01:00
Nextcloud bot 0e433501bb Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-11-21 00:27:59 +00:00
Maxence Lange ae71ed1e37 Merge pull request #41601 from nextcloud/enh/noid/named-metadata-event
add named metadata event
2023-11-20 22:20:29 -01:00
Julius Härtl 4bc45a7f9c Merge pull request #41624 from nextcloud/chore/dependencies-nextcloud-upload 2023-11-20 22:28:11 +01:00
Julius Härtl bd9e1a6f6f chore: Bump bundles
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2023-11-20 21:45:15 +01:00
Louis Chemineau 6896724dd4 Handle error in previews for files versions
Signed-off-by: Louis Chemineau <louis@chmn.me>
2023-11-20 18:12:25 +01:00
Côme Chilliet ad372869bc Fix tests for setupchecks
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-11-20 18:03:15 +01:00
Julius Härtl d75ab0de10 chore: Bump @nextcloud/upload to 1.0.1
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2023-11-20 17:32:53 +01:00
Ferdinand Thiessen 02807a37b0 Merge pull request #41581 from nextcloud/fix/migrate-admin-settings-sharing-vue
enh(settings): Migrate admin settings for sharing to vue
2023-11-20 17:32:05 +01:00
Ferdinand Thiessen 543e2dbf0f chore: Compile assets
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-11-20 17:09:48 +01:00
Ferdinand Thiessen 8fc0395d61 fix(config): Adjust webpack config to provide appName and appVersion which are expected by @nextcloud/vue
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-11-20 17:07:55 +01:00
Ferdinand Thiessen 22163c60d4 enh(settings): Migrate admin settings for sharing to vue
This is required to get the fixes for a11y from `@nextcloud/vue`.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-11-20 17:07:55 +01:00
Joas Schilling e5b996722a Merge pull request #41616 from nextcloud/bugfix/noid/fix-ocs-absolute-URLs-with-ignore-front-controller
fix: Fix linkToOCSRouteAbsolute() without index.php and with subfolder
2023-11-20 17:00:43 +01:00
Côme Chilliet 1f4e0927ba Improve success messages for ForwarderForHeaders setup check
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-11-20 16:12:19 +01:00
Côme Chilliet f023216cf4 Make it an error if address is not known and we are not in CLI
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-11-20 15:52:28 +01:00
Côme Chilliet f47a2bbcae Improve wrong configuration error message when we know it’s wrong.
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-11-20 15:45:46 +01:00
Maxence Lange 22d6c8dcd4 add named metadata event
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2023-11-20 13:32:54 -01:00
Julius Härtl 9677ca062e fix: Also cleanup orphaned shares user cannot be found anymore
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2023-11-20 14:26:12 +01:00
Côme Chilliet 0ebd44abb6 Migrate tests of forwarded for headers check
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-11-20 11:36:42 +01:00
Côme Chilliet 0107c7ea24 Migrate Forwarded For Headers check to new API
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-11-20 11:36:42 +01:00
Côme Chilliet 0da05fc73b Merge pull request #41435 from nextcloud/feat/migrate-bruteforce-throttle-check
Migrate bruteforce throttle check
2023-11-20 11:32:06 +01:00
Joas Schilling 572ea18ac7 fix: Fix linkToOCSRouteAbsolute() without index.php and subfolder
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-11-20 11:18:47 +01:00
Simon L 753e7c2dff Merge pull request #41544 from nextcloud/enh/noid/updatehtaccess-disk-space-check 2023-11-20 08:14:57 +01:00
Julius Härtl da162190f4 Merge pull request #41475 from nextcloud/bugfix/noid/docxf-oform-mimetype 2023-11-20 07:11:10 +01:00
Nextcloud bot 2d2852bb78 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-11-20 00:27:45 +00:00
Julius Härtl cd6c192801 fix: Add docxf/oform to mimetypemapping
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2023-11-19 19:46:34 +01:00
Julius Härtl d019c9ad93 Merge pull request #41579 from nextcloud/bugfix/action-failed-error 2023-11-19 16:31:40 +01:00
nextcloud-command f4dbe8d9a6 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-11-19 15:02:01 +00:00
Julius Härtl 330d9e3d6e Merge pull request #41583 from nextcloud/fix/csp-on-old-ua 2023-11-19 15:59:41 +01:00
Julius Härtl dcca3f024f fix: Be less strict about action exec return value
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2023-11-19 15:56:30 +01:00
Nextcloud bot 653b18cb95 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-11-19 00:28:00 +00:00
Joas Schilling be69ea942b Merge pull request #41569 from nextcloud/bugfix/noid/dont-notify-disabled-users-again
fix(2fa-backupcodes): Don't remember disabled and deleted users over …
2023-11-18 19:20:10 +01:00
Andy Scherzinger e38ebeb2d4 Merge pull request #41594 from nextcloud/dependabot/github_actions/actions/github-script-7
chore(deps): Bump actions/github-script from 6 to 7
2023-11-18 17:11:56 +01:00
dependabot[bot] 56bda62bc1 chore(deps): Bump actions/github-script from 6 to 7
Bumps [actions/github-script](https://github.com/actions/github-script) from 6 to 7.
- [Release notes](https://github.com/actions/github-script/releases)
- [Commits](https://github.com/actions/github-script/compare/v6...v7)

---
updated-dependencies:
- dependency-name: actions/github-script
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-11-18 02:54:11 +00:00
Pytal 65248b0932 Merge pull request #41585 from nextcloud/deps/nextcloud/dialogs-5.0.2
chore: Bump @nextcloud/dialogs to v5.0.2
2023-11-17 18:40:12 -08:00
Christopher Ng a1fcc0341d chore: compile assets
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-11-17 16:42:50 -08:00
Christopher Ng 572d0cbb3d chore: Bump @nextcloud/dialogs to v5.0.2
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-11-17 16:42:50 -08:00
Nextcloud bot 39db399043 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-11-18 00:27:58 +00:00
Grigorii K. Shartsev ee21204dd9 Merge pull request #41577 from nextcloud/fix/41568/files-list--valid-table-layout
fix(files): make files list valid table layout
2023-11-18 04:35:58 +05:00
Grigorii K. Shartsev 346c6173f2 fix(files): make table view a valid html table
<div> is not allowed as a <table> child

Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
2023-11-18 00:16:13 +01:00
Grigorii K. Shartsev c18c6c4362 fix(files): make caption a direct child of the files table
Otherwise it is not valid and does not ception the table.

Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
2023-11-18 00:14:48 +01:00
Ferdinand Thiessen 688e635f3d Merge pull request #41584 from nextcloud/chore/update-vue
chore: Update `@nextcloud/vue` to 8.2.0
2023-11-17 23:56:28 +01:00
Ferdinand Thiessen 0b55db7f1d fix(cypress): Adjust user settings tests for changed actions component
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-11-17 23:16:23 +01:00
Ferdinand Thiessen 9b9133c0e9 chore: Update @nextcloud/vue to 8.2.0
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-11-17 22:41:05 +01:00
Ferdinand Thiessen 2a2c964863 Merge pull request #41573 from nextcloud/fix/avoid-sending-thumbnail-if-none-available
fix(files): avoid sending thumbnail URL for directory as none exists
2023-11-17 22:38:50 +01:00
Ferdinand Thiessen 84429003e1 Merge pull request #41399 from nextcloud/fix/cypress-flaky-new-users
fix(cypress): Make new-users test less flaky by using test isolation
2023-11-17 22:29:49 +01:00
Ferdinand Thiessen ecf9f0a872 fix(CSP): Only add strict-dynamic when using nonces
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-11-17 22:01:02 +01:00
Grigorii K. Shartsev 137e488592 Merge pull request #41575 from nextcloud/bugfix/41572
fix: Avoid invisible areas through keyboard navigation
2023-11-17 23:39:17 +05:00
Julius Härtl 018cf71820 fix: Avoid invisible areas through keyboard navigation
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-11-17 17:48:32 +00:00
Ferdinand Thiessen 4fa2749fa8 Merge pull request #41571 from nextcloud/fix/allow-strict-dynamic-elem
Allow setting `strict-dynamic` on `strict-src-elem` and set it by default
2023-11-17 18:03:54 +01:00
Grigorii K. Shartsev 8e3a08d161 Merge pull request #41580 from nextcloud/fix/a11y-replace_action_link_with_action_button
Replace ActionLink with ActionButton on sharing tab
2023-11-17 21:55:30 +05:00
julia.kirschenheuter ff2ef8d0d6 Replace ActionLink with ActionButton on sharing tab
Signed-off-by: julia.kirschenheuter <julia.kirschenheuter@nextcloud.com>
So-authored-by: Grigorii K. Shartsev <me@shgk.me>
2023-11-17 16:55:05 +01:00
Benjamin Gaussorgues 01de485aca fix(files): avoid sending thumbnail URL for directory as none exists
Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
2023-11-17 16:22:48 +01:00
Simon L 3f6caa46f3 document error
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-11-17 15:22:53 +01:00
Simon L 4c522f0f65 do not write htaccess file if disk space is too low
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-11-17 15:22:53 +01:00
Ferdinand Thiessen e231abd9bf fix!(ContentSecurityPolicy): Make strict-dynamic enabled by default on script-src-elem
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-11-17 14:42:36 +01:00
Ferdinand Thiessen b06951ed3b fix(cypress): Make new-users test less flaky by using test isolation
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-11-17 13:42:51 +01:00
Ferdinand Thiessen 5172baaf8b fix(ObjectStore): Make copying behavior consistent with local storage
Drop file permissions on copy like we do on local storage.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-11-17 12:54:37 +01:00
Ferdinand Thiessen 8c24a32fda Merge pull request #41560 from nextcloud/fix/a11y/advanced-sharing-focus
fix(a11y): Focus on sharing quick permission radio
2023-11-17 11:41:54 +01:00
Ferdinand Thiessen 7df9eb3351 feat(ContentSecurityPolicy): Allow to set strict-dynamic on script-src-elem only
This adds the possibility to set `strict-dynamic` on `script-src-elem` only while keep the default rules for `script-src`.
The idea is to allow loading module js which imports other files and thus does not allow nonces on import but on the initial script tag.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-11-17 11:12:57 +01:00
Joas Schilling b80dd1f6db fix(2fa-backupcodes): Don't remember disabled and deleted users over and over again
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-11-17 10:19:36 +01:00
Marco 165178a6ad Merge pull request #41561 from nextcloud/fix/user-row-text-field
fix(settings): User row text field styles
2023-11-17 09:18:34 +00:00
Nextcloud bot 158aedb549 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-11-17 00:27:03 +00:00
Christopher Ng 95c889a65e chore: compile assets
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-11-16 16:14:36 -08:00
Christopher Ng 722b78ea3f fix(settings): User row text field styles
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-11-16 16:14:36 -08:00
Christopher Ng 4c126f2906 chore: compile assets
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-11-16 16:05:00 -08:00
Christopher Ng 6329da9352 fix(a11y): Focus on sharing quick permission radio
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-11-16 16:05:00 -08:00
Eduardo Morales 9a3d45b0ef Merge pull request #41334 from nextcloud/fix/mtime-render
fix(component): utilized NcDateTime component
2023-11-16 15:35:18 -06:00
nextcloud-command 75796ba250 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-11-16 20:39:16 +00:00
Eduardo Morales b1ecd99dc6 fix(chore) - built and changed this.source -> source
Signed-off-by: Eduardo Morales <emoral435@gmail.com>
2023-11-16 14:33:10 -06:00
Eduardo Morales 59e75d73be fix(component): changed moment to date object for Nc Component using Node.mtime returned date object
Signed-off-by: Eduardo Morales <emoral435@gmail.com>
2023-11-16 14:33:10 -06:00
Eduardo Morales 3b48af2122 fix(component): utilized NcDateTime component
Resolves #41261
Replaces span element with custom Nc Vue Component
Signed-off-by: Eduardo Morales <emoral435@gmail.com>
2023-11-16 14:33:10 -06:00
Arthur Schiwon 179b7bb3cb Merge pull request #41477 from nextcloud/release/28.0.0_beta_4
28.0.0 beta 4
2023-11-16 21:32:14 +01:00
Marcel Müller db3c731b0e Merge pull request #41541 from nextcloud/fix/noid/serve-flac-files
Serve .flac audio files
2023-11-16 20:35:07 +01:00
Andy Scherzinger be62df5bb3 Merge pull request #41555 from nextcloud/chore/noid/bumpHub7
Bump Hub 6 -> Hub 7
2023-11-16 20:16:59 +01:00
Andy Scherzinger 1209dd954c Bump Hub 6 -> Hub 7
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2023-11-16 20:15:53 +01:00
Ferdinand Thiessen 82e08f1df3 Merge pull request #41519 from nextcloud/fix/files-sorting
fix(files): Ensure folders and favorites are sorted first regardless of sorting mode
2023-11-16 19:59:56 +01:00
Christoph Wurst c9dc377ebc Merge pull request #41395 from nextcloud/hello-emf
feat: add preview provider for emf files based on office
2023-11-16 19:48:06 +01:00
Benjamin Gaussorgues 23605d60dd Merge pull request #41057 from nextcloud/registermounts-opt
optimize UserMountCache::registerStorage
2023-11-16 18:30:01 +01:00
Ferdinand Thiessen 84004d0a5a Merge pull request #41491 from nextcloud/fix/merge-comments-activity-v2
feat(comments): Plug in comments into activity sidebar tab if available
2023-11-16 18:24:59 +01:00
Christoph Wurst 3dc902057e Merge pull request #41512 from nextcloud/fix/userstatus/no-message-no-message-timestamp
fix(userstatus): Only track message timestamp for values
2023-11-16 16:53:40 +01:00
Robin Appelman b942850af9 optimize UserMountCache::registerStorage
Signed-off-by: Robin Appelman <robin@icewind.nl>
Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
2023-11-16 16:21:59 +01:00
Louis 1b18b976b4 Merge pull request #41518 from nextcloud/nullGetUid
fix(files_versions): don't call getUid() on null
2023-11-16 15:57:20 +01:00
Joas Schilling 7b45939561 Merge pull request #41511 from nextcloud/enh/advanced_search_backend
Enhancements for advanced search API
2023-11-16 15:41:27 +01:00
nextcloud-command 7f462649da chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-11-16 14:03:17 +00:00
Louis Chemineau a0ff998c00 Add metadata generation job
Signed-off-by: Louis Chemineau <louis@chmn.me>
2023-11-16 15:02:38 +01:00
Ferdinand Thiessen 1be7eb1402 chore: Compile assets
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-11-16 14:25:43 +01:00
Ferdinand Thiessen 205801adc6 fix(files): Add cypress e2e tests
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-11-16 14:25:43 +01:00
Ferdinand Thiessen e250a56170 fix(files): Ensure favorites and folders are sorted first regardless or sorting order
Also fixes `mtime` being wrong sorted, as high mtime means recently edited -> lower

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-11-16 14:25:40 +01:00
Marcel Müller eaf863dfdb Serve .flac audio files
Signed-off-by: Marcel Müller <marcel-mueller@gmx.de>
2023-11-16 14:24:56 +01:00
Joas Schilling 6eb182af9d Fix property name
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-11-16 14:16:28 +01:00
Ferdinand Thiessen 75284bcf69 chore: Compile assets
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
Signed-off-by: Louis Chemineau <louis@chmn.me>
2023-11-16 14:16:16 +01:00
Ferdinand Thiessen 9244d53c4d fix(comments): Provide resourceType as property instead of mixin
Also fix typos where `ressource` instead of `resource` was used.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-11-16 13:22:02 +01:00
Christoph Wurst bdad290d31 fix(userstatus): Only track message timestamp for values
Do not track status messages that are empty, e.g. DND outside of
availability.

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-11-16 12:45:22 +01:00
Ferdinand Thiessen db2fec1cec feat(comments): Use activity tab to mount comments sidebar section if available
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-11-16 11:54:52 +01:00
Louis 9c3350b313 Merge pull request #41465 from nextcloud/artonge/migrate_metadata
Migrate old metadata table to the new ones
2023-11-16 11:20:57 +01:00
Arthur Schiwon 6716b3fc00 Merge pull request #41526 from nextcloud/bugfix/noid/fix-detection-of-trusted-proxies
Reverse X-Forwarded-For list to read the correct proxy remote address
2023-11-16 10:41:14 +01:00
Joas Schilling 04c3fea7ac Merge pull request #41485 from nextcloud/bugfix/noid/sort-asc-by-default
fix(files): Sort list ASC by default
2023-11-16 10:35:15 +01:00
Arthur Schiwon 609932140e Merge pull request #41520 from nextcloud/bugfix/noid/finish-password-confirmation
Finish password confirmation
2023-11-16 09:40:40 +01:00
Louis Chemineau 95938d32d9 Add migration from the old to new metadata tables
Signed-off-by: Louis Chemineau <louis@chmn.me>
2023-11-16 09:21:55 +01:00
Joas Schilling 2fa78f6245 Reverse X-Forwarded-For list to read the correct proxy remote address
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-11-16 07:45:19 +01:00
Joas Schilling 9e1e6a8d93 chore(assets): Recompile JS
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-11-16 06:31:41 +01:00
Joas Schilling d8ffbed2c2 fix(workflows): Finish password confirmation
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-11-16 06:25:42 +01:00
Joas Schilling 9a9cdce79f chore(assets): Recompile JS
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-11-16 06:20:31 +01:00
Joas Schilling 16ff684073 fix(files): Sort list ASC by default
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-11-16 06:19:08 +01:00
Pytal 50f8d6c129 Merge pull request #41335 from nextcloud/enh/a11y/admin-collab-tags
enh(systemtags): Add accessible system tags form
2023-11-15 20:52:36 -08:00
Christopher Ng 470f825f8b test(systemtags): Admin system tags form
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-11-15 18:34:14 -08:00
Benjamin Gaussorgues ae31d03217 Merge pull request #41486 from nextcloud/fix/41470/invalid_user_group
Fix invalid users/groups handling in advanced search
2023-11-16 02:50:09 +01:00
Ferdinand Thiessen 0d4ece537a Merge pull request #41506 from nextcloud/Valdnet-patch-1
Correct spelling
2023-11-16 02:47:23 +01:00
Christopher Ng 3354b6ba7c chore: compile assets
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-11-15 17:13:14 -08:00
Christopher Ng b1a3c4df07 enh(systemtags): Add accessible system tags form
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-11-15 17:13:14 -08:00
Christopher Ng c2780796c0 fix(systemtags): Cast tag display name to string
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-11-15 17:13:14 -08:00
Christopher Ng 0983ce19b1 chore(systemtags): Use files systemtags service
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-11-15 17:13:14 -08:00
Christopher Ng a267dc2cbb chore(systemtags): Export default base tag
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-11-15 17:13:14 -08:00
Christopher Ng b4b5612d7c chore(systemtags): Replace php markup with vue
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-11-15 17:13:14 -08:00
Christopher Ng e1a934d90c chore(systemtags): Add services for global tags and files-specific tags
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-11-15 17:13:14 -08:00
Git'Fellow 652317e3e2 Don't call getUid() on null
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
2023-11-16 01:28:42 +01:00
Nextcloud bot f4d86818b2 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-11-16 00:28:36 +00:00
Valdnet b9473b46ad Correct spelling
Unification of spelling in Transifex.

Signed-off-by: Valdnet <47037905+Valdnet@users.noreply.github.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-11-15 19:26:58 +00:00
Ferdinand Thiessen 8bda5e9460 Merge pull request #41489 from nextcloud/fix/41463-Move_delete_share_button_into_the_scrolling_container
Move delete share button into the scrolling container
2023-11-15 19:24:53 +01:00
Christoph Wurst 33e07121d2 Merge pull request #41501 from nextcloud/feat/dav/show-ooo-ui-by-default
feat(dav): Enable OOO UI and expose enabled via OCP
2023-11-15 18:26:27 +01:00
Benjamin Gaussorgues 72c191df11 Introduce constants for builtin search filters
Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
2023-11-15 17:24:37 +01:00
Christoph Wurst d06ee45b80 Merge pull request #41474 from nextcloud/refactor/carddav/earlier-return-sql-where-in
refactor(carddav): Use even earlier return and SQL's WHERE IN
2023-11-15 17:16:53 +01:00
julia.kirschenheuter 9d9fffb9d3 Move delete share button into the scrolling container
Signed-off-by: julia.kirschenheuter <julia.kirschenheuter@nextcloud.com>
2023-11-15 17:11:10 +01:00
Benjamin Gaussorgues d79d85ddd2 Undeprecate getTerm
Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
2023-11-15 17:00:18 +01:00
Simon L c2658bf913 Merge pull request #37959 from nextcloud/ob-proc 2023-11-15 16:47:59 +01:00
Louis 8ec90e16b3 Merge pull request #41497 from nextcloud/artonge/deps/bump/nextcloud_dialogs/v5.0.1
Bump @nextcloud/dialogs to v5.0.1
2023-11-15 16:35:43 +01:00
Benjamin Gaussorgues 82c164dabe Change person type separator
`/` isn't allowed in UID, it will avoid conflicts

Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
2023-11-15 16:34:56 +01:00
Christoph Wurst 45541eb685 feat(dav): Enable OOO UI and expose enabled via OCP
Makes the feature opt-out now that we have meaningful integrations based
on OOO data. Allows instances still to turn the feature off.

For apps like Mail that build on top of this feature we need to know if
the instance has the feature turned on or off. This is exposed as OCP
API, too.

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-11-15 15:53:38 +01:00
Christoph Wurst ce6e3a3a01 Merge pull request #41495 from nextcloud/fix/ocp/register-availability-coordinator
fix(ocp): register IAvailabilityCoordinator service alias
2023-11-15 15:33:48 +01:00
Christoph Wurst 5cdbd10327 refactor(caldav): Use even earlier return and SQL's WHERE IN
* Early return can operate on the input array
* SQL can check be used to check for address book ID inclusion

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-11-15 14:48:55 +01:00
Louis Chemineau c249c56e70 Bump @nextcloud/dialogs to v5.0.1
Signed-off-by: Louis Chemineau <louis@chmn.me>
2023-11-15 14:11:19 +01:00
Benjamin Gaussorgues cb4e367a22 Merge pull request #40935 from nextcloud/local-case-insensitive
add some support for rename on case insensitive local filesystems
2023-11-15 13:58:44 +01:00
Richard Steinmetz 909b46bb53 fix(ocp): register IAvailabilityCoordinator service alias
Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
2023-11-15 13:32:36 +01:00
Grigorii K. Shartsev af0a876c27 Merge pull request #41439 from nextcloud/fix/41310-Create_possibility_to_open_an_app_details_via_keyboard
Add link for opening app details
2023-11-15 16:32:30 +05:00
julia.kirschenheuter 25d87033b1 Add link for opening app details
Add `alt` for `AppScore` image

Signed-off-by: julia.kirschenheuter <julia.kirschenheuter@nextcloud.com>
2023-11-15 10:50:10 +01:00
Ferdinand Thiessen bd483e7e89 Merge pull request #41473 from nextcloud/fix/41306-Sharing_tab_There_is_no_indicator_that_advanced_settings_are_open
Adapt "advanced settings" button for accordion button
2023-11-15 10:49:10 +01:00
Joas Schilling ff8d9d246b Merge pull request #40042 from joshtrichards/jr-occ-background-job-list-limit-100
(enh) Change `occ background-job:list` limit default 10->500
2023-11-15 10:28:19 +01:00
Benjamin Gaussorgues 33837e7d6f Fix invalid users/groups handling in advanced search
Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
2023-11-15 10:17:43 +01:00
julia.kirschenheuter 7c987f0577 Adapt "advanced settings" button for accordion button
Signed-off-by: julia.kirschenheuter <julia.kirschenheuter@nextcloud.com>
2023-11-15 09:08:55 +01:00
Julius Härtl 830d85bcf1 Merge pull request #41366 from ir0nhide/fix/multipart-copy-ssec 2023-11-15 08:24:06 +01:00
Nextcloud bot 04a4a777ad Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-11-15 00:31:47 +00:00
Git'Fellow e0cafc8fe8 Merge pull request #38622 from nextcloud/ifElseReturnMatch
Replace if/else with return match
2023-11-15 00:05:52 +01:00
Git'Fellow ef5f7d0a90 Us strpos() only
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
2023-11-15 00:04:25 +01:00
Git'Fellow 53b84732a3 Check for open_basedir before reading /proc
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
2023-11-15 00:04:25 +01:00
Arthur Schiwon db12c49c37 28.0.0 beta 4
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2023-11-14 23:55:51 +01:00
Arthur Schiwon 9e7fc23bd0 Merge pull request #41379 from nextcloud/release/28.0.0_beta_3
28.0.0 beta 3
2023-11-14 22:24:01 +01:00
F. E Noel Nfebe 230b1e3cf6 Merge pull request #41384 from nextcloud/41381-global-search-follow-up
Enhancements : improve most recent global search UI
2023-11-14 22:14:26 +01:00
Arthur Schiwon 7791b4885b Merge pull request #41341 from nextcloud/fix/apporder-on-closures
fix: Allow to set app order on navigation entries added by closures
2023-11-14 21:45:37 +01:00
Arthur Schiwon d6af8c8c6e Merge pull request #41453 from nextcloud/enh/41450/improve-shared-status-button
Improve shared status button
2023-11-14 21:40:29 +01:00
Andy Scherzinger 7b5aef7dbe Merge pull request #41398 from nextcloud/fix/cypress-admin-theming
fix(cypress): Adjust admin theming tests for new `@nextcloud/vue` release
2023-11-14 21:28:35 +01:00
Tobias Zimmerer cdf96fab92 fix(s3): support SSE-C headers for the MultipartCopy call
Signed-off-by: Tobias Zimmerer <3228193+ir0nhide@users.noreply.github.com>
2023-11-14 21:19:59 +01:00
fenn-cs 987ac1e9c3 Check in-app search availability
Only show in-app serach button if available for specific app
 in question.

Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-11-14 20:07:42 +00:00
Jonas af4287d8a3 Update core/Command/Background/ListCommand.php
Co-authored-by: Côme Chilliet <91878298+come-nc@users.noreply.github.com>
Signed-off-by: Jonas <jonas@freesources.org>
2023-11-14 21:04:27 +01:00
Jonas 490f5cc4ec fix(Background): Bump default limit for listing background jobs to 500
Signed-off-by: Jonas <jonas@freesources.org>
2023-11-14 21:04:27 +01:00
Jonas 9fbe68ab36 fix(Background): Show comment about limit at end and conditionally
* Only print the comment when job list is truncated
* Show the comment at the end so users actually see it
* Format the comment as comment

Signed-off-by: Jonas <jonas@freesources.org>
2023-11-14 21:04:27 +01:00
Jonas deb4bb8d4e Update core/Command/Background/ListCommand.php
Co-authored-by: Daniel <mail@danielkesselberg.de>
Signed-off-by: Jonas <jonas@freesources.org>
2023-11-14 21:04:27 +01:00
Josh Richards bb75dab93a (enh) Change occ background-job:list limit default 10->100
The default limit of 10 seems too conservative. Nearly all environments >100 and most <10. At the same time, this higher default limit still remains reasonable to avoid problems in really big environments.

Signed-off-by: Josh Richards <josh.t.richards@gmail.com>
2023-11-14 21:04:27 +01:00
Marco c2c5994d70 Improve shared status button
Signed-off-by: Marco <marcoambrosini@icloud.com>
2023-11-14 20:51:53 +01:00
Arthur Schiwon 138ce5303a Merge pull request #41457 from nextcloud/feat/contacts/advanced-search
feat(search): allow contacts person search
2023-11-14 20:47:00 +01:00
fenn-cs 04f2a19375 Improve no content feedback
Show some feedback when there are no search results.

Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
2023-11-14 20:26:58 +01:00
fenn-cs 5a4cc8c98a Global search : Fix basic functional issues
- Fixes remove person filter/chip when applied
- Close person searchable filter via workaround
- Person filter has no effect fixed, now uses user property instead of id
- Left align filters
- Reduce avatar size in user chip and make photo non-clickable

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

Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
2023-11-14 20:26:58 +01:00
Ferdinand Thiessen 927e7fcf67 fix(AppManager): Ensure that app manager can handle empty app keys on the navigation entries
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-11-14 20:04:48 +01:00
Côme Chilliet 54a3012a11 Fix apporder when an application has several menu items
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-11-14 20:04:48 +01:00
Ferdinand Thiessen aeffcec38e chore: Compile assets
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-11-14 20:04:46 +01:00
Ferdinand Thiessen 0254b68a1a fix(theming): Adjust app order settings for backend changes
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-11-14 20:03:28 +01:00
Ferdinand Thiessen 8d0c7cc5fa fix: Allow to set custom app order on navigation entries added by closures to NavigationManager
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-11-14 20:03:28 +01:00
Ferdinand Thiessen 8bd9858345 fix(NavigationManager): Set default app in add function to allow entries added as closures
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-11-14 20:03:28 +01:00
Ferdinand Thiessen 84acc49932 fix(NavigationManager): Check for appManager before using it
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-11-14 20:03:28 +01:00
Ferdinand Thiessen 43a0016989 fix(INavigationManager): Add psalm typing for add parameter
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-11-14 20:03:28 +01:00
Ferdinand Thiessen 4303895565 fix(cypress): Adjust admin theming tests for new @nextcloud/vue release
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-11-14 20:01:32 +01:00
Arthur Schiwon 5c041122e8 Merge pull request #41472 from nextcloud/fix/update-vue-components
chore: Update `@nextcloud/vue`
2023-11-14 19:41:46 +01:00
Ferdinand Thiessen 0227678724 Merge pull request #41387 from nextcloud/fix/cypress-app-store
fix(cypress): Do not install calendar app from app store for testing
2023-11-14 19:33:23 +01:00
Ferdinand Thiessen d45ff35eb2 chore: Update @nextcloud/vue
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-11-14 18:34:31 +01:00
hamza221 26ee5a531b feat(search): allow contacts person search
Signed-off-by: hamza221 <hamzamahjoubi221@gmail.com>
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-11-14 18:29:42 +01:00
Benjamin Gaussorgues e90df6421a Merge pull request #41432 from nextcloud/fix/white-user-icon-search
Fix search providers icons
2023-11-14 18:09:32 +01:00
Benjamin Gaussorgues 79d1e40894 Add missing icons for settings providers
Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
2023-11-14 17:51:22 +01:00
Benjamin Gaussorgues 86a44514bd Fix user search provider icon
Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
2023-11-14 17:51:21 +01:00
Andy Scherzinger 93ea634de6 Merge pull request #41390 from nextcloud/enh/noid/limit-proppatch-metadata
Metadata must be set a editable for PROPPATCH
2023-11-14 17:17:17 +01:00
Christoph Wurst 8b5d85a953 Merge pull request #41340 from nextcloud/feat/caldav/ooo-event
feat(caldav): Create personal event for out-of-office messages
2023-11-14 15:53:02 +01:00
Maxence Lange 847c687a06 metadata must be set as editable for PROPPATCH
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2023-11-14 14:38:53 +01:00
Arthur Schiwon 281ac50869 Merge pull request #41442 from nextcloud/fix/noid/no-join-before-migration
ignore metadata if migration to 28 is not done
2023-11-14 14:37:05 +01:00
Julius Härtl a2770e0f9d Merge pull request #41455 from nextcloud/fix/f2vue_folder_overlay_icon 2023-11-14 14:05:47 +01:00
Christoph Wurst 5b7a5474b9 feat(caldav): Create personal event for out-of-office messages
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-11-14 13:57:12 +01:00
nextcloud-command 3281955aa0 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-11-14 12:45:04 +00:00
Jonas 28deb6cb45 fix(files): Use color-primary-element-text for files/folders overlay icons
Signed-off-by: Jonas <jonas@freesources.org>
2023-11-14 12:41:27 +01:00
Maxence Lange 761a688ec9 fix psalm
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2023-11-14 10:11:24 -01:00
Maxence Lange 3af12b2a50 ignore metadata if table is empty
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2023-11-14 09:28:58 -01:00
Arthur Schiwon f313b12d54 Merge pull request #41436 from nextcloud/feat/introduce-inAppSearch-method-for-advanced-search
Add `inAppSearch` for advanced search providers
2023-11-14 11:13:48 +01:00
Arthur Schiwon 5f69640006 Merge pull request #41446 from nextcloud/fix/noid/moving-metadataquery
moving IMetadataQuery
2023-11-14 11:11:06 +01:00
Côme Chilliet 70acf44a45 Merge pull request #41086 from nextcloud/feat/migrate-memory-limit-setup-check
Migrate memory_limit check to new SetupCheck API
2023-11-14 10:50:31 +01:00
Joas Schilling be76f0d088 Merge pull request #41447 from nextcloud/bugfix/noid/dont-spam-users-with-reminders
fix(backupcodes): Remove old notifications before creating a new remi…
2023-11-14 10:41:45 +01:00
Benjamin Gaussorgues 174b76fff3 Add new method inAppSearch for advanced search providers
Allows to indicates if a search provider also support in app search

Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
2023-11-14 09:58:20 +01:00
Benjamin Gaussorgues bb82119a63 Merge pull request #41413 from nextcloud/fix/setting-app-order
Fix apps search provider order
2023-11-14 09:47:37 +01:00
Tobias Kaminsky 0e406d9d8b Merge pull request #41443 from nextcloud/fix/f2vue_collectives_folder_icon
fix(files): Show Collectives icon in Collectives folders
2023-11-14 09:44:55 +01:00
nextcloud-command effea5338a chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-11-14 08:15:19 +00:00
Joas Schilling d1f3ab030b fix(backupcodes): Remove old notifications before creating a new reminder
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-11-14 08:49:17 +01:00
Jonas ee5c444e9c fix(files): Show Collectives icon in Collectives folders
Signed-off-by: Jonas <jonas@freesources.org>
2023-11-14 08:40:44 +01:00
Nextcloud bot 6284009fa0 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-11-14 00:25:51 +00:00
Maxence Lange 380b81315a moving metadataquery
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2023-11-13 22:25:37 -01:00
Julius Härtl 32a485cbef Merge pull request #41444 from nextcloud/bugfix/41421 2023-11-14 00:13:29 +01:00
nextcloud-command 1433f4533d chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-11-13 22:45:33 +00:00
Julius Härtl d7ae387713 fix: Change scroll container for sharing details
In order to meet accessibility requirements we cannot use a sticky
footer that overlaps important interactable content. Therefore this
moves to a scroll container for the details which does not include the
action buttons at the bottom.

Larger indentation change in SharingDetailsTab was required to have a
wrapping container for the scroll area.

Signed-off-by: Julius Härtl <jus@bitgrid.net>
2023-11-13 23:41:21 +01:00
Louis 311b8ffbdf Merge pull request #41426 from nextcloud/artonge/fix/live_photo_overlay
Use background to increase overlay contrast
2023-11-13 22:40:53 +01:00
Daniel Kesselberg 475dd60354 fix: use png as preview right away
The initial office preview implementation converted an office document with LibreOffice to PDF, used ImageMagick to extract the first page as JPEG, and passed it OC_Image.

https://github.com/nextcloud/server/pull/10198 changed the implementation to use PNG rather than PDF. OC_Image can use a PNG as a preview right away, so the ImageMagick step is unnecessary.

The registration code was updated to not ask ImageMagick if PDF is supported, as PDFs are no longer used to create office document previews.

Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2023-11-13 22:00:45 +01:00
Daniel Kesselberg b5241d5220 feat: allow multiple libreoffice invocations
LibreOffice only allows one invocation per user profile.[^1]

The office provider set the user profile to /tmp/owncloud-instanceid and therefore only one invocation per instance is allowed. This was introduced a while ago, yet it's unclear if this was intentionally or just a side effect.[^2]

The limitation on one invocation leads to the situation that the preview generation only works for a couple of files if you upload a whole folder of emf or word files.

This commit removes the limitation by using a new user profile for each preview. That's done by using instance id plus file id as postfix for getTemporaryFolder.

This has some drawbacks:

- Overload protection: If you upload 100 emf files, you may end up with 100 LibreOffice invocations. Though, you can use preview_concurrency_new to limit the number of previews that can be generated concurrently when php-sysvsem is available.
- New profile: I assume it takes a few bits to generate a fresh LibreOffice user profile. It appears that there is no way to ask LibreOffice to not create a profile and just work with the defaults. The profile will be cleaned after use by our temp manager.
- Remove the configuration option preview_office_cl_parameters:  This is not strictly necessary yet, but if you set the configuration option, the generated path for the user profile is also missing. The configuration option is not well documented (e.g., it's unclear that the last option needs to be --outdir) and actually, there should be no reason to change it after all.

[^1]: https://wiki.documentfoundation.org/UserProfile
[^2]: https://github.com/owncloud/core/pull/9784

Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2023-11-13 21:46:31 +01:00
Louis Chemineau 835c6f8627 Use background to increase overlay contrast
And limit it to files

Signed-off-by: Louis Chemineau <louis@chmn.me>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-11-13 19:10:42 +01:00
Julius Härtl 96eb00a861 Merge pull request #41416 from nextcloud/bugfix/preview-reset 2023-11-13 18:57:54 +01:00
Christoph Wurst 88fda7d1f4 Merge pull request #41401 from nextcloud/3rdparty-sabre-minor
chore: update sabre/vobject and sabre/event to latest minor
2023-11-13 18:29:40 +01:00
F. E Noel Nfebe 3e0f5eaa91 Merge pull request #41405 from nextcloud/bugfix/close-participants-filter-after-click
Close participants filter after click
2023-11-13 18:08:37 +01:00
nextcloud-command 7e94f782c1 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-11-13 16:00:37 +00:00
Benjamin Gaussorgues 8be988b645 Fix application search provider order
Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
2023-11-13 16:38:49 +01:00
Côme Chilliet fe8b5d47ae Migrate Bruteforce Throttle check to SetupCheck API
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-11-13 16:26:59 +01:00
Côme Chilliet 7495236034 Migrate memory_limit check to new SetupCheck API
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-11-13 15:55:46 +01:00
Julius Härtl 0d2e9a1b0a fix: Only reset preview src if it used to fail before
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2023-11-13 15:55:46 +01:00
Joas Schilling eaaf954753 Merge pull request #41417 from nextcloud/fix/noid/use-andWhere-not-where
fix(workflowengine): use andWhere() not second where()
2023-11-13 14:56:24 +01:00
Arthur Schiwon 93505b2cdd fix(workflowengine): use andWhere() not second where()
- an unconditional where() condition is added right before
- fixes also wrongly named methods in the Exception message

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2023-11-13 14:47:47 +01:00
Benjamin Gaussorgues 0f694bec82 Merge pull request #41412 from nextcloud/fix/default-icon-white
Fix default icon: should be white instead of black
2023-11-13 14:37:34 +01:00
Joas Schilling 073ec6d217 Merge pull request #41406 from nextcloud/bugfix/noid/log-exception-class-when-message-is-empty
fix(log): Log exception class when message is empty
2023-11-13 14:28:52 +01:00
Côme Chilliet 4882d40a0c Merge pull request #41415 from nextcloud/fix/fix-caldav-tests-8.3
Fix dynamic property in CalDav tests
2023-11-13 13:38:34 +01:00
Joas Schilling a5684ea3d2 fix(log): Log exception class when message is empty
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-11-13 12:45:35 +01:00
Daniel Kesselberg 170d3cf04b chore: update sabre/vobject and sabre/event to latest minor
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2023-11-13 12:44:22 +01:00
Côme Chilliet 546c024f6c Fix dynamic property in CalDav tests
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-11-13 12:40:44 +01:00
Daniel Kesselberg aa48a5f94f feat: add preview provider for emf files based on office
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2023-11-13 12:35:54 +01:00
Marco a8c1008c19 Merge branch 'master' into bugfix/close-participants-filter-after-click 2023-11-13 11:06:04 +00:00
Benjamin Gaussorgues 1e70f359bb Fix default icon: should be white instead of black
Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
2023-11-13 11:16:03 +01:00
Christoph Wurst c89016d5c3 Merge pull request #41407 from nextcloud/fix/userstatus/no-status-message-override-default-messages
fix(userstatus): Do not override message timestamp for default messages
2023-11-13 11:13:58 +01:00
Joas Schilling 476dcfdd6b Merge pull request #41404 from nextcloud/bugfix/noid/workflow-issue-on-appdata
fix(workflow): Fix "Call to a member function getUID() on null" with …
2023-11-13 11:02:24 +01:00
Joas Schilling 0feb55ee93 Merge pull request #41271 from nextcloud/enh/text-processing-iprovider2
enh(TextProcessing): Add two new provider interfaces
2023-11-13 10:49:14 +01:00
Marco 7799f6701a Close participants filter after click
Signed-off-by: Marco <marcoambrosini@icloud.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-11-13 09:20:20 +00:00
Christoph Wurst fc1dd985c8 fix(userstatus): Do not override message timestamp for default messages
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-11-13 09:53:28 +01:00
Joas Schilling 997a1c46fb fix(workflow): Fix "Call to a member function getUID() on null" with appdata
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-11-13 09:00:40 +01:00
Nextcloud bot 36d370b216 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-11-13 00:25:08 +00:00
Ferdinand Thiessen 694c7e0689 Merge pull request #41389 from nextcloud/dependabot/npm_and_yarn/vueuse/integrations-10.6.0
chore(deps): Bump @vueuse/integrations from 10.5.0 to 10.6.0
2023-11-12 15:12:52 +01:00
Ferdinand Thiessen e593c066a4 Merge pull request #41391 from nextcloud/dependabot/npm_and_yarn/regenerator-runtime-0.14.0
chore(deps): Bump regenerator-runtime from 0.13.11 to 0.14.0
2023-11-12 01:33:30 +01:00
Nextcloud bot d3776e0e00 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-11-12 00:24:19 +00:00
dependabot[bot] 96e0f0e5e0 chore(deps): Bump @vueuse/integrations from 10.5.0 to 10.6.0
Bumps [@vueuse/integrations](https://github.com/vueuse/vueuse/tree/HEAD/packages/integrations) from 10.5.0 to 10.6.0.
- [Release notes](https://github.com/vueuse/vueuse/releases)
- [Commits](https://github.com/vueuse/vueuse/commits/v10.6.0/packages/integrations)

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

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-11-12 00:18:10 +00:00
dependabot[bot] 5cb9b3fe72 chore(deps): Bump regenerator-runtime from 0.13.11 to 0.14.0
Bumps [regenerator-runtime](https://github.com/facebook/regenerator) from 0.13.11 to 0.14.0.
- [Release notes](https://github.com/facebook/regenerator/releases)
- [Commits](https://github.com/facebook/regenerator/compare/regenerator-runtime@0.13.11...regenerator-runtime@0.14.0)

---
updated-dependencies:
- dependency-name: regenerator-runtime
  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>
2023-11-12 00:16:49 +00:00
Ferdinand Thiessen b2d999fd68 fix(cypress): Do not install calendar app from app store for testing but use locally provided test app
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-11-12 01:13:21 +01:00
Nextcloud bot 3ce31fc1bf Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-11-11 00:22:14 +00:00
Christoph Wurst 7556021a91 Merge pull request #41374 from nextcloud/feat/search/search-event-attendees
feat(search): Seach for persons as event attendees and organizers
2023-11-10 20:33:00 +01:00
Christoph Wurst 9b8cb5c819 feat(search): Seach for persons as event attendees and organizers
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-11-10 18:56:43 +01:00
Christoph Wurst 78d5ec463b Merge pull request #41318 from nextcloud/fix/session/empty-session-error-logging
fix(session): Do not log fresh/empty session as error
2023-11-10 18:55:39 +01:00
Andy Scherzinger 3261c728b4 Merge pull request #41385 from nextcloud/chore/update-twitter-to-x-in-personal-settings
Chore/update twitter to x in personal settings
2023-11-10 18:38:33 +01:00
nextcloud-command b523624d09 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-11-10 17:02:40 +00:00
George Calderon a047686282 Updated visible 'Twitter' name to 'X' in Personal info
Signed-off-by: George Calderon <gcald117@gmail.com>
2023-11-10 17:42:10 +01:00
George Calderon 4871f59c35 Updated visible 'Twitter' name to 'X' in Personal info
Signed-off-by: George Calderon <gcald117@gmail.com>
2023-11-10 17:42:10 +01:00
Andy Scherzinger 1d9c482e68 Merge pull request #41302 from zero0cool0/master
Lower log level about invalid session token
2023-11-10 16:41:01 +01:00
Arthur Schiwon 87e07bb762 28.0.0 beta 3
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2023-11-10 14:06:28 +01:00
Arthur Schiwon 13b6e17180 Merge pull request #41314 from nextcloud/release/28.0.0_beta_2
28.0.0 beta 2
2023-11-10 13:22:28 +01:00
F. E Noel Nfebe 95e5642fa0 Merge pull request #40823 from nextcloud/39162-global-search-2.0
New UI for global search
2023-11-10 12:40:02 +01:00
nextcloud-command 4e7a0e9e03 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-11-10 11:00:52 +00:00
fenn-cs 360a372afc Use new SearchableList component for people filter
This commit migrates away from NcSelect which has a couple of
accesibility and display problems currently, hence a new component
`SearchableList` is now used.

Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
2023-11-10 11:32:26 +01:00
Marco 8feacd0384 Create searchable list component
Signed-off-by: Marco <marcoambrosini@icloud.com>
2023-11-10 11:27:32 +01:00
fenn-cs 13d03f45a3 Add unified search toggle in config
The new global search UI is new and might be unstable, hence
we are giving users the option to use the old unified search UI, if
the encounter signficant bottlenecks.

Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-11-10 11:27:32 +01:00
fenn-cs 20b3338288 Feat: New UI global search
We are introducing a new search UI that providers a lot more space
for users via a large centralized modal and providers various filters
which can by applied by adding various chips on the UI.

For example, users can now filter their search or scope it by limiting the results
to specific apps, time period and people by apply the appropriate filters on the
new UI, previously filters where applied using text in the search box by prefixing
with `::`.

Resolves: #39162

Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
2023-11-10 11:27:32 +01:00
Marcel Klehr 2031fe17b4 fix: Make sure array starts at 0 after array filter
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-11-10 11:13:54 +01:00
Benjamin Gaussorgues fa761b51cc Merge pull request #40618 from nextcloud/feat/39162/advanced_search
Advanced search: backend allows multiples terms to search
2023-11-10 10:42:20 +01:00
Julius Härtl a66dbcdfc1 Merge pull request #41354 from nextcloud/bugfix/noid/chunking-v2-distributed-cache 2023-11-10 09:23:32 +01:00
Benjamin Gaussorgues ddb8b68b55 feat(carddav): Allow advanced search for contacts
Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
2023-11-10 09:21:16 +01:00
Benjamin Gaussorgues 3545a1c613 feat(caldav): Allow advanced search for events/tasks
Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
2023-11-10 09:21:16 +01:00
Benjamin Gaussorgues a75a93af8e feat(files): Allow advanced search for files
Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
2023-11-10 09:21:16 +01:00
Benjamin Gaussorgues f3181a3931 chore: update openapi.json
Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
2023-11-10 09:21:16 +01:00
Benjamin Gaussorgues c753eefb21 feat(search): Allow multiple search terms in UnifiedController
Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
2023-11-10 09:21:16 +01:00
Nextcloud bot 9de8e8e224 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-11-10 00:24:16 +00:00
Louis 1fe951f002 Merge pull request #41308 from nextcloud/artonge/feat/live_photos
Customize rendering for live photos
2023-11-09 23:53:40 +01:00
Louis Chemineau dc00904ca0 Compile assets
Signed-off-by: Louis Chemineau <louis@chmn.me>
2023-11-09 22:46:25 +01:00
Louis Chemineau b180ca9d47 Display play icon over live photos' previews
Signed-off-by: Louis Chemineau <louis@chmn.me>
2023-11-09 22:39:52 +01:00
Louis Chemineau 1c84139fa6 Hide .mov for live photos
Signed-off-by: Louis Chemineau <louis@chmn.me>
2023-11-09 22:39:52 +01:00
Joas Schilling 397c96967a Merge pull request #41365 from nextcloud/bugfix/noid/fix-emitted-events
fix(events): Make sure all `\OCP\Files::…` events are emitted with th…
2023-11-09 22:27:24 +01:00
Arthur Schiwon 743066a3d3 Merge pull request #41333 from nextcloud/fix/41316/incomplete-displayname
fix(LDAP): prevent incomplete displaynames…
2023-11-09 20:41:52 +01:00
Christoph Wurst 7248d9b091 Merge pull request #40615 from nextcloud/enh/automate-calendar-event-user-status
feat(user status): automate user status for events
2023-11-09 19:56:39 +01:00
Christoph Wurst 5183ba2a5b Merge pull request #40653 from nextcloud/feat/ooo-api
feat: Add out-of-office message API
2023-11-09 18:35:20 +01:00
Anna Larch f14a4f8fd7 feat(user status): automate user status for events
and automatically set a user status to free or busy depending on their calendar
transparency, event status and availability settings

Signed-off-by: Anna Larch <anna@nextcloud.com>
2023-11-09 16:20:19 +01:00
Joas Schilling 1aa24c024e Merge pull request #41355 from nextcloud/chore/dependencies-stable
chore: Update nextcloud dependencies to stable version
2023-11-09 16:02:42 +01:00
Joas Schilling 67958915da fix(events): Make sure all \OCP\Files::… events are emitted with the same data
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-11-09 15:57:22 +01:00
Marcel Klehr 017f136059 fix: Don't try to access undefined array key
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-11-09 15:38:59 +01:00
Marcel Klehr 5704281276 fix: Update autoloaders
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-11-09 15:34:22 +01:00
Ferdinand Thiessen 2df4afa398 fix(dav): Adjust snapshots for vue components update
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-11-09 15:05:40 +01:00
Ferdinand Thiessen b470d33fc7 chore: Update nextcloud dependencies to stable version
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-11-09 15:04:00 +01:00
Benjamin Gaussorgues a08281cc5d Merge pull request #39582 from nextcloud/simplify-ip-normalizer
Simplify IP address normalizer with IP masks
2023-11-09 14:26:33 +01:00
Marcel Klehr b45007f38f Merge branch 'master' into enh/text-processing-iprovider2 2023-11-09 13:46:18 +01:00
Ferdinand Thiessen 2606a566b2 Merge pull request #41339 from nextcloud/fix/40699-Availability_timepicker_improvements
Add two more translations for `CalendarAvailability`
2023-11-09 13:46:11 +01:00
Joas Schilling dbe921452b Merge pull request #41295 from nextcloud/fix/has-reserved-job
fix(JobList#hasReservedJob): Break tie when multiple jobs are reserved
2023-11-09 13:26:27 +01:00
julia.kirschenheuter 58913b6d13 Add two more translations for CalendarAvailability
Signed-off-by: julia.kirschenheuter <julia.kirschenheuter@nextcloud.com>
2023-11-09 11:11:58 +01:00
Ferdinand Thiessen cc0f8c1b14 Merge pull request #41348 from nextcloud/deps/update-calendar-availability-vue-to-v2.0.0
Update `calendar-availability-vue` to `^2.0.0`
2023-11-09 11:08:16 +01:00
Julius Härtl 0033ae52b8 fix: Validate that we have a proper distributed cache configured
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2023-11-09 11:08:11 +01:00
Christoph Wurst ab1a1d688d feat: Add out-of-office message API
[skipci]

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
2023-11-09 10:36:11 +01:00
julia.kirschenheuter a8fdb88e75 Update calendar-availability-vue to ^2.0.0
Signed-off-by: julia.kirschenheuter <julia.kirschenheuter@nextcloud.com>
2023-11-09 09:48:34 +01:00
Arthur Schiwon 55d68bb9d1 Merge pull request #41349 from nextcloud/fix/oca-settings-api-user-actions
fix(settings): Pass user object to user row actions
2023-11-09 09:44:22 +01:00
Joas Schilling a12ce24589 Merge pull request #41351 from nextcloud/bugfix/noid/fix-filesmetadata-migration
fix(migration): Fix files metadata migration
2023-11-09 08:08:50 +01:00
Joas Schilling 960b95bb8e fix(migration): Fix files metadata migration
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-11-09 06:59:42 +01:00
Nextcloud bot a79dbf3a31 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-11-09 00:25:53 +00:00
Christoph Wurst 734b11dc86 Merge pull request #41266 from nextcloud/feat/contactsmenu/user-status-sorting
feat(contactsmenu): Sort by user status
2023-11-08 22:21:18 +01:00
Robin Appelman b29bc59e8b Merge pull request #41119 from nextcloud/optmize-storage-wrappers
optimize builtin storage wrappers
2023-11-08 22:14:19 +01:00
Ferdinand Thiessen 8038206a1f chore: Compile assets
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-11-08 21:55:40 +01:00
Christoph Wurst 71080a8d20 feat(contactsmenu): Sort by user status
If user_status is not enabled, fall back to sorting by contact name.

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-11-08 21:53:35 +01:00
Ferdinand Thiessen a106b7b7be fix(settings): Pass user object to user row actions
This is required as otherwise the action has no information on which user it was called

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-11-08 21:49:26 +01:00
Robin Appelman 1acc7c0468 Merge pull request #41054 from nextcloud/systemtag-children
get children from dav node when preloading system tags
2023-11-08 18:00:41 +01:00
Louis 77c9550353 Merge pull request #40964 from nextcloud/artonge/feat/metadata/port_providers
Support dynamic metadata request on PROPFIND requests
2023-11-08 17:58:20 +01:00
Robin Appelman f4fa2fb93c optimize isShared and isMounted
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-11-08 17:34:58 +01:00
Marcel Klehr ab736429ce fix: Make linters happy
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-11-08 17:02:00 +01:00
Marcel Klehr a29ed70c6c Update lib/public/TextProcessing/IProviderWithUserId.php
Co-authored-by: Julien Veyssier <julien-nc@posteo.net>
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-11-08 17:01:10 +01:00
Marcel Klehr 6fbf430fe3 Update lib/private/TextProcessing/Manager.php
Co-authored-by: Julien Veyssier <julien-nc@posteo.net>
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-11-08 17:01:02 +01:00
Marcel Klehr 12c558f20a Update lib/private/TextProcessing/Manager.php
Co-authored-by: Julien Veyssier <julien-nc@posteo.net>
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-11-08 17:00:48 +01:00
Marcel Klehr 8fe993c06f fix: Remove ITaskTypeWithId
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-11-08 16:58:31 +01:00
Marcel Klehr f6d765fc1f fix: Use getId() in ArtificialIntelligence settings
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-11-08 16:47:22 +01:00
Marcel Klehr 1471849956 fix: Extend docblock of hasReservedJob
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-11-08 16:37:51 +01:00
Christoph Wurst d751baee36 Merge pull request #40799 from nextcloud/fix/login-csrf-check-error-message
fix: Show error message when CSRF check fails at login
2023-11-08 16:33:53 +01:00
Louis Chemineau d3a313f192 Support getting and setting metadata in DAV requests
Signed-off-by: Louis Chemineau <louis@chmn.me>
2023-11-08 16:23:53 +01:00
Robin Appelman 79088ea15f Merge pull request #40996 from nextcloud/view-share-disable-reuse
reuse sharing disabled state when listing folder content
2023-11-08 15:52:35 +01:00
Robin Appelman 4a049c2094 get children from dav node when preloading system tags
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-11-08 15:33:32 +01:00
Robin Appelman dec880b285 optimize builtin storage wrappers
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-11-08 15:26:10 +01:00
Christoph Wurst a5422a3998 fix: Show error message when CSRF check fails at login
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-11-08 15:18:34 +01:00
Benjamin Gaussorgues f04035caa0 Simplify IP address normalizer with IP masks
Remove dead code

Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
2023-11-08 11:55:07 +01:00
Marcel Klehr 8c0c426538 Merge branch 'master' into enh/text-processing-iprovider2
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-11-08 11:52:47 +01:00
John Molakvoæ 9285fe04ff Merge pull request #41331 from nextcloud/fix/files/overwrite-header 2023-11-08 09:26:23 +01:00
John Molakvoæ f434483248 fix(files): add missing Overwrite: F header in renaming
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-11-08 09:11:40 +01:00
John Molakvoæ 069eb070a9 Merge pull request #41010 from nextcloud/feat/nested-actins 2023-11-08 08:53:16 +01:00
John Molakvoæ 32c1aebaae fix(cypress): formatFileSize change revert from files library
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-11-08 08:40:27 +01:00
John Molakvoæ 50417bcee8 chore(jest): update snapshot after component update
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-11-08 08:39:14 +01:00
John Molakvoæ cf6c921376 chore(files_reminders): upgrade to 28 APIs
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-11-08 08:39:01 +01:00
John Molakvoæ 72ffd4999a feat(files): support nested actions
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-11-08 08:39:01 +01:00
Christoph Wurst 1d568a89a4 Merge pull request #40767 from nextcloud/feat/dav/absence
feat(dav): implement personal absence settings
2023-11-08 05:51:29 +01:00
Ferdinand Thiessen e8cc216b69 Merge pull request #41328 from nextcloud/fix/41326-Contrast_between_focused_and_unfocused_state_on_different_types_of_input_fields_is_not_enough
Fix styles for input field and textarea on focus, hover and active state
2023-11-08 02:55:42 +01:00
Nextcloud bot ab7830972e Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-11-08 00:32:32 +00:00
Christoph Wurst 2aa8e9d32a Merge pull request #38995 from fsamapoor/refactor_lib_private_systemtag
Refactors lib/private/SystemTag
2023-11-07 21:10:38 +01:00
Arthur Schiwon d978050666 fix(LDAP): prevent incomplete displaynames…
… when reading users from primary groups or gidNumber-based groups

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2023-11-07 21:02:31 +01:00
Christoph Wurst 2e24e70d94 Merge pull request #39109 from fsamapoor/refactor_lib_private_metadata_migration_net
Refactors /Metadata, /Migration, and /Net namespaces in /lib/private/
2023-11-07 20:47:39 +01:00
Pytal 2769b99bcf Merge pull request #41329 from nextcloud/fix/files-copy-file
fix(files): Do not encode the path twice (and do not use undefined method)
2023-11-07 10:00:31 -08:00
Ferdinand Thiessen a41a5cafef Merge pull request #41303 from nextcloud/chore/migrate-apps-cypress
chore(cypress): Migrate apps acceptance tests to Cypress
2023-11-07 18:21:57 +01:00
Maxence Lange d9c24f6c7b Merge pull request #40761 from nextcloud/enh/noid/files-metadata
IFilesMetadata
2023-11-07 15:55:24 -01:00
Richard Steinmetz 425e770c04 feat(dav): implement personal absence settings
Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
2023-11-07 17:27:10 +01:00
Côme Chilliet 3e6642ab0b Merge pull request #41311 from nextcloud/fix/improve-setup-checks-api
Improve setup checks API
2023-11-07 16:51:57 +01:00
Ferdinand Thiessen e79e0bdf4d fix(files): Do not encode the path twice (and do not use undefined method)
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-11-07 16:49:10 +01:00
Marcel Klehr b8862bd14e fix coding style
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-11-07 16:29:15 +01:00
julia.kirschenheuter dea02d2c32 Fix styles for input field and textarea on focus, hover and active state
Signed-off-by: julia.kirschenheuter <julia.kirschenheuter@nextcloud.com>
2023-11-07 16:23:56 +01:00
Maxence Lange 3631536261 IFilesMetadata
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2023-11-07 13:06:13 -01:00
Maxence Lange f497d8b6e5 IFilesMetadata
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2023-11-07 12:43:08 -01:00
Simon L b49400cc18 Merge pull request #41298 from nextcloud/enh/noid/fix-sharing-description 2023-11-07 14:40:14 +01:00
Ferdinand Thiessen 84d2a9b3d0 Merge pull request #41134 from nextcloud/feat/migrate-more-setup-checks
Migrate checks to new SetupCheck API
2023-11-07 14:21:47 +01:00
Côme Chilliet 86290dd888 Add missing dots in PhpModules setup check descriptions
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-11-07 14:15:47 +01:00
Côme Chilliet 39d2970191 Add $name property in SetupResult and improve API
Keys for check results are not locale dependent anymore, the name of the
 setup check is instead stored in the setup result object.

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-11-07 14:15:47 +01:00
nextcloud-command 14b5e56ca3 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-11-07 11:53:59 +00:00
Simon L d4830051c5 Merge pull request #41294 from nextcloud/supVerIssTemp 2023-11-07 12:49:13 +01:00
Côme Chilliet 00d3856b92 Revert "Migrate code integrity to SetupCheck API"
This reverts commit aa2d315d95d37b48752d0e92d0ce79913be1d4f1.

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-11-07 12:25:04 +01:00
Côme Chilliet 0fd5ed9854 Migrate 32bit check to SetupCheck API
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-11-07 12:25:03 +01:00
Côme Chilliet ac3da13b38 Migrate Freetype check to SetupCheck API
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-11-07 12:25:03 +01:00
Côme Chilliet 086d3ceecc Migrate code integrity to SetupCheck API
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-11-07 12:25:03 +01:00
Côme Chilliet 147b29fca2 Migrate Randomness secure check to SetupCheck API
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-11-07 12:25:03 +01:00
Côme Chilliet ddd13a90d8 Migrate memcache check to SetupCheck API
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-11-07 12:25:02 +01:00
Simon L 3a9d0324b3 display inline title always
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-11-07 12:17:42 +01:00
Simon L 9d0cefd71d fix description of sharing toggle
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-11-07 12:17:42 +01:00
Côme Chilliet 6911dc30e6 Migrated both file locking checks to SetupCheck API
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-11-07 12:14:03 +01:00
Côme Chilliet f9770b8ef2 Remove duplicate fileinfo PHP module check
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-11-07 12:14:03 +01:00
Côme Chilliet 3c75075eba Migrate database transaction level check to SetupCheck API
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-11-07 12:14:03 +01:00
Côme Chilliet 5957a2bf6b Migrate email test to new SetupCheck API
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-11-07 12:14:02 +01:00
Côme Chilliet 506f3961ec Remove duplicated ReadOnlyConfig setup check
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-11-07 12:14:02 +01:00
Côme Chilliet dec52f6979 Migrate getenv test to new SetupCheck API
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-11-07 12:14:02 +01:00
Simon L 402ef78df7 Revert "display inline title always"
This reverts commit 9ea30dcab6.
2023-11-07 12:07:16 +01:00
Simon L 9ea30dcab6 display inline title always
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-11-07 12:07:03 +01:00
Marcel Klehr 17e7b6c711 fix: split IProvider2 into two more verbose interfaces
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-11-07 12:02:03 +01:00
Julia Kirschenheuter 71f1e419e2 Merge pull request #41270 from nextcloud/fix/41267-Contrast_of_focused_Search_and_Search_contacts_is_not_enough
Fix styles for input fields on focus state
2023-11-07 10:03:39 +01:00
Côme Chilliet 273f628c3d Merge pull request #41083 from nextcloud/feat/improve-setup-checks-wording
Improve setup checks naming and improve database version check
2023-11-07 10:02:30 +01:00
Christoph Wurst 63069b6492 fix(session): Do not log fresh/empty session as error
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-11-07 09:13:48 +01:00
Joas Schilling bcc4d7d042 Merge pull request #41214 from nextcloud/bugfix/noid/make-install-verbose
fix(install): Make installing more verbose
2023-11-07 08:39:42 +01:00
Joas Schilling a77af05a31 Merge pull request #41175 from nextcloud/feat/noid/openapi-scopes
Add OpenAPI attribute to allow multiple scopes
2023-11-07 08:39:04 +01:00
Faraz Samapoor cbc47a9890 Refactors Metadata, Migration, and Net.
In lib/private namespace to improve code readability.

Signed-off-by: Faraz Samapoor <fsa@adlas.at>
Signed-off-by: Faraz Samapoor <f.samapoor@gmail.com>
2023-11-07 09:43:40 +03:30
Faraz Samapoor a988754e3d Refactors lib/private/SystemTag.
Mainly using PHP8's constructor property promotion.

Signed-off-by: Faraz Samapoor <f.samapoor@gmail.com>
2023-11-07 09:41:33 +03:30
Maxence Lange e62e9e3dbf IFilesMetadata
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2023-11-07 00:21:38 -01:00
Nextcloud bot d4393174fc Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-11-07 00:32:15 +00:00
Ferdinand Thiessen d056bd5d32 Merge pull request #41301 from nextcloud/fix/files_sharing--translations
fix(files_sharing): fix sharing tab translations
2023-11-07 00:46:55 +01:00
Andy Scherzinger 4f48433a6f Merge pull request #40809 from SYK-08/patch-1
Update README.md
2023-11-06 22:17:17 +01:00
Andy Scherzinger 2005ebd4de Update README.md
Co-authored-by: Ferdinand Thiessen <opensource@fthiessen.de>
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2023-11-06 22:16:24 +01:00
Anna 08d414bc6e Merge pull request #40876 from nextcloud/fix/dont-send-imip-emails-to-rooms-resources 2023-11-06 21:52:38 +01:00
Arthur Schiwon c2d4fbba9c 28.0.0 beta 2
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2023-11-06 21:36:47 +01:00
Anna Larch a75173a9a2 fix(scheduling): don't send iMIP emails to rooms / resources
Signed-off-by: Anna Larch <anna@nextcloud.com>
2023-11-06 21:01:18 +01:00
Grigorii K. Shartsev eb9257bc17 chore(assets): Recompile assets
Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
2023-11-06 18:42:22 +01:00
Grigorii K. Shartsev aee73c060b fix(files_sharing): permissions translation
Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
2023-11-06 18:40:21 +01:00
Pytal 045e1528bd Merge pull request #41251 from nextcloud/fix/profile-active
fix: Only highlight profile entry when viewing own profile
2023-11-06 09:25:16 -08:00
Julia Kirschenheuter 9d5d0cbb95 Merge branch 'master' into fix/41267-Contrast_of_focused_Search_and_Search_contacts_is_not_enough 2023-11-06 17:29:45 +01:00
Côme Chilliet f412c8d8c9 Merge pull request #41081 from nextcloud/feat/add-occ-command-for-setupchecks
Add a command to run the setup checks from CLI
2023-11-06 17:27:27 +01:00
julia.kirschenheuter 7f5f93268c Fix styles for input fields on focus state
Signed-off-by: julia.kirschenheuter <julia.kirschenheuter@nextcloud.com>
2023-11-06 17:24:54 +01:00
Ferdinand Thiessen 4154ba343b Merge pull request #41285 from nextcloud/fix/id-timezone
fix(dav): Add ID / label to timezone picker in availablility settings
2023-11-06 16:14:55 +01:00
Côme Chilliet 3cdb059dcf Use no style for info to make it different from warning
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-11-06 15:28:51 +01:00
Côme Chilliet 2aab6bd209 Fix icon for errors to be consistent with the others
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-11-06 15:26:16 +01:00
Côme Chilliet 802da2b801 Add an emoji for warnings as well
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-11-06 15:26:16 +01:00
Côme Chilliet a1a7774374 Use constants for SUCCESS/FAILURE and show errors even on quiet level
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-11-06 15:26:16 +01:00
Côme Chilliet b5eeaa90d7 Add a command to run the setup checks from CLI
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-11-06 15:26:16 +01:00
Ferdinand Thiessen 3d63be2af4 fix(tests): Adjust test snapshots for changes dependencies
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-11-06 15:16:19 +01:00
Ferdinand Thiessen 7f0ff4092c chore: Compile assets
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-11-06 15:16:19 +01:00
Ferdinand Thiessen 755f18eeca fix(dav): Make timezone picker label a real label element
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-11-06 15:16:19 +01:00
Ferdinand Thiessen 5f7af3fbb5 chore(deps): Update @nextcloud/vue
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-11-06 15:16:19 +01:00
Ferdinand Thiessen 54c934b910 chore(cypress): Migrate apps acceptance tests to Cypress
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-11-06 15:07:43 +01:00
Marcel Klehr fecf6425cf fix: psalm issues and coding style
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-11-06 14:53:20 +01:00
Marcel Klehr b01e0c31fb enh: update openapi.json
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-11-06 14:52:59 +01:00
Patrick Fischer b2103556b5 Lower log level about invalid session token 2023-11-06 14:51:13 +01:00
Marcel Klehr 1476a7216a fix(TextProcessing/ migration): add check whether new column exists already
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-11-06 12:57:57 +01:00
Marcel Klehr 26a659dc2c fix(TextProcessing/Manager): add canuseProvider check in getPreferredProviders
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-11-06 12:54:58 +01:00
Ferdinand Thiessen 81a9e19ace Merge pull request #41190 from nextcloud/chore/migrate-header-cypress
chore(cypress): Migrate header contacts menu tests from Behat to Cypress
2023-11-06 12:51:12 +01:00
Marcel Klehr d11b9cbd79 fix(TextProcessing/Manager): Throw TaskFailureException upon failure
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-11-06 12:50:16 +01:00
Marcel Klehr cbd304c8f0 fix(JobList#hasReservedJob): Break tie when multiple jobs are reserved
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-11-06 10:47:40 +01:00
Git'Fellow 12c5c126e6 Update supported versions on issue template
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
2023-11-06 10:34:16 +01:00
Julien Veyssier f12a881ba5 Merge pull request #41078 from nextcloud/update/openapi-extractor
Update openapi extractor
2023-11-06 10:15:16 +01:00
Julien Veyssier 5c0e4b701f Merge branch 'master' into update/openapi-extractor 2023-11-06 10:14:51 +01:00
Louis 40c8e587b2 Merge pull request #41173 from nextcloud/deleteGhostVersion
fix: Delete ghost versions of non-existing files
2023-11-06 09:50:14 +01:00
Kate 738faf4135 Merge pull request #41059 from nextcloud/fix/theming/capabilities
fix(theming): Correctly expose user and admin theming
2023-11-06 09:20:13 +01:00
Nextcloud bot 727baa225d Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-11-06 00:29:16 +00:00
Ferdinand Thiessen 9cabaaee8e chore(cypress): Migrate header contacts menu tests from Behat to Cypress
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-11-05 20:17:00 +01:00
Ferdinand Thiessen b989596726 Merge pull request #41276 from nextcloud/dependabot/npm_and_yarn/marked-9.1.5
chore(deps): Bump marked from 9.0.3 to 9.1.5
2023-11-05 05:19:59 +01:00
Ferdinand Thiessen bf8076d803 chore: Compile assets
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-11-05 04:01:44 +01:00
dependabot[bot] d742aba9dd chore(deps): Bump marked from 9.0.3 to 9.1.5
Bumps [marked](https://github.com/markedjs/marked) from 9.0.3 to 9.1.5.
- [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/v9.0.3...v9.1.5)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-11-05 03:42:58 +01:00
dependabot[bot] c51214378f Merge pull request #41277 from nextcloud/dependabot/npm_and_yarn/nextcloud/moment-1.2.2 2023-11-05 00:52:35 +00:00
Nextcloud bot 5595650326 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-11-05 00:28:25 +00:00
Ferdinand Thiessen eac1179111 chore: Compile assets
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-11-05 01:02:07 +01:00
dependabot[bot] 57fdf32a01 chore(deps): Bump @nextcloud/moment from 1.2.1 to 1.2.2
Bumps [@nextcloud/moment](https://github.com/nextcloud/nextcloud-moment) from 1.2.1 to 1.2.2.
- [Changelog](https://github.com/nextcloud-libraries/nextcloud-moment/blob/master/CHANGELOG.md)
- [Commits](https://github.com/nextcloud/nextcloud-moment/compare/v1.2.1...v1.2.2)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-11-05 00:58:08 +01:00
Ferdinand Thiessen 6b65c814be Merge pull request #41279 from nextcloud/dependabot/npm_and_yarn/nextcloud/upload-1.0.0-beta.19
chore(deps): Bump @nextcloud/upload from 1.0.0-beta.18 to 1.0.0-beta.19
2023-11-05 00:10:27 +01:00
Ferdinand Thiessen d4727af11c chore: Compile assets
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-11-04 22:45:56 +01:00
dependabot[bot] 55c99e7df6 chore(deps): Bump @nextcloud/upload from 1.0.0-beta.18 to 1.0.0-beta.19
Bumps [@nextcloud/upload](https://github.com/skjnldsv/nextcloud-upload) from 1.0.0-beta.18 to 1.0.0-beta.19.
- [Release notes](https://github.com/skjnldsv/nextcloud-upload/releases)
- [Commits](https://github.com/skjnldsv/nextcloud-upload/compare/v1.0.0-beta.18...v1.0.0-beta.19)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-11-04 22:37:51 +01:00
dependabot[bot] 7068fe948c Merge pull request #41275 from nextcloud/dependabot/npm_and_yarn/focus-trap-7.5.4 2023-11-04 21:33:49 +00:00
Ferdinand Thiessen 36b76223d8 chore: Compile assets
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-11-04 21:48:35 +01:00
dependabot[bot] 7b33e19a4c chore(deps): Bump focus-trap from 7.5.2 to 7.5.4
Bumps [focus-trap](https://github.com/focus-trap/focus-trap) from 7.5.2 to 7.5.4.
- [Release notes](https://github.com/focus-trap/focus-trap/releases)
- [Changelog](https://github.com/focus-trap/focus-trap/blob/master/CHANGELOG.md)
- [Commits](https://github.com/focus-trap/focus-trap/compare/v7.5.2...v7.5.4)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-11-04 21:46:07 +01:00
Ferdinand Thiessen a7e9044a12 Merge pull request #41282 from nextcloud/dependabot/npm_and_yarn/pinia-2.1.7
chore(deps): Bump pinia from 2.1.6 to 2.1.7
2023-11-04 21:45:37 +01:00
Ferdinand Thiessen 7ffed69d82 chore: Compile assets
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-11-04 20:46:37 +01:00
dependabot[bot] 5041cb9c9c chore(deps): Bump pinia from 2.1.6 to 2.1.7
Bumps [pinia](https://github.com/vuejs/pinia) from 2.1.6 to 2.1.7.
- [Release notes](https://github.com/vuejs/pinia/releases)
- [Commits](https://github.com/vuejs/pinia/compare/pinia@2.1.6...pinia@2.1.7)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-11-04 20:43:34 +01:00
dependabot[bot] b2189b2265 Merge pull request #41281 from nextcloud/dependabot/npm_and_yarn/vue-and-vue-template-compiler-2.7.15 2023-11-04 19:42:29 +00:00
Ferdinand Thiessen e864b49a77 chore: Compile assets
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-11-04 18:57:54 +01:00
dependabot[bot] 695e18f863 chore(deps): Bump vue and vue-template-compiler
Bumps [vue](https://github.com/vuejs/core) and [vue-template-compiler](https://github.com/vuejs/vue). These dependencies needed to be updated together.

Updates `vue` from 2.7.14 to 2.7.15
- [Release notes](https://github.com/vuejs/core/releases)
- [Changelog](https://github.com/vuejs/core/blob/main/CHANGELOG.md)
- [Commits](https://github.com/vuejs/core/commits)

Updates `vue-template-compiler` from 2.7.14 to 2.7.15
- [Release notes](https://github.com/vuejs/vue/releases)
- [Changelog](https://github.com/vuejs/vue/blob/main/CHANGELOG.md)
- [Commits](https://github.com/vuejs/vue/compare/v2.7.14...v2.7.15)

---
updated-dependencies:
- dependency-name: vue
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: vue-template-compiler
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-11-04 12:10:12 +01:00
Ferdinand Thiessen c081437dc9 Merge pull request #41283 from nextcloud/dependabot/github_actions/cypress-io/github-action-6.6.0
chore(deps): Bump cypress-io/github-action from 6.5.0 to 6.6.0
2023-11-04 12:09:45 +01:00
dependabot[bot] 7289aa89fb Merge pull request #41280 from nextcloud/dependabot/npm_and_yarn/cypress-13.4.0 2023-11-04 03:41:20 +00:00
dependabot[bot] f85b62f933 chore(deps): Bump cypress-io/github-action from 6.5.0 to 6.6.0
Bumps [cypress-io/github-action](https://github.com/cypress-io/github-action) from 6.5.0 to 6.6.0.
- [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/59810ebfa5a5ac6fcfdcfdf036d1cd4d083a88f2...ebe8b24c4428922d0f793a5c4c96853a633180e3)

---
updated-dependencies:
- dependency-name: cypress-io/github-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-11-04 02:46:16 +00:00
dependabot[bot] e190d086c9 chore(deps-dev): Bump cypress from 13.3.0 to 13.4.0
Bumps [cypress](https://github.com/cypress-io/cypress) from 13.3.0 to 13.4.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.3.0...v13.4.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-11-04 02:17:35 +00:00
Nextcloud bot 33e1db616d Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-11-04 00:29:23 +00:00
Git'Fellow b4a3773115 fix: reduce memory consumption of scans
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>

Fix lint

Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
2023-11-03 18:07:42 +01:00
Arthur Schiwon 333ab4de68 Merge pull request #40995 from nextcloud/cache-jail-optimizations
optimize cache jail creation
2023-11-03 17:03:09 +01:00
Simon L 86e9fcab21 Merge pull request #41263 from nextcloud/enh/noid/fix-semaphore-guarding 2023-11-03 16:46:45 +01:00
Marcel Klehr 181f819e41 enh(TextProcessing): Add IProvider2
- allow providers to obtain current task's userId
- allow providers to expose average task runtime

Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-11-03 16:22:54 +01:00
Simon L fbd8f76e42 Merge pull request #41256 from nextcloud/enh/40689/add-foto-description-2
add descriptions for background pictures
2023-11-03 16:06:33 +01:00
Joas Schilling 6f39d82031 fix(install): Make installing more verbose
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-11-03 15:44:46 +01:00
Simon L b681cf735a address review
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-11-03 15:27:17 +01:00
Simon L bb6c241760 add descriptions for background pictures
Signed-off-by: Simon L <szaimen@e.mail.de>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-11-03 14:23:39 +00:00
Christoph Wurst 50de7553b5 Merge pull request #41211 from nextcloud/fix/text-to-image
fix(TextToImage): Consistently use the right method to get the preferred providers
2023-11-03 13:11:07 +01:00
Christoph Wurst b038dbe0ae Merge pull request #41265 from nextcloud/feat/dependencyinjection/optional-services
feat(dependencyinjection): Allow optional (nullable) services
2023-11-03 12:52:17 +01:00
Christoph Wurst 78842348b2 feat(dependencyinjection): Allow optional (nullable) services
Allows working with classes that might or might not be available.

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-11-03 11:53:43 +01:00
Simon L 531f5d1e4f fix semaphore guarding
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-11-03 11:47:12 +01:00
jld3103 e69e201af8 fix(theming): Correctly expose user and admin theming
Signed-off-by: jld3103 <jld3103yt@gmail.com>
2023-11-03 09:36:08 +01:00
Joas Schilling ffc1bb774b feat(openapi): Add OpenAPI attribute to allow multiple scopes and overwriting tags
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-11-03 09:25:11 +01:00
Ferdinand Thiessen ba93afbddd Merge pull request #41250 from nextcloud/chore/cypress-timeout
fix(cypress): Add timeout for waiting on Nextcloud server
2023-11-03 03:07:44 +01:00
Ferdinand Thiessen cdfa566304 fix(cypress): Add timeout for waiting on Nextcloud server
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-11-03 01:27:21 +01:00
Nextcloud bot 4e2b4b82d5 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-11-03 00:26:36 +00:00
Christopher Ng 7f530d22e1 fix: Only highlight profile entry when viewing own profile
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-11-02 15:43:56 -07:00
Ferdinand Thiessen 321ac318c3 Merge pull request #40597 from nextcloud/fix/public-footer-empty-not-shown
fix(theming): Make sure the footer is hidden if no content is rendered
2023-11-02 17:49:57 +01:00
Ferdinand Thiessen 84421f4c7c Merge pull request #41137 from nextcloud/chore/migrate-access-level-cypress
chore(cypress): Migrate access-level tests from Behat to Cypress
2023-11-02 17:44:52 +01:00
Arthur Schiwon 81d2828e90 Merge pull request #41246 from nextcloud/fix/noid/rm_files_rightclick
fix(upgrade): files_rightclick is deprecated
2023-11-02 16:29:42 +01:00
Arthur Schiwon 60681fb824 fix(upgrade): files_rightclick is deprecated
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2023-11-02 16:04:18 +01:00
Arthur Schiwon 7da24e3f11 Merge pull request #41228 from nextcloud/automated/releases/28.0.0beta1
chore: 28.0.0 beta 1
2023-11-02 15:36:14 +01:00
Ferdinand Thiessen f62032e5c2 chore: Compile CSS assets
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-11-02 14:57:46 +01:00
Christoph Wurst 9e564088da Merge pull request #40665 from nextcloud/fix/dav/caldav-backend-memory-footprint
fix(dav): Reduce CalDAV backend memory footprint
2023-11-02 14:55:58 +01:00
Ferdinand Thiessen 32ac5e7af8 fix(theming): Make sure the footer is hidden if not content is rendered
Previously the footer was empty, but the backdrop was still shown.
This hides the footer if no text content was defined.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-11-02 14:55:34 +01:00
Joas Schilling c0c2362a3d Merge pull request #41218 from nextcloud/techdebt/noid/add-autocomplete-filter-event
feat(events): Add typed event for filtering autocompletion sugges…
2023-11-02 14:33:19 +01:00
Marcel Klehr ee76cc512c fix(TextToImage): Always set completionExpectedAt in run/schedule methods
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-11-02 12:07:10 +01:00
jld3103 0f43eeb953 chore: Regenerate openapi.json
Signed-off-by: jld3103 <jld3103yt@gmail.com>
2023-11-02 11:37:15 +01:00
jld3103 755de1e0b5 refactor: Rename OpenAPI type aliases to their namespaces
Signed-off-by: jld3103 <jld3103yt@gmail.com>
2023-11-02 11:37:15 +01:00
jld3103 99fa7f77ef fix: Remove routes with missing controller methods
Signed-off-by: jld3103 <jld3103yt@gmail.com>
2023-11-02 11:37:15 +01:00
jld3103 5a74f4ac39 fix(build): Use --no-pager for OpenAPI diff
Signed-off-by: jld3103 <jld3103yt@gmail.com>
2023-11-02 11:37:15 +01:00
jld3103 68abe17e76 fix(deps): Update openapi-extractor
Signed-off-by: jld3103 <jld3103yt@gmail.com>
2023-11-02 11:37:15 +01:00
Christoph Wurst 91b31bfb15 fix(dav): Reduce CalDAV backend memory footprint
fetchAll inflates memory. Fetching in a loop allows GC to run earlier
and more often.

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-11-02 11:12:34 +01:00
Christoph Wurst b2c0cd9e26 Merge pull request #40859 from nextcloud/fix/session/log-why-session-renewal-failed
fix(session): Log why session renewal failed
2023-11-02 11:09:00 +01:00
Joas Schilling 2b8114d59d feat(events): Add typed event for filtering autocompletion suggestions
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-11-02 11:08:53 +01:00
Christoph Wurst d779092564 Merge pull request #38425 from nextcloud/feat/ocp/strict-igroup
feat(ocp): Add types and strict typing to \OCP\Group\IGroup
2023-11-02 11:07:12 +01:00
Christoph Wurst 7c661895c3 Merge pull request #40899 from nextcloud/refactor/unify-running-dev-server
refactor: Unify running a dev server (for automated testing)
2023-11-02 10:47:36 +01:00
Christoph Wurst 0da4c14cdf refactor: Unify running a dev server (for automated testing)
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-11-02 09:59:06 +01:00
Git'Fellow 82f23fbfe1 Merge pull request #41230 from nextcloud/indexFix
fix: add index on migration only if needed
2023-11-02 02:02:27 +01:00
Nextcloud bot 58c9831229 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-11-02 00:24:42 +00:00
Git'Fellow b46879db4b Merge pull request #40819 from nextcloud/imaginaryGuzzleErrors
Catch Imaginary processing errors
2023-11-01 17:55:04 +01:00
Git'Fellow a075c85eef Return only if changed
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
2023-11-01 17:17:44 +01:00
Git'Fellow 91c92f533e fix: add index on migration only if needed
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
2023-11-01 17:12:45 +01:00
Git'Fellow d1169af129 Use \Throwable instead
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
2023-11-01 16:55:19 +01:00
Git'Fellow 624986a6d5 Catch Imaginary processing errors
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
2023-11-01 16:55:19 +01:00
Ferdinand Thiessen 489624bb3a Merge pull request #40733 from nextcloud/enh/noid/puppeteer-skip-download
ci: skip puppeteer chrome download
2023-11-01 15:11:31 +01:00
Daniel Kesselberg 67a761b7b2 ci: skip puppeteer chrome download
As per https://github.com/puppeteer/puppeteer#installation

Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2023-11-01 14:11:21 +01:00
dependabot[bot] 12e3f740c9 Merge pull request #40911 from nextcloud/dependabot/npm_and_yarn/tar-6.2.0 2023-11-01 12:55:46 +00:00
dependabot[bot] 7c05dddf4c chore(deps-dev): Bump tar from 6.1.15 to 6.2.0
Bumps [tar](https://github.com/isaacs/node-tar) from 6.1.15 to 6.2.0.
- [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.1.15...v6.2.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-11-01 13:27:14 +01:00
Git'Fellow 3bedfdf6ff Replace if/else with return match
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
2023-11-01 10:33:42 +01:00
John Molakvoæ 5d05da0f8d Merge pull request #40909 from nextcloud/dependabot/npm_and_yarn/babel/preset-typescript-7.23.2 2023-11-01 10:07:27 +01:00
Christoph Wurst adc9f64f8d Merge pull request #40852 from nextcloud/feat/contactsmenu/user-status
feat(contactsmenu): Show user status
2023-11-01 09:40:41 +01:00
John Molakvoæ 33cc3abba2 chore: 28.0.0 beta 1
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-11-01 09:28:45 +01:00
Nextcloud bot 0398d74ebd Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-11-01 00:28:44 +00:00
Ferdinand Thiessen 16e97f05ce Merge pull request #41199 from nextcloud/fix/apporder-accessible-details
fix(theming): Add accessible information to app order settings
2023-10-31 22:11:03 +01:00
Ferdinand Thiessen 0219bfa6b5 fix(tests): Make app order Cypress tests more robust
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-10-31 21:56:13 +01:00
Ferdinand Thiessen f0ff184a38 chore: compile assets
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-10-31 21:56:13 +01:00
Ferdinand Thiessen 716164c285 fix(theming): Add accessible information for screen readers to the app order selector
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-10-31 21:56:13 +01:00
Christoph Wurst ac168cf9ff feat(contactsmenu): Show user status
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-10-31 11:52:46 -07:00
Pytal b4e707059d Merge pull request #41207 from nextcloud/fix/a11y/contacts-menu-actions
fix(a11y): Increase contrast of contacts menu actions
2023-10-31 10:53:48 -07:00
Benjamin Gaussorgues c52d5e418a Merge pull request #41053 from nextcloud/bug/smb/in-place-case-rename
fix(files_external): on case insensitive system, block case change
2023-10-31 16:07:29 +01:00
Joas Schilling 48bfbf84ee Merge pull request #41111 from nextcloud/dav/classification-index
add index for classification
2023-10-31 13:56:50 +01:00
John Molakvoæ 43270c64ed Merge pull request #40494 from nextcloud/setup-script 2023-10-31 11:03:25 +01:00
Akhil 439de119c7 add index for classification
Signed-off-by: Akhil <akhil@e.email>
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2023-10-31 10:41:32 +01:00
Marcel Klehr 9a494407ee fix(TextToImage): Consistently use the right method to get the preferred providers
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-10-31 10:27:29 +01:00
Robin Appelman 1fffa3eae0 load script and styles on setup page
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-10-31 10:03:09 +01:00
Nextcloud bot 16bfe0cc65 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-10-31 00:26:17 +00:00
Christopher Ng 4dbef5b214 chore: compile assets
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-10-30 17:10:28 -07:00
Christopher Ng 5dd61b54e6 fix(a11y): Increase contrast of contacts menu actions
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-10-30 17:10:28 -07:00
Ferdinand Thiessen 1215379e0f Merge pull request #41197 from nextcloud/fix/keep-focus-on-app-order
fix(theming): Ensure focus is kept on the button when reordering
2023-10-30 19:04:32 +01:00
Joas Schilling ee9cad79f6 Merge pull request #41200 from nextcloud/ci/noid/fix-video-verification
Talk now uses the "main" branch
2023-10-30 18:36:46 +01:00
Joas Schilling 75ba5480cb Talk now uses the "main" branch
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-10-30 17:15:27 +01:00
Ferdinand Thiessen 7bb2aec7a6 chore: compile assets
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-10-30 16:33:15 +01:00
Ferdinand Thiessen 3e31022840 fix(theming): App order selector should keep the focus on click
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-10-30 16:33:15 +01:00
Julius Härtl 51eb44dbfe Merge pull request #40898 from Murena-SAS/dev/custom-apps-assets 2023-10-30 16:18:30 +01:00
Ferdinand Thiessen 57569951df Merge pull request #41166 from nextcloud/dependabot/npm_and_yarn/p-queue-7.4.1
chore(deps): bump p-queue from 7.3.4 to 7.4.1
2023-10-30 14:52:53 +01:00
Joas Schilling 9f8912184d Merge pull request #41193 from nextcloud/ci/noid/reduce-ci-waste
ci: Turn off builds for pushes and merges to master/stable* and cancel parallel executions
2023-10-30 14:29:02 +01:00
Joas Schilling f72ec9e246 Merge pull request #41177 from nextcloud/fix/noid/reset-bfp-on-sudo-action
Reset BFP for sudo action
2023-10-30 14:27:36 +01:00
Joas Schilling 6cf88256f2 ci: Only run note-tests once per day on branches
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-10-30 12:49:32 +01:00
Christoph Wurst d0db4d6ecf Merge pull request #41051 from nextcloud/feat/dav/absence-db
feat(dav): implement personal absence settings backend
2023-10-30 12:27:25 +01:00
dependabot[bot] 0449fe8779 chore(deps): bump p-queue from 7.3.4 to 7.4.1
Bumps [p-queue](https://github.com/sindresorhus/p-queue) from 7.3.4 to 7.4.1.
- [Release notes](https://github.com/sindresorhus/p-queue/releases)
- [Commits](https://github.com/sindresorhus/p-queue/compare/v7.3.4...v7.4.1)

---
updated-dependencies:
- dependency-name: p-queue
  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>
2023-10-30 11:23:13 +00:00
Joas Schilling 27a4ad4b5a ci: Turn off builds for pushes and merges to master/stable*
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-10-30 12:12:59 +01:00
Joas Schilling 6def538154 ci: Specify concurrency to help with consecutive pushes
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-10-30 11:47:47 +01:00
Ferdinand Thiessen 0299955074 Merge pull request #41163 from nextcloud/dependabot/npm_and_yarn/testing-library/jest-dom-6.1.4
chore(deps-dev): bump @testing-library/jest-dom from 5.17.0 to 6.1.4
2023-10-30 11:01:09 +01:00
Ferdinand Thiessen 623adbaef2 Merge pull request #41164 from nextcloud/dependabot/npm_and_yarn/puppeteer-21.4.1
chore(deps-dev): bump puppeteer from 21.0.3 to 21.4.1
2023-10-30 11:00:19 +01:00
Ferdinand Thiessen 80cbbe70e7 Merge pull request #41168 from nextcloud/dependabot/github_actions/actions/setup-node-4.0.0
chore(deps): bump actions/setup-node from 3.8.1 to 4.0.0
2023-10-30 10:57:32 +01:00
dependabot[bot] 17bbed485a chore(deps): bump actions/setup-node from 3.8.1 to 4.0.0
Bumps [actions/setup-node](https://github.com/actions/setup-node) from 3.8.1 to 4.0.0.
- [Release notes](https://github.com/actions/setup-node/releases)
- [Commits](https://github.com/actions/setup-node/compare/5e21ff4d9bc1a8cf6de233a3057d20ec6b3fb69d...8f152de45cc393bb48ce5d89d36b731f54556e65)

---
updated-dependencies:
- dependency-name: actions/setup-node
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-30 10:57:03 +01:00
Ferdinand Thiessen ce3f213fcd Merge pull request #41169 from nextcloud/dependabot/github_actions/actions/checkout-4.1.1
chore(deps): bump actions/checkout from 3.6.0 to 4.1.1
2023-10-30 10:52:45 +01:00
Nextcloud bot 600351c4cf Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-10-30 00:26:19 +00:00
Ferdinand Thiessen 8e2824ea24 chore(tests): Migrate duplicated menu settings tests (access levels) to Cypress
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-10-30 01:05:25 +01:00
Ferdinand Thiessen a7c88519f7 chore(cypress): Move clearState from user utils to shared common utils
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-10-29 23:36:58 +01:00
Ferdinand Thiessen bfc8b0bc15 chore(cypress): Migrate access-level tests from Behat to Cypress as this are UI tests
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-10-29 23:36:58 +01:00
Nextcloud bot fe471da316 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-10-29 00:25:29 +00:00
Richard Steinmetz 45ed9b10d5 feat(dav): implement personal absence settings backend
Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
2023-10-29 00:08:44 +02:00
Marcel Müller c2393fb712 Reset BFP for sudo action
Signed-off-by: Marcel Müller <marcel-mueller@gmx.de>
2023-10-28 18:36:43 +02:00
Git'Fellow ffeef99abc fix: Delete ghost versions of non-existing files
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
2023-10-28 14:47:19 +02:00
dependabot[bot] d56b1c28ba Merge pull request #41165 from nextcloud/dependabot/npm_and_yarn/jest-environment-jsdom-29.7.0 2023-10-28 04:31:13 +00:00
dependabot[bot] 15ecb1ae9d chore(deps): bump actions/checkout from 3.6.0 to 4.1.1
Bumps [actions/checkout](https://github.com/actions/checkout) from 3.6.0 to 4.1.1.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v3.6.0...b4ffde65f46336ab88eb53be808477a3936bae11)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-28 02:20:16 +00:00
dependabot[bot] 261517cf4b chore(deps-dev): bump jest-environment-jsdom from 29.6.2 to 29.7.0
Bumps [jest-environment-jsdom](https://github.com/jestjs/jest/tree/HEAD/packages/jest-environment-jsdom) from 29.6.2 to 29.7.0.
- [Release notes](https://github.com/jestjs/jest/releases)
- [Changelog](https://github.com/jestjs/jest/blob/main/CHANGELOG.md)
- [Commits](https://github.com/jestjs/jest/commits/v29.7.0/packages/jest-environment-jsdom)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-28 01:33:24 +00:00
dependabot[bot] 6f5e2ccbf9 chore(deps-dev): bump puppeteer from 21.0.3 to 21.4.1
Bumps [puppeteer](https://github.com/puppeteer/puppeteer) from 21.0.3 to 21.4.1.
- [Release notes](https://github.com/puppeteer/puppeteer/releases)
- [Changelog](https://github.com/puppeteer/puppeteer/blob/main/release-please-config.json)
- [Commits](https://github.com/puppeteer/puppeteer/compare/puppeteer-v21.0.3...puppeteer-v21.4.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-28 01:32:56 +00:00
dependabot[bot] 24dbdbfe0f chore(deps-dev): bump @testing-library/jest-dom from 5.17.0 to 6.1.4
Bumps [@testing-library/jest-dom](https://github.com/testing-library/jest-dom) from 5.17.0 to 6.1.4.
- [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/v5.17.0...v6.1.4)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-28 01:32:23 +00:00
Nextcloud bot 0aa65d9714 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-10-28 00:28:21 +00:00
Ferdinand Thiessen 32eaf57e01 Merge pull request #40773 from nextcloud/fix/contrast-maxcontrast-vs-hover
fix(theming): Ensure all text colors have enough contrast for accessibility
2023-10-27 16:12:29 +02:00
Joas Schilling 66f7639690 Merge pull request #40986 from nextcloud/fix/only-run-ci-that-is-needed
fix(tests): Only run tests on CI that are needed
2023-10-27 13:52:24 +02:00
Ferdinand Thiessen cbefae7fd9 fix(tests): Only run tests on CI that are needed
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-10-27 13:50:04 +02:00
Ferdinand Thiessen 5665838ef4 Merge pull request #41101 from JL102/handlebars
#37978: Remove duplicate dependency
2023-10-27 13:42:38 +02:00
Julia Kirschenheuter 7727d12971 Merge pull request #41142 from nextcloud/fix/40869-Create_right_table_for_the_OAuth_2.0_clients
Create semantically right table for the "OAuth 2.0 clients"
2023-10-27 13:36:20 +02:00
Ferdinand Thiessen 3378a73e99 fix(theming): Make changes on primary color less invasiv
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-10-27 12:56:23 +02:00
Ferdinand Thiessen 3676295f7b fix(theming): Ensure all text colors have enough contrast for accessibility
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-10-27 12:56:23 +02:00
Ferdinand Thiessen be129a7d1f fix(theming): Make it clearer that color-text-light and -lighter are deprecated
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-10-27 12:56:23 +02:00
Ferdinand Thiessen ec1ae4505b tests: Add accessibility tests for CSS color variables
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-10-27 12:56:21 +02:00
Ferdinand Thiessen 1c4787af84 fix(theming): Ensure that maxcontrast text has always a contrast of 4.5:1 even on hover
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-10-27 12:54:14 +02:00
julia.kirschenheuter fbc970855f Create semantically right table for the "OAuth 2.0 clients"
Adapt styles

Signed-off-by: julia.kirschenheuter <julia.kirschenheuter@nextcloud.com>
2023-10-27 09:55:45 +02:00
John Molakvoæ ee1480cefc Merge pull request #41148 from nextcloud/dependabot/npm_and_yarn/browserify-sign-4.2.2 2023-10-27 09:22:13 +02:00
dependabot[bot] 745db03d9e chore(deps): bump browserify-sign from 4.2.1 to 4.2.2
Bumps [browserify-sign](https://github.com/crypto-browserify/browserify-sign) from 4.2.1 to 4.2.2.
- [Changelog](https://github.com/browserify/browserify-sign/blob/main/CHANGELOG.md)
- [Commits](https://github.com/crypto-browserify/browserify-sign/compare/v4.2.1...v4.2.2)

---
updated-dependencies:
- dependency-name: browserify-sign
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-27 07:21:37 +00:00
Joas Schilling 5f269f091c Merge pull request #41135 from nextcloud/fix/cypress-ci
fix(cypress): Also clone 3rdparty submodule to keep in sync for cypress tests
2023-10-27 09:19:57 +02:00
Git'Fellow 60e0322365 Merge pull request #39743 from nextcloud/fixNullArray
fix: Don't try to access null array
2023-10-27 08:07:42 +02:00
Nextcloud bot 01bb3efe23 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-10-27 00:27:40 +00:00
Pytal f3bfa4de66 Merge pull request #41122 from nextcloud/enh/a11y/separate-profile-entry
enh(a11y): Separate profile and user status user menu entries
2023-10-26 16:57:28 -07:00
Joas Schilling 23e5fe9a51 Merge pull request #41140 from nextcloud/chore/codecov-ignore-project-state
chore(codecov): Do not run project status check
2023-10-26 19:44:26 +02:00
Christopher Ng fc43c28305 chore: compile assets
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-10-26 10:30:22 -07:00
Christopher Ng ce5e290d58 fix(tests): Test profile entry
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-10-26 10:30:22 -07:00
Christopher Ng 439a6fbbdc fix: Settings nav entries typing
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-10-26 10:30:22 -07:00
Christopher Ng 3b402559ac enh(a11y): Add separate profile entry
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-10-26 10:30:22 -07:00
Christopher Ng 4c8256c15b fix: Remove profile from UserStatus component
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-10-26 10:30:22 -07:00
Christopher Ng d899e676de fix: Set profile as active nav entry
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-10-26 10:30:22 -07:00
Christopher Ng 407b67989d enh: Register profile nav entry
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-10-26 10:30:22 -07:00
Côme Chilliet d0ed5ea2f3 Merge pull request #40889 from nextcloud/feat/check-for-more-php-modules
Check for more php modules
2023-10-26 19:13:28 +02:00
Ferdinand Thiessen 9c031c6ad5 chore(codecov): Do not run project status check
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-10-26 17:05:40 +02:00
Côme Chilliet 4249871817 Add links to documentation for PHP modules
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-10-26 16:16:39 +02:00
Ferdinand Thiessen f3470cf0af fix(cypress): Also clone 3rdparty submodule to keep in sync for cypress tests
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-10-26 16:09:21 +02:00
Ferdinand Thiessen 082fa64939 Merge pull request #41117 from callmemagnus/bugfix/grant__js-error
fix(login): Fix JS error on login grant page
2023-10-26 16:05:08 +02:00
Ferdinand Thiessen 7cc3291f07 Merge pull request #41115 from nextcloud/fix/cypress-admin-theming
fix(cypress): Fix linter errors on Cypress chains and refactor `wait-until` checker functions
2023-10-26 16:04:28 +02:00
Joas Schilling 2b7f78fc2e Merge pull request #40326 from nextcloud/enh/text-to-image-api
Implement TextToImage OCP API
2023-10-26 15:53:30 +02:00
Josh Richards e86ba2b85d Add community/third-party apps note to security policy
Just making it match the new global one in nextcloud/.github#241

Signed-off-by: Josh Richards <josh.t.richards@gmail.com>
2023-10-26 09:19:15 -04:00
Joas Schilling e98be0a147 Merge pull request #41133 from nextcloud/bugfix/noid/dont-duplicate-notification-warning
Don't duplicate notification warning
2023-10-26 13:55:04 +02:00
Marcel Klehr cef069e8f2 fix(TextToImage): Update autoloaders
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-10-26 13:31:01 +02:00
Magnus Anderssen 57dae366ca fix(grant): remove JS error on Grant page
Closes #41098

Signed-off-by: Magnus Anderssen <magnus@magooweb.com>
2023-10-26 12:19:07 +02:00
Simon L 4c8232f04c Merge pull request #41120 from nextcloud/imaginaryInvalidStream 2023-10-26 11:59:37 +02:00
Marcel Klehr 1823a8ebf3 Update lib/public/TextToImage/IProvider.php
Co-authored-by: Côme Chilliet <91878298+come-nc@users.noreply.github.com>
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-10-26 11:49:02 +02:00
Marcel Klehr 9658d9c126 Update lib/public/TextToImage/IManager.php
Co-authored-by: Côme Chilliet <91878298+come-nc@users.noreply.github.com>
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-10-26 11:44:24 +02:00
Marcel Klehr b9985bfd66 fix(TextToImage): Add missing task status update
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-10-26 11:41:21 +02:00
Marcel Klehr 35bf7fc94e fix(TextToImage): Fix copypasta
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-10-26 11:39:40 +02:00
Marcel Klehr 154bb53538 Update core/Controller/TextToImageApiController.php
Co-authored-by: Côme Chilliet <91878298+come-nc@users.noreply.github.com>
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-10-26 11:35:55 +02:00
Marcel Klehr 4e625f6635 fix(TextToImage): Update testing provider to new interface
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-10-26 11:31:17 +02:00
Marcel Klehr 14d1c18665 en(TextToImage): Add getId method to IProvider
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-10-26 11:26:47 +02:00
Marcel Klehr 47e13cd55b en(TextToImage): Use specific exception class instead of generic RuntimeException
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-10-26 11:16:15 +02:00
Joas Schilling db8e57a727 Don't duplicate notification warning
Ref https://github.com/nextcloud/notifications/pull/1699

Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-10-26 09:46:28 +02:00
Joas Schilling 18be57cb35 Merge pull request #41123 from nextcloud/bugfix/noid/get-storage-before-updating
fix(external): Get storage before update it
2023-10-26 08:17:52 +02:00
Joas Schilling 4759e7a22d fix(external): Get storage before update it
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-10-26 06:46:05 +02:00
Nextcloud bot 33c1aafc2e Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-10-26 00:26:32 +00:00
Git'Fellow 974e86e618 Don't pass invalid streams to Imaginary
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>

Update Imaginary.php

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

Update Imaginary.php

Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
2023-10-25 21:58:46 +02:00
Julius Härtl 0753085e32 Merge pull request #41093 from nextcloud/fix-files-list-popper 2023-10-25 19:29:49 +02:00
nextcloud-command 43b12f877b chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-10-25 15:48:46 +02:00
Varun Patil dbde3f6e5a fix(files): disable containment in header
Signed-off-by: Varun Patil <varunpatil@ucla.edu>
2023-10-25 15:48:46 +02:00
Ferdinand Thiessen 4e8c690dc7 fix(cypress): Fix linter errors on Cypress chains and refactor wait-until checker functions
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-10-25 15:42:15 +02:00
Ferdinand Thiessen 107bafd864 Merge pull request #41108 from nextcloud/fix/40708-remove_tab_index_from_navigation_and_app_content
Remove unneeded `tabindex="0"` from sidebar and app content
2023-10-25 15:41:50 +02:00
JL102 cca218fc67 #37978: Remove duplicate dependency
I believe it's appropriate to include handlebars in dependencies rather than devDependencies,
because it's imported by multiple js files inside the core directory. However, handlebars-loader
is only referenced inside webpack.common.js, so I think it's ok to keep that one inside devDependencies.

Signed-off-by: JL102 <jordanlees@mailbox.org>
2023-10-25 14:25:29 +02:00
julia.kirschenheuter 62cfd195e4 Remove unneeded tabindex="0" from sidebar and app content
Signed-off-by: julia.kirschenheuter <julia.kirschenheuter@nextcloud.com>
2023-10-25 14:24:19 +02:00
Ferdinand Thiessen ed45e2600b Merge pull request #41110 from nextcloud/fix/login-cypress-test
fix(cypress): Fix selector for the user menu button
2023-10-25 14:23:49 +02:00
Ferdinand Thiessen e93ccca823 fix(cypress): Fix selector for the user menu button
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-10-25 12:15:18 +02:00
Ferdinand Thiessen 20b14ae7ac Merge pull request #41089 from nextcloud/fix/workflow-empty-content
fix(workflowengine): Add an empty content when no flows are installed or configured
2023-10-25 12:14:26 +02:00
Ferdinand Thiessen 421f60104c Merge pull request #41021 from nextcloud/fix/move-tests-from-drone-to-cypress
fix(tests): Move leftover acceptance tests for users from drone to Cypress
2023-10-25 12:12:12 +02:00
Ferdinand Thiessen 5b0c27b6da fix(settings): Stablize user list cypress tests
* Use common `data-testid` to identify elements rather than to depend on internal classes or properties
* Force clean the state for the user tests
* Move leftover acceptance tests for users from drone to cypress

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-10-25 11:36:24 +02:00
Julia Kirschenheuter 888473f5e2 Merge pull request #41080 from nextcloud/fix/40682-Add_more_visibility_on_background_buttons
Change styles on active, hover and focus state for background buttons
2023-10-25 10:14:35 +02:00
John Molakvoæ 4c7bd978e1 fix(build): phpDocumentor usage
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-10-25 08:33:38 +02:00
John Molakvoæ c1a7ee6e16 fix: use default php version
Signed-off-by: John Molakvoæ <skjnldsv@users.noreply.github.com>
2023-10-25 08:29:08 +02:00
Nextcloud bot bc7f0c3095 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-10-25 00:43:31 +00:00
Pytal 460954afd9 Merge pull request #41094 from nextcloud/fix/indirect-safe-dep
fix(dav): Remove usage of indirect thecodingmachine/safe dependency
2023-10-24 17:03:06 -07:00
Christoph Wurst 2e252476d8 Merge pull request #41046 from nextcloud/fix/recently-contacted-duplicates
Fix: duplicating contacts with the Recently contacted feature
2023-10-24 20:45:20 +02:00
Christopher Ng 5281623329 fix(dav): Remove usage of indirect thecodingmachine/safe dependency
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-10-24 11:25:42 -07:00
Louis c5d82409b4 Merge pull request #41062 from nextcloud/artonge/fix/return_fals_if_touch_fails
Return correct status if touch failed
2023-10-24 18:08:24 +02:00
Robin Appelman efe68d012c Merge pull request #39044 from nextcloud/more-empty-mount-checking
Fix root mounts not being setup in some cases
2023-10-24 16:54:05 +02:00
Ferdinand Thiessen 5b18099112 fix(workflowengine): Add an empty content when no flows are installed or configured
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-10-24 15:52:32 +02:00
Côme Chilliet d551a0d886 Adapt CheckSetupControllerTest to the migration to a setup check
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-10-24 15:36:09 +02:00
Julia Kirschenheuter 970ac3d7eb Merge pull request #41068 from nextcloud/fix/37092/user-status--html-validation
fix(user_status): separate user menu and dashboard status layout for HTML validation
2023-10-24 15:35:33 +02:00
Marcel Klehr be0a0166e8 fix(TextProcessing): fix psalm typing
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-10-24 15:34:51 +02:00
Marcel Klehr 3dcedb7900 enh(TextProcessing): Allow providers and task types to declare a dynamic ID instead of using className
this allows AppAPI to register anonymous classes as TextProcessing providers and task types

Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-10-24 14:41:24 +02:00
Ferdinand Thiessen 6753aaf33e Merge pull request #41035 from nextcloud/fix/37092/apps-list--html-validation
fix(settings): apps list html validation and loading icon
2023-10-24 14:06:03 +02:00
hamza221 6ab76917c9 Fix: duplicating contacts with the Recently contacted feature
Signed-off-by: hamza221 <hamzamahjoubi221@gmail.com>
2023-10-24 13:03:59 +02:00
Joas Schilling 7a55ea7823 Merge pull request #41061 from nextcloud/bugfix/noid/dont-use-indirect-dependency
fix(3rdparty): Don't use indirect dependency "Safe/" for functions
2023-10-24 12:12:36 +02:00
Côme Chilliet 6b7d4b67d1 Improve setup checks naming and improve database version check
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-10-24 11:40:03 +02:00
Grigorii K. Shartsev 7e94468662 chore(assets): Recompile assets
Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
2023-10-24 11:10:39 +02:00
Grigorii K. Shartsev 230830b1e6 fix(settings): apps list loading classes
- fix setting loading classes
- also removes invalid HTML attributes, there is no such props in `NcContent`

Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
2023-10-24 11:07:04 +02:00
Grigorii K. Shartsev 668e35f155 fix(settings): apps list html validation
- Replace invalid `width="100%"` attribute
- Add empty required `alt`

Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
2023-10-24 11:07:04 +02:00
Grigorii K. Shartsev bec2d43fa7 chore(assets): Recompile assets
Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
2023-10-24 11:00:22 +02:00
Grigorii K. Shartsev c834d98d34 fix(user_status): separate user menu and dashboard status layout
- Remove href="#" from a button for HTML validation
- Use @nextcloud/vue NcButton instead of custom button in Dashboard

Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
2023-10-24 10:57:17 +02:00
Simon L 122e799ff5 Merge pull request #41079 from nextcloud/bugfix/noid/allow-updating-from-27.1 2023-10-24 10:28:05 +02:00
julia.kirschenheuter 18751d0e52 Change styles on active, hover and focus state for background buttons
Signed-off-by: julia.kirschenheuter <julia.kirschenheuter@nextcloud.com>
2023-10-24 09:50:37 +02:00
Joas Schilling 7f9aec1e8c fix(update): Allow updating from 27.1 to 28
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-10-24 09:29:12 +02:00
Côme Chilliet 27995d1376 Add all required PHP extensions to the composer.json
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-10-24 09:17:25 +02:00
Ferdinand Thiessen 13a8a1793c Merge pull request #41033 from nextcloud/chore/migrate-login-feature
chore(tests): Migrate login acceptance tests from behat to Cypress
2023-10-24 04:18:33 +02:00
Pytal 450985fc74 Merge pull request #40938 from nextcloud/fix/a11y/change-scope-actions
fix(settings): Account property scope actions
2023-10-23 18:11:25 -07:00
Nextcloud bot d772537d90 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-10-24 00:25:42 +00:00
Christopher Ng 5a562a5b16 chore: compile assets
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-10-23 15:58:13 -07:00
Christopher Ng f0bb5e7e76 fix(settings): Styles for scope button
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-10-23 15:53:30 -07:00
Christopher Ng a9fdc52f69 fix(settings): Name for scope button
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-10-23 15:53:30 -07:00
Christopher Ng 18a2391cab fix(settings): Remove aria-label on scope actions
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-10-23 15:53:30 -07:00
Pytal 30cb1badb1 Merge pull request #41070 from nextcloud/deps/nextcloud/vue-8.0.0-beta.9
chore: Bump @nextcloud/vue to v8-beta.9
2023-10-23 15:47:37 -07:00
Christopher Ng 3b097f0658 fix(tests): Update dav snapshot
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-10-23 15:18:09 -07:00
Christopher Ng ac287269b7 chore: compile assets
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-10-23 15:18:07 -07:00
Christopher Ng 590daccca3 fix: Share select search globally icon
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-10-23 15:14:49 -07:00
Christopher Ng 8c2a4e814a chore: Bump @nextcloud/vue to v8-beta.9
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-10-23 15:14:49 -07:00
Julius Härtl 45d7612423 Merge pull request #40482 from nextcloud/fix/workflowengine_fileaccess 2023-10-23 23:25:18 +02:00
Pytal 8a1546c703 Merge pull request #41064 from nextcloud/fix/40705-_increase_contrast_on_Device_and_Last_activity
Remove opacity on table header
2023-10-23 11:53:35 -07:00
Jonas 7441ce2b11 enh(IMountManager): Add method to get MountPoint from CachedMountInfo
Signed-off-by: Jonas <jonas@freesources.org>
2023-10-23 20:50:24 +02:00
Jonas 9193d8be40 fix(isLegitimatedForUserId): Setup mountpoints to check file access
This fixes workflows on groupfolders, as it will consider access to
files in groupfolders.

It also fixes false positives where access to files was limited by other
means not taken into account before, e.g. access control.

For postDelete events, check for permissions of the parent folder
instead, as the file itself no longer exists.

Fixes: nextcloud/flow_notifications#71

Signed-off-by: Jonas <jonas@freesources.org>
2023-10-23 20:47:16 +02:00
Julius Härtl f88c34b604 Merge pull request #40495 from nextcloud/fix/master-name-in-share-cache 2023-10-23 19:29:17 +02:00
Simon L 8bd1294550 Merge pull request #41063 from nextcloud/fix/37092/dashboard-html-validation 2023-10-23 18:43:01 +02:00
Simon L fe62fa76ff Merge pull request #40980 from nextcloud/fix/37092/remove-unnecessary-roles 2023-10-23 18:42:44 +02:00
Côme Chilliet 5245d2000a Merge pull request #41017 from nextcloud/fix/move-token-iprovider-to-ocp
Move IToken and IProvider::getToken to OCP
2023-10-23 18:01:52 +02:00
Ferdinand Thiessen d43c66e96a Merge pull request #41034 from nextcloud/fix/37092/users--html-validation
fix(settings): users page html validation
2023-10-23 17:16:43 +02:00
Akhil 1d767ebff5 Check if the node has a null ID before deleting in preview watcher
Signed-off-by: Akhil <akhil@e.email>
2023-10-23 20:32:15 +05:30
julia.kirschenheuter 521e66edc0 Remove opacity on table header
Signed-off-by: julia.kirschenheuter <julia.kirschenheuter@nextcloud.com>
2023-10-23 16:30:50 +02:00
Grigorii K. Shartsev 4ac06a8ccc chore(assets): Recompile assets
Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
2023-10-23 16:22:45 +02:00
Grigorii K. Shartsev 3b017ec3ff fix(dashboard): use span instead of div for icon to html
- div is not valid in h2
- div is not valid in label

Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
2023-10-23 16:20:47 +02:00
Ferdinand Thiessen 4c4e4ec991 chore(tests): Migrate login acceptance tests from behat to Cypress
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-10-23 16:10:06 +02:00
Côme Chilliet d8b42c6131 Allow passing null to PublicKeyToken::setScope, fixes tests
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-10-23 15:52:07 +02:00
Louis Chemineau e66e8bad1a Return correct status if touch failed
Signed-off-by: Louis Chemineau <louis@chmn.me>
2023-10-23 15:26:43 +02:00
Joas Schilling 3a265cee30 fix(3rdparty): Don't use indirect dependency "Safe/" for functions
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-10-23 15:25:14 +02:00
Côme Chilliet 33a24134a7 Improve docblock annotations for tokens and their exceptions
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-10-23 15:20:04 +02:00
Côme Chilliet 58a57a714e Use more precise typing for setScope method parameter
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-10-23 15:19:38 +02:00
Joas Schilling 834c9a209e Merge pull request #41055 from nextcloud/feat/noid/profile-manager-ocp
feat(profile): Add public interface for profile manager so apps can check config
2023-10-23 15:15:40 +02:00
Marcel Klehr 8339b5b128 fix: Minor copypasta
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-10-23 15:00:40 +02:00
Joas Schilling 06b35808a8 Merge pull request #41045 from nextcloud/fix/openapi/provisioning_api/quota-fields
fix(provisioning_api): Fix quota fields in OpenAPI
2023-10-23 13:54:11 +02:00
Marcel Klehr 0c1bd845a7 fix: appease linters and psalm
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-10-23 13:23:28 +02:00
Marcel Klehr 4b8a58cc49 fix: appease linters and psalm
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-10-23 13:16:37 +02:00
Joas Schilling fd9f7a7188 fix(profile): Directly migrate to OCP constants
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-10-23 12:56:31 +02:00
Joas Schilling 2353d3cd5c feat(profile): Add public interface for profile manager so apps can check config
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-10-23 12:56:31 +02:00
Marcel Klehr 68bb4a066c fix(TextToImage\Migration): Fix typo
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-10-23 12:49:50 +02:00
Marcel Klehr 5f815bdcc6 fix(TextToImage\Db\Task): Inject ITimeFactory
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-10-23 11:50:03 +02:00
Côme Chilliet 7a6c4ecc25 Update autoloaders
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-10-23 11:47:48 +02:00
Marcel Klehr ded77292d5 Update lib/private/TextToImage/Db/TaskMapper.php
Co-authored-by: Joas Schilling <213943+nickvergessen@users.noreply.github.com>
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-10-23 11:44:48 +02:00
Marcel Klehr f9d209cf15 Update lib/private/TextToImage/Db/TaskMapper.php
Co-authored-by: Joas Schilling <213943+nickvergessen@users.noreply.github.com>
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-10-23 11:44:33 +02:00
Marcel Klehr 5d36c4c1d1 Update lib/private/TextToImage/Manager.php
Co-authored-by: Joas Schilling <213943+nickvergessen@users.noreply.github.com>
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-10-23 11:43:35 +02:00
Marcel Klehr 91448888d1 Update lib/private/TextToImage/RemoveOldTasksBackgroundJob.php
Co-authored-by: Joas Schilling <213943+nickvergessen@users.noreply.github.com>
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-10-23 11:43:09 +02:00
Marcel Klehr 1f090a3ad7 Update lib/public/TextToImage/Task.php
Co-authored-by: Joas Schilling <213943+nickvergessen@users.noreply.github.com>
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-10-23 11:42:32 +02:00
Marcel Klehr 4624748937 Update lib/public/TextToImage/Task.php
Co-authored-by: Joas Schilling <213943+nickvergessen@users.noreply.github.com>
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-10-23 11:42:03 +02:00
Côme Chilliet 1bdf952fde Make sure that OC interfaces returns OC interfaces for backward compatibility
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-10-23 11:08:23 +02:00
jld3103 d019392645 fix(provisioning_api): Fix quota fields in OpenAPI
Signed-off-by: jld3103 <jld3103yt@gmail.com>
2023-10-23 10:33:37 +02:00
Benjamin Gaussorgues a45e12abc8 fix(files_external): on case insensitive system, block case change
When a file/directory is renamed to the same name with only case change,
the rename fail. We block this kind of rename.
The user will have to rename to another name first.

Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
2023-10-23 10:32:28 +02:00
Côme Chilliet b82e25ea7a Move Exceptions used in OCP to OCP
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-10-23 10:26:25 +02:00
Côme Chilliet 16b9373b82 Adapt baseline to filename change
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-10-23 10:18:13 +02:00
Côme Chilliet 356f0291a2 Align PublicKeyToken with interface changes
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-10-23 09:41:32 +02:00
Côme Chilliet 61143644a4 Merge pull request #40933 from nextcloud/check-datemax-enforcement-pubshare
Check expiry enforcement for all share types
2023-10-23 09:32:27 +02:00
Joas Schilling 73a6061b53 Merge pull request #40966 from nextcloud/jr-security-policy-expansion
Add "no public GH Issues please" request, past advisories link, bounty mention, scope link to security.md
2023-10-23 07:19:15 +02:00
Nextcloud bot 1de151abd9 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-10-23 00:26:23 +00:00
Ferdinand Thiessen 91e02fea0b Merge pull request #41039 from nextcloud/fix/run-cypress-always-parallel
feat(cypress): Always run cypress CI in parallel
2023-10-22 18:58:39 +02:00
fenn-cs 8dfcf2e02a Do not treat isDefaultExpireDateEnforced as fallback
`isDefaultExpireDateEnforced` and its corresponding `defaultExpirationDate`
is currently treated as the enforcement fallback when share type enforcements are not
set.

However, `isDefaultExpireDateEnforced` and `defaultExpirationDate` are actually more like
`isDefaultPublicExpireDateEnforced` and `defaultPublicExpirationDate` and therefore only applies
to public shares.

It might be ideal to rename this variables all the way from the backend config to the way we use
them in the frontend code.

Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-10-22 16:47:32 +00:00
fenn-cs 46308e96f3 Fix has expiration date logic
Current expiration date errorneously assumes that `defaultExpirationDate`
applies to all kinds of shares. But it only really applies to public shares despite
its name.

This commit, fixes that by paring expiration dates with the correct share types during
new share initialization and simplifying the `hasExpirationDate` (check) property.

Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
2023-10-22 15:47:45 +01:00
fenn-cs 92417cd594 Check expiry enforcement for all share types
We should check that a maximum expiry date has been enforced for
all shares and NOT JUST FOR internal shares before enforcing a UI max date,
like in commit 9757e680e2

Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
2023-10-22 15:47:43 +01:00
Marcel Klehr 37419a9767 fix: Update openapi.json
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-10-22 13:11:40 +02:00
John Molakvoæ 4b70f19837 Merge pull request #41024 from nextcloud/fix/follow-up-app-order 2023-10-22 12:58:57 +02:00
Marcel Klehr 497559b246 fix(RemoveOldTasksBackgroundJob): Update after change to support multiple images in TextToImage
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-10-22 12:49:46 +02:00
Marcel Klehr 6007b1b760 fix(settings/AdminAI): Fix eslint
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-10-22 12:44:11 +02:00
Marcel Klehr bfc205fc73 fix(settings/AdminAI): Fix no-providers-installed view
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-10-22 12:39:24 +02:00
Marcel Klehr fa2fa47e6b fix(TextToImage/Manager): Appease psalm
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-10-22 12:38:40 +02:00
Marcel Klehr 71a06b6bf8 fix(Folder): Allow filename to be '0'
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-10-22 12:22:30 +02:00
Marcel Klehr 6b6ac72fe6 fix(Text2Image): Fix FakeText2ImageProvider in testing app
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-10-22 12:21:48 +02:00
Marcel Klehr b1018597bc fix(Text2Image): Fix appdata folder creation
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-10-22 12:21:00 +02:00
Marcel Klehr 4055a90004 fix(Text2Image): Fix $completionExpectedAt default value
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-10-22 12:20:29 +02:00
Marcel Klehr 9787f9dba0 enh(Text2Image): Add AI settings section to text2image
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-10-22 11:10:24 +02:00
Ferdinand Thiessen 3c0b4173b1 Merge pull request #41032 from nextcloud/dependabot/npm_and_yarn/typescript-5.2.2
chore(deps-dev): Bump typescript from 5.1.6 to 5.2.2
2023-10-22 03:00:01 +02:00
Nextcloud bot b76ecf3781 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-10-22 00:28:37 +00:00
Ferdinand Thiessen 891097b42b Merge pull request #41019 from nextcloud/fix-files-vl-h
fix(files): correct item height
2023-10-22 01:19:17 +02:00
Varun Patil 4d578f37e6 fix(files): correct item height
1. grid: typo? The icon size is 160 - 44 + (44 / 2) = 138px
2. non-grid: border is already included in height because the tr
   is a border-box (made this explicit to be safe)

Signed-off-by: Varun Patil <varunpatil@ucla.edu>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-10-21 22:42:06 +00:00
Ferdinand Thiessen a65c08de7c Merge pull request #41029 from nextcloud/dependabot/npm_and_yarn/nextcloud/calendar-availability-vue-2.0.0-beta.3
chore(deps): Bump @nextcloud/calendar-availability-vue from 2.0.0-beta.2 to 2.0.0-beta.3
2023-10-22 00:30:28 +02:00
Ferdinand Thiessen 31b2b39186 Merge pull request #41028 from nextcloud/dependabot/npm_and_yarn/types/dockerode-3.3.21
chore(deps-dev): Bump @types/dockerode from 3.3.20 to 3.3.21
2023-10-22 00:28:45 +02:00
dependabot[bot] 5c07f4575c chore(deps): Bump @nextcloud/calendar-availability-vue
Bumps [@nextcloud/calendar-availability-vue](https://github.com/nextcloud/calendar-availability-vue) from 2.0.0-beta.2 to 2.0.0-beta.3.
- [Changelog](https://github.com/nextcloud/calendar-availability-vue/blob/main/CHANGELOG.md)
- [Commits](https://github.com/nextcloud/calendar-availability-vue/compare/v2.0.0-beta.2...v2.0.0-beta.3)

---
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>
2023-10-21 21:33:51 +00:00
Ferdinand Thiessen d2e7708b48 Merge pull request #41027 from nextcloud/dependabot/github_actions/actions/checkout-4.1.1
chore(deps): Bump actions/checkout from 4.1.0 to 4.1.1
2023-10-21 23:07:47 +02:00
Ferdinand Thiessen 114ee4c3a3 Merge pull request #41026 from nextcloud/dependabot/github_actions/peter-evans/create-or-update-comment-3.1.0
chore(deps): Bump peter-evans/create-or-update-comment from 3.0.2 to 3.1.0
2023-10-21 23:04:56 +02:00
Ferdinand Thiessen 6139c8caf3 Merge pull request #41030 from nextcloud/dependabot/npm_and_yarn/eslint-plugin-cypress-2.15.1
chore(deps-dev): Bump eslint-plugin-cypress from 2.14.0 to 2.15.1
2023-10-21 23:03:10 +02:00
Ferdinand Thiessen 0b27fa94a6 Merge pull request #41036 from nextcloud/skjnldsv-patch-1
fix(l10n): invalid translation of a number
2023-10-21 22:59:45 +02:00
Ferdinand Thiessen 37d53d6b79 feat(cypress): Always run cypress CI in parallel (independent from cypress.io)
The server always exceeds the free Cypress.io time so there is no benefit using it
unless we go for the enterprise plan.
So this simply uses `cypress-split` to split the specs and run them in parallel CI workers (only e2e tests).

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-10-21 18:42:08 +02:00
Grigorii K. Shartsev 8159cdb49f chore(assets): Re-compile assets
Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
2023-10-21 17:40:21 +02:00
Grigorii K. Shartsev befec8cb3c fix(core): remove unnecessary role=contentinfo from page footer on login
`<footer>` has this role initially then it is a page footer, not inside `section`/`article`, and etc.

Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
2023-10-21 17:35:44 +02:00
Grigorii K. Shartsev 0e8abfd24c fix(core): remove unnecessary role=banner on top level header
By default, the HTML's `<header>` element has an identical meaning to the banner landmark,
unless it is a descendant of `<aside>`, `<article>`, `<main>`, `<nav>`, or `<section>`.

Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
2023-10-21 17:35:44 +02:00
John Molakvoæ 3214324b72 fix(l10n): invalid translation of a number
fix https://github.com/nextcloud/server/issues/35252

Signed-off-by: John Molakvoæ <skjnldsv@users.noreply.github.com>
2023-10-21 11:48:46 +02:00
Grigorii K. Shartsev 1fbe58b0fb chore(assets): Re-compile assets
Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
2023-10-21 04:48:39 +02:00
Grigorii K. Shartsev d33ce8a8d5 fix(settings): label user quota progress with aria-labelledby
Labeling with `<label>` doesn't work in some screen readers.
`<label>` also doesn't work as a clickable link here.

Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
2023-10-21 04:16:45 +02:00
Ferdinand Thiessen 18cb827d96 chore: Compile assets
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-10-21 03:52:30 +02:00
Ferdinand Thiessen 615a6846da feat(theming): Allow to reset the user defined app order to the default value
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-10-21 03:52:25 +02:00
Ferdinand Thiessen 9697df1ea5 fix(theming): App order settings - ensure the focus is kept on button
When pressing a button for changing the app order that button should keep the focus after reordering the list.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-10-21 03:52:18 +02:00
Grigorii K. Shartsev 5249c3376e fix(settings): users page html validation
- Remove non-existing `button-class` from `NcAppNavigationNew`
- Type: use `input-id` instead of `id` on `NcSelect` to be labeled
- Encode uniqueId with user's ID, because user.id may contain space

Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
2023-10-21 03:49:01 +02:00
dependabot[bot] ed80b1351a chore(deps-dev): Bump typescript from 5.1.6 to 5.2.2
Bumps [typescript](https://github.com/Microsoft/TypeScript) from 5.1.6 to 5.2.2.
- [Release notes](https://github.com/Microsoft/TypeScript/releases)
- [Commits](https://github.com/Microsoft/TypeScript/compare/v5.1.6...v5.2.2)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-21 01:21:33 +00:00
dependabot[bot] 1c1c119f97 chore(deps-dev): Bump eslint-plugin-cypress from 2.14.0 to 2.15.1
Bumps [eslint-plugin-cypress](https://github.com/cypress-io/eslint-plugin-cypress) from 2.14.0 to 2.15.1.
- [Release notes](https://github.com/cypress-io/eslint-plugin-cypress/releases)
- [Commits](https://github.com/cypress-io/eslint-plugin-cypress/compare/v2.14.0...v2.15.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-21 01:20:31 +00:00
dependabot[bot] 3c284525b7 chore(deps-dev): Bump @types/dockerode from 3.3.20 to 3.3.21
Bumps [@types/dockerode](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/dockerode) from 3.3.20 to 3.3.21.
- [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>
2023-10-21 01:19:56 +00:00
dependabot[bot] 7e2bcef41c chore(deps): Bump actions/checkout from 4.1.0 to 4.1.1
Bumps [actions/checkout](https://github.com/actions/checkout) from 4.1.0 to 4.1.1.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/8ade135a41bc03ea155e62e844d188df1ea18608...b4ffde65f46336ab88eb53be808477a3936bae11)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-21 01:10:17 +00:00
dependabot[bot] f4c4472f12 chore(deps): Bump peter-evans/create-or-update-comment
Bumps [peter-evans/create-or-update-comment](https://github.com/peter-evans/create-or-update-comment) from 3.0.2 to 3.1.0.
- [Release notes](https://github.com/peter-evans/create-or-update-comment/releases)
- [Commits](https://github.com/peter-evans/create-or-update-comment/compare/c6c9a1a66007646a28c153e2a8580a5bad27bcfa...23ff15729ef2fc348714a3bb66d2f655ca9066f2)

---
updated-dependencies:
- dependency-name: peter-evans/create-or-update-comment
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-21 01:10:13 +00:00
Nextcloud bot 5c2610af7d Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-10-21 00:27:09 +00:00
Ferdinand Thiessen b0956b1a00 Merge pull request #40983 from nextcloud/fix/37092/personal-settings--html-validation
HTML Validation: Personal settings
2023-10-20 21:37:39 +02:00
Grigorii K. Shartsev 7c142c9aed chore(assets): Re-compile assets
Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
2023-10-20 20:34:41 +02:00
Grigorii K. Shartsev 641d52dae7 fix(settings): remove unused savePrimaryEmailScope on Personal Settings page
If was replaced with universal `savePrimaryAccountPropertyScope`.
`<HeaderBar>` has no `handle-scope-change` prop.

Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
2023-10-20 20:31:57 +02:00
Grigorii K. Shartsev d4c37d5c4c fix(settings): remove placeholder from select
There is no placeholder attribute on select element

Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
2023-10-20 20:31:57 +02:00
Grigorii K. Shartsev 73e675d145 fix(settings): typo in avatar prop
Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
2023-10-20 20:31:57 +02:00
Grigorii K. Shartsev f214a7e332 fix(settings): remove invalid avatar prop
There was a typo, it must have been disable-menu, not disableD-menu.
But it is not required, because the menu is disabled for the current user anyway.

Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
2023-10-20 20:31:57 +02:00
Grigorii K. Shartsev 9154367761 fix(settings): fix ids and aria-labels in personal emails
Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
2023-10-20 20:31:56 +02:00
Grigorii K. Shartsev 4a85113cac fix(settings): remove empty aria-describedby
Empty string `''` is still rendered and is not a valid ID.

Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
2023-10-20 20:31:56 +02:00
Ferdinand Thiessen df74fb0123 Merge pull request #40993 from nextcloud/pulsejet/oc-cap-refactor
refactor: remove remaining usage of OC::getCapabilities
2023-10-20 20:29:57 +02:00
Ferdinand Thiessen 14bc7d3d00 Merge pull request #41018 from nextcloud/fix-files-list-header
fix(files): disable size containment on headers
2023-10-20 20:24:54 +02:00
nextcloud-command ba252e24a9 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-10-20 18:05:04 +00:00
Varun Patil 08bd7848ea fix(files): disable size containment on headers
Signed-off-by: Varun Patil <varunpatil@ucla.edu>
2023-10-20 09:03:22 -07:00
Côme Chilliet f94fb33062 Move IToken and IProvider::getToken to OCP
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-10-20 17:51:33 +02:00
Ferdinand Thiessen 77cce714c9 chore: Compile assets
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-10-20 16:23:27 +02:00
Varun Patil 9bd50a7296 refactor: remove remaining usage of OC::getCapabilities
Signed-off-by: Varun Patil <varunpatil@ucla.edu>
2023-10-20 16:19:43 +02:00
Ferdinand Thiessen 4828ac3521 Merge pull request #41008 from nextcloud/fix/36965-fix-trusted-server-input
Fix trusted server input field
2023-10-20 16:19:24 +02:00
Ferdinand Thiessen a6d137c9a7 Merge pull request #40994 from nextcloud/fix/37092/user-menu-validation
fix(user_menu): pass only actual prop to user menu entries
2023-10-20 16:17:30 +02:00
Josh Richards 0ded3ad2b2 Apply suggestions
Co-authored-by: Joas Schilling <213943+nickvergessen@users.noreply.github.com>
Signed-off-by: Josh Richards <josh.t.richards@gmail.com>
2023-10-20 09:03:59 -04:00
Robin Appelman 8418fcfedf add some support for rename on case insensitive local filesystems
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-10-20 15:03:11 +02:00
Marcel Klehr cee5aa84f0 fix(Text2Image): Fix psalm errors
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-10-20 14:56:24 +02:00
Marcel Klehr 9ee72633cf enh(Text2Image): Expose expected completion time
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-10-20 13:54:36 +02:00
Marcel Klehr 4c58edc1b7 fix(Text2Image): Fix psalm error
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-10-20 13:53:32 +02:00
Marcel Klehr 73da7f20d3 fix(Text2Image): Add number_of_images to migration
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-10-20 13:53:06 +02:00
Marcel Klehr bc85acf7d0 fix(Text2Image): Fix psalm issues
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-10-20 13:38:20 +02:00
Marcel Klehr 7b7f552a6e fix(Text2Image): Fix OpenAPI types
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-10-20 13:33:05 +02:00
Marcel Klehr 37c4ccc751 fix(Text2Image): Fix Task#lastUpdated initialization to use DateTime instead of time()
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-10-20 13:15:40 +02:00
Marcel Klehr 8ab47b64b5 enh(testing app): Add fake text2image provider
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-10-20 13:13:48 +02:00
Marcel Klehr b7fd5185b6 enh(TextToImage): Allow generating multiple images with one task
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-10-20 13:13:15 +02:00
julia.kirschenheuter 0af42db2c7 Fix trusted server input field
Signed-off-by: julia.kirschenheuter <julia.kirschenheuter@nextcloud.com>
2023-10-20 12:19:49 +02:00
Marcel Klehr 8968573d9f enh(TextToImage): Add getExpectedRuntime to IProvider and run tasks during request lifetime if possible
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-10-20 12:17:17 +02:00
John Molakvoæ e49353dee3 Merge pull request #40999 from nextcloud/files-list-will-change 2023-10-20 11:56:10 +02:00
Varun Patil 2db1eab7f9 fix(files): virtual list will-change value
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-10-20 10:49:11 +02:00
John Molakvoæ 93ee51b9a8 Merge pull request #41000 from nextcloud/fix/local-cypress-tests 2023-10-20 10:44:04 +02:00
Ferdinand Thiessen 8d907d8089 Merge pull request #40979 from nextcloud/fix/36965-fix-global-search
Fix placement of actions within unified search
2023-10-20 02:49:49 +02:00
Nextcloud bot 12dc49fbca Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-10-20 00:27:12 +00:00
Ferdinand Thiessen 8ac6fe8ba4 Merge pull request #40978 from nextcloud/fix/37092/replace-non-standard-autocorrect-with-spellcheck
HTML Validation: replace non standard `autocorrect` with `spellcheck`
2023-10-20 01:54:53 +02:00
Ferdinand Thiessen 06327be68e Merge pull request #40844 from nextcloud/feat/frontend-apporder-default-apps
feat: Allow to configure the app menu order in the frontend
2023-10-20 00:54:39 +02:00
Grigorii K. Shartsev 2d6cd78c32 fix: replace non-standard autocorrect with spellcheck attribute
`autocorrect` was actual for Safari long time ago when Safari didn't fully supported HTML 5 spellcheck.

Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
2023-10-20 00:35:51 +02:00
Ferdinand Thiessen f3f3f4cd59 chore: Compile assets
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-10-20 00:24:21 +02:00
Ferdinand Thiessen e9d4036389 feat(theming): Allow to configure default apps and app order in frontend settings
* Also add API for setting the value using ajax.
* Add cypress tests for app order and defaul apps

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-10-20 00:24:17 +02:00
Ferdinand Thiessen 363d9ebb13 feat(NavigationManager): Always sort the default app first
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-10-19 22:04:20 +02:00
Ferdinand Thiessen 08cff0777a feat(IAppManager): Allow to set the (user) default apps and get all global default apps
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-10-19 22:04:20 +02:00
Ferdinand Thiessen 5c48a504a7 fix(cypress): Also sync 3rdparty directory for local cypress tests
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-10-19 22:03:39 +02:00
Ferdinand Thiessen a6c450b481 Merge pull request #40961 from nextcloud/fix/cypress-tests
fix(cypress): Replace flaky password-confirmation hack
2023-10-19 22:02:28 +02:00
Ferdinand Thiessen 9ce5c983d0 Merge pull request #40992 from nextcloud/fix/37092/weather-status-html-validation
fix(weather_status): remove `li` wrapper
2023-10-19 21:58:19 +02:00
Robin Appelman 9bc44de95d reuse sharing disabled state when listing folder content
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-10-19 19:40:52 +02:00
Robin Appelman 460344336e optimize cache jail creation
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-10-19 19:27:00 +02:00
Grigorii K. Shartsev ef4db759e5 chore(assets): Re-compile assets
Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
2023-10-19 18:59:38 +02:00
julia.kirschenheuter 311d5c6275 Fix placement of actions within unified search
Signed-off-by: julia.kirschenheuter <julia.kirschenheuter@nextcloud.com>
2023-10-19 18:49:37 +02:00
Grigorii K. Shartsev 776f5da831 fix(core): do not assign all navigation entry properties as html attributes
Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
2023-10-19 18:47:02 +02:00
Ferdinand Thiessen f4e3f09654 Merge pull request #40924 from AIlkiv/shortcut-ctrl-f-for-different-keyboard-layouts
Shortcut Ctrl+F for different keyboard layouts
2023-10-19 18:15:49 +02:00
Julia Kirschenheuter 694352e3ad Merge pull request #40963 from nextcloud/fix/36965-fix-width-of-sharing-entry
Reduce width of sharing entry
2023-10-19 17:08:28 +02:00
Grigorii K. Shartsev 869fdb4c85 chore(assets): Re-compile assets
Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
2023-10-19 17:06:42 +02:00
Joas Schilling 7ef3937278 Merge pull request #40977 from nextcloud/Rello-patch-version
Update version.php to owncloud 10.13
2023-10-19 16:41:58 +02:00
Ferdinand Thiessen 3f83ae145f fix(cypress): Test using data-test-id attributes rather than private classes
Makes the test more resilant to inner component changes of the `@nextcloud/vue` library.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-10-19 16:17:20 +02:00
Ferdinand Thiessen add1d922ba fix(cypress): Replace flaky password-confirmation hack with conditional testing for the password modal
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-10-19 16:17:19 +02:00
Côme Chilliet 0c346849f3 Migrate missing PHP modules check to new API and improve it
Test all modules listed as required in our documentation

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-10-19 15:58:45 +02:00
Côme Chilliet b6c35b3be0 Merge pull request #32550 from nextcloud/feat/api-cleanup-check
Add api to register setup checks
2023-10-19 15:41:23 +02:00
julia.kirschenheuter bfa7d33912 Reduce width of sharing entry
Signed-off-by: julia.kirschenheuter <julia.kirschenheuter@nextcloud.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-10-19 12:50:14 +00:00
Côme Chilliet 789ff3f414 Fix jsunit tests for SetupChecks
Tests could be simplified to test generic setup check directly with fake
 data instead of trying to mimic real steps results but for now this
 will do.

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-10-19 14:46:46 +02:00
Rello 4218d6ee43 Update version.php to owncloud 10.13
ownCloud's current version is 10.13
migration was tested with a customer; 
documentation was adjusted
https://github.com/nextcloud/documentation/pull/11225

Signed-off-by: Rello <Rello@users.noreply.github.com>
2023-10-19 14:37:05 +02:00
John Molakvoæ 049804d02f Merge pull request #35728 from nextcloud/fix/cypress 2023-10-19 14:23:39 +02:00
John Molakvoæ 4f4074452d Fix background removal not applying to user default theming
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-10-19 12:01:29 +02:00
Ferdinand Thiessen 51ff16eba3 chore: Compile assets
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-10-19 12:00:43 +02:00
John Molakvoæ a024ee1cfe Fix background removal check
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-10-19 11:54:09 +02:00
John Molakvoæ d10c4c3f6d Add additional no-background and custom colour test
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-10-19 11:54:09 +02:00
Andrii Ilkiv 952760fd14 Shortcut Ctrl+F for different keyboard layouts
Signed-off-by: Andrii Ilkiv <a.ilkiv.ye@gmail.com>
2023-10-19 11:51:09 +02:00
Côme Chilliet a3cc3b188d Small code style fix in SetupCheckManager
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-10-19 11:44:03 +02:00
Côme Chilliet 2e4d1549a4 Change SetupResult API to named constructors
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-10-19 11:44:03 +02:00
Côme Chilliet 11ebf469da Remove useless var in apps/settings/lib/SetupChecks/CheckUserCertificates.php
Co-authored-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
Signed-off-by: Côme Chilliet <91878298+come-nc@users.noreply.github.com>
2023-10-19 11:44:03 +02:00
Côme Chilliet 6aa6f26427 Move NeedsSystemAddressBookSync to dav application where it’s registered
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-10-19 11:44:02 +02:00
Côme Chilliet be11ffd86a Add debug logging when running setup checks to help with debugging slow results
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-10-19 11:44:02 +02:00
Côme Chilliet 968b82cacc Remove UI draft
For now we will keep the existing UI and only change the API behind it

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-10-19 11:44:02 +02:00
Côme Chilliet 6bc3e008c7 Fix tests for setup checks
Had to remove tests for migrated checks, we should add tests for each
 SetupCheck class later on.

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-10-19 11:44:02 +02:00
Côme Chilliet efa2dfa641 Add OCP interface for SetupCheckManager
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-10-19 11:44:02 +02:00
Côme Chilliet bd37067821 Migrate InternetConnectivity check to new API
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-10-19 11:44:01 +02:00
Côme Chilliet 5503c4c8e2 Add missing licences and copyright in SetupCheck
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-10-19 11:44:01 +02:00
Côme Chilliet 05cb1415e1 Merge setupchecks from new API into old UI
This will allow migrating checks to the new API without touching the UI
 for now.

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-10-19 11:44:01 +02:00
Côme Chilliet fa3c0e4b1c Fix description for SetupChecks/NeedsSystemAddressBookSync
Co-authored-by: Daniel <mail@danielkesselberg.de>
Signed-off-by: Côme Chilliet <91878298+come-nc@users.noreply.github.com>
2023-10-19 11:44:01 +02:00
Côme Chilliet bec6c0a441 Migrate ReadOnlyConfig and DefaultPhoneRegionSet to new API
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-10-19 11:44:00 +02:00
Côme Chilliet 8bfa0935b4 Migrate NeedsSystemAddressBookSync to new ISetupCheck API
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-10-19 11:44:00 +02:00
Côme Chilliet 67e7a2635f Fix PHPDoc in OCP for new SetupResult class
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-10-19 11:44:00 +02:00
Côme Chilliet a4618cfea0 Move existing setup checks to new API
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-10-19 11:44:00 +02:00
Côme Chilliet a56d40cf2d Fix lint problems in vue files
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-10-19 11:44:00 +02:00
Côme Chilliet b41b9cf4c0 Small cleanups in SetupCheck classes
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-10-19 11:43:59 +02:00
Côme Chilliet 1202171b32 Fix docblock and types for new public API
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-10-19 11:43:59 +02:00
Côme Chilliet a3ec716c33 Fix UI and add PhpOutdated check
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-10-19 11:43:59 +02:00
Côme Chilliet 0890012e72 Fix SetupChecks/LdapInvalidUuids.php
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-10-19 11:43:58 +02:00
Carl Schwan c71e47f5c3 Progress
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2023-10-19 11:43:58 +02:00
Carl Schwan eb1d612d96 Add api to register setup checks
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2023-10-19 11:43:58 +02:00
Akhil 5e20c3e7b9 Add custom apps translation scripts and image path for consistency
Signed-off-by: Akhil <akhil@e.email>
2023-10-19 14:39:29 +05:30
Marcel Klehr 92cc171a61 fix(TextToImage): Fix OpenAPI definitions
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-10-19 11:07:03 +02:00
Marcel Klehr 3d11ab7af8 fix(TextToImage): Add autoloader changes and registerAlias
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-10-19 10:54:18 +02:00
John Molakvoæ a572a547f9 Merge pull request #40969 from nextcloud/ishare-type 2023-10-19 09:29:26 +02:00
John Molakvoæ 4d5b794acc Merge pull request #40958 from nextcloud/pulsejet/files-list-perf 2023-10-19 09:27:43 +02:00
John Molakvoæ 4db03884a5 fix(files): drop visible and adjust drag-to-scroll feature
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-10-19 06:42:33 +00:00
Varun Patil c008464a2a Fix return type of IShare::getExpirationDate
Signed-off-by: Varun Patil <varunpatil@ucla.edu>
2023-10-18 23:23:41 -07:00
Varun Patil 4876eacf3f perf(files): performance optimizations
Signed-off-by: Varun Patil <varunpatil@ucla.edu>
2023-10-19 08:23:22 +02:00
Nextcloud bot 1c014f82c2 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-10-19 00:28:10 +00:00
Joas Schilling 5de36b6941 Merge pull request #40965 from nextcloud/bugfix/noid/fix-type-and-docs-on-interface
fix(federation): Fix type and docs on ICloudFederationNotification in…
2023-10-18 18:48:40 +02:00
Josh Richards 59366eebb8 SECURITY: Add {links, headings, $, scope, public GH Issues notes}
* Add links to various relevant pages (scope, existing security advisories)
* Add request to not report vulnerabilities in public GH issues
* Mention bounty program
* Reorganized and added some new headings

Signed-off-by: Josh Richards <josh.t.richards@gmail.com>
2023-10-18 11:42:44 -04:00
Joas Schilling 4f76c131a4 fix(federation): Fix type and docs on ICloudFederationNotification interface
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-10-18 17:16:22 +02:00
Ferdinand Thiessen a1d70ab78a Merge pull request #40923 from nextcloud/automated/noid/master-fix-npm-audit
[master] Fix npm audit
2023-10-18 15:08:59 +02:00
Marcel Klehr 6238aca6c5 fix(TextToImage): Fix bruteforce protection
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-10-18 14:46:40 +02:00
Ferdinand Thiessen e9d8095006 Merge pull request #40913 from nextcloud/dependabot/npm_and_yarn/dockerode-4.0.0
chore(deps-dev): Bump dockerode from 3.3.5 to 4.0.0
2023-10-18 14:37:57 +02:00
Ferdinand Thiessen d452b872c9 fix: Improve dockerNode logging
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-10-18 14:37:44 +02:00
dependabot[bot] da9d069721 chore(deps-dev): Bump dockerode from 3.3.5 to 4.0.0
Bumps [dockerode](https://github.com/apocas/dockerode) from 3.3.5 to 4.0.0.
- [Release notes](https://github.com/apocas/dockerode/releases)
- [Commits](https://github.com/apocas/dockerode/compare/v3.3.5...v4.0.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-18 14:37:44 +02:00
Julius Härtl f3ae617bde test(files_sharing): Test if recent files result use actual share target name
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2023-10-18 14:31:27 +02:00
Max be373fca3c fix(sharing): set name to target name in sharing cache
Fixes #39879.

Signed-off-by: Max <max@nextcloud.com>
2023-10-18 14:31:27 +02:00
Marcel Klehr e57e94e11a fix(TextToImage): Add bruteforce protection to API
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-10-18 14:09:19 +02:00
Marcel Klehr ab856a5c78 fix(TextToImage): Fix psalm issues
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-10-18 14:09:04 +02:00
Ferdinand Thiessen bb912ad47c Merge pull request #40914 from nextcloud/dependabot/npm_and_yarn/dompurify-3.0.6
chore(deps): Bump dompurify from 3.0.5 to 3.0.6
2023-10-18 13:44:52 +02:00
Marcel Klehr 9b7f63946f fix(TextToImage): Fix psalm issues
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-10-18 13:44:21 +02:00
Marcel Klehr ca9a28ab51 fix(TextToImage): Fix notnull column to allow for empty strings on orcale
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-10-18 13:31:01 +02:00
Marcel Klehr d3da49de44 fix(TextToImage): Fix docblock of getImage route
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-10-18 13:31:00 +02:00
Marcel Klehr c5fbe5a7bc enh(TextToImage): Add bruteforce protection for anonymous API usage
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-10-18 13:31:00 +02:00
dependabot[bot] 477cfad8b3 chore(deps): Bump dompurify from 3.0.5 to 3.0.6
Bumps [dompurify](https://github.com/cure53/DOMPurify) from 3.0.5 to 3.0.6.
- [Release notes](https://github.com/cure53/DOMPurify/releases)
- [Commits](https://github.com/cure53/DOMPurify/compare/3.0.5...3.0.6)

---
updated-dependencies:
- dependency-name: dompurify
  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>
2023-10-18 13:25:49 +02:00
Marcel Klehr 5ddf3c3366 Update lib/public/TextToImage/Exception/TextToImageException.php
Co-authored-by: Joas Schilling <213943+nickvergessen@users.noreply.github.com>
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-10-18 13:21:50 +02:00
Marcel Klehr 47372380b4 Update lib/public/TextToImage/Exception/TaskNotFoundException.php
Co-authored-by: Joas Schilling <213943+nickvergessen@users.noreply.github.com>
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-10-18 13:21:50 +02:00
Marcel Klehr 1d07dcc346 Update lib/private/TextToImage/Db/Task.php
Co-authored-by: Joas Schilling <213943+nickvergessen@users.noreply.github.com>
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-10-18 13:21:50 +02:00
Marcel Klehr e8faaebb0f enh(TextToImage): Allow anonymous access to IManager#getUserTasksByApp
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-10-18 13:21:50 +02:00
Marcel Klehr f52d763f50 enh(TextToImage): Add routes
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-10-18 13:21:50 +02:00
Marcel Klehr c59861a9fa enh(TextToImage): Implement removal of stale images and change Task#last_updated to DATETIME
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-10-18 13:21:50 +02:00
Marcel Klehr 207c95838f fix(TextToImage): Fix coding style
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-10-18 13:21:50 +02:00
Marcel Klehr 3e6a8b31c4 fix(TextToImage): Fix psalm errors
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-10-18 13:21:50 +02:00
Marcel Klehr e5efbc88d8 enh(TextToImage): Address review comments
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-10-18 13:21:50 +02:00
Marcel Klehr 41847c951a Update lib/private/TextToImage/TaskBackgroundJob.php
Co-authored-by: Julius Härtl <jus@bitgrid.net>
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-10-18 13:21:50 +02:00
Marcel Klehr 53678a8534 Update lib/public/TextToImage/Events/TaskSuccessfulEvent.php
Co-authored-by: Julius Härtl <jus@bitgrid.net>
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-10-18 13:21:50 +02:00
Marcel Klehr e199d1aae1 Update lib/public/TextToImage/IManager.php
Co-authored-by: Julius Härtl <jus@bitgrid.net>
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-10-18 13:21:50 +02:00
Marcel Klehr 1e36d74c3e Update core/Controller/TextToImageApiController.php
Co-authored-by: Julius Härtl <jus@bitgrid.net>
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-10-18 13:21:50 +02:00
Marcel Klehr dc8cba6026 cs:Fix
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-10-18 13:21:50 +02:00
Marcel Klehr 666f7b33c9 Small fixes
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-10-18 13:21:50 +02:00
Marcel Klehr 2d44c7c1ed Small fixes
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-10-18 13:21:50 +02:00
Marcel Klehr c8cab9d2fd Implement TextToImage OCP API
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-10-18 13:21:50 +02:00
nextcloud-command 149bb0b544 chore(deps): fix npm audit
Signed-off-by: GitHub <noreply@github.com>
2023-10-18 13:18:28 +02:00
Grigorii K. Shartsev 4312fa803e fix(weather_status): remove unnecessaries LI wrapper and inline mode
Weather Status is only used as a Dashboard Status and only in so-called inline mode.
- Remove LI wrapper (actual only for User Menu Entry)
- Remove `inline` prop, consider component as always inline

Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
2023-10-18 13:14:56 +02:00
Grigorii K. Shartsev f439505816 fix(weather_status): nextcloud/vue v8 migration - menu-title -> menu-name
Invalid prop name is inherited as an HTML attribute

Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
2023-10-18 12:19:33 +02:00
Joas Schilling 9bdf98f699 Merge pull request #40959 from nextcloud/bugfix/noid/fix-types-in-querybuilder
fix(dbal): Fix types in query builder methods for parameters
2023-10-18 11:41:29 +02:00
John Molakvoæ 80893480c1 Merge pull request #40478 from nextcloud/node-from-entry 2023-10-18 10:44:21 +02:00
Julia Kirschenheuter bd46abac00 Merge pull request #40873 from nextcloud/fix/36965-fix-search-contacts
Fix width of input on contacts menu
2023-10-18 10:05:01 +02:00
julia.kirschenheuter f7609276b5 Fix width of input on contacts menu
Signed-off-by: julia.kirschenheuter <julia.kirschenheuter@nextcloud.com>
2023-10-18 09:35:41 +02:00
John Molakvoæ 0c1c045942 Merge pull request #40956 from nextcloud/deps/nextcloud/dialogs-5.0.0-beta.6 2023-10-18 09:25:58 +02:00
Christopher Ng f8b1d7f4c5 chore: compile assets
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-10-18 08:54:45 +02:00
Christopher Ng b81c76adc7 chore: Remove unnecessary dialogs css imports
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-10-18 08:47:17 +02:00
Christopher Ng 3b202f2198 chore(deps): Bump @nextcloud/dialogs to v5-beta.6
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-10-18 08:47:16 +02:00
John Molakvoæ 1a425ab6f6 Merge pull request #40926 from nextcloud/config-sample-theme-names-fix 2023-10-18 08:46:08 +02:00
Joas Schilling 15a7aa51c5 fix(dbal): Fix types in query builder methods for parameters
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-10-18 07:09:08 +02:00
Ferdinand Thiessen 1f8c21a581 Merge pull request #40808 from c39cfbb3/patch-3
fix(L10N): Support "Accept-Language: zh-Hans-CN" and alike
2023-10-18 03:43:26 +02:00
Ferdinand Thiessen 1d9d3b6912 Merge pull request #40912 from nextcloud/dependabot/npm_and_yarn/mdi/svg-7.3.67
chore(deps): Bump @mdi/svg from 7.2.96 to 7.3.67
2023-10-18 03:36:29 +02:00
Ferdinand Thiessen 5932a01dd5 Merge pull request #40941 from nextcloud/dependabot/npm_and_yarn/babel/traverse-7.23.2
chore(deps): Bump @babel/traverse from 7.22.8 to 7.23.2
2023-10-18 03:32:14 +02:00
Ferdinand Thiessen 154a9989a7 Merge pull request #39852 from nextcloud/pragmaHeader
Stop sending deprecated Pragma header
2023-10-18 03:30:21 +02:00
Nextcloud bot e1d33096d3 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-10-18 00:52:29 +00:00
dependabot[bot] 559ca56148 chore(deps): Bump @mdi/svg from 7.2.96 to 7.3.67
Bumps [@mdi/svg](https://github.com/Templarian/MaterialDesign-SVG) from 7.2.96 to 7.3.67.
- [Commits](https://github.com/Templarian/MaterialDesign-SVG/compare/v7.2.96...v7.3.67)

---
updated-dependencies:
- dependency-name: "@mdi/svg"
  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>
2023-10-18 00:41:53 +00:00
c39cfbb3 1bf15da863 Update lib/private/L10N/Factory.php
Co-authored-by: Ferdinand Thiessen <opensource@fthiessen.de>
Signed-off-by: c39cfbb3 <145777845+c39cfbb3@users.noreply.github.com>
2023-10-18 02:33:54 +02:00
c39cfbb3 f7cd3d17b8 L10N/Factory: Support "Accept-Language: zh-Hans-CN" and alike
Signed-off-by: c39cfbb3 <145777845+c39cfbb3@users.noreply.github.com>
2023-10-18 02:33:54 +02:00
Ferdinand Thiessen 54d1ec58bf Merge pull request #40950 from nextcloud/fix/add-aria-pressed-to-buttons
fix(theming): Add `aria-pressed` attribute to active background
2023-10-18 02:16:41 +02:00
Ferdinand Thiessen 8d57cdcab5 fix(theming): Add aria-pressed attribute to active background
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-10-18 01:35:54 +02:00
Pytal ff76e258c8 Merge pull request #40905 from nextcloud/fix/36965-apadt-margin-for-files_list_header 2023-10-17 15:02:52 -07:00
julia.kirschenheuter 0d53f54076 Reduce left margin of files list header
Signed-off-by: julia.kirschenheuter <julia.kirschenheuter@nextcloud.com>
2023-10-17 21:43:22 +02:00
Julius Härtl d261330251 Merge pull request #40951 from nextcloud/fix/xhr-request-regression 2023-10-17 20:56:19 +02:00
Simon L a21d6c5d8d Merge pull request #40932 from nextcloud/enh/36965/fix-account-settings
fix profile visibility settings being too wide
2023-10-17 19:05:20 +02:00
Julia Kirschenheuter 91118a542c Merge pull request #40872 from nextcloud/fix/36965-fix-status-message_dialog
Change width for input field
2023-10-17 18:09:38 +02:00
Simon L d4415ba6dd address review
Signed-off-by: Simon L <szaimen@e.mail.de>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-10-17 16:07:04 +00:00
John Molakvoæ 592eac043a Merge pull request #40948 from nextcloud/fix/new-folder 2023-10-17 17:42:46 +02:00
Ferdinand Thiessen 0414ca35c0 fix(xhr-request): Make sure to also allow strings as url
Our utility to add `X-Requested-With` headers on API calls intercepts
calls to `window.fetch`, so we must ensure we allow all parameters that the default
browser provided `window.fetch` allows.
In this case make sure to allow all stringify-able objects.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-10-17 17:41:51 +02:00
John Molakvoæ 9f157d7f80 fix(files): fix new folder encoding
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-10-17 17:19:48 +02:00
julia.kirschenheuter 4af5d58130 Change flex-direction for input field
Signed-off-by: julia.kirschenheuter <julia.kirschenheuter@nextcloud.com>
2023-10-17 17:17:57 +02:00
Simon L d5f0ba9602 fix profile visibility settings being too wide
Signed-off-by: Simon L <szaimen@e.mail.de>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-10-17 15:14:59 +00:00
Julia Kirschenheuter fbf8a463db Merge pull request #40643 from nextcloud/fix/37082-set_visible_label_for_input_in_modal
Set visible label for input field
2023-10-17 16:55:25 +02:00
Simon L 24db452085 Merge pull request #40907 from nextcloud/enh/36965/fix-personal-settings
fix several personal settings problems
2023-10-17 15:23:26 +02:00
julia.kirschenheuter 7d00c7fde4 Replace password dialog with dialog from library
Signed-off-by: julia.kirschenheuter <julia.kirschenheuter@nextcloud.com>
2023-10-17 14:09:43 +02:00
John Molakvoæ 106bf6cf87 Merge pull request #40917 from nextcloud/feat/gridview 2023-10-17 13:55:51 +02:00
Simon L 99eeee2036 fix several personal settings problems
Signed-off-by: Simon L <szaimen@e.mail.de>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-10-17 11:50:25 +00:00
John Molakvoæ 1ba5bc08ab fix(files): hide grid view button on narrow screen
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-10-17 12:43:25 +02:00
John Molakvoæ 77fdef1081 perf(files): optimize virtual scroller computation
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-10-17 12:03:12 +02:00
dependabot[bot] b5eac93c3c chore(deps): Bump @babel/traverse from 7.22.8 to 7.23.2
Bumps [@babel/traverse](https://github.com/babel/babel/tree/HEAD/packages/babel-traverse) from 7.22.8 to 7.23.2.
- [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.23.2/packages/babel-traverse)

---
updated-dependencies:
- dependency-name: "@babel/traverse"
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-17 09:20:28 +00:00
John Molakvoæ 116c396f0e feat(files): add grid toggle button
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-10-17 11:19:02 +02:00
John Molakvoæ c4b8abd343 perf(files): reuse keys for virtual scrolling
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-10-17 11:19:02 +02:00
John Molakvoæ 16975ae457 feat(files): grid view
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-10-17 11:19:02 +02:00
John Molakvoæ 694fd51cba fix(files): split FileEntry Name
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-10-17 11:19:02 +02:00
John Molakvoæ 64c32f7148 fix(files): split FileEntry Actions
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-10-17 11:19:02 +02:00
John Molakvoæ 0f1f73478a fix(files): split FileEntry Checkbox and fix range selection
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-10-17 11:19:01 +02:00
John Molakvoæ 60260bb58e chore(files): split FileEntry Preview
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-10-17 11:19:01 +02:00
John Molakvoæ 2887e6419d Merge pull request #40854 from nextcloud/fix/template-picker 2023-10-17 11:17:56 +02:00
John Molakvoæ 4b55594f55 feat(files): migrate template picker
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-10-17 11:17:35 +02:00
Julia Kirschenheuter ad7d20e017 Merge pull request #40902 from nextcloud/fix/36965-fix-nc-select-on-users-table
Append to body all selects inside of user table
2023-10-17 10:56:57 +02:00
julia.kirschenheuter ba0fadd312 Append to body all selects inside of user table
Signed-off-by: julia.kirschenheuter <julia.kirschenheuter@nextcloud.com>
2023-10-17 09:25:31 +02:00
Nextcloud bot cd6b10f89b Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-10-17 00:27:38 +00:00
Pytal e6a2985e4d Merge pull request #40168 from nextcloud/enh/a11y/user-menu 2023-10-16 11:45:49 -07:00
Christopher Ng 48e02becab chore: compile assets
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-10-16 09:59:29 -07:00
Christopher Ng 0b8958fae7 fix(acceptance): Locate settings menu
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-10-16 09:54:41 -07:00
Christopher Ng a7de1137d7 enh(a11y): Add label to app menu nav
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-10-16 09:54:41 -07:00
Christopher Ng f2f1e9c8d6 enh(a11y): Add avatar description
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-10-16 09:54:41 -07:00
Christopher Ng 6c5a10fea3 enh(a11y): Add accessible user menu semantics
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-10-16 09:54:41 -07:00
Christoph Wurst b914916bdb Merge pull request #40749 from nextcloud/refactor/contacts-menu-to-vue
refactor: Contacts menu to Vue
2023-10-16 18:12:39 +02:00
Joas Schilling 746506fccd Merge pull request #40934 from nextcloud/techdebt/noid/codeowner
chore: Add the talk team as codeowners for things Talk heavily relies on
2023-10-16 17:29:31 +02:00
Joas Schilling dfc0974022 chore: Add the talk team as codeowners for things Talk heavily relies on
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-10-16 16:50:42 +02:00
Christoph Wurst 6a375ca161 refactor: Contacts menu to Vue
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-10-16 14:12:20 +00:00
Christoph Wurst 0321bec791 Merge pull request #40890 from nextcloud/fix/search/close-unified-search-second-ctrl-f
fix(search): Close unified search at the second ctrl+f
2023-10-16 16:05:25 +02:00
Joas Schilling 90485aa39c Merge pull request #40931 from nextcloud/bugfix/noid/fix-unit-tests-on-8.3
Fix unit tests on PHP 8.3
2023-10-16 15:22:17 +02:00
F. E Noel Nfebe c932c94fdd Merge pull request #40927 from nextcloud/allow-expiry-dates-less-than-enforced-limit
Allow share expiry dates lower than enforced limits
2023-10-16 11:37:10 +01:00
Julien Veyssier 9bf824eb90 Merge pull request #40471 from nextcloud/enh/fix-x-requested-with
Only add x-requested-with header in requests to Nextcloud
2023-10-16 12:06:49 +02:00
Julien Veyssier b58c3dde3d compile assets
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
2023-10-16 10:28:48 +02:00
Julien Veyssier d2cc4c4798 only add x-requested-with header if requests point to NC
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
2023-10-16 10:28:47 +02:00
Joas Schilling 500fa5431d Fix unit tests on PHP 8.3
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-10-16 10:17:22 +02:00
Côme Chilliet 8212feefb9 Merge pull request #40367 from nextcloud/fix/user_ldap-update-groups-on-login
Fire group membership events from LDAP at login
2023-10-16 10:01:55 +02:00
fenn-cs 9757e680e2 Allow share expiry dates lower than enforced limits
Previously, users could change the share expiry date up
to the enforced maximum.

The new share flow imposed the enforced share expiry
date maximum literally and did not allow even dates
lower than the maximum enforced.

That does not make much sense, if the enforced expiry date is 30
days from creation date, then it's logical to allow users set the
date to anything less than 30 days from the creation date.

Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
2023-10-16 07:03:53 +01:00
Joas Schilling 356c2219bc Merge pull request #40865 from nextcloud/bugfix/noid/fix-version-comment
Fix version number in ITimeFactory after it was delayed
2023-10-16 08:01:09 +02:00
Joas Schilling a724fd4e9c Merge pull request #40900 from nextcloud/bugfix/noid/fix-parameter-types-in-docs
fix(docs): Fix parameter types in docs
2023-10-16 08:00:44 +02:00
Nextcloud bot 83c2729aae Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-10-16 00:28:25 +00:00
Ferdinand Thiessen ca946e7e27 Merge pull request #40068 from nextcloud/devcontainer-fix-git-config
[Devcontainer] move git setup to postStartCommand
2023-10-16 01:04:06 +02:00
Ferdinand Thiessen f07709cbb6 Merge pull request #40910 from nextcloud/dependabot/npm_and_yarn/ts-loader-9.5.0
chore(deps-dev): Bump ts-loader from 9.4.4 to 9.5.0
2023-10-16 00:32:48 +02:00
Christoph Wurst 7d13e9563b fix(search): Close unified search at the second ctrl+f
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-10-16 00:30:31 +02:00
Josh Richards 4a7f648d16 config.sample.php: fix incorrect theme name + add a missing one
Fixes #40908 

Signed-off-by: Josh Richards <josh.t.richards@gmail.com>
2023-10-15 13:27:40 -04:00
John Molakvoæ 7e2c51204b Merge pull request #40893 from nextcloud/enh/a11y/files-header-sort 2023-10-15 13:52:14 +02:00
Nextcloud bot 562f19a49e Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-10-15 00:27:31 +00:00
Christopher Ng 459e052237 chore: compile assets
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-10-14 21:29:48 +02:00
Christopher Ng 6a98d94e76 chore(files): Clean up unused components
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-10-14 21:29:48 +02:00
Christopher Ng 224ee07cd5 fix(files): Remove unnecessary sort direction from label
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-10-14 21:29:48 +02:00
Christopher Ng cbb7085cfe enh(files): Add accessible sort direction
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-10-14 21:29:48 +02:00
dependabot[bot] 4d1e6cefc9 chore(deps-dev): Bump ts-loader from 9.4.4 to 9.5.0
Bumps [ts-loader](https://github.com/TypeStrong/ts-loader) from 9.4.4 to 9.5.0.
- [Release notes](https://github.com/TypeStrong/ts-loader/releases)
- [Changelog](https://github.com/TypeStrong/ts-loader/blob/main/CHANGELOG.md)
- [Commits](https://github.com/TypeStrong/ts-loader/compare/v9.4.4...v9.5.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-14 03:09:38 +00:00
dependabot[bot] c2feec9de1 chore(deps-dev): Bump @babel/preset-typescript from 7.22.11 to 7.23.2
Bumps [@babel/preset-typescript](https://github.com/babel/babel/tree/HEAD/packages/babel-preset-typescript) from 7.22.11 to 7.23.2.
- [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.23.2/packages/babel-preset-typescript)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-14 03:09:24 +00:00
Nextcloud bot 6f18732c35 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-10-14 00:28:03 +00:00
Simon L ba12ce8e1e Merge pull request #40887 from nextcloud/enh/36965/fix-admin-settings 2023-10-13 18:22:55 +02:00
Robin Windey 9dd158b70d Devcontainer: move git setup to postStartCommand
* postCreateCommand is executed too early
* If git config commands run in postCreate, a global .gitconfig will be created
* Copy of local .gitconfig will be skipped if .gitconfig already exists in container
* Move to later stage
* https://github.com/devcontainers/cli/issues/98
* https://github.com/microsoft/vscode-remote-release/issues/4855#issuecomment-831920085

Signed-off-by: GitHub <noreply@github.com>
2023-10-13 16:18:57 +00:00
Simon L 55c8481710 fix several admin settings problems
Signed-off-by: Simon L <szaimen@e.mail.de>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-10-13 15:35:32 +00:00
Christoph Wurst cdc2f38a51 Merge pull request #40868 from nextcloud/feat/in-memory-cache-factory
feat: Add factory method for in-memory caches
2023-10-13 13:52:14 +02:00
Joas Schilling a8ae09c544 fix(docs): Fix parameter types in docs
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-10-13 11:02:42 +02:00
Joas Schilling 160a2b7120 Merge pull request #40885 from nextcloud/bugfix/noid/fix-OCM-provider
Fix OCM provider public API and handling to allow apps to register
2023-10-13 10:53:21 +02:00
Simon L 925df86466 Merge pull request #40894 from nextcloud/fix/cypress-groups 2023-10-13 10:37:18 +02:00
Joas Schilling 21e7a82e64 feat(OCM): Dispatch an event so apps can register resources
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-10-13 08:46:28 +02:00
Joas Schilling fc445a2eaa feat(OCM): Add a way for apps to create a new IOCMResource
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-10-13 08:38:19 +02:00
Joas Schilling b246d51cbc fix(OCM): Make the OCM provider stateful so apps can add resources
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-10-13 08:34:42 +02:00
Joas Schilling 4dbe0677ad fix(OCM): Make the public API only rely on OCP
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-10-13 08:34:39 +02:00
Ferdinand Thiessen f103979b9f Merge pull request #40874 from nextcloud/chore/deps/nextcloud-password-confirmation
chore(deps): Bump @nextcloud/password-confirmation from 4.0.1 to 5.0.0
2023-10-13 02:52:52 +02:00
Nextcloud bot d99847b0cc Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-10-13 00:47:00 +00:00
Christopher Ng b3d426c510 fix(cypress): User groups test
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-10-12 15:39:42 -07:00
Grigorii K. Shartsev 50a7eba09c chore(assets): re-compile assets
Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
2023-10-12 20:02:07 +02:00
Grigorii K. Shartsev 26c3885bff chore(deps): Bump @nextcloud/password-confirmation from 4.0.1 to 5.0.0
Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
2023-10-12 18:16:54 +02:00
Simon L 01d5979ed2 Merge pull request #40871 from nextcloud/enh/36965/fix-my-apps-view 2023-10-12 14:25:11 +02:00
Joas Schilling dd0142ff47 Merge pull request #40864 from nextcloud/bugfix/noid/use-allowSelfSignedCertificates-for-all-OCM-requests
fix(federation): Use `sharing.federation.allowSelfSignedCertificates` config for all OCM requests
2023-10-12 12:37:15 +02:00
Joas Schilling cd659b7119 Fix unit tests
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-10-12 11:36:35 +02:00
Simon L 8f66fbe454 Fix my-apps view on mobile
Signed-off-by: Simon L <szaimen@e.mail.de>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-10-12 09:35:51 +00:00
Christoph Wurst 03c7ee4e41 Merge pull request #40879 from nextcloud/fix/session/log-lost-crypto-session
fix(session): Log when crypto session data is lost
2023-10-12 10:37:15 +02:00
Arthur Schiwon 37f21cf94d Merge pull request #40443 from nextcloud/fix/noid/store-lpap-user-groups
fix(ldap): store last known user groups
2023-10-12 10:32:29 +02:00
Joas Schilling 62eafdbd48 Merge pull request #40413 from nextcloud/feature/sorbaugh/in-user-search
Add in:users as a search filter to limit searches to users
2023-10-12 10:29:29 +02:00
Côme Chilliet 500374a8e7 Fix registerEventListener signature
It seems now psalm correctly supports this.

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-10-12 10:13:43 +02:00
Côme Chilliet 05efbf11d9 Fix LDAP LoginListener by adding new group relationships to caches before firing the event
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-10-12 10:13:43 +02:00
Côme Chilliet 800b1b7031 Fire group events at login for LDAP groups
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-10-12 10:13:43 +02:00
Côme Chilliet 6e38cb197a Add logging to be able to debug FirstLoginListener
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-10-12 10:13:42 +02:00
Côme Chilliet 4f2048851c Move event listener registration to register()
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-10-12 10:13:42 +02:00
Côme Chilliet 2e52e39aff Use a standard array for the stateful cache
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-10-12 10:13:42 +02:00
Côme Chilliet 474b5e1a05 Add FirstLoginListener to accept shares upon first ldap user login
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-10-12 10:13:41 +02:00
nextcloud-command d6e21c3714 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-10-12 07:14:37 +00:00
Arthur Schiwon bdf0fe6a03 fix(meta): copyright note 2023-10-12 08:57:41 +02:00
sorbaugh f66e4ee072 remove unused properties
Signed-off-by: sorbaugh <stephan.orbaugh@nextcloud.com>
2023-10-12 08:57:41 +02:00
sorbaugh a3a599855e recompiled assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-10-12 08:57:40 +02:00
sorbaugh c38bafba9e Remove unneeded includes.
Usage:
1. Type a string in the search bar
2. Add in:users filter to avoid unnecessary searches in other apps
2023-10-12 08:57:04 +02:00
sorbaugh 65c70d7cc6 Keep Search Provider but remove actual search and display on the searchlist dialog. Will revisit in future search result list in future issue.
Usage:
1. Type a string in the search bar
2. Add in:users filter to avoid unnecessary searches in other apps
2023-10-12 08:57:04 +02:00
sorbaugh ab81cd1e1e Add new user filter to search.
Add regex to prevent filter collision in user-list page

Usage:
1. Type a string in the search bar
2. Add in:users to display only users in the search result
2023-10-12 08:56:48 +02:00
Nextcloud bot 6379c852c3 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-10-12 00:25:29 +00:00
Pytal 228b21f3fa Merge pull request #40110 from nextcloud/enh/a11y/add-group 2023-10-11 11:54:15 -07:00
Christoph Wurst ca33d6b01c fix(session): Log when crypto session data is lost
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-10-11 19:59:18 +02:00
Christopher Ng 4386803ae8 test(settings): Create and delete groups
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-10-11 10:39:54 -07:00
Christopher Ng 58569eb24e chore: compile assets
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-10-11 09:51:48 -07:00
Christopher Ng ef9f1e631d enh(settings): Move confirm group removal dialog to vue
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-10-11 09:51:48 -07:00
Christopher Ng 0fe1b402fa enh(settings): Add groups accessibly
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-10-11 09:51:48 -07:00
Pytal 827515d960 Merge pull request #40858 from nextcloud/fix/app-nav-caption 2023-10-11 09:46:36 -07:00
Arthur Schiwon cce8d0a7a5 fix(LDAP): solve race condition reading groups of disappeared LDAP user
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2023-10-11 15:35:10 +02:00
Arthur Schiwon d9cbe105a5 Merge pull request #40698 from nextcloud/Valdnet-patch-1
Correct typos and add quotation marks
2023-10-11 15:25:28 +02:00
Arthur Schiwon b848841e3d Merge pull request #40839 from nextcloud/fix/noid/ldap-group-config-di
Pass IConfig by constructor to Group_LDAP
2023-10-11 14:05:15 +02:00
Christoph Wurst ff672b11e2 feat: Add factory method for in-memory caches
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-10-11 13:37:22 +02:00
Joas Schilling 0a4fbaddc7 Fix version number in ITimeFactory after it was delayed
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-10-11 12:14:41 +02:00
Joas Schilling 91ebbe8003 fix(federation): Use sharing.federation.allowSelfSignedCertificates config for all OCM requests
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-10-11 11:52:10 +02:00
Christoph Wurst 04db454e9f Merge pull request #40861 from nextcloud/chore/unused-cache-factor-create-low-latency
chore: Drop unused \OC\Memcache\Factory::createLowLatency
2023-10-11 11:03:01 +02:00
Christoph Wurst fac05bce07 chore: Drop unused \OC\Memcache\Factory::createLowLatency
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-10-11 09:40:27 +02:00
Christoph Wurst 4f183bb604 fix(session): Log why session renewal failed
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-10-11 08:36:13 +02:00
Nextcloud bot bf1dbd33a7 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-10-11 00:28:10 +00:00
Valdnet be6c889414 Correct typos and add quotation marks
Corrects typos and unifies spelling for "occ" commands.

Signed-off-by: Valdnet <47037905+Valdnet@users.noreply.github.com>
2023-10-11 01:51:39 +02:00
Christopher Ng c50c583283 chore: compile assets
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-10-10 15:26:32 -07:00
Christopher Ng 1f6778c079 fix: Scope app nav caption styles
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-10-10 15:26:32 -07:00
Arthur Schiwon a149d4e6e3 Merge pull request #40843 from nextcloud/fix/noid/ocm-provider-on-subfolder
remove leading slash
2023-10-10 19:54:56 +02:00
dependabot[bot] 54a286f76d Merge pull request #40721 from nextcloud/dependabot/npm_and_yarn/jest/globals-29.7.0 2023-10-10 15:17:35 +00:00
dependabot[bot] 9d7807ffea Merge pull request #40595 from nextcloud/dependabot/github_actions/actions/checkout-4 2023-10-10 15:13:58 +00:00
John Molakvoæ 73f5d1d035 Merge pull request #40674 from nextcloud/feat/drop-folder 2023-10-10 16:57:32 +02:00
dependabot[bot] d3b658151d chore(deps-dev): Bump @jest/globals from 29.6.2 to 29.7.0
Bumps [@jest/globals](https://github.com/jestjs/jest/tree/HEAD/packages/jest-globals) from 29.6.2 to 29.7.0.
- [Release notes](https://github.com/jestjs/jest/releases)
- [Changelog](https://github.com/jestjs/jest/blob/main/CHANGELOG.md)
- [Commits](https://github.com/jestjs/jest/commits/v29.7.0/packages/jest-globals)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-10 13:56:26 +00:00
dependabot[bot] 130180c5cf chore(deps): Bump actions/checkout from 3 to 4
Bumps [actions/checkout](https://github.com/actions/checkout) from 3 to 4.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v3...8ade135a41bc03ea155e62e844d188df1ea18608)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-10 15:53:07 +02:00
John Molakvoæ 35aed73ede feat: allow external drop and add dropzone
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-10-10 15:28:52 +02:00
dependabot[bot] 052a637cc9 Merge pull request #40724 from nextcloud/dependabot/npm_and_yarn/workbox-webpack-plugin-7.0.0 2023-10-10 12:38:29 +00:00
John Molakvoæ 9de246d74f Merge pull request #40782 from nextcloud/fix/auth-ext-strg 2023-10-10 13:50:59 +02:00
Côme Chilliet 43971f6a5c Merge pull request #39756 from nextcloud/enh/add-disabled-users-endpoint
Add endpoint for getting disabled user list
2023-10-10 13:33:49 +02:00
dependabot[bot] 165dab3fa6 chore(deps-dev): Bump workbox-webpack-plugin from 6.6.0 to 7.0.0
Bumps [workbox-webpack-plugin](https://github.com/googlechrome/workbox) from 6.6.0 to 7.0.0.
- [Release notes](https://github.com/googlechrome/workbox/releases)
- [Commits](https://github.com/googlechrome/workbox/compare/v6.6.0...v7.0.0)

---
updated-dependencies:
- dependency-name: workbox-webpack-plugin
  dependency-type: direct:development
  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>
2023-10-10 11:14:30 +00:00
John Molakvoæ ae29608e46 fix(files_external): basic auth user storage trigger
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-10-10 12:07:48 +02:00
Ferdinand Thiessen 025cdb35cb Merge pull request #40722 from nextcloud/dependabot/npm_and_yarn/cypress-wait-until-2.0.1
chore(deps-dev): Bump cypress-wait-until from 1.7.2 to 2.0.1
2023-10-10 12:04:11 +02:00
dependabot[bot] 67f6eceb48 chore(deps-dev): Bump cypress-wait-until from 1.7.2 to 2.0.1
Bumps [cypress-wait-until](https://github.com/NoriSte/cypress-wait-until) from 1.7.2 to 2.0.1.
- [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/v2.0.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-10 09:32:22 +00:00
dependabot[bot] 20516a9a12 Merge pull request #40720 from nextcloud/dependabot/npm_and_yarn/cypress-and-nextcloud/cypress-13.3.0 2023-10-10 09:30:00 +00:00
Christoph Wurst 8c2b9b3036 Merge pull request #40785 from nextcloud/fix/user/log-logout-conditions
fix: Log critical session renewal and logout paths
2023-10-10 11:26:25 +02:00
Arthur Schiwon c1480aade4 refactor(LDAP): pass IConfig via constructor to Group_LDAP
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2023-10-10 11:18:57 +02:00
Côme Chilliet e51d20479e Check limit and offset parameters sent to controller
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-10-10 10:43:18 +02:00
Nextcloud bot e6d0105217 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-10-10 00:25:52 +00:00
Maxence Lange 9cd22dd949 remove leading slash
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2023-10-09 20:17:12 -01:00
Arthur Schiwon 039da6bd22 refactor(tests): simplify code, reduce duplication
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2023-10-09 21:58:32 +02:00
Arthur Schiwon 9e2d9d5df9 test(Group LDAP): add test for getting groups of OfflineUser
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2023-10-09 21:08:28 +02:00
Simon L c40ece338b Merge pull request #40804 from nextcloud/enh/40687/fix-button-text 2023-10-09 20:52:14 +02:00
F. E Noel Nfebe e1db6dc7c5 Merge pull request #40825 from nextcloud/40801-fix-mixed-translation-sharing
Fixed mixed translations in sharing details
2023-10-09 19:05:49 +01:00
Arthur Schiwon cb3faad5b5 fix(ldap): store last known user groups
- for LDAP user life cycle management

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2023-10-09 19:46:27 +02:00
Simon L 5acf6c68aa Merge pull request #40783 from nextcloud/enh/40710/adjust-focus-visible 2023-10-09 18:48:46 +02:00
fenn-cs 10675f7aac Fixed mixed translations in sharing details
Due to a typo in the app passed to the translation method, some
strings translations don't work.

This commit corrects the spelling `file_sharing` to `files_sharing` and
hence resolves : https://github.com/nextcloud/server/issues/40801

Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
2023-10-09 17:39:48 +01:00
Simon L 8799c6863d fix text on default background image button
Signed-off-by: Simon L <szaimen@e.mail.de>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-10-09 16:10:40 +00:00
Simon L 10c0c30ce2 adjust color of focus-visible to be better visible
Signed-off-by: Simon L <szaimen@e.mail.de>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-10-09 15:42:18 +00:00
Joas Schilling ab15cffa56 Merge pull request #33105 from nextcloud/feature/noid/talk-federation-auth
Talk federation authentication
2023-10-09 17:06:29 +02:00
Simon L 4fd0408088 Merge pull request #40784 from nextcloud/enh/39414/move-docs 2023-10-09 16:40:08 +02:00
Joas Schilling 7998afe8b3 Talk federation authentication
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-10-09 15:44:56 +02:00
Daniel 14ed18c265 Merge pull request #40181 from nextcloud/bugfix/noid/copy-all-source-files-in-cypress 2023-10-09 15:10:14 +02:00
Côme Chilliet afcebd1e92 Fix api description for Users#getDisabledUsers
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-10-09 14:50:12 +02:00
Côme Chilliet 2b7d01a619 Merge pull request #40829 from nextcloud/fix/fix-dynamic-property-in-core-tests
Fix Dynamic property timeFactory in ClientFlowLoginControllerTest
2023-10-09 14:48:24 +02:00
Christoph Wurst f398d0b5a3 fix: Log critical session renewal and logout paths
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-10-09 13:21:10 +02:00
Alexander Piskun 4e8ec0bc36 Merge pull request #40737 from nextcloud/cors-app_api
added CORS skip if the session was created by AppAPI
2023-10-09 13:40:29 +03:00
max-nextcloud 9e3dbbdcb5 Merge pull request #40770 from nextcloud/fix/cypress-on-branches
fix(cypress): empty group, tag and ci-build-id when not using cypress cloud
2023-10-09 12:33:34 +02:00
Côme Chilliet 61da2b97d0 Generated openapi.json
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-10-09 12:04:35 +02:00
Côme Chilliet cac3d465f0 Remove psalm @var annotations which should not be needed
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-10-09 12:04:35 +02:00
Côme Chilliet a1255539b8 Add endpoint for getting disabled user list
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-10-09 12:04:35 +02:00
Daniel Hansson 06efe9f211 Merge pull request #40731 from nextcloud/imaginary-performance
Generate all preview sizes for Imaginary
2023-10-09 11:54:03 +02:00
Max a6d2b20579 fix(cypress): runs on integration branches
Empty `group`, `tag` and `ci-build-id` when `record` is false.
When not using cypress cloud these need to be empty.

Note that cypress expects strings for group and tag.
Therefore `false` will be interpreted as `"false"`.
Use an empty string instead.

Signed-off-by: Max <max@nextcloud.com>
2023-10-09 11:49:21 +02:00
Côme Chilliet ee39a47e84 Fix Dynamic property timeFactory in ClientFlowLoginControllerTest
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-10-09 10:30:54 +02:00
Alexander Piskun 6ef3875e74 Merge branch 'master' into cors-app_api 2023-10-09 11:24:04 +03:00
Louis cad745b0d6 Merge pull request #40805 from nextcloud/dependabot/npm_and_yarn/types/dockerode-3.3.20
chore(deps-dev): Bump @types/dockerode from 3.3.19 to 3.3.20
2023-10-09 10:21:13 +02:00
Joas Schilling f84a93f435 Merge pull request #40472 from nextcloud/fix/aborted_pgsql_transaction_on_error
fix(twofactor): avoid DB error on Twofactor (en/dis)abled event
2023-10-09 09:04:24 +02:00
Joas Schilling ae54cc05aa fix(CI): Fix server setup in cypress by overwriting all files in shallow-server
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-10-09 08:40:12 +02:00
Daniel Hansson 6e171bbaf5 Merge branch 'master' into imaginary-performance 2023-10-09 07:29:58 +02:00
Nextcloud bot 6f722119f7 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-10-09 00:28:34 +00:00
Nextcloud bot 3008f7cadc Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-10-08 00:29:22 +00:00
Shreyash Kashyap 121d3d4c15 Update README.md
Signed-off-by: Shreyash Kashyap <76607993+SYK-08@users.noreply.github.com>
2023-10-07 13:12:53 +05:30
Grigorii K. Shartsev f2572ebece Merge pull request #40294 from nextcloud/fix/37087/new-comment-description
fix(comments): move new comment instructions placeholder to description
2023-10-07 12:01:33 +05:00
Grigorii K. Shartsev 0ce5a34afc chore(assets): Re-compile assets
Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
2023-10-07 08:45:53 +02:00
Grigorii K. Shartsev be8d9042b5 fix(comments): move new comment instructions placeholder to description
Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
2023-10-07 08:45:53 +02:00
dependabot[bot] 50a930fb17 chore(deps-dev): Bump @types/dockerode from 3.3.19 to 3.3.20
Bumps [@types/dockerode](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/dockerode) from 3.3.19 to 3.3.20.
- [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>
2023-10-07 01:25:09 +00:00
Pytal 597965145c Merge pull request #40692 from nextcloud/deps/nextcloud/vue-8.0.0-beta.7 2023-10-06 15:32:38 -07:00
Christopher Ng ca43254b93 fix(ci): Update dav snapshot
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-10-06 14:48:51 -07:00
Christopher Ng 4f1751f51c chore: compile assets
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-10-06 14:43:01 -07:00
Christopher Ng 744a7e291a fix(acceptance): Locate contacts menu button
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-10-06 14:40:33 -07:00
Christopher Ng 675feb9cf3 chore: Adapt to breaking DateTime rename
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-10-06 14:40:33 -07:00
Christopher Ng 44ddd918d1 chore: Bump @nextcloud/vue + @nextcloud/dialogs + @nextcloud/calendar-availability-vue
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-10-06 14:40:32 -07:00
Simon L 4ad5a18afb fix double heading
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-10-06 17:57:39 +02:00
Simon L e5b11ced4a address review
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-10-06 16:22:02 +02:00
Joas Schilling 71cd97c37f Merge pull request #38556 from nextcloud/techdebt/noid/doctrine/dbal-to-3.6.2
chore(deps): Bump doctrine/dbal to 3.7.x
2023-10-06 16:21:07 +02:00
Joas Schilling 570159e610 fix(DB): Update comment to state why we still use the max 4k limit
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-10-06 15:29:27 +02:00
Joas Schilling ccb01b19a0 fix(sqlite): Remove some old SQLite cheats
- Doctrine correctly forces integer for autoincrement by now
- Doctrine correctly maintains integer types by now

Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-10-06 15:29:27 +02:00
Joas Schilling f8ee6c4769 fix(oracle): Move away from internal and deprecated SchemaDiff API
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-10-06 15:29:26 +02:00
Joas Schilling 919207873e fix(dbal): Move migrator away from deprecated calls
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-10-06 15:29:26 +02:00
Joas Schilling 160298c556 fix(mysql): Remove custom MySQL workaround from 2015
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-10-06 15:29:25 +02:00
Joas Schilling b202b139dd fix(postgres): Remove old Postgres 9.4 workaround
Postgres 10 is the minimum in the meantime
and doctrine/dbal fixed this in 2.6.0 already
ref https://github.com/doctrine/dbal/pull/2614

Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-10-06 15:29:25 +02:00
Joas Schilling ad839dbb0a fix(sqlite): Remove no longer required autoincrement fix
- I installed current master and exported the schema as SQL
- Then I went to this branch, removed the content of the run() method (so made it no-op)
- I installed again and exported the schema as SQL
- The files are exactly the same, so whatever we tried to fix was fixed since 2015 in doctrine dbal

Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-10-06 15:29:25 +02:00
Joas Schilling 00acf1bae1 feat(CI): Add a stub for SensitiveParameter, so Psalm is not failing on Doctrine/DBAL
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-10-06 15:29:24 +02:00
Joas Schilling c4ed7f9d21 fix(dbal): Doctrine\DBAL\Connection::PARAM_* types are deprecated
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-10-06 15:29:24 +02:00
Joas Schilling 18d672c38f chore(deps): Bump doctrine/dbal to supported 3.7.0
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-10-06 15:29:23 +02:00
Alexander Piskun 0b8a3b578d fixed Drone test
Signed-off-by: Alexander Piskun <bigcat88@icloud.com>
2023-10-06 13:46:37 +03:00
Benjamin Gaussorgues 4361019f2f fix(twofactor): avoid error in pgsql for duplicate entry
Signed-off-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
2023-10-06 11:23:23 +02:00
Matthieu Gallien d061e05b08 Merge pull request #40563 from nextcloud/updateCrl
Update crl after revoke mfazones.csr
2023-10-06 09:57:52 +02:00
Christoph Wurst 0e58d4a52f Merge pull request #40795 from nextcloud/fix/user/log-app-token-login-name-mismatch-user
fix(user): Log affected user of app token login name mismatch
2023-10-06 09:57:18 +02:00
Matthieu Gallien 74089f9d11 Update crl after revoke mfazones.csr
Signed-off-by: Matthieu Gallien <matthieu.gallien@nextcloud.com>
2023-10-06 09:35:58 +02:00
Christoph Wurst 83a30dfbdf fix(user): Log affected user of app token login name mismatch
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-10-06 08:51:50 +02:00
Pytal 649990ee8b Merge pull request #40719 from nextcloud/enh/a11y/semantic-user-table 2023-10-05 17:31:08 -07:00
Nextcloud bot 4016c7a1be Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-10-06 00:26:17 +00:00
Christopher Ng 091b3e0586 fix(cypress): User table create/delete tests
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-10-05 16:52:37 -07:00
Christopher Ng 95a7925dc9 fix(cypress): User table disable/enable tests
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-10-05 16:52:37 -07:00
Christopher Ng 37fa4efdae fix(cypress): User table modify tests
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-10-05 16:52:37 -07:00
Christopher Ng 8a31efb644 fix(cypress): User table column tests
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-10-05 16:52:37 -07:00
Christopher Ng 14cb7b926c chore: compile assets
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-10-05 16:52:37 -07:00
Christopher Ng d655f2a3b9 enh(settings): Semantic user table markup
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-10-05 16:49:24 -07:00
Simon L 6439fdf5b6 Move inline docs to online documentation
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-10-05 15:42:47 +02:00
Julien Veyssier b4fec29e8e Merge pull request #40766 from nextcloud/enh/noid/oauth2-code-expiration
Make OAuth2 authorization code expire
2023-10-05 15:16:02 +02:00
Julien Veyssier d56950a6c9 adjust phpdoc types in OauthApiController
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
2023-10-05 14:24:03 +02:00
Julien Veyssier 98c8a465b0 update OpenAPI specs
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
2023-10-05 14:24:03 +02:00
Julien Veyssier da63d3c27b update autoload files
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
2023-10-05 14:24:02 +02:00
Julien Veyssier d2bc483adf adjust oauth app
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
2023-10-05 14:24:02 +02:00
Julien Veyssier 32f984c520 adjust oauth tests
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
2023-10-05 14:24:02 +02:00
Julien Veyssier c6da99474e rename oauth2_access_token's created_at to code_created_at
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
2023-10-05 14:24:02 +02:00
Julien Veyssier e944980eb6 add db index on oauth2_access_tokens's (token_count, created_at)
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
2023-10-05 14:24:02 +02:00
Julien Veyssier ddfc124767 add test for refusing to get an oauth token from a code when we're not in authorization state
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
2023-10-05 14:24:02 +02:00
Julien Veyssier 779e1d51ac delete oauth access token when receiving a code that has expired
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
2023-10-05 14:24:02 +02:00
Julien Veyssier 1ab45bad5d refuse oauth authorization code if a token has already been delivered (active token)
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
2023-10-05 14:24:02 +02:00
Julien Veyssier 7bba410997 cleanup access tokens that are still in authorization state and that have expired
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
2023-10-05 14:24:02 +02:00
Julien Veyssier 2995b0948f add tests for oauth2 authorization code expiration
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
2023-10-05 14:24:02 +02:00
Julien Veyssier 807f173dec make oauth2 authorization code expire after 10 minutes
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
2023-10-05 14:24:02 +02:00
Christoph Wurst f3f2d9b978 Merge pull request #40764 from nextcloud/chore/eslint-no-external-apps
chore: Do not lint external apps
2023-10-05 10:38:53 +02:00
Arthur Schiwon 6200c914a3 Merge pull request #40745 from nextcloud/fix/noid/ocm-provider-rewrite-rules
fix ocm-provider rewrite rules
2023-10-05 10:24:02 +02:00
Nextcloud bot a309d26687 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-10-05 00:40:35 +00:00
Pytal ce1c9730dd Merge pull request #40771 from nextcloud/fix/37098/migrate-to-nc-icon-svg-wrapper 2023-10-04 17:15:23 -07:00
Ferdinand Thiessen a3657edb19 Merge pull request #40768 from nextcloud/fix/37098/dashboard-duplicated-ids
fix(dashboard): remove duplicated IDs on the dashboard page
2023-10-04 23:52:57 +02:00
Grigorii K. Shartsev 5d33380178 chore(assets): Recompile assets
Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
2023-10-04 20:24:55 +02:00
Grigorii K. Shartsev 8cc21f50c1 fix(files): migrate from CustomSvgIconrenderer to NcIconSvgWrapper
Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
2023-10-04 20:24:54 +02:00
Julia Kirschenheuter 7641af5a5b Merge pull request #40662 from nextcloud/fix-37080_correct_aria_label_text_on_action_inputs
Correct `aria-label` on action input and text field
2023-10-04 18:14:06 +02:00
nextcloud-command e1bda0ad8f chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-10-04 15:29:21 +00:00
John Molakvoæ ff9be6b20a Merge pull request #40515 from nextcloud/fix/redirect-if-wrong-dir 2023-10-04 16:37:25 +02:00
Grigorii K. Shartsev 9ffd5a3402 chore: build assets
Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
2023-10-04 16:22:51 +02:00
Grigorii K. Shartsev c4684c8ec5 fix(dashboard): remove duplicated IDs
Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
2023-10-04 16:19:38 +02:00
julia.kirschenheuter 1431b0dd27 Correct aria-label on action input and text field
Signed-off-by: julia.kirschenheuter <julia.kirschenheuter@nextcloud.com>
2023-10-04 14:28:28 +02:00
Daniel Hansson 9cc0117c18 Merge branch 'master' into imaginary-performance 2023-10-04 13:25:40 +02:00
John Molakvoæ (skjnldsv) b05719c8e9 fix: redirect to proper directory if file not found
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2023-10-04 11:29:05 +02:00
John Molakvoæ 529bce24b4 Merge pull request #40585 from nextcloud/fix/illegal-characters 2023-10-04 11:27:35 +02:00
John Molakvoæ (skjnldsv) dbeb526bba fix(files): disallow illegal characters
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2023-10-04 11:12:44 +02:00
Daniel Hansson d8e8e73c02 Merge branch 'master' into imaginary-performance 2023-10-04 11:00:47 +02:00
Joas Schilling c88b02abff Merge pull request #40660 from nextcloud/bugfix/noid/fix-missing-user-status-on-autocomplete-api
fix(autocomplete): Fix missing user status on autocomplete endpoint
2023-10-04 10:12:14 +02:00
John Molakvoæ 4756807f2e Merge pull request #40439 from Koc/feature/clickable-logo 2023-10-04 08:49:25 +02:00
John Molakvoæ 3f725824b1 Merge pull request #40756 from nextcloud/fix/encoded-source 2023-10-04 08:48:48 +02:00
John Molakvoæ d591510253 fix(files): legacy humanFileSize tests
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-10-04 08:44:57 +02:00
Christoph Wurst 837b296288 chore: Do not lint external apps
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-10-04 07:30:30 +02:00
Nextcloud bot cf6e9a19c4 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-10-04 00:26:58 +00:00
Konstantin Myakshin 41370350f2 Make logo in header clickable in the shared file view
Signed-off-by: Konstantin Myakshin <molodchick@gmail.com>
2023-10-04 00:36:10 +03:00
John Molakvoæ d79e26b25a fix(files): encoded source path on actions requests
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-10-03 18:11:03 +02:00
Maxence Lange a250250985 Update .htaccess
Co-authored-by: Benjamin Gaussorgues <benjamin.gaussorgues@nextcloud.com>
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2023-10-03 14:19:44 -01:00
Julien Veyssier 8f30f97642 Merge pull request #40752 from nextcloud/enh/40654/share-creation-loading-feedback
Show loading icon in 'save share' button when creating a share
2023-10-03 15:31:45 +02:00
Julien Veyssier 217a2a114d compile assets
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-10-03 12:32:28 +00:00
Julien Veyssier 03cb99aff3 show loading icon in 'save share' button when creating a share
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
2023-10-03 13:55:02 +02:00
Christoph Wurst fdb7fe25bf Merge pull request #39114 from fsamapoor/refactor_lib_private_collaboration_part2
[2/2] Refactors lib/private/Collaboration
2023-10-03 13:47:18 +02:00
Louis cc1da88547 Merge pull request #40751 from nextcloud/dependabot/npm_and_yarn/core-js-3.33.0
chore(deps): Bump core-js from 3.32.0 to 3.33.0
2023-10-03 11:19:24 +02:00
dependabot[bot] 0316048271 chore(deps): Bump core-js from 3.32.0 to 3.33.0
Bumps [core-js](https://github.com/zloirock/core-js/tree/HEAD/packages/core-js) from 3.32.0 to 3.33.0.
- [Release notes](https://github.com/zloirock/core-js/releases)
- [Changelog](https://github.com/zloirock/core-js/blob/master/CHANGELOG.md)
- [Commits](https://github.com/zloirock/core-js/commits/v3.33.0/packages/core-js)

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

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-10-03 08:55:09 +00:00
John Molakvoæ bdf1bfb954 Merge pull request #40748 from nextcloud/chore/remove-nextcloud-vue-dashboard 2023-10-03 10:23:30 +02:00
Faraz Samapoor a304ba5b5a Refactors lib/private/Collaboration.
Mainly using PHP8's constructor property promotion.

Signed-off-by: Faraz Samapoor <f.samapoor@gmail.com>
2023-10-03 09:17:10 +03:30
Nextcloud bot 4d227c195f Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-10-03 00:26:05 +00:00
F. E Noel Nfebe 8c2ff08fb7 Merge pull request #40629 from nextcloud/40438-sharing-cleanup
Updates to new sharing flow
2023-10-02 19:26:53 +01:00
Grigorii K. Shartsev d9c9b12d22 chore(deps): remove @nextcloud/vue-dashboard
Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
2023-10-02 19:04:42 +02:00
Maxence Lange 39c39a0f60 fix ocm-provider rewrite rules
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2023-10-02 14:38:10 -01:00
Christoph Wurst cd1d980fbd Merge pull request #40678 from nextcloud/chore/phpunit-vendor-bin
chore: Install phpunit via vendor bin
2023-10-02 15:30:54 +02:00
fenn-cs 0537bbd331 Correct check for enabled expiration date
The default expiration date cannot be enforced if it is not enabled
in the first place. Hence, the check for whether a share has an expiration date
should not consider enforcements but only where the share expiry type is enabled.

For example : Using `this.config.isDefaultExpireDateEnabled` instead of
`this.config.isDefaultExpireDateEnforced` which can be verified by checking `isExpiryDateEnforced`.

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

Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-10-02 11:29:04 +00:00
fenn-cs a092bae720 Updates to sharing flow
- Show enforced expiry date for new shares.
- Improve quick share dropdown visibility in dark mode.
- Prevent expiry date from showing expire for incoming shares.
by updating the check for `share.passwordExpirationTime` to equally
check for `undefined`.
- Move "Download permission/attribute" from custom setting (as it is just
another advanced setting and not an actual permission).
- Show correct text for upload/editing when "allow public uploads" is enabled
or disabled by admin.

Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
2023-10-02 11:59:10 +01:00
max-nextcloud 5ddffcb7b4 Merge pull request #40736 from nextcloud/test/cypress-record-in-prs-only
test(cypress): only use the cypress cloud on pull requests
2023-10-02 12:56:01 +02:00
Louis 09d0ae1308 Merge pull request #40738 from nextcloud/fix/remove-uneeded-class_app_navigation_caption
Remove unneeded class
2023-10-02 11:45:04 +02:00
Christoph Wurst 0e64ec6550 chore: Install phpunit via vendor bin
This means we can all run the same version. And when switching to
stableX it can pull the corresponding version too. Also local dev envs
and CI run the same phpunit.

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-10-02 11:33:14 +02:00
Christoph Wurst 0cb489d6ca Merge pull request #40656 from nextcloud/feat/backgroundjob/schedule-job-after
feat(backgroundjob): Schedule job after <timestamp>
2023-10-02 11:30:21 +02:00
Max 716d1a2d76 test(cypress): only use the cypress cloud on pull requests
* Disable recording on integration branches.
* No parallelization on integration branches.

This will still run the cypress tests - but a bit slower and without recordings.

The matrix syntax to enable this is somewhat hard to parse.
In case of a PR the matrix will contain one entry for use-cypress-cloud
with the value `true`. Otherwise it will have one entry `false`.

This way we can exclude containers for the case without the cypress cloud.

Signed-off-by: Max <max@nextcloud.com>
2023-10-02 11:14:23 +02:00
Daniel Hansson 2792c9e4ce Merge branch 'master' into imaginary-performance 2023-10-02 10:55:09 +02:00
Daniel Hansson da2aad598e also remove function
Signed-off-by: Daniel Hansson <mailto@danielhansson.nu>
2023-10-02 10:54:36 +02:00
julia.kirschenheuter 5d9abce58c Remove unneeded class
Signed-off-by: julia.kirschenheuter <julia.kirschenheuter@nextcloud.com>
2023-10-02 10:32:04 +02:00
Alexander Piskun f16c9f42c6 added CORS skip if session was created by AppAPI
Signed-off-by: Alexander Piskun <bigcat88@icloud.com>
2023-10-02 11:08:21 +03:00
Côme Chilliet 9ebcd287ef Merge pull request #37201 from AaronDewes/fix/ldap-filter-generation
Fix: Escape group names for LDAP
2023-10-02 09:49:22 +02:00
Nextcloud bot 3622af9b43 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-10-02 00:25:52 +00:00
Daniel 676bee16eb Merge pull request #40734 from nextcloud/debt/noid/align-param-name 2023-10-01 12:16:33 +02:00
Nextcloud bot 645002a1be Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-10-01 00:26:09 +00:00
Daniel 83cbd9c307 Merge pull request #40630 from nextcloud/enh/enable-php-8.3 2023-10-01 00:20:16 +02:00
Daniel Kesselberg 7e0ed6b636 ci: clear disable_functions to enable pcntl_signal
When using ini-file development then disable_functions forbids pcntl_signal by default.

Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2023-09-30 22:52:57 +02:00
Côme Chilliet 5586f2d4c4 Use latest shivammathur/setup-php in phpunit-32bits.yml
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-09-30 22:52:57 +02:00
Côme Chilliet e20ba1cab1 Add 8.3 to lint CI and 32bits test suite
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-09-30 22:52:57 +02:00
Côme Chilliet 796bf329b6 Adding ini-file:development to 32bit CI
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-09-30 22:52:57 +02:00
Côme Chilliet 1daa881b03 Allow PHP 8.3 in version check
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-09-30 22:52:57 +02:00
Daniel Kesselberg 19ec0ee81b chore: rename serializedClosure to argument to align with parent class
To make psalm happy ;)

Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2023-09-30 22:46:32 +02:00
Daniel ee590ab5a9 Merge pull request #40709 from nextcloud/fix/ldap-profile-pic-resolution-master 2023-09-30 22:43:11 +02:00
Daniel Hansson b2d105e7ec Generate all preview sizes for Imaginary
A follow up on https://github.com/nextcloud/server/pull/40670

Based on discussions here: https://github.com/nextcloud/server/issues/38911#issuecomment-1741819188

This fixes the case were not all previews are generated, for example in the activity view: https://github.com/nextcloud/server/issues/38911#issuecomment-1738886106



Signed-off-by: Daniel Hansson <mailto@danielhansson.nu>
2023-09-30 20:08:35 +02:00
dependabot[bot] d4d48f7c1b chore(deps-dev): Bump cypress and @nextcloud/cypress
Bumps [cypress](https://github.com/cypress-io/cypress) and [@nextcloud/cypress](https://github.com/nextcloud/nextcloud-cypress). These dependencies needed to be updated together.

Updates `cypress` from 12.17.4 to 13.3.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/v12.17.4...v13.3.0)

Updates `@nextcloud/cypress` from 1.0.0-beta.2 to 1.0.0-beta.6
- [Release notes](https://github.com/nextcloud/nextcloud-cypress/releases)
- [Commits](https://github.com/nextcloud/nextcloud-cypress/compare/v1.0.0-beta.2...v1.0.0-beta.6)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-09-30 01:22:51 +00:00
Nextcloud bot d215d80916 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-09-30 00:25:53 +00:00
Christoph Wurst 94430ed3de Merge pull request #40564 from nextcloud/fix/userstatus/message-timestamp
fix(userstatus): Track message timestamp too
2023-09-29 19:51:54 +02:00
Joas Schilling 3c0c1cbf6e Merge pull request #40714 from nextcloud/bugfix/noid/sensitive-onlyoffice
fix(systemreport): Mask onlyoffice secret as sensitive
2023-09-29 17:31:28 +02:00
Joas Schilling 6c0b862e75 fix(systemreport): Mask onlyoffice secret as sensitive
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-09-29 16:36:19 +02:00
Marcel Klehr 7f5b61c66d Update apps/user_ldap/lib/User/User.php
Co-authored-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-09-29 13:48:06 +02:00
Marcel Klehr 66f6e94d7d LDAP: Increase profile picture limit to 512
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-09-29 12:47:48 +02:00
Christoph Wurst 04ecc2a6a9 feat(backgroundjob): Schedule job after <timestamp>
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-09-29 10:29:40 +02:00
Christoph Wurst fbdf733be0 fix(userstatus): Track message timestamp too
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-09-29 09:55:19 +02:00
Julia Kirschenheuter f8f437072a Merge pull request #40576 from nextcloud/fix/36915-_The_page_only_has_one_h1_heading
Split list to navigation for the left sidebar
2023-09-29 08:38:14 +02:00
Christoph Wurst cfda046260 Merge pull request #40644 from nextcloud/fix/noid/encode-uri-trashbin-restore-files-delete-favorite
fix: encode uri for delete, restore and favorite
2023-09-29 08:29:02 +02:00
F. E Noel Nfebe db6a53b0a1 Merge pull request #39224 from shdehnavi/null_coalescing_conversion_lib_private
Convert isset ternary to null coalescing operator
2023-09-29 02:20:12 +01:00
Nextcloud bot 703f20b5bc Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-09-29 00:25:29 +00:00
Daniel Kesselberg 4f7032475e fix: encode uri for delete, restore and favorite
To encode # and other characters properly

Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2023-09-28 20:36:22 +02:00
julia.kirschenheuter 5693092053 Split list to navigation for the left sidebar
Signed-off-by: julia.kirschenheuter <julia.kirschenheuter@nextcloud.com>
2023-09-28 18:18:40 +02:00
Christoph Wurst f174e4a057 Merge pull request #40675 from nextcloud/fix/unifiedsearch/search-0
fix(unifiedsearch): Allow searching for "0"
2023-09-28 17:18:37 +02:00
John Molakvoæ 2080d9d953 Merge pull request #40677 from nextcloud/fix/wcag-files 2023-09-28 17:05:17 +02:00
Hamid Dehnavi ea06cf2f39 Convert isset ternary to null coalescing operator
Signed-off-by: Hamid Dehnavi <hamid.dev.pro@gmail.com>
2023-09-28 17:44:19 +03:30
John Molakvoæ 87ef6e47f2 fix(files): pass WCAG AA for hover rows
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-09-28 13:55:01 +00:00
Louis 45cac16432 Merge pull request #39131 from fsamapoor/refactor_lib_files_external_commands
Refactors files_external app commands
2023-09-28 14:39:49 +02:00
Joas Schilling a7018bc5e8 fix(autocomplete): Fix missing user status on autocomplete endpoint
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-09-28 14:02:18 +02:00
F. E Noel Nfebe c5293bb9db Merge pull request #40430 from nextcloud/enh/a11y/share-note-label
enh(a11y): Add label to share note textbox
2023-09-28 12:54:08 +01:00
Christoph Wurst 1a1514e296 Merge pull request #39225 from shdehnavi/null_coalescing_conversion_apps
Convert isset ternary to null coalescing operator
2023-09-28 11:39:23 +02:00
John Molakvoæ cdd07904de Merge pull request #40583 from nextcloud/feat/button-mtime 2023-09-28 10:56:51 +02:00
Côme Chilliet c9ed1e981b Merge pull request #40617 from nextcloud/enh/allow-user-to-set-apporder
Read apporder from configuration value
2023-09-28 10:55:52 +02:00
Christoph Wurst dbd666e82b fix(unifiedsearch): Allow searching for "0"
empty("0") evaluates to true

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-09-28 10:53:07 +02:00
Hamid Dehnavi d64bbc8bd3 Convert isset ternary to null coalescing operator
Signed-off-by: Hamid Dehnavi <hamid.dev.pro@gmail.com>
2023-09-28 12:18:41 +03:30
Côme Chilliet 99e287b49a Merge pull request #39011 from fsamapoor/refactor_lib_private_security_part1
[1/3] Refactors lib/private/Security
2023-09-28 10:38:38 +02:00
John Molakvoæ 456aea8042 Merge pull request #39236 from shdehnavi/refactor_comments_app 2023-09-28 09:27:12 +02:00
Côme Chilliet 8049702413 Fix behavior when defaultapp is empty
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-09-28 09:22:54 +02:00
Hamid Dehnavi 92b75bc798 Make adjustments based on the review
Co-authored-by: Joas Schilling <coding@schilljs.com>
Signed-off-by: Hamid Dehnavi <hamid.dev.pro@gmail.com>
2023-09-28 09:16:03 +03:30
Hamid Dehnavi 878288004e Refactor comments app
Signed-off-by: Hamid Dehnavi <hamid.dev.pro@gmail.com>
2023-09-28 09:16:03 +03:30
Faraz Samapoor eab7818f0e Adds parameter type hints.
Co-authored-by: Côme Chilliet <come.chilliet@nextcloud.com>
Signed-off-by: Faraz Samapoor <fsa@adlas.at>
Signed-off-by: Faraz Samapoor <f.samapoor@gmail.com>
2023-09-28 09:02:10 +03:30
Faraz Samapoor 32838d8f0a Refactors files_external app commands.
To improve code readability.

Signed-off-by: Faraz Samapoor <fsa@adlas.at>
Signed-off-by: Faraz Samapoor <f.samapoor@gmail.com>
2023-09-28 09:02:10 +03:30
Christopher Ng 39adf3a4ab chore: compile assets
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-09-27 17:39:38 -07:00
Christopher Ng eacde86693 enh(a11y): Add label to share note textbox
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-09-27 17:39:38 -07:00
Nextcloud bot c2e4a7be92 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-09-28 00:27:56 +00:00
Christoph Wurst bcda3314ed Merge pull request #39213 from shdehnavi/replace_strpos_and_substr_calls_in_federatedfilesharing_app
Refactor "strpos" and "substr" calls in federatedfilesharing app to improve code readability
2023-09-27 20:32:19 +02:00
Christoph Wurst dd3cd29224 Merge pull request #39175 from shdehnavi/settings_app_users_controller_square_bracket_syntax
use square bracket syntax to modify array
2023-09-27 20:31:11 +02:00
Hamid Dehnavi 11447334e5 Refactors "strpos" and "substr" calls to improve code readability
Signed-off-by: Hamid Dehnavi <hamid.dev.pro@gmail.com>
2023-09-27 20:37:51 +03:30
Joas Schilling f934d23cf2 Merge pull request #40651 from nextcloud/refactor/dbal-connection-query-execute-query
refactor: Use DBAL's executeQuery instead of query (deprecated)
2023-09-27 14:40:15 +02:00
Kate 69a050991b Merge pull request #40649 from nextcloud/fix/openapi/ocs-apirequest-header
Fix OCS-APIRequest header for OpenAPI
2023-09-27 11:29:35 +02:00
Christoph Wurst 6b90ab1953 refactor: Use DBAL's executeQuery instead of query (deprecated)
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-09-27 10:43:42 +02:00
John Molakvoæ (skjnldsv) 25e500bbf4 feat(files): properly format buttons, align mtime to the left and apply opacity based on file last modification
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2023-09-27 10:39:33 +02:00
jld3103 d7926807ea Fix OCS-APIRequest header for OpenAPI
Signed-off-by: jld3103 <jld3103yt@gmail.com>
2023-09-27 10:22:20 +02:00
Kate f134244c90 Merge pull request #40502 from nextcloud/fix/openapi/single-status-descriptions
Add single status code descriptions for OpenAPI
2023-09-27 09:18:25 +02:00
John Molakvoæ 6fb5f97abc Merge pull request #40604 from nextcloud/fix/dnd/open-fileid 2023-09-27 08:53:04 +02:00
John Molakvoæ 5dcefad91f Merge pull request #40065 from nextcloud/bugfix/files/navigation-api 2023-09-27 08:33:34 +02:00
Christoph Wurst 0a20b5de74 Merge pull request #36742 from fsamapoor/patch-1
Refactors tests/app.php to improve code readability.
2023-09-27 08:32:29 +02:00
John Molakvoæ 8e9e222105 fix(files): open folder fileid while navigating without opening the sidebar
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-09-27 08:29:50 +02:00
jld3103 c2d45cb172 Add single status code descriptions for OpenAPI
Signed-off-by: jld3103 <jld3103yt@gmail.com>
2023-09-27 08:05:21 +02:00
Faraz Samapoor c322224650 Refactors tests/app.php to improve readaibility.
Signed-off-by: Faraz Samapoor <f.samapoor@gmail.com>
2023-09-27 09:10:47 +03:30
Faraz Samapoor f313ca92e7 Refactors lib/private/Security.
Mainly using PHP8's constructor property promotion.

Signed-off-by: Faraz Samapoor <fsa@adlas.at>
2023-09-27 09:03:15 +03:30
Nextcloud bot 912b18b1fc Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-09-27 00:26:53 +00:00
nextcloud-command 360ae111d8 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-09-26 19:47:57 +00:00
Max 27bcef72e0 fix(files): use OC.Files.getClient()
`OCA.Files.App.fileList` is not initiated anymore.

Signed-off-by: Max <max@nextcloud.com>
2023-09-26 21:37:45 +02:00
Max 7ba6409270 fix(files): do not include scripts for merge-index
Signed-off-by: Max <max@nextcloud.com>
2023-09-26 21:37:45 +02:00
John Molakvoæ d395fa862b Merge pull request #39998 from nextcloud/feat/f2v/dnd 2023-09-26 20:33:11 +02:00
John Molakvoæ (skjnldsv) e3b2af4d9c fix(files): preview loading
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2023-09-26 20:22:10 +02:00
John Molakvoæ f9d2e3af0c feat(files): add move or copy action
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-09-26 20:15:59 +02:00
John Molakvoæ 16094c7db5 feat(files): add drag and drop support
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-09-26 20:15:59 +02:00
John Molakvoæ 4621198744 feat(files): add folder icon overlay
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-09-26 20:15:59 +02:00
Christoph Wurst 09a9c3ca3d Merge pull request #40639 from nextcloud/chore/drop-vendored-composer
chore: Drop vendored Composer v2.4.1
2023-09-26 19:41:59 +02:00
Côme Chilliet 740b38be2b Merge pull request #39108 from fsamapoor/refactor_lib_private_lock
Refactors lib/private/Lock
2023-09-26 16:58:37 +02:00
Côme Chilliet b11eb9e6d6 Fix and extend NavigationManagerTest.php
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-09-26 16:21:22 +02:00
Christoph Wurst 91959c99c1 Merge pull request #40614 from nextcloud/fix/userstatus/migration-version-number
fix(userstatus): Sync migration version number with app version
2023-09-26 15:46:48 +02:00
Arthur Schiwon 2397e835e6 Merge pull request #40584 from nextcloud/fix/correct-37082-replace_input_on_security_page
Correct value for device name input field
2023-09-26 15:16:04 +02:00
Côme Chilliet 2d28e8110f Fix and extend tests for AppManager::getDefaultAppForUser
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-09-26 14:59:05 +02:00
Côme Chilliet a4a3d94f05 Default to first application if no default app is set
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-09-26 14:40:14 +02:00
Côme Chilliet 6083d32a80 Revert "Support admin default order for applications"
This reverts commit a3a42591e2.

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-09-26 14:22:57 +02:00
Louis e08fc29c44 Merge pull request #40619 from nextcloud/artonge/fix/l10n_id_in_files_versions
Use proper app id in Version.vue
2023-09-26 14:15:45 +02:00
Christoph Wurst be902d644d chore: Drop vendored Composer v2.4.1
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-09-26 13:18:38 +02:00
Christoph Wurst cf3fadc707 fix(userstatus): Sync migration version number with app version
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-09-26 13:11:32 +02:00
Côme Chilliet 3a56ecc8cb Merge pull request #40565 from nextcloud/fix/remove-writelog
Remove deprecated methods Util::writeLog and DIContainer::log
2023-09-26 12:09:21 +02:00
Julia Kirschenheuter f18e73137c Merge pull request #40613 from nextcloud/fix/36966-remove_unneeded_opacity_for_action_button
Remove unneeded opacity for action button
2023-09-26 10:20:39 +02:00
Côme Chilliet 7be31d4d68 Merge pull request #40541 from nextcloud/fix/dav/expand-recurrences-in-search
fix(dav): expand recurrences when searching
2023-09-26 09:47:53 +02:00
Faraz Samapoor 40d9349a2d Refactors lib/private/Lock.
To improve code readability.

Co-authored-by: Côme Chilliet <91878298+come-nc@users.noreply.github.com>
Signed-off-by: Faraz Samapoor <f.samapoor@gmail.com>
Signed-off-by: Faraz Samapoor <fsa@adlas.at>
2023-09-26 10:48:17 +03:30
Joas Schilling d5a8a97c07 Merge pull request #40622 from nextcloud/bugfix/40410/ignore-default-source.svg-from-optimization
fix(build): Ignore `default-source.svg` from image optimization
2023-09-26 09:14:28 +02:00
F. E Noel Nfebe 09b1c85245 Merge pull request #40533 from nextcloud/40493-auto-suggest-password
Auto set password for new email shares
2023-09-26 08:05:17 +01:00
Joas Schilling 23a2e3424b Merge pull request #40620 from nextcloud/feat/noid/ocp-for-phonenumber-util
feat(phonenumber): Add OCP wrapper for PhoneNumber utils library
2023-09-26 08:59:43 +02:00
fenn-cs a3613350f6 Auto set password for new email shares
Suggest auto generated password for new public share (mail share).

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

Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-09-26 06:06:27 +00:00
Nextcloud bot 2288e8e571 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-09-26 00:28:08 +00:00
dependabot[bot] c10b2ad631 Merge pull request #40496 from nextcloud/dependabot/npm_and_yarn/vue/vue2-jest-29.2.6 2023-09-25 16:21:07 +00:00
Joas Schilling 3b4c306860 fix(phonenumber): Improve docs by adding input details
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-09-25 17:32:47 +02:00
julia.kirschenheuter c401b048cc Correct value for device name input field
Signed-off-by: julia.kirschenheuter <julia.kirschenheuter@nextcloud.com>
2023-09-25 17:11:50 +02:00
dependabot[bot] 80ff909a30 chore(deps-dev): Bump @vue/vue2-jest from 29.2.4 to 29.2.6
Bumps [@vue/vue2-jest](https://github.com/vuejs/vue-jest) from 29.2.4 to 29.2.6.
- [Release notes](https://github.com/vuejs/vue-jest/releases)
- [Commits](https://github.com/vuejs/vue-jest/compare/v29.2.4...v29.2.6)

---
updated-dependencies:
- dependency-name: "@vue/vue2-jest"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-09-25 14:45:14 +00:00
Louis 5821f884e8 Merge pull request #39835 from nextcloud/dependabot/npm_and_yarn/vue/vue2-jest-29.2.5
chore(deps-dev): Bump @vue/vue2-jest from 29.2.4 to 29.2.5
2023-09-25 16:44:04 +02:00
julia.kirschenheuter 33c022b875 Remove unneeded opacity for action button
Signed-off-by: julia.kirschenheuter <julia.kirschenheuter@nextcloud.com>
2023-09-25 16:42:55 +02:00
Joas Schilling 625d9bd47c fix(build): Ignore default-source.svg from image optimization
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-09-25 16:40:03 +02:00
Côme Chilliet dc347b39c1 Merge pull request #40501 from nextcloud/fix/fix-int-size-in-files-scanner
Store size in int|float for 32bit support
2023-09-25 16:32:32 +02:00
Joas Schilling abeebd2f94 Merge pull request #40562 from nextcloud/style/config-php-space-indent
style: Fix editorconfig indent for config/*config.php
2023-09-25 16:26:40 +02:00
Joas Schilling 0956b493b6 fix(phonenumber): Use the newly introduced API to limit 3rdparty lib usage
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-09-25 15:54:21 +02:00
Côme Chilliet a3a42591e2 Support admin default order for applications
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-09-25 15:43:04 +02:00
Louis Chemineau 33d0adf96c Compile assets
Signed-off-by: Louis Chemineau <louis@chmn.me>
2023-09-25 15:37:02 +02:00
Joas Schilling 5092278b0f feat(phonenumber): Add OCP wrapper for PhoneNumber utils library
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-09-25 15:33:09 +02:00
Louis Chemineau 58bb9820e5 Use proper app id in Version.vue
Signed-off-by: Louis Chemineau <louis@chmn.me>
2023-09-25 15:23:00 +02:00
dependabot[bot] da4d5c3a22 chore(deps-dev): Bump @vue/vue2-jest from 29.2.4 to 29.2.5
Bumps [@vue/vue2-jest](https://github.com/vuejs/vue-jest) from 29.2.4 to 29.2.5.
- [Release notes](https://github.com/vuejs/vue-jest/releases)
- [Commits](https://github.com/vuejs/vue-jest/compare/v29.2.4...v29.2.5)

---
updated-dependencies:
- dependency-name: "@vue/vue2-jest"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-09-25 15:19:34 +02:00
Côme Chilliet ac19ba9c66 Read apporder from configuration value
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-09-25 15:02:23 +02:00
Côme Chilliet bbfa9d1440 Merge pull request #40505 from nextcloud/chore/noid/remove-opis-closure
chore(3rdparty): remove opis/closure
2023-09-25 11:03:10 +02:00
Côme Chilliet f68d4f7300 Remove deprecated methods Util::writeLog and DIContainer::log
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-09-25 10:37:12 +02:00
Julia Kirschenheuter 8a65cf44cb Merge pull request #40552 from nextcloud/fix/37082-add_label_for_input_fields
Add labels for input fields
2023-09-25 09:34:48 +02:00
Nextcloud bot 4ed4ffa4c9 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-09-25 00:29:47 +00:00
Ferdinand Thiessen 6fc656470e Merge pull request #40598 from nextcloud/dependabot/npm_and_yarn/marked-9.0.3
chore(deps): Bump marked from 7.0.3 to 9.0.3
2023-09-24 23:36:38 +02:00
Ferdinand Thiessen 17006cb56c chore: Compile assets
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-09-24 15:24:56 +02:00
dependabot[bot] a75efa7901 chore(deps): Bump marked from 7.0.3 to 9.0.3
Bumps [marked](https://github.com/markedjs/marked) from 7.0.3 to 9.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/v7.0.3...v9.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>
2023-09-24 15:19:51 +02:00
dependabot[bot] 6cf9af19d1 Merge pull request #40452 from nextcloud/dependabot/npm_and_yarn/nextcloud/dialogs-5.0.0-beta.4 2023-09-24 13:11:28 +00:00
dependabot[bot] 02de7ffd78 chore(deps): Bump @nextcloud/dialogs from 5.0.0-beta.2 to 5.0.0-beta.4
Bumps [@nextcloud/dialogs](https://github.com/nextcloud-libraries/nextcloud-dialogs) from 5.0.0-beta.2 to 5.0.0-beta.4.
- [Release notes](https://github.com/nextcloud-libraries/nextcloud-dialogs/releases)
- [Changelog](https://github.com/nextcloud-libraries/nextcloud-dialogs/blob/master/CHANGELOG.md)
- [Commits](https://github.com/nextcloud-libraries/nextcloud-dialogs/compare/v5.0.0-beta.2...v5.0.0-beta.4)

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

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-09-24 14:30:20 +02:00
dependabot[bot] 285378bee5 Merge pull request #40054 from nextcloud/dependabot/npm_and_yarn/jquery-3.7.0 2023-09-24 12:23:15 +00:00
Nextcloud bot c2b879e64e Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-09-24 00:27:57 +00:00
dependabot[bot] 46ac0d523d chore(deps): Bump jquery from 3.6.4 to 3.7.0
Bumps [jquery](https://github.com/jquery/jquery) from 3.6.4 to 3.7.0.
- [Release notes](https://github.com/jquery/jquery/releases)
- [Commits](https://github.com/jquery/jquery/compare/3.6.4...3.7.0)

---
updated-dependencies:
- dependency-name: jquery
  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>
2023-09-23 15:07:10 +00:00
Kate 3c5d8410fa Merge pull request #40575 from nextcloud/fix/openapi/core/ocm
core: Fix OCM OpenAPI
2023-09-23 13:28:24 +02:00
jld3103 c72ca72cde core: Fix OCM OpenAPI
Signed-off-by: jld3103 <jld3103yt@gmail.com>
2023-09-23 13:00:58 +02:00
John Molakvoæ b6f13cb2d9 Merge pull request #40589 from nextcloud/ci/noid/skip-cypress-download 2023-09-23 11:46:21 +02:00
Nextcloud bot d1f3d84ed1 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-09-23 00:27:56 +00:00
Daniel Kesselberg beb0b34eb9 ci: skip cypress install
Unecessary to download the cypress binary if we don't run cypress

Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2023-09-22 17:41:57 +02:00
Daniel Kesselberg 97a024f035 chore(3rdparty): remove opis/closure
- We are using laravel/serializable-closure for a while now.
- The package was there for compatibility reasons but does not play nice with PHP 8.1.

Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2023-09-22 17:16:20 +02:00
Robin Appelman 7fecdf6129 Merge pull request #39113 from fsamapoor/refactor_lib_private_collaboration_part1
[1/2] Refactors lib/private/Collaboration
2023-09-22 11:18:29 +02:00
Robin Appelman 6b767e060a Merge pull request #39013 from fsamapoor/refactor_lib_private_security_part3
[3/3] Refactors lib/private/Security
2023-09-22 11:13:44 +02:00
Robin Appelman b6927d0fa3 Merge pull request #39075 from fsamapoor/refactor_lib_private_profile
Refactors lib/private/Profile.
2023-09-22 11:10:42 +02:00
julia.kirschenheuter ea881fee2f Add labels for input fields
Signed-off-by: julia.kirschenheuter <julia.kirschenheuter@nextcloud.com>
2023-09-22 10:46:46 +02:00
Joas Schilling 26ad0a1b9c Merge pull request #40574 from nextcloud/techdebt/noid/allow-phpunit10
feat(CI): Allow apps to test with PHPUnit10
2023-09-22 08:45:19 +02:00
Nextcloud bot c63ef4a2d5 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-09-22 00:32:00 +00:00
Richard Steinmetz ace08819f9 fix(dav): expand recurrences when searching
Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
2023-09-21 23:28:35 +02:00
Joas Schilling 5e7b41086d feat(CI): Allow apps to test with PHPUnit10
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-09-21 21:32:15 +02:00
Joas Schilling 3b6a9cd236 Merge pull request #40288 from nextcloud/feat/appframework/rate-limiter
feat(appframework): Expose programmatic rate limiter
2023-09-21 18:49:44 +02:00
Robin Appelman b11ca34bbd Merge pull request #40499 from nextcloud/known-mtime-wrapper
add wrapper for external storage to ensure we don't get an mtime that is lower than we know it is
2023-09-21 18:33:15 +02:00
John Molakvoæ 472440b296 Merge pull request #40551 from nextcloud/fix/init-script 2023-09-21 17:33:44 +02:00
Christoph Wurst 64f5180d1b style: Fix editorconfig indent for config/*config.php
*config.php is created with var_export, which indents lines with two
spaces.

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-09-21 16:41:11 +02:00
Robin Appelman ef87ff1848 Merge pull request #39216 from shdehnavi/replace_substr_calls_in_lib_private
Refactor "substr" calls in lib/private to improve code readability
2023-09-21 16:34:27 +02:00
Robin Appelman 667e9f783d Merge pull request #38633 from nextcloud/tests-for-cache-mount-provider
test: add test for cache mount provider
2023-09-21 16:06:11 +02:00
Robin Appelman 20b9a64ac1 Merge pull request #40531 from nextcloud/s3-multipart-copy
use multipart copy for s3
2023-09-21 16:02:13 +02:00
John Molakvoæ (skjnldsv) bf467ad7f7 fix(files): revert button maxcontrast
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2023-09-21 15:38:22 +02:00
Côme Chilliet 39d4c8759b Merge pull request #39695 from fsamapoor/refactor_files_version_app_commands
Refactors files version app commands.
2023-09-21 15:23:36 +02:00
John Molakvoæ (skjnldsv) 216804f83d fix(files): title and inline actions
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-09-21 15:20:17 +02:00
Côme Chilliet ff9de2efb6 Merge pull request #40508 from nextcloud/fix/migrate-apps-away-from-ilogger
Migrate applications away from deprecated ILogger
2023-09-21 15:12:31 +02:00
John Molakvoæ (skjnldsv) a5a8655beb fix: avoid side-effect imports
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2023-09-21 12:40:42 +02:00
Julia Kirschenheuter a1a1b990e6 Merge pull request #40548 from nextcloud/fix/37082-fix-visual-label-for-system-tag-on-settings-page
Add label for input field and select and adjust styles
2023-09-21 12:20:51 +02:00
Côme Chilliet 0a9371f99f Migrate applications away from deprecated ILogger
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-09-21 11:57:21 +02:00
julia.kirschenheuter b933e2e60d Add label for input field and select and adjust styles
Signed-off-by: julia.kirschenheuter <julia.kirschenheuter@nextcloud.com>
2023-09-21 10:55:27 +02:00
Faraz Samapoor 0273b96eef Apply suggestions from code review
Co-authored-by: Côme Chilliet <91878298+come-nc@users.noreply.github.com>
Signed-off-by: Faraz Samapoor <f.samapoor@gmail.com>
2023-09-21 11:40:18 +03:30
Faraz Samapoor 14ad1e9219 Adds type hint to the method parameter.
Co-authored-by: fenn-cs <fenn25.fn@gmail.com>
Signed-off-by: Faraz Samapoor <fsa@adlas.at>
2023-09-21 11:28:02 +03:30
Faraz Samapoor 6427863443 Refactors lib/private/Collaboration.
Mainly using PHP8's constructor property promotion.

Signed-off-by: Faraz Samapoor <fsa@adlas.at>
2023-09-21 11:28:02 +03:30
Faraz Samapoor 1c023e6666 Update lib/private/Security/Certificate.php
Co-authored-by: Côme Chilliet <91878298+come-nc@users.noreply.github.com>
Signed-off-by: Faraz Samapoor <f.samapoor@gmail.com>
2023-09-21 11:20:12 +03:30
Faraz Samapoor f9596edb00 Updates the typed properties.
Based on: https://github.com/nextcloud/server/pull/39013#discussion_r1242340826

Co-authored-by: Côme Chilliet <91878298+come-nc@users.noreply.github.com>
Signed-off-by: Faraz Samapoor <fsa@adlas.at>
2023-09-21 11:20:12 +03:30
Faraz Samapoor 4f46656d39 Refactors lib/private/Security.
Mainly using PHP8's constructor property promotion.

Signed-off-by: Faraz Samapoor <fsa@adlas.at>
2023-09-21 11:20:12 +03:30
Arthur Schiwon d6445254ac Merge pull request #40500 from nextcloud/improve-expire-date-enforcement
Consider share type for enforced share expiry dates
2023-09-21 09:44:02 +02:00
Christoph Wurst a66fe6e0b1 Merge pull request #38989 from fsamapoor/refactor_lib_private_avatar
Refactors lib/private/Avatar.
2023-09-21 09:34:07 +02:00
Nextcloud bot 1c50cfa17f Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-09-21 00:29:24 +00:00
Kate 716c5e0966 Merge pull request #40511 from nextcloud/fix/dashboard-widgets-api
Fix dashboard widgets api
2023-09-20 21:22:33 +02:00
Christoph Wurst 9a70c1e78a Merge pull request #39166 from fsamapoor/refactor_dav_app_commands
Refactors dav app commands.
2023-09-20 20:36:44 +02:00
Simon L f1aa6ba57e Merge pull request #40516 from privatemaker/fix/readme-remove-working-with
Remove 'Working with ... code' sections from README.md
2023-09-20 20:25:52 +02:00
Christoph Wurst e477bb7eaf feat(appframework): Expose programmatic rate limiter
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-09-20 20:25:27 +02:00
Arthur Schiwon 4954c9f4ba Merge pull request #39574 from nextcloud/fix/noid/ocm-controller
OCM Services
2023-09-20 20:16:10 +02:00
fenn-cs 56771b50c4 Consider share type for enforced share expiry dates
We have three kind of share expiry date enforcements.

- `isDefaultExpireDateEnforced`
- `isDefaultInternalExpireDateEnforced`
- `isDefaultRemoteExpireDateEnforced`

Before these commit, `isExpiryDateEnforced` that is used to
disable/enable the set expiry date checkbox does not take those into consideration
which is problematic as those have different applications.

In addition, this commit now uses `isExpiryDateEnforced` to disable/enable the input for
expiry date that shows up before the creation of link shares.

Here, `hasExpirationDate` is also removed from 'SharingEntryLink` component as it is
not used.

Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-09-20 16:43:12 +00:00
Julien Veyssier dead43635e Merge pull request #39628 from nextcloud/fix/enable-litmus-largefile-tests
Enable litmus largefile tests
2023-09-20 18:33:54 +02:00
jld3103 6c840984f8 dashboard: Fix get widgets OpenAPI
Signed-off-by: jld3103 <jld3103yt@gmail.com>
2023-09-20 17:41:37 +02:00
jld3103 80e3064817 Fix Dashboard IManager getWidgets return annotation
Signed-off-by: jld3103 <jld3103yt@gmail.com>
2023-09-20 17:41:37 +02:00
Robin Appelman 0a8b7b2894 try to make kerberos test more reliable
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-09-20 17:31:49 +02:00
Robin Appelman 09794b6792 try to make kerberos test more reliable
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-09-20 17:29:48 +02:00
Robin Appelman eab8dd3ca0 use multipart copy for s3
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-09-20 17:28:48 +02:00
Daniel Kesselberg 18af7cc86b test: add test for cache mount provider
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2023-09-20 15:42:23 +02:00
Aaron Dewes aefa366495 Merge branch 'master' into fix/ldap-filter-generation 2023-09-20 15:38:52 +02:00
John Molakvoæ 4ddbc55d5d Merge pull request #40517 from nextcloud/feat/sharing-status 2023-09-20 14:55:18 +02:00
Faraz Samapoor d13874fdf4 Refactors dav app commands.
To improve code readability.

Signed-off-by: Faraz Samapoor <fsa@adlas.at>
2023-09-20 15:43:15 +03:30
John Molakvoæ (skjnldsv) fac5197486 feat(files): add files_sharing indicator
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2023-09-20 13:58:31 +02:00
Private Maker 9f2d60b22e Merge branch 'master' into fix/readme-remove-working-with 2023-09-20 13:02:49 +02:00
Robin Appelman b40fa64a8b use multipart copy for s3
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-09-20 12:29:50 +02:00
jld3103 aad2d02cf8 Enable litmus largefile tests
Signed-off-by: jld3103 <jld3103yt@gmail.com>
2023-09-20 11:45:38 +02:00
Kate 6714e51b0c Merge pull request #39626 from nextcloud/fix/remove-litmus-locks-tests
Remove litmus locks tests
2023-09-20 11:32:21 +02:00
Maxence Lange b5dcd048ae small fixes
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2023-09-20 08:23:45 -01:00
Maxence Lange c6c06d517c set authType to basic
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2023-09-20 08:23:45 -01:00
Maxence Lange 8b9e7e235d ocm controller
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2023-09-20 08:23:45 -01:00
Louis d5fc95b661 Merge pull request #40213 from nextcloud/dependabot/npm_and_yarn/nextcloud/browserslist-config-3.0.0
chore(deps): Bump @nextcloud/browserslist-config from 2.3.0 to 3.0.0
2023-09-20 10:38:17 +02:00
Côme Chilliet 0cfdf6f6ad Merge pull request #40504 from nextcloud/fix/remove-ilogger-uses-in-user_ldap
Remove deprectated ILogger uses from user_ldap application
2023-09-20 10:26:11 +02:00
Nextcloud bot fecae94229 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-09-20 00:27:30 +00:00
Richard Steinmetz 7cf8421360 Merge pull request #40481 from nextcloud/fix/guest-pages-contentinfo
fix: content info footer on guest pages
2023-09-19 23:54:03 +02:00
Private Maker c4dd3653e0 Remove 'Working with ... code' sections from README.md
Text moved to documentation/developer_manual/core/ and
updated with newer development flow.

Signed-off-by: Private Maker <privatemaker@posteo.net>
2023-09-19 20:29:22 +00:00
Richard Steinmetz 9a5a392bf9 fix: content info footer on guest pages
Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
2023-09-19 21:57:01 +02:00
nextcloud-command 6792724657 chore(assets): Recompile assets
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-09-19 19:24:20 +00:00
Ferdinand Thiessen ec72121153 Merge pull request #39964 from nextcloud/dependabot/npm_and_yarn/camelcase-8.0.0
chore(deps): Bump camelcase from 6.3.0 to 8.0.0
2023-09-19 21:16:49 +02:00
Joas Schilling 2bd0f07e5a Merge pull request #40488 from nextcloud/bugfix/noid/message-expiration-breaks-pagination
fix(comments): Use provided offset in best effort when loading comments
2023-09-19 15:30:57 +02:00
Côme Chilliet 7a59d2ec07 Remove deprectated ILogger uses from user_ldap application
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-09-19 15:22:45 +02:00
Ferdinand Thiessen 4c49dda128 fix(systemtags): Add one unittest for to test tags parsing after the dependency was updated
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-09-19 14:59:13 +02:00
dependabot[bot] 1099946748 chore(deps): Bump camelcase from 6.3.0 to 8.0.0
Bumps [camelcase](https://github.com/sindresorhus/camelcase) from 6.3.0 to 8.0.0.
- [Release notes](https://github.com/sindresorhus/camelcase/releases)
- [Commits](https://github.com/sindresorhus/camelcase/compare/v6.3.0...v8.0.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-09-19 14:59:13 +02:00
Anna b6761fbc96 Merge pull request #40423 from nextcloud/enh/proved-db-as-string 2023-09-19 14:06:01 +02:00
Robin Appelman ccf8843d9f apply known mtime wrapper for external storages
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-09-19 13:58:35 +02:00
Robin Appelman 5bf34979fe add wrapper to ensure we don't get an mtime that is lower than we know it is
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-09-19 13:58:15 +02:00
Ferdinand Thiessen 1ce7dd4be1 Merge pull request #39720 from nextcloud/dependabot/composer/build/integration/symfony/event-dispatcher-5.4.26
chore(deps-dev): Bump symfony/event-dispatcher from 5.4.22 to 5.4.26 in /build/integration
2023-09-19 13:50:48 +02:00
Ferdinand Thiessen 78c814400e Merge pull request #40210 from nextcloud/dependabot/npm_and_yarn/cypress/webpack-preprocessor-6.0.0
chore(deps-dev): Bump @cypress/webpack-preprocessor from 5.17.1 to 6.0.0
2023-09-19 13:49:07 +02:00
dependabot[bot] 77721b237d chore(deps): Bump @nextcloud/browserslist-config from 2.3.0 to 3.0.0
Bumps [@nextcloud/browserslist-config](https://github.com/nextcloud/browserslist-config) from 2.3.0 to 3.0.0.
- [Release notes](https://github.com/nextcloud/browserslist-config/releases)
- [Commits](https://github.com/nextcloud/browserslist-config/compare/v2.3.0...v3.0.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-09-19 11:46:11 +00:00
Ferdinand Thiessen 7f9faa544b Merge pull request #40355 from nextcloud/dependabot/github_actions/cypress-io/github-action-6.5.0
chore(deps): Bump cypress-io/github-action from 5.8.3 to 6.5.0
2023-09-19 13:46:09 +02:00
Côme Chilliet 5090848b25 Store size in int|float for 32bit support
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-09-19 13:43:01 +02:00
dependabot[bot] 5b620eb945 Merge pull request #40052 from nextcloud/dependabot/composer/build/integration/phpunit/phpunit-9.6.11 2023-09-19 11:41:48 +00:00
Anna Larch 56419d94f8 enh(db): provide database providers via API
To avoid leaking internals (OC), wrap the getDatabasePlatform and provide the
associated constants

fixes https://github.com/nextcloud/server/issues/30877

Signed-off-by: Anna Larch <anna@nextcloud.com>
2023-09-19 11:56:44 +02:00
Robin Appelman 5e347553bc add method to create a node from cache entry + mountpoint
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-09-19 11:43:29 +02:00
dependabot[bot] 4caf4ca2fd chore(deps-dev): Bump phpunit/phpunit in /build/integration
Bumps [phpunit/phpunit](https://github.com/sebastianbergmann/phpunit) from 9.6.10 to 9.6.11.
- [Changelog](https://github.com/sebastianbergmann/phpunit/blob/9.6.11/ChangeLog-9.6.md)
- [Commits](https://github.com/sebastianbergmann/phpunit/compare/9.6.10...9.6.11)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-09-19 09:39:52 +00:00
Ferdinand Thiessen 8157d97890 Merge pull request #39974 from nextcloud/dependabot/github_actions/actions/setup-node-3.8.1
chore(deps): Bump actions/setup-node from 3.6.0 to 3.8.1
2023-09-19 11:39:12 +02:00
Ferdinand Thiessen ad8811d392 Merge pull request #39972 from nextcloud/dependabot/github_actions/peter-evans/create-pull-request-5
chore(deps): Bump peter-evans/create-pull-request from 3 to 5
2023-09-19 11:38:24 +02:00
Ferdinand Thiessen 2a35dd39a1 Merge pull request #40455 from nextcloud/dependabot/composer/build/integration/phpunit/phpunit-9.6.12
chore(deps-dev): Bump phpunit/phpunit from 9.6.10 to 9.6.12 in /build/integration
2023-09-19 11:34:56 +02:00
dependabot[bot] ff6cc481ec chore(deps-dev): Bump symfony/event-dispatcher in /build/integration
Bumps [symfony/event-dispatcher](https://github.com/symfony/event-dispatcher) from 5.4.22 to 5.4.26.
- [Release notes](https://github.com/symfony/event-dispatcher/releases)
- [Changelog](https://github.com/symfony/event-dispatcher/blob/6.3/CHANGELOG.md)
- [Commits](https://github.com/symfony/event-dispatcher/compare/v5.4.22...v5.4.26)

---
updated-dependencies:
- dependency-name: symfony/event-dispatcher
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-09-19 09:30:20 +00:00
Côme Chilliet 40852efd2c Merge pull request #40470 from nextcloud/fix/bump-phpseclib/phpseclib-to-2.0.45-in-master
Bump phpseclib/phpseclib to 2.0.45 in master
2023-09-19 11:28:49 +02:00
John Molakvoæ 085568b75c Merge pull request #40475 from nextcloud/feat/f2v/systemtags 2023-09-19 11:09:43 +02:00
Robin Appelman cd7c3f0a6f Merge pull request #39531 from nextcloud/sso-kerberos-fix2
kerberos sso ci fix
2023-09-19 10:38:32 +02:00
Simon L f75891de5d Merge pull request #40485 from nextcloud/fix/report-test
fix(dav): fix report tests
2023-09-19 09:25:21 +02:00
Nextcloud bot 5b9cfedc66 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-09-19 00:23:57 +00:00
John Molakvoæ (skjnldsv) f8ed23a426 fix(dav): fix report tests
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2023-09-18 22:19:30 +02:00
Andy Scherzinger 6c9cf907cc Merge pull request #40357 from nextcloud/dependabot/github_actions/actions/checkout-4
chore(deps): Bump actions/checkout from 3 to 4
2023-09-18 21:35:01 +02:00
Joas Schilling 4d2217073a fix(comments): Use provided offset in best effort when loading comments
When we didn't find the "$lastKnownComment" the whole condition was ignored.
Now we still use the ID as an offset.
This is required as a fall-back for expired messages in Talk
and deleted comments in other apps.

Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-09-18 20:09:32 +02:00
dependabot[bot] 81fe4a9fe3 chore(deps): Bump actions/checkout from 3 to 4
Bumps [actions/checkout](https://github.com/actions/checkout) from 3 to 4.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v3...3df4ab11eba7bda6032a0b82a6bb43b11571feac)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-09-18 17:15:30 +00:00
Robin Appelman cf7344082d Merge pull request #40183 from nextcloud/sftp-fixes
SFTP improvements
2023-09-18 19:14:27 +02:00
Robin Appelman fc7adff48d use user_saml from git
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-09-18 17:25:39 +02:00
John Molakvoæ ee9010904d Merge pull request #40480 from privatemaker/fix/dashboard-icon-apps-dark 2023-09-18 17:24:41 +02:00
Côme Chilliet a0c9735f1a Update 3rdparty to master commit
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-09-18 17:12:48 +02:00
Côme Chilliet ab6ef3a8ce Bump phpseclib/phpseclib to 2.0.45 in master
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-09-18 17:12:48 +02:00
John Molakvoæ (skjnldsv) ef1abd958c fix(systemtags): fix capabilities and sidebar + tag visibility
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2023-09-18 16:44:28 +02:00
Robin Appelman a185edd5d1 kerberos sso ci fixes
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-09-18 16:43:41 +02:00
Robin Appelman d42d809170 sftp psalm fixes
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-09-18 16:12:03 +02:00
John Molakvoæ (skjnldsv) fb30aa0902 fix(files): allow downloading folders within user root folders only
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2023-09-18 15:38:02 +02:00
John Molakvoæ (skjnldsv) 2845319187 feat(files): add systemtags view
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2023-09-18 15:33:21 +02:00
Private Maker 337854aaaa remove stroke= and style= attributes from dashboard.svg
Signed-off-by: Private Maker <privatemaker@posteo.net>
2023-09-18 13:30:21 +00:00
John Molakvoæ e0c778f769 Merge pull request #40465 from nextcloud/fix/customElementRendered 2023-09-18 15:05:12 +02:00
John Molakvoæ (skjnldsv) cdc2529c4d fix(files): CustomElementRender $el replacement bug
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-09-18 12:43:28 +00:00
John Molakvoæ 9ea9743011 Merge pull request #40474 from nextcloud/fix/report-dav 2023-09-18 14:07:10 +02:00
Robin Windey 7afcacdff7 Merge pull request #39818 from nextcloud/feature/trashbin-restore-improvements#39724
Let `occ trashbin:restore` restore also from groupfolders and add filters
2023-09-18 12:38:57 +02:00
John Molakvoæ 63da44bb0e fix(dav): report status
Signed-off-by: John Molakvoæ <skjnldsv@users.noreply.github.com>
2023-09-18 11:29:15 +02:00
Côme Chilliet 5d20baec01 Merge pull request #40420 from nextcloud/fix/remove-at-matcher-in-core
Remove last calls to deprecated at matcher in tests/Core
2023-09-18 10:56:09 +02:00
Christoph Wurst 7e23ea2026 Merge pull request #39039 from fsamapoor/refactor_lib_private_log
Refactors lib/private/Log
2023-09-18 10:54:20 +02:00
Côme Chilliet 0c421975bd Remove last calls to deprecated at matcher in tests/Core
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-09-18 10:21:21 +02:00
Côme Chilliet 8d43f1b31c Merge pull request #40424 from nextcloud/fix/remove-at-matcher-in-dav-2
Remove last at matcher call in dav application tests
2023-09-18 09:46:27 +02:00
Côme Chilliet b36fb96984 Merge pull request #40419 from nextcloud/fix/remove-at-matcher-in-installer-test
Remove deprecated at matcher in tests/lib/InstallerTest.php
2023-09-18 09:45:58 +02:00
Nextcloud bot eee5a3ddc9 Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-09-18 00:26:46 +00:00
dependabot[bot] 5b651bc715 chore(deps-dev): Bump phpunit/phpunit in /build/integration
Bumps [phpunit/phpunit](https://github.com/sebastianbergmann/phpunit) from 9.6.10 to 9.6.12.
- [Changelog](https://github.com/sebastianbergmann/phpunit/blob/9.6.12/ChangeLog-9.6.md)
- [Commits](https://github.com/sebastianbergmann/phpunit/compare/9.6.10...9.6.12)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-09-16 02:49:42 +00:00
Côme Chilliet 4b8ef84440 Remove last at matcher call in dav application tests
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-09-14 15:01:26 +02:00
Côme Chilliet e24007b530 Remove deprecated at matcher in tests/lib/InstallerTest.php
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-09-14 12:52:05 +02:00
Robin Appelman 1eb3293e53 setup filesystem wrappers before we mark the root as setup
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-09-12 16:50:29 +02:00
Robin Appelman 5685d68bd3 add more checks to ensure mounts aren't empty
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-09-12 16:50:24 +02:00
dependabot[bot] 81b400c777 chore(deps): Bump cypress-io/github-action from 5.8.3 to 6.5.0
Bumps [cypress-io/github-action](https://github.com/cypress-io/github-action) from 5.8.3 to 6.5.0.
- [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/d69252d52b9a31bad4f418f05ba2bc83687a02eb...59810ebfa5a5ac6fcfdcfdf036d1cd4d083a88f2)

---
updated-dependencies:
- dependency-name: cypress-io/github-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-09-09 01:16:27 +00:00
Christoph Wurst 312dd8ac6d feat(ocp): Add types and strict typing to \OCP\Group\IGroup
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-09-06 11:58:09 +02:00
Hamid Dehnavi 0808e19540 Update lib/private/DateTimeFormatter.php
Co-authored-by: Côme Chilliet <91878298+come-nc@users.noreply.github.com>
Signed-off-by: Hamid Dehnavi <hamid.dev.pro@gmail.com>
2023-09-05 21:09:16 +03:30
Hamid Dehnavi 9b92c1abe4 Update lib/private/DateTimeFormatter.php
Co-authored-by: Louis <6653109+artonge@users.noreply.github.com>
Signed-off-by: Hamid Dehnavi <hamid.dev.pro@gmail.com>
2023-09-05 16:18:46 +03:30
Robin Appelman c264903cb9 psalm suppress
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-09-04 16:30:12 +02:00
Robin Appelman e3a39f5117 add sftp ci test
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-09-04 16:30:11 +02:00
Robin Appelman aa2a3ae6c8 implement fseek for sftp read stream
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-09-04 16:30:11 +02:00
Robin Appelman b41c8e0ef5 more optimized getPermissions/getMetaData
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-09-04 16:30:10 +02:00
Robin Appelman 1dfef9fccf sftp optimize file_put_contents, writeStream and copy
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-09-04 16:30:10 +02:00
Robin Appelman 9cf732a90b fix error during sftp stream close
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-09-04 16:30:09 +02:00
Robin Appelman 19daa70947 clear sftp stat cache when opening a write stream
Signed-off-by: Robin Appelman <robin@icewind.nl>
2023-09-04 16:30:07 +02:00
dependabot[bot] c25458074a chore(deps-dev): Bump @cypress/webpack-preprocessor from 5.17.1 to 6.0.0
Bumps [@cypress/webpack-preprocessor](https://github.com/cypress-io/cypress) from 5.17.1 to 6.0.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/@cypress/webpack-preprocessor-v5.17.1...@cypress/webpack-preprocessor-v6.0.0)

---
updated-dependencies:
- dependency-name: "@cypress/webpack-preprocessor"
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-09-02 01:19:02 +00:00
Andrew Summers 2258058fd6 Refactor `OC\Server::getAvatarManager
Signed-off-by: Andrew Summers <18727110+summersab@users.noreply.github.com>
2023-09-01 16:43:04 -05:00
Git'Fellow 066f6ef16c Stop sending deprecated Pragma header
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
2023-08-28 15:11:22 +02:00
dependabot[bot] 61bc7f8045 chore(deps): Bump actions/setup-node from 3.6.0 to 3.8.1
Bumps [actions/setup-node](https://github.com/actions/setup-node) from 3.6.0 to 3.8.1.
- [Release notes](https://github.com/actions/setup-node/releases)
- [Commits](https://github.com/actions/setup-node/compare/64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c...5e21ff4d9bc1a8cf6de233a3057d20ec6b3fb69d)

---
updated-dependencies:
- dependency-name: actions/setup-node
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-08-19 02:44:31 +00:00
dependabot[bot] f6d22a1405 chore(deps): Bump peter-evans/create-pull-request from 3 to 5
Bumps [peter-evans/create-pull-request](https://github.com/peter-evans/create-pull-request) from 3 to 5.
- [Release notes](https://github.com/peter-evans/create-pull-request/releases)
- [Commits](https://github.com/peter-evans/create-pull-request/compare/v3...153407881ec5c347639a548ade7d8ad1d6740e38)

---
updated-dependencies:
- dependency-name: peter-evans/create-pull-request
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-08-19 02:44:27 +00:00
Robin Windey d7a73ffdf1 Rename since/until in verbose message
Signed-off-by: GitHub <noreply@github.com>
2023-08-18 07:25:39 +02:00
Robin Windey acf0b4ce34 Code adjustments according to PR review
* Delete unnecessary function docs
* Rename parameters to 'since' and 'until'
* Style: use '&&' instead of 'and'
* Add types

Signed-off-by: GitHub <noreply@github.com>
2023-08-18 07:25:39 +02:00
Robin Windey 52d77eb9fe Make scope parsing more readable
Signed-off-by: GitHub <noreply@github.com>
2023-08-18 07:25:39 +02:00
Robin Windey ee66518ca2 Decouple from groupfolders app & remove PSALM warnings
Signed-off-by: GitHub <noreply@github.com>
2023-08-18 07:25:39 +02:00
Robin Windey 98dd02b467 Let occ trashbin:restore restore also from groupfolders and add additional filters
* Using the TrashManager allows access to all deleted files
* Add 'scope' parameter to choose where to restore from (user or groupfolders)
* Add 'restore-from' and 'restore-to' date parameters to filter files to be
  restored by their deletion date
* Add 'dry-run' flag to be able to see which files would be restored and being
  able to adjust the filter parameters accordingly

Signed-off-by: GitHub <noreply@github.com>
2023-08-18 07:25:39 +02:00
Git'Fellow c5c6f3eaf1 fix: don't try to access null array
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
2023-08-14 17:57:17 +02:00
Aaron Dewes d79def553f Fix tests
Signed-off-by: Aaron Dewes <aaron.dewes@protonmail.com>
2023-08-13 15:43:04 +02:00
Aaron Dewes 16908999ed Simplify escapeFilterPart
Signed-off-by: Aaron Dewes <aaron.dewes@protonmail.com>
2023-08-13 15:43:04 +02:00
Aaron Dewes 13d9494af3 Escape some more values
Signed-off-by: Aaron Dewes <aaron.dewes@protonmail.com>
2023-08-13 15:43:04 +02:00
AaronDewes c42d9d439a Fix: Escape group names for LDAP
Groups may contain special characters (Like "(" or ")") that should be escaped to ensure geenrted queries are correct.

Signed-off-by: AaronDewes <aaron.dewes@protonmail.com>
2023-08-13 15:43:04 +02:00
Faraz Samapoor 90652fd30f Uses early returns.
To improve code readability.

Signed-off-by: Faraz Samapoor <fsa@adlas.at>
2023-08-03 16:42:56 +03:30
Faraz Samapoor ab79706253 Refactors files_version app commands.
To improve code readability.

Signed-off-by: Faraz Samapoor <fsa@adlas.at>
2023-08-03 16:35:09 +03:30
jld3103 11372bf258 Remove litmus locks tests
Signed-off-by: jld3103 <jld3103yt@gmail.com>
2023-07-30 17:56:26 +02:00
Hamid Dehnavi 495683c358 Make adjustments based on the review
Co-authored-by: Faraz Samapoor <f.samapoor@gmail.com>
Signed-off-by: Hamid Dehnavi <hamid.dev.pro@gmail.com>
2023-07-20 16:22:10 +03:30
Faraz Samapoor d1673ca3b8 Update lib/private/Profile/Actions/FediverseAction.php
Co-authored-by: Pytal <24800714+Pytal@users.noreply.github.com>
Signed-off-by: Faraz Samapoor <f.samapoor@gmail.com>
2023-07-13 09:17:57 +03:30
Hamid Dehnavi d0b20534b9 Refactor "substr" calls to improve code readability
Signed-off-by: Hamid Dehnavi <hamid.dev.pro@gmail.com>
2023-07-07 04:54:20 +03:30
Hamid Dehnavi 8850c66ab8 use square bracket syntax to modify array
Signed-off-by: Hamid Dehnavi <hamid.dev.pro@gmail.com>
2023-07-05 21:36:45 +03:30
Faraz Samapoor b4dd68f5b3 Refactors lib/private/Profile.
Mainly using PHP8's constructor property promotion.

Signed-off-by: Faraz Samapoor <fsa@adlas.at>
2023-06-29 22:51:54 +03:30
Faraz Samapoor 9fa9975bc9 Refactors lib/private/Log.
Mainly using PHP8's constructor property promotion.

Signed-off-by: Faraz Samapoor <fsa@adlas.at>
2023-06-28 09:29:45 +03:30
Faraz Samapoor 57ff06576a Fixes psalm errors: RedundantCondition and TypeDoesNotContainNull.
Signed-off-by: Faraz Samapoor <fsa@adlas.at>
2023-06-27 21:21:21 +03:30
Faraz Samapoor dd67635560 Refactors lib/private/Avatar.
Mainly using PHP8's constructor property promotion.

Signed-off-by: Faraz Samapoor <fsa@adlas.at>
2023-06-25 13:36:36 +03:30
4807 changed files with 135461 additions and 87394 deletions
+1
View File
@@ -3,6 +3,7 @@
"dockerComposeFile": "docker-compose.yml",
"service": "nextclouddev",
"postCreateCommand": ".devcontainer/setup.sh",
"postStartCommand": ".devcontainer/postStart.sh",
"forwardPorts": [
80,
8080,
+5
View File
@@ -0,0 +1,5 @@
#!/bin/bash
# Set git safe.directory
git config --global --add safe.directory /var/www/html
git config --global --add safe.directory /var/www/html/3rdparty
-4
View File
@@ -3,10 +3,6 @@ DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )/../" >/dev/null 2>&1 && pwd )"
cd $DIR/
# Set git safe.directory
git config --global --add safe.directory /var/www/html
git config --global --add safe.directory /var/www/html/3rdparty
git submodule update --init
# Codespace config
+1 -1661
View File
File diff suppressed because it is too large Load Diff
+4
View File
@@ -31,3 +31,7 @@ indent_style = space
[build/psalm-baseline.xml]
indent_size = 2
indent_style = space
[config/*config.php]
indent_size = 2
indent_style = space
+19 -1
View File
@@ -28,7 +28,15 @@
/apps/weather_status/appinfo/info.xml @julien-nc @juliushaertl
/apps/workflowengine/appinfo/info.xml @blizzz @juliushaertl
# Frontend expertise
/apps/files/src @skjnldsv
/apps/files_external/src @skjnldsv
/apps/files_reminders/src @skjnldsv
/apps/files_sharing/src/actions @skjnldsv
/apps/files_trashbin/src @skjnldsv
# Security team
/resources/codesigning @mgallien @miaulalala @nickvergessen
/resources/config/ca-bundle.crt @ChristophWurst @miaulalala @nickvergessen
/.drone.yml @nickvergessen
@@ -43,9 +51,19 @@
/core/routes.php @Altahrim
# OpenAPI
openapi.json @provokateurin
openapi*.json @provokateurin
ResponseDefinitions.php @provokateurin
# Talk team
/lib/private/Comments @nickvergessen
/lib/private/Federation @nickvergessen
/lib/private/Talk @nickvergessen
/lib/public/Comments @nickvergessen
/lib/public/Federation @nickvergessen
/lib/public/OCM @nickvergessen
/lib/public/Talk @nickvergessen
/lib/public/UserStatus @nickvergessen
# Personal interest
*/Activity/* @nickvergessen
*/Notifications/* @nickvergessen
+2 -2
View File
@@ -76,9 +76,9 @@ body:
Select Nextcloud Server version.
_Versions not listed here are not maintained and not supported anymore_
options:
- "25"
- "26"
- "27"
- "28"
- "master"
validations:
required: true
@@ -101,10 +101,10 @@ body:
Select PHP engine version serving Nextcloud Server.
_Describe in the "Additional info" section if you chose "Other"._
options:
- "PHP 7.4"
- "PHP 8.0"
- "PHP 8.1"
- "PHP 8.2"
- "PHP 8.3"
- "Other"
- type: dropdown
id: webserver
+38 -38
View File
@@ -57,26 +57,6 @@ updates:
# Main stableXX npm
- package-ecosystem: npm
directory: "/"
schedule:
interval: weekly
day: saturday
time: "03:00"
timezone: Europe/Paris
target-branch: stable25
labels:
- "3. to review"
- "feature: dependencies"
reviewers:
- "nextcloud/server-dependabot"
ignore:
# ignore all GitHub linguist patch updates
- dependency-name: "*"
update-types: ["version-update:semver-major", "version-update:semver-minor", "version-update:semver-patch"]
# Disable automatic rebasing because without a build CI will likely fail anyway
rebase-strategy: "disabled"
- package-ecosystem: npm
directory: "/"
schedule:
@@ -117,25 +97,27 @@ 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: stable28
labels:
- "3. to review"
- "feature: dependencies"
reviewers:
- "nextcloud/server-dependabot"
ignore:
# ignore all GitHub linguist patch updates
- dependency-name: "*"
update-types: ["version-update:semver-major", "version-update:semver-minor", "version-update:semver-patch"]
# Disable automatic rebasing because without a build CI will likely fail anyway
rebase-strategy: "disabled"
# Testing StableXX composer
- package-ecosystem: composer
directory: "/build/integration"
schedule:
interval: weekly
day: saturday
time: "03:00"
timezone: Europe/Paris
target-branch: stable25
labels:
- "3. to review"
- "feature: dependencies"
reviewers:
- "nextcloud/server-dependabot"
ignore:
# ignore all GitHub linguist patch updates
- dependency-name: "*"
update-types: ["version-update:semver-major", "version-update:semver-minor", "version-update:semver-patch"]
- package-ecosystem: composer
directory: "/build/integration"
schedule:
@@ -172,6 +154,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: stable28
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: "/"
+21 -12
View File
@@ -23,7 +23,7 @@ jobs:
require: write
- name: Add reaction on start
uses: peter-evans/create-or-update-comment@c6c9a1a66007646a28c153e2a8580a5bad27bcfa # v3.0.1
uses: peter-evans/create-or-update-comment@71345be0265236311c031f5c7866368bd1eff043 # v4.0.0
with:
token: ${{ secrets.COMMAND_BOT_PAT }}
repository: ${{ github.event.repository.full_name }}
@@ -39,9 +39,9 @@ jobs:
id: git-path
run: |
if ${{ startsWith(steps.command.outputs.arg1, '/') }}; then
echo "path=${{ github.workspace }}${{steps.command.outputs.arg1}}" >> $GITHUB_OUTPUT
echo "path=${{steps.command.outputs.arg1}}" >> $GITHUB_OUTPUT
else
echo "path=${{ github.workspace }}${{steps.command.outputs.arg2}}" >> $GITHUB_OUTPUT
echo "path=${{steps.command.outputs.arg2}}" >> $GITHUB_OUTPUT
fi
- name: Init branch
@@ -53,8 +53,14 @@ jobs:
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@8e5e7e5ab8b370d6c329ec480221332ada57f0ab # v3.5.2
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
with:
token: ${{ secrets.COMMAND_BOT_PAT }}
fetch-depth: 0
@@ -66,14 +72,14 @@ jobs:
git config --local user.name "nextcloud-command"
- name: Read package.json node and npm engines version
uses: skjnldsv/read-package-engines-version-actions@8205673bab74a63eb9b8093402fd9e0e018663a1 # v2.1
uses: skjnldsv/read-package-engines-version-actions@8205673bab74a63eb9b8093402fd9e0e018663a1 # v2.2
id: package-engines-versions
with:
fallbackNode: '^16'
fallbackNpm: '^7'
fallbackNode: '^20'
fallbackNpm: '^9'
- name: Set up node ${{ steps.package-engines-versions.outputs.nodeVersion }}
uses: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c # v3
uses: actions/setup-node@b39b52d1213e96004bfcb1c61a8a6fa8ab84f3e8 # v3
with:
node-version: ${{ steps.package-engines-versions.outputs.nodeVersion }}
cache: npm
@@ -82,6 +88,9 @@ jobs:
run: npm i -g npm@"${{ steps.package-engines-versions.outputs.npmVersion }}"
- name: Install dependencies & build
env:
CYPRESS_INSTALL_BINARY: 0
PUPPETEER_SKIP_DOWNLOAD: true
run: |
npm ci
npm run build --if-present
@@ -89,26 +98,26 @@ jobs:
- name: Commit and push default
if: ${{ needs.init.outputs.arg1 != 'fixup' && needs.init.outputs.arg1 != 'amend' }}
run: |
git add ${{ needs.init.outputs.git_path }}
git add ${{ github.workspace }}${{ needs.init.outputs.git_path }}
git commit --signoff -m 'chore(assets): Recompile assets'
git push origin ${{ needs.init.outputs.head_ref }}
- name: Commit and push fixup
if: ${{ needs.init.outputs.arg1 == 'fixup' }}
run: |
git add ${{ needs.init.outputs.git_path }}
git add ${{ github.workspace }}${{ needs.init.outputs.git_path }}
git commit --fixup=HEAD --signoff
git push origin ${{ needs.init.outputs.head_ref }}
- name: Commit and push amend
if: ${{ needs.init.outputs.arg1 == 'amend' }}
run: |
git add ${{ needs.init.outputs.git_path }}
git add ${{ github.workspace }}${{ needs.init.outputs.git_path }}
git commit --amend --no-edit --signoff
git push --force origin ${{ needs.init.outputs.head_ref }}
- name: Add reaction on failure
uses: peter-evans/create-or-update-comment@c6c9a1a66007646a28c153e2a8580a5bad27bcfa # v3.0.1
uses: peter-evans/create-or-update-comment@71345be0265236311c031f5c7866368bd1eff043 # v4.0.0
if: failure()
with:
token: ${{ secrets.COMMAND_BOT_PAT }}
+3 -3
View File
@@ -18,7 +18,7 @@ jobs:
steps:
- name: Add reaction on start
uses: peter-evans/create-or-update-comment@c6c9a1a66007646a28c153e2a8580a5bad27bcfa # v3.0.1
uses: peter-evans/create-or-update-comment@71345be0265236311c031f5c7866368bd1eff043 # v3.0.1
with:
token: ${{ secrets.COMMAND_BOT_PAT }}
repository: ${{ github.event.repository.full_name }}
@@ -30,7 +30,7 @@ jobs:
id: comment-branch
- name: Checkout ${{ steps.comment-branch.outputs.head_ref }}
uses: actions/checkout@v3
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
with:
fetch-depth: 0
token: ${{ secrets.COMMAND_BOT_PAT }}
@@ -51,7 +51,7 @@ jobs:
git push
- name: Add reaction on failure
uses: peter-evans/create-or-update-comment@c6c9a1a66007646a28c153e2a8580a5bad27bcfa # v3.0.1
uses: peter-evans/create-or-update-comment@71345be0265236311c031f5c7866368bd1eff043 # v3.0.1
if: failure()
with:
token: ${{ secrets.COMMAND_BOT_PAT }}
+3 -3
View File
@@ -23,7 +23,7 @@ jobs:
steps:
- name: Add reaction on start
uses: peter-evans/create-or-update-comment@c6c9a1a66007646a28c153e2a8580a5bad27bcfa # v3.0.1
uses: peter-evans/create-or-update-comment@71345be0265236311c031f5c7866368bd1eff043 # v3.0.1
with:
token: ${{ secrets.COMMAND_BOT_PAT }}
repository: ${{ github.event.repository.full_name }}
@@ -31,7 +31,7 @@ jobs:
reaction-type: "+1"
- name: Checkout the latest code
uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab # v3.5.2
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v3.5.2
with:
fetch-depth: 0
token: ${{ secrets.COMMAND_BOT_PAT }}
@@ -42,7 +42,7 @@ jobs:
GITHUB_TOKEN: ${{ secrets.COMMAND_BOT_PAT }}
- name: Add reaction on failure
uses: peter-evans/create-or-update-comment@c6c9a1a66007646a28c153e2a8580a5bad27bcfa # v3.0.1
uses: peter-evans/create-or-update-comment@71345be0265236311c031f5c7866368bd1eff043 # v3.0.1
if: failure()
with:
token: ${{ secrets.COMMAND_BOT_PAT }}
+34 -25
View File
@@ -1,12 +1,10 @@
name: Cypress
on:
pull_request:
push:
branches:
- main
- master
- stable*
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
@@ -21,9 +19,15 @@ jobs:
nodeVersion: ${{ steps.versions.outputs.nodeVersion }}
npmVersion: ${{ steps.versions.outputs.npmVersion }}
env:
PUPPETEER_SKIP_DOWNLOAD: true
steps:
- name: Checkout app
uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab # v3.5.2
- name: Checkout server
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
with:
# We need to checkout submodules for 3rdparty
submodules: true
- name: Check composer.json
id: check_composer
@@ -39,11 +43,11 @@ jobs:
uses: skjnldsv/read-package-engines-version-actions@8205673bab74a63eb9b8093402fd9e0e018663a1 # v2.2
id: versions
with:
fallbackNode: "^14"
fallbackNpm: "^7"
fallbackNode: "^20"
fallbackNpm: "^9"
- name: Set up node ${{ steps.versions.outputs.nodeVersion }}
uses: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c # v3.6.0
uses: actions/setup-node@b39b52d1213e96004bfcb1c61a8a6fa8ab84f3e8 # v4.0.1
with:
node-version: ${{ steps.versions.outputs.nodeVersion }}
@@ -55,6 +59,9 @@ jobs:
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:
@@ -69,8 +76,11 @@ jobs:
fail-fast: false
matrix:
# Run multiple copies of the current job in parallel
# Please increase the number or runners as your tests suite grows
containers: ["component", 1, 2]
# 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]
# Hack as strategy.job-total includes the component and GitHub does not allow math expressions
# Always aling this number with the total of e2e runners (max. index + 1)
total-containers: [6]
name: runner ${{ matrix.containers }}
@@ -83,7 +93,7 @@ jobs:
path: ./
- name: Set up node ${{ needs.init.outputs.nodeVersion }}
uses: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c # v3.6.0
uses: actions/setup-node@b39b52d1213e96004bfcb1c61a8a6fa8ab84f3e8 # v4.0.1
with:
node-version: ${{ needs.init.outputs.nodeVersion }}
@@ -91,16 +101,13 @@ jobs:
run: npm i -g npm@"${{ needs.init.outputs.npmVersion }}"
- name: Run ${{ matrix.containers == 'component' && 'component' || 'E2E' }} cypress tests
uses: cypress-io/github-action@d69252d52b9a31bad4f418f05ba2bc83687a02eb # v5.8.3
uses: cypress-io/github-action@ebe8b24c4428922d0f793a5c4c96853a633180e3 # v6.6.0
with:
record: true
parallel: true
# cypress run type
component: ${{ matrix.containers == 'component' }}
group: Run ${{ matrix.containers == 'component' && 'component' || 'E2E' }}
group: ${{ matrix.use-cypress-cloud && matrix.containers == 'component' && 'Run component' || matrix.use-cypress-cloud && 'Run E2E' || '' }}
# cypress env
ci-build-id: ${{ github.sha }}-${{ github.run_number }}
tag: ${{ github.event_name }}
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 }}
@@ -110,9 +117,11 @@ jobs:
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@a8a3f3ad30e3422c9c7b888a15615d19a852ae32 # v3.1.3
uses: actions/upload-artifact@26f96dfa697d77e81fd5907df203aa23a56210a8 # v4.3.0
if: always()
with:
name: snapshots_${{ matrix.containers }}
@@ -123,7 +132,7 @@ jobs:
run: docker logs nextcloud-cypress-tests-${{ env.APP_NAME }} > nextcloud.log
- name: Upload NC logs
uses: actions/upload-artifact@a8a3f3ad30e3422c9c7b888a15615d19a852ae32 # v3.1.3
uses: actions/upload-artifact@26f96dfa697d77e81fd5907df203aa23a56210a8 # v4.3.0
if: failure() && matrix.containers != 'component'
with:
name: nc_logs_${{ matrix.containers }}
@@ -134,7 +143,7 @@ jobs:
run: docker exec nextcloud-cypress-tests-server tar -cvjf - data > data.tar
- name: Upload data dir archive
uses: actions/upload-artifact@a8a3f3ad30e3422c9c7b888a15615d19a852ae32 # v3.1.3
uses: actions/upload-artifact@26f96dfa697d77e81fd5907df203aa23a56210a8 # v4.3.0
if: failure() && matrix.containers != 'component'
with:
name: nc_data_${{ matrix.containers }}
+186
View File
@@ -0,0 +1,186 @@
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
outputs:
src: ${{ steps.changes.outputs.src}}
steps:
- uses: dorny/paths-filter@0bc4621a3135347011ad047f9ecf449bf72ce2bd # v3.0.0
id: changes
continue-on-error: true
with:
filters: |
src:
- '.github/workflows/**'
- '3rdparty/**'
- 'apps/files_external/**'
- 'vendor/**'
- 'vendor-bin/**'
- '.php-cs-fixer.dist.php'
- '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.0', '8.1', '8.2', '8.3']
include:
- php-versions: '8.3'
coverage: true
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@b4ffde65f46336ab88eb53be808477a3936bae11
with:
submodules: true
- name: Set up php ${{ matrix.php-versions }}
uses: shivammathur/setup-php@4bd44f22a98a19e0950cbad5f31095157cc9621b # v2
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@v3
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.0', '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@b4ffde65f46336ab88eb53be808477a3936bae11
with:
submodules: true
- name: Set up php ${{ matrix.php-versions }}
uses: shivammathur/setup-php@4bd44f22a98a19e0950cbad5f31095157cc9621b # v2
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@v3
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
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
+7 -10
View File
@@ -1,17 +1,14 @@
name: FTP unit tests
on:
push:
branches:
- master
- stable*
paths:
- '.github/**'
- 'apps/files_external/**'
pull_request:
paths:
- '.github/**'
- 'apps/files_external/**'
concurrency:
group: ftp-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
env:
APP_NAME: files_external
@@ -32,7 +29,7 @@ jobs:
steps:
- name: Checkout server
uses: actions/checkout@v3
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
with:
submodules: true
@@ -49,13 +46,13 @@ jobs:
uses: shivammathur/setup-php@c5fc0d8281aba02c7fda07d3a70cc5371548067d #v2.25.2
with:
php-version: ${{ matrix.php-versions }}
tools: phpunit:9
extensions: mbstring, fileinfo, intl, sqlite, pdo_sqlite, zip, gd
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 ${{ env.APP_NAME }}
@@ -70,7 +67,7 @@ jobs:
- name: PHPUnit
run: |
echo "<?php return ['run' => true,'host' => 'localhost','user' => 'test','password' => 'test', 'root' => '${{ env.FTP_ROOT }}'];" > apps/${{ env.APP_NAME }}/tests/config.ftp.php
phpunit --configuration tests/phpunit-autotest-external.xml apps/files_external/tests/Storage/FtpTest.php
composer run test:files_external apps/files_external/tests/Storage/FtpTest.php
- name: ftpd logs
if: always()
run: |
@@ -1,14 +1,25 @@
name: S3 primary storage integration tests
on:
pull_request:
push:
branches:
- master
- stable*
paths:
- '.github/workflows/**'
- '3rdparty/**'
- 'build/integration/**'
- '**/*.php'
- '**/lib/**'
- '**/tests/**'
- '**/vendor-bin/**'
- '.php-cs-fixer.dist.php'
- 'composer.json'
- 'composer.lock'
concurrency:
group: integration-s3-primary-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs:
s3-primary-integration-tests-minio:
runs-on: ubuntu-20.04
integration-s3-primary:
runs-on: ubuntu-latest
if: ${{ github.repository_owner != 'nextcloud-gmbh' }}
@@ -23,29 +34,33 @@ jobs:
services:
redis:
image: 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"
- 6379:6379/tcp
minio:
image: bitnami/minio
env:
MINIO_ACCESS_KEY: minio
MINIO_SECRET_KEY: minio123
image: bitnami/minio:2021.12.29
MINIO_ROOT_USER: nextcloud
MINIO_ROOT_PASSWORD: bWluaW8tc2VjcmV0LWtleS1uZXh0Y2xvdWQ=
MINIO_DEFAULT_BUCKETS: nextcloud
ports:
- "9000:9000"
steps:
- name: Checkout server
uses: actions/checkout@v3
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
with:
submodules: true
- name: Set up php ${{ matrix.php-versions }}
uses: shivammathur/setup-php@c5fc0d8281aba02c7fda07d3a70cc5371548067d #v2.25.2
uses: shivammathur/setup-php@4bd44f22a98a19e0950cbad5f31095157cc9621b # v2
with:
php-version: ${{ matrix.php-versions }}
tools: phpunit:9
extensions: mbstring, fileinfo, intl, sqlite, pdo_sqlite, zip, gd, redis
# 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 }}
@@ -57,7 +72,7 @@ jobs:
- name: Set up Nextcloud
run: |
mkdir data
echo '<?php $CONFIG=["${{ matrix.key }}" => ["class" => "OC\Files\ObjectStore\S3", "arguments" => ["bucket" => "nextcloud", "autocreate" => true, "key" => "minio", "secret" => "minio123", "hostname" => "localhost", "port" => 9000, "use_ssl" => false, "use_path_style" => true, "uploadPartSize" => 52428800]]];' > config/config.php
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
@@ -65,7 +80,7 @@ jobs:
- name: Integration
run: |
cd build/integration
bash run.sh --tags "~@failure-s3" features/webdav-related.feature
bash run.sh --tags "~@failure-s3" dav_features/webdav-related.feature
- name: S3 logs
if: always()
@@ -77,10 +92,10 @@ jobs:
s3-primary-integration-summary:
runs-on: ubuntu-latest
needs: [s3-primary-integration-tests-minio]
needs: [integration-s3-primary]
if: always()
steps:
- name: Summary status
run: if ${{ needs.s3-primary-integration-tests-minio.result != 'success' }}; then exit 1; fi
run: if ${{ needs.integration-s3-primary.result != 'success' }}; then exit 1; fi
+167
View File
@@ -0,0 +1,167 @@
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
outputs:
# FIXME src: ${{ steps.changes.outputs.src}}
src: 'true'
steps:
- uses: dorny/paths-filter@0bc4621a3135347011ad047f9ecf449bf72ce2bd # v3.0.0
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@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
with:
submodules: true
- name: Checkout Talk app
if: ${{ matrix.test-suite == 'videoverification_features' }}
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
with:
repository: nextcloud/spreed
path: apps/spreed
ref: ${{ matrix.spreed-versions }}
- name: Set up php ${{ matrix.php-versions }}
uses: shivammathur/setup-php@c5fc0d8281aba02c7fda07d3a70cc5371548067d # v2
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
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
@@ -1,39 +0,0 @@
# 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
#
# Use lint-eslint together with lint-eslint-when-unrelated to make eslint a required check for GitHub actions
# https://docs.github.com/en/repositories/configuring-branches-and-merges-in-your-repository/defining-the-mergeability-of-pull-requests/troubleshooting-required-status-checks#handling-skipped-but-required-checks
name: Lint eslint
on:
pull_request:
paths-ignore:
- '.github/workflows/**'
- 'src/**'
- 'apps/**/appinfo/info.xml'
- 'package.json'
- 'package-lock.json'
- 'tsconfig.json'
- '.eslintrc.*'
- '.eslintignore'
- '**.js'
- '**.ts'
- '**.vue'
permissions:
contents: read
jobs:
lint:
permissions:
contents: none
runs-on: ubuntu-latest
name: eslint
steps:
- run: 'echo "No eslint required"'
+52 -18
View File
@@ -10,18 +10,6 @@ name: Lint eslint
on:
pull_request:
paths:
- '.github/workflows/**'
- 'src/**'
- 'apps/**/appinfo/info.xml'
- 'package.json'
- 'package-lock.json'
- 'tsconfig.json'
- '.eslintrc.*'
- '.eslintignore'
- '**.js'
- '**.ts'
- '**.vue'
permissions:
contents: read
@@ -31,24 +19,52 @@ concurrency:
cancel-in-progress: true
jobs:
changes:
runs-on: ubuntu-latest
outputs:
src: ${{ steps.changes.outputs.src}}
steps:
- uses: dorny/paths-filter@0bc4621a3135347011ad047f9ecf449bf72ce2bd # v3.0.0
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
name: eslint
needs: changes
if: needs.changes.outputs.src != 'false'
name: NPM lint
steps:
- name: Checkout
uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab # v3.5.2
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
- name: Read package.json node and npm engines version
uses: skjnldsv/read-package-engines-version-actions@8205673bab74a63eb9b8093402fd9e0e018663a1 # v2.1
uses: skjnldsv/read-package-engines-version-actions@8205673bab74a63eb9b8093402fd9e0e018663a1 # v2.2
id: versions
with:
fallbackNode: '^16'
fallbackNpm: '^7'
fallbackNode: '^20'
fallbackNpm: '^9'
- name: Set up node ${{ steps.versions.outputs.nodeVersion }}
uses: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c # v3
uses: actions/setup-node@b39b52d1213e96004bfcb1c61a8a6fa8ab84f3e8 # v4.0.1
with:
node-version: ${{ steps.versions.outputs.nodeVersion }}
@@ -56,7 +72,25 @@ jobs:
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
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
+41 -3
View File
@@ -15,17 +15,40 @@ concurrency:
cancel-in-progress: true
jobs:
changes:
runs-on: ubuntu-latest
outputs:
src: ${{ steps.changes.outputs.src}}
steps:
- uses: dorny/paths-filter@0bc4621a3135347011ad047f9ecf449bf72ce2bd # v3.0.0
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
name: PHP CS fixer lint
steps:
- name: Checkout
uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab # v3.5.2
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
- name: Set up php
uses: shivammathur/setup-php@c5fc0d8281aba02c7fda07d3a70cc5371548067d # v2
uses: shivammathur/setup-php@4bd44f22a98a19e0950cbad5f31095157cc9621b # v2
with:
php-version: 8.1
coverage: none
@@ -38,3 +61,18 @@ jobs:
- 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
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
+33 -11
View File
@@ -7,11 +7,6 @@ name: Lint php
on:
pull_request:
push:
branches:
- main
- master
- stable*
permissions:
contents: read
@@ -21,20 +16,47 @@ concurrency:
cancel-in-progress: true
jobs:
php-lint:
changes:
runs-on: ubuntu-latest
outputs:
src: ${{ steps.changes.outputs.src}}
steps:
- uses: dorny/paths-filter@0bc4621a3135347011ad047f9ecf449bf72ce2bd # v3.0.0
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.0", "8.1", "8.2" ]
php-versions: [ "8.0", "8.1", "8.2", "8.3" ]
name: php-lint
steps:
- name: Checkout
uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab # v3.5.2
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
- name: Set up php ${{ matrix.php-versions }}
uses: shivammathur/setup-php@c5fc0d8281aba02c7fda07d3a70cc5371548067d # v2
uses: shivammathur/setup-php@4bd44f22a98a19e0950cbad5f31095157cc9621b # v2
with:
php-version: ${{ matrix.php-versions }}
coverage: none
@@ -49,7 +71,7 @@ jobs:
permissions:
contents: none
runs-on: ubuntu-latest
needs: php-lint
needs: [changes, lint]
if: always()
@@ -57,4 +79,4 @@ jobs:
steps:
- name: Summary status
run: if ${{ needs.php-lint.result != 'success' && needs.php-lint.result != 'skipped' }}; then exit 1; fi
run: if ${{ needs.changes.outputs.src != 'false' && needs.lint.result != 'success' }}; then exit 1; fi
+88 -19
View File
@@ -2,16 +2,45 @@ name: Node tests
on:
pull_request:
push:
branches:
- master
- stable*
schedule:
- cron: "5 2 * * *"
concurrency:
group: node-tests-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs:
versions:
changes:
runs-on: ubuntu-latest
if: ${{ github.repository_owner != 'nextcloud-gmbh' }}
outputs:
src: ${{ steps.changes.outputs.src}}
steps:
- uses: dorny/paths-filter@0bc4621a3135347011ad047f9ecf449bf72ce2bd # v3.0.0
id: changes
continue-on-error: true
with:
filters: |
src:
- '.github/workflows/**'
- '**/__tests__/**'
- '**/__mocks__/**'
- '**/src/**'
- '**/appinfo/info.xml'
- 'package.json'
- 'package-lock.json'
- 'tsconfig.json'
- '**.js'
- '**.ts'
- '**.vue'
- '**.handlebars'
versions:
runs-on: ubuntu-latest
needs: changes
if: ${{ github.repository_owner != 'nextcloud-gmbh' && needs.changes.outputs.src != 'false' }}
outputs:
nodeVersion: ${{ steps.versions.outputs.nodeVersion }}
@@ -19,25 +48,31 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
- name: Read package.json node and npm engines version
uses: skjnldsv/read-package-engines-version-actions@8205673bab74a63eb9b8093402fd9e0e018663a1
id: versions
with:
fallbackNode: '^16'
fallbackNpm: '^7'
fallbackNode: '^20'
fallbackNpm: '^9'
test:
runs-on: ubuntu-latest
needs: versions
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@v3
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
- name: Set up node ${{ needs.versions.outputs.nodeVersion }}
uses: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c
uses: actions/setup-node@b39b52d1213e96004bfcb1c61a8a6fa8ab84f3e8
with:
node-version: ${{ needs.versions.outputs.nodeVersion }}
@@ -47,9 +82,12 @@ jobs:
- name: Install dependencies
run: npm ci
- name: Show cypress version
run: npm run cypress:version
- name: Test and process coverage
run: npm run test:coverage
- name: Collect coverage
uses: codecov/codecov-action@eaaf4bedf32dbdc6b720b63067d99c4d77d6047d # v3.1.4
with:
@@ -57,14 +95,19 @@ jobs:
jsunit:
runs-on: ubuntu-latest
needs: versions
needs: [versions, changes]
if: ${{ needs.versions.result != 'failure' && needs.changes.outputs.src != 'false' }}
env:
CYPRESS_INSTALL_BINARY: 0
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
- name: Set up node ${{ needs.versions.outputs.nodeVersion }}
uses: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c
uses: actions/setup-node@b39b52d1213e96004bfcb1c61a8a6fa8ab84f3e8
with:
node-version: ${{ needs.versions.outputs.nodeVersion }}
@@ -74,19 +117,28 @@ jobs:
- name: Install dependencies
run: npm ci
- name: Show cypress version
run: npm run cypress:version
- name: Test
run: npm run test:jsunit
handlebars:
runs-on: ubuntu-latest
needs: versions
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@v3
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
- name: Set up node ${{ needs.versions.outputs.nodeVersion }}
uses: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c
uses: actions/setup-node@b39b52d1213e96004bfcb1c61a8a6fa8ab84f3e8
with:
node-version: ${{ needs.versions.outputs.nodeVersion }}
@@ -96,5 +148,22 @@ jobs:
- name: Install dependencies
run: npm ci
- name: Show cypress version
run: npm run cypress:version
- name: Run compile
run: ./build/compile-handlebars-templates.sh
summary:
permissions:
contents: none
runs-on: ubuntu-latest
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
-43
View File
@@ -1,43 +0,0 @@
# 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
#
# Use node together with node-when-unrelated to make eslint a required check for GitHub actions
# https://docs.github.com/en/repositories/configuring-branches-and-merges-in-your-repository/defining-the-mergeability-of-pull-requests/troubleshooting-required-status-checks#handling-skipped-but-required-checks
name: Node
on:
pull_request:
paths-ignore:
- '.github/workflows/**'
- 'src/**'
- 'apps/**/appinfo/info.xml'
- 'package.json'
- 'package-lock.json'
- 'tsconfig.json'
- '**.js'
- '**.ts'
- '**.vue'
push:
branches:
- main
- master
- stable*
concurrency:
group: node-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs:
build:
permissions:
contents: none
runs-on: ubuntu-latest
name: node
steps:
- name: Skip
run: 'echo "No JS/TS files changed, skipped Node"'
+50 -21
View File
@@ -7,21 +7,6 @@ name: Node
on:
pull_request:
paths:
- '.github/workflows/**'
- 'src/**'
- 'apps/**/appinfo/info.xml'
- 'package.json'
- 'package-lock.json'
- 'tsconfig.json'
- '**.js'
- '**.ts'
- '**.vue'
push:
branches:
- main
- master
- stable*
permissions:
contents: read
@@ -31,23 +16,49 @@ concurrency:
cancel-in-progress: true
jobs:
changes:
runs-on: ubuntu-latest
outputs:
src: ${{ steps.changes.outputs.src}}
steps:
- uses: dorny/paths-filter@0bc4621a3135347011ad047f9ecf449bf72ce2bd # v3.0.0
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'
build:
runs-on: ubuntu-latest
name: node
needs: changes
if: needs.changes.outputs.src != 'false'
name: NPM build
steps:
- name: Checkout
uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab # v3.5.2
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v3.6.0
- name: Read package.json node and npm engines version
uses: skjnldsv/read-package-engines-version-actions@8205673bab74a63eb9b8093402fd9e0e018663a1 # v2.1
uses: skjnldsv/read-package-engines-version-actions@8205673bab74a63eb9b8093402fd9e0e018663a1 # v2.2
id: versions
with:
fallbackNode: '^16'
fallbackNpm: '^7'
fallbackNode: '^20'
fallbackNpm: '^9'
- name: Set up node ${{ steps.versions.outputs.nodeVersion }}
uses: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c # v3
uses: actions/setup-node@b39b52d1213e96004bfcb1c61a8a6fa8ab84f3e8 # v4.0.1
with:
node-version: ${{ steps.versions.outputs.nodeVersion }}
@@ -55,6 +66,9 @@ jobs:
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
@@ -69,3 +83,18 @@ jobs:
git status
git --no-pager diff
exit 1 # make it red to grab attention
summary:
permissions:
contents: none
runs-on: ubuntu-latest
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
+11 -8
View File
@@ -18,25 +18,25 @@ jobs:
strategy:
fail-fast: false
matrix:
branches: ["main", "master", "stable27", "stable26", "stable25", "stable24"]
branches: ["main", "master", "stable28", "stable27", "stable26"]
name: npm-audit-fix-${{ matrix.branches }}
steps:
- name: Checkout
uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab # v3.5.2
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v3.6.0
with:
ref: ${{ matrix.branches }}
- name: Read package.json node and npm engines version
uses: skjnldsv/read-package-engines-version-actions@8205673bab74a63eb9b8093402fd9e0e018663a1 # v2.1
uses: skjnldsv/read-package-engines-version-actions@8205673bab74a63eb9b8093402fd9e0e018663a1 # v2.2
id: versions
with:
fallbackNode: '^16'
fallbackNpm: '^7'
fallbackNode: '^20'
fallbackNpm: '^9'
- name: Set up node ${{ steps.versions.outputs.nodeVersion }}
uses: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c # v3
uses: actions/setup-node@b39b52d1213e96004bfcb1c61a8a6fa8ab84f3e8 # v4.0.1
with:
node-version: ${{ steps.versions.outputs.nodeVersion }}
@@ -49,13 +49,16 @@ jobs:
- name: Run npm ci and npm run build
if: always()
env:
CYPRESS_INSTALL_BINARY: 0
PUPPETEER_SKIP_DOWNLOAD: true
run: |
npm ci
npm run build --if-present
- name: Create Pull Request
if: always()
uses: peter-evans/create-pull-request@284f54f989303d2699d373481a0cfa13ad5a6666 # v5
uses: peter-evans/create-pull-request@153407881ec5c347639a548ade7d8ad1d6740e38 # v5
with:
token: ${{ secrets.COMMAND_BOT_PAT }}
commit-message: "chore(deps): fix npm audit"
+125
View File
@@ -0,0 +1,125 @@
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
outputs:
src: ${{ steps.changes.outputs.src}}
steps:
- uses: dorny/paths-filter@0bc4621a3135347011ad047f9ecf449bf72ce2bd # v3.0.0
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.0', '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@b4ffde65f46336ab88eb53be808477a3936bae11
with:
submodules: true
- name: Set up php ${{ matrix.php-versions }}
uses: shivammathur/setup-php@4bd44f22a98a19e0950cbad5f31095157cc9621b # v2
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@v3
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
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
+131
View File
@@ -0,0 +1,131 @@
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
outputs:
src: ${{ steps.changes.outputs.src}}
steps:
- uses: dorny/paths-filter@0bc4621a3135347011ad047f9ecf449bf72ce2bd # v3.0.0
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-22.04
needs: changes
if: ${{ github.repository_owner != 'nextcloud-gmbh' && needs.changes.outputs.src != 'false' }}
strategy:
matrix:
php-versions: ['8.0', '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@b4ffde65f46336ab88eb53be808477a3936bae11
with:
submodules: true
- name: Set up php ${{ matrix.php-versions }}
uses: shivammathur/setup-php@4bd44f22a98a19e0950cbad5f31095157cc9621b # v2
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@v3
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
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
+121
View File
@@ -0,0 +1,121 @@
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
outputs:
src: ${{ steps.changes.outputs.src}}
steps:
- uses: dorny/paths-filter@0bc4621a3135347011ad047f9ecf449bf72ce2bd # v3.0.0
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.0', '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@b4ffde65f46336ab88eb53be808477a3936bae11
with:
submodules: true
- name: Set up php ${{ matrix.php-versions }}
uses: shivammathur/setup-php@4bd44f22a98a19e0950cbad5f31095157cc9621b # v2
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@v3
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
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
-86
View File
@@ -1,86 +0,0 @@
name: PHPUnit oci
on: pull_request
permissions:
contents: read
concurrency:
group: phpunit-oci-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs:
phpunit-oci:
runs-on: ubuntu-20.04
if: ${{ github.repository_owner != 'nextcloud-gmbh' }}
strategy:
matrix:
php-versions: ['8.0', '8.1', '8.2']
services:
oracle:
image: ghcr.io/gvenzl/oracle-xe:11
# Provide passwords and other environment variables to container
env:
ORACLE_RANDOM_PASSWORD: true
APP_USER: autotest
APP_USER_PASSWORD: owncloud
# Forward Oracle port
ports:
- 1521:1521/tcp
# Provide healthcheck script options for startup
options: >-
--health-cmd healthcheck.sh
--health-interval 10s
--health-timeout 5s
--health-retries 10
steps:
- name: Checkout server
uses: actions/checkout@v3
with:
submodules: true
- name: Set up php ${{ matrix.php-versions }}
uses: shivammathur/setup-php@c5fc0d8281aba02c7fda07d3a70cc5371548067d #v2.25.2
with:
php-version: ${{ matrix.php-versions }}
extensions: ctype, curl, dom, fileinfo, gd, imagick, intl, json, mbstring, oci8, openssl, pcntl, pdo_sqlite, posix, sqlite, xml, zip
tools: phpunit:9
coverage: none
ini-file: development
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Set up Nextcloud
run: |
mkdir data
./occ maintenance:install --verbose --database=oci --database-name=XE --database-host=127.0.0.1 --database-port=1521 --database-user=autotest --database-pass=owncloud --admin-user admin --admin-pass admin
php -f index.php
- name: PHPUnit
working-directory: tests
run: phpunit --configuration phpunit-autotest.xml --group DB,SLOWDB
- name: Run repair steps
run: |
./occ maintenance:repair --include-expensive
summary:
permissions:
contents: none
runs-on: ubuntu-latest
needs: phpunit-oci
if: always()
name: phpunit-oci-summary
steps:
- name: Summary status
run: if ${{ needs.phpunit-oci.result != 'success' }}; then exit 1; fi
+5 -5
View File
@@ -2,10 +2,10 @@ name: OpenAPI
on:
pull_request:
push:
branches:
- master
- stable*
concurrency:
group: openapi-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs:
openapi:
@@ -15,7 +15,7 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
- name: Set up php
uses: shivammathur/setup-php@v2
+7 -4
View File
@@ -2,6 +2,10 @@ 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
@@ -17,7 +21,7 @@ jobs:
steps:
- name: Checkout server before PR
uses: actions/checkout@v3
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
with:
submodules: true
ref: ${{ github.event.pull_request.base.ref }}
@@ -26,7 +30,6 @@ jobs:
uses: shivammathur/setup-php@c5fc0d8281aba02c7fda07d3a70cc5371548067d #v2.25.2
with:
php-version: ${{ matrix.php-versions }}
tools: phpunit:9
extensions: mbstring, fileinfo, intl, sqlite, pdo_sqlite, zip, gd
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
@@ -79,14 +82,14 @@ jobs:
- name: Upload profiles
if: always()
uses: actions/upload-artifact@a8a3f3ad30e3422c9c7b888a15615d19a852ae32
uses: actions/upload-artifact@26f96dfa697d77e81fd5907df203aa23a56210a8
with:
name: profiles
path: |
before.json
after.json
- uses: actions/github-script@v6
- uses: actions/github-script@v7
if: failure() && steps.compare.outcome == 'failure'
with:
github-token: ${{secrets.GITHUB_TOKEN}}
+7 -8
View File
@@ -26,11 +26,11 @@ jobs:
strategy:
matrix:
php-versions: ['8.0']
php-versions: ['8.0','8.3']
steps:
- name: Checkout server
uses: actions/checkout@v3
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
with:
submodules: true
@@ -40,15 +40,14 @@ jobs:
sudo apt-get install -y ffmpeg imagemagick libmagickcore-6.q16-3-extra
- name: Set up php ${{ matrix.php-versions }}
uses: shivammathur/setup-php@9c77701ae57b0c47f6732beebfbdec76e4e5c90a #debian bookworm fix
uses: shivammathur/setup-php@72ae4ccbe57f82bbe08411e84e2130bd4ba1c10f #v2.25.5
with:
php-version: ${{ matrix.php-versions }}
extensions: ctype, curl, dom, fileinfo, gd, imagick, intl, json, mbstring, openssl, pdo_sqlite, posix, sqlite, xml, zip, apcu
tools: phpunit:9
coverage: none
ini-file: development
ini-values:
apc.enabled=on,
apc.enable_cli=on
apc.enabled=on, apc.enable_cli=on, disable_functions= # https://github.com/shivammathur/setup-php/discussions/573
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
@@ -56,10 +55,10 @@ jobs:
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
working-directory: tests
run: phpunit --configuration phpunit-autotest.xml --exclude-group PRIMARY-azure,PRIMARY-s3,PRIMARY-swift,Memcached,Redis,RoutingWeirdness
run: composer run test -- --exclude-group PRIMARY-azure,PRIMARY-s3,PRIMARY-swift,Memcached,Redis,RoutingWeirdness
+144
View File
@@ -0,0 +1,144 @@
# 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
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
outputs:
src: ${{ steps.changes.outputs.src}}
steps:
- uses: dorny/paths-filter@0bc4621a3135347011ad047f9ecf449bf72ce2bd # v3.0.0
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.0']
mariadb-versions: ['10.3', '10.4', '10.5', '10.6', '10.11']
include:
- php-versions: '8.3'
mariadb-versions: '10.6'
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="mysqladmin ping" --health-interval 5s --health-timeout 2s --health-retries 5
steps:
- name: Checkout server
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
with:
submodules: true
- name: Set up php ${{ matrix.php-versions }}
uses: shivammathur/setup-php@4bd44f22a98a19e0950cbad5f31095157cc9621b # v2
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@v3
with:
files: ./clover.db.xml
flags: phpunit-mariadb
- name: Print logs
if: always()
run: |
cat data/nextcloud.log
summary:
permissions:
contents: none
runs-on: ubuntu-latest
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
+123
View File
@@ -0,0 +1,123 @@
# 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
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
outputs:
src: ${{ steps.changes.outputs.src}}
steps:
- uses: dorny/paths-filter@0bc4621a3135347011ad047f9ecf449bf72ce2bd # v3.0.0
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.0', '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@b4ffde65f46336ab88eb53be808477a3936bae11
with:
submodules: true
- name: Set up php ${{ matrix.php-versions }}
uses: shivammathur/setup-php@7fdd3ece872ec7ec4c098ae5ab7637d5e0a96067 # v2
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@v3
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
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
+144
View File
@@ -0,0 +1,144 @@
# 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
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
outputs:
src: ${{ steps.changes.outputs.src }}
steps:
- uses: dorny/paths-filter@0bc4621a3135347011ad047f9ecf449bf72ce2bd # v3.0.0
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.0']
mysql-versions: ['8.0', '8.3']
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 5
steps:
- name: Checkout server
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
with:
submodules: true
- name: Set up php ${{ matrix.php-versions }}
uses: shivammathur/setup-php@4bd44f22a98a19e0950cbad5f31095157cc9621b # v2
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@v3
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
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
+127
View File
@@ -0,0 +1,127 @@
# 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
# 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
outputs:
src: ${{ steps.changes.outputs.src }}
steps:
- uses: dorny/paths-filter@0bc4621a3135347011ad047f9ecf449bf72ce2bd # v3.0.0
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.0', '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@b4ffde65f46336ab88eb53be808477a3936bae11
with:
submodules: true
- name: Set up php ${{ matrix.php-versions }}
uses: shivammathur/setup-php@7fdd3ece872ec7ec4c098ae5ab7637d5e0a96067 # v2
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@v3
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
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
+140
View File
@@ -0,0 +1,140 @@
name: PHPUnit oci
on:
pull_request:
schedule:
- cron: "5 2 * * *"
permissions:
contents: read
concurrency:
group: phpunit-oci-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs:
changes:
runs-on: ubuntu-latest
outputs:
src: ${{ steps.changes.outputs.src }}
steps:
- uses: dorny/paths-filter@0bc4621a3135347011ad047f9ecf449bf72ce2bd # v3.0.0
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-oci:
runs-on: ubuntu-latest
if: ${{ github.repository_owner != 'nextcloud-gmbh' }}
strategy:
matrix:
oracle-versions: ['11']
php-versions: ['8.0', '8.1', '8.2', '8.3']
include:
- php-versions: '8.3'
coverage: ${{ github.event_name != 'pull_request' }}
name: Oracle ${{ matrix.oracle-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
oracle:
image: ghcr.io/gvenzl/oracle-xe:${{ matrix.oracle-versions }}
# Provide passwords and other environment variables to container
env:
ORACLE_RANDOM_PASSWORD: true
APP_USER: oc_autotest
APP_USER_PASSWORD: nextcloud
# Forward Oracle port
ports:
- 4444:1521/tcp
# Provide healthcheck script options for startup
options: >-
--health-cmd healthcheck.sh
--health-interval 10s
--health-timeout 5s
--health-retries 10
steps:
- name: Checkout server
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
with:
submodules: true
- name: Set up php ${{ matrix.php-versions }}
uses: shivammathur/setup-php@4bd44f22a98a19e0950cbad5f31095157cc9621b # v2
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, oci8
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=oci --database-name=XE --database-host=127.0.0.1 --database-port=$DB_PORT --database-user=oc_autotest --database-pass=nextcloud --admin-user admin --admin-pass admin
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@v3
with:
files: ./clover.db.xml
flags: phpunit-oci
- name: Run repair steps
run: |
./occ maintenance:repair --include-expensive
summary:
permissions:
contents: none
runs-on: ubuntu-latest
needs: [changes, phpunit-oci]
if: always()
name: phpunit-oci-summary
steps:
- name: Summary status
run: if ${{ needs.changes.outputs.src != 'false' && needs.phpunit-oci.result != 'success' }}; then exit 1; fi
+143
View File
@@ -0,0 +1,143 @@
# 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
name: PHPUnit pgsql
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
outputs:
src: ${{ steps.changes.outputs.src }}
steps:
- uses: dorny/paths-filter@0bc4621a3135347011ad047f9ecf449bf72ce2bd # v3.0.0
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.0']
# To keep the matrix smaller we ignore PostgreSQL '11', '13', '14' as we already test 10 and 15 as lower and upper bound
postgres-versions: ['10', '15', '16']
include:
- php-versions: '8.3'
postgres-versions: '15'
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@b4ffde65f46336ab88eb53be808477a3936bae11
with:
submodules: true
- name: Set up php ${{ matrix.php-versions }}
uses: shivammathur/setup-php@4bd44f22a98a19e0950cbad5f31095157cc9621b # v2
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@v3
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
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
+127
View File
@@ -0,0 +1,127 @@
# 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
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
outputs:
src: ${{ steps.changes.outputs.src }}
steps:
- uses: dorny/paths-filter@0bc4621a3135347011ad047f9ecf449bf72ce2bd # v3.0.0
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.0', '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@b4ffde65f46336ab88eb53be808477a3936bae11
with:
submodules: true
- name: Set up php ${{ matrix.php-versions }}
uses: shivammathur/setup-php@7fdd3ece872ec7ec4c098ae5ab7637d5e0a96067 # v2
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@v3
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
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
-132
View File
@@ -1,132 +0,0 @@
name: S3 External storage
on:
push:
branches:
- master
- stable*
paths:
- 'apps/files_external/**'
pull_request:
paths:
- 'apps/files_external/**'
env:
APP_NAME: files_external
jobs:
s3-external-tests-minio:
runs-on: ubuntu-latest
if: ${{ github.repository_owner != 'nextcloud-gmbh' }}
strategy:
# do not stop on another job's failure
fail-fast: false
matrix:
php-versions: ['8.0', '8.1']
name: php${{ matrix.php-versions }}-minio
services:
minio:
env:
MINIO_ACCESS_KEY: minio
MINIO_SECRET_KEY: minio123
image: bitnami/minio:2021.10.6
ports:
- "9000:9000"
steps:
- name: Checkout server
uses: actions/checkout@v3
with:
submodules: true
- name: Set up php ${{ matrix.php-versions }}
uses: shivammathur/setup-php@c5fc0d8281aba02c7fda07d3a70cc5371548067d #v2.25.2
with:
php-version: ${{ matrix.php-versions }}
tools: phpunit:9
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
./occ app:enable --force ${{ env.APP_NAME }}
php -S localhost:8080 &
- name: PHPUnit
run: |
echo "<?php return ['run' => true, 'secret' => 'actually-not-secret', 'passwordsalt' => 'actually-not-secret', 'hostname' => 'localhost','key' => 'minio','secret' => 'minio123', 'bucket' => 'bucket', 'port' => 9000, 'use_ssl' => false, 'autocreate' => true, 'use_path_style' => true];" > apps/${{ env.APP_NAME }}/tests/config.amazons3.php
phpunit --configuration tests/phpunit-autotest-external.xml apps/files_external/tests/Storage/Amazons3Test.php
phpunit --configuration tests/phpunit-autotest-external.xml apps/files_external/tests/Storage/VersionedAmazonS3Test.php
- name: S3 logs
if: always()
run: |
docker ps -a
docker logs $(docker ps -aq)
s3-external-tests-localstack:
runs-on: ubuntu-latest
if: ${{ github.repository_owner != 'nextcloud-gmbh' }}
strategy:
# do not stop on another job's failure
fail-fast: false
matrix:
php-versions: ['8.0', '8.1']
name: php${{ matrix.php-versions }}-localstack
services:
minio:
env:
SERVICES: s3
DEBUG: 1
image: localstack/localstack:0.12.7
ports:
- "4566:4566"
steps:
- name: Checkout server
uses: actions/checkout@v3
with:
submodules: true
- name: Set up php ${{ matrix.php-versions }}
uses: shivammathur/setup-php@c5fc0d8281aba02c7fda07d3a70cc5371548067d #v2.25.2
with:
php-version: ${{ matrix.php-versions }}
tools: phpunit:9
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
./occ app:enable --force ${{ env.APP_NAME }}
php -S localhost:8080 &
- name: PHPUnit
run: |
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/${{ env.APP_NAME }}/tests/config.amazons3.php
phpunit --configuration tests/phpunit-autotest-external.xml apps/files_external/tests/Storage/Amazons3Test.php
phpunit --configuration tests/phpunit-autotest-external.xml apps/files_external/tests/Storage/VersionedAmazonS3Test.php
- name: S3 logs
if: always()
run: |
docker ps -a
docker logs $(docker ps -aq)
s3-external-summary:
runs-on: ubuntu-latest
needs: [s3-external-tests-minio, s3-external-tests-localstack]
if: always()
steps:
- name: Summary status
run: if ${{ needs.s3-external-tests-minio.result != 'success' }} || ${{ needs.s3-external-tests-localstack.result != 'success' }}; then exit 1; fi
-78
View File
@@ -1,78 +0,0 @@
name: S3 primary storage
on:
pull_request:
push:
branches:
- master
- stable*
jobs:
s3-primary-tests-minio:
runs-on: ubuntu-20.04
if: ${{ github.repository_owner != 'nextcloud-gmbh' }}
strategy:
# do not stop on another job's failure
fail-fast: false
matrix:
php-versions: ['8.0']
key: ['objectstore', 'objectstore_multibucket']
name: php${{ matrix.php-versions }}-${{ matrix.key }}-minio
services:
minio:
env:
MINIO_ACCESS_KEY: minio
MINIO_SECRET_KEY: minio123
image: bitnami/minio:2021.12.29
ports:
- "9000:9000"
steps:
- name: Checkout server
uses: actions/checkout@v3
with:
submodules: true
- name: Set up php ${{ matrix.php-versions }}
uses: shivammathur/setup-php@c5fc0d8281aba02c7fda07d3a70cc5371548067d #v2.25.2
with:
php-version: ${{ matrix.php-versions }}
tools: phpunit:9
extensions: mbstring, fileinfo, intl, sqlite, pdo_sqlite, zip, gd
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Set up Nextcloud
run: |
mkdir data
echo '<?php $CONFIG=["${{ matrix.key }}" => ["class" => "OC\Files\ObjectStore\S3", "arguments" => ["bucket" => "nextcloud", "autocreate" => true, "key" => "minio", "secret" => "minio123", "hostname" => "localhost", "port" => 9000, "use_ssl" => false, "use_path_style" => true, "uploadPartSize" => 52428800]]];' > 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 index.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
working-directory: tests
run: phpunit --configuration phpunit-autotest.xml --group DB,SLOWDB
- name: S3 logs
if: always()
run: |
docker ps -a
docker logs $(docker ps -aq)
s3-primary-summary:
runs-on: ubuntu-latest
needs: [s3-primary-tests-minio]
if: always()
steps:
- name: Summary status
run: if ${{ needs.s3-primary-tests-minio.result != 'success' }}; then exit 1; fi
+73
View File
@@ -0,0 +1,73 @@
name: SFTP unit tests
on:
pull_request:
paths:
- 'apps/files_external/**'
env:
APP_NAME: files_external
concurrency:
group: sftp-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs:
sftp-tests:
runs-on: ubuntu-latest
if: ${{ github.repository_owner != 'nextcloud-gmbh' }}
strategy:
# do not stop on another job's failure
fail-fast: false
matrix:
php-versions: ['8.0']
sftpd: ['openssh']
name: php${{ matrix.php-versions }}-${{ matrix.sftpd }}
steps:
- name: Checkout server
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
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@c5fc0d8281aba02c7fda07d3a70cc5371548067d #v2.25.2
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: |
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 ${{ env.APP_NAME }}
php -S localhost:8080 &
- name: PHPUnit
run: |
echo "<?php return ['run' => true, 'host' => 'localhost:2222','user' => 'test','password' => 'test', 'root' => 'data'];" > apps/${{ env.APP_NAME }}/tests/config.sftp.php
composer run test:files_external apps/files_external/tests/Storage/SftpTest.php
- name: sftpd logs
if: always()
run: |
ls -l /tmp/sftp
docker logs sftp
sftp-summary:
runs-on: ubuntu-latest
needs: sftp-tests
if: always()
steps:
- name: Summary status
run: if ${{ needs.sftp-tests.result != 'success' }}; then exit 1; fi
+23 -42
View File
@@ -1,20 +1,17 @@
name: Samba Kerberos SSO
on:
push:
branches:
- master
- stable*
paths:
- 'apps/files_external/**'
- '.github/workflows/smb-kerberos.yml'
pull_request:
paths:
- 'apps/files_external/**'
- '.github/workflows/smb-kerberos.yml'
concurrency:
group: smb-kerberos-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs:
smb-kerberos-tests:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
if: ${{ github.repository_owner != 'nextcloud-gmbh' }}
@@ -22,53 +19,37 @@ jobs:
steps:
- name: Checkout server
uses: actions/checkout@v3
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
with:
submodules: true
- name: Checkout user_saml
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
with:
repository: nextcloud/user_saml
path: apps/user_saml
- name: Pull images
run: |
docker pull icewind1991/samba-krb-test-dc
docker pull icewind1991/samba-krb-test-apache
docker pull icewind1991/samba-krb-test-client
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: |
cp apps/files_external/tests/*.sh .
mkdir data
sudo chown -R 33 data apps config
DC_IP=$(./start-dc.sh)
./start-apache.sh $DC_IP $PWD
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: |
docker exec --user 33 apache ./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
docker exec --user 33 apache ./occ config:system:set trusted_domains 1 --value 'httpd.domain.test'
# setup user_saml
docker exec --user 33 apache ./occ app:enable user_saml --force
docker exec --user 33 apache ./occ config:app:set user_saml type --value 'environment-variable'
docker exec --user 33 apache ./occ saml:config:create
docker exec --user 33 apache ./occ saml:config:set 1 --general-uid_mapping=REMOTE_USER
# setup external storage
docker exec --user 33 apache ./occ app:enable files_external --force
docker exec --user 33 apache ./occ files_external:create smb smb smb::kerberosapache
docker exec --user 33 apache ./occ files_external:config 1 host krb.domain.test
docker exec --user 33 apache ./occ files_external:config 1 share netlogon
docker exec --user 33 apache ./occ files_external:list
apps/files_external/tests/sso-setup/setup-sso-nc.sh
- name: Test SSO
run: |
mkdir /tmp/shared/cookies
chmod 0777 /tmp/shared/cookies
echo "SAML login"
./client-cmd.sh ${{ env.DC_IP }} curl -c /shared/cookies/jar -s --negotiate -u testuser@DOMAIN.TEST: --delegation always http://httpd.domain.test/index.php/apps/user_saml/saml/login
echo "Check we are logged in"
CONTENT=$(./client-cmd.sh ${{ env.DC_IP }} curl -b /shared/cookies/jar -s --negotiate -u testuser@DOMAIN.TEST: --delegation always http://httpd.domain.test/remote.php/webdav/smb/test.txt)
CONTENT=$(echo $CONTENT | head -n 1 | tr -d '[:space:]')
[[ $CONTENT == "testfile" ]]
apps/files_external/tests/sso-setup/test-sso-smb.sh ${{ env.DC_IP }}
- name: Show logs
if: failure()
run: |
docker exec --user 33 apache ./occ log:file
FILEPATH=$(docker exec --user 33 apache ./occ log:file | grep "Log file:" | cut -d' ' -f3)
echo "$FILEPATH:"
docker exec --user 33 apache cat $FILEPATH
+1 -1
View File
@@ -15,7 +15,7 @@ jobs:
issues: write
steps:
- uses: actions/stale@v8
- uses: actions/stale@v9
with:
repo-token: ${{ secrets.COMMAND_BOT_PAT }}
stale-issue-message: >
+9 -9
View File
@@ -2,10 +2,10 @@ name: Psalm static code analysis
on:
pull_request:
push:
branches:
- master
- stable*
concurrency:
group: static-code-analysis-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
jobs:
static-code-analysis:
@@ -15,7 +15,7 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
with:
submodules: true
@@ -40,7 +40,7 @@ jobs:
- name: Upload Analysis results to GitHub
if: always()
uses: github/codeql-action/upload-sarif@v2
uses: github/codeql-action/upload-sarif@v3
with:
sarif_file: results.sarif
@@ -49,7 +49,7 @@ jobs:
steps:
- name: Checkout code
uses: actions/checkout@v3
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
with:
submodules: true
@@ -68,7 +68,7 @@ jobs:
- name: Upload Security Analysis results to GitHub
if: always()
uses: github/codeql-action/upload-sarif@v2
uses: github/codeql-action/upload-sarif@v3
with:
sarif_file: results.sarif
@@ -77,7 +77,7 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
with:
submodules: true
+4 -3
View File
@@ -12,12 +12,12 @@ jobs:
strategy:
fail-fast: false
matrix:
branches: ["master", "stable27", "stable26", "stable25", "stable24", "stable23", "stable22"]
branches: ["master", "stable28", "stable27", "stable26", "stable25", "stable24", "stable23", "stable22"]
name: update-ca-certificate-bundle-${{ matrix.branches }}
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
with:
ref: ${{ matrix.branches }}
submodules: true
@@ -26,7 +26,7 @@ jobs:
run: curl --etag-compare build/ca-bundle-etag.txt --etag-save build/ca-bundle-etag.txt --output resources/config/ca-bundle.crt https://curl.se/ca/cacert.pem
- name: Create Pull Request
uses: peter-evans/create-pull-request@v3
uses: peter-evans/create-pull-request@153407881ec5c347639a548ade7d8ad1d6740e38
with:
token: ${{ secrets.COMMAND_BOT_PAT }}
commit-message: "fix(security): Update CA certificate bundle"
@@ -40,3 +40,4 @@ jobs:
labels: |
dependencies
3. to review
reviewers: ChristophWurst, miaulalala, nickvergessen
@@ -0,0 +1,46 @@
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", "stable28", "stable27", "stable26", "stable25", "stable24", "stable23", "stable22"]
name: update-code-signing-crl-${{ matrix.branches }}
steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
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@153407881ec5c347639a548ade7d8ad1d6740e38
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
+3 -3
View File
@@ -14,12 +14,12 @@ jobs:
strategy:
fail-fast: false
matrix:
branches: ["master", "stable27", "stable26", "stable25"]
branches: ["master", "stable28", "stable27", "stable26"]
name: update-psalm-baseline-${{ matrix.branches }}
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
with:
ref: ${{ matrix.branches }}
submodules: true
@@ -50,7 +50,7 @@ jobs:
git checkout composer.json composer.lock lib/composer
- name: Create Pull Request
uses: peter-evans/create-pull-request@v4
uses: peter-evans/create-pull-request@153407881ec5c347639a548ade7d8ad1d6740e38
with:
token: ${{ secrets.COMMAND_BOT_PAT }}
commit-message: Update psalm baseline
+3
View File
@@ -129,6 +129,8 @@ nbproject
/build/bin
/build/lib/
/build/jsdocs/
/build/integration/output/
/build/integration/phpserver.log
/npm-debug.log
/PhantomJS_*
@@ -162,6 +164,7 @@ tests/acceptance/vendor/
composer.phar
/lib/composer/bin
/lib/composer/bamarni
/vendor-bin/**/vendor
./.htaccess
+15
View File
@@ -90,8 +90,23 @@
RewriteRule ^remote/(.*) remote.php [QSA,L]
RewriteRule ^(?:build|tests|config|lib|3rdparty|templates)/.* - [R=404,L]
RewriteRule ^\.well-known/(?!acme-challenge|pki-validation) /index.php [QSA,L]
RewriteRule ^ocm-provider/?$ index.php [QSA,L]
RewriteRule ^(?:\.(?!well-known)|autotest|occ|issue|indie|db_|console).* - [R=404,L]
</IfModule>
# Clients like xDavv5 on Android, or Cyberduck, use chunked requests.
# When FastCGI or FPM is used with apache, requests arrive to Nextcloud without any content.
# This leads to the creation of empty files.
# The following directive will force the problematic requests to be buffered before being forwarded to Nextcloud.
# This way, the "Transfer-Encoding" header is removed, the "Content-Length" header is set, and the request content is proxied to Nextcloud.
# Here are more information about the issue:
# - https://docs.cyberduck.io/mountainduck/issues/fastcgi/
# - https://docs.nextcloud.com/server/latest/admin_manual/issues/general_troubleshooting.html#troubleshooting-webdav
<IfModule setenvif.c>
<Location "/remote.php">
SetEnvIf Transfer-Encoding "chunked" proxy-sendcl=1
</Location>
</IfModule>
AddDefaultCharset utf-8
Options -Indexes
+1
View File
@@ -20,6 +20,7 @@ $config
->notPath('composer')
->notPath('node_modules')
->notPath('vendor')
->in('apps')
->in(__DIR__);
// Ignore additional app directories
+5 -79
View File
@@ -16,12 +16,12 @@
* 🚀 **Expandable with hundreds of Apps** ...like [Calendar](https://github.com/nextcloud/calendar), [Contacts](https://github.com/nextcloud/contacts), [Mail](https://github.com/nextcloud/mail), [Video Chat](https://github.com/nextcloud/spreed) and all those you can discover in our [App Store](https://apps.nextcloud.com)
* 🔒 **Security** with our encryption mechanisms, [HackerOne bounty program](https://hackerone.com/nextcloud) and two-factor authentication.
Do you want to learn more about how you can use Nextcloud to access, share and protect your files, calendars, contacts, communication & more at home and in your organization? [**Learn about all our Features**](https://nextcloud.com/athome/).
Do you want to learn more about how you can use Nextcloud to access, share, and protect your files, calendars, contacts, communication & more at home and in your organization? [**Learn about all our Features**](https://nextcloud.com/athome/).
## Get your Nextcloud 🚚
- ☑️ [**Simply sign up**](https://nextcloud.com/signup/) at one of our providers either through our website or through the apps directly.
- 🖥 [**Install** a server by yourself](https://nextcloud.com/install/#instructions-server) on your hardware or by using one of our ready to use **appliances**
- 🖥 [**Install** a server by yourself](https://nextcloud.com/install/#instructions-server) on your hardware or by using one of our ready-to-use **appliances**
- 📦 Buy one of the [awesome **devices** coming with a preinstalled Nextcloud](https://nextcloud.com/devices/)
- 🏢 Find a [service **provider**](https://nextcloud.com/providers/) who hosts Nextcloud for you or your company
@@ -57,80 +57,6 @@ Several apps that are included by default in regular releases such as [First run
Otherwise, git checkouts can be handled the same as release archives, by using the `stable*` branches. Note they should never be used on production systems.
### Working with front-end code 🏗
#### Building Vue components and scripts
We are moving more and more toward using Vue.js in the front-end, starting with Settings. For building the code on changes, use these terminal commands in the root folder:
```bash
# install dependencies
make dev-setup
# build for development
make build-js
# build for development and watch edits
make watch-js
# build for production with minification
make build-js-production
```
#### Building styles
Styles are written in SCSS and compiled to css.
```bash
# install dependencies
make dev-setup
# compile style sheets
npm run sass
# compile style sheets and watch edits
npm run sass:watch
```
#### Committing changes
**When making changes, also commit the compiled files!**
We still use Handlebars templates in some places in Files and Settings. We will replace these step-by-step with Vue.js, but in the meantime, you need to compile them separately.
If you dont have Handlebars installed yet, you can do it with this terminal command:
```bash
sudo npm install -g handlebars
```
Then inside the root folder of your local Nextcloud development installation, run this command in the terminal every time you changed a `.handlebars` file to compile it:
```bash
./build/compile-handlebars-templates.sh
```
Before checking in JS changes, make sure to also build for production:
```bash
make build-js-production
```
Then add the compiled files for committing.
To save some time, to only rebuild for a specific app, use the following and replace the module with the app name:
```bash
MODULE=user_status make build-js-production
```
Please note that if you used `make build-js` or `make watch-js` before, you'll notice that a lot of files were marked as changed, so might need to clear the workspace first.
### Working with back-end code 🏗
When changing back-end PHP code, in general, no additional steps are needed before checking in.
However, if new files were created, you will need to run the following command to update the autoloader files:
```bash
build/autoloaderchecker.sh
```
After that, please also include the autoloader file changes in your commits.
### Tools we use 🛠
@@ -138,7 +64,7 @@ After that, please also include the autoloader file changes in your commits.
- [🌊 WAVE](https://wave.webaim.org/extension/) for accessibility testing
- [🚨 Lighthouse](https://developers.google.com/web/tools/lighthouse/) for testing performance, accessibility, and more
#### Helpful bots at github :robot:
#### Helpful bots at GitHub :robot:
- 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.
@@ -156,8 +82,8 @@ changed it substantially:
@copyright Copyright (c) <year>, <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.
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.
Please review the [guidelines for contributing](.github/CONTRIBUTING.md) to this repository.
More information how to contribute: [https://nextcloud.com/contribute/](https://nextcloud.com/contribute/)
More information on how to contribute: [https://nextcloud.com/contribute/](https://nextcloud.com/contribute/)
+49 -10
View File
@@ -1,25 +1,64 @@
# Security Policy
## Supported Versions
[Security](https://nextcloud.com/security/) is very important to us.
If you believe you have found a security vulnerability that meets our definition of a security
vulnerability, please report is as described below.
## Context
Please review our [threat model and accepted risks](https://nextcloud.com/security/threat-model) to learn what
is currently considered a security vulnerability versus expected behavior. And review what is considered
[in scope or bounty eligible](https://hackerone.com/nextcloud/policy_scopes).
The latest three major release versions of Nextcloud are currently being supported with security updates.
Please visit https://github.com/nextcloud/server/wiki/Maintenance-and-Release-Schedule for further details.
## Reporting a Vulnerability
Security is very important to us. If you have discovered a security issue with Nextcloud,
please read our responsible disclosure guidelines and contact us at [hackerone.com/nextcloud](https://hackerone.com/nextcloud).
** **Please do _not_ report security vulnerabilities through public GitHub issues.** **
If you have discovered a security matter with Nextcloud, please read our
[responsible disclosure guidelines](https://nextcloud.com/security/) and contact us at
[hackerone.com/nextcloud](https://hackerone.com/nextcloud).
Your report should include:
- Product version
- A vulnerability description
- Reproduction steps
- Any other details you think are likely to be important
A member of the security team will confirm the vulnerability, determine its impact, and develop a fix.
The fix will be applied to the master branch, tested, and packaged in the next security release.
### What to Expect
You should receive an initial acknowledgement within 24 hours in most cases.
A member of the security team will confirm the vulnerability, determine its impact, follow-up with any questions,
and coordinate the fix and publication.
The fix will be applied to all applicable and still supported stable branches, tested, and packaged in the next security release.
The vulnerability will be publicly announced after the release. Finally, your name will be added
to the [hall of fame](https://hackerone.com/nextcloud/thanks) as a thank you from the entire Nextcloud community. Note our
[threat model](https://nextcloud.com/security/threat-model) to know what is expected behavior.
to the [hall of fame](https://hackerone.com/nextcloud/thanks) as a thank you from the entire Nextcloud
community.
If the vulnerability involves an app that is not maintained by Nextcloud (i.e. hosted by the
Nextcloud project but community maintained, or hosted elsewhere), the security team will try to coordinate with the
current maintainer and help to get the issue fixed in similar fashion.
Please visit https://nextcloud.com/security/ for further information about security.
### Bug Bounties
If you are reporting for a bug bounty, more complete reports can contribute to a higher bounty award. Details
on past bounty ranges can be found at [hackerone.com/nextcloud](https://hackerone.com/nextcloud).
## Existing Security Advisories
Published security advisories for the Nextcloud Server, Clients and Apps can be viewed at
[https://github.com/nextcloud/security-advisories/security/advisories](https://github.com/nextcloud/security-advisories/security/advisories).
## Supported Versions
Nextcloud Server major release versions are being supported with security updates for 1 year after their initial release.
Please visit https://github.com/nextcloud/server/wiki/Maintenance-and-Release-Schedule for further details.
## Additional Information
Please visit [https://nextcloud.com/security/](https://nextcloud.com/security/) for further information about Nextcloud security.
Please visit [https://nextcloud.com/security/threat-model](https://nextcloud.com/security/threat-model) for our threat model and accepted risks.
View File
+2 -2
View File
@@ -5,7 +5,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.18.0</version>
<version>1.19.0</version>
<licence>agpl</licence>
<author>Nextcloud</author>
<namespace>AdminAudit</namespace>
@@ -15,7 +15,7 @@
<category>monitoring</category>
<bugs>https://github.com/nextcloud/server/issues</bugs>
<dependencies>
<nextcloud min-version="28" max-version="28"/>
<nextcloud min-version="29" max-version="29"/>
</dependencies>
<background-jobs>
<job>OCA\AdminAudit\BackgroundJobs\Rotate</job>
+2 -2
View File
@@ -1,7 +1,7 @@
OC.L10N.register(
"admin_audit",
{
"Auditing / Logging" : "التدقيق / السجلات",
"Provides logging abilities for Nextcloud such as logging file accesses or otherwise sensitive actions." : "خاصية سجلات المراقبة لـ نكست كلاود مثل الوصول إلى سجلات الملفات أو المعلومات الحساسة الاخرى."
"Auditing / Logging" : "المراجعة / السجلات",
"Provides logging abilities for Nextcloud such as logging file accesses or otherwise sensitive actions." : "تُوفِّر إمكانيات تسجيل و مراجعة سجل الحركات على نكست كلاود."
},
"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 -2
View File
@@ -1,5 +1,5 @@
{ "translations": {
"Auditing / Logging" : "التدقيق / السجلات",
"Provides logging abilities for Nextcloud such as logging file accesses or otherwise sensitive actions." : "خاصية سجلات المراقبة لـ نكست كلاود مثل الوصول إلى سجلات الملفات أو المعلومات الحساسة الاخرى."
"Auditing / Logging" : "المراجعة / السجلات",
"Provides logging abilities for Nextcloud such as logging file accesses or otherwise sensitive actions." : "تُوفِّر إمكانيات تسجيل و مراجعة سجل الحركات على نكست كلاود."
},"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;"
}
+7
View File
@@ -0,0 +1,7 @@
OC.L10N.register(
"admin_audit",
{
"Auditing / Logging" : "Audit / Giriş",
"Provides logging abilities for Nextcloud such as logging file accesses or otherwise sensitive actions." : "Nextcloud üçün fayl girişləri və ya başqa həssas hərəkətlər kimi giriş imkanlarını təmin edir."
},
"nplurals=2; plural=(n != 1);");
+5
View File
@@ -0,0 +1,5 @@
{ "translations": {
"Auditing / Logging" : "Audit / Giriş",
"Provides logging abilities for Nextcloud such as logging file accesses or otherwise sensitive actions." : "Nextcloud üçün fayl girişləri və ya başqa həssas hərəkətlər kimi giriş imkanlarını təmin edir."
},"pluralForm" :"nplurals=2; plural=(n != 1);"
}
+7
View File
@@ -0,0 +1,7 @@
OC.L10N.register(
"admin_audit",
{
"Auditing / Logging" : "Archwilio / Cofnodi",
"Provides logging abilities for Nextcloud such as logging file accesses or otherwise sensitive actions." : "Yn darparu galluoedd cofnodi ar gyfer Nextcloud megis cofnodi mynediadau ffeiliau neu gamau gweithredu sensitif."
},
"nplurals=4; plural=(n==1) ? 0 : (n==2) ? 1 : (n != 8 && n != 11) ? 2 : 3;");
+5
View File
@@ -0,0 +1,5 @@
{ "translations": {
"Auditing / Logging" : "Archwilio / Cofnodi",
"Provides logging abilities for Nextcloud such as logging file accesses or otherwise sensitive actions." : "Yn darparu galluoedd cofnodi ar gyfer Nextcloud megis cofnodi mynediadau ffeiliau neu gamau gweithredu sensitif."
},"pluralForm" :"nplurals=4; plural=(n==1) ? 0 : (n==2) ? 1 : (n != 8 && n != 11) ? 2 : 3;"
}
+1 -1
View File
@@ -1,7 +1,7 @@
OC.L10N.register(
"admin_audit",
{
"Auditing / Logging" : "Auditieren / Protokollieren",
"Auditing / Logging" : "Auditieren/Protokollieren",
"Provides logging abilities for Nextcloud such as logging file accesses or otherwise sensitive actions." : "Stellt Protokollierungsfunktionen für Nextcloud zur Verfügung wie Dateizugriffe oder andere vertrauliche Aktionen."
},
"nplurals=2; plural=(n != 1);");
+1 -1
View File
@@ -1,5 +1,5 @@
{ "translations": {
"Auditing / Logging" : "Auditieren / Protokollieren",
"Auditing / Logging" : "Auditieren/Protokollieren",
"Provides logging abilities for Nextcloud such as logging file accesses or otherwise sensitive actions." : "Stellt Protokollierungsfunktionen für Nextcloud zur Verfügung wie Dateizugriffe oder andere vertrauliche Aktionen."
},"pluralForm" :"nplurals=2; plural=(n != 1);"
}
+7
View File
@@ -0,0 +1,7 @@
OC.L10N.register(
"admin_audit",
{
"Auditing / Logging" : "Eftirlit / Atvikaskráning",
"Provides logging abilities for Nextcloud such as logging file accesses or otherwise sensitive actions." : "Býður upp á atvikaskráningu fyrir Nextcloud, eins og að skrá aðgang að skrám og fleiri viðkvæmar aðgerðir."
},
"nplurals=2; plural=(n % 10 != 1 || n % 100 == 11);");
+5
View File
@@ -0,0 +1,5 @@
{ "translations": {
"Auditing / Logging" : "Eftirlit / Atvikaskráning",
"Provides logging abilities for Nextcloud such as logging file accesses or otherwise sensitive actions." : "Býður upp á atvikaskráningu fyrir Nextcloud, eins og að skrá aðgang að skrám og fleiri viðkvæmar aðgerðir."
},"pluralForm" :"nplurals=2; plural=(n % 10 != 1 || n % 100 == 11);"
}
+1 -1
View File
@@ -2,6 +2,6 @@ OC.L10N.register(
"admin_audit",
{
"Auditing / Logging" : "Auditoria / Registro",
"Provides logging abilities for Nextcloud such as logging file accesses or otherwise sensitive actions." : "Fornece recursos de registro para Nextcloud, como registros de acesso a arquivos ou outras ações confidenciais."
"Provides logging abilities for Nextcloud such as logging file accesses or otherwise sensitive actions." : "Fornece habilidades de registro para o NextCloud, como acessos de arquivo de log ou ações sensíveis."
},
"nplurals=3; plural=(n == 0 || n == 1) ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;");
+1 -1
View File
@@ -1,5 +1,5 @@
{ "translations": {
"Auditing / Logging" : "Auditoria / Registro",
"Provides logging abilities for Nextcloud such as logging file accesses or otherwise sensitive actions." : "Fornece recursos de registro para Nextcloud, como registros de acesso a arquivos ou outras ações confidenciais."
"Provides logging abilities for Nextcloud such as logging file accesses or otherwise sensitive actions." : "Fornece habilidades de registro para o NextCloud, como acessos de arquivo de log ou ações sensíveis."
},"pluralForm" :"nplurals=3; plural=(n == 0 || n == 1) ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;"
}
+7
View File
@@ -0,0 +1,7 @@
OC.L10N.register(
"admin_audit",
{
"Auditing / Logging" : "การตรวจสอบ / บันทึก",
"Provides logging abilities for Nextcloud such as logging file accesses or otherwise sensitive actions." : "ให้ความสามารถในการบันทึก (logging) สำหรับ Nextcloud เช่น การบันทึกการเข้าถึงไฟล์ หรือการดำเนินการที่ละเอียดอ่อน"
},
"nplurals=1; plural=0;");
+5
View File
@@ -0,0 +1,5 @@
{ "translations": {
"Auditing / Logging" : "การตรวจสอบ / บันทึก",
"Provides logging abilities for Nextcloud such as logging file accesses or otherwise sensitive actions." : "ให้ความสามารถในการบันทึก (logging) สำหรับ Nextcloud เช่น การบันทึกการเข้าถึงไฟล์ หรือการดำเนินการที่ละเอียดอ่อน"
},"pluralForm" :"nplurals=1; plural=0;"
}
+5 -4
View File
@@ -34,7 +34,8 @@ class Action {
public function __construct(
private IAuditLogger $logger,
) {}
) {
}
/**
* Log a single action with a log level of info
@@ -45,9 +46,9 @@ class Action {
* @param bool $obfuscateParameters
*/
public function log(string $text,
array $params,
array $elements,
bool $obfuscateParameters = false): void {
array $params,
array $elements,
bool $obfuscateParameters = false): void {
foreach ($elements as $element) {
if (!isset($params[$element])) {
if ($obfuscateParameters) {
@@ -61,7 +61,7 @@ class UserManagement extends Action {
*/
public function assign(string $uid): void {
$this->log(
'UserID assigned: "%s"',
'UserID assigned: "%s"',
[ 'uid' => $uid ],
[ 'uid' ]
);
+7 -7
View File
@@ -101,7 +101,7 @@ class Application extends App implements IBootstrap {
* Register hooks in order to log them
*/
private function registerHooks(IAuditLogger $logger,
ContainerInterface $serverContainer): void {
ContainerInterface $serverContainer): void {
$this->userManagementHooks($logger, $serverContainer->get(IUserSession::class));
$this->groupHooks($logger, $serverContainer->get(IGroupManager::class));
$this->authHooks($logger);
@@ -122,7 +122,7 @@ class Application extends App implements IBootstrap {
}
private function userManagementHooks(IAuditLogger $logger,
IUserSession $userSession): void {
IUserSession $userSession): void {
$userActions = new UserManagement($logger);
Util::connectHook('OC_User', 'post_createUser', $userActions, 'create');
@@ -136,7 +136,7 @@ class Application extends App implements IBootstrap {
}
private function groupHooks(IAuditLogger $logger,
IGroupManager $groupManager): void {
IGroupManager $groupManager): void {
$groupActions = new GroupManagement($logger);
assert($groupManager instanceof GroupManager);
@@ -167,7 +167,7 @@ class Application extends App implements IBootstrap {
}
private function appHooks(IAuditLogger $logger,
IEventDispatcher $eventDispatcher): void {
IEventDispatcher $eventDispatcher): void {
$eventDispatcher->addListener(ManagerEvent::EVENT_APP_ENABLE, function (ManagerEvent $event) use ($logger) {
$appActions = new AppManagement($logger);
$appActions->enableApp($event->getAppID());
@@ -183,7 +183,7 @@ class Application extends App implements IBootstrap {
}
private function consoleHooks(IAuditLogger $logger,
IEventDispatcher $eventDispatcher): void {
IEventDispatcher $eventDispatcher): void {
$eventDispatcher->addListener(ConsoleEvent::class, function (ConsoleEvent $event) use ($logger) {
$appActions = new Console($logger);
$appActions->runCommand($event->getArguments());
@@ -191,7 +191,7 @@ class Application extends App implements IBootstrap {
}
private function fileHooks(IAuditLogger $logger,
IEventDispatcher $eventDispatcher): void {
IEventDispatcher $eventDispatcher): void {
$fileActions = new Files($logger);
$eventDispatcher->addListener(
BeforePreviewFetchedEvent::class,
@@ -264,7 +264,7 @@ class Application extends App implements IBootstrap {
}
private function securityHooks(IAuditLogger $logger,
IEventDispatcher $eventDispatcher): void {
IEventDispatcher $eventDispatcher): void {
$eventDispatcher->addListener(TwoFactorProviderChallengePassed::class, function (TwoFactorProviderChallengePassed $event) use ($logger) {
$security = new Security($logger);
$security->twofactorSuccess($event->getUser(), $event->getProvider());
@@ -27,8 +27,8 @@ declare(strict_types=1);
*/
namespace OCA\AdminAudit\BackgroundJobs;
use OCP\BackgroundJob\TimedJob;
use OCP\AppFramework\Utility\ITimeFactory;
use OCP\BackgroundJob\TimedJob;
use OCP\IConfig;
use OCP\Log\RotationTrait;
@@ -30,6 +30,7 @@ use OCP\EventDispatcher\Event;
use OCP\EventDispatcher\IEventListener;
use OCP\Log\Audit\CriticalActionPerformedEvent;
/** @template-implements IEventListener<CriticalActionPerformedEvent> */
class CriticalActionPerformedEventListener extends Action implements IEventListener {
public function handle(Event $event): void {
if (!($event instanceof CriticalActionPerformedEvent)) {
+4 -4
View File
@@ -5,16 +5,16 @@
<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.11.0</version>
<version>1.12.0</version>
<licence>agpl</licence>
<author>Bjoern Schiessle</author>
<namespace>CloudFederationAPI</namespace>
<types>
<filesystem/>
</types>
<category>files</category>
<bugs>https://github.com/nextcloud/cloud_federation/issues</bugs>
<category>integration</category>
<bugs>https://github.com/nextcloud/server/issues</bugs>
<dependencies>
<nextcloud min-version="28" max-version="28"/>
<nextcloud min-version="29" max-version="29"/>
</dependencies>
</info>
+11 -4
View File
@@ -6,6 +6,7 @@ declare(strict_types=1);
* @copyright Copyright (c) 2020 Joas Schilling <coding@schilljs.com>
*
* @author Joas Schilling <coding@schilljs.com>
* @author Maxence Lange <maxence@artificial-owl.com>
*
* @license GNU AGPL version 3 or any later version
*
@@ -27,15 +28,21 @@ return [
'routes' => [
[
'name' => 'RequestHandler#addShare',
'url' => '/ocm/shares',
'url' => '/shares',
'verb' => 'POST',
'root' => '',
'root' => '/ocm',
],
[
'name' => 'RequestHandler#receiveNotification',
'url' => '/ocm/notifications',
'url' => '/notifications',
'verb' => 'POST',
'root' => '',
'root' => '/ocm',
],
// [
// 'name' => 'RequestHandler#inviteAccepted',
// 'url' => '/invite-accepted',
// 'verb' => 'POST',
// 'root' => '/ocm',
// ]
],
];
+8
View File
@@ -0,0 +1,8 @@
OC.L10N.register(
"cloud_federation_api",
{
"Cloud Federation API" : "API de la federación na nube",
"Enable clouds to communicate with each other and exchange data" : "Permite que les nubes se comuniquen ente elles ya intercambien datos",
"The Cloud Federation API enables various Nextcloud instances to communicate with each other and to exchange data." : "L'API de la federación na nube permite que delles instancies de Nextcloud se comuniquen ente elles ya intercambien datos."
},
"nplurals=2; plural=(n != 1);");
+6
View File
@@ -0,0 +1,6 @@
{ "translations": {
"Cloud Federation API" : "API de la federación na nube",
"Enable clouds to communicate with each other and exchange data" : "Permite que les nubes se comuniquen ente elles ya intercambien datos",
"The Cloud Federation API enables various Nextcloud instances to communicate with each other and to exchange data." : "L'API de la federación na nube permite que delles instancies de Nextcloud se comuniquen ente elles ya intercambien datos."
},"pluralForm" :"nplurals=2; plural=(n != 1);"
}
+8
View File
@@ -0,0 +1,8 @@
OC.L10N.register(
"cloud_federation_api",
{
"Cloud Federation API" : "API de Federación en la Nube",
"Enable clouds to communicate with each other and exchange data" : "Permitir que las nubes se comuniquen entre sí e intercambien datos",
"The Cloud Federation API enables various Nextcloud instances to communicate with each other and to exchange data." : "La API de Federación de Nubes permite que varias instancias de Nextcloud se comuniquen entre sí y intercambien datos."
},
"nplurals=3; plural=n == 1 ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;");
@@ -0,0 +1,6 @@
{ "translations": {
"Cloud Federation API" : "API de Federación en la Nube",
"Enable clouds to communicate with each other and exchange data" : "Permitir que las nubes se comuniquen entre sí e intercambien datos",
"The Cloud Federation API enables various Nextcloud instances to communicate with each other and to exchange data." : "La API de Federación de Nubes permite que varias instancias de Nextcloud se comuniquen entre sí y intercambien datos."
},"pluralForm" :"nplurals=3; plural=n == 1 ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;"
}
+34 -27
View File
@@ -1,9 +1,13 @@
<?php
declare(strict_types=1);
/**
* @copyright Copyright (c) 2017 Bjoern Schiessle <bjoern@schiessle.org>
*
* @author Bjoern Schiessle <bjoern@schiessle.org>
* @author Kate Döen <kate.doeen@nextcloud.com>
* @author Maxence Lange <maxence@artificial-owl.com>
*
* @license GNU AGPL version 3 or any later version
*
@@ -21,18 +25,21 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
*/
namespace OCA\CloudFederationAPI;
use OCP\Capabilities\ICapability;
use OCP\IURLGenerator;
use OCP\OCM\Exceptions\OCMArgumentException;
use OCP\OCM\IOCMProvider;
class Capabilities implements ICapability {
public const API_VERSION = '1.0-proposal1';
/** @var IURLGenerator */
private $urlGenerator;
public function __construct(IURLGenerator $urlGenerator) {
$this->urlGenerator = $urlGenerator;
public function __construct(
private IURLGenerator $urlGenerator,
private IOCMProvider $provider,
) {
}
/**
@@ -46,32 +53,32 @@ class Capabilities implements ICapability {
* resourceTypes: array{
* name: string,
* shareTypes: string[],
* protocols: array{
* webdav: string,
* },
* }[],
* },
* protocols: array<string, string>
* }[],
* },
* }
* @throws OCMArgumentException
*/
public function getCapabilities() {
$url = $this->urlGenerator->linkToRouteAbsolute('cloud_federation_api.requesthandlercontroller.addShare');
$capabilities = ['ocm' =>
[
'enabled' => true,
'apiVersion' => '1.0-proposal1',
'endPoint' => substr($url, 0, strrpos($url, '/')),
'resourceTypes' => [
[
'name' => 'file',
'shareTypes' => ['user', 'group'],
'protocols' => [
'webdav' => '/public.php/webdav/',
]
],
]
]
];
return $capabilities;
$this->provider->setEnabled(true);
$this->provider->setApiVersion(self::API_VERSION);
$pos = strrpos($url, '/');
if (false === $pos) {
throw new OCMArgumentException('generated route should contains a slash character');
}
$this->provider->setEndPoint(substr($url, 0, $pos));
$resource = $this->provider->createNewResourceType();
$resource->setName('file')
->setShareTypes(['user', 'group'])
->setProtocols(['webdav' => '/public.php/webdav/']);
$this->provider->addResourceType($resource);
return ['ocm' => $this->provider->jsonSerialize()];
}
}
@@ -4,6 +4,7 @@
*
* @author Bjoern Schiessle <bjoern@schiessle.org>
* @author Christoph Wurst <christoph@winzerhof-wurst.at>
* @author Maxence Lange <maxence@artificial-owl.com>
* @author Roeland Jago Douma <roeland@famdouma.nl>
* @author Kate Döen <kate.doeen@nextcloud.com>
*
@@ -29,6 +30,7 @@ use OCA\CloudFederationAPI\Config;
use OCA\CloudFederationAPI\ResponseDefinitions;
use OCP\AppFramework\Controller;
use OCP\AppFramework\Http;
use OCP\AppFramework\Http\Attribute\OpenAPI;
use OCP\AppFramework\Http\JSONResponse;
use OCP\Federation\Exceptions\ActionNotSupportedException;
use OCP\Federation\Exceptions\AuthenticationFailedException;
@@ -50,57 +52,25 @@ use Psr\Log\LoggerInterface;
*
* @package OCA\CloudFederationAPI\Controller
*
* @psalm-import-type CloudFederationApiAddShare from ResponseDefinitions
* @psalm-import-type CloudFederationApiValidationError from ResponseDefinitions
* @psalm-import-type CloudFederationApiError from ResponseDefinitions
* @psalm-import-type CloudFederationAPIAddShare from ResponseDefinitions
* @psalm-import-type CloudFederationAPIValidationError from ResponseDefinitions
* @psalm-import-type CloudFederationAPIError from ResponseDefinitions
*/
#[OpenAPI(scope: OpenAPI::SCOPE_FEDERATION)]
class RequestHandlerController extends Controller {
/** @var LoggerInterface */
private $logger;
/** @var IUserManager */
private $userManager;
/** @var IGroupManager */
private $groupManager;
/** @var IURLGenerator */
private $urlGenerator;
/** @var ICloudFederationProviderManager */
private $cloudFederationProviderManager;
/** @var Config */
private $config;
/** @var ICloudFederationFactory */
private $factory;
/** @var ICloudIdManager */
private $cloudIdManager;
public function __construct($appName,
IRequest $request,
LoggerInterface $logger,
IUserManager $userManager,
IGroupManager $groupManager,
IURLGenerator $urlGenerator,
ICloudFederationProviderManager $cloudFederationProviderManager,
Config $config,
ICloudFederationFactory $factory,
ICloudIdManager $cloudIdManager
public function __construct(
string $appName,
IRequest $request,
private LoggerInterface $logger,
private IUserManager $userManager,
private IGroupManager $groupManager,
private IURLGenerator $urlGenerator,
private ICloudFederationProviderManager $cloudFederationProviderManager,
private Config $config,
private ICloudFederationFactory $factory,
private ICloudIdManager $cloudIdManager
) {
parent::__construct($appName, $request);
$this->logger = $logger;
$this->userManager = $userManager;
$this->groupManager = $groupManager;
$this->urlGenerator = $urlGenerator;
$this->cloudFederationProviderManager = $cloudFederationProviderManager;
$this->config = $config;
$this->factory = $factory;
$this->cloudIdManager = $cloudIdManager;
}
/**
@@ -122,13 +92,12 @@ class RequestHandlerController extends Controller {
* @param string $shareType 'group' or 'user' share
* @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{}>
* @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
*/
public function addShare($shareWith, $name, $description, $providerId, $owner, $ownerDisplayName, $sharedBy, $sharedByDisplayName, $protocol, $shareType, $resourceType) {
// check if all required parameters are set
if ($shareWith === null ||
$name === null ||
@@ -246,14 +215,13 @@ class RequestHandlerController extends Controller {
* @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{}>
* @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
*/
public function receiveNotification($notificationType, $resourceType, $providerId, ?array $notification) {
// check if all required parameters are set
if ($notificationType === null ||
$resourceType === null ||
@@ -311,7 +279,7 @@ class RequestHandlerController extends Controller {
);
}
return new JSONResponse($result,Http::STATUS_CREATED);
return new JSONResponse($result, Http::STATUS_CREATED);
}
/**
@@ -1,4 +1,5 @@
<?php
declare(strict_types=1);
/**
@@ -26,15 +27,15 @@ declare(strict_types=1);
namespace OCA\CloudFederationAPI;
/**
* @psalm-type CloudFederationApiAddShare = array{
* @psalm-type CloudFederationAPIAddShare = array{
* recipientDisplayName: string,
* }
*
* @psalm-type CloudFederationApiError = array{
* @psalm-type CloudFederationAPIError = array{
* message: string,
* }
*
* @psalm-type CloudFederationApiValidationError = CloudFederationApiError&array{
* @psalm-type CloudFederationAPIValidationError = CloudFederationAPIError&array{
* validationErrors: array{
* name: string,
* message: string|null,
+2 -7
View File
@@ -76,13 +76,8 @@
},
"protocols": {
"type": "object",
"required": [
"webdav"
],
"properties": {
"webdav": {
"type": "string"
}
"additionalProperties": {
"type": "string"
}
}
}
-3
View File
@@ -1,3 +0,0 @@
{
"directory": "js/vendor"
}
-3
View File
@@ -1,3 +0,0 @@
# compiled vue templates
src/templates.js
js/
+2 -2
View File
@@ -5,7 +5,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.18.0</version>
<version>1.19.0</version>
<licence>agpl</licence>
<author>Arthur Schiwon</author>
<author>Vincent Petry</author>
@@ -16,7 +16,7 @@
<category>social</category>
<bugs>https://github.com/nextcloud/server/issues</bugs>
<dependencies>
<nextcloud min-version="28" max-version="28"/>
<nextcloud min-version="29" max-version="29"/>
</dependencies>
<activity>
-1
View File
@@ -15,7 +15,6 @@ OC.L10N.register(
"No comments yet, start the conversation!" : "Nog geen kommentaar, begin die gesprek!",
"Retry" : "Herprobeer",
"Comment" : "Kommentaar",
"%1$s commented" : "%1$s het kommentaar gelewer",
"_%n unread comment_::_%n unread comments_" : ["%n ongelese kommentaar","%n ongelese kommentare"]
},
"nplurals=2; plural=(n != 1);");
-1
View File
@@ -13,7 +13,6 @@
"No comments yet, start the conversation!" : "Nog geen kommentaar, begin die gesprek!",
"Retry" : "Herprobeer",
"Comment" : "Kommentaar",
"%1$s commented" : "%1$s het kommentaar gelewer",
"_%n unread comment_::_%n unread comments_" : ["%n ongelese kommentaar","%n ongelese kommentare"]
},"pluralForm" :"nplurals=2; plural=(n != 1);"
}
+4 -1
View File
@@ -15,7 +15,11 @@ OC.L10N.register(
"Edit comment" : "تعديل التعليق",
"Delete comment" : "حذف التعليق",
"Cancel edit" : "إلغاء التعديل",
"New comment" : "ملاحظة جديدة",
"Write a comment …" : "أكتُب ملاحظةً ...",
"Post comment" : "أضف تعليق",
"@ for mentions, : for emoji, / for smart picker" : "@ للإشارات، : للإيموجي، / للاقط الذكي",
"Could not reload comments" : "تعذّرت إعادة تحميل الملاحظات",
"No comments yet, start the conversation!" : "لا يوجد تعليقات, ابدأ النقاش الآن!",
"No more messages" : "لامزيد من الرسائل",
"Retry" : "أعد المحاولة",
@@ -27,7 +31,6 @@ OC.L10N.register(
"Comment deleted" : "التعليق حُذف",
"An error occurred while trying to delete the comment" : "حدث خطأ أثناء محاولة حذف التعليق",
"An error occurred while trying to create the comment" : "حدث خطأ أثناء محاولة إنشاء التعليق",
"%1$s commented" : "%1$s كتب تعليق",
"_%n unread comment_::_%n unread comments_" : ["%n تعليق غير مقروء","%n تعليق غير مقروء","تعليقان غير مقروءة","%n تعليقات غير مقروء","%n تعليق غير مقروء","%n تعليق غير مقروء"]
},
"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;");
+4 -1
View File
@@ -13,7 +13,11 @@
"Edit comment" : "تعديل التعليق",
"Delete comment" : "حذف التعليق",
"Cancel edit" : "إلغاء التعديل",
"New comment" : "ملاحظة جديدة",
"Write a comment …" : "أكتُب ملاحظةً ...",
"Post comment" : "أضف تعليق",
"@ for mentions, : for emoji, / for smart picker" : "@ للإشارات، : للإيموجي، / للاقط الذكي",
"Could not reload comments" : "تعذّرت إعادة تحميل الملاحظات",
"No comments yet, start the conversation!" : "لا يوجد تعليقات, ابدأ النقاش الآن!",
"No more messages" : "لامزيد من الرسائل",
"Retry" : "أعد المحاولة",
@@ -25,7 +29,6 @@
"Comment deleted" : "التعليق حُذف",
"An error occurred while trying to delete the comment" : "حدث خطأ أثناء محاولة حذف التعليق",
"An error occurred while trying to create the comment" : "حدث خطأ أثناء محاولة إنشاء التعليق",
"%1$s commented" : "%1$s كتب تعليق",
"_%n unread comment_::_%n unread comments_" : ["%n تعليق غير مقروء","%n تعليق غير مقروء","تعليقان غير مقروءة","%n تعليقات غير مقروء","%n تعليق غير مقروء","%n تعليق غير مقروء"]
},"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;"
}
+11 -11
View File
@@ -4,17 +4,17 @@ OC.L10N.register(
"Comments" : "Comentarios",
"You commented" : "Comentesti",
"{author} commented" : "{author} comentó",
"You commented on %1$s" : "Comentesti en %1$s",
"You commented on {file}" : "Comentesti en {file}",
"%1$s commented on %2$s" : "%1$s comentó en %2$s",
"{author} commented on {file}" : "{autor} comentó en {ficheru}",
"<strong>Comments</strong> for files" : "<strong>Comentarios</strong> pa ficheros",
"Edit comment" : "Editar comentariu",
"Delete comment" : "Desaniciar comentariu",
"No comments yet, start the conversation!" : "Entá nun hai comentarios. ¡Entama una conversación!",
"Retry" : "Retentar",
"_%n unread comment_::_%n unread comments_" : ["%n comentariu ensin lleer","%n comentarios ensin lleer"],
"You commented on %1$s" : "Comentesti en: %1$s",
"You commented on {file}" : "Comentesti en: {file}",
"%1$s commented on %2$s" : "%1$s comentó en: %2$s",
"{author} commented on {file}" : "{author} comentó en {file}",
"No more messages" : "Nun hai más mensaxes",
"_1 new comment_::_{unread} new comments_" : ["1 comentariu nuevu","{unread} comentarios nuevos"],
"Comment" : "Comentariu",
"%1$s commented" : "%1$s comentó"
"An error occurred while trying to edit the comment" : "Prodúxose un error mentanto se tentaba d'editar el comentariu",
"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",
"_%n unread comment_::_%n unread comments_" : ["%n comentariu ensin lleer","%n comentarios ensin lleer"]
},
"nplurals=2; plural=(n != 1);");
+11 -11
View File
@@ -2,17 +2,17 @@
"Comments" : "Comentarios",
"You commented" : "Comentesti",
"{author} commented" : "{author} comentó",
"You commented on %1$s" : "Comentesti en %1$s",
"You commented on {file}" : "Comentesti en {file}",
"%1$s commented on %2$s" : "%1$s comentó en %2$s",
"{author} commented on {file}" : "{autor} comentó en {ficheru}",
"<strong>Comments</strong> for files" : "<strong>Comentarios</strong> pa ficheros",
"Edit comment" : "Editar comentariu",
"Delete comment" : "Desaniciar comentariu",
"No comments yet, start the conversation!" : "Entá nun hai comentarios. ¡Entama una conversación!",
"Retry" : "Retentar",
"_%n unread comment_::_%n unread comments_" : ["%n comentariu ensin lleer","%n comentarios ensin lleer"],
"You commented on %1$s" : "Comentesti en: %1$s",
"You commented on {file}" : "Comentesti en: {file}",
"%1$s commented on %2$s" : "%1$s comentó en: %2$s",
"{author} commented on {file}" : "{author} comentó en {file}",
"No more messages" : "Nun hai más mensaxes",
"_1 new comment_::_{unread} new comments_" : ["1 comentariu nuevu","{unread} comentarios nuevos"],
"Comment" : "Comentariu",
"%1$s commented" : "%1$s comentó"
"An error occurred while trying to edit the comment" : "Prodúxose un error mentanto se tentaba d'editar el comentariu",
"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",
"_%n unread comment_::_%n unread comments_" : ["%n comentariu ensin lleer","%n comentarios ensin lleer"]
},"pluralForm" :"nplurals=2; plural=(n != 1);"
}
-1
View File
@@ -26,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" : "Възникна грешка при опит за създаване на коментар",
"%1$s commented" : "%1$s коментира",
"_%n unread comment_::_%n unread comments_" : ["%n непрочетен коментар","%n непрочетени коментари"]
},
"nplurals=2; plural=(n != 1);");
-1
View File
@@ -24,7 +24,6 @@
"Comment deleted" : " Изтрит е коментар",
"An error occurred while trying to delete the comment" : "Възникна грешка при опит за изтриване на коментара",
"An error occurred while trying to create the comment" : "Възникна грешка при опит за създаване на коментар",
"%1$s commented" : "%1$s коментира",
"_%n unread comment_::_%n unread comments_" : ["%n непрочетен коментар","%n непрочетени коментари"]
},"pluralForm" :"nplurals=2; plural=(n != 1);"
}
+2 -1
View File
@@ -16,6 +16,8 @@ OC.L10N.register(
"Delete comment" : "Suprimeix el comentari",
"Cancel edit" : "Cancel·la l'edició",
"Post comment" : "Publica el comentari",
"@ for mentions, : for emoji, / for smart picker" : "@ per a mencions, : per a emojis, / per al selector intel·ligent",
"Could not reload comments" : "No s'han pogut tornar a carregar els comentaris",
"No comments yet, start the conversation!" : "Encara no hi ha cap comentari. Enceteu la conversa!",
"No more messages" : "No hi ha més missatges",
"Retry" : "Torna-ho a provar",
@@ -27,7 +29,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",
"%1$s commented" : "%1$s ha escrit un comentari",
"_%n unread comment_::_%n unread comments_" : ["%n comentari sense llegir","%n comentaris sense llegir"]
},
"nplurals=2; plural=(n != 1);");
+2 -1
View File
@@ -14,6 +14,8 @@
"Delete comment" : "Suprimeix el comentari",
"Cancel edit" : "Cancel·la l'edició",
"Post comment" : "Publica el comentari",
"@ for mentions, : for emoji, / for smart picker" : "@ per a mencions, : per a emojis, / per al selector intel·ligent",
"Could not reload comments" : "No s'han pogut tornar a carregar els comentaris",
"No comments yet, start the conversation!" : "Encara no hi ha cap comentari. Enceteu la conversa!",
"No more messages" : "No hi ha més missatges",
"Retry" : "Torna-ho a provar",
@@ -25,7 +27,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",
"%1$s commented" : "%1$s ha escrit un comentari",
"_%n unread comment_::_%n unread comments_" : ["%n comentari sense llegir","%n comentaris sense llegir"]
},"pluralForm" :"nplurals=2; plural=(n != 1);"
}
+4 -1
View File
@@ -15,7 +15,11 @@ OC.L10N.register(
"Edit comment" : "Upravit komentář",
"Delete comment" : "Smazat komentář",
"Cancel edit" : "Zrušit úpravu",
"New comment" : "Nový komentář",
"Write a comment …" : "Napsat komentář…",
"Post comment" : "Odeslat komentář",
"@ for mentions, : for emoji, / for smart picker" : "@ pro zmínění, : pro emotikony, / pro inteligentní výběr",
"Could not reload comments" : "Znovunačtení komentářů se nezdařilo",
"No comments yet, start the conversation!" : "Zatím bez komentářů, začněte konverzaci!",
"No more messages" : "Žádné další zprávy",
"Retry" : "Zkusit znovu",
@@ -27,7 +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",
"%1$s commented" : "%1$s okomentováno",
"_%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"]
},
"nplurals=4; plural=(n == 1 && n % 1 == 0) ? 0 : (n >= 2 && n <= 4 && n % 1 == 0) ? 1: (n % 1 != 0 ) ? 2 : 3;");
+4 -1
View File
@@ -13,7 +13,11 @@
"Edit comment" : "Upravit komentář",
"Delete comment" : "Smazat komentář",
"Cancel edit" : "Zrušit úpravu",
"New comment" : "Nový komentář",
"Write a comment …" : "Napsat komentář…",
"Post comment" : "Odeslat komentář",
"@ for mentions, : for emoji, / for smart picker" : "@ pro zmínění, : pro emotikony, / pro inteligentní výběr",
"Could not reload comments" : "Znovunačtení komentářů se nezdařilo",
"No comments yet, start the conversation!" : "Zatím bez komentářů, začněte konverzaci!",
"No more messages" : "Žádné další zprávy",
"Retry" : "Zkusit znovu",
@@ -25,7 +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",
"%1$s commented" : "%1$s okomentováno",
"_%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"]
},"pluralForm" :"nplurals=4; plural=(n == 1 && n % 1 == 0) ? 0 : (n >= 2 && n <= 4 && n % 1 == 0) ? 1: (n % 1 != 0 ) ? 2 : 3;"
}
-1
View File
@@ -27,7 +27,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",
"%1$s commented" : "%1$s kommenterede",
"_%n unread comment_::_%n unread comments_" : ["%n ulæst kommentar","%n ulæste kommentarer"]
},
"nplurals=2; plural=(n != 1);");

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