Commit Graph

49745 Commits

Author SHA1 Message Date
Robin Appelman 555b62a619 verify that paths are valid for recursive local move
Signed-off-by: Robin Appelman <robin@icewind.nl>
2019-06-27 14:37:35 +00:00
Roeland Jago Douma 808280b1a6 Fix sharing tests
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2019-06-27 14:30:54 +00:00
Daniel Calviño Sánchez 824c57d508 Add integration test for increasing sub reshare permissions
The tests check an user share and a link share; there is a slight
difference in style between them as each one is based on the test above
it, which tests increasing reshare permissions.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2019-06-27 14:30:53 +00:00
Daniel Calviño Sánchez 9bb690d299 Do not create folders with admin user
The admin user is not deleted after each integration test is run, so
folders created by the admin user in one test are still there when the
next tests run; tests should be independent one from each other, so a
regular user that is created and deleted for each test should be used
instead.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2019-06-27 14:30:53 +00:00
Joas Schilling 8f972785f7 Correctly check share permissions when updating a re-sub-share
Before this change the node you shared was checked for permissions.
This works when you reshare the folder that was shared with you.
However when you reshared a subfolder (e.g. as public link),
you could afterwards update the permissions and grant
create+update permissions although the share you receive was read-only.

Signed-off-by: Joas Schilling <coding@schilljs.com>
2019-06-27 14:30:53 +00:00
Daniel Calviño Sánchez 88139907dd Fix download link included in public share page with hidden download
The preview element in the public share page was always wrapped with a
link to download the file; now that link is included only if the "Hide
download" option of the share is not enabled.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2019-06-27 14:29:45 +00:00
Roeland Jago Douma 66dc4c9c72
Merge pull request #16112 from nextcloud/backport/16101/stable16
[stable16] invalidates user when plugin reported deletion success
2019-06-27 16:09:58 +02:00
Roeland Jago Douma 57bf23cdd7
Merge pull request #16105 from nextcloud/backport/16088/stable16
[stable16] Allow apps to store longer messages in the comments API
2019-06-27 13:30:28 +02:00
Arthur Schiwon 41e94f2f1f Also invalidate groups after deletion
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2019-06-27 10:22:12 +00:00
Arthur Schiwon 9f48090545 invalidates user when plugin reported deletion success
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2019-06-27 10:22:11 +00:00
Joas Schilling 193e8a750e Allow apps to store longer messages in the comments API
Signed-off-by: Joas Schilling <coding@schilljs.com>
2019-06-27 08:05:02 +00:00
Nextcloud bot 449f23e8d5
[tx-robot] updated from transifex 2019-06-27 02:14:17 +00:00
Roeland Jago Douma b5035dc27b
Merge pull request #16091 from nextcloud/backport/16027/stable16
[stable16] Check if uploading to lookup server is enabled before verifying
2019-06-26 18:38:25 +02:00
Roeland Jago Douma 33663ff04e
Merge pull request #16082 from nextcloud/backport/15832/stable16
[stable16] Fix full text search for groupfolders
2019-06-26 15:49:12 +02:00
Roeland Jago Douma c09c530529
Merge pull request #16089 from nextcloud/backport/16021/stable16
[stable16] Fall back to black for non-color values
2019-06-26 13:41:25 +02:00
Jan-Christoph Borchardt 49f740b46a
Remove auto focus of share input field on dialog open, fix #15261
Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
2019-06-26 13:04:39 +02:00
Joas Schilling 6600f5c6d3 Check if uploading to lookup server is enabled before verifying
Signed-off-by: Joas Schilling <coding@schilljs.com>
2019-06-26 08:19:04 +00:00
Joas Schilling 1066e4a952 Fall back to black for non-color values
Signed-off-by: Joas Schilling <coding@schilljs.com>
2019-06-26 08:18:17 +00:00
Nextcloud bot 4ea822c71e
[tx-robot] updated from transifex 2019-06-26 02:14:06 +00:00
Roeland Jago Douma 9ef93976e8
Merge pull request #16080 from nextcloud/backport/15956/stable16
[stable16] Fix appid argument for integrity:check-app
2019-06-25 23:38:52 +02:00
Roeland Jago Douma 870a330abb
Merge pull request #16038 from nextcloud/backport/15889/stable16
[stable16] handle storage exceptions when trying to set mtime
2019-06-25 21:48:34 +02:00
Morris Jobke 8c1ce34a03 Fix full text search for groupfolders
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2019-06-25 19:45:27 +00:00
Georg Ehrke 27a9b7f3fa Fix appid argument for integrity:check-app
Signed-off-by: Georg Ehrke <developer@georgehrke.com>
2019-06-25 19:37:17 +00:00
Robin Appelman b22fca475a
fix tests
Signed-off-by: Robin Appelman <robin@icewind.nl>
2019-06-25 15:58:01 +02:00
Robin Appelman 42930f6fab
handle storage exceptions when trying to set mtime
not all storage backends can handle setting the mtime and they might
not always handle that error correctly.

Signed-off-by: Robin Appelman <robin@icewind.nl>
2019-06-25 15:57:59 +02:00
Roeland Jago Douma e69e2c5473
Merge pull request #15948 from nextcloud/backport/15947/stable16
[stable16] Add core/js/dist/ to l10nignore
2019-06-25 15:56:40 +02:00
Julius Härtl d73edee893
Add core/js/dist/ to l10nignore
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-06-25 13:45:24 +02:00
Roeland Jago Douma 948770205a
Merge pull request #16068 from nextcloud/revert-15925-backport/15912/stable16
Revert "[stable16] Fix userid casting in notifications"
2019-06-25 13:30:33 +02:00
Roeland Jago Douma ab13fe80e4
Revert "[stable16] Fix userid casting in notifications"
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2019-06-25 12:39:40 +02:00
Nextcloud bot cd69e9052f
[tx-robot] updated from transifex 2019-06-25 02:14:12 +00:00
John Molakvoæ 5fed2ddb9e
[stable16] Prevent faulty logs from nested setupFS calls (#16029)
[stable16] Prevent faulty logs from nested setupFS calls
2019-06-24 17:25:25 +02:00
blizzz a4e03408ad
Merge pull request #16051 from nextcloud/backport/16033/stable16
[stable16] fix LDAP Wizard forgetting groups on select with search
2019-06-24 16:17:09 +02:00
Arthur Schiwon 8f5dc4e5ce fixes LDAP Wizard forgetting groups on select with search
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2019-06-24 06:12:50 +00:00
Nextcloud bot 7085ec3551
[tx-robot] updated from transifex 2019-06-24 02:14:12 +00:00
Nextcloud bot 624f8f0e3f
[tx-robot] updated from transifex 2019-06-23 02:14:32 +00:00
Nextcloud bot 5f45a2ecb2
[tx-robot] updated from transifex 2019-06-22 02:14:01 +00:00
Joas Schilling 92f11a646b Prevent faulty logs from nested setupFS calls
Signed-off-by: Joas Schilling <coding@schilljs.com>
2019-06-21 10:01:28 +00:00
John Molakvoæ 5055d63f37
[stable16] Fix window scroll container (#16016)
[stable16] Fix window scroll container
2019-06-21 10:29:30 +02:00
Nextcloud bot f7b7f07e08
[tx-robot] updated from transifex 2019-06-21 02:13:48 +00:00
Nextcloud bot d44f7df6f6
[tx-robot] updated from transifex 2019-06-20 02:13:59 +00:00
blizzz d3199cfc7f
Merge pull request #16015 from nextcloud/backport/16011/stable16
[stable16] (LDAP) API: return one base properly when multiple are configured
2019-06-20 00:24:10 +02:00
Julius Härtl 265a7ad882 Fix window scroll container
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-06-19 17:43:19 +00:00
Arthur Schiwon 15c77deeef fixes return type in php doc
* the backend already expects and works with the string

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2019-06-19 15:20:14 +00:00
Arthur Schiwon bca48e088b fixes returning the base when multiple are specified
* reading the config directly will return the value with line breaks
* using the proper accessor gives us all bases in an array
* returns the first matching one
* having user id provided for the group base is strange and does not let
  us operate like this. here we return the first one. might change in
  future, a backportable fix won't have an API change however.

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2019-06-19 15:20:13 +00:00
John Molakvoæ 0c79118e9f
[stable16] Avoid scrolling to the hidden input when toggling grid/list view (#16007)
[stable16] Avoid scrolling to the hidden input when toggling grid/list view
2019-06-19 15:42:05 +02:00
Julius Härtl b18befd339 Avoid scrolling to the hidden input when toggling grid/list view
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-06-19 08:50:27 +00:00
John Molakvoæ dce4a245b5
[stable16] cache the displayname after an LDAP plugin set it (#16000)
[stable16] cache the displayname after an LDAP plugin set it
2019-06-19 08:08:36 +02:00
Nextcloud bot c08f3836b0
[tx-robot] updated from transifex 2019-06-19 02:13:59 +00:00
Arthur Schiwon c95da45e48 caches the displayname after an LDAP plugin set it
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2019-06-18 21:21:49 +00:00
John Molakvoæ 26ab38aea0
[stable16] Sharing in list: Use .hidden-visually instead of display:none for accessibility, fix #11661 (#15981)
[stable16] Sharing in list: Use .hidden-visually instead of display:none for accessibility, fix #11661
2019-06-18 16:46:11 +02:00