Conversation
|
@PVince81, thanks for your PR! By analyzing the history of the files in this pull request, we identified @mjobst-necls and @DeepDiver1975 to be potential reviewers. |
|
Does this support all features shown in this clickdummy? |
very likely |
|
Tasks:
|
|
|
|
|
@felixheidecke please have a look at my changes, let me know if something is unclear. We still need the subtab for "Public links". Regarding the merging of the expiration view I'd recommend against it to save some time. If needed I can simply rewire it for now. Let me know what you think. |
Should the email field rather be part of the anchor feature ? (share with social, share with email, copy to clipboard). It feels weird to have an email field in the popup and need to click "Edit" to access it. |
|
|
|
As we discussed just now, we need this in the modal to be able to access the password for further usage with E-Mail and Text-Messages (SMS) |
Then once we have this we can use another migration to add the new column. |
|
I've already added the migration commit + the new name column + passing it through the APIs on this PR. Now if we want the name to be prepopulated to be the token, then it means we need to pre-create the share before opening the popup for editing. If we really want that, then once the share model reaches the popup it isn't a new share any more. So we'll need to pass a flag to the dialog as it cannot rely on @felixheidecke can you confirm that this is the flow we want ? |
|
|
@PVince81 My suggestion is the following (in code terms): |
Yes, agree. |
Depends on where the tooltip lives. Go ahead and implement it. I can take care of it whenever I bügel glatt the UI. |
|
I'll let you do the share time stuff. In the last push a7db599:
@felixheidecke I think you can take over from here. Let me know when the structures are stable enough so I can update most unit tests. |
|
I've just added a few more tweaks:
|
|
|
|
|
6220dea to
e05713d
Compare
|
We can't merge this yet as there is no proper way for copying the link.
In general I'd also like to have the icon order sorted out already before merging, if possible. Trash is still too close to the share button. |
Add back anchor icon in list. Fix generated link. Added extension point in dialog.
Make other OC.* API calls use OC.getRootPath() instead of directly using OC.webroot which makes it possible to properly stub OC.getRootPath() for testing.
d0ef748 to
012208f
Compare
|
Merged all blockers, rebased. 👍 for @felixheidecke's code Let's get this merged, unless you have objections @felixheidecke. Date picker format stuff to be handled separately as it's a different topic. |
|
Cannot unset password when editing, raised here #27481 |
|
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Description
Removes the artifical restriction in the code that limited link shares to a single entry.
Please note that the limit was put in place because the UI wasn't ready for multiple link shares.
Before merging this, make sure the UI is adjusted first.
Related Issue
Motivation and Context
We want multiple link shares!
How Has This Been Tested?
Screenshots (if appropriate):
Types of changes
Checklist:
@fheidecke here you go, please use this branch when testing the frontend changes.
Multiple link shares can simply be created by using POST when creating the share and PUT when changing it. Each will get a different id. It's similar to regular user shares.