Commit Graph

52868 Commits

Author SHA1 Message Date
Daniel Kesselberg b3780bcedd
Annotate $additionalScopes so the IDE knows what type $scopeCandidate is.
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2020-03-17 15:27:22 +01:00
Roeland Jago Douma 458ec33aa2
Merge pull request #19967 from roscomputing/enh/19958/usejsnoncedocs
add docs for useJsNonce
2020-03-17 15:09:50 +01:00
Roeland Jago Douma e193e14a08
Merge pull request #19989 from nextcloud/fix-single-ScopeContext-passed-to-setScopes
Fix single "ScopeContext" passed to "setScopes"
2020-03-17 15:08:25 +01:00
Roeland Jago Douma 11341e6c24
Merge pull request #19987 from nextcloud/bugfix/noid/disable-storage-stats-without-session_keepalive
Only do regular polling of storage statistics if session_keepalive is enabled
2020-03-17 15:06:47 +01:00
Roeland Jago Douma 54baf610f9
Merge pull request #19995 from nextcloud/bugfix/noid/unify_default_types_lookupServerEnabled
Default value of lookupServerEnabled should be the same everywhere
2020-03-17 15:06:10 +01:00
Georg Ehrke 789719da90
Default value of lookupServerEnabled should be the same everywhere
Signed-off-by: Georg Ehrke <developer@georgehrke.com>
2020-03-17 10:41:19 +01:00
Nextcloud bot 82d4bdd770
[tx-robot] updated from transifex 2020-03-17 02:18:42 +00:00
Daniel Kesselberg 73643fe70b
Make sure app_install_overwrite is an array
otherwise in_array will complain.

Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2020-03-16 22:33:47 +01:00
blizzz b53a484d20
Merge pull request #19968 from nextcloud/enh/noid/hide-apps-store-if-disabled
Hide card for apps store if disabled
2020-03-16 22:11:40 +01:00
Daniel Calviño Sánchez 46e374860b Fix single "ScopeContext" passed to "setScopes"
"setScopes" expects an array, but a single "ScopeContext" was being
passed instead.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2020-03-16 16:48:25 +01:00
Julius Härtl d851d2e08b
Only do regular polling of storage statistics if session_keepalive is enabled
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-03-16 15:59:41 +01:00
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
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