fix: remove bugsnag + update deps

pull/2543/head 2.5.159
NGPixel 4 years ago
parent fe890979af
commit 63c8a308ba

@ -49,7 +49,7 @@
rounded
single-line
height='40'
prepend-icon='mdi-file-document-box-search-outline'
prepend-icon='mdi-text-box-search-outline'
append-icon='mdi-arrow-right'
clearable
)

@ -37,20 +37,19 @@
},
"dependencies": {
"@aoberoi/passport-slack": "1.0.5",
"@azure/storage-blob": "12.2.0",
"@bugsnag/js": "7.3.4",
"@azure/storage-blob": "12.2.1",
"@exlinc/keycloak-passport": "1.0.2",
"@root/csr": "0.8.1",
"@root/keypairs": "0.10.1",
"@root/pem": "1.0.4",
"acme": "3.0.3",
"akismet-api": "5.0.0",
"algoliasearch": "4.4.0",
"algoliasearch": "4.5.1",
"apollo-fetch": "0.7.0",
"apollo-server": "2.17.0",
"apollo-server-express": "2.17.0",
"apollo-server": "2.18.1",
"apollo-server-express": "2.18.1",
"auto-load": "3.0.4",
"aws-sdk": "2.751.0",
"aws-sdk": "2.766.0",
"azure-search-client": "3.1.5",
"bcryptjs-then": "1.0.1",
"bluebird": "3.7.2",
@ -62,7 +61,7 @@
"clean-css": "4.2.3",
"command-exists": "1.2.9",
"compression": "1.7.4",
"connect-session-knex": "1.7.3",
"connect-session-knex": "2.0.0",
"cookie-parser": "1.4.5",
"cors": "2.8.5",
"cuint": "0.2.2",
@ -70,7 +69,7 @@
"dependency-graph": "0.9.0",
"diff": "4.0.2",
"diff2html": "3.1.13",
"dompurify": "2.0.15",
"dompurify": "2.1.1",
"dotize": "0.3.0",
"elasticsearch6": "npm:@elastic/elasticsearch@6",
"elasticsearch7": "npm:@elastic/elasticsearch@7",
@ -79,7 +78,7 @@
"express": "4.17.1",
"express-brute": "1.0.1",
"express-session": "1.17.1",
"file-type": "15.0.0",
"file-type": "15.0.1",
"filesize": "6.1.0",
"fs-extra": "9.0.1",
"getos": "3.2.1",
@ -87,24 +86,24 @@
"graphql-list-fields": "2.0.2",
"graphql-rate-limit-directive": "1.2.1",
"graphql-subscriptions": "1.1.0",
"graphql-tools": "6.2.1",
"graphql-tools": "6.2.4",
"he": "1.2.0",
"highlight.js": "10.2.0",
"i18next": "19.7.0",
"highlight.js": "10.2.1",
"i18next": "19.8.1",
"i18next-express-middleware": "2.0.0",
"i18next-node-fs-backend": "2.1.3",
"image-size": "0.9.1",
"js-base64": "3.4.5",
"js-base64": "3.5.2",
"js-binary": "1.2.0",
"js-yaml": "3.14.0",
"jsdom": "16.4.0",
"jsonwebtoken": "8.5.1",
"katex": "0.12.0",
"klaw": "3.0.0",
"knex": "0.21.5",
"knex": "0.21.6",
"lodash": "4.17.20",
"luxon": "1.25.0",
"markdown-it": "11.0.0",
"markdown-it": "11.0.1",
"markdown-it-abbr": "1.0.4",
"markdown-it-attrs": "3.0.3",
"markdown-it-emoji": "1.4.0",
@ -118,19 +117,19 @@
"markdown-it-sub": "1.0.0",
"markdown-it-sup": "1.0.0",
"markdown-it-task-lists": "2.1.1",
"mathjax": "3.1.0",
"mathjax": "3.1.2",
"mime-types": "2.1.27",
"moment": "2.27.0",
"moment": "2.29.0",
"moment-timezone": "0.5.31",
"mongodb": "3.6.2",
"ms": "2.1.2",
"mssql": "6.2.1",
"mssql": "6.2.3",
"multer": "1.4.2",
"mysql2": "2.1.0",
"mysql2": "2.2.5",
"nanoid": "3.1.12",
"node-2fa": "1.1.2",
"node-cache": "5.1.2",
"nodemailer": "6.4.11",
"nodemailer": "6.4.13",
"objection": "2.2.3",
"passport": "0.4.1",
"passport-auth0": "1.3.3",
@ -149,7 +148,7 @@
"passport-oauth2": "1.5.0",
"passport-okta-oauth": "0.0.1",
"passport-openidconnect": "0.0.2",
"passport-saml": "1.3.4",
"passport-saml": "1.3.5",
"passport-twitch-oauth": "1.0.0",
"pem-jwk": "2.0.0",
"pg": "8.3.3",
@ -199,7 +198,7 @@
"@babel/plugin-syntax-import-meta": "^7.10.4",
"@babel/polyfill": "^7.11.5",
"@babel/preset-env": "^7.11.5",
"@mdi/font": "5.5.55",
"@mdi/font": "5.6.55",
"@panter/vue-i18next": "0.15.2",
"@requarks/ckeditor5": "19.0.1-wiki.2",
"@vue/babel-preset-app": "4.5.6",
@ -218,34 +217,34 @@
"babel-eslint": "10.1.0",
"babel-jest": "26.3.0",
"babel-loader": "^8.1.0",
"babel-plugin-graphql-tag": "3.0.0",
"babel-plugin-graphql-tag": "3.1.0",
"babel-plugin-lodash": "3.3.4",
"babel-plugin-prismjs": "2.0.1",
"babel-plugin-transform-imports": "2.0.0",
"cache-loader": "4.1.0",
"canvas-confetti": "1.2.0",
"cash-dom": "8.0.0",
"canvas-confetti": "1.3.0",
"cash-dom": "8.1.0",
"chart.js": "2.9.3",
"clean-webpack-plugin": "3.0.0",
"clipboard": "2.0.6",
"codemirror": "5.57.0",
"copy-webpack-plugin": "6.1.0",
"codemirror": "5.58.1",
"copy-webpack-plugin": "6.2.0",
"core-js": "3.6.5",
"css-loader": "4.3.0",
"cssnano": "4.1.10",
"cypress": "5.1.0",
"d3": "6.1.1",
"cypress": "5.3.0",
"d3": "6.2.0",
"duplicate-package-checker-webpack-plugin": "3.0.0",
"epic-spinners": "1.1.0",
"eslint": "7.8.1",
"eslint": "7.10.0",
"eslint-config-requarks": "1.0.7",
"eslint-config-standard": "14.1.1",
"eslint-plugin-cypress": "2.11.1",
"eslint-plugin-import": "2.22.0",
"eslint-plugin-cypress": "2.11.2",
"eslint-plugin-import": "2.22.1",
"eslint-plugin-node": "11.1.0",
"eslint-plugin-promise": "4.2.1",
"eslint-plugin-standard": "4.0.1",
"eslint-plugin-vue": "6.2.2",
"eslint-plugin-vue": "7.0.0",
"fibers": "5.0.0",
"file-loader": "6.1.0",
"filepond": "4.20.1",
@ -254,17 +253,17 @@
"graphql-persisted-document-loader": "2.0.0",
"graphql-tag": "^2.11.0",
"hammerjs": "2.0.8",
"html-webpack-plugin": "4.4.1",
"html-webpack-plugin": "4.5.0",
"html-webpack-pug-plugin": "2.0.0",
"i18next-chained-backend": "2.0.1",
"i18next-localstorage-backend": "3.1.1",
"i18next-localstorage-backend": "3.1.2",
"i18next-xhr-backend": "3.2.2",
"ignore-loader": "0.1.2",
"jest": "26.4.2",
"js-beautify": "1.13.0",
"js-cookie": "2.2.1",
"mermaid": "8.8.0",
"mini-css-extract-plugin": "0.11.1",
"mermaid": "8.8.1",
"mini-css-extract-plugin": "0.11.3",
"moment-duration-format": "2.3.2",
"moment-timezone-data-webpack-plugin": "1.3.0",
"offline-plugin": "5.0.7",
@ -276,20 +275,20 @@
"postcss-import": "12.0.1",
"postcss-loader": "3.0.0",
"postcss-preset-env": "6.7.0",
"postcss-selector-parser": "6.0.2",
"postcss-selector-parser": "6.0.4",
"prismjs": "1.21.0",
"pug-lint": "2.6.0",
"pug-loader": "2.4.0",
"pug-plain-loader": "1.0.0",
"raw-loader": "4.0.1",
"resolve-url-loader": "3.1.1",
"sass": "1.26.10",
"sass": "1.26.11",
"sass-loader": "10.0.2",
"sass-resources-loader": "2.1.0",
"sass-resources-loader": "2.1.1",
"script-ext-html-webpack-plugin": "2.1.4",
"simple-progress-webpack-plugin": "1.1.2",
"style-loader": "1.2.1",
"terser": "5.3.1",
"style-loader": "1.3.0",
"terser": "5.3.4",
"twemoji-awesome": "1.0.6",
"url-loader": "4.1.0",
"velocity-animate": "1.5.2",
@ -302,19 +301,19 @@
"vue-hot-reload-api": "2.3.4",
"vue-loader": "15.9.3",
"vue-moment": "4.1.0",
"vue-router": "3.4.3",
"vue-router": "3.4.5",
"vue-status-indicator": "1.2.1",
"vue-template-compiler": "2.6.12",
"vue2-animate": "2.1.4",
"vuedraggable": "2.24.1",
"vuescroll": "4.16.1",
"vuetify": "2.3.10",
"vuetify": "2.3.12",
"vuetify-loader": "1.6.0",
"vuex": "3.5.1",
"vuex-pathify": "1.4.1",
"vuex-persistedstate": "3.1.0",
"webpack": "4.44.1",
"webpack-bundle-analyzer": "3.8.0",
"webpack": "4.44.2",
"webpack-bundle-analyzer": "3.9.0",
"webpack-cli": "3.3.12",
"webpack-dev-middleware": "3.7.2",
"webpack-hot-middleware": "2.25.0",

@ -138,11 +138,6 @@ groups:
- 'write:comments'
path: ''
locales: []
telemetry:
BUGSNAG_ID: 'bb4b324d0675bcbba10025617fd2cec8'
BUGSNAG_REMOTE: 'https://notify.bugsnag.com'
GA_ID: 'UA-9094100-7'
GA_REMOTE: 'https://www.google-analytics.com/batch'
reservedPaths:
- login
- logout

@ -1,6 +1,5 @@
const _ = require('lodash')
const { createApolloFetch } = require('apollo-fetch')
const Bugsnag = require('@bugsnag/js')
const { v4: uuid } = require('uuid')
const os = require('os')
const fs = require('fs-extra')
@ -10,21 +9,6 @@ const fs = require('fs-extra')
module.exports = {
enabled: false,
init() {
Bugsnag.start({
apiKey: WIKI.data.telemetry.BUGSNAG_ID,
appType: 'server',
appVersion: WIKI.version,
autoDetectErrors: false,
autoTrackSessions: false,
hostname: _.get(WIKI.config, 'telemetry.clientId', uuid()),
enabledReleaseStages: ['production'],
releaseStage: WIKI.IS_DEBUG ? 'development' : 'production',
projectRoot: WIKI.ROOTPATH,
logger: null,
onError: (report) => {
if (!WIKI.telemetry.enabled) { return false }
}
})
WIKI.telemetry = this
if (_.get(WIKI.config, 'telemetry.isEnabled', false) === true && WIKI.config.offline !== true) {
@ -33,13 +17,13 @@ module.exports = {
}
},
sendError(err) {
Bugsnag.notify(err)
// TODO
},
sendEvent(eventCategory, eventAction, eventLabel) {
// TODO
},
async sendInstanceEvent(eventType) {
if (WIKI.devMode) { return }
if (WIKI.devMode || !this.enabled) { return }
try {
const apollo = createApolloFetch({

File diff suppressed because it is too large Load Diff
Loading…
Cancel
Save