Skip to content

Commit 63c8a30

Browse files
committed
fix: remove bugsnag + update deps
1 parent fe89097 commit 63c8a30

File tree

5 files changed

+699
-828
lines changed

5 files changed

+699
-828
lines changed

client/components/tags.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@
4949
rounded
5050
single-line
5151
height='40'
52-
prepend-icon='mdi-file-document-box-search-outline'
52+
prepend-icon='mdi-text-box-search-outline'
5353
append-icon='mdi-arrow-right'
5454
clearable
5555
)

package.json

Lines changed: 45 additions & 46 deletions
Original file line numberDiff line numberDiff line change
@@ -37,20 +37,19 @@
3737
},
3838
"dependencies": {
3939
"@aoberoi/passport-slack": "1.0.5",
40-
"@azure/storage-blob": "12.2.0",
41-
"@bugsnag/js": "7.3.4",
40+
"@azure/storage-blob": "12.2.1",
4241
"@exlinc/keycloak-passport": "1.0.2",
4342
"@root/csr": "0.8.1",
4443
"@root/keypairs": "0.10.1",
4544
"@root/pem": "1.0.4",
4645
"acme": "3.0.3",
4746
"akismet-api": "5.0.0",
48-
"algoliasearch": "4.4.0",
47+
"algoliasearch": "4.5.1",
4948
"apollo-fetch": "0.7.0",
50-
"apollo-server": "2.17.0",
51-
"apollo-server-express": "2.17.0",
49+
"apollo-server": "2.18.1",
50+
"apollo-server-express": "2.18.1",
5251
"auto-load": "3.0.4",
53-
"aws-sdk": "2.751.0",
52+
"aws-sdk": "2.766.0",
5453
"azure-search-client": "3.1.5",
5554
"bcryptjs-then": "1.0.1",
5655
"bluebird": "3.7.2",
@@ -62,15 +61,15 @@
6261
"clean-css": "4.2.3",
6362
"command-exists": "1.2.9",
6463
"compression": "1.7.4",
65-
"connect-session-knex": "1.7.3",
64+
"connect-session-knex": "2.0.0",
6665
"cookie-parser": "1.4.5",
6766
"cors": "2.8.5",
6867
"cuint": "0.2.2",
6968
"custom-error-instance": "2.1.2",
7069
"dependency-graph": "0.9.0",
7170
"diff": "4.0.2",
7271
"diff2html": "3.1.13",
73-
"dompurify": "2.0.15",
72+
"dompurify": "2.1.1",
7473
"dotize": "0.3.0",
7574
"elasticsearch6": "npm:@elastic/elasticsearch@6",
7675
"elasticsearch7": "npm:@elastic/elasticsearch@7",
@@ -79,32 +78,32 @@
7978
"express": "4.17.1",
8079
"express-brute": "1.0.1",
8180
"express-session": "1.17.1",
82-
"file-type": "15.0.0",
81+
"file-type": "15.0.1",
8382
"filesize": "6.1.0",
8483
"fs-extra": "9.0.1",
8584
"getos": "3.2.1",
8685
"graphql": "15.3.0",
8786
"graphql-list-fields": "2.0.2",
8887
"graphql-rate-limit-directive": "1.2.1",
8988
"graphql-subscriptions": "1.1.0",
90-
"graphql-tools": "6.2.1",
89+
"graphql-tools": "6.2.4",
9190
"he": "1.2.0",
92-
"highlight.js": "10.2.0",
93-
"i18next": "19.7.0",
91+
"highlight.js": "10.2.1",
92+
"i18next": "19.8.1",
9493
"i18next-express-middleware": "2.0.0",
9594
"i18next-node-fs-backend": "2.1.3",
9695
"image-size": "0.9.1",
97-
"js-base64": "3.4.5",
96+
"js-base64": "3.5.2",
9897
"js-binary": "1.2.0",
9998
"js-yaml": "3.14.0",
10099
"jsdom": "16.4.0",
101100
"jsonwebtoken": "8.5.1",
102101
"katex": "0.12.0",
103102
"klaw": "3.0.0",
104-
"knex": "0.21.5",
103+
"knex": "0.21.6",
105104
"lodash": "4.17.20",
106105
"luxon": "1.25.0",
107-
"markdown-it": "11.0.0",
106+
"markdown-it": "11.0.1",
108107
"markdown-it-abbr": "1.0.4",
109108
"markdown-it-attrs": "3.0.3",
110109
"markdown-it-emoji": "1.4.0",
@@ -118,19 +117,19 @@
118117
"markdown-it-sub": "1.0.0",
119118
"markdown-it-sup": "1.0.0",
120119
"markdown-it-task-lists": "2.1.1",
121-
"mathjax": "3.1.0",
120+
"mathjax": "3.1.2",
122121
"mime-types": "2.1.27",
123-
"moment": "2.27.0",
122+
"moment": "2.29.0",
124123
"moment-timezone": "0.5.31",
125124
"mongodb": "3.6.2",
126125
"ms": "2.1.2",
127-
"mssql": "6.2.1",
126+
"mssql": "6.2.3",
128127
"multer": "1.4.2",
129-
"mysql2": "2.1.0",
128+
"mysql2": "2.2.5",
130129
"nanoid": "3.1.12",
131130
"node-2fa": "1.1.2",
132131
"node-cache": "5.1.2",
133-
"nodemailer": "6.4.11",
132+
"nodemailer": "6.4.13",
134133
"objection": "2.2.3",
135134
"passport": "0.4.1",
136135
"passport-auth0": "1.3.3",
@@ -149,7 +148,7 @@
149148
"passport-oauth2": "1.5.0",
150149
"passport-okta-oauth": "0.0.1",
151150
"passport-openidconnect": "0.0.2",
152-
"passport-saml": "1.3.4",
151+
"passport-saml": "1.3.5",
153152
"passport-twitch-oauth": "1.0.0",
154153
"pem-jwk": "2.0.0",
155154
"pg": "8.3.3",
@@ -199,7 +198,7 @@
199198
"@babel/plugin-syntax-import-meta": "^7.10.4",
200199
"@babel/polyfill": "^7.11.5",
201200
"@babel/preset-env": "^7.11.5",
202-
"@mdi/font": "5.5.55",
201+
"@mdi/font": "5.6.55",
203202
"@panter/vue-i18next": "0.15.2",
204203
"@requarks/ckeditor5": "19.0.1-wiki.2",
205204
"@vue/babel-preset-app": "4.5.6",
@@ -218,34 +217,34 @@
218217
"babel-eslint": "10.1.0",
219218
"babel-jest": "26.3.0",
220219
"babel-loader": "^8.1.0",
221-
"babel-plugin-graphql-tag": "3.0.0",
220+
"babel-plugin-graphql-tag": "3.1.0",
222221
"babel-plugin-lodash": "3.3.4",
223222
"babel-plugin-prismjs": "2.0.1",
224223
"babel-plugin-transform-imports": "2.0.0",
225224
"cache-loader": "4.1.0",
226-
"canvas-confetti": "1.2.0",
227-
"cash-dom": "8.0.0",
225+
"canvas-confetti": "1.3.0",
226+
"cash-dom": "8.1.0",
228227
"chart.js": "2.9.3",
229228
"clean-webpack-plugin": "3.0.0",
230229
"clipboard": "2.0.6",
231-
"codemirror": "5.57.0",
232-
"copy-webpack-plugin": "6.1.0",
230+
"codemirror": "5.58.1",
231+
"copy-webpack-plugin": "6.2.0",
233232
"core-js": "3.6.5",
234233
"css-loader": "4.3.0",
235234
"cssnano": "4.1.10",
236-
"cypress": "5.1.0",
237-
"d3": "6.1.1",
235+
"cypress": "5.3.0",
236+
"d3": "6.2.0",
238237
"duplicate-package-checker-webpack-plugin": "3.0.0",
239238
"epic-spinners": "1.1.0",
240-
"eslint": "7.8.1",
239+
"eslint": "7.10.0",
241240
"eslint-config-requarks": "1.0.7",
242241
"eslint-config-standard": "14.1.1",
243-
"eslint-plugin-cypress": "2.11.1",
244-
"eslint-plugin-import": "2.22.0",
242+
"eslint-plugin-cypress": "2.11.2",
243+
"eslint-plugin-import": "2.22.1",
245244
"eslint-plugin-node": "11.1.0",
246245
"eslint-plugin-promise": "4.2.1",
247246
"eslint-plugin-standard": "4.0.1",
248-
"eslint-plugin-vue": "6.2.2",
247+
"eslint-plugin-vue": "7.0.0",
249248
"fibers": "5.0.0",
250249
"file-loader": "6.1.0",
251250
"filepond": "4.20.1",
@@ -254,17 +253,17 @@
254253
"graphql-persisted-document-loader": "2.0.0",
255254
"graphql-tag": "^2.11.0",
256255
"hammerjs": "2.0.8",
257-
"html-webpack-plugin": "4.4.1",
256+
"html-webpack-plugin": "4.5.0",
258257
"html-webpack-pug-plugin": "2.0.0",
259258
"i18next-chained-backend": "2.0.1",
260-
"i18next-localstorage-backend": "3.1.1",
259+
"i18next-localstorage-backend": "3.1.2",
261260
"i18next-xhr-backend": "3.2.2",
262261
"ignore-loader": "0.1.2",
263262
"jest": "26.4.2",
264263
"js-beautify": "1.13.0",
265264
"js-cookie": "2.2.1",
266-
"mermaid": "8.8.0",
267-
"mini-css-extract-plugin": "0.11.1",
265+
"mermaid": "8.8.1",
266+
"mini-css-extract-plugin": "0.11.3",
268267
"moment-duration-format": "2.3.2",
269268
"moment-timezone-data-webpack-plugin": "1.3.0",
270269
"offline-plugin": "5.0.7",
@@ -276,20 +275,20 @@
276275
"postcss-import": "12.0.1",
277276
"postcss-loader": "3.0.0",
278277
"postcss-preset-env": "6.7.0",
279-
"postcss-selector-parser": "6.0.2",
278+
"postcss-selector-parser": "6.0.4",
280279
"prismjs": "1.21.0",
281280
"pug-lint": "2.6.0",
282281
"pug-loader": "2.4.0",
283282
"pug-plain-loader": "1.0.0",
284283
"raw-loader": "4.0.1",
285284
"resolve-url-loader": "3.1.1",
286-
"sass": "1.26.10",
285+
"sass": "1.26.11",
287286
"sass-loader": "10.0.2",
288-
"sass-resources-loader": "2.1.0",
287+
"sass-resources-loader": "2.1.1",
289288
"script-ext-html-webpack-plugin": "2.1.4",
290289
"simple-progress-webpack-plugin": "1.1.2",
291-
"style-loader": "1.2.1",
292-
"terser": "5.3.1",
290+
"style-loader": "1.3.0",
291+
"terser": "5.3.4",
293292
"twemoji-awesome": "1.0.6",
294293
"url-loader": "4.1.0",
295294
"velocity-animate": "1.5.2",
@@ -302,19 +301,19 @@
302301
"vue-hot-reload-api": "2.3.4",
303302
"vue-loader": "15.9.3",
304303
"vue-moment": "4.1.0",
305-
"vue-router": "3.4.3",
304+
"vue-router": "3.4.5",
306305
"vue-status-indicator": "1.2.1",
307306
"vue-template-compiler": "2.6.12",
308307
"vue2-animate": "2.1.4",
309308
"vuedraggable": "2.24.1",
310309
"vuescroll": "4.16.1",
311-
"vuetify": "2.3.10",
310+
"vuetify": "2.3.12",
312311
"vuetify-loader": "1.6.0",
313312
"vuex": "3.5.1",
314313
"vuex-pathify": "1.4.1",
315314
"vuex-persistedstate": "3.1.0",
316-
"webpack": "4.44.1",
317-
"webpack-bundle-analyzer": "3.8.0",
315+
"webpack": "4.44.2",
316+
"webpack-bundle-analyzer": "3.9.0",
318317
"webpack-cli": "3.3.12",
319318
"webpack-dev-middleware": "3.7.2",
320319
"webpack-hot-middleware": "2.25.0",

server/app/data.yml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -138,11 +138,6 @@ groups:
138138
- 'write:comments'
139139
path: ''
140140
locales: []
141-
telemetry:
142-
BUGSNAG_ID: 'bb4b324d0675bcbba10025617fd2cec8'
143-
BUGSNAG_REMOTE: 'https://notify.bugsnag.com'
144-
GA_ID: 'UA-9094100-7'
145-
GA_REMOTE: 'https://www.google-analytics.com/batch'
146141
reservedPaths:
147142
- login
148143
- logout

server/core/telemetry.js

Lines changed: 2 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
const _ = require('lodash')
22
const { createApolloFetch } = require('apollo-fetch')
3-
const Bugsnag = require('@bugsnag/js')
43
const { v4: uuid } = require('uuid')
54
const os = require('os')
65
const fs = require('fs-extra')
@@ -10,21 +9,6 @@ const fs = require('fs-extra')
109
module.exports = {
1110
enabled: false,
1211
init() {
13-
Bugsnag.start({
14-
apiKey: WIKI.data.telemetry.BUGSNAG_ID,
15-
appType: 'server',
16-
appVersion: WIKI.version,
17-
autoDetectErrors: false,
18-
autoTrackSessions: false,
19-
hostname: _.get(WIKI.config, 'telemetry.clientId', uuid()),
20-
enabledReleaseStages: ['production'],
21-
releaseStage: WIKI.IS_DEBUG ? 'development' : 'production',
22-
projectRoot: WIKI.ROOTPATH,
23-
logger: null,
24-
onError: (report) => {
25-
if (!WIKI.telemetry.enabled) { return false }
26-
}
27-
})
2812
WIKI.telemetry = this
2913

3014
if (_.get(WIKI.config, 'telemetry.isEnabled', false) === true && WIKI.config.offline !== true) {
@@ -33,13 +17,13 @@ module.exports = {
3317
}
3418
},
3519
sendError(err) {
36-
Bugsnag.notify(err)
20+
// TODO
3721
},
3822
sendEvent(eventCategory, eventAction, eventLabel) {
3923
// TODO
4024
},
4125
async sendInstanceEvent(eventType) {
42-
if (WIKI.devMode) { return }
26+
if (WIKI.devMode || !this.enabled) { return }
4327

4428
try {
4529
const apollo = createApolloFetch({

0 commit comments

Comments
 (0)