admin-utilities.vue 5.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134
  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='primary', 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='primary', 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(color='orange darken-2', dark)
  39. icon-home-alert.mr-2(fillColor='#FFFFFF')
  40. | Turn On Maintenance Mode
  41. v-tab-item(key='telemetry', :transition='false', :reverse-transition='false')
  42. v-card.pa-3
  43. v-form
  44. v-subheader What is telemetry?
  45. .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.
  46. .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.
  47. v-divider
  48. v-subheader What is collected?
  49. .body-1.pl-3 When telemetry is enabled, only the following data is transmitted:
  50. v-list(dense)
  51. v-list-tile
  52. v-list-tile-avatar: v-icon info_outline
  53. v-list-tile-content: v-list-tile-title.caption Version of Wiki.js installed
  54. v-list-tile
  55. v-list-tile-avatar: v-icon info_outline
  56. v-list-tile-content: v-list-tile-title.caption Basic OS information (version, CPU cores, RAM available)
  57. v-list-tile
  58. v-list-tile-avatar: v-icon info_outline
  59. v-list-tile-content: v-list-tile-title.caption Crash debug data
  60. v-list-tile
  61. v-list-tile-avatar: v-icon info_outline
  62. v-list-tile-content: v-list-tile-title.caption Setup analytics (step reached)
  63. .body-2.pl-3
  64. v-divider
  65. v-subheader Settings
  66. .pl-3
  67. v-switch(
  68. v-model='telemetry',
  69. label='Enable Telemetry',
  70. :value='true',
  71. color='primary',
  72. hint='Allow Wiki.js to transmit telemetry data.',
  73. persistent-hint
  74. )
  75. .subheading.mt-3.grey--text.text--darken-1 Client ID
  76. .body-1 xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
  77. v-divider
  78. v-card-actions
  79. v-btn(color='primary')
  80. v-icon(left) chevron_right
  81. | Save Changes
  82. v-spacer
  83. v-btn(outline, color='grey')
  84. v-icon(left) autorenew
  85. span Reset Client ID
  86. v-tab-item(key='support', :transition='false', :reverse-transition='false')
  87. v-card.pa-3
  88. v-subheader Report a bug
  89. .body-1.pl-3 Bugs can be reported using GitHub issues on the project repository page.
  90. v-btn.ml-3.mt-3(depressed, dark, color='grey darken-2', href='https://github.com/Requarks/wiki/issues', target='_blank')
  91. icon-github-circle.mr-3(fillColor='#FFFFFF')
  92. span Submit an issue
  93. v-divider
  94. v-subheader Suggest a New Feature / Enhancement
  95. .body-1.pl-3 Have an idea for a new feature or something that could be improved?
  96. v-btn.ml-3.mt-3(depressed, dark, color='indigo', href='https://requests.requarks.io/wiki', target='_blank')
  97. v-icon(left) lightbulb_outline
  98. span Submit an idea
  99. v-divider
  100. v-subheader Questions / Comments
  101. .body-1.pl-3 Join our gitter channel. We are very active and friendly!
  102. v-btn.ml-3.mt-3(depressed, dark, color='pink', href='https://gitter.im/Requarks/wiki', target='_blank')
  103. v-icon(left) chat
  104. span Launch Gitter
  105. </template>
  106. <script>
  107. import IconGithubCircle from 'mdi/github-circle'
  108. export default {
  109. components: {
  110. IconGithubCircle
  111. },
  112. data() {
  113. return {
  114. tab: '0',
  115. telemetry: true
  116. }
  117. },
  118. methods: {
  119. resetClientID() {
  120. }
  121. }
  122. }
  123. </script>
  124. <style lang='scss'>
  125. </style>