]> source.dussan.org Git - nextcloud-server.git/log
nextcloud-server.git
3 years agoClean dashboard and weather_status js 28330/head
Christopher Ng [Thu, 5 Aug 2021 22:40:10 +0000 (22:40 +0000)]
Clean dashboard and weather_status js

Signed-off-by: Christopher Ng <chrng8@gmail.com>
3 years agoMerge pull request #28325 from PhrozenByte/enhancement/noid/AutotestPhpunitEnv
Vincent Petry [Thu, 5 Aug 2021 19:50:43 +0000 (21:50 +0200)]
Merge pull request #28325 from PhrozenByte/enhancement/noid/AutotestPhpunitEnv

autotest.sh: Add PHPUNIT_EXE environment variable

3 years agoMerge pull request #28324 from nextcloud/bugfix/noid/avoid-stack-depth-exceed
John Molakvoæ [Thu, 5 Aug 2021 17:01:38 +0000 (19:01 +0200)]
Merge pull request #28324 from nextcloud/bugfix/noid/avoid-stack-depth-exceed

3 years agoAlways list the class of an object first 28324/head
Julius Härtl [Thu, 5 Aug 2021 13:00:41 +0000 (15:00 +0200)]
Always list the class of an object first

Signed-off-by: Julius Härtl <jus@bitgrid.net>
3 years agoSet a maximum level of encoding nested arguments of exception traces
Julius Härtl [Thu, 5 Aug 2021 12:58:03 +0000 (14:58 +0200)]
Set a maximum level of encoding nested arguments of exception traces

This will make sure that nested objects or arrays do not cause exceeding
the maximum nesting level of functions when parsing arguments of an
exception trace

Signed-off-by: Julius Härtl <jus@bitgrid.net>
3 years agoautotest.sh: Add PHPUNIT_EXE environment variable 28325/head
Daniel Rudolf [Thu, 5 Aug 2021 14:42:32 +0000 (16:42 +0200)]
autotest.sh: Add PHPUNIT_EXE environment variable

Signed-off-by: Daniel Rudolf <github.com@daniel-rudolf.de>
3 years agoMerge pull request #28323 from nextcloud/design/logo-fixes
John Molakvoæ [Thu, 5 Aug 2021 14:02:57 +0000 (16:02 +0200)]
Merge pull request #28323 from nextcloud/design/logo-fixes

3 years agoUpdate outdated Enterprise logo 28323/head
Jan C. Borchardt [Thu, 5 Aug 2021 12:44:40 +0000 (14:44 +0200)]
Update outdated Enterprise logo

Signed-off-by: Jan C. Borchardt <hey@jancborchardt.net>
3 years agoFix SVG logo still using strokes, convert to path
Jan C. Borchardt [Thu, 5 Aug 2021 12:44:21 +0000 (14:44 +0200)]
Fix SVG logo still using strokes, convert to path

Signed-off-by: Jan C. Borchardt <hey@jancborchardt.net>
3 years agoMerge pull request #28306 from nextcloud/version/upgrade-22.1
Julius Härtl [Thu, 5 Aug 2021 07:05:22 +0000 (09:05 +0200)]
Merge pull request #28306 from nextcloud/version/upgrade-22.1

3 years ago[tx-robot] updated from transifex
Nextcloud bot [Thu, 5 Aug 2021 02:27:12 +0000 (02:27 +0000)]
[tx-robot] updated from transifex

Signed-off-by: Nextcloud bot <bot@nextcloud.com>
3 years agoMerge pull request #28285 from nextcloud/rakekniven-patch-1
rakekniven [Wed, 4 Aug 2021 12:03:34 +0000 (14:03 +0200)]
Merge pull request #28285 from nextcloud/rakekniven-patch-1

l10n: ignore packed js files from TX sync

3 years agoAllow upgrade from 22.1 28306/head
Julius Härtl [Wed, 4 Aug 2021 06:17:58 +0000 (08:17 +0200)]
Allow upgrade from 22.1

Signed-off-by: Julius Härtl <jus@bitgrid.net>
3 years ago[tx-robot] updated from transifex
Nextcloud bot [Wed, 4 Aug 2021 02:26:38 +0000 (02:26 +0000)]
[tx-robot] updated from transifex

Signed-off-by: Nextcloud bot <bot@nextcloud.com>
3 years ago[tx-robot] updated from transifex
Nextcloud bot [Tue, 3 Aug 2021 02:26:12 +0000 (02:26 +0000)]
[tx-robot] updated from transifex

Signed-off-by: Nextcloud bot <bot@nextcloud.com>
3 years agoMerge pull request #28284 from nextcloud/feat/workflow-auto-update-command-rebase.yml
John Molakvoæ [Mon, 2 Aug 2021 10:57:40 +0000 (12:57 +0200)]
Merge pull request #28284 from nextcloud/feat/workflow-auto-update-command-rebase.yml

Updating command-rebase.yml workflow from template

3 years agol10n: ignore packed js files from TX sync 28285/head
rakekniven [Mon, 2 Aug 2021 08:47:47 +0000 (10:47 +0200)]
l10n: ignore packed js files from TX sync

Signed-off-by: rakekniven <2069590+rakekniven@users.noreply.github.com>
3 years agoUpdating command-rebase.yml workflow from template 28284/head
Nextcloud bot [Mon, 2 Aug 2021 08:44:50 +0000 (08:44 +0000)]
Updating command-rebase.yml workflow from template

Signed-off-by: Nextcloud bot <bot@nextcloud.com>
3 years ago[tx-robot] updated from transifex
Nextcloud bot [Mon, 2 Aug 2021 07:56:32 +0000 (07:56 +0000)]
[tx-robot] updated from transifex

Signed-off-by: Nextcloud bot <bot@nextcloud.com>
3 years ago[tx-robot] updated from transifex
Nextcloud bot [Mon, 2 Aug 2021 07:35:19 +0000 (07:35 +0000)]
[tx-robot] updated from transifex

Signed-off-by: Nextcloud bot <bot@nextcloud.com>
3 years agoMerge pull request #28265 from nextcloud/dependabot/npm_and_yarn/sass-1.37.0
dependabot[bot] [Sun, 1 Aug 2021 02:07:13 +0000 (02:07 +0000)]
Merge pull request #28265 from nextcloud/dependabot/npm_and_yarn/sass-1.37.0

3 years agoBump sass from 1.36.0 to 1.37.0 28265/head
dependabot[bot] [Sat, 31 Jul 2021 18:33:01 +0000 (18:33 +0000)]
Bump sass from 1.36.0 to 1.37.0

Bumps [sass](https://github.com/sass/dart-sass) from 1.36.0 to 1.37.0.
- [Release notes](https://github.com/sass/dart-sass/releases)
- [Changelog](https://github.com/sass/dart-sass/blob/main/CHANGELOG.md)
- [Commits](https://github.com/sass/dart-sass/compare/1.36.0...1.37.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
3 years agoMerge pull request #28267 from nextcloud/dependabot/npm_and_yarn/core-js-3.16.0
dependabot[bot] [Sat, 31 Jul 2021 18:31:13 +0000 (18:31 +0000)]
Merge pull request #28267 from nextcloud/dependabot/npm_and_yarn/core-js-3.16.0

3 years agoBump core-js from 3.15.2 to 3.16.0 28267/head
dependabot[bot] [Sat, 31 Jul 2021 17:12:14 +0000 (17:12 +0000)]
Bump core-js from 3.15.2 to 3.16.0

Bumps [core-js](https://github.com/zloirock/core-js) from 3.15.2 to 3.16.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/compare/v3.15.2...v3.16.0)

---
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: npmbuildbot-nextcloud[bot] <npmbuildbot-nextcloud[bot]@users.noreply.github.com>
3 years agoMerge pull request #28268 from nextcloud/dependabot/npm_and_yarn/css-vars-ponyfill...
dependabot[bot] [Sat, 31 Jul 2021 16:53:17 +0000 (16:53 +0000)]
Merge pull request #28268 from nextcloud/dependabot/npm_and_yarn/css-vars-ponyfill-2.4.6

3 years agoBump css-vars-ponyfill from 2.4.5 to 2.4.6 28268/head
dependabot[bot] [Sat, 31 Jul 2021 01:03:15 +0000 (01:03 +0000)]
Bump css-vars-ponyfill from 2.4.5 to 2.4.6

Bumps [css-vars-ponyfill](https://github.com/jhildenbiddle/css-vars-ponyfill) from 2.4.5 to 2.4.6.
- [Release notes](https://github.com/jhildenbiddle/css-vars-ponyfill/releases)
- [Changelog](https://github.com/jhildenbiddle/css-vars-ponyfill/blob/master/CHANGELOG.md)
- [Commits](https://github.com/jhildenbiddle/css-vars-ponyfill/compare/v2.4.5...v2.4.6)

---
updated-dependencies:
- dependency-name: css-vars-ponyfill
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: npmbuildbot-nextcloud[bot] <npmbuildbot-nextcloud[bot]@users.noreply.github.com>
3 years agoMerge pull request #28266 from nextcloud/dependabot/npm_and_yarn/testing-library...
dependabot[bot] [Sat, 31 Jul 2021 04:13:54 +0000 (04:13 +0000)]
Merge pull request #28266 from nextcloud/dependabot/npm_and_yarn/testing-library/user-event-13.2.1

3 years agoBump @testing-library/user-event from 13.2.0 to 13.2.1 28266/head
dependabot[bot] [Sat, 31 Jul 2021 01:02:32 +0000 (01:02 +0000)]
Bump @testing-library/user-event from 13.2.0 to 13.2.1

Bumps [@testing-library/user-event](https://github.com/testing-library/user-event) from 13.2.0 to 13.2.1.
- [Release notes](https://github.com/testing-library/user-event/releases)
- [Changelog](https://github.com/testing-library/user-event/blob/main/CHANGELOG.md)
- [Commits](https://github.com/testing-library/user-event/compare/v13.2.0...v13.2.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
3 years agoMerge pull request #28260 from nextcloud/fix/failing-user-controller-tests
Christoph Wurst [Fri, 30 Jul 2021 15:34:50 +0000 (17:34 +0200)]
Merge pull request #28260 from nextcloud/fix/failing-user-controller-tests

fix UserController tests

3 years agoMerge pull request #28259 from nextcloud/work/carl/sodium-check
Christoph Wurst [Fri, 30 Jul 2021 15:34:10 +0000 (17:34 +0200)]
Merge pull request #28259 from nextcloud/work/carl/sodium-check

Check that php was compiled with argon2 support or that the php-sodium extensions is installed

3 years agoMerge pull request #27764 from nextcloud/enhancement/resource-search-additional-fields
Christoph Wurst [Fri, 30 Jul 2021 15:32:47 +0000 (17:32 +0200)]
Merge pull request #27764 from nextcloud/enhancement/resource-search-additional-fields

Extend caldav resource search

3 years agoExtend caldav resource search 27764/head
Anna Larch [Fri, 2 Jul 2021 09:45:08 +0000 (11:45 +0200)]
Extend caldav resource search

Signed-off-by: Anna Larch <anna@nextcloud.com>
3 years agofix UserController tests failing because of max_quota app value not provided by mocks 28260/head
Julien Veyssier [Fri, 30 Jul 2021 14:32:08 +0000 (16:32 +0200)]
fix UserController tests failing because of max_quota app value not provided by mocks

Signed-off-by: Julien Veyssier <eneiluj@posteo.net>
3 years agoCheck that php was compiled with argon2 support or that the php-sodium 28259/head
Carl Schwan [Fri, 30 Jul 2021 12:34:05 +0000 (14:34 +0200)]
Check that php was compiled with argon2 support or that the php-sodium
extensions is installed

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
3 years agoMerge pull request #28009 from nextcloud/enh/21045/quota-restrictions
Julien Veyssier [Fri, 30 Jul 2021 08:26:56 +0000 (10:26 +0200)]
Merge pull request #28009 from nextcloud/enh/21045/quota-restrictions

Add quota restrictions options

3 years agoMerge pull request #28240 from nextcloud/accessibility/personal-info
Julius Härtl [Fri, 30 Jul 2021 06:11:31 +0000 (08:11 +0200)]
Merge pull request #28240 from nextcloud/accessibility/personal-info

Add h2 to personal info page, fixing accessibility issue

3 years agoMerge pull request #28242 from nextcloud/fix/tag-multiselect-action-order
Pytal [Thu, 29 Jul 2021 19:39:29 +0000 (12:39 -0700)]
Merge pull request #28242 from nextcloud/fix/tag-multiselect-action-order

Add missing order attribute to tag multiselect action

3 years agorefs #21045 add app config to disable unlimited quota and to set max quota 28009/head
Julien Veyssier [Thu, 29 Jul 2021 11:04:41 +0000 (13:04 +0200)]
refs #21045 add app config to disable unlimited quota and to set max quota
avoid unlimited quota as default_quota fallback value if unlimited quota is not allowed
avoid getting/setting/displaying unlimited default quota if not allowed
implement tests for unlimited quota restrictions

Signed-off-by: Julien Veyssier <eneiluj@posteo.net>
Signed-off-by: npmbuildbot-nextcloud[bot] <npmbuildbot-nextcloud[bot]@users.noreply.github.com>
3 years agoMerge pull request #28237 from nextcloud/work/carl/owncloud-doc
Lukas Reschke [Thu, 29 Jul 2021 17:38:59 +0000 (19:38 +0200)]
Merge pull request #28237 from nextcloud/work/carl/owncloud-doc

Remove some mentions of ownCloud from our api documentation

3 years agoMerge pull request #28238 from nextcloud/accessibility/search
Julius Härtl [Thu, 29 Jul 2021 17:19:08 +0000 (19:19 +0200)]
Merge pull request #28238 from nextcloud/accessibility/search

Fix missing label of Search function

3 years agoadd missing order attribute to tag multiselect action 28242/head
Julien Veyssier [Thu, 29 Jul 2021 16:53:02 +0000 (18:53 +0200)]
add missing order attribute to tag multiselect action

Signed-off-by: Julien Veyssier <eneiluj@posteo.net>
3 years agoFix missing label and accessibility of Search function 28238/head
Jan C. Borchardt [Thu, 29 Jul 2021 14:19:40 +0000 (16:19 +0200)]
Fix missing label and accessibility of Search function

Signed-off-by: Jan C. Borchardt <hey@jancborchardt.net>
3 years agoAdd h2 to personal info page, fixing accessibility issue 28240/head
Jan C. Borchardt [Thu, 29 Jul 2021 14:34:45 +0000 (16:34 +0200)]
Add h2 to personal info page, fixing accessibility issue

Signed-off-by: Jan C. Borchardt <hey@jancborchardt.net>
3 years agoRemove some mentions of ownCloud from our api documentation 28237/head
Carl Schwan [Thu, 29 Jul 2021 13:56:30 +0000 (15:56 +0200)]
Remove some mentions of ownCloud from our api documentation

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
3 years agoMerge pull request #28202 from nextcloud/settings-app-webpack
Julius Härtl [Thu, 29 Jul 2021 07:31:00 +0000 (09:31 +0200)]
Merge pull request #28202 from nextcloud/settings-app-webpack

3 years agoMerge pull request #28175 from nextcloud/jail-search-root
Julius Härtl [Thu, 29 Jul 2021 07:27:53 +0000 (09:27 +0200)]
Merge pull request #28175 from nextcloud/jail-search-root

3 years agoBuild 28202/head
Christopher Ng [Wed, 28 Jul 2021 22:58:24 +0000 (22:58 +0000)]
Build

Signed-off-by: Christopher Ng <chrng8@gmail.com>
3 years agoRemove chunkhash
Christopher Ng [Wed, 28 Jul 2021 03:59:59 +0000 (03:59 +0000)]
Remove chunkhash

Signed-off-by: Christopher Ng <chrng8@gmail.com>
3 years agoMerge pull request #28143 from nextcloud/dependabot/npm_and_yarn/nextcloud/vue-4.0.3
MichaIng [Wed, 28 Jul 2021 21:24:33 +0000 (23:24 +0200)]
Merge pull request #28143 from nextcloud/dependabot/npm_and_yarn/nextcloud/vue-4.0.3

Bump @nextcloud/vue from 3.10.1 to 4.0.3

3 years agoBump @nextcloud/vue from 3.10.1 to 4.0.3 28143/head
dependabot[bot] [Wed, 28 Jul 2021 19:38:35 +0000 (19:38 +0000)]
Bump @nextcloud/vue from 3.10.1 to 4.0.3

Bumps [@nextcloud/vue](https://github.com/nextcloud/nextcloud-vue) from 3.10.1 to 4.0.3.
- [Release notes](https://github.com/nextcloud/nextcloud-vue/releases)
- [Changelog](https://github.com/nextcloud/nextcloud-vue/blob/master/CHANGELOG.md)
- [Commits](https://github.com/nextcloud/nextcloud-vue/compare/v3.10.1...v4.0.3)

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

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: npmbuildbot-nextcloud[bot] <npmbuildbot-nextcloud[bot]@users.noreply.github.com>
3 years agoMerge pull request #27920 from nextcloud/fix/21263/breadcrumb-wrong-float-width-compa...
Julien Veyssier [Wed, 28 Jul 2021 16:45:29 +0000 (18:45 +0200)]
Merge pull request #27920 from nextcloud/fix/21263/breadcrumb-wrong-float-width-comparison

Fix Files breadcrumbs being hidden even if there is enough space

3 years agoMerge pull request #28147 from nextcloud/dependabot/npm_and_yarn/marked-2.1.3
John Molakvoæ [Wed, 28 Jul 2021 16:05:15 +0000 (18:05 +0200)]
Merge pull request #28147 from nextcloud/dependabot/npm_and_yarn/marked-2.1.3

Bump marked from 2.0.6 to 2.1.3

3 years agoUpdate update-psalm-baseline.yml
John Molakvoæ [Wed, 28 Jul 2021 16:04:40 +0000 (18:04 +0200)]
Update update-psalm-baseline.yml

3 years agoMerge pull request #28210 from nextcloud/allow-to-disable-group-change-mail-notification
Julius Härtl [Wed, 28 Jul 2021 15:13:49 +0000 (17:13 +0200)]
Merge pull request #28210 from nextcloud/allow-to-disable-group-change-mail-notification

Allow to disable group membership change notification

3 years agoadd test for searching within a "root jail" 28175/head
Robin Appelman [Wed, 28 Jul 2021 15:11:12 +0000 (17:11 +0200)]
add test for searching within a "root jail"

Signed-off-by: Robin Appelman <robin@icewind.nl>
3 years agorefs #21263 round numbers when checking if breadcrumbs should be hidden 27920/head
Julien Veyssier [Mon, 12 Jul 2021 09:36:50 +0000 (11:36 +0200)]
refs #21263 round numbers when checking if breadcrumbs should be hidden

Signed-off-by: Julien Veyssier <eneiluj@posteo.net>
3 years agoMerge pull request #28174 from nextcloud/feature/set_openfile_for_internal_links
John Molakvoæ [Wed, 28 Jul 2021 13:03:54 +0000 (15:03 +0200)]
Merge pull request #28174 from nextcloud/feature/set_openfile_for_internal_links

3 years agoAllow to disable group change notification 28210/head
Marco Ambrosini [Wed, 28 Jul 2021 10:23:47 +0000 (12:23 +0200)]
Allow to disable group change notification

Signed-off-by: Marco Ambrosini <marcoambrosini@pm.me>
3 years agoFix typo 28174/head
Louis [Wed, 28 Jul 2021 09:15:03 +0000 (11:15 +0200)]
Fix typo

Co-authored-by: Pytal <24800714+Pytal@users.noreply.github.com>
3 years agoMerge pull request #27751 from nextcloud/enh/23769/accept-decline-fed-sharing-ui
Julius Härtl [Wed, 28 Jul 2021 08:38:23 +0000 (10:38 +0200)]
Merge pull request #27751 from nextcloud/enh/23769/accept-decline-fed-sharing-ui

3 years agoAdd checkout token
John Molakvoæ [Wed, 28 Jul 2021 05:40:58 +0000 (07:40 +0200)]
Add checkout token

3 years agoUse COMMAND_BOT_PAT
John Molakvoæ [Wed, 28 Jul 2021 05:34:47 +0000 (07:34 +0200)]
Use COMMAND_BOT_PAT

3 years agoMerge pull request #27893 from nextcloud/fix/comments-file-action
Julien Veyssier [Tue, 27 Jul 2021 15:04:47 +0000 (17:04 +0200)]
Merge pull request #27893 from nextcloud/fix/comments-file-action

Fix comments file action sidebar opening

3 years agoMerge pull request #27886 from ecsecta/keep_pw_based_authntoken_alive_on_pwlesslogin
Lukas Reschke [Tue, 27 Jul 2021 12:37:15 +0000 (14:37 +0200)]
Merge pull request #27886 from ecsecta/keep_pw_based_authntoken_alive_on_pwlesslogin

Keep pw based auth tokens valid when pw-less login happens

3 years agoFix remote share deletion when deleting user 27751/head
Vincent Petry [Tue, 27 Jul 2021 12:32:51 +0000 (14:32 +0200)]
Fix remote share deletion when deleting user

When deleting a user, we should only delete the direct remote user
shares or the remote group based subshares.

Signed-off-by: Vincent Petry <vincent@nextcloud.com>
3 years agoDelete dependabot-approve-merge.yml
John Molakvoæ [Tue, 27 Jul 2021 11:46:44 +0000 (13:46 +0200)]
Delete dependabot-approve-merge.yml

3 years agoSet openfile params when following internal links
Louis Chemineau [Mon, 26 Jul 2021 14:13:49 +0000 (16:13 +0200)]
Set openfile params when following internal links

Signed-off-by: Louis Chemineau <louis@chmn.me>
3 years agoFix route path for pending remote shares
Vincent Petry [Tue, 27 Jul 2021 11:30:44 +0000 (13:30 +0200)]
Fix route path for pending remote shares

Signed-off-by: Vincent Petry <vincent@nextcloud.com>
3 years agoReplace ILogger with LoggerInterface in remote share manager
Vincent Petry [Tue, 20 Jul 2021 18:36:26 +0000 (20:36 +0200)]
Replace ILogger with LoggerInterface in remote share manager

Signed-off-by: Vincent Petry <vincent@nextcloud.com>
Co-authored-by: Carl Schwan <carl@carlschwan.eu>
3 years agofix jsunit tests for comments 27893/head
Julien Veyssier [Tue, 27 Jul 2021 10:57:44 +0000 (12:57 +0200)]
fix jsunit tests for comments

Signed-off-by: Julien Veyssier <eneiluj@posteo.net>
3 years agoFix remote group share decline+accept code path
Vincent Petry [Tue, 20 Jul 2021 14:42:19 +0000 (16:42 +0200)]
Fix remote group share decline+accept code path

When declining a remote group share through the dialog that appears when
notifications are off, the mount point is now correctly saved when
re-accepting.

Signed-off-by: Vincent Petry <vincent@nextcloud.com>
3 years agoUse mimetype instead of type when defaulting in remote shares
Vincent Petry [Mon, 19 Jul 2021 21:14:06 +0000 (23:14 +0200)]
Use mimetype instead of type when defaulting in remote shares

Signed-off-by: Vincent Petry <vincent@nextcloud.com>
3 years agoFix external share manager with multiple user groups
Vincent Petry [Tue, 13 Jul 2021 15:51:52 +0000 (17:51 +0200)]
Fix external share manager with multiple user groups

Use query builder with proper matching for finding the group names.

Signed-off-by: Vincent Petry <vincent@nextcloud.com>
3 years agoFix remote group share API interactions
Vincent Petry [Mon, 5 Jul 2021 14:07:02 +0000 (16:07 +0200)]
Fix remote group share API interactions

Accepting and declining can now be done repeatedly on both the parent
group share and sub-share with the same effects.

Added unit tests to cover these cases, and also when the same operation
is repeated.

Signed-off-by: Vincent Petry <vincent@nextcloud.com>
3 years agoDisable default actions in pending file list
Vincent Petry [Mon, 5 Jul 2021 10:13:53 +0000 (12:13 +0200)]
Disable default actions in pending file list

Signed-off-by: Vincent Petry <vincent@nextcloud.com>
3 years agoPending remote group share fixes
Vincent Petry [Fri, 2 Jul 2021 16:16:34 +0000 (18:16 +0200)]
Pending remote group share fixes

Only remove reject share for remote group shares
Also fix share indicator to appear for remote group shares as well.
Fix pending remote share icon to be the one of a share.

Signed-off-by: Vincent Petry <vincent@nextcloud.com>
3 years agoFix re-accepting or re-rejecting remote group shares
Vincent Petry [Fri, 2 Jul 2021 15:46:16 +0000 (17:46 +0200)]
Fix re-accepting or re-rejecting remote group shares

When accepting a group share, a sub-share entry is created which also
has a different id.

When accepting or rejecting the sub-share, simply update the "accepted"
flag instead of trying to re-insert the entry.

Adjust getShare to also properly validate group share membership
when called on a sub-share id.

Signed-off-by: Vincent Petry <vincent@nextcloud.com>
3 years agoAdd logging to external shares manager
Vincent Petry [Fri, 2 Jul 2021 15:45:03 +0000 (17:45 +0200)]
Add logging to external shares manager

Instead of just returning false, also log the exception to make
debugging database issues easier.

Signed-off-by: Vincent Petry <vincent@nextcloud.com>
3 years agoRemove "Reject share" for pending remote shares
Vincent Petry [Fri, 2 Jul 2021 15:42:55 +0000 (17:42 +0200)]
Remove "Reject share" for pending remote shares

In the list of pending shares, the option for rejecting the share has
been removed.

Signed-off-by: Vincent Petry <vincent@nextcloud.com>
3 years agoFix received federated group shares
Vincent Petry [Fri, 2 Jul 2021 07:58:54 +0000 (09:58 +0200)]
Fix received federated group shares

Fix pending shares endpoint to consider user-specific sub-entries
for group shares whenever a share was accepted or declined.

Added unit test for adding remote group shares.

Fixed "removeUserShares" to not send a remote request as we never send
remote requests for group shares.

Signed-off-by: Vincent Petry <vincent@nextcloud.com>
3 years agoExtend pending shares list to include remote shares
Vincent Petry [Thu, 1 Jul 2021 15:26:00 +0000 (17:26 +0200)]
Extend pending shares list to include remote shares

And adjust the accept/decline actions to use the right endpoint for
remote shares.

Signed-off-by: Vincent Petry <vincent@nextcloud.com>
3 years agoAdd files via upload
John Molakvoæ [Tue, 27 Jul 2021 10:00:36 +0000 (12:00 +0200)]
Add files via upload

3 years agofix comments file action sidebar opening
Julien Veyssier [Tue, 27 Jul 2021 08:31:37 +0000 (10:31 +0200)]
fix comments file action sidebar opening

Signed-off-by: Julien Veyssier <eneiluj@posteo.net>
Signed-off-by: npmbuildbot-nextcloud[bot] <npmbuildbot-nextcloud[bot]@users.noreply.github.com>
3 years agoUpdate dependabot-approve-merge.yml
John Molakvoæ [Tue, 27 Jul 2021 06:16:41 +0000 (08:16 +0200)]
Update dependabot-approve-merge.yml

3 years agoBump marked from 2.0.6 to 2.1.3 28147/head
dependabot[bot] [Mon, 26 Jul 2021 20:01:07 +0000 (20:01 +0000)]
Bump marked from 2.0.6 to 2.1.3

Bumps [marked](https://github.com/markedjs/marked) from 2.0.6 to 2.1.3.
- [Release notes](https://github.com/markedjs/marked/releases)
- [Changelog](https://github.com/markedjs/marked/blob/master/release.config.js)
- [Commits](https://github.com/markedjs/marked/compare/v2.0.6...v2.1.3)

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

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: npmbuildbot-nextcloud[bot] <npmbuildbot-nextcloud[bot]@users.noreply.github.com>
3 years agoMerge pull request #28173 from nextcloud/fix/variable_override_in_file_view
Julius Härtl [Mon, 26 Jul 2021 19:11:10 +0000 (21:11 +0200)]
Merge pull request #28173 from nextcloud/fix/variable_override_in_file_view

Fix variable override in file view

3 years agoMerge pull request #28127 from nextcloud/dependabot/various
John Molakvoæ [Mon, 26 Jul 2021 18:05:04 +0000 (20:05 +0200)]
Merge pull request #28127 from nextcloud/dependabot/various

3 years agoBump p-queue 28127/head
John Molakvoæ (skjnldsv) [Fri, 23 Jul 2021 11:56:38 +0000 (13:56 +0200)]
Bump p-queue

Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
3 years agoBump vue and fix babel warning
John Molakvoæ (skjnldsv) [Fri, 23 Jul 2021 11:43:46 +0000 (13:43 +0200)]
Bump vue and fix babel warning

Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
3 years agoBump dependencies
John Molakvoæ (skjnldsv) [Fri, 23 Jul 2021 11:40:33 +0000 (13:40 +0200)]
Bump dependencies

Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
3 years agoAdd command-compile
John Molakvoæ [Mon, 26 Jul 2021 16:44:29 +0000 (18:44 +0200)]
Add command-compile

3 years agodont apply jail search filter is on the root
Robin Appelman [Mon, 26 Jul 2021 15:44:52 +0000 (17:44 +0200)]
dont apply jail search filter is on the root

the extra '/' breaks things and the filter wouldn't do anything anyway except making the databases job harder

Signed-off-by: Robin Appelman <robin@icewind.nl>
3 years agoFix variabable override in file view 28173/head
Louis Chemineau [Mon, 26 Jul 2021 13:47:37 +0000 (15:47 +0200)]
Fix variabable override in file view

Signed-off-by: Louis Chemineau <louis@chmn.me>
3 years agoMerge pull request #28166 from nextcloud/enh/usermanagement/add-group-icon
szaimen [Mon, 26 Jul 2021 13:31:55 +0000 (15:31 +0200)]
Merge pull request #28166 from nextcloud/enh/usermanagement/add-group-icon

User management - Add icon to user groups

3 years agoMerge pull request #28164 from nextcloud/fix/file-multiselect-actions-sort
Julien Veyssier [Mon, 26 Jul 2021 13:08:09 +0000 (15:08 +0200)]
Merge pull request #28164 from nextcloud/fix/file-multiselect-actions-sort

Fix sort function of files multiple selection actions

3 years agofix sort sort function of files multiple selection actions 28164/head
Julien Veyssier [Mon, 26 Jul 2021 09:07:35 +0000 (11:07 +0200)]
fix sort sort function of files multiple selection actions

Signed-off-by: Julien Veyssier <eneiluj@posteo.net>
3 years agoUser management - Add icon to user groups 28166/head
szaimen [Mon, 26 Jul 2021 11:09:44 +0000 (13:09 +0200)]
User management - Add icon to user groups

Signed-off-by: szaimen <szaimen@e.mail.de>
Signed-off-by: npmbuildbot-nextcloud[bot] <npmbuildbot-nextcloud[bot]@users.noreply.github.com>
3 years agoMerge pull request #28075 from nextcloud/enh/noid/admin_audit-report-full-path
Julius Härtl [Mon, 26 Jul 2021 10:35:48 +0000 (12:35 +0200)]
Merge pull request #28075 from nextcloud/enh/noid/admin_audit-report-full-path

Admin Audit - Sharing: createShare - report the full path

3 years agoMerge pull request #28151 from nextcloud-pr-bot/automated/noid/psalm-baseline-update
kesselb [Sun, 25 Jul 2021 18:34:55 +0000 (20:34 +0200)]
Merge pull request #28151 from nextcloud-pr-bot/automated/noid/psalm-baseline-update

[Automated] Update psalm-baseline.xml

3 years agoUpdate psalm baseline 28151/head
Nextcloud-PR-Bot [Sun, 25 Jul 2021 04:10:46 +0000 (04:10 +0000)]
Update psalm baseline

Signed-off-by: GitHub <noreply@github.com>