You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

175 lines
7.8 KiB

  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-select.mt-3(
  39. v-model='rescanModuleType'
  40. :items='moduleTypes'
  41. label='Modules Type'
  42. outline
  43. background-color='grey lighten-1'
  44. hide-details
  45. dense
  46. )
  47. v-btn.ml-0(color='primary', depressed, dark)
  48. v-icon(left) chevron_right
  49. span Rescan
  50. v-flex(xs12, sm6)
  51. v-card
  52. v-toolbar(:color='$vuetify.dark ? "" : "grey darken-3"', dark, dense, flat)
  53. v-toolbar-title
  54. .subheading Maintenance Mode
  55. v-card-text
  56. .body-1 Maintenance mode restrict access to the site to administrators only, regarless of current permissions.
  57. v-btn.mt-3.ml-0(color='orange darken-2', depressed, dark)
  58. icon-home-alert.mr-2(fillColor='#FFFFFF')
  59. | Turn On Maintenance Mode
  60. v-card.mt-3
  61. v-toolbar(:color='$vuetify.dark ? "" : "grey darken-3"', dark, dense, flat)
  62. v-toolbar-title
  63. .subheading Graph Endpoint
  64. v-card-text
  65. .body-1 The Graph API Endpoint from which remote resources like locales, themes and plugins are fetched.
  66. .caption.red--text Do not change unless you know what you're doing!
  67. v-text-field.my-2(outline, hide-details, background-color='grey lighten-1', label='Graph Endpoint', value='https://graph.requarks.io')
  68. v-btn.ml-0(color='primary', depressed, dark)
  69. v-icon(left) chevron_right
  70. span Save
  71. v-tab-item(key='telemetry', :transition='false', :reverse-transition='false')
  72. v-card
  73. v-form
  74. v-card-text
  75. v-subheader What is telemetry?
  76. .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.
  77. .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.
  78. v-divider.my-3
  79. v-subheader What is collected?
  80. .body-1.pl-3 When telemetry is enabled, only the following data is transmitted:
  81. v-list(dense)
  82. v-list-tile
  83. v-list-tile-avatar: v-icon info_outline
  84. v-list-tile-content: v-list-tile-title.caption Version of Wiki.js installed
  85. v-list-tile
  86. v-list-tile-avatar: v-icon info_outline
  87. v-list-tile-content: v-list-tile-title.caption Basic OS information (version, CPU cores, RAM available)
  88. v-list-tile
  89. v-list-tile-avatar: v-icon info_outline
  90. v-list-tile-content: v-list-tile-title.caption Crash debug data
  91. v-list-tile
  92. v-list-tile-avatar: v-icon info_outline
  93. v-list-tile-content: v-list-tile-title.caption Setup analytics (step reached)
  94. .body-2.pl-3
  95. v-divider.my-3
  96. v-subheader Settings
  97. .pl-3
  98. v-switch.mt-0(
  99. v-model='telemetry',
  100. label='Enable Telemetry',
  101. :value='true',
  102. color='primary',
  103. hint='Allow Wiki.js to transmit telemetry data.',
  104. persistent-hint
  105. )
  106. .subheading.mt-3.grey--text.text--darken-1 Client ID
  107. .body-1 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
  108. v-card-chin
  109. v-btn(color='primary')
  110. v-icon(left) chevron_right
  111. | Save Changes
  112. v-spacer
  113. v-btn(outline, color='grey')
  114. v-icon(left) autorenew
  115. span Reset Client ID
  116. v-tab-item(key='support', :transition='false', :reverse-transition='false')
  117. v-card.pa-3
  118. v-subheader Report a bug
  119. .body-1.pl-3 Bugs can be reported using GitHub issues on the project repository page.
  120. v-btn.ml-3.mt-3(depressed, dark, color='grey darken-2', href='https://github.com/Requarks/wiki/issues', target='_blank')
  121. icon-github-circle.mr-3(fillColor='#FFFFFF')
  122. span Submit an issue
  123. v-divider.my-3
  124. v-subheader Suggest a New Feature / Enhancement
  125. .body-1.pl-3 Have an idea for a new feature or something that could be improved?
  126. v-btn.ml-3.mt-3(depressed, dark, color='indigo', href='https://requests.requarks.io/wiki', target='_blank')
  127. v-icon(left) lightbulb_outline
  128. span Submit an idea
  129. v-divider.my-3
  130. v-subheader Questions / Comments
  131. .body-1.pl-3 Join our gitter channel. We are very active and friendly!
  132. v-btn.ml-3.mt-3(depressed, dark, color='pink', href='https://gitter.im/Requarks/wiki', target='_blank')
  133. v-icon(left) chat
  134. span Launch Gitter
  135. </template>
  136. <script>
  137. import IconGithubCircle from 'mdi/github-circle'
  138. import IconHomeAlert from 'mdi/home-alert'
  139. export default {
  140. components: {
  141. IconGithubCircle,
  142. IconHomeAlert
  143. },
  144. data() {
  145. return {
  146. tab: '0',
  147. moduleTypes: [
  148. { text: 'Authentication', value: 'authentication' },
  149. { text: 'Editor', value: 'editor' },
  150. { text: 'Logging', value: 'logging' },
  151. { text: 'Rendering', value: 'renderer' },
  152. { text: 'Search Engine', value: 'search' },
  153. { text: 'Storage', value: 'storage' }
  154. ],
  155. rescanModuleType: 'authentication',
  156. telemetry: true
  157. }
  158. },
  159. methods: {
  160. resetClientID() {
  161. }
  162. }
  163. }
  164. </script>
  165. <style lang='scss'>
  166. </style>