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.

182 lines
8.7 KiB

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