Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitc8fd2cc

Browse files
committed
CU-868fnz2a8 Fixed Voice bug, updated Countly and changed Calendar to 14 days.
1 parentc40f6dd commitc8fd2cc

File tree

3 files changed

+16
-6
lines changed

3 files changed

+16
-6
lines changed

‎Core/Resgrid.Services/CalendarService.cs‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ public async Task<List<CalendarItemType>> GetAllCalendarItemTypesForDepartmentAs
7070

7171
publicasyncTask<List<CalendarItem>>GetUpcomingCalendarItemsAsync(intdepartmentId,DateTimestart)
7272
{
73-
returnawaitGetAllCalendarItemsForDepartmentInRangeAsync(departmentId,start,start.AddDays(7));
73+
returnawaitGetAllCalendarItemsForDepartmentInRangeAsync(departmentId,start,start.AddDays(14));
7474
}
7575

7676
publicasyncTask<CalendarItem>SaveCalendarItemAsync(CalendarItemcalendarItem,CancellationTokencancellationToken=default(CancellationToken))

‎Web/Resgrid.Web.Services/Controllers/TwilioController.cs‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -317,7 +317,7 @@ public async Task<ActionResult> IncomingMessage([FromQuery] TwilioMessage reques
317317

318318
foreach(varactiveCallinactiveCalls)
319319
{
320-
activeCallText.Append($"CallId:{activeCall.CallId} Name:{activeCall.Name} Nature:{activeCall.NatureOfCall}"+Environment.NewLine);
320+
activeCallText.Append($"CallId:{activeCall.CallId} Name:{activeCall.Name} Nature:{StringHelpers.StripHtmlTagsCharArray(activeCall.NatureOfCall)}"+Environment.NewLine);
321321
}
322322

323323
response.Message(activeCallText.ToString().Truncate(1200));
@@ -520,7 +520,7 @@ public async Task<ActionResult> VoiceCall(string userId, int callId)
520520
StringBuildersb=newStringBuilder();
521521

522522
if(!String.IsNullOrWhiteSpace(address))
523-
sb.Append(string.Format("{0}, Priority {1} Address {2} Nature {3}",call.Name,call.GetPriorityText(),call.Address,call.NatureOfCall));
523+
sb.Append(string.Format("{0}, Priority {1} Address {2} Nature {3}",call.Name,call.GetPriorityText(),call.Address,StringHelpers.StripHtmlTagsCharArray(call.NatureOfCall)));
524524
else
525525
sb.Append(string.Format("{0}, Priority {1} Nature {2}",call.Name,call.GetPriorityText(),call.NatureOfCall));
526526

@@ -710,7 +710,7 @@ public async Task<ActionResult> InboundVoiceAction(string userId, [FromQuery] Vo
710710

711711
foreach(varcallincalls)
712712
{
713-
sb.Append($"{call.Name}, Priority{call.GetPriorityText()} Address{call.Address} Nature{call.NatureOfCall}.");
713+
sb.Append($"{call.Name}, Priority{call.GetPriorityText()} Address{call.Address} Nature{StringHelpers.StripHtmlTagsCharArray(call.NatureOfCall)}.");
714714
}
715715
}
716716
else

‎Web/Resgrid.Web/Areas/User/Views/Shared/_UserLayout.cshtml‎

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,8 +65,18 @@
6565
<scripttype='text/javascript'>
6666
if (Countly&&window["Countly"]) {
6767
Countly.init({
68-
app_key:"@Resgrid.Config.TelemetryConfig.CountlyWebKey",
69-
url:"@Resgrid.Config.TelemetryConfig.CountlyUrl"
68+
app_key:"@Resgrid.Config.TelemetryConfig.CountlyWebKey",
69+
url:"@Resgrid.Config.TelemetryConfig.CountlyUrl",
70+
debug:false,
71+
ignore_referrers: [],
72+
track_sessions:true,
73+
track_pageview:true,
74+
track_links:true,
75+
track_forms:true,
76+
track_errors:true,
77+
require_consent:false,
78+
force_post:true,
79+
ignore_bots:true
7080
});
7181
}
7282
</script>

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp