admin-utilities.vue 6.3 KB

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