admin-utilities.vue 7.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160
  1. <template lang='pug'>
  2. div
  3. v-card(flat, :color='$vuetify.dark ? "grey darken-4" : "grey lighten-5"').pa-3.pt-4
  4. .headline.primary--text Utilities
  5. .subheading.grey--text Maintenance and troubleshooting tools
  6. v-tabs(:color='$vuetify.dark ? "primary" : "grey lighten-4"', fixed-tabs, :slider-color='$vuetify.dark ? "white" : "primary"', show-arrows)
  7. v-tab(key='tools') Tools
  8. v-tab(key='telemetry') Telemetry
  9. v-tab(key='telemetry') Support
  10. v-tab-item(key='tools', :transition='false', :reverse-transition='false')
  11. v-container(fluid, grid-list-lg, :class='$vuetify.dark ? "" : "grey lighten-5"')
  12. v-layout(row, wrap)
  13. v-flex(xs12, sm6)
  14. v-card
  15. v-toolbar(:color='$vuetify.dark ? "" : "grey darken-3"', dark, dense, flat)
  16. v-toolbar-title
  17. .subheading Authentication
  18. v-subheader Flush User Sessions
  19. v-card-text.pt-0.pl-4
  20. .body-1 This will cause all users to be logged out. You will need to log back in after the operation.
  21. v-btn(depressed).ml-0
  22. v-icon(left, color='grey') build
  23. span Proceed
  24. v-divider.my-0
  25. v-subheader Reset Guest User
  26. v-card-text.pt-0.pl-4
  27. .body-1 This will reset the guest user to its default parameters and permissions.
  28. v-btn(depressed).ml-0
  29. v-icon(left, color='grey') build
  30. span Proceed
  31. v-card.mt-3
  32. v-toolbar(:color='$vuetify.dark ? "" : "grey darken-3"', dark, dense, flat)
  33. v-toolbar-title
  34. .subheading Modules
  35. v-subheader Rescan Modules
  36. v-card-text.pt-0.pl-4
  37. .body-1 Look for new modules on disk. Existing configurations will be merged.
  38. v-btn(depressed).ml-0
  39. v-icon(left, color='grey') youtube_searched_for
  40. span Authentication
  41. v-btn(depressed).ml-0
  42. v-icon(left, color='grey') youtube_searched_for
  43. span Storage
  44. v-flex(xs12, sm6)
  45. v-card
  46. v-toolbar(:color='$vuetify.dark ? "" : "grey darken-3"', dark, dense, flat)
  47. v-toolbar-title
  48. .subheading Maintenance Mode
  49. v-card-text
  50. .body-1 Maintenance mode restrict access to the site to administrators only, regarless of current permissions.
  51. v-btn.mt-3.ml-0(color='orange darken-2', depressed, dark)
  52. icon-home-alert.mr-2(fillColor='#FFFFFF')
  53. | Turn On Maintenance Mode
  54. v-card.mt-3
  55. v-toolbar(:color='$vuetify.dark ? "" : "grey darken-3"', dark, dense, flat)
  56. v-toolbar-title
  57. .subheading Graph Endpoint
  58. v-card-text
  59. .body-1 The Graph API Endpoint from which remote resources like locales, themes and plugins are fetched.
  60. .caption Do not change unless you know what you're doing!
  61. v-text-field.my-2.grey.lighten-3(solo, flat, label='Graph Endpoint', value='https://graph.requarks.io')
  62. v-btn.ml-0(color='primary', depressed, dark)
  63. v-icon(left) chevron_right
  64. span Save
  65. v-tab-item(key='telemetry', :transition='false', :reverse-transition='false')
  66. v-card.pa-3
  67. v-form
  68. v-subheader What is telemetry?
  69. .body-1.pl-3 Telemetry allows the developers of Wiki.js to improve the software by collecting basic anonymized data about its usage and the host info. #[br] This is entirely optional and #[strong absolutely no] private data (such as content or personal data) is collected.
  70. .body-1.pt-3.pl-3 For maximum privacy, a random client ID is generated every time Wiki.js is started. This ID is used to group requests together while keeping complete anonymity.
  71. v-divider
  72. v-subheader What is collected?
  73. .body-1.pl-3 When telemetry is enabled, only the following data is transmitted:
  74. v-list(dense)
  75. v-list-tile
  76. v-list-tile-avatar: v-icon info_outline
  77. v-list-tile-content: v-list-tile-title.caption Version of Wiki.js installed
  78. v-list-tile
  79. v-list-tile-avatar: v-icon info_outline
  80. v-list-tile-content: v-list-tile-title.caption Basic OS information (version, CPU cores, RAM available)
  81. v-list-tile
  82. v-list-tile-avatar: v-icon info_outline
  83. v-list-tile-content: v-list-tile-title.caption Crash debug data
  84. v-list-tile
  85. v-list-tile-avatar: v-icon info_outline
  86. v-list-tile-content: v-list-tile-title.caption Setup analytics (step reached)
  87. .body-2.pl-3
  88. v-divider
  89. v-subheader Settings
  90. .pl-3
  91. v-switch(
  92. v-model='telemetry',
  93. label='Enable Telemetry',
  94. :value='true',
  95. color='primary',
  96. hint='Allow Wiki.js to transmit telemetry data.',
  97. persistent-hint
  98. )
  99. .subheading.mt-3.grey--text.text--darken-1 Client ID
  100. .body-1 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
  101. v-divider
  102. v-card-actions
  103. v-btn(color='primary')
  104. v-icon(left) chevron_right
  105. | Save Changes
  106. v-spacer
  107. v-btn(outline, color='grey')
  108. v-icon(left) autorenew
  109. span Reset Client ID
  110. v-tab-item(key='support', :transition='false', :reverse-transition='false')
  111. v-card.pa-3
  112. v-subheader Report a bug
  113. .body-1.pl-3 Bugs can be reported using GitHub issues on the project repository page.
  114. v-btn.ml-3.mt-3(depressed, dark, color='grey darken-2', href='https://github.com/Requarks/wiki/issues', target='_blank')
  115. icon-github-circle.mr-3(fillColor='#FFFFFF')
  116. span Submit an issue
  117. v-divider
  118. v-subheader Suggest a New Feature / Enhancement
  119. .body-1.pl-3 Have an idea for a new feature or something that could be improved?
  120. v-btn.ml-3.mt-3(depressed, dark, color='indigo', href='https://requests.requarks.io/wiki', target='_blank')
  121. v-icon(left) lightbulb_outline
  122. span Submit an idea
  123. v-divider
  124. v-subheader Questions / Comments
  125. .body-1.pl-3 Join our gitter channel. We are very active and friendly!
  126. v-btn.ml-3.mt-3(depressed, dark, color='pink', href='https://gitter.im/Requarks/wiki', target='_blank')
  127. v-icon(left) chat
  128. span Launch Gitter
  129. </template>
  130. <script>
  131. import IconGithubCircle from 'mdi/github-circle'
  132. import IconHomeAlert from 'mdi/home-alert'
  133. export default {
  134. components: {
  135. IconGithubCircle,
  136. IconHomeAlert
  137. },
  138. data() {
  139. return {
  140. tab: '0',
  141. telemetry: true
  142. }
  143. },
  144. methods: {
  145. resetClientID() {
  146. }
  147. }
  148. }
  149. </script>
  150. <style lang='scss'>
  151. </style>