logster 2.20.1 → 3.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +23 -92
- data/README.md +29 -14
- data/assets/javascript/main-B82IoCiW.js +1 -0
- data/assets/javascript/modules-4-12-BHA4lR2U.js +1 -0
- data/assets/javascript/vendor.js +11 -5260
- data/assets/logster-config.json +18 -0
- data/assets/manifest.json +23 -0
- data/assets/stylesheets/main-CgAFFyi8.css +1 -0
- data/lib/logster/configuration.rb +1 -0
- data/lib/logster/group.rb +2 -2
- data/lib/logster/message.rb +4 -4
- data/lib/logster/middleware/reporter.rb +34 -3
- data/lib/logster/middleware/viewer.rb +205 -33
- data/lib/logster/rails/railtie.rb +4 -20
- data/lib/logster/redis_store.rb +0 -2
- data/lib/logster/version.rb +1 -1
- data/lib/logster.rb +1 -1
- metadata +17 -186
- data/.github/workflows/ci.yml +0 -140
- data/.gitignore +0 -3
- data/.rubocop.yml +0 -8
- data/.streerc +0 -2
- data/Gemfile +0 -10
- data/Guardfile +0 -10
- data/Rakefile +0 -27
- data/assets/javascript/.gitkeep +0 -0
- data/assets/javascript/chunk.524.c3042190e39d148beaf9.js +0 -22
- data/assets/javascript/chunk.582.695dcbfb11a784b110cd.js +0 -22
- data/assets/javascript/chunk.747.a730c497582bb6742a6e.js +0 -579
- data/assets/javascript/chunk.761.64949d89942c829e5c1b.js +0 -1213
- data/assets/javascript/client-app.js +0 -1390
- data/assets/stylesheets/.gitkeep +0 -0
- data/assets/stylesheets/client-app.css +0 -1
- data/assets/stylesheets/vendor.css +0 -1
- data/build_client_app.sh +0 -10
- data/client-app/.editorconfig +0 -19
- data/client-app/.ember-cli +0 -9
- data/client-app/.eslintignore +0 -20
- data/client-app/.eslintrc +0 -10
- data/client-app/.gitignore +0 -23
- data/client-app/.prettierignore +0 -21
- data/client-app/.prettierrc +0 -1
- data/client-app/.template-lintrc.js +0 -10
- data/client-app/.watchmanconfig +0 -3
- data/client-app/README.md +0 -56
- data/client-app/app/app.js +0 -12
- data/client-app/app/components/actions-menu.js +0 -50
- data/client-app/app/components/back-to-site-link.js +0 -9
- data/client-app/app/components/back-trace.js +0 -153
- data/client-app/app/components/env-tab.js +0 -68
- data/client-app/app/components/message-info.js +0 -151
- data/client-app/app/components/message-row.js +0 -46
- data/client-app/app/components/page-nav.js +0 -42
- data/client-app/app/components/panel-resizer.js +0 -108
- data/client-app/app/components/patterns-list.js +0 -142
- data/client-app/app/components/tab-contents.js +0 -23
- data/client-app/app/components/tabbed-section.js +0 -45
- data/client-app/app/components/time-formatter.js +0 -36
- data/client-app/app/controllers/index.js +0 -269
- data/client-app/app/controllers/show.js +0 -39
- data/client-app/app/helpers/logster-url.js +0 -12
- data/client-app/app/helpers/or.js +0 -7
- data/client-app/app/index.html +0 -31
- data/client-app/app/initializers/app-init.js +0 -71
- data/client-app/app/lib/decorators.js +0 -13
- data/client-app/app/lib/preload.js +0 -43
- data/client-app/app/lib/utilities.js +0 -230
- data/client-app/app/models/group.js +0 -34
- data/client-app/app/models/message-collection.js +0 -303
- data/client-app/app/models/message.js +0 -128
- data/client-app/app/models/pattern-item.js +0 -32
- data/client-app/app/resolver.js +0 -3
- data/client-app/app/router.js +0 -13
- data/client-app/app/routes/index.js +0 -64
- data/client-app/app/routes/settings.js +0 -32
- data/client-app/app/routes/show.js +0 -16
- data/client-app/app/services/events.js +0 -4
- data/client-app/app/styles/app.css +0 -829
- data/client-app/app/templates/application.hbs +0 -1
- data/client-app/app/templates/components/actions-menu.hbs +0 -31
- data/client-app/app/templates/components/back-to-site-link.hbs +0 -8
- data/client-app/app/templates/components/back-trace.hbs +0 -15
- data/client-app/app/templates/components/env-tab.hbs +0 -10
- data/client-app/app/templates/components/message-info.hbs +0 -86
- data/client-app/app/templates/components/message-row.hbs +0 -32
- data/client-app/app/templates/components/page-nav.hbs +0 -37
- data/client-app/app/templates/components/panel-resizer.hbs +0 -3
- data/client-app/app/templates/components/patterns-list.hbs +0 -78
- data/client-app/app/templates/components/tabbed-section.hbs +0 -18
- data/client-app/app/templates/components/time-formatter.hbs +0 -1
- data/client-app/app/templates/index.hbs +0 -165
- data/client-app/app/templates/settings.hbs +0 -47
- data/client-app/app/templates/show.hbs +0 -13
- data/client-app/config/ember-cli-update.json +0 -18
- data/client-app/config/environment.js +0 -51
- data/client-app/config/icons.js +0 -28
- data/client-app/config/optional-features.json +0 -6
- data/client-app/config/targets.js +0 -26
- data/client-app/ember-cli-build.js +0 -28
- data/client-app/package.json +0 -76
- data/client-app/preload-json-manager.rb +0 -35
- data/client-app/public/assets/images/icon_144x144.png +0 -0
- data/client-app/public/assets/images/icon_64x64.png +0 -0
- data/client-app/testem.js +0 -23
- data/client-app/tests/index.html +0 -41
- data/client-app/tests/integration/components/back-to-site-link-test.js +0 -20
- data/client-app/tests/integration/components/back-trace-test.js +0 -138
- data/client-app/tests/integration/components/env-tab-test.js +0 -220
- data/client-app/tests/integration/components/message-info-test.js +0 -122
- data/client-app/tests/integration/components/patterns-list-test.js +0 -76
- data/client-app/tests/test-helper.js +0 -12
- data/client-app/tests/unit/controllers/index-test.js +0 -77
- data/client-app/tests/unit/controllers/show-test.js +0 -12
- data/client-app/tests/unit/routes/index-test.js +0 -11
- data/client-app/tests/unit/routes/show-test.js +0 -11
- data/client-app/yarn.lock +0 -9905
- data/gemfiles/rails_6.1.gemfile +0 -12
- data/gemfiles/rails_7.0.gemfile +0 -12
- data/gemfiles/rails_7.1.gemfile +0 -9
- data/gemfiles/rails_7.2.gemfile +0 -9
- data/logster.gemspec +0 -43
- data/test/dummy/config/application.rb +0 -31
- data/test/dummy/config/boot.rb +0 -6
- data/test/dummy/config/environment.rb +0 -6
- data/test/examples/test_sidekiq_reporter_example.rb +0 -47
- data/test/fake_data/Gemfile +0 -6
- data/test/fake_data/generate.rb +0 -23
- data/test/logster/middleware/test_reporter.rb +0 -84
- data/test/logster/middleware/test_viewer.rb +0 -495
- data/test/logster/test_base_store.rb +0 -224
- data/test/logster/test_cache.rb +0 -39
- data/test/logster/test_defer_logger.rb +0 -36
- data/test/logster/test_group.rb +0 -92
- data/test/logster/test_ignore_pattern.rb +0 -42
- data/test/logster/test_logger.rb +0 -177
- data/test/logster/test_message.rb +0 -269
- data/test/logster/test_pattern.rb +0 -144
- data/test/logster/test_railtie.rb +0 -21
- data/test/logster/test_redis_rate_limiter.rb +0 -246
- data/test/logster/test_redis_store.rb +0 -1165
- data/test/test_helper.rb +0 -44
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{{outlet}}
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
{{#if @actionsInMenu}}
|
|
2
|
-
{{#if this.showMenu}}
|
|
3
|
-
<div class="actions-menu">
|
|
4
|
-
{{yield}}
|
|
5
|
-
</div>
|
|
6
|
-
{{/if}}
|
|
7
|
-
|
|
8
|
-
<button
|
|
9
|
-
class="expand btn no-text"
|
|
10
|
-
type="button"
|
|
11
|
-
{{on "click" this.expandMenu}}
|
|
12
|
-
>
|
|
13
|
-
<FaIcon @icon="ellipsis-h" />
|
|
14
|
-
</button>
|
|
15
|
-
|
|
16
|
-
{{#if @showShare}}
|
|
17
|
-
<button class="share btn" type="button" {{on "click" this.share}}>
|
|
18
|
-
<FaIcon @icon="share" />
|
|
19
|
-
<span>Share</span>
|
|
20
|
-
</button>
|
|
21
|
-
{{/if}}
|
|
22
|
-
{{else}}
|
|
23
|
-
{{yield}}
|
|
24
|
-
|
|
25
|
-
{{#if @showShare}}
|
|
26
|
-
<button class="share btn" type="button" {{on "click" this.share}}>
|
|
27
|
-
<FaIcon @icon="share" />
|
|
28
|
-
<span>Share</span>
|
|
29
|
-
</button>
|
|
30
|
-
{{/if}}
|
|
31
|
-
{{/if}}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
{{~#each this.lines as |line|~}}
|
|
2
|
-
<div class="backtrace-line">
|
|
3
|
-
{{~line.line~}}
|
|
4
|
-
{{~#if line.url~}}
|
|
5
|
-
<a
|
|
6
|
-
href={{line.url}}
|
|
7
|
-
target="_blank"
|
|
8
|
-
class="line-link"
|
|
9
|
-
rel="noopener noreferrer"
|
|
10
|
-
>
|
|
11
|
-
<FaIcon @icon="external-link-square-alt" />
|
|
12
|
-
</a>
|
|
13
|
-
{{~/if~}}
|
|
14
|
-
</div>
|
|
15
|
-
{{~/each~}}
|
|
@@ -1,86 +0,0 @@
|
|
|
1
|
-
<div class="message-info">
|
|
2
|
-
<TabbedSection @onTabChange={{this.tabChanged}} as |tabActions|>
|
|
3
|
-
<TabContents
|
|
4
|
-
@name="info"
|
|
5
|
-
@hint="show info"
|
|
6
|
-
@currentMessage={{@currentMessage}}
|
|
7
|
-
@tabActions={{tabActions}}
|
|
8
|
-
>
|
|
9
|
-
{{#if @showTitle}}
|
|
10
|
-
<h3>Message
|
|
11
|
-
{{#if @currentMessage.showCount}}
|
|
12
|
-
({{@currentMessage.count}}
|
|
13
|
-
copies reported)
|
|
14
|
-
{{/if}}
|
|
15
|
-
</h3>
|
|
16
|
-
{{/if}}
|
|
17
|
-
|
|
18
|
-
<pre>{{@currentMessage.message}}</pre>
|
|
19
|
-
</TabContents>
|
|
20
|
-
|
|
21
|
-
<TabContents
|
|
22
|
-
@name="backtrace"
|
|
23
|
-
@defaultTab="true"
|
|
24
|
-
@hint="show backtrace"
|
|
25
|
-
@currentMessage={{@currentMessage}}
|
|
26
|
-
@tabActions={{tabActions}}
|
|
27
|
-
>
|
|
28
|
-
{{#if @showTitle}}
|
|
29
|
-
<h3>Backtrace</h3>
|
|
30
|
-
{{/if}}
|
|
31
|
-
|
|
32
|
-
<pre><BackTrace
|
|
33
|
-
class="backtrace"
|
|
34
|
-
@backtrace={{@currentMessage.backtrace}}
|
|
35
|
-
@env={{@currentMessage.env}}
|
|
36
|
-
/></pre>
|
|
37
|
-
</TabContents>
|
|
38
|
-
|
|
39
|
-
<TabContents
|
|
40
|
-
@className="env"
|
|
41
|
-
@name="env"
|
|
42
|
-
@hint="show environment"
|
|
43
|
-
@currentMessage={{@currentMessage}}
|
|
44
|
-
@tabActions={{tabActions}}
|
|
45
|
-
>
|
|
46
|
-
{{#if @currentMessage}}
|
|
47
|
-
{{#if @currentMessage.env}}
|
|
48
|
-
{{#if @showTitle}}
|
|
49
|
-
<h3>Env</h3>
|
|
50
|
-
{{/if}}
|
|
51
|
-
|
|
52
|
-
<EnvTab
|
|
53
|
-
@message={{@currentMessage}}
|
|
54
|
-
@currentEnvPosition={{@currentEnvPosition}}
|
|
55
|
-
@envChangedAction={{@envChangedAction}}
|
|
56
|
-
/>
|
|
57
|
-
{{else if @loadingEnv}}
|
|
58
|
-
Loading env...
|
|
59
|
-
{{else}}
|
|
60
|
-
No env for this message.
|
|
61
|
-
{{/if}}
|
|
62
|
-
{{/if}}
|
|
63
|
-
</TabContents>
|
|
64
|
-
</TabbedSection>
|
|
65
|
-
|
|
66
|
-
{{#if @currentMessage}}
|
|
67
|
-
<div class="message-actions">
|
|
68
|
-
<ActionsMenu
|
|
69
|
-
@actionsInMenu={{@actionsInMenu}}
|
|
70
|
-
@showShare={{@showShare}}
|
|
71
|
-
@share={{this.share}}
|
|
72
|
-
>
|
|
73
|
-
{{#each this.buttons as |btn|}}
|
|
74
|
-
<button
|
|
75
|
-
class="{{btn.klass}} btn {{if btn.danger 'danger' ''}}"
|
|
76
|
-
type="button"
|
|
77
|
-
{{on "click" btn.action}}
|
|
78
|
-
>
|
|
79
|
-
<FaIcon @icon={{btn.icon}} @prefix={{btn.prefix}} />
|
|
80
|
-
<span>{{btn.label}}</span>
|
|
81
|
-
</button>
|
|
82
|
-
{{/each}}
|
|
83
|
-
</ActionsMenu>
|
|
84
|
-
</div>
|
|
85
|
-
{{/if}}
|
|
86
|
-
</div>
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
<div class="count">
|
|
2
|
-
{{#if @model.showCount}}
|
|
3
|
-
{{@model.count}}
|
|
4
|
-
{{/if}}
|
|
5
|
-
</div>
|
|
6
|
-
|
|
7
|
-
<div class="severity">
|
|
8
|
-
{{#if @model.glyph}}
|
|
9
|
-
<FaIcon
|
|
10
|
-
@icon={{@model.glyph}}
|
|
11
|
-
@prefix={{@model.prefix}}
|
|
12
|
-
class={{@model.klass}}
|
|
13
|
-
/>
|
|
14
|
-
{{/if}}
|
|
15
|
-
</div>
|
|
16
|
-
|
|
17
|
-
<div class="message-body">
|
|
18
|
-
{{@model.displayMessage}}
|
|
19
|
-
</div>
|
|
20
|
-
|
|
21
|
-
<div class="protected">
|
|
22
|
-
{{#if @model.protected}}
|
|
23
|
-
<FaIcon
|
|
24
|
-
@icon="lock"
|
|
25
|
-
title="message is protected, clearing will not remove it"
|
|
26
|
-
/>
|
|
27
|
-
{{/if}}
|
|
28
|
-
</div>
|
|
29
|
-
|
|
30
|
-
<div class="time">
|
|
31
|
-
<TimeFormatter @timestamp={{@model.timestamp}} />
|
|
32
|
-
</div>
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
<button
|
|
2
|
-
disabled={{this.disableBackButtons}}
|
|
3
|
-
class="btn nav-btn no-text"
|
|
4
|
-
type="button"
|
|
5
|
-
{{on "click" (fn this.bigJump "back")}}
|
|
6
|
-
>
|
|
7
|
-
<FaIcon @icon="fast-backward" />
|
|
8
|
-
</button>
|
|
9
|
-
|
|
10
|
-
<button
|
|
11
|
-
disabled={{this.disableBackButtons}}
|
|
12
|
-
class="btn nav-btn no-text"
|
|
13
|
-
type="button"
|
|
14
|
-
{{on "click" (fn this.takeStep "back")}}
|
|
15
|
-
>
|
|
16
|
-
<FaIcon @icon="backward" />
|
|
17
|
-
</button>
|
|
18
|
-
|
|
19
|
-
<span class="current-number">{{this.displayNumber}}/{{@list.length}}</span>
|
|
20
|
-
|
|
21
|
-
<button
|
|
22
|
-
disabled={{this.disableForwardButtons}}
|
|
23
|
-
class="btn nav-btn no-text"
|
|
24
|
-
type="button"
|
|
25
|
-
{{on "click" (fn this.takeStep "front")}}
|
|
26
|
-
>
|
|
27
|
-
<FaIcon @icon="forward" />
|
|
28
|
-
</button>
|
|
29
|
-
|
|
30
|
-
<button
|
|
31
|
-
disabled={{this.disableForwardButtons}}
|
|
32
|
-
class="btn nav-btn no-text"
|
|
33
|
-
type="button"
|
|
34
|
-
{{on "click" (fn this.bigJump "front")}}
|
|
35
|
-
>
|
|
36
|
-
<FaIcon @icon="fast-forward" />
|
|
37
|
-
</button>
|
|
@@ -1,78 +0,0 @@
|
|
|
1
|
-
{{#if @mutable}}
|
|
2
|
-
<button class="btn new-pattern" type="button" {{on "click" this.create}}>
|
|
3
|
-
<FaIcon @icon="plus" />
|
|
4
|
-
<span>New</span>
|
|
5
|
-
</button>
|
|
6
|
-
{{/if}}
|
|
7
|
-
|
|
8
|
-
{{#each this.allPatterns as |pattern|}}
|
|
9
|
-
<div class="pattern-wrapper">
|
|
10
|
-
<Input
|
|
11
|
-
@type="textfield"
|
|
12
|
-
@value={{pattern.valueBuffer}}
|
|
13
|
-
class="pattern-input"
|
|
14
|
-
placeholder="Enter regular expression…"
|
|
15
|
-
disabled={{or this.immutable pattern.saving}}
|
|
16
|
-
/>
|
|
17
|
-
|
|
18
|
-
{{#if @mutable}}
|
|
19
|
-
{{#if pattern.hasBuffer}}
|
|
20
|
-
<button
|
|
21
|
-
disabled={{pattern.saving}}
|
|
22
|
-
class="btn ok no-text save shrink"
|
|
23
|
-
type="button"
|
|
24
|
-
{{on "click" (fn this.save pattern)}}
|
|
25
|
-
>
|
|
26
|
-
<FaIcon @icon="check" />
|
|
27
|
-
</button>
|
|
28
|
-
{{/if}}
|
|
29
|
-
|
|
30
|
-
<button
|
|
31
|
-
disabled={{pattern.saving}}
|
|
32
|
-
class="btn no-text trash shrink"
|
|
33
|
-
type="button"
|
|
34
|
-
{{on "click" (fn this.trash pattern)}}
|
|
35
|
-
>
|
|
36
|
-
<FaIcon @icon="trash-alt" />
|
|
37
|
-
</button>
|
|
38
|
-
{{/if}}
|
|
39
|
-
|
|
40
|
-
{{#if this.showCounter}}
|
|
41
|
-
<input
|
|
42
|
-
disabled="true"
|
|
43
|
-
title="Number of logs that have been suppressed by this pattern"
|
|
44
|
-
class="count shrink"
|
|
45
|
-
value={{pattern.count}}
|
|
46
|
-
/>
|
|
47
|
-
<button
|
|
48
|
-
class="btn no-text reset shrink"
|
|
49
|
-
title="Reset count of suppressed logs"
|
|
50
|
-
disabled={{pattern.zeroCount}}
|
|
51
|
-
type="button"
|
|
52
|
-
{{on "click" (fn this.resetCount pattern)}}
|
|
53
|
-
>
|
|
54
|
-
<FaIcon @icon="redo-alt" />
|
|
55
|
-
</button>
|
|
56
|
-
{{/if}}
|
|
57
|
-
</div>
|
|
58
|
-
|
|
59
|
-
{{#if @applyRetroactivelyCheckbox}}
|
|
60
|
-
{{#if pattern.isNew}}
|
|
61
|
-
<div class="retro-checkbox">
|
|
62
|
-
<input
|
|
63
|
-
checked={{pattern.retroactive}}
|
|
64
|
-
type="checkbox"
|
|
65
|
-
class="checkbox"
|
|
66
|
-
onclick={{fn this.checkboxChanged pattern}}
|
|
67
|
-
/>
|
|
68
|
-
Apply retroactively
|
|
69
|
-
</div>
|
|
70
|
-
{{/if}}
|
|
71
|
-
{{/if}}
|
|
72
|
-
|
|
73
|
-
{{~#if pattern.error~}}
|
|
74
|
-
<pre class="api-error">
|
|
75
|
-
{{~pattern.error~}}
|
|
76
|
-
</pre>
|
|
77
|
-
{{~/if~}}
|
|
78
|
-
{{/each}}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
{{yield
|
|
2
|
-
(hash addTab=this.addTab removeTab=this.removeTab selectTab=this.selectTab)
|
|
3
|
-
}}
|
|
4
|
-
|
|
5
|
-
<ul class="tabs">
|
|
6
|
-
{{#each this.tabs as |tab|}}
|
|
7
|
-
<li>
|
|
8
|
-
<a
|
|
9
|
-
title={{unbound tab.hint}}
|
|
10
|
-
href="#"
|
|
11
|
-
class={{if tab.active "active"}}
|
|
12
|
-
{{on "click" (fn this.selectTab tab)}}
|
|
13
|
-
>
|
|
14
|
-
{{unbound tab.name}}
|
|
15
|
-
</a>
|
|
16
|
-
</li>
|
|
17
|
-
{{/each}}
|
|
18
|
-
</ul>
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
<span title={{this.title}}>{{this.time}}</span>
|
|
@@ -1,165 +0,0 @@
|
|
|
1
|
-
{{#if this.hasTopMenu}}
|
|
2
|
-
<div id="top-menu">
|
|
3
|
-
<BackToSiteLink
|
|
4
|
-
@path={{this.backToSiteLinkPath}}
|
|
5
|
-
@text={{this.backToSiteLinkText}}
|
|
6
|
-
/>
|
|
7
|
-
</div>
|
|
8
|
-
{{/if}}
|
|
9
|
-
<div id="top-panel" class={{if this.hasTopMenu "with-top-menu"}}>
|
|
10
|
-
<div id="log-table">
|
|
11
|
-
{{#if this.model.moreBefore}}
|
|
12
|
-
<div {{on "click" this.showMoreBefore}} class="show-more">
|
|
13
|
-
{{#if this.model.hideCountInLoadMore}}
|
|
14
|
-
Load more
|
|
15
|
-
{{else}}
|
|
16
|
-
Select to see
|
|
17
|
-
{{this.model.totalBefore}}
|
|
18
|
-
more
|
|
19
|
-
{{/if}}
|
|
20
|
-
</div>
|
|
21
|
-
{{/if}}
|
|
22
|
-
|
|
23
|
-
{{#if this.loading}}
|
|
24
|
-
<div class="loading"></div>
|
|
25
|
-
{{/if}}
|
|
26
|
-
|
|
27
|
-
{{#each this.model.rows as |row|}}
|
|
28
|
-
<div class="message-row-wrapper">
|
|
29
|
-
{{#if this.buildingGroupingPattern}}
|
|
30
|
-
<input
|
|
31
|
-
type="checkbox"
|
|
32
|
-
class="grouping-checkbox"
|
|
33
|
-
{{on "change" (fn this.handleCheckboxChange row)}}
|
|
34
|
-
/>
|
|
35
|
-
{{/if}}
|
|
36
|
-
<MessageRow @model={{row}} @selectRow={{fn this.selectRowAction row}} />
|
|
37
|
-
</div>
|
|
38
|
-
{{/each}}
|
|
39
|
-
</div>
|
|
40
|
-
</div>
|
|
41
|
-
|
|
42
|
-
<div id="bottom-panel" class={{if this.model.currentRow.group "group-view"}}>
|
|
43
|
-
{{#if this.model.currentRow.group}}
|
|
44
|
-
<PageNav
|
|
45
|
-
@list={{this.model.currentRow.messages}}
|
|
46
|
-
@position={{this.model.currentGroupedMessagesPosition}}
|
|
47
|
-
@extraClasses="group-nav"
|
|
48
|
-
@navigate={{this.groupedMessageChangedAction}}
|
|
49
|
-
/>
|
|
50
|
-
{{/if}}
|
|
51
|
-
|
|
52
|
-
<MessageInfo
|
|
53
|
-
@currentMessage={{this.model.currentMessage}}
|
|
54
|
-
@currentRow={{this.model.currentRow}}
|
|
55
|
-
@loadingEnv={{this.model.loadingEnv}}
|
|
56
|
-
@removeMessage={{this.removeMessage}}
|
|
57
|
-
@solveMessage={{this.solveMessage}}
|
|
58
|
-
@onTabChange={{this.tabChangedAction}}
|
|
59
|
-
@envChangedAction={{this.envChangedAction}}
|
|
60
|
-
@currentEnvPosition={{this.model.currentEnvPosition}}
|
|
61
|
-
@actionsInMenu={{this.actionsInMenu}}
|
|
62
|
-
@showShare={{true}}
|
|
63
|
-
/>
|
|
64
|
-
|
|
65
|
-
<div class="action-panel">
|
|
66
|
-
<div class="severity-filters">
|
|
67
|
-
<div class="more-wrapping">
|
|
68
|
-
<label class="debug">
|
|
69
|
-
<input
|
|
70
|
-
type="checkbox"
|
|
71
|
-
checked={{this.showDebug}}
|
|
72
|
-
onchange={{fn this.updateFilter "showDebug"}}
|
|
73
|
-
/>
|
|
74
|
-
<span>Debug</span>
|
|
75
|
-
</label>
|
|
76
|
-
|
|
77
|
-
<label class="info">
|
|
78
|
-
<input
|
|
79
|
-
type="checkbox"
|
|
80
|
-
checked={{this.showInfo}}
|
|
81
|
-
onchange={{fn this.updateFilter "showInfo"}}
|
|
82
|
-
/>
|
|
83
|
-
<span>Info</span>
|
|
84
|
-
</label>
|
|
85
|
-
|
|
86
|
-
<label class="warn">
|
|
87
|
-
<input
|
|
88
|
-
type="checkbox"
|
|
89
|
-
checked={{this.showWarn}}
|
|
90
|
-
onchange={{fn this.updateFilter "showWarn"}}
|
|
91
|
-
/>
|
|
92
|
-
<FaIcon @icon="exclamation-circle" class="warning" />
|
|
93
|
-
<span>Warning</span>
|
|
94
|
-
</label>
|
|
95
|
-
|
|
96
|
-
<label class="error">
|
|
97
|
-
<input
|
|
98
|
-
type="checkbox"
|
|
99
|
-
checked={{this.showErr}}
|
|
100
|
-
onchange={{fn this.updateFilter "showErr"}}
|
|
101
|
-
/>
|
|
102
|
-
<FaIcon @icon="times-circle" class="error" />
|
|
103
|
-
<span>Error</span>
|
|
104
|
-
</label>
|
|
105
|
-
|
|
106
|
-
<label class="fatal">
|
|
107
|
-
<input
|
|
108
|
-
type="checkbox"
|
|
109
|
-
checked={{this.showFatal}}
|
|
110
|
-
onchange={{fn this.updateFilter "showFatal"}}
|
|
111
|
-
/>
|
|
112
|
-
<FaIcon @icon="times-circle" class="fatal" />
|
|
113
|
-
<span>Fatal</span>
|
|
114
|
-
</label>
|
|
115
|
-
</div>
|
|
116
|
-
</div>
|
|
117
|
-
|
|
118
|
-
<div class="search-clear-all">
|
|
119
|
-
<input
|
|
120
|
-
type="text"
|
|
121
|
-
class="search"
|
|
122
|
-
placeholder="Search"
|
|
123
|
-
value={{this.searchTerm}}
|
|
124
|
-
onkeyup={{this.updateSearch}}
|
|
125
|
-
/>
|
|
126
|
-
|
|
127
|
-
<div class="footer-btns">
|
|
128
|
-
{{#if this.showSettings}}
|
|
129
|
-
{{#if this.showCreateGroupingPattern}}
|
|
130
|
-
<button
|
|
131
|
-
class="settings btn"
|
|
132
|
-
type="button"
|
|
133
|
-
{{on "click" this.createGroupingPatternFromSelectedRows}}
|
|
134
|
-
>
|
|
135
|
-
<span>Create Grouping Pattern</span>
|
|
136
|
-
</button>
|
|
137
|
-
{{/if}}
|
|
138
|
-
|
|
139
|
-
<LinkTo @route="settings" class="settings btn no-text">
|
|
140
|
-
<FaIcon @icon="cog" />
|
|
141
|
-
</LinkTo>
|
|
142
|
-
|
|
143
|
-
<button
|
|
144
|
-
class="settings btn no-text"
|
|
145
|
-
type="button"
|
|
146
|
-
{{on "click" this.toggleGroupingPatternFromSelectedRows}}
|
|
147
|
-
>
|
|
148
|
-
<FaIcon @icon="list" />
|
|
149
|
-
</button>
|
|
150
|
-
{{/if}}
|
|
151
|
-
|
|
152
|
-
<button
|
|
153
|
-
class="clear btn danger"
|
|
154
|
-
type="button"
|
|
155
|
-
{{on "click" this.clear}}
|
|
156
|
-
>
|
|
157
|
-
<FaIcon @icon="trash-alt" prefix="far" />
|
|
158
|
-
<span>Clear logs</span>
|
|
159
|
-
</button>
|
|
160
|
-
</div>
|
|
161
|
-
</div>
|
|
162
|
-
</div>
|
|
163
|
-
</div>
|
|
164
|
-
|
|
165
|
-
<PanelResizer />
|
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
<div class="settings-page">
|
|
2
|
-
<LinkTo @route="index">Home</LinkTo>
|
|
3
|
-
|
|
4
|
-
<div class="settings-header">
|
|
5
|
-
<h1 class="header-title">Settings</h1>
|
|
6
|
-
<img class="header-logo" src={{logster-url "images/icon_144x144.png"}} />
|
|
7
|
-
</div>
|
|
8
|
-
|
|
9
|
-
<div class="settings-section suppression-patterns">
|
|
10
|
-
<h2 class="section-title">Suppression Patterns</h2>
|
|
11
|
-
|
|
12
|
-
<div>New messages that match these Regular Expression patterns will be
|
|
13
|
-
suppressed. Checking Apply retroactively will remove all existing messages
|
|
14
|
-
that match the patterns.</div>
|
|
15
|
-
|
|
16
|
-
{{#if this.showCodedSuppression}}
|
|
17
|
-
<h3 class="subsection-title">Hard-coded patterns:</h3>
|
|
18
|
-
|
|
19
|
-
<div class="tip">These patterns can't be removed via the UI because they
|
|
20
|
-
are commited to the source code of your app.</div>
|
|
21
|
-
|
|
22
|
-
<PatternsList @patterns={{this.codedSuppression}} @mutable={{false}} />
|
|
23
|
-
{{/if}}
|
|
24
|
-
|
|
25
|
-
<h3 class="subsection-title">Custom patterns:</h3>
|
|
26
|
-
|
|
27
|
-
<PatternsList
|
|
28
|
-
@patterns={{this.customSuppression}}
|
|
29
|
-
@key="suppression"
|
|
30
|
-
@applyRetroactivelyCheckbox={{true}}
|
|
31
|
-
@mutable={{true}}
|
|
32
|
-
/>
|
|
33
|
-
</div>
|
|
34
|
-
|
|
35
|
-
<div class="settings-section grouping-patterns">
|
|
36
|
-
<h2 class="section-title">Grouping Patterns</h2>
|
|
37
|
-
|
|
38
|
-
<div>Add a Regular Expression pattern to group all new and existing messages
|
|
39
|
-
into a single row when viewing the logs.</div>
|
|
40
|
-
|
|
41
|
-
<PatternsList
|
|
42
|
-
@patterns={{this.grouping}}
|
|
43
|
-
@key="grouping"
|
|
44
|
-
@mutable={{true}}
|
|
45
|
-
/>
|
|
46
|
-
</div>
|
|
47
|
-
</div>
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
<LinkTo @route="index" class="recent-link">Recent</LinkTo>
|
|
2
|
-
|
|
3
|
-
<div id="bottom-panel" class="full">
|
|
4
|
-
<MessageInfo
|
|
5
|
-
@currentMessage={{this.model}}
|
|
6
|
-
@showTitle="true"
|
|
7
|
-
@removeMessage={{this.removeMessage}}
|
|
8
|
-
@solveMessage={{this.solveMessage}}
|
|
9
|
-
@envChangedAction={{this.envChanged}}
|
|
10
|
-
@currentEnvPosition={{this.envPosition}}
|
|
11
|
-
@actionsInMenu={{false}}
|
|
12
|
-
/>
|
|
13
|
-
</div>
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"schemaVersion": "1.0.0",
|
|
3
|
-
"packages": [
|
|
4
|
-
{
|
|
5
|
-
"name": "ember-cli",
|
|
6
|
-
"version": "3.28.6",
|
|
7
|
-
"blueprints": [
|
|
8
|
-
{
|
|
9
|
-
"name": "app",
|
|
10
|
-
"outputRepo": "https://github.com/ember-cli/ember-new-output",
|
|
11
|
-
"codemodsSource": "ember-app-codemods-manifest@1",
|
|
12
|
-
"isBaseBlueprint": true,
|
|
13
|
-
"options": ["--no-welcome"]
|
|
14
|
-
}
|
|
15
|
-
]
|
|
16
|
-
}
|
|
17
|
-
]
|
|
18
|
-
}
|
|
@@ -1,51 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
module.exports = function (environment) {
|
|
4
|
-
let ENV = {
|
|
5
|
-
modulePrefix: "client-app",
|
|
6
|
-
environment,
|
|
7
|
-
rootURL: "/logs",
|
|
8
|
-
locationType: "history",
|
|
9
|
-
EmberENV: {
|
|
10
|
-
FEATURES: {
|
|
11
|
-
// Here you can enable experimental features on an ember canary build
|
|
12
|
-
// e.g. EMBER_NATIVE_DECORATOR_SUPPORT: true
|
|
13
|
-
},
|
|
14
|
-
EXTEND_PROTOTYPES: {
|
|
15
|
-
// Prevent Ember Data from overriding Date.parse.
|
|
16
|
-
Date: false,
|
|
17
|
-
},
|
|
18
|
-
},
|
|
19
|
-
|
|
20
|
-
APP: {
|
|
21
|
-
// Here you can pass flags/options to your application instance
|
|
22
|
-
// when it is created
|
|
23
|
-
},
|
|
24
|
-
};
|
|
25
|
-
|
|
26
|
-
if (environment === "development") {
|
|
27
|
-
// ENV.APP.LOG_RESOLVER = true;
|
|
28
|
-
// ENV.APP.LOG_ACTIVE_GENERATION = true;
|
|
29
|
-
// ENV.APP.LOG_TRANSITIONS = true;
|
|
30
|
-
// ENV.APP.LOG_TRANSITIONS_INTERNAL = true;
|
|
31
|
-
// ENV.APP.LOG_VIEW_LOOKUPS = true;
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
if (environment === "test") {
|
|
35
|
-
// Testem prefers this...
|
|
36
|
-
ENV.locationType = "none";
|
|
37
|
-
|
|
38
|
-
// keep test console output quieter
|
|
39
|
-
ENV.APP.LOG_ACTIVE_GENERATION = false;
|
|
40
|
-
ENV.APP.LOG_VIEW_LOOKUPS = false;
|
|
41
|
-
|
|
42
|
-
ENV.APP.rootElement = "#ember-testing";
|
|
43
|
-
ENV.APP.autoboot = false;
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
if (environment === "production") {
|
|
47
|
-
// here you can enable a production-specific feature
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
return ENV;
|
|
51
|
-
};
|
data/client-app/config/icons.js
DELETED
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
module.exports = function () {
|
|
2
|
-
return {
|
|
3
|
-
"free-solid-svg-icons": [
|
|
4
|
-
"arrow-left",
|
|
5
|
-
"check-square",
|
|
6
|
-
"trash-alt",
|
|
7
|
-
"ellipsis-h",
|
|
8
|
-
"share",
|
|
9
|
-
"external-link-square-alt",
|
|
10
|
-
"fast-backward",
|
|
11
|
-
"backward",
|
|
12
|
-
"fast-forward",
|
|
13
|
-
"forward",
|
|
14
|
-
"plus",
|
|
15
|
-
"check",
|
|
16
|
-
"redo-alt",
|
|
17
|
-
"exclamation-circle",
|
|
18
|
-
"times-circle",
|
|
19
|
-
"question-circle",
|
|
20
|
-
"cog",
|
|
21
|
-
"lock",
|
|
22
|
-
"unlock",
|
|
23
|
-
"list",
|
|
24
|
-
],
|
|
25
|
-
"free-regular-svg-icons": ["trash-alt", "check-square", "copy", "clone"],
|
|
26
|
-
// "free-brands-svg-icons": []
|
|
27
|
-
};
|
|
28
|
-
};
|