]> source.dussan.org Git - nextcloud-server.git/log
nextcloud-server.git
5 years agoFix getting the access list on external storage 14747/head
Roeland Jago Douma [Tue, 19 Mar 2019 14:38:52 +0000 (15:38 +0100)]
Fix getting the access list on external storage

If a file is on external storage there is no owner. WHich means we can't
check. So just return an empty array then.

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
5 years agoMerge pull request #14571 from cowai/optimize-files_external-notify
Morris Jobke [Tue, 19 Mar 2019 06:25:41 +0000 (07:25 +0100)]
Merge pull request #14571 from cowai/optimize-files_external-notify

Use index to mark parent as outdated, fixes: #14537

5 years ago[tx-robot] updated from transifex
Nextcloud bot [Tue, 19 Mar 2019 01:12:41 +0000 (01:12 +0000)]
[tx-robot] updated from transifex

5 years agoUse two queries to mark parent as outdated 14571/head
Ari Selseng [Wed, 6 Mar 2019 15:15:27 +0000 (16:15 +0100)]
Use two queries to mark parent as outdated

Signed-off-by: Ari Selseng <ari@selseng.net>
5 years agoMerge pull request #14737 from nextcloud/improve-starting-speed-of-acceptance-tests
Roeland Jago Douma [Mon, 18 Mar 2019 15:21:21 +0000 (16:21 +0100)]
Merge pull request #14737 from nextcloud/improve-starting-speed-of-acceptance-tests

Improve startup speed of acceptance tests

5 years agoMerge pull request #14736 from nextcloud/fix/do_not_load_showpassword
Morris Jobke [Mon, 18 Mar 2019 15:17:39 +0000 (16:17 +0100)]
Merge pull request #14736 from nextcloud/fix/do_not_load_showpassword

Fix showpassword loads

5 years agoMerge pull request #14724 from nextcloud/enh/nonce_for_iframes
Morris Jobke [Mon, 18 Mar 2019 15:17:18 +0000 (16:17 +0100)]
Merge pull request #14724 from nextcloud/enh/nonce_for_iframes

CSP: set nonce for iframes

5 years agoImprove startup speed of acceptance tests 14737/head
Joas Schilling [Mon, 18 Mar 2019 14:21:42 +0000 (15:21 +0100)]
Improve startup speed of acceptance tests

Signed-off-by: Joas Schilling <coding@schilljs.com>
5 years agoMerge pull request #14666 from nextcloud/design/settings-header
Morris Jobke [Mon, 18 Mar 2019 13:48:36 +0000 (14:48 +0100)]
Merge pull request #14666 from nextcloud/design/settings-header

Don't show 'Personal' header in settings when Admin section is not there

5 years agoFix showpassword loads 14736/head
Roeland Jago Douma [Mon, 18 Mar 2019 13:38:44 +0000 (14:38 +0100)]
Fix showpassword loads

This is bundled by default. So trying to load it throws a warning in the
logs.

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
5 years agoAdjust acceptance tests 14666/head
Morris Jobke [Mon, 18 Mar 2019 13:16:40 +0000 (14:16 +0100)]
Adjust acceptance tests

Signed-off-by: Morris Jobke <hey@morrisjobke.de>
5 years agoMerge pull request #14721 from nextcloud/fix/14639/trash_delete_perm
Roeland Jago Douma [Mon, 18 Mar 2019 09:09:59 +0000 (10:09 +0100)]
Merge pull request #14721 from nextcloud/fix/14639/trash_delete_perm

Trashbin: Delete => Delete permanently

5 years agoMerge pull request #14719 from nextcloud/fix/14639/fix_preview_size_trash
Roeland Jago Douma [Mon, 18 Mar 2019 09:07:25 +0000 (10:07 +0100)]
Merge pull request #14719 from nextcloud/fix/14639/fix_preview_size_trash

Use higher preview resolution in trashbin

5 years ago[tx-robot] updated from transifex
Nextcloud bot [Mon, 18 Mar 2019 01:12:27 +0000 (01:12 +0000)]
[tx-robot] updated from transifex

5 years agoDon't show 'Personal' header in settings when Admin section is not there
Jan-Christoph Borchardt [Wed, 13 Mar 2019 20:13:55 +0000 (21:13 +0100)]
Don't show 'Personal' header in settings when Admin section is not there

Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
5 years ago[tx-robot] updated from transifex
Nextcloud bot [Sun, 17 Mar 2019 01:13:23 +0000 (01:13 +0000)]
[tx-robot] updated from transifex

5 years agoCSP: set nonce for iframes 14724/head
Roeland Jago Douma [Sat, 16 Mar 2019 19:19:43 +0000 (20:19 +0100)]
CSP: set nonce for iframes

This for now uses the jsNonce. That way we can easily backport it.
For 17 I will fix it properly.

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
5 years agoTrashbin: Delete => Delete permanently 14721/head
Roeland Jago Douma [Sat, 16 Mar 2019 14:04:20 +0000 (15:04 +0100)]
Trashbin: Delete => Delete permanently

For #14639

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
5 years agoUse higher preview resolution in trashbin 14719/head
Roeland Jago Douma [Sat, 16 Mar 2019 13:56:26 +0000 (14:56 +0100)]
Use higher preview resolution in trashbin

For #14639

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
5 years ago[tx-robot] updated from transifex
Nextcloud bot [Sat, 16 Mar 2019 01:12:34 +0000 (01:12 +0000)]
[tx-robot] updated from transifex

5 years agoMerge pull request #14643 from nextcloud/setup-page-db-select
Roeland Jago Douma [Fri, 15 Mar 2019 17:18:12 +0000 (18:18 +0100)]
Merge pull request #14643 from nextcloud/setup-page-db-select

fix database select styling in setup page

5 years agoMerge pull request #14705 from nextcloud/deprecate/marked-escapeHTML-formatDate-getUR...
Roeland Jago Douma [Fri, 15 Mar 2019 17:08:21 +0000 (18:08 +0100)]
Merge pull request #14705 from nextcloud/deprecate/marked-escapeHTML-formatDate-getURLParameter-humanFileSize-relative_modified_date-select2

Deprecate marked, escapeHTML, formatDate, getURLParameter, humanFileS…

5 years agoMerge pull request #14689 from nextcloud/rename-moveable-mount-readonly-parent
Roeland Jago Douma [Fri, 15 Mar 2019 15:48:34 +0000 (16:48 +0100)]
Merge pull request #14689 from nextcloud/rename-moveable-mount-readonly-parent

allow renaming the root of a movable mount even if the parent folder …

5 years agoMerge pull request #14706 from nextcloud/warn-sqlite-fix
Roeland Jago Douma [Fri, 15 Mar 2019 15:40:47 +0000 (16:40 +0100)]
Merge pull request #14706 from nextcloud/warn-sqlite-fix

Fix language of SQLite warning, follow-up to #14682

5 years agoDeprecate marked, escapeHTML, formatDate, getURLParameter, humanFileSize, relative_mo... 14705/head
John Molakvoæ (skjnldsv) [Thu, 14 Mar 2019 21:34:35 +0000 (22:34 +0100)]
Deprecate marked, escapeHTML, formatDate, getURLParameter, humanFileSize, relative_modified_date and select2

Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
5 years agoRemoved radio and shadow on active 14643/head
John Molakvoæ (skjnldsv) [Fri, 15 Mar 2019 11:03:13 +0000 (12:03 +0100)]
Removed radio and shadow on active

Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
5 years agoMerge pull request #14712 from nextcloud/remove-spaming-debug-logs
Morris Jobke [Fri, 15 Mar 2019 13:46:44 +0000 (14:46 +0100)]
Merge pull request #14712 from nextcloud/remove-spaming-debug-logs

Remove spaming debug logs

5 years agoMerge pull request #14641 from nextcloud/assemblystream-seek
Morris Jobke [Fri, 15 Mar 2019 11:25:28 +0000 (12:25 +0100)]
Merge pull request #14641 from nextcloud/assemblystream-seek

make assemblystream seekable

5 years agoRemove spaming debug logs 14712/head
Joas Schilling [Fri, 15 Mar 2019 11:13:44 +0000 (12:13 +0100)]
Remove spaming debug logs

Signed-off-by: Joas Schilling <coding@schilljs.com>
5 years agoMerge pull request #14628 from nextcloud/bugfix/14627/fix-plural-rule-detection
Morris Jobke [Fri, 15 Mar 2019 09:48:26 +0000 (10:48 +0100)]
Merge pull request #14628 from nextcloud/bugfix/14627/fix-plural-rule-detection

Fix plural rule detection for languages

5 years ago[tx-robot] updated from transifex
Nextcloud bot [Fri, 15 Mar 2019 01:15:19 +0000 (01:15 +0000)]
[tx-robot] updated from transifex

5 years agoFix language of SQLite warning, follow-up to #14682 14706/head
Jan-Christoph Borchardt [Fri, 15 Mar 2019 00:59:26 +0000 (01:59 +0100)]
Fix language of SQLite warning, follow-up to #14682

Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
5 years agoMerge pull request #14682 from nextcloud/warn-sqlite
Roeland Jago Douma [Fri, 15 Mar 2019 00:33:08 +0000 (01:33 +0100)]
Merge pull request #14682 from nextcloud/warn-sqlite

Using SQLite should sound more scary 😈

5 years agoFix behaviour of plural default rule 14628/head
Morris Jobke [Fri, 15 Mar 2019 00:19:39 +0000 (01:19 +0100)]
Fix behaviour of plural default rule

* undefined and empty string should trigger the default plural form

Signed-off-by: Morris Jobke <hey@morrisjobke.de>
5 years agoMerge pull request #14637 from nextcloud/design/grid-border
Morris Jobke [Thu, 14 Mar 2019 22:31:18 +0000 (23:31 +0100)]
Merge pull request #14637 from nextcloud/design/grid-border

Add border around previews

5 years agoMerge pull request #14686 from nextcloud/bugfix/noid/fix-hardcoded-f-url-handling
Morris Jobke [Thu, 14 Mar 2019 22:30:50 +0000 (23:30 +0100)]
Merge pull request #14686 from nextcloud/bugfix/noid/fix-hardcoded-f-url-handling

Add correct method for hardcoded `/f/{fileid}`

5 years agoMerge pull request #14681 from nextcloud/forwardport/noid/fragile-tests
Morris Jobke [Thu, 14 Mar 2019 22:30:05 +0000 (23:30 +0100)]
Merge pull request #14681 from nextcloud/forwardport/noid/fragile-tests

Disable fragile tests - part 2

5 years agoMerge pull request #14702 from nextcloud/rakekniven-patch-1
Morris Jobke [Thu, 14 Mar 2019 20:43:03 +0000 (21:43 +0100)]
Merge pull request #14702 from nextcloud/rakekniven-patch-1

Fixed Uppercase of Product name

5 years agoFixed Uppercase of Product name 14702/head
rakekniven [Thu, 14 Mar 2019 19:30:28 +0000 (20:30 +0100)]
Fixed Uppercase of Product name

Signed-off-by: Mark Ziegler <mark.ziegler@rakekniven.de>
5 years agoMerge pull request #14690 from nextcloud/dav-rename-hande-failure
Morris Jobke [Thu, 14 Mar 2019 19:28:17 +0000 (20:28 +0100)]
Merge pull request #14690 from nextcloud/dav-rename-hande-failure

throw a proper error if rename fails in dav

5 years agoMerge pull request #14693 from nextcloud/trashbin-restore-readonly-target
Roeland Jago Douma [Thu, 14 Mar 2019 19:26:49 +0000 (20:26 +0100)]
Merge pull request #14693 from nextcloud/trashbin-restore-readonly-target

dont try to restore a trashbin item to a readonly target

5 years agoMerge pull request #14687 from nextcloud/ci/noid/ldap-user-deletion
Morris Jobke [Thu, 14 Mar 2019 17:35:32 +0000 (18:35 +0100)]
Merge pull request #14687 from nextcloud/ci/noid/ldap-user-deletion

add an integration test that ensures deletion of LDAP users

5 years agoMerge pull request #14684 from nextcloud/long-etag-dav
Roeland Jago Douma [Thu, 14 Mar 2019 16:18:29 +0000 (17:18 +0100)]
Merge pull request #14684 from nextcloud/long-etag-dav

handle long etags from dav external storage

5 years ago[tx-robot] updated from transifex
Nextcloud bot [Thu, 14 Mar 2019 16:08:31 +0000 (16:08 +0000)]
[tx-robot] updated from transifex

5 years agoMerge pull request #14679 from nextcloud/fix/noid/l10n-accessibiltiy
Morris Jobke [Thu, 14 Mar 2019 15:55:17 +0000 (16:55 +0100)]
Merge pull request #14679 from nextcloud/fix/noid/l10n-accessibiltiy

Fix translation sync for accessibiltiy

5 years agoMerge pull request #14683 from nextcloud/postgres-cast-string
Morris Jobke [Thu, 14 Mar 2019 15:45:53 +0000 (16:45 +0100)]
Merge pull request #14683 from nextcloud/postgres-cast-string

add casting to string for postgresql query builder

5 years agoOnly show border for files with generated previews 14637/head
Jan-Christoph Borchardt [Thu, 14 Mar 2019 15:36:55 +0000 (16:36 +0100)]
Only show border for files with generated previews

Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
5 years agoDisable failing files app test - act 4 14681/head
Morris Jobke [Thu, 14 Mar 2019 15:30:38 +0000 (16:30 +0100)]
Disable failing files app test - act 4

Signed-off-by: Morris Jobke <hey@morrisjobke.de>
5 years agoImport needed class 14686/head
Morris Jobke [Thu, 14 Mar 2019 15:28:01 +0000 (16:28 +0100)]
Import needed class

Signed-off-by: Morris Jobke <hey@morrisjobke.de>
5 years agoDisable failing files app test - act 3
Morris Jobke [Thu, 14 Mar 2019 15:24:06 +0000 (16:24 +0100)]
Disable failing files app test - act 3

Signed-off-by: Morris Jobke <hey@morrisjobke.de>
5 years agoMerge pull request #14668 from nextcloud/fix/noid/make-appstore-test-more-stable
Morris Jobke [Thu, 14 Mar 2019 15:19:10 +0000 (16:19 +0100)]
Merge pull request #14668 from nextcloud/fix/noid/make-appstore-test-more-stable

Make appstore app:enable test more robust by repeating if it fails on the first try

5 years agoDisable failing app management test
Morris Jobke [Thu, 14 Mar 2019 15:18:46 +0000 (16:18 +0100)]
Disable failing app management test

Signed-off-by: Morris Jobke <hey@morrisjobke.de>
5 years agodont try to restore a trashbin item to a readonly target 14693/head
Robin Appelman [Thu, 14 Mar 2019 15:18:43 +0000 (16:18 +0100)]
dont try to restore a trashbin item to a readonly target

Signed-off-by: Robin Appelman <robin@icewind.nl>
5 years agothrow a proper error if rename fails in dav 14690/head
Robin Appelman [Thu, 14 Mar 2019 14:40:21 +0000 (15:40 +0100)]
throw a proper error if rename fails in dav

Signed-off-by: Robin Appelman <robin@icewind.nl>
5 years agoallow renaming the root of a movable mount even if the parent folder is readonly 14689/head
Robin Appelman [Thu, 14 Mar 2019 14:27:25 +0000 (15:27 +0100)]
allow renaming the root of a movable mount even if the parent folder is readonly

Signed-off-by: Robin Appelman <robin@icewind.nl>
5 years agoadd an integration test that ensures deletion of LDAP users 14687/head
Arthur Schiwon [Thu, 14 Mar 2019 14:21:52 +0000 (15:21 +0100)]
add an integration test that ensures deletion of LDAP users

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
5 years agoAdd correct method for hardcoded `/f/{fileid}`
Joas Schilling [Thu, 14 Mar 2019 14:12:16 +0000 (15:12 +0100)]
Add correct method for hardcoded `/f/{fileid}`

Signed-off-by: Joas Schilling <coding@schilljs.com>
5 years agohandle long etags from dav external storage 14684/head
Robin Appelman [Thu, 14 Mar 2019 13:46:39 +0000 (14:46 +0100)]
handle long etags from dav external storage

we can only store etags up to 40 characters long in the database, so when we get an etag that's longer we simply hash it to bring down the length

Signed-off-by: Robin Appelman <robin@icewind.nl>
5 years agoadd casting to string for postgresql query builder 14683/head
Robin Appelman [Thu, 14 Mar 2019 13:19:10 +0000 (14:19 +0100)]
add casting to string for postgresql query builder

Signed-off-by: Robin Appelman <robin@icewind.nl>
5 years agoUsing SQLite should sound more scary 😈 14682/head
Marius Blüm [Thu, 14 Mar 2019 12:56:09 +0000 (13:56 +0100)]
Using SQLite should sound more scary 😈

- According to our administrator manual we should mention limitation to minimal and development/testing instances

Signed-off-by: Marius Blüm <marius@lineone.io>
5 years agoDisable failing comments app test - act 2
Morris Jobke [Thu, 14 Mar 2019 12:45:36 +0000 (13:45 +0100)]
Disable failing comments app test - act 2

Signed-off-by: Morris Jobke <hey@morrisjobke.de>
5 years agoDisable failing files app test - act 2
Morris Jobke [Thu, 14 Mar 2019 12:44:28 +0000 (13:44 +0100)]
Disable failing files app test - act 2

Signed-off-by: Morris Jobke <hey@morrisjobke.de>
5 years agoMake appstore app:enable test more robust by using only shipped apps 14668/head
Morris Jobke [Wed, 13 Mar 2019 20:43:17 +0000 (21:43 +0100)]
Make appstore app:enable test more robust by using only shipped apps

Signed-off-by: Morris Jobke <hey@morrisjobke.de>
5 years agoAdd time between SMB test runs and properly log full changeset 14679/head
Morris Jobke [Thu, 14 Mar 2019 12:34:17 +0000 (13:34 +0100)]
Add time between SMB test runs and properly log full changeset

Signed-off-by: Morris Jobke <hey@morrisjobke.de>
5 years agoMerge pull request #14652 from nextcloud/fix/invalid_usernames
Joas Schilling [Thu, 14 Mar 2019 11:05:34 +0000 (12:05 +0100)]
Merge pull request #14652 from nextcloud/fix/invalid_usernames

Do not allow invalid users to be created

5 years agoFix translation sync for accessibiltiy
Morris Jobke [Thu, 14 Mar 2019 10:57:02 +0000 (11:57 +0100)]
Fix translation sync for accessibiltiy

Signed-off-by: Morris Jobke <hey@morrisjobke.de>
5 years agoDo not allow invalid users to be created 14652/head
Roeland Jago Douma [Wed, 13 Mar 2019 08:45:25 +0000 (09:45 +0100)]
Do not allow invalid users to be created

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
5 years agoMerge pull request #12119 from nextcloud/add_circle_to_caldav_and_filepanel-15
Morris Jobke [Thu, 14 Mar 2019 09:11:31 +0000 (10:11 +0100)]
Merge pull request #12119 from nextcloud/add_circle_to_caldav_and_filepanel-15

Add Circle to Caldav and Filepanel

5 years agoMerge pull request #14670 from nextcloud/bugfix/noid/theming-css-vars
Julius Härtl [Thu, 14 Mar 2019 07:51:21 +0000 (08:51 +0100)]
Merge pull request #14670 from nextcloud/bugfix/noid/theming-css-vars

Use SCSS variables since CSS vars are not loaded on public pages

5 years agoImprove code 12119/head
Morris Jobke [Wed, 13 Mar 2019 22:01:47 +0000 (23:01 +0100)]
Improve code

Signed-off-by: Morris Jobke <hey@morrisjobke.de>
5 years agoUse SCSS variables since CSS vars are not loaded on public pages 14670/head
Julius Härtl [Wed, 13 Mar 2019 21:09:36 +0000 (22:09 +0100)]
Use SCSS variables since CSS vars are not loaded on public pages

Signed-off-by: Julius Härtl <jus@bitgrid.net>
5 years agoMerge pull request #14663 from nextcloud/remove_userExternal_example
Roeland Jago Douma [Wed, 13 Mar 2019 20:45:10 +0000 (21:45 +0100)]
Merge pull request #14663 from nextcloud/remove_userExternal_example

remove user_external example from config.sample.php

5 years agoMerge pull request #14640 from nextcloud/techdebt/noid/disable-failing-tests
Morris Jobke [Wed, 13 Mar 2019 20:29:59 +0000 (21:29 +0100)]
Merge pull request #14640 from nextcloud/techdebt/noid/disable-failing-tests

Disable fragile tests

5 years ago👌 IMPROVE: remove user_external example from config.sample.php 14663/head
Jonas Sulzer [Wed, 13 Mar 2019 17:14:03 +0000 (18:14 +0100)]
👌 IMPROVE: remove user_external example from config.sample.php

Signed-off-by: Jonas Sulzer <jonas@violoncello.ch>
5 years agoWait up to 10 seconds for incoming changes from SMB notifier 14640/head
Morris Jobke [Tue, 12 Mar 2019 16:16:03 +0000 (17:16 +0100)]
Wait up to 10 seconds for incoming changes from SMB notifier

Signed-off-by: Morris Jobke <hey@morrisjobke.de>
5 years agoDisable fragile user acceptance tests
Morris Jobke [Tue, 12 Mar 2019 16:06:04 +0000 (17:06 +0100)]
Disable fragile user acceptance tests

Signed-off-by: Morris Jobke <hey@morrisjobke.de>
5 years agoDisable failing login test
Morris Jobke [Tue, 12 Mar 2019 15:39:57 +0000 (16:39 +0100)]
Disable failing login test

 * tests/acceptance/features/login.feature:15
<details><summary>Show full log</summary>

```
  Scenario: log in with valid user and invalid password once fixed by admin # /drone/src/github.com/nextcloud/server/tests/acceptance/features/login.feature:15
    Given I act as John                                                     # ActorContext::iActAs()
    And I can not log in with user user0 and password 654231                # LoginPageContext::iCanNotLogInWithUserAndPassword()
    When I act as Jane                                                      # ActorContext::iActAs()
    And I am logged in as the admin                                         # LoginPageContext::iAmLoggedInAsTheAdmin()
    And I open the User settings                                            # SettingsMenuContext::iOpenTheUserSettings()
    And I set the password for user0 to 654321                              # UsersSettingsContext::iSetTheFieldForUserTo()
    And I act as John                                                       # ActorContext::iActAs()
    And I log in with user user0 and password 654321                        # LoginPageContext::iLogInWithUserAndPassword()
    Then I see that the current page is the Files app                       # FilesAppContext::iSeeThatTheCurrentPageIsTheFilesApp()
      Failed asserting that 'http://acceptance-login/index.php/login?user=user0' starts with "http://acceptance-login/index.php/apps/files/".

```
</details>

Signed-off-by: Morris Jobke <hey@morrisjobke.de>
5 years agoDisable failing comments test
Morris Jobke [Tue, 12 Mar 2019 13:38:55 +0000 (14:38 +0100)]
Disable failing comments test

Signed-off-by: Morris Jobke <hey@morrisjobke.de>
5 years agoDisable failing files app test
Morris Jobke [Tue, 12 Mar 2019 12:41:55 +0000 (13:41 +0100)]
Disable failing files app test

Fails with:

 * tests/acceptance/features/app-files.feature:90
<details><summary>Show full log</summary>

```
  Scenario: show favorites                                            # /drone/src/github.com/nextcloud/server/tests/acceptance/features/app-files.feature:90
    Given I am logged in                                              # LoginPageContext::iAmLoggedIn()
    And I mark "welcome.txt" as favorite                              # FileListContext::iMarkAsFavorite()
    When I open the "Favorites" section                               # AppNavigationContext::iOpenTheSection()
    Then I see that the current section is "Favorites"                # AppNavigationContext::iSeeThatTheCurrentSectionIs()
    Then I see that the file list contains a file named "welcome.txt" # FileListContext::iSeeThatTheFileListContainsAFileNamed()
      Row for file welcome.txt in file list could not be found after 100 seconds (NoSuchElementException)
```
</details>

Signed-off-by: Morris Jobke <hey@morrisjobke.de>
5 years agoDisable failing apps management test
Morris Jobke [Tue, 12 Mar 2019 12:14:25 +0000 (13:14 +0100)]
Disable failing apps management test

Fails with:

 * tests/acceptance/features/apps.feature:66
<details><summary>Show full log</summary>

```
  Scenario: Show section from app store                       # /drone/src/github.com/nextcloud/server/tests/acceptance/features/apps.feature:66
    Given I act as Jane                                       # ActorContext::iActAs()
    And I am logged in as the admin                           # LoginPageContext::iAmLoggedInAsTheAdmin()
    And I open the Apps management                            # SettingsMenuContext::iOpenTheAppsManagement()
    And I see that the current section is "Your apps"         # AppNavigationContext::iSeeThatTheCurrentSectionIs()
    When I open the "Files" section                           # AppNavigationContext::iOpenTheSection()
      Files section item in App Navigation could not be found after 100 seconds (NoSuchElementException)
    Then I see that there some apps listed from the app store # AppsManagementContext::iSeeThatThereSomeAppsListedFromTheAppStore()
    And I see that the current section is "Files"             # AppNavigationContext::iSeeThatTheCurrentSectionIs()

```
</details>

Signed-off-by: Morris Jobke <hey@morrisjobke.de>
5 years agoDisable failing files tag test
Morris Jobke [Tue, 12 Mar 2019 12:13:10 +0000 (13:13 +0100)]
Disable failing files tag test

Fails with:

 * tests/acceptance/features/app-files-tags.feature:42
<details><summary>Show full log</summary>

```
  Scenario: add tags using the dropdown in the details view                                 # /drone/src/github.com/nextcloud/server/tests/acceptance/features/app-files-tags.feature:42
    Given I am logged in as the admin                                                       # LoginPageContext::iAmLoggedInAsTheAdmin()
    And I visit the settings page                                                           # SettingsMenuContext::iVisitTheSettingsPage()
    And I open the "Tag management" section                                                 # AppNavigationContext::iOpenTheSection()
    And I see that the button to select tags is shown                                       # SettingsContext::iSeeThatTheButtonToSelectTagsIsShown()
    And I create the tag "tag1" in the settings                                             # SettingsContext::iCreateTheTagInTheSettings()
    And I create the tag "tag2" in the settings                                             # SettingsContext::iCreateTheTagInTheSettings()
    And I create the tag "tag3" in the settings                                             # SettingsContext::iCreateTheTagInTheSettings()
    And I create the tag "tag4" in the settings                                             # SettingsContext::iCreateTheTagInTheSettings()
    And I see that the dropdown for tags in the settings eventually contains the tag "tag1" # SettingsContext::iSeeThatTheDropdownForTagsInTheSettingsEventuallyContainsTheTag()
    And I see that the dropdown for tags in the settings eventually contains the tag "tag2" # SettingsContext::iSeeThatTheDropdownForTagsInTheSettingsEventuallyContainsTheTag()
    And I see that the dropdown for tags in the settings eventually contains the tag "tag3" # SettingsContext::iSeeThatTheDropdownForTagsInTheSettingsEventuallyContainsTheTag()
    And I see that the dropdown for tags in the settings eventually contains the tag "tag4" # SettingsContext::iSeeThatTheDropdownForTagsInTheSettingsEventuallyContainsTheTag()
    And I log out                                                                           # SettingsMenuContext::iLogOut()
    And I am logged in                                                                      # LoginPageContext::iAmLoggedIn()
    And I open the details view for "welcome.txt"                                           # FileListContext::iOpenTheDetailsViewFor()
    And I open the input field for tags in the details view                                 # FilesAppContext::iOpenTheInputFieldForTagsInTheDetailsView()
    When I check the tag "tag2" in the dropdown for tags in the details view                # FilesAppContext::iCheckTheTagInTheDropdownForTagsInTheDetailsView()
    And I check the tag "tag4" in the dropdown for tags in the details view                 # FilesAppContext::iCheckTheTagInTheDropdownForTagsInTheDetailsView()
    Then I see that the tag "tag2" in the dropdown for tags in the details view is checked  # FilesAppContext::iSeeThatTheTagInTheDropdownForTagsInTheDetailsViewIsChecked()
    And I see that the tag "tag4" in the dropdown for tags in the details view is checked   # FilesAppContext::iSeeThatTheTagInTheDropdownForTagsInTheDetailsViewIsChecked()
    And I see that the input field for tags in the details view contains the tag "tag2"     # FilesAppContext::iSeeThatTheInputFieldForTagsInTheDetailsViewContainsTheTag()
      Failed asserting that false is true.
    And I see that the input field for tags in the details view contains the tag "tag4"     # FilesAppContext::iSeeThatTheInputFieldForTagsInTheDetailsViewContainsTheTag()

```
</details>

Signed-off-by: Morris Jobke <hey@morrisjobke.de>
5 years agoDisable failing federated sharing tests
Morris Jobke [Tue, 12 Mar 2019 12:05:23 +0000 (13:05 +0100)]
Disable failing federated sharing tests

Fails with:

 * build/integration/federation_features/federated.feature:183
 * build/integration/federation_features/federated.feature:232
 * build/integration/federation_features/federated.feature:247
 * build/integration/federation_features/federated.feature:263
<details><summary>Show full log</summary>

```
  Scenario: Reshare a federated shared file                                                             # /drone/src/github.com/nextcloud/server/build/integration/federation_features/federated.feature:183
    Given Using server "REMOTE"                                                                         # FederationContext::usingServer()
    And user "user1" exists                                                                             # FederationContext::assureUserExists()
    And user "user2" exists                                                                             # FederationContext::assureUserExists()
    And Using server "LOCAL"                                                                            # FederationContext::usingServer()
    And user "user0" exists                                                                             # FederationContext::assureUserExists()
    And User "user0" from server "LOCAL" shares "/textfile0.txt" with user "user1" from server "REMOTE" # FederationContext::federateSharing()
    And User "user1" from server "REMOTE" accepts last pending share                                    # FederationContext::acceptLastPendingShare()
    And Using server "REMOTE"                                                                           # FederationContext::usingServer()
    And As an "user1"                                                                                   # FederationContext::asAn()
    When creating a share with                                                                          # FederationContext::creatingShare()
      | path        | /textfile0 (2).txt |
      | shareType   | 0                  |
      | shareWith   | user2              |
      | permissions | 19                 |
    Then the OCS status code should be "100"                                                            # FederationContext::theOCSStatusCodeShouldBe()
      Failed asserting that SimpleXMLElement Object &000000007d8e0d3c00000000403fd08a (
          0 => '404'
      ) matches expected '100'.
    ...
{"message":"Can not find share with ID: 8"}

  Scenario: Overwrite a federated shared folder as recipient                                             # /drone/src/github.com/nextcloud/server/build/integration/federation_features/federated.feature:232
    Given Using server "REMOTE"                                                                          # FederationContext::usingServer()
    And user "user1" exists                                                                              # FederationContext::assureUserExists()
    And user "user2" exists                                                                              # FederationContext::assureUserExists()
    And Using server "LOCAL"                                                                             # FederationContext::usingServer()
    And user "user0" exists                                                                              # FederationContext::assureUserExists()
    And User "user0" from server "LOCAL" shares "/PARENT" with user "user1" from server "REMOTE"         # FederationContext::federateSharing()
    And User "user1" from server "REMOTE" accepts last pending share                                     # FederationContext::acceptLastPendingShare()
    And Using server "REMOTE"                                                                            # FederationContext::usingServer()
    And As an "user1"                                                                                    # FederationContext::asAn()
    And User "user1" modifies text of "/textfile0.txt" with text "BLABLABLA"                             # FederationContext::modifyTextOfFile()
    When User "user1" uploads file "../../data/user1/files/textfile0.txt" to "/PARENT (2)/textfile0.txt" # FederationContext::userUploadsAFileTo()
      Client error: `PUT http://localhost:8180/remote.php/webdav/PARENT%20(2)/textfile0.txt` resulted in a `404 Not Found` response:
      <?xml version="1.0" encoding="utf-8"?>
      <d:error xmlns:d="DAV:" xmlns:s="http://sabredav.org/ns">
        <s:exception>Sabre\DA (truncated...)
       (GuzzleHttp\Exception\ClientException)
    ...
{"message":"Can not find share with ID: 10"}

  Scenario: Overwrite a federated shared file as recipient using old chunking                           # /drone/src/github.com/nextcloud/server/build/integration/federation_features/federated.feature:247
    Given Using server "REMOTE"                                                                         # FederationContext::usingServer()
    And user "user1" exists                                                                             # FederationContext::assureUserExists()
    And user "user2" exists                                                                             # FederationContext::assureUserExists()
    And Using server "LOCAL"                                                                            # FederationContext::usingServer()
    And user "user0" exists                                                                             # FederationContext::assureUserExists()
    And User "user0" from server "LOCAL" shares "/textfile0.txt" with user "user1" from server "REMOTE" # FederationContext::federateSharing()
    And User "user1" from server "REMOTE" accepts last pending share                                    # FederationContext::acceptLastPendingShare()
    And Using server "REMOTE"                                                                           # FederationContext::usingServer()
    And As an "user1"                                                                                   # FederationContext::asAn()
    And user "user1" uploads chunk file "1" of "3" with "AAAAA" to "/textfile0 (2).txt"                 # FederationContext::userUploadsChunkFileOfWithToWithChecksum()
      Client error: `PUT http://localhost:8180/remote.php/webdav/textfile0%20(2).txt-chunking-42-3-0` resulted in a `404 Not Found` response:
      <?xml version="1.0" encoding="utf-8"?>
      <d:error xmlns:d="DAV:" xmlns:s="http://sabredav.org/ns">
        <s:exception>Sabre\DA (truncated...)
       (GuzzleHttp\Exception\ClientException)
    ...
{"message":"Can not find share with ID: 11"}

  Scenario: Overwrite a federated shared folder as recipient using old chunking                  # /drone/src/github.com/nextcloud/server/build/integration/federation_features/federated.feature:263
    Given Using server "REMOTE"                                                                  # FederationContext::usingServer()
    And user "user1" exists                                                                      # FederationContext::assureUserExists()
    And user "user2" exists                                                                      # FederationContext::assureUserExists()
    And Using server "LOCAL"                                                                     # FederationContext::usingServer()
    And user "user0" exists                                                                      # FederationContext::assureUserExists()
    And User "user0" from server "LOCAL" shares "/PARENT" with user "user1" from server "REMOTE" # FederationContext::federateSharing()
    And User "user1" from server "REMOTE" accepts last pending share                             # FederationContext::acceptLastPendingShare()
    And Using server "REMOTE"                                                                    # FederationContext::usingServer()
    And As an "user1"                                                                            # FederationContext::asAn()
    And user "user1" uploads chunk file "1" of "3" with "AAAAA" to "/PARENT (2)/textfile0.txt"   # FederationContext::userUploadsChunkFileOfWithToWithChecksum()
      Client error: `PUT http://localhost:8180/remote.php/webdav/PARENT%20(2)/textfile0.txt-chunking-42-3-0` resulted in a `404 Not Found` response:
      <?xml version="1.0" encoding="utf-8"?>
      <d:error xmlns:d="DAV:" xmlns:s="http://sabredav.org/ns">
        <s:exception>Sabre\DA (truncated...)
       (GuzzleHttp\Exception\ClientException)
    ...
{"message":"Can not find share with ID: 12"}

```
</details>

Signed-off-by: Morris Jobke <hey@morrisjobke.de>
5 years agoDo not run fragile TrashbinTest
Morris Jobke [Tue, 12 Mar 2019 11:56:19 +0000 (12:56 +0100)]
Do not run fragile TrashbinTest

Fails with:

There was 1 failure:

1) TrashbinTest::testExpireOldFiles
Failed asserting that null is identical to 'file2.txt'.

/drone/src/github.com/nextcloud/server/apps/files_trashbin/tests/TrashbinTest.php:186

OR

1) TrashbinTest::testExpireOldFiles
Failed asserting that null is identical to 'file2.txt'.

/drone/src/github.com/nextcloud/server/apps/files_trashbin/tests/TrashbinTest.php:193

Signed-off-by: Morris Jobke <hey@morrisjobke.de>
5 years agoMerge pull request #14656 from nextcloud/trash-prevent-recursion
Morris Jobke [Wed, 13 Mar 2019 16:16:48 +0000 (17:16 +0100)]
Merge pull request #14656 from nextcloud/trash-prevent-recursion

prevent recursion when moving a file to the trashbin

5 years agomake assemblystream seekable 14641/head
Robin Appelman [Tue, 12 Mar 2019 12:38:45 +0000 (13:38 +0100)]
make assemblystream seekable

Signed-off-by: Robin Appelman <robin@icewind.nl>
5 years agoMerge pull request #14644 from nextcloud/fix/noid/remove-sensitive-smb-values
Roeland Jago Douma [Wed, 13 Mar 2019 13:00:02 +0000 (14:00 +0100)]
Merge pull request #14644 from nextcloud/fix/noid/remove-sensitive-smb-values

Remove sensitive SMB arguments from exception log

5 years agoprevent recursion when moving a file to the trashbin 14656/head
Robin Appelman [Wed, 13 Mar 2019 10:42:01 +0000 (11:42 +0100)]
prevent recursion when moving a file to the trashbin

Signed-off-by: Robin Appelman <robin@icewind.nl>
5 years agoUse dependency injection for app manager
Morris Jobke [Tue, 12 Mar 2019 23:42:39 +0000 (00:42 +0100)]
Use dependency injection for app manager

Signed-off-by: Morris Jobke <hey@morrisjobke.de>
5 years agoCreated infrastructure to show circles' shared files
Vinicius Cubas Brand [Fri, 29 Sep 2017 21:43:04 +0000 (18:43 -0300)]
Created infrastructure to show circles' shared files

There is a proposal to allow users to filter files shared to circles. This commit is needed to provide the infrastucture for it.

Issue: https://github.com/nextcloud/circles/issues/137

Changes to comply to https://github.com/coletivoEITA/circles/pull/2

Polishing: get files shared to circles in caldav

Signed-off-by: Vinicius Cubas Brand <viniciuscb@gmail.com>
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
5 years agoMerge pull request #6512 from coletivoEITA/add_circles_sharing_to_caldav
Morris Jobke [Tue, 12 Mar 2019 23:06:46 +0000 (00:06 +0100)]
Merge pull request #6512 from coletivoEITA/add_circles_sharing_to_caldav

Change CALDAV to allow calendars be shared with circles.

5 years agoFix PHPUnit 6512/head
Morris Jobke [Tue, 12 Mar 2019 17:41:37 +0000 (18:41 +0100)]
Fix PHPUnit

Signed-off-by: Morris Jobke <hey@morrisjobke.de>
5 years agoFix PHPUnit
Morris Jobke [Tue, 12 Mar 2019 17:27:59 +0000 (18:27 +0100)]
Fix PHPUnit

Signed-off-by: Morris Jobke <hey@morrisjobke.de>
5 years agoRemove sensitive SMB arguments from exception log 14644/head
Morris Jobke [Tue, 12 Mar 2019 14:51:38 +0000 (15:51 +0100)]
Remove sensitive SMB arguments from exception log

Signed-off-by: Morris Jobke <hey@morrisjobke.de>
5 years agoremove dangling space
Robin Appelman [Tue, 12 Mar 2019 14:30:03 +0000 (15:30 +0100)]
remove dangling space

Signed-off-by: Robin Appelman <robin@icewind.nl>
5 years agofix database select styling in setup page
Robin Appelman [Tue, 12 Mar 2019 14:25:55 +0000 (15:25 +0100)]
fix database select styling in setup page

Signed-off-by: Robin Appelman <robin@icewind.nl>
5 years agoRename the variable aswell
Joas Schilling [Tue, 12 Mar 2019 12:42:57 +0000 (13:42 +0100)]
Rename the variable aswell

Signed-off-by: Joas Schilling <coding@schilljs.com>
5 years agoMerge pull request #14626 from nextcloud/bugfix/14621/make-sure-urlparams-are-correct...
Morris Jobke [Tue, 12 Mar 2019 11:46:54 +0000 (12:46 +0100)]
Merge pull request #14626 from nextcloud/bugfix/14621/make-sure-urlparams-are-correctly-injected-in-global-routes

Make sure urlparams are correctly injected in global routes

5 years agoAdd border around previews in grid view
Jan-Christoph Borchardt [Tue, 12 Mar 2019 09:44:51 +0000 (10:44 +0100)]
Add border around previews in grid view

Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
5 years agoMerge pull request #14586 from nextcloud/hint-user-docs-federation
Morris Jobke [Mon, 11 Mar 2019 19:03:29 +0000 (20:03 +0100)]
Merge pull request #14586 from nextcloud/hint-user-docs-federation

Add hint to user documentation (Federation)

5 years agoFix plural rule detection for languages
Joas Schilling [Mon, 11 Mar 2019 14:14:57 +0000 (15:14 +0100)]
Fix plural rule detection for languages

Signed-off-by: Joas Schilling <coding@schilljs.com>