logster 2.6.0 → 2.6.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 4ef8eaf7c957e7e9fb80ed3d2a75147a273fd113a46669c4de0911eff419ae4c
4
- data.tar.gz: 8507b6e88a0e798c01c5b83682b68178d80aa11c34b553212a09db60dee2f482
3
+ metadata.gz: d12233b962e2997050eb2bf882ef17887bf90ff710000fb1e3115bafcc47938f
4
+ data.tar.gz: 9d2355a1f9179b53fbd120f5a04c7079e985927a059e365c917df5f13a2b43d8
5
5
  SHA512:
6
- metadata.gz: a887153fd7e90db9c6717614096d512811d75e6c078f61ac984e9cde52d89f71a69853e1b63be0976a24a2a1ebb9031e816f516de295891a72a91085ed0e390e
7
- data.tar.gz: b1861a20bc19b8a80cf8d971c014d87615f219bd01477b1fa19b793e1c751674f6a6725e3869510133a2a0f50a3c6c916490b0163aa8afbbe3c140b410150fec
6
+ metadata.gz: 7f6d23d83e98760fc4931cb226b848cc4260345053d7d8d7624f876e28d1ff9ab37f8b5616539ebd4b0c4349478dff37782b1d7682a7a769babe027b142226cf
7
+ data.tar.gz: b869f46b981b7b07590223a2a26f39f32acdcc5ed851d3046d6a5232981971c9eceaa81ddb3edba388a9e9077a255364c103b947bece2e80275d8efbcb410d81
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # CHANGELOG
2
2
 
3
+ - 2020-02-07: 2.6.1
4
+
5
+ - FIX: Fetch env when row is selected to allow copy to work on Firefox
6
+
3
7
  - 2020-02-07: 2.6.0
4
8
 
5
9
  - DEV: Bump handlebars from 4.1.2 to 4.5.3 in /client-app (#102)
@@ -33,8 +33,7 @@ var n=Ember.Component.extend({showSolveAllButton:Ember.computed.bool("currentRow
33
33
  return!e&&this.showSolveButton&&t.push({klass:"solve",action:"solve",icon:"check-square-o",label:"Solve",danger:!0}),this.showSolveAllButton&&t.push({klass:"solve-all",action:"solveAll",icon:"check-square-o",label:"Solve All",danger:!0}),e?t.push({klass:"unprotect",action:"unprotect",icon:"unlock",label:"Unprotect"}):t.push({klass:"remove",action:"remove",icon:"trash-o",label:"Remove",danger:!0},{klass:"protect",action:"protect",icon:"lock",label:"Protect"}),t.push({klass:"copy",action:"copyAction",icon:"clipboard",label:"Copy"}),t})),showSolveButton:Ember.computed("showSolveAllButton","currentMessage.{canSolve,env}",(function(){return!this.showSolveAllButton&&(this.currentMessage.env?this.currentMessage.canSolve:!!t.default.get("application_version"))})),copy:function(){var e=document.createElement("TEXTAREA")
34
34
  document.body.appendChild(e)
35
35
  var t=this.currentMessage.showCount?"Message (".concat(this.currentMessage.count," copies reported)"):"Message",n="".concat(t,"\n\n").concat(this.currentMessage.message),a="Backtrace\n\n".concat(this.currentMessage.backtrace.split("\n").slice(0,10).join("\n")),r=Array.isArray(this.currentMessage.env)?this.currentMessage.env.map((function(e){return e.HTTP_HOST})).filter((function(e,t,n){return e&&n.indexOf(e)===t})).join(", "):this.currentMessage.env.HTTP_HOST,s=[n,a,r?"Env\n\nHTTP HOSTS: ".concat(r):""].filter((function(e){return e})).join("\n\n")
36
- e.value=s,e.select(),document.execCommand("copy"),document.body.removeChild(e)},actions:{tabChanged:function(e){this.onTabChange&&this.onTabChange(e)},protect:function(){this.currentMessage.protect()},unprotect:function(){this.currentMessage.unprotect()},remove:function(){this.removeMessage(this.currentMessage)},solve:function(){this.solveMessage(this.currentMessage)},solveAll:function(){this.currentRow.solveAll()},share:function(){window.location.pathname=this.get("currentMessage.shareUrl")},copyAction:function(){var e=this
37
- this.fetchEnv&&!this.currentMessage.env?this.fetchEnv({force:!0}).then((function(){return e.copy()})):this.copy()}}})
36
+ e.value=s,e.select(),document.execCommand("copy"),document.body.removeChild(e)},actions:{tabChanged:function(e){this.onTabChange&&this.onTabChange(e)},protect:function(){this.currentMessage.protect()},unprotect:function(){this.currentMessage.unprotect()},remove:function(){this.removeMessage(this.currentMessage)},solve:function(){this.solveMessage(this.currentMessage)},solveAll:function(){this.currentRow.solveAll()},share:function(){window.location.pathname=this.get("currentMessage.shareUrl")},copyAction:function(){this.copy()}}})
38
37
  e.default=n})),define("client-app/components/message-row",["exports"],(function(e){var t,n
39
38
  Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
40
39
  var a=Ember.Component.extend({tagName:"div",classNameBindings:["model.rowClass",":message-row","model.selected:selected"],click:function(){this.selectRow()},willInsertElement:function(){if(!t){var e=document.getElementById("top-panel")
@@ -167,7 +166,9 @@ return e&&e.group?e.messages[t]:e})),solve:function(e){var t=this
167
166
  e.solve().then((function(){t.reload()}))},selectRow:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=this.currentRow
168
167
  n&&n.set("selected",!1),e.set("selected",!0)
169
168
  var a=t.messageIndex||0,r=a===this.currentGroupedMessagesPosition
170
- this.setProperties({currentRow:e,loadingEnv:!1,currentGroupedMessagesPosition:a,currentEnvPosition:0}),r&&this.notifyPropertyChange("currentGroupedMessagesPosition"),this.fetchEnv()},tabChanged:function(e){this.setProperties({currentTab:e,loadingEnv:!1}),this.fetchEnv()},groupedMessageChanged:function(e){this.setProperties({currentGroupedMessagesPosition:e,currentEnvPosition:0}),this.fetchEnv()},envChanged:function(e){this.set("currentEnvPosition",e),this.fetchEnv()},fetchEnv:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=this.currentMessage
169
+ this.setProperties({currentRow:e,loadingEnv:!1,currentGroupedMessagesPosition:a,currentEnvPosition:0}),r&&this.notifyPropertyChange("currentGroupedMessagesPosition")
170
+ var s=this.currentMessage&&!this.currentMessage.env
171
+ this.fetchEnv({force:s})},tabChanged:function(e){this.setProperties({currentTab:e,loadingEnv:!1}),this.fetchEnv()},groupedMessageChanged:function(e){this.setProperties({currentGroupedMessagesPosition:e,currentEnvPosition:0}),this.fetchEnv()},envChanged:function(e){this.set("currentEnvPosition",e),this.fetchEnv()},fetchEnv:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=this.currentMessage
171
172
  if(t.force||n&&!n.env&&"env"===this.currentTab)return this.set("loadingEnv",!0),n.fetchEnv().finally((function(){return e.set("loadingEnv",!1)}))},findEquivalentMessageIndex:function(e){var t=0
172
173
  return e&&e.group&&this.currentRow&&this.currentRow.group&&e.key===this.currentRow.key&&(t=e.messages.mapBy("key").indexOf(this.currentMessage.key),t=Math.max(0,t)),t},updateSelectedRow:function(){var e=this.get("currentRow.key")
173
174
  if(e&&this.rows){var t=this.rows.find((function(t){return t.key===e}))
@@ -242,11 +243,11 @@ var t=Ember.HTMLBars.template({id:"66JSiIiX",block:'{"symbols":["tab","&default"
242
243
  e.default=t})),define("client-app/templates/components/time-formatter",["exports"],(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
243
244
  var t=Ember.HTMLBars.template({id:"Nb2l5Onl",block:'{"symbols":[],"statements":[[1,[22,"time"],false],[0,"\\n"]],"hasEval":false}',meta:{moduleName:"client-app/templates/components/time-formatter.hbs"}})
244
245
  e.default=t})),define("client-app/templates/index",["exports"],(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
245
- var t=Ember.HTMLBars.template({id:"2RzivmrL",block:'{"symbols":["row"],"statements":[[7,"div",true],[10,"id","top-panel"],[8],[0,"\\n "],[7,"div",true],[10,"id","log-table"],[8],[0,"\\n"],[4,"if",[[24,["model","moreBefore"]]],null,{"statements":[[0," "],[7,"div",false],[12,"class","show-more"],[3,"action",[[23,0,[]],"showMoreBefore"]],[8],[0,"\\n"],[4,"if",[[24,["model","hideCountInLoadMore"]]],null,{"statements":[[0," Load more\\n"]],"parameters":[]},{"statements":[[0," Select to see "],[1,[24,["model","totalBefore"]],false],[0," more\\n"]],"parameters":[]}],[0," "],[9],[0,"\\n"]],"parameters":[]},null],[4,"each",[[24,["model","rows"]]],null,{"statements":[[0," "],[1,[28,"message-row",null,[["model","selectRow"],[[23,1,[]],[28,"action",[[23,0,[]],"selectRowAction",[23,1,[]]],null]]]],false],[0,"\\n"]],"parameters":[1]},null],[0," "],[9],[0,"\\n"],[9],[0,"\\n"],[7,"div",true],[10,"id","bottom-panel"],[11,"class",[29,[[28,"if",[[24,["model","currentRow","group"]],"group-view"],null]]]],[8],[0,"\\n"],[4,"if",[[24,["model","currentRow","group"]]],null,{"statements":[[0," "],[1,[28,"page-nav",null,[["list","position","extraClasses","navigate"],[[24,["model","currentRow","messages"]],[24,["model","currentGroupedMessagesPosition"]],"group-nav",[28,"action",[[23,0,[]],"groupedMessageChangedAction"],null]]]],false],[0,"\\n"]],"parameters":[]},null],[0," "],[1,[28,"message-info",null,[["currentMessage","currentRow","loadingEnv","removeMessage","solveMessage","onTabChange","envChangedAction","currentEnvPosition","actionsInMenu","showShare","fetchEnv"],[[24,["model","currentMessage"]],[24,["model","currentRow"]],[24,["model","loadingEnv"]],[28,"action",[[23,0,[]],"removeMessage"],null],[28,"action",[[23,0,[]],"solveMessage"],null],[28,"action",[[23,0,[]],"tabChangedAction"],null],[28,"action",[[23,0,[]],"envChangedAction"],null],[24,["model","currentEnvPosition"]],[24,["actionsInMenu"]],true,[24,["model","fetchEnv"]]]]],false],[0,"\\n\\n "],[7,"div",true],[10,"class","action-panel"],[8],[0,"\\n "],[7,"div",true],[10,"class","severity-filters"],[8],[0,"\\n "],[7,"div",true],[10,"class","more-wrapping"],[8],[0,"\\n "],[7,"label",true],[10,"class","debug"],[8],[0,"\\n "],[7,"input",true],[11,"checked",[22,"showDebug"]],[11,"onchange",[28,"action",[[23,0,[]],[28,"action",[[23,0,[]],"updateFilter","showDebug"],null]],null]],[10,"type","checkbox"],[8],[9],[0,"\\n "],[7,"span",true],[8],[0,"Debug"],[9],[0,"\\n "],[9],[0,"\\n "],[7,"label",true],[10,"class","info"],[8],[0,"\\n "],[7,"input",true],[11,"checked",[22,"showInfo"]],[11,"onchange",[28,"action",[[23,0,[]],[28,"action",[[23,0,[]],"updateFilter","showInfo"],null]],null]],[10,"type","checkbox"],[8],[9],[0,"\\n "],[7,"span",true],[8],[0,"Info"],[9],[0,"\\n "],[9],[0,"\\n "],[7,"label",true],[10,"class","warn"],[8],[0,"\\n "],[7,"input",true],[11,"checked",[22,"showWarn"]],[11,"onchange",[28,"action",[[23,0,[]],[28,"action",[[23,0,[]],"updateFilter","showWarn"],null]],null]],[10,"type","checkbox"],[8],[9],[0,"\\n "],[7,"i",true],[10,"class","fa fa-exclamation-circle warning"],[8],[9],[0,"\\n "],[7,"span",true],[8],[0,"Warning"],[9],[0,"\\n "],[9],[0,"\\n "],[7,"label",true],[10,"class","error"],[8],[0,"\\n "],[7,"input",true],[11,"checked",[22,"showErr"]],[11,"onchange",[28,"action",[[23,0,[]],[28,"action",[[23,0,[]],"updateFilter","showErr"],null]],null]],[10,"type","checkbox"],[8],[9],[0,"\\n "],[7,"i",true],[10,"class","fa fa-times-circle error"],[8],[9],[0,"\\n "],[7,"span",true],[8],[0,"Error"],[9],[0,"\\n "],[9],[0,"\\n "],[7,"label",true],[10,"class","fatal"],[8],[0,"\\n "],[7,"input",true],[11,"checked",[22,"showFatal"]],[11,"onchange",[28,"action",[[23,0,[]],[28,"action",[[23,0,[]],"updateFilter","showFatal"],null]],null]],[10,"type","checkbox"],[8],[9],[0,"\\n "],[7,"i",true],[10,"class","fa fa-times-circle fatal"],[8],[9],[0,"\\n "],[7,"span",true],[8],[0,"Fatal"],[9],[0,"\\n "],[9],[0,"\\n "],[9],[0,"\\n "],[9],[0,"\\n "],[7,"div",true],[10,"class","search-clear-all"],[8],[0,"\\n "],[7,"input",true],[10,"class","search"],[10,"placeholder","Search"],[11,"onkeyup",[28,"action",[[23,0,[]],"updateSearch"],[["value"],["target.value"]]]],[10,"type","text"],[8],[9],[0,"\\n "],[7,"div",true],[10,"class","footer-btns"],[8],[0,"\\n"],[4,"if",[[24,["showSettings"]]],null,{"statements":[[4,"link-to",null,[["class","route"],["settings btn no-text","settings"]],{"statements":[[0," "],[7,"i",true],[10,"class","fa fa-cog"],[8],[9],[0,"\\n"]],"parameters":[]},null]],"parameters":[]},null],[0," "],[7,"button",false],[12,"class","clear btn danger"],[3,"action",[[23,0,[]],"clear"]],[8],[7,"i",true],[10,"class","fa fa-trash-o"],[8],[9],[7,"span",true],[8],[0,"Clear logs"],[9],[9],[0,"\\n "],[9],[0,"\\n "],[9],[0,"\\n "],[9],[0,"\\n"],[9],[0,"\\n"],[1,[22,"panel-resizer"],false],[0,"\\n"]],"hasEval":false}',meta:{moduleName:"client-app/templates/index.hbs"}})
246
+ var t=Ember.HTMLBars.template({id:"LtMzTg2n",block:'{"symbols":["row"],"statements":[[7,"div",true],[10,"id","top-panel"],[8],[0,"\\n "],[7,"div",true],[10,"id","log-table"],[8],[0,"\\n"],[4,"if",[[24,["model","moreBefore"]]],null,{"statements":[[0," "],[7,"div",false],[12,"class","show-more"],[3,"action",[[23,0,[]],"showMoreBefore"]],[8],[0,"\\n"],[4,"if",[[24,["model","hideCountInLoadMore"]]],null,{"statements":[[0," Load more\\n"]],"parameters":[]},{"statements":[[0," Select to see "],[1,[24,["model","totalBefore"]],false],[0," more\\n"]],"parameters":[]}],[0," "],[9],[0,"\\n"]],"parameters":[]},null],[4,"each",[[24,["model","rows"]]],null,{"statements":[[0," "],[1,[28,"message-row",null,[["model","selectRow"],[[23,1,[]],[28,"action",[[23,0,[]],"selectRowAction",[23,1,[]]],null]]]],false],[0,"\\n"]],"parameters":[1]},null],[0," "],[9],[0,"\\n"],[9],[0,"\\n"],[7,"div",true],[10,"id","bottom-panel"],[11,"class",[29,[[28,"if",[[24,["model","currentRow","group"]],"group-view"],null]]]],[8],[0,"\\n"],[4,"if",[[24,["model","currentRow","group"]]],null,{"statements":[[0," "],[1,[28,"page-nav",null,[["list","position","extraClasses","navigate"],[[24,["model","currentRow","messages"]],[24,["model","currentGroupedMessagesPosition"]],"group-nav",[28,"action",[[23,0,[]],"groupedMessageChangedAction"],null]]]],false],[0,"\\n"]],"parameters":[]},null],[0," "],[1,[28,"message-info",null,[["currentMessage","currentRow","loadingEnv","removeMessage","solveMessage","onTabChange","envChangedAction","currentEnvPosition","actionsInMenu","showShare"],[[24,["model","currentMessage"]],[24,["model","currentRow"]],[24,["model","loadingEnv"]],[28,"action",[[23,0,[]],"removeMessage"],null],[28,"action",[[23,0,[]],"solveMessage"],null],[28,"action",[[23,0,[]],"tabChangedAction"],null],[28,"action",[[23,0,[]],"envChangedAction"],null],[24,["model","currentEnvPosition"]],[24,["actionsInMenu"]],true]]],false],[0,"\\n\\n "],[7,"div",true],[10,"class","action-panel"],[8],[0,"\\n "],[7,"div",true],[10,"class","severity-filters"],[8],[0,"\\n "],[7,"div",true],[10,"class","more-wrapping"],[8],[0,"\\n "],[7,"label",true],[10,"class","debug"],[8],[0,"\\n "],[7,"input",true],[11,"checked",[22,"showDebug"]],[11,"onchange",[28,"action",[[23,0,[]],[28,"action",[[23,0,[]],"updateFilter","showDebug"],null]],null]],[10,"type","checkbox"],[8],[9],[0,"\\n "],[7,"span",true],[8],[0,"Debug"],[9],[0,"\\n "],[9],[0,"\\n "],[7,"label",true],[10,"class","info"],[8],[0,"\\n "],[7,"input",true],[11,"checked",[22,"showInfo"]],[11,"onchange",[28,"action",[[23,0,[]],[28,"action",[[23,0,[]],"updateFilter","showInfo"],null]],null]],[10,"type","checkbox"],[8],[9],[0,"\\n "],[7,"span",true],[8],[0,"Info"],[9],[0,"\\n "],[9],[0,"\\n "],[7,"label",true],[10,"class","warn"],[8],[0,"\\n "],[7,"input",true],[11,"checked",[22,"showWarn"]],[11,"onchange",[28,"action",[[23,0,[]],[28,"action",[[23,0,[]],"updateFilter","showWarn"],null]],null]],[10,"type","checkbox"],[8],[9],[0,"\\n "],[7,"i",true],[10,"class","fa fa-exclamation-circle warning"],[8],[9],[0,"\\n "],[7,"span",true],[8],[0,"Warning"],[9],[0,"\\n "],[9],[0,"\\n "],[7,"label",true],[10,"class","error"],[8],[0,"\\n "],[7,"input",true],[11,"checked",[22,"showErr"]],[11,"onchange",[28,"action",[[23,0,[]],[28,"action",[[23,0,[]],"updateFilter","showErr"],null]],null]],[10,"type","checkbox"],[8],[9],[0,"\\n "],[7,"i",true],[10,"class","fa fa-times-circle error"],[8],[9],[0,"\\n "],[7,"span",true],[8],[0,"Error"],[9],[0,"\\n "],[9],[0,"\\n "],[7,"label",true],[10,"class","fatal"],[8],[0,"\\n "],[7,"input",true],[11,"checked",[22,"showFatal"]],[11,"onchange",[28,"action",[[23,0,[]],[28,"action",[[23,0,[]],"updateFilter","showFatal"],null]],null]],[10,"type","checkbox"],[8],[9],[0,"\\n "],[7,"i",true],[10,"class","fa fa-times-circle fatal"],[8],[9],[0,"\\n "],[7,"span",true],[8],[0,"Fatal"],[9],[0,"\\n "],[9],[0,"\\n "],[9],[0,"\\n "],[9],[0,"\\n "],[7,"div",true],[10,"class","search-clear-all"],[8],[0,"\\n "],[7,"input",true],[10,"class","search"],[10,"placeholder","Search"],[11,"onkeyup",[28,"action",[[23,0,[]],"updateSearch"],[["value"],["target.value"]]]],[10,"type","text"],[8],[9],[0,"\\n "],[7,"div",true],[10,"class","footer-btns"],[8],[0,"\\n"],[4,"if",[[24,["showSettings"]]],null,{"statements":[[4,"link-to",null,[["class","route"],["settings btn no-text","settings"]],{"statements":[[0," "],[7,"i",true],[10,"class","fa fa-cog"],[8],[9],[0,"\\n"]],"parameters":[]},null]],"parameters":[]},null],[0," "],[7,"button",false],[12,"class","clear btn danger"],[3,"action",[[23,0,[]],"clear"]],[8],[7,"i",true],[10,"class","fa fa-trash-o"],[8],[9],[7,"span",true],[8],[0,"Clear logs"],[9],[9],[0,"\\n "],[9],[0,"\\n "],[9],[0,"\\n "],[9],[0,"\\n"],[9],[0,"\\n"],[1,[22,"panel-resizer"],false],[0,"\\n"]],"hasEval":false}',meta:{moduleName:"client-app/templates/index.hbs"}})
246
247
  e.default=t})),define("client-app/templates/settings",["exports"],(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
247
248
  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"}})
248
249
  e.default=t})),define("client-app/templates/show",["exports"],(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0
249
250
  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"}})
250
251
  e.default=t}))
251
252
  define("client-app/transforms/boolean",["exports","@ember-data/serializer/-private"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.BooleanTransform}})})),define("client-app/transforms/date",["exports","@ember-data/serializer/-private"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.DateTransform}})})),define("client-app/transforms/number",["exports","@ember-data/serializer/-private"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.NumberTransform}})})),define("client-app/transforms/string",["exports","@ember-data/serializer/-private"],(function(e,t){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.StringTransform}})})),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))}
252
- return Object.defineProperty(n,"__esModule",{value:!0}),n}catch(a){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+58c5cd3f"})
253
+ return Object.defineProperty(n,"__esModule",{value:!0}),n}catch(a){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.6.0+229f0a27"})
@@ -138,11 +138,7 @@ export default Component.extend({
138
138
  },
139
139
 
140
140
  copyAction() {
141
- if (this.fetchEnv && !this.currentMessage.env) {
142
- this.fetchEnv({ force: true }).then(() => this.copy());
143
- } else {
144
- this.copy();
145
- }
141
+ this.copy();
146
142
  }
147
143
  }
148
144
  });
@@ -62,7 +62,8 @@ export default EmberObject.extend({
62
62
  });
63
63
  if (shouldRefresh)
64
64
  this.notifyPropertyChange("currentGroupedMessagesPosition");
65
- this.fetchEnv();
65
+ const forceFetchEnv = this.currentMessage && !this.currentMessage.env;
66
+ this.fetchEnv({ force: forceFetchEnv });
66
67
  },
67
68
 
68
69
  tabChanged(newTab) {
@@ -32,8 +32,7 @@
32
32
  envChangedAction=(action "envChangedAction")
33
33
  currentEnvPosition=model.currentEnvPosition
34
34
  actionsInMenu=actionsInMenu
35
- showShare=true
36
- fetchEnv=model.fetchEnv}}
35
+ showShare=true}}
37
36
 
38
37
  <div class="action-panel">
39
38
  <div class="severity-filters">
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Logster
4
- VERSION = "2.6.0"
4
+ VERSION = "2.6.1"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: logster
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.6.0
4
+ version: 2.6.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - UI for viewing logs in Rack