Skip to content

Commit 6fdeee4

Browse files
committed
beta02
1 parent e008c90 commit 6fdeee4

File tree

18 files changed

+67749
-146
lines changed

18 files changed

+67749
-146
lines changed

src/Server/Coderr.Server.App/Modules/MonthlyStats/CollectStatsJob.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ private async Task<bool> ReportMonth(DateTime lastMonth)
174174
var json = JsonConvert.SerializeObject(dto);
175175
var client = new HttpClient();
176176
var content = new StringContent(json, Encoding.UTF8, "application/json");
177-
await client.PostAsync("http://localhost:54782/stats/usage", content);
177+
await client.PostAsync("https://coderr.io/stats/usage", content);
178178
return true;
179179
}
180180
}

src/Server/Coderr.Server.ReportAnalyzer/Boot/Starters/ReportQueueModule.cs

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -80,14 +80,6 @@ private void ConfigureMessageQueueProvider(ConfigurationContext context)
8080
var serializer = new MessagingSerializer(typeof(AdoNetMessageDto));
8181
_messageQueueProvider =
8282
new AdoNetMessageQueueProvider(() => context.ConnectionFactory(_systemPrincipal), serializer);
83-
84-
var queue = _messageQueueProvider.Open("ErrorReports");
85-
using (var session = queue.BeginSession())
86-
{
87-
session.EnqueueAsync(CoderrClaims.SystemPrincipal,
88-
new Message(new ProcessInboundContextCollections()));
89-
session.SaveChanges();
90-
}
9183
}
9284

9385
private QueueListener ConfigureQueueListener(ConfigurationContext context, string inboundQueueName,

src/Server/Coderr.Server.SqlServer/Coderr.Server.SqlServer.csproj

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,5 +25,7 @@
2525
</ItemGroup>
2626
<ItemGroup>
2727
<None Remove="Schema\Update.v10.sql" />
28+
<None Remove="Schema\Update.v11.sql" />
29+
<None Remove="Schema\Update.v12.sql" />
2830
</ItemGroup>
2931
</Project>
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
--Purpose of this script is just to get in phase with Live and OnPrem
2+
3+
UPDATE DatabaseSchema SET Version = 11;
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
--Purpose of this script is just to get in phase with Live and OnPrem
2+
3+
UPDATE DatabaseSchema SET Version = 12;

src/Server/Coderr.Server.Web/ClientApp/components/discover/application/configure.css

Lines changed: 0 additions & 60 deletions
Original file line numberDiff line numberDiff line change
@@ -11,63 +11,3 @@
1111
padding-left: 10px;
1212
}
1313

14-
15-
.coderr-chart {
16-
margin-right: 40px;
17-
}
18-
19-
.coderr-chart .legend {
20-
text-align: center;
21-
}
22-
23-
.coderr-chart .legend > div {
24-
display: inline-block;
25-
padding-right: 20px;
26-
}
27-
28-
.coderr-chart .ct-line {
29-
stroke-width: 2px;
30-
}
31-
32-
.coderr-chart .ct-point {
33-
stroke-width: 6px;
34-
}
35-
36-
.coderr-chart .legend .ct-point {
37-
stroke-width: 10px;
38-
}
39-
40-
.coderr-chart .ct-series-a .ct-line, .coderr-chart .ct-series-a .ct-point {
41-
stroke: rgb(0, 148, 218);
42-
}
43-
44-
.coderr-chart .ct-series-b .ct-line, .coderr-chart .ct-series-b .ct-point {
45-
stroke: #2f4f4f;
46-
}
47-
48-
.coderr-chart .ct-series-c .ct-line, .coderr-chart .ct-series-c .ct-point {
49-
stroke: #DCE12E !important;
50-
}
51-
52-
.coderr-chart .ct-series-d .ct-line, .coderr-chart .ct-series-d .ct-point {
53-
stroke: #C28247 !important;
54-
}
55-
56-
.coderr-chart .ct-series-e .ct-line, .coderr-chart .ct-series-e .ct-point {
57-
stroke: #B82B19 !important;
58-
}
59-
60-
.coderr-chart .ct-series-f .ct-line, .coderr-chart .ct-series-f .ct-point {
61-
stroke: #1EC2A3 !important;
62-
}
63-
64-
.configure-view .ct-label.ct-label.ct-horizontal {
65-
position: relative;
66-
justify-content: flex-end;
67-
text-align: right;
68-
transform: translate(100%, 40%) rotate(20deg);
69-
}
70-
71-
svg.ct-chart-line, svg.ct-chart-line g.ct-labels, svg.ct-chart-line g.ct-labels span.ct-label {
72-
overflow: visible;
73-
}

src/Server/Coderr.Server.Web/ClientApp/components/discover/home/home.css

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,13 @@
1212
}
1313

1414

15-
.coderr-chart {
15+
/*.coderr-chart {
1616
margin-right: 40px;
17-
}
17+
}*/
18+
19+
.coderr-chart .ct-chart-line {
20+
overflow: visible !important;
21+
}
1822

1923
.coderr-chart .legend {
2024
text-align: center;
@@ -61,12 +65,7 @@
6165
stroke: #1EC2A3 !important;
6266
}
6367

64-
/*.ct-label.ct-label.ct-horizontal {
65-
position: relative;
66-
justify-content: flex-end;
67-
dtext-align: right;
68-
tdransform: translate(100%, 60%) rotate(20deg);
69-
}*/
68+
7069

7170
svg.ct-chart-line, svg.ct-chart-line g.ct-labels, svg.ct-chart-line g.ct-labels span.ct-label {
7271
overflow: visible;

src/Server/Coderr.Server.Web/ClientApp/components/discover/home/home.ts

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,6 +125,10 @@ export default class DiscoverComponent extends Vue {
125125
}
126126

127127
var options = {
128+
fullWidth: true,
129+
chartPadding: {
130+
right: 40
131+
},
128132
axisY: {
129133
onlyInteger: true,
130134
offset: 0
@@ -174,8 +178,9 @@ export default class DiscoverComponent extends Vue {
174178

175179
var options = {
176180
axisY: {
181+
type: Chartist.AutoScaleAxis,
177182
onlyInteger: true,
178-
offset: 0
183+
low: 0
179184
},
180185
axisX: {
181186
labelInterpolationFnc(value: any, index: number, labels: any) {

src/Server/Coderr.Server.Web/ClientApp/components/discover/home/home.vue.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@
6666
<div class="col-lg-9">
6767
<div class="card">
6868
<div class="card-body">
69-
<div class="position-relative coderr-chart">
69+
<div class="position-relative coderr-chart" style="padding-left: 16px;">
7070
<h3>
7171
<span v-if="applicationId == 0">Incident trend per application</span>
7272
<span v-else>Incident trend</span>

src/Server/Coderr.Server.Web/ClientApp/components/discover/incidents/incident.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,6 @@
4141
transform: translate(100%, 40%) rotate(20deg);
4242
}*/
4343

44-
svg.ct-chart-line, svg.ct-chart-line g.ct-labels, svg.ct-chart-line g.ct-labels span.ct-label {
44+
.incident-chart svg.ct-chart-line, .incident-chart svg.ct-chart-line g.ct-labels, .incident-chart svg.ct-chart-line g.ct-labels span.ct-label {
4545
overflow: visible;
4646
}

0 commit comments

Comments
 (0)