admin-utilities.vue 6.5 KB

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