]> source.dussan.org Git - nextcloud-server.git/log
nextcloud-server.git
6 years agoMerge pull request #11786 from nextcloud/feature/password_confirmation_backend
Morris Jobke [Mon, 5 Nov 2018 23:44:18 +0000 (00:44 +0100)]
Merge pull request #11786 from nextcloud/feature/password_confirmation_backend

Expose password confirmation capabilities in the user backend

6 years agoMerge pull request #12128 from tomasz-grobelny/fix_file_move
Morris Jobke [Mon, 5 Nov 2018 23:24:27 +0000 (00:24 +0100)]
Merge pull request #12128 from tomasz-grobelny/fix_file_move

Fix file move operation for large number of files

6 years agoMerge pull request #12289 from nextcloud/ie11-grid-disable
Roeland Jago Douma [Mon, 5 Nov 2018 21:48:24 +0000 (22:48 +0100)]
Merge pull request #12289 from nextcloud/ie11-grid-disable

Disable grid for ie

6 years agoMerge pull request #12287 from nextcloud/bug/allow_writing_empty_file
Morris Jobke [Mon, 5 Nov 2018 17:12:28 +0000 (18:12 +0100)]
Merge pull request #12287 from nextcloud/bug/allow_writing_empty_file

Allow writing an empty file with the new writeStream

6 years agoDisable grid for ie 12289/head
John Molakvoæ (skjnldsv) [Mon, 5 Nov 2018 16:27:09 +0000 (17:27 +0100)]
Disable grid for ie

Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
6 years agoAllow writing an empty file with the new writeStream 12287/head
Roeland Jago Douma [Mon, 5 Nov 2018 16:00:04 +0000 (17:00 +0100)]
Allow writing an empty file with the new writeStream

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
6 years agoMerge pull request #12242 from nextcloud/uid-conccurency
John Molakvoæ [Mon, 5 Nov 2018 14:24:44 +0000 (15:24 +0100)]
Merge pull request #12242 from nextcloud/uid-conccurency

Uid concurrency check fix for vcards

6 years agoPhpunit tests 12242/head
John Molakvoæ (skjnldsv) [Sat, 3 Nov 2018 18:33:59 +0000 (19:33 +0100)]
Phpunit tests

Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
6 years agoAdd check for vCard uid
John Molakvoæ (skjnldsv) [Sat, 3 Nov 2018 18:03:32 +0000 (19:03 +0100)]
Add check for vCard uid

Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
6 years agoMerge pull request #12191 from nextcloud/sessions-fixes
Roeland Jago Douma [Mon, 5 Nov 2018 11:37:37 +0000 (12:37 +0100)]
Merge pull request #12191 from nextcloud/sessions-fixes

Sessions fixes

6 years agoMerge pull request #12271 from nextcloud/prevent-upload-cancel
Morris Jobke [Mon, 5 Nov 2018 11:28:32 +0000 (12:28 +0100)]
Merge pull request #12271 from nextcloud/prevent-upload-cancel

Ask before cancelling an ongoing upload

6 years agoMerge pull request #12185 from nextcloud/cleanup/dicontainer
Morris Jobke [Mon, 5 Nov 2018 11:16:36 +0000 (12:16 +0100)]
Merge pull request #12185 from nextcloud/cleanup/dicontainer

Cleanup the DIContainer

6 years agoMerge pull request #12004 from nextcloud/dl-vcf-groups-plugin
John Molakvoæ [Mon, 5 Nov 2018 09:16:30 +0000 (10:16 +0100)]
Merge pull request #12004 from nextcloud/dl-vcf-groups-plugin

Multi vcf download plugin

6 years agoAsk before cancelling an ongoing upload 12271/head
John Molakvoæ (skjnldsv) [Mon, 5 Nov 2018 08:24:25 +0000 (09:24 +0100)]
Ask before cancelling an ongoing upload

Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
6 years agoMerge pull request #12260 from nextcloud/dependabot/npm_and_yarn/build/node-sass...
Roeland Jago Douma [Mon, 5 Nov 2018 09:07:13 +0000 (10:07 +0100)]
Merge pull request #12260 from nextcloud/dependabot/npm_and_yarn/build/node-sass-4.10.0

Bump node-sass from 4.9.4 to 4.10.0 in /build

6 years agoMerge pull request #12253 from nextcloud/2fa-settings-hint
Roeland Jago Douma [Mon, 5 Nov 2018 08:29:22 +0000 (09:29 +0100)]
Merge pull request #12253 from nextcloud/2fa-settings-hint

Add class "settings-hint" to 2FA-text

6 years agoMerge pull request #12262 from nextcloud/dependabot/npm_and_yarn/apps/accessibility...
Roeland Jago Douma [Mon, 5 Nov 2018 08:28:38 +0000 (09:28 +0100)]
Merge pull request #12262 from nextcloud/dependabot/npm_and_yarn/apps/accessibility/webpack-4.24.0

Bump webpack from 4.23.1 to 4.24.0 in /apps/accessibility

6 years agoBump node-sass from 4.9.4 to 4.10.0 in /build 12260/head
dependabot[bot] [Mon, 5 Nov 2018 08:27:57 +0000 (08:27 +0000)]
Bump node-sass from 4.9.4 to 4.10.0 in /build

Bumps [node-sass](https://github.com/sass/node-sass) from 4.9.4 to 4.10.0.
- [Release notes](https://github.com/sass/node-sass/releases)
- [Changelog](https://github.com/sass/node-sass/blob/master/CHANGELOG.md)
- [Commits](https://github.com/sass/node-sass/compare/v4.9.4...v4.10.0)

Signed-off-by: dependabot[bot] <support@dependabot.com>
6 years agoMerge pull request #12261 from nextcloud/dependabot/npm_and_yarn/apps/accessibility...
Roeland Jago Douma [Mon, 5 Nov 2018 08:24:44 +0000 (09:24 +0100)]
Merge pull request #12261 from nextcloud/dependabot/npm_and_yarn/apps/accessibility/css-loader-1.0.1

Bump css-loader from 1.0.0 to 1.0.1 in /apps/accessibility

6 years agoBump webpack from 4.23.1 to 4.24.0 in /apps/accessibility 12262/head
dependabot[bot] [Mon, 5 Nov 2018 08:09:33 +0000 (08:09 +0000)]
Bump webpack from 4.23.1 to 4.24.0 in /apps/accessibility

Bumps [webpack](https://github.com/webpack/webpack) from 4.23.1 to 4.24.0.
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](https://github.com/webpack/webpack/compare/v4.23.1...v4.24.0)

Signed-off-by: dependabot[bot] <support@dependabot.com>
6 years agoMerge pull request #12265 from nextcloud/dav-bump
Roeland Jago Douma [Mon, 5 Nov 2018 08:05:32 +0000 (09:05 +0100)]
Merge pull request #12265 from nextcloud/dav-bump

bump dav version for migration

6 years agoMerge pull request #12244 from nextcloud/fix/3752/twofactorbutton-attempt2
John Molakvoæ [Mon, 5 Nov 2018 07:52:29 +0000 (08:52 +0100)]
Merge pull request #12244 from nextcloud/fix/3752/twofactorbutton-attempt2

make twofactor .button inline-block

6 years agoMerge pull request #12266 from nextcloud/bump/npm/settings
Roeland Jago Douma [Mon, 5 Nov 2018 07:49:34 +0000 (08:49 +0100)]
Merge pull request #12266 from nextcloud/bump/npm/settings

Bump npm deps: settings

6 years agoMerge pull request #12252 from nextcloud/theming-advanced-h3
Roeland Jago Douma [Mon, 5 Nov 2018 07:28:12 +0000 (08:28 +0100)]
Merge pull request #12252 from nextcloud/theming-advanced-h3

Change "Advanced options" to h3

6 years agoMerge pull request #12263 from nextcloud/dependabot/npm_and_yarn/apps/oauth2/webpack...
Roeland Jago Douma [Mon, 5 Nov 2018 07:26:21 +0000 (08:26 +0100)]
Merge pull request #12263 from nextcloud/dependabot/npm_and_yarn/apps/oauth2/webpack-4.24.0

Bump webpack from 4.23.1 to 4.24.0 in /apps/oauth2

6 years agoMerge pull request #12264 from nextcloud/dependabot/npm_and_yarn/apps/oauth2/css...
Roeland Jago Douma [Mon, 5 Nov 2018 07:25:15 +0000 (08:25 +0100)]
Merge pull request #12264 from nextcloud/dependabot/npm_and_yarn/apps/oauth2/css-loader-1.0.1

Bump css-loader from 1.0.0 to 1.0.1 in /apps/oauth2

6 years agoRebuild assets 12261/head
Roeland Jago Douma [Mon, 5 Nov 2018 07:22:10 +0000 (08:22 +0100)]
Rebuild assets

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
6 years agoMerge pull request #12254 from nextcloud/dependabot/npm_and_yarn/apps/updatenotificat...
Roeland Jago Douma [Mon, 5 Nov 2018 07:19:44 +0000 (08:19 +0100)]
Merge pull request #12254 from nextcloud/dependabot/npm_and_yarn/apps/updatenotification/css-loader-1.0.1

Bump css-loader from 1.0.0 to 1.0.1 in /apps/updatenotification

6 years agoMerge pull request #12255 from nextcloud/dependabot/npm_and_yarn/apps/updatenotificat...
Roeland Jago Douma [Mon, 5 Nov 2018 07:18:57 +0000 (08:18 +0100)]
Merge pull request #12255 from nextcloud/dependabot/npm_and_yarn/apps/updatenotification/webpack-4.24.0

Bump webpack from 4.23.1 to 4.24.0 in /apps/updatenotification

6 years agoBump npm deps: settings 12266/head
Roeland Jago Douma [Mon, 5 Nov 2018 07:16:59 +0000 (08:16 +0100)]
Bump npm deps: settings

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
6 years agoMerge pull request #12257 from nextcloud/dependabot/npm_and_yarn/settings/nextcloud...
dependabot[bot] [Mon, 5 Nov 2018 07:13:29 +0000 (07:13 +0000)]
Merge pull request #12257 from nextcloud/dependabot/npm_and_yarn/settings/nextcloud-vue-0.3.1

6 years agobump dav version for migration 12265/head
John Molakvoæ (skjnldsv) [Mon, 5 Nov 2018 07:11:31 +0000 (08:11 +0100)]
bump dav version for migration

Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
6 years agoMerge pull request #12231 from nextcloud/bugfix/10934/setmodel_before_render
Roeland Jago Douma [Mon, 5 Nov 2018 07:07:49 +0000 (08:07 +0100)]
Merge pull request #12231 from nextcloud/bugfix/10934/setmodel_before_render

Set the filemodel before rending the detailsview

6 years agoBump css-loader from 1.0.0 to 1.0.1 in /apps/oauth2 12264/head
dependabot[bot] [Mon, 5 Nov 2018 01:20:03 +0000 (01:20 +0000)]
Bump css-loader from 1.0.0 to 1.0.1 in /apps/oauth2

Bumps [css-loader](https://github.com/webpack-contrib/css-loader) from 1.0.0 to 1.0.1.
- [Release notes](https://github.com/webpack-contrib/css-loader/releases)
- [Changelog](https://github.com/webpack-contrib/css-loader/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack-contrib/css-loader/compare/v1.0.0...v1.0.1)

Signed-off-by: dependabot[bot] <support@dependabot.com>
6 years agoBump webpack from 4.23.1 to 4.24.0 in /apps/oauth2 12263/head
dependabot[bot] [Mon, 5 Nov 2018 01:19:45 +0000 (01:19 +0000)]
Bump webpack from 4.23.1 to 4.24.0 in /apps/oauth2

Bumps [webpack](https://github.com/webpack/webpack) from 4.23.1 to 4.24.0.
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](https://github.com/webpack/webpack/compare/v4.23.1...v4.24.0)

Signed-off-by: dependabot[bot] <support@dependabot.com>
6 years agoBump css-loader from 1.0.0 to 1.0.1 in /apps/accessibility
dependabot[bot] [Mon, 5 Nov 2018 01:18:53 +0000 (01:18 +0000)]
Bump css-loader from 1.0.0 to 1.0.1 in /apps/accessibility

Bumps [css-loader](https://github.com/webpack-contrib/css-loader) from 1.0.0 to 1.0.1.
- [Release notes](https://github.com/webpack-contrib/css-loader/releases)
- [Changelog](https://github.com/webpack-contrib/css-loader/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack-contrib/css-loader/compare/v1.0.0...v1.0.1)

Signed-off-by: dependabot[bot] <support@dependabot.com>
6 years agoBump nextcloud-vue from 0.2.0 to 0.3.1 in /settings 12257/head
dependabot[bot] [Mon, 5 Nov 2018 01:13:43 +0000 (01:13 +0000)]
Bump nextcloud-vue from 0.2.0 to 0.3.1 in /settings

Bumps [nextcloud-vue](https://github.com/nextcloud/vue-components) from 0.2.0 to 0.3.1.
- [Release notes](https://github.com/nextcloud/vue-components/releases)
- [Commits](https://github.com/nextcloud/vue-components/compare/v0.2.0...v0.3.1)

Signed-off-by: dependabot[bot] <support@dependabot.com>
6 years agoBump webpack from 4.23.1 to 4.24.0 in /apps/updatenotification 12255/head
dependabot[bot] [Mon, 5 Nov 2018 01:13:08 +0000 (01:13 +0000)]
Bump webpack from 4.23.1 to 4.24.0 in /apps/updatenotification

Bumps [webpack](https://github.com/webpack/webpack) from 4.23.1 to 4.24.0.
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](https://github.com/webpack/webpack/compare/v4.23.1...v4.24.0)

Signed-off-by: dependabot[bot] <support@dependabot.com>
6 years agoBump css-loader from 1.0.0 to 1.0.1 in /apps/updatenotification 12254/head
dependabot[bot] [Mon, 5 Nov 2018 01:12:42 +0000 (01:12 +0000)]
Bump css-loader from 1.0.0 to 1.0.1 in /apps/updatenotification

Bumps [css-loader](https://github.com/webpack-contrib/css-loader) from 1.0.0 to 1.0.1.
- [Release notes](https://github.com/webpack-contrib/css-loader/releases)
- [Changelog](https://github.com/webpack-contrib/css-loader/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack-contrib/css-loader/compare/v1.0.0...v1.0.1)

Signed-off-by: dependabot[bot] <support@dependabot.com>
6 years ago[tx-robot] updated from transifex
Nextcloud bot [Mon, 5 Nov 2018 01:12:32 +0000 (01:12 +0000)]
[tx-robot] updated from transifex

6 years agoAdd class "settings-hint" to 2FA-text 12253/head
Marius Blüm [Sun, 4 Nov 2018 23:19:18 +0000 (00:19 +0100)]
Add class "settings-hint" to 2FA-text

Signed-off-by: Marius Blüm <marius@lineone.io
6 years agoChange "Advanced options" to h3 12252/head
Marius Blüm [Sun, 4 Nov 2018 22:52:22 +0000 (23:52 +0100)]
Change "Advanced options" to h3

Signed-off-by: Marius Blüm <marius@lineone.io>
6 years agoMerge pull request #12105 from nextcloud/using-resharing-right-to-display-shares
Roeland Jago Douma [Sun, 4 Nov 2018 20:08:11 +0000 (21:08 +0100)]
Merge pull request #12105 from nextcloud/using-resharing-right-to-display-shares

Shares are displayed to users with resharing rights

6 years agoMerge pull request #12230 from nextcloud/bugfix/do_not_logerror_on_filelock
Roeland Jago Douma [Sun, 4 Nov 2018 19:40:17 +0000 (20:40 +0100)]
Merge pull request #12230 from nextcloud/bugfix/do_not_logerror_on_filelock

Do not log FileLock as exception

6 years agoAdded multi-get vcf download plugin 12004/head
John Molakvoæ (skjnldsv) [Wed, 24 Oct 2018 06:22:31 +0000 (08:22 +0200)]
Added multi-get vcf download plugin

Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
6 years agoFix tests 12230/head
Roeland Jago Douma [Sun, 4 Nov 2018 12:21:34 +0000 (13:21 +0100)]
Fix tests

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
6 years agoDo not log FileLock as exception
Roeland Jago Douma [Fri, 2 Nov 2018 21:06:25 +0000 (22:06 +0100)]
Do not log FileLock as exception

There is no reason to log FileLock errors as exceptions to the log file.
Locks happen for very legit reasons and it is actually a sign of the
code doing its job.

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
6 years agoMerge remote-tracking branch 'upstream/master' into fix_file_move 12128/head
Tomasz Grobelny [Sat, 3 Nov 2018 23:55:06 +0000 (23:55 +0000)]
Merge remote-tracking branch 'upstream/master' into fix_file_move

Signed-off-by: Tomasz Grobelny <tomasz@grobelny.net>
6 years agomake twofactor .button inlin-block 12244/head
Jonas Sulzer [Sun, 4 Nov 2018 03:01:40 +0000 (04:01 +0100)]
make twofactor .button inlin-block

fixes #3752

Signed-off-by: Jonas Sulzer <jonas@violoncello.ch>
6 years ago[tx-robot] updated from transifex
Nextcloud bot [Sun, 4 Nov 2018 01:14:02 +0000 (01:14 +0000)]
[tx-robot] updated from transifex

6 years agoFix move related tests
Tomasz Grobelny [Sat, 3 Nov 2018 23:01:32 +0000 (23:01 +0000)]
Fix move related tests

Signed-off-by: Tomasz Grobelny <tomasz@grobelny.net>
6 years agoMerge pull request #10890 from nextcloud/bugfix/10857/app-menu-resize
Roeland Jago Douma [Sat, 3 Nov 2018 08:35:14 +0000 (09:35 +0100)]
Merge pull request #10890 from nextcloud/bugfix/10857/app-menu-resize

Fix app menu calculation for random size of the right header

6 years ago[tx-robot] updated from transifex
Nextcloud bot [Sat, 3 Nov 2018 01:12:38 +0000 (01:12 +0000)]
[tx-robot] updated from transifex

6 years agoSet the filemodel before rending the detailsview 12231/head
Roeland Jago Douma [Fri, 2 Nov 2018 21:45:25 +0000 (22:45 +0100)]
Set the filemodel before rending the detailsview

fixes #10934

Else it triggers the rendering two times. Resulting is weird state in
for example the comments. Because the comments for OLD_FILEID are
retrieved but then the model is changed to NEW_FILEID. But the old
comments still get in and get parsed.

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
6 years agoFix app menu calculation for random size of the right header 10890/head
Julius Härtl [Mon, 27 Aug 2018 16:03:42 +0000 (18:03 +0200)]
Fix app menu calculation for random size of the right header

Signed-off-by: Julius Härtl <jus@bitgrid.net>
6 years agoMerge pull request #12071 from nextcloud/addressbook-uid-check-migration
Roeland Jago Douma [Fri, 2 Nov 2018 18:37:48 +0000 (19:37 +0100)]
Merge pull request #12071 from nextcloud/addressbook-uid-check-migration

Addressbook uid check migration

6 years agoMerge pull request #12215 from nextcloud/wait-for-the-link-share-menu-to-open-in...
Roeland Jago Douma [Fri, 2 Nov 2018 18:35:32 +0000 (19:35 +0100)]
Merge pull request #12215 from nextcloud/wait-for-the-link-share-menu-to-open-in-acceptance-tests

Wait for the link share menu to open in acceptance tests

6 years agoMerge pull request #12216 from nextcloud/bugfix/appmenu/loading
Roeland Jago Douma [Fri, 2 Nov 2018 18:34:21 +0000 (19:34 +0100)]
Merge pull request #12216 from nextcloud/bugfix/appmenu/loading

Fix loading indicator in app menu

6 years agoFix files_sharing 12185/head
Roeland Jago Douma [Fri, 2 Nov 2018 15:41:49 +0000 (16:41 +0100)]
Fix files_sharing

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
6 years agoProperly query the methodreflector
Roeland Jago Douma [Fri, 2 Nov 2018 10:54:11 +0000 (11:54 +0100)]
Properly query the methodreflector

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
6 years agoFix tests
Roeland Jago Douma [Thu, 1 Nov 2018 10:29:29 +0000 (11:29 +0100)]
Fix tests

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
6 years agoThe identityproof manager should be in Server
Roeland Jago Douma [Thu, 1 Nov 2018 09:54:32 +0000 (10:54 +0100)]
The identityproof manager should be in Server

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
6 years agoNo need to register it also in the DI Container
Roeland Jago Douma [Thu, 1 Nov 2018 09:51:13 +0000 (10:51 +0100)]
No need to register it also in the DI Container

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
6 years agoThe Encryption manager belongs in Server.php
Roeland Jago Douma [Thu, 1 Nov 2018 09:48:27 +0000 (10:48 +0100)]
The Encryption manager belongs in Server.php

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
6 years agoSearchResult should be difined in Server as it is a core component
Roeland Jago Douma [Thu, 1 Nov 2018 09:46:42 +0000 (10:46 +0100)]
SearchResult should be difined in Server as it is a core component

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
6 years agoThe UserSession is constructed in the server
Roeland Jago Douma [Thu, 1 Nov 2018 09:43:01 +0000 (10:43 +0100)]
The UserSession is constructed in the server

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
6 years agoTimeFactory is already regsitsered in the Server Container
Roeland Jago Douma [Thu, 1 Nov 2018 09:40:11 +0000 (10:40 +0100)]
TimeFactory is already regsitsered in the Server Container

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
6 years agoRequest is already regsitered in the Server container
Roeland Jago Douma [Thu, 1 Nov 2018 09:39:42 +0000 (10:39 +0100)]
Request is already regsitered in the Server container

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
6 years agoWas already registered in Server
Roeland Jago Douma [Thu, 1 Nov 2018 09:38:49 +0000 (10:38 +0100)]
Was already registered in Server

The DIContainaer will query server anyways if it can't find it

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
6 years agoMerge pull request #11404 from flokli/sendmail-path
Roeland Jago Douma [Fri, 2 Nov 2018 15:17:02 +0000 (16:17 +0100)]
Merge pull request #11404 from flokli/sendmail-path

Mailer: discover sendmail path instead of hardcoding it to /usr/sbin/sendmail

6 years agoFix loading indicator in app menu 12216/head
Julius Härtl [Fri, 2 Nov 2018 14:11:18 +0000 (15:11 +0100)]
Fix loading indicator in app menu

Signed-off-by: Julius Härtl <jus@bitgrid.net>
6 years agoMerge pull request #11875 from nextcloud/add-support-for-sending-the-password-for...
Roeland Jago Douma [Fri, 2 Nov 2018 13:54:46 +0000 (14:54 +0100)]
Merge pull request #11875 from nextcloud/add-support-for-sending-the-password-for-a-link-share-by-nextcloud-talk

Add support for sending the password for a link share by Nextcloud Talk

6 years agoWait for the link share menu to open in acceptance tests 12215/head
Daniel Calviño Sánchez [Fri, 2 Nov 2018 13:08:03 +0000 (14:08 +0100)]
Wait for the link share menu to open in acceptance tests

In the acceptance tests the link share menu is automatically opened if
needed before interacting with an item in the menu; if the menu is not
open it is opened by clicking on its toggle.

However, since a recent change the link share menu is automatically
opened by the regular UI after the link share is created. This causes
that, sometimes, after the creation of a link share the acceptance tests
check whether the menu is shown or not before the menu was automatically
opened; as the menu is not open then the acceptance tests proceed to
click on the toggle, but in the meantime the link share was created and
the menu opened, so clicking on the toggle now closes it. As the menu is
closed it is not possible to interact with its items and the test fails.

To prevent that now the acceptance tests wait for the link share menu to
open after a link share is created before continuing with the other
steps.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
6 years agoPhpunit fix 12071/head
John Molakvoæ (skjnldsv) [Fri, 2 Nov 2018 13:20:53 +0000 (14:20 +0100)]
Phpunit fix

Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
6 years agoMerge pull request #12200 from nextcloud/tech-debt/noid/cleanup-legacy-sharing
Morris Jobke [Fri, 2 Nov 2018 13:03:51 +0000 (14:03 +0100)]
Merge pull request #12200 from nextcloud/tech-debt/noid/cleanup-legacy-sharing

Cleanup some unused sharing methods from the old sharing code

6 years agoFallback to default path is sendmail can't be found 11404/head
Roeland Jago Douma [Fri, 2 Nov 2018 13:03:11 +0000 (14:03 +0100)]
Fallback to default path is sendmail can't be found

If the sendmail binary can't be found at all we fallback to the default
path.
It most likely is not there but then at least a proper error message
pops up.

Updated the tests to also properly pass.

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
6 years agoMerge pull request #12190 from forsd/AddtestFiles_Trashbin
Morris Jobke [Fri, 2 Nov 2018 13:01:25 +0000 (14:01 +0100)]
Merge pull request #12190 from forsd/AddtestFiles_Trashbin

Add test OCA\Files_Trashbin\Capabilities

6 years agoMailer: discover sendmail path instead of hardcoding it to /usr/sbin/sendmail
Florian Klink [Thu, 27 Sep 2018 00:12:02 +0000 (02:12 +0200)]
Mailer: discover sendmail path instead of hardcoding it to /usr/sbin/sendmail

`sendmail` can very well be in a path different from
`/usr/sbin/sendmail`.

We already search `$PATH` at `lib/private/Settings/Admin/Mail.php` to
detect whether we want to offer sendmail as a mail transfer method, so
let's be consistent and actually initialize `\Swift_SendmailTransport`
with this path to sendmail, instead of just hardcoding
`/usr/sbin/sendmail`.

Signed-off-by: Florian Klink <flokli@flokli.de>
6 years agoMerge pull request #12148 from nextcloud/suppress-wrong-audit-log-message
Roeland Jago Douma [Fri, 2 Nov 2018 12:52:50 +0000 (13:52 +0100)]
Merge pull request #12148 from nextcloud/suppress-wrong-audit-log-message

suppress wrong audit log messages about failed login attempts

6 years agoMerge pull request #12198 from nextcloud/fix/noid/during-hard-failure-log-original...
Roeland Jago Douma [Fri, 2 Nov 2018 12:49:32 +0000 (13:49 +0100)]
Merge pull request #12198 from nextcloud/fix/noid/during-hard-failure-log-original-exception

Log the previous exception during hard failure

6 years agoBump autoloaders 11786/head
Roeland Jago Douma [Fri, 2 Nov 2018 12:45:01 +0000 (13:45 +0100)]
Bump autoloaders

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
6 years agoExpose the info to the JS
Roeland Jago Douma [Fri, 2 Nov 2018 11:32:45 +0000 (12:32 +0100)]
Expose the info to the JS

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
6 years agoUpdate password confirmation middleware
Roeland Jago Douma [Thu, 11 Oct 2018 19:56:24 +0000 (21:56 +0200)]
Update password confirmation middleware

If the userbackend doesn't allow validating the password for a given uid
then there is no need to perform this check.

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
6 years agoExpose the backend of IUser
Roeland Jago Douma [Thu, 11 Oct 2018 19:55:42 +0000 (21:55 +0200)]
Expose the backend of IUser

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
6 years agoNew user backend interface to check if a user can confirm passwords
Roeland Jago Douma [Thu, 11 Oct 2018 19:46:04 +0000 (21:46 +0200)]
New user backend interface to check if a user can confirm passwords

On some backends (saml for example) users can't revalidate their
passwords as Nextcloud has no way to do verify it.

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
6 years agoAdd acceptance test steps to be used from Talk acceptance tests 11875/head
Daniel Calviño Sánchez [Tue, 16 Oct 2018 12:26:35 +0000 (14:26 +0200)]
Add acceptance test steps to be used from Talk acceptance tests

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
6 years agoTest that "Password protect by Talk" is not shown if Talk is not enabled
Daniel Calviño Sánchez [Tue, 16 Oct 2018 12:20:56 +0000 (14:20 +0200)]
Test that "Password protect by Talk" is not shown if Talk is not enabled

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
6 years agoAdd "Password protect by Talk" to the menu of link shares
Daniel Calviño Sánchez [Mon, 15 Oct 2018 15:09:46 +0000 (17:09 +0200)]
Add "Password protect by Talk" to the menu of link shares

When Talk is enabled the menu for link shares now shows a checkbox to
protect the password by Talk (that is, to show the "Request password by
Talk" UI in the authentication page for the link share).

Although in e-mail shares protecting the share with a password and
protecting the password by Talk are mutually exclusive actions (as when
the password is set it is sent to the sharee, so it must be set again
when protecting it by Talk to be able to verify the identity of the
sharee), in the case of link shares protecting the password by Talk is
an additional step to protecting the share with a password (as just
setting the password does not disclose it to anyone). As such, the
checkbox is shown only when there is a password set for the link share
(even if the field itself for the password is not shown, like when they
are enforced in the settings).

Note that the icon set for the field, "icon-passwordtalk", does not
currently exist; it is the same used for e-mail shares, and it is needed
simply to get the right padding in the menu.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
6 years agoMerge pull request #12182 from nextcloud/3rdparty/sabre-3.2.3
Julius Härtl [Fri, 2 Nov 2018 12:09:46 +0000 (13:09 +0100)]
Merge pull request #12182 from nextcloud/3rdparty/sabre-3.2.3

[3rdparty] Bump sabre/dav to 3.2.3

6 years agorevert tests 12105/head
Maxence Lange [Thu, 1 Nov 2018 15:46:38 +0000 (16:46 +0100)]
revert tests

Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
6 years agouser can have his resharing rights revoked, yet seeing created shares
Maxence Lange [Thu, 1 Nov 2018 14:01:01 +0000 (15:01 +0100)]
user can have his resharing rights revoked, yet seeing created shares

Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
6 years agocheck parents resharing rights
Maxence Lange [Thu, 1 Nov 2018 12:41:19 +0000 (13:41 +0100)]
check parents resharing rights

Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
6 years agoUse property to check if a share entry is shared with the current user
Julius Härtl [Wed, 31 Oct 2018 11:59:32 +0000 (12:59 +0100)]
Use property to check if a share entry is shared with the current user

Signed-off-by: Julius Härtl <jus@bitgrid.net>
6 years agoAdd uid_owner to enable permission settings on the views
Julius Härtl [Wed, 31 Oct 2018 11:11:34 +0000 (12:11 +0100)]
Add uid_owner to enable permission settings on the views

Signed-off-by: Julius Härtl <jus@bitgrid.net>
6 years agoRemove reshare owner entry from the share list
Julius Härtl [Tue, 30 Oct 2018 13:23:00 +0000 (14:23 +0100)]
Remove reshare owner entry from the share list

Signed-off-by: Julius Härtl <jus@bitgrid.net>
6 years agoShow share settings for owner and reshare owners only
Julius Härtl [Tue, 30 Oct 2018 13:22:33 +0000 (14:22 +0100)]
Show share settings for owner and reshare owners only

Signed-off-by: Julius Härtl <jus@bitgrid.net>
6 years agolimit to circles moderator
Maxence Lange [Tue, 30 Oct 2018 09:02:38 +0000 (10:02 +0100)]
limit to circles moderator

Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
6 years agodisplay shares to circles moderator
Maxence Lange [Tue, 30 Oct 2018 08:58:43 +0000 (09:58 +0100)]
display shares to circles moderator

Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
6 years agoshares are displayed to users with resharing rights
Maxence Lange [Mon, 29 Oct 2018 09:03:52 +0000 (10:03 +0100)]
shares are displayed to users with resharing rights

Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
6 years agoMerge pull request #12207 from nextcloud/item-list-popover-fix
Morris Jobke [Fri, 2 Nov 2018 09:58:30 +0000 (10:58 +0100)]
Merge pull request #12207 from nextcloud/item-list-popover-fix

Fix popover menu alignment in list