nextcloud /
activity
This project does not seem to handle request data directly as such no vulnerable execution paths were found.
include, or for example
via PHP's auto-loading mechanism.
These results are based on our legacy PHP analysis, consider migrating to our new PHP analysis engine instead. Learn more
| 1 | (function() { |
||
| 2 | var template = Handlebars.template, templates = OCA.Activity.Templates = OCA.Activity.Templates || {}; |
||
| 3 | templates['activitytabview'] = template({"compiler":[7,">= 4.0.0"],"main":function(container,depth0,helpers,partials,data) { |
||
|
0 ignored issues
–
show
|
|||
| 4 | var helper, alias1=depth0 != null ? depth0 : (container.nullContext || {}), alias2=helpers.helperMissing, alias3="function", alias4=container.escapeExpression; |
||
|
0 ignored issues
–
show
It is recommended to use
!== to compare with null.
Generally, it is recommended to use strict comparison whenever possible and not to rely on the weaker type-juggling comparison operator. Loading history...
|
|||
| 5 | |||
| 6 | return "<div class=\"activity-section\">\n <div class=\"loading hidden\" style=\"height: 50px\"></div>\n <div class=\"emptycontent\">\n <div class=\"icon-activity\"></div>\n <p>" |
||
| 7 | + alias4(((helper = (helper = helpers.emptyMessage || (depth0 != null ? depth0.emptyMessage : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{"name":"emptyMessage","hash":{},"data":data}) : helper))) |
||
|
0 ignored issues
–
show
It is recommended to use
!== to compare with null.
Generally, it is recommended to use strict comparison whenever possible and not to rely on the weaker type-juggling comparison operator. Loading history...
|
|||
| 8 | + "</p>\n </div>\n <ul class=\"activities hidden\">\n </ul>\n <input type=\"button\" class=\"showMore\" value=\"" |
||
|
0 ignored issues
–
show
|
|||
| 9 | + alias4(((helper = (helper = helpers.moreLabel || (depth0 != null ? depth0.moreLabel : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{"name":"moreLabel","hash":{},"data":data}) : helper))) |
||
|
0 ignored issues
–
show
It is recommended to use
!== to compare with null.
Generally, it is recommended to use strict comparison whenever possible and not to rely on the weaker type-juggling comparison operator. Loading history...
|
|||
| 10 | + "\">\n</div>\n"; |
||
|
0 ignored issues
–
show
|
|||
| 11 | },"useData":true}); |
||
| 12 | templates['activitytabview_activity'] = template({"1":function(container,depth0,helpers,partials,data) { |
||
|
0 ignored issues
–
show
|
|||
| 13 | var helper; |
||
| 14 | |||
| 15 | return " <img src=\"" |
||
| 16 | + container.escapeExpression(((helper = (helper = helpers.icon || (depth0 != null ? depth0.icon : depth0)) != null ? helper : helpers.helperMissing),(typeof helper === "function" ? helper.call(depth0 != null ? depth0 : (container.nullContext || {}),{"name":"icon","hash":{},"data":data}) : helper))) |
||
|
0 ignored issues
–
show
It is recommended to use
!== to compare with null.
Generally, it is recommended to use strict comparison whenever possible and not to rely on the weaker type-juggling comparison operator. Loading history...
|
|||
| 17 | + "\" alt=\"\">\n"; |
||
|
0 ignored issues
–
show
|
|||
| 18 | },"compiler":[7,">= 4.0.0"],"main":function(container,depth0,helpers,partials,data) { |
||
| 19 | var stack1, helper, alias1=depth0 != null ? depth0 : (container.nullContext || {}), alias2=helpers.helperMissing, alias3="function", alias4=container.escapeExpression; |
||
|
0 ignored issues
–
show
It is recommended to use
!== to compare with null.
Generally, it is recommended to use strict comparison whenever possible and not to rely on the weaker type-juggling comparison operator. Loading history...
|
|||
| 20 | |||
| 21 | return "<li class=\"activity box\">\n <div class=\"activity-icon\">\n" |
||
| 22 | + ((stack1 = helpers["if"].call(alias1,(depth0 != null ? depth0.icon : depth0),{"name":"if","hash":{},"fn":container.program(1, data, 0),"inverse":container.noop,"data":data})) != null ? stack1 : "") |
||
|
0 ignored issues
–
show
It is recommended to use
!== to compare with null.
Generally, it is recommended to use strict comparison whenever possible and not to rely on the weaker type-juggling comparison operator. Loading history...
|
|||
| 23 | + " </div>\n <div class=\"activitysubject\">" |
||
|
0 ignored issues
–
show
|
|||
| 24 | + ((stack1 = ((helper = (helper = helpers.subject || (depth0 != null ? depth0.subject : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{"name":"subject","hash":{},"data":data}) : helper))) != null ? stack1 : "") |
||
|
0 ignored issues
–
show
It is recommended to use
!== to compare with null.
Generally, it is recommended to use strict comparison whenever possible and not to rely on the weaker type-juggling comparison operator. Loading history...
|
|||
| 25 | + "</div>\n <span class=\"activitytime has-tooltip live-relative-timestamp\" data-timestamp=\"" |
||
|
0 ignored issues
–
show
|
|||
| 26 | + alias4(((helper = (helper = helpers.timestamp || (depth0 != null ? depth0.timestamp : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{"name":"timestamp","hash":{},"data":data}) : helper))) |
||
|
0 ignored issues
–
show
It is recommended to use
!== to compare with null.
Generally, it is recommended to use strict comparison whenever possible and not to rely on the weaker type-juggling comparison operator. Loading history...
|
|||
| 27 | + "\" title=\"" |
||
|
0 ignored issues
–
show
|
|||
| 28 | + alias4(((helper = (helper = helpers.formattedDateTooltip || (depth0 != null ? depth0.formattedDateTooltip : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{"name":"formattedDateTooltip","hash":{},"data":data}) : helper))) |
||
|
0 ignored issues
–
show
It is recommended to use
!== to compare with null.
Generally, it is recommended to use strict comparison whenever possible and not to rely on the weaker type-juggling comparison operator. Loading history...
|
|||
| 29 | + "\">" |
||
|
0 ignored issues
–
show
|
|||
| 30 | + alias4(((helper = (helper = helpers.formattedDate || (depth0 != null ? depth0.formattedDate : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{"name":"formattedDate","hash":{},"data":data}) : helper))) |
||
|
0 ignored issues
–
show
It is recommended to use
!== to compare with null.
Generally, it is recommended to use strict comparison whenever possible and not to rely on the weaker type-juggling comparison operator. Loading history...
|
|||
| 31 | + "</span>\n <div class=\"activitymessage\">" |
||
|
0 ignored issues
–
show
|
|||
| 32 | + ((stack1 = ((helper = (helper = helpers.message || (depth0 != null ? depth0.message : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{"name":"message","hash":{},"data":data}) : helper))) != null ? stack1 : "") |
||
|
0 ignored issues
–
show
It is recommended to use
!== to compare with null.
Generally, it is recommended to use strict comparison whenever possible and not to rely on the weaker type-juggling comparison operator. Loading history...
|
|||
| 33 | + "</div>\n</li>\n"; |
||
|
0 ignored issues
–
show
|
|||
| 34 | },"useData":true}); |
||
| 35 | templates['email'] = template({"compiler":[7,">= 4.0.0"],"main":function(container,depth0,helpers,partials,data) { |
||
|
0 ignored issues
–
show
|
|||
| 36 | var helper, alias1=depth0 != null ? depth0 : (container.nullContext || {}), alias2=helpers.helperMissing, alias3="function", alias4=container.escapeExpression; |
||
|
0 ignored issues
–
show
It is recommended to use
!== to compare with null.
Generally, it is recommended to use strict comparison whenever possible and not to rely on the weaker type-juggling comparison operator. Loading history...
|
|||
| 37 | |||
| 38 | return "<a class=\"email\" href=\"mailto:" |
||
| 39 | + alias4(((helper = (helper = helpers.id || (depth0 != null ? depth0.id : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{"name":"id","hash":{},"data":data}) : helper))) |
||
|
0 ignored issues
–
show
It is recommended to use
!== to compare with null.
Generally, it is recommended to use strict comparison whenever possible and not to rely on the weaker type-juggling comparison operator. Loading history...
|
|||
| 40 | + "\">" |
||
|
0 ignored issues
–
show
|
|||
| 41 | + alias4(((helper = (helper = helpers.name || (depth0 != null ? depth0.name : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{"name":"name","hash":{},"data":data}) : helper))) |
||
|
0 ignored issues
–
show
There were too many errors found in this file; checking aborted after 27%.
If JSHint finds too many errors in a file, it aborts checking altogether because it suspects a configuration issue. Further Reading: Loading history...
|
|||
| 42 | + "</a>\n"; |
||
| 43 | },"useData":true}); |
||
| 44 | templates['file'] = template({"compiler":[7,">= 4.0.0"],"main":function(container,depth0,helpers,partials,data) { |
||
| 45 | var helper, alias1=depth0 != null ? depth0 : (container.nullContext || {}), alias2=helpers.helperMissing, alias3="function", alias4=container.escapeExpression; |
||
| 46 | |||
| 47 | return "<a class=\"filename has-tooltip\" href=\"" |
||
| 48 | + alias4(((helper = (helper = helpers.link || (depth0 != null ? depth0.link : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{"name":"link","hash":{},"data":data}) : helper))) |
||
| 49 | + "\" title=\"" |
||
| 50 | + alias4(((helper = (helper = helpers.title || (depth0 != null ? depth0.title : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{"name":"title","hash":{},"data":data}) : helper))) |
||
| 51 | + "\">" |
||
| 52 | + alias4(((helper = (helper = helpers.name || (depth0 != null ? depth0.name : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{"name":"name","hash":{},"data":data}) : helper))) |
||
| 53 | + "</a>\n"; |
||
| 54 | },"useData":true}); |
||
| 55 | templates['fileNoPath'] = template({"compiler":[7,">= 4.0.0"],"main":function(container,depth0,helpers,partials,data) { |
||
| 56 | var helper, alias1=depth0 != null ? depth0 : (container.nullContext || {}), alias2=helpers.helperMissing, alias3="function", alias4=container.escapeExpression; |
||
| 57 | |||
| 58 | return "<a class=\"filename\" href=\"" |
||
| 59 | + alias4(((helper = (helper = helpers.link || (depth0 != null ? depth0.link : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{"name":"link","hash":{},"data":data}) : helper))) |
||
| 60 | + "\">" |
||
| 61 | + alias4(((helper = (helper = helpers.name || (depth0 != null ? depth0.name : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{"name":"name","hash":{},"data":data}) : helper))) |
||
| 62 | + "</a>\n"; |
||
| 63 | },"useData":true}); |
||
| 64 | templates['fileRoot'] = template({"compiler":[7,">= 4.0.0"],"main":function(container,depth0,helpers,partials,data) { |
||
| 65 | var helper; |
||
| 66 | |||
| 67 | return "<a class=\"filename has-tooltip\" href=\"" |
||
| 68 | + container.escapeExpression(((helper = (helper = helpers.link || (depth0 != null ? depth0.link : depth0)) != null ? helper : helpers.helperMissing),(typeof helper === "function" ? helper.call(depth0 != null ? depth0 : (container.nullContext || {}),{"name":"link","hash":{},"data":data}) : helper))) |
||
| 69 | + "\" title=\"' + t('activity', 'Home') + '\"><span class=\"icon icon-home\"></span></a>\n"; |
||
| 70 | },"useData":true}); |
||
| 71 | templates['openGraph'] = template({"1":function(container,depth0,helpers,partials,data) { |
||
| 72 | var helper; |
||
| 73 | |||
| 74 | return " <a href=\"" |
||
| 75 | + container.escapeExpression(((helper = (helper = helpers.link || (depth0 != null ? depth0.link : depth0)) != null ? helper : helpers.helperMissing),(typeof helper === "function" ? helper.call(depth0 != null ? depth0 : (container.nullContext || {}),{"name":"link","hash":{},"data":data}) : helper))) |
||
| 76 | + "\">\n"; |
||
| 77 | },"3":function(container,depth0,helpers,partials,data) { |
||
| 78 | var helper; |
||
| 79 | |||
| 80 | return " <div class=\"opengraph-thumb\" style=\"background-image: url('" |
||
| 81 | + container.escapeExpression(((helper = (helper = helpers.thumb || (depth0 != null ? depth0.thumb : depth0)) != null ? helper : helpers.helperMissing),(typeof helper === "function" ? helper.call(depth0 != null ? depth0 : (container.nullContext || {}),{"name":"thumb","hash":{},"data":data}) : helper))) |
||
| 82 | + "')\"></div>\n"; |
||
| 83 | },"5":function(container,depth0,helpers,partials,data) { |
||
| 84 | return "opengraph-with-thumb"; |
||
| 85 | },"7":function(container,depth0,helpers,partials,data) { |
||
| 86 | return " </a>\n"; |
||
| 87 | },"compiler":[7,">= 4.0.0"],"main":function(container,depth0,helpers,partials,data) { |
||
| 88 | var stack1, helper, alias1=depth0 != null ? depth0 : (container.nullContext || {}), alias2=helpers.helperMissing, alias3="function", alias4=container.escapeExpression; |
||
| 89 | |||
| 90 | return ((stack1 = helpers["if"].call(alias1,(depth0 != null ? depth0.link : depth0),{"name":"if","hash":{},"fn":container.program(1, data, 0),"inverse":container.noop,"data":data})) != null ? stack1 : "") |
||
| 91 | + " <div id=\"opengraph-" |
||
| 92 | + alias4(((helper = (helper = helpers.id || (depth0 != null ? depth0.id : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{"name":"id","hash":{},"data":data}) : helper))) |
||
| 93 | + "\" class=\"opengraph\">\n" |
||
| 94 | + ((stack1 = helpers["if"].call(alias1,(depth0 != null ? depth0.thumb : depth0),{"name":"if","hash":{},"fn":container.program(3, data, 0),"inverse":container.noop,"data":data})) != null ? stack1 : "") |
||
| 95 | + " <div class=\"opengraph-name " |
||
| 96 | + ((stack1 = helpers["if"].call(alias1,(depth0 != null ? depth0.thumb : depth0),{"name":"if","hash":{},"fn":container.program(5, data, 0),"inverse":container.noop,"data":data})) != null ? stack1 : "") |
||
| 97 | + "\">" |
||
| 98 | + alias4(((helper = (helper = helpers.name || (depth0 != null ? depth0.name : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{"name":"name","hash":{},"data":data}) : helper))) |
||
| 99 | + "</div>\n <div class=\"opengraph-description " |
||
| 100 | + ((stack1 = helpers["if"].call(alias1,(depth0 != null ? depth0.thumb : depth0),{"name":"if","hash":{},"fn":container.program(5, data, 0),"inverse":container.noop,"data":data})) != null ? stack1 : "") |
||
| 101 | + "\">" |
||
| 102 | + alias4(((helper = (helper = helpers.description || (depth0 != null ? depth0.description : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{"name":"description","hash":{},"data":data}) : helper))) |
||
| 103 | + "</div>\n <span class=\"opengraph-website\">" |
||
| 104 | + alias4(((helper = (helper = helpers.website || (depth0 != null ? depth0.website : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{"name":"website","hash":{},"data":data}) : helper))) |
||
| 105 | + "</span>\n </div>\n" |
||
| 106 | + ((stack1 = helpers["if"].call(alias1,(depth0 != null ? depth0.link : depth0),{"name":"if","hash":{},"fn":container.program(7, data, 0),"inverse":container.noop,"data":data})) != null ? stack1 : ""); |
||
| 107 | },"useData":true}); |
||
| 108 | templates['systemTag'] = template({"compiler":[7,">= 4.0.0"],"main":function(container,depth0,helpers,partials,data) { |
||
| 109 | var helper; |
||
| 110 | |||
| 111 | return "<strong class=\"systemtag\">" |
||
| 112 | + container.escapeExpression(((helper = (helper = helpers.name || (depth0 != null ? depth0.name : depth0)) != null ? helper : helpers.helperMissing),(typeof helper === "function" ? helper.call(depth0 != null ? depth0 : (container.nullContext || {}),{"name":"name","hash":{},"data":data}) : helper))) |
||
| 113 | + "</strong>\n"; |
||
| 114 | },"useData":true}); |
||
| 115 | templates['unknown'] = template({"compiler":[7,">= 4.0.0"],"main":function(container,depth0,helpers,partials,data) { |
||
| 116 | var helper; |
||
| 117 | |||
| 118 | return "<strong>" |
||
| 119 | + container.escapeExpression(((helper = (helper = helpers.name || (depth0 != null ? depth0.name : depth0)) != null ? helper : helpers.helperMissing),(typeof helper === "function" ? helper.call(depth0 != null ? depth0 : (container.nullContext || {}),{"name":"name","hash":{},"data":data}) : helper))) |
||
| 120 | + "</strong>\n"; |
||
| 121 | },"useData":true}); |
||
| 122 | templates['unkownLink'] = template({"compiler":[7,">= 4.0.0"],"main":function(container,depth0,helpers,partials,data) { |
||
| 123 | var helper, alias1=depth0 != null ? depth0 : (container.nullContext || {}), alias2=helpers.helperMissing, alias3="function", alias4=container.escapeExpression; |
||
| 124 | |||
| 125 | return "<a href=\"" |
||
| 126 | + alias4(((helper = (helper = helpers.link || (depth0 != null ? depth0.link : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{"name":"link","hash":{},"data":data}) : helper))) |
||
| 127 | + "\">" |
||
| 128 | + alias4(((helper = (helper = helpers.name || (depth0 != null ? depth0.name : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{"name":"name","hash":{},"data":data}) : helper))) |
||
| 129 | + "</a>\n"; |
||
| 130 | },"useData":true}); |
||
| 131 | templates['userLocal'] = template({"compiler":[7,">= 4.0.0"],"main":function(container,depth0,helpers,partials,data) { |
||
| 132 | var helper, alias1=depth0 != null ? depth0 : (container.nullContext || {}), alias2=helpers.helperMissing, alias3="function", alias4=container.escapeExpression; |
||
| 133 | |||
| 134 | return "<span class=\"avatar-name-wrapper\" data-user=\"" |
||
| 135 | + alias4(((helper = (helper = helpers.id || (depth0 != null ? depth0.id : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{"name":"id","hash":{},"data":data}) : helper))) |
||
| 136 | + "\"><div class=\"avatar\" data-user=\"" |
||
| 137 | + alias4(((helper = (helper = helpers.id || (depth0 != null ? depth0.id : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{"name":"id","hash":{},"data":data}) : helper))) |
||
| 138 | + "\" data-user-display-name=\"" |
||
| 139 | + alias4(((helper = (helper = helpers.name || (depth0 != null ? depth0.name : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{"name":"name","hash":{},"data":data}) : helper))) |
||
| 140 | + "\"></div><strong>" |
||
| 141 | + alias4(((helper = (helper = helpers.name || (depth0 != null ? depth0.name : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{"name":"name","hash":{},"data":data}) : helper))) |
||
| 142 | + "</strong></span>\n"; |
||
| 143 | },"useData":true}); |
||
| 144 | templates['userRemote'] = template({"compiler":[7,">= 4.0.0"],"main":function(container,depth0,helpers,partials,data) { |
||
| 145 | var helper; |
||
| 146 | |||
| 147 | return "<strong>" |
||
| 148 | + container.escapeExpression(((helper = (helper = helpers.name || (depth0 != null ? depth0.name : depth0)) != null ? helper : helpers.helperMissing),(typeof helper === "function" ? helper.call(depth0 != null ? depth0 : (container.nullContext || {}),{"name":"name","hash":{},"data":data}) : helper))) |
||
| 149 | + "</strong>\n"; |
||
| 150 | },"useData":true}); |
||
| 151 | })(); |
You can rewrite this statement in dot notation: