logster 2.9.4 → 2.9.8

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: d9d6c7cc98a47f68d74d25ae8773f30b94958b8fa819e5c57e505ef89ad070e3
4
- data.tar.gz: 7ccedd348aea7ff1e64461e5482cf0f5522913ea0f14f9df8d47f5106dbb071c
3
+ metadata.gz: 89500e5bfd2b454b1ef16d821d282ea3d00e1907ff20ec8c0792a7f00a9972fd
4
+ data.tar.gz: bd0c227128a5b36805dc0a329e956f42cfb1b1ccdcb92a2f105a3bee67fa3a79
5
5
  SHA512:
6
- metadata.gz: efb91b85854b7cd7d5db010a7f079d4cf26ec21d6e7de8a09837e78ac2f213c4691a2478ae9f15dc94eab6fae6c9876e1c1d73a9ff3e9167c9840e26bba98f5e
7
- data.tar.gz: 327df331e58de16eb76519b23aae53bc934486a5ecde2026b083bf885944c26df590ceaf189810f274ab53627471b1bfe69f5466a9e6d5b8eaed2eba482d6ffd
6
+ metadata.gz: 8694c1dfafca3d8c171862e29ca9425e102c6082041e81ac8e714a78ef3adaf48b67fca2d4ccfad1683d69589a338c9ebb1d0d45c0c6f5dcb5975749996c363c
7
+ data.tar.gz: df8dc165edd2156681eb0aefcc1e874df30c9358a452d116cdef5e32e394d8b754672ca9937489395edc67b113334de4886fde43d6648f58a48eaa945155bd40
@@ -0,0 +1,75 @@
1
+ name: CI
2
+
3
+ on:
4
+ pull_request:
5
+ push:
6
+ branches:
7
+ - master
8
+ - main
9
+
10
+ jobs:
11
+ build:
12
+ runs-on: ubuntu-latest
13
+
14
+ services:
15
+ redis:
16
+ image: redis
17
+ ports:
18
+ - 6379:6379
19
+
20
+ strategy:
21
+ matrix:
22
+ ruby:
23
+ - 2.5
24
+ - 2.6
25
+ - 2.7
26
+ - 3.0
27
+
28
+ steps:
29
+ - uses: actions/checkout@v2
30
+
31
+ - name: Setup ruby
32
+ uses: ruby/setup-ruby@v1
33
+ with:
34
+ ruby-version: ${{ matrix.ruby }}
35
+ bundler-cache: true
36
+
37
+ - name: Lint
38
+ run: bundle exec rubocop
39
+
40
+ - name: Tests
41
+ run: bundle exec rake test
42
+
43
+ - name: Get yarn cache directory
44
+ id: yarn-cache-dir
45
+ run: echo "::set-output name=dir::$(yarn cache dir)"
46
+
47
+ - name: Yarn cache
48
+ uses: actions/cache@v2
49
+ id: yarn-cache
50
+ with:
51
+ path: ${{ steps.yarn-cache-dir.outputs.dir }}
52
+ key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
53
+ restore-keys: |
54
+ ${{ runner.os }}-yarn-
55
+
56
+ - name: Yarn install
57
+ run: cd client-app && yarn install
58
+
59
+ - name: ESLint
60
+ run: cd client-app && yarn eslint .
61
+
62
+ publish:
63
+ if: github.event_name == 'push' && (github.ref == 'refs/heads/main' || github.ref == 'refs/heads/master')
64
+ needs: build
65
+ runs-on: ubuntu-latest
66
+
67
+ steps:
68
+ - uses: actions/checkout@v2
69
+
70
+ - name: Release Gem
71
+ uses: discourse/publish-rubygems-action@v2-beta
72
+ env:
73
+ RUBYGEMS_API_KEY: ${{ secrets.RUBYGEMS_API_KEY }}
74
+ GIT_EMAIL: team@discourse.org
75
+ 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/.rubocop.yml CHANGED
@@ -1,2 +1,8 @@
1
1
  inherit_gem:
2
2
  rubocop-discourse: default.yml
3
+ inherit_mode:
4
+ merge:
5
+ - Exclude
6
+ AllCops:
7
+ Exclude:
8
+ - 'client-app/**/*'
data/CHANGELOG.md CHANGED
@@ -1,5 +1,18 @@
1
1
  # CHANGELOG
2
2
 
3
+ - 2021-07-01: 2.9.7
4
+
5
+ - FEATURE: Optionally use full hostname
6
+
7
+ - 2021-02-19: 2.9.6
8
+
9
+ - UX: Make `Warn` level visible by default
10
+
11
+ - 2021-01-21: 2.9.5
12
+
13
+ - FIX: Stop encoding errors when converting Message objects to JSON (#128)
14
+ - DEV: Bump dependencies
15
+
3
16
  - 2020-09-01: 2.9.4
4
17
 
5
18
  - FEATURE: Merge messages differing only by numbers (#118)
@@ -107,7 +107,7 @@ var n=Ember.Component.extend({didInsertElement:function(){Ember.run.later(this,t
107
107
  if(n){var r=(0,t.formatTime)(n)
108
108
  r!==e.innerText&&(e.innerText=r)}})),Ember.run.later(this,this.updateTimes,6e4)}})
109
109
  e.default=n})),define("client-app/controllers/index",["exports","client-app/lib/utilities","client-app/lib/preload"],(function(e,t,n){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
110
- var r=Ember.Controller.extend({showDebug:(0,t.getLocalStorage)("showDebug",!1),showInfo:(0,t.getLocalStorage)("showInfo",!1),showWarn:(0,t.getLocalStorage)("showWarn",!1),showErr:(0,t.getLocalStorage)("showErr",!0),showFatal:(0,t.getLocalStorage)("showFatal",!0),search:"",queryParams:["search"],showSettings:Ember.computed((function(){return n.default.get("patterns_enabled")})),resizePanels:function(e){var t=document.getElementById("bottom-panel"),n=document.getElementById("top-panel")
110
+ var r=Ember.Controller.extend({showDebug:(0,t.getLocalStorage)("showDebug",!1),showInfo:(0,t.getLocalStorage)("showInfo",!1),showWarn:(0,t.getLocalStorage)("showWarn",!0),showErr:(0,t.getLocalStorage)("showErr",!0),showFatal:(0,t.getLocalStorage)("showFatal",!0),search:"",queryParams:["search"],showSettings:Ember.computed((function(){return n.default.get("patterns_enabled")})),resizePanels:function(e){var t=document.getElementById("bottom-panel"),n=document.getElementById("top-panel")
111
111
  t.style.height="".concat(e-13,"px"),n.style.bottom="".concat(e+12,"px")},actionsInMenu:Ember.computed((function(){return this.site.isMobile})),actions:{expandMessage:function(e){e.expand()},selectRowAction:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}
112
112
  this.model.selectRow(e,t)},tabChangedAction:function(e){this.model.tabChanged(e)},showMoreBefore:function(){this.model.showMoreBefore()},loadMore:function(){return this.model.loadMore()},clear:function(){var e=this
113
113
  confirm("Clear the logs?\n\nCancel = No, OK = Clear")&&(0,t.ajax)("/clear",{type:"POST"}).then((function(){e.model.reload()}))},removeMessage:function(e){var t=this.model.currentRow.group?this.model.currentRow:null,n=this.model.rows,r=t?n.indexOf(t):n.indexOf(e)
@@ -294,4 +294,4 @@ var t=Ember.HTMLBars.template({id:"QRu+EVou",block:'{"symbols":[],"statements":[
294
294
  e.default=t})),define("client-app/templates/show",["exports"],(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
295
295
  var t=Ember.HTMLBars.template({id:"Xt+M1cRV",block:'{"symbols":[],"statements":[[4,"link-to",null,[["route"],["index"]],{"statements":[[0,"Recent"]],"parameters":[]},null],[0,"\\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:"0.0.0+f6ee4769"})
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:"v2.9.5+847cfaf3"})
@@ -11,7 +11,7 @@ import { debounce } from "@ember/runloop";
11
11
  export default Controller.extend({
12
12
  showDebug: getLocalStorage("showDebug", false),
13
13
  showInfo: getLocalStorage("showInfo", false),
14
- showWarn: getLocalStorage("showWarn", false),
14
+ showWarn: getLocalStorage("showWarn", true),
15
15
  showErr: getLocalStorage("showErr", true),
16
16
  showFatal: getLocalStorage("showFatal", true),
17
17
  search: "",