Loading src/components/AppNavigation/CalendarList/CalendarListItem.vue +10 −10 Original line number Diff line number Diff line Loading @@ -205,7 +205,7 @@ export default { /** * Download url of the calendar * * @returns {String} * @return {string} */ downloadUrl() { return this.calendar.url + '?export' Loading @@ -214,7 +214,7 @@ export default { * Whether or not to display the sharing icon. * It will only be displayed when the calendar is either sharable or publishable * * @returns {Boolean} * @return {boolean} */ showSharingIcon() { return this.calendar.canBeShared || this.calendar.canBePublished Loading @@ -227,7 +227,7 @@ export default { * The sharing icon with high opacity when the calendar is shared * The sharing icon with low opacity when the calendar is neither shared nor published * * @returns {String} * @return {string} */ sharingIconClass() { if (this.isPublished) { Loading @@ -244,7 +244,7 @@ export default { * Whether or not the calendar is either shared or published * This is used to figure out whether or not to display the Shared label * * @returns {Boolean} * @return {boolean} */ isSharedOrPublished() { return this.isShared || this.isPublished Loading @@ -252,7 +252,7 @@ export default { /** * Is the calendar shared? * * @returns {Boolean} * @return {boolean} */ isShared() { return !!this.calendar.shares.length Loading @@ -260,7 +260,7 @@ export default { /** * Is the calendar shared with me? * * @returns {Boolean} * @return {boolean} */ isSharedWithMe() { return this.calendar.isSharedWithMe Loading @@ -268,7 +268,7 @@ export default { /** * Is the calendar published * * @returns {Boolean} * @return {boolean} */ isPublished() { return !!this.calendar.publishURL Loading @@ -276,7 +276,7 @@ export default { /** * TODO: this should use principals and principal.userId * * @returns {String} * @return {string} */ owner() { if (this.calendar.owner.indexOf('principal:principals/users/') === '0') { Loading @@ -289,7 +289,7 @@ export default { /** * Whether or not the information about the owner principal was loaded * * @returns {Boolean} * @return {boolean} */ loadedOwnerPrincipal() { return this.$store.getters.getPrincipalByUrl(this.calendar.owner) !== undefined Loading src/components/AppNavigation/CalendarList/CalendarListItemSharingSearch.vue +12 −12 Original line number Diff line number Diff line Loading @@ -73,12 +73,12 @@ export default { /** * Share calendar * * @param {Object} data destructuring object * @param {object} data destructuring object * @param {string} data.user the userId * @param {string} data.displayName the displayName * @param {string} data.uri the sharing principalScheme uri * @param {Boolean} data.isGroup is this a group ? * @param {Boolean} data.isCircle is this a circle-group ? * @param {boolean} data.isGroup is this a group ? * @param {boolean} data.isCircle is this a circle-group ? */ shareCalendar({ user, displayName, uri, isGroup, isCircle }) { this.$store.dispatch('shareCalendar', { Loading @@ -94,7 +94,7 @@ export default { /** * Use the cdav client call to find matches to the query from the existing Users & Groups * * @param {String} query * @param {string} query */ findSharee: debounce(async function(query) { const hiddenPrincipalSchemes = [] Loading Loading @@ -131,10 +131,10 @@ export default { }, 500), /** * * @param {String} query The search query * @param {String[]} hiddenPrincipals A list of principals to exclude from search results * @param {String[]} hiddenUrls A list of urls to exclude from search results * @returns {Promise<Object[]>} * @param {string} query The search query * @param {string[]} hiddenPrincipals A list of principals to exclude from search results * @param {string[]} hiddenUrls A list of urls to exclude from search results * @return {Promise<object[]>} */ async findShareesFromDav(query, hiddenPrincipals, hiddenUrls) { let results Loading Loading @@ -182,10 +182,10 @@ export default { }, /** * * @param {String} query The search query * @param {String[]} hiddenPrincipals A list of principals to exclude from search results * @param {String[]} hiddenUrls A list of urls to exclude from search results * @returns {Promise<Object[]>} * @param {string} query The search query * @param {string[]} hiddenPrincipals A list of principals to exclude from search results * @param {string[]} hiddenUrls A list of urls to exclude from search results * @return {Promise<object[]>} */ async findShareesFromCircles(query, hiddenPrincipals, hiddenUrls) { let results Loading src/components/AppNavigation/CalendarList/CalendarListItemSharingShareItem.vue +2 −2 Original line number Diff line number Diff line Loading @@ -89,7 +89,7 @@ export default { /** * Unshares the calendar from the given sharee * * @returns {Promise<void>} * @return {Promise<void>} */ async unshare() { this.updatingSharee = true Loading @@ -109,7 +109,7 @@ export default { /** * Toggles the write-permission of the share * * @returns {Promise<void>} * @return {Promise<void>} */ async updatePermission() { this.updatingSharee = true Loading src/components/AppNavigation/CalendarList/PublicCalendarListItem.vue +2 −2 Original line number Diff line number Diff line Loading @@ -119,7 +119,7 @@ export default { /** * Download url of the calendar * * @returns {String} * @return {string} */ downloadUrl() { return this.calendar.url + '?export' Loading @@ -127,7 +127,7 @@ export default { /** * TODO: this should use principals and principal.userId * * @returns {String} * @return {string} */ owner() { const lastIndex = this.calendar.owner.lastIndexOf('dav/principals/users/') Loading src/components/AppNavigation/Settings.vue +2 −2 Original line number Diff line number Diff line Loading @@ -323,7 +323,7 @@ export default { /** * Updates the setting for slot duration * * @param {Object} option The new selected value * @param {object} option The new selected value */ async changeSlotDuration(option) { if (!option) { Loading @@ -347,7 +347,7 @@ export default { /** * Updates the setting for the default reminder * * @param {Object} option The new selected value * @param {object} option The new selected value */ async changeDefaultReminder(option) { if (!option) { Loading Loading
src/components/AppNavigation/CalendarList/CalendarListItem.vue +10 −10 Original line number Diff line number Diff line Loading @@ -205,7 +205,7 @@ export default { /** * Download url of the calendar * * @returns {String} * @return {string} */ downloadUrl() { return this.calendar.url + '?export' Loading @@ -214,7 +214,7 @@ export default { * Whether or not to display the sharing icon. * It will only be displayed when the calendar is either sharable or publishable * * @returns {Boolean} * @return {boolean} */ showSharingIcon() { return this.calendar.canBeShared || this.calendar.canBePublished Loading @@ -227,7 +227,7 @@ export default { * The sharing icon with high opacity when the calendar is shared * The sharing icon with low opacity when the calendar is neither shared nor published * * @returns {String} * @return {string} */ sharingIconClass() { if (this.isPublished) { Loading @@ -244,7 +244,7 @@ export default { * Whether or not the calendar is either shared or published * This is used to figure out whether or not to display the Shared label * * @returns {Boolean} * @return {boolean} */ isSharedOrPublished() { return this.isShared || this.isPublished Loading @@ -252,7 +252,7 @@ export default { /** * Is the calendar shared? * * @returns {Boolean} * @return {boolean} */ isShared() { return !!this.calendar.shares.length Loading @@ -260,7 +260,7 @@ export default { /** * Is the calendar shared with me? * * @returns {Boolean} * @return {boolean} */ isSharedWithMe() { return this.calendar.isSharedWithMe Loading @@ -268,7 +268,7 @@ export default { /** * Is the calendar published * * @returns {Boolean} * @return {boolean} */ isPublished() { return !!this.calendar.publishURL Loading @@ -276,7 +276,7 @@ export default { /** * TODO: this should use principals and principal.userId * * @returns {String} * @return {string} */ owner() { if (this.calendar.owner.indexOf('principal:principals/users/') === '0') { Loading @@ -289,7 +289,7 @@ export default { /** * Whether or not the information about the owner principal was loaded * * @returns {Boolean} * @return {boolean} */ loadedOwnerPrincipal() { return this.$store.getters.getPrincipalByUrl(this.calendar.owner) !== undefined Loading
src/components/AppNavigation/CalendarList/CalendarListItemSharingSearch.vue +12 −12 Original line number Diff line number Diff line Loading @@ -73,12 +73,12 @@ export default { /** * Share calendar * * @param {Object} data destructuring object * @param {object} data destructuring object * @param {string} data.user the userId * @param {string} data.displayName the displayName * @param {string} data.uri the sharing principalScheme uri * @param {Boolean} data.isGroup is this a group ? * @param {Boolean} data.isCircle is this a circle-group ? * @param {boolean} data.isGroup is this a group ? * @param {boolean} data.isCircle is this a circle-group ? */ shareCalendar({ user, displayName, uri, isGroup, isCircle }) { this.$store.dispatch('shareCalendar', { Loading @@ -94,7 +94,7 @@ export default { /** * Use the cdav client call to find matches to the query from the existing Users & Groups * * @param {String} query * @param {string} query */ findSharee: debounce(async function(query) { const hiddenPrincipalSchemes = [] Loading Loading @@ -131,10 +131,10 @@ export default { }, 500), /** * * @param {String} query The search query * @param {String[]} hiddenPrincipals A list of principals to exclude from search results * @param {String[]} hiddenUrls A list of urls to exclude from search results * @returns {Promise<Object[]>} * @param {string} query The search query * @param {string[]} hiddenPrincipals A list of principals to exclude from search results * @param {string[]} hiddenUrls A list of urls to exclude from search results * @return {Promise<object[]>} */ async findShareesFromDav(query, hiddenPrincipals, hiddenUrls) { let results Loading Loading @@ -182,10 +182,10 @@ export default { }, /** * * @param {String} query The search query * @param {String[]} hiddenPrincipals A list of principals to exclude from search results * @param {String[]} hiddenUrls A list of urls to exclude from search results * @returns {Promise<Object[]>} * @param {string} query The search query * @param {string[]} hiddenPrincipals A list of principals to exclude from search results * @param {string[]} hiddenUrls A list of urls to exclude from search results * @return {Promise<object[]>} */ async findShareesFromCircles(query, hiddenPrincipals, hiddenUrls) { let results Loading
src/components/AppNavigation/CalendarList/CalendarListItemSharingShareItem.vue +2 −2 Original line number Diff line number Diff line Loading @@ -89,7 +89,7 @@ export default { /** * Unshares the calendar from the given sharee * * @returns {Promise<void>} * @return {Promise<void>} */ async unshare() { this.updatingSharee = true Loading @@ -109,7 +109,7 @@ export default { /** * Toggles the write-permission of the share * * @returns {Promise<void>} * @return {Promise<void>} */ async updatePermission() { this.updatingSharee = true Loading
src/components/AppNavigation/CalendarList/PublicCalendarListItem.vue +2 −2 Original line number Diff line number Diff line Loading @@ -119,7 +119,7 @@ export default { /** * Download url of the calendar * * @returns {String} * @return {string} */ downloadUrl() { return this.calendar.url + '?export' Loading @@ -127,7 +127,7 @@ export default { /** * TODO: this should use principals and principal.userId * * @returns {String} * @return {string} */ owner() { const lastIndex = this.calendar.owner.lastIndexOf('dav/principals/users/') Loading
src/components/AppNavigation/Settings.vue +2 −2 Original line number Diff line number Diff line Loading @@ -323,7 +323,7 @@ export default { /** * Updates the setting for slot duration * * @param {Object} option The new selected value * @param {object} option The new selected value */ async changeSlotDuration(option) { if (!option) { Loading @@ -347,7 +347,7 @@ export default { /** * Updates the setting for the default reminder * * @param {Object} option The new selected value * @param {object} option The new selected value */ async changeDefaultReminder(option) { if (!option) { Loading