]> source.dussan.org Git - nextcloud-server.git/log
nextcloud-server.git
14 months agofix: Resolve some psalm issues feat/cors-on-webdav 40537/head
Ferdinand Thiessen [Wed, 20 Sep 2023 18:22:36 +0000 (20:22 +0200)]
fix: Resolve some psalm issues

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
14 months agochore: Compile assets
Ferdinand Thiessen [Wed, 20 Sep 2023 10:31:27 +0000 (12:31 +0200)]
chore: Compile assets

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
14 months agofeat: Implement settings frontend for allowed CORS domains
Ferdinand Thiessen [Wed, 20 Sep 2023 10:28:33 +0000 (12:28 +0200)]
feat: Implement settings frontend for allowed CORS domains

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
14 months agofix: Make CORS handling admin configurable and fix tests
Ferdinand Thiessen [Mon, 18 Sep 2023 09:15:43 +0000 (11:15 +0200)]
fix: Make CORS handling admin configurable and fix tests

Also make sure to only return allowed methods for DAV responses

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
14 months agoRemoved beforeController Logic
noveens [Wed, 30 Aug 2017 18:11:07 +0000 (23:41 +0530)]
Removed beforeController Logic

I removed the beforeController logic here due to the change of handling CORS since PR 28457[1]

According to previous implementation, CORS was only allowed with methods that had @PublicPage notation for preventing CSRF attacks.
But in the latest PR by me, the current implementations is as follows:

    * maintain a white-list of domains for whom CORS is enabled
    * This list can be viewed and edited under settings -> personal -> security

This implementation removes the need for `@PublicPage`[2].

[1] https://github.com/owncloud/core/pull/28457
[2] https://github.com/owncloud/core/pull/28864/

14 months agoEnabled CORS on webdav and ocs
noveens [Fri, 21 Jul 2017 10:04:06 +0000 (15:34 +0530)]
Enabled CORS on webdav and ocs

* Exclude DAV CORS handling when no Origin specified
  This will exclude non-browser clients from CORS handling.
  Fixes some clients like davfs which break when CORS is enabled.
* fix: CORS on WebDAV is not working
  WebDAV is not working at all when used by on browser Javascript because the CORS headers
  are only present in the OPTION request, but not in the subsequent WebDAV methods.
  * This behavior is caused by a erroneous json_decode call while retriving the user's domains whitelist.
    It return an object, so the is_array always fails and no header are sent.
* Add Access-Control-Expose-Headers - to allow clients to access certain headers
* Adding many headers as allowed headers + add capability to read additional allowed headers from config.php

14 months agoMerge pull request #40517 from nextcloud/feat/sharing-status
John Molakvoæ [Wed, 20 Sep 2023 12:55:18 +0000 (14:55 +0200)]
Merge pull request #40517 from nextcloud/feat/sharing-status

14 months agofeat(files): add files_sharing indicator 40517/head
John Molakvoæ (skjnldsv) [Tue, 19 Sep 2023 22:12:20 +0000 (00:12 +0200)]
feat(files): add files_sharing indicator

Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
14 months agoMerge pull request #39626 from nextcloud/fix/remove-litmus-locks-tests
Kate [Wed, 20 Sep 2023 09:32:21 +0000 (11:32 +0200)]
Merge pull request #39626 from nextcloud/fix/remove-litmus-locks-tests

Remove litmus locks tests

14 months agoMerge pull request #40213 from nextcloud/dependabot/npm_and_yarn/nextcloud/browsersli...
Louis [Wed, 20 Sep 2023 08:38:17 +0000 (10:38 +0200)]
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

14 months agoMerge pull request #40504 from nextcloud/fix/remove-ilogger-uses-in-user_ldap
Côme Chilliet [Wed, 20 Sep 2023 08:26:11 +0000 (10:26 +0200)]
Merge pull request #40504 from nextcloud/fix/remove-ilogger-uses-in-user_ldap

Remove deprectated ILogger uses from user_ldap application

14 months agoFix(l10n): Update translations from Transifex
Nextcloud bot [Wed, 20 Sep 2023 00:27:30 +0000 (00:27 +0000)]
Fix(l10n): Update translations from Transifex

Signed-off-by: Nextcloud bot <bot@nextcloud.com>
14 months agoMerge pull request #40481 from nextcloud/fix/guest-pages-contentinfo
Richard Steinmetz [Tue, 19 Sep 2023 21:54:03 +0000 (23:54 +0200)]
Merge pull request #40481 from nextcloud/fix/guest-pages-contentinfo

fix: content info footer on guest pages

14 months agofix: content info footer on guest pages 40481/head
Richard Steinmetz [Mon, 18 Sep 2023 14:06:18 +0000 (16:06 +0200)]
fix: content info footer on guest pages

Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
14 months agochore(assets): Recompile assets 40213/head
nextcloud-command [Tue, 19 Sep 2023 19:24:20 +0000 (19:24 +0000)]
chore(assets): Recompile assets

Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
14 months agoMerge pull request #39964 from nextcloud/dependabot/npm_and_yarn/camelcase-8.0.0
Ferdinand Thiessen [Tue, 19 Sep 2023 19:16:49 +0000 (21:16 +0200)]
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

14 months agoMerge pull request #40488 from nextcloud/bugfix/noid/message-expiration-breaks-pagination
Joas Schilling [Tue, 19 Sep 2023 13:30:57 +0000 (15:30 +0200)]
Merge pull request #40488 from nextcloud/bugfix/noid/message-expiration-breaks-pagination

fix(comments): Use provided offset in best effort when loading comments

14 months agoRemove deprectated ILogger uses from user_ldap application 40504/head
Côme Chilliet [Tue, 19 Sep 2023 13:22:45 +0000 (15:22 +0200)]
Remove deprectated ILogger uses from user_ldap application

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
14 months agofix(systemtags): Add one unittest for to test tags parsing after the dependency was... 39964/head
Ferdinand Thiessen [Tue, 19 Sep 2023 10:30:26 +0000 (12:30 +0200)]
fix(systemtags): Add one unittest for to test tags parsing after the dependency was updated

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
14 months agochore(deps): Bump camelcase from 6.3.0 to 8.0.0
dependabot[bot] [Tue, 19 Sep 2023 10:24:16 +0000 (10:24 +0000)]
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>
14 months agoMerge pull request #40423 from nextcloud/enh/proved-db-as-string
Anna [Tue, 19 Sep 2023 12:06:01 +0000 (14:06 +0200)]
Merge pull request #40423 from nextcloud/enh/proved-db-as-string

14 months agoMerge pull request #39720 from nextcloud/dependabot/composer/build/integration/symfon...
Ferdinand Thiessen [Tue, 19 Sep 2023 11:50:48 +0000 (13:50 +0200)]
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

14 months agoMerge pull request #40210 from nextcloud/dependabot/npm_and_yarn/cypress/webpack...
Ferdinand Thiessen [Tue, 19 Sep 2023 11:49:07 +0000 (13:49 +0200)]
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

14 months agochore(deps): Bump @nextcloud/browserslist-config from 2.3.0 to 3.0.0
dependabot[bot] [Tue, 19 Sep 2023 11:46:11 +0000 (11:46 +0000)]
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>
14 months agoMerge pull request #40355 from nextcloud/dependabot/github_actions/cypress-io/github...
Ferdinand Thiessen [Tue, 19 Sep 2023 11:46:09 +0000 (13:46 +0200)]
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

14 months agoMerge pull request #40052 from nextcloud/dependabot/composer/build/integration/phpuni...
dependabot[bot] [Tue, 19 Sep 2023 11:41:48 +0000 (11:41 +0000)]
Merge pull request #40052 from nextcloud/dependabot/composer/build/integration/phpunit/phpunit-9.6.11

14 months agoenh(db): provide database providers via API 40423/head
Anna Larch [Thu, 14 Sep 2023 12:59:06 +0000 (14:59 +0200)]
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>
14 months agochore(deps-dev): Bump phpunit/phpunit in /build/integration 40052/head
dependabot[bot] [Tue, 19 Sep 2023 09:39:52 +0000 (09:39 +0000)]
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>
14 months agoMerge pull request #39974 from nextcloud/dependabot/github_actions/actions/setup...
Ferdinand Thiessen [Tue, 19 Sep 2023 09:39:12 +0000 (11:39 +0200)]
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

14 months agoMerge pull request #39972 from nextcloud/dependabot/github_actions/peter-evans/create...
Ferdinand Thiessen [Tue, 19 Sep 2023 09:38:24 +0000 (11:38 +0200)]
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

14 months agoMerge pull request #40455 from nextcloud/dependabot/composer/build/integration/phpuni...
Ferdinand Thiessen [Tue, 19 Sep 2023 09:34:56 +0000 (11:34 +0200)]
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

14 months agochore(deps-dev): Bump symfony/event-dispatcher in /build/integration 39720/head
dependabot[bot] [Tue, 19 Sep 2023 09:30:20 +0000 (09:30 +0000)]
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>
14 months agoMerge pull request #40470 from nextcloud/fix/bump-phpseclib/phpseclib-to-2.0.45-in...
Côme Chilliet [Tue, 19 Sep 2023 09:28:49 +0000 (11:28 +0200)]
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

14 months agoMerge pull request #40475 from nextcloud/feat/f2v/systemtags
John Molakvoæ [Tue, 19 Sep 2023 09:09:43 +0000 (11:09 +0200)]
Merge pull request #40475 from nextcloud/feat/f2v/systemtags

14 months agoMerge pull request #39531 from nextcloud/sso-kerberos-fix2
Robin Appelman [Tue, 19 Sep 2023 08:38:32 +0000 (10:38 +0200)]
Merge pull request #39531 from nextcloud/sso-kerberos-fix2

kerberos sso ci fix

14 months agoMerge pull request #40485 from nextcloud/fix/report-test
Simon L [Tue, 19 Sep 2023 07:25:21 +0000 (09:25 +0200)]
Merge pull request #40485 from nextcloud/fix/report-test

fix(dav): fix report tests

14 months agoFix(l10n): Update translations from Transifex
Nextcloud bot [Tue, 19 Sep 2023 00:23:57 +0000 (00:23 +0000)]
Fix(l10n): Update translations from Transifex

Signed-off-by: Nextcloud bot <bot@nextcloud.com>
14 months agofix(dav): fix report tests 40485/head
John Molakvoæ (skjnldsv) [Mon, 18 Sep 2023 15:35:11 +0000 (17:35 +0200)]
fix(dav): fix report tests

Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
14 months agoMerge pull request #40357 from nextcloud/dependabot/github_actions/actions/checkout-4
Andy Scherzinger [Mon, 18 Sep 2023 19:35:01 +0000 (21:35 +0200)]
Merge pull request #40357 from nextcloud/dependabot/github_actions/actions/checkout-4

chore(deps): Bump actions/checkout from 3 to 4

14 months agofix(comments): Use provided offset in best effort when loading comments 40488/head
Joas Schilling [Mon, 18 Sep 2023 18:09:32 +0000 (20:09 +0200)]
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>
14 months agochore(deps): Bump actions/checkout from 3 to 4 40357/head
dependabot[bot] [Mon, 18 Sep 2023 17:15:30 +0000 (17:15 +0000)]
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>
14 months agoMerge pull request #40183 from nextcloud/sftp-fixes
Robin Appelman [Mon, 18 Sep 2023 17:14:27 +0000 (19:14 +0200)]
Merge pull request #40183 from nextcloud/sftp-fixes

SFTP improvements

14 months agouse user_saml from git 39531/head
Robin Appelman [Wed, 9 Aug 2023 15:39:58 +0000 (17:39 +0200)]
use user_saml from git

Signed-off-by: Robin Appelman <robin@icewind.nl>
14 months agoMerge pull request #40480 from privatemaker/fix/dashboard-icon-apps-dark
John Molakvoæ [Mon, 18 Sep 2023 15:24:41 +0000 (17:24 +0200)]
Merge pull request #40480 from privatemaker/fix/dashboard-icon-apps-dark

14 months agoUpdate 3rdparty to master commit 40470/head
Côme Chilliet [Mon, 18 Sep 2023 12:50:22 +0000 (14:50 +0200)]
Update 3rdparty to master commit

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
14 months agoBump phpseclib/phpseclib to 2.0.45 in master
Côme Chilliet [Mon, 18 Sep 2023 08:33:02 +0000 (10:33 +0200)]
Bump phpseclib/phpseclib to 2.0.45 in master

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
14 months agofix(systemtags): fix capabilities and sidebar + tag visibility 40475/head
John Molakvoæ (skjnldsv) [Mon, 18 Sep 2023 14:19:23 +0000 (16:19 +0200)]
fix(systemtags): fix capabilities and sidebar + tag visibility

Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
14 months agokerberos sso ci fixes
Robin Appelman [Fri, 21 Jul 2023 17:47:11 +0000 (19:47 +0200)]
kerberos sso ci fixes

Signed-off-by: Robin Appelman <robin@icewind.nl>
14 months agosftp psalm fixes 40183/head
Robin Appelman [Mon, 4 Sep 2023 14:36:15 +0000 (16:36 +0200)]
sftp psalm fixes

Signed-off-by: Robin Appelman <robin@icewind.nl>
14 months agofix(files): allow downloading folders within user root folders only
John Molakvoæ (skjnldsv) [Mon, 18 Sep 2023 12:06:49 +0000 (14:06 +0200)]
fix(files): allow downloading folders within user root folders only

Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
14 months agofeat(files): add systemtags view
John Molakvoæ (skjnldsv) [Sun, 17 Sep 2023 17:05:54 +0000 (19:05 +0200)]
feat(files): add systemtags view

Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
14 months agoremove stroke= and style= attributes from dashboard.svg 40480/head
Private Maker [Mon, 18 Sep 2023 13:30:21 +0000 (13:30 +0000)]
remove stroke= and style= attributes from dashboard.svg

Signed-off-by: Private Maker <privatemaker@posteo.net>
14 months agoMerge pull request #40465 from nextcloud/fix/customElementRendered
John Molakvoæ [Mon, 18 Sep 2023 13:05:12 +0000 (15:05 +0200)]
Merge pull request #40465 from nextcloud/fix/customElementRendered

14 months agofix(files): CustomElementRender $el replacement bug 40465/head
John Molakvoæ (skjnldsv) [Sun, 17 Sep 2023 12:31:48 +0000 (14:31 +0200)]
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>
14 months agoMerge pull request #40474 from nextcloud/fix/report-dav
John Molakvoæ [Mon, 18 Sep 2023 12:07:10 +0000 (14:07 +0200)]
Merge pull request #40474 from nextcloud/fix/report-dav

14 months agoMerge pull request #39818 from nextcloud/feature/trashbin-restore-improvements#39724
Robin Windey [Mon, 18 Sep 2023 10:38:57 +0000 (12:38 +0200)]
Merge pull request #39818 from nextcloud/feature/trashbin-restore-improvements#39724

Let `occ trashbin:restore` restore also from groupfolders and add filters

14 months agofix(dav): report status 40474/head
John Molakvoæ [Mon, 18 Sep 2023 09:29:15 +0000 (11:29 +0200)]
fix(dav): report status

Signed-off-by: John Molakvoæ <skjnldsv@users.noreply.github.com>
14 months agoMerge pull request #40420 from nextcloud/fix/remove-at-matcher-in-core
Côme Chilliet [Mon, 18 Sep 2023 08:56:09 +0000 (10:56 +0200)]
Merge pull request #40420 from nextcloud/fix/remove-at-matcher-in-core

Remove last calls to deprecated at matcher in tests/Core

14 months agoMerge pull request #39039 from fsamapoor/refactor_lib_private_log
Christoph Wurst [Mon, 18 Sep 2023 08:54:20 +0000 (10:54 +0200)]
Merge pull request #39039 from fsamapoor/refactor_lib_private_log

Refactors lib/private/Log

14 months agoRemove last calls to deprecated at matcher in tests/Core 40420/head
Côme Chilliet [Thu, 14 Sep 2023 11:41:18 +0000 (13:41 +0200)]
Remove last calls to deprecated at matcher in tests/Core

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
14 months agoMerge pull request #40424 from nextcloud/fix/remove-at-matcher-in-dav-2
Côme Chilliet [Mon, 18 Sep 2023 07:46:27 +0000 (09:46 +0200)]
Merge pull request #40424 from nextcloud/fix/remove-at-matcher-in-dav-2

Remove last at matcher call in dav application tests

14 months agoMerge pull request #40419 from nextcloud/fix/remove-at-matcher-in-installer-test
Côme Chilliet [Mon, 18 Sep 2023 07:45:58 +0000 (09:45 +0200)]
Merge pull request #40419 from nextcloud/fix/remove-at-matcher-in-installer-test

Remove deprecated at matcher in tests/lib/InstallerTest.php

14 months agoFix(l10n): Update translations from Transifex
Nextcloud bot [Mon, 18 Sep 2023 00:26:46 +0000 (00:26 +0000)]
Fix(l10n): Update translations from Transifex

Signed-off-by: Nextcloud bot <bot@nextcloud.com>
14 months agoMerge pull request #40358 from nextcloud/automated/noid/master-update-psalm-baseline
Andy Scherzinger [Sun, 17 Sep 2023 08:52:11 +0000 (10:52 +0200)]
Merge pull request #40358 from nextcloud/automated/noid/master-update-psalm-baseline

[master] Update psalm-baseline.xml

14 months agoMerge pull request #40426 from nextcloud/fix/openapi/provisioning_api/quota
Julien Veyssier [Sun, 17 Sep 2023 08:20:27 +0000 (10:20 +0200)]
Merge pull request #40426 from nextcloud/fix/openapi/provisioning_api/quota

provisioning_api: Fix quota constants in OpenAPI

14 months agoMerge pull request #40421 from nextcloud/fix/openapi/core/reference-api
Julien Veyssier [Sun, 17 Sep 2023 08:19:57 +0000 (10:19 +0200)]
Merge pull request #40421 from nextcloud/fix/openapi/core/reference-api

core: Fix OpenAPI for reference API

14 months agoMerge pull request #38610 from fsamapoor/replace_strpos_calls_in_dav_app
Christoph Wurst [Sun, 17 Sep 2023 08:14:20 +0000 (10:14 +0200)]
Merge pull request #38610 from fsamapoor/replace_strpos_calls_in_dav_app

Refactors "strpos" calls in /apps/dav

14 months agoUpdate psalm baseline 40358/head
nextcloud-command [Sun, 17 Sep 2023 02:15:44 +0000 (02:15 +0000)]
Update psalm baseline

Signed-off-by: GitHub <noreply@github.com>
14 months agoFix(l10n): Update translations from Transifex
Nextcloud bot [Sun, 17 Sep 2023 00:26:59 +0000 (00:26 +0000)]
Fix(l10n): Update translations from Transifex

Signed-off-by: Nextcloud bot <bot@nextcloud.com>
14 months agoMerge pull request #40203 from lhsazevedo/fix/mimetype-40064
Simon L [Sat, 16 Sep 2023 19:17:24 +0000 (21:17 +0200)]
Merge pull request #40203 from lhsazevedo/fix/mimetype-40064

14 months agoMerge pull request #40409 from nextcloud/feat/f2v-unread-comments-action
John Molakvoæ [Sat, 16 Sep 2023 12:41:45 +0000 (14:41 +0200)]
Merge pull request #40409 from nextcloud/feat/f2v-unread-comments-action

14 months agorefactor(f2v): Migrate unread comments action to the new FileAction API 40409/head
Lucas Azevedo [Thu, 14 Sep 2023 03:56:59 +0000 (00:56 -0300)]
refactor(f2v): Migrate unread comments action to the new FileAction API

Signed-off-by: Lucas Azevedo <lhs_azevedo@hotmail.com>
14 months agochore(deps-dev): Bump phpunit/phpunit in /build/integration 40455/head
dependabot[bot] [Sat, 16 Sep 2023 02:49:42 +0000 (02:49 +0000)]
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>
14 months agoFix(l10n): Update translations from Transifex
Nextcloud bot [Sat, 16 Sep 2023 00:27:27 +0000 (00:27 +0000)]
Fix(l10n): Update translations from Transifex

Signed-off-by: Nextcloud bot <bot@nextcloud.com>
14 months agoMerge pull request #40418 from nextcloud/fix/noid/dont-join-dav-tags
Daniel [Fri, 15 Sep 2023 17:24:38 +0000 (19:24 +0200)]
Merge pull request #40418 from nextcloud/fix/noid/dont-join-dav-tags

14 months agoMerge pull request #40440 from nextcloud/40396-consider-link-shares-in-remove-share
F. E Noel Nfebe [Fri, 15 Sep 2023 17:04:20 +0000 (18:04 +0100)]
Merge pull request #40440 from nextcloud/40396-consider-link-shares-in-remove-share

Consider link shares in removeShare method in SharingTab

14 months agoConsider link shares in removeShare method in SharingTab 40440/head
fenn-cs [Fri, 15 Sep 2023 15:27:59 +0000 (16:27 +0100)]
Consider link shares in removeShare method in SharingTab

Currently, the `removeShare` method in the `SharingTab` view,
does not take into account `linkShares`.

Since link shares now shares thesame detail view with other share types,
it should therefore be considered hence this commit.

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

Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
14 months agofix: don't use davtags for tag search 40418/head
Daniel Kesselberg [Thu, 14 Sep 2023 10:31:33 +0000 (12:31 +0200)]
fix: don't use davtags for tag search

1. https://github.com/nextcloud/server/pull/26813 Initial implementation with support for systemtags and davtags (vcategory)
2. https://github.com/nextcloud/server/pull/39062 Additional check if the given tag exists, though ISystemTagManager.getAllTags only looks for systemtags

Therefore it's not possible anymore to search for davtags and unnecessary to join the other tables.

Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
14 months agoMerge pull request #40434 from nextcloud/40431-correctly-switch-permissions-radios
Arthur Schiwon [Fri, 15 Sep 2023 13:12:23 +0000 (15:12 +0200)]
Merge pull request #40434 from nextcloud/40431-correctly-switch-permissions-radios

Correctly switch/revert from custom to bundled perms

14 months agoCorrectly switch/revert from custom to bundled perms 40434/head
fenn-cs [Fri, 15 Sep 2023 10:59:03 +0000 (11:59 +0100)]
Correctly switch/revert from custom to bundled perms

We have a set custom permissions checkbox, that when selected should set
the quick permissions settings to custom as well as show the custom permission settings.

When the checkbox is unchecked the quick permissions have to be reset to the default,
`bundledPermissions.ALL` but also users can switch from custom permissions to `bundled`
by just changing the radio select, hence we need a mechanism to set the permissions back
to the correct fallback depending on where the user has toggled the the custom permission from.

The mechanism is `revertSharingPermission` and this commit, makes sure revert values are correctly
set upon toggle.

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

Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
14 months agoMerge pull request #40428 from nextcloud/artonge/fix/users_list_bugs
Louis [Fri, 15 Sep 2023 11:09:47 +0000 (13:09 +0200)]
Merge pull request #40428 from nextcloud/artonge/fix/users_list_bugs

Do not display userCount when it is equal to 0

14 months agoMerge pull request #40411 from nextcloud/artonge/fix/translation
Louis [Fri, 15 Sep 2023 11:00:53 +0000 (13:00 +0200)]
Merge pull request #40411 from nextcloud/artonge/fix/translation

Use t and n for translation

14 months agoMerge pull request #40416 from nextcloud/fix/noid/check-for-user-count
Daniel [Fri, 15 Sep 2023 09:50:37 +0000 (11:50 +0200)]
Merge pull request #40416 from nextcloud/fix/noid/check-for-user-count

14 months agoFix(l10n): Update translations from Transifex
Nextcloud bot [Fri, 15 Sep 2023 00:26:37 +0000 (00:26 +0000)]
Fix(l10n): Update translations from Transifex

Signed-off-by: Nextcloud bot <bot@nextcloud.com>
14 months agochore: compile assets 40428/head
Christopher Ng [Thu, 14 Sep 2023 23:43:09 +0000 (16:43 -0700)]
chore: compile assets

Signed-off-by: Christopher Ng <chrng8@gmail.com>
14 months agofix(ux): Show initial loading state of managers
Christopher Ng [Thu, 14 Sep 2023 23:39:37 +0000 (16:39 -0700)]
fix(ux): Show initial loading state of managers

Signed-off-by: Christopher Ng <chrng8@gmail.com>
14 months agoMerge pull request #40389 from nextcloud/40172-invite-guests-and-others
F. E Noel Nfebe [Thu, 14 Sep 2023 17:33:45 +0000 (18:33 +0100)]
Merge pull request #40389 from nextcloud/40172-invite-guests-and-others

Fix invite guest for new sharing flow

14 months agoProperly align all sharing-entry types 40389/head
fenn-cs [Thu, 14 Sep 2023 14:38:38 +0000 (15:38 +0100)]
Properly align all sharing-entry types

SharingEntryLink and regular ShareEntry were not properly visually aligned
before this commit.

Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
14 months agoDo not display userCount when it is equal to 0
Louis Chemineau [Thu, 14 Sep 2023 14:15:59 +0000 (16:15 +0200)]
Do not display userCount when it is equal to 0

Signed-off-by: Louis Chemineau <louis@chmn.me>
14 months agoReset loading state on UserRow mount
Louis Chemineau [Thu, 14 Sep 2023 14:15:41 +0000 (16:15 +0200)]
Reset loading state on UserRow mount

Signed-off-by: Louis Chemineau <louis@chmn.me>
14 months agoDo not preload potential manager list on UserRow mount
Louis Chemineau [Thu, 14 Sep 2023 14:15:28 +0000 (16:15 +0200)]
Do not preload potential manager list on UserRow mount

Signed-off-by: Louis Chemineau <louis@chmn.me>
14 months agoDo not manipulate userCount when it is equal to 0
Louis Chemineau [Thu, 14 Sep 2023 14:14:32 +0000 (16:14 +0200)]
Do not manipulate userCount when it is equal to 0

Signed-off-by: Louis Chemineau <louis@chmn.me>
14 months agocore: Fix OpenAPI for reference API 40421/head
jld3103 [Thu, 14 Sep 2023 10:26:14 +0000 (12:26 +0200)]
core: Fix OpenAPI for reference API

Signed-off-by: jld3103 <jld3103yt@gmail.com>
14 months agoprovisioning_api: Fix quota constants in OpenAPI 40426/head
jld3103 [Thu, 14 Sep 2023 13:41:10 +0000 (15:41 +0200)]
provisioning_api: Fix quota constants in OpenAPI

Signed-off-by: jld3103 <jld3103yt@gmail.com>
14 months agoRemove last at matcher call in dav application tests 40424/head
Côme Chilliet [Thu, 14 Sep 2023 13:01:26 +0000 (15:01 +0200)]
Remove last at matcher call in dav application tests

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
14 months agoFix invite guest for new sharing flow
fenn-cs [Tue, 12 Sep 2023 22:02:05 +0000 (23:02 +0100)]
Fix invite guest for new sharing flow

Call external handlers such as the one in the guess app
https://github.com/nextcloud/guests/blob/master/src/main.js#L30
if present.

Signed-off-by: fenn-cs <fenn25.fn@gmail.com>
14 months agoRemove deprecated at matcher in tests/lib/InstallerTest.php 40419/head
Côme Chilliet [Thu, 14 Sep 2023 10:52:05 +0000 (12:52 +0200)]
Remove deprecated at matcher in tests/lib/InstallerTest.php

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
14 months agofix: use faster method to fetch user count 40416/head
Daniel Kesselberg [Thu, 14 Sep 2023 09:56:25 +0000 (11:56 +0200)]
fix: use faster method to fetch user count

countUsers: the actual user count reported by the backend.
countSeenUsers: count every user who was logged in once.

1: We should avoid expensive operations (like asking every backend for it's user count) in migrations.
2: The current check is wrong because countUsers returns an array. var_dump([] > 1000) => true ;)

Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
14 months agoMerge pull request #40365 from nextcloud/artonge/fix/do_not_show_related_ressources_w...
Louis [Thu, 14 Sep 2023 09:19:33 +0000 (11:19 +0200)]
Merge pull request #40365 from nextcloud/artonge/fix/do_not_show_related_ressources_when_share_details_is_open

Hide additional content when share details is open

14 months agoMerge branch 'master' into artonge/fix/do_not_show_related_ressources_when_share_deta... 40365/head
F. E Noel Nfebe [Thu, 14 Sep 2023 07:42:18 +0000 (08:42 +0100)]
Merge branch 'master' into artonge/fix/do_not_show_related_ressources_when_share_details_is_open