Thanks to visit codestin.com
Credit goes to github.com

Skip to content

feat: add default reminder property#995

Draft
GVodyanov wants to merge 1 commit intomainfrom
feat/add-default-reminder-property
Draft

feat: add default reminder property#995
GVodyanov wants to merge 1 commit intomainfrom
feat/add-default-reminder-property

Conversation

@GVodyanov
Copy link

@GVodyanov GVodyanov self-assigned this Mar 2, 2026
@GVodyanov GVodyanov added the 2. developing Work in progress label Mar 2, 2026
Signed-off-by: Grigory Vodyanov <[email protected]>
@GVodyanov GVodyanov force-pushed the feat/add-default-reminder-property branch from 5354fbf to dc5bfd2 Compare March 2, 2026 21:51
@codecov
Copy link

codecov bot commented Mar 2, 2026

Codecov Report

❌ Patch coverage is 40.00000% with 3 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
src/propset/calendarPropSet.js 0.00% 3 Missing ⚠️

📢 Thoughts on this report? Let us know!

[NS.IETF_CALDAV, 'schedule-calendar-transp'],
[NS.IETF_CALDAV, 'schedule-default-calendar-URL'],
[NS.OWNCLOUD, 'calendar-enabled'],
[NS.OWNCLOUD, 'default-alarm'],
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should be NS.NEXTCLOUD, its a custom property we are creating

this.registerParser('{http://owncloud.org/ns}calendar-enabled', Parser.bool)
this.registerParser('{http://owncloud.org/ns}enabled', Parser.bool)
this.registerParser('{http://owncloud.org/ns}read-only', Parser.bool)
this.registerParser('{http://owncloud.org/ns}default-alarm', Parser.decInt)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should be {http://nextcloud.com/ns}

* - {urn:ietf:params:xml:ns:caldav}calendar-description
* - {urn:ietf:params:xml:ns:caldav}calendar-timezone
* - {http://owncloud.org/ns}calendar-enabled
* - {http://owncloud.org/ns}default-alarm
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should be {http://nextcloud.com/ns}

super._exposeProperty('timezone', NS.IETF_CALDAV, 'calendar-timezone', true)
super._exposeProperty('components', NS.IETF_CALDAV, 'supported-calendar-component-set')
super._exposeProperty('transparency', NS.IETF_CALDAV, 'schedule-calendar-transp', true)
super._exposeProperty('defaultAlarm', NS.OWNCLOUD, 'default-alarm', true)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should be NS.NEXTCLOUD

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

2. developing Work in progress

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants