Claudio Cambra
|
3ef88137ad
|
Correctly handle NKShare's "canEdit" in share options view
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
|
2024-04-17 16:11:50 +08:00 |
|
Claudio Cambra
|
19316f4d3a
|
Add convenience function to enable or disable all share option fields
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
|
2024-04-17 16:11:50 +08:00 |
|
Claudio Cambra
|
422a6c7962
|
Respond to changes in share of sharecontroller in shareoptionsview
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
|
2024-04-17 16:11:50 +08:00 |
|
Claudio Cambra
|
755897be55
|
Add convenience function to format date to valid server string in nkshare
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
|
2024-04-17 16:11:50 +08:00 |
|
Claudio Cambra
|
f654a8ca83
|
Use ShareController in ShareOptionsView
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
|
2024-04-17 16:11:50 +08:00 |
|
Claudio Cambra
|
29262345cd
|
Add functionality to share controller to save changes
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
|
2024-04-17 16:11:50 +08:00 |
|
Claudio Cambra
|
318661748d
|
Add convenience property to nkshare extension to get valid expiration date string
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
|
2024-04-17 16:11:50 +08:00 |
|
Claudio Cambra
|
aa57ba10f3
|
Add starter sharecontroller for fileprovider
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
|
2024-04-17 16:11:50 +08:00 |
|
Claudio Cambra
|
5e0d990308
|
Handle optionsview as ShareOptionsView in share view controller
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
|
2024-04-17 16:11:50 +08:00 |
|
Claudio Cambra
|
ec145d8ca2
|
Handle state of share options view via setting of NKShare
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
|
2024-04-17 16:11:50 +08:00 |
|
Claudio Cambra
|
52dbfc3109
|
Improve placeholder text for share view password field
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
|
2024-04-17 16:11:50 +08:00 |
|
Claudio Cambra
|
322ae529b7
|
Add a ShareOptionsView class
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
|
2024-04-17 16:11:50 +08:00 |
|
Claudio Cambra
|
7a40f6f728
|
Ensure calls are made via main actor to delegate in share table view data source
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
|
2024-04-17 16:11:50 +08:00 |
|
Claudio Cambra
|
26d635b6fa
|
Tell delegate when fetch ongoing in share table view data source
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
|
2024-04-17 16:11:50 +08:00 |
|
Claudio Cambra
|
e113a09ecf
|
Add fetch related handling functions to ui delegate
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
|
2024-04-17 16:11:50 +08:00 |
|
Claudio Cambra
|
55cdbe860b
|
Add a loading overlay to table view to indicate fetch in progress
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
|
2024-04-17 16:11:50 +08:00 |
|
Claudio Cambra
|
13fa2bca1d
|
Implement hide and show of share options in share view controller
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
|
2024-04-17 16:11:50 +08:00 |
|
Claudio Cambra
|
c74575cd32
|
Re-integrate share options view into main share view controller XIB
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
|
2024-04-17 16:11:50 +08:00 |
|
Claudio Cambra
|
8956fcebe9
|
Implement ui delegate in ShareTableViewDataSource
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
|
2024-04-17 16:11:50 +08:00 |
|
Claudio Cambra
|
9b1ad4d6d5
|
Treat bottom view in share view as a target view to inject other views
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
|
2024-04-17 16:11:50 +08:00 |
|
Claudio Cambra
|
d23f30ae4e
|
Add a shareview ui delegate protocol for datasources
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
|
2024-04-17 16:11:50 +08:00 |
|
Claudio Cambra
|
1b64e29050
|
Extract options view to different XIB
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
|
2024-04-17 16:11:50 +08:00 |
|
Claudio Cambra
|
70a565d60d
|
Redesign shares to incorporate share options into main share view
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
|
2024-04-17 16:11:50 +08:00 |
|
Claudio Cambra
|
d3d75e85f6
|
Add starter ShareOptionsWindow class
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
|
2024-04-17 16:11:50 +08:00 |
|
Claudio Cambra
|
ecf4efd481
|
Replace ShareOptionsView with a ShareOptionsWindow
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
|
2024-04-17 16:11:50 +08:00 |
|
Claudio Cambra
|
cad56f1e2a
|
Implement ShareOptionsView design
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
|
2024-04-17 16:11:50 +08:00 |
|
Claudio Cambra
|
da8ae80544
|
Add starter ShareOptionsView
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
|
2024-04-17 16:11:50 +08:00 |
|
Claudio Cambra
|
18862bed35
|
Add popover and corresponding view controller to sharetableitemview
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
|
2024-04-17 16:11:50 +08:00 |
|
Claudio Cambra
|
30673976be
|
Temporarily change copy share link button image after clicking
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
|
2024-04-17 16:11:50 +08:00 |
|
Claudio Cambra
|
540eb11bf2
|
Implement share link copying in share table item view
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
|
2024-04-17 16:11:50 +08:00 |
|
Claudio Cambra
|
4f0e25a4e6
|
Improve share table style
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
|
2024-04-17 16:11:50 +08:00 |
|
Claudio Cambra
|
18de0d0b3f
|
Make share property central to display update of share table item view
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
|
2024-04-17 16:11:50 +08:00 |
|
Claudio Cambra
|
46e2ca5887
|
Add displayString property to NKShare extension
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
|
2024-04-17 16:11:50 +08:00 |
|
Claudio Cambra
|
41f93371a2
|
Add typeImage property to NKShare extension
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
|
2024-04-17 16:11:50 +08:00 |
|
Claudio Cambra
|
930106e7ac
|
Add ShareType enum to NKShare extension
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
|
2024-04-17 16:11:50 +08:00 |
|
Claudio Cambra
|
4ba2bc8a3b
|
Add starter NKShare extension
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
|
2024-04-17 16:11:50 +08:00 |
|
Claudio Cambra
|
dda5ec295e
|
Customise prepareForReuse in ShareTableItemView
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
|
2024-04-17 16:11:50 +08:00 |
|
Claudio Cambra
|
b6c247ba8d
|
Ensure usable rowHeight for shares table view
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
|
2024-04-17 16:11:50 +08:00 |
|
Claudio Cambra
|
ee21715860
|
Set basic property of sharetableitemview in delegate method of data source
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
|
2024-04-17 16:11:50 +08:00 |
|
Claudio Cambra
|
c2ec72c132
|
Add corresponding class for ShareTableItemView
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
|
2024-04-17 16:11:50 +08:00 |
|
Claudio Cambra
|
731a5e1f8f
|
Set delegate for shares table view
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
|
2024-04-17 16:11:50 +08:00 |
|
Claudio Cambra
|
f11807815a
|
Remove default item view in ShareViewController table XIB
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
|
2024-04-17 16:11:50 +08:00 |
|
Claudio Cambra
|
ff9e344810
|
Move all share fetching logic to FileProviderUIExt
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
|
2024-04-17 16:11:50 +08:00 |
|
Claudio Cambra
|
331a76195b
|
Register shareItemView nib in shareTableView
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
|
2024-04-17 16:11:50 +08:00 |
|
Claudio Cambra
|
8add57a048
|
Implement NSTableViewDelegate viewFor method in sharetableviewdatasource
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
|
2024-04-17 16:11:50 +08:00 |
|
Claudio Cambra
|
765f33b45c
|
Add essential table view data source method to ShareTableViewDataSource
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
|
2024-04-17 16:11:50 +08:00 |
|
Claudio Cambra
|
d53680e583
|
Add release entitlements fro FileProviderUIExt
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
|
2024-04-17 16:11:50 +08:00 |
|
Claudio Cambra
|
46ad6f0bfb
|
Instantiate share data source in share view controller
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
|
2024-04-17 16:11:50 +08:00 |
|
Claudio Cambra
|
1288448336
|
Add item shares loading routine to ShareTableViewDataSource
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
|
2024-04-17 16:11:50 +08:00 |
|
Claudio Cambra
|
af93122445
|
Move serviceConnection method to table view data source
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
|
2024-04-17 16:11:50 +08:00 |
|