logster 2.9.6 → 2.10.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/ci.yml +50 -43
- data/.gitignore +0 -20
- data/CHANGELOG.md +17 -0
- data/assets/javascript/client-app.js +2 -2
- data/assets/stylesheets/client-app.css +1 -1
- data/client-app/app/index.html +2 -1
- data/client-app/app/styles/app.css +87 -1
- data/client-app/app/templates/show.hbs +2 -1
- data/client-app/package-lock.json +296 -164
- data/client-app/package.json +1 -0
- data/lib/logster/configuration.rb +3 -1
- data/lib/logster/message.rb +4 -1
- data/lib/logster/middleware/viewer.rb +1 -0
- data/lib/logster/redis_store.rb +1 -0
- data/lib/logster/version.rb +1 -1
- data/logster.gemspec +4 -2
- data/test/logster/test_message.rb +12 -0
- metadata +11 -11
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d7d7bbfdfabe4f8bb2da6f382313fb9c26b7f3cf1a4ecfa60f309e82d0775fe2
|
4
|
+
data.tar.gz: 44a8763ee338b38fdb5588c131d34a29b592e4f390d68fa22e3801dde42a8455
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 32026ddb7f0db0585faa40de68c30aa9d9a64390d90c575074cd5cf3e96c14e2f5330416bcfce78e3795539b4317883dfb0def7dbf8f7009555ac992bb6cbc6b
|
7
|
+
data.tar.gz: 6c793ef57adcd2913d648147e5bd888d22530081839c3c335f3777cd2e5c28304e4c8545a23cef6c6ca2152e8b92e987b8660864dd0264b7005310261b467922
|
data/.github/workflows/ci.yml
CHANGED
@@ -1,63 +1,70 @@
|
|
1
|
-
name:
|
1
|
+
name: CI
|
2
2
|
|
3
3
|
on:
|
4
|
+
pull_request:
|
4
5
|
push:
|
5
6
|
branches:
|
6
7
|
- master
|
7
|
-
|
8
|
+
- main
|
8
9
|
|
9
10
|
jobs:
|
10
|
-
|
11
|
+
build:
|
11
12
|
runs-on: ubuntu-latest
|
12
|
-
|
13
|
+
|
14
|
+
services:
|
15
|
+
redis:
|
16
|
+
image: redis
|
17
|
+
ports:
|
18
|
+
- 6379:6379
|
19
|
+
|
13
20
|
strategy:
|
14
21
|
matrix:
|
15
|
-
ruby:
|
16
|
-
|
22
|
+
ruby:
|
23
|
+
- 2.5
|
24
|
+
- 2.6
|
25
|
+
- 2.7
|
26
|
+
- 3.0
|
27
|
+
|
17
28
|
steps:
|
18
29
|
- uses: actions/checkout@v2
|
19
|
-
|
30
|
+
|
31
|
+
- name: Setup ruby
|
32
|
+
uses: ruby/setup-ruby@v1
|
20
33
|
with:
|
21
34
|
ruby-version: ${{ matrix.ruby }}
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
- name: Bundler cache
|
26
|
-
uses: actions/cache@v2
|
27
|
-
with:
|
28
|
-
path: vendor/bundle
|
29
|
-
key: ${{ runner.os }}-${{ matrix.ruby }}-gems-${{ hashFiles('**/Gemfile.lock') }}
|
30
|
-
restore-keys: |
|
31
|
-
${{ runner.os }}-${{ matrix.ruby }}-gems-
|
32
|
-
- name: Setup gems
|
33
|
-
run: |
|
34
|
-
gem install bundler
|
35
|
-
bundle config path vendor/bundle
|
36
|
-
bundle install --jobs 4
|
37
|
-
- name: Rubocop
|
35
|
+
bundler-cache: true
|
36
|
+
|
37
|
+
- name: Ruby lint
|
38
38
|
run: bundle exec rubocop
|
39
|
+
|
39
40
|
- name: Tests
|
40
41
|
run: bundle exec rake test
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
42
|
+
|
43
|
+
- uses: actions/setup-node@v2
|
44
|
+
with:
|
45
|
+
node-version: 16
|
46
|
+
cache: npm
|
47
|
+
cache-dependency-path: client-app/package-lock.json
|
48
|
+
|
49
|
+
- name: Npm install
|
50
|
+
working-directory: client-app
|
51
|
+
run: npm install
|
52
|
+
|
53
|
+
- name: JS linting
|
46
54
|
working-directory: client-app
|
55
|
+
run: npm run lint
|
56
|
+
|
57
|
+
publish:
|
58
|
+
if: github.event_name == 'push' && (github.ref == 'refs/heads/main' || github.ref == 'refs/heads/master')
|
59
|
+
needs: build
|
60
|
+
runs-on: ubuntu-latest
|
61
|
+
|
47
62
|
steps:
|
48
63
|
- uses: actions/checkout@v2
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
path: ${{ steps.yarn-cache-dir.outputs.dir }}
|
57
|
-
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
|
58
|
-
restore-keys: |
|
59
|
-
${{ runner.os }}-yarn-
|
60
|
-
- name: Yarn install
|
61
|
-
run: yarn install
|
62
|
-
- name: ESLint
|
63
|
-
run: yarn eslint .
|
64
|
+
|
65
|
+
- name: Release Gem
|
66
|
+
uses: discourse/publish-rubygems-action@v2
|
67
|
+
env:
|
68
|
+
RUBYGEMS_API_KEY: ${{ secrets.RUBYGEMS_API_KEY }}
|
69
|
+
GIT_EMAIL: team@discourse.org
|
70
|
+
GIT_NAME: discoursebot
|
data/.gitignore
CHANGED
@@ -1,21 +1 @@
|
|
1
|
-
*.gem
|
2
|
-
*.rbc
|
3
|
-
.bundle
|
4
|
-
.config
|
5
|
-
.yardoc
|
6
1
|
Gemfile.lock
|
7
|
-
InstalledFiles
|
8
|
-
_yardoc
|
9
|
-
coverage
|
10
|
-
doc/
|
11
|
-
lib/bundler/man
|
12
|
-
pkg
|
13
|
-
rdoc
|
14
|
-
spec/reports
|
15
|
-
test/tmp
|
16
|
-
test/version_tmp
|
17
|
-
tmp
|
18
|
-
.byebug_history
|
19
|
-
.rubocop-https---raw-githubusercontent-com-discourse-discourse-master--rubocop-yml
|
20
|
-
*.swo
|
21
|
-
*.swp
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,21 @@
|
|
1
1
|
# CHANGELOG
|
2
2
|
|
3
|
+
- 2021-11-26: 2.10.1
|
4
|
+
|
5
|
+
- UX: More dark-mode related changes
|
6
|
+
|
7
|
+
- 2021-11-26: 2.10.0
|
8
|
+
|
9
|
+
- FEATURE: Introduce dark mode
|
10
|
+
|
11
|
+
- 2021-10-27: 2.9.8
|
12
|
+
|
13
|
+
- FIX: We weren't properly memoizing the hostname
|
14
|
+
|
15
|
+
- 2021-07-01: 2.9.7
|
16
|
+
|
17
|
+
- FEATURE: Optionally use full hostname
|
18
|
+
|
3
19
|
- 2021-02-19: 2.9.6
|
4
20
|
|
5
21
|
- UX: Make `Warn` level visible by default
|
@@ -344,4 +360,5 @@
|
|
344
360
|
- Feature: Store backtraces, allow people to view them in the GUI
|
345
361
|
|
346
362
|
- 2014-05-07: Started changelog :)
|
363
|
+
|
347
364
|
- Report params in env tab
|
@@ -292,6 +292,6 @@ var t=Ember.HTMLBars.template({id:"kZA2i0MB",block:'{"symbols":["row"],"statemen
|
|
292
292
|
e.default=t})),define("client-app/templates/settings",["exports"],(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
|
293
293
|
var t=Ember.HTMLBars.template({id:"QRu+EVou",block:'{"symbols":[],"statements":[[7,"div",true],[10,"class","settings-page"],[8],[0,"\\n "],[4,"link-to",null,[["route"],["index"]],{"statements":[[0,"Home"]],"parameters":[]},null],[0,"\\n "],[7,"div",true],[10,"class","settings-header"],[8],[0,"\\n "],[7,"h1",true],[10,"class","header-title"],[8],[0,"Settings"],[9],[0,"\\n "],[7,"img",true],[10,"class","header-logo"],[11,"src",[28,"logster-url",["images/icon_144x144.png"],null]],[8],[9],[0,"\\n "],[9],[0,"\\n\\n "],[7,"div",true],[10,"class","settings-section suppression-patterns"],[8],[0,"\\n "],[7,"h2",true],[10,"class","section-title"],[8],[0,"Suppression Patterns"],[9],[0,"\\n "],[7,"div",true],[8],[0,"New messages that match these Regular Expression patterns will be suppressed. Checking Apply retroactively will remove all existing messages that match the patterns."],[9],[0,"\\n\\n"],[4,"if",[[24,["showCodedSuppression"]]],null,{"statements":[[0," "],[7,"h3",true],[10,"class","subsection-title"],[8],[0,"Hard-coded patterns:"],[9],[0,"\\n "],[7,"div",true],[10,"class","tip"],[8],[0,"These patterns can\'t be removed via the UI because they are commited to the source code of your app."],[9],[0,"\\n "],[1,[28,"patterns-list",null,[["patterns","mutable"],[[24,["codedSuppression"]],false]]],false],[0,"\\n"]],"parameters":[]},null],[0,"\\n "],[7,"h3",true],[10,"class","subsection-title"],[8],[0,"Custom patterns:"],[9],[0,"\\n "],[1,[28,"patterns-list",null,[["patterns","key","applyRetroactivelyCheckbox","mutable"],[[24,["customSuppression"]],"suppression",true,true]]],false],[0,"\\n "],[9],[0,"\\n "],[7,"div",true],[10,"class","settings-section grouping-patterns"],[8],[0,"\\n "],[7,"h2",true],[10,"class","section-title"],[8],[0,"Grouping Patterns"],[9],[0,"\\n "],[7,"div",true],[8],[0,"Add a Regular Expression pattern to group all new and existing messages into a single row when viewing the logs."],[9],[0,"\\n\\n "],[1,[28,"patterns-list",null,[["patterns","key","mutable"],[[24,["grouping"]],"grouping",true]]],false],[0,"\\n "],[9],[0,"\\n"],[9],[0,"\\n"]],"hasEval":false}',meta:{moduleName:"client-app/templates/settings.hbs"}})
|
294
294
|
e.default=t})),define("client-app/templates/show",["exports"],(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
|
295
|
-
var t=Ember.HTMLBars.template({id:"
|
295
|
+
var t=Ember.HTMLBars.template({id:"ODDaTIqZ",block:'{"symbols":[],"statements":[[4,"link-to",null,[["class","route"],["recent-link","index"]],{"statements":[[0,"Recent"]],"parameters":[]},null],[0,"\\n\\n"],[7,"div",true],[10,"id","bottom-panel"],[10,"class","full"],[8],[0,"\\n "],[1,[28,"message-info",null,[["currentMessage","showTitle","envChangedAction","currentEnvPosition","actionsInMenu"],[[24,["model"]],"true",[28,"action",[[23,0,[]],"envChanged"],null],[24,["envPosition"]],false]]],false],[0,"\\n"],[9],[0,"\\n"]],"hasEval":false}',meta:{moduleName:"client-app/templates/show.hbs"}})
|
296
296
|
e.default=t})),define("client-app/config/environment",[],(function(){try{var e="client-app/config/environment",t=document.querySelector('meta[name="'+e+'"]').getAttribute("content"),n={default:JSON.parse(decodeURIComponent(t))}
|
297
|
-
return Object.defineProperty(n,"__esModule",{value:!0}),n}catch(r){throw new Error('Could not read config from meta tag with name "'+e+'".')}})),runningTests||require("client-app/app").default.create({name:"client-app",version:"
|
297
|
+
return Object.defineProperty(n,"__esModule",{value:!0}),n}catch(r){throw new Error('Could not read config from meta tag with name "'+e+'".')}})),runningTests||require("client-app/app").default.create({name:"client-app",version:"0.0.0+51cd06db"})
|
@@ -1 +1 @@
|
|
1
|
-
#bottom-panel:not(.full) .nav-controls.env-nav,.divider,.message-info,.nav-controls.group-nav{border-bottom:1px solid #ddd}body{font-family:Arial,"Liberation Sans","DejaVu Sans",sans-serif;font-size:12px}body.mobile,body.mobile .message{font-size:14px}pre{font-family:"Roboto Mono",Consolas,Monaco,Ubuntu Mono,monospace}table.env-table tbody tr td{border-top:none;line-height:18px;height:18px;vertical-align:top}table.env-table,table.env-table table{border-spacing:0;border-collapse:collapse}table.env-table td{padding-right:5px}tbody tr{width:98%}.message-row{font-family:Roboto;display:flex}.message-row .protected,.message-row .severity{text-align:center;width:25px;flex-grow:0;flex-shrink:0;font-size:12px}.message-row div{border-top:.5px #e9e9e9 solid;padding-top:1px;padding-bottom:1px;line-height:25px}.message-row .count{width:30px;flex-grow:0;flex-shrink:0;padding-right:4px;box-sizing:border-box;font-size:11px;font-weight:700;text-align:right}.message-row .message-body{flex-grow:1;flex-shrink:1;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;font-size:13px}.message-row .time{flex-grow:0;flex-shrink:0;color:#999;vertical-align:top;font-size:12px;padding-right:8px}.action-panel .search,.action-panel .svg-inline--fa,.pattern-wrapper .pattern-input,.pattern-wrapper .shrink,.search-clear-all .btn.clear span,.search-clear-all .clear,input,label span{vertical-align:middle}.message-row:hover{background-color:#f8f8f8;cursor:pointer}.message-row.selected{background-color:#dfdfdf}.svg-inline--fa.fatal{color:#e00}.svg-inline--fa.error{color:#900}.svg-inline--fa.warning{color:#feb800}.debug{color:#777}.btn,.tabs a{text-decoration:none;color:#333}.action-panel .search{border:1px solid #ddd;padding:3px;box-sizing:border-box}#log-table .show-more{text-align:center;height:30px;line-height:30px;text-decoration:none;background-color:#ddd;cursor:pointer;margin-top:8px}#bottom-panel{position:fixed;bottom:0;left:0;right:0;height:300px;background-color:#f1f1f1;padding:0 8px 8px;z-index:2}#bottom-panel.full{position:static;background-color:inherit;height:90%}#bottom-panel.full>div{padding-bottom:40px}#bottom-panel.full .tabs{display:none}#bottom-panel.full .message-info{position:static}#bottom-panel.full .message-info .content{display:block;position:static}#bottom-panel.full .save,#bottom-panel.full .share{bottom:10px}#bottom-panel.full button.delete{display:none}#bottom-panel.full .message-actions button{margin-top:8px}@media (max-width:382px){#bottom-panel.full .message-actions{height:73px}}@media (min-width:383px){#bottom-panel.full .message-actions{height:40px}}#bottom-panel.full .message-actions{position:fixed;width:100%;left:0;bottom:0;background-color:#eee;border-top:1px solid #dfdfdf;padding-left:10px}.divider,.tabs{border-top:1px solid #ddd}.message-actions{position:absolute;bottom:5px;right:0;margin-right:10px}.message-actions button{margin-left:5px}.divider{position:fixed;bottom:310px;left:0;right:0;height:15px;background-color:#fafafa;cursor:row-resize}.divider div{margin:auto;width:24px;height:1px;background-color:#ccc;position:relative}.divider .line-1{top:5px}.divider .line-2{top:6px}.divider .line-3{top:7px}#top-panel{position:fixed;top:0;left:0;right:0;bottom:320px;overflow:auto}.action-panel,.message-info,.nav-controls.group-nav{position:absolute;left:0;right:0}.message-info{top:0}#bottom-panel.group-view .message-info{top:43px}.action-panel{bottom:0;font-weight:700}.action-panel input{margin:0}.severity-filters label{margin-right:18px}.search-clear-all .clear{float:right}#log-table{margin:auto;width:99%}.btn span{display:inline}.hidden{display:none}.message-info .env-table,.message-info pre{position:relative;margin:5px 10px 10px}#overlay{position:fixed;z-index:99999;top:0;bottom:0;left:0;right:0;cursor:row-resize;opacity:0}.message-info .content,.tabs{position:absolute;left:0;right:0}.message-info .content{top:0;bottom:35px;overflow:auto;display:none}.message-info .content.active{display:block}.tabs{bottom:13px;list-style-type:none;margin:0 0 5px;padding:0 0 0 10px}.tabs a,.tabs li{position:relative}.tabs li{float:left;padding-right:5px;margin:0}.tabs a{top:6px;border:1px solid #ddd;border-top:none;border-bottom-left-radius:5px;border-bottom-right-radius:5px;padding:6px;background-color:#e1e1e1}.tabs a.active{border-top:1px solid #f1f1f1;background-color:#f1f1f1}.btn{display:inline-block;margin:0;padding:5px 12px;font-size:1em;line-height:0;text-align:center;cursor:pointer;transition:all .25s;background-color:#ddd;border:none;font-weight:400}.btn:hover{color:#000;background-color:#ccc}.btn .svg-inline--fa{margin-right:7px}.btn:active{text-shadow:none}.btn.danger:hover{background-color:#c63c1b;color:#eee}.btn.ok{background-color:#3781dc;color:#fff}.btn.ok:hover{background-color:#286dc2;color:#fff}.search-clear-all .btn.clear,.search-clear-all .search{height:100%}.search-clear-all .btn.clear,.search-clear-all .search,.severity-filters label{align-self:center}.search-clear-all .footer-btns .settings{height:100%;box-sizing:border-box;margin:0 7px;display:inline-flex;align-items:center}.search-clear-all{display:flex;justify-content:space-between}.search-clear-all .search{min-width:0;flex-shrink:2}.footer-btns{flex-grow:0;flex-shrink:0}@media (min-width:771px){.search-clear-all,.severity-filters{height:100%}.more-wrapping,.severity-filters{display:flex}.severity-filters{float:left}.action-panel{padding:10px;box-sizing:border-box;height:45px}.message-info{bottom:45px}}@media (max-width:770px){.severity-filters{padding:10px}.search-clear-all{padding:0 10px 10px}.action-panel{height:69px}.message-info{bottom:69px}}@media (max-width:430px){.severity-filters{overflow-x:scroll;overflow-y:hidden;white-space:nowrap}.more-wrapping:after,.more-wrapping:before{content:"";position:absolute;height:18px}.more-wrapping:before{width:15px;margin-left:-10px;background:linear-gradient(to right,#f1f1f1 0,rgba(241,241,241,.001) 100%)}.more-wrapping:after{right:0;width:23px;background:linear-gradient(to left,#f1f1f1 0,rgba(241,241,241,.001) 100%)}}.btn.no-text .svg-inline--fa{margin:0}.btn[disabled]{opacity:.5}.actions-menu{position:absolute;background:#fafafa;display:inline-flex;flex-direction:column;bottom:27px;right:45px;width:115px;padding:5px 5px 0;box-shadow:0 4px 14px rgba(0,0,0,.15);z-index:3}.actions-menu button{margin:0 0 5px;height:27px}.nav-controls{padding:10px}#bottom-panel:not(.full) .nav-controls.env-nav{position:sticky;position:-webkit-sticky;position:-moz-sticky;position:-ms-sticky;position:-o-sticky;top:0;background:#f1f1f1;z-index:1}.current-number{margin:0 7px}.expand-list{text-decoration:underline;color:#00f;cursor:pointer}.settings-page{max-width:1110px;margin-right:auto;margin-left:auto;font-size:15px;padding:0 10px 70px}.settings-header{display:flex;align-items:center;margin-bottom:5px}.settings-header .header-title{flex-grow:1}.settings-header .header-logo{width:50px;height:50px}.settings-section{padding-top:15px}.settings-section .section-title{margin-top:0}.settings-section .subsection-title{margin-bottom:10px}.settings-section .tip{font-style:italic;font-size:13px;color:grey}.settings-section .pattern-wrapper{margin-top:10px;font-size:16px;display:flex;height:33px}.settings-section .api-error{font-family:Consolas,"Roboto Mono",Monaco,Ubuntu Mono,monospace;margin-top:5px;color:red}.pattern-wrapper .pattern-input{font-family:Consolas,"Roboto Mono",Monaco,Ubuntu Mono,monospace;width:600px;font-size:inherit;padding:5px 0;height:100%;box-sizing:border-box;flex-grow:1;flex-shrink:1}.retro-checkbox .checkbox{margin:0}.retro-checkbox{margin-top:7px}.btn.new-pattern{height:100%;line-height:18px}.pattern-wrapper .shrink{height:100%;width:40px;text-align:center;box-sizing:border-box;flex-grow:0;flex-shrink:0;margin-left:10px}.svg-inline--fa{opacity:.7}.pattern-wrapper .shrink.reset{background:unset;width:unset;padding:0;margin-left:8px}.grouping-patterns button.new-pattern{margin-top:10px}.backtrace-line .line-link{color:#9e9e9e;margin-left:3px}
|
1
|
+
#bottom-panel:not(.full) .nav-controls.env-nav,.divider,.message-info,.nav-controls.group-nav{border-bottom:1px solid #ddd}body{font-family:Arial,"Liberation Sans","DejaVu Sans",sans-serif;font-size:12px}body.mobile,body.mobile .message{font-size:14px}pre{font-family:"Roboto Mono",Consolas,Monaco,Ubuntu Mono,monospace}table.env-table tbody tr td{border-top:none;line-height:18px;height:18px;vertical-align:top}table.env-table,table.env-table table{border-spacing:0;border-collapse:collapse}table.env-table td{padding-right:5px}tbody tr{width:98%}.message-row{font-family:Roboto;display:flex}.message-row .protected,.message-row .severity{text-align:center;width:25px;flex-grow:0;flex-shrink:0;font-size:12px}.message-row div{border-top:.5px #e9e9e9 solid;padding-top:1px;padding-bottom:1px;line-height:25px}.message-row .count{width:30px;flex-grow:0;flex-shrink:0;padding-right:4px;box-sizing:border-box;font-size:11px;font-weight:700;text-align:right}.message-row .message-body{flex-grow:1;flex-shrink:1;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;font-size:13px}.message-row .time{flex-grow:0;flex-shrink:0;color:#999;vertical-align:top;font-size:12px;padding-right:8px}.action-panel .search,.action-panel .svg-inline--fa,.pattern-wrapper .pattern-input,.pattern-wrapper .shrink,.search-clear-all .btn.clear span,.search-clear-all .clear,input,label span{vertical-align:middle}.message-row:hover{background-color:#f8f8f8;cursor:pointer}.message-row.selected{background-color:#dfdfdf}.svg-inline--fa.fatal{color:#e00}.svg-inline--fa.error{color:#900}.svg-inline--fa.warning{color:#feb800}.debug{color:#777}.btn,.tabs a{text-decoration:none;color:#333}.action-panel .search{border:1px solid #ddd;padding:3px;box-sizing:border-box}#log-table .show-more{text-align:center;height:30px;line-height:30px;text-decoration:none;background-color:#ddd;cursor:pointer;margin-top:8px}#bottom-panel{position:fixed;bottom:0;left:0;right:0;height:300px;background-color:#f1f1f1;padding:0 8px 8px;z-index:2}#bottom-panel.full{position:static;background-color:inherit;height:90%}#bottom-panel.full>div{padding-bottom:40px}#bottom-panel.full .tabs{display:none}#bottom-panel.full .message-info{position:static}#bottom-panel.full .message-info .content{display:block;position:static}#bottom-panel.full .save,#bottom-panel.full .share{bottom:10px}#bottom-panel.full button.delete{display:none}#bottom-panel.full .message-actions button{margin-top:8px}@media (max-width:382px){#bottom-panel.full .message-actions{height:73px}}@media (min-width:383px){#bottom-panel.full .message-actions{height:40px}}#bottom-panel.full .message-actions{position:fixed;width:100%;left:0;bottom:0;background-color:#eee;border-top:1px solid #dfdfdf;padding-left:10px}.divider,.tabs{border-top:1px solid #ddd}.message-actions{position:absolute;bottom:5px;right:0;margin-right:10px}.message-actions button{margin-left:5px}.divider{position:fixed;bottom:310px;left:0;right:0;height:15px;background-color:#fafafa;cursor:row-resize}.divider div{margin:auto;width:24px;height:1px;background-color:#ccc;position:relative}.divider .line-1{top:5px}.divider .line-2{top:6px}.divider .line-3{top:7px}#top-panel{position:fixed;top:0;left:0;right:0;bottom:320px;overflow:auto}.action-panel,.message-info,.nav-controls.group-nav{position:absolute;left:0;right:0}.message-info{top:0}#bottom-panel.group-view .message-info{top:43px}.action-panel{bottom:0;font-weight:700}.action-panel input{margin:0}.severity-filters label{margin-right:18px}.search-clear-all .clear{float:right}#log-table{margin:auto;width:99%}.btn span{display:inline}.hidden{display:none}.message-info .env-table,.message-info pre{position:relative;margin:5px 10px 10px}#overlay{position:fixed;z-index:99999;top:0;bottom:0;left:0;right:0;cursor:row-resize;opacity:0}.message-info .content,.tabs{position:absolute;left:0;right:0}.message-info .content{top:0;bottom:35px;overflow:auto;display:none}.message-info .content.active{display:block}.tabs{bottom:13px;list-style-type:none;margin:0 0 5px;padding:0 0 0 10px}.tabs a,.tabs li{position:relative}.tabs li{float:left;padding-right:5px;margin:0}.tabs a{top:6px;border:1px solid #ddd;border-top:none;border-bottom-left-radius:5px;border-bottom-right-radius:5px;padding:6px;background-color:#e1e1e1}.tabs a.active{border-top:1px solid #f1f1f1;background-color:#f1f1f1}.btn{display:inline-block;margin:0;padding:5px 12px;font-size:1em;line-height:0;text-align:center;cursor:pointer;transition:all .25s;background-color:#ddd;border:none;font-weight:400}.btn:hover{color:#000;background-color:#ccc}.btn .svg-inline--fa{margin-right:7px}.btn:active{text-shadow:none}.btn.danger:hover{background-color:#c63c1b;color:#eee}.btn.ok{background-color:#3781dc;color:#fff}.btn.ok:hover{background-color:#286dc2;color:#fff}.search-clear-all .btn.clear,.search-clear-all .search{height:100%}.search-clear-all .btn.clear,.search-clear-all .search,.severity-filters label{align-self:center}.search-clear-all .footer-btns .settings{height:100%;box-sizing:border-box;margin:0 7px;display:inline-flex;align-items:center}.search-clear-all{display:flex;justify-content:space-between}.search-clear-all .search{min-width:0;flex-shrink:2}.footer-btns{flex-grow:0;flex-shrink:0}@media (min-width:771px){.search-clear-all,.severity-filters{height:100%}.more-wrapping,.severity-filters{display:flex}.severity-filters{float:left}.action-panel{padding:10px;box-sizing:border-box;height:45px}.message-info{bottom:45px}}@media (max-width:770px){.severity-filters{padding:10px}.search-clear-all{padding:0 10px 10px}.action-panel{height:69px}.message-info{bottom:69px}}@media (max-width:430px){.severity-filters{overflow-x:scroll;overflow-y:hidden;white-space:nowrap}.more-wrapping:after,.more-wrapping:before{content:"";position:absolute;height:18px}.more-wrapping:before{width:15px;margin-left:-10px;background:linear-gradient(to right,#f1f1f1 0,rgba(241,241,241,.001) 100%)}.more-wrapping:after{right:0;width:23px;background:linear-gradient(to left,#f1f1f1 0,rgba(241,241,241,.001) 100%)}}.btn.no-text .svg-inline--fa{margin:0}.btn[disabled]{opacity:.5}.actions-menu{position:absolute;background:#fafafa;display:inline-flex;flex-direction:column;bottom:27px;right:45px;width:115px;padding:5px 5px 0;box-shadow:0 4px 14px rgba(0,0,0,.15);z-index:3}.actions-menu button{margin:0 0 5px;height:27px}.nav-controls{padding:10px}#bottom-panel:not(.full) .nav-controls.env-nav{position:sticky;position:-webkit-sticky;position:-moz-sticky;position:-ms-sticky;position:-o-sticky;top:0;background:#f1f1f1;z-index:1}.current-number{margin:0 7px}.expand-list,.recent-link{text-decoration:underline;color:#00f;cursor:pointer}.settings-page{max-width:1110px;margin-right:auto;margin-left:auto;font-size:15px;padding:0 10px 70px}.settings-header{display:flex;align-items:center;margin-bottom:5px}.settings-header .header-title{flex-grow:1}.settings-header .header-logo{width:50px;height:50px}.settings-section{padding-top:15px}.settings-section .section-title{margin-top:0}.settings-section .subsection-title{margin-bottom:10px}.settings-section .tip{font-style:italic;font-size:13px;color:grey}.settings-section .pattern-wrapper{margin-top:10px;font-size:16px;display:flex;height:33px}.settings-section .api-error{font-family:Consolas,"Roboto Mono",Monaco,Ubuntu Mono,monospace;margin-top:5px;color:red}.pattern-wrapper .pattern-input{font-family:Consolas,"Roboto Mono",Monaco,Ubuntu Mono,monospace;width:600px;font-size:inherit;padding:5px 0;height:100%;box-sizing:border-box;flex-grow:1;flex-shrink:1}.retro-checkbox .checkbox{margin:0}.retro-checkbox{margin-top:7px}.btn.new-pattern{height:100%;line-height:18px}.pattern-wrapper .shrink{height:100%;width:40px;text-align:center;box-sizing:border-box;flex-grow:0;flex-shrink:0;margin-left:10px}.svg-inline--fa{opacity:.7}.pattern-wrapper .shrink.reset{background:unset;width:unset;padding:0;margin-left:8px}.grouping-patterns button.new-pattern{margin-top:10px}.backtrace-line .line-link{color:#9e9e9e;margin-left:3px}@media (prefers-color-scheme:dark){#bottom-panel,body{background:#181818}.btn,.tabs a,body{color:#cecece}.message-row div{border-top-color:#404040}.message-row:hover{background:#262626}.message-row.selected{background:#303030}#log-table .show-more,.divider{background:#262626}.divider div{background:#707070}.divider,.tabs{border-top-color:#555}#bottom-panel:not(.full) .nav-controls.env-nav,.divider,.message-info,.nav-controls.group-nav{border-bottom-color:#555}.action-panel .search{background:#262626;border-color:#404040}.tabs a{background:#323232;border-color:#404040}.tabs a.active{background:#555;border-color:#707070;color:#f4f4f4}.btn{background:#323232}#bottom-panel.full .message-actions{background:#181818;border-color:#555}#bottom-panel:not(.full) .nav-controls.env-nav{background:#181818}.expand-list,.recent-link{color:#44f}}
|
data/client-app/app/index.html
CHANGED
@@ -7,7 +7,8 @@
|
|
7
7
|
<meta name="description" content="">
|
8
8
|
<meta name="viewport" content="width=device-width, minimum-scale=1.0, maximum-scale=1.0, user-scalable=yes">
|
9
9
|
<meta id="preloaded-data" data-root-path="/logs">
|
10
|
-
|
10
|
+
<meta name="color-scheme" content="dark light">
|
11
|
+
|
11
12
|
{{content-for "head"}}
|
12
13
|
|
13
14
|
<link integrity="" rel="stylesheet" href="{{rootURL}}assets/vendor.css">
|
@@ -378,7 +378,6 @@ label span {
|
|
378
378
|
display: inline-block;
|
379
379
|
margin: 0;
|
380
380
|
padding: 5px 12px;
|
381
|
-
font-weight: 500;
|
382
381
|
font-size: 1em;
|
383
382
|
line-height: 0;
|
384
383
|
text-align: center;
|
@@ -574,6 +573,7 @@ label span {
|
|
574
573
|
margin: 0 7px;
|
575
574
|
}
|
576
575
|
|
576
|
+
.recent-link,
|
577
577
|
.expand-list {
|
578
578
|
text-decoration: underline;
|
579
579
|
color: blue;
|
@@ -690,3 +690,89 @@ label span {
|
|
690
690
|
color: #9e9e9e;
|
691
691
|
margin-left: 3px;
|
692
692
|
}
|
693
|
+
|
694
|
+
@media (prefers-color-scheme: dark) {
|
695
|
+
body {
|
696
|
+
background: #181818;
|
697
|
+
color: #cecece;
|
698
|
+
}
|
699
|
+
|
700
|
+
#bottom-panel {
|
701
|
+
background: #181818;
|
702
|
+
}
|
703
|
+
|
704
|
+
.message-row div {
|
705
|
+
border-top-color: #404040;
|
706
|
+
}
|
707
|
+
|
708
|
+
.message-row:hover {
|
709
|
+
background: #262626;
|
710
|
+
}
|
711
|
+
|
712
|
+
.message-row.selected {
|
713
|
+
background: #303030;
|
714
|
+
}
|
715
|
+
|
716
|
+
#log-table .show-more {
|
717
|
+
background: #262626;
|
718
|
+
}
|
719
|
+
|
720
|
+
.divider {
|
721
|
+
background: #262626;
|
722
|
+
}
|
723
|
+
|
724
|
+
.divider div {
|
725
|
+
background: #707070;
|
726
|
+
}
|
727
|
+
|
728
|
+
.divider,
|
729
|
+
.tabs {
|
730
|
+
border-top-color: #555;
|
731
|
+
}
|
732
|
+
|
733
|
+
#bottom-panel:not(.full) .nav-controls.env-nav,
|
734
|
+
.divider,
|
735
|
+
.message-info,
|
736
|
+
.nav-controls.group-nav {
|
737
|
+
border-bottom-color: #555;
|
738
|
+
}
|
739
|
+
|
740
|
+
.action-panel .search {
|
741
|
+
background: #262626;
|
742
|
+
border-color: #404040;
|
743
|
+
}
|
744
|
+
|
745
|
+
.btn,
|
746
|
+
.tabs a {
|
747
|
+
color: #cecece;
|
748
|
+
}
|
749
|
+
|
750
|
+
.tabs a {
|
751
|
+
background: #323232;
|
752
|
+
border-color: #404040;
|
753
|
+
}
|
754
|
+
|
755
|
+
.tabs a.active {
|
756
|
+
background: #555;
|
757
|
+
border-color: #707070;
|
758
|
+
color: #f4f4f4;
|
759
|
+
}
|
760
|
+
|
761
|
+
.btn {
|
762
|
+
background: #323232;
|
763
|
+
}
|
764
|
+
|
765
|
+
#bottom-panel.full .message-actions {
|
766
|
+
background: #181818;
|
767
|
+
border-color: #555;
|
768
|
+
}
|
769
|
+
|
770
|
+
#bottom-panel:not(.full) .nav-controls.env-nav {
|
771
|
+
background: #181818;
|
772
|
+
}
|
773
|
+
|
774
|
+
.recent-link,
|
775
|
+
.expand-list {
|
776
|
+
color: #44f;
|
777
|
+
}
|
778
|
+
}
|