chore(eslint): fix missing import extensions

Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
pull/36532/head
John Molakvoæ 2 years ago
parent 5adfec3dc6
commit 8633f13e0a
No known key found for this signature in database
GPG Key ID: 60C25B8C072916CF
  1. 2
      apps/comments/src/comments-app.js
  2. 8
      apps/comments/src/comments.js
  3. 22
      apps/comments/src/components/Comment.vue
  4. 6
      apps/comments/src/mixins/CommentMixin.js
  5. 2
      apps/comments/src/services/CommentsInstance.js
  6. 2
      apps/comments/src/services/DavClient.js
  7. 2
      apps/comments/src/services/DeleteComment.js
  8. 2
      apps/comments/src/services/EditComment.js
  9. 8
      apps/comments/src/services/GetComments.js
  10. 6
      apps/comments/src/services/NewComment.js
  11. 10
      apps/comments/src/views/Comments.vue
  12. 4
      apps/dashboard/src/DashboardApp.vue
  13. 2
      apps/dashboard/src/main.js
  14. 4
      apps/dav/src/dav/client.js
  15. 6
      apps/dav/src/service/CalendarService.js
  16. 2
      apps/dav/src/settings-personal-availability.js
  17. 2
      apps/dav/src/settings.js
  18. 12
      apps/dav/src/views/Availability.vue
  19. 2
      apps/dav/src/views/CalDavSettings.spec.js
  20. 4
      apps/dav/src/views/CalDavSettings.vue
  21. 4
      apps/federatedfilesharing/src/components/AdminSettings.vue
  22. 12
      apps/federatedfilesharing/src/components/PersonalSettings.vue
  23. 2
      apps/federatedfilesharing/src/main-admin.js
  24. 2
      apps/federatedfilesharing/src/main-personal.js
  25. 2
      apps/files/src/components/PersonalSettings.vue
  26. 4
      apps/files/src/components/SidebarTab.vue
  27. 4
      apps/files/src/components/TemplatePreview.vue
  28. 6
      apps/files/src/components/TransferOwnershipDialogue.vue
  29. 2
      apps/files/src/main-personal-settings.js
  30. 2
      apps/files/src/services/Navigation.ts
  31. 4
      apps/files/src/sidebar.js
  32. 4
      apps/files/src/templates.js
  33. 2
      apps/files/src/views/Settings.vue
  34. 12
      apps/files/src/views/Sidebar.vue
  35. 10
      apps/files/src/views/TemplatePicker.vue
  36. 4
      apps/files_sharing/src/additionalScripts.js
  37. 6
      apps/files_sharing/src/collaborationresources.js
  38. 2
      apps/files_sharing/src/components/ExternalShareAction.vue
  39. 2
      apps/files_sharing/src/components/PersonalSettings.vue
  40. 14
      apps/files_sharing/src/components/SharePermissionsEditor.vue
  41. 12
      apps/files_sharing/src/components/SharingEntry.vue
  42. 14
      apps/files_sharing/src/components/SharingEntryInherited.vue
  43. 4
      apps/files_sharing/src/components/SharingEntryInternal.vue
  44. 18
      apps/files_sharing/src/components/SharingEntryLink.vue
  45. 2
      apps/files_sharing/src/components/SharingEntrySimple.vue
  46. 10
      apps/files_sharing/src/components/SharingInput.vue
  47. 4
      apps/files_sharing/src/files_sharing.js
  48. 2
      apps/files_sharing/src/lib/SharePermissionsToolBox.spec.js
  49. 2
      apps/files_sharing/src/mixins/ShareRequests.js
  50. 2
      apps/files_sharing/src/personal-settings.js
  51. 2
      apps/files_sharing/src/utils/GeneratePassword.js
  52. 8
      apps/files_sharing/src/views/SharingInherited.vue
  53. 6
      apps/files_sharing/src/views/SharingLinkList.vue
  54. 6
      apps/files_sharing/src/views/SharingList.vue
  55. 24
      apps/files_sharing/src/views/SharingTab.vue
  56. 4
      apps/files_trashbin/src/files_trashbin.js
  57. 2
      apps/files_versions/src/components/Version.vue
  58. 6
      apps/oauth2/src/App.vue
  59. 4
      apps/oauth2/src/components/OAuthItem.vue
  60. 4
      apps/settings/src/components/AdminDelegating.vue
  61. 2
      apps/settings/src/components/AdminDelegation/GroupSelect.vue
  62. 8
      apps/settings/src/components/AdminTwoFactor.vue
  63. 8
      apps/settings/src/components/AppDetails.vue
  64. 6
      apps/settings/src/components/AppList.vue
  65. 2
      apps/settings/src/components/AuthTokenList.vue
  66. 4
      apps/settings/src/components/AuthTokenSection.vue
  67. 2
      apps/settings/src/components/AuthTokenSetupDialogue.vue
  68. 8
      apps/settings/src/components/BasicSettings/ProfileSettings.vue
  69. 6
      apps/settings/src/components/Encryption.vue
  70. 8
      apps/settings/src/components/GroupListItem.vue
  71. 22
      apps/settings/src/components/PersonalInfo/AvatarSection.vue
  72. 6
      apps/settings/src/components/PersonalInfo/DetailsSection.vue
  73. 2
      apps/settings/src/components/PersonalInfo/EmailSection/Email.vue
  74. 2
      apps/settings/src/components/PersonalInfo/LocaleSection/Locale.vue
  75. 2
      apps/settings/src/components/PersonalInfo/ProfileSection/EditProfileAnchorLink.vue
  76. 2
      apps/settings/src/components/PersonalInfo/ProfileSection/ProfilePreviewCard.vue
  77. 4
      apps/settings/src/components/PersonalInfo/shared/AccountPropertySection.vue
  78. 2
      apps/settings/src/components/PersonalInfo/shared/FederationControl.vue
  79. 2
      apps/settings/src/components/PersonalInfo/shared/FederationControlAction.vue
  80. 4
      apps/settings/src/components/PersonalInfo/shared/HeaderBar.vue
  81. 8
      apps/settings/src/components/UserList.vue
  82. 4
      apps/settings/src/components/UserList/UserRow.vue
  83. 8
      apps/settings/src/components/UserList/UserRowSimple.vue
  84. 4
      apps/settings/src/components/WebAuthn/AddDevice.vue
  85. 4
      apps/settings/src/components/WebAuthn/Device.vue
  86. 10
      apps/settings/src/components/WebAuthn/Section.vue
  87. 6
      apps/settings/src/main-admin-basic-settings.js
  88. 2
      apps/settings/src/main-admin-security.js
  89. 4
      apps/settings/src/main-apps-users-management.js
  90. 2
      apps/settings/src/main-personal-security.js
  91. 2
      apps/settings/src/main-personal-webauth.js
  92. 4
      apps/settings/src/router.js
  93. 2
      apps/settings/src/service/PersonalInfo/EmailService.js
  94. 2
      apps/settings/src/service/PersonalInfo/PersonalInfoService.js
  95. 2
      apps/settings/src/store/apps.js
  96. 8
      apps/settings/src/store/index.js
  97. 2
      apps/settings/src/store/oc.js
  98. 4
      apps/settings/src/store/users.js
  99. 28
      apps/settings/src/views/Apps.vue
  100. 22
      apps/settings/src/views/Users.vue
  101. Some files were not shown because too many files have changed in this diff Show More

@ -20,7 +20,7 @@
*
*/
import CommentsInstance from './services/CommentsInstance'
import CommentsInstance from './services/CommentsInstance.js'
// Init Comments
if (window.OCA && !window.OCA.Comments) {

@ -21,9 +21,9 @@
*
*/
import './app'
import './templates'
import './filesplugin'
import './activitytabviewplugin'
import './app.js'
import './templates.js'
import './filesplugin.js'
import './activitytabviewplugin.js'
window.OCA.Comments = OCA.Comments

@ -104,17 +104,17 @@
import { getCurrentUser } from '@nextcloud/auth'
import moment from '@nextcloud/moment'
import NcActionButton from '@nextcloud/vue/dist/Components/NcActionButton'
import NcActions from '@nextcloud/vue/dist/Components/NcActions'
import NcActionSeparator from '@nextcloud/vue/dist/Components/NcActionSeparator'
import NcAvatar from '@nextcloud/vue/dist/Components/NcAvatar'
import NcButton from '@nextcloud/vue/dist/Components/NcButton'
import NcRichContenteditable from '@nextcloud/vue/dist/Components/NcRichContenteditable'
import RichEditorMixin from '@nextcloud/vue/dist/Mixins/richEditor'
import ArrowRight from 'vue-material-design-icons/ArrowRight'
import Moment from './Moment'
import CommentMixin from '../mixins/CommentMixin'
import NcActionButton from '@nextcloud/vue/dist/Components/NcActionButton.js'
import NcActions from '@nextcloud/vue/dist/Components/NcActions.js'
import NcActionSeparator from '@nextcloud/vue/dist/Components/NcActionSeparator.js'
import NcAvatar from '@nextcloud/vue/dist/Components/NcAvatar.js'
import NcButton from '@nextcloud/vue/dist/Components/NcButton.js'
import NcRichContenteditable from '@nextcloud/vue/dist/Components/NcRichContenteditable.js'
import RichEditorMixin from '@nextcloud/vue/dist/Mixins/richEditor.js'
import ArrowRight from 'vue-material-design-icons/ArrowRight.vue'
import Moment from './Moment.vue'
import CommentMixin from '../mixins/CommentMixin.js'
export default {
name: 'Comment',

@ -20,9 +20,9 @@
*
*/
import NewComment from '../services/NewComment'
import DeleteComment from '../services/DeleteComment'
import EditComment from '../services/EditComment'
import NewComment from '../services/NewComment.js'
import DeleteComment from '../services/DeleteComment.js'
import EditComment from '../services/EditComment.js'
import { showError, showUndo, TOAST_UNDO_TIMEOUT } from '@nextcloud/dialogs'
export default {

@ -22,7 +22,7 @@
import { getLoggerBuilder } from '@nextcloud/logger'
import { translate as t, translatePlural as n } from '@nextcloud/l10n'
import CommentsApp from '../views/Comments'
import CommentsApp from '../views/Comments.vue'
import Vue from 'vue'
const logger = getLoggerBuilder()

@ -23,7 +23,7 @@
import { createClient, getPatcher } from 'webdav'
import axios from '@nextcloud/axios'
import { getRootPath } from '../utils/davUtils'
import { getRootPath } from '../utils/davUtils.js'
// Add this so the server knows it is an request from the browser
axios.defaults.headers['X-Requested-With'] = 'XMLHttpRequest'

@ -20,7 +20,7 @@
*
*/
import client from './DavClient'
import client from './DavClient.js'
/**
* Delete a comment

@ -20,7 +20,7 @@
*
*/
import client from './DavClient'
import client from './DavClient.js'
/**
* Edit an existing comment

@ -20,10 +20,10 @@
*
*/
import { parseXML, prepareFileFromProps } from 'webdav/dist/node/tools/dav'
import { processResponsePayload } from 'webdav/dist/node/response'
import { decodeHtmlEntities } from '../utils/decodeHtmlEntities'
import client from './DavClient'
import { parseXML, prepareFileFromProps } from 'webdav/dist/node/tools/dav.js'
import { processResponsePayload } from 'webdav/dist/node/response.js'
import { decodeHtmlEntities } from '../utils/decodeHtmlEntities.js'
import client from './DavClient.js'
export const DEFAULT_LIMIT = 20
/**

@ -21,10 +21,10 @@
*/
import { getCurrentUser } from '@nextcloud/auth'
import { getRootPath } from '../utils/davUtils'
import { decodeHtmlEntities } from '../utils/decodeHtmlEntities'
import { getRootPath } from '../utils/davUtils.js'
import { decodeHtmlEntities } from '../utils/decodeHtmlEntities.js'
import axios from '@nextcloud/axios'
import client from './DavClient'
import client from './DavClient.js'
/**
* Retrieve the comments list

@ -86,11 +86,11 @@ import axios from '@nextcloud/axios'
import VTooltip from 'v-tooltip'
import Vue from 'vue'
import NcEmptyContent from '@nextcloud/vue/dist/Components/NcEmptyContent'
import NcButton from '@nextcloud/vue/dist/Components/NcButton'
import RefreshIcon from 'vue-material-design-icons/Refresh'
import MessageReplyTextIcon from 'vue-material-design-icons/MessageReplyText'
import AlertCircleOutlineIcon from 'vue-material-design-icons/AlertCircleOutline'
import NcEmptyContent from '@nextcloud/vue/dist/Components/NcEmptyContent.js'
import NcButton from '@nextcloud/vue/dist/Components/NcButton.js'
import RefreshIcon from 'vue-material-design-icons/Refresh.vue'
import MessageReplyTextIcon from 'vue-material-design-icons/MessageReplyText.vue'
import AlertCircleOutlineIcon from 'vue-material-design-icons/AlertCircleOutline.vue'
import Comment from '../components/Comment.vue'
import getComments, { DEFAULT_LIMIT } from '../services/GetComments.js'

@ -96,9 +96,9 @@ import { generateUrl } from '@nextcloud/router'
import { getCurrentUser } from '@nextcloud/auth'
import { loadState } from '@nextcloud/initial-state'
import axios from '@nextcloud/axios'
import NcButton from '@nextcloud/vue/dist/Components/NcButton'
import NcButton from '@nextcloud/vue/dist/Components/NcButton.js'
import Draggable from 'vuedraggable'
import NcModal from '@nextcloud/vue/dist/Components/NcModal'
import NcModal from '@nextcloud/vue/dist/Components/NcModal.js'
import Pencil from 'vue-material-design-icons/Pencil.vue'
import Vue from 'vue'

@ -23,7 +23,7 @@
import Vue from 'vue'
import DashboardApp from './DashboardApp.vue'
import { translate as t } from '@nextcloud/l10n'
import VTooltip from '@nextcloud/vue/dist/Directives/Tooltip'
import VTooltip from '@nextcloud/vue/dist/Directives/Tooltip.js'
import { getRequestToken } from '@nextcloud/auth'
// eslint-disable-next-line camelcase

@ -1,4 +1,4 @@
/*
/**
* @copyright 2021 Christoph Wurst <christoph@winzerhof-wurst.at>
*
* @author 2021 Christoph Wurst <christoph@winzerhof-wurst.at>
@ -21,7 +21,7 @@
import * as webdav from 'webdav'
import axios from '@nextcloud/axios'
import memoize from 'lodash/fp/memoize'
import memoize from 'lodash/fp/memoize.js'
import { generateRemoteUrl } from '@nextcloud/router'
import { getCurrentUser } from '@nextcloud/auth'

@ -18,9 +18,9 @@
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
import { getClient } from '../dav/client'
import logger from './logger'
import { parseXML } from 'webdav/dist/node/tools/dav'
import { getClient } from '../dav/client.js'
import logger from './logger.js'
import { parseXML } from 'webdav/dist/node/tools/dav.js'
import {
slotsToVavailability,

@ -1,6 +1,6 @@
import Vue from 'vue'
import { translate } from '@nextcloud/l10n'
import Availability from './views/Availability'
import Availability from './views/Availability.vue'
Vue.prototype.$t = translate

@ -1,7 +1,7 @@
import Vue from 'vue'
import { loadState } from '@nextcloud/initial-state'
import { translate } from '@nextcloud/l10n'
import CalDavSettings from './views/CalDavSettings'
import CalDavSettings from './views/CalDavSettings.vue'
Vue.prototype.$t = translate

@ -47,15 +47,15 @@ import {
findScheduleInboxAvailability,
getEmptySlots,
saveScheduleInboxAvailability,
} from '../service/CalendarService'
} from '../service/CalendarService.js'
import {
enableUserStatusAutomation,
disableUserStatusAutomation,
} from '../service/PreferenceService'
import NcButton from '@nextcloud/vue/dist/Components/NcButton'
import NcCheckboxRadioSwitch from '@nextcloud/vue/dist/Components/NcCheckboxRadioSwitch'
import NcSettingsSection from '@nextcloud/vue/dist/Components/NcSettingsSection'
import NcTimezonePicker from '@nextcloud/vue/dist/Components/NcTimezonePicker'
} from '../service/PreferenceService.js'
import NcButton from '@nextcloud/vue/dist/Components/NcButton.js'
import NcCheckboxRadioSwitch from '@nextcloud/vue/dist/Components/NcCheckboxRadioSwitch.js'
import NcSettingsSection from '@nextcloud/vue/dist/Components/NcSettingsSection.js'
import NcTimezonePicker from '@nextcloud/vue/dist/Components/NcTimezonePicker.js'
export default {
name: 'Availability',

@ -1,5 +1,5 @@
import { render } from '@testing-library/vue'
import CalDavSettings from './CalDavSettings'
import CalDavSettings from './CalDavSettings.vue'
// eslint-disable-next-line no-unused-vars
import { generateUrl } from '@nextcloud/router'

@ -75,8 +75,8 @@
import axios from '@nextcloud/axios'
import { generateUrl } from '@nextcloud/router'
import { loadState } from '@nextcloud/initial-state'
import NcSettingsSection from '@nextcloud/vue/dist/Components/NcSettingsSection'
import NcCheckboxRadioSwitch from '@nextcloud/vue/dist/Components/NcCheckboxRadioSwitch'
import NcSettingsSection from '@nextcloud/vue/dist/Components/NcSettingsSection.js'
import NcCheckboxRadioSwitch from '@nextcloud/vue/dist/Components/NcCheckboxRadioSwitch.js'
const userSyncCalendarsDocUrl = loadState('dav', 'userSyncCalendarsDocUrl', '#')

@ -65,8 +65,8 @@
</template>
<script>
import NcCheckboxRadioSwitch from '@nextcloud/vue/dist/Components/NcCheckboxRadioSwitch'
import NcSettingsSection from '@nextcloud/vue/dist/Components/NcSettingsSection'
import NcCheckboxRadioSwitch from '@nextcloud/vue/dist/Components/NcCheckboxRadioSwitch.js'
import NcSettingsSection from '@nextcloud/vue/dist/Components/NcSettingsSection.js'
import { loadState } from '@nextcloud/initial-state'
import { showError } from '@nextcloud/dialogs'
import axios from '@nextcloud/axios'

@ -89,12 +89,12 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
<script>
import { showError, showSuccess } from '@nextcloud/dialogs'
import { loadState } from '@nextcloud/initial-state'
import NcSettingsSection from '@nextcloud/vue/dist/Components/NcSettingsSection'
import NcButton from '@nextcloud/vue/dist/Components/NcButton'
import Twitter from 'vue-material-design-icons/Twitter'
import Facebook from 'vue-material-design-icons/Facebook'
import Web from 'vue-material-design-icons/Web'
import Clipboard from 'vue-material-design-icons/Clipboard'
import NcSettingsSection from '@nextcloud/vue/dist/Components/NcSettingsSection.js'
import NcButton from '@nextcloud/vue/dist/Components/NcButton.js'
import Twitter from 'vue-material-design-icons/Twitter.vue'
import Facebook from 'vue-material-design-icons/Facebook.vue'
import Web from 'vue-material-design-icons/Web.vue'
import Clipboard from 'vue-material-design-icons/Clipboard.vue'
export default {
name: 'PersonalSettings',

@ -26,7 +26,7 @@ import { translate as t } from '@nextcloud/l10n'
import '@nextcloud/dialogs/dist/index.css'
import { loadState } from '@nextcloud/initial-state'
import AdminSettings from './components/AdminSettings'
import AdminSettings from './components/AdminSettings.vue'
__webpack_nonce__ = btoa(getRequestToken())

@ -22,7 +22,7 @@ import { getRequestToken } from '@nextcloud/auth'
import { translate as t } from '@nextcloud/l10n'
import '@nextcloud/dialogs/dist/index.css'
import PersonalSettings from './components/PersonalSettings'
import PersonalSettings from './components/PersonalSettings.vue'
__webpack_nonce__ = btoa(getRequestToken())

@ -27,7 +27,7 @@
</template>
<script>
import TransferOwnershipDialogue from './TransferOwnershipDialogue'
import TransferOwnershipDialogue from './TransferOwnershipDialogue.vue'
export default {
name: 'PersonalSettings',

@ -39,8 +39,8 @@
</template>
<script>
import NcAppSidebarTab from '@nextcloud/vue/dist/Components/NcAppSidebarTab'
import NcEmptyContent from '@nextcloud/vue/dist/Components/NcEmptyContent'
import NcAppSidebarTab from '@nextcloud/vue/dist/Components/NcAppSidebarTab.js'
import NcEmptyContent from '@nextcloud/vue/dist/Components/NcEmptyContent.js'
export default {
name: 'SidebarTab',

@ -48,8 +48,8 @@
<script>
import { generateUrl } from '@nextcloud/router'
import { encodeFilePath } from '../utils/fileUtils'
import { getToken, isPublic } from '../utils/davUtils'
import { encodeFilePath } from '../utils/fileUtils.js'
import { getToken, isPublic } from '../utils/davUtils.js'
// preview width generation
const previewWidth = 256

@ -70,11 +70,11 @@ import axios from '@nextcloud/axios'
import debounce from 'debounce'
import { generateOcsUrl } from '@nextcloud/router'
import { getFilePickerBuilder, showSuccess } from '@nextcloud/dialogs'
import NcMultiselect from '@nextcloud/vue/dist/Components/NcMultiselect'
import NcMultiselect from '@nextcloud/vue/dist/Components/NcMultiselect.js'
import Vue from 'vue'
import NcButton from '@nextcloud/vue/dist/Components/NcButton'
import NcButton from '@nextcloud/vue/dist/Components/NcButton.js'
import logger from '../logger'
import logger from '../logger.js'
const picker = getFilePickerBuilder(t('files', 'Choose a file or folder to transfer'))
.setMultiSelect(false)

@ -25,7 +25,7 @@
import Vue from 'vue'
import { getRequestToken } from '@nextcloud/auth'
import PersonalSettings from './components/PersonalSettings'
import PersonalSettings from './components/PersonalSettings.vue'
// eslint-disable-next-line camelcase
__webpack_nonce__ = btoa(getRequestToken())

@ -22,7 +22,7 @@
import type Node from '@nextcloud/files/dist/files/node'
import isSvg from 'is-svg'
import logger from '../logger'
import logger from '../logger.js'
export interface Column {
/** Unique column ID */

@ -24,8 +24,8 @@ import Vue from 'vue'
import { translate as t } from '@nextcloud/l10n'
import SidebarView from './views/Sidebar.vue'
import Sidebar from './services/Sidebar'
import Tab from './models/Tab'
import Sidebar from './services/Sidebar.js'
import Tab from './models/Tab.js'
Vue.prototype.t = t

@ -25,11 +25,11 @@ import { getLoggerBuilder } from '@nextcloud/logger'
import { loadState } from '@nextcloud/initial-state'
import { translate as t, translatePlural as n } from '@nextcloud/l10n'
import { generateOcsUrl } from '@nextcloud/router'
import { getCurrentDirectory } from './utils/davUtils'
import { getCurrentDirectory } from './utils/davUtils.js'
import axios from '@nextcloud/axios'
import Vue from 'vue'
import TemplatePickerView from './views/TemplatePicker'
import TemplatePickerView from './views/TemplatePicker.vue'
import { showError } from '@nextcloud/dialogs'
// Set up logger

@ -83,7 +83,7 @@ import NcAppSettingsDialog from '@nextcloud/vue/dist/Components/NcAppSettingsDia
import NcAppSettingsSection from '@nextcloud/vue/dist/Components/NcAppSettingsSection.js'
import NcCheckboxRadioSwitch from '@nextcloud/vue/dist/Components/NcCheckboxRadioSwitch.js'
import Clipboard from 'vue-material-design-icons/Clipboard.vue'
import NcInputField from '@nextcloud/vue/dist/Components/NcInputField'
import NcInputField from '@nextcloud/vue/dist/Components/NcInputField.js'
import Setting from '../components/Setting.vue'
import { emit } from '@nextcloud/event-bus'

@ -89,13 +89,13 @@ import { emit } from '@nextcloud/event-bus'
import moment from '@nextcloud/moment'
import { Type as ShareTypes } from '@nextcloud/sharing'
import NcAppSidebar from '@nextcloud/vue/dist/Components/NcAppSidebar'
import NcActionButton from '@nextcloud/vue/dist/Components/NcActionButton'
import NcEmptyContent from '@nextcloud/vue/dist/Components/NcEmptyContent'
import NcAppSidebar from '@nextcloud/vue/dist/Components/NcAppSidebar.js'
import NcActionButton from '@nextcloud/vue/dist/Components/NcActionButton.js'
import NcEmptyContent from '@nextcloud/vue/dist/Components/NcEmptyContent.js'
import FileInfo from '../services/FileInfo'
import SidebarTab from '../components/SidebarTab'
import LegacyView from '../components/LegacyView'
import FileInfo from '../services/FileInfo.js'
import SidebarTab from '../components/SidebarTab.vue'
import LegacyView from '../components/LegacyView.vue'
export default {
name: 'Sidebar',

@ -66,12 +66,12 @@
<script>
import { normalize } from 'path'
import { showError } from '@nextcloud/dialogs'
import NcEmptyContent from '@nextcloud/vue/dist/Components/NcEmptyContent'
import NcModal from '@nextcloud/vue/dist/Components/NcModal'
import NcEmptyContent from '@nextcloud/vue/dist/Components/NcEmptyContent.js'
import NcModal from '@nextcloud/vue/dist/Components/NcModal.js'
import { getCurrentDirectory } from '../utils/davUtils'
import { createFromTemplate, getTemplates } from '../services/Templates'
import TemplatePreview from '../components/TemplatePreview'
import { getCurrentDirectory } from '../utils/davUtils.js'
import { createFromTemplate, getTemplates } from '../services/Templates.js'
import TemplatePreview from '../components/TemplatePreview.vue'
const border = 2
const margin = 8

@ -22,8 +22,8 @@
*
*/
import './share'
import './sharebreadcrumbview'
import './share.js'
import './sharebreadcrumbview.js'
import './style/sharebreadcrumb.scss'
import './collaborationresourceshandler.js'

@ -23,11 +23,11 @@
import Vue from 'vue'
import Vuex from 'vuex'
import NcPopoverMenu from '@nextcloud/vue/dist/Components/NcPopoverMenu'
import Tooltip from '@nextcloud/vue/dist/Directives/Tooltip'
import NcPopoverMenu from '@nextcloud/vue/dist/Components/NcPopoverMenu.js'
import Tooltip from '@nextcloud/vue/dist/Directives/Tooltip.js'
import ClickOutside from 'vue-click-outside'
import View from './views/CollaborationView'
import View from './views/CollaborationView.vue'
Vue.prototype.t = t
Tooltip.options.defaultHtml = false

@ -29,7 +29,7 @@
</template>
<script>
import Share from '../models/Share'
import Share from '../models/Share.js'
export default {
name: 'ExternalShareAction',

@ -43,7 +43,7 @@ import { loadState } from '@nextcloud/initial-state'
import { showError } from '@nextcloud/dialogs'
import axios from '@nextcloud/axios'
import SelectShareFolderDialogue from './SelectShareFolderDialogue'
import SelectShareFolderDialogue from './SelectShareFolderDialogue.vue'
export default {
name: 'PersonalSettings',

@ -104,11 +104,11 @@
</template>
<script>
import NcActionButton from '@nextcloud/vue/dist/Components/NcActionButton'
import NcActionRadio from '@nextcloud/vue/dist/Components/NcActionRadio'
import NcActionCheckbox from '@nextcloud/vue/dist/Components/NcActionCheckbox'
import NcActionButton from '@nextcloud/vue/dist/Components/NcActionButton.js'
import NcActionRadio from '@nextcloud/vue/dist/Components/NcActionRadio.js'
import NcActionCheckbox from '@nextcloud/vue/dist/Components/NcActionCheckbox.js'
import SharesMixin from '../mixins/SharesMixin'
import SharesMixin from '../mixins/SharesMixin.js'
import {
ATOMIC_PERMISSIONS,
BUNDLED_PERMISSIONS,
@ -116,10 +116,10 @@ import {
permissionsSetIsValid,
togglePermissions,
canTogglePermissions,
} from '../lib/SharePermissionsToolBox'
} from '../lib/SharePermissionsToolBox.js'
import Tune from 'vue-material-design-icons/Tune'
import ChevronLeft from 'vue-material-design-icons/ChevronLeft'
import Tune from 'vue-material-design-icons/Tune.vue'
import ChevronLeft from 'vue-material-design-icons/ChevronLeft.vue'
export default {
name: 'SharePermissionsEditor',

@ -137,12 +137,12 @@
</template>
<script>
import NcAvatar from '@nextcloud/vue/dist/Components/NcAvatar'
import NcActions from '@nextcloud/vue/dist/Components/NcActions'
import NcActionButton from '@nextcloud/vue/dist/Components/NcActionButton'
import NcActionCheckbox from '@nextcloud/vue/dist/Components/NcActionCheckbox'
import NcActionInput from '@nextcloud/vue/dist/Components/NcActionInput'
import NcActionTextEditable from '@nextcloud/vue/dist/Components/NcActionTextEditable'
import NcAvatar from '@nextcloud/vue/dist/Components/NcAvatar.js'
import NcActions from '@nextcloud/vue/dist/Components/NcActions.js'
import NcActionButton from '@nextcloud/vue/dist/Components/NcActionButton.js'
import NcActionCheckbox from '@nextcloud/vue/dist/Components/NcActionCheckbox.js'
import NcActionInput from '@nextcloud/vue/dist/Components/NcActionInput.js'
import NcActionTextEditable from '@nextcloud/vue/dist/Components/NcActionTextEditable.js'
import SharesMixin from '../mixins/SharesMixin.js'

@ -48,15 +48,15 @@
<script>
import { generateUrl } from '@nextcloud/router'
import { basename } from '@nextcloud/paths'
import NcAvatar from '@nextcloud/vue/dist/Components/NcAvatar'
import NcActionButton from '@nextcloud/vue/dist/Components/NcActionButton'
import NcActionLink from '@nextcloud/vue/dist/Components/NcActionLink'
import NcActionText from '@nextcloud/vue/dist/Components/NcActionText'
import NcAvatar from '@nextcloud/vue/dist/Components/NcAvatar.js'
import NcActionButton from '@nextcloud/vue/dist/Components/NcActionButton.js'
import NcActionLink from '@nextcloud/vue/dist/Components/NcActionLink.js'
import NcActionText from '@nextcloud/vue/dist/Components/NcActionText.js'
// eslint-disable-next-line no-unused-vars
import Share from '../models/Share'
import SharesMixin from '../mixins/SharesMixin'
import SharingEntrySimple from '../components/SharingEntrySimple'
import Share from '../models/Share.js'
import SharesMixin from '../mixins/SharesMixin.js'
import SharingEntrySimple from '../components/SharingEntrySimple.vue'
export default {
name: 'SharingEntryInherited',

@ -22,8 +22,8 @@
<script>
import { generateUrl } from '@nextcloud/router'
import { showSuccess } from '@nextcloud/dialogs'
import NcActionLink from '@nextcloud/vue/dist/Components/NcActionLink'
import SharingEntrySimple from './SharingEntrySimple'
import NcActionLink from '@nextcloud/vue/dist/Components/NcActionLink.js'
import SharingEntrySimple from './SharingEntrySimple.vue'
export default {
name: 'SharingEntryInternal',

@ -281,15 +281,15 @@ import { showError, showSuccess } from '@nextcloud/dialogs'
import { Type as ShareTypes } from '@nextcloud/sharing'
import Vue from 'vue'
import NcActionButton from '@nextcloud/vue/dist/Components/NcActionButton'
import NcActionCheckbox from '@nextcloud/vue/dist/Components/NcActionCheckbox'
import NcActionInput from '@nextcloud/vue/dist/Components/NcActionInput'
import NcActionLink from '@nextcloud/vue/dist/Components/NcActionLink'
import NcActionText from '@nextcloud/vue/dist/Components/NcActionText'
import NcActionSeparator from '@nextcloud/vue/dist/Components/NcActionSeparator'
import NcActionTextEditable from '@nextcloud/vue/dist/Components/NcActionTextEditable'
import NcActions from '@nextcloud/vue/dist/Components/NcActions'
import NcAvatar from '@nextcloud/vue/dist/Components/NcAvatar'
import NcActionButton from '@nextcloud/vue/dist/Components/NcActionButton.js'
import NcActionCheckbox from '@nextcloud/vue/dist/Components/NcActionCheckbox.js'
import NcActionInput from '@nextcloud/vue/dist/Components/NcActionInput.js'
import NcActionLink from '@nextcloud/vue/dist/Components/NcActionLink.js'
import NcActionText from '@nextcloud/vue/dist/Components/NcActionText.js'
import NcActionSeparator from '@nextcloud/vue/dist/Components/NcActionSeparator.js'
import NcActionTextEditable from '@nextcloud/vue/dist/Components/NcActionTextEditable.js'
import NcActions from '@nextcloud/vue/dist/Components/NcActions.js'
import NcAvatar from '@nextcloud/vue/dist/Components/NcAvatar.js'
import ExternalShareAction from './ExternalShareAction.vue'
import SharePermissionsEditor from './SharePermissionsEditor.vue'

@ -40,7 +40,7 @@
</template>
<script>
import NcActions from '@nextcloud/vue/dist/Components/NcActions'
import NcActions from '@nextcloud/vue/dist/Components/NcActions.js'
export default {
name: 'SharingEntrySimple',

@ -52,11 +52,11 @@ import axios from '@nextcloud/axios'
import debounce from 'debounce'
import NcSelect from '@nextcloud/vue/dist/Components/NcSelect.js'
import Config from '../services/ConfigService'
import GeneratePassword from '../utils/GeneratePassword'
import Share from '../models/Share'
import ShareRequests from '../mixins/ShareRequests'
import ShareTypes from '../mixins/ShareTypes'
import Config from '../services/ConfigService.js'
import GeneratePassword from '../utils/GeneratePassword.js'
import Share from '../models/Share.js'
import ShareRequests from '../mixins/ShareRequests.js'
import ShareTypes from '../mixins/ShareTypes.js'
export default {
name: 'SharingInput',

@ -21,5 +21,5 @@
*
*/
import '../js/app'
import '../js/sharedfilelist'
import '../js/app.js'
import '../js/sharedfilelist.js'

@ -29,7 +29,7 @@ import {
permissionsSetIsValid,
togglePermissions,
canTogglePermissions,
} from '../lib/SharePermissionsToolBox'
} from '../lib/SharePermissionsToolBox.js'
describe('SharePermissionsToolBox', () => {
test('Adding permissions', () => {

@ -28,7 +28,7 @@ import 'url-search-params-polyfill'
import { generateOcsUrl } from '@nextcloud/router'
import axios from '@nextcloud/axios'
import Share from '../models/Share'
import Share from '../models/Share.js'
const shareUrl = generateOcsUrl('apps/files_sharing/api/v1/shares')

@ -24,7 +24,7 @@
import Vue from 'vue'
import { getRequestToken } from '@nextcloud/auth'
import PersonalSettings from './components/PersonalSettings'
import PersonalSettings from './components/PersonalSettings.vue'
// eslint-disable-next-line camelcase
__webpack_nonce__ = btoa(getRequestToken())

@ -21,7 +21,7 @@
*/
import axios from '@nextcloud/axios'
import Config from '../services/ConfigService'
import Config from '../services/ConfigService.js'
import { showError, showSuccess } from '@nextcloud/dialogs'
const config = new Config()

@ -47,12 +47,12 @@
<script>
import { generateOcsUrl } from '@nextcloud/router'
import NcActionButton from '@nextcloud/vue/dist/Components/NcActionButton'
import NcActionButton from '@nextcloud/vue/dist/Components/NcActionButton.js'
import axios from '@nextcloud/axios'
import Share from '../models/Share'
import SharingEntryInherited from '../components/SharingEntryInherited'
import SharingEntrySimple from '../components/SharingEntrySimple'
import Share from '../models/Share.js'
import SharingEntryInherited from '../components/SharingEntryInherited.vue'
import SharingEntrySimple from '../components/SharingEntrySimple.vue'
export default {
name: 'SharingInherited',

@ -46,9 +46,9 @@
<script>
// eslint-disable-next-line no-unused-vars
import Share from '../models/Share'
import ShareTypes from '../mixins/ShareTypes'
import SharingEntryLink from '../components/SharingEntryLink'
import Share from '../models/Share.js'
import ShareTypes from '../mixins/ShareTypes.js'
import SharingEntryLink from '../components/SharingEntryLink.vue'
export default {
name: 'SharingLinkList',

@ -33,9 +33,9 @@
<script>
// eslint-disable-next-line no-unused-vars
import Share from '../models/Share'
import SharingEntry from '../components/SharingEntry'
import ShareTypes from '../mixins/ShareTypes'
import Share from '../models/Share.js'
import SharingEntry from '../components/SharingEntry.vue'
import ShareTypes from '../mixins/ShareTypes.js'
export default {
name: 'SharingList',

@ -87,21 +87,21 @@
<script>
import { CollectionList } from 'nextcloud-vue-collections'
import { generateOcsUrl } from '@nextcloud/router'
import NcAvatar from '@nextcloud/vue/dist/Components/NcAvatar'
import NcAvatar from '@nextcloud/vue/dist/Components/NcAvatar.js'
import axios from '@nextcloud/axios'
import { loadState } from '@nextcloud/initial-state'
import Config from '../services/ConfigService'
import { shareWithTitle } from '../utils/SharedWithMe'
import Share from '../models/Share'
import ShareTypes from '../mixins/ShareTypes'
import SharingEntryInternal from '../components/SharingEntryInternal'
import SharingEntrySimple from '../components/SharingEntrySimple'
import SharingInput from '../components/SharingInput'
import SharingInherited from './SharingInherited'
import SharingLinkList from './SharingLinkList'
import SharingList from './SharingList'
import Config from '../services/ConfigService.js'
import { shareWithTitle } from '../utils/SharedWithMe.js'
import Share from '../models/Share.js'
import ShareTypes from '../mixins/ShareTypes.js'
import SharingEntryInternal from '../components/SharingEntryInternal.vue'
import SharingEntrySimple from '../components/SharingEntrySimple.vue'
import SharingInput from '../components/SharingInput.vue'
import SharingInherited from './SharingInherited.vue'
import SharingLinkList from './SharingLinkList.vue'
import SharingList from './SharingList.vue'
export default {
name: 'SharingTab',

@ -20,8 +20,8 @@
*
*/
import './app'
import './filelist'
import './app.js'
import './filelist.js'
import './trash.scss'
window.OCA.Trashbin = OCA.Trashbin

@ -111,7 +111,7 @@ import BackupRestore from 'vue-material-design-icons/BackupRestore.vue'
import Download from 'vue-material-design-icons/Download.vue'
import Pencil from 'vue-material-design-icons/Pencil.vue'
import Check from 'vue-material-design-icons/Check.vue'
import Delete from 'vue-material-design-icons/Delete'
import Delete from 'vue-material-design-icons/Delete.vue'
import { NcActionButton, NcActionLink, NcListItem, NcModal, NcButton, NcTextField, Tooltip } from '@nextcloud/vue'
import moment from '@nextcloud/moment'
import { translate } from '@nextcloud/l10n'

@ -63,11 +63,11 @@
<script>
import axios from '@nextcloud/axios'
import OAuthItem from './components/OAuthItem'
import OAuthItem from './components/OAuthItem.vue'
import { generateUrl } from '@nextcloud/router'
import { getCapabilities } from '@nextcloud/capabilities'
import NcSettingsSection from '@nextcloud/vue/dist/Components/NcSettingsSection'
import NcButton from '@nextcloud/vue/dist/Components/NcButton'
import NcSettingsSection from '@nextcloud/vue/dist/Components/NcSettingsSection.js'
import NcButton from '@nextcloud/vue/dist/Components/NcButton.js'
import { loadState } from '@nextcloud/initial-state'
export default {

@ -56,8 +56,8 @@
<script>
import Delete from 'vue-material-design-icons/Delete'
import NcButton from '@nextcloud/vue/dist/Components/NcButton'
import Delete from 'vue-material-design-icons/Delete.vue'
import NcButton from '@nextcloud/vue/dist/Components/NcButton.js'
export default {
name: 'OAuthItem',

@ -12,8 +12,8 @@
</template>
<script>
import GroupSelect from './AdminDelegation/GroupSelect'
import NcSettingsSection from '@nextcloud/vue/dist/Components/NcSettingsSection'
import GroupSelect from './AdminDelegation/GroupSelect.vue'
import NcSettingsSection from '@nextcloud/vue/dist/Components/NcSettingsSection.js'
import { loadState } from '@nextcloud/initial-state'
export default {

@ -14,7 +14,7 @@ import NcSelect from '@nextcloud/vue/dist/Components/NcSelect.js'
import { generateUrl } from '@nextcloud/router'
import axios from '@nextcloud/axios'
import { showError } from '@nextcloud/dialogs'
import logger from '../../logger'
import logger from '../../logger.js'
export default {
name: 'GroupSelect',

@ -65,10 +65,10 @@
<script>
import axios from '@nextcloud/axios'
import NcMultiselect from '@nextcloud/vue/dist/Components/NcMultiselect'
import NcButton from '@nextcloud/vue/dist/Components/NcButton'
import NcCheckboxRadioSwitch from '@nextcloud/vue/dist/Components/NcCheckboxRadioSwitch'
import NcSettingsSection from '@nextcloud/vue/dist/Components/NcSettingsSection'
import NcMultiselect from '@nextcloud/vue/dist/Components/NcMultiselect.js'
import NcButton from '@nextcloud/vue/dist/Components/NcButton.js'
import NcCheckboxRadioSwitch from '@nextcloud/vue/dist/Components/NcCheckboxRadioSwitch.js'
import NcSettingsSection from '@nextcloud/vue/dist/Components/NcSettingsSection.js'
import { loadState } from '@nextcloud/initial-state'
import _ from 'lodash'

@ -146,11 +146,11 @@
</template>
<script>
import NcMultiselect from '@nextcloud/vue/dist/Components/NcMultiselect'
import NcMultiselect from '@nextcloud/vue/dist/Components/NcMultiselect.js'
import AppManagement from '../mixins/AppManagement'
import PrefixMixin from './PrefixMixin'
import Markdown from './Markdown'
import AppManagement from '../mixins/AppManagement.js'
import PrefixMixin from './PrefixMixin.vue'
import Markdown from './Markdown.vue'
export default {
name: 'AppDetails',

@ -104,10 +104,10 @@
</template>
<script>
import AppItem from './AppList/AppItem'
import PrefixMixin from './PrefixMixin'
import AppItem from './AppList/AppItem.vue'
import PrefixMixin from './PrefixMixin.vue'
import pLimit from 'p-limit'
import NcButton from '@nextcloud/vue/dist/Components/NcButton'
import NcButton from '@nextcloud/vue/dist/Components/NcButton.js'
export default {
name: 'AppList',

@ -42,7 +42,7 @@
</template>
<script>
import AuthToken from './AuthToken'
import AuthToken from './AuthToken.vue'
export default {
name: 'AuthTokenList',

@ -40,8 +40,8 @@ import { confirmPassword } from '@nextcloud/password-confirmation'
import '@nextcloud/password-confirmation/dist/style.css'
import { generateUrl } from '@nextcloud/router'
import AuthTokenList from './AuthTokenList'
import AuthTokenSetupDialogue from './AuthTokenSetupDialogue'
import AuthTokenList from './AuthTokenList.vue'
import AuthTokenSetupDialogue from './AuthTokenSetupDialogue.vue'
const confirm = () => {
return new Promise(resolve => {

@ -86,7 +86,7 @@ import { confirmPassword } from '@nextcloud/password-confirmation'
import '@nextcloud/password-confirmation/dist/style.css'
import { showError } from '@nextcloud/dialogs'
import { getRootUrl } from '@nextcloud/router'
import NcButton from '@nextcloud/vue/dist/Components/NcButton'
import NcButton from '@nextcloud/vue/dist/Components/NcButton.js'
import Check from 'vue-material-design-icons/Check.vue'
import ContentCopy from 'vue-material-design-icons/ContentCopy.vue'

@ -43,11 +43,11 @@
import { loadState } from '@nextcloud/initial-state'
import { showError } from '@nextcloud/dialogs'
import { saveProfileDefault } from '../../service/ProfileService'
import { validateBoolean } from '../../utils/validate'
import logger from '../../logger'
import { saveProfileDefault } from '../../service/ProfileService.js'
import { validateBoolean } from '../../utils/validate.js'
import logger from '../../logger.js'
import NcCheckboxRadioSwitch from '@nextcloud/vue/dist/Components/NcCheckboxRadioSwitch'
import NcCheckboxRadioSwitch from '@nextcloud/vue/dist/Components/NcCheckboxRadioSwitch.js'
const profileEnabledByDefault = loadState('settings', 'profileEnabledByDefault', true)

@ -77,9 +77,9 @@
<script>
import axios from '@nextcloud/axios'
import NcCheckboxRadioSwitch from '@nextcloud/vue/dist/Components/NcCheckboxRadioSwitch'
import NcButton from '@nextcloud/vue/dist/Components/NcButton'
import NcSettingsSection from '@nextcloud/vue/dist/Components/NcSettingsSection'
import NcCheckboxRadioSwitch from '@nextcloud/vue/dist/Components/NcCheckboxRadioSwitch.js'
import NcButton from '@nextcloud/vue/dist/Components/NcButton.js'
import NcSettingsSection from '@nextcloud/vue/dist/Components/NcSettingsSection.js'
import { loadState } from '@nextcloud/initial-state'
import { getLoggerBuilder } from '@nextcloud/logger'

@ -53,10 +53,10 @@
</template>
<script>
import NcActionInput from '@nextcloud/vue/dist/Components/NcActionInput'
import NcActionButton from '@nextcloud/vue/dist/Components/NcActionButton'
import NcCounterBubble from '@nextcloud/vue/dist/Components/NcCounterBubble'
import NcAppNavigationItem from '@nextcloud/vue/dist/Components/NcAppNavigationItem'
import NcActionInput from '@nextcloud/vue/dist/Components/NcActionInput.js'
import NcActionButton from '@nextcloud/vue/dist/Components/NcActionButton.js'
import NcCounterBubble from '@nextcloud/vue/dist/Components/NcCounterBubble.js'
import NcAppNavigationItem from '@nextcloud/vue/dist/Components/NcAppNavigationItem.js'
export default {
name: 'GroupListItem',

@ -99,15 +99,15 @@ import { getCurrentUser } from '@nextcloud/auth'
import { getFilePickerBuilder, showError } from '@nextcloud/dialogs'
import { emit, subscribe, unsubscribe } from '@nextcloud/event-bus'
import NcAvatar from '@nextcloud/vue/dist/Components/NcAvatar'
import NcButton from '@nextcloud/vue/dist/Components/NcButton'
import NcAvatar from '@nextcloud/vue/dist/Components/NcAvatar.js'
import NcButton from '@nextcloud/vue/dist/Components/NcButton.js'
import VueCropper from 'vue-cropperjs'
// eslint-disable-next-line node/no-extraneous-import
import 'cropperjs/dist/cropper.css'
import Upload from 'vue-material-design-icons/Upload'
import Folder from 'vue-material-design-icons/Folder'
import Delete from 'vue-material-design-icons/Delete'
import Upload from 'vue-material-design-icons/Upload.vue'
import Folder from 'vue-material-design-icons/Folder.vue'
import Delete from 'vue-material-design-icons/Delete.vue'
import HeaderBar from './shared/HeaderBar.vue'
import { NAME_READABLE_ENUM } from '../../constants/AccountPropertyConstants.js'
@ -162,6 +162,12 @@ export default {
}
},
computed: {
inputId() {
return `account-property-${this.avatar.name}`
},
},
created() {
subscribe('settings:display-name:updated', this.handleDisplayNameUpdate)
},
@ -170,12 +176,6 @@ export default {
unsubscribe('settings:display-name:updated', this.handleDisplayNameUpdate)
},
computed: {
inputId() {
return `account-property-${this.avatar.name}`
},
},
methods: {
activateLocalFilePicker() {
// Set to null so that selecting the same file will trigger the change event

@ -47,10 +47,10 @@
<script>
import { loadState } from '@nextcloud/initial-state'
import NcProgressBar from '@nextcloud/vue/dist/Components/NcProgressBar'
import NcProgressBar from '@nextcloud/vue/dist/Components/NcProgressBar.js'
import Account from 'vue-material-design-icons/Account'
import CircleSlice from 'vue-material-design-icons/CircleSlice3'
import Account from 'vue-material-design-icons/Account.vue'
import CircleSlice from 'vue-material-design-icons/CircleSlice3.vue'
import HeaderBar from './shared/HeaderBar.vue'

@ -89,7 +89,7 @@
import { NcActions, NcActionButton } from '@nextcloud/vue'
import AlertCircle from 'vue-material-design-icons/AlertCircleOutline.vue'
import AlertOctagon from 'vue-material-design-icons/AlertOctagon.vue'
import Check from 'vue-material-design-icons/Check'
import Check from 'vue-material-design-icons/Check.vue'
import { showError } from '@nextcloud/dialogs'
import debounce from 'debounce'

@ -60,7 +60,7 @@
<script>
import { showError } from '@nextcloud/dialogs'
import moment from '@nextcloud/moment'
import Web from 'vue-material-design-icons/Web'
import Web from 'vue-material-design-icons/Web.vue'
import { ACCOUNT_SETTING_PROPERTY_ENUM } from '../../../constants/AccountPropertyConstants.js'
import { savePrimaryAccountProperty } from '../../../service/PersonalInfo/PersonalInfoService.js'

@ -31,7 +31,7 @@
</template>
<script>
import ChevronDownIcon from 'vue-material-design-icons/ChevronDown'
import ChevronDownIcon from 'vue-material-design-icons/ChevronDown.vue'
export default {
name: 'EditProfileAnchorLink',

@ -44,7 +44,7 @@
import { getCurrentUser } from '@nextcloud/auth'
import { generateUrl } from '@nextcloud/router'
import NcAvatar from '@nextcloud/vue/dist/Components/NcAvatar'
import NcAvatar from '@nextcloud/vue/dist/Components/NcAvatar.js'
export default {
name: 'ProfilePreviewCard',

@ -74,8 +74,8 @@ import debounce from 'debounce'
import { showError } from '@nextcloud/dialogs'
import AlertCircle from 'vue-material-design-icons/AlertCircleOutline.vue'
import AlertOctagon from 'vue-material-design-icons/AlertOctagon'
import Check from 'vue-material-design-icons/Check'
import AlertOctagon from 'vue-material-design-icons/AlertOctagon.vue'
import Check from 'vue-material-design-icons/Check.vue'
import HeaderBar from '../shared/HeaderBar.vue'

@ -40,7 +40,7 @@
</template>
<script>
import NcActions from '@nextcloud/vue/dist/Components/NcActions'
import NcActions from '@nextcloud/vue/dist/Components/NcActions.js'
import { loadState } from '@nextcloud/initial-state'
import { showError } from '@nextcloud/dialogs'

@ -34,7 +34,7 @@
</template>
<script>
import NcActionButton from '@nextcloud/vue/dist/Components/NcActionButton'
import NcActionButton from '@nextcloud/vue/dist/Components/NcActionButton.js'
export default {
name: 'FederationControlAction',

@ -49,8 +49,8 @@
</template>
<script>
import NcButton from '@nextcloud/vue/dist/Components/NcButton'
import Plus from 'vue-material-design-icons/Plus'
import NcButton from '@nextcloud/vue/dist/Components/NcButton.js'
import Plus from 'vue-material-design-icons/Plus.vue'
import FederationControl from './FederationControl.vue'

@ -237,11 +237,11 @@
import { subscribe, unsubscribe } from '@nextcloud/event-bus'
import InfiniteLoading from 'vue-infinite-loading'
import Vue from 'vue'
import NcModal from '@nextcloud/vue/dist/Components/NcModal'
import NcButton from '@nextcloud/vue/dist/Components/NcButton'
import NcMultiselect from '@nextcloud/vue/dist/Components/NcMultiselect'
import NcModal from '@nextcloud/vue/dist/Components/NcModal.js'
import NcButton from '@nextcloud/vue/dist/Components/NcButton.js'
import NcMultiselect from '@nextcloud/vue/dist/Components/NcMultiselect.js'
import userRow from './UserList/UserRow'
import userRow from './UserList/UserRow.vue'
const unlimitedQuota = {
id: 'none',

@ -244,8 +244,8 @@ import {
NcActions,
NcActionButton,
} from '@nextcloud/vue'
import UserRowSimple from './UserRowSimple'
import UserRowMixin from '../../mixins/UserRowMixin'
import UserRowSimple from './UserRowSimple.vue'
import UserRowMixin from '../../mixins/UserRowMixin.js'
export default {
name: 'UserRow',

@ -83,12 +83,12 @@
</template>
<script>
import NcPopoverMenu from '@nextcloud/vue/dist/Components/NcPopoverMenu'
import NcActions from '@nextcloud/vue/dist/Components/NcActions'
import NcActionButton from '@nextcloud/vue/dist/Components/NcActionButton'
import NcPopoverMenu from '@nextcloud/vue/dist/Components/NcPopoverMenu.js'
import NcActions from '@nextcloud/vue/dist/Components/NcActions.js'
import NcActionButton from '@nextcloud/vue/dist/Components/NcActionButton.js'
import ClickOutside from 'vue-click-outside'
import { getCurrentUser } from '@nextcloud/auth'
import UserRowMixin from '../../mixins/UserRowMixin'
import UserRowMixin from '../../mixins/UserRowMixin.js'
export default {
name: 'UserRowSimple',
components: {

@ -64,11 +64,11 @@
import { confirmPassword } from '@nextcloud/password-confirmation'
import '@nextcloud/password-confirmation/dist/style.css'
import logger from '../../logger'
import logger from '../../logger.js'
import {
startRegistration,
finishRegistration,
} from '../../service/WebAuthnRegistrationSerice'
} from '../../service/WebAuthnRegistrationSerice.js'
const logAndPass = (text) => (data) => {
logger.debug(text)

@ -32,8 +32,8 @@
</template>
<script>
import NcActions from '@nextcloud/vue/dist/Components/NcActions'
import NcActionButton from '@nextcloud/vue/dist/Components/NcActionButton'
import NcActions from '@nextcloud/vue/dist/Components/NcActions.js'
import NcActionButton from '@nextcloud/vue/dist/Components/NcActionButton.js'
export default {
name: 'Device',

@ -50,12 +50,12 @@
<script>
import { confirmPassword } from '@nextcloud/password-confirmation'
import '@nextcloud/password-confirmation/dist/style.css'
import sortBy from 'lodash/fp/sortBy'
import sortBy from 'lodash/fp/sortBy.js'
import AddDevice from './AddDevice'
import Device from './Device'
import logger from '../../logger'
import { removeRegistration } from '../../service/WebAuthnRegistrationSerice'
import AddDevice from './AddDevice.vue'
import Device from './Device.vue'
import logger from '../../logger.js'
import { removeRegistration } from '../../service/WebAuthnRegistrationSerice.js'
const sortByName = sortBy('name')

@ -26,10 +26,10 @@ import { loadState } from '@nextcloud/initial-state'
import { translate as t } from '@nextcloud/l10n'
import '@nextcloud/dialogs/dist/index.css'
import logger from './logger'
import logger from './logger.js'
import ProfileSettings from './components/BasicSettings/ProfileSettings'
import BackgroundJob from './components/BasicSettings/BackgroundJob'
import ProfileSettings from './components/BasicSettings/ProfileSettings.vue'
import BackgroundJob from './components/BasicSettings/BackgroundJob.vue'
__webpack_nonce__ = btoa(getRequestToken())

@ -27,7 +27,7 @@ import Vue from 'vue'
import AdminTwoFactor from './components/AdminTwoFactor.vue'
import Encryption from './components/Encryption.vue'
import store from './store/admin-security'
import store from './store/admin-security.js'
// eslint-disable-next-line camelcase
__webpack_nonce__ = btoa(OC.requestToken)

@ -27,8 +27,8 @@ import VTooltip from 'v-tooltip'
import { sync } from 'vuex-router-sync'
import App from './App.vue'
import router from './router'
import store from './store'
import router from './router.js'
import store from './store/index.js'
Vue.use(VTooltip, { defaultHtml: false })

@ -25,7 +25,7 @@ import { loadState } from '@nextcloud/initial-state'
import Vue from 'vue'
import VTooltip from 'v-tooltip'
import AuthTokenSection from './components/AuthTokenSection'
import AuthTokenSection from './components/AuthTokenSection.vue'
// eslint-disable-next-line camelcase
__webpack_nonce__ = btoa(OC.requestToken)

@ -23,7 +23,7 @@
import Vue from 'vue'
import { loadState } from '@nextcloud/initial-state'
import WebAuthnSection from './components/WebAuthn/Section'
import WebAuthnSection from './components/WebAuthn/Section.vue'
// eslint-disable-next-line camelcase
__webpack_nonce__ = btoa(OC.requestToken)

@ -30,8 +30,8 @@ import store from './store/index.js'
import { setPageHeading } from '../../../core/src/OCP/accessibility.js'
// Dynamic loading
const Users = () => import(/* webpackChunkName: 'settings-users' */'./views/Users')
const Apps = () => import(/* webpackChunkName: 'settings-apps-view' */'./views/Apps')
const Users = () => import(/* webpackChunkName: 'settings-users' */'./views/Users.vue')
const Apps = () => import(/* webpackChunkName: 'settings-apps-view' */'./views/Apps.vue')
Vue.use(Router)

@ -26,7 +26,7 @@ import { generateOcsUrl } from '@nextcloud/router'
import { confirmPassword } from '@nextcloud/password-confirmation'
import '@nextcloud/password-confirmation/dist/style.css'
import { ACCOUNT_PROPERTY_ENUM, SCOPE_SUFFIX } from '../../constants/AccountPropertyConstants'
import { ACCOUNT_PROPERTY_ENUM, SCOPE_SUFFIX } from '../../constants/AccountPropertyConstants.js'
/**
* Save the primary email of the user

@ -26,7 +26,7 @@ import { generateOcsUrl } from '@nextcloud/router'
import { confirmPassword } from '@nextcloud/password-confirmation'
import '@nextcloud/password-confirmation/dist/style.css'
import { SCOPE_SUFFIX } from '../../constants/AccountPropertyConstants'
import { SCOPE_SUFFIX } from '../../constants/AccountPropertyConstants.js'
/**
* Save the primary account property value for the user

@ -22,7 +22,7 @@
*
*/
import api from './api'
import api from './api.js'
import Vue from 'vue'
import { generateUrl } from '@nextcloud/router'
import { showError, showInfo } from '@nextcloud/dialogs'

@ -23,10 +23,10 @@
import Vue from 'vue'
import Vuex, { Store } from 'vuex'
import users from './users'
import apps from './apps'
import settings from './settings'
import oc from './oc'
import users from './users.js'
import apps from './apps.js'
import settings from './settings.js'
import oc from './oc.js'
import { showError } from '@nextcloud/dialogs'
Vue.use(Vuex)

@ -21,7 +21,7 @@
*
*/
import api from './api'
import api from './api.js'
import { generateOcsUrl } from '@nextcloud/router'
const state = {}

@ -26,10 +26,10 @@
*
*/
import api from './api'
import api from './api.js'
import axios from '@nextcloud/axios'
import { generateOcsUrl } from '@nextcloud/router'
import logger from '../logger'
import logger from '../logger.js'
const orderGroups = function(groups, orderBy) {
/* const SORT_USERCOUNT = 1;

@ -139,20 +139,20 @@ import { subscribe, unsubscribe } from '@nextcloud/event-bus'
import Vue from 'vue'
import VueLocalStorage from 'vue-localstorage'
import NcAppContent from '@nextcloud/vue/dist/Components/NcAppContent'
import NcAppNavigation from '@nextcloud/vue/dist/Components/NcAppNavigation'
import NcAppNavigationCounter from '@nextcloud/vue/dist/Components/NcAppNavigationCounter'
import NcAppNavigationItem from '@nextcloud/vue/dist/Components/NcAppNavigationItem'
import NcAppNavigationSpacer from '@nextcloud/vue/dist/Components/NcAppNavigationSpacer'
import NcAppSidebar from '@nextcloud/vue/dist/Components/NcAppSidebar'
import NcAppSidebarTab from '@nextcloud/vue/dist/Components/NcAppSidebarTab'
import NcContent from '@nextcloud/vue/dist/Components/NcContent'
import AppList from '../components/AppList'
import AppDetails from '../components/AppDetails'
import AppManagement from '../mixins/AppManagement'
import AppScore from '../components/AppList/AppScore'
import Markdown from '../components/Markdown'
import NcAppContent from '@nextcloud/vue/dist/Components/NcAppContent.js'
import NcAppNavigation from '@nextcloud/vue/dist/Components/NcAppNavigation.js'
import NcAppNavigationCounter from '@nextcloud/vue/dist/Components/NcAppNavigationCounter.js'
import NcAppNavigationItem from '@nextcloud/vue/dist/Components/NcAppNavigationItem.js'
import NcAppNavigationSpacer from '@nextcloud/vue/dist/Components/NcAppNavigationSpacer.js'
import NcAppSidebar from '@nextcloud/vue/dist/Components/NcAppSidebar.js'
import NcAppSidebarTab from '@nextcloud/vue/dist/Components/NcAppSidebarTab.js'
import NcContent from '@nextcloud/vue/dist/Components/NcContent.js'
import AppList from '../components/AppList.vue'
import AppDetails from '../components/AppDetails.vue'
import AppManagement from '../mixins/AppManagement.js'
import AppScore from '../components/AppList/AppScore.vue'
import Markdown from '../components/Markdown.vue'
import { APPS_SECTION_ENUM } from './../constants/AppsConstants.js'

@ -142,22 +142,22 @@
</template>
<script>
import NcAppContent from '@nextcloud/vue/dist/Components/NcAppContent'
import NcAppNavigation from '@nextcloud/vue/dist/Components/NcAppNavigation'
import NcAppNavigationCaption from '@nextcloud/vue/dist/Components/NcAppNavigationCaption'
import NcAppNavigationCounter from '@nextcloud/vue/dist/Components/NcAppNavigationCounter'
import NcAppNavigationItem from '@nextcloud/vue/dist/Components/NcAppNavigationItem'
import NcAppNavigationNew from '@nextcloud/vue/dist/Components/NcAppNavigationNew'
import NcAppNavigationSettings from '@nextcloud/vue/dist/Components/NcAppNavigationSettings'
import NcAppContent from '@nextcloud/vue/dist/Components/NcAppContent.js'
import NcAppNavigation from '@nextcloud/vue/dist/Components/NcAppNavigation.js'
import NcAppNavigationCaption from '@nextcloud/vue/dist/Components/NcAppNavigationCaption.js'
import NcAppNavigationCounter from '@nextcloud/vue/dist/Components/NcAppNavigationCounter.js'
import NcAppNavigationItem from '@nextcloud/vue/dist/Components/NcAppNavigationItem.js'
import NcAppNavigationNew from '@nextcloud/vue/dist/Components/NcAppNavigationNew.js'
import NcAppNavigationSettings from '@nextcloud/vue/dist/Components/NcAppNavigationSettings.js'
import axios from '@nextcloud/axios'
import NcContent from '@nextcloud/vue/dist/Components/NcContent'
import NcContent from '@nextcloud/vue/dist/Components/NcContent.js'
import { generateUrl } from '@nextcloud/router'
import NcMultiselect from '@nextcloud/vue/dist/Components/NcMultiselect'
import NcMultiselect from '@nextcloud/vue/dist/Components/NcMultiselect.js'
import Vue from 'vue'
import VueLocalStorage from 'vue-localstorage'
import GroupListItem from '../components/GroupListItem'
import UserList from '../components/UserList'
import GroupListItem from '../components/GroupListItem.vue'
import UserList from '../components/UserList.vue'
Vue.use(VueLocalStorage)

Some files were not shown because too many files have changed in this diff Show More

Loading…
Cancel
Save