Christoph Wurst
3e7e49884e
Replace deprecated $.tipsy(...) by $.tooltip(...)
...
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2017-02-27 22:25:05 +01:00
Vincent Petry
f07d146644
Display "Share" alt text for share action icon ( #26158 )
...
Downstreaming of https://github.com/owncloud/core/pull/26158
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
2016-09-26 10:30:11 +02:00
Lukas Reschke
5fdde426eb
Add fancy layout
2016-06-09 17:55:26 +02:00
Roeland Jago Douma
92cff0984d
Make file actions use icon CSS classes
...
This makes theming of file actions possible
2016-02-25 22:49:52 +01:00
Roeland Jago Douma
a823485638
Reload list of shares on directory change
2016-02-11 11:06:26 +01:00
Roeland Jago Douma
f5be48d81d
Calculate the share statuses in js from the OCS Response
...
Right now this is only done on page load. We should do it on each
directory traversal.
2016-02-11 11:03:11 +01:00
Vincent Petry
b063ddb05b
Share dialog use OCS API
2016-01-28 15:25:34 +01:00
Vincent Petry
9c9158e6b7
Fix icon update to be more consistent
...
Makes the details bar show the same icon as in the list.
2015-10-29 12:59:51 +01:00
Olivier Paroz
9776d60b57
Typo
2015-09-19 10:34:19 +02:00
Vincent Petry
886f1ed660
Update JS unit tests for share dialog (WIP)
2015-09-16 07:23:29 +02:00
Vincent Petry
41f16e821a
Remove unused/obsoleted OC.Share code
...
The sharing dialog has been moved to ShareDialogView
2015-09-16 07:23:29 +02:00
Arthur Schiwon
c2ff2ca982
cleanup
2015-09-16 07:23:28 +02:00
Arthur Schiwon
a0fa7186f5
make permission/cruds checkboxes work
2015-09-16 07:23:28 +02:00
Arthur Schiwon
c7453b4db1
toggle visibility of detailed cruds permissions
2015-09-16 07:23:28 +02:00
Arthur Schiwon
d4bbc062be
cleanup
2015-09-16 07:23:28 +02:00
Arthur Schiwon
a5b0ea031d
make unshare work
2015-09-16 07:23:28 +02:00
Arthur Schiwon
7ae84e0e5c
make 'Allow editing' (aka public upload) checkbox work
2015-09-16 07:23:28 +02:00
Arthur Schiwon
9fe6d7c568
implements setting and removing password for link shares, including forced ones
2015-09-16 07:23:28 +02:00
Arthur Schiwon
5dfaa0c82d
mark url on click
2015-09-16 07:23:27 +02:00
Arthur Schiwon
f29b51682b
share and unshare via link (not yet password). also some internal changes to reduce unnecessary rendering
2015-09-16 07:23:27 +02:00
Arthur Schiwon
60abfcdab1
old OC.Share.addShareWith now reimplemented
2015-09-16 07:23:27 +02:00
Arthur Schiwon
f2fb20ed1c
no auto-fetch in model
2015-09-16 07:23:26 +02:00
Arthur Schiwon
e3fd96fa8e
improve doc
2015-09-16 07:23:25 +02:00
Arthur Schiwon
83d91ddf20
further work on reimplementing the dialog layout
2015-09-16 07:23:25 +02:00
Arthur Schiwon
b015eff2e9
improve reshare rendering part and move permission calculation to model
2015-09-16 07:23:25 +02:00
Arthur Schiwon
e6edc3e05d
make loadItems work async if a callback is provided
...
not beautiful, but good enough. share.js will not be around too much longer.
2015-09-16 07:23:25 +02:00
Arthur Schiwon
1651b8212c
started to port the Model to Backbone`s
2015-09-16 07:23:25 +02:00
Arthur Schiwon
e7b5921206
share dialog view takes advantage of OC.Backbone.View
2015-09-16 07:23:25 +02:00
Arthur Schiwon
edd163a611
refactor share dialog for multi-purpose use (dropdown, sidebar) and better maintainability
2015-09-16 07:23:25 +02:00
Jan-Christoph Borchardt
898243a5ee
fix share icons of shared items being placed off on mobile
2015-08-26 10:27:55 +02:00
Jan-Christoph Borchardt
cc898cf346
fix being able to distinguish shared items on mobile
2015-08-25 14:45:39 +02:00
Hasso Tepper
acc5a7d6cc
Make short versions of weekday/month names translatable
2015-08-21 10:17:36 +03:00
Vincent Petry
86e1eaf370
Inline actions using default renderer are now always permanent
...
Default renderer like the favorite icon can decide whether to use the
permanent class or not.
Fixed sharing code to properly update the icon according to sharing
state modifications.
2015-08-10 15:57:21 +02:00
Morris Jobke
5a0d410488
tests for _parseTime with hex and empty strings
2015-07-28 14:20:55 +02:00
Morris Jobke
ebfbb97e66
Fix parsing of sharetime as string
...
In some cases the ajax/share.php will return the share time as string.
If this is the case it would get parsed completely wrong and cause the
share dropdown to not work anymore. This change will properly cast the
string to an interger and also fallback if this is not possible.
2015-07-28 08:56:15 +02:00
Thomas Müller
d93535b5cb
Adding error handling in case setting the password fails
2015-07-23 09:39:26 +02:00
Roeland Jago Douma
bf491183c1
Properly format remote recipients
...
* A list of recipients can now be properly formatted with remote shares.
Before the shares where simply shown in full in the "Shared with others"
section.
* Unit tests updated and added
2015-05-27 16:22:34 +02:00
Thomas Müller
54a6ba47c0
Merge pull request #12401 from owncloud/add-limit-parameter-to-getSharewith
...
Remove hard coded limit of 15 from getShareWith
2015-05-19 12:40:37 +02:00
Vincent Petry
d15471abd4
Merge pull request #15738 from rullzer/fix_15611
...
Fix to make sure expiration date is properly set
2015-05-18 11:26:12 +02:00
Roeland Jago Douma
b090a32d23
Reset share dialog values so we start out clean
...
* Unit test
2015-05-18 10:08:09 +02:00
Roeland Jago Douma
efd6fec57d
Fix to make sure expiration date is properly set
...
This did not happen correctly when the password was enforced since a
different code path was taken.
* moved generation of the default date string to separate function
* added unit test
2015-05-18 09:35:47 +02:00
Craig Morrissey
ca341a8d59
add support for limit request parameter to getShareWith
2015-05-15 18:03:18 +02:00
Joas Schilling
4d53706d4c
Do not restrict permissions for the original owner
2015-04-29 10:34:36 +02:00
Roeland Jago Douma
595adfd193
moved from html to $('html') to fix unit tests
2015-04-17 09:38:09 +02:00
Roeland Jago Douma
c456f5dee1
Reset sharedialog values
2015-04-17 09:38:09 +02:00
Jan-Christoph Borchardt
04ca5b8160
remove slow fade animation for remaining tipsy tooltips
2015-04-15 12:25:10 +02:00
Morris Jobke
473d3e14c8
more robust share dialog
2015-04-10 09:12:37 +02:00
Morris Jobke
b9eaa386c4
Merge pull request #15235 from owncloud/remote-share-hint
...
Hint for remote sharing syntax
2015-04-09 14:54:57 +02:00
Joas Schilling
6f51beac23
Correctly generate the doc link via go.php
2015-04-09 12:30:18 +02:00
Jan-Christoph Borchardt
7f237223e5
fix remote share info icon for IE8
2015-04-09 12:11:42 +02:00