Claudio Cambra
|
1285b02770
|
Set suggestionstextfieldkit to 1.0.0
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
|
2024-04-17 16:11:50 +08:00 |
|
Claudio Cambra
|
af2b2e7aa1
|
Clean up TODO comments in file provider ui ext
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
|
2024-04-17 16:11:50 +08:00 |
|
Claudio Cambra
|
395cf9649c
|
Fix SuggestionsTextFieldKit import
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
|
2024-04-17 16:11:50 +08:00 |
|
Claudio Cambra
|
4464f7e460
|
Simplify configuration of text field delegate
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
|
2024-04-17 16:11:50 +08:00 |
|
Claudio Cambra
|
66f77233a8
|
Fix suggestion labels for sharees
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
|
2024-04-17 16:11:50 +08:00 |
|
Claudio Cambra
|
db20e44850
|
Use suggestions window controller in share options view
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
|
2024-04-17 16:11:50 +08:00 |
|
Claudio Cambra
|
07b6391688
|
Improve logging in ShareeSuggestionsDataSource
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
|
2024-04-17 16:11:50 +08:00 |
|
Claudio Cambra
|
798e060032
|
Post suggestions changed notification in ShareeSuggestionsDataSource
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
|
2024-04-17 16:11:50 +08:00 |
|
Claudio Cambra
|
c91d5827ab
|
Update suggestions on inputString change in sharee suggestions data source
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
|
2024-04-17 16:11:50 +08:00 |
|
Claudio Cambra
|
ad43c13882
|
Add converter method fro nksharee to suggestion
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
|
2024-04-17 16:11:50 +08:00 |
|
Claudio Cambra
|
3012976d9b
|
Add sharee fetcher method to shareesuggestionsdatasource
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
|
2024-04-17 16:11:50 +08:00 |
|
Claudio Cambra
|
74cea5e57a
|
Add basic shareesuggestionsdatasource
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
|
2024-04-17 16:11:50 +08:00 |
|
Claudio Cambra
|
d6e67a1882
|
Add SuggestionsTextFieldKit dependency
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
|
2024-04-17 16:11:50 +08:00 |
|
Claudio Cambra
|
ca94b452f1
|
Add package dependency NextcloudCapabilitiesKit to NextcloudIntegration
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
|
2024-04-17 16:11:50 +08:00 |
|
Claudio Cambra
|
e54652b690
|
Retry getting information from FileProviderExt if doing so has failed (usually due to opening share view before auth details are present)
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
|
2024-04-17 16:11:50 +08:00 |
|
Claudio Cambra
|
1f3d636a92
|
Deduplicate error presentation in ShareTableViewDataSource
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
|
2024-04-17 16:11:50 +08:00 |
|
Claudio Cambra
|
bab3b4181c
|
Fix options view disappearing when clicking create button in share view controller
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
|
2024-04-17 16:11:50 +08:00 |
|
Claudio Cambra
|
d2242ea9a4
|
Fix letter used to identify shareability in sharetableviewdatasource
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
|
2024-04-17 16:11:50 +08:00 |
|
Claudio Cambra
|
807371e1b7
|
Fix scan path to retrieve item metadata 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
|
9621dede1f
|
Ensure interpolated logging string in share table view data source is public
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
|
2024-04-17 16:11:50 +08:00 |
|
Claudio Cambra
|
65db197a62
|
Check if the given item is shareable before fetching shares
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
|
2024-04-17 16:11:50 +08:00 |
|
Claudio Cambra
|
4d3e63009c
|
Add method to ShareTableViewDataSource to fetch the given item's metadata
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
|
2024-04-17 16:11:50 +08:00 |
|
Claudio Cambra
|
f7dba3e4c6
|
Add more debug logging to sharecapabilities
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
|
2024-04-17 16:11:50 +08:00 |
|
Claudio Cambra
|
3e7cde632e
|
Fix default states around passwords for share options view
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
|
2024-04-17 16:11:50 +08:00 |
|
Claudio Cambra
|
49303045b7
|
Fix ShareCapabilities parsing
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
|
2024-04-17 16:11:50 +08:00 |
|
Claudio Cambra
|
7be5541cde
|
Fix password capabilities for public link capabilities
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
|
2024-04-17 16:11:50 +08:00 |
|
Claudio Cambra
|
3bb6f43bdf
|
Update form layout according to picked type when picked type changed
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
|
2024-04-17 16:11:50 +08:00 |
|
Claudio Cambra
|
ce1bf89a99
|
Setup the fields in share options view when creating a new form according to capabilities
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
|
2024-04-17 16:11:50 +08:00 |
|
Claudio Cambra
|
b7541fc783
|
Update reset to make sure it also resets min and max dates in date picker, don't affect share type
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
|
2024-04-17 16:11:50 +08:00 |
|
Claudio Cambra
|
b074d19e6e
|
Extract conversion of picked menu item in share type picker into NKShare ShareType into new method
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
|
2024-04-17 16:11:50 +08:00 |
|
Claudio Cambra
|
3bfbb38e0f
|
Do not bother fetching shares if sharing is disabled on server
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
|
2024-04-17 16:11:50 +08:00 |
|
Claudio Cambra
|
cfd8c00e94
|
Fetch sharing capabilities in ShareTableViewDataSource
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
|
2024-04-17 16:11:50 +08:00 |
|
Claudio Cambra
|
8039fcd951
|
Add init for ShareCapabilities
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
|
2024-04-17 16:11:50 +08:00 |
|
Claudio Cambra
|
3ffcd6de42
|
Add init for public link capabilities
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
|
2024-04-17 16:11:50 +08:00 |
|
Claudio Cambra
|
1e811fead5
|
Add initialiser from dictionary for EmailCapabilities
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
|
2024-04-17 16:11:50 +08:00 |
|
Claudio Cambra
|
15651f6a0c
|
Restructure ShareCapabilities
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
|
2024-04-17 16:11:50 +08:00 |
|
Claudio Cambra
|
2d0cdb3716
|
Add ShareCapabilities struct
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
|
2024-04-17 16:11:50 +08:00 |
|
Claudio Cambra
|
b23706633e
|
Adapt visibility of note recipient text field upon toggling checkbox
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
|
2024-04-17 16:11:50 +08:00 |
|
Claudio Cambra
|
f1adfcf8b7
|
Adapt visibility of expiration date field upon toggling checkbox
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
|
2024-04-17 16:11:50 +08:00 |
|
Claudio Cambra
|
4be8bace48
|
Adapt visibility of password field upon toggling password checkbox
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
|
2024-04-17 16:11:50 +08:00 |
|
Claudio Cambra
|
d12cdebf48
|
Reset newly added fields in ShareOptionsView correctly
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
|
2024-04-17 16:11:50 +08:00 |
|
Claudio Cambra
|
d0195e67c3
|
Properly handle failure state when creating new share in share options view
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
|
2024-04-17 16:11:50 +08:00 |
|
Claudio Cambra
|
31a9db9e25
|
Correctly treat share recipient text field in the share options view flow
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
|
2024-04-17 16:11:50 +08:00 |
|
Claudio Cambra
|
c5d57cde1f
|
Add a text field for relevant shareWith in ShareOptionsView
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
|
2024-04-17 16:11:50 +08:00 |
|
Claudio Cambra
|
54f3822b3c
|
Have specific cancel behaviour in shareoptionsview on delete if in create mode
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
|
2024-04-17 16:11:50 +08:00 |
|
Claudio Cambra
|
83ed6ea35f
|
Change deleteButton to a cancel button when in creation mode
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
|
2024-04-17 16:11:50 +08:00 |
|
Claudio Cambra
|
a7637257d5
|
Adjust share options view title depending on create mode
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
|
2024-04-17 16:11:50 +08:00 |
|
Claudio Cambra
|
70cb2bd4c1
|
Make share options view capable of creating or updating view upon clicking "save" depending on create status
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
|
2024-04-17 16:11:50 +08:00 |
|
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 |
|