Commit Graph

43 Commits (1ae6e9ec21415ade8122a05d01dd091091cb4bcd)

Author SHA1 Message Date
Scrutinizer Auto-Fixer adaee6a5a1 Scrutinizer Auto-Fixes 11 years ago
Arthur Schiwon 72f134cfce intendation 11 years ago
Arthur Schiwon 32afdcbefe Inject logger 11 years ago
Arthur Schiwon 9a39cd3b38 test for share dialoge sorter 11 years ago
Thomas Müller a3ea5aa2ac fixing comment + adding unit test for checkPasswordProtectedShare 11 years ago
ben-denham 30f77f53d5 updated the unit test for OCP\Share::unshareAll() to verify that shares by all users are removed for an item. 11 years ago
Andreas Fischer 8872b881cc Add tests for OCP\Share::unshareAll(). 12 years ago
Andreas Fischer 07714d9a72 Tests whether expired/valid link share is still accessible. 12 years ago
Andreas Fischer 294f3632e0 Calculate dateInPast and dateInFuture. 12 years ago
Andreas Fischer 261766fe49 Add comment explaining how $dateInFuture was picked. 12 years ago
Andreas Fischer f567bd1b8a Coding style: { for methods start are supposed to be on the same line. 12 years ago
Andreas Fischer fb650deaf7 Expiration tests for sharing with groups. 12 years ago
Andreas Fischer cf97eac401 Do not repeat shareUserOneTestFileWithUserTwo() code. 12 years ago
Andreas Fischer e4b334c3f1 Make dates test class properties. 12 years ago
Andreas Fischer 924a7046dd Try to make Oracle happy by also specifying seconds. 12 years ago
Andreas Fischer 1358b0078a Test whether a still-valid user share is still accessible. 12 years ago
Andreas Fischer 05c970095d Test whether an expired user share is still accessible. 12 years ago
Michael Gapczynski 9a2ca0ae64 Check resharing setting 12 years ago
Thomas Mueller ef88ceba8c drop SimpleTest compatibility 12 years ago
Bart Visscher 8bed38c78d Rename install hook functions to register hook 13 years ago
Bart Visscher 530f3f8be9 Create functions to install standard hooks 13 years ago
Thomas Tanghus 56239df2e7 Update all to use OCP\PERMISSION_* instead of OCP\Share::PERMISSION_* 13 years ago
Felix Moeller a4b2ea586d Style: Remove all the dangling white spaces 13 years ago
Sam Tuke 8b01286a5d Merged branch 'master' 13 years ago
Bart Visscher 3fef4564f0 Give share test users a unique prefix 13 years ago
Bart Visscher 95c8adba19 Swap values for assertEqual to get better error message, also renamed the function to phpunit name 13 years ago
Bart Visscher 8c281a456d PHPUnit 3.6 does not support @expectedException with the generic exception class 13 years ago
Robin Appelman 7b64ab9294 make sure the share backend test case can find the correct interface 13 years ago
Michael Gapczynski dc767798c6 Manually change appconfig value for share policy so tests work correctly 13 years ago
Robin Appelman 22f8f50e05 initual phpunit support 13 years ago
Michael Gapczynski f23f719d99 Fix unsharing from self for group shares and add test for it 13 years ago
Michael Gapczynski 4c065deb55 Listen to post_deleteGroup hook in Share API 13 years ago
Michael Gapczynski f0f2d93908 Restructure generateTarget for the post_addToGroup hook 13 years ago
Michael Gapczynski 95cd48dea8 Fix sharing test case 13 years ago
Thomas Mueller 07df52c998 assert array length and individual content instead of assertEqual on arrays 13 years ago
Thomas Mueller 2abb63de70 assert array length and individual content instead of assertEqual on arrays 13 years ago
Jörn Friedrich Dreyer fa3497f6ed add backticks to SQL, use limit parameter instead of LIMIT SQL 13 years ago
Michael Gapczynski 9699ff03bd Revert using item name, no longer allowing the same item source exist for a user 13 years ago
Michael Gapczynski 5eca531f99 Refactor again so we can tell what item is being reshared in case the same source shows up. This is the end of the share_api branch, moving to master. 13 years ago
Michael Gapczynski f987e22d85 Large refactoring to allow for the same item to be shared to a group and again with a user in the group with different permissions 13 years ago
Michael Gapczynski df8a2e5361 File sharing cleanup, works perfectly I think :) 13 years ago
Michael Gapczynski 137e4cb342 Add tests for Share API, all tests passing :) 13 years ago