Commit Graph

151 Commits (2f851ff8bbbedcf2ca1b0df6ef2c9de2df127f8e)

Author SHA1 Message Date
Joas Schilling 31b93ac19a Do not overwrite the shareType so the post hook is still correct 12 years ago
Bjoern Schiessle 1448f281b7 for password protected link shares the password is stored in shareWith, so we need to set this manually to null for the hooks 12 years ago
Bjoern Schiessle c78e3c4a7f make sure that we always create a public share key for remote shares 12 years ago
Bjoern Schiessle 82de50d5b9 remove trailing slash 12 years ago
Vincent Petry 8fa3e7a6bf Do not retrieve shares through group if user has no group 12 years ago
Vincent Petry 9f137ac259 Fix reshare permission change to not impair other deletion code 12 years ago
Vincent Petry 40931a8b0d Fix getItemSharedWithUser for groups 12 years ago
Bjoern Schiessle b6f63e9b3d don't delete share table entries for the unique name if re-share permission was removed 12 years ago
Bjoern Schiessle 24993280ed Next step in server-to-server sharing next generation, see #12285 12 years ago
Morris Jobke 0d4f0ab871 reduce OC_Preferences, OC_Config and \OCP\Config usage 12 years ago
Bjoern Schiessle 698ecbf308 OCS API for server-to-server sharing 12 years ago
Joas Schilling 2c39aec8cb Replace deprecated constant with new class constant 12 years ago
Bjoern Schiessle a7ebfe87c9 also check for the correct owner if it was submitted 12 years ago
Miguel Prokop 397f14ed86 Consolidate if statement, and update unit test 12 years ago
Miguel Prokop 1d4d308a6c fix calculation of expiration date if there is a default expiration date set (but not forced) and the user does not want the link to expire. 12 years ago
Bjoern Schiessle ea4eedd35a only users can have a display name different from the id 12 years ago
Bjoern Schiessle 367468ff1f make sure that we only find the shares from the correct share type if users and groups with the same ID exists 12 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 12 years ago
Lukas Reschke 8595b76df2 Remove phpass and migrate to new Hasher interface 12 years ago
Lukas Reschke c30b7f8197 Remove unreachable statement 12 years ago
Bjoern Schiessle b7718bc212 always use the correct share type 12 years ago
Bernhard Reiter 7e9baafc53 Add option to include tags for shared items. 12 years ago
Bjoern Schiessle c6c9a51b11 distinguish between file dependent shares and other shares 12 years ago
Bjoern Schiessle 3431d547a9 fix performance issues 12 years ago
Bjoern Schiessle 6e7acb8ae0 some small fixed, suggested by scrutinizer 12 years ago
Bjoern Schiessle 2a4da7fe09 on unshare only unshare childrens if there is no other parent available 12 years ago
Bjoern Schiessle e115a7043f only create a new share entry, if the user needs a different target name than the group share 12 years ago
Bjoern Schiessle ed85055d31 for group shares we don't need a extra db entry of groupTarget equals itemTarget 12 years ago
Bjoern Schiessle d242e518f9 for group shares only the parent has the up-to-date permission. Make sure that we always use this permission, except if the user permission is '0' because in this case the user unshared the group share from self 12 years ago
Bjoern Schiessle 52b6469b0c call \OCP\Share::getItemsSharedWithUser() to get exclude list, this way all checks are executed, e.g. to check if the share is really visible 12 years ago
Bjoern Schiessle 968152113e always select permissions, used in getItems() 12 years ago
Bjoern Schiessle d5fc011c90 some small fixes 12 years ago
Bjoern Schiessle 07d43df713 only add a new row if it isn't a unique share, otherwise update the existing row 12 years ago
Bjoern Schiessle 9f7b15582a fix add user to group to work with grouped shares 12 years ago
Bjoern Schiessle bd268c35f5 generateTarget() will always find a unique target 12 years ago
Bjoern Schiessle 9105e17307 unit tests for grouping of shares pointing to the same source 12 years ago
Bjoern Schiessle 89c3b650e6 group shares and combine permissions 12 years ago
kondou a10411d2bc Readd TOKEN_LENGTH 12 years ago
kondou 226b203e20 Use base62 and remove configuration options for link length 12 years ago
kondou c2d8eabd71 Change config.sample entry and use MediumSecurity 12 years ago
kondou 3bf725d7e0 Adapt token size to new generation and add an option for free length specification 12 years ago
kondou 2a4c51389c Use a route instead of s.php and convert tokens asap 12 years ago
kondou 0f2ad9862e Initial work on shorter links 12 years ago
Joas Schilling a0e8e88bc6 Use correct language package so the subject is correctly translated 12 years ago
Robin Appelman d0266c0bf8 Use public api for getting l10n 12 years ago
Jörn Friedrich Dreyer f551917a3c kill OC::$session 12 years ago
Bjoern Schiessle d9f35d8c15 we need the recipient as a additional parameter to know for which share the notification was send 12 years ago
Tom Needham aeef10eb47 Add scrollto to the url if sharing a file for long file lists 12 years ago
Tom Needham 16dafa9cac Fix link to files and folders in internal share emails 12 years ago
Volkan Gezer 173538befb typo fix from transifex suggestion 12 years ago