Commit Graph

51537 Commits

Author SHA1 Message Date
Robin Appelman bf50342c10
add @since to limitToHome
Signed-off-by: Robin Appelman <robin@icewind.nl>
2019-12-03 15:21:35 +01:00
Robin Appelman f9e5b33c2b
remove old 'owner' filter
Signed-off-by: Robin Appelman <robin@icewind.nl>
2019-12-03 15:20:54 +01:00
Robin Appelman c62637da8b
Allow filtering the search results to the users home storage
This is done by adding a

```xml
<d:eq>
    <d:prop>
        <oc:owner-id/>
    </d:prop>
    <d:literal>$userId</d:literal>
</d:eq>
```

clause to the search query.

Searching by `owner-id` can only be done with the current user id
and the comparison can not be inside a `<d:not>` or `<d:or>` statement

Signed-off-by: Robin Appelman <robin@icewind.nl>
2019-12-03 13:49:37 +01:00
Roeland Jago Douma 2b19da84d5
Merge pull request #18140 from nextcloud/bugfix/17814/csp-svg
Allow inline styles for theming images
2019-12-03 10:48:04 +01:00
Roeland Jago Douma 109aee525d
Merge pull request #15952 from nextcloud/feature/noid/inherited-shares
Inherited Shares
2019-12-03 10:13:55 +01:00
Roeland Jago Douma 9fce87b2df
Merge pull request #17443 from nextcloud/enh/expired_token_on_invalid_pass
Throw an invalid token exception is token is marked outdated
2019-12-03 08:59:11 +01:00
Roeland Jago Douma 1d707cc349
Merge pull request #18028 from nextcloud/enhancement/user-create-events
Add typed create user events
2019-12-03 08:57:51 +01:00
John Molakvoæ bcc32f6918
add update all button (#17512)
add update all button
2019-12-03 08:14:59 +01:00
Maxence Lange f2c7ca4584
fixing tests + avoid duplicate in getFormattedShares()
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-12-03 08:13:22 +01:00
John Molakvoæ (skjnldsv) 3a86b99256
Inherited share UI
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2019-12-03 08:13:21 +01:00
Maxence Lange ccf7d87c11
integration tests
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
add tests on non-owner pov

Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
duplicate

Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
small fixes

Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
removed tags

Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-12-03 08:10:27 +01:00
Maxence Lange 5794f14df9
Inherited Shares
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
working on users with resharing rights

Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
-getLogger()

Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
cleaning

Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
fix type

Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
Update SharingRightsException.php
2019-12-03 08:10:27 +01:00
Christoph Wurst cc80339b39
Add typed create user events
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2019-12-03 08:03:57 +01:00
Roeland Jago Douma 1e91b6a716
Merge pull request #18151 from nextcloud/bugfix/noid/overwrite-host-proxy
Always return overwritehost if configured
2019-12-03 07:48:19 +01:00
Nextcloud bot 4cbaf69bc3
[tx-robot] updated from transifex 2019-12-03 02:16:46 +00:00
Roeland Jago Douma c002a91aaa
Merge pull request #18167 from nextcloud/simplify-versioncheck
Use PHP_VERSION_ID to check for the current php version
2019-12-02 20:58:16 +01:00
Daniel Kesselberg 79541990ca
Use PHP_VERSION_ID to check for the current php version
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2019-12-02 19:28:09 +01:00
Roeland Jago Douma 60c0596cd9
Merge pull request #17736 from nextcloud/enh/transfer_ownership
Add a transfer ownership background job
2019-12-02 19:06:11 +01:00
Roeland Jago Douma b371e735cf
Throw an invalid token exception is token is marked outdated
This avoids hitting the backend with multiple requests for the same
token. And will help avoid quick LDAP lockouts.

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2019-12-02 18:57:13 +01:00
Christoph Wurst 08a1b928aa
Also allow transfer ownership of files
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2019-12-02 15:28:49 +01:00
Roeland Jago Douma 5274c54268
Add a transfer ownership background job
This job can be initiated by a user to transfer a file/folder to a
target user.

The target user will have to accept the job.
Once that is done the transfers is initiated in the background.

Both parties get notified when the job is done.

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2019-12-02 15:28:47 +01:00
John Molakvoæ b99134d0a3
Fix files_sharing app LoadSidebar event (#17821)
Fix files_sharing app LoadSidebar event
2019-12-02 15:10:25 +01:00
John Molakvoæ (skjnldsv) 5cb11ca642
Fix tests
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2019-12-02 13:08:43 +01:00
John Molakvoæ (skjnldsv) 0bf6fcd6cd
Create sharing entry point with constants
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2019-12-02 08:58:50 +01:00
John Molakvoæ (skjnldsv) f8af027686
Fix files_sharing app LoadSidebar event
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2019-12-02 08:58:50 +01:00
Roeland Jago Douma 407c2c13ab
Merge pull request #18159 from nextcloud/tests/comments-integration
Do not call count on null
2019-12-02 08:53:02 +01:00
Roeland Jago Douma e98ae45b83
Merge pull request #18178 from Rillian-Grant/patch-1
Minor typo
2019-12-02 08:41:34 +01:00
John Molakvoæ 2f81a37432
Bump url-loader from 2.3.0 to 3.0.0 (#18171)
Bump url-loader from 2.3.0 to 3.0.0
2019-12-02 08:27:41 +01:00
dependabot-preview[bot] 5e5c4090bf Bump url-loader from 2.3.0 to 3.0.0
Bumps [url-loader](https://github.com/webpack-contrib/url-loader) from 2.3.0 to 3.0.0.
- [Release notes](https://github.com/webpack-contrib/url-loader/releases)
- [Changelog](https://github.com/webpack-contrib/url-loader/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack-contrib/url-loader/compare/v2.3.0...v3.0.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2019-12-02 06:49:05 +00:00
John Molakvoæ 05ed00a26a
Bump file-loader from 4.3.0 to 5.0.2 (#18172)
Bump file-loader from 4.3.0 to 5.0.2
2019-12-02 07:43:44 +01:00
John Molakvoæ fe2939f633
Bump style-loader from 1.0.0 to 1.0.1 (#18173)
Bump style-loader from 1.0.0 to 1.0.1
2019-12-02 07:43:31 +01:00
John Molakvoæ df0e638206
Bump bootstrap from 4.3.1 to 4.4.1 (#18170)
Bump bootstrap from 4.3.1 to 4.4.1
2019-12-02 07:43:21 +01:00
Nextcloud bot 109755e2d3
[tx-robot] updated from transifex 2019-12-02 02:16:54 +00:00
Rillian Grant c879da4286 Minor typo
Colon outside of italics in the bug report issue template when in every similar instance of this in this file it is inside.

Signed-off-by: Rillian Grant <rillian.grant@hotmail.com>
2019-12-01 17:03:33 +00:00
dependabot-preview[bot] 7d34e6bef6 Bump bootstrap from 4.3.1 to 4.4.1
Bumps [bootstrap](https://github.com/twbs/bootstrap) from 4.3.1 to 4.4.1.
- [Release notes](https://github.com/twbs/bootstrap/releases)
- [Commits](https://github.com/twbs/bootstrap/compare/v4.3.1...v4.4.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2019-12-01 11:49:15 +00:00
dependabot-preview[bot] d24233760b
Bump style-loader from 1.0.0 to 1.0.1
Bumps [style-loader](https://github.com/webpack-contrib/style-loader) from 1.0.0 to 1.0.1.
- [Release notes](https://github.com/webpack-contrib/style-loader/releases)
- [Changelog](https://github.com/webpack-contrib/style-loader/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack-contrib/style-loader/compare/v1.0.0...v1.0.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-12-01 02:18:59 +00:00
dependabot-preview[bot] 4cdb866fd0
Bump file-loader from 4.3.0 to 5.0.2
Bumps [file-loader](https://github.com/webpack-contrib/file-loader) from 4.3.0 to 5.0.2.
- [Release notes](https://github.com/webpack-contrib/file-loader/releases)
- [Changelog](https://github.com/webpack-contrib/file-loader/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack-contrib/file-loader/compare/v4.3.0...v5.0.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-12-01 02:18:21 +00:00
Nextcloud bot e5b286f893
[tx-robot] updated from transifex 2019-12-01 02:18:15 +00:00
Nextcloud bot 6725a4b746
[tx-robot] updated from transifex 2019-11-30 02:16:49 +00:00
Julius Härtl 330cb7047e
Do not call count on null
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-11-29 09:59:35 +01:00
Roeland Jago Douma 6a940d5c74
Merge pull request #18149 from nextcloud/fix/18148/dont-create-bundle-too-early
delay creation of the cert bundle
2019-11-29 09:07:33 +01:00
Roeland Jago Douma 09c1d8c316
Merge pull request #18113 from nextcloud/bugfix/15967/webcal_cache_headers
Add refresh-interval to exported calendars
2019-11-29 09:06:28 +01:00
Roeland Jago Douma b552da515e
Merge pull request #18142 from nextcloud/fix/provisioning_api/users-typing
Fix provisioning_api getUsers types
2019-11-29 09:04:49 +01:00
Roeland Jago Douma 69fad0e252
Merge pull request #18062 from nextcloud/drop/php71
Drop php 7.1 support
2019-11-29 08:55:22 +01:00
Roeland Jago Douma 3789a4b960
Merge pull request #18133 from nextcloud/bugfix/13896/missing_from_information
Set common-name to user's displayname if none is set
2019-11-29 08:48:16 +01:00
Roeland Jago Douma 44fc962b67
Merge pull request #18135 from nextcloud/fix/trim-login-name
Trim the login name
2019-11-29 08:47:46 +01:00
Georg Ehrke 6d39c6cb50
Set common-name to user's displayname if none is set
Signed-off-by: Georg Ehrke <developer@georgehrke.com>
2019-11-29 07:48:30 +01:00
Nextcloud bot 73472725e6
[tx-robot] updated from transifex 2019-11-29 02:16:53 +00:00
Christoph Wurst 81e35d0c8a
Trim the login name
Otherwise we keep on using it with leading or trailing whitespaces for
app tokens and other logic. The reason this doesn't throw an error
immediately with local users is that (My)SQL compares strings regardless
of their padding by default. So we look up 'uid ' and get the row for
the user 'uid'.
Other back-ends will lead to a hard error, though, and the user is
unable to log out as all request fail.

Ref https://stackoverflow.com/a/10495807/2239067

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2019-11-28 20:52:05 +01:00
Roeland Jago Douma e5c95eed69
Merge pull request #18134 from nextcloud/enh/noid/flow-extend-scope
allow user flows when the acting user is legitimate, but not its owner
2019-11-28 20:49:42 +01:00