Merge branch 'revert-sentry-js' into 'master'
Revert "Merge branch 'sentry-js' into 'master'" This reverts commit0f309794e7
, reversing changes made to1e596fef1c
. See merge request !3851
This commit is contained in:
commit
53534682a3
5 changed files with 0 additions and 2482 deletions
|
@ -90,7 +90,6 @@ v 8.7.0 (unreleased)
|
||||||
- Fix repository cache invalidation issue when project is recreated with an empty repo (Stan Hu)
|
- Fix repository cache invalidation issue when project is recreated with an empty repo (Stan Hu)
|
||||||
- Fix: Allow empty recipients list for builds emails service when pushed is added (Frank Groeneveld)
|
- Fix: Allow empty recipients list for builds emails service when pushed is added (Frank Groeneveld)
|
||||||
- Improved markdown forms
|
- Improved markdown forms
|
||||||
- Show JavaScript errors in sentry
|
|
||||||
- Diff design updates (colors, button styles, etc)
|
- Diff design updates (colors, button styles, etc)
|
||||||
- Copying and pasting a diff no longer pastes the line numbers or +/-
|
- Copying and pasting a diff no longer pastes the line numbers or +/-
|
||||||
- Add null check to formData when updating profile content to fix Firefox bug
|
- Add null check to formData when updating profile content to fix Firefox bug
|
||||||
|
|
|
@ -55,7 +55,6 @@
|
||||||
#= require_tree .
|
#= require_tree .
|
||||||
#= require fuzzaldrin-plus
|
#= require fuzzaldrin-plus
|
||||||
#= require cropper
|
#= require cropper
|
||||||
#= require raven
|
|
||||||
|
|
||||||
window.slugify = (text) ->
|
window.slugify = (text) ->
|
||||||
text.replace(/[^-a-zA-Z0-9]+/g, '_').toLowerCase()
|
text.replace(/[^-a-zA-Z0-9]+/g, '_').toLowerCase()
|
||||||
|
|
|
@ -1,44 +0,0 @@
|
||||||
@raven =
|
|
||||||
init: ->
|
|
||||||
if gon.sentry_dsn?
|
|
||||||
Raven.config(gon.sentry_dsn, {
|
|
||||||
includePaths: [/gon.relative_url_root/]
|
|
||||||
ignoreErrors: [
|
|
||||||
# Random plugins/extensions
|
|
||||||
'top.GLOBALS',
|
|
||||||
# See: http://blog.errorception.com/2012/03/tale-of-unfindable-js-error. html
|
|
||||||
'originalCreateNotification',
|
|
||||||
'canvas.contentDocument',
|
|
||||||
'MyApp_RemoveAllHighlights',
|
|
||||||
'http://tt.epicplay.com',
|
|
||||||
'Can\'t find variable: ZiteReader',
|
|
||||||
'jigsaw is not defined',
|
|
||||||
'ComboSearch is not defined',
|
|
||||||
'http://loading.retry.widdit.com/',
|
|
||||||
'atomicFindClose',
|
|
||||||
# ISP "optimizing" proxy - `Cache-Control: no-transform` seems to
|
|
||||||
# reduce this. (thanks @acdha)
|
|
||||||
# See http://stackoverflow.com/questions/4113268
|
|
||||||
'bmi_SafeAddOnload',
|
|
||||||
'EBCallBackMessageReceived',
|
|
||||||
# See http://toolbar.conduit.com/Developer/HtmlAndGadget/Methods/JSInjection.aspx
|
|
||||||
'conduitPage'
|
|
||||||
],
|
|
||||||
ignoreUrls: [
|
|
||||||
# Chrome extensions
|
|
||||||
/extensions\//i,
|
|
||||||
/^chrome:\/\//i,
|
|
||||||
# Other plugins
|
|
||||||
/127\.0\.0\.1:4001\/isrunning/i, # Cacaoweb
|
|
||||||
/webappstoolbarba\.texthelp\.com\//i,
|
|
||||||
/metrics\.itunes\.apple\.com\.edgesuite\.net\//i
|
|
||||||
]
|
|
||||||
}).install()
|
|
||||||
|
|
||||||
if gon.current_user_id
|
|
||||||
Raven.setUserContext({
|
|
||||||
id: gon.current_user_id
|
|
||||||
})
|
|
||||||
|
|
||||||
$ ->
|
|
||||||
raven.init()
|
|
|
@ -7,7 +7,6 @@ module Gitlab
|
||||||
gon.max_file_size = current_application_settings.max_attachment_size
|
gon.max_file_size = current_application_settings.max_attachment_size
|
||||||
gon.relative_url_root = Gitlab.config.gitlab.relative_url_root
|
gon.relative_url_root = Gitlab.config.gitlab.relative_url_root
|
||||||
gon.user_color_scheme = Gitlab::ColorSchemes.for_user(current_user).css_class
|
gon.user_color_scheme = Gitlab::ColorSchemes.for_user(current_user).css_class
|
||||||
gon.sentry_dsn = ApplicationSetting.current.sentry_dsn if Rails.env.production?
|
|
||||||
|
|
||||||
if current_user
|
if current_user
|
||||||
gon.current_user_id = current_user.id
|
gon.current_user_id = current_user.id
|
||||||
|
|
2435
vendor/assets/javascripts/raven.js
vendored
2435
vendor/assets/javascripts/raven.js
vendored
File diff suppressed because it is too large
Load diff
Loading…
Reference in a new issue