Commit graph

21429 commits

Author SHA1 Message Date
Roeland Jago Douma
c6e51924c8
Merge pull request #18236 from nextcloud/bugfix/noid/always-detect-mimetype-by-content-in-workflows
Allow to detect mimetype by content
2019-12-12 11:19:55 +01:00
Georg Ehrke
27a31cdaf1
Support more IPv6 addresses in the RefreshWebcalJob
Signed-off-by: Georg Ehrke <developer@georgehrke.com>
2019-12-12 10:05:36 +01:00
Roeland Jago Douma
a33a4c53ef
Merge pull request #18233 from nextcloud/enhancement/recommended-apps-page
Add a dedicated page for the recommended apps installation
2019-12-12 08:13:30 +01:00
Christoph Wurst
302558cfd2
Add a dedicated page for the recommended apps installation
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2019-12-12 08:13:01 +01:00
Nextcloud bot
c60955f436
[tx-robot] updated from transifex 2019-12-12 02:26:32 +00:00
Roeland Jago Douma
3f21b7b70a
Dismiss transferownership notification cancels transfer
Fixes #18271

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2019-12-11 12:58:44 +01:00
Roeland Jago Douma
97deaf85b9
Merge pull request #17935 from nextcloud/feature/noid/public-auth-for-circles
adding share type circles
2019-12-11 12:37:54 +01:00
Roeland Jago Douma
9a40ccfbf0
Merge pull request #18224 from nextcloud/bugfix/noid/direct-editing-path
Use file path for direct editing
2019-12-11 11:17:26 +01:00
Roeland Jago Douma
2164ef045f
Merge pull request #18342 from nextcloud/enh/filesearch/offset
Add offset for home limited searches
2019-12-11 11:16:34 +01:00
Nextcloud bot
46b2fef112
[tx-robot] updated from transifex 2019-12-11 02:16:49 +00:00
Roeland Jago Douma
73ce7f6c8a
Add offset for home limited searches
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2019-12-10 23:30:15 +01:00
Christoph Wurst
1cac14ff10
Transpile the nextcloud-vue-collection package
It should support the same browsers as this component, but there seems
to be a regression [1] that breaks the transpilation. Hence including
the package here for the Babel transformation.

[1] https://github.com/juliushaertl/nextcloud-vue-collections/issues/302

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2019-12-10 18:10:35 +01:00
Roeland Jago Douma
5aacb43411
Merge pull request #18293 from nextcloud/feature/transfer-ownership-autocompletion
Add autocompletion to the ownership transfer UI
2019-12-10 15:28:57 +01:00
Roeland Jago Douma
c9d77b7f7e
Merge pull request #18253 from nextcloud/bugfix/noid/broken-oracle-install
Pick a shorter name for the transfer ownership table
2019-12-10 13:28:33 +01:00
Christoph Wurst
146732f7f9
Add autocompletion to the ownership transfer UI
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2019-12-10 12:49:26 +01:00
Joas Schilling
059968e1c7
Pick a shorter name for the transfer ownership table
Signed-off-by: Joas Schilling <coding@schilljs.com>
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2019-12-10 11:01:26 +01:00
John Molakvoæ
c18f096284
Fix external sharing loading script (#18251)
Fix external sharing loading script
2019-12-10 10:56:03 +01:00
Roeland Jago Douma
58da7c585e
Merge pull request #18301 from nextcloud/bugfix/noid/fix_array_access_on_non_array
Verify that  is an array before accessing it
2019-12-10 10:25:21 +01:00
Joas Schilling
4a151c545a
Allow to specify apps that somethign is a dir
Signed-off-by: Joas Schilling <coding@schilljs.com>
2019-12-10 09:11:43 +01:00
Joas Schilling
511a4ba66f
Improve mimetype detection in workflow components
Signed-off-by: Joas Schilling <coding@schilljs.com>
2019-12-10 09:11:43 +01:00
Nextcloud bot
98e2291f7a
[tx-robot] updated from transifex 2019-12-10 02:16:43 +00:00
Roeland Jago Douma
6ddb789f0d
Merge pull request #18299 from nextcloud/bugfix/noid/filecache_bigint_mounts
Convert various columns in oc_mounts to bigint
2019-12-09 21:37:58 +01:00
Roeland Jago Douma
3e720942e5
Merge pull request #18300 from nextcloud/bug/18295/recovery-initialization
Fix Argument 3 passed to OCA\Encryption\Recovery::__construct() must …
2019-12-09 21:34:01 +01:00
Roeland Jago Douma
0360ab408e
Merge pull request #18256 from nextcloud/files-aditional-scripts-new-events
Use non-depricated events for loading additional scripts in files app
2019-12-09 21:24:55 +01:00
Roeland Jago Douma
061b9bb0e7
Merge pull request #18231 from nextcloud/fix/shared_version_restore
Fix restoring shared versions
2019-12-09 21:17:24 +01:00
Michał Węgrzynek
9c3b5fe4bb Fix comments search result to work with multibyte strings
Currently, the searching in comments breaks up, if comments contain multibyte characters and string manipulation logic in getRelevantMessagePart happens to cut through them rendering the resulting string invalid (not UTF-8 compliant). This patch replaces all string manipulating functions in this code to multibyte aware ones.

Signed-off-by: Michał Węgrzynek <michal.wegrzynek@malloc.com.pl>
2019-12-09 17:33:08 +01:00
Georg Ehrke
0b1b12c8a2
Verify that is an array before accessing it
Signed-off-by: Georg Ehrke <developer@georgehrke.com>
2019-12-09 16:08:13 +01:00
Roeland Jago Douma
e35a31f53b
Merge pull request #18281 from nextcloud/dependabot/npm_and_yarn/nextcloud-vue-collections-0.7.1
Bump nextcloud-vue-collections from 0.6.0 to 0.7.1
2019-12-09 15:38:33 +01:00
Roeland Jago Douma
b13da60da2
Merge pull request #18294 from nextcloud/fix/18020/get_share_for_recipient
Fetch the share for the recipient
2019-12-09 14:33:25 +01:00
Daniel Kesselberg
8f403b66d1
Fix Argument 3 passed to OCA\Encryption\Recovery::__construct() must be an instance of OCA\Encryption\KeyManager
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2019-12-09 14:29:22 +01:00
Robin Appelman
1c585d2c50
use OCP\EventDispatcher\GenericEvent in more places
Signed-off-by: Robin Appelman <robin@icewind.nl>
2019-12-09 14:24:57 +01:00
Georg Ehrke
699f3a6817
Convert various columns in oc_mounts to bigint
Signed-off-by: Georg Ehrke <developer@georgehrke.com>
2019-12-09 14:13:18 +01:00
Roeland Jago Douma
c0229768f2
Fetch the share for the recipient
Fixes #18020

For group shares your invite might be handled but that doesn't mean the
whole share is handled. So we just need to make sure to fetch the share
for the current user.

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2019-12-09 12:23:38 +01:00
Christoph Wurst
9772dbd19e
Fix LDAP application class instance created directly
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2019-12-09 10:12:02 +01:00
Christoph Wurst
8bc4295cfa
Merge pull request #17325 from nextcloud/enh/decouple-register-resource-provider
Decouple resource provider registration
2019-12-09 09:51:25 +01:00
Nextcloud bot
37fcf92bac
[tx-robot] updated from transifex 2019-12-09 02:16:28 +00:00
dependabot-preview[bot]
c89aae94b0 Bump nextcloud-vue-collections from 0.6.0 to 0.7.1
Bumps [nextcloud-vue-collections](https://github.com/juliushaertl/nextcloud-vue-collections) from 0.6.0 to 0.7.1.
- [Release notes](https://github.com/juliushaertl/nextcloud-vue-collections/releases)
- [Commits](https://github.com/juliushaertl/nextcloud-vue-collections/commits)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2019-12-08 10:28:43 +00:00
Nextcloud bot
270ebb2aa9
[tx-robot] updated from transifex 2019-12-08 02:17:32 +00:00
Daniel Kesselberg
0016480370
Decouple resource provider registration
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2019-12-07 22:04:07 +01:00
Nextcloud bot
b41112a023
[tx-robot] updated from transifex 2019-12-07 02:16:37 +00:00
John Molakvoæ
3a563fdfd7
revert protected 2019-12-06 16:10:30 +01:00
John Molakvoæ (skjnldsv)
ab2b3d2755
Fix external sharing loading script
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2019-12-06 16:10:30 +01:00
Arthur Schiwon
43efa40864
rejig right to left join for sqlite's satisfaction
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2019-12-06 11:37:31 +01:00
Julius Härtl
c3061e6929
Make sure event names is always an array
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-12-06 10:32:55 +01:00
Nextcloud bot
da84b36186
[tx-robot] updated from transifex 2019-12-06 02:16:59 +00:00
Roeland Jago Douma
4bf5a23ec0
Merge pull request #18242 from nextcloud/directEditingEditorWithId
add id to editor of direct editing
2019-12-05 19:48:50 +01:00
Robin Appelman
829f4a1a1b
update tests
Signed-off-by: Robin Appelman <robin@icewind.nl>
2019-12-05 17:31:07 +01:00
Roeland Jago Douma
78050ec531
Fix restoring shared versions
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2019-12-05 16:50:45 +01:00
Robin Appelman
7d1206f6f2
use OCP\EventDispatcher\GenericEvent for loading additional scripts in the files app
Signed-off-by: Robin Appelman <robin@icewind.nl>
2019-12-05 16:05:18 +01:00
Christoph Wurst
5bf3d1bb38
Update license headers
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2019-12-05 15:38:45 +01:00
Maxence Lange
0f32f8119e using IShare::
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-12-05 10:33:48 -01:00
Maxence Lange
c1558af16d adding share type circles
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2019-12-05 10:33:48 -01:00
John Molakvoæ
fe79665f55
Allow to unfavorite all files (#18241)
Allow to unfavorite all files
2019-12-05 11:33:44 +01:00
Roeland Jago Douma
63cb31542d
Merge pull request #17941 from nextcloud/search-by-owner
Allow filtering the search results to the users home storage
2019-12-05 11:04:33 +01:00
Roeland Jago Douma
90401e573e
Merge pull request #17989 from Noodlesalat/fix-padding-top-filelist
Remove whitespace above file list ref #17891
2019-12-05 10:32:53 +01:00
Julius Härtl
e29a76bc79
Use file path for direct editing
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-12-05 09:54:58 +01:00
tobiasKaminsky
fdaf9aed1f
add id to editor of direct editing
Signed-off-by: tobiasKaminsky <tobias@kaminsky.me>
2019-12-05 09:45:07 +01:00
Joas Schilling
5ede4aa179
Allow to unfavorite all files
Signed-off-by: Joas Schilling <coding@schilljs.com>
2019-12-05 09:39:32 +01:00
John Molakvoæ (skjnldsv)
9b82225966
Use lookup by default
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2019-12-05 08:38:33 +01:00
Roeland Jago Douma
5e14b299bc
Expose capability if the lookup server should be queried by default
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2019-12-05 08:38:33 +01:00
Roeland Jago Douma
7a45413559
Always do sharee lookup on lookup server in GS
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2019-12-05 08:38:33 +01:00
John Molakvoæ
c3d223fa58
Fix removing groups that have a slash in the name (#18228)
Fix removing groups that have a slash in the name
2019-12-05 08:18:54 +01:00
Nextcloud bot
fae3ae8a2d
[tx-robot] updated from transifex 2019-12-05 02:16:52 +00:00
Gary Kim
5ae38605ee
Fix removing groups that have a slash in the name
Signed-off-by: Gary Kim <gary@garykim.dev>
2019-12-05 04:10:18 +08:00
Roeland Jago Douma
b0a7028978
Merge pull request #18121 from nextcloud/feature/setup-install-recommended-apps
Add checkbox to install recommended apps during setup
2019-12-04 19:41:54 +01:00
Julius Härtl
1593322397
Load apps dav plugins on the old webdav route
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-12-04 19:04:29 +01:00
Joas Schilling
254d4e0964
Merge pull request #17920 from nextcloud/fix/15258/ext-storage-respect-deletion
when a user was deleted remove them from applicable list, unless...
2019-12-04 15:28:57 +01:00
Christoph Wurst
a8f2e6914d
Add checkbox to install recommended apps during setup
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2019-12-04 14:14:38 +01:00
Roeland Jago Douma
293585ec12
Merge pull request #18222 from nextcloud/fix/files/reload-on-share-accept
Properly reload file list on share accept
2019-12-04 14:10:17 +01:00
Roeland Jago Douma
50985e5461
Merge pull request #17913 from nextcloud/fix/transfer-ownership-move-files-error-handling
Catch file transfer error and stop transfer ownership command
2019-12-04 13:53:43 +01:00
John Molakvoæ
bfb9ccec1f
Fix files app LoadSidebar event (#18213)
Fix files app LoadSidebar event
2019-12-04 12:47:40 +01:00
Roeland Jago Douma
17eece7fc4
Merge pull request #18220 from nextcloud/fix/theming/tests
Fix the theming tests
2019-12-04 11:29:31 +01:00
John Molakvoæ (skjnldsv)
f3cdf7e4c1
Properly reload file list on share accept
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2019-12-04 11:29:04 +01:00
Nextcloud bot
7f80859ce4
[tx-robot] updated from transifex 2019-12-04 09:24:13 +00:00
John Molakvoæ (skjnldsv)
46ce797197
Properly query files
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2019-12-04 09:57:55 +01:00
John Molakvoæ (skjnldsv)
c1277ea2fa
Use own getIconUrl method
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2019-12-04 09:44:35 +01:00
Roeland Jago Douma
99ed3b2d52
Merge pull request #18212 from nextcloud/bugfix/noid/subject-message-mixed-up
Fix mixed up message and subject on notifications for file transfer
2019-12-04 09:09:34 +01:00
John Molakvoæ (skjnldsv)
241aac9f94 Fix files app LoadSidebar event
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2019-12-04 08:07:42 +00:00
Roeland Jago Douma
069b938ab0
Fix the theming tests
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2019-12-04 09:07:24 +01:00
Nextcloud bot
323b2c71fc
[tx-robot] updated from transifex 2019-12-04 02:16:52 +00:00
Joas Schilling
b721095507
Fix mixed up message and subject on notifications for file transfer
Signed-off-by: Joas Schilling <coding@schilljs.com>
2019-12-03 17:52:33 +01:00
John Molakvoæ
cd71ad0e50
Merge pull request #17930 from nextcloud/rakekniven-patch-1
l10n: Triple dot to ellipsis
2019-12-03 15:40:03 +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
John Molakvoæ
9cd7ecef9b
Merge pull request #18120 from nextcloud/bugfix/11087/dav_principal_backend_respect_sharing_settings
respect shareapi_allow_share_dialog_user_enumeration in Principal backend for Sabre/DAV
2019-12-03 13:49:06 +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
Georg Ehrke
c3748cfee3
respect shareapi_allow_share_dialog_user_enumeration in Principal backend for Sabre/DAV
Signed-off-by: Georg Ehrke <developer@georgehrke.com>
2019-12-03 09:44:07 +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
John Molakvoæ
faa6b8d114
Add space before ellipsis 2019-12-03 08:14:19 +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
Nextcloud bot
4cbaf69bc3
[tx-robot] updated from transifex 2019-12-03 02:16:46 +00: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æ (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