Commit Graph

33796 Commits

Author SHA1 Message Date
Joas Schilling 777504d0e0
Add some space between the rule groups 2016-08-05 15:12:57 +02:00
Roeland Jago Douma dd44624540 Merge pull request #732 from nextcloud/fix-shipped.json
Order alphabetically and deduplicate the shipped.json
2016-08-05 15:11:28 +02:00
Roeland Jago Douma dd9f195afd
Add OCS-APIREQUEST header to intergration test calls 2016-08-05 14:17:32 +02:00
Roeland Jago Douma 0556e40d3e
Fix tests 2016-08-05 14:17:32 +02:00
Roeland Jago Douma d9418c105e
Add OCSShareAPIMiddleware tests 2016-08-05 14:17:32 +02:00
Roeland Jago Douma 4504d7f5e9
DataResponse required ['data' => DATA] 2016-08-05 14:17:31 +02:00
Roeland Jago Douma 7fdc2f32fa
More exceptions 2016-08-05 14:17:31 +02:00
Roeland Jago Douma 3a31b2875b
Add OCSShareAPIMiddleware
* This will cleanup the locks after each request
* Move check for enabled share api to the middleware
2016-08-05 14:17:31 +02:00
Roeland Jago Douma 8b160077f1
Throw OCSNotFoundExceptions 2016-08-05 14:17:25 +02:00
Roeland Jago Douma 54f21bccdf
Remove unneeded wrapper 2016-08-05 14:17:25 +02:00
Roeland Jago Douma a32caa4904
Convert Share API to use the AppFramework 2016-08-05 14:17:25 +02:00
Joas Schilling f37fa6e45c
Move Share backends to PSR-4 instead of using class path (#24941) 2016-08-05 14:13:41 +02:00
Thomas Müller f1cd68d713 Adding test case for getPathById including a jailed cache where root is just empty 2016-08-05 14:06:05 +02:00
Thomas Müller d252d79059 getJailedPath expects $path to have a trailing / - fixes #25464 2016-08-05 14:06:05 +02:00
Joas Schilling 84e6b8d9d0 Merge pull request #737 from nextcloud/blizzz-fix-name-console
Correct name in Console Application.php
2016-08-05 09:17:34 +02:00
Nextcloud bot c44c9a55f4
[tx-robot] updated from transifex 2016-08-05 00:10:09 +00:00
Morris Jobke e1807ed0a4 Merge pull request #465 from nextcloud/fix_smb_attributes
Fix file permissions for SMB (read-only folders will be writeable) (#…
2016-08-04 19:48:21 +02:00
blizzz 329c714a7e Correct name in Console Application.php
see changes :)
2016-08-04 19:17:13 +02:00
Joas Schilling b5c2b5e882 Merge pull request #729 from nextcloud/fix-724
Fix #724 by using step instead of job
2016-08-04 14:44:38 +02:00
Joas Schilling 89cb7b59f8
Order alphabetically and deduplicate the shipped.json 2016-08-04 14:40:43 +02:00
Lukas Reschke b59fb9fe87 Merge pull request #730 from nextcloud/add-new-apps-as-official
[master] Add new apps as official
2016-08-04 14:26:48 +02:00
Lukas Reschke 966e2d8dde [master] Add new apps as official 2016-08-04 14:15:42 +02:00
Bernhard Posselt d7c1bfb4ed fix #724 by using step instead of job 2016-08-04 13:32:03 +02:00
Jan-Christoph Borchardt 835dc59d6a reduce info on update screens, introduce button to refresh 2016-08-04 12:48:25 +02:00
Joas Schilling dab0a6223a Merge pull request #718 from jurgenhaas/patch-1
Exit from upgrade without reporting error
2016-08-04 09:04:24 +02:00
Nextcloud bot 258ee140a4
[tx-robot] updated from transifex 2016-08-04 00:11:51 +00:00
Jan-Christoph Borchardt 2f9725469d switch nested containers in update to semibold style 2016-08-03 18:58:44 +02:00
Joas Schilling d0e669745a Merge pull request #717 from nextcloud/mark-apps-as-shipped
Add access control and automated tagging as shipped
2016-08-03 18:56:51 +02:00
Jürgen Haas aeb5dfa4ac Exit from upgrade without reporting error
As reported at https://help.nextcloud.com/t/silent-mode-for-occ-upgrade/2120 we should exit with a return value of 0 (zero) if the current instance is already up to date so that automatic deployment tools don't recognize that as an error.
2016-08-03 15:51:55 +02:00
Joas Schilling d1d891fed0
Add access control and automated tagging as shipped 2016-08-03 14:47:52 +02:00
Joas Schilling 8ad79eb097 Merge pull request #611 from nextcloud/add-more-checks
Add more checks
2016-08-03 14:38:53 +02:00
michag86 5fb39bd0cb Apply password policy on user creation 2016-08-03 11:52:15 +02:00
Roeland Jago Douma 223f3fa9d5 Merge pull request #474 from nextcloud/group_shares
Group shares with same source and target
2016-08-03 11:41:15 +02:00
Marius Blüm fdbd598d33 Merge pull request #709 from nextcloud/add-code-check
Add workflowengine to check-code call
2016-08-03 11:36:29 +02:00
Morris Jobke f012b574e5
Add workflowengine to check-code call 2016-08-03 10:29:06 +02:00
Vincent Petry 6d8d5f7bc5
Add integration tests for double shares with rename in between 2016-08-03 10:16:28 +02:00
Vincent Petry 2404f6a5a7
Make share target consistent when grouping group share with user share
In some situations, a group share is created before a user share, and
the recipient renamed the received share before the latter is created.
In this situation, the "file_target" was already modified and the second
created share must align to the already renamed share.

To achieve this, the MountProvider now groups only by "item_source"
value and sorts by share time. This makes it so that the least recent
share is selected as super-share and its "file_target" value is then
adjusted in all grouped shares.

This fixes the issue where this situation would have different
"file_target" values resulting in two shared folders appearing instead
of one.
2016-08-03 10:16:28 +02:00
Vincent Petry 0c6352e095
Fix RepairUnmergedShares to not skip valid repair cases
The repair step was a bit overeager to skip repairing so it missed the
case where a group share exists without subshares but with an
additional direct user share.
2016-08-03 10:16:28 +02:00
Vincent Petry 0c7c9a3b95
Adjust repair version check for unmerged shares 2016-08-03 10:16:28 +02:00
Vincent Petry 0f3674a446
Group incoming shares for resharing in JS 2016-08-03 10:16:28 +02:00
Vincent Petry 0bddaa23b0
Added more tests for sharing's MountProvider 2016-08-03 10:16:28 +02:00
Vincent Petry 67fa6bf9bc
Add repair step for unmerged shares (WIP) 2016-08-03 10:16:28 +02:00
Vincent Petry 714d7ec936
Improved share grouping readability + fixed test 2016-08-03 10:16:28 +02:00
Vincent Petry 573f6de6a0
Add integration tests for merging received shares 2016-08-03 10:16:28 +02:00
Roeland Jago Douma 04d5465228
Group shares with same source and target
Fixes #24575

Note that this is a very limited solution and eventually we want smarter
merging!
2016-08-03 10:16:28 +02:00
Nextcloud bot 0874460e48
[tx-robot] updated from transifex 2016-08-03 00:11:12 +00:00
Damjan Georgievski 4d559267bd SetupController should use \OC::$configDir too 2016-08-02 15:28:19 +02:00
Morris Jobke c76dc835c4 Merge pull request #701 from nextcloud/fix-add-apps-icon
Apply black app icon style to newly installed app icons
2016-08-02 14:23:42 +02:00
Morris Jobke 17c3027094 Merge pull request #637 from nextcloud/h1-prevent-delete-update-on-group-shares
Do not allow to delete/update group shares as a group member
2016-08-02 14:17:22 +02:00
Morris Jobke ab3b90eff2 Merge pull request #700 from nextcloud/token-provider-invalidateoldtokens
add invalidateOldTokens to IProvider interface
2016-08-02 14:16:25 +02:00