Uh oh!
There was an error while loading. Please reload this page.
Extract caldav sharing stuff from publishing stuff - #34873
Conversation
| * @var IConfig | ||
| */ | ||
| protected $config; | ||
| protected Server $server; |
Check notice
Code scanning / Psalm
PropertyNotSetInConstructor
| class SharingPlugin extends ServerPlugin { | ||
| public const NS_CALENDARSERVER = 'http://calendarserver.org/ns/'; | ||
| protected Server $server; |
Check notice
Code scanning / Psalm
PropertyNotSetInConstructor
| * | ||
| * @param Server $server | ||
| */ | ||
| public function initialize(Server $server) { |
Check notice
Code scanning / Psalm
MissingReturnType
| $this->server->on('propFind', [$this, 'propFind']); | ||
| } | ||
| public function propFind(PropFind $propFind, INode $node) { |
Check notice
Code scanning / Psalm
MissingReturnType
pboguslawski
commented
Oct 29, 2022
Didn't notice any problems after applying this patch on 24.0.5. Thank you! |
miaulalala
left a comment
There was a problem hiding this comment.
- no value set - public share links work and is an option in calendar
- value set to yes - public share link works and is an option in calendar
- value set to no - public share link does not work and there is not an option to create a public share link in calendar but sharing with users and groups still works
Uh oh!
There was an error while loading. Please reload this page.
4fd3cba to
7f87ac8CompareChristophWurst
commented
Jan 20, 2023
🙌 🙌 |
Due to the callbacks, Sabre patterns are hard to test, there would be low value for added tests here. Not sure if it's impossible, but it's never been done before in all other plugins. |
After upgrading to server 25.0.3 with this mod applied + calendar 4.2.1, when ...then After enabling... ...clicking Seems that server blocks sharing via link correctly but calendar app after upgrade should have |
szaimen
commented
Apr 17, 2023
@tcitworld can you please fix the conflicts and the tests? Thanks in advance! :) |
provokateurin
commented
Jun 11, 2026
Hey @tcitworld could you try doing another rebase, so we can finally get this merged? |
So that it's still there when we disable the PublishPlugin And disable sharing calendars via link when sharik via link is disabled This mod disallows sharing calendars via link when `shareapi_allow_links` is disabled. Signed-off-by: Thomas Citharel <tcit@tcit.fr> Signed-off-by: Carl Schwan <carlschwan@kde.org> Signed-off-by: Pawel Boguslawski <pawel.boguslawski@ib.pl>
7f87ac8 to
66b7f2eCompare
Based on and replaces #34372 by @pboguslawski
The publishing plugin handled both doing the actual publishing/unpublishing as well as exposing the supported sharing features.
Now we have one for each use and publishing can be properly disabled. The CalDAVSharingPlugin will probably be useful for most of the issues in #20096 anyway.