Skip to content

Commit

Permalink
Merge pull request #3075 from nextcloud/enh/revealVoters
Browse files Browse the repository at this point in the history
add option to reveal hidden voters
  • Loading branch information
dartcafe authored Sep 16, 2023
2 parents fc24512 + ae9ad0a commit a319c9d
Show file tree
Hide file tree
Showing 97 changed files with 194 additions and 404 deletions.
11 changes: 11 additions & 0 deletions src/js/Api/index.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
export { default as ActivityAPI } from './modules/activity.js'
export { default as AppSettingsAPI } from './modules/appSettings.js'
export { default as CalendarAPI } from './modules/calendar.js'
export { default as CommentsAPI } from './modules/comments.js'
export { default as OptionsAPI } from './modules/options.js'
export { default as PollsAPI } from './modules/polls.js'
export { default as PublicAPI } from './modules/public.js'
export { default as SharesAPI } from './modules/shares.js'
export { default as UserSettingsAPI } from './modules/userSettings.js'
export { default as ValidatorAPI } from './modules/validators.js'
export { default as VotesAPI } from './modules/votes.js'
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -42,4 +42,4 @@ const activity = {

const cancelTokenHandlerObject = createCancelTokenHandler(activity)

export { activity as ActivityAPI }
export default { activity }
Original file line number Diff line number Diff line change
Expand Up @@ -60,4 +60,4 @@ const appSettings = {

const cancelTokenHandlerObject = createCancelTokenHandler(appSettings)

export { appSettings as AppSettingsAPI }
export default { appSettings }
Original file line number Diff line number Diff line change
Expand Up @@ -45,4 +45,4 @@ const calendar = {

const cancelTokenHandlerObject = createCancelTokenHandler(calendar)

export { calendar as CalendarAPI }
export default { calendar }
Original file line number Diff line number Diff line change
Expand Up @@ -54,4 +54,4 @@ const comments = {

const cancelTokenHandlerObject = createCancelTokenHandler(comments)

export { comments as CommentsAPI }
export default { comments }
2 changes: 1 addition & 1 deletion src/js/Api/options.js β†’ src/js/Api/modules/options.js
Original file line number Diff line number Diff line change
Expand Up @@ -118,4 +118,4 @@ const options = {

const cancelTokenHandlerObject = createCancelTokenHandler(options)

export { options as OptionsAPI }
export default { options }
2 changes: 1 addition & 1 deletion src/js/Api/polls.js β†’ src/js/Api/modules/polls.js
Original file line number Diff line number Diff line change
Expand Up @@ -147,4 +147,4 @@ const polls = {

const cancelTokenHandlerObject = createCancelTokenHandler(polls)

export { polls as PollsAPI }
export default { polls }
2 changes: 1 addition & 1 deletion src/js/Api/public.js β†’ src/js/Api/modules/public.js
Original file line number Diff line number Diff line change
Expand Up @@ -201,4 +201,4 @@ const publicPoll = {

const cancelTokenHandlerObject = createCancelTokenHandler(publicPoll)

export { publicPoll as PublicAPI }
export default { publicPoll }
2 changes: 1 addition & 1 deletion src/js/Api/shares.js β†’ src/js/Api/modules/shares.js
Original file line number Diff line number Diff line change
Expand Up @@ -106,4 +106,4 @@ const shares = {

const cancelTokenHandlerObject = createCancelTokenHandler(shares)

export { shares as SharesAPI }
export default { shares }
Original file line number Diff line number Diff line change
Expand Up @@ -44,4 +44,4 @@ const userSettings = {

const cancelTokenHandlerObject = createCancelTokenHandler(userSettings)

export { userSettings as UserSettingsAPI }
export default { userSettings }
Original file line number Diff line number Diff line change
Expand Up @@ -46,4 +46,4 @@ const validators = {

const cancelTokenHandlerObject = createCancelTokenHandler(validators)

export { validators as ValidatorAPI }
export default { validators }
2 changes: 1 addition & 1 deletion src/js/Api/votes.js β†’ src/js/Api/modules/votes.js
Original file line number Diff line number Diff line change
Expand Up @@ -52,4 +52,4 @@ const votes = {

const cancelTokenHandlerObject = createCancelTokenHandler(votes)

export { votes as VotesAPI }
export default { votes }
2 changes: 1 addition & 1 deletion src/js/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ export default {
name: 'App',
components: {
NcContent,
LoadingOverlay: () => import('./components/Base/LoadingOverlay.vue'),
LoadingOverlay: () => import('./components/Base/modules/LoadingOverlay.vue'),
UserSettingsDlg,
},

Expand Down
5 changes: 5 additions & 0 deletions src/js/components/Actions/index.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
export { default as ActionChangeView } from './modules/ActionChangeView.vue'
export { default as ActionDelete } from './modules/ActionDelete.vue'
export { default as ActionSendConfirmedOptions } from './modules/ActionSendConfirmedOptions.vue'
export { default as ActionSortOptions } from './modules/ActionSortOptions.vue'
export { default as ActionToggleSidebar } from './modules/ActionToggleSidebar.vue'
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@
import { NcButton } from '@nextcloud/vue'
import EmailCheckIcon from 'vue-material-design-icons/EmailCheck.vue' // view-comfy-outline
import { showError, showSuccess } from '@nextcloud/dialogs'
import { PollsAPI } from '../../Api/polls.js'
import { PollsAPI } from '../../../Api/index.js'

export default {
name: 'ActionSendConfirmedOptions',
Expand Down
77 changes: 0 additions & 77 deletions src/js/components/AppIcons/CirclesAppIcon.vue

This file was deleted.

66 changes: 0 additions & 66 deletions src/js/components/AppIcons/ProjectsAppIcon.vue

This file was deleted.

59 changes: 0 additions & 59 deletions src/js/components/AppIcons/PublishOff.vue

This file was deleted.

59 changes: 0 additions & 59 deletions src/js/components/AppIcons/ShieldCrownOutline.vue

This file was deleted.

3 changes: 3 additions & 0 deletions src/js/components/AppIcons/index.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
export { default as MaybeIcon } from './modules/MaybeIcon.vue'
export { default as PollsAppIcon } from './modules/PollsAppIcon.vue'
export { default as Spinner } from './modules/Spinner.vue'
File renamed without changes.
File renamed without changes.
9 changes: 9 additions & 0 deletions src/js/components/Base/index.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
export { default as BadgeDiv } from './modules/BadgeDiv.vue'
export { default as CardDiv } from './modules/CardDiv.vue'
export { default as ConfigBox } from './modules/ConfigBox.vue'
export { default as FlexSpacer } from './modules/FlexSpacer.vue'
export { default as HeaderBar } from './modules/HeaderBar.vue'
export { default as InputDiv } from './modules/InputDiv.vue'
export { default as LoadingOverlay } from './modules/LoadingOverlay.vue'
export { default as QrModal } from './modules/QrModal.vue'
export { default as RadioGroupDiv } from './modules/RadioGroupDiv.vue'
File renamed without changes.
Loading

0 comments on commit a319c9d

Please sign in to comment.