-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Extract CLASS property from calendar object and store it in the database #24080
Conversation
By analyzing the blame information on this pull request, we identified @schiesbn, @nickvergessen, @LukasReschke and @DeepDiver1975 to be potential reviewers |
d2ed5cf
to
a20577d
Compare
a20577d
to
bb5fdb1
Compare
@DeepDiver1975 9.2 or bugfix for 9.1 ? |
9.1 would be appreciated |
@@ -0,0 +1,41 @@ | |||
<?php | |||
|
|||
namespace OCA\DAV\Migration; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
missing license
4217214
to
28afdaa
Compare
#### DO NOT CHANGE ANYTHING ABOVE THIS LINE #### | ||
|
||
ErrorDocument 403 /core/templates/403.php | ||
ErrorDocument 404 /core/templates/404.php |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
used git commit -a
😉 ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@DeepDiver1975 can you remove this file ?
@georgehrke can you review the remaining code ? |
Code looks good, will test with and adjust the calendar. |
3a9b3ff
to
82b31ea
Compare
The logic for Private and Confidential seems to be mixed up. |
* @param string $calData | ||
* @return string | ||
*/ | ||
public static function cleanByAccessClass($calData) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
method name is confusing, because there is no access class given as a parameter
82b31ea
to
155110f
Compare
@georgehrke addressed - thanks for the review! Is there a calendar branch implementing the classification? THX |
155110f
to
a6fd90a
Compare
looks good now 👍 |
@@ -272,6 +272,12 @@ CREATE TABLE calendarobjects ( | |||
<type>text</type> | |||
<length>255</length> | |||
</field> | |||
<field> | |||
<comments>0 - private, 1 - public, 2 - confidential</comments> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This doesn't match with the numbers in CalDavBackend though
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
public is 0
Filter private calendar objects in shared calendars
a6fd90a
to
bfcd1dc
Compare
THX @georgehrke for testing and review @dragotin @guruz @nickvergessen @icewind1991 mind testing? THX |
sorry for not yet testing: customer is scared to try fixes in prod ... |
👍 |
@DeepDiver1975 does this need backport ? The original ticket talks about 9.0 CC @dragotin |
Because database migration is involved I would not do a backport |
Ok, agreed |
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. |
fixes #22914
@georgehrke mind testing and adjusting the calendar?
@PVince81 @dragotin @icewind1991 mind reviewing
@melo1 @stefangweichinger @p5n @tagru @sameliotfischer since you voted for this feature please test
THX