Claudio Cambra
|
8b285a7ea9
|
Add deletion capability to sharecontroller
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
|
2024-04-17 16:11:50 +08:00 |
|
Claudio Cambra
|
e52d6dfb23
|
Properly handle permissions in shareoptionsview
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
|
2024-04-17 16:11:50 +08:00 |
|
Claudio Cambra
|
49450d52f6
|
Add convenience property to nkshare extension to see if sharees can edit share file/folder
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
|
2024-04-17 16:11:50 +08:00 |
|
Claudio Cambra
|
41f229c7c3
|
Add PermissionValues to NKShare extension
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
|
2024-04-17 16:11:50 +08:00 |
|
Claudio Cambra
|
7e3769cc45
|
Blend in-window contents in share view loading overlay
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
|
2024-04-17 16:11:50 +08:00 |
|
Claudio Cambra
|
4aaaf5b15b
|
Show error in share table view data source if received one in fetch
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
|
2024-04-17 16:11:50 +08:00 |
|
Claudio Cambra
|
69dfe596e2
|
Present error for updating share in file provider UI
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
|
2024-04-17 16:11:50 +08:00 |
|
Claudio Cambra
|
f1d3798396
|
Add method to dismiss error in share view controller via dismiss button
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
|
2024-04-17 16:11:50 +08:00 |
|
Claudio Cambra
|
24ce9a1e1e
|
Add method to show error in data source ui delegate
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
|
2024-04-17 16:11:50 +08:00 |
|
Claudio Cambra
|
9d6db4fa45
|
Add views to present an error in the share view controller
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
|
2024-04-17 16:11:50 +08:00 |
|
Claudio Cambra
|
30b4509457
|
Deselect table view or shares after reload to reset UI
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
|
2024-04-17 16:11:50 +08:00 |
|
Claudio Cambra
|
a7de8edd16
|
Fix crash on reloading share table view data source
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
|
2024-04-17 16:11:50 +08:00 |
|
Claudio Cambra
|
5702b163c8
|
Implement more logging in sharecontroller
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
|
2024-04-17 16:11:50 +08:00 |
|
Claudio Cambra
|
249dd02e75
|
Reload data source on share saving
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
|
2024-04-17 16:11:50 +08:00 |
|
Claudio Cambra
|
f1363040fa
|
Use a sharecontroller in shareviewcontroller
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
|
2024-04-17 16:11:50 +08:00 |
|
Claudio Cambra
|
08917a9559
|
Make save button functional in share view
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
|
2024-04-17 16:11:50 +08:00 |
|
Claudio Cambra
|
e2b62e492f
|
Add fields as parameters to save in sharecontroller
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
|
2024-04-17 16:11:50 +08:00 |
|
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 |
|