Commit Graph

59544 Commits (1f42657bb9ea76353fbc02ee100cff5755b6384d)
 

Author SHA1 Message Date
Carl Schwan 8e51a5feda
Check that php was compiled with argon2 support or that the php-sodium
extensions is installed

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2021-07-30 15:11:55 +07:00
Julien Veyssier 7170c03f0e
Merge pull request #28009 from nextcloud/enh/21045/quota-restrictions
Add quota restrictions options
2021-07-30 10:26:56 +07:00
Julius Härtl a9b38d8245
Merge pull request #28240 from nextcloud/accessibility/personal-info
Add h2 to personal info page, fixing accessibility issue
2021-07-30 08:11:31 +07:00
Pytal 5fd9ce9e8d
Merge pull request #28242 from nextcloud/fix/tag-multiselect-action-order
Add missing order attribute to tag multiselect action
2021-07-29 12:39:29 +07:00
Julien Veyssier 416d10f76c 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>
2021-07-29 19:31:36 +07:00
Lukas Reschke 7a0b374c18
Merge pull request #28237 from nextcloud/work/carl/owncloud-doc
Remove some mentions of ownCloud from our api documentation
2021-07-29 19:38:59 +07:00
Julius Härtl a4097a63c2
Merge pull request #28238 from nextcloud/accessibility/search
Fix missing label of Search function
2021-07-29 19:19:08 +07:00
Julien Veyssier ff62983edb
add missing order attribute to tag multiselect action
Signed-off-by: Julien Veyssier <eneiluj@posteo.net>
2021-07-29 18:53:02 +07:00
Jan C. Borchardt 310cec4057
Fix missing label and accessibility of Search function
Signed-off-by: Jan C. Borchardt <hey@jancborchardt.net>
2021-07-29 17:21:02 +07:00
Jan C. Borchardt 1bbe945482
Add h2 to personal info page, fixing accessibility issue
Signed-off-by: Jan C. Borchardt <hey@jancborchardt.net>
2021-07-29 16:34:45 +07:00
Carl Schwan 28970563a2
Remove some mentions of ownCloud from our api documentation
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2021-07-29 15:56:30 +07:00
Julius Härtl 6f1c2ed50b
Merge pull request #28202 from nextcloud/settings-app-webpack 2021-07-29 09:31:00 +07:00
Julius Härtl db7ffb0bf9
Merge pull request #28175 from nextcloud/jail-search-root 2021-07-29 09:27:53 +07:00
Christopher Ng decfc2e3b3 Build
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2021-07-28 22:58:24 +07:00
Christopher Ng 63c3b9a4cc Remove chunkhash
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2021-07-28 22:43:09 +07:00
MichaIng 9a9df238a6
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
2021-07-28 23:24:33 +07:00
dependabot[bot] 401314d5aa 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>
2021-07-28 19:57:43 +07:00
Julien Veyssier a636c38454
Merge pull request #27920 from nextcloud/fix/21263/breadcrumb-wrong-float-width-comparison
Fix Files breadcrumbs being hidden even if there is enough space
2021-07-28 18:45:29 +07:00
John Molakvoæ 58d034461b
Merge pull request #28147 from nextcloud/dependabot/npm_and_yarn/marked-2.1.3
Bump marked from 2.0.6 to 2.1.3
2021-07-28 18:05:15 +07:00
John Molakvoæ fabd0a87b3
Update update-psalm-baseline.yml 2021-07-28 18:04:40 +07:00
Robin Appelman 5c2e7c7d28
fix Folder->getById() when a single storage is mounted multiple times
Signed-off-by: Robin Appelman <robin@icewind.nl>
2021-07-28 17:21:04 +07:00
Julius Härtl e840e08cef
Merge pull request #28210 from nextcloud/allow-to-disable-group-change-mail-notification
Allow to disable group membership change notification
2021-07-28 17:13:49 +07:00
Robin Appelman 4d5e8bcb99
add test for searching within a "root jail"
Signed-off-by: Robin Appelman <robin@icewind.nl>
2021-07-28 17:11:12 +07:00
Julien Veyssier c4fcf4c0b2
refs #21263 round numbers when checking if breadcrumbs should be hidden
Signed-off-by: Julien Veyssier <eneiluj@posteo.net>
2021-07-28 16:40:14 +07:00
John Molakvoæ 3ced8406a0
Merge pull request #28174 from nextcloud/feature/set_openfile_for_internal_links 2021-07-28 15:03:54 +07:00
Marco Ambrosini a4d1c55624 Allow to disable group change notification
Signed-off-by: Marco Ambrosini <marcoambrosini@pm.me>
2021-07-28 12:23:47 +07:00
Louis 1ad5e8ad73
Fix typo
Co-authored-by: Pytal <24800714+Pytal@users.noreply.github.com>
2021-07-28 11:15:03 +07:00
Julius Härtl a71294ed34
Merge pull request #27751 from nextcloud/enh/23769/accept-decline-fed-sharing-ui 2021-07-28 10:38:23 +07:00
John Molakvoæ 640f339b7d
Add checkout token 2021-07-28 07:40:58 +07:00
John Molakvoæ 525460c04d
Use COMMAND_BOT_PAT 2021-07-28 07:34:47 +07:00
Julien Veyssier 0b8e90cb67
Merge pull request #27893 from nextcloud/fix/comments-file-action
Fix comments file action sidebar opening
2021-07-27 17:04:47 +07:00
Lukas Reschke d4352aaace
Merge pull request #27886 from ecsecta/keep_pw_based_authntoken_alive_on_pwlesslogin
Keep pw based auth tokens valid when pw-less login happens
2021-07-27 14:37:15 +07:00
Vincent Petry f6f2f63016
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>
2021-07-27 14:32:51 +07:00
John Molakvoæ 7652d732cb
Delete dependabot-approve-merge.yml 2021-07-27 13:46:44 +07:00
Louis Chemineau e558a00496 Set openfile params when following internal links
Signed-off-by: Louis Chemineau <louis@chmn.me>
2021-07-27 11:41:32 +07:00
Vincent Petry 1125832623
Fix route path for pending remote shares
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2021-07-27 13:30:44 +07:00
Vincent Petry dac676c14e
Replace ILogger with LoggerInterface in remote share manager
Signed-off-by: Vincent Petry <vincent@nextcloud.com>

Co-authored-by: Carl Schwan <carl@carlschwan.eu>
2021-07-27 13:04:39 +07:00
Julien Veyssier a8ebf37b08
fix jsunit tests for comments
Signed-off-by: Julien Veyssier <eneiluj@posteo.net>
2021-07-27 12:57:44 +07:00
Vincent Petry e67e90afce
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>
2021-07-27 12:20:03 +07:00
Vincent Petry 3deffc3161
Use mimetype instead of type when defaulting in remote shares
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2021-07-27 12:20:01 +07:00
Vincent Petry e8f4a524a2
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>
2021-07-27 12:19:26 +07:00
Vincent Petry 15f41a6b72
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>
2021-07-27 12:19:26 +07:00
Vincent Petry c1563215e6
Disable default actions in pending file list
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2021-07-27 12:19:25 +07:00
Vincent Petry f3f2faa815
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>
2021-07-27 12:19:25 +07:00
Vincent Petry 4b5bb4d9cf
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>
2021-07-27 12:19:24 +07:00
Vincent Petry cff8ae7ded
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>
2021-07-27 12:19:24 +07:00
Vincent Petry 46b8cf4f64
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>
2021-07-27 12:19:24 +07:00
Vincent Petry 7130a98e47
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>
2021-07-27 12:19:23 +07:00
Vincent Petry 53aafff972
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>
2021-07-27 12:19:18 +07:00
John Molakvoæ 702bced2b7
Add files via upload 2021-07-27 12:00:36 +07:00