Vincent Petry
7e1de0e3c2
Fix share default expiration date calculation
...
Now using UTC dates with moment js to accurately add the number of days
2016-01-28 15:25:34 +01:00
Vincent Petry
b063ddb05b
Share dialog use OCS API
2016-01-28 15:25:34 +01:00
Roeland Jago Douma
08600a7ed5
Add unit tests for sending e-mail for link shares
2015-10-08 16:39:25 +02:00
Thomas Müller
d7a923671f
Merge pull request #19305 from owncloud/share-hasusershares
...
Fix ShareItemModel.hasUserShares to only check shares of current item
2015-09-24 14:57:23 +02:00
Vincent Petry
76e30d0df7
Expiration date was always a string
2015-09-24 12:21:19 +02:00
Vincent Petry
0db9b28f3f
Fix ShareItemModel.hasUserShares to only check shares of current item
...
The shares array is based on what the server returns and can contain
share info for parent folders.
hasUserShares is now fixed to ignore parent folders and only checks for
shares on the current item.
2015-09-23 14:41:13 +02:00
Vincent Petry
6ea27e2b03
Fix parsing int attributes from share.php response
...
Sometimes the attributes returned by share.php are integers but packaged
as strings.
This fix makes sure that such attributes are parsed as integers
2015-09-23 12:16:47 +02:00
Vincent Petry
f439c07ba9
Fix allow reshare for owner when sharing with self through group
2015-09-16 07:23:29 +02:00
Vincent Petry
996639f4fb
More unit tests for share dialog
2015-09-16 07:23:29 +02:00
Vincent Petry
886f1ed660
Update JS unit tests for share dialog (WIP)
2015-09-16 07:23:29 +02:00