Repository navigation
Sharing changes in preperation for legacy sync. - #67021
icewind1991 wants to merge 17 commits into
Conversation
|
What is the rationale for |
| $event = new ShareCreatedEvent($share); | ||
| $this->dispatchEvent($event, 'share created'); | ||
| $share = $event->getShare(); |
There was a problem hiding this comment.
This looks a bit weird. Is it not possible to modify the share object directly from listeners instead?
There was a problem hiding this comment.
Only if the listener doesn't replace the share object
There was a problem hiding this comment.
Yes but it is this PR that adds the setShare method, is it needed to be able to change the share object? Modifying it is not enough?
|
The rest looks good. All the |
Signed-off-by: provokateurin <kate@provokateurin.de>
… the controller Signed-off-by: provokateurin <kate@provokateurin.de>
Signed-off-by: provokateurin <kate@provokateurin.de>
To prevent modifying the share when loading it. Currently doing save+load cycle gives you a share with a different expiration date than the one you saved. |
Signed-off-by: Robin Appelman <robin@icewind.nl>
Signed-off-by: provokateurin <kate@provokateurin.de>
Signed-off-by: provokateurin <kate@provokateurin.de>
Signed-off-by: provokateurin <kate@provokateurin.de>
Signed-off-by: provokateurin <kate@provokateurin.de>
Signed-off-by: provokateurin <kate@provokateurin.de>
Signed-off-by: provokateurin <kate@provokateurin.de>
…ead of load Signed-off-by: provokateurin <kate@provokateurin.de>
… manager instead of the backend Signed-off-by: provokateurin <kate@provokateurin.de>
Signed-off-by: provokateurin <kate@provokateurin.de>
Signed-off-by: provokateurin <kate@provokateurin.de>
Signed-off-by: provokateurin <kate@provokateurin.de>
…d in the provider Signed-off-by: provokateurin <kate@provokateurin.de>
…ilable Signed-off-by: provokateurin <kate@provokateurin.de>
78d81c7 to
4b58c4a
Compare
|
updated |
Summary
A collection of the "smaller" changes from #65972 that aren't directly related to the legacy sync.
Splitting this off hopefully makes things a bit easier to merge
Checklist
3. to review, feature component)stable32)AI (if applicable)