Claudio Cambra
|
4029458eff
|
Connect different share type popup button menu items to outlets in share options view
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
|
2024-04-17 16:11:50 +08:00 |
|
Claudio Cambra
|
131973b935
|
Make create button in share view controller show options view and toggle create mode
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
|
2024-04-17 16:11:50 +08:00 |
|
Claudio Cambra
|
e1997bd1fd
|
Add "createMode" toggle to share options view, start building for use to create new shares
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
|
2024-04-17 16:11:50 +08:00 |
|
Claudio Cambra
|
0ceb6a9481
|
Add additional options to share controller creation method
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
|
2024-04-17 16:11:50 +08:00 |
|
Claudio Cambra
|
000fe02bb0
|
Nilify itemServerRelativePath upon loading item in table view data source
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
|
2024-04-17 16:11:50 +08:00 |
|
Claudio Cambra
|
8d3b101569
|
Make item's server relative path public in sharetableviewdatasource
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
|
2024-04-17 16:11:50 +08:00 |
|
Claudio Cambra
|
e25bebcd69
|
Add static method to create shares in ShareController
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
|
2024-04-17 16:11:50 +08:00 |
|
Claudio Cambra
|
3a58fbeef6
|
Add a popupbutton to share options vie to select type of share
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
|
2024-04-17 16:11:50 +08:00 |
|
Claudio Cambra
|
15f03d6417
|
Add button to create new share in share view
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
|
2024-04-17 16:11:50 +08:00 |
|
Claudio Cambra
|
2085a1214e
|
Remove unused outlets in tableitemview
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
|
2024-04-17 16:11:50 +08:00 |
|
Claudio Cambra
|
ff305ec9fc
|
Implement deletion functionality for share options view
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
|
2024-04-17 16:11:50 +08:00 |
|
Claudio Cambra
|
a4551b25c6
|
Improve design of save and delete buttons in share view controller
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
|
2024-04-17 16:11:50 +08:00 |
|
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 |
|