Commit Graph

53012 Commits

Author SHA1 Message Date
Roeland Jago Douma b944115a35
Update the target when it isempty after sharing
Hooks that listen to it (audit log) benefit from having the target
properly set.

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-03-16 13:38:55 +01:00
Roeland Jago Douma 3443a00621
Actually check if the owner is not null
Else this can error out on storages that do not have an owner (e.g.
groupfolders).

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-03-16 13:12:10 +01:00
Daniel Kesselberg e44b58ed8b Hide card for apps store if disabled
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2020-03-16 11:37:38 +00:00
Joas Schilling 9935c71ec3
Check the user on remote wipe
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-03-16 09:29:28 +01:00
John Molakvoæ 48bdd322a2
Merge pull request #19960 from nextcloud/dependabot/npm_and_yarn/sinon-9.0.1
Bump sinon from 9.0.0 to 9.0.1
2020-03-16 09:05:27 +01:00
Roeland Jago Douma d7e096eab0
Merge pull request #19962 from nextcloud/dependabot/npm_and_yarn/vuex-3.1.3
Bump vuex from 3.1.2 to 3.1.3
2020-03-16 09:03:41 +01:00
Nextcloud bot f85747f74c
[tx-robot] updated from transifex 2020-03-16 02:21:10 +00:00
Roeland Jago Douma c1152af523
Move deprecated aliases over to new registration
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-03-15 15:13:12 +01:00
Roeland Jago Douma 20f4a8c046
Add a deprecated alias registration to find deprecated usages
Fixes #19345

Basically just a stupid wrapper with extra logging. So that we can at
least inform people they are using the wrong methods.

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-03-15 15:13:10 +01:00
Pavel Krasikov 4c01326913 add docs for useJsNonce
Signed-off-by: Pavel Krasikov <klonishe@gmail.com>
2020-03-15 17:02:11 +03:00
dependabot-preview[bot] 00405ea7fb Bump vuex from 3.1.2 to 3.1.3
Bumps [vuex](https://github.com/vuejs/vuex) from 3.1.2 to 3.1.3.
- [Release notes](https://github.com/vuejs/vuex/releases)
- [Commits](https://github.com/vuejs/vuex/compare/v3.1.2...v3.1.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2020-03-15 12:28:56 +00:00
Roeland Jago Douma 0ffa598136
Merge pull request #19954 from roscomputing/fix/19941/fix_safari_useragent
fix safari useragent for versions with 3 digits
2020-03-15 13:15:40 +01:00
Roeland Jago Douma f295695b7e
Merge pull request #19961 from nextcloud/dependabot/npm_and_yarn/jsdom-16.2.1
Bump jsdom from 16.2.0 to 16.2.1
2020-03-15 13:07:44 +01:00
Daniel Kesselberg 98a2e3b628
Add text about subscribing issues and sync introduction to feature request
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2020-03-15 12:34:05 +01:00
Daniel Kesselberg 509af24bc9
Fix invalid instantiation of TemplateResponse if client not found
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2020-03-15 11:55:07 +01:00
Nextcloud bot 0d6c8a3476
[tx-robot] updated from transifex 2020-03-15 02:19:16 +00:00
dependabot-preview[bot] 489b04ce63
Bump jsdom from 16.2.0 to 16.2.1
Bumps [jsdom](https://github.com/jsdom/jsdom) from 16.2.0 to 16.2.1.
- [Release notes](https://github.com/jsdom/jsdom/releases)
- [Changelog](https://github.com/jsdom/jsdom/blob/master/Changelog.md)
- [Commits](https://github.com/jsdom/jsdom/compare/16.2.0...16.2.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-03-15 02:17:21 +00:00
dependabot-preview[bot] 7aed0b9456
Bump sinon from 9.0.0 to 9.0.1
Bumps [sinon](https://github.com/sinonjs/sinon) from 9.0.0 to 9.0.1.
- [Release notes](https://github.com/sinonjs/sinon/releases)
- [Changelog](https://github.com/sinonjs/sinon/blob/master/CHANGELOG.md)
- [Commits](https://github.com/sinonjs/sinon/compare/v9.0.0...v9.0.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-03-15 02:16:39 +00:00
Pavel Krasikov f11dee9bc4 fix safari useragent for versions with 3 digits
Signed-off-by: Pavel Krasikov <klonishe@gmail.com>
2020-03-14 16:47:28 +03:00
Roeland Jago Douma d1a5490b2d
Merge pull request #19947 from nextcloud/dependabot/npm_and_yarn/acorn-6.4.1
[Security] Bump acorn from 6.3.0 to 6.4.1
2020-03-14 14:01:29 +01:00
Roeland Jago Douma 21046f95a4
Merge pull request #19937 from nextcloud/share-mail-hide-download-int
properly set 'hide_download' as integer
2020-03-14 09:18:34 +01:00
Nextcloud bot fa571bb7ed
[tx-robot] updated from transifex 2020-03-14 02:18:04 +00:00
dependabot-preview[bot] 36ef7eb3a8
[Security] Bump acorn from 6.3.0 to 6.4.1
Bumps [acorn](https://github.com/acornjs/acorn) from 6.3.0 to 6.4.1. **This update includes a security fix.**
- [Release notes](https://github.com/acornjs/acorn/releases)
- [Commits](https://github.com/acornjs/acorn/compare/6.3.0...6.4.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-03-13 22:20:14 +00:00
Robin Appelman 12e54047a1
Merge pull request #19931 from nextcloud/external-storage-password-placeholders-fix-tests
fix external storage controller tests
2020-03-13 18:44:43 +00:00
Robin Appelman 606f685457
properly set 'hide_download' as integer
the database field is a smallint, not a boolean.

fixes postgresql tests

Signed-off-by: Robin Appelman <robin@icewind.nl>
2020-03-13 17:38:56 +01:00
Roeland Jago Douma dc0ee357a4
Merge pull request #19907 from nextcloud/bugfix/noid/dont-allow-anchor-and-queries-in-remote-url
Don't allow anchors and queries in remote urls
2020-03-13 15:51:52 +01:00
Robin Appelman db49ae3cb6
fix external storage controller tests
Signed-off-by: Robin Appelman <robin@icewind.nl>
2020-03-13 15:33:47 +01:00
Robin Appelman 59082661ca
remove the requirement that everything that looks like a placeholder is substituted
While maybe not common, `$` is a valid option in config fields

Signed-off-by: Robin Appelman <robin@icewind.nl>
2020-03-13 15:29:14 +01:00
Marco Ambrosini e976e076b6 Fix dark mode color-box-shadow variable
Signed-off-by: Marco Ambrosini <marcoambrosini@pm.me>
2020-03-13 13:31:40 +01:00
Marco Ambrosini ce033072f4 Fix color-box-shadow variable
Signed-off-by: Marco Ambrosini <marcoambrosini@pm.me>
2020-03-13 11:43:31 +01:00
Joas Schilling 8db32805be
Fix willReturnOnConsecutiveCalls
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-03-13 11:11:00 +01:00
Joas Schilling 17bc35e4f1
Merge pull request #19915 from nextcloud/external-storage-password-placeholders
Use placeholder values for password fields in external storage webui
2020-03-13 10:54:40 +01:00
Roeland Jago Douma a54c4b60a8
Merge pull request #19910 from nextcloud/bugfix/noid/invalid-from-mail
Do not use the instance name as user part of from mail addresses
2020-03-13 10:17:12 +01:00
Roeland Jago Douma 3c2e38a0c9
Merge pull request #19914 from nextcloud/fix/19484/sharebymail_hidedownload
Properly respect hide download on sharebymail
2020-03-13 10:16:45 +01:00
Roeland Jago Douma 84a148aac1
Properly respect hide download on sharebymail
fixes #19484

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-03-13 09:20:32 +01:00
Nextcloud bot 0d2abe9461
[tx-robot] updated from transifex 2020-03-13 02:18:18 +00:00
Roeland Jago Douma b5902b3e1b
Merge pull request #19888 from nextcloud/fix/objectstore_rename_mimetype
Get correct mimetype on objectstores
2020-03-12 19:58:16 +01:00
Roeland Jago Douma 9fc2e2551e
Merge pull request #19899 from nextcloud/force-compatible-eventdispatcher-version-in-integration-tests
Force compatible EventDispatcher version in integration tests
2020-03-12 19:54:49 +01:00
Robin Appelman 0d112d7901
Use placeholder values for password fields in external storage webui
This prevents the password from being sent to the webui.

While an admin will always be able to retrieve the passwords (as they
can do arbitrairy code execution by design) this prevents casual
password snooping

Signed-off-by: Robin Appelman <robin@icewind.nl>
2020-03-12 19:45:23 +01:00
Julius Härtl 76a706738b
Do not use the instance name as user part of from mail addresses
This will cause issues since the theming name can contain characters
that are not allowed in the local part of the mail address (like spaces)

Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-03-12 14:20:03 +01:00
Joas Schilling 3930ab8e8a
Don't allow anchors and queries in remote urls
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-03-12 13:44:48 +01:00
Roeland Jago Douma dbead0c0fa
Merge pull request #19902 from nextcloud/enh/noid/typo-portalm
Change Portalm to Portal
2020-03-12 13:24:52 +01:00
Daniel Kesselberg df0131539a
Change Portalm to Portal
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2020-03-12 11:41:19 +01:00
Roeland Jago Douma a5b0f41a9f
Merge pull request #19892 from nextcloud/enh/installation-bundle
Move install scripts to a bundle
2020-03-12 10:58:15 +01:00
Daniel Calviño Sánchez ec63327472 Force compatible EventDispatcher version in integration tests
Nextcloud requires EventDispatcher from Symfony 4.4. Behat required
Symfony 4.x until Behat 3.5, but since Behat 3.6 it supports Symfony 5.x
too. However, as the EventDispatcher version was not restricted in the
"composer.json" file Composer installed the latest compatible version
with all the dependencies, which happened to be Symfony 5.x. To prevent
that now the EventDispatcher is explicitly limited to Symfony 4.4 only.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2020-03-12 10:45:23 +01:00
Joas Schilling 9d8e1ebdd7
Merge pull request #19587 from nextcloud/enh/add-guidelines-for-submitting-issues
Add guidelines for submitting issues
2020-03-12 09:28:01 +01:00
Joas Schilling 190eabf220
Add a link to the portal directly
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-03-12 09:24:24 +01:00
John Molakvoæ 9fda1ee39f
Merge pull request #19777 from nextcloud/fix/viewer-public
Properly emit Viewer event on files and files_sharing
2020-03-12 08:47:14 +01:00
Nextcloud bot 99aa7adaef
[tx-robot] updated from transifex 2020-03-12 02:19:02 +00:00
Roeland Jago Douma bc411e6909
Merge pull request #19822 from nextcloud/sftp-read-stream
Faster implementation of sftp read and write stream
2020-03-11 16:22:52 +01:00