Commit Graph

87 Commits (0fac2e3f3aaaeaddf431f7877ebddb6372a00a42)

Author SHA1 Message Date
Joas Schilling e6eb74958f Remove unnecessary DB prefixes from existing query builder usages 11 years ago
Joas Schilling f77e5f411d Fix existing usages by removing the quotes 11 years ago
Joas Schilling 516f7e8299 Add unit tests and automatic quoting 11 years ago
Joas Schilling de348180ae Use the public interface and our method instead of the doctrine thing 11 years ago
Roeland Jago Douma e35b97e4c5 Added test 11 years ago
Thomas Müller 1385b1ec48 Remove OC_Appconfig 11 years ago
Joas Schilling 738b78f1b0 Use \OC\HintException and translate the hint 11 years ago
Joas Schilling d3e3a84cae Move the helpful method to the TestCase class 11 years ago
Joas Schilling 09d479e79d Add a test to share a subfolder of a folder shared with the owner by group 11 years ago
Joas Schilling b55ef51a27 Add tests for the correct share id on the call aswell 11 years ago
Roeland Jago Douma 02269b6464 Added unit test 11 years ago
Joas Schilling 02c60949dd make scrutinizer happy 11 years ago
Joas Schilling d146c13abd Add tests for the remote sharing url 11 years ago
Bjoern Schiessle 332ea77865 only create a db entry for the user in case of a name conflict on group share 11 years ago
Roeland Jago Douma 3b1f0e6019 Fix unit test 11 years ago
Roeland Jago Douma b0aa17b13f OCS Fixes to allow setting of password without removing additional settings 11 years ago
Vincent Petry 23cb8112fc Add logout in share test to avoid nasty side effects 11 years ago
Vincent Petry 80f83ab5e0 Do not return shares for files outside "files" 11 years ago
Roeland Jago Douma dd3307dd19 Added unit test 11 years ago
Morris Jobke fbea83d4eb fix failing unit test 11 years ago
Joas Schilling c17b236c19 Add a test for the post_shared hook shareType 11 years ago
Vincent Petry 8fa3e7a6bf Do not retrieve shares through group if user has no group 11 years ago
Vincent Petry 9f137ac259 Fix reshare permission change to not impair other deletion code 11 years ago
Vincent Petry 40931a8b0d Fix getItemSharedWithUser for groups 11 years ago
Bjoern Schiessle 24993280ed Next step in server-to-server sharing next generation, see #12285 11 years ago
Joas Schilling 2c39aec8cb Replace deprecated constant with new class constant 11 years ago
Bjoern Schiessle a7ebfe87c9 also check for the correct owner if it was submitted 11 years ago
Joas Schilling 6202ca33ba Make remaining files extend the test base 11 years ago
Bjoern Schiessle 01c50d242b use the new base class for unit tests 11 years ago
Bjoern Schiessle 5192641447 make sure that we don't find the wrong shares if a user and a group have the same ID 11 years ago
Bjoern Schiessle 72319bbc98 fix unit tests 11 years ago
Bjoern Schiessle 9105e17307 unit tests for grouping of shares pointing to the same source 11 years ago
Jörn Friedrich Dreyer f551917a3c kill OC::$session 12 years ago
Michael Kuhn 0a77a5ec19 Add unit tests for new unshareFromSelf() functionality. 12 years ago
Bjoern Schiessle 67e302885c remove share permission if user is excluded from sharing 12 years ago
Bjoern Schiessle 1bba266417 add unit test 12 years ago
Bjoern Schiessle ecc1f92bb6 add OCS api call to set expire date for link shares 12 years ago
Bjoern Schiessle f15d7dfec0 only expire link shares 12 years ago
Bjoern Schiessle 6578f00b4b unify share settings 12 years ago
Bjoern Schiessle bc0292c16d always return an array 12 years ago
Bjoern Schiessle cf7ef0d356 fix sharing unit tests 12 years ago
Scrutinizer Auto-Fixer adaee6a5a1 Scrutinizer Auto-Fixes 12 years ago
Thomas Müller a3ea5aa2ac fixing comment + adding unit test for checkPasswordProtectedShare 12 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. 12 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